Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(orchestration): import an existing Claude Code or Codex session by ID #4617

ClosedBil0000(GitHub profile, opens in a new tab)wants to merge 13 commits intomain fromrefs/pull/4617/headopened View on GitHub

Showing 37 changed files with 128 additions and 0 deletions (loading 34).

x
0 of 37 viewed, 37 left
1 addition and 0 deletionsapps/server/src/orchestration/Layers/CheckpointReactor.test.tsModified
View file
@@ -111,6 +111,7 @@
stopSession: () => unsupported(),
listSessions,
getCapabilities: () => Effect.succeed({ sessionModelSwitch: "in-session" }),
+ readThread: () => unsupported(),
getInstanceInfo: (instanceId) =>
Effect.succeed({
instanceId,
107 additions and 0 deletionsapps/server/src/orchestration/Layers/ProjectionPipeline.test.tsModified
View file
@@ -1432,6 +1432,113 @@
+ it.effect("projects an imported transcript into thread messages", () =>
+ Effect.gen(function* () {
+ const projectionPipeline = yield* OrchestrationProjectionPipeline;
+ const eventStore = yield* OrchestrationEventStore;
+ const sql = yield* SqlClient.SqlClient;
+ const now = "2026-01-01T00:00:00.000Z";
+ const threadId = ThreadId.make("thread-imported-transcript");
+​
+ yield* eventStore.append({
+ type: "thread.created",
+ eventId: EventId.make("evt-it1"),
+ aggregateKind: "thread",
+ aggregateId: threadId,
+ occurredAt: now,