teapot-coding-agent 0.29.21 → 0.29.23

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.
@@ -110,7 +110,7 @@ export function updateForEvent(e, opts) {
110
110
  };
111
111
  }
112
112
  case "tool_result": {
113
- const name = String(d.name ?? "tool");
113
+ const _name = String(d.name ?? "tool");
114
114
  return {
115
115
  sessionUpdate: "tool_call_update",
116
116
  toolCallId: String(d.callId ?? e.type),
@@ -2014,7 +2014,7 @@ export class Agent {
2014
2014
  const maxAttempts = 4;
2015
2015
  // fail fast, escalate late: most provider hiccups recover in seconds;
2016
2016
  // only sustained failure earns a long cooldown (operator request)
2017
- const waits = [5_000, 5_000, 30_000];
2017
+ const waits = this.opts.llmRetryWaitsMs ?? [5_000, 5_000, 30_000];
2018
2018
  for (let attempt = 1;; attempt++) {
2019
2019
  if (this.stopRequested)
2020
2020
  throw Object.assign(new Error("stopped"), { name: "StopRequested" });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "teapot-coding-agent",
3
- "version": "0.29.21",
3
+ "version": "0.29.23",
4
4
  "description": "A lightweight, always-on multi-agent harness for AI coding agents",
5
5
  "type": "module",
6
6
  "license": "AGPL-3.0-or-later",