@tangle-network/agent-app 0.61.4 → 0.62.1

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 (310) hide show
  1. package/dist/{DesignCanvas-L6J72JQ2.js → DesignCanvas-IQKYAEC4.js} +3 -2
  2. package/dist/{DesignCanvasEditor-QFQD63MR.js → DesignCanvasEditor-O7OCZTGC.js} +5 -4
  3. package/dist/{TimelineEditor-7KBPJQLT.js → TimelineEditor-VB2UJ34D.js} +4 -2
  4. package/dist/VaultPane-AYW7CO33.js +8 -0
  5. package/dist/agent-profiles/d1.js +1 -1
  6. package/dist/agent-profiles/index.d.ts +0 -82
  7. package/dist/agent-profiles/index.js +1 -21
  8. package/dist/agent-profiles/self-management.d.ts +0 -55
  9. package/dist/alerting/index.d.ts +1 -1
  10. package/dist/alerting/index.js +1 -3
  11. package/dist/alerting/slack.d.ts +6 -79
  12. package/dist/app-auth/drizzle.d.ts +17 -271
  13. package/dist/app-auth/drizzle.js +6 -2
  14. package/dist/app-auth/drizzle.js.map +1 -1
  15. package/dist/app-auth/index.js +3 -3
  16. package/dist/assets/types.d.ts +2 -1
  17. package/dist/assistant/AssistantPanel.d.ts +1 -1
  18. package/dist/assistant/index.js +635 -392
  19. package/dist/assistant/index.js.map +1 -1
  20. package/dist/billing/identity-locks.d.ts +5 -0
  21. package/dist/billing/index.js +1 -1
  22. package/dist/brand-extraction/index.js.map +1 -1
  23. package/dist/brand-extraction/types.d.ts +2 -1
  24. package/dist/chat-react/index.js +6 -5
  25. package/dist/chat-routes/attachment-write-safety.d.ts +4 -0
  26. package/dist/chat-routes/draft-persistence.d.ts +2 -14
  27. package/dist/chat-routes/index.d.ts +1 -0
  28. package/dist/chat-routes/index.js +853 -773
  29. package/dist/chat-routes/index.js.map +1 -1
  30. package/dist/chat-routes/sandbox-model-source.d.ts +20 -0
  31. package/dist/chat-routes/stored-attachments.d.ts +18 -0
  32. package/dist/chat-routes/turn-admission.d.ts +1 -1
  33. package/dist/chat-routes/turn-execution.d.ts +2 -2
  34. package/dist/chat-routes/turn-route-contracts.d.ts +3 -29
  35. package/dist/chat-store/core.d.ts +19 -1
  36. package/dist/chat-store/index.js.map +1 -1
  37. package/dist/chat-store/store.d.ts +3 -29
  38. package/dist/{chunk-ATQQCG4I.js → chunk-2VJLLRVV.js} +2 -2
  39. package/dist/{chunk-4LBCTFBP.js → chunk-4MD5PS4F.js} +5 -1
  40. package/dist/{chunk-4LBCTFBP.js.map → chunk-4MD5PS4F.js.map} +1 -1
  41. package/dist/{chunk-R4X5474U.js → chunk-52SDU43B.js} +12 -27
  42. package/dist/chunk-52SDU43B.js.map +1 -0
  43. package/dist/{chunk-MDRH3SDA.js → chunk-54YIL7WM.js} +3 -3
  44. package/dist/{chunk-6QJ3GB3A.js → chunk-5GSZGTPJ.js} +2 -2
  45. package/dist/{chunk-5IM2CLYX.js → chunk-6JEDSKFH.js} +232 -218
  46. package/dist/chunk-6JEDSKFH.js.map +1 -0
  47. package/dist/{chunk-6PRQ45QE.js → chunk-6OG4244Y.js} +1 -1
  48. package/dist/chunk-6OG4244Y.js.map +1 -0
  49. package/dist/{chunk-ZDPUC6CM.js → chunk-6ZVSMA4T.js} +3 -3
  50. package/dist/{chunk-TXUAGSFR.js → chunk-76MPX7JQ.js} +47 -1
  51. package/dist/chunk-76MPX7JQ.js.map +1 -0
  52. package/dist/{chunk-BOQ4HVVH.js → chunk-7ISHKBAD.js} +61 -52
  53. package/dist/chunk-7ISHKBAD.js.map +1 -0
  54. package/dist/chunk-7PULOECS.js +22 -0
  55. package/dist/chunk-7PULOECS.js.map +1 -0
  56. package/dist/{chunk-KJODHPWM.js → chunk-CPVGRQ43.js} +511 -339
  57. package/dist/chunk-CPVGRQ43.js.map +1 -0
  58. package/dist/{chunk-LO6VQ35O.js → chunk-CQZVJVME.js} +2 -2
  59. package/dist/{chunk-Y43PXON2.js → chunk-EFQUAWWF.js} +577 -546
  60. package/dist/chunk-EFQUAWWF.js.map +1 -0
  61. package/dist/{chunk-FPNZMIAW.js → chunk-ELX5YITO.js} +1 -1
  62. package/dist/chunk-ELX5YITO.js.map +1 -0
  63. package/dist/chunk-FGAROAUF.js +19 -0
  64. package/dist/chunk-FGAROAUF.js.map +1 -0
  65. package/dist/{chunk-HN6MZ2XL.js → chunk-FTNGGR37.js} +641 -466
  66. package/dist/chunk-FTNGGR37.js.map +1 -0
  67. package/dist/{chunk-G4F2NWZH.js → chunk-FZ3ZFVAC.js} +4 -4
  68. package/dist/{chunk-UCCSJX64.js → chunk-GIEUZBQQ.js} +1112 -644
  69. package/dist/chunk-GIEUZBQQ.js.map +1 -0
  70. package/dist/{chunk-MEKOWH5E.js → chunk-IVBREL7A.js} +785 -526
  71. package/dist/chunk-IVBREL7A.js.map +1 -0
  72. package/dist/{chunk-WSEXFTN4.js → chunk-JBXNU5WD.js} +26 -26
  73. package/dist/chunk-JBXNU5WD.js.map +1 -0
  74. package/dist/{chunk-F2VX6TTJ.js → chunk-JRCZHDRG.js} +2 -41
  75. package/dist/chunk-JRCZHDRG.js.map +1 -0
  76. package/dist/{chunk-LXYQOOXU.js → chunk-JRW6LCIA.js} +552 -302
  77. package/dist/chunk-JRW6LCIA.js.map +1 -0
  78. package/dist/{chunk-TVPH5T4F.js → chunk-KS4I7KVC.js} +16 -22
  79. package/dist/{chunk-TVPH5T4F.js.map → chunk-KS4I7KVC.js.map} +1 -1
  80. package/dist/{chunk-J2BBYVGF.js → chunk-MRZP65DZ.js} +1 -117
  81. package/dist/chunk-MRZP65DZ.js.map +1 -0
  82. package/dist/{chunk-L7LQRJGD.js → chunk-MVKMDROU.js} +48 -48
  83. package/dist/{chunk-L7LQRJGD.js.map → chunk-MVKMDROU.js.map} +1 -1
  84. package/dist/{chunk-4ZSLX3LY.js → chunk-OODZCBSM.js} +1 -1
  85. package/dist/chunk-OODZCBSM.js.map +1 -0
  86. package/dist/chunk-P4RRC4AO.js +47 -0
  87. package/dist/chunk-P4RRC4AO.js.map +1 -0
  88. package/dist/{chunk-ORQD4AUO.js → chunk-PCAY23GS.js} +1 -6
  89. package/dist/chunk-PCAY23GS.js.map +1 -0
  90. package/dist/{chunk-NMZUW6VJ.js → chunk-PEJ5OP5B.js} +3 -3
  91. package/dist/chunk-PEJ5OP5B.js.map +1 -0
  92. package/dist/{chunk-NHYRIM4I.js → chunk-PIPNDZ6H.js} +304 -194
  93. package/dist/chunk-PIPNDZ6H.js.map +1 -0
  94. package/dist/chunk-UHSUY6H6.js +79 -0
  95. package/dist/chunk-UHSUY6H6.js.map +1 -0
  96. package/dist/{chunk-PDD5A43Y.js → chunk-UTL6TEN6.js} +3 -3
  97. package/dist/{chunk-VJBFCNAU.js → chunk-UW2DKTEM.js} +123 -130
  98. package/dist/chunk-UW2DKTEM.js.map +1 -0
  99. package/dist/{chunk-S27DKRI6.js → chunk-VDYEVCQQ.js} +2 -2
  100. package/dist/{chunk-UFQM46NV.js → chunk-VK3F4N4U.js} +2 -2
  101. package/dist/{chunk-6ZIC6OG5.js → chunk-VYBTQK25.js} +126 -122
  102. package/dist/chunk-VYBTQK25.js.map +1 -0
  103. package/dist/{chunk-RL3Z747H.js → chunk-W2BV2XOC.js} +1491 -700
  104. package/dist/chunk-W2BV2XOC.js.map +1 -0
  105. package/dist/{chunk-FUZETA6Z.js → chunk-X6SZGQTK.js} +2 -2
  106. package/dist/{chunk-CD2LQXY6.js → chunk-XOHE6SKU.js} +14 -16
  107. package/dist/{chunk-CD2LQXY6.js.map → chunk-XOHE6SKU.js.map} +1 -1
  108. package/dist/{chunk-ZBB5KQ6B.js → chunk-Y3GO6SG3.js} +73 -66
  109. package/dist/chunk-Y3GO6SG3.js.map +1 -0
  110. package/dist/chunk-ZAMHLXNS.js +56 -0
  111. package/dist/chunk-ZAMHLXNS.js.map +1 -0
  112. package/dist/{chunk-RHFN7TUV.js → chunk-ZDHCV462.js} +47 -44
  113. package/dist/{chunk-RHFN7TUV.js.map → chunk-ZDHCV462.js.map} +1 -1
  114. package/dist/chunk-ZOS3D26Z.js +72 -0
  115. package/dist/chunk-ZOS3D26Z.js.map +1 -0
  116. package/dist/design-canvas/index.js +32 -32
  117. package/dist/design-canvas/index.js.map +1 -1
  118. package/dist/design-canvas-react/components/DesignCanvas.d.ts +1 -1
  119. package/dist/design-canvas-react/components/Workspace.d.ts +1 -1
  120. package/dist/design-canvas-react/components/glyphs.d.ts +31 -40
  121. package/dist/design-canvas-react/components/transform-math.d.ts +0 -8
  122. package/dist/design-canvas-react/components/use-workspace-keyboard.d.ts +2 -2
  123. package/dist/design-canvas-react/contracts.d.ts +2 -2
  124. package/dist/design-canvas-react/engine.js +1 -1
  125. package/dist/design-canvas-react/index.js +9 -7
  126. package/dist/design-canvas-react/index.js.map +1 -1
  127. package/dist/design-canvas-react/lazy.js +1 -1
  128. package/dist/eval/calibration.d.ts +1 -38
  129. package/dist/eval/index.d.ts +2 -4
  130. package/dist/eval/index.js +0 -84
  131. package/dist/eval/index.js.map +1 -1
  132. package/dist/harness/index.d.ts +1 -1
  133. package/dist/harness/index.js +1 -1
  134. package/dist/harness/session-selection.d.ts +2 -2
  135. package/dist/hub-approvals/index.js +1 -1
  136. package/dist/hub-approvals/result.d.ts +1 -1
  137. package/dist/hub-approvals-react/index.js +4 -4
  138. package/dist/hub-approvals-react/index.js.map +1 -1
  139. package/dist/hub-approvals-react/parts.d.ts +1 -1
  140. package/dist/launch-invariants/cli.js +4 -4
  141. package/dist/launch-invariants/index.js +3 -3
  142. package/dist/launch-invariants/testing.js +4 -4
  143. package/dist/legibility/cli.js +1 -1
  144. package/dist/legibility/index.js +1 -1
  145. package/dist/{mention-editor-B23OMFT2.js → mention-editor-4BKBMWIK.js} +83 -57
  146. package/dist/mention-editor-4BKBMWIK.js.map +1 -0
  147. package/dist/missions/index.js +144 -137
  148. package/dist/missions/index.js.map +1 -1
  149. package/dist/operator/index.js +1 -1
  150. package/dist/peer-floors/check.js +1 -1
  151. package/dist/peer-floors/cli.js +6 -14
  152. package/dist/peer-floors/cli.js.map +1 -1
  153. package/dist/peer-floors/source-entries.d.ts +6 -0
  154. package/dist/platform/index.js +10 -10
  155. package/dist/preset-cloudflare/index.js +2 -2
  156. package/dist/profile/index.d.ts +0 -1
  157. package/dist/profile/index.js +1 -422
  158. package/dist/profile/index.js.map +1 -1
  159. package/dist/profile-editor/server.d.ts +0 -1
  160. package/dist/profile-editor/server.js +0 -1
  161. package/dist/profile-editor/server.js.map +1 -1
  162. package/dist/public-consultation/index.d.ts +2 -2
  163. package/dist/public-consultation/index.js +6 -6
  164. package/dist/record/drizzle.js +156 -148
  165. package/dist/record/drizzle.js.map +1 -1
  166. package/dist/runtime/index.js +4 -4
  167. package/dist/runtime/router-turn.js +3 -3
  168. package/dist/sandbox/index.js +8 -6
  169. package/dist/sandbox/transient-failure.d.ts +2 -0
  170. package/dist/sequences/drizzle.js +5 -15
  171. package/dist/sequences/drizzle.js.map +1 -1
  172. package/dist/sequences/index.d.ts +1 -0
  173. package/dist/sequences/index.js +18 -14
  174. package/dist/sequences/index.js.map +1 -1
  175. package/dist/sequences/row-mapping.d.ts +7 -0
  176. package/dist/sequences-react/components/TimelineEditor.d.ts +0 -40
  177. package/dist/sequences-react/components/TimelineHistory.d.ts +31 -0
  178. package/dist/sequences-react/components/glyphs.d.ts +12 -21
  179. package/dist/sequences-react/components/index.d.ts +0 -2
  180. package/dist/sequences-react/components/interaction-math.d.ts +3 -3
  181. package/dist/sequences-react/contracts.d.ts +1 -1
  182. package/dist/sequences-react/engine/snap.d.ts +2 -2
  183. package/dist/sequences-react/index.js +4 -4
  184. package/dist/sequences-react/index.js.map +1 -1
  185. package/dist/settings-react/index.js +13 -30
  186. package/dist/settings-react/index.js.map +1 -1
  187. package/dist/settings-react/timezone-picker.d.ts +0 -6
  188. package/dist/signoff/browser-budget.d.ts +6 -1
  189. package/dist/signoff/cli.d.ts +0 -7
  190. package/dist/signoff/cli.js +1 -2
  191. package/dist/signoff/cli.js.map +1 -1
  192. package/dist/signoff/index.js +1 -1
  193. package/dist/skills/index.d.ts +1 -1
  194. package/dist/skills/index.js +5 -25
  195. package/dist/skills/marketplace.d.ts +1 -75
  196. package/dist/skills-placement/box.js +3 -4
  197. package/dist/skills-placement/box.js.map +1 -1
  198. package/dist/skills-placement/index.js +3 -4
  199. package/dist/spend/cli-args.d.ts +1 -1
  200. package/dist/spend/cli.js +3 -3
  201. package/dist/spend/cli.js.map +1 -1
  202. package/dist/spend/index.js +1 -1
  203. package/dist/stories/design-canvas/fixtures.d.ts +1 -14
  204. package/dist/stream/index.js +17 -17
  205. package/dist/studio/generation.d.ts +1 -1
  206. package/dist/studio/index.js +1 -1
  207. package/dist/studio-react/index.js +353 -184
  208. package/dist/studio-react/index.js.map +1 -1
  209. package/dist/studio-react/studio-composer.d.ts +1 -5
  210. package/dist/studio-react/studio-history-screen.d.ts +1 -1
  211. package/dist/teams/invitations-api.d.ts +3 -3
  212. package/dist/teams/invitations-api.js +74 -72
  213. package/dist/teams/invitations-api.js.map +1 -1
  214. package/dist/teams/member-sync.d.ts +2 -0
  215. package/dist/teams/members-api.d.ts +2 -2
  216. package/dist/teams/members-api.js +1 -1
  217. package/dist/teams-react/index.js +28 -45
  218. package/dist/teams-react/index.js.map +1 -1
  219. package/dist/tools/index.js +1 -1
  220. package/dist/tools/mcp-arguments.d.ts +1 -1
  221. package/dist/trace/index.d.ts +1 -18
  222. package/dist/trace/index.js +1 -36
  223. package/dist/trace/index.js.map +1 -1
  224. package/dist/trace/mission-flow.d.ts +1 -59
  225. package/dist/turn-health/index.d.ts +1 -1
  226. package/dist/turn-health/index.js +2 -2
  227. package/dist/turn-health/sink.d.ts +2 -1
  228. package/dist/turn-trace/index.js +2 -4
  229. package/dist/turn-trace/recorder.d.ts +0 -2
  230. package/dist/vault/VaultPane.d.ts +0 -20
  231. package/dist/vault/VaultPaneOperations.d.ts +318 -0
  232. package/dist/vault/index.js +2 -1
  233. package/dist/vault/index.js.map +1 -1
  234. package/dist/vault/lazy.js +1 -1
  235. package/dist/web-react/agent-profile-editor.d.ts +1 -2
  236. package/dist/web-react/agent-profile-editor.js +6 -5
  237. package/dist/web-react/chat-composer.d.ts +1 -1
  238. package/dist/web-react/durable-plan-flow.d.ts +6 -1
  239. package/dist/web-react/editor-glyphs.d.ts +12 -0
  240. package/dist/web-react/focus-navigation.d.ts +12 -0
  241. package/dist/web-react/history-controls.d.ts +37 -0
  242. package/dist/web-react/index.js +36 -34
  243. package/dist/web-react/interaction-question-card.d.ts +1 -1
  244. package/dist/web-react/record-grid-writes.d.ts +31 -0
  245. package/dist/web-react/record-grid.d.ts +1 -48
  246. package/dist/web-react/session-history-panel.d.ts +1 -9
  247. package/dist/web-react/use-document-dark.d.ts +1 -0
  248. package/dist/workspace-export/engine.d.ts +1 -6
  249. package/dist/workspace-export/index.js +198 -185
  250. package/dist/workspace-export/index.js.map +1 -1
  251. package/dist/workspace-export/routes.d.ts +1 -1
  252. package/dist/workspace-react/index.js +9 -8
  253. package/dist/workspace-react/index.js.map +1 -1
  254. package/package.json +1 -11
  255. package/dist/VaultPane-RXL3WLA2.js +0 -7
  256. package/dist/agent-profiles/reaper.d.ts +0 -31
  257. package/dist/agent-profiles/reaper.js +0 -29
  258. package/dist/agent-profiles/reaper.js.map +0 -1
  259. package/dist/chunk-4ZSLX3LY.js.map +0 -1
  260. package/dist/chunk-5IM2CLYX.js.map +0 -1
  261. package/dist/chunk-6OSJNJA2.js +0 -251
  262. package/dist/chunk-6OSJNJA2.js.map +0 -1
  263. package/dist/chunk-6PRQ45QE.js.map +0 -1
  264. package/dist/chunk-6ZIC6OG5.js.map +0 -1
  265. package/dist/chunk-BDEBQ4WO.js +0 -38
  266. package/dist/chunk-BDEBQ4WO.js.map +0 -1
  267. package/dist/chunk-BOQ4HVVH.js.map +0 -1
  268. package/dist/chunk-F2VX6TTJ.js.map +0 -1
  269. package/dist/chunk-FPNZMIAW.js.map +0 -1
  270. package/dist/chunk-HN6MZ2XL.js.map +0 -1
  271. package/dist/chunk-J2BBYVGF.js.map +0 -1
  272. package/dist/chunk-KJODHPWM.js.map +0 -1
  273. package/dist/chunk-LTWJYNEC.js +0 -100
  274. package/dist/chunk-LTWJYNEC.js.map +0 -1
  275. package/dist/chunk-LXYQOOXU.js.map +0 -1
  276. package/dist/chunk-MEKOWH5E.js.map +0 -1
  277. package/dist/chunk-NHYRIM4I.js.map +0 -1
  278. package/dist/chunk-NMZUW6VJ.js.map +0 -1
  279. package/dist/chunk-ORQD4AUO.js.map +0 -1
  280. package/dist/chunk-R4X5474U.js.map +0 -1
  281. package/dist/chunk-RL3Z747H.js.map +0 -1
  282. package/dist/chunk-TXUAGSFR.js.map +0 -1
  283. package/dist/chunk-UCCSJX64.js.map +0 -1
  284. package/dist/chunk-VJBFCNAU.js.map +0 -1
  285. package/dist/chunk-WSEXFTN4.js.map +0 -1
  286. package/dist/chunk-Y43PXON2.js.map +0 -1
  287. package/dist/chunk-ZBB5KQ6B.js.map +0 -1
  288. package/dist/eval/parity.d.ts +0 -74
  289. package/dist/mention-editor-B23OMFT2.js.map +0 -1
  290. package/dist/profile/humanizer-skill.d.ts +0 -23
  291. package/dist/profile/humanizer-skill.vendored.d.ts +0 -4
  292. package/dist/sequences-react/components/BrandMark.d.ts +0 -10
  293. package/dist/skills/marketplace-drizzle.d.ts +0 -121
  294. package/dist/skills/marketplace-drizzle.js +0 -34
  295. package/dist/skills/marketplace-drizzle.js.map +0 -1
  296. package/dist/teams-react/components/BrandMark.d.ts +0 -10
  297. /package/dist/{DesignCanvas-L6J72JQ2.js.map → DesignCanvas-IQKYAEC4.js.map} +0 -0
  298. /package/dist/{DesignCanvasEditor-QFQD63MR.js.map → DesignCanvasEditor-O7OCZTGC.js.map} +0 -0
  299. /package/dist/{TimelineEditor-7KBPJQLT.js.map → TimelineEditor-VB2UJ34D.js.map} +0 -0
  300. /package/dist/{VaultPane-RXL3WLA2.js.map → VaultPane-AYW7CO33.js.map} +0 -0
  301. /package/dist/{chunk-ATQQCG4I.js.map → chunk-2VJLLRVV.js.map} +0 -0
  302. /package/dist/{chunk-MDRH3SDA.js.map → chunk-54YIL7WM.js.map} +0 -0
  303. /package/dist/{chunk-6QJ3GB3A.js.map → chunk-5GSZGTPJ.js.map} +0 -0
  304. /package/dist/{chunk-ZDPUC6CM.js.map → chunk-6ZVSMA4T.js.map} +0 -0
  305. /package/dist/{chunk-LO6VQ35O.js.map → chunk-CQZVJVME.js.map} +0 -0
  306. /package/dist/{chunk-G4F2NWZH.js.map → chunk-FZ3ZFVAC.js.map} +0 -0
  307. /package/dist/{chunk-PDD5A43Y.js.map → chunk-UTL6TEN6.js.map} +0 -0
  308. /package/dist/{chunk-S27DKRI6.js.map → chunk-VDYEVCQQ.js.map} +0 -0
  309. /package/dist/{chunk-UFQM46NV.js.map → chunk-VK3F4N4U.js.map} +0 -0
  310. /package/dist/{chunk-FUZETA6Z.js.map → chunk-X6SZGQTK.js.map} +0 -0
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  DesignCanvas
3
- } from "./chunk-NHYRIM4I.js";
3
+ } from "./chunk-PIPNDZ6H.js";
4
+ import "./chunk-P4RRC4AO.js";
4
5
  import "./chunk-BTKI4XMM.js";
5
6
  import "./chunk-ZWJ3SZ2G.js";
6
7
  import "./chunk-CQGEGPY7.js";
@@ -12,4 +13,4 @@ import "./chunk-57XPEL7X.js";
12
13
  export {
13
14
  DesignCanvas
14
15
  };
15
- //# sourceMappingURL=DesignCanvas-L6J72JQ2.js.map
16
+ //# sourceMappingURL=DesignCanvas-IQKYAEC4.js.map
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  DesignCanvasEditor
3
- } from "./chunk-KJODHPWM.js";
4
- import "./chunk-NHYRIM4I.js";
5
- import "./chunk-4ZSLX3LY.js";
3
+ } from "./chunk-CPVGRQ43.js";
4
+ import "./chunk-PIPNDZ6H.js";
5
+ import "./chunk-P4RRC4AO.js";
6
+ import "./chunk-OODZCBSM.js";
6
7
  import "./chunk-BTKI4XMM.js";
7
8
  import "./chunk-ZWJ3SZ2G.js";
8
9
  import "./chunk-CQGEGPY7.js";
@@ -15,4 +16,4 @@ import "./chunk-UTF7H6BK.js";
15
16
  export {
16
17
  DesignCanvasEditor
17
18
  };
18
- //# sourceMappingURL=DesignCanvasEditor-QFQD63MR.js.map
19
+ //# sourceMappingURL=DesignCanvasEditor-O7OCZTGC.js.map
@@ -2,11 +2,13 @@ import {
2
2
  SEQUENCE_MEDIA_DRAG_TYPE,
3
3
  TimelineEditor,
4
4
  TimelineEditor_default
5
- } from "./chunk-MEKOWH5E.js";
5
+ } from "./chunk-IVBREL7A.js";
6
+ import "./chunk-P4RRC4AO.js";
6
7
  import "./chunk-SISVELAA.js";
8
+ import "./chunk-7PULOECS.js";
7
9
  export {
8
10
  SEQUENCE_MEDIA_DRAG_TYPE,
9
11
  TimelineEditor,
10
12
  TimelineEditor_default as default
11
13
  };
12
- //# sourceMappingURL=TimelineEditor-7KBPJQLT.js.map
14
+ //# sourceMappingURL=TimelineEditor-VB2UJ34D.js.map
@@ -0,0 +1,8 @@
1
+ import {
2
+ VaultPane
3
+ } from "./chunk-W2BV2XOC.js";
4
+ import "./chunk-ZAMHLXNS.js";
5
+ export {
6
+ VaultPane
7
+ };
8
+ //# sourceMappingURL=VaultPane-AYW7CO33.js.map
@@ -2,7 +2,7 @@ import {
2
2
  ProfileConflictError,
3
3
  parseProfileRevisionDiff,
4
4
  serializeProfileRevisionDiff
5
- } from "../chunk-J2BBYVGF.js";
5
+ } from "../chunk-MRZP65DZ.js";
6
6
  import "../chunk-I6BZVIRH.js";
7
7
  import "../chunk-7TZA2TAM.js";
8
8
  import "../chunk-UGWQLQDS.js";
@@ -1,44 +1,10 @@
1
1
  /** Chat-owned profile revisions and member/channel bindings. Execution stays in the substrate. */
2
2
  import { type AgentProfile, type AgentProfileDiff } from '@tangle-network/agent-interface';
3
- import { z } from 'zod';
4
3
  import { normalizeProfileName, parseProfileSwitch } from './switch';
5
4
  export { normalizeProfileName, parseProfileSwitch };
6
5
  import type { McpToolDefinition } from '../tools';
7
6
  export type ProfileAuthorKind = 'person' | 'agent' | 'optimizer';
8
7
  export type ProfileRevisionState = 'active' | 'candidate' | 'pending-consent';
9
- /** The decision table used by every write path; products may narrow access, never widen it. */
10
- export declare const PROFILE_CHANGE_POLICY: {
11
- readonly textEdit: {
12
- readonly admission: 'automatic';
13
- readonly conversation: 'same';
14
- readonly destructive: false;
15
- };
16
- readonly sameAuthoritySwitch: {
17
- readonly admission: 'prepare-then-flip';
18
- readonly conversation: 'same';
19
- readonly destructive: false;
20
- };
21
- readonly differentAuthoritySwitch: {
22
- readonly admission: 'prepare-then-flip';
23
- readonly conversation: 'same';
24
- readonly destructive: false;
25
- };
26
- readonly authorityEdit: {
27
- readonly admission: 'editor-consent';
28
- readonly conversation: 'same';
29
- readonly destructive: false;
30
- };
31
- readonly optimizerRevision: {
32
- readonly admission: 'eval-promotion';
33
- readonly conversation: 'same';
34
- readonly destructive: false;
35
- };
36
- readonly destructiveAction: {
37
- readonly admission: 'reaper-only';
38
- readonly conversation: 'none';
39
- readonly destructive: true;
40
- };
41
- };
42
8
  export interface ProfileRevision {
43
9
  id: string;
44
10
  workspaceId: string;
@@ -96,11 +62,6 @@ export interface ProfileKnowledgeEvent {
96
62
  observedAddIds: string[];
97
63
  createdAt: number;
98
64
  }
99
- export interface ProfileKnowledgeDocument {
100
- documentId: string;
101
- content: string;
102
- addEventId: string;
103
- }
104
65
  export interface ProfileSwitchReceipt {
105
66
  key: ProfileBindingKey;
106
67
  messageId: string;
@@ -153,26 +114,6 @@ export declare function serializeProfileRevisionDiff(revision: Pick<ProfileRevis
153
114
  /** Remove exactly the declared text axes. Unknown future fields remain authority. */
154
115
  export declare function profileAuthority(profile: AgentProfile): AgentProfile;
155
116
  export declare function profileAuthorityDigest(profile: AgentProfile): string;
156
- export declare function projectKnowledgeDocuments(events: readonly ProfileKnowledgeEvent[]): ProfileKnowledgeDocument[];
157
- export declare function addProfileKnowledgeDocument(input: {
158
- store: ProfileRevisionStore;
159
- workspaceId: string;
160
- profileId: string;
161
- documentId: string;
162
- content: string;
163
- actorRole: 'owner' | 'manager' | 'member' | 'viewer';
164
- id?: string;
165
- now?: number;
166
- }): Promise<ProfileKnowledgeEvent>;
167
- export declare function removeProfileKnowledgeDocument(input: {
168
- store: ProfileRevisionStore;
169
- workspaceId: string;
170
- profileId: string;
171
- documentId: string;
172
- actorRole: 'owner' | 'manager' | 'member' | 'viewer';
173
- id?: string;
174
- now?: number;
175
- }): Promise<ProfileKnowledgeEvent>;
176
117
  /** The per-turn text overlay is validated without admitting tools, model, MCP or resources. */
177
118
  export declare function bindProfileText(consentedBaseline: AgentProfile, selected: AgentProfile): AgentProfile;
178
119
  export interface ProposeRevisionInput {
@@ -221,8 +162,6 @@ export declare function promoteRevision(input: {
221
162
  /** Verified by the product's consent route; required when authority changes. */
222
163
  verifyConsent?: (revision: ProfileRevision) => Promise<boolean>;
223
164
  }): Promise<ProfileRevision>;
224
- /** A source identity joins the command hash without entering the receipt row. */
225
- export declare function profileSwitchInputHashFromContentHash(contentHash: string, identityContext?: string): string;
226
165
  export declare function profileSwitchInputHash(content: string, identityContext?: string): string;
227
166
  export interface SwitchableProfile {
228
167
  id: string;
@@ -258,16 +197,6 @@ export interface SwitchProfileInput {
258
197
  export declare function switchProfile(input: SwitchProfileInput): Promise<ProfileSwitchReceipt>;
259
198
  /** Call before dispatching a chat message; a recognized command is never sent to the model. */
260
199
  export declare function handleProfileSwitchText(input: Omit<SwitchProfileInput, 'choice'>): Promise<ProfileSwitchReceipt | null>;
261
- /** One-step rollback moves this member/channel to its previous immutable revision. */
262
- export declare function rollbackProfileBinding(input: {
263
- store: ProfileRevisionStore;
264
- key: ProfileBindingKey;
265
- messageId: string;
266
- conversationId?: string;
267
- actorRole: 'owner' | 'manager' | 'member' | 'viewer';
268
- canSelect: (profileId: string) => Promise<boolean>;
269
- prepareAuthority: SwitchProfileInput['prepareAuthority'];
270
- }): Promise<ProfileSwitchReceipt>;
271
200
  /**
272
201
  * An opaque token for what `readProfileAdmission` read for one message. It carries no data: the values
273
202
  * live in this module, cloned when read, so a caller can neither build a token nor change what it stands
@@ -312,17 +241,6 @@ export declare function admitProfileTurn(input: {
312
241
  * Each token admits once: after a failed admit, read again before retrying. */
313
242
  read?: ProfileAdmissionRead;
314
243
  }): Promise<ProfileTurnPin>;
315
- declare const textChangeSchema: z.ZodObject<{
316
- name: z.ZodOptional<z.ZodString>;
317
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
318
- systemPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
319
- instructions: z.ZodOptional<z.ZodArray<z.ZodString>>;
320
- knowledgeText: z.ZodOptional<z.ZodString>;
321
- }, z.core.$strict>;
322
- export declare function profileTextChange(revision: ProfileRevision, changes: z.infer<typeof textChangeSchema>): {
323
- profile: AgentProfile;
324
- knowledgeText: string;
325
- };
326
244
  export interface ProfileToolTurn {
327
245
  workspaceId: string;
328
246
  profileId: string;
@@ -1,15 +1,11 @@
1
1
  import {
2
2
  PERMITTED_SELF_MOUNT_DIMENSIONS,
3
- PROFILE_CHANGE_POLICY,
4
3
  PROFILE_MEMORY_PREFIX,
5
4
  ProfileAccessError,
6
5
  ProfileConflictError,
7
- addProfileKnowledgeDocument,
8
6
  admitProfileTurn,
9
7
  bindProfileText,
10
- createDrizzleSelfMountStorage,
11
8
  createInMemorySelfMountStorage,
12
- createKVSelfMountStorage,
13
9
  createMountProfileChangeTool,
14
10
  createProductSelfMount,
15
11
  createTextProfile,
@@ -19,19 +15,13 @@ import {
19
15
  profileAuthority,
20
16
  profileAuthorityDigest,
21
17
  profileSwitchInputHash,
22
- profileSwitchInputHashFromContentHash,
23
- profileTextChange,
24
18
  profileTools,
25
- projectKnowledgeDocuments,
26
19
  promoteRevision,
27
20
  proposeRevision,
28
21
  readProfileAdmission,
29
- removeProfileKnowledgeDocument,
30
- rollbackProfileBinding,
31
- selfMountTable,
32
22
  serializeProfileRevisionDiff,
33
23
  switchProfile
34
- } from "../chunk-J2BBYVGF.js";
24
+ } from "../chunk-MRZP65DZ.js";
35
25
  import {
36
26
  normalizeProfileName,
37
27
  parseProfileSwitch
@@ -41,16 +31,12 @@ import "../chunk-UGWQLQDS.js";
41
31
  import "../chunk-WSQFNMIA.js";
42
32
  export {
43
33
  PERMITTED_SELF_MOUNT_DIMENSIONS,
44
- PROFILE_CHANGE_POLICY,
45
34
  PROFILE_MEMORY_PREFIX,
46
35
  ProfileAccessError,
47
36
  ProfileConflictError,
48
- addProfileKnowledgeDocument,
49
37
  admitProfileTurn,
50
38
  bindProfileText,
51
- createDrizzleSelfMountStorage,
52
39
  createInMemorySelfMountStorage,
53
- createKVSelfMountStorage,
54
40
  createMountProfileChangeTool,
55
41
  createProductSelfMount,
56
42
  createTextProfile,
@@ -62,16 +48,10 @@ export {
62
48
  profileAuthority,
63
49
  profileAuthorityDigest,
64
50
  profileSwitchInputHash,
65
- profileSwitchInputHashFromContentHash,
66
- profileTextChange,
67
51
  profileTools,
68
- projectKnowledgeDocuments,
69
52
  promoteRevision,
70
53
  proposeRevision,
71
54
  readProfileAdmission,
72
- removeProfileKnowledgeDocument,
73
- rollbackProfileBinding,
74
- selfMountTable,
75
55
  serializeProfileRevisionDiff,
76
56
  switchProfile
77
57
  };
@@ -78,61 +78,6 @@ export declare function createMountProfileChangeTool(deps: MountProfileChangeDep
78
78
  /** Any drizzle database instance (structural — the adapters only use
79
79
  * select/insert with the standard builder chain). */
80
80
  type DrizzleLike = any;
81
- /** Create (or use) the standard self-mount table in a drizzle/D1 database. */
82
- export declare function selfMountTable(tableName: string): import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
83
- name: string;
84
- schema: undefined;
85
- columns: {
86
- scope: import("drizzle-orm/sqlite-core").SQLiteColumn<{
87
- name: "scope";
88
- tableName: string;
89
- dataType: "string";
90
- columnType: "SQLiteText";
91
- data: string;
92
- driverParam: string;
93
- notNull: true;
94
- hasDefault: false;
95
- isPrimaryKey: true;
96
- isAutoincrement: false;
97
- hasRuntimeDefault: false;
98
- enumValues: [string, ...string[]];
99
- baseColumn: never;
100
- identity: undefined;
101
- generated: undefined;
102
- }, {}, {
103
- length: number | undefined;
104
- }>;
105
- mounted: import("drizzle-orm/sqlite-core").SQLiteColumn<{
106
- name: "mounted";
107
- tableName: string;
108
- dataType: "string";
109
- columnType: "SQLiteText";
110
- data: string;
111
- driverParam: string;
112
- notNull: true;
113
- hasDefault: false;
114
- isPrimaryKey: false;
115
- isAutoincrement: false;
116
- hasRuntimeDefault: false;
117
- enumValues: [string, ...string[]];
118
- baseColumn: never;
119
- identity: undefined;
120
- generated: undefined;
121
- }, {}, {
122
- length: number | undefined;
123
- }>;
124
- };
125
- dialect: 'sqlite';
126
- }>;
127
- /** A drizzle-backed SelfMountStorage against any table with the standard
128
- * shape (scope primary key + mounted JSON text column). Works with the
129
- * tables every product creates via {@link selfMountTable}. */
130
- export declare function createDrizzleSelfMountStorage(db: DrizzleLike, table: ReturnType<typeof selfMountTable>, baseline: string): SelfMountStorage;
131
- /** A KV-backed SelfMountStorage (Cloudflare KV, any namespace). */
132
- export declare function createKVSelfMountStorage(kv: {
133
- get(key: string): Promise<string | null>;
134
- put(key: string, value: string): Promise<void>;
135
- }, prefix: string, baseline: string): SelfMountStorage;
136
81
  /** The one-call product wiring: catalog + storage + baseline + cap. */
137
82
  export interface ProductSelfMountConfig {
138
83
  /** The product's skill catalog (id + description per skill). */
@@ -5,4 +5,4 @@
5
5
  * Nothing domain-specific lives here: the message text and the decision to
6
6
  * alert are the caller's, this owns delivery and the honest verdict about it.
7
7
  */
8
- export { checkSlackCredential, postSlackAlert, type SlackAlertFailure, type SlackAlertOptions, type SlackAlertOutcome, type SlackCredentialCheckOptions, type SlackCredentialVerdict, type SlackFailureReason, } from './slack';
8
+ export { postSlackAlert, type SlackAlertFailure, type SlackAlertOptions, type SlackAlertOutcome, type SlackFailureReason, } from './slack';
@@ -1,9 +1,7 @@
1
1
  import {
2
- checkSlackCredential,
3
2
  postSlackAlert
4
- } from "../chunk-F2VX6TTJ.js";
3
+ } from "../chunk-JRCZHDRG.js";
5
4
  export {
6
- checkSlackCredential,
7
5
  postSlackAlert
8
6
  };
9
7
  //# sourceMappingURL=index.js.map
@@ -1,57 +1,11 @@
1
1
  /**
2
- * `/alerting` — post an operational alert to Slack, and say honestly when it
3
- * did not arrive.
2
+ * Post operational alerts to Slack with an explicit delivery verdict.
4
3
  *
5
- * WHY THIS EXISTS: on 2026-08-06 an audit of every Slack credential the org
6
- * held found three of four dead — the fleet incoming webhook 404ing
7
- * (`no_service`), a second company webhook likewise, and the bot token
8
- * answering `account_inactive`. One ops webhook was still live. Nobody knew
9
- * which was which until each was tested by hand, and that is the actual
10
- * problem: the credentials were indistinguishable from where the code stood.
11
- *
12
- * This failure has already been paid for once, with numbers: in
13
- * `agent-container`, a revoked webhook let the CI healthcheck sit dead for
14
- * 18 days — 2,567 consecutive failures, 27 successes, zero alerts — because
15
- * fifteen call sites across six workflows posted with no body inspection and
16
- * then asserted delivery. That repo fixed the reporting (its `post-slack.sh`
17
- * confirms 2xx AND Slack's literal `ok` body, and fails closed otherwise) and
18
- * that half of the lesson is theirs, adopted here.
19
- *
20
- * What their fix cannot do, and this module can, is answer the question BEFORE
21
- * an alert needs to fire. A fail-closed post still only discovers a dead
22
- * credential at the moment a page is lost. That is the second half.
23
- *
24
- * Two design consequences, and they are the whole module:
25
- *
26
- * 1. **A bot token and `chat.postMessage` is the preferred transport; an
27
- * incoming webhook is supported because one is usually what you already
28
- * have.** A token reaches every channel (a webhook is bolted to one), is
29
- * revocable and rotatable in place, and — the part that matters — is
30
- * VERIFIABLE: `auth.test` answers whether the credential is alive without
31
- * posting anything, which is what lets `/preflight` fail a deploy on a dead
32
- * alerting channel instead of discovering it during an incident. A webhook
33
- * can only be tested by posting to it, which is why the three dead
34
- * credentials above went unnoticed. A token is never fallen back FROM: if
35
- * one is configured and dead, delivering over a webhook instead would hide
36
- * the very condition worth reporting.
37
- *
38
- * 2. **Slack answers `ok:false` under HTTP 200.** `invalid_auth`,
39
- * `channel_not_found` and `not_in_channel` all arrive as a successful
40
- * response with a failure inside it, so a status check reads a dead channel
41
- * as a delivered page. The body is always parsed, and the outcome
42
- * distinguishes a MISSING credential (configuration absent — not an
43
- * incident) from a DEAD one (the alerting channel itself is broken — the
44
- * loudest thing this module can report). A summary that calls those two the
45
- * same thing is the defect wearing a different hat.
46
- *
47
- * The caller decides what to do with a non-delivery; this module never throws
48
- * on one, because an alerting path that can take down the thing it reports on
49
- * is worse than the outage it was watching for. It is also never the only
50
- * channel: a durable record (an issue, an audit row) is the caller's job, and
51
- * that is what survives the credential going dead again.
52
- *
53
- * Server-only: holds a bot token. This subpath must never reach a browser
54
- * bundle.
4
+ * Slack can return ok:false under HTTP 200, and revoked webhooks can return
5
+ * no_service. Inspect both status and body. A configured bot token remains
6
+ * authoritative: falling back to a webhook would hide a broken token.
7
+ * Transient failures retry within the caller's bound; credential and channel
8
+ * failures do not. The caller owns escalation and durable incident records.
55
9
  */
56
10
  /**
57
11
  * Why an alert did not reach Slack. The split is by what a human must DO about
@@ -147,30 +101,3 @@ export interface SlackAlertOptions {
147
101
  * written for.
148
102
  */
149
103
  export declare function postSlackAlert(options: SlackAlertOptions): Promise<SlackAlertOutcome>;
150
- /** Define configuration options for verifying that a Slack bot token is live */
151
- export interface SlackCredentialCheckOptions {
152
- token: string | undefined;
153
- /** Per-request deadline. Default 10s. */
154
- timeoutMs?: number;
155
- /** Injection seam for tests; defaults to global `fetch`. */
156
- fetchImpl?: typeof fetch;
157
- }
158
- /** What `checkSlackCredential` concluded. `team`/`botId` are present only when live. */
159
- export type SlackCredentialVerdict = {
160
- live: true;
161
- team: string;
162
- botId: string;
163
- } | {
164
- live: false;
165
- reason: SlackFailureReason;
166
- detail: string;
167
- };
168
- /**
169
- * Ask Slack whether the bot token is alive, WITHOUT posting anything.
170
- *
171
- * This is the check that was missing. An incoming webhook offers no equivalent
172
- * — the only way to test one is to post to it — which is how a revoked webhook
173
- * sat in a repo secret for months looking configured. Wire it into `/preflight`
174
- * so a dead alerting channel fails a deploy rather than an incident.
175
- */
176
- export declare function checkSlackCredential(options: SlackCredentialCheckOptions): Promise<SlackCredentialVerdict>;