@procedures/procedure 0.1.0 → 0.2.0

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,25 @@
1
1
  # @procedures/procedure
2
2
 
3
+ ## 0.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 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).
8
+
9
+ - `import "@procedures/git"` gives the exports and registers nothing. Use `import "@procedures/git/register"`, or give `gitModule` (`@procedures/git/module`) to `createRegistry()`.
10
+ - `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.
11
+ - 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.
12
+ - `sideEffects` names only `./dist/register.js`, so a bundler can drop the rest of a package.
13
+ - The bundles require `clientModule`, so `@procedures/bundle-mcp/register` gives the whole tool surface.
14
+ - `lib new` makes `src/module.ts` and a root without side effects, and `procedure new` adds procedures to the module.
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [0cf4bea]
19
+ - Updated dependencies [44d3e30]
20
+ - Updated dependencies [76d0d64]
21
+ - @procedures/client@0.2.0
22
+
3
23
  ## 0.1.0
4
24
 
5
25
  The first release on npm. The packages of the client monorepo have one version together.
package/README.md CHANGED
@@ -106,7 +106,7 @@ The scaffolded code compiles with the strict options of the workspace. A name wh
106
106
 
107
107
  ```typescript
108
108
  import { Client, LocalTransport, PROCEDURE_REGISTRY } from "@procedures/client";
109
- import "@procedures/procedure"; // registers its procedures
109
+ import "@procedures/procedure/register"; // registers its procedures
110
110
 
111
111
  const client = new Client(new LocalTransport({ registry: PROCEDURE_REGISTRY }));
112
112