open-agents-ai 0.185.55 → 0.185.57

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 +11 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -53269,7 +53269,7 @@ async function handleUpdate(subcommand, ctx) {
53269
53269
  }
53270
53270
  const { exec: exec4, execSync: es2 } = await import("node:child_process");
53271
53271
  const execA = (cmd, opts) => new Promise((res, rej) => exec4(cmd, { encoding: "utf8", timeout: opts?.timeout ?? 3e4, cwd: opts?.cwd }, (err, stdout) => err ? rej(err) : res((stdout || "").trim())));
53272
- const checkSpinner = startInlineSpinner("Loading update manager");
53272
+ renderInfo("Checking for updates...");
53273
53273
  const [info, sudoInfo] = await Promise.all([
53274
53274
  checkForUpdate(currentVersion, true),
53275
53275
  (async () => {
@@ -53288,7 +53288,7 @@ async function handleUpdate(subcommand, ctx) {
53288
53288
  })()
53289
53289
  ]);
53290
53290
  const needsSudo = sudoInfo;
53291
- checkSpinner.stop(`v${currentVersion} \u2014 ${info ? `update available \u2192 v${info.latestVersion}` : "up to date"}`);
53291
+ renderInfo(`v${currentVersion} \u2014 ${info ? `update available \u2192 v${info.latestVersion}` : "up to date"}`);
53292
53292
  const items = [];
53293
53293
  const skipKeys = [];
53294
53294
  items.push({ key: "hdr_status", label: selectColors.dim(`\u2500\u2500\u2500 v${currentVersion} \u2500\u2500\u2500`), kind: "header" });
@@ -66965,6 +66965,7 @@ function buildTools(repoRoot, config, contextWindowSize) {
66965
66965
  // Full OA sub-process — callbacks wired after runner + statusBar created
66966
66966
  (() => {
66967
66967
  _fullSubAgentToolRef = new FullSubAgentTool(repoRoot, config.model, config.backendUrl);
66968
+ _wireSubAgentCallbacks?.(_fullSubAgentToolRef);
66968
66969
  return _fullSubAgentToolRef;
66969
66970
  })(),
66970
66971
  // Nexus P2P networking + x402 micropayments
@@ -68334,8 +68335,8 @@ async function startInteractive(config, repoPath) {
68334
68335
  statusBar.activate(scrollTop);
68335
68336
  setTerminalTitle(void 0, version);
68336
68337
  banner.onAfterRender = () => statusBar.renderHeaderButtons();
68337
- if (_fullSubAgentToolRef) {
68338
- _fullSubAgentToolRef.setCallbacks({
68338
+ _wireSubAgentCallbacks = (tool) => {
68339
+ tool.setCallbacks({
68339
68340
  onViewRegister: (id, label, type) => {
68340
68341
  statusBar.registerAgentView(id, label, type);
68341
68342
  registry.registerAgent({
@@ -68346,6 +68347,7 @@ async function startInteractive(config, repoPath) {
68346
68347
  turns: 0,
68347
68348
  toolCalls: 0
68348
68349
  });
68350
+ statusBar.ensureMonitorTimer();
68349
68351
  },
68350
68352
  onViewWrite: (id, text) => statusBar.writeToAgentView(id, text),
68351
68353
  onViewStatus: (id, status) => {
@@ -68367,7 +68369,9 @@ ${summary}
68367
68369
  Review its full output in the [${id}] tab or via full_sub_agent(action='output', id='${id}')`);
68368
68370
  }
68369
68371
  });
68370
- }
68372
+ };
68373
+ if (_fullSubAgentToolRef)
68374
+ _wireSubAgentCallbacks(_fullSubAgentToolRef);
68371
68375
  statusBar.setBannerRefresh(() => {
68372
68376
  banner.renderCurrentFrame();
68373
68377
  });
@@ -71744,7 +71748,7 @@ Rules:
71744
71748
  process.exit(1);
71745
71749
  }
71746
71750
  }
71747
- var taskManager, _shellToolRef, _replToolRef, _fullSubAgentToolRef, _activeRunnerRef, _autoUpdatedThisSession, SELF_IMPROVE_INTERVAL, _tasksSinceImprove;
71751
+ var taskManager, _shellToolRef, _replToolRef, _fullSubAgentToolRef, _activeRunnerRef, _wireSubAgentCallbacks, _autoUpdatedThisSession, SELF_IMPROVE_INTERVAL, _tasksSinceImprove;
71748
71752
  var init_interactive = __esm({
71749
71753
  "packages/cli/dist/tui/interactive.js"() {
71750
71754
  "use strict";
@@ -71789,6 +71793,7 @@ var init_interactive = __esm({
71789
71793
  _replToolRef = null;
71790
71794
  _fullSubAgentToolRef = null;
71791
71795
  _activeRunnerRef = null;
71796
+ _wireSubAgentCallbacks = null;
71792
71797
  _autoUpdatedThisSession = false;
71793
71798
  SELF_IMPROVE_INTERVAL = 5;
71794
71799
  _tasksSinceImprove = 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.185.55",
3
+ "version": "0.185.57",
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",