@dxos/plugin-sheet 0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a → 0.17.0

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 (774) hide show
  1. package/PLUGIN.mdl +262 -6
  2. package/dist/lib/LegacySheet.mjs +1 -0
  3. package/dist/lib/Sheet.mjs +1 -1
  4. package/dist/lib/SheetCapabilities.mjs +1 -1
  5. package/dist/lib/SheetOperation.mjs +1 -1
  6. package/dist/lib/SheetPlugin.mjs +362 -1
  7. package/dist/lib/SheetPlugin.mjs.map +1 -0
  8. package/dist/lib/SheetPlugin.node.mjs +222 -0
  9. package/dist/lib/SheetPlugin.node.mjs.map +1 -0
  10. package/dist/lib/SheetPlugin.workerd.mjs +134 -0
  11. package/dist/lib/SheetPlugin.workerd.mjs.map +1 -0
  12. package/dist/lib/SheetRange.mjs +1 -1
  13. package/dist/lib/SheetUtil.mjs +1 -1
  14. package/dist/lib/chunk-ChartArticle.mjs +65 -0
  15. package/dist/lib/chunk-ChartArticle.mjs.map +1 -0
  16. package/dist/lib/chunk-LegacySheet.mjs +32 -0
  17. package/dist/lib/chunk-LegacySheet.mjs.map +1 -0
  18. package/dist/lib/chunk-PLUGIN.mjs +1 -1
  19. package/dist/lib/chunk-RangeList.mjs +87 -30
  20. package/dist/lib/chunk-RangeList.mjs.map +1 -1
  21. package/dist/lib/chunk-Sheet.mjs +121 -18
  22. package/dist/lib/chunk-Sheet.mjs.map +1 -1
  23. package/dist/lib/chunk-SheetArticle.mjs +17 -4
  24. package/dist/lib/chunk-SheetArticle.mjs.map +1 -1
  25. package/dist/lib/chunk-SheetCapabilities.mjs +7 -5
  26. package/dist/lib/chunk-SheetCapabilities.mjs.map +1 -1
  27. package/dist/lib/chunk-SheetChartsCompanion.mjs +9 -28
  28. package/dist/lib/chunk-SheetChartsCompanion.mjs.map +1 -1
  29. package/dist/lib/chunk-SheetContent.mjs +1075 -0
  30. package/dist/lib/chunk-SheetContent.mjs.map +1 -0
  31. package/dist/lib/chunk-SheetEvents.mjs +2 -2
  32. package/dist/lib/chunk-SheetEvents.mjs.map +1 -1
  33. package/dist/lib/chunk-SheetOperation.mjs +53 -15
  34. package/dist/lib/chunk-SheetOperation.mjs.map +1 -1
  35. package/dist/lib/chunk-SheetRange.mjs +11 -1
  36. package/dist/lib/chunk-SheetRange.mjs.map +1 -1
  37. package/dist/lib/chunk-SheetUtil.mjs +73 -10
  38. package/dist/lib/chunk-SheetUtil.mjs.map +1 -1
  39. package/dist/lib/chunk-add-chart.mjs +18 -0
  40. package/dist/lib/chunk-add-chart.mjs.map +1 -0
  41. package/dist/lib/chunk-anchor-sort.mjs +4 -3
  42. package/dist/lib/chunk-anchor-sort.mjs.map +1 -1
  43. package/dist/lib/chunk-app-graph-builder.mjs +4 -4
  44. package/dist/lib/chunk-app-graph-builder.mjs.map +1 -1
  45. package/dist/lib/chunk-chart-types.mjs +52 -0
  46. package/dist/lib/chunk-chart-types.mjs.map +1 -0
  47. package/dist/lib/chunk-comment-config.mjs +4 -4
  48. package/dist/lib/chunk-comment-config.mjs.map +1 -1
  49. package/dist/lib/chunk-compute-graph-registry.mjs +2 -2
  50. package/dist/lib/chunk-create-object.mjs +2 -2
  51. package/dist/lib/chunk-create.mjs +6 -6
  52. package/dist/lib/chunk-create.mjs.map +1 -1
  53. package/dist/lib/chunk-exporter.mjs +65 -0
  54. package/dist/lib/chunk-exporter.mjs.map +1 -0
  55. package/dist/lib/chunk-get-values.mjs +2 -2
  56. package/dist/lib/chunk-locator.mjs +17 -0
  57. package/dist/lib/chunk-locator.mjs.map +1 -0
  58. package/dist/lib/chunk-markdown-extension.mjs +2 -2
  59. package/dist/lib/chunk-migrations.mjs +22 -0
  60. package/dist/lib/chunk-migrations.mjs.map +1 -0
  61. package/dist/lib/chunk-namespace.mjs +8 -0
  62. package/dist/lib/chunk-namespace.mjs.map +1 -0
  63. package/dist/lib/{node.mjs → chunk-operation-handler.headless.mjs} +10 -2
  64. package/dist/lib/chunk-operation-handler.headless.mjs.map +1 -0
  65. package/dist/lib/chunk-operation-handler.mjs +2 -2
  66. package/dist/lib/chunk-operation-handler.mjs.map +1 -1
  67. package/dist/lib/chunk-react-surface.mjs +14 -4
  68. package/dist/lib/chunk-react-surface.mjs.map +1 -1
  69. package/dist/lib/chunk-schema.mjs +1 -1
  70. package/dist/lib/chunk-schema.mjs.map +1 -1
  71. package/dist/lib/chunk-scroll-to-anchor.mjs +14 -7
  72. package/dist/lib/chunk-scroll-to-anchor.mjs.map +1 -1
  73. package/dist/lib/chunk-set-values.mjs +2 -2
  74. package/dist/lib/chunk-sheet-model.mjs +519 -0
  75. package/dist/lib/chunk-sheet-model.mjs.map +1 -0
  76. package/dist/lib/chunk-skill-definition.mjs +1 -1
  77. package/dist/lib/chunk-space-templates.mjs +116 -0
  78. package/dist/lib/chunk-space-templates.mjs.map +1 -0
  79. package/dist/lib/chunk-state.mjs +3 -6
  80. package/dist/lib/chunk-state.mjs.map +1 -1
  81. package/dist/lib/chunk-undo-mappings.mjs +4 -4
  82. package/dist/lib/chunk-undo-mappings.mjs.map +1 -1
  83. package/dist/lib/chunk-useSheetModel.mjs +1 -516
  84. package/dist/lib/chunk-useSheetModel.mjs.map +1 -1
  85. package/dist/lib/components.mjs +463 -1111
  86. package/dist/lib/components.mjs.map +1 -1
  87. package/dist/lib/containers.mjs +2 -1
  88. package/dist/lib/containers.mjs.map +1 -1
  89. package/dist/lib/index.mjs +2 -1
  90. package/dist/lib/operations.mjs +1 -0
  91. package/dist/lib/operations.mjs.map +1 -1
  92. package/dist/lib/skills.mjs +11 -2
  93. package/dist/lib/skills.mjs.map +1 -1
  94. package/dist/lib/testing.mjs +421 -6
  95. package/dist/lib/testing.mjs.map +1 -1
  96. package/dist/lib/translations.mjs +34 -5
  97. package/dist/lib/translations.mjs.map +1 -1
  98. package/dist/lib/types.mjs +4 -3
  99. package/dist/plugin/PLUGIN-Dws11Sqp.mjs +6 -0
  100. package/dist/plugin/add-chart-DGmJHHPD.mjs +15 -0
  101. package/dist/plugin/anchor-sort-BBAkbn7x.mjs +17 -0
  102. package/dist/plugin/app-graph-builder-CY02MMuv.mjs +26 -0
  103. package/dist/plugin/chart-types-C2gs20Pe.mjs +45 -0
  104. package/dist/plugin/chunk-ChartArticle-C7GIvSct.mjs +50 -0
  105. package/dist/plugin/chunk-RangeList-Bzk8POh3.mjs +82 -0
  106. package/dist/plugin/chunk-Sheet-Do51wG4n.mjs +270 -0
  107. package/dist/plugin/chunk-SheetArticle-BeTAS4hj.mjs +217 -0
  108. package/dist/plugin/chunk-SheetCapabilities-Df5Xl7RL.mjs +24 -0
  109. package/dist/plugin/chunk-SheetChartsCompanion-NP1Q-mHy.mjs +32 -0
  110. package/dist/plugin/chunk-SheetOperation-GMkvrZbZ.mjs +154 -0
  111. package/dist/plugin/chunk-SheetRange-BodTbt2I.mjs +61 -0
  112. package/dist/plugin/chunk-SpaceOperation-DvvuX24w.mjs +674 -0
  113. package/dist/plugin/comment-config-e76ZLIr8.mjs +18 -0
  114. package/dist/plugin/components-ByMljuMv.mjs +24989 -0
  115. package/dist/plugin/compute-graph-registry-DtY1sD1K.mjs +18 -0
  116. package/dist/plugin/create-CTOieIyZ.mjs +19 -0
  117. package/dist/plugin/create-object-CJNCvXmq.mjs +43 -0
  118. package/dist/plugin/dist-DhcFM1Kl.mjs +1800 -0
  119. package/dist/plugin/drop-axis-kPmrah50.mjs +18 -0
  120. package/dist/plugin/exporter-Dy2oJEjb.mjs +338 -0
  121. package/dist/plugin/get-values-XXHw9p6E.mjs +50 -0
  122. package/dist/plugin/index.mjs +361 -0
  123. package/dist/plugin/insert-axis-DyKWrGpn.mjs +11 -0
  124. package/dist/plugin/lib-Blk690Pq.mjs +3 -0
  125. package/dist/plugin/lib-dHXC1sEY.mjs +23244 -0
  126. package/dist/plugin/locator-JjvpbbXq.mjs +18 -0
  127. package/dist/plugin/manifest.json +538 -0
  128. package/dist/plugin/markdown-extension-Dv0w8xkg.mjs +28 -0
  129. package/dist/plugin/migrations-DJEBQ1yF.mjs +42 -0
  130. package/dist/plugin/namespace-C-oC7-7y.mjs +7 -0
  131. package/dist/plugin/operation-handler-rjmRPb8X.mjs +23 -0
  132. package/dist/plugin/operation-handler.headless-CtBnW09N.mjs +21 -0
  133. package/dist/plugin/react-surface-V676cVWE.mjs +50 -0
  134. package/dist/plugin/restore-axis-FZxFOVO1.mjs +11 -0
  135. package/dist/plugin/schema-Bf_zhSKQ.mjs +7 -0
  136. package/dist/plugin/scroll-to-anchor-BhbADyNi.mjs +23 -0
  137. package/dist/plugin/set-values-o9CzQ-5j.mjs +19 -0
  138. package/dist/plugin/skill-definition-C-ytVUvu.mjs +55 -0
  139. package/dist/plugin/space-templates-ByrGOjOr.mjs +104 -0
  140. package/dist/plugin/state-BBpKUE2j.mjs +23 -0
  141. package/dist/plugin/translations-CfV0GGa6.mjs +94 -0
  142. package/dist/plugin/undo-mappings-CXPMFc6M.mjs +24 -0
  143. package/dist/plugin/vendor/@automerge/automerge.mjs +7711 -0
  144. package/dist/plugin/vendor/@dxos/ai/anthropic.mjs +2129 -0
  145. package/dist/plugin/vendor/@dxos/ai.mjs +3136 -0
  146. package/dist/plugin/vendor/@dxos/app-framework/ActivationEvent.mjs +27 -0
  147. package/dist/plugin/vendor/@dxos/app-framework/ActivationEvents.mjs +24 -0
  148. package/dist/plugin/vendor/@dxos/app-framework/Capabilities.mjs +60 -0
  149. package/dist/plugin/vendor/@dxos/app-framework/Capability.mjs +69 -0
  150. package/dist/plugin/vendor/@dxos/app-framework/Plugin.mjs +65 -0
  151. package/dist/plugin/vendor/@dxos/app-framework/PluginManager.mjs +2757 -0
  152. package/dist/plugin/vendor/@dxos/app-framework/PluginManifest.mjs +125 -0
  153. package/dist/plugin/vendor/@dxos/app-framework/Translations.mjs +15 -0
  154. package/dist/plugin/vendor/@dxos/app-graph/AppGraph.mjs +82 -0
  155. package/dist/plugin/vendor/@dxos/app-graph/AppGraphBuilder.mjs +386 -0
  156. package/dist/plugin/vendor/@dxos/app-graph/AppGraphNode.mjs +37 -0
  157. package/dist/plugin/vendor/@dxos/app-toolkit/AppActivationEvents.mjs +19 -0
  158. package/dist/plugin/vendor/@dxos/app-toolkit/AppCapabilities.mjs +105 -0
  159. package/dist/plugin/vendor/@dxos/app-toolkit/AppNode.mjs +531 -0
  160. package/dist/plugin/vendor/@dxos/app-toolkit/AppNodeMatcher.mjs +52 -0
  161. package/dist/plugin/vendor/@dxos/app-toolkit/SchemaAdapter.mjs +17 -0
  162. package/dist/plugin/vendor/@dxos/app-toolkit/TranslationsAdapter.mjs +17 -0
  163. package/dist/plugin/vendor/@dxos/assistant/AiContext.mjs +25 -0
  164. package/dist/plugin/vendor/@dxos/assistant/Chat.mjs +43 -0
  165. package/dist/plugin/vendor/@dxos/assistant/Harness.mjs +849 -0
  166. package/dist/plugin/vendor/@dxos/async.mjs +2378 -0
  167. package/dist/plugin/vendor/@dxos/client/echo.mjs +1558 -0
  168. package/dist/plugin/vendor/@dxos/client/invitations.mjs +27 -0
  169. package/dist/plugin/vendor/@dxos/client-protocol.mjs +1127 -0
  170. package/dist/plugin/vendor/@dxos/compute/Cancellation.mjs +18 -0
  171. package/dist/plugin/vendor/@dxos/compute/Credential.mjs +13 -0
  172. package/dist/plugin/vendor/@dxos/compute/FunctionsAiError.mjs +11 -0
  173. package/dist/plugin/vendor/@dxos/compute/Header.mjs +24 -0
  174. package/dist/plugin/vendor/@dxos/compute/Instructions.mjs +17 -0
  175. package/dist/plugin/vendor/@dxos/compute/LayerSpec.mjs +20 -0
  176. package/dist/plugin/vendor/@dxos/compute/Operation.mjs +155 -0
  177. package/dist/plugin/vendor/@dxos/compute/OperationHandlerSet.mjs +137 -0
  178. package/dist/plugin/vendor/@dxos/compute/Process.mjs +176 -0
  179. package/dist/plugin/vendor/@dxos/compute/Project.mjs +207 -0
  180. package/dist/plugin/vendor/@dxos/compute/Reducer.mjs +814 -0
  181. package/dist/plugin/vendor/@dxos/compute/Script.mjs +26 -0
  182. package/dist/plugin/vendor/@dxos/compute/ServiceResolver.mjs +70 -0
  183. package/dist/plugin/vendor/@dxos/compute/Skill.mjs +42 -0
  184. package/dist/plugin/vendor/@dxos/compute/SqlService.mjs +486 -0
  185. package/dist/plugin/vendor/@dxos/compute/StorageService.mjs +50 -0
  186. package/dist/plugin/vendor/@dxos/compute/Template.mjs +21 -0
  187. package/dist/plugin/vendor/@dxos/compute/Trace.mjs +114 -0
  188. package/dist/plugin/vendor/@dxos/compute/Trajectory.mjs +89 -0
  189. package/dist/plugin/vendor/@dxos/compute/Transcript.mjs +21 -0
  190. package/dist/plugin/vendor/@dxos/compute/Trigger.mjs +58 -0
  191. package/dist/plugin/vendor/@dxos/context.mjs +416 -0
  192. package/dist/plugin/vendor/@dxos/credentials/assertions.mjs +50 -0
  193. package/dist/plugin/vendor/@dxos/crypto/random.mjs +15 -0
  194. package/dist/plugin/vendor/@dxos/crypto/subtle.mjs +11 -0
  195. package/dist/plugin/vendor/@dxos/debug.mjs +261 -0
  196. package/dist/plugin/vendor/@dxos/echo/Format.mjs +87 -0
  197. package/dist/plugin/vendor/@dxos/echo/JsonSchema.mjs +18 -0
  198. package/dist/plugin/vendor/@dxos/echo/Key.mjs +18 -0
  199. package/dist/plugin/vendor/@dxos/echo/internal.mjs +660 -0
  200. package/dist/plugin/vendor/@dxos/echo/testing.mjs +375 -0
  201. package/dist/plugin/vendor/@dxos/echo-client.mjs +476 -0
  202. package/dist/plugin/vendor/@dxos/echo-host/filter.mjs +45 -0
  203. package/dist/plugin/vendor/@dxos/echo-host/query.mjs +1454 -0
  204. package/dist/plugin/vendor/@dxos/echo-protocol.mjs +1206 -0
  205. package/dist/plugin/vendor/@dxos/echo.mjs +2078 -0
  206. package/dist/plugin/vendor/@dxos/effect/AtomEx.mjs +29 -0
  207. package/dist/plugin/vendor/@dxos/effect/EffectEx.mjs +118 -0
  208. package/dist/plugin/vendor/@dxos/effect/Performance.mjs +57 -0
  209. package/dist/plugin/vendor/@dxos/effect/RuntimeProvider.mjs +284 -0
  210. package/dist/plugin/vendor/@dxos/effect/SchemaAST.mjs +127 -0
  211. package/dist/plugin/vendor/@dxos/effect/SchemaEx.mjs +2066 -0
  212. package/dist/plugin/vendor/@dxos/effect/SpanAttributes.mjs +54 -0
  213. package/dist/plugin/vendor/@dxos/errors.mjs +124 -0
  214. package/dist/plugin/vendor/@dxos/graph/GraphBuilder.mjs +798 -0
  215. package/dist/plugin/vendor/@dxos/graph/GraphEdge.mjs +13 -0
  216. package/dist/plugin/vendor/@dxos/graph/GraphModel.mjs +27 -0
  217. package/dist/plugin/vendor/@dxos/graph/GraphNode.mjs +23 -0
  218. package/dist/plugin/vendor/@dxos/graph/GraphNodeMatcher.mjs +35 -0
  219. package/dist/plugin/vendor/@dxos/invariant.mjs +62 -0
  220. package/dist/plugin/vendor/@dxos/keys.mjs +1004 -0
  221. package/dist/plugin/vendor/@dxos/log.mjs +3113 -0
  222. package/dist/plugin/vendor/@dxos/plugin-host-cloudflare.mjs +1513 -0
  223. package/dist/plugin/vendor/@dxos/protocols/buf/dxos/client/invitation_pb.mjs +38 -0
  224. package/dist/plugin/vendor/@dxos/protocols/buf/dxos/client/services_pb.mjs +102 -0
  225. package/dist/plugin/vendor/@dxos/protocols/buf/dxos/echo/indexing_pb.mjs +18 -0
  226. package/dist/plugin/vendor/@dxos/protocols/buf/dxos/echo/metadata_pb.mjs +33 -0
  227. package/dist/plugin/vendor/@dxos/protocols/buf/dxos/echo/query_pb.mjs +27 -0
  228. package/dist/plugin/vendor/@dxos/protocols/buf/dxos/halo/credentials_pb.mjs +84 -0
  229. package/dist/plugin/vendor/@dxos/protocols/buf/dxos/rpc_pb.mjs +30 -0
  230. package/dist/plugin/vendor/@dxos/protocols/buf-registry.mjs +23 -0
  231. package/dist/plugin/vendor/@dxos/protocols/buf-service.mjs +122 -0
  232. package/dist/plugin/vendor/@dxos/protocols/buf.mjs +75 -0
  233. package/dist/plugin/vendor/@dxos/protocols/rpc.mjs +2600 -0
  234. package/dist/plugin/vendor/@dxos/protocols.mjs +1497 -0
  235. package/dist/plugin/vendor/@dxos/react-ui-attention/types.mjs +604 -0
  236. package/dist/plugin/vendor/@dxos/rpc-tunnel.mjs +1518 -0
  237. package/dist/plugin/vendor/@dxos/rpc.mjs +1205 -0
  238. package/dist/plugin/vendor/@dxos/schema.mjs +3321 -0
  239. package/dist/plugin/vendor/@dxos/timeframe.mjs +105 -0
  240. package/dist/plugin/vendor/@dxos/tracing.mjs +567 -0
  241. package/dist/plugin/vendor/@dxos/types.mjs +2695 -0
  242. package/dist/plugin/vendor/@dxos/util/Position.mjs +13 -0
  243. package/dist/plugin/vendor/@dxos/util.mjs +2590 -0
  244. package/dist/plugin/vendor/@dxos/web-context.mjs +55 -0
  245. package/dist/plugin/vendor/asset-automerge_wasm_bg-X4OLCNJ7.wasm +0 -0
  246. package/dist/plugin/vendor/chunk-27CSWZWZ.mjs +63 -0
  247. package/dist/plugin/vendor/chunk-2BBLO3G2.mjs +215 -0
  248. package/dist/plugin/vendor/chunk-2EQ4MSNU.mjs +3035 -0
  249. package/dist/plugin/vendor/chunk-2WHZXFL4.mjs +118 -0
  250. package/dist/plugin/vendor/chunk-32CIITYN.mjs +156 -0
  251. package/dist/plugin/vendor/chunk-3AX5KVON.mjs +895 -0
  252. package/dist/plugin/vendor/chunk-3BNOXNB6.mjs +439 -0
  253. package/dist/plugin/vendor/chunk-3EQY3N6Q.mjs +19 -0
  254. package/dist/plugin/vendor/chunk-3HUNLLOZ.mjs +42 -0
  255. package/dist/plugin/vendor/chunk-3NHZQHYZ.mjs +103 -0
  256. package/dist/plugin/vendor/chunk-3QKNTVQ7.mjs +170 -0
  257. package/dist/plugin/vendor/chunk-3SKFB6CT.mjs +801 -0
  258. package/dist/plugin/vendor/chunk-3YLVD5IN.mjs +31 -0
  259. package/dist/plugin/vendor/chunk-4OAE6ODR.mjs +595 -0
  260. package/dist/plugin/vendor/chunk-4SO5AAZM.mjs +330 -0
  261. package/dist/plugin/vendor/chunk-4WW3MPKU.mjs +561 -0
  262. package/dist/plugin/vendor/chunk-5A4PNL4P.mjs +119 -0
  263. package/dist/plugin/vendor/chunk-5JSJ5Y43.mjs +1064 -0
  264. package/dist/plugin/vendor/chunk-5NHORQL2.mjs +74 -0
  265. package/dist/plugin/vendor/chunk-5X7U42RU.mjs +181 -0
  266. package/dist/plugin/vendor/chunk-5ZUW2KUR.mjs +83 -0
  267. package/dist/plugin/vendor/chunk-66C6G3C3.mjs +54 -0
  268. package/dist/plugin/vendor/chunk-7GMU4PQV.mjs +13 -0
  269. package/dist/plugin/vendor/chunk-7IRAPRZ5.mjs +738 -0
  270. package/dist/plugin/vendor/chunk-7IVNXCSG.mjs +62 -0
  271. package/dist/plugin/vendor/chunk-7JCI6WMF.mjs +50 -0
  272. package/dist/plugin/vendor/chunk-7NJBWOWJ.mjs +193 -0
  273. package/dist/plugin/vendor/chunk-7OYTUE4T.mjs +170 -0
  274. package/dist/plugin/vendor/chunk-7SFOGHF2.mjs +15061 -0
  275. package/dist/plugin/vendor/chunk-7W36WWPQ.mjs +95 -0
  276. package/dist/plugin/vendor/chunk-AEIQDKMI.mjs +292 -0
  277. package/dist/plugin/vendor/chunk-AWMGKFJ6.mjs +216 -0
  278. package/dist/plugin/vendor/chunk-B2G7WTBZ.mjs +4582 -0
  279. package/dist/plugin/vendor/chunk-B4PK7A7E.mjs +3540 -0
  280. package/dist/plugin/vendor/chunk-BJFERRPE.mjs +722 -0
  281. package/dist/plugin/vendor/chunk-BOC3KOTY.mjs +30 -0
  282. package/dist/plugin/vendor/chunk-CHYO75HA.mjs +38 -0
  283. package/dist/plugin/vendor/chunk-DDIAMP5H.mjs +29 -0
  284. package/dist/plugin/vendor/chunk-DG7LTJYJ.mjs +39 -0
  285. package/dist/plugin/vendor/chunk-DLYIQ46N.mjs +158 -0
  286. package/dist/plugin/vendor/chunk-DNHAKNWB.mjs +60 -0
  287. package/dist/plugin/vendor/chunk-DPUM7WEI.mjs +238 -0
  288. package/dist/plugin/vendor/chunk-DR2Q3NHC.mjs +405 -0
  289. package/dist/plugin/vendor/chunk-E22GWU2S.mjs +4497 -0
  290. package/dist/plugin/vendor/chunk-ECFPZZFM.mjs +284 -0
  291. package/dist/plugin/vendor/chunk-EXE5VWGC.mjs +40 -0
  292. package/dist/plugin/vendor/chunk-F5JQ7BPY.mjs +144 -0
  293. package/dist/plugin/vendor/chunk-F5OTMAOM.mjs +18 -0
  294. package/dist/plugin/vendor/chunk-FAKPZMHO.mjs +24 -0
  295. package/dist/plugin/vendor/chunk-FFUGLHHV.mjs +9 -0
  296. package/dist/plugin/vendor/chunk-FLX7JCVE.mjs +2416 -0
  297. package/dist/plugin/vendor/chunk-FS4VWWGP.mjs +25 -0
  298. package/dist/plugin/vendor/chunk-FSNFYMM6.mjs +806 -0
  299. package/dist/plugin/vendor/chunk-FWHLFKJK.mjs +1325 -0
  300. package/dist/plugin/vendor/chunk-FYKTBLDA.mjs +92 -0
  301. package/dist/plugin/vendor/chunk-G2NHSWTN.mjs +3729 -0
  302. package/dist/plugin/vendor/chunk-GBLCI772.mjs +234 -0
  303. package/dist/plugin/vendor/chunk-GHMWEIEY.mjs +32 -0
  304. package/dist/plugin/vendor/chunk-GYMKSOKP.mjs +24 -0
  305. package/dist/plugin/vendor/chunk-H3VXPCHA.mjs +258 -0
  306. package/dist/plugin/vendor/chunk-HK3M4EBP.mjs +1432 -0
  307. package/dist/plugin/vendor/chunk-HLHNSST6.mjs +402 -0
  308. package/dist/plugin/vendor/chunk-HLJM4FK2.mjs +1174 -0
  309. package/dist/plugin/vendor/chunk-HWEDVOU6.mjs +93 -0
  310. package/dist/plugin/vendor/chunk-HZ7AEW36.mjs +21 -0
  311. package/dist/plugin/vendor/chunk-IETA7DUO.mjs +118 -0
  312. package/dist/plugin/vendor/chunk-IHAHSMGJ.mjs +156 -0
  313. package/dist/plugin/vendor/chunk-IMXNBACR.mjs +148 -0
  314. package/dist/plugin/vendor/chunk-IYMD6LCA.mjs +715 -0
  315. package/dist/plugin/vendor/chunk-JCTF33WO.mjs +72 -0
  316. package/dist/plugin/vendor/chunk-JRM37AG4.mjs +1413 -0
  317. package/dist/plugin/vendor/chunk-JSJQ2YWU.mjs +1294 -0
  318. package/dist/plugin/vendor/chunk-K4XIO6M4.mjs +515 -0
  319. package/dist/plugin/vendor/chunk-KENSICTB.mjs +18 -0
  320. package/dist/plugin/vendor/chunk-KHVFJY7Z.mjs +526 -0
  321. package/dist/plugin/vendor/chunk-KL5Z5IZZ.mjs +278 -0
  322. package/dist/plugin/vendor/chunk-KU4FRG6J.mjs +243 -0
  323. package/dist/plugin/vendor/chunk-KX3XHKCI.mjs +131 -0
  324. package/dist/plugin/vendor/chunk-KXYGFPA5.mjs +126 -0
  325. package/dist/plugin/vendor/chunk-L66G3JJP.mjs +128 -0
  326. package/dist/plugin/vendor/chunk-LGZG5M56.mjs +2170 -0
  327. package/dist/plugin/vendor/chunk-LW3KOC3O.mjs +58 -0
  328. package/dist/plugin/vendor/chunk-MB3BD6SD.mjs +100 -0
  329. package/dist/plugin/vendor/chunk-MBW5BXIN.mjs +244 -0
  330. package/dist/plugin/vendor/chunk-ME3BGGRV.mjs +207 -0
  331. package/dist/plugin/vendor/chunk-MFMRLL22.mjs +188 -0
  332. package/dist/plugin/vendor/chunk-MFXX2UCE.mjs +198 -0
  333. package/dist/plugin/vendor/chunk-MKPXXD6H.mjs +159 -0
  334. package/dist/plugin/vendor/chunk-NBF4WG74.mjs +116 -0
  335. package/dist/plugin/vendor/chunk-NKOEPLWV.mjs +87 -0
  336. package/dist/plugin/vendor/chunk-NPTDYTUO.mjs +629 -0
  337. package/dist/plugin/vendor/chunk-NQST5FWV.mjs +354 -0
  338. package/dist/plugin/vendor/chunk-O5OWP2AP.mjs +366 -0
  339. package/dist/plugin/vendor/chunk-OFS2JOPS.mjs +4273 -0
  340. package/dist/plugin/vendor/chunk-OMR3EUZU.mjs +412 -0
  341. package/dist/plugin/vendor/chunk-OPROEZO3.mjs +1317 -0
  342. package/dist/plugin/vendor/chunk-ORMGH73M.mjs +289 -0
  343. package/dist/plugin/vendor/chunk-OS7JTMNJ.mjs +38 -0
  344. package/dist/plugin/vendor/chunk-OZSBXSC4.mjs +348 -0
  345. package/dist/plugin/vendor/chunk-P2L7VBMI.mjs +38 -0
  346. package/dist/plugin/vendor/chunk-P36CKCWO.mjs +45 -0
  347. package/dist/plugin/vendor/chunk-P6SPTO5U.mjs +201 -0
  348. package/dist/plugin/vendor/chunk-P7QCTO6H.mjs +80 -0
  349. package/dist/plugin/vendor/chunk-PJSBYZKU.mjs +66 -0
  350. package/dist/plugin/vendor/chunk-PR6EYV35.mjs +126 -0
  351. package/dist/plugin/vendor/chunk-QAU3NGHM.mjs +15 -0
  352. package/dist/plugin/vendor/chunk-R3IGG3P3.mjs +45 -0
  353. package/dist/plugin/vendor/chunk-R3ZFFLZW.mjs +3322 -0
  354. package/dist/plugin/vendor/chunk-R62LVBRA.mjs +165 -0
  355. package/dist/plugin/vendor/chunk-RHFK3Y3L.mjs +33 -0
  356. package/dist/plugin/vendor/chunk-RQSTVH2Z.mjs +330 -0
  357. package/dist/plugin/vendor/chunk-RS5U6ZV4.mjs +87 -0
  358. package/dist/plugin/vendor/chunk-RU3IYJ6A.mjs +519 -0
  359. package/dist/plugin/vendor/chunk-RVRCWYHK.mjs +207 -0
  360. package/dist/plugin/vendor/chunk-RW7UOWFG.mjs +385 -0
  361. package/dist/plugin/vendor/chunk-S3OANF56.mjs +52 -0
  362. package/dist/plugin/vendor/chunk-SI2USXGZ.mjs +11 -0
  363. package/dist/plugin/vendor/chunk-SPPROPCC.mjs +170 -0
  364. package/dist/plugin/vendor/chunk-SQXDEDYI.mjs +546 -0
  365. package/dist/plugin/vendor/chunk-SQYE6Z6L.mjs +42 -0
  366. package/dist/plugin/vendor/chunk-SWQQG2OU.mjs +239 -0
  367. package/dist/plugin/vendor/chunk-SX4B2IQ3.mjs +2518 -0
  368. package/dist/plugin/vendor/chunk-TBQVNYEM.mjs +436 -0
  369. package/dist/plugin/vendor/chunk-TGAYH3M4.mjs +188 -0
  370. package/dist/plugin/vendor/chunk-THON4NP3.mjs +191 -0
  371. package/dist/plugin/vendor/chunk-TLFXOVSL.mjs +98 -0
  372. package/dist/plugin/vendor/chunk-TVA6AA5M.mjs +1025 -0
  373. package/dist/plugin/vendor/chunk-TWVAYKM7.mjs +49 -0
  374. package/dist/plugin/vendor/chunk-TZR3BRYX.mjs +498 -0
  375. package/dist/plugin/vendor/chunk-U3YPSLOP.mjs +24 -0
  376. package/dist/plugin/vendor/chunk-UDM2SKJK.mjs +164 -0
  377. package/dist/plugin/vendor/chunk-UGLVODPF.mjs +361 -0
  378. package/dist/plugin/vendor/chunk-UJVJ7MUT.mjs +176 -0
  379. package/dist/plugin/vendor/chunk-ULOYHXEI.mjs +362 -0
  380. package/dist/plugin/vendor/chunk-UOBBO5ND.mjs +34 -0
  381. package/dist/plugin/vendor/chunk-USITOZD6.mjs +58 -0
  382. package/dist/plugin/vendor/chunk-UTXKQBVI.mjs +74 -0
  383. package/dist/plugin/vendor/chunk-UVUCPMLL.mjs +103 -0
  384. package/dist/plugin/vendor/chunk-UZDCACTR.mjs +46 -0
  385. package/dist/plugin/vendor/chunk-V7MXDBUJ.mjs +282 -0
  386. package/dist/plugin/vendor/chunk-VAWWUTHJ.mjs +79 -0
  387. package/dist/plugin/vendor/chunk-VCZ73YX5.mjs +144 -0
  388. package/dist/plugin/vendor/chunk-VOFUHXHF.mjs +4995 -0
  389. package/dist/plugin/vendor/chunk-VSAZGXXL.mjs +42 -0
  390. package/dist/plugin/vendor/chunk-VSXVBWWV.mjs +272 -0
  391. package/dist/plugin/vendor/chunk-VW63NQE7.mjs +288 -0
  392. package/dist/plugin/vendor/chunk-VWVKGNK2.mjs +739 -0
  393. package/dist/plugin/vendor/chunk-VXC2JOYV.mjs +193 -0
  394. package/dist/plugin/vendor/chunk-VY7CLBQS.mjs +751 -0
  395. package/dist/plugin/vendor/chunk-W26D6ALY.mjs +15 -0
  396. package/dist/plugin/vendor/chunk-W4MRU4RQ.mjs +67 -0
  397. package/dist/plugin/vendor/chunk-WOQTGIL6.mjs +29 -0
  398. package/dist/plugin/vendor/chunk-WSLUUYUI.mjs +8 -0
  399. package/dist/plugin/vendor/chunk-WWHEPZDM.mjs +9304 -0
  400. package/dist/plugin/vendor/chunk-XHGR23VH.mjs +62 -0
  401. package/dist/plugin/vendor/chunk-XMQUSELL.mjs +11 -0
  402. package/dist/plugin/vendor/chunk-XP3ZDHZK.mjs +30 -0
  403. package/dist/plugin/vendor/chunk-XV53RZRO.mjs +192 -0
  404. package/dist/plugin/vendor/chunk-XXOQQF5M.mjs +164 -0
  405. package/dist/plugin/vendor/chunk-XYFLGLOV.mjs +943 -0
  406. package/dist/plugin/vendor/chunk-Y6PSU23P.mjs +148 -0
  407. package/dist/plugin/vendor/chunk-YBSYHLXD.mjs +487 -0
  408. package/dist/plugin/vendor/chunk-YC4L3VY2.mjs +76 -0
  409. package/dist/plugin/vendor/chunk-YQUOPPUA.mjs +15 -0
  410. package/dist/plugin/vendor/chunk-YVQHXDHK.mjs +711 -0
  411. package/dist/plugin/vendor/chunk-Z2TO5SIX.mjs +47 -0
  412. package/dist/plugin/vendor/chunk-Z3QI65Q6.mjs +29 -0
  413. package/dist/plugin/vendor/chunk-Z3UWHKP2.mjs +487 -0
  414. package/dist/plugin/vendor/chunk-Z5FYRB4X.mjs +57 -0
  415. package/dist/plugin/vendor/chunk-Z63WJAM7.mjs +203 -0
  416. package/dist/plugin/vendor/chunk-ZCAOVVET.mjs +653 -0
  417. package/dist/plugin/vendor/chunk-ZIBQ44IO.mjs +293 -0
  418. package/dist/plugin/vendor/chunk-ZV5ZHJXX.mjs +122 -0
  419. package/dist/plugin/vendor/effect/Array.mjs +292 -0
  420. package/dist/plugin/vendor/effect/Cause.mjs +151 -0
  421. package/dist/plugin/vendor/effect/Clock.mjs +43 -0
  422. package/dist/plugin/vendor/effect/Config.mjs +568 -0
  423. package/dist/plugin/vendor/effect/Context.mjs +67 -0
  424. package/dist/plugin/vendor/effect/Cron.mjs +63 -0
  425. package/dist/plugin/vendor/effect/Data.mjs +26 -0
  426. package/dist/plugin/vendor/effect/DateTime.mjs +224 -0
  427. package/dist/plugin/vendor/effect/Deferred.mjs +77 -0
  428. package/dist/plugin/vendor/effect/Duration.mjs +124 -0
  429. package/dist/plugin/vendor/effect/Effect.mjs +503 -0
  430. package/dist/plugin/vendor/effect/Effectable.mjs +22 -0
  431. package/dist/plugin/vendor/effect/Equal.mjs +27 -0
  432. package/dist/plugin/vendor/effect/Exit.mjs +87 -0
  433. package/dist/plugin/vendor/effect/Fiber.mjs +55 -0
  434. package/dist/plugin/vendor/effect/Function.mjs +52 -0
  435. package/dist/plugin/vendor/effect/Graph.mjs +3975 -0
  436. package/dist/plugin/vendor/effect/Hash.mjs +32 -0
  437. package/dist/plugin/vendor/effect/HashMap.mjs +97 -0
  438. package/dist/plugin/vendor/effect/Inspectable.mjs +21 -0
  439. package/dist/plugin/vendor/effect/Layer.mjs +123 -0
  440. package/dist/plugin/vendor/effect/ManagedRuntime.mjs +162 -0
  441. package/dist/plugin/vendor/effect/Match.mjs +380 -0
  442. package/dist/plugin/vendor/effect/Number.mjs +80 -0
  443. package/dist/plugin/vendor/effect/Option.mjs +139 -0
  444. package/dist/plugin/vendor/effect/Pipeable.mjs +15 -0
  445. package/dist/plugin/vendor/effect/Predicate.mjs +103 -0
  446. package/dist/plugin/vendor/effect/PubSub.mjs +113 -0
  447. package/dist/plugin/vendor/effect/Queue.mjs +115 -0
  448. package/dist/plugin/vendor/effect/Record.mjs +105 -0
  449. package/dist/plugin/vendor/effect/Redactable.mjs +20 -0
  450. package/dist/plugin/vendor/effect/Redacted.mjs +27 -0
  451. package/dist/plugin/vendor/effect/Ref.mjs +77 -0
  452. package/dist/plugin/vendor/effect/Result.mjs +98 -0
  453. package/dist/plugin/vendor/effect/Schedule.mjs +104 -0
  454. package/dist/plugin/vendor/effect/Scheduler.mjs +30 -0
  455. package/dist/plugin/vendor/effect/Schema.mjs +794 -0
  456. package/dist/plugin/vendor/effect/SchemaAST.mjs +319 -0
  457. package/dist/plugin/vendor/effect/SchemaIssue.mjs +76 -0
  458. package/dist/plugin/vendor/effect/SchemaTransformation.mjs +150 -0
  459. package/dist/plugin/vendor/effect/Scope.mjs +55 -0
  460. package/dist/plugin/vendor/effect/Semaphore.mjs +53 -0
  461. package/dist/plugin/vendor/effect/Stream.mjs +530 -0
  462. package/dist/plugin/vendor/effect/String.mjs +142 -0
  463. package/dist/plugin/vendor/effect/Struct.mjs +48 -0
  464. package/dist/plugin/vendor/effect/Tracer.mjs +47 -0
  465. package/dist/plugin/vendor/effect/Tuple.mjs +47 -0
  466. package/dist/plugin/vendor/effect/Version.mjs +17 -0
  467. package/dist/plugin/vendor/effect/ai/AiError.mjs +119 -0
  468. package/dist/plugin/vendor/effect/ai/AnthropicStructuredOutput.mjs +165 -0
  469. package/dist/plugin/vendor/effect/ai/IdGenerator.mjs +54 -0
  470. package/dist/plugin/vendor/effect/ai/LanguageModel.mjs +1509 -0
  471. package/dist/plugin/vendor/effect/ai/Model.mjs +90 -0
  472. package/dist/plugin/vendor/effect/ai/Prompt.mjs +145 -0
  473. package/dist/plugin/vendor/effect/ai/Telemetry.mjs +31 -0
  474. package/dist/plugin/vendor/effect/ai/Tool.mjs +112 -0
  475. package/dist/plugin/vendor/effect/ai/Toolkit.mjs +78 -0
  476. package/dist/plugin/vendor/effect/encoding/Base64.mjs +27 -0
  477. package/dist/plugin/vendor/effect/encoding/Sse.mjs +411 -0
  478. package/dist/plugin/vendor/effect/http/FetchHttpClient.mjs +142 -0
  479. package/dist/plugin/vendor/effect/http/Headers.mjs +57 -0
  480. package/dist/plugin/vendor/effect/http/HttpBody.mjs +111 -0
  481. package/dist/plugin/vendor/effect/http/HttpClient.mjs +155 -0
  482. package/dist/plugin/vendor/effect/http/HttpClientError.mjs +77 -0
  483. package/dist/plugin/vendor/effect/http/HttpClientRequest.mjs +166 -0
  484. package/dist/plugin/vendor/effect/http/HttpClientResponse.mjs +94 -0
  485. package/dist/plugin/vendor/effect/persistence/KeyValueStore.mjs +94 -0
  486. package/dist/plugin/vendor/effect/reactivity/AsyncResult.mjs +127 -0
  487. package/dist/plugin/vendor/effect/reactivity/Atom.mjs +1198 -0
  488. package/dist/plugin/vendor/effect/reactivity/AtomRegistry.mjs +95 -0
  489. package/dist/plugin/vendor/effect/reactivity/Reactivity.mjs +73 -0
  490. package/dist/plugin/vendor/effect/rpc/Rpc.mjs +91 -0
  491. package/dist/plugin/vendor/effect/rpc/RpcClient.mjs +111 -0
  492. package/dist/plugin/vendor/effect/rpc/RpcClientError.mjs +75 -0
  493. package/dist/plugin/vendor/effect/rpc/RpcGroup.mjs +235 -0
  494. package/dist/plugin/vendor/effect/rpc/RpcMessage.mjs +77 -0
  495. package/dist/plugin/vendor/effect/rpc/RpcMiddleware.mjs +110 -0
  496. package/dist/plugin/vendor/effect/rpc/RpcSchema.mjs +76 -0
  497. package/dist/plugin/vendor/effect/rpc/RpcSerialization.mjs +94 -0
  498. package/dist/plugin/vendor/effect/rpc/RpcServer.mjs +122 -0
  499. package/dist/plugin/vendor/effect/rpc/RpcTest.mjs +117 -0
  500. package/dist/plugin/vendor/effect/sql/Migrator.mjs +277 -0
  501. package/dist/plugin/vendor/effect/sql/SqlClient.mjs +83 -0
  502. package/dist/plugin/vendor/effect/sql/SqlError.mjs +93 -0
  503. package/dist/plugin/vendor/effect/sql/Statement.mjs +109 -0
  504. package/dist/plugin/vendor/effect/workers/Transferable.mjs +77 -0
  505. package/dist/plugin/vendor/effect/workers/Worker.mjs +73 -0
  506. package/dist/plugin/vendor/effect/workers/WorkerError.mjs +73 -0
  507. package/dist/plugin/vendor/effect/workers/WorkerRunner.mjs +24 -0
  508. package/dist/plugin/vendor/manifest.json +203 -0
  509. package/dist/types/dx.config.d.ts +19 -11
  510. package/dist/types/dx.config.d.ts.map +1 -1
  511. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  512. package/dist/types/src/capabilities/chart-types.d.ts +8 -0
  513. package/dist/types/src/capabilities/chart-types.d.ts.map +1 -0
  514. package/dist/types/src/capabilities/compute-graph-registry.d.ts +1 -1
  515. package/dist/types/src/capabilities/create-object.d.ts +1 -1
  516. package/dist/types/src/capabilities/exporter.d.ts +7 -0
  517. package/dist/types/src/capabilities/exporter.d.ts.map +1 -0
  518. package/dist/types/src/capabilities/exporter.test.d.ts +2 -0
  519. package/dist/types/src/capabilities/exporter.test.d.ts.map +1 -0
  520. package/dist/types/src/capabilities/locator.d.ts +5 -0
  521. package/dist/types/src/capabilities/locator.d.ts.map +1 -0
  522. package/dist/types/src/capabilities/markdown-extension.d.ts +1 -1
  523. package/dist/types/src/capabilities/migrations.d.ts +7 -0
  524. package/dist/types/src/capabilities/migrations.d.ts.map +1 -0
  525. package/dist/types/src/capabilities/migrations.test.d.ts +2 -0
  526. package/dist/types/src/capabilities/migrations.test.d.ts.map +1 -0
  527. package/dist/types/src/capabilities/operation-handler.headless.d.ts +5 -0
  528. package/dist/types/src/capabilities/operation-handler.headless.d.ts.map +1 -0
  529. package/dist/types/src/capabilities/schema.d.ts +1 -1
  530. package/dist/types/src/capabilities/space-templates.d.ts +14 -0
  531. package/dist/types/src/capabilities/space-templates.d.ts.map +1 -0
  532. package/dist/types/src/capabilities/state.d.ts +1 -1
  533. package/dist/types/src/components/ChartCompanion/ChartCompanion.d.ts +14 -4
  534. package/dist/types/src/components/ChartCompanion/ChartCompanion.d.ts.map +1 -1
  535. package/dist/types/src/components/ChartCompanion/ChartCompanion.stories.d.ts +148 -3
  536. package/dist/types/src/components/ChartCompanion/ChartCompanion.stories.d.ts.map +1 -1
  537. package/dist/types/src/components/ChartCompanion/ChartView.d.ts +19 -0
  538. package/dist/types/src/components/ChartCompanion/ChartView.d.ts.map +1 -0
  539. package/dist/types/src/components/ChartCompanion/SheetCharts.d.ts +15 -0
  540. package/dist/types/src/components/ChartCompanion/SheetCharts.d.ts.map +1 -0
  541. package/dist/types/src/components/ChartCompanion/TimelineChart.d.ts +16 -0
  542. package/dist/types/src/components/ChartCompanion/TimelineChart.d.ts.map +1 -0
  543. package/dist/types/src/components/ChartCompanion/TimelineChart.stories.d.ts +413 -0
  544. package/dist/types/src/components/ChartCompanion/TimelineChart.stories.d.ts.map +1 -0
  545. package/dist/types/src/components/ChartCompanion/index.d.ts +3 -0
  546. package/dist/types/src/components/ChartCompanion/index.d.ts.map +1 -1
  547. package/dist/types/src/components/FormattingToolbar/FormattingToolbar.d.ts +19 -0
  548. package/dist/types/src/components/FormattingToolbar/FormattingToolbar.d.ts.map +1 -0
  549. package/dist/types/src/components/FormattingToolbar/formatting.d.ts +28 -0
  550. package/dist/types/src/components/FormattingToolbar/formatting.d.ts.map +1 -0
  551. package/dist/types/src/components/FormattingToolbar/formatting.test.d.ts +2 -0
  552. package/dist/types/src/components/FormattingToolbar/formatting.test.d.ts.map +1 -0
  553. package/dist/types/src/components/FormattingToolbar/index.d.ts +3 -0
  554. package/dist/types/src/components/FormattingToolbar/index.d.ts.map +1 -0
  555. package/dist/types/src/components/SheetContent/SheetContent.d.ts +4 -1
  556. package/dist/types/src/components/SheetContent/SheetContent.d.ts.map +1 -1
  557. package/dist/types/src/components/SheetContent/SheetContent.stories.d.ts +139 -2
  558. package/dist/types/src/components/SheetContent/SheetContent.stories.d.ts.map +1 -1
  559. package/dist/types/src/components/SheetContent/fit.d.ts +29 -0
  560. package/dist/types/src/components/SheetContent/fit.d.ts.map +1 -0
  561. package/dist/types/src/components/SheetContent/highlight.d.ts +3 -0
  562. package/dist/types/src/components/SheetContent/highlight.d.ts.map +1 -0
  563. package/dist/types/src/components/SheetContent/highlight.test.d.ts +2 -0
  564. package/dist/types/src/components/SheetContent/highlight.test.d.ts.map +1 -0
  565. package/dist/types/src/components/SheetContent/util.d.ts.map +1 -1
  566. package/dist/types/src/components/SheetRoot/SheetRoot.d.ts +4 -4
  567. package/dist/types/src/components/SheetRoot/SheetRoot.d.ts.map +1 -1
  568. package/dist/types/src/components/SheetToolbar/SheetToolbar.d.ts +4 -0
  569. package/dist/types/src/components/SheetToolbar/SheetToolbar.d.ts.map +1 -1
  570. package/dist/types/src/components/SheetToolbar/SheetToolbar.stories.d.ts +133 -2
  571. package/dist/types/src/components/SheetToolbar/SheetToolbar.stories.d.ts.map +1 -1
  572. package/dist/types/src/components/index.d.ts +1 -0
  573. package/dist/types/src/components/index.d.ts.map +1 -1
  574. package/dist/types/src/containers/ChartArticle/ChartArticle.d.ts +9 -0
  575. package/dist/types/src/containers/ChartArticle/ChartArticle.d.ts.map +1 -0
  576. package/dist/types/src/containers/ChartArticle/index.d.ts +2 -0
  577. package/dist/types/src/containers/ChartArticle/index.d.ts.map +1 -0
  578. package/dist/types/src/containers/RangeList/RangeList.d.ts.map +1 -1
  579. package/dist/types/src/containers/SheetArticle/SheetArticle.d.ts.map +1 -1
  580. package/dist/types/src/containers/SheetArticle/SheetArticle.stories.d.ts +142 -3
  581. package/dist/types/src/containers/SheetArticle/SheetArticle.stories.d.ts.map +1 -1
  582. package/dist/types/src/containers/SheetChartsCompanion/SheetChartsCompanion.d.ts.map +1 -1
  583. package/dist/types/src/containers/index.d.ts +1 -0
  584. package/dist/types/src/containers/index.d.ts.map +1 -1
  585. package/dist/types/src/index.d.ts +1 -1
  586. package/dist/types/src/index.d.ts.map +1 -1
  587. package/dist/types/src/integrations/thread-ranges.d.ts +5 -3
  588. package/dist/types/src/integrations/thread-ranges.d.ts.map +1 -1
  589. package/dist/types/src/integrations/thread-ranges.test.d.ts +2 -0
  590. package/dist/types/src/integrations/thread-ranges.test.d.ts.map +1 -0
  591. package/dist/types/src/model/sheet-model.d.ts.map +1 -1
  592. package/dist/types/src/namespace.d.ts +7 -0
  593. package/dist/types/src/namespace.d.ts.map +1 -0
  594. package/dist/types/src/operations/add-chart.d.ts +5 -0
  595. package/dist/types/src/operations/add-chart.d.ts.map +1 -0
  596. package/dist/types/src/operations/add-chart.test.d.ts +2 -0
  597. package/dist/types/src/operations/add-chart.test.d.ts.map +1 -0
  598. package/dist/types/src/operations/create.d.ts.map +1 -1
  599. package/dist/types/src/operations/index.d.ts.map +1 -1
  600. package/dist/types/src/operations/scroll-to-anchor.d.ts.map +1 -1
  601. package/dist/types/src/samples/sales/SalesSpace.d.ts +10 -0
  602. package/dist/types/src/samples/sales/SalesSpace.d.ts.map +1 -0
  603. package/dist/types/src/samples/sales/SalesSpace.test.d.ts +2 -0
  604. package/dist/types/src/samples/sales/SalesSpace.test.d.ts.map +1 -0
  605. package/dist/types/src/samples/sales/index.d.ts +3 -0
  606. package/dist/types/src/samples/sales/index.d.ts.map +1 -0
  607. package/dist/types/src/samples/sales/partial.d.ts +7 -0
  608. package/dist/types/src/samples/sales/partial.d.ts.map +1 -0
  609. package/dist/types/src/skills/sheet-skill.d.ts.map +1 -1
  610. package/dist/types/src/testing/SheetCompanionFrame.d.ts +22 -0
  611. package/dist/types/src/testing/SheetCompanionFrame.d.ts.map +1 -0
  612. package/dist/types/src/testing/data.d.ts +9 -0
  613. package/dist/types/src/testing/data.d.ts.map +1 -1
  614. package/dist/types/src/testing/index.d.ts +2 -0
  615. package/dist/types/src/testing/index.d.ts.map +1 -1
  616. package/dist/types/src/testing/testing.d.ts +6 -1
  617. package/dist/types/src/testing/testing.d.ts.map +1 -1
  618. package/dist/types/src/testing/timeline.d.ts +12 -0
  619. package/dist/types/src/testing/timeline.d.ts.map +1 -0
  620. package/dist/types/src/translations.d.ts +133 -2
  621. package/dist/types/src/translations.d.ts.map +1 -1
  622. package/dist/types/src/types/LegacySheet.d.ts +87 -0
  623. package/dist/types/src/types/LegacySheet.d.ts.map +1 -0
  624. package/dist/types/src/types/Sheet.d.ts +99 -18
  625. package/dist/types/src/types/Sheet.d.ts.map +1 -1
  626. package/dist/types/src/types/SheetCapabilities.d.ts +31 -3
  627. package/dist/types/src/types/SheetCapabilities.d.ts.map +1 -1
  628. package/dist/types/src/types/SheetEvents.d.ts.map +1 -1
  629. package/dist/types/src/types/SheetOperation.d.ts +23 -4
  630. package/dist/types/src/types/SheetOperation.d.ts.map +1 -1
  631. package/dist/types/src/types/SheetRange.d.ts +7 -0
  632. package/dist/types/src/types/SheetRange.d.ts.map +1 -1
  633. package/dist/types/src/types/SheetUtil.d.ts +24 -3
  634. package/dist/types/src/types/SheetUtil.d.ts.map +1 -1
  635. package/dist/types/src/types/SheetUtil.test.d.ts +2 -0
  636. package/dist/types/src/types/SheetUtil.test.d.ts.map +1 -0
  637. package/dist/types/src/types/index.d.ts +1 -0
  638. package/dist/types/src/types/index.d.ts.map +1 -1
  639. package/dist/types/tsconfig.tsbuildinfo +1 -1
  640. package/dx.config.ts +131 -3
  641. package/package.json +74 -86
  642. package/src/SheetPlugin.workerd.test.ts +4 -4
  643. package/src/capabilities/anchor-sort.ts +6 -3
  644. package/src/capabilities/app-graph-builder.ts +3 -2
  645. package/src/capabilities/chart-types.tsx +55 -0
  646. package/src/capabilities/comment-config.ts +2 -2
  647. package/src/capabilities/exporter.test.ts +23 -0
  648. package/src/capabilities/exporter.ts +89 -0
  649. package/src/capabilities/locator.ts +21 -0
  650. package/src/capabilities/migrations.test.ts +112 -0
  651. package/src/capabilities/migrations.ts +31 -0
  652. package/src/capabilities/operation-handler.headless.ts +16 -0
  653. package/src/capabilities/operation-handler.ts +1 -1
  654. package/src/capabilities/react-surface.ts +12 -1
  655. package/src/capabilities/schema.ts +1 -1
  656. package/src/capabilities/space-templates.ts +9 -0
  657. package/src/capabilities/state.ts +2 -2
  658. package/src/capabilities/undo-mappings.ts +3 -2
  659. package/src/components/ChartCompanion/ChartCompanion.stories.tsx +65 -60
  660. package/src/components/ChartCompanion/ChartCompanion.tsx +131 -89
  661. package/src/components/ChartCompanion/ChartView.tsx +51 -0
  662. package/src/components/ChartCompanion/SheetCharts.tsx +81 -0
  663. package/src/components/ChartCompanion/TimelineChart.stories.tsx +110 -0
  664. package/src/components/ChartCompanion/TimelineChart.tsx +248 -0
  665. package/src/components/ChartCompanion/index.ts +3 -0
  666. package/src/components/ComputeGraph/compute-graph.stories.tsx +1 -1
  667. package/src/components/FormattingToolbar/FormattingToolbar.tsx +89 -0
  668. package/src/components/FormattingToolbar/formatting.test.ts +56 -0
  669. package/src/components/FormattingToolbar/formatting.ts +89 -0
  670. package/src/components/FormattingToolbar/index.ts +6 -0
  671. package/src/components/SheetContent/SheetCellEditor.stories.tsx +1 -1
  672. package/src/components/SheetContent/SheetContent.stories.tsx +90 -4
  673. package/src/components/SheetContent/SheetContent.tsx +99 -51
  674. package/src/components/SheetContent/fit.tsx +86 -0
  675. package/src/components/SheetContent/highlight.test.ts +21 -0
  676. package/src/components/SheetContent/highlight.ts +63 -0
  677. package/src/components/SheetContent/util.ts +5 -1
  678. package/src/components/SheetRoot/SheetRoot.tsx +54 -32
  679. package/src/components/SheetToolbar/SheetToolbar.tsx +50 -57
  680. package/src/components/index.ts +1 -0
  681. package/src/containers/ChartArticle/ChartArticle.tsx +77 -0
  682. package/src/containers/ChartArticle/index.ts +5 -0
  683. package/src/containers/RangeList/RangeList.tsx +119 -43
  684. package/src/containers/SheetArticle/SheetArticle.stories.tsx +60 -3
  685. package/src/containers/SheetArticle/SheetArticle.tsx +27 -6
  686. package/src/containers/SheetChartsCompanion/SheetChartsCompanion.tsx +8 -42
  687. package/src/containers/index.ts +1 -0
  688. package/src/extensions/compute.stories.tsx +1 -1
  689. package/src/index.ts +1 -1
  690. package/src/integrations/thread-ranges.test.ts +34 -0
  691. package/src/integrations/thread-ranges.ts +33 -34
  692. package/src/model/sheet-model.ts +7 -5
  693. package/src/namespace.ts +8 -0
  694. package/src/operations/add-chart.test.ts +64 -0
  695. package/src/operations/add-chart.ts +29 -0
  696. package/src/operations/create.ts +10 -5
  697. package/src/operations/index.ts +1 -0
  698. package/src/operations/scroll-to-anchor.ts +14 -7
  699. package/src/playwright/sheet.spec.ts +12 -5
  700. package/src/plugin.test.ts +10 -6
  701. package/src/samples/sales/SalesSpace.test.ts +40 -0
  702. package/src/samples/sales/SalesSpace.ts +29 -0
  703. package/src/samples/sales/index.ts +6 -0
  704. package/src/samples/sales/partial.ts +48 -0
  705. package/src/skills/sheet-skill.ts +9 -1
  706. package/src/testing/SheetCompanionFrame.tsx +105 -0
  707. package/src/testing/data.ts +22 -1
  708. package/src/testing/index.ts +2 -0
  709. package/src/testing/testing.tsx +18 -2
  710. package/src/testing/timeline.ts +277 -0
  711. package/src/translations.ts +35 -4
  712. package/src/types/LegacySheet.ts +36 -0
  713. package/src/types/Sheet.ts +106 -13
  714. package/src/types/SheetCapabilities.ts +38 -6
  715. package/src/types/SheetEvents.ts +2 -2
  716. package/src/types/SheetOperation.ts +46 -6
  717. package/src/types/SheetRange.test.ts +18 -0
  718. package/src/types/SheetRange.ts +15 -0
  719. package/src/types/SheetUtil.test.ts +79 -0
  720. package/src/types/SheetUtil.ts +89 -11
  721. package/src/types/index.ts +1 -0
  722. package/dist/lib/capabilities.browser.mjs +0 -85
  723. package/dist/lib/capabilities.browser.mjs.map +0 -1
  724. package/dist/lib/capabilities.mjs +0 -85
  725. package/dist/lib/capabilities.mjs.map +0 -1
  726. package/dist/lib/capabilities.node.mjs +0 -71
  727. package/dist/lib/capabilities.node.mjs.map +0 -1
  728. package/dist/lib/capabilities.tauri.mjs +0 -85
  729. package/dist/lib/capabilities.tauri.mjs.map +0 -1
  730. package/dist/lib/capabilities.workerd.mjs +0 -27
  731. package/dist/lib/capabilities.workerd.mjs.map +0 -1
  732. package/dist/lib/chunk-SheetPlugin.mjs +0 -16
  733. package/dist/lib/chunk-SheetPlugin.mjs.map +0 -1
  734. package/dist/lib/chunk-thread-ranges.mjs +0 -60
  735. package/dist/lib/chunk-thread-ranges.mjs.map +0 -1
  736. package/dist/lib/meta.mjs +0 -42
  737. package/dist/lib/meta.mjs.map +0 -1
  738. package/dist/lib/node.mjs.map +0 -1
  739. package/dist/lib/operations/node.mjs +0 -1
  740. package/dist/lib/plugin.mjs +0 -9
  741. package/dist/lib/plugin.mjs.map +0 -1
  742. package/dist/types/src/SheetPlugin.d.ts +0 -37
  743. package/dist/types/src/SheetPlugin.d.ts.map +0 -1
  744. package/dist/types/src/capabilities/gen/browser.d.ts +0 -16
  745. package/dist/types/src/capabilities/gen/browser.d.ts.map +0 -1
  746. package/dist/types/src/capabilities/gen/node.d.ts +0 -16
  747. package/dist/types/src/capabilities/gen/node.d.ts.map +0 -1
  748. package/dist/types/src/capabilities/gen/tauri.d.ts +0 -16
  749. package/dist/types/src/capabilities/gen/tauri.d.ts.map +0 -1
  750. package/dist/types/src/capabilities/gen/workerd.d.ts +0 -16
  751. package/dist/types/src/capabilities/gen/workerd.d.ts.map +0 -1
  752. package/dist/types/src/capabilities/index.d.ts +0 -16
  753. package/dist/types/src/capabilities/index.d.ts.map +0 -1
  754. package/dist/types/src/components/SheetToolbar/align.d.ts +0 -24
  755. package/dist/types/src/components/SheetToolbar/align.d.ts.map +0 -1
  756. package/dist/types/src/components/SheetToolbar/style.d.ts +0 -22
  757. package/dist/types/src/components/SheetToolbar/style.d.ts.map +0 -1
  758. package/dist/types/src/components/SheetToolbar/useToolbarState.d.ts +0 -10
  759. package/dist/types/src/components/SheetToolbar/useToolbarState.d.ts.map +0 -1
  760. package/dist/types/src/meta.d.ts +0 -33
  761. package/dist/types/src/meta.d.ts.map +0 -1
  762. package/dist/types/src/plugin.d.ts +0 -4
  763. package/dist/types/src/plugin.d.ts.map +0 -1
  764. package/src/SheetPlugin.ts +0 -15
  765. package/src/capabilities/gen/browser.ts +0 -99
  766. package/src/capabilities/gen/node.ts +0 -85
  767. package/src/capabilities/gen/tauri.ts +0 -99
  768. package/src/capabilities/gen/workerd.ts +0 -40
  769. package/src/capabilities/index.ts +0 -84
  770. package/src/components/SheetToolbar/align.ts +0 -127
  771. package/src/components/SheetToolbar/style.ts +0 -140
  772. package/src/components/SheetToolbar/useToolbarState.ts +0 -19
  773. package/src/meta.ts +0 -9
  774. package/src/plugin.tsx +0 -43
package/PLUGIN.mdl CHANGED
@@ -6,6 +6,12 @@ version: 0.1.0
6
6
 
7
7
  Spreadsheet plugin for `DXOS` Composer — a full-featured grid backed by ECHO for local-first, real-time collaborative data entry, formula evaluation, and structured data display.
8
8
 
9
+ ## Dependencies
10
+
11
+ ```mdl
12
+ uses org.dxos.plugin.space: Following a peer reveals their place in a sheet without moving the focused cell.
13
+ ```
14
+
9
15
  ## Extensions
10
16
 
11
17
  The following extension dialects are used in this document.
@@ -19,6 +25,8 @@ Each extension is defined in the Appendix or resolved via its URI.
19
25
  | `component` | `org.dxos.mdl.component@1.0` |
20
26
  | `op` | `org.dxos.mdl.op@1.1` |
21
27
  | `test` | `org.dxos.mdl.test@1.0` |
28
+ | `decision` | `org.dxos.mdl.decision@1.0` |
29
+ | `uses` | `dxos.spec.core/uses` |
22
30
 
23
31
  ## Types
24
32
 
@@ -153,11 +161,12 @@ op restoreAxis
153
161
  ```mdl
154
162
  op scrollToAnchor
155
163
  key: org.dxos.operation.sheet.scrollToAnchor
156
- desc: Programmatically scrolls and highlights a cell range in an active grid instance.
164
+ desc: Programmatically scrolls and highlights a cell range in an active grid instance; it is the sheet's `Locator` reveal.
157
165
  input:
158
166
  subject: string # attendable ID of the target sheet
159
- cursor: string # A1-notation cell or range
160
- ref?: any # active refs for highlight overlay
167
+ anchor: string # cell-range anchor (see [F-7.3])
168
+ focus?: boolean # default true; false scrolls the range's first cell to the top left and leaves the focused cell
169
+ thread?: any # active refs for highlight overlay
161
170
  output: void
162
171
  effects: [ui:scroll]
163
172
  ```
@@ -175,7 +184,26 @@ op create
175
184
  output: { id: string } # DXN of the created sheet
176
185
  effects: [echo:write]
177
186
  requires: [Database.Service]
187
+ ```
178
188
 
189
+ ```mdl
190
+ op addChart
191
+ key: org.dxos.operation.sheet.addChart
192
+ desc: Adds a chart of a range of a sheet; the chart is its own object, owned by the sheet, and shows in its Charts companion.
193
+ input:
194
+ sheet: Ref<Sheet>
195
+ range: string # A1 notation, e.g. "A1:C6"
196
+ type: string # a contributed chart type (see [D-5])
197
+ name?: string
198
+ header?: boolean # the first row holds the series names
199
+ horizontal?: boolean
200
+ stacked?: boolean
201
+ output: { id: string } # URI of the created chart
202
+ effects: [echo:write]
203
+ requires: [Database.Service]
204
+ ```
205
+
206
+ ```mdl
179
207
  op getRange
180
208
  key: org.dxos.operation.sheet.getRange
181
209
  desc: Reads cell values from a sheet as a 2D array. Omit `range` for the entire occupied area.
@@ -185,7 +213,9 @@ op getRange
185
213
  output: { values: any[][], range: string }
186
214
  effects: [echo:read]
187
215
  requires: [Database.Service]
216
+ ```
188
217
 
218
+ ```mdl
189
219
  op setRange
190
220
  key: org.dxos.operation.sheet.setRange
191
221
  desc: Sets multiple cell values in a sheet at once, keyed by A1 address.
@@ -201,6 +231,7 @@ op setRange
201
231
 
202
232
  ```mdl
203
233
  feat F-1: Sheet Object
234
+ uses: [Sheet]
204
235
 
205
236
  req F-1.1: A Sheet is an ECHO object with typename org.dxos.type.sheet persisted in the user's space.
206
237
  req F-1.2: Cells are stored in a sparse map keyed by internal row/column indices.
@@ -221,6 +252,7 @@ feat F-2: Formula Evaluation
221
252
 
222
253
  ```mdl
223
254
  feat F-3: Row and Column Management
255
+ uses: [dropAxis, insertAxis, restoreAxis]
224
256
 
225
257
  req F-3.1:
226
258
  when: op:insertAxis is called
@@ -235,6 +267,7 @@ feat F-3: Row and Column Management
235
267
 
236
268
  ```mdl
237
269
  feat F-4: Cell Formatting
270
+ uses: [RangeList]
238
271
 
239
272
  req F-4.1: Ranges support alignment values: start | center | end.
240
273
  req F-4.2: Ranges support comment annotations displayed as a visual overlay on the cell.
@@ -251,6 +284,9 @@ feat F-5: Collaborative Editing
251
284
  then: the local grid re-renders with the updated value without full reload
252
285
 
253
286
  req F-5.3: ComputeGraphRegistry manages per-space HyperFormula instances so all peers share the same formula graph.
287
+ req F-5.4:
288
+ when: another member selects a cell or range in a sheet the reader has open
289
+ then: the reader sees that range outlined in the member's hue with their name, until the member selects elsewhere or closes the sheet
254
290
  ```
255
291
 
256
292
  ```mdl
@@ -264,12 +300,42 @@ feat F-6: Markdown Integration
264
300
 
265
301
  ```mdl
266
302
  feat F-7: Anchor Navigation
303
+ uses: [scrollToAnchor, SheetArticle]
267
304
 
268
305
  req F-7.1:
269
- when: op:scrollToAnchor is invoked with a sheet attendable ID and cursor
306
+ when: op:scrollToAnchor is invoked with a sheet attendable ID and anchor
270
307
  then: the corresponding SheetArticle scrolls to the target cell and applies the active-ref highlight
271
308
 
272
- req F-7.2: AnchorSort contributes a sort comparator so sheet anchors appear in canonical order in navigation menus.
309
+ req F-7.2: AnchorSort contributes a sort comparator so sheet anchors appear in canonical order in navigation menus: by the range's top-left cell, row first, with anchors that no longer resolve last.
310
+
311
+ req F-7.3:
312
+ when: a comment is added on a selected cell range
313
+ then:
314
+ - its anchor names the range's first and last cells by row and column id (`colId@rowId:colId@rowId`), so the thread stays on those cells as rows and columns are inserted, deleted or moved
315
+ - the anchor no longer resolves once a row or column it names is deleted
316
+ - anchors in A1 notation or `col,row,col,row` resolve to those positions in the current sheet
317
+
318
+ req F-7.4:
319
+ when: the reader moves the cell cursor into a commented range
320
+ then: that range's thread becomes the current comment
321
+ ```
322
+
323
+ ```mdl
324
+ feat F-8: Chart Types
325
+
326
+ req F-8.1: Every chart type the Charts companion draws is a `SheetCapabilities.ChartType` contribution: the type a chart stores, a label, an icon and a component that draws the chart's range. The sheet contributes bar, pie, XY, scatter, heatmap, radar, map and timeline this way, and another plugin adds one the same way [D-5].
327
+ req F-8.2:
328
+ when: the reader edits a chart
329
+ then: the chart-type select lists every contributed type by its label and icon
330
+ req F-8.3:
331
+ when: a chart's type is not contributed by any enabled plugin
332
+ then: the chart shows a message naming the type in place of the chart, and keeps its settings
333
+ ```
334
+
335
+ ```mdl
336
+ feat F-9: Read-only Host
337
+
338
+ req F-9.1: When the host contributes `ReadOnly`, no cell can be edited, the toolbar shows with every action disabled, and the Charts companion shows each chart with no way to add, edit or remove one.
273
339
  ```
274
340
 
275
341
  ## Acceptance
@@ -326,7 +392,7 @@ scenario T-5: Real-time collaboration
326
392
  ```mdl
327
393
  scenario T-6: Scroll to anchor
328
394
  given: a SheetArticle is mounted with attendableId "sheet-1"
329
- when: op:scrollToAnchor runs with subject="sheet-1", cursor="E10"
395
+ when: op:scrollToAnchor runs with subject="sheet-1" and the anchor of a comment on E10
330
396
  then:
331
397
  - the grid scrolls so that E10 is visible
332
398
  - E10 is highlighted via activeRefs
@@ -450,7 +516,9 @@ test QA-3: Chart a sales report in the Charts companion
450
516
  - name: Switch back to the bags sold chart
451
517
  do: Click "Bags sold by blend".
452
518
  expect: the bar chart returns and A1:D7 is selected in the sheet
519
+ ```
453
520
 
521
+ ```mdl
454
522
  test QA-4: Showcase clip
455
523
  desc: |
456
524
  The 10s showcase clip: Fill a sheet with values and formulas. Recorded light at 60 fps with no ident, captions or
@@ -470,8 +538,196 @@ test QA-4: Showcase clip
470
538
  expect: the formulas compute as each row is entered
471
539
  ```
472
540
 
541
+ ```mdl
542
+ test QA-5: See a collaborator's selection
543
+ desc: Two members open the same sheet; each sees the other's selected range, and it goes when the other closes the sheet.
544
+ actors: human
545
+ covers: [F-5.4]
546
+ status: unverified
547
+ automated:
548
+ - composer-e2e:grid-selection.spec.ts#Grid selections › host and guest see each other's sheet selections until one leaves
549
+ given:
550
+ - two identities, host and guest, in two browsers
551
+ - space: a space of the host's with a Sheet in it, shared with the guest
552
+ steps:
553
+ - name: Both open the sheet
554
+ do: As host and as guest, open the sheet.
555
+ expect: both see the same empty grid
556
+ - name: The host selects a range
557
+ do: As host, click A2 and shift-click B3.
558
+ expect: the guest sees A2:B3 outlined in the host's colour, with the host's name above it
559
+ - name: The guest selects a cell
560
+ do: As guest, click B5.
561
+ expect: the host sees B5 outlined in the guest's colour, with the guest's name
562
+ - name: The guest leaves
563
+ do: As guest, close the sheet's plank.
564
+ expect: the guest's outline disappears from the host's grid
565
+ ```
566
+
567
+ ```mdl
568
+ test QA-6: An agent turns what its memory says into sheets with charts, a deck and a summary
569
+ desc: The artifacts demo — an agent with a fact store of the Cloudflare Developers Discord and the brain, sheet, presenter and markdown skills finds five things worth reporting, and makes a sheet and a chart for each, a deck of the charts, and a summary.
570
+ actors: human, agent
571
+ status: unverified
572
+ given:
573
+ - a fact server over the Cloudflare 60-day crawl's facts DB (`moon run plugin-discord:fact-server`)
574
+ - the stories-assistant `Artifacts › From Memory` story pointed at it (`VITE_FACT_SERVER_URL`), with a live model
575
+ steps:
576
+ - name: Ask for findings from memory
577
+ do: In the chat, ask the agent to explore its memory of the community, find the five most interesting things, and build a sheet and chart for each, a deck of the charts and a summary document.
578
+ expect: the agent queries the fact store, then creates the sheets one by one, each appearing as a tab in the Artifacts panel
579
+ - name: Read the deck
580
+ do: Open the presentation's tab.
581
+ expect: a cover slide and one slide per chart, each slide drawing its chart
582
+ - name: Open a finding
583
+ do: Open a sheet's tab.
584
+ expect: the rows the agent queried, with its chart drawn below
585
+ - name: Read the summary
586
+ do: Open the summary document's tab.
587
+ expect: a short markdown summary of the five findings, naming no person
588
+ note: Nothing is given to the agent but the request; what the findings are, their titles and their chart types are the model's, so they differ from take to take.
589
+ ```
590
+
591
+ ## Changelog
592
+
593
+ ```mdl
594
+ decision D-1: A sheet comment anchors to its cells' row and column ids, not their positions, so it follows its cells when rows or columns are inserted, deleted or moved; the sheet's comment config builds the anchor from its A1 selection.
595
+ date: 2026-10-29
596
+ by: agent:claude-code
597
+ for: user:wittjosiah
598
+ affects: [F-7.3, F-7.4, op:scrollToAnchor]
599
+ why: Positional anchors pointed at whatever cell moved into place, and the creation path, cell focus and scroll-to-anchor each parsed a different format, so none of them matched the stored A1 anchor.
600
+ rejected:
601
+ - Publish the sheet's selection as an index range: the range list, charts companion and assistant read it in A1 notation.
602
+ ```
603
+
604
+ ```mdl
605
+ decision D-2: Anchors stored before [D-1], in A1 notation or `col,row,col,row`, are read as positions on every read and never rewritten. Fills in [D-1].
606
+ date: 2026-10-29
607
+ by: agent:claude-code
608
+ for: user:wittjosiah
609
+ affects: [F-7.3]
610
+ why: Anchors live on `AnchoredTo` relations the sheet does not own, so a sheet migration cannot reach them, and their position is all they ever recorded.
611
+ rejected:
612
+ - Rewrite legacy anchors to index ranges when the sheet opens: a read would write to every peer's copy of the comments.
613
+ ```
614
+
615
+ ```mdl
616
+ decision D-3: Collaborators' selections are published by cell id on a `@dxos/protocols/Awareness` channel of their own, `awareness.selection.<id>`, and drawn in each member's hue with their name, the name and hue their Markdown cursor carries.
617
+ date: 2026-11-04
618
+ by: agent:claude-code
619
+ for: user:wittjosiah
620
+ affects: [F-5.4]
621
+ why: Ids keep a selection on its cells when a peer inserts or moves rows; the shared channel brings sessions, heartbeats and expiry, and a channel id of its own keeps grid selections and text cursors on one object apart.
622
+ rejected:
623
+ - Publish A1 positions: they point at whatever cell moved into place on the other side.
624
+ - Reuse the Markdown cursors' `awareness.<id>` channel with cell ids written as JSON into the caret's anchor and head strings: the editor and the grid on one object read each other's values.
625
+ ```
626
+
627
+ ```mdl
628
+ decision D-4: The published selection is what the member's grid shows, kept by cell id: focusing a header clears it, a row or column change moves the grid's highlight with it, and a selection whose row or column is gone keeps naming it, so the sheet's cursor is empty until the next click. Fills in [D-3].
629
+ date: 2026-11-06
630
+ by: agent:claude-code
631
+ for: user:wittjosiah
632
+ affects: [F-5.4]
633
+ why: A header names no cell, so keeping the last one showed peers a cell the member had left; a deleted row cannot be told apart from one a filter hides, so renaming the selection to the row now in its place published records the member never chose.
634
+ rejected:
635
+ - Keep the last cell selected while a header has focus: peers keep seeing a cell the member left.
636
+ - Rename the selection to the row now at its position when its row is gone: a filter makes that a record the member never chose.
637
+ ```
638
+
639
+ ```mdl
640
+ decision D-5: A chart's `type` is a string naming a `SheetCapabilities.ChartType` contribution, and the companion draws every chart through its type's component, which gets the chart's settings and its range as `PlotData` with the header row split off. The sheet's own types are contributions like any other plugin's; there is no built-in list. A new chart starts as the first contributed type. Contributed types add no settings of their own to the chart's form.
641
+ date: 2026-11-12
642
+ by: user:wittjosiah
643
+ affects: [F-8.1, F-8.2, F-8.3]
644
+ why: One path for every chart type, with no split between a fixed list the companion draws itself and the types plugins add.
645
+ rejected:
646
+ - Built-in types as a literal list beside contributed ones: two ways to name and draw a chart type.
647
+ - A Sankey panel of its own beside every sheet: it leaves the chart out of the companion's list and out of documents and slides, which embed `Sheet.Chart` objects.
648
+ ```
649
+
473
650
  ---
474
651
 
652
+ ```mdl
653
+ decision D-6: Revealing an anchor moves out of the comment config into a per-type `Locator`, which comments and peer presence both use.
654
+ date: 2026-11-04
655
+ by: user:wittjosiah
656
+ affects: [op:scrollToAnchor, F-7.1]
657
+ ```
658
+
659
+ ```mdl
660
+ decision D-7: The sheet publishes the anchor of its cell selection to the `ViewLocation` view-state aspect, and no viewport. Fills in [D-6].
661
+ date: 2026-11-04
662
+ by: agent:claude-code
663
+ for: user:wittjosiah
664
+ affects: [op:scrollToAnchor]
665
+ why: The selection anchor is the same form comments use, so the reveal needs no new case.
666
+ ```
667
+
668
+ ```mdl
669
+ decision D-8: With `follow`, the reveal scrolls the anchor's first cell to the top left and leaves the focused cell and the comment highlight alone, for following a peer (org.dxos.plugin.space#F-8.20). Fills in [D-7].
670
+ date: 2026-11-04
671
+ by: agent:claude-code
672
+ for: user:wittjosiah
673
+ affects: [op:scrollToAnchor]
674
+ why: Following must not move the follower's focus, and the grid offers no scroll that keeps a cell merely in view.
675
+ ```
676
+
677
+ ```mdl
678
+ decision D-9: The reveal's flag is `focus`, true by default; `focus: false` is what [D-8] called `follow`.
679
+ date: 2026-11-16
680
+ by: user:wittjosiah
681
+ affects: [op:scrollToAnchor]
682
+ why: What the flag decides is whether the reveal takes the caret and focus; following is only one reason not to.
683
+ ```
684
+
685
+ ```mdl
686
+ decision D-10: The `addChart` operation takes the chart type as a string and names this plugin's types in its description, rather than a literal list in its schema. Follows [D-5].
687
+ date: 2026-11-16
688
+ by: agent:claude-code
689
+ for: user:dmaretskyi
690
+ affects: [op:addChart]
691
+ why: A type another plugin contributes is as valid as the sheet's own, and the agent learns the common ones from the description and the skill.
692
+ rejected:
693
+ - A literal union of the sheet's types in the input schema: the built-in list D-5 rejected, and it refuses contributed types.
694
+ ```
695
+
696
+ ```mdl
697
+ decision D-11: Read-only handling is per plugin, through each plugin's options.
698
+ date: 2026-11-16
699
+ by: user:wittjosiah
700
+ affects: [F-9.1]
701
+ ```
702
+
703
+ ```mdl
704
+ decision D-12: A `readOnly` option makes every cell read-only, disables the toolbar rather than hiding it, and withholds the chart editing controls. Fills in [D-11].
705
+ date: 2026-11-16
706
+ by: agent:claude-code
707
+ for: user:wittjosiah
708
+ affects: [F-9.1]
709
+ why: A disabled toolbar keeps the article's layout the same as in Composer, as the markdown editor's does in a read-only host.
710
+ rejected: Hiding the toolbar; the article loses its toolbar row and readers cannot see what the sheet offers.
711
+ ```
712
+
713
+ ```mdl
714
+ decision D-13: Read-only is an app-wide singleton capability the host contributes, which any plugin reads.
715
+ date: 2026-11-17
716
+ by: user:wittjosiah
717
+ supersedes: D-11
718
+ affects: [F-9.1]
719
+ ```
720
+
721
+ ```mdl
722
+ decision D-14: When the host contributes `ReadOnly`, every cell is read-only, the toolbar is disabled rather than hidden, and the chart editing controls are withheld. Fills in [D-13].
723
+ date: 2026-11-17
724
+ by: agent:claude-code
725
+ for: user:wittjosiah
726
+ supersedes: D-12
727
+ affects: [F-9.1]
728
+ why: The sheet and chart containers read the capability when they render, so the behaviour [D-12] chose stays the same with no plugin option.
729
+ ```
730
+
475
731
  ## Appendix: Extension Definitions
476
732
 
477
733
  ```mdl
@@ -0,0 +1 @@
1
+ export { t as LegacyChart, n as LegacySheet } from "./chunk-LegacySheet.mjs";
@@ -1 +1 @@
1
- export { t as CellValue, n as Chart, r as ChartType, i as Range, a as RowColumnMeta, o as SKILL_KEY, s as Sheet, l as make } from "./chunk-Sheet.mjs";
1
+ export { t as CellValue, n as Chart, r as ChartProperties, i as Range, a as RowColumnMeta, o as SKILL_KEY, s as Sheet, l as TimelineFontSize, u as TimelineScale, d as TimelineSettings, f as TimelineSpine, p as addChart, m as make, h as removeChart, g as updateChart } from "./chunk-Sheet.mjs";
@@ -1 +1 @@
1
- export { t as ComputeGraphRegistry, n as GridInstances, r as SheetAction } from "./chunk-SheetCapabilities.mjs";
1
+ export { t as ChartType, n as ComputeGraphRegistry, r as GridInstances, i as SheetAction } from "./chunk-SheetCapabilities.mjs";
@@ -1 +1 @@
1
- export { t as Create, n as DropAxis, r as DropAxisOutput, i as GetValues, a as InsertAxis, o as RestoreAxis, s as ScrollToAnchor, c as SetValues } from "./chunk-SheetOperation.mjs";
1
+ export { t as AddChart, n as CHART_TYPES, r as Create, i as DropAxis, a as DropAxisOutput, o as GetValues, s as InsertAxis, c as RestoreAxis, l as ScrollToAnchor, u as SetValues } from "./chunk-SheetOperation.mjs";