Initialize narratio Go module and CLI scaffold

This commit is contained in:
2026-05-02 10:37:38 -05:00
parent 48c51e1c77
commit 902e6bc994
42 changed files with 1486 additions and 1 deletions

View 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
}

View 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
}

View 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
}

View 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
}

View 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
}