zames_pro 2.82.110 → 2.82.112
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/commands.js +6 -2
- package/dist/ui-health.js +6 -0
- 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.112] - 2026-10-24
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **ui-health:** a capability with no selectors is not reported missing
|
|
15
|
+
|
|
16
|
+
## [2.82.111] - 2026-10-24
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- **cost:** a tool name with a newline cannot break the /cost report
|
|
21
|
+
|
|
10
22
|
## [2.82.110] - 2026-10-24
|
|
11
23
|
|
|
12
24
|
### Fixed
|
package/dist/commands.js
CHANGED
|
@@ -229,10 +229,14 @@ export function renderCost(stats, transcriptFile, tokenUsage = null, t = transla
|
|
|
229
229
|
lines.push(t('cost.auto_compacts', { n: String(stats.autoCompacts) }));
|
|
230
230
|
}
|
|
231
231
|
const top = Object.entries(stats.toolCounts).sort((a, b) => b[1] - a[1]);
|
|
232
|
+
// A tool NAME is arbitrary text (the model invents it, an MCP server
|
|
233
|
+
// declares it): a newline would start a new line of the report and could
|
|
234
|
+
// spoof an `[OK]` doctor row. Collapse it to one line.
|
|
235
|
+
const nameLine = (v) => v.replace(/\s+/g, ' ');
|
|
232
236
|
if (top.length) {
|
|
233
237
|
lines.push(t('cost.by_tool'));
|
|
234
238
|
for (const [name, n] of top)
|
|
235
|
-
lines.push(' ' + name + ': ' + n);
|
|
239
|
+
lines.push(' ' + nameLine(name) + ': ' + n);
|
|
236
240
|
}
|
|
237
241
|
// T-D3: where the time went. Sort by total ms, show the top tools with the
|
|
238
242
|
// count and a human duration, so Read→Edit cycles and slow Bash calls are
|
|
@@ -244,7 +248,7 @@ export function renderCost(stats, transcriptFile, tokenUsage = null, t = transla
|
|
|
244
248
|
lines.push(t('cost.by_time', { dur: formatDuration(stats.toolMs) }));
|
|
245
249
|
for (const [name, ms] of byTime.slice(0, 8)) {
|
|
246
250
|
const count = stats.toolCounts[name] ?? 0;
|
|
247
|
-
lines.push(' ' + name + ': ' + formatDuration(ms) + ' ×' + count);
|
|
251
|
+
lines.push(' ' + nameLine(name) + ': ' + formatDuration(ms) + ' ×' + count);
|
|
248
252
|
}
|
|
249
253
|
}
|
|
250
254
|
lines.push(t('cost.duration', { dur: formatDuration(stats.durationMs) }));
|
package/dist/ui-health.js
CHANGED
|
@@ -53,6 +53,12 @@ export async function probeUiHealth(page, capabilities = UI_CAPABILITIES) {
|
|
|
53
53
|
const missing = [];
|
|
54
54
|
const missingCritical = [];
|
|
55
55
|
for (const spec of capabilities) {
|
|
56
|
+
// A capability with NO selectors cannot be probed at all: the provider does
|
|
57
|
+
// not have that control (z.ai has no toggles). Reporting it as missing made
|
|
58
|
+
// the startup/doctor warning scream «not found (toggles)» on every healthy
|
|
59
|
+
// page. It is N/A, not absent.
|
|
60
|
+
if (!spec.selectors || spec.selectors.length === 0)
|
|
61
|
+
continue;
|
|
56
62
|
let found = false;
|
|
57
63
|
for (const sel of spec.selectors) {
|
|
58
64
|
if (await hasAny(page, sel, spec.textRe)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zames_pro",
|
|
3
|
-
"version": "2.82.
|
|
3
|
+
"version": "2.82.112",
|
|
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": {
|