sanoma 0.11.21 → 0.11.22

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 (417) hide show
  1. package/README.md +2 -0
  2. package/app/README.md +2 -2
  3. package/app/dist/api.d.ts +16 -2
  4. package/app/dist/api.js +1 -1
  5. package/app/dist/client/assets/ArrowDown.es-BOfBLlTP.js +1 -0
  6. package/app/dist/client/assets/CaretDown.es-D12mWb2j.js +1 -0
  7. package/app/dist/client/assets/CatchBoundary-Cb__yx-s.js +1 -0
  8. package/app/dist/client/assets/Copy.es-CvUujKw7.js +1 -0
  9. package/app/dist/client/assets/DialogTitle-Dz3loDe5.js +1 -0
  10. package/app/dist/client/assets/FloppyDisk.es-CDyDob8p.js +1 -0
  11. package/app/dist/client/assets/Globe.es-C1pgZCGM.js +1 -0
  12. package/app/dist/client/assets/MagnifyingGlass.es-CZ3i6pz0.js +1 -0
  13. package/app/dist/client/assets/Play.es-DGJ1CGhp.js +1 -0
  14. package/app/dist/client/assets/Plug.es-BPhGL8MK.js +1 -0
  15. package/app/dist/client/assets/Plus.es-i3Vaa2WW.js +1 -0
  16. package/app/dist/client/assets/Separator-Cu9cQDBN.js +1 -0
  17. package/app/dist/client/assets/X.es-B7rq0E_-.js +1 -0
  18. package/app/dist/client/assets/_id-C4bMZ73g.js +1 -0
  19. package/app/dist/client/assets/_id-CUaJYD_3.js +1 -0
  20. package/app/dist/client/assets/_id-DRetx-BJ.js +1 -0
  21. package/app/dist/client/assets/_id-mm7bTIIl.js +2 -0
  22. package/app/dist/client/assets/_id-tN6nFEpD.js +1 -0
  23. package/app/dist/client/assets/_name-BOi2qVWk.js +1 -0
  24. package/app/dist/client/assets/_name-CBI1waPs.js +4 -0
  25. package/app/dist/client/assets/_name-CrsiaFT6.js +1 -0
  26. package/app/dist/client/assets/_name-TzQfjXo8.js +1 -0
  27. package/app/dist/client/assets/_vendor-C3TGvx4w.js +1 -0
  28. package/app/dist/client/assets/_vendor-sHwAlFSF.js +1 -0
  29. package/app/dist/client/assets/app-chrome-_ahvxx73.js +5 -0
  30. package/app/dist/client/assets/app-scope-Bht7PIkQ.js +1 -0
  31. package/app/dist/client/assets/approval-BFFM_yEl.js +1 -0
  32. package/app/dist/client/assets/apps-CpdXjc1j.js +1 -0
  33. package/app/dist/client/assets/button-D5kdANef.js +1 -0
  34. package/app/dist/client/assets/change-glance-CdkbSGxZ.js +1 -0
  35. package/app/dist/client/assets/changes-C_K2tazO.js +1 -0
  36. package/app/dist/client/assets/changes-DFcdyDL_.js +1 -0
  37. package/app/dist/client/assets/chat-Djbdaxw8.js +14 -0
  38. package/app/dist/client/assets/chat-button-DNusaP5n.js +1 -0
  39. package/app/dist/client/assets/chat-prompt-z0XJPDtH.js +1 -0
  40. package/app/dist/client/assets/{code-BVYaiQEr.js → code-CT4-YDKq.js} +2 -2
  41. package/app/dist/client/assets/common-DHOhx6Zn.js +3 -0
  42. package/app/dist/client/assets/composite-9cNA7N0P.js +1 -0
  43. package/app/dist/client/assets/connect-DHUdrwwW.js +1 -0
  44. package/app/dist/client/assets/connections-fGNKJl3J.js +5 -0
  45. package/app/dist/client/assets/connectors-CuS1paNm.js +1 -0
  46. package/app/dist/client/assets/credentials-Cb7Lnfxk.js +1 -0
  47. package/app/dist/client/assets/css-BGIxQoYs.js +1 -0
  48. package/app/dist/client/assets/css-DgaLhXQH.js +1 -0
  49. package/app/dist/client/assets/data-DZ-ufRXn.js +1 -0
  50. package/app/dist/client/assets/decidable-OFQBEcco.js +1 -0
  51. package/app/dist/client/assets/declaration-form-D2ZMEVC6.js +1 -0
  52. package/app/dist/client/assets/dialog-B5pmfCdJ.js +1 -0
  53. package/app/dist/client/assets/diff-woXpYk--.js +1 -0
  54. package/app/dist/client/assets/engine-CBuzy-Ik.js +1 -0
  55. package/app/dist/client/assets/existing-BaPrTDs8.js +1 -0
  56. package/app/dist/client/assets/fence-CMhOJv7H.js +157 -0
  57. package/app/dist/client/assets/github-dark-C-LZuMrd.js +1 -0
  58. package/app/dist/client/assets/github-light-EUqPIrTm.js +1 -0
  59. package/app/dist/client/assets/graph-B5TYhcqD.js +7 -0
  60. package/app/dist/client/assets/grid-diff-wo26YSgM.js +1 -0
  61. package/app/dist/client/assets/held-card-HrJ6QpRY.js +1 -0
  62. package/app/dist/client/assets/highlighted-body-JLMTFACH-CjeaSnZq.js +1 -0
  63. package/app/dist/client/assets/hosting-Beoi95m6.js +1 -0
  64. package/app/dist/client/assets/html-BHZv6uqE.js +1 -0
  65. package/app/dist/client/assets/import-8WDFPfe6.js +1 -0
  66. package/app/dist/client/assets/inbox-B9hsZPsC.js +1 -0
  67. package/app/dist/client/assets/inbox-DM2npRZI.js +1 -0
  68. package/app/dist/client/assets/index-CHKfukjt.js +10 -0
  69. package/app/dist/client/assets/item-B4QRpXse.js +1 -0
  70. package/app/dist/client/assets/javascript-BzbQS41l.js +1 -0
  71. package/app/dist/client/assets/javascript-CpIGwZ_Y.js +1 -0
  72. package/app/dist/client/assets/json-qhed-kSA.js +1 -0
  73. package/app/dist/client/assets/jsx-Bz0zcwM4.js +1 -0
  74. package/app/dist/client/assets/kit-n8CE0xEs.js +1 -0
  75. package/app/dist/client/assets/lazyRouteComponent-DezoGNoN.js +1 -0
  76. package/app/dist/client/assets/markdown-BYOwaDjH.js +1 -0
  77. package/app/dist/client/assets/markdown-DS_nKu0s.js +164 -0
  78. package/app/dist/client/assets/mermaid-WFAXDIZX-DQBKIf0O.js +1 -0
  79. package/app/dist/client/assets/motion-D6e1hqz4.js +1 -0
  80. package/app/dist/client/assets/people-BiiQfYJ8.js +1 -0
  81. package/app/dist/client/assets/permissions-BmKxEfBi.js +2 -0
  82. package/app/dist/client/assets/permissions-grid-B755bq5J.js +1 -0
  83. package/app/dist/client/assets/preload-helper-BLdHbfdN.js +1 -0
  84. package/app/dist/client/assets/python-gzcpVVnB.js +1 -0
  85. package/app/dist/client/assets/queries-DGlVu9wp.js +57 -0
  86. package/app/dist/client/assets/react-dom-D6fTz1bt.js +1 -0
  87. package/app/dist/client/assets/route-BSe5L2p4.js +1 -0
  88. package/app/dist/client/assets/route-Ds87ixtB.js +1 -0
  89. package/app/dist/client/assets/runs-table-DMiD4HeY.js +1 -0
  90. package/app/dist/client/assets/scenario-DrgmfuFx.js +1 -0
  91. package/app/dist/client/assets/scenario-graph-Blv2e1PV.js +1 -0
  92. package/app/dist/client/assets/separator-Bdtc7rou.js +1 -0
  93. package/app/dist/client/assets/{sheet-BYL9XU5s.js → sheet-BKUFUA1l.js} +1 -1
  94. package/app/dist/client/assets/shellscript-CLZ0U2zV.js +1 -0
  95. package/app/dist/client/assets/site-icon-1Mcc1UIb.js +1 -0
  96. package/app/dist/client/assets/sites.index-K4mrFsLr.js +1 -0
  97. package/app/dist/client/assets/spinner-XaRXIj9W.js +1 -0
  98. package/app/dist/client/assets/sql-CEbI0hMM.js +1 -0
  99. package/app/dist/client/assets/start-form-CJ6VmNPY.js +1 -0
  100. package/app/dist/client/assets/store-BT988jIX.js +1 -0
  101. package/app/dist/client/assets/style-CTcG_5y0.css +2 -0
  102. package/app/dist/client/assets/table-B81tv0LG.js +1 -0
  103. package/app/dist/client/assets/textarea-CRpYU-qx.js +1 -0
  104. package/app/dist/client/assets/tsx-udAQXfEw.js +1 -0
  105. package/app/dist/client/assets/typescript-bsJCZSQ-.js +1 -0
  106. package/app/dist/client/assets/{useLoaderData-BQd5yMlA.js → useLoaderData-BsksXf-p.js} +1 -1
  107. package/app/dist/client/assets/useOpenInteractionType-UhakpAXY.js +1 -0
  108. package/app/dist/client/assets/useRegisterFieldControl-DIkKUJkh.js +1 -0
  109. package/app/dist/client/assets/useValueChanged-DBqn456b.js +1 -0
  110. package/app/dist/client/assets/utils-BRvE9-Fo.js +1 -0
  111. package/app/dist/client/assets/who-are-you-DUoVqvfP.js +1 -0
  112. package/app/dist/client/assets/workflow-lQtyyxKx.js +1 -0
  113. package/app/dist/client/assets/workflow-view-hk_RU9WF.js +1 -0
  114. package/app/dist/client/assets/workflows-DFB7lzzN.js +1 -0
  115. package/app/dist/client/assets/yaml-rwi0_p6S.js +1 -0
  116. package/app/dist/index.d.ts +4 -4
  117. package/app/dist/lib/chat.d.ts +64 -19
  118. package/app/dist/lib/chat.js +54 -18
  119. package/app/dist/lib/chat.js.map +1 -1
  120. package/app/dist/server/assets/{_id-wuJIq2ZZ.js → _id--MWJXj9R.js} +2 -2
  121. package/app/dist/server/assets/{_id-ce1EGp7Y.js → _id-BEGe86NW.js} +2 -2
  122. package/app/dist/server/assets/{_id-BViXAagq.js → _id-CbO7Ok0w.js} +12 -10
  123. package/app/dist/server/assets/{_id-Dt9tTylX.js → _id-DwdpIYKk.js} +2 -2
  124. package/app/dist/server/assets/{_id-wB8khGTz.js → _id-fK_nPFHK.js} +6 -6
  125. package/app/dist/server/assets/{_name-D_-MhjNf.js → _name-BzD9TxVC.js} +17 -17
  126. package/app/dist/server/assets/{_name-BqFwnyf7.js → _name-ClgMsl5m.js} +2 -2
  127. package/app/dist/server/assets/{_name-BGagGBjX.js → _name-DdFVsjcj.js} +7 -7
  128. package/app/dist/server/assets/{_name-DntbHE-b.js → _name-Dyh4G9Oy.js} +10 -11
  129. package/app/dist/server/assets/{_tanstack-start-manifest_v-BljuBM-G.js → _tanstack-start-manifest_v-DUtnBg7y.js} +101 -91
  130. package/app/dist/server/assets/{_vendor-CNB03LWX.js → _vendor-DyeUY8kH.js} +8 -8
  131. package/app/dist/server/assets/{_vendor-CcEviOki.js → _vendor-W3KKSusM.js} +2 -2
  132. package/app/dist/server/assets/{actor-D6iA0pDg.js → actor-BlaOwG6A.js} +1 -1
  133. package/app/dist/server/assets/app-chrome-BJlxsc9y.js +2116 -0
  134. package/app/dist/server/assets/{app-scope-CXIgOFmi.js → app-scope-ASuhE3xI.js} +2 -2
  135. package/app/dist/server/assets/{apply-plan-ybBda6vQ.js → apply-plan-Djw1tNPD.js} +8 -7
  136. package/app/dist/server/assets/{approval-Su315ikC.js → approval-BjTnfr1U.js} +15 -13
  137. package/app/dist/server/assets/{apps-xwQAehch.js → apps-C28F9Y5C.js} +7 -7
  138. package/app/dist/server/assets/button-Xwx3rpQ0.js +43 -0
  139. package/app/dist/server/assets/change-glance-Bc4htVPy.js +54 -0
  140. package/app/dist/server/assets/{change-glance-CpArIbGS.js → changes-B5P8BJSf.js} +2 -54
  141. package/app/dist/server/assets/{changes-Bc_OiDBD.js → changes-tbeMKxjY.js} +8 -7
  142. package/app/dist/server/assets/{chat-DMN_hoKm.js → chat-BNMeLc9V.js} +108 -30
  143. package/app/dist/server/assets/{chat-button-LtA80MoR.js → chat-button-SluTWK8R.js} +2 -2
  144. package/app/dist/server/assets/{code-COyt8L-n.js → code-hVpCkmAZ.js} +1 -1
  145. package/app/dist/server/assets/{common-CWHLj7KV.js → common-DpZcJvCy.js} +26 -24
  146. package/app/dist/server/assets/{connect-BpPiu5s6.js → connect-Cljunav2.js} +11 -10
  147. package/app/dist/server/assets/{connections-DBgb1bvX.js → connections-Cfz5LMy5.js} +12 -11
  148. package/app/dist/server/assets/{connectors-5a5_SlHO.js → connectors-tt9BF9L1.js} +8 -8
  149. package/app/dist/server/assets/{credentials-ud_Y68hx.js → credentials-CYUFAVU8.js} +10 -9
  150. package/app/dist/server/assets/{data-aEdhwcqy.js → data-D91ZZ5St.js} +7 -7
  151. package/app/dist/server/assets/{declaration-form-Dfg1yNuY.js → declaration-form-BzISD6gw.js} +7 -6
  152. package/app/dist/server/assets/{dialog-BGjiw3Dx.js → dialog-T0bzlKzs.js} +2 -2
  153. package/app/dist/server/assets/{dropdown-menu-DAC3LWas.js → dropdown-menu-RGvPORm4.js} +1 -1
  154. package/app/dist/server/assets/{existing-B4d4NrC8.js → existing-BZym0xE2.js} +8 -7
  155. package/app/dist/server/assets/fence-Br7MPP41.js +130 -0
  156. package/app/dist/server/assets/{field-C0Xx_90s.js → field-DFpkT1id.js} +1 -1
  157. package/app/dist/server/assets/{functions-BvFYzabD.js → functions-sf07C1qn.js} +2 -2
  158. package/app/dist/server/assets/{graph-qYOdoz2s.js → graph-C1Cl7owl.js} +5 -5
  159. package/app/dist/server/assets/{grid-diff-jTvp-8wS.js → grid-diff-D5bQDKl2.js} +1 -1
  160. package/app/dist/server/assets/held-card-CDewk4rs.js +75 -0
  161. package/app/dist/server/assets/{hosting-bbn9UvDc.js → hosting-O-l2L0ec.js} +16 -14
  162. package/app/dist/server/assets/{import-DIwvzHb6.js → import-qvpEIYFx.js} +8 -8
  163. package/app/dist/server/assets/{inbox-D6R6sWBB.js → inbox-BcJxCIPm.js} +8 -8
  164. package/app/dist/server/assets/{inbox-Dj-5FleF.js → inbox-BvpSeC3M.js} +2 -2
  165. package/app/dist/server/assets/{input-D63gF3G2.js → input-CF-vX8Xp.js} +1 -1
  166. package/app/dist/server/assets/{item-BDSXoEr_.js → item-LBDNja5f.js} +1 -1
  167. package/app/dist/server/assets/{kit-D6EulwBe.js → kit-DlT_THim.js} +2 -2
  168. package/app/dist/server/assets/markdown-BExKjghi.js +116 -0
  169. package/app/dist/server/assets/{middleware-B8JRLyxx.js → middleware-B6RPW0fH.js} +1 -1
  170. package/app/dist/server/assets/{people-CkU_AxrV.js → people-C8VXQrKg.js} +13 -12
  171. package/app/dist/server/assets/{permissions-BfMcQqQb.js → permissions-COAiOoCB.js} +9 -8
  172. package/app/dist/server/assets/{permissions-grid-DWP9FAAS.js → permissions-grid-CcYUiqhD.js} +4 -4
  173. package/app/dist/server/assets/{button-f9Lc8qLl.js → queries-DJcZ4mzA.js} +3 -45
  174. package/app/dist/server/assets/{route-BTT7nMJq.js → route-DOqitvxL.js} +2 -2
  175. package/app/dist/server/assets/{route-CF_8jQYY.js → route-aa9MThMA.js} +2 -2
  176. package/app/dist/server/assets/{router-BvYtxrVN.js → router-Co6gRNI1.js} +80 -46
  177. package/app/dist/server/assets/{runs-table-BBudn12Y.js → runs-table-BtGm2KOO.js} +6 -6
  178. package/app/dist/server/assets/{scenario-BXGTSTiP.js → scenario-DidUafqw.js} +5 -5
  179. package/app/dist/server/assets/{separator-8MZ7vR3f.js → separator-Cf98V8ie.js} +1 -1
  180. package/app/dist/server/assets/{sheet-5Cyp-4UW.js → sheet-DTOG7OHQ.js} +2 -2
  181. package/app/dist/server/assets/{sites.index-1l0BtgVf.js → sites.index-4TK8c0QC.js} +4 -4
  182. package/app/dist/server/assets/{spinner-C1ZW08lp.js → spinner-016IPVi-.js} +1 -1
  183. package/app/dist/server/assets/{start-CSU4irVK.js → start-VfVsXenI.js} +2 -2
  184. package/app/dist/server/assets/{start-form-DI60UOrc.js → start-form-CUeEdeP7.js} +10 -9
  185. package/app/dist/server/assets/{table-DtPk_h_5.js → table-y-dGlLx6.js} +1 -1
  186. package/app/dist/server/assets/{textarea-f0Ip5ed1.js → textarea-B02joDnr.js} +1 -1
  187. package/app/dist/server/assets/utils-CHesvfjo.js +138 -0
  188. package/app/dist/server/assets/{who-are-you-ZGyMnpVi.js → who-are-you-DW5qmIzp.js} +8 -7
  189. package/app/dist/server/assets/{workflow-Z99QWO42.js → workflow-BRu7ljgU.js} +5 -5
  190. package/app/dist/server/assets/{workflow-view-C8X8U11S.js → workflow-view-yF48p1lu.js} +14 -13
  191. package/app/dist/server/assets/{workflows-C0kJoGf1.js → workflows-DL-TJFLt.js} +13 -14
  192. package/app/dist/server/chat.d.ts +6 -1
  193. package/app/dist/server/chat.js +39 -20
  194. package/app/dist/server/chat.js.map +1 -1
  195. package/app/dist/server/server.js +48 -48
  196. package/app/dist/steps/agent/acp.d.ts +3 -97
  197. package/app/dist/steps/agent/acp.js +19 -49
  198. package/app/dist/steps/agent/acp.js.map +1 -1
  199. package/app/dist/steps/agent/checkout.d.ts +18 -1
  200. package/app/dist/steps/agent/checkout.js +17 -0
  201. package/app/dist/steps/agent/checkout.js.map +1 -1
  202. package/app/dist/steps/agent/harness.d.ts +2 -4
  203. package/app/dist/steps/agent/harness.js +45 -61
  204. package/app/dist/steps/agent/harness.js.map +1 -1
  205. package/app/dist/steps/agent/prompt.d.ts +1 -1
  206. package/app/dist/steps/agent/prompt.js +35 -14
  207. package/app/dist/steps/agent/prompt.js.map +1 -1
  208. package/app/dist/steps/agent/transcript.d.ts +10 -1
  209. package/app/dist/steps/agent/transcript.js +75 -2
  210. package/app/dist/steps/agent/transcript.js.map +1 -1
  211. package/app/dist/steps/agent/turn.d.ts +4 -6
  212. package/app/dist/steps/agent/turn.js +14 -16
  213. package/app/dist/steps/agent/turn.js.map +1 -1
  214. package/app/dist/stylesheet.json +1 -1
  215. package/app/src/api.ts +1 -1
  216. package/app/src/components/app-chrome.tsx +28 -13
  217. package/app/src/components/common.tsx +1 -24
  218. package/app/src/components/logo.tsx +25 -0
  219. package/app/src/components/shell/chat-parts.tsx +185 -126
  220. package/app/src/components/shell/chat-prompt.ts +6 -2
  221. package/app/src/components/shell/chat.tsx +154 -220
  222. package/app/src/components/shell/composer.tsx +140 -0
  223. package/app/src/components/shell/connect-agent.tsx +157 -0
  224. package/app/src/components/shell/engine-mark.tsx +9 -0
  225. package/app/src/components/shell/fence.tsx +25 -0
  226. package/app/src/components/shell/held-card.tsx +58 -0
  227. package/app/src/components/shell/markdown.tsx +152 -0
  228. package/app/src/components/shell/nav-user.tsx +11 -1
  229. package/app/src/components/shell/prefs.ts +9 -1
  230. package/app/src/components/shell/thread.tsx +174 -0
  231. package/app/src/components/ui/bubble.tsx +117 -0
  232. package/app/src/components/ui/code-block.tsx +235 -0
  233. package/app/src/components/ui/input-group.tsx +136 -0
  234. package/app/src/components/ui/marker.tsx +67 -0
  235. package/app/src/components/ui/message-scroller.tsx +117 -0
  236. package/app/src/components/ui/message.tsx +74 -0
  237. package/app/src/components/ui/trace.tsx +133 -0
  238. package/app/src/hooks/use-highlighted-code.ts +72 -0
  239. package/app/src/index.ts +4 -4
  240. package/app/src/lib/chat.ts +110 -22
  241. package/app/src/lib/cn-tables.ts +23 -23
  242. package/app/src/lib/highlighter.tsx +114 -0
  243. package/app/src/routes/__root.tsx +7 -4
  244. package/app/src/routes/connectors/index.tsx +1 -1
  245. package/app/src/routes/hosting/index.tsx +6 -9
  246. package/app/src/server/chat.ts +41 -19
  247. package/app/src/steps/agent/acp.ts +10 -80
  248. package/app/src/steps/agent/checkout.ts +30 -0
  249. package/app/src/steps/agent/harness.ts +53 -78
  250. package/app/src/steps/agent/prompt.ts +42 -14
  251. package/app/src/steps/agent/transcript.ts +90 -3
  252. package/app/src/steps/agent/turn.ts +18 -16
  253. package/app/src/worker/app.ts +6 -5
  254. package/dist/cli.js +18 -6
  255. package/dist/cli.js.map +1 -1
  256. package/dist/serve.js +1 -1
  257. package/dist/serve.js.map +1 -1
  258. package/dist/worker-port.d.ts +16 -2
  259. package/dist/worker-port.js +44 -5
  260. package/dist/worker-port.js.map +1 -1
  261. package/package.json +7 -3
  262. package/testing/README.md +3 -3
  263. package/testing/dist/build.d.ts +3 -3
  264. package/testing/dist/build.js +4 -4
  265. package/testing/dist/build.js.map +1 -1
  266. package/testing/dist/host.d.ts +34 -21
  267. package/testing/dist/host.js +135 -75
  268. package/testing/dist/host.js.map +1 -1
  269. package/workflows/CLOUD-IDENTITY.md +15 -20
  270. package/workflows/README.md +9 -7
  271. package/workflows/dist/client.d.ts +5 -3
  272. package/workflows/dist/client.js +4 -3
  273. package/workflows/dist/client.js.map +1 -1
  274. package/workflows/dist/cloud-identity.d.ts +5 -2
  275. package/workflows/dist/cloud-identity.js +7 -4
  276. package/workflows/dist/cloud-identity.js.map +1 -1
  277. package/workflows/dist/config.d.ts +7 -1
  278. package/workflows/dist/config.js +24 -1
  279. package/workflows/dist/config.js.map +1 -1
  280. package/workflows/dist/db/company.d.ts +1 -1
  281. package/workflows/dist/db/company.js +1 -1
  282. package/workflows/dist/db/identity.d.ts +2 -2
  283. package/workflows/dist/db/identity.js +2 -2
  284. package/workflows/dist/db/identity.js.map +1 -1
  285. package/workflows/dist/deadlines.d.ts +7 -2
  286. package/workflows/dist/deadlines.js +14 -5
  287. package/workflows/dist/deadlines.js.map +1 -1
  288. package/workflows/dist/describe.js +15 -3
  289. package/workflows/dist/describe.js.map +1 -1
  290. package/workflows/dist/description.d.ts +37 -2
  291. package/workflows/dist/description.js +22 -1
  292. package/workflows/dist/description.js.map +1 -1
  293. package/workflows/dist/host.d.ts +7 -6
  294. package/workflows/dist/host.js +1 -1
  295. package/workflows/dist/host.js.map +1 -1
  296. package/workflows/dist/identity-provisioning.d.ts +2 -5
  297. package/workflows/dist/identity-provisioning.js +16 -20
  298. package/workflows/dist/identity-provisioning.js.map +1 -1
  299. package/workflows/dist/index.d.ts +3 -3
  300. package/workflows/dist/index.js +1 -1
  301. package/workflows/dist/index.js.map +1 -1
  302. package/workflows/dist/op.d.ts +92 -1
  303. package/workflows/dist/op.js +19 -6
  304. package/workflows/dist/op.js.map +1 -1
  305. package/workflows/dist/renewal.d.ts +1 -1
  306. package/workflows/dist/renewal.js +1 -1
  307. package/workflows/dist/runtime-ops.d.ts +3 -4
  308. package/workflows/dist/runtime-ops.js +4 -4
  309. package/workflows/dist/runtime-ops.js.map +1 -1
  310. package/workflows/dist/schedules.d.ts +1 -1
  311. package/workflows/dist/schedules.js +1 -1
  312. package/workflows/dist/supervisor.d.ts +21 -18
  313. package/workflows/dist/supervisor.js +20 -22
  314. package/workflows/dist/supervisor.js.map +1 -1
  315. package/workflows/dist/vendor-info.d.ts +12 -3
  316. package/workflows/dist/vendor-info.js +20 -4
  317. package/workflows/dist/vendor-info.js.map +1 -1
  318. package/workflows/dist/worker.d.ts +11 -1
  319. package/workflows/dist/worker.js +9 -3
  320. package/workflows/dist/worker.js.map +1 -1
  321. package/workflows/src/client.ts +9 -6
  322. package/workflows/src/cloud-identity.ts +7 -4
  323. package/workflows/src/config.ts +36 -1
  324. package/workflows/src/db/company.ts +1 -1
  325. package/workflows/src/db/identity.ts +2 -2
  326. package/workflows/src/deadlines.ts +18 -8
  327. package/workflows/src/describe.ts +16 -3
  328. package/workflows/src/description.ts +25 -1
  329. package/workflows/src/host.ts +7 -6
  330. package/workflows/src/identity-provisioning.ts +19 -30
  331. package/workflows/src/index.ts +7 -1
  332. package/workflows/src/op.ts +104 -10
  333. package/workflows/src/renewal.ts +1 -1
  334. package/workflows/src/runtime-ops.ts +5 -5
  335. package/workflows/src/schedules.ts +1 -1
  336. package/workflows/src/supervisor.ts +40 -38
  337. package/workflows/src/vendor-info.ts +20 -5
  338. package/workflows/src/worker.ts +22 -5
  339. package/app/dist/client/assets/ArrowUp.es-DOgvoS0P.js +0 -1
  340. package/app/dist/client/assets/Copy.es-B0D5SwiQ.js +0 -1
  341. package/app/dist/client/assets/DialogTitle-BgjYK22C.js +0 -1
  342. package/app/dist/client/assets/FloppyDisk.es-DnuNe_a8.js +0 -1
  343. package/app/dist/client/assets/Globe.es-B6x2e4-a.js +0 -1
  344. package/app/dist/client/assets/MagnifyingGlass.es-DoNoHEhT.js +0 -1
  345. package/app/dist/client/assets/Play.es-BwXalGBh.js +0 -1
  346. package/app/dist/client/assets/Plug.es-CaZsN5P-.js +0 -1
  347. package/app/dist/client/assets/Plus.es-w9VPpTJB.js +0 -1
  348. package/app/dist/client/assets/Separator-BAhKFgSd.js +0 -1
  349. package/app/dist/client/assets/X.es-DKMYClf-.js +0 -1
  350. package/app/dist/client/assets/_id-BSRAaWtO.js +0 -1
  351. package/app/dist/client/assets/_id-BjDP-cPH.js +0 -1
  352. package/app/dist/client/assets/_id-BudM76zX.js +0 -1
  353. package/app/dist/client/assets/_id-C37U5bBa.js +0 -1
  354. package/app/dist/client/assets/_id-lmg24JVh.js +0 -2
  355. package/app/dist/client/assets/_name-CylqFo_t.js +0 -1
  356. package/app/dist/client/assets/_name-D8Gl8iwy.js +0 -4
  357. package/app/dist/client/assets/_name-DdPCU8pt.js +0 -1
  358. package/app/dist/client/assets/_name-TteWQXe0.js +0 -1
  359. package/app/dist/client/assets/_vendor-BLxW83yk.js +0 -1
  360. package/app/dist/client/assets/_vendor-Bq3uZU4-.js +0 -1
  361. package/app/dist/client/assets/app-chrome-H8uZ4dHI.js +0 -16
  362. package/app/dist/client/assets/app-scope-BeUW_8Qh.js +0 -1
  363. package/app/dist/client/assets/approval-DpgmTc63.js +0 -1
  364. package/app/dist/client/assets/apps-CoWzNm8M.js +0 -1
  365. package/app/dist/client/assets/change-glance-DbYcBT7H.js +0 -1
  366. package/app/dist/client/assets/changes-DIJvP7wQ.js +0 -1
  367. package/app/dist/client/assets/chat-button-BgpOfYh1.js +0 -1
  368. package/app/dist/client/assets/chat-prompt-hiawXcK0.js +0 -1
  369. package/app/dist/client/assets/common-Dw2i6XKZ.js +0 -3
  370. package/app/dist/client/assets/composite-D9GNDzFj.js +0 -1
  371. package/app/dist/client/assets/connect-CIq2KJTz.js +0 -1
  372. package/app/dist/client/assets/connections-iqd2XbWQ.js +0 -5
  373. package/app/dist/client/assets/connectors-rI8_D1n1.js +0 -1
  374. package/app/dist/client/assets/credentials-26vu6Fv5.js +0 -1
  375. package/app/dist/client/assets/data-sDMlKaLV.js +0 -1
  376. package/app/dist/client/assets/decidable-zcYI7bY8.js +0 -1
  377. package/app/dist/client/assets/declaration-form-BtSVvxhq.js +0 -1
  378. package/app/dist/client/assets/dialog-DskpUgkl.js +0 -1
  379. package/app/dist/client/assets/existing-BD3VgJ_8.js +0 -1
  380. package/app/dist/client/assets/graph-Prxl3c55.js +0 -7
  381. package/app/dist/client/assets/grid-diff-SMsvea6t.js +0 -1
  382. package/app/dist/client/assets/hosting-BBHUppH-.js +0 -1
  383. package/app/dist/client/assets/import-B92fd4Tl.js +0 -1
  384. package/app/dist/client/assets/inbox-57oGZtxE.js +0 -1
  385. package/app/dist/client/assets/inbox-B2AMNtk5.js +0 -1
  386. package/app/dist/client/assets/index-Bn3XeKy8.js +0 -10
  387. package/app/dist/client/assets/kit-BsK6VZTQ.js +0 -1
  388. package/app/dist/client/assets/lazyRouteComponent-Uri98HNq.js +0 -1
  389. package/app/dist/client/assets/motion-C8lNeYvK.js +0 -1
  390. package/app/dist/client/assets/people-ISOMYCTu.js +0 -1
  391. package/app/dist/client/assets/permissions-Cenat84K.js +0 -2
  392. package/app/dist/client/assets/permissions-grid-B2GtGwzv.js +0 -1
  393. package/app/dist/client/assets/route-BP1XwaTB.js +0 -1
  394. package/app/dist/client/assets/route-KVU6QgwJ.js +0 -1
  395. package/app/dist/client/assets/runs-table-35lNzKLn.js +0 -1
  396. package/app/dist/client/assets/scenario-DSwsavxS.js +0 -1
  397. package/app/dist/client/assets/scenario-graph-CAzWOtqV.js +0 -1
  398. package/app/dist/client/assets/separator-BlwkzEY0.js +0 -1
  399. package/app/dist/client/assets/site-icon-DZvOfBvU.js +0 -1
  400. package/app/dist/client/assets/sites.index-CcNo6N8u.js +0 -1
  401. package/app/dist/client/assets/spinner-BGy6LWIW.js +0 -1
  402. package/app/dist/client/assets/start-form-Bgo9I63s.js +0 -1
  403. package/app/dist/client/assets/store-BGu0d2Ld.js +0 -57
  404. package/app/dist/client/assets/style-CCDLLPgG.css +0 -2
  405. package/app/dist/client/assets/table-DjbI5VTn.js +0 -1
  406. package/app/dist/client/assets/textarea-DXO0eUdp.js +0 -1
  407. package/app/dist/client/assets/useOpenInteractionType-Bin8RjM5.js +0 -1
  408. package/app/dist/client/assets/useRegisterFieldControl-CQPTOU7Z.js +0 -1
  409. package/app/dist/client/assets/useValueChanged-DMkuvFZG.js +0 -1
  410. package/app/dist/client/assets/utils-CMsCvwYQ.js +0 -1
  411. package/app/dist/client/assets/who-are-you-Bt1WI3Cz.js +0 -1
  412. package/app/dist/client/assets/workflow-BJpO61A-.js +0 -1
  413. package/app/dist/client/assets/workflow-view-DP-UlRiH.js +0 -1
  414. package/app/dist/client/assets/workflows-BLCBgxbx.js +0 -1
  415. package/app/dist/server/assets/app-chrome-BYS81Vnx.js +0 -1410
  416. package/app/dist/server/assets/native-select-DLa-He0n.js +0 -37
  417. package/app/dist/server/assets/utils-wksS9pYh.js +0 -138
@@ -1,5 +1,5 @@
1
- import { C as LinkTab, w as LinkTabs } from "./common-CWHLj7KV.js";
2
- import { i as TableHead, o as TableRow } from "./table-DtPk_h_5.js";
1
+ import { C as LinkTab, w as LinkTabs } from "./common-DpZcJvCy.js";
2
+ import { i as TableHead, o as TableRow } from "./table-y-dGlLx6.js";
3
3
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
4
  // src/components/app-scope.tsx
5
5
  /**
@@ -1,10 +1,11 @@
1
- import { n as plural } from "./utils-wksS9pYh.js";
2
- import { mt as errorBodyOf } from "./middleware-B8JRLyxx.js";
3
- import { Jt as useServerFn, Kt as startRunFn, M as configQuery, b as appApi, ct as refreshWritten, p as RUNS_KEY, t as Button } from "./button-f9Lc8qLl.js";
4
- import { b as rebindWords, h as STEP_GROUPS, v as exportName, y as plannedRows } from "./chat-DMN_hoKm.js";
5
- import { L as ShortId, W as VendorLogo, j as Problems, u as Disclosure, z as SubsectionTitle } from "./common-CWHLj7KV.js";
6
- import { t as Spinner } from "./spinner-C1ZW08lp.js";
7
- import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DtPk_h_5.js";
1
+ import { n as plural } from "./utils-CHesvfjo.js";
2
+ import { mt as errorBodyOf } from "./middleware-B6RPW0fH.js";
3
+ import { A as configQuery, Kt as useServerFn, Wt as startRunFn, d as RUNS_KEY, ot as refreshWritten, v as appApi } from "./queries-DJcZ4mzA.js";
4
+ import { b as rebindWords, h as STEP_GROUPS, v as exportName, y as plannedRows } from "./chat-BNMeLc9V.js";
5
+ import { t as Button } from "./button-Xwx3rpQ0.js";
6
+ import { A as Problems, I as ShortId, R as SubsectionTitle, U as VendorLogo, u as Disclosure } from "./common-DpZcJvCy.js";
7
+ import { t as Spinner } from "./spinner-016IPVi-.js";
8
+ import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-y-dGlLx6.js";
8
9
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
9
10
  import { useMutation, useQueryClient, useSuspenseQuery } from "@tanstack/react-query";
10
11
  import { toast } from "sonner";
@@ -1,16 +1,18 @@
1
- import { n as plural } from "./utils-wksS9pYh.js";
2
- import { i as Facts, r as Fact, s as Notice } from "./kit-D6EulwBe.js";
3
- import { mt as errorBodyOf } from "./middleware-B8JRLyxx.js";
4
- import { Jt as useServerFn, M as configQuery, Rt as decideFn, dt as runQuery, et as opsById, p as RUNS_KEY, t as Button, ut as runLink } from "./button-f9Lc8qLl.js";
5
- import { g as asApplyPlan } from "./chat-DMN_hoKm.js";
6
- import { G as When, M as RequestedBy, O as OpName, S as LinkItem, d as Expandable, l as DecisionNote, u as Disclosure, y as ItemTime } from "./common-CWHLj7KV.js";
7
- import { t as Spinner } from "./spinner-C1ZW08lp.js";
8
- import { t as Textarea } from "./textarea-f0Ip5ed1.js";
9
- import { a as ItemGroup, i as ItemDescription, n as ItemActions, r as ItemContent, s as ItemTitle, t as Item } from "./item-BDSXoEr_.js";
10
- import { a as DialogFooter, i as DialogDescription, n as DialogClose, o as DialogHeader, r as DialogContent, s as DialogTitle, t as Dialog } from "./dialog-BGjiw3Dx.js";
11
- import { i as FieldError, o as FieldLabel, r as FieldDescription, t as Field } from "./field-C0Xx_90s.js";
12
- import { i as asChangeRef, t as ChangeGlance } from "./change-glance-CpArIbGS.js";
13
- import { t as ApplyPlanView } from "./apply-plan-ybBda6vQ.js";
1
+ import { n as plural } from "./utils-CHesvfjo.js";
2
+ import { i as Facts, r as Fact, s as Notice } from "./kit-DlT_THim.js";
3
+ import { mt as errorBodyOf } from "./middleware-B6RPW0fH.js";
4
+ import { A as configQuery, It as decideFn, Kt as useServerFn, Q as opsById, ct as runLink, d as RUNS_KEY, lt as runQuery } from "./queries-DJcZ4mzA.js";
5
+ import { g as asApplyPlan } from "./chat-BNMeLc9V.js";
6
+ import { t as Button } from "./button-Xwx3rpQ0.js";
7
+ import { D as OpName, S as LinkItem, W as When, d as Expandable, j as RequestedBy, l as DecisionNote, u as Disclosure, y as ItemTime } from "./common-DpZcJvCy.js";
8
+ import { t as Spinner } from "./spinner-016IPVi-.js";
9
+ import { a as ItemGroup, i as ItemDescription, n as ItemActions, r as ItemContent, s as ItemTitle, t as Item } from "./item-LBDNja5f.js";
10
+ import { t as Textarea } from "./textarea-B02joDnr.js";
11
+ import { n as asChangeRef } from "./changes-B5P8BJSf.js";
12
+ import { a as DialogFooter, i as DialogDescription, n as DialogClose, o as DialogHeader, r as DialogContent, s as DialogTitle, t as Dialog } from "./dialog-T0bzlKzs.js";
13
+ import { i as FieldError, o as FieldLabel, r as FieldDescription, t as Field } from "./field-DFpkT1id.js";
14
+ import { t as ApplyPlanView } from "./apply-plan-Djw1tNPD.js";
15
+ import { t as ChangeGlance } from "./change-glance-Bc4htVPy.js";
14
16
  import { useState } from "react";
15
17
  import { Link } from "@tanstack/react-router";
16
18
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -1,11 +1,11 @@
1
- import { n as plural } from "./utils-wksS9pYh.js";
2
- import { l as Region, o as Nothing, s as Notice, z as Badge } from "./kit-D6EulwBe.js";
3
- import { r as useActor } from "./actor-D6iA0pDg.js";
4
- import { C as availableAppsQuery, M as configQuery } from "./button-f9Lc8qLl.js";
5
- import { B as TierBadge, f as ExternalLink, n as AppBehind, s as CrumbHeader, tt as Skeleton, v as ItemHeading } from "./common-CWHLj7KV.js";
6
- import { a as ItemGroup, i as ItemDescription, n as ItemActions, r as ItemContent, t as Item } from "./item-BDSXoEr_.js";
1
+ import { n as plural } from "./utils-CHesvfjo.js";
2
+ import { l as Region, o as Nothing, s as Notice, z as Badge } from "./kit-DlT_THim.js";
3
+ import { r as useActor } from "./actor-BlaOwG6A.js";
4
+ import { A as configQuery, x as availableAppsQuery } from "./queries-DJcZ4mzA.js";
5
+ import { f as ExternalLink, n as AppBehind, s as CrumbHeader, tt as Skeleton, v as ItemHeading, z as TierBadge } from "./common-DpZcJvCy.js";
6
+ import { a as ItemGroup, i as ItemDescription, n as ItemActions, r as ItemContent, t as Item } from "./item-LBDNja5f.js";
7
7
  import { t as takeAppPrompt } from "./apps-Dbg2f5Lh.js";
8
- import { t as ChatButton } from "./chat-button-LtA80MoR.js";
8
+ import { t as ChatButton } from "./chat-button-SluTWK8R.js";
9
9
  import { Suspense } from "react";
10
10
  import { Link } from "@tanstack/react-router";
11
11
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -0,0 +1,43 @@
1
+ import { t as cn } from "./utils-CHesvfjo.js";
2
+ import { jsx } from "react/jsx-runtime";
3
+ import { cva } from "class-variance-authority";
4
+ import { Button } from "@base-ui/react/button";
5
+ // src/components/ui/button.tsx
6
+ var buttonVariants = cva("group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-xs font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
7
+ variants: {
8
+ variant: {
9
+ default: "bg-primary text-primary-foreground hover:bg-primary/80",
10
+ outline: "border-border bg-card hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
11
+ secondary: "bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",
12
+ ghost: "hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",
13
+ destructive: "bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",
14
+ link: "text-primary underline-offset-4 hover:underline"
15
+ },
16
+ size: {
17
+ default: "h-7 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
18
+ xs: "h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",
19
+ sm: "h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",
20
+ lg: "h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
21
+ icon: "size-7",
22
+ "icon-xs": "size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3",
23
+ "icon-sm": "size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg",
24
+ "icon-lg": "size-9"
25
+ }
26
+ },
27
+ defaultVariants: {
28
+ variant: "default",
29
+ size: "default"
30
+ }
31
+ });
32
+ function Button$1({ className, variant = "default", size = "default", ...props }) {
33
+ return /* @__PURE__ */ jsx(Button, {
34
+ "data-slot": "button",
35
+ className: cn(buttonVariants({
36
+ variant,
37
+ size,
38
+ className
39
+ })),
40
+ ...props
41
+ });
42
+ }
43
+ export { buttonVariants as n, Button$1 as t };
@@ -0,0 +1,54 @@
1
+ import { C as changeQuery, tt as permissionsQuery } from "./queries-DJcZ4mzA.js";
2
+ import { i as groupFiles, r as filesOf } from "./changes-B5P8BJSf.js";
3
+ import { a as diffGrids, o as diffSummary } from "./grid-diff-D5bQDKl2.js";
4
+ import { useMemo } from "react";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
+ import { useQuery } from "@tanstack/react-query";
7
+ // src/components/change-glance.tsx
8
+ /** A change's pull request on its host, "#12 ↗", in a new tab. */
9
+ function PullRequestLink({ pullRequest, onClick }) {
10
+ return /* @__PURE__ */ jsxs("a", {
11
+ href: pullRequest.url,
12
+ target: "_blank",
13
+ rel: "noreferrer",
14
+ onClick,
15
+ children: [
16
+ "#",
17
+ pullRequest.number,
18
+ " ",
19
+ /* @__PURE__ */ jsx("span", {
20
+ "aria-hidden": "true",
21
+ children: "↗"
22
+ })
23
+ ]
24
+ });
25
+ }
26
+ /**
27
+ * A change at a glance, in an approval's card (the Inbox's Publish): how many files of each kind
28
+ * it edits, from the approval's own facts, and, once the change and main's Permissions grid have
29
+ * been read in the browser, what it changes in the grid (`diffSummary`).
30
+ */
31
+ function ChangeGlance({ change }) {
32
+ const groups = groupFiles(filesOf(change.facts));
33
+ const { data: view } = useQuery({
34
+ ...changeQuery(change.change.id),
35
+ refetchInterval: false,
36
+ staleTime: 6e4
37
+ });
38
+ const { data: main } = useQuery(permissionsQuery());
39
+ const branch = view?.state.check?.grid;
40
+ const grid = useMemo(() => main && branch ? diffSummary(diffGrids(main, branch)) : [], [main, branch]);
41
+ return /* @__PURE__ */ jsxs("ul", {
42
+ "aria-label": "What the change edits",
43
+ className: "flex flex-wrap gap-x-3 gap-y-1 text-sm text-muted-foreground",
44
+ children: [groups.map(({ key, title, files }) => /* @__PURE__ */ jsxs("li", { children: [
45
+ title,
46
+ " ",
47
+ /* @__PURE__ */ jsx("span", {
48
+ className: "text-foreground tabular-nums",
49
+ children: files.length
50
+ })
51
+ ] }, key)), grid.length > 0 && /* @__PURE__ */ jsxs("li", { children: ["Who may do what: ", grid.join(" · ")] })]
52
+ });
53
+ }
54
+ export { PullRequestLink as n, ChangeGlance as t };
@@ -1,9 +1,4 @@
1
- import { T as changeQuery, rt as permissionsQuery } from "./button-f9Lc8qLl.js";
2
- import { _ as detailsObject } from "./chat-DMN_hoKm.js";
3
- import { a as diffGrids, o as diffSummary } from "./grid-diff-jTvp-8wS.js";
4
- import { useMemo } from "react";
5
- import { jsx, jsxs } from "react/jsx-runtime";
6
- import { useQuery } from "@tanstack/react-query";
1
+ import { _ as detailsObject } from "./chat-BNMeLc9V.js";
7
2
  // src/lib/changes.ts
8
3
  /** Who an approval waits for, as a sentence names them: a person's id, a group's name. */
9
4
  var approverName = (approver) => typeof approver === "string" ? approver : approver.group;
@@ -92,51 +87,4 @@ function asChangeRef(details) {
92
87
  "branch"
93
88
  ].every((key) => typeof change[key] === "string") && Array.isArray(facts?.touches) ? value : void 0;
94
89
  }
95
- // src/components/change-glance.tsx
96
- /** A change's pull request on its host, "#12 ↗", in a new tab. */
97
- function PullRequestLink({ pullRequest, onClick }) {
98
- return /* @__PURE__ */ jsxs("a", {
99
- href: pullRequest.url,
100
- target: "_blank",
101
- rel: "noreferrer",
102
- onClick,
103
- children: [
104
- "#",
105
- pullRequest.number,
106
- " ",
107
- /* @__PURE__ */ jsx("span", {
108
- "aria-hidden": "true",
109
- children: "↗"
110
- })
111
- ]
112
- });
113
- }
114
- /**
115
- * A change at a glance, in an approval's card (the Inbox's Publish): how many files of each kind
116
- * it edits, from the approval's own facts, and, once the change and main's Permissions grid have
117
- * been read in the browser, what it changes in the grid (`diffSummary`).
118
- */
119
- function ChangeGlance({ change }) {
120
- const groups = groupFiles(filesOf(change.facts));
121
- const { data: view } = useQuery({
122
- ...changeQuery(change.change.id),
123
- refetchInterval: false,
124
- staleTime: 6e4
125
- });
126
- const { data: main } = useQuery(permissionsQuery());
127
- const branch = view?.state.check?.grid;
128
- const grid = useMemo(() => main && branch ? diffSummary(diffGrids(main, branch)) : [], [main, branch]);
129
- return /* @__PURE__ */ jsxs("ul", {
130
- "aria-label": "What the change edits",
131
- className: "flex flex-wrap gap-x-3 gap-y-1 text-sm text-muted-foreground",
132
- children: [groups.map(({ key, title, files }) => /* @__PURE__ */ jsxs("li", { children: [
133
- title,
134
- " ",
135
- /* @__PURE__ */ jsx("span", {
136
- className: "text-foreground tabular-nums",
137
- children: files.length
138
- })
139
- ] }, key)), grid.length > 0 && /* @__PURE__ */ jsxs("li", { children: ["Who may do what: ", grid.join(" · ")] })]
140
- });
141
- }
142
- export { filesOf as a, phaseLabel as c, asChangeRef as i, ruleOf as l, PullRequestLink as n, groupFiles as o, approverName as r, isSettled as s, ChangeGlance as t };
90
+ export { isSettled as a, groupFiles as i, asChangeRef as n, phaseLabel as o, filesOf as r, ruleOf as s, approverName as t };
@@ -1,10 +1,11 @@
1
- import { k as Card, m as ToneBadge, o as Nothing, s as Notice, v as CHANGE_TONE } from "./kit-D6EulwBe.js";
2
- import { E as changesQuery } from "./button-f9Lc8qLl.js";
3
- import { C as LinkTab, G as When, s as CrumbHeader, w as LinkTabs } from "./common-CWHLj7KV.js";
4
- import { a as filesOf, c as phaseLabel, n as PullRequestLink } from "./change-glance-CpArIbGS.js";
5
- import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DtPk_h_5.js";
6
- import { w as Route } from "./router-BvYtxrVN.js";
7
- import { t as LinkRow } from "./runs-table-BBudn12Y.js";
1
+ import { k as Card, m as ToneBadge, o as Nothing, s as Notice, v as CHANGE_TONE } from "./kit-DlT_THim.js";
2
+ import { w as changesQuery } from "./queries-DJcZ4mzA.js";
3
+ import { C as LinkTab, W as When, s as CrumbHeader, w as LinkTabs } from "./common-DpZcJvCy.js";
4
+ import { o as phaseLabel, r as filesOf } from "./changes-B5P8BJSf.js";
5
+ import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-y-dGlLx6.js";
6
+ import { n as PullRequestLink } from "./change-glance-Bc4htVPy.js";
7
+ import { E as Route } from "./router-Co6gRNI1.js";
8
+ import { t as LinkRow } from "./runs-table-BtGm2KOO.js";
8
9
  import { Link } from "@tanstack/react-router";
9
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
10
11
  import { useSuspenseQuery } from "@tanstack/react-query";
@@ -1,4 +1,4 @@
1
- import { A as requireActor, C as parse$1, G as ApiError, R as toApiError, V as secretValues, dt as SETUP_VENDORS, mt as errorBodyOf, v as invalid$1 } from "./middleware-B8JRLyxx.js";
1
+ import { A as requireActor, C as parse$1, G as ApiError, R as toApiError, V as secretValues, a as appConfig, dt as SETUP_VENDORS, mt as errorBodyOf, v as invalid$1 } from "./middleware-B6RPW0fH.js";
2
2
  import { parse, serialize } from "cookie-es";
3
3
  import { DefaultChatTransport, createUIMessageStreamResponse, getToolName, isTextUIPart, isToolUIPart, safeValidateUIMessages } from "ai";
4
4
  import { connectionCallbackPath, credentialReady, isEnded, personsOf } from "sanoma/workflows/shared";
@@ -112,23 +112,61 @@ function createApi(transport) {
112
112
  return at([]);
113
113
  }
114
114
  // src/lib/chat.ts
115
+ /** A chat's engine, from the name its row or the cookie keeps (`engineName`). */
116
+ var engineOf = (name) => name.startsWith("acp-") ? {
117
+ agent: name.slice(4),
118
+ plan: "own"
119
+ } : {
120
+ agent: name,
121
+ plan: "onKey"
122
+ };
123
+ /** The name a chat's row and the cookie keep for an engine (`engineOf` reads it). */
124
+ var engineName = ({ agent, plan }) => plan === "own" ? `acp-${agent}` : agent;
125
+ /** A coding agent's engine on `plan`. */
126
+ var agentEngine = (agent, plan) => ({
127
+ name: engineName({
128
+ agent: agent.id,
129
+ plan
130
+ }),
131
+ agent: agent.id,
132
+ plan,
133
+ title: agent.title,
134
+ label: plan === "own" ? `${agent.title} (your plan)` : agent.title,
135
+ ...agent.mark && { mark: agent.mark },
136
+ ...plan === "own" && agent.once && { once: true }
137
+ });
115
138
  /**
116
- * The engines a chat can open on, by the name its row keeps, with the name the chat shows: our
117
- * loop, an existing coding agent through `HarnessAgent` on the company's key, or a person's own
118
- * coding agent over ACP on their own plan (`acp-<agent>`, `ownPlan`).
139
+ * The company's engines: our loop, then each coding agent its connectors give
140
+ * (`ConfigDescription.agents`) on the company's key, then each on a person's own plan.
119
141
  */
120
- var ENGINE_NAMES = {
121
- loop: "Sanoma",
122
- pi: "Pi",
123
- "claude-code": "Claude Code",
124
- "acp-copilot": "Copilot (your plan)",
125
- "acp-opencode": "OpenCode (your plan)",
126
- "acp-pi": "Pi (your plan)",
127
- "acp-claude-code": "Claude Code (your plan)",
128
- "acp-codex": "Codex (your plan)"
129
- };
130
- /** Whether an engine spends the person's own plan: their own agent over ACP. */
131
- var ownPlan = (engine) => engine.startsWith("acp-");
142
+ function enginesOf(agents) {
143
+ return [
144
+ {
145
+ name: "loop",
146
+ agent: "loop",
147
+ plan: "onKey",
148
+ title: "Sanoma",
149
+ label: "Sanoma"
150
+ },
151
+ ...agents.filter((agent) => agent.onKey).map((agent) => agentEngine(agent, "onKey")),
152
+ ...agents.filter((agent) => agent.own).map((agent) => agentEngine(agent, "own"))
153
+ ];
154
+ }
155
+ /**
156
+ * Whether a live instance declares no box for the coding agents, which run in one there
157
+ * (`DECLARE_BOX`): no resource whose type meets the `sandbox` contract.
158
+ */
159
+ var boxless = (config) => config.place === "live" && !config.resources.some((r) => config.resourceTypes.find((t) => t.id === `${r.vendor}.${r.type}`)?.capabilities?.includes("sandbox"));
160
+ /**
161
+ * The engines a chat can open on here, in `enginesOf`'s order: on a live instance, no coding
162
+ * agent while it declares no box (`boxless`), and no own plan whose sign-in runs once on the
163
+ * person's computer. A turn on any other fails, saying why.
164
+ */
165
+ function enginesHere(config) {
166
+ const live = config.place === "live";
167
+ const box = !boxless(config);
168
+ return enginesOf(config.agents).filter((e) => e.agent === "loop" || box && !(live && e.once));
169
+ }
132
170
  /** Whether an engine answers on the company's model connector (`chatModel`): our loop; a coding agent says what it lacks itself. */
133
171
  var onModelConnector = (engine) => engine === "loop";
134
172
  /** The connector a company without a model adds: Anthropic's, which the template installs. */
@@ -159,8 +197,19 @@ function errorParts(text) {
159
197
  vendor: found[1]
160
198
  } : { text };
161
199
  }
200
+ /**
201
+ * Whether a message is the cue for the agent to speak first (`POST /api/chat`'s `start`): the
202
+ * app's own, kept in the transcript as the turn's message but never shown.
203
+ */
204
+ var isIntro = (message) => message.metadata?.intro === true;
205
+ /** Whether the person has written in a chat: a message of theirs that is not the agent's cue (`isIntro`). */
206
+ var written = (messages) => messages.some((m) => m.role === "user" && !isIntro(m));
162
207
  /** A message's text, its text parts joined by `separator`. */
163
208
  var textOf = (message, separator = "\n\n") => message.parts.filter(isTextUIPart).map((part) => part.text).join(separator);
209
+ /** Whether a turn is under way. */
210
+ var isBusy = (status) => status === "submitted" || status === "streaming";
211
+ /** What a reply suggests the person ask next: its last `data-suggestions` part's asks, else none. */
212
+ var suggestionsOf = (message) => message.parts.findLast((part) => part.type === "data-suggestions")?.data.asks ?? [];
164
213
  /**
165
214
  * A part a turn left under way: text still streaming, a tool call without its result, or a held
166
215
  * lookup's preliminary output. The chat offers Continue after one; the server settles it (`settle`).
@@ -170,7 +219,8 @@ var unfinished = (part) => isToolUIPart(part) ? part.state === "input-streaming"
170
219
  * The chat's transport to `POST /api/chat` (`api`), as the chat column makes it: only the new
171
220
  * message is sent, the server reading the rest from the chat's transcript, with the engine a new
172
221
  * chat opens on when the send names one (`sendMessage(message, { body: { engine } })`; a chat
173
- * keeps the one it opened on).
222
+ * keeps the one it opened on), and `start` when the message is the agent's cue to speak first
223
+ * (`sendMessage({ text: "", metadata: { intro: true } }, { body: { engine, start: true } })`).
174
224
  */
175
225
  var chatTransport = (api, headers) => new DefaultChatTransport({
176
226
  api,
@@ -178,7 +228,8 @@ var chatTransport = (api, headers) => new DefaultChatTransport({
178
228
  prepareSendMessagesRequest: ({ id, messages, body }) => ({ body: {
179
229
  id,
180
230
  message: messages.at(-1),
181
- engine: body?.engine
231
+ engine: body?.engine,
232
+ start: body?.start
182
233
  } })
183
234
  });
184
235
  // src/lib/apply-plan.ts
@@ -654,13 +705,17 @@ var PersonMessage = z.object({
654
705
  text: z.string()
655
706
  })).min(1)
656
707
  });
657
- /** What the browser sends: the chat's id (its own, for a new chat) and the person's new message. */
708
+ /** What the browser sends: the chat's id (its own, for a new chat) and the person's new message, or with `start` the agent's cue. */
658
709
  var ChatRequest = z.object({
659
710
  id: ChatTurnInput.shape.chat,
660
711
  message: z.unknown(),
661
712
  /** The engine a new chat opens on; a chat keeps the one it opened on. */
662
- engine: z.string().default("loop")
713
+ engine: z.string().default("loop"),
714
+ /** The agent speaks first, in a chat the person has not written in yet: the message is its cue, whose text is `INTRO`. */
715
+ start: z.literal(true).optional()
663
716
  });
717
+ /** What the agent is asked when it speaks first: the text of the turn's message, which the chat never shows (`isIntro`). */
718
+ var INTRO = "Introduce yourself to me in a few plain sentences: that you make the changes to this company when I ask, and what you read in it (its workflows, connectors and people). Then suggest up to four things I could ask you first, for a business like this one.";
664
719
  /**
665
720
  * How soon the reply's stream looks again for the chunks the worker writes, in ms: `POLL_MS` while
666
721
  * they come, twice as long after each look that found none, up to `QUIET_MS` (a turn may wait a
@@ -677,7 +732,10 @@ var STATUS_MS = 2e3;
677
732
  * (so a turn that fails keeps it), starts the turn's run on its id and answers with
678
733
  * the reply's stream, read from the database as the worker writes it (`replyStream`). A chat of
679
734
  * someone else is a 404; a turn of the loop while it has no model (`chatModel`), a 409 before
680
- * the chat opens.
735
+ * the chat opens. A `start` is the agent speaking first: the message sent is its cue, written as
736
+ * `INTRO` and marked (`isIntro`), in a new chat titled "Getting started" or one with no message of
737
+ * the person's yet (a sign-in it asked for has just finished, say), a 400 otherwise; and never
738
+ * while the loop has no model.
681
739
  */
682
740
  async function postChat(request, context) {
683
741
  const { app } = context;
@@ -688,18 +746,30 @@ async function postChat(request, context) {
688
746
  const { chats } = app.client;
689
747
  const chat = await chats.get(body.id);
690
748
  if (chat && chat.person !== principal.id) throw new ApiError(404, { error: `No chat ${body.id}` });
749
+ if (!chat) {
750
+ const here = enginesHere(appConfig(app)).map((engine) => engine.name);
751
+ if (!here.includes(body.engine)) throw invalid(`No engine ${body.engine} here: the engines are ${here.join(", ")}`);
752
+ }
691
753
  const named = chat?.engine ?? body.engine;
692
- if (!Object.hasOwn(ENGINE_NAMES, named)) throw invalid(`No engine ${named}: the engines are ${Object.keys(ENGINE_NAMES).join(", ")}`);
693
- const checked = await safeValidateUIMessages({ messages: [body.message] });
694
- if (!checked.success) throw invalid(`Not a chat message: ${checked.error.message}`);
695
- const turn = PersonMessage.safeParse(checked.data[0]);
696
- if (!turn.success) throw invalid(`A chat takes the person's messages, as text: ${turn.error.issues[0]?.message ?? "not one"}`);
697
- const message = turn.data;
698
- const [had, model] = await Promise.all([chat ? chats.has(chat.id, message.id) : false, onModelConnector(named) ? chatModel(app) : void 0]);
754
+ const sent = await personMessage(body.message);
755
+ const message = body.start ? {
756
+ ...sent,
757
+ parts: [{
758
+ type: "text",
759
+ text: INTRO
760
+ }],
761
+ metadata: { intro: true }
762
+ } : sent;
763
+ const [had, wrote, model] = await Promise.all([
764
+ chat ? chats.has(chat.id, message.id) : false,
765
+ chat && body.start ? app.client.chats.load(chat.id).then(written) : false,
766
+ onModelConnector(named) ? chatModel(app) : void 0
767
+ ]);
699
768
  if (had) throw invalid(`The chat has a message ${message.id} already`);
769
+ if (wrote) throw invalid("The agent speaks first only in a chat you have not written in");
700
770
  if (model && !model.ready) throw new ApiError(409, { error: noModelText(model.vendor) });
701
771
  if (!chat) {
702
- const title = textOf(message, " ").trim().slice(0, 80) || "A chat";
772
+ const title = body.start ? "Getting started" : textOf(message, " ").trim().slice(0, 80) || "A chat";
703
773
  await chats.open({
704
774
  id: body.id,
705
775
  person: principal.id,
@@ -718,6 +788,14 @@ async function postChat(request, context) {
718
788
  return Response.json(body, { status });
719
789
  }
720
790
  }
791
+ /** The person's new message, checked (a 400 for one a chat does not take). The transcript, written by the worker, is not validated again. */
792
+ async function personMessage(sent) {
793
+ const checked = await safeValidateUIMessages({ messages: [sent] });
794
+ if (!checked.success) throw invalid(`Not a chat message: ${checked.error.message}`);
795
+ const turn = PersonMessage.safeParse(checked.data[0]);
796
+ if (!turn.success) throw invalid(`A chat takes the person's messages, as text: ${turn.error.issues[0]?.message ?? "not one"}`);
797
+ return turn.data;
798
+ }
721
799
  /**
722
800
  * The reply of the turn `runId` as a UI message stream: the chunks the worker writes
723
801
  * (`Chats.chunks`), looked for less often while none come (`POLL_MS`), until the turn's stream
@@ -854,4 +932,4 @@ var invalid = (error) => new ApiError(400, {
854
932
  error,
855
933
  code: "invalid_input"
856
934
  });
857
- export { textOf as A, MODEL_CONNECTOR as C, onModelConnector as D, heldRunOf as E, createApi as M, ownPlan as O, ENGINE_NAMES as S, errorParts as T, detailsObject as _, WAKEUP_URL as a, rebindWords as b, setSetupToken as c, invitePerson as d, peopleSignIns as f, asApplyPlan as g, STEP_GROUPS as h, chatModel as i, unfinished as j, pathOf as k, setupStatus as l, connectionCallback as m, postChat as n, githubCallback as o, authorizeConnection as p, postSignInCode as r, manifestPage as s, chatFor as t, declaredEmail as u, exportName as v, chatTransport as w, shortId as x, plannedRows as y };
935
+ export { isBusy as A, boxless as C, enginesOf as D, enginesHere as E, textOf as F, unfinished as I, written as L, onModelConnector as M, pathOf as N, errorParts as O, suggestionsOf as P, createApi as R, MODEL_CONNECTOR as S, engineOf as T, detailsObject as _, WAKEUP_URL as a, rebindWords as b, setSetupToken as c, invitePerson as d, peopleSignIns as f, asApplyPlan as g, STEP_GROUPS as h, chatModel as i, isIntro as j, heldRunOf as k, setupStatus as l, connectionCallback as m, postChat as n, githubCallback as o, authorizeConnection as p, postSignInCode as r, manifestPage as s, chatFor as t, declaredEmail as u, exportName as v, chatTransport as w, shortId as x, plannedRows as y };
@@ -1,5 +1,5 @@
1
- import { t as cn } from "./utils-wksS9pYh.js";
2
- import { t as Button } from "./button-f9Lc8qLl.js";
1
+ import { t as cn } from "./utils-CHesvfjo.js";
2
+ import { t as Button } from "./button-Xwx3rpQ0.js";
3
3
  import { n as useChatPrompt } from "./chat-prompt-BYwbMxR6.js";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  // src/components/chat-button.tsx
@@ -1,4 +1,4 @@
1
- import { t as cn } from "./utils-wksS9pYh.js";
1
+ import { t as cn } from "./utils-CHesvfjo.js";
2
2
  import { t as highlightedLines } from "./lines-B4w04QZ0.js";
3
3
  import { useEffect, useRef } from "react";
4
4
  import { jsx } from "react/jsx-runtime";
@@ -1,9 +1,10 @@
1
- import { n as plural, t as cn } from "./utils-wksS9pYh.js";
2
- import { C as RUN_TONE, F as Alert, L as AlertDescription, R as AlertTitle, _ as APPROVAL_TONE, c as PageHeader, f as Tip, h as effectBadge, k as Card, l as Region, m as ToneBadge, s as Notice, t as ButtonLink, y as DECISION_TONE, z as Badge } from "./kit-D6EulwBe.js";
3
- import { mt as errorBodyOf } from "./middleware-B8JRLyxx.js";
4
- import { M as configQuery, p as RUNS_KEY, t as Button, ut as runLink, x as appBehindQuery } from "./button-f9Lc8qLl.js";
5
- import { x as shortId } from "./chat-DMN_hoKm.js";
6
- import { a as ItemGroup, i as ItemDescription, n as ItemActions, r as ItemContent, s as ItemTitle, t as Item } from "./item-BDSXoEr_.js";
1
+ import { n as plural, t as cn } from "./utils-CHesvfjo.js";
2
+ import { C as RUN_TONE, F as Alert, L as AlertDescription, R as AlertTitle, _ as APPROVAL_TONE, c as PageHeader, f as Tip, h as effectBadge, k as Card, l as Region, m as ToneBadge, s as Notice, t as ButtonLink, y as DECISION_TONE, z as Badge } from "./kit-DlT_THim.js";
3
+ import { mt as errorBodyOf } from "./middleware-B6RPW0fH.js";
4
+ import { A as configQuery, ct as runLink, d as RUNS_KEY, y as appBehindQuery } from "./queries-DJcZ4mzA.js";
5
+ import { x as shortId } from "./chat-BNMeLc9V.js";
6
+ import { t as Button } from "./button-Xwx3rpQ0.js";
7
+ import { a as ItemGroup, i as ItemDescription, n as ItemActions, r as ItemContent, s as ItemTitle, t as Item } from "./item-LBDNja5f.js";
7
8
  import { Fragment, Suspense, lazy, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
8
9
  import { Link, trimPathRight, useMatches, useRouter, useRouterState } from "@tanstack/react-router";
9
10
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -302,6 +303,22 @@ function TabsContent({ className, ...props }) {
302
303
  * times this way.
303
304
  */
304
305
  var utcText = (at, { seconds = false } = {}) => `${new Date(at).toISOString().slice(0, seconds ? 19 : 16).replace("T", " ")} UTC`;
306
+ // src/components/logo.tsx
307
+ /**
308
+ * A logo, 16 px unless `className` sizes it: `src`, and `dark` instead under the dark theme. Only
309
+ * ever an `<img>`, where an SVG's scripts and external references never run or load.
310
+ */
311
+ function Logo({ src, dark, alt, className }) {
312
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("img", {
313
+ src,
314
+ alt,
315
+ className: cn("size-4 shrink-0", dark && "dark:hidden", className)
316
+ }), dark && /* @__PURE__ */ jsx("img", {
317
+ src: dark,
318
+ alt,
319
+ className: cn("hidden size-4 shrink-0 dark:block", className)
320
+ })] });
321
+ }
305
322
  // src/components/common.tsx
306
323
  /**
307
324
  * The names of the pages the location matches, outermost first, each with where it is. A route
@@ -369,21 +386,6 @@ function TierBadge({ tier }) {
369
386
  });
370
387
  }
371
388
  /**
372
- * A logo, 16 px unless `className` sizes it: `src`, and `dark` instead under the dark theme. Only
373
- * ever an `<img>`, where an SVG's scripts and external references never run or load.
374
- */
375
- function Logo({ src, dark, alt, className }) {
376
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("img", {
377
- src,
378
- alt,
379
- className: cn("size-4 shrink-0", dark && "dark:hidden", className)
380
- }), dark && /* @__PURE__ */ jsx("img", {
381
- src: dark,
382
- alt,
383
- className: cn("hidden size-4 shrink-0 dark:block", className)
384
- })] });
385
- }
386
- /**
387
389
  * A vendor's logo, as `Logo` draws it, named by the vendor's title for assistive tech unless
388
390
  * `alt` says otherwise (`""` where the title is beside it). `fallback` draws in its place when the
389
391
  * config has no logo for the vendor.
@@ -770,7 +772,7 @@ function Expandable({ label, value, open, redacted }) {
770
772
  * A page's loader calls this in the browser, so the chunk loads while the page hydrates rather
771
773
  * than after.
772
774
  */
773
- var loadGraph = () => import("./graph-qYOdoz2s.js");
775
+ var loadGraph = () => import("./graph-C1Cl7owl.js");
774
776
  var Graph = lazy(loadGraph);
775
777
  /** True once the element has come within a screen of the viewport, and from then on. */
776
778
  function useSeen(ref) {
@@ -824,7 +826,7 @@ var GraphPanel = (props) => /* @__PURE__ */ jsx(LazyPanel, {
824
826
  * The source view's chunk: CodeMirror and its TypeScript grammar. Like the graph's, it needs the
825
827
  * DOM and loads in the browser only; a page's loader calls this in the browser to warm it.
826
828
  */
827
- var loadCode = () => import("./code-COyt8L-n.js");
829
+ var loadCode = () => import("./code-hVpCkmAZ.js");
828
830
  var Code = lazy(loadCode);
829
831
  /**
830
832
  * A workflow's source in a LazyPanel, scrolling inside it. On the server, without JavaScript, and
@@ -1033,4 +1035,4 @@ var ShortId = ({ id, className }) => /* @__PURE__ */ jsx("code", {
1033
1035
  title: id,
1034
1036
  children: shortId(id)
1035
1037
  });
1036
- export { TabsList as $, PolicyProblems as A, TierBadge as B, LinkTab as C, OpItem as D, None as E, Segment as F, When as G, UsedByList as H, Segmented as I, toastIfHeld as J, ledgerTone as K, ShortId as L, RequestedBy as M, SandboxBadge as N, OpName as O, Section as P, TabsContent as Q, SiteLink as R, LinkItem as S, Logo as T, UtcTime as U, UsedBy as V, VendorLogo as W, utcText as X, useCrumbs as Y, Tabs$1 as Z, GraphPanel as _, CodePanel as a, usePublicAddress as at, Json as b, DecisionBadge as c, pageLanguages as ct, Expandable as d, alternatesOf as dt, TabsTrigger as et, ExternalLink as f, sitePath as ft, FloatHost as g, FLOAT_ROOM as h, BUILTIN_ICON as i, CollapsibleTrigger as it, Problems as j, PanelCard as k, DecisionNote as l, siteOf as lt, FLOAT_CARD as m, AppBehind as n, Collapsible$1 as nt, Commit as o, useSites as ot, FLOAT as p, pageTitle as q, ApprovalStatusBadge as r, CollapsibleContent as rt, CrumbHeader as s, defaultLocaleOf as st, ALONE as t, Skeleton as tt, Disclosure as u, usePageLanguages as ut, ItemHeading as v, LinkTabs as w, LastRun as x, ItemTime as y, SubsectionTitle as z };
1038
+ export { TabsList as $, Problems as A, UsedBy as B, LinkTab as C, OpName as D, OpItem as E, Segmented as F, ledgerTone as G, UtcTime as H, ShortId as I, useCrumbs as J, pageTitle as K, SiteLink as L, SandboxBadge as M, Section as N, PanelCard as O, Segment as P, TabsContent as Q, SubsectionTitle as R, LinkItem as S, None as T, VendorLogo as U, UsedByList as V, When as W, utcText as X, Logo as Y, Tabs$1 as Z, GraphPanel as _, CodePanel as a, usePublicAddress as at, Json as b, DecisionBadge as c, pageLanguages as ct, Expandable as d, alternatesOf as dt, TabsTrigger as et, ExternalLink as f, sitePath as ft, FloatHost as g, FLOAT_ROOM as h, BUILTIN_ICON as i, CollapsibleTrigger as it, RequestedBy as j, PolicyProblems as k, DecisionNote as l, siteOf as lt, FLOAT_CARD as m, AppBehind as n, Collapsible$1 as nt, Commit as o, useSites as ot, FLOAT as p, toastIfHeld as q, ApprovalStatusBadge as r, CollapsibleContent as rt, CrumbHeader as s, defaultLocaleOf as st, ALONE as t, Skeleton as tt, Disclosure as u, usePageLanguages as ut, ItemHeading as v, LinkTabs as w, LastRun as x, ItemTime as y, TierBadge as z };
@@ -1,13 +1,14 @@
1
- import { l as Region, m as ToneBadge, s as Notice, t as ButtonLink } from "./kit-D6EulwBe.js";
2
- import { dt as SETUP_VENDORS } from "./middleware-B8JRLyxx.js";
3
- import { Gt as setSetupTokenFn, t as Button, vt as setupStatusQuery } from "./button-f9Lc8qLl.js";
4
- import { G as When, s as CrumbHeader, v as ItemHeading } from "./common-CWHLj7KV.js";
5
- import { a as ItemGroup, i as ItemDescription, n as ItemActions, r as ItemContent, t as Item } from "./item-BDSXoEr_.js";
6
- import { t as Input } from "./input-D63gF3G2.js";
7
- import { o as FieldLabel, r as FieldDescription, t as Field } from "./field-C0Xx_90s.js";
8
- import { f as Route } from "./router-BvYtxrVN.js";
9
- import { t as CredentialRow } from "./credentials-ud_Y68hx.js";
10
- import { n as SecretStorage, t as Connections } from "./connections-DBgb1bvX.js";
1
+ import { l as Region, m as ToneBadge, s as Notice, t as ButtonLink } from "./kit-DlT_THim.js";
2
+ import { dt as SETUP_VENDORS } from "./middleware-B6RPW0fH.js";
3
+ import { Ut as setSetupTokenFn, gt as setupStatusQuery } from "./queries-DJcZ4mzA.js";
4
+ import { t as Button } from "./button-Xwx3rpQ0.js";
5
+ import { W as When, s as CrumbHeader, v as ItemHeading } from "./common-DpZcJvCy.js";
6
+ import { a as ItemGroup, i as ItemDescription, n as ItemActions, r as ItemContent, t as Item } from "./item-LBDNja5f.js";
7
+ import { t as Input } from "./input-CF-vX8Xp.js";
8
+ import { o as FieldLabel, r as FieldDescription, t as Field } from "./field-DFpkT1id.js";
9
+ import { f as Route } from "./router-Co6gRNI1.js";
10
+ import { t as CredentialRow } from "./credentials-CYUFAVU8.js";
11
+ import { n as SecretStorage, t as Connections } from "./connections-Cfz5LMy5.js";
11
12
  import { Link } from "@tanstack/react-router";
12
13
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
13
14
  import { useSuspenseQuery } from "@tanstack/react-query";