Skip to content
Source
Sign inSign up
pingdotgg/t3code

perf(shell): cold connects skip idle nested subagent chains, a quarter of the shell rows #35184

Opent3dotgg(GitHub profile, opens in a new tab)wants to merge 30 commits intomain fromrefs/pull/35184/headopened View on GitHub

Showing 34 changed files with 103 additions and 20 deletions (loading 31).

x
0 of 34 viewed, 34 left
3 additions and 3 deletionsapps/mobile/src/connection/environment-cache-store.tsModified
View file
@@ -111,9 +111,9 @@
select: (stored) =>
stored.environmentId === environmentId
? Option.some(
- stored.origin === undefined
+ stored.originV2 === undefined
? stored.snapshot
- : { ...stored.snapshot, origin: stored.origin },
+ : { ...stored.snapshot, origin: stored.originV2 },
: Option.none(),
}).pipe(
@@ -130,7 +130,7 @@
schemaVersion: ORCHESTRATION_CACHE_SCHEMA_VERSION,
environmentId,
snapshot,
- ...(origin === undefined ? {} : { origin }),
+ ...(origin === undefined ? {} : { originV2: origin }),
}).pipe(Effect.mapError((cause) => persistenceError("save-shell", cause)));
yield* database
.saveCache(
61 additions and 17 deletionsapps/mobile/src/features/layout/workspace/workspace-selection-store.tsModified
View file
@@ -19,13 +19,12 @@
import type { WorkspaceSelections } from "../../../persistence/mobile-preferences";
import { appAtomRegistry } from "../../../state/atom-registry";
import { environmentPresentations } from "../../../state/presentation";