@procedures/llm 0.62.1 → 0.64.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,41 @@
1
1
  # @procedures/llm
2
2
 
3
+ ## 0.64.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 49b516e: The packages use `@mark1russell7/service` 0.10.0 and `@mark1russell7/algebra` 0.9.
8
+
9
+ This is a breaking change. Before, a timer of service work (a backoff, a retry, a time-out) did not keep a Node process alive. A script ended while such a timer waited. After this change, the process waits for the timer, as it does for `setTimeout`.
10
+
11
+ - The `realClock` of `@procedures/client` worked this way before. Its timers do not change.
12
+ - The watch timers of service (checks, the watchdog, the sweeps) do not keep a process alive.
13
+ - The heartbeat of the WebSocket client uses `unrefClock` of service. Its timers do not keep a process alive: the socket does.
14
+ - A new end-to-end test runs a command with `main()` of `@procedures/mark` in a script. After the command, no timer keeps the script alive.
15
+
16
+ Migration: a script that must end before a pending timer of service fires stops its work first. Close each client, host and transport, or abort the call. For a timer that only watches other work, give the service a clock made with `unrefClock` of `@mark1russell7/service/clock`.
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies [6f8219e]
21
+ - Updated dependencies [bdca30d]
22
+ - Updated dependencies [dfd04b7]
23
+ - Updated dependencies [7d303f3]
24
+ - Updated dependencies [ce0d511]
25
+ - Updated dependencies [49b516e]
26
+ - @procedures/client@0.64.0
27
+ - @procedures/http@0.64.0
28
+ - @procedures/json@0.64.0
29
+
30
+ ## 0.63.0
31
+
32
+ ### Patch Changes
33
+
34
+ - Updated dependencies [3dede6e]
35
+ - @procedures/client@0.63.0
36
+ - @procedures/http@0.63.0
37
+ - @procedures/json@0.63.0
38
+
3
39
  ## 0.62.1
4
40
 
5
41
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@procedures/llm",
4
- "version": "0.62.1",
4
+ "version": "0.64.0",
5
5
  "description": "A language model as procedures: a completion with tools, a stream of the answer and a structured answer, through the Anthropic Messages API, with the key from the environment.",
6
6
  "keywords": [
7
7
  "procedures",
@@ -69,10 +69,10 @@
69
69
  "procedures": "./dist/register.js"
70
70
  },
71
71
  "dependencies": {
72
- "@mark1russell7/service": "^0.8.3",
73
- "@procedures/client": "0.62.1",
74
- "@procedures/http": "0.62.1",
75
- "@procedures/json": "0.62.1",
72
+ "@mark1russell7/service": "^0.10.0",
73
+ "@procedures/client": "0.64.0",
74
+ "@procedures/http": "0.64.0",
75
+ "@procedures/json": "0.64.0",
76
76
  "zod": "^4.6.5"
77
77
  },
78
78
  "publishConfig": {