open-agents-ai 0.187.481 → 0.187.482

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.
package/dist/index.js CHANGED
@@ -518736,6 +518736,13 @@ var init_agenticRunner = __esm({
518736
518736
  _lastBuildSuccessCommand = "";
518737
518737
  // REG-31: prevent duplicate completion suggestion per turn
518738
518738
  _completionPromptInjectedThisTurn = false;
518739
+ // REG-32: one-shot per-stem nudge toward web_search on opaque errors.
518740
+ // Closes the gap where qwen3.6 pivots away from a single failure (different
518741
+ // stem on next turn) and never triggers REG-26/28's retry-based web_search
518742
+ // escalations. Fires on the FIRST failure of a stem when the local
518743
+ // diagnostic can't help (unknown category or long multi-line error with
518744
+ // no extractable subject).
518745
+ _opaqueErrorHintInjected = /* @__PURE__ */ new Set();
518739
518746
  // ── WO-AM-01/04/10: Associative memory stores ──
518740
518747
  // Episode store: every tool call → persistent episode with importance + decay
518741
518748
  // Temporal KG: entities + relations with temporal validity (valid_from/valid_until)
@@ -522317,6 +522324,22 @@ ${criticDecision.cachedResult.slice(0, 500)}` : `[BLOCKED — the observer confi
522317
522324
  if (oldestKey !== void 0)
522318
522325
  this._failureReflections.delete(oldestKey);
522319
522326
  }
522327
+ if (!_prior && !this._opaqueErrorHintInjected.has(_refStem) && _entry.subject == null && (categorizeError(_refErr) === "unknown" || _refErr.length > 100)) {
522328
+ this._opaqueErrorHintInjected.add(_refStem);
522329
+ const _searchQuery = _entry.wentWrong.replace(/"/g, '\\"').slice(0, 200);
522330
+ pushSoftInjection("system", [
522331
+ `[OPAQUE ERROR — local diagnostic patterns cannot pinpoint a specific target to verify. Error class is unrecognized or output is substantial enough that external context is likely needed.]`,
522332
+ ``,
522333
+ `Tool: ${tc.name}`,
522334
+ `Error: "${_entry.wentWrong}"`,
522335
+ ``,
522336
+ `Before attempting a fix or pivoting to a different command, run a web search of the exact error string:`,
522337
+ ``,
522338
+ ` web_search({"query": "${_searchQuery}"})`,
522339
+ ``,
522340
+ `A 30-second external lookup is more reliable than local guesses for framework/version-specific errors your training data may not cover.`
522341
+ ].join("\n"));
522342
+ }
522320
522343
  }
522321
522344
  if (!result.success && tc.name === "shell" && /\[PERMISSION_ERROR\]/.test(result.error ?? "")) {
522322
522345
  this.emit({
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.187.481",
3
+ "version": "0.187.482",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "open-agents-ai",
9
- "version": "0.187.481",
9
+ "version": "0.187.482",
10
10
  "hasInstallScript": true,
11
11
  "license": "CC-BY-NC-4.0",
12
12
  "dependencies": {
@@ -3229,9 +3229,9 @@
3229
3229
  }
3230
3230
  },
3231
3231
  "node_modules/caniuse-lite": {
3232
- "version": "1.0.30001790",
3233
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001790.tgz",
3234
- "integrity": "sha512-bOoxfJPyYo+ds6W0YfptaCWbFnJYjh2Y1Eow5lRv+vI2u8ganPZqNm1JwNh0t2ELQCqIWg4B3dWEusgAmsoyOw==",
3232
+ "version": "1.0.30001791",
3233
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001791.tgz",
3234
+ "integrity": "sha512-yk0l/YSrOnFZk3UROpDLQD9+kC1l4meK/wed583AXrzoarMGJcbRi2Q4RaUYbKxYAsZ8sWmaSa/DsLmdBeI1vQ==",
3235
3235
  "funding": [
3236
3236
  {
3237
3237
  "type": "opencollective",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.187.481",
3
+ "version": "0.187.482",
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",