agentxchain 2.155.61 → 2.155.62
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/package.json
CHANGED
|
@@ -2204,10 +2204,6 @@ export async function executeContinuousRun(context, contOpts, executeGovernedRun
|
|
|
2204
2204
|
while (!stopping) {
|
|
2205
2205
|
const step = await advanceContinuousRunOnce(context, session, contOpts, executeGovernedRun, log);
|
|
2206
2206
|
|
|
2207
|
-
if (recoverPausedActiveContinuousSession(context, session, log, `post_step_${step.action || step.status || 'unknown'}`)) {
|
|
2208
|
-
continue;
|
|
2209
|
-
}
|
|
2210
|
-
|
|
2211
2207
|
// Terminal states
|
|
2212
2208
|
if (step.status === 'completed' || step.status === 'idle_exit' || step.status === 'failed' || step.status === 'blocked' || step.status === 'stopped' || step.status === 'vision_exhausted' || step.status === 'vision_expansion_exhausted' || step.status === 'session_budget') {
|
|
2213
2209
|
const terminalMessage = describeContinuousTerminalStep(step, contOpts);
|
|
@@ -2217,6 +2213,10 @@ export async function executeContinuousRun(context, contOpts, executeGovernedRun
|
|
|
2217
2213
|
return { exitCode: step.ok ? 0 : 1, session };
|
|
2218
2214
|
}
|
|
2219
2215
|
|
|
2216
|
+
if (recoverPausedActiveContinuousSession(context, session, log, `post_step_${step.action || step.status || 'unknown'}`)) {
|
|
2217
|
+
continue;
|
|
2218
|
+
}
|
|
2219
|
+
|
|
2220
2220
|
// Non-terminal: sleep before next step
|
|
2221
2221
|
if (!stopping) {
|
|
2222
2222
|
const sleepMs = step.action === 'no_work_found' || step.action === 'waited_for_human'
|