zames_pro 2.82.33 → 2.82.34

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.34] - 2026-10-22
11
+
12
+ ### Fixed
13
+
14
+ - **undo:** report no backup when retention is zero
15
+
10
16
  ## [2.82.33] - 2026-10-22
11
17
 
12
18
  ### Fixed
package/dist/undo.js CHANGED
@@ -30,6 +30,12 @@ export class UndoStore {
30
30
  async backup(filePath) {
31
31
  if (!this.enabled)
32
32
  return null;
33
+ // A retention of ZERO means "keep nothing": the record would be pushed and
34
+ // immediately shifted out (with its .bak unlinked) while the caller was
35
+ // told the backup happened — /undo then had nothing to revert. Report
36
+ // honestly that no backup was taken.
37
+ if (this.maxBackups <= 0)
38
+ return null;
33
39
  await this._ensure();
34
40
  let content = null;
35
41
  let existed = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zames_pro",
3
- "version": "2.82.33",
3
+ "version": "2.82.34",
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": {