fix: warn when /sessions falls back to live-only list (v0.3.3)
Phone showed 2 sessions because apiProxy catalog failed (pre-0.3.2 inject bug) and live-agent fallback hid cold Web sessions. Surface that mode explicitly. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Vendored
+2
@@ -19,6 +19,8 @@ export interface CatalogSnapshot {
|
||||
workspaces: WorkspaceRow[];
|
||||
sessionsById: Map<string, SessionRow>;
|
||||
archivedIds: Set<string>;
|
||||
/** true when loaded from apiProxy (Web-aligned); false for live-agent fallback. */
|
||||
complete: boolean;
|
||||
}
|
||||
/** Load workspaces + sessions aligned with Web UI (via apiProxy when available). */
|
||||
export declare function loadCatalog(ctx: Context): Promise<CatalogSnapshot | undefined>;
|
||||
|
||||
Reference in New Issue
Block a user