effect-durable-agent-cloudflare 0.1.0-alpha.17 → 0.1.0-alpha.19
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 +4 -1
- package/dist/{durable-object-storage-DCL2IyUe.d.ts → durable-object-storage-BZCOHz9p.d.ts} +1 -2
- package/dist/durable-object.d.ts +2542 -71
- package/dist/durable-object.js +50 -54
- package/dist/durable-object.js.map +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.js +3 -3
- package/dist/openai.d.ts +0 -1
- package/dist/openai.js.map +1 -1
- package/dist/rpc-codec-B2aLiNqt.d.ts +44 -0
- package/dist/rpc-spec-CkWEeWJG.js +105 -0
- package/dist/rpc-spec-CkWEeWJG.js.map +1 -0
- package/dist/rpc-spec-Cko7gaMg.d.ts +6904 -0
- package/dist/rpc.d.ts +3 -16
- package/dist/rpc.js +2 -26
- package/dist/{session-controller-DC56lVYg.d.ts → session-controller-BfA5NAuY.d.ts} +9 -26
- package/dist/{session-controller-DC22QdwA.js → session-controller-IrTPwdRt.js} +14 -9
- package/dist/{session-controller-DC22QdwA.js.map → session-controller-IrTPwdRt.js.map} +1 -1
- package/dist/session-controller.d.ts +1 -1
- package/dist/session-controller.js +1 -1
- package/dist/storage.d.ts +1 -1
- package/package.json +5 -5
- package/dist/rpc.js.map +0 -1
package/README.md
CHANGED
|
@@ -36,7 +36,10 @@ request with `EDA_WEB_SOCKET_PROJECTION_HEADER`; the Durable Object still owns
|
|
|
36
36
|
the accepted socket and persists the app projection state through hibernation.
|
|
37
37
|
Do not build a Worker-side WebSocket bridge for protocol translation.
|
|
38
38
|
|
|
39
|
-
Durable Object RPC uses structured clone.
|
|
39
|
+
Durable Object RPC uses structured clone. `edaSessionRpc` exports the input and output
|
|
40
|
+
Schemas for each session method. Public methods accept each input Schema's `Encoded`
|
|
41
|
+
type and return encoded outputs; callers decode responses with the output Schema.
|
|
42
|
+
Snapshot Maps and existing wire fields remain unchanged. Encode Schema class instances before
|
|
40
43
|
passing commands or batches across the Worker-to-object boundary with
|
|
41
44
|
`encodeEdaRpcCommand` or `encodeEdaRpcSubmittables`.
|
|
42
45
|
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { SessionId } from "effect-durable-agent/types/core";
|
|
2
|
-
|
|
3
2
|
//#region src/durable-object-storage.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Minimal synchronous SQL cursor surface used by Cloudflare Durable Object storage.
|
|
@@ -38,4 +37,4 @@ interface DurableObjectSessionStoreOptions {
|
|
|
38
37
|
}
|
|
39
38
|
//#endregion
|
|
40
39
|
export { DurableObjectSqlStorage as i, DurableObjectSessionStoreOptions as n, DurableObjectSqlCursor as r, DurableObjectSessionStorage as t };
|
|
41
|
-
//# sourceMappingURL=durable-object-storage-
|
|
40
|
+
//# sourceMappingURL=durable-object-storage-BZCOHz9p.d.ts.map
|