open-agents-ai 0.187.295 → 0.187.297

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 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -286511,16 +286511,23 @@ var init_status_bar = __esm({
286511
286511
  }
286512
286512
  if (this.active) this.renderFooterAndPositionInput();
286513
286513
  }
286514
- /** Notify that input changed via history navigation (up/down arrow) */
286514
+ /** Notify that input changed via history navigation (up/down arrow)
286515
+ * Behavior:
286516
+ * - Immediately hide any visible suggestions so arrow keys keep cycling
286517
+ * - Arm a short delay; if the cursor rests on a /command for 1s,
286518
+ * re-enable suggestions
286519
+ */
286515
286520
  notifyHistoryNavigation() {
286516
286521
  this._suggestFromHistory = true;
286517
286522
  this._suggestDismissed = false;
286523
+ this._suggestions = [];
286524
+ this._suggestIndex = -1;
286518
286525
  if (this._suggestDelayTimer) clearTimeout(this._suggestDelayTimer);
286519
286526
  this._suggestDelayTimer = setTimeout(() => {
286520
286527
  this._suggestFromHistory = false;
286521
286528
  this._suggestDelayTimer = null;
286522
286529
  if (this.active) this.renderFooterAndPositionInput();
286523
- }, 2e3);
286530
+ }, 1e3);
286524
286531
  }
286525
286532
  /** Notify that input changed via direct typing (keyboard) */
286526
286533
  notifyDirectInput() {
@@ -330855,9 +330862,10 @@ ${entry.fullContent}`
330855
330862
  case "debug_littleman":
330856
330863
  if (event.littlemanAction) {
330857
330864
  const lm = event.littlemanAction;
330858
- const intervention = lm.intervention ? ` | INTERVENTION: ${lm.intervention}` : "";
330859
- const compact = `\x1B[38;5;178m[littleman] ${lm.recentSuccesses} ok, ${lm.recentFailures} err${intervention}\x1B[0m`;
330860
- contentWrite(() => renderInfo2(compact));
330865
+ if (lm.intervention) {
330866
+ const simple = `⚠ ${lm.intervention}`;
330867
+ contentWrite(() => renderInfo2(simple));
330868
+ }
330861
330869
  if (lm.details) {
330862
330870
  littlemanBuffer.push(lm.details);
330863
330871
  if (littlemanBuffer.length > 50) littlemanBuffer.splice(0, littlemanBuffer.length - 50);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.187.295",
3
+ "version": "0.187.297",
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",