zames_pro 2.90.9 → 2.90.10
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/commands.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.10] - 2026-10-29
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **commands:** never cut a restored message in the middle of a surrogate pair
|
|
15
|
+
|
|
10
16
|
## [2.90.9] - 2026-10-28
|
|
11
17
|
|
|
12
18
|
### Fixed
|
package/dist/commands.js
CHANGED
|
@@ -527,7 +527,14 @@ export function normalizeRestoredMessage(m) {
|
|
|
527
527
|
// it silently left the operator with a dialogue where the agent's own reply
|
|
528
528
|
// was missing. Keep such a message but shorten it for display.
|
|
529
529
|
if (text.length > RESTORED_MESSAGE_MAX) {
|
|
530
|
-
|
|
530
|
+
// Never split a surrogate PAIR: the cut is in UTF-16 units, so a high half
|
|
531
|
+
// alone would reach the terminal as a broken code point (same rule as
|
|
532
|
+
// truncateToolResult / capReport / cutHookText).
|
|
533
|
+
let cut = RESTORED_MESSAGE_MAX;
|
|
534
|
+
const last = text.charCodeAt(cut - 1);
|
|
535
|
+
if (last >= 0xd800 && last <= 0xdbff)
|
|
536
|
+
cut--;
|
|
537
|
+
text = text.slice(0, cut) + '…';
|
|
531
538
|
}
|
|
532
539
|
if (m.role === 'user') {
|
|
533
540
|
if (/^Tool result for /.test(text))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zames_pro",
|
|
3
|
-
"version": "2.90.
|
|
3
|
+
"version": "2.90.10",
|
|
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": {
|