teapot-coding-agent 0.14.10 → 0.14.11

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/master.js CHANGED
@@ -218,8 +218,12 @@ export class Master {
218
218
  a.opts.progressMinChars =
219
219
  patch.progressMinChars;
220
220
  }
221
- if (patch.contextTokenBudget !== undefined)
222
- this.config.contextTokenBudget = patch.contextTokenBudget;
221
+ // explicit null clears a previously saved budget → back to per-model
222
+ // derivation (75% of each agent's known window); a positive number pins it
223
+ if (patch.contextTokenBudget !== undefined) {
224
+ this.config.contextTokenBudget =
225
+ (patch.contextTokenBudget ?? 0) > 0 ? patch.contextTokenBudget : undefined;
226
+ }
223
227
  if (patch.maxSpawnDepth !== undefined)
224
228
  this.config.maxSpawnDepth = patch.maxSpawnDepth;
225
229
  if (patch.tasks) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "teapot-coding-agent",
3
- "version": "0.14.10",
3
+ "version": "0.14.11",
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",