@procedures/snapshot 0.11.0 → 0.12.1

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
@@ -1,5 +1,34 @@
1
1
  # @procedures/snapshot
2
2
 
3
+ ## 0.12.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [b89e3fe]
8
+ - @procedures/client@0.12.1
9
+ - @procedures/fs@0.12.1
10
+ - @procedures/git@0.12.1
11
+ - @procedures/pnpm@0.12.1
12
+ - @procedures/s3@0.12.1
13
+ - @procedures/shell@0.12.1
14
+
15
+ ## 0.12.0
16
+
17
+ ### Patch Changes
18
+
19
+ - d86363e: `snapshot.create` and `snapshot.diff` work under a root of the files (`mark --fs-root`). Before, a root refused them (tracker item O46).
20
+
21
+ - Their git commands go through the `git.*` procedures of the host, so the rules of git under a root apply.
22
+ - Under a root, each folder of `paths` must be in the root. `snapshot.create` takes the root when the call gives no `paths`. `snapshot.diff` needs `paths`.
23
+ - Under a root, pnpm does not start, and the snapshot records the pnpm version as `unknown`. `snapshot.create` does not read a `package.json` whose real path is outside the root.
24
+ - Without a root, the procedures give the same results as before. A host needs the procedures `git.revParse`, `git.remote` and `git.diff` of `@procedures/git`, as it needs `git.status` already.
25
+ - @procedures/client@0.12.0
26
+ - @procedures/fs@0.12.0
27
+ - @procedures/git@0.12.0
28
+ - @procedures/pnpm@0.12.0
29
+ - @procedures/s3@0.12.0
30
+ - @procedures/shell@0.12.0
31
+
3
32
  ## 0.11.0
4
33
 
5
34
  ### Patch Changes
package/README.md CHANGED
@@ -726,7 +726,16 @@ Captures comprehensive Git state:
726
726
 
727
727
  ## The root of the files
728
728
 
729
- A host with a root (`mark --fs-root`, `procedure-server --fs-root`, `MCP_FS_ROOT`) refuses `snapshot.create`, `snapshot.restore` and `snapshot.diff`. The error is `FORBIDDEN` with the reason `outside-root`. These procedures start git and pnpm without the rules of the root, and they reach folders outside it. `snapshot.list` and `snapshot.delete` reach only S3, so they work under a root.
729
+ A host with a root (`mark --fs-root`, `procedure-server --fs-root`, `MCP_FS_ROOT`) confines `snapshot.create` and `snapshot.diff`, and it refuses `snapshot.restore`. A refusal is `FORBIDDEN` with the reason `outside-root`.
730
+
731
+ - Each folder of `paths` must be in the root. A relative path starts at the root.
732
+ - `snapshot.create` takes the root when the call gives no `paths`.
733
+ - `snapshot.diff` needs `paths` under a root, because the snapshot recorded its paths, maybe on another machine.
734
+ - Git goes through the `git.*` procedures, so the rules of git under a root apply. For example, a repository whose configuration starts a program is refused.
735
+ - Pnpm does not start under a root. The snapshot records the pnpm version as `unknown`.
736
+ - `snapshot.create` does not read a `package.json` whose real path is outside the root.
737
+ - `snapshot.restore` stays refused. It downloads the archive into the temporary folder of the host, and the names of the folders come from the data of the snapshot.
738
+ - `snapshot.list` and `snapshot.delete` reach only S3, so they work under a root.
730
739
 
731
740
  The rules and the table of the procedures are in [CAPABILITIES-2026-10.md](../documentation/CAPABILITIES-2026-10.md#the-root-of-the-files-roadmap-r33).
732
741