nodal-agents 0.9.2 → 0.9.3

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 (298) hide show
  1. package/cli.js +629 -426
  2. package/docs-index.json +21 -14
  3. package/migrations/0123_chat_messages_stopped.sql +10 -0
  4. package/migrations/0124_chat_messages_cut_reason.sql +12 -0
  5. package/migrations/0125_shell_checklist.sql +31 -0
  6. package/migrations/0126_run_budget.sql +57 -0
  7. package/migrations/0127_agent_budget.sql +86 -0
  8. package/migrations/0128_shell_policy_retired_kinds.sql +52 -0
  9. package/migrations/meta/_journal.json +42 -0
  10. package/package.json +1 -1
  11. package/runner.js +4373 -2761
  12. package/web/.next/BUILD_ID +1 -1
  13. package/web/.next/app-path-routes-manifest.json +6 -2
  14. package/web/.next/build-manifest.json +2 -2
  15. package/web/.next/prerender-manifest.json +5 -5
  16. package/web/.next/routes-manifest.json +28 -0
  17. package/web/.next/server/app/(dashboard)/agents/[id]/channels/page.js +1 -1
  18. package/web/.next/server/app/(dashboard)/agents/[id]/channels/page_client-reference-manifest.js +1 -1
  19. package/web/.next/server/app/(dashboard)/agents/[id]/edit/page.js +4 -4
  20. package/web/.next/server/app/(dashboard)/agents/[id]/edit/page_client-reference-manifest.js +1 -1
  21. package/web/.next/server/app/(dashboard)/agents/[id]/telegram/page.js +1 -1
  22. package/web/.next/server/app/(dashboard)/agents/[id]/telegram/page_client-reference-manifest.js +1 -1
  23. package/web/.next/server/app/(dashboard)/agents/page.js +1 -1
  24. package/web/.next/server/app/(dashboard)/agents/page_client-reference-manifest.js +1 -1
  25. package/web/.next/server/app/(dashboard)/approvals/page.js +1 -1
  26. package/web/.next/server/app/(dashboard)/approvals/page_client-reference-manifest.js +1 -1
  27. package/web/.next/server/app/(dashboard)/automations/[id]/page.js +1 -1
  28. package/web/.next/server/app/(dashboard)/automations/[id]/page_client-reference-manifest.js +1 -1
  29. package/web/.next/server/app/(dashboard)/automations/page.js +1 -1
  30. package/web/.next/server/app/(dashboard)/automations/page_client-reference-manifest.js +1 -1
  31. package/web/.next/server/app/(dashboard)/chat/[id]/page.js +1 -1
  32. package/web/.next/server/app/(dashboard)/chat/[id]/page_client-reference-manifest.js +1 -1
  33. package/web/.next/server/app/(dashboard)/chat/page.js +1 -1
  34. package/web/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
  35. package/web/.next/server/app/(dashboard)/chat/runs/[id]/page.js +1 -0
  36. package/web/.next/server/app/(dashboard)/chat/runs/[id]/page_client-reference-manifest.js +1 -0
  37. package/web/.next/server/app/(dashboard)/code/[id]/page.js +1 -1
  38. package/web/.next/server/app/(dashboard)/code/[id]/page_client-reference-manifest.js +1 -1
  39. package/web/.next/server/app/(dashboard)/code/page.js +1 -1
  40. package/web/.next/server/app/(dashboard)/code/page_client-reference-manifest.js +1 -1
  41. package/web/.next/server/app/(dashboard)/connectors/page.js +1 -1
  42. package/web/.next/server/app/(dashboard)/connectors/page_client-reference-manifest.js +1 -1
  43. package/web/.next/server/app/(dashboard)/credentials/page.js +1 -1
  44. package/web/.next/server/app/(dashboard)/credentials/page_client-reference-manifest.js +1 -1
  45. package/web/.next/server/app/(dashboard)/dashboard/page.js +1 -1
  46. package/web/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  47. package/web/.next/server/app/(dashboard)/jobs/[id]/page.js +1 -1
  48. package/web/.next/server/app/(dashboard)/jobs/[id]/page_client-reference-manifest.js +1 -1
  49. package/web/.next/server/app/(dashboard)/jobs/page.js +1 -1
  50. package/web/.next/server/app/(dashboard)/jobs/page_client-reference-manifest.js +1 -1
  51. package/web/.next/server/app/(dashboard)/learned-skills/page.js +1 -1
  52. package/web/.next/server/app/(dashboard)/learned-skills/page_client-reference-manifest.js +1 -1
  53. package/web/.next/server/app/(dashboard)/llm-providers/page.js +1 -1
  54. package/web/.next/server/app/(dashboard)/llm-providers/page_client-reference-manifest.js +1 -1
  55. package/web/.next/server/app/(dashboard)/logs/page.js +1 -1
  56. package/web/.next/server/app/(dashboard)/logs/page_client-reference-manifest.js +1 -1
  57. package/web/.next/server/app/(dashboard)/mcp/page.js +1 -1
  58. package/web/.next/server/app/(dashboard)/mcp/page_client-reference-manifest.js +1 -1
  59. package/web/.next/server/app/(dashboard)/memories/page.js +1 -1
  60. package/web/.next/server/app/(dashboard)/memories/page_client-reference-manifest.js +1 -1
  61. package/web/.next/server/app/(dashboard)/page.js +1 -1
  62. package/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
  63. package/web/.next/server/app/(dashboard)/scheduled/[id]/page.js +1 -1
  64. package/web/.next/server/app/(dashboard)/scheduled/[id]/page_client-reference-manifest.js +1 -1
  65. package/web/.next/server/app/(dashboard)/scheduled/page.js +1 -1
  66. package/web/.next/server/app/(dashboard)/scheduled/page_client-reference-manifest.js +1 -1
  67. package/web/.next/server/app/(dashboard)/settings/page.js +1 -1
  68. package/web/.next/server/app/(dashboard)/settings/page_client-reference-manifest.js +1 -1
  69. package/web/.next/server/app/(dashboard)/settings/root-context/page.js +1 -1
  70. package/web/.next/server/app/(dashboard)/settings/root-context/page_client-reference-manifest.js +1 -1
  71. package/web/.next/server/app/(dashboard)/skills/[id]/edit/page.js +1 -1
  72. package/web/.next/server/app/(dashboard)/skills/[id]/edit/page_client-reference-manifest.js +1 -1
  73. package/web/.next/server/app/(dashboard)/skills/new/page.js +1 -1
  74. package/web/.next/server/app/(dashboard)/skills/new/page_client-reference-manifest.js +1 -1
  75. package/web/.next/server/app/(dashboard)/skills/page.js +1 -1
  76. package/web/.next/server/app/(dashboard)/skills/page_client-reference-manifest.js +1 -1
  77. package/web/.next/server/app/(dashboard)/spaces/[id]/files/page.js +1 -1
  78. package/web/.next/server/app/(dashboard)/spaces/[id]/files/page_client-reference-manifest.js +1 -1
  79. package/web/.next/server/app/(dashboard)/spaces/[id]/page.js +1 -1
  80. package/web/.next/server/app/(dashboard)/spaces/[id]/page_client-reference-manifest.js +1 -1
  81. package/web/.next/server/app/(dashboard)/spaces/page.js +1 -1
  82. package/web/.next/server/app/(dashboard)/spaces/page_client-reference-manifest.js +1 -1
  83. package/web/.next/server/app/_global-error/page.js +2 -2
  84. package/web/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  85. package/web/.next/server/app/_global-error.html +1 -1
  86. package/web/.next/server/app/_global-error.rsc +2 -2
  87. package/web/.next/server/app/_global-error.segments/_full.segment.rsc +2 -2
  88. package/web/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +2 -2
  89. package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  90. package/web/.next/server/app/_not-found/page.js +1 -1
  91. package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  92. package/web/.next/server/app/_not-found.html +1 -1
  93. package/web/.next/server/app/_not-found.rsc +3 -3
  94. package/web/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
  95. package/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +3 -3
  96. package/web/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  97. package/web/.next/server/app/api/auth/[...all]/route.js +1 -1
  98. package/web/.next/server/app/api/chat/live/route.js +4 -0
  99. package/web/.next/server/app/api/chat/live/route_client-reference-manifest.js +1 -0
  100. package/web/.next/server/app/api/chat/stop/route.js +1 -0
  101. package/web/.next/server/app/api/chat/stop/route_client-reference-manifest.js +1 -0
  102. package/web/.next/server/app/api/chat/stream/route.js +3 -3
  103. package/web/.next/server/app/api/health/route.js +1 -1
  104. package/web/.next/server/app/api/oauth/[provider]/callback/route.js +1 -1
  105. package/web/.next/server/app/api/oauth/[provider]/start/route.js +1 -1
  106. package/web/.next/server/app/api/runs/[jobId]/media/route.js +1 -0
  107. package/web/.next/server/app/api/runs/[jobId]/media/route_client-reference-manifest.js +1 -0
  108. package/web/.next/server/app/auth/callback/route.js +1 -1
  109. package/web/.next/server/app/login/page.js +1 -1
  110. package/web/.next/server/app/login/page_client-reference-manifest.js +1 -1
  111. package/web/.next/server/app/onboarding/page.js +2 -2
  112. package/web/.next/server/app/onboarding/page_client-reference-manifest.js +1 -1
  113. package/web/.next/server/app-paths-manifest.json +6 -2
  114. package/web/.next/server/chunks/1326.js +136 -0
  115. package/web/.next/server/chunks/1406.js +1773 -0
  116. package/web/.next/server/chunks/1615.js +1 -0
  117. package/web/.next/server/chunks/1873.js +1 -0
  118. package/web/.next/server/chunks/2443.js +3 -0
  119. package/web/.next/server/chunks/3483.js +1 -0
  120. package/web/.next/server/chunks/3675.js +1 -1
  121. package/web/.next/server/chunks/3920.js +1 -0
  122. package/web/.next/server/chunks/42.js +3 -3
  123. package/web/.next/server/chunks/4546.js +1 -0
  124. package/web/.next/server/chunks/494.js +1 -1
  125. package/web/.next/server/chunks/5648.js +1 -0
  126. package/web/.next/server/chunks/5804.js +1 -1
  127. package/web/.next/server/chunks/592.js +1 -1
  128. package/web/.next/server/chunks/5976.js +1 -0
  129. package/web/.next/server/chunks/6915.js +1 -0
  130. package/web/.next/server/chunks/692.js +15 -15
  131. package/web/.next/server/chunks/7465.js +1 -0
  132. package/web/.next/server/chunks/7651.js +812 -0
  133. package/web/.next/server/chunks/7663.js +22 -22
  134. package/web/.next/server/chunks/7876.js +1 -0
  135. package/web/.next/server/chunks/7915.js +1 -1
  136. package/web/.next/server/chunks/796.js +1 -1
  137. package/web/.next/server/chunks/8030.js +1 -0
  138. package/web/.next/server/chunks/8104.js +1 -0
  139. package/web/.next/server/chunks/8697.js +1 -1
  140. package/web/.next/server/chunks/8794.js +1 -0
  141. package/web/.next/server/chunks/8830.js +1 -0
  142. package/web/.next/server/chunks/9009.js +1 -0
  143. package/web/.next/server/chunks/{2096.js → 9066.js} +1 -1
  144. package/web/.next/server/chunks/965.js +1 -1
  145. package/web/.next/server/chunks/{6213.js → 9844.js} +2 -2
  146. package/web/.next/server/chunks/9882.js +36 -0
  147. package/web/.next/server/middleware-build-manifest.js +1 -1
  148. package/web/.next/server/middleware.js +27 -27
  149. package/web/.next/server/pages/404.html +1 -1
  150. package/web/.next/server/pages/500.html +1 -1
  151. package/web/.next/server/server-reference-manifest.js +1 -1
  152. package/web/.next/server/server-reference-manifest.json +1 -1
  153. package/web/.next/static/chunks/{1091-6d0af9f18ddf99f6.js → 1091-9485133bd943918f.js} +1 -1
  154. package/web/.next/static/chunks/{1332-c8bed6b750598652.js → 1409-fe80b5952e1f40cb.js} +1 -1
  155. package/web/.next/static/chunks/1789-2566ac18a25fb387.js +1 -0
  156. package/web/.next/static/chunks/3844-36a00411beee6253.js +1 -0
  157. package/web/.next/static/chunks/4020-ec67a80b0e0b651e.js +1 -0
  158. package/web/.next/static/chunks/4666-5fd532303d09a950.js +1 -0
  159. package/web/.next/static/chunks/4771-47261da3c38b4746.js +1 -0
  160. package/web/.next/static/chunks/494-a34a6a0b36862877.js +1 -0
  161. package/web/.next/static/chunks/5034-9aff8cbeb288ac20.js +1 -0
  162. package/web/.next/static/chunks/5216-528f63f54d56b47a.js +1 -0
  163. package/web/.next/static/chunks/5575-444e6f49e2d2a328.js +1 -0
  164. package/web/.next/static/chunks/560-59e02268ee5fe11e.js +1 -0
  165. package/web/.next/static/chunks/5954-7c92f3e7812dce11.js +1 -0
  166. package/web/.next/static/chunks/{5925-76337eacde3c3bc8.js → 6724-8a6d2dc777961105.js} +11 -11
  167. package/web/.next/static/chunks/6861-5edebd867f40e3a6.js +3 -0
  168. package/web/.next/static/chunks/764-a883257e15345ae8.js +1 -0
  169. package/web/.next/static/chunks/825-c876657b507df9d8.js +1 -0
  170. package/web/.next/static/chunks/9052-33a3c725444cb518.js +1 -0
  171. package/web/.next/static/chunks/9287-41590f18e747f14c.js +1 -0
  172. package/web/.next/static/chunks/9484-f972307c1c78a8e8.js +1 -0
  173. package/web/.next/static/chunks/9643-03e18abc622d33f5.js +1 -0
  174. package/web/.next/static/chunks/app/(dashboard)/agents/[id]/channels/page-7b6e8b91210cb2ee.js +1 -0
  175. package/web/.next/static/chunks/app/(dashboard)/agents/[id]/edit/page-16e26ece80055943.js +6 -0
  176. package/web/.next/static/chunks/app/(dashboard)/agents/[id]/telegram/page-7b6e8b91210cb2ee.js +1 -0
  177. package/web/.next/static/chunks/app/(dashboard)/agents/page-ca54871a8009f0aa.js +1 -0
  178. package/web/.next/static/chunks/app/(dashboard)/approvals/page-a5d31137ad6c86c0.js +1 -0
  179. package/web/.next/static/chunks/app/(dashboard)/automations/[id]/{page-9ef1d76121b6030d.js → page-2ea773c99f54f674.js} +1 -1
  180. package/web/.next/static/chunks/app/(dashboard)/automations/page-095be3edd6287d73.js +1 -0
  181. package/web/.next/static/chunks/app/(dashboard)/chat/[id]/page-00acae0653281839.js +1 -0
  182. package/web/.next/static/chunks/app/(dashboard)/chat/page-056975f6c9d5625b.js +1 -0
  183. package/web/.next/static/chunks/app/(dashboard)/chat/runs/[id]/page-899772b15670d3de.js +1 -0
  184. package/web/.next/static/chunks/app/(dashboard)/code/[id]/page-83535784a61e8e36.js +1 -0
  185. package/web/.next/static/chunks/app/(dashboard)/code/page-7b6e8b91210cb2ee.js +1 -0
  186. package/web/.next/static/chunks/app/(dashboard)/connectors/page-af5150e89038a92b.js +1 -0
  187. package/web/.next/static/chunks/app/(dashboard)/dashboard/{page-7473d1190864cbd4.js → page-241109c80363cab1.js} +1 -1
  188. package/web/.next/static/chunks/app/(dashboard)/jobs/[id]/page-899772b15670d3de.js +1 -0
  189. package/web/.next/static/chunks/app/(dashboard)/jobs/page-7b6e8b91210cb2ee.js +1 -0
  190. package/web/.next/static/chunks/app/(dashboard)/layout-2b492fe5d87e7a8c.js +1 -0
  191. package/web/.next/static/chunks/app/(dashboard)/learned-skills/page-d3d0521187a02e31.js +1 -0
  192. package/web/.next/static/chunks/app/(dashboard)/llm-providers/page-1b5aef6848173842.js +1 -0
  193. package/web/.next/static/chunks/app/(dashboard)/logs/page-fd939bac9a74004e.js +1 -0
  194. package/web/.next/static/chunks/app/(dashboard)/mcp/page-11decdc1d91b079d.js +1 -0
  195. package/web/.next/static/chunks/app/(dashboard)/memories/{page-593161bc7c2a25d7.js → page-2dda98de596fe53c.js} +1 -1
  196. package/web/.next/static/chunks/app/(dashboard)/page-40b43271735f5935.js +1 -0
  197. package/web/.next/static/chunks/app/(dashboard)/scheduled/[id]/page-899772b15670d3de.js +1 -0
  198. package/web/.next/static/chunks/app/(dashboard)/scheduled/page-7b6e8b91210cb2ee.js +1 -0
  199. package/web/.next/static/chunks/app/(dashboard)/settings/page-420c62b3fbec2901.js +1 -0
  200. package/web/.next/static/chunks/app/(dashboard)/settings/root-context/page-7840e0f90ad51fd3.js +1 -0
  201. package/web/.next/static/chunks/app/(dashboard)/skills/page-497d3e268b76b0eb.js +1 -0
  202. package/web/.next/static/chunks/app/(dashboard)/spaces/[id]/files/page-d13f877dfd34c6c0.js +1 -0
  203. package/web/.next/static/chunks/app/(dashboard)/spaces/[id]/page-bf466093877ab1c5.js +1 -0
  204. package/web/.next/static/chunks/app/(dashboard)/spaces/page-1d264307964cfdfe.js +1 -0
  205. package/web/.next/static/chunks/app/_global-error/page-7b6e8b91210cb2ee.js +1 -0
  206. package/web/.next/static/chunks/app/_not-found/page-7b6e8b91210cb2ee.js +1 -0
  207. package/web/.next/static/chunks/app/api/auth/[...all]/route-7b6e8b91210cb2ee.js +1 -0
  208. package/web/.next/static/chunks/app/api/chat/live/route-7b6e8b91210cb2ee.js +1 -0
  209. package/web/.next/static/chunks/app/api/chat/stop/route-7b6e8b91210cb2ee.js +1 -0
  210. package/web/.next/static/chunks/app/api/chat/stream/route-7b6e8b91210cb2ee.js +1 -0
  211. package/web/.next/static/chunks/app/api/health/route-7b6e8b91210cb2ee.js +1 -0
  212. package/web/.next/static/chunks/app/api/oauth/[provider]/callback/route-7b6e8b91210cb2ee.js +1 -0
  213. package/web/.next/static/chunks/app/api/oauth/[provider]/start/route-7b6e8b91210cb2ee.js +1 -0
  214. package/web/.next/static/chunks/app/api/runs/[jobId]/media/route-7b6e8b91210cb2ee.js +1 -0
  215. package/web/.next/static/chunks/app/auth/callback/route-7b6e8b91210cb2ee.js +1 -0
  216. package/web/.next/static/chunks/app/login/{page-5357f030e5018563.js → page-d260a3be0b6857ef.js} +1 -1
  217. package/web/.next/static/chunks/app/onboarding/{page-9b6955cdd3033584.js → page-07908ee9b2b6d6b5.js} +2 -2
  218. package/web/.next/static/chunks/next/dist/client/components/builtin/app-error-7b6e8b91210cb2ee.js +1 -0
  219. package/web/.next/static/chunks/next/dist/client/components/builtin/forbidden-7b6e8b91210cb2ee.js +1 -0
  220. package/web/.next/static/chunks/next/dist/client/components/builtin/unauthorized-7b6e8b91210cb2ee.js +1 -0
  221. package/web/.next/static/css/55c009e1dd52d5a7.css +1 -0
  222. package/web/.next/static/uWxfL1NbU-xFtwNtkF4Wb/_buildManifest.js +1 -0
  223. package/web/.next/server/chunks/1960.js +0 -1
  224. package/web/.next/server/chunks/292.js +0 -1
  225. package/web/.next/server/chunks/3592.js +0 -1
  226. package/web/.next/server/chunks/409.js +0 -1
  227. package/web/.next/server/chunks/4357.js +0 -1
  228. package/web/.next/server/chunks/5547.js +0 -1
  229. package/web/.next/server/chunks/570.js +0 -1
  230. package/web/.next/server/chunks/5974.js +0 -1
  231. package/web/.next/server/chunks/6106.js +0 -1
  232. package/web/.next/server/chunks/7134.js +0 -947
  233. package/web/.next/server/chunks/7431.js +0 -1
  234. package/web/.next/server/chunks/7533.js +0 -1
  235. package/web/.next/server/chunks/7709.js +0 -1
  236. package/web/.next/server/chunks/8022.js +0 -1
  237. package/web/.next/server/chunks/8536.js +0 -3
  238. package/web/.next/server/chunks/8974.js +0 -1808
  239. package/web/.next/server/chunks/9200.js +0 -1
  240. package/web/.next/static/chunks/1054-08930540869affcc.js +0 -1
  241. package/web/.next/static/chunks/1577-09f4d5183fb172de.js +0 -1
  242. package/web/.next/static/chunks/1789-b436bca079b82fcc.js +0 -1
  243. package/web/.next/static/chunks/296-1b50dd61ac3198f4.js +0 -1
  244. package/web/.next/static/chunks/3159-f25525771781f5aa.js +0 -1
  245. package/web/.next/static/chunks/3775-3a5a749d63c785a1.js +0 -3
  246. package/web/.next/static/chunks/390-d6132d3a117487df.js +0 -1
  247. package/web/.next/static/chunks/4020-9778230f3cc2164a.js +0 -1
  248. package/web/.next/static/chunks/4771-a0aadf337f224b72.js +0 -1
  249. package/web/.next/static/chunks/494-ed02d105fa0ac132.js +0 -1
  250. package/web/.next/static/chunks/5034-fc9997ff33a114aa.js +0 -1
  251. package/web/.next/static/chunks/7879-67ac5a52d74c20d2.js +0 -1
  252. package/web/.next/static/chunks/7920-40dc6aa63e653d6b.js +0 -1
  253. package/web/.next/static/chunks/870-b7151716d04a13c3.js +0 -1
  254. package/web/.next/static/chunks/8794-2a616d1f9c210117.js +0 -1
  255. package/web/.next/static/chunks/8861-a108ed6178a56b21.js +0 -1
  256. package/web/.next/static/chunks/9643-e9c8a744dd98813d.js +0 -1
  257. package/web/.next/static/chunks/9952-992cabfb077d287c.js +0 -1
  258. package/web/.next/static/chunks/app/(dashboard)/agents/[id]/channels/page-523c5d229e8520bf.js +0 -1
  259. package/web/.next/static/chunks/app/(dashboard)/agents/[id]/edit/page-5ca9c1eef4d0f837.js +0 -6
  260. package/web/.next/static/chunks/app/(dashboard)/agents/[id]/telegram/page-523c5d229e8520bf.js +0 -1
  261. package/web/.next/static/chunks/app/(dashboard)/agents/page-5ffa4a2468c1f95a.js +0 -1
  262. package/web/.next/static/chunks/app/(dashboard)/approvals/page-cd46d5e439a20d3e.js +0 -1
  263. package/web/.next/static/chunks/app/(dashboard)/automations/page-46eeaa40df9e58f8.js +0 -1
  264. package/web/.next/static/chunks/app/(dashboard)/chat/[id]/page-25e095bf0cdd1c40.js +0 -1
  265. package/web/.next/static/chunks/app/(dashboard)/chat/page-e2df1a328e18da7a.js +0 -1
  266. package/web/.next/static/chunks/app/(dashboard)/code/[id]/page-f5f7624cfbb32ee2.js +0 -1
  267. package/web/.next/static/chunks/app/(dashboard)/code/page-523c5d229e8520bf.js +0 -1
  268. package/web/.next/static/chunks/app/(dashboard)/connectors/page-2ecbfc5836577888.js +0 -1
  269. package/web/.next/static/chunks/app/(dashboard)/jobs/[id]/page-47e177ab46926fd7.js +0 -1
  270. package/web/.next/static/chunks/app/(dashboard)/jobs/page-523c5d229e8520bf.js +0 -1
  271. package/web/.next/static/chunks/app/(dashboard)/layout-0b429859260736b2.js +0 -1
  272. package/web/.next/static/chunks/app/(dashboard)/learned-skills/page-596d973a31e774db.js +0 -1
  273. package/web/.next/static/chunks/app/(dashboard)/llm-providers/page-ba1968c9430c4dd4.js +0 -1
  274. package/web/.next/static/chunks/app/(dashboard)/logs/page-f74da6f66116c7e7.js +0 -1
  275. package/web/.next/static/chunks/app/(dashboard)/mcp/page-07bdc6780b13cfca.js +0 -1
  276. package/web/.next/static/chunks/app/(dashboard)/page-889d6e89a8f679f8.js +0 -1
  277. package/web/.next/static/chunks/app/(dashboard)/scheduled/[id]/page-47e177ab46926fd7.js +0 -1
  278. package/web/.next/static/chunks/app/(dashboard)/scheduled/page-523c5d229e8520bf.js +0 -1
  279. package/web/.next/static/chunks/app/(dashboard)/settings/page-1b40e127c38affda.js +0 -1
  280. package/web/.next/static/chunks/app/(dashboard)/settings/root-context/page-6b7e1cffcad40a6a.js +0 -1
  281. package/web/.next/static/chunks/app/(dashboard)/skills/page-3ad87d1a3fbb4f05.js +0 -1
  282. package/web/.next/static/chunks/app/(dashboard)/spaces/[id]/files/page-4e2d27f80456a1ba.js +0 -1
  283. package/web/.next/static/chunks/app/(dashboard)/spaces/[id]/page-c81023eaa26c2c7a.js +0 -1
  284. package/web/.next/static/chunks/app/(dashboard)/spaces/page-9dbb35822503481b.js +0 -1
  285. package/web/.next/static/chunks/app/_global-error/page-523c5d229e8520bf.js +0 -1
  286. package/web/.next/static/chunks/app/_not-found/page-523c5d229e8520bf.js +0 -1
  287. package/web/.next/static/chunks/app/api/auth/[...all]/route-523c5d229e8520bf.js +0 -1
  288. package/web/.next/static/chunks/app/api/chat/stream/route-523c5d229e8520bf.js +0 -1
  289. package/web/.next/static/chunks/app/api/health/route-523c5d229e8520bf.js +0 -1
  290. package/web/.next/static/chunks/app/api/oauth/[provider]/callback/route-523c5d229e8520bf.js +0 -1
  291. package/web/.next/static/chunks/app/api/oauth/[provider]/start/route-523c5d229e8520bf.js +0 -1
  292. package/web/.next/static/chunks/app/auth/callback/route-523c5d229e8520bf.js +0 -1
  293. package/web/.next/static/chunks/next/dist/client/components/builtin/app-error-523c5d229e8520bf.js +0 -1
  294. package/web/.next/static/chunks/next/dist/client/components/builtin/forbidden-523c5d229e8520bf.js +0 -1
  295. package/web/.next/static/chunks/next/dist/client/components/builtin/unauthorized-523c5d229e8520bf.js +0 -1
  296. package/web/.next/static/css/099c0b54fc41e5b0.css +0 -1
  297. package/web/.next/static/x5fvzE6AeZGASlemQTLwd/_buildManifest.js +0 -1
  298. /package/web/.next/static/{x5fvzE6AeZGASlemQTLwd → uWxfL1NbU-xFtwNtkF4Wb}/_ssgManifest.js +0 -0
@@ -1 +0,0 @@
1
- "use strict";exports.id=9200,exports.ids=[9200],exports.modules={6792:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{"0008da4f39fd8670105ef9acce948190e6f471cb73":()=>f.dSg,"001317c8941959e3cc4e01c0bf7c5a7051022fbfaa":()=>f.HuK,"0021d42878f66ebc54dac5c946a21ab049132f2bd7":()=>f.wdR,"00239f1fef033671e0a60abb69bad1d044d31b2c68":()=>f.pDn,"002b122e9d253683a4dcb20dadc075e9d879fba52f":()=>f.VZe,"0035657a1ea9366bcaf39d60823b2609c212f87d69":()=>f.BMW,"0041d4199d684464480106caabb54af01d40dc66a9":()=>e.D0,"00468828b9d872610ad92de3f2c4aa200cffb6ebde":()=>f.dOR,"00481761c600ce5927a7dc13d489e6173f2200d0df":()=>e.qt,"00512800cad39d8fee52da8018074ab501cba5cc76":()=>f.bms,"005c27a8ade1a76bfc49907642d729c63575ab5e53":()=>f.$5k,"005cb121d9fbcc341ca32eec183a78a723bd0ebc89":()=>f.Ley,"006208f47f64c3b894892839c6bf06b1e42776fe49":()=>f.vX5,"0063707e06ff5e92e92e6374c28bdb2d02f0ccd45b":()=>f.j4T,"006c9ad6772d358a91e18569989a1c32c6b65c545b":()=>e.RN,"0083e45c0ee9472cf830115f90cdc44b6c21ea5c95":()=>f.KoN,"0085e97bfefa3e8c417b9046ede511a79d75dfff18":()=>e.gr,"0089907e33c9562cc647d5bca03ae107588dd6f2ca":()=>f.Zb,"008ba9c6a033c9548884b32ac12aec4498851fa165":()=>f.oA4,"00920ac177f0bb48e87febc3d332553bd5dae71ff8":()=>f.zh4,"009e1350c15a1c8739141ee0f64396da5c949c2cc8":()=>f.jjn,"00a661b582359ba480ed9d697aae80cee3353d8d5c":()=>f.$zY,"00a7f149942a46f4e544a42a7ae5e7b7d5d988c48a":()=>f.JD9,"00a8281c84cf1d00c841859fc2bf4a6c73149cff6e":()=>f.WDC,"00abe00c7c948da2e5ce3f0fd61d61706af1e5f69d":()=>f.cjC,"00b4e84ccaf61ba5b99295a6417f50b2c9024efc76":()=>f.c0,"00be6484513ed1dd208a1fe89336b1252412dc5ff6":()=>f.aGl,"00bf176f690adf008995c91b66759a3c58c9339813":()=>f.$4Z,"00c3735772f154c1634940666fd69fb45142f825f0":()=>f.M3i,"00c4629e919a24b21c8d6edb66b85a28aa19c4e185":()=>f.Hyt,"00c973fffcf0d916a66c9d57ffd556411956483ed3":()=>f.oG2,"00cef4137eb63112e339055fc87f23e647a68063aa":()=>f.A3_,"00da20bdbce662ac9daae1024072e76fadb500ed11":()=>f.Wdt,"00dfede8a6378a9d57231e2c4471d8da13644fafb3":()=>f.jTi,"00e05dd5e094593ccd6198cd26a7df9a0d3ee2a5c5":()=>f.le4,"00f00e5cbcbfbf91854a8bd87e5167fb68905946d6":()=>f.o4K,"00f3c319237e0d75632baaad2ae14a51edeb96327e":()=>f.ZzE,"00fcf468647ea7a5fd5206695e07fb8e58286dc8f4":()=>f.UK3,"400093dc77c1f86c93ae662498490008573e4c65e5":()=>f.ahp,"400575c6d19bdebd546e6aa25c4c5f677d5a7e92f3":()=>f.foO,"40060207d8393bf70c1df2731fc23adfd35d642b0e":()=>e.uc,"40060deba770cabcaf393126defb02dc9eb6e19f62":()=>f.puT,"40061ebc3e5fe2bee33cc091e0923642a5f447b0fd":()=>f.E4W,"400653d7e49ff18c52ab31ea75c055fce642ba7a05":()=>f.p5X,"400769f2991176c43b1dd042a9d6f3fca4a8fd8c84":()=>f.QlC,"4009828a1192d656725193c33d6b73a8f388cbf1e3":()=>f.Rts,"400a69f05e1dbe9d71a06d6a813639480b68d73cef":()=>f.Sbz,"400f6f122187a44fb6df0d28ff68fad2de571a27c6":()=>f.Q9G,"401516080e15c97e5ccf176c6263866bf15679a025":()=>f.ths,"4018d2fde618f62364c0998c782da989eb84fdff02":()=>f.HOY,"40191cba106816bf59808eca72e7b5996fe7c3e191":()=>f.vx,"401a28081169e48e9db29fc9de64baa4d05a0d7eb1":()=>f.PDy,"401b927cfd46b6d517f22575a111957ace75e55820":()=>f.ShT,"401ea622ab4dd7e321e28536fc05ea84759e5829b8":()=>f.cr5,"4020a9b5a7e1aa8d8e79d75dc02f58acdd4af67912":()=>f.JHm,"4020bc49b875accc07e798d3b9fac795b92f0ef1d6":()=>f.ASl,"40221aee1833c19bfe90063b7dac59e04b206000e1":()=>f.Zfd,"4022b75746d9f1f30d837a16dfa869b40cd0bfcfd9":()=>f.CVG,"4023b55efbc32e5efd3d91d1473cb3058ba92397dc":()=>f.HlP,"4025d074eb915be710802379fbbfa730d6fbe2f633":()=>f.EAh,"402608b166eadefab044a0b90c0c4a1877164eca41":()=>f.eiV,"4026a65ca14c354283475c21b41ba6113610c7c57b":()=>f.sHu,"4026b8e5c526a31e3e55da6a0d16d721a0d3391aa3":()=>f.xF9,"402781412fb9bdbf00477c6e4c16b13dd9e139b02f":()=>f.QaL,"402995cca001806c8f3d9637a86996ad847d4b0677":()=>f.p9Q,"402ae5e1cb86be0a615520162706d8ba5653293eed":()=>f.k98,"402b7c7e1c9802935e5c0b76e8815a91c23d8681b8":()=>f.PML,"402c6b37f9017e36713cda442daebf1ceb7c738c0e":()=>f.S2e,"402fa2aab06e1c35069f2157d036b46815e6ecab64":()=>f.gEh,"40314e38634a40e002ffe578dcb9d4ae99c46f532d":()=>f.xV9,"40319e15cced32d88942333dc8946fe0d441cd6908":()=>f.XlI,"403c036e1769567587ba69d9178e9e6e0bd9f006fd":()=>f.r1Q,"403ca1f9fe2299134631516d355ebbf0cb1e51609e":()=>e.rz,"403e0bd99ae9d9ba8c065ead612f77a4e02846a42b":()=>f.f_Q,"404009a071b103aeec91382a857f5f320dd19faa17":()=>f._xZ,"4041c2c0314f6f185c7de0e54a7924478792a6b2d6":()=>f.ML0,"4041e7f3a761b53a7a40351eefd967b937da88fd53":()=>f.X1t,"404616a8809c917b720920a17f4ce7fdd22ad4ed83":()=>f.gvg,"404c01a52bfef7c9939dcb90c4e0502f116594867d":()=>f.Ty5,"404c854c62bff37e9ea20ef56d3513b971f9ed8525":()=>f.keg,"40505c6e0ef17e5d7cd20757da376194d6da5e1349":()=>f.Jqn,"405455934cabf5f2c476e40be52d546683ac27d2df":()=>f.FSp,"405744c2977b00314f74f909c9b3a0fa5b6952ddde":()=>f.vPW,"40576a704c98d70ee1e8110597706abe859d7addc6":()=>f.WHd,"405820186999c2907d756e540fb88865ec02d50cc4":()=>f.LNX,"4058f5bf7ec9d8b305107bec313bd6980ba78f9099":()=>f.Jbj,"405be84667c8b7479a6225f1cb7fe66df7749c3d64":()=>f.Rzh,"405f1531a2287c807cdae4d2ef6647c42228631f57":()=>f.rfD,"405fc6a66732dca26ed46d7f0650cb28f5d9e0431f":()=>f.mJg,"40619e433150807318b315e536c41ba4601b7fb4c4":()=>f._HQ,"4062cef616071913ee4ce2257f7353748953b8fd7e":()=>f.Wqn,"4063c6465933dd4621e3c8ed37e05ba6efcfcb822e":()=>f.khK,"40640738f34c850782d52fe4f29414a0359c4233c7":()=>f.WqY,"4065f8ad1a7b09b47c076152bcc8fd1121b0ddfcbf":()=>e.aX,"4067cdcd01af6f350a208794a19363fcf0afee1b11":()=>f.oCn,"4068c5baaca236e82e624de8eba087057aec3a5948":()=>f.Yn$,"406994532d393328dab7ce4320500efcb794df03a1":()=>f.XUm,"406f325f411e1eff589df6b6c5df18177fdaba4ce9":()=>f.iuB,"4073db3da83b6ec93df737cac18bf487ef15e559bd":()=>f.CqO,"40751fb71c9ec3d3b2f0a0d8dea340aa1a0245d4dc":()=>f.flP,"40755736c35128c0a3149351bd60fdbc67e6ed528c":()=>f.nH7,"4075bcb00ec29f6c1cb35eb88ac31275466b377ac7":()=>f.ePu,"40778766bca0998714b2afc2ef6a24725e360c3252":()=>f.rTZ,"4078053c6ab56670e5e29c5197738439ed0bed8a1d":()=>f.V8m,"4078dccc4192da793058b75304d336042fa3596b90":()=>f.La$,"407a94fcad4baa65a486f2e0bb5b599ae9eeb051a6":()=>f.Trw,"407ab6fd0821adfe95c650f02b853d69810c4e7e6e":()=>f.lVM,"407b4e4776e57509a2f7e8a6a3d3d279e3c2011a3a":()=>f.KWz,"408011541bdc74610a558389ee81f105e3c66c2b98":()=>f.Hps,"4083458a938c278255f90a373c6f22090fa9a1a292":()=>f.bV3,"4084373c85a7063cef61e643ad2205c62a89cd6851":()=>f.fI9,"4084992fe3039dd70aba283b3387ad297d2e40538f":()=>f.qWw,"40859f5a21a0ef5634c213ffc198906eff8f0fe170":()=>e.ax,"40894b7e161e9cfb06404f58dd279b0a9c25babf9f":()=>f.hUS,"408b7a39c037fa9bf9867d5458972f8424f401affc":()=>f.t3Y,"408ebd8eb6a5fd6b326177ee2546e6d6e8081476d9":()=>f.g$k,"408f29057ed4dd2a89ffce4c6a7728e69a663f03ce":()=>f.oak,"409353abfb80767eac75198867885c3a1f605f6705":()=>f.Zm4,"40955851cad0505dd1b3a1d033b919e4658daecacf":()=>f.g$E,"4096ab53481dae526b3e3d94ce8dfad1e6c9d44b63":()=>f.MoE,"40979df594ff3dd9562d81bedb329591cf5612ce90":()=>f._Nd,"4097b6d0822e735ce0cc4b2a9edd5c75b2748125d7":()=>f.PEW,"4098d98d78d395bceeaf1bbcc2151dbefaaf785e14":()=>g.Jh,"409aeb9dd014d3202164f62ad2eff2ca2e83d90a5c":()=>f.FgD,"409c493b8c184dc5bdbd3ef332521bc4a1edc9ea98":()=>f.y4H,"409da1e50879602d50629473cf721c48c6d59849c3":()=>f.lgR,"409f929cc018d3d825b71c9087f70b79dea58cbfb1":()=>f.iU$,"40a78ae07fa6f74dceb20cfbda58223d620f65e350":()=>f.SVd,"40a8e47d54461367eba729fa5c9ad8423c7aa7fe0e":()=>f.KIl,"40a8ea3b8bf42740e42e206ef43ae0e7b208dcac1f":()=>e.q5,"40afc8fdbb1783c54de905a0d33a1d91316e6784dc":()=>f.Kep,"40b46fd17bf9459d4d04447ad03e654ca354524644":()=>f.rv7,"40b865fc488e5dd0c5d652a00f9d74064b57f8faa0":()=>f.fG_,"40c58739617839a940812b159dc12bab1ac980ef0a":()=>f.wIl,"40c96a62a2e774e0a5c59303e999937a0b44bfedac":()=>f.QT1,"40cc3ce7920f42c8ad2d5d72ae0ab29eb2859f1e0e":()=>f.hlo,"40cd081998ec54c9cbf152bcc54b4f2342a3318cf0":()=>f.cuo,"40cec05a4637b373a82f9847d3a85038d3a4494941":()=>g.Bs,"40d039abdd07a386ee71403a4c894d7e4c9222ff5a":()=>f.Ogj,"40d295ca2dd969f3a28684cc82c2d61bf8e3e9a84e":()=>f.hPA,"40d2cea29ff76eb591d39f739b8454fc3fb46c489d":()=>f.cmc,"40d8fc8a6eb8a5833c447f09330385f265cca79c69":()=>f.EvH,"40da7e995ab616a8434ba1ad9ea19cb2828934e8f5":()=>f.XmW,"40dba91a3d91396aa28ffb045260f2f273e13cb132":()=>f.TDu,"40df753079fde625c74c7073a48e6086b80b4f2198":()=>f.mDY,"40e16e5fd083a814d27a8e0f087e18404e093d9b7e":()=>f.LWx,"40e2b3ad26610b716852d20df66af356b8630d2e27":()=>f.INV,"40e2d0201afb63da25a2d11b27fbd7dcb38d59c249":()=>f.NM6,"40e4c78ec4b9aa0e236437fdc88e55ba271ea4b5b4":()=>f.e48,"40e54e694e429d5ce2b48342a8864e448082e3addd":()=>f.Byx,"40e7e9e9c7dd1dcdbec347665642f75fd3b5403150":()=>f.EpB,"40ea493f404839402fb6a7905385d5e1db8c31ec9d":()=>f._NR,"40ea6d73daaca9a98e9de4834e068d7720612c6ef7":()=>f.WT_,"40eb98d142c5916308285052fd182f40fb53a577a4":()=>f.tSk,"40ed2a4a3431a0a28a2552ca5bbc605aa047b8ae8c":()=>f.RoQ,"40ed6ec7f6b31f9c2e8aca2c033ebb97802f3b8200":()=>f.xo1,"40ed97d3ef199691892b30684aa6b5e0297f18f9b1":()=>f.lY3,"40edf03ced92989a38cc5b3b367a84973a74f978b9":()=>g.FT,"40f0ea5364a8ede1117763b0e7a0147da5bd7d850f":()=>f.hDc,"40f469227e1e023019dd61eecb24e0afdd58650ded":()=>f.K07,"40f6bcec2d1557df5a5c8657c515e645e4bf7cfb4f":()=>f.GLK,"40f7aaab2c6994ca716851afbd362e30e17543c7c1":()=>f.MQN,"40fa23fb18f32051944d61ca19ff917c83ce48fed9":()=>f.PHJ,"40fd26d89d438dac04b72ddaa75212de5ed94c437e":()=>f.ZGG,"40fdee9986b1514a17592aa57c16917832e6a3a69c":()=>f.CyH,"40ff91f04230dd2aa28294450c1f02479cdabf68e4":()=>f.VQR,"6017e2c74b2e24b8b879351268837a414496c2e86b":()=>f.WIq,"6029186d56f03a50d039165763da2fc8166a1a6d63":()=>f.ddZ,"602f1e3edbc2a116325d7f7fb8e5cb32c67250fada":()=>f.c29,"60397e84fe085de776dd4536d028f3003da17af850":()=>f.SsI,"60574cf67b272f5b25d8128bc188d88dfa6393fbfa":()=>f.ZJM,"60794920903db0715cb7af58fadf5de91eabbae33d":()=>f.f20,"6082b897f7d9a5c741d045ca0acbee07ff80bb6e13":()=>f.PC8,"6090ebe3c820c6dc56a24b929ec9af695b08ec0a71":()=>f.cD,"6093025968695190a9ba36caf0aec82f3c1ae6c0e9":()=>g.Av,"60ad34acc7ee529580c70fa868308346d9b820fdce":()=>f.yUj,"60b7f195ba6882f59d0758cdc041286434bf3e68f8":()=>f.wPz,"60d30fb7d6f4f4817d88dd157f246b6365cbc433c2":()=>f.wIV,"60d361e068e4da8e7d2754fbda5160b045c29c87b8":()=>f.Rue,"60db411968f5f7da25b7d0fab88339276555512873":()=>f.vum,"60e9215287c97d8c577837931b629c8c094ca4d8d0":()=>f.x7W,"707fd3667838f451adb9d7efad0c37efa3573f2a42":()=>f.z_0,"70d5ffe6e0a45b64d30e707df99e71f2cd9ff161d0":()=>f.JcR,"70efcb320785f0673d99e762cab4f1f32df84ab271":()=>f.Ocs,"70fcdfa1da0a84f23a1e0091ff51279952de5449d8":()=>f.chn,"7831aaf38a44b9b08607451a25babeaeb4c3294955":()=>f.wjv,"78fd26fcc6fe29d32d9ef82c293b60ac4301e17ce7":()=>f.AHw});var e=c(11428),f=c(12406),g=c(30067),h=a([e,f]);[e,f]=h.then?(await h)():h,d()}catch(a){d(a)}})},24735:(a,b,c)=>{c.d(b,{A:()=>j});var d=c(27557),e=c(47728),f=c(84249),g=c(34252);let h={info:{bg:"bg-run-bg",icon:"text-conn-vivid",iconColor:"text-conn-vivid"},warn:{bg:"bg-warn-bg",icon:"text-skill-vivid",iconColor:"text-skill-vivid"},tip:{bg:"bg-paper border border-rule-2",icon:"text-ink-3",iconColor:"text-ink-3"}},i={info:e.R,warn:f.N,tip:g.g};function j({variant:a,title:b,children:c,className:e=""}){let f=h[a],g=i[a];return(0,d.jsxs)("div",{className:`flex items-start gap-2.5 rounded-[9px] px-3.5 py-2.5 text-body-13 leading-[1.5]! text-ink-2 ${f.bg} ${e}`,children:[(0,d.jsx)(g,{size:16,weight:"regular",className:`mt-0.5 shrink-0 ${f.iconColor}`}),(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[b&&(0,d.jsx)("b",{className:"block font-medium text-ink",children:b}),c]})]})}},30067:(a,b,c)=>{c.d(b,{Av:()=>p,Bs:()=>o,FT:()=>n,Jh:()=>q});var d=c(93976),e=c(16225),f=c(53216),g=c(48673),h=c(91030),i=c(41382),j=c(91017);function k(a){return{ok:!0,data:a}}function l(a,b){return{ok:!1,code:a,message:b}}async function m(){let a,b=(0,h.Iz)();try{let b=await (0,j.headers)();a=new Request("http://localhost/",{headers:b})}catch{a=new Request("http://localhost/")}return(0,i.oC)(a,b)}async function n(a){try{let b=await m(),c=(0,h.Lf)(),d=await c.select().from(f.z3).where((0,f.eq)(f.z3.ownerUserId,b.userId)),e=void 0!==a?d.filter(b=>b.type===a):d,g=await Promise.all(e.map(async a=>{let b=null,d=null,e=null,g=null;try{let g=await (0,f.G0)(c,a.id);g&&(b=g.payload.accountName??null,d=g.payload.expiresAt?new Date(g.payload.expiresAt):null,e=g.payload.scopes??null)}catch(a){g=a instanceof Error?a.message:"decrypt_failed"}let h=(await c.select({id:f.tK.id,slug:f.tK.slug}).from(f.tK).where((0,f.eq)(f.tK.credentialId,a.id))).map(a=>({connectorSlug:a.slug,connectorId:a.id}));return{id:a.id,name:a.name,type:a.type,accountName:b,expiresAt:d,scopes:e,inUseBy:h,createdAt:a.createdAt,updatedAt:a.updatedAt,decryptError:g}}));return k(g)}catch(a){return console.error("[listCredentialsAction]",a),l("db_error","Failed to load credentials")}}async function o(a){try{let b=await m();if(!g.Yj().guid().safeParse(a).success)return l("validation_failed","Invalid credential id");let c=(0,h.Lf)(),[d]=await c.select({id:f.z3.id,ownerUserId:f.z3.ownerUserId}).from(f.z3).where((0,f.eq)(f.z3.id,a));if(!d)return l("not_found","Credential not found");if(d.ownerUserId!==b.userId)return l("forbidden","Access denied");let i=(await c.select({id:f.tK.id}).from(f.tK).where((0,f.eq)(f.tK.credentialId,a))).length;return await c.delete(f.z3).where((0,f.eq)(f.z3.id,a)),(0,e.revalidatePath)("/credentials"),(0,e.revalidatePath)("/connectors"),k({disconnected:i})}catch(a){return console.error("[deleteCredentialAction]",a),l("db_error","Failed to delete credential")}}async function p(a,b){try{let c=await m();if(!g.Yj().guid().safeParse(a).success)return l("validation_failed","Invalid credential id");let d=b.trim();if(0===d.length||d.length>120)return l("validation_failed","Name must be 1–120 characters");let i=(0,h.Lf)(),[j]=await i.select({id:f.z3.id,ownerUserId:f.z3.ownerUserId}).from(f.z3).where((0,f.eq)(f.z3.id,a));if(!j)return l("not_found","Credential not found");if(j.ownerUserId!==c.userId)return l("forbidden","Access denied");return await i.update(f.z3).set({name:d,updatedAt:new Date}).where((0,f.eq)(f.z3.id,a)),(0,e.revalidatePath)("/credentials"),k(void 0)}catch(a){return console.error("[renameCredentialAction]",a),l("db_error","Failed to rename credential")}}async function q(a){try{let b=await m();if(!g.Yj().guid().safeParse(a).success)return l("validation_failed","Invalid credential id");let c=(0,h.Lf)(),[d]=await c.select({id:f.z3.id,ownerUserId:f.z3.ownerUserId}).from(f.z3).where((0,f.eq)(f.z3.id,a));if(!d)return l("not_found","Credential not found");if(d.ownerUserId!==b.userId)return l("forbidden","Access denied");let{expiresAt:i}=await (0,f.Ic)(c,a);return(0,e.revalidatePath)("/credentials"),k({expiresAt:i})}catch(b){let a=b instanceof Error?b.message:String(b);if(console.error("[refreshCredentialAction]",b),a.includes("does not support token refresh"))return l("oauth_no_refresh","This provider does not support token refresh");if(a.includes("missing refreshToken"))return l("missing_refresh_token","Credential is missing refresh token");return l("refresh_failed",`Token refresh failed: ${a}`)}}(0,c(38748).D)([n,o,p,q]),(0,d.A)(n,"40edf03ced92989a38cc5b3b367a84973a74f978b9",null),(0,d.A)(o,"40cec05a4637b373a82f9847d3a85038d3a4494941",null),(0,d.A)(p,"6093025968695190a9ba36caf0aec82f3c1ae6c0e9",null),(0,d.A)(q,"4098d98d78d395bceeaf1bbcc2151dbefaaf785e14",null)},31638:(a,b,c)=>{c.d(b,{A:()=>q});var d=c(27557),e=c(44928),f=c(69674),g=c(41462),h=c(52282),i=c(775),j=c(37241),k=c(37422),l=c(9987),m=c(31518),n=c(32851);let o={"google-oauth":{label:"Google",callbackPath:"/api/oauth/google-oauth/callback",namePlaceholder:"Mon Google perso",clientIdLabel:"Client ID",clientSecretLabel:"Client secret"},"notion-oauth":{label:"Notion",callbackPath:"/api/oauth/notion-oauth/callback",namePlaceholder:"Mon Notion",clientIdLabel:"OAuth client ID",clientSecretLabel:"OAuth client secret"},"airtable-oauth":{label:"Airtable",callbackPath:"/api/oauth/airtable-oauth/callback",namePlaceholder:"Mon Airtable",clientIdLabel:"Client ID",clientSecretLabel:"Client secret"},"microsoft-oauth":{label:"Microsoft 365",callbackPath:"/api/oauth/microsoft-oauth/callback",namePlaceholder:"Mon compte Microsoft",clientIdLabel:"Application (client) ID",clientSecretLabel:"Client secret value"}},p=[{type:"google-oauth",label:"Google Workspace",description:"Drive, Gmail, Sheets, Docs"},{type:"notion-oauth",label:"Notion",description:"Public OAuth integration"},{type:"airtable-oauth",label:"Airtable",description:"Public OAuth integration"},{type:"microsoft-oauth",label:"Microsoft 365",description:"Outlook Mail"}];function q({initialType:a,returnToConnectorSlug:b,scopeDisclosure:c,onClose:r}){let[s,t]=(0,e.useState)(a?"setup":"type"),[u,v]=(0,e.useState)(a??null),[w,x]=(0,e.useState)(""),y=(0,e.useRef)(null),z=u?o[u]:null,A=b?`/connectors?connectorSlug=${b}`:"/credentials",B=u?`/api/oauth/${u}/start`:"#",C="type"===s?"New credential":z?`Configure ${z.label} credential`:"Configure credential";return(0,d.jsxs)(h.A,{open:!0,onClose:r,title:C,dismissable:"type"===s,testId:"credential-wizard-dialog",footer:"type"===s?(0,d.jsx)(h.j,{children:(0,d.jsx)(i.A,{variant:"neutral",onClick:r,children:"Cancel"})}):void 0,children:[c&&(0,d.jsx)("div",{className:"mb-4",children:(0,d.jsx)(n.A,{disclosure:c})}),"type"===s&&(0,d.jsxs)("div",{className:"space-y-3",children:[(0,d.jsx)("p",{className:"text-sm text-ink-3",children:"Choose the OAuth provider to connect to Nodal-Agents."}),(0,d.jsx)("div",{className:"space-y-2",children:p.map(a=>(0,d.jsx)(j.t,{active:u===a.type,onClick:()=>{v(a.type),t("setup")},name:a.label,description:a.description,testId:`credential-type-${a.type}`},a.type))})]}),"setup"===s&&z&&u&&(0,d.jsxs)("form",{ref:y,method:"POST",action:B,encType:"application/x-www-form-urlencoded",className:"space-y-5",children:[(0,d.jsx)("input",{type:"hidden",name:"returnTo",value:A}),(0,d.jsxs)("div",{className:"space-y-2",children:[(0,d.jsx)("p",{className:"text-xs text-ink-3 font-semibold uppercase tracking-wider",children:"Setup instructions"}),(0,d.jsx)(f.A,{guide:g.o[u]})]}),(0,d.jsxs)("div",{className:"space-y-1",children:[(0,d.jsx)("p",{className:"text-xs text-ink-3",children:"Authorized redirect URI"}),(0,d.jsxs)("div",{className:"flex items-center gap-2 bg-hover border border-rule rounded-md px-3 py-2",children:[(0,d.jsx)("code",{className:"text-xs text-ink-2 font-mono flex-1 break-all",children:w||"…"}),(0,d.jsx)(m.default,{value:w,className:"shrink-0"})]})]}),(0,d.jsxs)("div",{className:"space-y-3 border-t border-rule-2 pt-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)(l.A,{children:["Display name ",(0,d.jsx)("span",{className:"text-ink-4",children:"(optional)"})]}),(0,d.jsx)(k.A,{name:"name",placeholder:z.namePlaceholder})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)(l.A,{children:z.clientIdLabel}),(0,d.jsx)(k.A,{name:"clientId",required:!0,autoComplete:"off",className:"font-mono"})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)(l.A,{children:z.clientSecretLabel}),(0,d.jsx)(k.A,{name:"clientSecret",type:"password",required:!0,autoComplete:"off",className:"font-mono"})]})]}),(0,d.jsxs)(h.j,{className:"-mx-6 -mb-6 mt-2 rounded-b-xl",children:[(0,d.jsx)(i.A,{variant:"neutral",type:"button",onClick:r,children:"Cancel"}),!a&&(0,d.jsx)(i.A,{variant:"neutral",type:"button",onClick:()=>t("type"),children:"Back"}),(0,d.jsxs)(i.A,{variant:"ink",type:"submit",children:["Continue with ",z.label]})]})]})]})}},32851:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(27557),e=c(24735);function f({disclosure:a}){return a?(0,d.jsx)(e.A,{variant:"warn",title:"What this connector can reach",children:a}):null}},34252:(a,b,c)=>{c.d(b,{g:()=>h});var d=c(44928),e=c(46895),f=c(50626);let g=d.forwardRef((a,b)=>d.createElement(e.A,{ref:b,...a,weights:f.A}));g.displayName="LightbulbIcon";let h=g},37241:(a,b,c)=>{c.d(b,{t:()=>e});var d=c(27557);function e({active:a,onClick:b,name:c,description:f,children:g,testId:h}){return(0,d.jsxs)("div",{role:"radio","aria-checked":a,"data-testid":h,tabIndex:0,onClick:b,onKeyDown:a=>{("Enter"===a.key||" "===a.key)&&(a.preventDefault(),b())},className:["flex items-start gap-3.5 px-4 py-3.5 rounded-[10px] border cursor-pointer mb-2 transition-[border-color,background-color] duration-[120ms]",a?"border-conn-vivid bg-conn-vivid/[0.06]":"border-rule-2 bg-paper hover:border-rule"].join(" "),children:[(0,d.jsx)("span",{className:["mt-0.5 flex-shrink-0 w-[18px] h-[18px] rounded-full border-[1.6px] flex items-center justify-center",a?"border-conn-vivid":"border-rule"].join(" "),children:a&&(0,d.jsx)("span",{className:"w-2 h-2 rounded-full bg-conn-vivid"})}),(0,d.jsxs)("span",{className:"flex-1 min-w-0",children:[(0,d.jsx)("span",{className:"block text-medium-14 leading-[1.3]! text-ink",children:c}),(0,d.jsx)("span",{className:"block text-body-13 leading-[1.4]! text-ink-3 mt-0.5",children:f}),g]})]})}},41060:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(5347).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\components\\\\ui\\\\SearchBox.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\components\\ui\\SearchBox.tsx","default")},41462:(a,b,c)=>{c.d(b,{m:()=>e,o:()=>d});let d={"google-oauth":{title:"Get your Google OAuth credentials",intro:"You need a Google Cloud project with the relevant APIs enabled.",steps:[{number:1,text:"Go to Google Cloud Console and create a new project (any name).",link:{href:"https://console.cloud.google.com/",label:"console.cloud.google.com"}},{number:2,text:"Enable each API your agents will use — click the links below, then hit Enable:",subLinks:[{href:"https://console.cloud.google.com/apis/library/drive.googleapis.com",label:"Drive API"},{href:"https://console.cloud.google.com/apis/library/gmail.googleapis.com",label:"Gmail API"},{href:"https://console.cloud.google.com/apis/library/sheets.googleapis.com",label:"Sheets API"},{href:"https://console.cloud.google.com/apis/library/docs.googleapis.com",label:"Docs API"},{href:"https://console.cloud.google.com/apis/library/calendar-json.googleapis.com",label:"Calendar API"}]},{number:3,text:"In the left menu, go to APIs & Services → OAuth consent screen. Choose User Type: External, fill in the app name, then add your own email as a Test user."},{number:4,text:"Go to APIs & Services → Credentials → Create credentials → OAuth client ID → Application type: Web application."},{number:5,text:"Under Authorized JavaScript origins, add the origin shown below the form."},{number:6,text:"Under Authorized redirect URIs, paste the redirect URI shown below the form. This step is mandatory — Google rejects the connection if it is missing or differs by even one character.",hint:"Most common cause of failure when trying to connect."},{number:7,text:"Click Create. A dialog shows your Client ID and Client secret. Copy both."},{number:8,text:"Paste them into the fields below."}],format:"Client ID ends with .apps.googleusercontent.com"},"notion-oauth":{title:"Get your Notion OAuth credentials",intro:"You need a Public integration — not an Internal one. The distinction matters.",steps:[{number:1,text:"Go to Notion integrations and click + New integration.",link:{href:"https://www.notion.so/my-integrations",label:"notion.so/my-integrations"}},{number:2,text:"Set Integration type to Public (not Internal — Internal tokens are single-workspace only and cannot do OAuth).",hint:'If you see no "Type" field, you are on the wrong page.'},{number:3,text:"Fill in a name and optional logo. Under Capabilities, check at minimum: Read content, Update content, Insert content."},{number:4,text:"In the OAuth Domain & URIs section, paste the redirect URI shown below the form. This step is mandatory — Notion rejects the connection if it is missing or differs by even one character.",hint:"Most common cause of failure when trying to connect."},{number:5,text:"Click Submit. On the integration page, open the Secrets tab."},{number:6,text:"Copy the OAuth client ID (a UUID) and the OAuth client secret."},{number:7,text:"Paste them into the fields below."}],format:"Client ID is a UUID. Secret starts with secret_"},"airtable-oauth":{title:"Get your Airtable OAuth credentials",warning:"Airtable only accepts localhost or an HTTPS redirect URI — raw LAN IPs (e.g. 192.168.x.x) are rejected. Open the dashboard at http://localhost:3000 just for this flow. The resulting credential works from any host afterwards.",warningWhen:"lan-ip-only",steps:[{number:1,text:"Go to the Airtable OAuth integration page and click Register new OAuth integration.",link:{href:"https://airtable.com/create/oauth",label:"airtable.com/create/oauth"}},{number:2,text:"Give it a name (e.g. Nodal-Agents)."},{number:3,text:"In the Redirect URIs section, paste the redirect URI shown below the form. This step is mandatory — Airtable rejects the connection if it is missing or differs by even one character.",hint:"Most common cause of failure when trying to connect."},{number:4,text:"In the Scopes section, check the four scopes: data.records:read, data.records:write, schema.bases:read, schema.bases:write — then save / update the integration so the scopes are persisted.",hint:'If the scopes are not saved, Airtable returns "invalid_scope" during the OAuth flow.'},{number:5,text:"Click Register integration (or Save changes if editing an existing one)."},{number:6,text:"On the integration detail page, copy the Client ID and Client secret."},{number:7,text:"Paste them into the fields below."}],format:"Client ID is a UUID. Secret is longer."},"microsoft-oauth":{title:"Get your Microsoft (Azure) OAuth credentials",intro:"You need an app registration in Microsoft Entra ID (Azure Active Directory).",steps:[{number:1,text:"Go to the Azure Portal, open Microsoft Entra ID, then App registrations → New registration.",link:{href:"https://portal.azure.com/",label:"portal.azure.com"}},{number:2,text:'Give it a name (e.g. Nodal-Agents). Under Supported account types, choose "Accounts in any organizational directory and personal Microsoft accounts" — this covers both work/school and outlook.com/hotmail accounts.',hint:"Picking a narrower option here blocks personal Microsoft accounts from connecting."},{number:3,text:"Under Redirect URI, set the platform to Web and paste the redirect URI shown below the form. This step is mandatory — Microsoft rejects the connection if it is missing or differs by even one character.",hint:"Most common cause of failure when trying to connect."},{number:4,text:"Click Register. On the app overview page, copy the Application (client) ID."},{number:5,text:"Go to Certificates & secrets → Client secrets → New client secret. Give it a description and expiry, then click Add."},{number:6,text:"Copy the secret Value immediately — Azure hides it after you leave the page (the Secret ID next to it is NOT the value you need).",hint:"If you navigate away before copying, you have to create a new secret."},{number:7,text:"Go to API permissions → Add a permission → Microsoft Graph → Delegated permissions, then add: Mail.ReadWrite, Mail.Send, MailboxSettings.Read, offline_access."},{number:8,text:"Admin consent is not required for these delegated permissions on a personal Microsoft account — the consent screen appears during the connect flow instead."},{number:9,text:"Paste the Application (client) ID and the client secret Value into the fields below."}],format:"Application (client) ID is a UUID. Secret value is a short random string, not a UUID."}},e={notion:{title:"Get your Notion Internal Integration Token",intro:"This is the Internal integration flow — single workspace, no OAuth redirect. Different from the Notion OAuth credential.",steps:[{number:1,text:"Go to Notion integrations and click + New integration.",link:{href:"https://www.notion.so/my-integrations",label:"notion.so/my-integrations"}},{number:2,text:"Set Integration type to Internal (not Public). Select your workspace."},{number:3,text:"Under Capabilities, check at minimum: Read content, Update content, Insert content."},{number:4,text:"Click Submit. On the integration page, open the Secrets tab and copy the Internal Integration Token."},{number:5,text:"Important: for each Notion page the agent should access, open the page, click the \xb7\xb7\xb7 menu → Connections → select your integration name.",hint:'Without this step the agent gets "object not found" errors.'}],format:"Token starts with secret_"},airtable:{title:"Get your Airtable Personal Access Token",steps:[{number:1,text:"Go to the Airtable token creation page and click Create new token.",link:{href:"https://airtable.com/create/tokens",label:"airtable.com/create/tokens"}},{number:2,text:"Give it a name. Under Scopes, add at minimum: data.records:read, data.records:write, schema.bases:read."},{number:3,text:"Under Access, choose the specific bases to expose or select All workspaces."},{number:4,text:"Click Create token and copy the value immediately — Airtable hides it after you close the dialog."}],format:"Token starts with pat"},apify:{title:"Get your Apify API token",steps:[{number:1,text:"Go to the Apify integrations page.",link:{href:"https://console.apify.com/account/integrations",label:"console.apify.com/account/integrations"}},{number:2,text:"Under API tokens, either copy the default Personal API token or click Create new token to generate a dedicated one."},{number:3,text:"Paste the token into the field below."}],format:"Token starts with apify_api_"},firecrawl:{title:"Get your Firecrawl API key",steps:[{number:1,text:"Go to your Firecrawl account page and navigate to API Keys.",link:{href:"https://www.firecrawl.dev/account",label:"firecrawl.dev/account"}},{number:2,text:"Copy your existing key or click to generate a new one, then paste it below."}],format:"Key starts with fc-"},tavily:{title:"Get your Tavily API key",steps:[{number:1,text:"Go to the Tavily app and open the API section.",link:{href:"https://app.tavily.com/",label:"app.tavily.com"}},{number:2,text:"Copy your API key and paste it below."}],format:"Key starts with tvly-"}}},47085:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(27557),e=c(56905);function f({items:a,noun:b}){let c=a.length;return(0,d.jsxs)("span",{title:a.join("\n"),className:"inline-flex cursor-help items-center gap-1.5 rounded-md border border-rule-2 bg-hover px-2 py-1 text-mono-11 whitespace-nowrap text-ink-2",children:[(0,d.jsx)(e.c,{size:12,weight:"bold",className:"text-ink-4"}),c," ",b,1!==c?"s":""]})}},47728:(a,b,c)=>{c.d(b,{R:()=>h});var d=c(44928),e=c(46895);let f=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),d.createElement("path",{d:"M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),g=d.forwardRef((a,b)=>d.createElement(e.A,{ref:b,...a,weights:f}));g.displayName="InfoIcon";let h=g},69674:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(27557),e=c(44928);function f({guide:a}){let[b,c]=(0,e.useState)(!1);return(0,d.jsxs)("div",{className:"space-y-3",children:[a.intro&&(0,d.jsx)("p",{className:"text-xs text-ink-3 italic",children:a.intro}),b&&a.warning&&(0,d.jsxs)("div",{role:"note",className:"flex gap-2 rounded-md border border-warn/30 bg-warn px-3 py-2 text-xs text-warn",children:[(0,d.jsx)("span",{"aria-hidden":"true",className:"font-bold",children:"!"}),(0,d.jsx)("span",{children:a.warning})]}),(0,d.jsx)("ol",{className:"space-y-2.5",children:a.steps.map(a=>(0,d.jsxs)("li",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"shrink-0 w-5 h-5 rounded-full bg-hover text-ink-3 text-legacy-11 font-bold flex items-center justify-center mt-0.5",children:a.number}),(0,d.jsxs)("div",{className:"space-y-1.5 text-sm text-ink-3",children:[(0,d.jsxs)("span",{children:[a.text,a.link&&(0,d.jsxs)(d.Fragment,{children:[" ",(0,d.jsx)("a",{href:a.link.href,target:"_blank",rel:"noopener noreferrer",className:"text-indigo-400 hover:text-indigo-300 underline",children:a.link.label})]})]}),a.subLinks&&a.subLinks.length>0&&(0,d.jsx)("ul",{className:"mt-1 space-y-1 pl-1",children:a.subLinks.map(a=>(0,d.jsxs)("li",{className:"flex items-center gap-1.5 text-xs",children:[(0,d.jsx)("span",{className:"text-ink-4",children:"•"}),(0,d.jsx)("a",{href:a.href,target:"_blank",rel:"noopener noreferrer",className:"text-indigo-400 hover:text-indigo-300 underline",children:a.label})]},a.href))}),a.hint&&(0,d.jsx)("p",{className:"text-xs text-ink-3 italic",children:a.hint})]})]},a.number))}),a.format&&(0,d.jsxs)("p",{className:"text-xs text-ink-3",children:["Format: ",(0,d.jsx)("code",{className:"font-mono text-ink-3",children:a.format})]})]})}},80241:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(47235),e=c(41060),f=c(90356),g=c(86585);function h({title:a,subtitle:b,header:c}){return void 0!==c?(0,d.jsxs)("header",{className:"flex min-h-[75px] items-center gap-4 border-b border-rule-2 px-5 pt-5 pb-4 sm:px-8 lg:px-9",children:[(0,d.jsx)("div",{className:"min-w-0 flex-1",children:c}),(0,d.jsxs)("div",{className:"hidden shrink-0 items-center gap-2 lg:flex",children:[(0,d.jsx)(e.default,{className:"hidden md:flex"}),(0,d.jsx)(g.default,{}),(0,d.jsx)(f.default,{})]})]}):(0,d.jsxs)("header",{className:"flex items-center justify-between gap-4 border-b border-rule-2 px-5 pt-5 pb-4 sm:px-8 lg:px-9",children:[(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsx)("h1",{className:"text-display-28 leading-[1.15]! tracking-[-0.015em] text-ink",children:a}),b&&(0,d.jsx)("p",{className:"mt-1.5 text-body-14 leading-[1.5]! text-ink-3",children:b})]}),(0,d.jsxs)("div",{className:"hidden shrink-0 items-center gap-2 lg:flex",children:[(0,d.jsx)(e.default,{className:"hidden md:flex"}),(0,d.jsx)(g.default,{}),(0,d.jsx)(f.default,{})]})]})}function i(a){let{toolbar:b,toolbarBleed:c=!1,aside:e,footer:f,children:g,fluid:i=!1,fill:j=!1,bodyClassName:k=""}=a,l=void 0!==a.header?(0,d.jsx)(h,{header:a.header}):(0,d.jsx)(h,{title:a.title,subtitle:a.subtitle});return j?(0,d.jsxs)("div",{className:"flex h-full min-h-0 flex-1 flex-col",children:[l,b&&c&&b,(0,d.jsxs)("div",{className:"flex min-h-0 flex-1",children:[(0,d.jsxs)("div",{className:`flex min-w-0 min-h-0 flex-1 flex-col ${k}`,children:[b&&!c&&(0,d.jsx)("div",{className:`w-full px-5 pt-4 sm:px-8 lg:px-9 ${i?"":"mx-auto max-w-6xl"}`,children:b}),i?g:(0,d.jsx)("div",{className:"mx-auto flex min-h-0 w-full max-w-6xl flex-1 flex-col",children:g})]}),e]}),f]}):(0,d.jsxs)(d.Fragment,{children:[l,b&&c&&b,(0,d.jsxs)("div",{className:`w-full px-5 pt-6 pb-10 sm:px-8 lg:px-9 ${i?"":"mx-auto max-w-6xl"} ${k}`,children:[b&&!c&&(0,d.jsx)("div",{className:"mb-5",children:b}),g]})]})}},81398:(a,b,c)=>{c.d(b,{A:()=>j});var d=c(27557),e=c(9073),f=c(84249),g=c(98302);let h={done:"Done",warn:"Attention",run:"Running",idle:"Idle","lvl-info":"INFO","lvl-ok":"OK","lvl-warn":"WARN","lvl-err":"ERR"},i={done:"bg-ok-bg text-ok",warn:"bg-warn-bg text-warn",run:"bg-run-bg text-run",idle:"bg-black/5 text-ink-3 dark:bg-white/5","lvl-info":"bg-black/5 text-ink-3 dark:bg-white/5","lvl-ok":"bg-ok-bg text-ok","lvl-warn":"bg-warn-bg text-warn","lvl-err":"bg-warn-bg text-err"};function j({variant:a,label:b,icon:c,className:k=""}){let l=b??h[a],m=null;return void 0!==c?m=c:"done"===a?m=(0,d.jsx)(e.r,{size:11,weight:"regular"}):"warn"===a?m=(0,d.jsx)(f.N,{size:11,weight:"regular"}):"run"===a&&(m=(0,d.jsx)(g.A,{variant:"blue",size:"sm"})),(0,d.jsxs)("span",{className:`inline-flex h-[22px] items-center gap-1.5 rounded-[5px] px-2.5 text-medium-12 leading-none! ${i[a]} ${k}`,children:[m,l]})}},86585:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(5347).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\components\\\\NotificationsBell.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\components\\NotificationsBell.tsx","default")},90356:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(5347).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\components\\\\ui\\\\ThemeToggle.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\components\\ui\\ThemeToggle.tsx","default")}};
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1054],{5829:(e,i,o)=>{o.d(i,{A:()=>l});var t=o(48503);function l({children:e,className:i="",...o}){return(0,t.jsx)("label",{className:`block text-xs text-ink-3 mb-1 ${i}`,...o,children:e})}},12871:(e,i,o)=>{o.d(i,{A:()=>s});var t=o(48503),l=o(22208),a=o.n(l),n=o(80351);let r={ink:"bg-ink text-canvas border-0 hover:brightness-[0.92]",agent:"bg-agent-vivid text-[#1a2200] border-0 hover:brightness-[0.96]",coral:"bg-skill-vivid text-white border-0 hover:brightness-[0.94]",blue:"bg-conn-vivid text-white border-0 hover:brightness-[0.94]",neutral:"border border-rule-2 bg-paper text-ink hover:bg-hover",danger:"border border-err/30 bg-paper text-err hover:border-err hover:bg-warn-bg"},s=(0,n.forwardRef)(function(e,i){let{children:o,variant:l="ink",size:n="md",className:s=""}=e,d=`inline-flex cursor-pointer items-center justify-center gap-1.5 rounded-md leading-none! transition-[filter,background-color] disabled:pointer-events-none disabled:opacity-40 ${"md"===n?"h-[34px] px-3.5 text-medium-14":"h-[30px] px-3 text-medium-13"} ${r[l]} ${s}`;if("href"in e&&e.href){let{href:l,variant:n,size:r,className:s,children:c,...u}=e;return(0,t.jsx)(a(),{href:l,className:d,ref:i,...u,children:o})}let{variant:c,size:u,className:p,children:g,...m}=e;return(0,t.jsx)("button",{type:"button",className:d,ref:i,...m,children:o})})},81528:(e,i,o)=>{o.d(i,{EBd:()=>J,YTi:()=>X,zw:()=>Q,KvV:()=>n,SVi:()=>ee,bpx:()=>ek,XWN:()=>ef,MQp:()=>eb,mVm:()=>eo,CNy:()=>ex,eSe:()=>en,HgT:()=>el,Cco:()=>et,vMr:()=>eg,hic:()=>ep,$NF:()=>eu,RMo:()=>A,X5e:()=>ed,VvF:()=>em,I7q:()=>er});var t=o(31509);let l=t.k5(["telegram","api","whatsapp","internal","cron","task-board","slack","discord","dashboard","webhook","mcp"]),a=t.k5(["pending","processing","completed","failed","awaiting_approval","awaiting_delegation","cancelled"]),n=["pending","processing","awaiting_approval","awaiting_delegation"],r=t.k5(["todo","in_progress","done","cancelled","blocked"]),s=t.k5(["low","medium","high"]),d=t.k5(["agent","orchestrator","system"]),c=t.k5(["router","planner"]),u=t.k5(["api_key","oauth2","bearer","basic","none"]),p=t.k5(["pending","approved","rejected","expired"]),g=t.k5(["auto_approve","require_approval","block"]),m=t.k5(["preference","context","outcome","learned_rule"]),h=t.k5(["agent","reflection","manual"]),b=t.k5(["L1","L2","L3"]),f=t.k5(["cron","heartbeat"]),k=t.k5(["success","failed","no_action"]),x=t.k5(["owner","admin","member","viewer"]),_=t.k5(["agency","startup","personal","studio","enterprise","other"]),M=t.k5(["read","write","destructive"]),y=["text","read","search","files","table","terminal","sent","checks","question","delegation","generic"];t.k5(y),t.k5(["http","stdio"]);let P=e=>t.Yj().max(e),w=t.Ik({card:t.eu("text"),text:P(4e3),failure:t.eu(!0).optional(),truncated:t.zM().optional()}),j=t.Ik({card:t.eu("read"),path:t.Yj().nullable(),excerpt:P(2e3),chars:t.ai().int().nonnegative(),truncated:t.zM(),sections:t.ai().int().nonnegative().optional()}),Y=t.Ik({card:t.eu("search"),query:P(400),hits:t.YO(t.Ik({title:P(400),ref:P(400).optional(),snippet:P(400).optional()})).max(50),total:t.ai().int().nonnegative(),truncated:t.zM()}),v=t.Ik({name:P(400).optional(),columns:t.YO(P(200)).max(20),header:t.k5(["columns","unknown"]),rows:t.YO(t.YO(t.KC([P(200),t.ai(),t.ch()])).max(20)).max(50),total:t.ai().int().nonnegative(),truncated:t.zM(),clipped:t.zM(),columnsTotal:t.ai().int().nonnegative().optional()}),U=t.Ik({card:t.eu("files"),files:t.YO(t.Ik({path:P(400),action:t.k5(["created","modified","written","listed"]),bytes:t.ai().int().nonnegative().optional(),detail:P(400).optional(),preview:v.optional(),deliverableKey:P(400).optional()})).max(50),total:t.ai().int().nonnegative(),truncated:t.zM()}),C=t.Ik({card:t.eu("table"),tables:t.YO(v).min(1)}),I=t.Ik({card:t.eu("terminal"),command:P(2e3),exitCode:t.ai().int().nullable(),timedOut:t.zM(),stdoutTail:P(2e3),stdoutTruncated:t.zM(),stderrTail:P(2e3),stderrTruncated:t.zM(),cwd:P(400).optional()}),T=t.Ik({card:t.eu("sent"),channel:P(400),kind:t.k5(["message","file","image","video","audio","voice","dashboard"]),target:P(400).optional(),filename:P(400).optional(),bytes:t.ai().int().nonnegative().optional()}),W=t.Ik({card:t.eu("checks"),verdict:t.k5(["pass","fail"]),summary:P(4e3),items:t.YO(t.Ik({label:P(400),ok:t.zM(),ref:P(400).optional(),severity:P(400).optional()})).max(50),total:t.ai().int().nonnegative()}),R=t.Ik({card:t.eu("delegation"),to:P(400),task:P(2e3),ok:t.zM(),resultText:P(4e3).nullable(),error:P(400).nullable(),durationMs:t.ai().int().nonnegative().nullable(),costUsd:t.ai().nullable(),sessionId:P(400).nullable().optional()}),z=t.Ik({card:t.eu("question"),prompt:P(4e3),options:t.YO(P(400)).optional(),answer:P(400).nullable().optional()});function A(e){if("object"!=typeof e||null===e||"string"!=typeof e.question||""===e.question.trim()||!Array.isArray(e.options))return null;let i=e.options.filter(e=>"string"==typeof e);return i.length!==e.options.length||0===i.length?null:{question:e.question,options:i,context:"string"==typeof e.context&&""!==e.context.trim()?e.context:null}}let O=t.Ik({card:t.eu("generic")});t.gM("card",[w,j,Y,U,C,I,T,W,R,z,O]),y.filter(e=>"text"!==e&&"generic"!==e),t.Yj().guid().brand(),t.Yj().guid().brand(),t.Yj().guid().brand(),t.Yj().guid().brand(),t.Yj().guid().brand(),t.Yj().guid().brand(),t.Yj().guid().brand(),t.Yj().guid().brand(),t.Yj().guid().brand(),t.Yj().guid().brand(),t.Yj().guid().brand(),t.Yj().guid().brand(),t.Yj().guid().brand(),t.Yj().guid().brand(),t.Yj().guid().brand(),t.Yj().guid().brand(),t.Ik({id:t.Yj().guid(),user_id:t.Yj().guid(),name:t.Yj().min(1).max(120),slug:t.Yj().min(1).max(80).regex(/^[a-z0-9-]+$/),description:t.Yj().max(500).nullable(),icon:t.Yj().max(4),industry:_.nullable(),goal:t.Yj().max(1e3).nullable(),mcp_token:t.Yj().guid().nullable(),created_at:t.Yj().datetime(),updated_at:t.Yj().datetime()}).strict().omit({id:!0,mcp_token:!0,created_at:!0,updated_at:!0}).extend({description:t.Yj().max(500).nullable().optional(),icon:t.Yj().max(4).default("\uD83C\uDFE2"),industry:_.nullable().optional(),goal:t.Yj().max(1e3).nullable().optional()}),t.Ik({id:t.Yj().guid(),entity_id:t.Yj().guid(),user_id:t.Yj().guid(),role:x,created_at:t.Yj().datetime()}).strict().omit({id:!0,created_at:!0}).extend({role:x.default("owner")}),t.Ik({user_id:t.Yj().guid(),display_name:t.Yj().max(120).nullable(),avatar_url:t.Yj().max(500).nullable(),timezone:t.Yj().max(80),locale:t.Yj().max(10),created_at:t.Yj().datetime(),updated_at:t.Yj().datetime()}).strict().omit({created_at:!0,updated_at:!0}).extend({display_name:t.Yj().max(120).nullable().optional(),avatar_url:t.Yj().max(500).nullable().optional(),timezone:t.Yj().max(80).default("UTC"),locale:t.Yj().max(10).default("en")}),t.Ik({id:t.Yj().guid(),entity_id:t.Yj().guid().nullable(),name:t.Yj().min(1).max(120),slug:t.Yj().min(1).max(80).regex(/^[a-z0-9-]+$/),personality:t.Yj().min(1),model:t.Yj().min(1),active:t.zM(),is_default:t.zM(),role:d,orchestrator_mode:c.nullable(),telegram_bot_token:t.Yj().nullable(),telegram_bot_username:t.Yj().nullable(),telegram_offset:t.ai().int().nonnegative().nullable(),capabilities:t.YO(t.Yj()),task_context_template:t.Yj().nullable(),avatar_url:t.Yj().nullable(),system_agent:t.zM(),max_tokens_per_job:t.ai().int().min(0),created_at:t.Yj().datetime(),updated_at:t.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0,telegram_offset:!0,capabilities:!0,system_agent:!0}).extend({active:t.zM().default(!0),is_default:t.zM().default(!1),role:d.default("agent"),orchestrator_mode:c.nullable().optional(),telegram_bot_token:t.Yj().nullable().optional(),telegram_bot_username:t.Yj().nullable().optional(),task_context_template:t.Yj().nullable().optional(),avatar_url:t.Yj().nullable().optional(),max_tokens_per_job:t.ai().int().min(0).max(5e5).default(0)});let S=t.ai().int().min(0),H=t.ai().int().min(0);t.Ik({id:t.Yj().guid(),entity_id:t.Yj().guid().nullable(),agent_id:t.Yj().guid().nullable(),status:a,channel:l,task:t.Yj().min(1),original_task:t.Yj().nullable(),chat_id:t.Yj().nullable(),conversation_id:t.Yj().guid().nullable(),system_prompt:t.Yj().nullable(),messages:t.YO(t.g1(t.Yj(),t.L5())),tools_used:t.YO(t.Yj()),turn:t.ai().int().min(0),result:t.Yj().nullable(),error:t.Yj().nullable(),chain_count:S,request_id:t.Yj().nullable(),parent_job_id:t.Yj().guid().nullable(),parent_request_id:t.Yj().nullable(),total_duration_ms:t.ai().int().min(0),input_tokens:t.ai().int().min(0),output_tokens:t.ai().int().min(0),delegation_depth:H,pending_delegation:t.g1(t.Yj(),t.L5()).nullable(),completed_at:t.Yj().datetime().nullable(),created_at:t.Yj().datetime(),updated_at:t.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0,completed_at:!0,messages:!0,tools_used:!0,turn:!0,result:!0,error:!0,chain_count:!0,total_duration_ms:!0,input_tokens:!0,output_tokens:!0,delegation_depth:!0,pending_delegation:!0,parent_request_id:!0}).extend({status:a.default("pending"),original_task:t.Yj().nullable().optional(),chat_id:t.Yj().nullable().optional(),conversation_id:t.Yj().guid().nullable().optional(),system_prompt:t.Yj().nullable().optional(),request_id:t.Yj().nullable().optional(),parent_job_id:t.Yj().guid().nullable().optional()});let D=t.Yj().max(2e3).nullable(),G=t.Yj().min(1).max(200);t.Ik({id:t.Yj().guid(),entity_id:t.Yj().guid(),orchestrator_id:t.Yj().guid(),title:G,description:D,status:r,priority:s,job_id:t.Yj().guid().nullable(),result:t.Yj().nullable(),created_by_agent_id:t.Yj().guid().nullable(),assigned_agent_id:t.Yj().guid().nullable(),input_tokens:t.ai().int().min(0),output_tokens:t.ai().int().min(0),cost_usd:t.ai().min(0),depends_on:t.YO(t.Yj().guid()),context:t.g1(t.Yj(),t.L5()),root_job_id:t.Yj().guid().nullable(),locked_at:t.Yj().datetime().nullable(),locked_by:t.Yj().nullable(),created_at:t.Yj().datetime(),updated_at:t.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0,job_id:!0,result:!0,created_by_agent_id:!0,assigned_agent_id:!0,input_tokens:!0,output_tokens:!0,cost_usd:!0,depends_on:!0,context:!0,root_job_id:!0,locked_at:!0,locked_by:!0}).extend({status:r.default("todo"),priority:s.default("medium"),description:D.optional(),depends_on:t.YO(t.Yj().guid()).default([]),context:t.g1(t.Yj(),t.L5()).default({}),root_job_id:t.Yj().guid().nullable().optional()}),t.Ik({id:t.Yj().guid(),owner_user_id:t.Yj().guid(),name:t.Yj().min(1),type:t.k5(["google-oauth","notion-oauth","airtable-oauth","microsoft-oauth"]),payload:t.Yj(),created_at:t.p6().nullable(),updated_at:t.p6().nullable()}),t.Ik({clientId:t.Yj(),clientSecret:t.Yj(),refreshToken:t.Yj().nullable(),accessToken:t.Yj(),expiresAt:t.Yj().nullable(),scopes:t.Yj(),accountName:t.Yj(),tokenUrl:t.Yj().url()}),t.Ik({id:t.Yj().guid(),entity_id:t.Yj().guid().nullable(),name:t.Yj().min(1).max(120),slug:t.Yj().min(1).max(80).regex(/^[a-z0-9-]+$/),base_url:t.Yj().nullable(),api_key:t.Yj().nullable(),active:t.zM(),auth_type:u,credential_id:t.Yj().guid().nullable(),created_at:t.Yj().datetime(),updated_at:t.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0}).extend({active:t.zM().default(!0),auth_type:u.default("api_key"),base_url:t.Yj().nullable().optional(),api_key:t.Yj().nullable().optional(),credential_id:t.Yj().guid().nullable().optional()}),t.Ik({id:t.Yj().guid(),entity_id:t.Yj().guid().nullable(),job_id:t.Yj().guid().nullable(),tool_name:t.Yj().min(1),tool_input:t.g1(t.Yj(),t.L5()).nullable(),tool_output:t.Yj().nullable(),duration_ms:t.ai().int().min(0).nullable(),turn:t.ai().int().min(0).nullable(),created_at:t.Yj().datetime()}).strict().omit({id:!0,created_at:!0}).extend({tool_input:t.g1(t.Yj(),t.L5()).nullable().optional(),tool_output:t.Yj().nullable().optional(),duration_ms:t.ai().int().min(0).nullable().optional(),turn:t.ai().int().min(0).nullable().optional()}),t.Ik({id:t.Yj().guid(),entity_id:t.Yj().guid().nullable(),job_id:t.Yj().guid(),agent_id:t.Yj().guid().nullable(),tool_name:t.Yj().min(1),tool_input:t.g1(t.Yj(),t.L5()),status:p,requested_at:t.Yj().datetime(),resolved_at:t.Yj().datetime().nullable(),resolved_by:t.Yj().nullable(),expires_at:t.Yj().datetime().nullable(),notes:t.Yj().nullable()}).strict().omit({id:!0,requested_at:!0,resolved_at:!0,resolved_by:!0,expires_at:!0}).extend({status:p.default("pending"),notes:t.Yj().nullable().optional()}),t.Ik({id:t.Yj().guid(),entity_id:t.Yj().guid().nullable(),agent_id:t.Yj().guid().nullable(),tool_name:t.Yj().min(1),action:g,condition_json:t.g1(t.Yj(),t.L5()),created_at:t.Yj().datetime(),updated_at:t.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0}).extend({agent_id:t.Yj().guid().nullable().optional(),condition_json:t.g1(t.Yj(),t.L5()).default({})});let N=t.ai().int().min(1).max(5);t.Ik({id:t.Yj().guid(),entity_id:t.Yj().guid().nullable(),agent_id:t.Yj().guid().nullable(),fact:t.Yj().min(1),category:m,importance:N,source:h,skill_tags:t.YO(t.Yj().max(60)),memory_layer:b.nullable(),valid_from:t.Yj().datetime().nullable(),valid_to:t.Yj().datetime().nullable(),fact_hash:t.Yj().nullable(),archived:t.zM(),importance_locked:t.zM().default(!1),last_accessed_at:t.Yj().datetime().nullable(),access_count:t.ai().int().min(0),created_at:t.Yj().datetime(),updated_at:t.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0,fact_hash:!0,archived:!0,importance_locked:!0,last_accessed_at:!0,access_count:!0,valid_from:!0,valid_to:!0}).extend({agent_id:t.Yj().guid().nullable().optional(),category:m.default("context"),importance:N.default(3),source:h.default("manual"),skill_tags:t.YO(t.Yj().max(60)).max(20).default([]),memory_layer:b.nullable().optional()}),t.Ik({id:t.Yj().guid(),entity_id:t.Yj().guid().nullable(),agent_id:t.Yj().guid().nullable(),name:t.Yj().min(1).max(120),slug:t.Yj().min(1).max(80).regex(/^[a-z0-9-]+$/),task_template:t.Yj().min(1),active:t.zM(),secret:t.Yj().nullable(),last_triggered_at:t.Yj().datetime().nullable(),trigger_count:t.ai().int().min(0),created_at:t.Yj().datetime(),updated_at:t.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0,secret:!0,last_triggered_at:!0,trigger_count:!0}).extend({active:t.zM().default(!0)});let F=t.Ik({name:t.Yj().min(1),slug:t.Yj().min(1).regex(/^[a-z0-9-]+$/),risk:M,requires_approval:t.zM()}).strict(),q=t.Ik({label:t.Yj().min(1),description:t.Yj().min(1),type:t.k5(["connector_slug","manual"]),value:t.Yj().optional(),critical:t.zM()}).strict();t.Ik({id:t.Yj().guid(),entity_id:t.Yj().guid().nullable(),name:t.Yj().min(1).max(120),slug:t.Yj().min(1).max(80).regex(/^[a-z0-9-]+$/),content:t.Yj().min(1),active:t.zM(),description:t.Yj().max(300).nullable(),default_content:t.Yj().nullable(),content_overridden:t.zM(),required_config:t.YO(q),operations:t.YO(F),required_builtins:t.YO(t.Yj()),created_at:t.Yj().datetime(),updated_at:t.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0}).extend({active:t.zM().default(!0),description:t.Yj().max(300).nullable().optional(),default_content:t.Yj().nullable().optional(),content_overridden:t.zM().default(!1),required_config:t.YO(q).default([]),operations:t.YO(F).default([]),required_builtins:t.YO(t.Yj()).default([])}),t.Ik({id:t.Yj().guid(),entity_id:t.Yj().guid(),agent_id:t.Yj().guid(),skill_id:t.Yj().guid(),use_custom_instructions:t.zM(),enabled_operations:t.YO(t.Yj()).nullable(),created_at:t.Yj().datetime()}).strict().omit({id:!0,created_at:!0}).extend({use_custom_instructions:t.zM().default(!1),enabled_operations:t.YO(t.Yj()).nullable().optional()}),t.Ik({id:t.Yj().guid(),entity_id:t.Yj().guid().nullable(),agent_id:t.Yj().guid(),type:f,name:t.Yj().min(1).max(120),cron_expr:t.Yj().min(1),task:t.Yj().nullable(),objectives:t.Yj().nullable(),active:t.zM(),last_run:t.Yj().datetime().nullable(),next_run:t.Yj().datetime().nullable(),last_status:k.nullable(),chat_id:t.Yj().nullable(),created_at:t.Yj().datetime(),updated_at:t.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0,last_run:!0,next_run:!0,last_status:!0}).extend({type:f.default("cron"),active:t.zM().default(!0),task:t.Yj().nullable().optional(),objectives:t.Yj().nullable().optional(),chat_id:t.Yj().nullable().optional()}),t.Ik({id:t.Yj().guid(),entity_id:t.Yj().guid(),provider:t.Yj().min(1),api_key:t.Yj(),base_url:t.Yj().nullable(),nickname:t.Yj().max(80).nullable(),is_active:t.zM(),created_at:t.Yj().datetime(),updated_at:t.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0}).extend({api_key:t.Yj().default(""),base_url:t.Yj().nullable().optional(),nickname:t.Yj().max(80).nullable().optional(),is_active:t.zM().default(!0)});let L=t.k5(["telegram","discord","slack","whatsapp"]),E=t.Ik({id:t.Yj().optional(),username:t.Yj().optional(),displayName:t.Yj().optional()}).strict();t.Ik({id:t.Yj().guid(),entity_id:t.Yj().guid().nullable(),agent_id:t.Yj().guid(),channel:L,credentials:t.Yj(),bot_identity:E.nullable(),cursor:t.Yj().nullable(),enabled:t.zM(),created_at:t.Yj().datetime(),updated_at:t.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0}).extend({entity_id:t.Yj().guid().nullable().optional(),bot_identity:E.nullable().optional(),cursor:t.Yj().nullable().optional(),enabled:t.zM().default(!0)});let V=t.k5(["private","group","channel","thread"]),$=t.k5(["owner","member"]),K=t.k5(["active","pending"]);t.Ik({id:t.Yj().guid(),entity_id:t.Yj().guid().nullable(),agent_id:t.Yj().guid(),channel:L,conversation_id:t.Yj(),kind:V,role:$,status:K,requester_name:t.Yj().nullable(),created_at:t.Yj().datetime(),updated_at:t.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0}).extend({entity_id:t.Yj().guid().nullable().optional(),kind:V.default("private"),role:$.default("member"),status:K.default("pending"),requester_name:t.Yj().nullable().optional()});let Z=["https://www.googleapis.com/auth/userinfo.email","openid"];[...Z],[...Z],[...Z],[...Z],[...Z];let B=t.k5(["propose_confirm","destructive_gate","fully_autonomous"]);t.Ik({createAgent:t.zM(),updateAgent:t.zM(),attachAgent:t.zM(),createSkill:t.zM(),updateSkill:t.zM(),assignSkill:t.zM(),createMcp:t.zM(),attachMcp:t.zM(),createConnector:t.zM(),attachConnector:t.zM(),manageSchedules:t.zM(),autonomy:B});let Q={createAgent:!0,updateAgent:!0,attachAgent:!0,createSkill:!0,updateSkill:!0,assignSkill:!0,createMcp:!0,attachMcp:!0,createConnector:!0,attachConnector:!0,manageSchedules:!0,autonomy:"propose_confirm"},X=[{slug:"notion",label:"Notion",authType:"api_key",category:"Productivity",docsHint:"Create a Notion integration at notion.so/my-integrations and copy its internal secret."},{slug:"notion-oauth",label:"Notion (OAuth)",authType:"oauth2",credentialType:"notion-oauth",category:"Productivity",docsHint:"Public Integration via OAuth — create one at notion.so/my-integrations (Public type) and authorize from your dashboard."},{slug:"google-drive",label:"Google Drive",authType:"oauth2",credentialType:"google-oauth",category:"Productivity",docsHint:"OAuth flow — uses your Google credential (create one under Credentials).",scopeDisclosure:"Grants access to your ENTIRE Google Drive — every file, read and write — not only the files agents create. Google offers no narrower scope that still lets an agent open a file you already have."},{slug:"gmail",label:"Gmail",authType:"oauth2",credentialType:"google-oauth",category:"Productivity",docsHint:"OAuth flow — uses your Google credential (create one under Credentials)."},{slug:"google-calendar",label:"Google Calendar",authType:"oauth2",credentialType:"google-oauth",category:"Productivity",docsHint:"OAuth flow — uses your Google credential (create one under Credentials).",scopeDisclosure:"Grants event access on your calendars (create, edit, delete events) and the ability to list them. It cannot create or delete calendars themselves."},{slug:"google-sheets",label:"Google Sheets",authType:"oauth2",credentialType:"google-oauth",category:"Productivity",docsHint:"OAuth flow — uses your Google credential (create one under Credentials).",scopeDisclosure:"Grants access to ALL your spreadsheets, read and write. A read-only scope exists but would disable every editing tool."},{slug:"google-docs",label:"Google Docs",authType:"oauth2",credentialType:"google-oauth",category:"Productivity",docsHint:"OAuth flow — uses your Google credential (create one under Credentials).",scopeDisclosure:"Grants access to ALL your documents, read and write. A read-only scope exists but would disable document creation and editing."},{slug:"airtable-oauth",label:"Airtable (OAuth)",authType:"oauth2",credentialType:"airtable-oauth",category:"Productivity",docsHint:"OAuth flow for Airtable Public Integrations (recommended)."},{slug:"outlook-mail",label:"Outlook Mail",authType:"oauth2",credentialType:"microsoft-oauth",category:"Productivity",docsHint:"OAuth flow — uses your Microsoft credential (create one under Credentials)."},{slug:"airtable",label:"Airtable",authType:"api_key",category:"Productivity",docsHint:"Personal Access Token — airtable.com/create/tokens."},{slug:"apify",label:"Apify",authType:"api_key",category:"Data",docsHint:"Apify API token — console.apify.com/account/integrations."},{slug:"firecrawl",label:"Firecrawl",authType:"api_key",category:"Data",docsHint:"Firecrawl API key — firecrawl.dev/account."},{slug:"cloudflare",label:"Cloudflare",authType:"api_key",category:"DevTools",docsHint:'Cloudflare API Token — dash.cloudflare.com → My Profile → API Tokens → template "Edit Cloudflare Workers" (includes Workers Scripts:Write, Account Settings:Read). Scope it to ONE account.'},{slug:"tavily",label:"Tavily",authType:"api_key",category:"Data",docsHint:"Tavily API key — app.tavily.com."},{slug:"poyo",label:"Poyo",authType:"api_key",category:"Creative",docsHint:"Poyo API key — poyo.ai (API Console). Sent as a Bearer token."}],J=[{slug:"comfyui",name:"ComfyUI",description:"Generate images, video and audio with your own ComfyUI (local, Desktop or Cloud) — run any workflow with parameter injection. Requires a running ComfyUI + python3.",source:"NousResearch/hermes-agent/skills/creative/comfyui",sourceHost:"github",category:"Creative"},{slug:"excel-author",name:"Excel author",description:"Build auditable Excel workbooks headlessly (openpyxl) — real formulas instead of hardcoded values, cell-colour conventions and balance checks. Needs python3.",source:"NousResearch/hermes-agent/optional-skills/finance/excel-author",sourceHost:"github",category:"Office & documents"},{slug:"pptx-author",name:"PowerPoint author",description:"Generate PowerPoint decks headlessly (python-pptx) — slides, speaker notes and templates, with numbers traceable back to a workbook. Needs python3.",source:"NousResearch/hermes-agent/optional-skills/finance/pptx-author",sourceHost:"github",category:"Office & documents"},{slug:"ocr-and-documents",name:"PDF & OCR",description:"Extract text from PDFs and scanned images (pymupdf, marker-pdf) — searchable text out of documents that have none. Needs python3.",source:"NousResearch/hermes-agent/skills/productivity/ocr-and-documents",sourceHost:"github",category:"Office & documents"},{slug:"nano-pdf",name:"PDF editor",description:"Edit PDF text, fix typos and change titles from natural-language prompts (nano-pdf CLI) — no re-export from the source document.",source:"NousResearch/hermes-agent/skills/productivity/nano-pdf",sourceHost:"github",category:"Office & documents"},{slug:"youtube-content",name:"YouTube content",description:"Turn YouTube videos into summaries, threads and blog posts from their transcripts — no video download.",source:"NousResearch/hermes-agent/skills/media/youtube-content",sourceHost:"github",category:"Media"},{slug:"whisper",name:"Whisper speech-to-text",description:"Local speech-to-text in 99 languages (OpenAI Whisper) — transcription and translation, offline. Needs python3.",source:"NousResearch/hermes-agent/optional-skills/mlops/whisper",sourceHost:"github",category:"Media"},{slug:"osint-investigation",name:"OSINT investigation",description:"Public-records OSINT — SEC EDGAR filings, USAspending contracts, sanctions lists and court records, with entity resolution. No API key (stdlib only).",source:"NousResearch/hermes-agent/optional-skills/research/osint-investigation",sourceHost:"github",category:"Research"},{slug:"stocks",name:"Stocks & crypto",description:"Stock quotes, history, comparison and crypto prices via Yahoo Finance. No API key.",source:"NousResearch/hermes-agent/optional-skills/finance/stocks",sourceHost:"github",category:"Finance"},{slug:"doc-coauthoring",name:"Doc co-authoring",description:"Structured workflow to co-author docs, proposals, specs and decision documents.",source:"anthropics/skills/skills/doc-coauthoring",sourceHost:"github",category:"Office & documents"},{slug:"skill-creator",name:"Skill creator",description:"Create, evaluate and package new agent skills — Anthropic's official skill scaffolder.",source:"anthropics/skills/skills/skill-creator",sourceHost:"github",category:"Development"},{slug:"mcp-builder",name:"MCP builder",description:"Guidance for building well-designed MCP servers with good tools.",source:"anthropics/skills/skills/mcp-builder",sourceHost:"github",category:"Development"},{slug:"webapp-testing",name:"Web app testing",description:"Test and debug local web apps with Playwright — screenshots, console logs, server lifecycle. Needs python3.",source:"anthropics/skills/skills/webapp-testing",sourceHost:"github",category:"Development"},{slug:"frontend-design",name:"Frontend design",description:"Opinionated guidance for distinctive, intentional UI and visual design (one of the most-installed skills).",source:"anthropics/skills/skills/frontend-design",sourceHost:"github",category:"Design"},{slug:"canvas-design",name:"Canvas design",description:"Design-philosophy-driven visual art as PNG/PDF compositions.",source:"anthropics/skills/skills/canvas-design",sourceHost:"github",category:"Design"},{slug:"theme-factory",name:"Theme factory",description:"Style artifacts (slides, docs, HTML) with preset or custom themes.",source:"anthropics/skills/skills/theme-factory",sourceHost:"github",category:"Design"},{slug:"algorithmic-art",name:"Algorithmic art",description:"Generative art via p5.js (flow fields, particles) as self-contained HTML.",source:"anthropics/skills/skills/algorithmic-art",sourceHost:"github",category:"Media"},{slug:"internal-comms",name:"Internal comms",description:"Write internal company communications in preferred formats.",source:"anthropics/skills/skills/internal-comms",sourceHost:"github",category:"Productivity"},{slug:"test-driven-development",name:"Test-driven development",description:"Enforce RED-GREEN-REFACTOR — write tests before code (Superpowers).",source:"obra/superpowers/skills/test-driven-development",sourceHost:"github",category:"Development"},{slug:"systematic-debugging",name:"Systematic debugging",description:"Hypothesis-first structured debugging — understand before fixing (Superpowers).",source:"obra/superpowers/skills/systematic-debugging",sourceHost:"github",category:"Development"},{slug:"writing-plans",name:"Writing plans",description:"Turn a spec into an actionable, checkpointed implementation plan (Superpowers).",source:"obra/superpowers/skills/writing-plans",sourceHost:"github",category:"Development"},{slug:"verification-before-completion",name:"Verify before done",description:"Show real evidence before claiming a task is complete (Superpowers).",source:"obra/superpowers/skills/verification-before-completion",sourceHost:"github",category:"Development"},{slug:"using-git-worktrees",name:"Git worktrees",description:"Isolated parallel workspaces with git worktrees (Superpowers).",source:"obra/superpowers/skills/using-git-worktrees",sourceHost:"github",category:"Development"},{slug:"find-skills",name:"Find skills",description:"Discover and install agent skills on demand (Vercel) — the most-installed skill.",source:"vercel-labs/skills/skills/find-skills",sourceHost:"github",category:"Development"},{slug:"agent-browser",name:"Agent browser",description:"Drive a real browser for agent tasks (Vercel). Needs the browser runtime.",source:"vercel-labs/agent-browser/skills/agent-browser",sourceHost:"github",category:"Web"},{slug:"react-best-practices",name:"React best practices",description:"React patterns and performance guidance (Vercel).",source:"vercel-labs/agent-skills/skills/react-best-practices",sourceHost:"github",category:"Development"},{slug:"web-design-guidelines",name:"Web design guidelines",description:"Practical web design heuristics and guidelines (Vercel).",source:"vercel-labs/agent-skills/skills/web-design-guidelines",sourceHost:"github",category:"Design"},{slug:"playwright",name:"Playwright browser",description:"Browser automation — navigate, fill forms, scrape (OpenAI). Needs the Playwright runtime.",source:"openai/skills/skills/.curated/playwright",sourceHost:"github",category:"Web"},{slug:"supabase-postgres-best-practices",name:"Supabase / Postgres",description:"Postgres & Supabase schema, RLS and query best practices (Supabase).",source:"supabase/agent-skills/skills/supabase-postgres-best-practices",sourceHost:"github",category:"Development"},{slug:"workers-best-practices",name:"Cloudflare Workers",description:"Author and review Cloudflare Workers code (Cloudflare).",source:"cloudflare/skills/skills/workers-best-practices",sourceHost:"github",category:"Development"},{slug:"firecrawl-scrape",name:"Firecrawl scrape",description:"Scrape any page to clean markdown via Firecrawl. Needs a Firecrawl API key.",source:"firecrawl/firecrawl-claude-plugin/skills/firecrawl-scrape",sourceHost:"github",category:"Web"},{slug:"firecrawl-search",name:"Firecrawl search",description:"Web search via Firecrawl. Needs a Firecrawl API key.",source:"firecrawl/firecrawl-claude-plugin/skills/firecrawl-search",sourceHost:"github",category:"Web"},{slug:"semgrep",name:"Semgrep static analysis",description:"Find security bugs with Semgrep static analysis (Trail of Bits). Needs python3.",source:"trailofbits/skills/plugins/static-analysis/skills/semgrep",sourceHost:"github",category:"Security"},{slug:"codeql",name:"CodeQL static analysis",description:"CodeQL static analysis for security review (Trail of Bits).",source:"trailofbits/skills/plugins/static-analysis/skills/codeql",sourceHost:"github",category:"Security"},{slug:"dcf-model",name:"DCF model",description:"Build institutional-quality DCF valuation models in Excel. Needs python3.",source:"NousResearch/hermes-agent/optional-skills/finance/dcf-model",sourceHost:"github",category:"Finance"},{slug:"3-statement-model",name:"3-statement model",description:"Build fully-integrated 3-statement models (income, balance, cash flow) in Excel.",source:"NousResearch/hermes-agent/optional-skills/finance/3-statement-model",sourceHost:"github",category:"Finance"},{slug:"lbo-model",name:"LBO model",description:"Leveraged-buyout models — sources & uses, debt schedule, IRR/MOIC, in Excel.",source:"NousResearch/hermes-agent/optional-skills/finance/lbo-model",sourceHost:"github",category:"Finance"},{slug:"comps-analysis",name:"Comps analysis",description:"Comparable-company analysis — trading multiples and benchmarking, in Excel.",source:"NousResearch/hermes-agent/optional-skills/finance/comps-analysis",sourceHost:"github",category:"Finance"},{slug:"merger-model",name:"Merger model",description:"Accretion/dilution merger models — pro-forma P&L and EPS impact, in Excel.",source:"NousResearch/hermes-agent/optional-skills/finance/merger-model",sourceHost:"github",category:"Finance"},{slug:"remotion",name:"Remotion video",description:"Programmatic video with React via Remotion (official). Needs node.",source:"remotion-dev/skills/skills/remotion",sourceHost:"github",category:"Media"}],ee={deepseek:[{modelId:"deepseek-chat",label:"DeepSeek Chat (V3)",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:128e3,pricing:{inputPerMillionUsd:.27,outputPerMillionUsd:1.1}},{modelId:"deepseek-reasoner",label:"DeepSeek Reasoner (R1)",capabilities:{tools:!0,forcedToolChoice:!0,reasoning:!0,reasoningControl:{kind:"onoff"}},contextWindow:128e3,pricing:{inputPerMillionUsd:.55,outputPerMillionUsd:2.19}}],minimax:[{modelId:"MiniMax-M3",label:"MiniMax M3",capabilities:{tools:!0,forcedToolChoice:!1,reasoning:!0,reasoningControl:{kind:"budget",budgets:{low:4e3,medium:8e3,high:16e3,max:32e3}}},contextWindow:1048576,pricing:{inputPerMillionUsd:.3,outputPerMillionUsd:1.2,cacheReadPerMillionUsd:.06}},{modelId:"MiniMax-M2.7",label:"MiniMax M2.7",capabilities:{tools:!0,forcedToolChoice:!1},contextWindow:2e5,pricing:{inputPerMillionUsd:.3,outputPerMillionUsd:1.2,cacheReadPerMillionUsd:.06}},{modelId:"MiniMax-M2",label:"MiniMax M2",capabilities:{tools:!0,forcedToolChoice:!1},contextWindow:2e5,pricing:{inputPerMillionUsd:.255,outputPerMillionUsd:1.02}}],moonshot:[{modelId:"kimi-k2.6",label:"Kimi K2.6",capabilities:{tools:!0,forcedToolChoice:!1,reasoning:!0,reasoningControl:{kind:"onoff",mandatory:!0}},contextWindow:262144,pricing:{inputPerMillionUsd:.95,outputPerMillionUsd:4,cacheReadPerMillionUsd:.16}},{modelId:"kimi-k2.7-code",label:"Kimi K2.7 Code",capabilities:{tools:!0,forcedToolChoice:!1,reasoning:!0,reasoningControl:{kind:"onoff",mandatory:!0}},contextWindow:262144,pricing:{inputPerMillionUsd:.7,outputPerMillionUsd:3.5,cacheReadPerMillionUsd:.18}},{modelId:"kimi-k3",label:"Kimi K3",capabilities:{tools:!0,forcedToolChoice:!1,reasoning:!0,reasoningControl:{kind:"effort",levels:["max"],mandatory:!0}},contextWindow:1048576,pricing:{inputPerMillionUsd:3,outputPerMillionUsd:15,cacheReadPerMillionUsd:.3}}],anthropic:[{modelId:"claude-opus-5",label:"Claude Opus 5",capabilities:{tools:!0,forcedToolChoice:!0,reasoning:!0,reasoningControl:{kind:"adaptive-effort",levels:["low","medium","high","max"]}},contextWindow:1e6,pricing:{inputPerMillionUsd:5,outputPerMillionUsd:25,cacheReadPerMillionUsd:.5,cacheWritePerMillionUsd:6.25}},{modelId:"claude-sonnet-5",label:"Claude Sonnet 5",capabilities:{tools:!0,forcedToolChoice:!0,reasoning:!0,reasoningControl:{kind:"adaptive-effort",levels:["low","medium","high","max"]}},contextWindow:1e6,pricing:{inputPerMillionUsd:2,outputPerMillionUsd:10,cacheReadPerMillionUsd:.2,cacheWritePerMillionUsd:2.5}},{modelId:"claude-fable-5",label:"Claude Fable 5",capabilities:{tools:!0,forcedToolChoice:!0,reasoning:!0,reasoningControl:{kind:"adaptive-effort",levels:["low","medium","high","max"]}},contextWindow:1e6,pricing:{inputPerMillionUsd:10,outputPerMillionUsd:50,cacheReadPerMillionUsd:1,cacheWritePerMillionUsd:12.5}},{modelId:"claude-opus-4-8",label:"Claude Opus 4.8",capabilities:{tools:!0,forcedToolChoice:!0,reasoning:!0,reasoningControl:{kind:"adaptive-effort",levels:["low","medium","high","max"]}},contextWindow:2e5,pricing:{inputPerMillionUsd:5,outputPerMillionUsd:25,cacheReadPerMillionUsd:.5,cacheWritePerMillionUsd:6.25}},{modelId:"claude-sonnet-4-6",label:"Claude Sonnet 4.6",capabilities:{tools:!0,forcedToolChoice:!0,reasoning:!0,reasoningControl:{kind:"adaptive-effort",levels:["low","medium","high","max"]}},contextWindow:2e5,pricing:{inputPerMillionUsd:3,outputPerMillionUsd:15,cacheReadPerMillionUsd:.3,cacheWritePerMillionUsd:3.75}},{modelId:"claude-haiku-4-5-20251001",label:"Claude Haiku 4.5",capabilities:{tools:!0,forcedToolChoice:!0,reasoning:!0,reasoningControl:{kind:"budget",budgets:{low:4e3,medium:8e3,high:16e3,max:32e3}}},contextWindow:2e5,pricing:{inputPerMillionUsd:1,outputPerMillionUsd:5,cacheReadPerMillionUsd:.1,cacheWritePerMillionUsd:1.25}}],openai:[{modelId:"gpt-5",label:"GPT-5",capabilities:{tools:!0,forcedToolChoice:!0,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","medium","high"],mandatory:!0}},contextWindow:4e5,pricing:{inputPerMillionUsd:1.25,outputPerMillionUsd:10,cacheReadPerMillionUsd:.125}},{modelId:"gpt-5-mini",label:"GPT-5 mini",capabilities:{tools:!0,forcedToolChoice:!0,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","medium","high"],mandatory:!0}},contextWindow:4e5,pricing:{inputPerMillionUsd:.25,outputPerMillionUsd:2,cacheReadPerMillionUsd:.025}}],google:[{modelId:"gemini-3.7-flash",label:"Gemini 3.7 Flash",capabilities:{tools:!0,forcedToolChoice:!1,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","medium","high"],mandatory:!0}},contextWindow:1048576,pricing:{inputPerMillionUsd:.75,outputPerMillionUsd:3.75,cacheReadPerMillionUsd:.075,cacheWritePerMillionUsd:.0416667}},{modelId:"gemini-3.5-flash",label:"Gemini 3.5 Flash",capabilities:{tools:!0,forcedToolChoice:!1,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","medium","high"],mandatory:!0}},contextWindow:1048576,pricing:{inputPerMillionUsd:1.5,outputPerMillionUsd:9,cacheReadPerMillionUsd:.15,cacheWritePerMillionUsd:.0833333}},{modelId:"gemini-3.1-pro-preview",label:"Gemini 3.1 Pro (preview)",capabilities:{tools:!0,forcedToolChoice:!1,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","medium","high"],mandatory:!0}},contextWindow:1048576,pricing:{inputPerMillionUsd:2,outputPerMillionUsd:12,cacheReadPerMillionUsd:.2,cacheWritePerMillionUsd:.375}}],groq:[{modelId:"llama-3.3-70b-versatile",label:"Llama 3.3 70B",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:131072}],mistral:[{modelId:"mistral-large-latest",label:"Mistral Large",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:131072}],openrouter:[{modelId:"anthropic/claude-opus-5",label:"Claude Opus 5",capabilities:{tools:!0,forcedToolChoice:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"]}},contextWindow:1e6,pricing:{inputPerMillionUsd:5,outputPerMillionUsd:25,cacheReadPerMillionUsd:.5,cacheWritePerMillionUsd:6.25}},{modelId:"anthropic/claude-sonnet-5",label:"Claude Sonnet 5",capabilities:{tools:!0,forcedToolChoice:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"]}},contextWindow:1e6,pricing:{inputPerMillionUsd:2,outputPerMillionUsd:10,cacheReadPerMillionUsd:.2,cacheWritePerMillionUsd:2.5}},{modelId:"anthropic/claude-fable-5",label:"Claude Fable 5",capabilities:{tools:!0,forcedToolChoice:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"]}},contextWindow:1e6,pricing:{inputPerMillionUsd:10,outputPerMillionUsd:50,cacheReadPerMillionUsd:1,cacheWritePerMillionUsd:12.5}},{modelId:"anthropic/claude-fable-5.1",label:"Claude Fable 5.1",capabilities:{tools:!0,forcedToolChoice:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"],mandatory:!0}},contextWindow:1e6,pricing:{inputPerMillionUsd:10,outputPerMillionUsd:50,cacheReadPerMillionUsd:.25,cacheWritePerMillionUsd:12.5}},{modelId:"openai/gpt-5.6-luna",label:"GPT-5.6 Luna",capabilities:{tools:!0,forcedToolChoice:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"]}},contextWindow:105e4,pricing:{inputPerMillionUsd:.2,outputPerMillionUsd:1.2,cacheReadPerMillionUsd:.02,cacheWritePerMillionUsd:.25}},{modelId:"openai/gpt-5.6-luna-pro",label:"GPT-5.6 Luna Pro",capabilities:{tools:!0,forcedToolChoice:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"]}},contextWindow:105e4,pricing:{inputPerMillionUsd:.2,outputPerMillionUsd:1.2,cacheReadPerMillionUsd:.02,cacheWritePerMillionUsd:.25}},{modelId:"openai/gpt-5.6-terra-pro",label:"GPT-5.6 Terra Pro",capabilities:{tools:!0,forcedToolChoice:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"]}},contextWindow:105e4,pricing:{inputPerMillionUsd:2,outputPerMillionUsd:12,cacheReadPerMillionUsd:.2,cacheWritePerMillionUsd:2.5}},{modelId:"openai/gpt-5.6-terra",label:"GPT-5.6 Terra",capabilities:{tools:!0,forcedToolChoice:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"]}},contextWindow:105e4,pricing:{inputPerMillionUsd:2,outputPerMillionUsd:12,cacheReadPerMillionUsd:.2,cacheWritePerMillionUsd:2.5}},{modelId:"openai/gpt-5.6-sol",label:"GPT-5.6 Sol",capabilities:{tools:!0,forcedToolChoice:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"]}},contextWindow:105e4,pricing:{inputPerMillionUsd:2,outputPerMillionUsd:10,cacheReadPerMillionUsd:.2,cacheWritePerMillionUsd:2.5}},{modelId:"openai/gpt-5.6-sol-pro",label:"GPT-5.6 Sol Pro",capabilities:{tools:!0,forcedToolChoice:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"]}},contextWindow:105e4,pricing:{inputPerMillionUsd:2,outputPerMillionUsd:10,cacheReadPerMillionUsd:.2,cacheWritePerMillionUsd:2.5}},{modelId:"openai/gpt-6-astra",label:"GPT-6 Astra",capabilities:{tools:!0,forcedToolChoice:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"],mandatory:!0}},contextWindow:105e4,pricing:{inputPerMillionUsd:10,outputPerMillionUsd:50,cacheReadPerMillionUsd:1,cacheWritePerMillionUsd:12.5}},{modelId:"openai/gpt-6-astra-pro",label:"GPT-6 Astra Pro",capabilities:{tools:!0,forcedToolChoice:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"],mandatory:!0}},contextWindow:105e4,pricing:{inputPerMillionUsd:10,outputPerMillionUsd:50,cacheReadPerMillionUsd:1,cacheWritePerMillionUsd:12.5}},{modelId:"anthropic/claude-haiku-4.5",label:"Claude Haiku 4.5",capabilities:{tools:!0,forcedToolChoice:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"]}},contextWindow:2e5,pricing:{inputPerMillionUsd:1,outputPerMillionUsd:5,cacheReadPerMillionUsd:.1,cacheWritePerMillionUsd:1.25}},{modelId:"anthropic/claude-opus-4.7",label:"Claude Opus 4.7",capabilities:{tools:!0,forcedToolChoice:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"]}},contextWindow:1e6,pricing:{inputPerMillionUsd:5,outputPerMillionUsd:25,cacheReadPerMillionUsd:.5,cacheWritePerMillionUsd:6.25}},{modelId:"anthropic/claude-opus-4.8",label:"Claude Opus 4.8",capabilities:{tools:!0,forcedToolChoice:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"]}},contextWindow:1e6,pricing:{inputPerMillionUsd:5,outputPerMillionUsd:25,cacheReadPerMillionUsd:.5,cacheWritePerMillionUsd:6.25}},{modelId:"anthropic/claude-sonnet-4.6",label:"Claude Sonnet 4.6",capabilities:{tools:!0,forcedToolChoice:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"]}},contextWindow:1e6,pricing:{inputPerMillionUsd:3,outputPerMillionUsd:15,cacheReadPerMillionUsd:.3,cacheWritePerMillionUsd:3.75}},{modelId:"deepseek/deepseek-v3.2",label:"DeepSeek V3.2",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:131072,pricing:{inputPerMillionUsd:.269,outputPerMillionUsd:.4,cacheReadPerMillionUsd:.1345}},{modelId:"deepseek/deepseek-v4-flash",label:"DeepSeek V4 Flash",capabilities:{tools:!0,forcedToolChoice:!0,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"]}},contextWindow:1048576,providerOrder:["deepseek"],pricing:{inputPerMillionUsd:.08246,outputPerMillionUsd:.16492,cacheReadPerMillionUsd:.016492}},{modelId:"deepseek/deepseek-v4-flash-0731",label:"DeepSeek V4 Flash (0731)",capabilities:{tools:!0,forcedToolChoice:!0,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"]}},contextWindow:1048576,pricing:{inputPerMillionUsd:.065,outputPerMillionUsd:.18,cacheReadPerMillionUsd:.016},providerOrder:["deepseek"]},{modelId:"deepseek/deepseek-v4-pro",label:"DeepSeek V4 Pro",capabilities:{tools:!0,forcedToolChoice:!0,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"]}},contextWindow:1048576,providerOrder:["deepseek"],pricing:{inputPerMillionUsd:.778824,outputPerMillionUsd:1.55765,cacheReadPerMillionUsd:.064902}},{modelId:"deepseek/deepseek-v4-pro-0813",label:"DeepSeek V4 Pro (0813)",capabilities:{tools:!0,forcedToolChoice:!0,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","high","max"]}},contextWindow:1048576,providerOrder:["deepseek"],pricing:{inputPerMillionUsd:.66,outputPerMillionUsd:1.98,cacheReadPerMillionUsd:.022}},{modelId:"deepseek/deepseek-v4.1-flash",label:"DeepSeek V4.1 Flash",capabilities:{tools:!0,forcedToolChoice:!1,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","high","max"]}},contextWindow:1048576,providerOrder:["deepseek"],pricing:{inputPerMillionUsd:.15,outputPerMillionUsd:.6,cacheReadPerMillionUsd:.003}},{modelId:"google/gemini-3.1-flash-lite-preview",label:"Gemini 3.1 Flash Lite (preview)",capabilities:{tools:!0,forcedToolChoice:!0,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"]}},contextWindow:1048576,pricing:{inputPerMillionUsd:.25,outputPerMillionUsd:1.5,cacheReadPerMillionUsd:.025,cacheWritePerMillionUsd:.0833333}},{modelId:"google/gemini-3.1-pro-preview",label:"Gemini 3.1 Pro (preview)",capabilities:{tools:!0,forcedToolChoice:!0,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"]}},contextWindow:1048576,pricing:{inputPerMillionUsd:2,outputPerMillionUsd:12,cacheReadPerMillionUsd:.2,cacheWritePerMillionUsd:.375}},{modelId:"google/gemini-3.5-flash",label:"Gemini 3.5 Flash",capabilities:{tools:!0,forcedToolChoice:!0,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"]}},contextWindow:1048576,pricing:{inputPerMillionUsd:1.5,outputPerMillionUsd:9,cacheReadPerMillionUsd:.15,cacheWritePerMillionUsd:.0833333}},{modelId:"google/gemini-3.6-flash",label:"Gemini 3.6 Flash",capabilities:{tools:!0,forcedToolChoice:!0,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","medium","high"],mandatory:!0}},contextWindow:1048576,pricing:{inputPerMillionUsd:.75,outputPerMillionUsd:3.75,cacheReadPerMillionUsd:.075,cacheWritePerMillionUsd:.0416667}},{modelId:"google/gemini-3.7-flash",label:"Gemini 3.7 Flash",capabilities:{tools:!0,forcedToolChoice:!0,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","medium","high"],mandatory:!0}},contextWindow:1048576,pricing:{inputPerMillionUsd:.75,outputPerMillionUsd:3.75,cacheReadPerMillionUsd:.075,cacheWritePerMillionUsd:.0416667}},{modelId:"google/gemma-4-31b-it",label:"Gemma 4 31B-IT",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:262144,pricing:{inputPerMillionUsd:.09,outputPerMillionUsd:.34,cacheReadPerMillionUsd:.05}},{modelId:"minimax/minimax-m3",label:"MiniMax M3",capabilities:{tools:!0,forcedToolChoice:!1,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"]}},contextWindow:1048576,pricing:{inputPerMillionUsd:.3,outputPerMillionUsd:1.2,cacheReadPerMillionUsd:.06}},{modelId:"z-ai/glm-5.2",label:"GLM 5.2",capabilities:{tools:!0,forcedToolChoice:!1,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"],mandatory:!0}},contextWindow:1048576,pricing:{inputPerMillionUsd:.966,outputPerMillionUsd:3.036,cacheReadPerMillionUsd:.1932}},{modelId:"z-ai/glm-5.3",label:"GLM 5.3",capabilities:{tools:!0,forcedToolChoice:!1,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"],mandatory:!0}},contextWindow:1048576,pricing:{inputPerMillionUsd:1.4,outputPerMillionUsd:4.4,cacheReadPerMillionUsd:.14}},{modelId:"z-ai/glm-5.3-flash",label:"GLM 5.3 Flash",capabilities:{tools:!0,forcedToolChoice:!1,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"]}},contextWindow:1310720,pricing:{inputPerMillionUsd:.075,outputPerMillionUsd:.25,cacheReadPerMillionUsd:.015}},{modelId:"z-ai/glm-5.3-flashx",label:"GLM 5.3 FlashX",capabilities:{tools:!0,forcedToolChoice:!1,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","high","max"],mandatory:!0}},contextWindow:1048576,pricing:{inputPerMillionUsd:.37,outputPerMillionUsd:1.25,cacheReadPerMillionUsd:.075}},{modelId:"xiaomi/mimo-v2.6-flash",label:"MiMo V2.6 Flash",capabilities:{tools:!0,forcedToolChoice:!0,reasoningControl:{kind:"onoff"}},contextWindow:1048576,pricing:{inputPerMillionUsd:.14,outputPerMillionUsd:.28,cacheReadPerMillionUsd:.0028}},{modelId:"xiaomi/mimo-v2.6-pro",label:"MiMo V2.6 Pro",capabilities:{tools:!0,forcedToolChoice:!0,reasoningControl:{kind:"onoff"}},contextWindow:1048576,pricing:{inputPerMillionUsd:.435,outputPerMillionUsd:.87,cacheReadPerMillionUsd:.0036}},{modelId:"xiaomi/mimo-v2.6-pro-ultraspeed",label:"MiMo V2.6 Pro UltraSpeed",capabilities:{tools:!0,forcedToolChoice:!0,reasoningControl:{kind:"onoff"}},contextWindow:1048576,pricing:{inputPerMillionUsd:4.35,outputPerMillionUsd:8.7,cacheReadPerMillionUsd:.036}},{modelId:"moonshotai/kimi-k2.6",label:"Kimi K2.6",capabilities:{tools:!0,forcedToolChoice:!1,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"],mandatory:!0}},contextWindow:262144,pricing:{inputPerMillionUsd:.95,outputPerMillionUsd:4,cacheReadPerMillionUsd:.16}},{modelId:"moonshotai/kimi-k2.7-code",label:"Kimi K2.7 Code",capabilities:{tools:!0,forcedToolChoice:!1,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"],mandatory:!0}},contextWindow:262144,pricing:{inputPerMillionUsd:.66,outputPerMillionUsd:3.4,cacheReadPerMillionUsd:.18}},{modelId:"x-ai/grok-4.5",label:"Grok 4.5",capabilities:{tools:!0,forcedToolChoice:!0,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","medium","high"],mandatory:!0}},contextWindow:5e5,pricing:{inputPerMillionUsd:2,outputPerMillionUsd:6,cacheReadPerMillionUsd:.3}},{modelId:"x-ai/grok-4.6",label:"Grok 4.6",capabilities:{tools:!0,forcedToolChoice:!0,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"],mandatory:!0}},contextWindow:5e5,pricing:{inputPerMillionUsd:2,outputPerMillionUsd:6,cacheReadPerMillionUsd:.5}},{modelId:"x-ai/grok-4.7",label:"Grok 4.7",capabilities:{tools:!0,forcedToolChoice:!0,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"],mandatory:!0}},contextWindow:5e5,pricing:{inputPerMillionUsd:1.6,outputPerMillionUsd:4.8,cacheReadPerMillionUsd:.4}},{modelId:"qwen/qwen3.8-max",label:"Qwen 3.8 Max",capabilities:{tools:!0,forcedToolChoice:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"]}},contextWindow:1e6,pricing:{inputPerMillionUsd:2,outputPerMillionUsd:6}},{modelId:"qwen/qwen3.7-max",label:"Qwen 3.7 Max",capabilities:{tools:!0,forcedToolChoice:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"]}},contextWindow:1048576,pricing:{inputPerMillionUsd:1.475,outputPerMillionUsd:4.425,cacheReadPerMillionUsd:.295,cacheWritePerMillionUsd:1.84375}},{modelId:"qwen/qwen3.7-plus",label:"Qwen 3.7 Plus",capabilities:{tools:!0,forcedToolChoice:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"]}},contextWindow:1048576,pricing:{inputPerMillionUsd:.32,outputPerMillionUsd:1.28,cacheReadPerMillionUsd:.064,cacheWritePerMillionUsd:.4}},{modelId:"moonshotai/kimi-k3",label:"Kimi K3",capabilities:{tools:!0,forcedToolChoice:!1,reasoning:!0,reasoningControl:{kind:"effort",levels:["low","medium","high","max"],mandatory:!0}},contextWindow:1048576,pricing:{inputPerMillionUsd:3,outputPerMillionUsd:15,cacheReadPerMillionUsd:.3}}]},ei=new Set(["anthropic/claude-fable-5","anthropic/claude-fable-5.1","anthropic/claude-haiku-4.5","anthropic/claude-opus-4.7","anthropic/claude-opus-4.8","anthropic/claude-opus-5","anthropic/claude-sonnet-4.6","anthropic/claude-sonnet-5","google/gemini-3.1-flash-lite-preview","google/gemini-3.1-pro-preview","google/gemini-3.5-flash","google/gemini-3.6-flash","google/gemini-3.7-flash","google/gemma-4-31b-it","minimax/minimax-m3","moonshotai/kimi-k2.6","moonshotai/kimi-k2.7-code","moonshotai/kimi-k3","openai/gpt-5.6-luna","openai/gpt-5.6-luna-pro","openai/gpt-5.6-terra-pro","openai/gpt-5.6-terra","openai/gpt-5.6-sol","openai/gpt-5.6-sol-pro","openai/gpt-6-astra","openai/gpt-6-astra-pro","deepseek/deepseek-v4.1-flash","qwen/qwen3.8-max","z-ai/glm-5.3-flash","z-ai/glm-5.3-flashx","xiaomi/mimo-v2.6-flash","xiaomi/mimo-v2.6-pro","xiaomi/mimo-v2.6-pro-ultraspeed","x-ai/grok-4.5","x-ai/grok-4.6","x-ai/grok-4.7","qwen/qwen3.7-plus","claude-fable-5","claude-opus-4-8","claude-opus-5","claude-sonnet-4-6","claude-sonnet-5","claude-haiku-4-5-20251001","gpt-5","gpt-5-mini","gemini-3.5-flash","gemini-3.7-flash","gemini-3.1-pro-preview","mistral-large-latest","MiniMax-M3","kimi-k2.6","kimi-k2.7-code","kimi-k3"]);for(let e of Object.values(ee))for(let i of e)i.capabilities.vision=ei.has(i.modelId);function eo(e,i){return ee[e]?.find(e=>e.modelId===i)}function et(e,i){let o=eo(e,i);return o?o.capabilities.tools?"yes":"no":"unknown"}function el(e){return e.capabilities.tools?e.label:`${e.label} (no tools)`}let ea={anthropic:"Anthropic",openai:"OpenAI",google:"Google",deepseek:"DeepSeek",minimax:"MiniMax",mistral:"Mistral",meta:"Meta",qwen:"Qwen","meta-llama":"Meta",moonshotai:"Moonshot"};function en(e){let i=new Map;for(let o of e){let e=function(e){let i=e.indexOf("/");if(i<0)return null;let o=e.slice(0,i);return ea[o]??o.charAt(0).toUpperCase()+o.slice(1)}(o.modelId),t=i.get(e)??[];t.push(o),i.set(e,t)}return[...i.entries()].map(([e,i])=>({group:e,models:[...i].sort((e,i)=>e.label.localeCompare(i.label))})).sort((e,i)=>(e.group??"").localeCompare(i.group??""))}function er(e){let i,o=(i=e.indexOf("__"))<=0?null:{prefix:e.slice(0,i),tool:e.slice(i+2)},t=(o?o.tool:e).replace(/[_-]+/g," ").replace(/([a-z])([A-Z])/g,"$1 $2").trim().toLowerCase();return t.charAt(0).toUpperCase()+t.slice(1)}o(34915);let es=[[/\bsk-[A-Za-z0-9_-]{16,}/g,"sk-"],[/\bsk-ant-[A-Za-z0-9_-]{16,}/g,"sk-ant-"],[/\bgh[pousr]_[A-Za-z0-9]{16,}/g,"gh*_"],[/\bxox[abposr]-[A-Za-z0-9-]{10,}/g,"xox*-"],[/\bxapp-[0-9]-[A-Za-z0-9-]{10,}/g,"xapp-"],[/\bAIza[A-Za-z0-9_-]{30,}/g,"AIza"],[/\b(?:AKIA|ASIA)[A-Z0-9]{16}\b/g,"AKIA/ASIA"],[/\b\d{8,12}:[A-Za-z0-9_-]{30,}/g,"telegram"],[/\b[A-Za-z0-9_-]{23,28}\.[A-Za-z0-9_-]{6}\.[A-Za-z0-9_-]{27,40}\b/g,"discord"],[/\bcog_[A-Za-z0-9]{16,}/g,"cog_"],[/\btvly-[A-Za-z0-9]{16,}/g,"tvly-"],[/-----BEGIN[^-]{0,40}PRIVATE KEY-----[\s\S]*?-----END[^-]{0,40}PRIVATE KEY-----/g,"pem"],[/\b[Bb]earer\s+[A-Za-z0-9._~+/=-]{20,}/g,"bearer"]];function ed(e){let i=e;for(let[e,o]of es)i=i.replace(e,`[secret masqu\xe9] (${o})`);return i}t.Yj().min(1).max(80).regex(/^[a-z0-9][a-z0-9-]*$/,"Slug must be lowercase alphanumeric with hyphens, and must not start with a hyphen.");let ec=e=>e.replace(/\\/g,"/").replace(/\/+$/,"");function eu(e){let i=ec(e);return/^[a-z]:\//i.test(i)||i.startsWith("//")?i.toLowerCase():i}function ep(e){return e.normalize("NFD").replace(/[̀-ͯ]/g,"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").slice(0,60).replace(/-+$/,"")}function eg(e,i){if(!function(e){if(""===e)return!0;let i=e.replace(/\\/g,"/");return!(/^[a-z]:/i.test(i)||i.startsWith("/")||/[\u0000-\u001f]/.test(i))&&i.split("/").every(e=>""!==e&&"."!==e&&".."!==e)}(i))return null;let o=ec(e);return""===i?o:ec(`${o}/${i.replace(/\\/g,"/")}`)}function em(e){return null!=e&&"request_changes"===("string"==typeof e?e:e.verdict)}t.k5(["code_project","office_file","document","outbound_action","other"]),t.k5(["dirty","green","red","pending_approval","not_configured","infra_error"]),t.k5(["prepared","attempted","confirmed","rejected","outcome_unknown"]),t.k5(["green","red","infra_error"]),t.k5(["job","reviewer"]);let eh=t.Ik({command:t.Yj().trim().min(1).max(2e3),timeoutSeconds:t.ai().int().min(1).max(3600)}),eb=5;t.YO(eh).min(1).max(eb),new Uint32Array([0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2]);let ef=["codeTask","cliRuntime","fileOps","shell"];t.Ik({codeTask:t.zM(),cliRuntime:t.zM(),fileOps:t.zM(),shell:t.zM()}),Object.freeze({codeTask:!0,cliRuntime:!0,fileOps:!0,shell:!0}),Object.freeze({codeTask:["code_task"],cliRuntime:[],fileOps:["file_write","file_edit","docx_create","docx_append_paragraphs","docx_replace_text","pptx_create","pptx_append_slides","pptx_replace_text","xlsx_set_cell","xlsx_set_range","xlsx_append_rows","xlsx_add_sheet","xlsx_create","xlsx_delete_rows","xlsx_format_range","xlsx_insert_rows","xlsx_insert_columns","xlsx_delete_columns","xlsx_merge_cells","xlsx_unmerge_cells","xlsx_set_column_widths","xlsx_freeze_panes"],shell:["run_command","run_skill_script"]});let ek=Object.freeze([0,1,2,3]);function ex(e,i){let o=""===e?[]:e.split("\n"),t=""===i?[]:i.split("\n");if(o.length>2e3||t.length>2e3)return{lines:[...o.map(e=>({kind:"-",text:e})),...t.map(e=>({kind:"+",text:e}))],truncated:!0};let l=Array.from({length:o.length+1},()=>Array(t.length+1).fill(0));for(let e=o.length-1;e>=0;e--)for(let i=t.length-1;i>=0;i--)l[e][i]=o[e]===t[i]?l[e+1][i+1]+1:Math.max(l[e+1][i],l[e][i+1]);let a=[],n=0,r=0;for(;n<o.length&&r<t.length;)o[n]===t[r]?(a.push({kind:" ",text:o[n]}),n++,r++):l[n+1][r]>=l[n][r+1]?(a.push({kind:"-",text:o[n]}),n++):(a.push({kind:"+",text:t[r]}),r++);for(;n<o.length;)a.push({kind:"-",text:o[n]}),n++;for(;r<t.length;)a.push({kind:"+",text:t[r]}),r++;return{lines:a,truncated:!1}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1577],{16763:(e,a,t)=>{t.d(a,{A:()=>n});var l=t(80351);let n=l.forwardRef((e,a)=>{let{alt:t,color:n="currentColor",size:r="1em",weight:m="regular",mirrored:h=!1,children:c,weights:Z,...A}=e;return l.createElement("svg",{ref:a,xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 256 256",transform:h?"scale(-1, 1)":void 0,...A},!!t&&l.createElement("title",null,t),c,Z.get(m))});n.displayName="SSRBase"},37306:(e,a,t)=>{t.d(a,{A:()=>n});var l=t(80351);let n=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),l.createElement("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"}))]])},38178:(e,a,t)=>{t.d(a,{K:()=>h});var l=t(80351),n=t(16763),r=t(37306);let m=l.forwardRef((e,a)=>l.createElement(n.A,{ref:a,...e,weights:r.A}));m.displayName="CaretRightIcon";let h=m},50571:(e,a,t)=>{t.d(a,{A:()=>n});var l=t(80351);let n=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M199,125.31l-49.88-18.39L130.69,57a19.92,19.92,0,0,0-37.38,0L74.92,106.92,25,125.31a19.92,19.92,0,0,0,0,37.38l49.88,18.39L93.31,231a19.92,19.92,0,0,0,37.38,0l18.39-49.88L199,162.69a19.92,19.92,0,0,0,0-37.38Zm-63.38,35.16a12,12,0,0,0-7.11,7.11L112,212.28l-16.47-44.7a12,12,0,0,0-7.11-7.11L43.72,144l44.7-16.47a12,12,0,0,0,7.11-7.11L112,75.72l16.47,44.7a12,12,0,0,0,7.11,7.11L180.28,144ZM140,40a12,12,0,0,1,12-12h12V16a12,12,0,0,1,24,0V28h12a12,12,0,0,1,0,24H188V64a12,12,0,0,1-24,0V52H152A12,12,0,0,1,140,40ZM252,88a12,12,0,0,1-12,12h-4v4a12,12,0,0,1-24,0v-4h-4a12,12,0,0,1,0-24h4V72a12,12,0,0,1,24,0v4h4A12,12,0,0,1,252,88Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M194.82,151.43l-55.09,20.3-20.3,55.09a7.92,7.92,0,0,1-14.86,0l-20.3-55.09-55.09-20.3a7.92,7.92,0,0,1,0-14.86l55.09-20.3,20.3-55.09a7.92,7.92,0,0,1,14.86,0l20.3,55.09,55.09,20.3A7.92,7.92,0,0,1,194.82,151.43Z",opacity:"0.2"}),l.createElement("path",{d:"M197.58,129.06,146,110l-19-51.62a15.92,15.92,0,0,0-29.88,0L78,110l-51.62,19a15.92,15.92,0,0,0,0,29.88L78,178l19,51.62a15.92,15.92,0,0,0,29.88,0L146,178l51.62-19a15.92,15.92,0,0,0,0-29.88ZM137,164.22a8,8,0,0,0-4.74,4.74L112,223.85,91.78,169A8,8,0,0,0,87,164.22L32.15,144,87,123.78A8,8,0,0,0,91.78,119L112,64.15,132.22,119a8,8,0,0,0,4.74,4.74L191.85,144ZM144,40a8,8,0,0,1,8-8h16V16a8,8,0,0,1,16,0V32h16a8,8,0,0,1,0,16H184V64a8,8,0,0,1-16,0V48H152A8,8,0,0,1,144,40ZM248,88a8,8,0,0,1-8,8h-8v8a8,8,0,0,1-16,0V96h-8a8,8,0,0,1,0-16h8V72a8,8,0,0,1,16,0v8h8A8,8,0,0,1,248,88Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,144a15.78,15.78,0,0,1-10.42,14.94L146,178l-19,51.62a15.92,15.92,0,0,1-29.88,0L78,178l-51.62-19a15.92,15.92,0,0,1,0-29.88L78,110l19-51.62a15.92,15.92,0,0,1,29.88,0L146,110l51.62,19A15.78,15.78,0,0,1,208,144ZM152,48h16V64a8,8,0,0,0,16,0V48h16a8,8,0,0,0,0-16H184V16a8,8,0,0,0-16,0V32H152a8,8,0,0,0,0,16Zm88,32h-8V72a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0V96h8a8,8,0,0,0,0-16Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M196.89,130.94,144.4,111.6,125.06,59.11a13.92,13.92,0,0,0-26.12,0L79.6,111.6,27.11,130.94a13.92,13.92,0,0,0,0,26.12L79.6,176.4l19.34,52.49a13.92,13.92,0,0,0,26.12,0L144.4,176.4l52.49-19.34a13.92,13.92,0,0,0,0-26.12Zm-4.15,14.86-55.08,20.3a6,6,0,0,0-3.56,3.56l-20.3,55.08a1.92,1.92,0,0,1-3.6,0L89.9,169.66a6,6,0,0,0-3.56-3.56L31.26,145.8a1.92,1.92,0,0,1,0-3.6l55.08-20.3a6,6,0,0,0,3.56-3.56l20.3-55.08a1.92,1.92,0,0,1,3.6,0l20.3,55.08a6,6,0,0,0,3.56,3.56l55.08,20.3a1.92,1.92,0,0,1,0,3.6ZM146,40a6,6,0,0,1,6-6h18V16a6,6,0,0,1,12,0V34h18a6,6,0,0,1,0,12H182V64a6,6,0,0,1-12,0V46H152A6,6,0,0,1,146,40ZM246,88a6,6,0,0,1-6,6H230v10a6,6,0,0,1-12,0V94H208a6,6,0,0,1,0-12h10V72a6,6,0,0,1,12,0V82h10A6,6,0,0,1,246,88Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M197.58,129.06,146,110l-19-51.62a15.92,15.92,0,0,0-29.88,0L78,110l-51.62,19a15.92,15.92,0,0,0,0,29.88L78,178l19,51.62a15.92,15.92,0,0,0,29.88,0L146,178l51.62-19a15.92,15.92,0,0,0,0-29.88ZM137,164.22a8,8,0,0,0-4.74,4.74L112,223.85,91.78,169A8,8,0,0,0,87,164.22L32.15,144,87,123.78A8,8,0,0,0,91.78,119L112,64.15,132.22,119a8,8,0,0,0,4.74,4.74L191.85,144ZM144,40a8,8,0,0,1,8-8h16V16a8,8,0,0,1,16,0V32h16a8,8,0,0,1,0,16H184V64a8,8,0,0,1-16,0V48H152A8,8,0,0,1,144,40ZM248,88a8,8,0,0,1-8,8h-8v8a8,8,0,0,1-16,0V96h-8a8,8,0,0,1,0-16h8V72a8,8,0,0,1,16,0v8h8A8,8,0,0,1,248,88Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M196.2,132.81l-53.36-19.65L123.19,59.8a11.93,11.93,0,0,0-22.38,0L81.16,113.16,27.8,132.81a11.93,11.93,0,0,0,0,22.38l53.36,19.65,19.65,53.36a11.93,11.93,0,0,0,22.38,0l19.65-53.36,53.36-19.65a11.93,11.93,0,0,0,0-22.38Zm-2.77,14.87L138.35,168a4,4,0,0,0-2.37,2.37l-20.3,55.08a3.92,3.92,0,0,1-7.36,0L88,170.35A4,4,0,0,0,85.65,168l-55.08-20.3a3.92,3.92,0,0,1,0-7.36L85.65,120A4,4,0,0,0,88,117.65l20.3-55.08a3.92,3.92,0,0,1,7.36,0L136,117.65a4,4,0,0,0,2.37,2.37l55.08,20.3a3.92,3.92,0,0,1,0,7.36ZM148,40a4,4,0,0,1,4-4h20V16a4,4,0,0,1,8,0V36h20a4,4,0,0,1,0,8H180V64a4,4,0,0,1-8,0V44H152A4,4,0,0,1,148,40Zm96,48a4,4,0,0,1-4,4H228v12a4,4,0,0,1-8,0V92H208a4,4,0,0,1,0-8h12V72a4,4,0,0,1,8,0V84h12A4,4,0,0,1,244,88Z"}))]])},60525:(e,a,t)=>{t.d(a,{A:()=>n});var l=t(80351);let n=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),l.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]])},60709:(e,a,t)=>{t.d(a,{A:()=>n});var l=t(80351);let n=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z",opacity:"0.2"}),l.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]])},63428:(e,a,t)=>{t.d(a,{a:()=>h});var l=t(80351),n=t(16763),r=t(91692);let m=l.forwardRef((e,a)=>l.createElement(n.A,{ref:a,...e,weights:r.A}));m.displayName="CaretDownIcon";let h=m},64178:(e,a,t)=>{t.d(a,{r:()=>h});var l=t(80351),n=t(16763),r=t(60525);let m=l.forwardRef((e,a)=>l.createElement(n.A,{ref:a,...e,weights:r.A}));m.displayName="CheckCircleIcon";let h=m},68269:(e,a,t)=>{t.d(a,{N:()=>h});var l=t(80351),n=t(16763),r=t(60709);let m=l.forwardRef((e,a)=>l.createElement(n.A,{ref:a,...e,weights:r.A}));m.displayName="WarningIcon";let h=m},80767:(e,a,t)=>{t.d(a,{A:()=>n});var l=t(80351);let n=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128ZM40,76H216a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24ZM216,180H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,64V192H40V64Z",opacity:"0.2"}),l.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM192,184H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128ZM40,70H216a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12ZM216,186H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128ZM40,68H216a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8ZM216,188H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Z"}))]])},85319:(e,a,t)=>{t.d(a,{B:()=>h});var l=t(80351),n=t(16763),r=t(80767);let m=l.forwardRef((e,a)=>l.createElement(n.A,{ref:a,...e,weights:r.A}));m.displayName="ListIcon";let h=m},85347:(e,a,t)=>{t.d(a,{R:()=>h});var l=t(80351),n=t(16763),r=t(50571);let m=l.forwardRef((e,a)=>l.createElement(n.A,{ref:a,...e,weights:r.A}));m.displayName="SparkleIcon";let h=m},91692:(e,a,t)=>{t.d(a,{A:()=>n});var l=t(80351);let n=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),l.createElement("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"}))]])}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1789],{51137:(e,n,t)=>{t.d(n,{CR:()=>i,Oi:()=>r}),t(81528);let r={codeTask:{label:"Coding tool",hint:"code_task: a coding CLI called as a tool"},cliRuntime:{label:"Claude Code / Codex agents",hint:"agents that ARE a coding CLI session"},fileOps:{label:"File tools",hint:"file_write, file_edit, Office files"},shell:{label:"Commands and scripts",hint:"run_command, run_skill_script"}};function i(e){return r[e]?.label??e}},60128:(e,n,t)=>{t.d(n,{A:()=>d});var r=t(48503),i=t(64178),a=t(68269),s=t(90566);let l={done:"Done",warn:"Attention",run:"Running",idle:"Idle","lvl-info":"INFO","lvl-ok":"OK","lvl-warn":"WARN","lvl-err":"ERR"},o={done:"bg-ok-bg text-ok",warn:"bg-warn-bg text-warn",run:"bg-run-bg text-run",idle:"bg-black/5 text-ink-3 dark:bg-white/5","lvl-info":"bg-black/5 text-ink-3 dark:bg-white/5","lvl-ok":"bg-ok-bg text-ok","lvl-warn":"bg-warn-bg text-warn","lvl-err":"bg-warn-bg text-err"};function d({variant:e,label:n,icon:t,className:c=""}){let u=n??l[e],x=null;return void 0!==t?x=t:"done"===e?x=(0,r.jsx)(i.r,{size:11,weight:"regular"}):"warn"===e?x=(0,r.jsx)(a.N,{size:11,weight:"regular"}):"run"===e&&(x=(0,r.jsx)(s.A,{variant:"blue",size:"sm"})),(0,r.jsxs)("span",{className:`inline-flex h-[22px] items-center gap-1.5 rounded-[5px] px-2.5 text-medium-12 leading-none! ${o[e]} ${c}`,children:[x,u]})}},90566:(e,n,t)=>{t.d(n,{A:()=>s});var r=t(48503);let i={ok:"bg-ok",lime:"bg-agent-vivid",coral:"bg-skill-vivid",blue:"bg-conn-vivid",warn:"bg-warn"},a={ok:"animate-[blip_1.4s_ease-out_infinite]",lime:"animate-[blip-lime_1.5s_ease-out_infinite]",coral:"animate-[blip-coral_1.4s_ease-out_infinite]",blue:"animate-[blip-blue_1.4s_ease-out_infinite]",warn:"animate-[blip-coral_1.4s_ease-out_infinite]"};function s({variant:e="ok",size:n="sm",animate:t=!0,className:l=""}){return(0,r.jsx)("span",{className:`inline-block shrink-0 rounded-full ${"sm"===n?"h-[7px] w-[7px]":"h-2 w-2"} ${i[e]} ${t?a[e]:""} ${l}`})}},92085:(e,n,t)=>{t.d(n,{default:()=>b});var r=t(48503),i=t(80351),a=t(51137),s=t(71552),l=t(23138),o=t(4978);let d={green:{tone:"ok",label:"green"},red:{tone:"err",label:"red"},infra_error:{tone:"warn",label:"infra error"}},c="Chat turns are not under verification yet: a chat turn has no job, so no proof runs for it.",u="No proof yet. Proof commands run when the process finishes.",x="No proof ran for this process.";function m(e){return d[e]??{tone:"warn",label:e}}let p={reviewer:"reviewer"};function h(e){return"timeout"===e.outcomeKind?"timeout":"spawn_error"===e.outcomeKind?"spawn error":null===e.exitCode?"n/a":String(e.exitCode)}function b({sequences:e,skippedSurfaces:n,unconfigured:t,stage:o,live:d}){let[p,h]=(0,i.useState)(!1),f="chat"===o,g=0===e.length,k=function(e){if(0===e.length)return null;let n=e.find(e=>"green"!==e.verdict);return m(n?.verdict??"green")}(e),w=function(e){if(e.isChat)return c;if(0===e.sequences.length)return e.live?u:x;let n=e.sequences.reduce((e,n)=>e+n.runs.length,0);return`${e.sequences.length} ${1===e.sequences.length?"sequence":"sequences"} \xb7 ${n} ${1===n?"command":"commands"}`}({isChat:f,sequences:e,live:d});return(0,r.jsxs)("div",{className:"overflow-hidden rounded-xl border border-rule-2 bg-paper","data-testid":"verification-section",children:[(0,r.jsxs)(s.A,{open:p,onClick:()=>h(e=>!e),inset:"tight",testId:"verification-row",children:[(0,r.jsxs)("span",{className:"shrink-0 text-mono-11 tracking-wider text-ink-4 uppercase",children:["Verification",e.length>0?` \xb7 ${e.length}`:""]}),null!==k&&(0,r.jsx)(l.s,{tone:k.tone,children:k.label}),(0,r.jsx)("span",{className:"min-w-0 truncate text-body-13 text-ink-3",children:w})]}),p?f?(0,r.jsx)("p",{className:"border-t border-rule-2 px-4 py-6 text-body-13 text-ink-4",children:c}):(0,r.jsxs)("div",{className:"border-t border-rule-2",children:[n.length>0&&(0,r.jsx)("ul",{className:"space-y-1.5 border-b border-rule-2 px-4 py-3",children:n.map(e=>(0,r.jsxs)("li",{className:"flex flex-wrap items-center gap-2 text-body-13 text-ink-3","data-testid":`verification-skipped-${e}`,children:[(0,r.jsx)(l.s,{tone:"warn",children:"not verified"}),(0,r.jsxs)("span",{children:[(0,a.CR)(e)," is out of verification for this workspace."]})]},e))}),t.length>0&&(0,r.jsx)("ul",{className:"space-y-1.5 border-b border-rule-2 px-4 py-3",children:t.map(e=>(0,r.jsxs)("li",{className:"flex flex-wrap items-center gap-2 text-body-13 text-ink-3",children:[(0,r.jsx)(l.s,{tone:"ink",children:"pending_approval"===e.reason?"awaiting approval":"code_project"===e.deliverableType?"not configured":"not checked"}),(0,r.jsx)("span",{className:"min-w-0 truncate font-mono",title:e.canonicalKey,children:e.displayPath??e.canonicalKey}),(0,r.jsx)("span",{children:function(e){if("pending_approval"===e.reason)return"has proof commands waiting for the owner’s approval.";switch(e.deliverableType){case"code_project":return"has no proof commands. Add them on its project card in Code.";case"office_file":return"is a document. Nodal does not check documents yet.";default:return"is not checked yet."}}(e)})]},`${e.deliverableType}:${e.canonicalKey}`))}),g?(0,r.jsx)("p",{className:"px-4 py-6 text-body-13 text-ink-4",children:d?u:x}):e.map(e=>(0,r.jsx)(v,{sequence:e},e.sequenceId))]}):null]})}function v({sequence:e}){let n=m(e.verdict),t="job"===e.source?null:{role:p[e.source]??e.source,name:e.sourceAgentName};return(0,r.jsxs)("div",{className:"border-b border-rule-2 last:border-b-0","data-testid":"verification-sequence",children:[(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-2 px-4 py-2.5",children:[(0,r.jsx)(l.s,{tone:n.tone,children:n.label}),null!==t&&(0,r.jsx)("span",{"data-testid":"verification-origin",children:(0,r.jsx)(l.s,{tone:"ink",children:t.role})}),(0,r.jsx)("span",{className:"min-w-0 flex-1 truncate text-mono-13 text-ink",title:e.canonicalKey,children:e.canonicalKey}),(0,r.jsxs)("span",{className:"shrink-0 text-mono-11 text-ink-4",children:[e.runs.length," ",1===e.runs.length?"command":"commands",t?.name?` \xb7 ${t.name}`:"",e.startedAt?` \xb7 ${(0,o.KW)(e.startedAt)}`:""]})]}),(0,r.jsx)("div",{children:e.runs.map(e=>{let n=m(e.verdict);return(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-2 border-t border-rule-2 bg-canvas px-4 py-2","data-testid":"verification-command",children:[(0,r.jsx)("span",{className:"shrink-0 text-mono-11 text-ink-4",children:e.commandRank}),(0,r.jsx)("span",{className:"min-w-0 flex-1 truncate text-mono-13 text-ink",title:e.command,children:e.command}),(0,r.jsx)("span",{className:"shrink-0 text-mono-11 text-ink-3",children:"exit"===e.outcomeKind?`exit ${h(e)}`:h(e)}),(0,r.jsx)("span",{className:"shrink-0 text-mono-11 text-ink-3",children:function(e){if(null===e)return"n/a";if(e<1e3)return`${e} ms`;let n=e/1e3;return n<60?`${n.toFixed(1)} s`:`${Math.floor(n/60)} min ${Math.round(n%60)} s`}(e.durationMs)}),(0,r.jsx)(l.s,{tone:n.tone,children:n.label})]},`${e.sequenceId}:${e.commandRank}`)})})]})}},99145:(e,n,t)=>{t.d(n,{default:()=>d});var r=t(48503),i=t(80351),a=t(71552),s=t(60128),l=t(23138),o=t(45413);function d({verdicts:e,reviewing:n=!1}){let[t,l]=(0,i.useState)(!1),o=0===e.length?n?{variant:"run",label:"Review in progress"}:null:"approve"===e[e.length-1].verdict?{variant:"done",label:"Approve"}:{variant:"warn",label:"Request changes"},u=e[e.length-1]??null,x=(0,r.jsxs)("span",{className:"ml-auto shrink-0 text-mono-11 text-ink-4",children:[e.length," ",1===e.length?"verdict":"verdicts"]});return 0===e.length?(0,r.jsx)("div",{className:"overflow-hidden rounded-xl border border-rule-2 bg-paper","data-testid":"review-section",children:(0,r.jsxs)("div",{className:"flex items-center gap-2 px-4 py-3",children:[(0,r.jsx)("h2",{className:"shrink-0 text-mono-11 tracking-wider text-ink-4 uppercase",children:"Review"}),null!==o&&(0,r.jsx)(s.A,{variant:o.variant,label:o.label}),(0,r.jsx)("span",{className:"min-w-0 truncate text-body-13 text-ink-3",children:"No review on this run"}),x]})}):(0,r.jsxs)("div",{className:"overflow-hidden rounded-xl border border-rule-2 bg-paper","data-testid":"review-section",children:[(0,r.jsxs)(a.A,{open:t,onClick:()=>l(e=>!e),inset:"tight",testId:"review-row",children:[(0,r.jsx)("span",{className:"shrink-0 text-mono-11 tracking-wider text-ink-4 uppercase",children:"Review"}),null!==o&&(0,r.jsx)(s.A,{variant:o.variant,label:o.label}),u?.summary!==null&&u?.summary!==void 0&&""!==u.summary&&!t&&(0,r.jsx)("span",{className:"min-w-0 truncate text-body-13 text-ink-3",children:u.summary}),x]}),t&&(0,r.jsx)("div",{className:"space-y-3 border-t border-rule-2 px-4 py-4",children:e.map((e,n)=>(0,r.jsx)(c,{verdict:e},n))})]})}function c({verdict:e}){let n="approve"===e.verdict;return(0,r.jsxs)("div",{className:"space-y-2","data-testid":"review-verdict",children:[(0,r.jsx)(s.A,{variant:n?"done":"warn",label:n?"Approve":e.verdict??"Request changes"}),e.summary&&(0,r.jsx)("p",{className:"text-body-13 text-ink-2",children:e.summary}),e.findings.length>0&&(0,r.jsx)("ul",{className:"space-y-1.5",children:e.findings.map((e,n)=>(0,r.jsxs)("li",{className:"rounded-md border border-rule-2 px-3 py-2 text-body-13",children:[(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,r.jsxs)("span",{className:"text-mono-12 text-ink-3",children:[e.file??"Unknown file",e.line?`:${e.line}`:""]}),e.severity&&(0,r.jsx)(l.s,{tone:"warn",children:e.severity})]}),e.issue&&(0,r.jsx)("p",{className:"mt-1 text-ink-2",children:e.issue})]},n))}),null!==e.report&&""!==e.report&&(0,r.jsx)("div",{className:"border-t border-rule-2 pt-2","data-testid":"review-report",children:(0,r.jsx)(o.Ay,{text:e.report})})]})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[296],{13472:(a,e,t)=>{t.d(e,{P:()=>Z});var l=t(80351),n=t(3674);let m=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M228,48V96a12,12,0,0,1-12,12H168a12,12,0,0,1,0-24h19l-7.8-7.8a75.55,75.55,0,0,0-53.32-22.26h-.43A75.49,75.49,0,0,0,72.39,75.57,12,12,0,1,1,55.61,58.41a99.38,99.38,0,0,1,69.87-28.47H126A99.42,99.42,0,0,1,196.2,59.23L204,67V48a12,12,0,0,1,24,0ZM183.61,180.43a75.49,75.49,0,0,1-53.09,21.63h-.43A75.55,75.55,0,0,1,76.77,179.8L69,172H88a12,12,0,0,0,0-24H40a12,12,0,0,0-12,12v48a12,12,0,0,0,24,0V189l7.8,7.8A99.42,99.42,0,0,0,130,226.06h.56a99.38,99.38,0,0,0,69.87-28.47,12,12,0,0,0-16.78-17.16Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z",opacity:"0.2"}),l.createElement("path",{d:"M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1-5.66-13.66L180.65,72a79.48,79.48,0,0,0-54.72-22.09h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27,96,96,0,0,1,192,60.7l18.36-18.36A8,8,0,0,1,224,48ZM186.41,183.29A80,80,0,0,1,75.35,184l18.31-18.31A8,8,0,0,0,88,152H40a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66L64,195.3a95.42,95.42,0,0,0,66,26.76h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M222,48V96a6,6,0,0,1-6,6H168a6,6,0,0,1,0-12h33.52L183.47,72a81.51,81.51,0,0,0-57.53-24h-.46A81.5,81.5,0,0,0,68.19,71.28a6,6,0,1,1-8.38-8.58,93.38,93.38,0,0,1,65.67-26.76H126a93.45,93.45,0,0,1,66,27.53l18,18V48a6,6,0,0,1,12,0ZM187.81,184.72a81.5,81.5,0,0,1-57.29,23.34h-.46a81.51,81.51,0,0,1-57.53-24L54.48,166H88a6,6,0,0,0,0-12H40a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V174.48l18,18.05a93.45,93.45,0,0,0,66,27.53h.52a93.38,93.38,0,0,0,65.67-26.76,6,6,0,1,0-8.38-8.58Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M220,48V96a4,4,0,0,1-4,4H168a4,4,0,0,1,0-8h38.34L184.89,70.54A84,84,0,0,0,66.8,69.85a4,4,0,1,1-5.6-5.72,92,92,0,0,1,129.34.76L212,86.34V48a4,4,0,0,1,8,0ZM189.2,186.15a83.44,83.44,0,0,1-58.68,23.91h-.47a83.52,83.52,0,0,1-58.94-24.6L49.66,164H88a4,4,0,0,0,0-8H40a4,4,0,0,0-4,4v48a4,4,0,0,0,8,0V169.66l21.46,21.45A91.43,91.43,0,0,0,130,218.06h.51a91.45,91.45,0,0,0,64.28-26.19,4,4,0,1,0-5.6-5.72Z"}))]]),r=l.forwardRef((a,e)=>l.createElement(n.A,{ref:e,...a,weights:m}));r.displayName="ArrowsClockwiseIcon";let Z=r},16020:(a,e,t)=>{t.d(e,{s:()=>Z});var l=t(80351),n=t(3674);let m=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M152.41,88.56l-89.6,88a12,12,0,0,1-16.82,0L7.59,138.85a12,12,0,0,1,16.82-17.13l30,29.46,81.19-79.74a12,12,0,0,1,16.82,17.12Zm96.15-17a12,12,0,0,0-17-.15L150.4,151.18l-7.88-7.74a12,12,0,0,0-16.82,17.12l16.29,16a12,12,0,0,0,16.82,0l89.6-88A12,12,0,0,0,248.56,71.59Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M240,64V192a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V64A16,16,0,0,1,32,48H224A16,16,0,0,1,240,64Z",opacity:"0.2"}),l.createElement("path",{d:"M149.61,85.71l-89.6,88a8,8,0,0,1-11.22,0L10.39,136a8,8,0,1,1,11.22-11.41L54.4,156.79l84-82.5a8,8,0,1,1,11.22,11.42Zm96.1-11.32a8,8,0,0,0-11.32-.1l-84,82.5-18.83-18.5a8,8,0,0,0-11.21,11.42l24.43,24a8,8,0,0,0,11.22,0l89.6-88A8,8,0,0,0,245.71,74.39Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48ZM72,168a8,8,0,0,1-5.66-2.34l-24-24a8,8,0,0,1,11.32-11.32L72,148.69l58.34-58.35a8,8,0,0,1,11.32,11.32l-64,64A8,8,0,0,1,72,168Zm141.66-66.34-64,64a8,8,0,0,1-11.32,0l-16-16a8,8,0,0,1,11.32-11.32L144,148.69l58.34-58.35a8,8,0,0,1,11.32,11.32Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M148.2,84.28l-89.6,88a6,6,0,0,1-8.4,0L11.8,134.57A6,6,0,1,1,20.2,126l34.2,33.58,85.4-83.87a6,6,0,1,1,8.4,8.56Zm96.08-8.48a6,6,0,0,0-8.48-.08l-85.4,83.87-20.23-19.87a6,6,0,1,0-8.41,8.56l24.44,24a6,6,0,0,0,8.4,0l89.6-88A6,6,0,0,0,244.28,75.8Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M149.61,85.71l-89.6,88a8,8,0,0,1-11.22,0L10.39,136a8,8,0,1,1,11.22-11.41L54.4,156.79l84-82.5a8,8,0,1,1,11.22,11.42Zm96.1-11.32a8,8,0,0,0-11.32-.1l-84,82.5-18.83-18.5a8,8,0,0,0-11.21,11.42l24.43,24a8,8,0,0,0,11.22,0l89.6-88A8,8,0,0,0,245.71,74.39Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M146.8,82.85l-89.6,88a4,4,0,0,1-5.6,0L13.2,133.14a4,4,0,0,1,5.6-5.71l35.6,35,86.8-85.24a4,4,0,0,1,5.6,5.7Zm96-5.65a4,4,0,0,0-5.65,0l-86.8,85.24-21.63-21.24a4,4,0,1,0-5.61,5.7l24.44,24a4,4,0,0,0,5.6,0l89.6-88A4,4,0,0,0,242.85,77.2Z"}))]]),r=l.forwardRef((a,e)=>l.createElement(n.A,{ref:e,...a,weights:m}));r.displayName="ChecksIcon";let Z=r},16763:(a,e,t)=>{t.d(e,{A:()=>n});var l=t(80351);let n=l.forwardRef((a,e)=>{let{alt:t,color:n="currentColor",size:m="1em",weight:r="regular",mirrored:Z=!1,children:A,weights:c,...h}=a;return l.createElement("svg",{ref:e,xmlns:"http://www.w3.org/2000/svg",width:m,height:m,fill:n,viewBox:"0 0 256 256",transform:Z?"scale(-1, 1)":void 0,...h},!!t&&l.createElement("title",null,t),A,c.get(r))});n.displayName="SSRBase"},18859:(a,e,t)=>{t.d(e,{c:()=>Z});var l=t(80351),n=t(3674);let m=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M76,64A12,12,0,0,1,88,52H216a12,12,0,0,1,0,24H88A12,12,0,0,1,76,64Zm140,52H88a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Zm0,64H88a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24ZM44,112a16,16,0,1,0,16,16A16,16,0,0,0,44,112Zm0-64A16,16,0,1,0,60,64,16,16,0,0,0,44,48Zm0,128a16,16,0,1,0,16,16A16,16,0,0,0,44,176Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,64V192H88V64Z",opacity:"0.2"}),l.createElement("path",{d:"M80,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H88A8,8,0,0,1,80,64Zm136,56H88a8,8,0,1,0,0,16H216a8,8,0,0,0,0-16Zm0,64H88a8,8,0,1,0,0,16H216a8,8,0,0,0,0-16ZM44,52A12,12,0,1,0,56,64,12,12,0,0,0,44,52Zm0,64a12,12,0,1,0,12,12A12,12,0,0,0,44,116Zm0,64a12,12,0,1,0,12,12A12,12,0,0,0,44,180Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM68,188a12,12,0,1,1,12-12A12,12,0,0,1,68,188Zm0-48a12,12,0,1,1,12-12A12,12,0,0,1,68,140Zm0-48A12,12,0,1,1,80,80,12,12,0,0,1,68,92Zm124,92H104a8,8,0,0,1,0-16h88a8,8,0,0,1,0,16Zm0-48H104a8,8,0,0,1,0-16h88a8,8,0,0,1,0,16Zm0-48H104a8,8,0,0,1,0-16h88a8,8,0,0,1,0,16Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M82,64a6,6,0,0,1,6-6H216a6,6,0,0,1,0,12H88A6,6,0,0,1,82,64Zm134,58H88a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Zm0,64H88a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12ZM44,54A10,10,0,1,0,54,64,10,10,0,0,0,44,54Zm0,128a10,10,0,1,0,10,10A10,10,0,0,0,44,182Zm0-64a10,10,0,1,0,10,10A10,10,0,0,0,44,118Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M80,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H88A8,8,0,0,1,80,64Zm136,56H88a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Zm0,64H88a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16ZM44,52A12,12,0,1,0,56,64,12,12,0,0,0,44,52Zm0,64a12,12,0,1,0,12,12A12,12,0,0,0,44,116Zm0,64a12,12,0,1,0,12,12A12,12,0,0,0,44,180Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M84,64a4,4,0,0,1,4-4H216a4,4,0,0,1,0,8H88A4,4,0,0,1,84,64Zm132,60H88a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Zm0,64H88a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8ZM44,120a8,8,0,1,0,8,8A8,8,0,0,0,44,120Zm0-64a8,8,0,1,0,8,8A8,8,0,0,0,44,56Zm0,128a8,8,0,1,0,8,8A8,8,0,0,0,44,184Z"}))]]),r=l.forwardRef((a,e)=>l.createElement(n.A,{ref:e,...a,weights:m}));r.displayName="ListBulletsIcon";let Z=r},47922:(a,e,t)=>{t.d(e,{X:()=>Z});var l=t(80351),n=t(3674);let m=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M87.5,151.52l64-64a12,12,0,0,1,17,17l-64,64a12,12,0,0,1-17-17Zm131-114a60.08,60.08,0,0,0-84.87,0L103.51,67.61a12,12,0,0,0,17,17l30.07-30.06a36,36,0,0,1,50.93,50.92L171.4,135.52a12,12,0,1,0,17,17l30.08-30.06A60.09,60.09,0,0,0,218.45,37.55ZM135.52,171.4l-30.07,30.08a36,36,0,0,1-50.92-50.93l30.06-30.07a12,12,0,0,0-17-17L37.55,133.58a60,60,0,0,0,84.88,84.87l30.06-30.07a12,12,0,0,0-17-17Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M209.94,113.94l-96,96a48,48,0,0,1-67.88-67.88l96-96a48,48,0,0,1,67.88,67.88Z",opacity:"0.2"}),l.createElement("path",{d:"M165.66,90.34a8,8,0,0,1,0,11.32l-64,64a8,8,0,0,1-11.32-11.32l64-64A8,8,0,0,1,165.66,90.34ZM215.6,40.4a56,56,0,0,0-79.2,0L106.34,70.45a8,8,0,0,0,11.32,11.32l30.06-30a40,40,0,0,1,56.57,56.56l-30.07,30.06a8,8,0,0,0,11.31,11.32L215.6,119.6a56,56,0,0,0,0-79.2ZM138.34,174.22l-30.06,30.06a40,40,0,1,1-56.56-56.57l30.05-30.05a8,8,0,0,0-11.32-11.32L40.4,136.4a56,56,0,0,0,79.2,79.2l30.06-30.07a8,8,0,0,0-11.32-11.31Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM144.56,173.66l-21.45,21.45a44,44,0,0,1-62.22-62.22l21.45-21.46a8,8,0,0,1,11.32,11.31L72.2,144.2a28,28,0,0,0,39.6,39.6l21.45-21.46a8,8,0,0,1,11.31,11.32Zm-34.9-16a8,8,0,0,1-11.32-11.32l48-48a8,8,0,0,1,11.32,11.32Zm85.45-34.55-21.45,21.45a8,8,0,0,1-11.32-11.31L183.8,111.8a28,28,0,0,0-39.6-39.6L122.74,93.66a8,8,0,0,1-11.31-11.32l21.46-21.45a44,44,0,0,1,62.22,62.22Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M164.25,91.75a6,6,0,0,1,0,8.49l-64,64a6,6,0,0,1-8.49-8.48l64-64A6,6,0,0,1,164.25,91.75ZM214.2,41.8a54.07,54.07,0,0,0-76.38,0L107.75,71.85a6,6,0,0,0,8.49,8.49l30.07-30.06a42,42,0,0,1,59.41,59.41l-30.08,30.07a6,6,0,1,0,8.49,8.49l30.07-30.07A54,54,0,0,0,214.2,41.8ZM139.76,175.64l-30.07,30.08a42,42,0,0,1-59.41-59.41l30.06-30.07a6,6,0,0,0-8.49-8.49l-30,30.07a54,54,0,0,0,76.38,76.39l30.07-30.08a6,6,0,0,0-8.49-8.49Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M165.66,90.34a8,8,0,0,1,0,11.32l-64,64a8,8,0,0,1-11.32-11.32l64-64A8,8,0,0,1,165.66,90.34ZM215.6,40.4a56,56,0,0,0-79.2,0L106.34,70.45a8,8,0,0,0,11.32,11.32l30.06-30a40,40,0,0,1,56.57,56.56l-30.07,30.06a8,8,0,0,0,11.31,11.32L215.6,119.6a56,56,0,0,0,0-79.2ZM138.34,174.22l-30.06,30.06a40,40,0,1,1-56.56-56.57l30.05-30.05a8,8,0,0,0-11.32-11.32L40.4,136.4a56,56,0,0,0,79.2,79.2l30.06-30.07a8,8,0,0,0-11.32-11.31Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M162.84,93.16a4,4,0,0,1,0,5.66l-64,64a4,4,0,0,1-5.66-5.66l64-64A4,4,0,0,1,162.84,93.16Zm49.95-49.95a52.07,52.07,0,0,0-73.56,0L109.17,73.27a4,4,0,0,0,5.65,5.66l30.07-30.06a44,44,0,0,1,62.24,62.24l-30.07,30.06a4,4,0,0,0,5.66,5.66l30.07-30.06A52.07,52.07,0,0,0,212.79,43.21ZM141.17,177.06l-30.06,30.07a44,44,0,0,1-62.24-62.24l30.06-30.06a4,4,0,0,0-5.66-5.66L43.21,139.23a52,52,0,0,0,73.56,73.56l30.06-30.07a4,4,0,1,0-5.66-5.66Z"}))]]),r=l.forwardRef((a,e)=>l.createElement(n.A,{ref:e,...a,weights:m}));r.displayName="LinkSimpleIcon";let Z=r},48857:(a,e,t)=>{t.d(e,{Q:()=>Z});var l=t(80351),n=t(3674);let m=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M144,204a16,16,0,1,1-16-16A16,16,0,0,1,144,204ZM239.61,83.91a176,176,0,0,0-223.22,0,12,12,0,1,0,15.23,18.55,152,152,0,0,1,192.76,0,12,12,0,1,0,15.23-18.55Zm-32.16,35.73a128,128,0,0,0-158.9,0,12,12,0,0,0,14.9,18.81,104,104,0,0,1,129.1,0,12,12,0,0,0,14.9-18.81ZM175.07,155.3a80.05,80.05,0,0,0-94.14,0,12,12,0,0,0,14.14,19.4,56,56,0,0,1,65.86,0,12,12,0,1,0,14.14-19.4Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M238.2,87.69l-104,125.43a8,8,0,0,1-12.3,0L17.8,87.69a7.79,7.79,0,0,1,1.31-11.21,180.75,180.75,0,0,1,217.78,0A7.79,7.79,0,0,1,238.2,87.69Z",opacity:"0.2"}),l.createElement("path",{d:"M247.89,80.91a15.93,15.93,0,0,0-6.17-10.81A186.67,186.67,0,0,0,128,32,186.67,186.67,0,0,0,14.28,70.1,15.93,15.93,0,0,0,8.11,80.91,15.65,15.65,0,0,0,11.65,92.8l104,125.43A15.93,15.93,0,0,0,128,224h0a15.93,15.93,0,0,0,12.31-5.77l104-125.43A15.65,15.65,0,0,0,247.89,80.91ZM128,208,24.09,82.74A170.76,170.76,0,0,1,128,48,170.76,170.76,0,0,1,231.91,82.74Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M244.35,92.8l-104,125.43A15.93,15.93,0,0,1,128,224h0a15.93,15.93,0,0,1-12.31-5.77L11.65,92.8A15.65,15.65,0,0,1,8.11,80.91,15.93,15.93,0,0,1,14.28,70.1,186.67,186.67,0,0,1,128,32,186.67,186.67,0,0,1,241.72,70.1a15.93,15.93,0,0,1,6.17,10.81A15.65,15.65,0,0,1,244.35,92.8Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M138,204a10,10,0,1,1-10-10A10,10,0,0,1,138,204ZM235.81,88.55a170,170,0,0,0-215.62,0,6,6,0,1,0,7.62,9.27,158,158,0,0,1,200.38,0,6,6,0,1,0,7.62-9.27Zm-32.08,35.79a122,122,0,0,0-151.46,0,6,6,0,0,0,7.46,9.41,110,110,0,0,1,136.54,0A6,6,0,0,0,200,135a6,6,0,0,0,3.73-10.7Zm-32.2,35.81a74,74,0,0,0-87.06,0,6,6,0,0,0,7.06,9.7,62,62,0,0,1,72.94,0,6,6,0,0,0,8.38-1.32A6,6,0,0,0,171.53,160.15Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M140,204a12,12,0,1,1-12-12A12,12,0,0,1,140,204ZM237.08,87A172,172,0,0,0,18.92,87,8,8,0,0,0,29.08,99.37a156,156,0,0,1,197.84,0A8,8,0,0,0,237.08,87ZM205,122.77a124,124,0,0,0-153.94,0A8,8,0,0,0,61,135.31a108,108,0,0,1,134.06,0,8,8,0,0,0,11.24-1.3A8,8,0,0,0,205,122.77Zm-32.26,35.76a76.05,76.05,0,0,0-89.42,0,8,8,0,0,0,9.42,12.94,60,60,0,0,1,70.58,0,8,8,0,1,0,9.42-12.94Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M136,204a8,8,0,1,1-8-8A8,8,0,0,1,136,204ZM234.54,90.1a168,168,0,0,0-213.08,0,4,4,0,1,0,5.08,6.18,160,160,0,0,1,202.92,0,4,4,0,0,0,5.08-6.18Zm-32.06,35.81a120,120,0,0,0-149,0,4,4,0,0,0,5,6.27,112,112,0,0,1,139,0,4,4,0,0,0,5-6.27Zm-32.13,35.86a72,72,0,0,0-84.7,0,4,4,0,1,0,4.7,6.46,64.07,64.07,0,0,1,75.3,0,4,4,0,0,0,5.58-.87A4,4,0,0,0,170.35,161.77Z"}))]]),r=l.forwardRef((a,e)=>l.createElement(n.A,{ref:e,...a,weights:m}));r.displayName="WifiHighIcon";let Z=r},56743:(a,e,t)=>{t.d(e,{z:()=>Z});var l=t(80351),n=t(3674);let m=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm68-84a12,12,0,0,1-12,12H128a12,12,0,0,1-12-12V72a12,12,0,0,1,24,0v44h44A12,12,0,0,1,196,128Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm56,112H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm62-90a6,6,0,0,1-6,6H128a6,6,0,0,1-6-6V72a6,6,0,0,1,12,0v50h50A6,6,0,0,1,190,128Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm60-92a4,4,0,0,1-4,4H128a4,4,0,0,1-4-4V72a4,4,0,0,1,8,0v52h52A4,4,0,0,1,188,128Z"}))]]),r=l.forwardRef((a,e)=>l.createElement(n.A,{ref:e,...a,weights:m}));r.displayName="ClockIcon";let Z=r},60709:(a,e,t)=>{t.d(e,{A:()=>n});var l=t(80351);let n=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z",opacity:"0.2"}),l.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]])},65985:(a,e,t)=>{t.d(e,{P:()=>Z});var l=t(80351),n=t(3674);let m=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,36H40A20,20,0,0,0,20,56V200a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A20,20,0,0,0,216,36Zm-4,24V84H44V60ZM44,196V108H212v88Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,56V96H32V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z",opacity:"0.2"}),l.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V88H40V56Zm0,144H40V104H216v96Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V88H40V56Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,42H40A14,14,0,0,0,26,56V200a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42ZM40,54H216a2,2,0,0,1,2,2V90H38V56A2,2,0,0,1,40,54ZM216,202H40a2,2,0,0,1-2-2V102H218v98A2,2,0,0,1,216,202Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V88H40V56Zm0,144H40V104H216v96Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,44H40A12,12,0,0,0,28,56V200a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44ZM40,52H216a4,4,0,0,1,4,4V92H36V56A4,4,0,0,1,40,52ZM216,204H40a4,4,0,0,1-4-4V100H220V200A4,4,0,0,1,216,204Z"}))]]),r=l.forwardRef((a,e)=>l.createElement(n.A,{ref:e,...a,weights:m}));r.displayName="BrowserIcon";let Z=r},68269:(a,e,t)=>{t.d(e,{N:()=>Z});var l=t(80351),n=t(16763),m=t(60709);let r=l.forwardRef((a,e)=>l.createElement(n.A,{ref:e,...a,weights:m.A}));r.displayName="WarningIcon";let Z=r},69996:(a,e,t)=>{t.d(e,{g:()=>Z});var l=t(80351),n=t(16763),m=t(62164);let r=l.forwardRef((a,e)=>l.createElement(n.A,{ref:e,...a,weights:m.A}));r.displayName="LightbulbIcon";let Z=r},75207:(a,e,t)=>{t.d(e,{T:()=>Z});var l=t(80351),n=t(3674);let m=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M148,108a12,12,0,0,1,12-12h28a12,12,0,0,1,0,24H160A12,12,0,0,1,148,108Zm40,28H168a12,12,0,0,0,0,24h20a12,12,0,0,0,0-24Zm48-80V200a20,20,0,0,1-20,20H40a20,20,0,0,1-20-20V56A20,20,0,0,1,40,36H216A20,20,0,0,1,236,56Zm-24,4H44V196H212ZM58.28,159.37A43.82,43.82,0,0,1,71.53,142a36,36,0,1,1,56.94,0,43.84,43.84,0,0,1,13.26,17.37,12,12,0,0,1-22.15,9.26C116.48,161.19,108.42,156,100,156s-16.47,5.2-19.59,12.63a12,12,0,1,1-22.13-9.26ZM88,120a12,12,0,1,0,12-12A12,12,0,0,0,88,120Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,48H40a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H216a8,8,0,0,0,8-8V56A8,8,0,0,0,216,48ZM96,144a24,24,0,1,1,24-24A24,24,0,0,1,96,144Z",opacity:"0.2"}),l.createElement("path",{d:"M200,112a8,8,0,0,1-8,8H152a8,8,0,0,1,0-16h40A8,8,0,0,1,200,112Zm-8,24H152a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Zm40-80V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Zm-80.26-34a8,8,0,1,1-15.5,4c-2.63-10.26-13.06-18-24.25-18s-21.61,7.74-24.25,18a8,8,0,1,1-15.5-4,39.84,39.84,0,0,1,17.19-23.34,32,32,0,1,1,45.12,0A39.76,39.76,0,0,1,135.75,166ZM96,136a16,16,0,1,0-16-16A16,16,0,0,0,96,136Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M112,120a16,16,0,1,1-16-16A16,16,0,0,1,112,120ZM232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM135.75,166a39.76,39.76,0,0,0-17.19-23.34,32,32,0,1,0-45.12,0A39.84,39.84,0,0,0,56.25,166a8,8,0,0,0,15.5,4c2.64-10.25,13.06-18,24.25-18s21.62,7.73,24.25,18a8,8,0,1,0,15.5-4ZM200,144a8,8,0,0,0-8-8H152a8,8,0,0,0,0,16h40A8,8,0,0,0,200,144Zm0-32a8,8,0,0,0-8-8H152a8,8,0,0,0,0,16h40A8,8,0,0,0,200,112Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M198,112a6,6,0,0,1-6,6H152a6,6,0,0,1,0-12h40A6,6,0,0,1,198,112Zm-6,26H152a6,6,0,0,0,0,12h40a6,6,0,0,0,0-12Zm38-82V200a14,14,0,0,1-14,14H40a14,14,0,0,1-14-14V56A14,14,0,0,1,40,42H216A14,14,0,0,1,230,56Zm-12,0a2,2,0,0,0-2-2H40a2,2,0,0,0-2,2V200a2,2,0,0,0,2,2H216a2,2,0,0,0,2-2ZM133.81,166.51a6,6,0,0,1-11.62,3C119.34,158.38,108.08,150,96,150s-23.33,8.38-26.19,19.5a6,6,0,0,1-11.62-3A38,38,0,0,1,76.78,143a30,30,0,1,1,38.45,0A38,38,0,0,1,133.81,166.51ZM96,138a18,18,0,1,0-18-18A18,18,0,0,0,96,138Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M200,112a8,8,0,0,1-8,8H152a8,8,0,0,1,0-16h40A8,8,0,0,1,200,112Zm-8,24H152a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Zm40-80V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Zm-80.26-34a8,8,0,1,1-15.5,4c-2.63-10.26-13.06-18-24.25-18s-21.61,7.74-24.25,18a8,8,0,1,1-15.5-4,39.84,39.84,0,0,1,17.19-23.34,32,32,0,1,1,45.12,0A39.76,39.76,0,0,1,135.75,166ZM96,136a16,16,0,1,0-16-16A16,16,0,0,0,96,136Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M196,112a4,4,0,0,1-4,4H152a4,4,0,0,1,0-8h40A4,4,0,0,1,196,112Zm-4,28H152a4,4,0,0,0,0,8h40a4,4,0,0,0,0-8Zm36-84V200a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V56A12,12,0,0,1,40,44H216A12,12,0,0,1,228,56Zm-8,0a4,4,0,0,0-4-4H40a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H216a4,4,0,0,0,4-4ZM131.87,167a4,4,0,1,1-7.74,2C121.06,157,109,148,96,148s-25,9-28.13,21A4,4,0,0,1,64,172a3.87,3.87,0,0,1-1-.13A4,4,0,0,1,60.13,167a36.28,36.28,0,0,1,20.43-23.66,28,28,0,1,1,30.88,0A36.2,36.2,0,0,1,131.87,167ZM96,140a20,20,0,1,0-20-20A20,20,0,0,0,96,140Z"}))]]),r=l.forwardRef((a,e)=>l.createElement(n.A,{ref:e,...a,weights:m}));r.displayName="IdentificationCardIcon";let Z=r},76089:(a,e,t)=>{t.d(e,{v:()=>Z});var l=t(80351),n=t(3674);let m=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M200,28H160a20,20,0,0,0-20,20V208a20,20,0,0,0,20,20h40a20,20,0,0,0,20-20V48A20,20,0,0,0,200,28Zm-4,176H164V52h32ZM96,28H56A20,20,0,0,0,36,48V208a20,20,0,0,0,20,20H96a20,20,0,0,0,20-20V48A20,20,0,0,0,96,28ZM92,204H60V52H92Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,48V208a8,8,0,0,1-8,8H160a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8h40A8,8,0,0,1,208,48ZM96,40H56a8,8,0,0,0-8,8V208a8,8,0,0,0,8,8H96a8,8,0,0,0,8-8V48A8,8,0,0,0,96,40Z",opacity:"0.2"}),l.createElement("path",{d:"M200,32H160a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V48A16,16,0,0,0,200,32Zm0,176H160V48h40ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Zm0,176H56V48H96Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,48V208a16,16,0,0,1-16,16H160a16,16,0,0,1-16-16V48a16,16,0,0,1,16-16h40A16,16,0,0,1,216,48ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M200,34H160a14,14,0,0,0-14,14V208a14,14,0,0,0,14,14h40a14,14,0,0,0,14-14V48A14,14,0,0,0,200,34Zm2,174a2,2,0,0,1-2,2H160a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2h40a2,2,0,0,1,2,2ZM96,34H56A14,14,0,0,0,42,48V208a14,14,0,0,0,14,14H96a14,14,0,0,0,14-14V48A14,14,0,0,0,96,34Zm2,174a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2H96a2,2,0,0,1,2,2Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M200,32H160a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V48A16,16,0,0,0,200,32Zm0,176H160V48h40ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Zm0,176H56V48H96Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M200,36H160a12,12,0,0,0-12,12V208a12,12,0,0,0,12,12h40a12,12,0,0,0,12-12V48A12,12,0,0,0,200,36Zm4,172a4,4,0,0,1-4,4H160a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4h40a4,4,0,0,1,4,4ZM96,36H56A12,12,0,0,0,44,48V208a12,12,0,0,0,12,12H96a12,12,0,0,0,12-12V48A12,12,0,0,0,96,36Zm4,172a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4H96a4,4,0,0,1,4,4Z"}))]]),r=l.forwardRef((a,e)=>l.createElement(n.A,{ref:e,...a,weights:m}));r.displayName="PauseIcon";let Z=r},78608:(a,e,t)=>{t.d(e,{R:()=>Z});var l=t(80351),n=t(16763);let m=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),l.createElement("path",{d:"M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),r=l.forwardRef((a,e)=>l.createElement(n.A,{ref:e,...a,weights:m}));r.displayName="InfoIcon";let Z=r},78936:(a,e,t)=>{t.d(e,{e:()=>Z});var l=t(80351),n=t(3674);let m=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"}),l.createElement("path",{d:"M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z"}))]]),r=l.forwardRef((a,e)=>l.createElement(n.A,{ref:e,...a,weights:m}));r.displayName="MagnifyingGlassIcon";let Z=r},88172:(a,e,t)=>{t.d(e,{L:()=>Z});var l=t(80351),n=t(3674);let m=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),l.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z"}))]]),r=l.forwardRef((a,e)=>l.createElement(n.A,{ref:e,...a,weights:m}));r.displayName="EyeSlashIcon";let Z=r}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3159],{5079:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(48503),a=n(80351),i=n(63428),s=n(5829);let l=(0,a.forwardRef)(function({label:e,error:t,id:n,className:l="",containerClassName:o="",children:c,...d},u){let m=(0,a.useId)(),h=n??m,x=(0,a.useRef)(null);return(0,a.useImperativeHandle)(u,()=>x.current,[]),(0,a.useEffect)(()=>{x.current&&function(e){if(CSS.supports("appearance","base-select"))for(let t of e.querySelectorAll("optgroup")){let e=t.getAttribute("label")??"",n=t.querySelector(":scope > legend");if(!n){if(e){let n=document.createElement("legend");n.textContent=e,t.prepend(n)}continue}n.textContent!==e&&(n.textContent=e),t.firstElementChild!==n&&t.prepend(n)}}(x.current)}),(0,r.jsxs)("div",{className:o,children:[e&&(0,r.jsx)(s.A,{htmlFor:h,children:e}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("select",{id:h,ref:x,"aria-invalid":!!t||void 0,className:`peer h-8.5 w-full rounded-md border bg-hover py-1.5 pr-8 pl-3 text-body-14 leading-5! text-ink transition-colors required:invalid:text-ink-4 focus:outline-none disabled:cursor-not-allowed disabled:opacity-50 ${t?"border-err focus:border-err":"border-rule focus:border-ink-3"} ${l}`,...d,children:c}),(0,r.jsx)(i.a,{size:16,"aria-hidden":!0,className:"pointer-events-none absolute top-4.25 right-2 -translate-y-1/2 text-ink-3 peer-disabled:opacity-50"})]}),t&&(0,r.jsx)("p",{className:"mt-1 text-xs text-err",children:t})]})})},5829:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(48503);function a({children:e,className:t="",...n}){return(0,r.jsx)("label",{className:`block text-xs text-ink-3 mb-1 ${t}`,...n,children:e})}},7576:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(48503),a=n(80351);let i={ink:"accent-ink",agent:"accent-agent-vivid",skill:"accent-skill-vivid",connector:"accent-conn-vivid"};function s({label:e,tone:t="ink",id:n,className:l="",containerClassName:o="",...c}){let d=(0,a.useId)(),u=n??d,m=(0,r.jsx)("input",{id:u,type:"checkbox",className:`h-4 w-4 shrink-0 cursor-pointer rounded border-rule disabled:cursor-not-allowed disabled:opacity-50 ${i[t]} ${l}`,...c});return e?(0,r.jsxs)("label",{htmlFor:u,className:`flex cursor-pointer items-center gap-2 text-sm text-ink ${o}`,children:[m,e]}):(0,r.jsx)("div",{className:o,children:m})}},10664:(e,t,n)=>{"use strict";n.d(t,{O:()=>i});var r=n(48503),a=n(68926);function i({subtitle:e,url:t}){async function n(){try{navigator.clipboard?.writeText?await navigator.clipboard.writeText(t):s(t),a.oR.success("Copied")}catch{try{s(t),a.oR.success("Copied")}catch{a.oR.error("Could not copy")}}}function s(e){let t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.opacity="0",document.body.appendChild(t),t.select();let n=document.execCommand("copy");if(t.remove(),!n)throw Error("copy_failed")}return(0,r.jsxs)("div",{className:"flex items-center gap-3 bg-canvas/40 border border-rule-2 rounded-[9px] px-4 py-3.5 mt-2",children:[(0,r.jsxs)("span",{className:"flex-1 min-w-0",children:[(0,r.jsx)("span",{className:"block text-xs leading-[1.4] text-ink-4",children:e}),(0,r.jsx)("span",{className:"block font-mono text-legacy-14 leading-[1.4]! text-ink tracking-[0.02em] mt-1.5 break-all",children:t})]}),(0,r.jsxs)("button",{type:"button",onClick:n,className:"flex-shrink-0 flex items-center gap-1.5 px-2.5 py-1.5 border border-rule text-ink-3 rounded-[7px] text-xs font-medium hover:border-rule-2 hover:text-ink transition-colors",children:[(0,r.jsxs)("svg",{viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",className:"w-3.5 h-3.5",children:[(0,r.jsx)("rect",{x:"3",y:"3",width:"8",height:"8",rx:"1"}),(0,r.jsx)("rect",{x:"5",y:"5",width:"8",height:"8",rx:"1"})]}),"Copy"]})]})}},12871:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(48503),a=n(22208),i=n.n(a),s=n(80351);let l={ink:"bg-ink text-canvas border-0 hover:brightness-[0.92]",agent:"bg-agent-vivid text-[#1a2200] border-0 hover:brightness-[0.96]",coral:"bg-skill-vivid text-white border-0 hover:brightness-[0.94]",blue:"bg-conn-vivid text-white border-0 hover:brightness-[0.94]",neutral:"border border-rule-2 bg-paper text-ink hover:bg-hover",danger:"border border-err/30 bg-paper text-err hover:border-err hover:bg-warn-bg"},o=(0,s.forwardRef)(function(e,t){let{children:n,variant:a="ink",size:s="md",className:o=""}=e,c=`inline-flex cursor-pointer items-center justify-center gap-1.5 rounded-md leading-none! transition-[filter,background-color] disabled:pointer-events-none disabled:opacity-40 ${"md"===s?"h-[34px] px-3.5 text-medium-14":"h-[30px] px-3 text-medium-13"} ${l[a]} ${o}`;if("href"in e&&e.href){let{href:a,variant:s,size:l,className:o,children:d,...u}=e;return(0,r.jsx)(i(),{href:a,className:c,ref:t,...u,children:n})}let{variant:d,size:u,className:m,children:h,...x}=e;return(0,r.jsx)("button",{type:"button",className:c,ref:t,...x,children:n})})},15037:(e,t,n)=>{"use strict";n.d(t,{default:()=>y});var r=n(48503),a=n(80351),i=n(68926),s=n(94126),l=n(76089),o=n(24581),c=n(78750),d=n(89466),u=n(90368),m=n(2439);let h=(0,m.createServerReference)("4075bcb00ec29f6c1cb35eb88ac31275466b377ac7",m.callServer,void 0,m.findSourceMapURL,"toggleScheduleAction");var x=n(33707);let b=(0,m.createServerReference)("4018d2fde618f62364c0998c782da989eb84fdff02",m.callServer,void 0,m.findSourceMapURL,"runScheduleNowAction"),f=(0,m.createServerReference)("4023b55efbc32e5efd3d91d1473cb3058ba92397dc",m.callServer,void 0,m.findSourceMapURL,"duplicateScheduleAction");var v=n(45678),p=n(75551),g=n(12871),k=n(78045);function y({schedule:e,agents:t,layout:n="row"}){let[m,j]=(0,a.useTransition)(),[w,N]=(0,a.useState)(!1),[S,$]=(0,a.useState)(!1);function A(){j(async()=>{let t=await h(e.id);t.ok?i.oR.success(t.data.active?"Schedule enabled":"Schedule disabled"):i.oR.error(t.message)})}function C(){j(async()=>{let t=await b(e.id);t.ok?i.oR.success(`Running "${e.name}" now`):i.oR.error(t.message)})}let R=S?(0,r.jsx)(k.A,{mode:"edit",agents:t,initial:e,onDone:()=>$(!1)}):null,E=(0,r.jsx)(v.A,{open:w,title:"Delete schedule?",message:"This cron schedule will be removed. Past runs are kept for audit.",confirmLabel:"Delete",onConfirm:function(){N(!1),j(async()=>{let t=await (0,x.X)(e.id);t.ok?i.oR.success("Schedule deleted"):i.oR.error(t.message)})},onCancel:()=>N(!1)});return"page"===n?(0,r.jsxs)("div",{className:"flex items-center gap-2","data-testid":"automation-actions",children:[(0,r.jsx)(g.A,{variant:"ink",onClick:C,disabled:m||!e.task,title:e.task?void 0:"No task to run",children:"Run now"}),(0,r.jsx)(g.A,{variant:"neutral",onClick:A,disabled:m,children:e.active?"Pause":"Enable"}),(0,r.jsx)(g.A,{variant:"neutral",onClick:()=>$(!0),disabled:m,children:"Edit"}),R]}):(0,r.jsxs)("div",{className:"flex items-center gap-1.5","data-testid":"automation-actions",children:[(0,r.jsx)(p.A,{square:!0,icon:(0,r.jsx)(s.j,{size:16,weight:"fill"}),title:e.task?"Run now":"No task to run",onClick:C,disabled:m||!e.task}),(0,r.jsx)(p.A,{square:!0,icon:e.active?(0,r.jsx)(l.v,{size:16,weight:"fill"}):(0,r.jsx)(o.N,{size:16,weight:"fill"}),title:e.active?"Pause":"Enable",onClick:A,disabled:m}),(0,r.jsx)(p.A,{square:!0,icon:(0,r.jsx)(c.I,{size:16}),title:"Edit",onClick:()=>$(!0),disabled:m}),(0,r.jsx)(p.A,{square:!0,icon:(0,r.jsx)(d.Q,{size:16}),title:"Duplicate",onClick:function(){j(async()=>{let t=await f(e.id);t.ok?i.oR.success(`Duplicated "${e.name}", paused. Enable it when ready.`):i.oR.error(t.message)})},disabled:m}),(0,r.jsx)(p.A,{square:!0,icon:(0,r.jsx)(u.l,{size:16}),title:"Delete",tone:"danger",onClick:()=>N(!0),disabled:m}),E,R]})}},17660:(e,t,n)=>{"use strict";n.d(t,{E:()=>c,A:()=>d});var r=n(48503),a=n(80351),i=n(2439);let s=(0,i.createServerReference)("40191cba106816bf59808eca72e7b5996fe7c3e191",i.callServer,void 0,i.findSourceMapURL,"listAgentNotifyChannelsAction");var l=n(5079),o=n(7576);let c={telegram:"Telegram",discord:"Discord",slack:"Slack"};function d({idPrefix:e,agentId:t,agentName:n,notifyOnSuccess:i,onNotifyOnSuccessChange:u,notifyChannel:m,onNotifyChannelChange:h}){let[x,b]=(0,a.useState)(null);(0,a.useEffect)(()=>{if(!t)return;let e=!1;return s(t).then(n=>{e||b({agentId:t,options:n.ok?n.data:[]})}),()=>{e=!0}},[t]);let f=""!==t&&x?.agentId!==t,v=x?.agentId===t?x.options:[],p=i&&""!==t&&!f&&0===v.length;return(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)("label",{className:"flex items-start gap-2.5 rounded-md border border-rule bg-canvas px-3 py-2.5 text-sm",children:[(0,r.jsx)(o.A,{name:"notifyOnSuccess",checked:i,onChange:e=>u(e.target.checked),className:"mt-0.5"}),(0,r.jsxs)("span",{children:[(0,r.jsx)("span",{className:"font-medium text-ink",children:"Notify me when it succeeds"}),(0,r.jsx)("span",{className:"mt-0.5 block text-xs text-ink-3",children:"The agent sends you a short confirmation each time this automation finishes. Requires a connected channel on the agent (message it once so it knows where to reach you)."})]})]}),i&&(p?(0,r.jsxs)("p",{className:"rounded-md border border-warn/30 bg-warn-bg px-3 py-2 text-xs text-warn",children:["⚠️ ",(0,r.jsx)("span",{className:"font-medium",children:n})," has no channel connected, so it can't send you this confirmation. Connect Telegram, Discord, or Slack to this agent first."]}):(0,r.jsxs)(l.A,{id:`${e}-notify-channel`,label:"Notify via",value:m,onChange:e=>h(e.target.value),disabled:f,children:[(0,r.jsx)("option",{value:"",children:"Auto"}),v.map(e=>(0,r.jsx)("option",{value:e,children:c[e]??e},e))]}))]})}},23580:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(48503),a=n(80351),i=n(68926),s=n(76089),l=n(94126),o=n(13472),c=n(90368),d=n(2439);let u=(0,d.createServerReference)("6017e2c74b2e24b8b879351268837a414496c2e86b",d.callServer,void 0,d.findSourceMapURL,"toggleWebhookTriggerAction"),m=(0,d.createServerReference)("40894b7e161e9cfb06404f58dd279b0a9c25babf9f",d.callServer,void 0,d.findSourceMapURL,"rotateWebhookSecretAction");var h=n(87495),x=n(45678),b=n(75551),f=n(12871);function v({webhook:e,onRevealed:t,layout:n="row"}){let[d,p]=(0,a.useTransition)(),[g,k]=(0,a.useState)(!1),[y,j]=(0,a.useState)(!1);function w(){p(async()=>{let t=await u(e.id,!e.active);t.ok?i.oR.success(t.data.active?"Webhook enabled":"Webhook disabled"):i.oR.error(t.message)})}let N=(0,r.jsx)(x.A,{open:g,title:"Rotate webhook secret?",message:"A new URL is generated immediately and the current one stops working. Update the external service before it fires again.",confirmLabel:"Rotate",destructive:!1,onConfirm:function(){k(!1),p(async()=>{let n=await m(e.id);n.ok?(t(e.id,{secret:n.data.secret,path:n.data.path}),i.oR.success("Secret rotated. The old URL no longer works.")):i.oR.error(n.message)})},onCancel:()=>k(!1)});return"page"===n?(0,r.jsxs)("div",{className:"flex items-center gap-2","data-testid":"automation-actions",children:[(0,r.jsx)(f.A,{variant:"ink",onClick:w,disabled:d,children:e.active?"Pause":"Enable"}),(0,r.jsx)(f.A,{variant:"neutral",onClick:()=>k(!0),disabled:d,children:"Rotate secret"}),N]}):(0,r.jsxs)("div",{className:"flex items-center gap-1.5","data-testid":"automation-actions",children:[(0,r.jsx)(b.A,{square:!0,icon:e.active?(0,r.jsx)(s.v,{size:16,weight:"fill"}):(0,r.jsx)(l.j,{size:16,weight:"fill"}),title:e.active?"Pause":"Enable",onClick:w,disabled:d}),(0,r.jsx)(b.A,{square:!0,icon:(0,r.jsx)(o.P,{size:16}),title:"Rotate secret",onClick:()=>k(!0),disabled:d}),(0,r.jsx)(b.A,{square:!0,icon:(0,r.jsx)(c.l,{size:16}),title:"Delete",tone:"danger",onClick:()=>j(!0),disabled:d}),N,(0,r.jsx)(x.A,{open:y,title:"Delete webhook?",message:"This webhook trigger is removed. Any service still posting to its URL will get a 404.",confirmLabel:"Delete",onConfirm:function(){j(!1),p(async()=>{let t=await (0,h.t)(e.id);t.ok?i.oR.success("Webhook deleted"):i.oR.error(t.message)})},onCancel:()=>j(!1)})]})}},33707:(e,t,n)=>{"use strict";n.d(t,{X:()=>a});var r=n(2439);let a=(0,r.createServerReference)("4041e7f3a761b53a7a40351eefd967b937da88fd53",r.callServer,void 0,r.findSourceMapURL,"deleteScheduleAction")},58823:(e,t,n)=>{"use strict";function r(e){return`${window.location.protocol}//${window.location.hostname}:3001${e}`}n.d(t,{n:()=>r})},60128:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(48503),a=n(64178),i=n(68269),s=n(90566);let l={done:"Done",warn:"Attention",run:"Running",idle:"Idle","lvl-info":"INFO","lvl-ok":"OK","lvl-warn":"WARN","lvl-err":"ERR"},o={done:"bg-ok-bg text-ok",warn:"bg-warn-bg text-warn",run:"bg-run-bg text-run",idle:"bg-black/5 text-ink-3 dark:bg-white/5","lvl-info":"bg-black/5 text-ink-3 dark:bg-white/5","lvl-ok":"bg-ok-bg text-ok","lvl-warn":"bg-warn-bg text-warn","lvl-err":"bg-warn-bg text-err"};function c({variant:e,label:t,icon:n,className:d=""}){let u=t??l[e],m=null;return void 0!==n?m=n:"done"===e?m=(0,r.jsx)(a.r,{size:11,weight:"regular"}):"warn"===e?m=(0,r.jsx)(i.N,{size:11,weight:"regular"}):"run"===e&&(m=(0,r.jsx)(s.A,{variant:"blue",size:"sm"})),(0,r.jsxs)("span",{className:`inline-flex h-[22px] items-center gap-1.5 rounded-[5px] px-2.5 text-medium-12 leading-none! ${o[e]} ${d}`,children:[m,u]})}},76381:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(48503),a=n(80351),i=n(5829);let s=(0,a.forwardRef)(function({label:e,error:t,showCount:n,id:s,className:l="",containerClassName:o="",maxLength:c,value:d,bare:u=!1,...m},h){let x=(0,a.useId)(),b=s??x;return(0,r.jsxs)("div",{className:o,children:[e&&(0,r.jsx)(i.A,{htmlFor:b,children:e}),(0,r.jsx)("textarea",{id:b,ref:h,maxLength:c,value:d,"aria-invalid":!!t||void 0,className:u?`w-full text-ink placeholder:text-ink-4 transition-colors focus:outline-none disabled:cursor-not-allowed disabled:opacity-50 ${l}`:`w-full resize-y rounded-md border bg-hover px-2 py-1.5 text-body-14 leading-[1.5]! text-ink placeholder:text-ink-4 transition-colors focus:outline-none disabled:cursor-not-allowed disabled:opacity-50 ${t?"border-err focus:border-err":"border-rule focus:border-ink-3"} ${l}`,...m}),n&&void 0!==c&&"string"==typeof d&&(0,r.jsxs)("div",{className:"mt-1 text-right text-legacy-11 text-ink-4",children:[d.length," / ",c]}),t&&(0,r.jsx)("p",{className:"mt-1 text-xs text-err",children:t})]})})},78045:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(48503),a=n(80351),i=n(68926),s=n(2439);let l=(0,s.createServerReference)("4084373c85a7063cef61e643ad2205c62a89cd6851",s.callServer,void 0,s.findSourceMapURL,"updateScheduleAction"),o=(0,s.createServerReference)("4020bc49b875accc07e798d3b9fac795b92f0ef1d6",s.callServer,void 0,s.findSourceMapURL,"createScheduleAction");var c=n(91983),d=n(5079),u=n(9594);function m({active:e,onClick:t,children:n,className:a=""}){return(0,r.jsx)("button",{type:"button",onClick:t,className:`rounded border px-2.5 py-1 text-xs font-medium ${e?"border-run/30 bg-run-bg text-run":"border-rule-2 text-ink-3 hover:border-rule hover:text-ink"} ${a}`,children:n})}let h=[{n:1,label:"Mon"},{n:2,label:"Tue"},{n:3,label:"Wed"},{n:4,label:"Thu"},{n:5,label:"Fri"},{n:6,label:"Sat"},{n:0,label:"Sun"}],x=[1,5,10,15,30];function b({name:e="cronExpr",initial:t}){let n=(0,a.useMemo)(()=>t?(0,c.X3)(t):{mode:"daily",values:{mode:"daily",time:"09:00"}},[t]),[i,s]=(0,a.useState)(n.mode),[l,o]=(0,a.useState)(n.values.everyMinutes??5),[v,p]=(0,a.useState)(n.values.time??"09:00"),[g,k]=(0,a.useState)(n.values.weekdays??[1,2,3,4,5]),[y,j]=(0,a.useState)(n.values.dayOfMonth??1),[w,N]=(0,a.useState)(n.values.custom??t??"0 9 * * *"),S=(0,a.useMemo)(()=>(0,c.Ff)({mode:i,everyMinutes:l,time:v,weekdays:g,dayOfMonth:y,custom:w}),[i,l,v,g,y,w]),$=(0,a.useMemo)(()=>(0,c.E$)(S),[S]);return(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsx)("input",{type:"hidden",name:e,value:S}),(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"cron-mode",className:"block text-xs text-ink-3 mb-1",children:"Frequency"}),(0,r.jsxs)(d.A,{id:"cron-mode",value:i,onChange:e=>s(e.target.value),className:"bg-hover",children:[(0,r.jsx)("option",{value:"minutes",children:"Every N minutes"}),(0,r.jsx)("option",{value:"hourly",children:"Hourly"}),(0,r.jsx)("option",{value:"daily",children:"Daily"}),(0,r.jsx)("option",{value:"weekly",children:"Weekly"}),(0,r.jsx)("option",{value:"monthly",children:"Monthly"}),(0,r.jsx)("option",{value:"custom",children:"Custom (cron)"})]})]}),"minutes"===i&&(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"cron-every",className:"block text-xs text-ink-3 mb-1",children:"Every"}),(0,r.jsx)(d.A,{id:"cron-every",value:l,onChange:e=>o(parseInt(e.target.value,10)),className:"bg-hover",children:x.map(e=>(0,r.jsxs)("option",{value:e,children:[e," ",1===e?"minute":"minutes"]},e))})]}),"hourly"===i&&(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"cron-min-of-hour",className:"block text-xs text-ink-3 mb-1",children:"At minute"}),(0,r.jsx)(u.A,{id:"cron-min-of-hour",type:"number",min:0,max:59,value:parseInt(v.split(":")[1]??"0",10),onChange:e=>{let t=Math.max(0,Math.min(59,parseInt(e.target.value||"0",10)));p(`00:${String(t).padStart(2,"0")}`)},className:"bg-hover"})]}),("daily"===i||"weekly"===i||"monthly"===i)&&(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"cron-time",className:"block text-xs text-ink-3 mb-1",children:"Time"}),(0,r.jsx)(u.A,{id:"cron-time",type:"time",value:v,onChange:e=>p(e.target.value),className:"bg-hover"})]})]}),"weekly"===i&&(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"block text-xs text-ink-3 mb-1",children:"Days"}),(0,r.jsx)("div",{className:"flex flex-wrap gap-1.5",children:h.map(e=>(0,r.jsx)(m,{active:g.includes(e.n),onClick:()=>{var t;return t=e.n,void k(e=>e.includes(t)?e.filter(e=>e!==t):[...e,t].sort())},children:e.label},e.n))})]}),"monthly"===i&&(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"cron-dom",className:"block text-xs text-ink-3 mb-1",children:"Day of month"}),(0,r.jsx)(u.A,{id:"cron-dom",type:"number",min:1,max:31,value:y,onChange:e=>j(Math.max(1,Math.min(31,parseInt(e.target.value||"1",10)))),className:"w-32 bg-hover"})]}),"custom"===i&&(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"cron-custom",className:"block text-xs text-ink-3 mb-1",children:"Cron expression"}),(0,r.jsx)(u.A,{id:"cron-custom",type:"text",value:w,onChange:e=>N(e.target.value),placeholder:"0 9 * * *",className:"bg-hover font-mono"}),(0,r.jsx)("p",{className:"text-legacy-11 text-ink-4 mt-1",children:"Format: minute hour day-of-month month day-of-week"})]}),(0,r.jsx)(f,{expr:S,preview:$})]})}function f({expr:e,preview:t}){return t.ok?(0,r.jsxs)("div",{className:"bg-canvas border border-rule-2 rounded-md px-3 py-2 space-y-1",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 text-xs",children:[(0,r.jsx)("span",{className:"text-ink-3",children:"Schedule:"}),(0,r.jsx)("span",{className:"text-ink",children:t.humanLabel}),(0,r.jsx)("code",{className:"ml-auto text-mono-11 text-run",children:e})]}),(0,r.jsxs)("div",{className:"text-legacy-11 text-ink-4",suppressHydrationWarning:!0,children:["Next runs: ",t.nextRuns.map(e=>e.toLocaleString([],{month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})).join(" \xb7 ")]})]}):(0,r.jsxs)("div",{className:"bg-warn-bg border border-err/30 rounded-md px-3 py-2 text-xs text-err",children:[(0,r.jsx)("span",{className:"font-semibold",children:"Invalid:"})," ",t.error]})}var v=n(12871),p=n(76381),g=n(45070),k=n(17660);function y(e){let t="edit"===e.mode,n=!t&&void 0!==e.open,[s,c]=(0,a.useState)(t),m=n?e.open??!1:s,h=t=>{n?e.onOpenChange?.(t):c(t)},x=()=>{t?e.onDone?.():h(!1)},[f,y]=(0,a.useTransition)(),[j,w]=(0,a.useState)(t?e.initial.agentId:""),[N,S]=(0,a.useState)(!!t&&!0===e.initial.notifyOnSuccess),[$,A]=(0,a.useState)(t?e.initial.notifyChannel??"":"");if(!t&&!m)return n?null:(0,r.jsx)(v.A,{variant:"ink",onClick:()=>h(!0),disabled:0===e.agents.length,title:0===e.agents.length?"Create an agent first":"",children:"+ New schedule"});let C=t?e.initial.name:"",R=t?e.initial.task??"":"",E=t?e.initial.cronExpr:"0 9 * * *",M=t?e.initial.dailyBudgetUsd:5,D=e.agents.find(e=>e.id===j);return(0,r.jsx)(g.A,{open:!0,onClose:x,dismissable:!1,className:"max-w-xl",title:t?"Edit schedule":"New schedule",footer:(0,r.jsxs)(g.j,{children:[(0,r.jsx)(v.A,{variant:"neutral",onClick:x,children:"Cancel"}),(0,r.jsx)(v.A,{variant:"ink",type:"submit",form:"schedule-form",disabled:f,children:f?t?"Saving…":"Creating…":t?"Save changes":"Create schedule"})]}),children:(0,r.jsxs)("form",{id:"schedule-form",onSubmit:function(n){n.preventDefault();let r=n.currentTarget,a=new FormData(r);y(async()=>{let n=Number(a.get("dailyBudgetUsd"));if(t){let t=await l({id:e.initial.id,agentId:j,name:a.get("name"),cronExpr:a.get("cronExpr"),task:a.get("task"),notifyOnSuccess:N,notifyChannel:$||null,dailyBudgetUsd:n});t.ok?(i.oR.success("Schedule updated"),e.onDone?.()):i.oR.error(t.message)}else{let t=await o({agentId:j,name:a.get("name"),cronExpr:a.get("cronExpr"),task:a.get("task"),notifyOnSuccess:N,notifyChannel:$||null,dailyBudgetUsd:n});t.ok?(i.oR.success("Schedule created"),r.reset(),w(""),S(!1),A(""),h(!1),e.onDone?.()):i.oR.error(t.message)}})},className:"space-y-3",children:[(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,r.jsxs)(d.A,{id:"schedule-agent",label:"Agent",name:"agentId",required:!0,value:j,onChange:e=>w(e.target.value),children:[(0,r.jsx)("option",{value:"",children:"Select…"}),e.agents.map(e=>(0,r.jsx)("option",{value:e.id,children:e.name},e.id))]}),(0,r.jsx)(u.A,{id:"schedule-name",label:"Name",name:"name",required:!0,defaultValue:C,placeholder:"Daily standup"})]}),(0,r.jsx)(b,{name:"cronExpr",initial:E}),(0,r.jsx)(p.A,{id:"schedule-task",label:"Task instructions",name:"task",required:!0,rows:4,defaultValue:R,placeholder:"What should the agent do each time this fires?"}),(0,r.jsx)(k.A,{idPrefix:"schedule",agentId:j,agentName:D?.name,notifyOnSuccess:N,onNotifyOnSuccessChange:S,notifyChannel:$,onNotifyChannelChange:A}),(0,r.jsxs)("div",{children:[(0,r.jsx)(u.A,{id:"schedule-daily-budget",label:"Daily budget ($)",name:"dailyBudgetUsd",type:"number",required:!0,min:.5,max:100,step:.5,defaultValue:M,className:"w-32"}),(0,r.jsx)("p",{className:"mt-1 text-xs text-ink-3",children:"Runs pause automatically once this schedule spends this much in a day, resuming the next."})]})]})})}},81444:()=>{},87495:(e,t,n)=>{"use strict";n.d(t,{t:()=>a});var r=n(2439);let a=(0,r.createServerReference)("401516080e15c97e5ccf176c6263866bf15679a025",r.callServer,void 0,r.findSourceMapURL,"deleteWebhookTriggerAction")},90566:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(48503);let a={ok:"bg-ok",lime:"bg-agent-vivid",coral:"bg-skill-vivid",blue:"bg-conn-vivid",warn:"bg-warn"},i={ok:"animate-[blip_1.4s_ease-out_infinite]",lime:"animate-[blip-lime_1.5s_ease-out_infinite]",coral:"animate-[blip-coral_1.4s_ease-out_infinite]",blue:"animate-[blip-blue_1.4s_ease-out_infinite]",warn:"animate-[blip-coral_1.4s_ease-out_infinite]"};function s({variant:e="ok",size:t="sm",animate:n=!0,className:l=""}){return(0,r.jsx)("span",{className:`inline-block shrink-0 rounded-full ${"sm"===t?"h-[7px] w-[7px]":"h-2 w-2"} ${a[e]} ${n?i[e]:""} ${l}`})}},91983:(e,t,n)=>{"use strict";n.d(t,{E$:()=>a,Ff:()=>o,X3:()=>c,_6:()=>s});var r=n(63868);function a(e,t=new Date){if(!e||"string"!=typeof e)return{ok:!1,error:"Empty expression"};try{let n=r.CronExpressionParser.parse(e.trim(),{currentDate:t}),a=[];for(let e=0;e<3;e++)a.push(n.next().toDate());return{ok:!0,nextRuns:a,humanLabel:s(e)}}catch(e){return{ok:!1,error:e instanceof Error?e.message:"Invalid cron expression"}}}let i=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];function s(e){let t=e.trim().split(/\s+/);if(5!==t.length)return e;let[n,r,a,s,o]=t;if("*"===n&&"*"===r&&"*"===a&&"*"===s&&"*"===o)return"Every minute";let c=n?.match(/^\*\/(\d+)$/);if(c&&"*"===r&&"*"===a&&"*"===s&&"*"===o)return`Every ${c[1]} minutes`;if("*"===r&&"*"===a&&"*"===s&&"*"===o&&/^\d+$/.test(n??""))return"0"===n?"Every hour (top of hour)":`Every hour at :${(n??"").padStart(2,"0")}`;if("*"===a&&"*"===s&&"*"===o&&/^\d+$/.test(n??"")&&/^\d+$/.test(r??""))return`Every day at ${l(r)}:${l(n)}`;if("*"===a&&"*"===s&&/^\d+$/.test(n??"")&&/^\d+$/.test(r??"")){let e=function(e){if("*"===e)return"day";if("1-5"===e)return"weekday";if("0,6"===e||"6,0"===e)return"weekend";if(/^\d$/.test(e)){let t=parseInt(e,10);if(t>=0&&t<=6)return i[t]??null}return/^[0-6](,[0-6])+$/.test(e)?e.split(",").map(e=>i[parseInt(e,10)]).filter(Boolean).join(", "):null}(o??"");if(e)return`Every ${e} at ${l(r)}:${l(n)}`}return"*"===s&&"*"===o&&/^\d+$/.test(n??"")&&/^\d+$/.test(r??"")&&/^\d+$/.test(a??"")?`Day ${a} of every month at ${l(r)}:${l(n)}`:e}function l(e){return(e??"").padStart(2,"0")}function o(e){let t=function(e){if(!e)return{hour:9,minute:0};let t=e.match(/^(\d{1,2}):(\d{2})$/);return t?{hour:Math.max(0,Math.min(23,parseInt(t[1]??"0",10))),minute:Math.max(0,Math.min(59,parseInt(t[2]??"0",10)))}:{hour:9,minute:0}}(e.time);switch(e.mode){case"minutes":{let t=e.everyMinutes&&e.everyMinutes>0?e.everyMinutes:5;return`*/${t} * * * *`}case"hourly":return`${t.minute} * * * *`;case"daily":return`${t.minute} ${t.hour} * * *`;case"weekly":{let n=e.weekdays&&e.weekdays.length>0?e.weekdays.slice().sort().join(","):"1";return`${t.minute} ${t.hour} * * ${n}`}case"monthly":{let n=e.dayOfMonth&&e.dayOfMonth>0?e.dayOfMonth:1;return`${t.minute} ${t.hour} ${n} * *`}case"custom":return(e.custom??"").trim()}}function c(e){let t=e.trim().split(/\s+/);if(5!==t.length)return{mode:"custom",values:{mode:"custom",custom:e}};let[n,r,a,i,s]=t,o=n?.match(/^\*\/(\d+)$/);if(o&&"*"===r&&"*"===a&&"*"===i&&"*"===s)return{mode:"minutes",values:{mode:"minutes",everyMinutes:parseInt(o[1]??"5",10)}};if("*"===r&&"*"===a&&"*"===i&&"*"===s&&/^\d+$/.test(n??""))return{mode:"hourly",values:{mode:"hourly",time:`00:${l(n)}`}};if("*"===a&&"*"===i&&"*"===s&&/^\d+$/.test(n??"")&&/^\d+$/.test(r??""))return{mode:"daily",values:{mode:"daily",time:`${l(r)}:${l(n)}`}};if("*"===a&&"*"===i&&/^\d+$/.test(n??"")&&/^\d+$/.test(r??"")){let e=function(e){if("*"===e)return[0,1,2,3,4,5,6];if("1-5"===e)return[1,2,3,4,5];if("0,6"===e||"6,0"===e)return[0,6];if(/^\d$/.test(e)){let t=parseInt(e,10);if(t>=0&&t<=6)return[t]}return/^[0-6](,[0-6])+$/.test(e)?e.split(",").map(e=>parseInt(e,10)):null}(s??"");if(e)return{mode:"weekly",values:{mode:"weekly",time:`${l(r)}:${l(n)}`,weekdays:e}}}return"*"===i&&"*"===s&&/^\d+$/.test(n??"")&&/^\d+$/.test(r??"")&&/^\d+$/.test(a??"")?{mode:"monthly",values:{mode:"monthly",time:`${l(r)}:${l(n)}`,dayOfMonth:parseInt(a??"1",10)}}:{mode:"custom",values:{mode:"custom",custom:e}}}},96333:()=>{}}]);
@@ -1,3 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3775],{3775:(e,t,n)=>{n.d(t,{default:()=>I});var l=n(48503),r=n(80351),a=n(73573),o=n(68926),i=n(12871),s=n(76381),d=n(86045),u=n(41716);function c({name:e,label:t,tone:n="text-ink",open:a,title:o,disabled:i=!1,rows:s,value:d,onToggle:m,onPick:p,onClose:x}){let h=(0,r.useRef)(null),g=()=>h.current?.focus();return(0,l.jsxs)("span",{className:"relative flex min-w-0 items-center",children:[(0,l.jsxs)("button",{ref:h,type:"button","aria-haspopup":"listbox","aria-expanded":a,title:o,"data-testid":`inline-select-${e}`,disabled:i,onClick:m,className:`flex min-w-0 cursor-pointer items-center gap-1 text-mono-12 ${n} disabled:cursor-not-allowed disabled:opacity-50`,children:[(0,l.jsx)("span",{className:"truncate",children:t}),(0,l.jsx)(u.a,{size:12,"aria-hidden":!0,className:"shrink-0 text-ink-4"})]}),a&&(0,l.jsx)(f,{name:e,rows:s,value:d,onPick:e=>{p(e),g()},onClose:()=>{x(),g()}})]})}function f({name:e,rows:t,value:n,onPick:a,onClose:o}){let i=t.filter(e=>"option"===e.kind),s=i.findIndex(e=>e.value===n),[d,u]=(0,r.useState)(s>=0?s:0),c=(0,r.useRef)(null);function m(e){0===i.length||i.every(e=>e.disabled)||u(t=>{let n=t;do n=(n+e+i.length)%i.length;while(i[n]?.disabled);return n})}function p(e){e.disabled||a(e.value)}return(0,r.useEffect)(()=>{c.current?.focus()},[]),(0,l.jsx)("div",{ref:c,role:"listbox",tabIndex:-1,"aria-label":e,"data-testid":`inline-select-${e}-list`,onKeyDown:e=>{if("ArrowDown"===e.key)e.preventDefault(),m(1);else if("ArrowUp"===e.key)e.preventDefault(),m(-1);else if("Enter"===e.key){e.preventDefault();let t=i[d];t&&p(t)}else"Escape"===e.key&&(e.preventDefault(),o())},className:"absolute bottom-full left-0 z-20 mb-1.5 max-h-[300px] min-w-[180px] overflow-y-auto rounded-xl border border-rule-2 bg-paper p-1 shadow focus:outline-none",children:t.map((e,t)=>"heading"===e.kind?(0,l.jsx)("p",{className:"px-2 pt-2 pb-1 text-mono-12 text-ink-4",children:e.label},`h-${t}`):(0,l.jsxs)("button",{type:"button",role:"option","aria-selected":e.value===n,"aria-disabled":!0===e.disabled||void 0,disabled:!0===e.disabled,title:e.hint,"data-value":e.value,onClick:()=>p(e),onMouseEnter:()=>{e.disabled||u(i.indexOf(e))},className:`flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-left text-mono-12 disabled:cursor-not-allowed disabled:opacity-40 ${i[d]===e?"bg-hover":""} ${e.value===n?"text-ink":"text-ink-2"}`,children:[(0,l.jsx)("span",{"aria-hidden":"true",className:"w-2 shrink-0 text-ink-3",children:e.value===n?"•":""}),(0,l.jsx)("span",{className:"min-w-0 flex-1 truncate",children:e.label})]},`o-${e.value}`))})}var m=n(12014),p=n(2439);let x=(0,p.createServerReference)("40619e433150807318b315e536c41ba4601b7fb4c4",p.callServer,void 0,p.findSourceMapURL,"setAgentModelAndEffortAction");var h=n(63133);function g({agentId:e,llmKeyId:t,model:n,reasoningEffort:a,llmKeys:i,requireTools:s}){let[u,f]=(0,r.useState)({llmKeyId:t,model:n,effort:a??""}),[p,b]=(0,r.useState)(null),[y,w]=(0,r.useTransition)(),[k,j]=(0,r.useState)({}),N=(0,r.useRef)(null);if((0,r.useEffect)(()=>{let e=u.llmKeyId;if(null===e||void 0!==k[e])return;let t=!0;return(0,m.W)(e).then(n=>{t&&j(t=>({...t,[e]:n.ok?n.data:[]}))}),()=>{t=!1}},[u.llmKeyId,k]),(0,d.Z4)(null!==p,()=>b(null)),(0,r.useEffect)(()=>{if(null!==p)return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)};function e(e){N.current&&!N.current.contains(e.target)&&b(null)}},[p]),0===i.length||null===u.llmKeyId)return null;let I=u.llmKeyId,R=i.find(e=>e.id===I)??null,E=R?.provider??"",S=(0,h.jd)(E,k[I]??[]),A=(0,h.oF)(E,u.model);function M(t){b(null),(t.llmKeyId!==u.llmKeyId||t.model!==u.model||t.effort!==u.effort)&&w(async()=>{let n=await x({agentId:e,llmKeyId:t.llmKeyId,model:t.model,reasoningEffort:""===t.effort?null:t.effort});n.ok?f(t):o.oR.error(n.message)})}function C(e,t){return""===u.effort?"":(0,h.oF)(e,t).includes(u.effort)?u.effort:""}let $=i.map(e=>({kind:"option",value:e.id,label:(0,h.ZR)(e)})),T=[];for(let e of(""===u.model||(0,h.Fq)(S,u.model)||T.push({kind:"option",value:u.model,label:u.model}),S))for(let t of(null!==e.group&&T.push({kind:"heading",label:e.group}),e.models)){let e=(0,h.dl)(t,s);T.push(null===e?{kind:"option",value:t.modelId,label:t.label}:{kind:"option",value:t.modelId,label:t.label,disabled:!0,hint:e})}let L=[{kind:"option",value:"",label:"auto"},...A.map(e=>({kind:"option",value:e,label:(h.Ti[e]??e).toLowerCase()}))];return(0,l.jsxs)("div",{ref:N,title:"Sets the agent's setting for every channel",className:"flex h-[30px] items-center gap-1.5 rounded-md border border-rule-2 py-1.5 pr-2 pl-2.5",children:[(0,l.jsx)(c,{name:"provider",label:null===R?"—":(0,h.ZR)(R),tone:"text-feed-metric",open:"provider"===p,disabled:y,rows:$,value:I,onToggle:()=>b("provider"===p?null:"provider"),onPick:function(e){let t=i.find(t=>t.id===e)?.provider??"",n=(0,h.bG)(t);M({llmKeyId:e,model:n,effort:C(t,n)})},onClose:()=>b(null)}),(0,l.jsx)(v,{}),(0,l.jsx)(c,{name:"model",label:""===u.model?"—":u.model,tone:"text-feed-model",open:"model"===p,disabled:y,rows:T,value:u.model,onToggle:()=>b("model"===p?null:"model"),onPick:e=>M({llmKeyId:I,model:e,effort:C(E,e)}),onClose:()=>b(null)}),(0,l.jsx)(v,{}),(0,l.jsx)(c,{name:"effort",label:`effort ${""===u.effort?"auto":(h.Ti[u.effort]??u.effort).toLowerCase()}`,tone:"text-feed-metric",open:"effort"===p,title:0===A.length?"This model offers no reasoning setting":void 0,disabled:y||0===A.length,rows:L,value:u.effort,onToggle:()=>b("effort"===p?null:"effort"),onPick:e=>M({llmKeyId:I,model:u.model,effort:e}),onClose:()=>b(null)})]})}function v(){return(0,l.jsx)("span",{"aria-hidden":"true",className:"text-mono-12 text-ink-4",children:"\xb7"})}var b=n(40284),y=n(36787);async function*w(e){let t=e.getReader(),n=new TextDecoder,l="";try{for(;;){let{done:e,value:r}=await t.read();if(e)break;let a=(l+=n.decode(r,{stream:!0})).search(/\r?\n\r?\n/);for(;-1!==a;){let e=l.slice(0,a);l=l.slice(a+(/\r\n\r\n/.test(l.slice(a,a+4))?4:2));let t=function(e){let t="message",n=[];for(let l of e.split(/\r?\n/))l.startsWith("event:")?t=l.slice(6).trim():l.startsWith("data:")&&n.push(l.slice(5).replace(/^ /,""));return 0===n.length?null:{event:t,data:n.join("\n")}}(e);t&&(yield t),a=l.search(/\r?\n\r?\n/)}}}finally{t.releaseLock()}}async function k(e){let t;try{t=await (0,y.W)({conversationId:e.conversationId,message:e.message})}catch(e){return{ok:!1,message:e instanceof Error?e.message:"Could not send the message"}}return t.ok?{ok:!0,reply:t.data?.reply??"",streamed:!1}:{ok:!1,message:t.message}}async function j(e){let t;try{t=await fetch("/api/chat/stream",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({conversationId:e.conversationId,message:e.message})})}catch{return k(e)}if(!t.ok||null===t.body)return k(e);let n="";try{for await(let r of w(t.body)){if("delta"===r.event){let t=JSON.parse(r.data).text;if("string"!=typeof t)continue;n+=t,e.onText(n);continue}if("done"===r.event){let t=JSON.parse(r.data),n="string"==typeof t.reply?t.reply:"";return e.onText(n),{ok:!0,reply:n,streamed:!0===t.streamed}}if("error"===r.event){var l;let e=JSON.parse(r.data).error;return{ok:!1,message:(l="string"==typeof e?e:"","agent_no_llm_configured"===l?"This agent has no model configured":"agent_inactive"===l?"This conversation’s agent is disabled.":"conversation_not_found"===l?"Conversation not found":"The agent did not reply")}}}}catch{}return{ok:!1,message:"The reply was interrupted"}}function N(e){e.style.height="auto";let t=Math.max(e.scrollHeight,40);e.style.height=`${Math.min(t,200)}px`}function I({conversationId:e,agentName:t,placeholder:n,onBeforeSend:d,onSent:u,onSendFailed:c,agentId:f,llmKeyId:m,model:p,reasoningEffort:x,llmKeys:h,requireTools:v=!1}){let y=(0,a.useRouter)(),[w,k]=(0,r.useState)(""),R=(0,r.useRef)(null),E=(0,r.useRef)(null),S=(0,r.useRef)(Promise.resolve()),A=""!==w.trim(),M=(0,b.i)();function C(){let t=w.trim();if(""===t)return;let n=M.begin(t);k(""),R.current&&(R.current.value="",N(R.current)),S.current=S.current.then(async()=>{let l=()=>{M.end(n),k(e=>""===e.trim()?t:`${t}
2
-
3
- ${e}`)},r=e;if(d)try{E.current??=d(),r=await E.current}catch(e){E.current=null,o.oR.error(e instanceof Error?e.message:"Could not open the conversation"),l();return}if(""===r){o.oR.error("No conversation to write to"),l();return}let a=await j({conversationId:r,message:t,onText:e=>M.stream(n,e)});if(!a.ok){o.oR.error(a.message),d&&c&&(E.current=null,c(r)),l();return}M.settle(n),u?u(r):y.refresh(),await Promise.race([M.rendered(n),new Promise(e=>setTimeout(e,15e3))])})}return(0,l.jsxs)("div",{className:"mx-auto flex w-full max-w-[760px] flex-col gap-2 rounded-xl border border-rule bg-feed-composer px-4 pt-3 pb-2.5",children:[(0,l.jsx)(s.A,{ref:R,bare:!0,rows:2,value:w,onChange:e=>{k(e.target.value),N(e.target)},onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),C())},placeholder:void 0!==n?n:null!=t&&""!==t?`Reply to ${t}…`:"Reply…",containerClassName:"min-w-0",className:"block max-h-[200px] min-h-[40px] w-full resize-none overflow-y-auto bg-transparent px-0 py-0 text-body-14 placeholder:text-ink-2/70"}),(0,l.jsxs)("div",{className:"flex items-center justify-end gap-2",children:[null!=f&&""!==f&&(0,l.jsx)(g,{agentId:f,llmKeyId:m??null,model:p??"",reasoningEffort:x??null,llmKeys:h??[],requireTools:v},`${m??""}:${p??""}:${x??""}`),(0,l.jsx)(i.A,{variant:A?"ink":"neutral",size:"sm",onClick:C,disabled:!A,children:"Send"})]})]})}},10975:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var l={default:function(){return u},getImageProps:function(){return d}};for(var r in l)Object.defineProperty(t,r,{enumerable:!0,get:l[r]});let a=n(57546),o=n(30065),i=n(76937),s=a._(n(5491));function d(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let u=i.Image},12014:(e,t,n)=>{n.d(t,{W:()=>r});var l=n(2439);let r=(0,l.createServerReference)("40640738f34c850782d52fe4f29414a0359c4233c7",l.callServer,void 0,l.findSourceMapURL,"listKeyModelsAction")},19176:(e,t,n)=>{n.d(t,{default:()=>r.a});var l=n(10975),r=n.n(l)},25297:(e,t,n)=>{n.d(t,{A:()=>o});var l=n(48503),r=n(19176);let a={sm:{box:"h-6 w-6",text:"text-label-11",px:24},md:{box:"h-[30px] w-[30px]",text:"text-label-11",px:30},lg:{box:"h-[42px] w-[42px]",text:"text-title-15",px:42}};function o({name:e,imageUrl:t,size:n="md",shape:i="round",className:s=""}){let d=a[n],u=`inline-flex shrink-0 items-center justify-center overflow-hidden bg-hover font-mono font-semibold tracking-[0.04em] text-ink-2 ${d.box} ${d.text} ${"round"===i?"rounded-full":"rounded-[8px]"} ${s}`;return t?(0,l.jsx)("span",{className:u,children:(0,l.jsx)(r.default,{src:t,alt:e,width:d.px,height:d.px,className:"h-full w-full object-cover"})}):(0,l.jsx)("span",{className:u,children:function(e){let t=e.trim();if(!t)return"?";let n=t.split(/\s+/);return n.length>=2?((n[0][0]??"")+(n[1][0]??"")).toUpperCase():t.slice(0,2).toUpperCase()}(e)})}},36787:(e,t,n)=>{n.d(t,{W:()=>r});var l=n(2439);let r=(0,l.createServerReference)("40576a704c98d70ee1e8110597706abe859d7addc6",l.callServer,void 0,l.findSourceMapURL,"sendChatMessageAction")},40284:(e,t,n)=>{n.d(t,{PendingTurnProvider:()=>c,default:()=>p,i:()=>f});var l=n(48503),r=n(80351),a=n(25297),o=n(45413),i=n(65768),s=n(1678);let d=(0,r.createContext)({pending:[],inFlight:!1,awaitingReply:!1,streamingReply:"",begin:()=>0,stream:()=>{},settle:()=>{},end:()=>{},rendered:()=>Promise.resolve()});function u(e,t){let n=0;for(let l of e)l===t&&n++;return n}function c({requests:e,awaitingReply:t,children:n}){let[a,o]=(0,r.useState)([]),i=(0,r.useRef)(0),s=a.filter(t=>u(e,t.text)<=t.baseline),f=e=>{let t=a.find(t=>t.id===e);return void 0===t||t.settled&&!s.includes(t)},m=(0,r.useRef)(new Map);(0,r.useEffect)(()=>{for(let[e,t]of m.current)f(e)&&(m.current.delete(e),t())});let p={pending:s,inFlight:a.some(e=>!e.settled),awaitingReply:t,streamingReply:a.find(e=>!e.settled)?.reply??"",begin:t=>{let n=++i.current,l=u(e,t)+u(s.map(e=>e.text),t);return o(r=>[...r.filter(t=>!t.settled||u(e,t.text)<=t.baseline),{id:n,text:t,baseline:l,settled:!1,reply:""}]),n},stream:(e,t)=>o(n=>n.map(n=>n.id===e?{...n,reply:t}:n)),settle:e=>o(t=>t.map(t=>t.id===e?{...t,settled:!0}:t)),end:e=>o(t=>t.filter(t=>t.id!==e)),rendered:e=>new Promise(t=>{m.current.set(e,t)})};return(0,l.jsx)(d.Provider,{value:p,children:n})}function f(){return(0,r.useContext)(d)}function m({agentName:e,agentAvatarUrl:t,reply:n=""}){return(0,l.jsxs)("div",{className:"min-w-0 pt-6","data-testid":"pending-thinking",children:[(0,l.jsxs)("div",{className:"mb-1.5 flex items-center gap-2.5",children:[(0,l.jsx)(a.A,{name:e,imageUrl:t,size:"sm",shape:"square"}),(0,l.jsx)("span",{className:"text-title-15 text-ink",children:e})]}),""===n?(0,l.jsxs)("div",{className:"flex items-center gap-2 text-mono-11 text-feed-reasoning",children:[(0,l.jsxs)("span",{className:"flex items-center gap-1","aria-hidden":"true",children:[(0,l.jsx)("span",{className:"h-1.5 w-1.5 animate-bounce rounded-full bg-feed-reasoning"}),(0,l.jsx)("span",{className:"h-1.5 w-1.5 animate-bounce rounded-full bg-feed-reasoning [animation-delay:150ms]"}),(0,l.jsx)("span",{className:"h-1.5 w-1.5 animate-bounce rounded-full bg-feed-reasoning [animation-delay:300ms]"})]}),(0,l.jsx)("span",{children:"thinking"})]}):(0,l.jsx)("div",{"data-testid":"pending-reply",children:(0,l.jsx)(o.Ay,{text:n})})]})}function p({agentName:e,agentAvatarUrl:t=null}){let{pending:n,inFlight:r,awaitingReply:a,streamingReply:d}=f(),u=a&&r;return 0!==n.length||u?(0,l.jsxs)("div",{className:"mx-auto max-w-[760px]","data-testid":"pending-turn","aria-live":"polite",children:[u&&(0,l.jsx)(m,{agentName:e,agentAvatarUrl:t,reply:d}),n.map((n,r)=>(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"flex justify-end pt-6","data-testid":"pending-message",children:(0,l.jsxs)("div",{className:"max-w-[80%] min-w-0",children:[(0,l.jsx)("p",{className:"mb-1.5 text-right text-mono-11 text-ink-4",children:(0,s.fG)({channel:"dashboard",scheduleName:null,chatId:null})}),(0,l.jsx)("div",{className:"rounded-xl bg-hover px-4 py-3","data-testid":"pending-text",children:(0,l.jsx)(i.default,{plain:n.text,children:(0,l.jsx)(o.Ay,{text:n.text,tone:"user"})})})]})}),!u&&0===r&&(0,l.jsx)(m,{agentName:e,agentAvatarUrl:t,reply:n.reply})]},n.id))]}):null}},41716:(e,t,n)=>{n.d(t,{a:()=>i});var l=n(80351),r=n(3674),a=n(91692);let o=l.forwardRef((e,t)=>l.createElement(r.A,{ref:t,...e,weights:a.A}));o.displayName="CaretDownIcon";let i=o},63133:(e,t,n)=>{n.d(t,{$8:()=>c,Fq:()=>d,Ti:()=>i,ZR:()=>f,bG:()=>u,dl:()=>m,jd:()=>s,oF:()=>o});var l=n(81528),r=n(64119);let a=["low","medium","high","max"];function o(e,t){let n=(0,l.mVm)(e,t)?.capabilities.reasoningControl;if(!n)return[];let r="onoff"===n.kind?[]:"budget"===n.kind?a.filter(e=>n.budgets?.[e]):n.levels??[];return n.mandatory?[...r]:[...r,"off"]}let i={off:"Off",low:"Low",medium:"Medium",high:"High",max:"Max"};function s(e,t){let n=l.SVi[e]??[],r=(0,l.eSe)(n).map(({group:e,models:t})=>({group:e,models:t.map(e=>({modelId:e.modelId,label:(0,l.HgT)(e),entry:e}))})),a=new Set(n.map(e=>e.modelId)),o=t.filter(e=>!a.has(e));return o.length>0&&r.push({group:"Live from provider",models:o.map(e=>({modelId:e,label:e}))}),r}function d(e,t){return e.some(e=>e.models.some(e=>e.modelId===t))}function u(e){return l.SVi[e]?.[0]?.modelId??""}function c(e){let t=(0,r.R)(e.provider);return`${e.nickname??t} (${t})`}function f(e){let t=e.nickname?.trim();return void 0!==t&&""!==t?t:(0,r.R)(e.provider)}function m(e,t){return!t||void 0===e.entry||e.entry.capabilities.tools?null:"Can't use tools (required for a router/planner)"}},64119:(e,t,n)=>{n.d(t,{R:()=>l});function l(e){switch(e){case"openai-compatible":return"Local LLM";case"anthropic":return"Anthropic";case"openai":return"OpenAI";case"ollama":return"Ollama";case"openrouter":return"OpenRouter";case"google":return"Google";case"mistral":return"Mistral";case"groq":return"Groq";case"deepseek":return"DeepSeek";case"minimax":return"MiniMax";case"moonshot":return"Moonshot (Kimi)";default:return e}}},76381:(e,t,n)=>{n.d(t,{A:()=>o});var l=n(48503),r=n(80351),a=n(5829);let o=(0,r.forwardRef)(function({label:e,error:t,showCount:n,id:o,className:i="",containerClassName:s="",maxLength:d,value:u,bare:c=!1,...f},m){let p=(0,r.useId)(),x=o??p;return(0,l.jsxs)("div",{className:s,children:[e&&(0,l.jsx)(a.A,{htmlFor:x,children:e}),(0,l.jsx)("textarea",{id:x,ref:m,maxLength:d,value:u,"aria-invalid":!!t||void 0,className:c?`w-full text-ink placeholder:text-ink-4 transition-colors focus:outline-none disabled:cursor-not-allowed disabled:opacity-50 ${i}`:`w-full resize-y rounded-md border bg-hover px-2 py-1.5 text-body-14 leading-[1.5]! text-ink placeholder:text-ink-4 transition-colors focus:outline-none disabled:cursor-not-allowed disabled:opacity-50 ${t?"border-err focus:border-err":"border-rule focus:border-ink-3"} ${i}`,...f}),n&&void 0!==d&&"string"==typeof u&&(0,l.jsxs)("div",{className:"mt-1 text-right text-legacy-11 text-ink-4",children:[u.length," / ",d]}),t&&(0,l.jsx)("p",{className:"mt-1 text-xs text-err",children:t})]})})},91692:(e,t,n)=>{n.d(t,{A:()=>r});var l=n(80351);let r=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),l.createElement("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"}))]])}}]);