perf(app): reduce startup websocket work
Make provider catalogs compact and content-addressed so repeat launches can reuse the persisted snapshot instead of transferring it again. Remove eager global catalog loading and the stopped-agent defensive tail fetch, while keeping sequence-gap and reconnect recovery as the correctness paths. Add an opt-in production-ID Android profiling build for local startup traces.
This commit is contained in:
@@ -20,6 +20,10 @@ export const CLIENT_CAPS = {
|
||||
providerSubagents: "provider_subagents",
|
||||
// COMPAT(projectUpdates): added in v0.1.109, remove gate after 2027-01-15.
|
||||
projectUpdates: "project_updates",
|
||||
// COMPAT(compactProviderSnapshots): added in v0.2.X. Capable clients receive
|
||||
// provider catalogs with shared thinking sets and may revalidate by content hash.
|
||||
// Remove the legacy snapshot encoding after 2027-02-04.
|
||||
compactProviderSnapshots: "compact_provider_snapshots",
|
||||
browserHost: "browser_host",
|
||||
} as const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user