@reinsjs/store-pg 0.5.1 → 0.5.2
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 +7 -0
- package/README.md +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -64,7 +64,7 @@ async function canDelete(client: PgClient, sessionId: string): Promise<boolean>
|
|
|
64
64
|
}
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
`paused.awaiting` lists the calls waiting on an answer from outside: an approval (with `requestedAt`, the time the request was written), a client tool (pending — not a promise the client has already received it), or a sub-agent (with its `childSessionId` — query that session for its own status). A user stop sets `stopped: true` and leaves `awaiting` empty. Use `seq` to tell one run's outcome from the next.
|
|
67
|
+
`paused.awaiting` lists the calls waiting on an answer from outside: an approval (with `requestedAt`, the time the request was written), a client tool (pending — not a promise the client has already received it), or a sub-agent (with its `childSessionId` — query that session for its own status). A user stop sets `stopped: true` and leaves `awaiting` empty. `paused.code` is the pause code, when the pause has one (`reins.budget`, `reins.compact_stalled`, `reins.max_turns`, or your own socket's, such as `acme.credits_exhausted`) — it is what was recorded at the moment of the pause, so a top-up afterwards does not change it. Use `seq` to tell one run's outcome from the next.
|
|
68
68
|
|
|
69
69
|
"Running" is only known for runs started through `@reinsjs/server`'s handler with a lease registry — `createAgent` with `pgStores` sets that up. `agent.run()`, sub-agent runs and the TanStack adapter take no lease: their outcomes show up, but while they run the session reads as `interrupted` or `unknown`. Other windows where the answer is briefly wrong:
|
|
70
70
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reinsjs/store-pg",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "reins — PostgreSQL-backed EventLog / BlobStore / MemoryStore / RunLease. Works with pg, PGlite and postgres.js (via postgresJsClient), or any client exposing query(text, params) → { rows }",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"CHANGELOG.md"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@reinsjs/core": "0.
|
|
35
|
+
"@reinsjs/core": "0.15.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@electric-sql/pglite": "0.5.8",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"pg": "^8.23.0",
|
|
43
43
|
"postgres": "3.4.9",
|
|
44
44
|
"postgres-v4": "npm:postgres@4.0.0",
|
|
45
|
-
"@reinsjs/server": "0.8.
|
|
45
|
+
"@reinsjs/server": "0.8.2"
|
|
46
46
|
},
|
|
47
47
|
"engines": {
|
|
48
48
|
"node": ">=22"
|