@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
@@ -18,11 +18,8 @@
18
18
  "maxLength": 16384
19
19
  },
20
20
  "backend": {
21
- "enum": [
22
- "claude-acp",
23
- "codex-acp",
24
- "acp"
25
- ]
21
+ "type": "string",
22
+ "pattern": "^(claude-acp|codex-acp|acp|acp:[a-z0-9][a-z0-9-]{0,39})$"
26
23
  },
27
24
  "config": {
28
25
  "type": "object",
@@ -51,6 +48,75 @@
51
48
  },
52
49
  "maxItems": 8
53
50
  },
51
+ "uiContext": {
52
+ "type": "object",
53
+ "additionalProperties": false,
54
+ "properties": {
55
+ "page": {
56
+ "type": "string",
57
+ "minLength": 1,
58
+ "maxLength": 64
59
+ },
60
+ "compositionId": {
61
+ "type": "string",
62
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
63
+ },
64
+ "compositionVersion": {
65
+ "type": "integer",
66
+ "minimum": 0
67
+ },
68
+ "replayAt": {
69
+ "anyOf": [
70
+ {
71
+ "type": "integer",
72
+ "minimum": 0
73
+ },
74
+ {
75
+ "type": "null"
76
+ }
77
+ ]
78
+ },
79
+ "path": {
80
+ "type": "string",
81
+ "minLength": 1,
82
+ "maxLength": 1024
83
+ },
84
+ "figure": {
85
+ "type": "object",
86
+ "additionalProperties": false,
87
+ "properties": {
88
+ "cellId": {
89
+ "type": "string",
90
+ "pattern": "^k-[a-f0-9]{16}$"
91
+ },
92
+ "plot": {
93
+ "type": "integer",
94
+ "minimum": 1,
95
+ "maximum": 64
96
+ },
97
+ "path": {
98
+ "type": "string",
99
+ "minLength": 1,
100
+ "maxLength": 512
101
+ },
102
+ "sha256": {
103
+ "type": "string",
104
+ "pattern": "^[a-f0-9]{64}$"
105
+ },
106
+ "selectionId": {
107
+ "type": "string",
108
+ "pattern": "^f-[a-f0-9]{16}$"
109
+ }
110
+ },
111
+ "required": [
112
+ "selectionId"
113
+ ]
114
+ }
115
+ },
116
+ "required": [
117
+ "page"
118
+ ]
119
+ },
54
120
  "continue": {
55
121
  "type": "object",
56
122
  "additionalProperties": false,
@@ -664,6 +730,202 @@
664
730
  "pattern": "^[a-f0-9]{64}$"
665
731
  }
666
732
  },
733
+ "uiContext": {
734
+ "type": "object",
735
+ "additionalProperties": false,
736
+ "properties": {
737
+ "page": {
738
+ "type": "string",
739
+ "minLength": 1,
740
+ "maxLength": 64
741
+ },
742
+ "compositionId": {
743
+ "type": "string",
744
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
745
+ },
746
+ "compositionVersion": {
747
+ "type": "integer",
748
+ "minimum": 0
749
+ },
750
+ "replayAt": {
751
+ "anyOf": [
752
+ {
753
+ "type": "integer",
754
+ "minimum": 0
755
+ },
756
+ {
757
+ "type": "null"
758
+ }
759
+ ]
760
+ },
761
+ "path": {
762
+ "type": "string",
763
+ "minLength": 1,
764
+ "maxLength": 1024
765
+ },
766
+ "figure": {
767
+ "type": "object",
768
+ "additionalProperties": false,
769
+ "properties": {
770
+ "cellId": {
771
+ "type": "string",
772
+ "pattern": "^k-[a-f0-9]{16}$"
773
+ },
774
+ "plot": {
775
+ "type": "integer",
776
+ "minimum": 1,
777
+ "maximum": 64
778
+ },
779
+ "path": {
780
+ "type": "string",
781
+ "minLength": 1,
782
+ "maxLength": 512
783
+ },
784
+ "sha256": {
785
+ "type": "string",
786
+ "pattern": "^[a-f0-9]{64}$"
787
+ },
788
+ "selectionId": {
789
+ "type": "string",
790
+ "pattern": "^f-[a-f0-9]{16}$"
791
+ }
792
+ },
793
+ "required": [
794
+ "selectionId"
795
+ ]
796
+ },
797
+ "capturedAt": {
798
+ "type": "string",
799
+ "format": "date-time"
800
+ },
801
+ "project": {
802
+ "type": "object",
803
+ "additionalProperties": false,
804
+ "properties": {
805
+ "id": {
806
+ "type": "string",
807
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
808
+ },
809
+ "name": {
810
+ "type": "string"
811
+ }
812
+ },
813
+ "required": [
814
+ "id",
815
+ "name"
816
+ ]
817
+ },
818
+ "workspace": {
819
+ "type": "object",
820
+ "additionalProperties": false,
821
+ "properties": {
822
+ "compositionId": {
823
+ "type": "string",
824
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
825
+ },
826
+ "title": {
827
+ "type": "string"
828
+ },
829
+ "observedVersion": {
830
+ "anyOf": [
831
+ {
832
+ "type": "integer",
833
+ "minimum": 0
834
+ },
835
+ {
836
+ "type": "null"
837
+ }
838
+ ]
839
+ },
840
+ "currentVersion": {
841
+ "anyOf": [
842
+ {
843
+ "type": "integer",
844
+ "minimum": 0
845
+ },
846
+ {
847
+ "type": "null"
848
+ }
849
+ ]
850
+ },
851
+ "state": {
852
+ "enum": [
853
+ "current",
854
+ "changed",
855
+ "deleted",
856
+ "not-created",
857
+ "derived",
858
+ "unavailable"
859
+ ]
860
+ },
861
+ "empty": {
862
+ "type": [
863
+ "boolean",
864
+ "null"
865
+ ]
866
+ },
867
+ "viewCount": {
868
+ "anyOf": [
869
+ {
870
+ "type": "integer",
871
+ "minimum": 0
872
+ },
873
+ {
874
+ "type": "null"
875
+ }
876
+ ]
877
+ },
878
+ "omittedViews": {
879
+ "type": "integer",
880
+ "minimum": 0
881
+ },
882
+ "views": {
883
+ "type": "array",
884
+ "items": {
885
+ "type": "object",
886
+ "additionalProperties": false,
887
+ "properties": {
888
+ "id": {
889
+ "type": "string",
890
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
891
+ },
892
+ "component": {
893
+ "type": "string"
894
+ },
895
+ "title": {
896
+ "type": "string"
897
+ }
898
+ },
899
+ "required": [
900
+ "id",
901
+ "component",
902
+ "title"
903
+ ]
904
+ }
905
+ }
906
+ },
907
+ "required": [
908
+ "compositionId",
909
+ "title",
910
+ "observedVersion",
911
+ "currentVersion",
912
+ "state",
913
+ "empty",
914
+ "viewCount",
915
+ "omittedViews",
916
+ "views"
917
+ ]
918
+ },
919
+ "figureSelection": {
920
+ "type": "object"
921
+ }
922
+ },
923
+ "required": [
924
+ "page",
925
+ "capturedAt",
926
+ "project"
927
+ ]
928
+ },
667
929
  "descriptions": {
668
930
  "type": "array",
669
931
  "items": {
@@ -613,6 +613,202 @@
613
613
  "pattern": "^[a-f0-9]{64}$"
614
614
  }
615
615
  },
616
+ "uiContext": {
617
+ "type": "object",
618
+ "additionalProperties": false,
619
+ "properties": {
620
+ "page": {
621
+ "type": "string",
622
+ "minLength": 1,
623
+ "maxLength": 64
624
+ },
625
+ "compositionId": {
626
+ "type": "string",
627
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
628
+ },
629
+ "compositionVersion": {
630
+ "type": "integer",
631
+ "minimum": 0
632
+ },
633
+ "replayAt": {
634
+ "anyOf": [
635
+ {
636
+ "type": "integer",
637
+ "minimum": 0
638
+ },
639
+ {
640
+ "type": "null"
641
+ }
642
+ ]
643
+ },
644
+ "path": {
645
+ "type": "string",
646
+ "minLength": 1,
647
+ "maxLength": 1024
648
+ },
649
+ "figure": {
650
+ "type": "object",
651
+ "additionalProperties": false,
652
+ "properties": {
653
+ "cellId": {
654
+ "type": "string",
655
+ "pattern": "^k-[a-f0-9]{16}$"
656
+ },
657
+ "plot": {
658
+ "type": "integer",
659
+ "minimum": 1,
660
+ "maximum": 64
661
+ },
662
+ "path": {
663
+ "type": "string",
664
+ "minLength": 1,
665
+ "maxLength": 512
666
+ },
667
+ "sha256": {
668
+ "type": "string",
669
+ "pattern": "^[a-f0-9]{64}$"
670
+ },
671
+ "selectionId": {
672
+ "type": "string",
673
+ "pattern": "^f-[a-f0-9]{16}$"
674
+ }
675
+ },
676
+ "required": [
677
+ "selectionId"
678
+ ]
679
+ },
680
+ "capturedAt": {
681
+ "type": "string",
682
+ "format": "date-time"
683
+ },
684
+ "project": {
685
+ "type": "object",
686
+ "additionalProperties": false,
687
+ "properties": {
688
+ "id": {
689
+ "type": "string",
690
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
691
+ },
692
+ "name": {
693
+ "type": "string"
694
+ }
695
+ },
696
+ "required": [
697
+ "id",
698
+ "name"
699
+ ]
700
+ },
701
+ "workspace": {
702
+ "type": "object",
703
+ "additionalProperties": false,
704
+ "properties": {
705
+ "compositionId": {
706
+ "type": "string",
707
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
708
+ },
709
+ "title": {
710
+ "type": "string"
711
+ },
712
+ "observedVersion": {
713
+ "anyOf": [
714
+ {
715
+ "type": "integer",
716
+ "minimum": 0
717
+ },
718
+ {
719
+ "type": "null"
720
+ }
721
+ ]
722
+ },
723
+ "currentVersion": {
724
+ "anyOf": [
725
+ {
726
+ "type": "integer",
727
+ "minimum": 0
728
+ },
729
+ {
730
+ "type": "null"
731
+ }
732
+ ]
733
+ },
734
+ "state": {
735
+ "enum": [
736
+ "current",
737
+ "changed",
738
+ "deleted",
739
+ "not-created",
740
+ "derived",
741
+ "unavailable"
742
+ ]
743
+ },
744
+ "empty": {
745
+ "type": [
746
+ "boolean",
747
+ "null"
748
+ ]
749
+ },
750
+ "viewCount": {
751
+ "anyOf": [
752
+ {
753
+ "type": "integer",
754
+ "minimum": 0
755
+ },
756
+ {
757
+ "type": "null"
758
+ }
759
+ ]
760
+ },
761
+ "omittedViews": {
762
+ "type": "integer",
763
+ "minimum": 0
764
+ },
765
+ "views": {
766
+ "type": "array",
767
+ "items": {
768
+ "type": "object",
769
+ "additionalProperties": false,
770
+ "properties": {
771
+ "id": {
772
+ "type": "string",
773
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
774
+ },
775
+ "component": {
776
+ "type": "string"
777
+ },
778
+ "title": {
779
+ "type": "string"
780
+ }
781
+ },
782
+ "required": [
783
+ "id",
784
+ "component",
785
+ "title"
786
+ ]
787
+ }
788
+ }
789
+ },
790
+ "required": [
791
+ "compositionId",
792
+ "title",
793
+ "observedVersion",
794
+ "currentVersion",
795
+ "state",
796
+ "empty",
797
+ "viewCount",
798
+ "omittedViews",
799
+ "views"
800
+ ]
801
+ },
802
+ "figureSelection": {
803
+ "type": "object"
804
+ }
805
+ },
806
+ "required": [
807
+ "page",
808
+ "capturedAt",
809
+ "project"
810
+ ]
811
+ },
616
812
  "descriptions": {
617
813
  "type": "array",
618
814
  "items": {
@@ -48,6 +48,45 @@
48
48
  "sourceCommit": {
49
49
  "type": "string"
50
50
  },
51
+ "market": {
52
+ "type": "object",
53
+ "properties": {
54
+ "id": {
55
+ "type": "string",
56
+ "pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
57
+ },
58
+ "title": {
59
+ "type": "string",
60
+ "minLength": 1,
61
+ "maxLength": 1024
62
+ },
63
+ "url": {
64
+ "type": "string",
65
+ "minLength": 1,
66
+ "maxLength": 1024
67
+ },
68
+ "digest": {
69
+ "type": "string",
70
+ "pattern": "^[a-f0-9]{64}$"
71
+ },
72
+ "keywords": {
73
+ "type": "array",
74
+ "maxItems": 16,
75
+ "items": {
76
+ "type": "string",
77
+ "minLength": 1,
78
+ "maxLength": 64
79
+ }
80
+ }
81
+ },
82
+ "required": [
83
+ "id",
84
+ "title",
85
+ "url",
86
+ "digest"
87
+ ],
88
+ "additionalProperties": false
89
+ },
51
90
  "enabled": {
52
91
  "type": "boolean"
53
92
  },
@@ -15,6 +15,29 @@
15
15
  "expectedDigest": {
16
16
  "type": "string",
17
17
  "pattern": "^[a-f0-9]{64}$"
18
+ },
19
+ "market": {
20
+ "type": "object",
21
+ "properties": {
22
+ "id": {
23
+ "type": "string",
24
+ "pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
25
+ },
26
+ "expectedDigest": {
27
+ "type": "string",
28
+ "pattern": "^[a-f0-9]{64}$"
29
+ },
30
+ "pluginId": {
31
+ "type": "string",
32
+ "pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
33
+ }
34
+ },
35
+ "required": [
36
+ "id",
37
+ "expectedDigest",
38
+ "pluginId"
39
+ ],
40
+ "additionalProperties": false
18
41
  }
19
42
  },
20
43
  "required": [
@@ -51,6 +74,45 @@
51
74
  "sourceCommit": {
52
75
  "type": "string"
53
76
  },
77
+ "market": {
78
+ "type": "object",
79
+ "properties": {
80
+ "id": {
81
+ "type": "string",
82
+ "pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
83
+ },
84
+ "title": {
85
+ "type": "string",
86
+ "minLength": 1,
87
+ "maxLength": 1024
88
+ },
89
+ "url": {
90
+ "type": "string",
91
+ "minLength": 1,
92
+ "maxLength": 1024
93
+ },
94
+ "digest": {
95
+ "type": "string",
96
+ "pattern": "^[a-f0-9]{64}$"
97
+ },
98
+ "keywords": {
99
+ "type": "array",
100
+ "maxItems": 16,
101
+ "items": {
102
+ "type": "string",
103
+ "minLength": 1,
104
+ "maxLength": 64
105
+ }
106
+ }
107
+ },
108
+ "required": [
109
+ "id",
110
+ "title",
111
+ "url",
112
+ "digest"
113
+ ],
114
+ "additionalProperties": false
115
+ },
54
116
  "enabled": {
55
117
  "type": "boolean"
56
118
  },