@procedures/snapshot 0.1.0 → 0.2.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,42 @@
1
1
  # @procedures/snapshot
2
2
 
3
+ ## 0.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [a9dc8c8]
8
+ - @procedures/client@0.2.1
9
+ - @procedures/fs@0.2.1
10
+ - @procedures/git@0.2.1
11
+ - @procedures/pnpm@0.2.1
12
+ - @procedures/s3@0.2.1
13
+ - @procedures/shell@0.2.1
14
+
15
+ ## 0.2.0
16
+
17
+ ### Minor Changes
18
+
19
+ - 76d0d64: **Breaking:** an import of a package registers nothing. The `./register` entry of a package registers its procedures, and the procedures of the modules that they need, in the global registry (ARCHITECTURE-PROPOSALS-2026-10, P9).
20
+
21
+ - `import "@procedures/git"` gives the exports and registers nothing. Use `import "@procedures/git/register"`, or give `gitModule` (`@procedures/git/module`) to `createRegistry()`.
22
+ - `import "@procedures/client/register"` registers the control flow (`client.chain` and the others) and `procedure.define`/`get`/`list`/`delete`. `createRegistry()` adds them to each new registry, as before. The new `registerClientProcedures(registry?)` does the same for any registry.
23
+ - Each `register<Name>Procedures(registry?)` function is in the module of its package, takes a registry (the global one by default) and registers the modules that the package requires. `registerBridge` (splay) and `register` (store) are now `registerSplayProcedures` and `registerStoreProcedures`. The old names stay for one version.
24
+ - `sideEffects` names only `./dist/register.js`, so a bundler can drop the rest of a package.
25
+ - The bundles require `clientModule`, so `@procedures/bundle-mcp/register` gives the whole tool surface.
26
+ - `lib new` makes `src/module.ts` and a root without side effects, and `procedure new` adds procedures to the module.
27
+
28
+ ### Patch Changes
29
+
30
+ - Updated dependencies [0cf4bea]
31
+ - Updated dependencies [44d3e30]
32
+ - Updated dependencies [76d0d64]
33
+ - @procedures/client@0.2.0
34
+ - @procedures/git@0.2.0
35
+ - @procedures/fs@0.2.0
36
+ - @procedures/pnpm@0.2.0
37
+ - @procedures/s3@0.2.0
38
+ - @procedures/shell@0.2.0
39
+
3
40
  ## 0.1.0
4
41
 
5
42
  The first release on npm. The packages of the client monorepo have one version together.
package/README.md CHANGED
@@ -123,7 +123,7 @@ This package depends on:
123
123
 
124
124
  ```typescript
125
125
  import { Client, LocalTransport, PROCEDURE_REGISTRY } from "@procedures/client";
126
- import "@procedures/snapshot"; // registers its procedures
126
+ import "@procedures/snapshot/register"; // registers its procedures
127
127
 
128
128
  const client = new Client(new LocalTransport({ registry: PROCEDURE_REGISTRY }));
129
129
 
@@ -702,7 +702,7 @@ try {
702
702
  ### With bundle-dev
703
703
 
704
704
  ```typescript
705
- import "@procedures/bundle-dev"; // registers its procedures
705
+ import "@procedures/bundle-dev/register"; // registers its procedures
706
706
 
707
707
  // snapshot.* procedures available
708
708
  await client.exec(["snapshot", "create"], { ... });