@tangle-network/agent-app 0.63.66 → 0.63.70

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 (621) 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/index.js +1 -1
  25. package/dist/assistant/launcher.d.ts +1 -1
  26. package/dist/assistant/page-context.d.ts +1 -1
  27. package/dist/assistant/presentation.d.ts +1 -1
  28. package/dist/assistant/reducer.d.ts +1 -1
  29. package/dist/assistant/transcript.d.ts +3 -3
  30. package/dist/assistant/useAssistantChat.d.ts +2 -2
  31. package/dist/assistant/useAssistantModels.d.ts +1 -1
  32. package/dist/assistant/useAssistantThreads.d.ts +1 -1
  33. package/dist/billing/crypto-probe.d.ts +1 -1
  34. package/dist/billing/identity-bound.d.ts +1 -1
  35. package/dist/billing/identity-locks.d.ts +1 -1
  36. package/dist/billing/index.d.ts +1 -1
  37. package/dist/brand-extraction/extract.d.ts +1 -1
  38. package/dist/brand-extraction/index.d.ts +4 -4
  39. package/dist/brand-extraction/map.d.ts +1 -1
  40. package/dist/catalog/index.d.ts +1 -1
  41. package/dist/channels/components.d.ts +1 -1
  42. package/dist/channels/context.d.ts +1 -1
  43. package/dist/channels/hooks.d.ts +8 -8
  44. package/dist/channels/index.d.ts +6 -6
  45. package/dist/channels/numbers.d.ts +3 -3
  46. package/dist/channels/payment.d.ts +3 -3
  47. package/dist/channels/ui.d.ts +1 -1
  48. package/dist/chat-react/index.d.ts +2 -2
  49. package/dist/chat-routes/agent-producers.d.ts +15 -12
  50. package/dist/chat-routes/attachment-store.d.ts +1 -1
  51. package/dist/chat-routes/attachment-upload.d.ts +3 -3
  52. package/dist/chat-routes/attachment-validation.d.ts +2 -2
  53. package/dist/chat-routes/attachment-write-safety.d.ts +1 -1
  54. package/dist/chat-routes/cancellation.d.ts +1 -1
  55. package/dist/chat-routes/completed-sandbox-turn.d.ts +3 -3
  56. package/dist/chat-routes/default-backend.d.ts +11 -11
  57. package/dist/chat-routes/detached-turn.d.ts +5 -5
  58. package/dist/chat-routes/dispatch-first.d.ts +3 -3
  59. package/dist/chat-routes/dispatch-parts.d.ts +5 -5
  60. package/dist/chat-routes/draft-persistence.d.ts +3 -3
  61. package/dist/chat-routes/durable-projection.d.ts +1 -1
  62. package/dist/chat-routes/early-turn-work.d.ts +1 -1
  63. package/dist/chat-routes/file-index.d.ts +1 -1
  64. package/dist/chat-routes/gateway-adapter.d.ts +3 -3
  65. package/dist/chat-routes/hybrid-producer.d.ts +9 -9
  66. package/dist/chat-routes/index.d.ts +33 -33
  67. package/dist/chat-routes/index.js +5 -5
  68. package/dist/chat-routes/intelligence.d.ts +1 -1
  69. package/dist/chat-routes/model-failover-stream.d.ts +2 -2
  70. package/dist/chat-routes/native-completion.d.ts +1 -1
  71. package/dist/chat-routes/native-turn-timing.d.ts +2 -2
  72. package/dist/chat-routes/producer-stream.d.ts +1 -1
  73. package/dist/chat-routes/promote-file-part.d.ts +4 -4
  74. package/dist/chat-routes/protected-runtime-producer.d.ts +3 -3
  75. package/dist/chat-routes/resolve-attachments.d.ts +3 -3
  76. package/dist/chat-routes/route-prewarm.d.ts +1 -1
  77. package/dist/chat-routes/route-producer.d.ts +1 -1
  78. package/dist/chat-routes/route-storage.d.ts +7 -7
  79. package/dist/chat-routes/router-producer.d.ts +3 -3
  80. package/dist/chat-routes/sandbox-model-source.d.ts +4 -4
  81. package/dist/chat-routes/sandbox-producer.d.ts +5 -5
  82. package/dist/chat-routes/sandbox-turn-usage.d.ts +2 -2
  83. package/dist/chat-routes/stale-turn-lock.d.ts +1 -1
  84. package/dist/chat-routes/stored-attachments.d.ts +2 -2
  85. package/dist/chat-routes/turn-admission.d.ts +4 -4
  86. package/dist/chat-routes/turn-event-stream.d.ts +1 -1
  87. package/dist/chat-routes/turn-execution.d.ts +7 -7
  88. package/dist/chat-routes/turn-ownership.d.ts +4 -4
  89. package/dist/chat-routes/turn-prefetch.d.ts +2 -2
  90. package/dist/chat-routes/turn-route-contracts.d.ts +19 -19
  91. package/dist/chat-routes/turn-routes.d.ts +2 -2
  92. package/dist/chat-routes/upload.d.ts +1 -1
  93. package/dist/chat-store/core.d.ts +1 -1
  94. package/dist/chat-store/index.d.ts +4 -4
  95. package/dist/chat-store/parts.d.ts +5 -5
  96. package/dist/chat-store/schema.d.ts +1 -1
  97. package/dist/chat-store/store.d.ts +3 -3
  98. package/dist/chatgpt-react/fixtures.d.ts +1 -1
  99. package/dist/chatgpt-react/index.d.ts +1 -1
  100. package/dist/{chunk-H3DAXUKV.js → chunk-2ACI3WYT.js} +2 -2
  101. package/dist/{chunk-NJW4JCSF.js → chunk-62BPUU3A.js} +2 -2
  102. package/dist/{chunk-HJYEK4SU.js → chunk-6IMNAZR7.js} +2 -2
  103. package/dist/{chunk-XPB2UYHU.js → chunk-E2JMXA2V.js} +5 -5
  104. package/dist/{chunk-XPB2UYHU.js.map → chunk-E2JMXA2V.js.map} +1 -1
  105. package/dist/{chunk-4JTEPK2G.js → chunk-IIAXUKV7.js} +2 -2
  106. package/dist/{chunk-3F5LGESB.js → chunk-RG2CF4CS.js} +102 -27
  107. package/dist/chunk-RG2CF4CS.js.map +1 -0
  108. package/dist/{chunk-WOTWQ2ST.js → chunk-UOZ4JCFJ.js} +7 -7
  109. package/dist/{chunk-WOTWQ2ST.js.map → chunk-UOZ4JCFJ.js.map} +1 -1
  110. package/dist/{chunk-43CV4JIT.js → chunk-VKJEH6DG.js} +2 -2
  111. package/dist/{chunk-EUQ46YWK.js → chunk-X5BDMSPS.js} +17 -17
  112. package/dist/chunk-X5BDMSPS.js.map +1 -0
  113. package/dist/{chunk-FJRQCF43.js → chunk-XJ7DC2DI.js} +3 -3
  114. package/dist/{chunk-73AVOSH6.js → chunk-YG3DSMPS.js} +24 -13
  115. package/dist/chunk-YG3DSMPS.js.map +1 -0
  116. package/dist/{chunk-VQIH5NAB.js → chunk-YQD2RISF.js} +2 -2
  117. package/dist/config/index.d.ts +2 -2
  118. package/dist/crypto/index.d.ts +2 -2
  119. package/dist/design-canvas/apply.d.ts +3 -3
  120. package/dist/design-canvas/drizzle-store.d.ts +2 -2
  121. package/dist/design-canvas/drizzle.d.ts +2 -2
  122. package/dist/design-canvas/export-presets.d.ts +1 -1
  123. package/dist/design-canvas/index.d.ts +10 -10
  124. package/dist/design-canvas/mcp-context.d.ts +4 -4
  125. package/dist/design-canvas/mcp-elements-tools.d.ts +2 -2
  126. package/dist/design-canvas/mcp-entry.d.ts +1 -1
  127. package/dist/design-canvas/mcp-handler.d.ts +1 -1
  128. package/dist/design-canvas/mcp-pages-tools.d.ts +2 -2
  129. package/dist/design-canvas/mcp-read-tools.d.ts +2 -2
  130. package/dist/design-canvas/mcp-templates-tools.d.ts +2 -2
  131. package/dist/design-canvas/mcp-tools.d.ts +3 -3
  132. package/dist/design-canvas/operations.d.ts +1 -1
  133. package/dist/design-canvas/schema.d.ts +1 -1
  134. package/dist/design-canvas/store.d.ts +1 -1
  135. package/dist/design-canvas/templates.d.ts +1 -1
  136. package/dist/design-canvas/validate.d.ts +2 -2
  137. package/dist/design-canvas-react/components/CanvasInsertPanel.d.ts +2 -2
  138. package/dist/design-canvas-react/components/DesignCanvas.d.ts +3 -3
  139. package/dist/design-canvas-react/components/DesignCanvasEditor.d.ts +1 -1
  140. package/dist/design-canvas-react/components/ElementNode.d.ts +2 -2
  141. package/dist/design-canvas-react/components/ExportControl.d.ts +1 -1
  142. package/dist/design-canvas-react/components/InlineTextEditor.d.ts +1 -1
  143. package/dist/design-canvas-react/components/LayersPanel.d.ts +1 -1
  144. package/dist/design-canvas-react/components/PagesStrip.d.ts +1 -1
  145. package/dist/design-canvas-react/components/Rulers.d.ts +1 -1
  146. package/dist/design-canvas-react/components/SelectionLayer.d.ts +3 -3
  147. package/dist/design-canvas-react/components/SnapGuidesOverlay.d.ts +2 -2
  148. package/dist/design-canvas-react/components/Toolbar.d.ts +3 -3
  149. package/dist/design-canvas-react/components/Workspace.d.ts +4 -4
  150. package/dist/design-canvas-react/components/glyphs.d.ts +31 -31
  151. package/dist/design-canvas-react/components/index.d.ts +18 -18
  152. package/dist/design-canvas-react/components/layer-tree.d.ts +1 -1
  153. package/dist/design-canvas-react/components/toolbar-page-controls.d.ts +1 -1
  154. package/dist/design-canvas-react/components/toolbar-selection-controls.d.ts +2 -2
  155. package/dist/design-canvas-react/components/use-workspace-keyboard.d.ts +3 -3
  156. package/dist/design-canvas-react/components/use-workspace-viewport.d.ts +2 -2
  157. package/dist/design-canvas-react/contracts.d.ts +3 -3
  158. package/dist/design-canvas-react/engine/command-stack.d.ts +2 -2
  159. package/dist/design-canvas-react/engine/commands.d.ts +6 -6
  160. package/dist/design-canvas-react/engine/selection.d.ts +1 -1
  161. package/dist/design-canvas-react/engine/snap.d.ts +2 -2
  162. package/dist/design-canvas-react/engine/zoom-pan.d.ts +1 -1
  163. package/dist/design-canvas-react/engine.d.ts +8 -8
  164. package/dist/design-canvas-react/export-math.d.ts +2 -2
  165. package/dist/design-canvas-react/export.d.ts +2 -2
  166. package/dist/design-canvas-react/index.d.ts +4 -4
  167. package/dist/design-canvas-react/index.js +3 -3
  168. package/dist/design-canvas-react/insert-builders.d.ts +1 -1
  169. package/dist/design-canvas-react/lazy.d.ts +4 -4
  170. package/dist/design-canvas-react/lazy.js +1 -1
  171. package/dist/documents/docx.d.ts +2 -2
  172. package/dist/documents/extract.d.ts +1 -1
  173. package/dist/documents/index.d.ts +5 -5
  174. package/dist/documents/media-type.d.ts +1 -1
  175. package/dist/documents/pdf-inspector.d.ts +1 -1
  176. package/dist/email/index.d.ts +3 -3
  177. package/dist/email/index.js +1 -1
  178. package/dist/email/palette.d.ts +6 -6
  179. package/dist/email/templates.d.ts +1 -1
  180. package/dist/eval/index.d.ts +7 -7
  181. package/dist/eval-campaign/index.d.ts +1 -1
  182. package/dist/forms/blank.d.ts +1 -1
  183. package/dist/forms/fill.d.ts +1 -1
  184. package/dist/forms/index.d.ts +4 -4
  185. package/dist/forms/verify.d.ts +1 -1
  186. package/dist/harness/index.d.ts +3 -3
  187. package/dist/harness/presets.d.ts +1 -1
  188. package/dist/hosted-agent/application.d.ts +4 -4
  189. package/dist/hosted-agent/index.d.ts +5 -5
  190. package/dist/hosted-agent/react/ApplicationLineSetup.d.ts +3 -3
  191. package/dist/hosted-agent/react/LineBilling.d.ts +1 -1
  192. package/dist/hosted-agent/react/LineMembers.d.ts +1 -1
  193. package/dist/hosted-agent/react/LineSetup.d.ts +1 -1
  194. package/dist/hosted-agent/react/index.d.ts +6 -6
  195. package/dist/hosted-agent/workspace-line.d.ts +1 -1
  196. package/dist/hub-approvals/index.d.ts +4 -4
  197. package/dist/hub-approvals/present.d.ts +1 -1
  198. package/dist/hub-approvals-react/dock.d.ts +1 -1
  199. package/dist/hub-approvals-react/email.d.ts +1 -1
  200. package/dist/hub-approvals-react/feedback.d.ts +1 -1
  201. package/dist/hub-approvals-react/index.d.ts +8 -8
  202. package/dist/hub-approvals-react/list.d.ts +1 -1
  203. package/dist/hub-approvals-react/media.d.ts +1 -1
  204. package/dist/hub-approvals-react/parts.d.ts +1 -1
  205. package/dist/hub-approvals-react/preview.d.ts +1 -1
  206. package/dist/hub-approvals-react/receipt.d.ts +1 -1
  207. package/dist/hub-approvals-react/row.d.ts +1 -1
  208. package/dist/intakes/completion.d.ts +1 -1
  209. package/dist/intakes/drizzle/store.d.ts +3 -3
  210. package/dist/intakes/drizzle.d.ts +2 -2
  211. package/dist/intakes/index.d.ts +3 -3
  212. package/dist/integrations-react/index.d.ts +6 -6
  213. package/dist/integrations-react/panel.d.ts +3 -3
  214. package/dist/integrations-react/popup.d.ts +1 -1
  215. package/dist/integrations-react/use-hub-integrations.d.ts +13 -13
  216. package/dist/interactions/index.d.ts +3 -3
  217. package/dist/interactions/route.d.ts +2 -2
  218. package/dist/interactions/sidecar.d.ts +1 -1
  219. package/dist/knowledge-loop/index.d.ts +1 -1
  220. package/dist/legibility/checks/empty-state.d.ts +2 -2
  221. package/dist/legibility/checks/reachability.d.ts +2 -2
  222. package/dist/legibility/checks/silent-failure.d.ts +2 -2
  223. package/dist/legibility/checks/success.d.ts +2 -2
  224. package/dist/legibility/checks/vocabulary.d.ts +2 -2
  225. package/dist/legibility/cli-args.d.ts +1 -1
  226. package/dist/legibility/index.d.ts +9 -9
  227. package/dist/legibility/report.d.ts +1 -1
  228. package/dist/legibility/scan.d.ts +1 -1
  229. package/dist/legibility/suppress.d.ts +2 -2
  230. package/dist/media/generate-request.d.ts +1 -1
  231. package/dist/media/generation-record.d.ts +2 -2
  232. package/dist/media/index.d.ts +6 -6
  233. package/dist/media/model-catalog.d.ts +1 -1
  234. package/dist/media/router-generation.d.ts +1 -1
  235. package/dist/media/speech-script.d.ts +1 -1
  236. package/dist/missions/engine.d.ts +2 -2
  237. package/dist/missions/events.d.ts +1 -1
  238. package/dist/missions/index.d.ts +5 -5
  239. package/dist/missions/plan-parse.d.ts +1 -1
  240. package/dist/model-resolution/failover.d.ts +1 -1
  241. package/dist/model-resolution/index.d.ts +3 -3
  242. package/dist/openui/action.d.ts +1 -1
  243. package/dist/openui/authoring.d.ts +1 -1
  244. package/dist/openui/index.d.ts +5 -5
  245. package/dist/openui/route.d.ts +3 -3
  246. package/dist/openui-react/index.d.ts +1 -1
  247. package/dist/peer-floors/check.d.ts +1 -1
  248. package/dist/plans/decision.d.ts +1 -1
  249. package/dist/plans/drizzle.d.ts +1 -1
  250. package/dist/plans/index.d.ts +1 -1
  251. package/dist/platform/billable-turn-admission.d.ts +1 -1
  252. package/dist/platform/billing.d.ts +1 -1
  253. package/dist/platform/delegated-turn-keys.d.ts +2 -2
  254. package/dist/platform/sso-identity-store.d.ts +1 -1
  255. package/dist/preflight/cli.d.ts +1 -1
  256. package/dist/preset-cloudflare/detached-turn-workflow.d.ts +2 -2
  257. package/dist/preset-cloudflare/index.d.ts +10 -10
  258. package/dist/preset-cloudflare/index.js +2 -2
  259. package/dist/preset-cloudflare/native-completion-owner.d.ts +12 -12
  260. package/dist/preset-cloudflare/native-completion-store.d.ts +4 -4
  261. package/dist/preset-cloudflare/native-completion-workflow.d.ts +2 -2
  262. package/dist/profile/agent-prompt.d.ts +3 -3
  263. package/dist/profile/index.d.ts +14 -14
  264. package/dist/profile/model-input.d.ts +1 -1
  265. package/dist/profile/quality-skills.d.ts +1 -1
  266. package/dist/profile-editor/server.d.ts +2 -2
  267. package/dist/public-consultation/index.d.ts +7 -7
  268. package/dist/public-consultation/index.js +5 -5
  269. package/dist/record/drizzle/schema.d.ts +1 -1
  270. package/dist/record/drizzle/store.d.ts +3 -3
  271. package/dist/record/drizzle.d.ts +2 -2
  272. package/dist/record/fold.d.ts +1 -1
  273. package/dist/record/index.d.ts +3 -3
  274. package/dist/rollout/d1.d.ts +3 -3
  275. package/dist/runtime/certified-delivery.d.ts +1 -1
  276. package/dist/runtime/index.d.ts +10 -10
  277. package/dist/runtime/openai-stream.d.ts +1 -1
  278. package/dist/runtime/protected-router-turn.d.ts +1 -1
  279. package/dist/runtime/router-turn.d.ts +6 -6
  280. package/dist/runtime/surface-profile.d.ts +1 -1
  281. package/dist/runtime/turn-continuation.d.ts +1 -1
  282. package/dist/sandbox/access.d.ts +2 -2
  283. package/dist/sandbox/app-tools.d.ts +2 -2
  284. package/dist/sandbox/box-health.d.ts +3 -3
  285. package/dist/sandbox/computer-step.d.ts +5 -5
  286. package/dist/sandbox/configuration.d.ts +9 -9
  287. package/dist/sandbox/credentials.d.ts +1 -1
  288. package/dist/sandbox/existing-box.d.ts +4 -4
  289. package/dist/sandbox/foreground-single-flight.d.ts +4 -4
  290. package/dist/sandbox/index.d.ts +55 -55
  291. package/dist/sandbox/index.js +4 -4
  292. package/dist/sandbox/prewarm-claim-d1.d.ts +1 -1
  293. package/dist/sandbox/prewarm-route.d.ts +2 -2
  294. package/dist/sandbox/prewarm.d.ts +2 -2
  295. package/dist/sandbox/profile-corpus.d.ts +4 -4
  296. package/dist/sandbox/profile-files.d.ts +1 -1
  297. package/dist/sandbox/prompt-dispatch.d.ts +3 -3
  298. package/dist/sandbox/prompt-events.d.ts +2 -2
  299. package/dist/sandbox/prompt-options.d.ts +4 -4
  300. package/dist/sandbox/prompt-profile.d.ts +3 -3
  301. package/dist/sandbox/prompt-result.d.ts +4 -4
  302. package/dist/sandbox/prompt-trace.d.ts +1 -1
  303. package/dist/sandbox/recovery-original.d.ts +1 -1
  304. package/dist/sandbox/recovery.d.ts +1 -1
  305. package/dist/sandbox/router-models.d.ts +1 -1
  306. package/dist/sandbox/runtime-cache.d.ts +3 -3
  307. package/dist/sandbox/runtime-connection.d.ts +2 -2
  308. package/dist/sandbox/sandbox-exec-tool.d.ts +1 -1
  309. package/dist/sandbox/sandbox-run-tool.d.ts +5 -5
  310. package/dist/sandbox/warm-lease-d1.d.ts +1 -1
  311. package/dist/sandbox/workspace-boxes.d.ts +2 -2
  312. package/dist/sandbox/workspace-claim.d.ts +1 -1
  313. package/dist/sandbox/workspace-provision.d.ts +1 -1
  314. package/dist/sequences/apply.d.ts +4 -4
  315. package/dist/sequences/captions.d.ts +1 -1
  316. package/dist/sequences/drizzle-store.d.ts +3 -3
  317. package/dist/sequences/drizzle.d.ts +2 -2
  318. package/dist/sequences/exports.d.ts +1 -1
  319. package/dist/sequences/index.d.ts +11 -11
  320. package/dist/sequences/mcp-entry.d.ts +1 -1
  321. package/dist/sequences/mcp-handler.d.ts +2 -2
  322. package/dist/sequences/mcp-tools.d.ts +1 -1
  323. package/dist/sequences/operations.d.ts +1 -1
  324. package/dist/sequences/row-mapping.d.ts +1 -1
  325. package/dist/sequences/store.d.ts +1 -1
  326. package/dist/sequences/validate.d.ts +2 -2
  327. package/dist/sequences-react/components/PreviewCanvas.d.ts +2 -2
  328. package/dist/sequences-react/components/SnapIndicatorLine.d.ts +1 -1
  329. package/dist/sequences-react/components/TimelineClipChip.d.ts +2 -2
  330. package/dist/sequences-react/components/TimelineEditor.d.ts +1 -1
  331. package/dist/sequences-react/components/TimelineEmptyState.d.ts +1 -1
  332. package/dist/sequences-react/components/TimelineHistory.d.ts +4 -4
  333. package/dist/sequences-react/components/TimelineSmallScreenGate.d.ts +1 -1
  334. package/dist/sequences-react/components/TimelineTrackRow.d.ts +3 -3
  335. package/dist/sequences-react/components/ZoomControl.d.ts +1 -1
  336. package/dist/sequences-react/components/composite-command.d.ts +1 -1
  337. package/dist/sequences-react/components/glyphs.d.ts +12 -12
  338. package/dist/sequences-react/components/index.d.ts +24 -24
  339. package/dist/sequences-react/components/interaction-math.d.ts +1 -1
  340. package/dist/sequences-react/contracts.d.ts +3 -3
  341. package/dist/sequences-react/engine/command-stack.d.ts +2 -2
  342. package/dist/sequences-react/engine/commands.d.ts +2 -2
  343. package/dist/sequences-react/engine/playback.d.ts +1 -1
  344. package/dist/sequences-react/engine/snap.d.ts +2 -2
  345. package/dist/sequences-react/engine/zoom.d.ts +1 -1
  346. package/dist/sequences-react/index.d.ts +11 -11
  347. package/dist/sequences-react/lazy.d.ts +1 -1
  348. package/dist/sequences-react/media/frame-provider.d.ts +1 -1
  349. package/dist/sequences-react/media/transcription.d.ts +2 -2
  350. package/dist/sequences-react/media/waveform.d.ts +1 -1
  351. package/dist/session-shell/command-palette.d.ts +1 -1
  352. package/dist/session-shell/index.d.ts +2 -2
  353. package/dist/settings-react/confirm-action.d.ts +2 -2
  354. package/dist/settings-react/delete-workspace-section.d.ts +1 -1
  355. package/dist/settings-react/index.d.ts +9 -9
  356. package/dist/settings-react/members-section.d.ts +4 -4
  357. package/dist/settings-react/setting-outcome.d.ts +1 -1
  358. package/dist/settings-react/use-setting-field.d.ts +1 -1
  359. package/dist/signoff/config.d.ts +1 -1
  360. package/dist/signoff/index.d.ts +13 -13
  361. package/dist/signoff/phases.d.ts +1 -1
  362. package/dist/signoff/proof-attach.d.ts +1 -1
  363. package/dist/signoff/proof-fixture.d.ts +1 -1
  364. package/dist/signoff/proof-from-report.d.ts +2 -2
  365. package/dist/signoff/proof-verify.d.ts +2 -2
  366. package/dist/signoff/proof.d.ts +6 -6
  367. package/dist/signoff/report.d.ts +1 -1
  368. package/dist/signoff/run.d.ts +1 -1
  369. package/dist/signoff/seeds.d.ts +1 -1
  370. package/dist/signoff/shell-alignment-cli.d.ts +1 -1
  371. package/dist/signoff/shell-alignment.d.ts +1 -1
  372. package/dist/signoff/surface-ladder-cli.d.ts +1 -1
  373. package/dist/signoff/surface-ladder.d.ts +1 -1
  374. package/dist/signoff/types.d.ts +2 -2
  375. package/dist/signoff/workspace-surface.d.ts +1 -1
  376. package/dist/signoff/workspace.d.ts +1 -1
  377. package/dist/skills/index.d.ts +2 -2
  378. package/dist/skills-placement/box.d.ts +2 -2
  379. package/dist/skills-placement/index.d.ts +3 -3
  380. package/dist/spend/budget.d.ts +1 -1
  381. package/dist/spend/ceiling.d.ts +1 -1
  382. package/dist/spend/cli-args.d.ts +1 -1
  383. package/dist/spend/drizzle.d.ts +1 -1
  384. package/dist/spend/fixtures/incident-parked-time.d.ts +1 -1
  385. package/dist/spend/index.d.ts +11 -11
  386. package/dist/spend/liveness.d.ts +1 -1
  387. package/dist/spend/ownership.d.ts +1 -1
  388. package/dist/spend/platform-settlements.d.ts +1 -1
  389. package/dist/spend/reconcile.d.ts +2 -2
  390. package/dist/spend/reference.d.ts +1 -1
  391. package/dist/spend/report.d.ts +1 -1
  392. package/dist/spend/store.d.ts +1 -1
  393. package/dist/stories/app-shell/fixtures.d.ts +3 -3
  394. package/dist/stories/assistant/fixtures.d.ts +5 -5
  395. package/dist/stories/chat/fixtures.d.ts +5 -2
  396. package/dist/stories/chat/run-drill-in.d.ts +1 -1
  397. package/dist/stories/chat-controls/fixtures.d.ts +5 -5
  398. package/dist/stories/design-canvas/fixtures.d.ts +3 -3
  399. package/dist/stories/fixtures/canvas.d.ts +1 -1
  400. package/dist/stories/fixtures/catalog.d.ts +1 -1
  401. package/dist/stories/fixtures/channels.d.ts +1 -1
  402. package/dist/stories/fixtures/chat.d.ts +1 -1
  403. package/dist/stories/fixtures/index.d.ts +4 -4
  404. package/dist/stories/fixtures/profile-editor.d.ts +2 -2
  405. package/dist/stories/fixtures/sequences.d.ts +2 -2
  406. package/dist/stories/hosted-agent/fixtures.d.ts +1 -1
  407. package/dist/stories/panels/fixtures.d.ts +2 -2
  408. package/dist/stories/sequences/fixtures.d.ts +2 -2
  409. package/dist/stories/settings/settings-demo.d.ts +1 -1
  410. package/dist/stories/studio/StudioProviders.d.ts +2 -2
  411. package/dist/stories/studio/fixtures.d.ts +1 -1
  412. package/dist/stream/index.d.ts +5 -5
  413. package/dist/stream/orphaned-turns.d.ts +1 -1
  414. package/dist/stream/stream-normalizer.d.ts +1 -1
  415. package/dist/stream/turn-identity.d.ts +1 -1
  416. package/dist/studio/generated-media/flows.d.ts +7 -7
  417. package/dist/studio/generated-media/index.d.ts +3 -3
  418. package/dist/studio/generated-media/store.d.ts +1 -1
  419. package/dist/studio/generation.d.ts +2 -2
  420. package/dist/studio/index.d.ts +4 -4
  421. package/dist/studio/model-options.d.ts +1 -1
  422. package/dist/studio/ports.d.ts +1 -1
  423. package/dist/studio-react/composer-option-controls.d.ts +1 -1
  424. package/dist/studio-react/composer-persistence.d.ts +2 -2
  425. package/dist/studio-react/download-generations.d.ts +2 -2
  426. package/dist/studio-react/index.d.ts +18 -18
  427. package/dist/studio-react/media-tile.d.ts +2 -2
  428. package/dist/studio-react/media-viewer.d.ts +1 -1
  429. package/dist/studio-react/studio-composer.d.ts +1 -1
  430. package/dist/studio-react/studio-generation-screen.d.ts +2 -2
  431. package/dist/studio-react/studio-history-screen.d.ts +1 -1
  432. package/dist/studio-react/studio-home-screen.d.ts +3 -3
  433. package/dist/studio-react/studio-playback.d.ts +1 -1
  434. package/dist/studio-react/use-batch-navigation.d.ts +1 -1
  435. package/dist/studio-react/use-deferred-delete.d.ts +2 -2
  436. package/dist/studio-react/use-generation-history.d.ts +2 -2
  437. package/dist/studio-react/use-studio-generations.d.ts +1 -1
  438. package/dist/studio-react/use-studio-route.d.ts +1 -1
  439. package/dist/studio-react/use-vault-save-state.d.ts +2 -2
  440. package/dist/studio-react/vault-path-popover.d.ts +1 -1
  441. package/dist/teams/drizzle/access.d.ts +3 -3
  442. package/dist/teams/drizzle/invitations-schema.d.ts +1 -1
  443. package/dist/teams/drizzle/personal-organization.d.ts +3 -3
  444. package/dist/teams/drizzle.d.ts +4 -4
  445. package/dist/teams/index.d.ts +4 -4
  446. package/dist/teams/invitations-api.d.ts +7 -7
  447. package/dist/teams/invitations.d.ts +1 -1
  448. package/dist/teams/members-api.d.ts +3 -3
  449. package/dist/teams/thread-access.d.ts +1 -1
  450. package/dist/teams-react/components/InvitationsPanel.d.ts +1 -1
  451. package/dist/teams-react/components/InviteAcceptPage.d.ts +1 -1
  452. package/dist/teams-react/components/InviteForm.d.ts +1 -1
  453. package/dist/teams-react/components/InviteTokenPage.d.ts +1 -1
  454. package/dist/teams-react/components/MembersPanel.d.ts +1 -1
  455. package/dist/teams-react/components/RoleSelect.d.ts +1 -1
  456. package/dist/teams-react/components/index.d.ts +4 -4
  457. package/dist/teams-react/components/invitation-detail.d.ts +1 -1
  458. package/dist/teams-react/components/member-access.d.ts +2 -2
  459. package/dist/teams-react/contracts.d.ts +2 -2
  460. package/dist/teams-react/index.d.ts +2 -2
  461. package/dist/theme/brand.generated.d.ts +17 -17
  462. package/dist/theme/dom.js +2 -2
  463. package/dist/theme/index.d.ts +1 -1
  464. package/dist/theme/index.js +1 -1
  465. package/dist/theme/tokens.css +177 -140
  466. package/dist/tools/auth.d.ts +1 -1
  467. package/dist/tools/dispatch.d.ts +2 -2
  468. package/dist/tools/gating.d.ts +1 -1
  469. package/dist/tools/http.d.ts +4 -4
  470. package/dist/tools/index.d.ts +12 -12
  471. package/dist/tools/index.js +4 -4
  472. package/dist/tools/mcp.d.ts +4 -4
  473. package/dist/tools/openai.d.ts +1 -1
  474. package/dist/tools/registry.d.ts +2 -2
  475. package/dist/tools/runtime.d.ts +2 -2
  476. package/dist/tools/types.d.ts +2 -2
  477. package/dist/trace/index.d.ts +2 -2
  478. package/dist/trace/mission-flow.d.ts +1 -1
  479. package/dist/turn-stream/adapters.d.ts +4 -4
  480. package/dist/turn-stream/cancellation-do.d.ts +2 -2
  481. package/dist/turn-stream/cancellation.d.ts +3 -3
  482. package/dist/turn-stream/do.d.ts +1 -1
  483. package/dist/turn-stream/index.d.ts +5 -5
  484. package/dist/turn-stream/memory.d.ts +2 -2
  485. package/dist/turn-trace/index.d.ts +5 -5
  486. package/dist/turn-trace/otel.d.ts +1 -1
  487. package/dist/turn-trace/phase-timing.d.ts +1 -1
  488. package/dist/turn-trace/recorder.d.ts +1 -1
  489. package/dist/turn-trace/traced-fetch.d.ts +1 -1
  490. package/dist/vault/VaultContentResults.d.ts +1 -1
  491. package/dist/vault/VaultCreateDialog.d.ts +1 -1
  492. package/dist/vault/VaultDocumentToolbar.d.ts +1 -1
  493. package/dist/vault/VaultHistoryPanel.d.ts +1 -1
  494. package/dist/vault/VaultPane.d.ts +1 -1
  495. package/dist/vault/VaultPaneOperations.d.ts +2 -2
  496. package/dist/vault/VaultPaneStates.d.ts +1 -1
  497. package/dist/vault/collaboration.d.ts +1 -1
  498. package/dist/vault/index.d.ts +3 -3
  499. package/dist/vault/lazy.d.ts +1 -1
  500. package/dist/vault/store/coordinator.d.ts +4 -4
  501. package/dist/vault/store/index.d.ts +10 -10
  502. package/dist/vault/store/revisions.d.ts +1 -1
  503. package/dist/vault/store/sandbox-engine.d.ts +5 -5
  504. package/dist/vault/store/sandbox-hydrate.d.ts +3 -3
  505. package/dist/vault/store/sandbox-reconcile.d.ts +3 -3
  506. package/dist/vault/store/sandbox-sync.d.ts +5 -5
  507. package/dist/vault/store/store.d.ts +5 -5
  508. package/dist/vault/useVaultDockPlacement.d.ts +1 -1
  509. package/dist/vault/useVaultSearch.d.ts +2 -2
  510. package/dist/vault/vault-tree-paths.d.ts +1 -1
  511. package/dist/web/core.d.ts +3 -3
  512. package/dist/web/free-route-limit.d.ts +1 -1
  513. package/dist/web/index.d.ts +9 -9
  514. package/dist/web-react/agent-profile-editor.d.ts +6 -6
  515. package/dist/web-react/agent-profile-github-source.d.ts +1 -1
  516. package/dist/web-react/agent-profile-mcp-servers.d.ts +2 -2
  517. package/dist/web-react/agent-profile-registry-search.d.ts +1 -1
  518. package/dist/web-react/agent-session-controls.d.ts +3 -3
  519. package/dist/web-react/async/async-view.d.ts +2 -2
  520. package/dist/web-react/async/index.d.ts +4 -4
  521. package/dist/web-react/async/use-async-resource.d.ts +1 -1
  522. package/dist/web-react/async/use-confirmed-mutation.d.ts +1 -1
  523. package/dist/web-react/chat-attachments.d.ts +1 -1
  524. package/dist/web-react/chat-composer-types.d.ts +3 -3
  525. package/dist/web-react/chat-composer.d.ts +2 -2
  526. package/dist/web-react/chat-interactions.d.ts +1 -1
  527. package/dist/web-react/chat-mentions.d.ts +1 -1
  528. package/dist/web-react/chat-message-body.d.ts +1 -1
  529. package/dist/web-react/chat-message-metrics.d.ts +2 -2
  530. package/dist/web-react/chat-message-types.d.ts +6 -6
  531. package/dist/web-react/chat-messages.d.ts +1 -1
  532. package/dist/web-react/chat-stream.d.ts +15 -8
  533. package/dist/web-react/chat-tool-call.d.ts +1 -1
  534. package/dist/web-react/command-palette.d.ts +2 -2
  535. package/dist/web-react/controls.d.ts +6 -6
  536. package/dist/web-react/document.js +2 -2
  537. package/dist/web-react/durable-chat-cards.d.ts +5 -5
  538. package/dist/web-react/durable-interaction-submit.d.ts +1 -1
  539. package/dist/web-react/durable-plan-card.d.ts +2 -2
  540. package/dist/web-react/durable-plan-flow-card.d.ts +2 -2
  541. package/dist/web-react/durable-plan-flow.d.ts +1 -1
  542. package/dist/web-react/effort-picker.d.ts +1 -1
  543. package/dist/web-react/entry-composer.d.ts +5 -5
  544. package/dist/web-react/harness-glyphs.d.ts +1 -1
  545. package/dist/web-react/index.d.ts +67 -67
  546. package/dist/web-react/index.js +1 -1
  547. package/dist/web-react/insight-card.d.ts +1 -1
  548. package/dist/web-react/interaction-card-support.d.ts +1 -1
  549. package/dist/web-react/interaction-plan-card.d.ts +2 -2
  550. package/dist/web-react/interaction-question-card.d.ts +2 -2
  551. package/dist/web-react/mention-editor.d.ts +1 -1
  552. package/dist/web-react/mention-list.d.ts +1 -1
  553. package/dist/web-react/mention-serialize.d.ts +1 -1
  554. package/dist/web-react/message-attachments.d.ts +1 -1
  555. package/dist/web-react/message-projection.d.ts +1 -1
  556. package/dist/web-react/mission-activity.d.ts +1 -1
  557. package/dist/web-react/model-picker.d.ts +2 -2
  558. package/dist/web-react/provenance.d.ts +2 -2
  559. package/dist/web-react/record-grid-editors.d.ts +1 -1
  560. package/dist/web-react/record-grid-model.d.ts +1 -1
  561. package/dist/web-react/record-grid-review-actions.d.ts +1 -1
  562. package/dist/web-react/record-grid-source-marker.d.ts +1 -1
  563. package/dist/web-react/record-grid-types.d.ts +2 -2
  564. package/dist/web-react/record-grid-writes.d.ts +2 -2
  565. package/dist/web-react/record-grid.d.ts +3 -3
  566. package/dist/web-react/review-inbox.d.ts +2 -2
  567. package/dist/web-react/seat-paywall.d.ts +1 -1
  568. package/dist/web-react/session-history-panel.d.ts +2 -2
  569. package/dist/web-react/session-history.d.ts +4 -4
  570. package/dist/web-react/terminal.d.ts +2 -2
  571. package/dist/web-react/turn-progress.d.ts +1 -1
  572. package/dist/web-react/use-chat-interactions.d.ts +1 -1
  573. package/dist/web-react/use-composer-attachments.d.ts +3 -3
  574. package/dist/web-react/use-composer-commands.d.ts +2 -2
  575. package/dist/web-react/use-composer-file-intake.d.ts +1 -1
  576. package/dist/web-react/use-composer-send.d.ts +1 -1
  577. package/dist/web-react/use-file-mentions.d.ts +1 -1
  578. package/dist/web-react/use-models.d.ts +1 -1
  579. package/dist/web-react/use-plan-mode-selection.d.ts +1 -1
  580. package/dist/web-react/use-session-actions.d.ts +1 -1
  581. package/dist/web-react/use-session-history.d.ts +1 -1
  582. package/dist/web-react/work-product.d.ts +2 -2
  583. package/dist/work-product/draft-emission-tools.d.ts +3 -3
  584. package/dist/work-product/draft-tool-context.d.ts +4 -4
  585. package/dist/work-product/evidence-verification.d.ts +4 -4
  586. package/dist/work-product/index.d.ts +8 -8
  587. package/dist/work-product/index.js +2 -2
  588. package/dist/work-product/provenance.d.ts +2 -2
  589. package/dist/work-product/queue.d.ts +1 -1
  590. package/dist/work-product/route.d.ts +1 -1
  591. package/dist/work-product/service.d.ts +1 -1
  592. package/dist/work-product/submission-tool.d.ts +3 -3
  593. package/dist/work-product/tool-config.d.ts +4 -4
  594. package/dist/work-product/tools.d.ts +3 -3
  595. package/dist/work-product-react/index.d.ts +1 -1
  596. package/dist/workspace-apps/cloud-artifact-origin.d.ts +2 -2
  597. package/dist/workspace-apps/cloud-artifacts.d.ts +2 -2
  598. package/dist/workspace-apps/data-bridge.d.ts +1 -1
  599. package/dist/workspace-apps/index.d.ts +6 -6
  600. package/dist/workspace-apps/react.d.ts +2 -2
  601. package/dist/workspace-export/d1.d.ts +1 -1
  602. package/dist/workspace-export/engine.d.ts +2 -2
  603. package/dist/workspace-export/index.d.ts +8 -8
  604. package/dist/workspace-export/react.d.ts +1 -1
  605. package/dist/workspace-export/routes.d.ts +2 -2
  606. package/dist/workspace-export/sandbox.d.ts +1 -1
  607. package/dist/workspace-export/sources.d.ts +1 -1
  608. package/dist/workspace-react/index.d.ts +9 -9
  609. package/dist/workspace-react/workspace-list.d.ts +1 -1
  610. package/package.json +22 -28
  611. package/dist/chunk-3F5LGESB.js.map +0 -1
  612. package/dist/chunk-73AVOSH6.js.map +0 -1
  613. package/dist/chunk-EUQ46YWK.js.map +0 -1
  614. /package/dist/{DesignCanvasEditor-6XNHSREG.js.map → DesignCanvasEditor-PUO5Y6FB.js.map} +0 -0
  615. /package/dist/{chunk-H3DAXUKV.js.map → chunk-2ACI3WYT.js.map} +0 -0
  616. /package/dist/{chunk-NJW4JCSF.js.map → chunk-62BPUU3A.js.map} +0 -0
  617. /package/dist/{chunk-HJYEK4SU.js.map → chunk-6IMNAZR7.js.map} +0 -0
  618. /package/dist/{chunk-4JTEPK2G.js.map → chunk-IIAXUKV7.js.map} +0 -0
  619. /package/dist/{chunk-43CV4JIT.js.map → chunk-VKJEH6DG.js.map} +0 -0
  620. /package/dist/{chunk-FJRQCF43.js.map → chunk-XJ7DC2DI.js.map} +0 -0
  621. /package/dist/{chunk-VQIH5NAB.js.map → chunk-YQD2RISF.js.map} +0 -0
package/README.md CHANGED
@@ -218,11 +218,8 @@ Failures retain their SDK cause for the redacted diagnostic serializer and prese
218
218
  ```bash
219
219
  pnpm install
220
220
  pnpm typecheck && pnpm test && pnpm build
221
- pnpm test:eval-compat # application contracts for the declared Eval compatibility lines
222
221
  ```
223
222
 
224
- The compatibility suite reruns the Eval, campaign, profile, knowledge, and catalog seams against each published line named by `test:eval-compat`.
225
- A package identity assertion prevents the development peer from silently supplying that proof. These checks qualify the app's Eval seams separately from Runtime and Knowledge cohort compatibility.
226
223
 
227
224
  Build is [tsup](https://tsup.egoist.dev) for the ESM output plus `tsc` for the `.d.ts`, tests are [vitest](https://vitest.dev). A change keeps the suite green and follows the layering rule above — anything engine-general is contributed down to the substrate, not duplicated here. See [AGENTS.md](./AGENTS.md) for the full contributor contract.
228
225
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DesignCanvasEditor
3
- } from "./chunk-NJW4JCSF.js";
3
+ } from "./chunk-62BPUU3A.js";
4
4
  import "./chunk-I4CFBLSJ.js";
5
5
  import "./chunk-P4RRC4AO.js";
6
6
  import "./chunk-SJ73F7HD.js";
@@ -13,8 +13,8 @@ import "./chunk-ALIWB2P3.js";
13
13
  import "./chunk-5VE4IDSU.js";
14
14
  import "./chunk-V42C72V5.js";
15
15
  import "./chunk-TXD5HXLE.js";
16
- import "./chunk-EUQ46YWK.js";
16
+ import "./chunk-X5BDMSPS.js";
17
17
  export {
18
18
  DesignCanvasEditor
19
19
  };
20
- //# sourceMappingURL=DesignCanvasEditor-6XNHSREG.js.map
20
+ //# sourceMappingURL=DesignCanvasEditor-PUO5Y6FB.js.map
@@ -1,6 +1,6 @@
1
1
  import type { LineApplicationRequest } from '@tangle-network/sandbox/core';
2
- import { type ApplicationLineObservation } from '../hosted-agent/application';
3
- import type { ResolvedAgentEnrollment } from './index';
2
+ import { type ApplicationLineObservation } from '../hosted-agent/application.js';
3
+ import type { ResolvedAgentEnrollment } from './index.js';
4
4
  /** The host verifies Hub's signed callback before the SDK parses its body. */
5
5
  export interface AuthenticatedSharedLinePrincipal<Principal> {
6
6
  principal: Principal;
@@ -25,7 +25,7 @@
25
25
  * batch is refused rather than leaving half a claim.
26
26
  */
27
27
  import type { AnySQLiteColumn, AnySQLiteTable, BaseSQLiteDatabase } from 'drizzle-orm/sqlite-core';
28
- import { type AgentEnrollmentStore } from './index';
28
+ import { type AgentEnrollmentStore } from './index.js';
29
29
  export type AgentEnrollmentDatabase = BaseSQLiteDatabase<'sync' | 'async', any, any>;
30
30
  /** Required Drizzle column properties; SQL column names remain product-owned. */
31
31
  export type AgentInstanceClaimTable = AnySQLiteTable & {
@@ -1,6 +1,6 @@
1
1
  import type { EnsureInstanceOptions, Sandbox, SandboxInstance } from '@tangle-network/sandbox/core';
2
- export { createEnrolledApplicationLineHandler } from './application';
3
- export type { AuthenticatedSharedLinePrincipal, LiveSharedEnrollmentMember, EnrolledApplicationLineOptions, ObservedSharedLineApplicationRequest, SignedSharedLineApplicationRequest } from './application';
2
+ export { createEnrolledApplicationLineHandler } from './application.js';
3
+ export type { AuthenticatedSharedLinePrincipal, LiveSharedEnrollmentMember, EnrolledApplicationLineOptions, ObservedSharedLineApplicationRequest, SignedSharedLineApplicationRequest } from './application.js';
4
4
  /** An application's durable pointer to one private agent's native SDK session. */
5
5
  export interface AgentEnrollmentTarget {
6
6
  enrollmentId: string;
@@ -1,4 +1,4 @@
1
- import { type ProfileRevision, type ProfileRevisionStore, type ProfileSwitchReceipt } from './index';
1
+ import { type ProfileRevision, type ProfileRevisionStore, type ProfileSwitchReceipt } from './index.js';
2
2
  /** Structural subset of Cloudflare D1; keeps the optional driver out of other subpaths. */
3
3
  export interface ProfileD1Statement {
4
4
  bind(...values: (string | number | null)[]): ProfileD1Statement;
@@ -2,11 +2,11 @@ import {
2
2
  ProfileConflictError,
3
3
  parseProfileRevisionDiff,
4
4
  serializeProfileRevisionDiff
5
- } from "../chunk-H3DAXUKV.js";
5
+ } from "../chunk-2ACI3WYT.js";
6
6
  import "../chunk-3CI35I4X.js";
7
- import "../chunk-HJYEK4SU.js";
7
+ import "../chunk-6IMNAZR7.js";
8
8
  import "../chunk-UGWQLQDS.js";
9
- import "../chunk-XPB2UYHU.js";
9
+ import "../chunk-E2JMXA2V.js";
10
10
  import "../chunk-F4XBNR5L.js";
11
11
 
12
12
  // src/agent-profiles/d1.ts
@@ -1,8 +1,8 @@
1
1
  /** Chat-owned profile revisions and member/channel bindings. Execution stays in the substrate. */
2
2
  import { type AgentProfile, type AgentProfileDiff } from '@tangle-network/agent-interface';
3
- import { normalizeProfileName, parseProfileSwitch } from './switch';
3
+ import { normalizeProfileName, parseProfileSwitch } from './switch.js';
4
4
  export { normalizeProfileName, parseProfileSwitch };
5
- import type { McpToolDefinition } from '../tools';
5
+ import type { McpToolDefinition } from '../tools/index.js';
6
6
  export type ProfileAuthorKind = 'person' | 'agent' | 'optimizer';
7
7
  export type ProfileRevisionState = 'active' | 'candidate' | 'pending-consent';
8
8
  export interface ProfileRevision {
@@ -290,4 +290,4 @@ export interface ProfileMemoryStore {
290
290
  export declare const PROFILE_MEMORY_PREFIX = "/memories/workspace/";
291
291
  /** Shared self-edit tools; only the authenticated active turn can name the profile. */
292
292
  export declare function profileTools<TTurn extends ProfileToolTurn>(context: ProfileToolContext<TTurn>): McpToolDefinition<Record<string, never>>[];
293
- export * from './self-management';
293
+ export * from './self-management.js';
@@ -21,14 +21,14 @@ import {
21
21
  readProfileAdmission,
22
22
  serializeProfileRevisionDiff,
23
23
  switchProfile
24
- } from "../chunk-H3DAXUKV.js";
24
+ } from "../chunk-2ACI3WYT.js";
25
25
  import {
26
26
  normalizeProfileName,
27
27
  parseProfileSwitch
28
28
  } from "../chunk-3CI35I4X.js";
29
- import "../chunk-HJYEK4SU.js";
29
+ import "../chunk-6IMNAZR7.js";
30
30
  import "../chunk-UGWQLQDS.js";
31
- import "../chunk-XPB2UYHU.js";
31
+ import "../chunk-E2JMXA2V.js";
32
32
  import "../chunk-F4XBNR5L.js";
33
33
  export {
34
34
  PERMITTED_SELF_MOUNT_DIMENSIONS,
@@ -29,8 +29,8 @@
29
29
  * })
30
30
  * ```
31
31
  */
32
- import { type AppToolDefinition } from '../tools/registry';
33
- import type { AppToolContext } from '../tools/types';
32
+ import { type AppToolDefinition } from '../tools/registry.js';
33
+ import type { AppToolContext } from '../tools/types.js';
34
34
  /** The only profile dimensions an agent may change on its own mounted state.
35
35
  * Anything else in a delta is refused with this list — the boundary is the
36
36
  * schema, not the verb count. */
@@ -5,5 +5,5 @@
5
5
  * Nothing domain-specific lives here: the message text and the decision to
6
6
  * alert are the caller's, this owns delivery and the honest verdict about it.
7
7
  */
8
- export { postSlackAlert, type SlackAlertFailure, type SlackAlertOptions, type SlackAlertOutcome, type SlackFailureReason, } from './slack';
9
- export { createGithubIssueAlertChannel, type GithubIssueAlertChannel, type GithubIssueAlertOptions, } from './github';
8
+ export { postSlackAlert, type SlackAlertFailure, type SlackAlertOptions, type SlackAlertOutcome, type SlackFailureReason, } from './slack.js';
9
+ export { createGithubIssueAlertChannel, type GithubIssueAlertChannel, type GithubIssueAlertOptions, } from './github.js';
@@ -18,9 +18,9 @@
18
18
  * deliberately NOT re-exported from the root barrel.
19
19
  */
20
20
  import { type Auth, type BetterAuthOptions, type Session, type User } from 'better-auth';
21
- import { type EmailAttachment } from '../email';
22
- import { type AuthGuard } from '../platform/guards';
23
- import { type TangleSsoAccountStore, type TangleSsoAuthClient, type TangleSsoHandlers, type TangleIdentitySsoAccountStore, type TangleIdentitySsoAuthClient, type TangleOidcSsoAccountStore, type TangleOidcSsoAuthClient } from '../platform/sso';
21
+ import { type EmailAttachment } from '../email/index.js';
22
+ import { type AuthGuard } from '../platform/guards.js';
23
+ import { type TangleSsoAccountStore, type TangleSsoAuthClient, type TangleSsoHandlers, type TangleIdentitySsoAccountStore, type TangleIdentitySsoAuthClient, type TangleOidcSsoAccountStore, type TangleOidcSsoAuthClient } from '../platform/sso.js';
24
24
  /** Structural slice of a Resend-style client — no `resend` import. */
25
25
  export interface AppAuthEmailClient {
26
26
  emails: {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  noticeEmail
3
- } from "../chunk-WOTWQ2ST.js";
3
+ } from "../chunk-UOZ4JCFJ.js";
4
4
  import {
5
5
  createAuthGuard,
6
6
  createBetterAuthSessionCookieMinter,
@@ -11,8 +11,8 @@
11
11
  * used, after the Worker binds its environment.
12
12
  */
13
13
  import type { AnySQLiteColumn, AnySQLiteTable, BaseSQLiteDatabase } from 'drizzle-orm/sqlite-core';
14
- import type { AppOAuthTables } from './drizzle';
15
- import { type AppOAuthPrincipal } from './index';
14
+ import type { AppOAuthTables } from './drizzle.js';
15
+ import { type AppOAuthPrincipal } from './index.js';
16
16
  /** The product's drizzle SQLite database (D1 or any async SQLite driver). */
17
17
  export type AppOAuthIssuerDatabase = BaseSQLiteDatabase<'async', any, any>;
18
18
  /** The auth and OAuth tables the issuer reads and the provider writes. */
@@ -1,2 +1,2 @@
1
- export * from './types';
2
- export * from './schema';
1
+ export * from './types.js';
2
+ export * from './schema.js';
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import type { AssetSpec } from './types';
2
+ import type { AssetSpec } from './types.js';
3
3
  /** Validate brand token properties including colors, font, logo URL, business name, and voice */
4
4
  export declare const BrandTokensSchema: z.ZodObject<{
5
5
  primaryColor: z.ZodString;
@@ -18,9 +18,9 @@
18
18
  * <AssistantLauncherProvider> (panel state).
19
19
  */
20
20
  import { type ReactNode } from "react";
21
- import type { ToolDetailRenderers } from "../web-react";
22
- import { type AssistantPanelProps } from "./AssistantPanel";
23
- import type { AssistantPageContext, ConfirmedResult, ConnectionRequirement, ConnectRequirementResult } from "./types";
21
+ import type { ToolDetailRenderers } from "../web-react/index.js";
22
+ import { type AssistantPanelProps } from "./AssistantPanel.js";
23
+ import type { AssistantPageContext, ConfirmedResult, ConnectionRequirement, ConnectRequirementResult } from "./types.js";
24
24
  export interface AssistantDockProps {
25
25
  /** The signed-in user this conversation belongs to (null when signed out). */
26
26
  userId: string | null;
@@ -15,7 +15,7 @@
15
15
  * stays in `useAssistantThreads` (whose owner-masking and pending-delete rules
16
16
  * are transport-specific); this component consumes its outcome.
17
17
  */
18
- import type { AssistantThreadSummary } from "./client";
18
+ import type { AssistantThreadSummary } from "./client.js";
19
19
  export interface AssistantHistoryProps {
20
20
  threads: AssistantThreadSummary[];
21
21
  /** True once a fetch has settled at least once (drives empty-vs-loading copy). */
@@ -11,12 +11,12 @@
11
11
  * closing.
12
12
  */
13
13
  import { type ReactNode, type Ref } from "react";
14
- import type { CatalogModel } from "../runtime/model-catalog";
15
- import { type ComposerFile, type ToolDetailRenderers } from "../web-react";
16
- import type { AssistantModels } from "./client";
17
- import type { AssistantPanelLayout } from "./launcher";
18
- import type { AssistantPageContext, ConfirmedResult } from "./types";
19
- import type { AssistantChat } from "./useAssistantChat";
14
+ import type { CatalogModel } from "../runtime/model-catalog.js";
15
+ import { type ComposerFile, type ToolDetailRenderers } from "../web-react/index.js";
16
+ import type { AssistantModels } from "./client.js";
17
+ import type { AssistantPanelLayout } from "./launcher.js";
18
+ import type { AssistantPageContext, ConfirmedResult } from "./types.js";
19
+ import type { AssistantChat } from "./useAssistantChat.js";
20
20
  export interface AssistantPanelProps {
21
21
  chat: AssistantChat;
22
22
  userId: string | null;
@@ -13,7 +13,7 @@
13
13
  * are injected too.
14
14
  */
15
15
  import { type ReactNode } from "react";
16
- import type { ConnectionRequirement, PendingProposal } from "./types";
16
+ import type { ConnectionRequirement, PendingProposal } from "./types.js";
17
17
  export interface ProposalCardProps {
18
18
  proposal: PendingProposal;
19
19
  /** True while this proposal's confirmation is in flight (disables the buttons). */
@@ -6,7 +6,7 @@
6
6
  * portable across hosts.
7
7
  */
8
8
  import { type ReactNode } from "react";
9
- import type { AssistantClient } from "./client";
9
+ import type { AssistantClient } from "./client.js";
10
10
  export declare function AssistantClientProvider({ client, children, }: {
11
11
  client: AssistantClient;
12
12
  children: ReactNode;
@@ -9,7 +9,7 @@
9
9
  * `headers`. The request shapes and the defensive wire parsing are identical
10
10
  * across hosts — only the base URL and the auth headers vary.
11
11
  */
12
- import type { AssistantStreamEvent, ChatMessage, ChatRequest, PendingProposal } from "./types";
12
+ import type { AssistantStreamEvent, ChatMessage, ChatRequest, PendingProposal } from "./types.js";
13
13
  /** Host-supplied transport configuration for {@link createAssistantClient}. */
14
14
  export interface AssistantClientConfig {
15
15
  /**
@@ -8,17 +8,17 @@
8
8
  * the workflow-graph renderer are injected so this subpath carries no
9
9
  * product-specific dependency.
10
10
  */
11
- export * from "./types";
12
- export * from "./client";
13
- export * from "./client-context";
14
- export { useAssistantChat, type AssistantChat, type AssistantSendOptions, type UseAssistantChatOptions, } from "./useAssistantChat";
15
- export { useAssistantModels } from "./useAssistantModels";
16
- export { useAssistantThreads, type AssistantThreads } from "./useAssistantThreads";
17
- export { AssistantDock, type AssistantDockProps } from "./AssistantDock";
18
- export { AssistantPanel, type AssistantPanelProps } from "./AssistantPanel";
19
- export { AssistantTranscript, type AssistantTranscriptProps, type AssistantTimelineOptions, buildAssistantTimeline, assistantIsThinking, } from "./transcript";
20
- export { ProposalCard, type ProposalCardProps } from "./ProposalCard";
21
- export { AssistantLauncherProvider, useAssistantLauncher, useAssistantPageLabel, type AssistantLauncher, type AssistantPanelLayout, } from "./launcher";
22
- export { MIN_PAGE_WIDTH, MIN_PANEL_WIDTH } from "./usePanelPrefs";
23
- export { useDocumentPageContext, pageLabelFromTitle, type DocumentPageContextOptions, } from "./page-context";
24
- export { AssistantPanelToggle, type AssistantPanelToggleProps, ASSISTANT_PANEL_ID, assistantShortcutLabel, } from "./panel-toggle";
11
+ export * from "./types.js";
12
+ export * from "./client.js";
13
+ export * from "./client-context.js";
14
+ export { useAssistantChat, type AssistantChat, type AssistantSendOptions, type UseAssistantChatOptions, } from "./useAssistantChat.js";
15
+ export { useAssistantModels } from "./useAssistantModels.js";
16
+ export { useAssistantThreads, type AssistantThreads } from "./useAssistantThreads.js";
17
+ export { AssistantDock, type AssistantDockProps } from "./AssistantDock.js";
18
+ export { AssistantPanel, type AssistantPanelProps } from "./AssistantPanel.js";
19
+ export { AssistantTranscript, type AssistantTranscriptProps, type AssistantTimelineOptions, buildAssistantTimeline, assistantIsThinking, } from "./transcript.js";
20
+ export { ProposalCard, type ProposalCardProps } from "./ProposalCard.js";
21
+ export { AssistantLauncherProvider, useAssistantLauncher, useAssistantPageLabel, type AssistantLauncher, type AssistantPanelLayout, } from "./launcher.js";
22
+ export { MIN_PAGE_WIDTH, MIN_PANEL_WIDTH } from "./usePanelPrefs.js";
23
+ export { useDocumentPageContext, pageLabelFromTitle, type DocumentPageContextOptions, } from "./page-context.js";
24
+ export { AssistantPanelToggle, type AssistantPanelToggleProps, ASSISTANT_PANEL_ID, assistantShortcutLabel, } from "./panel-toggle.js";
@@ -2,7 +2,7 @@ import {
2
2
  ReasoningRow,
3
3
  chatToolCallPart,
4
4
  resolveToolPresentation
5
- } from "../chunk-73AVOSH6.js";
5
+ } from "../chunk-YG3DSMPS.js";
6
6
  import "../chunk-UHSUY6H6.js";
7
7
  import "../chunk-3HUFJ5LO.js";
8
8
  import "../chunk-7PULOECS.js";
@@ -8,7 +8,7 @@
8
8
  * preference, and the docked-or-sheet layout.
9
9
  */
10
10
  import { type ReactNode } from "react";
11
- import { type PanelPrefs } from "./usePanelPrefs";
11
+ import { type PanelPrefs } from "./usePanelPrefs.js";
12
12
  /** `docked`: a column beside the page, wherever the page keeps a usable column
13
13
  * beside it. `sheet`: a modal overlay, full screen on phones. */
14
14
  export type AssistantPanelLayout = "docked" | "sheet";
@@ -6,7 +6,7 @@
6
6
  * workflow loads). A page whose title does not name what it shows sets its own
7
7
  * label with `useAssistantPageLabel`, which wins over the title.
8
8
  */
9
- import type { AssistantPageContext } from "./types";
9
+ import type { AssistantPageContext } from "./types.js";
10
10
  /** Pass module-level `titleSuffix`, `ignoreTitles` and `ids` so the context
11
11
  * keeps its identity between renders. */
12
12
  export interface DocumentPageContextOptions {
@@ -4,7 +4,7 @@
4
4
  * confirmation card. Kept free of React so the rendering decisions are unit
5
5
  * testable in isolation.
6
6
  */
7
- import type { PendingProposal } from "./types";
7
+ import type { PendingProposal } from "./types.js";
8
8
  interface ErrorCta {
9
9
  label: string;
10
10
  to: string;
@@ -4,7 +4,7 @@
4
4
  * proposal, a manual stop — is modeled as an action here, so the panel's
5
5
  * behavior can be verified without a DOM or a live stream.
6
6
  */
7
- import type { AssistantStreamEvent, ChatMessage, ConnectionRequirementKind, PendingProposal, UsageInfo } from "./types";
7
+ import type { AssistantStreamEvent, ChatMessage, ConnectionRequirementKind, PendingProposal, UsageInfo } from "./types.js";
8
8
  type ChatStatus = "idle" | "streaming" | "awaiting_confirm";
9
9
  export interface AssistantState {
10
10
  /** The signed-in user this conversation belongs to. Carried in state so it
@@ -13,9 +13,9 @@
13
13
  */
14
14
  import { type AgentTimelineItem } from "@tangle-network/ui/chat";
15
15
  import { type ReactNode } from "react";
16
- import { type ToolDetailRenderers } from "../web-react";
17
- import type { AssistantState } from "./reducer";
18
- import type { AssistantTranscriptView, ConfirmedResult } from "./types";
16
+ import { type ToolDetailRenderers } from "../web-react/index.js";
17
+ import type { AssistantState } from "./reducer.js";
18
+ import type { AssistantTranscriptView, ConfirmedResult } from "./types.js";
19
19
  /**
20
20
  * True while a turn is streaming but the model hasn't emitted its first answer
21
21
  * token yet. Drives the timeline's thinking row, so a reasoning gap reads as
@@ -4,8 +4,8 @@
4
4
  * reloads. All rendering decisions live in the pure reducer + presentation
5
5
  * helpers; this hook is the glue between them and the network.
6
6
  */
7
- import { type AssistantState } from "./reducer";
8
- import type { AssistantDeliveryMode, AssistantPageContext, ConnectionRequirement, ConnectRequirementResult, PendingProposal } from "./types";
7
+ import { type AssistantState } from "./reducer.js";
8
+ import type { AssistantDeliveryMode, AssistantPageContext, ConnectionRequirement, ConnectRequirementResult, PendingProposal } from "./types.js";
9
9
  /** Define options for configuring how the assistant sends messages */
10
10
  export interface AssistantSendOptions {
11
11
  deliveryMode?: AssistantDeliveryMode;
@@ -17,6 +17,6 @@
17
17
  * first run's `active = false` makes its callback a no-op, the second commits —
18
18
  * dedup holds, no torn state.
19
19
  */
20
- import type { AssistantModels } from "./client";
20
+ import type { AssistantModels } from "./client.js";
21
21
  /** Resolve and return the current assistant models from the per-client cache with immediate client swap updates */
22
22
  export declare function useAssistantModels(): AssistantModels;
@@ -19,7 +19,7 @@
19
19
  * the retry instead — the `web-react/async` rule (a failed fetch cannot render
20
20
  * as empty data) applied to this hook's own transport.
21
21
  */
22
- import type { AssistantThreadSummary } from "./client";
22
+ import type { AssistantThreadSummary } from "./client.js";
23
23
  /** Manage and interact with a list of assistant threads including loading, refreshing, and removing threads */
24
24
  export interface AssistantThreads {
25
25
  threads: AssistantThreadSummary[];
@@ -1,3 +1,3 @@
1
- import type { KeyCrypto } from './index';
1
+ import type { KeyCrypto } from './index.js';
2
2
  /** Prove the at-rest crypto seam before a remote key is minted. */
3
3
  export declare function assertWorkspaceKeyCryptoUsable(crypto: KeyCrypto): Promise<void>;
@@ -1,4 +1,4 @@
1
- import type { KeyCrypto, KeyProvisioner } from './index';
1
+ import type { KeyCrypto, KeyProvisioner } from './index.js';
2
2
  /** Lifecycle state for a durable delegated key row. */
3
3
  export type WorkspaceKeyStatus = 'legacy' | 'provisioning' | 'active' | 'revocation_pending' | 'revoked' | 'orphaned';
4
4
  /** Product partition used by the key store and remote provisioner. */
@@ -1,4 +1,4 @@
1
- import type { DurableWorkspaceKeyManagerOptions } from './identity-bound';
1
+ import type { DurableWorkspaceKeyManagerOptions } from './identity-bound.js';
2
2
  export declare function createWorkspaceKeyLocks(leaseWaitMs: number, options: DurableWorkspaceKeyManagerOptions, now: () => Date, leaseMs: number, leasePollMs: number, leaseRenewIntervalMs: number, operationId: () => string, sleep: (ms: number) => Promise<void>): {
3
3
  withLocalLock: <T>(scope: string, work: () => Promise<T>) => Promise<T>;
4
4
  withDurableLease: <T>(scope: string, work: () => Promise<T>, onLeaseLost?: () => Promise<void>) => Promise<T>;
@@ -254,4 +254,4 @@ export interface PlatformBalanceManager<Plan extends string> {
254
254
  export declare function createPlatformBalanceManager<Plan extends string>(opts: PlatformBalanceManagerOptions<Plan>): PlatformBalanceManager<Plan>;
255
255
  /** Create a workspace key manager that handles key provisioning and budget tracking */
256
256
  export declare function createWorkspaceKeyManager(opts: WorkspaceKeyManagerOptions): WorkspaceKeyManager;
257
- export { createIdentityBoundWorkspaceKeyManager, type DurableWorkspaceKeyManager, type DurableWorkspaceKeyManagerOptions, type DurableWorkspaceKeyCreateInput, type DurableWorkspaceKeyConditionalWrites, type DurableWorkspaceKeyProvisioner, type DurableWorkspaceKeyProvisioningRecord, type DurableWorkspaceKeyRecord, type DurableWorkspaceKeyScope, type DurableWorkspaceKeyStore, type WorkspaceKeyIdentity, type WorkspaceKeyProduct, type WorkspaceKeyStatus, type WorkspaceKeyUsage, type WorkspaceRuntimeKey, } from './identity-bound';
257
+ export { createIdentityBoundWorkspaceKeyManager, type DurableWorkspaceKeyManager, type DurableWorkspaceKeyManagerOptions, type DurableWorkspaceKeyCreateInput, type DurableWorkspaceKeyConditionalWrites, type DurableWorkspaceKeyProvisioner, type DurableWorkspaceKeyProvisioningRecord, type DurableWorkspaceKeyRecord, type DurableWorkspaceKeyScope, type DurableWorkspaceKeyStore, type WorkspaceKeyIdentity, type WorkspaceKeyProduct, type WorkspaceKeyStatus, type WorkspaceKeyUsage, type WorkspaceRuntimeKey, } from './identity-bound.js';
@@ -14,7 +14,7 @@
14
14
  * `{ succeeded: false }` outcome so callers never mistake an empty kit for a
15
15
  * real one.
16
16
  */
17
- import type { BrandExtractionResult, BrandKit, ExtractBrandKitOptions } from './types';
17
+ import type { BrandExtractionResult, BrandKit, ExtractBrandKitOptions } from './types.js';
18
18
  /** Normalize a user-supplied site URL: add https:// when scheme-less, validate. */
19
19
  export declare function normalizeSiteUrl(raw: string): string | null;
20
20
  /** Normalize any CSS color literal to #rrggbb / #rrggbbaa hex, or null. */
@@ -7,7 +7,7 @@
7
7
  * mechanism: no persistence, no rendering. Consumers (gtm, creative) map the
8
8
  * decided kit onto their own durable brand store via the `map` helpers.
9
9
  */
10
- export * from './types';
11
- export { extractBrandKit, parseBrandKit, normalizeSiteUrl, normalizeColor } from './extract';
12
- export { decideBrandKit, decidePalette, decideFonts, luminance, } from './map';
13
- export type { DecidedBrandKit, DecidedPalette, DecidedFonts } from './map';
10
+ export * from './types.js';
11
+ export { extractBrandKit, parseBrandKit, normalizeSiteUrl, normalizeColor } from './extract.js';
12
+ export { decideBrandKit, decidePalette, decideFonts, luminance, } from './map.js';
13
+ export type { DecidedBrandKit, DecidedPalette, DecidedFonts } from './map.js';
@@ -7,7 +7,7 @@
7
7
  * show "we picked X — change it?". They NEVER invent a value: when a role can't
8
8
  * be filled from the kit, it is omitted, and the caller decides the fallback.
9
9
  */
10
- import type { BrandColor, BrandFont, BrandKit } from './types';
10
+ import type { BrandColor, BrandFont, BrandKit } from './types.js';
11
11
  /** Relative luminance (0..1) of an #rrggbb(aa) hex — for light/dark sorting. */
12
12
  export declare function luminance(hex: string): number;
13
13
  /** Define a color palette with background, surface, text, and accent colors for UI elements */
@@ -12,4 +12,4 @@
12
12
  * no agent-runtime) so pickers and client hooks have a safe import target.
13
13
  * Server code may keep importing from `./runtime`; the two share one source.
14
14
  */
15
- export { buildCatalog, catalogModelForId, fetchModelCatalog, isChatCapableModel, normalizeModelId, resolveCatalogModelId, sortModelsByFreshness, __resetCatalogCache, type CatalogModel, type ModelCatalog, type RouterModel, } from '../runtime/model-catalog';
15
+ export { buildCatalog, catalogModelForId, fetchModelCatalog, isChatCapableModel, normalizeModelId, resolveCatalogModelId, sortModelsByFreshness, __resetCatalogCache, type CatalogModel, type ModelCatalog, type RouterModel, } from '../runtime/model-catalog.js';
@@ -1,4 +1,4 @@
1
- import type { Line, LineTransport } from './types';
1
+ import type { Line, LineTransport } from './types.js';
2
2
  /** User-facing deep links, not provider API calls. Invalid addresses render as text only. */
3
3
  export declare function channelMessageLink(line: Line, instruction: string): string | null;
4
4
  /** Delivery evidence comes exclusively from the host. An acquired line is not proof. */
@@ -1,5 +1,5 @@
1
1
  import { type ReactNode } from 'react';
2
- import type { ChannelsClient, ChannelsReadClient } from './types';
2
+ import type { ChannelsClient, ChannelsReadClient } from './types.js';
3
3
  /** Mount below authentication. Changing scope remounts all channel state. */
4
4
  export declare function ChannelsProvider({ client, pollInterval, children }: {
5
5
  client: ChannelsReadClient;
@@ -1,22 +1,22 @@
1
- import type { AsyncLoadContext, AsyncResourceState } from '../web-react/async';
2
- import type { ChannelVerification, ConnectChannelInput, Line, LineTransport } from './types';
1
+ import type { AsyncLoadContext, AsyncResourceState } from '../web-react/async/index.js';
2
+ import type { ChannelVerification, ConnectChannelInput, Line, LineTransport } from './types.js';
3
3
  /** Reuse the kit's abort/sequence-aware read machine; polling never overlaps a read. */
4
4
  export declare function useChannelResource<T>(load: (context: AsyncLoadContext) => Promise<T>, deps: readonly unknown[], enabled?: boolean, poll?: boolean): AsyncResourceState<T>;
5
5
  /** Single-flight on top of the shared confirmed-write primitive. */
6
- export declare function useChannelMutation<I, O>(mutate: (input: I, context: AsyncLoadContext) => Promise<O>, onSucceeded?: (value: O) => void): import("../web-react/async").ConfirmedMutation<I, O>;
6
+ export declare function useChannelMutation<I, O>(mutate: (input: I, context: AsyncLoadContext) => Promise<O>, onSucceeded?: (value: O) => void): import("../web-react/async/index.js").ConfirmedMutation<I, O>;
7
7
  export declare function useChannels(): AsyncResourceState<Line[]>;
8
- export declare function useChannelConnections(transport: LineTransport): AsyncResourceState<import("./types").ChannelConnection[]>;
9
- export declare function useWhatsAppNumbers(connectionId: string): AsyncResourceState<import("./types").ChannelNumber[]>;
8
+ export declare function useChannelConnections(transport: LineTransport): AsyncResourceState<import("./types.js").ChannelConnection[]>;
9
+ export declare function useWhatsAppNumbers(connectionId: string): AsyncResourceState<import("./types.js").ChannelNumber[]>;
10
10
  /** Connect only acquires/binds a line. It never labels it verified or activates replies. */
11
- export declare function useConnectChannel(onConnected?: (line: Line) => void): import("../web-react/async").ConfirmedMutation<ConnectChannelInput, Line>;
11
+ export declare function useConnectChannel(onConnected?: (line: Line) => void): import("../web-react/async/index.js").ConfirmedMutation<ConnectChannelInput, Line>;
12
12
  export declare function verificationExpired(test: ChannelVerification, now?: number): boolean;
13
13
  export type VerificationAction = 'start' | 'resume' | 'send' | 'activate' | 'reset';
14
14
  export declare function useChannel(lineId: string): {
15
- state: import("../web-react/async").MutationState<void>;
15
+ state: import("../web-react/async/index.js").MutationState<void>;
16
16
  run: (input: {
17
17
  action: VerificationAction;
18
18
  confirm?: boolean;
19
- }) => Promise<import("../web-react/async").MutationOutcome<void>>;
19
+ }) => Promise<import("../web-react/async/index.js").MutationOutcome<void>>;
20
20
  reset: () => void;
21
21
  resource: AsyncResourceState<{
22
22
  line: Line;
@@ -1,7 +1,7 @@
1
1
  /** Browser-safe channel UI. Supply authenticated read or management capabilities; no server wiring is bundled. */
2
- export type { ChannelsClient, ChannelsReadClient, ChannelConnection, ChannelNumber, ChannelReadContext, ChannelVerification, ConnectChannelInput, LinePayment, Line, LineAttachment, LineFromConnectionInput, LineMessage, LineThread, LineTransport, HubNumberOrder, HubNumberQuote, HubNumberReadiness, } from './types';
3
- export { ChannelsProvider, useChannelsClient } from './context';
4
- export { useChannels, useChannelConnections, useWhatsAppNumbers, useConnectChannel, useChannel, useChannelConversations, useChannelConversation, verificationExpired, type VerificationAction, } from './hooks';
5
- export { ChannelConnect, ChannelVerificationPanel, IMessageChannel, WhatsAppChannel, SMSChannel, EmailChannel, NumberChannel, ChannelConversation, ChannelConversations, channelMessageLink, type ChannelConnectProps, } from './components';
6
- export { useNumberChannel, holdsNumber, numberStage, NUMBER_CHARGE_NOTICE, NUMBER_RETRY_NOTICE } from './numbers';
7
- export { useLinePayment, LinePayPage, safeCheckoutUrl } from './payment';
2
+ export type { ChannelsClient, ChannelsReadClient, ChannelConnection, ChannelNumber, ChannelReadContext, ChannelVerification, ConnectChannelInput, LinePayment, Line, LineAttachment, LineFromConnectionInput, LineMessage, LineThread, LineTransport, HubNumberOrder, HubNumberQuote, HubNumberReadiness, } from './types.js';
3
+ export { ChannelsProvider, useChannelsClient } from './context.js';
4
+ export { useChannels, useChannelConnections, useWhatsAppNumbers, useConnectChannel, useChannel, useChannelConversations, useChannelConversation, verificationExpired, type VerificationAction, } from './hooks.js';
5
+ export { ChannelConnect, ChannelVerificationPanel, IMessageChannel, WhatsAppChannel, SMSChannel, EmailChannel, NumberChannel, ChannelConversation, ChannelConversations, channelMessageLink, type ChannelConnectProps, } from './components.js';
6
+ export { useNumberChannel, holdsNumber, numberStage, NUMBER_CHARGE_NOTICE, NUMBER_RETRY_NOTICE } from './numbers.js';
7
+ export { useLinePayment, LinePayPage, safeCheckoutUrl } from './payment.js';
@@ -5,7 +5,7 @@ export declare function holdsNumber(order: HubNumberOrder): boolean;
5
5
  export declare function numberStage(order: HubNumberOrder): string;
6
6
  /** Hub owns prices, terms, idempotency, funding, and cancellation. */
7
7
  export declare function useNumberChannel(transport: 'sms' | 'imessage'): {
8
- state: import("../web-react/async").MutationState<void>;
8
+ state: import("../web-react/async/index.js").MutationState<void>;
9
9
  run: (input: {
10
10
  action: 'quote';
11
11
  } | {
@@ -18,9 +18,9 @@ export declare function useNumberChannel(transport: 'sms' | 'imessage'): {
18
18
  action: 'cancel';
19
19
  orderId: string;
20
20
  confirm: boolean;
21
- }) => Promise<import("../web-react/async").MutationOutcome<void>>;
21
+ }) => Promise<import("../web-react/async/index.js").MutationOutcome<void>>;
22
22
  reset: () => void;
23
- resource: import("../web-react/async").AsyncResourceState<{
23
+ resource: import("../web-react/async/index.js").AsyncResourceState<{
24
24
  readiness: import("@tangle-network/hub-sdk").HubNumberReadiness;
25
25
  orders: HubNumberOrder[];
26
26
  complete: boolean;
@@ -1,12 +1,12 @@
1
1
  /** Only same-origin relative paths or credential-free HTTPS checkout URLs. */
2
2
  export declare function safeCheckoutUrl(value: string): string;
3
3
  export declare function useLinePayment(lineId: string): {
4
- state: import("../web-react/async").MutationState<string>;
4
+ state: import("../web-react/async/index.js").MutationState<string>;
5
5
  run: (input: {
6
6
  consent: boolean;
7
- }) => Promise<import("../web-react/async").MutationOutcome<string>>;
7
+ }) => Promise<import("../web-react/async/index.js").MutationOutcome<string>>;
8
8
  reset: () => void;
9
- resource: import("../web-react/async").AsyncResourceState<import("./types").LinePayment>;
9
+ resource: import("../web-react/async/index.js").AsyncResourceState<import("./types.js").LinePayment>;
10
10
  available: boolean;
11
11
  };
12
12
  /** End-user allowance/checkout page, not number acquisition or creator payouts. */
@@ -1,5 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
- import { type AsyncResourceState, type MutationState } from '../web-react/async';
2
+ import { type AsyncResourceState, type MutationState } from '../web-react/async/index.js';
3
3
  export declare const panelClass = "space-y-4 rounded-xl border border-border bg-card p-6 text-foreground";
4
4
  export declare const buttonClass = "inline-flex items-center justify-center rounded-md border border-border px-3 py-2 text-sm font-medium transition hover:bg-accent focus-visible:outline focus-visible:outline-2 focus-visible:outline-ring focus-visible:outline-offset-2 disabled:cursor-not-allowed disabled:opacity-50";
5
5
  export declare const primaryButtonClass = "inline-flex items-center justify-center rounded-md border border-border px-3 py-2 text-sm font-medium transition hover:bg-accent focus-visible:outline focus-visible:outline-2 focus-visible:outline-ring focus-visible:outline-offset-2 disabled:cursor-not-allowed disabled:opacity-50 border-primary bg-primary text-primary-foreground hover:bg-primary/90";
@@ -9,5 +9,5 @@
9
9
  * a re-export because subpaths are additive (see "Additive subpaths" in
10
10
  * AGENTS.md) — existing imports keep working; new code imports `/web-react`.
11
11
  */
12
- export { EntryComposer, type EntryComposerProps } from '../web-react/entry-composer';
13
- export { ComposerModeControls, type ComposerModeControlsProps, type ComposerPlanModeSelection, } from '../web-react/composer-mode-controls';
12
+ export { EntryComposer, type EntryComposerProps } from '../web-react/entry-composer.js';
13
+ export { ComposerModeControls, type ComposerModeControlsProps, type ComposerPlanModeSelection, } from '../web-react/composer-mode-controls.js';