pi-subagents 0.88.1 → 0.89.0
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.
- package/CHANGELOG.md +36 -1
- package/bundle/agents.js +3 -3
- package/bundle/child-tool-plan.js +2 -2
- package/bundle/{chunk-VTUUOLM4.js → chunk-2I6YN6ET.js} +34 -5
- package/bundle/{chunk-7OX6O7DQ.js → chunk-443LPCRI.js} +5 -5
- package/bundle/{chunk-4QFZZV3O.js → chunk-4AL6LDBY.js} +3 -1
- package/bundle/{chunk-6CG2VAG4.js → chunk-4ALRHKGE.js} +1 -1
- package/bundle/{chunk-4ZQBZDF3.js → chunk-6JD4XCA4.js} +76 -18
- package/bundle/{chunk-LV3CPYXJ.js → chunk-7W2IQFP4.js} +4 -4
- package/bundle/{chunk-W6HIYD2Z.js → chunk-A3INCQ6Z.js} +1 -1
- package/bundle/{chunk-FLNDHNPE.js → chunk-AZW4HXNU.js} +21 -21
- package/bundle/{chunk-ZJ2BT5TI.js → chunk-CHEABMO2.js} +56 -34
- package/bundle/{chunk-CYKNHFXB.js → chunk-EPMRDKQT.js} +1 -1
- package/bundle/{chunk-RMZAAXIR.js → chunk-ETDE2VYK.js} +2 -2
- package/bundle/{chunk-4MVDMA5C.js → chunk-GHJ6BH5U.js} +13 -7
- package/bundle/{chunk-PYKBTBY6.js → chunk-HSHLPYCQ.js} +9 -9
- package/bundle/{chunk-D32H53HM.js → chunk-HZDLR73C.js} +1 -1
- package/bundle/{chunk-2DIEL4WG.js → chunk-JFACGAJT.js} +2 -2
- package/bundle/{chunk-L4YY2TOE.js → chunk-JRO2CU4D.js} +1 -1
- package/bundle/{chunk-KXW62VBU.js → chunk-KOLLMZ2X.js} +1 -1
- package/bundle/{chunk-47ZN7NKR.js → chunk-NONHDYXE.js} +1 -1
- package/bundle/{chunk-DSHQWGHO.js → chunk-NQ26PJSQ.js} +96 -96
- package/bundle/{chunk-6OWNDN7R.js → chunk-PPPAEFRA.js} +2 -2
- package/bundle/{chunk-YDZ7BZD5.js → chunk-S77ZKDLS.js} +1 -1
- package/bundle/{chunk-CPSUJHZE.js → chunk-SLLZJ5EC.js} +39 -10
- package/bundle/{chunk-N6TAAIB3.js → chunk-TGABNSG5.js} +5 -5
- package/bundle/{chunk-XIA5GSEU.js → chunk-UQT2EQ4U.js} +2 -2
- package/bundle/{chunk-5EMPFFO4.js → chunk-WW6GQBBS.js} +4 -4
- package/bundle/{chunk-PCZEQQAQ.js → chunk-X5ZOTDHO.js} +26 -15
- package/bundle/{chunk-YQSTGPEU.js → chunk-YX7R55CR.js} +74 -31
- package/bundle/{chunk-GDR2ILWY.js → chunk-ZSCIHMUI.js} +50 -22
- package/bundle/control-channel.js +2 -2
- package/bundle/index.js +2 -2
- package/bundle/intercom-bridge.js +2 -2
- package/bundle/preflight.js +8 -8
- package/bundle/project-panes.js +3 -3
- package/docs/agents.md +10 -4
- package/docs/configuration.md +2 -0
- package/docs/extension-api.md +1 -1
- package/docs/tool-reference.md +1 -1
- package/docs/workflows.md +5 -3
- package/package.json +1 -1
- package/src/extension/herdr-pi-bridge.js +78 -22
- package/src/extension/schemas.js +1 -1
- package/src/extension/subagent-options.js +5 -0
- package/src/intercom/result-intercom.js +3 -2
- package/src/runs/background/notify.d.ts +3 -0
- package/src/runs/background/notify.js +7 -2
- package/src/runs/background/run-status.js +3 -2
- package/src/runs/background/runner-child-launch.js +1 -0
- package/src/runs/background/subagent-runner.js +11 -8
- package/src/runs/foreground/execution.js +8 -7
- package/src/runs/foreground/subagent-executor.js +31 -5
- package/src/runs/shared/child-launch.d.ts +2 -0
- package/src/runs/shared/child-launch.js +1 -1
- package/src/runs/shared/child-session.d.ts +2 -1
- package/src/runs/shared/herdr-connection.d.ts +6 -0
- package/src/runs/shared/herdr-connection.js +11 -1
- package/src/runs/shared/herdr-machine.d.ts +2 -2
- package/src/runs/shared/herdr-machine.js +47 -22
- package/src/runs/shared/herdr-pane-host.d.ts +7 -19
- package/src/runs/shared/herdr-pane-host.js +48 -33
- package/src/runs/shared/herdr-pi-protocol.d.ts +1 -0
- package/src/runs/shared/herdr-pi-protocol.js +3 -2
- package/src/runs/shared/herdr-placed-run.d.ts +2 -12
- package/src/runs/shared/herdr-placed-run.js +10 -8
- package/src/runs/shared/kept-branch-text.d.ts +8 -0
- package/src/runs/shared/kept-branch-text.js +24 -0
- package/src/runs/shared/local-machine-access.d.ts +4 -1
- package/src/runs/shared/local-machine-access.js +6 -3
- package/src/runs/shared/mutation-evidence.d.ts +7 -1
- package/src/runs/shared/mutation-evidence.js +18 -2
- package/src/runs/shared/parallel-handoff.js +19 -7
- package/src/runs/shared/placed-run-owner.d.ts +4 -2
- package/src/runs/shared/placed-run-owner.js +15 -7
- package/src/runs/shared/rex-machine.d.ts +7 -3
- package/src/runs/shared/rex-machine.js +12 -9
- package/src/runs/shared/rex-pane-host.js +7 -27
- package/src/runs/shared/single-output.js +2 -2
- package/src/runs/shared/subagent-prompt-runtime.js +33 -0
- package/src/runs/shared/tool-availability.d.ts +4 -0
- package/src/runs/shared/tool-availability.js +7 -0
- package/src/runs/shared/worktree-cleanup-plan.js +2 -2
- package/src/runs/shared/worktree.d.ts +4 -14
- package/src/runs/shared/worktree.js +38 -8
- package/src/shared/types.d.ts +26 -2
- package/src/workflows/workflow-child-summary.d.ts +2 -1
- package/src/workflows/workflow-child-summary.js +14 -6
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
setInlineWorkflowCoverage,
|
|
11
11
|
setMainThinkingLevelSource,
|
|
12
12
|
widgetRenderKey
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WW6GQBBS.js";
|
|
14
14
|
import {
|
|
15
15
|
package_default
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4ALRHKGE.js";
|
|
17
17
|
import {
|
|
18
18
|
EXTERNAL_JOB_BRIDGE_REQUEST_DIR,
|
|
19
19
|
REVIVAL_ORIGIN_FILE,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
takeCompactionAbort,
|
|
67
67
|
workflowResumeClaimState,
|
|
68
68
|
workflowResumeRefusal
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-X5ZOTDHO.js";
|
|
70
70
|
import {
|
|
71
71
|
SUBAGENT_CHILD_ENV,
|
|
72
72
|
SUBAGENT_PARENT_SESSION_ENV,
|
|
@@ -86,14 +86,14 @@ import {
|
|
|
86
86
|
resolvePiSessionId,
|
|
87
87
|
resolveWaitToolConfig,
|
|
88
88
|
setDeclarationPinning
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-TGABNSG5.js";
|
|
90
90
|
import {
|
|
91
91
|
deliverAsyncRunStop,
|
|
92
92
|
ownerConfirmedDead,
|
|
93
93
|
readSessionMessagesTail,
|
|
94
94
|
resolveSubagentRunId,
|
|
95
95
|
restoreForegroundRunHistory
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-7W2IQFP4.js";
|
|
97
97
|
import {
|
|
98
98
|
ASYNC_STATUS_SNAPSHOT_KIND,
|
|
99
99
|
ASYNC_STATUS_SNAPSHOT_VERSION,
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
resolveAsyncStatusChild,
|
|
110
110
|
runLaunchDir,
|
|
111
111
|
stopStoppableAsyncStatusChildren
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-6JD4XCA4.js";
|
|
113
113
|
import {
|
|
114
114
|
CONTACT_SUPERVISOR_TOOL_NAME,
|
|
115
115
|
NATIVE_SUPERVISOR_TOOL_NAME,
|
|
@@ -119,7 +119,7 @@ import {
|
|
|
119
119
|
parseSupervisorReplyData,
|
|
120
120
|
parseSupervisorRequestDetails,
|
|
121
121
|
topLevelSupervisorTool
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-EPMRDKQT.js";
|
|
123
123
|
import {
|
|
124
124
|
MODEL_ONLY_TOOL,
|
|
125
125
|
canRenderComponents,
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
resolveDisabledFeatureSurface,
|
|
146
146
|
resolveMaxActiveAsyncRunsPerSession,
|
|
147
147
|
resolveScheduledStoreRoot
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-ETDE2VYK.js";
|
|
149
149
|
import {
|
|
150
150
|
ACTIVE_RUN_INDEX_DIR,
|
|
151
151
|
MissionNotFoundError,
|
|
@@ -196,28 +196,28 @@ import {
|
|
|
196
196
|
withWorkflowChildRunModel,
|
|
197
197
|
writeAsyncResultFile,
|
|
198
198
|
writeResultIndexForData
|
|
199
|
-
} from "./chunk-
|
|
200
|
-
import "./chunk-
|
|
199
|
+
} from "./chunk-SLLZJ5EC.js";
|
|
200
|
+
import "./chunk-A3INCQ6Z.js";
|
|
201
201
|
import {
|
|
202
202
|
shouldUseNativeFsWatch
|
|
203
203
|
} from "./chunk-NIXWDZZV.js";
|
|
204
204
|
import {
|
|
205
205
|
validateIntercomBridgeConfig
|
|
206
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-NONHDYXE.js";
|
|
207
207
|
import "./chunk-7F6RKT6W.js";
|
|
208
|
-
import "./chunk-
|
|
208
|
+
import "./chunk-HZDLR73C.js";
|
|
209
209
|
import "./chunk-YARY7JWU.js";
|
|
210
210
|
import {
|
|
211
211
|
listHerdrProjectPaneRoots,
|
|
212
212
|
restoreHerdrProjectPaneSnapshots
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-JFACGAJT.js";
|
|
214
214
|
import "./chunk-7J4ZXMY7.js";
|
|
215
215
|
import {
|
|
216
216
|
cleanupAllArtifactDirs,
|
|
217
217
|
cleanupOldArtifacts,
|
|
218
218
|
getArtifactPaths,
|
|
219
219
|
getArtifactsDir
|
|
220
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-S77ZKDLS.js";
|
|
221
221
|
import {
|
|
222
222
|
listBackgroundWorkProviders
|
|
223
223
|
} from "./chunk-XA3DY6UG.js";
|
|
@@ -225,12 +225,12 @@ import "./chunk-YYREO77V.js";
|
|
|
225
225
|
import "./chunk-UKG4V45O.js";
|
|
226
226
|
import {
|
|
227
227
|
registerRuntimeAgentEventListener
|
|
228
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-JRO2CU4D.js";
|
|
229
229
|
import {
|
|
230
230
|
clearRuntimeAgentsForPi,
|
|
231
231
|
listRuntimeAgentConfigs,
|
|
232
232
|
mergeRuntimeAgents
|
|
233
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-KOLLMZ2X.js";
|
|
234
234
|
import {
|
|
235
235
|
DEFAULT_FILE_SYSTEM_RETRY_DELAYS_MS,
|
|
236
236
|
DEFAULT_WAIT_TOOL_NAME,
|
|
@@ -273,7 +273,7 @@ import {
|
|
|
273
273
|
waitToolName,
|
|
274
274
|
withSettingsFileLease,
|
|
275
275
|
writeAtomicJson
|
|
276
|
-
} from "./chunk-
|
|
276
|
+
} from "./chunk-GHJ6BH5U.js";
|
|
277
277
|
import {
|
|
278
278
|
DEFAULT_ARTIFACT_CONFIG,
|
|
279
279
|
DIRS,
|
|
@@ -5370,7 +5370,7 @@ function registerSlashCommands(pi, state, options = {}) {
|
|
|
5370
5370
|
}
|
|
5371
5371
|
fleetOpen = true;
|
|
5372
5372
|
try {
|
|
5373
|
-
const { openSubagentFleet } = await import("./chunk-
|
|
5373
|
+
const { openSubagentFleet } = await import("./chunk-HSHLPYCQ.js");
|
|
5374
5374
|
await openSubagentFleet(ctx, state, { asyncDirRoot: DIRS.async, inspectorPlugins: () => getInspectorPlugins(pi), resultsDir: DIRS.results, fleetKeybindings: options.fleetKeybindings });
|
|
5375
5375
|
} finally {
|
|
5376
5376
|
fleetOpen = false;
|
|
@@ -8784,7 +8784,7 @@ function registerSubagentExtension(pi) {
|
|
|
8784
8784
|
const ctx = withLastUiContext((current) => current);
|
|
8785
8785
|
if (!ctx) return;
|
|
8786
8786
|
try {
|
|
8787
|
-
const { openSubagentFleet } = await import("./chunk-
|
|
8787
|
+
const { openSubagentFleet } = await import("./chunk-HSHLPYCQ.js");
|
|
8788
8788
|
await openSubagentFleet(ctx, state, { initialKey: itemKey, asyncDirRoot: DIRS.async, resultsDir: DIRS.results, fleetKeybindings: config.fleetKeybindings, inspectorPlugins: () => getInspectorPlugins(pi) });
|
|
8789
8789
|
} catch (error) {
|
|
8790
8790
|
if (isStaleExtensionContextError(error)) {
|
|
@@ -8993,7 +8993,7 @@ function registerSubagentExtension(pi) {
|
|
|
8993
8993
|
let executor;
|
|
8994
8994
|
let executorPromise;
|
|
8995
8995
|
let executorModulePromise;
|
|
8996
|
-
const loadExecutorModule = () => executorModulePromise ??= import("./chunk-
|
|
8996
|
+
const loadExecutorModule = () => executorModulePromise ??= import("./chunk-CHEABMO2.js");
|
|
8997
8997
|
const getExecutor = () => {
|
|
8998
8998
|
executorPromise ??= loadExecutorModule().then(({ createSubagentExecutor }) => {
|
|
8999
8999
|
executor = createSubagentExecutor(executorDeps);
|
|
@@ -9007,7 +9007,7 @@ function registerSubagentExtension(pi) {
|
|
|
9007
9007
|
modulePreloadTimer = setTimeout(() => {
|
|
9008
9008
|
loadExecutorModule().catch(() => {
|
|
9009
9009
|
});
|
|
9010
|
-
if (fleetViewEnabled) import("./chunk-
|
|
9010
|
+
if (fleetViewEnabled) import("./chunk-HSHLPYCQ.js").catch(() => {
|
|
9011
9011
|
});
|
|
9012
9012
|
}, MODULE_PRELOAD_DELAY_MS);
|
|
9013
9013
|
modulePreloadTimer.unref?.();
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
projectRuntimeAcknowledgedExtensions,
|
|
4
4
|
registerSubagentPromptBoundary,
|
|
5
5
|
registerSubagentPromptRuntime
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2I6YN6ET.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-
|
|
28
|
+
} from "./chunk-443LPCRI.js";
|
|
29
29
|
import {
|
|
30
30
|
PLACED_RESTORE_UNSUPPORTED,
|
|
31
31
|
formatHerdrMachineRunnerUnsupported,
|
|
32
32
|
resolveMachinePlacement
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ZSCIHMUI.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-
|
|
122
|
+
} from "./chunk-X5ZOTDHO.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-
|
|
135
|
+
} from "./chunk-TGABNSG5.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-
|
|
148
|
+
} from "./chunk-7W2IQFP4.js";
|
|
149
149
|
import {
|
|
150
150
|
RunFanoutLimitError,
|
|
151
151
|
annotateWorkflowPreflightTrace,
|
|
@@ -165,6 +165,7 @@ import {
|
|
|
165
165
|
formatAsyncRunProgressLabel,
|
|
166
166
|
formatNestedRunStatusLines,
|
|
167
167
|
formatParallelHandoffError,
|
|
168
|
+
formatParallelHandoffLines,
|
|
168
169
|
formatParallelHandoffReference,
|
|
169
170
|
formatRunFanoutBudget,
|
|
170
171
|
formatStoredParallelHandoffCleanup,
|
|
@@ -191,6 +192,8 @@ import {
|
|
|
191
192
|
recordParallelHandoffMerge,
|
|
192
193
|
recordParallelHandoffSupersession,
|
|
193
194
|
recoveryDescriptorPath,
|
|
195
|
+
remoteMutationEvidence,
|
|
196
|
+
remoteMutationSnapshot,
|
|
194
197
|
resolveAsyncResumeTarget,
|
|
195
198
|
resolveAsyncRunLocation,
|
|
196
199
|
resolveAsyncStatusChild,
|
|
@@ -206,12 +209,12 @@ import {
|
|
|
206
209
|
writeRunFanoutBudgetDescriptor,
|
|
207
210
|
writeWorkflowLaunchRecord,
|
|
208
211
|
writeWorktreeSetupHandoff
|
|
209
|
-
} from "./chunk-
|
|
212
|
+
} from "./chunk-6JD4XCA4.js";
|
|
210
213
|
import {
|
|
211
214
|
NATIVE_SUPERVISOR_TOOL_NAME,
|
|
212
215
|
createNativeSupervisorChannel,
|
|
213
216
|
resolveSupervisorChannelDir
|
|
214
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-EPMRDKQT.js";
|
|
215
218
|
import {
|
|
216
219
|
MODEL_ONLY_TOOL,
|
|
217
220
|
inheritedSessionIds,
|
|
@@ -234,10 +237,10 @@ import {
|
|
|
234
237
|
canPreferFork,
|
|
235
238
|
createForkContextResolver,
|
|
236
239
|
resolveSubagentLaunchContext
|
|
237
|
-
} from "./chunk-
|
|
240
|
+
} from "./chunk-PPPAEFRA.js";
|
|
238
241
|
import {
|
|
239
242
|
handleRefinementAction
|
|
240
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-UQT2EQ4U.js";
|
|
241
244
|
import {
|
|
242
245
|
ActiveAsyncCapacityError,
|
|
243
246
|
acquireActiveAsyncCapacity,
|
|
@@ -253,7 +256,7 @@ import {
|
|
|
253
256
|
resolveDisabledFeatureSurface,
|
|
254
257
|
resolveMaxActiveAsyncRunsPerSession,
|
|
255
258
|
transferActiveAsyncCapacity
|
|
256
|
-
} from "./chunk-
|
|
259
|
+
} from "./chunk-ETDE2VYK.js";
|
|
257
260
|
import {
|
|
258
261
|
DEFAULT_STALE_TERMINAL_ACTIVE_MARKER_MS,
|
|
259
262
|
MACHINE_DIFF_OPTIONS,
|
|
@@ -290,6 +293,7 @@ import {
|
|
|
290
293
|
inheritedNestedParentAddressOf,
|
|
291
294
|
inheritedNestedRouteOf,
|
|
292
295
|
initializeProcessTerminal,
|
|
296
|
+
isWorktreeCleanupTaskDone,
|
|
293
297
|
lookupRunnerLauncher,
|
|
294
298
|
missionAcceptanceStatus,
|
|
295
299
|
nestedResultsPath,
|
|
@@ -339,7 +343,7 @@ import {
|
|
|
339
343
|
writeNestedControlRequest,
|
|
340
344
|
writeNestedControlResult,
|
|
341
345
|
writeNestedEvent
|
|
342
|
-
} from "./chunk-
|
|
346
|
+
} from "./chunk-SLLZJ5EC.js";
|
|
343
347
|
import {
|
|
344
348
|
closeSteerInbox,
|
|
345
349
|
consumeSteerRequests,
|
|
@@ -347,7 +351,7 @@ import {
|
|
|
347
351
|
readRevivalBriefs,
|
|
348
352
|
requestAsyncSteer,
|
|
349
353
|
watchAsyncControlInbox
|
|
350
|
-
} from "./chunk-
|
|
354
|
+
} from "./chunk-A3INCQ6Z.js";
|
|
351
355
|
import "./chunk-NIXWDZZV.js";
|
|
352
356
|
import {
|
|
353
357
|
INTERCOM_BRIDGE_MARKER,
|
|
@@ -356,7 +360,7 @@ import {
|
|
|
356
360
|
resolveIntercomBridge,
|
|
357
361
|
resolveIntercomSessionTarget,
|
|
358
362
|
resolveSubagentIntercomTarget
|
|
359
|
-
} from "./chunk-
|
|
363
|
+
} from "./chunk-NONHDYXE.js";
|
|
360
364
|
import {
|
|
361
365
|
agentDefinitionDigest,
|
|
362
366
|
resolveLaunchBinding,
|
|
@@ -371,7 +375,7 @@ import {
|
|
|
371
375
|
resolvePiLaunchToolPlan,
|
|
372
376
|
resolveRuntimeModulePath,
|
|
373
377
|
supervisorChannelDir
|
|
374
|
-
} from "./chunk-
|
|
378
|
+
} from "./chunk-HZDLR73C.js";
|
|
375
379
|
import {
|
|
376
380
|
assertRequiredChildExtensionsAdmitted,
|
|
377
381
|
createRequiredChildExtensionIdentity,
|
|
@@ -383,7 +387,7 @@ import {
|
|
|
383
387
|
import {
|
|
384
388
|
HERDR_PROJECT_PANE_ACTIONS,
|
|
385
389
|
handleHerdrProjectPaneAction
|
|
386
|
-
} from "./chunk-
|
|
390
|
+
} from "./chunk-JFACGAJT.js";
|
|
387
391
|
import "./chunk-7J4ZXMY7.js";
|
|
388
392
|
import {
|
|
389
393
|
PROJECT_SUBAGENTS_RELATIVE_DIR,
|
|
@@ -397,12 +401,12 @@ import {
|
|
|
397
401
|
missingForkCopyNote,
|
|
398
402
|
writeArtifact,
|
|
399
403
|
writeMetadata
|
|
400
|
-
} from "./chunk-
|
|
404
|
+
} from "./chunk-S77ZKDLS.js";
|
|
401
405
|
import "./chunk-XA3DY6UG.js";
|
|
402
406
|
import {
|
|
403
407
|
getExternalJobProvider
|
|
404
408
|
} from "./chunk-YYREO77V.js";
|
|
405
|
-
import "./chunk-
|
|
409
|
+
import "./chunk-KOLLMZ2X.js";
|
|
406
410
|
import {
|
|
407
411
|
ChainOutputValidationError,
|
|
408
412
|
DEFAULT_WAIT_TOOL_NAME,
|
|
@@ -449,6 +453,7 @@ import {
|
|
|
449
453
|
discoverAgentsAll,
|
|
450
454
|
discoverAvailableSkills,
|
|
451
455
|
editDistance,
|
|
456
|
+
editsLocalDisk,
|
|
452
457
|
encodeExtensionBindings,
|
|
453
458
|
evaluateAcceptance,
|
|
454
459
|
externalCliReceiptMetadata,
|
|
@@ -486,7 +491,6 @@ import {
|
|
|
486
491
|
isDynamicRunnerGroup,
|
|
487
492
|
isParallelGroup,
|
|
488
493
|
isParallelStep,
|
|
489
|
-
isRexLocalMachine,
|
|
490
494
|
isSettlementFatalOutputError,
|
|
491
495
|
isStorageCapacityError,
|
|
492
496
|
isToolBudgetBlockedMessage,
|
|
@@ -556,7 +560,7 @@ import {
|
|
|
556
560
|
writeAtomicJson,
|
|
557
561
|
writeInitialProgressFile,
|
|
558
562
|
writePrivateAtomicJson
|
|
559
|
-
} from "./chunk-
|
|
563
|
+
} from "./chunk-GHJ6BH5U.js";
|
|
560
564
|
import {
|
|
561
565
|
CHAIN_RUNS_DIR,
|
|
562
566
|
DEFAULT_ARTIFACT_CONFIG,
|
|
@@ -1370,7 +1374,7 @@ ${input.systemPrompt}` : void 0;
|
|
|
1370
1374
|
cwd: input.cwd,
|
|
1371
1375
|
...input.machine ? { machine: input.machine } : {},
|
|
1372
1376
|
...input.projectTrusted !== void 0 ? { projectTrusted: input.projectTrusted } : {},
|
|
1373
|
-
...input.machine ? { remoteResources: { agent: input.childAgentName, ...input.remoteSkillNames ? { skills: input.remoteSkillNames } : {}, ...input.remoteReads !== void 0 ? { reads: input.remoteReads } : {}, ...toolPlan.explicitToolAllowlist ? { toolCeiling: [...toolPlan.effectiveToolAllowlist] } : toolPlan.capabilityCeiling?.allowedTools ? { toolCeiling: [...toolPlan.capabilityCeiling.allowedTools] } : {} } } : {},
|
|
1377
|
+
...input.machine ? { remoteResources: { agent: input.childAgentName, ...input.remoteSkillNames ? { skills: input.remoteSkillNames } : {}, ...input.remoteReads !== void 0 ? { reads: input.remoteReads } : {}, ...toolPlan.explicitToolAllowlist ? { toolCeiling: [...toolPlan.effectiveToolAllowlist] } : toolPlan.capabilityCeiling?.allowedTools ? { toolCeiling: [...toolPlan.capabilityCeiling.allowedTools] } : {}, ...input.acceptancePrompt ? { acceptancePrompt: input.acceptancePrompt } : {} } } : {},
|
|
1374
1378
|
storage: childStorage(input),
|
|
1375
1379
|
...input.parentSessionFile ? { parentSessionFile: input.parentSessionFile } : {},
|
|
1376
1380
|
...input.model ? { model: input.model } : {},
|
|
@@ -5393,6 +5397,7 @@ async function runSingleAttempt(runtimeCwd, agent, task, model, options, shared)
|
|
|
5393
5397
|
machine: options.machine,
|
|
5394
5398
|
remoteSkillNames: options.skills ?? agent.skills,
|
|
5395
5399
|
remoteReads: options.remoteReads,
|
|
5400
|
+
acceptancePrompt: shared.acceptancePrompt,
|
|
5396
5401
|
extensionBindings: options.extensionBindings,
|
|
5397
5402
|
requiredExtensions: options.requiredExtensions,
|
|
5398
5403
|
sessionEnabled: shared.sessionEnabled,
|
|
@@ -5511,6 +5516,7 @@ ${shared.acceptancePrompt}` : shared.systemPrompt,
|
|
|
5511
5516
|
index: options.index ?? 0,
|
|
5512
5517
|
agent: agent.name,
|
|
5513
5518
|
...childSessionName ? { sessionName: childSessionName } : {},
|
|
5519
|
+
...options.sessionFile ? { sessionFile: options.sessionFile } : {},
|
|
5514
5520
|
status: "running",
|
|
5515
5521
|
task,
|
|
5516
5522
|
skills: shared.resolvedSkillNames,
|
|
@@ -5550,8 +5556,8 @@ ${shared.acceptancePrompt}` : shared.systemPrompt,
|
|
|
5550
5556
|
};
|
|
5551
5557
|
return result2;
|
|
5552
5558
|
}
|
|
5553
|
-
const mutationCwd =
|
|
5554
|
-
const mutationSnapshot = options.machine && !
|
|
5559
|
+
const mutationCwd = editsLocalDisk(options.machine) ? options.machine.cwd : options.cwd ?? runtimeCwd;
|
|
5560
|
+
const mutationSnapshot = options.machine && !editsLocalDisk(options.machine) ? remoteMutationSnapshot(mutationCwd) : snapshotTrackedMutations(mutationCwd);
|
|
5555
5561
|
let structuredOutputToolInvoked = false;
|
|
5556
5562
|
let structuredOutputMessageStartIndex;
|
|
5557
5563
|
let toolAvailabilityError;
|
|
@@ -6499,8 +6505,7 @@ ${formatInheritedProviderDiagnostic({ agent: agent.name, model: launch.session.m
|
|
|
6499
6505
|
tokens: progress.tokens,
|
|
6500
6506
|
durationMs: progress.durationMs
|
|
6501
6507
|
};
|
|
6502
|
-
const
|
|
6503
|
-
const mutationEvidence = result2.nativeMachine && !isRexLocalMachine(options.machine) ? { source: "tracked-files", trackedOnly: true, changedFiles: [], attemptedMutation: remoteGitChanged === true, ...remoteGitChanged === void 0 ? { unavailable: "Remote Git before/after evidence was incomplete." } : {} } : await collectTrackedMutationEvidence(mutationSnapshot, mutationCwd);
|
|
6508
|
+
const mutationEvidence = result2.nativeMachine && !editsLocalDisk(options.machine) ? remoteMutationEvidence(result2.nativeMachine) : await collectTrackedMutationEvidence(mutationSnapshot, mutationCwd);
|
|
6504
6509
|
const acceptanceOutput = getFinalOutput(result2.messages ?? []);
|
|
6505
6510
|
const structuredText = result2.structuredOutput === void 0 ? void 0 : JSON.stringify(result2.structuredOutput, null, 2);
|
|
6506
6511
|
let fullOutput = stripAcceptanceReport(acceptanceOutput);
|
|
@@ -6592,7 +6597,7 @@ function writeStructuredOutputArtifacts(runtime, value, acceptanceReport) {
|
|
|
6592
6597
|
}
|
|
6593
6598
|
async function runSyncCompletionInner(runtimeCwd, agents, agentName, task, options) {
|
|
6594
6599
|
const effectiveCwd = options.cwd ?? runtimeCwd;
|
|
6595
|
-
const cwdError = options.machine && !
|
|
6600
|
+
const cwdError = options.machine && !editsLocalDisk(options.machine) ? void 0 : preflightLaunchCwd(options.requestedCwd ?? effectiveCwd, effectiveCwd);
|
|
6596
6601
|
if (cwdError) {
|
|
6597
6602
|
return redactResultPrompt(withRunContext({
|
|
6598
6603
|
index: options.index ?? 0,
|
|
@@ -8926,7 +8931,7 @@ Extensions denied: ${status.capabilityCeiling.denyExtensions ? "yes" : "no"} (so
|
|
|
8926
8931
|
status.turnBudget ? `Turn budget: ${status.turnBudget.turnCount}/${status.turnBudget.maxTurns}+${status.turnBudget.graceTurns} (${status.turnBudget.outcome})` : void 0,
|
|
8927
8932
|
`Dir: ${asyncDir}`,
|
|
8928
8933
|
outputPath ? `Output: ${outputPath}` : void 0,
|
|
8929
|
-
status.parallelHandoff ?
|
|
8934
|
+
...status.parallelHandoff ? formatParallelHandoffLines(status.parallelHandoff.path, status.parallelHandoff.keptBranches) : [],
|
|
8930
8935
|
reconciliation.message ? `Diagnosis: ${reconciliation.message}` : void 0,
|
|
8931
8936
|
reconciliation.resultPath && fs17.existsSync(reconciliation.resultPath) ? `Result: ${reconciliation.resultPath}` : void 0
|
|
8932
8937
|
].filter((line) => Boolean(line));
|
|
@@ -9062,7 +9067,7 @@ Extensions denied: ${status.capabilityCeiling.denyExtensions ? "yes" : "no"} (so
|
|
|
9062
9067
|
const status = data.state === "stopped" || data.stopped === true || childStatuses.includes("stopped") ? "stopped" : data.success ? "complete" : data.state === "paused" || data.exitCode === 0 ? "paused" : "failed";
|
|
9063
9068
|
const runId = data.runId ?? data.id ?? resolvedId;
|
|
9064
9069
|
const lines = [`Run: ${runId}`, data.toolCallId ? `Tool call: ${data.toolCallId}` : void 0, `State: ${status}`, `Result: ${resultPath}`].filter((line) => Boolean(line));
|
|
9065
|
-
if (data.parallelHandoff?.path) lines.push(
|
|
9070
|
+
if (data.parallelHandoff?.path) lines.push(...formatParallelHandoffLines(data.parallelHandoff.path, data.parallelHandoff.keptBranches));
|
|
9066
9071
|
const receipt = data.workflowReceipt;
|
|
9067
9072
|
const receiptPath = receipt && typeof receipt === "object" && !Array.isArray(receipt) ? receipt.path : void 0;
|
|
9068
9073
|
const workflowReceiptPath2 = typeof receiptPath === "string" && receiptPath ? receiptPath : void 0;
|
|
@@ -9650,7 +9655,7 @@ function buildUnknownGitEntry(input) {
|
|
|
9650
9655
|
return blockedEntry(entry, "unknown", "unknown", "no matching extension-owned handoff metadata was found");
|
|
9651
9656
|
}
|
|
9652
9657
|
function buildMissingMetadataEntry(input) {
|
|
9653
|
-
if (input.record.task
|
|
9658
|
+
if (isWorktreeCleanupTaskDone(input.record.task)) return void 0;
|
|
9654
9659
|
const pathValue = metadataRecordPath(input.record);
|
|
9655
9660
|
const entry = buildEntryBase({ path: pathValue, branch: input.record.task.branch, source: "metadata", metadata: input.record, targetHead: input.targetHead });
|
|
9656
9661
|
return blockedEntry(entry, "stale", "unknown", "handoff metadata records a worktree that is not present in Git worktree state");
|
|
@@ -12807,6 +12812,16 @@ function writeWorkflowAggregateOutput(outputPath, text, producedChildOutputPaths
|
|
|
12807
12812
|
${error instanceof Error ? error.message : String(error)}`;
|
|
12808
12813
|
}
|
|
12809
12814
|
}
|
|
12815
|
+
function removeEarlierWorkflowOutput(outputPath) {
|
|
12816
|
+
if (!outputPath) return void 0;
|
|
12817
|
+
try {
|
|
12818
|
+
fs20.rmSync(outputPath, { force: true });
|
|
12819
|
+
return void 0;
|
|
12820
|
+
} catch (error) {
|
|
12821
|
+
return `Output file error: ${outputPath}
|
|
12822
|
+
${error instanceof Error ? error.message : String(error)}`;
|
|
12823
|
+
}
|
|
12824
|
+
}
|
|
12810
12825
|
function appendWorkflowOutputWarning(text, warning) {
|
|
12811
12826
|
return warning ? `${text}
|
|
12812
12827
|
|
|
@@ -14908,6 +14923,7 @@ Parent action: ${STATUS_ACTION}`,
|
|
|
14908
14923
|
step.async = runId2 !== void 0 && path18.basename(runId2) === runId2 && fs20.existsSync(path18.join(path18.dirname(asyncDir), runId2));
|
|
14909
14924
|
persist({ tolerateStatusWriteFailure: true });
|
|
14910
14925
|
};
|
|
14926
|
+
const earlierOutputWarning2 = workflowReuseSource ? void 0 : removeEarlierWorkflowOutput(workflowAggregateOutputPath2);
|
|
14911
14927
|
try {
|
|
14912
14928
|
const workflow = await runWorkflowScript({
|
|
14913
14929
|
script: workflowScript,
|
|
@@ -15216,7 +15232,7 @@ Parent action: ${COMPLETION_ACTION}` : content,
|
|
|
15216
15232
|
}
|
|
15217
15233
|
const errorPreview = status.error && status.error.length > 1e3 ? `${status.error.slice(0, 1e3)}\u2026 (truncated; full error: ${statusPath} (error))` : status.error;
|
|
15218
15234
|
const terminalSummary = `${status.state === "complete" ? "Workflow completed after detached child finished." : errorPreview ?? (pauseForDetached ? "Workflow paused." : "Workflow failed.")}${stopCause ? ` ${WORKFLOW_RUNTIME_REPLACED_STOP_NOTICE}` : ""}${workflowOutputPathMappingSummary2(partial.children)}${finalPreflightWarnings.length ? ` ${finalPreflightWarnings.join(" ")}` : ""}`;
|
|
15219
|
-
const outputWarning = writeWorkflowAggregateOutput(workflowAggregateOutputPath2, terminalSummary, producedChildOutputPaths2);
|
|
15235
|
+
const outputWarning = status.state === "complete" ? writeWorkflowAggregateOutput(workflowAggregateOutputPath2, terminalSummary, producedChildOutputPaths2) : earlierOutputWarning2;
|
|
15220
15236
|
const resultSummary = appendWorkflowOutputWarning(terminalSummary, outputWarning);
|
|
15221
15237
|
const receiptState = status.state === "complete" ? "complete" : status.state === "paused" ? "paused" : status.state === "stopped" ? "stopped" : "failed";
|
|
15222
15238
|
const terminalOutcome = workflowFailureTerminalOutcome(error, partial.children, usageBudgetState(workflowUsageBudget.budget, sumResultsCost(workflowResults2)));
|
|
@@ -15292,6 +15308,7 @@ Parent action: ${COMPLETION_ACTION}` : content,
|
|
|
15292
15308
|
const liveWorkflowChildren = workflowChildSummary({ parentToolCallId: _id, workflowRunId: foregroundWorkflowRunId, workflowState: "running", inventoryComplete: false, trace: liveWorkflow.trace, progress: childProgress, launches: childLaunches });
|
|
15293
15309
|
onUpdate?.(workflowProgressUpdate(foregroundWorkflowRunId, chatProgress, liveWorkflow, liveWorkflowChildren, workflowPreflight));
|
|
15294
15310
|
};
|
|
15311
|
+
const earlierOutputWarning = removeEarlierWorkflowOutput(workflowAggregateOutputPath);
|
|
15295
15312
|
try {
|
|
15296
15313
|
const workflow = await runWorkflowScript({
|
|
15297
15314
|
script: requestParams.workflowScript,
|
|
@@ -15373,7 +15390,11 @@ Parent action: ${COMPLETION_ACTION}` : content,
|
|
|
15373
15390
|
(deps2.state.blockingWorkflowChildren ??= /* @__PURE__ */ new Set()).add(launch.runId);
|
|
15374
15391
|
blockingWorkflowChildren.add(launch.runId);
|
|
15375
15392
|
}
|
|
15376
|
-
childLaunches.set(key, {
|
|
15393
|
+
childLaunches.set(key, {
|
|
15394
|
+
agent: launch.agent,
|
|
15395
|
+
...launch.runId ? { runId: launch.runId } : {},
|
|
15396
|
+
...launch.sessionFile ? { sessionFile: launch.sessionFile } : {}
|
|
15397
|
+
});
|
|
15377
15398
|
try {
|
|
15378
15399
|
sendWorkflowProgress();
|
|
15379
15400
|
} catch (error) {
|
|
@@ -15466,7 +15487,7 @@ ${workflow.console.map((entry) => `[${entry.level}] ${entry.text}`).join("\n")}`
|
|
|
15466
15487
|
const finalPreflightTrace = annotateWorkflowPreflightTrace(partial.trace, workflowPreflight);
|
|
15467
15488
|
const trace = finalPreflightTrace.map((entry) => ({ line: `- ${entry.operation} ${entry.key}: ${entry.state}${entry.runId ? ` (${entry.runId})` : ""}${entry.warning ? ` \u2014 ${entry.warning}` : ""}`, error: entry.error }));
|
|
15468
15489
|
const outputMappings = workflowOutputPathMappingSummary2(partial.children).trim();
|
|
15469
|
-
const displayText = formatWorkflowResultText({
|
|
15490
|
+
const displayText = appendWorkflowOutputWarning(formatWorkflowResultText({
|
|
15470
15491
|
head: workflowPreflight ? [formatWorkflowPreflight(workflowPreflight)] : [],
|
|
15471
15492
|
script: [
|
|
15472
15493
|
`Workflow failed: ${text}`,
|
|
@@ -15481,10 +15502,11 @@ ${partial.console.map((entry) => `[${entry.level}] ${entry.text}`).join("\n")}`]
|
|
|
15481
15502
|
...outputMappings ? [outputMappings] : []
|
|
15482
15503
|
],
|
|
15483
15504
|
maxOutput: requestParams.maxOutput,
|
|
15484
|
-
|
|
15505
|
+
// A failed workflow's text never goes to the declared output file; truncated text goes to the full-result file.
|
|
15506
|
+
aggregateOutputPath: void 0,
|
|
15485
15507
|
fullResultPath: workflowFullResultPath,
|
|
15486
15508
|
producedChildOutputPaths
|
|
15487
|
-
});
|
|
15509
|
+
}), earlierOutputWarning);
|
|
15488
15510
|
const workflowChildren = workflowChildSummary({ parentToolCallId: _id, workflowRunId: foregroundWorkflowRunId, workflowState: "failed", inventoryComplete: true, trace: partial.trace, children: partial.children });
|
|
15489
15511
|
const terminalOutcome = workflowFailureTerminalOutcome(error, partial.children, usageBudgetState(workflowUsageBudget.budget, sumResultsCost(workflowResults)));
|
|
15490
15512
|
const receipt = terminalWorkflowReceipt(foregroundWorkflowRunId, "failed", partial.children, workflowChildren, terminalOutcome, [...workflowHostSteps.values()], workflowResource?.provenance, workflowArgsDigest);
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
validateAuthorityPolicy,
|
|
12
12
|
validateMissionStoreConfig,
|
|
13
13
|
validateModelResponseAliases
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SLLZJ5EC.js";
|
|
15
15
|
import {
|
|
16
16
|
getAgentDir,
|
|
17
17
|
readStatus,
|
|
18
18
|
validatePermissionConfig,
|
|
19
19
|
writePrivateAtomicJson
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-GHJ6BH5U.js";
|
|
21
21
|
import {
|
|
22
22
|
FLEET_KEYBINDING_ACTIONS,
|
|
23
23
|
RUNNER_LAUNCHER_NAME_PATTERN,
|
|
@@ -6561,6 +6561,9 @@ var REX_EXIT_UNREACHABLE = 4;
|
|
|
6561
6561
|
function isRexLocalMachine(machine) {
|
|
6562
6562
|
return machine?.provider === "rex" && !("target" in machine);
|
|
6563
6563
|
}
|
|
6564
|
+
function editsLocalDisk(machine) {
|
|
6565
|
+
return machine !== void 0 && !("target" in machine);
|
|
6566
|
+
}
|
|
6564
6567
|
var REX_BUNDLE_BIN = "Library/Application Support/com.superlogical.rex/RexServer/Versions/Current/Rex Server.app/Contents/MacOS/rex";
|
|
6565
6568
|
var REX_CALL_TIMEOUT_MS = 15e3;
|
|
6566
6569
|
var REX_MAX_OUTPUT = 1024 * 1024;
|
|
@@ -6604,9 +6607,12 @@ function resolveRexLocalPlacement(input) {
|
|
|
6604
6607
|
if (result.status === REX_EXIT_UNREACHABLE) throw new Error("Machine 'local' needs the Rex server, but it is unreachable.");
|
|
6605
6608
|
if (result.status !== 0) throw new Error(`rex session inspect exited with code ${result.status}: ${(result.stderr || result.stdout).trim().slice(0, 512)}`);
|
|
6606
6609
|
if (!sessionConfirmed(result.stdout, session)) throw new Error(`The Rex server did not confirm session ${session}.`);
|
|
6607
|
-
|
|
6608
|
-
|
|
6609
|
-
|
|
6610
|
+
return { provider: "rex", id: REX_LOCAL_MACHINE, session, cwd: resolveLocalLaunchCwd(input.cwd, input.stepCwd), ...server ? { server } : {} };
|
|
6611
|
+
}
|
|
6612
|
+
function resolveLocalLaunchCwd(parentCwd, stepCwd) {
|
|
6613
|
+
const step = stepCwd?.trim();
|
|
6614
|
+
const home = step === "~" || step?.startsWith("~/") ? path12.join(os4.homedir(), step.slice(1)) : void 0;
|
|
6615
|
+
const requested = home ?? (step ? path12.resolve(parentCwd, step) : parentCwd);
|
|
6610
6616
|
let cwd;
|
|
6611
6617
|
try {
|
|
6612
6618
|
cwd = fs12.realpathSync(requested);
|
|
@@ -6614,9 +6620,7 @@ function resolveRexLocalPlacement(input) {
|
|
|
6614
6620
|
throw new Error(`Machine 'local' cwd does not exist: ${requested}.`, { cause: error });
|
|
6615
6621
|
}
|
|
6616
6622
|
if (!fs12.statSync(cwd).isDirectory()) throw new Error(`Machine 'local' cwd is not a directory: ${requested}.`);
|
|
6617
|
-
|
|
6618
|
-
if (server) machine.server = server;
|
|
6619
|
-
return machine;
|
|
6623
|
+
return cwd;
|
|
6620
6624
|
}
|
|
6621
6625
|
|
|
6622
6626
|
// src/runs/shared/single-output.ts
|
|
@@ -6701,7 +6705,7 @@ function outputPathMappingFromTask(task, savedPath) {
|
|
|
6701
6705
|
}
|
|
6702
6706
|
function injectSingleOutputInstruction(task, outputPath, capabilities, machine) {
|
|
6703
6707
|
if (!outputPath) return task;
|
|
6704
|
-
const remote = machine !== void 0 && !
|
|
6708
|
+
const remote = machine !== void 0 && !editsLocalDisk(machine);
|
|
6705
6709
|
const delivery = !remote && (!capabilities || hasOutputWriteCapability(capabilities.tools, capabilities.mcpDirectTools)) ? `Write your findings to exactly this path: ${outputPath}` : [
|
|
6706
6710
|
"Return the complete artifact in your final response.",
|
|
6707
6711
|
`The runtime will persist it to exactly this path: ${outputPath}`,
|
|
@@ -8629,6 +8633,7 @@ export {
|
|
|
8629
8633
|
REX_EXIT_GONE,
|
|
8630
8634
|
REX_EXIT_UNREACHABLE,
|
|
8631
8635
|
isRexLocalMachine,
|
|
8636
|
+
editsLocalDisk,
|
|
8632
8637
|
REX_BUNDLE_BIN,
|
|
8633
8638
|
REX_CALL_TIMEOUT_MS,
|
|
8634
8639
|
REX_MAX_OUTPUT,
|
|
@@ -8636,6 +8641,7 @@ export {
|
|
|
8636
8641
|
resolveRexBinary,
|
|
8637
8642
|
rexCommandEnv,
|
|
8638
8643
|
resolveRexLocalPlacement,
|
|
8644
|
+
resolveLocalLaunchCwd,
|
|
8639
8645
|
extractChildWrittenOutput,
|
|
8640
8646
|
normalizeSingleOutputOverride,
|
|
8641
8647
|
resolveSingleOutputPath,
|
|
@@ -7,37 +7,37 @@ import {
|
|
|
7
7
|
safeTranscriptEvent,
|
|
8
8
|
steerAsyncRun,
|
|
9
9
|
steerWorkflowForegroundTarget
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-443LPCRI.js";
|
|
11
11
|
import {
|
|
12
12
|
FLEET_STATUS_WIDGET_KEY,
|
|
13
13
|
runningTone,
|
|
14
14
|
stepTaskSummary
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WW6GQBBS.js";
|
|
16
16
|
import {
|
|
17
17
|
foregroundChildStateLabel,
|
|
18
18
|
formatAsyncRunTranscript,
|
|
19
19
|
stopAsyncRun
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-7W2IQFP4.js";
|
|
21
21
|
import {
|
|
22
22
|
contextModeBadge,
|
|
23
23
|
contextModeLabel,
|
|
24
24
|
decodeUtf8Tail,
|
|
25
25
|
listAsyncRuns
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6JD4XCA4.js";
|
|
27
27
|
import {
|
|
28
28
|
reportSessionWarning
|
|
29
29
|
} from "./chunk-HXRB42AF.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-SLLZJ5EC.js";
|
|
31
|
+
import "./chunk-A3INCQ6Z.js";
|
|
32
32
|
import "./chunk-NIXWDZZV.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-NONHDYXE.js";
|
|
34
34
|
import "./chunk-7F6RKT6W.js";
|
|
35
35
|
import "./chunk-YARY7JWU.js";
|
|
36
36
|
import "./chunk-7J4ZXMY7.js";
|
|
37
37
|
import {
|
|
38
38
|
getArtifactPaths,
|
|
39
39
|
getArtifactsDir
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-S77ZKDLS.js";
|
|
41
41
|
import {
|
|
42
42
|
snapshotExternalRuns
|
|
43
43
|
} from "./chunk-UKG4V45O.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
formatTokens,
|
|
50
50
|
readStatus,
|
|
51
51
|
shortenPath
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-GHJ6BH5U.js";
|
|
53
53
|
import {
|
|
54
54
|
DIRS
|
|
55
55
|
} from "./chunk-JEZOSEWG.js";
|