open-agents-ai 0.130.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.
Files changed (2) hide show
  1. package/dist/index.js +23 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -52968,6 +52968,26 @@ async function startInteractive(config, repoPath) {
52968
52968
  }
52969
52969
  initOaDirectory(repoRoot);
52970
52970
  const savedSettings = resolveSettings(repoRoot);
52971
+ if (process.stdout.isTTY && !isResumed) {
52972
+ process.stdout.write("\x1B[?1049h");
52973
+ process.stdout.write("\x1B[2J\x1B[H");
52974
+ process.stdout.write(`
52975
+ \x1B[2mStarting open-agents...\x1B[0m
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
+ });
52990
+ }
52971
52991
  let memoryDb = null;
52972
52992
  let taskMemoryStore = null;
52973
52993
  let failureStore = null;
@@ -53036,7 +53056,7 @@ async function startInteractive(config, repoPath) {
53036
53056
  `;
53037
53057
  renderInfo(resumeMsg);
53038
53058
  } else {
53039
- process.stdout.write("\x1B[2J\x1B[H");
53059
+ process.stdout.write("\x1B[H");
53040
53060
  banner.setDesign(createDefaultBanner(version));
53041
53061
  carouselLines = banner.start();
53042
53062
  renderRichHeader({
@@ -55495,8 +55515,8 @@ Rationale: ${proposal.rationale}${provenanceNote}`;
55495
55515
  inferenceRouter = null;
55496
55516
  }
55497
55517
  statusBar.deactivate();
55498
- const closeRows = process.stdout.rows ?? 24;
55499
- process.stdout.write(`\x1B[${closeRows - 4};1H\x1B[J
55518
+ process.stdout.write("\x1B[?1049l");
55519
+ process.stdout.write(`
55500
55520
  ${c2.dim("Goodbye!")}
55501
55521
  `);
55502
55522
  process.exit(0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.130.0",
3
+ "version": "0.132.0",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",