open-agents-ai 0.138.13 → 0.138.14
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 +2 -19
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -53310,12 +53310,10 @@ async function startInteractive(config, repoPath) {
|
|
|
53310
53310
|
const resumeFlag = process.env.__OA_RESUMED ?? "";
|
|
53311
53311
|
const isResumed = resumeFlag !== "";
|
|
53312
53312
|
const hasTaskToResume = resumeFlag === "1";
|
|
53313
|
-
|
|
53314
|
-
delete process.env.__OA_RESUMED;
|
|
53315
|
-
}
|
|
53313
|
+
delete process.env.__OA_RESUMED;
|
|
53316
53314
|
initOaDirectory(repoRoot);
|
|
53317
53315
|
const savedSettings = resolveSettings(repoRoot);
|
|
53318
|
-
if (process.stdout.isTTY
|
|
53316
|
+
if (process.stdout.isTTY) {
|
|
53319
53317
|
process.stdout.write("\x1B[?1002l\x1B[?1003l\x1B[?1006l\x1B[?1015l\x1B[?1049h\x1B[2J\x1B[3J\x1B[H\x1B[?25l");
|
|
53320
53318
|
const restoreScreen = () => {
|
|
53321
53319
|
process.stdout.write("\x1B[?1002l\x1B[?1003l\x1B[?1006l\x1B[?1015l\x1B[?25h\x1B[?1049l");
|
|
@@ -53392,21 +53390,6 @@ async function startInteractive(config, repoPath) {
|
|
|
53392
53390
|
let carouselLines = 0;
|
|
53393
53391
|
const version = getVersion3();
|
|
53394
53392
|
if (isResumed) {
|
|
53395
|
-
if (process.stdout.isTTY) {
|
|
53396
|
-
process.stdout.write("\x1B[?1002l\x1B[?1003l\x1B[?1006l\x1B[?1015l\x1B[?1049h\x1B[2J\x1B[3J\x1B[H\x1B[?25l");
|
|
53397
|
-
const restoreScreen = () => {
|
|
53398
|
-
process.stdout.write("\x1B[?25h\x1B[?1049l");
|
|
53399
|
-
};
|
|
53400
|
-
process.on("exit", restoreScreen);
|
|
53401
|
-
process.on("SIGINT", () => {
|
|
53402
|
-
restoreScreen();
|
|
53403
|
-
process.exit(130);
|
|
53404
|
-
});
|
|
53405
|
-
process.on("SIGTERM", () => {
|
|
53406
|
-
restoreScreen();
|
|
53407
|
-
process.exit(143);
|
|
53408
|
-
});
|
|
53409
|
-
}
|
|
53410
53393
|
banner.setDesign(createDefaultBanner(version));
|
|
53411
53394
|
carouselLines = banner.start();
|
|
53412
53395
|
} else {
|
package/package.json
CHANGED