@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
@@ -624,6 +624,202 @@
624
624
  "pattern": "^[a-f0-9]{64}$"
625
625
  }
626
626
  },
627
+ "uiContext": {
628
+ "type": "object",
629
+ "additionalProperties": false,
630
+ "properties": {
631
+ "page": {
632
+ "type": "string",
633
+ "minLength": 1,
634
+ "maxLength": 64
635
+ },
636
+ "compositionId": {
637
+ "type": "string",
638
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
639
+ },
640
+ "compositionVersion": {
641
+ "type": "integer",
642
+ "minimum": 0
643
+ },
644
+ "replayAt": {
645
+ "anyOf": [
646
+ {
647
+ "type": "integer",
648
+ "minimum": 0
649
+ },
650
+ {
651
+ "type": "null"
652
+ }
653
+ ]
654
+ },
655
+ "path": {
656
+ "type": "string",
657
+ "minLength": 1,
658
+ "maxLength": 1024
659
+ },
660
+ "figure": {
661
+ "type": "object",
662
+ "additionalProperties": false,
663
+ "properties": {
664
+ "cellId": {
665
+ "type": "string",
666
+ "pattern": "^k-[a-f0-9]{16}$"
667
+ },
668
+ "plot": {
669
+ "type": "integer",
670
+ "minimum": 1,
671
+ "maximum": 64
672
+ },
673
+ "path": {
674
+ "type": "string",
675
+ "minLength": 1,
676
+ "maxLength": 512
677
+ },
678
+ "sha256": {
679
+ "type": "string",
680
+ "pattern": "^[a-f0-9]{64}$"
681
+ },
682
+ "selectionId": {
683
+ "type": "string",
684
+ "pattern": "^f-[a-f0-9]{16}$"
685
+ }
686
+ },
687
+ "required": [
688
+ "selectionId"
689
+ ]
690
+ },
691
+ "capturedAt": {
692
+ "type": "string",
693
+ "format": "date-time"
694
+ },
695
+ "project": {
696
+ "type": "object",
697
+ "additionalProperties": false,
698
+ "properties": {
699
+ "id": {
700
+ "type": "string",
701
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
702
+ },
703
+ "name": {
704
+ "type": "string"
705
+ }
706
+ },
707
+ "required": [
708
+ "id",
709
+ "name"
710
+ ]
711
+ },
712
+ "workspace": {
713
+ "type": "object",
714
+ "additionalProperties": false,
715
+ "properties": {
716
+ "compositionId": {
717
+ "type": "string",
718
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
719
+ },
720
+ "title": {
721
+ "type": "string"
722
+ },
723
+ "observedVersion": {
724
+ "anyOf": [
725
+ {
726
+ "type": "integer",
727
+ "minimum": 0
728
+ },
729
+ {
730
+ "type": "null"
731
+ }
732
+ ]
733
+ },
734
+ "currentVersion": {
735
+ "anyOf": [
736
+ {
737
+ "type": "integer",
738
+ "minimum": 0
739
+ },
740
+ {
741
+ "type": "null"
742
+ }
743
+ ]
744
+ },
745
+ "state": {
746
+ "enum": [
747
+ "current",
748
+ "changed",
749
+ "deleted",
750
+ "not-created",
751
+ "derived",
752
+ "unavailable"
753
+ ]
754
+ },
755
+ "empty": {
756
+ "type": [
757
+ "boolean",
758
+ "null"
759
+ ]
760
+ },
761
+ "viewCount": {
762
+ "anyOf": [
763
+ {
764
+ "type": "integer",
765
+ "minimum": 0
766
+ },
767
+ {
768
+ "type": "null"
769
+ }
770
+ ]
771
+ },
772
+ "omittedViews": {
773
+ "type": "integer",
774
+ "minimum": 0
775
+ },
776
+ "views": {
777
+ "type": "array",
778
+ "items": {
779
+ "type": "object",
780
+ "additionalProperties": false,
781
+ "properties": {
782
+ "id": {
783
+ "type": "string",
784
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
785
+ },
786
+ "component": {
787
+ "type": "string"
788
+ },
789
+ "title": {
790
+ "type": "string"
791
+ }
792
+ },
793
+ "required": [
794
+ "id",
795
+ "component",
796
+ "title"
797
+ ]
798
+ }
799
+ }
800
+ },
801
+ "required": [
802
+ "compositionId",
803
+ "title",
804
+ "observedVersion",
805
+ "currentVersion",
806
+ "state",
807
+ "empty",
808
+ "viewCount",
809
+ "omittedViews",
810
+ "views"
811
+ ]
812
+ },
813
+ "figureSelection": {
814
+ "type": "object"
815
+ }
816
+ },
817
+ "required": [
818
+ "page",
819
+ "capturedAt",
820
+ "project"
821
+ ]
822
+ },
627
823
  "descriptions": {
628
824
  "type": "array",
629
825
  "items": {
@@ -1040,6 +1040,202 @@
1040
1040
  "pattern": "^[a-f0-9]{64}$"
1041
1041
  }
1042
1042
  },
1043
+ "uiContext": {
1044
+ "type": "object",
1045
+ "additionalProperties": false,
1046
+ "properties": {
1047
+ "page": {
1048
+ "type": "string",
1049
+ "minLength": 1,
1050
+ "maxLength": 64
1051
+ },
1052
+ "compositionId": {
1053
+ "type": "string",
1054
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
1055
+ },
1056
+ "compositionVersion": {
1057
+ "type": "integer",
1058
+ "minimum": 0
1059
+ },
1060
+ "replayAt": {
1061
+ "anyOf": [
1062
+ {
1063
+ "type": "integer",
1064
+ "minimum": 0
1065
+ },
1066
+ {
1067
+ "type": "null"
1068
+ }
1069
+ ]
1070
+ },
1071
+ "path": {
1072
+ "type": "string",
1073
+ "minLength": 1,
1074
+ "maxLength": 1024
1075
+ },
1076
+ "figure": {
1077
+ "type": "object",
1078
+ "additionalProperties": false,
1079
+ "properties": {
1080
+ "cellId": {
1081
+ "type": "string",
1082
+ "pattern": "^k-[a-f0-9]{16}$"
1083
+ },
1084
+ "plot": {
1085
+ "type": "integer",
1086
+ "minimum": 1,
1087
+ "maximum": 64
1088
+ },
1089
+ "path": {
1090
+ "type": "string",
1091
+ "minLength": 1,
1092
+ "maxLength": 512
1093
+ },
1094
+ "sha256": {
1095
+ "type": "string",
1096
+ "pattern": "^[a-f0-9]{64}$"
1097
+ },
1098
+ "selectionId": {
1099
+ "type": "string",
1100
+ "pattern": "^f-[a-f0-9]{16}$"
1101
+ }
1102
+ },
1103
+ "required": [
1104
+ "selectionId"
1105
+ ]
1106
+ },
1107
+ "capturedAt": {
1108
+ "type": "string",
1109
+ "format": "date-time"
1110
+ },
1111
+ "project": {
1112
+ "type": "object",
1113
+ "additionalProperties": false,
1114
+ "properties": {
1115
+ "id": {
1116
+ "type": "string",
1117
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
1118
+ },
1119
+ "name": {
1120
+ "type": "string"
1121
+ }
1122
+ },
1123
+ "required": [
1124
+ "id",
1125
+ "name"
1126
+ ]
1127
+ },
1128
+ "workspace": {
1129
+ "type": "object",
1130
+ "additionalProperties": false,
1131
+ "properties": {
1132
+ "compositionId": {
1133
+ "type": "string",
1134
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
1135
+ },
1136
+ "title": {
1137
+ "type": "string"
1138
+ },
1139
+ "observedVersion": {
1140
+ "anyOf": [
1141
+ {
1142
+ "type": "integer",
1143
+ "minimum": 0
1144
+ },
1145
+ {
1146
+ "type": "null"
1147
+ }
1148
+ ]
1149
+ },
1150
+ "currentVersion": {
1151
+ "anyOf": [
1152
+ {
1153
+ "type": "integer",
1154
+ "minimum": 0
1155
+ },
1156
+ {
1157
+ "type": "null"
1158
+ }
1159
+ ]
1160
+ },
1161
+ "state": {
1162
+ "enum": [
1163
+ "current",
1164
+ "changed",
1165
+ "deleted",
1166
+ "not-created",
1167
+ "derived",
1168
+ "unavailable"
1169
+ ]
1170
+ },
1171
+ "empty": {
1172
+ "type": [
1173
+ "boolean",
1174
+ "null"
1175
+ ]
1176
+ },
1177
+ "viewCount": {
1178
+ "anyOf": [
1179
+ {
1180
+ "type": "integer",
1181
+ "minimum": 0
1182
+ },
1183
+ {
1184
+ "type": "null"
1185
+ }
1186
+ ]
1187
+ },
1188
+ "omittedViews": {
1189
+ "type": "integer",
1190
+ "minimum": 0
1191
+ },
1192
+ "views": {
1193
+ "type": "array",
1194
+ "items": {
1195
+ "type": "object",
1196
+ "additionalProperties": false,
1197
+ "properties": {
1198
+ "id": {
1199
+ "type": "string",
1200
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
1201
+ },
1202
+ "component": {
1203
+ "type": "string"
1204
+ },
1205
+ "title": {
1206
+ "type": "string"
1207
+ }
1208
+ },
1209
+ "required": [
1210
+ "id",
1211
+ "component",
1212
+ "title"
1213
+ ]
1214
+ }
1215
+ }
1216
+ },
1217
+ "required": [
1218
+ "compositionId",
1219
+ "title",
1220
+ "observedVersion",
1221
+ "currentVersion",
1222
+ "state",
1223
+ "empty",
1224
+ "viewCount",
1225
+ "omittedViews",
1226
+ "views"
1227
+ ]
1228
+ },
1229
+ "figureSelection": {
1230
+ "type": "object"
1231
+ }
1232
+ },
1233
+ "required": [
1234
+ "page",
1235
+ "capturedAt",
1236
+ "project"
1237
+ ]
1238
+ },
1043
1239
  "descriptions": {
1044
1240
  "type": "array",
1045
1241
  "items": {
@@ -29,6 +29,75 @@
29
29
  },
30
30
  "maxItems": 8
31
31
  },
32
+ "uiContext": {
33
+ "type": "object",
34
+ "additionalProperties": false,
35
+ "properties": {
36
+ "page": {
37
+ "type": "string",
38
+ "minLength": 1,
39
+ "maxLength": 64
40
+ },
41
+ "compositionId": {
42
+ "type": "string",
43
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
44
+ },
45
+ "compositionVersion": {
46
+ "type": "integer",
47
+ "minimum": 0
48
+ },
49
+ "replayAt": {
50
+ "anyOf": [
51
+ {
52
+ "type": "integer",
53
+ "minimum": 0
54
+ },
55
+ {
56
+ "type": "null"
57
+ }
58
+ ]
59
+ },
60
+ "path": {
61
+ "type": "string",
62
+ "minLength": 1,
63
+ "maxLength": 1024
64
+ },
65
+ "figure": {
66
+ "type": "object",
67
+ "additionalProperties": false,
68
+ "properties": {
69
+ "cellId": {
70
+ "type": "string",
71
+ "pattern": "^k-[a-f0-9]{16}$"
72
+ },
73
+ "plot": {
74
+ "type": "integer",
75
+ "minimum": 1,
76
+ "maximum": 64
77
+ },
78
+ "path": {
79
+ "type": "string",
80
+ "minLength": 1,
81
+ "maxLength": 512
82
+ },
83
+ "sha256": {
84
+ "type": "string",
85
+ "pattern": "^[a-f0-9]{64}$"
86
+ },
87
+ "selectionId": {
88
+ "type": "string",
89
+ "pattern": "^f-[a-f0-9]{16}$"
90
+ }
91
+ },
92
+ "required": [
93
+ "selectionId"
94
+ ]
95
+ }
96
+ },
97
+ "required": [
98
+ "page"
99
+ ]
100
+ },
32
101
  "continuationOf": {
33
102
  "type": "string",
34
103
  "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
@@ -631,6 +700,202 @@
631
700
  "pattern": "^[a-f0-9]{64}$"
632
701
  }
633
702
  },
703
+ "uiContext": {
704
+ "type": "object",
705
+ "additionalProperties": false,
706
+ "properties": {
707
+ "page": {
708
+ "type": "string",
709
+ "minLength": 1,
710
+ "maxLength": 64
711
+ },
712
+ "compositionId": {
713
+ "type": "string",
714
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
715
+ },
716
+ "compositionVersion": {
717
+ "type": "integer",
718
+ "minimum": 0
719
+ },
720
+ "replayAt": {
721
+ "anyOf": [
722
+ {
723
+ "type": "integer",
724
+ "minimum": 0
725
+ },
726
+ {
727
+ "type": "null"
728
+ }
729
+ ]
730
+ },
731
+ "path": {
732
+ "type": "string",
733
+ "minLength": 1,
734
+ "maxLength": 1024
735
+ },
736
+ "figure": {
737
+ "type": "object",
738
+ "additionalProperties": false,
739
+ "properties": {
740
+ "cellId": {
741
+ "type": "string",
742
+ "pattern": "^k-[a-f0-9]{16}$"
743
+ },
744
+ "plot": {
745
+ "type": "integer",
746
+ "minimum": 1,
747
+ "maximum": 64
748
+ },
749
+ "path": {
750
+ "type": "string",
751
+ "minLength": 1,
752
+ "maxLength": 512
753
+ },
754
+ "sha256": {
755
+ "type": "string",
756
+ "pattern": "^[a-f0-9]{64}$"
757
+ },
758
+ "selectionId": {
759
+ "type": "string",
760
+ "pattern": "^f-[a-f0-9]{16}$"
761
+ }
762
+ },
763
+ "required": [
764
+ "selectionId"
765
+ ]
766
+ },
767
+ "capturedAt": {
768
+ "type": "string",
769
+ "format": "date-time"
770
+ },
771
+ "project": {
772
+ "type": "object",
773
+ "additionalProperties": false,
774
+ "properties": {
775
+ "id": {
776
+ "type": "string",
777
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
778
+ },
779
+ "name": {
780
+ "type": "string"
781
+ }
782
+ },
783
+ "required": [
784
+ "id",
785
+ "name"
786
+ ]
787
+ },
788
+ "workspace": {
789
+ "type": "object",
790
+ "additionalProperties": false,
791
+ "properties": {
792
+ "compositionId": {
793
+ "type": "string",
794
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
795
+ },
796
+ "title": {
797
+ "type": "string"
798
+ },
799
+ "observedVersion": {
800
+ "anyOf": [
801
+ {
802
+ "type": "integer",
803
+ "minimum": 0
804
+ },
805
+ {
806
+ "type": "null"
807
+ }
808
+ ]
809
+ },
810
+ "currentVersion": {
811
+ "anyOf": [
812
+ {
813
+ "type": "integer",
814
+ "minimum": 0
815
+ },
816
+ {
817
+ "type": "null"
818
+ }
819
+ ]
820
+ },
821
+ "state": {
822
+ "enum": [
823
+ "current",
824
+ "changed",
825
+ "deleted",
826
+ "not-created",
827
+ "derived",
828
+ "unavailable"
829
+ ]
830
+ },
831
+ "empty": {
832
+ "type": [
833
+ "boolean",
834
+ "null"
835
+ ]
836
+ },
837
+ "viewCount": {
838
+ "anyOf": [
839
+ {
840
+ "type": "integer",
841
+ "minimum": 0
842
+ },
843
+ {
844
+ "type": "null"
845
+ }
846
+ ]
847
+ },
848
+ "omittedViews": {
849
+ "type": "integer",
850
+ "minimum": 0
851
+ },
852
+ "views": {
853
+ "type": "array",
854
+ "items": {
855
+ "type": "object",
856
+ "additionalProperties": false,
857
+ "properties": {
858
+ "id": {
859
+ "type": "string",
860
+ "pattern": "^[A-Za-z0-9._:@-]{1,128}$"
861
+ },
862
+ "component": {
863
+ "type": "string"
864
+ },
865
+ "title": {
866
+ "type": "string"
867
+ }
868
+ },
869
+ "required": [
870
+ "id",
871
+ "component",
872
+ "title"
873
+ ]
874
+ }
875
+ }
876
+ },
877
+ "required": [
878
+ "compositionId",
879
+ "title",
880
+ "observedVersion",
881
+ "currentVersion",
882
+ "state",
883
+ "empty",
884
+ "viewCount",
885
+ "omittedViews",
886
+ "views"
887
+ ]
888
+ },
889
+ "figureSelection": {
890
+ "type": "object"
891
+ }
892
+ },
893
+ "required": [
894
+ "page",
895
+ "capturedAt",
896
+ "project"
897
+ ]
898
+ },
634
899
  "descriptions": {
635
900
  "type": "array",
636
901
  "items": {