Files

1 line
30 KiB
JSON

{"repo": "by123/openlynx", "files": {"web/src/types.ts": {"422d714bcf12848efb791aa205e256be97dc04ac": {"t": 1785745562.0132654, "n": 3778, "h": "1c135ad0d431ea7e", "c": "/** A scope id: \"global\", the legacy \"project\" alias, or a discovered project's hash id. */\nexport type Scope = string;\nexport type SearchMode = \"keyword\" | \"semantic\";\n\n/** Which lens the workspace is browsing through. */\nexport type Lens = \"memory\" | \"retrieval\";\n\nexport interface TagAttachment {\n name: string;\n kind: \"user\" | \"project\" | \"module\" | \"custom\" | string;\n source: \"auto\" | \"manual\" | string;\n confidence?: number | null;\n}\n\nexport interface Turn {\n id: string;\n session_id: string;\n ts: number;\n cwd?: string | null;\n user_msg: string;\n assistant_msg: string;\n tags: TagAttachment[];\n score?: number | null;\n retrieval_count?: number;\n summary?: string | null;\n summary_source?: string | null;\n summary_model?: string | null;\n summary_ts?: number | null;\n}\n\nexport interface RetrievalSummary {\n id: string;\n ts: number;\n session_id: string | null;\n cwd: string | null;\n prompt: string;\n scope_used: string | null;\n hit_count: number;\n}\n\nexport interface RetrievalHit {\n turn_id: string;\n scope: string | null;\n kind: string | null;\n score: number;\n rank: number;\n turn: Turn | null;\n}\n\nexport interface RetrievalDetail extends RetrievalSummary {\n hits: RetrievalHit[];\n}\n\nexport interface RetrievalsResponse {\n items: RetrievalSummary[];\n total: number;\n}\n\nexport interface TurnRetrievalsResponse {\n items: Array<RetrievalSummary & { score: number; rank: number }>;\n total: number;\n}\n\nexport interface TurnsResponse {\n items: Turn[];\n total: number;\n mode: SearchMode;\n}\n\nexport interface TopReferencedResponse {\n items: Turn[];\n}\n\n/** One tab: the global store or a discovered project memory directory. */\nexport interface ScopeInfo {\n id: string;\n kind: \"global\" | \"project\";\n /** Folder name for a project; for global the frontend shows the localized label. */\n name: string;\n /** The data dir (marker dir for a project, global store for global). */\n dir: string;\n /** Project root (parent of the marker), or null for global. */\n root: string | null;\n /** SQLite row count (no Chroma open). */\n turn_count: number;\n hidden: boolean;\n /** True for the project rooted at the server's cwd. */\n is_current: boolean;\n}\n\nexport interface ScopesResponse {\n global_dir: string;\n cwd: string;\n /** Scope to select by default: the cwd's project id, or \"global\". */\n current_id: string;\n /** Unix ts of the last $HOME scan, or null if never scanned. */\n scanned_at: number | null;\n scopes: ScopeInfo[];\n}\n\nexport interface TagInfo {\n name: string;\n kind: string;\n count: number;\n created_at?: number;\n}\n\n/** What is currently open in the detail pane. */\nexport type Selection =\n | { kind: \"memory\"; turn: Turn }\n | { kind: \"retrieval\"; item: RetrievalSummary };\n\nexport interface AppSettings {\n summary_enabled: boolean;\n top_k: number;\n min_score: number;\n scope: string;\n summary_backend: string;\n openai_api_key_set: boolean;\n voyage_api_key_set: boolean;\n deepseek_api_key_set: boolean;\n qwen_api_key_set: boolean;\n openai_model: string;\n openai_base_url: string;\n deepseek_model: string;\n qwen_model: string;\n embedding_backend: string;\n openai_embedding_model: string;\n voyage_model: string;\n // cloud sync (Turso)\n sync_enabled: boolean;\n turso_org: string;\n turso_group: string;\n sync_url: string;\n turso_api_token_set: boolean;\n sync_token_set: boolean;\n // actual key values returned from server and sent on save\n openai_api_key_value?: string;\n voyage_api_key_value?: string;\n deepseek_api_key_value?: string;\n qwen_api_key_value?: string;\n turso_api_token_value?: string;\n sync_token_value?: string;\n openai_api_key?: string;\n voyage_api_key?: string;\n deepseek_api_key?: string;\n qwen_api_key?: string;\n turso_api_token?: string;\n sync_token?: string;\n}\n"}, "d0b92d55def20045d880f359da6e241393f9a84a": {"t": 1785754236.792944, "n": 3778, "h": "1c135ad0d431ea7e", "c": "/** A scope id: \"global\", the legacy \"project\" alias, or a discovered project's hash id. */\nexport type Scope = string;\nexport type SearchMode = \"keyword\" | \"semantic\";\n\n/** Which lens the workspace is browsing through. */\nexport type Lens = \"memory\" | \"retrieval\";\n\nexport interface TagAttachment {\n name: string;\n kind: \"user\" | \"project\" | \"module\" | \"custom\" | string;\n source: \"auto\" | \"manual\" | string;\n confidence?: number | null;\n}\n\nexport interface Turn {\n id: string;\n session_id: string;\n ts: number;\n cwd?: string | null;\n user_msg: string;\n assistant_msg: string;\n tags: TagAttachment[];\n score?: number | null;\n retrieval_count?: number;\n summary?: string | null;\n summary_source?: string | null;\n summary_model?: string | null;\n summary_ts?: number | null;\n}\n\nexport interface RetrievalSummary {\n id: string;\n ts: number;\n session_id: string | null;\n cwd: string | null;\n prompt: string;\n scope_used: string | null;\n hit_count: number;\n}\n\nexport interface RetrievalHit {\n turn_id: string;\n scope: string | null;\n kind: string | null;\n score: number;\n rank: number;\n turn: Turn | null;\n}\n\nexport interface RetrievalDetail extends RetrievalSummary {\n hits: RetrievalHit[];\n}\n\nexport interface RetrievalsResponse {\n items: RetrievalSummary[];\n total: number;\n}\n\nexport interface TurnRetrievalsResponse {\n items: Array<RetrievalSummary & { score: number; rank: number }>;\n total: number;\n}\n\nexport interface TurnsResponse {\n items: Turn[];\n total: number;\n mode: SearchMode;\n}\n\nexport interface TopReferencedResponse {\n items: Turn[];\n}\n\n/** One tab: the global store or a discovered project memory directory. */\nexport interface ScopeInfo {\n id: string;\n kind: \"global\" | \"project\";\n /** Folder name for a project; for global the frontend shows the localized label. */\n name: string;\n /** The data dir (marker dir for a project, global store for global). */\n dir: string;\n /** Project root (parent of the marker), or null for global. */\n root: string | null;\n /** SQLite row count (no Chroma open). */\n turn_count: number;\n hidden: boolean;\n /** True for the project rooted at the server's cwd. */\n is_current: boolean;\n}\n\nexport interface ScopesResponse {\n global_dir: string;\n cwd: string;\n /** Scope to select by default: the cwd's project id, or \"global\". */\n current_id: string;\n /** Unix ts of the last $HOME scan, or null if never scanned. */\n scanned_at: number | null;\n scopes: ScopeInfo[];\n}\n\nexport interface TagInfo {\n name: string;\n kind: string;\n count: number;\n created_at?: number;\n}\n\n/** What is currently open in the detail pane. */\nexport type Selection =\n | { kind: \"memory\"; turn: Turn }\n | { kind: \"retrieval\"; item: RetrievalSummary };\n\nexport interface AppSettings {\n summary_enabled: boolean;\n top_k: number;\n min_score: number;\n scope: string;\n summary_backend: string;\n openai_api_key_set: boolean;\n voyage_api_key_set: boolean;\n deepseek_api_key_set: boolean;\n qwen_api_key_set: boolean;\n openai_model: string;\n openai_base_url: string;\n deepseek_model: string;\n qwen_model: string;\n embedding_backend: string;\n openai_embedding_model: string;\n voyage_model: string;\n // cloud sync (Turso)\n sync_enabled: boolean;\n turso_org: string;\n turso_group: string;\n sync_url: string;\n turso_api_token_set: boolean;\n sync_token_set: boolean;\n // actual key values returned from server and sent on save\n openai_api_key_value?: string;\n voyage_api_key_value?: string;\n deepseek_api_key_value?: string;\n qwen_api_key_value?: string;\n turso_api_token_value?: string;\n sync_token_value?: string;\n openai_api_key?: string;\n voyage_api_key?: string;\n deepseek_api_key?: string;\n qwen_api_key?: string;\n turso_api_token?: string;\n sync_token?: string;\n}\n"}, "0adac4d5448d96560d5aff3d80ab6b612967ddce": {"t": 1785754237.9189966, "n": 3100, "h": "7a0117620640d02a", "c": "export type Scope = \"project\" | \"global\";\nexport type SearchMode = \"keyword\" | \"semantic\";\n\n/** Which lens the workspace is browsing through. */\nexport type Lens = \"memory\" | \"retrieval\";\n\nexport interface TagAttachment {\n name: string;\n kind: \"user\" | \"project\" | \"module\" | \"custom\" | string;\n source: \"auto\" | \"manual\" | string;\n confidence?: number | null;\n}\n\nexport interface Turn {\n id: string;\n session_id: string;\n ts: number;\n cwd?: string | null;\n user_msg: string;\n assistant_msg: string;\n tags: TagAttachment[];\n score?: number | null;\n retrieval_count?: number;\n summary?: string | null;\n summary_source?: string | null;\n summary_model?: string | null;\n summary_ts?: number | null;\n}\n\nexport interface RetrievalSummary {\n id: string;\n ts: number;\n session_id: string | null;\n cwd: string | null;\n prompt: string;\n scope_used: string | null;\n hit_count: number;\n}\n\nexport interface RetrievalHit {\n turn_id: string;\n scope: string | null;\n kind: string | null;\n score: number;\n rank: number;\n turn: Turn | null;\n}\n\nexport interface RetrievalDetail extends RetrievalSummary {\n hits: RetrievalHit[];\n}\n\nexport interface RetrievalsResponse {\n items: RetrievalSummary[];\n total: number;\n}\n\nexport interface TurnRetrievalsResponse {\n items: Array<RetrievalSummary & { score: number; rank: number }>;\n total: number;\n}\n\nexport interface TurnsResponse {\n items: Turn[];\n total: number;\n mode: SearchMode;\n}\n\nexport interface TopReferencedResponse {\n items: Turn[];\n}\n\nexport interface ScopesResponse {\n project: boolean;\n global: boolean;\n project_dir: string | null;\n global_dir: string;\n cwd: string;\n /** SQLite row counts only; used to pick default scope without opening Chroma. */\n global_turn_count: number;\n project_turn_count: number;\n}\n\nexport interface TagInfo {\n name: string;\n kind: string;\n count: number;\n created_at?: number;\n}\n\n/** What is currently open in the detail pane. */\nexport type Selection =\n | { kind: \"memory\"; turn: Turn }\n | { kind: \"retrieval\"; item: RetrievalSummary };\n\nexport interface AppSettings {\n summary_enabled: boolean;\n top_k: number;\n min_score: number;\n scope: string;\n summary_backend: string;\n openai_api_key_set: boolean;\n voyage_api_key_set: boolean;\n deepseek_api_key_set: boolean;\n qwen_api_key_set: boolean;\n openai_model: string;\n openai_base_url: string;\n deepseek_model: string;\n qwen_model: string;\n embedding_backend: string;\n openai_embedding_model: string;\n voyage_model: string;\n // cloud sync (Turso)\n sync_enabled: boolean;\n turso_org: string;\n turso_group: string;\n sync_url: string;\n turso_api_token_set: boolean;\n sync_token_set: boolean;\n // actual key values returned from server and sent on save\n openai_api_key_value?: string;\n voyage_api_key_value?: string;\n deepseek_api_key_value?: string;\n qwen_api_key_value?: string;\n turso_api_token_value?: string;\n sync_token_value?: string;\n openai_api_key?: string;\n voyage_api_key?: string;\n deepseek_api_key?: string;\n qwen_api_key?: string;\n turso_api_token?: string;\n sync_token?: string;\n}\n"}, "f739b92a63d3e451c720dcbc1564b84fb7b6fb76": {"t": 1785754239.1799388, "n": 2814, "h": "14a728bad17ad765", "c": "export type Scope = \"project\" | \"global\";\nexport type SearchMode = \"keyword\" | \"semantic\";\n\n/** Which lens the workspace is browsing through. */\nexport type Lens = \"memory\" | \"retrieval\";\n\nexport interface TagAttachment {\n name: string;\n kind: \"user\" | \"project\" | \"module\" | \"custom\" | string;\n source: \"auto\" | \"manual\" | string;\n confidence?: number | null;\n}\n\nexport interface Turn {\n id: string;\n session_id: string;\n ts: number;\n cwd?: string | null;\n user_msg: string;\n assistant_msg: string;\n tags: TagAttachment[];\n score?: number | null;\n retrieval_count?: number;\n summary?: string | null;\n summary_source?: string | null;\n summary_model?: string | null;\n summary_ts?: number | null;\n}\n\nexport interface RetrievalSummary {\n id: string;\n ts: number;\n session_id: string | null;\n cwd: string | null;\n prompt: string;\n scope_used: string | null;\n hit_count: number;\n}\n\nexport interface RetrievalHit {\n turn_id: string;\n scope: string | null;\n kind: string | null;\n score: number;\n rank: number;\n turn: Turn | null;\n}\n\nexport interface RetrievalDetail extends RetrievalSummary {\n hits: RetrievalHit[];\n}\n\nexport interface RetrievalsResponse {\n items: RetrievalSummary[];\n total: number;\n}\n\nexport interface TurnRetrievalsResponse {\n items: Array<RetrievalSummary & { score: number; rank: number }>;\n total: number;\n}\n\nexport interface TurnsResponse {\n items: Turn[];\n total: number;\n mode: SearchMode;\n}\n\nexport interface TopReferencedResponse {\n items: Turn[];\n}\n\nexport interface ScopesResponse {\n project: boolean;\n global: boolean;\n project_dir: string | null;\n global_dir: string;\n cwd: string;\n /** SQLite row counts only; used to pick default scope without opening Chroma. */\n global_turn_count: number;\n project_turn_count: number;\n}\n\nexport interface TagInfo {\n name: string;\n kind: string;\n count: number;\n created_at?: number;\n}\n\n/** What is currently open in the detail pane. */\nexport type Selection =\n | { kind: \"memory\"; turn: Turn }\n | { kind: \"retrieval\"; item: RetrievalSummary };\n\nexport interface AppSettings {\n summary_enabled: boolean;\n top_k: number;\n min_score: number;\n scope: string;\n summary_backend: string;\n openai_api_key_set: boolean;\n voyage_api_key_set: boolean;\n deepseek_api_key_set: boolean;\n qwen_api_key_set: boolean;\n openai_model: string;\n openai_base_url: string;\n deepseek_model: string;\n qwen_model: string;\n embedding_backend: string;\n openai_embedding_model: string;\n voyage_model: string;\n // actual key values returned from server and sent on save\n openai_api_key_value?: string;\n voyage_api_key_value?: string;\n deepseek_api_key_value?: string;\n qwen_api_key_value?: string;\n openai_api_key?: string;\n voyage_api_key?: string;\n deepseek_api_key?: string;\n qwen_api_key?: string;\n}\n"}, "9daeac2c0a5f0c4d55a68951425e948bdd0cb521": {"t": 1785754240.5636752, "n": 2556, "h": "f532f324f64e59dc", "c": "export type Scope = \"project\" | \"global\";\nexport type SearchMode = \"keyword\" | \"semantic\";\n\nexport interface TagAttachment {\n name: string;\n kind: \"user\" | \"project\" | \"module\" | \"custom\" | string;\n source: \"auto\" | \"manual\" | string;\n confidence?: number | null;\n}\n\nexport interface Turn {\n id: string;\n session_id: string;\n ts: number;\n cwd?: string | null;\n user_msg: string;\n assistant_msg: string;\n tags: TagAttachment[];\n score?: number | null;\n retrieval_count?: number;\n summary?: string | null;\n summary_source?: string | null;\n summary_model?: string | null;\n summary_ts?: number | null;\n}\n\nexport interface RetrievalSummary {\n id: string;\n ts: number;\n session_id: string | null;\n cwd: string | null;\n prompt: string;\n scope_used: string | null;\n hit_count: number;\n}\n\nexport interface RetrievalHit {\n turn_id: string;\n scope: string | null;\n kind: string | null;\n score: number;\n rank: number;\n turn: Turn | null;\n}\n\nexport interface RetrievalDetail extends RetrievalSummary {\n hits: RetrievalHit[];\n}\n\nexport interface RetrievalsResponse {\n items: RetrievalSummary[];\n total: number;\n}\n\nexport interface TurnRetrievalsResponse {\n items: Array<RetrievalSummary & { score: number; rank: number }>;\n total: number;\n}\n\nexport interface TurnsResponse {\n items: Turn[];\n total: number;\n mode: SearchMode;\n}\n\nexport interface TopReferencedResponse {\n items: Turn[];\n}\n\nexport interface ScopesResponse {\n project: boolean;\n global: boolean;\n project_dir: string | null;\n global_dir: string;\n cwd: string;\n /** SQLite row counts only; used to pick default scope without opening Chroma. */\n global_turn_count: number;\n project_turn_count: number;\n}\n\nexport interface TagInfo {\n name: string;\n kind: string;\n count: number;\n created_at?: number;\n}\n\nexport interface AppSettings {\n summary_enabled: boolean;\n top_k: number;\n min_score: number;\n scope: string;\n summary_backend: string;\n openai_api_key_set: boolean;\n voyage_api_key_set: boolean;\n deepseek_api_key_set: boolean;\n qwen_api_key_set: boolean;\n openai_model: string;\n openai_base_url: string;\n deepseek_model: string;\n qwen_model: string;\n embedding_backend: string;\n openai_embedding_model: string;\n voyage_model: string;\n // actual key values returned from server and sent on save\n openai_api_key_value?: string;\n voyage_api_key_value?: string;\n deepseek_api_key_value?: string;\n qwen_api_key_value?: string;\n openai_api_key?: string;\n voyage_api_key?: string;\n deepseek_api_key?: string;\n qwen_api_key?: string;\n}\n"}, "bbca3a7c66947826515ed406d242349abe350fa3": {"t": 1785754242.906405, "n": 2451, "h": "df8e495fb90538a7", "c": "export type Scope = \"project\" | \"global\";\nexport type SearchMode = \"keyword\" | \"semantic\";\n\nexport interface TagAttachment {\n name: string;\n kind: \"user\" | \"project\" | \"module\" | \"custom\" | string;\n source: \"auto\" | \"manual\" | string;\n confidence?: number | null;\n}\n\nexport interface Turn {\n id: string;\n session_id: string;\n ts: number;\n cwd?: string | null;\n user_msg: string;\n assistant_msg: string;\n tags: TagAttachment[];\n score?: number | null;\n retrieval_count?: number;\n summary?: string | null;\n summary_source?: string | null;\n summary_model?: string | null;\n summary_ts?: number | null;\n}\n\nexport interface RetrievalSummary {\n id: string;\n ts: number;\n session_id: string | null;\n cwd: string | null;\n prompt: string;\n scope_used: string | null;\n hit_count: number;\n}\n\nexport interface RetrievalHit {\n turn_id: string;\n scope: string | null;\n kind: string | null;\n score: number;\n rank: number;\n turn: Turn | null;\n}\n\nexport interface RetrievalDetail extends RetrievalSummary {\n hits: RetrievalHit[];\n}\n\nexport interface RetrievalsResponse {\n items: RetrievalSummary[];\n total: number;\n}\n\nexport interface TurnRetrievalsResponse {\n items: Array<RetrievalSummary & { score: number; rank: number }>;\n total: number;\n}\n\nexport interface TurnsResponse {\n items: Turn[];\n total: number;\n mode: SearchMode;\n}\n\nexport interface TopReferencedResponse {\n items: Turn[];\n}\n\nexport interface ScopesResponse {\n project: boolean;\n global: boolean;\n project_dir: string | null;\n global_dir: string;\n cwd: string;\n /** SQLite row counts only; used to pick default scope without opening Chroma. */\n global_turn_count: number;\n project_turn_count: number;\n}\n\nexport interface TagInfo {\n name: string;\n kind: string;\n count: number;\n created_at?: number;\n}\n\nexport interface AppSettings {\n summary_enabled: boolean;\n top_k: number;\n min_score: number;\n scope: string;\n summary_model: string;\n summary_backend: string;\n anthropic_api_key_set: boolean;\n openai_api_key_set: boolean;\n voyage_api_key_set: boolean;\n openai_model: string;\n openai_base_url: string;\n embedding_backend: string;\n openai_embedding_model: string;\n voyage_model: string;\n // actual key values returned from server and sent on save\n anthropic_api_key_value?: string;\n openai_api_key_value?: string;\n voyage_api_key_value?: string;\n anthropic_api_key?: string;\n openai_api_key?: string;\n voyage_api_key?: string;\n}\n"}, "2e1bc16a8da83ab2f0d31ae53db5509273ddee1f": {"t": 1785754244.746277, "n": 2206, "h": "87a76c94ccad7f5f", "c": "export type Scope = \"project\" | \"global\";\nexport type SearchMode = \"keyword\" | \"semantic\";\n\nexport interface TagAttachment {\n name: string;\n kind: \"user\" | \"project\" | \"module\" | \"custom\" | string;\n source: \"auto\" | \"manual\" | string;\n confidence?: number | null;\n}\n\nexport interface Turn {\n id: string;\n session_id: string;\n ts: number;\n cwd?: string | null;\n user_msg: string;\n assistant_msg: string;\n tags: TagAttachment[];\n score?: number | null;\n retrieval_count?: number;\n summary?: string | null;\n summary_source?: string | null;\n summary_model?: string | null;\n summary_ts?: number | null;\n}\n\nexport interface RetrievalSummary {\n id: string;\n ts: number;\n session_id: string | null;\n cwd: string | null;\n prompt: string;\n scope_used: string | null;\n hit_count: number;\n}\n\nexport interface RetrievalHit {\n turn_id: string;\n scope: string | null;\n kind: string | null;\n score: number;\n rank: number;\n turn: Turn | null;\n}\n\nexport interface RetrievalDetail extends RetrievalSummary {\n hits: RetrievalHit[];\n}\n\nexport interface RetrievalsResponse {\n items: RetrievalSummary[];\n total: number;\n}\n\nexport interface TurnRetrievalsResponse {\n items: Array<RetrievalSummary & { score: number; rank: number }>;\n total: number;\n}\n\nexport interface TurnsResponse {\n items: Turn[];\n total: number;\n mode: SearchMode;\n}\n\nexport interface TopReferencedResponse {\n items: Turn[];\n}\n\nexport interface ScopesResponse {\n project: boolean;\n global: boolean;\n project_dir: string | null;\n global_dir: string;\n cwd: string;\n /** SQLite row counts only; used to pick default scope without opening Chroma. */\n global_turn_count: number;\n project_turn_count: number;\n}\n\nexport interface TagInfo {\n name: string;\n kind: string;\n count: number;\n created_at?: number;\n}\n\nexport interface AppSettings {\n summary_enabled: boolean;\n top_k: number;\n min_score: number;\n scope: string;\n summary_model: string;\n summary_backend: string;\n anthropic_api_key_set: boolean;\n openai_api_key_set: boolean;\n openai_model: string;\n openai_base_url: string;\n // write-only: only sent on save, never returned from server\n anthropic_api_key?: string;\n openai_api_key?: string;\n}\n"}, "e18e5bb9c7a1339dfa58c772e8a0c76ed4055508": {"t": 1785754246.1220083, "n": 1801, "h": "bd43608859cf0c50", "c": "export type Scope = \"project\" | \"global\";\nexport type SearchMode = \"keyword\" | \"semantic\";\n\nexport interface TagAttachment {\n name: string;\n kind: \"user\" | \"project\" | \"module\" | \"custom\" | string;\n source: \"auto\" | \"manual\" | string;\n confidence?: number | null;\n}\n\nexport interface Turn {\n id: string;\n session_id: string;\n ts: number;\n cwd?: string | null;\n user_msg: string;\n assistant_msg: string;\n tags: TagAttachment[];\n score?: number | null;\n retrieval_count?: number;\n summary?: string | null;\n summary_source?: string | null;\n summary_model?: string | null;\n summary_ts?: number | null;\n}\n\nexport interface RetrievalSummary {\n id: string;\n ts: number;\n session_id: string | null;\n cwd: string | null;\n prompt: string;\n scope_used: string | null;\n hit_count: number;\n}\n\nexport interface RetrievalHit {\n turn_id: string;\n scope: string | null;\n kind: string | null;\n score: number;\n rank: number;\n turn: Turn | null;\n}\n\nexport interface RetrievalDetail extends RetrievalSummary {\n hits: RetrievalHit[];\n}\n\nexport interface RetrievalsResponse {\n items: RetrievalSummary[];\n total: number;\n}\n\nexport interface TurnRetrievalsResponse {\n items: Array<RetrievalSummary & { score: number; rank: number }>;\n total: number;\n}\n\nexport interface TurnsResponse {\n items: Turn[];\n total: number;\n mode: SearchMode;\n}\n\nexport interface TopReferencedResponse {\n items: Turn[];\n}\n\nexport interface ScopesResponse {\n project: boolean;\n global: boolean;\n project_dir: string | null;\n global_dir: string;\n cwd: string;\n /** SQLite row counts only; used to pick default scope without opening Chroma. */\n global_turn_count: number;\n project_turn_count: number;\n}\n\nexport interface TagInfo {\n name: string;\n kind: string;\n count: number;\n created_at?: number;\n}\n"}, "10242342a3674a9606764cf4416f443dc116042c": {"t": 1785754247.3940408, "n": 1658, "h": "47736c4023b6c98f", "c": "export type Scope = \"project\" | \"global\";\nexport type SearchMode = \"keyword\" | \"semantic\";\n\nexport interface TagAttachment {\n name: string;\n kind: \"user\" | \"project\" | \"module\" | \"custom\" | string;\n source: \"auto\" | \"manual\" | string;\n confidence?: number | null;\n}\n\nexport interface Turn {\n id: string;\n session_id: string;\n ts: number;\n cwd?: string | null;\n user_msg: string;\n assistant_msg: string;\n tags: TagAttachment[];\n score?: number | null;\n retrieval_count?: number;\n summary?: string | null;\n summary_source?: string | null;\n summary_model?: string | null;\n summary_ts?: number | null;\n}\n\nexport interface RetrievalSummary {\n id: string;\n ts: number;\n session_id: string | null;\n cwd: string | null;\n prompt: string;\n scope_used: string | null;\n hit_count: number;\n}\n\nexport interface RetrievalHit {\n turn_id: string;\n scope: string | null;\n kind: string | null;\n score: number;\n rank: number;\n turn: Turn | null;\n}\n\nexport interface RetrievalDetail extends RetrievalSummary {\n hits: RetrievalHit[];\n}\n\nexport interface RetrievalsResponse {\n items: RetrievalSummary[];\n total: number;\n}\n\nexport interface TurnRetrievalsResponse {\n items: Array<RetrievalSummary & { score: number; rank: number }>;\n total: number;\n}\n\nexport interface TurnsResponse {\n items: Turn[];\n total: number;\n mode: SearchMode;\n}\n\nexport interface TopReferencedResponse {\n items: Turn[];\n}\n\nexport interface ScopesResponse {\n project: boolean;\n global: boolean;\n project_dir: string | null;\n global_dir: string;\n cwd: string;\n}\n\nexport interface TagInfo {\n name: string;\n kind: string;\n count: number;\n created_at?: number;\n}\n"}, "31eee14c7168a4fd4b45c4c2f5a705ce10e9d241": {"t": 1785754251.5712006, "n": 1422, "h": "0e48f04838271c5f", "c": "export type Scope = \"project\" | \"global\";\nexport type SearchMode = \"keyword\" | \"semantic\";\n\nexport interface Turn {\n id: string;\n session_id: string;\n ts: number;\n cwd?: string | null;\n user_msg: string;\n assistant_msg: string;\n tags: string[];\n score?: number | null;\n retrieval_count?: number;\n summary?: string | null;\n summary_model?: string | null;\n summary_ts?: number | null;\n}\n\nexport interface RetrievalSummary {\n id: string;\n ts: number;\n session_id: string | null;\n cwd: string | null;\n prompt: string;\n scope_used: string | null;\n hit_count: number;\n}\n\nexport interface RetrievalHit {\n turn_id: string;\n scope: string | null;\n kind: string | null;\n score: number;\n rank: number;\n turn: Turn | null;\n}\n\nexport interface RetrievalDetail extends RetrievalSummary {\n hits: RetrievalHit[];\n}\n\nexport interface RetrievalsResponse {\n items: RetrievalSummary[];\n total: number;\n}\n\nexport interface TurnRetrievalsResponse {\n items: Array<RetrievalSummary & { score: number; rank: number }>;\n total: number;\n}\n\nexport interface TurnsResponse {\n items: Turn[];\n total: number;\n mode: SearchMode;\n}\n\nexport interface TopReferencedResponse {\n items: Turn[];\n}\n\nexport interface ScopesResponse {\n project: boolean;\n global: boolean;\n project_dir: string | null;\n global_dir: string;\n cwd: string;\n}\n\nexport interface TagInfo {\n name: string;\n count: number;\n created_at?: number;\n}\n"}, "6f0e457f16b7d1a9b40af0683911791208aec481": {"t": 1785754252.7436204, "n": 1332, "h": "2f871280ee9b5e78", "c": "export type Scope = \"project\" | \"global\";\nexport type SearchMode = \"keyword\" | \"semantic\";\n\nexport interface Turn {\n id: string;\n session_id: string;\n ts: number;\n cwd?: string | null;\n user_msg: string;\n assistant_msg: string;\n tags: string[];\n score?: number | null;\n retrieval_count?: number;\n}\n\nexport interface RetrievalSummary {\n id: string;\n ts: number;\n session_id: string | null;\n cwd: string | null;\n prompt: string;\n scope_used: string | null;\n hit_count: number;\n}\n\nexport interface RetrievalHit {\n turn_id: string;\n scope: string | null;\n kind: string | null;\n score: number;\n rank: number;\n turn: Turn | null;\n}\n\nexport interface RetrievalDetail extends RetrievalSummary {\n hits: RetrievalHit[];\n}\n\nexport interface RetrievalsResponse {\n items: RetrievalSummary[];\n total: number;\n}\n\nexport interface TurnRetrievalsResponse {\n items: Array<RetrievalSummary & { score: number; rank: number }>;\n total: number;\n}\n\nexport interface TurnsResponse {\n items: Turn[];\n total: number;\n mode: SearchMode;\n}\n\nexport interface TopReferencedResponse {\n items: Turn[];\n}\n\nexport interface ScopesResponse {\n project: boolean;\n global: boolean;\n project_dir: string | null;\n global_dir: string;\n cwd: string;\n}\n\nexport interface TagInfo {\n name: string;\n count: number;\n created_at?: number;\n}\n"}, "3c8134855a95e51d90c840f4ec0701bafabb49ca": {"t": 1785754253.9327602, "n": 598, "h": "c0fab55dfa4849bd", "c": "export type Scope = \"project\" | \"global\";\nexport type SearchMode = \"keyword\" | \"semantic\";\n\nexport interface Turn {\n id: string;\n session_id: string;\n ts: number;\n cwd?: string | null;\n user_msg: string;\n assistant_msg: string;\n tags: string[];\n score?: number | null;\n}\n\nexport interface TurnsResponse {\n items: Turn[];\n total: number;\n mode: SearchMode;\n}\n\nexport interface ScopesResponse {\n project: boolean;\n global: boolean;\n project_dir: string | null;\n global_dir: string;\n cwd: string;\n}\n\nexport interface TagInfo {\n name: string;\n count: number;\n created_at?: number;\n}\n"}}}}