@dreamboard-games/sdk 0.4.0-alpha.7 → 0.4.0-alpha.9

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 (112) hide show
  1. package/REFERENCE.md +1292 -287
  2. package/dist/authoring/index.d.ts +4 -9
  3. package/dist/authoring/index.js +11 -547
  4. package/dist/authoring/index.js.map +1 -1
  5. package/dist/authoring-compiler.d.ts +27 -0
  6. package/dist/authoring-compiler.js +12 -0
  7. package/dist/authoring-compiler.js.map +1 -0
  8. package/dist/authoring-materialize-cli.d.ts +1 -0
  9. package/dist/authoring-materialize-cli.js +46 -0
  10. package/dist/authoring-materialize-cli.js.map +1 -0
  11. package/dist/browser-interaction.d.ts +1 -1
  12. package/dist/{chunk-TGMXBRKY.js → chunk-3PFDHTR7.js} +19 -7
  13. package/dist/chunk-3PFDHTR7.js.map +1 -0
  14. package/dist/chunk-45P5CEGH.js +176 -0
  15. package/dist/chunk-45P5CEGH.js.map +1 -0
  16. package/dist/chunk-5XTAQ4EQ.js +32 -0
  17. package/dist/chunk-5XTAQ4EQ.js.map +1 -0
  18. package/dist/chunk-7ADPYKFT.js +532 -0
  19. package/dist/chunk-7ADPYKFT.js.map +1 -0
  20. package/dist/{chunk-RKGJ64UN.js → chunk-BUOODBVO.js} +2 -2
  21. package/dist/{chunk-VLG4YST5.js → chunk-GMOBG7Y7.js} +4 -4
  22. package/dist/{chunk-Q322XCY2.js → chunk-JRGP6W4V.js} +3 -3
  23. package/dist/chunk-L3W2FPRQ.js +1793 -0
  24. package/dist/chunk-L3W2FPRQ.js.map +1 -0
  25. package/dist/{chunk-3QIZKXJ2.js → chunk-NGYFBNBP.js} +3 -3
  26. package/dist/chunk-P6IJ5YVY.js +154 -0
  27. package/dist/chunk-P6IJ5YVY.js.map +1 -0
  28. package/dist/{chunk-5IHU5CUK.js → chunk-QQNL4WTX.js} +25 -22
  29. package/dist/chunk-QQNL4WTX.js.map +1 -0
  30. package/dist/{chunk-52DH7VQF.js → chunk-SACZWUA6.js} +143 -47
  31. package/dist/chunk-SACZWUA6.js.map +1 -0
  32. package/dist/{chunk-KYEWGZ2Y.js → chunk-SFOAY5H4.js} +2 -2
  33. package/dist/{chunk-KYEWGZ2Y.js.map → chunk-SFOAY5H4.js.map} +1 -1
  34. package/dist/chunk-UNVCT5Z7.js +73 -0
  35. package/dist/chunk-UNVCT5Z7.js.map +1 -0
  36. package/dist/{chunk-NO537WSS.js → chunk-WDR7SKBM.js} +2 -2
  37. package/dist/chunk-XDGRC6OR.js +7039 -0
  38. package/dist/chunk-XDGRC6OR.js.map +1 -0
  39. package/dist/chunk-XLHLFTLI.js +399 -0
  40. package/dist/chunk-XLHLFTLI.js.map +1 -0
  41. package/dist/{chunk-B2YBS3SG.js → chunk-YNW3KBDE.js} +41 -13
  42. package/dist/chunk-YNW3KBDE.js.map +1 -0
  43. package/dist/codegen.js +1 -1
  44. package/dist/{components-BTwSIjXj.d.ts → components-BPzsSRs8.d.ts} +1 -1
  45. package/dist/definitions-0kjPV9wh.d.ts +294 -0
  46. package/dist/{diagnostics-1BWjRo6-.d.ts → diagnostics-DIi3ina7.d.ts} +2 -1
  47. package/dist/{index-CFTjJIXd.d.ts → index-CWzWpQzM.d.ts} +1 -1
  48. package/dist/{index.d-DMASeF6M.d.ts → index.d-C7Ztirg6.d.ts} +234 -5
  49. package/dist/index.js +2 -2
  50. package/dist/package-set.d.ts +2 -2
  51. package/dist/package-set.js +2 -2
  52. package/dist/{protocol-835hEGne.d.ts → protocol-B2LWcqB4.d.ts} +14 -0
  53. package/dist/reducer/advanced.d.ts +4 -4
  54. package/dist/reducer/advanced.js +7 -26
  55. package/dist/reducer/advanced.js.map +1 -1
  56. package/dist/reducer-contract.d.ts +1 -1
  57. package/dist/reducer-contract.js +2 -2
  58. package/dist/reducer.d.ts +37 -28
  59. package/dist/reducer.js +43 -6018
  60. package/dist/reducer.js.map +1 -1
  61. package/dist/reference-game-compiler.d.ts +45 -0
  62. package/dist/reference-game-compiler.js +25 -0
  63. package/dist/reference-game-compiler.js.map +1 -0
  64. package/dist/reference-game-source-manifest-cli.d.ts +1 -0
  65. package/dist/reference-game-source-manifest-cli.js +84 -0
  66. package/dist/reference-game-source-manifest-cli.js.map +1 -0
  67. package/dist/reference-games/index.d.ts +7 -217
  68. package/dist/reference-games/index.js +28 -208
  69. package/dist/reference-games/index.js.map +1 -1
  70. package/dist/runtime/primitives.d.ts +3 -3
  71. package/dist/runtime/primitives.js +3 -3
  72. package/dist/runtime/runtime-api.d.ts +1 -1
  73. package/dist/runtime/workspace-contract.d.ts +4 -4
  74. package/dist/runtime/workspace-contract.js +4 -4
  75. package/dist/{runtime-Dkfm1x2r.d.ts → runtime-B_w9AO2n.d.ts} +60 -5
  76. package/dist/{runtime-api-C6aWo9c0.d.ts → runtime-api-xCWLMQRT.d.ts} +2 -0
  77. package/dist/runtime.d.ts +7 -7
  78. package/dist/runtime.js +13 -13
  79. package/dist/schema-9jZzlEWZ.d.ts +220 -0
  80. package/dist/{stale-contract-artifact-error-C5AaZPJ8.d.ts → stale-contract-artifact-error-XLaweZtF.d.ts} +1 -1
  81. package/dist/testing-compiler.d.ts +36 -0
  82. package/dist/testing-compiler.js +236 -0
  83. package/dist/testing-compiler.js.map +1 -0
  84. package/dist/testing-runtime.d.ts +97 -21
  85. package/dist/testing-runtime.js +154 -95
  86. package/dist/testing-runtime.js.map +1 -1
  87. package/dist/testing.d.ts +178 -60
  88. package/dist/testing.js +641 -26
  89. package/dist/testing.js.map +1 -1
  90. package/dist/types-Bvptkukh.d.ts +122 -0
  91. package/dist/{types-aI4V9CWe.d.ts → types-_zfC_7CD.d.ts} +1 -1
  92. package/dist/types.d.ts +4 -0
  93. package/dist/ui/components.d.ts +2 -2
  94. package/dist/ui/plugin-styles.css +1 -1
  95. package/dist/{ui-contract-Ue6SywvO.d.ts → ui-contract-CUC7Lyoc.d.ts} +1 -1
  96. package/dist/ui.d.ts +3 -3
  97. package/dist/{views-32rSsfeU.d.ts → views-DE2eZxPz.d.ts} +42 -13
  98. package/package.json +22 -3
  99. package/dist/chunk-3OZMHZK3.js +0 -40
  100. package/dist/chunk-3OZMHZK3.js.map +0 -1
  101. package/dist/chunk-52DH7VQF.js.map +0 -1
  102. package/dist/chunk-5IHU5CUK.js.map +0 -1
  103. package/dist/chunk-B2YBS3SG.js.map +0 -1
  104. package/dist/chunk-IU6KGPY7.js +0 -659
  105. package/dist/chunk-IU6KGPY7.js.map +0 -1
  106. package/dist/chunk-TGMXBRKY.js.map +0 -1
  107. package/dist/types-DcADVHe9.d.ts +0 -192
  108. /package/dist/{chunk-RKGJ64UN.js.map → chunk-BUOODBVO.js.map} +0 -0
  109. /package/dist/{chunk-VLG4YST5.js.map → chunk-GMOBG7Y7.js.map} +0 -0
  110. /package/dist/{chunk-Q322XCY2.js.map → chunk-JRGP6W4V.js.map} +0 -0
  111. /package/dist/{chunk-3QIZKXJ2.js.map → chunk-NGYFBNBP.js.map} +0 -0
  112. /package/dist/{chunk-NO537WSS.js.map → chunk-WDR7SKBM.js.map} +0 -0
package/dist/testing.d.ts CHANGED
@@ -1,16 +1,20 @@
1
- import { n as SnapshotMatcherHandler, E as ExpectFn, d as InteractionExplanationLike, C as CreateReducerScenarioRunnerOptions, i as ReducerScenarioRunner, j as ReducerScenarioTrace } from './types-DcADVHe9.js';
2
- export { B as BaseContext, a as BaseDefinition, b as ExpectMatchers, I as InteractionAvailabilityLike, c as InteractionDescriptorLike, R as ReducerScenarioBundle, e as ReducerScenarioDiagnostic, f as ReducerScenarioExchange, g as ReducerScenarioFrame, h as ReducerScenarioOperation, k as ReducerScenarioViewer, l as RejectionExpectation, S as ScenarioDefinition, m as SharedScenarioContext, T as TestRunner, o as defineBase, p as defineScenario } from './types-DcADVHe9.js';
3
- import { R as ReducerDiagnosticEvent, D as DispatchTraceSummaryEntry } from './diagnostics-1BWjRo6-.js';
4
- import { w as wire, a as ReducerBundleContract } from './index.d-DMASeF6M.js';
5
- import { p, w, v, t, u } from './protocol-835hEGne.js';
6
- import { R as RuntimeAPI, V as ValidationResult } from './runtime-api-C6aWo9c0.js';
1
+ import { D as SnapshotMatcherHandler, E as ExpectFn, m as ScenarioDefinitionGameLike, v as ScenarioReplayDefinition, h as ScenarioCheckpoint, i as ScenarioCommand } from './definitions-0kjPV9wh.js';
2
+ export { A as AssertScenarioOptions, a as ExpectMatchers, I as InteractionAvailabilityLike, b as InteractionDescriptorLike, c as InteractionExplanationLike, R as RejectionExpectation, d as ReplayScenarioOptions, e as RuntimeParamsOfScenarioCommand, S as ScenarioActor, f as ScenarioAssertionContext, g as ScenarioAuthoring, j as ScenarioCommandOf, k as ScenarioCommandTraceEntry, l as ScenarioDefinition, n as ScenarioDefinitionValidationCode, o as ScenarioDefinitionValidationError, p as ScenarioDiagnostics, q as ScenarioFlowDiagnostics, r as ScenarioProbeAccepted, s as ScenarioProbeRejected, t as ScenarioProbeResult, u as ScenarioReplay, w as ScenarioReplayError, x as ScenarioReplayErrorOptions, y as ScenarioReplaySegment, z as ScenarioSchemaOutput, B as ScenarioSeatRef, C as ScenarioSetup, F as createScenarioAuthoring, G as toScenarioReplayDefinition } from './definitions-0kjPV9wh.js';
3
+ import { R as ReducerDiagnosticEvent } from './diagnostics-DIi3ina7.js';
4
+ import { g as ScenarioIdentity, f as PerspectiveSelector, e as InspectScenarioResult, P as PerspectiveRef, d as InspectNode, i as Sha256Digest, F as FlowDiagnostic, A as ActorRef, a as InspectEntropy, S as ScenarioDispatchTraceEntry } from './types-Bvptkukh.js';
5
+ export { I as InspectAction, b as InspectInteraction, c as InspectInteractionInput, j as assertScenario, p as probeScenarioCommand, r as replayScenario } from './types-Bvptkukh.js';
6
+ import { w as wire, a as ReducerBundleContract } from './index.d-C7Ztirg6.js';
7
7
  import { R as RuntimeJson } from './runtime-json-CQ9QbLZ5.js';
8
+ import { v, t, u, p, w } from './protocol-B2LWcqB4.js';
8
9
  import { z } from 'zod';
9
10
  import { r as BrowserInteractionIntentRequest, l as BrowserInteractionEffectRequest } from './types-DJj5MJkl.js';
10
- import { b as PluginTransport, P as PluginRuntimeClient } from './types-aI4V9CWe.js';
11
+ import { b as PluginTransport, P as PluginRuntimeClient } from './types-_zfC_7CD.js';
11
12
  import * as react_jsx_runtime from 'react/jsx-runtime';
12
13
  import react__default from 'react';
13
- export { S as StaleContractArtifactError, a as StaleContractArtifactErrorOptions, b as StaleContractArtifactKind, i as isStaleContractArtifactError } from './stale-contract-artifact-error-C5AaZPJ8.js';
14
+ export { S as StaleContractArtifactError, a as StaleContractArtifactErrorOptions, b as StaleContractArtifactKind, i as isStaleContractArtifactError } from './stale-contract-artifact-error-XLaweZtF.js';
15
+ import './views-DE2eZxPz.js';
16
+ import './runtime-B_w9AO2n.js';
17
+ import './types.js';
14
18
 
15
19
  type CreateExpectApiOptions = {
16
20
  matchSnapshot?: SnapshotMatcherHandler;
@@ -20,55 +24,169 @@ type CreateExpectApiOptions = {
20
24
  };
21
25
  declare function createExpectApi(options?: CreateExpectApiOptions): ExpectFn;
22
26
 
23
- type ReducerBundleLike = Pick<ReducerBundleContract, "projectSeatsDynamic" | "validateInput" | "dispatch"> & {
24
- explainInteraction?: (input: {
25
- state: wire.ReducerSessionState;
26
- playerId: string;
27
- interactionId: string;
28
- }) => InteractionExplanationLike;
27
+ /** A failed SDK matcher or probe expectation authored in `scenario.then`. */
28
+ declare class ScenarioAssertionError extends Error {
29
+ readonly code: "SCENARIO_ASSERTION_FAILED";
30
+ constructor(message: string);
31
+ }
32
+
33
+ type InspectScenarioOptions<Game extends ScenarioDefinitionGameLike> = {
34
+ readonly game: Game;
35
+ readonly scenario: ScenarioReplayDefinition<Game>;
36
+ readonly identity: ScenarioIdentity;
37
+ readonly perspective: PerspectiveSelector;
38
+ readonly at?: ScenarioCheckpoint;
39
+ readonly seed?: number;
29
40
  };
30
- type DeepReadonly<T> = T extends (...args: readonly unknown[]) => unknown ? T : T extends readonly (infer Item)[] ? readonly DeepReadonly<Item>[] : T extends object ? {
31
- readonly [Key in keyof T]: DeepReadonly<T[Key]>;
32
- } : T;
33
- type BaseStateArtifact = {
34
- snapshot: DeepReadonly<wire.ReducerSessionState>;
35
- fingerprint: {
36
- players: number;
37
- contractFingerprint?: string;
41
+ declare function inspectScenario<const Game extends ScenarioDefinitionGameLike>(options: InspectScenarioOptions<Game>): Promise<InspectScenarioResult>;
42
+
43
+ type ExploreTransitionResult = {
44
+ readonly schemaVersion: 1;
45
+ readonly mode: "transitions";
46
+ readonly scenario: ScenarioIdentity;
47
+ readonly perspective: PerspectiveRef;
48
+ readonly node: InspectNode;
49
+ readonly candidates: readonly {
50
+ readonly ordinal: number;
51
+ readonly command: ScenarioCommand;
52
+ readonly after: {
53
+ readonly checkpointDigest: Sha256Digest;
54
+ readonly flow: FlowDiagnostic;
55
+ readonly publicStateDigest: Sha256Digest;
56
+ readonly viewDigest: Sha256Digest;
57
+ readonly actions: readonly {
58
+ readonly actor: ActorRef;
59
+ readonly interactionId: string;
60
+ }[];
61
+ readonly entropy: InspectEntropy;
62
+ readonly dispatchTrace: readonly ScenarioDispatchTraceEntry[];
63
+ };
64
+ }[];
65
+ readonly omissions: readonly {
66
+ readonly actor: ActorRef;
67
+ readonly interactionId: string;
68
+ readonly code: "INPUT_DOMAIN_NOT_ENUMERABLE" | "INPUT_DOMAIN_BUDGET";
69
+ readonly inputKey?: string;
70
+ }[];
71
+ readonly page: {
72
+ readonly limit: number;
73
+ readonly evaluated: number;
74
+ readonly truncated: boolean;
75
+ readonly nextCursor: string | null;
38
76
  };
39
77
  };
40
- type CreateTestRuntimeOptions = {
41
- baseId: string;
42
- baseStates: Record<string, BaseStateArtifact>;
43
- bundle: ReducerBundleLike;
44
- phase?: string;
45
- playerIds?: readonly string[];
46
- sessionId?: string;
47
- userId?: string | null;
48
- gameId?: string;
49
- displayNameByPlayerId?: Record<string, string>;
50
- contractFingerprint?: string;
51
- expectedBaseStateFingerprint?: string;
78
+ type ExploreSeedResult = {
79
+ readonly schemaVersion: 1;
80
+ readonly mode: "seeds";
81
+ readonly scenario: ScenarioIdentity;
82
+ readonly perspective: PerspectiveRef;
83
+ readonly checkpoint: ScenarioCheckpoint;
84
+ readonly variants: readonly {
85
+ readonly seed: number;
86
+ readonly status: "replayed" | "rejected";
87
+ readonly checkpointDigest?: Sha256Digest;
88
+ readonly entropy?: InspectEntropy;
89
+ readonly observable?: {
90
+ readonly publicState: unknown;
91
+ readonly view: unknown;
92
+ };
93
+ readonly signature?: {
94
+ readonly phase: string;
95
+ readonly step: string | null;
96
+ readonly actions: readonly {
97
+ readonly seat: number;
98
+ readonly interactionId: string;
99
+ readonly concreteOptionCount: number | "lazy";
100
+ }[];
101
+ };
102
+ readonly rejection?: {
103
+ readonly segment: "given" | "when";
104
+ readonly sourceIndex: number;
105
+ readonly interactionId: string;
106
+ readonly errorCode: string;
107
+ };
108
+ }[];
109
+ };
110
+ type ExploreScenarioResult = ExploreTransitionResult | ExploreSeedResult;
111
+
112
+ type SeedRange = {
113
+ readonly start: number;
114
+ readonly end: number;
115
+ };
116
+ type ExploreScenarioOptions<Game extends ScenarioDefinitionGameLike> = Omit<InspectScenarioOptions<Game>, "seed"> & {
117
+ readonly seed?: number;
118
+ readonly seedRange?: SeedRange;
119
+ readonly limit?: number;
120
+ readonly maxEvaluations?: number;
121
+ readonly cursor?: string;
52
122
  };
53
- type CreatedTestRuntime = {
54
- runtime: RuntimeAPI;
55
- getFrame(): p;
56
- getSessionDescriptor(): w;
57
- players(): readonly string[];
58
- seat(index: number): string;
59
- submit(playerId: string, interactionId: string, params?: unknown): Promise<void>;
60
- validate(playerId: string, interactionId: string, params?: unknown): Promise<ValidationResult>;
61
- explain(playerId: string, interactionId: string): InteractionExplanationLike;
62
- diagnostics: {
63
- readonly events: readonly ReducerDiagnosticEvent[];
64
- readonly lastDispatch: {
65
- submissionId: string;
66
- trace: readonly DispatchTraceSummaryEntry[];
67
- } | null;
68
- clear(): void;
123
+ declare function exploreScenario<const Game extends ScenarioDefinitionGameLike>(options: ExploreScenarioOptions<Game>): Promise<ExploreScenarioResult>;
124
+
125
+ type ReducerScenarioBundle = Pick<ReducerBundleContract, "projectSeatsDynamic" | "validateInput" | "dispatch" | "projectStatic">;
126
+ interface ReducerScenarioViewer {
127
+ readonly seatId: string;
128
+ readonly playerId: string;
129
+ }
130
+ interface ReducerScenarioFrame {
131
+ readonly id: string;
132
+ readonly reducerState: wire.ReducerSessionState;
133
+ readonly dynamicProjection: wire.SeatProjectionBundle;
134
+ readonly staticProjection?: wire.BoardStaticProjection | null;
135
+ readonly gameVersion: number;
136
+ readonly actionSetVersion: string;
137
+ readonly projectionDigest: string;
138
+ }
139
+ interface ReducerScenarioTrace {
140
+ readonly scenarioId: string;
141
+ readonly gameId: string;
142
+ readonly viewer: ReducerScenarioViewer;
143
+ readonly frames: readonly ReducerScenarioFrame[];
144
+ readonly exchanges: readonly ReducerScenarioExchange[];
145
+ }
146
+ type ReducerScenarioExchange = {
147
+ readonly id: string;
148
+ readonly operation: "validate";
149
+ readonly fromFrameId: string;
150
+ readonly input: wire.GameInput;
151
+ readonly result: wire.ReducerInputValidationResult;
152
+ } | {
153
+ readonly id: string;
154
+ readonly operation: "submit";
155
+ readonly fromFrameId: string;
156
+ readonly input: wire.GameInput;
157
+ readonly result: {
158
+ readonly kind: "accepted";
159
+ readonly toFrameId: string;
160
+ } | {
161
+ readonly kind: "rejected";
162
+ readonly diagnostics: readonly ReducerScenarioDiagnostic[];
69
163
  };
70
164
  };
71
- declare function createTestRuntime(options: CreateTestRuntimeOptions): CreatedTestRuntime;
165
+ interface ReducerScenarioDiagnostic {
166
+ readonly code: string;
167
+ readonly message: string;
168
+ }
169
+ type ReducerScenarioOperation = {
170
+ readonly id: string;
171
+ readonly operation: "validate";
172
+ readonly input: wire.GameInput;
173
+ } | {
174
+ readonly id: string;
175
+ readonly operation: "submit";
176
+ readonly input: wire.GameInput;
177
+ };
178
+ interface CreateReducerScenarioRunnerOptions {
179
+ readonly scenarioId: string;
180
+ readonly gameId: string;
181
+ readonly initialState: wire.ReducerSessionState;
182
+ readonly bundle: ReducerScenarioBundle;
183
+ readonly viewer: ReducerScenarioViewer;
184
+ readonly playerIds: readonly string[];
185
+ readonly initialGameVersion?: number;
186
+ }
187
+ interface ReducerScenarioRunner {
188
+ run(operations: readonly ReducerScenarioOperation[]): Promise<ReducerScenarioTrace>;
189
+ }
72
190
 
73
191
  declare function createReducerScenarioRunner(options: CreateReducerScenarioRunnerOptions): ReducerScenarioRunner;
74
192
 
@@ -120,9 +238,9 @@ declare const uiReplayRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
120
238
  candidateValueKey: z.ZodOptional<z.ZodString>;
121
239
  actuatorKind: z.ZodOptional<z.ZodEnum<{
122
240
  fill: "fill";
123
- pointer: "pointer";
124
- keyboard: "keyboard";
125
241
  click: "click";
242
+ keyboard: "keyboard";
243
+ pointer: "pointer";
126
244
  }>>;
127
245
  allowDisabled: z.ZodOptional<z.ZodBoolean>;
128
246
  }, z.core.$strict>, z.ZodObject<{
@@ -186,9 +304,9 @@ declare const portableSemanticReplayStepSchema: z.ZodObject<{
186
304
  candidateValueKey: z.ZodOptional<z.ZodString>;
187
305
  actuatorKind: z.ZodOptional<z.ZodEnum<{
188
306
  fill: "fill";
189
- pointer: "pointer";
190
- keyboard: "keyboard";
191
307
  click: "click";
308
+ keyboard: "keyboard";
309
+ pointer: "pointer";
192
310
  }>>;
193
311
  allowDisabled: z.ZodOptional<z.ZodBoolean>;
194
312
  }, z.core.$strict>, z.ZodObject<{
@@ -253,9 +371,9 @@ declare const uiScenarioReplayStepSchema: z.ZodUnion<readonly [z.ZodObject<{
253
371
  candidateValueKey: z.ZodOptional<z.ZodString>;
254
372
  actuatorKind: z.ZodOptional<z.ZodEnum<{
255
373
  fill: "fill";
256
- pointer: "pointer";
257
- keyboard: "keyboard";
258
374
  click: "click";
375
+ keyboard: "keyboard";
376
+ pointer: "pointer";
259
377
  }>>;
260
378
  allowDisabled: z.ZodOptional<z.ZodBoolean>;
261
379
  }, z.core.$strict>, z.ZodObject<{
@@ -366,9 +484,9 @@ declare const uiScenarioFixtureSchema: z.ZodObject<{
366
484
  candidateValueKey: z.ZodOptional<z.ZodString>;
367
485
  actuatorKind: z.ZodOptional<z.ZodEnum<{
368
486
  fill: "fill";
369
- pointer: "pointer";
370
- keyboard: "keyboard";
371
487
  click: "click";
488
+ keyboard: "keyboard";
489
+ pointer: "pointer";
372
490
  }>>;
373
491
  allowDisabled: z.ZodOptional<z.ZodBoolean>;
374
492
  }, z.core.$strict>, z.ZodObject<{
@@ -698,4 +816,4 @@ declare function drag(options: DragReplayStepOptions): UIScenarioReplayStep;
698
816
  declare function submit(options: ReplayStepOptions): UIScenarioReplayStep;
699
817
  declare function assertStep(stepId: string, expect: UIStepExpectation): UIScenarioReplayStep;
700
818
 
701
- export { type CompilePluginProtocolTapeOptions, type CompileUIScenarioFixtureOptions, type CreateFixtureHostHarnessOptions, CreateReducerScenarioRunnerOptions, type CreateTestRuntimeOptions, type CreatedTestRuntime, type DeterministicIdFactory, ExpectFn, type FixtureEnvironmentInit, type FixtureHostEvent, type FixtureHostHarness, FixturePluginRuntime, InteractionExplanationLike, type PluginProtocolTape, type PortableSemanticReplayStep, type ProtocolUIScenarioAuthority, ReducerScenarioRunner, ReducerScenarioTrace, type ReducerUIScenarioAuthority, SnapshotMatcherHandler, type UIFixtureFrame, type UIFixtureProtocolStep, type UIReplayExecution, type UIReplayIdentityCandidate, type UIReplayRequest, type UIResolvedReplayIdentity, type UIScenarioAuthority, type UIScenarioAuthorityKind, type UIScenarioDefinition, type UIScenarioEnvironmentDefinition, type UIScenarioFixture, type UIScenarioFixtureBundleIndex, type UIScenarioReplayStep, type UIStepExpectation, UI_SCENARIO_FIXTURE_BUNDLE_SCHEMA_VERSION, UI_SCENARIO_FIXTURE_PLUGIN_RUNTIME_PROTOCOL, UI_SCENARIO_FIXTURE_SCHEMA_VERSION, UI_SCENARIO_FIXTURE_SUPPORTED_BROWSER_PROTOCOL_MAJOR, activate, assertDeterministicUIScenarioFixture, assertStep, assertSupportedBrowserInteractionProtocol, assertUIStepExpectationSatisfied, assertUniqueReplayIdentity, canonicalUIFixtureJson, canonicalizeUIFixtureJson, canonicalizeUIScenarioFixture, compareUIParityObservations, compilePluginProtocolTape, compileUIScenarioFixture, createDeterministicIdFactory, createExpectApi, createFixtureHostHarness, createReducerScenarioRunner, createTestRuntime, createUIParityObservationFromFixture, defaultFixtureEnvironmentInit, defineUIScenario, digestPluginProtocolTape, digestUIFixtureJson, digestUIFixtureRequest, digestUIFixtureTransportRequest, digestUIScenarioFixture, drag, fill, fixtureEnvironmentInitFor, isSha256Digest, parseUIParityObservationV1, parseUIScenarioFixture, parseUIScenarioFixtureBundleIndex, pluginProtocolTapeSchema, portableSemanticReplayStepSchema, press, serializeUIScenarioFixture, submit, uiFixtureFrameSchema, uiFixtureProtocolStepSchema, uiReplayExecutionSchema, uiReplayRequestSchema, uiResolvedReplayIdentitySchema, uiScenarioFixtureBundleIndexSchema, uiScenarioFixtureSchema, uiScenarioReplayStepSchema, uiStepExpectationSchema };
819
+ export { ActorRef, type CompilePluginProtocolTapeOptions, type CompileUIScenarioFixtureOptions, type CreateFixtureHostHarnessOptions, type CreateReducerScenarioRunnerOptions, type DeterministicIdFactory, ExpectFn, type ExploreScenarioOptions, type ExploreScenarioResult, type ExploreSeedResult, type ExploreTransitionResult, type FixtureEnvironmentInit, type FixtureHostEvent, type FixtureHostHarness, FixturePluginRuntime, FlowDiagnostic, InspectEntropy, InspectNode, type InspectScenarioOptions, InspectScenarioResult, PerspectiveRef, PerspectiveSelector, type PluginProtocolTape, type PortableSemanticReplayStep, type ProtocolUIScenarioAuthority, type ReducerScenarioBundle, type ReducerScenarioDiagnostic, type ReducerScenarioExchange, type ReducerScenarioFrame, type ReducerScenarioOperation, type ReducerScenarioRunner, type ReducerScenarioTrace, type ReducerScenarioViewer, type ReducerUIScenarioAuthority, ScenarioAssertionError, ScenarioCheckpoint, ScenarioCommand, ScenarioDispatchTraceEntry, ScenarioIdentity, ScenarioReplayDefinition, Sha256Digest, SnapshotMatcherHandler, type UIFixtureFrame, type UIFixtureProtocolStep, type UIReplayExecution, type UIReplayIdentityCandidate, type UIReplayRequest, type UIResolvedReplayIdentity, type UIScenarioAuthority, type UIScenarioAuthorityKind, type UIScenarioDefinition, type UIScenarioEnvironmentDefinition, type UIScenarioFixture, type UIScenarioFixtureBundleIndex, type UIScenarioReplayStep, type UIStepExpectation, UI_SCENARIO_FIXTURE_BUNDLE_SCHEMA_VERSION, UI_SCENARIO_FIXTURE_PLUGIN_RUNTIME_PROTOCOL, UI_SCENARIO_FIXTURE_SCHEMA_VERSION, UI_SCENARIO_FIXTURE_SUPPORTED_BROWSER_PROTOCOL_MAJOR, activate, assertDeterministicUIScenarioFixture, assertStep, assertSupportedBrowserInteractionProtocol, assertUIStepExpectationSatisfied, assertUniqueReplayIdentity, canonicalUIFixtureJson, canonicalizeUIFixtureJson, canonicalizeUIScenarioFixture, compareUIParityObservations, compilePluginProtocolTape, compileUIScenarioFixture, createDeterministicIdFactory, createExpectApi, createFixtureHostHarness, createReducerScenarioRunner, createUIParityObservationFromFixture, defaultFixtureEnvironmentInit, defineUIScenario, digestPluginProtocolTape, digestUIFixtureJson, digestUIFixtureRequest, digestUIFixtureTransportRequest, digestUIScenarioFixture, drag, exploreScenario, fill, fixtureEnvironmentInitFor, inspectScenario, isSha256Digest, parseUIParityObservationV1, parseUIScenarioFixture, parseUIScenarioFixtureBundleIndex, pluginProtocolTapeSchema, portableSemanticReplayStepSchema, press, serializeUIScenarioFixture, submit, uiFixtureFrameSchema, uiFixtureProtocolStepSchema, uiReplayExecutionSchema, uiReplayRequestSchema, uiResolvedReplayIdentitySchema, uiScenarioFixtureBundleIndexSchema, uiScenarioFixtureSchema, uiScenarioReplayStepSchema, uiStepExpectationSchema };