@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,340 @@
1
+ {
2
+ "method": "conversation.agents.remove",
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
+ "backend": {
12
+ "type": "string",
13
+ "pattern": "^acp:[a-z0-9][a-z0-9-]{0,39}$"
14
+ }
15
+ },
16
+ "required": [
17
+ "projectId",
18
+ "backend"
19
+ ]
20
+ },
21
+ "outputSchema": {
22
+ "type": "object",
23
+ "properties": {
24
+ "version": {
25
+ "type": "integer",
26
+ "minimum": 0
27
+ },
28
+ "updatedAt": {
29
+ "anyOf": [
30
+ {
31
+ "type": "string",
32
+ "minLength": 1
33
+ },
34
+ {
35
+ "type": "null"
36
+ }
37
+ ]
38
+ },
39
+ "backend": {
40
+ "anyOf": [
41
+ {
42
+ "type": "string",
43
+ "pattern": "^(claude-acp|codex-acp|acp|acp:[a-z0-9][a-z0-9-]{0,39})$"
44
+ },
45
+ {
46
+ "type": "null"
47
+ }
48
+ ]
49
+ },
50
+ "serviceBackend": {
51
+ "enum": [
52
+ "claude-acp",
53
+ "codex-acp",
54
+ "claude-cli",
55
+ "acp"
56
+ ]
57
+ },
58
+ "choices": {
59
+ "type": "object",
60
+ "propertyNames": {
61
+ "type": "string",
62
+ "pattern": "^(claude-acp|codex-acp|acp|acp:[a-z0-9][a-z0-9-]{0,39})$"
63
+ },
64
+ "additionalProperties": {
65
+ "type": "object",
66
+ "maxProperties": 12,
67
+ "propertyNames": {
68
+ "maxLength": 512
69
+ },
70
+ "additionalProperties": {
71
+ "anyOf": [
72
+ {
73
+ "type": "string",
74
+ "minLength": 1,
75
+ "maxLength": 512
76
+ },
77
+ {
78
+ "type": "boolean"
79
+ }
80
+ ]
81
+ }
82
+ }
83
+ },
84
+ "offered": {
85
+ "type": "object",
86
+ "propertyNames": {
87
+ "type": "string",
88
+ "pattern": "^(claude-acp|codex-acp|acp|acp:[a-z0-9][a-z0-9-]{0,39})$"
89
+ },
90
+ "additionalProperties": {
91
+ "type": "object",
92
+ "properties": {
93
+ "at": {
94
+ "type": "string",
95
+ "minLength": 1
96
+ },
97
+ "source": {
98
+ "enum": [
99
+ "check",
100
+ "conversation"
101
+ ]
102
+ },
103
+ "adapter": {
104
+ "anyOf": [
105
+ {
106
+ "type": "object",
107
+ "properties": {
108
+ "name": {
109
+ "type": "string",
110
+ "minLength": 1
111
+ },
112
+ "version": {
113
+ "type": "string",
114
+ "minLength": 1
115
+ }
116
+ },
117
+ "required": [
118
+ "name"
119
+ ],
120
+ "additionalProperties": true
121
+ },
122
+ {
123
+ "type": "null"
124
+ }
125
+ ]
126
+ },
127
+ "options": {
128
+ "type": "array",
129
+ "items": {
130
+ "additionalProperties": false,
131
+ "properties": {
132
+ "category": {
133
+ "type": "string"
134
+ },
135
+ "current": {
136
+ "anyOf": [
137
+ {
138
+ "type": "string"
139
+ },
140
+ {
141
+ "type": "boolean"
142
+ }
143
+ ]
144
+ },
145
+ "description": {
146
+ "type": "string"
147
+ },
148
+ "id": {
149
+ "type": "string"
150
+ },
151
+ "name": {
152
+ "type": "string"
153
+ },
154
+ "type": {
155
+ "enum": [
156
+ "select",
157
+ "boolean"
158
+ ]
159
+ },
160
+ "values": {
161
+ "items": {
162
+ "additionalProperties": false,
163
+ "properties": {
164
+ "description": {
165
+ "type": "string"
166
+ },
167
+ "group": {
168
+ "type": "string"
169
+ },
170
+ "name": {
171
+ "type": "string"
172
+ },
173
+ "value": {
174
+ "type": "string"
175
+ }
176
+ },
177
+ "required": [
178
+ "value",
179
+ "name"
180
+ ],
181
+ "type": "object"
182
+ },
183
+ "maxItems": 256,
184
+ "type": "array"
185
+ }
186
+ },
187
+ "required": [
188
+ "id",
189
+ "name",
190
+ "type",
191
+ "current"
192
+ ],
193
+ "type": "object"
194
+ }
195
+ },
196
+ "omitted": {
197
+ "type": "integer",
198
+ "minimum": 0
199
+ }
200
+ },
201
+ "required": [
202
+ "at",
203
+ "source",
204
+ "adapter",
205
+ "options",
206
+ "omitted"
207
+ ],
208
+ "additionalProperties": true
209
+ }
210
+ },
211
+ "checking": {
212
+ "type": "array",
213
+ "items": {
214
+ "type": "string",
215
+ "pattern": "^(claude-acp|codex-acp|acp|acp:[a-z0-9][a-z0-9-]{0,39})$"
216
+ }
217
+ },
218
+ "describe": {
219
+ "type": "object",
220
+ "properties": {
221
+ "enabled": {
222
+ "type": "boolean"
223
+ }
224
+ },
225
+ "required": [
226
+ "enabled"
227
+ ],
228
+ "additionalProperties": true
229
+ },
230
+ "agents": {
231
+ "type": "object",
232
+ "propertyNames": {
233
+ "type": "string",
234
+ "pattern": "^(claude-acp|codex-acp|acp|acp:[a-z0-9][a-z0-9-]{0,39})$"
235
+ },
236
+ "additionalProperties": {
237
+ "type": "object",
238
+ "properties": {
239
+ "found": {
240
+ "type": "boolean"
241
+ },
242
+ "problem": {
243
+ "type": "string",
244
+ "minLength": 1
245
+ },
246
+ "name": {
247
+ "anyOf": [
248
+ {
249
+ "type": "string",
250
+ "minLength": 1
251
+ },
252
+ {
253
+ "type": "null"
254
+ }
255
+ ]
256
+ }
257
+ },
258
+ "required": [
259
+ "found"
260
+ ],
261
+ "additionalProperties": true
262
+ }
263
+ },
264
+ "added": {
265
+ "type": "array",
266
+ "items": {
267
+ "type": "object",
268
+ "properties": {
269
+ "backend": {
270
+ "type": "string",
271
+ "pattern": "^(claude-acp|codex-acp|acp|acp:[a-z0-9][a-z0-9-]{0,39})$"
272
+ },
273
+ "name": {
274
+ "type": "string",
275
+ "minLength": 1
276
+ },
277
+ "command": {
278
+ "type": "array",
279
+ "items": {
280
+ "type": "string",
281
+ "minLength": 1
282
+ }
283
+ },
284
+ "addedAt": {
285
+ "type": "string",
286
+ "minLength": 1
287
+ }
288
+ },
289
+ "required": [
290
+ "backend",
291
+ "name",
292
+ "command",
293
+ "addedAt"
294
+ ],
295
+ "additionalProperties": true
296
+ }
297
+ },
298
+ "installed": {
299
+ "type": "array",
300
+ "items": {
301
+ "type": "object",
302
+ "properties": {
303
+ "id": {
304
+ "type": "string",
305
+ "minLength": 1
306
+ },
307
+ "name": {
308
+ "type": "string",
309
+ "minLength": 1
310
+ },
311
+ "command": {
312
+ "type": "array",
313
+ "items": {
314
+ "type": "string",
315
+ "minLength": 1
316
+ }
317
+ }
318
+ },
319
+ "required": [
320
+ "id",
321
+ "name",
322
+ "command"
323
+ ],
324
+ "additionalProperties": true
325
+ }
326
+ }
327
+ },
328
+ "required": [
329
+ "version",
330
+ "updatedAt",
331
+ "backend",
332
+ "serviceBackend",
333
+ "choices",
334
+ "offered",
335
+ "checking"
336
+ ],
337
+ "additionalProperties": true
338
+ },
339
+ "description": "Person at this machine only: remove an added ACP Agent from the Agents new conversations can use. Its conversations stay and continue with the command they started with."
340
+ }
@@ -629,6 +629,202 @@
629
629
  "pattern": "^[a-f0-9]{64}$"
630
630
  }
631
631
  },
632
+ "uiContext": {
633
+ "type": "object",
634
+ "additionalProperties": false,
635
+ "properties": {
636
+ "page": {
637
+ "type": "string",
638
+ "minLength": 1,
639
+ "maxLength": 64
640
+ },
641
+ "compositionId": {
642
+ "type": "string",
643
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
644
+ },
645
+ "compositionVersion": {
646
+ "type": "integer",
647
+ "minimum": 0
648
+ },
649
+ "replayAt": {
650
+ "anyOf": [
651
+ {
652
+ "type": "integer",
653
+ "minimum": 0
654
+ },
655
+ {
656
+ "type": "null"
657
+ }
658
+ ]
659
+ },
660
+ "path": {
661
+ "type": "string",
662
+ "minLength": 1,
663
+ "maxLength": 1024
664
+ },
665
+ "figure": {
666
+ "type": "object",
667
+ "additionalProperties": false,
668
+ "properties": {
669
+ "cellId": {
670
+ "type": "string",
671
+ "pattern": "^k-[a-f0-9]{16}$"
672
+ },
673
+ "plot": {
674
+ "type": "integer",
675
+ "minimum": 1,
676
+ "maximum": 64
677
+ },
678
+ "path": {
679
+ "type": "string",
680
+ "minLength": 1,
681
+ "maxLength": 512
682
+ },
683
+ "sha256": {
684
+ "type": "string",
685
+ "pattern": "^[a-f0-9]{64}$"
686
+ },
687
+ "selectionId": {
688
+ "type": "string",
689
+ "pattern": "^f-[a-f0-9]{16}$"
690
+ }
691
+ },
692
+ "required": [
693
+ "selectionId"
694
+ ]
695
+ },
696
+ "capturedAt": {
697
+ "type": "string",
698
+ "format": "date-time"
699
+ },
700
+ "project": {
701
+ "type": "object",
702
+ "additionalProperties": false,
703
+ "properties": {
704
+ "id": {
705
+ "type": "string",
706
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
707
+ },
708
+ "name": {
709
+ "type": "string"
710
+ }
711
+ },
712
+ "required": [
713
+ "id",
714
+ "name"
715
+ ]
716
+ },
717
+ "workspace": {
718
+ "type": "object",
719
+ "additionalProperties": false,
720
+ "properties": {
721
+ "compositionId": {
722
+ "type": "string",
723
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
724
+ },
725
+ "title": {
726
+ "type": "string"
727
+ },
728
+ "observedVersion": {
729
+ "anyOf": [
730
+ {
731
+ "type": "integer",
732
+ "minimum": 0
733
+ },
734
+ {
735
+ "type": "null"
736
+ }
737
+ ]
738
+ },
739
+ "currentVersion": {
740
+ "anyOf": [
741
+ {
742
+ "type": "integer",
743
+ "minimum": 0
744
+ },
745
+ {
746
+ "type": "null"
747
+ }
748
+ ]
749
+ },
750
+ "state": {
751
+ "enum": [
752
+ "current",
753
+ "changed",
754
+ "deleted",
755
+ "not-created",
756
+ "derived",
757
+ "unavailable"
758
+ ]
759
+ },
760
+ "empty": {
761
+ "type": [
762
+ "boolean",
763
+ "null"
764
+ ]
765
+ },
766
+ "viewCount": {
767
+ "anyOf": [
768
+ {
769
+ "type": "integer",
770
+ "minimum": 0
771
+ },
772
+ {
773
+ "type": "null"
774
+ }
775
+ ]
776
+ },
777
+ "omittedViews": {
778
+ "type": "integer",
779
+ "minimum": 0
780
+ },
781
+ "views": {
782
+ "type": "array",
783
+ "items": {
784
+ "type": "object",
785
+ "additionalProperties": false,
786
+ "properties": {
787
+ "id": {
788
+ "type": "string",
789
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
790
+ },
791
+ "component": {
792
+ "type": "string"
793
+ },
794
+ "title": {
795
+ "type": "string"
796
+ }
797
+ },
798
+ "required": [
799
+ "id",
800
+ "component",
801
+ "title"
802
+ ]
803
+ }
804
+ }
805
+ },
806
+ "required": [
807
+ "compositionId",
808
+ "title",
809
+ "observedVersion",
810
+ "currentVersion",
811
+ "state",
812
+ "empty",
813
+ "viewCount",
814
+ "omittedViews",
815
+ "views"
816
+ ]
817
+ },
818
+ "figureSelection": {
819
+ "type": "object"
820
+ }
821
+ },
822
+ "required": [
823
+ "page",
824
+ "capturedAt",
825
+ "project"
826
+ ]
827
+ },
632
828
  "descriptions": {
633
829
  "type": "array",
634
830
  "items": {