Reference
Bridge type reference
The engine and the interface share these types through packages/contracts-ts, a mirror of the Rust contracts crate. They are internal to the app, documented here for reference, not a public or network API.
- 01
SourceLabel
Which side of the conversation a frame, transcript or turn belongs to.
- 02
TranscriptKind
Whether a transcript line is still changing or settled.
- 03
TurnKind
The two turn events a turn detector emits.
- 04
TimedWord
One word of a transcript with its start and end time.
- 05
TranscriptEvent
One transcript update for one side, sent from the engine to the interface.
- 06
TurnEvent
A turn event from the turn detector for one side.
- 07
SessionMode
Which of the two products the app runs as.
- 08
SessionSummary
A stored Notetaker session, as listed in the interface.
- 09
WriterStats
Counters from the transcript writer, returned when a Notetaker session stops.
- 10
ActiveSessionInfo
The Notetaker session that is running now, if any.
- 11
TemplateSection
One section of a summary template: a title and an optional description.
- 12
Template
A named list of sections that shapes a summary.
- 13
SessionDocument
A stored document attached to a session: a note, a summary or template output.
- 14
EnhanceProgress
Progress of an Enhance run: a streamed token or a retry notice.