open-agents-ai 0.139.6 → 0.139.7

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 +13 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -52986,6 +52986,13 @@ var init_text_selection = __esm({
52986
52986
 
52987
52987
  // packages/cli/dist/tui/status-bar.js
52988
52988
  import { readFileSync as readFileSync31 } from "node:fs";
52989
+ function setTerminalTitle(task, version) {
52990
+ if (!process.stdout.isTTY)
52991
+ return;
52992
+ const ver = version ? `OA v${version}` : "OA";
52993
+ const title = task ? `${task.slice(0, 60)} \xB7 ${ver}` : ver;
52994
+ process.stdout.write(`\x1B]2;${title}\x07`);
52995
+ }
52989
52996
  var EXPERT_TOOL_BASELINES, CONTEXT_SWITCH_OVERHEAD, TURN_PLANNING_OVERHEAD, DEFAULT_TOOL_BASELINE, CODE_READ_CHARS_PER_SEC, PROSE_READ_CHARS_PER_SEC, MIN_CONTENT_FOR_READING, CODE_CONTENT_TOOLS, PROSE_CONTENT_TOOLS, HumanSpeedTracker, PANEL_BG, CONTENT_BG, TEXT_PRIMARY, PANEL_BG_SEQ, CONTENT_BG_SEQ, RESET, StatusBar;
52990
52997
  var init_status_bar = __esm({
52991
52998
  "packages/cli/dist/tui/status-bar.js"() {
@@ -56485,6 +56492,7 @@ async function startInteractive(config, repoPath) {
56485
56492
  if (process.stdout.isTTY) {
56486
56493
  const scrollTop = carouselLines > 0 ? carouselLines : 1;
56487
56494
  statusBar.activate(scrollTop);
56495
+ setTerminalTitle(void 0, version);
56488
56496
  banner.onAfterRender = () => statusBar.renderHeaderButtons();
56489
56497
  statusBar.setBannerRefresh(() => {
56490
56498
  banner.renderCurrentFrame();
@@ -58726,6 +58734,7 @@ Execute this skill now. Follow the behavioral guidance above.`;
58726
58734
  lastTaskMeta = meta ?? null;
58727
58735
  }, currentTaskType, resolvedContextWindowSize, resolvedCaps, currentStyle, deepContextEnabled, compactionSNRCallback(), emotionEngine, flowEnabled, buildSlashCommandHandler(), thinkingEnabled, handleAskUser);
58728
58736
  activeTask = task;
58737
+ setTerminalTitle(input.slice(0, 60), version);
58729
58738
  showPrompt();
58730
58739
  if (isNeovimActive() && !isNeovimFocused()) {
58731
58740
  refocusNeovim();
@@ -58737,6 +58746,7 @@ Execute this skill now. Follow the behavioral guidance above.`;
58737
58746
  }
58738
58747
  statusBar.setProcessing(false);
58739
58748
  activeTask = null;
58749
+ setTerminalTitle(void 0, version);
58740
58750
  showPrompt();
58741
58751
  return;
58742
58752
  }
@@ -58977,6 +58987,7 @@ NEW TASK: ${fullInput}`;
58977
58987
  lastTaskMeta = meta ?? null;
58978
58988
  }, currentTaskType, resolvedContextWindowSize, resolvedCaps, currentStyle, deepContextEnabled, compactionSNRCallback(), emotionEngine, flowEnabled, buildSlashCommandHandler(), thinkingEnabled, handleAskUser);
58979
58989
  activeTask = task;
58990
+ setTerminalTitle(input.slice(0, 60), version);
58980
58991
  showPrompt();
58981
58992
  if (isNeovimActive() && !isNeovimFocused()) {
58982
58993
  refocusNeovim();
@@ -59023,6 +59034,7 @@ NEW TASK: ${fullInput}`;
59023
59034
  sessionToolCallCount = activeTask.toolCallCount;
59024
59035
  }
59025
59036
  activeTask = null;
59037
+ setTerminalTitle(void 0, version);
59026
59038
  }
59027
59039
  const updateMode = savedSettings.updateMode ?? "auto";
59028
59040
  if (updateMode !== "manual") {
@@ -59242,6 +59254,7 @@ async function runWithTUI(task, config, repoPath) {
59242
59254
  }
59243
59255
  renderCompactHeader(config.model);
59244
59256
  renderUserMessage(task);
59257
+ setTerminalTitle(task.slice(0, 60), getVersion3());
59245
59258
  try {
59246
59259
  const handle = startTask(task, config, repoRoot);
59247
59260
  await handle.promise;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.139.6",
3
+ "version": "0.139.7",
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",