teapot-coding-agent 0.29.22 → 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.
- package/dist/acp/adapter.js +1 -1
- package/dist/agent/agent.js +1 -1
- package/package.json +1 -1
- package/public/assets/{index-CL3kRpBr.js → index-BMKiASbk.js} +14 -14
- package/public/assets/index-BMKiASbk.js.map +1 -0
- package/public/assets/{shiki-3mrCnxsY.js → shiki-Cr7dhA-3.js} +2 -2
- package/public/assets/{shiki-3mrCnxsY.js.map → shiki-Cr7dhA-3.js.map} +1 -1
- package/public/index.html +1 -1
- package/public/assets/index-CL3kRpBr.js.map +0 -1
package/dist/acp/adapter.js
CHANGED
|
@@ -110,7 +110,7 @@ export function updateForEvent(e, opts) {
|
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
112
|
case "tool_result": {
|
|
113
|
-
const
|
|
113
|
+
const _name = String(d.name ?? "tool");
|
|
114
114
|
return {
|
|
115
115
|
sessionUpdate: "tool_call_update",
|
|
116
116
|
toolCallId: String(d.callId ?? e.type),
|
package/dist/agent/agent.js
CHANGED
|
@@ -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" });
|