@ue-shed/protocol 0.7.1 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/contracts/cameras/authoring/v1/README.md +63 -0
  2. package/contracts/cameras/authoring/v1/approval.schema.json +106 -0
  3. package/contracts/cameras/authoring/v1/arrangement.schema.json +1807 -0
  4. package/contracts/cameras/authoring/v1/bridge-request.schema.json +11077 -0
  5. package/contracts/cameras/authoring/v1/bridge-response.schema.json +10523 -0
  6. package/contracts/cameras/authoring/v1/command.schema.json +4115 -0
  7. package/contracts/cameras/authoring/v1/document.schema.json +4421 -0
  8. package/contracts/cameras/authoring/v1/panel-event.schema.json +4891 -0
  9. package/contracts/cameras/authoring/v1/panel-state.schema.json +3560 -0
  10. package/contracts/cameras/authoring/v1/recipe.schema.json +340 -0
  11. package/contracts/cameras/authoring/v1/visibility-preset.schema.json +205 -0
  12. package/contracts/cameras/map-tile/v1/README.md +4 -1
  13. package/contracts/cameras/map-tile/v1/capture-operation.schema.json +1643 -30
  14. package/contracts/cameras/map-tile/v1/capture-request.schema.json +497 -48
  15. package/contracts/cameras/map-tile/v1/capture-response.schema.json +1405 -96
  16. package/contracts/cameras/map-tile/v1/manifest.schema.json +1782 -110
  17. package/contracts/cameras/map-tile/v1/plan.schema.json +394 -200
  18. package/contracts/cameras/map-tile/v1/release-result.schema.json +7 -2
  19. package/contracts/cameras/provisioning/v1/provision-request.schema.json +663 -141
  20. package/contracts/cameras/render/v1/README.md +6 -0
  21. package/contracts/cameras/render/v1/begin-result.schema.json +173 -0
  22. package/contracts/cameras/render/v1/capabilities.schema.json +46 -0
  23. package/contracts/cameras/render/v1/fixtures/invalid-session-editor-previews-type.json +41 -0
  24. package/contracts/cameras/render/v1/fixtures/session-editor-previews.json +41 -0
  25. package/contracts/cameras/render/v1/fixtures/session-scene-capture-editor-previews.json +40 -0
  26. package/contracts/cameras/render/v1/frame-evidence.schema.json +262 -0
  27. package/contracts/cameras/render/v1/frame-status.schema.json +271 -0
  28. package/contracts/cameras/render/v1/policy.schema.json +165 -0
  29. package/contracts/cameras/render/v1/review-inspection-result.schema.json +285 -0
  30. package/contracts/cameras/render/v1/session-request.schema.json +173 -0
  31. package/contracts/cameras/review/v1/README.md +6 -0
  32. package/contracts/cameras/review/v1/capture-request.schema.json +221 -3
  33. package/contracts/cameras/review/v1/capture-response.schema.json +3692 -0
  34. package/contracts/cameras/review/v1/fixtures/capture-authored.json +205 -0
  35. package/contracts/core/v1/WINDOW-ACTIVATION.md +21 -0
  36. package/contracts/core/v1/window-activation-request.schema.json +20 -0
  37. package/contracts/core/v1/window-activation-result.schema.json +49 -0
  38. package/contracts/editor-world/v1/README.md +27 -0
  39. package/contracts/editor-world/v1/operation.schema.json +761 -0
  40. package/contracts/editor-world/v1/state.schema.json +92 -0
  41. package/contracts/uasset-io/v1/README.md +24 -0
  42. package/contracts/uasset-io/v1/event.schema.json +2642 -290
  43. package/contracts/uasset-io/v1/fixtures/invalid/inspect-string-table-nonstring-metadata.json +53 -0
  44. package/contracts/uasset-io/v1/fixtures/invalid/level-sequence-version.json +43 -0
  45. package/contracts/uasset-io/v1/fixtures/invalid/negative-instanced-size.json +97 -0
  46. package/contracts/uasset-io/v1/fixtures/invalid/non-string-metadata.json +97 -0
  47. package/contracts/uasset-io/v1/fixtures/invalid/unknown-native-value.json +97 -0
  48. package/contracts/uasset-io/v1/fixtures/valid/blueprint-request.json +15 -3
  49. package/contracts/uasset-io/v1/fixtures/valid/blueprint-result-event.json +22 -5
  50. package/contracts/uasset-io/v1/fixtures/valid/extract-text-string-table-occurrence-result-event.json +30 -0
  51. package/contracts/uasset-io/v1/fixtures/valid/inspect-native-result-event.json +97 -0
  52. package/contracts/uasset-io/v1/fixtures/valid/inspect-string-table-metadata-result-event.json +53 -0
  53. package/contracts/uasset-io/v1/fixtures/valid/level-sequence-request.json +18 -0
  54. package/contracts/uasset-io/v1/fixtures/valid/level-sequence-result-event.json +43 -0
  55. package/contracts/uasset-io/v1/request.schema.json +14 -0
  56. package/contracts/world/preparation/v1/fixtures/invalid-contract-version.json +10 -0
  57. package/contracts/world/preparation/v1/fixtures/invalid-extra-field.json +11 -0
  58. package/contracts/world/preparation/v1/fixtures/invalid-negative-budget.json +37 -0
  59. package/contracts/world/preparation/v1/fixtures/invalid-region-negative-extent.json +40 -0
  60. package/contracts/world/preparation/v1/fixtures/valid-actor-context.json +37 -0
  61. package/contracts/world/preparation/v1/fixtures/valid-describe.json +10 -0
  62. package/contracts/world/preparation/v1/request.schema.json +897 -0
  63. package/contracts/world/preparation/v1/response.schema.json +449 -0
  64. package/dist/blueprint-graph.d.ts +332 -8
  65. package/dist/blueprint-graph.d.ts.map +1 -1
  66. package/dist/blueprint-graph.js +42 -3
  67. package/dist/blueprint-graph.js.map +1 -1
  68. package/dist/cameras.d.ts +16 -12
  69. package/dist/cameras.d.ts.map +1 -1
  70. package/dist/cameras.js +1 -0
  71. package/dist/cameras.js.map +1 -1
  72. package/dist/companion.d.ts +6 -0
  73. package/dist/companion.d.ts.map +1 -1
  74. package/dist/companion.js +3 -0
  75. package/dist/companion.js.map +1 -1
  76. package/dist/editor-window-activation.d.ts +16 -0
  77. package/dist/editor-window-activation.d.ts.map +1 -0
  78. package/dist/editor-window-activation.js +19 -0
  79. package/dist/editor-window-activation.js.map +1 -0
  80. package/dist/editor-world-control.d.ts +125 -0
  81. package/dist/editor-world-control.d.ts.map +1 -1
  82. package/dist/editor-world-control.js +25 -0
  83. package/dist/editor-world-control.js.map +1 -1
  84. package/dist/index.d.ts +2 -0
  85. package/dist/index.d.ts.map +1 -1
  86. package/dist/index.js +2 -0
  87. package/dist/index.js.map +1 -1
  88. package/dist/level-sequence.d.ts +1315 -0
  89. package/dist/level-sequence.d.ts.map +1 -0
  90. package/dist/level-sequence.js +204 -0
  91. package/dist/level-sequence.js.map +1 -0
  92. package/dist/uasset-inspection.d.ts +128 -55
  93. package/dist/uasset-inspection.d.ts.map +1 -1
  94. package/dist/uasset-inspection.js +39 -2
  95. package/dist/uasset-inspection.js.map +1 -1
  96. package/dist/uasset-io.d.ts +1302 -9
  97. package/dist/uasset-io.d.ts.map +1 -1
  98. package/dist/uasset-io.js +4 -0
  99. package/dist/uasset-io.js.map +1 -1
  100. package/package.json +1 -1
@@ -1126,6 +1126,104 @@
1126
1126
  "evidence": {
1127
1127
  "type": "object",
1128
1128
  "properties": {
1129
+ "visibilityDiagnostics": {
1130
+ "type": "array",
1131
+ "items": {
1132
+ "type": "object",
1133
+ "properties": {
1134
+ "locator": {
1135
+ "anyOf": [
1136
+ {
1137
+ "type": "object",
1138
+ "properties": {
1139
+ "kind": {
1140
+ "type": "string",
1141
+ "enum": ["actor_path"]
1142
+ },
1143
+ "actorPath": {
1144
+ "type": "string",
1145
+ "allOf": [
1146
+ {
1147
+ "pattern": "^\\/Game\\/"
1148
+ },
1149
+ {
1150
+ "maxLength": 4096
1151
+ }
1152
+ ]
1153
+ }
1154
+ },
1155
+ "required": ["kind", "actorPath"],
1156
+ "additionalProperties": false
1157
+ },
1158
+ {
1159
+ "type": "object",
1160
+ "properties": {
1161
+ "kind": {
1162
+ "type": "string",
1163
+ "enum": ["actor_guid"]
1164
+ },
1165
+ "actorGuid": {
1166
+ "type": "string",
1167
+ "allOf": [
1168
+ {
1169
+ "pattern": "^(?!00000000-00000000-00000000-00000000$)[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{8}){3}$"
1170
+ }
1171
+ ]
1172
+ },
1173
+ "lastKnownActorPath": {
1174
+ "type": "string",
1175
+ "allOf": [
1176
+ {
1177
+ "maxLength": 4096
1178
+ }
1179
+ ]
1180
+ }
1181
+ },
1182
+ "required": [
1183
+ "kind",
1184
+ "actorGuid",
1185
+ "lastKnownActorPath"
1186
+ ],
1187
+ "additionalProperties": false
1188
+ }
1189
+ ]
1190
+ },
1191
+ "status": {
1192
+ "type": "string",
1193
+ "enum": [
1194
+ "resolved",
1195
+ "missing_or_unloaded",
1196
+ "ambiguous",
1197
+ "unsupported"
1198
+ ]
1199
+ },
1200
+ "actorPath": {
1201
+ "type": "string"
1202
+ },
1203
+ "message": {
1204
+ "type": "string"
1205
+ }
1206
+ },
1207
+ "required": ["locator", "status", "actorPath", "message"],
1208
+ "additionalProperties": false
1209
+ }
1210
+ },
1211
+ "editorPreviews": {
1212
+ "type": "object",
1213
+ "properties": {
1214
+ "revealedChildActors": {
1215
+ "type": "integer",
1216
+ "allOf": [
1217
+ {
1218
+ "minimum": 0,
1219
+ "maximum": 1000000
1220
+ }
1221
+ ]
1222
+ }
1223
+ },
1224
+ "required": ["revealedChildActors"],
1225
+ "additionalProperties": false
1226
+ },
1129
1227
  "editorState": {
1130
1228
  "type": "object",
1131
1229
  "properties": {
@@ -1252,6 +1350,187 @@
1252
1350
  "policy": {
1253
1351
  "type": "object",
1254
1352
  "properties": {
1353
+ "visibility": {
1354
+ "type": "object",
1355
+ "properties": {
1356
+ "hide": {
1357
+ "type": "array",
1358
+ "items": {
1359
+ "type": "object",
1360
+ "properties": {
1361
+ "locator": {
1362
+ "anyOf": [
1363
+ {
1364
+ "type": "object",
1365
+ "properties": {
1366
+ "kind": {
1367
+ "type": "string",
1368
+ "enum": [
1369
+ "actor_path"
1370
+ ]
1371
+ },
1372
+ "actorPath": {
1373
+ "type": "string",
1374
+ "allOf": [
1375
+ {
1376
+ "pattern": "^\\/Game\\/"
1377
+ },
1378
+ {
1379
+ "maxLength": 4096
1380
+ }
1381
+ ]
1382
+ }
1383
+ },
1384
+ "required": [
1385
+ "kind",
1386
+ "actorPath"
1387
+ ],
1388
+ "additionalProperties": false
1389
+ },
1390
+ {
1391
+ "type": "object",
1392
+ "properties": {
1393
+ "kind": {
1394
+ "type": "string",
1395
+ "enum": [
1396
+ "actor_guid"
1397
+ ]
1398
+ },
1399
+ "actorGuid": {
1400
+ "type": "string",
1401
+ "allOf": [
1402
+ {
1403
+ "pattern": "^(?!00000000-00000000-00000000-00000000$)[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{8}){3}$"
1404
+ }
1405
+ ]
1406
+ },
1407
+ "lastKnownActorPath": {
1408
+ "type": "string",
1409
+ "allOf": [
1410
+ {
1411
+ "maxLength": 4096
1412
+ }
1413
+ ]
1414
+ }
1415
+ },
1416
+ "required": [
1417
+ "kind",
1418
+ "actorGuid",
1419
+ "lastKnownActorPath"
1420
+ ],
1421
+ "additionalProperties": false
1422
+ }
1423
+ ]
1424
+ },
1425
+ "label": {
1426
+ "type": "string",
1427
+ "allOf": [
1428
+ {
1429
+ "maxLength": 256
1430
+ }
1431
+ ]
1432
+ }
1433
+ },
1434
+ "required": ["locator", "label"],
1435
+ "additionalProperties": false
1436
+ },
1437
+ "allOf": [
1438
+ {
1439
+ "maxItems": 256
1440
+ }
1441
+ ]
1442
+ },
1443
+ "protect": {
1444
+ "type": "array",
1445
+ "items": {
1446
+ "type": "object",
1447
+ "properties": {
1448
+ "locator": {
1449
+ "anyOf": [
1450
+ {
1451
+ "type": "object",
1452
+ "properties": {
1453
+ "kind": {
1454
+ "type": "string",
1455
+ "enum": [
1456
+ "actor_path"
1457
+ ]
1458
+ },
1459
+ "actorPath": {
1460
+ "type": "string",
1461
+ "allOf": [
1462
+ {
1463
+ "pattern": "^\\/Game\\/"
1464
+ },
1465
+ {
1466
+ "maxLength": 4096
1467
+ }
1468
+ ]
1469
+ }
1470
+ },
1471
+ "required": [
1472
+ "kind",
1473
+ "actorPath"
1474
+ ],
1475
+ "additionalProperties": false
1476
+ },
1477
+ {
1478
+ "type": "object",
1479
+ "properties": {
1480
+ "kind": {
1481
+ "type": "string",
1482
+ "enum": [
1483
+ "actor_guid"
1484
+ ]
1485
+ },
1486
+ "actorGuid": {
1487
+ "type": "string",
1488
+ "allOf": [
1489
+ {
1490
+ "pattern": "^(?!00000000-00000000-00000000-00000000$)[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{8}){3}$"
1491
+ }
1492
+ ]
1493
+ },
1494
+ "lastKnownActorPath": {
1495
+ "type": "string",
1496
+ "allOf": [
1497
+ {
1498
+ "maxLength": 4096
1499
+ }
1500
+ ]
1501
+ }
1502
+ },
1503
+ "required": [
1504
+ "kind",
1505
+ "actorGuid",
1506
+ "lastKnownActorPath"
1507
+ ],
1508
+ "additionalProperties": false
1509
+ }
1510
+ ]
1511
+ },
1512
+ "label": {
1513
+ "type": "string",
1514
+ "allOf": [
1515
+ {
1516
+ "maxLength": 256
1517
+ }
1518
+ ]
1519
+ }
1520
+ },
1521
+ "required": ["locator", "label"],
1522
+ "additionalProperties": false
1523
+ },
1524
+ "allOf": [
1525
+ {
1526
+ "maxItems": 256
1527
+ }
1528
+ ]
1529
+ }
1530
+ },
1531
+ "required": ["hide", "protect"],
1532
+ "additionalProperties": false
1533
+ },
1255
1534
  "renderer": {
1256
1535
  "anyOf": [
1257
1536
  {
@@ -1278,6 +1557,9 @@
1278
1557
  },
1279
1558
  "volumetricFog": {
1280
1559
  "type": "boolean"
1560
+ },
1561
+ "editorPreviews": {
1562
+ "type": "boolean"
1281
1563
  }
1282
1564
  },
1283
1565
  "required": [
@@ -1320,6 +1602,9 @@
1320
1602
  },
1321
1603
  "volumetricFog": {
1322
1604
  "type": "boolean"
1605
+ },
1606
+ "editorPreviews": {
1607
+ "type": "boolean"
1323
1608
  }
1324
1609
  },
1325
1610
  "required": [
@@ -62,6 +62,173 @@
62
62
  "policy": {
63
63
  "type": "object",
64
64
  "properties": {
65
+ "visibility": {
66
+ "type": "object",
67
+ "properties": {
68
+ "hide": {
69
+ "type": "array",
70
+ "items": {
71
+ "type": "object",
72
+ "properties": {
73
+ "locator": {
74
+ "anyOf": [
75
+ {
76
+ "type": "object",
77
+ "properties": {
78
+ "kind": {
79
+ "type": "string",
80
+ "enum": ["actor_path"]
81
+ },
82
+ "actorPath": {
83
+ "type": "string",
84
+ "allOf": [
85
+ {
86
+ "pattern": "^\\/Game\\/"
87
+ },
88
+ {
89
+ "maxLength": 4096
90
+ }
91
+ ]
92
+ }
93
+ },
94
+ "required": ["kind", "actorPath"],
95
+ "additionalProperties": false
96
+ },
97
+ {
98
+ "type": "object",
99
+ "properties": {
100
+ "kind": {
101
+ "type": "string",
102
+ "enum": ["actor_guid"]
103
+ },
104
+ "actorGuid": {
105
+ "type": "string",
106
+ "allOf": [
107
+ {
108
+ "pattern": "^(?!00000000-00000000-00000000-00000000$)[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{8}){3}$"
109
+ }
110
+ ]
111
+ },
112
+ "lastKnownActorPath": {
113
+ "type": "string",
114
+ "allOf": [
115
+ {
116
+ "maxLength": 4096
117
+ }
118
+ ]
119
+ }
120
+ },
121
+ "required": [
122
+ "kind",
123
+ "actorGuid",
124
+ "lastKnownActorPath"
125
+ ],
126
+ "additionalProperties": false
127
+ }
128
+ ]
129
+ },
130
+ "label": {
131
+ "type": "string",
132
+ "allOf": [
133
+ {
134
+ "maxLength": 256
135
+ }
136
+ ]
137
+ }
138
+ },
139
+ "required": ["locator", "label"],
140
+ "additionalProperties": false
141
+ },
142
+ "allOf": [
143
+ {
144
+ "maxItems": 256
145
+ }
146
+ ]
147
+ },
148
+ "protect": {
149
+ "type": "array",
150
+ "items": {
151
+ "type": "object",
152
+ "properties": {
153
+ "locator": {
154
+ "anyOf": [
155
+ {
156
+ "type": "object",
157
+ "properties": {
158
+ "kind": {
159
+ "type": "string",
160
+ "enum": ["actor_path"]
161
+ },
162
+ "actorPath": {
163
+ "type": "string",
164
+ "allOf": [
165
+ {
166
+ "pattern": "^\\/Game\\/"
167
+ },
168
+ {
169
+ "maxLength": 4096
170
+ }
171
+ ]
172
+ }
173
+ },
174
+ "required": ["kind", "actorPath"],
175
+ "additionalProperties": false
176
+ },
177
+ {
178
+ "type": "object",
179
+ "properties": {
180
+ "kind": {
181
+ "type": "string",
182
+ "enum": ["actor_guid"]
183
+ },
184
+ "actorGuid": {
185
+ "type": "string",
186
+ "allOf": [
187
+ {
188
+ "pattern": "^(?!00000000-00000000-00000000-00000000$)[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{8}){3}$"
189
+ }
190
+ ]
191
+ },
192
+ "lastKnownActorPath": {
193
+ "type": "string",
194
+ "allOf": [
195
+ {
196
+ "maxLength": 4096
197
+ }
198
+ ]
199
+ }
200
+ },
201
+ "required": [
202
+ "kind",
203
+ "actorGuid",
204
+ "lastKnownActorPath"
205
+ ],
206
+ "additionalProperties": false
207
+ }
208
+ ]
209
+ },
210
+ "label": {
211
+ "type": "string",
212
+ "allOf": [
213
+ {
214
+ "maxLength": 256
215
+ }
216
+ ]
217
+ }
218
+ },
219
+ "required": ["locator", "label"],
220
+ "additionalProperties": false
221
+ },
222
+ "allOf": [
223
+ {
224
+ "maxItems": 256
225
+ }
226
+ ]
227
+ }
228
+ },
229
+ "required": ["hide", "protect"],
230
+ "additionalProperties": false
231
+ },
65
232
  "renderer": {
66
233
  "anyOf": [
67
234
  {
@@ -88,6 +255,9 @@
88
255
  },
89
256
  "volumetricFog": {
90
257
  "type": "boolean"
258
+ },
259
+ "editorPreviews": {
260
+ "type": "boolean"
91
261
  }
92
262
  },
93
263
  "required": [
@@ -130,6 +300,9 @@
130
300
  },
131
301
  "volumetricFog": {
132
302
  "type": "boolean"
303
+ },
304
+ "editorPreviews": {
305
+ "type": "boolean"
133
306
  }
134
307
  },
135
308
  "required": [
@@ -81,3 +81,9 @@ Change a wire shape in this order:
81
81
  4. Switch consumers only after both producers pass.
82
82
 
83
83
  Do not generate these files from TypeScript. That would reverse the authority established by ADR 0002.
84
+
85
+ Capture 1.7 adds `authoredVisibility` and separately named `authored` artifacts with `authoredEvidence`.
86
+ Natural-only, authored-only and paired output require exactly their requested variants. Paired output
87
+ retains natural assessment and shared exposure; authored-only does not fabricate a natural score.
88
+ Semantic validation requires evidence to match the saved policy and forbids exclusions on Pure.
89
+ Legacy 1.0-1.6 and Clear remain readable. Review Set 1.5 and Capture Run 1.7 persist the new state.