@rho-workspace/rho 0.5.5 → 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 (250) hide show
  1. package/dist/agent-connect.d.ts +42 -0
  2. package/dist/agent-connect.js +68 -0
  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 +113 -18
  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 +1437 -381
  15. package/dist/contract.generated.js +1 -1
  16. package/dist/contracts/owners.generated.js +1160 -267
  17. package/dist/conversation-presentation.d.ts +9 -2
  18. package/dist/conversation-presentation.js +3 -1
  19. package/dist/conversations.d.ts +306 -7
  20. package/dist/conversations.js +208 -22
  21. package/dist/discovery.js +3 -3
  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 +7 -0
  40. package/dist/protocol.js +40 -15
  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 +4 -10
  46. package/dist/server.js +140 -14
  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 +135 -76
  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-BSjLGe0T.js → console-Dyuo1q4N.js} +4 -4
  60. package/dist/web/assets/{dist-Tzoe_zm-.js → dist-CSiCyBml.js} +1 -1
  61. package/dist/web/assets/{dist-Cw8hRIlT.js → dist-D9FLb9Hm.js} +1 -1
  62. package/dist/web/assets/{dist-foH9IKc6.js → dist-FXbTBwML.js} +1 -1
  63. package/dist/web/assets/{dist-Buk0lwzI.js → dist-l3DUhbw5.js} +1 -1
  64. package/dist/web/assets/{explore-in-BVUy3ZW_.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-pVbbQUGP.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-CMxQlQ-C.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-BFNSyrnD.js → skills-Dyz7mBlc.js} +1 -1
  85. package/dist/web/assets/{skills-work-BGPSnF_I.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-CWlkjLNx.js → workspace-DfjBL--r.js} +2 -2
  90. package/dist/web/composition.json +135 -80
  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 +71 -21
  99. package/docs/HEADLESS.md +127 -24
  100. package/docs/THIRD-PARTY-PLUGINS.md +75 -3
  101. package/node_modules/@rho-workspace/plugin-agent/README.md +34 -0
  102. package/node_modules/@rho-workspace/plugin-agent/dist/acp-command.d.ts +32 -0
  103. package/node_modules/@rho-workspace/plugin-agent/dist/acp-command.js +54 -11
  104. package/node_modules/@rho-workspace/plugin-agent/dist/acp-conversation.d.ts +1 -0
  105. package/node_modules/@rho-workspace/plugin-agent/dist/acp-conversation.js +29 -3
  106. package/node_modules/@rho-workspace/plugin-agent/dist/external-session-contract.js +11 -5
  107. package/node_modules/@rho-workspace/plugin-agent/dist/external-session.d.ts +12 -1
  108. package/node_modules/@rho-workspace/plugin-agent/dist/index.d.ts +8 -0
  109. package/node_modules/@rho-workspace/plugin-agent/dist/index.js +3 -2
  110. package/node_modules/@rho-workspace/plugin-agent/dist/mcp-entry.d.ts +13 -0
  111. package/node_modules/@rho-workspace/plugin-agent/dist/mcp-entry.js +13 -0
  112. package/node_modules/@rho-workspace/plugin-agent/dist/mcp.js +16 -8
  113. package/node_modules/@rho-workspace/plugin-agent/dist/native-sessions.d.ts +70 -0
  114. package/node_modules/@rho-workspace/plugin-agent/dist/native-sessions.js +538 -0
  115. package/node_modules/@rho-workspace/plugin-agent/package.json +2 -1
  116. package/node_modules/@rho-workspace/plugin-figures/LICENSE +661 -0
  117. package/node_modules/@rho-workspace/plugin-figures/README.md +191 -0
  118. package/node_modules/@rho-workspace/plugin-figures/dist/index.d.ts +236 -0
  119. package/node_modules/@rho-workspace/plugin-figures/dist/index.js +165 -0
  120. package/node_modules/@rho-workspace/plugin-figures/dist/operations.d.ts +44 -0
  121. package/node_modules/@rho-workspace/plugin-figures/dist/operations.js +39 -0
  122. package/node_modules/@rho-workspace/plugin-figures/dist/presentation.d.ts +19 -0
  123. package/node_modules/@rho-workspace/plugin-figures/dist/presentation.js +26 -0
  124. package/node_modules/@rho-workspace/plugin-figures/dist/record.d.ts +188 -0
  125. package/node_modules/@rho-workspace/plugin-figures/dist/record.js +143 -0
  126. package/node_modules/@rho-workspace/plugin-figures/dist/ui-styles.d.ts +1 -0
  127. package/node_modules/@rho-workspace/plugin-figures/dist/ui-styles.js +68 -0
  128. package/node_modules/@rho-workspace/plugin-figures/dist/ui.d.ts +56 -0
  129. package/node_modules/@rho-workspace/plugin-figures/dist/ui.js +363 -0
  130. package/node_modules/@rho-workspace/plugin-figures/package.json +41 -0
  131. package/node_modules/@rho-workspace/plugin-figures/py/figures.py +856 -0
  132. package/node_modules/@rho-workspace/plugin-figures/r/figures.R +775 -0
  133. package/node_modules/@rho-workspace/plugin-kernel/README.md +27 -3
  134. package/node_modules/@rho-workspace/plugin-kernel/dist/contract.d.ts +12 -0
  135. package/node_modules/@rho-workspace/plugin-kernel/dist/contract.js +8 -1
  136. package/node_modules/@rho-workspace/plugin-kernel/dist/index.d.ts +61 -0
  137. package/node_modules/@rho-workspace/plugin-kernel/dist/index.js +125 -9
  138. package/node_modules/@rho-workspace/plugin-kernel/dist/session-scope.d.ts +14 -0
  139. package/node_modules/@rho-workspace/plugin-kernel/dist/session-scope.js +9 -0
  140. package/node_modules/@rho-workspace/plugin-kernel/dist/ui-base.d.ts +23 -5
  141. package/node_modules/@rho-workspace/plugin-kernel/dist/ui-notebook-work.js +1 -1
  142. package/node_modules/@rho-workspace/plugin-kernel/dist/ui-notebook.d.ts +6 -4
  143. package/node_modules/@rho-workspace/plugin-kernel/dist/ui-notebook.js +44 -17
  144. package/node_modules/@rho-workspace/plugin-kernel/dist/ui-styles.js +6 -0
  145. package/node_modules/@rho-workspace/plugin-kernel/package.json +1 -1
  146. package/node_modules/@rho-workspace/plugin-kernel/runners/runner.R +144 -4
  147. package/node_modules/@rho-workspace/plugin-kernel/runners/runner.py +106 -1
  148. package/node_modules/@rho-workspace/plugin-tables/README.md +5 -0
  149. package/node_modules/@rho-workspace/plugin-tables/dist/index.d.ts +1 -0
  150. package/node_modules/@rho-workspace/plugin-tables/dist/index.js +19 -3
  151. package/node_modules/@rho-workspace/plugin-tables/dist/ui.js +1 -1
  152. package/node_modules/@rho-workspace/plugin-tables/package.json +1 -1
  153. package/node_modules/hono/dist/adapter/aws-lambda/handler.js +1 -1
  154. package/node_modules/hono/dist/cjs/adapter/aws-lambda/handler.js +1 -1
  155. package/node_modules/hono/dist/cjs/adapter/bun/serve-static.js +1 -1
  156. package/node_modules/hono/dist/cjs/adapter/bun/websocket.js +1 -1
  157. package/node_modules/hono/dist/cjs/client/fetch-result-please.js +1 -1
  158. package/node_modules/hono/dist/cjs/helper/accepts/accepts.js +2 -1
  159. package/node_modules/hono/dist/cjs/helper/ssg/ssg.js +5 -3
  160. package/node_modules/hono/dist/cjs/jsx/base.js +49 -30
  161. package/node_modules/hono/dist/cjs/jsx/components.js +2 -2
  162. package/node_modules/hono/dist/cjs/jsx/constants.js +2 -0
  163. package/node_modules/hono/dist/cjs/jsx/jsx-runtime.js +13 -17
  164. package/node_modules/hono/dist/cjs/middleware/etag/index.js +3 -1
  165. package/node_modules/hono/dist/cjs/middleware/pretty-json/index.js +1 -0
  166. package/node_modules/hono/dist/cjs/middleware/timing/timing.js +4 -3
  167. package/node_modules/hono/dist/cjs/utils/cookie.js +2 -2
  168. package/node_modules/hono/dist/cjs/utils/mime.js +1 -1
  169. package/node_modules/hono/dist/cjs/utils/url.js +1 -1
  170. package/node_modules/hono/dist/client/fetch-result-please.js +1 -1
  171. package/node_modules/hono/dist/helper/accepts/accepts.js +2 -1
  172. package/node_modules/hono/dist/helper/ssg/ssg.js +5 -3
  173. package/node_modules/hono/dist/jsx/base.js +49 -32
  174. package/node_modules/hono/dist/jsx/components.js +2 -2
  175. package/node_modules/hono/dist/jsx/constants.js +2 -1
  176. package/node_modules/hono/dist/jsx/jsx-runtime.js +15 -19
  177. package/node_modules/hono/dist/middleware/etag/index.js +3 -1
  178. package/node_modules/hono/dist/middleware/language/language.js +1 -1
  179. package/node_modules/hono/dist/middleware/pretty-json/index.js +1 -0
  180. package/node_modules/hono/dist/middleware/timing/timing.js +4 -3
  181. package/node_modules/hono/dist/utils/cookie.js +2 -2
  182. package/node_modules/hono/dist/utils/mime.js +1 -1
  183. package/node_modules/hono/dist/utils/url.js +1 -1
  184. package/node_modules/hono/package.json +1 -1
  185. package/node_modules/jose/dist/webapi/jwe/general/decrypt.js +3 -2
  186. package/node_modules/jose/dist/webapi/jwks/remote.js +1 -1
  187. package/node_modules/jose/dist/webapi/jws/general/verify.js +2 -8
  188. package/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +11 -8
  189. package/node_modules/jose/dist/webapi/lib/key_management.js +0 -1
  190. package/node_modules/jose/package.json +1 -1
  191. package/package.json +6 -4
  192. package/protocol/index.json +106 -64
  193. package/protocol/operations/agent.sessions.list.json +57 -3
  194. package/protocol/operations/agent.sessions.read.json +61 -4
  195. package/protocol/operations/capability.list.json +382 -6
  196. package/protocol/operations/composition.apply.json +10 -2
  197. package/protocol/operations/composition.delete.json +845 -0
  198. package/protocol/operations/composition.read.json +10 -2
  199. package/protocol/operations/composition.undo.json +10 -2
  200. package/protocol/operations/conversation.agents.add.json +346 -0
  201. package/protocol/operations/conversation.agents.remove.json +340 -0
  202. package/protocol/operations/conversation.configure.json +29 -0
  203. package/protocol/operations/conversation.decide.json +225 -0
  204. package/protocol/operations/conversation.list.json +29 -0
  205. package/protocol/operations/conversation.permission.json +225 -0
  206. package/protocol/operations/conversation.read.json +225 -0
  207. package/protocol/operations/conversation.restore.json +29 -0
  208. package/protocol/operations/conversation.send.json +294 -0
  209. package/protocol/operations/conversation.settings.check.json +226 -416
  210. package/protocol/operations/conversation.settings.read.json +224 -411
  211. package/protocol/operations/conversation.settings.update.json +248 -475
  212. package/protocol/operations/conversation.start.json +313 -6
  213. package/protocol/operations/conversation.stop.json +225 -0
  214. package/protocol/operations/conversation.trash.json +29 -0
  215. package/protocol/operations/extension.describe.json +39 -0
  216. package/protocol/operations/extension.install.json +62 -0
  217. package/protocol/operations/extension.list.json +164 -1
  218. package/protocol/operations/extension.market.change.json +210 -0
  219. package/protocol/operations/figure.read.json +265 -0
  220. package/protocol/operations/figure.select.json +157 -0
  221. package/protocol/operations/kernel.interrupt.json +119 -0
  222. package/protocol/operations/kernel.read.json +119 -0
  223. package/protocol/operations/kernel.run.json +119 -0
  224. package/protocol/operations/observation.snapshot.json +445 -8
  225. package/protocol/operations/project.openFile.json +10 -2
  226. package/protocol/operations/session.grant.json +4 -0
  227. package/protocol/operations/session.instructions.json +43 -0
  228. package/protocol/operations/shared.json +1 -0
  229. package/protocol/operations/view.close.json +10 -2
  230. package/protocol/operations/view.protection.set.json +10 -2
  231. package/vendor/composition.json +174 -109
  232. package/vendor/rho-workspace-plugin-agent-0.4.33.tgz +0 -0
  233. package/vendor/rho-workspace-plugin-figures-0.5.1.tgz +0 -0
  234. package/vendor/rho-workspace-plugin-kernel-0.5.13.tgz +0 -0
  235. package/vendor/rho-workspace-plugin-tables-0.5.2.tgz +0 -0
  236. package/web/theme.css +17 -0
  237. package/dist/web/assets/answer-board-CBkGbSLD.js +0 -1
  238. package/dist/web/assets/canvas-D8rDdfDz.js +0 -1
  239. package/dist/web/assets/choices-b0XhrGQV.js +0 -1
  240. package/dist/web/assets/graph-1OdIJ9l7.js +0 -2
  241. package/dist/web/assets/index-CsC3sTRq.css +0 -1
  242. package/dist/web/assets/index-CxmItXqa.js +0 -891
  243. package/dist/web/assets/overview-B9UtVJ32.js +0 -6
  244. package/dist/web/assets/preview-CksD_5KS.js +0 -1
  245. package/dist/web/assets/studio-process-CsRoTHOh.js +0 -2
  246. package/dist/web/assets/timeline-events-BbuuFWHV.js +0 -1
  247. package/dist/web/assets/work-turns-BvJlIMmA.js +0 -1
  248. package/vendor/rho-workspace-plugin-agent-0.4.29.tgz +0 -0
  249. package/vendor/rho-workspace-plugin-kernel-0.5.5.tgz +0 -0
  250. package/vendor/rho-workspace-plugin-tables-0.5.0.tgz +0 -0
@@ -0,0 +1,265 @@
1
+ {
2
+ "method": "figure.read",
3
+ "inputSchema": {
4
+ "additionalProperties": false,
5
+ "properties": {
6
+ "projectId": {
7
+ "type": "string",
8
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
9
+ },
10
+ "cellId": {
11
+ "pattern": "^k-[a-f0-9]{16}$",
12
+ "type": "string"
13
+ },
14
+ "form": {
15
+ "enum": [
16
+ "summary",
17
+ "view",
18
+ "selections"
19
+ ]
20
+ },
21
+ "limit": {
22
+ "maximum": 500,
23
+ "minimum": 1,
24
+ "type": "integer"
25
+ },
26
+ "marks": {
27
+ "items": {
28
+ "pattern": "^\\d{1,4}\\.\\d{1,7}$",
29
+ "type": "string"
30
+ },
31
+ "maxItems": 5000,
32
+ "type": "array"
33
+ },
34
+ "path": {
35
+ "maxLength": 512,
36
+ "minLength": 1,
37
+ "type": "string"
38
+ },
39
+ "plot": {
40
+ "maximum": 64,
41
+ "minimum": 1,
42
+ "type": "integer"
43
+ },
44
+ "selection": {
45
+ "pattern": "^f-[a-f0-9]{16}$",
46
+ "type": "string"
47
+ },
48
+ "sha256": {
49
+ "pattern": "^[a-f0-9]{64}$",
50
+ "type": "string"
51
+ },
52
+ "where": {
53
+ "items": {
54
+ "additionalProperties": false,
55
+ "properties": {
56
+ "column": {
57
+ "maxLength": 256,
58
+ "minLength": 1,
59
+ "type": "string"
60
+ },
61
+ "layer": {
62
+ "minimum": 0,
63
+ "type": "integer"
64
+ },
65
+ "op": {
66
+ "enum": [
67
+ "eq",
68
+ "ne",
69
+ "lt",
70
+ "le",
71
+ "gt",
72
+ "ge",
73
+ "in",
74
+ "contains"
75
+ ]
76
+ },
77
+ "value": {
78
+ "anyOf": [
79
+ {
80
+ "anyOf": [
81
+ {
82
+ "type": "string"
83
+ },
84
+ {
85
+ "type": "number"
86
+ },
87
+ {
88
+ "type": "boolean"
89
+ },
90
+ {
91
+ "type": "null"
92
+ }
93
+ ]
94
+ },
95
+ {
96
+ "items": {
97
+ "anyOf": [
98
+ {
99
+ "type": "string"
100
+ },
101
+ {
102
+ "type": "number"
103
+ },
104
+ {
105
+ "type": "boolean"
106
+ },
107
+ {
108
+ "type": "null"
109
+ }
110
+ ]
111
+ },
112
+ "maxItems": 500,
113
+ "type": "array"
114
+ }
115
+ ]
116
+ }
117
+ },
118
+ "required": [
119
+ "column",
120
+ "op",
121
+ "value"
122
+ ],
123
+ "type": "object"
124
+ },
125
+ "maxItems": 8,
126
+ "minItems": 1,
127
+ "type": "array"
128
+ }
129
+ },
130
+ "required": [
131
+ "projectId"
132
+ ],
133
+ "type": "object"
134
+ },
135
+ "outputSchema": {
136
+ "additionalProperties": false,
137
+ "properties": {
138
+ "figure": {
139
+ "type": "object"
140
+ },
141
+ "matched": {
142
+ "type": "object"
143
+ },
144
+ "record": {
145
+ "type": "object"
146
+ },
147
+ "rows": {
148
+ "items": {
149
+ "type": "object"
150
+ },
151
+ "type": "array"
152
+ },
153
+ "rowsTotal": {
154
+ "minimum": 0,
155
+ "type": "integer"
156
+ },
157
+ "selections": {
158
+ "items": {
159
+ "additionalProperties": false,
160
+ "properties": {
161
+ "at": {
162
+ "minLength": 1,
163
+ "type": "string"
164
+ },
165
+ "by": {
166
+ "minLength": 1,
167
+ "type": "string"
168
+ },
169
+ "cellId": {
170
+ "pattern": "^k-[a-f0-9]{16}$",
171
+ "type": "string"
172
+ },
173
+ "changeId": {
174
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$",
175
+ "type": "string"
176
+ },
177
+ "count": {
178
+ "minimum": 0,
179
+ "type": "integer"
180
+ },
181
+ "digest": {
182
+ "pattern": "^[a-f0-9]{64}$",
183
+ "type": "string"
184
+ },
185
+ "layers": {
186
+ "items": {
187
+ "additionalProperties": false,
188
+ "properties": {
189
+ "geom": {
190
+ "type": "string"
191
+ },
192
+ "layer": {
193
+ "minimum": 0,
194
+ "type": "integer"
195
+ },
196
+ "marks": {
197
+ "minimum": 0,
198
+ "type": "integer"
199
+ }
200
+ },
201
+ "required": [
202
+ "layer",
203
+ "geom",
204
+ "marks"
205
+ ],
206
+ "type": "object"
207
+ },
208
+ "type": "array"
209
+ },
210
+ "marks": {
211
+ "items": {
212
+ "pattern": "^\\d{1,4}\\.\\d{1,7}$",
213
+ "type": "string"
214
+ },
215
+ "type": "array"
216
+ },
217
+ "note": {
218
+ "type": "string"
219
+ },
220
+ "path": {
221
+ "maxLength": 512,
222
+ "minLength": 1,
223
+ "type": "string"
224
+ },
225
+ "plot": {
226
+ "maximum": 64,
227
+ "minimum": 1,
228
+ "type": "integer"
229
+ },
230
+ "selectionId": {
231
+ "pattern": "^f-[a-f0-9]{16}$",
232
+ "type": "string"
233
+ },
234
+ "sha256": {
235
+ "pattern": "^[a-f0-9]{64}$",
236
+ "type": "string"
237
+ }
238
+ },
239
+ "required": [
240
+ "selectionId",
241
+ "cellId",
242
+ "digest",
243
+ "by",
244
+ "at",
245
+ "changeId",
246
+ "note",
247
+ "count",
248
+ "layers"
249
+ ],
250
+ "type": "object"
251
+ },
252
+ "type": "array"
253
+ },
254
+ "summary": {
255
+ "type": "object"
256
+ }
257
+ },
258
+ "required": [
259
+ "figure",
260
+ "selections"
261
+ ],
262
+ "type": "object"
263
+ },
264
+ "description": "What a plot a cell drew shows: its layers, mappings, panels and data, the rows behind marks, and the marks people and Agents selected."
265
+ }
@@ -0,0 +1,157 @@
1
+ {
2
+ "method": "figure.select",
3
+ "inputSchema": {
4
+ "additionalProperties": false,
5
+ "properties": {
6
+ "projectId": {
7
+ "type": "string",
8
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
9
+ },
10
+ "cellId": {
11
+ "pattern": "^k-[a-f0-9]{16}$",
12
+ "type": "string"
13
+ },
14
+ "changeId": {
15
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$",
16
+ "type": "string"
17
+ },
18
+ "marks": {
19
+ "items": {
20
+ "pattern": "^\\d{1,4}\\.\\d{1,7}$",
21
+ "type": "string"
22
+ },
23
+ "maxItems": 5000,
24
+ "minItems": 1,
25
+ "type": "array"
26
+ },
27
+ "note": {
28
+ "maxLength": 500,
29
+ "type": "string"
30
+ },
31
+ "path": {
32
+ "maxLength": 512,
33
+ "minLength": 1,
34
+ "type": "string"
35
+ },
36
+ "plot": {
37
+ "maximum": 64,
38
+ "minimum": 1,
39
+ "type": "integer"
40
+ },
41
+ "sha256": {
42
+ "pattern": "^[a-f0-9]{64}$",
43
+ "type": "string"
44
+ }
45
+ },
46
+ "required": [
47
+ "projectId",
48
+ "marks",
49
+ "changeId"
50
+ ],
51
+ "type": "object"
52
+ },
53
+ "outputSchema": {
54
+ "additionalProperties": false,
55
+ "properties": {
56
+ "selection": {
57
+ "additionalProperties": false,
58
+ "properties": {
59
+ "at": {
60
+ "minLength": 1,
61
+ "type": "string"
62
+ },
63
+ "by": {
64
+ "minLength": 1,
65
+ "type": "string"
66
+ },
67
+ "cellId": {
68
+ "pattern": "^k-[a-f0-9]{16}$",
69
+ "type": "string"
70
+ },
71
+ "changeId": {
72
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$",
73
+ "type": "string"
74
+ },
75
+ "count": {
76
+ "minimum": 0,
77
+ "type": "integer"
78
+ },
79
+ "digest": {
80
+ "pattern": "^[a-f0-9]{64}$",
81
+ "type": "string"
82
+ },
83
+ "layers": {
84
+ "items": {
85
+ "additionalProperties": false,
86
+ "properties": {
87
+ "geom": {
88
+ "type": "string"
89
+ },
90
+ "layer": {
91
+ "minimum": 0,
92
+ "type": "integer"
93
+ },
94
+ "marks": {
95
+ "minimum": 0,
96
+ "type": "integer"
97
+ }
98
+ },
99
+ "required": [
100
+ "layer",
101
+ "geom",
102
+ "marks"
103
+ ],
104
+ "type": "object"
105
+ },
106
+ "type": "array"
107
+ },
108
+ "marks": {
109
+ "items": {
110
+ "pattern": "^\\d{1,4}\\.\\d{1,7}$",
111
+ "type": "string"
112
+ },
113
+ "type": "array"
114
+ },
115
+ "note": {
116
+ "type": "string"
117
+ },
118
+ "path": {
119
+ "maxLength": 512,
120
+ "minLength": 1,
121
+ "type": "string"
122
+ },
123
+ "plot": {
124
+ "maximum": 64,
125
+ "minimum": 1,
126
+ "type": "integer"
127
+ },
128
+ "selectionId": {
129
+ "pattern": "^f-[a-f0-9]{16}$",
130
+ "type": "string"
131
+ },
132
+ "sha256": {
133
+ "pattern": "^[a-f0-9]{64}$",
134
+ "type": "string"
135
+ }
136
+ },
137
+ "required": [
138
+ "selectionId",
139
+ "cellId",
140
+ "digest",
141
+ "by",
142
+ "at",
143
+ "changeId",
144
+ "note",
145
+ "count",
146
+ "layers"
147
+ ],
148
+ "type": "object"
149
+ }
150
+ },
151
+ "required": [
152
+ "selection"
153
+ ],
154
+ "type": "object"
155
+ },
156
+ "description": "Keeps a set of a figure's marks with a note, shown highlighted in the plot; the plot and its data do not change."
157
+ }
@@ -130,6 +130,50 @@
130
130
  "items": {
131
131
  "additionalProperties": false,
132
132
  "properties": {
133
+ "figure": {
134
+ "additionalProperties": false,
135
+ "properties": {
136
+ "bound": {
137
+ "minimum": 0,
138
+ "type": "integer"
139
+ },
140
+ "describer": {
141
+ "minLength": 1,
142
+ "type": "string"
143
+ },
144
+ "geoms": {
145
+ "items": {
146
+ "type": "string"
147
+ },
148
+ "type": "array"
149
+ },
150
+ "kind": {
151
+ "type": "string"
152
+ },
153
+ "layers": {
154
+ "minimum": 0,
155
+ "type": "integer"
156
+ },
157
+ "marks": {
158
+ "minimum": 0,
159
+ "type": "integer"
160
+ },
161
+ "title": {
162
+ "type": "string"
163
+ }
164
+ },
165
+ "required": [
166
+ "describer",
167
+ "layers",
168
+ "marks",
169
+ "bound",
170
+ "geoms"
171
+ ],
172
+ "type": "object"
173
+ },
174
+ "figureProblem": {
175
+ "type": "string"
176
+ },
133
177
  "height": {
134
178
  "type": "integer"
135
179
  },
@@ -201,6 +245,81 @@
201
245
  },
202
246
  "type": "array"
203
247
  },
248
+ "saved": {
249
+ "items": {
250
+ "additionalProperties": false,
251
+ "properties": {
252
+ "bytes": {
253
+ "minimum": 0,
254
+ "type": "integer"
255
+ },
256
+ "figure": {
257
+ "additionalProperties": false,
258
+ "properties": {
259
+ "bound": {
260
+ "minimum": 0,
261
+ "type": "integer"
262
+ },
263
+ "describer": {
264
+ "minLength": 1,
265
+ "type": "string"
266
+ },
267
+ "geoms": {
268
+ "items": {
269
+ "type": "string"
270
+ },
271
+ "type": "array"
272
+ },
273
+ "kind": {
274
+ "type": "string"
275
+ },
276
+ "layers": {
277
+ "minimum": 0,
278
+ "type": "integer"
279
+ },
280
+ "marks": {
281
+ "minimum": 0,
282
+ "type": "integer"
283
+ },
284
+ "title": {
285
+ "type": "string"
286
+ }
287
+ },
288
+ "required": [
289
+ "describer",
290
+ "layers",
291
+ "marks",
292
+ "bound",
293
+ "geoms"
294
+ ],
295
+ "type": "object"
296
+ },
297
+ "figureProblem": {
298
+ "type": "string"
299
+ },
300
+ "number": {
301
+ "minimum": 1,
302
+ "type": "integer"
303
+ },
304
+ "path": {
305
+ "minLength": 1,
306
+ "type": "string"
307
+ },
308
+ "sha256": {
309
+ "pattern": "^[a-f0-9]{64}$",
310
+ "type": "string"
311
+ }
312
+ },
313
+ "required": [
314
+ "number",
315
+ "path",
316
+ "bytes",
317
+ "sha256"
318
+ ],
319
+ "type": "object"
320
+ },
321
+ "type": "array"
322
+ },
204
323
  "sessionId": {
205
324
  "pattern": "^s-[a-f0-9]{16}$",
206
325
  "type": "string"
@@ -135,6 +135,50 @@
135
135
  "items": {
136
136
  "additionalProperties": false,
137
137
  "properties": {
138
+ "figure": {
139
+ "additionalProperties": false,
140
+ "properties": {
141
+ "bound": {
142
+ "minimum": 0,
143
+ "type": "integer"
144
+ },
145
+ "describer": {
146
+ "minLength": 1,
147
+ "type": "string"
148
+ },
149
+ "geoms": {
150
+ "items": {
151
+ "type": "string"
152
+ },
153
+ "type": "array"
154
+ },
155
+ "kind": {
156
+ "type": "string"
157
+ },
158
+ "layers": {
159
+ "minimum": 0,
160
+ "type": "integer"
161
+ },
162
+ "marks": {
163
+ "minimum": 0,
164
+ "type": "integer"
165
+ },
166
+ "title": {
167
+ "type": "string"
168
+ }
169
+ },
170
+ "required": [
171
+ "describer",
172
+ "layers",
173
+ "marks",
174
+ "bound",
175
+ "geoms"
176
+ ],
177
+ "type": "object"
178
+ },
179
+ "figureProblem": {
180
+ "type": "string"
181
+ },
138
182
  "height": {
139
183
  "type": "integer"
140
184
  },
@@ -206,6 +250,81 @@
206
250
  },
207
251
  "type": "array"
208
252
  },
253
+ "saved": {
254
+ "items": {
255
+ "additionalProperties": false,
256
+ "properties": {
257
+ "bytes": {
258
+ "minimum": 0,
259
+ "type": "integer"
260
+ },
261
+ "figure": {
262
+ "additionalProperties": false,
263
+ "properties": {
264
+ "bound": {
265
+ "minimum": 0,
266
+ "type": "integer"
267
+ },
268
+ "describer": {
269
+ "minLength": 1,
270
+ "type": "string"
271
+ },
272
+ "geoms": {
273
+ "items": {
274
+ "type": "string"
275
+ },
276
+ "type": "array"
277
+ },
278
+ "kind": {
279
+ "type": "string"
280
+ },
281
+ "layers": {
282
+ "minimum": 0,
283
+ "type": "integer"
284
+ },
285
+ "marks": {
286
+ "minimum": 0,
287
+ "type": "integer"
288
+ },
289
+ "title": {
290
+ "type": "string"
291
+ }
292
+ },
293
+ "required": [
294
+ "describer",
295
+ "layers",
296
+ "marks",
297
+ "bound",
298
+ "geoms"
299
+ ],
300
+ "type": "object"
301
+ },
302
+ "figureProblem": {
303
+ "type": "string"
304
+ },
305
+ "number": {
306
+ "minimum": 1,
307
+ "type": "integer"
308
+ },
309
+ "path": {
310
+ "minLength": 1,
311
+ "type": "string"
312
+ },
313
+ "sha256": {
314
+ "pattern": "^[a-f0-9]{64}$",
315
+ "type": "string"
316
+ }
317
+ },
318
+ "required": [
319
+ "number",
320
+ "path",
321
+ "bytes",
322
+ "sha256"
323
+ ],
324
+ "type": "object"
325
+ },
326
+ "type": "array"
327
+ },
209
328
  "sessionId": {
210
329
  "pattern": "^s-[a-f0-9]{16}$",
211
330
  "type": "string"