open-agents-ai 0.187.50 → 0.187.51

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 +10 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -260817,7 +260817,8 @@ TASK: ${task}` : task;
260817
260817
  { role: "user", content: userContent }
260818
260818
  ];
260819
260819
  let toolDefs = await this.buildToolDefinitions();
260820
- this.checkPromptToolParity(systemPrompt, toolDefs);
260820
+ const baseInstructions = getSystemPromptForTier(this.options.modelTier);
260821
+ this.checkPromptToolParity(baseInstructions, toolDefs);
260821
260822
  if (this._loopBlockedTools?.size) {
260822
260823
  const blocked = this._loopBlockedTools;
260823
260824
  const before = toolDefs.length;
@@ -307782,6 +307783,7 @@ ${entry.fullContent}`
307782
307783
  streamTextBuffer = "";
307783
307784
  if (chatText.length > 10) {
307784
307785
  voice.speak(chatText);
307786
+ voice._spokenStreamText = true;
307785
307787
  }
307786
307788
  }
307787
307789
  break;
@@ -307962,9 +307964,13 @@ When done, either call task_complete with your answer, or use FINAL_VAR(variable
307962
307964
  }
307963
307965
  }
307964
307966
  if (voice?.enabled && result.summary) {
307965
- const emoFinal = emotionEngine?.getState();
307966
- const emoCtxFinal = emoFinal ? { valence: emoFinal.valence, arousal: emoFinal.arousal, label: emoFinal.label, emoji: emoFinal.emoji } : void 0;
307967
- voice.speak(describeTaskComplete(result.summary, true, vLevel), emoCtxFinal);
307967
+ const alreadySpoken = voice._spokenStreamText;
307968
+ voice._spokenStreamText = false;
307969
+ if (!alreadySpoken) {
307970
+ const emoFinal = emotionEngine?.getState();
307971
+ const emoCtxFinal = emoFinal ? { valence: emoFinal.valence, arousal: emoFinal.arousal, label: emoFinal.label, emoji: emoFinal.emoji } : void 0;
307972
+ voice.speak(describeTaskComplete(result.summary, true, vLevel), emoCtxFinal);
307973
+ }
307968
307974
  }
307969
307975
  } else {
307970
307976
  renderTaskIncomplete(result.turns, result.toolCalls, result.durationMs, tokens);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.187.50",
3
+ "version": "0.187.51",
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",