Versions in this module Expand all Collapse all v0 v0.2.0 Nov 22, 2026 Changes in this version + const JointPrompt + const SpeakerUser + const Tick + var Acts = []string + var DefaultDelays = Delays + var Families = []Family + func ValidatePairs(pairs []Pair) error + type Action struct + Act string + ReplacesPending string + Text string + func (a Action) Validate() error + type Admission struct + At time.Duration + Cue string + EventID string + InjectedDelay time.Duration + Kind Kind + Mark Mark + Provisional bool + Replaces string + SourceEnd time.Duration + SourceStart time.Duration + Speaker string + Text string + Withheld string + func (admission Admission) Admitted() bool + type Availability string + const AvailabilityRunnable + const AvailabilityUnavailable + type Cell struct + Availability Availability + Channels Channels + Contrast string + Deliberation string + ID string + Joint bool + Planning Planning + Purpose string + Schedule Schedule + Study string + TickInterval time.Duration + Unavailable string + func CellByID(id string) (Cell, error) + func Cells() []Cell + func (cell Cell) Render(observation Observation, self Self) string + type Channels struct + Cues bool + Provisional bool + Sound bool + Speakers bool + Timing bool + type ContentScreen struct + EstimatedFromSynthesisText bool + Forbidden []string + InvalidPlaybackEvidence bool + MissingGroups [][]string + Passed bool + SpeechInSilentWindow bool + Text string + TooShort bool + func ScreenContent(expect Expectation, opens time.Duration, playback Playback) ContentScreen + type Decision struct + Action Action + Duration time.Duration + Error string + Request json.RawMessage + Response json.RawMessage + StartedAt time.Time + type Delays struct + Cues time.Duration + SoundOffset time.Duration + SoundOnset time.Duration + Words time.Duration + type Event struct + AvailableAt time.Duration + Cue string + Group string + ID string + Kind Kind + Provisional bool + Replaces string + SourceEnd time.Duration + SourceStart time.Duration + Speaker string + Text string + type Expectation struct + After string + Forbid []string + MinWords int + RequireAnyOf [][]string + Silent bool + Within time.Duration + type Family string + const FamilyAddressing + const FamilyConcurrent + const FamilyProactive + const FamilyProsodic + const FamilyRevision + const FamilySemanticCorrection + const FamilySilence + const FamilySteering + type Heard struct + AdmittedAt time.Duration + EventID string + Provisional bool + SourceEnd time.Duration + SourceStart time.Duration + Speaker string + Text string + type JointPolicy struct + Client *http.Client + MaxTokens int + Model string + Prompt string + Seed int + Thinking bool + URL string + func (p JointPolicy) Decide(ctx context.Context, instructions, observation string) (Decision, error) + type Kind string + const KindCommit + const KindCue + const KindSound + const KindWord + type Listener struct + func NewListener(channels Channels) *Listener + func (listener *Listener) Admit(admissions []Admission) + func (listener *Listener) Observe(now time.Duration) Observation + type Mark string + const MarkCommit + const MarkCue + const MarkRevision + const MarkSoundOffset + const MarkSoundOnset + const MarkWord + type Observation struct + Channels Channels + Cues []Heard + FreshSince []Admission + Now time.Duration + Quiet time.Duration + SoundObserved bool + Sounding time.Duration + Words []Heard + func (observation Observation) Said(speaker string) string + func (observation Observation) Speakers() []string + func (observation Observation) String() string + type Pair struct + Family Family + ID string + Instructions string + Prefix []Event + Split Split + Variants []Variant + func PairByID(id string) (Pair, bool) + func Pilot() []Pair + func (pair Pair) Branch(variant Variant) []Event + func (pair Pair) PrefixEnd() time.Duration + func (pair Pair) Validate() error + func (pair Pair) WithoutFeedback(variant Variant) (Variant, error) + type Planning string + const PlanningFixed + const PlanningIncremental + const PlanningRevisable + type Playback struct + Segments []Segment + func (p *Playback) Add(id, text string, generatedAt time.Duration, sampleRate int) error + func (p *Playback) Cancel(id string) + func (p *Playback) End(id string) error + func (p *Playback) FinishPlayback(id string, at time.Duration) error + func (p *Playback) Generated(id string, samples int64) error + func (p *Playback) Mark(id string, played int64, at time.Duration) error + func (p *Playback) Self() Self + type Schedule string + const ScheduleMicroTurn + const ScheduleWholeTurn + type Segment struct + CompletedAt *time.Duration + Cut bool + Ended bool + FirstPlayedAt *time.Duration + GeneratedAt time.Duration + GeneratedSamples int64 + ID string + LastPlayedAt *time.Duration + PlayedSamples int64 + SampleRate int + Text string + type Self struct + Began time.Duration + Heard string + Partial string + Pending string + Plan string + Speaking bool + type Source struct + func NewSource(events []Event, channels Channels, delays Delays) *Source + func (source *Source) Advance(now time.Duration) []Admission + func (source *Source) Ends() time.Duration + func (source *Source) Schedule() []Admission + type Split string + const SplitHeldOut + const SplitPilot + type Variant struct + Events []Event + Expect Expectation + Feedback string + ID string + Label string