open-agents-ai 0.184.15 → 0.184.16
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/dist/index.js +16 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -64941,11 +64941,10 @@ ${result.content.slice(0, 2e3)}${result.content.length > 2e3 ? "\n[truncated]" :
|
|
|
64941
64941
|
return;
|
|
64942
64942
|
}
|
|
64943
64943
|
if (input.startsWith("/")) {
|
|
64944
|
-
const
|
|
64945
|
-
if (
|
|
64946
|
-
if (activeTask)
|
|
64944
|
+
const quitMatch = input.trim().replace(/^\//, "").toLowerCase();
|
|
64945
|
+
if (quitMatch === "quit" || quitMatch === "exit" || quitMatch === "q") {
|
|
64946
|
+
if (activeTask)
|
|
64947
64947
|
activeTask.runner.abort();
|
|
64948
|
-
}
|
|
64949
64948
|
taskManager.stopAll();
|
|
64950
64949
|
if (blessEngine?.isActive)
|
|
64951
64950
|
blessEngine.stop();
|
|
@@ -64954,10 +64953,20 @@ ${result.content.slice(0, 2e3)}${result.content.length > 2e3 ? "\n[truncated]" :
|
|
|
64954
64953
|
if (dmnRetriggerTimer)
|
|
64955
64954
|
clearTimeout(dmnRetriggerTimer);
|
|
64956
64955
|
dmnEngine = null;
|
|
64956
|
+
killAllFullSubAgents();
|
|
64957
64957
|
statusBar.deactivate();
|
|
64958
|
-
|
|
64959
|
-
|
|
64960
|
-
|
|
64958
|
+
process.stdout.write(`\x1B[?1002l\x1B[?1006l\x1B[r\x1B[?25h\x1B[2J\x1B[H${c2.dim("Goodbye!")}
|
|
64959
|
+
`);
|
|
64960
|
+
rl.close();
|
|
64961
|
+
process.exit(0);
|
|
64962
|
+
}
|
|
64963
|
+
const cmdResult = await writeContentAsync(() => handleSlashCommand(input, commandCtx));
|
|
64964
|
+
if (cmdResult === "exit") {
|
|
64965
|
+
if (activeTask)
|
|
64966
|
+
activeTask.runner.abort();
|
|
64967
|
+
taskManager.stopAll();
|
|
64968
|
+
statusBar.deactivate();
|
|
64969
|
+
process.stdout.write(`\x1B[?1002l\x1B[?1006l\x1B[r\x1B[?25h\x1B[2J\x1B[H${c2.dim("Goodbye!")}
|
|
64961
64970
|
`);
|
|
64962
64971
|
rl.close();
|
|
64963
64972
|
process.exit(0);
|
package/package.json
CHANGED