@vicary/pi-subagents 0.89.0 → 0.89.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/bundle/agents.js +3 -3
  3. package/bundle/child-tool-plan.js +2 -2
  4. package/bundle/{chunk-WW6GQBBS.js → chunk-4FFKVLBG.js} +4 -4
  5. package/bundle/{chunk-JRO2CU4D.js → chunk-5TXWZB73.js} +1 -1
  6. package/bundle/{chunk-S77ZKDLS.js → chunk-77VQEATI.js} +1 -1
  7. package/bundle/{chunk-443LPCRI.js → chunk-BERAWSQQ.js} +5 -5
  8. package/bundle/{chunk-7W2IQFP4.js → chunk-C22YEYFZ.js} +4 -4
  9. package/bundle/{chunk-LEPIY76E.js → chunk-DVOXHOTY.js} +8 -8
  10. package/bundle/{chunk-OVBUEVOT.js → chunk-JLZFSOEL.js} +11 -11
  11. package/bundle/{chunk-SLLZJ5EC.js → chunk-KCDPTXHT.js} +2 -2
  12. package/bundle/{chunk-GHJ6BH5U.js → chunk-LWH7IGI3.js} +8 -0
  13. package/bundle/{chunk-NQ26PJSQ.js → chunk-MIX3MCIF.js} +4 -4
  14. package/bundle/{chunk-MJHQIUU7.js → chunk-NLDROUCR.js} +19 -19
  15. package/bundle/{chunk-JFACGAJT.js → chunk-OUM6SEVD.js} +2 -2
  16. package/bundle/{chunk-UQT2EQ4U.js → chunk-Q4VH72JI.js} +2 -2
  17. package/bundle/{chunk-HZDLR73C.js → chunk-R3NH5XAL.js} +1 -1
  18. package/bundle/{chunk-7JLNWAMO.js → chunk-R5XS4CVE.js} +98 -29
  19. package/bundle/{chunk-SWL2EITY.js → chunk-RHMU7SXN.js} +2 -2
  20. package/bundle/{chunk-6JD4XCA4.js → chunk-SG3NCWZW.js} +14 -6
  21. package/bundle/{chunk-KOLLMZ2X.js → chunk-SWGB2P5J.js} +1 -1
  22. package/bundle/{chunk-4ALRHKGE.js → chunk-TRN65L4F.js} +1 -1
  23. package/bundle/{chunk-ZSCIHMUI.js → chunk-TXC7WIPL.js} +3 -2
  24. package/bundle/{chunk-CFIYO2IV.js → chunk-UNLGCAC4.js} +4 -4
  25. package/bundle/{chunk-HSHLPYCQ.js → chunk-URKQZHVH.js} +9 -9
  26. package/bundle/{chunk-A3INCQ6Z.js → chunk-UUW7P6KJ.js} +1 -1
  27. package/bundle/{chunk-EPMRDKQT.js → chunk-VEEUXJDO.js} +1 -1
  28. package/bundle/{chunk-PFZZMVD5.js → chunk-WMGQNIP7.js} +12 -12
  29. package/bundle/{chunk-NONHDYXE.js → chunk-YJIU5WF4.js} +1 -1
  30. package/bundle/{chunk-ETDE2VYK.js → chunk-YLU5JFW2.js} +2 -2
  31. package/bundle/control-channel.js +2 -2
  32. package/bundle/index.js +1 -1
  33. package/bundle/intercom-bridge.js +2 -2
  34. package/bundle/preflight.js +8 -8
  35. package/bundle/project-panes.js +3 -3
  36. package/docs/agents.md +2 -2
  37. package/package.json +2 -2
  38. package/src/extension/herdr-pi-bridge.js +1 -1
  39. package/src/runs/background/async-job-tracker.js +85 -9
  40. package/src/runs/background/async-status.d.ts +2 -0
  41. package/src/runs/background/async-status.js +8 -3
  42. package/src/runs/shared/herdr-machine.js +3 -1
  43. package/src/runs/shared/subagent-prompt-runtime.js +6 -5
  44. package/src/shared/utils.d.ts +2 -0
  45. package/src/shared/utils.js +9 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,21 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.89.1] - 2026-11-18
6
+
7
+ ### Highlights
8
+
9
+ - Subagents limited to a list of `tools` work again alongside extensions that keep a tool switched off on purpose, such as pi-web-access.
10
+ - A background subagent keeps showing as running when its status file can't be read, instead of being marked failed and dropped.
11
+ - Stopping a subagent in a Herdr or Rex pane now actually stops it.
12
+
13
+ ### Fixed
14
+
15
+ - A subagent limited to a list of `tools` no longer stops before its first request when an extension keeps one of those tools inactive on purpose, as pi-web-access does with `web_enable`. 0.89.0 treated that tool as replaced by another extension and failed the child with a misleading error. The check now fails the child only when a tool it can call is missing from the request, so a child whose tools pi-fabric's code mode swapped out still stops early. Thanks to [@chpock](https://github.com/chpock) for the report (#3296).
16
+ - A background subagent whose status file can't be read, for example after its permissions changed, now still counts as running. Before, a session that reopened while the subagent was working showed no active subagents and told hosts such as pi-web it was idle, and a session already open marked the subagent failed and dropped it about 10 seconds later. The run is kept until its status can be read again, then tracked normally, or dropped if it belongs to another session. Thanks to [@jordan-quan](https://github.com/jordan-quan) for the report (#3295).
17
+ - Stopping a subagent that runs in a Herdr or Rex pane now stops its current turn. Before, the stop request failed in the subagent's Pi with `api.abort is not a function`. Thanks to [@guneriu](https://github.com/guneriu) for the report (#3300).
18
+ - `machine: "local"` from a Pi running in a Herdr Core terminal (`hc`, the Herdr app's terminal server) now fails with an error that says Herdr Core is not supported. Before, the error said Pi was not running in Herdr, which was confusing inside the Herdr app. Only the herdr terminal multiplexer and Rex are supported. Thanks to [@guneriu](https://github.com/guneriu) for the report (#3300).
19
+
5
20
  ## [0.89.0] - 2026-11-16
6
21
 
7
22
  ### Highlights
package/bundle/agents.js CHANGED
@@ -2,11 +2,11 @@ import {
2
2
  RUNTIME_AGENT_REGISTER_EVENT,
3
3
  RUNTIME_AGENT_REGISTER_VERSION,
4
4
  registerAgentViaEvents
5
- } from "./chunk-JRO2CU4D.js";
5
+ } from "./chunk-5TXWZB73.js";
6
6
  import {
7
7
  registerRuntimeAgent
8
- } from "./chunk-KOLLMZ2X.js";
9
- import "./chunk-GHJ6BH5U.js";
8
+ } from "./chunk-SWGB2P5J.js";
9
+ import "./chunk-LWH7IGI3.js";
10
10
  import "./chunk-JEZOSEWG.js";
11
11
  import "./chunk-YFCK7H2S.js";
12
12
  import "./chunk-QXASAHIA.js";
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  resolvePiLaunchToolPlan
3
- } from "./chunk-HZDLR73C.js";
3
+ } from "./chunk-R3NH5XAL.js";
4
4
  import "./chunk-YARY7JWU.js";
5
- import "./chunk-GHJ6BH5U.js";
5
+ import "./chunk-LWH7IGI3.js";
6
6
  import "./chunk-JEZOSEWG.js";
7
7
  import "./chunk-YFCK7H2S.js";
8
8
  import "./chunk-QXASAHIA.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  buildWorkflowChatProgressRows
3
- } from "./chunk-7W2IQFP4.js";
3
+ } from "./chunk-C22YEYFZ.js";
4
4
  import {
5
5
  aggregateStepStatus,
6
6
  contextModeBadge,
@@ -22,7 +22,7 @@ import {
22
22
  projectAsyncWorkflowRows,
23
23
  projectWorkflowChecklist,
24
24
  workflowGraphStageNodes
25
- } from "./chunk-6JD4XCA4.js";
25
+ } from "./chunk-SG3NCWZW.js";
26
26
  import {
27
27
  isStaleExtensionContextError,
28
28
  isUnboundExtensionRuntimeError,
@@ -34,7 +34,7 @@ import {
34
34
  formatWorkflowJsonPreview,
35
35
  hostStepReportName,
36
36
  hostStepVerdictLabel
37
- } from "./chunk-SLLZJ5EC.js";
37
+ } from "./chunk-KCDPTXHT.js";
38
38
  import {
39
39
  snapshotExternalRuns
40
40
  } from "./chunk-UKG4V45O.js";
@@ -52,7 +52,7 @@ import {
52
52
  getSingleResultOutput,
53
53
  shortenPath,
54
54
  unresolvedChildWatchdogBlockers
55
- } from "./chunk-GHJ6BH5U.js";
55
+ } from "./chunk-LWH7IGI3.js";
56
56
  import {
57
57
  MAX_WIDGET_JOBS,
58
58
  WIDGET_ANIMATION_INTERVAL_MS,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  registerRuntimeAgent
3
- } from "./chunk-KOLLMZ2X.js";
3
+ } from "./chunk-SWGB2P5J.js";
4
4
 
5
5
  // src/agents/runtime-agent-events.ts
6
6
  var RUNTIME_AGENT_REGISTER_EVENT = "pi-subagents:runtime-agent-register:v1";
@@ -2,7 +2,7 @@ import {
2
2
  createAtomicJsonWriter,
3
3
  getAgentDir,
4
4
  readStatus
5
- } from "./chunk-GHJ6BH5U.js";
5
+ } from "./chunk-LWH7IGI3.js";
6
6
  import {
7
7
  DIRS,
8
8
  TEMP_ARTIFACTS_DIR,
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  isTrustedRecordedSessionFile,
3
3
  resolveSubagentRunId
4
- } from "./chunk-7W2IQFP4.js";
4
+ } from "./chunk-C22YEYFZ.js";
5
5
  import {
6
6
  agentStreamOptions,
7
7
  opencodeSessionHeaders,
8
8
  resolveAsyncResumeTarget
9
- } from "./chunk-6JD4XCA4.js";
9
+ } from "./chunk-SG3NCWZW.js";
10
10
  import {
11
11
  ownsRun
12
12
  } from "./chunk-HXRB42AF.js";
@@ -18,12 +18,12 @@ import {
18
18
  reconcileAsyncRun,
19
19
  resolveAuthorityDecision,
20
20
  resolveMissionStoreLocation
21
- } from "./chunk-SLLZJ5EC.js";
21
+ } from "./chunk-KCDPTXHT.js";
22
22
  import {
23
23
  deliverInterruptRequest,
24
24
  queueRevivalBrief,
25
25
  requestAsyncSteer
26
- } from "./chunk-A3INCQ6Z.js";
26
+ } from "./chunk-UUW7P6KJ.js";
27
27
  import {
28
28
  formatShellCommand
29
29
  } from "./chunk-7J4ZXMY7.js";
@@ -34,7 +34,7 @@ import {
34
34
  tryLease,
35
35
  writeAtomicJson,
36
36
  writePrivateAtomicJson
37
- } from "./chunk-GHJ6BH5U.js";
37
+ } from "./chunk-LWH7IGI3.js";
38
38
  import {
39
39
  DIRS
40
40
  } from "./chunk-JEZOSEWG.js";
@@ -12,7 +12,7 @@ import {
12
12
  summarizeContextModes,
13
13
  utf8Tail,
14
14
  workflowPreflightLaneForRuntimeKey
15
- } from "./chunk-6JD4XCA4.js";
15
+ } from "./chunk-SG3NCWZW.js";
16
16
  import {
17
17
  ownsRun
18
18
  } from "./chunk-HXRB42AF.js";
@@ -34,11 +34,11 @@ import {
34
34
  updateActiveRunIndex,
35
35
  validateModelResponseAliases,
36
36
  writeAsyncResultFile
37
- } from "./chunk-SLLZJ5EC.js";
37
+ } from "./chunk-KCDPTXHT.js";
38
38
  import {
39
39
  deliverStopRequest,
40
40
  stopInboxClosedPath
41
- } from "./chunk-A3INCQ6Z.js";
41
+ } from "./chunk-UUW7P6KJ.js";
42
42
  import {
43
43
  SUBAGENT_STOPPED_MESSAGE,
44
44
  formatDuration,
@@ -50,7 +50,7 @@ import {
50
50
  waitToolName,
51
51
  writeAtomicJson,
52
52
  writePrivateAtomicJson
53
- } from "./chunk-GHJ6BH5U.js";
53
+ } from "./chunk-LWH7IGI3.js";
54
54
  import {
55
55
  DIRS
56
56
  } from "./chunk-JEZOSEWG.js";
@@ -14,20 +14,20 @@ import {
14
14
  resolveCurrentSessionId,
15
15
  resolveWatchdogReviewModel,
16
16
  startWatchdogDiffBaselineCapture
17
- } from "./chunk-CFIYO2IV.js";
17
+ } from "./chunk-UNLGCAC4.js";
18
18
  import {
19
19
  agentStreamOptions,
20
20
  opencodeSessionHeaders
21
- } from "./chunk-6JD4XCA4.js";
21
+ } from "./chunk-SG3NCWZW.js";
22
22
  import {
23
23
  registerNativeSupervisorClient
24
- } from "./chunk-EPMRDKQT.js";
24
+ } from "./chunk-VEEUXJDO.js";
25
25
  import {
26
26
  MODEL_ONLY_TOOL
27
27
  } from "./chunk-HXRB42AF.js";
28
28
  import {
29
29
  inheritedNestedRouteOf
30
- } from "./chunk-SLLZJ5EC.js";
30
+ } from "./chunk-KCDPTXHT.js";
31
31
  import {
32
32
  CHILD_WATCHDOG_STATUS_EVENT,
33
33
  DEFAULT_WAIT_TOOL_NAME,
@@ -46,7 +46,7 @@ import {
46
46
  toolBudgetSoftNudge,
47
47
  validateAcceptanceReport,
48
48
  validateStructuredOutputValue
49
- } from "./chunk-GHJ6BH5U.js";
49
+ } from "./chunk-LWH7IGI3.js";
50
50
  import {
51
51
  INTERCOM_SESSION_IDENTITY_EVENT
52
52
  } from "./chunk-JEZOSEWG.js";
@@ -544,10 +544,10 @@ function registerDeclaredToolCheck(pi, config, required) {
544
544
  pi.on("context_with_system", (event, ctx) => {
545
545
  const declared = new Set(getCurrentTools(event.messages).map((tool) => tool.name));
546
546
  if (required.every((name) => declared.has(name))) return void 0;
547
- const registered = new Set(pi.getAllTools().map((tool) => tool.name));
548
- const undeclared = required.filter((name) => registered.has(name) && !declared.has(name));
549
- if (undeclared.length === 0) return void 0;
550
547
  const active = new Set(pi.getActiveTools());
548
+ const undeclared = required.filter((name) => active.has(name) && !declared.has(name));
549
+ if (undeclared.length === 0) return void 0;
550
+ const registered = new Set(pi.getAllTools().map((tool) => tool.name));
551
551
  const uncallable = config.forkCacheKey ? [] : [...declared].filter((name) => !active.has(name));
552
552
  config.toolDiagnostic?.({
553
553
  ...config.agent ? { agent: config.agent } : {},
@@ -11,10 +11,10 @@ import {
11
11
  startWatchdogDiffBaselineCapture,
12
12
  writeUserWatchdogEnabled,
13
13
  writeWatchdogModelSettings
14
- } from "./chunk-CFIYO2IV.js";
14
+ } from "./chunk-UNLGCAC4.js";
15
15
  import {
16
16
  resolveGitRepositoryIdentity
17
- } from "./chunk-7W2IQFP4.js";
17
+ } from "./chunk-C22YEYFZ.js";
18
18
  import {
19
19
  formatParallelHandoffLines,
20
20
  listAsyncRuns,
@@ -25,7 +25,7 @@ import {
25
25
  readKeptBranches,
26
26
  readWorkflowLaunchRecord,
27
27
  resolveRetainedWorktreeCwd
28
- } from "./chunk-6JD4XCA4.js";
28
+ } from "./chunk-SG3NCWZW.js";
29
29
  import {
30
30
  ownsRun
31
31
  } from "./chunk-HXRB42AF.js";
@@ -57,24 +57,24 @@ import {
57
57
  resolveMissionStoreLocation,
58
58
  validateMissionId,
59
59
  workflowRunParamsFingerprint
60
- } from "./chunk-SLLZJ5EC.js";
60
+ } from "./chunk-KCDPTXHT.js";
61
61
  import {
62
62
  requestAsyncCommand,
63
63
  watchAsyncControlInbox
64
- } from "./chunk-A3INCQ6Z.js";
64
+ } from "./chunk-UUW7P6KJ.js";
65
65
  import {
66
66
  supervisorChannelDir
67
- } from "./chunk-HZDLR73C.js";
67
+ } from "./chunk-R3NH5XAL.js";
68
68
  import {
69
69
  createRequiredChildExtensionIdentity
70
70
  } from "./chunk-YARY7JWU.js";
71
71
  import {
72
72
  createHerdrClient,
73
73
  detectHerdr
74
- } from "./chunk-JFACGAJT.js";
74
+ } from "./chunk-OUM6SEVD.js";
75
75
  import {
76
76
  getProjectSubagentsDir
77
- } from "./chunk-S77ZKDLS.js";
77
+ } from "./chunk-77VQEATI.js";
78
78
  import {
79
79
  ExternalJobProviderError,
80
80
  getExternalJobProvider,
@@ -84,7 +84,7 @@ import {
84
84
  } from "./chunk-YYREO77V.js";
85
85
  import {
86
86
  mergeRuntimeAgents
87
- } from "./chunk-KOLLMZ2X.js";
87
+ } from "./chunk-SWGB2P5J.js";
88
88
  import {
89
89
  CODE_OWNED_EXTERNAL_CLI_ADAPTER_LABEL,
90
90
  EXTERNAL_CLI_ADAPTER_SAFETY,
@@ -145,7 +145,7 @@ import {
145
145
  withFileLease,
146
146
  writeAtomicJson,
147
147
  writePrivateAtomicJson
148
- } from "./chunk-GHJ6BH5U.js";
148
+ } from "./chunk-LWH7IGI3.js";
149
149
  import {
150
150
  DIRS,
151
151
  INTERCOM_DETACH_REQUEST_EVENT,
@@ -7888,7 +7888,7 @@ function childSessionFactory() {
7888
7888
  }
7889
7889
  function createLazyPlacementFactory(local) {
7890
7890
  let placed;
7891
- const factory = async () => placed ??= (await import("./chunk-NQ26PJSQ.js")).createPlacementAwareChildSessionFactory(local);
7891
+ const factory = async () => placed ??= (await import("./chunk-MIX3MCIF.js")).createPlacementAwareChildSessionFactory(local);
7892
7892
  return {
7893
7893
  async create(launch) {
7894
7894
  return launch.machine ? (await factory()).create(launch) : local.create(launch);
@@ -5,7 +5,7 @@ import {
5
5
  PROJECT_SUBAGENTS_RELATIVE_DIR,
6
6
  canonicalSessionId,
7
7
  inspectSessionLease
8
- } from "./chunk-S77ZKDLS.js";
8
+ } from "./chunk-77VQEATI.js";
9
9
  import {
10
10
  DEFAULT_FILE_SYSTEM_RETRY_DELAYS_MS,
11
11
  DEFAULT_GLOBAL_CONCURRENCY_LIMIT,
@@ -27,7 +27,7 @@ import {
27
27
  withFileLease,
28
28
  writeAtomicJson,
29
29
  writePrivateAtomicJson
30
- } from "./chunk-GHJ6BH5U.js";
30
+ } from "./chunk-LWH7IGI3.js";
31
31
  import {
32
32
  DIRS,
33
33
  SUBAGENT_LIFECYCLE_ARTIFACT_VERSION,
@@ -7664,6 +7664,13 @@ function resolveChildCwd(baseCwd, childCwd) {
7664
7664
  function isNotFoundError(error) {
7665
7665
  return typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT";
7666
7666
  }
7667
+ function isStatusAccessError(error, asyncDir) {
7668
+ const code = error?.cause?.code;
7669
+ if (code !== "EACCES" && code !== "EPERM") return false;
7670
+ const message = error instanceof Error ? error.message : "";
7671
+ const quotedPath = `'${path16.join(asyncDir, "status.json")}':`;
7672
+ return message.startsWith(`Failed to inspect async status file ${quotedPath}`) || message.startsWith(`Failed to read async status file ${quotedPath}`);
7673
+ }
7667
7674
  function readStatus(asyncDir) {
7668
7675
  if (Buffer.byteLength(path16.basename(asyncDir), "utf-8") > 255) {
7669
7676
  return null;
@@ -8720,6 +8727,7 @@ export {
8720
8727
  getProjectConfigDir,
8721
8728
  getAgentDir,
8722
8729
  resolveChildCwd,
8730
+ isStatusAccessError,
8723
8731
  readStatus,
8724
8732
  findLatestSessionFile,
8725
8733
  assistantMessageError,
@@ -7,13 +7,13 @@ import {
7
7
  runBoundedCommand,
8
8
  shellScriptCommand,
9
9
  sshMachineAccess
10
- } from "./chunk-ZSCIHMUI.js";
10
+ } from "./chunk-TXC7WIPL.js";
11
11
  import {
12
12
  package_default
13
- } from "./chunk-4ALRHKGE.js";
13
+ } from "./chunk-TRN65L4F.js";
14
14
  import {
15
15
  ensureSupervisorChannelDir
16
- } from "./chunk-EPMRDKQT.js";
16
+ } from "./chunk-VEEUXJDO.js";
17
17
  import "./chunk-HXRB42AF.js";
18
18
  import "./chunk-NIXWDZZV.js";
19
19
  import {
@@ -39,7 +39,7 @@ import {
39
39
  resolveRexBinary,
40
40
  rexCommandEnv,
41
41
  rexGlobalArgs
42
- } from "./chunk-GHJ6BH5U.js";
42
+ } from "./chunk-LWH7IGI3.js";
43
43
  import "./chunk-JEZOSEWG.js";
44
44
  import "./chunk-YFCK7H2S.js";
45
45
  import "./chunk-QXASAHIA.js";
@@ -3,7 +3,7 @@ import {
3
3
  projectRuntimeAcknowledgedExtensions,
4
4
  registerSubagentPromptBoundary,
5
5
  registerSubagentPromptRuntime
6
- } from "./chunk-LEPIY76E.js";
6
+ } from "./chunk-DVOXHOTY.js";
7
7
  import {
8
8
  INSPECTOR_ACTIONS,
9
9
  canQueueRetainedAsyncFollowUp,
@@ -25,12 +25,12 @@ import {
25
25
  updateSteeringTarget,
26
26
  waitForSteeringAction,
27
27
  workflowAsyncChildSteeringGuidance
28
- } from "./chunk-443LPCRI.js";
28
+ } from "./chunk-BERAWSQQ.js";
29
29
  import {
30
30
  PLACED_RESTORE_UNSUPPORTED,
31
31
  formatHerdrMachineRunnerUnsupported,
32
32
  resolveMachinePlacement
33
- } from "./chunk-ZSCIHMUI.js";
33
+ } from "./chunk-TXC7WIPL.js";
34
34
  import {
35
35
  COMPLETION_ACTION,
36
36
  DEFAULT_CONTROL_CONFIG,
@@ -119,7 +119,7 @@ import {
119
119
  workflowScriptDigest,
120
120
  workflowStopCause,
121
121
  writeWorkflowReceipt
122
- } from "./chunk-OVBUEVOT.js";
122
+ } from "./chunk-JLZFSOEL.js";
123
123
  import {
124
124
  SUBAGENT_PARENT_SESSION_ENV,
125
125
  applyWatchdogLaunchRules,
@@ -132,7 +132,7 @@ import {
132
132
  resolveWatchdogConfig,
133
133
  sendRuleViolationWarning,
134
134
  writeWatchdogModelSettings
135
- } from "./chunk-CFIYO2IV.js";
135
+ } from "./chunk-UNLGCAC4.js";
136
136
  import {
137
137
  MAX_REMEMBERED_FOREGROUND_RUNS,
138
138
  discardRunningForegroundRun,
@@ -145,7 +145,7 @@ import {
145
145
  resolveSubagentRunId,
146
146
  resolveWorkflowChatProgress,
147
147
  stopAsyncRun
148
- } from "./chunk-7W2IQFP4.js";
148
+ } from "./chunk-C22YEYFZ.js";
149
149
  import {
150
150
  RunFanoutLimitError,
151
151
  annotateWorkflowPreflightTrace,
@@ -209,12 +209,12 @@ import {
209
209
  writeRunFanoutBudgetDescriptor,
210
210
  writeWorkflowLaunchRecord,
211
211
  writeWorktreeSetupHandoff
212
- } from "./chunk-6JD4XCA4.js";
212
+ } from "./chunk-SG3NCWZW.js";
213
213
  import {
214
214
  NATIVE_SUPERVISOR_TOOL_NAME,
215
215
  createNativeSupervisorChannel,
216
216
  resolveSupervisorChannelDir
217
- } from "./chunk-EPMRDKQT.js";
217
+ } from "./chunk-VEEUXJDO.js";
218
218
  import {
219
219
  MODEL_ONLY_TOOL,
220
220
  inheritedSessionIds,
@@ -237,10 +237,10 @@ import {
237
237
  canPreferFork,
238
238
  createForkContextResolver,
239
239
  resolveSubagentLaunchContext
240
- } from "./chunk-SWL2EITY.js";
240
+ } from "./chunk-RHMU7SXN.js";
241
241
  import {
242
242
  handleRefinementAction
243
- } from "./chunk-UQT2EQ4U.js";
243
+ } from "./chunk-Q4VH72JI.js";
244
244
  import {
245
245
  ActiveAsyncCapacityError,
246
246
  acquireActiveAsyncCapacity,
@@ -256,7 +256,7 @@ import {
256
256
  resolveDisabledFeatureSurface,
257
257
  resolveMaxActiveAsyncRunsPerSession,
258
258
  transferActiveAsyncCapacity
259
- } from "./chunk-ETDE2VYK.js";
259
+ } from "./chunk-YLU5JFW2.js";
260
260
  import {
261
261
  DEFAULT_STALE_TERMINAL_ACTIVE_MARKER_MS,
262
262
  MACHINE_DIFF_OPTIONS,
@@ -343,7 +343,7 @@ import {
343
343
  writeNestedControlRequest,
344
344
  writeNestedControlResult,
345
345
  writeNestedEvent
346
- } from "./chunk-SLLZJ5EC.js";
346
+ } from "./chunk-KCDPTXHT.js";
347
347
  import {
348
348
  closeSteerInbox,
349
349
  consumeSteerRequests,
@@ -351,7 +351,7 @@ import {
351
351
  readRevivalBriefs,
352
352
  requestAsyncSteer,
353
353
  watchAsyncControlInbox
354
- } from "./chunk-A3INCQ6Z.js";
354
+ } from "./chunk-UUW7P6KJ.js";
355
355
  import "./chunk-NIXWDZZV.js";
356
356
  import {
357
357
  INTERCOM_BRIDGE_MARKER,
@@ -360,7 +360,7 @@ import {
360
360
  resolveIntercomBridge,
361
361
  resolveIntercomSessionTarget,
362
362
  resolveSubagentIntercomTarget
363
- } from "./chunk-NONHDYXE.js";
363
+ } from "./chunk-YJIU5WF4.js";
364
364
  import {
365
365
  agentDefinitionDigest,
366
366
  resolveLaunchBinding,
@@ -375,7 +375,7 @@ import {
375
375
  resolvePiLaunchToolPlan,
376
376
  resolveRuntimeModulePath,
377
377
  supervisorChannelDir
378
- } from "./chunk-HZDLR73C.js";
378
+ } from "./chunk-R3NH5XAL.js";
379
379
  import {
380
380
  assertRequiredChildExtensionsAdmitted,
381
381
  createRequiredChildExtensionIdentity,
@@ -387,7 +387,7 @@ import {
387
387
  import {
388
388
  HERDR_PROJECT_PANE_ACTIONS,
389
389
  handleHerdrProjectPaneAction
390
- } from "./chunk-JFACGAJT.js";
390
+ } from "./chunk-OUM6SEVD.js";
391
391
  import "./chunk-7J4ZXMY7.js";
392
392
  import {
393
393
  PROJECT_SUBAGENTS_RELATIVE_DIR,
@@ -401,12 +401,12 @@ import {
401
401
  missingForkCopyNote,
402
402
  writeArtifact,
403
403
  writeMetadata
404
- } from "./chunk-S77ZKDLS.js";
404
+ } from "./chunk-77VQEATI.js";
405
405
  import "./chunk-XA3DY6UG.js";
406
406
  import {
407
407
  getExternalJobProvider
408
408
  } from "./chunk-YYREO77V.js";
409
- import "./chunk-KOLLMZ2X.js";
409
+ import "./chunk-SWGB2P5J.js";
410
410
  import {
411
411
  ChainOutputValidationError,
412
412
  DEFAULT_WAIT_TOOL_NAME,
@@ -560,7 +560,7 @@ import {
560
560
  writeAtomicJson,
561
561
  writeInitialProgressFile,
562
562
  writePrivateAtomicJson
563
- } from "./chunk-GHJ6BH5U.js";
563
+ } from "./chunk-LWH7IGI3.js";
564
564
  import {
565
565
  CHAIN_RUNS_DIR,
566
566
  DEFAULT_ARTIFACT_CONFIG,
@@ -3,11 +3,11 @@ import {
3
3
  } from "./chunk-7J4ZXMY7.js";
4
4
  import {
5
5
  getProjectSubagentsDir
6
- } from "./chunk-S77ZKDLS.js";
6
+ } from "./chunk-77VQEATI.js";
7
7
  import {
8
8
  getPiSpawnCommand,
9
9
  writeAtomicJson
10
- } from "./chunk-GHJ6BH5U.js";
10
+ } from "./chunk-LWH7IGI3.js";
11
11
 
12
12
  // src/inspectors/herdr/project-panes.ts
13
13
  import * as fs from "node:fs";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  getProjectSubagentsDir
3
- } from "./chunk-S77ZKDLS.js";
3
+ } from "./chunk-77VQEATI.js";
4
4
  import {
5
5
  discoverAgents,
6
6
  formatUnknownAgentError,
7
7
  resolveAgentName,
8
8
  unknownAgentDiagnosticContext
9
- } from "./chunk-GHJ6BH5U.js";
9
+ } from "./chunk-LWH7IGI3.js";
10
10
 
11
11
  // src/agents/agent-refinements.ts
12
12
  import { createHash, randomUUID } from "node:crypto";
@@ -7,7 +7,7 @@ import {
7
7
  getAgentDir,
8
8
  getConfigDirName,
9
9
  getProjectConfigDir
10
- } from "./chunk-GHJ6BH5U.js";
10
+ } from "./chunk-LWH7IGI3.js";
11
11
  import {
12
12
  TEMP_ROOT_DIR
13
13
  } from "./chunk-JEZOSEWG.js";