@statelyai/sdk 0.34.2 → 0.35.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.
Files changed (39) hide show
  1. package/README.md +17 -34
  2. package/dist/assetStorage.d.mts +1 -1
  3. package/dist/auth.d.mts +14 -1
  4. package/dist/bin.mjs +1 -3
  5. package/dist/editor-sync-types-DNFk7Xtj.d.mts +53 -0
  6. package/dist/editorHostProtocol.d.mts +197 -0
  7. package/dist/{editorHostProtocol-B2_t3Le7.mjs → editorHostProtocol.mjs} +1 -1
  8. package/dist/embed.d.mts +3 -3
  9. package/dist/embed.mjs +2 -2
  10. package/dist/{graph-DVfx7FwN.d.mts → graph-B6xUxqR5.d.mts} +1 -1
  11. package/dist/graph.d.mts +1 -1
  12. package/dist/{index-A5CMACoO.d.mts → index-CoxF4Saw.d.mts} +8 -255
  13. package/dist/index.d.mts +8 -31
  14. package/dist/index.mjs +5 -9
  15. package/dist/{inspect-DBH9oOAd.d.mts → inspect-DCdu0ST3.d.mts} +1 -1
  16. package/dist/{inspect-ZVDq9tK2.mjs → inspect-GSXRhzOx.mjs} +1 -1
  17. package/dist/inspect.d.mts +2 -2
  18. package/dist/inspect.mjs +2 -2
  19. package/dist/patchTypes.d.mts +1 -1
  20. package/dist/{protocol-CCf9j_SZ.d.mts → protocol-nOWsz3UV.d.mts} +3 -3
  21. package/dist/protocol.d.mts +1 -1
  22. package/dist/relay.d.mts +1 -1
  23. package/dist/{studio-CFN3-0-2.d.mts → studio-3ujfe2z0.d.mts} +2 -2
  24. package/dist/{openapi-BTDjYWXd.mjs → studio-Bn3alVku.mjs} +637 -1
  25. package/dist/studio.d.mts +1 -1
  26. package/dist/studio.mjs +2 -2
  27. package/dist/{version-CUFh-PYe.mjs → version-DECst76A.mjs} +1 -1
  28. package/package.json +18 -14
  29. package/dist/auth-CVFc85uF.d.mts +0 -15
  30. package/dist/dist-DsOTTfYv.mjs +0 -8361
  31. package/dist/editor-sync-types-D7YYz6fb.d.mts +0 -98
  32. package/dist/editorHostSession-DCTHhBqC.mjs +0 -912
  33. package/dist/editorHostSession-yGUKdLjq.d.mts +0 -325
  34. package/dist/editorHostSession.d.mts +0 -2
  35. package/dist/editorHostSession.mjs +0 -6
  36. package/dist/statelyPragma-YtVaBuIe.mjs +0 -102
  37. package/dist/studio-BZP6DaIO.mjs +0 -638
  38. package/dist/sync.d.mts +0 -86
  39. package/dist/sync.mjs +0 -4646
package/README.md CHANGED
@@ -109,22 +109,14 @@ restricted embeds.
109
109
  Use `access-unverified` when reopening or signing in, rather than upgrading, is
110
110
  the appropriate recovery action.
111
111
 
112
- ### Editor hosts
113
-
114
- <!-- shared editor host session and protocol from src/editorHostSession.ts and src/editorHostProtocol.ts -->
115
-
116
- CLI and editor-extension hosts use `EditorHostSession` from
117
- `@statelyai/sdk/editor-host` for initialization, saves, source refreshes,
118
- clipboard requests, and editor protocol negotiation. Use
119
- `createRemoteEditorSyncBackend` for two-way validation of the versioned Editor
120
- Sync HTTP contract.
121
- Remote authentication failures are surfaced as `EditorSyncError` with HTTP
122
- status and protocol error code metadata so hosts can refresh credentials and
123
- retry once without depending on response-message text.
124
- Source write and refresh failures include an `EditorHostDiagnostic` with a
125
- unique diagnostic ID, phase, and structured details so host logs can be shared
126
- without exposing source text by default.
127
- Hosts keep ownership of files, credentials, UI, and transport adapters.
112
+ ### Editor host protocol
113
+
114
+ <!-- shared editor protocol from src/editorHostProtocol.ts and private host implementation from ../editor-sync/src/host.ts -->
115
+
116
+ `@statelyai/sdk/editor-host-protocol` provides the versioned messages and types
117
+ used by editor hosts. The private `@statelyai/editor-sync` package coordinates
118
+ CLI and VS Code source editing. Application developers use the embed API below
119
+ without a TypeScript compiler or source writeback dependency.
128
120
 
129
121
  <!-- supported editor export formats from packages/editor/src/formatConfig.ts -->
130
122
 
@@ -223,11 +215,9 @@ Resource operations always require a credential.
223
215
  Stream live actor-system state to the hosted Stately inspector. Zero-config
224
216
  inspection needs no API key or local relay.
225
217
 
226
- For an app that only needs actor inspection, install
227
- [`@statelyai/inspector`](../inspector) instead. It provides the same
228
- `createInspector` API without installing the SDK's source-sync, graph, and Node
229
- relay dependencies. In the examples below, import from `@statelyai/inspector`
230
- when using that package.
218
+ Install `@statelyai/sdk` for inspection. Source editing and the TypeScript
219
+ compiler are confined to the private Editor Sync package. The Node relay's `ws`
220
+ peer is optional for other SDK users.
231
221
 
232
222
  `selectedSessionId` takes the exact session id: `actor.sessionId` for runtime
233
223
  actors (or your `resolveSessionId` result), and `${producerId}:${id}` for manual
@@ -379,8 +369,8 @@ WebSocket UTF-8 length limit.
379
369
 
380
370
  ### CLI and sync
381
371
 
382
- <!-- CLI package identity and commands from ../cli/package.json, ../cli/src/cli.ts#COMMANDS, and src/sync.ts#pullSync -->
383
- <!-- linked-machine read-merge behavior from src/sync.ts#pushLocalMachineLinks and src/sync.ts#pushSync -->
372
+ <!-- CLI package identity and commands from ../cli/package.json, ../cli/src/cli.ts#COMMANDS, and ../editor-sync/src/sync.ts#pullSync -->
373
+ <!-- linked-machine read-merge behavior from ../editor-sync/src/sync.ts#pushLocalMachineLinks and ../editor-sync/src/sync.ts#pushSync -->
384
374
 
385
375
  The separate [`statelyai`](https://www.npmjs.com/package/statelyai) CLI lists
386
376
  local XState machines without authentication and can connect them to Stately
@@ -413,19 +403,12 @@ patches. Comments, imports, helpers, and implementation bodies outside the
413
403
  changed machine regions remain intact. `force: true` on `pullSync` allows full
414
404
  regeneration when the source cannot be reconciled safely.
415
405
 
416
- ### Graph and codegen helpers
406
+ ### Graph conversion
417
407
 
418
- <!-- graph conversion and codegen exports from src/graph.ts and src/index.ts -->
408
+ <!-- graph conversion exports from src/graph.ts and src/index.ts -->
419
409
 
420
- Convert between Studio graph data, XState machine configs, and TypeScript
421
- source with `graphToXStateTS`. `graphToXStateTSResult` also reports code leaves
422
- that a profile replaced to keep an export syntactically valid;
423
- `getProfileCodeIssues` inspects them without exporting, and
424
- `recoverInvalidProfileCode` applies the profile's exact fallback functions to a
425
- copy. Source-location documents retain authored code instead of applying these
426
- export-only stubs. Use `graphToXStateFSM` for a flat `createFSM` projection and
427
- `getXStateFSMCompatibilityIssues` before exporting to report semantics that the
428
- compact FSM cannot represent. Generate types from JSON Schema.
410
+ `fromStudioMachine` and `toStudioMachine` convert Studio machine records to and
411
+ from graph data. Source generation is part of the private Editor Sync workflow.
429
412
 
430
413
  ## Support
431
414
 
@@ -1,4 +1,4 @@
1
- import { Gt as UploadResult } from "./protocol-CCf9j_SZ.mjs";
1
+ import { Gt as UploadResult } from "./protocol-nOWsz3UV.mjs";
2
2
 
3
3
  //#region src/assetStorage.d.ts
4
4
  interface AssetUploadContext {
package/dist/auth.d.mts CHANGED
@@ -1,2 +1,15 @@
1
- import { i as getCredentialToken, n as StatelyCredential, r as createAuthorizationHeader, t as StatelyAuthMode } from "./auth-CVFc85uF.mjs";
1
+ //#region src/auth.d.ts
2
+ type StatelyCredential = {
3
+ type: 'api_key';
4
+ token: string;
5
+ } | {
6
+ type: 'oauth';
7
+ accessToken: string;
8
+ refreshToken?: string;
9
+ expiresAt?: number;
10
+ };
11
+ type StatelyAuthMode = 'auto' | 'none' | 'bearer';
12
+ declare function getCredentialToken(credential: StatelyCredential | string | null | undefined): string | undefined;
13
+ declare function createAuthorizationHeader(credential: StatelyCredential | string): string;
14
+ //#endregion
2
15
  export { StatelyAuthMode, StatelyCredential, createAuthorizationHeader, getCredentialToken };
package/dist/bin.mjs CHANGED
@@ -1,7 +1,4 @@
1
1
  #!/usr/bin/env node
2
- import "./protocol-BsBGRISR.mjs";
3
- import { createNodeInspectionRelay } from "./node-relay.mjs";
4
-
5
2
  //#region src/bin.ts
6
3
  function readFlag(name, fallback) {
7
4
  const index = process.argv.indexOf(`--${name}`);
@@ -14,6 +11,7 @@ async function main() {
14
11
  process.exitCode = command ? 1 : 0;
15
12
  return;
16
13
  }
14
+ const { createNodeInspectionRelay } = await import("./node-relay.mjs");
17
15
  const relay = createNodeInspectionRelay({
18
16
  host: readFlag("host", process.env.STATELY_HOST ?? "127.0.0.1"),
19
17
  port: Number(readFlag("port", process.env.STATELY_PORT ?? "4242")),
@@ -0,0 +1,53 @@
1
+ //#region ../api-contract/dist/editor-sync-types.d.mts
2
+ //#region src/editor-sync-types.d.ts
3
+ interface EditorCapabilities {
4
+ edit?: boolean;
5
+ export?: boolean;
6
+ ai?: boolean;
7
+ simulate?: boolean;
8
+ inspect?: boolean;
9
+ maxDepth?: number;
10
+ panels?: string[];
11
+ commands?: string[];
12
+ }
13
+ interface EditorSyncSourceRange {
14
+ startLine: number;
15
+ startChar: number;
16
+ endLine: number;
17
+ endChar: number;
18
+ }
19
+ interface EditorSyncSourceLocation {
20
+ uri: string;
21
+ range: EditorSyncSourceRange;
22
+ }
23
+ interface EditorSyncStateSourceLocation extends EditorSyncSourceLocation {
24
+ path: string[];
25
+ kind: 'inline' | 'objectReference' | 'createStateConfig';
26
+ symbol?: string;
27
+ keyRange?: EditorSyncSourceRange;
28
+ referenceRange?: EditorSyncSourceRange;
29
+ keySource?: {
30
+ kind: 'const' | 'enumMember' | 'computedLiteral';
31
+ symbol?: string;
32
+ valueRange?: EditorSyncSourceRange;
33
+ machineLocal?: boolean;
34
+ };
35
+ keyReplacementText?: string;
36
+ }
37
+ interface MachineSourceLocations {
38
+ version: 1;
39
+ profile?: 'xstate-v5' | 'xstate-v6-alpha';
40
+ profileRef?: `@statelyai/xstate@${string}`;
41
+ root?: EditorSyncSourceLocation;
42
+ statesObject?: EditorSyncStateSourceLocation;
43
+ states: EditorSyncStateSourceLocation[];
44
+ staticValues?: Array<EditorSyncSourceLocation & {
45
+ value: string;
46
+ }>;
47
+ transitionFunctions?: Array<EditorSyncSourceLocation & {
48
+ symbol: string;
49
+ sourcePaths: string[][];
50
+ }>;
51
+ }
52
+ //#endregion
53
+ export { MachineSourceLocations as a, EditorSyncStateSourceLocation as i, EditorSyncSourceLocation as n, EditorSyncSourceRange as r, EditorCapabilities as t };
@@ -0,0 +1,197 @@
1
+ import { Q as ProjectEmbedMachine, an as EmbedPanelConfig, lt as ProjectWorkspaceConfig } from "./protocol-nOWsz3UV.mjs";
2
+ import { a as MachineSourceLocations, t as EditorCapabilities } from "./editor-sync-types-DNFk7Xtj.mjs";
3
+
4
+ //#region src/editorHostProtocol.d.ts
5
+ declare const EDITOR_PROTOCOL_VERSION = 1;
6
+ type EditorHostDiagnostic = {
7
+ id: string;
8
+ code: string;
9
+ phase: 'initialize' | 'save' | 'update' | 'export';
10
+ timestamp: string;
11
+ details?: Record<string, unknown>;
12
+ };
13
+ type EditorHostExportFormat = 'xstate-v6' | 'xstate' | 'async' | 'xstate-json' | 'xgraph' | 'digraph' | 'd2' | 'mermaid' | 'redux' | 'zustand' | 'asl-json' | 'asl-yaml' | 'scxml';
14
+ interface EditorHostValidationIssue {
15
+ nodeIds: string[];
16
+ edgeIds: string[];
17
+ level: 'info' | 'warning' | 'error';
18
+ message: string;
19
+ }
20
+ type EditorHostInboundMessage = {
21
+ type: '@statelyai.ready';
22
+ version?: string;
23
+ protocolVersion?: number;
24
+ } | {
25
+ type: '@statelyai.loaded';
26
+ graph: unknown;
27
+ machineId?: string;
28
+ sourceLocations?: MachineSourceLocations;
29
+ } | {
30
+ type: '@statelyai.change';
31
+ graph: unknown;
32
+ machineConfig: unknown;
33
+ machineId?: string;
34
+ patches?: unknown[];
35
+ sourceLocations?: MachineSourceLocations;
36
+ } | {
37
+ type: '@statelyai.save';
38
+ requestId?: string;
39
+ graph: unknown;
40
+ machineConfig: unknown;
41
+ machineId?: string;
42
+ patches?: unknown[];
43
+ validations?: EditorHostValidationIssue[];
44
+ sourceLocations?: MachineSourceLocations;
45
+ sourceUpdateStrategy?: 'preserve' | 'rewrite';
46
+ } | {
47
+ type: '@statelyai.refresh';
48
+ machineId?: string;
49
+ } | {
50
+ type: '@statelyai.retrieved';
51
+ requestId: string;
52
+ data: unknown;
53
+ machineId?: string;
54
+ } | {
55
+ type: '@statelyai.error';
56
+ code: string;
57
+ message: string;
58
+ machineId?: string;
59
+ requestId?: string;
60
+ diagnostic?: EditorHostDiagnostic;
61
+ } | {
62
+ type: '@statelyai.clipboardRead';
63
+ requestId: string;
64
+ } | {
65
+ type: '@statelyai.clipboardWrite';
66
+ requestId: string;
67
+ text: string;
68
+ } | {
69
+ type: '@statelyai.project.machineSelected';
70
+ machineId: string;
71
+ } | {
72
+ type: '@statelyai.project.workspaceAction';
73
+ actionId: string;
74
+ projectId?: string;
75
+ machineId?: string;
76
+ data?: unknown;
77
+ } | {
78
+ type: '@statelyai.project.workspaceOpenChanged';
79
+ open: boolean;
80
+ };
81
+ interface EditorHostInitOptions {
82
+ settings?: Record<string, unknown>;
83
+ panels?: EmbedPanelConfig[];
84
+ /** @deprecated Use `panels`. */
85
+ leftPanels?: string[];
86
+ /** @deprecated Use `panels`. */
87
+ rightPanels?: string[];
88
+ /** @deprecated Use `panels[].initiallyOpen`. */
89
+ activePanels?: string[];
90
+ unsavedIndicator?: {
91
+ enabled?: boolean;
92
+ mode?: 'structural' | 'all';
93
+ };
94
+ }
95
+ type EditorHostOutboundMessage = {
96
+ type: '@statelyai.init';
97
+ machine: unknown;
98
+ format?: string;
99
+ mode?: 'editing' | 'viewing';
100
+ theme?: 'light' | 'dark';
101
+ readOnly?: boolean;
102
+ readOnlyReason?: 'free-plan' | 'access-unverified';
103
+ capabilities?: EditorCapabilities;
104
+ sourceLocations?: MachineSourceLocations;
105
+ settings?: Record<string, unknown>;
106
+ panels?: EmbedPanelConfig[]; /** @deprecated Use `panels`. */
107
+ leftPanels?: string[]; /** @deprecated Use `panels`. */
108
+ rightPanels?: string[]; /** @deprecated Use `panels[].initiallyOpen`. */
109
+ activePanels?: string[];
110
+ unsavedIndicator?: {
111
+ enabled?: boolean;
112
+ mode?: 'structural' | 'all';
113
+ };
114
+ } | {
115
+ type: '@statelyai.project.init';
116
+ machines: ProjectEmbedMachine[];
117
+ chrome?: {
118
+ header?: boolean;
119
+ };
120
+ currentMachineId?: string;
121
+ mode?: 'editing' | 'viewing';
122
+ theme?: 'light' | 'dark';
123
+ readOnly?: boolean;
124
+ readOnlyReason?: 'free-plan' | 'access-unverified';
125
+ capabilities?: EditorCapabilities;
126
+ projectWorkspace?: ProjectWorkspaceConfig;
127
+ projectWorkspaceOpen?: boolean;
128
+ settings?: Record<string, unknown>;
129
+ panels?: EmbedPanelConfig[];
130
+ unsavedIndicator?: {
131
+ enabled?: boolean;
132
+ mode?: 'structural' | 'all';
133
+ };
134
+ } | {
135
+ type: '@statelyai.project.update';
136
+ machines: ProjectEmbedMachine[];
137
+ source?: 'external';
138
+ currentMachineId?: string;
139
+ projectWorkspace?: ProjectWorkspaceConfig;
140
+ projectWorkspaceOpen?: boolean;
141
+ } | {
142
+ type: '@statelyai.project.selectMachine';
143
+ machineId: string;
144
+ } | {
145
+ type: '@statelyai.setApiKey';
146
+ apiKey: string;
147
+ } | {
148
+ type: '@statelyai.handshake';
149
+ protocolVersion: number;
150
+ client?: {
151
+ name: string;
152
+ version: string;
153
+ };
154
+ } | {
155
+ type: '@statelyai.update';
156
+ machine: unknown;
157
+ format?: string;
158
+ machineId?: string;
159
+ sourceLocations?: MachineSourceLocations;
160
+ } | {
161
+ type: '@statelyai.saved';
162
+ requestId?: string;
163
+ graph: unknown;
164
+ machineId?: string;
165
+ } | {
166
+ type: '@statelyai.retrieve';
167
+ requestId: string;
168
+ format: EditorHostExportFormat;
169
+ machineId?: string;
170
+ } | {
171
+ type: '@statelyai.toast';
172
+ message: string;
173
+ toastType?: 'success' | 'error' | 'info' | 'warning';
174
+ id?: string;
175
+ machineId?: string;
176
+ } | {
177
+ type: '@statelyai.toast.dismiss';
178
+ id: string;
179
+ machineId?: string;
180
+ } | {
181
+ type: '@statelyai.error';
182
+ code: string;
183
+ message: string;
184
+ machineId?: string;
185
+ requestId?: string;
186
+ diagnostic?: EditorHostDiagnostic;
187
+ } | {
188
+ type: '@statelyai.clipboardReadResponse';
189
+ requestId: string;
190
+ text: string;
191
+ } | {
192
+ type: '@statelyai.clipboardWriteResponse';
193
+ requestId: string;
194
+ ok: boolean;
195
+ };
196
+ //#endregion
197
+ export { EDITOR_PROTOCOL_VERSION, EditorHostDiagnostic, EditorHostExportFormat, EditorHostInboundMessage, EditorHostInitOptions, EditorHostOutboundMessage, EditorHostValidationIssue };
@@ -2,4 +2,4 @@
2
2
  const EDITOR_PROTOCOL_VERSION = 1;
3
3
 
4
4
  //#endregion
5
- export { EDITOR_PROTOCOL_VERSION as t };
5
+ export { EDITOR_PROTOCOL_VERSION };
package/dist/embed.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- import { i as ProfileManifest } from "./index-A5CMACoO.mjs";
2
- import { i as StatelyGraph } from "./graph-DVfx7FwN.mjs";
3
- import { D as ExportCallOptions, F as InitOptions, G as MachineInitOptions, Gt as UploadResult, J as MachineVersionAutoSaveOptions, O as ExportFormat, Q as ProjectEmbedMachine, S as EmbedExtensionsManifest, Yt as ViewerOptions, _ as EmbedDocumentLanguage, an as EmbedPanelConfig, at as ProjectWorkspaceAction, b as EmbedEventName, ct as ProjectWorkspaceCapabilities, d as CommentsConfig, dt as ProjectWorkspaceMachineOrigin, et as ProjectInitOptions, g as EmbedDocument, k as ExportFormatMap, lt as ProjectWorkspaceConfig, m as EditorCapabilities, on as EmbedPanelPosition, ot as ProjectWorkspaceActionIcon, pt as ProjectWorkspaceProject, q as MachineSourceLocations, r as CapabilityDeniedEvent, ut as ProjectWorkspaceMachine, v as EmbedEventHandler, w as EmbedMode, y as EmbedEventMap } from "./protocol-CCf9j_SZ.mjs";
1
+ import { n as ProfileManifest } from "./index-CoxF4Saw.mjs";
2
+ import { i as StatelyGraph } from "./graph-B6xUxqR5.mjs";
3
+ import { D as ExportCallOptions, F as InitOptions, G as MachineInitOptions, Gt as UploadResult, J as MachineVersionAutoSaveOptions, O as ExportFormat, Q as ProjectEmbedMachine, S as EmbedExtensionsManifest, Yt as ViewerOptions, _ as EmbedDocumentLanguage, an as EmbedPanelConfig, at as ProjectWorkspaceAction, b as EmbedEventName, ct as ProjectWorkspaceCapabilities, d as CommentsConfig, dt as ProjectWorkspaceMachineOrigin, et as ProjectInitOptions, g as EmbedDocument, k as ExportFormatMap, lt as ProjectWorkspaceConfig, m as EditorCapabilities, on as EmbedPanelPosition, ot as ProjectWorkspaceActionIcon, pt as ProjectWorkspaceProject, q as MachineSourceLocations, r as CapabilityDeniedEvent, ut as ProjectWorkspaceMachine, v as EmbedEventHandler, w as EmbedMode, y as EmbedEventMap } from "./protocol-nOWsz3UV.mjs";
4
4
  import { AssetUploadAdapter } from "./assetStorage.mjs";
5
5
 
6
6
  //#region src/embed.d.ts
package/dist/embed.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./protocol-BsBGRISR.mjs";
2
- import { c as createPendingExportManager, l as settingsWithViewMode, r as createPostMessageTransport, s as createEventRegistry, t as SDK_VERSION, u as toInitMessage } from "./version-CUFh-PYe.mjs";
3
- import { t as EDITOR_PROTOCOL_VERSION } from "./editorHostProtocol-B2_t3Le7.mjs";
2
+ import { c as createPendingExportManager, l as settingsWithViewMode, r as createPostMessageTransport, s as createEventRegistry, t as SDK_VERSION, u as toInitMessage } from "./version-DECst76A.mjs";
3
+ import { EDITOR_PROTOCOL_VERSION } from "./editorHostProtocol.mjs";
4
4
 
5
5
  //#region src/embed.ts
6
6
  function isRecord(value) {
@@ -1,4 +1,4 @@
1
- import { t as CodeExpression } from "./index-A5CMACoO.mjs";
1
+ import { t as CodeExpression } from "./index-CoxF4Saw.mjs";
2
2
  import * as _statelyai_graph0 from "@statelyai/graph";
3
3
  import { Graph } from "@statelyai/graph";
4
4
 
package/dist/graph.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { _ as studioMachineConverter, a as StatelyGraphData, c as StatelyInvoke, d as StudioAction, f as StudioEdge, g as fromStudioMachine, h as StudioNode, i as StatelyGraph, l as StatelyNodeData, m as StudioMachine, n as StatelyActorImplementation, o as StatelyGuard, p as StudioEventTypeData, r as StatelyEdgeData, s as StatelyImplementation, t as StatelyAction, u as StatelyTagImplementation, v as toStudioMachine } from "./graph-DVfx7FwN.mjs";
1
+ import { _ as studioMachineConverter, a as StatelyGraphData, c as StatelyInvoke, d as StudioAction, f as StudioEdge, g as fromStudioMachine, h as StudioNode, i as StatelyGraph, l as StatelyNodeData, m as StudioMachine, n as StatelyActorImplementation, o as StatelyGuard, p as StudioEventTypeData, r as StatelyEdgeData, s as StatelyImplementation, t as StatelyAction, u as StatelyTagImplementation, v as toStudioMachine } from "./graph-B6xUxqR5.mjs";
2
2
  export { StatelyAction, StatelyActorImplementation, StatelyEdgeData, StatelyGraph, StatelyGraphData, StatelyGuard, StatelyImplementation, StatelyInvoke, StatelyNodeData, StatelyTagImplementation, StudioAction, StudioEdge, StudioEventTypeData, StudioMachine, StudioNode, fromStudioMachine, studioMachineConverter, toStudioMachine };