@godot-mcp/protocol 0.0.0 → 0.1.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 (65) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +105 -2
  3. package/dist/canonicalJson.d.ts +4 -0
  4. package/dist/canonicalJson.d.ts.map +1 -0
  5. package/dist/canonicalJson.js +68 -0
  6. package/dist/canonicalJson.js.map +1 -0
  7. package/dist/editor.d.ts +130 -0
  8. package/dist/editor.d.ts.map +1 -0
  9. package/dist/editor.js +179 -0
  10. package/dist/editor.js.map +1 -0
  11. package/dist/editorAuthoring.d.ts +246 -0
  12. package/dist/editorAuthoring.d.ts.map +1 -0
  13. package/dist/editorAuthoring.js +132 -0
  14. package/dist/editorAuthoring.js.map +1 -0
  15. package/dist/editorMutation.d.ts +1239 -0
  16. package/dist/editorMutation.d.ts.map +1 -0
  17. package/dist/editorMutation.js +178 -0
  18. package/dist/editorMutation.js.map +1 -0
  19. package/dist/index.d.ts +14 -0
  20. package/dist/index.d.ts.map +1 -0
  21. package/dist/index.js +14 -0
  22. package/dist/index.js.map +1 -0
  23. package/dist/input.d.ts +1414 -0
  24. package/dist/input.d.ts.map +1 -0
  25. package/dist/input.js +237 -0
  26. package/dist/input.js.map +1 -0
  27. package/dist/projectOperations.d.ts +151 -0
  28. package/dist/projectOperations.d.ts.map +1 -0
  29. package/dist/projectOperations.js +138 -0
  30. package/dist/projectOperations.js.map +1 -0
  31. package/dist/runtime.d.ts +349 -0
  32. package/dist/runtime.d.ts.map +1 -0
  33. package/dist/runtime.js +164 -0
  34. package/dist/runtime.js.map +1 -0
  35. package/dist/runtimeDebug.d.ts +115 -0
  36. package/dist/runtimeDebug.d.ts.map +1 -0
  37. package/dist/runtimeDebug.js +123 -0
  38. package/dist/runtimeDebug.js.map +1 -0
  39. package/dist/runtimePerformance.d.ts +262 -0
  40. package/dist/runtimePerformance.d.ts.map +1 -0
  41. package/dist/runtimePerformance.js +165 -0
  42. package/dist/runtimePerformance.js.map +1 -0
  43. package/dist/runtimeShared.d.ts +19 -0
  44. package/dist/runtimeShared.d.ts.map +1 -0
  45. package/dist/runtimeShared.js +18 -0
  46. package/dist/runtimeShared.js.map +1 -0
  47. package/dist/schemas.d.ts +118 -0
  48. package/dist/schemas.d.ts.map +1 -0
  49. package/dist/schemas.js +95 -0
  50. package/dist/schemas.js.map +1 -0
  51. package/dist/unsafeFixture.d.ts +51 -0
  52. package/dist/unsafeFixture.d.ts.map +1 -0
  53. package/dist/unsafeFixture.js +25 -0
  54. package/dist/unsafeFixture.js.map +1 -0
  55. package/dist/version.d.ts +3 -0
  56. package/dist/version.d.ts.map +1 -0
  57. package/dist/version.js +4 -0
  58. package/dist/version.js.map +1 -0
  59. package/dist/visual.d.ts +812 -0
  60. package/dist/visual.d.ts.map +1 -0
  61. package/dist/visual.js +177 -0
  62. package/dist/visual.js.map +1 -0
  63. package/package.json +25 -6
  64. package/product.json +4 -0
  65. package/index.js +0 -1
@@ -0,0 +1,1239 @@
1
+ import { z } from "zod";
2
+ export type EditorVariant = null | boolean | number | string | {
3
+ type: "vector2";
4
+ x: number;
5
+ y: number;
6
+ } | {
7
+ type: "vector3";
8
+ x: number;
9
+ y: number;
10
+ z: number;
11
+ } | {
12
+ type: "color";
13
+ r: number;
14
+ g: number;
15
+ b: number;
16
+ a: number;
17
+ } | {
18
+ type: "node_path";
19
+ value: string;
20
+ } | {
21
+ type: "resource_ref";
22
+ path: string;
23
+ } | EditorVariant[] | {
24
+ [key: string]: EditorVariant;
25
+ };
26
+ export declare const EditorVariantSchema: z.ZodType<EditorVariant>;
27
+ export declare const EditorMutationStepSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
28
+ operation: z.ZodLiteral<"create_scene">;
29
+ scenePath: z.ZodString;
30
+ rootClassName: z.ZodString;
31
+ rootName: z.ZodString;
32
+ }, z.core.$strict>, z.ZodObject<{
33
+ operation: z.ZodLiteral<"duplicate_scene">;
34
+ scenePath: z.ZodString;
35
+ destinationPath: z.ZodString;
36
+ }, z.core.$strict>, z.ZodObject<{
37
+ operation: z.ZodLiteral<"move_scene">;
38
+ scenePath: z.ZodString;
39
+ destinationPath: z.ZodString;
40
+ }, z.core.$strict>, z.ZodObject<{
41
+ operation: z.ZodLiteral<"delete_scene">;
42
+ scenePath: z.ZodString;
43
+ }, z.core.$strict>, z.ZodObject<{
44
+ operation: z.ZodLiteral<"create_resource">;
45
+ resourcePath: z.ZodString;
46
+ className: z.ZodString;
47
+ }, z.core.$strict>, z.ZodObject<{
48
+ operation: z.ZodLiteral<"duplicate_resource">;
49
+ resourcePath: z.ZodString;
50
+ destinationPath: z.ZodString;
51
+ }, z.core.$strict>, z.ZodObject<{
52
+ operation: z.ZodLiteral<"move_resource">;
53
+ resourcePath: z.ZodString;
54
+ destinationPath: z.ZodString;
55
+ }, z.core.$strict>, z.ZodObject<{
56
+ operation: z.ZodLiteral<"delete_resource">;
57
+ resourcePath: z.ZodString;
58
+ }, z.core.$strict>, z.ZodObject<{
59
+ operation: z.ZodLiteral<"create_node">;
60
+ scenePath: z.ZodString;
61
+ parentPath: z.ZodString;
62
+ className: z.ZodString;
63
+ name: z.ZodString;
64
+ }, z.core.$strict>, z.ZodObject<{
65
+ operation: z.ZodLiteral<"duplicate_node">;
66
+ scenePath: z.ZodString;
67
+ nodePath: z.ZodString;
68
+ parentPath: z.ZodString;
69
+ name: z.ZodString;
70
+ }, z.core.$strict>, z.ZodObject<{
71
+ operation: z.ZodLiteral<"move_node">;
72
+ scenePath: z.ZodString;
73
+ nodePath: z.ZodString;
74
+ index: z.ZodNumber;
75
+ }, z.core.$strict>, z.ZodObject<{
76
+ operation: z.ZodLiteral<"rename_node">;
77
+ scenePath: z.ZodString;
78
+ nodePath: z.ZodString;
79
+ name: z.ZodString;
80
+ }, z.core.$strict>, z.ZodObject<{
81
+ operation: z.ZodLiteral<"reparent_node">;
82
+ scenePath: z.ZodString;
83
+ nodePath: z.ZodString;
84
+ parentPath: z.ZodString;
85
+ index: z.ZodNumber;
86
+ }, z.core.$strict>, z.ZodObject<{
87
+ operation: z.ZodLiteral<"delete_node">;
88
+ scenePath: z.ZodString;
89
+ nodePath: z.ZodString;
90
+ }, z.core.$strict>, z.ZodObject<{
91
+ operation: z.ZodLiteral<"set_property">;
92
+ scenePath: z.ZodString;
93
+ nodePath: z.ZodString;
94
+ property: z.ZodString;
95
+ value: z.ZodType<EditorVariant, unknown, z.core.$ZodTypeInternals<EditorVariant, unknown>>;
96
+ }, z.core.$strict>, z.ZodObject<{
97
+ operation: z.ZodLiteral<"set_metadata">;
98
+ scenePath: z.ZodString;
99
+ nodePath: z.ZodString;
100
+ key: z.ZodString;
101
+ value: z.ZodType<EditorVariant, unknown, z.core.$ZodTypeInternals<EditorVariant, unknown>>;
102
+ }, z.core.$strict>, z.ZodObject<{
103
+ operation: z.ZodLiteral<"remove_metadata">;
104
+ scenePath: z.ZodString;
105
+ nodePath: z.ZodString;
106
+ key: z.ZodString;
107
+ }, z.core.$strict>, z.ZodObject<{
108
+ operation: z.ZodLiteral<"add_group">;
109
+ scenePath: z.ZodString;
110
+ nodePath: z.ZodString;
111
+ group: z.ZodString;
112
+ persistent: z.ZodDefault<z.ZodBoolean>;
113
+ }, z.core.$strict>, z.ZodObject<{
114
+ operation: z.ZodLiteral<"remove_group">;
115
+ scenePath: z.ZodString;
116
+ nodePath: z.ZodString;
117
+ group: z.ZodString;
118
+ }, z.core.$strict>, z.ZodObject<{
119
+ operation: z.ZodLiteral<"connect_signal">;
120
+ scenePath: z.ZodString;
121
+ nodePath: z.ZodString;
122
+ signal: z.ZodString;
123
+ targetPath: z.ZodString;
124
+ method: z.ZodString;
125
+ flags: z.ZodDefault<z.ZodNumber>;
126
+ }, z.core.$strict>, z.ZodObject<{
127
+ operation: z.ZodLiteral<"disconnect_signal">;
128
+ scenePath: z.ZodString;
129
+ nodePath: z.ZodString;
130
+ signal: z.ZodString;
131
+ targetPath: z.ZodString;
132
+ method: z.ZodString;
133
+ }, z.core.$strict>, z.ZodObject<{
134
+ operation: z.ZodLiteral<"set_owner">;
135
+ scenePath: z.ZodString;
136
+ nodePath: z.ZodString;
137
+ ownerPath: z.ZodNullable<z.ZodString>;
138
+ }, z.core.$strict>], "operation">, z.ZodUnion<readonly [z.ZodObject<{
139
+ property: z.ZodString;
140
+ value: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
141
+ target: z.ZodObject<{
142
+ resourcePath: z.ZodString;
143
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
144
+ }, z.core.$strict>;
145
+ importExpectation: z.ZodOptional<z.ZodObject<{
146
+ importer: z.ZodString;
147
+ options: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString]>>;
148
+ }, z.core.$strict>>;
149
+ operation: z.ZodLiteral<"set_resource_property">;
150
+ }, z.core.$strict>, z.ZodObject<{
151
+ key: z.ZodString;
152
+ value: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
153
+ target: z.ZodObject<{
154
+ resourcePath: z.ZodString;
155
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
156
+ }, z.core.$strict>;
157
+ importExpectation: z.ZodOptional<z.ZodObject<{
158
+ importer: z.ZodString;
159
+ options: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString]>>;
160
+ }, z.core.$strict>>;
161
+ operation: z.ZodLiteral<"set_resource_metadata">;
162
+ }, z.core.$strict>, z.ZodObject<{
163
+ key: z.ZodString;
164
+ target: z.ZodObject<{
165
+ resourcePath: z.ZodString;
166
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
167
+ }, z.core.$strict>;
168
+ importExpectation: z.ZodOptional<z.ZodObject<{
169
+ importer: z.ZodString;
170
+ options: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString]>>;
171
+ }, z.core.$strict>>;
172
+ operation: z.ZodLiteral<"remove_resource_metadata">;
173
+ }, z.core.$strict>, z.ZodObject<{
174
+ property: z.ZodString;
175
+ referencePath: z.ZodString;
176
+ expectedType: z.ZodOptional<z.ZodString>;
177
+ target: z.ZodObject<{
178
+ resourcePath: z.ZodString;
179
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
180
+ }, z.core.$strict>;
181
+ importExpectation: z.ZodOptional<z.ZodObject<{
182
+ importer: z.ZodString;
183
+ options: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString]>>;
184
+ }, z.core.$strict>>;
185
+ operation: z.ZodLiteral<"assign_resource_reference">;
186
+ }, z.core.$strict>, z.ZodObject<{
187
+ anchors: z.ZodOptional<z.ZodObject<{
188
+ left: z.ZodNumber;
189
+ top: z.ZodNumber;
190
+ right: z.ZodNumber;
191
+ bottom: z.ZodNumber;
192
+ }, z.core.$strict>>;
193
+ offsets: z.ZodOptional<z.ZodObject<{
194
+ left: z.ZodNumber;
195
+ top: z.ZodNumber;
196
+ right: z.ZodNumber;
197
+ bottom: z.ZodNumber;
198
+ }, z.core.$strict>>;
199
+ minimumSize: z.ZodOptional<z.ZodObject<{
200
+ x: z.ZodNumber;
201
+ y: z.ZodNumber;
202
+ }, z.core.$strict>>;
203
+ horizontalSizeFlags: z.ZodOptional<z.ZodNumber>;
204
+ verticalSizeFlags: z.ZodOptional<z.ZodNumber>;
205
+ scenePath: z.ZodString;
206
+ nodePath: z.ZodString;
207
+ operation: z.ZodLiteral<"configure_control_layout">;
208
+ }, z.core.$strict>, z.ZodObject<{
209
+ operation: z.ZodLiteral<"set_theme_item">;
210
+ target: z.ZodObject<{
211
+ resourcePath: z.ZodString;
212
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
213
+ }, z.core.$strict>;
214
+ itemKind: z.ZodEnum<{
215
+ color: "color";
216
+ constant: "constant";
217
+ font: "font";
218
+ font_size: "font_size";
219
+ icon: "icon";
220
+ stylebox: "stylebox";
221
+ }>;
222
+ themeType: z.ZodString;
223
+ itemName: z.ZodString;
224
+ value: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
225
+ }, z.core.$strict>, z.ZodObject<{
226
+ operation: z.ZodLiteral<"remove_theme_item">;
227
+ target: z.ZodObject<{
228
+ resourcePath: z.ZodString;
229
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
230
+ }, z.core.$strict>;
231
+ itemKind: z.ZodEnum<{
232
+ color: "color";
233
+ constant: "constant";
234
+ font: "font";
235
+ font_size: "font_size";
236
+ icon: "icon";
237
+ stylebox: "stylebox";
238
+ }>;
239
+ themeType: z.ZodString;
240
+ itemName: z.ZodString;
241
+ }, z.core.$strict>, z.ZodObject<{
242
+ operation: z.ZodLiteral<"upsert_animation">;
243
+ target: z.ZodObject<{
244
+ resourcePath: z.ZodString;
245
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
246
+ }, z.core.$strict>;
247
+ animationName: z.ZodString;
248
+ length: z.ZodNumber;
249
+ loopMode: z.ZodEnum<{
250
+ none: "none";
251
+ linear: "linear";
252
+ pingpong: "pingpong";
253
+ }>;
254
+ }, z.core.$strict>, z.ZodObject<{
255
+ operation: z.ZodLiteral<"remove_animation">;
256
+ target: z.ZodObject<{
257
+ resourcePath: z.ZodString;
258
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
259
+ }, z.core.$strict>;
260
+ animationName: z.ZodString;
261
+ }, z.core.$strict>, z.ZodObject<{
262
+ operation: z.ZodLiteral<"upsert_animation_track">;
263
+ target: z.ZodObject<{
264
+ resourcePath: z.ZodString;
265
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
266
+ }, z.core.$strict>;
267
+ trackId: z.ZodString;
268
+ trackType: z.ZodEnum<{
269
+ value: "value";
270
+ method: "method";
271
+ audio: "audio";
272
+ position_3d: "position_3d";
273
+ rotation_3d: "rotation_3d";
274
+ scale_3d: "scale_3d";
275
+ blend_shape: "blend_shape";
276
+ bezier: "bezier";
277
+ animation: "animation";
278
+ }>;
279
+ trackPath: z.ZodString;
280
+ }, z.core.$strict>, z.ZodObject<{
281
+ operation: z.ZodLiteral<"remove_animation_track">;
282
+ target: z.ZodObject<{
283
+ resourcePath: z.ZodString;
284
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
285
+ }, z.core.$strict>;
286
+ trackId: z.ZodString;
287
+ }, z.core.$strict>, z.ZodObject<{
288
+ operation: z.ZodLiteral<"upsert_animation_key">;
289
+ target: z.ZodObject<{
290
+ resourcePath: z.ZodString;
291
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
292
+ }, z.core.$strict>;
293
+ trackId: z.ZodString;
294
+ keyTime: z.ZodNumber;
295
+ value: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
296
+ transition: z.ZodOptional<z.ZodNumber>;
297
+ }, z.core.$strict>, z.ZodObject<{
298
+ operation: z.ZodLiteral<"remove_animation_key">;
299
+ target: z.ZodObject<{
300
+ resourcePath: z.ZodString;
301
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
302
+ }, z.core.$strict>;
303
+ trackId: z.ZodString;
304
+ keyTime: z.ZodNumber;
305
+ }, z.core.$strict>, z.ZodObject<{
306
+ treeRoot: z.ZodOptional<z.ZodObject<{
307
+ type: z.ZodLiteral<"resource_ref">;
308
+ path: z.ZodString;
309
+ expectedType: z.ZodOptional<z.ZodString>;
310
+ }, z.core.$strict>>;
311
+ active: z.ZodOptional<z.ZodBoolean>;
312
+ processCallback: z.ZodOptional<z.ZodEnum<{
313
+ manual: "manual";
314
+ physics: "physics";
315
+ idle: "idle";
316
+ }>>;
317
+ rootMotionTrack: z.ZodOptional<z.ZodString>;
318
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
319
+ scenePath: z.ZodString;
320
+ nodePath: z.ZodString;
321
+ operation: z.ZodLiteral<"configure_animation_tree">;
322
+ }, z.core.$strict>, z.ZodObject<{
323
+ cells: z.ZodArray<z.ZodObject<{
324
+ coordinates: z.ZodObject<{
325
+ x: z.ZodNumber;
326
+ y: z.ZodNumber;
327
+ }, z.core.$strict>;
328
+ sourceId: z.ZodNumber;
329
+ atlasCoordinates: z.ZodObject<{
330
+ x: z.ZodNumber;
331
+ y: z.ZodNumber;
332
+ }, z.core.$strict>;
333
+ alternativeTile: z.ZodNumber;
334
+ }, z.core.$strict>>;
335
+ scenePath: z.ZodString;
336
+ nodePath: z.ZodString;
337
+ operation: z.ZodLiteral<"set_tile_cells">;
338
+ }, z.core.$strict>, z.ZodObject<{
339
+ coordinates: z.ZodArray<z.ZodObject<{
340
+ x: z.ZodNumber;
341
+ y: z.ZodNumber;
342
+ }, z.core.$strict>>;
343
+ scenePath: z.ZodString;
344
+ nodePath: z.ZodString;
345
+ operation: z.ZodLiteral<"erase_tile_cells">;
346
+ }, z.core.$strict>, z.ZodObject<{
347
+ operation: z.ZodLiteral<"create_custom_resource">;
348
+ resourcePath: z.ZodString;
349
+ className: z.ZodString;
350
+ properties: z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
351
+ }, z.core.$strict>, z.ZodObject<{
352
+ operation: z.ZodLiteral<"create_script">;
353
+ sourcePath: z.ZodString;
354
+ content: z.ZodString;
355
+ }, z.core.$strict>, z.ZodObject<{
356
+ operation: z.ZodLiteral<"replace_script">;
357
+ sourcePath: z.ZodString;
358
+ expectedSha256: z.ZodString;
359
+ content: z.ZodString;
360
+ }, z.core.$strict>, z.ZodObject<{
361
+ operation: z.ZodLiteral<"create_shader">;
362
+ sourcePath: z.ZodString;
363
+ content: z.ZodString;
364
+ }, z.core.$strict>, z.ZodObject<{
365
+ operation: z.ZodLiteral<"replace_shader">;
366
+ sourcePath: z.ZodString;
367
+ expectedSha256: z.ZodString;
368
+ content: z.ZodString;
369
+ }, z.core.$strict>]>]>;
370
+ export declare const EditorMutationInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
371
+ operation: z.ZodLiteral<"preview">;
372
+ steps: z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
373
+ operation: z.ZodLiteral<"create_scene">;
374
+ scenePath: z.ZodString;
375
+ rootClassName: z.ZodString;
376
+ rootName: z.ZodString;
377
+ }, z.core.$strict>, z.ZodObject<{
378
+ operation: z.ZodLiteral<"duplicate_scene">;
379
+ scenePath: z.ZodString;
380
+ destinationPath: z.ZodString;
381
+ }, z.core.$strict>, z.ZodObject<{
382
+ operation: z.ZodLiteral<"move_scene">;
383
+ scenePath: z.ZodString;
384
+ destinationPath: z.ZodString;
385
+ }, z.core.$strict>, z.ZodObject<{
386
+ operation: z.ZodLiteral<"delete_scene">;
387
+ scenePath: z.ZodString;
388
+ }, z.core.$strict>, z.ZodObject<{
389
+ operation: z.ZodLiteral<"create_resource">;
390
+ resourcePath: z.ZodString;
391
+ className: z.ZodString;
392
+ }, z.core.$strict>, z.ZodObject<{
393
+ operation: z.ZodLiteral<"duplicate_resource">;
394
+ resourcePath: z.ZodString;
395
+ destinationPath: z.ZodString;
396
+ }, z.core.$strict>, z.ZodObject<{
397
+ operation: z.ZodLiteral<"move_resource">;
398
+ resourcePath: z.ZodString;
399
+ destinationPath: z.ZodString;
400
+ }, z.core.$strict>, z.ZodObject<{
401
+ operation: z.ZodLiteral<"delete_resource">;
402
+ resourcePath: z.ZodString;
403
+ }, z.core.$strict>, z.ZodObject<{
404
+ operation: z.ZodLiteral<"create_node">;
405
+ scenePath: z.ZodString;
406
+ parentPath: z.ZodString;
407
+ className: z.ZodString;
408
+ name: z.ZodString;
409
+ }, z.core.$strict>, z.ZodObject<{
410
+ operation: z.ZodLiteral<"duplicate_node">;
411
+ scenePath: z.ZodString;
412
+ nodePath: z.ZodString;
413
+ parentPath: z.ZodString;
414
+ name: z.ZodString;
415
+ }, z.core.$strict>, z.ZodObject<{
416
+ operation: z.ZodLiteral<"move_node">;
417
+ scenePath: z.ZodString;
418
+ nodePath: z.ZodString;
419
+ index: z.ZodNumber;
420
+ }, z.core.$strict>, z.ZodObject<{
421
+ operation: z.ZodLiteral<"rename_node">;
422
+ scenePath: z.ZodString;
423
+ nodePath: z.ZodString;
424
+ name: z.ZodString;
425
+ }, z.core.$strict>, z.ZodObject<{
426
+ operation: z.ZodLiteral<"reparent_node">;
427
+ scenePath: z.ZodString;
428
+ nodePath: z.ZodString;
429
+ parentPath: z.ZodString;
430
+ index: z.ZodNumber;
431
+ }, z.core.$strict>, z.ZodObject<{
432
+ operation: z.ZodLiteral<"delete_node">;
433
+ scenePath: z.ZodString;
434
+ nodePath: z.ZodString;
435
+ }, z.core.$strict>, z.ZodObject<{
436
+ operation: z.ZodLiteral<"set_property">;
437
+ scenePath: z.ZodString;
438
+ nodePath: z.ZodString;
439
+ property: z.ZodString;
440
+ value: z.ZodType<EditorVariant, unknown, z.core.$ZodTypeInternals<EditorVariant, unknown>>;
441
+ }, z.core.$strict>, z.ZodObject<{
442
+ operation: z.ZodLiteral<"set_metadata">;
443
+ scenePath: z.ZodString;
444
+ nodePath: z.ZodString;
445
+ key: z.ZodString;
446
+ value: z.ZodType<EditorVariant, unknown, z.core.$ZodTypeInternals<EditorVariant, unknown>>;
447
+ }, z.core.$strict>, z.ZodObject<{
448
+ operation: z.ZodLiteral<"remove_metadata">;
449
+ scenePath: z.ZodString;
450
+ nodePath: z.ZodString;
451
+ key: z.ZodString;
452
+ }, z.core.$strict>, z.ZodObject<{
453
+ operation: z.ZodLiteral<"add_group">;
454
+ scenePath: z.ZodString;
455
+ nodePath: z.ZodString;
456
+ group: z.ZodString;
457
+ persistent: z.ZodDefault<z.ZodBoolean>;
458
+ }, z.core.$strict>, z.ZodObject<{
459
+ operation: z.ZodLiteral<"remove_group">;
460
+ scenePath: z.ZodString;
461
+ nodePath: z.ZodString;
462
+ group: z.ZodString;
463
+ }, z.core.$strict>, z.ZodObject<{
464
+ operation: z.ZodLiteral<"connect_signal">;
465
+ scenePath: z.ZodString;
466
+ nodePath: z.ZodString;
467
+ signal: z.ZodString;
468
+ targetPath: z.ZodString;
469
+ method: z.ZodString;
470
+ flags: z.ZodDefault<z.ZodNumber>;
471
+ }, z.core.$strict>, z.ZodObject<{
472
+ operation: z.ZodLiteral<"disconnect_signal">;
473
+ scenePath: z.ZodString;
474
+ nodePath: z.ZodString;
475
+ signal: z.ZodString;
476
+ targetPath: z.ZodString;
477
+ method: z.ZodString;
478
+ }, z.core.$strict>, z.ZodObject<{
479
+ operation: z.ZodLiteral<"set_owner">;
480
+ scenePath: z.ZodString;
481
+ nodePath: z.ZodString;
482
+ ownerPath: z.ZodNullable<z.ZodString>;
483
+ }, z.core.$strict>], "operation">, z.ZodUnion<readonly [z.ZodObject<{
484
+ property: z.ZodString;
485
+ value: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
486
+ target: z.ZodObject<{
487
+ resourcePath: z.ZodString;
488
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
489
+ }, z.core.$strict>;
490
+ importExpectation: z.ZodOptional<z.ZodObject<{
491
+ importer: z.ZodString;
492
+ options: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString]>>;
493
+ }, z.core.$strict>>;
494
+ operation: z.ZodLiteral<"set_resource_property">;
495
+ }, z.core.$strict>, z.ZodObject<{
496
+ key: z.ZodString;
497
+ value: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
498
+ target: z.ZodObject<{
499
+ resourcePath: z.ZodString;
500
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
501
+ }, z.core.$strict>;
502
+ importExpectation: z.ZodOptional<z.ZodObject<{
503
+ importer: z.ZodString;
504
+ options: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString]>>;
505
+ }, z.core.$strict>>;
506
+ operation: z.ZodLiteral<"set_resource_metadata">;
507
+ }, z.core.$strict>, z.ZodObject<{
508
+ key: z.ZodString;
509
+ target: z.ZodObject<{
510
+ resourcePath: z.ZodString;
511
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
512
+ }, z.core.$strict>;
513
+ importExpectation: z.ZodOptional<z.ZodObject<{
514
+ importer: z.ZodString;
515
+ options: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString]>>;
516
+ }, z.core.$strict>>;
517
+ operation: z.ZodLiteral<"remove_resource_metadata">;
518
+ }, z.core.$strict>, z.ZodObject<{
519
+ property: z.ZodString;
520
+ referencePath: z.ZodString;
521
+ expectedType: z.ZodOptional<z.ZodString>;
522
+ target: z.ZodObject<{
523
+ resourcePath: z.ZodString;
524
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
525
+ }, z.core.$strict>;
526
+ importExpectation: z.ZodOptional<z.ZodObject<{
527
+ importer: z.ZodString;
528
+ options: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString]>>;
529
+ }, z.core.$strict>>;
530
+ operation: z.ZodLiteral<"assign_resource_reference">;
531
+ }, z.core.$strict>, z.ZodObject<{
532
+ anchors: z.ZodOptional<z.ZodObject<{
533
+ left: z.ZodNumber;
534
+ top: z.ZodNumber;
535
+ right: z.ZodNumber;
536
+ bottom: z.ZodNumber;
537
+ }, z.core.$strict>>;
538
+ offsets: z.ZodOptional<z.ZodObject<{
539
+ left: z.ZodNumber;
540
+ top: z.ZodNumber;
541
+ right: z.ZodNumber;
542
+ bottom: z.ZodNumber;
543
+ }, z.core.$strict>>;
544
+ minimumSize: z.ZodOptional<z.ZodObject<{
545
+ x: z.ZodNumber;
546
+ y: z.ZodNumber;
547
+ }, z.core.$strict>>;
548
+ horizontalSizeFlags: z.ZodOptional<z.ZodNumber>;
549
+ verticalSizeFlags: z.ZodOptional<z.ZodNumber>;
550
+ scenePath: z.ZodString;
551
+ nodePath: z.ZodString;
552
+ operation: z.ZodLiteral<"configure_control_layout">;
553
+ }, z.core.$strict>, z.ZodObject<{
554
+ operation: z.ZodLiteral<"set_theme_item">;
555
+ target: z.ZodObject<{
556
+ resourcePath: z.ZodString;
557
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
558
+ }, z.core.$strict>;
559
+ itemKind: z.ZodEnum<{
560
+ color: "color";
561
+ constant: "constant";
562
+ font: "font";
563
+ font_size: "font_size";
564
+ icon: "icon";
565
+ stylebox: "stylebox";
566
+ }>;
567
+ themeType: z.ZodString;
568
+ itemName: z.ZodString;
569
+ value: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
570
+ }, z.core.$strict>, z.ZodObject<{
571
+ operation: z.ZodLiteral<"remove_theme_item">;
572
+ target: z.ZodObject<{
573
+ resourcePath: z.ZodString;
574
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
575
+ }, z.core.$strict>;
576
+ itemKind: z.ZodEnum<{
577
+ color: "color";
578
+ constant: "constant";
579
+ font: "font";
580
+ font_size: "font_size";
581
+ icon: "icon";
582
+ stylebox: "stylebox";
583
+ }>;
584
+ themeType: z.ZodString;
585
+ itemName: z.ZodString;
586
+ }, z.core.$strict>, z.ZodObject<{
587
+ operation: z.ZodLiteral<"upsert_animation">;
588
+ target: z.ZodObject<{
589
+ resourcePath: z.ZodString;
590
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
591
+ }, z.core.$strict>;
592
+ animationName: z.ZodString;
593
+ length: z.ZodNumber;
594
+ loopMode: z.ZodEnum<{
595
+ none: "none";
596
+ linear: "linear";
597
+ pingpong: "pingpong";
598
+ }>;
599
+ }, z.core.$strict>, z.ZodObject<{
600
+ operation: z.ZodLiteral<"remove_animation">;
601
+ target: z.ZodObject<{
602
+ resourcePath: z.ZodString;
603
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
604
+ }, z.core.$strict>;
605
+ animationName: z.ZodString;
606
+ }, z.core.$strict>, z.ZodObject<{
607
+ operation: z.ZodLiteral<"upsert_animation_track">;
608
+ target: z.ZodObject<{
609
+ resourcePath: z.ZodString;
610
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
611
+ }, z.core.$strict>;
612
+ trackId: z.ZodString;
613
+ trackType: z.ZodEnum<{
614
+ value: "value";
615
+ method: "method";
616
+ audio: "audio";
617
+ position_3d: "position_3d";
618
+ rotation_3d: "rotation_3d";
619
+ scale_3d: "scale_3d";
620
+ blend_shape: "blend_shape";
621
+ bezier: "bezier";
622
+ animation: "animation";
623
+ }>;
624
+ trackPath: z.ZodString;
625
+ }, z.core.$strict>, z.ZodObject<{
626
+ operation: z.ZodLiteral<"remove_animation_track">;
627
+ target: z.ZodObject<{
628
+ resourcePath: z.ZodString;
629
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
630
+ }, z.core.$strict>;
631
+ trackId: z.ZodString;
632
+ }, z.core.$strict>, z.ZodObject<{
633
+ operation: z.ZodLiteral<"upsert_animation_key">;
634
+ target: z.ZodObject<{
635
+ resourcePath: z.ZodString;
636
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
637
+ }, z.core.$strict>;
638
+ trackId: z.ZodString;
639
+ keyTime: z.ZodNumber;
640
+ value: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
641
+ transition: z.ZodOptional<z.ZodNumber>;
642
+ }, z.core.$strict>, z.ZodObject<{
643
+ operation: z.ZodLiteral<"remove_animation_key">;
644
+ target: z.ZodObject<{
645
+ resourcePath: z.ZodString;
646
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
647
+ }, z.core.$strict>;
648
+ trackId: z.ZodString;
649
+ keyTime: z.ZodNumber;
650
+ }, z.core.$strict>, z.ZodObject<{
651
+ treeRoot: z.ZodOptional<z.ZodObject<{
652
+ type: z.ZodLiteral<"resource_ref">;
653
+ path: z.ZodString;
654
+ expectedType: z.ZodOptional<z.ZodString>;
655
+ }, z.core.$strict>>;
656
+ active: z.ZodOptional<z.ZodBoolean>;
657
+ processCallback: z.ZodOptional<z.ZodEnum<{
658
+ manual: "manual";
659
+ physics: "physics";
660
+ idle: "idle";
661
+ }>>;
662
+ rootMotionTrack: z.ZodOptional<z.ZodString>;
663
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
664
+ scenePath: z.ZodString;
665
+ nodePath: z.ZodString;
666
+ operation: z.ZodLiteral<"configure_animation_tree">;
667
+ }, z.core.$strict>, z.ZodObject<{
668
+ cells: z.ZodArray<z.ZodObject<{
669
+ coordinates: z.ZodObject<{
670
+ x: z.ZodNumber;
671
+ y: z.ZodNumber;
672
+ }, z.core.$strict>;
673
+ sourceId: z.ZodNumber;
674
+ atlasCoordinates: z.ZodObject<{
675
+ x: z.ZodNumber;
676
+ y: z.ZodNumber;
677
+ }, z.core.$strict>;
678
+ alternativeTile: z.ZodNumber;
679
+ }, z.core.$strict>>;
680
+ scenePath: z.ZodString;
681
+ nodePath: z.ZodString;
682
+ operation: z.ZodLiteral<"set_tile_cells">;
683
+ }, z.core.$strict>, z.ZodObject<{
684
+ coordinates: z.ZodArray<z.ZodObject<{
685
+ x: z.ZodNumber;
686
+ y: z.ZodNumber;
687
+ }, z.core.$strict>>;
688
+ scenePath: z.ZodString;
689
+ nodePath: z.ZodString;
690
+ operation: z.ZodLiteral<"erase_tile_cells">;
691
+ }, z.core.$strict>, z.ZodObject<{
692
+ operation: z.ZodLiteral<"create_custom_resource">;
693
+ resourcePath: z.ZodString;
694
+ className: z.ZodString;
695
+ properties: z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
696
+ }, z.core.$strict>, z.ZodObject<{
697
+ operation: z.ZodLiteral<"create_script">;
698
+ sourcePath: z.ZodString;
699
+ content: z.ZodString;
700
+ }, z.core.$strict>, z.ZodObject<{
701
+ operation: z.ZodLiteral<"replace_script">;
702
+ sourcePath: z.ZodString;
703
+ expectedSha256: z.ZodString;
704
+ content: z.ZodString;
705
+ }, z.core.$strict>, z.ZodObject<{
706
+ operation: z.ZodLiteral<"create_shader">;
707
+ sourcePath: z.ZodString;
708
+ content: z.ZodString;
709
+ }, z.core.$strict>, z.ZodObject<{
710
+ operation: z.ZodLiteral<"replace_shader">;
711
+ sourcePath: z.ZodString;
712
+ expectedSha256: z.ZodString;
713
+ content: z.ZodString;
714
+ }, z.core.$strict>]>]>>;
715
+ }, z.core.$strict>, z.ZodObject<{
716
+ operation: z.ZodLiteral<"apply">;
717
+ idempotencyKey: z.ZodUUID;
718
+ expectedPlanDigest: z.ZodString;
719
+ steps: z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
720
+ operation: z.ZodLiteral<"create_scene">;
721
+ scenePath: z.ZodString;
722
+ rootClassName: z.ZodString;
723
+ rootName: z.ZodString;
724
+ }, z.core.$strict>, z.ZodObject<{
725
+ operation: z.ZodLiteral<"duplicate_scene">;
726
+ scenePath: z.ZodString;
727
+ destinationPath: z.ZodString;
728
+ }, z.core.$strict>, z.ZodObject<{
729
+ operation: z.ZodLiteral<"move_scene">;
730
+ scenePath: z.ZodString;
731
+ destinationPath: z.ZodString;
732
+ }, z.core.$strict>, z.ZodObject<{
733
+ operation: z.ZodLiteral<"delete_scene">;
734
+ scenePath: z.ZodString;
735
+ }, z.core.$strict>, z.ZodObject<{
736
+ operation: z.ZodLiteral<"create_resource">;
737
+ resourcePath: z.ZodString;
738
+ className: z.ZodString;
739
+ }, z.core.$strict>, z.ZodObject<{
740
+ operation: z.ZodLiteral<"duplicate_resource">;
741
+ resourcePath: z.ZodString;
742
+ destinationPath: z.ZodString;
743
+ }, z.core.$strict>, z.ZodObject<{
744
+ operation: z.ZodLiteral<"move_resource">;
745
+ resourcePath: z.ZodString;
746
+ destinationPath: z.ZodString;
747
+ }, z.core.$strict>, z.ZodObject<{
748
+ operation: z.ZodLiteral<"delete_resource">;
749
+ resourcePath: z.ZodString;
750
+ }, z.core.$strict>, z.ZodObject<{
751
+ operation: z.ZodLiteral<"create_node">;
752
+ scenePath: z.ZodString;
753
+ parentPath: z.ZodString;
754
+ className: z.ZodString;
755
+ name: z.ZodString;
756
+ }, z.core.$strict>, z.ZodObject<{
757
+ operation: z.ZodLiteral<"duplicate_node">;
758
+ scenePath: z.ZodString;
759
+ nodePath: z.ZodString;
760
+ parentPath: z.ZodString;
761
+ name: z.ZodString;
762
+ }, z.core.$strict>, z.ZodObject<{
763
+ operation: z.ZodLiteral<"move_node">;
764
+ scenePath: z.ZodString;
765
+ nodePath: z.ZodString;
766
+ index: z.ZodNumber;
767
+ }, z.core.$strict>, z.ZodObject<{
768
+ operation: z.ZodLiteral<"rename_node">;
769
+ scenePath: z.ZodString;
770
+ nodePath: z.ZodString;
771
+ name: z.ZodString;
772
+ }, z.core.$strict>, z.ZodObject<{
773
+ operation: z.ZodLiteral<"reparent_node">;
774
+ scenePath: z.ZodString;
775
+ nodePath: z.ZodString;
776
+ parentPath: z.ZodString;
777
+ index: z.ZodNumber;
778
+ }, z.core.$strict>, z.ZodObject<{
779
+ operation: z.ZodLiteral<"delete_node">;
780
+ scenePath: z.ZodString;
781
+ nodePath: z.ZodString;
782
+ }, z.core.$strict>, z.ZodObject<{
783
+ operation: z.ZodLiteral<"set_property">;
784
+ scenePath: z.ZodString;
785
+ nodePath: z.ZodString;
786
+ property: z.ZodString;
787
+ value: z.ZodType<EditorVariant, unknown, z.core.$ZodTypeInternals<EditorVariant, unknown>>;
788
+ }, z.core.$strict>, z.ZodObject<{
789
+ operation: z.ZodLiteral<"set_metadata">;
790
+ scenePath: z.ZodString;
791
+ nodePath: z.ZodString;
792
+ key: z.ZodString;
793
+ value: z.ZodType<EditorVariant, unknown, z.core.$ZodTypeInternals<EditorVariant, unknown>>;
794
+ }, z.core.$strict>, z.ZodObject<{
795
+ operation: z.ZodLiteral<"remove_metadata">;
796
+ scenePath: z.ZodString;
797
+ nodePath: z.ZodString;
798
+ key: z.ZodString;
799
+ }, z.core.$strict>, z.ZodObject<{
800
+ operation: z.ZodLiteral<"add_group">;
801
+ scenePath: z.ZodString;
802
+ nodePath: z.ZodString;
803
+ group: z.ZodString;
804
+ persistent: z.ZodDefault<z.ZodBoolean>;
805
+ }, z.core.$strict>, z.ZodObject<{
806
+ operation: z.ZodLiteral<"remove_group">;
807
+ scenePath: z.ZodString;
808
+ nodePath: z.ZodString;
809
+ group: z.ZodString;
810
+ }, z.core.$strict>, z.ZodObject<{
811
+ operation: z.ZodLiteral<"connect_signal">;
812
+ scenePath: z.ZodString;
813
+ nodePath: z.ZodString;
814
+ signal: z.ZodString;
815
+ targetPath: z.ZodString;
816
+ method: z.ZodString;
817
+ flags: z.ZodDefault<z.ZodNumber>;
818
+ }, z.core.$strict>, z.ZodObject<{
819
+ operation: z.ZodLiteral<"disconnect_signal">;
820
+ scenePath: z.ZodString;
821
+ nodePath: z.ZodString;
822
+ signal: z.ZodString;
823
+ targetPath: z.ZodString;
824
+ method: z.ZodString;
825
+ }, z.core.$strict>, z.ZodObject<{
826
+ operation: z.ZodLiteral<"set_owner">;
827
+ scenePath: z.ZodString;
828
+ nodePath: z.ZodString;
829
+ ownerPath: z.ZodNullable<z.ZodString>;
830
+ }, z.core.$strict>], "operation">, z.ZodUnion<readonly [z.ZodObject<{
831
+ property: z.ZodString;
832
+ value: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
833
+ target: z.ZodObject<{
834
+ resourcePath: z.ZodString;
835
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
836
+ }, z.core.$strict>;
837
+ importExpectation: z.ZodOptional<z.ZodObject<{
838
+ importer: z.ZodString;
839
+ options: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString]>>;
840
+ }, z.core.$strict>>;
841
+ operation: z.ZodLiteral<"set_resource_property">;
842
+ }, z.core.$strict>, z.ZodObject<{
843
+ key: z.ZodString;
844
+ value: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
845
+ target: z.ZodObject<{
846
+ resourcePath: z.ZodString;
847
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
848
+ }, z.core.$strict>;
849
+ importExpectation: z.ZodOptional<z.ZodObject<{
850
+ importer: z.ZodString;
851
+ options: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString]>>;
852
+ }, z.core.$strict>>;
853
+ operation: z.ZodLiteral<"set_resource_metadata">;
854
+ }, z.core.$strict>, z.ZodObject<{
855
+ key: z.ZodString;
856
+ target: z.ZodObject<{
857
+ resourcePath: z.ZodString;
858
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
859
+ }, z.core.$strict>;
860
+ importExpectation: z.ZodOptional<z.ZodObject<{
861
+ importer: z.ZodString;
862
+ options: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString]>>;
863
+ }, z.core.$strict>>;
864
+ operation: z.ZodLiteral<"remove_resource_metadata">;
865
+ }, z.core.$strict>, z.ZodObject<{
866
+ property: z.ZodString;
867
+ referencePath: z.ZodString;
868
+ expectedType: z.ZodOptional<z.ZodString>;
869
+ target: z.ZodObject<{
870
+ resourcePath: z.ZodString;
871
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
872
+ }, z.core.$strict>;
873
+ importExpectation: z.ZodOptional<z.ZodObject<{
874
+ importer: z.ZodString;
875
+ options: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString]>>;
876
+ }, z.core.$strict>>;
877
+ operation: z.ZodLiteral<"assign_resource_reference">;
878
+ }, z.core.$strict>, z.ZodObject<{
879
+ anchors: z.ZodOptional<z.ZodObject<{
880
+ left: z.ZodNumber;
881
+ top: z.ZodNumber;
882
+ right: z.ZodNumber;
883
+ bottom: z.ZodNumber;
884
+ }, z.core.$strict>>;
885
+ offsets: z.ZodOptional<z.ZodObject<{
886
+ left: z.ZodNumber;
887
+ top: z.ZodNumber;
888
+ right: z.ZodNumber;
889
+ bottom: z.ZodNumber;
890
+ }, z.core.$strict>>;
891
+ minimumSize: z.ZodOptional<z.ZodObject<{
892
+ x: z.ZodNumber;
893
+ y: z.ZodNumber;
894
+ }, z.core.$strict>>;
895
+ horizontalSizeFlags: z.ZodOptional<z.ZodNumber>;
896
+ verticalSizeFlags: z.ZodOptional<z.ZodNumber>;
897
+ scenePath: z.ZodString;
898
+ nodePath: z.ZodString;
899
+ operation: z.ZodLiteral<"configure_control_layout">;
900
+ }, z.core.$strict>, z.ZodObject<{
901
+ operation: z.ZodLiteral<"set_theme_item">;
902
+ target: z.ZodObject<{
903
+ resourcePath: z.ZodString;
904
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
905
+ }, z.core.$strict>;
906
+ itemKind: z.ZodEnum<{
907
+ color: "color";
908
+ constant: "constant";
909
+ font: "font";
910
+ font_size: "font_size";
911
+ icon: "icon";
912
+ stylebox: "stylebox";
913
+ }>;
914
+ themeType: z.ZodString;
915
+ itemName: z.ZodString;
916
+ value: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
917
+ }, z.core.$strict>, z.ZodObject<{
918
+ operation: z.ZodLiteral<"remove_theme_item">;
919
+ target: z.ZodObject<{
920
+ resourcePath: z.ZodString;
921
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
922
+ }, z.core.$strict>;
923
+ itemKind: z.ZodEnum<{
924
+ color: "color";
925
+ constant: "constant";
926
+ font: "font";
927
+ font_size: "font_size";
928
+ icon: "icon";
929
+ stylebox: "stylebox";
930
+ }>;
931
+ themeType: z.ZodString;
932
+ itemName: z.ZodString;
933
+ }, z.core.$strict>, z.ZodObject<{
934
+ operation: z.ZodLiteral<"upsert_animation">;
935
+ target: z.ZodObject<{
936
+ resourcePath: z.ZodString;
937
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
938
+ }, z.core.$strict>;
939
+ animationName: z.ZodString;
940
+ length: z.ZodNumber;
941
+ loopMode: z.ZodEnum<{
942
+ none: "none";
943
+ linear: "linear";
944
+ pingpong: "pingpong";
945
+ }>;
946
+ }, z.core.$strict>, z.ZodObject<{
947
+ operation: z.ZodLiteral<"remove_animation">;
948
+ target: z.ZodObject<{
949
+ resourcePath: z.ZodString;
950
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
951
+ }, z.core.$strict>;
952
+ animationName: z.ZodString;
953
+ }, z.core.$strict>, z.ZodObject<{
954
+ operation: z.ZodLiteral<"upsert_animation_track">;
955
+ target: z.ZodObject<{
956
+ resourcePath: z.ZodString;
957
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
958
+ }, z.core.$strict>;
959
+ trackId: z.ZodString;
960
+ trackType: z.ZodEnum<{
961
+ value: "value";
962
+ method: "method";
963
+ audio: "audio";
964
+ position_3d: "position_3d";
965
+ rotation_3d: "rotation_3d";
966
+ scale_3d: "scale_3d";
967
+ blend_shape: "blend_shape";
968
+ bezier: "bezier";
969
+ animation: "animation";
970
+ }>;
971
+ trackPath: z.ZodString;
972
+ }, z.core.$strict>, z.ZodObject<{
973
+ operation: z.ZodLiteral<"remove_animation_track">;
974
+ target: z.ZodObject<{
975
+ resourcePath: z.ZodString;
976
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
977
+ }, z.core.$strict>;
978
+ trackId: z.ZodString;
979
+ }, z.core.$strict>, z.ZodObject<{
980
+ operation: z.ZodLiteral<"upsert_animation_key">;
981
+ target: z.ZodObject<{
982
+ resourcePath: z.ZodString;
983
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
984
+ }, z.core.$strict>;
985
+ trackId: z.ZodString;
986
+ keyTime: z.ZodNumber;
987
+ value: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
988
+ transition: z.ZodOptional<z.ZodNumber>;
989
+ }, z.core.$strict>, z.ZodObject<{
990
+ operation: z.ZodLiteral<"remove_animation_key">;
991
+ target: z.ZodObject<{
992
+ resourcePath: z.ZodString;
993
+ propertyPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
994
+ }, z.core.$strict>;
995
+ trackId: z.ZodString;
996
+ keyTime: z.ZodNumber;
997
+ }, z.core.$strict>, z.ZodObject<{
998
+ treeRoot: z.ZodOptional<z.ZodObject<{
999
+ type: z.ZodLiteral<"resource_ref">;
1000
+ path: z.ZodString;
1001
+ expectedType: z.ZodOptional<z.ZodString>;
1002
+ }, z.core.$strict>>;
1003
+ active: z.ZodOptional<z.ZodBoolean>;
1004
+ processCallback: z.ZodOptional<z.ZodEnum<{
1005
+ manual: "manual";
1006
+ physics: "physics";
1007
+ idle: "idle";
1008
+ }>>;
1009
+ rootMotionTrack: z.ZodOptional<z.ZodString>;
1010
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
1011
+ scenePath: z.ZodString;
1012
+ nodePath: z.ZodString;
1013
+ operation: z.ZodLiteral<"configure_animation_tree">;
1014
+ }, z.core.$strict>, z.ZodObject<{
1015
+ cells: z.ZodArray<z.ZodObject<{
1016
+ coordinates: z.ZodObject<{
1017
+ x: z.ZodNumber;
1018
+ y: z.ZodNumber;
1019
+ }, z.core.$strict>;
1020
+ sourceId: z.ZodNumber;
1021
+ atlasCoordinates: z.ZodObject<{
1022
+ x: z.ZodNumber;
1023
+ y: z.ZodNumber;
1024
+ }, z.core.$strict>;
1025
+ alternativeTile: z.ZodNumber;
1026
+ }, z.core.$strict>>;
1027
+ scenePath: z.ZodString;
1028
+ nodePath: z.ZodString;
1029
+ operation: z.ZodLiteral<"set_tile_cells">;
1030
+ }, z.core.$strict>, z.ZodObject<{
1031
+ coordinates: z.ZodArray<z.ZodObject<{
1032
+ x: z.ZodNumber;
1033
+ y: z.ZodNumber;
1034
+ }, z.core.$strict>>;
1035
+ scenePath: z.ZodString;
1036
+ nodePath: z.ZodString;
1037
+ operation: z.ZodLiteral<"erase_tile_cells">;
1038
+ }, z.core.$strict>, z.ZodObject<{
1039
+ operation: z.ZodLiteral<"create_custom_resource">;
1040
+ resourcePath: z.ZodString;
1041
+ className: z.ZodString;
1042
+ properties: z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1043
+ }, z.core.$strict>, z.ZodObject<{
1044
+ operation: z.ZodLiteral<"create_script">;
1045
+ sourcePath: z.ZodString;
1046
+ content: z.ZodString;
1047
+ }, z.core.$strict>, z.ZodObject<{
1048
+ operation: z.ZodLiteral<"replace_script">;
1049
+ sourcePath: z.ZodString;
1050
+ expectedSha256: z.ZodString;
1051
+ content: z.ZodString;
1052
+ }, z.core.$strict>, z.ZodObject<{
1053
+ operation: z.ZodLiteral<"create_shader">;
1054
+ sourcePath: z.ZodString;
1055
+ content: z.ZodString;
1056
+ }, z.core.$strict>, z.ZodObject<{
1057
+ operation: z.ZodLiteral<"replace_shader">;
1058
+ sourcePath: z.ZodString;
1059
+ expectedSha256: z.ZodString;
1060
+ content: z.ZodString;
1061
+ }, z.core.$strict>]>]>>;
1062
+ }, z.core.$strict>, z.ZodObject<{
1063
+ operation: z.ZodLiteral<"undo">;
1064
+ actionId: z.ZodUUID;
1065
+ idempotencyKey: z.ZodUUID;
1066
+ }, z.core.$strict>, z.ZodObject<{
1067
+ operation: z.ZodLiteral<"redo">;
1068
+ actionId: z.ZodUUID;
1069
+ idempotencyKey: z.ZodUUID;
1070
+ }, z.core.$strict>], "operation">;
1071
+ export declare const EditorMutationResultSchema: z.ZodObject<{
1072
+ state: z.ZodEnum<{
1073
+ previewed: "previewed";
1074
+ applied: "applied";
1075
+ undone: "undone";
1076
+ redone: "redone";
1077
+ }>;
1078
+ planDigest: z.ZodOptional<z.ZodString>;
1079
+ actionId: z.ZodOptional<z.ZodUUID>;
1080
+ history: z.ZodDiscriminatedUnion<[z.ZodObject<{
1081
+ kind: z.ZodLiteral<"scene">;
1082
+ scenePath: z.ZodString;
1083
+ }, z.core.$strict>, z.ZodObject<{
1084
+ kind: z.ZodLiteral<"global">;
1085
+ }, z.core.$strict>], "kind">;
1086
+ preconditions: z.ZodArray<z.ZodObject<{
1087
+ target: z.ZodObject<{
1088
+ kind: z.ZodEnum<{
1089
+ group: "group";
1090
+ theme: "theme";
1091
+ reference: "reference";
1092
+ node: "node";
1093
+ property: "property";
1094
+ metadata: "metadata";
1095
+ source: "source";
1096
+ signal: "signal";
1097
+ import: "import";
1098
+ animation: "animation";
1099
+ scene: "scene";
1100
+ resource: "resource";
1101
+ owner: "owner";
1102
+ tile: "tile";
1103
+ }>;
1104
+ path: z.ZodString;
1105
+ revision: z.ZodNullable<z.ZodString>;
1106
+ }, z.core.$strict>;
1107
+ expectedRevision: z.ZodNullable<z.ZodString>;
1108
+ expectedAbsent: z.ZodBoolean;
1109
+ }, z.core.$strict>>;
1110
+ changes: z.ZodArray<z.ZodObject<{
1111
+ operation: z.ZodUnion<readonly [z.ZodEnum<{
1112
+ create_scene: "create_scene";
1113
+ duplicate_scene: "duplicate_scene";
1114
+ move_scene: "move_scene";
1115
+ delete_scene: "delete_scene";
1116
+ create_resource: "create_resource";
1117
+ duplicate_resource: "duplicate_resource";
1118
+ move_resource: "move_resource";
1119
+ delete_resource: "delete_resource";
1120
+ create_node: "create_node";
1121
+ duplicate_node: "duplicate_node";
1122
+ move_node: "move_node";
1123
+ rename_node: "rename_node";
1124
+ reparent_node: "reparent_node";
1125
+ delete_node: "delete_node";
1126
+ set_property: "set_property";
1127
+ set_metadata: "set_metadata";
1128
+ remove_metadata: "remove_metadata";
1129
+ add_group: "add_group";
1130
+ remove_group: "remove_group";
1131
+ connect_signal: "connect_signal";
1132
+ disconnect_signal: "disconnect_signal";
1133
+ set_owner: "set_owner";
1134
+ }>, z.ZodEnum<{
1135
+ set_resource_property: "set_resource_property";
1136
+ set_resource_metadata: "set_resource_metadata";
1137
+ remove_resource_metadata: "remove_resource_metadata";
1138
+ assign_resource_reference: "assign_resource_reference";
1139
+ configure_control_layout: "configure_control_layout";
1140
+ set_theme_item: "set_theme_item";
1141
+ remove_theme_item: "remove_theme_item";
1142
+ upsert_animation: "upsert_animation";
1143
+ remove_animation: "remove_animation";
1144
+ upsert_animation_track: "upsert_animation_track";
1145
+ remove_animation_track: "remove_animation_track";
1146
+ upsert_animation_key: "upsert_animation_key";
1147
+ remove_animation_key: "remove_animation_key";
1148
+ configure_animation_tree: "configure_animation_tree";
1149
+ set_tile_cells: "set_tile_cells";
1150
+ erase_tile_cells: "erase_tile_cells";
1151
+ create_custom_resource: "create_custom_resource";
1152
+ create_script: "create_script";
1153
+ replace_script: "replace_script";
1154
+ create_shader: "create_shader";
1155
+ replace_shader: "replace_shader";
1156
+ }>]>;
1157
+ target: z.ZodObject<{
1158
+ kind: z.ZodEnum<{
1159
+ group: "group";
1160
+ theme: "theme";
1161
+ reference: "reference";
1162
+ node: "node";
1163
+ property: "property";
1164
+ metadata: "metadata";
1165
+ source: "source";
1166
+ signal: "signal";
1167
+ import: "import";
1168
+ animation: "animation";
1169
+ scene: "scene";
1170
+ resource: "resource";
1171
+ owner: "owner";
1172
+ tile: "tile";
1173
+ }>;
1174
+ path: z.ZodString;
1175
+ revision: z.ZodNullable<z.ZodString>;
1176
+ }, z.core.$strict>;
1177
+ beforeRevision: z.ZodNullable<z.ZodString>;
1178
+ afterRevision: z.ZodNullable<z.ZodString>;
1179
+ }, z.core.$strict>>;
1180
+ warnings: z.ZodArray<z.ZodString>;
1181
+ audit: z.ZodObject<{
1182
+ targetIdentities: z.ZodArray<z.ZodObject<{
1183
+ kind: z.ZodEnum<{
1184
+ group: "group";
1185
+ theme: "theme";
1186
+ reference: "reference";
1187
+ node: "node";
1188
+ property: "property";
1189
+ metadata: "metadata";
1190
+ source: "source";
1191
+ signal: "signal";
1192
+ import: "import";
1193
+ animation: "animation";
1194
+ scene: "scene";
1195
+ resource: "resource";
1196
+ owner: "owner";
1197
+ tile: "tile";
1198
+ }>;
1199
+ path: z.ZodString;
1200
+ revision: z.ZodNullable<z.ZodString>;
1201
+ }, z.core.$strict>>;
1202
+ preconditions: z.ZodArray<z.ZodObject<{
1203
+ target: z.ZodObject<{
1204
+ kind: z.ZodEnum<{
1205
+ group: "group";
1206
+ theme: "theme";
1207
+ reference: "reference";
1208
+ node: "node";
1209
+ property: "property";
1210
+ metadata: "metadata";
1211
+ source: "source";
1212
+ signal: "signal";
1213
+ import: "import";
1214
+ animation: "animation";
1215
+ scene: "scene";
1216
+ resource: "resource";
1217
+ owner: "owner";
1218
+ tile: "tile";
1219
+ }>;
1220
+ path: z.ZodString;
1221
+ revision: z.ZodNullable<z.ZodString>;
1222
+ }, z.core.$strict>;
1223
+ expectedRevision: z.ZodNullable<z.ZodString>;
1224
+ expectedAbsent: z.ZodBoolean;
1225
+ }, z.core.$strict>>;
1226
+ idempotencyKeySha256: z.ZodNullable<z.ZodString>;
1227
+ partialEffects: z.ZodBoolean;
1228
+ rollback: z.ZodEnum<{
1229
+ failed: "failed";
1230
+ succeeded: "succeeded";
1231
+ not_needed: "not_needed";
1232
+ not_attempted: "not_attempted";
1233
+ }>;
1234
+ }, z.core.$strict>;
1235
+ }, z.core.$strict>;
1236
+ export type EditorMutationStep = z.infer<typeof EditorMutationStepSchema>;
1237
+ export type EditorMutationInput = z.infer<typeof EditorMutationInputSchema>;
1238
+ export type EditorMutationResult = z.infer<typeof EditorMutationResultSchema>;
1239
+ //# sourceMappingURL=editorMutation.d.ts.map