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 +6 -0
- package/dist/undo.js +6 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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
|
-
|
|
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.
|
|
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": {
|