@procedures/mark 0.47.1 → 0.48.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 +53 -12
- package/dist/.tsbuildinfo +1 -1
- package/dist/manifest.json +2 -2
- package/package.json +51 -51
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
# @procedures/mark
|
|
2
2
|
|
|
3
|
+
## 0.48.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [17a18ec]
|
|
8
|
+
- Updated dependencies [06088f9]
|
|
9
|
+
- Updated dependencies [71f9c6e]
|
|
10
|
+
- Updated dependencies [c839add]
|
|
11
|
+
- @procedures/cli-kit@0.48.0
|
|
12
|
+
- @procedures/client@0.48.0
|
|
13
|
+
- @procedures/fs@0.48.0
|
|
14
|
+
- @procedures/server@0.48.0
|
|
15
|
+
- @procedures/shell@0.48.0
|
|
16
|
+
- @procedures/cli-run@0.48.0
|
|
17
|
+
- @procedures/lib@0.48.0
|
|
18
|
+
- @procedures/pnpm@0.48.0
|
|
19
|
+
- @procedures/procedure@0.48.0
|
|
20
|
+
- @procedures/peer@0.48.0
|
|
21
|
+
- @procedures/vitest@0.48.0
|
|
22
|
+
- @procedures/mcp-dev-tools@0.48.0
|
|
23
|
+
|
|
24
|
+
## 0.47.2
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies [0650616]
|
|
29
|
+
- Updated dependencies [ae1e3fd]
|
|
30
|
+
- Updated dependencies [f1ece74]
|
|
31
|
+
- @procedures/client@0.47.2
|
|
32
|
+
- @procedures/cli-kit@0.47.2
|
|
33
|
+
- @procedures/cli-run@0.47.2
|
|
34
|
+
- @procedures/fs@0.47.2
|
|
35
|
+
- @procedures/lib@0.47.2
|
|
36
|
+
- @procedures/pnpm@0.47.2
|
|
37
|
+
- @procedures/procedure@0.47.2
|
|
38
|
+
- @procedures/peer@0.47.2
|
|
39
|
+
- @procedures/shell@0.47.2
|
|
40
|
+
- @procedures/vitest@0.47.2
|
|
41
|
+
- @procedures/mcp-dev-tools@0.47.2
|
|
42
|
+
- @procedures/server@0.47.2
|
|
43
|
+
|
|
3
44
|
## 0.47.1
|
|
4
45
|
|
|
5
46
|
### Patch Changes
|
|
@@ -364,8 +405,8 @@
|
|
|
364
405
|
- A host whose `expose`, policy or limit pattern names such a path in text uses the encoded form, for example `collections.e2e%2Etabs.*`.
|
|
365
406
|
- An `mcpExclude` entry, an `expose` deny entry or a limit entry in the old raw form, for example `collections.e2e.tabs.drop`, does not match. The check compares the encoded key, so the procedure becomes visible, or the limit does not apply. Write each such entry in the encoded form, for example `collections.e2e%2Etabs.drop`.
|
|
366
407
|
- A subscriber of a dotted collection uses `collectionChangeTopic(name)`. The raw topic `collections.a.b` is the topic of the partition `b` of `a`.
|
|
367
|
-
-
|
|
368
|
-
-
|
|
408
|
+
- An app: read the collection of a topic with `collectionTopicPartition(topic)`, not with a pattern, for example `/^collections\.([^.]+)\./`.
|
|
409
|
+
- Other apps: no change, if their collection names have no `.` and no `%`.
|
|
369
410
|
|
|
370
411
|
### Patch Changes
|
|
371
412
|
|
|
@@ -382,7 +423,7 @@
|
|
|
382
423
|
|
|
383
424
|
Migration:
|
|
384
425
|
|
|
385
|
-
-
|
|
426
|
+
- Apps: no change at this time. The deprecated names work until the next MINOR.
|
|
386
427
|
- Before the next MINOR, replace `zodAdapter<T>(schema)` with `schema`. To keep the check of a schema against a type, write `const schema: z.ZodType<T> = ...`.
|
|
387
428
|
- Before the next MINOR, replace `typedAnySchema<T>()` and `outputSchema<T>()` with `typed<T>()`.
|
|
388
429
|
- A parse-only object (`{ parse }`) in `zodAdapter` becomes a Standard Schema with a `~standard` property.
|
|
@@ -789,9 +830,9 @@
|
|
|
789
830
|
- A script that starts `mark server create` as a server in the foreground: start `mark --server` or `procedure-server` in its place.
|
|
790
831
|
- A program that calls `run()`, `main()` or `executeArgs()` of `@procedures/mark`: no change. It keeps its process. Give `ownsProcess: true` to give the process to the runner, as the bin does.
|
|
791
832
|
- The site: no change. It does not start `mark`.
|
|
792
|
-
-
|
|
793
|
-
-
|
|
794
|
-
-
|
|
833
|
+
- An app: no change. Its dev host starts through `runProcedureHost()`, not through `mark`.
|
|
834
|
+
- An app: no change. It does not start `mark`.
|
|
835
|
+
- An app: no change, unless one of its scripts reads the exit code of an interrupted `mark` command. Then apply the first step.
|
|
795
836
|
|
|
796
837
|
### Patch Changes
|
|
797
838
|
|
|
@@ -872,9 +913,9 @@
|
|
|
872
913
|
|
|
873
914
|
- A host with more than 256 clients at one time: give a larger `maxSessions`, or `maxSessions: Infinity` for no limit. Give it in `faces.http` of `createMcpHost()`, in `mcpFace()`, or with `mark mcp --http <port> --max-sessions <n>`.
|
|
874
915
|
- A host that keeps more than 1000 tasks: give a larger `maxStored`, or `maxStored: Infinity`, in `tasks` of the host or in `new McpTaskStore()`.
|
|
875
|
-
- The site and
|
|
876
|
-
-
|
|
877
|
-
-
|
|
916
|
+
- The site and an app: no change. They have no MCP host.
|
|
917
|
+
- An app: no change. Its `mcpFace()` on the procedures host gets the limit of 256 sessions, and its MCP host over stdio has no HTTP face. To keep no limit, give `mcpFace({ maxSessions: Infinity })`.
|
|
918
|
+
- An app: no change. Its MCP host has only stdio and SDK faces, and it has no tasks.
|
|
878
919
|
- polite-crawler-mcp: no change for the sessions, because it sets `maxSessions: 32`. Its `McpTaskStore` gets the limit of 1000 stored tasks. Before, 32 sessions of 100 tasks bounded the store at 3200 tasks. To keep that bound, give `new McpTaskStore({ maxStored: 3200 })`.
|
|
879
920
|
- polite-crawler-mcp also gives the deprecated option `mount: true`, which has no effect. Remove it when it moves to the new range.
|
|
880
921
|
|
|
@@ -1005,7 +1046,7 @@
|
|
|
1005
1046
|
|
|
1006
1047
|
Deprecated: at the timeout of 15 s, `server.start` gives `success: true` with the message "still loading" while the process still starts. From the next MINOR of the client group, a start that is not ready at the timeout gives `success: false`, with the PID of the process that still starts. Read the readiness probe or `mark server status` for the state.
|
|
1007
1048
|
|
|
1008
|
-
|
|
1049
|
+
Apps: no change. A host with a listener now also answers the paths under `/_probes`. Before, these paths got 404.
|
|
1009
1050
|
- Updated dependencies [636f098]
|
|
1010
1051
|
- @procedures/peer@0.17.3
|
|
1011
1052
|
- @procedures/server@0.17.3
|
|
@@ -1135,7 +1176,7 @@
|
|
|
1135
1176
|
- The listener of the Streamable HTTP face: the options `port`, `host` and `server` of `HttpTransportOptions`, and `McpHttpTransport.listen()`. Give `mount: true`, and mount `McpHost.handleHttp` on a listener of the service.
|
|
1136
1177
|
- `startDevToolsServer()` of `@procedures/mcp-dev-tools`. Use `runDevToolsServer()`.
|
|
1137
1178
|
|
|
1138
|
-
Migration for the next MINOR: the site uses none of them.
|
|
1179
|
+
Migration for the next MINOR: the site uses none of them. One app uses none of them. Another app mounts `mcpFace()` on its host, and its stdio host keeps `createMcpHost()` with `stdio`: no change. A third app uses `createMcpHost()` with stdio and SDK faces: no change. A host with `faces.http: { port }` moves to `faces.http: { mount: true }` and a listener of the service.
|
|
1139
1180
|
- Updated dependencies [85999c1]
|
|
1140
1181
|
- Updated dependencies [fc968f6]
|
|
1141
1182
|
- Updated dependencies [dc7a462]
|
|
@@ -1277,7 +1318,7 @@
|
|
|
1277
1318
|
|
|
1278
1319
|
Migration steps:
|
|
1279
1320
|
|
|
1280
|
-
-
|
|
1321
|
+
- Apps: no change is necessary. They do not start these entries.
|
|
1281
1322
|
- A script that starts `procedure-server` or `mark serve` and stops it with a signal: no change is necessary. Wait for the exit, in 10 s at most.
|
|
1282
1323
|
- A program that embeds the server outside a service: use `startServer()`, which starts it as a peer, and `peer.stop()`.
|
|
1283
1324
|
|