Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): resumed Claude subagents are found on instances with their own home #17596

Closedcoderdevang(GitHub profile, opens in a new tab)wants to merge 5 commits intomain fromrefs/pull/17596/headopened View on GitHub

Showing 4 changed files with 145 additions and 11 deletions (loading 1).

x
0 of 4 viewed, 4 left
7 additions and 2 deletionsapps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.test.tsModified
View file
@@ -2560,7 +2560,12 @@
forkSession: () => Effect.die("unused forkSession"),
- subagentLaunchToolUseId: () => Effect.succeed(options?.subagentLaunchToolUseId ?? null),
+ subagentLaunchToolUseId: (input) =>
+ Effect.succeed(
+ input.environment?.CLAUDE_CONFIG_DIR === options?.environment?.CLAUDE_CONFIG_DIR
+ ? (options?.subagentLaunchToolUseId ?? null)
+ : null,
+ ),
assertComplete: Effect.void,
@@ -13039,7 +13044,7 @@
- it.effect("projects workflow member threads after resuming a restarted session", () =>
+ it.effect("recovers workflow member output from the instance home after restart", () =>
Effect.scoped(
Effect.gen(function* () {
const harness = yield* makeWorkflowHarnessWithOptions({
75 additions and 9 deletionsapps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.tsModified
View file
@@ -110,6 +110,8 @@
import * as Schema from "effect/Schema";