docs: document template_id column and list_note_templates/start_recording (T8.1, FR-NOTE-5)

This commit is contained in:
iamdoubz committed 2026-07-02 11:26:05 -05:00
1 parent 31e644a671
commit 04628bcb46
2 files changed
+7 -1

No files matched your search

+2
View File
@@ -46,6 +46,8 @@ CREATE TABLE meetings (
backend_used TEXT, -- npu|nvidia|amd|intel|cpu
model_used TEXT, -- e.g. whisper-base
calendar_event_id TEXT, -- FK -> calendar_events.id (nullable)
template_id TEXT, -- note-template id (T8.1, FR-NOTE-5); catalog is
-- a built-in Rust list (notes::templates), not a table
created_at INTEGER NOT NULL,
updated_at INTEGER NOT NULL
);
+5 -1
View File
@@ -14,7 +14,8 @@ each command returns `Result<T, WaError>` where `WaError` carries a `kind` (mach
// ---- Recording lifecycle ----
// `record` (default false) controls audio RETENTION (ADR-0009). When false, working audio is
// deleted on finalize and only the transcript/notes persist. It can be toggled mid-meeting.
start_recording(input: { meetingTitle?: string; calendarEventId?: string; record?: boolean }): MeetingId
// templateId (Phase 8, T8.1, FR-NOTE-5) picks a NoteTemplate — see list_note_templates below.
start_recording(input: { meetingTitle?: string; calendarEventId?: string; record?: boolean; templateId?: string }): MeetingId
stop_recording(input: { meetingId: MeetingId }): MeetingSummaryRef
pause_recording(input: { meetingId: MeetingId }): void
resume_recording(input: { meetingId: MeetingId }): void
@@ -51,6 +52,9 @@ update_notes(input: { meetingId: MeetingId; markdown: string }): void
search(input: { query: string }): SearchHit[] // FTS (FR-SEARCH-1)
set_tags(input: { meetingId: MeetingId; tags: string[] }): void
list_tags(): string[] // all known tag names, sorted
// NoteTemplate = { id: string, name: string, sections: string[] } (T8.1, FR-NOTE-5). Meeting
// gained `template_id: string | null` — the template picked at start_recording.
list_note_templates(): NoteTemplate[]
// ---- LLM / AI provider (ADR-0007/0011) ----
// provider ∈ ollama | custom | anthropic | openai | off. Hosted-provider API keys are passed to