zames_pro 2.82.98 → 2.82.99
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 +6 -0
- package/dist/send-runtime.js +13 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.82.99] - 2026-10-24
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **send-runtime:** record the block duration on the successful retry
|
|
15
|
+
|
|
10
16
|
## [2.82.98] - 2026-10-24
|
|
11
17
|
|
|
12
18
|
### Fixed
|
package/dist/send-runtime.js
CHANGED
|
@@ -78,6 +78,19 @@ export class SendRuntime {
|
|
|
78
78
|
if (typeof extra.retryAfterMs === 'number') {
|
|
79
79
|
e.retryAfterMs = extra.retryAfterMs;
|
|
80
80
|
}
|
|
81
|
+
// A SUCCESS after a rate limit IS the lift of that block. onBlockLifted()
|
|
82
|
+
// was the only producer of `blockMs`, but no provider's ask() calls it (a
|
|
83
|
+
// rate limit is retried IN PLACE and the retry simply succeeds), and the
|
|
84
|
+
// fold below clears `blockedAt` first. The measured duration is therefore
|
|
85
|
+
// taken HERE, before the state is folded; it is attached to the SAME event
|
|
86
|
+
// line, so one block still yields exactly one sample.
|
|
87
|
+
let blockMs;
|
|
88
|
+
if (outcome === 'ok' &&
|
|
89
|
+
this.state.blockedAt &&
|
|
90
|
+
this.now() > this.state.blockedAt) {
|
|
91
|
+
blockMs = this.now() - this.state.blockedAt;
|
|
92
|
+
e.blockMs = blockMs;
|
|
93
|
+
}
|
|
81
94
|
if (this.opts.adaptive) {
|
|
82
95
|
this.state = applySendEvent(this.state, e, this.cfg, this.now());
|
|
83
96
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zames_pro",
|
|
3
|
-
"version": "2.82.
|
|
3
|
+
"version": "2.82.99",
|
|
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": {
|