Initialize narratio Go module and CLI scaffold
This commit is contained in:
20
internal/adapters/analyzer/runner.go
Normal file
20
internal/adapters/analyzer/runner.go
Normal file
@@ -0,0 +1,20 @@
|
||||
// Package analyzer declares the adapter contract for artifact analysis generation.
|
||||
package analyzer
|
||||
|
||||
import "context"
|
||||
|
||||
// Runner is a placeholder adapter interface for session artifact generation.
|
||||
type Runner interface {
|
||||
Run(ctx context.Context, req AnalysisRequest) (AnalysisResult, error)
|
||||
}
|
||||
|
||||
// AnalysisRequest is a placeholder analyzer input.
|
||||
type AnalysisRequest struct {
|
||||
ProcessedTranscriptPath string
|
||||
OutputDir string
|
||||
}
|
||||
|
||||
// AnalysisResult is a placeholder analyzer output.
|
||||
type AnalysisResult struct {
|
||||
ArtifactPaths []string
|
||||
}
|
||||
20
internal/adapters/audita/runner.go
Normal file
20
internal/adapters/audita/runner.go
Normal file
@@ -0,0 +1,20 @@
|
||||
// Package audita declares the adapter contract for transcript polishing.
|
||||
package audita
|
||||
|
||||
import "context"
|
||||
|
||||
// Runner is a placeholder adapter interface for audita invocation.
|
||||
type Runner interface {
|
||||
Run(ctx context.Context, req PolishRequest) (PolishResult, error)
|
||||
}
|
||||
|
||||
// PolishRequest is a placeholder polish input.
|
||||
type PolishRequest struct {
|
||||
MergedTranscriptPath string
|
||||
OutputPath string
|
||||
}
|
||||
|
||||
// PolishResult is a placeholder polish output.
|
||||
type PolishResult struct {
|
||||
ProcessedPath string
|
||||
}
|
||||
15
internal/adapters/notify/sender.go
Normal file
15
internal/adapters/notify/sender.go
Normal file
@@ -0,0 +1,15 @@
|
||||
// Package notify declares the adapter contract for run notifications.
|
||||
package notify
|
||||
|
||||
import "context"
|
||||
|
||||
// Sender is a placeholder adapter interface for notifications.
|
||||
type Sender interface {
|
||||
Send(ctx context.Context, msg Message) error
|
||||
}
|
||||
|
||||
// Message is a placeholder notification payload.
|
||||
type Message struct {
|
||||
Subject string
|
||||
Body string
|
||||
}
|
||||
20
internal/adapters/seriatim/runner.go
Normal file
20
internal/adapters/seriatim/runner.go
Normal file
@@ -0,0 +1,20 @@
|
||||
// Package seriatim declares the adapter contract for transcript merge execution.
|
||||
package seriatim
|
||||
|
||||
import "context"
|
||||
|
||||
// Runner is a placeholder adapter interface for seriatim invocation.
|
||||
type Runner interface {
|
||||
Run(ctx context.Context, req MergeRequest) (MergeResult, error)
|
||||
}
|
||||
|
||||
// MergeRequest is a placeholder merge input.
|
||||
type MergeRequest struct {
|
||||
TranscriptPaths []string
|
||||
OutputPath string
|
||||
}
|
||||
|
||||
// MergeResult is a placeholder merge output.
|
||||
type MergeResult struct {
|
||||
MergedPath string
|
||||
}
|
||||
20
internal/adapters/whisperx/client.go
Normal file
20
internal/adapters/whisperx/client.go
Normal file
@@ -0,0 +1,20 @@
|
||||
// Package whisperx declares the adapter contract for WhisperX transcription.
|
||||
package whisperx
|
||||
|
||||
import "context"
|
||||
|
||||
// Client is a placeholder adapter interface for WhisperX interactions.
|
||||
type Client interface {
|
||||
Transcribe(ctx context.Context, req TranscriptionRequest) (TranscriptionResult, error)
|
||||
}
|
||||
|
||||
// TranscriptionRequest is a placeholder transcription input.
|
||||
type TranscriptionRequest struct {
|
||||
Speaker string
|
||||
AudioPath string
|
||||
}
|
||||
|
||||
// TranscriptionResult is a placeholder transcription output.
|
||||
type TranscriptionResult struct {
|
||||
TranscriptPath string
|
||||
}
|
||||
Reference in New Issue
Block a user