@lobu/runtime-server 21.1.0 → 21.2.0

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 (238) hide show
  1. package/dist/catalogs/connectors.json +2 -35
  2. package/dist/component.json +1 -1
  3. package/dist/connectors/README.md +6 -3
  4. package/dist/connectors/github.ts +0 -6
  5. package/dist/connectors/google_calendar.ts +0 -4
  6. package/dist/connectors/google_drive.ts +0 -2
  7. package/dist/connectors/google_gmail.ts +0 -6
  8. package/dist/connectors/market_quotes.ts +0 -1
  9. package/dist/connectors/microsoft_outlook.ts +0 -2
  10. package/dist/connectors/postgres.ts +68 -3
  11. package/dist/connectors/whatsapp_web.ts +2 -8
  12. package/dist/connectors/x.ts +3 -9
  13. package/dist/connectors/youtube.ts +0 -5
  14. package/dist/db/migrations/20260930010000_connector_policy_scopes.sql +113 -0
  15. package/dist/db/migrations/20261002230000_connector_exact_policy_target.sql +36 -0
  16. package/dist/db/migrations/20261003120000_source_backed_entity_identity.sql +109 -0
  17. package/dist/db/migrations/20261003200000_drop_source_backed_entity_identity.sql +111 -0
  18. package/dist/db/migrations/preconditions/20261002230000_connector_exact_policy_target.sql +38 -0
  19. package/dist/db/migrations/preconditions/20261003200000_drop_source_backed_entity_identity.sql +21 -0
  20. package/dist/dependencies.bun.lock +52 -54
  21. package/dist/owletto/dist/assets/_-C1iPVDAS.js +2 -0
  22. package/dist/owletto/dist/assets/_-TlzPuBqI.js +1 -0
  23. package/dist/owletto/dist/assets/_agentId-DutmYPK7.js +1 -0
  24. package/dist/owletto/dist/assets/_agentId-DvhFYLLv.js +1 -0
  25. package/dist/owletto/dist/assets/_automationId-NuFSEFlw.js +1 -0
  26. package/dist/owletto/dist/assets/_connectorKey._connectionId-D_FhMGN1.js +1 -0
  27. package/dist/owletto/dist/assets/_connectorKey.index-B8AZikVg.js +1 -0
  28. package/dist/owletto/dist/assets/{_conversationId-CpuEvflw.js → _conversationId-D1Cx42I0.js} +1 -1
  29. package/dist/owletto/dist/assets/{_deploymentId-BL9tnDFl.js → _deploymentId-BjtZC8Oo.js} +1 -1
  30. package/dist/owletto/dist/assets/_name-DTlirHDv.js +1 -0
  31. package/dist/owletto/dist/assets/_owner-c8L8M4FP.js +1 -0
  32. package/dist/owletto/dist/assets/_shape-DQaUs_O7.js +1 -0
  33. package/dist/owletto/dist/assets/_skillKey-CJSEeyG0.js +1 -0
  34. package/dist/owletto/dist/assets/_slug-Nlm2ziLr.js +1 -0
  35. package/dist/owletto/dist/assets/_viewKey-BK9NZs21.js +1 -0
  36. package/dist/owletto/dist/assets/_viewKey-D-Og614G.js +1 -0
  37. package/dist/owletto/dist/assets/_viewKey-DIFCFECi.js +1 -0
  38. package/dist/owletto/dist/assets/accept-invitation-BfqbITxp.js +1 -0
  39. package/dist/owletto/dist/assets/activity-route-view-CTQEg3Us.js +1 -0
  40. package/dist/owletto/dist/assets/{agent-card-controls-bhTMPoVi.js → agent-card-controls-49SIdmyU.js} +1 -1
  41. package/dist/owletto/dist/assets/{agent-client-setup-list-BBbq_2B1.js → agent-client-setup-list-ChwHMq4Q.js} +1 -1
  42. package/dist/owletto/dist/assets/agent-connect-pages-CJntJskO.js +1 -0
  43. package/dist/owletto/dist/assets/agent-editor-form-CEEFNek5.js +1 -0
  44. package/dist/owletto/dist/assets/agent-guardrails-route-BF_RvzHv.js +1 -0
  45. package/dist/owletto/dist/assets/{agent-loading-shells-BQLjzMPy.js → agent-loading-shells-Cve_XIMW.js} +1 -1
  46. package/dist/owletto/dist/assets/agent-permissions-matrix-DEYa123T.js +1 -0
  47. package/dist/owletto/dist/assets/{agent-skill-context-s42Q4Wjo.js → agent-skill-context-DuS7Ojm_.js} +1 -1
  48. package/dist/owletto/dist/assets/agent-skills-route-BItudd8s.js +1 -0
  49. package/dist/owletto/dist/assets/agent-subpage-shell-BkGzpmv5.js +1 -0
  50. package/dist/owletto/dist/assets/agent-thread-DhCFggHZ.js +8 -0
  51. package/dist/owletto/dist/assets/agents-BIA5SCAT.js +1 -0
  52. package/dist/owletto/dist/assets/agents-workbench-BZaoiFNY.js +1 -0
  53. package/dist/owletto/dist/assets/{app._appId-CqYz3AOO.js → app._appId-0fp8NC9-.js} +1 -1
  54. package/dist/owletto/dist/assets/automation-detail-content-C08Ef137.js +1 -0
  55. package/dist/owletto/dist/assets/automations-BIA5SCAT.js +1 -0
  56. package/dist/owletto/dist/assets/{calendar-CHXehtu0.js → calendar-CvEqJnKS.js} +1 -1
  57. package/dist/owletto/dist/assets/callback-BfjlxUcL.js +1 -0
  58. package/dist/owletto/dist/assets/{card-4Ull9W6d.js → card-MXMmjz9G.js} +1 -1
  59. package/dist/owletto/dist/assets/{claim-BGLCPLXq.js → claim-B5igXpyF.js} +1 -1
  60. package/dist/owletto/dist/assets/{clients-C7ubnFsS.js → clients-DqMOcwpO.js} +1 -1
  61. package/dist/owletto/dist/assets/{code-editor-BHiWR94J.js → code-editor-bpbaa7f6.js} +1 -1
  62. package/dist/owletto/dist/assets/connect-DpQrbviv.js +1 -0
  63. package/dist/owletto/dist/assets/connect._clientId-A_F-UzTr.js +1 -0
  64. package/dist/owletto/dist/assets/connected._clientId-BWVr-PMm.js +1 -0
  65. package/dist/owletto/dist/assets/connection-D-dXA43c.js +1 -0
  66. package/dist/owletto/dist/assets/connection-feed-detail-XYK-ubKG.js +1 -0
  67. package/dist/owletto/dist/assets/{connector-provenance-DRdUEmQ1.js → connector-provenance-RL_DcF2q.js} +1 -1
  68. package/dist/owletto/dist/assets/connectors-B2_PLuXP.js +1 -0
  69. package/dist/owletto/dist/assets/{consent-fmhPPlpi.js → consent-CMrkyIfi.js} +1 -1
  70. package/dist/owletto/dist/assets/{core.esm-C-eNiUAl.js → core.esm-BrIR85HL.js} +1 -1
  71. package/dist/owletto/dist/assets/create-DhxcVjNh.js +1 -0
  72. package/dist/owletto/dist/assets/create-UTXCruIl.js +1 -0
  73. package/dist/owletto/dist/assets/create-automation-form-BHir-pIp.js +2 -0
  74. package/dist/owletto/dist/assets/create-jVkf6V76.js +1 -0
  75. package/dist/owletto/dist/assets/{create._connectorKey-CHAotlsF.js → create._connectorKey-qjd3B6p5.js} +1 -1
  76. package/dist/owletto/dist/assets/{cronstrue-C5yTgk5z.js → cronstrue-BwvvZn_Y.js} +1 -1
  77. package/dist/owletto/dist/assets/deployments-CSJHFlJz.js +1 -0
  78. package/dist/owletto/dist/assets/{deployments-D1gbQwsy.js → deployments-DHAx8TBs.js} +1 -1
  79. package/dist/owletto/dist/assets/{deployments-body-DycIGlnL.js → deployments-body-B54mJoZC.js} +1 -1
  80. package/dist/owletto/dist/assets/{device-DyPnQkhO.js → device-Bi_9KNKQ.js} +1 -1
  81. package/dist/owletto/dist/assets/device-pin-tombstone-Dkmmka9d.js +1 -0
  82. package/dist/owletto/dist/assets/device-rows-CkTAaZ3m.js +1 -0
  83. package/dist/owletto/dist/assets/device._deviceId-B_WqDhY5.js +1 -0
  84. package/dist/owletto/dist/assets/entity-options-Bm1sbpmt.js +1 -0
  85. package/dist/owletto/dist/assets/entity-page-DZUGex-P.js +1 -0
  86. package/dist/owletto/dist/assets/entity-type-page-DSBcVv9e.js +1 -0
  87. package/dist/owletto/dist/assets/event-page-B837JclA.js +1 -0
  88. package/dist/owletto/dist/assets/events-feed-BgvLTppV.js +1 -0
  89. package/dist/owletto/dist/assets/{full-page-spinner-DsU-Cb3L.js → full-page-spinner-ByBsHimW.js} +1 -1
  90. package/dist/owletto/dist/assets/guardrails-cMGe6IIe.js +1 -0
  91. package/dist/owletto/dist/assets/identity-BORtpi5L.js +1 -0
  92. package/dist/owletto/dist/assets/index-B5lGxbbZ.js +1 -0
  93. package/dist/owletto/dist/assets/index-BGz-9DDG.js +1 -0
  94. package/dist/owletto/dist/assets/{index-DwtfHCHB.js → index-Be5BLMwZ.js} +1 -1
  95. package/dist/owletto/dist/assets/index-BmAuAhub.css +1 -0
  96. package/dist/owletto/dist/assets/{index-nOYvNROJ.js → index-BrT0gBIi.js} +1 -1
  97. package/dist/owletto/dist/assets/index-BrzsfXR-.js +1 -0
  98. package/dist/owletto/dist/assets/{index-CpWKAAGX.js → index-C1MV7ajb.js} +1 -1
  99. package/dist/owletto/dist/assets/index-C31QOVZH.js +1 -0
  100. package/dist/owletto/dist/assets/index-C6USRbY8.js +1 -0
  101. package/dist/owletto/dist/assets/{index-D2dcENg2.js → index-Cane2GT3.js} +1 -1
  102. package/dist/owletto/dist/assets/{index-1YrrvVJ4.js → index-DBs2lhwE.js} +8 -8
  103. package/dist/owletto/dist/assets/index-Dh8ubWqr.js +1 -0
  104. package/dist/owletto/dist/assets/index-DjYcFuq9.js +1 -0
  105. package/dist/owletto/dist/assets/index-Dpf0I2N4.js +1 -0
  106. package/dist/owletto/dist/assets/index-DpgsgDFc.js +1 -0
  107. package/dist/owletto/dist/assets/index-DqrjJ9LB.js +1 -0
  108. package/dist/owletto/dist/assets/{index-DtRfQcRH.js → index-GZkujXG1.js} +1595 -1595
  109. package/dist/owletto/dist/assets/index-pFFCzVi5.js +1 -0
  110. package/dist/owletto/dist/assets/{json-diff-DYeX-xLk.js → json-diff-D6sv990W.js} +3 -3
  111. package/dist/owletto/dist/assets/{list-skeleton-s4GPSJ8J.js → list-skeleton-B39wKVT1.js} +1 -1
  112. package/dist/owletto/dist/assets/login-DxnhCvKx.js +1 -0
  113. package/dist/owletto/dist/assets/logout-Lvib6Kk7.js +1 -0
  114. package/dist/owletto/dist/assets/member-scope-gate-CM-GNviT.js +1 -0
  115. package/dist/owletto/dist/assets/{memory-browse-page-Bibfs2sK.js → memory-browse-page-DKmyI1FJ.js} +1 -1
  116. package/dist/owletto/dist/assets/{missing-view-CD4DOaG8.js → missing-view-CAFqvZpi.js} +1 -1
  117. package/dist/owletto/dist/assets/{model-selector-XC5CI2Et.js → model-selector-BoudNhPZ.js} +1 -1
  118. package/dist/owletto/dist/assets/models-B8BuBmLu.js +1 -0
  119. package/dist/owletto/dist/assets/new-CKSjnGM9.js +1 -0
  120. package/dist/owletto/dist/assets/new-Jp_DtYBt.js +1 -0
  121. package/dist/owletto/dist/assets/new-e3C5Yokb.js +1 -0
  122. package/dist/owletto/dist/assets/{oauth-workspace-access-D6epOq0R.js → oauth-workspace-access-DuPiMSr2.js} +1 -1
  123. package/dist/owletto/dist/assets/organization-DUPBruFP.js +1 -0
  124. package/dist/owletto/dist/assets/{permissions-D8uJHINS.js → permissions-DqkX4mTH.js} +1 -1
  125. package/dist/owletto/dist/assets/{proposal-review-shell-C3K-JXjb.js → proposal-review-shell-C04RG1qM.js} +1 -1
  126. package/dist/owletto/dist/assets/{recent-CFcWceBl.js → recent-BmxCZQ8j.js} +1 -1
  127. package/dist/owletto/dist/assets/{renderer-1nRJFMGx.js → renderer-eFSU65zm.js} +1 -1
  128. package/dist/owletto/dist/assets/{reset-password-9RTWhBEb.js → reset-password-BinCwene.js} +1 -1
  129. package/dist/owletto/dist/assets/runs-DwThk2CI.js +1 -0
  130. package/dist/owletto/dist/assets/{runs-panel-B2852xus.js → runs-panel-DfxWCV7K.js} +1 -1
  131. package/dist/owletto/dist/assets/runs-table-Dh7FL3Va.js +1 -0
  132. package/dist/owletto/dist/assets/{schema-value-normalization-BspxVEGy.js → schema-value-normalization-CPLeOm7K.js} +1 -1
  133. package/dist/owletto/dist/assets/settings-CSrpSUqR.js +1 -0
  134. package/dist/owletto/dist/assets/{settings-9lDASETT.js → settings-DLg89oqz.js} +1 -1
  135. package/dist/owletto/dist/assets/skills-PQP0fNxc.js +1 -0
  136. package/dist/owletto/dist/assets/{switch-CxDXvPGE.js → switch-Dcx3_8kM.js} +1 -1
  137. package/dist/owletto/dist/assets/{use-applied-views-DvMT3wap.js → use-applied-views-BpvIIgWG.js} +1 -1
  138. package/dist/owletto/dist/assets/{use-mention-search-CeTEE3oE.js → use-mention-search-Vndny_Gd.js} +1 -1
  139. package/dist/owletto/dist/assets/{view-frame-HoBawpT2.js → view-frame-DxiuLSGA.js} +1 -1
  140. package/dist/owletto/dist/index.html +2 -2
  141. package/dist/server-main.bundle.mjs +4097 -4383
  142. package/npm-shrinkwrap.json +198 -207
  143. package/package.json +1 -1
  144. package/vendor/connector-sdk/dist/connector-runtime.d.ts +1 -1
  145. package/vendor/connector-sdk/dist/connector-runtime.js +1 -1
  146. package/vendor/connector-sdk/dist/connector-types.d.ts +14 -2
  147. package/vendor/connector-sdk/dist/define-connector.d.ts +3 -5
  148. package/vendor/connector-sdk/dist/define-connector.js +1 -1
  149. package/vendor/connector-sdk/dist/device-manifest.d.ts +0 -1
  150. package/vendor/connector-sdk/dist/extension-network.js +1 -2
  151. package/vendor/connector-sdk/package.json +1 -1
  152. package/vendor/core/dist/contracts/agent-settings.d.ts +0 -1
  153. package/vendor/core/dist/contracts/agent-settings.js +0 -1
  154. package/vendor/core/dist/contracts/tools/manage-classifiers.d.ts +6 -6
  155. package/vendor/core/dist/contracts/tools/manage-classifiers.js +4 -6
  156. package/vendor/core/dist/contracts/tools/manage-connections.d.ts +0 -1
  157. package/vendor/core/dist/contracts/tools/manage-connections.js +3 -4
  158. package/vendor/core/dist/contracts/tools/manage-entity.d.ts +2 -2
  159. package/vendor/core/dist/contracts/tools/manage-entity.js +4 -2
  160. package/vendor/core/dist/logger.js +13 -2
  161. package/vendor/core/dist/worker/wire.d.ts +1 -6
  162. package/vendor/core/dist/worker/wire.js +1 -1
  163. package/vendor/core/package.json +1 -1
  164. package/vendor/views/package.json +6 -1
  165. package/dist/owletto/dist/assets/_-00GgOtdu.js +0 -1
  166. package/dist/owletto/dist/assets/_-XlUwOWCI.js +0 -2
  167. package/dist/owletto/dist/assets/_agentId-B2DrawIk.js +0 -1
  168. package/dist/owletto/dist/assets/_agentId-CS0AcWH2.js +0 -1
  169. package/dist/owletto/dist/assets/_automationId-BLnqLtUv.js +0 -1
  170. package/dist/owletto/dist/assets/_connectorKey._connectionId-DcUWoZ-C.js +0 -1
  171. package/dist/owletto/dist/assets/_connectorKey.index-C_yKycN_.js +0 -1
  172. package/dist/owletto/dist/assets/_name-DlxjWkKk.js +0 -1
  173. package/dist/owletto/dist/assets/_owner-Cg50UU6m.js +0 -1
  174. package/dist/owletto/dist/assets/_shape-BWZW4mj8.js +0 -1
  175. package/dist/owletto/dist/assets/_skillKey-B25fO0_O.js +0 -1
  176. package/dist/owletto/dist/assets/_slug-DbD-wv2m.js +0 -1
  177. package/dist/owletto/dist/assets/_viewKey-BcTEvQ3N.js +0 -1
  178. package/dist/owletto/dist/assets/_viewKey-W4RjiUWL.js +0 -1
  179. package/dist/owletto/dist/assets/_viewKey-iGPCKSda.js +0 -1
  180. package/dist/owletto/dist/assets/accept-invitation-BmQKbQem.js +0 -1
  181. package/dist/owletto/dist/assets/activity-route-view-BvtAoGVt.js +0 -1
  182. package/dist/owletto/dist/assets/agent-connect-pages-DkDlFVY5.js +0 -1
  183. package/dist/owletto/dist/assets/agent-editor-form-DwHD9j1Y.js +0 -1
  184. package/dist/owletto/dist/assets/agent-guardrails-route-0PsTrqMC.js +0 -1
  185. package/dist/owletto/dist/assets/agent-permissions-matrix-B-Q5rmuB.js +0 -1
  186. package/dist/owletto/dist/assets/agent-skills-route-Cwq1QrhW.js +0 -1
  187. package/dist/owletto/dist/assets/agent-subpage-shell-DtzoRy6N.js +0 -1
  188. package/dist/owletto/dist/assets/agent-thread-D7AGGjRV.js +0 -8
  189. package/dist/owletto/dist/assets/agents-BqCKU4CT.js +0 -1
  190. package/dist/owletto/dist/assets/agents-workbench-Cl7FO7b3.js +0 -1
  191. package/dist/owletto/dist/assets/automation-detail-content-CKSywvzE.js +0 -1
  192. package/dist/owletto/dist/assets/automations-BqCKU4CT.js +0 -1
  193. package/dist/owletto/dist/assets/callback-DZ3YyXeV.js +0 -1
  194. package/dist/owletto/dist/assets/connect-BNatqg6j.js +0 -1
  195. package/dist/owletto/dist/assets/connect._clientId-BGG2IqiQ.js +0 -1
  196. package/dist/owletto/dist/assets/connected._clientId-7RU89sVW.js +0 -1
  197. package/dist/owletto/dist/assets/connection-CTaUGXl6.js +0 -1
  198. package/dist/owletto/dist/assets/connection-feed-detail-B1xieiEh.js +0 -1
  199. package/dist/owletto/dist/assets/connectors-NBwCLuZg.js +0 -1
  200. package/dist/owletto/dist/assets/create-8bBbQJGY.js +0 -1
  201. package/dist/owletto/dist/assets/create-Cl6cfNAp.js +0 -1
  202. package/dist/owletto/dist/assets/create-DrVso8O7.js +0 -1
  203. package/dist/owletto/dist/assets/create-automation-form-De8J-JD5.js +0 -2
  204. package/dist/owletto/dist/assets/deployments-C7M3fV5K.js +0 -1
  205. package/dist/owletto/dist/assets/device-pin-tombstone-CwJitllC.js +0 -1
  206. package/dist/owletto/dist/assets/device-rows-BBhW1C7Y.js +0 -1
  207. package/dist/owletto/dist/assets/device._deviceId-XswfXHOc.js +0 -1
  208. package/dist/owletto/dist/assets/entity-options-utGBmFX0.js +0 -1
  209. package/dist/owletto/dist/assets/entity-page-BxwuqqWk.js +0 -1
  210. package/dist/owletto/dist/assets/entity-type-page-BrWqk6so.js +0 -1
  211. package/dist/owletto/dist/assets/event-page-LIm4EDmJ.js +0 -1
  212. package/dist/owletto/dist/assets/events-feed-C4L8mQV7.js +0 -1
  213. package/dist/owletto/dist/assets/guardrails-CGFWCfbQ.js +0 -1
  214. package/dist/owletto/dist/assets/identity-uPYpPogR.js +0 -1
  215. package/dist/owletto/dist/assets/index-BKMafTe4.js +0 -1
  216. package/dist/owletto/dist/assets/index-BsL1-C2-.js +0 -1
  217. package/dist/owletto/dist/assets/index-C58oW727.js +0 -1
  218. package/dist/owletto/dist/assets/index-C8CR2-Ck.css +0 -1
  219. package/dist/owletto/dist/assets/index-CQ4s6nzy.js +0 -1
  220. package/dist/owletto/dist/assets/index-DCK0KhMM.js +0 -1
  221. package/dist/owletto/dist/assets/index-DXqiRON3.js +0 -1
  222. package/dist/owletto/dist/assets/index-DgEc5IvT.js +0 -1
  223. package/dist/owletto/dist/assets/index-DvhM9tuI.js +0 -1
  224. package/dist/owletto/dist/assets/index-DyYFZjh-.js +0 -1
  225. package/dist/owletto/dist/assets/index-oDoJENMF.js +0 -1
  226. package/dist/owletto/dist/assets/index-rPdUEOa3.js +0 -1
  227. package/dist/owletto/dist/assets/login-Di5VF2F_.js +0 -1
  228. package/dist/owletto/dist/assets/logout-BuaQGSnw.js +0 -1
  229. package/dist/owletto/dist/assets/member-scope-gate-CJqJZk7T.js +0 -1
  230. package/dist/owletto/dist/assets/models--8mTFOLz.js +0 -1
  231. package/dist/owletto/dist/assets/new-BzkA1sq2.js +0 -1
  232. package/dist/owletto/dist/assets/new-C3f0BShb.js +0 -1
  233. package/dist/owletto/dist/assets/new-DA5LF6iB.js +0 -1
  234. package/dist/owletto/dist/assets/organization-DOtBRqDQ.js +0 -1
  235. package/dist/owletto/dist/assets/runs-_yVh6PPB.js +0 -1
  236. package/dist/owletto/dist/assets/runs-table--dnFQatY.js +0 -1
  237. package/dist/owletto/dist/assets/settings-DQo_ZS2P.js +0 -1
  238. package/dist/owletto/dist/assets/skills-a5xQ4RE9.js +0 -1
@@ -81,11 +81,11 @@
81
81
 
82
82
  "@asteasolutions/zod-to-openapi": ["@asteasolutions/zod-to-openapi@9.1.0", "", { "dependencies": { "openapi3-ts": "^4.6.0" }, "peerDependencies": { "zod": "^4.0.0" } }, "sha512-pLMeRgRYS7/vZIgAAkOe2P6+XGTifR1MT9pqDoxZ11EmcJJ+DPmdPqLN8ZZF4U8R9KHCCQCS9c2wtuE8wSrfkw=="],
83
83
 
84
- "@aws-sdk/client-bedrock": ["@aws-sdk/client-bedrock@3.1143.0", "", { "dependencies": { "@aws-sdk/core": "^3.978.1", "@aws-sdk/credential-provider-node": "^3.972.84", "@aws-sdk/token-providers": "3.1143.0", "@aws-sdk/types": "^3.974.6", "@smithy/core": "^3.35.0", "@smithy/fetch-http-handler": "^5.8.0", "@smithy/node-http-handler": "^4.12.1", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-6i0mMaApb9ET4Zrtscd1gc87Ts3csbqbgNNgqe2IsLiqTVLZFtAku738qmFie5mabA1VDNOlA8QWSsF4bht4aw=="],
84
+ "@aws-sdk/client-bedrock": ["@aws-sdk/client-bedrock@3.1146.0", "", { "dependencies": { "@aws-sdk/core": "^3.978.1", "@aws-sdk/credential-provider-node": "^3.972.84", "@aws-sdk/token-providers": "3.1146.0", "@aws-sdk/types": "^3.974.6", "@smithy/core": "^3.35.0", "@smithy/fetch-http-handler": "^5.8.0", "@smithy/node-http-handler": "^4.12.1", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-8p0RQlENKfGpeaLMwABJAqV3I/PvkBURjJninjUBYbzMF7tK/UYsCI2AmQygiNjFhou0r5D69e+mY6o2Fm8qeQ=="],
85
85
 
86
- "@aws-sdk/client-bedrock-runtime": ["@aws-sdk/client-bedrock-runtime@3.1143.0", "", { "dependencies": { "@aws-sdk/core": "^3.978.1", "@aws-sdk/credential-provider-node": "^3.972.84", "@aws-sdk/eventstream-handler-node": "^3.972.35", "@aws-sdk/middleware-eventstream": "^3.972.30", "@aws-sdk/middleware-websocket": "^3.972.54", "@aws-sdk/token-providers": "3.1143.0", "@aws-sdk/types": "^3.974.6", "@smithy/core": "^3.35.0", "@smithy/fetch-http-handler": "^5.8.0", "@smithy/node-http-handler": "^4.12.1", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-NqcVvmeesUZ53mv1wsRi7eohqm0KKdQxfmdaCaWTjWqw4X5gYVAPfy4REVXNs7J0w0eM4I5fctSuS5MhTI14kQ=="],
86
+ "@aws-sdk/client-bedrock-runtime": ["@aws-sdk/client-bedrock-runtime@3.1146.0", "", { "dependencies": { "@aws-sdk/core": "^3.978.1", "@aws-sdk/credential-provider-node": "^3.972.84", "@aws-sdk/eventstream-handler-node": "^3.972.35", "@aws-sdk/middleware-eventstream": "^3.972.30", "@aws-sdk/middleware-websocket": "^3.972.54", "@aws-sdk/token-providers": "3.1146.0", "@aws-sdk/types": "^3.974.6", "@smithy/core": "^3.35.0", "@smithy/fetch-http-handler": "^5.8.0", "@smithy/node-http-handler": "^4.12.1", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-FPg7W8TtLGv6ruAjkfjhX02ks6ozhwQ12tBp0hdc9DPBx7stsJbwQunejwQhF5dfdOtShkTJuXQKNR7BqZGjlg=="],
87
87
 
88
- "@aws-sdk/client-secrets-manager": ["@aws-sdk/client-secrets-manager@3.1143.0", "", { "dependencies": { "@aws-sdk/core": "^3.978.1", "@aws-sdk/credential-provider-node": "^3.972.84", "@aws-sdk/types": "^3.974.6", "@smithy/core": "^3.35.0", "@smithy/fetch-http-handler": "^5.8.0", "@smithy/node-http-handler": "^4.12.1", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-xA6gSweqgSeYg8A0RQ2E5taCmhVxbuuVAXaJCiHRpuVsM/rj2apDJV3gBndlpBiPLwqlXbfZQj1MYLisrhDKZQ=="],
88
+ "@aws-sdk/client-secrets-manager": ["@aws-sdk/client-secrets-manager@3.1146.0", "", { "dependencies": { "@aws-sdk/core": "^3.978.1", "@aws-sdk/credential-provider-node": "^3.972.84", "@aws-sdk/types": "^3.974.6", "@smithy/core": "^3.35.0", "@smithy/fetch-http-handler": "^5.8.0", "@smithy/node-http-handler": "^4.12.1", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-xNEA3vhaWUO7d2PQcKepyHwlTJAIPF8bJako7XK5kQOVekMHrS10RaoXONot8y9/CDRHYsqoAWP37er5+Wsc4w=="],
89
89
 
90
90
  "@aws-sdk/core": ["@aws-sdk/core@3.978.1", "", { "dependencies": { "@aws-sdk/types": "^3.974.6", "@aws-sdk/xml-builder": "^3.972.41", "@aws/lambda-invoke-store": "^0.3.0", "@smithy/core": "^3.35.0", "@smithy/signature-v4": "^5.7.3", "@smithy/types": "^4.19.0", "bowser": "^2.11.0", "tslib": "^2.6.2" } }, "sha512-LbY9aGsEiznDWmUc30Nwv3aIX/+dbwTx8KfS0yOC3NPYMO+O91e6jkT1azf34FwjOndq8/Q+RcVVZz5xnerwdg=="],
91
91
 
@@ -115,7 +115,7 @@
115
115
 
116
116
  "@aws-sdk/signature-v4-multi-region": ["@aws-sdk/signature-v4-multi-region@3.996.47", "", { "dependencies": { "@aws-sdk/types": "^3.974.6", "@smithy/signature-v4": "^5.7.3", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-Zk08macMvQTHzQJCLJVkOlviVoqwYMrpXv4lmLN7b7sAbiMoOK7Go0NYdR5UeF+MW8LIbRmwrNy9u/5VvX1U5g=="],
117
117
 
118
- "@aws-sdk/token-providers": ["@aws-sdk/token-providers@3.1143.0", "", { "dependencies": { "@aws-sdk/core": "^3.978.1", "@aws-sdk/nested-clients": "^3.997.46", "@aws-sdk/types": "^3.974.6", "@smithy/core": "^3.35.0", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-QXGmo86jl7xDzfRWDrs51TXoJi2449miPhrU+G05Hlq2vNqyNVR63yi5ekplyz62rwWVruDBGTJEUJ+NtVc6yA=="],
118
+ "@aws-sdk/token-providers": ["@aws-sdk/token-providers@3.1146.0", "", { "dependencies": { "@aws-sdk/core": "^3.978.1", "@aws-sdk/nested-clients": "^3.997.46", "@aws-sdk/types": "^3.974.6", "@smithy/core": "^3.35.0", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-ocX29IyTSK/9y25lZ7X7E/1v04BIZ3kfu9DDDYr/c9aJxFik53kvzJao5T25lh/Uob9VkVAbgXRN776nr1EI3Q=="],
119
119
 
120
120
  "@aws-sdk/types": ["@aws-sdk/types@3.974.6", "", { "dependencies": { "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-v/clNZzZnDxGyvpHMOGpJKVXFAExJzUNAAjaWGdcx8QAcXLGwTaOkw33p5SHAi0YAioK32xB3hWwOekRVfmfKg=="],
121
121
 
@@ -323,7 +323,7 @@
323
323
 
324
324
  "@mixmark-io/domino": ["@mixmark-io/domino@2.2.0", "", {}, "sha512-Y28PR25bHXUg88kCV7nivXrP2Nj2RueZ3/l/jdx6J9f8J4nsEGcgX0Qe6lt7Pa+J79+kPiJU3LguR6O/6zrLOw=="],
325
325
 
326
- "@modelcontextprotocol/sdk": ["@modelcontextprotocol/sdk@1.31.0", "", { "dependencies": { "@hono/node-server": "^1.19.9 || ^2.0.5", "ajv": "^8.17.1", "ajv-formats": "^3.0.1", "content-type": "^1.0.5", "cors": "^2.8.5", "cross-spawn": "^7.0.5", "eventsource": "^3.0.2", "eventsource-parser": "^3.0.0", "express": "^5.2.1", "express-rate-limit": "^8.2.1", "hono": "^4.11.4", "jose": "^6.1.3", "json-schema-typed": "^8.0.2", "pkce-challenge": "^5.0.0", "raw-body": "^3.0.0", "zod": "^3.25 || ^4.0", "zod-to-json-schema": "^3.25.1" }, "peerDependencies": { "@cfworker/json-schema": "^4.1.1", "zod": "^3.25 || ^4.0" }, "optionalPeers": ["@cfworker/json-schema"] }, "sha512-UvTMgnNlnIBO/22ob2RcVGDlcvOslQs8T59+FTGdA0L27a39fdGF/EDETNtDVK4DZGpwomlsYpRdA8UXcVL/pw=="],
326
+ "@modelcontextprotocol/sdk": ["@modelcontextprotocol/sdk@1.32.0", "", { "dependencies": { "@hono/node-server": "^1.19.9 || ^2.0.5", "ajv": "^8.17.1", "ajv-formats": "^3.0.1", "content-type": "^1.0.5", "cors": "^2.8.5", "cross-spawn": "^7.0.5", "eventsource": "^3.0.2", "eventsource-parser": "^3.0.0", "express": "^5.2.1", "express-rate-limit": "^8.2.1", "hono": "^4.11.4", "jose": "^6.1.3", "json-schema-typed": "^8.0.2", "pkce-challenge": "^5.0.0", "raw-body": "^3.0.0", "zod": "^3.25 || ^4.0", "zod-to-json-schema": "^3.25.1" }, "peerDependencies": { "@cfworker/json-schema": "^4.1.1", "zod": "^3.25 || ^4.0" }, "optionalPeers": ["@cfworker/json-schema"] }, "sha512-8BviX/hK4Gd2eL1KdTwm0gfl4d3wdoErW0Jd00h6nomUAtk6IJk5vwQJc6kfWtJTzN5OEV/lgIiJKI8fiDGAlA=="],
327
327
 
328
328
  "@mongodb-js/zstd": ["@mongodb-js/zstd@7.0.0", "", { "dependencies": { "node-addon-api": "^8.5.0", "prebuild-install": "^7.1.3" } }, "sha512-mQ2s0pYYiav+tzCDR05Zptem8Ey2v8s11lri5RKGhTtL4COVCvVCk5vtyRYNT+9L8qSfyOqqefF9UtnW8mC5jA=="],
329
329
 
@@ -459,55 +459,55 @@
459
459
 
460
460
  "@react-email/text": ["@react-email/text@0.1.6", "", { "peerDependencies": { "react": "^18.0 || ^19.0 || ^19.0.0-rc" } }, "sha512-TYqkioRS45wTR5il3dYk/SbUjjEdhSwh9BtRNB99qNH1pXAwA45H7rAuxehiu8iJQJH0IyIr+6n62gBz9ezmsw=="],
461
461
 
462
- "@rollup/rollup-android-arm-eabi": ["@rollup/rollup-android-arm-eabi@4.63.5", "", { "os": "android", "cpu": "arm" }, "sha512-J25QJU+B78T4FhhBsNpLJyVWOi31mwtpcMwywHmOKH65Q9IWGA81gPj+dnwlhU8wktVriYE+tFAaQgrnJRzAZg=="],
462
+ "@rollup/rollup-android-arm-eabi": ["@rollup/rollup-android-arm-eabi@4.64.0", "", { "os": "android", "cpu": "arm" }, "sha512-FLLpX941CD/7aBvX3GqLGBM9OvY5PGXTryPJkG5r5/OuBpZpV5k45Uo3RxAvqd35tsyc3hH1bhtz921IKzoIzg=="],
463
463
 
464
- "@rollup/rollup-android-arm64": ["@rollup/rollup-android-arm64@4.63.5", "", { "os": "android", "cpu": "arm64" }, "sha512-LDopB3zuZM5Ux9TT2luNEBJW/tYbGU2g1d+VpKk6I+gSKDb+/7sYE6M225gRQt4RbMX6MSwMsVR/phdjVUgRLg=="],
464
+ "@rollup/rollup-android-arm64": ["@rollup/rollup-android-arm64@4.64.0", "", { "os": "android", "cpu": "arm64" }, "sha512-iI32XM/jnDYJsvx5ai/za/7gWO9XoSeFFtU06/ZCaRgyilfJOjaopD3nOpk2WrTCGOyeDt4hleUiGOAnd5tHNg=="],
465
465
 
466
- "@rollup/rollup-darwin-arm64": ["@rollup/rollup-darwin-arm64@4.63.5", "", { "os": "darwin", "cpu": "arm64" }, "sha512-wlJEERGfeuHeBavCL2qVnNacOK43NDoZM4sjkeRPymd04OAE9T1zBqDJgmZ+CIsPTYKwdzpUC8vmOw84dwY4Tg=="],
466
+ "@rollup/rollup-darwin-arm64": ["@rollup/rollup-darwin-arm64@4.64.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-dRBZlbt2sEtF8Mn4MODThze9fIPdDoOhVSlXMAKy5dQbOYK9pOOoPY4Fat3OTtr0+8zbJo5TTZwlsfxY/kDNJg=="],
467
467
 
468
- "@rollup/rollup-darwin-x64": ["@rollup/rollup-darwin-x64@4.63.5", "", { "os": "darwin", "cpu": "x64" }, "sha512-4nJJGg5jbo2wwPP4JP+LfEBA3bvP8rU9CLuhp7jWvq9sxEyhjQFTFdrqi+/dHEin/pd8jpT0vcehIpnZtmEdcQ=="],
468
+ "@rollup/rollup-darwin-x64": ["@rollup/rollup-darwin-x64@4.64.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-Y3whrJOMucfkhgNkvcM93M6j8C53iEAMmPMYD99C6G1kUy4ELigLWk9ar2/4aCBSRgsql0zdlOemLgW2m5GZgQ=="],
469
469
 
470
- "@rollup/rollup-freebsd-arm64": ["@rollup/rollup-freebsd-arm64@4.63.5", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-DrZbyCDF1hneuO6jRbvZ2D7+PIBM6yIwYnJpg2vIk58T+wuFpiaGZrfUr59lDWw45bg+IrpTGLPiNi/Fk4w3Cg=="],
470
+ "@rollup/rollup-freebsd-arm64": ["@rollup/rollup-freebsd-arm64@4.64.0", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-S6S1GEzPjFF6IONYJX3AKt/799+8RgBgCcwRnUo+Ep1IvBxUbw5M51iU0TDdK2NWWVnSvCQ8yi6Em0fGASMOng=="],
471
471
 
472
- "@rollup/rollup-freebsd-x64": ["@rollup/rollup-freebsd-x64@4.63.5", "", { "os": "freebsd", "cpu": "x64" }, "sha512-gqfUVMJMB3mehqywxp6hTBFfgtMQykZY19+cfiaYP0toIJLb/1DZRJHVkQQGP13W4TAwfZDWeg1qBcheTRioXQ=="],
472
+ "@rollup/rollup-freebsd-x64": ["@rollup/rollup-freebsd-x64@4.64.0", "", { "os": "freebsd", "cpu": "x64" }, "sha512-Ed1DPoFENkXj4IGzSB12SesV40iP6LxCCrbTIkSGIQBpOOxpBM+0kj62lmaeIHfMWTDoddqTOtqc7s8LYfn+Pw=="],
473
473
 
474
- "@rollup/rollup-linux-arm-gnueabihf": ["@rollup/rollup-linux-arm-gnueabihf@4.63.5", "", { "os": "linux", "cpu": "arm" }, "sha512-CFmhpvAwzSaWMlN3VN7UtmoTihlZNzoP0juQib5TQRnYUyDV8dXeWOp29sobWAT6gXl/hQgAClLlEiYozQG3OQ=="],
474
+ "@rollup/rollup-linux-arm-gnueabihf": ["@rollup/rollup-linux-arm-gnueabihf@4.64.0", "", { "os": "linux", "cpu": "arm" }, "sha512-J/6xhutJPtFyIkmHdf4olOdHHKH5kOJNumojdWn+Elv5ICEYTVOa362Vw27TxsK0BLzb1le3EDlO3UbvFK1lnQ=="],
475
475
 
476
- "@rollup/rollup-linux-arm-musleabihf": ["@rollup/rollup-linux-arm-musleabihf@4.63.5", "", { "os": "linux", "cpu": "arm" }, "sha512-Uc9H8eXCOayV6JLTH5bXKMId6qbhNHa818/BgYjm4jrlq3vZquC9cqyvHBw17xy5Mnj5f+I3gFK5JcEf3hSqrw=="],
476
+ "@rollup/rollup-linux-arm-musleabihf": ["@rollup/rollup-linux-arm-musleabihf@4.64.0", "", { "os": "linux", "cpu": "arm" }, "sha512-G4L/Nnx59d2LvDoV/P4S5lZ7oVLT6hodOHMacqjiq2LL2gts86KbkEBTYL53+fBt0odhf7XPIbIATGoYiJctxg=="],
477
477
 
478
- "@rollup/rollup-linux-arm64-gnu": ["@rollup/rollup-linux-arm64-gnu@4.63.5", "", { "os": "linux", "cpu": "arm64" }, "sha512-VcPr/szv/1BFw112Kt//fxulXt/JPqzzidU84iW68L2DdjnOO8QFUv2zTSYBEPHD6movBD4z+bbr5y60GYM7Jw=="],
478
+ "@rollup/rollup-linux-arm64-gnu": ["@rollup/rollup-linux-arm64-gnu@4.64.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-zF16pvJDEUksGYRbfnXne7pdklAyj2XDmJeYKgP93oq0cUyX9Y8O7lUo1R+IY1GagP/YBvCEDCe7eEcAKpw//g=="],
479
479
 
480
- "@rollup/rollup-linux-arm64-musl": ["@rollup/rollup-linux-arm64-musl@4.63.5", "", { "os": "linux", "cpu": "arm64" }, "sha512-BnxtJ5/91BrIHYIkGrmjz/lbMhqEHt1dPFqIxIFR+jPn0xVc/oUSCtIT089zfp5ufwGDlYz2UC+Fe1SRBpYFbQ=="],
480
+ "@rollup/rollup-linux-arm64-musl": ["@rollup/rollup-linux-arm64-musl@4.64.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-nIggWn8n+w12+R5lsV+PYYoUY8vuObxPAQqJI7WES+9v0qspYuAHoZMfYM0yLxlipasT5BY9ht5W8t5c/rSCkg=="],
481
481
 
482
- "@rollup/rollup-linux-loong64-gnu": ["@rollup/rollup-linux-loong64-gnu@4.63.5", "", { "os": "linux", "cpu": "none" }, "sha512-LrYcHZwF+fAMNKHYTOQ5osWM4AZF7YF6D+XtsjDyEvljtt11twc+zHVXBLNEjxVSUnKYsOhvVz4Z213eW02COQ=="],
482
+ "@rollup/rollup-linux-loong64-gnu": ["@rollup/rollup-linux-loong64-gnu@4.64.0", "", { "os": "linux", "cpu": "none" }, "sha512-WLOTiHPzszP0dxIMsHpFeDSOSB5I49Mj8K4+yKE3H1X/D0JRG5XZ5jrctJLMjnUc/LUzaKiwq6EHWNJ8pup8PA=="],
483
483
 
484
- "@rollup/rollup-linux-loong64-musl": ["@rollup/rollup-linux-loong64-musl@4.63.5", "", { "os": "linux", "cpu": "none" }, "sha512-nj7QKQePAAUpCpJHtg0pR0W/b92A9NO17JS3BAQmHDn/yhmkir2p8llrKY9TOhleKIaSzy1JhxS3T9FVld6coA=="],
484
+ "@rollup/rollup-linux-loong64-musl": ["@rollup/rollup-linux-loong64-musl@4.64.0", "", { "os": "linux", "cpu": "none" }, "sha512-35RK9aRhh7g7Pmeu5gQ01aCvrhXzj9LoBE6xtUcEH1ns+nyTaSzxSpADmBQINu4QiTDGvmQYwo1j5hlg1rRXFw=="],
485
485
 
486
- "@rollup/rollup-linux-ppc64-gnu": ["@rollup/rollup-linux-ppc64-gnu@4.63.5", "", { "os": "linux", "cpu": "ppc64" }, "sha512-5ylkX6dWMeBKge9nTU+Rxfb+ZfaCIJ9lRqIFaK0eAMcWp7OJbYnLveLgXmm0VrvuLKb8qIK+mHyH0qu88RM+iA=="],
486
+ "@rollup/rollup-linux-ppc64-gnu": ["@rollup/rollup-linux-ppc64-gnu@4.64.0", "", { "os": "linux", "cpu": "ppc64" }, "sha512-RqTfnpoTjuWfPAmqK5p2edt2AMCDJWm6oTn7sKfmyx+6tRga0ip05SJ977o6udTcIiDeF/CJMUfkaN4gtWt6Aw=="],
487
487
 
488
- "@rollup/rollup-linux-ppc64-musl": ["@rollup/rollup-linux-ppc64-musl@4.63.5", "", { "os": "linux", "cpu": "ppc64" }, "sha512-oHK4ZHYFDKjZviK34I+NwgfbGxgI7ztrNxj2hPTSSNFgeq1a/lEd7dHV2fdGAuTH4Iym3RHJg+vAbWaWG4B7Zg=="],
488
+ "@rollup/rollup-linux-ppc64-musl": ["@rollup/rollup-linux-ppc64-musl@4.64.0", "", { "os": "linux", "cpu": "ppc64" }, "sha512-RQjZPigjxFvFZDijG6rjlSXxhRaTf9zLYVpGK+lVcga64oMqP1GbgVqCb46eHTTceSIgp89Ja0y5aPe3GFBYHg=="],
489
489
 
490
- "@rollup/rollup-linux-riscv64-gnu": ["@rollup/rollup-linux-riscv64-gnu@4.63.5", "", { "os": "linux", "cpu": "none" }, "sha512-UcetmHZ6XOXuUByiKZyQmb55ZPr0LABr3Ec/HB9wKZn6CEAFWZkE+hsJErJ9hbPBC7nI0dKuELx7CoV6IM7TMg=="],
490
+ "@rollup/rollup-linux-riscv64-gnu": ["@rollup/rollup-linux-riscv64-gnu@4.64.0", "", { "os": "linux", "cpu": "none" }, "sha512-tjL58mgQcTRnDRpeky+Sth1MKQeYi2Ct6r3Luq9E5aTSjnM/i/JbozqZkKqp9thM5+oDSZxo+05f9kdQedfTGA=="],
491
491
 
492
- "@rollup/rollup-linux-riscv64-musl": ["@rollup/rollup-linux-riscv64-musl@4.63.5", "", { "os": "linux", "cpu": "none" }, "sha512-C5CmDPQBtvjVo8cgQsBs+w6WB0JLkiixhgi6hVLV11hERWdn/p0XcPU2OUcZzac9BPOFq7SbaHFa8r3SWEysCQ=="],
492
+ "@rollup/rollup-linux-riscv64-musl": ["@rollup/rollup-linux-riscv64-musl@4.64.0", "", { "os": "linux", "cpu": "none" }, "sha512-ictoRyVaoZ8C67myHef+8hhCa6IplXJJ/xUCkVCxziV4zxMZh+jvhkhGsPBLqj1S72fnqD0QH5zL4lcaa4X7DQ=="],
493
493
 
494
- "@rollup/rollup-linux-s390x-gnu": ["@rollup/rollup-linux-s390x-gnu@4.63.5", "", { "os": "linux", "cpu": "s390x" }, "sha512-lHVQHJFKsuuxLMi3MQO9XVL8Tje3JR82CzB+QDKC5NWBcsIWuwsn9uIM5e3lBhI+fF1/s63qnyYqsg65+8rV/w=="],
494
+ "@rollup/rollup-linux-s390x-gnu": ["@rollup/rollup-linux-s390x-gnu@4.64.0", "", { "os": "linux", "cpu": "s390x" }, "sha512-8aVvZ2hfr9RLFzBQkQNmYeHLDja8fLeQAmLt757zdKN/B+8L809KlLJKctQjS22wZotptV8G6o7fVPuAs8S1tQ=="],
495
495
 
496
- "@rollup/rollup-linux-x64-gnu": ["@rollup/rollup-linux-x64-gnu@4.63.5", "", { "os": "linux", "cpu": "x64" }, "sha512-3W9bTFcQNJn71cSJVM9RKIiZOy8DO/XLDii8Uv/Pm6WKqDRj7JV3ZfuXIEfyuy5LXpIzAbB/1M4Ukp9GKNa7nA=="],
496
+ "@rollup/rollup-linux-x64-gnu": ["@rollup/rollup-linux-x64-gnu@4.64.0", "", { "os": "linux", "cpu": "x64" }, "sha512-2dEF8GAcDKwshUfydD+GhosppNyBzhVUHkdFF3CXd3FpOkzj/RZzF5aoEtzklujklT5qFVRU2GK/cFeLaTNKVg=="],
497
497
 
498
- "@rollup/rollup-linux-x64-musl": ["@rollup/rollup-linux-x64-musl@4.63.5", "", { "os": "linux", "cpu": "x64" }, "sha512-VDC7rRJlee/scpki96GZ27Omf6yU87s1YXwVTpjE5841faVlDYYT565rgfmoR1U0sqL7z5ivQSDjcsF6VRXyBA=="],
498
+ "@rollup/rollup-linux-x64-musl": ["@rollup/rollup-linux-x64-musl@4.64.0", "", { "os": "linux", "cpu": "x64" }, "sha512-3XHTvoo2hKkh0MiOfS7SkhHjMaaWF7P4F3drocZZaho/Z8w7h/jpnuBHm91BOQLfvrKHs1yR+zir4E8RI3XzTQ=="],
499
499
 
500
- "@rollup/rollup-openbsd-x64": ["@rollup/rollup-openbsd-x64@4.63.5", "", { "os": "openbsd", "cpu": "x64" }, "sha512-z86Ok2p4pTdv5xqCKZsTooO7yBEiaJR/HzU3Wx8RmWsPoLppnMKROhJusQob8B3IE1ghC343kUW9rC2r+Wf3ig=="],
500
+ "@rollup/rollup-openbsd-x64": ["@rollup/rollup-openbsd-x64@4.64.0", "", { "os": "openbsd", "cpu": "x64" }, "sha512-HKtkzodL4a3KFWDXDoO61cRynAWTR3LnAE0oGtfG9lcNFpNuVYUFOByxDgNqEvic9rvaQbAj+SFwTEWDptRaIw=="],
501
501
 
502
- "@rollup/rollup-openharmony-arm64": ["@rollup/rollup-openharmony-arm64@4.63.5", "", { "os": "none", "cpu": "arm64" }, "sha512-IzQmj+xXwQFGhMAMKMQVXkMwMZN3TqkJgAE0nSsqvVwWWciP4AIPMmWRqOQ2GfX7TUDZr+xqGFcBS36CRPGw0g=="],
502
+ "@rollup/rollup-openharmony-arm64": ["@rollup/rollup-openharmony-arm64@4.64.0", "", { "os": "none", "cpu": "arm64" }, "sha512-JBsxqiY16uyyCujtoC3s7zL+SrYyNElptD7K4V+KUoJ2V8/XG3hPWpheK+SuPwNh1cikJvIZmIdsrYXvD6PLJw=="],
503
503
 
504
- "@rollup/rollup-win32-arm64-msvc": ["@rollup/rollup-win32-arm64-msvc@4.63.5", "", { "os": "win32", "cpu": "arm64" }, "sha512-F6qpTaPc9bwBH85kjy0/BLmLSW1uv7AoOXCoRIkg2arlgCYlWYcAbiMkvZuAcaWk9TpCRG//okznLAqLGshkMw=="],
504
+ "@rollup/rollup-win32-arm64-msvc": ["@rollup/rollup-win32-arm64-msvc@4.64.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-S5Qrijh37qhnUYQ0ay8WN3LuWeKjow7wTUyCOPMZtnXiBXYXdsZETI6ZLfYnQAKovltckPLBFdNeD61P2rJc7g=="],
505
505
 
506
- "@rollup/rollup-win32-ia32-msvc": ["@rollup/rollup-win32-ia32-msvc@4.63.5", "", { "os": "win32", "cpu": "ia32" }, "sha512-igoDsTFhhwECBeGbUuLeIk7t8Y1apa+cs6mDWpx2EZ0ch7oEQgzHbFUXN9euoHekCAQzXdXApAGkV6jznS7tWw=="],
506
+ "@rollup/rollup-win32-ia32-msvc": ["@rollup/rollup-win32-ia32-msvc@4.64.0", "", { "os": "win32", "cpu": "ia32" }, "sha512-zbZ6iMmLFEsCtTdc2/y1F/cDFVNNCPF7Ae8PCT/wdPE//hGwYp6r+MyCLMFX+kOeIe09Pz6ASfnnfpSTN1FJQQ=="],
507
507
 
508
- "@rollup/rollup-win32-x64-gnu": ["@rollup/rollup-win32-x64-gnu@4.63.5", "", { "os": "win32", "cpu": "x64" }, "sha512-U3teMeMbXFmaM5D+OTJpsOXd+wV/qftIeYF9kBKL4v73641qyJmoXFtA28DQLsnmlyayEsTe72xpLHrArq6vHw=="],
508
+ "@rollup/rollup-win32-x64-gnu": ["@rollup/rollup-win32-x64-gnu@4.64.0", "", { "os": "win32", "cpu": "x64" }, "sha512-L6Hw69oNpuYaOr1zCG30v0/DqKYCSRwodPGwIcVZ/6f8SOzq9rxtL/xNVI5MO4wjli+Ko0ErK9uHJL3mNPt8wQ=="],
509
509
 
510
- "@rollup/rollup-win32-x64-msvc": ["@rollup/rollup-win32-x64-msvc@4.63.5", "", { "os": "win32", "cpu": "x64" }, "sha512-ypfC34F3RKXvCXBglGqGMsUSMKlgwd1HX9AOAlx9RoZZ6GaI42YHVeKpzg3JG+wpBUJYTG+NNZhqbDWL8tBZkw=="],
510
+ "@rollup/rollup-win32-x64-msvc": ["@rollup/rollup-win32-x64-msvc@4.64.0", "", { "os": "win32", "cpu": "x64" }, "sha512-nl+CTWIgOGszQmUz/kanfgrfFZ4qiwxKIfT/ryl3N3Ewk5tqizmYtNXiqb7Bu/fDtNgu1kyxdFiAUJNur3iysg=="],
511
511
 
512
512
  "@sapphire/async-queue": ["@sapphire/async-queue@1.5.5", "", {}, "sha512-cvGzxbba6sav2zZkH8GPf2oGk9yYoD5qrNWdu9fRehifgnFZJMV+nuy2nON2roRO4yQQ+v7MK/Pktl/HgfsUXg=="],
513
513
 
@@ -527,15 +527,15 @@
527
527
 
528
528
  "@sentry/conventions": ["@sentry/conventions@0.16.0", "", {}, "sha512-fO9PLmHdVURcSPUpWCItWAtgKiMwGdJHbovoSEyLplX5sxs2ugvI4CBPTrkkgqhObnZOD0CnWBKDzSVQYBKEyQ=="],
529
529
 
530
- "@sentry/core": ["@sentry/core@10.75.3", "", { "dependencies": { "@sentry/conventions": "^0.16.0" } }, "sha512-QHgzobetM4UgEVbyqx9WPJzRq0YzyNg2CeeoM1Bf84ivYJXXiiVWxjzc0RHk3c0DHY5/6O6nJqos1xVL55dgZA=="],
530
+ "@sentry/core": ["@sentry/core@10.76.0", "", { "dependencies": { "@sentry/conventions": "^0.16.0" } }, "sha512-H9irBNXHdkgvl86EKlQrPTGYyzvI8GUZ8eoWLay9IuqqZC6pWesf0nH7z/glxKBo7BEw3PIG+unQByHugBnsCg=="],
531
531
 
532
- "@sentry/node": ["@sentry/node@10.75.3", "", { "dependencies": { "@opentelemetry/api": "^1.9.1", "@opentelemetry/instrumentation": "^0.220.0", "@opentelemetry/sdk-trace-base": "^2.9.0", "@sentry/conventions": "^0.16.0", "@sentry/core": "10.75.3", "@sentry/node-core": "10.75.3", "@sentry/opentelemetry": "10.75.3", "@sentry/server-utils": "10.75.3", "import-in-the-middle": "^3.0.0" } }, "sha512-VK/uoDOwMll/Q+WRBvqhvQMI/3YFitcoMLExP41XH1azC0fqmm8sJdzWGXgvddt/A9cnCb01N/+U0B3ARLX1tg=="],
532
+ "@sentry/node": ["@sentry/node@10.76.0", "", { "dependencies": { "@opentelemetry/api": "^1.9.1", "@opentelemetry/instrumentation": "^0.220.0", "@opentelemetry/sdk-trace-base": "^2.9.0", "@sentry/conventions": "^0.16.0", "@sentry/core": "10.76.0", "@sentry/node-core": "10.76.0", "@sentry/opentelemetry": "10.76.0", "@sentry/server-utils": "10.76.0", "import-in-the-middle": "^3.0.0" } }, "sha512-qWt0301wRws9HtbGsOmXapS69cIL5Ald8ZurKsGrqbQ65Ls7QqwS8ZeSS47PRLeJzpQT0xfr4+uNNm6R4hqyjQ=="],
533
533
 
534
- "@sentry/node-core": ["@sentry/node-core@10.75.3", "", { "dependencies": { "@sentry/conventions": "^0.16.0", "@sentry/core": "10.75.3", "@sentry/opentelemetry": "10.75.3", "import-in-the-middle": "^3.0.0" }, "peerDependencies": { "@opentelemetry/api": "^1.9.0", "@opentelemetry/core": "^1.30.1 || ^2.1.0", "@opentelemetry/exporter-trace-otlp-http": ">=0.57.0 <1", "@opentelemetry/instrumentation": ">=0.57.1 <1", "@opentelemetry/sdk-trace-base": "^1.30.1 || ^2.1.0" }, "optionalPeers": ["@opentelemetry/exporter-trace-otlp-http"] }, "sha512-nm3scqhE9Dx/ngE6q2hJW8Jvk+dVTjCm/KXC3CXH+0eBCzEuANH79qMwkmwMp5ixX+snlEOczA+ZCY+B4HfWQg=="],
534
+ "@sentry/node-core": ["@sentry/node-core@10.76.0", "", { "dependencies": { "@sentry/conventions": "^0.16.0", "@sentry/core": "10.76.0", "@sentry/opentelemetry": "10.76.0", "import-in-the-middle": "^3.0.0" }, "peerDependencies": { "@opentelemetry/api": "^1.9.0", "@opentelemetry/core": "^1.30.1 || ^2.1.0", "@opentelemetry/exporter-trace-otlp-http": ">=0.57.0 <1", "@opentelemetry/instrumentation": ">=0.57.1 <1", "@opentelemetry/sdk-trace-base": "^1.30.1 || ^2.1.0" }, "optionalPeers": ["@opentelemetry/exporter-trace-otlp-http"] }, "sha512-JCLrnn9otQV0xbj7xkgosj732LrVY2LXjYLhfE0WH6DZHRU1nLGcoxyPxWH9l0NkrQYA2KLNiAMn3FmcA98lNw=="],
535
535
 
536
- "@sentry/opentelemetry": ["@sentry/opentelemetry@10.75.3", "", { "dependencies": { "@sentry/conventions": "^0.16.0", "@sentry/core": "10.75.3" }, "peerDependencies": { "@opentelemetry/api": "^1.9.0", "@opentelemetry/core": "^1.30.1 || ^2.1.0", "@opentelemetry/sdk-trace-base": "^1.30.1 || ^2.1.0" } }, "sha512-Ux2eXgS4NkmT9nj1/guV+j4Dwx9WTZSBO+/WMRmfektEgt05u5nuHuKhSGN8maQ72m8HmEx360vcn8Hd/dh5WA=="],
536
+ "@sentry/opentelemetry": ["@sentry/opentelemetry@10.76.0", "", { "dependencies": { "@sentry/conventions": "^0.16.0", "@sentry/core": "10.76.0" }, "peerDependencies": { "@opentelemetry/api": "^1.9.0", "@opentelemetry/core": "^1.30.1 || ^2.1.0", "@opentelemetry/sdk-trace-base": "^1.30.1 || ^2.1.0" } }, "sha512-elMhLZQ56fBUbES7nnZ53tJMuchLPdx8ibQqtEIUGrhSkl4PD0yC1xKP/btQjmIi16GrzZUJlKDbcOc+0o8ZIw=="],
537
537
 
538
- "@sentry/server-utils": ["@sentry/server-utils@10.75.3", "", { "dependencies": { "@sentry/conventions": "^0.16.0", "@sentry/core": "10.75.3" } }, "sha512-PG3a+3GxurYYipLykRM3qezWjkIBYuqBjn8EuXzzlG6mpucMVtU8SRgr3EB0wdVaj1Pz+mhz+MLh8CGnLfKhCQ=="],
538
+ "@sentry/server-utils": ["@sentry/server-utils@10.76.0", "", { "dependencies": { "@sentry/conventions": "^0.16.0", "@sentry/core": "10.76.0" } }, "sha512-PJT8i3xsaSEAwVjgVrVClpFVB9+caxn4AVlUbgjt3/NwkoggKmSaoSUq5vpvzFPO11H1V+50qz9xxCw9gc9EzQ=="],
539
539
 
540
540
  "@silvia-odwyer/photon-node": ["@silvia-odwyer/photon-node@0.3.4", "", {}, "sha512-bnly4BKB3KDTFxrUIcgCLbaeVVS8lrAkri1pEzskpmxu9MdfGQTy8b8EgcD83ywD3RPMsIulY8xJH5Awa+t9fA=="],
541
541
 
@@ -553,7 +553,7 @@
553
553
 
554
554
  "@slack/web-api": ["@slack/web-api@7.19.0", "", { "dependencies": { "@slack/logger": "^4.0.1", "@slack/types": "^2.21.0", "@types/node": ">=18", "@types/retry": "0.12.0", "axios": "^1.16.0", "eventemitter3": "^5.0.1", "form-data": "^4.0.4", "is-electron": "2.2.2", "is-stream": "^2", "p-queue": "^6", "p-retry": "^4", "retry": "^0.13.1" } }, "sha512-ItjyjEZml+LDH8CjcCLRLJHh7VZtevPKExrRN3l5KWyBliyDnGAeoO4Y+K+fFBmRpKLYVPgqWMX4THldv2HVtA=="],
555
555
 
556
- "@smithy/core": ["@smithy/core@3.35.0", "", { "dependencies": { "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-zRMhfkByhT2snNdr1si24vJitU6Cr9ix2MikUfWmkAgp4jrNP0GcKSP5YvwQ+TlI8AZXER5QOGJn3JsVtSD9/A=="],
556
+ "@smithy/core": ["@smithy/core@3.35.1", "", { "dependencies": { "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-i4YPS4B6ts7bjn7UwLnGjiZdprOvHvgGobFZsYK3GIY3E5hIqtj0rReU69BcTpGp+fvtraSNXeG1l+jtJvF55w=="],
557
557
 
558
558
  "@smithy/credential-provider-imds": ["@smithy/credential-provider-imds@4.5.2", "", { "dependencies": { "@smithy/core": "^3.33.2", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-A9uSdn72ozbRUSit0eib0TW7nXuNPlaeM0zcGkJ+nE6tFcSDbnmtwoxbTCFBukVQcszDAyvsd7+rTduPTXpygg=="],
559
559
 
@@ -589,7 +589,7 @@
589
589
 
590
590
  "@types/ms": ["@types/ms@2.1.0", "", {}, "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA=="],
591
591
 
592
- "@types/node": ["@types/node@26.6.3", "", { "dependencies": { "undici-types": "~8.9.0" } }, "sha512-dsqMQQoeTLqu9wynDD00q573mNzso3IdQOAfHRJqLCcmCFPoGo9A1bDpUcv/9tnKpErQWv9uKeGfl37EIS02Yg=="],
592
+ "@types/node": ["@types/node@26.6.4", "", { "dependencies": { "undici-types": "~8.9.0" } }, "sha512-ldVPDCzj7fsaGZrLB0NuHuTvJcsNasysBAqMolr/cgxrLd1xbqxIr3XJiPnHHJUCxj5sNF1vnRj9aWnrVh5Jcg=="],
593
593
 
594
594
  "@types/retry": ["@types/retry@0.12.0", "", {}, "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA=="],
595
595
 
@@ -873,7 +873,7 @@
873
873
 
874
874
  "fn.name": ["fn.name@1.1.0", "", {}, "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw=="],
875
875
 
876
- "follow-redirects": ["follow-redirects@1.16.0", "", {}, "sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw=="],
876
+ "follow-redirects": ["follow-redirects@1.16.1", "", {}, "sha512-FNvFGzoMLWmE6Yj9spb/zjd7yiNCHiAW9/Tg9CXrQ8wuu32HtlJOwWO11OJafl5FfY3DxTdQ0vj42zU1kvv5jg=="],
877
877
 
878
878
  "for-each": ["for-each@0.3.5", "", { "dependencies": { "is-callable": "^1.2.7" } }, "sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg=="],
879
879
 
@@ -937,7 +937,7 @@
937
937
 
938
938
  "highlight.js": ["highlight.js@10.7.3", "", {}, "sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A=="],
939
939
 
940
- "hono": ["hono@4.13.11", "", {}, "sha512-/SMX/RQNJn7oNmFwH6DtwDqcrzZU2otm1FD6OJe2cWF6cfy/F8hq0XVBv7xW3FTJshRQwuBnXHDq2kNsdZnshg=="],
940
+ "hono": ["hono@4.13.13", "", {}, "sha512-CQ46U0ZkAGmbT/4UxdzzGJpacP2IeKgY4a5/tOI9AABbpOMfK739wfDXmv1usCk+3RkKj1hQy4/fjhiwa2xlrA=="],
941
941
 
942
942
  "hono-pino": ["hono-pino@0.10.3", "", { "dependencies": { "defu": "^6.1.4" }, "peerDependencies": { "hono": ">=4.0.0", "pino": ">=7.1.0" } }, "sha512-n0RNPIFOoq25Fg8b4D5gus4sVqI0z+8I17ibl96+p43d07UnZ0EMM/It0qSgfc7UtaC+XP5FkFmRHwBp6owsNA=="],
943
943
 
@@ -959,15 +959,15 @@
959
959
 
960
960
  "ieee754": ["ieee754@1.2.1", "", {}, "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA=="],
961
961
 
962
- "ignore": ["ignore@7.0.10", "", {}, "sha512-HpbUakT7xp5miBUywCHf36ZEuAJNklBJDDsGpUIjMzOSmM8ELSfA9Sa/QDPeNeqeoN31u+UTCkL4klCOVvRm4Q=="],
962
+ "ignore": ["ignore@7.0.12", "", {}, "sha512-/8UvqAPU9DGTI9k4mxtf49U37Isfwr8Uts96+SBHIkFxPJnHS0Ew4f00sM4Scd8V8EjM0jUNtVDdv1kPdt35lg=="],
963
963
 
964
- "import-in-the-middle": ["import-in-the-middle@3.5.1", "", { "dependencies": { "cjs-module-lexer": "^2.2.0", "es-module-lexer": "^3.0.2", "module-details-from-path": "^1.0.4" } }, "sha512-mPKuL8bPQzecui2KK6Gb+M8JvJoHnhS1FeYGa22QopBmlevF5F0FE6ued/B5EgHDeIoMTONIpDWWFKUPOG0DBQ=="],
964
+ "import-in-the-middle": ["import-in-the-middle@3.5.2", "", { "dependencies": { "cjs-module-lexer": "^2.2.0", "es-module-lexer": "^3.0.2", "module-details-from-path": "^1.0.4" } }, "sha512-WseIA/4o56+GYO3RmlOPvejYi771OFeJEeK/ejROsr9bdjW+E5NXTOD1Di8TL40Qgg3JJX9aa97Hf8iiSVIKZw=="],
965
965
 
966
966
  "inherits": ["inherits@2.0.4", "", {}, "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="],
967
967
 
968
968
  "ini": ["ini@6.0.0", "", {}, "sha512-IBTdIkzZNOpqm7q3dRqJvMaldXjDHWkEDfrwGEQTs5eaQMWV+djAhR+wahyNNMAa+qpbDUhBMVt4ZKNwpPm7xQ=="],
969
969
 
970
- "ip-address": ["ip-address@10.7.2", "", {}, "sha512-7H/2gFSIitxc0hG3nOI1glS8QLo/EHBFFLk8vEUjXY/xu0AdL8jZ9U1IzO2PUm0d2D/ofQcAifb0g6OBkt8U7w=="],
970
+ "ip-address": ["ip-address@10.7.3", "", {}, "sha512-A1kdq/tSb5QjvKvAMgIoEvDBIgL7qaqVP/jkvSwYYRZ9iEzvPpopxp2wQfu3SuZRHtpHNxMn8Fs0bS+gf5Xmwg=="],
971
971
 
972
972
  "ipaddr.js": ["ipaddr.js@1.9.1", "", {}, "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="],
973
973
 
@@ -995,7 +995,7 @@
995
995
 
996
996
  "isolated-vm-next": ["isolated-vm@7.0.1", "", { "dependencies": { "node-gyp-build": "^4.8.4" } }, "sha512-nBCQ1hXEaYKYJ79wwfhaF44ITOJC30Hw0wPEsFeNsdD3hdeKK7FW1SGMQYBUA+qasvkqdOazI+iBuq0lcbN/aw=="],
997
997
 
998
- "isomorphic-git": ["isomorphic-git@1.42.4", "", { "dependencies": { "async-lock": "^1.4.1", "clean-git-ref": "^2.0.1", "crc-32": "^1.2.0", "diff3": "0.0.3", "ignore": "^5.1.4", "minimisted": "^2.0.0", "pako": "^1.0.10", "pify": "^4.0.1", "readable-stream": "^4.0.0", "sha.js": "^2.4.12", "simple-get": "^4.0.1" }, "bin": { "isogit": "cli.cjs" } }, "sha512-ls44U1EUITCziPQcDWil+xYhm4lCgiIo/pJsHz6QfSsoqh4kKNGv0idx3B+qnQrjNTTdBPSK/D/qa6RJq+tGqA=="],
998
+ "isomorphic-git": ["isomorphic-git@1.43.0", "", { "dependencies": { "async-lock": "^1.4.1", "clean-git-ref": "^2.0.1", "crc-32": "^1.2.0", "diff3": "0.0.3", "ignore": "^5.1.4", "minimisted": "^2.0.0", "pako": "^1.0.10", "pify": "^4.0.1", "readable-stream": "^4.0.0", "sha.js": "^2.4.12", "simple-get": "^4.0.1" }, "bin": { "isogit": "cli.cjs" } }, "sha512-QhJ97lDzpcsV9++LLDs3GcSsY6JwbV7aWbB53gfxNXDDve30Uf3T9G1IzIL2TXfPCvx2rOcbrf5X31oSoPaX/w=="],
999
999
 
1000
1000
  "jackspeak": ["jackspeak@3.4.3", "", { "dependencies": { "@isaacs/cliui": "^8.0.2" }, "optionalDependencies": { "@pkgjs/parseargs": "^0.11.0" } }, "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw=="],
1001
1001
 
@@ -1083,9 +1083,9 @@
1083
1083
 
1084
1084
  "math-intrinsics": ["math-intrinsics@1.1.0", "", {}, "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g=="],
1085
1085
 
1086
- "mdast-util-find-and-replace": ["mdast-util-find-and-replace@3.0.2", "", { "dependencies": { "@types/mdast": "^4.0.0", "escape-string-regexp": "^5.0.0", "unist-util-is": "^6.0.0", "unist-util-visit-parents": "^6.0.0" } }, "sha512-Tmd1Vg/m3Xz43afeNxDIhWRtFZgM2VLyaf4vSTYwudTyeuTneoL3qtWMA5jeLyz/O1vDJmmV4QuScFCA2tBPwg=="],
1086
+ "mdast-util-find-and-replace": ["mdast-util-find-and-replace@3.0.3", "", { "dependencies": { "@types/mdast": "^4.0.0", "escape-string-regexp": "^5.0.0", "unist-util-is": "^6.0.0", "unist-util-visit-parents": "^6.0.0" } }, "sha512-xPgpDNl0/OXHsI7TlaIs22lWnH3KlpvZdXG1ET/m/YT2Hhdkx8lJV4kLphE6l9simyM4KPDFBwas08BgEob6Jw=="],
1087
1087
 
1088
- "mdast-util-from-markdown": ["mdast-util-from-markdown@2.0.3", "", { "dependencies": { "@types/mdast": "^4.0.0", "@types/unist": "^3.0.0", "decode-named-character-reference": "^1.0.0", "devlop": "^1.0.0", "mdast-util-to-string": "^4.0.0", "micromark": "^4.0.0", "micromark-util-decode-numeric-character-reference": "^2.0.0", "micromark-util-decode-string": "^2.0.0", "micromark-util-normalize-identifier": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0", "unist-util-stringify-position": "^4.0.0" } }, "sha512-W4mAWTvSlKvf8L6J+VN9yLSqQ9AOAAvHuoDAmPkz4dHf553m5gVj2ejadHJhoJmcmxEnOv6Pa8XJhpxE93kb8Q=="],
1088
+ "mdast-util-from-markdown": ["mdast-util-from-markdown@2.1.0", "", { "dependencies": { "@types/mdast": "^4.0.0", "@types/unist": "^3.0.0", "decode-named-character-reference": "^1.0.0", "devlop": "^1.0.0", "mdast-util-to-string": "^4.0.0", "micromark": "^4.0.0", "micromark-util-decode-numeric-character-reference": "^2.0.0", "micromark-util-decode-string": "^2.0.0", "micromark-util-normalize-identifier": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0", "unist-util-stringify-position": "^4.0.0" } }, "sha512-KRLgmPaP2H1ul2bpoJkOS+9pAcDAAj9Nu1mqLnh8NLeJG5tlvj42TH80PIGBpROWlRXLk0lDrWNuZCFy/tsB4A=="],
1089
1089
 
1090
1090
  "mdast-util-gfm": ["mdast-util-gfm@3.1.0", "", { "dependencies": { "mdast-util-from-markdown": "^2.0.0", "mdast-util-gfm-autolink-literal": "^2.0.0", "mdast-util-gfm-footnote": "^2.0.0", "mdast-util-gfm-strikethrough": "^2.0.0", "mdast-util-gfm-table": "^2.0.0", "mdast-util-gfm-task-list-item": "^2.0.0", "mdast-util-to-markdown": "^2.0.0" } }, "sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ=="],
1091
1091
 
@@ -1101,7 +1101,7 @@
1101
1101
 
1102
1102
  "mdast-util-phrasing": ["mdast-util-phrasing@4.1.0", "", { "dependencies": { "@types/mdast": "^4.0.0", "unist-util-is": "^6.0.0" } }, "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w=="],
1103
1103
 
1104
- "mdast-util-to-markdown": ["mdast-util-to-markdown@2.1.3", "", { "dependencies": { "@types/mdast": "^4.0.0", "@types/unist": "^3.0.0", "longest-streak": "^3.0.0", "mdast-util-phrasing": "^4.0.0", "mdast-util-to-string": "^4.0.0", "micromark-util-character": "^2.0.0", "micromark-util-classify-character": "^2.0.0", "micromark-util-decode-string": "^2.0.0", "micromark-util-html-tag-name": "^2.0.0", "unist-util-visit": "^5.0.0", "zwitch": "^2.0.0" } }, "sha512-wgyJtgUkUcdU7zci7uuwc/tzoAhm0TswWhaXuvnWolqug+8jY7bgNkBBL0dYBnHgc/tHL7lCzRdPsdUxUKKBqw=="],
1104
+ "mdast-util-to-markdown": ["mdast-util-to-markdown@2.2.0", "", { "dependencies": { "@types/mdast": "^4.0.0", "@types/unist": "^3.0.0", "longest-streak": "^3.0.0", "mdast-util-phrasing": "^4.0.0", "mdast-util-to-string": "^4.0.0", "micromark-util-character": "^2.0.0", "micromark-util-classify-character": "^2.0.0", "micromark-util-decode-string": "^2.0.0", "micromark-util-html-tag-name": "^2.0.0", "unist-util-visit": "^5.0.0", "zwitch": "^2.0.0" } }, "sha512-2Jn/ADrHFFyyniBMi0bncTbJqU78K3/TEYvzvwrWWzD9MYPUa/Gm4r3nOeKFQg/PDM5BsbDYdc8ackW4NTY6NA=="],
1105
1105
 
1106
1106
  "mdast-util-to-string": ["mdast-util-to-string@4.0.0", "", { "dependencies": { "@types/mdast": "^4.0.0" } }, "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg=="],
1107
1107
 
@@ -1281,7 +1281,7 @@
1281
1281
 
1282
1282
  "pify": ["pify@4.0.1", "", {}, "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g=="],
1283
1283
 
1284
- "pino": ["pino@10.3.1", "", { "dependencies": { "@pinojs/redact": "^0.4.0", "atomic-sleep": "^1.0.0", "on-exit-leak-free": "^2.1.0", "pino-abstract-transport": "^3.0.0", "pino-std-serializers": "^7.0.0", "process-warning": "^5.0.0", "quick-format-unescaped": "^4.0.3", "real-require": "^0.2.0", "safe-stable-stringify": "^2.3.1", "sonic-boom": "^4.0.1", "thread-stream": "^4.0.0" }, "bin": "bin.js" }, "sha512-r34yH/GlQpKZbU1BvFFqOjhISRo1MNx1tWYsYvmj6KIRHSPMT2+yHOEb1SG6NMvRoHRF0a07kCOox/9yakl1vg=="],
1284
+ "pino": ["pino@10.4.0", "", { "dependencies": { "@pinojs/redact": "^0.4.0", "atomic-sleep": "^1.0.0", "on-exit-leak-free": "^2.1.0", "pino-abstract-transport": "^3.0.0", "pino-std-serializers": "^7.0.0", "process-warning": "^5.0.0", "quick-format-unescaped": "^4.0.3", "real-require": "^1.0.0", "safe-stable-stringify": "^2.3.1", "sonic-boom": "^4.0.1", "thread-stream": "^4.0.0" }, "bin": "bin.js" }, "sha512-bk1ZMTwG/Vymx+zPoa28MhNzucFvXJWp3csrSuxuHPSMeUettaCoQ5Jvg07mtC4JGNpcfTwz41oVCnNgBK9+vA=="],
1285
1285
 
1286
1286
  "pino-abstract-transport": ["pino-abstract-transport@3.0.0", "", { "dependencies": { "split2": "^4.0.0" } }, "sha512-wlfUczU+n7Hy/Ha5j9a/gZNy7We5+cXp8YL+X+PG8S0KXxw7n/JXA3c46Y0zQznIJ83URJiwy7Lh56WLokNuxg=="],
1287
1287
 
@@ -1345,7 +1345,7 @@
1345
1345
 
1346
1346
  "readable-stream": ["readable-stream@4.7.0", "", { "dependencies": { "abort-controller": "^3.0.0", "buffer": "^6.0.3", "events": "^3.3.0", "process": "^0.11.10", "string_decoder": "^1.3.0" } }, "sha512-oIGGmcpTLwPga8Bn6/Z75SVaH1z5dUut2ibSyAMVhmUggWpmDn2dapB0n7f8nwaSiRtepAsfJyfXIO5DCVAODg=="],
1347
1347
 
1348
- "real-require": ["real-require@0.2.0", "", {}, "sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg=="],
1348
+ "real-require": ["real-require@1.0.0", "", {}, "sha512-P4nbQYQfePJxRSmY+v/KINxVucm4NF3p3s7pJveMTtom52FR4YGltUQLB8idDXwDDWW+eYrWDFbuzUnjoWHF7g=="],
1349
1349
 
1350
1350
  "reflect-metadata": ["reflect-metadata@0.2.2", "", {}, "sha512-urBwgfrvVP/eAyXx4hluJivBKzuEbSQs9rKWCrCkbSxNv8mxPcUZKeuoF3Uy4mJl3Lwprp6yy5/39VWigZ4K6Q=="],
1351
1351
 
@@ -1355,7 +1355,7 @@
1355
1355
 
1356
1356
  "remark-stringify": ["remark-stringify@11.0.0", "", { "dependencies": { "@types/mdast": "^4.0.0", "mdast-util-to-markdown": "^2.0.0", "unified": "^11.0.0" } }, "sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw=="],
1357
1357
 
1358
- "remend": ["remend@1.3.1", "", {}, "sha512-N3DiY5qbRPoa5vkxn1oDLMyXOVTeo6Hp+XOj6SIqJAYUgLS0Q587gILPMom/qm86AQ/ZrcOdwEIzCz8V3J0nxQ=="],
1358
+ "remend": ["remend@1.4.0", "", {}, "sha512-mHiYhhwphs1IgIZmkToKLwJn0U99IjPXuutkA2acrNcG0vlEq2G4TGnd2eT0saIHwh2KjaCpvleHcsd5SAz96A=="],
1359
1359
 
1360
1360
  "require-directory": ["require-directory@2.1.1", "", {}, "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q=="],
1361
1361
 
@@ -1363,13 +1363,13 @@
1363
1363
 
1364
1364
  "require-in-the-middle": ["require-in-the-middle@8.0.1", "", { "dependencies": { "debug": "^4.3.5", "module-details-from-path": "^1.0.3" } }, "sha512-QT7FVMXfWOYFbeRBF6nu+I6tr2Tf3u0q8RIEjNob/heKY/nh7drD/k7eeMFmSQgnTtCzLDcCu/XEnpW2wk4xCQ=="],
1365
1365
 
1366
- "resend": ["resend@6.31.0", "", { "dependencies": { "postal-mime": "2.7.6", "standardwebhooks": "1.1.1" }, "peerDependencies": { "@react-email/render": "*" } }, "sha512-E9Ekrm888UKKCIY61UmDkgRVd2Q9OwihimgStrWJ4olNsjFYM25F4X8QbzrLuZz6W9iS7eLMS7MLbRBNqnlI/Q=="],
1366
+ "resend": ["resend@6.32.0", "", { "dependencies": { "postal-mime": "2.7.6", "standardwebhooks": "1.1.1" }, "peerDependencies": { "@react-email/render": "*" } }, "sha512-bZZUeKlpKINFT+zGG2iIzfDewkyEHRaE7Xk1haseVz3Gfw6ekkizN6KdKgZSMjt5ywE8vMwr3wTdenlF8P475Q=="],
1367
1367
 
1368
1368
  "retry": ["retry@0.13.1", "", {}, "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg=="],
1369
1369
 
1370
1370
  "rimraf": ["rimraf@5.0.10", "", { "dependencies": { "glob": "^10.3.7" }, "bin": "dist/esm/bin.mjs" }, "sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ=="],
1371
1371
 
1372
- "rollup": ["rollup@4.63.5", "", { "dependencies": { "@types/estree": "1.0.9" }, "optionalDependencies": { "@napi-rs/lzma-linux-x64-gnu": "1.5.1", "@rollup/rollup-android-arm-eabi": "4.63.5", "@rollup/rollup-android-arm64": "4.63.5", "@rollup/rollup-darwin-arm64": "4.63.5", "@rollup/rollup-darwin-x64": "4.63.5", "@rollup/rollup-freebsd-arm64": "4.63.5", "@rollup/rollup-freebsd-x64": "4.63.5", "@rollup/rollup-linux-arm-gnueabihf": "4.63.5", "@rollup/rollup-linux-arm-musleabihf": "4.63.5", "@rollup/rollup-linux-arm64-gnu": "4.63.5", "@rollup/rollup-linux-arm64-musl": "4.63.5", "@rollup/rollup-linux-loong64-gnu": "4.63.5", "@rollup/rollup-linux-loong64-musl": "4.63.5", "@rollup/rollup-linux-ppc64-gnu": "4.63.5", "@rollup/rollup-linux-ppc64-musl": "4.63.5", "@rollup/rollup-linux-riscv64-gnu": "4.63.5", "@rollup/rollup-linux-riscv64-musl": "4.63.5", "@rollup/rollup-linux-s390x-gnu": "4.63.5", "@rollup/rollup-linux-x64-gnu": "4.63.5", "@rollup/rollup-linux-x64-musl": "4.63.5", "@rollup/rollup-openbsd-x64": "4.63.5", "@rollup/rollup-openharmony-arm64": "4.63.5", "@rollup/rollup-win32-arm64-msvc": "4.63.5", "@rollup/rollup-win32-ia32-msvc": "4.63.5", "@rollup/rollup-win32-x64-gnu": "4.63.5", "@rollup/rollup-win32-x64-msvc": "4.63.5", "fsevents": "~2.3.2" }, "bin": "dist/bin/rollup" }, "sha512-KRWwmNLlPw5M7HcdYfm15oBv9n9LPtjzpzCIxS/phwqvPyxHSoKX6Y2YU3pxSPfy0CLquVgsx/j/hBi6OvH1Nw=="],
1372
+ "rollup": ["rollup@4.64.0", "", { "dependencies": { "@types/estree": "1.0.9" }, "optionalDependencies": { "@napi-rs/lzma-linux-x64-gnu": "1.5.1", "@rollup/rollup-android-arm-eabi": "4.64.0", "@rollup/rollup-android-arm64": "4.64.0", "@rollup/rollup-darwin-arm64": "4.64.0", "@rollup/rollup-darwin-x64": "4.64.0", "@rollup/rollup-freebsd-arm64": "4.64.0", "@rollup/rollup-freebsd-x64": "4.64.0", "@rollup/rollup-linux-arm-gnueabihf": "4.64.0", "@rollup/rollup-linux-arm-musleabihf": "4.64.0", "@rollup/rollup-linux-arm64-gnu": "4.64.0", "@rollup/rollup-linux-arm64-musl": "4.64.0", "@rollup/rollup-linux-loong64-gnu": "4.64.0", "@rollup/rollup-linux-loong64-musl": "4.64.0", "@rollup/rollup-linux-ppc64-gnu": "4.64.0", "@rollup/rollup-linux-ppc64-musl": "4.64.0", "@rollup/rollup-linux-riscv64-gnu": "4.64.0", "@rollup/rollup-linux-riscv64-musl": "4.64.0", "@rollup/rollup-linux-s390x-gnu": "4.64.0", "@rollup/rollup-linux-x64-gnu": "4.64.0", "@rollup/rollup-linux-x64-musl": "4.64.0", "@rollup/rollup-openbsd-x64": "4.64.0", "@rollup/rollup-openharmony-arm64": "4.64.0", "@rollup/rollup-win32-arm64-msvc": "4.64.0", "@rollup/rollup-win32-ia32-msvc": "4.64.0", "@rollup/rollup-win32-x64-gnu": "4.64.0", "@rollup/rollup-win32-x64-msvc": "4.64.0", "fsevents": "~2.3.2" }, "bin": "dist/bin/rollup" }, "sha512-gjA/kFeDfffII8COoPsvLPvE16hWDTEc1+0QKQNKUkuV8iJjqsC4xXs8/FzuL0v9EV39kuxTbAgcFoTRyy2TGQ=="],
1373
1373
 
1374
1374
  "rou3": ["rou3@0.9.2", "", {}, "sha512-3SOzvaAg8rkHrXtRjpCvCvbyO5to9oOO27Z/XqHEYXfMRVSw/qMIVdmaOk9W2lcRLtR6dlqTjo9hDeJk70QBYQ=="],
1375
1375
 
@@ -1431,7 +1431,7 @@
1431
1431
 
1432
1432
  "source-map": ["source-map@0.6.1", "", {}, "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="],
1433
1433
 
1434
- "source-map-js": ["source-map-js@1.2.1", "", {}, "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA=="],
1434
+ "source-map-js": ["source-map-js@1.2.2", "", {}, "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw=="],
1435
1435
 
1436
1436
  "split2": ["split2@4.2.0", "", {}, "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg=="],
1437
1437
 
@@ -1723,8 +1723,6 @@
1723
1723
 
1724
1724
  "tar-fs/tar-stream": ["tar-stream@2.2.0", "", { "dependencies": { "bl": "^4.0.3", "end-of-stream": "^1.4.1", "fs-constants": "^1.0.0", "inherits": "^2.0.3", "readable-stream": "^3.1.1" } }, "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ=="],
1725
1725
 
1726
- "thread-stream/real-require": ["real-require@1.0.0", "", {}, "sha512-P4nbQYQfePJxRSmY+v/KINxVucm4NF3p3s7pJveMTtom52FR4YGltUQLB8idDXwDDWW+eYrWDFbuzUnjoWHF7g=="],
1727
-
1728
1726
  "tsyringe/tslib": ["tslib@1.14.1", "", {}, "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="],
1729
1727
 
1730
1728
  "type-is/content-type": ["content-type@2.1.0", "", {}, "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag=="],
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/entity-page-DZUGex-P.js","assets/index-GZkujXG1.js","assets/index-BmAuAhub.css","assets/schema-value-normalization-CPLeOm7K.js","assets/calendar-CvEqJnKS.js","assets/view-frame-DxiuLSGA.js","assets/app-bridge-BH3g2mKG.js","assets/missing-view-CAFqvZpi.js","assets/use-applied-views-BpvIIgWG.js"])))=>i.map(i=>d[i]);
2
+ import{r as n,aV as j,aW as m,aX as v,aY as P,l as R,p as _,_ as E,V as S,j as e,aZ as w,a_ as b,a$ as N}from"./index-GZkujXG1.js";function h(){return n.useEffect(()=>{j()},[]),null}const F=b(async()=>({default:(await N(async()=>{const{EntityPage:s}=await import("./entity-page-DZUGex-P.js");return{EntityPage:s}},__vite__mapDeps([0,1,2,3,4,5,6,7,8]))).EntityPage}));function r(){return e.jsx("div",{"data-public-loading":"true",children:e.jsx(w,{})})}function k(){const{owner:s,_splat:x}=m.useParams(),a=m.useSearch(),i=v(x||""),o=i?.viewKey,{path:f}=P(s,i?.entityPath),{data:t,isLoading:c,error:d}=R(f,{slug:s},{includeBootstrap:!0}),{session:y,isReady:l}=_(),u=E();if(n.useEffect(()=>{t?.redirect&&u({to:t.redirect.to,replace:!0})},[t?.redirect,u]),S({active:!c&&l&&!y&&(!!d||!t),owner:s}),c||!l&&!t)return e.jsx(r,{});if(t?.redirect)return e.jsx(r,{});if(d||!t||!t.entity)return e.jsxs(e.Fragment,{children:[e.jsx(h,{}),e.jsxs("div",{className:"flex flex-col items-center justify-center py-16 text-center",children:[e.jsx("h1",{className:"text-2xl font-semibold",children:"Not Found"}),e.jsx("p",{className:"text-muted-foreground mt-2",children:"We couldn't resolve this path."})]})]});const g=!o&&typeof a.merged_from=="string"&&t.entity.merged_records?.some(p=>p.name===a.merged_from)?a.merged_from:void 0;return e.jsxs(e.Fragment,{children:[e.jsx(h,{}),e.jsx(n.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(F,{namespace:t.workspace,path:t.path,entity:t.entity,mergedFrom:g,viewKey:o})})]})}export{k as component};
@@ -0,0 +1 @@
1
+ import{cm as t,j as p,cn as m}from"./index-GZkujXG1.js";import{A as e}from"./activity-route-view-CTQEg3Us.js";import"./device-automation-BIjs7DZJ.js";import"./agent-thread-storage-U6htL3ad.js";import"./pending-seed-CPbfgnLX.js";import"./clients-DqMOcwpO.js";import"./client-rows-EJSKR6z1.js";import"./connection-label-BobuYiAG.js";import"./events-feed-BgvLTppV.js";import"./use-applied-views-BpvIIgWG.js";import"./renderer-eFSU65zm.js";import"./card-MXMmjz9G.js";import"./calendar-CvEqJnKS.js";import"./agent-loading-shells-Cve_XIMW.js";import"./member-scope-gate-CM-GNviT.js";function w(){const{owner:o,_splat:r}=t.useParams(),i=t.useSearch();return p.jsx(e,{owner:o,search:i,attentionLens:!1,entityScope:m(r||"").path})}export{w as component};
@@ -0,0 +1 @@
1
+ import{gP as r,j as e}from"./index-GZkujXG1.js";import{A as n}from"./agents-workbench-BZaoiFNY.js";import"./agent-editor-form-CEEFNek5.js";import"./model-selector-BoudNhPZ.js";import"./proposal-review-shell-C04RG1qM.js";import"./runs-DwThk2CI.js";function c(){const{owner:o,agentId:t}=r.useParams();return e.jsx(n,{owner:o,agentId:t})}export{c as component};
@@ -0,0 +1 @@
1
+ import{_ as L,gE as w,r as u,j as n,af as D,cv as k,p as E,q as P,bt as M,bk as N,bF as R,cx as O,gF as F,gG as Q,bQ as $,a3 as B}from"./index-GZkujXG1.js";import{L as _,A as q}from"./agent-thread-DhCFggHZ.js";import{n as b}from"./agent-thread-storage-U6htL3ad.js";import{A as z,C as G}from"./agent-loading-shells-Cve_XIMW.js";import"./app-bridge-BH3g2mKG.js";import"./pending-seed-CPbfgnLX.js";import"./use-mention-search-Vndny_Gd.js";import"./index-Vcq4gwWv.js";function H({owner:t,agent:s,threadId:e,afterMessagesContent:d,className:r,initialDraft:x,newChatRequested:m=!1,preventAutoNavigate:g}){const o=L(),i=s.agentId,{data:a=[]}=w(i,{orgSlug:t}),[l,p]=u.useState(()=>b()),[h,A]=u.useState(null);u.useEffect(()=>{!m||e||(p(b()),A(null),o({to:".",search:(f=>{const{new:C,...S}=f;return S}),replace:!0}))},[m,e,o]);const v=u.useMemo(()=>!h||a.some(f=>f.id===h.id)?a:[h,...a],[a,h]),c=e??l,T=!e||!v.some(f=>f.id===e),j=u.useCallback(()=>{if(v.some(C=>C.id===c))return;A({id:c,title:`Conversation ${v.length+1}`,createdAt:Date.now(),updatedAt:Date.now()});const f=k(t,i,c);o({...f,replace:!0})},[v,c,o,t,i]),y=u.useCallback(()=>{T&&!g&&j()},[T,j,g]);return n.jsx("div",{className:D("flex min-h-0 flex-1 flex-col",r),children:n.jsx("div",{className:"flex min-h-0 flex-1 flex-col",children:n.jsx(_,{agentId:i,workspaceSlug:t,thread:c,loadHistory:!!e,onFirstUserMessage:y,initialDraft:x,children:n.jsx(q,{afterMessagesContent:d})},`${i}:${c}`)})})}function U({owner:t,agentId:s,threadId:e,initialDraft:d,newChatRequested:r,afterMessagesContent:x,preventAutoNavigate:m}){const{isAuthenticated:g}=E(),{isMember:o,isLoading:i}=P(),a=g&&o,{data:l=[],isLoading:p}=M({enabled:a}),h=s??null,A=l.find(c=>c.agentId===h)??null;return a&&p||i?n.jsx(z,{}):A?n.jsx(H,{owner:t,agent:A,threadId:e,initialDraft:d,newChatRequested:r,afterMessagesContent:x,preventAutoNavigate:m,className:"min-h-0 flex-1 overflow-hidden"}):n.jsx(N,{icon:R,title:"Agent not found",description:"This agent may have been removed."})}function W(t){return[...t].sort((s,e)=>e.updatedAt-s.updatedAt)[0]}function J({owner:t,agentId:s,threadId:e,initialDraft:d,forceComposer:r=!1,newChatRequested:x=!1,afterMessagesContent:m,preventAutoNavigate:g}){const o=L(),{data:i=[],isLoading:a}=O(F(t,s,{strict:!1})),l=u.useMemo(()=>W(i),[i]);return u.useEffect(()=>{if(e||r||a||!l)return;const p=k(t,s,l.id);o({...p,replace:!0})},[s,a,l,o,t,e,r]),!e&&!r&&(a||l)?n.jsx(G,{}):n.jsx(U,{owner:t,agentId:s,threadId:e,initialDraft:d,newChatRequested:x,afterMessagesContent:m,preventAutoNavigate:g})}function se(){const{owner:t,agentId:s}=Q.useParams(),{threadId:e}=$({strict:!1}),{new:d,prompt:r}=B({strict:!1});return n.jsx("div",{className:"flex min-h-0 flex-1 flex-col overflow-hidden px-4 py-4 lg:px-6 lg:py-6",children:n.jsx("div",{className:"mx-auto flex min-h-0 w-full max-w-3xl flex-1 flex-col",children:n.jsx(J,{owner:t,agentId:s,threadId:e,initialDraft:r,forceComposer:!e,newChatRequested:!!d})})})}export{se as component};
@@ -0,0 +1 @@
1
+ import{_ as N,Z as k,l as A,p as L,q as C,D as y,j as t,B as n,eD as D,bF as _,S as b,L as R,F as $,gI as p,aS as O}from"./index-GZkujXG1.js";import{a as S}from"./automation-detail-content-C08Ef137.js";import"./create-automation-form-BHir-pIp.js";import"./cronstrue-BwvvZn_Y.js";import"./entity-options-Bm1sbpmt.js";import"./connection-label-BobuYiAG.js";import"./switch-Dcx3_8kM.js";import"./device-automation-BIjs7DZJ.js";import"./model-selector-BoudNhPZ.js";import"./skill-editor-D_W3QlRz.js";import"./code-editor-bpbaa7f6.js";import"./index-CDz3-ieP.js";import"./index-Vcq4gwWv.js";import"./use-mention-search-Vndny_Gd.js";import"./proposal-review-shell-C04RG1qM.js";import"./runs-DwThk2CI.js";import"./json-diff-D6sv990W.js";import"./deployments-DHAx8TBs.js";import"./agent-loading-shells-Cve_XIMW.js";import"./agent-thread-DhCFggHZ.js";import"./app-bridge-BH3g2mKG.js";import"./pending-seed-CPbfgnLX.js";import"./events-feed-BgvLTppV.js";import"./use-applied-views-BpvIIgWG.js";import"./clients-DqMOcwpO.js";import"./renderer-eFSU65zm.js";import"./card-MXMmjz9G.js";function z({owner:o,automationId:e,view:a,runId:s}){const r=N(),{orgContext:u,hasOrgContext:x}=k(),{data:g,isLoading:m}=A(`/${o}`,u),{isAuthenticated:h}=L(),{isLoading:c}=C(),f=g?.workspace?.id??"",v=h?!x||m||c:m||c,i=y(e,void 0,f).data?.automation,j=i?.automation_name??"Automation",l=()=>void r({to:"/$owner/automations",params:{owner:o}}),d=()=>void r({to:"/$owner/automations/$automationId",params:{owner:o,automationId:e},search:{view:"activity",run_id:void 0}}),w=!s&&a==="definition";return t.jsx("div",{className:"flex flex-1 flex-col gap-6 px-4 py-6 lg:px-6",children:t.jsxs("div",{className:"mx-auto flex w-full min-w-0 max-w-3xl flex-col gap-4",children:[t.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[t.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[t.jsxs(n,{type:"button",variant:"ghost",size:"sm",className:"h-8 gap-1.5 text-muted-foreground hover:text-foreground",onClick:l,children:[t.jsx(D,{className:"h-3.5 w-3.5"}),"Automations"]}),t.jsxs("h1",{className:"flex min-w-0 items-center gap-2 truncate font-display text-xl font-semibold",children:[t.jsx(_,{className:"h-4 w-4 shrink-0 text-muted-foreground","aria-hidden":!0}),v&&!i?t.jsx(b,{className:"h-5 w-40"}):s?"Review change":j]})]}),s?null:w?t.jsx(n,{type:"button",variant:"ghost",size:"sm",className:"h-8 text-muted-foreground hover:text-foreground",onClick:d,children:"Done"}):t.jsx(n,{asChild:!0,variant:"ghost",size:"sm",className:"h-8 gap-1.5",children:t.jsxs(R,{to:"/$owner/automations/$automationId",params:{owner:o,automationId:e},search:{view:"definition",run_id:void 0},children:[t.jsx($,{className:"h-3.5 w-3.5"}),"Edit"]})})]}),t.jsx(S,{owner:o,agentId:i?.managed_agent_id??null,automationId:e,view:a,runId:s,onDone:s?l:d})]})})}function ct(){const{owner:o,automationId:e}=p.useParams(),a=p.useSearch();return t.jsx(O,{owner:o,children:()=>t.jsx(z,{owner:o,automationId:e,view:a.view,runId:a.run_id})})}export{ct as component};
@@ -0,0 +1 @@
1
+ import{h$ as F,j as e,aS as P,_ as W,b9 as H,a as O,d7 as V,i as G,S as L,L as h,gC as v,gA as U,bp as q,de as z,gB as J,hk as A,a4 as Q}from"./index-GZkujXG1.js";import{R as X,c as Y,C as Z}from"./device-pin-tombstone-Dkmmka9d.js";import{a as K}from"./connector-provenance-RL_DcF2q.js";import{f as ee,C as ne,F as se,b as ae,a as oe,A as te,c as ce}from"./connection-feed-detail-XYK-ubKG.js";import{S as ie,g as re}from"./runs-table-Dh7FL3Va.js";import{c as de}from"./connection-label-BobuYiAG.js";import{c as le}from"./device-rows-CkTAaZ3m.js";import"./runs-panel-DfxWCV7K.js";import"./runs-DwThk2CI.js";import"./entity-options-Bm1sbpmt.js";function _e(){const{owner:r,connectorKey:a,connectionId:f}=F.useParams(),{addFeed:o,feedId:d,settings:u,auth_result:c}=F.useSearch();return e.jsx(P,{owner:r,children:l=>e.jsx(me,{organizationId:l.organizationId,ownerSlug:l.ownerSlug,isWorkspaceLoading:l.isWorkspaceLoading,connectorKey:a,connectionId:Number(f),showAddFeed:o===!0,feedId:d,openSettings:u===!0,authResult:c})})}function me({organizationId:r,ownerSlug:a,isWorkspaceLoading:f,connectorKey:o,connectionId:d,showAddFeed:u,feedId:c,openSettings:l,authResult:R}){const S=W(),{data:I=[]}=H(),{data:B=[],isLoading:E}=O(r??"",{connectorKey:o}),{data:C=[]}=V(r??""),{data:M=[]}=G(c?d:null),n=B.find(t=>t.id===d),s=C.find(t=>t.key===o),i=c?M.find(t=>t.id===c):null;if(f||E||!r)return e.jsxs("div",{className:"flex flex-1 flex-col gap-4",children:[e.jsxs("div",{className:"flex flex-wrap items-baseline gap-x-3 gap-y-1",children:[e.jsx(L,{className:"h-7 w-56"}),e.jsx(L,{className:"h-4 w-24"})]}),e.jsx(X,{})]});if(!n)return e.jsxs("div",{children:[e.jsx("p",{className:"text-sm text-muted-foreground",children:"Connection not found."}),e.jsxs(h,{to:"/$owner/connectors/$connectorKey",params:{owner:a,connectorKey:o},className:"mt-2 inline-block text-sm text-primary hover:underline",children:["Back to ",s?.name??o]})]});const D=de({...n,connector_name:n.connector_name??s?.name??null}),p=!c&&!u,T=()=>void S({to:"/$owner/connectors/$connectorKey/$connectionId",params:{owner:a,connectorKey:o,connectionId:String(d)},search:{},replace:!0});let m,x=D,g,_,j;c?i?(x=ee(i,s),i.store==="channel_messages"?(m=e.jsx(ne,{feed:i,hideHeader:!0}),j="chat channel"):(g=e.jsx(se,{feed:i,ownerSlug:a}),_=e.jsx(ae,{feed:i}),m=e.jsx(oe,{feed:i,connectorDef:s,ownerSlug:a}))):(m=e.jsx("p",{className:"text-sm text-muted-foreground",children:"Feed not found."}),x="Feed"):u&&(m=e.jsx(te,{onClose:T,organizationId:r,connections:[n],connectorDefinitions:C}),x="Add feed",j=ce);const N=[e.jsx(h,{to:"/$owner/connectors",params:{owner:a},className:v,children:"Connectors"},"connectors"),e.jsx(h,{to:"/$owner/connectors/$connectorKey",params:{owner:a,connectorKey:o},search:{},className:v,children:s?.name??o},"connector")];p||N.push(e.jsx(h,{to:"/$owner/connectors/$connectorKey/$connectionId",params:{owner:a,connectorKey:o,connectionId:String(d)},search:{},className:v,children:D},"connection"));const $=p?Y(n):null,y=j??$??void 0,b=e.jsx(U,{breadcrumb:e.jsx(J,{crumbs:N}),icon:s?e.jsx(q,{icon:s.icon,name:s.name,faviconDomain:s.favicon_domain??z(s.auth_schema)}):null,title:x,status:g??e.jsx(ie,{status:re(n.status),showDot:!0,children:n.status}),meta:_,caption:y,captionTone:$?"error":"muted"});if(!p)return e.jsx(A,{header:b,children:e.jsx("div",{className:"mt-0",children:m})});const k=s&&le(s)?I.find(t=>t.id===n.device_worker_id&&t.connectors.some(w=>w.connection_id===n.id&&w.organization_slug===a)):void 0;return k?e.jsx(Q,{to:"/$owner/connectors/device/$deviceId",params:{owner:a,deviceId:k.id},search:{connection:n.id,settings:l||void 0},hash:`connection-${n.id}`,replace:!0}):e.jsxs(A,{header:b,children:[e.jsx(K,{connectorDef:s,connectorKey:o,ownerSlug:a,deviceWorkerId:n.device_worker_id,deviceLabel:n.device_label}),e.jsx(Z,{connection:n,connectorDef:s,ownerSlug:a,openSettings:l,authResult:R},n.id)]})}export{_e as component};
@@ -0,0 +1 @@
1
+ import{h4 as Xe,am as Ze,h5 as re,r as h,h6 as ye,h7 as Je,cw as es,h8 as Ne,aA as K,h9 as be,j as e,a6 as P,bR as we,bS as Se,bT as Ae,bU as _e,bV as Pe,gW as ss,a7 as $,B as g,b_ as Y,n as T,R as Ce,ha as ts,hb as as,x as ns,hc as rs,bu as ie,hd as is,he as ls,hf as De,hg as Le,hh as $e,aP as J,ab as M,bD as ae,hi as os,g1 as cs,hj as ds,fL as W,hk as le,hl as us,S as L,eL as I,p as ms,hm as hs,hn as xs,ho as ps,hp as fs,hq as gs,hr as js,hs as vs,ht as ys,cc as Z,hu as Ns,hv as bs,cb as Cs,eh as ks,e3 as ws,af as ee,dL as Ss,cf as As,P as Fe,hw as se,hx as _s,aS as Ps,hy as Oe,b5 as te,o as Ee,eN as Re,bd as Ds,hz as Be,eM as Ls,hA as Ue,L as G,hB as $s,ek as Fs,u as Os,a as Es,bl as Rs,ba as V,cD as Ie,_ as q,hC as Bs,b8 as Us,hD as Is,gA as oe,bq as Me,bp as ce,bm as Ms,gB as de,gC as ue,b6 as zs,b7 as Ts,hE as Ks,de as Vs}from"./index-GZkujXG1.js";import{C as qs}from"./connector-provenance-RL_DcF2q.js";import{a as Ys}from"./runs-table-Dh7FL3Va.js";import{R as Ws}from"./runs-panel-DfxWCV7K.js";import"./connection-label-BobuYiAG.js";import"./runs-DwThk2CI.js";function Gs({catalog:s,initialProvider:t,initialModel:a,onDone:n}){const r=Xe(),i=Ze(),o=s.find(l=>l.slug===t)??s[0],p=o&&re(o)?"oauth":"api-key",[d,x]=h.useState(o?.slug??""),[u,c]=h.useState(o?.slug??""),[v,y]=h.useState(o?.displayName??""),[j,N]=h.useState(o?.baseUrl??""),[C,D]=h.useState(a??o?.defaultModel??""),[S,k]=h.useState(""),[z,w]=h.useState(o?.apiKeyPlaceholder??""),[R,F]=h.useState(p),[E,B]=h.useState(""),[f,m]=h.useState(null),[A,U]=h.useState(!1),[Q,me]=h.useState(!1),b=s.find(l=>l.slug===d),H=ye(b?.modalities??[]),he=b?re(b):!1,xe=b?Je(b):!1,pe=he&&R==="oauth",fe=xe&&!pe,O=es().slug,X=h.useCallback(()=>{me(!0),i.invalidateQueries({queryKey:["inference-providers"]})},[i]),Ke=h.useCallback(()=>{i.invalidateQueries({queryKey:["inference-providers"]}),n()},[i,n]),Ve=h.useCallback(async()=>{if(!(!O||!b)){U(!0);try{const l=await Ne(O,b.slug);if(l.mode!=="redirect")throw new Error("Unexpected sign-in mode");window.open(l.authorizeUrl,"_blank","noreferrer")}catch(l){K.error(l instanceof Error?l.message:"Failed to start sign-in")}finally{U(!1)}}},[O,b]),qe=h.useCallback(async()=>{if(!(!O||!b||!E.trim())){U(!0);try{const l=await be(O,b.slug,{code:E.trim()});if(l.status!=="success")throw new Error(l.error||"Sign-in not complete");X(),K.success(`Signed in with ${b.displayName}`)}catch(l){K.error(l instanceof Error?l.message:"Failed to complete sign-in")}finally{U(!1)}}},[O,b,E,X]),Ye=h.useCallback(async()=>{if(!(!O||!b)){U(!0);try{const l=await Ne(O,b.slug);if(l.mode!=="device")throw new Error("Unexpected sign-in mode");m({userCode:l.userCode,deviceAuthId:l.deviceAuthId,verificationUrl:l.verificationUrl}),window.open(l.verificationUrl,"_blank","noreferrer")}catch(l){K.error(l instanceof Error?l.message:"Failed to start sign-in")}finally{U(!1)}}},[O,b]),We=h.useCallback(async()=>{if(!(!O||!b||!f)){U(!0);try{const l=await be(O,b.slug,{deviceAuthId:f.deviceAuthId,userCode:f.userCode});if(l.status==="success"){X(),K.success(`Signed in with ${b.displayName}`);return}m(_=>_&&{..._,message:l.error||"Waiting for approval..."})}catch(l){K.error(l instanceof Error?l.message:"Failed to check status")}finally{U(!1)}}},[O,b,f,X]),Ge=b?.supportedAuthTypes.includes("device-code")??!1,Qe=l=>{x(l);const _=s.find(ne=>ne.slug===l);_&&(c(_.slug),y(_.displayName),N(_.baseUrl),D(_.slug===t&&a?a:_.defaultModel??""),w(_.apiKeyPlaceholder),F(re(_)?"oauth":"api-key"),B(""),m(null),me(!1))},ge=/^[a-z0-9][a-z0-9-]*$/.test(u),je=ge&&fe&&S.trim().length>0&&!r.isPending,He=l=>{if(l.preventDefault(),!je)return;const _={};j.trim()&&(_.base_url=j.trim()),C.trim()&&(_.model=C.trim());const ne=Object.keys(_).length>0?{text:_}:void 0;r.mutate({slug:u.trim(),kind:d,displayName:v.trim()||void 0,apiKey:S.trim(),capabilities:ne},{onSuccess:()=>n()})},ve=!!(t&&s.some(l=>l.slug===t));return e.jsxs("div",{className:"space-y-3",children:[e.jsx("h3",{className:"text-sm font-medium",children:ve&&b?`Connect ${b.displayName}`:"Add an inference provider"}),e.jsxs("form",{onSubmit:He,className:"grid max-w-md gap-3",children:[ve&&b?e.jsx("p",{className:"text-xs text-muted-foreground",children:H.length>0?`Serves text, plus ${H.join(", ").toLowerCase()}.`:"Serves text (chat)."}):e.jsxs("div",{className:"grid gap-2",children:[e.jsx(P,{htmlFor:"ip-provider",children:"Provider"}),e.jsxs(we,{value:d,onValueChange:Qe,children:[e.jsx(Se,{id:"ip-provider",className:"w-full",children:e.jsx(Ae,{})}),e.jsx(_e,{children:s.map(l=>{const _=ye(l.modalities);return e.jsx(Pe,{value:l.slug,children:e.jsxs("span",{className:"flex items-center gap-2",children:[l.iconUrl?e.jsx("img",{src:l.iconUrl,alt:"",className:"h-4 w-4 shrink-0 rounded-sm",loading:"lazy"}):e.jsx(ss,{className:"h-4 w-4 shrink-0 text-muted-foreground"}),l.displayName,_.length>0?e.jsxs("span",{className:"text-xs text-muted-foreground",children:["· ",_.join(", ")]}):null]})},l.slug)})})]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:H.length>0?`Serves text, plus ${H.join(", ").toLowerCase()}.`:"Serves text (chat)."})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(P,{htmlFor:"ip-display",children:"Name"}),e.jsx($,{id:"ip-display",placeholder:"Friendly name",value:v,onChange:l=>y(l.target.value)})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsxs(P,{htmlFor:"ip-slug",children:["Slug ",e.jsx("span",{className:"ml-1 text-destructive",children:"*"})]}),e.jsx($,{id:"ip-slug",placeholder:"my-provider",value:u,onChange:l=>c(l.target.value),autoComplete:"off",required:!0}),u&&!ge?e.jsx("p",{className:"text-xs text-destructive",children:"Lowercase letters, numbers, and hyphens only."}):e.jsx("p",{className:"text-xs text-muted-foreground",children:"A stable identifier agents reference this provider by."})]}),he&&xe?e.jsxs("div",{className:"grid gap-2",children:[e.jsx(P,{children:"Auth method"}),e.jsxs("div",{className:"inline-flex w-fit rounded-md border border-border p-1",children:[e.jsx(g,{type:"button",size:"sm",variant:R==="oauth"?"secondary":"ghost",onClick:()=>F("oauth"),children:"Sign in"}),e.jsx(g,{type:"button",size:"sm",variant:R==="api-key"?"secondary":"ghost",onClick:()=>F("api-key"),children:"API key"})]})]}):null,fe?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(P,{htmlFor:"ip-base-url",children:"Base URL"}),e.jsx($,{id:"ip-base-url",placeholder:"https://api.example.com/v1",value:j,onChange:l=>N(l.target.value),autoComplete:"off"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Override the upstream URL — e.g. a self-hosted vLLM, Azure, or LiteLLM endpoint."})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(P,{htmlFor:"ip-model",children:"Default model"}),e.jsx($,{id:"ip-model",placeholder:"gpt-4o-mini",value:C,onChange:l=>D(l.target.value),autoComplete:"off"})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsxs(P,{htmlFor:"ip-key",children:["API key ",e.jsx("span",{className:"ml-1 text-destructive",children:"*"})]}),e.jsx($,{id:"ip-key",type:"password",placeholder:z||void 0,value:S,onChange:l=>k(l.target.value),autoComplete:"off",required:!0}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Stored encrypted in the vault. It's never shown again — rotate it here if it changes."})]}),e.jsx(Y,{onCancel:n,children:e.jsx(g,{type:"submit",disabled:!je,children:r.isPending?e.jsxs(e.Fragment,{children:[e.jsx(T,{size:"lg",className:"mr-2"}),"Creating..."]}):"Create provider"})})]}):pe?e.jsxs("div",{className:"grid gap-3",children:[Q?e.jsxs("p",{className:"text-sm text-muted-foreground",children:["Signed in with ",b?.displayName??"provider",". This covers your agents in this org."]}):Ge?e.jsxs("div",{className:"grid gap-2",children:[e.jsx(g,{type:"button",variant:"outline",className:"justify-self-start",onClick:()=>void Ye(),disabled:A||!O,children:f?"Get a new code":"Get device code"}),f?e.jsxs("div",{className:"grid gap-2",children:[e.jsx(P,{htmlFor:"ip-device-code",children:"Device code"}),e.jsx($,{id:"ip-device-code",readOnly:!0,value:f.userCode}),e.jsx(g,{type:"button",variant:"default",className:"justify-self-start",asChild:!0,children:e.jsxs("a",{href:f.verificationUrl,target:"_blank",rel:"noreferrer",children:["Open ",b?.displayName??"provider"," to approve",e.jsx(Ce,{className:"h-4 w-4"})]})}),e.jsx("p",{className:"text-xs text-muted-foreground",children:f.message||"We opened the approval page. Enter the code above if asked, approve, then check status."}),e.jsx(g,{type:"button",variant:"outline",className:"justify-self-start",onClick:()=>void We(),disabled:A,children:A?"Checking...":"Check status"})]}):null]}):e.jsxs("div",{className:"grid gap-2",children:[e.jsxs(g,{type:"button",variant:"outline",className:"justify-self-start",onClick:()=>void Ve(),disabled:A||!O,children:["Sign in with ",b?.displayName??"provider",e.jsx(Ce,{className:"h-4 w-4"})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(P,{htmlFor:"ip-oauth-code",children:"Paste code#state"}),e.jsx($,{id:"ip-oauth-code",placeholder:"code#state",value:E,onChange:l=>B(l.target.value),autoComplete:"off"})]}),e.jsx(g,{type:"button",className:"justify-self-start",onClick:()=>void qe(),disabled:A||!E.trim(),children:A?"Finishing...":"Finish sign-in"})]}),e.jsx(Y,{onCancel:n,children:e.jsx(g,{type:"button",onClick:Ke,disabled:!Q,children:"Done"})})]}):e.jsxs("div",{className:"grid gap-3",children:[e.jsx("p",{className:"text-sm text-muted-foreground",children:"This provider cannot be added from the catalog yet."}),e.jsx(Y,{onCancel:n})]})]})]})}const Qs={text:"Text",image:"Image",stt:"Speech-to-text",tts:"Text-to-speech"};function Hs({provider:s,catalog:t,autoOpenEdit:a}){const n=ts(),[r,i]=h.useState(a?"edit":null),o=as(s.kind,t);h.useEffect(()=>{a&&i("edit")},[a]);const d=(t.find(c=>c.slug===s.kind)?.modalities??["text"]).filter(c=>c!=="text"),x=o&&d.length>0,u=c=>i(v=>v===c?null:c);return e.jsxs("div",{className:"overflow-hidden rounded-lg border",children:[e.jsxs("div",{className:"flex flex-wrap items-start justify-between gap-3 px-3 py-2",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"truncate text-sm font-medium",children:"Credential"}),e.jsxs("p",{className:"truncate text-[11px] text-muted-foreground",children:[s.slug,s.createdAt?` · created ${ns(s.createdAt)}`:""]})]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-1.5",children:[s.isDefault?null:e.jsx(g,{variant:"outline",size:"sm",className:"h-8 text-xs",disabled:n.isPending,onClick:()=>n.mutate({providerSlug:s.slug}),children:"Set as default"}),x?e.jsx(g,{variant:"outline",size:"sm",className:"h-8 text-xs",onClick:()=>u("capabilities"),children:"Configure"}):null,e.jsx(g,{variant:"outline",size:"sm",className:"h-8 text-xs",onClick:()=>u("edit"),children:"Edit"})]})]}),r==="edit"?e.jsx("div",{className:"border-t px-3 py-3",children:e.jsx(Zs,{provider:s,supportsUpstreamConfig:o,onDone:()=>i(null)})}):null,r==="capabilities"&&x?e.jsx("div",{className:"border-t px-3 py-3",children:e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium",children:"Other modalities (optional)"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"This provider's text base URL and model are set under Edit. Only set these if you want a modality routed to a different endpoint — otherwise it uses the provider's defaults."})]}),d.map(c=>e.jsx(Js,{providerSlug:s.slug,modality:c,block:s.capabilities[c]??{}},c))]})}):null]})}function Xs({provider:s,onDeleted:t}){const a=rs(),[n,r]=h.useState(!1);return e.jsxs("div",{className:"rounded-lg border border-destructive/30 bg-destructive/5 p-4",children:[e.jsx("p",{className:"text-sm font-medium",children:"Delete provider"}),e.jsxs("p",{className:"mt-1 text-xs text-muted-foreground",children:["Removes ",s.displayName||s.slug," and its stored key from this workspace. Agents referencing it will need another connected provider before they can run."]}),e.jsx("div",{className:"mt-3",children:n?e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsxs(g,{variant:"destructive",size:"sm",disabled:a.isPending,onClick:()=>a.mutate({providerSlug:s.slug},{onSuccess:t,onSettled:()=>r(!1)}),children:[a.isPending?e.jsx(T,{size:"md",className:"mr-1.5"}):null,"Confirm delete"]}),e.jsx(g,{variant:"ghost",size:"sm",disabled:a.isPending,onClick:()=>r(!1),children:"Cancel"})]}):e.jsxs(g,{variant:"outline",size:"sm",className:"text-destructive hover:text-destructive",disabled:a.isPending,onClick:()=>r(!0),children:[e.jsx(ie,{className:"mr-1.5 h-3.5 w-3.5"}),"Delete provider"]})})]})}function Zs({provider:s,supportsUpstreamConfig:t,onDone:a}){const n=is(),r=ls(),i=De(),[o,p]=h.useState(s.displayName??""),[d,x]=h.useState(""),u=s.capabilities.text??{},[c,v]=h.useState(u.base_url??""),[y,j]=h.useState(u.model??""),[N,C]=h.useState(null),D=o.trim().length>0&&o.trim()!==(s.displayName??""),S=t&&d.trim().length>0,k=c.trim()!==(u.base_url??""),z=y.trim()!==(u.model??""),w=t&&(k||z),R={base_url:c.trim()||void 0,model:y.trim()||void 0,models_endpoint:u.models_endpoint},F=Le(R),E=t&&w&&$e(F),B=n.isPending||r.isPending||i.isPending,f=(D||S||w)&&!E&&!B,m=async A=>{if(A.preventDefault(),!!f){C(null);try{await Promise.all([D?n.mutateAsync({providerSlug:s.slug,displayName:o.trim()}):Promise.resolve(),w?i.mutateAsync({providerSlug:s.slug,modality:"text",block:R}):Promise.resolve(),S?r.mutateAsync({providerSlug:s.slug,value:d.trim()}):Promise.resolve()]),a()}catch{C("Some changes could not be saved. Review the fields and try again.")}}};return e.jsxs("form",{onSubmit:m,className:"grid max-w-md gap-3",children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(P,{htmlFor:`edit-name-${s.slug}`,children:"Name"}),e.jsx($,{id:`edit-name-${s.slug}`,value:o,onChange:A=>p(A.target.value),placeholder:s.slug}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:["The slug (",e.jsx("code",{children:s.slug}),") is fixed — agents reference it."]})]}),t?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(P,{htmlFor:`edit-base-${s.slug}`,children:"Base URL"}),e.jsx($,{id:`edit-base-${s.slug}`,placeholder:"https://api.example.com/v1",value:c,onChange:A=>v(A.target.value),autoComplete:"off"}),F.base_url?e.jsx("p",{className:"text-xs text-destructive",children:F.base_url}):null]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(P,{htmlFor:`edit-model-${s.slug}`,children:"Default model"}),e.jsx($,{id:`edit-model-${s.slug}`,placeholder:"gpt-4o-mini",value:y,onChange:A=>j(A.target.value),autoComplete:"off"}),F.model?e.jsx("p",{className:"text-xs text-destructive",children:F.model}):null]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(P,{htmlFor:`edit-key-${s.slug}`,children:"New API key"}),e.jsx($,{id:`edit-key-${s.slug}`,type:"password",value:d,onChange:A=>x(A.target.value),autoComplete:"off",placeholder:"Leave blank to keep the current key"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Enter a value only to replace the stored key. The old key is discarded."})]})]}):null,N?e.jsx("p",{className:"rounded-md bg-destructive/10 px-3 py-2 text-sm text-destructive",children:N}):null,e.jsx(Y,{onCancel:a,children:e.jsx(g,{type:"submit",disabled:!f,children:B?e.jsxs(e.Fragment,{children:[e.jsx(T,{size:"lg",className:"mr-2"}),"Saving..."]}):"Save"})})]})}function Js({providerSlug:s,modality:t,block:a}){const n=De(),[r,i]=h.useState(!1),[o,p]=h.useState(a.base_url??""),[d,x]=h.useState(a.model??""),[u,c]=h.useState(a.models_endpoint??""),[v,y]=h.useState(!!a.models_endpoint),j=!!(a.base_url||a.model||a.models_endpoint),N={base_url:o.trim()||void 0,model:d.trim()||void 0,models_endpoint:u.trim()||void 0},C=Le(N),D=$e(C),S=()=>{D||n.mutate({providerSlug:s,modality:t,block:N})};return e.jsxs("div",{className:J,children:[e.jsxs("button",{type:"button",className:"flex w-full items-center justify-between px-3 py-2 text-left",onClick:()=>i(k=>!k),children:[e.jsx("span",{className:"text-sm font-medium",children:Qs[t]}),j?e.jsx(M,{variant:"outline",children:"Custom"}):e.jsx("span",{className:"text-xs text-muted-foreground",children:"Static"})]}),r?e.jsxs("div",{className:"grid gap-3 border-t px-3 py-3",children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(P,{htmlFor:`base-${s}-${t}`,children:"Base URL"}),e.jsx($,{id:`base-${s}-${t}`,placeholder:"https://api.example.com/v1",value:o,onChange:k=>p(k.target.value),autoComplete:"off"}),C.base_url?e.jsx("p",{className:"text-xs text-destructive",children:C.base_url}):null]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(P,{htmlFor:`model-${s}-${t}`,children:"Model"}),e.jsx($,{id:`model-${s}-${t}`,placeholder:"gpt-4o-mini",value:d,onChange:k=>x(k.target.value),autoComplete:"off"}),C.model?e.jsx("p",{className:"text-xs text-destructive",children:C.model}):null]}),v?e.jsxs("div",{className:"grid gap-2",children:[e.jsx(P,{htmlFor:`endpoint-${s}-${t}`,children:"Models endpoint"}),e.jsx($,{id:`endpoint-${s}-${t}`,placeholder:"/v1/models",value:u,onChange:k=>c(k.target.value),autoComplete:"off"}),C.models_endpoint?e.jsx("p",{className:"text-xs text-destructive",children:C.models_endpoint}):e.jsx("p",{className:"text-xs text-muted-foreground",children:"Path used to list this modality's models (e.g. /v1/models)."})]}):e.jsx("button",{type:"button",className:"justify-self-start text-xs text-muted-foreground hover:text-foreground",onClick:()=>y(!0),children:"Advanced"}),e.jsx(Y,{onCancel:()=>i(!1),children:e.jsx(g,{size:"sm",disabled:D||n.isPending,onClick:S,children:n.isPending?e.jsxs(e.Fragment,{children:[e.jsx(T,{size:"lg",className:"mr-2"}),"Saving..."]}):"Save"})})]}):null]})}function et({sandbox:s}){const t=Object.entries(s.details??{});return e.jsx("div",{className:"space-y-6",children:e.jsxs("div",{className:"rounded-lg border p-4 space-y-3",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsx(tt,{kind:s.providerKind}),e.jsx("span",{className:"text-sm font-medium",children:s.name}),e.jsx(M,{variant:"secondary",className:"h-4 px-1.5 py-0 text-[10px] uppercase tracking-wide",children:s.providerKind}),s.connected?e.jsx(M,{className:"h-4 border-transparent bg-emerald-500/10 px-1.5 py-0 text-[10px] uppercase tracking-wide text-emerald-500",children:"Connected"}):e.jsx(M,{variant:"destructive",className:"h-4 border-transparent bg-destructive/10 px-1.5 py-0 text-[10px] uppercase tracking-wide text-destructive",children:"No credential"})]}),t.length>0?e.jsx("p",{className:"font-mono text-[11px] text-muted-foreground",children:t.map(([a,n])=>`${a}: ${n}`).join(" | ")}):e.jsx("p",{className:"text-sm text-muted-foreground",children:"Remote sandbox agents execute in instead of the built-in local runtime."}),s.connected?null:e.jsxs("div",{className:"flex gap-2 rounded-md border border-amber-200 bg-amber-50 p-3 text-sm text-amber-950 dark:border-amber-900/60 dark:bg-amber-950/30 dark:text-amber-100",children:[e.jsx(ae,{className:"mt-0.5 h-4 w-4 shrink-0"}),e.jsx("p",{children:"This sandbox has no vault credential. Delete it and re-add the provider with a valid key, or set the credential via the API."})]})]})})}function st({sandbox:s,onDeleted:t}){const a=os(),[n,r]=h.useState(!1);return e.jsx("div",{className:"space-y-6",children:e.jsxs("div",{className:"rounded-lg border border-destructive/30 p-4 space-y-3",children:[e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(ie,{className:"mt-0.5 h-4 w-4 shrink-0 text-destructive"}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-sm font-medium",children:"Remove sandbox"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Agents pinned to this runtime fall back to the built-in local sandbox."})]})]}),n?e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(g,{variant:"destructive",size:"sm",disabled:a.isPending,onClick:()=>a.mutate({id:s.id},{onSuccess:t}),children:a.isPending?e.jsx(T,{}):"Delete permanently"}),e.jsx(g,{variant:"ghost",size:"sm",onClick:()=>r(!1),children:"Cancel"})]}):e.jsx(g,{variant:"outline",size:"sm",className:"text-destructive hover:text-destructive",onClick:()=>r(!0),children:"Delete sandbox"})]})})}function tt({kind:s}){return s==="vercel"?e.jsxs("svg",{viewBox:"0 0 24 24",className:"h-4 w-4 shrink-0 fill-foreground","aria-hidden":!0,children:[e.jsx("title",{children:"Vercel"}),e.jsx("path",{d:"M12 3 22 20H2L12 3Z"})]}):s==="builtin"?e.jsx(cs,{className:"h-4 w-4 shrink-0 text-muted-foreground"}):e.jsx(ds,{className:"h-4 w-4 shrink-0 text-muted-foreground"})}const at={data:!1,chat:!1,actions:!1,audience:!1,inference:!0,runtime:!1},nt={data:!1,chat:!1,actions:!1,audience:!1,inference:!1,runtime:!0};function Dt(){const{owner:s,connectorKey:t}=se.useParams(),{kind:a,id:n}=_s(t);return e.jsx(Ps,{owner:s,children:({ownerSlug:r,organizationId:i,isWorkspaceLoading:o})=>{switch(a){case"inference":return e.jsx(lt,{ownerSlug:r,providerSlug:n});case"sandbox":return e.jsx(it,{ownerSlug:r,sandboxId:n});case"sandbox-provider":return e.jsx(rt,{ownerSlug:r,providerKind:n});default:return e.jsx(ut,{ownerSlug:r,organizationId:i,isWorkspaceLoading:o,connectorKey:t})}}})}function rt({ownerSlug:s,providerKind:t}){const a=q();return h.useEffect(()=>{a({to:"/$owner/connectors/create/$connectorKey",params:{owner:s,connectorKey:`${Bs}${t}`},replace:!0})},[a,s,t]),null}function it({ownerSlug:s,sandboxId:t}){const a=q(),{data:n,isLoading:r}=Us(),i=n?.sandboxes.find(p=>p.id===t)??null;if(r)return e.jsxs(V,{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(L,{className:"h-6 w-6 rounded"}),e.jsx(L,{className:"h-5 w-40"})]}),e.jsx(L,{className:"h-24 w-full rounded-lg"})]});if(!i)return e.jsxs(V,{className:"space-y-3",children:[e.jsx("p",{className:"text-sm text-muted-foreground",children:"This sandbox isn't in this workspace, so its details aren't available."}),e.jsx(g,{variant:"outline",size:"sm",onClick:()=>void a({to:"/$owner/connectors",params:{owner:s}}),children:"Back to connectors"})]});const o=i.name||Is(i.providerKind);return e.jsx("div",{className:"flex flex-1 flex-col",children:e.jsxs(le,{header:e.jsx(oe,{breadcrumb:e.jsx(de,{crumbs:[e.jsx(G,{to:"/$owner/connectors",params:{owner:s},className:ue,children:"Connectors"},"connectors")]}),icon:e.jsx(ce,{name:o,faviconDomain:Ms(i.providerKind)}),title:o,badge:e.jsxs(e.Fragment,{children:[e.jsx(M,{variant:"secondary",children:i.providerKind}),i.connected?e.jsx(M,{className:"border-transparent bg-emerald-500/10 text-emerald-500",children:"Connected"}):e.jsx(M,{variant:"destructive",children:"No credential"})]}),status:e.jsx(Me,{facets:nt})}),children:[e.jsx(et,{sandbox:i}),e.jsx(I,{title:"Settings",muted:!0,children:e.jsx(st,{sandbox:i,onDeleted:()=>void a({to:"/$owner/connectors",params:{owner:s}})})})]})})}function lt({ownerSlug:s,providerSlug:t}){const a=q(),{model:n,reason:r,agentId:i}=se.useSearch(),{data:o=[],isLoading:p}=zs(),d=Ts(),{data:x=[],isLoading:u}=d,c=o.find(D=>D.slug===t)??null,v=x.find(D=>D.slug===(c?.kind??t))??null;if(p||u)return e.jsx("div",{children:e.jsxs(V,{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(L,{className:"h-6 w-6 rounded"}),e.jsx(L,{className:"h-5 w-40"})]}),e.jsx(L,{className:"h-16 w-full rounded-lg"}),e.jsx(L,{className:"h-24 w-full rounded-lg"}),e.jsx(L,{className:"h-32 w-full rounded-lg"})]})});if(!c&&!v&&!d.isError)return e.jsxs(V,{className:"space-y-3",children:[e.jsx(Ie,{connector:{key:t,name:t},showDescription:!1,className:"gap-2"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"This connector isn't installed in this workspace, so its details aren't available."})]});const y=c?.displayName||v?.displayName||t,j=c!==null,N=r?e.jsx(dt,{agentId:i,model:n,providerName:y}):n?e.jsx(ct,{providerName:y,model:n,isConnected:j}):null,C=e.jsx(oe,{breadcrumb:e.jsx(de,{crumbs:[e.jsx(G,{to:"/$owner/connectors",params:{owner:s},className:ue,children:"Connectors"},"connectors")]}),icon:e.jsx(ce,{iconUrl:v?.iconUrl,name:y}),title:y,badge:c?e.jsxs(e.Fragment,{children:[c.isDefault?e.jsx(M,{variant:"secondary",children:"Default"}):null,c.status?e.jsx(M,{variant:"outline",children:c.status}):null,c.hasCustomUpstream?e.jsx(M,{variant:"outline",children:"Custom upstream"}):null]}):null,status:e.jsx(Me,{facets:at})});return e.jsx("div",{className:"flex flex-1 flex-col",children:e.jsxs(le,{header:C,children:[N,e.jsx("div",{className:"space-y-6",children:c?e.jsx(Hs,{provider:c,catalog:x,autoOpenEdit:!!n}):e.jsx(ot,{ownerSlug:s,providerSlug:t,catalog:x,catalogError:d.isError?d.error:null,model:n})}),c?e.jsx(I,{title:"Settings",muted:!0,children:e.jsx(Xs,{provider:c,onDeleted:()=>void a({to:"/$owner/connectors",params:{owner:s}})})}):null]})})}function ot({ownerSlug:s,providerSlug:t,catalog:a,catalogError:n,model:r}){const i=q();return n?e.jsx("div",{className:"rounded-md border border-destructive/40 bg-destructive/5 p-3 text-sm text-destructive",children:e.jsxs("div",{className:"flex gap-2",children:[e.jsx(ae,{className:"mt-0.5 h-4 w-4 shrink-0"}),e.jsxs("div",{children:[e.jsx("p",{className:"font-medium",children:"Failed to load provider catalog."}),e.jsx("p",{className:"mt-1 text-xs",children:n instanceof Error?n.message:"Check the workspace URL and try again."})]})]})}):e.jsx("div",{className:"rounded-lg border p-4",children:e.jsx(Gs,{catalog:a,initialProvider:t,initialModel:r?.includes("/")?r.split("/").slice(1).join("/"):r,onDone:()=>void i({to:"/$owner/connectors",params:{owner:s}})},`${a.length}:${t}`)})}function ct({providerName:s,model:t,isConnected:a}){return e.jsx("div",{className:"rounded-lg border border-amber-200 bg-amber-50 p-3 text-sm text-amber-950 dark:border-amber-900/60 dark:bg-amber-950/30 dark:text-amber-100",children:e.jsxs("div",{className:"flex gap-2",children:[e.jsx(ae,{className:"mt-0.5 h-4 w-4 shrink-0"}),e.jsxs("p",{children:["Review ",e.jsx("strong",{children:s})," for model"," ",e.jsx("strong",{children:t}),"."," ",a?"Its edit controls are open.":"It is not connected yet; add it to continue."]})]})})}function dt({agentId:s,model:t,providerName:a}){return e.jsx("div",{className:"rounded-lg border border-amber-200 bg-amber-50 p-3 text-sm text-amber-950 dark:border-amber-900/60 dark:bg-amber-950/30 dark:text-amber-100",children:e.jsxs("div",{className:"flex gap-2",children:[e.jsx(ae,{className:"mt-0.5 h-4 w-4 shrink-0"}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"font-medium",children:"This agent needs a model provider before it can reply."}),e.jsxs("p",{children:[s?e.jsxs("span",{children:["Agent ",e.jsx("strong",{children:s})," is"," "]}):null,"configured to use ",t?e.jsx("strong",{children:t}):"a model"," ","from ",e.jsx("strong",{children:a}),", but that provider is not ready in this workspace."]}),e.jsx("p",{children:"Connect the provider below, then retry the message."})]})]})})}function ut({ownerSlug:s,organizationId:t,isWorkspaceLoading:a,connectorKey:n}){const{data:r=[],isLoading:i}=Os(t??""),{data:o=[],isLoading:p,refetch:d}=Es(t??"",{connectorKey:n}),x=h.useMemo(()=>r.find(v=>v.key===n),[r,n]),u=h.useMemo(()=>Rs(n,r,{name:o[0]?.connector_name??n}),[n,r,o]);if(a||i)return e.jsx("div",{children:e.jsxs(V,{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(L,{className:"h-6 w-6 rounded"}),e.jsx(L,{className:"h-5 w-40"})]}),e.jsx(L,{className:"h-16 w-full rounded-lg"}),e.jsx(L,{className:"h-24 w-full rounded-lg"}),e.jsx(L,{className:"h-32 w-full rounded-lg"})]})});const c=x?e.jsx(ht,{connector:x,ownerSlug:s}):e.jsxs("div",{className:"space-y-3",children:[e.jsx(Ie,{connector:u,showDescription:!1,className:"gap-2"}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:["This connector isn't installed in this workspace, so its details aren't available.",o.length>0?" Existing connections keep working.":""]})]});return e.jsx("div",{className:"flex flex-1 flex-col",children:x&&t?e.jsx(mt,{hero:c,connector:x,organizationId:t,ownerSlug:s,connectorKey:n,connections:o,isLoading:p,refetchConnections:d}):e.jsxs(V,{className:"space-y-6",children:[c,e.jsx(ze,{organizationId:t??"",ownerSlug:s,connectorKey:n,connections:o,isLoading:p})]})})}function mt({hero:s,connector:t,organizationId:a,ownerSlug:n,connectorKey:r,connections:i,isLoading:o,refetchConnections:p}){const{isAdmin:d,isLoading:x}=W(a),u=(t.operations_summary?.total??0)>0;return e.jsxs(le,{header:s,children:[e.jsx(us,{organizationId:a,connectorKey:r}),e.jsx(vt,{connector:t,organizationId:a,ownerSlug:n,connectorKey:r,connections:i,isLoading:o,refetchConnections:p}),e.jsxs("div",{className:"grid grid-cols-1 gap-3 sm:auto-cols-fr sm:grid-flow-col",children:[e.jsx(Ys,{connections:i,connectorDef:t,organizationId:a,ownerSlug:n,connectorKey:r,isLoading:o}),e.jsx(Nt,{connector:t,organizationId:a,ownerSlug:n}),u&&x?e.jsx(L,{className:"h-20 w-full rounded-lg"}):u&&d?e.jsx(ft,{connector:t,organizationId:a,ownerSlug:n}):u&&!d?e.jsx(I,{title:"Actions",muted:!0,children:e.jsx("p",{className:"text-sm text-muted-foreground",children:"Only workspace admins can view and configure connector actions."})}):null]}),e.jsx(xt,{connector:t,organizationId:a,ownerSlug:n,connectionCount:i.length}),!o&&i.length>0?e.jsx(I,{title:"Recent activity",children:e.jsx(Ws,{scope:{connectorKey:r},ownerSlug:n})}):null]})}function ht({connector:s,ownerSlug:t}){return e.jsx(oe,{breadcrumb:e.jsx(de,{crumbs:[e.jsx(G,{to:"/$owner/connectors",params:{owner:t},className:ue,children:"Connectors"},"connectors")]}),icon:e.jsx(ce,{icon:s.icon,name:s.name,faviconDomain:s.favicon_domain??Vs(s.auth_schema),className:"h-10 w-10"}),title:s.name,badge:e.jsx(qs,{connectorDef:s,ownerSlug:t}),caption:s.description})}function xt({connector:s,organizationId:t,ownerSlug:a,connectionCount:n}){const r=Oe(s.auth_schema),i=Ds(s.auth_schema),o=r.find(S=>S.type==="oauth"),p=Be(s.auth_schema),d=r.some(S=>S.type==="env_keys"),x=r.some(S=>S.type==="browser"),u=i.some(S=>S.type==="interactive"),c=!!(o||p||d||x),v=Ls(s),{isAdmin:y}=W(t),{data:j=[]}=te(t,{connectorKey:s.key,profileKind:"env"}),{data:N=[]}=te(t,{profileKind:"browser_session"}),C=y&&s.installed!==!1;return!!(o||p)||d&&j.length>0||x&&N.length>0||!c||C?e.jsxs("div",{className:"space-y-6",children:[o?e.jsx(gt,{connector:s,organizationId:t,oauthMethod:o}):null,p?e.jsx(I,{title:"App installation",children:e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[e.jsxs("p",{className:"text-sm text-muted-foreground",children:["Install the ",s.name," app to create or repair the workspace connection."]}),e.jsx(Ue,{organizationId:t,connectorKey:s.key,provider:p.provider,providerLabel:s.name,installShape:p.installShape,variant:"outline"})]})}):null,d&&j.length>0?e.jsx(ke,{profiles:j,type:"env"}):null,x&&N.length>0?e.jsx(ke,{profiles:N,type:"browser_session"}):null,c?null:v?e.jsx(I,{title:"Device runtime",children:e.jsxs("div",{className:"space-y-3",children:[e.jsxs("p",{className:"text-sm text-muted-foreground",children:[s.name," runs on a linked device — there are no workspace credentials to configure here. Pair a device, then create a connection pinned to it."]}),e.jsx(g,{asChild:!0,variant:"outline",size:"sm",children:e.jsx(G,{to:"/$owner/connectors",params:{owner:a},search:{},children:"View devices"})})]})}):u?e.jsx(I,{title:"Authentication",children:e.jsxs("p",{className:"text-sm text-muted-foreground",children:[s.name," pairs when you create a connection — there is no workspace-level credential to configure here."]})}):e.jsx(I,{title:"Authentication",children:e.jsx("p",{className:"text-sm text-muted-foreground",children:"This connector doesn't need workspace credentials. Create a connection from Overview to get started."})}),e.jsx(pt,{connector:s,organizationId:t,ownerSlug:a,connectionCount:n})]}):null}function pt({connector:s,organizationId:t,ownerSlug:a,connectionCount:n}){const r=q(),{isAdmin:i}=W(t),o=Ks(),[p,d]=h.useState(!1),[x,u]=h.useState(null),c=s.installed!==!1;if(!i||!c)return null;const v=n>0,y=o.isPending,j=()=>{u(null),o.mutate({connector_key:s.key},{onSuccess:()=>{r({to:"/$owner/connectors",params:{owner:a}})},onError:N=>{u(N instanceof Error?N.message:"Failed to remove connector"),d(!1)}})};return e.jsxs("div",{className:"rounded-lg border border-destructive/30 bg-destructive/5 p-4",children:[e.jsx("p",{className:"text-sm font-medium",children:"Remove connector"}),e.jsxs("p",{className:"mt-1 text-xs text-muted-foreground",children:["Archives ",s.name," in this workspace. Existing synced data stays in memory."]}),v?e.jsxs("p",{className:"mt-2 text-xs text-muted-foreground",children:["Delete"," ",e.jsxs("span",{className:"font-medium text-foreground",children:[n," connection",n===1?"":"s"]})," ","first — uninstall is blocked while any connection still references this connector."]}):null,x?e.jsx("p",{className:"mt-2 rounded-md bg-destructive/10 px-3 py-2 text-sm text-destructive",children:x}):null,e.jsx("div",{className:"mt-3",children:p?e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsxs(g,{variant:"destructive",size:"sm",disabled:y,onClick:j,children:[y?e.jsx(T,{size:"md",className:"mr-1.5"}):null,"Confirm remove"]}),e.jsx(g,{variant:"ghost",size:"sm",disabled:y,onClick:()=>d(!1),children:"Cancel"})]}):e.jsxs(g,{variant:"outline",size:"sm",className:"text-destructive hover:text-destructive",disabled:y||v,onClick:()=>d(!0),children:[e.jsx(ie,{className:"mr-1.5 h-3.5 w-3.5"}),"Remove connector"]})})]})}function ft({connector:s,organizationId:t,ownerSlug:a}){const n=Ee();return e.jsx(Re,{title:"Actions",summary:`${s.operations_summary?.total??0} actions · organization policies`,onOpen:()=>n?.open({href:"",title:"Actions",connectorPanel:{section:"actions",connectorKey:s.key,organizationId:t,ownerSlug:a}})})}function gt({connector:s,organizationId:t,oauthMethod:a}){const{isAdmin:n,isLoading:r}=W(t),{setup:i}=se.useSearch(),o=se.useNavigate(),{data:p=[],refetch:d,isLoading:x,isError:u}=te(t,{connectorKey:s.key,provider:a.provider}),c=p.filter(v=>v.profile_kind==="oauth_app");return r||x?e.jsx(L,{className:"h-28 w-full"}):u?e.jsx("p",{role:"alert",className:"text-sm text-destructive",children:"Could not load OAuth apps. Reload the page to try again."}):e.jsx(jt,{connector:s,oauthMethod:a,appProfiles:c,isAdmin:n,initialOpen:i==="oauth_app",onClose:()=>{i==="oauth_app"&&o({search:v=>({...v,setup:void 0}),hash:"",replace:!0})},refetchProfiles:d})}function jt({initialOpen:s=!1,onClose:t,connector:a,oauthMethod:n,appProfiles:r,isAdmin:i,refetchProfiles:o}){const p=vs(),d=ys(),[x,u]=Z(a.key,s&&i),[c,v]=h.useState(!1);h.useEffect(()=>{s&&i&&u(!0)},[s,i,u]);const y=`${Ns()}/connect/oauth/callback`,[j,N]=Z(a.key,`${a.name} OAuth App`),[C,D]=Z(a.key,""),[S,k]=Z(a.key,null),z=bs(n),w=Cs(`${a.key}:${x}`,ks(z),z),{values:R,setValues:F}=w,E=r.find(f=>f.is_default_for_connector&&f.connector_key===a.key),B=()=>{w.canSubmit&&(k(null),p.mutate({connector_key:a.key,profile_kind:"oauth_app",display_name:j.trim()||`${a.name} OAuth App`,slug:C.trim()||void 0,credentials:Ct(Fs(R))},{onSuccess:f=>{const m=f.auth_profile?.slug;m&&!E&&d.mutate({connector_key:a.key,auth_profile_slug:m}),u(!1),t?.(),N(`${a.name} OAuth App`),D(""),o()},onError:f=>{k(f instanceof Error?f.message:"Failed to add OAuth app")}}))};return e.jsxs(I,{id:"connector-oauth-apps",title:`${bt(n.provider)} app configuration`,action:i&&!x?e.jsxs(g,{variant:"outline",size:"sm",onClick:()=>u(!0),children:[e.jsx(Fe,{className:"size-3.5"}),"Add OAuth app"]}):null,children:[i&&e.jsxs("div",{className:"space-y-2",children:[e.jsx(P,{children:"OAuth callback URL"}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("code",{className:"min-w-0 flex-1 break-all text-xs",children:y}),e.jsxs(g,{variant:"outline",size:"sm",onClick:()=>{navigator.clipboard.writeText(y).then(()=>v(!0)).catch(()=>k("Could not copy the callback URL. Select and copy it above."))},children:[e.jsx(ws,{className:"mr-1.5 h-3.5 w-3.5"}),c?"Copied":"Copy callback URL"]})]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Register this exact URL in your provider’s app settings before saving the client configuration."})]}),r.length===0?e.jsx("p",{className:"text-sm text-muted-foreground",children:"No app configured on this server. Choose a managed option if available, or add your own app here."}):e.jsx("div",{className:"space-y-2",children:r.map(f=>e.jsxs("div",{className:ee(J,"flex flex-wrap items-center gap-3 p-3"),children:[e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsx("span",{className:"truncate text-sm font-medium",children:f.display_name}),f.is_default_for_connector&&f.connector_key===a.key?e.jsx(M,{variant:"secondary",className:"text-[10px]",children:"Default"}):null,e.jsx(Te,{status:f.status})]}),e.jsx("p",{className:"truncate text-xs text-muted-foreground",children:f.slug})]}),i&&!f.is_default_for_connector&&f.connector_key===a.key&&f.status==="active"?e.jsx(g,{variant:"outline",size:"sm",disabled:d.isPending,onClick:()=>d.mutate({connector_key:a.key,auth_profile_slug:f.slug}),children:"Set default"}):null]},f.slug))}),i&&x?e.jsxs("div",{className:ee(J,"space-y-3 p-3"),children:[e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(P,{htmlFor:"oauth-app-name",children:"Display name"}),e.jsx($,{id:"oauth-app-name",value:j,onChange:f=>N(f.target.value)})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(P,{htmlFor:"oauth-app-slug",children:"Slug"}),e.jsx($,{id:"oauth-app-slug",placeholder:"optional",value:C,onChange:f=>D(f.target.value)})]}),e.jsx(Ss,{schema:w.revision??void 0,values:R,onValuesChange:F,fieldIdPrefix:"oauth-app-"}),e.jsx(As,{visible:w.hasConflict,onReload:w.reset}),S?e.jsx("p",{className:"rounded-md bg-destructive/10 px-3 py-2 text-sm text-destructive",children:S}):null,e.jsxs("div",{className:"flex justify-end gap-2",children:[e.jsx(g,{variant:"outline",size:"sm",disabled:p.isPending,onClick:()=>{u(!1),t?.()},children:"Cancel"}),e.jsxs(g,{size:"sm",disabled:p.isPending||!w.canSubmit,onClick:B,children:[p.isPending?e.jsx(T,{size:"md",className:"mr-1.5"}):null,"Save OAuth app"]})]})]}):null]})}function vt({connector:s,organizationId:t,ownerSlug:a,connectorKey:n,connections:r,isLoading:i,refetchConnections:o}){const d=Oe(s.auth_schema).find(y=>y.type==="oauth"),{data:x=[],refetch:u,isLoading:c,isError:v}=te(t,{connectorKey:s.key,provider:d?.provider});if(d){if(v)return e.jsx("p",{role:"alert",className:"text-sm text-destructive",children:"Could not load accounts. Reload the page to try again."});const y=x.filter(N=>N.profile_kind==="oauth_app"),j=x.filter(N=>N.profile_kind==="oauth_account");return e.jsx(yt,{connector:s,organizationId:t,oauthMethod:d,appProfiles:y,accounts:j,connections:r,isLoading:i||c,refetchProfiles:u,refetchConnections:o})}return e.jsx(ze,{connector:s,organizationId:t,ownerSlug:a,connectorKey:n,connections:r,isLoading:i})}function yt({connector:s,organizationId:t,oauthMethod:a,appProfiles:n,accounts:r,connections:i,isLoading:o,refetchProfiles:p,refetchConnections:d}){const{session:x}=ms(),{isAdmin:u,isLoading:c}=W(t),v=hs(),y=xs(),j=ps(),[N,C]=h.useState(""),[D,S]=h.useState([]),k=n.filter(m=>m.status==="active"),z=k.find(m=>m.is_default_for_connector&&m.connector_key===s.key),w=(u?k.find(m=>m.slug===N):void 0)??z??(u&&k.length===1?k[0]:void 0),R=new Set(i.map(m=>m.auth_profile_slug)),F=r.filter(m=>m.created_by===x?.user?.id),E=F.filter(m=>!R.has(m.slug)),B=!i.some(m=>m.created_by===x?.user?.id)&&F.length===0;if(o||c||!x?.user?.id||!B&&E.length===0&&!j.error&&!j.continueUrl)return null;const f=m=>j.begin(async()=>{const A=await v.mutateAsync({connector_key:s.key,app_auth_profile_slug:m,requested_scopes:$s(a,D)});return p(),d(),A});return e.jsxs(I,{title:B?"Connect your account":"Your accounts",children:[B&&e.jsxs("div",{className:"space-y-4",children:[e.jsx("p",{className:"text-sm text-muted-foreground",children:"Connect your own account to grant access. Your connection is private to you."}),u&&k.length>1?e.jsxs("div",{className:"space-y-1",children:[e.jsx(P,{children:"App used for this account"}),e.jsxs(we,{value:w?.slug??"",onValueChange:C,children:[e.jsx(Se,{"aria-label":"App used for this account",children:e.jsx(Ae,{placeholder:"Choose an OAuth app"})}),e.jsx(_e,{children:k.map(m=>e.jsxs(Pe,{value:m.slug,children:[m.display_name,m.is_default_for_connector&&m.connector_key===s.key?" (workspace default)":""]},m.slug))})]})]}):w?e.jsxs("p",{className:"text-sm",children:["App: ",w.display_name,w.is_default_for_connector&&w.connector_key===s.key?" (workspace default)":""]}):e.jsx("p",{className:"text-sm text-muted-foreground",children:u?"Configure an OAuth app below, then connect your account.":"Ask an administrator to configure and set the workspace-default OAuth app."}),w&&e.jsx(fs,{requiredScopes:js(a),optionalScopes:gs(a),selectedOptionalScopes:D,onToggleOptionalScope:(m,A)=>S(U=>A?[...new Set([...U,m])]:U.filter(Q=>Q!==m))}),e.jsxs("div",{className:"flex flex-wrap gap-2",children:[e.jsx(g,{size:"sm",disabled:!w||j.pending,onClick:()=>{w&&f(w.slug)},children:"Connect account"}),u&&e.jsx(g,{asChild:!0,size:"sm",variant:"outline",children:e.jsx("a",{href:"#connector-oauth-apps",children:"Manage app"})})]})]}),E.map(m=>e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-2 py-2",children:[e.jsx("span",{className:"text-sm",children:m.display_name}),e.jsx(g,{variant:"outline",size:"sm",disabled:j.pending,onClick:()=>void j.begin(()=>m.status==="active"?v.mutateAsync({connector_key:s.key,auth_profile_slug:m.slug}):y.mutateAsync({auth_profile_slug:m.slug})),children:m.status==="active"?"Use this account":"Reconnect"})]},m.slug)),j.error&&e.jsx("p",{role:"alert",className:"text-sm text-destructive",children:j.error}),j.continueUrl&&e.jsx("a",{href:j.continueUrl,target:"_blank",rel:"noreferrer",className:"text-sm underline",children:"Continue authorization in your browser"})]})}function ke({profiles:s,type:t}){const a=t==="env"?"Credentials":"Browser sessions";return e.jsx(I,{title:a,children:e.jsx("div",{className:"space-y-2",children:s.map(n=>e.jsxs("div",{className:ee(J,"p-3"),children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsx("span",{className:"text-sm font-medium",children:n.display_name}),e.jsx(Te,{status:n.status})]}),e.jsx("p",{className:"truncate text-xs text-muted-foreground",children:n.slug})]},n.slug))})})}function Nt({connector:s,organizationId:t,ownerSlug:a}){const n=Ee(),r=Object.keys(s.feeds_schema??{}).length;return r?e.jsx(Re,{title:"Feeds",summary:`${r} ${r===1?"feed type":"feed types"}`,onOpen:()=>n?.open({href:"",title:"Feeds",connectorPanel:{section:"feeds",connectorKey:s.key,organizationId:t,ownerSlug:a}})}):null}function ze({connector:s,organizationId:t,ownerSlug:a,connectorKey:n,connections:r,isLoading:i}){const o=q(),p=Be(s?.auth_schema);if(i)return e.jsxs("div",{className:"space-y-2",children:[e.jsx(L,{className:"h-4 w-24"}),e.jsx(L,{className:"h-16 w-full rounded-lg"})]});if(r.length===0){const d=s&&p?e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsx(Ue,{organizationId:t,connectorKey:n,provider:p.provider,providerLabel:s.name,installShape:p.installShape,size:"default",label:`Install ${s.name}`}),e.jsx(g,{asChild:!0,variant:"outline",children:e.jsx(G,{to:"/$owner/connectors/create/$connectorKey",params:{owner:a,connectorKey:n},children:"Use your own app"})})]}):e.jsxs(g,{size:"default",onClick:()=>o({to:"/$owner/connectors/create/$connectorKey",params:{owner:a,connectorKey:n}}),children:[e.jsx(Fe,{className:"mr-1.5 h-4 w-4"}),"Create connection"]});return e.jsx("div",{className:"flex flex-wrap items-center gap-2",children:d})}return null}function Te({status:s}){const t=s==="active"?"text-green-500":s==="error"||s==="revoked"?"text-destructive":"text-amber-500";return e.jsxs("span",{className:ee("text-xs",t),children:["· ",s]})}function bt(s){return s.charAt(0).toUpperCase()+s.slice(1)}function Ct(s){const t={};for(const[a,n]of Object.entries(s))typeof n=="string"&&n.trim()?t[a]=n.trim():(typeof n=="number"||typeof n=="boolean")&&(t[a]=String(n));return t}export{mt as ConnectorDetailShell,yt as OAuthAccountsSection,jt as OAuthAppProfilesSection,Dt as component};
@@ -1 +1 @@
1
- import{j as e,ek as M,al as h,h$ as w,r as j,w as z,a as C,i0 as k}from"./index-DtRfQcRH.js";import{A as N}from"./agent-loading-shells-BQLjzMPy.js";import{s as b,R as y,A as L}from"./agent-thread-D7AGGjRV.js";import"./app-bridge-BH3g2mKG.js";import"./pending-seed-CPbfgnLX.js";import"./use-mention-search-CeTEE3oE.js";import"./index-Vcq4gwWv.js";const m={path:"M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z",hex:"5865F2"},d={path:"M1.637 0C.733 0 0 .733 0 1.637v16.5c0 .904.733 1.636 1.637 1.636h3.955v3.323c0 .804.97 1.207 1.539.638l3.963-3.96h11.27c.903 0 1.636-.733 1.636-1.637V5.592L18.408 0Zm3.955 5.592h12.816v8.59H8.455l-2.863 2.863Z",hex:"34A853"},p={path:"M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z",hex:"26A5E4"},x={path:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z",hex:"25D366"},O={discord:{hex:`#${m.hex}`,path:m.path},gchat:{hex:`#${d.hex}`,path:d.path},slack:{hex:"#4A154B",path:"M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zM6.313 15.165a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zM8.834 6.313a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zM18.956 8.834a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zM17.688 8.834a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zM15.165 18.956a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zM15.165 17.688a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z"},teams:{imgSrc:"https://www.google.com/s2/favicons?domain=teams.microsoft.com&sz=64"},telegram:{hex:`#${p.hex}`,path:p.path},whatsapp:{hex:`#${x.hex}`,path:x.path}};function T({platform:s,className:t}){const a=s?O[s]:null;return a?"imgSrc"in a?e.jsx("img",{src:a.imgSrc,alt:"","aria-hidden":"true",className:h("rounded-sm",t),loading:"lazy"}):e.jsx("svg",{viewBox:a.viewBox??"0 0 24 24",fill:"currentColor","aria-hidden":"true",className:t,style:{color:a.hex},children:e.jsx("path",{d:a.path})}):e.jsx(M,{className:h("text-muted-foreground",t),"aria-hidden":"true"})}const I={slack:"Slack",telegram:"Telegram",whatsapp:"WhatsApp",discord:"Discord",web:"Web"};function R(s,t,a){return s==="slack"&&a?.teamId&&t?`https://app.slack.com/client/${a.teamId}/${t}`:null}function S({owner:s,agentId:t,conversationId:a}){const{data:n=[],isLoading:u}=w(t,a,{orgSlug:s}),c=j.useMemo(()=>n.map(r=>b(r,{showToolCalls:!0})).filter(r=>r!==null),[n]),[o,g]=a.split(":"),i=I[o]??"the source app",{org:f}=z(),{data:v=[]}=C(f?.id??"",{connectorKey:o}),A=v[0]?.config?.chatMetadata,l=R(o,g,A);return e.jsx("div",{className:"mx-auto flex min-h-0 w-full max-w-3xl flex-1 flex-col pb-6",children:u?e.jsx(N,{readOnly:!0}):c.length===0?e.jsx("p",{className:"text-sm text-muted-foreground",children:"No messages in this conversation."}):e.jsxs("div",{className:"flex min-h-0 min-w-0 flex-1 flex-col",children:[e.jsx(y,{messages:c,children:e.jsx(L,{readOnly:!0})}),l?e.jsxs("a",{href:l,target:"_blank",rel:"noopener noreferrer",className:"mt-4 flex items-center gap-3 rounded-lg border border-border bg-muted/40 px-4 py-3 text-sm transition-colors hover:bg-muted",children:[e.jsx(T,{platform:o,className:"size-5 shrink-0"}),e.jsxs("span",{className:"text-muted-foreground",children:["This is a read-only copy. Continue the conversation with this agent in ",i,"."]}),e.jsxs("span",{className:"ml-auto shrink-0 whitespace-nowrap font-medium text-foreground",children:["Open ",i," →"]})]}):null]})})}function _(){const{owner:s,agentId:t,conversationId:a}=k.useParams();return e.jsx(S,{owner:s,agentId:t,conversationId:a})}export{_ as component};
1
+ import{j as e,eo as M,af as h,ik as w,r as j,q as z,a as C,il as k}from"./index-GZkujXG1.js";import{A as N}from"./agent-loading-shells-Cve_XIMW.js";import{s as b,R as y,A as L}from"./agent-thread-DhCFggHZ.js";import"./app-bridge-BH3g2mKG.js";import"./pending-seed-CPbfgnLX.js";import"./use-mention-search-Vndny_Gd.js";import"./index-Vcq4gwWv.js";const m={path:"M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z",hex:"5865F2"},d={path:"M1.637 0C.733 0 0 .733 0 1.637v16.5c0 .904.733 1.636 1.637 1.636h3.955v3.323c0 .804.97 1.207 1.539.638l3.963-3.96h11.27c.903 0 1.636-.733 1.636-1.637V5.592L18.408 0Zm3.955 5.592h12.816v8.59H8.455l-2.863 2.863Z",hex:"34A853"},p={path:"M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z",hex:"26A5E4"},x={path:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z",hex:"25D366"},O={discord:{hex:`#${m.hex}`,path:m.path},gchat:{hex:`#${d.hex}`,path:d.path},slack:{hex:"#4A154B",path:"M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zM6.313 15.165a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zM8.834 6.313a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zM18.956 8.834a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zM17.688 8.834a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zM15.165 18.956a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zM15.165 17.688a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z"},teams:{imgSrc:"https://www.google.com/s2/favicons?domain=teams.microsoft.com&sz=64"},telegram:{hex:`#${p.hex}`,path:p.path},whatsapp:{hex:`#${x.hex}`,path:x.path}};function T({platform:s,className:t}){const a=s?O[s]:null;return a?"imgSrc"in a?e.jsx("img",{src:a.imgSrc,alt:"","aria-hidden":"true",className:h("rounded-sm",t),loading:"lazy"}):e.jsx("svg",{viewBox:a.viewBox??"0 0 24 24",fill:"currentColor","aria-hidden":"true",className:t,style:{color:a.hex},children:e.jsx("path",{d:a.path})}):e.jsx(M,{className:h("text-muted-foreground",t),"aria-hidden":"true"})}const I={slack:"Slack",telegram:"Telegram",whatsapp:"WhatsApp",discord:"Discord",web:"Web"};function R(s,t,a){return s==="slack"&&a?.teamId&&t?`https://app.slack.com/client/${a.teamId}/${t}`:null}function S({owner:s,agentId:t,conversationId:a}){const{data:n=[],isLoading:u}=w(t,a,{orgSlug:s}),c=j.useMemo(()=>n.map(r=>b(r,{showToolCalls:!0})).filter(r=>r!==null),[n]),[o,g]=a.split(":"),i=I[o]??"the source app",{org:f}=z(),{data:v=[]}=C(f?.id??"",{connectorKey:o}),A=v[0]?.config?.chatMetadata,l=R(o,g,A);return e.jsx("div",{className:"mx-auto flex min-h-0 w-full max-w-3xl flex-1 flex-col pb-6",children:u?e.jsx(N,{readOnly:!0}):c.length===0?e.jsx("p",{className:"text-sm text-muted-foreground",children:"No messages in this conversation."}):e.jsxs("div",{className:"flex min-h-0 min-w-0 flex-1 flex-col",children:[e.jsx(y,{messages:c,children:e.jsx(L,{readOnly:!0})}),l?e.jsxs("a",{href:l,target:"_blank",rel:"noopener noreferrer",className:"mt-4 flex items-center gap-3 rounded-lg border border-border bg-muted/40 px-4 py-3 text-sm transition-colors hover:bg-muted",children:[e.jsx(T,{platform:o,className:"size-5 shrink-0"}),e.jsxs("span",{className:"text-muted-foreground",children:["This is a read-only copy. Continue the conversation with this agent in ",i,"."]}),e.jsxs("span",{className:"ml-auto shrink-0 whitespace-nowrap font-medium text-foreground",children:["Open ",i," →"]})]}):null]})})}function _(){const{owner:s,agentId:t,conversationId:a}=k.useParams();return e.jsx(S,{owner:s,agentId:t,conversationId:a})}export{_ as component};