@tangle-network/agent-app 0.63.66 → 0.63.67

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 (613) hide show
  1. package/README.md +0 -3
  2. package/dist/{DesignCanvasEditor-6XNHSREG.js → DesignCanvasEditor-PUO5Y6FB.js} +3 -3
  3. package/dist/agent-enrollment/application.d.ts +2 -2
  4. package/dist/agent-enrollment/drizzle.d.ts +1 -1
  5. package/dist/agent-enrollment/index.d.ts +2 -2
  6. package/dist/agent-profiles/d1.d.ts +1 -1
  7. package/dist/agent-profiles/d1.js +3 -3
  8. package/dist/agent-profiles/index.d.ts +3 -3
  9. package/dist/agent-profiles/index.js +3 -3
  10. package/dist/agent-profiles/self-management.d.ts +2 -2
  11. package/dist/alerting/index.d.ts +2 -2
  12. package/dist/app-auth/index.d.ts +3 -3
  13. package/dist/app-auth/index.js +1 -1
  14. package/dist/app-oauth/issuer.d.ts +2 -2
  15. package/dist/assets/index.d.ts +2 -2
  16. package/dist/assets/schema.d.ts +1 -1
  17. package/dist/assistant/AssistantDock.d.ts +3 -3
  18. package/dist/assistant/AssistantHistory.d.ts +1 -1
  19. package/dist/assistant/AssistantPanel.d.ts +6 -6
  20. package/dist/assistant/ProposalCard.d.ts +1 -1
  21. package/dist/assistant/client-context.d.ts +1 -1
  22. package/dist/assistant/client.d.ts +1 -1
  23. package/dist/assistant/index.d.ts +14 -14
  24. package/dist/assistant/launcher.d.ts +1 -1
  25. package/dist/assistant/page-context.d.ts +1 -1
  26. package/dist/assistant/presentation.d.ts +1 -1
  27. package/dist/assistant/reducer.d.ts +1 -1
  28. package/dist/assistant/transcript.d.ts +3 -3
  29. package/dist/assistant/useAssistantChat.d.ts +2 -2
  30. package/dist/assistant/useAssistantModels.d.ts +1 -1
  31. package/dist/assistant/useAssistantThreads.d.ts +1 -1
  32. package/dist/billing/crypto-probe.d.ts +1 -1
  33. package/dist/billing/identity-bound.d.ts +1 -1
  34. package/dist/billing/identity-locks.d.ts +1 -1
  35. package/dist/billing/index.d.ts +1 -1
  36. package/dist/brand-extraction/extract.d.ts +1 -1
  37. package/dist/brand-extraction/index.d.ts +4 -4
  38. package/dist/brand-extraction/map.d.ts +1 -1
  39. package/dist/catalog/index.d.ts +1 -1
  40. package/dist/channels/components.d.ts +1 -1
  41. package/dist/channels/context.d.ts +1 -1
  42. package/dist/channels/hooks.d.ts +8 -8
  43. package/dist/channels/index.d.ts +6 -6
  44. package/dist/channels/numbers.d.ts +3 -3
  45. package/dist/channels/payment.d.ts +3 -3
  46. package/dist/channels/ui.d.ts +1 -1
  47. package/dist/chat-react/index.d.ts +2 -2
  48. package/dist/chat-routes/agent-producers.d.ts +3 -3
  49. package/dist/chat-routes/attachment-store.d.ts +1 -1
  50. package/dist/chat-routes/attachment-upload.d.ts +3 -3
  51. package/dist/chat-routes/attachment-validation.d.ts +2 -2
  52. package/dist/chat-routes/attachment-write-safety.d.ts +1 -1
  53. package/dist/chat-routes/cancellation.d.ts +1 -1
  54. package/dist/chat-routes/completed-sandbox-turn.d.ts +3 -3
  55. package/dist/chat-routes/default-backend.d.ts +11 -11
  56. package/dist/chat-routes/detached-turn.d.ts +5 -5
  57. package/dist/chat-routes/dispatch-first.d.ts +3 -3
  58. package/dist/chat-routes/dispatch-parts.d.ts +5 -5
  59. package/dist/chat-routes/draft-persistence.d.ts +3 -3
  60. package/dist/chat-routes/durable-projection.d.ts +1 -1
  61. package/dist/chat-routes/early-turn-work.d.ts +1 -1
  62. package/dist/chat-routes/file-index.d.ts +1 -1
  63. package/dist/chat-routes/gateway-adapter.d.ts +3 -3
  64. package/dist/chat-routes/hybrid-producer.d.ts +9 -9
  65. package/dist/chat-routes/index.d.ts +33 -33
  66. package/dist/chat-routes/index.js +4 -4
  67. package/dist/chat-routes/intelligence.d.ts +1 -1
  68. package/dist/chat-routes/model-failover-stream.d.ts +2 -2
  69. package/dist/chat-routes/native-completion.d.ts +1 -1
  70. package/dist/chat-routes/native-turn-timing.d.ts +2 -2
  71. package/dist/chat-routes/producer-stream.d.ts +1 -1
  72. package/dist/chat-routes/promote-file-part.d.ts +4 -4
  73. package/dist/chat-routes/protected-runtime-producer.d.ts +3 -3
  74. package/dist/chat-routes/resolve-attachments.d.ts +3 -3
  75. package/dist/chat-routes/route-prewarm.d.ts +1 -1
  76. package/dist/chat-routes/route-producer.d.ts +1 -1
  77. package/dist/chat-routes/route-storage.d.ts +7 -7
  78. package/dist/chat-routes/router-producer.d.ts +3 -3
  79. package/dist/chat-routes/sandbox-model-source.d.ts +4 -4
  80. package/dist/chat-routes/sandbox-producer.d.ts +5 -5
  81. package/dist/chat-routes/sandbox-turn-usage.d.ts +2 -2
  82. package/dist/chat-routes/stale-turn-lock.d.ts +1 -1
  83. package/dist/chat-routes/stored-attachments.d.ts +2 -2
  84. package/dist/chat-routes/turn-admission.d.ts +4 -4
  85. package/dist/chat-routes/turn-event-stream.d.ts +1 -1
  86. package/dist/chat-routes/turn-execution.d.ts +7 -7
  87. package/dist/chat-routes/turn-ownership.d.ts +4 -4
  88. package/dist/chat-routes/turn-prefetch.d.ts +2 -2
  89. package/dist/chat-routes/turn-route-contracts.d.ts +19 -19
  90. package/dist/chat-routes/turn-routes.d.ts +2 -2
  91. package/dist/chat-routes/upload.d.ts +1 -1
  92. package/dist/chat-store/core.d.ts +1 -1
  93. package/dist/chat-store/index.d.ts +4 -4
  94. package/dist/chat-store/parts.d.ts +5 -5
  95. package/dist/chat-store/schema.d.ts +1 -1
  96. package/dist/chat-store/store.d.ts +3 -3
  97. package/dist/chatgpt-react/fixtures.d.ts +1 -1
  98. package/dist/chatgpt-react/index.d.ts +1 -1
  99. package/dist/{chunk-H3DAXUKV.js → chunk-2ACI3WYT.js} +2 -2
  100. package/dist/{chunk-NJW4JCSF.js → chunk-62BPUU3A.js} +2 -2
  101. package/dist/{chunk-HJYEK4SU.js → chunk-6IMNAZR7.js} +2 -2
  102. package/dist/{chunk-XPB2UYHU.js → chunk-E2JMXA2V.js} +5 -5
  103. package/dist/{chunk-XPB2UYHU.js.map → chunk-E2JMXA2V.js.map} +1 -1
  104. package/dist/{chunk-4JTEPK2G.js → chunk-IIAXUKV7.js} +2 -2
  105. package/dist/{chunk-WOTWQ2ST.js → chunk-UOZ4JCFJ.js} +7 -7
  106. package/dist/{chunk-WOTWQ2ST.js.map → chunk-UOZ4JCFJ.js.map} +1 -1
  107. package/dist/{chunk-43CV4JIT.js → chunk-VKJEH6DG.js} +2 -2
  108. package/dist/{chunk-EUQ46YWK.js → chunk-X5BDMSPS.js} +17 -17
  109. package/dist/chunk-X5BDMSPS.js.map +1 -0
  110. package/dist/{chunk-FJRQCF43.js → chunk-XJ7DC2DI.js} +3 -3
  111. package/dist/{chunk-VQIH5NAB.js → chunk-YQD2RISF.js} +2 -2
  112. package/dist/config/index.d.ts +2 -2
  113. package/dist/crypto/index.d.ts +2 -2
  114. package/dist/design-canvas/apply.d.ts +3 -3
  115. package/dist/design-canvas/drizzle-store.d.ts +2 -2
  116. package/dist/design-canvas/drizzle.d.ts +2 -2
  117. package/dist/design-canvas/export-presets.d.ts +1 -1
  118. package/dist/design-canvas/index.d.ts +10 -10
  119. package/dist/design-canvas/mcp-context.d.ts +4 -4
  120. package/dist/design-canvas/mcp-elements-tools.d.ts +2 -2
  121. package/dist/design-canvas/mcp-entry.d.ts +1 -1
  122. package/dist/design-canvas/mcp-handler.d.ts +1 -1
  123. package/dist/design-canvas/mcp-pages-tools.d.ts +2 -2
  124. package/dist/design-canvas/mcp-read-tools.d.ts +2 -2
  125. package/dist/design-canvas/mcp-templates-tools.d.ts +2 -2
  126. package/dist/design-canvas/mcp-tools.d.ts +3 -3
  127. package/dist/design-canvas/operations.d.ts +1 -1
  128. package/dist/design-canvas/schema.d.ts +1 -1
  129. package/dist/design-canvas/store.d.ts +1 -1
  130. package/dist/design-canvas/templates.d.ts +1 -1
  131. package/dist/design-canvas/validate.d.ts +2 -2
  132. package/dist/design-canvas-react/components/CanvasInsertPanel.d.ts +2 -2
  133. package/dist/design-canvas-react/components/DesignCanvas.d.ts +3 -3
  134. package/dist/design-canvas-react/components/DesignCanvasEditor.d.ts +1 -1
  135. package/dist/design-canvas-react/components/ElementNode.d.ts +2 -2
  136. package/dist/design-canvas-react/components/ExportControl.d.ts +1 -1
  137. package/dist/design-canvas-react/components/InlineTextEditor.d.ts +1 -1
  138. package/dist/design-canvas-react/components/LayersPanel.d.ts +1 -1
  139. package/dist/design-canvas-react/components/PagesStrip.d.ts +1 -1
  140. package/dist/design-canvas-react/components/Rulers.d.ts +1 -1
  141. package/dist/design-canvas-react/components/SelectionLayer.d.ts +3 -3
  142. package/dist/design-canvas-react/components/SnapGuidesOverlay.d.ts +2 -2
  143. package/dist/design-canvas-react/components/Toolbar.d.ts +3 -3
  144. package/dist/design-canvas-react/components/Workspace.d.ts +4 -4
  145. package/dist/design-canvas-react/components/glyphs.d.ts +31 -31
  146. package/dist/design-canvas-react/components/index.d.ts +18 -18
  147. package/dist/design-canvas-react/components/layer-tree.d.ts +1 -1
  148. package/dist/design-canvas-react/components/toolbar-page-controls.d.ts +1 -1
  149. package/dist/design-canvas-react/components/toolbar-selection-controls.d.ts +2 -2
  150. package/dist/design-canvas-react/components/use-workspace-keyboard.d.ts +3 -3
  151. package/dist/design-canvas-react/components/use-workspace-viewport.d.ts +2 -2
  152. package/dist/design-canvas-react/contracts.d.ts +3 -3
  153. package/dist/design-canvas-react/engine/command-stack.d.ts +2 -2
  154. package/dist/design-canvas-react/engine/commands.d.ts +6 -6
  155. package/dist/design-canvas-react/engine/selection.d.ts +1 -1
  156. package/dist/design-canvas-react/engine/snap.d.ts +2 -2
  157. package/dist/design-canvas-react/engine/zoom-pan.d.ts +1 -1
  158. package/dist/design-canvas-react/engine.d.ts +8 -8
  159. package/dist/design-canvas-react/export-math.d.ts +2 -2
  160. package/dist/design-canvas-react/export.d.ts +2 -2
  161. package/dist/design-canvas-react/index.d.ts +4 -4
  162. package/dist/design-canvas-react/index.js +3 -3
  163. package/dist/design-canvas-react/insert-builders.d.ts +1 -1
  164. package/dist/design-canvas-react/lazy.d.ts +4 -4
  165. package/dist/design-canvas-react/lazy.js +1 -1
  166. package/dist/documents/docx.d.ts +2 -2
  167. package/dist/documents/extract.d.ts +1 -1
  168. package/dist/documents/index.d.ts +5 -5
  169. package/dist/documents/media-type.d.ts +1 -1
  170. package/dist/documents/pdf-inspector.d.ts +1 -1
  171. package/dist/email/index.d.ts +3 -3
  172. package/dist/email/index.js +1 -1
  173. package/dist/email/palette.d.ts +6 -6
  174. package/dist/email/templates.d.ts +1 -1
  175. package/dist/eval/index.d.ts +7 -7
  176. package/dist/eval-campaign/index.d.ts +1 -1
  177. package/dist/forms/blank.d.ts +1 -1
  178. package/dist/forms/fill.d.ts +1 -1
  179. package/dist/forms/index.d.ts +4 -4
  180. package/dist/forms/verify.d.ts +1 -1
  181. package/dist/harness/index.d.ts +3 -3
  182. package/dist/harness/presets.d.ts +1 -1
  183. package/dist/hosted-agent/application.d.ts +4 -4
  184. package/dist/hosted-agent/index.d.ts +5 -5
  185. package/dist/hosted-agent/react/ApplicationLineSetup.d.ts +3 -3
  186. package/dist/hosted-agent/react/LineBilling.d.ts +1 -1
  187. package/dist/hosted-agent/react/LineMembers.d.ts +1 -1
  188. package/dist/hosted-agent/react/LineSetup.d.ts +1 -1
  189. package/dist/hosted-agent/react/index.d.ts +6 -6
  190. package/dist/hosted-agent/workspace-line.d.ts +1 -1
  191. package/dist/hub-approvals/index.d.ts +4 -4
  192. package/dist/hub-approvals/present.d.ts +1 -1
  193. package/dist/hub-approvals-react/dock.d.ts +1 -1
  194. package/dist/hub-approvals-react/email.d.ts +1 -1
  195. package/dist/hub-approvals-react/feedback.d.ts +1 -1
  196. package/dist/hub-approvals-react/index.d.ts +8 -8
  197. package/dist/hub-approvals-react/list.d.ts +1 -1
  198. package/dist/hub-approvals-react/media.d.ts +1 -1
  199. package/dist/hub-approvals-react/parts.d.ts +1 -1
  200. package/dist/hub-approvals-react/preview.d.ts +1 -1
  201. package/dist/hub-approvals-react/receipt.d.ts +1 -1
  202. package/dist/hub-approvals-react/row.d.ts +1 -1
  203. package/dist/intakes/completion.d.ts +1 -1
  204. package/dist/intakes/drizzle/store.d.ts +3 -3
  205. package/dist/intakes/drizzle.d.ts +2 -2
  206. package/dist/intakes/index.d.ts +3 -3
  207. package/dist/integrations-react/index.d.ts +6 -6
  208. package/dist/integrations-react/panel.d.ts +3 -3
  209. package/dist/integrations-react/popup.d.ts +1 -1
  210. package/dist/integrations-react/use-hub-integrations.d.ts +13 -13
  211. package/dist/interactions/index.d.ts +3 -3
  212. package/dist/interactions/route.d.ts +2 -2
  213. package/dist/interactions/sidecar.d.ts +1 -1
  214. package/dist/knowledge-loop/index.d.ts +1 -1
  215. package/dist/legibility/checks/empty-state.d.ts +2 -2
  216. package/dist/legibility/checks/reachability.d.ts +2 -2
  217. package/dist/legibility/checks/silent-failure.d.ts +2 -2
  218. package/dist/legibility/checks/success.d.ts +2 -2
  219. package/dist/legibility/checks/vocabulary.d.ts +2 -2
  220. package/dist/legibility/cli-args.d.ts +1 -1
  221. package/dist/legibility/index.d.ts +9 -9
  222. package/dist/legibility/report.d.ts +1 -1
  223. package/dist/legibility/scan.d.ts +1 -1
  224. package/dist/legibility/suppress.d.ts +2 -2
  225. package/dist/media/generate-request.d.ts +1 -1
  226. package/dist/media/generation-record.d.ts +2 -2
  227. package/dist/media/index.d.ts +6 -6
  228. package/dist/media/model-catalog.d.ts +1 -1
  229. package/dist/media/router-generation.d.ts +1 -1
  230. package/dist/media/speech-script.d.ts +1 -1
  231. package/dist/missions/engine.d.ts +2 -2
  232. package/dist/missions/events.d.ts +1 -1
  233. package/dist/missions/index.d.ts +5 -5
  234. package/dist/missions/plan-parse.d.ts +1 -1
  235. package/dist/model-resolution/failover.d.ts +1 -1
  236. package/dist/model-resolution/index.d.ts +3 -3
  237. package/dist/openui/action.d.ts +1 -1
  238. package/dist/openui/authoring.d.ts +1 -1
  239. package/dist/openui/index.d.ts +5 -5
  240. package/dist/openui/route.d.ts +3 -3
  241. package/dist/openui-react/index.d.ts +1 -1
  242. package/dist/peer-floors/check.d.ts +1 -1
  243. package/dist/plans/decision.d.ts +1 -1
  244. package/dist/plans/drizzle.d.ts +1 -1
  245. package/dist/plans/index.d.ts +1 -1
  246. package/dist/platform/billable-turn-admission.d.ts +1 -1
  247. package/dist/platform/billing.d.ts +1 -1
  248. package/dist/platform/delegated-turn-keys.d.ts +2 -2
  249. package/dist/platform/sso-identity-store.d.ts +1 -1
  250. package/dist/preflight/cli.d.ts +1 -1
  251. package/dist/preset-cloudflare/detached-turn-workflow.d.ts +2 -2
  252. package/dist/preset-cloudflare/index.d.ts +10 -10
  253. package/dist/preset-cloudflare/index.js +2 -2
  254. package/dist/preset-cloudflare/native-completion-owner.d.ts +12 -12
  255. package/dist/preset-cloudflare/native-completion-store.d.ts +4 -4
  256. package/dist/preset-cloudflare/native-completion-workflow.d.ts +2 -2
  257. package/dist/profile/agent-prompt.d.ts +3 -3
  258. package/dist/profile/index.d.ts +14 -14
  259. package/dist/profile/model-input.d.ts +1 -1
  260. package/dist/profile/quality-skills.d.ts +1 -1
  261. package/dist/profile-editor/server.d.ts +2 -2
  262. package/dist/public-consultation/index.d.ts +7 -7
  263. package/dist/public-consultation/index.js +4 -4
  264. package/dist/record/drizzle/schema.d.ts +1 -1
  265. package/dist/record/drizzle/store.d.ts +3 -3
  266. package/dist/record/drizzle.d.ts +2 -2
  267. package/dist/record/fold.d.ts +1 -1
  268. package/dist/record/index.d.ts +3 -3
  269. package/dist/rollout/d1.d.ts +3 -3
  270. package/dist/runtime/certified-delivery.d.ts +1 -1
  271. package/dist/runtime/index.d.ts +10 -10
  272. package/dist/runtime/openai-stream.d.ts +1 -1
  273. package/dist/runtime/protected-router-turn.d.ts +1 -1
  274. package/dist/runtime/router-turn.d.ts +6 -6
  275. package/dist/runtime/surface-profile.d.ts +1 -1
  276. package/dist/runtime/turn-continuation.d.ts +1 -1
  277. package/dist/sandbox/access.d.ts +2 -2
  278. package/dist/sandbox/app-tools.d.ts +2 -2
  279. package/dist/sandbox/box-health.d.ts +3 -3
  280. package/dist/sandbox/computer-step.d.ts +5 -5
  281. package/dist/sandbox/configuration.d.ts +9 -9
  282. package/dist/sandbox/credentials.d.ts +1 -1
  283. package/dist/sandbox/existing-box.d.ts +4 -4
  284. package/dist/sandbox/foreground-single-flight.d.ts +4 -4
  285. package/dist/sandbox/index.d.ts +55 -55
  286. package/dist/sandbox/index.js +4 -4
  287. package/dist/sandbox/prewarm-claim-d1.d.ts +1 -1
  288. package/dist/sandbox/prewarm-route.d.ts +2 -2
  289. package/dist/sandbox/prewarm.d.ts +2 -2
  290. package/dist/sandbox/profile-corpus.d.ts +4 -4
  291. package/dist/sandbox/profile-files.d.ts +1 -1
  292. package/dist/sandbox/prompt-dispatch.d.ts +3 -3
  293. package/dist/sandbox/prompt-events.d.ts +2 -2
  294. package/dist/sandbox/prompt-options.d.ts +4 -4
  295. package/dist/sandbox/prompt-profile.d.ts +3 -3
  296. package/dist/sandbox/prompt-result.d.ts +4 -4
  297. package/dist/sandbox/prompt-trace.d.ts +1 -1
  298. package/dist/sandbox/recovery-original.d.ts +1 -1
  299. package/dist/sandbox/recovery.d.ts +1 -1
  300. package/dist/sandbox/router-models.d.ts +1 -1
  301. package/dist/sandbox/runtime-cache.d.ts +3 -3
  302. package/dist/sandbox/runtime-connection.d.ts +2 -2
  303. package/dist/sandbox/sandbox-exec-tool.d.ts +1 -1
  304. package/dist/sandbox/sandbox-run-tool.d.ts +5 -5
  305. package/dist/sandbox/warm-lease-d1.d.ts +1 -1
  306. package/dist/sandbox/workspace-boxes.d.ts +2 -2
  307. package/dist/sandbox/workspace-claim.d.ts +1 -1
  308. package/dist/sandbox/workspace-provision.d.ts +1 -1
  309. package/dist/sequences/apply.d.ts +4 -4
  310. package/dist/sequences/captions.d.ts +1 -1
  311. package/dist/sequences/drizzle-store.d.ts +3 -3
  312. package/dist/sequences/drizzle.d.ts +2 -2
  313. package/dist/sequences/exports.d.ts +1 -1
  314. package/dist/sequences/index.d.ts +11 -11
  315. package/dist/sequences/mcp-entry.d.ts +1 -1
  316. package/dist/sequences/mcp-handler.d.ts +2 -2
  317. package/dist/sequences/mcp-tools.d.ts +1 -1
  318. package/dist/sequences/operations.d.ts +1 -1
  319. package/dist/sequences/row-mapping.d.ts +1 -1
  320. package/dist/sequences/store.d.ts +1 -1
  321. package/dist/sequences/validate.d.ts +2 -2
  322. package/dist/sequences-react/components/PreviewCanvas.d.ts +2 -2
  323. package/dist/sequences-react/components/SnapIndicatorLine.d.ts +1 -1
  324. package/dist/sequences-react/components/TimelineClipChip.d.ts +2 -2
  325. package/dist/sequences-react/components/TimelineEditor.d.ts +1 -1
  326. package/dist/sequences-react/components/TimelineEmptyState.d.ts +1 -1
  327. package/dist/sequences-react/components/TimelineHistory.d.ts +4 -4
  328. package/dist/sequences-react/components/TimelineSmallScreenGate.d.ts +1 -1
  329. package/dist/sequences-react/components/TimelineTrackRow.d.ts +3 -3
  330. package/dist/sequences-react/components/ZoomControl.d.ts +1 -1
  331. package/dist/sequences-react/components/composite-command.d.ts +1 -1
  332. package/dist/sequences-react/components/glyphs.d.ts +12 -12
  333. package/dist/sequences-react/components/index.d.ts +24 -24
  334. package/dist/sequences-react/components/interaction-math.d.ts +1 -1
  335. package/dist/sequences-react/contracts.d.ts +3 -3
  336. package/dist/sequences-react/engine/command-stack.d.ts +2 -2
  337. package/dist/sequences-react/engine/commands.d.ts +2 -2
  338. package/dist/sequences-react/engine/playback.d.ts +1 -1
  339. package/dist/sequences-react/engine/snap.d.ts +2 -2
  340. package/dist/sequences-react/engine/zoom.d.ts +1 -1
  341. package/dist/sequences-react/index.d.ts +11 -11
  342. package/dist/sequences-react/lazy.d.ts +1 -1
  343. package/dist/sequences-react/media/frame-provider.d.ts +1 -1
  344. package/dist/sequences-react/media/transcription.d.ts +2 -2
  345. package/dist/sequences-react/media/waveform.d.ts +1 -1
  346. package/dist/session-shell/command-palette.d.ts +1 -1
  347. package/dist/session-shell/index.d.ts +2 -2
  348. package/dist/settings-react/confirm-action.d.ts +2 -2
  349. package/dist/settings-react/delete-workspace-section.d.ts +1 -1
  350. package/dist/settings-react/index.d.ts +9 -9
  351. package/dist/settings-react/members-section.d.ts +4 -4
  352. package/dist/settings-react/setting-outcome.d.ts +1 -1
  353. package/dist/settings-react/use-setting-field.d.ts +1 -1
  354. package/dist/signoff/config.d.ts +1 -1
  355. package/dist/signoff/index.d.ts +13 -13
  356. package/dist/signoff/phases.d.ts +1 -1
  357. package/dist/signoff/proof-attach.d.ts +1 -1
  358. package/dist/signoff/proof-fixture.d.ts +1 -1
  359. package/dist/signoff/proof-from-report.d.ts +2 -2
  360. package/dist/signoff/proof-verify.d.ts +2 -2
  361. package/dist/signoff/proof.d.ts +6 -6
  362. package/dist/signoff/report.d.ts +1 -1
  363. package/dist/signoff/run.d.ts +1 -1
  364. package/dist/signoff/seeds.d.ts +1 -1
  365. package/dist/signoff/shell-alignment-cli.d.ts +1 -1
  366. package/dist/signoff/shell-alignment.d.ts +1 -1
  367. package/dist/signoff/surface-ladder-cli.d.ts +1 -1
  368. package/dist/signoff/surface-ladder.d.ts +1 -1
  369. package/dist/signoff/types.d.ts +2 -2
  370. package/dist/signoff/workspace-surface.d.ts +1 -1
  371. package/dist/signoff/workspace.d.ts +1 -1
  372. package/dist/skills/index.d.ts +2 -2
  373. package/dist/skills-placement/box.d.ts +2 -2
  374. package/dist/skills-placement/index.d.ts +3 -3
  375. package/dist/spend/budget.d.ts +1 -1
  376. package/dist/spend/ceiling.d.ts +1 -1
  377. package/dist/spend/cli-args.d.ts +1 -1
  378. package/dist/spend/drizzle.d.ts +1 -1
  379. package/dist/spend/fixtures/incident-parked-time.d.ts +1 -1
  380. package/dist/spend/index.d.ts +11 -11
  381. package/dist/spend/liveness.d.ts +1 -1
  382. package/dist/spend/ownership.d.ts +1 -1
  383. package/dist/spend/platform-settlements.d.ts +1 -1
  384. package/dist/spend/reconcile.d.ts +2 -2
  385. package/dist/spend/reference.d.ts +1 -1
  386. package/dist/spend/report.d.ts +1 -1
  387. package/dist/spend/store.d.ts +1 -1
  388. package/dist/stories/app-shell/fixtures.d.ts +3 -3
  389. package/dist/stories/assistant/fixtures.d.ts +5 -5
  390. package/dist/stories/chat/fixtures.d.ts +2 -2
  391. package/dist/stories/chat/run-drill-in.d.ts +1 -1
  392. package/dist/stories/chat-controls/fixtures.d.ts +5 -5
  393. package/dist/stories/design-canvas/fixtures.d.ts +3 -3
  394. package/dist/stories/fixtures/canvas.d.ts +1 -1
  395. package/dist/stories/fixtures/catalog.d.ts +1 -1
  396. package/dist/stories/fixtures/channels.d.ts +1 -1
  397. package/dist/stories/fixtures/chat.d.ts +1 -1
  398. package/dist/stories/fixtures/index.d.ts +4 -4
  399. package/dist/stories/fixtures/profile-editor.d.ts +2 -2
  400. package/dist/stories/fixtures/sequences.d.ts +2 -2
  401. package/dist/stories/hosted-agent/fixtures.d.ts +1 -1
  402. package/dist/stories/panels/fixtures.d.ts +2 -2
  403. package/dist/stories/sequences/fixtures.d.ts +2 -2
  404. package/dist/stories/settings/settings-demo.d.ts +1 -1
  405. package/dist/stories/studio/StudioProviders.d.ts +2 -2
  406. package/dist/stories/studio/fixtures.d.ts +1 -1
  407. package/dist/stream/index.d.ts +5 -5
  408. package/dist/stream/orphaned-turns.d.ts +1 -1
  409. package/dist/stream/stream-normalizer.d.ts +1 -1
  410. package/dist/stream/turn-identity.d.ts +1 -1
  411. package/dist/studio/generated-media/flows.d.ts +7 -7
  412. package/dist/studio/generated-media/index.d.ts +3 -3
  413. package/dist/studio/generated-media/store.d.ts +1 -1
  414. package/dist/studio/generation.d.ts +2 -2
  415. package/dist/studio/index.d.ts +4 -4
  416. package/dist/studio/model-options.d.ts +1 -1
  417. package/dist/studio/ports.d.ts +1 -1
  418. package/dist/studio-react/composer-option-controls.d.ts +1 -1
  419. package/dist/studio-react/composer-persistence.d.ts +2 -2
  420. package/dist/studio-react/download-generations.d.ts +2 -2
  421. package/dist/studio-react/index.d.ts +18 -18
  422. package/dist/studio-react/media-tile.d.ts +2 -2
  423. package/dist/studio-react/media-viewer.d.ts +1 -1
  424. package/dist/studio-react/studio-composer.d.ts +1 -1
  425. package/dist/studio-react/studio-generation-screen.d.ts +2 -2
  426. package/dist/studio-react/studio-history-screen.d.ts +1 -1
  427. package/dist/studio-react/studio-home-screen.d.ts +3 -3
  428. package/dist/studio-react/studio-playback.d.ts +1 -1
  429. package/dist/studio-react/use-batch-navigation.d.ts +1 -1
  430. package/dist/studio-react/use-deferred-delete.d.ts +2 -2
  431. package/dist/studio-react/use-generation-history.d.ts +2 -2
  432. package/dist/studio-react/use-studio-generations.d.ts +1 -1
  433. package/dist/studio-react/use-studio-route.d.ts +1 -1
  434. package/dist/studio-react/use-vault-save-state.d.ts +2 -2
  435. package/dist/studio-react/vault-path-popover.d.ts +1 -1
  436. package/dist/teams/drizzle/access.d.ts +3 -3
  437. package/dist/teams/drizzle/invitations-schema.d.ts +1 -1
  438. package/dist/teams/drizzle/personal-organization.d.ts +3 -3
  439. package/dist/teams/drizzle.d.ts +4 -4
  440. package/dist/teams/index.d.ts +4 -4
  441. package/dist/teams/invitations-api.d.ts +7 -7
  442. package/dist/teams/invitations.d.ts +1 -1
  443. package/dist/teams/members-api.d.ts +3 -3
  444. package/dist/teams/thread-access.d.ts +1 -1
  445. package/dist/teams-react/components/InvitationsPanel.d.ts +1 -1
  446. package/dist/teams-react/components/InviteAcceptPage.d.ts +1 -1
  447. package/dist/teams-react/components/InviteForm.d.ts +1 -1
  448. package/dist/teams-react/components/InviteTokenPage.d.ts +1 -1
  449. package/dist/teams-react/components/MembersPanel.d.ts +1 -1
  450. package/dist/teams-react/components/RoleSelect.d.ts +1 -1
  451. package/dist/teams-react/components/index.d.ts +4 -4
  452. package/dist/teams-react/components/invitation-detail.d.ts +1 -1
  453. package/dist/teams-react/components/member-access.d.ts +2 -2
  454. package/dist/teams-react/contracts.d.ts +2 -2
  455. package/dist/teams-react/index.d.ts +2 -2
  456. package/dist/theme/brand.generated.d.ts +17 -17
  457. package/dist/theme/dom.js +2 -2
  458. package/dist/theme/index.d.ts +1 -1
  459. package/dist/theme/index.js +1 -1
  460. package/dist/theme/tokens.css +31 -26
  461. package/dist/tools/auth.d.ts +1 -1
  462. package/dist/tools/dispatch.d.ts +2 -2
  463. package/dist/tools/gating.d.ts +1 -1
  464. package/dist/tools/http.d.ts +4 -4
  465. package/dist/tools/index.d.ts +12 -12
  466. package/dist/tools/index.js +4 -4
  467. package/dist/tools/mcp.d.ts +4 -4
  468. package/dist/tools/openai.d.ts +1 -1
  469. package/dist/tools/registry.d.ts +2 -2
  470. package/dist/tools/runtime.d.ts +2 -2
  471. package/dist/tools/types.d.ts +2 -2
  472. package/dist/trace/index.d.ts +2 -2
  473. package/dist/trace/mission-flow.d.ts +1 -1
  474. package/dist/turn-stream/adapters.d.ts +4 -4
  475. package/dist/turn-stream/cancellation-do.d.ts +2 -2
  476. package/dist/turn-stream/cancellation.d.ts +3 -3
  477. package/dist/turn-stream/do.d.ts +1 -1
  478. package/dist/turn-stream/index.d.ts +5 -5
  479. package/dist/turn-stream/memory.d.ts +2 -2
  480. package/dist/turn-trace/index.d.ts +5 -5
  481. package/dist/turn-trace/otel.d.ts +1 -1
  482. package/dist/turn-trace/phase-timing.d.ts +1 -1
  483. package/dist/turn-trace/recorder.d.ts +1 -1
  484. package/dist/turn-trace/traced-fetch.d.ts +1 -1
  485. package/dist/vault/VaultContentResults.d.ts +1 -1
  486. package/dist/vault/VaultCreateDialog.d.ts +1 -1
  487. package/dist/vault/VaultDocumentToolbar.d.ts +1 -1
  488. package/dist/vault/VaultHistoryPanel.d.ts +1 -1
  489. package/dist/vault/VaultPane.d.ts +1 -1
  490. package/dist/vault/VaultPaneOperations.d.ts +2 -2
  491. package/dist/vault/VaultPaneStates.d.ts +1 -1
  492. package/dist/vault/collaboration.d.ts +1 -1
  493. package/dist/vault/index.d.ts +3 -3
  494. package/dist/vault/lazy.d.ts +1 -1
  495. package/dist/vault/store/coordinator.d.ts +4 -4
  496. package/dist/vault/store/index.d.ts +10 -10
  497. package/dist/vault/store/revisions.d.ts +1 -1
  498. package/dist/vault/store/sandbox-engine.d.ts +5 -5
  499. package/dist/vault/store/sandbox-hydrate.d.ts +3 -3
  500. package/dist/vault/store/sandbox-reconcile.d.ts +3 -3
  501. package/dist/vault/store/sandbox-sync.d.ts +5 -5
  502. package/dist/vault/store/store.d.ts +5 -5
  503. package/dist/vault/useVaultDockPlacement.d.ts +1 -1
  504. package/dist/vault/useVaultSearch.d.ts +2 -2
  505. package/dist/vault/vault-tree-paths.d.ts +1 -1
  506. package/dist/web/core.d.ts +3 -3
  507. package/dist/web/free-route-limit.d.ts +1 -1
  508. package/dist/web/index.d.ts +9 -9
  509. package/dist/web-react/agent-profile-editor.d.ts +6 -6
  510. package/dist/web-react/agent-profile-github-source.d.ts +1 -1
  511. package/dist/web-react/agent-profile-mcp-servers.d.ts +2 -2
  512. package/dist/web-react/agent-profile-registry-search.d.ts +1 -1
  513. package/dist/web-react/agent-session-controls.d.ts +3 -3
  514. package/dist/web-react/async/async-view.d.ts +2 -2
  515. package/dist/web-react/async/index.d.ts +4 -4
  516. package/dist/web-react/async/use-async-resource.d.ts +1 -1
  517. package/dist/web-react/async/use-confirmed-mutation.d.ts +1 -1
  518. package/dist/web-react/chat-attachments.d.ts +1 -1
  519. package/dist/web-react/chat-composer-types.d.ts +3 -3
  520. package/dist/web-react/chat-composer.d.ts +2 -2
  521. package/dist/web-react/chat-interactions.d.ts +1 -1
  522. package/dist/web-react/chat-mentions.d.ts +1 -1
  523. package/dist/web-react/chat-message-body.d.ts +1 -1
  524. package/dist/web-react/chat-message-metrics.d.ts +2 -2
  525. package/dist/web-react/chat-message-types.d.ts +6 -6
  526. package/dist/web-react/chat-messages.d.ts +1 -1
  527. package/dist/web-react/chat-stream.d.ts +6 -6
  528. package/dist/web-react/chat-tool-call.d.ts +1 -1
  529. package/dist/web-react/command-palette.d.ts +2 -2
  530. package/dist/web-react/controls.d.ts +6 -6
  531. package/dist/web-react/document.js +2 -2
  532. package/dist/web-react/durable-chat-cards.d.ts +5 -5
  533. package/dist/web-react/durable-interaction-submit.d.ts +1 -1
  534. package/dist/web-react/durable-plan-card.d.ts +2 -2
  535. package/dist/web-react/durable-plan-flow-card.d.ts +2 -2
  536. package/dist/web-react/durable-plan-flow.d.ts +1 -1
  537. package/dist/web-react/effort-picker.d.ts +1 -1
  538. package/dist/web-react/entry-composer.d.ts +5 -5
  539. package/dist/web-react/harness-glyphs.d.ts +1 -1
  540. package/dist/web-react/index.d.ts +67 -67
  541. package/dist/web-react/insight-card.d.ts +1 -1
  542. package/dist/web-react/interaction-card-support.d.ts +1 -1
  543. package/dist/web-react/interaction-plan-card.d.ts +2 -2
  544. package/dist/web-react/interaction-question-card.d.ts +2 -2
  545. package/dist/web-react/mention-editor.d.ts +1 -1
  546. package/dist/web-react/mention-list.d.ts +1 -1
  547. package/dist/web-react/mention-serialize.d.ts +1 -1
  548. package/dist/web-react/message-attachments.d.ts +1 -1
  549. package/dist/web-react/message-projection.d.ts +1 -1
  550. package/dist/web-react/mission-activity.d.ts +1 -1
  551. package/dist/web-react/model-picker.d.ts +2 -2
  552. package/dist/web-react/provenance.d.ts +2 -2
  553. package/dist/web-react/record-grid-editors.d.ts +1 -1
  554. package/dist/web-react/record-grid-model.d.ts +1 -1
  555. package/dist/web-react/record-grid-review-actions.d.ts +1 -1
  556. package/dist/web-react/record-grid-source-marker.d.ts +1 -1
  557. package/dist/web-react/record-grid-types.d.ts +2 -2
  558. package/dist/web-react/record-grid-writes.d.ts +2 -2
  559. package/dist/web-react/record-grid.d.ts +3 -3
  560. package/dist/web-react/review-inbox.d.ts +2 -2
  561. package/dist/web-react/seat-paywall.d.ts +1 -1
  562. package/dist/web-react/session-history-panel.d.ts +2 -2
  563. package/dist/web-react/session-history.d.ts +4 -4
  564. package/dist/web-react/terminal.d.ts +2 -2
  565. package/dist/web-react/turn-progress.d.ts +1 -1
  566. package/dist/web-react/use-chat-interactions.d.ts +1 -1
  567. package/dist/web-react/use-composer-attachments.d.ts +3 -3
  568. package/dist/web-react/use-composer-commands.d.ts +2 -2
  569. package/dist/web-react/use-composer-file-intake.d.ts +1 -1
  570. package/dist/web-react/use-composer-send.d.ts +1 -1
  571. package/dist/web-react/use-file-mentions.d.ts +1 -1
  572. package/dist/web-react/use-models.d.ts +1 -1
  573. package/dist/web-react/use-plan-mode-selection.d.ts +1 -1
  574. package/dist/web-react/use-session-actions.d.ts +1 -1
  575. package/dist/web-react/use-session-history.d.ts +1 -1
  576. package/dist/web-react/work-product.d.ts +2 -2
  577. package/dist/work-product/draft-emission-tools.d.ts +3 -3
  578. package/dist/work-product/draft-tool-context.d.ts +4 -4
  579. package/dist/work-product/evidence-verification.d.ts +4 -4
  580. package/dist/work-product/index.d.ts +8 -8
  581. package/dist/work-product/index.js +2 -2
  582. package/dist/work-product/provenance.d.ts +2 -2
  583. package/dist/work-product/queue.d.ts +1 -1
  584. package/dist/work-product/route.d.ts +1 -1
  585. package/dist/work-product/service.d.ts +1 -1
  586. package/dist/work-product/submission-tool.d.ts +3 -3
  587. package/dist/work-product/tool-config.d.ts +4 -4
  588. package/dist/work-product/tools.d.ts +3 -3
  589. package/dist/work-product-react/index.d.ts +1 -1
  590. package/dist/workspace-apps/cloud-artifact-origin.d.ts +2 -2
  591. package/dist/workspace-apps/cloud-artifacts.d.ts +2 -2
  592. package/dist/workspace-apps/data-bridge.d.ts +1 -1
  593. package/dist/workspace-apps/index.d.ts +6 -6
  594. package/dist/workspace-apps/react.d.ts +2 -2
  595. package/dist/workspace-export/d1.d.ts +1 -1
  596. package/dist/workspace-export/engine.d.ts +2 -2
  597. package/dist/workspace-export/index.d.ts +8 -8
  598. package/dist/workspace-export/react.d.ts +1 -1
  599. package/dist/workspace-export/routes.d.ts +2 -2
  600. package/dist/workspace-export/sandbox.d.ts +1 -1
  601. package/dist/workspace-export/sources.d.ts +1 -1
  602. package/dist/workspace-react/index.d.ts +9 -9
  603. package/dist/workspace-react/workspace-list.d.ts +1 -1
  604. package/package.json +21 -27
  605. package/dist/chunk-EUQ46YWK.js.map +0 -1
  606. /package/dist/{DesignCanvasEditor-6XNHSREG.js.map → DesignCanvasEditor-PUO5Y6FB.js.map} +0 -0
  607. /package/dist/{chunk-H3DAXUKV.js.map → chunk-2ACI3WYT.js.map} +0 -0
  608. /package/dist/{chunk-NJW4JCSF.js.map → chunk-62BPUU3A.js.map} +0 -0
  609. /package/dist/{chunk-HJYEK4SU.js.map → chunk-6IMNAZR7.js.map} +0 -0
  610. /package/dist/{chunk-4JTEPK2G.js.map → chunk-IIAXUKV7.js.map} +0 -0
  611. /package/dist/{chunk-43CV4JIT.js.map → chunk-VKJEH6DG.js.map} +0 -0
  612. /package/dist/{chunk-FJRQCF43.js.map → chunk-XJ7DC2DI.js.map} +0 -0
  613. /package/dist/{chunk-VQIH5NAB.js.map → chunk-YQD2RISF.js.map} +0 -0
@@ -11,13 +11,13 @@
11
11
  * Konva and React are NOT imported here — all Konva-dependent code lives in
12
12
  * `@tangle-network/agent-app/design-canvas-react`.
13
13
  */
14
- export * from './model';
15
- export * from './operations';
16
- export * from './store';
17
- export * from './validate';
18
- export * from './apply';
19
- export * from './templates';
20
- export * from './export-presets';
21
- export * from './mcp-tools';
22
- export * from './mcp-handler';
23
- export * from './mcp-entry';
14
+ export * from './model.js';
15
+ export * from './operations.js';
16
+ export * from './store.js';
17
+ export * from './validate.js';
18
+ export * from './apply.js';
19
+ export * from './templates.js';
20
+ export * from './export-presets.js';
21
+ export * from './mcp-tools.js';
22
+ export * from './mcp-handler.js';
23
+ export * from './mcp-entry.js';
@@ -1,6 +1,6 @@
1
- import type { SceneStore } from './store';
2
- import { type SceneDocument, type SceneElement, type ScenePage } from './model';
3
- import type { SceneOperation } from './operations';
1
+ import type { SceneStore } from './store.js';
2
+ import { type SceneDocument, type SceneElement, type ScenePage } from './model.js';
3
+ import type { SceneOperation } from './operations.js';
4
4
  /** Define the environment for MCP tool with a scene store and ID minting function */
5
5
  export interface DesignCanvasMcpToolEnv {
6
6
  store: SceneStore;
@@ -20,7 +20,7 @@ export declare function pageSnapshot(page: ScenePage): {
20
20
  width: number;
21
21
  height: number;
22
22
  background: string;
23
- bleed: import("./model").PageBleed | null;
23
+ bleed: import("./model.js").PageBleed | null;
24
24
  element_count: number;
25
25
  elements: {
26
26
  id: string;
@@ -1,3 +1,3 @@
1
- import type { McpToolDefinition } from '../tools/mcp-rpc';
2
- import { type DesignCanvasMcpToolEnv } from './mcp-context';
1
+ import type { McpToolDefinition } from '../tools/mcp-rpc.js';
2
+ import { type DesignCanvasMcpToolEnv } from './mcp-context.js';
3
3
  export declare const CANVAS_ELEMENTS_TOOLS: McpToolDefinition<DesignCanvasMcpToolEnv>[];
@@ -6,7 +6,7 @@
6
6
  * Authorization header (server-set, never a tool argument). The only
7
7
  * domain-specific values are this channel's default description and name.
8
8
  */
9
- import type { AppToolMcpServer, ScopedMcpServerEntryOptions } from '../tools/mcp';
9
+ import type { AppToolMcpServer, ScopedMcpServerEntryOptions } from '../tools/mcp.js';
10
10
  /** Describe the live visual asset editor capabilities for the current design document using CSS pixel coordinates */
11
11
  export declare const DEFAULT_DESIGN_CANVAS_MCP_DESCRIPTION = "Live visual asset editor for the current design document: read scene state, add/move/resize/delete elements, manage pages, bind template slots, apply data, and queue exports. All coordinates are CSS pixels.";
12
12
  /** Build scoped MCP server entry options for the design canvas environment */
@@ -14,7 +14,7 @@
14
14
  * in {@link createMcpToolHandler}; this module wires the canvas tool list +
15
15
  * the caller-supplied id-minting function.
16
16
  */
17
- import type { SceneStore } from './store';
17
+ import type { SceneStore } from './store.js';
18
18
  /** Describe design canvas MCP server information including name and version */
19
19
  export interface DesignCanvasMcpServerInfo {
20
20
  name: string;
@@ -1,3 +1,3 @@
1
- import type { McpToolDefinition } from '../tools/mcp-rpc';
2
- import { type DesignCanvasMcpToolEnv } from './mcp-context';
1
+ import type { McpToolDefinition } from '../tools/mcp-rpc.js';
2
+ import { type DesignCanvasMcpToolEnv } from './mcp-context.js';
3
3
  export declare const CANVAS_PAGES_TOOLS: McpToolDefinition<DesignCanvasMcpToolEnv>[];
@@ -1,3 +1,3 @@
1
- import type { McpToolDefinition } from '../tools/mcp-rpc';
2
- import { type DesignCanvasMcpToolEnv } from './mcp-context';
1
+ import type { McpToolDefinition } from '../tools/mcp-rpc.js';
2
+ import { type DesignCanvasMcpToolEnv } from './mcp-context.js';
3
3
  export declare const CANVAS_READ_TOOLS: McpToolDefinition<DesignCanvasMcpToolEnv>[];
@@ -1,3 +1,3 @@
1
- import type { McpToolDefinition } from '../tools/mcp-rpc';
2
- import { type DesignCanvasMcpToolEnv } from './mcp-context';
1
+ import type { McpToolDefinition } from '../tools/mcp-rpc.js';
2
+ import { type DesignCanvasMcpToolEnv } from './mcp-context.js';
3
3
  export declare const CANVAS_TEMPLATES_TOOLS: McpToolDefinition<DesignCanvasMcpToolEnv>[];
@@ -12,7 +12,7 @@
12
12
  * underlying operation primitives before reaching the kernel — no separate
13
13
  * code path to drift.
14
14
  */
15
- import type { McpToolDefinition } from '../tools/mcp-rpc';
16
- import type { DesignCanvasMcpToolEnv } from './mcp-context';
17
- export type { DesignCanvasMcpToolEnv } from './mcp-context';
15
+ import type { McpToolDefinition } from '../tools/mcp-rpc.js';
16
+ import type { DesignCanvasMcpToolEnv } from './mcp-context.js';
17
+ export type { DesignCanvasMcpToolEnv } from './mcp-context.js';
18
18
  export declare const CANVAS_MCP_TOOLS: McpToolDefinition<DesignCanvasMcpToolEnv>[];
@@ -10,7 +10,7 @@
10
10
  * Attribute patches are validated per element kind in ./validate before
11
11
  * ./apply mutates the document; both run server-side on every path.
12
12
  */
13
- import type { NewPageOptions, PageBleed, PageGuides, SceneElement } from './model';
13
+ import type { NewPageOptions, PageBleed, PageGuides, SceneElement } from './model.js';
14
14
  /** Per-kind attribute patch. `kind` is immutable after creation; ids are
15
15
  * immutable always. Validation rejects attrs foreign to the target's kind. */
16
16
  export type SceneAttrsPatch = Partial<Omit<SceneElement, 'id' | 'kind' | 'children'>> & {
@@ -13,7 +13,7 @@
13
13
  * index on (workspaceId, isTemplate) makes template browsing fast.
14
14
  */
15
15
  import type { AnySQLiteColumn, AnySQLiteTable } from 'drizzle-orm/sqlite-core';
16
- import type { SceneDocument } from './model';
16
+ import type { SceneDocument } from './model.js';
17
17
  /** A product table referenced by FK — only the `id` column is touched. */
18
18
  export type DesignCanvasParentTable = AnySQLiteTable & {
19
19
  id: AnySQLiteColumn;
@@ -11,7 +11,7 @@
11
11
  * Every method throws on failure; the MCP dispatcher converts throws into
12
12
  * structured tool errors.
13
13
  */
14
- import type { SceneDocument } from './model';
14
+ import type { SceneDocument } from './model.js';
15
15
  /** Represent a scene document with its current revision number for version tracking */
16
16
  export interface SceneDocumentRecord {
17
17
  document: SceneDocument;
@@ -13,7 +13,7 @@
13
13
  * Unknown binding keys (no matching slot) throw — callers must preflight with
14
14
  * `validateBindings` or accept that the throw is the signal to fix their data.
15
15
  */
16
- import { type SceneDocument, type SceneElementKind } from './model';
16
+ import { type SceneDocument, type SceneElementKind } from './model.js';
17
17
  /** Define allowed string literals representing different slot fill kinds */
18
18
  export type SlotFillKind = 'text' | 'src' | 'color';
19
19
  /** Define a slot template specifying its name, page, element, and fill characteristics */
@@ -19,8 +19,8 @@
19
19
  * line elements → value must pass assertColor (stroke recolor)
20
20
  * group elements → value must pass assertColor (fill/stroke passed down to children)
21
21
  */
22
- import type { SceneDocument, SceneElementKind } from './model';
23
- import type { SceneOperation } from './operations';
22
+ import type { SceneDocument, SceneElementKind } from './model.js';
23
+ import type { SceneOperation } from './operations.js';
24
24
  /** Validate each scene operation against the document and throw detailed errors for invalid operations */
25
25
  export declare function validateSceneOperations(document: SceneDocument, operations: SceneOperation[]): void;
26
26
  /** Validate a scene operation against the document to ensure it meets required constraints */
@@ -23,8 +23,8 @@
23
23
  * Tokens/icons follow the canvas convention: CSS-var design tokens and inline
24
24
  * SVG glyphs, no icon-library or Tailwind-semantic-token dependency.
25
25
  */
26
- import type { SceneOperation } from '../../design-canvas/operations';
27
- import { type InsertPageGeometry, type InsertTemplate } from '../insert-builders';
26
+ import type { SceneOperation } from '../../design-canvas/operations.js';
27
+ import { type InsertPageGeometry, type InsertTemplate } from '../insert-builders.js';
28
28
  /** An already-generated image the panel can offer for one-click insertion. */
29
29
  export interface InsertGeneration {
30
30
  id: string;
@@ -20,9 +20,9 @@
20
20
  * - Keyboard: Mod+Z undo · Shift+Mod+Z / Mod+Y redo · Delete/Backspace deletes
21
21
  * the selection · F fits the page (forwarded to workspace via ref).
22
22
  */
23
- import type { SceneDocument } from '../../design-canvas/model';
24
- import type { DesignCanvasProps, ExportTriggerOptions } from '../contracts';
25
- import { createSceneCommandStack } from '../engine/command-stack';
23
+ import type { SceneDocument } from '../../design-canvas/model.js';
24
+ import type { DesignCanvasProps, ExportTriggerOptions } from '../contracts.js';
25
+ import { createSceneCommandStack } from '../engine/command-stack.js';
26
26
  /** Callers inject a workspace renderer so this chrome stays Konva-free. The
27
27
  * workspace occupies the scrollable area between the rulers and the bottom bar. */
28
28
  export interface DesignCanvasFullProps extends DesignCanvasProps {
@@ -14,7 +14,7 @@
14
14
  * second pass. Cache key: `${pageId}:${cheapHash(elements)}`. Thumbnail
15
15
  * absence is cosmetic; PagesStrip handles a null result gracefully.
16
16
  */
17
- import type { DesignCanvasProps } from '../contracts';
17
+ import type { DesignCanvasProps } from '../contracts.js';
18
18
  /**
19
19
  * Mount this component to get the full editor: toolbar, rulers, layers panel,
20
20
  * pages strip, zoom controls, and the Konva canvas — all sharing one command
@@ -24,8 +24,8 @@
24
24
  * locked → listening(false) except on the click handler for selection.
25
25
  * hidden → not rendered.
26
26
  */
27
- import { type CanvasRenderPalette } from '../../theme/theme';
28
- import type { SceneElement } from '../../design-canvas/model';
27
+ import { type CanvasRenderPalette } from '../../theme/theme.js';
28
+ import type { SceneElement } from '../../design-canvas/model.js';
29
29
  export interface ElementNodeProps {
30
30
  element: SceneElement;
31
31
  isSelected: boolean;
@@ -10,7 +10,7 @@
10
10
  * Tokens/glyphs follow the canvas convention: CSS-var design tokens and inline
11
11
  * SVG glyphs, no icon-library or browser-default `<select>`.
12
12
  */
13
- import type { ExportTriggerOptions } from '../contracts';
13
+ import type { ExportTriggerOptions } from '../contracts.js';
14
14
  export interface ExportControlProps {
15
15
  /** Pre-selected format/scale when the popover opens. Default PNG @ 1x. */
16
16
  defaults?: ExportTriggerOptions;
@@ -12,7 +12,7 @@
12
12
  * Commit: Meta+Enter or blur → emits `onCommit(newText)`.
13
13
  * Cancel: Escape → emits `onCancel()` and restores pre-edit text.
14
14
  */
15
- import type { TextElement } from '../../design-canvas/model';
15
+ import type { TextElement } from '../../design-canvas/model.js';
16
16
  interface InlineTextEditorProps {
17
17
  element: TextElement;
18
18
  zoom: number;
@@ -6,7 +6,7 @@
6
6
  * Rows can be drag-reordered within the list (siblings only; cross-group reorder
7
7
  * is a pending integrator concern). Capped at LAYERS_PANEL_ROW_LIMIT rows.
8
8
  */
9
- import type { SceneElement, ScenePage } from '../../design-canvas/model';
9
+ import type { SceneElement, ScenePage } from '../../design-canvas/model.js';
10
10
  export interface LayersPanelProps {
11
11
  page: ScenePage;
12
12
  selectedElementIds: string[];
@@ -7,7 +7,7 @@
7
7
  * only one page remains), drag-reorder pages. The strip is read-only when
8
8
  * `canWrite` is false.
9
9
  */
10
- import type { ScenePage } from '../../design-canvas/model';
10
+ import type { ScenePage } from '../../design-canvas/model.js';
11
11
  export interface PagesStripProps {
12
12
  pages: ScenePage[];
13
13
  activePageId: string;
@@ -13,7 +13,7 @@
13
13
  * The rulers themselves are pure DOM (no Konva); they sit in a CSS grid slot
14
14
  * next to the workspace canvas.
15
15
  */
16
- import type { PageGuides } from '../../design-canvas/model';
16
+ import type { PageGuides } from '../../design-canvas/model.js';
17
17
  export interface RulersProps {
18
18
  /** Page width in document px. */
19
19
  pageWidth: number;
@@ -29,9 +29,9 @@
29
29
  * The overlay: prefix on the Transformer name lets export logic skip it.
30
30
  */
31
31
  import type Konva from 'konva';
32
- import type { MultiSetAttrsEntry } from '../engine/commands';
33
- import type { SceneElement } from '../../design-canvas/model';
34
- import { type CanvasRenderPalette } from '../../theme/theme';
32
+ import type { MultiSetAttrsEntry } from '../engine/commands.js';
33
+ import type { SceneElement } from '../../design-canvas/model.js';
34
+ import { type CanvasRenderPalette } from '../../theme/theme.js';
35
35
  export interface SelectionLayerProps {
36
36
  /** Konva stage reference to look up selected nodes by name. */
37
37
  stageRef: React.RefObject<Konva.Stage | null>;
@@ -6,8 +6,8 @@
6
6
  * Guide line colors differ by kind so users can distinguish grid snaps (faint)
7
7
  * from element-edge/center snaps (accent) from saved ruler guides (blue).
8
8
  */
9
- import type { SnapTarget } from '../contracts';
10
- import { type CanvasRenderPalette } from '../../theme/theme';
9
+ import type { SnapTarget } from '../contracts.js';
10
+ import { type CanvasRenderPalette } from '../../theme/theme.js';
11
11
  interface SnapGuidesOverlayProps {
12
12
  /** Page dimensions in document px. */
13
13
  pageWidth: number;
@@ -10,9 +10,9 @@
10
10
  * the whole bar fits the editor's center column (viewport minus the w-64 side
11
11
  * panel and w-80 agent panel) at 1024–1280px with nothing clipped.
12
12
  */
13
- import type { SceneElement, ScenePage, PageBleed } from '../../design-canvas/model';
14
- import type { SceneAttrsPatch } from '../../design-canvas/operations';
15
- import type { DesignCanvasMode } from '../contracts';
13
+ import type { SceneElement, ScenePage, PageBleed } from '../../design-canvas/model.js';
14
+ import type { SceneAttrsPatch } from '../../design-canvas/operations.js';
15
+ import type { DesignCanvasMode } from '../contracts.js';
16
16
  export interface ToolbarProps {
17
17
  page: ScenePage;
18
18
  selectedElements: SceneElement[];
@@ -41,10 +41,10 @@
41
41
  * WorkspaceView. Existing consumers (tests, bare embeds) mount this without
42
42
  * any chrome.
43
43
  */
44
- import type { DesignCanvasProps, ExportTriggerOptions } from '../contracts';
45
- import { createSceneCommandStack } from '../engine/command-stack';
46
- import type { ScenePage } from '../../design-canvas/model';
47
- import { type CanvasRenderPalette } from '../../theme/theme';
44
+ import type { DesignCanvasProps, ExportTriggerOptions } from '../contracts.js';
45
+ import { createSceneCommandStack } from '../engine/command-stack.js';
46
+ import type { ScenePage } from '../../design-canvas/model.js';
47
+ import { type CanvasRenderPalette } from '../../theme/theme.js';
48
48
  export interface WorkspaceViewProps {
49
49
  /** The command stack this view commits gestures through. Must be the same
50
50
  * instance the chrome (DesignCanvasEditor) owns so undo/redo and layers-
@@ -2,36 +2,36 @@
2
2
  * Inline SVG glyphs for the design canvas editor. No external icon dependency —
3
3
  * same convention as sequences-react/components/glyphs.tsx.
4
4
  */
5
- export { UndoGlyph, RedoGlyph, LockGlyph, PlusGlyph, MinusGlyph, MagnetGlyph } from '../../web-react/editor-glyphs';
6
- export declare const SwapGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
7
- export declare const EyeGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
8
- export declare const EyeOffGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
9
- export declare const UnlockGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
10
- export declare const TrashGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
11
- export declare const GroupGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
12
- export declare const UngroupGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
13
- export declare const BringFrontGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
14
- export declare const SendBackGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
15
- export declare const AlignLeftGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
16
- export declare const AlignCenterGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
17
- export declare const AlignRightGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
18
- export declare const BoldGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
19
- export declare const ItalicGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
20
- export declare const ChevronDownGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
21
- export declare const RectGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
22
- export declare const EllipseGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
23
- export declare const LineGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
24
- export declare const TextGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
25
- export declare const ImageGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
26
- export declare const VideoGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
5
+ export { UndoGlyph, RedoGlyph, LockGlyph, PlusGlyph, MinusGlyph, MagnetGlyph } from '../../web-react/editor-glyphs.js';
6
+ export declare const SwapGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
7
+ export declare const EyeGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
8
+ export declare const EyeOffGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
9
+ export declare const UnlockGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
10
+ export declare const TrashGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
11
+ export declare const GroupGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
12
+ export declare const UngroupGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
13
+ export declare const BringFrontGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
14
+ export declare const SendBackGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
15
+ export declare const AlignLeftGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
16
+ export declare const AlignCenterGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
17
+ export declare const AlignRightGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
18
+ export declare const BoldGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
19
+ export declare const ItalicGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
20
+ export declare const ChevronDownGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
21
+ export declare const RectGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
22
+ export declare const EllipseGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
23
+ export declare const LineGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
24
+ export declare const TextGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
25
+ export declare const ImageGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
26
+ export declare const VideoGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
27
27
  /** A slot binding point: a socket plate with a keyhole notch — the outlet an
28
28
  * `apply_data` payload plugs into. Reads at h-3 where the old sunburst did not. */
29
- export declare const SlotGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
30
- export declare const PageGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
31
- export declare const GridGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
32
- export declare const RulerGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
33
- export declare const BleedGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
34
- export declare const DuplicateGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
35
- export declare const ZoomFitGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
36
- export declare const CanvasExportGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
37
- export declare const ShapesGlyph: ({ className }: import("../../web-react/editor-glyphs").EditorGlyphProps) => import("react").JSX.Element;
29
+ export declare const SlotGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
30
+ export declare const PageGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
31
+ export declare const GridGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
32
+ export declare const RulerGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
33
+ export declare const BleedGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
34
+ export declare const DuplicateGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
35
+ export declare const ZoomFitGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
36
+ export declare const CanvasExportGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
37
+ export declare const ShapesGlyph: ({ className }: import("../../web-react/editor-glyphs.js").EditorGlyphProps) => import("react").JSX.Element;
@@ -7,21 +7,21 @@
7
7
  * at render time so this index is safe to import in server bundles (tree-
8
8
  * shaking removes the Konva paths if they are never rendered).
9
9
  */
10
- export { DesignCanvas, type DesignCanvasFullProps } from './DesignCanvas';
11
- export { DesignCanvasEditor } from './DesignCanvasEditor';
12
- export { CanvasInsertPanel, type CanvasInsertPanelProps, type InsertGeneration, } from './CanvasInsertPanel';
13
- export { Workspace, WorkspaceView, type WorkspaceViewProps } from './Workspace';
14
- export { CanvasEmptyState, type CanvasEmptyStateProps } from './CanvasEmptyState';
15
- export { SelectionLayer, type SelectionLayerProps } from './SelectionLayer';
16
- export { PagesStrip, type PagesStripProps } from './PagesStrip';
17
- export { LayersPanel, type LayersPanelProps } from './LayersPanel';
18
- export { Toolbar, type ToolbarProps } from './Toolbar';
19
- export { ZoomControls, type ZoomControlsProps } from './ZoomControls';
20
- export { IconButton, type IconButtonProps, BTN, BTN_ACTIVE, BTN_SM, BTN_SM_ACTIVE, } from './icon-button';
21
- export { ExportControl, type ExportControlProps } from './ExportControl';
22
- export { ElementNode, type ElementNodeProps } from './ElementNode';
23
- export { GridLayer, type GridLayerProps } from './GridLayer';
24
- export { Rulers, type RulersProps } from './Rulers';
25
- export { flattenLayerTree, LAYERS_PANEL_ROW_LIMIT, type LayerRow, } from './layer-tree';
26
- export { bakeRectTransform, bakeLineTransform, bakeTextTransform, type TransformerNode, type BakedNodeAttrs, } from './transform-math';
27
- export { selectTickStep, buildRulerTicks, formatRulerLabel, type TickStep, type RulerTick, } from './ruler-math';
10
+ export { DesignCanvas, type DesignCanvasFullProps } from './DesignCanvas.js';
11
+ export { DesignCanvasEditor } from './DesignCanvasEditor.js';
12
+ export { CanvasInsertPanel, type CanvasInsertPanelProps, type InsertGeneration, } from './CanvasInsertPanel.js';
13
+ export { Workspace, WorkspaceView, type WorkspaceViewProps } from './Workspace.js';
14
+ export { CanvasEmptyState, type CanvasEmptyStateProps } from './CanvasEmptyState.js';
15
+ export { SelectionLayer, type SelectionLayerProps } from './SelectionLayer.js';
16
+ export { PagesStrip, type PagesStripProps } from './PagesStrip.js';
17
+ export { LayersPanel, type LayersPanelProps } from './LayersPanel.js';
18
+ export { Toolbar, type ToolbarProps } from './Toolbar.js';
19
+ export { ZoomControls, type ZoomControlsProps } from './ZoomControls.js';
20
+ export { IconButton, type IconButtonProps, BTN, BTN_ACTIVE, BTN_SM, BTN_SM_ACTIVE, } from './icon-button.js';
21
+ export { ExportControl, type ExportControlProps } from './ExportControl.js';
22
+ export { ElementNode, type ElementNodeProps } from './ElementNode.js';
23
+ export { GridLayer, type GridLayerProps } from './GridLayer.js';
24
+ export { Rulers, type RulersProps } from './Rulers.js';
25
+ export { flattenLayerTree, LAYERS_PANEL_ROW_LIMIT, type LayerRow, } from './layer-tree.js';
26
+ export { bakeRectTransform, bakeLineTransform, bakeTextTransform, type TransformerNode, type BakedNodeAttrs, } from './transform-math.js';
27
+ export { selectTickStep, buildRulerTicks, formatRulerLabel, type TickStep, type RulerTick, } from './ruler-math.js';
@@ -3,7 +3,7 @@
3
3
  * for the LayersPanel, preserving group nesting. Extracted so render order,
4
4
  * depth, and selection math can be unit-tested independently of React.
5
5
  */
6
- import type { SceneElement, ScenePage } from '../../design-canvas/model';
6
+ import type { SceneElement, ScenePage } from '../../design-canvas/model.js';
7
7
  /** Describe a layer row with its element, depth, grouping, ownership, and parent group details */
8
8
  export interface LayerRow {
9
9
  element: SceneElement;
@@ -1,4 +1,4 @@
1
- import type { ScenePage, PageBleed } from '../../design-canvas/model';
1
+ import type { ScenePage, PageBleed } from '../../design-canvas/model.js';
2
2
  interface PagePropsControlsProps {
3
3
  page: ScenePage;
4
4
  canWrite: boolean;
@@ -1,5 +1,5 @@
1
- import type { SceneElement } from '../../design-canvas/model';
2
- import type { SceneAttrsPatch } from '../../design-canvas/operations';
1
+ import type { SceneElement } from '../../design-canvas/model.js';
2
+ import type { SceneAttrsPatch } from '../../design-canvas/operations.js';
3
3
  interface SelectionControlsProps {
4
4
  elements: SceneElement[];
5
5
  single: SceneElement | null;
@@ -1,8 +1,8 @@
1
1
  /** Canvas keyboard commands and single-commit held-arrow nudges. */
2
2
  import { type Dispatch, type SetStateAction } from 'react';
3
- import type { SceneCommand, CanvasSnapResult } from '../contracts';
4
- import type { WorkspaceViewProps } from './Workspace';
5
- import { type MarqueeState, type GestureMode } from './workspace-gesture-state';
3
+ import type { SceneCommand, CanvasSnapResult } from '../contracts.js';
4
+ import type { WorkspaceViewProps } from './Workspace.js';
5
+ import { type MarqueeState, type GestureMode } from './workspace-gesture-state.js';
6
6
  type WorkspaceKeyboardOptions = Pick<WorkspaceViewProps, 'stack' | 'activePage' | 'canWrite' | 'onApplyOperations'> & {
7
7
  state: ReturnType<WorkspaceViewProps['stack']['getState']>;
8
8
  persist: (command: SceneCommand) => Promise<void>;
@@ -1,5 +1,5 @@
1
- import type { WorkspaceViewProps } from './Workspace';
2
- import type { createZoomPanMath } from '../engine/zoom-pan';
1
+ import type { WorkspaceViewProps } from './Workspace.js';
2
+ import type { createZoomPanMath } from '../engine/zoom-pan.js';
3
3
  type WorkspaceViewportOptions = Pick<WorkspaceViewProps, 'stack' | 'activePage' | 'onFitRef' | 'onExport' | 'onExportRef' | 'onReady'> & {
4
4
  activePageId: string;
5
5
  fitOnMount: boolean;
@@ -10,9 +10,9 @@
10
10
  * inverse = pre-gesture attrs) executes on release — undo is per-gesture,
11
11
  * never per-pixel.
12
12
  */
13
- import type { Bounds, SceneDocument, SceneElement, ScenePage } from '../design-canvas/model';
14
- import type { SceneOperation } from '../design-canvas/operations';
15
- import type { CanvasRenderPalette } from '../theme/theme';
13
+ import type { Bounds, SceneDocument, SceneElement, ScenePage } from '../design-canvas/model.js';
14
+ import type { SceneOperation } from '../design-canvas/operations.js';
15
+ import type { CanvasRenderPalette } from '../theme/theme.js';
16
16
  /** Define the state of the editor scene including document, view settings, and selection details */
17
17
  export interface EditorSceneState {
18
18
  document: SceneDocument;
@@ -11,8 +11,8 @@
11
11
  * `setView` updates volatile view state (zoom/pan/selection/toggles) without
12
12
  * touching history — view changes are never undo steps.
13
13
  */
14
- import type { SceneDocument } from '../../design-canvas/model';
15
- import type { SceneCommand, SceneCommandStack } from '../contracts';
14
+ import type { SceneDocument } from '../../design-canvas/model.js';
15
+ import type { SceneCommand, SceneCommandStack } from '../contracts.js';
16
16
  /** Oldest entries are dropped past this bound; redo stack is cleared on execute. */
17
17
  export declare const SCENE_COMMAND_HISTORY_LIMIT = 200;
18
18
  /**
@@ -15,9 +15,9 @@
15
15
  * rebasing in `apply.ts` is the single source of truth for both optimistic and
16
16
  * server state.
17
17
  */
18
- import type { SceneDocument, SceneElement } from '../../design-canvas/model';
19
- import type { SceneAttrsPatch } from '../../design-canvas/operations';
20
- import type { SceneCommand } from '../contracts';
18
+ import type { SceneDocument, SceneElement } from '../../design-canvas/model.js';
19
+ import type { SceneAttrsPatch } from '../../design-canvas/operations.js';
20
+ import type { SceneCommand } from '../contracts.js';
21
21
  /** Define input parameters for adding a scene element with optional index and parent group ID */
22
22
  export interface AddElementInput {
23
23
  pageId: string;
@@ -86,7 +86,7 @@ export declare function ungroupElementCommand(input: UngroupElementInput): Scene
86
86
  /** Define input parameters for adding a new page with optional settings and position index */
87
87
  export interface AddPageInput {
88
88
  pageId: string;
89
- options?: import('../../design-canvas/model').NewPageOptions;
89
+ options?: import('../../design-canvas/model.js').NewPageOptions;
90
90
  index?: number;
91
91
  }
92
92
  /** Create a command to add a page with optional settings and index in the scene */
@@ -123,7 +123,7 @@ export interface SetPagePropsInput {
123
123
  width?: number;
124
124
  height?: number;
125
125
  background?: string;
126
- bleed?: import('../../design-canvas/model').PageBleed | null;
126
+ bleed?: import('../../design-canvas/model.js').PageBleed | null;
127
127
  };
128
128
  }
129
129
  /** Build a command to update page properties based on the provided input */
@@ -132,7 +132,7 @@ export declare function setPagePropsCommand(input: SetPagePropsInput): SceneComm
132
132
  export interface SetPageGuidesInput {
133
133
  document: SceneDocument;
134
134
  pageId: string;
135
- guides: import('../../design-canvas/model').PageGuides;
135
+ guides: import('../../design-canvas/model.js').PageGuides;
136
136
  }
137
137
  /** Create a command to update page guides with undo support */
138
138
  export declare function setPageGuidesCommand(input: SetPageGuidesInput): SceneCommand;
@@ -8,7 +8,7 @@
8
8
  * the "surround" model where the marquee must fully contain the element. Locked
9
9
  * and invisible elements are never selected regardless.
10
10
  */
11
- import type { Bounds, ScenePage } from '../../design-canvas/model';
11
+ import type { Bounds, ScenePage } from '../../design-canvas/model.js';
12
12
  /**
13
13
  * Top-most selectable element whose AABB contains the document-space point, or
14
14
  * null when the point is over empty space.
@@ -11,8 +11,8 @@
11
11
  * Tie-breaking: non-grid kinds beat grid on equal distance; among equals of
12
12
  * the same priority the first in iteration order wins.
13
13
  */
14
- import type { Bounds, ScenePage } from '../../design-canvas/model';
15
- import type { SnapEngine, SnapTarget } from '../contracts';
14
+ import type { Bounds, ScenePage } from '../../design-canvas/model.js';
15
+ import type { SnapEngine, SnapTarget } from '../contracts.js';
16
16
  /** Build a SnapEngine instance to manage snapping targets and behavior within an editor scene */
17
17
  export declare function createSnapEngine(): SnapEngine;
18
18
  /** Generate grid line targets within a neighborhood around the moving bounds.
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * This module is pure math — no DOM, no Konva, no React.
10
10
  */
11
- import type { ZoomPanMath } from '../contracts';
11
+ import type { ZoomPanMath } from '../contracts.js';
12
12
  /** Define configuration options for minimum and maximum zoom levels in a zoom-pan interface */
13
13
  export interface ZoomPanConfig {
14
14
  minZoom: number;