@statelyai/sdk 0.31.0 → 0.31.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/README.md +9 -0
- package/dist/assetStorage.d.mts +1 -1
- package/dist/{dist-BQEaIgBI.mjs → dist-wbhkeGh6.mjs} +356 -71
- package/dist/{editorHostSession-Dm5i4mg_.mjs → editorHostSession-DfmHzpls.mjs} +17 -8
- package/dist/{editorHostSession-BHr3WBHT.d.mts → editorHostSession-UdKBWr0I.d.mts} +12 -1
- package/dist/editorHostSession.d.mts +1 -1
- package/dist/editorHostSession.mjs +2 -2
- package/dist/embed.d.mts +6 -4
- package/dist/embed.mjs +2 -1
- package/dist/{graph-CehpcL7P.d.mts → graph-CR_g-mOq.d.mts} +1 -1
- package/dist/graph.d.mts +1 -1
- package/dist/{index-ZlKF1x_z.d.mts → index-DlOZxzrW.d.mts} +12 -1
- package/dist/index.d.mts +6 -6
- package/dist/index.mjs +4 -4
- package/dist/{inspect-BgYRNJF9.d.mts → inspect-DVRwYKva.d.mts} +3 -1
- package/dist/{inspect-BD6fDWzd.mjs → inspect-Dcjy_T2E.mjs} +25 -1
- package/dist/inspect.d.mts +2 -2
- package/dist/inspect.mjs +2 -2
- package/dist/patchTypes.d.mts +1 -1
- package/dist/{protocol-DOt1Vz-5.d.mts → protocol-DC7XJtw_.d.mts} +21 -4
- package/dist/protocol.d.mts +2 -2
- package/dist/relay.d.mts +1 -1
- package/dist/{studio-GZ6E_xns.d.mts → studio-DV5IIGhV.d.mts} +1 -1
- package/dist/studio.d.mts +1 -1
- package/dist/sync.d.mts +2 -2
- package/dist/sync.mjs +347 -13
- package/dist/{version-DbnY8nLV.mjs → version-CsJTVKWN.mjs} +2 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -247,6 +247,15 @@ const inspector = createInspector({
|
|
|
247
247
|
});
|
|
248
248
|
```
|
|
249
249
|
|
|
250
|
+
Actor IDs are preserved exactly. Unnamed invocations can carry a separate
|
|
251
|
+
`displayName`, derived from the parent machine's resolved invocation declaration
|
|
252
|
+
(for example, `fetchPolicies · account.loading`). Explicit invocation IDs take
|
|
253
|
+
precedence. This is tested against XState v5 and v6; no generated-ID syntax is
|
|
254
|
+
assumed. Older producers and runtimes without matching metadata display their
|
|
255
|
+
original IDs. Hover an actor label in the viewer to see its runtime ID.
|
|
256
|
+
Actors without a machine state value show their snapshot status (Active, Done,
|
|
257
|
+
Error, or Stopped); “Awaiting snapshot” means no snapshot has arrived.
|
|
258
|
+
|
|
250
259
|
For persisted actors, `resolveSessionId` can keep one producer-local identity
|
|
251
260
|
across sequential restore/resume incarnations. Generate a new id for a new
|
|
252
261
|
logical invocation, persist it beside the actor snapshot, and reuse it only
|
package/dist/assetStorage.d.mts
CHANGED