@openfairygui/backend 0.7.1 → 0.8.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.
package/dist/docs.mjs CHANGED
@@ -1,10 +1,10 @@
1
- import { a as getBackendDiagnosticGuide, i as getBackendDiagnosticCatalog } from "./diagnostics-DTnLXQGs.mjs";
1
+ import { a as getBackendDiagnosticGuide, i as getBackendDiagnosticCatalog } from "./diagnostics-By8Kxj6K.mjs";
2
2
  //#region src/generated/contracts.ts
3
3
  const CONTRACT_SNAPSHOT = {
4
4
  "schemaVersion": 2,
5
5
  "versions": {
6
6
  "BACKEND_CONTRACT_VERSION": "3.0.0",
7
- "BACKEND_CAPABILITY_SCHEMA_VERSION": 15
7
+ "BACKEND_CAPABILITY_SCHEMA_VERSION": 16
8
8
  },
9
9
  "operations": {
10
10
  "updateProjectSettings": { "$ref": "#/$defs/UpdateProjectSettingsOperation_3ec628dee7" },
@@ -241,6 +241,130 @@ const CONTRACT_SNAPSHOT = {
241
241
  "bytePaths": [],
242
242
  "outputBytePaths": []
243
243
  },
244
+ "queryDisplayNodes": {
245
+ "name": "openfairygui_backend_query_display_nodes",
246
+ "backendMethod": "queryDisplayNodes",
247
+ "title": "Query Display Nodes in Component",
248
+ "description": "Filter display nodes within one component by modeled properties (kind, name, nameContains, text, textContains, title, titleContains, group, resourceId, url, visible, locked, touchable, hasGears, hasRelations) with an explicit limit (default 50, max 200) and response byte budget. Returns matching displayNode IDs, displayList indices, and key summary properties at the current revision; mutations still require exact displayNodeId selectors.",
249
+ "annotations": {
250
+ "readOnlyHint": true,
251
+ "idempotentHint": true,
252
+ "openWorldHint": false
253
+ },
254
+ "input": {
255
+ "type": "object",
256
+ "properties": {
257
+ "sessionId": {
258
+ "type": "string",
259
+ "minLength": 1
260
+ },
261
+ "selector": {
262
+ "type": "object",
263
+ "properties": {
264
+ "packageId": {
265
+ "type": "string",
266
+ "minLength": 1,
267
+ "maxLength": 256
268
+ },
269
+ "componentResourceId": {
270
+ "type": "string",
271
+ "minLength": 1,
272
+ "maxLength": 256
273
+ }
274
+ },
275
+ "required": ["packageId", "componentResourceId"],
276
+ "additionalProperties": false
277
+ },
278
+ "filter": {
279
+ "type": "object",
280
+ "properties": {
281
+ "kind": { "enum": [
282
+ "button",
283
+ "label",
284
+ "image",
285
+ "text",
286
+ "group",
287
+ "list",
288
+ "movieClip",
289
+ "component",
290
+ "richText",
291
+ "textInput",
292
+ "tree",
293
+ "graph",
294
+ "loader",
295
+ "loader3D",
296
+ "comboBox",
297
+ "progressBar",
298
+ "slider",
299
+ "scrollBar"
300
+ ] },
301
+ "name": {
302
+ "type": "string",
303
+ "maxLength": 1024
304
+ },
305
+ "nameContains": {
306
+ "type": "string",
307
+ "minLength": 1,
308
+ "maxLength": 1024
309
+ },
310
+ "text": {
311
+ "type": "string",
312
+ "maxLength": 1024
313
+ },
314
+ "textContains": {
315
+ "type": "string",
316
+ "minLength": 1,
317
+ "maxLength": 1024
318
+ },
319
+ "title": {
320
+ "type": "string",
321
+ "maxLength": 1024
322
+ },
323
+ "titleContains": {
324
+ "type": "string",
325
+ "minLength": 1,
326
+ "maxLength": 1024
327
+ },
328
+ "group": {
329
+ "type": "string",
330
+ "maxLength": 1024
331
+ },
332
+ "resourceId": {
333
+ "type": "string",
334
+ "minLength": 1,
335
+ "maxLength": 256
336
+ },
337
+ "url": {
338
+ "type": "string",
339
+ "maxLength": 1024
340
+ },
341
+ "visible": { "$ref": "#/$defs/Shape_6b49a92435" },
342
+ "locked": { "$ref": "#/$defs/Shape_6b49a92435" },
343
+ "touchable": { "$ref": "#/$defs/Shape_6b49a92435" },
344
+ "hasGears": { "$ref": "#/$defs/Shape_6b49a92435" },
345
+ "hasRelations": { "$ref": "#/$defs/Shape_6b49a92435" }
346
+ },
347
+ "required": [],
348
+ "additionalProperties": false
349
+ },
350
+ "limit": {
351
+ "type": "integer",
352
+ "minimum": 1,
353
+ "maximum": 200
354
+ }
355
+ },
356
+ "required": ["sessionId", "selector"],
357
+ "additionalProperties": false
358
+ },
359
+ "output": {
360
+ "type": "object",
361
+ "properties": { "backendResult": { "anyOf": [{ "$ref": "#/$defs/BackendResult_b18bc44e67_wire" }, { "$ref": "#/$defs/McpUnhandledFailure_fcecd3763a" }] } },
362
+ "required": ["backendResult"],
363
+ "additionalProperties": false
364
+ },
365
+ "bytePaths": [],
366
+ "outputBytePaths": []
367
+ },
244
368
  "readSessionState": {
245
369
  "name": "openfairygui_backend_read_session_state",
246
370
  "backendMethod": "readSessionState",
@@ -1524,6 +1648,7 @@ const CONTRACT_SNAPSHOT = {
1524
1648
  "quality": { "type": "number" },
1525
1649
  "smoothing": { "type": "boolean" },
1526
1650
  "duplicatePadding": { "type": "boolean" },
1651
+ "disableTrim": { "$ref": "#/$defs/Shape_6b49a92435" },
1527
1652
  "scaleOption": { "enum": [
1528
1653
  0,
1529
1654
  2,
@@ -1682,6 +1807,7 @@ const CONTRACT_SNAPSHOT = {
1682
1807
  "UamMovieClipResourceProperties_7891e3deb2": {
1683
1808
  "type": "object",
1684
1809
  "properties": {
1810
+ "textureSetMode": { "type": "string" },
1685
1811
  "interval": { "type": "number" },
1686
1812
  "repeatDelay": { "type": "number" },
1687
1813
  "swing": { "type": "boolean" },
@@ -1990,6 +2116,7 @@ const CONTRACT_SNAPSHOT = {
1990
2116
  "size": { "$ref": "#/$defs/UamSize_fcba86f12a" },
1991
2117
  "properties": { "$ref": "#/$defs/UamComponentProperties_d7c39dde47" },
1992
2118
  "customData": { "type": "string" },
2119
+ "relations": { "$ref": "#/$defs/Array_9d4803aa29" },
1993
2120
  "displayList": { "$ref": "#/$defs/Array_467ca5fd71" },
1994
2121
  "controllers": { "$ref": "#/$defs/Array_33931a1f70" },
1995
2122
  "transitions": { "$ref": "#/$defs/Array_40451c0a9c" }
@@ -2162,6 +2289,24 @@ const CONTRACT_SNAPSHOT = {
2162
2289
  ],
2163
2290
  "additionalProperties": false
2164
2291
  },
2292
+ "Array_9d4803aa29": {
2293
+ "type": "array",
2294
+ "items": { "$ref": "#/$defs/UamRelation_05734287d5" }
2295
+ },
2296
+ "UamRelation_05734287d5": {
2297
+ "type": "object",
2298
+ "properties": {
2299
+ "targetNodeId": { "type": "string" },
2300
+ "type": { "type": "number" },
2301
+ "usePercent": { "type": "boolean" }
2302
+ },
2303
+ "required": [
2304
+ "targetNodeId",
2305
+ "type",
2306
+ "usePercent"
2307
+ ],
2308
+ "additionalProperties": false
2309
+ },
2165
2310
  "Array_467ca5fd71": {
2166
2311
  "type": "array",
2167
2312
  "items": { "$ref": "#/$defs/UamDisplayNode_0f29e80218" }
@@ -2194,6 +2339,7 @@ const CONTRACT_SNAPSHOT = {
2194
2339
  "const": "image"
2195
2340
  },
2196
2341
  "resource": { "$ref": "#/$defs/UamResourceRef_3486136f6c" },
2342
+ "fileName": { "type": "string" },
2197
2343
  "group": { "type": "string" },
2198
2344
  "id": { "type": "string" },
2199
2345
  "name": { "type": "string" },
@@ -2217,9 +2363,16 @@ const CONTRACT_SNAPSHOT = {
2217
2363
  "add",
2218
2364
  "none",
2219
2365
  "normal",
2366
+ "off",
2367
+ "mask",
2220
2368
  "multiply",
2221
2369
  "screen",
2222
- "erase"
2370
+ "erase",
2371
+ "below",
2372
+ "one_oneminussrcalpha",
2373
+ "custom1",
2374
+ "custom2",
2375
+ "custom3"
2223
2376
  ] },
2224
2377
  "filter": { "type": "string" },
2225
2378
  "filterData": { "type": "string" },
@@ -2277,24 +2430,6 @@ const CONTRACT_SNAPSHOT = {
2277
2430
  "required": ["resourceId"],
2278
2431
  "additionalProperties": false
2279
2432
  },
2280
- "Array_9d4803aa29": {
2281
- "type": "array",
2282
- "items": { "$ref": "#/$defs/UamRelation_05734287d5" }
2283
- },
2284
- "UamRelation_05734287d5": {
2285
- "type": "object",
2286
- "properties": {
2287
- "targetNodeId": { "type": "string" },
2288
- "type": { "type": "number" },
2289
- "usePercent": { "type": "boolean" }
2290
- },
2291
- "required": [
2292
- "targetNodeId",
2293
- "type",
2294
- "usePercent"
2295
- ],
2296
- "additionalProperties": false
2297
- },
2298
2433
  "Array_aa00fd9a0a": {
2299
2434
  "type": "array",
2300
2435
  "items": { "$ref": "#/$defs/UamGearBinding_02d8315877" }
@@ -2860,9 +2995,16 @@ const CONTRACT_SNAPSHOT = {
2860
2995
  "add",
2861
2996
  "none",
2862
2997
  "normal",
2998
+ "off",
2999
+ "mask",
2863
3000
  "multiply",
2864
3001
  "screen",
2865
- "erase"
3002
+ "erase",
3003
+ "below",
3004
+ "one_oneminussrcalpha",
3005
+ "custom1",
3006
+ "custom2",
3007
+ "custom3"
2866
3008
  ] },
2867
3009
  "filter": { "type": "string" },
2868
3010
  "filterData": { "type": "string" },
@@ -2978,9 +3120,16 @@ const CONTRACT_SNAPSHOT = {
2978
3120
  "add",
2979
3121
  "none",
2980
3122
  "normal",
3123
+ "off",
3124
+ "mask",
2981
3125
  "multiply",
2982
3126
  "screen",
2983
- "erase"
3127
+ "erase",
3128
+ "below",
3129
+ "one_oneminussrcalpha",
3130
+ "custom1",
3131
+ "custom2",
3132
+ "custom3"
2984
3133
  ] },
2985
3134
  "filter": { "type": "string" },
2986
3135
  "filterData": { "type": "string" },
@@ -3095,9 +3244,16 @@ const CONTRACT_SNAPSHOT = {
3095
3244
  "add",
3096
3245
  "none",
3097
3246
  "normal",
3247
+ "off",
3248
+ "mask",
3098
3249
  "multiply",
3099
3250
  "screen",
3100
- "erase"
3251
+ "erase",
3252
+ "below",
3253
+ "one_oneminussrcalpha",
3254
+ "custom1",
3255
+ "custom2",
3256
+ "custom3"
3101
3257
  ] },
3102
3258
  "filter": { "type": "string" },
3103
3259
  "filterData": { "type": "string" },
@@ -3224,9 +3380,16 @@ const CONTRACT_SNAPSHOT = {
3224
3380
  "add",
3225
3381
  "none",
3226
3382
  "normal",
3383
+ "off",
3384
+ "mask",
3227
3385
  "multiply",
3228
3386
  "screen",
3229
- "erase"
3387
+ "erase",
3388
+ "below",
3389
+ "one_oneminussrcalpha",
3390
+ "custom1",
3391
+ "custom2",
3392
+ "custom3"
3230
3393
  ] },
3231
3394
  "filter": { "type": "string" },
3232
3395
  "filterData": { "type": "string" },
@@ -3502,9 +3665,16 @@ const CONTRACT_SNAPSHOT = {
3502
3665
  "add",
3503
3666
  "none",
3504
3667
  "normal",
3668
+ "off",
3669
+ "mask",
3505
3670
  "multiply",
3506
3671
  "screen",
3507
- "erase"
3672
+ "erase",
3673
+ "below",
3674
+ "one_oneminussrcalpha",
3675
+ "custom1",
3676
+ "custom2",
3677
+ "custom3"
3508
3678
  ] },
3509
3679
  "filter": { "type": "string" },
3510
3680
  "filterData": { "type": "string" },
@@ -3663,9 +3833,16 @@ const CONTRACT_SNAPSHOT = {
3663
3833
  "add",
3664
3834
  "none",
3665
3835
  "normal",
3836
+ "off",
3837
+ "mask",
3666
3838
  "multiply",
3667
3839
  "screen",
3668
- "erase"
3840
+ "erase",
3841
+ "below",
3842
+ "one_oneminussrcalpha",
3843
+ "custom1",
3844
+ "custom2",
3845
+ "custom3"
3669
3846
  ] },
3670
3847
  "filter": { "type": "string" },
3671
3848
  "filterData": { "type": "string" },
@@ -3799,9 +3976,16 @@ const CONTRACT_SNAPSHOT = {
3799
3976
  "add",
3800
3977
  "none",
3801
3978
  "normal",
3979
+ "off",
3980
+ "mask",
3802
3981
  "multiply",
3803
3982
  "screen",
3804
- "erase"
3983
+ "erase",
3984
+ "below",
3985
+ "one_oneminussrcalpha",
3986
+ "custom1",
3987
+ "custom2",
3988
+ "custom3"
3805
3989
  ] },
3806
3990
  "filter": { "type": "string" },
3807
3991
  "filterData": { "type": "string" },
@@ -3892,9 +4076,16 @@ const CONTRACT_SNAPSHOT = {
3892
4076
  "add",
3893
4077
  "none",
3894
4078
  "normal",
4079
+ "off",
4080
+ "mask",
3895
4081
  "multiply",
3896
4082
  "screen",
3897
- "erase"
4083
+ "erase",
4084
+ "below",
4085
+ "one_oneminussrcalpha",
4086
+ "custom1",
4087
+ "custom2",
4088
+ "custom3"
3898
4089
  ] },
3899
4090
  "filter": { "type": "string" },
3900
4091
  "filterData": { "type": "string" },
@@ -3952,6 +4143,7 @@ const CONTRACT_SNAPSHOT = {
3952
4143
  "const": "loader"
3953
4144
  },
3954
4145
  "pivot": { "$ref": "#/$defs/UamPoint_600bb96bb9" },
4146
+ "group": { "type": "string" },
3955
4147
  "id": { "type": "string" },
3956
4148
  "name": { "type": "string" },
3957
4149
  "position": { "$ref": "#/$defs/UamPoint_600bb96bb9" },
@@ -3973,9 +4165,16 @@ const CONTRACT_SNAPSHOT = {
3973
4165
  "add",
3974
4166
  "none",
3975
4167
  "normal",
4168
+ "off",
4169
+ "mask",
3976
4170
  "multiply",
3977
4171
  "screen",
3978
- "erase"
4172
+ "erase",
4173
+ "below",
4174
+ "one_oneminussrcalpha",
4175
+ "custom1",
4176
+ "custom2",
4177
+ "custom3"
3979
4178
  ] },
3980
4179
  "filter": { "type": "string" },
3981
4180
  "filterData": { "type": "string" },
@@ -4002,6 +4201,7 @@ const CONTRACT_SNAPSHOT = {
4002
4201
  "required": [
4003
4202
  "kind",
4004
4203
  "pivot",
4204
+ "group",
4005
4205
  "id",
4006
4206
  "name",
4007
4207
  "position",
@@ -4050,6 +4250,7 @@ const CONTRACT_SNAPSHOT = {
4050
4250
  "type": "string",
4051
4251
  "const": "loader3D"
4052
4252
  },
4253
+ "group": { "type": "string" },
4053
4254
  "id": { "type": "string" },
4054
4255
  "name": { "type": "string" },
4055
4256
  "position": { "$ref": "#/$defs/UamPoint_600bb96bb9" },
@@ -4072,9 +4273,16 @@ const CONTRACT_SNAPSHOT = {
4072
4273
  "add",
4073
4274
  "none",
4074
4275
  "normal",
4276
+ "off",
4277
+ "mask",
4075
4278
  "multiply",
4076
4279
  "screen",
4077
- "erase"
4280
+ "erase",
4281
+ "below",
4282
+ "one_oneminussrcalpha",
4283
+ "custom1",
4284
+ "custom2",
4285
+ "custom3"
4078
4286
  ] },
4079
4287
  "filter": { "type": "string" },
4080
4288
  "filterData": { "type": "string" },
@@ -4097,6 +4305,7 @@ const CONTRACT_SNAPSHOT = {
4097
4305
  },
4098
4306
  "required": [
4099
4307
  "kind",
4308
+ "group",
4100
4309
  "id",
4101
4310
  "name",
4102
4311
  "position",
@@ -4167,9 +4376,16 @@ const CONTRACT_SNAPSHOT = {
4167
4376
  "add",
4168
4377
  "none",
4169
4378
  "normal",
4379
+ "off",
4380
+ "mask",
4170
4381
  "multiply",
4171
4382
  "screen",
4172
- "erase"
4383
+ "erase",
4384
+ "below",
4385
+ "one_oneminussrcalpha",
4386
+ "custom1",
4387
+ "custom2",
4388
+ "custom3"
4173
4389
  ] },
4174
4390
  "filter": { "type": "string" },
4175
4391
  "filterData": { "type": "string" },
@@ -4235,6 +4451,7 @@ const CONTRACT_SNAPSHOT = {
4235
4451
  "sound": { "type": "string" },
4236
4452
  "soundVolumeScale": { "type": "number" },
4237
4453
  "pageController": { "type": "string" },
4454
+ "fileName": { "type": "string" },
4238
4455
  "src": { "type": "string" },
4239
4456
  "packageId": { "type": "string" },
4240
4457
  "group": { "type": "string" },
@@ -4260,9 +4477,16 @@ const CONTRACT_SNAPSHOT = {
4260
4477
  "add",
4261
4478
  "none",
4262
4479
  "normal",
4480
+ "off",
4481
+ "mask",
4263
4482
  "multiply",
4264
4483
  "screen",
4265
- "erase"
4484
+ "erase",
4485
+ "below",
4486
+ "one_oneminussrcalpha",
4487
+ "custom1",
4488
+ "custom2",
4489
+ "custom3"
4266
4490
  ] },
4267
4491
  "filter": { "type": "string" },
4268
4492
  "filterData": { "type": "string" },
@@ -4326,6 +4550,7 @@ const CONTRACT_SNAPSHOT = {
4326
4550
  "sound": { "type": "string" },
4327
4551
  "soundVolumeScale": { "type": "number" },
4328
4552
  "pageController": { "type": "string" },
4553
+ "fileName": { "type": "string" },
4329
4554
  "src": { "type": "string" },
4330
4555
  "packageId": { "type": "string" },
4331
4556
  "group": { "type": "string" },
@@ -4351,9 +4576,16 @@ const CONTRACT_SNAPSHOT = {
4351
4576
  "add",
4352
4577
  "none",
4353
4578
  "normal",
4579
+ "off",
4580
+ "mask",
4354
4581
  "multiply",
4355
4582
  "screen",
4356
- "erase"
4583
+ "erase",
4584
+ "below",
4585
+ "one_oneminussrcalpha",
4586
+ "custom1",
4587
+ "custom2",
4588
+ "custom3"
4357
4589
  ] },
4358
4590
  "filter": { "type": "string" },
4359
4591
  "filterData": { "type": "string" },
@@ -4411,6 +4643,7 @@ const CONTRACT_SNAPSHOT = {
4411
4643
  "selectedIndex": { "type": "number" },
4412
4644
  "visibleItemCount": { "type": "number" },
4413
4645
  "popupDirection": { "type": "number" },
4646
+ "selectionController": { "type": "string" },
4414
4647
  "title": { "type": "string" },
4415
4648
  "icon": { "type": "string" },
4416
4649
  "titleColor": { "type": "string" },
@@ -4418,6 +4651,7 @@ const CONTRACT_SNAPSHOT = {
4418
4651
  "sound": { "type": "string" },
4419
4652
  "soundVolumeScale": { "type": "number" },
4420
4653
  "pageController": { "type": "string" },
4654
+ "fileName": { "type": "string" },
4421
4655
  "src": { "type": "string" },
4422
4656
  "packageId": { "type": "string" },
4423
4657
  "group": { "type": "string" },
@@ -4443,9 +4677,16 @@ const CONTRACT_SNAPSHOT = {
4443
4677
  "add",
4444
4678
  "none",
4445
4679
  "normal",
4680
+ "off",
4681
+ "mask",
4446
4682
  "multiply",
4447
4683
  "screen",
4448
- "erase"
4684
+ "erase",
4685
+ "below",
4686
+ "one_oneminussrcalpha",
4687
+ "custom1",
4688
+ "custom2",
4689
+ "custom3"
4449
4690
  ] },
4450
4691
  "filter": { "type": "string" },
4451
4692
  "filterData": { "type": "string" },
@@ -4510,6 +4751,7 @@ const CONTRACT_SNAPSHOT = {
4510
4751
  "sound": { "type": "string" },
4511
4752
  "soundVolumeScale": { "type": "number" },
4512
4753
  "pageController": { "type": "string" },
4754
+ "fileName": { "type": "string" },
4513
4755
  "src": { "type": "string" },
4514
4756
  "packageId": { "type": "string" },
4515
4757
  "group": { "type": "string" },
@@ -4535,9 +4777,16 @@ const CONTRACT_SNAPSHOT = {
4535
4777
  "add",
4536
4778
  "none",
4537
4779
  "normal",
4780
+ "off",
4781
+ "mask",
4538
4782
  "multiply",
4539
4783
  "screen",
4540
- "erase"
4784
+ "erase",
4785
+ "below",
4786
+ "one_oneminussrcalpha",
4787
+ "custom1",
4788
+ "custom2",
4789
+ "custom3"
4541
4790
  ] },
4542
4791
  "filter": { "type": "string" },
4543
4792
  "filterData": { "type": "string" },
@@ -4595,6 +4844,7 @@ const CONTRACT_SNAPSHOT = {
4595
4844
  "value": { "type": "number" },
4596
4845
  "wholeNumbers": { "type": "boolean" },
4597
4846
  "pageController": { "type": "string" },
4847
+ "fileName": { "type": "string" },
4598
4848
  "src": { "type": "string" },
4599
4849
  "packageId": { "type": "string" },
4600
4850
  "group": { "type": "string" },
@@ -4620,9 +4870,16 @@ const CONTRACT_SNAPSHOT = {
4620
4870
  "add",
4621
4871
  "none",
4622
4872
  "normal",
4873
+ "off",
4874
+ "mask",
4623
4875
  "multiply",
4624
4876
  "screen",
4625
- "erase"
4877
+ "erase",
4878
+ "below",
4879
+ "one_oneminussrcalpha",
4880
+ "custom1",
4881
+ "custom2",
4882
+ "custom3"
4626
4883
  ] },
4627
4884
  "filter": { "type": "string" },
4628
4885
  "filterData": { "type": "string" },
@@ -4674,6 +4931,7 @@ const CONTRACT_SNAPSHOT = {
4674
4931
  },
4675
4932
  "fixedGripSize": { "type": "boolean" },
4676
4933
  "pageController": { "type": "string" },
4934
+ "fileName": { "type": "string" },
4677
4935
  "src": { "type": "string" },
4678
4936
  "packageId": { "type": "string" },
4679
4937
  "group": { "type": "string" },
@@ -4699,9 +4957,16 @@ const CONTRACT_SNAPSHOT = {
4699
4957
  "add",
4700
4958
  "none",
4701
4959
  "normal",
4960
+ "off",
4961
+ "mask",
4702
4962
  "multiply",
4703
4963
  "screen",
4704
- "erase"
4964
+ "erase",
4965
+ "below",
4966
+ "one_oneminussrcalpha",
4967
+ "custom1",
4968
+ "custom2",
4969
+ "custom3"
4705
4970
  ] },
4706
4971
  "filter": { "type": "string" },
4707
4972
  "filterData": { "type": "string" },
@@ -5236,9 +5501,16 @@ const CONTRACT_SNAPSHOT = {
5236
5501
  "add",
5237
5502
  "none",
5238
5503
  "normal",
5504
+ "off",
5505
+ "mask",
5239
5506
  "multiply",
5240
5507
  "screen",
5241
- "erase"
5508
+ "erase",
5509
+ "below",
5510
+ "one_oneminussrcalpha",
5511
+ "custom1",
5512
+ "custom2",
5513
+ "custom3"
5242
5514
  ] },
5243
5515
  "filter": { "type": "string" },
5244
5516
  "filterData": { "type": "string" },
@@ -6603,7 +6875,7 @@ const CONTRACT_SNAPSHOT = {
6603
6875
  },
6604
6876
  "capabilitySchemaVersion": {
6605
6877
  "type": "number",
6606
- "const": 15
6878
+ "const": 16
6607
6879
  }
6608
6880
  },
6609
6881
  "required": [
@@ -7099,6 +7371,47 @@ const CONTRACT_SNAPSHOT = {
7099
7371
  "required": ["kind", "selector"],
7100
7372
  "additionalProperties": false
7101
7373
  },
7374
+ "DisplayNodeFilter_15d978b0af": {
7375
+ "type": "object",
7376
+ "properties": {
7377
+ "kind": { "enum": [
7378
+ "button",
7379
+ "label",
7380
+ "image",
7381
+ "text",
7382
+ "group",
7383
+ "list",
7384
+ "movieClip",
7385
+ "component",
7386
+ "richText",
7387
+ "textInput",
7388
+ "tree",
7389
+ "graph",
7390
+ "loader",
7391
+ "loader3D",
7392
+ "comboBox",
7393
+ "progressBar",
7394
+ "slider",
7395
+ "scrollBar"
7396
+ ] },
7397
+ "name": { "type": "string" },
7398
+ "nameContains": { "type": "string" },
7399
+ "text": { "type": "string" },
7400
+ "textContains": { "type": "string" },
7401
+ "title": { "type": "string" },
7402
+ "titleContains": { "type": "string" },
7403
+ "group": { "type": "string" },
7404
+ "resourceId": { "type": "string" },
7405
+ "url": { "type": "string" },
7406
+ "visible": { "$ref": "#/$defs/Shape_6b49a92435" },
7407
+ "locked": { "$ref": "#/$defs/Shape_6b49a92435" },
7408
+ "touchable": { "$ref": "#/$defs/Shape_6b49a92435" },
7409
+ "hasGears": { "$ref": "#/$defs/Shape_6b49a92435" },
7410
+ "hasRelations": { "$ref": "#/$defs/Shape_6b49a92435" }
7411
+ },
7412
+ "required": [],
7413
+ "additionalProperties": false
7414
+ },
7102
7415
  "Array_96c9f2280e": {
7103
7416
  "type": "array",
7104
7417
  "items": { "$ref": "#/$defs/UamTransactionOperation_e59799c94d" }
@@ -7183,7 +7496,7 @@ const CONTRACT_SNAPSHOT = {
7183
7496
  },
7184
7497
  "capabilitySchemaVersion": {
7185
7498
  "type": "number",
7186
- "const": 15
7499
+ "const": 16
7187
7500
  }
7188
7501
  },
7189
7502
  "required": [
@@ -7394,7 +7707,7 @@ const CONTRACT_SNAPSHOT = {
7394
7707
  },
7395
7708
  "capabilitySchemaVersion": {
7396
7709
  "type": "number",
7397
- "const": 15
7710
+ "const": 16
7398
7711
  },
7399
7712
  "transactionKernelOwner": {
7400
7713
  "type": "string",
@@ -7408,8 +7721,8 @@ const CONTRACT_SNAPSHOT = {
7408
7721
  "type": "string",
7409
7722
  "const": "@openfairygui/backend"
7410
7723
  },
7411
- "methods": { "$ref": "#/$defs/Shape_ae72a55d5a_wire" },
7412
- "read": { "$ref": "#/$defs/__type_4c480176a6_wire" },
7724
+ "methods": { "$ref": "#/$defs/Shape_5f0e8ee676_wire" },
7725
+ "read": { "$ref": "#/$defs/__type_de50af0353_wire" },
7413
7726
  "authoring": { "$ref": "#/$defs/__type_cea960ae37_wire" },
7414
7727
  "artifact": { "$ref": "#/$defs/__type_c24c67cf7f_wire" },
7415
7728
  "manifest": { "$ref": "#/$defs/BackendCapabilityManifest_0ee177a0c0_wire" },
@@ -7432,7 +7745,7 @@ const CONTRACT_SNAPSHOT = {
7432
7745
  ],
7433
7746
  "additionalProperties": false
7434
7747
  },
7435
- "Shape_ae72a55d5a_wire": {
7748
+ "Shape_5f0e8ee676_wire": {
7436
7749
  "type": "array",
7437
7750
  "prefixItems": [
7438
7751
  {
@@ -7459,6 +7772,10 @@ const CONTRACT_SNAPSHOT = {
7459
7772
  "type": "string",
7460
7773
  "const": "queryEntity"
7461
7774
  },
7775
+ {
7776
+ "type": "string",
7777
+ "const": "queryDisplayNodes"
7778
+ },
7462
7779
  {
7463
7780
  "type": "string",
7464
7781
  "const": "readSessionState"
@@ -7504,11 +7821,11 @@ const CONTRACT_SNAPSHOT = {
7504
7821
  "const": "refreshCache"
7505
7822
  }
7506
7823
  ],
7507
- "minItems": 17,
7508
- "maxItems": 17,
7824
+ "minItems": 18,
7825
+ "maxItems": 18,
7509
7826
  "items": false
7510
7827
  },
7511
- "__type_4c480176a6_wire": {
7828
+ "__type_de50af0353_wire": {
7512
7829
  "type": "object",
7513
7830
  "properties": {
7514
7831
  "capabilitySnapshot": {
@@ -7524,6 +7841,7 @@ const CONTRACT_SNAPSHOT = {
7524
7841
  "const": true
7525
7842
  },
7526
7843
  "entityQuery": { "$ref": "#/$defs/__type_14ef9c17ee_wire" },
7844
+ "displayNodeQuery": { "$ref": "#/$defs/__type_181f67f6a1_wire" },
7527
7845
  "sessionState": { "$ref": "#/$defs/__type_21fe9bfc0c_wire" },
7528
7846
  "resourceBytes": { "$ref": "#/$defs/__type_0e06fdec06_wire" },
7529
7847
  "projectValidation": {
@@ -7536,6 +7854,7 @@ const CONTRACT_SNAPSHOT = {
7536
7854
  "sessionSnapshot",
7537
7855
  "projectOutline",
7538
7856
  "entityQuery",
7857
+ "displayNodeQuery",
7539
7858
  "sessionState",
7540
7859
  "resourceBytes",
7541
7860
  "projectValidation"
@@ -7599,6 +7918,86 @@ const CONTRACT_SNAPSHOT = {
7599
7918
  ],
7600
7919
  "additionalProperties": false
7601
7920
  },
7921
+ "__type_181f67f6a1_wire": {
7922
+ "type": "object",
7923
+ "properties": {
7924
+ "scope": {
7925
+ "type": "string",
7926
+ "const": "component"
7927
+ },
7928
+ "filterFields": { "$ref": "#/$defs/ReadonlyArray_65b443321f_wire" },
7929
+ "projection": {
7930
+ "type": "string",
7931
+ "const": "summary"
7932
+ },
7933
+ "sourceBytes": {
7934
+ "type": "boolean",
7935
+ "const": false
7936
+ },
7937
+ "limits": { "$ref": "#/$defs/__object_7de0a6f325_wire" }
7938
+ },
7939
+ "required": [
7940
+ "scope",
7941
+ "filterFields",
7942
+ "projection",
7943
+ "sourceBytes",
7944
+ "limits"
7945
+ ],
7946
+ "additionalProperties": false
7947
+ },
7948
+ "ReadonlyArray_65b443321f_wire": {
7949
+ "type": "array",
7950
+ "items": { "enum": [
7951
+ "name",
7952
+ "url",
7953
+ "visible",
7954
+ "title",
7955
+ "text",
7956
+ "group",
7957
+ "locked",
7958
+ "touchable",
7959
+ "kind",
7960
+ "resourceId",
7961
+ "nameContains",
7962
+ "textContains",
7963
+ "titleContains",
7964
+ "hasGears",
7965
+ "hasRelations"
7966
+ ] }
7967
+ },
7968
+ "__object_7de0a6f325_wire": {
7969
+ "type": "object",
7970
+ "properties": {
7971
+ "maxBytes": {
7972
+ "type": "number",
7973
+ "const": 262144
7974
+ },
7975
+ "maxDepth": {
7976
+ "type": "number",
7977
+ "const": 32
7978
+ },
7979
+ "maxNodes": {
7980
+ "type": "number",
7981
+ "const": 1e5
7982
+ },
7983
+ "defaultLimit": {
7984
+ "type": "number",
7985
+ "const": 50
7986
+ },
7987
+ "maxLimit": {
7988
+ "type": "number",
7989
+ "const": 200
7990
+ }
7991
+ },
7992
+ "required": [
7993
+ "maxBytes",
7994
+ "maxDepth",
7995
+ "maxNodes",
7996
+ "defaultLimit",
7997
+ "maxLimit"
7998
+ ],
7999
+ "additionalProperties": false
8000
+ },
7602
8001
  "__type_21fe9bfc0c_wire": {
7603
8002
  "type": "object",
7604
8003
  "properties": {
@@ -8187,6 +8586,7 @@ const CONTRACT_SNAPSHOT = {
8187
8586
  "lastSavedRevision": { "type": "number" },
8188
8587
  "dirty": { "type": "boolean" },
8189
8588
  "uamFidelity": { "enum": ["full", "unsupported"] },
8589
+ "uamFidelityReport": { "$ref": "#/$defs/UamFidelityReport_aee071a4e7_wire" },
8190
8590
  "lockHeld": { "type": "boolean" },
8191
8591
  "capabilities": { "$ref": "#/$defs/BackendCapabilities_830909a2de_wire" }
8192
8592
  },
@@ -8202,6 +8602,53 @@ const CONTRACT_SNAPSHOT = {
8202
8602
  ],
8203
8603
  "additionalProperties": false
8204
8604
  },
8605
+ "UamFidelityReport_aee071a4e7_wire": {
8606
+ "type": "object",
8607
+ "properties": {
8608
+ "reason": { "enum": [
8609
+ "incomplete_read",
8610
+ "materialize_failed",
8611
+ "round_trip_mismatch"
8612
+ ] },
8613
+ "errorMessage": { "type": "string" },
8614
+ "totalDiffCount": { "type": "number" },
8615
+ "diffs": { "$ref": "#/$defs/Array_c1dbe9d153_wire" },
8616
+ "truncated": { "type": "boolean" }
8617
+ },
8618
+ "required": [
8619
+ "reason",
8620
+ "totalDiffCount",
8621
+ "diffs",
8622
+ "truncated"
8623
+ ],
8624
+ "additionalProperties": false
8625
+ },
8626
+ "Array_c1dbe9d153_wire": {
8627
+ "type": "array",
8628
+ "items": { "$ref": "#/$defs/UamFidelityDiffEntry_45527c2258_wire" }
8629
+ },
8630
+ "UamFidelityDiffEntry_45527c2258_wire": {
8631
+ "type": "object",
8632
+ "properties": {
8633
+ "path": { "type": "string" },
8634
+ "kind": { "enum": ["file", "directory"] },
8635
+ "change": { "enum": [
8636
+ "missing",
8637
+ "extra",
8638
+ "modified",
8639
+ "type_mismatch"
8640
+ ] },
8641
+ "line": { "type": "number" },
8642
+ "sourceExcerpt": { "type": "string" },
8643
+ "materializedExcerpt": { "type": "string" }
8644
+ },
8645
+ "required": [
8646
+ "path",
8647
+ "kind",
8648
+ "change"
8649
+ ],
8650
+ "additionalProperties": false
8651
+ },
8205
8652
  "BackendFailure_a9d8991187_wire": {
8206
8653
  "type": "object",
8207
8654
  "properties": {
@@ -9205,6 +9652,7 @@ const CONTRACT_SNAPSHOT = {
9205
9652
  "quality": { "type": "number" },
9206
9653
  "smoothing": { "type": "boolean" },
9207
9654
  "duplicatePadding": { "type": "boolean" },
9655
+ "disableTrim": { "$ref": "#/$defs/Shape_6b49a92435_wire" },
9208
9656
  "scaleOption": { "enum": [
9209
9657
  0,
9210
9658
  2,
@@ -9277,6 +9725,7 @@ const CONTRACT_SNAPSHOT = {
9277
9725
  "UamMovieClipResourceProperties_7891e3deb2_wire": {
9278
9726
  "type": "object",
9279
9727
  "properties": {
9728
+ "textureSetMode": { "type": "string" },
9280
9729
  "interval": { "type": "number" },
9281
9730
  "repeatDelay": { "type": "number" },
9282
9731
  "swing": { "type": "boolean" },
@@ -9601,6 +10050,7 @@ const CONTRACT_SNAPSHOT = {
9601
10050
  "const": "image"
9602
10051
  },
9603
10052
  "resource": { "$ref": "#/$defs/UamResourceRef_3486136f6c_wire" },
10053
+ "fileName": { "type": "string" },
9604
10054
  "group": { "type": "string" },
9605
10055
  "id": { "type": "string" },
9606
10056
  "name": { "type": "string" },
@@ -9624,9 +10074,16 @@ const CONTRACT_SNAPSHOT = {
9624
10074
  "add",
9625
10075
  "none",
9626
10076
  "normal",
10077
+ "off",
10078
+ "mask",
9627
10079
  "multiply",
9628
10080
  "screen",
9629
- "erase"
10081
+ "erase",
10082
+ "below",
10083
+ "one_oneminussrcalpha",
10084
+ "custom1",
10085
+ "custom2",
10086
+ "custom3"
9630
10087
  ] },
9631
10088
  "filter": { "type": "string" },
9632
10089
  "filterData": { "type": "string" },
@@ -10267,9 +10724,16 @@ const CONTRACT_SNAPSHOT = {
10267
10724
  "add",
10268
10725
  "none",
10269
10726
  "normal",
10727
+ "off",
10728
+ "mask",
10270
10729
  "multiply",
10271
10730
  "screen",
10272
- "erase"
10731
+ "erase",
10732
+ "below",
10733
+ "one_oneminussrcalpha",
10734
+ "custom1",
10735
+ "custom2",
10736
+ "custom3"
10273
10737
  ] },
10274
10738
  "filter": { "type": "string" },
10275
10739
  "filterData": { "type": "string" },
@@ -10385,9 +10849,16 @@ const CONTRACT_SNAPSHOT = {
10385
10849
  "add",
10386
10850
  "none",
10387
10851
  "normal",
10852
+ "off",
10853
+ "mask",
10388
10854
  "multiply",
10389
10855
  "screen",
10390
- "erase"
10856
+ "erase",
10857
+ "below",
10858
+ "one_oneminussrcalpha",
10859
+ "custom1",
10860
+ "custom2",
10861
+ "custom3"
10391
10862
  ] },
10392
10863
  "filter": { "type": "string" },
10393
10864
  "filterData": { "type": "string" },
@@ -10502,9 +10973,16 @@ const CONTRACT_SNAPSHOT = {
10502
10973
  "add",
10503
10974
  "none",
10504
10975
  "normal",
10976
+ "off",
10977
+ "mask",
10505
10978
  "multiply",
10506
10979
  "screen",
10507
- "erase"
10980
+ "erase",
10981
+ "below",
10982
+ "one_oneminussrcalpha",
10983
+ "custom1",
10984
+ "custom2",
10985
+ "custom3"
10508
10986
  ] },
10509
10987
  "filter": { "type": "string" },
10510
10988
  "filterData": { "type": "string" },
@@ -10631,9 +11109,16 @@ const CONTRACT_SNAPSHOT = {
10631
11109
  "add",
10632
11110
  "none",
10633
11111
  "normal",
11112
+ "off",
11113
+ "mask",
10634
11114
  "multiply",
10635
11115
  "screen",
10636
- "erase"
11116
+ "erase",
11117
+ "below",
11118
+ "one_oneminussrcalpha",
11119
+ "custom1",
11120
+ "custom2",
11121
+ "custom3"
10637
11122
  ] },
10638
11123
  "filter": { "type": "string" },
10639
11124
  "filterData": { "type": "string" },
@@ -10909,9 +11394,16 @@ const CONTRACT_SNAPSHOT = {
10909
11394
  "add",
10910
11395
  "none",
10911
11396
  "normal",
11397
+ "off",
11398
+ "mask",
10912
11399
  "multiply",
10913
11400
  "screen",
10914
- "erase"
11401
+ "erase",
11402
+ "below",
11403
+ "one_oneminussrcalpha",
11404
+ "custom1",
11405
+ "custom2",
11406
+ "custom3"
10915
11407
  ] },
10916
11408
  "filter": { "type": "string" },
10917
11409
  "filterData": { "type": "string" },
@@ -11070,9 +11562,16 @@ const CONTRACT_SNAPSHOT = {
11070
11562
  "add",
11071
11563
  "none",
11072
11564
  "normal",
11565
+ "off",
11566
+ "mask",
11073
11567
  "multiply",
11074
11568
  "screen",
11075
- "erase"
11569
+ "erase",
11570
+ "below",
11571
+ "one_oneminussrcalpha",
11572
+ "custom1",
11573
+ "custom2",
11574
+ "custom3"
11076
11575
  ] },
11077
11576
  "filter": { "type": "string" },
11078
11577
  "filterData": { "type": "string" },
@@ -11206,9 +11705,16 @@ const CONTRACT_SNAPSHOT = {
11206
11705
  "add",
11207
11706
  "none",
11208
11707
  "normal",
11708
+ "off",
11709
+ "mask",
11209
11710
  "multiply",
11210
11711
  "screen",
11211
- "erase"
11712
+ "erase",
11713
+ "below",
11714
+ "one_oneminussrcalpha",
11715
+ "custom1",
11716
+ "custom2",
11717
+ "custom3"
11212
11718
  ] },
11213
11719
  "filter": { "type": "string" },
11214
11720
  "filterData": { "type": "string" },
@@ -11299,9 +11805,16 @@ const CONTRACT_SNAPSHOT = {
11299
11805
  "add",
11300
11806
  "none",
11301
11807
  "normal",
11808
+ "off",
11809
+ "mask",
11302
11810
  "multiply",
11303
11811
  "screen",
11304
- "erase"
11812
+ "erase",
11813
+ "below",
11814
+ "one_oneminussrcalpha",
11815
+ "custom1",
11816
+ "custom2",
11817
+ "custom3"
11305
11818
  ] },
11306
11819
  "filter": { "type": "string" },
11307
11820
  "filterData": { "type": "string" },
@@ -11359,6 +11872,7 @@ const CONTRACT_SNAPSHOT = {
11359
11872
  "const": "loader"
11360
11873
  },
11361
11874
  "pivot": { "$ref": "#/$defs/UamPoint_600bb96bb9_wire" },
11875
+ "group": { "type": "string" },
11362
11876
  "id": { "type": "string" },
11363
11877
  "name": { "type": "string" },
11364
11878
  "position": { "$ref": "#/$defs/UamPoint_600bb96bb9_wire" },
@@ -11380,9 +11894,16 @@ const CONTRACT_SNAPSHOT = {
11380
11894
  "add",
11381
11895
  "none",
11382
11896
  "normal",
11897
+ "off",
11898
+ "mask",
11383
11899
  "multiply",
11384
11900
  "screen",
11385
- "erase"
11901
+ "erase",
11902
+ "below",
11903
+ "one_oneminussrcalpha",
11904
+ "custom1",
11905
+ "custom2",
11906
+ "custom3"
11386
11907
  ] },
11387
11908
  "filter": { "type": "string" },
11388
11909
  "filterData": { "type": "string" },
@@ -11409,6 +11930,7 @@ const CONTRACT_SNAPSHOT = {
11409
11930
  "required": [
11410
11931
  "kind",
11411
11932
  "pivot",
11933
+ "group",
11412
11934
  "id",
11413
11935
  "name",
11414
11936
  "position",
@@ -11457,6 +11979,7 @@ const CONTRACT_SNAPSHOT = {
11457
11979
  "type": "string",
11458
11980
  "const": "loader3D"
11459
11981
  },
11982
+ "group": { "type": "string" },
11460
11983
  "id": { "type": "string" },
11461
11984
  "name": { "type": "string" },
11462
11985
  "position": { "$ref": "#/$defs/UamPoint_600bb96bb9_wire" },
@@ -11479,9 +12002,16 @@ const CONTRACT_SNAPSHOT = {
11479
12002
  "add",
11480
12003
  "none",
11481
12004
  "normal",
12005
+ "off",
12006
+ "mask",
11482
12007
  "multiply",
11483
12008
  "screen",
11484
- "erase"
12009
+ "erase",
12010
+ "below",
12011
+ "one_oneminussrcalpha",
12012
+ "custom1",
12013
+ "custom2",
12014
+ "custom3"
11485
12015
  ] },
11486
12016
  "filter": { "type": "string" },
11487
12017
  "filterData": { "type": "string" },
@@ -11504,6 +12034,7 @@ const CONTRACT_SNAPSHOT = {
11504
12034
  },
11505
12035
  "required": [
11506
12036
  "kind",
12037
+ "group",
11507
12038
  "id",
11508
12039
  "name",
11509
12040
  "position",
@@ -11574,9 +12105,16 @@ const CONTRACT_SNAPSHOT = {
11574
12105
  "add",
11575
12106
  "none",
11576
12107
  "normal",
12108
+ "off",
12109
+ "mask",
11577
12110
  "multiply",
11578
12111
  "screen",
11579
- "erase"
12112
+ "erase",
12113
+ "below",
12114
+ "one_oneminussrcalpha",
12115
+ "custom1",
12116
+ "custom2",
12117
+ "custom3"
11580
12118
  ] },
11581
12119
  "filter": { "type": "string" },
11582
12120
  "filterData": { "type": "string" },
@@ -11642,6 +12180,7 @@ const CONTRACT_SNAPSHOT = {
11642
12180
  "sound": { "type": "string" },
11643
12181
  "soundVolumeScale": { "type": "number" },
11644
12182
  "pageController": { "type": "string" },
12183
+ "fileName": { "type": "string" },
11645
12184
  "src": { "type": "string" },
11646
12185
  "packageId": { "type": "string" },
11647
12186
  "group": { "type": "string" },
@@ -11667,9 +12206,16 @@ const CONTRACT_SNAPSHOT = {
11667
12206
  "add",
11668
12207
  "none",
11669
12208
  "normal",
12209
+ "off",
12210
+ "mask",
11670
12211
  "multiply",
11671
12212
  "screen",
11672
- "erase"
12213
+ "erase",
12214
+ "below",
12215
+ "one_oneminussrcalpha",
12216
+ "custom1",
12217
+ "custom2",
12218
+ "custom3"
11673
12219
  ] },
11674
12220
  "filter": { "type": "string" },
11675
12221
  "filterData": { "type": "string" },
@@ -11733,6 +12279,7 @@ const CONTRACT_SNAPSHOT = {
11733
12279
  "sound": { "type": "string" },
11734
12280
  "soundVolumeScale": { "type": "number" },
11735
12281
  "pageController": { "type": "string" },
12282
+ "fileName": { "type": "string" },
11736
12283
  "src": { "type": "string" },
11737
12284
  "packageId": { "type": "string" },
11738
12285
  "group": { "type": "string" },
@@ -11758,9 +12305,16 @@ const CONTRACT_SNAPSHOT = {
11758
12305
  "add",
11759
12306
  "none",
11760
12307
  "normal",
12308
+ "off",
12309
+ "mask",
11761
12310
  "multiply",
11762
12311
  "screen",
11763
- "erase"
12312
+ "erase",
12313
+ "below",
12314
+ "one_oneminussrcalpha",
12315
+ "custom1",
12316
+ "custom2",
12317
+ "custom3"
11764
12318
  ] },
11765
12319
  "filter": { "type": "string" },
11766
12320
  "filterData": { "type": "string" },
@@ -11818,6 +12372,7 @@ const CONTRACT_SNAPSHOT = {
11818
12372
  "selectedIndex": { "type": "number" },
11819
12373
  "visibleItemCount": { "type": "number" },
11820
12374
  "popupDirection": { "type": "number" },
12375
+ "selectionController": { "type": "string" },
11821
12376
  "title": { "type": "string" },
11822
12377
  "icon": { "type": "string" },
11823
12378
  "titleColor": { "type": "string" },
@@ -11825,6 +12380,7 @@ const CONTRACT_SNAPSHOT = {
11825
12380
  "sound": { "type": "string" },
11826
12381
  "soundVolumeScale": { "type": "number" },
11827
12382
  "pageController": { "type": "string" },
12383
+ "fileName": { "type": "string" },
11828
12384
  "src": { "type": "string" },
11829
12385
  "packageId": { "type": "string" },
11830
12386
  "group": { "type": "string" },
@@ -11850,9 +12406,16 @@ const CONTRACT_SNAPSHOT = {
11850
12406
  "add",
11851
12407
  "none",
11852
12408
  "normal",
12409
+ "off",
12410
+ "mask",
11853
12411
  "multiply",
11854
12412
  "screen",
11855
- "erase"
12413
+ "erase",
12414
+ "below",
12415
+ "one_oneminussrcalpha",
12416
+ "custom1",
12417
+ "custom2",
12418
+ "custom3"
11856
12419
  ] },
11857
12420
  "filter": { "type": "string" },
11858
12421
  "filterData": { "type": "string" },
@@ -11917,6 +12480,7 @@ const CONTRACT_SNAPSHOT = {
11917
12480
  "sound": { "type": "string" },
11918
12481
  "soundVolumeScale": { "type": "number" },
11919
12482
  "pageController": { "type": "string" },
12483
+ "fileName": { "type": "string" },
11920
12484
  "src": { "type": "string" },
11921
12485
  "packageId": { "type": "string" },
11922
12486
  "group": { "type": "string" },
@@ -11942,9 +12506,16 @@ const CONTRACT_SNAPSHOT = {
11942
12506
  "add",
11943
12507
  "none",
11944
12508
  "normal",
12509
+ "off",
12510
+ "mask",
11945
12511
  "multiply",
11946
12512
  "screen",
11947
- "erase"
12513
+ "erase",
12514
+ "below",
12515
+ "one_oneminussrcalpha",
12516
+ "custom1",
12517
+ "custom2",
12518
+ "custom3"
11948
12519
  ] },
11949
12520
  "filter": { "type": "string" },
11950
12521
  "filterData": { "type": "string" },
@@ -12002,6 +12573,7 @@ const CONTRACT_SNAPSHOT = {
12002
12573
  "value": { "type": "number" },
12003
12574
  "wholeNumbers": { "type": "boolean" },
12004
12575
  "pageController": { "type": "string" },
12576
+ "fileName": { "type": "string" },
12005
12577
  "src": { "type": "string" },
12006
12578
  "packageId": { "type": "string" },
12007
12579
  "group": { "type": "string" },
@@ -12027,9 +12599,16 @@ const CONTRACT_SNAPSHOT = {
12027
12599
  "add",
12028
12600
  "none",
12029
12601
  "normal",
12602
+ "off",
12603
+ "mask",
12030
12604
  "multiply",
12031
12605
  "screen",
12032
- "erase"
12606
+ "erase",
12607
+ "below",
12608
+ "one_oneminussrcalpha",
12609
+ "custom1",
12610
+ "custom2",
12611
+ "custom3"
12033
12612
  ] },
12034
12613
  "filter": { "type": "string" },
12035
12614
  "filterData": { "type": "string" },
@@ -12081,6 +12660,7 @@ const CONTRACT_SNAPSHOT = {
12081
12660
  },
12082
12661
  "fixedGripSize": { "type": "boolean" },
12083
12662
  "pageController": { "type": "string" },
12663
+ "fileName": { "type": "string" },
12084
12664
  "src": { "type": "string" },
12085
12665
  "packageId": { "type": "string" },
12086
12666
  "group": { "type": "string" },
@@ -12106,9 +12686,16 @@ const CONTRACT_SNAPSHOT = {
12106
12686
  "add",
12107
12687
  "none",
12108
12688
  "normal",
12689
+ "off",
12690
+ "mask",
12109
12691
  "multiply",
12110
12692
  "screen",
12111
- "erase"
12693
+ "erase",
12694
+ "below",
12695
+ "one_oneminussrcalpha",
12696
+ "custom1",
12697
+ "custom2",
12698
+ "custom3"
12112
12699
  ] },
12113
12700
  "filter": { "type": "string" },
12114
12701
  "filterData": { "type": "string" },
@@ -12362,6 +12949,129 @@ const CONTRACT_SNAPSHOT = {
12362
12949
  ],
12363
12950
  "additionalProperties": false
12364
12951
  },
12952
+ "BackendResult_b18bc44e67_wire": { "anyOf": [{ "$ref": "#/$defs/BackendFailure_c6f2a9c77b_wire" }, { "$ref": "#/$defs/BackendSuccess_a38e44c6ae_wire" }] },
12953
+ "BackendSuccess_a38e44c6ae_wire": {
12954
+ "type": "object",
12955
+ "properties": {
12956
+ "ok": {
12957
+ "type": "boolean",
12958
+ "const": true
12959
+ },
12960
+ "meta": { "$ref": "#/$defs/BackendResponseMeta_bbbdb18c02_wire" },
12961
+ "data": { "$ref": "#/$defs/BackendDisplayNodeQueryResult_c1c8ce8f1c_wire" }
12962
+ },
12963
+ "required": [
12964
+ "ok",
12965
+ "meta",
12966
+ "data"
12967
+ ],
12968
+ "additionalProperties": false
12969
+ },
12970
+ "BackendDisplayNodeQueryResult_c1c8ce8f1c_wire": {
12971
+ "type": "object",
12972
+ "properties": {
12973
+ "sessionId": { "type": "string" },
12974
+ "revision": { "type": "number" },
12975
+ "selector": { "$ref": "#/$defs/UamComponentSelector_0f08120f8d_wire" },
12976
+ "totalMatched": { "type": "number" },
12977
+ "truncated": { "type": "boolean" },
12978
+ "nodes": { "$ref": "#/$defs/Array_19966bcf3f_wire" }
12979
+ },
12980
+ "required": [
12981
+ "sessionId",
12982
+ "revision",
12983
+ "selector",
12984
+ "totalMatched",
12985
+ "truncated",
12986
+ "nodes"
12987
+ ],
12988
+ "additionalProperties": false
12989
+ },
12990
+ "Array_19966bcf3f_wire": {
12991
+ "type": "array",
12992
+ "items": { "$ref": "#/$defs/BackendDisplayNodeCandidate_9e81b81aa0_wire" }
12993
+ },
12994
+ "BackendDisplayNodeCandidate_9e81b81aa0_wire": {
12995
+ "type": "object",
12996
+ "properties": {
12997
+ "id": { "type": "string" },
12998
+ "name": { "type": "string" },
12999
+ "kind": { "enum": [
13000
+ "button",
13001
+ "label",
13002
+ "image",
13003
+ "text",
13004
+ "group",
13005
+ "list",
13006
+ "movieClip",
13007
+ "component",
13008
+ "richText",
13009
+ "textInput",
13010
+ "tree",
13011
+ "graph",
13012
+ "loader",
13013
+ "loader3D",
13014
+ "comboBox",
13015
+ "progressBar",
13016
+ "slider",
13017
+ "scrollBar"
13018
+ ] },
13019
+ "index": { "type": "number" },
13020
+ "position": { "$ref": "#/$defs/__type_4b84b3d539_wire" },
13021
+ "size": { "$ref": "#/$defs/__type_38742680c1_wire" },
13022
+ "visible": { "type": "boolean" },
13023
+ "locked": { "type": "boolean" },
13024
+ "touchable": { "type": "boolean" },
13025
+ "group": { "type": "string" },
13026
+ "text": { "type": "string" },
13027
+ "title": { "type": "string" },
13028
+ "resource": { "$ref": "#/$defs/__type_6d828cf2a1_wire" },
13029
+ "url": { "type": "string" },
13030
+ "gearCount": { "type": "number" },
13031
+ "relationCount": { "type": "number" }
13032
+ },
13033
+ "required": [
13034
+ "id",
13035
+ "name",
13036
+ "kind",
13037
+ "index",
13038
+ "position",
13039
+ "size",
13040
+ "visible",
13041
+ "locked",
13042
+ "touchable",
13043
+ "gearCount",
13044
+ "relationCount"
13045
+ ],
13046
+ "additionalProperties": false
13047
+ },
13048
+ "__type_4b84b3d539_wire": {
13049
+ "type": "object",
13050
+ "properties": {
13051
+ "x": { "type": "number" },
13052
+ "y": { "type": "number" }
13053
+ },
13054
+ "required": ["x", "y"],
13055
+ "additionalProperties": false
13056
+ },
13057
+ "__type_38742680c1_wire": {
13058
+ "type": "object",
13059
+ "properties": {
13060
+ "width": { "type": "number" },
13061
+ "height": { "type": "number" }
13062
+ },
13063
+ "required": ["width", "height"],
13064
+ "additionalProperties": false
13065
+ },
13066
+ "__type_6d828cf2a1_wire": {
13067
+ "type": "object",
13068
+ "properties": {
13069
+ "packageId": { "type": "string" },
13070
+ "resourceId": { "type": "string" }
13071
+ },
13072
+ "required": ["resourceId"],
13073
+ "additionalProperties": false
13074
+ },
12365
13075
  "BackendResult_cb2883923d_wire": { "anyOf": [{ "$ref": "#/$defs/BackendFailure_c83c55897b_wire" }, { "$ref": "#/$defs/BackendSuccess_80b7cdfd39_wire" }] },
12366
13076
  "BackendFailure_c83c55897b_wire": {
12367
13077
  "type": "object",
@@ -12461,7 +13171,8 @@ const CONTRACT_SNAPSHOT = {
12461
13171
  "revision": { "type": "number" },
12462
13172
  "lastSavedRevision": { "type": "number" },
12463
13173
  "dirty": { "type": "boolean" },
12464
- "uamFidelity": { "enum": ["full", "unsupported"] }
13174
+ "uamFidelity": { "enum": ["full", "unsupported"] },
13175
+ "uamFidelityReport": { "$ref": "#/$defs/UamFidelityReport_aee071a4e7_wire" }
12465
13176
  },
12466
13177
  "required": [
12467
13178
  "project",
@@ -12549,6 +13260,7 @@ const CONTRACT_SNAPSHOT = {
12549
13260
  "size": { "$ref": "#/$defs/UamSize_fcba86f12a_wire" },
12550
13261
  "properties": { "$ref": "#/$defs/UamComponentProperties_d7c39dde47_wire" },
12551
13262
  "customData": { "type": "string" },
13263
+ "relations": { "$ref": "#/$defs/Array_9d4803aa29_wire" },
12552
13264
  "displayList": { "$ref": "#/$defs/Array_467ca5fd71_wire" },
12553
13265
  "controllers": { "$ref": "#/$defs/Array_33931a1f70_wire" },
12554
13266
  "transitions": { "$ref": "#/$defs/Array_40451c0a9c_wire" }
@@ -13560,6 +14272,7 @@ const CONTRACT_SNAPSHOT = {
13560
14272
  "lastSavedRevision": { "type": "number" },
13561
14273
  "dirty": { "type": "boolean" },
13562
14274
  "uamFidelity": { "enum": ["full", "unsupported"] },
14275
+ "uamFidelityReport": { "$ref": "#/$defs/UamFidelityReport_aee071a4e7_wire" },
13563
14276
  "lockHeld": { "type": "boolean" },
13564
14277
  "capabilities": { "$ref": "#/$defs/BackendCapabilities_830909a2de_wire" }
13565
14278
  },
@@ -13673,7 +14386,8 @@ const CONTRACT_SNAPSHOT = {
13673
14386
  },
13674
14387
  "message": { "type": "string" },
13675
14388
  "sessionId": { "type": "string" },
13676
- "canonicalPathKey": { "type": "string" }
14389
+ "canonicalPathKey": { "type": "string" },
14390
+ "fidelityReport": { "$ref": "#/$defs/UamFidelityReport_aee071a4e7_wire" }
13677
14391
  },
13678
14392
  "required": [
13679
14393
  "code",
@@ -14123,6 +14837,7 @@ const CONTRACT_SNAPSHOT = {
14123
14837
  "size": { "$ref": "#/$defs/UamSize_fcba86f12a_read" },
14124
14838
  "properties": { "$ref": "#/$defs/UamComponentProperties_d7c39dde47_read" },
14125
14839
  "customData": { "type": "string" },
14840
+ "relations": { "$ref": "#/$defs/Array_9d4803aa29_read" },
14126
14841
  "displayList": { "$ref": "#/$defs/Array_467ca5fd71_read" },
14127
14842
  "controllers": { "$ref": "#/$defs/Array_33931a1f70_read" },
14128
14843
  "transitions": { "$ref": "#/$defs/Array_40451c0a9c_read" }
@@ -14295,6 +15010,24 @@ const CONTRACT_SNAPSHOT = {
14295
15010
  ],
14296
15011
  "additionalProperties": true
14297
15012
  },
15013
+ "Array_9d4803aa29_read": {
15014
+ "type": "array",
15015
+ "items": { "$ref": "#/$defs/UamRelation_05734287d5_read" }
15016
+ },
15017
+ "UamRelation_05734287d5_read": {
15018
+ "type": "object",
15019
+ "properties": {
15020
+ "targetNodeId": { "type": "string" },
15021
+ "type": { "type": "number" },
15022
+ "usePercent": { "type": "boolean" }
15023
+ },
15024
+ "required": [
15025
+ "targetNodeId",
15026
+ "type",
15027
+ "usePercent"
15028
+ ],
15029
+ "additionalProperties": true
15030
+ },
14298
15031
  "Array_467ca5fd71_read": {
14299
15032
  "type": "array",
14300
15033
  "items": { "$ref": "#/$defs/UamDisplayNode_0f29e80218_read" }
@@ -14327,6 +15060,7 @@ const CONTRACT_SNAPSHOT = {
14327
15060
  "const": "image"
14328
15061
  },
14329
15062
  "resource": { "$ref": "#/$defs/UamResourceRef_3486136f6c_read" },
15063
+ "fileName": { "type": "string" },
14330
15064
  "group": { "type": "string" },
14331
15065
  "id": { "type": "string" },
14332
15066
  "name": { "type": "string" },
@@ -14350,9 +15084,16 @@ const CONTRACT_SNAPSHOT = {
14350
15084
  "add",
14351
15085
  "none",
14352
15086
  "normal",
15087
+ "off",
15088
+ "mask",
14353
15089
  "multiply",
14354
15090
  "screen",
14355
- "erase"
15091
+ "erase",
15092
+ "below",
15093
+ "one_oneminussrcalpha",
15094
+ "custom1",
15095
+ "custom2",
15096
+ "custom3"
14356
15097
  ] },
14357
15098
  "filter": { "type": "string" },
14358
15099
  "filterData": { "type": "string" },
@@ -14417,24 +15158,6 @@ const CONTRACT_SNAPSHOT = {
14417
15158
  "type": "boolean",
14418
15159
  "const": true
14419
15160
  }] },
14420
- "Array_9d4803aa29_read": {
14421
- "type": "array",
14422
- "items": { "$ref": "#/$defs/UamRelation_05734287d5_read" }
14423
- },
14424
- "UamRelation_05734287d5_read": {
14425
- "type": "object",
14426
- "properties": {
14427
- "targetNodeId": { "type": "string" },
14428
- "type": { "type": "number" },
14429
- "usePercent": { "type": "boolean" }
14430
- },
14431
- "required": [
14432
- "targetNodeId",
14433
- "type",
14434
- "usePercent"
14435
- ],
14436
- "additionalProperties": true
14437
- },
14438
15161
  "Array_aa00fd9a0a_read": {
14439
15162
  "type": "array",
14440
15163
  "items": { "$ref": "#/$defs/UamGearBinding_02d8315877_read" }
@@ -15000,9 +15723,16 @@ const CONTRACT_SNAPSHOT = {
15000
15723
  "add",
15001
15724
  "none",
15002
15725
  "normal",
15726
+ "off",
15727
+ "mask",
15003
15728
  "multiply",
15004
15729
  "screen",
15005
- "erase"
15730
+ "erase",
15731
+ "below",
15732
+ "one_oneminussrcalpha",
15733
+ "custom1",
15734
+ "custom2",
15735
+ "custom3"
15006
15736
  ] },
15007
15737
  "filter": { "type": "string" },
15008
15738
  "filterData": { "type": "string" },
@@ -15118,9 +15848,16 @@ const CONTRACT_SNAPSHOT = {
15118
15848
  "add",
15119
15849
  "none",
15120
15850
  "normal",
15851
+ "off",
15852
+ "mask",
15121
15853
  "multiply",
15122
15854
  "screen",
15123
- "erase"
15855
+ "erase",
15856
+ "below",
15857
+ "one_oneminussrcalpha",
15858
+ "custom1",
15859
+ "custom2",
15860
+ "custom3"
15124
15861
  ] },
15125
15862
  "filter": { "type": "string" },
15126
15863
  "filterData": { "type": "string" },
@@ -15235,9 +15972,16 @@ const CONTRACT_SNAPSHOT = {
15235
15972
  "add",
15236
15973
  "none",
15237
15974
  "normal",
15975
+ "off",
15976
+ "mask",
15238
15977
  "multiply",
15239
15978
  "screen",
15240
- "erase"
15979
+ "erase",
15980
+ "below",
15981
+ "one_oneminussrcalpha",
15982
+ "custom1",
15983
+ "custom2",
15984
+ "custom3"
15241
15985
  ] },
15242
15986
  "filter": { "type": "string" },
15243
15987
  "filterData": { "type": "string" },
@@ -15364,9 +16108,16 @@ const CONTRACT_SNAPSHOT = {
15364
16108
  "add",
15365
16109
  "none",
15366
16110
  "normal",
16111
+ "off",
16112
+ "mask",
15367
16113
  "multiply",
15368
16114
  "screen",
15369
- "erase"
16115
+ "erase",
16116
+ "below",
16117
+ "one_oneminussrcalpha",
16118
+ "custom1",
16119
+ "custom2",
16120
+ "custom3"
15370
16121
  ] },
15371
16122
  "filter": { "type": "string" },
15372
16123
  "filterData": { "type": "string" },
@@ -15642,9 +16393,16 @@ const CONTRACT_SNAPSHOT = {
15642
16393
  "add",
15643
16394
  "none",
15644
16395
  "normal",
16396
+ "off",
16397
+ "mask",
15645
16398
  "multiply",
15646
16399
  "screen",
15647
- "erase"
16400
+ "erase",
16401
+ "below",
16402
+ "one_oneminussrcalpha",
16403
+ "custom1",
16404
+ "custom2",
16405
+ "custom3"
15648
16406
  ] },
15649
16407
  "filter": { "type": "string" },
15650
16408
  "filterData": { "type": "string" },
@@ -15814,9 +16572,16 @@ const CONTRACT_SNAPSHOT = {
15814
16572
  "add",
15815
16573
  "none",
15816
16574
  "normal",
16575
+ "off",
16576
+ "mask",
15817
16577
  "multiply",
15818
16578
  "screen",
15819
- "erase"
16579
+ "erase",
16580
+ "below",
16581
+ "one_oneminussrcalpha",
16582
+ "custom1",
16583
+ "custom2",
16584
+ "custom3"
15820
16585
  ] },
15821
16586
  "filter": { "type": "string" },
15822
16587
  "filterData": { "type": "string" },
@@ -15950,9 +16715,16 @@ const CONTRACT_SNAPSHOT = {
15950
16715
  "add",
15951
16716
  "none",
15952
16717
  "normal",
16718
+ "off",
16719
+ "mask",
15953
16720
  "multiply",
15954
16721
  "screen",
15955
- "erase"
16722
+ "erase",
16723
+ "below",
16724
+ "one_oneminussrcalpha",
16725
+ "custom1",
16726
+ "custom2",
16727
+ "custom3"
15956
16728
  ] },
15957
16729
  "filter": { "type": "string" },
15958
16730
  "filterData": { "type": "string" },
@@ -16050,9 +16822,16 @@ const CONTRACT_SNAPSHOT = {
16050
16822
  "add",
16051
16823
  "none",
16052
16824
  "normal",
16825
+ "off",
16826
+ "mask",
16053
16827
  "multiply",
16054
16828
  "screen",
16055
- "erase"
16829
+ "erase",
16830
+ "below",
16831
+ "one_oneminussrcalpha",
16832
+ "custom1",
16833
+ "custom2",
16834
+ "custom3"
16056
16835
  ] },
16057
16836
  "filter": { "type": "string" },
16058
16837
  "filterData": { "type": "string" },
@@ -16110,6 +16889,7 @@ const CONTRACT_SNAPSHOT = {
16110
16889
  "const": "loader"
16111
16890
  },
16112
16891
  "pivot": { "$ref": "#/$defs/UamPoint_600bb96bb9_read" },
16892
+ "group": { "type": "string" },
16113
16893
  "id": { "type": "string" },
16114
16894
  "name": { "type": "string" },
16115
16895
  "position": { "$ref": "#/$defs/UamPoint_600bb96bb9_read" },
@@ -16131,9 +16911,16 @@ const CONTRACT_SNAPSHOT = {
16131
16911
  "add",
16132
16912
  "none",
16133
16913
  "normal",
16914
+ "off",
16915
+ "mask",
16134
16916
  "multiply",
16135
16917
  "screen",
16136
- "erase"
16918
+ "erase",
16919
+ "below",
16920
+ "one_oneminussrcalpha",
16921
+ "custom1",
16922
+ "custom2",
16923
+ "custom3"
16137
16924
  ] },
16138
16925
  "filter": { "type": "string" },
16139
16926
  "filterData": { "type": "string" },
@@ -16160,6 +16947,7 @@ const CONTRACT_SNAPSHOT = {
16160
16947
  "required": [
16161
16948
  "kind",
16162
16949
  "pivot",
16950
+ "group",
16163
16951
  "id",
16164
16952
  "name",
16165
16953
  "position",
@@ -16208,6 +16996,7 @@ const CONTRACT_SNAPSHOT = {
16208
16996
  "type": "string",
16209
16997
  "const": "loader3D"
16210
16998
  },
16999
+ "group": { "type": "string" },
16211
17000
  "id": { "type": "string" },
16212
17001
  "name": { "type": "string" },
16213
17002
  "position": { "$ref": "#/$defs/UamPoint_600bb96bb9_read" },
@@ -16230,9 +17019,16 @@ const CONTRACT_SNAPSHOT = {
16230
17019
  "add",
16231
17020
  "none",
16232
17021
  "normal",
17022
+ "off",
17023
+ "mask",
16233
17024
  "multiply",
16234
17025
  "screen",
16235
- "erase"
17026
+ "erase",
17027
+ "below",
17028
+ "one_oneminussrcalpha",
17029
+ "custom1",
17030
+ "custom2",
17031
+ "custom3"
16236
17032
  ] },
16237
17033
  "filter": { "type": "string" },
16238
17034
  "filterData": { "type": "string" },
@@ -16255,6 +17051,7 @@ const CONTRACT_SNAPSHOT = {
16255
17051
  },
16256
17052
  "required": [
16257
17053
  "kind",
17054
+ "group",
16258
17055
  "id",
16259
17056
  "name",
16260
17057
  "position",
@@ -16325,9 +17122,16 @@ const CONTRACT_SNAPSHOT = {
16325
17122
  "add",
16326
17123
  "none",
16327
17124
  "normal",
17125
+ "off",
17126
+ "mask",
16328
17127
  "multiply",
16329
17128
  "screen",
16330
- "erase"
17129
+ "erase",
17130
+ "below",
17131
+ "one_oneminussrcalpha",
17132
+ "custom1",
17133
+ "custom2",
17134
+ "custom3"
16331
17135
  ] },
16332
17136
  "filter": { "type": "string" },
16333
17137
  "filterData": { "type": "string" },
@@ -16393,6 +17197,7 @@ const CONTRACT_SNAPSHOT = {
16393
17197
  "sound": { "type": "string" },
16394
17198
  "soundVolumeScale": { "type": "number" },
16395
17199
  "pageController": { "type": "string" },
17200
+ "fileName": { "type": "string" },
16396
17201
  "src": { "type": "string" },
16397
17202
  "packageId": { "type": "string" },
16398
17203
  "group": { "type": "string" },
@@ -16418,9 +17223,16 @@ const CONTRACT_SNAPSHOT = {
16418
17223
  "add",
16419
17224
  "none",
16420
17225
  "normal",
17226
+ "off",
17227
+ "mask",
16421
17228
  "multiply",
16422
17229
  "screen",
16423
- "erase"
17230
+ "erase",
17231
+ "below",
17232
+ "one_oneminussrcalpha",
17233
+ "custom1",
17234
+ "custom2",
17235
+ "custom3"
16424
17236
  ] },
16425
17237
  "filter": { "type": "string" },
16426
17238
  "filterData": { "type": "string" },
@@ -16484,6 +17296,7 @@ const CONTRACT_SNAPSHOT = {
16484
17296
  "sound": { "type": "string" },
16485
17297
  "soundVolumeScale": { "type": "number" },
16486
17298
  "pageController": { "type": "string" },
17299
+ "fileName": { "type": "string" },
16487
17300
  "src": { "type": "string" },
16488
17301
  "packageId": { "type": "string" },
16489
17302
  "group": { "type": "string" },
@@ -16509,9 +17322,16 @@ const CONTRACT_SNAPSHOT = {
16509
17322
  "add",
16510
17323
  "none",
16511
17324
  "normal",
17325
+ "off",
17326
+ "mask",
16512
17327
  "multiply",
16513
17328
  "screen",
16514
- "erase"
17329
+ "erase",
17330
+ "below",
17331
+ "one_oneminussrcalpha",
17332
+ "custom1",
17333
+ "custom2",
17334
+ "custom3"
16515
17335
  ] },
16516
17336
  "filter": { "type": "string" },
16517
17337
  "filterData": { "type": "string" },
@@ -16569,6 +17389,7 @@ const CONTRACT_SNAPSHOT = {
16569
17389
  "selectedIndex": { "type": "number" },
16570
17390
  "visibleItemCount": { "type": "number" },
16571
17391
  "popupDirection": { "type": "number" },
17392
+ "selectionController": { "type": "string" },
16572
17393
  "title": { "type": "string" },
16573
17394
  "icon": { "type": "string" },
16574
17395
  "titleColor": { "type": "string" },
@@ -16576,6 +17397,7 @@ const CONTRACT_SNAPSHOT = {
16576
17397
  "sound": { "type": "string" },
16577
17398
  "soundVolumeScale": { "type": "number" },
16578
17399
  "pageController": { "type": "string" },
17400
+ "fileName": { "type": "string" },
16579
17401
  "src": { "type": "string" },
16580
17402
  "packageId": { "type": "string" },
16581
17403
  "group": { "type": "string" },
@@ -16601,9 +17423,16 @@ const CONTRACT_SNAPSHOT = {
16601
17423
  "add",
16602
17424
  "none",
16603
17425
  "normal",
17426
+ "off",
17427
+ "mask",
16604
17428
  "multiply",
16605
17429
  "screen",
16606
- "erase"
17430
+ "erase",
17431
+ "below",
17432
+ "one_oneminussrcalpha",
17433
+ "custom1",
17434
+ "custom2",
17435
+ "custom3"
16607
17436
  ] },
16608
17437
  "filter": { "type": "string" },
16609
17438
  "filterData": { "type": "string" },
@@ -16668,6 +17497,7 @@ const CONTRACT_SNAPSHOT = {
16668
17497
  "sound": { "type": "string" },
16669
17498
  "soundVolumeScale": { "type": "number" },
16670
17499
  "pageController": { "type": "string" },
17500
+ "fileName": { "type": "string" },
16671
17501
  "src": { "type": "string" },
16672
17502
  "packageId": { "type": "string" },
16673
17503
  "group": { "type": "string" },
@@ -16693,9 +17523,16 @@ const CONTRACT_SNAPSHOT = {
16693
17523
  "add",
16694
17524
  "none",
16695
17525
  "normal",
17526
+ "off",
17527
+ "mask",
16696
17528
  "multiply",
16697
17529
  "screen",
16698
- "erase"
17530
+ "erase",
17531
+ "below",
17532
+ "one_oneminussrcalpha",
17533
+ "custom1",
17534
+ "custom2",
17535
+ "custom3"
16699
17536
  ] },
16700
17537
  "filter": { "type": "string" },
16701
17538
  "filterData": { "type": "string" },
@@ -16753,6 +17590,7 @@ const CONTRACT_SNAPSHOT = {
16753
17590
  "value": { "type": "number" },
16754
17591
  "wholeNumbers": { "type": "boolean" },
16755
17592
  "pageController": { "type": "string" },
17593
+ "fileName": { "type": "string" },
16756
17594
  "src": { "type": "string" },
16757
17595
  "packageId": { "type": "string" },
16758
17596
  "group": { "type": "string" },
@@ -16778,9 +17616,16 @@ const CONTRACT_SNAPSHOT = {
16778
17616
  "add",
16779
17617
  "none",
16780
17618
  "normal",
17619
+ "off",
17620
+ "mask",
16781
17621
  "multiply",
16782
17622
  "screen",
16783
- "erase"
17623
+ "erase",
17624
+ "below",
17625
+ "one_oneminussrcalpha",
17626
+ "custom1",
17627
+ "custom2",
17628
+ "custom3"
16784
17629
  ] },
16785
17630
  "filter": { "type": "string" },
16786
17631
  "filterData": { "type": "string" },
@@ -16832,6 +17677,7 @@ const CONTRACT_SNAPSHOT = {
16832
17677
  },
16833
17678
  "fixedGripSize": { "type": "boolean" },
16834
17679
  "pageController": { "type": "string" },
17680
+ "fileName": { "type": "string" },
16835
17681
  "src": { "type": "string" },
16836
17682
  "packageId": { "type": "string" },
16837
17683
  "group": { "type": "string" },
@@ -16857,9 +17703,16 @@ const CONTRACT_SNAPSHOT = {
16857
17703
  "add",
16858
17704
  "none",
16859
17705
  "normal",
17706
+ "off",
17707
+ "mask",
16860
17708
  "multiply",
16861
17709
  "screen",
16862
- "erase"
17710
+ "erase",
17711
+ "below",
17712
+ "one_oneminussrcalpha",
17713
+ "custom1",
17714
+ "custom2",
17715
+ "custom3"
16863
17716
  ] },
16864
17717
  "filter": { "type": "string" },
16865
17718
  "filterData": { "type": "string" },
@@ -17098,6 +17951,7 @@ const CONTRACT_SNAPSHOT = {
17098
17951
  "quality": { "type": "number" },
17099
17952
  "smoothing": { "type": "boolean" },
17100
17953
  "duplicatePadding": { "type": "boolean" },
17954
+ "disableTrim": { "$ref": "#/$defs/Shape_6b49a92435_read" },
17101
17955
  "scaleOption": { "enum": [
17102
17956
  0,
17103
17957
  2,
@@ -17165,6 +18019,7 @@ const CONTRACT_SNAPSHOT = {
17165
18019
  "UamMovieClipResourceProperties_7891e3deb2_read": {
17166
18020
  "type": "object",
17167
18021
  "properties": {
18022
+ "textureSetMode": { "type": "string" },
17168
18023
  "interval": { "type": "number" },
17169
18024
  "repeatDelay": { "type": "number" },
17170
18025
  "swing": { "type": "boolean" },
@@ -17897,6 +18752,7 @@ const CONTRACT_SNAPSHOT = {
17897
18752
  "lastSavedRevision": { "type": "number" },
17898
18753
  "dirty": { "type": "boolean" },
17899
18754
  "uamFidelity": { "enum": ["full", "unsupported"] },
18755
+ "uamFidelityReport": { "$ref": "#/$defs/UamFidelityReport_aee071a4e7" },
17900
18756
  "lockHeld": { "type": "boolean" },
17901
18757
  "capabilities": { "$ref": "#/$defs/BackendCapabilities_830909a2de" }
17902
18758
  },
@@ -17912,6 +18768,53 @@ const CONTRACT_SNAPSHOT = {
17912
18768
  ],
17913
18769
  "additionalProperties": false
17914
18770
  },
18771
+ "UamFidelityReport_aee071a4e7": {
18772
+ "type": "object",
18773
+ "properties": {
18774
+ "reason": { "enum": [
18775
+ "incomplete_read",
18776
+ "materialize_failed",
18777
+ "round_trip_mismatch"
18778
+ ] },
18779
+ "errorMessage": { "type": "string" },
18780
+ "totalDiffCount": { "type": "number" },
18781
+ "diffs": { "$ref": "#/$defs/Array_c1dbe9d153" },
18782
+ "truncated": { "type": "boolean" }
18783
+ },
18784
+ "required": [
18785
+ "reason",
18786
+ "totalDiffCount",
18787
+ "diffs",
18788
+ "truncated"
18789
+ ],
18790
+ "additionalProperties": false
18791
+ },
18792
+ "Array_c1dbe9d153": {
18793
+ "type": "array",
18794
+ "items": { "$ref": "#/$defs/UamFidelityDiffEntry_45527c2258" }
18795
+ },
18796
+ "UamFidelityDiffEntry_45527c2258": {
18797
+ "type": "object",
18798
+ "properties": {
18799
+ "path": { "type": "string" },
18800
+ "kind": { "enum": ["file", "directory"] },
18801
+ "change": { "enum": [
18802
+ "missing",
18803
+ "extra",
18804
+ "modified",
18805
+ "type_mismatch"
18806
+ ] },
18807
+ "line": { "type": "number" },
18808
+ "sourceExcerpt": { "type": "string" },
18809
+ "materializedExcerpt": { "type": "string" }
18810
+ },
18811
+ "required": [
18812
+ "path",
18813
+ "kind",
18814
+ "change"
18815
+ ],
18816
+ "additionalProperties": false
18817
+ },
17915
18818
  "BackendCapabilities_830909a2de": {
17916
18819
  "type": "object",
17917
18820
  "properties": {
@@ -17921,7 +18824,7 @@ const CONTRACT_SNAPSHOT = {
17921
18824
  },
17922
18825
  "capabilitySchemaVersion": {
17923
18826
  "type": "number",
17924
- "const": 15
18827
+ "const": 16
17925
18828
  },
17926
18829
  "transactionKernelOwner": {
17927
18830
  "type": "string",
@@ -17935,8 +18838,8 @@ const CONTRACT_SNAPSHOT = {
17935
18838
  "type": "string",
17936
18839
  "const": "@openfairygui/backend"
17937
18840
  },
17938
- "methods": { "$ref": "#/$defs/Shape_ae72a55d5a" },
17939
- "read": { "$ref": "#/$defs/__type_4c480176a6" },
18841
+ "methods": { "$ref": "#/$defs/Shape_5f0e8ee676" },
18842
+ "read": { "$ref": "#/$defs/__type_de50af0353" },
17940
18843
  "authoring": { "$ref": "#/$defs/__type_cea960ae37" },
17941
18844
  "artifact": { "$ref": "#/$defs/__type_c24c67cf7f" },
17942
18845
  "manifest": { "$ref": "#/$defs/BackendCapabilityManifest_0ee177a0c0" },
@@ -17959,7 +18862,7 @@ const CONTRACT_SNAPSHOT = {
17959
18862
  ],
17960
18863
  "additionalProperties": false
17961
18864
  },
17962
- "Shape_ae72a55d5a": {
18865
+ "Shape_5f0e8ee676": {
17963
18866
  "type": "array",
17964
18867
  "prefixItems": [
17965
18868
  {
@@ -17986,6 +18889,10 @@ const CONTRACT_SNAPSHOT = {
17986
18889
  "type": "string",
17987
18890
  "const": "queryEntity"
17988
18891
  },
18892
+ {
18893
+ "type": "string",
18894
+ "const": "queryDisplayNodes"
18895
+ },
17989
18896
  {
17990
18897
  "type": "string",
17991
18898
  "const": "readSessionState"
@@ -18031,11 +18938,11 @@ const CONTRACT_SNAPSHOT = {
18031
18938
  "const": "refreshCache"
18032
18939
  }
18033
18940
  ],
18034
- "minItems": 17,
18035
- "maxItems": 17,
18941
+ "minItems": 18,
18942
+ "maxItems": 18,
18036
18943
  "items": false
18037
18944
  },
18038
- "__type_4c480176a6": {
18945
+ "__type_de50af0353": {
18039
18946
  "type": "object",
18040
18947
  "properties": {
18041
18948
  "capabilitySnapshot": {
@@ -18051,6 +18958,7 @@ const CONTRACT_SNAPSHOT = {
18051
18958
  "const": true
18052
18959
  },
18053
18960
  "entityQuery": { "$ref": "#/$defs/__type_14ef9c17ee" },
18961
+ "displayNodeQuery": { "$ref": "#/$defs/__type_181f67f6a1" },
18054
18962
  "sessionState": { "$ref": "#/$defs/__type_21fe9bfc0c" },
18055
18963
  "resourceBytes": { "$ref": "#/$defs/__type_0e06fdec06" },
18056
18964
  "projectValidation": {
@@ -18063,6 +18971,7 @@ const CONTRACT_SNAPSHOT = {
18063
18971
  "sessionSnapshot",
18064
18972
  "projectOutline",
18065
18973
  "entityQuery",
18974
+ "displayNodeQuery",
18066
18975
  "sessionState",
18067
18976
  "resourceBytes",
18068
18977
  "projectValidation"
@@ -18126,6 +19035,86 @@ const CONTRACT_SNAPSHOT = {
18126
19035
  ],
18127
19036
  "additionalProperties": false
18128
19037
  },
19038
+ "__type_181f67f6a1": {
19039
+ "type": "object",
19040
+ "properties": {
19041
+ "scope": {
19042
+ "type": "string",
19043
+ "const": "component"
19044
+ },
19045
+ "filterFields": { "$ref": "#/$defs/ReadonlyArray_65b443321f" },
19046
+ "projection": {
19047
+ "type": "string",
19048
+ "const": "summary"
19049
+ },
19050
+ "sourceBytes": {
19051
+ "type": "boolean",
19052
+ "const": false
19053
+ },
19054
+ "limits": { "$ref": "#/$defs/__object_7de0a6f325" }
19055
+ },
19056
+ "required": [
19057
+ "scope",
19058
+ "filterFields",
19059
+ "projection",
19060
+ "sourceBytes",
19061
+ "limits"
19062
+ ],
19063
+ "additionalProperties": false
19064
+ },
19065
+ "ReadonlyArray_65b443321f": {
19066
+ "type": "array",
19067
+ "items": { "enum": [
19068
+ "name",
19069
+ "url",
19070
+ "visible",
19071
+ "title",
19072
+ "text",
19073
+ "group",
19074
+ "locked",
19075
+ "touchable",
19076
+ "kind",
19077
+ "resourceId",
19078
+ "nameContains",
19079
+ "textContains",
19080
+ "titleContains",
19081
+ "hasGears",
19082
+ "hasRelations"
19083
+ ] }
19084
+ },
19085
+ "__object_7de0a6f325": {
19086
+ "type": "object",
19087
+ "properties": {
19088
+ "maxBytes": {
19089
+ "type": "number",
19090
+ "const": 262144
19091
+ },
19092
+ "maxDepth": {
19093
+ "type": "number",
19094
+ "const": 32
19095
+ },
19096
+ "maxNodes": {
19097
+ "type": "number",
19098
+ "const": 1e5
19099
+ },
19100
+ "defaultLimit": {
19101
+ "type": "number",
19102
+ "const": 50
19103
+ },
19104
+ "maxLimit": {
19105
+ "type": "number",
19106
+ "const": 200
19107
+ }
19108
+ },
19109
+ "required": [
19110
+ "maxBytes",
19111
+ "maxDepth",
19112
+ "maxNodes",
19113
+ "defaultLimit",
19114
+ "maxLimit"
19115
+ ],
19116
+ "additionalProperties": false
19117
+ },
18129
19118
  "__type_21fe9bfc0c": {
18130
19119
  "type": "object",
18131
19120
  "properties": {
@@ -19659,6 +20648,7 @@ const CONTRACT_SNAPSHOT = {
19659
20648
  "lastSavedRevision": { "type": "number" },
19660
20649
  "dirty": { "type": "boolean" },
19661
20650
  "uamFidelity": { "enum": ["full", "unsupported"] },
20651
+ "uamFidelityReport": { "$ref": "#/$defs/UamFidelityReport_aee071a4e7" },
19662
20652
  "lockHeld": { "type": "boolean" },
19663
20653
  "capabilities": { "$ref": "#/$defs/BackendCapabilities_830909a2de" }
19664
20654
  },
@@ -19772,7 +20762,8 @@ const CONTRACT_SNAPSHOT = {
19772
20762
  },
19773
20763
  "message": { "type": "string" },
19774
20764
  "sessionId": { "type": "string" },
19775
- "canonicalPathKey": { "type": "string" }
20765
+ "canonicalPathKey": { "type": "string" },
20766
+ "fidelityReport": { "$ref": "#/$defs/UamFidelityReport_aee071a4e7" }
19776
20767
  },
19777
20768
  "required": [
19778
20769
  "code",
@@ -21633,7 +22624,7 @@ const CONTRACT_SNAPSHOT = {
21633
22624
  "owners": ["backend"],
21634
22625
  "remediation": {
21635
22626
  "kind": "host-action",
21636
- "message": "Read capability/error details. Ask the host to provide the required filesystem, decoder or complete UAM adapter. Preserve the session and unsaved work; do not substitute a lossy path or bypass checks."
22627
+ "message": "Inspect uamFidelityReport on the session snapshot or error.fidelityReport and meta.diagnostics for the failure reason and differing project paths. Preserve the session and unsaved work; do not substitute a lossy save path or bypass fidelity checks."
21637
22628
  }
21638
22629
  },
21639
22630
  {
@@ -21677,19 +22668,19 @@ const CONTRACT_SNAPSHOT = {
21677
22668
  }
21678
22669
  }
21679
22670
  ],
21680
- "digest": "dcfeadbd451f77fa2d2d3bb51911cb1fbe9f6d12cbd6562047d59b441d72e50e"
22671
+ "digest": "db380ccf317aa73e3ab3ed6632af69fedcb0ad604ab575b7219fd2d79d44495d"
21681
22672
  };
21682
22673
  //#endregion
21683
22674
  //#region src/generated/docs.ts
21684
22675
  const INSTALLED_DOCS = {
21685
22676
  "version": {
21686
22677
  "packageName": "@openfairygui/backend",
21687
- "packageVersion": "0.7.1",
22678
+ "packageVersion": "0.8.0",
21688
22679
  "nodeEngine": ">=22",
21689
- "documentationDigest": "718fafe5a643ae8edfb5c2334c12fe5ca435d095f1321169538ed0a115f2f122"
22680
+ "documentationDigest": "4f18140e627f187fab214192f5f8a9faa2668b76ddcdf1b43682fc076d0b3331"
21690
22681
  },
21691
- "workflow": "# Installed OpenFairyGUI workflow\n\nThis is a minimal offline companion, not the full website. Read `ofgui docs ls --json` for the installed package version, contract version, capability schema version and digest. Use the project's installed `ofgui`/`ofgui-mcp`, not a global executable or an online latest-version lookup. A mismatched installation must be reconciled by the host before editing.\n\n## Discover the current contract\n\n- `ofgui docs find \"selector\" --json` searches this installed corpus.\n- `ofgui docs cat contracts --json` lists Core operations and Backend/MCP mappings.\n- `ofgui docs schema setDisplayNodeProps --json` reads one self-contained operation schema.\n- `ofgui docs schema cli/validate --json` reads the installed CLI output schema; `cli/docs cat` is a valid exact document ID for the nested command.\n- `ofgui docs cat methods/queryEntity --json` reads precise input/output wire schemas.\n- `ofgui docs diagnostic stale_write --json` reads recovery guidance.\n- MCP `resources/read` at `openfairygui://docs/index` provides the same index and content URIs. MCP is local stdio, not an assumed HTTP port.\n\nThe generated schemas describe JSON wire structure and input budgets, not semantic validity. Native SDK byte fields remain Uint8Array; MCP transports declared byte fields as integer arrays. Arbitrary extension data is not converted. Host objects/functions are omitted from MCP wire schemas; use SDK declarations for host injection, not guessed JSON fields.\n\nMCP allows up to 8 MiB of aggregate byte input at generated byte paths, without applying the general 10000-element array or per-byte node limits. Arbitrary metadata retains general limits. All value-bearing Gear defaults may be null, preserving the owner's initial state when no default override exists; component-instance controllerOverrides retains controller selections.\n\nAll CLI JSON uses `{schemaVersion:1,command,success:true,result}` or `{schemaVersion:1,command,success:false,error:{code,message},result?}`. Documentation version/index/body fields are inside `result`; read `result.text` for document content. Invalid/incomplete validate and doctor responses retain their full report under `result`. Help/version are text; other JSON-mode stdout contains exactly one document and human logs use stderr. Exit codes: 0 success, 1 workflow failure, 2 arguments, 3 incomplete validation. CLI owns envelopes, not new workflow semantics.\n\n## Edit safely\n\n1. Read capabilities. Existing projects use openSession (with host authorization and a lifetime lock); openProjectSession accepts a host-supplied authoritative UAM, not a shortcut around lossy file-session guards.\n2. Read getProjectOutline to discover exact identities, then queryEntity for the relevant current properties and actual revision. Capabilities list the supported read.entityQuery.kinds: project, package, resource, component, displayNode, controller and transition. Project queries use target {kind:\"project\"} without a selector; package queries use {kind:\"package\",selector:{packageId}}. Both return identity and complete entity.properties.settings. Controllers use packageId + componentResourceId + controllerName; transitions use packageId + componentResourceId + transitionName. Names are exact and component-scoped; duplicates fail as ambiguous. Controller snapshots include pages/actions; transition snapshots include items. Gears are already included in displayNode snapshots. Fixed projections exclude source bytes; budget failures require host inspection.\n3. Read the operation and method schemas. Plan the smallest authorized batch using current identifiers and expectedRevision.\n4. preflightTransaction executes on an isolated snapshot and discards it. Inspect projectedRevision, impact.entities (exact identities and changed fields, including reference normalization), impact.files (ProjectWriter model diff, not a disk write plan) and persistence.nextAction. The diff starts at the current revision, not the last save. It contains no source bytes. Summary overflow or serialization failure returns transaction_preview_failed without a partial result. No revision is reserved; writeVerified is always false. It does not save files or guarantee later apply/save/publish.\n5. Only when authorized, applyTransaction with the planned batch and expectedRevision. On stale_write, refresh and replan; never blindly substitute a newer revision.\n6. validateSession checks the new authoritative state. A successful response can contain an invalid or incomplete validation report; require status valid and complete true before treating validation as passed.\n7. When authorized, saveSession checks revision independently and writes the original project only. Keep path policy, UAM fidelity and rollback guards. Close the session only after handling unsaved changes. Read saved output again when disk round-trip is part of acceptance.\n\nPreview permits invalid references in the existing snapshot so a repair can be reviewed, but serializes that snapshot only into memory. The projected state and all persistence remain validated; unsupported or unrepresentable snapshots still fail explicitly.\n\nupdateProjectSettings and updatePackageSettings replace complete settings snapshots. Copy the corresponding query's entity.properties.settings, change only requested fields, retain other nested settings and optional fields, and submit the complete settings with the queried revision. Package updates also require the original packageId selector. Settings queries share the same response budgets as other entity kinds.\n\nupdateController and updateTransition replace complete snapshots, not partial patches. Copy the queried entity.properties, change only the requested fields, preserve page IDs/remarks/actions, item order/targets, settings and references, and submit the original selector with the queried revision. A stale_write requires refreshing and replanning the full snapshot for all these replacement operations. Querying does not validate references or grant permission to edit them.\n\n## Consume the committed session state\n\nFor complete public UAM consumption, use readSessionState({sessionId, expectedRevision?}); use queryEntity for targeted properties. The detached model excludes only asset resources' primary sourceBytes, retaining sourcePath and JSON extensions. It includes revision, dirty, lastSavedRevision, readComplete, readDiagnostics and uamFidelity. Only this read-model output schema accepts unnamed object fields; transaction input contracts remain unchanged.\n\nRead each asset with readResourceBytes({sessionId, expectedRevision: state.revision, selector:{packageId,resourceId}}). Bytes are detached Uint8Array values in the SDK and integer arrays in MCP, limited to the primary file already held in memory. There is no disk hydration or auxiliary-file discovery. Components are unsupported; unavailable bytes produce session_read_failed with reason bytes_unavailable.\n\nOn stale_read, discard the incomplete model/bytes collection and restart from readSessionState. Reads do not wait for uncommitted transactions, retain historical versions, or reserve revisions. Saving can update sourcePath and dirty without increasing the edit revision; the same revision does not identify permanently identical complete UAM. Completeness/fidelity flags preserve existing meaning and do not guarantee bytes, rendering or saving. Preserve failed reads as failures; never save or repair merely to obtain a read.\n\nCapabilities advertise a 4 MiB compact JSON data limit (depth 64, 500000 nodes) for the model and 1 MiB per primary resource. Both new MCP tools additionally limit the complete JSON CallToolResult, including compact text and structuredContent, to 16 MiB; excess returns mcp_response_budget_exceeded. Native model/buffer overflow returns session_read_failed with reason response_budget_exceeded, without truncation. Read the installed methods/readSessionState and methods/readResourceBytes schemas for precise inputs, results and errors.\n\n## Diagnose without repair\n\n`ofgui doctor --json` checks installed CLI/documentation versions, the Node Backend capability snapshot, in-memory Sharp PNG/JPEG encoding and pixel decoding, and temporary-directory access flags. `ofgui doctor <project-directory-or-fairy-file> --json` additionally runs existing Node project validation, including source reads and available image decoding. Optional `--output-dir <directory>` checks an explicit destination or its nearest existing ancestor, without creating it. Directory checks return the absolute requested `path`, link-resolved `inspectedPath` and `exists` (null when unknown); files, dangling links and access errors fail. The temporary directory must exist. It opens no Backend session, creates no lock, installs nothing, writes no probe files and changes no configuration.\n\nExit 0 means the requested checks completed; exit 1 means a detected error; exit 2 means invalid arguments; exit 3 means native image capability is unavailable/failed or project validation is incomplete. Inspect result.checks, result.errors and result.project. Without a project, its source bytes are not checked. Access flags do not prove effective ACL permissions, available space, later writes/rename/rollback or continued access. The capability manifest remains a declaration; a successful doctor does not prove publish/restore or runtime rendering. Plugins and configured output destinations are not executed or checked automatically; only explicit --output-dir is inspected. This product doctor does not inspect Git, pnpm, repository builds or fixture submodules; maintainers use pnpm repo:doctor for those.\n\nRead diagnostic guides for ownership and recovery boundaries. Every formal Core/Backend diagnostic code is covered; shared codes list all `owners`, while response `owner` identifies the actual source. Missing bytes/decoders, rejected paths and expired sessions require host action; do not invent repair/hydration tools, widen roots, discard unsaved work, or turn incomplete validation into success. Invalid/unsupported operations require schema-based replanning, live locks cannot be removed, and write failures require preserving dirty state and inspecting actual files.\n\n## Publish and recover trusted local artifacts\n\nPublishing and restoration are external Node-hosted workflows, not Backend session methods or general MCP editing tools. The host must authorize input and output directories independently. They require the native image capability; do not rename binary extensions to imitate a different target profile.\n\n- `ofgui publish <project> --output <release-directory> --project-type layabox --json` publishes the current saved project. `--output` overrides runtime artifact destinations; configured code generation still uses its own destinations and project plugins run as trusted local code.\n- The JSON document is `{schemaVersion:1,command:\"publish\",success:true,result:{files:[{path,size}]}}`. Paths are final absolute paths and sizes are bytes. The Node SDK `publishNode()` returns the same `result`. The manifest records actual successful filesystem/atlas writes, including code written through the supplied publish filesystem; it excludes pre-existing untouched files, deletions and arbitrary plugin I/O outside that filesystem. It is not an inventory of everything in the output directory. Explicit runtime output is staged and rolled back on failure; separately configured code outputs and arbitrary plugin effects are not covered by that directory transaction.\n- `ofgui restore <trusted-release-directory> --output <separate-project-directory> --project-type layabox --json` returns `{schemaVersion:1,command:\"restore\",success:true,result:{projectPath,packages:[{id,name}],warnings:[]}}`. Warnings are not a validation pass. Reread the returned projectPath and run `ofgui validate <projectPath> --json`; require valid and complete validation.\n- Both artifact commands exit 0 on workflow success, 1 on workflow failure, and 2 on command syntax errors. Errors are `{schemaVersion:1,command,success:false,error:{code,message}}`, with `publish_failed`, `restore_failed` or `invalid_arguments`. In JSON mode stdout contains only this document; human/plugin output goes to stderr. Help remains human-readable. Errors do not include a claimed successful file manifest.\n- Restore requires a separate directory, not a `.fairy` file. Do not force overwrite by default. `--force` replaces an existing nonempty target only after complete staged recovery; parse/image failures retain the previous target. Only trusted local artifacts are supported, not arbitrary third-party imports.\n- Read `ofgui docs cat restore-limits --json` or MCP resource `openfairygui://docs/restore-limits` for the installed version's full recovery boundary. Accept readable, structurally valid supported semantics and decoded assets, not original project IDs, workspace state, unpublished resources, original filenames/extensions, controller editor selection/export flags, float32 text precision or byte-identical XML.\n",
21692
- "restoreLimits": "# 受限发布产物恢复边界\n\n`restore` 只是一条受限的本地故障恢复路径,不是 FairyGUI 的常规创作入口、第三方发布物导入器或源码还原承诺。本文档记录其安全使用范围,以及当前仓库已经验证过、无法仅凭发布产物稳定恢复的内容。\n\n## 使用范围与安全边界\n\n| 项目 | 当前口径 |\n|---|---|\n| 输入 | 仅处理可信的本地发布目录;不把未知来源 `.fui` / `_fui.bytes` 视为安全输入 |\n| 输出 | 必须是独立工程目录,不接受 `.fairy` 单文件目标 |\n| 路径约束 | 拒绝资源路径、包名、分支名、文件名中的路径逃逸;发布目录内资源若解析到输入目录外也会失败 |\n| 覆盖行为 | 先在相邻暂存目录完成工程和资源写入,再替换目标;`--force` 不会在二进制解析或资源重建前删除旧输出 |\n| 不代表 | 不是恶意文件检测器,也不保证第三方产物能够安全或完整恢复 |\n\n这里的“不可还原”指:\n\n| 项目 | 含义 |\n|---|---|\n| 输入范围 | 仅使用发布目录中的 `.fui` / `_fui.bytes`、图集 PNG、以及同目录 loose 资源 |\n| 判定标准 | 不能稳定、通用、无外部辅助地恢复回原工程语义或原始 XML 文本 |\n| 不包含 | 仍可通过补协议、补 writer 规则、补测试继续收敛的普通实现问题 |\n\n## 总结\n\n| 结论 | 说明 |\n|---|---|\n| 受限恢复目标 | 在可信输入下生成一个可重读、可打开、结构自洽的 FairyGUI 工程 |\n| 不保证目标 | 还原成与原工程逐字节一致的源码工程 |\n| 主要原因 | 发布产物会丢失一部分编辑器阶段信息,或把原始值降精度到运行时格式 |\n\n## 当前已确认的不可还原项\n\n恢复时推导出的图片尺寸用于资源重建,但不作为原始声明尺寸写入 `package.xml`;生成的字体纹理和字形图片按顺序跟随对应字体。`RestoreResult.document` 保留尺寸省略与资源排序两种写入提示,交给新的 `ProjectWriter` 或 `NodeIO.writeProject()` 仍生效。提示属于内存中的序列化控制,不随 UAM 转换或重新读取传播。`ProjectWriter.setImageWriteHints(image, {})` 清除该图片的全部提示,恢复普通尺寸写回和资源排序;需要保留排序时,设置 `{ packageOrder: { afterId, weight } }`,其中目标是同包、同分支且未设置排序提示的资源。\n\n### 1. 发布包中根本不存在的资源或动作\n\n发布物中缺失独立资源项的字形图像使用稳定 glyph 图像 ID 的 UTF-8 十六进制生成 `images/glyph-<id>.png`,不同字体的不同图像 ID 不会因字符相同而重名。已有资源项保留发布物中的名称和路径;生成名称不代表原始源文件名,不依据示例包名或字体名称猜测。\n\n| 类别 | 不可还原内容 | 原因 | 当前样本证据 |\n|---|---|---|---|\n| 组件资源 | 原工程存在、但发布包未携带的组件 XML | 发布产物没有资源定义,restore 无法凭空生成真实内容 | `HitTest/component1.xml`、`PullToRefresh/Button1.xml`、`PullToRefresh/Button2.xml`、`TurnPage/Button3.xml` |\n| Transition item | 原工程存在、但二进制 transition block 未携带的 item | 二进制里没有对应时间轴项,无法可靠反推 | `Transition/BOSS.xml` 中 `target=\"n3\"` 的 6 个 item |\n\n说明:这类内容如果强行补出,只能生成占位内容,不能声称是“还原原工程”。\n\n### 2. 原始资源文件名与扩展名\n\n| 类别 | 不可还原内容 | 原因 | 当前样本证据 |\n|---|---|---|---|\n| 普通图片资源 | 原工程使用的真实文件扩展名与双后缀命名 | 发布包只保留运行时资源名,不稳定保留工程文件名 | `change.jpg -> change.png`、`Paper.jpg -> Paper.png`、`i3.png.png -> i3.png` |\n| 部分 loose 资源 | 若发布名与工程名完全脱钩,且缺少稳定映射线索 | 发布目录只提供发布后文件名,原工程命名信息已经丢失 | 仍可能出现少量发布名残留 |\n\n说明:当前实现已经尽量把“资源 id 命名”还原回工程名,但对原始扩展名并不能做通用、可靠的反推。\n\n### 3. Transition path 的原始文本精度\n\n| 类别 | 不可还原内容 | 原因 | 当前样本证据 |\n|---|---|---|---|\n| 路径字符串 | 编辑器 XML 中 path 的原始小数位数与文本格式 | 发布二进制只保存 float32 数值;写回时只能输出数值等价的字符串 | `Transition/PathDemo.xml` 的 `path` |\n\n说明:这类路径通常还能恢复到相同几何轨迹,但不能保证与原 XML 的字符串完全一致。\n\n### 4. 被降级为运行时默认值的编辑器信息\n\n| 类别 | 不可还原内容 | 原因 | 当前样本证据 |\n|---|---|---|---|\n| Transition easing | 原工程中的特定 ease 名称 | 当前样本对应二进制读出的就是默认 easing,无法证明原工程曾写过哪个非默认 ease | `Transition/BOSS.xml`、`TRAP.xml`、`GoodHit.xml` 中部分 `Expo.Out` / `Back.Out` / `Bounce.Out` |\n| 简单 Group 节点 | 仅用于编辑器分组、但没有额外运行时语义的 `GGroup` 节点 | 当前样本中的发布组件数据会直接裁掉这类 group,二进制 child list 里既没有 group 节点,也没有可稳定回推的 group 归属索引 | `Basics/Demo_Clip&Scroll.xml`、`Emoji/Main.xml`、`TurnPage/Book.xml` |\n| Controller 当前选中页 | 原工程 XML 中的 `controller.selected` 当前页状态 | 发布 controller block稳定保存的是 `homePageType/homePage` 发布首页信息;当前样本中的二进制常写成 `default`,并不保留编辑器工程里当时的非零当前页 | `TurnPage/Main.xml` 的 `bookPos=\"2\"`、`TurnPage/Page.xml` 的 `style=\"1\"` / `side=\"1\"`、`FrontCover.xml` / `BackCover.xml` 的 `side=\"1\"` |\n| Controller 导出标记 | 原工程 XML 中的 `controller.exported=\"true\"` | 当前样本对应的 controller 发布 block只写 `name/pages/homePageType/homePage/actions`,没有独立写出 `exported` | `TurnPage/BackCover.xml`、`TurnPage/FrontCover.xml`、`TurnPage/Page.xml` |\n| 默认值显式性 | 原工程是否显式写出默认属性 | 发布包只保留语义值,不保留“这个默认值当时是否显式写在 XML 里” | 如 `xy=\"0,0\"`、空文本、默认布尔值等 |\n\n说明:这类信息恢复后通常仍然语义可用,但无法保证与原工程的编辑器写法逐项一致。\n\n### 5. 编辑器工程本地设置\n\n| 类别 | 不可还原内容 | 原因 |\n|---|---|---|\n| 工程标识 | 原始 `projectId` | restore 会生成新的工程标识 |\n| 工程设置 | 原始 `.objs` / workspace / 编辑器本地状态 | 发布目录不包含这些本地工程文件 |\n| 初始化设置之外的项目配置 | 原工程的非发布产物配置 | 当前 restore 按初始化默认值生成工程设置,而不是恢复源工程工作区状态 |\n\n说明:当前 restore 的目标是“重建可用工程”,不是恢复编辑器本地工作环境。\n\n### 6. 原工程 XML 的文本级细节\n\n| 类别 | 不可还原内容 | 原因 |\n|---|---|---|\n| 属性顺序 | 原标签属性排列顺序 | XML 语义不依赖属性顺序,发布产物也不保留该信息 |\n| 格式风格 | 换行、缩进、是否自闭合、空格风格 | 这是 writer 生成结果,不是发布产物协议内容 |\n| 大小写风格 | 某些颜色值、小数文本风格 | 发布包保留的是数值语义,不是原文本样式 |\n\n说明:当前实现会尽量贴近 FairyGUI 编辑器写法,但不会把这类文本风格视为“可从发布产物逆推出的正式数据”。\n\n## 当前恢复输出范围\n\n| 项目 | 当前口径 |\n|---|---|\n| 工程目标 | 在可信输入下生成可读、可打开、可继续编辑的 FairyGUI 工程 |\n| 资源目标 | 尽量恢复包内素材、组件 XML、字体派生图与 `.jta` / `.fnt` 等正式资源 |\n| 不承诺 | 与原工程一模一样的文件名、文本格式、局部编辑器状态 |\n\n## 何时需要外部辅助信息\n\n若目标不是“重建可用工程”,而是“尽量贴近原工程文本或命名”,则需要额外输入:\n\n| 额外输入 | 作用 |\n|---|---|\n| 原工程目录 | 作为命名、路径、缺失资源、文本样式的真实基准 |\n| 编辑器工作区文件 | 恢复 `.objs`、workspace、本地工程状态 |\n| 发布前清单或映射表 | 回填发布名与工程名之间的脱钩关系 |\n\n## 当前样本下仍然成立的判断\n\n| 判断 | 说明 |\n|---|---|\n| 可以从发布产物重建“可工作的工程” | 是 |\n| 可以从发布产物重建“原工程的源码真迹” | 否 |\n| 还原结果是否应该继续优化 | 可以,但应只优化“发布产物里确实有证据的部分” |\n\nNode 图片校验、恢复解码和恢复画布使用 16,777,216 像素上限。画布宽高必须为正安全整数,乘积不得超过上限;超限在分配画布前拒绝。\n",
22682
+ "workflow": "# Installed OpenFairyGUI workflow\n\nThis is a minimal offline companion, not the full website. Read `ofgui docs ls --json` for the installed package version, contract version, capability schema version and digest. Use the project's installed `ofgui`/`ofgui-mcp`, not a global executable or an online latest-version lookup. A mismatched installation must be reconciled by the host before editing.\n\n## Discover the current contract\n\n- `ofgui docs find \"selector\" --json` searches this installed corpus.\n- `ofgui docs cat contracts --json` lists Core operations and Backend/MCP mappings.\n- `ofgui docs schema setDisplayNodeProps --json` reads one self-contained operation schema.\n- `ofgui docs schema cli/validate --json` reads the installed CLI output schema; `cli/docs cat` is a valid exact document ID for the nested command.\n- `ofgui docs cat methods/queryEntity --json` reads precise input/output wire schemas.\n- `ofgui docs diagnostic stale_write --json` reads recovery guidance.\n- MCP `resources/read` at `openfairygui://docs/index` provides the same index and content URIs. MCP is local stdio, not an assumed HTTP port.\n\nThe generated schemas describe JSON wire structure and input budgets, not semantic validity. Native SDK byte fields remain Uint8Array; MCP transports declared byte fields as integer arrays. Arbitrary extension data is not converted. Host objects/functions are omitted from MCP wire schemas; use SDK declarations for host injection, not guessed JSON fields.\n\nMCP allows up to 8 MiB of aggregate byte input at generated byte paths, without applying the general 10000-element array or per-byte node limits. Arbitrary metadata retains general limits. All value-bearing Gear defaults may be null, preserving the owner's initial state when no default override exists; component-instance controllerOverrides retains controller selections.\n\nAll CLI JSON uses `{schemaVersion:1,command,success:true,result}` or `{schemaVersion:1,command,success:false,error:{code,message},result?}`. Documentation version/index/body fields are inside `result`; read `result.text` for document content. Invalid/incomplete validate and doctor responses retain their full report under `result`. Help/version are text; other JSON-mode stdout contains exactly one document and human logs use stderr. Exit codes: 0 success, 1 workflow failure, 2 arguments, 3 incomplete validation. CLI owns envelopes, not new workflow semantics.\n\n## Edit safely\n\n1. Read capabilities. Existing projects use openSession (with host authorization and a lifetime lock); openProjectSession accepts a host-supplied authoritative UAM, not a shortcut around lossy file-session guards.\n2. Read getProjectOutline to discover exact identities, use queryDisplayNodes when filtering candidate display nodes inside a component by modeled properties (kind, name, text, title, group, resourceId, url, visibility/lock/touchable or gear/relation presence; default limit 50, max 200), then call queryEntity when full entity properties are needed at the actual revision. Capabilities list read.displayNodeQuery and read.entityQuery.kinds: project, package, resource, component, displayNode, controller and transition. Project queries use target {kind:\"project\"} without a selector; package queries use {kind:\"package\",selector:{packageId}}. Both return identity and complete entity.properties.settings. Controllers use packageId + componentResourceId + controllerName; transitions use packageId + componentResourceId + transitionName. Names are exact and component-scoped; duplicates fail as ambiguous. Controller snapshots include pages/actions; transition snapshots include items. Gears are already included in displayNode snapshots. Fixed projections exclude source bytes; budget failures require host inspection. Commits still require exact IDs.\n3. Read the operation and method schemas. Plan the smallest authorized batch using current identifiers and expectedRevision.\n4. preflightTransaction executes on an isolated snapshot and discards it. Inspect projectedRevision, impact.entities (exact identities and changed fields, including reference normalization), impact.files (ProjectWriter model diff, not a disk write plan) and persistence.nextAction. The diff starts at the current revision, not the last save. It contains no source bytes. Summary overflow or serialization failure returns transaction_preview_failed without a partial result. No revision is reserved; writeVerified is always false. It does not save files or guarantee later apply/save/publish.\n5. Only when authorized, applyTransaction with the planned batch and expectedRevision. On stale_write, refresh and replan; never blindly substitute a newer revision.\n6. validateSession checks the new authoritative state. A successful response can contain an invalid or incomplete validation report; require status valid and complete true before treating validation as passed.\n7. When authorized, saveSession checks revision independently and writes the original project only. Keep path policy, UAM fidelity and rollback guards. Close the session only after handling unsaved changes. Read saved output again when disk round-trip is part of acceptance.\n\nPreview permits invalid references in the existing snapshot so a repair can be reviewed, but serializes that snapshot only into memory. The projected state and all persistence remain validated; unsupported or unrepresentable snapshots still fail explicitly.\n\nupdateProjectSettings and updatePackageSettings replace complete settings snapshots. Copy the corresponding query's entity.properties.settings, change only requested fields, retain other nested settings and optional fields, and submit the complete settings with the queried revision. Package updates also require the original packageId selector. Settings queries share the same response budgets as other entity kinds.\n\nupdateController and updateTransition replace complete snapshots, not partial patches. Copy the queried entity.properties, change only the requested fields, preserve page IDs/remarks/actions, item order/targets, settings and references, and submit the original selector with the queried revision. A stale_write requires refreshing and replanning the full snapshot for all these replacement operations. Querying does not validate references or grant permission to edit them.\n\n## Consume the committed session state\n\nFor complete public UAM consumption, use readSessionState({sessionId, expectedRevision?}); use queryEntity for targeted properties. The detached model excludes only asset resources' primary sourceBytes, retaining sourcePath and JSON extensions. It includes revision, dirty, lastSavedRevision, readComplete, readDiagnostics, uamFidelity and (when uamFidelity is unsupported) a bounded uamFidelityReport. Only this read-model output schema accepts unnamed object fields; transaction input contracts remain unchanged.\n\nRead each asset with readResourceBytes({sessionId, expectedRevision: state.revision, selector:{packageId,resourceId}}). Bytes are detached Uint8Array values in the SDK and integer arrays in MCP, limited to the primary file already held in memory. There is no disk hydration or auxiliary-file discovery. Components are unsupported; unavailable bytes produce session_read_failed with reason bytes_unavailable.\n\nOn stale_read, discard the incomplete model/bytes collection and restart from readSessionState. Reads do not wait for uncommitted transactions, retain historical versions, or reserve revisions. Saving can update sourcePath and dirty without increasing the edit revision; the same revision does not identify permanently identical complete UAM. Completeness/fidelity flags preserve existing meaning and do not guarantee bytes, rendering or saving. Preserve failed reads as failures; never save or repair merely to obtain a read.\n\nCapabilities advertise a 4 MiB compact JSON data limit (depth 64, 500000 nodes) for the model and 1 MiB per primary resource. Both new MCP tools additionally limit the complete JSON CallToolResult, including compact text and structuredContent, to 16 MiB; excess returns mcp_response_budget_exceeded. Native model/buffer overflow returns session_read_failed with reason response_budget_exceeded, without truncation. Read the installed methods/readSessionState and methods/readResourceBytes schemas for precise inputs, results and errors.\n\n## Diagnose without repair\n\n`ofgui doctor --json` checks installed CLI/documentation versions, the Node Backend capability snapshot, in-memory Sharp PNG/JPEG encoding and pixel decoding, and temporary-directory access flags. `ofgui doctor <project-directory-or-fairy-file> --json` additionally runs existing Node project validation, including source reads and available image decoding. Optional `--output-dir <directory>` checks an explicit destination or its nearest existing ancestor, without creating it. Directory checks return the absolute requested `path`, link-resolved `inspectedPath` and `exists` (null when unknown); files, dangling links and access errors fail. The temporary directory must exist. It opens no Backend session, creates no lock, installs nothing, writes no probe files and changes no configuration.\n\nExit 0 means the requested checks completed; exit 1 means a detected error; exit 2 means invalid arguments; exit 3 means native image capability is unavailable/failed or project validation is incomplete. Inspect result.checks, result.errors and result.project. Without a project, its source bytes are not checked. Access flags do not prove effective ACL permissions, available space, later writes/rename/rollback or continued access. The capability manifest remains a declaration; a successful doctor does not prove publish/restore or runtime rendering. Plugins and configured output destinations are not executed or checked automatically; only explicit --output-dir is inspected. This product doctor does not inspect Git, pnpm, repository builds or fixture submodules; maintainers use pnpm repo:doctor for those.\n\nRead diagnostic guides for ownership and recovery boundaries. Every formal Core/Backend diagnostic code is covered; shared codes list all `owners`, while response `owner` identifies the actual source. Missing bytes/decoders, rejected paths and expired sessions require host action; do not invent repair/hydration tools, widen roots, discard unsaved work, or turn incomplete validation into success. Invalid/unsupported operations require schema-based replanning, live locks cannot be removed, and write failures require preserving dirty state and inspecting actual files.\n\n## Publish and recover trusted local artifacts\n\nPublishing and restoration are external Node-hosted workflows, not Backend session methods or general MCP editing tools. The host must authorize input and output directories independently. They require the native image capability; do not rename binary extensions to imitate a different target profile.\n\n- `ofgui publish <project> --output <release-directory> --project-type layabox --json` publishes the current saved project. `--output` overrides runtime artifact destinations; configured code generation still uses its own destinations and project plugins run as trusted local code.\n- The JSON document is `{schemaVersion:1,command:\"publish\",success:true,result:{files:[{path,size}]}}`. Paths are final absolute paths and sizes are bytes. The Node SDK `publishNode()` returns the same `result`. The manifest records actual successful filesystem/atlas writes, including code written through the supplied publish filesystem; it excludes pre-existing untouched files, deletions and arbitrary plugin I/O outside that filesystem. It is not an inventory of everything in the output directory. Explicit runtime output is staged and rolled back on failure; separately configured code outputs and arbitrary plugin effects are not covered by that directory transaction.\n- `ofgui restore <trusted-release-directory> --output <separate-project-directory> --project-type layabox --json` returns `{schemaVersion:1,command:\"restore\",success:true,result:{projectPath,packages:[{id,name}],warnings:[]}}`. Warnings are not a validation pass. Reread the returned projectPath and run `ofgui validate <projectPath> --json`; require valid and complete validation.\n- Both artifact commands exit 0 on workflow success, 1 on workflow failure, and 2 on command syntax errors. Errors are `{schemaVersion:1,command,success:false,error:{code,message}}`, with `publish_failed`, `restore_failed` or `invalid_arguments`. In JSON mode stdout contains only this document; human/plugin output goes to stderr. Help remains human-readable. Errors do not include a claimed successful file manifest.\n- Restore requires a separate directory, not a `.fairy` file. Do not force overwrite by default. `--force` replaces an existing nonempty target only after complete staged recovery; parse/image failures retain the previous target. Only trusted local artifacts are supported, not arbitrary third-party imports.\n- Read `ofgui docs cat restore-limits --json` or MCP resource `openfairygui://docs/restore-limits` for the installed version's full recovery boundary. Accept readable, structurally valid supported semantics and decoded assets, not original project IDs, workspace state, unpublished resources, original filenames/extensions, controller editor selection/export flags, float32 text precision or byte-identical XML.\n",
22683
+ "restoreLimits": "# 受限发布产物恢复边界\n\n`restore` 只是一条受限的本地故障恢复路径,不是 FairyGUI 的常规创作入口、第三方发布物导入器或源码还原承诺。本文档记录其安全使用范围,以及当前仓库已经验证过、无法仅凭发布产物稳定恢复的内容。\n\n## 使用范围与安全边界\n\n| 项目 | 当前口径 |\n|---|---|\n| 输入 | 仅处理可信的本地发布目录;不把未知来源 `.fui` / `_fui.bytes` 视为安全输入 |\n| 输出 | 必须是独立工程目录,不接受 `.fairy` 单文件目标 |\n| 路径约束 | 拒绝资源路径、包名、分支名、文件名中的路径逃逸;发布目录内资源若解析到输入目录外也会失败 |\n| 覆盖行为 | 先在相邻暂存目录完成工程和资源写入,再替换目标;`--force` 不会在二进制解析或资源重建前删除旧输出 |\n| 不代表 | 不是恶意文件检测器,也不保证第三方产物能够安全或完整恢复 |\n\n这里的“不可还原”指:\n\n| 项目 | 含义 |\n|---|---|\n| 输入范围 | 仅使用发布目录中的 `.fui` / `_fui.bytes`、图集 PNG、以及同目录 loose 资源 |\n| 判定标准 | 不能稳定、通用、无外部辅助地恢复回原工程语义或原始 XML 文本 |\n| 不包含 | 仍可通过补协议、补 writer 规则、补测试继续收敛的普通实现问题 |\n\n## 总结\n\n| 结论 | 说明 |\n|---|---|\n| 受限恢复目标 | 在可信输入下生成一个可重读、可打开、结构自洽的 FairyGUI 工程 |\n| 不保证目标 | 还原成与原工程逐字节一致的源码工程 |\n| 主要原因 | 发布产物会丢失一部分编辑器阶段信息,或把原始值降精度到运行时格式 |\n\n## 当前已确认的不可还原项\n\n恢复时推导出的图片尺寸用于资源重建,但不作为原始声明尺寸写入 `package.xml`;生成的字体纹理和字形图片按顺序跟随对应字体。`RestoreResult.document` 保留尺寸省略与资源排序两种写入提示,交给新的 `ProjectWriter` 或 `NodeIO.writeProject()` 仍生效。提示属于内存中的序列化控制,不随 UAM 转换或重新读取传播。`ProjectWriter.setImageWriteHints(image, {})` 清除该图片的全部提示,恢复普通尺寸写回和资源排序;需要保留排序时,设置 `{ packageOrder: { afterId, weight } }`,其中目标是同包、同分支且未设置排序提示的资源。\n\n### 1. 发布包中根本不存在的资源或动作\n\n发布物中缺失独立资源项的字形图像使用稳定 glyph 图像 ID 的 UTF-8 十六进制生成 `images/glyph-<id>.png`,不同字体的不同图像 ID 不会因字符相同而重名。已有资源项保留发布物中的名称和路径;生成名称不代表原始源文件名,不依据示例包名或字体名称猜测。\n\n| 类别 | 不可还原内容 | 原因 | 当前样本证据 |\n|---|---|---|---|\n| 组件资源 | 原工程存在、但发布包未携带的组件 XML | 发布产物没有资源定义,restore 无法凭空生成真实内容 | `HitTest/component1.xml`、`PullToRefresh/Button1.xml`、`PullToRefresh/Button2.xml`、`TurnPage/Button3.xml` |\n| Transition item | 原工程存在、但二进制 transition block 未携带的 item | 二进制里没有对应时间轴项,无法可靠反推 | `Transition/BOSS.xml` 中 `target=\"n3\"` 的 6 个 item |\n\n说明:这类内容如果强行补出,只能生成占位内容,不能声称是“还原原工程”。\n\n### 2. 原始资源文件名与扩展名\n\n| 类别 | 不可还原内容 | 原因 | 当前样本证据 |\n|---|---|---|---|\n| 普通图片资源 | 原工程使用的真实文件扩展名与双后缀命名 | 发布包只保留运行时资源名,不稳定保留工程文件名 | `change.jpg -> change.png`、`Paper.jpg -> Paper.png`、`i3.png.png -> i3.png` |\n| 部分 loose 资源 | 若发布名与工程名完全脱钩,且缺少稳定映射线索 | 发布目录只提供发布后文件名,原工程命名信息已经丢失 | 仍可能出现少量发布名残留 |\n\n说明:当前实现已经尽量把“资源 id 命名”还原回工程名,但对原始扩展名并不能做通用、可靠的反推。\n\n### 3. Transition path 的原始文本精度\n\n| 类别 | 不可还原内容 | 原因 | 当前样本证据 |\n|---|---|---|---|\n| 路径字符串 | 编辑器 XML 中 path 的原始小数位数与文本格式 | 发布二进制只保存 float32 数值;写回时只能输出数值等价的字符串 | `Transition/PathDemo.xml` 的 `path` |\n\n说明:这类路径通常还能恢复到相同几何轨迹,但不能保证与原 XML 的字符串完全一致。\n\n### 4. 被降级为运行时默认值的编辑器信息\n\n| 类别 | 不可还原内容 | 原因 | 当前样本证据 |\n|---|---|---|---|\n| Transition easing | 原工程中的特定 ease 名称 | 当前样本对应二进制读出的就是默认 easing,无法证明原工程曾写过哪个非默认 ease | `Transition/BOSS.xml`、`TRAP.xml`、`GoodHit.xml` 中部分 `Expo.Out` / `Back.Out` / `Bounce.Out` |\n| 简单 Group 节点 | 仅用于编辑器分组、但没有额外运行时语义的 `GGroup` 节点 | 当前样本中的发布组件数据会直接裁掉这类 group,二进制 child list 里既没有 group 节点,也没有可稳定回推的 group 归属索引 | `Basics/Demo_Clip&Scroll.xml`、`Emoji/Main.xml`、`TurnPage/Book.xml` |\n| Controller 当前选中页 | 原工程 XML 中的 `controller.selected` 当前页状态 | 发布 controller block稳定保存的是 `homePageType/homePage` 发布首页信息;当前样本中的二进制常写成 `default`,并不保留编辑器工程里当时的非零当前页 | `TurnPage/Main.xml` 的 `bookPos=\"2\"`、`TurnPage/Page.xml` 的 `style=\"1\"` / `side=\"1\"`、`FrontCover.xml` / `BackCover.xml` 的 `side=\"1\"` |\n| Controller 导出标记 | 原工程 XML 中的 `controller.exported=\"true\"` | 当前样本对应的 controller 发布 block只写 `name/pages/homePageType/homePage/actions`,没有独立写出 `exported` | `TurnPage/BackCover.xml`、`TurnPage/FrontCover.xml`、`TurnPage/Page.xml` |\n| 默认值显式性 | 原工程是否显式写出默认属性 | 发布包只保留语义值,不保留“这个默认值当时是否显式写在 XML 里” | 如 `xy=\"0,0\"`、空文本、默认布尔值等 |\n\n说明:这类信息恢复后通常仍然语义可用,但无法保证与原工程的编辑器写法逐项一致。\n\n### 5. 编辑器工程本地设置\n\n| 类别 | 不可还原内容 | 原因 |\n|---|---|---|\n| 工程标识 | 原始 `projectId` | restore 会生成新的工程标识 |\n| 工程设置 | 原始 `.objs` / workspace / 编辑器本地状态 | 发布目录不包含这些本地工程文件 |\n| 初始化设置之外的项目配置 | 原工程的非发布产物配置 | 当前 restore 按初始化默认值生成工程设置,而不是恢复源工程工作区状态 |\n\n说明:当前 restore 的目标是“重建可用工程”,不是恢复编辑器本地工作环境。\n\n### 6. 原工程 XML 的文本级细节\n\n| 类别 | 不可还原内容 | 原因 |\n|---|---|---|\n| 属性顺序 | 原标签属性排列顺序 | XML 语义不依赖属性顺序,发布产物也不保留该信息 |\n| 格式风格 | 换行、缩进、是否自闭合、空格风格 | 这是 writer 生成结果,不是发布产物协议内容 |\n| 大小写风格 | 某些颜色值、小数文本风格 | 发布包保留的是数值语义,不是原文本样式 |\n\n说明:当前实现会尽量贴近 FairyGUI 编辑器写法,但不会把这类文本风格视为“可从发布产物逆推出的正式数据”。\n\n## 当前恢复输出范围\n\n| 项目 | 当前口径 |\n|---|---|\n| 工程目标 | 在可信输入下生成可读、可打开、可继续编辑的 FairyGUI 工程;根据输入二进制(`_fui.bytes` / `.fui` / `.bin`)推导恢复工程的 `Publish.json` `fileExtension` |\n| 资源目标 | 恢复包内素材(含 Unity `rotationDir = 0` 与 CocosCreator / Cocos2dx / Egret `rotationDir = 1` 旋转图集、`!a.png` alpha 分离图集重组)、组件 XML、字体派生图、含 `resizable`/`colored`/`size`/`xadvance` 头的 `.fnt`、含空帧的 `.jta`,以及 `Sound`/`Misc`/`Swf`/`Spine`/`DragonBones` 散资源 |\n| 启发式局限 | SDF 字体的 `renderMode=\"sdfaa\"` / `samplePointSize=\"60\"` 仅能依据字体名称启发式推断,因发布二进制不包含该导入配置 |\n| 不承诺 | 与原工程一模一样的文件名、文本格式、局部编辑器状态 |\n\n## 何时需要外部辅助信息\n\n若目标不是“重建可用工程”,而是“尽量贴近原工程文本或命名”,则需要额外输入:\n\n| 额外输入 | 作用 |\n|---|---|\n| 原工程目录 | 作为命名、路径、缺失资源、文本样式的真实基准 |\n| 编辑器工作区文件 | 恢复 `.objs`、workspace、本地工程状态 |\n| 发布前清单或映射表 | 回填发布名与工程名之间的脱钩关系 |\n\n## 当前样本下仍然成立的判断\n\n| 判断 | 说明 |\n|---|---|\n| 可以从发布产物重建“可工作的工程” | 是 |\n| 可以从发布产物重建“原工程的源码真迹” | 否 |\n| 还原结果是否应该继续优化 | 可以,但应只优化“发布产物里确实有证据的部分” |\n\nNode 图片校验、恢复解码和恢复画布使用 16,777,216 像素上限。画布宽高必须为正安全整数,乘积不得超过上限;超限在分配画布前拒绝。\n",
21693
22684
  "skill": "---\nname: openfairygui\ndescription: Navigate an installed OpenFairyGUI SDK, CLI or MCP server for FairyGUI project inspection, precise queries, revision-checked authoring and diagnosis. Use the installed version's offline documentation and generated schemas before constructing operations.\n---\n\n# OpenFairyGUI installed-version navigation\n\nUse this skill for OpenFairyGUI project workflows, not unrelated GUI frameworks.\n\n1. Locate the intended project's installed `ofgui` binary (local `node_modules/.bin/ofgui`, `ofgui.cmd` on Windows) or its configured MCP server. Do not use `npx`, install, upgrade, or fall back to a global executable automatically. If missing, report the missing installation and ask the host to choose it.\n2. Read `ofgui --version` and `ofgui docs ls --json`; compare the CLI and documentation package versions. In MCP, read `openfairygui://docs/index` and the server's version. Report mismatches before authoring; do not use online latest-version docs as the installed contract.\n3. Read `ofgui docs cat workflow` or the index's workflow URI. Use `docs find`, `docs schema <kind>`, `docs cat methods/<method>` and `docs diagnostic <code>` (or the listed MCP URIs) for exact current inputs and recovery boundaries. Never copy or guess operation grammar from this skill.\n4. Follow outline → exact query → plan → preflight → authorized apply → validate → authorized save → reread. Revision changes require refreshing and replanning, not blind retries. Read-only requests do not authorize opening locked file sessions, mutations or repairs.\n5. Use `ofgui doctor [project] --json` for read-only installation/project diagnosis. Missing bytes/decoders and path/session failures may require host action. Preserve unsaved work and report incomplete checks honestly.\n\nThe commands above navigate this installed corpus; they do not grant permission to change projects, install dependencies or widen filesystem access.\n"
21694
22685
  };
21695
22686
  //#endregion