open-agents-ai 0.187.298 → 0.187.299

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 +8 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -271259,7 +271259,7 @@ ${memoryLines.join("\n")}`
271259
271259
  if (cohort && cohort.failure >= 3 && cohort.success === 0) {
271260
271260
  this.emit({ type: "observer_reaction", timestamp: (/* @__PURE__ */ new Date()).toISOString(), observer: { class: "arg_cohort_risk", shortText: `${tc.name} with similar args has failed ${cohort.failure}× recently`, confidence: 0.85 } });
271261
271261
  if (this._observerMode === "skillcoach" || this._observerMode === "both") {
271262
- this.pendingUserMessages.push(`[LITTLEMAN] ${tc.name} with similar arguments has failed ${cohort.failure}× recently. Try a different approach first: read relevant files, adjust arguments, or verify prerequisites.`);
271262
+ this.pendingUserMessages.push(`⚠ ${tc.name} with similar arguments has failed ${cohort.failure}× recently. Try a different approach first: read relevant files, adjust arguments, or verify prerequisites.`);
271263
271263
  }
271264
271264
  }
271265
271265
  if (this._errorPatterns.size > 0) {
@@ -273332,11 +273332,11 @@ ${trimmedNew}`;
273332
273332
  const successList = successes.map((o2) => `${o2.tool}: ${o2.preview.slice(0, 60)}`).join("; ");
273333
273333
  emitReaction("false_failure", `Claimed failure, but recent tools succeeded (${successes.length})`, 0.9, successList);
273334
273334
  if (this._observerMode === "skillcoach" || this._observerMode === "both") {
273335
- this.pendingUserMessages.push(`[LITTLEMAN] Correction: recent tools DID succeed. Do not retry them. Successful results: ${successList}. Use them to advance the task.`);
273335
+ this.pendingUserMessages.push(`⚠ Correction: recent tools DID succeed. Do not retry them. Successful results: ${successList}. Use them to advance the task.`);
273336
273336
  }
273337
273337
  this.emit({
273338
273338
  type: "status",
273339
- content: `Littleman: corrected false failure claim (${successes.length} tools succeeded)`,
273339
+ content: `\x1B[38;5;178m⚠ Corrected false failure claim (${successes.length} tools succeeded)\x1B[0m`,
273340
273340
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
273341
273341
  });
273342
273342
  }
@@ -273353,7 +273353,7 @@ ${trimmedNew}`;
273353
273353
  const failList = failures.map((o2) => `${o2.tool}: ${o2.preview.slice(0, 60)}`).join("; ");
273354
273354
  emitReaction("false_success", `Claimed success, but recent tools failed (${failures.length})`, 0.9, failList);
273355
273355
  if (this._observerMode === "skillcoach" || this._observerMode === "both") {
273356
- this.pendingUserMessages.push(`[LITTLEMAN] Your recent tools show errors (${failures.length}). Verify the last tool output and correct the issue before claiming success.`);
273356
+ this.pendingUserMessages.push(`⚠ Your recent tools show errors (${failures.length}). Verify the last tool output and correct the issue before claiming success.`);
273357
273357
  }
273358
273358
  }
273359
273359
  }
@@ -273371,11 +273371,11 @@ ${trimmedNew}`;
273371
273371
  if (prior) {
273372
273372
  emitReaction("redundant_action", `Already ran ${name11} successfully on turn ${prior.turn}`, 0.8, prior.preview);
273373
273373
  if (this._observerMode === "skillcoach" || this._observerMode === "both") {
273374
- this.pendingUserMessages.push(`[LITTLEMAN] You already ran ${name11} successfully on turn ${prior.turn} with similar arguments. Do NOT re-run it. Use the existing result and proceed.`);
273374
+ this.pendingUserMessages.push(`⚠ You already ran ${name11} successfully on turn ${prior.turn} with similar arguments. Do NOT re-run it. Use the existing result and proceed.`);
273375
273375
  }
273376
273376
  this.emit({
273377
273377
  type: "status",
273378
- content: `Littleman: prevented redundant ${name11} call (succeeded on turn ${prior.turn})`,
273378
+ content: `\x1B[38;5;178m⚠ Prevented redundant ${name11} call (succeeded on turn ${prior.turn})\x1B[0m`,
273379
273379
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
273380
273380
  });
273381
273381
  break;
@@ -273396,11 +273396,11 @@ ${trimmedNew}`;
273396
273396
  if (consecutiveShortResults >= 3) {
273397
273397
  emitReaction("idle_think", `Consecutive output without input: ${consecutiveShortResults}`, 0.7);
273398
273398
  if (this._observerMode === "skillcoach" || this._observerMode === "both") {
273399
- this.pendingUserMessages.push(`[LITTLEMAN] You have sent ${consecutiveShortResults} consecutive outputs without reading any input. Alternate: receive input, then respond. Call your input tool now.`);
273399
+ this.pendingUserMessages.push(`⚠ You have sent ${consecutiveShortResults} consecutive outputs without reading any input. Alternate: receive input, then respond. Call your input tool now.`);
273400
273400
  }
273401
273401
  this.emit({
273402
273402
  type: "status",
273403
- content: `Littleman: blocked runaway output (${consecutiveShortResults} consecutive sends without receive)`,
273403
+ content: `\x1B[38;5;178m⚠ Blocked runaway output (${consecutiveShortResults} consecutive sends without receive)\x1B[0m`,
273404
273404
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
273405
273405
  });
273406
273406
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.187.298",
3
+ "version": "0.187.299",
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",