teapot-coding-agent 0.37.149 → 0.37.151
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/agent/agent.js +9 -0
- package/package.json +1 -1
- package/public/assets/{index-Cy7-gH_6.js → index--65pom3u.js} +6 -6
- package/public/assets/index--65pom3u.js.map +1 -0
- package/public/assets/index-CzIn8bld.css +1 -0
- package/public/index.html +2 -2
- package/public/assets/index-Cy7-gH_6.js.map +0 -1
- package/public/assets/index-HR1kDBa_.css +0 -1
package/dist/agent/agent.js
CHANGED
|
@@ -2119,6 +2119,15 @@ export class Agent {
|
|
|
2119
2119
|
* never fired (MEASURED: the #215 test failed with the per-turn reset).
|
|
2120
2120
|
*/
|
|
2121
2121
|
this.reportedThisRound = false;
|
|
2122
|
+
/**
|
|
2123
|
+
* …and the nudge BUDGET resets per round too.
|
|
2124
|
+
*
|
|
2125
|
+
* It used to be reset only by a round that called a work tool, so two report-only rounds in a row left it at 1 and
|
|
2126
|
+
* the second one was silently skipped — MEASURED on this operator's own session: `report_progress` → "reported." →
|
|
2127
|
+
* `round complete` with no `auto-continue-after-progress` note, because the previous report round had already spent
|
|
2128
|
+
* the budget and nothing had reset it since.
|
|
2129
|
+
*/
|
|
2130
|
+
this.reportedNudges = 0;
|
|
2122
2131
|
const cap = Math.max(0, this.opts.maxTurnsPerRound ?? 200);
|
|
2123
2132
|
for (let guard = 0; cap === 0 || guard < cap; guard++) {
|
|
2124
2133
|
if (this.stopRequested)
|