zames_pro 2.82.117 → 2.82.119

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/CHANGELOG.md CHANGED
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.82.119] - 2026-10-24
11
+
12
+ ### Fixed
13
+
14
+ - **throttle:** cap a huge Retry-After so the agent is not frozen
15
+
16
+ ## [2.82.118] - 2026-10-24
17
+
18
+ ### Fixed
19
+
20
+ - **subagent:** an empty report is not passed on as a successful result
21
+
10
22
  ## [2.82.117] - 2026-10-24
11
23
 
12
24
  ### Fixed
@@ -90,7 +90,12 @@ export function applySendEvent(state, event, cfg, now = Date.now()) {
90
90
  typeof event.retryAfterMs === 'number' &&
91
91
  Number.isFinite(event.retryAfterMs) &&
92
92
  event.retryAfterMs > 0
93
- ? event.retryAfterMs
93
+ ? // A server may send a Retry-After of DAYS (`86400`); waiting it out
94
+ // verbatim froze the agent, which the operator sees as a dead run.
95
+ // Bound it by the same ceiling as the learned interval — a longer
96
+ // block is not worth sitting through silently, the next send can
97
+ // try again.
98
+ Math.min(event.retryAfterMs, cfg.maxMs)
94
99
  : cfg.rateLimitWaitMs;
95
100
  next.forcedWaitAt = now;
96
101
  const floor = Math.max(cfg.baseMs, cfg.limitFloorMs);
package/dist/subagent.js CHANGED
@@ -195,7 +195,16 @@ export function createSubagentRunner(opts) {
195
195
  }
196
196
  return {
197
197
  ok: true,
198
- text: capReport(hookOut ? report + '\n\n' + hookOut : report),
198
+ // An EMPTY report (the model stopped without a final answer, or answered
199
+ // with whitespace) must not reach the parent as a successful tool result
200
+ // with no text: the parent would read it as "the sub-task produced
201
+ // nothing" and continue silently. Say so explicitly.
202
+ text: capReport(hookOut
203
+ ? (report.trim() ||
204
+ '(the subagent finished without a final report)') +
205
+ '\n\n' +
206
+ hookOut
207
+ : report.trim() || '(the subagent finished without a final report)'),
199
208
  };
200
209
  };
201
210
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zames_pro",
3
- "version": "2.82.117",
3
+ "version": "2.82.119",
4
4
  "description": "Terminal coding agent that drives a real browser to chat with DeepSeek, Qwen and other web LLMs — no API key required. Reads and edits files, runs commands, commits to git, like Claude Code / Codex CLI.",
5
5
  "type": "module",
6
6
  "bin": {