@rho-workspace/rho 0.5.6 → 0.5.7

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 (211) hide show
  1. package/dist/agent-connect.d.ts +36 -2
  2. package/dist/agent-connect.js +64 -11
  3. package/dist/answer-board.js +3 -3
  4. package/dist/bridge.js +6 -1
  5. package/dist/browser-access.d.ts +1 -0
  6. package/dist/browser-access.js +5 -3
  7. package/dist/capabilities.d.ts +21 -5
  8. package/dist/capabilities.js +6 -4
  9. package/dist/cli.js +76 -11
  10. package/dist/composition.d.ts +1 -1
  11. package/dist/composition.js +13 -3
  12. package/dist/connect-cli.d.ts +50 -0
  13. package/dist/connect-cli.js +128 -0
  14. package/dist/contract.generated.d.ts +1191 -278
  15. package/dist/contract.generated.js +1 -1
  16. package/dist/contracts/owners.generated.js +845 -47
  17. package/dist/conversation-presentation.d.ts +9 -2
  18. package/dist/conversation-presentation.js +3 -1
  19. package/dist/conversations.d.ts +154 -8
  20. package/dist/conversations.js +147 -24
  21. package/dist/discovery.js +2 -2
  22. package/dist/extension-contract.d.ts +19 -0
  23. package/dist/extension-contract.js +15 -6
  24. package/dist/extension-markets.d.ts +74 -0
  25. package/dist/extension-markets.js +166 -0
  26. package/dist/extensions.d.ts +29 -1
  27. package/dist/extensions.js +13 -4
  28. package/dist/external-work.d.ts +22 -0
  29. package/dist/external-work.js +91 -0
  30. package/dist/plugin-cli.js +75 -3
  31. package/dist/plugin-inventory.d.ts +56 -0
  32. package/dist/plugin-inventory.js +41 -0
  33. package/dist/plugin-inventory.json +1581 -102
  34. package/dist/plugin-presentation.d.ts +105 -2
  35. package/dist/plugin-presentation.js +59 -5
  36. package/dist/plugins.d.ts +14 -3
  37. package/dist/plugins.js +12 -6
  38. package/dist/project-notes.js +1 -1
  39. package/dist/protocol.d.ts +6 -0
  40. package/dist/protocol.js +30 -12
  41. package/dist/replay.js +4 -0
  42. package/dist/response-contracts.js +26 -11
  43. package/dist/running.d.ts +10 -0
  44. package/dist/running.js +45 -0
  45. package/dist/server.d.ts +2 -0
  46. package/dist/server.js +71 -8
  47. package/dist/state.d.ts +8 -0
  48. package/dist/state.js +8 -0
  49. package/dist/studio-layout.js +3 -3
  50. package/dist/task-frame.d.ts +1 -1
  51. package/dist/timeline-events.d.ts +1 -0
  52. package/dist/timeline-events.js +8 -1
  53. package/dist/ui-context.d.ts +73 -0
  54. package/dist/ui-context.js +98 -0
  55. package/dist/ui-contract.d.ts +23 -0
  56. package/dist/web/.vite/manifest.json +133 -74
  57. package/dist/web/assets/answer-board-CeYS8k8y.js +1 -0
  58. package/dist/web/assets/choices-D8vGwsl2.js +1 -0
  59. package/dist/web/assets/{console-Trqc0swD.js → console-Dyuo1q4N.js} +4 -4
  60. package/dist/web/assets/{dist-pF902jHA.js → dist-CSiCyBml.js} +1 -1
  61. package/dist/web/assets/{dist-DpIHRk3B.js → dist-D9FLb9Hm.js} +1 -1
  62. package/dist/web/assets/{dist-eMx6b8N1.js → dist-FXbTBwML.js} +1 -1
  63. package/dist/web/assets/{dist-DZmszrjG.js → dist-l3DUhbw5.js} +1 -1
  64. package/dist/web/assets/{explore-in-BCHqjJ7B.js → explore-in-BfSFGRh2.js} +1 -1
  65. package/dist/web/assets/graph-BU2_o5uA.js +2 -0
  66. package/dist/web/assets/index-C16mXVvk.css +1 -0
  67. package/dist/web/assets/index-CWg9XYXx.js +952 -0
  68. package/dist/web/assets/markdown.reader-Ct2-e2Zt.png +0 -0
  69. package/dist/web/assets/{notes-meaning-DcVGUBBY.js → notes-meaning-T2m5zQfv.js} +1 -1
  70. package/dist/web/assets/overview-PzfLJCo-.js +6 -0
  71. package/dist/web/assets/preview-BguEdsza.js +1 -0
  72. package/dist/web/assets/previews-pWNik-2g.js +3 -0
  73. package/dist/web/assets/{review-DYP0aCXb.js → review-Dy_85lcH.js} +1 -1
  74. package/dist/web/assets/rho.editor-CCJeyHma.png +0 -0
  75. package/dist/web/assets/rho.flow-WkMj6fRS.png +0 -0
  76. package/dist/web/assets/rho.media-Cc6amodO.png +0 -0
  77. package/dist/web/assets/rho.notebook-6vsZKGDq.png +0 -0
  78. package/dist/web/assets/rho.object-BGoeXjte.png +0 -0
  79. package/dist/web/assets/rho.plots-yIiISCkb.png +0 -0
  80. package/dist/web/assets/rho.scatter-DwHxesCs.png +0 -0
  81. package/dist/web/assets/rho.servers-DKf_mnNq.png +0 -0
  82. package/dist/web/assets/rho.table-DWOGaWDa.png +0 -0
  83. package/dist/web/assets/rho.variables-CKcWczhQ.png +0 -0
  84. package/dist/web/assets/{skills-1ec0Z-jx.js → skills-Dyz7mBlc.js} +1 -1
  85. package/dist/web/assets/{skills-work-DNexV4OJ.js → skills-work-BEGqlCkx.js} +1 -1
  86. package/dist/web/assets/studio-process-D-ykbC4D.js +2 -0
  87. package/dist/web/assets/timeline-events-DKTho9fU.js +1 -0
  88. package/dist/web/assets/work-turns-DSabCogR.js +1 -0
  89. package/dist/web/assets/{workspace-COmCbGV3.js → workspace-DfjBL--r.js} +2 -2
  90. package/dist/web/composition.json +138 -83
  91. package/dist/web/index.html +3 -3
  92. package/dist/web/renderer.json +1 -1
  93. package/dist/web-assets.js +2 -2
  94. package/dist/work-graph.d.ts +11 -1
  95. package/dist/work-graph.js +16 -5
  96. package/dist/workspace.d.ts +2 -2
  97. package/dist/workspace.js +8 -7
  98. package/docs/FRONTEND.md +53 -11
  99. package/docs/HEADLESS.md +104 -11
  100. package/docs/THIRD-PARTY-PLUGINS.md +75 -3
  101. package/node_modules/@rho-workspace/plugin-agent/README.md +5 -0
  102. package/node_modules/@rho-workspace/plugin-agent/dist/acp-command.d.ts +31 -0
  103. package/node_modules/@rho-workspace/plugin-agent/dist/acp-command.js +45 -10
  104. package/node_modules/@rho-workspace/plugin-agent/dist/acp-conversation.js +19 -3
  105. package/node_modules/@rho-workspace/plugin-agent/dist/external-session-contract.js +3 -2
  106. package/node_modules/@rho-workspace/plugin-agent/dist/external-session.d.ts +1 -1
  107. package/node_modules/@rho-workspace/plugin-agent/dist/index.d.ts +8 -0
  108. package/node_modules/@rho-workspace/plugin-agent/dist/index.js +3 -2
  109. package/node_modules/@rho-workspace/plugin-agent/dist/mcp-entry.d.ts +13 -0
  110. package/node_modules/@rho-workspace/plugin-agent/dist/mcp-entry.js +13 -0
  111. package/node_modules/@rho-workspace/plugin-agent/dist/mcp.js +16 -8
  112. package/node_modules/@rho-workspace/plugin-agent/dist/native-sessions.d.ts +1 -1
  113. package/node_modules/@rho-workspace/plugin-agent/package.json +1 -1
  114. package/node_modules/@rho-workspace/plugin-figures/LICENSE +661 -0
  115. package/node_modules/@rho-workspace/plugin-figures/README.md +191 -0
  116. package/node_modules/@rho-workspace/plugin-figures/dist/index.d.ts +236 -0
  117. package/node_modules/@rho-workspace/plugin-figures/dist/index.js +165 -0
  118. package/node_modules/@rho-workspace/plugin-figures/dist/operations.d.ts +44 -0
  119. package/node_modules/@rho-workspace/plugin-figures/dist/operations.js +39 -0
  120. package/node_modules/@rho-workspace/plugin-figures/dist/presentation.d.ts +19 -0
  121. package/node_modules/@rho-workspace/plugin-figures/dist/presentation.js +26 -0
  122. package/node_modules/@rho-workspace/plugin-figures/dist/record.d.ts +188 -0
  123. package/node_modules/@rho-workspace/plugin-figures/dist/record.js +143 -0
  124. package/node_modules/@rho-workspace/plugin-figures/dist/ui-styles.d.ts +1 -0
  125. package/node_modules/@rho-workspace/plugin-figures/dist/ui-styles.js +68 -0
  126. package/node_modules/@rho-workspace/plugin-figures/dist/ui.d.ts +56 -0
  127. package/node_modules/@rho-workspace/plugin-figures/dist/ui.js +363 -0
  128. package/node_modules/@rho-workspace/plugin-figures/package.json +41 -0
  129. package/node_modules/@rho-workspace/plugin-figures/py/figures.py +856 -0
  130. package/node_modules/@rho-workspace/plugin-figures/r/figures.R +775 -0
  131. package/node_modules/@rho-workspace/plugin-kernel/README.md +27 -3
  132. package/node_modules/@rho-workspace/plugin-kernel/dist/contract.d.ts +12 -0
  133. package/node_modules/@rho-workspace/plugin-kernel/dist/contract.js +8 -1
  134. package/node_modules/@rho-workspace/plugin-kernel/dist/index.d.ts +61 -0
  135. package/node_modules/@rho-workspace/plugin-kernel/dist/index.js +125 -9
  136. package/node_modules/@rho-workspace/plugin-kernel/dist/session-scope.d.ts +14 -0
  137. package/node_modules/@rho-workspace/plugin-kernel/dist/session-scope.js +9 -0
  138. package/node_modules/@rho-workspace/plugin-kernel/dist/ui-base.d.ts +23 -5
  139. package/node_modules/@rho-workspace/plugin-kernel/dist/ui-notebook-work.js +1 -1
  140. package/node_modules/@rho-workspace/plugin-kernel/dist/ui-notebook.d.ts +6 -4
  141. package/node_modules/@rho-workspace/plugin-kernel/dist/ui-notebook.js +44 -17
  142. package/node_modules/@rho-workspace/plugin-kernel/dist/ui-styles.js +6 -0
  143. package/node_modules/@rho-workspace/plugin-kernel/package.json +1 -1
  144. package/node_modules/@rho-workspace/plugin-kernel/runners/runner.R +144 -4
  145. package/node_modules/@rho-workspace/plugin-kernel/runners/runner.py +106 -1
  146. package/node_modules/@rho-workspace/plugin-tables/README.md +5 -0
  147. package/node_modules/@rho-workspace/plugin-tables/dist/index.d.ts +1 -0
  148. package/node_modules/@rho-workspace/plugin-tables/dist/index.js +19 -3
  149. package/node_modules/@rho-workspace/plugin-tables/dist/ui.js +1 -1
  150. package/node_modules/@rho-workspace/plugin-tables/package.json +1 -1
  151. package/node_modules/jose/dist/webapi/jwe/general/decrypt.js +3 -2
  152. package/node_modules/jose/dist/webapi/jwks/remote.js +1 -1
  153. package/node_modules/jose/dist/webapi/jws/general/verify.js +2 -8
  154. package/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +11 -8
  155. package/node_modules/jose/dist/webapi/lib/key_management.js +0 -1
  156. package/node_modules/jose/package.json +1 -1
  157. package/package.json +6 -4
  158. package/protocol/index.json +91 -55
  159. package/protocol/operations/agent.sessions.list.json +13 -5
  160. package/protocol/operations/agent.sessions.read.json +13 -5
  161. package/protocol/operations/capability.list.json +382 -6
  162. package/protocol/operations/composition.apply.json +10 -2
  163. package/protocol/operations/composition.delete.json +845 -0
  164. package/protocol/operations/composition.read.json +10 -2
  165. package/protocol/operations/composition.undo.json +10 -2
  166. package/protocol/operations/conversation.agents.add.json +346 -0
  167. package/protocol/operations/conversation.agents.remove.json +340 -0
  168. package/protocol/operations/conversation.decide.json +196 -0
  169. package/protocol/operations/conversation.permission.json +196 -0
  170. package/protocol/operations/conversation.read.json +196 -0
  171. package/protocol/operations/conversation.send.json +265 -0
  172. package/protocol/operations/conversation.settings.check.json +213 -495
  173. package/protocol/operations/conversation.settings.read.json +211 -490
  174. package/protocol/operations/conversation.settings.update.json +235 -554
  175. package/protocol/operations/conversation.start.json +267 -5
  176. package/protocol/operations/conversation.stop.json +196 -0
  177. package/protocol/operations/extension.describe.json +39 -0
  178. package/protocol/operations/extension.install.json +62 -0
  179. package/protocol/operations/extension.list.json +164 -1
  180. package/protocol/operations/extension.market.change.json +210 -0
  181. package/protocol/operations/figure.read.json +265 -0
  182. package/protocol/operations/figure.select.json +157 -0
  183. package/protocol/operations/kernel.interrupt.json +119 -0
  184. package/protocol/operations/kernel.read.json +119 -0
  185. package/protocol/operations/kernel.run.json +119 -0
  186. package/protocol/operations/observation.snapshot.json +416 -8
  187. package/protocol/operations/project.openFile.json +10 -2
  188. package/protocol/operations/session.grant.json +4 -0
  189. package/protocol/operations/shared.json +1 -0
  190. package/protocol/operations/view.close.json +10 -2
  191. package/protocol/operations/view.protection.set.json +10 -2
  192. package/vendor/composition.json +177 -112
  193. package/vendor/rho-workspace-plugin-agent-0.4.33.tgz +0 -0
  194. package/vendor/rho-workspace-plugin-figures-0.5.1.tgz +0 -0
  195. package/vendor/rho-workspace-plugin-kernel-0.5.13.tgz +0 -0
  196. package/vendor/rho-workspace-plugin-tables-0.5.2.tgz +0 -0
  197. package/web/theme.css +5 -0
  198. package/dist/web/assets/answer-board-CBkGbSLD.js +0 -1
  199. package/dist/web/assets/canvas-D8rDdfDz.js +0 -1
  200. package/dist/web/assets/choices-D-YfnFP6.js +0 -1
  201. package/dist/web/assets/graph-lENgfQNH.js +0 -2
  202. package/dist/web/assets/index-B3_OVy91.css +0 -1
  203. package/dist/web/assets/index-BpL_Kl_s.js +0 -892
  204. package/dist/web/assets/overview-CDnVKlOt.js +0 -6
  205. package/dist/web/assets/preview-BEC1E9MK.js +0 -1
  206. package/dist/web/assets/studio-process-EYQgikxq.js +0 -2
  207. package/dist/web/assets/timeline-events-Chj2Gbx7.js +0 -1
  208. package/dist/web/assets/work-turns-CT9RVcWY.js +0 -1
  209. package/vendor/rho-workspace-plugin-agent-0.4.30.tgz +0 -0
  210. package/vendor/rho-workspace-plugin-kernel-0.5.5.tgz +0 -0
  211. package/vendor/rho-workspace-plugin-tables-0.5.0.tgz +0 -0
@@ -0,0 +1,845 @@
1
+ {
2
+ "method": "composition.delete",
3
+ "inputSchema": {
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "properties": {
7
+ "projectId": {
8
+ "type": "string",
9
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
10
+ },
11
+ "compositionId": {
12
+ "type": "string",
13
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
14
+ },
15
+ "expectedVersion": {
16
+ "type": "integer",
17
+ "minimum": 0
18
+ },
19
+ "changeId": {
20
+ "type": "string",
21
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
22
+ }
23
+ },
24
+ "required": [
25
+ "projectId",
26
+ "compositionId",
27
+ "expectedVersion",
28
+ "changeId"
29
+ ]
30
+ },
31
+ "outputSchema": {
32
+ "type": "object",
33
+ "additionalProperties": false,
34
+ "properties": {
35
+ "format": {
36
+ "const": "rho.composition/1"
37
+ },
38
+ "compositionId": {
39
+ "type": "string",
40
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
41
+ },
42
+ "rootId": {
43
+ "type": "string",
44
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
45
+ },
46
+ "deleted": {
47
+ "type": "boolean"
48
+ },
49
+ "nodes": {
50
+ "type": "array",
51
+ "items": {
52
+ "oneOf": [
53
+ {
54
+ "type": "object",
55
+ "additionalProperties": false,
56
+ "properties": {
57
+ "id": {
58
+ "type": "string",
59
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
60
+ },
61
+ "kind": {
62
+ "const": "group"
63
+ },
64
+ "children": {
65
+ "type": "array",
66
+ "items": {
67
+ "type": "string",
68
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
69
+ },
70
+ "maxItems": 256
71
+ },
72
+ "presentation": {
73
+ "type": "object",
74
+ "additionalProperties": false,
75
+ "properties": {
76
+ "mode": {
77
+ "enum": [
78
+ "tabs",
79
+ "split"
80
+ ]
81
+ },
82
+ "axis": {
83
+ "enum": [
84
+ "horizontal",
85
+ "vertical"
86
+ ]
87
+ },
88
+ "weights": {
89
+ "type": "array",
90
+ "items": {
91
+ "type": "number"
92
+ },
93
+ "maxItems": 32
94
+ }
95
+ },
96
+ "required": [
97
+ "mode"
98
+ ]
99
+ }
100
+ },
101
+ "required": [
102
+ "id",
103
+ "kind",
104
+ "children"
105
+ ]
106
+ },
107
+ {
108
+ "type": "object",
109
+ "additionalProperties": false,
110
+ "properties": {
111
+ "id": {
112
+ "type": "string",
113
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
114
+ },
115
+ "component": {
116
+ "type": "string",
117
+ "minLength": 1
118
+ },
119
+ "version": {
120
+ "type": "string",
121
+ "minLength": 1
122
+ },
123
+ "props": {
124
+ "type": "object"
125
+ },
126
+ "bindings": {
127
+ "type": "object",
128
+ "additionalProperties": {
129
+ "anyOf": [
130
+ {
131
+ "type": "object",
132
+ "additionalProperties": false,
133
+ "properties": {
134
+ "id": {
135
+ "type": "string",
136
+ "minLength": 1
137
+ },
138
+ "version": {
139
+ "type": "string",
140
+ "pattern": "^[a-f0-9]{64}$"
141
+ }
142
+ },
143
+ "required": [
144
+ "id",
145
+ "version"
146
+ ]
147
+ },
148
+ {
149
+ "type": "object",
150
+ "additionalProperties": false,
151
+ "properties": {
152
+ "documentId": {
153
+ "type": "string",
154
+ "pattern": "^[a-f0-9]{64}$"
155
+ },
156
+ "version": {
157
+ "type": "integer",
158
+ "minimum": 1
159
+ }
160
+ },
161
+ "required": [
162
+ "documentId",
163
+ "version"
164
+ ]
165
+ },
166
+ {
167
+ "type": "object",
168
+ "additionalProperties": false,
169
+ "properties": {
170
+ "kind": {
171
+ "const": "live-document"
172
+ },
173
+ "documentId": {
174
+ "type": "string",
175
+ "pattern": "^[a-f0-9]{64}$"
176
+ }
177
+ },
178
+ "required": [
179
+ "kind",
180
+ "documentId"
181
+ ]
182
+ }
183
+ ]
184
+ }
185
+ },
186
+ "selection": {
187
+ "type": "array",
188
+ "items": {
189
+ "type": "string",
190
+ "minLength": 1
191
+ },
192
+ "maxItems": 1000
193
+ },
194
+ "presentation": {
195
+ "type": "object",
196
+ "additionalProperties": false,
197
+ "properties": {
198
+ "emphasis": {
199
+ "enum": [
200
+ "normal",
201
+ "highlight"
202
+ ]
203
+ }
204
+ },
205
+ "required": [
206
+ "emphasis"
207
+ ]
208
+ },
209
+ "protected": {
210
+ "type": "boolean"
211
+ },
212
+ "kind": {
213
+ "const": "view"
214
+ }
215
+ },
216
+ "required": [
217
+ "id",
218
+ "component",
219
+ "version",
220
+ "props",
221
+ "bindings",
222
+ "kind"
223
+ ]
224
+ }
225
+ ]
226
+ },
227
+ "maxItems": 256
228
+ },
229
+ "views": {
230
+ "type": "array",
231
+ "items": {
232
+ "type": "object",
233
+ "additionalProperties": false,
234
+ "properties": {
235
+ "id": {
236
+ "type": "string",
237
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
238
+ },
239
+ "component": {
240
+ "type": "string",
241
+ "minLength": 1
242
+ },
243
+ "version": {
244
+ "type": "string",
245
+ "minLength": 1
246
+ },
247
+ "props": {
248
+ "type": "object"
249
+ },
250
+ "bindings": {
251
+ "type": "object",
252
+ "additionalProperties": {
253
+ "anyOf": [
254
+ {
255
+ "type": "object",
256
+ "additionalProperties": false,
257
+ "properties": {
258
+ "id": {
259
+ "type": "string",
260
+ "minLength": 1
261
+ },
262
+ "version": {
263
+ "type": "string",
264
+ "pattern": "^[a-f0-9]{64}$"
265
+ }
266
+ },
267
+ "required": [
268
+ "id",
269
+ "version"
270
+ ]
271
+ },
272
+ {
273
+ "type": "object",
274
+ "additionalProperties": false,
275
+ "properties": {
276
+ "documentId": {
277
+ "type": "string",
278
+ "pattern": "^[a-f0-9]{64}$"
279
+ },
280
+ "version": {
281
+ "type": "integer",
282
+ "minimum": 1
283
+ }
284
+ },
285
+ "required": [
286
+ "documentId",
287
+ "version"
288
+ ]
289
+ },
290
+ {
291
+ "type": "object",
292
+ "additionalProperties": false,
293
+ "properties": {
294
+ "kind": {
295
+ "const": "live-document"
296
+ },
297
+ "documentId": {
298
+ "type": "string",
299
+ "pattern": "^[a-f0-9]{64}$"
300
+ }
301
+ },
302
+ "required": [
303
+ "kind",
304
+ "documentId"
305
+ ]
306
+ }
307
+ ]
308
+ }
309
+ },
310
+ "selection": {
311
+ "type": "array",
312
+ "items": {
313
+ "type": "string",
314
+ "minLength": 1
315
+ },
316
+ "maxItems": 1000
317
+ },
318
+ "presentation": {
319
+ "type": "object",
320
+ "additionalProperties": false,
321
+ "properties": {
322
+ "emphasis": {
323
+ "enum": [
324
+ "normal",
325
+ "highlight"
326
+ ]
327
+ }
328
+ },
329
+ "required": [
330
+ "emphasis"
331
+ ]
332
+ },
333
+ "protected": {
334
+ "type": "boolean"
335
+ }
336
+ },
337
+ "required": [
338
+ "id",
339
+ "component",
340
+ "version",
341
+ "props",
342
+ "bindings"
343
+ ]
344
+ },
345
+ "maxItems": 32
346
+ },
347
+ "availability": {
348
+ "type": "object",
349
+ "additionalProperties": {
350
+ "type": "object",
351
+ "additionalProperties": false,
352
+ "properties": {
353
+ "state": {
354
+ "enum": [
355
+ "entry-installed",
356
+ "unavailable"
357
+ ]
358
+ },
359
+ "visibility": {
360
+ "const": "unobserved"
361
+ },
362
+ "reason": {
363
+ "type": "string",
364
+ "minLength": 1
365
+ }
366
+ },
367
+ "required": [
368
+ "state"
369
+ ]
370
+ }
371
+ },
372
+ "version": {
373
+ "type": "integer",
374
+ "minimum": 1
375
+ },
376
+ "author": {
377
+ "type": "string",
378
+ "minLength": 1
379
+ },
380
+ "acknowledgedAt": {
381
+ "type": "string",
382
+ "format": "date-time"
383
+ },
384
+ "history": {
385
+ "type": "array",
386
+ "items": {
387
+ "type": "object",
388
+ "additionalProperties": false,
389
+ "properties": {
390
+ "version": {
391
+ "type": "integer",
392
+ "minimum": 1
393
+ },
394
+ "snapshot": {
395
+ "type": "object",
396
+ "additionalProperties": false,
397
+ "properties": {
398
+ "rootId": {
399
+ "type": "string",
400
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
401
+ },
402
+ "nodes": {
403
+ "type": "array",
404
+ "items": {
405
+ "oneOf": [
406
+ {
407
+ "type": "object",
408
+ "additionalProperties": false,
409
+ "properties": {
410
+ "id": {
411
+ "type": "string",
412
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
413
+ },
414
+ "kind": {
415
+ "const": "group"
416
+ },
417
+ "children": {
418
+ "type": "array",
419
+ "items": {
420
+ "type": "string",
421
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
422
+ },
423
+ "maxItems": 256
424
+ },
425
+ "presentation": {
426
+ "type": "object",
427
+ "additionalProperties": false,
428
+ "properties": {
429
+ "mode": {
430
+ "enum": [
431
+ "tabs",
432
+ "split"
433
+ ]
434
+ },
435
+ "axis": {
436
+ "enum": [
437
+ "horizontal",
438
+ "vertical"
439
+ ]
440
+ },
441
+ "weights": {
442
+ "type": "array",
443
+ "items": {
444
+ "type": "number"
445
+ },
446
+ "maxItems": 32
447
+ }
448
+ },
449
+ "required": [
450
+ "mode"
451
+ ]
452
+ }
453
+ },
454
+ "required": [
455
+ "id",
456
+ "kind",
457
+ "children"
458
+ ]
459
+ },
460
+ {
461
+ "type": "object",
462
+ "additionalProperties": false,
463
+ "properties": {
464
+ "id": {
465
+ "type": "string",
466
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
467
+ },
468
+ "component": {
469
+ "type": "string",
470
+ "minLength": 1
471
+ },
472
+ "version": {
473
+ "type": "string",
474
+ "minLength": 1
475
+ },
476
+ "props": {
477
+ "type": "object"
478
+ },
479
+ "bindings": {
480
+ "type": "object",
481
+ "additionalProperties": {
482
+ "anyOf": [
483
+ {
484
+ "type": "object",
485
+ "additionalProperties": false,
486
+ "properties": {
487
+ "id": {
488
+ "type": "string",
489
+ "minLength": 1
490
+ },
491
+ "version": {
492
+ "type": "string",
493
+ "pattern": "^[a-f0-9]{64}$"
494
+ }
495
+ },
496
+ "required": [
497
+ "id",
498
+ "version"
499
+ ]
500
+ },
501
+ {
502
+ "type": "object",
503
+ "additionalProperties": false,
504
+ "properties": {
505
+ "documentId": {
506
+ "type": "string",
507
+ "pattern": "^[a-f0-9]{64}$"
508
+ },
509
+ "version": {
510
+ "type": "integer",
511
+ "minimum": 1
512
+ }
513
+ },
514
+ "required": [
515
+ "documentId",
516
+ "version"
517
+ ]
518
+ },
519
+ {
520
+ "type": "object",
521
+ "additionalProperties": false,
522
+ "properties": {
523
+ "kind": {
524
+ "const": "live-document"
525
+ },
526
+ "documentId": {
527
+ "type": "string",
528
+ "pattern": "^[a-f0-9]{64}$"
529
+ }
530
+ },
531
+ "required": [
532
+ "kind",
533
+ "documentId"
534
+ ]
535
+ }
536
+ ]
537
+ }
538
+ },
539
+ "selection": {
540
+ "type": "array",
541
+ "items": {
542
+ "type": "string",
543
+ "minLength": 1
544
+ },
545
+ "maxItems": 1000
546
+ },
547
+ "presentation": {
548
+ "type": "object",
549
+ "additionalProperties": false,
550
+ "properties": {
551
+ "emphasis": {
552
+ "enum": [
553
+ "normal",
554
+ "highlight"
555
+ ]
556
+ }
557
+ },
558
+ "required": [
559
+ "emphasis"
560
+ ]
561
+ },
562
+ "protected": {
563
+ "type": "boolean"
564
+ },
565
+ "kind": {
566
+ "const": "view"
567
+ }
568
+ },
569
+ "required": [
570
+ "id",
571
+ "component",
572
+ "version",
573
+ "props",
574
+ "bindings",
575
+ "kind"
576
+ ]
577
+ }
578
+ ]
579
+ },
580
+ "maxItems": 256
581
+ },
582
+ "deleted": {
583
+ "type": "boolean"
584
+ }
585
+ },
586
+ "required": [
587
+ "rootId",
588
+ "nodes"
589
+ ]
590
+ }
591
+ },
592
+ "required": [
593
+ "version",
594
+ "snapshot"
595
+ ]
596
+ },
597
+ "maxItems": 256
598
+ },
599
+ "receipts": {
600
+ "type": "array",
601
+ "items": {
602
+ "type": "object",
603
+ "additionalProperties": false,
604
+ "properties": {
605
+ "changeId": {
606
+ "type": "string",
607
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
608
+ },
609
+ "requestDigest": {
610
+ "type": "string",
611
+ "pattern": "^[a-f0-9]{64}$"
612
+ },
613
+ "version": {
614
+ "type": "integer",
615
+ "minimum": 1
616
+ },
617
+ "author": {
618
+ "type": "string",
619
+ "minLength": 1
620
+ },
621
+ "at": {
622
+ "type": "string",
623
+ "format": "date-time"
624
+ },
625
+ "kind": {
626
+ "enum": [
627
+ "apply",
628
+ "undo",
629
+ "protect",
630
+ "close",
631
+ "delete"
632
+ ]
633
+ }
634
+ },
635
+ "required": [
636
+ "changeId",
637
+ "author",
638
+ "version",
639
+ "at"
640
+ ]
641
+ },
642
+ "maxItems": 256
643
+ },
644
+ "retainedFromVersion": {
645
+ "type": "integer",
646
+ "minimum": 1
647
+ },
648
+ "undoRetainedFromVersion": {
649
+ "type": "integer",
650
+ "minimum": 1
651
+ },
652
+ "receipt": {
653
+ "type": "object",
654
+ "additionalProperties": false,
655
+ "properties": {
656
+ "changeId": {
657
+ "type": "string",
658
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
659
+ },
660
+ "author": {
661
+ "type": "string",
662
+ "minLength": 1
663
+ },
664
+ "version": {
665
+ "type": "integer",
666
+ "minimum": 1
667
+ },
668
+ "requestDigest": {
669
+ "type": "string",
670
+ "pattern": "^[a-f0-9]{64}$"
671
+ },
672
+ "at": {
673
+ "type": "string",
674
+ "format": "date-time"
675
+ },
676
+ "kind": {
677
+ "enum": [
678
+ "apply",
679
+ "undo",
680
+ "protect",
681
+ "delete"
682
+ ]
683
+ }
684
+ },
685
+ "required": [
686
+ "changeId",
687
+ "author",
688
+ "version",
689
+ "requestDigest",
690
+ "at",
691
+ "kind"
692
+ ]
693
+ },
694
+ "witness": {
695
+ "anyOf": [
696
+ {
697
+ "type": "object",
698
+ "additionalProperties": false,
699
+ "properties": {
700
+ "witnessId": {
701
+ "type": "string",
702
+ "pattern": "^[a-f0-9]{64}$"
703
+ },
704
+ "projectId": {
705
+ "type": "string",
706
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
707
+ },
708
+ "taskId": {
709
+ "type": "string",
710
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
711
+ },
712
+ "compositionId": {
713
+ "type": "string",
714
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
715
+ },
716
+ "compositionVersion": {
717
+ "type": "integer",
718
+ "minimum": 1
719
+ },
720
+ "sourceEvent": {
721
+ "type": "object",
722
+ "additionalProperties": true
723
+ },
724
+ "policyRef": {
725
+ "type": "string",
726
+ "pattern": "^[a-f0-9]{64}$"
727
+ },
728
+ "views": {
729
+ "type": "array",
730
+ "maxItems": 32,
731
+ "items": {
732
+ "type": "object",
733
+ "additionalProperties": false,
734
+ "properties": {
735
+ "viewId": {
736
+ "type": "string",
737
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
738
+ },
739
+ "component": {
740
+ "type": "string",
741
+ "minLength": 1
742
+ },
743
+ "componentVersion": {
744
+ "type": "string",
745
+ "minLength": 1
746
+ },
747
+ "resource": {
748
+ "type": "object",
749
+ "additionalProperties": false,
750
+ "properties": {
751
+ "id": {
752
+ "type": "string",
753
+ "minLength": 1
754
+ },
755
+ "version": {
756
+ "type": "string",
757
+ "pattern": "^[a-f0-9]{64}$"
758
+ }
759
+ },
760
+ "required": [
761
+ "id",
762
+ "version"
763
+ ]
764
+ }
765
+ },
766
+ "required": [
767
+ "viewId",
768
+ "resource"
769
+ ]
770
+ }
771
+ },
772
+ "dataValidation": {
773
+ "type": "object",
774
+ "additionalProperties": false,
775
+ "properties": {
776
+ "integrity": {
777
+ "const": "hash-verified"
778
+ },
779
+ "shape": {
780
+ "const": "typed-table-read"
781
+ },
782
+ "domain": {
783
+ "const": "not-judged"
784
+ }
785
+ },
786
+ "required": [
787
+ "integrity",
788
+ "shape",
789
+ "domain"
790
+ ]
791
+ },
792
+ "at": {
793
+ "type": "string",
794
+ "format": "date-time"
795
+ }
796
+ },
797
+ "required": [
798
+ "witnessId",
799
+ "projectId",
800
+ "taskId",
801
+ "compositionId",
802
+ "compositionVersion",
803
+ "views"
804
+ ]
805
+ },
806
+ {
807
+ "type": "null"
808
+ }
809
+ ]
810
+ },
811
+ "witnessState": {
812
+ "enum": [
813
+ "retained",
814
+ "expired",
815
+ "pending"
816
+ ]
817
+ },
818
+ "commitVersion": {
819
+ "type": "integer",
820
+ "minimum": 1
821
+ },
822
+ "currentVersion": {
823
+ "type": "integer",
824
+ "minimum": 1
825
+ }
826
+ },
827
+ "required": [
828
+ "format",
829
+ "compositionId",
830
+ "rootId",
831
+ "nodes",
832
+ "views",
833
+ "availability",
834
+ "version",
835
+ "author",
836
+ "acknowledgedAt",
837
+ "history",
838
+ "receipts",
839
+ "retainedFromVersion",
840
+ "undoRetainedFromVersion",
841
+ "receipt"
842
+ ]
843
+ },
844
+ "description": "Delete an empty Studio workspace layout only, never the project directory, documents, resources, conversations or running sessions. Requires its observed expectedVersion and a stable changeId. The same request returns its original receipt without deleting a recreated workspace. Nonempty, conversation and active-task layouts are refused. The deleted layout and its history remain readable with composition.read and recoverable with composition.undo; it is omitted from active workspace lists. Recreating it uses a conditional composition.apply replacement at its retained version."
845
+ }