@1kbirds/chidori 3.5.0 → 3.6.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/README.md +3 -3
- package/dist/agent.d.ts +5 -5
- package/package.json +1 -1
- package/src/agent.ts +5 -5
package/README.md
CHANGED
|
@@ -120,9 +120,9 @@ the raw `runtime.snapshot` VM bytes.
|
|
|
120
120
|
`client.replay(checkpoint)` uses the call log for deterministic replay. Durable
|
|
121
121
|
resume is exposed through `client.resume(sessionId, response)` for paused
|
|
122
122
|
sessions, recovering through persisted host-promise metadata and the replay
|
|
123
|
-
journal. Replay **is** the resume mechanism by design —
|
|
124
|
-
|
|
125
|
-
|
|
123
|
+
journal. Replay **is** the resume mechanism by design — there is no live-VM
|
|
124
|
+
image to restore; the manifest carries journal/scaffold metadata rather than
|
|
125
|
+
serialized VM bytes.
|
|
126
126
|
|
|
127
127
|
Use `client.getSnapshotManifest(sessionId)` when a UI needs only snapshot
|
|
128
128
|
metadata. The endpoint never returns the binary VM snapshot.
|
package/dist/agent.d.ts
CHANGED
|
@@ -259,7 +259,7 @@ export interface SignalSender {
|
|
|
259
259
|
runId?: string;
|
|
260
260
|
}
|
|
261
261
|
/**
|
|
262
|
-
* A named message delivered into a run mid-flight (`docs/signals.md`
|
|
262
|
+
* A named message delivered into a run mid-flight (`docs/signals.md`). The
|
|
263
263
|
* inverse of `input()`: an outside party (human or agent) pushes
|
|
264
264
|
* `{ name, payload, from }` at an agent-declared listen point. Every signal is
|
|
265
265
|
* recorded in the call log, so the multiplayer session replays deterministically.
|
|
@@ -280,9 +280,9 @@ export interface SignalOptions {
|
|
|
280
280
|
}
|
|
281
281
|
/**
|
|
282
282
|
* The sentinel a `timeoutMs` listen point resolves to when the deadline passes
|
|
283
|
-
* with no matching delivery
|
|
284
|
-
*
|
|
285
|
-
*
|
|
283
|
+
* with no matching delivery — a timeout resolves to this sentinel rather than
|
|
284
|
+
* rejecting (`docs/signals.md`). `name` is the single awaited name, or `null`
|
|
285
|
+
* for a multi-name `signalAny`.
|
|
286
286
|
*/
|
|
287
287
|
export interface SignalTimeout {
|
|
288
288
|
name: string | null;
|
|
@@ -294,7 +294,7 @@ export interface ParallelOptions {
|
|
|
294
294
|
concurrency?: number;
|
|
295
295
|
}
|
|
296
296
|
/**
|
|
297
|
-
* One `chidori.branch` variant (`docs/branching-execution.md`
|
|
297
|
+
* One `chidori.branch` variant (`docs/branching-execution.md`). A branch
|
|
298
298
|
* runs its own continuation source module from the parent's anchored state —
|
|
299
299
|
* not a re-run of the parent agent — so `source` is required.
|
|
300
300
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1kbirds/chidori",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"description": "TypeScript SDK for the Chidori agent framework — HTTP client plus agent authoring types.",
|
|
5
5
|
"keywords": ["ai", "agents", "typescript", "llm", "replay"],
|
|
6
6
|
"publishConfig": { "access": "public" },
|
package/src/agent.ts
CHANGED
|
@@ -260,7 +260,7 @@ export interface SignalSender {
|
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
/**
|
|
263
|
-
* A named message delivered into a run mid-flight (`docs/signals.md`
|
|
263
|
+
* A named message delivered into a run mid-flight (`docs/signals.md`). The
|
|
264
264
|
* inverse of `input()`: an outside party (human or agent) pushes
|
|
265
265
|
* `{ name, payload, from }` at an agent-declared listen point. Every signal is
|
|
266
266
|
* recorded in the call log, so the multiplayer session replays deterministically.
|
|
@@ -283,9 +283,9 @@ export interface SignalOptions {
|
|
|
283
283
|
|
|
284
284
|
/**
|
|
285
285
|
* The sentinel a `timeoutMs` listen point resolves to when the deadline passes
|
|
286
|
-
* with no matching delivery
|
|
287
|
-
*
|
|
288
|
-
*
|
|
286
|
+
* with no matching delivery — a timeout resolves to this sentinel rather than
|
|
287
|
+
* rejecting (`docs/signals.md`). `name` is the single awaited name, or `null`
|
|
288
|
+
* for a multi-name `signalAny`.
|
|
289
289
|
*/
|
|
290
290
|
export interface SignalTimeout {
|
|
291
291
|
name: string | null;
|
|
@@ -299,7 +299,7 @@ export interface ParallelOptions {
|
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
/**
|
|
302
|
-
* One `chidori.branch` variant (`docs/branching-execution.md`
|
|
302
|
+
* One `chidori.branch` variant (`docs/branching-execution.md`). A branch
|
|
303
303
|
* runs its own continuation source module from the parent's anchored state —
|
|
304
304
|
* not a re-run of the parent agent — so `source` is required.
|
|
305
305
|
*/
|