open-agents-ai 0.14.4 → 0.14.6

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 +9 -7
  2. package/package.json +2 -1
package/dist/index.js CHANGED
@@ -9212,8 +9212,14 @@ var init_listen = __esm({
9212
9212
  }
9213
9213
  return this.transcribeCliAvailable;
9214
9214
  }
9215
- /** Load transcribe-cli dynamically (it may not be installed). */
9215
+ /** Load transcribe-cli bundled as a dependency of open-agents-ai. */
9216
9216
  async loadTranscribeCli() {
9217
+ try {
9218
+ const { createRequire: createRequire4 } = await import("node:module");
9219
+ const req = createRequire4(import.meta.url);
9220
+ return req("transcribe-cli");
9221
+ } catch {
9222
+ }
9217
9223
  try {
9218
9224
  const globalRoot = execSync10("npm root -g", {
9219
9225
  encoding: "utf-8",
@@ -14811,8 +14817,6 @@ async function startInteractive(config, repoPath) {
14811
14817
  const carousel = new Carousel();
14812
14818
  let carouselLines = 0;
14813
14819
  const version = getVersion();
14814
- if (process.stdout.isTTY)
14815
- process.stdout.write("\x1B[?1049h");
14816
14820
  if (isResumed) {
14817
14821
  process.stdout.write("\x1B[2J\x1B[H");
14818
14822
  renderInfo(`Updated to v${version} \u2014 picking up where you left off.
@@ -15103,8 +15107,7 @@ async function startInteractive(config, repoPath) {
15103
15107
  activeTask.runner.abort();
15104
15108
  }
15105
15109
  statusBar.deactivate();
15106
- if (process.stdout.isTTY)
15107
- process.stdout.write("\x1B[?1049l");
15110
+ process.stdout.write("\x1B[2J\x1B[3J\x1B[H");
15108
15111
  process.stdout.write(`${c2.dim("Goodbye!")}
15109
15112
  `);
15110
15113
  rl.close();
@@ -15293,8 +15296,7 @@ Summarize or analyze this transcription as appropriate.`;
15293
15296
  });
15294
15297
  rl.on("close", () => {
15295
15298
  statusBar.deactivate();
15296
- if (process.stdout.isTTY)
15297
- process.stdout.write("\x1B[?1049l");
15299
+ process.stdout.write("\x1B[2J\x1B[3J\x1B[H");
15298
15300
  process.stdout.write(`${c2.dim("Goodbye!")}
15299
15301
  `);
15300
15302
  process.exit(0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.14.4",
3
+ "version": "0.14.6",
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",
@@ -47,6 +47,7 @@
47
47
  "better-sqlite3": "^11.7.0",
48
48
  "glob": "^11.0.0",
49
49
  "ignore": "^6.0.2",
50
+ "transcribe-cli": "^2.0.0",
50
51
  "zod": "^3.24.1"
51
52
  }
52
53
  }