zames_pro 2.82.128 → 2.82.130
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 +12 -0
- package/dist/goal.js +5 -1
- package/dist/input/layout.js +14 -1
- package/package.json +1 -1
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.130] - 2026-10-24
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **goal:** a prose answer mentioning DSML still yields its verdict
|
|
15
|
+
|
|
16
|
+
## [2.82.129] - 2026-10-24
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- **tui:** a compact token count never renders 1000k or 1000.0M
|
|
21
|
+
|
|
10
22
|
## [2.82.128] - 2026-10-24
|
|
11
23
|
|
|
12
24
|
### Fixed
|
package/dist/goal.js
CHANGED
|
@@ -86,7 +86,11 @@ function argumentReason(reason) {
|
|
|
86
86
|
function toolCallVerdictText(raw) {
|
|
87
87
|
const hasCallMarkers = /"tool"\s*:/.test(raw) ||
|
|
88
88
|
/<[^>]*\b(?:invoke|parameter)\b/i.test(raw) ||
|
|
89
|
-
|
|
89
|
+
// Only a REAL DSML marker means a call: the bare word `DSML` in a prose
|
|
90
|
+
// answer ("the DSML invoke branch was checked") was taken for a call, its
|
|
91
|
+
// text was then discarded as "not a judgement", and a real VERDICT line
|
|
92
|
+
// right below never parsed — the goal loop continued until the budget.
|
|
93
|
+
/<[||]DSML[||]/i.test(raw);
|
|
90
94
|
if (!hasCallMarkers)
|
|
91
95
|
return raw;
|
|
92
96
|
// `respond` carries the operator-facing text; unwrap its message only.
|
package/dist/input/layout.js
CHANGED
|
@@ -508,7 +508,20 @@ export function formatCompactTokens(tokens) {
|
|
|
508
508
|
if (typeof tokens !== 'number' || !Number.isFinite(tokens) || tokens < 0) {
|
|
509
509
|
return '';
|
|
510
510
|
}
|
|
511
|
-
|
|
511
|
+
let n = Math.round(tokens);
|
|
512
|
+
// Promote BEFORE rendering when the ROUNDED value would read as a full next
|
|
513
|
+
// unit: 999 949 -> '1000k' (nonsense kilo) while the percentage beside it
|
|
514
|
+
// already says 100%, and 999 950 000 -> '1000.0M'. Same rule as
|
|
515
|
+
// attachments.formatSize.
|
|
516
|
+
if (Math.round(n / 1000) >= 1000 && n < 1_000_000)
|
|
517
|
+
n = 1_000_000;
|
|
518
|
+
if (Math.round((n / 1_000_000) * 10) / 10 >= 1000 && n < 1_000_000_000) {
|
|
519
|
+
n = 1_000_000_000;
|
|
520
|
+
}
|
|
521
|
+
if (n >= 1_000_000_000) {
|
|
522
|
+
const b = n / 1_000_000_000;
|
|
523
|
+
return (Number.isInteger(b) ? String(b) : b.toFixed(1)) + 'B';
|
|
524
|
+
}
|
|
512
525
|
if (n >= 1_000_000) {
|
|
513
526
|
const m = n / 1_000_000;
|
|
514
527
|
return (Number.isInteger(m) ? String(m) : m.toFixed(1)) + 'M';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zames_pro",
|
|
3
|
-
"version": "2.82.
|
|
3
|
+
"version": "2.82.130",
|
|
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": {
|