effect-durable-agent-cloudflare 0.1.0-alpha.17 → 0.1.0-alpha.18

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 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. Encode Schema class instances before
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