From 11b175dafa9127757d7802a8cc809e4f024bb9af Mon Sep 17 00:00:00 2001 From: iamdoubz <> Date: Tue, 7 Jul 2026 07:52:11 -0500 Subject: [PATCH] feat(llm): add hosted_ai_acknowledged to AppSettings (T10.3/M3.3) Frontend counterpart of the new Settings field: the one-time "data leaves your device" acknowledgment for hosted (non-local) AI providers. --- src/lib/api.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/api.ts b/src/lib/api.ts index bd734b6..e7c234d 100644 --- a/src/lib/api.ts +++ b/src/lib/api.ts @@ -57,7 +57,7 @@ export interface AudioDeviceInfo { } export interface LlmStatus { - provider: string; // ollama|custom|off (Phase 10a adds anthropic|openai) + provider: string; // ollama|custom|anthropic|off (ADR-0011; "openai" not yet wired) reachable: boolean; isLocal: boolean; models: string[]; @@ -287,6 +287,10 @@ export interface AppSettings { low_overhead: boolean; default_record: boolean; consent_acknowledged: boolean; + /** One-time "data leaves your device" ack for hosted (non-local) AI + * providers — Anthropic today (ADR-0011, T10.3). Independent of + * consent_acknowledged (that one's about recording law). */ + hosted_ai_acknowledged: boolean; sync_enabled: boolean; mcp_enabled: boolean; retention_max_age_days: number | null;