fix(orchestrator): Harden Grok v2 runtime lifecycle
Settle root turns from provider signals and preserve post-settle continuations. Track asynchronous subagent and monitor work, allow image prompts, and keep steered messages visible. Separate soft steering from hard Stop while containing and reaping native process trees.
This commit is contained in:
1 parent
4a33b6715c
commit
aebfec6eb9
7 files changed
+5325
-96
No files matched your search
@@ -95,6 +95,11 @@ function logResidualCallbackResponse(kind: string): void {
|
||||
NodeFS.appendFileSync(residualCallbackResponseLogPath, `${kind}\n`, "utf8");
|
||||
}
|
||||
|
||||
function logResidualCallbackResponse(kind: string): void {
|
||||
if (!residualCallbackResponseLogPath) return;
|
||||
NodeFS.appendFileSync(residualCallbackResponseLogPath, `${kind}\n`, "utf8");
|
||||
}
|
||||
|
||||
process.once("SIGTERM", () => {
|
||||
logExit("SIGTERM");
|
||||
process.exit(0);
|
||||
|
||||
Reference in new issue
Block a user