zames_pro 2.82.133 → 2.82.134
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.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.134] - 2026-10-24
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **input:** the legacy editor forgets a deleted paste body too
|
|
15
|
+
|
|
10
16
|
## [2.82.133] - 2026-10-24
|
|
11
17
|
|
|
12
18
|
### Fixed
|
package/dist/input.js
CHANGED
|
@@ -1309,6 +1309,7 @@ export class LineEditor {
|
|
|
1309
1309
|
chars.splice(this.cursor - 1, 1);
|
|
1310
1310
|
this.buf = chars.join('');
|
|
1311
1311
|
this.cursor--;
|
|
1312
|
+
this._dropLostPastes();
|
|
1312
1313
|
}
|
|
1313
1314
|
_delete() {
|
|
1314
1315
|
const chars = Array.from(this.buf);
|
|
@@ -1316,6 +1317,18 @@ export class LineEditor {
|
|
|
1316
1317
|
return;
|
|
1317
1318
|
chars.splice(this.cursor, 1);
|
|
1318
1319
|
this.buf = chars.join('');
|
|
1320
|
+
this._dropLostPastes();
|
|
1321
|
+
}
|
|
1322
|
+
/** Forget paste bodies whose `[Pasted lines#N]` marker is no longer in the
|
|
1323
|
+
* buffer: a hand-deleted marker used to keep its body, and the NEXT paste of
|
|
1324
|
+
* the same line count was then expanded to the DELETED text (the same rule
|
|
1325
|
+
* as the TUI editor's dropLostPastes). */
|
|
1326
|
+
_dropLostPastes() {
|
|
1327
|
+
if (!this.pastes.length)
|
|
1328
|
+
return;
|
|
1329
|
+
const kept = this.pastes.filter((p) => this.buf.includes(p.marker));
|
|
1330
|
+
if (kept.length !== this.pastes.length)
|
|
1331
|
+
this.pastes = kept;
|
|
1319
1332
|
}
|
|
1320
1333
|
_left() {
|
|
1321
1334
|
if (this.cursor > 0)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zames_pro",
|
|
3
|
-
"version": "2.82.
|
|
3
|
+
"version": "2.82.134",
|
|
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": {
|