@reinsjs/agent 0.6.1 → 0.6.3

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,22 @@
1
1
  # @reinsjs/agent
2
2
 
3
+ ## 0.6.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [e820efb]
8
+ - @reinsjs/core@0.12.0
9
+ - @reinsjs/server@0.7.0
10
+ - @reinsjs/ui-agui@0.5.0
11
+
12
+ ## 0.6.2
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [61eacbb]
17
+ - @reinsjs/server@0.6.1
18
+ - @reinsjs/ui-agui@0.4.1
19
+
3
20
  ## 0.6.1
4
21
 
5
22
  ### Patch Changes
package/README.md CHANGED
@@ -64,7 +64,7 @@ Whether to call an expert, what to ask, and whether to trust the answer are the
64
64
  - A loop of a few hundred lines you can read and copy, with pause/resume as a return value.
65
65
  - Brain modules that let the model tidy its own context, keep constraints, spill big results, remember, ask before dangerous actions, and stop at a budget — each optional, each measured before it became a default.
66
66
  - Fail-closed defaults: unknown events are rejected, forged approval decisions cannot enter through the input, sessions are `404` to anyone not explicitly authorized.
67
- - One run per session across processes when the store provides a `RunLease` (`pgStores()` does): `createAgent` installs `leasedRunRegistry` with its defaults (30 s lease, random owner). To tune `ttlMs` / `owner`, build it yourself and pass `handler: { runs }` — see "Multiple instances" in `@reinsjs/server`.
67
+ - One run per session across processes when the store provides a `RunLease` (`pgStores()` does): `createAgent` installs `leasedRunRegistry` with its defaults (30 s lease, random owner). To tune `ttlMs` / `owner`, build it yourself and pass `handler: { runs }` — see "Multiple instances" in `@reinsjs/server`. If you call `createAgent` per request (tools assembled per session), build the registry once at process level and pass the same `handler: { runs }` every time; each call otherwise gets its own: stop requests and mid-run input do not reach a run started by another call, and a second request on a busy session answers `409` saying the run is "on another instance" — or, without a `RunLease`, starts a second run on the same session.
68
68
 
69
69
  ## Documentation
70
70
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reinsjs/agent",
3
- "version": "0.6.1",
3
+ "version": "0.6.3",
4
4
  "description": "reins — hand the reins to the model. createAgent() + re-exports of @reinsjs/core, @reinsjs/server and @reinsjs/ui-agui",
5
5
  "keywords": [
6
6
  "agent",
@@ -35,9 +35,9 @@
35
35
  "CHANGELOG.md"
36
36
  ],
37
37
  "dependencies": {
38
- "@reinsjs/core": "0.11.0",
39
- "@reinsjs/server": "0.6.0",
40
- "@reinsjs/ui-agui": "0.4.0"
38
+ "@reinsjs/core": "0.12.0",
39
+ "@reinsjs/ui-agui": "0.5.0",
40
+ "@reinsjs/server": "0.7.0"
41
41
  },
42
42
  "engines": {
43
43
  "node": ">=22"