open-agents-ai 0.131.0 → 0.132.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/dist/index.js +15 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -52969,11 +52969,24 @@ async function startInteractive(config, repoPath) {
|
|
|
52969
52969
|
initOaDirectory(repoRoot);
|
|
52970
52970
|
const savedSettings = resolveSettings(repoRoot);
|
|
52971
52971
|
if (process.stdout.isTTY && !isResumed) {
|
|
52972
|
+
process.stdout.write("\x1B[?1049h");
|
|
52972
52973
|
process.stdout.write("\x1B[2J\x1B[H");
|
|
52973
52974
|
process.stdout.write(`
|
|
52974
52975
|
\x1B[2mStarting open-agents...\x1B[0m
|
|
52975
52976
|
|
|
52976
52977
|
`);
|
|
52978
|
+
const restoreScreen = () => {
|
|
52979
|
+
process.stdout.write("\x1B[?25h\x1B[?1049l");
|
|
52980
|
+
};
|
|
52981
|
+
process.on("exit", restoreScreen);
|
|
52982
|
+
process.on("SIGINT", () => {
|
|
52983
|
+
restoreScreen();
|
|
52984
|
+
process.exit(130);
|
|
52985
|
+
});
|
|
52986
|
+
process.on("SIGTERM", () => {
|
|
52987
|
+
restoreScreen();
|
|
52988
|
+
process.exit(143);
|
|
52989
|
+
});
|
|
52977
52990
|
}
|
|
52978
52991
|
let memoryDb = null;
|
|
52979
52992
|
let taskMemoryStore = null;
|
|
@@ -55502,8 +55515,8 @@ Rationale: ${proposal.rationale}${provenanceNote}`;
|
|
|
55502
55515
|
inferenceRouter = null;
|
|
55503
55516
|
}
|
|
55504
55517
|
statusBar.deactivate();
|
|
55505
|
-
|
|
55506
|
-
process.stdout.write(
|
|
55518
|
+
process.stdout.write("\x1B[?1049l");
|
|
55519
|
+
process.stdout.write(`
|
|
55507
55520
|
${c2.dim("Goodbye!")}
|
|
55508
55521
|
`);
|
|
55509
55522
|
process.exit(0);
|
package/package.json
CHANGED