Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(mobile): subagent visibility with agents sheet and liveness #6616

Closedamanthanvi(GitHub profile, opens in a new tab)wants to merge 23 commits intomain fromrefs/pull/6616/headopened View on GitHub

Showing 72 changed files with 63 additions and 2 deletions (loading 69).

x
0 of 72 viewed, 72 left
52 additions and 1 deletionapps/mobile/src/connection/environment-cache-store.test.tsModified
View file
@@ -1,4 +1,11 @@
-import { EnvironmentId, type VcsListRefsResult } from "@t3tools/contracts";
+import {
+ EnvironmentId,
+ type OrchestrationShellSnapshot,
+ ProjectId,
+ ProviderInstanceId,
+ ThreadId,
+ type VcsListRefsResult,
+} from "@t3tools/contracts";
import { describe, expect, it } from "@effect/vitest";
import * as Effect from "effect/Effect";
import * as Option from "effect/Option";
@@ -63,6 +70,50 @@
​
describe("mobile SQLite environment cache store", () => {
+ it.effect("clears background liveness when loading a cached shell snapshot", () =>
+ Effect.gen(function* () {
+ const memory = makeDatabase();
+ const store = yield* make().pipe(Effect.provideService(MobileDatabase, memory.database));
+ const snapshot: OrchestrationShellSnapshot = {
+ snapshotSequence: 1,
+ projects: [],
+ threads: [
+ {
+ id: ThreadId.make("thread-1"),
+ projectId: ProjectId.make("project-1"),
+ title: "Thread",
+ modelSelection: {