@procedures/mark 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,36 @@
1
1
  # @procedures/mark
2
2
 
3
+ ## 0.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 0cf4bea: **Invocation capabilities** (packages/documentation/CAPABILITIES-2026-10.md, the guide is client/docs/CAPABILITIES.md). Each call operates with a capability: a clearance, permitted effects and a deadline. A nested call gets the same capability or a narrower one.
8
+
9
+ - Procedures declare `metadata.effects` (`reads`, `writes`, `destructive`, `idempotent`). Each procedure of these packages declares them.
10
+ - `hostPolicy({ capability, readOnly, clearanceOrder, resources, admitItem })`, and `new Client({ capability })`. A refused call gives `FORBIDDEN` (HTTP 403) with a reason.
11
+ - `ctx.capability` and `ctx.resources` are new required fields of `ProcedureContext`. A test that makes a context by hand adds `capability: {}` and `resources: {}`.
12
+ - An application gives its clearance and resource types by augmenting `Register`.
13
+ - The timeout interceptor sets the deadline of the capability, and a remote call sends the remaining time.
14
+ - The MCP tools have hints (`readOnlyHint`, `destructiveHint`, `idempotentHint`, `openWorldHint`) from the effects. `mark mcp --read-only` (or `MCP_READ_ONLY=1`) serves only the tools that change nothing.
15
+ - **Breaking:** `git.remote` only reads the URL. `git.remote.set` sets it (before: `git.remote` with `url`).
16
+
17
+ ### Patch Changes
18
+
19
+ - 44d3e30: `mark --version` and `client-registry version` show the version of the package. Before, they showed `1.0.0`. The help of `client-registry` links to the site, not to a placeholder repository.
20
+ - Updated dependencies [0cf4bea]
21
+ - Updated dependencies [44d3e30]
22
+ - Updated dependencies [76d0d64]
23
+ - @procedures/client@0.2.0
24
+ - @procedures/mcp-dev-tools@0.2.0
25
+ - @procedures/cli-run@0.2.0
26
+ - @procedures/lib@0.2.0
27
+ - @procedures/pnpm@0.2.0
28
+ - @procedures/procedure@0.2.0
29
+ - @procedures/peer@0.2.0
30
+ - @procedures/shell@0.2.0
31
+ - @procedures/vitest@0.2.0
32
+ - @procedures/server@0.2.0
33
+
3
34
  ## 0.1.0
4
35
 
5
36
  The first release on npm. The packages of the client monorepo have one version together.