zames_pro 2.90.2 → 2.90.3
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/input/layout.js +8 -1
- 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.90.3] - 2026-10-28
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **ui:** keep a tool detail on a negative clip budget instead of a lone ellipsis
|
|
15
|
+
|
|
10
16
|
## [2.90.2] - 2026-10-28
|
|
11
17
|
|
|
12
18
|
### Fixed
|
package/dist/input/layout.js
CHANGED
|
@@ -314,7 +314,14 @@ export function wrapToWidth(s, maxCols) {
|
|
|
314
314
|
return out.join(NL);
|
|
315
315
|
}
|
|
316
316
|
export function truncateToWidth(s, maxCols) {
|
|
317
|
-
|
|
317
|
+
// The callers derive the budget from the row width MINUS the tool name
|
|
318
|
+
// (`contentWidth() - name.length - 6`), so a long name (an MCP tool id) on a
|
|
319
|
+
// narrow pane produced a NEGATIVE budget and the whole detail collapsed to a
|
|
320
|
+
// lone `…` — the operator saw no argument at all. A budget below 1 (the
|
|
321
|
+
// ellipsis itself) is lifted to 2, so the head keeps ONE character next to
|
|
322
|
+
// the marker instead of disappearing entirely.
|
|
323
|
+
const requested = Number.isFinite(maxCols) ? Math.floor(maxCols) : 1;
|
|
324
|
+
const width = requested < 1 ? 2 : requested;
|
|
318
325
|
const text = String(s ?? '');
|
|
319
326
|
if (visLen(text) <= width)
|
|
320
327
|
return text;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zames_pro",
|
|
3
|
-
"version": "2.90.
|
|
3
|
+
"version": "2.90.3",
|
|
4
4
|
"description": "Terminal coding agent that drives a real browser to chat with DeepSeek, Qwen or GLM — 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": {
|