@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
@@ -1,21 +1,24 @@
1
1
  /**
2
2
  * A turn addressed to several agents runs them at the same time, each as its
3
- * own producer with the same thread history, and presents them one after
4
- * another in the order the mentions were typed: the route sees one stream,
3
+ * own producer with the same thread history: the route sees one stream,
5
4
  * persists one assistant row, and the row's parts carry a `speaker` part
6
- * before each responder's parts so a transcript can draw each answer under
7
- * its author. The live stream carries the same boundary as a `speaker`
8
- * event, so a viewer opens a new block as each agent's answer arrives.
5
+ * before each responder's parts, in the order the mentions were typed, so a
6
+ * transcript draws each answer under its author.
9
7
  *
10
- * Parallel on purpose: the agents are addressed, not chained, so each answers
11
- * independently and none waits on another. Ordered presentation on purpose:
12
- * one live block at a time is what a reader can follow, and the stored order
13
- * is the order typed, so the transcript rereads the same way every time.
8
+ * Live, every responder is announced up front with a `speaker` event, in
9
+ * mention order, and then every event carries `speaker` (the responder's
10
+ * agent id) as it arrives, so a viewer draws one live block per responder and
11
+ * sees them answer at the same time. The stored order stays the order typed,
12
+ * so the transcript rereads the same way every time.
13
+ *
14
+ * Parallel and independent on purpose: the agents are addressed, not chained.
15
+ * A responder that fails leaves a notice under its own name and the others
16
+ * still answer; the turn fails only when every responder did.
14
17
  */
15
18
  import type { ChatTurnIdentity } from '@tangle-network/agent-runtime/durable';
16
- import type { TurnTrace } from '../turn-trace/recorder';
17
- import type { ChatTurnAgentsOptions, ChatTurnAgentTarget, ChatTurnProduceArgs, ChatTurnRouteProducer } from './turn-route-contracts';
18
- import { type ChatMention } from './wire';
19
+ import type { TurnTrace } from '../turn-trace/recorder.js';
20
+ import type { ChatTurnAgentsOptions, ChatTurnAgentTarget, ChatTurnProduceArgs, ChatTurnRouteProducer } from './turn-route-contracts.js';
21
+ import { type ChatMention } from './wire.js';
19
22
  /**
20
23
  * Name a turn's responders from its agent mentions, before any lock, row or
21
24
  * model call: the product's resolver maps mentioned ids to the profiles they
@@ -15,7 +15,7 @@
15
15
  * base64 bodies) and `/object-store`'s `ObjectStore` (hands back raw bytes)
16
16
  * both satisfy this shape.
17
17
  */
18
- import type { ChatAttachmentPart } from '../chat-store/parts';
18
+ import type { ChatAttachmentPart } from '../chat-store/parts.js';
19
19
  /**
20
20
  * The result of reading one stored attachment. `ok:true` MUST carry the
21
21
  * authoritative decoded byte `size` (the cap is meaningless against a
@@ -33,9 +33,9 @@
33
33
  * vs. inline-`data:`-or-ephemeral-sandbox-workspace). See that module's doc
34
34
  * comment for the up-to-date framing between the two.
35
35
  */
36
- import { type ChatAttachmentKind } from './wire';
37
- import { type AtomicAttachmentWriter, type WriteAttachmentFn, type WriteAttachmentStreamFn } from './attachment-store';
38
- import { type AttachmentPathCheck } from './attachment-validation';
36
+ import { type ChatAttachmentKind } from './wire.js';
37
+ import { type AtomicAttachmentWriter, type WriteAttachmentFn, type WriteAttachmentStreamFn } from './attachment-store.js';
38
+ import { type AttachmentPathCheck } from './attachment-validation.js';
39
39
  /** Stable authorization result for the original writer contract. */
40
40
  export type AttachmentUploadAuthorization = {
41
41
  ok: true;
@@ -16,8 +16,8 @@
16
16
  * (`tests/browser-safe-subpaths.test.ts` walks the graph), so nothing here
17
17
  * may reach a Node builtin or an engine package.
18
18
  */
19
- import { type ChatAttachmentInput } from './wire';
20
- import type { SniffResult } from './binary-sniff';
19
+ import { type ChatAttachmentInput } from './wire.js';
20
+ import type { SniffResult } from './binary-sniff.js';
21
21
  /** Ceiling on a binary attachment's raw (pre-encoding) byte size. */
22
22
  export declare const MAX_BINARY_ATTACHMENT_BYTES: number;
23
23
  /** Ceiling on a text attachment's raw byte size. Text hydrates through
@@ -1,4 +1,4 @@
1
- import type { AtomicAttachmentWriteResult, AttachmentWriteOwnership, AttachmentWriteResult } from './attachment-store';
1
+ import type { AtomicAttachmentWriteResult, AttachmentWriteOwnership, AttachmentWriteResult } from './attachment-store.js';
2
2
  /** Read an injected writer result without allowing hostile getters to escape. */
3
3
  export declare function inspectLegacyAttachmentWriteResult(value: unknown): AttachmentWriteResult | undefined;
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { ChatRouteEvent, ChatTurnProduceArgs, CreateChatTurnRoutesOptions } from './turn-route-contracts';
1
+ import type { ChatRouteEvent, ChatTurnProduceArgs, CreateChatTurnRoutesOptions } from './turn-route-contracts.js';
2
2
  export interface ChatTurnCancelRequest extends Record<string, unknown> {
3
3
  threadId: string;
4
4
  turnId: string;
@@ -8,9 +8,9 @@
8
8
  * the same `DetachedTurnFinal` shape `runDetachedTurn` already consumes.
9
9
  */
10
10
  import type { SandboxInstance, SessionMessage } from '@tangle-network/sandbox';
11
- import { type JsonRecord } from '../stream/index';
12
- import type { DetachedTurnFinal } from './detached-turn';
13
- import type { ChatTurnModelAttribution, ChatTurnUsage } from './turn-routes';
11
+ import { type JsonRecord } from '../stream/index.js';
12
+ import type { DetachedTurnFinal } from './detached-turn.js';
13
+ import type { ChatTurnModelAttribution, ChatTurnUsage } from './turn-routes.js';
14
14
  /** The official Sandbox methods needed for completed-turn recovery. */
15
15
  export type CompletedSandboxTurnSource = Pick<SandboxInstance, 'findCompletedTurn' | 'session'>;
16
16
  /** Options for resolving one exact detached turn. */
@@ -1,13 +1,13 @@
1
- import type { Harness } from '../harness/index';
2
- import type { SandboxRuntimeConfig } from '../sandbox/configuration';
3
- import { type StreamSandboxPromptOptions } from '../sandbox/prompt-options';
4
- import type { ChatTurnStoreBindings } from './route-storage';
5
- import { type ModelPolicy } from '../policy-filters/index';
6
- import type { ChatTurnProduceArgs, ChatTurnHybridConfiguration } from './turn-route-contracts';
7
- import type { RouterTurnTool } from '../runtime/router-turn';
8
- import type { RouterTurnKey } from './router-producer';
9
- import type { ComputerVault } from '../sandbox/computer-files';
10
- import type { Outcome } from '../sandbox/outcome';
1
+ import type { Harness } from '../harness/index.js';
2
+ import type { SandboxRuntimeConfig } from '../sandbox/configuration.js';
3
+ import { type StreamSandboxPromptOptions } from '../sandbox/prompt-options.js';
4
+ import type { ChatTurnStoreBindings } from './route-storage.js';
5
+ import { type ModelPolicy } from '../policy-filters/index.js';
6
+ import type { ChatTurnProduceArgs, ChatTurnHybridConfiguration } from './turn-route-contracts.js';
7
+ import type { RouterTurnTool } from '../runtime/router-turn.js';
8
+ import type { RouterTurnKey } from './router-producer.js';
9
+ import type { ComputerVault } from '../sandbox/computer-files.js';
10
+ import type { Outcome } from '../sandbox/outcome.js';
11
11
  /** Worker bindings are explicit; no ambient deployment credentials replace product policy. */
12
12
  export interface ChatTurnEnvironment {
13
13
  DB?: ChatTurnStoreBindings['db'];
@@ -50,7 +50,7 @@ export declare function createDefaultChatBackend<TContext, TResource>(projectId:
50
50
  router(args: ChatTurnProduceArgs<TContext, TResource>): Promise<ChatTurnHybridConfiguration>;
51
51
  sandbox: (args: ChatTurnProduceArgs<TContext, TResource>) => Promise<{
52
52
  model: string;
53
- modelPolicy: ModelPolicy<import("../policy-filters/index").PolicyFilterContext> | undefined;
53
+ modelPolicy: ModelPolicy<import("../policy-filters/index.js").PolicyFilterContext> | undefined;
54
54
  modelFailover: false;
55
55
  errorNotice: boolean;
56
56
  openEvents: ({ model, signal }: {
@@ -22,11 +22,11 @@
22
22
  * it owns no loop logic and imports no SDK — the event source is an injected
23
23
  * `AsyncIterable`.
24
24
  */
25
- import type { ModelFailoverAttempt } from '../model-resolution/failover';
26
- import { type TurnEventStore } from '../stream/index';
27
- import { type AssistantDraftStore, type DraftPersistenceTuning } from './draft-persistence';
28
- import { type SandboxChatProducerOptions } from './sandbox-producer';
29
- import type { ChatTurnUsage } from './turn-routes';
25
+ import type { ModelFailoverAttempt } from '../model-resolution/failover.js';
26
+ import { type TurnEventStore } from '../stream/index.js';
27
+ import { type AssistantDraftStore, type DraftPersistenceTuning } from './draft-persistence.js';
28
+ import { type SandboxChatProducerOptions } from './sandbox-producer.js';
29
+ import type { ChatTurnUsage } from './turn-routes.js';
30
30
  /** The normalized structured message body (tool-call / file / plan / interaction
31
31
  * parts) that `/chat-store` persists as the durable assistant row — the same
32
32
  * shape `createSandboxChatProducer().assistantParts()` returns. */
@@ -4,9 +4,9 @@
4
4
  * drops its output; tools and durable effects must wait for args.admitted.
5
5
  * Ordinary functions and Sandbox backends never execute speculatively.
6
6
  */
7
- import type { TurnTrace } from '../turn-trace/recorder';
8
- import type { ChatTurnProduceArgs, ChatTurnRouteProducer } from './turn-route-contracts';
9
- import type { ResolvedChatTurnRoutesOptions } from './route-storage';
7
+ import type { TurnTrace } from '../turn-trace/recorder.js';
8
+ import type { ChatTurnProduceArgs, ChatTurnRouteProducer } from './turn-route-contracts.js';
9
+ import type { ResolvedChatTurnRoutesOptions } from './route-storage.js';
10
10
  export interface DispatchedProducer<TContext, TResource = unknown> {
11
11
  /** The admission chain committed: hand the producer its final args and return it, with what it already emitted first. */
12
12
  take(args: ChatTurnProduceArgs<TContext, TResource>): Promise<ChatTurnRouteProducer>;
@@ -19,11 +19,11 @@
19
19
  * `./wire` constant. Kept behavior-identical for gtm-agent#618 adoption (the
20
20
  * demotion math and emitted part shapes reproduce its dispatched prompt bytes).
21
21
  */
22
- import { type PromptInputPart } from '../sandbox';
23
- import { type SandboxExecChannel } from '../sandbox/binary-read';
24
- import { type ChatTurnPartInput } from './wire';
25
- import { type ChatAttachmentPart, type ChatMentionPart } from '../chat-store/parts';
26
- import type { ReadAttachmentFn } from './attachment-store';
22
+ import { type PromptInputPart } from '../sandbox/index.js';
23
+ import { type SandboxExecChannel } from '../sandbox/binary-read.js';
24
+ import { type ChatTurnPartInput } from './wire.js';
25
+ import { type ChatAttachmentPart, type ChatMentionPart } from '../chat-store/parts.js';
26
+ import type { ReadAttachmentFn } from './attachment-store.js';
27
27
  export type { PromptInputPart };
28
28
  /** Resolve the outcome of dispatching parts with success status and corresponding value or error message */
29
29
  export type DispatchPartsOutcome = {
@@ -37,9 +37,9 @@
37
37
  * optimization must never kill a healthy stream (the same rule
38
38
  * `withDurableChatProjection` already states).
39
39
  */
40
- import type { ChatMessageValues } from '../chat-store/core';
41
- import { type ChatMessagePart } from '../chat-store/parts';
42
- import type { ChatTurnUsage } from './turn-routes';
40
+ import type { ChatMessageValues } from '../chat-store/core.js';
41
+ import { type ChatMessagePart } from '../chat-store/parts.js';
42
+ import type { ChatTurnUsage } from './turn-routes.js';
43
43
  /** Message row shape the writer reads back when re-entering a turn. */
44
44
  export interface DraftStoredMessage extends Pick<AssistantRowValues, keyof ChatTurnUsage> {
45
45
  id: string;
@@ -1,4 +1,4 @@
1
- import type { ChatTurnRouteProducer } from './turn-routes';
1
+ import type { ChatTurnRouteProducer } from './turn-routes.js';
2
2
  /** Resolve chat route events and materialize their durable state records */
3
3
  export interface ChatRouteDurableProjection {
4
4
  observe(event: unknown): void | Promise<void>;
@@ -1,5 +1,5 @@
1
1
  /** Request-owned speculative work: legacy release callbacks and opaque resource lifetimes. */
2
- import type { ChatTurnAfterAuthorizeRelease } from './turn-route-contracts';
2
+ import type { ChatTurnAfterAuthorizeRelease } from './turn-route-contracts.js';
3
3
  export interface AfterAuthorizeWork<TResource = unknown> {
4
4
  resource?: Promise<TResource>;
5
5
  handOff(): void;
@@ -16,7 +16,7 @@
16
16
  * and answers `warming` too, so every consumer gets the retry-and-wait state
17
17
  * instead of a 500. Every other `tree()` failure propagates.
18
18
  */
19
- import type { FileMention } from './wire';
19
+ import type { FileMention } from './wire.js';
20
20
  /** One entry from a structural `tree()` scan. Mirrors the sandbox SDK's
21
21
  * `FileTreeFile` (`path`, `size`, `mtime`) — `mtime` is unused here so it's
22
22
  * omitted from the structural match. */
@@ -1,6 +1,6 @@
1
- import type { SandboxStreamEvent } from '../sandbox/index';
2
- import type { ChatTurnExecutionLimits, ChatTurnRoutes } from './turn-routes';
3
- import { type ChatTurnRequestPayload } from './wire';
1
+ import type { SandboxStreamEvent } from '../sandbox/index.js';
2
+ import type { ChatTurnExecutionLimits, ChatTurnRoutes } from './turn-routes.js';
3
+ import { type ChatTurnRequestPayload } from './wire.js';
4
4
  export interface StreamChatRouteAsSandboxOptions {
5
5
  routes: ChatTurnRoutes;
6
6
  request: Request;
@@ -36,15 +36,15 @@
36
36
  * in the transcript, not only in a log line a Worker does not keep.
37
37
  */
38
38
  import type { SandboxInstance } from '@tangle-network/sandbox';
39
- import type { RouterTurnTool } from '../runtime/router-turn';
40
- import { type EscalationHint, type EscalationInput } from '../sandbox/escalation-speculator';
41
- import { SandboxRunError, type SandboxRunToolOptions } from '../sandbox/sandbox-run-tool';
42
- import { type ComputerStepOptions } from '../sandbox/computer-step';
43
- import type { PersistedChatMessageForTurn } from '../stream/index';
44
- import { type DispatchHistoryPov } from './dispatch-parts';
45
- import { type RouterTurnProducerOptions } from './router-producer';
46
- import type { ChatTurnRouteProducer } from './turn-routes';
47
- import type { ChatTurnPartInput, ChatTurnRequestPayload } from './wire';
39
+ import type { RouterTurnTool } from '../runtime/router-turn.js';
40
+ import { type EscalationHint, type EscalationInput } from '../sandbox/escalation-speculator.js';
41
+ import { SandboxRunError, type SandboxRunToolOptions } from '../sandbox/sandbox-run-tool.js';
42
+ import { type ComputerStepOptions } from '../sandbox/computer-step.js';
43
+ import type { PersistedChatMessageForTurn } from '../stream/index.js';
44
+ import { type DispatchHistoryPov } from './dispatch-parts.js';
45
+ import { type RouterTurnProducerOptions } from './router-producer.js';
46
+ import type { ChatTurnRouteProducer } from './turn-routes.js';
47
+ import type { ChatTurnPartInput, ChatTurnRequestPayload } from './wire.js';
48
48
  /** What the default prompt adds so the Router lane answers first and escalates out loud. */
49
49
  export declare const HYBRID_TURN_GUIDANCE: string;
50
50
  export interface HybridTurnBox {
@@ -6,36 +6,36 @@
6
6
  * as `/app-auth`. The browser-safe wire contract lives in `./wire` and is
7
7
  * re-exported through `/web-react`'s chat-stream glue.
8
8
  */
9
- export * from './wire';
10
- export { composeAgentProducers, SPEAKER_EVENT, speakerPart } from './agent-producers';
11
- export * from './binary-sniff';
12
- export * from './attachment-validation';
13
- export * from './turn-routes';
14
- export type { ChatTurnPrefetch, ChatTurnPrefetchArgs, ChatTurnPrefetchIdentity } from './turn-prefetch';
15
- export * from './turn-progress';
16
- export * from './gateway-adapter';
17
- export * from './stale-turn-lock';
18
- export * from './sandbox-producer';
19
- export * from './router-producer';
20
- export * from './hybrid-producer';
21
- export * from './protected-runtime-producer';
22
- export * from './model-failover-stream';
23
- export * from './draft-persistence';
24
- export * from './detached-turn';
25
- export { type CompletedSandboxTurnSource, type ReadCompletedSandboxTurnOptions, readCompletedSandboxTurn, recoverSandboxAssistantMessage, } from './completed-sandbox-turn';
26
- export * from './native-completion';
27
- export type { NativeTurnTimingFacts, NativeCompletionHandoffOptions } from './native-turn-timing';
28
- export * from './plan-follow-up';
29
- export * from './durable-projection';
30
- export * from './upload';
31
- export * from './file-index';
32
- export * from './attachment-store';
33
- export * from './resolve-attachments';
34
- export * from './attachment-upload';
35
- export * from './dispatch-parts';
36
- export * from './promote-file-part';
37
- export * from './intelligence';
38
- export * from './cancellation';
39
- export * from './stored-attachments';
40
- export type { ChatTurnStoreBindings } from './route-storage';
41
- export type { ChatTurnEnvironment, ChatTurnDefaultBackend } from './default-backend';
9
+ export * from './wire.js';
10
+ export { composeAgentProducers, SPEAKER_EVENT, speakerPart } from './agent-producers.js';
11
+ export * from './binary-sniff.js';
12
+ export * from './attachment-validation.js';
13
+ export * from './turn-routes.js';
14
+ export type { ChatTurnPrefetch, ChatTurnPrefetchArgs, ChatTurnPrefetchIdentity } from './turn-prefetch.js';
15
+ export * from './turn-progress.js';
16
+ export * from './gateway-adapter.js';
17
+ export * from './stale-turn-lock.js';
18
+ export * from './sandbox-producer.js';
19
+ export * from './router-producer.js';
20
+ export * from './hybrid-producer.js';
21
+ export * from './protected-runtime-producer.js';
22
+ export * from './model-failover-stream.js';
23
+ export * from './draft-persistence.js';
24
+ export * from './detached-turn.js';
25
+ export { type CompletedSandboxTurnSource, type ReadCompletedSandboxTurnOptions, readCompletedSandboxTurn, recoverSandboxAssistantMessage, } from './completed-sandbox-turn.js';
26
+ export * from './native-completion.js';
27
+ export type { NativeTurnTimingFacts, NativeCompletionHandoffOptions } from './native-turn-timing.js';
28
+ export * from './plan-follow-up.js';
29
+ export * from './durable-projection.js';
30
+ export * from './upload.js';
31
+ export * from './file-index.js';
32
+ export * from './attachment-store.js';
33
+ export * from './resolve-attachments.js';
34
+ export * from './attachment-upload.js';
35
+ export * from './dispatch-parts.js';
36
+ export * from './promote-file-part.js';
37
+ export * from './intelligence.js';
38
+ export * from './cancellation.js';
39
+ export * from './stored-attachments.js';
40
+ export type { ChatTurnStoreBindings } from './route-storage.js';
41
+ export type { ChatTurnEnvironment, ChatTurnDefaultBackend } from './default-backend.js';
@@ -82,7 +82,7 @@ import {
82
82
  turnCarriesFiles,
83
83
  turnPromptText,
84
84
  withProducerStream
85
- } from "../chunk-3F5LGESB.js";
85
+ } from "../chunk-RG2CF4CS.js";
86
86
  import "../chunk-SBHFMDR7.js";
87
87
  import "../chunk-RKNNMC6T.js";
88
88
  import "../chunk-XBBXPZJI.js";
@@ -167,14 +167,14 @@ import {
167
167
  import "../chunk-L3QR274L.js";
168
168
  import "../chunk-XELWWXJJ.js";
169
169
  import "../chunk-DSMGS4IV.js";
170
- import "../chunk-FJRQCF43.js";
170
+ import "../chunk-XJ7DC2DI.js";
171
171
  import "../chunk-OY7A6M7S.js";
172
172
  import "../chunk-O7UX55EU.js";
173
- import "../chunk-43CV4JIT.js";
173
+ import "../chunk-VKJEH6DG.js";
174
174
  import "../chunk-S5SRJJQG.js";
175
- import "../chunk-HJYEK4SU.js";
175
+ import "../chunk-6IMNAZR7.js";
176
176
  import "../chunk-UGWQLQDS.js";
177
- import "../chunk-XPB2UYHU.js";
177
+ import "../chunk-E2JMXA2V.js";
178
178
  import "../chunk-GIQXJLR3.js";
179
179
  import "../chunk-D6UJEOZQ.js";
180
180
  import "../chunk-J4SI766J.js";
@@ -1,5 +1,5 @@
1
1
  import type { IntelligenceClient } from '@tangle-network/agent-runtime/intelligence';
2
- import type { ChatTurnRouteProducer } from './turn-routes';
2
+ import type { ChatTurnRouteProducer } from './turn-routes.js';
3
3
  /** Host-resolved metadata only. Neither input nor output content is exported. */
4
4
  export interface ChatTurnIntelligenceOptions {
5
5
  client: () => Pick<IntelligenceClient, 'traceRun'>;
@@ -49,8 +49,8 @@
49
49
  * - A responsive chain of length 1 costs no extra call or latency and remains
50
50
  * byte-identical to no failover. A silent chain is now deliberately bounded.
51
51
  */
52
- import { ModelFailoverExhaustedError, type ModelFailoverAttempt } from '../model-resolution/failover';
53
- import type { ModelPolicy } from '../policy-filters/index';
52
+ import { ModelFailoverExhaustedError, type ModelFailoverAttempt } from '../model-resolution/failover.js';
53
+ import type { ModelPolicy } from '../policy-filters/index.js';
54
54
  /**
55
55
  * True when `event` puts content in front of the user (or in the persisted
56
56
  * transcript), making a restart on another model unsafe.
@@ -4,7 +4,7 @@
4
4
  * `driveTurn`, or cancels a run.
5
5
  */
6
6
  import type { SandboxInstance } from '@tangle-network/sandbox';
7
- import type { ChatTurnUsage } from './turn-routes';
7
+ import type { ChatTurnUsage } from './turn-routes.js';
8
8
  export interface NativeCompletionReceipt {
9
9
  state: 'completed' | 'failed';
10
10
  text: string;
@@ -1,6 +1,6 @@
1
1
  /** Serializable route observations transferred to the existing native admission owner. */
2
- import type { NativeTurnTimingFacts } from '../turn-trace/turn-facts';
3
- export type { NativeTurnTimingFacts } from '../turn-trace/turn-facts';
2
+ import type { NativeTurnTimingFacts } from '../turn-trace/turn-facts.js';
3
+ export type { NativeTurnTimingFacts } from '../turn-trace/turn-facts.js';
4
4
  export interface NativeCompletionHandoffOptions {
5
5
  /** Persist on the existing admission, keyed by turnStreamId. Initial origin must survive before handoff. */
6
6
  persistTimingFacts?(facts: NativeTurnTimingFacts): Promise<void>;
@@ -1,4 +1,4 @@
1
- import type { ChatTurnRouteProducer } from './turn-route-contracts';
1
+ import type { ChatTurnRouteProducer } from './turn-route-contracts.js';
2
2
  /** Replace transport while keeping every capability on its original receiver.
3
3
  * Object.create alone breaks class private state; spreading snapshots getters.
4
4
  * The separate target also permits wrapping an Object.freeze'd producer. */
@@ -18,10 +18,10 @@
18
18
  * naming is preserved. Atomic callers also receive a fresh ownership suffix so
19
19
  * an ambiguous write cannot overwrite an older object.
20
20
  */
21
- import { type SandboxExecChannel } from '../sandbox/binary-read';
22
- import { type ChatAttachmentKind, type ChatAttachmentPart } from '../chat-store/parts';
23
- import { type AtomicAttachmentWriter, type WriteAttachmentFn } from './attachment-store';
24
- import { sniffMimeFromName } from '../web/mime';
21
+ import { type SandboxExecChannel } from '../sandbox/binary-read.js';
22
+ import { type ChatAttachmentKind, type ChatAttachmentPart } from '../chat-store/parts.js';
23
+ import { type AtomicAttachmentWriter, type WriteAttachmentFn } from './attachment-store.js';
24
+ import { sniffMimeFromName } from '../web/mime.js';
25
25
  export { sniffMimeFromName };
26
26
  /** Default ceiling on a promoted file's raw (pre-encoding) byte size. */
27
27
  export declare const PROMOTE_MAX_FILE_BYTES: number;
@@ -1,7 +1,7 @@
1
1
  import type { AgentProfile } from '@tangle-network/agent-interface';
2
- import { type RouterTurnGrant } from '../runtime/protected-router-turn';
3
- import type { McpToolDefinition } from '../tools/mcp-rpc';
4
- import type { ChatTurnRouteProducer } from './turn-routes';
2
+ import { type RouterTurnGrant } from '../runtime/protected-router-turn.js';
3
+ import type { McpToolDefinition } from '../tools/mcp-rpc.js';
4
+ import type { ChatTurnRouteProducer } from './turn-routes.js';
5
5
  export interface ProtectedRuntimeChatOptions {
6
6
  profile: AgentProfile;
7
7
  prompt: string;
@@ -15,9 +15,9 @@
15
15
  * (workspaceId → scopeId, the vault read → the injected reader) and kept
16
16
  * behavior-identical for gtm-agent#618 adoption.
17
17
  */
18
- import { type ChatAttachmentPart } from '../chat-store/parts';
19
- import type { ReadAttachmentFn } from './attachment-store';
20
- import { type AttachmentPathCheck } from './attachment-validation';
18
+ import { type ChatAttachmentPart } from '../chat-store/parts.js';
19
+ import type { ReadAttachmentFn } from './attachment-store.js';
20
+ import { type AttachmentPathCheck } from './attachment-validation.js';
21
21
  /** Resolve the result of chat attachment processing with success status and corresponding data or error */
22
22
  export type ResolveChatAttachmentsResult = {
23
23
  succeeded: true;
@@ -1,2 +1,2 @@
1
- import type { CreateChatTurnRoutesOptions } from './turn-route-contracts';
1
+ import type { CreateChatTurnRoutesOptions } from './turn-route-contracts.js';
2
2
  export declare function createChatPrewarm<TContext, TResource>(options: CreateChatTurnRoutesOptions<TContext, TResource>): (request: Request) => Promise<Response>;
@@ -1,3 +1,3 @@
1
- import type { ChatTurnProduceArgs, ChatTurnRouteProducer, ChatTurnRouterBackend, ChatTurnSandboxBackend } from './turn-route-contracts';
1
+ import type { ChatTurnProduceArgs, ChatTurnRouteProducer, ChatTurnRouterBackend, ChatTurnSandboxBackend } from './turn-route-contracts.js';
2
2
  export declare function routerRouteProducer<TContext, TResource>(value: ChatTurnRouterBackend, args: ChatTurnProduceArgs<TContext, TResource>): ChatTurnRouteProducer;
3
3
  export declare function sandboxRouteProducer<TContext, TResource>(value: ChatTurnSandboxBackend, args: ChatTurnProduceArgs<TContext, TResource>): ChatTurnRouteProducer;
@@ -1,7 +1,7 @@
1
1
  /** Shared D1 replay and authenticated workspace locks from the application's bindings. */
2
- import { type TurnEventStore, type D1LikeForTurns } from '../stream/turn-buffer';
3
- import { type TurnStreamNamespaceLike, type TurnStreamAuth, type TurnStreamLocationHint } from '../turn-stream/adapters';
4
- import type { CreateChatTurnRoutesOptions } from './turn-route-contracts';
2
+ import { type TurnEventStore, type D1LikeForTurns } from '../stream/turn-buffer.js';
3
+ import { type TurnStreamNamespaceLike, type TurnStreamAuth, type TurnStreamLocationHint } from '../turn-stream/adapters.js';
4
+ import type { CreateChatTurnRoutesOptions } from './turn-route-contracts.js';
5
5
  /** One application binding descriptor, shared by chat admission and workspace prewarm. */
6
6
  export interface ChatTurnStoreBindings {
7
7
  db: D1LikeForTurns;
@@ -14,7 +14,7 @@ export interface ChatTurnStoreBindings {
14
14
  }
15
15
  /** Keep the workspace-channel identity, authentication and region the same in both routes. */
16
16
  export declare function createDefaultTurnLock<TContext>(store: Pick<ChatTurnStoreBindings, 'lock' | 'region'>): {
17
- acquire(args: import("../turn-stream").TurnLockSeamArgs<TContext>): Promise<import("../turn-stream").TurnLockSeamResult>;
17
+ acquire(args: import("../turn-stream/index.js").TurnLockSeamArgs<TContext>): Promise<import("../turn-stream/index.js").TurnLockSeamResult>;
18
18
  release(handle: unknown): Promise<void>;
19
19
  park(handle: unknown): Promise<boolean>;
20
20
  warm(target: {
@@ -25,13 +25,13 @@ export declare function createDefaultTurnLock<TContext>(store: Pick<ChatTurnStor
25
25
  export type ResolvedChatTurnRoutesOptions<TContext, TResource = unknown> = Omit<CreateChatTurnRoutesOptions<TContext, TResource>, 'turnStore' | 'turnLock' | 'produce'> & {
26
26
  turnStore: TurnEventStore;
27
27
  turnLock?: Exclude<CreateChatTurnRoutesOptions<TContext, TResource>['turnLock'], false>;
28
- produce: Exclude<CreateChatTurnRoutesOptions<TContext, TResource>['produce'], undefined | import('./default-backend').ChatTurnDefaultBackend<TContext, TResource>>;
28
+ produce: Exclude<CreateChatTurnRoutesOptions<TContext, TResource>['produce'], undefined | import('./default-backend.js').ChatTurnDefaultBackend<TContext, TResource>>;
29
29
  };
30
30
  export declare function turnStorageBindings(options: {
31
31
  turnStore: TurnEventStore | ChatTurnStoreBindings;
32
- env?: import('./default-backend').ChatTurnEnvironment;
32
+ env?: import('./default-backend.js').ChatTurnEnvironment;
33
33
  }): ChatTurnStoreBindings | undefined;
34
34
  export declare function resolveTurnStorage<TContext, TResource>(options: CreateChatTurnRoutesOptions<TContext, TResource>): {
35
35
  turnStore: TurnEventStore;
36
- turnLock: import("./turn-route-contracts").ChatTurnLock<TContext, TResource> | undefined;
36
+ turnLock: import("./turn-route-contracts.js").ChatTurnLock<TContext, TResource> | undefined;
37
37
  };
@@ -8,9 +8,9 @@
8
8
  * `stream` generator drains in order, so a slow consumer never drops a frame
9
9
  * and the engine never waits on the consumer.
10
10
  */
11
- import { composeRouterTurnPromptSections, type RouterTurnEvent, type RouterTurnFailure, type RouterTurnOptions, type RouterTurnOutcome, type RouterTurnPromptOptions } from '../runtime/router-turn';
12
- import type { ChatTurnRouteProducer } from './turn-routes';
13
- import type { ProducerWireEvent } from './wire';
11
+ import { composeRouterTurnPromptSections, type RouterTurnEvent, type RouterTurnFailure, type RouterTurnOptions, type RouterTurnOutcome, type RouterTurnPromptOptions } from '../runtime/router-turn.js';
12
+ import type { ChatTurnRouteProducer } from './turn-routes.js';
13
+ import type { ProducerWireEvent } from './wire.js';
14
14
  /** The turn's model key: a plain key, or a per-turn lease whose fetch and revocation belong to the producer. */
15
15
  export type RouterTurnKey = string | {
16
16
  key: string;
@@ -1,7 +1,7 @@
1
- import type { SandboxChatProducerOptions } from './sandbox-producer';
2
- import type { ChatTurnModelAttribution } from './turn-routes';
3
- import { type JsonRecord } from '../stream/index';
4
- import { type ModelFailoverStreamHandle } from './model-failover-stream';
1
+ import type { SandboxChatProducerOptions } from './sandbox-producer.js';
2
+ import type { ChatTurnModelAttribution } from './turn-routes.js';
3
+ import { type JsonRecord } from '../stream/index.js';
4
+ import { type ModelFailoverStreamHandle } from './model-failover-stream.js';
5
5
  declare function parseEffectiveBackend(data: JsonRecord): Omit<ChatTurnModelAttribution, 'requestedModel' | 'echoReceived'> | undefined;
6
6
  export declare function createSandboxModelSource(options: SandboxChatProducerOptions, log: (message: string, meta?: Record<string, unknown>) => void): {
7
7
  pendingModelNotices: {
@@ -13,11 +13,11 @@
13
13
  * `mergePersistedPart` / `finalizeAssistantParts`, plus the usage receipt from
14
14
  * `step-finish` parts. `createChatTurnRoutes` reads both after drain.
15
15
  */
16
- import { type InteractionRequestWire } from '../interactions/contract';
17
- import { type JsonRecord } from '../stream/index';
18
- import type { ModelPolicy } from '../policy-filters/index';
19
- import { type EmptyTurnRetryInfo, type ModelFallbackInfo, type OpenModelStream } from './model-failover-stream';
20
- import type { ChatTurnRouteProducer } from './turn-routes';
16
+ import { type InteractionRequestWire } from '../interactions/contract.js';
17
+ import { type JsonRecord } from '../stream/index.js';
18
+ import type { ModelPolicy } from '../policy-filters/index.js';
19
+ import { type EmptyTurnRetryInfo, type ModelFallbackInfo, type OpenModelStream } from './model-failover-stream.js';
20
+ import type { ChatTurnRouteProducer } from './turn-routes.js';
21
21
  /** Outcome of a `promoteFilePart` attempt. `key`, when given, becomes the
22
22
  * persisted part's row key (e.g. `attachment:<path>`) so repeat promotions
23
23
  * of the same underlying file fold into one segment instead of appending;
@@ -1,4 +1,4 @@
1
- import { type JsonRecord } from '../stream/index';
2
- import type { ChatTurnUsage } from './turn-routes';
1
+ import { type JsonRecord } from '../stream/index.js';
2
+ import type { ChatTurnUsage } from './turn-routes.js';
3
3
  /** Add one canonical Sandbox `step-finish` receipt to a turn total. */
4
4
  export declare function addStepFinishUsage(part: JsonRecord, usage: ChatTurnUsage): void;
@@ -1,4 +1,4 @@
1
- import type { TurnCancellationIdentity } from '../turn-stream/cancellation';
1
+ import type { TurnCancellationIdentity } from '../turn-stream/cancellation.js';
2
2
  /**
3
3
  * Recovery policy for a `ChatTurnLock` whose holder died.
4
4
  *
@@ -1,5 +1,5 @@
1
- import { type ObjectBody, type ObjectStore } from '../object-store';
2
- import type { ReadAttachmentFn, WriteAttachmentFn } from './attachment-store';
1
+ import { type ObjectBody, type ObjectStore } from '../object-store/index.js';
2
+ import type { ReadAttachmentFn, WriteAttachmentFn } from './attachment-store.js';
3
3
  /** A product supplies its private object store after its request bindings are ready. */
4
4
  export interface StoredChatAttachmentsOptions {
5
5
  store: ObjectStore | (() => ObjectStore);
@@ -1,8 +1,8 @@
1
1
  /** Validated request and transcript projections at the chat-route boundary. */
2
- import { type ChatMessagePart } from '../chat-store/parts';
3
- import type { TurnTrace } from '../turn-trace/recorder';
4
- import type { ChatTurnAuthorization, CreateChatTurnRoutesOptions } from './turn-route-contracts';
5
- import { ChatTurnInputError, type ChatTurnFilePartInput, type ChatTurnRequestPayload, type ChatMention } from './wire';
2
+ import { type ChatMessagePart } from '../chat-store/parts.js';
3
+ import type { TurnTrace } from '../turn-trace/recorder.js';
4
+ import type { ChatTurnAuthorization, CreateChatTurnRoutesOptions } from './turn-route-contracts.js';
5
+ import { ChatTurnInputError, type ChatTurnFilePartInput, type ChatTurnRequestPayload, type ChatMention } from './wire.js';
6
6
  /** A turn whose body parsed and whose caller `authorize` admitted. */
7
7
  export type AdmittedTurn<TContext> = {
8
8
  parsed: ParsedTurnBody;
@@ -1,5 +1,5 @@
1
1
  /** Stream framing, event inspection and cancellation around a chat producer. */
2
- import type { ChatRouteEvent } from './turn-route-contracts';
2
+ import type { ChatRouteEvent } from './turn-route-contracts.js';
3
3
  /** Best-effort human-readable cause from a terminal `error` /
4
4
  * `session.run.failed` event's `data`. */
5
5
  export declare function failureReasonOf(data: Record<string, unknown> | undefined): string | undefined;