@procedures/client 0.36.0 → 0.38.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 +30 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/adapters/http/server/handler.js +1 -1
- package/dist/adapters/http/server/handler.js.map +1 -1
- package/dist/browser.d.ts +2 -1
- package/dist/browser.d.ts.map +1 -1
- package/dist/browser.js +2 -1
- package/dist/browser.js.map +1 -1
- package/dist/client/validation/types.d.ts.map +1 -1
- package/dist/client/validation/types.js +1 -0
- package/dist/client/validation/types.js.map +1 -1
- package/dist/procedures/collection/schemas.d.ts.map +1 -1
- package/dist/procedures/collection/schemas.js +1 -0
- package/dist/procedures/collection/schemas.js.map +1 -1
- package/dist/procedures/envelope.d.ts.map +1 -1
- package/dist/procedures/envelope.js +2 -0
- package/dist/procedures/envelope.js.map +1 -1
- package/dist/procedures/policy.js +2 -2
- package/dist/procedures/policy.js.map +1 -1
- package/dist/procedures/program.d.ts.map +1 -1
- package/dist/procedures/program.js +3 -0
- package/dist/procedures/program.js.map +1 -1
- package/dist/procedures/ref.d.ts.map +1 -1
- package/dist/procedures/ref.js +1 -0
- package/dist/procedures/ref.js.map +1 -1
- package/dist/procedures/types.d.ts +1 -1
- package/dist/procedures/types.d.ts.map +1 -1
- package/dist/procedures/types.js.map +1 -1
- package/dist/server/index.d.ts +2 -1
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +2 -1
- package/dist/server/index.js.map +1 -1
- package/dist/server/procedure-server.d.ts +0 -9
- package/dist/server/procedure-server.d.ts.map +1 -1
- package/dist/server/procedure-server.js +2 -9
- package/dist/server/procedure-server.js.map +1 -1
- package/dist/server/stream-metadata.d.ts +15 -0
- package/dist/server/stream-metadata.d.ts.map +1 -0
- package/dist/server/stream-metadata.js +15 -0
- package/dist/server/stream-metadata.js.map +1 -0
- package/package.json +1 -1
- package/src/adapters/http/server/handler.ts +1 -1
- package/src/browser.ts +2 -1
- package/src/client/validation/types.ts +1 -0
- package/src/procedures/collection/schemas.ts +1 -0
- package/src/procedures/envelope.ts +2 -0
- package/src/procedures/policy.ts +2 -2
- package/src/procedures/program.ts +3 -0
- package/src/procedures/ref.ts +1 -0
- package/src/procedures/types.ts +1 -1
- package/src/server/index.ts +2 -1
- package/src/server/procedure-server.ts +2 -11
- package/src/server/stream-metadata.ts +16 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# @procedures/client
|
|
2
2
|
|
|
3
|
+
## 0.38.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c6fba49: The keys of procedure paths go through the codec of `@procedures/client` (roadmap CLI-84, decision D36). A path without `.` and `%` in a segment keeps the same key, so only such segments see a change.
|
|
8
|
+
|
|
9
|
+
MINOR (breaking, pre-1.0): for a segment with `.` or `%`, two keys that callers can see change. If it is not clear whether a change is breaking, the release treats it as breaking.
|
|
10
|
+
|
|
11
|
+
- `@procedures/cli-kit`: the key of a `format` hook is `pathToKey(path)`. A caller sets this key. For the path `["a", "b.c"]`, the key was `a.b.c`, and it is now `a.b%2Ec`.
|
|
12
|
+
- `@procedures/lib`: the `key` of each procedure of the ecosystem scan is `pathToKey(path)`. The scan gives this key over the wire. For the path `["a", "b.c"]`, the key was `a.b.c`, and it is now `a.b%2Ec`.
|
|
13
|
+
|
|
14
|
+
The other changes are fixes:
|
|
15
|
+
|
|
16
|
+
- `pathToKey()` accepts a `readonly string[]`.
|
|
17
|
+
- `@procedures/llm`: a procedure tool reads its key with `keyToPath()`, so `a%2Eb.c` names the path `["a.b", "c"]`.
|
|
18
|
+
- `@procedures/mcp`: the cache key of a tool is `pathToKey(path)`. Before, `["a.b", "c"]` and `["a", "b", "c"]` had the same cache key. The cache is in the process, so no stored data changes.
|
|
19
|
+
- `@procedures/mcp-server`: the message about two procedures with one tool name gives the keys of the paths.
|
|
20
|
+
|
|
21
|
+
No stored key and no topic changes. The storage keys and the topics already used the codec (roadmap CLI-75).
|
|
22
|
+
|
|
23
|
+
Migration:
|
|
24
|
+
|
|
25
|
+
- A caller of `cli-kit` with a `format` hook for a path with a dotted segment writes the key in the encoded form, for example `a.b%2Ec`.
|
|
26
|
+
- A reader of the ecosystem scan that splits a `key` on `.` uses `keyToPath(key)`.
|
|
27
|
+
- The site, MiniMongo, Graph and jarvis: no step, if their procedure paths have no segment with `.` or `%`.
|
|
28
|
+
|
|
29
|
+
## 0.37.0
|
|
30
|
+
|
|
31
|
+
No changes in this release.
|
|
32
|
+
|
|
3
33
|
## 0.36.0
|
|
4
34
|
|
|
5
35
|
### Minor Changes
|