@tangle-network/agent-app 0.43.56 → 0.43.58

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 (352) hide show
  1. package/dist/DesignCanvas-UNL34LS2.js +12 -0
  2. package/dist/DesignCanvasEditor-FJIVYOA2.js +13 -0
  3. package/dist/IntakeInterview-3ZIQMZS6.js +8 -0
  4. package/dist/InvitationsPanel-CJ7DR4F7.js +8 -0
  5. package/dist/MembersPanel-BB4OD2KB.js +8 -0
  6. package/dist/{TimelineEditor-I35SJJAJ.js → TimelineEditor-2ECKSU6P.js} +3 -3
  7. package/dist/{VaultPane-DrQ_tH6c.d.ts → VaultPane-BDP6SB_K.d.ts} +1 -0
  8. package/dist/{access-BZ81Btt5.d.ts → access-490O6aOU.d.ts} +16 -1
  9. package/dist/app-auth/index.d.ts +6 -1
  10. package/dist/app-auth/index.js +3 -3
  11. package/dist/app-auth/index.js.map +1 -1
  12. package/dist/{apply-Gk4raT2j.d.ts → apply-6wlMOLf8.d.ts} +30 -1
  13. package/dist/assets/index.d.ts +41 -0
  14. package/dist/assets/index.js +1 -1
  15. package/dist/assistant/index.d.ts +26 -6
  16. package/dist/assistant/index.js +9 -9
  17. package/dist/assistant/index.js.map +1 -1
  18. package/dist/{attachment-validation-D0csjCvz.d.ts → attachment-validation-tPRp-PP1.d.ts} +7 -1
  19. package/dist/{auth-DuptSkWh.d.ts → auth-_FU8w01b.d.ts} +4 -1
  20. package/dist/billing/index.d.ts +8 -0
  21. package/dist/billing/index.js +1 -1
  22. package/dist/brand/index.d.ts +2 -0
  23. package/dist/brand/index.js.map +1 -1
  24. package/dist/brand-extraction/index.d.ts +3 -0
  25. package/dist/brand-extraction/index.js.map +1 -1
  26. package/dist/catalog/index.d.ts +2 -0
  27. package/dist/catalog/index.js +1 -1
  28. package/dist/chat-routes/index.d.ts +41 -10
  29. package/dist/chat-routes/index.js +15 -15
  30. package/dist/chat-routes/index.js.map +1 -1
  31. package/dist/chat-store/index.d.ts +18 -4
  32. package/dist/chat-store/index.js +4 -4
  33. package/dist/chat-store/index.js.map +1 -1
  34. package/dist/{chunk-H5FM75MR.js → chunk-22GLESKE.js} +3 -3
  35. package/dist/chunk-22GLESKE.js.map +1 -0
  36. package/dist/{chunk-WEBBJBDH.js → chunk-2DRYTJHI.js} +1 -1
  37. package/dist/chunk-2DRYTJHI.js.map +1 -0
  38. package/dist/{chunk-7EVZUIHW.js → chunk-3EJ6SFJI.js} +1 -1
  39. package/dist/chunk-3EJ6SFJI.js.map +1 -0
  40. package/dist/{chunk-HRJJH3RX.js → chunk-3OFQFW5K.js} +4 -4
  41. package/dist/chunk-3OFQFW5K.js.map +1 -0
  42. package/dist/{chunk-7SUPA2YT.js → chunk-4KKXZQPT.js} +2 -2
  43. package/dist/chunk-4KKXZQPT.js.map +1 -0
  44. package/dist/{chunk-5PTGEJZL.js → chunk-5SD6HT2V.js} +1 -1
  45. package/dist/chunk-5SD6HT2V.js.map +1 -0
  46. package/dist/{chunk-7C64WKAH.js → chunk-5SXS3YAB.js} +2 -2
  47. package/dist/{chunk-L2TG5DBW.js → chunk-5TESA4SN.js} +1 -1
  48. package/dist/chunk-5TESA4SN.js.map +1 -0
  49. package/dist/{chunk-63CE7FEZ.js → chunk-6XIAPIW6.js} +1 -1
  50. package/dist/chunk-6XIAPIW6.js.map +1 -0
  51. package/dist/{chunk-MFRCM32T.js → chunk-7CTIUCQ4.js} +1 -1
  52. package/dist/chunk-7CTIUCQ4.js.map +1 -0
  53. package/dist/{chunk-6KVH5SP5.js → chunk-7YW6EBDX.js} +2 -2
  54. package/dist/chunk-7YW6EBDX.js.map +1 -0
  55. package/dist/{chunk-ZXNXAQAH.js → chunk-AP2UXKUK.js} +1 -1
  56. package/dist/chunk-AP2UXKUK.js.map +1 -0
  57. package/dist/{chunk-K63OWUDJ.js → chunk-BPSV5AA2.js} +2 -2
  58. package/dist/chunk-BPSV5AA2.js.map +1 -0
  59. package/dist/{chunk-MFI4ZM7W.js → chunk-BT4QFCTB.js} +1 -1
  60. package/dist/chunk-BT4QFCTB.js.map +1 -0
  61. package/dist/{chunk-ZYBWGSAZ.js → chunk-BVKQKGRK.js} +1 -1
  62. package/dist/chunk-BVKQKGRK.js.map +1 -0
  63. package/dist/{chunk-RVUISYUE.js → chunk-C3NSB66C.js} +7 -7
  64. package/dist/chunk-C3NSB66C.js.map +1 -0
  65. package/dist/{chunk-BQV42AFK.js → chunk-CCVWR33L.js} +1 -1
  66. package/dist/chunk-CCVWR33L.js.map +1 -0
  67. package/dist/{chunk-MCJSS6SM.js → chunk-CQZSAR77.js} +1 -1
  68. package/dist/chunk-CQZSAR77.js.map +1 -0
  69. package/dist/{chunk-3SVAA3MA.js → chunk-DJ4VJIH5.js} +1 -1
  70. package/dist/chunk-DJ4VJIH5.js.map +1 -0
  71. package/dist/{chunk-XKBIYSSM.js → chunk-DTSPS2HV.js} +3 -3
  72. package/dist/chunk-DTSPS2HV.js.map +1 -0
  73. package/dist/{chunk-4QN75UHX.js → chunk-E7N67FYI.js} +8 -8
  74. package/dist/chunk-E7N67FYI.js.map +1 -0
  75. package/dist/{chunk-2QI7XV2T.js → chunk-FBVLEGEG.js} +1 -1
  76. package/dist/{chunk-2QI7XV2T.js.map → chunk-FBVLEGEG.js.map} +1 -1
  77. package/dist/{chunk-5RMIUJDI.js → chunk-FKCB5FTD.js} +1 -1
  78. package/dist/chunk-FKCB5FTD.js.map +1 -0
  79. package/dist/{chunk-EEPJGZJW.js → chunk-GPBRL2XR.js} +1 -1
  80. package/dist/chunk-GPBRL2XR.js.map +1 -0
  81. package/dist/{chunk-G3HCU7TA.js → chunk-GXE6KHTS.js} +1 -1
  82. package/dist/chunk-GXE6KHTS.js.map +1 -0
  83. package/dist/{chunk-65P3HJY3.js → chunk-HCOROIRT.js} +1 -1
  84. package/dist/chunk-HCOROIRT.js.map +1 -0
  85. package/dist/{chunk-54GSK2KK.js → chunk-HYTIHYNV.js} +2 -2
  86. package/dist/chunk-HYTIHYNV.js.map +1 -0
  87. package/dist/{chunk-5MG74GVQ.js → chunk-IG46XCZM.js} +3 -3
  88. package/dist/chunk-IG46XCZM.js.map +1 -0
  89. package/dist/{chunk-ND3XEGBE.js → chunk-JDEGS53O.js} +1 -1
  90. package/dist/chunk-JDEGS53O.js.map +1 -0
  91. package/dist/{chunk-7W5XSTUF.js → chunk-JML7WKWU.js} +1 -1
  92. package/dist/chunk-JML7WKWU.js.map +1 -0
  93. package/dist/{chunk-Q4TKVF3L.js → chunk-JTLYXUEV.js} +1 -1
  94. package/dist/chunk-JTLYXUEV.js.map +1 -0
  95. package/dist/{chunk-CCRVDLV3.js → chunk-JWBZ74TW.js} +2 -2
  96. package/dist/chunk-JWBZ74TW.js.map +1 -0
  97. package/dist/{chunk-ZU5GNSOJ.js → chunk-K3LIPKFV.js} +3 -3
  98. package/dist/chunk-K3LIPKFV.js.map +1 -0
  99. package/dist/{chunk-GQRL6VNU.js → chunk-LGBO24FL.js} +1 -1
  100. package/dist/chunk-LGBO24FL.js.map +1 -0
  101. package/dist/{chunk-SWUVTGMR.js → chunk-MEUNTJL5.js} +3 -3
  102. package/dist/{chunk-SWUVTGMR.js.map → chunk-MEUNTJL5.js.map} +1 -1
  103. package/dist/{chunk-YNALYIQ3.js → chunk-NLSSFLLS.js} +1 -1
  104. package/dist/chunk-NLSSFLLS.js.map +1 -0
  105. package/dist/{chunk-HFC4BTWJ.js → chunk-PTUMBMVH.js} +1 -1
  106. package/dist/chunk-PTUMBMVH.js.map +1 -0
  107. package/dist/{chunk-R4NOKZMD.js → chunk-ROLFDOMJ.js} +3 -3
  108. package/dist/{chunk-NYATNLRK.js → chunk-RT5RKAFX.js} +1 -1
  109. package/dist/chunk-RT5RKAFX.js.map +1 -0
  110. package/dist/{chunk-GNL3MG5J.js → chunk-S564OFTL.js} +2 -2
  111. package/dist/{chunk-GUSCYE3S.js → chunk-TQOFR6XY.js} +1 -1
  112. package/dist/chunk-TQOFR6XY.js.map +1 -0
  113. package/dist/{chunk-47C6PJCW.js → chunk-TZO3SOUL.js} +1 -1
  114. package/dist/chunk-TZO3SOUL.js.map +1 -0
  115. package/dist/{chunk-YGUNTIT5.js → chunk-UKTYKG57.js} +1 -1
  116. package/dist/chunk-UKTYKG57.js.map +1 -0
  117. package/dist/{chunk-23LUHHHN.js → chunk-VCOD5AOR.js} +1 -1
  118. package/dist/chunk-VCOD5AOR.js.map +1 -0
  119. package/dist/{chunk-5I72FRZY.js → chunk-VOJB7MVG.js} +2 -2
  120. package/dist/{chunk-XWJXZ6WE.js → chunk-VTWKH4YU.js} +2 -2
  121. package/dist/chunk-VTWKH4YU.js.map +1 -0
  122. package/dist/{chunk-4K7BZYO7.js → chunk-VWAEWOWK.js} +3 -3
  123. package/dist/chunk-VWAEWOWK.js.map +1 -0
  124. package/dist/{chunk-M2EBUDZ7.js → chunk-VWOPOLVO.js} +2 -2
  125. package/dist/chunk-VWOPOLVO.js.map +1 -0
  126. package/dist/{chunk-BN2USWIR.js → chunk-VYECQAGM.js} +2 -2
  127. package/dist/chunk-VYECQAGM.js.map +1 -0
  128. package/dist/{chunk-SIXYZ2FB.js → chunk-YJMCRXQQ.js} +1 -1
  129. package/dist/chunk-YJMCRXQQ.js.map +1 -0
  130. package/dist/{chunk-PJC4NXPA.js → chunk-YKBDH2UY.js} +3 -3
  131. package/dist/chunk-YKBDH2UY.js.map +1 -0
  132. package/dist/{chunk-XAWFPMAR.js → chunk-YKOM4ZLQ.js} +1 -1
  133. package/dist/chunk-YKOM4ZLQ.js.map +1 -0
  134. package/dist/{chunk-TKVJE63N.js → chunk-YRMLYFVR.js} +3 -3
  135. package/dist/chunk-YRMLYFVR.js.map +1 -0
  136. package/dist/{chunk-USYXHDKE.js → chunk-YZ6KQULN.js} +2 -2
  137. package/dist/{command-stack-B_-WNfZU.d.ts → command-stack-TNPWJCzW.d.ts} +14 -2
  138. package/dist/{completion-Kaqp_tWk.d.ts → completion-CvcNUz07.d.ts} +1 -1
  139. package/dist/config/index.d.ts +1 -1
  140. package/dist/{contract-KfqJh_au.d.ts → contract-TjB68uqA.d.ts} +17 -0
  141. package/dist/design-canvas/drizzle.d.ts +10 -2
  142. package/dist/design-canvas/drizzle.js.map +1 -1
  143. package/dist/design-canvas/index.d.ts +29 -11
  144. package/dist/design-canvas/index.js +1070 -17
  145. package/dist/design-canvas/index.js.map +1 -1
  146. package/dist/design-canvas-react/engine.d.ts +42 -6
  147. package/dist/design-canvas-react/engine.js +4 -4
  148. package/dist/design-canvas-react/index.d.ts +12 -7
  149. package/dist/design-canvas-react/index.js +11 -11
  150. package/dist/design-canvas-react/index.js.map +1 -1
  151. package/dist/design-canvas-react/lazy.d.ts +4 -4
  152. package/dist/design-canvas-react/lazy.js +1 -1
  153. package/dist/durable-chat/index.d.ts +46 -1
  154. package/dist/durable-chat/index.js +3 -3
  155. package/dist/eval/index.d.ts +1 -1
  156. package/dist/{export-presets-DAsU5Wal.d.ts → export-presets-mgVulRaV.d.ts} +10 -1
  157. package/dist/{flow-types-Cb_AblZs.d.ts → flow-types-CqomVAUN.d.ts} +1 -0
  158. package/dist/harness/index.d.ts +5 -0
  159. package/dist/harness/index.js +1 -1
  160. package/dist/index.d.ts +10 -18
  161. package/dist/index.js +30 -231
  162. package/dist/intakes/api.d.ts +3 -2
  163. package/dist/intakes/api.js +3 -3
  164. package/dist/intakes/api.js.map +1 -1
  165. package/dist/intakes/drizzle.d.ts +10 -2
  166. package/dist/intakes/drizzle.js +3 -3
  167. package/dist/intakes/drizzle.js.map +1 -1
  168. package/dist/intakes/index.d.ts +2 -2
  169. package/dist/intakes/index.js +2 -2
  170. package/dist/intakes-react/index.d.ts +2 -1
  171. package/dist/intakes-react/index.js +2 -2
  172. package/dist/intakes-react/lazy.d.ts +2 -1
  173. package/dist/intakes-react/lazy.js +1 -1
  174. package/dist/intakes-react/lazy.js.map +1 -1
  175. package/dist/integrations/index.d.ts +4 -0
  176. package/dist/integrations/index.js +1 -1
  177. package/dist/interactions/index.d.ts +13 -2
  178. package/dist/interactions/index.js +2 -2
  179. package/dist/{invitations-CZ5G2tIn.d.ts → invitations-DoYMvXea.d.ts} +11 -1
  180. package/dist/{invitations-schema-DaMO4hZE.d.ts → invitations-schema-_fI7HkJP.d.ts} +5 -1
  181. package/dist/knowledge/index.d.ts +2 -0
  182. package/dist/knowledge/index.js +1 -1
  183. package/dist/knowledge-loop/index.d.ts +4 -1
  184. package/dist/knowledge-loop/index.js +1 -1
  185. package/dist/{lazy-C7LiVeFt.d.ts → lazy-DrkVyDpe.d.ts} +2 -2
  186. package/dist/{mcp-BHfIoGLW.d.ts → mcp-BjPqQ-3C.d.ts} +4 -2
  187. package/dist/{mcp-rpc-DLw_r9PQ.d.ts → mcp-rpc-BfUOsalw.d.ts} +3 -0
  188. package/dist/missions/index.d.ts +25 -0
  189. package/dist/missions/index.js +1 -1
  190. package/dist/{model-Bzi5i63l.d.ts → model-C8U0HZxL.d.ts} +1 -0
  191. package/dist/{model-dF2h4xT9.d.ts → model-DmdkIteM.d.ts} +19 -0
  192. package/dist/{model-BBwyOuWG.d.ts → model-DnfO_PdJ.d.ts} +25 -1
  193. package/dist/model-resolution/index.d.ts +10 -0
  194. package/dist/model-resolution/index.js.map +1 -1
  195. package/dist/{operations-DLIvvD00.d.ts → operations-ByJ6yXOW.d.ts} +20 -2
  196. package/dist/{parts-1sRYSPjF.d.ts → parts-n9XUon0a.d.ts} +29 -1
  197. package/dist/plans/index.d.ts +6 -0
  198. package/dist/plans/index.js +1 -1
  199. package/dist/platform/index.d.ts +24 -2
  200. package/dist/platform/index.js +3 -3
  201. package/dist/platform/index.js.map +1 -1
  202. package/dist/preflight/index.d.ts +3 -0
  203. package/dist/preflight/index.js +1 -1
  204. package/dist/preset-cloudflare/index.d.ts +4 -1
  205. package/dist/preset-cloudflare/index.js +2 -2
  206. package/dist/redact/index.d.ts +5 -0
  207. package/dist/redact/index.js +1 -1
  208. package/dist/{roles-BC1n4t37.d.ts → roles-B4nU3jDi.d.ts} +12 -0
  209. package/dist/run/index.d.ts +3 -0
  210. package/dist/run/index.js +1 -1
  211. package/dist/run/index.js.map +1 -1
  212. package/dist/runtime/index.d.ts +11 -4
  213. package/dist/runtime/index.js +4 -4
  214. package/dist/sandbox/index.d.ts +96 -3
  215. package/dist/sandbox/index.js +6 -6
  216. package/dist/{sandbox-terminal-BIIC__CP.d.ts → sandbox-terminal-ChNEdHF8.d.ts} +5 -0
  217. package/dist/sequences/drizzle.d.ts +11 -1
  218. package/dist/sequences/drizzle.js +1 -1
  219. package/dist/sequences/drizzle.js.map +1 -1
  220. package/dist/sequences/index.d.ts +32 -7
  221. package/dist/sequences/index.js +1562 -47
  222. package/dist/sequences/index.js.map +1 -1
  223. package/dist/sequences-react/index.d.ts +32 -2
  224. package/dist/sequences-react/index.js +3 -3
  225. package/dist/sequences-react/index.js.map +1 -1
  226. package/dist/{sso-CNOsARMJ.d.ts → sso-Cm00S61u.d.ts} +13 -0
  227. package/dist/{stale-turn-lock-C8Na1cFZ.d.ts → stale-turn-lock-DucQzvXu.d.ts} +2 -0
  228. package/dist/store/index.d.ts +5 -0
  229. package/dist/store/index.js.map +1 -1
  230. package/dist/{store-gckrNq-g.d.ts → store-B7LLlk9p.d.ts} +22 -1
  231. package/dist/{store-CFyxgTlD.d.ts → store-CqfDtnPQ.d.ts} +8 -2
  232. package/dist/stream/index.d.ts +10 -4
  233. package/dist/stream/index.js +4 -4
  234. package/dist/{stream-normalizer-DWvtmY6F.d.ts → stream-normalizer-C3M--r6y.d.ts} +17 -1
  235. package/dist/studio/index.d.ts +37 -0
  236. package/dist/studio/index.js +1 -1
  237. package/dist/studio-react/index.d.ts +3 -0
  238. package/dist/studio-react/index.js +1 -1
  239. package/dist/studio-react/index.js.map +1 -1
  240. package/dist/tangle/index.d.ts +3 -0
  241. package/dist/tangle/index.js +1 -1
  242. package/dist/teams/drizzle.d.ts +8 -4
  243. package/dist/teams/drizzle.js +1 -1
  244. package/dist/teams/drizzle.js.map +1 -1
  245. package/dist/teams/index.d.ts +4 -2
  246. package/dist/teams/index.js +3 -3
  247. package/dist/teams/invitations-api.d.ts +10 -4
  248. package/dist/teams/invitations-api.js +4 -4
  249. package/dist/teams/invitations-api.js.map +1 -1
  250. package/dist/teams/members-api.d.ts +4 -2
  251. package/dist/teams/members-api.js +3 -3
  252. package/dist/teams/resend.d.ts +5 -4
  253. package/dist/teams/resend.js +1 -1
  254. package/dist/teams/resend.js.map +1 -1
  255. package/dist/teams-react/index.d.ts +7 -2
  256. package/dist/teams-react/index.js +3 -3
  257. package/dist/teams-react/lazy.d.ts +5 -2
  258. package/dist/teams-react/lazy.js +2 -2
  259. package/dist/teams-react/lazy.js.map +1 -1
  260. package/dist/theme/index.d.ts +2 -0
  261. package/dist/theme/index.js +1 -1
  262. package/dist/theme/tailwind-preset.d.ts +1 -0
  263. package/dist/theme/tailwind-preset.js.map +1 -1
  264. package/dist/theme-contract/cli.js +1 -1
  265. package/dist/theme-contract/index.d.ts +3 -0
  266. package/dist/theme-contract/index.js +1 -1
  267. package/dist/tools/index.d.ts +13 -6
  268. package/dist/tools/index.js +3 -3
  269. package/dist/trace/index.d.ts +6 -1
  270. package/dist/trace/index.js +2 -2
  271. package/dist/{turn-buffer-C9mEgoop.d.ts → turn-buffer-DGnAPKwa.d.ts} +6 -0
  272. package/dist/turn-stream/index.d.ts +28 -2
  273. package/dist/turn-stream/index.js +1 -1
  274. package/dist/turn-stream/index.js.map +1 -1
  275. package/dist/{types-BEOvc_ue.d.ts → types-CBRyqijY.d.ts} +10 -0
  276. package/dist/vault/index.d.ts +1 -1
  277. package/dist/vault/lazy.d.ts +3 -2
  278. package/dist/vault/lazy.js.map +1 -1
  279. package/dist/web/index.d.ts +4 -0
  280. package/dist/web/index.js +1 -1
  281. package/dist/web-react/index.d.ts +51 -8
  282. package/dist/web-react/index.js +9 -9
  283. package/dist/web-react/terminal.d.ts +2 -2
  284. package/dist/web-react/terminal.js +1 -1
  285. package/package.json +3 -2
  286. package/dist/DesignCanvas-5DJAFDNC.js +0 -12
  287. package/dist/DesignCanvasEditor-XUJZARSN.js +0 -13
  288. package/dist/IntakeInterview-WHVKMNQW.js +0 -8
  289. package/dist/InvitationsPanel-XUUWZBPV.js +0 -8
  290. package/dist/MembersPanel-FOVHWUQ3.js +0 -8
  291. package/dist/chunk-23LUHHHN.js.map +0 -1
  292. package/dist/chunk-3SVAA3MA.js.map +0 -1
  293. package/dist/chunk-47C6PJCW.js.map +0 -1
  294. package/dist/chunk-4K7BZYO7.js.map +0 -1
  295. package/dist/chunk-4QN75UHX.js.map +0 -1
  296. package/dist/chunk-54GSK2KK.js.map +0 -1
  297. package/dist/chunk-5MG74GVQ.js.map +0 -1
  298. package/dist/chunk-5PTGEJZL.js.map +0 -1
  299. package/dist/chunk-5RMIUJDI.js.map +0 -1
  300. package/dist/chunk-63CE7FEZ.js.map +0 -1
  301. package/dist/chunk-65P3HJY3.js.map +0 -1
  302. package/dist/chunk-6KVH5SP5.js.map +0 -1
  303. package/dist/chunk-7EVZUIHW.js.map +0 -1
  304. package/dist/chunk-7SUPA2YT.js.map +0 -1
  305. package/dist/chunk-7W5XSTUF.js.map +0 -1
  306. package/dist/chunk-BN2USWIR.js.map +0 -1
  307. package/dist/chunk-BQV42AFK.js.map +0 -1
  308. package/dist/chunk-CCRVDLV3.js.map +0 -1
  309. package/dist/chunk-EEPJGZJW.js.map +0 -1
  310. package/dist/chunk-G3HCU7TA.js.map +0 -1
  311. package/dist/chunk-GQRL6VNU.js.map +0 -1
  312. package/dist/chunk-GUSCYE3S.js.map +0 -1
  313. package/dist/chunk-H5FM75MR.js.map +0 -1
  314. package/dist/chunk-HFC4BTWJ.js.map +0 -1
  315. package/dist/chunk-HRJJH3RX.js.map +0 -1
  316. package/dist/chunk-K63OWUDJ.js.map +0 -1
  317. package/dist/chunk-L2TG5DBW.js.map +0 -1
  318. package/dist/chunk-M2EBUDZ7.js.map +0 -1
  319. package/dist/chunk-MCJSS6SM.js.map +0 -1
  320. package/dist/chunk-MFI4ZM7W.js.map +0 -1
  321. package/dist/chunk-MFRCM32T.js.map +0 -1
  322. package/dist/chunk-ND3XEGBE.js.map +0 -1
  323. package/dist/chunk-NEOV2NQ3.js +0 -1617
  324. package/dist/chunk-NEOV2NQ3.js.map +0 -1
  325. package/dist/chunk-NYATNLRK.js.map +0 -1
  326. package/dist/chunk-PJC4NXPA.js.map +0 -1
  327. package/dist/chunk-Q4TKVF3L.js.map +0 -1
  328. package/dist/chunk-RVUISYUE.js.map +0 -1
  329. package/dist/chunk-SIXYZ2FB.js.map +0 -1
  330. package/dist/chunk-TKVJE63N.js.map +0 -1
  331. package/dist/chunk-WEBBJBDH.js.map +0 -1
  332. package/dist/chunk-WFMUDX5J.js +0 -1092
  333. package/dist/chunk-WFMUDX5J.js.map +0 -1
  334. package/dist/chunk-XAWFPMAR.js.map +0 -1
  335. package/dist/chunk-XKBIYSSM.js.map +0 -1
  336. package/dist/chunk-XWJXZ6WE.js.map +0 -1
  337. package/dist/chunk-YGUNTIT5.js.map +0 -1
  338. package/dist/chunk-YNALYIQ3.js.map +0 -1
  339. package/dist/chunk-ZU5GNSOJ.js.map +0 -1
  340. package/dist/chunk-ZXNXAQAH.js.map +0 -1
  341. package/dist/chunk-ZYBWGSAZ.js.map +0 -1
  342. /package/dist/{DesignCanvas-5DJAFDNC.js.map → DesignCanvas-UNL34LS2.js.map} +0 -0
  343. /package/dist/{DesignCanvasEditor-XUJZARSN.js.map → DesignCanvasEditor-FJIVYOA2.js.map} +0 -0
  344. /package/dist/{IntakeInterview-WHVKMNQW.js.map → IntakeInterview-3ZIQMZS6.js.map} +0 -0
  345. /package/dist/{InvitationsPanel-XUUWZBPV.js.map → InvitationsPanel-CJ7DR4F7.js.map} +0 -0
  346. /package/dist/{MembersPanel-FOVHWUQ3.js.map → MembersPanel-BB4OD2KB.js.map} +0 -0
  347. /package/dist/{TimelineEditor-I35SJJAJ.js.map → TimelineEditor-2ECKSU6P.js.map} +0 -0
  348. /package/dist/{chunk-7C64WKAH.js.map → chunk-5SXS3YAB.js.map} +0 -0
  349. /package/dist/{chunk-R4NOKZMD.js.map → chunk-ROLFDOMJ.js.map} +0 -0
  350. /package/dist/{chunk-GNL3MG5J.js.map → chunk-S564OFTL.js.map} +0 -0
  351. /package/dist/{chunk-5I72FRZY.js.map → chunk-VOJB7MVG.js.map} +0 -0
  352. /package/dist/{chunk-USYXHDKE.js.map → chunk-YZ6KQULN.js.map} +0 -0
@@ -1,5 +1,5 @@
1
- import { f as WorkspaceRole } from '../roles-BC1n4t37.js';
2
- import { c as InvitationPermission, d as InvitationStatus, b as InvitationEmailStatus } from '../invitations-CZ5G2tIn.js';
1
+ import { f as WorkspaceRole } from '../roles-B4nU3jDi.js';
2
+ import { c as InvitationPermission, d as InvitationStatus, b as InvitationEmailStatus } from '../invitations-DoYMvXea.js';
3
3
  import * as react from 'react';
4
4
 
5
5
  /**
@@ -22,6 +22,7 @@ interface MemberView {
22
22
  /** true = inherited org owner/admin access (managed at the org level). */
23
23
  inherited?: boolean;
24
24
  }
25
+ /** Define properties and callbacks for managing members and their roles in a workspace panel */
25
26
  interface MembersPanelProps {
26
27
  members: MemberView[];
27
28
  /** The viewer's effective role — gates which controls are interactive. */
@@ -66,6 +67,7 @@ interface InvitationView {
66
67
  /** Shareable accept link, for copy-to-clipboard. */
67
68
  inviteUrl: string;
68
69
  }
70
+ /** Define properties and callbacks for managing workspace invitations and user roles */
69
71
  interface InvitationsPanelProps {
70
72
  invitations: InvitationView[];
71
73
  /** The viewer's effective role — gates whether the invite controls are interactive. */
@@ -95,7 +97,9 @@ interface InvitationsPanelProps {
95
97
  message: string;
96
98
  }): void;
97
99
  }
100
+ /** Define possible statuses for the acceptance state of an invitation */
98
101
  type InviteAcceptStatus = 'pending' | 'invalid' | 'already-accepted' | 'expired' | 'revoked';
102
+ /** Describe details of an accepted invite including status, workspace, inviter, role, emails, and expiration */
99
103
  interface InviteAcceptDetails {
100
104
  status: InviteAcceptStatus;
101
105
  /** Workspace the invite grants access to. */
@@ -113,6 +117,7 @@ interface InviteAcceptDetails {
113
117
  /** True when the signed-in user must verify their email before they can accept. */
114
118
  needsEmailVerification?: boolean;
115
119
  }
120
+ /** Define properties and callbacks for handling invite acceptance and navigation actions on the invite page */
116
121
  interface InviteAcceptPageProps {
117
122
  details: InviteAcceptDetails;
118
123
  /** Accept the invite; resolve with the workspace to navigate to. */
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  MembersPanel
3
- } from "../chunk-GNL3MG5J.js";
3
+ } from "../chunk-S564OFTL.js";
4
4
  import {
5
5
  InvitationsPanel
6
- } from "../chunk-7C64WKAH.js";
6
+ } from "../chunk-5SXS3YAB.js";
7
7
  import {
8
8
  InviteAcceptPage
9
9
  } from "../chunk-VCPZ3HTN.js";
10
- import "../chunk-63CE7FEZ.js";
10
+ import "../chunk-6XIAPIW6.js";
11
11
  export {
12
12
  InvitationsPanel,
13
13
  InviteAcceptPage,
@@ -1,11 +1,14 @@
1
1
  import * as react from 'react';
2
2
  import { InvitationsPanel, InviteAcceptPage, MembersPanel } from './index.js';
3
3
  export { InvitationsPanelProps, InviteAcceptPageProps, MembersPanelProps } from './index.js';
4
- import '../roles-BC1n4t37.js';
5
- import '../invitations-CZ5G2tIn.js';
4
+ import '../roles-B4nU3jDi.js';
5
+ import '../invitations-DoYMvXea.js';
6
6
 
7
+ /** Load MembersPanel component lazily to optimize initial rendering performance */
7
8
  declare const MembersPanelLazy: react.LazyExoticComponent<typeof MembersPanel>;
9
+ /** Load InvitationsPanel component lazily to optimize initial rendering performance */
8
10
  declare const InvitationsPanelLazy: react.LazyExoticComponent<typeof InvitationsPanel>;
11
+ /** Load InviteAcceptPage component lazily for optimized code splitting and performance */
9
12
  declare const InviteAcceptPageLazy: react.LazyExoticComponent<typeof InviteAcceptPage>;
10
13
 
11
14
  export { InvitationsPanelLazy, InviteAcceptPageLazy, MembersPanelLazy };
@@ -1,10 +1,10 @@
1
1
  // src/teams-react/lazy.tsx
2
2
  import { lazy } from "react";
3
3
  var MembersPanelLazy = lazy(
4
- () => import("../MembersPanel-FOVHWUQ3.js").then((m) => ({ default: m.MembersPanel }))
4
+ () => import("../MembersPanel-BB4OD2KB.js").then((m) => ({ default: m.MembersPanel }))
5
5
  );
6
6
  var InvitationsPanelLazy = lazy(
7
- () => import("../InvitationsPanel-XUUWZBPV.js").then((m) => ({ default: m.InvitationsPanel }))
7
+ () => import("../InvitationsPanel-CJ7DR4F7.js").then((m) => ({ default: m.InvitationsPanel }))
8
8
  );
9
9
  var InviteAcceptPageLazy = lazy(
10
10
  () => import("../InviteAcceptPage-P3QJC3C6.js").then((m) => ({ default: m.InviteAcceptPage }))
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/teams-react/lazy.tsx"],"sourcesContent":["/**\n * Code-split entries for the teams React surface. Products that don't need the\n * members UI on initial load import these `React.lazy` handles instead of the\n * components directly, so the panel/page chunks load on first render. Mount\n * inside a `<Suspense>` boundary; the product provides the fallback.\n */\n\nimport { lazy } from 'react'\nimport type { MembersPanelProps, InvitationsPanelProps, InviteAcceptPageProps } from './contracts'\n\nexport type { MembersPanelProps, InvitationsPanelProps, InviteAcceptPageProps }\n\nexport const MembersPanelLazy = lazy(\n () => import('./components/MembersPanel').then((m) => ({ default: m.MembersPanel })),\n)\n\nexport const InvitationsPanelLazy = lazy(\n () => import('./components/InvitationsPanel').then((m) => ({ default: m.InvitationsPanel })),\n)\n\nexport const InviteAcceptPageLazy = lazy(\n () => import('./components/InviteAcceptPage').then((m) => ({ default: m.InviteAcceptPage })),\n)\n"],"mappings":";AAOA,SAAS,YAAY;AAKd,IAAM,mBAAmB;AAAA,EAC9B,MAAM,OAAO,6BAA2B,EAAE,KAAK,CAAC,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE;AACrF;AAEO,IAAM,uBAAuB;AAAA,EAClC,MAAM,OAAO,iCAA+B,EAAE,KAAK,CAAC,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE;AAC7F;AAEO,IAAM,uBAAuB;AAAA,EAClC,MAAM,OAAO,iCAA+B,EAAE,KAAK,CAAC,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE;AAC7F;","names":[]}
1
+ {"version":3,"sources":["../../src/teams-react/lazy.tsx"],"sourcesContent":["/**\n * Code-split entries for the teams React surface. Products that don't need the\n * members UI on initial load import these `React.lazy` handles instead of the\n * components directly, so the panel/page chunks load on first render. Mount\n * inside a `<Suspense>` boundary; the product provides the fallback.\n */\n\nimport { lazy } from 'react'\nimport type { MembersPanelProps, InvitationsPanelProps, InviteAcceptPageProps } from './contracts'\n\nexport type { MembersPanelProps, InvitationsPanelProps, InviteAcceptPageProps }\n\n/** Load MembersPanel component lazily to optimize initial rendering performance */\nexport const MembersPanelLazy = lazy(\n () => import('./components/MembersPanel').then((m) => ({ default: m.MembersPanel })),\n)\n\n/** Load InvitationsPanel component lazily to optimize initial rendering performance */\nexport const InvitationsPanelLazy = lazy(\n () => import('./components/InvitationsPanel').then((m) => ({ default: m.InvitationsPanel })),\n)\n\n/** Load InviteAcceptPage component lazily for optimized code splitting and performance */\nexport const InviteAcceptPageLazy = lazy(\n () => import('./components/InviteAcceptPage').then((m) => ({ default: m.InviteAcceptPage })),\n)\n"],"mappings":";AAOA,SAAS,YAAY;AAMd,IAAM,mBAAmB;AAAA,EAC9B,MAAM,OAAO,6BAA2B,EAAE,KAAK,CAAC,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE;AACrF;AAGO,IAAM,uBAAuB;AAAA,EAClC,MAAM,OAAO,iCAA+B,EAAE,KAAK,CAAC,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE;AAC7F;AAGO,IAAM,uBAAuB;AAAA,EAClC,MAAM,OAAO,iCAA+B,EAAE,KAAK,CAAC,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE;AAC7F;","names":[]}
@@ -66,7 +66,9 @@ interface CanvasRenderPalette {
66
66
  /** Broken/loading image placeholder stroke (ElementNode ImageNode). */
67
67
  brokenStroke: string;
68
68
  }
69
+ /** Define a light color theme with specific background, foreground, and accent color values */
69
70
  declare const lightTheme: AgentAppTheme;
71
+ /** Define a dark color scheme for the Agent app interface with specific background and foreground hues */
70
72
  declare const darkTheme: AgentAppTheme;
71
73
  /** Wrap a channel triple in `hsl()`; pass through values already in a color form. */
72
74
  declare function themeColor(value: string): string;
@@ -4,7 +4,7 @@ import {
4
4
  lightTheme,
5
5
  themeColor,
6
6
  themeToCssVars
7
- } from "../chunk-47C6PJCW.js";
7
+ } from "../chunk-TZO3SOUL.js";
8
8
  export {
9
9
  darkTheme,
10
10
  lightTheme,
@@ -11,6 +11,7 @@
11
11
  * design-canvas/sequences need no preset — they consume vars via arbitrary
12
12
  * values (bg-[var(--bg-input)]), which Tailwind supports without color config.
13
13
  */
14
+ /** Define a preset configuration for dark mode and extended theme colors with foreground variants */
14
15
  declare const agentAppPreset: {
15
16
  darkMode: [string, string];
16
17
  theme: {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/theme/tailwind-preset.ts"],"sourcesContent":["/**\n * Tailwind preset mapping the shadcn semantic color names used by web-react\n * (bg-card, text-muted-foreground, border-border, …) onto the CSS variables in\n * tokens.css — so a consuming app themes every agent-app surface from one source.\n *\n * // tailwind.config.{js,ts}\n * import agentAppPreset from '@tangle-network/agent-app/tailwind-preset'\n * export default { presets: [agentAppPreset], content: [...] }\n *\n * Pair with `import '@tangle-network/agent-app/styles'` for the variable values.\n * design-canvas/sequences need no preset — they consume vars via arbitrary\n * values (bg-[var(--bg-input)]), which Tailwind supports without color config.\n */\n\nconst withForeground = (name: string) => ({\n DEFAULT: `hsl(var(--${name}))`,\n foreground: `hsl(var(--${name}-foreground))`,\n})\n\nconst agentAppPreset = {\n darkMode: ['class', '[data-theme=\"dark\"]'] as [string, string],\n theme: {\n extend: {\n colors: {\n background: 'hsl(var(--background))',\n foreground: 'hsl(var(--foreground))',\n border: 'hsl(var(--border))',\n input: 'hsl(var(--input))',\n ring: 'hsl(var(--ring))',\n success: withForeground('success'),\n warning: withForeground('warning'),\n card: withForeground('card'),\n popover: withForeground('popover'),\n primary: withForeground('primary'),\n secondary: withForeground('secondary'),\n muted: withForeground('muted'),\n accent: withForeground('accent'),\n destructive: withForeground('destructive'),\n // MD3 surface ladder — wires sandbox-ui's `bg-surface-container*`\n // utilities (used by AgentComposer + its pickers) onto the shadcn\n // elevation triples, so those components render on-palette here.\n 'surface-container': 'hsl(var(--card))',\n 'surface-container-high': 'hsl(var(--popover))',\n 'surface-container-highest': 'hsl(var(--secondary))',\n },\n },\n },\n}\n\nexport default agentAppPreset\n"],"mappings":";AAcA,IAAM,iBAAiB,CAAC,UAAkB;AAAA,EACxC,SAAS,aAAa,IAAI;AAAA,EAC1B,YAAY,aAAa,IAAI;AAC/B;AAEA,IAAM,iBAAiB;AAAA,EACrB,UAAU,CAAC,SAAS,qBAAqB;AAAA,EACzC,OAAO;AAAA,IACL,QAAQ;AAAA,MACN,QAAQ;AAAA,QACN,YAAY;AAAA,QACZ,YAAY;AAAA,QACZ,QAAQ;AAAA,QACR,OAAO;AAAA,QACP,MAAM;AAAA,QACN,SAAS,eAAe,SAAS;AAAA,QACjC,SAAS,eAAe,SAAS;AAAA,QACjC,MAAM,eAAe,MAAM;AAAA,QAC3B,SAAS,eAAe,SAAS;AAAA,QACjC,SAAS,eAAe,SAAS;AAAA,QACjC,WAAW,eAAe,WAAW;AAAA,QACrC,OAAO,eAAe,OAAO;AAAA,QAC7B,QAAQ,eAAe,QAAQ;AAAA,QAC/B,aAAa,eAAe,aAAa;AAAA;AAAA;AAAA;AAAA,QAIzC,qBAAqB;AAAA,QACrB,0BAA0B;AAAA,QAC1B,6BAA6B;AAAA,MAC/B;AAAA,IACF;AAAA,EACF;AACF;AAEA,IAAO,0BAAQ;","names":[]}
1
+ {"version":3,"sources":["../../src/theme/tailwind-preset.ts"],"sourcesContent":["/**\n * Tailwind preset mapping the shadcn semantic color names used by web-react\n * (bg-card, text-muted-foreground, border-border, …) onto the CSS variables in\n * tokens.css — so a consuming app themes every agent-app surface from one source.\n *\n * // tailwind.config.{js,ts}\n * import agentAppPreset from '@tangle-network/agent-app/tailwind-preset'\n * export default { presets: [agentAppPreset], content: [...] }\n *\n * Pair with `import '@tangle-network/agent-app/styles'` for the variable values.\n * design-canvas/sequences need no preset — they consume vars via arbitrary\n * values (bg-[var(--bg-input)]), which Tailwind supports without color config.\n */\n\nconst withForeground = (name: string) => ({\n DEFAULT: `hsl(var(--${name}))`,\n foreground: `hsl(var(--${name}-foreground))`,\n})\n\n/** Define a preset configuration for dark mode and extended theme colors with foreground variants */\nconst agentAppPreset = {\n darkMode: ['class', '[data-theme=\"dark\"]'] as [string, string],\n theme: {\n extend: {\n colors: {\n background: 'hsl(var(--background))',\n foreground: 'hsl(var(--foreground))',\n border: 'hsl(var(--border))',\n input: 'hsl(var(--input))',\n ring: 'hsl(var(--ring))',\n success: withForeground('success'),\n warning: withForeground('warning'),\n card: withForeground('card'),\n popover: withForeground('popover'),\n primary: withForeground('primary'),\n secondary: withForeground('secondary'),\n muted: withForeground('muted'),\n accent: withForeground('accent'),\n destructive: withForeground('destructive'),\n // MD3 surface ladder — wires sandbox-ui's `bg-surface-container*`\n // utilities (used by AgentComposer + its pickers) onto the shadcn\n // elevation triples, so those components render on-palette here.\n 'surface-container': 'hsl(var(--card))',\n 'surface-container-high': 'hsl(var(--popover))',\n 'surface-container-highest': 'hsl(var(--secondary))',\n },\n },\n },\n}\n\nexport default agentAppPreset\n"],"mappings":";AAcA,IAAM,iBAAiB,CAAC,UAAkB;AAAA,EACxC,SAAS,aAAa,IAAI;AAAA,EAC1B,YAAY,aAAa,IAAI;AAC/B;AAGA,IAAM,iBAAiB;AAAA,EACrB,UAAU,CAAC,SAAS,qBAAqB;AAAA,EACzC,OAAO;AAAA,IACL,QAAQ;AAAA,MACN,QAAQ;AAAA,QACN,YAAY;AAAA,QACZ,YAAY;AAAA,QACZ,QAAQ;AAAA,QACR,OAAO;AAAA,QACP,MAAM;AAAA,QACN,SAAS,eAAe,SAAS;AAAA,QACjC,SAAS,eAAe,SAAS;AAAA,QACjC,MAAM,eAAe,MAAM;AAAA,QAC3B,SAAS,eAAe,SAAS;AAAA,QACjC,SAAS,eAAe,SAAS;AAAA,QACjC,WAAW,eAAe,WAAW;AAAA,QACrC,OAAO,eAAe,OAAO;AAAA,QAC7B,QAAQ,eAAe,QAAQ;AAAA,QAC/B,aAAa,eAAe,aAAa;AAAA;AAAA;AAAA;AAAA,QAIzC,qBAAqB;AAAA,QACrB,0BAA0B;AAAA,QAC1B,6BAA6B;AAAA,MAC/B;AAAA,IACF;AAAA,EACF;AACF;AAEA,IAAO,0BAAQ;","names":[]}
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  checkThemeContract
4
- } from "../chunk-NYATNLRK.js";
4
+ } from "../chunk-RT5RKAFX.js";
5
5
 
6
6
  // src/theme-contract/cli.ts
7
7
  function parseArgs(argv) {
@@ -45,6 +45,7 @@
45
45
  * subpath, NOT `./theme`, which must stay browser-clean (it's in the
46
46
  * browser-safe manifest test).
47
47
  */
48
+ /** Define options for scanning source directories and CSS token files in a theme contract */
48
49
  interface ThemeContractOptions {
49
50
  /** Consumer source directories to scan for token references (recursively). */
50
51
  srcDirs: string[];
@@ -66,6 +67,7 @@ interface ThemeContractOptions {
66
67
  */
67
68
  allowlist?: string[];
68
69
  }
70
+ /** Describe a missing theme contract variable and where it was referenced */
69
71
  interface ThemeContractMiss {
70
72
  /** The undefined custom property, e.g. `--popover`. */
71
73
  varName: string;
@@ -76,6 +78,7 @@ interface ThemeContractMiss {
76
78
  */
77
79
  referencedIn: string;
78
80
  }
81
+ /** Describe the result of validating a theme contract including success status and missing items */
79
82
  interface ThemeContractResult {
80
83
  ok: boolean;
81
84
  missing: ThemeContractMiss[];
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  checkThemeContract
3
- } from "../chunk-NYATNLRK.js";
3
+ } from "../chunk-RT5RKAFX.js";
4
4
  export {
5
5
  checkThemeContract
6
6
  };
@@ -1,9 +1,9 @@
1
- import { a as ToolHeaderNames } from '../auth-DuptSkWh.js';
2
- export { A as AuthenticateOptions, D as DEFAULT_HEADER_NAMES, T as ToolAuthResult, b as authenticateToolRequest, r as readToolArgs } from '../auth-DuptSkWh.js';
3
- import { i as AppToolTaxonomy, e as AppToolHandlers, d as AppToolDefinition, c as AppToolContext, h as AppToolProducedEvent, g as AppToolOutcome, f as AppToolName } from '../types-BEOvc_ue.js';
4
- export { A as APP_TOOL_NAMES, a as AddCitationArgs, b as AddCitationResult, B as BuildAppToolsOptions, O as OpenAIFunctionTool, R as RenderUiArgs, j as RenderUiResult, S as ScheduleFollowupArgs, k as ScheduleFollowupResult, l as SubmitProposalArgs, m as SubmitProposalResult, n as buildAppToolOpenAITools, o as customToolToOpenAI, p as defineAppTool, q as findCustomTool, r as isAppToolName } from '../types-BEOvc_ue.js';
5
- export { A as AppToolMcpServer, B as BuildHttpMcpServerOptions, a as BuildMcpServerOptions, D as DEFAULT_APP_TOOL_PATHS, S as ScopedMcpServerEntryOptions, b as buildAppToolMcpServer, c as buildHttpMcpServer, d as buildScopedMcpServerEntry } from '../mcp-BHfIoGLW.js';
6
- export { C as CreateMcpToolHandlerOptions, M as MCP_PROTOCOL_VERSIONS, a as McpProtocolVersion, b as McpServerInfo, c as McpToolDefinition, d as createMcpToolHandler } from '../mcp-rpc-DLw_r9PQ.js';
1
+ import { a as ToolHeaderNames } from '../auth-_FU8w01b.js';
2
+ export { A as AuthenticateOptions, D as DEFAULT_HEADER_NAMES, T as ToolAuthResult, b as authenticateToolRequest, r as readToolArgs } from '../auth-_FU8w01b.js';
3
+ import { i as AppToolTaxonomy, e as AppToolHandlers, d as AppToolDefinition, c as AppToolContext, h as AppToolProducedEvent, g as AppToolOutcome, f as AppToolName } from '../types-CBRyqijY.js';
4
+ export { A as APP_TOOL_NAMES, a as AddCitationArgs, b as AddCitationResult, B as BuildAppToolsOptions, O as OpenAIFunctionTool, R as RenderUiArgs, j as RenderUiResult, S as ScheduleFollowupArgs, k as ScheduleFollowupResult, l as SubmitProposalArgs, m as SubmitProposalResult, n as buildAppToolOpenAITools, o as customToolToOpenAI, p as defineAppTool, q as findCustomTool, r as isAppToolName } from '../types-CBRyqijY.js';
5
+ export { A as AppToolMcpServer, B as BuildHttpMcpServerOptions, a as BuildMcpServerOptions, D as DEFAULT_APP_TOOL_PATHS, S as ScopedMcpServerEntryOptions, b as buildAppToolMcpServer, c as buildHttpMcpServer, d as buildScopedMcpServerEntry } from '../mcp-BjPqQ-3C.js';
6
+ export { C as CreateMcpToolHandlerOptions, M as MCP_PROTOCOL_VERSIONS, a as McpProtocolVersion, b as McpServerInfo, c as McpToolDefinition, d as createMcpToolHandler } from '../mcp-rpc-BfUOsalw.js';
7
7
 
8
8
  /** A correctable bad-input error a tool handler throws; the HTTP layer maps it
9
9
  * to a 4xx with the code, the runtime layer to a failed tool_result. So the
@@ -30,6 +30,7 @@ declare class ToolInputError extends Error {
30
30
  * server rather than fake an authorized call). WebCrypto only — runs on
31
31
  * Workers, Node, and the browser with no Node `crypto` dependency.
32
32
  */
33
+ /** Define options for creating and verifying capability tokens including secret and prefix */
33
34
  interface CapabilityTokenOptions {
34
35
  /** Shared HMAC secret. When absent, mint returns undefined / verify returns false. */
35
36
  secret?: string;
@@ -43,6 +44,7 @@ declare function createCapabilityToken(userId: string, opts: CapabilityTokenOpti
43
44
  /** Verify a capability token against `userId`. Returns false (never throws) for
44
45
  * an unconfigured secret, a wrong prefix, a malformed token, or a mismatch. */
45
46
  declare function verifyCapabilityToken(userId: string, token: string, opts: CapabilityTokenOptions): Promise<boolean>;
47
+ /** Define options for capability tokens that expire after a specified lifetime in milliseconds */
46
48
  interface ExpiringCapabilityTokenOptions extends CapabilityTokenOptions {
47
49
  /** Token lifetime. Expired tokens verify false regardless of signature. */
48
50
  expiresInMs: number;
@@ -96,6 +98,7 @@ interface ToolCapability {
96
98
  * unions them. */
97
99
  toolGroups?: readonly string[];
98
100
  }
101
+ /** Resolve options for determining tool capabilities based on taxonomy, capabilities, and enabled IDs */
99
102
  interface ResolveToolCapabilitiesOptions {
100
103
  taxonomy: AppToolTaxonomy;
101
104
  /** The product's full capability registry. */
@@ -109,6 +112,7 @@ interface ResolveToolCapabilitiesOptions {
109
112
  * "domain actions" are the taxonomy types no capability claims. */
110
113
  baseProposalTypes?: readonly string[];
111
114
  }
115
+ /** Describe resolved capabilities including proposal types and product tool groups to expose */
112
116
  interface ResolvedToolCapabilities {
113
117
  /** Proposal types to keep — feed to {@link restrictTaxonomy}. */
114
118
  proposalTypes: string[];
@@ -128,6 +132,7 @@ declare function resolveToolCapabilities(opts: ResolveToolCapabilitiesOptions):
128
132
  */
129
133
  declare function restrictTaxonomy(taxonomy: AppToolTaxonomy, allowed: readonly string[]): AppToolTaxonomy;
130
134
 
135
+ /** Define options for dispatching tools including handlers, taxonomy, custom tools, and approval policies */
131
136
  interface DispatchOptions {
132
137
  handlers: AppToolHandlers;
133
138
  taxonomy: AppToolTaxonomy;
@@ -170,6 +175,7 @@ type AppToolRuntimeExecutor = (call: {
170
175
  toolName: string;
171
176
  args: Record<string, unknown>;
172
177
  }) => Promise<AppToolOutcome>;
178
+ /** Define options for executing runtime tasks with a trusted per-turn context */
173
179
  interface RuntimeExecutorOptions extends DispatchOptions {
174
180
  /** The trusted per-turn context — supplied directly (not from headers), since
175
181
  * the runtime path has no HTTP request. */
@@ -183,6 +189,7 @@ interface RuntimeExecutorOptions extends DispatchOptions {
183
189
  */
184
190
  declare function createAppToolRuntimeExecutor(opts: RuntimeExecutorOptions): AppToolRuntimeExecutor;
185
191
 
192
+ /** Define options for handling tool requests including tool identification and token verification */
186
193
  interface HandleToolRequestOptions extends DispatchOptions {
187
194
  /** Which app tool this route serves — a built-in name or a product-registered
188
195
  * {@link AppToolDefinition} (auto-added to `customTools` for dispatch). */
@@ -6,7 +6,7 @@ import {
6
6
  restrictTaxonomy,
7
7
  verifyCapabilityToken,
8
8
  verifyExpiringCapabilityToken
9
- } from "../chunk-PJC4NXPA.js";
9
+ } from "../chunk-YKBDH2UY.js";
10
10
  import {
11
11
  DEFAULT_APP_TOOL_PATHS,
12
12
  DEFAULT_HEADER_NAMES,
@@ -17,7 +17,7 @@ import {
17
17
  buildScopedMcpServerEntry,
18
18
  createMcpToolHandler,
19
19
  readToolArgs
20
- } from "../chunk-7EVZUIHW.js";
20
+ } from "../chunk-3EJ6SFJI.js";
21
21
  import "../chunk-S5SRJJQG.js";
22
22
  import {
23
23
  APP_TOOL_NAMES,
@@ -30,7 +30,7 @@ import {
30
30
  findCustomTool,
31
31
  isAppToolName,
32
32
  outcomeStatus
33
- } from "../chunk-MFRCM32T.js";
33
+ } from "../chunk-7CTIUCQ4.js";
34
34
  export {
35
35
  APP_TOOL_NAMES,
36
36
  DEFAULT_APP_TOOL_PATHS,
@@ -1,4 +1,4 @@
1
- import { a as FlowTrace, F as FlowSpan } from '../flow-types-Cb_AblZs.js';
1
+ import { a as FlowTrace, F as FlowSpan } from '../flow-types-CqomVAUN.js';
2
2
  import { S as StepAgentActivity } from '../agent-activity-C8ZG0F0M.js';
3
3
 
4
4
  /**
@@ -23,6 +23,7 @@ interface MissionTraceContext {
23
23
  /** 16-hex span id of the mission root — the parent of every step span. */
24
24
  rootSpanId: string;
25
25
  }
26
+ /** Define context information for a step span including trace, span, and parent span identifiers */
26
27
  interface StepSpanContext {
27
28
  traceId: string;
28
29
  /** 16-hex span id of this step attempt (or any nested unit of work). */
@@ -111,6 +112,7 @@ declare function stepActivityFlowTrace(activity: StepAgentActivity[], opts?: {
111
112
  startedAt?: number;
112
113
  nowMs?: number;
113
114
  }): FlowTrace;
115
+ /** Define a step in a mission flow with id, intent, optional status, start time, and duration */
114
116
  interface MissionFlowStep {
115
117
  id: string;
116
118
  intent: string;
@@ -150,6 +152,7 @@ declare function composeMissionFlowTrace(input: {
150
152
  * carry `approx: true` to keep reports honest about that.
151
153
  */
152
154
 
155
+ /** Represent a timed event with a timestamp and associated event data */
153
156
  interface TimedEvent {
154
157
  /** ms since turn start (`_t` stamped by pumpBufferedTurn). */
155
158
  t: number;
@@ -172,6 +175,7 @@ declare function buildFlowTrace(events: TimedEvent[], opts?: {
172
175
  declare function renderWaterfall(trace: FlowTrace, opts?: {
173
176
  width?: number;
174
177
  }): string;
178
+ /** Summarize key statistics of a numerical distribution including count, min, percentiles, and max */
175
179
  interface DistributionSummary {
176
180
  n: number;
177
181
  min: number;
@@ -179,6 +183,7 @@ interface DistributionSummary {
179
183
  p90: number;
180
184
  max: number;
181
185
  }
186
+ /** Summarize numeric values into a distribution summary including count, min, median, 90th percentile, and max */
182
187
  declare function summarize(values: number[]): DistributionSummary;
183
188
  /** ASCII histogram for multi-run samples (eval latencies, costs, scores). */
184
189
  declare function renderHistogram(values: number[], opts?: {
@@ -7,13 +7,13 @@ import {
7
7
  summarize,
8
8
  timedEventsFromLines,
9
9
  traceEnv
10
- } from "../chunk-GQRL6VNU.js";
10
+ } from "../chunk-LGBO24FL.js";
11
11
  import {
12
12
  composeMissionFlowTrace,
13
13
  delegationActivityToFlowSpans,
14
14
  loopTraceEventsToFlowSpans,
15
15
  stepActivityFlowTrace
16
- } from "../chunk-2QI7XV2T.js";
16
+ } from "../chunk-FBVLEGEG.js";
17
17
  export {
18
18
  buildFlowTrace,
19
19
  childSpanContext,
@@ -16,11 +16,13 @@
16
16
  * deltas with identical concatenation.
17
17
  */
18
18
  type TurnStatus = 'running' | 'complete' | 'error';
19
+ /** Represent a buffered turn event with a sequence number and serialized event data */
19
20
  interface BufferedTurnEvent {
20
21
  seq: number;
21
22
  /** The serialized event line (JSON string, no trailing newline). */
22
23
  event: string;
23
24
  }
25
+ /** Manage and query turn events and their lifecycle statuses within a scoped event store */
24
26
  interface TurnEventStore {
25
27
  append(turnId: string, events: BufferedTurnEvent[]): Promise<void>;
26
28
  read(turnId: string, fromSeq: number): Promise<BufferedTurnEvent[]>;
@@ -53,6 +55,7 @@ declare function coalesceDeltas(events: unknown[]): unknown[];
53
55
  * identical final text.
54
56
  */
55
57
  declare function coalesceChatStreamEvents(events: unknown[]): unknown[];
58
+ /** Define options for buffering and flushing turn events with optional live client delivery and event coalescing */
56
59
  interface BufferedTurnOptions {
57
60
  store: TurnEventStore;
58
61
  turnId: string;
@@ -92,6 +95,7 @@ interface BufferedTurnTap {
92
95
  * no `TurnEventStore` seam.
93
96
  */
94
97
  declare function createBufferedTurnTap(opts: BufferedTurnOptions): BufferedTurnTap;
98
+ /** Define options to pump data from an asynchronous iterable source with buffered turn control */
95
99
  interface PumpBufferedTurnOptions extends BufferedTurnOptions {
96
100
  source: AsyncIterable<unknown>;
97
101
  }
@@ -104,6 +108,7 @@ interface PumpBufferedTurnOptions extends BufferedTurnOptions {
104
108
  * what was produced) and rethrows.
105
109
  */
106
110
  declare function pumpBufferedTurn(opts: PumpBufferedTurnOptions): Promise<void>;
111
+ /** Define options for replaying turn events with control over sequence, polling, and timeout */
107
112
  interface ReplayTurnEventsOptions {
108
113
  store: TurnEventStore;
109
114
  turnId: string;
@@ -139,6 +144,7 @@ declare const TURN_EVENTS_MIGRATION_SQL = "\nCREATE TABLE IF NOT EXISTS turn_eve
139
144
  * run once to add the column (the CREATE above already includes it for new
140
145
  * deployments). SQLite ignores a duplicate-add error if already applied. */
141
146
  declare const TURN_STATUS_SCOPE_MIGRATION_SQL = "ALTER TABLE turn_status ADD COLUMN scopeId TEXT;";
147
+ /** Resolve a TurnEventStore that appends and reads turn events using a D1-like database interface */
142
148
  declare function createD1TurnEventStore(db: D1LikeForTurns): TurnEventStore;
143
149
  /** In-memory store for tests and keyless local dev. */
144
150
  declare function createMemoryTurnEventStore(): TurnEventStore;
@@ -1,5 +1,5 @@
1
- import { R as ReconcileStaleTurnLockOptions } from '../stale-turn-lock-C8Na1cFZ.js';
2
- import { d as TurnEventStore } from '../turn-buffer-C9mEgoop.js';
1
+ import { R as ReconcileStaleTurnLockOptions } from '../stale-turn-lock-DucQzvXu.js';
2
+ import { d as TurnEventStore } from '../turn-buffer-DGnAPKwa.js';
3
3
 
4
4
  /**
5
5
  * `/turn-stream` core — the pure, substrate-free half of the shared durable
@@ -26,21 +26,28 @@ interface TurnStreamEvent {
26
26
  /** Terminal run markers: they close a turn segment and auto-release the
27
27
  * channel's chat-turn lock for the segment's execution. */
28
28
  declare function isTerminalRunEvent(type: string): boolean;
29
+ /** Define the scope level for acquiring a turn lock within thread or workspace contexts */
29
30
  type TurnLockScope = 'thread' | 'workspace';
31
+ /** Generate a unique string key combining workspace and thread identifiers */
30
32
  declare function threadChannelKey(workspaceId: string, threadId: string): string;
33
+ /** Generate a unique channel key based on the given workspace identifier */
31
34
  declare function workspaceChannelKey(workspaceId: string): string;
32
35
  /** The channel a lock lives on: workspace-scope locks serialize every thread
33
36
  * in the workspace (one shared sandbox), thread-scope locks serialize one
34
37
  * thread (router lane). Same keying as the reference consumer, so a product
35
38
  * swapping its fork for this package contends on identical instances. */
36
39
  declare function turnLockChannelKey(workspaceId: string, threadId: string, scope: TurnLockScope): string;
40
+ /** Generate a storage channel key string for a given turn identifier */
37
41
  declare function turnStorageChannelKey(turnId: string): string;
42
+ /** Generate a unique channel key string based on the provided scope identifier */
38
43
  declare function scopeIndexChannelKey(scopeId: string): string;
44
+ /** Represent a segment of a turn containing events, sequence limit, and terminal status */
39
45
  interface TurnSegment {
40
46
  events: TurnStreamEvent[];
41
47
  maxSeq: number;
42
48
  terminal: boolean;
43
49
  }
50
+ /** Define a store managing segments and tracking the active execution identifier */
44
51
  interface SegmentStore {
45
52
  segments: Map<string, TurnSegment>;
46
53
  activeExecutionId: string | null;
@@ -54,6 +61,7 @@ declare const MAX_RECENT_CREATED = 50;
54
61
  /** A responding marker older than this is treated as stale, so a dropped
55
62
  * `end` broadcast can't leave a permanently-stuck "responding" dot. */
56
63
  declare const ACTIVITY_TTL_MS: number;
64
+ /** Create a SegmentStore with initialized segments and no active execution ID */
57
65
  declare function createSegmentStore(): SegmentStore;
58
66
  /**
59
67
  * Append a per-turn event to its execution's segment, assigning a monotonic
@@ -97,6 +105,7 @@ interface DurableTurnLock {
97
105
  * defer seam — the base package never sets it on its own. */
98
106
  releasePending?: boolean;
99
107
  }
108
+ /** Define input parameters required to acquire a turn-based lock in a workspace thread */
100
109
  interface TurnLockAcquireInput {
101
110
  workspaceId: string;
102
111
  threadId: string;
@@ -105,6 +114,7 @@ interface TurnLockAcquireInput {
105
114
  lockId: string;
106
115
  turnId?: string;
107
116
  }
117
+ /** Resolve the result of attempting to acquire a turn lock indicating success or active lock status */
108
118
  type TurnLockAcquireResult = {
109
119
  acquired: true;
110
120
  lock: DurableTurnLock;
@@ -112,6 +122,7 @@ type TurnLockAcquireResult = {
112
122
  acquired: false;
113
123
  active: DurableTurnLock;
114
124
  };
125
+ /** Define input parameters required to release a turn lock in a specific workspace thread */
115
126
  interface TurnLockReleaseInput {
116
127
  workspaceId: string;
117
128
  threadId: string;
@@ -133,6 +144,7 @@ interface TurnLockInterruptedReleaseInput {
133
144
  }
134
145
  /** `stored` is what the DO read from storage; expired locks are dead. */
135
146
  declare function activeTurnLock(stored: DurableTurnLock | undefined, now: number): DurableTurnLock | null;
147
+ /** Create a durable turn lock object with timing and scope based on input parameters */
136
148
  declare function createTurnLock(input: TurnLockAcquireInput, now: number, ttlMs?: number): DurableTurnLock;
137
149
  /** A cooperative release must present the lock's own identity — both the
138
150
  * execution and the lockId minted at acquire — so a retry of a PREVIOUS turn
@@ -156,6 +168,7 @@ declare function interruptedReleaseApplies(active: DurableTurnLock, input: {
156
168
  interruptedAt: number;
157
169
  turnId?: string;
158
170
  }): boolean;
171
+ /** Provide constant paths for managing chat turn streams and locks */
159
172
  declare const TURN_STREAM_PATHS: {
160
173
  readonly broadcast: "/broadcast";
161
174
  readonly lockAcquire: "/chat-turn-lock/acquire";
@@ -247,6 +260,7 @@ interface TurnStreamDOState {
247
260
  acceptWebSocket(ws: TurnStreamSocket): void;
248
261
  getWebSockets(): TurnStreamSocket[];
249
262
  }
263
+ /** Define options to override default TTL and event limits for TURN stream DO operations */
250
264
  interface TurnStreamDOOptions {
251
265
  /** Override {@link TURN_LOCK_TTL_MS}. */
252
266
  lockTtlMs?: number;
@@ -255,6 +269,7 @@ interface TurnStreamDOOptions {
255
269
  /** Override {@link ACTIVITY_TTL_MS}. */
256
270
  activityTtlMs?: number;
257
271
  }
272
+ /** Manage per-turn segments and track active threads with durable event storage */
258
273
  declare class TurnStreamDO {
259
274
  protected readonly state: TurnStreamDOState;
260
275
  protected readonly env: unknown;
@@ -335,6 +350,7 @@ declare class TurnStreamDO {
335
350
  * contract the reference consumer already runs.
336
351
  */
337
352
 
353
+ /** Resolve a stub interface for handling fetch requests with optional initialization parameters */
338
354
  interface TurnStreamStubLike {
339
355
  fetch(input: Request | string, init?: RequestInit): Promise<Response>;
340
356
  }
@@ -352,6 +368,7 @@ interface TurnStreamNamespaceLike {
352
368
  * instance. Drops in wherever `createD1TurnEventStore(env.DB)` would.
353
369
  */
354
370
  declare function createDurableObjectTurnEventStore(namespace: TurnStreamNamespaceLike): TurnEventStore;
371
+ /** Define input parameters required to acquire a durable turn lock in a workspace thread context */
355
372
  interface AcquireDurableTurnLockInput {
356
373
  workspaceId: string;
357
374
  threadId: string;
@@ -361,11 +378,14 @@ interface AcquireDurableTurnLockInput {
361
378
  /** Supply to reclaim/retry with a stable id; default mints a UUID. */
362
379
  lockId?: string;
363
380
  }
381
+ /** Acquire a durable turn lock in the specified namespace with given input parameters */
364
382
  declare function acquireDurableTurnLock(namespace: TurnStreamNamespaceLike, input: AcquireDurableTurnLockInput): Promise<TurnLockAcquireResult>;
383
+ /** Release a durable turn lock and indicate if the release was successful or deferred */
365
384
  declare function releaseDurableTurnLock(namespace: TurnStreamNamespaceLike, input: TurnLockReleaseInput): Promise<{
366
385
  released: boolean;
367
386
  deferred?: boolean;
368
387
  }>;
388
+ /** Define input parameters to release an interrupted durable turn lock in a workspace or thread */
369
389
  interface ReleaseInterruptedDurableTurnLockInput {
370
390
  workspaceId: string;
371
391
  threadId: string;
@@ -379,6 +399,7 @@ interface ReleaseInterruptedDurableTurnLockInput {
379
399
  * after `interruptedAt`) and a turnId mismatch. Returns whether any scope
380
400
  * released. */
381
401
  declare function releaseInterruptedDurableTurnLock(namespace: TurnStreamNamespaceLike, input: ReleaseInterruptedDurableTurnLockInput): Promise<boolean>;
402
+ /** Define options to reconcile stale durable turn locks with context, namespace, workspace, and active lock details */
382
403
  interface ReconcileStaleDurableTurnLockOptions extends Pick<ReconcileStaleTurnLockOptions, 'probeSandbox' | 'probeSession' | 'graceMs' | 'terminalGraceMs' | 'context' | 'log' | 'now'> {
383
404
  namespace: TurnStreamNamespaceLike;
384
405
  workspaceId: string;
@@ -419,6 +440,7 @@ type TurnLockSeamResult = {
419
440
  acquired: false;
420
441
  response: Response;
421
442
  };
443
+ /** Define options for creating a durable turn lock with customizable scope and identification methods */
422
444
  interface CreateDurableTurnLockOptions<TContext> {
423
445
  namespace: TurnStreamNamespaceLike;
424
446
  /** Which lane serializes this turn: `'workspace'` (shared sandbox — one
@@ -480,12 +502,14 @@ declare function broadcastThreadCreated(namespace: TurnStreamNamespaceLike, work
480
502
  threadId: string;
481
503
  title: string;
482
504
  }): Promise<void>;
505
+ /** Represent success or failure of a TURN stream upgrade authorization with optional response data */
483
506
  type TurnStreamUpgradeAuthorization = {
484
507
  ok: true;
485
508
  } | {
486
509
  ok: false;
487
510
  response: Response;
488
511
  };
512
+ /** Define options for creating a TURN stream upgrade handler including namespace, path, and authorization logic */
489
513
  interface CreateTurnStreamUpgradeHandlerOptions {
490
514
  namespace: TurnStreamNamespaceLike;
491
515
  /** The worker route serving the stream. Default `/api/session-stream`. */
@@ -526,6 +550,7 @@ interface MemoryTurnStreamSocket extends TurnStreamSocket {
526
550
  readonly frames: string[];
527
551
  readonly closed: boolean;
528
552
  }
553
+ /** Define an in-memory channel for streaming turn-based data with viewer socket connection support */
529
554
  interface MemoryTurnStreamChannel {
530
555
  /** Attach a viewer socket to this channel (bypasses the HTTP 101 — the
531
556
  * upgrade handshake is Cloudflare-runtime-only) and run its `sync`. */
@@ -536,6 +561,7 @@ interface MemoryTurnStreamChannel {
536
561
  }): Promise<MemoryTurnStreamSocket>;
537
562
  readonly instance: TurnStreamDO;
538
563
  }
564
+ /** Provide an interface to manage channels and namespaces for memory-based turn stream testing */
539
565
  interface MemoryTurnStreamHarness {
540
566
  namespace: TurnStreamNamespaceLike;
541
567
  /** The channel (creating its DO instance if needed) for a channel key —
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  reconcileStaleTurnLock
3
- } from "../chunk-BQV42AFK.js";
3
+ } from "../chunk-CCVWR33L.js";
4
4
 
5
5
  // src/turn-stream/core.ts
6
6
  function isTerminalRunEvent(type) {