@enderfga/claw-orchestrator 7.17.0 → 7.17.2
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/README.md +1 -1
- package/dist/src/autoloop/dispatcher.js +4 -3
- package/dist/src/autoloop/dispatcher.js.map +1 -1
- package/dist/src/claude-goal-session.d.ts +7 -0
- package/dist/src/claude-goal-session.js +26 -0
- package/dist/src/claude-goal-session.js.map +1 -1
- package/dist/src/index.js +4 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/kernel/nodes/agent.d.ts +7 -8
- package/dist/src/kernel/nodes/agent.js +10 -12
- package/dist/src/kernel/nodes/agent.js.map +1 -1
- package/dist/src/kernel/nodes/goal.d.ts +10 -7
- package/dist/src/kernel/nodes/goal.js +26 -26
- package/dist/src/kernel/nodes/goal.js.map +1 -1
- package/dist/src/session-manager.js +10 -0
- package/dist/src/session-manager.js.map +1 -1
- package/package.json +1 -1
- package/skills/references/claude-cli-tracking.md +5 -4
- package/skills/references/multi-engine.md +1 -1
- package/skills/references/tools.md +4 -1
- package/skills/references/workflow.md +10 -7
|
@@ -1175,6 +1175,16 @@ export class SessionManager {
|
|
|
1175
1175
|
if (evt?.is_error) {
|
|
1176
1176
|
turnError = String(evt.result || result.text || 'turn failed');
|
|
1177
1177
|
}
|
|
1178
|
+
else if (evt?.stop_reason === 'process_exit') {
|
|
1179
|
+
// A long-running engine process that dies mid-turn resolves the send
|
|
1180
|
+
// with whatever it had streamed and no result event. That is an
|
|
1181
|
+
// unfinished turn, not a reply: the partial text stays in `output`,
|
|
1182
|
+
// and the exit code goes into the error the caller sees.
|
|
1183
|
+
const code = evt.exit_code;
|
|
1184
|
+
turnError =
|
|
1185
|
+
`the ${managed.config.engine || 'claude'} process exited` +
|
|
1186
|
+
`${typeof code === 'number' ? ` with code ${code}` : ''} before the turn finished`;
|
|
1187
|
+
}
|
|
1178
1188
|
// Surfaced here because this is the one place every caller funnels
|
|
1179
1189
|
// through. The result event was dropped at this line, and it is the
|
|
1180
1190
|
// only record of a blocked call: the turn itself still reports success.
|