zames_pro 2.82.45 → 2.82.46

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 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.46] - 2026-10-22
11
+
12
+ ### Fixed
13
+
14
+ - **undo:** report no backup for an unreadable target
15
+
10
16
  ## [2.82.45] - 2026-10-22
11
17
 
12
18
  ### Fixed
package/dist/undo.js CHANGED
@@ -44,8 +44,13 @@ export class UndoStore {
44
44
  existed = true;
45
45
  }
46
46
  catch (e) {
47
+ // A missing file is the normal first-write case. Anything else (a
48
+ // DIRECTORY at the path: EISDIR; a permission error) means no backup
49
+ // can be taken — return null instead of throwing a raw Node error out
50
+ // of the tool call (the same rule as CheckpointStore.create()).
47
51
  if (e.code !== 'ENOENT')
48
- throw e;
52
+ return null;
53
+ // ENOENT: the file does not exist yet (`existed` stays false).
49
54
  }
50
55
  const stamp = Date.now();
51
56
  // The name only needs to be SHORT and unique; the backup name also
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zames_pro",
3
- "version": "2.82.45",
3
+ "version": "2.82.46",
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": {