open-agents-ai 0.48.0 → 0.49.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 +12 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -28838,6 +28838,14 @@ var init_status_bar = __esm({
28838
28838
  if (this.active)
28839
28839
  this.renderFooterPreserveCursor();
28840
28840
  }
28841
+ /** Active model name — shown to the left of capability emojis */
28842
+ _modelName = "";
28843
+ /** Update active model name shown in the status bar */
28844
+ setModelName(name) {
28845
+ this._modelName = name;
28846
+ if (this.active)
28847
+ this.renderFooterPreserveCursor();
28848
+ }
28841
28849
  /** Model capabilities — shown as emoji indicators on the status bar */
28842
28850
  _caps = {
28843
28851
  vision: false,
@@ -29071,6 +29079,7 @@ var init_status_bar = __esm({
29071
29079
  const countdown = this._countdown > 0 ? c2.dim(` ${this._countdown}s`) : "";
29072
29080
  recordingLabel = pipe + dot + pastel2(210, " REC") + countdown;
29073
29081
  }
29082
+ const modelLabel = this._modelName ? pipe + pastel2(146, this._modelName) : "";
29074
29083
  const capParts = [];
29075
29084
  if (this._caps.vision)
29076
29085
  capParts.push("\u{1F441}");
@@ -29079,7 +29088,7 @@ var init_status_bar = __esm({
29079
29088
  if (this._caps.thinking)
29080
29089
  capParts.push("\u{1F9E0}");
29081
29090
  const capsLabel = capParts.length > 0 ? pipe + pastel2(183, capParts.join(" ")) : "";
29082
- return ` ${tokInLabel}${pipe}${tokOutLabel}${pipe}${ctxLabel}${snrLabel}${emotionLabel}${speedLabel}${costLabel}${capsLabel}${recordingLabel}`;
29091
+ return ` ${tokInLabel}${pipe}${tokOutLabel}${pipe}${ctxLabel}${snrLabel}${emotionLabel}${speedLabel}${costLabel}${modelLabel}${capsLabel}${recordingLabel}`;
29083
29092
  }
29084
29093
  // -------------------------------------------------------------------------
29085
29094
  // Private
@@ -30134,6 +30143,7 @@ async function startInteractive(config, repoPath) {
30134
30143
  statusBar.setCapabilities(caps);
30135
30144
  }).catch(() => {
30136
30145
  });
30146
+ statusBar.setModelName(config.model);
30137
30147
  const provider = detectProvider(config.backendUrl);
30138
30148
  const costTracker = new CostTracker(provider.id);
30139
30149
  const sessionMetrics = new SessionMetrics();
@@ -30454,6 +30464,7 @@ Rationale: ${proposal.rationale}${provenanceNote}`;
30454
30464
  sessionMetrics,
30455
30465
  setModel(model) {
30456
30466
  currentConfig = { ...currentConfig, model };
30467
+ statusBar.setModelName(model);
30457
30468
  },
30458
30469
  setVerbose(verbose) {
30459
30470
  currentConfig = { ...currentConfig, verbose };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.48.0",
3
+ "version": "0.49.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",