Initialize narratio Go module and CLI scaffold
This commit is contained in:
7
internal/contracts/artifact.go
Normal file
7
internal/contracts/artifact.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package contracts
|
||||
|
||||
// ArtifactResult is a placeholder generated artifact contract.
|
||||
type ArtifactResult struct {
|
||||
Schema string `json:"schema"`
|
||||
Path string `json:"path"`
|
||||
}
|
||||
2
internal/contracts/doc.go
Normal file
2
internal/contracts/doc.go
Normal file
@@ -0,0 +1,2 @@
|
||||
// Package contracts defines shared high-level artifact contracts.
|
||||
package contracts
|
||||
7
internal/contracts/session.go
Normal file
7
internal/contracts/session.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package contracts
|
||||
|
||||
// SessionManifest is a placeholder durable session-run contract.
|
||||
type SessionManifest struct {
|
||||
Schema string `json:"schema"`
|
||||
SessionID string `json:"session_id"`
|
||||
}
|
||||
19
internal/contracts/transcript.go
Normal file
19
internal/contracts/transcript.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package contracts
|
||||
|
||||
// SpeakerTranscript is a placeholder transcription artifact contract.
|
||||
type SpeakerTranscript struct {
|
||||
Schema string `json:"schema"`
|
||||
SessionID string `json:"session_id"`
|
||||
}
|
||||
|
||||
// CanonicalTranscript is a placeholder merged transcript contract.
|
||||
type CanonicalTranscript struct {
|
||||
Schema string `json:"schema"`
|
||||
SessionID string `json:"session_id"`
|
||||
}
|
||||
|
||||
// ProcessedTranscript is a placeholder polished transcript contract.
|
||||
type ProcessedTranscript struct {
|
||||
Schema string `json:"schema"`
|
||||
SessionID string `json:"session_id"`
|
||||
}
|
||||
Reference in New Issue
Block a user