madarx 2.16.3 → 2.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1373) hide show
  1. package/.next/standalone/.next/BUILD_ID +1 -1
  2. package/.next/standalone/.next/app-build-manifest.json +690 -683
  3. package/.next/standalone/.next/app-path-routes-manifest.json +77 -76
  4. package/.next/standalone/.next/build-manifest.json +5 -5
  5. package/.next/standalone/.next/prerender-manifest.json +3 -3
  6. package/.next/standalone/.next/react-loadable-manifest.json +1 -1
  7. package/.next/standalone/.next/routes-manifest.json +8 -0
  8. package/.next/standalone/.next/server/app/_not-found/page.js +1 -1
  9. package/.next/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
  10. package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  11. package/.next/standalone/.next/server/app/_not-found.html +2 -1
  12. package/.next/standalone/.next/server/app/_not-found.rsc +4 -4
  13. package/.next/standalone/.next/server/app/activity/page.js +1 -1
  14. package/.next/standalone/.next/server/app/activity/page.js.nft.json +1 -1
  15. package/.next/standalone/.next/server/app/activity/page_client-reference-manifest.js +1 -1
  16. package/.next/standalone/.next/server/app/admin/page.js +4 -4
  17. package/.next/standalone/.next/server/app/admin/page.js.nft.json +1 -1
  18. package/.next/standalone/.next/server/app/admin/page_client-reference-manifest.js +1 -1
  19. package/.next/standalone/.next/server/app/agents/[id]/page.js +5 -5
  20. package/.next/standalone/.next/server/app/agents/[id]/page.js.nft.json +1 -1
  21. package/.next/standalone/.next/server/app/agents/[id]/page_client-reference-manifest.js +1 -1
  22. package/.next/standalone/.next/server/app/agents/page.js +1 -1
  23. package/.next/standalone/.next/server/app/agents/page.js.nft.json +1 -1
  24. package/.next/standalone/.next/server/app/agents/page_client-reference-manifest.js +1 -1
  25. package/.next/standalone/.next/server/app/api/activity/route_client-reference-manifest.js +1 -1
  26. package/.next/standalone/.next/server/app/api/admin/audit-export/route_client-reference-manifest.js +1 -1
  27. package/.next/standalone/.next/server/app/api/admin/share-links/route_client-reference-manifest.js +1 -1
  28. package/.next/standalone/.next/server/app/api/agent-memory/route_client-reference-manifest.js +1 -1
  29. package/.next/standalone/.next/server/app/api/agent-runs/[id]/cancel/route_client-reference-manifest.js +1 -1
  30. package/.next/standalone/.next/server/app/api/agent-runs/[id]/events/route_client-reference-manifest.js +1 -1
  31. package/.next/standalone/.next/server/app/api/agent-runs/[id]/log/route_client-reference-manifest.js +1 -1
  32. package/.next/standalone/.next/server/app/api/agent-runs/[id]/route_client-reference-manifest.js +1 -1
  33. package/.next/standalone/.next/server/app/api/agent-runs/route_client-reference-manifest.js +1 -1
  34. package/.next/standalone/.next/server/app/api/agents/[id]/active-run/route.js +1 -0
  35. package/.next/standalone/.next/server/app/api/agents/[id]/active-run/route.js.nft.json +1 -0
  36. package/.next/standalone/.next/server/app/api/agents/[id]/active-run/route_client-reference-manifest.js +1 -0
  37. package/.next/standalone/.next/server/app/api/agents/[id]/chain/route_client-reference-manifest.js +1 -1
  38. package/.next/standalone/.next/server/app/api/agents/[id]/memory/route_client-reference-manifest.js +1 -1
  39. package/.next/standalone/.next/server/app/api/agents/[id]/reports/route_client-reference-manifest.js +1 -1
  40. package/.next/standalone/.next/server/app/api/agents/[id]/run/route.js +1 -1
  41. package/.next/standalone/.next/server/app/api/agents/[id]/run/route.js.nft.json +1 -1
  42. package/.next/standalone/.next/server/app/api/agents/[id]/run/route_client-reference-manifest.js +1 -1
  43. package/.next/standalone/.next/server/app/api/agents/[id]/skills/route_client-reference-manifest.js +1 -1
  44. package/.next/standalone/.next/server/app/api/agents/create/route_client-reference-manifest.js +1 -1
  45. package/.next/standalone/.next/server/app/api/agents/ops/route_client-reference-manifest.js +1 -1
  46. package/.next/standalone/.next/server/app/api/approvals/[id]/route_client-reference-manifest.js +1 -1
  47. package/.next/standalone/.next/server/app/api/approvals/route_client-reference-manifest.js +1 -1
  48. package/.next/standalone/.next/server/app/api/artifacts/[id]/acl/route_client-reference-manifest.js +1 -1
  49. package/.next/standalone/.next/server/app/api/artifacts/[id]/protect/route_client-reference-manifest.js +1 -1
  50. package/.next/standalone/.next/server/app/api/artifacts/[id]/raw/route_client-reference-manifest.js +1 -1
  51. package/.next/standalone/.next/server/app/api/artifacts/[id]/route_client-reference-manifest.js +1 -1
  52. package/.next/standalone/.next/server/app/api/artifacts/[id]/share-link/[linkId]/route_client-reference-manifest.js +1 -1
  53. package/.next/standalone/.next/server/app/api/artifacts/[id]/share-link/route_client-reference-manifest.js +1 -1
  54. package/.next/standalone/.next/server/app/api/artifacts/upload/route_client-reference-manifest.js +1 -1
  55. package/.next/standalone/.next/server/app/api/audit/list/route_client-reference-manifest.js +1 -1
  56. package/.next/standalone/.next/server/app/api/audit/search/route_client-reference-manifest.js +1 -1
  57. package/.next/standalone/.next/server/app/api/auth/callback/route_client-reference-manifest.js +1 -1
  58. package/.next/standalone/.next/server/app/api/auth/config/route_client-reference-manifest.js +1 -1
  59. package/.next/standalone/.next/server/app/api/auth/join-bootstrap/route_client-reference-manifest.js +1 -1
  60. package/.next/standalone/.next/server/app/api/auth/session/route_client-reference-manifest.js +1 -1
  61. package/.next/standalone/.next/server/app/api/brand/route_client-reference-manifest.js +1 -1
  62. package/.next/standalone/.next/server/app/api/brand/share/route_client-reference-manifest.js +1 -1
  63. package/.next/standalone/.next/server/app/api/chat/sessions/[id]/route_client-reference-manifest.js +1 -1
  64. package/.next/standalone/.next/server/app/api/chat/sessions/route_client-reference-manifest.js +1 -1
  65. package/.next/standalone/.next/server/app/api/config/env/route.js +1 -1
  66. package/.next/standalone/.next/server/app/api/config/env/route_client-reference-manifest.js +1 -1
  67. package/.next/standalone/.next/server/app/api/config/route_client-reference-manifest.js +1 -1
  68. package/.next/standalone/.next/server/app/api/connections/[service]/route_client-reference-manifest.js +1 -1
  69. package/.next/standalone/.next/server/app/api/connections/[service]/verify/route.js +1 -1
  70. package/.next/standalone/.next/server/app/api/connections/[service]/verify/route_client-reference-manifest.js +1 -1
  71. package/.next/standalone/.next/server/app/api/connections/route_client-reference-manifest.js +1 -1
  72. package/.next/standalone/.next/server/app/api/cron/tick/route_client-reference-manifest.js +1 -1
  73. package/.next/standalone/.next/server/app/api/dashboard/spaces/[id]/move/route_client-reference-manifest.js +1 -1
  74. package/.next/standalone/.next/server/app/api/dashboard/spaces/[id]/route_client-reference-manifest.js +1 -1
  75. package/.next/standalone/.next/server/app/api/dashboard/spaces/[id]/share-link/[linkId]/route_client-reference-manifest.js +1 -1
  76. package/.next/standalone/.next/server/app/api/dashboard/spaces/[id]/share-link/route_client-reference-manifest.js +1 -1
  77. package/.next/standalone/.next/server/app/api/dashboard/spaces/import/route_client-reference-manifest.js +1 -1
  78. package/.next/standalone/.next/server/app/api/dashboard/spaces/route_client-reference-manifest.js +1 -1
  79. package/.next/standalone/.next/server/app/api/disk/files/[id]/blob/route_client-reference-manifest.js +1 -1
  80. package/.next/standalone/.next/server/app/api/disk/files/[id]/route_client-reference-manifest.js +1 -1
  81. package/.next/standalone/.next/server/app/api/disk/files/[id]/transcribe/route_client-reference-manifest.js +1 -1
  82. package/.next/standalone/.next/server/app/api/disk/files/route_client-reference-manifest.js +1 -1
  83. package/.next/standalone/.next/server/app/api/disk/folders/route_client-reference-manifest.js +1 -1
  84. package/.next/standalone/.next/server/app/api/events/since/[cursor]/route_client-reference-manifest.js +1 -1
  85. package/.next/standalone/.next/server/app/api/events/stream/route_client-reference-manifest.js +1 -1
  86. package/.next/standalone/.next/server/app/api/fs/create-folder/route_client-reference-manifest.js +1 -1
  87. package/.next/standalone/.next/server/app/api/fs/pick-folder/route.js +2 -2
  88. package/.next/standalone/.next/server/app/api/fs/pick-folder/route_client-reference-manifest.js +1 -1
  89. package/.next/standalone/.next/server/app/api/hail/engagements/[id]/blueprint/route_client-reference-manifest.js +1 -1
  90. package/.next/standalone/.next/server/app/api/hail/engagements/[id]/diagnostic/route_client-reference-manifest.js +1 -1
  91. package/.next/standalone/.next/server/app/api/hail/engagements/[id]/governance/route_client-reference-manifest.js +1 -1
  92. package/.next/standalone/.next/server/app/api/hail/engagements/[id]/interview/route_client-reference-manifest.js +1 -1
  93. package/.next/standalone/.next/server/app/api/hail/engagements/[id]/pilot/route_client-reference-manifest.js +1 -1
  94. package/.next/standalone/.next/server/app/api/hail/engagements/[id]/quarterly/route_client-reference-manifest.js +1 -1
  95. package/.next/standalone/.next/server/app/api/hail/engagements/[id]/route_client-reference-manifest.js +1 -1
  96. package/.next/standalone/.next/server/app/api/hail/engagements/[id]/setup-package/route_client-reference-manifest.js +1 -1
  97. package/.next/standalone/.next/server/app/api/hail/engagements/route_client-reference-manifest.js +1 -1
  98. package/.next/standalone/.next/server/app/api/hail/interviews/[id]/responses/route_client-reference-manifest.js +1 -1
  99. package/.next/standalone/.next/server/app/api/hail/interviews/[id]/route_client-reference-manifest.js +1 -1
  100. package/.next/standalone/.next/server/app/api/hail/setup-packages/[id]/apply/route_client-reference-manifest.js +1 -1
  101. package/.next/standalone/.next/server/app/api/hail/setup-packages/validate/route_client-reference-manifest.js +1 -1
  102. package/.next/standalone/.next/server/app/api/heartbeat/tick/route_client-reference-manifest.js +1 -1
  103. package/.next/standalone/.next/server/app/api/heartbeat/worker/route_client-reference-manifest.js +1 -1
  104. package/.next/standalone/.next/server/app/api/help/route_client-reference-manifest.js +1 -1
  105. package/.next/standalone/.next/server/app/api/hermes/jobs/[id]/events/route_client-reference-manifest.js +1 -1
  106. package/.next/standalone/.next/server/app/api/hermes/jobs/[id]/route_client-reference-manifest.js +1 -1
  107. package/.next/standalone/.next/server/app/api/hermes/jobs/route_client-reference-manifest.js +1 -1
  108. package/.next/standalone/.next/server/app/api/integrations/google/callback/route_client-reference-manifest.js +1 -1
  109. package/.next/standalone/.next/server/app/api/integrations/google/oauth/route_client-reference-manifest.js +1 -1
  110. package/.next/standalone/.next/server/app/api/marketplace/[id]/route_client-reference-manifest.js +1 -1
  111. package/.next/standalone/.next/server/app/api/marketplace/open-design/route_client-reference-manifest.js +1 -1
  112. package/.next/standalone/.next/server/app/api/marketplace/route_client-reference-manifest.js +1 -1
  113. package/.next/standalone/.next/server/app/api/mines/import-roots/route_client-reference-manifest.js +1 -1
  114. package/.next/standalone/.next/server/app/api/mines/portfolio/route_client-reference-manifest.js +1 -1
  115. package/.next/standalone/.next/server/app/api/mines/projects/[id]/chunks/route_client-reference-manifest.js +1 -1
  116. package/.next/standalone/.next/server/app/api/mines/projects/[id]/diligence/route_client-reference-manifest.js +1 -1
  117. package/.next/standalone/.next/server/app/api/mines/projects/[id]/import/route_client-reference-manifest.js +1 -1
  118. package/.next/standalone/.next/server/app/api/mines/projects/[id]/publish/route_client-reference-manifest.js +1 -1
  119. package/.next/standalone/.next/server/app/api/mines/projects/route_client-reference-manifest.js +1 -1
  120. package/.next/standalone/.next/server/app/api/missions/route_client-reference-manifest.js +1 -1
  121. package/.next/standalone/.next/server/app/api/models/route_client-reference-manifest.js +1 -1
  122. package/.next/standalone/.next/server/app/api/onboarding/blueprint/route_client-reference-manifest.js +1 -1
  123. package/.next/standalone/.next/server/app/api/onboarding/launch/route_client-reference-manifest.js +1 -1
  124. package/.next/standalone/.next/server/app/api/orchestrator/command/route_client-reference-manifest.js +1 -1
  125. package/.next/standalone/.next/server/app/api/orchestrator/stream/route.js +13 -13
  126. package/.next/standalone/.next/server/app/api/orchestrator/stream/route_client-reference-manifest.js +1 -1
  127. package/.next/standalone/.next/server/app/api/orchestrator/upload/route_client-reference-manifest.js +1 -1
  128. package/.next/standalone/.next/server/app/api/org/route_client-reference-manifest.js +1 -1
  129. package/.next/standalone/.next/server/app/api/orgs/[id]/invites/[inviteId]/route_client-reference-manifest.js +1 -1
  130. package/.next/standalone/.next/server/app/api/orgs/[id]/invites/route_client-reference-manifest.js +1 -1
  131. package/.next/standalone/.next/server/app/api/orgs/[id]/members/[userId]/role/route_client-reference-manifest.js +1 -1
  132. package/.next/standalone/.next/server/app/api/orgs/[id]/members/[userId]/route_client-reference-manifest.js +1 -1
  133. package/.next/standalone/.next/server/app/api/orgs/[id]/members/route_client-reference-manifest.js +1 -1
  134. package/.next/standalone/.next/server/app/api/orgs/[id]/route_client-reference-manifest.js +1 -1
  135. package/.next/standalone/.next/server/app/api/orgs/invites/pending/route_client-reference-manifest.js +1 -1
  136. package/.next/standalone/.next/server/app/api/orgs/join/route_client-reference-manifest.js +1 -1
  137. package/.next/standalone/.next/server/app/api/orgs/join-complete/route_client-reference-manifest.js +1 -1
  138. package/.next/standalone/.next/server/app/api/orgs/route_client-reference-manifest.js +1 -1
  139. package/.next/standalone/.next/server/app/api/printing-press/clis/route_client-reference-manifest.js +1 -1
  140. package/.next/standalone/.next/server/app/api/printing-press/install/route_client-reference-manifest.js +1 -1
  141. package/.next/standalone/.next/server/app/api/printing-press/security-mode/route_client-reference-manifest.js +1 -1
  142. package/.next/standalone/.next/server/app/api/privacy/config/route_client-reference-manifest.js +1 -1
  143. package/.next/standalone/.next/server/app/api/privacy/verify/route_client-reference-manifest.js +1 -1
  144. package/.next/standalone/.next/server/app/api/processes/[id]/route_client-reference-manifest.js +1 -1
  145. package/.next/standalone/.next/server/app/api/processes/[id]/share-link/route_client-reference-manifest.js +1 -1
  146. package/.next/standalone/.next/server/app/api/processes/[id]/stages/[stageId]/override/route_client-reference-manifest.js +1 -1
  147. package/.next/standalone/.next/server/app/api/processes/[id]/stages/[stageId]/retry/route_client-reference-manifest.js +1 -1
  148. package/.next/standalone/.next/server/app/api/processes/[id]/stages/[stageId]/submit/route_client-reference-manifest.js +1 -1
  149. package/.next/standalone/.next/server/app/api/processes/definitions/[slug]/route_client-reference-manifest.js +1 -1
  150. package/.next/standalone/.next/server/app/api/processes/definitions/[slug]/settings/route_client-reference-manifest.js +1 -1
  151. package/.next/standalone/.next/server/app/api/processes/definitions/route_client-reference-manifest.js +1 -1
  152. package/.next/standalone/.next/server/app/api/processes/definitions/validate/route_client-reference-manifest.js +1 -1
  153. package/.next/standalone/.next/server/app/api/processes/route_client-reference-manifest.js +1 -1
  154. package/.next/standalone/.next/server/app/api/processes/start-and-route/route_client-reference-manifest.js +1 -1
  155. package/.next/standalone/.next/server/app/api/projects/[slug]/library/route_client-reference-manifest.js +1 -1
  156. package/.next/standalone/.next/server/app/api/projects/[slug]/route_client-reference-manifest.js +1 -1
  157. package/.next/standalone/.next/server/app/api/projects/route_client-reference-manifest.js +1 -1
  158. package/.next/standalone/.next/server/app/api/runs/approve-claude-run/route_client-reference-manifest.js +1 -1
  159. package/.next/standalone/.next/server/app/api/runs/claude-code-dry-run/route_client-reference-manifest.js +1 -1
  160. package/.next/standalone/.next/server/app/api/runs/competitor-report/route_client-reference-manifest.js +1 -1
  161. package/.next/standalone/.next/server/app/api/runs/engine-ping/route_client-reference-manifest.js +1 -1
  162. package/.next/standalone/.next/server/app/api/runs/marketing-plan/route_client-reference-manifest.js +1 -1
  163. package/.next/standalone/.next/server/app/api/schedules/upsert/route_client-reference-manifest.js +1 -1
  164. package/.next/standalone/.next/server/app/api/secrets/[name]/route_client-reference-manifest.js +1 -1
  165. package/.next/standalone/.next/server/app/api/secrets/route_client-reference-manifest.js +1 -1
  166. package/.next/standalone/.next/server/app/api/settings/trust-mode/route_client-reference-manifest.js +1 -1
  167. package/.next/standalone/.next/server/app/api/share/[token]/otp/route_client-reference-manifest.js +1 -1
  168. package/.next/standalone/.next/server/app/api/share/[token]/route_client-reference-manifest.js +1 -1
  169. package/.next/standalone/.next/server/app/api/share/[token]/verify/route_client-reference-manifest.js +1 -1
  170. package/.next/standalone/.next/server/app/api/share/space/[token]/otp/route_client-reference-manifest.js +1 -1
  171. package/.next/standalone/.next/server/app/api/share/space/[token]/route_client-reference-manifest.js +1 -1
  172. package/.next/standalone/.next/server/app/api/share/space/[token]/verify/route_client-reference-manifest.js +1 -1
  173. package/.next/standalone/.next/server/app/api/shared/spaces/[id]/acl/route_client-reference-manifest.js +1 -1
  174. package/.next/standalone/.next/server/app/api/shared/spaces/publish/route_client-reference-manifest.js +1 -1
  175. package/.next/standalone/.next/server/app/api/shared/spaces/route_client-reference-manifest.js +1 -1
  176. package/.next/standalone/.next/server/app/api/shared/spaces/status/route_client-reference-manifest.js +1 -1
  177. package/.next/standalone/.next/server/app/api/shared/spaces/unpublish/route_client-reference-manifest.js +1 -1
  178. package/.next/standalone/.next/server/app/api/state/route_client-reference-manifest.js +1 -1
  179. package/.next/standalone/.next/server/app/api/system/update/route_client-reference-manifest.js +1 -1
  180. package/.next/standalone/.next/server/app/api/tasks/[id]/active-run/route_client-reference-manifest.js +1 -1
  181. package/.next/standalone/.next/server/app/api/tasks/[id]/attachments/route_client-reference-manifest.js +1 -1
  182. package/.next/standalone/.next/server/app/api/tasks/[id]/checklist/[itemId]/route_client-reference-manifest.js +1 -1
  183. package/.next/standalone/.next/server/app/api/tasks/[id]/checklist/route_client-reference-manifest.js +1 -1
  184. package/.next/standalone/.next/server/app/api/tasks/[id]/checkout/route_client-reference-manifest.js +1 -1
  185. package/.next/standalone/.next/server/app/api/tasks/[id]/children/route_client-reference-manifest.js +1 -1
  186. package/.next/standalone/.next/server/app/api/tasks/[id]/comments/route_client-reference-manifest.js +1 -1
  187. package/.next/standalone/.next/server/app/api/tasks/[id]/events/route_client-reference-manifest.js +1 -1
  188. package/.next/standalone/.next/server/app/api/tasks/[id]/live-runs/route_client-reference-manifest.js +1 -1
  189. package/.next/standalone/.next/server/app/api/tasks/[id]/release/route_client-reference-manifest.js +1 -1
  190. package/.next/standalone/.next/server/app/api/tasks/[id]/route_client-reference-manifest.js +1 -1
  191. package/.next/standalone/.next/server/app/api/tasks/route_client-reference-manifest.js +1 -1
  192. package/.next/standalone/.next/server/app/api/tool-allowlists/[id]/route_client-reference-manifest.js +1 -1
  193. package/.next/standalone/.next/server/app/api/tool-allowlists/route_client-reference-manifest.js +1 -1
  194. package/.next/standalone/.next/server/app/api/tool-egress/route_client-reference-manifest.js +1 -1
  195. package/.next/standalone/.next/server/app/api/tools/[name]/approve/route_client-reference-manifest.js +1 -1
  196. package/.next/standalone/.next/server/app/api/tools/[name]/route_client-reference-manifest.js +1 -1
  197. package/.next/standalone/.next/server/app/api/tools/route_client-reference-manifest.js +1 -1
  198. package/.next/standalone/.next/server/app/api/transcripts/route_client-reference-manifest.js +1 -1
  199. package/.next/standalone/.next/server/app/api/voice/providers/route_client-reference-manifest.js +1 -1
  200. package/.next/standalone/.next/server/app/api/voice/realtime/context/route_client-reference-manifest.js +1 -1
  201. package/.next/standalone/.next/server/app/api/voice/realtime/session/route.js +2 -2
  202. package/.next/standalone/.next/server/app/api/voice/realtime/session/route_client-reference-manifest.js +1 -1
  203. package/.next/standalone/.next/server/app/api/voice/realtime/tool-result/route.js +2 -2
  204. package/.next/standalone/.next/server/app/api/voice/realtime/tool-result/route_client-reference-manifest.js +1 -1
  205. package/.next/standalone/.next/server/app/api/voice/realtime/tools/route.js +1 -1
  206. package/.next/standalone/.next/server/app/api/voice/realtime/tools/route_client-reference-manifest.js +1 -1
  207. package/.next/standalone/.next/server/app/api/voice/tts/route_client-reference-manifest.js +1 -1
  208. package/.next/standalone/.next/server/app/api/whatsapp/allowlist/route_client-reference-manifest.js +1 -1
  209. package/.next/standalone/.next/server/app/api/whatsapp/disconnect/route_client-reference-manifest.js +1 -1
  210. package/.next/standalone/.next/server/app/api/whatsapp/messages/route_client-reference-manifest.js +1 -1
  211. package/.next/standalone/.next/server/app/api/whatsapp/qr/route_client-reference-manifest.js +1 -1
  212. package/.next/standalone/.next/server/app/api/whatsapp/send/route_client-reference-manifest.js +1 -1
  213. package/.next/standalone/.next/server/app/api/whatsapp/status/route_client-reference-manifest.js +1 -1
  214. package/.next/standalone/.next/server/app/approvals/page.js +2 -2
  215. package/.next/standalone/.next/server/app/approvals/page.js.nft.json +1 -1
  216. package/.next/standalone/.next/server/app/approvals/page_client-reference-manifest.js +1 -1
  217. package/.next/standalone/.next/server/app/architecture/page.js +1 -1
  218. package/.next/standalone/.next/server/app/architecture/page.js.nft.json +1 -1
  219. package/.next/standalone/.next/server/app/architecture/page_client-reference-manifest.js +1 -1
  220. package/.next/standalone/.next/server/app/architecture.html +2 -2
  221. package/.next/standalone/.next/server/app/architecture.rsc +4 -4
  222. package/.next/standalone/.next/server/app/audit/live/page.js +1 -1
  223. package/.next/standalone/.next/server/app/audit/live/page.js.nft.json +1 -1
  224. package/.next/standalone/.next/server/app/audit/live/page_client-reference-manifest.js +1 -1
  225. package/.next/standalone/.next/server/app/audit/page.js +1 -1
  226. package/.next/standalone/.next/server/app/audit/page.js.nft.json +1 -1
  227. package/.next/standalone/.next/server/app/audit/page_client-reference-manifest.js +1 -1
  228. package/.next/standalone/.next/server/app/brand/page.js +1 -1
  229. package/.next/standalone/.next/server/app/brand/page.js.nft.json +1 -1
  230. package/.next/standalone/.next/server/app/brand/page_client-reference-manifest.js +1 -1
  231. package/.next/standalone/.next/server/app/brand.html +2 -1
  232. package/.next/standalone/.next/server/app/brand.rsc +4 -4
  233. package/.next/standalone/.next/server/app/disk/page.js +1 -1
  234. package/.next/standalone/.next/server/app/disk/page.js.nft.json +1 -1
  235. package/.next/standalone/.next/server/app/disk/page_client-reference-manifest.js +1 -1
  236. package/.next/standalone/.next/server/app/federated-ai/page.js +1 -1
  237. package/.next/standalone/.next/server/app/federated-ai/page.js.nft.json +1 -1
  238. package/.next/standalone/.next/server/app/federated-ai/page_client-reference-manifest.js +1 -1
  239. package/.next/standalone/.next/server/app/federated-ai.html +2 -2
  240. package/.next/standalone/.next/server/app/federated-ai.rsc +4 -4
  241. package/.next/standalone/.next/server/app/hail/[id]/governance/page.js +1 -1
  242. package/.next/standalone/.next/server/app/hail/[id]/governance/page.js.nft.json +1 -1
  243. package/.next/standalone/.next/server/app/hail/[id]/governance/page_client-reference-manifest.js +1 -1
  244. package/.next/standalone/.next/server/app/hail/[id]/interview/page.js +1 -1
  245. package/.next/standalone/.next/server/app/hail/[id]/interview/page.js.nft.json +1 -1
  246. package/.next/standalone/.next/server/app/hail/[id]/interview/page_client-reference-manifest.js +1 -1
  247. package/.next/standalone/.next/server/app/hail/[id]/page.js +1 -1
  248. package/.next/standalone/.next/server/app/hail/[id]/page.js.nft.json +1 -1
  249. package/.next/standalone/.next/server/app/hail/[id]/page_client-reference-manifest.js +1 -1
  250. package/.next/standalone/.next/server/app/hail/[id]/setup/page.js +1 -1
  251. package/.next/standalone/.next/server/app/hail/[id]/setup/page.js.nft.json +1 -1
  252. package/.next/standalone/.next/server/app/hail/[id]/setup/page_client-reference-manifest.js +1 -1
  253. package/.next/standalone/.next/server/app/hail/page.js +3 -3
  254. package/.next/standalone/.next/server/app/hail/page.js.nft.json +1 -1
  255. package/.next/standalone/.next/server/app/hail/page_client-reference-manifest.js +1 -1
  256. package/.next/standalone/.next/server/app/help/[slug]/page.js +1 -1
  257. package/.next/standalone/.next/server/app/help/[slug]/page.js.nft.json +1 -1
  258. package/.next/standalone/.next/server/app/help/[slug]/page_client-reference-manifest.js +1 -1
  259. package/.next/standalone/.next/server/app/help/page.js +1 -1
  260. package/.next/standalone/.next/server/app/help/page.js.nft.json +1 -1
  261. package/.next/standalone/.next/server/app/help/page_client-reference-manifest.js +1 -1
  262. package/.next/standalone/.next/server/app/index.html +2 -2
  263. package/.next/standalone/.next/server/app/index.rsc +5 -5
  264. package/.next/standalone/.next/server/app/join/page.js +1 -1
  265. package/.next/standalone/.next/server/app/join/page.js.nft.json +1 -1
  266. package/.next/standalone/.next/server/app/join/page_client-reference-manifest.js +1 -1
  267. package/.next/standalone/.next/server/app/join.html +1 -1
  268. package/.next/standalone/.next/server/app/join.rsc +4 -4
  269. package/.next/standalone/.next/server/app/login/page.js +1 -1
  270. package/.next/standalone/.next/server/app/login/page.js.nft.json +1 -1
  271. package/.next/standalone/.next/server/app/login/page_client-reference-manifest.js +1 -1
  272. package/.next/standalone/.next/server/app/marketplace/page.js +4 -4
  273. package/.next/standalone/.next/server/app/marketplace/page.js.nft.json +1 -1
  274. package/.next/standalone/.next/server/app/marketplace/page_client-reference-manifest.js +1 -1
  275. package/.next/standalone/.next/server/app/mines/[projectId]/page.js +1 -1
  276. package/.next/standalone/.next/server/app/mines/[projectId]/page.js.nft.json +1 -1
  277. package/.next/standalone/.next/server/app/mines/[projectId]/page_client-reference-manifest.js +1 -1
  278. package/.next/standalone/.next/server/app/mines/[projectId]/results/page.js +1 -1
  279. package/.next/standalone/.next/server/app/mines/[projectId]/results/page.js.nft.json +1 -1
  280. package/.next/standalone/.next/server/app/mines/[projectId]/results/page_client-reference-manifest.js +1 -1
  281. package/.next/standalone/.next/server/app/mines/page.js +1 -1
  282. package/.next/standalone/.next/server/app/mines/page.js.nft.json +1 -1
  283. package/.next/standalone/.next/server/app/mines/page_client-reference-manifest.js +1 -1
  284. package/.next/standalone/.next/server/app/missions/page.js +2 -2
  285. package/.next/standalone/.next/server/app/missions/page.js.nft.json +1 -1
  286. package/.next/standalone/.next/server/app/missions/page_client-reference-manifest.js +1 -1
  287. package/.next/standalone/.next/server/app/onboarding/org/page.js +1 -1
  288. package/.next/standalone/.next/server/app/onboarding/org/page.js.nft.json +1 -1
  289. package/.next/standalone/.next/server/app/onboarding/org/page_client-reference-manifest.js +1 -1
  290. package/.next/standalone/.next/server/app/onboarding/page.js +1 -1
  291. package/.next/standalone/.next/server/app/onboarding/page.js.nft.json +1 -1
  292. package/.next/standalone/.next/server/app/onboarding/page_client-reference-manifest.js +1 -1
  293. package/.next/standalone/.next/server/app/onboarding.html +2 -2
  294. package/.next/standalone/.next/server/app/onboarding.rsc +4 -4
  295. package/.next/standalone/.next/server/app/org/page.js +1 -1
  296. package/.next/standalone/.next/server/app/org/page.js.nft.json +1 -1
  297. package/.next/standalone/.next/server/app/org/page_client-reference-manifest.js +1 -1
  298. package/.next/standalone/.next/server/app/page.js +5 -5
  299. package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
  300. package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  301. package/.next/standalone/.next/server/app/projects/[slug]/log/page.js +1 -1
  302. package/.next/standalone/.next/server/app/projects/[slug]/log/page.js.nft.json +1 -1
  303. package/.next/standalone/.next/server/app/projects/[slug]/log/page_client-reference-manifest.js +1 -1
  304. package/.next/standalone/.next/server/app/projects/[slug]/page.js +1 -1
  305. package/.next/standalone/.next/server/app/projects/[slug]/page.js.nft.json +1 -1
  306. package/.next/standalone/.next/server/app/projects/[slug]/page_client-reference-manifest.js +1 -1
  307. package/.next/standalone/.next/server/app/projects/new/page.js +3 -3
  308. package/.next/standalone/.next/server/app/projects/new/page.js.nft.json +1 -1
  309. package/.next/standalone/.next/server/app/projects/new/page_client-reference-manifest.js +1 -1
  310. package/.next/standalone/.next/server/app/projects/new.html +2 -1
  311. package/.next/standalone/.next/server/app/projects/new.rsc +5 -5
  312. package/.next/standalone/.next/server/app/projects/page.js +35 -25
  313. package/.next/standalone/.next/server/app/projects/page.js.nft.json +1 -1
  314. package/.next/standalone/.next/server/app/projects/page_client-reference-manifest.js +1 -1
  315. package/.next/standalone/.next/server/app/reports/[file]/route_client-reference-manifest.js +1 -1
  316. package/.next/standalone/.next/server/app/reports/page.js +1 -1
  317. package/.next/standalone/.next/server/app/reports/page.js.nft.json +1 -1
  318. package/.next/standalone/.next/server/app/reports/page_client-reference-manifest.js +1 -1
  319. package/.next/standalone/.next/server/app/runtime/page.js +1 -1
  320. package/.next/standalone/.next/server/app/runtime/page.js.nft.json +1 -1
  321. package/.next/standalone/.next/server/app/runtime/page_client-reference-manifest.js +1 -1
  322. package/.next/standalone/.next/server/app/schedules/page.js +2 -2
  323. package/.next/standalone/.next/server/app/schedules/page.js.nft.json +1 -1
  324. package/.next/standalone/.next/server/app/schedules/page_client-reference-manifest.js +1 -1
  325. package/.next/standalone/.next/server/app/settings/account/page.js +1 -1
  326. package/.next/standalone/.next/server/app/settings/account/page.js.nft.json +1 -1
  327. package/.next/standalone/.next/server/app/settings/account/page_client-reference-manifest.js +1 -1
  328. package/.next/standalone/.next/server/app/settings/advanced/page.js +1 -1
  329. package/.next/standalone/.next/server/app/settings/advanced/page.js.nft.json +1 -1
  330. package/.next/standalone/.next/server/app/settings/advanced/page_client-reference-manifest.js +1 -1
  331. package/.next/standalone/.next/server/app/settings/appearance/page.js +1 -1
  332. package/.next/standalone/.next/server/app/settings/appearance/page.js.nft.json +1 -1
  333. package/.next/standalone/.next/server/app/settings/appearance/page_client-reference-manifest.js +1 -1
  334. package/.next/standalone/.next/server/app/settings/brand/page.js +1 -1
  335. package/.next/standalone/.next/server/app/settings/brand/page.js.nft.json +1 -1
  336. package/.next/standalone/.next/server/app/settings/brand/page_client-reference-manifest.js +1 -1
  337. package/.next/standalone/.next/server/app/settings/brand.html +2 -2
  338. package/.next/standalone/.next/server/app/settings/brand.rsc +5 -5
  339. package/.next/standalone/.next/server/app/settings/connectors/page.js +1 -1
  340. package/.next/standalone/.next/server/app/settings/connectors/page.js.nft.json +1 -1
  341. package/.next/standalone/.next/server/app/settings/connectors/page_client-reference-manifest.js +1 -1
  342. package/.next/standalone/.next/server/app/settings/engines/page.js +1 -1
  343. package/.next/standalone/.next/server/app/settings/engines/page.js.nft.json +1 -1
  344. package/.next/standalone/.next/server/app/settings/engines/page_client-reference-manifest.js +1 -1
  345. package/.next/standalone/.next/server/app/settings/onboarding/page.js +1 -1
  346. package/.next/standalone/.next/server/app/settings/onboarding/page.js.nft.json +1 -1
  347. package/.next/standalone/.next/server/app/settings/onboarding/page_client-reference-manifest.js +1 -1
  348. package/.next/standalone/.next/server/app/settings/onboarding.html +2 -2
  349. package/.next/standalone/.next/server/app/settings/onboarding.rsc +5 -5
  350. package/.next/standalone/.next/server/app/settings/organization/page.js +2 -2
  351. package/.next/standalone/.next/server/app/settings/organization/page.js.nft.json +1 -1
  352. package/.next/standalone/.next/server/app/settings/organization/page_client-reference-manifest.js +1 -1
  353. package/.next/standalone/.next/server/app/settings/page.js +1 -1
  354. package/.next/standalone/.next/server/app/settings/page.js.nft.json +1 -1
  355. package/.next/standalone/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  356. package/.next/standalone/.next/server/app/settings/runtime/page.js +1 -1
  357. package/.next/standalone/.next/server/app/settings/runtime/page.js.nft.json +1 -1
  358. package/.next/standalone/.next/server/app/settings/runtime/page_client-reference-manifest.js +1 -1
  359. package/.next/standalone/.next/server/app/settings/team/page.js +1 -1
  360. package/.next/standalone/.next/server/app/settings/team/page.js.nft.json +1 -1
  361. package/.next/standalone/.next/server/app/settings/team/page_client-reference-manifest.js +1 -1
  362. package/.next/standalone/.next/server/app/settings/tools/page.js +1 -1
  363. package/.next/standalone/.next/server/app/settings/tools/page.js.nft.json +1 -1
  364. package/.next/standalone/.next/server/app/settings/tools/page_client-reference-manifest.js +1 -1
  365. package/.next/standalone/.next/server/app/settings.html +2 -2
  366. package/.next/standalone/.next/server/app/settings.rsc +5 -5
  367. package/.next/standalone/.next/server/app/share/[token]/page.js +1 -1
  368. package/.next/standalone/.next/server/app/share/[token]/page.js.nft.json +1 -1
  369. package/.next/standalone/.next/server/app/share/[token]/page_client-reference-manifest.js +1 -1
  370. package/.next/standalone/.next/server/app/share/space/[token]/page.js +1 -1
  371. package/.next/standalone/.next/server/app/share/space/[token]/page.js.nft.json +1 -1
  372. package/.next/standalone/.next/server/app/share/space/[token]/page_client-reference-manifest.js +1 -1
  373. package/.next/standalone/.next/server/app/tasks/[id]/page.js +2 -2
  374. package/.next/standalone/.next/server/app/tasks/[id]/page.js.nft.json +1 -1
  375. package/.next/standalone/.next/server/app/tasks/[id]/page_client-reference-manifest.js +1 -1
  376. package/.next/standalone/.next/server/app/tasks/page.js +2 -2
  377. package/.next/standalone/.next/server/app/tasks/page.js.nft.json +1 -1
  378. package/.next/standalone/.next/server/app/tasks/page_client-reference-manifest.js +1 -1
  379. package/.next/standalone/.next/server/app/team/[agentId]/page.js +1 -1
  380. package/.next/standalone/.next/server/app/team/[agentId]/page.js.nft.json +1 -1
  381. package/.next/standalone/.next/server/app/team/[agentId]/page_client-reference-manifest.js +1 -1
  382. package/.next/standalone/.next/server/app/team/page.js +1 -1
  383. package/.next/standalone/.next/server/app/team/page.js.nft.json +1 -1
  384. package/.next/standalone/.next/server/app/team/page_client-reference-manifest.js +1 -1
  385. package/.next/standalone/.next/server/app/tools/page.js +1 -1
  386. package/.next/standalone/.next/server/app/tools/page.js.nft.json +1 -1
  387. package/.next/standalone/.next/server/app/tools/page_client-reference-manifest.js +1 -1
  388. package/.next/standalone/.next/server/app/whatsapp/page.js +1 -1
  389. package/.next/standalone/.next/server/app/whatsapp/page.js.nft.json +1 -1
  390. package/.next/standalone/.next/server/app/whatsapp/page_client-reference-manifest.js +1 -1
  391. package/.next/standalone/.next/server/app/whatsapp.html +2 -2
  392. package/.next/standalone/.next/server/app/whatsapp.rsc +4 -4
  393. package/.next/standalone/.next/server/app/workflows/[caseId]/page.js +1 -1
  394. package/.next/standalone/.next/server/app/workflows/[caseId]/page.js.nft.json +1 -1
  395. package/.next/standalone/.next/server/app/workflows/[caseId]/page_client-reference-manifest.js +1 -1
  396. package/.next/standalone/.next/server/app/workflows/new/[caseId]/page.js +1 -1
  397. package/.next/standalone/.next/server/app/workflows/new/[caseId]/page.js.nft.json +1 -1
  398. package/.next/standalone/.next/server/app/workflows/new/[caseId]/page_client-reference-manifest.js +1 -1
  399. package/.next/standalone/.next/server/app/workflows/new/definition/page.js +1 -1
  400. package/.next/standalone/.next/server/app/workflows/new/definition/page.js.nft.json +1 -1
  401. package/.next/standalone/.next/server/app/workflows/new/definition/page_client-reference-manifest.js +1 -1
  402. package/.next/standalone/.next/server/app/workflows/page.js +1 -1
  403. package/.next/standalone/.next/server/app/workflows/page.js.nft.json +1 -1
  404. package/.next/standalone/.next/server/app/workflows/page_client-reference-manifest.js +1 -1
  405. package/.next/standalone/.next/server/app/workflows/share/[caseId]/page.js +1 -1
  406. package/.next/standalone/.next/server/app/workflows/share/[caseId]/page.js.nft.json +1 -1
  407. package/.next/standalone/.next/server/app/workflows/share/[caseId]/page_client-reference-manifest.js +1 -1
  408. package/.next/standalone/.next/server/app-paths-manifest.json +77 -76
  409. package/.next/standalone/.next/server/chunks/1648.js +1 -1
  410. package/.next/standalone/.next/server/chunks/1699.js +59 -42
  411. package/.next/standalone/.next/server/chunks/3379.js +1 -0
  412. package/.next/standalone/.next/server/chunks/4740.js +1 -1
  413. package/.next/standalone/.next/server/chunks/4804.js +1 -1
  414. package/.next/standalone/.next/server/chunks/6059.js +1 -1
  415. package/.next/standalone/.next/server/chunks/8194.js +1 -0
  416. package/.next/standalone/.next/server/chunks/9483.js +9 -0
  417. package/.next/standalone/.next/server/functions-config-manifest.json +41 -40
  418. package/.next/standalone/.next/server/middleware-build-manifest.js +1 -1
  419. package/.next/standalone/.next/server/middleware-manifest.json +5 -5
  420. package/.next/standalone/.next/server/middleware-react-loadable-manifest.js +1 -1
  421. package/.next/standalone/.next/server/pages/404.html +2 -1
  422. package/.next/standalone/.next/server/pages/500.html +1 -1
  423. package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
  424. package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
  425. package/.next/standalone/.next/static/chunks/494-02cf75066d25e8ac.js +1 -0
  426. package/.next/standalone/.next/static/chunks/8217.9459315d921fdd61.js +1 -0
  427. package/.next/standalone/.next/static/chunks/app/activity/loading-17ae3509caaa1354.js +1 -0
  428. package/.next/standalone/.next/static/chunks/app/agents/[id]/loading-17ae3509caaa1354.js +1 -0
  429. package/.next/standalone/.next/static/chunks/app/agents/[id]/page-fd263522f6c29653.js +1 -0
  430. package/.next/standalone/.next/static/chunks/app/agents/loading-17ae3509caaa1354.js +1 -0
  431. package/.next/standalone/.next/static/chunks/app/agents/page-5860869c305cc54b.js +1 -0
  432. package/.next/standalone/.next/static/chunks/app/api/activity/route-17ae3509caaa1354.js +1 -0
  433. package/.next/standalone/.next/static/chunks/app/api/admin/audit-export/route-17ae3509caaa1354.js +1 -0
  434. package/.next/standalone/.next/static/chunks/app/api/admin/share-links/route-17ae3509caaa1354.js +1 -0
  435. package/.next/standalone/.next/static/chunks/app/api/agent-memory/route-17ae3509caaa1354.js +1 -0
  436. package/.next/standalone/.next/static/chunks/app/api/agent-runs/[id]/cancel/route-17ae3509caaa1354.js +1 -0
  437. package/.next/standalone/.next/static/chunks/app/api/agent-runs/[id]/events/route-17ae3509caaa1354.js +1 -0
  438. package/.next/standalone/.next/static/chunks/app/api/agent-runs/[id]/log/route-17ae3509caaa1354.js +1 -0
  439. package/.next/standalone/.next/static/chunks/app/api/agent-runs/[id]/route-17ae3509caaa1354.js +1 -0
  440. package/.next/standalone/.next/static/chunks/app/api/agent-runs/route-17ae3509caaa1354.js +1 -0
  441. package/.next/standalone/.next/static/chunks/app/api/agents/[id]/active-run/route-17ae3509caaa1354.js +1 -0
  442. package/.next/standalone/.next/static/chunks/app/api/agents/[id]/chain/route-17ae3509caaa1354.js +1 -0
  443. package/.next/standalone/.next/static/chunks/app/api/agents/[id]/memory/route-17ae3509caaa1354.js +1 -0
  444. package/.next/standalone/.next/static/chunks/app/api/agents/[id]/reports/route-17ae3509caaa1354.js +1 -0
  445. package/.next/standalone/.next/static/chunks/app/api/agents/[id]/run/route-17ae3509caaa1354.js +1 -0
  446. package/.next/standalone/.next/static/chunks/app/api/agents/[id]/skills/route-17ae3509caaa1354.js +1 -0
  447. package/.next/standalone/.next/static/chunks/app/api/agents/create/route-17ae3509caaa1354.js +1 -0
  448. package/.next/standalone/.next/static/chunks/app/api/agents/ops/route-17ae3509caaa1354.js +1 -0
  449. package/.next/standalone/.next/static/chunks/app/api/approvals/[id]/route-17ae3509caaa1354.js +1 -0
  450. package/.next/standalone/.next/static/chunks/app/api/approvals/route-17ae3509caaa1354.js +1 -0
  451. package/.next/standalone/.next/static/chunks/app/api/artifacts/[id]/acl/route-17ae3509caaa1354.js +1 -0
  452. package/.next/standalone/.next/static/chunks/app/api/artifacts/[id]/protect/route-17ae3509caaa1354.js +1 -0
  453. package/.next/standalone/.next/static/chunks/app/api/artifacts/[id]/raw/route-17ae3509caaa1354.js +1 -0
  454. package/.next/standalone/.next/static/chunks/app/api/artifacts/[id]/route-17ae3509caaa1354.js +1 -0
  455. package/.next/standalone/.next/static/chunks/app/api/artifacts/[id]/share-link/[linkId]/route-17ae3509caaa1354.js +1 -0
  456. package/.next/standalone/.next/static/chunks/app/api/artifacts/[id]/share-link/route-17ae3509caaa1354.js +1 -0
  457. package/.next/standalone/.next/static/chunks/app/api/artifacts/upload/route-17ae3509caaa1354.js +1 -0
  458. package/.next/standalone/.next/static/chunks/app/api/audit/list/route-17ae3509caaa1354.js +1 -0
  459. package/.next/standalone/.next/static/chunks/app/api/audit/search/route-17ae3509caaa1354.js +1 -0
  460. package/.next/standalone/.next/static/chunks/app/api/auth/callback/route-17ae3509caaa1354.js +1 -0
  461. package/.next/standalone/.next/static/chunks/app/api/auth/config/route-17ae3509caaa1354.js +1 -0
  462. package/.next/standalone/.next/static/chunks/app/api/auth/join-bootstrap/route-17ae3509caaa1354.js +1 -0
  463. package/.next/standalone/.next/static/chunks/app/api/auth/session/route-17ae3509caaa1354.js +1 -0
  464. package/.next/standalone/.next/static/chunks/app/api/brand/route-17ae3509caaa1354.js +1 -0
  465. package/.next/standalone/.next/static/chunks/app/api/brand/share/route-17ae3509caaa1354.js +1 -0
  466. package/.next/standalone/.next/static/chunks/app/api/chat/sessions/[id]/route-17ae3509caaa1354.js +1 -0
  467. package/.next/standalone/.next/static/chunks/app/api/chat/sessions/route-17ae3509caaa1354.js +1 -0
  468. package/.next/standalone/.next/static/chunks/app/api/config/env/route-17ae3509caaa1354.js +1 -0
  469. package/.next/standalone/.next/static/chunks/app/api/config/route-17ae3509caaa1354.js +1 -0
  470. package/.next/standalone/.next/static/chunks/app/api/connections/[service]/route-17ae3509caaa1354.js +1 -0
  471. package/.next/standalone/.next/static/chunks/app/api/connections/[service]/verify/route-17ae3509caaa1354.js +1 -0
  472. package/.next/standalone/.next/static/chunks/app/api/connections/route-17ae3509caaa1354.js +1 -0
  473. package/.next/standalone/.next/static/chunks/app/api/cron/tick/route-17ae3509caaa1354.js +1 -0
  474. package/.next/standalone/.next/static/chunks/app/api/dashboard/spaces/[id]/move/route-17ae3509caaa1354.js +1 -0
  475. package/.next/standalone/.next/static/chunks/app/api/dashboard/spaces/[id]/route-17ae3509caaa1354.js +1 -0
  476. package/.next/standalone/.next/static/chunks/app/api/dashboard/spaces/[id]/share-link/[linkId]/route-17ae3509caaa1354.js +1 -0
  477. package/.next/standalone/.next/static/chunks/app/api/dashboard/spaces/[id]/share-link/route-17ae3509caaa1354.js +1 -0
  478. package/.next/standalone/.next/static/chunks/app/api/dashboard/spaces/import/route-17ae3509caaa1354.js +1 -0
  479. package/.next/standalone/.next/static/chunks/app/api/dashboard/spaces/route-17ae3509caaa1354.js +1 -0
  480. package/.next/standalone/.next/static/chunks/app/api/disk/files/[id]/blob/route-17ae3509caaa1354.js +1 -0
  481. package/.next/standalone/.next/static/chunks/app/api/disk/files/[id]/route-17ae3509caaa1354.js +1 -0
  482. package/.next/standalone/.next/static/chunks/app/api/disk/files/[id]/transcribe/route-17ae3509caaa1354.js +1 -0
  483. package/.next/standalone/.next/static/chunks/app/api/disk/files/route-17ae3509caaa1354.js +1 -0
  484. package/.next/standalone/.next/static/chunks/app/api/disk/folders/route-17ae3509caaa1354.js +1 -0
  485. package/.next/standalone/.next/static/chunks/app/api/events/since/[cursor]/route-17ae3509caaa1354.js +1 -0
  486. package/.next/standalone/.next/static/chunks/app/api/events/stream/route-17ae3509caaa1354.js +1 -0
  487. package/.next/standalone/.next/static/chunks/app/api/fs/create-folder/route-17ae3509caaa1354.js +1 -0
  488. package/.next/standalone/.next/static/chunks/app/api/fs/pick-folder/route-17ae3509caaa1354.js +1 -0
  489. package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/blueprint/route-17ae3509caaa1354.js +1 -0
  490. package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/diagnostic/route-17ae3509caaa1354.js +1 -0
  491. package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/governance/route-17ae3509caaa1354.js +1 -0
  492. package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/interview/route-17ae3509caaa1354.js +1 -0
  493. package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/pilot/route-17ae3509caaa1354.js +1 -0
  494. package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/quarterly/route-17ae3509caaa1354.js +1 -0
  495. package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/route-17ae3509caaa1354.js +1 -0
  496. package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/setup-package/route-17ae3509caaa1354.js +1 -0
  497. package/.next/standalone/.next/static/chunks/app/api/hail/engagements/route-17ae3509caaa1354.js +1 -0
  498. package/.next/standalone/.next/static/chunks/app/api/hail/interviews/[id]/responses/route-17ae3509caaa1354.js +1 -0
  499. package/.next/standalone/.next/static/chunks/app/api/hail/interviews/[id]/route-17ae3509caaa1354.js +1 -0
  500. package/.next/standalone/.next/static/chunks/app/api/hail/setup-packages/[id]/apply/route-17ae3509caaa1354.js +1 -0
  501. package/.next/standalone/.next/static/chunks/app/api/hail/setup-packages/validate/route-17ae3509caaa1354.js +1 -0
  502. package/.next/standalone/.next/static/chunks/app/api/heartbeat/tick/route-17ae3509caaa1354.js +1 -0
  503. package/.next/standalone/.next/static/chunks/app/api/heartbeat/worker/route-17ae3509caaa1354.js +1 -0
  504. package/.next/standalone/.next/static/chunks/app/api/help/route-17ae3509caaa1354.js +1 -0
  505. package/.next/standalone/.next/static/chunks/app/api/hermes/jobs/[id]/events/route-17ae3509caaa1354.js +1 -0
  506. package/.next/standalone/.next/static/chunks/app/api/hermes/jobs/[id]/route-17ae3509caaa1354.js +1 -0
  507. package/.next/standalone/.next/static/chunks/app/api/hermes/jobs/route-17ae3509caaa1354.js +1 -0
  508. package/.next/standalone/.next/static/chunks/app/api/integrations/google/callback/route-17ae3509caaa1354.js +1 -0
  509. package/.next/standalone/.next/static/chunks/app/api/integrations/google/oauth/route-17ae3509caaa1354.js +1 -0
  510. package/.next/standalone/.next/static/chunks/app/api/marketplace/[id]/route-17ae3509caaa1354.js +1 -0
  511. package/.next/standalone/.next/static/chunks/app/api/marketplace/open-design/route-17ae3509caaa1354.js +1 -0
  512. package/.next/standalone/.next/static/chunks/app/api/marketplace/route-17ae3509caaa1354.js +1 -0
  513. package/.next/standalone/.next/static/chunks/app/api/mines/import-roots/route-17ae3509caaa1354.js +1 -0
  514. package/.next/standalone/.next/static/chunks/app/api/mines/portfolio/route-17ae3509caaa1354.js +1 -0
  515. package/.next/standalone/.next/static/chunks/app/api/mines/projects/[id]/chunks/route-17ae3509caaa1354.js +1 -0
  516. package/.next/standalone/.next/static/chunks/app/api/mines/projects/[id]/diligence/route-17ae3509caaa1354.js +1 -0
  517. package/.next/standalone/.next/static/chunks/app/api/mines/projects/[id]/import/route-17ae3509caaa1354.js +1 -0
  518. package/.next/standalone/.next/static/chunks/app/api/mines/projects/[id]/publish/route-17ae3509caaa1354.js +1 -0
  519. package/.next/standalone/.next/static/chunks/app/api/mines/projects/route-17ae3509caaa1354.js +1 -0
  520. package/.next/standalone/.next/static/chunks/app/api/missions/route-17ae3509caaa1354.js +1 -0
  521. package/.next/standalone/.next/static/chunks/app/api/models/route-17ae3509caaa1354.js +1 -0
  522. package/.next/standalone/.next/static/chunks/app/api/onboarding/blueprint/route-17ae3509caaa1354.js +1 -0
  523. package/.next/standalone/.next/static/chunks/app/api/onboarding/launch/route-17ae3509caaa1354.js +1 -0
  524. package/.next/standalone/.next/static/chunks/app/api/orchestrator/command/route-17ae3509caaa1354.js +1 -0
  525. package/.next/standalone/.next/static/chunks/app/api/orchestrator/stream/route-17ae3509caaa1354.js +1 -0
  526. package/.next/standalone/.next/static/chunks/app/api/orchestrator/upload/route-17ae3509caaa1354.js +1 -0
  527. package/.next/standalone/.next/static/chunks/app/api/org/route-17ae3509caaa1354.js +1 -0
  528. package/.next/standalone/.next/static/chunks/app/api/orgs/[id]/invites/[inviteId]/route-17ae3509caaa1354.js +1 -0
  529. package/.next/standalone/.next/static/chunks/app/api/orgs/[id]/invites/route-17ae3509caaa1354.js +1 -0
  530. package/.next/standalone/.next/static/chunks/app/api/orgs/[id]/members/[userId]/role/route-17ae3509caaa1354.js +1 -0
  531. package/.next/standalone/.next/static/chunks/app/api/orgs/[id]/members/[userId]/route-17ae3509caaa1354.js +1 -0
  532. package/.next/standalone/.next/static/chunks/app/api/orgs/[id]/members/route-17ae3509caaa1354.js +1 -0
  533. package/.next/standalone/.next/static/chunks/app/api/orgs/[id]/route-17ae3509caaa1354.js +1 -0
  534. package/.next/standalone/.next/static/chunks/app/api/orgs/invites/pending/route-17ae3509caaa1354.js +1 -0
  535. package/.next/standalone/.next/static/chunks/app/api/orgs/join/route-17ae3509caaa1354.js +1 -0
  536. package/.next/standalone/.next/static/chunks/app/api/orgs/join-complete/route-17ae3509caaa1354.js +1 -0
  537. package/.next/standalone/.next/static/chunks/app/api/orgs/route-17ae3509caaa1354.js +1 -0
  538. package/.next/standalone/.next/static/chunks/app/api/printing-press/clis/route-17ae3509caaa1354.js +1 -0
  539. package/.next/standalone/.next/static/chunks/app/api/printing-press/install/route-17ae3509caaa1354.js +1 -0
  540. package/.next/standalone/.next/static/chunks/app/api/printing-press/security-mode/route-17ae3509caaa1354.js +1 -0
  541. package/.next/standalone/.next/static/chunks/app/api/privacy/config/route-17ae3509caaa1354.js +1 -0
  542. package/.next/standalone/.next/static/chunks/app/api/privacy/verify/route-17ae3509caaa1354.js +1 -0
  543. package/.next/standalone/.next/static/chunks/app/api/processes/[id]/route-17ae3509caaa1354.js +1 -0
  544. package/.next/standalone/.next/static/chunks/app/api/processes/[id]/share-link/route-17ae3509caaa1354.js +1 -0
  545. package/.next/standalone/.next/static/chunks/app/api/processes/[id]/stages/[stageId]/override/route-17ae3509caaa1354.js +1 -0
  546. package/.next/standalone/.next/static/chunks/app/api/processes/[id]/stages/[stageId]/retry/route-17ae3509caaa1354.js +1 -0
  547. package/.next/standalone/.next/static/chunks/app/api/processes/[id]/stages/[stageId]/submit/route-17ae3509caaa1354.js +1 -0
  548. package/.next/standalone/.next/static/chunks/app/api/processes/definitions/[slug]/route-17ae3509caaa1354.js +1 -0
  549. package/.next/standalone/.next/static/chunks/app/api/processes/definitions/[slug]/settings/route-17ae3509caaa1354.js +1 -0
  550. package/.next/standalone/.next/static/chunks/app/api/processes/definitions/route-17ae3509caaa1354.js +1 -0
  551. package/.next/standalone/.next/static/chunks/app/api/processes/definitions/validate/route-17ae3509caaa1354.js +1 -0
  552. package/.next/standalone/.next/static/chunks/app/api/processes/route-17ae3509caaa1354.js +1 -0
  553. package/.next/standalone/.next/static/chunks/app/api/processes/start-and-route/route-17ae3509caaa1354.js +1 -0
  554. package/.next/standalone/.next/static/chunks/app/api/projects/[slug]/library/route-17ae3509caaa1354.js +1 -0
  555. package/.next/standalone/.next/static/chunks/app/api/projects/[slug]/route-17ae3509caaa1354.js +1 -0
  556. package/.next/standalone/.next/static/chunks/app/api/projects/route-17ae3509caaa1354.js +1 -0
  557. package/.next/standalone/.next/static/chunks/app/api/runs/approve-claude-run/route-17ae3509caaa1354.js +1 -0
  558. package/.next/standalone/.next/static/chunks/app/api/runs/claude-code-dry-run/route-17ae3509caaa1354.js +1 -0
  559. package/.next/standalone/.next/static/chunks/app/api/runs/competitor-report/route-17ae3509caaa1354.js +1 -0
  560. package/.next/standalone/.next/static/chunks/app/api/runs/engine-ping/route-17ae3509caaa1354.js +1 -0
  561. package/.next/standalone/.next/static/chunks/app/api/runs/marketing-plan/route-17ae3509caaa1354.js +1 -0
  562. package/.next/standalone/.next/static/chunks/app/api/schedules/upsert/route-17ae3509caaa1354.js +1 -0
  563. package/.next/standalone/.next/static/chunks/app/api/secrets/[name]/route-17ae3509caaa1354.js +1 -0
  564. package/.next/standalone/.next/static/chunks/app/api/secrets/route-17ae3509caaa1354.js +1 -0
  565. package/.next/standalone/.next/static/chunks/app/api/settings/trust-mode/route-17ae3509caaa1354.js +1 -0
  566. package/.next/standalone/.next/static/chunks/app/api/share/[token]/otp/route-17ae3509caaa1354.js +1 -0
  567. package/.next/standalone/.next/static/chunks/app/api/share/[token]/route-17ae3509caaa1354.js +1 -0
  568. package/.next/standalone/.next/static/chunks/app/api/share/[token]/verify/route-17ae3509caaa1354.js +1 -0
  569. package/.next/standalone/.next/static/chunks/app/api/share/space/[token]/otp/route-17ae3509caaa1354.js +1 -0
  570. package/.next/standalone/.next/static/chunks/app/api/share/space/[token]/route-17ae3509caaa1354.js +1 -0
  571. package/.next/standalone/.next/static/chunks/app/api/share/space/[token]/verify/route-17ae3509caaa1354.js +1 -0
  572. package/.next/standalone/.next/static/chunks/app/api/shared/spaces/[id]/acl/route-17ae3509caaa1354.js +1 -0
  573. package/.next/standalone/.next/static/chunks/app/api/shared/spaces/publish/route-17ae3509caaa1354.js +1 -0
  574. package/.next/standalone/.next/static/chunks/app/api/shared/spaces/route-17ae3509caaa1354.js +1 -0
  575. package/.next/standalone/.next/static/chunks/app/api/shared/spaces/status/route-17ae3509caaa1354.js +1 -0
  576. package/.next/standalone/.next/static/chunks/app/api/shared/spaces/unpublish/route-17ae3509caaa1354.js +1 -0
  577. package/.next/standalone/.next/static/chunks/app/api/state/route-17ae3509caaa1354.js +1 -0
  578. package/.next/standalone/.next/static/chunks/app/api/system/update/route-17ae3509caaa1354.js +1 -0
  579. package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/active-run/route-17ae3509caaa1354.js +1 -0
  580. package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/attachments/route-17ae3509caaa1354.js +1 -0
  581. package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/checklist/[itemId]/route-17ae3509caaa1354.js +1 -0
  582. package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/checklist/route-17ae3509caaa1354.js +1 -0
  583. package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/checkout/route-17ae3509caaa1354.js +1 -0
  584. package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/children/route-17ae3509caaa1354.js +1 -0
  585. package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/comments/route-17ae3509caaa1354.js +1 -0
  586. package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/events/route-17ae3509caaa1354.js +1 -0
  587. package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/live-runs/route-17ae3509caaa1354.js +1 -0
  588. package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/release/route-17ae3509caaa1354.js +1 -0
  589. package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/route-17ae3509caaa1354.js +1 -0
  590. package/.next/standalone/.next/static/chunks/app/api/tasks/route-17ae3509caaa1354.js +1 -0
  591. package/.next/standalone/.next/static/chunks/app/api/tool-allowlists/[id]/route-17ae3509caaa1354.js +1 -0
  592. package/.next/standalone/.next/static/chunks/app/api/tool-allowlists/route-17ae3509caaa1354.js +1 -0
  593. package/.next/standalone/.next/static/chunks/app/api/tool-egress/route-17ae3509caaa1354.js +1 -0
  594. package/.next/standalone/.next/static/chunks/app/api/tools/[name]/approve/route-17ae3509caaa1354.js +1 -0
  595. package/.next/standalone/.next/static/chunks/app/api/tools/[name]/route-17ae3509caaa1354.js +1 -0
  596. package/.next/standalone/.next/static/chunks/app/api/tools/route-17ae3509caaa1354.js +1 -0
  597. package/.next/standalone/.next/static/chunks/app/api/transcripts/route-17ae3509caaa1354.js +1 -0
  598. package/.next/standalone/.next/static/chunks/app/api/voice/providers/route-17ae3509caaa1354.js +1 -0
  599. package/.next/standalone/.next/static/chunks/app/api/voice/realtime/context/route-17ae3509caaa1354.js +1 -0
  600. package/.next/standalone/.next/static/chunks/app/api/voice/realtime/session/route-17ae3509caaa1354.js +1 -0
  601. package/.next/standalone/.next/static/chunks/app/api/voice/realtime/tool-result/route-17ae3509caaa1354.js +1 -0
  602. package/.next/standalone/.next/static/chunks/app/api/voice/realtime/tools/route-17ae3509caaa1354.js +1 -0
  603. package/.next/standalone/.next/static/chunks/app/api/voice/tts/route-17ae3509caaa1354.js +1 -0
  604. package/.next/standalone/.next/static/chunks/app/api/whatsapp/allowlist/route-17ae3509caaa1354.js +1 -0
  605. package/.next/standalone/.next/static/chunks/app/api/whatsapp/disconnect/route-17ae3509caaa1354.js +1 -0
  606. package/.next/standalone/.next/static/chunks/app/api/whatsapp/messages/route-17ae3509caaa1354.js +1 -0
  607. package/.next/standalone/.next/static/chunks/app/api/whatsapp/qr/route-17ae3509caaa1354.js +1 -0
  608. package/.next/standalone/.next/static/chunks/app/api/whatsapp/send/route-17ae3509caaa1354.js +1 -0
  609. package/.next/standalone/.next/static/chunks/app/api/whatsapp/status/route-17ae3509caaa1354.js +1 -0
  610. package/.next/standalone/.next/static/chunks/app/approvals/loading-17ae3509caaa1354.js +1 -0
  611. package/.next/standalone/.next/static/chunks/app/architecture/loading-17ae3509caaa1354.js +1 -0
  612. package/.next/standalone/.next/static/chunks/app/audit/loading-17ae3509caaa1354.js +1 -0
  613. package/.next/standalone/.next/static/chunks/app/brand/loading-17ae3509caaa1354.js +1 -0
  614. package/.next/standalone/.next/static/chunks/app/disk/loading-17ae3509caaa1354.js +1 -0
  615. package/.next/standalone/.next/static/chunks/app/federated-ai/loading-17ae3509caaa1354.js +1 -0
  616. package/.next/standalone/.next/static/chunks/app/help/loading-17ae3509caaa1354.js +1 -0
  617. package/.next/standalone/.next/static/chunks/app/layout-457acc50d33a5e0e.js +1 -0
  618. package/.next/standalone/.next/static/chunks/app/loading-17ae3509caaa1354.js +1 -0
  619. package/.next/standalone/.next/static/chunks/app/login/page-69e66f7316e3aaf2.js +1 -0
  620. package/.next/standalone/.next/static/chunks/app/marketplace/loading-17ae3509caaa1354.js +1 -0
  621. package/.next/standalone/.next/static/chunks/app/marketplace/page-b21a9b2946742aa4.js +1 -0
  622. package/.next/standalone/.next/static/chunks/app/missions/loading-17ae3509caaa1354.js +1 -0
  623. package/.next/standalone/.next/static/chunks/app/onboarding/loading-17ae3509caaa1354.js +1 -0
  624. package/.next/standalone/.next/static/chunks/app/org/loading-17ae3509caaa1354.js +1 -0
  625. package/.next/standalone/.next/static/chunks/app/page-9a013fdb2983cbf4.js +1 -0
  626. package/.next/standalone/.next/static/chunks/app/projects/[slug]/loading-17ae3509caaa1354.js +1 -0
  627. package/.next/standalone/.next/static/chunks/app/projects/loading-17ae3509caaa1354.js +1 -0
  628. package/.next/standalone/.next/static/chunks/app/projects/page-3d7140091264933a.js +1 -0
  629. package/.next/standalone/.next/static/chunks/app/reports/[file]/route-17ae3509caaa1354.js +1 -0
  630. package/.next/standalone/.next/static/chunks/app/reports/loading-17ae3509caaa1354.js +1 -0
  631. package/.next/standalone/.next/static/chunks/app/runtime/loading-17ae3509caaa1354.js +1 -0
  632. package/.next/standalone/.next/static/chunks/app/schedules/loading-17ae3509caaa1354.js +1 -0
  633. package/.next/standalone/.next/static/chunks/app/settings/layout-fd443bfa8cac181e.js +1 -0
  634. package/.next/standalone/.next/static/chunks/app/settings/loading-17ae3509caaa1354.js +1 -0
  635. package/.next/standalone/.next/static/chunks/app/settings/page-17ae3509caaa1354.js +1 -0
  636. package/.next/standalone/.next/static/chunks/app/tasks/[id]/loading-17ae3509caaa1354.js +1 -0
  637. package/.next/standalone/.next/static/chunks/app/tasks/loading-17ae3509caaa1354.js +1 -0
  638. package/.next/standalone/.next/static/chunks/app/tools/loading-17ae3509caaa1354.js +1 -0
  639. package/.next/standalone/.next/static/chunks/app/tools/page-17ae3509caaa1354.js +1 -0
  640. package/.next/standalone/.next/static/chunks/app/whatsapp/loading-17ae3509caaa1354.js +1 -0
  641. package/.next/standalone/.next/static/chunks/app/workflows/share/[caseId]/page-17ae3509caaa1354.js +1 -0
  642. package/.next/standalone/.next/static/chunks/webpack-e4f2cfb4ad98f256.js +1 -0
  643. package/.next/standalone/.next/static/css/31fb2fdadf8f1c6b.css +1 -0
  644. package/.next/standalone/CHANGELOG.md +39 -0
  645. package/.next/standalone/package.json +4 -2
  646. package/.next/static/chunks/494-02cf75066d25e8ac.js +1 -0
  647. package/.next/static/chunks/8217.9459315d921fdd61.js +1 -0
  648. package/.next/static/chunks/app/activity/loading-17ae3509caaa1354.js +1 -0
  649. package/.next/static/chunks/app/agents/[id]/loading-17ae3509caaa1354.js +1 -0
  650. package/.next/static/chunks/app/agents/[id]/page-fd263522f6c29653.js +1 -0
  651. package/.next/static/chunks/app/agents/loading-17ae3509caaa1354.js +1 -0
  652. package/.next/static/chunks/app/agents/page-5860869c305cc54b.js +1 -0
  653. package/.next/static/chunks/app/api/activity/route-17ae3509caaa1354.js +1 -0
  654. package/.next/static/chunks/app/api/admin/audit-export/route-17ae3509caaa1354.js +1 -0
  655. package/.next/static/chunks/app/api/admin/share-links/route-17ae3509caaa1354.js +1 -0
  656. package/.next/static/chunks/app/api/agent-memory/route-17ae3509caaa1354.js +1 -0
  657. package/.next/static/chunks/app/api/agent-runs/[id]/cancel/route-17ae3509caaa1354.js +1 -0
  658. package/.next/static/chunks/app/api/agent-runs/[id]/events/route-17ae3509caaa1354.js +1 -0
  659. package/.next/static/chunks/app/api/agent-runs/[id]/log/route-17ae3509caaa1354.js +1 -0
  660. package/.next/static/chunks/app/api/agent-runs/[id]/route-17ae3509caaa1354.js +1 -0
  661. package/.next/static/chunks/app/api/agent-runs/route-17ae3509caaa1354.js +1 -0
  662. package/.next/static/chunks/app/api/agents/[id]/active-run/route-17ae3509caaa1354.js +1 -0
  663. package/.next/static/chunks/app/api/agents/[id]/chain/route-17ae3509caaa1354.js +1 -0
  664. package/.next/static/chunks/app/api/agents/[id]/memory/route-17ae3509caaa1354.js +1 -0
  665. package/.next/static/chunks/app/api/agents/[id]/reports/route-17ae3509caaa1354.js +1 -0
  666. package/.next/static/chunks/app/api/agents/[id]/run/route-17ae3509caaa1354.js +1 -0
  667. package/.next/static/chunks/app/api/agents/[id]/skills/route-17ae3509caaa1354.js +1 -0
  668. package/.next/static/chunks/app/api/agents/create/route-17ae3509caaa1354.js +1 -0
  669. package/.next/static/chunks/app/api/agents/ops/route-17ae3509caaa1354.js +1 -0
  670. package/.next/static/chunks/app/api/approvals/[id]/route-17ae3509caaa1354.js +1 -0
  671. package/.next/static/chunks/app/api/approvals/route-17ae3509caaa1354.js +1 -0
  672. package/.next/static/chunks/app/api/artifacts/[id]/acl/route-17ae3509caaa1354.js +1 -0
  673. package/.next/static/chunks/app/api/artifacts/[id]/protect/route-17ae3509caaa1354.js +1 -0
  674. package/.next/static/chunks/app/api/artifacts/[id]/raw/route-17ae3509caaa1354.js +1 -0
  675. package/.next/static/chunks/app/api/artifacts/[id]/route-17ae3509caaa1354.js +1 -0
  676. package/.next/static/chunks/app/api/artifacts/[id]/share-link/[linkId]/route-17ae3509caaa1354.js +1 -0
  677. package/.next/static/chunks/app/api/artifacts/[id]/share-link/route-17ae3509caaa1354.js +1 -0
  678. package/.next/static/chunks/app/api/artifacts/upload/route-17ae3509caaa1354.js +1 -0
  679. package/.next/static/chunks/app/api/audit/list/route-17ae3509caaa1354.js +1 -0
  680. package/.next/static/chunks/app/api/audit/search/route-17ae3509caaa1354.js +1 -0
  681. package/.next/static/chunks/app/api/auth/callback/route-17ae3509caaa1354.js +1 -0
  682. package/.next/static/chunks/app/api/auth/config/route-17ae3509caaa1354.js +1 -0
  683. package/.next/static/chunks/app/api/auth/join-bootstrap/route-17ae3509caaa1354.js +1 -0
  684. package/.next/static/chunks/app/api/auth/session/route-17ae3509caaa1354.js +1 -0
  685. package/.next/static/chunks/app/api/brand/route-17ae3509caaa1354.js +1 -0
  686. package/.next/static/chunks/app/api/brand/share/route-17ae3509caaa1354.js +1 -0
  687. package/.next/static/chunks/app/api/chat/sessions/[id]/route-17ae3509caaa1354.js +1 -0
  688. package/.next/static/chunks/app/api/chat/sessions/route-17ae3509caaa1354.js +1 -0
  689. package/.next/static/chunks/app/api/config/env/route-17ae3509caaa1354.js +1 -0
  690. package/.next/static/chunks/app/api/config/route-17ae3509caaa1354.js +1 -0
  691. package/.next/static/chunks/app/api/connections/[service]/route-17ae3509caaa1354.js +1 -0
  692. package/.next/static/chunks/app/api/connections/[service]/verify/route-17ae3509caaa1354.js +1 -0
  693. package/.next/static/chunks/app/api/connections/route-17ae3509caaa1354.js +1 -0
  694. package/.next/static/chunks/app/api/cron/tick/route-17ae3509caaa1354.js +1 -0
  695. package/.next/static/chunks/app/api/dashboard/spaces/[id]/move/route-17ae3509caaa1354.js +1 -0
  696. package/.next/static/chunks/app/api/dashboard/spaces/[id]/route-17ae3509caaa1354.js +1 -0
  697. package/.next/static/chunks/app/api/dashboard/spaces/[id]/share-link/[linkId]/route-17ae3509caaa1354.js +1 -0
  698. package/.next/static/chunks/app/api/dashboard/spaces/[id]/share-link/route-17ae3509caaa1354.js +1 -0
  699. package/.next/static/chunks/app/api/dashboard/spaces/import/route-17ae3509caaa1354.js +1 -0
  700. package/.next/static/chunks/app/api/dashboard/spaces/route-17ae3509caaa1354.js +1 -0
  701. package/.next/static/chunks/app/api/disk/files/[id]/blob/route-17ae3509caaa1354.js +1 -0
  702. package/.next/static/chunks/app/api/disk/files/[id]/route-17ae3509caaa1354.js +1 -0
  703. package/.next/static/chunks/app/api/disk/files/[id]/transcribe/route-17ae3509caaa1354.js +1 -0
  704. package/.next/static/chunks/app/api/disk/files/route-17ae3509caaa1354.js +1 -0
  705. package/.next/static/chunks/app/api/disk/folders/route-17ae3509caaa1354.js +1 -0
  706. package/.next/static/chunks/app/api/events/since/[cursor]/route-17ae3509caaa1354.js +1 -0
  707. package/.next/static/chunks/app/api/events/stream/route-17ae3509caaa1354.js +1 -0
  708. package/.next/static/chunks/app/api/fs/create-folder/route-17ae3509caaa1354.js +1 -0
  709. package/.next/static/chunks/app/api/fs/pick-folder/route-17ae3509caaa1354.js +1 -0
  710. package/.next/static/chunks/app/api/hail/engagements/[id]/blueprint/route-17ae3509caaa1354.js +1 -0
  711. package/.next/static/chunks/app/api/hail/engagements/[id]/diagnostic/route-17ae3509caaa1354.js +1 -0
  712. package/.next/static/chunks/app/api/hail/engagements/[id]/governance/route-17ae3509caaa1354.js +1 -0
  713. package/.next/static/chunks/app/api/hail/engagements/[id]/interview/route-17ae3509caaa1354.js +1 -0
  714. package/.next/static/chunks/app/api/hail/engagements/[id]/pilot/route-17ae3509caaa1354.js +1 -0
  715. package/.next/static/chunks/app/api/hail/engagements/[id]/quarterly/route-17ae3509caaa1354.js +1 -0
  716. package/.next/static/chunks/app/api/hail/engagements/[id]/route-17ae3509caaa1354.js +1 -0
  717. package/.next/static/chunks/app/api/hail/engagements/[id]/setup-package/route-17ae3509caaa1354.js +1 -0
  718. package/.next/static/chunks/app/api/hail/engagements/route-17ae3509caaa1354.js +1 -0
  719. package/.next/static/chunks/app/api/hail/interviews/[id]/responses/route-17ae3509caaa1354.js +1 -0
  720. package/.next/static/chunks/app/api/hail/interviews/[id]/route-17ae3509caaa1354.js +1 -0
  721. package/.next/static/chunks/app/api/hail/setup-packages/[id]/apply/route-17ae3509caaa1354.js +1 -0
  722. package/.next/static/chunks/app/api/hail/setup-packages/validate/route-17ae3509caaa1354.js +1 -0
  723. package/.next/static/chunks/app/api/heartbeat/tick/route-17ae3509caaa1354.js +1 -0
  724. package/.next/static/chunks/app/api/heartbeat/worker/route-17ae3509caaa1354.js +1 -0
  725. package/.next/static/chunks/app/api/help/route-17ae3509caaa1354.js +1 -0
  726. package/.next/static/chunks/app/api/hermes/jobs/[id]/events/route-17ae3509caaa1354.js +1 -0
  727. package/.next/static/chunks/app/api/hermes/jobs/[id]/route-17ae3509caaa1354.js +1 -0
  728. package/.next/static/chunks/app/api/hermes/jobs/route-17ae3509caaa1354.js +1 -0
  729. package/.next/static/chunks/app/api/integrations/google/callback/route-17ae3509caaa1354.js +1 -0
  730. package/.next/static/chunks/app/api/integrations/google/oauth/route-17ae3509caaa1354.js +1 -0
  731. package/.next/static/chunks/app/api/marketplace/[id]/route-17ae3509caaa1354.js +1 -0
  732. package/.next/static/chunks/app/api/marketplace/open-design/route-17ae3509caaa1354.js +1 -0
  733. package/.next/static/chunks/app/api/marketplace/route-17ae3509caaa1354.js +1 -0
  734. package/.next/static/chunks/app/api/mines/import-roots/route-17ae3509caaa1354.js +1 -0
  735. package/.next/static/chunks/app/api/mines/portfolio/route-17ae3509caaa1354.js +1 -0
  736. package/.next/static/chunks/app/api/mines/projects/[id]/chunks/route-17ae3509caaa1354.js +1 -0
  737. package/.next/static/chunks/app/api/mines/projects/[id]/diligence/route-17ae3509caaa1354.js +1 -0
  738. package/.next/static/chunks/app/api/mines/projects/[id]/import/route-17ae3509caaa1354.js +1 -0
  739. package/.next/static/chunks/app/api/mines/projects/[id]/publish/route-17ae3509caaa1354.js +1 -0
  740. package/.next/static/chunks/app/api/mines/projects/route-17ae3509caaa1354.js +1 -0
  741. package/.next/static/chunks/app/api/missions/route-17ae3509caaa1354.js +1 -0
  742. package/.next/static/chunks/app/api/models/route-17ae3509caaa1354.js +1 -0
  743. package/.next/static/chunks/app/api/onboarding/blueprint/route-17ae3509caaa1354.js +1 -0
  744. package/.next/static/chunks/app/api/onboarding/launch/route-17ae3509caaa1354.js +1 -0
  745. package/.next/static/chunks/app/api/orchestrator/command/route-17ae3509caaa1354.js +1 -0
  746. package/.next/static/chunks/app/api/orchestrator/stream/route-17ae3509caaa1354.js +1 -0
  747. package/.next/static/chunks/app/api/orchestrator/upload/route-17ae3509caaa1354.js +1 -0
  748. package/.next/static/chunks/app/api/org/route-17ae3509caaa1354.js +1 -0
  749. package/.next/static/chunks/app/api/orgs/[id]/invites/[inviteId]/route-17ae3509caaa1354.js +1 -0
  750. package/.next/static/chunks/app/api/orgs/[id]/invites/route-17ae3509caaa1354.js +1 -0
  751. package/.next/static/chunks/app/api/orgs/[id]/members/[userId]/role/route-17ae3509caaa1354.js +1 -0
  752. package/.next/static/chunks/app/api/orgs/[id]/members/[userId]/route-17ae3509caaa1354.js +1 -0
  753. package/.next/static/chunks/app/api/orgs/[id]/members/route-17ae3509caaa1354.js +1 -0
  754. package/.next/static/chunks/app/api/orgs/[id]/route-17ae3509caaa1354.js +1 -0
  755. package/.next/static/chunks/app/api/orgs/invites/pending/route-17ae3509caaa1354.js +1 -0
  756. package/.next/static/chunks/app/api/orgs/join/route-17ae3509caaa1354.js +1 -0
  757. package/.next/static/chunks/app/api/orgs/join-complete/route-17ae3509caaa1354.js +1 -0
  758. package/.next/static/chunks/app/api/orgs/route-17ae3509caaa1354.js +1 -0
  759. package/.next/static/chunks/app/api/printing-press/clis/route-17ae3509caaa1354.js +1 -0
  760. package/.next/static/chunks/app/api/printing-press/install/route-17ae3509caaa1354.js +1 -0
  761. package/.next/static/chunks/app/api/printing-press/security-mode/route-17ae3509caaa1354.js +1 -0
  762. package/.next/static/chunks/app/api/privacy/config/route-17ae3509caaa1354.js +1 -0
  763. package/.next/static/chunks/app/api/privacy/verify/route-17ae3509caaa1354.js +1 -0
  764. package/.next/static/chunks/app/api/processes/[id]/route-17ae3509caaa1354.js +1 -0
  765. package/.next/static/chunks/app/api/processes/[id]/share-link/route-17ae3509caaa1354.js +1 -0
  766. package/.next/static/chunks/app/api/processes/[id]/stages/[stageId]/override/route-17ae3509caaa1354.js +1 -0
  767. package/.next/static/chunks/app/api/processes/[id]/stages/[stageId]/retry/route-17ae3509caaa1354.js +1 -0
  768. package/.next/static/chunks/app/api/processes/[id]/stages/[stageId]/submit/route-17ae3509caaa1354.js +1 -0
  769. package/.next/static/chunks/app/api/processes/definitions/[slug]/route-17ae3509caaa1354.js +1 -0
  770. package/.next/static/chunks/app/api/processes/definitions/[slug]/settings/route-17ae3509caaa1354.js +1 -0
  771. package/.next/static/chunks/app/api/processes/definitions/route-17ae3509caaa1354.js +1 -0
  772. package/.next/static/chunks/app/api/processes/definitions/validate/route-17ae3509caaa1354.js +1 -0
  773. package/.next/static/chunks/app/api/processes/route-17ae3509caaa1354.js +1 -0
  774. package/.next/static/chunks/app/api/processes/start-and-route/route-17ae3509caaa1354.js +1 -0
  775. package/.next/static/chunks/app/api/projects/[slug]/library/route-17ae3509caaa1354.js +1 -0
  776. package/.next/static/chunks/app/api/projects/[slug]/route-17ae3509caaa1354.js +1 -0
  777. package/.next/static/chunks/app/api/projects/route-17ae3509caaa1354.js +1 -0
  778. package/.next/static/chunks/app/api/runs/approve-claude-run/route-17ae3509caaa1354.js +1 -0
  779. package/.next/static/chunks/app/api/runs/claude-code-dry-run/route-17ae3509caaa1354.js +1 -0
  780. package/.next/static/chunks/app/api/runs/competitor-report/route-17ae3509caaa1354.js +1 -0
  781. package/.next/static/chunks/app/api/runs/engine-ping/route-17ae3509caaa1354.js +1 -0
  782. package/.next/static/chunks/app/api/runs/marketing-plan/route-17ae3509caaa1354.js +1 -0
  783. package/.next/static/chunks/app/api/schedules/upsert/route-17ae3509caaa1354.js +1 -0
  784. package/.next/static/chunks/app/api/secrets/[name]/route-17ae3509caaa1354.js +1 -0
  785. package/.next/static/chunks/app/api/secrets/route-17ae3509caaa1354.js +1 -0
  786. package/.next/static/chunks/app/api/settings/trust-mode/route-17ae3509caaa1354.js +1 -0
  787. package/.next/static/chunks/app/api/share/[token]/otp/route-17ae3509caaa1354.js +1 -0
  788. package/.next/static/chunks/app/api/share/[token]/route-17ae3509caaa1354.js +1 -0
  789. package/.next/static/chunks/app/api/share/[token]/verify/route-17ae3509caaa1354.js +1 -0
  790. package/.next/static/chunks/app/api/share/space/[token]/otp/route-17ae3509caaa1354.js +1 -0
  791. package/.next/static/chunks/app/api/share/space/[token]/route-17ae3509caaa1354.js +1 -0
  792. package/.next/static/chunks/app/api/share/space/[token]/verify/route-17ae3509caaa1354.js +1 -0
  793. package/.next/static/chunks/app/api/shared/spaces/[id]/acl/route-17ae3509caaa1354.js +1 -0
  794. package/.next/static/chunks/app/api/shared/spaces/publish/route-17ae3509caaa1354.js +1 -0
  795. package/.next/static/chunks/app/api/shared/spaces/route-17ae3509caaa1354.js +1 -0
  796. package/.next/static/chunks/app/api/shared/spaces/status/route-17ae3509caaa1354.js +1 -0
  797. package/.next/static/chunks/app/api/shared/spaces/unpublish/route-17ae3509caaa1354.js +1 -0
  798. package/.next/static/chunks/app/api/state/route-17ae3509caaa1354.js +1 -0
  799. package/.next/static/chunks/app/api/system/update/route-17ae3509caaa1354.js +1 -0
  800. package/.next/static/chunks/app/api/tasks/[id]/active-run/route-17ae3509caaa1354.js +1 -0
  801. package/.next/static/chunks/app/api/tasks/[id]/attachments/route-17ae3509caaa1354.js +1 -0
  802. package/.next/static/chunks/app/api/tasks/[id]/checklist/[itemId]/route-17ae3509caaa1354.js +1 -0
  803. package/.next/static/chunks/app/api/tasks/[id]/checklist/route-17ae3509caaa1354.js +1 -0
  804. package/.next/static/chunks/app/api/tasks/[id]/checkout/route-17ae3509caaa1354.js +1 -0
  805. package/.next/static/chunks/app/api/tasks/[id]/children/route-17ae3509caaa1354.js +1 -0
  806. package/.next/static/chunks/app/api/tasks/[id]/comments/route-17ae3509caaa1354.js +1 -0
  807. package/.next/static/chunks/app/api/tasks/[id]/events/route-17ae3509caaa1354.js +1 -0
  808. package/.next/static/chunks/app/api/tasks/[id]/live-runs/route-17ae3509caaa1354.js +1 -0
  809. package/.next/static/chunks/app/api/tasks/[id]/release/route-17ae3509caaa1354.js +1 -0
  810. package/.next/static/chunks/app/api/tasks/[id]/route-17ae3509caaa1354.js +1 -0
  811. package/.next/static/chunks/app/api/tasks/route-17ae3509caaa1354.js +1 -0
  812. package/.next/static/chunks/app/api/tool-allowlists/[id]/route-17ae3509caaa1354.js +1 -0
  813. package/.next/static/chunks/app/api/tool-allowlists/route-17ae3509caaa1354.js +1 -0
  814. package/.next/static/chunks/app/api/tool-egress/route-17ae3509caaa1354.js +1 -0
  815. package/.next/static/chunks/app/api/tools/[name]/approve/route-17ae3509caaa1354.js +1 -0
  816. package/.next/static/chunks/app/api/tools/[name]/route-17ae3509caaa1354.js +1 -0
  817. package/.next/static/chunks/app/api/tools/route-17ae3509caaa1354.js +1 -0
  818. package/.next/static/chunks/app/api/transcripts/route-17ae3509caaa1354.js +1 -0
  819. package/.next/static/chunks/app/api/voice/providers/route-17ae3509caaa1354.js +1 -0
  820. package/.next/static/chunks/app/api/voice/realtime/context/route-17ae3509caaa1354.js +1 -0
  821. package/.next/static/chunks/app/api/voice/realtime/session/route-17ae3509caaa1354.js +1 -0
  822. package/.next/static/chunks/app/api/voice/realtime/tool-result/route-17ae3509caaa1354.js +1 -0
  823. package/.next/static/chunks/app/api/voice/realtime/tools/route-17ae3509caaa1354.js +1 -0
  824. package/.next/static/chunks/app/api/voice/tts/route-17ae3509caaa1354.js +1 -0
  825. package/.next/static/chunks/app/api/whatsapp/allowlist/route-17ae3509caaa1354.js +1 -0
  826. package/.next/static/chunks/app/api/whatsapp/disconnect/route-17ae3509caaa1354.js +1 -0
  827. package/.next/static/chunks/app/api/whatsapp/messages/route-17ae3509caaa1354.js +1 -0
  828. package/.next/static/chunks/app/api/whatsapp/qr/route-17ae3509caaa1354.js +1 -0
  829. package/.next/static/chunks/app/api/whatsapp/send/route-17ae3509caaa1354.js +1 -0
  830. package/.next/static/chunks/app/api/whatsapp/status/route-17ae3509caaa1354.js +1 -0
  831. package/.next/static/chunks/app/approvals/loading-17ae3509caaa1354.js +1 -0
  832. package/.next/static/chunks/app/architecture/loading-17ae3509caaa1354.js +1 -0
  833. package/.next/static/chunks/app/audit/loading-17ae3509caaa1354.js +1 -0
  834. package/.next/static/chunks/app/brand/loading-17ae3509caaa1354.js +1 -0
  835. package/.next/static/chunks/app/disk/loading-17ae3509caaa1354.js +1 -0
  836. package/.next/static/chunks/app/federated-ai/loading-17ae3509caaa1354.js +1 -0
  837. package/.next/static/chunks/app/help/loading-17ae3509caaa1354.js +1 -0
  838. package/.next/static/chunks/app/layout-457acc50d33a5e0e.js +1 -0
  839. package/.next/static/chunks/app/loading-17ae3509caaa1354.js +1 -0
  840. package/.next/static/chunks/app/login/page-69e66f7316e3aaf2.js +1 -0
  841. package/.next/static/chunks/app/marketplace/loading-17ae3509caaa1354.js +1 -0
  842. package/.next/static/chunks/app/marketplace/page-b21a9b2946742aa4.js +1 -0
  843. package/.next/static/chunks/app/missions/loading-17ae3509caaa1354.js +1 -0
  844. package/.next/static/chunks/app/onboarding/loading-17ae3509caaa1354.js +1 -0
  845. package/.next/static/chunks/app/org/loading-17ae3509caaa1354.js +1 -0
  846. package/.next/static/chunks/app/page-9a013fdb2983cbf4.js +1 -0
  847. package/.next/static/chunks/app/projects/[slug]/loading-17ae3509caaa1354.js +1 -0
  848. package/.next/static/chunks/app/projects/loading-17ae3509caaa1354.js +1 -0
  849. package/.next/static/chunks/app/projects/page-3d7140091264933a.js +1 -0
  850. package/.next/static/chunks/app/reports/[file]/route-17ae3509caaa1354.js +1 -0
  851. package/.next/static/chunks/app/reports/loading-17ae3509caaa1354.js +1 -0
  852. package/.next/static/chunks/app/runtime/loading-17ae3509caaa1354.js +1 -0
  853. package/.next/static/chunks/app/schedules/loading-17ae3509caaa1354.js +1 -0
  854. package/.next/static/chunks/app/settings/layout-fd443bfa8cac181e.js +1 -0
  855. package/.next/static/chunks/app/settings/loading-17ae3509caaa1354.js +1 -0
  856. package/.next/static/chunks/app/settings/page-17ae3509caaa1354.js +1 -0
  857. package/.next/static/chunks/app/tasks/[id]/loading-17ae3509caaa1354.js +1 -0
  858. package/.next/static/chunks/app/tasks/loading-17ae3509caaa1354.js +1 -0
  859. package/.next/static/chunks/app/tools/loading-17ae3509caaa1354.js +1 -0
  860. package/.next/static/chunks/app/tools/page-17ae3509caaa1354.js +1 -0
  861. package/.next/static/chunks/app/whatsapp/loading-17ae3509caaa1354.js +1 -0
  862. package/.next/static/chunks/app/workflows/share/[caseId]/page-17ae3509caaa1354.js +1 -0
  863. package/.next/static/chunks/webpack-e4f2cfb4ad98f256.js +1 -0
  864. package/.next/static/css/31fb2fdadf8f1c6b.css +1 -0
  865. package/CHANGELOG.md +39 -0
  866. package/CLAUDE.md +1 -1
  867. package/README.md +1 -1
  868. package/ai-docs/key-constraints.md +9 -1
  869. package/app/agents/[id]/agent-activity-feed.tsx +43 -7
  870. package/app/agents/[id]/agent-detail-simple.tsx +1 -1
  871. package/app/agents/agent-events-bus.js +11 -1
  872. package/app/agents/agent-run-button.jsx +13 -0
  873. package/app/api/agents/[id]/active-run/route.js +23 -0
  874. package/app/api/agents/[id]/run/route.js +27 -8
  875. package/app/api/connections/[service]/verify/route.js +29 -1
  876. package/app/api/fs/pick-folder/route.js +13 -11
  877. package/app/api/orchestrator/stream/route.js +92 -9
  878. package/app/api/voice/realtime/session/route.js +4 -0
  879. package/app/components/app-chrome.jsx +2 -0
  880. package/app/components/app-topbar.jsx +337 -0
  881. package/app/components/dashboard/canvas-section.jsx +73 -53
  882. package/app/components/dashboard/chat-panel.jsx +54 -5
  883. package/app/components/dashboard/thinking-disclosure.jsx +59 -0
  884. package/app/components/dashboard/tool-steps.js +9 -0
  885. package/app/components/dashboard/use-main-agent-stream.js +2 -0
  886. package/app/components/dashboard/use-realtime-voice.js +33 -5
  887. package/app/components/dashboard/use-stream-command.js +29 -2
  888. package/app/components/dashboard/voice-panel.jsx +148 -36
  889. package/app/components/smart-search.jsx +11 -0
  890. package/app/components/ui/marketplace/install-toggle.jsx +44 -9
  891. package/app/globals.css +255 -12
  892. package/app/login/login-client.jsx +38 -7
  893. package/app/marketplace/connection-setup-modal.jsx +31 -1
  894. package/app/marketplace/connection-setup-steps/api-key-step.jsx +20 -3
  895. package/app/marketplace/install-toast.jsx +1 -1
  896. package/app/marketplace/marketplace-row.jsx +8 -1
  897. package/app/marketplace/marketplace-shell.jsx +78 -7
  898. package/app/marketplace/workflow-card.jsx +2 -1
  899. package/lib/active-runs.js +33 -0
  900. package/lib/agent-config.js +8 -8
  901. package/lib/agent-engines.js +189 -22
  902. package/lib/agent-runner.js +36 -0
  903. package/lib/auth-config.js +24 -8
  904. package/lib/auth.js +21 -8
  905. package/lib/claude.js +19 -2
  906. package/lib/cli/doctor.js +25 -0
  907. package/lib/connection-seeds.js +1 -1
  908. package/lib/engine-verbosity.js +42 -0
  909. package/lib/env-file.js +3 -0
  910. package/lib/heartbeat-worker.js +5 -1
  911. package/lib/pick-folder-authz.js +15 -0
  912. package/lib/realtime-openai.js +49 -1
  913. package/lib/tools/adapters/browser-session.js +37 -8
  914. package/lib/tools/adapters/github.js +47 -5
  915. package/lib/tools/adapters/skill-bridge.js +146 -0
  916. package/lib/tools/registry.js +40 -4
  917. package/lib/voice/context.js +1 -1
  918. package/lib/voice/tools.js +34 -2
  919. package/package.json +4 -2
  920. package/scripts/migrate-auth-v1.mjs +92 -0
  921. package/scripts/prepack-guard.mjs +79 -0
  922. package/.next/standalone/.next/server/chunks/3676.js +0 -9
  923. package/.next/standalone/.next/server/chunks/5093.js +0 -1
  924. package/.next/standalone/.next/server/chunks/9860.js +0 -1
  925. package/.next/standalone/.next/static/chunks/7597-9d44318ae8a6db9b.js +0 -1
  926. package/.next/standalone/.next/static/chunks/8217.0beb0a316c7ad5d8.js +0 -1
  927. package/.next/standalone/.next/static/chunks/app/activity/loading-ac9aed5c6e27d434.js +0 -1
  928. package/.next/standalone/.next/static/chunks/app/agents/[id]/loading-ac9aed5c6e27d434.js +0 -1
  929. package/.next/standalone/.next/static/chunks/app/agents/[id]/page-474f640e84f7b4b5.js +0 -1
  930. package/.next/standalone/.next/static/chunks/app/agents/loading-ac9aed5c6e27d434.js +0 -1
  931. package/.next/standalone/.next/static/chunks/app/agents/page-b79b611acd56712b.js +0 -1
  932. package/.next/standalone/.next/static/chunks/app/api/activity/route-ac9aed5c6e27d434.js +0 -1
  933. package/.next/standalone/.next/static/chunks/app/api/admin/audit-export/route-ac9aed5c6e27d434.js +0 -1
  934. package/.next/standalone/.next/static/chunks/app/api/admin/share-links/route-ac9aed5c6e27d434.js +0 -1
  935. package/.next/standalone/.next/static/chunks/app/api/agent-memory/route-ac9aed5c6e27d434.js +0 -1
  936. package/.next/standalone/.next/static/chunks/app/api/agent-runs/[id]/cancel/route-ac9aed5c6e27d434.js +0 -1
  937. package/.next/standalone/.next/static/chunks/app/api/agent-runs/[id]/events/route-ac9aed5c6e27d434.js +0 -1
  938. package/.next/standalone/.next/static/chunks/app/api/agent-runs/[id]/log/route-ac9aed5c6e27d434.js +0 -1
  939. package/.next/standalone/.next/static/chunks/app/api/agent-runs/[id]/route-ac9aed5c6e27d434.js +0 -1
  940. package/.next/standalone/.next/static/chunks/app/api/agent-runs/route-ac9aed5c6e27d434.js +0 -1
  941. package/.next/standalone/.next/static/chunks/app/api/agents/[id]/chain/route-ac9aed5c6e27d434.js +0 -1
  942. package/.next/standalone/.next/static/chunks/app/api/agents/[id]/memory/route-ac9aed5c6e27d434.js +0 -1
  943. package/.next/standalone/.next/static/chunks/app/api/agents/[id]/reports/route-ac9aed5c6e27d434.js +0 -1
  944. package/.next/standalone/.next/static/chunks/app/api/agents/[id]/run/route-ac9aed5c6e27d434.js +0 -1
  945. package/.next/standalone/.next/static/chunks/app/api/agents/[id]/skills/route-ac9aed5c6e27d434.js +0 -1
  946. package/.next/standalone/.next/static/chunks/app/api/agents/create/route-ac9aed5c6e27d434.js +0 -1
  947. package/.next/standalone/.next/static/chunks/app/api/agents/ops/route-ac9aed5c6e27d434.js +0 -1
  948. package/.next/standalone/.next/static/chunks/app/api/approvals/[id]/route-ac9aed5c6e27d434.js +0 -1
  949. package/.next/standalone/.next/static/chunks/app/api/approvals/route-ac9aed5c6e27d434.js +0 -1
  950. package/.next/standalone/.next/static/chunks/app/api/artifacts/[id]/acl/route-ac9aed5c6e27d434.js +0 -1
  951. package/.next/standalone/.next/static/chunks/app/api/artifacts/[id]/protect/route-ac9aed5c6e27d434.js +0 -1
  952. package/.next/standalone/.next/static/chunks/app/api/artifacts/[id]/raw/route-ac9aed5c6e27d434.js +0 -1
  953. package/.next/standalone/.next/static/chunks/app/api/artifacts/[id]/route-ac9aed5c6e27d434.js +0 -1
  954. package/.next/standalone/.next/static/chunks/app/api/artifacts/[id]/share-link/[linkId]/route-ac9aed5c6e27d434.js +0 -1
  955. package/.next/standalone/.next/static/chunks/app/api/artifacts/[id]/share-link/route-ac9aed5c6e27d434.js +0 -1
  956. package/.next/standalone/.next/static/chunks/app/api/artifacts/upload/route-ac9aed5c6e27d434.js +0 -1
  957. package/.next/standalone/.next/static/chunks/app/api/audit/list/route-ac9aed5c6e27d434.js +0 -1
  958. package/.next/standalone/.next/static/chunks/app/api/audit/search/route-ac9aed5c6e27d434.js +0 -1
  959. package/.next/standalone/.next/static/chunks/app/api/auth/callback/route-ac9aed5c6e27d434.js +0 -1
  960. package/.next/standalone/.next/static/chunks/app/api/auth/config/route-ac9aed5c6e27d434.js +0 -1
  961. package/.next/standalone/.next/static/chunks/app/api/auth/join-bootstrap/route-ac9aed5c6e27d434.js +0 -1
  962. package/.next/standalone/.next/static/chunks/app/api/auth/session/route-ac9aed5c6e27d434.js +0 -1
  963. package/.next/standalone/.next/static/chunks/app/api/brand/route-ac9aed5c6e27d434.js +0 -1
  964. package/.next/standalone/.next/static/chunks/app/api/brand/share/route-ac9aed5c6e27d434.js +0 -1
  965. package/.next/standalone/.next/static/chunks/app/api/chat/sessions/[id]/route-ac9aed5c6e27d434.js +0 -1
  966. package/.next/standalone/.next/static/chunks/app/api/chat/sessions/route-ac9aed5c6e27d434.js +0 -1
  967. package/.next/standalone/.next/static/chunks/app/api/config/env/route-ac9aed5c6e27d434.js +0 -1
  968. package/.next/standalone/.next/static/chunks/app/api/config/route-ac9aed5c6e27d434.js +0 -1
  969. package/.next/standalone/.next/static/chunks/app/api/connections/[service]/route-ac9aed5c6e27d434.js +0 -1
  970. package/.next/standalone/.next/static/chunks/app/api/connections/[service]/verify/route-ac9aed5c6e27d434.js +0 -1
  971. package/.next/standalone/.next/static/chunks/app/api/connections/route-ac9aed5c6e27d434.js +0 -1
  972. package/.next/standalone/.next/static/chunks/app/api/cron/tick/route-ac9aed5c6e27d434.js +0 -1
  973. package/.next/standalone/.next/static/chunks/app/api/dashboard/spaces/[id]/move/route-ac9aed5c6e27d434.js +0 -1
  974. package/.next/standalone/.next/static/chunks/app/api/dashboard/spaces/[id]/route-ac9aed5c6e27d434.js +0 -1
  975. package/.next/standalone/.next/static/chunks/app/api/dashboard/spaces/[id]/share-link/[linkId]/route-ac9aed5c6e27d434.js +0 -1
  976. package/.next/standalone/.next/static/chunks/app/api/dashboard/spaces/[id]/share-link/route-ac9aed5c6e27d434.js +0 -1
  977. package/.next/standalone/.next/static/chunks/app/api/dashboard/spaces/import/route-ac9aed5c6e27d434.js +0 -1
  978. package/.next/standalone/.next/static/chunks/app/api/dashboard/spaces/route-ac9aed5c6e27d434.js +0 -1
  979. package/.next/standalone/.next/static/chunks/app/api/disk/files/[id]/blob/route-ac9aed5c6e27d434.js +0 -1
  980. package/.next/standalone/.next/static/chunks/app/api/disk/files/[id]/route-ac9aed5c6e27d434.js +0 -1
  981. package/.next/standalone/.next/static/chunks/app/api/disk/files/[id]/transcribe/route-ac9aed5c6e27d434.js +0 -1
  982. package/.next/standalone/.next/static/chunks/app/api/disk/files/route-ac9aed5c6e27d434.js +0 -1
  983. package/.next/standalone/.next/static/chunks/app/api/disk/folders/route-ac9aed5c6e27d434.js +0 -1
  984. package/.next/standalone/.next/static/chunks/app/api/events/since/[cursor]/route-ac9aed5c6e27d434.js +0 -1
  985. package/.next/standalone/.next/static/chunks/app/api/events/stream/route-ac9aed5c6e27d434.js +0 -1
  986. package/.next/standalone/.next/static/chunks/app/api/fs/create-folder/route-ac9aed5c6e27d434.js +0 -1
  987. package/.next/standalone/.next/static/chunks/app/api/fs/pick-folder/route-ac9aed5c6e27d434.js +0 -1
  988. package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/blueprint/route-ac9aed5c6e27d434.js +0 -1
  989. package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/diagnostic/route-ac9aed5c6e27d434.js +0 -1
  990. package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/governance/route-ac9aed5c6e27d434.js +0 -1
  991. package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/interview/route-ac9aed5c6e27d434.js +0 -1
  992. package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/pilot/route-ac9aed5c6e27d434.js +0 -1
  993. package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/quarterly/route-ac9aed5c6e27d434.js +0 -1
  994. package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/route-ac9aed5c6e27d434.js +0 -1
  995. package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/setup-package/route-ac9aed5c6e27d434.js +0 -1
  996. package/.next/standalone/.next/static/chunks/app/api/hail/engagements/route-ac9aed5c6e27d434.js +0 -1
  997. package/.next/standalone/.next/static/chunks/app/api/hail/interviews/[id]/responses/route-ac9aed5c6e27d434.js +0 -1
  998. package/.next/standalone/.next/static/chunks/app/api/hail/interviews/[id]/route-ac9aed5c6e27d434.js +0 -1
  999. package/.next/standalone/.next/static/chunks/app/api/hail/setup-packages/[id]/apply/route-ac9aed5c6e27d434.js +0 -1
  1000. package/.next/standalone/.next/static/chunks/app/api/hail/setup-packages/validate/route-ac9aed5c6e27d434.js +0 -1
  1001. package/.next/standalone/.next/static/chunks/app/api/heartbeat/tick/route-ac9aed5c6e27d434.js +0 -1
  1002. package/.next/standalone/.next/static/chunks/app/api/heartbeat/worker/route-ac9aed5c6e27d434.js +0 -1
  1003. package/.next/standalone/.next/static/chunks/app/api/help/route-ac9aed5c6e27d434.js +0 -1
  1004. package/.next/standalone/.next/static/chunks/app/api/hermes/jobs/[id]/events/route-ac9aed5c6e27d434.js +0 -1
  1005. package/.next/standalone/.next/static/chunks/app/api/hermes/jobs/[id]/route-ac9aed5c6e27d434.js +0 -1
  1006. package/.next/standalone/.next/static/chunks/app/api/hermes/jobs/route-ac9aed5c6e27d434.js +0 -1
  1007. package/.next/standalone/.next/static/chunks/app/api/integrations/google/callback/route-ac9aed5c6e27d434.js +0 -1
  1008. package/.next/standalone/.next/static/chunks/app/api/integrations/google/oauth/route-ac9aed5c6e27d434.js +0 -1
  1009. package/.next/standalone/.next/static/chunks/app/api/marketplace/[id]/route-ac9aed5c6e27d434.js +0 -1
  1010. package/.next/standalone/.next/static/chunks/app/api/marketplace/open-design/route-ac9aed5c6e27d434.js +0 -1
  1011. package/.next/standalone/.next/static/chunks/app/api/marketplace/route-ac9aed5c6e27d434.js +0 -1
  1012. package/.next/standalone/.next/static/chunks/app/api/mines/import-roots/route-ac9aed5c6e27d434.js +0 -1
  1013. package/.next/standalone/.next/static/chunks/app/api/mines/portfolio/route-ac9aed5c6e27d434.js +0 -1
  1014. package/.next/standalone/.next/static/chunks/app/api/mines/projects/[id]/chunks/route-ac9aed5c6e27d434.js +0 -1
  1015. package/.next/standalone/.next/static/chunks/app/api/mines/projects/[id]/diligence/route-ac9aed5c6e27d434.js +0 -1
  1016. package/.next/standalone/.next/static/chunks/app/api/mines/projects/[id]/import/route-ac9aed5c6e27d434.js +0 -1
  1017. package/.next/standalone/.next/static/chunks/app/api/mines/projects/[id]/publish/route-ac9aed5c6e27d434.js +0 -1
  1018. package/.next/standalone/.next/static/chunks/app/api/mines/projects/route-ac9aed5c6e27d434.js +0 -1
  1019. package/.next/standalone/.next/static/chunks/app/api/missions/route-ac9aed5c6e27d434.js +0 -1
  1020. package/.next/standalone/.next/static/chunks/app/api/models/route-ac9aed5c6e27d434.js +0 -1
  1021. package/.next/standalone/.next/static/chunks/app/api/onboarding/blueprint/route-ac9aed5c6e27d434.js +0 -1
  1022. package/.next/standalone/.next/static/chunks/app/api/onboarding/launch/route-ac9aed5c6e27d434.js +0 -1
  1023. package/.next/standalone/.next/static/chunks/app/api/orchestrator/command/route-ac9aed5c6e27d434.js +0 -1
  1024. package/.next/standalone/.next/static/chunks/app/api/orchestrator/stream/route-ac9aed5c6e27d434.js +0 -1
  1025. package/.next/standalone/.next/static/chunks/app/api/orchestrator/upload/route-ac9aed5c6e27d434.js +0 -1
  1026. package/.next/standalone/.next/static/chunks/app/api/org/route-ac9aed5c6e27d434.js +0 -1
  1027. package/.next/standalone/.next/static/chunks/app/api/orgs/[id]/invites/[inviteId]/route-ac9aed5c6e27d434.js +0 -1
  1028. package/.next/standalone/.next/static/chunks/app/api/orgs/[id]/invites/route-ac9aed5c6e27d434.js +0 -1
  1029. package/.next/standalone/.next/static/chunks/app/api/orgs/[id]/members/[userId]/role/route-ac9aed5c6e27d434.js +0 -1
  1030. package/.next/standalone/.next/static/chunks/app/api/orgs/[id]/members/[userId]/route-ac9aed5c6e27d434.js +0 -1
  1031. package/.next/standalone/.next/static/chunks/app/api/orgs/[id]/members/route-ac9aed5c6e27d434.js +0 -1
  1032. package/.next/standalone/.next/static/chunks/app/api/orgs/[id]/route-ac9aed5c6e27d434.js +0 -1
  1033. package/.next/standalone/.next/static/chunks/app/api/orgs/invites/pending/route-ac9aed5c6e27d434.js +0 -1
  1034. package/.next/standalone/.next/static/chunks/app/api/orgs/join/route-ac9aed5c6e27d434.js +0 -1
  1035. package/.next/standalone/.next/static/chunks/app/api/orgs/join-complete/route-ac9aed5c6e27d434.js +0 -1
  1036. package/.next/standalone/.next/static/chunks/app/api/orgs/route-ac9aed5c6e27d434.js +0 -1
  1037. package/.next/standalone/.next/static/chunks/app/api/printing-press/clis/route-ac9aed5c6e27d434.js +0 -1
  1038. package/.next/standalone/.next/static/chunks/app/api/printing-press/install/route-ac9aed5c6e27d434.js +0 -1
  1039. package/.next/standalone/.next/static/chunks/app/api/printing-press/security-mode/route-ac9aed5c6e27d434.js +0 -1
  1040. package/.next/standalone/.next/static/chunks/app/api/privacy/config/route-ac9aed5c6e27d434.js +0 -1
  1041. package/.next/standalone/.next/static/chunks/app/api/privacy/verify/route-ac9aed5c6e27d434.js +0 -1
  1042. package/.next/standalone/.next/static/chunks/app/api/processes/[id]/route-ac9aed5c6e27d434.js +0 -1
  1043. package/.next/standalone/.next/static/chunks/app/api/processes/[id]/share-link/route-ac9aed5c6e27d434.js +0 -1
  1044. package/.next/standalone/.next/static/chunks/app/api/processes/[id]/stages/[stageId]/override/route-ac9aed5c6e27d434.js +0 -1
  1045. package/.next/standalone/.next/static/chunks/app/api/processes/[id]/stages/[stageId]/retry/route-ac9aed5c6e27d434.js +0 -1
  1046. package/.next/standalone/.next/static/chunks/app/api/processes/[id]/stages/[stageId]/submit/route-ac9aed5c6e27d434.js +0 -1
  1047. package/.next/standalone/.next/static/chunks/app/api/processes/definitions/[slug]/route-ac9aed5c6e27d434.js +0 -1
  1048. package/.next/standalone/.next/static/chunks/app/api/processes/definitions/[slug]/settings/route-ac9aed5c6e27d434.js +0 -1
  1049. package/.next/standalone/.next/static/chunks/app/api/processes/definitions/route-ac9aed5c6e27d434.js +0 -1
  1050. package/.next/standalone/.next/static/chunks/app/api/processes/definitions/validate/route-ac9aed5c6e27d434.js +0 -1
  1051. package/.next/standalone/.next/static/chunks/app/api/processes/route-ac9aed5c6e27d434.js +0 -1
  1052. package/.next/standalone/.next/static/chunks/app/api/processes/start-and-route/route-ac9aed5c6e27d434.js +0 -1
  1053. package/.next/standalone/.next/static/chunks/app/api/projects/[slug]/library/route-ac9aed5c6e27d434.js +0 -1
  1054. package/.next/standalone/.next/static/chunks/app/api/projects/[slug]/route-ac9aed5c6e27d434.js +0 -1
  1055. package/.next/standalone/.next/static/chunks/app/api/projects/route-ac9aed5c6e27d434.js +0 -1
  1056. package/.next/standalone/.next/static/chunks/app/api/runs/approve-claude-run/route-ac9aed5c6e27d434.js +0 -1
  1057. package/.next/standalone/.next/static/chunks/app/api/runs/claude-code-dry-run/route-ac9aed5c6e27d434.js +0 -1
  1058. package/.next/standalone/.next/static/chunks/app/api/runs/competitor-report/route-ac9aed5c6e27d434.js +0 -1
  1059. package/.next/standalone/.next/static/chunks/app/api/runs/engine-ping/route-ac9aed5c6e27d434.js +0 -1
  1060. package/.next/standalone/.next/static/chunks/app/api/runs/marketing-plan/route-ac9aed5c6e27d434.js +0 -1
  1061. package/.next/standalone/.next/static/chunks/app/api/schedules/upsert/route-ac9aed5c6e27d434.js +0 -1
  1062. package/.next/standalone/.next/static/chunks/app/api/secrets/[name]/route-ac9aed5c6e27d434.js +0 -1
  1063. package/.next/standalone/.next/static/chunks/app/api/secrets/route-ac9aed5c6e27d434.js +0 -1
  1064. package/.next/standalone/.next/static/chunks/app/api/settings/trust-mode/route-ac9aed5c6e27d434.js +0 -1
  1065. package/.next/standalone/.next/static/chunks/app/api/share/[token]/otp/route-ac9aed5c6e27d434.js +0 -1
  1066. package/.next/standalone/.next/static/chunks/app/api/share/[token]/route-ac9aed5c6e27d434.js +0 -1
  1067. package/.next/standalone/.next/static/chunks/app/api/share/[token]/verify/route-ac9aed5c6e27d434.js +0 -1
  1068. package/.next/standalone/.next/static/chunks/app/api/share/space/[token]/otp/route-ac9aed5c6e27d434.js +0 -1
  1069. package/.next/standalone/.next/static/chunks/app/api/share/space/[token]/route-ac9aed5c6e27d434.js +0 -1
  1070. package/.next/standalone/.next/static/chunks/app/api/share/space/[token]/verify/route-ac9aed5c6e27d434.js +0 -1
  1071. package/.next/standalone/.next/static/chunks/app/api/shared/spaces/[id]/acl/route-ac9aed5c6e27d434.js +0 -1
  1072. package/.next/standalone/.next/static/chunks/app/api/shared/spaces/publish/route-ac9aed5c6e27d434.js +0 -1
  1073. package/.next/standalone/.next/static/chunks/app/api/shared/spaces/route-ac9aed5c6e27d434.js +0 -1
  1074. package/.next/standalone/.next/static/chunks/app/api/shared/spaces/status/route-ac9aed5c6e27d434.js +0 -1
  1075. package/.next/standalone/.next/static/chunks/app/api/shared/spaces/unpublish/route-ac9aed5c6e27d434.js +0 -1
  1076. package/.next/standalone/.next/static/chunks/app/api/state/route-ac9aed5c6e27d434.js +0 -1
  1077. package/.next/standalone/.next/static/chunks/app/api/system/update/route-ac9aed5c6e27d434.js +0 -1
  1078. package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/active-run/route-ac9aed5c6e27d434.js +0 -1
  1079. package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/attachments/route-ac9aed5c6e27d434.js +0 -1
  1080. package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/checklist/[itemId]/route-ac9aed5c6e27d434.js +0 -1
  1081. package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/checklist/route-ac9aed5c6e27d434.js +0 -1
  1082. package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/checkout/route-ac9aed5c6e27d434.js +0 -1
  1083. package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/children/route-ac9aed5c6e27d434.js +0 -1
  1084. package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/comments/route-ac9aed5c6e27d434.js +0 -1
  1085. package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/events/route-ac9aed5c6e27d434.js +0 -1
  1086. package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/live-runs/route-ac9aed5c6e27d434.js +0 -1
  1087. package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/release/route-ac9aed5c6e27d434.js +0 -1
  1088. package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/route-ac9aed5c6e27d434.js +0 -1
  1089. package/.next/standalone/.next/static/chunks/app/api/tasks/route-ac9aed5c6e27d434.js +0 -1
  1090. package/.next/standalone/.next/static/chunks/app/api/tool-allowlists/[id]/route-ac9aed5c6e27d434.js +0 -1
  1091. package/.next/standalone/.next/static/chunks/app/api/tool-allowlists/route-ac9aed5c6e27d434.js +0 -1
  1092. package/.next/standalone/.next/static/chunks/app/api/tool-egress/route-ac9aed5c6e27d434.js +0 -1
  1093. package/.next/standalone/.next/static/chunks/app/api/tools/[name]/approve/route-ac9aed5c6e27d434.js +0 -1
  1094. package/.next/standalone/.next/static/chunks/app/api/tools/[name]/route-ac9aed5c6e27d434.js +0 -1
  1095. package/.next/standalone/.next/static/chunks/app/api/tools/route-ac9aed5c6e27d434.js +0 -1
  1096. package/.next/standalone/.next/static/chunks/app/api/transcripts/route-ac9aed5c6e27d434.js +0 -1
  1097. package/.next/standalone/.next/static/chunks/app/api/voice/providers/route-ac9aed5c6e27d434.js +0 -1
  1098. package/.next/standalone/.next/static/chunks/app/api/voice/realtime/context/route-ac9aed5c6e27d434.js +0 -1
  1099. package/.next/standalone/.next/static/chunks/app/api/voice/realtime/session/route-ac9aed5c6e27d434.js +0 -1
  1100. package/.next/standalone/.next/static/chunks/app/api/voice/realtime/tool-result/route-ac9aed5c6e27d434.js +0 -1
  1101. package/.next/standalone/.next/static/chunks/app/api/voice/realtime/tools/route-ac9aed5c6e27d434.js +0 -1
  1102. package/.next/standalone/.next/static/chunks/app/api/voice/tts/route-ac9aed5c6e27d434.js +0 -1
  1103. package/.next/standalone/.next/static/chunks/app/api/whatsapp/allowlist/route-ac9aed5c6e27d434.js +0 -1
  1104. package/.next/standalone/.next/static/chunks/app/api/whatsapp/disconnect/route-ac9aed5c6e27d434.js +0 -1
  1105. package/.next/standalone/.next/static/chunks/app/api/whatsapp/messages/route-ac9aed5c6e27d434.js +0 -1
  1106. package/.next/standalone/.next/static/chunks/app/api/whatsapp/qr/route-ac9aed5c6e27d434.js +0 -1
  1107. package/.next/standalone/.next/static/chunks/app/api/whatsapp/send/route-ac9aed5c6e27d434.js +0 -1
  1108. package/.next/standalone/.next/static/chunks/app/api/whatsapp/status/route-ac9aed5c6e27d434.js +0 -1
  1109. package/.next/standalone/.next/static/chunks/app/approvals/loading-ac9aed5c6e27d434.js +0 -1
  1110. package/.next/standalone/.next/static/chunks/app/architecture/loading-ac9aed5c6e27d434.js +0 -1
  1111. package/.next/standalone/.next/static/chunks/app/audit/loading-ac9aed5c6e27d434.js +0 -1
  1112. package/.next/standalone/.next/static/chunks/app/brand/loading-ac9aed5c6e27d434.js +0 -1
  1113. package/.next/standalone/.next/static/chunks/app/disk/loading-ac9aed5c6e27d434.js +0 -1
  1114. package/.next/standalone/.next/static/chunks/app/federated-ai/loading-ac9aed5c6e27d434.js +0 -1
  1115. package/.next/standalone/.next/static/chunks/app/help/loading-ac9aed5c6e27d434.js +0 -1
  1116. package/.next/standalone/.next/static/chunks/app/layout-eaed78b7751b2b5b.js +0 -1
  1117. package/.next/standalone/.next/static/chunks/app/loading-ac9aed5c6e27d434.js +0 -1
  1118. package/.next/standalone/.next/static/chunks/app/login/page-e23d5fe32a5160d5.js +0 -1
  1119. package/.next/standalone/.next/static/chunks/app/marketplace/loading-ac9aed5c6e27d434.js +0 -1
  1120. package/.next/standalone/.next/static/chunks/app/marketplace/page-0b7d3a6309302de3.js +0 -1
  1121. package/.next/standalone/.next/static/chunks/app/missions/loading-ac9aed5c6e27d434.js +0 -1
  1122. package/.next/standalone/.next/static/chunks/app/onboarding/loading-ac9aed5c6e27d434.js +0 -1
  1123. package/.next/standalone/.next/static/chunks/app/org/loading-ac9aed5c6e27d434.js +0 -1
  1124. package/.next/standalone/.next/static/chunks/app/page-a716d81055cfaa16.js +0 -1
  1125. package/.next/standalone/.next/static/chunks/app/projects/[slug]/loading-ac9aed5c6e27d434.js +0 -1
  1126. package/.next/standalone/.next/static/chunks/app/projects/loading-ac9aed5c6e27d434.js +0 -1
  1127. package/.next/standalone/.next/static/chunks/app/projects/page-9792d7b57f298e6f.js +0 -1
  1128. package/.next/standalone/.next/static/chunks/app/reports/[file]/route-ac9aed5c6e27d434.js +0 -1
  1129. package/.next/standalone/.next/static/chunks/app/reports/loading-ac9aed5c6e27d434.js +0 -1
  1130. package/.next/standalone/.next/static/chunks/app/runtime/loading-ac9aed5c6e27d434.js +0 -1
  1131. package/.next/standalone/.next/static/chunks/app/schedules/loading-ac9aed5c6e27d434.js +0 -1
  1132. package/.next/standalone/.next/static/chunks/app/settings/layout-08f6b30132b26dd1.js +0 -1
  1133. package/.next/standalone/.next/static/chunks/app/settings/loading-ac9aed5c6e27d434.js +0 -1
  1134. package/.next/standalone/.next/static/chunks/app/settings/page-ac9aed5c6e27d434.js +0 -1
  1135. package/.next/standalone/.next/static/chunks/app/tasks/[id]/loading-ac9aed5c6e27d434.js +0 -1
  1136. package/.next/standalone/.next/static/chunks/app/tasks/loading-ac9aed5c6e27d434.js +0 -1
  1137. package/.next/standalone/.next/static/chunks/app/tools/loading-ac9aed5c6e27d434.js +0 -1
  1138. package/.next/standalone/.next/static/chunks/app/tools/page-ac9aed5c6e27d434.js +0 -1
  1139. package/.next/standalone/.next/static/chunks/app/whatsapp/loading-ac9aed5c6e27d434.js +0 -1
  1140. package/.next/standalone/.next/static/chunks/app/workflows/share/[caseId]/page-ac9aed5c6e27d434.js +0 -1
  1141. package/.next/standalone/.next/static/chunks/webpack-f916d679fe38a701.js +0 -1
  1142. package/.next/standalone/.next/static/css/54018a2de582f8bf.css +0 -1
  1143. package/.next/standalone/data/.artifacts-migrated-v1 +0 -9
  1144. package/.next/standalone/data/.auth-migrated-v1 +0 -1
  1145. package/.next/standalone/data/.default-project-seeded +0 -1
  1146. package/.next/standalone/data/madarx.sqlite +0 -0
  1147. package/.next/standalone/data/madarx.sqlite-shm +0 -0
  1148. package/.next/standalone/data/madarx.sqlite-wal +0 -0
  1149. package/.next/standalone/data/uae-ai-report-2026-05-18.md +0 -103
  1150. package/.next/standalone/workspace/agents/ops-agent/skills.md +0 -35
  1151. package/.next/standalone/workspace/agents/tool-smith-agent/skills.md +0 -35
  1152. package/.next/static/chunks/7597-9d44318ae8a6db9b.js +0 -1
  1153. package/.next/static/chunks/8217.0beb0a316c7ad5d8.js +0 -1
  1154. package/.next/static/chunks/app/activity/loading-ac9aed5c6e27d434.js +0 -1
  1155. package/.next/static/chunks/app/agents/[id]/loading-ac9aed5c6e27d434.js +0 -1
  1156. package/.next/static/chunks/app/agents/[id]/page-474f640e84f7b4b5.js +0 -1
  1157. package/.next/static/chunks/app/agents/loading-ac9aed5c6e27d434.js +0 -1
  1158. package/.next/static/chunks/app/agents/page-b79b611acd56712b.js +0 -1
  1159. package/.next/static/chunks/app/api/activity/route-ac9aed5c6e27d434.js +0 -1
  1160. package/.next/static/chunks/app/api/admin/audit-export/route-ac9aed5c6e27d434.js +0 -1
  1161. package/.next/static/chunks/app/api/admin/share-links/route-ac9aed5c6e27d434.js +0 -1
  1162. package/.next/static/chunks/app/api/agent-memory/route-ac9aed5c6e27d434.js +0 -1
  1163. package/.next/static/chunks/app/api/agent-runs/[id]/cancel/route-ac9aed5c6e27d434.js +0 -1
  1164. package/.next/static/chunks/app/api/agent-runs/[id]/events/route-ac9aed5c6e27d434.js +0 -1
  1165. package/.next/static/chunks/app/api/agent-runs/[id]/log/route-ac9aed5c6e27d434.js +0 -1
  1166. package/.next/static/chunks/app/api/agent-runs/[id]/route-ac9aed5c6e27d434.js +0 -1
  1167. package/.next/static/chunks/app/api/agent-runs/route-ac9aed5c6e27d434.js +0 -1
  1168. package/.next/static/chunks/app/api/agents/[id]/chain/route-ac9aed5c6e27d434.js +0 -1
  1169. package/.next/static/chunks/app/api/agents/[id]/memory/route-ac9aed5c6e27d434.js +0 -1
  1170. package/.next/static/chunks/app/api/agents/[id]/reports/route-ac9aed5c6e27d434.js +0 -1
  1171. package/.next/static/chunks/app/api/agents/[id]/run/route-ac9aed5c6e27d434.js +0 -1
  1172. package/.next/static/chunks/app/api/agents/[id]/skills/route-ac9aed5c6e27d434.js +0 -1
  1173. package/.next/static/chunks/app/api/agents/create/route-ac9aed5c6e27d434.js +0 -1
  1174. package/.next/static/chunks/app/api/agents/ops/route-ac9aed5c6e27d434.js +0 -1
  1175. package/.next/static/chunks/app/api/approvals/[id]/route-ac9aed5c6e27d434.js +0 -1
  1176. package/.next/static/chunks/app/api/approvals/route-ac9aed5c6e27d434.js +0 -1
  1177. package/.next/static/chunks/app/api/artifacts/[id]/acl/route-ac9aed5c6e27d434.js +0 -1
  1178. package/.next/static/chunks/app/api/artifacts/[id]/protect/route-ac9aed5c6e27d434.js +0 -1
  1179. package/.next/static/chunks/app/api/artifacts/[id]/raw/route-ac9aed5c6e27d434.js +0 -1
  1180. package/.next/static/chunks/app/api/artifacts/[id]/route-ac9aed5c6e27d434.js +0 -1
  1181. package/.next/static/chunks/app/api/artifacts/[id]/share-link/[linkId]/route-ac9aed5c6e27d434.js +0 -1
  1182. package/.next/static/chunks/app/api/artifacts/[id]/share-link/route-ac9aed5c6e27d434.js +0 -1
  1183. package/.next/static/chunks/app/api/artifacts/upload/route-ac9aed5c6e27d434.js +0 -1
  1184. package/.next/static/chunks/app/api/audit/list/route-ac9aed5c6e27d434.js +0 -1
  1185. package/.next/static/chunks/app/api/audit/search/route-ac9aed5c6e27d434.js +0 -1
  1186. package/.next/static/chunks/app/api/auth/callback/route-ac9aed5c6e27d434.js +0 -1
  1187. package/.next/static/chunks/app/api/auth/config/route-ac9aed5c6e27d434.js +0 -1
  1188. package/.next/static/chunks/app/api/auth/join-bootstrap/route-ac9aed5c6e27d434.js +0 -1
  1189. package/.next/static/chunks/app/api/auth/session/route-ac9aed5c6e27d434.js +0 -1
  1190. package/.next/static/chunks/app/api/brand/route-ac9aed5c6e27d434.js +0 -1
  1191. package/.next/static/chunks/app/api/brand/share/route-ac9aed5c6e27d434.js +0 -1
  1192. package/.next/static/chunks/app/api/chat/sessions/[id]/route-ac9aed5c6e27d434.js +0 -1
  1193. package/.next/static/chunks/app/api/chat/sessions/route-ac9aed5c6e27d434.js +0 -1
  1194. package/.next/static/chunks/app/api/config/env/route-ac9aed5c6e27d434.js +0 -1
  1195. package/.next/static/chunks/app/api/config/route-ac9aed5c6e27d434.js +0 -1
  1196. package/.next/static/chunks/app/api/connections/[service]/route-ac9aed5c6e27d434.js +0 -1
  1197. package/.next/static/chunks/app/api/connections/[service]/verify/route-ac9aed5c6e27d434.js +0 -1
  1198. package/.next/static/chunks/app/api/connections/route-ac9aed5c6e27d434.js +0 -1
  1199. package/.next/static/chunks/app/api/cron/tick/route-ac9aed5c6e27d434.js +0 -1
  1200. package/.next/static/chunks/app/api/dashboard/spaces/[id]/move/route-ac9aed5c6e27d434.js +0 -1
  1201. package/.next/static/chunks/app/api/dashboard/spaces/[id]/route-ac9aed5c6e27d434.js +0 -1
  1202. package/.next/static/chunks/app/api/dashboard/spaces/[id]/share-link/[linkId]/route-ac9aed5c6e27d434.js +0 -1
  1203. package/.next/static/chunks/app/api/dashboard/spaces/[id]/share-link/route-ac9aed5c6e27d434.js +0 -1
  1204. package/.next/static/chunks/app/api/dashboard/spaces/import/route-ac9aed5c6e27d434.js +0 -1
  1205. package/.next/static/chunks/app/api/dashboard/spaces/route-ac9aed5c6e27d434.js +0 -1
  1206. package/.next/static/chunks/app/api/disk/files/[id]/blob/route-ac9aed5c6e27d434.js +0 -1
  1207. package/.next/static/chunks/app/api/disk/files/[id]/route-ac9aed5c6e27d434.js +0 -1
  1208. package/.next/static/chunks/app/api/disk/files/[id]/transcribe/route-ac9aed5c6e27d434.js +0 -1
  1209. package/.next/static/chunks/app/api/disk/files/route-ac9aed5c6e27d434.js +0 -1
  1210. package/.next/static/chunks/app/api/disk/folders/route-ac9aed5c6e27d434.js +0 -1
  1211. package/.next/static/chunks/app/api/events/since/[cursor]/route-ac9aed5c6e27d434.js +0 -1
  1212. package/.next/static/chunks/app/api/events/stream/route-ac9aed5c6e27d434.js +0 -1
  1213. package/.next/static/chunks/app/api/fs/create-folder/route-ac9aed5c6e27d434.js +0 -1
  1214. package/.next/static/chunks/app/api/fs/pick-folder/route-ac9aed5c6e27d434.js +0 -1
  1215. package/.next/static/chunks/app/api/hail/engagements/[id]/blueprint/route-ac9aed5c6e27d434.js +0 -1
  1216. package/.next/static/chunks/app/api/hail/engagements/[id]/diagnostic/route-ac9aed5c6e27d434.js +0 -1
  1217. package/.next/static/chunks/app/api/hail/engagements/[id]/governance/route-ac9aed5c6e27d434.js +0 -1
  1218. package/.next/static/chunks/app/api/hail/engagements/[id]/interview/route-ac9aed5c6e27d434.js +0 -1
  1219. package/.next/static/chunks/app/api/hail/engagements/[id]/pilot/route-ac9aed5c6e27d434.js +0 -1
  1220. package/.next/static/chunks/app/api/hail/engagements/[id]/quarterly/route-ac9aed5c6e27d434.js +0 -1
  1221. package/.next/static/chunks/app/api/hail/engagements/[id]/route-ac9aed5c6e27d434.js +0 -1
  1222. package/.next/static/chunks/app/api/hail/engagements/[id]/setup-package/route-ac9aed5c6e27d434.js +0 -1
  1223. package/.next/static/chunks/app/api/hail/engagements/route-ac9aed5c6e27d434.js +0 -1
  1224. package/.next/static/chunks/app/api/hail/interviews/[id]/responses/route-ac9aed5c6e27d434.js +0 -1
  1225. package/.next/static/chunks/app/api/hail/interviews/[id]/route-ac9aed5c6e27d434.js +0 -1
  1226. package/.next/static/chunks/app/api/hail/setup-packages/[id]/apply/route-ac9aed5c6e27d434.js +0 -1
  1227. package/.next/static/chunks/app/api/hail/setup-packages/validate/route-ac9aed5c6e27d434.js +0 -1
  1228. package/.next/static/chunks/app/api/heartbeat/tick/route-ac9aed5c6e27d434.js +0 -1
  1229. package/.next/static/chunks/app/api/heartbeat/worker/route-ac9aed5c6e27d434.js +0 -1
  1230. package/.next/static/chunks/app/api/help/route-ac9aed5c6e27d434.js +0 -1
  1231. package/.next/static/chunks/app/api/hermes/jobs/[id]/events/route-ac9aed5c6e27d434.js +0 -1
  1232. package/.next/static/chunks/app/api/hermes/jobs/[id]/route-ac9aed5c6e27d434.js +0 -1
  1233. package/.next/static/chunks/app/api/hermes/jobs/route-ac9aed5c6e27d434.js +0 -1
  1234. package/.next/static/chunks/app/api/integrations/google/callback/route-ac9aed5c6e27d434.js +0 -1
  1235. package/.next/static/chunks/app/api/integrations/google/oauth/route-ac9aed5c6e27d434.js +0 -1
  1236. package/.next/static/chunks/app/api/marketplace/[id]/route-ac9aed5c6e27d434.js +0 -1
  1237. package/.next/static/chunks/app/api/marketplace/open-design/route-ac9aed5c6e27d434.js +0 -1
  1238. package/.next/static/chunks/app/api/marketplace/route-ac9aed5c6e27d434.js +0 -1
  1239. package/.next/static/chunks/app/api/mines/import-roots/route-ac9aed5c6e27d434.js +0 -1
  1240. package/.next/static/chunks/app/api/mines/portfolio/route-ac9aed5c6e27d434.js +0 -1
  1241. package/.next/static/chunks/app/api/mines/projects/[id]/chunks/route-ac9aed5c6e27d434.js +0 -1
  1242. package/.next/static/chunks/app/api/mines/projects/[id]/diligence/route-ac9aed5c6e27d434.js +0 -1
  1243. package/.next/static/chunks/app/api/mines/projects/[id]/import/route-ac9aed5c6e27d434.js +0 -1
  1244. package/.next/static/chunks/app/api/mines/projects/[id]/publish/route-ac9aed5c6e27d434.js +0 -1
  1245. package/.next/static/chunks/app/api/mines/projects/route-ac9aed5c6e27d434.js +0 -1
  1246. package/.next/static/chunks/app/api/missions/route-ac9aed5c6e27d434.js +0 -1
  1247. package/.next/static/chunks/app/api/models/route-ac9aed5c6e27d434.js +0 -1
  1248. package/.next/static/chunks/app/api/onboarding/blueprint/route-ac9aed5c6e27d434.js +0 -1
  1249. package/.next/static/chunks/app/api/onboarding/launch/route-ac9aed5c6e27d434.js +0 -1
  1250. package/.next/static/chunks/app/api/orchestrator/command/route-ac9aed5c6e27d434.js +0 -1
  1251. package/.next/static/chunks/app/api/orchestrator/stream/route-ac9aed5c6e27d434.js +0 -1
  1252. package/.next/static/chunks/app/api/orchestrator/upload/route-ac9aed5c6e27d434.js +0 -1
  1253. package/.next/static/chunks/app/api/org/route-ac9aed5c6e27d434.js +0 -1
  1254. package/.next/static/chunks/app/api/orgs/[id]/invites/[inviteId]/route-ac9aed5c6e27d434.js +0 -1
  1255. package/.next/static/chunks/app/api/orgs/[id]/invites/route-ac9aed5c6e27d434.js +0 -1
  1256. package/.next/static/chunks/app/api/orgs/[id]/members/[userId]/role/route-ac9aed5c6e27d434.js +0 -1
  1257. package/.next/static/chunks/app/api/orgs/[id]/members/[userId]/route-ac9aed5c6e27d434.js +0 -1
  1258. package/.next/static/chunks/app/api/orgs/[id]/members/route-ac9aed5c6e27d434.js +0 -1
  1259. package/.next/static/chunks/app/api/orgs/[id]/route-ac9aed5c6e27d434.js +0 -1
  1260. package/.next/static/chunks/app/api/orgs/invites/pending/route-ac9aed5c6e27d434.js +0 -1
  1261. package/.next/static/chunks/app/api/orgs/join/route-ac9aed5c6e27d434.js +0 -1
  1262. package/.next/static/chunks/app/api/orgs/join-complete/route-ac9aed5c6e27d434.js +0 -1
  1263. package/.next/static/chunks/app/api/orgs/route-ac9aed5c6e27d434.js +0 -1
  1264. package/.next/static/chunks/app/api/printing-press/clis/route-ac9aed5c6e27d434.js +0 -1
  1265. package/.next/static/chunks/app/api/printing-press/install/route-ac9aed5c6e27d434.js +0 -1
  1266. package/.next/static/chunks/app/api/printing-press/security-mode/route-ac9aed5c6e27d434.js +0 -1
  1267. package/.next/static/chunks/app/api/privacy/config/route-ac9aed5c6e27d434.js +0 -1
  1268. package/.next/static/chunks/app/api/privacy/verify/route-ac9aed5c6e27d434.js +0 -1
  1269. package/.next/static/chunks/app/api/processes/[id]/route-ac9aed5c6e27d434.js +0 -1
  1270. package/.next/static/chunks/app/api/processes/[id]/share-link/route-ac9aed5c6e27d434.js +0 -1
  1271. package/.next/static/chunks/app/api/processes/[id]/stages/[stageId]/override/route-ac9aed5c6e27d434.js +0 -1
  1272. package/.next/static/chunks/app/api/processes/[id]/stages/[stageId]/retry/route-ac9aed5c6e27d434.js +0 -1
  1273. package/.next/static/chunks/app/api/processes/[id]/stages/[stageId]/submit/route-ac9aed5c6e27d434.js +0 -1
  1274. package/.next/static/chunks/app/api/processes/definitions/[slug]/route-ac9aed5c6e27d434.js +0 -1
  1275. package/.next/static/chunks/app/api/processes/definitions/[slug]/settings/route-ac9aed5c6e27d434.js +0 -1
  1276. package/.next/static/chunks/app/api/processes/definitions/route-ac9aed5c6e27d434.js +0 -1
  1277. package/.next/static/chunks/app/api/processes/definitions/validate/route-ac9aed5c6e27d434.js +0 -1
  1278. package/.next/static/chunks/app/api/processes/route-ac9aed5c6e27d434.js +0 -1
  1279. package/.next/static/chunks/app/api/processes/start-and-route/route-ac9aed5c6e27d434.js +0 -1
  1280. package/.next/static/chunks/app/api/projects/[slug]/library/route-ac9aed5c6e27d434.js +0 -1
  1281. package/.next/static/chunks/app/api/projects/[slug]/route-ac9aed5c6e27d434.js +0 -1
  1282. package/.next/static/chunks/app/api/projects/route-ac9aed5c6e27d434.js +0 -1
  1283. package/.next/static/chunks/app/api/runs/approve-claude-run/route-ac9aed5c6e27d434.js +0 -1
  1284. package/.next/static/chunks/app/api/runs/claude-code-dry-run/route-ac9aed5c6e27d434.js +0 -1
  1285. package/.next/static/chunks/app/api/runs/competitor-report/route-ac9aed5c6e27d434.js +0 -1
  1286. package/.next/static/chunks/app/api/runs/engine-ping/route-ac9aed5c6e27d434.js +0 -1
  1287. package/.next/static/chunks/app/api/runs/marketing-plan/route-ac9aed5c6e27d434.js +0 -1
  1288. package/.next/static/chunks/app/api/schedules/upsert/route-ac9aed5c6e27d434.js +0 -1
  1289. package/.next/static/chunks/app/api/secrets/[name]/route-ac9aed5c6e27d434.js +0 -1
  1290. package/.next/static/chunks/app/api/secrets/route-ac9aed5c6e27d434.js +0 -1
  1291. package/.next/static/chunks/app/api/settings/trust-mode/route-ac9aed5c6e27d434.js +0 -1
  1292. package/.next/static/chunks/app/api/share/[token]/otp/route-ac9aed5c6e27d434.js +0 -1
  1293. package/.next/static/chunks/app/api/share/[token]/route-ac9aed5c6e27d434.js +0 -1
  1294. package/.next/static/chunks/app/api/share/[token]/verify/route-ac9aed5c6e27d434.js +0 -1
  1295. package/.next/static/chunks/app/api/share/space/[token]/otp/route-ac9aed5c6e27d434.js +0 -1
  1296. package/.next/static/chunks/app/api/share/space/[token]/route-ac9aed5c6e27d434.js +0 -1
  1297. package/.next/static/chunks/app/api/share/space/[token]/verify/route-ac9aed5c6e27d434.js +0 -1
  1298. package/.next/static/chunks/app/api/shared/spaces/[id]/acl/route-ac9aed5c6e27d434.js +0 -1
  1299. package/.next/static/chunks/app/api/shared/spaces/publish/route-ac9aed5c6e27d434.js +0 -1
  1300. package/.next/static/chunks/app/api/shared/spaces/route-ac9aed5c6e27d434.js +0 -1
  1301. package/.next/static/chunks/app/api/shared/spaces/status/route-ac9aed5c6e27d434.js +0 -1
  1302. package/.next/static/chunks/app/api/shared/spaces/unpublish/route-ac9aed5c6e27d434.js +0 -1
  1303. package/.next/static/chunks/app/api/state/route-ac9aed5c6e27d434.js +0 -1
  1304. package/.next/static/chunks/app/api/system/update/route-ac9aed5c6e27d434.js +0 -1
  1305. package/.next/static/chunks/app/api/tasks/[id]/active-run/route-ac9aed5c6e27d434.js +0 -1
  1306. package/.next/static/chunks/app/api/tasks/[id]/attachments/route-ac9aed5c6e27d434.js +0 -1
  1307. package/.next/static/chunks/app/api/tasks/[id]/checklist/[itemId]/route-ac9aed5c6e27d434.js +0 -1
  1308. package/.next/static/chunks/app/api/tasks/[id]/checklist/route-ac9aed5c6e27d434.js +0 -1
  1309. package/.next/static/chunks/app/api/tasks/[id]/checkout/route-ac9aed5c6e27d434.js +0 -1
  1310. package/.next/static/chunks/app/api/tasks/[id]/children/route-ac9aed5c6e27d434.js +0 -1
  1311. package/.next/static/chunks/app/api/tasks/[id]/comments/route-ac9aed5c6e27d434.js +0 -1
  1312. package/.next/static/chunks/app/api/tasks/[id]/events/route-ac9aed5c6e27d434.js +0 -1
  1313. package/.next/static/chunks/app/api/tasks/[id]/live-runs/route-ac9aed5c6e27d434.js +0 -1
  1314. package/.next/static/chunks/app/api/tasks/[id]/release/route-ac9aed5c6e27d434.js +0 -1
  1315. package/.next/static/chunks/app/api/tasks/[id]/route-ac9aed5c6e27d434.js +0 -1
  1316. package/.next/static/chunks/app/api/tasks/route-ac9aed5c6e27d434.js +0 -1
  1317. package/.next/static/chunks/app/api/tool-allowlists/[id]/route-ac9aed5c6e27d434.js +0 -1
  1318. package/.next/static/chunks/app/api/tool-allowlists/route-ac9aed5c6e27d434.js +0 -1
  1319. package/.next/static/chunks/app/api/tool-egress/route-ac9aed5c6e27d434.js +0 -1
  1320. package/.next/static/chunks/app/api/tools/[name]/approve/route-ac9aed5c6e27d434.js +0 -1
  1321. package/.next/static/chunks/app/api/tools/[name]/route-ac9aed5c6e27d434.js +0 -1
  1322. package/.next/static/chunks/app/api/tools/route-ac9aed5c6e27d434.js +0 -1
  1323. package/.next/static/chunks/app/api/transcripts/route-ac9aed5c6e27d434.js +0 -1
  1324. package/.next/static/chunks/app/api/voice/providers/route-ac9aed5c6e27d434.js +0 -1
  1325. package/.next/static/chunks/app/api/voice/realtime/context/route-ac9aed5c6e27d434.js +0 -1
  1326. package/.next/static/chunks/app/api/voice/realtime/session/route-ac9aed5c6e27d434.js +0 -1
  1327. package/.next/static/chunks/app/api/voice/realtime/tool-result/route-ac9aed5c6e27d434.js +0 -1
  1328. package/.next/static/chunks/app/api/voice/realtime/tools/route-ac9aed5c6e27d434.js +0 -1
  1329. package/.next/static/chunks/app/api/voice/tts/route-ac9aed5c6e27d434.js +0 -1
  1330. package/.next/static/chunks/app/api/whatsapp/allowlist/route-ac9aed5c6e27d434.js +0 -1
  1331. package/.next/static/chunks/app/api/whatsapp/disconnect/route-ac9aed5c6e27d434.js +0 -1
  1332. package/.next/static/chunks/app/api/whatsapp/messages/route-ac9aed5c6e27d434.js +0 -1
  1333. package/.next/static/chunks/app/api/whatsapp/qr/route-ac9aed5c6e27d434.js +0 -1
  1334. package/.next/static/chunks/app/api/whatsapp/send/route-ac9aed5c6e27d434.js +0 -1
  1335. package/.next/static/chunks/app/api/whatsapp/status/route-ac9aed5c6e27d434.js +0 -1
  1336. package/.next/static/chunks/app/approvals/loading-ac9aed5c6e27d434.js +0 -1
  1337. package/.next/static/chunks/app/architecture/loading-ac9aed5c6e27d434.js +0 -1
  1338. package/.next/static/chunks/app/audit/loading-ac9aed5c6e27d434.js +0 -1
  1339. package/.next/static/chunks/app/brand/loading-ac9aed5c6e27d434.js +0 -1
  1340. package/.next/static/chunks/app/disk/loading-ac9aed5c6e27d434.js +0 -1
  1341. package/.next/static/chunks/app/federated-ai/loading-ac9aed5c6e27d434.js +0 -1
  1342. package/.next/static/chunks/app/help/loading-ac9aed5c6e27d434.js +0 -1
  1343. package/.next/static/chunks/app/layout-eaed78b7751b2b5b.js +0 -1
  1344. package/.next/static/chunks/app/loading-ac9aed5c6e27d434.js +0 -1
  1345. package/.next/static/chunks/app/login/page-e23d5fe32a5160d5.js +0 -1
  1346. package/.next/static/chunks/app/marketplace/loading-ac9aed5c6e27d434.js +0 -1
  1347. package/.next/static/chunks/app/marketplace/page-0b7d3a6309302de3.js +0 -1
  1348. package/.next/static/chunks/app/missions/loading-ac9aed5c6e27d434.js +0 -1
  1349. package/.next/static/chunks/app/onboarding/loading-ac9aed5c6e27d434.js +0 -1
  1350. package/.next/static/chunks/app/org/loading-ac9aed5c6e27d434.js +0 -1
  1351. package/.next/static/chunks/app/page-a716d81055cfaa16.js +0 -1
  1352. package/.next/static/chunks/app/projects/[slug]/loading-ac9aed5c6e27d434.js +0 -1
  1353. package/.next/static/chunks/app/projects/loading-ac9aed5c6e27d434.js +0 -1
  1354. package/.next/static/chunks/app/projects/page-9792d7b57f298e6f.js +0 -1
  1355. package/.next/static/chunks/app/reports/[file]/route-ac9aed5c6e27d434.js +0 -1
  1356. package/.next/static/chunks/app/reports/loading-ac9aed5c6e27d434.js +0 -1
  1357. package/.next/static/chunks/app/runtime/loading-ac9aed5c6e27d434.js +0 -1
  1358. package/.next/static/chunks/app/schedules/loading-ac9aed5c6e27d434.js +0 -1
  1359. package/.next/static/chunks/app/settings/layout-08f6b30132b26dd1.js +0 -1
  1360. package/.next/static/chunks/app/settings/loading-ac9aed5c6e27d434.js +0 -1
  1361. package/.next/static/chunks/app/settings/page-ac9aed5c6e27d434.js +0 -1
  1362. package/.next/static/chunks/app/tasks/[id]/loading-ac9aed5c6e27d434.js +0 -1
  1363. package/.next/static/chunks/app/tasks/loading-ac9aed5c6e27d434.js +0 -1
  1364. package/.next/static/chunks/app/tools/loading-ac9aed5c6e27d434.js +0 -1
  1365. package/.next/static/chunks/app/tools/page-ac9aed5c6e27d434.js +0 -1
  1366. package/.next/static/chunks/app/whatsapp/loading-ac9aed5c6e27d434.js +0 -1
  1367. package/.next/static/chunks/app/workflows/share/[caseId]/page-ac9aed5c6e27d434.js +0 -1
  1368. package/.next/static/chunks/webpack-f916d679fe38a701.js +0 -1
  1369. package/.next/static/css/54018a2de582f8bf.css +0 -1
  1370. /package/.next/standalone/.next/static/{PoL-cD5mauHkRGcYCq0A2 → -FRz43s1H_LZFhx24FvnL}/_buildManifest.js +0 -0
  1371. /package/.next/standalone/.next/static/{PoL-cD5mauHkRGcYCq0A2 → -FRz43s1H_LZFhx24FvnL}/_ssgManifest.js +0 -0
  1372. /package/.next/static/{PoL-cD5mauHkRGcYCq0A2 → -FRz43s1H_LZFhx24FvnL}/_buildManifest.js +0 -0
  1373. /package/.next/static/{PoL-cD5mauHkRGcYCq0A2 → -FRz43s1H_LZFhx24FvnL}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ exports.id=3379,exports.ids=[3379],exports.modules={6974:(a,b,c)=>{Promise.resolve().then(c.bind(c,35271))},30021:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{"4026ce6c45a5dc9e3b2ec16c999fd4346780ba2018":()=>e.$$RSC_SERVER_ACTION_0});var e=c(91845),f=a([e]);e=(f.then?(await f)():f)[0],d()}catch(a){d(a)}})},35271:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/madarx-os/madarx-os/app/components/admin/project-switcher.jsx\" 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.")},"/home/runner/work/madarx-os/madarx-os/app/components/admin/project-switcher.jsx","default")},86893:(a,b,c)=>{"use strict";c.d(b,{hI:()=>g,iN:()=>f,pp:()=>i,qs:()=>h});var d=c(75338),e=c(35271);function f({kicker:a="madarX OS v1.0",title:b,description:c,actions:f,hideProjectSwitcher:g,children:h}){return(0,d.jsxs)("main",{className:"admin-shell",children:[(0,d.jsxs)("header",{className:"admin-header",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"admin-kicker",children:a}),(0,d.jsx)("h1",{children:b}),c?(0,d.jsx)("p",{children:c}):null]}),(0,d.jsxs)("div",{className:"admin-header-actions",children:[g?null:(0,d.jsx)(e.default,{}),f]})]}),h]})}function g({label:a,value:b,tone:c}){return(0,d.jsxs)("div",{className:`admin-stat ${c||""}`,children:[(0,d.jsx)("b",{children:b}),(0,d.jsx)("span",{children:a})]})}function h({children:a,tone:b="neutral"}){return(0,d.jsx)("span",{className:`admin-pill ${b}`,children:a})}function i({title:a,children:b}){return(0,d.jsxs)("div",{className:"admin-empty",children:[(0,d.jsx)("b",{children:a}),(0,d.jsx)("p",{children:b})]})}},89670:(a,b,c)=>{Promise.resolve().then(c.bind(c,94657))},91845:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{$$RSC_SERVER_ACTION_0:()=>u,default:()=>p,dynamic:()=>q,runtime:()=>r});var e=c(75338),f=c(75879);c(68633);var g=c(16780),h=c(82161),i=c(86893),j=c(83963),k=c(60105),l=a([j,k]);[j,k]=l.then?(await l)():l;let q="force-dynamic",r="nodejs",s={executive:"Executive",manager:"Manager",team_lead:"Team Lead",individual_contributor:"Contributor"},t={executive:"mars",manager:"ready",team_lead:"warn",individual_contributor:"neutral"};function m(a=""){return a.split(/\s+/).map(a=>a[0]).filter(Boolean).slice(0,2).join("").toUpperCase()||"\xb7"}let u=async function(a){let b=String(a.get("agent_id")||"").trim();if(!b)return;let c=String(a.get("reports_to")||"").trim(),d={reports_to:""===c?null:c},e=String(a.get("role")||"").trim();e&&(d.role=e);let f=String(a.get("title")||"").trim();(f||a.has("title"))&&(d.title=f||null);try{(0,j.jN)(b,d)}catch(a){console.warn("updateAgentOrg failed",a?.message)}(0,g.revalidatePath)("/org"),(0,g.revalidatePath)("/agents"),(0,h.redirect)("/org")};function n({node:a,workloadById:b}){let c=function(a){if(a.role&&s[a.role])return a.role;let b=a.reports?.length||0;return b>=4?"executive":b>=2?"manager":1===b?"team_lead":"individual_contributor"}(a),d=s[c],f=t[c],g=a.reports?.length||0,h=b.get(a.id),j=Number(h?.active_tasks||0),k=Number(h?.blocked_tasks||0),l=Number(h?.completed_tasks||0),n=a.status||"created";return(0,e.jsxs)("article",{className:`org-card org-card--${c}`,"data-reports":g>0?"has":"none",children:[(0,e.jsxs)("div",{className:"org-card-head",children:[(0,e.jsx)("div",{className:"org-card-avatar","aria-hidden":"true",children:m(a.name)}),(0,e.jsxs)("div",{className:"org-card-identity",children:[(0,e.jsx)("div",{className:"org-card-name",children:a.name}),(0,e.jsx)("div",{className:"org-card-title",children:a.title||a.mission?.slice(0,64)||"No title set"})]})]}),(0,e.jsxs)("div",{className:"org-card-meta",children:[(0,e.jsx)(i.qs,{tone:f,children:d}),(0,e.jsx)(i.qs,{tone:"heartbeat ok"===n?"ready":"terminated"===n?"danger":"neutral",children:n}),g>0?(0,e.jsxs)(i.qs,{tone:"neutral",children:[g," report",1===g?"":"s"]}):null]}),(0,e.jsxs)("dl",{className:"org-card-stats",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("dt",{children:"Active"}),(0,e.jsx)("dd",{children:j})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("dt",{children:"Blocked"}),(0,e.jsx)("dd",{className:k?"is-warn":"",children:k})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("dt",{children:"Done"}),(0,e.jsx)("dd",{children:l})]})]})]})}function o({node:a,workloadById:b}){let c=(a.reports||[]).length>0;return(0,e.jsxs)("li",{className:"org-branch",children:[(0,e.jsx)(n,{node:a,workloadById:b}),c?(0,e.jsx)("ul",{className:"org-children",children:a.reports.map(a=>(0,e.jsx)(o,{node:a,workloadById:b},a.id))}):null]})}function p(){let a=(0,j.zP)(),b=(0,j.hC)(),c=(0,k.vc)(),d=new Map((b.workload||[]).map(a=>[a.agent_id,a])),f=c.filter(a=>c.some(b=>b.reports_to===a.id)).length,g=c.filter(a=>!a.reports_to&&a.id).length;return(0,e.jsxs)(i.iN,{title:"Agent chart",description:"Company-style structure for your agent workforce. Set managers, define roles, and see workload at a glance.",children:[(0,e.jsxs)("section",{className:"admin-stats",children:[(0,e.jsx)(i.hI,{label:"Headcount",value:b.totals.active_agents}),(0,e.jsx)(i.hI,{label:"Leaders",value:f}),(0,e.jsx)(i.hI,{label:"Root nodes",value:g}),(0,e.jsx)(i.hI,{label:"Active tasks",value:b.totals.active_tasks})]}),(0,e.jsxs)("section",{className:"admin-panel",children:[(0,e.jsxs)("div",{className:"admin-panel-head",children:[(0,e.jsx)("span",{children:"Agent chart"}),(0,e.jsx)("small",{children:"Top-down hierarchy. Each card shows role, status, and current workload."})]}),a.length?(0,e.jsx)("div",{className:"org-chart-scroll",children:(0,e.jsx)("ul",{className:"org-chart",children:a.map(a=>(0,e.jsx)(o,{node:a,workloadById:d},a.id))})}):(0,e.jsx)(i.pp,{title:"No agents yet",children:"Create an agent on the Agents page, then come back here to assign managers."})]}),(0,e.jsxs)("section",{className:"admin-grid reports-layout",children:[(0,e.jsxs)("div",{className:"admin-panel",children:[(0,e.jsxs)("div",{className:"admin-panel-head",children:[(0,e.jsx)("span",{children:"Reporting lines"}),(0,e.jsx)("small",{children:"Re-parent any agent. Cycles are blocked automatically."})]}),c.length?(0,e.jsx)("div",{className:"admin-card-list compact",children:c.map(a=>{let b=a.reports_to?c.find(b=>b.id===a.reports_to):null,d=c.filter(b=>b.id!==a.id),f=a.role&&s[a.role]?a.role:"individual_contributor";return(0,e.jsxs)("form",{action:u,className:"org-reporting-row",children:[(0,e.jsx)("input",{type:"hidden",name:"agent_id",value:a.id}),(0,e.jsxs)("div",{className:"org-reporting-identity",children:[(0,e.jsx)("div",{className:"org-card-avatar small","aria-hidden":"true",children:m(a.name)}),(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"org-reporting-name",children:a.name}),(0,e.jsx)("div",{className:"org-reporting-sub",children:b?`Reports to ${b.name}`:"Top of chain"})]})]}),(0,e.jsxs)("div",{className:"org-reporting-fields",children:[(0,e.jsxs)("label",{className:"org-reporting-field",children:[(0,e.jsx)("span",{children:"Title"}),(0,e.jsx)("input",{type:"text",name:"title",defaultValue:a.title||"",placeholder:"e.g. Marketing Manager"})]}),(0,e.jsxs)("label",{className:"org-reporting-field",children:[(0,e.jsx)("span",{children:"Role"}),(0,e.jsx)("select",{name:"role",defaultValue:f,children:Object.entries(s).map(([a,b])=>(0,e.jsx)("option",{value:a,children:b},a))})]}),(0,e.jsxs)("label",{className:"org-reporting-field",children:[(0,e.jsx)("span",{children:"Manager"}),(0,e.jsxs)("select",{name:"reports_to",defaultValue:a.reports_to||"",children:[(0,e.jsx)("option",{value:"",children:"— None (top of chain)"}),d.map(a=>(0,e.jsx)("option",{value:a.id,children:a.name},a.id))]})]}),(0,e.jsx)("button",{className:"admin-button",type:"submit",children:"Save"})]})]},a.id)})}):(0,e.jsx)(i.pp,{title:"No agents yet",children:"Create agents to start building your org."})]}),(0,e.jsxs)("div",{className:"admin-panel",children:[(0,e.jsxs)("div",{className:"admin-panel-head",children:[(0,e.jsx)("span",{children:"Workload by agent"}),(0,e.jsx)("small",{children:"Derived from active tasks."})]}),b.workload.length?(0,e.jsx)("div",{className:"admin-card-list compact",children:b.workload.map(a=>(0,e.jsxs)("div",{className:"admin-record compact",children:[(0,e.jsxs)("div",{className:"admin-record-top",children:[(0,e.jsx)("b",{children:a.agent_name||a.agent_id}),(0,e.jsxs)(i.qs,{tone:a.blocked_tasks?"danger":a.active_tasks?"ready":"neutral",children:[a.active_tasks," active"]})]}),(0,e.jsxs)("p",{children:[a.total_tasks," total \xb7 ",a.blocked_tasks," blocked \xb7 ",a.completed_tasks," complete"]})]},a.agent_id))}):(0,e.jsx)(i.pp,{title:"No workload data",children:"Assign tasks to see workload distribution."})]})]})]})}(0,f.A)(u,"4026ce6c45a5dc9e3b2ec16c999fd4346780ba2018",null),d()}catch(a){d(a)}})},94657:(a,b,c)=>{"use strict";c.d(b,{default:()=>f});var d=c(21124),e=c(38301);function f(){let[a,b]=(0,e.useState)([]),[c,f]=(0,e.useState)("");return(0,d.jsx)("div",{className:"project-switcher","data-project-switcher":!0,children:(0,d.jsxs)("select",{value:c,onChange:a=>{var b;f(b=a.target.value),b?localStorage.setItem("madarx.activeProjectId",b):localStorage.removeItem("madarx.activeProjectId"),window.dispatchEvent(new CustomEvent("madarx:project-change",{detail:{project_id:b||null}}))},"aria-label":"Active project",children:[(0,d.jsx)("option",{value:"",children:"All projects"}),a.map(a=>(0,d.jsx)("option",{value:a.id,children:a.name},a.id))]})})}}};
@@ -1,4 +1,4 @@
1
- "use strict";exports.id=4740,exports.ids=[4740],exports.modules={57021:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{o:()=>h});var e=c(34255),f=c(99602),g=a([e,f]);async function h(a,b={}){let c,d=a?.source_document_id;if(!d)return{status:"error",error:"source_document_id_required"};let g=(0,e.getDb)(),i=g.prepare("SELECT id, project_id, original_path, file_type FROM mines_source_documents WHERE id = ?").get(d);if(!i)return{status:"error",error:"source_document_not_found"};let j=(a,b)=>g.prepare("UPDATE mines_source_documents SET extraction_status = ?, extraction_error = ?, updated_at = ? WHERE id = ?").run(a,b||null,(0,e.nowIso)(),d);j("extracting",null);try{c=await (0,f.pR)(i.original_path)}catch(a){return j("failed","tabular_read_error:"+(a?.message||"")),{status:"failed",error:"read_error"}}if("assay"===c){let a=await (0,f.bM)(i.original_path,i.project_id,i.id);return"error"===a.status?(j("failed",a.error),{status:"failed",tabular_type:"assay",error:a.error}):(j("complete",null),{status:"complete",tabular_type:"assay",rows_loaded:a.rows_loaded,rows_skipped:a.rows_skipped,unrecognized_columns:a.unrecognized_columns})}if("drill"===c){let a=await (0,f.hY)(i.original_path,i.project_id,i.id);return"error"===a.status?(j("failed",a.error),{status:"failed",tabular_type:"drill",error:a.error}):(j("complete",null),{status:"complete",tabular_type:"drill",rows_loaded:a.rows_loaded,rows_skipped:a.rows_skipped})}return j("skipped","unrecognized_tabular_type"),{status:"skipped",tabular_type:"unknown"}}[e,f]=g.then?(await g)():g,d()}catch(a){d(a)}})},74740:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{p:()=>s});var e=c(34255),f=c(60105),g=c(14743),h=c(40718),i=c(78224),j=c(2163),k=c(97774),l=c(25185),m=c(70952),n=c(57021),o=c(59224),p=c(40563),q=a([e,f,g,h,i,j,k,l,m,n,o,p]);async function r(a){let b=a.payload||{},d=b.type||a.type,e=a.acting_on_behalf_of_user_id||"system";if("noop"===d)return{ok:!0};if("tool_rate_limit_gc"===d){let a=(0,j.XZ)(),b=new Date(Date.now()+864e5).toISOString();return(0,p.aJ)({type:"tool_rate_limit_gc",payload:{type:"tool_rate_limit_gc"},max_attempts:99,run_after:b}),{ok:!0,deleted:a.deleted}}if("update_check"===d){let{runUpdateCheck:a,shouldAutoApply:b}=await Promise.resolve().then(c.bind(c,81553)),{resolveHome:d}=await Promise.resolve().then(c.bind(c,99449)),{getConfig:e}=await Promise.resolve().then(c.bind(c,67179)),f=await a({file:d().updateCheckFile}),g=!1;if(b({behind:f.behind,mode:e("auto_update_mode","off"),apply:e("auto_update_apply","notify")})){let{applyUpdate:a}=await Promise.resolve().then(c.bind(c,1303));g=(await a({initiatedBy:"weekly_auto_update"})).ok}return(0,p.aJ)({type:"update_check",payload:{type:"update_check"},max_attempts:99,run_after:new Date(Date.now()+6048e5).toISOString()}),{ok:!0,behind:f.behind,latest:f.latest,applied:g}}if("competitor-report"===d)return(0,f.NK)({triggered_by:"heartbeat-worker"});if("marketing-plan"===d)return(0,f.mk)({triggered_by:"heartbeat-worker"});if("heartbeat"===d)return(0,f.IG)({triggered_by:"heartbeat-worker"});if("agent-task"===d)return(0,g.G)(b.agent_id||a.agent_id,{triggered_by:"heartbeat-worker",task_id:b.task_id||null,agent_run_id:b.run_id||null,wake_reason:b.reason||"task_assigned",acting_on_behalf_of_user_id:e,heartbeat_task_id:a.id});if("mission"===d)try{let c=await (0,g.G)(b.agent_id||a.agent_id,{triggered_by:"heartbeat-worker",mission_id:b.mission_id||null,wake_reason:`mission:${b.slug||a.type}`,acting_on_behalf_of_user_id:e,heartbeat_task_id:a.id});return(0,k.l$)(a.id,"complete"),c}catch(b){throw(0,k.l$)(a.id,"error",b?.message||String(b)),b}if("process_stage"===d)return(0,l.wG)({case_id:b.case_id,stage_id:b.stage_id,execution_id:b.execution_id,heartbeat_task_id:a.id});if("mines.extract_document"===d)return(0,m.f)({source_document_id:b.source_document_id,force_ocr:b.force_ocr},{acting_on_behalf_of_user_id:e,heartbeat_task_id:a.id});if("mines.load_tabular"===d)return(0,n.o)({source_document_id:b.source_document_id},{acting_on_behalf_of_user_id:e,heartbeat_task_id:a.id});if("mines.index_spatial"===d)return(0,o.d)({project_id:b.project_id,source_document_id:b.source_document_id},{acting_on_behalf_of_user_id:e,heartbeat_task_id:a.id});if("tool_call"===d){let c={...b.input||{}};return a.approval_request_id&&!c.approval_id&&(c.approval_id=a.approval_request_id),(0,h.executeRegistryTool)(b.tool_name,c,{agent_id:b.agent_id||a.agent_id,acting_on_behalf_of_user_id:e,heartbeat_task_id:a.id})}return(0,g.G)(b.agent_id||a.agent_id,{triggered_by:"heartbeat-worker",acting_on_behalf_of_user_id:e,heartbeat_task_id:a.id})}async function s({workerId:a=(0,e.newId)("worker"),leaseMs:b}={}){(0,p.recoverStaleHeartbeatTasks)();try{(0,i.rK)()}catch{}let c=(0,p.S8)({workerId:a,leaseMs:b});if(!c)return{ok:!0,worker_id:a,worked:!1};(0,p.Uz)(c.id,a);try{let b=await r(c);if(b?.status==="approval_required")return(0,p.g_)(c.id,b.approval_request_id,b.reason),{ok:!0,worker_id:a,worked:!0,status:"approval_required",task_id:c.id};return(0,p.xB)(c.id,b||{}),{ok:!0,worker_id:a,worked:!0,status:"complete",task_id:c.id}}catch(d){let b=(0,p.u9)(c.id,d);return{ok:!1,worker_id:a,worked:!0,status:b.status,task_id:c.id,error:d.message}}}[e,f,g,h,i,j,k,l,m,n,o,p]=q.then?(await q)():q,d()}catch(a){d(a)}})},78224:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{Z2:()=>u,Zn:()=>t,_3:()=>y,o0:()=>x,qw:()=>s,rK:()=>z,vy:()=>r});var e=c(73024),f=c(76760),g=c(31421),h=c(34255),i=c(9381),j=c(73066),k=c(61423),l=c(60105),m=c(8727),n=a([h,j,k,l,m]);[h,j,k,l,m]=n.then?(await n)():n;let A=new Set(["complete","failed","cancelled","stale"]);function o(a){return a?{...a}:null}function p(a){return a?{...a,payload:function(a,b){if(!a)return null;try{return JSON.parse(a)}catch{return null}}(a.payload,null)}:null}function q(a,b){let c=f.resolve(i.Dl,a),d=e.realpathSync(i.un),g=e.existsSync(f.dirname(c))?e.realpathSync(f.dirname(c)):f.resolve(f.dirname(c)),h=f.join(g,f.basename(c));if(!(h===d||h.startsWith(`${d}${f.sep}`)))throw Error(`Refusing to write artifact outside workspace: ${a}`);e.mkdirSync(f.dirname(c),{recursive:!0}),e.writeFileSync(c,b,"utf8")}function r(a=20){return(0,h.getDb)().prepare("SELECT * FROM hermes_jobs ORDER BY updated_at DESC LIMIT ?").all(a).map(o)}function s(a){let b=(0,h.getDb)();return o(b.prepare("SELECT * FROM hermes_jobs WHERE id = ?").get(a))}function t(a,b=200){return(0,h.getDb)().prepare("SELECT * FROM hermes_job_events WHERE job_id = ? ORDER BY at ASC LIMIT ?").all(a,b).map(p)}function u(a){let b=s(a);return b?{...b,events:t(a,500)}:null}function v(a,b=[]){let c=a.status||"queued",d=[],e=[...b].reverse().find(a=>"final"===a.type),f=[...b].reverse().find(a=>"error"===a.type);e?.message?d.push(e.message,""):(a.error||f?.message)&&d.push("## Error","",a.error||f.message,"");let g=b.filter(a=>!["final"].includes(a.type));if(g.length){for(let a of(d.push("## Progress",""),g.slice(-80))){let b=a.at?a.at.replace("T"," ").replace(/\.\d+Z$/,"Z"):"",c=(function(a,b=6e3){let c=String(a||"");return c.length>b?`${c.slice(0,b)}
1
+ "use strict";exports.id=4740,exports.ids=[4740],exports.modules={57021:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{o:()=>h});var e=c(34255),f=c(99602),g=a([e,f]);async function h(a,b={}){let c,d=a?.source_document_id;if(!d)return{status:"error",error:"source_document_id_required"};let g=(0,e.getDb)(),i=g.prepare("SELECT id, project_id, original_path, file_type FROM mines_source_documents WHERE id = ?").get(d);if(!i)return{status:"error",error:"source_document_not_found"};let j=(a,b)=>g.prepare("UPDATE mines_source_documents SET extraction_status = ?, extraction_error = ?, updated_at = ? WHERE id = ?").run(a,b||null,(0,e.nowIso)(),d);j("extracting",null);try{c=await (0,f.pR)(i.original_path)}catch(a){return j("failed","tabular_read_error:"+(a?.message||"")),{status:"failed",error:"read_error"}}if("assay"===c){let a=await (0,f.bM)(i.original_path,i.project_id,i.id);return"error"===a.status?(j("failed",a.error),{status:"failed",tabular_type:"assay",error:a.error}):(j("complete",null),{status:"complete",tabular_type:"assay",rows_loaded:a.rows_loaded,rows_skipped:a.rows_skipped,unrecognized_columns:a.unrecognized_columns})}if("drill"===c){let a=await (0,f.hY)(i.original_path,i.project_id,i.id);return"error"===a.status?(j("failed",a.error),{status:"failed",tabular_type:"drill",error:a.error}):(j("complete",null),{status:"complete",tabular_type:"drill",rows_loaded:a.rows_loaded,rows_skipped:a.rows_skipped})}return j("skipped","unrecognized_tabular_type"),{status:"skipped",tabular_type:"unknown"}}[e,f]=g.then?(await g)():g,d()}catch(a){d(a)}})},74740:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{p:()=>s});var e=c(34255),f=c(60105),g=c(14743),h=c(40718),i=c(78224),j=c(2163),k=c(97774),l=c(25185),m=c(70952),n=c(57021),o=c(59224),p=c(40563),q=a([e,f,g,h,i,j,k,l,m,n,o,p]);async function r(a){let b=a.payload||{},d=b.type||a.type,e=a.acting_on_behalf_of_user_id||"system";if("noop"===d)return{ok:!0};if("tool_rate_limit_gc"===d){let a=(0,j.XZ)(),b=new Date(Date.now()+864e5).toISOString();return(0,p.aJ)({type:"tool_rate_limit_gc",payload:{type:"tool_rate_limit_gc"},max_attempts:99,run_after:b}),{ok:!0,deleted:a.deleted}}if("update_check"===d){let{runUpdateCheck:a,shouldAutoApply:b}=await Promise.resolve().then(c.bind(c,81553)),{resolveHome:d}=await Promise.resolve().then(c.bind(c,99449)),{getConfig:e}=await Promise.resolve().then(c.bind(c,67179)),f=await a({file:d().updateCheckFile}),g=!1;if(b({behind:f.behind,mode:e("auto_update_mode","off"),apply:e("auto_update_apply","notify")})){let{applyUpdate:a}=await Promise.resolve().then(c.bind(c,1303));g=(await a({initiatedBy:"weekly_auto_update"})).ok}return(0,p.aJ)({type:"update_check",payload:{type:"update_check"},max_attempts:99,run_after:new Date(Date.now()+6048e5).toISOString()}),{ok:!0,behind:f.behind,latest:f.latest,applied:g}}if("competitor-report"===d)return(0,f.NK)({triggered_by:"heartbeat-worker"});if("marketing-plan"===d)return(0,f.mk)({triggered_by:"heartbeat-worker"});if("heartbeat"===d)return(0,f.IG)({triggered_by:"heartbeat-worker"});if("agent-task"===d)return(0,g.G)(b.agent_id||a.agent_id,{triggered_by:"heartbeat-worker",task_id:b.task_id||null,agent_run_id:b.run_id||null,wake_reason:b.reason||"task_assigned",acting_on_behalf_of_user_id:e,heartbeat_task_id:a.id});if("mission"===d)try{let c=await (0,g.G)(b.agent_id||a.agent_id,{triggered_by:"heartbeat-worker",mission_id:b.mission_id||null,wake_reason:`mission:${b.slug||a.type}`,acting_on_behalf_of_user_id:e,heartbeat_task_id:a.id});return(0,k.l$)(a.id,"complete"),c}catch(b){throw(0,k.l$)(a.id,"error",b?.message||String(b)),b}if("process_stage"===d)return(0,l.wG)({case_id:b.case_id,stage_id:b.stage_id,execution_id:b.execution_id,heartbeat_task_id:a.id});if("mines.extract_document"===d)return(0,m.f)({source_document_id:b.source_document_id,force_ocr:b.force_ocr},{acting_on_behalf_of_user_id:e,heartbeat_task_id:a.id});if("mines.load_tabular"===d)return(0,n.o)({source_document_id:b.source_document_id},{acting_on_behalf_of_user_id:e,heartbeat_task_id:a.id});if("mines.index_spatial"===d)return(0,o.d)({project_id:b.project_id,source_document_id:b.source_document_id},{acting_on_behalf_of_user_id:e,heartbeat_task_id:a.id});if("tool_call"===d){let c={...b.input||{}};return a.approval_request_id&&!c.approval_id&&(c.approval_id=a.approval_request_id),(0,h.executeRegistryTool)(b.tool_name,c,{agent_id:b.agent_id||a.agent_id,acting_on_behalf_of_user_id:e,heartbeat_task_id:a.id})}return(0,g.G)(b.agent_id||a.agent_id,{triggered_by:b.triggered_by||"heartbeat-worker",wake_reason:b.reason||null,acting_on_behalf_of_user_id:e,heartbeat_task_id:a.id})}async function s({workerId:a=(0,e.newId)("worker"),leaseMs:b}={}){(0,p.recoverStaleHeartbeatTasks)();try{(0,i.rK)()}catch{}let c=(0,p.S8)({workerId:a,leaseMs:b});if(!c)return{ok:!0,worker_id:a,worked:!1};(0,p.Uz)(c.id,a);try{let b=await r(c);if(b?.status==="approval_required")return(0,p.g_)(c.id,b.approval_request_id,b.reason),{ok:!0,worker_id:a,worked:!0,status:"approval_required",task_id:c.id};return(0,p.xB)(c.id,b||{}),{ok:!0,worker_id:a,worked:!0,status:"complete",task_id:c.id}}catch(d){let b=(0,p.u9)(c.id,d);return{ok:!1,worker_id:a,worked:!0,status:b.status,task_id:c.id,error:d.message}}}[e,f,g,h,i,j,k,l,m,n,o,p]=q.then?(await q)():q,d()}catch(a){d(a)}})},78224:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{Z2:()=>u,Zn:()=>t,_3:()=>y,o0:()=>x,qw:()=>s,rK:()=>z,vy:()=>r});var e=c(73024),f=c(76760),g=c(31421),h=c(34255),i=c(9381),j=c(73066),k=c(61423),l=c(60105),m=c(8727),n=a([h,j,k,l,m]);[h,j,k,l,m]=n.then?(await n)():n;let A=new Set(["complete","failed","cancelled","stale"]);function o(a){return a?{...a}:null}function p(a){return a?{...a,payload:function(a,b){if(!a)return null;try{return JSON.parse(a)}catch{return null}}(a.payload,null)}:null}function q(a,b){let c=f.resolve(i.Dl,a),d=e.realpathSync(i.un),g=e.existsSync(f.dirname(c))?e.realpathSync(f.dirname(c)):f.resolve(f.dirname(c)),h=f.join(g,f.basename(c));if(!(h===d||h.startsWith(`${d}${f.sep}`)))throw Error(`Refusing to write artifact outside workspace: ${a}`);e.mkdirSync(f.dirname(c),{recursive:!0}),e.writeFileSync(c,b,"utf8")}function r(a=20){return(0,h.getDb)().prepare("SELECT * FROM hermes_jobs ORDER BY updated_at DESC LIMIT ?").all(a).map(o)}function s(a){let b=(0,h.getDb)();return o(b.prepare("SELECT * FROM hermes_jobs WHERE id = ?").get(a))}function t(a,b=200){return(0,h.getDb)().prepare("SELECT * FROM hermes_job_events WHERE job_id = ? ORDER BY at ASC LIMIT ?").all(a,b).map(p)}function u(a){let b=s(a);return b?{...b,events:t(a,500)}:null}function v(a,b=[]){let c=a.status||"queued",d=[],e=[...b].reverse().find(a=>"final"===a.type),f=[...b].reverse().find(a=>"error"===a.type);e?.message?d.push(e.message,""):(a.error||f?.message)&&d.push("## Error","",a.error||f.message,"");let g=b.filter(a=>!["final"].includes(a.type));if(g.length){for(let a of(d.push("## Progress",""),g.slice(-80))){let b=a.at?a.at.replace("T"," ").replace(/\.\d+Z$/,"Z"):"",c=(function(a,b=6e3){let c=String(a||"");return c.length>b?`${c.slice(0,b)}
2
2
 
3
3
  [truncated ${c.length-b} chars]`:c})(a.message||a.type,1200).replace(/\n/g,"\n ");d.push(`- ${b} ${a.type}: ${c}`.trim())}d.push("")}return"running"===c?d.push("## Current state","","Hermes is still running. This artifact updates as new progress arrives.",""):"queued"===c&&d.push("## Current state","","Hermes is queued and will start shortly.",""),`${d.join("\n")}
4
4
  `}function w(a,{type:b,message:c,payload:d}={}){let e=(0,h.getDb)(),f=(0,h.newId)("hermes-event"),g=(0,h.nowIso)();return e.prepare(`
@@ -5,4 +5,4 @@ ${d}`}(y,s?.id);G&&D.push(G);let H=function(a){if(!a?.active)return"";let b=(a.c
5
5
  ${A}`),z&&D.push(`Recent artifacts in current scope (most recent first):
6
6
  ${z}`),B&&D.push(`Owner approvals waiting (do NOT auto-bypass — surface and confirm):
7
7
  ${B}`),C&&D.push(`Durable memory the operator chose to share:
8
- ${C}`),w.length&&D.push(`Voice providers configured: ${w.join(", ")}.`),D.push(`You have the FULL main-agent tool surface — same catalog the typed dashboard agent uses. Every call goes through the madarX approval, allowlist, rate-limit, and audit gates; never claim a tool ran until the call returns success. Available tools: ${x.join(", ")}.`),D.push('Cross-scope access: find_artifacts searches every project, not just the active one. Call list_projects to enumerate projects on demand. Call get_state with project_id="<slug or id>" to read a specific project, or with project_id=null to read across all projects. Spaces are client-side UI tabs that group artifacts — they do not gate your reach; any artifact in any space is reachable via find_artifacts.'),D.push('Rules: never speak API keys, ephemeral tokens, or secret values aloud. If a tool returns approval_required, tell the operator one short sentence and stop. Prefer artifact creation for anything longer than ~30 spoken seconds. Never invent artifact IDs — call find_artifacts or get_state first. To read an artifact\'s body, call read_artifact with the id from find_artifacts; do NOT claim you have read it until that call returns content. ARTIFACT CREATION — choose the right tool: (1) For any VISUAL result the operator expects to look designed — a list page, snapshot, brief, report, dashboard, presentation, landing page, "make a page for X", "show me X" — call generate_ui with a specific description that includes the actual content/data to render. generate_ui produces a full styled HTML document using the madarX brand system (typography, color, layout). (2) For plain written notes, scratch summaries, or pure markdown exports the operator asked for explicitly, use create_artifact with kind="markdown". Never use create_artifact for visual outputs — it stores raw text and the dashboard renders it as a basic document, not a designed page. Whenever the operator asks for a summary, brief, page, doc, or report, create the artifact unprompted as the result of the turn — do not ask for permission first.'),{instructions:D.join("\n\n").slice(0,7800),tools:x,capabilities:v,date_iso:l(),project:s?{id:s.id,slug:s.slug,name:s.name}:null,active_space:d?{id:d.id,name:d.name}:null,providers_configured:w}}d()}catch(a){d(a)}})},25018:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{Ww:()=>j,dK:()=>i,lA:()=>k});var e=c(24516),f=a([e]);function g(a){return!!((0,e.getSecret)(a)||process.env[a])}function h(a){let b=process.env[a];return b&&/^https?:\/\//i.test(b.trim())?b.trim():null}function i(){let a={openai:g("OPENAI_API_KEY")},b={openai:g("OPENAI_API_KEY"),elevenlabs:g("ELEVENLABS_API_KEY"),local:!!h("MADARX_LOCAL_TTS_URL")},c={openai:g("OPENAI_API_KEY"),elevenlabs:g("ELEVENLABS_API_KEY"),local:!!h("MADARX_LOCAL_STT_URL")||"1"===process.env.LOCAL_WHISPER},d={anthropic:g("ANTHROPIC_API_KEY"),openai:g("OPENAI_API_KEY")};return{realtime:a,tts:b,stt:c,llm:d}}function j(a=i()){let b=[];return a.realtime.openai&&b.push("openai_realtime"),a.llm.anthropic&&b.push("anthropic_stream"),a.tts.openai&&b.push("openai_tts"),a.tts.elevenlabs&&b.push("elevenlabs_tts"),a.stt.elevenlabs&&b.push("elevenlabs_scribe"),a.stt.local&&b.push("local_stt"),a.tts.local&&b.push("local_tts"),b}function k(){let a=i();return{capabilities:a,default_mode:function(a=i()){return a.realtime.openai?"realtime":a.tts.openai||a.tts.elevenlabs||a.tts.local?"tts":a.stt.local&&a.tts.local?"local":"off"}(a),default_tts_provider:function(a=i()){let b=String(process.env.MADARX_VOICE_DEFAULT_PROVIDER||"").toLowerCase();return b&&a.tts[b]?b:a.tts.elevenlabs?"elevenlabs":a.tts.openai?"openai":a.tts.local?"local":null}(a),providers_configured:j(a),local_slots:{tts_url:h("MADARX_LOCAL_TTS_URL"),stt_url:h("MADARX_LOCAL_STT_URL")}}}e=(f.then?(await f)():f)[0],d()}catch(a){d(a)}})},62834:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{CW:()=>j,PA:()=>h,Q_:()=>i,h0:()=>k});var e=c(34255),f=a([e]);e=(f.then?(await f)():f)[0];let l=new Set(["agent","project","global"]);function g(a,b){if(!a)return null;let c={...a,local_only:1===a.local_only};return c.local_only&&"ollama"!==b?(c.content="[local-only memory redacted]",c.redacted=!0):c.redacted=!1,c}function h(a={}){if(!l.has(a.scope))throw Error("invalid memory scope");if(!a.content)throw Error("content is required");let b=(0,e.nowIso)(),c=(0,e.newId)("mem");return(0,e.getDb)().prepare("INSERT INTO agent_memory (id, agent_id, project_id, scope, kind, content, source, local_only, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)").run(c,a.agent_id||null,a.project_id||null,a.scope,a.kind||"note",String(a.content),a.source||null,+!!a.local_only,b,b),(0,e.getDb)().prepare("SELECT * FROM agent_memory WHERE id = ?").get(c)}function i(a={}){let b=[],c=[];a.agent_id&&(b.push("(agent_id = ? OR scope != ?)"),c.push(a.agent_id,"agent")),a.project_id&&(b.push("(project_id = ? OR scope = ?)"),c.push(a.project_id,"global"));let d=`SELECT * FROM agent_memory ${b.length?"WHERE "+b.join(" AND "):""} ORDER BY updated_at DESC`;return(0,e.getDb)().prepare(d).all(...c).map(b=>g(b,a.engine||"ollama"))}function j(a,b,c="",d){if(!d)throw Error("engine parameter required");let f=String(c||"").toLowerCase().split(/\s+/).filter(Boolean).slice(0,8),h=[b||"",a||""],i="SELECT * FROM agent_memory WHERE (scope = 'global' OR (scope = 'project' AND project_id = ?) OR (scope = 'agent' AND agent_id = ?))";return f.length&&(i+=` AND (${f.map(()=>"LOWER(content) LIKE ?").join(" OR ")})`,h.push(...f.map(a=>`%${a}%`))),i+=" ORDER BY updated_at DESC LIMIT 50",(0,e.getDb)().prepare(i).all(...h).map(a=>g(a,d))}function k(a){return(0,e.getDb)().prepare("DELETE FROM agent_memory WHERE id = ?").run(a),!0}d()}catch(a){d(a)}})},71231:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{Ed:()=>k,K_:()=>j,cl:()=>m,vQ:()=>l});var e=c(511),f=c(40718),g=a([e,f]);function h(a){return{type:"function",name:a.name,description:a.description||"",parameters:a.input_schema||{type:"object",properties:{}}}}function i(){return(0,e.Y)()}function j(){return i().map(a=>{var b;return{name:a.name,title:(b=a.name,String(b||"").replace(/[_-]+/g," ").replace(/\b\w/g,a=>a.toUpperCase())),description:a.description||"",risk_level:function(a){let b=(0,f.n4)().find(b=>b.name===a);return b?.risk_level?b.risk_level:/^(delete_|send_|whatsapp_|email_|gh_pr_merge|supabase_(update|delete|sql|rpc)|stripe_)/.test(a)?"medium":"low"}(a.name)}})}function k(){return i().map(h)}function l(a){return!!a&&i().some(b=>b.name===a)}async function m(a,b={},c={}){if(!a)throw Error("voice tool name is required");return(0,e.o8)(a,b||{},{project_id:c?.project_id??null,agent_id:c?.agent_id??null,triggered_by:"voice"})}[e,f]=g.then?(await g)():g,d()}catch(a){d(a)}})},95736:(a,b,c)=>{a.exports=c(44870)}};
8
+ ${C}`),w.length&&D.push(`Voice providers configured: ${w.join(", ")}.`),D.push(`You have the FULL main-agent tool surface — same catalog the typed dashboard agent uses. Every call goes through the madarX approval, allowlist, rate-limit, and audit gates; never claim a tool ran until the call returns success. Available tools: ${x.join(", ")}.`),D.push('Cross-scope access: find_artifacts searches every project, not just the active one. Call list_projects to enumerate projects on demand. Call get_state with project_id="<slug or id>" to read a specific project, or with project_id=null to read across all projects. Spaces are client-side UI tabs that group artifacts — they do not gate your reach; any artifact in any space is reachable via find_artifacts.'),D.push('Rules: never speak API keys, ephemeral tokens, or secret values aloud. If a tool returns approval_required, tell the operator one short sentence and stop. Prefer artifact creation for anything longer than ~30 spoken seconds. Never invent artifact IDs — call find_artifacts or get_state first. To read an artifact\'s body, call read_artifact with the id from find_artifacts; do NOT claim you have read it until that call returns content. ARTIFACT CREATION — choose the right tool: (1) For any VISUAL result the operator expects to look designed — a list page, snapshot, brief, report, dashboard, presentation, landing page, "make a page for X", "show me X" — call generate_ui with a specific description that includes the actual content/data to render. generate_ui produces a full styled HTML document using the madarX brand system (typography, color, layout). (2) For plain written notes, scratch summaries, or pure markdown exports the operator asked for explicitly, use create_artifact with kind="markdown". Never use create_artifact for visual outputs — it stores raw text and the dashboard renders it as a basic document, not a designed page. Whenever the operator asks for a summary, brief, page, doc, or report, create the artifact unprompted as the result of the turn — do not ask for permission first. BRAND IS MANDATORY: every visual artifact MUST follow the madarX brand guidelines above (palette, typography, layout) — generate_ui applies them automatically, so always route designed output through generate_ui. Never emit an off-brand layout, default-looking page, or any emoji in an artifact.'),{instructions:D.join("\n\n").slice(0,7800),tools:x,capabilities:v,date_iso:l(),project:s?{id:s.id,slug:s.slug,name:s.name}:null,active_space:d?{id:d.id,name:d.name}:null,providers_configured:w}}d()}catch(a){d(a)}})},25018:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{Ww:()=>j,dK:()=>i,lA:()=>k});var e=c(24516),f=a([e]);function g(a){return!!((0,e.getSecret)(a)||process.env[a])}function h(a){let b=process.env[a];return b&&/^https?:\/\//i.test(b.trim())?b.trim():null}function i(){let a={openai:g("OPENAI_API_KEY")},b={openai:g("OPENAI_API_KEY"),elevenlabs:g("ELEVENLABS_API_KEY"),local:!!h("MADARX_LOCAL_TTS_URL")},c={openai:g("OPENAI_API_KEY"),elevenlabs:g("ELEVENLABS_API_KEY"),local:!!h("MADARX_LOCAL_STT_URL")||"1"===process.env.LOCAL_WHISPER},d={anthropic:g("ANTHROPIC_API_KEY"),openai:g("OPENAI_API_KEY")};return{realtime:a,tts:b,stt:c,llm:d}}function j(a=i()){let b=[];return a.realtime.openai&&b.push("openai_realtime"),a.llm.anthropic&&b.push("anthropic_stream"),a.tts.openai&&b.push("openai_tts"),a.tts.elevenlabs&&b.push("elevenlabs_tts"),a.stt.elevenlabs&&b.push("elevenlabs_scribe"),a.stt.local&&b.push("local_stt"),a.tts.local&&b.push("local_tts"),b}function k(){let a=i();return{capabilities:a,default_mode:function(a=i()){return a.realtime.openai?"realtime":a.tts.openai||a.tts.elevenlabs||a.tts.local?"tts":a.stt.local&&a.tts.local?"local":"off"}(a),default_tts_provider:function(a=i()){let b=String(process.env.MADARX_VOICE_DEFAULT_PROVIDER||"").toLowerCase();return b&&a.tts[b]?b:a.tts.elevenlabs?"elevenlabs":a.tts.openai?"openai":a.tts.local?"local":null}(a),providers_configured:j(a),local_slots:{tts_url:h("MADARX_LOCAL_TTS_URL"),stt_url:h("MADARX_LOCAL_STT_URL")}}}e=(f.then?(await f)():f)[0],d()}catch(a){d(a)}})},62834:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{CW:()=>j,PA:()=>h,Q_:()=>i,h0:()=>k});var e=c(34255),f=a([e]);e=(f.then?(await f)():f)[0];let l=new Set(["agent","project","global"]);function g(a,b){if(!a)return null;let c={...a,local_only:1===a.local_only};return c.local_only&&"ollama"!==b?(c.content="[local-only memory redacted]",c.redacted=!0):c.redacted=!1,c}function h(a={}){if(!l.has(a.scope))throw Error("invalid memory scope");if(!a.content)throw Error("content is required");let b=(0,e.nowIso)(),c=(0,e.newId)("mem");return(0,e.getDb)().prepare("INSERT INTO agent_memory (id, agent_id, project_id, scope, kind, content, source, local_only, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)").run(c,a.agent_id||null,a.project_id||null,a.scope,a.kind||"note",String(a.content),a.source||null,+!!a.local_only,b,b),(0,e.getDb)().prepare("SELECT * FROM agent_memory WHERE id = ?").get(c)}function i(a={}){let b=[],c=[];a.agent_id&&(b.push("(agent_id = ? OR scope != ?)"),c.push(a.agent_id,"agent")),a.project_id&&(b.push("(project_id = ? OR scope = ?)"),c.push(a.project_id,"global"));let d=`SELECT * FROM agent_memory ${b.length?"WHERE "+b.join(" AND "):""} ORDER BY updated_at DESC`;return(0,e.getDb)().prepare(d).all(...c).map(b=>g(b,a.engine||"ollama"))}function j(a,b,c="",d){if(!d)throw Error("engine parameter required");let f=String(c||"").toLowerCase().split(/\s+/).filter(Boolean).slice(0,8),h=[b||"",a||""],i="SELECT * FROM agent_memory WHERE (scope = 'global' OR (scope = 'project' AND project_id = ?) OR (scope = 'agent' AND agent_id = ?))";return f.length&&(i+=` AND (${f.map(()=>"LOWER(content) LIKE ?").join(" OR ")})`,h.push(...f.map(a=>`%${a}%`))),i+=" ORDER BY updated_at DESC LIMIT 50",(0,e.getDb)().prepare(i).all(...h).map(a=>g(a,d))}function k(a){return(0,e.getDb)().prepare("DELETE FROM agent_memory WHERE id = ?").run(a),!0}d()}catch(a){d(a)}})},71231:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{Ed:()=>k,K_:()=>j,cl:()=>m,vQ:()=>l});var e=c(511),f=c(40718),g=a([e,f]);function h(a){return{type:"function",name:a.name,description:a.description||"",parameters:a.input_schema||{type:"object",properties:{}}}}[e,f]=g.then?(await g)():g;let n=new Set(["web_search","web_fetch","find_artifacts","get_state","create_artifact","update_artifact","generate_ui","voice_speak","create_agent","upsert_schedule"]);function i(){let a=(0,e.Y)();if("1"===process.env.MADARX_VOICE_FAST_TOOLS){let b=a.filter(a=>n.has(a.name));if(b.length)return b}return a}function j(){return i().map(a=>{var b;return{name:a.name,title:(b=a.name,String(b||"").replace(/[_-]+/g," ").replace(/\b\w/g,a=>a.toUpperCase())),description:a.description||"",risk_level:function(a){let b=(0,f.n4)().find(b=>b.name===a);return b?.risk_level?b.risk_level:/^(delete_|send_|whatsapp_|email_|gh_pr_merge|supabase_(update|delete|sql|rpc)|stripe_)/.test(a)?"medium":"low"}(a.name)}})}function k(){return i().map(h)}function l(a){return!!a&&(0,e.Y)().some(b=>b.name===a)}async function m(a,b={},c={}){if(!a)throw Error("voice tool name is required");return(0,e.o8)(a,b||{},{project_id:c?.project_id??null,agent_id:c?.agent_id??null,triggered_by:"voice"})}d()}catch(a){d(a)}})},95736:(a,b,c)=>{a.exports=c(44870)}};
@@ -1 +1 @@
1
- exports.id=6059,exports.ids=[6059],exports.modules={2041:(a,b,c)=>{Promise.resolve().then(c.bind(c,49773)),Promise.resolve().then(c.bind(c,62592))},2987:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>e});var d=c(97523);let e=async a=>[{type:"image/png",sizes:"64x64",url:(0,d.fillMetadataSegment)(".",await a.params,"icon.png")+"?4138ae2e9ba66d8a"}]},30724:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/madarx-os/madarx-os/app/components/ui/sidebar-with-submenu.jsx\" 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.")},"/home/runner/work/madarx-os/madarx-os/app/components/ui/sidebar-with-submenu.jsx","default")},49773:(a,b,c)=>{"use strict";c.d(b,{default:()=>p});var d=c(21124),e=c(38301),f=c(42378);let g=[{id:"set-anthropic-key",title:"Set Anthropic API key",category:"Credentials",keywords:["anthropic","api key","claude","apikey","llm","token","cloud engine"],kind:"secret",secretName:"ANTHROPIC_API_KEY",field:{label:"ANTHROPIC_API_KEY",type:"password",placeholder:"sk-ant-…",help:"Used by the Anthropic cloud engine. Stored encrypted in the secrets vault."},settingsHref:"/settings/tools",docSlug:"set-anthropic-key"},{id:"set-resend-key",title:"Set Resend API key (email)",category:"Credentials",keywords:["resend","email","api key","smtp","send mail"],kind:"secret",secretName:"RESEND_API_KEY",field:{label:"RESEND_API_KEY",type:"password",placeholder:"re_…",help:"Enables the email tool. Encrypted at rest."},settingsHref:"/settings/connectors",docSlug:"set-resend-key"},{id:"set-github-token",title:"Set GitHub token",category:"Credentials",keywords:["github","token","pat","api key","git","repo"],kind:"secret",secretName:"GITHUB_TOKEN",field:{label:"GITHUB_TOKEN",type:"password",placeholder:"ghp_… / github_pat_…",help:"Personal access token for the GitHub tool adapter."},settingsHref:"/settings/connectors",docSlug:"set-github-token"},{id:"set-supabase-url",title:"Set Supabase URL",category:"Credentials",keywords:["supabase","url","database","project url","connect"],kind:"secret",secretName:"SUPABASE_URL",field:{label:"SUPABASE_URL",type:"text",placeholder:"https://xxxx.supabase.co",help:"Project URL for Supabase writes + shared cloud layer."},settingsHref:"/settings/connectors",docSlug:"connect-supabase"},{id:"set-supabase-service-key",title:"Set Supabase service-role key",category:"Credentials",keywords:["supabase","service role","key","api key","secret","database"],kind:"secret",secretName:"SUPABASE_SERVICE_ROLE_KEY",field:{label:"SUPABASE_SERVICE_ROLE_KEY",type:"password",placeholder:"eyJ…",help:"Server-side service-role key. Never exposed to the browser."},settingsHref:"/settings/connectors",docSlug:"connect-supabase"},{id:"set-default-model",title:"Set default model",category:"Agent runtime",keywords:["model","default model","llm","opus","sonnet","haiku","picker"],kind:"config",configKey:"model",field:{label:"Default model",type:"select",help:"Model the main agent uses by default.",options:[{value:"claude-opus-4-7",label:"Opus 4.7"},{value:"claude-sonnet-4-6",label:"Sonnet 4.6"},{value:"claude-haiku-4-5-20251001",label:"Haiku 4.5"}]},settingsHref:"/settings/engines",docSlug:"choose-agent-engine"},{id:"set-design-style",title:"Set artifact design style",category:"Agent runtime",keywords:["design","style","aesthetic","minimal","bold","soft","balanced","artifact"],kind:"config",configKey:"designStyle",field:{label:"Design style",type:"select",help:"Visual style agents use when producing artifacts.",options:[{value:"balanced",label:"Balanced"},{value:"minimal",label:"Minimal"},{value:"bold",label:"Bold"},{value:"soft",label:"Soft"}]},settingsHref:"/settings/brand",docSlug:null},{id:"set-trust-mode",title:"Set main-agent trust mode",category:"Agent runtime",keywords:["trust","trust mode","auto","approval","safety","permission","gate"],kind:"trust-mode",field:{label:"Trust mode",type:"select",help:"Warning: auto lets the main agent run high-and-below risk tool calls WITHOUT asking you first (irreversible_external is always gated). Saving auto confirms this. approval_required is the safe default.",options:[{value:"approval_required",label:"Approval required (safe default)"},{value:"auto",label:"Auto (skip gate for ≤ high risk)"}]},settingsHref:"/settings/advanced",docSlug:"set-trust-mode"}],h=[{id:"start-whatsapp-bridge",slug:"start-whatsapp-bridge",title:"Start the WhatsApp bridge",summary:"Pair a dedicated WhatsApp number and run the gateway daemon so agents can send and receive messages.",category:"Channels",keywords:["whatsapp","bridge","gateway","baileys","pair","daemon","messages"],related:["secrets-vault-overview"]},{id:"set-api-key",slug:"set-api-key",title:"Set an API key",summary:"How API keys and secrets are stored, and the fastest way to add one from anywhere with Cmd+K.",category:"Credentials",keywords:["api key","secret","credential","token","vault","set key"],related:["set-anthropic-key","connect-supabase","secrets-vault-overview"]},{id:"set-anthropic-key",slug:"set-anthropic-key",title:"Set the Anthropic API key",summary:"Add the Anthropic key that powers the cloud engine.",category:"Credentials",keywords:["anthropic","api key","claude","cloud engine","llm"],related:["choose-agent-engine","set-api-key"]},{id:"set-resend-key",slug:"set-resend-key",title:"Set the Resend API key (email)",summary:"Enable the email tool by adding a Resend key.",category:"Credentials",keywords:["resend","email","api key","send mail"],related:["set-api-key"]},{id:"set-github-token",slug:"set-github-token",title:"Set a GitHub token",summary:"Add a personal access token to unlock the GitHub tool adapter.",category:"Credentials",keywords:["github","token","pat","repo","api key"],related:["set-api-key"]},{id:"connect-supabase",slug:"connect-supabase",title:"Connect Supabase",summary:"Wire up Supabase URL and keys for database writes and the shared cloud layer.",category:"Credentials",keywords:["supabase","database","connect","url","service role","shared cloud"],related:["set-api-key","secrets-vault-overview"]},{id:"choose-agent-engine",slug:"choose-agent-engine",title:"Choose an agent engine",summary:"Pick between claude-code, anthropic, ollama, codex, and hermes — and what each needs.",category:"Agent runtime",keywords:["engine","model","claude-code","ollama","codex","hermes","anthropic","local"],related:["set-anthropic-key"]},{id:"set-trust-mode",slug:"set-trust-mode",title:"Set trust mode",summary:"Control whether the main agent gates risky tool calls or runs them automatically.",category:"Agent runtime",keywords:["trust","trust mode","auto","approval","safety","risk","gate"],related:["create-agent"]},{id:"create-agent",slug:"create-agent",title:"Create an agent",summary:"Spin up a worker, set its schedule, scope its tools, and run it.",category:"Getting started",keywords:["agent","create","worker","new agent","caretaker","roster"],related:["schedules-and-cron","set-trust-mode"]},{id:"schedules-and-cron",slug:"schedules-and-cron",title:"Schedules and cron",summary:"How schedules queue durable heartbeat work, backfill missed windows, and run automatically.",category:"Getting started",keywords:["schedule","cron","daily","heartbeat","backfill","recurring"],related:["create-agent"]},{id:"secrets-vault-overview",slug:"secrets-vault-overview",title:"Secrets vault overview",summary:"Where credentials live, how they are encrypted, and why values are never shown back.",category:"Credentials",keywords:["secrets","vault","encryption","aes","master key","security"],related:["set-api-key"]},{id:"keyboard-shortcuts",slug:"keyboard-shortcuts",title:"Keyboard shortcuts",summary:"Every shortcut, including Cmd+K smart search and the composer keys.",category:"Getting started",keywords:["keyboard","shortcut","cmd k","command","hotkey","search"],related:[]}];function i({action:a,current:b,onClose:c,onSaved:g}){(0,f.useRouter)();let h=(0,e.useRef)(null),i=a.field,[j,k]=(0,e.useState)("select"===i.type&&(b?.value||i.options?.[0]?.value)||""),[l,m]=(0,e.useState)(!1),[n,o]=(0,e.useState)(""),[p,q]=(0,e.useState)(!1);async function r(b){if(b.preventDefault(),l)return;let d=String(j).trim();if(!d)return void o("Enter a value.");m(!0),o("");try{let{endpoint:b,method:e,body:f}=function(a,b){switch(a.kind){case"secret":return{endpoint:"/api/secrets",method:"POST",body:{name:a.secretName,value:b,scope:"global",source:"help-modal"}};case"config":return{endpoint:"/api/config",method:"PUT",body:{[a.configKey]:b}};case"trust-mode":return{endpoint:"/api/settings/trust-mode",method:"PATCH",body:"auto"===b?{mode:b,confirm:!0}:{mode:b}};default:throw Error(`unknown action kind: ${a.kind}`)}}(a,d),h=await fetch(b,{method:e,headers:{"content-type":"application/json"},body:JSON.stringify(f)});if(!h.ok){if(403===h.status)o("You need admin or owner access to change this.");else if(401===h.status)o("Sign in to change this setting.");else{let a=await h.text().catch(()=>""),b=a;try{b=JSON.parse(a)?.error||a}catch{}o(b||`Failed (${h.status}).`)}m(!1);return}q(!0),m(!1),g?.(a),window.setTimeout(()=>c(),700)}catch(a){o(a?.message||"Network error."),m(!1)}}let s=function(a,b){if(!b)return null;if("secret"===a.kind)return"set"===b.status?"Currently set":"Not set";if(null!=b.value){let c=a.field.options?.find(a=>a.value===b.value);return`Currently: ${c?c.label:b.value}`}return null}(a,b);return(0,d.jsx)("div",{className:"help-value-overlay",role:"presentation",onMouseDown:a=>{a.target===a.currentTarget&&c()},children:(0,d.jsxs)("form",{className:"help-value-modal",role:"dialog","aria-modal":"true","aria-label":a.title,onSubmit:r,children:[(0,d.jsxs)("header",{className:"help-value-head",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("small",{children:a.category}),(0,d.jsx)("h2",{children:a.title})]}),(0,d.jsx)("button",{type:"button",className:"help-value-close",onClick:c,"aria-label":"Close",children:"esc"})]}),(0,d.jsxs)("div",{className:"help-value-body",children:[(0,d.jsxs)("label",{className:"help-value-field",children:[(0,d.jsxs)("span",{className:"help-value-label",children:[i.label,s?(0,d.jsx)("em",{className:"help-value-status",children:s}):null]}),"select"===i.type?(0,d.jsx)("select",{ref:h,value:j,onChange:a=>k(a.target.value),disabled:l||p,children:i.options.map(a=>(0,d.jsx)("option",{value:a.value,children:a.label},a.value))}):(0,d.jsx)("input",{ref:h,type:"password"===i.type?"password":"text",value:j,placeholder:i.placeholder||"",onChange:a=>k(a.target.value),disabled:l||p,autoComplete:"off",spellCheck:!1})]}),i.help?(0,d.jsx)("p",{className:"help-value-help",children:i.help}):null,n?(0,d.jsx)("p",{className:"help-value-error",role:"alert",children:n}):null,p?(0,d.jsx)("p",{className:"help-value-ok",role:"status",children:"Saved."}):null]}),(0,d.jsxs)("footer",{className:"help-value-foot",children:[(0,d.jsxs)("div",{className:"help-value-links",children:[(0,d.jsx)("a",{href:a.settingsHref,onClick:c,children:"Open full settings"}),a.docSlug?(0,d.jsx)("a",{href:`/help/${a.docSlug}`,onClick:c,children:"Read the guide"}):null]}),(0,d.jsxs)("div",{className:"help-value-actions",children:[(0,d.jsx)("button",{type:"button",className:"help-value-btn ghost",onClick:c,disabled:l,children:"Cancel"}),(0,d.jsx)("button",{type:"submit",className:"help-value-btn primary",disabled:l||p,children:l?"Saving…":"Save"})]})]})]})})}let j=[{title:"Overview",href:"/",section:"Navigate",keys:["dashboard","home","canvas","main"]},{title:"Agents",href:"/agents",section:"Navigate",keys:["agent","worker","roster","team"]},{title:"Tasks",href:"/tasks",section:"Navigate",keys:["task","work","todo","kanban"]},{title:"Approvals",href:"/approvals",section:"Navigate",keys:["approve","permission","review"]},{title:"Tools",href:"/tools",section:"Navigate",keys:["tool","connector","capability"]},{title:"Schedules",href:"/schedules",section:"Navigate",keys:["cron","schedule","calendar"]},{title:"Reports",href:"/reports",section:"Navigate",keys:["report","artifact","brief"]},{title:"Activity",href:"/activity",section:"Navigate",keys:["activity","runs","history"]},{title:"Runtime",href:"/runtime",section:"Navigate",keys:["runtime","diagnostics","heartbeat","process"]},{title:"Brand",href:"/brand",section:"Navigate",keys:["brand","identity","design"]},{title:"Settings",href:"/settings",section:"Navigate",keys:["settings","config","preferences"]},{title:"Help",href:"/help",section:"Navigate",keys:["help","guide","docs","documentation","shortcuts"]}],k=[{id:"focus-main-agent",title:"Focus main agent composer",detail:"Jump to the prompt box without leaving the keyboard.",section:"Action",shortcut:"⌘J",keys:["chat","composer","prompt","ask","agent"],run:({router:a,pathname:b})=>{"/"!==b?(a.push("/"),window.setTimeout(()=>window.dispatchEvent(new Event("madarx:focus-composer")),180)):window.dispatchEvent(new Event("madarx:focus-composer"))}},{id:"new-chat",title:"New main-agent chat",detail:"Fresh conversation without using ⌘N, which belongs to the browser.",section:"Action",shortcut:"⌘⇧J",keys:["new","session","chat","fresh"],run:({router:a,pathname:b})=>{"/"!==b&&a.push("/"),window.setTimeout(()=>window.dispatchEvent(new Event("madarx:new-chat")),180*("/"!==b))}},{id:"settings-modal",title:"Open agent configuration",detail:"Close to the right thumb, but avoids browser-level ⌘, preferences.",section:"Action",shortcut:"⌘;",keys:["settings","preferences","config","model"],run:({router:a,pathname:b})=>{"/"!==b?(a.push("/"),window.setTimeout(()=>window.dispatchEvent(new Event("madarx:open-config")),180)):window.dispatchEvent(new Event("madarx:open-config"))}},{id:"shortcut-help",title:"Show keyboard shortcuts",detail:"Open this palette and filter to shortcut help.",section:"Action",shortcut:"⌘/",keys:["keyboard","shortcut","help","command"],run:({openWithQuery:a})=>a("shortcuts")}],l=[{title:"Open smart search",detail:"⌘Space or ⌘K. Thumb + home-row fallback; Ctrl Space also works when macOS owns Spotlight.",section:"Shortcuts",keys:["shortcut","search","spotlight","command space"]},{title:"Focus main agent",detail:"⌘J. Right thumb + index on home row; avoids browser shortcuts.",section:"Shortcuts",keys:["shortcut","composer","prompt"]},{title:"New chat",detail:"⌘⇧J. Same hand position as focus, with Shift; avoids ⌘N.",section:"Shortcuts",keys:["shortcut","new chat","session"]},{title:"Agents / Tasks / Runtime",detail:"⌘⇧A, ⌘⇧T, ⌘⇧D. Left-hand clusters for common operating surfaces.",section:"Shortcuts",keys:["shortcut","navigation","agents","tasks","runtime"]},{title:"Agent settings",detail:"⌘; sits under the right hand and avoids browser Preferences on ⌘,.",section:"Shortcuts",keys:["shortcut","settings","preferences"]}];function m(a){return String(a||"").toLowerCase().trim()}function n(){let a=(0,f.useRouter)(),b=(0,f.usePathname)(),c=(0,e.useRef)(null),[n,o]=(0,e.useState)(!1),[p,q]=(0,e.useState)(""),[r,s]=(0,e.useState)(0),[t,u]=(0,e.useState)({}),[v,w]=(0,e.useState)(!1),[x,y]=(0,e.useState)(null),z=(0,e.useCallback)(async()=>{try{let a=await fetch("/api/help",{cache:"no-store"});if(!a.ok)return;let b=await a.json(),c={};for(let a of b.actions||[])c[a.id]=a.current;u(c),w(!0)}catch{}},[]),A=(0,e.useMemo)(()=>{let a=j.map(a=>({...a,id:`nav:${a.href}`,kind:"nav",detail:"/"===a.href?"Return to the main command center.":`Open ${a.href}`,run:({router:b})=>b.push(a.href)}));return[...k,...g.map(a=>({id:`set:${a.id}`,kind:"setting",action:a,title:a.title,detail:a.field?.help||"Set this value.",section:"Set",keys:a.keywords})),...h.map(a=>({id:`doc:${a.slug}`,kind:"doc",title:a.title,detail:a.summary,section:"Doc",href:`/help/${a.slug}`,keys:a.keywords})),...a,...l]},[]),B=(0,e.useMemo)(()=>{let a=m(p);if(!a)return A.slice(0,10);let b=a.split(/\s+/).filter(Boolean);return A.map(c=>{let d=[c.title,c.detail,c.section,c.href,...c.keys||[]].filter(Boolean).join(" ").toLowerCase(),e=b.reduce((a,b)=>a+ +!!d.includes(b),0),f=3*!!m(c.title).startsWith(a);return{item:c,score:e+f}}).filter(({score:a})=>a>0).sort((a,b)=>b.score-a.score||a.item.title.localeCompare(b.item.title)).map(({item:a})=>a).slice(0,12)},[A,p]),C=a=>{q(a||""),o(!0),s(0)},D=()=>{o(!1),q(""),s(0)};(0,e.useCallback)(a=>{let b=g.find(b=>b.id===a);b&&y(b)},[]);let E=(0,e.useCallback)(()=>y(null),[]),F=x?(0,d.jsx)(i,{action:x,current:t[x.id],onClose:E,onSaved:z}):null;return n?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"smart-search-overlay",role:"presentation",onMouseDown:a=>{a.target===a.currentTarget&&D()},children:(0,d.jsxs)("section",{className:"smart-search-panel",role:"dialog","aria-modal":"true","aria-label":"Smart search",children:[(0,d.jsxs)("div",{className:"smart-search-head",children:[(0,d.jsx)("span",{className:"smart-search-orb","aria-hidden":"true"}),(0,d.jsx)("input",{ref:c,value:p,onChange:a=>q(a.target.value),placeholder:"Search docs, settings, pages…","aria-label":"Search madarX OS"}),(0,d.jsx)("kbd",{children:"esc"})]}),(0,d.jsx)("div",{className:"smart-search-results",role:"listbox","aria-label":"Smart search results",children:B.length?B.map((c,e)=>{let f="setting"===c.kind?t[c.action.id]:null,g=f&&"secret"===c.action.kind&&"set"===f.status?"Set":null;return(0,d.jsxs)("button",{type:"button",className:"smart-search-row"+(e===r?" is-active":""),onMouseEnter:()=>s(e),onClick:()=>(c=>{if(c){if("setting"===c.kind){y(c.action),D();return}if("doc"===c.kind){a.push(c.href),D();return}c.run&&(c.run({router:a,pathname:b,openWithQuery:C}),"Shortcuts"!==c.section&&D())}})(c),role:"option","aria-selected":e===r,children:[(0,d.jsxs)("span",{className:"smart-search-row-main",children:[(0,d.jsxs)("small",{children:[(0,d.jsx)("span",{className:`smart-search-kind kind-${c.kind||"nav"}`,children:c.section}),g?(0,d.jsx)("span",{className:"smart-search-pill",children:g}):null]}),(0,d.jsx)("b",{children:c.title}),(0,d.jsx)("em",{children:c.detail})]}),c.shortcut?(0,d.jsx)("kbd",{children:c.shortcut}):c.href?(0,d.jsx)("kbd",{children:c.href}):null]},c.id||c.title)}):(0,d.jsx)("div",{className:"smart-search-empty",children:"No matches. Try “api key”, “whatsapp”, “agent”, or “shortcut”."})}),(0,d.jsxs)("footer",{className:"smart-search-foot",children:[(0,d.jsxs)("span",{children:[(0,d.jsx)("kbd",{children:"↑"}),(0,d.jsx)("kbd",{children:"↓"})," select"]}),(0,d.jsxs)("span",{children:[(0,d.jsx)("kbd",{children:"return"})," open"]}),(0,d.jsxs)("span",{children:[(0,d.jsx)("kbd",{children:"⌘J"})," composer"]})]})]})}),F]}):F}let o=["/login","/share"];function p({children:a,sidebar:b}){let c=(0,f.usePathname)();return(0,e.useMemo)(()=>o.some(a=>c===a||c?.startsWith(`${a}/`)),[c])?(0,d.jsx)("div",{className:"chromeless-page",children:a}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"app-shell",children:[(0,d.jsx)("div",{className:"app-rail",children:b??null}),(0,d.jsx)("div",{className:"app-content",children:a})]}),(0,d.jsx)(n,{})]})}},50872:(a,b,c)=>{"use strict";c.d(b,{D:()=>e});var d=c(75338);function e({label:a}={}){return(0,d.jsx)("main",{className:"admin-shell","aria-busy":"true","aria-live":"polite",children:(0,d.jsxs)("div",{className:"nav-skeleton",role:"status",children:[(0,d.jsx)("span",{className:"sr-only",children:a?`Loading ${a}…`:"Loading…"}),(0,d.jsx)("div",{className:"nav-skeleton__header"}),(0,d.jsxs)("div",{className:"nav-skeleton__strip",children:[(0,d.jsx)("div",{className:"nav-skeleton__pill"}),(0,d.jsx)("div",{className:"nav-skeleton__pill"}),(0,d.jsx)("div",{className:"nav-skeleton__pill"}),(0,d.jsx)("div",{className:"nav-skeleton__pill"})]}),(0,d.jsxs)("div",{className:"nav-skeleton__rows",children:[(0,d.jsx)("div",{className:"nav-skeleton__row"}),(0,d.jsx)("div",{className:"nav-skeleton__row"}),(0,d.jsx)("div",{className:"nav-skeleton__row"}),(0,d.jsx)("div",{className:"nav-skeleton__row"})]})]})})}},62592:(a,b,c)=>{"use strict";c.d(b,{default:()=>J});var d=c(21124),e=c(38301),f=c(3991),g=c.n(f),h=c(42378),i=c(30242),j=c(11941),k=c(63881),l=c(23007),m=c(99802),n=c(93673),o=c(74905),p=c(39153),q=c(26890),r=c(77703),s=c(59153),t=c(30079),u=c(75571),v=c(13044),w=c(45423),x=c(79401),y=c(36248),z=c(81868),A=c(80207);let B="madarx:sidebarAvatar";function C(){let[a,b]=(0,e.useState)(null),c=(0,e.useRef)(null);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("button",{type:"button",onClick:()=>c.current?.click(),"aria-label":a?"Change avatar":"Upload an avatar",title:a?"Change avatar":"Upload an avatar",className:"group relative w-9 h-9 rounded-full overflow-hidden flex items-center justify-center cursor-pointer border border-[rgba(20,22,26,0.16)] bg-[rgba(17,19,24,0.035)] transition-colors hover:border-[rgba(20,22,26,0.32)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#111318] focus-visible:ring-offset-2 focus-visible:ring-offset-white/50",children:[a?(0,d.jsx)("img",{src:a,alt:"Avatar",className:"w-full h-full object-cover"}):(0,d.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"#9aa1ab",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,d.jsx)("path",{d:"M12 16V8M8 12h8"})}),(0,d.jsx)("span",{className:"absolute inset-0 hidden group-hover:flex items-center justify-center bg-black/35 text-white",children:(0,d.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,d.jsx)("path",{d:"M12 16V6M12 6 7.5 10.5M12 6l4.5 4.5"}),(0,d.jsx)("path",{d:"M5 18v1.5A1.5 1.5 0 0 0 6.5 21h11a1.5 1.5 0 0 0 1.5-1.5V18"})]})}),a?(0,d.jsx)("span",{role:"button",tabIndex:-1,onClick:function(a){a.stopPropagation(),b(null);try{localStorage.removeItem(B)}catch{}},"aria-label":"Remove avatar",className:"absolute -top-0.5 -right-0.5 hidden group-hover:flex w-4 h-4 items-center justify-center rounded-full bg-[#111318] text-white text-[9px] leading-none",children:"\xd7"}):null]}),(0,d.jsx)("input",{ref:c,type:"file",accept:"image/*",hidden:!0,onChange:function(a){let c=a.target.files?.[0];if(a.target.value="",!c||!c.type.startsWith("image/")||c.size>2097152)return;let d=new FileReader;d.onload=()=>{let a=String(d.result||"");if(a){b(a);try{localStorage.setItem(B,a)}catch{}}},d.readAsDataURL(c)}})]})}let D=[{group:"work",name:"Spaces",href:"/",icon:k.A},{group:"work",name:"Projects",href:"/projects",icon:l.A},{group:"work",name:"Agents",href:"/agents",icon:m.A},{group:"work",name:"Tasks",href:"/tasks",icon:n.A},{group:"work",name:"Workflows",href:"/workflows",icon:o.A},{group:"work",name:"Approvals",href:"/approvals",icon:p.A},{group:"library",name:"Marketplace",href:"/marketplace",icon:q.A}],E={Pickaxe:r.A,Boxes:s.A,Gem:t.A,FlaskConical:u.A,Factory:v.A,Building2:w.A,Package:q.A,FolderOpen:l.A,Workflow:o.A},F=[{name:"Settings",icon:x.A,href:"/settings"}];function G(a,b){return!!a&&("/"===b?"/"===a:a===b||a.startsWith(`${b}/`))}function H(a){a.currentTarget?.blur?.()}function I({item:a,active:b}){let c=a.icon;return(0,d.jsxs)(g(),{href:a.href,prefetch:!0,"aria-label":a.name,"aria-current":b?"page":void 0,"data-active":b?"true":void 0,onClick:H,className:`relative flex items-center justify-center p-2 rounded-lg transition-colors duration-150 group ${b?"text-[#C2452A]":"text-[#69707a] hover:text-[#111318] hover:bg-[rgba(17,19,24,0.08)] active:bg-[rgba(17,19,24,0.12)]"}`,children:[(0,d.jsx)(c,{className:"w-5 h-5",strokeWidth:1.75,"aria-hidden":"true"}),(0,d.jsx)("span",{className:"absolute left-12 px-2 py-1 rounded-md whitespace-nowrap text-xs text-white bg-[#111318] hidden group-hover:inline-block group-focus-visible:inline-block z-50 shadow-lg pointer-events-none",children:a.name})]})}function J({moduleNav:a=[]}){let b=(0,h.usePathname)(),{session:c,signOut:f}=function(){let[a,b]=(0,e.useState)(null),c=(0,h.useRouter)();return{session:a,signOut:async function(){await fetch("/api/auth/session",{method:"DELETE"}).catch(()=>null),c.replace("/login"),c.refresh()}}}(),[k,l]=(0,e.useState)(null),m=(Array.isArray(a)?a:[]).map(a=>({group:"module",name:a.label,href:a.href,icon:E[a.icon]||s.A})),n=[...D.filter(a=>"work"===a.group),...m,...D.filter(a=>"library"===a.group)],o=c?.email||"Local owner",p="local"===(c?.auth_mode||"local"),q=(c?.email||c?.display_name||"AK").slice(0,2).toUpperCase();return(0,d.jsxs)("aside",{className:"relative z-30 h-full w-full rounded-[18px] border border-white/75 bg-[var(--glass)] backdrop-blur-[22px] backdrop-saturate-150 flex flex-col","aria-label":"Primary navigation",children:[(0,d.jsx)("div",{className:"h-20 flex items-center justify-center px-3 shrink-0",children:(0,d.jsx)(C,{})}),(0,d.jsxs)("div",{className:"flex-1 flex flex-col min-h-0",children:[(0,d.jsx)("ul",{className:"list-none m-0 p-0 px-3 text-sm font-medium flex-1 space-y-1",children:n.map((a,c)=>{let e=n[c-1],f=e&&e.group!==a.group,g=G(b,a.href);return(0,d.jsxs)("li",{children:[f?(0,d.jsx)("div",{"aria-hidden":"true",className:"mx-2 my-2 h-px bg-[rgba(20,22,26,0.09)]"}):null,(0,d.jsx)(I,{item:a,active:g})]},a.name)})}),(0,d.jsx)("ul",{className:"list-none m-0 p-0 px-3 pb-3 pt-2 text-sm font-medium space-y-1",children:F.map(a=>{let c=G(b,a.href);return(0,d.jsx)("li",{children:(0,d.jsx)(I,{item:a,active:c})},a.name)})}),(0,d.jsx)("div",{className:"relative py-4 px-3 border-t border-[rgba(20,22,26,0.09)] flex justify-center",children:(0,d.jsxs)(i.bL,{children:[(0,d.jsx)(i.l9,{className:"outline-none rounded-full border-0 bg-transparent p-0 appearance-none cursor-pointer focus-visible:ring-2 focus-visible:ring-[#111318] focus-visible:ring-offset-2 focus-visible:ring-offset-white/50","aria-label":"Account menu",children:(0,d.jsxs)(j.bL,{className:"w-10 h-10 rounded-full overflow-hidden cursor-pointer block",children:[(0,d.jsx)(j._V,{className:"w-full h-full object-cover",src:"/madarx-mark.svg",alt:"AK"}),(0,d.jsx)(j.H4,{className:"flex w-full h-full items-center justify-center text-white text-xs font-bold tracking-wider bg-gradient-to-br from-[#111318] to-[#565d6b]",delayMs:150,children:q})]})}),(0,d.jsx)(i.ZL,{children:(0,d.jsxs)(i.UC,{side:"right",align:"end",sideOffset:12,className:"w-64 rounded-xl bg-white shadow-[0_22px_60px_rgba(17,19,24,0.20)] border border-[rgba(20,22,26,0.09)] text-sm text-[#59606b] p-2 z-[100]",children:[(0,d.jsx)("div",{className:"px-2 py-1.5 text-[11px] uppercase tracking-[0.14em] text-[var(--accent-600)] font-bold",children:p?"Local operator":"Signed in"}),(0,d.jsx)("span",{className:"block text-[#68707b] px-2 pb-2 truncate",children:o}),(0,d.jsx)(i.q7,{asChild:!0,className:"outline-none",children:(0,d.jsx)(g(),{href:"/",className:"block w-full p-2 text-left rounded-md hover:bg-[rgba(17,19,24,0.05)] active:bg-[rgba(17,19,24,0.1)] duration-150 cursor-pointer no-underline text-[#313740]",children:"Spaces"})}),(0,d.jsx)(i.q7,{asChild:!0,className:"outline-none",children:(0,d.jsx)(g(),{href:"/settings",className:"block w-full p-2 text-left rounded-md hover:bg-[rgba(17,19,24,0.05)] active:bg-[rgba(17,19,24,0.1)] duration-150 cursor-pointer no-underline text-[#313740]",children:"Settings"})}),(0,d.jsx)(i.wv,{className:"my-1 h-px bg-[rgba(20,22,26,0.09)]"}),k?.behind&&k?.latest?(0,d.jsx)(i.q7,{asChild:!0,className:"outline-none",children:(0,d.jsxs)(g(),{href:"/",className:"flex items-center justify-between gap-x-2 w-full p-2 text-left rounded-md hover:bg-[rgba(17,19,24,0.05)] active:bg-[rgba(17,19,24,0.1)] duration-150 cursor-pointer no-underline text-[#313740]",children:[(0,d.jsxs)("span",{className:"flex items-center gap-x-2",children:[(0,d.jsx)(y.A,{className:"w-4 h-4 text-[var(--accent-600)]",strokeWidth:1.75}),"Update available"]}),(0,d.jsxs)("span",{className:"text-[11px] font-semibold text-[var(--accent-600)]",children:["v",k.latest]})]})}):(0,d.jsxs)("div",{className:"flex items-center justify-between px-2 py-2 text-[12px] text-[#9aa1ab]",children:[(0,d.jsx)("span",{children:"Version"}),(0,d.jsx)("span",{className:"font-medium text-[#68707b]",children:k?.current?`v${k.current}`:"—"})]}),(0,d.jsx)(i.wv,{className:"my-1 h-px bg-[rgba(20,22,26,0.09)]"}),p?(0,d.jsx)(i.q7,{asChild:!0,className:"outline-none",children:(0,d.jsxs)(g(),{href:"/settings/account",className:"flex items-center gap-x-2 w-full p-2 text-left rounded-md hover:bg-[rgba(17,19,24,0.05)] active:bg-[rgba(17,19,24,0.1)] duration-150 cursor-pointer no-underline text-[#313740]",children:[(0,d.jsx)(z.A,{className:"w-4 h-4",strokeWidth:1.75}),"Sign in with an account"]})}):(0,d.jsx)(i.q7,{asChild:!0,className:"outline-none",children:(0,d.jsxs)("button",{type:"button",onClick:f,className:"flex items-center gap-x-2 w-full p-2 text-left rounded-md hover:bg-[rgba(17,19,24,0.05)] active:bg-[rgba(17,19,24,0.1)] duration-150 cursor-pointer text-[#313740]",children:[(0,d.jsx)(A.A,{className:"w-4 h-4",strokeWidth:1.75}),"Sign out"]})})]})})]})})]})]})}},65593:(a,b,c)=>{Promise.resolve().then(c.bind(c,74138)),Promise.resolve().then(c.bind(c,30724))},67237:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,81170,23)),Promise.resolve().then(c.t.bind(c,23597,23)),Promise.resolve().then(c.t.bind(c,36893,23)),Promise.resolve().then(c.t.bind(c,89748,23)),Promise.resolve().then(c.t.bind(c,6060,23)),Promise.resolve().then(c.t.bind(c,7184,23)),Promise.resolve().then(c.t.bind(c,69576,23)),Promise.resolve().then(c.t.bind(c,73041,23)),Promise.resolve().then(c.t.bind(c,51384,23))},70715:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{default:()=>k,metadata:()=>l});var e=c(75338),f=c(46609),g=c(30724),h=c(74138),i=c(23230);c(82704);var j=a([i]);i=(j.then?(await j)():j)[0];let l={title:"madarX OS",description:"Local-first agent command center for Client Workspace"};function k({children:a}){let b=[];try{b=(0,i.O2)()}catch{b=[]}return(0,e.jsx)("html",{lang:"en",className:f.variable,children:(0,e.jsx)("body",{children:(0,e.jsx)(h.default,{sidebar:(0,e.jsx)(g.default,{moduleNav:b}),children:a})})})}d()}catch(a){d(a)}})},74138:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/madarx-os/madarx-os/app/components/app-chrome.jsx\" 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.")},"/home/runner/work/madarx-os/madarx-os/app/components/app-chrome.jsx","default")},80389:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,54160,23)),Promise.resolve().then(c.t.bind(c,31603,23)),Promise.resolve().then(c.t.bind(c,68495,23)),Promise.resolve().then(c.t.bind(c,75170,23)),Promise.resolve().then(c.t.bind(c,77526,23)),Promise.resolve().then(c.t.bind(c,78922,23)),Promise.resolve().then(c.t.bind(c,29234,23)),Promise.resolve().then(c.t.bind(c,12263,23)),Promise.resolve().then(c.bind(c,82146))},82704:()=>{},90391:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(75338),e=c(50872);function f(){return(0,d.jsx)(e.D,{})}}};
1
+ exports.id=6059,exports.ids=[6059],exports.modules={2041:(a,b,c)=>{Promise.resolve().then(c.bind(c,43589)),Promise.resolve().then(c.bind(c,62592))},2987:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>e});var d=c(97523);let e=async a=>[{type:"image/png",sizes:"64x64",url:(0,d.fillMetadataSegment)(".",await a.params,"icon.png")+"?4138ae2e9ba66d8a"}]},9866:(a,b,c)=>{"use strict";c.d(b,{N:()=>f});let d=null,e=new Set;function f(a){return e.add(a),()=>{if(e.delete(a),0===e.size&&d){try{d.close()}catch{}d=null}}}},23315:(a,b,c)=>{"use strict";c.d(b,{U_:()=>h,bX:()=>i,wb:()=>g});let d={Bash:"run command",WebSearch:"web search",WebFetch:"fetch",Read:"read",Write:"write",Edit:"edit",MultiEdit:"edit",NotebookEdit:"edit notebook",Glob:"find files",Grep:"search files",LS:"list",TodoWrite:"plan",Task:"subagent",Skill:"skill",SlashCommand:"command",ExitPlanMode:"exit plan",AskUserQuestion:"ask"};function e(a){if(!a)return"";let b=String(a);return b.split("/").filter(Boolean).pop()||b}function f(a){try{return new URL(String(a)).hostname}catch{return String(a).slice(0,52)}}function g(a){if(!a||a<0)return null;if(a<1e3)return`${Math.round(a)}ms`;if(a<6e4)return`${(a/1e3).toFixed(1)}s`;let b=Math.round(a/1e3);return`${Math.floor(b/60)}m ${b%60}s`}function h(a){if(!a)return"";if(d[a])return d[a];if("string"==typeof a&&a.startsWith("mcp__")){let b=a.split("__");return b[b.length-1].replace(/_/g," ")}return a.replace(/_/g," ")}function i(a,b){return b?"web_search"===a&&b.query?`"${String(b.query).slice(0,52)}"`:"web_fetch"===a&&b.url?f(b.url):"browser_harness_run"===a&&b.script?"browser script":"create_artifact"===a&&b.title?`"${String(b.title).slice(0,40)}"`:"create_agent"===a&&b.name?`"${String(b.name).slice(0,40)}"`:("file_read"===a||"file_write"===a)&&b.path?e(b.path).slice(0,40):"Bash"===a&&b.command?String(b.command).slice(0,80):"WebSearch"===a&&b.query?`"${String(b.query).slice(0,52)}"`:"WebFetch"===a&&b.url?f(b.url):("Read"===a||"Write"===a||"Edit"===a||"MultiEdit"===a||"NotebookEdit"===a)&&b.file_path?e(b.file_path).slice(0,40):("Glob"===a||"Grep"===a)&&(b.pattern||b.path)?String(b.pattern||b.path).slice(0,52):"LS"===a&&b.path?e(b.path).slice(0,40)||"/":"TodoWrite"===a&&Array.isArray(b.todos)?`${b.todos.length} item${1===b.todos.length?"":"s"}`:"Task"===a&&b.description?`"${String(b.description).slice(0,52)}"`:"Skill"===a&&b.skill?`/${b.skill}`:"SlashCommand"===a&&b.command?String(b.command).slice(0,52):null:null}},30724:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/madarx-os/madarx-os/app/components/ui/sidebar-with-submenu.jsx\" 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.")},"/home/runner/work/madarx-os/madarx-os/app/components/ui/sidebar-with-submenu.jsx","default")},43589:(a,b,c)=>{"use strict";c.d(b,{default:()=>x});var d=c(21124),e=c(38301),f=c(42378);let g=[{id:"set-anthropic-key",title:"Set Anthropic API key",category:"Credentials",keywords:["anthropic","api key","claude","apikey","llm","token","cloud engine"],kind:"secret",secretName:"ANTHROPIC_API_KEY",field:{label:"ANTHROPIC_API_KEY",type:"password",placeholder:"sk-ant-…",help:"Used by the Anthropic cloud engine. Stored encrypted in the secrets vault."},settingsHref:"/settings/tools",docSlug:"set-anthropic-key"},{id:"set-resend-key",title:"Set Resend API key (email)",category:"Credentials",keywords:["resend","email","api key","smtp","send mail"],kind:"secret",secretName:"RESEND_API_KEY",field:{label:"RESEND_API_KEY",type:"password",placeholder:"re_…",help:"Enables the email tool. Encrypted at rest."},settingsHref:"/settings/connectors",docSlug:"set-resend-key"},{id:"set-github-token",title:"Set GitHub token",category:"Credentials",keywords:["github","token","pat","api key","git","repo"],kind:"secret",secretName:"GITHUB_TOKEN",field:{label:"GITHUB_TOKEN",type:"password",placeholder:"ghp_… / github_pat_…",help:"Personal access token for the GitHub tool adapter."},settingsHref:"/settings/connectors",docSlug:"set-github-token"},{id:"set-supabase-url",title:"Set Supabase URL",category:"Credentials",keywords:["supabase","url","database","project url","connect"],kind:"secret",secretName:"SUPABASE_URL",field:{label:"SUPABASE_URL",type:"text",placeholder:"https://xxxx.supabase.co",help:"Project URL for Supabase writes + shared cloud layer."},settingsHref:"/settings/connectors",docSlug:"connect-supabase"},{id:"set-supabase-service-key",title:"Set Supabase service-role key",category:"Credentials",keywords:["supabase","service role","key","api key","secret","database"],kind:"secret",secretName:"SUPABASE_SERVICE_ROLE_KEY",field:{label:"SUPABASE_SERVICE_ROLE_KEY",type:"password",placeholder:"eyJ…",help:"Server-side service-role key. Never exposed to the browser."},settingsHref:"/settings/connectors",docSlug:"connect-supabase"},{id:"set-default-model",title:"Set default model",category:"Agent runtime",keywords:["model","default model","llm","opus","sonnet","haiku","picker"],kind:"config",configKey:"model",field:{label:"Default model",type:"select",help:"Model the main agent uses by default.",options:[{value:"claude-opus-4-7",label:"Opus 4.7"},{value:"claude-sonnet-4-6",label:"Sonnet 4.6"},{value:"claude-haiku-4-5-20251001",label:"Haiku 4.5"}]},settingsHref:"/settings/engines",docSlug:"choose-agent-engine"},{id:"set-design-style",title:"Set artifact design style",category:"Agent runtime",keywords:["design","style","aesthetic","minimal","bold","soft","balanced","artifact"],kind:"config",configKey:"designStyle",field:{label:"Design style",type:"select",help:"Visual style agents use when producing artifacts.",options:[{value:"balanced",label:"Balanced"},{value:"minimal",label:"Minimal"},{value:"bold",label:"Bold"},{value:"soft",label:"Soft"}]},settingsHref:"/settings/brand",docSlug:null},{id:"set-trust-mode",title:"Set main-agent trust mode",category:"Agent runtime",keywords:["trust","trust mode","auto","approval","safety","permission","gate"],kind:"trust-mode",field:{label:"Trust mode",type:"select",help:"Warning: auto lets the main agent run high-and-below risk tool calls WITHOUT asking you first (irreversible_external is always gated). Saving auto confirms this. approval_required is the safe default.",options:[{value:"approval_required",label:"Approval required (safe default)"},{value:"auto",label:"Auto (skip gate for ≤ high risk)"}]},settingsHref:"/settings/advanced",docSlug:"set-trust-mode"}],h=[{id:"start-whatsapp-bridge",slug:"start-whatsapp-bridge",title:"Start the WhatsApp bridge",summary:"Pair a dedicated WhatsApp number and run the gateway daemon so agents can send and receive messages.",category:"Channels",keywords:["whatsapp","bridge","gateway","baileys","pair","daemon","messages"],related:["secrets-vault-overview"]},{id:"set-api-key",slug:"set-api-key",title:"Set an API key",summary:"How API keys and secrets are stored, and the fastest way to add one from anywhere with Cmd+K.",category:"Credentials",keywords:["api key","secret","credential","token","vault","set key"],related:["set-anthropic-key","connect-supabase","secrets-vault-overview"]},{id:"set-anthropic-key",slug:"set-anthropic-key",title:"Set the Anthropic API key",summary:"Add the Anthropic key that powers the cloud engine.",category:"Credentials",keywords:["anthropic","api key","claude","cloud engine","llm"],related:["choose-agent-engine","set-api-key"]},{id:"set-resend-key",slug:"set-resend-key",title:"Set the Resend API key (email)",summary:"Enable the email tool by adding a Resend key.",category:"Credentials",keywords:["resend","email","api key","send mail"],related:["set-api-key"]},{id:"set-github-token",slug:"set-github-token",title:"Set a GitHub token",summary:"Add a personal access token to unlock the GitHub tool adapter.",category:"Credentials",keywords:["github","token","pat","repo","api key"],related:["set-api-key"]},{id:"connect-supabase",slug:"connect-supabase",title:"Connect Supabase",summary:"Wire up Supabase URL and keys for database writes and the shared cloud layer.",category:"Credentials",keywords:["supabase","database","connect","url","service role","shared cloud"],related:["set-api-key","secrets-vault-overview"]},{id:"choose-agent-engine",slug:"choose-agent-engine",title:"Choose an agent engine",summary:"Pick between claude-code, anthropic, ollama, codex, and hermes — and what each needs.",category:"Agent runtime",keywords:["engine","model","claude-code","ollama","codex","hermes","anthropic","local"],related:["set-anthropic-key"]},{id:"set-trust-mode",slug:"set-trust-mode",title:"Set trust mode",summary:"Control whether the main agent gates risky tool calls or runs them automatically.",category:"Agent runtime",keywords:["trust","trust mode","auto","approval","safety","risk","gate"],related:["create-agent"]},{id:"create-agent",slug:"create-agent",title:"Create an agent",summary:"Spin up a worker, set its schedule, scope its tools, and run it.",category:"Getting started",keywords:["agent","create","worker","new agent","caretaker","roster"],related:["schedules-and-cron","set-trust-mode"]},{id:"schedules-and-cron",slug:"schedules-and-cron",title:"Schedules and cron",summary:"How schedules queue durable heartbeat work, backfill missed windows, and run automatically.",category:"Getting started",keywords:["schedule","cron","daily","heartbeat","backfill","recurring"],related:["create-agent"]},{id:"secrets-vault-overview",slug:"secrets-vault-overview",title:"Secrets vault overview",summary:"Where credentials live, how they are encrypted, and why values are never shown back.",category:"Credentials",keywords:["secrets","vault","encryption","aes","master key","security"],related:["set-api-key"]},{id:"keyboard-shortcuts",slug:"keyboard-shortcuts",title:"Keyboard shortcuts",summary:"Every shortcut, including Cmd+K smart search and the composer keys.",category:"Getting started",keywords:["keyboard","shortcut","cmd k","command","hotkey","search"],related:[]}];function i({action:a,current:b,onClose:c,onSaved:g}){(0,f.useRouter)();let h=(0,e.useRef)(null),i=a.field,[j,k]=(0,e.useState)("select"===i.type&&(b?.value||i.options?.[0]?.value)||""),[l,m]=(0,e.useState)(!1),[n,o]=(0,e.useState)(""),[p,q]=(0,e.useState)(!1);async function r(b){if(b.preventDefault(),l)return;let d=String(j).trim();if(!d)return void o("Enter a value.");m(!0),o("");try{let{endpoint:b,method:e,body:f}=function(a,b){switch(a.kind){case"secret":return{endpoint:"/api/secrets",method:"POST",body:{name:a.secretName,value:b,scope:"global",source:"help-modal"}};case"config":return{endpoint:"/api/config",method:"PUT",body:{[a.configKey]:b}};case"trust-mode":return{endpoint:"/api/settings/trust-mode",method:"PATCH",body:"auto"===b?{mode:b,confirm:!0}:{mode:b}};default:throw Error(`unknown action kind: ${a.kind}`)}}(a,d),h=await fetch(b,{method:e,headers:{"content-type":"application/json"},body:JSON.stringify(f)});if(!h.ok){if(403===h.status)o("You need admin or owner access to change this.");else if(401===h.status)o("Sign in to change this setting.");else{let a=await h.text().catch(()=>""),b=a;try{b=JSON.parse(a)?.error||a}catch{}o(b||`Failed (${h.status}).`)}m(!1);return}q(!0),m(!1),g?.(a),window.setTimeout(()=>c(),700)}catch(a){o(a?.message||"Network error."),m(!1)}}let s=function(a,b){if(!b)return null;if("secret"===a.kind)return"set"===b.status?"Currently set":"Not set";if(null!=b.value){let c=a.field.options?.find(a=>a.value===b.value);return`Currently: ${c?c.label:b.value}`}return null}(a,b);return(0,d.jsx)("div",{className:"help-value-overlay",role:"presentation",onMouseDown:a=>{a.target===a.currentTarget&&c()},children:(0,d.jsxs)("form",{className:"help-value-modal",role:"dialog","aria-modal":"true","aria-label":a.title,onSubmit:r,children:[(0,d.jsxs)("header",{className:"help-value-head",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("small",{children:a.category}),(0,d.jsx)("h2",{children:a.title})]}),(0,d.jsx)("button",{type:"button",className:"help-value-close",onClick:c,"aria-label":"Close",children:"esc"})]}),(0,d.jsxs)("div",{className:"help-value-body",children:[(0,d.jsxs)("label",{className:"help-value-field",children:[(0,d.jsxs)("span",{className:"help-value-label",children:[i.label,s?(0,d.jsx)("em",{className:"help-value-status",children:s}):null]}),"select"===i.type?(0,d.jsx)("select",{ref:h,value:j,onChange:a=>k(a.target.value),disabled:l||p,children:i.options.map(a=>(0,d.jsx)("option",{value:a.value,children:a.label},a.value))}):(0,d.jsx)("input",{ref:h,type:"password"===i.type?"password":"text",value:j,placeholder:i.placeholder||"",onChange:a=>k(a.target.value),disabled:l||p,autoComplete:"off",spellCheck:!1})]}),i.help?(0,d.jsx)("p",{className:"help-value-help",children:i.help}):null,n?(0,d.jsx)("p",{className:"help-value-error",role:"alert",children:n}):null,p?(0,d.jsx)("p",{className:"help-value-ok",role:"status",children:"Saved."}):null]}),(0,d.jsxs)("footer",{className:"help-value-foot",children:[(0,d.jsxs)("div",{className:"help-value-links",children:[(0,d.jsx)("a",{href:a.settingsHref,onClick:c,children:"Open full settings"}),a.docSlug?(0,d.jsx)("a",{href:`/help/${a.docSlug}`,onClick:c,children:"Read the guide"}):null]}),(0,d.jsxs)("div",{className:"help-value-actions",children:[(0,d.jsx)("button",{type:"button",className:"help-value-btn ghost",onClick:c,disabled:l,children:"Cancel"}),(0,d.jsx)("button",{type:"submit",className:"help-value-btn primary",disabled:l||p,children:l?"Saving…":"Save"})]})]})]})})}let j=[{title:"Overview",href:"/",section:"Navigate",keys:["dashboard","home","canvas","main"]},{title:"Agents",href:"/agents",section:"Navigate",keys:["agent","worker","roster","team"]},{title:"Tasks",href:"/tasks",section:"Navigate",keys:["task","work","todo","kanban"]},{title:"Approvals",href:"/approvals",section:"Navigate",keys:["approve","permission","review"]},{title:"Tools",href:"/tools",section:"Navigate",keys:["tool","connector","capability"]},{title:"Schedules",href:"/schedules",section:"Navigate",keys:["cron","schedule","calendar"]},{title:"Reports",href:"/reports",section:"Navigate",keys:["report","artifact","brief"]},{title:"Activity",href:"/activity",section:"Navigate",keys:["activity","runs","history"]},{title:"Runtime",href:"/runtime",section:"Navigate",keys:["runtime","diagnostics","heartbeat","process"]},{title:"Brand",href:"/brand",section:"Navigate",keys:["brand","identity","design"]},{title:"Settings",href:"/settings",section:"Navigate",keys:["settings","config","preferences"]},{title:"Help",href:"/help",section:"Navigate",keys:["help","guide","docs","documentation","shortcuts"]}],k=[{id:"focus-main-agent",title:"Focus main agent composer",detail:"Jump to the prompt box without leaving the keyboard.",section:"Action",shortcut:"⌘J",keys:["chat","composer","prompt","ask","agent"],run:({router:a,pathname:b})=>{"/"!==b?(a.push("/"),window.setTimeout(()=>window.dispatchEvent(new Event("madarx:focus-composer")),180)):window.dispatchEvent(new Event("madarx:focus-composer"))}},{id:"new-chat",title:"New main-agent chat",detail:"Fresh conversation without using ⌘N, which belongs to the browser.",section:"Action",shortcut:"⌘⇧J",keys:["new","session","chat","fresh"],run:({router:a,pathname:b})=>{"/"!==b&&a.push("/"),window.setTimeout(()=>window.dispatchEvent(new Event("madarx:new-chat")),180*("/"!==b))}},{id:"settings-modal",title:"Open agent configuration",detail:"Close to the right thumb, but avoids browser-level ⌘, preferences.",section:"Action",shortcut:"⌘;",keys:["settings","preferences","config","model"],run:({router:a,pathname:b})=>{"/"!==b?(a.push("/"),window.setTimeout(()=>window.dispatchEvent(new Event("madarx:open-config")),180)):window.dispatchEvent(new Event("madarx:open-config"))}},{id:"shortcut-help",title:"Show keyboard shortcuts",detail:"Open this palette and filter to shortcut help.",section:"Action",shortcut:"⌘/",keys:["keyboard","shortcut","help","command"],run:({openWithQuery:a})=>a("shortcuts")}],l=[{title:"Open smart search",detail:"⌘Space or ⌘K. Thumb + home-row fallback; Ctrl Space also works when macOS owns Spotlight.",section:"Shortcuts",keys:["shortcut","search","spotlight","command space"]},{title:"Focus main agent",detail:"⌘J. Right thumb + index on home row; avoids browser shortcuts.",section:"Shortcuts",keys:["shortcut","composer","prompt"]},{title:"New chat",detail:"⌘⇧J. Same hand position as focus, with Shift; avoids ⌘N.",section:"Shortcuts",keys:["shortcut","new chat","session"]},{title:"Agents / Tasks / Runtime",detail:"⌘⇧A, ⌘⇧T, ⌘⇧D. Left-hand clusters for common operating surfaces.",section:"Shortcuts",keys:["shortcut","navigation","agents","tasks","runtime"]},{title:"Agent settings",detail:"⌘; sits under the right hand and avoids browser Preferences on ⌘,.",section:"Shortcuts",keys:["shortcut","settings","preferences"]}];function m(a){return String(a||"").toLowerCase().trim()}function n(){let a=(0,f.useRouter)(),b=(0,f.usePathname)(),c=(0,e.useRef)(null),[n,o]=(0,e.useState)(!1),[p,q]=(0,e.useState)(""),[r,s]=(0,e.useState)(0),[t,u]=(0,e.useState)({}),[v,w]=(0,e.useState)(!1),[x,y]=(0,e.useState)(null),z=(0,e.useCallback)(async()=>{try{let a=await fetch("/api/help",{cache:"no-store"});if(!a.ok)return;let b=await a.json(),c={};for(let a of b.actions||[])c[a.id]=a.current;u(c),w(!0)}catch{}},[]),A=(0,e.useMemo)(()=>{let a=j.map(a=>({...a,id:`nav:${a.href}`,kind:"nav",detail:"/"===a.href?"Return to the main command center.":`Open ${a.href}`,run:({router:b})=>b.push(a.href)}));return[...k,...g.map(a=>({id:`set:${a.id}`,kind:"setting",action:a,title:a.title,detail:a.field?.help||"Set this value.",section:"Set",keys:a.keywords})),...h.map(a=>({id:`doc:${a.slug}`,kind:"doc",title:a.title,detail:a.summary,section:"Doc",href:`/help/${a.slug}`,keys:a.keywords})),...a,...l]},[]),B=(0,e.useMemo)(()=>{let a=m(p);if(!a)return A.slice(0,10);let b=a.split(/\s+/).filter(Boolean);return A.map(c=>{let d=[c.title,c.detail,c.section,c.href,...c.keys||[]].filter(Boolean).join(" ").toLowerCase(),e=b.reduce((a,b)=>a+ +!!d.includes(b),0),f=3*!!m(c.title).startsWith(a);return{item:c,score:e+f}}).filter(({score:a})=>a>0).sort((a,b)=>b.score-a.score||a.item.title.localeCompare(b.item.title)).map(({item:a})=>a).slice(0,12)},[A,p]),C=a=>{q(a||""),o(!0),s(0)},D=()=>{o(!1),q(""),s(0)};(0,e.useCallback)(a=>{let b=g.find(b=>b.id===a);b&&y(b)},[]);let E=(0,e.useCallback)(()=>y(null),[]),F=x?(0,d.jsx)(i,{action:x,current:t[x.id],onClose:E,onSaved:z}):null;return n?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"smart-search-overlay",role:"presentation",onMouseDown:a=>{a.target===a.currentTarget&&D()},children:(0,d.jsxs)("section",{className:"smart-search-panel",role:"dialog","aria-modal":"true","aria-label":"Smart search",children:[(0,d.jsxs)("div",{className:"smart-search-head",children:[(0,d.jsx)("span",{className:"smart-search-orb","aria-hidden":"true"}),(0,d.jsx)("input",{ref:c,value:p,onChange:a=>q(a.target.value),placeholder:"Search docs, settings, pages…","aria-label":"Search madarX OS"}),(0,d.jsx)("kbd",{children:"esc"})]}),(0,d.jsx)("div",{className:"smart-search-results",role:"listbox","aria-label":"Smart search results",children:B.length?B.map((c,e)=>{let f="setting"===c.kind?t[c.action.id]:null,g=f&&"secret"===c.action.kind&&"set"===f.status?"Set":null;return(0,d.jsxs)("button",{type:"button",className:"smart-search-row"+(e===r?" is-active":""),onMouseEnter:()=>s(e),onClick:()=>(c=>{if(c){if("setting"===c.kind){y(c.action),D();return}if("doc"===c.kind){a.push(c.href),D();return}c.run&&(c.run({router:a,pathname:b,openWithQuery:C}),"Shortcuts"!==c.section&&D())}})(c),role:"option","aria-selected":e===r,children:[(0,d.jsxs)("span",{className:"smart-search-row-main",children:[(0,d.jsxs)("small",{children:[(0,d.jsx)("span",{className:`smart-search-kind kind-${c.kind||"nav"}`,children:c.section}),g?(0,d.jsx)("span",{className:"smart-search-pill",children:g}):null]}),(0,d.jsx)("b",{children:c.title}),(0,d.jsx)("em",{children:c.detail})]}),c.shortcut?(0,d.jsx)("kbd",{children:c.shortcut}):c.href?(0,d.jsx)("kbd",{children:c.href}):null]},c.id||c.title)}):(0,d.jsx)("div",{className:"smart-search-empty",children:"No matches. Try “api key”, “whatsapp”, “agent”, or “shortcut”."})}),(0,d.jsxs)("footer",{className:"smart-search-foot",children:[(0,d.jsxs)("span",{children:[(0,d.jsx)("kbd",{children:"↑"}),(0,d.jsx)("kbd",{children:"↓"})," select"]}),(0,d.jsxs)("span",{children:[(0,d.jsx)("kbd",{children:"return"})," open"]}),(0,d.jsxs)("span",{children:[(0,d.jsx)("kbd",{children:"⌘J"})," composer"]})]})]})}),F]}):F}var o=c(23312),p=c(37129),q=c(23062),r=c(17989);c(9866);var s=c(43929),t=c(23315);let u=[["/agents","Agents"],["/tasks","Tasks"],["/approvals","Approvals"],["/marketplace","Marketplace"],["/tools","Tools"],["/schedules","Schedules"],["/reports","Reports"],["/activity","Activity"],["/runtime","Runtime"],["/workflows","Workflows"],["/brand","Brand"],["/team","Team"],["/whatsapp","WhatsApp"],["/settings","Settings"],["/help","Help"]];function v(){let a=(0,f.usePathname)(),b=(0,e.useMemo)(()=>(function(a){if(!a||"/"===a)return"Overview";let b=u.find(([b])=>a===b||a.startsWith(`${b}/`));return b?b[1]:"madarX"})(a),[a]),[c,g]=(0,e.useState)({}),[h,i]=(0,e.useState)(!1),j=(0,e.useRef)(null),k=(0,e.useRef)(null),[l,m]=(0,e.useState)(null),n=(0,e.useMemo)(()=>Object.values(c).sort((a,b)=>(b.started_at||0)-(a.started_at||0)),[c]),v=n.filter(a=>"running"===a.status),w=v.length,x="Activity";if(1===w){let a=v[0];x=a.current_tool?`${a.agent_name} \xb7 ${(0,t.U_)(a.current_tool)}`:a.agent_name}else w>1&&(x=`${w} agents running`);return(0,d.jsxs)("header",{className:"app-topbar",role:"banner",children:[(0,d.jsxs)("div",{className:"app-topbar-left",children:[(0,d.jsxs)("span",{className:"app-topbar-brand",children:["madar",(0,d.jsx)("b",{children:"X"})]}),(0,d.jsx)("span",{className:"app-topbar-sep","aria-hidden":!0}),(0,d.jsx)("span",{className:"app-topbar-section",children:b})]}),(0,d.jsxs)("div",{className:"app-topbar-right",children:[(0,d.jsx)("div",{id:"app-topbar-slot",className:"app-topbar-slot"}),(0,d.jsxs)("div",{className:"app-topbar-activity-wrap",ref:j,children:[(0,d.jsxs)("button",{type:"button",className:`app-topbar-activity is-clickable ${w?"is-running":""}`,title:w?`${w} agent${1===w?"":"s"} running — click for details`:"Background agent activity",onClick:()=>i(a=>!a),"aria-expanded":h,"aria-haspopup":"dialog",children:[(0,d.jsx)(p.A,{size:12,className:"app-topbar-activity-glyph","aria-hidden":!0}),(0,d.jsx)("span",{className:"app-topbar-dot","aria-hidden":!0}),(0,d.jsx)("span",{className:"app-topbar-activity-label",children:x})]}),h&&"undefined"!=typeof document&&(0,o.createPortal)((0,d.jsxs)("div",{className:"bg-activity-pop",role:"dialog","aria-label":"Background agent activity",ref:k,style:l?{top:l.top,right:l.right}:{visibility:"hidden"},children:[(0,d.jsxs)("div",{className:"bg-activity-head",children:[(0,d.jsx)("b",{children:"Background agents"}),(0,d.jsx)("small",{children:w?`${w} working now`:n.length?"Recently finished":"Live view of agents the Main Agent spawns"})]}),0===n.length&&(0,d.jsxs)("div",{className:"bg-activity-empty",children:[(0,d.jsx)(p.A,{size:18,"aria-hidden":!0}),(0,d.jsx)("span",{children:"No background agents active right now."}),(0,d.jsx)("small",{children:"When the Main Agent calls a sub-agent, it shows here live."})]}),(0,d.jsx)("div",{className:"bg-activity-list",children:n.map(a=>(0,d.jsxs)("div",{className:`bg-activity-agent bg-activity-agent--${a.status}`,children:[(0,d.jsxs)("div",{className:"bg-activity-agent-head",children:[(0,d.jsxs)("span",{className:"bg-activity-agent-icon","aria-hidden":!0,children:["running"===a.status&&(0,d.jsx)(s.Nl,{}),"complete"===a.status&&(0,d.jsx)(s.Sr,{}),"failed"===a.status&&(0,d.jsx)(s.wx,{})]}),(0,d.jsx)("span",{className:"bg-activity-agent-name",children:a.agent_name}),a.triggered_by&&(0,d.jsxs)("span",{className:"bg-activity-agent-by",children:["via ",a.triggered_by]}),(0,d.jsx)("span",{className:"bg-activity-agent-status",children:"running"===a.status?a.current_tool?(0,t.U_)(a.current_tool):"working…":"complete"===a.status?"done":"failed"})]}),a.steps.length>0&&(0,d.jsx)("div",{className:"bg-activity-steps",children:a.steps.slice(-5).map((a,b)=>(0,d.jsxs)("div",{className:`bg-activity-step bg-activity-step--${a.status}`,children:[(0,d.jsxs)("span",{className:"bg-activity-step-icon","aria-hidden":!0,children:["running"===a.status&&(0,d.jsx)(s.Nl,{}),"done"===a.status&&(0,d.jsx)(s.Sr,{}),"error"===a.status&&(0,d.jsx)(s.wx,{})]}),(0,d.jsx)("code",{className:"bg-activity-step-name",children:(0,t.U_)(a.tool)}),(0,t.bX)(a.tool,a.input)&&(0,d.jsx)("span",{className:"bg-activity-step-sub",children:(0,t.bX)(a.tool,a.input)})]},b))})]},a.agent_id))}),(0,d.jsx)("a",{className:"bg-activity-foot",href:"/activity",children:"Open activity log →"})]}),document.body)]}),(0,d.jsxs)("button",{type:"button",className:"app-topbar-search",onClick:function(){},"aria-label":"Open search (Command K)",children:[(0,d.jsx)(q.A,{size:13,"aria-hidden":!0}),(0,d.jsx)("span",{children:"Search"}),(0,d.jsxs)("kbd",{children:[(0,d.jsx)(r.A,{size:10,"aria-hidden":!0}),"K"]})]})]})]})}let w=["/login","/share"];function x({children:a,sidebar:b}){let c=(0,f.usePathname)();return(0,e.useMemo)(()=>w.some(a=>c===a||c?.startsWith(`${a}/`)),[c])?(0,d.jsx)("div",{className:"chromeless-page",children:a}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"app-shell",children:[(0,d.jsx)(v,{}),(0,d.jsx)("div",{className:"app-rail",children:b??null}),(0,d.jsx)("div",{className:"app-content",children:a})]}),(0,d.jsx)(n,{})]})}},43929:(a,b,c)=>{"use strict";c.d(b,{Nl:()=>f,Sr:()=>g,YE:()=>i,wx:()=>h});var d=c(21124),e=c(38301);function f(){return(0,d.jsx)("svg",{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",children:(0,d.jsx)("circle",{cx:"5.5",cy:"5.5",r:"4",stroke:"currentColor",strokeWidth:"1.5",strokeDasharray:"6 4",strokeLinecap:"round",children:(0,d.jsx)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 5.5 5.5",to:"360 5.5 5.5",dur:"0.75s",repeatCount:"indefinite"})})})}function g(){return(0,d.jsx)("svg",{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",children:(0,d.jsx)("path",{d:"M2 5.5L4.5 8L9 3",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function h(){return(0,d.jsx)("svg",{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",children:(0,d.jsx)("path",{d:"M2.5 2.5L8.5 8.5M8.5 2.5L2.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})}function i({startTime:a}){let[b,c]=(0,e.useState)(0);return b<60?(0,d.jsxs)(d.Fragment,{children:[b,"s"]}):(0,d.jsxs)(d.Fragment,{children:[Math.floor(b/60),"m ",b%60,"s"]})}},50872:(a,b,c)=>{"use strict";c.d(b,{D:()=>e});var d=c(75338);function e({label:a}={}){return(0,d.jsx)("main",{className:"admin-shell","aria-busy":"true","aria-live":"polite",children:(0,d.jsxs)("div",{className:"nav-skeleton",role:"status",children:[(0,d.jsx)("span",{className:"sr-only",children:a?`Loading ${a}…`:"Loading…"}),(0,d.jsx)("div",{className:"nav-skeleton__header"}),(0,d.jsxs)("div",{className:"nav-skeleton__strip",children:[(0,d.jsx)("div",{className:"nav-skeleton__pill"}),(0,d.jsx)("div",{className:"nav-skeleton__pill"}),(0,d.jsx)("div",{className:"nav-skeleton__pill"}),(0,d.jsx)("div",{className:"nav-skeleton__pill"})]}),(0,d.jsxs)("div",{className:"nav-skeleton__rows",children:[(0,d.jsx)("div",{className:"nav-skeleton__row"}),(0,d.jsx)("div",{className:"nav-skeleton__row"}),(0,d.jsx)("div",{className:"nav-skeleton__row"}),(0,d.jsx)("div",{className:"nav-skeleton__row"})]})]})})}},62592:(a,b,c)=>{"use strict";c.d(b,{default:()=>J});var d=c(21124),e=c(38301),f=c(3991),g=c.n(f),h=c(42378),i=c(30242),j=c(11941),k=c(63881),l=c(23007),m=c(99802),n=c(93673),o=c(74905),p=c(39153),q=c(26890),r=c(77703),s=c(59153),t=c(30079),u=c(75571),v=c(13044),w=c(45423),x=c(79401),y=c(36248),z=c(81868),A=c(80207);let B="madarx:sidebarAvatar";function C(){let[a,b]=(0,e.useState)(null),c=(0,e.useRef)(null);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("button",{type:"button",onClick:()=>c.current?.click(),"aria-label":a?"Change avatar":"Upload an avatar",title:a?"Change avatar":"Upload an avatar",className:"group relative w-9 h-9 rounded-full overflow-hidden flex items-center justify-center cursor-pointer border border-[rgba(20,22,26,0.16)] bg-[rgba(17,19,24,0.035)] transition-colors hover:border-[rgba(20,22,26,0.32)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#111318] focus-visible:ring-offset-2 focus-visible:ring-offset-white/50",children:[a?(0,d.jsx)("img",{src:a,alt:"Avatar",className:"w-full h-full object-cover"}):(0,d.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"#9aa1ab",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,d.jsx)("path",{d:"M12 16V8M8 12h8"})}),(0,d.jsx)("span",{className:"absolute inset-0 hidden group-hover:flex items-center justify-center bg-black/35 text-white",children:(0,d.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,d.jsx)("path",{d:"M12 16V6M12 6 7.5 10.5M12 6l4.5 4.5"}),(0,d.jsx)("path",{d:"M5 18v1.5A1.5 1.5 0 0 0 6.5 21h11a1.5 1.5 0 0 0 1.5-1.5V18"})]})}),a?(0,d.jsx)("span",{role:"button",tabIndex:-1,onClick:function(a){a.stopPropagation(),b(null);try{localStorage.removeItem(B)}catch{}},"aria-label":"Remove avatar",className:"absolute -top-0.5 -right-0.5 hidden group-hover:flex w-4 h-4 items-center justify-center rounded-full bg-[#111318] text-white text-[9px] leading-none",children:"\xd7"}):null]}),(0,d.jsx)("input",{ref:c,type:"file",accept:"image/*",hidden:!0,onChange:function(a){let c=a.target.files?.[0];if(a.target.value="",!c||!c.type.startsWith("image/")||c.size>2097152)return;let d=new FileReader;d.onload=()=>{let a=String(d.result||"");if(a){b(a);try{localStorage.setItem(B,a)}catch{}}},d.readAsDataURL(c)}})]})}let D=[{group:"work",name:"Spaces",href:"/",icon:k.A},{group:"work",name:"Projects",href:"/projects",icon:l.A},{group:"work",name:"Agents",href:"/agents",icon:m.A},{group:"work",name:"Tasks",href:"/tasks",icon:n.A},{group:"work",name:"Workflows",href:"/workflows",icon:o.A},{group:"work",name:"Approvals",href:"/approvals",icon:p.A},{group:"library",name:"Marketplace",href:"/marketplace",icon:q.A}],E={Pickaxe:r.A,Boxes:s.A,Gem:t.A,FlaskConical:u.A,Factory:v.A,Building2:w.A,Package:q.A,FolderOpen:l.A,Workflow:o.A},F=[{name:"Settings",icon:x.A,href:"/settings"}];function G(a,b){return!!a&&("/"===b?"/"===a:a===b||a.startsWith(`${b}/`))}function H(a){a.currentTarget?.blur?.()}function I({item:a,active:b}){let c=a.icon;return(0,d.jsxs)(g(),{href:a.href,prefetch:!0,"aria-label":a.name,"aria-current":b?"page":void 0,"data-active":b?"true":void 0,onClick:H,className:`relative flex items-center justify-center p-2 rounded-lg transition-colors duration-150 group ${b?"text-[#C2452A]":"text-[#69707a] hover:text-[#111318] hover:bg-[rgba(17,19,24,0.08)] active:bg-[rgba(17,19,24,0.12)]"}`,children:[(0,d.jsx)(c,{className:"w-5 h-5",strokeWidth:1.75,"aria-hidden":"true"}),(0,d.jsx)("span",{className:"absolute left-12 px-2 py-1 rounded-md whitespace-nowrap text-xs text-white bg-[#111318] hidden group-hover:inline-block group-focus-visible:inline-block z-50 shadow-lg pointer-events-none",children:a.name})]})}function J({moduleNav:a=[]}){let b=(0,h.usePathname)(),{session:c,signOut:f}=function(){let[a,b]=(0,e.useState)(null),c=(0,h.useRouter)();return{session:a,signOut:async function(){await fetch("/api/auth/session",{method:"DELETE"}).catch(()=>null),c.replace("/login"),c.refresh()}}}(),[k,l]=(0,e.useState)(null),m=(Array.isArray(a)?a:[]).map(a=>({group:"module",name:a.label,href:a.href,icon:E[a.icon]||s.A})),n=[...D.filter(a=>"work"===a.group),...m,...D.filter(a=>"library"===a.group)],o=c?.email||"Local owner",p="local"===(c?.auth_mode||"local"),q=(c?.email||c?.display_name||"AK").slice(0,2).toUpperCase();return(0,d.jsxs)("aside",{className:"relative z-30 h-full w-full rounded-[18px] border border-white/75 bg-[var(--glass)] backdrop-blur-[22px] backdrop-saturate-150 flex flex-col","aria-label":"Primary navigation",children:[(0,d.jsx)("div",{className:"h-20 flex items-center justify-center px-3 shrink-0",children:(0,d.jsx)(C,{})}),(0,d.jsxs)("div",{className:"flex-1 flex flex-col min-h-0",children:[(0,d.jsx)("ul",{className:"list-none m-0 p-0 px-3 text-sm font-medium flex-1 space-y-1",children:n.map((a,c)=>{let e=n[c-1],f=e&&e.group!==a.group,g=G(b,a.href);return(0,d.jsxs)("li",{children:[f?(0,d.jsx)("div",{"aria-hidden":"true",className:"mx-2 my-2 h-px bg-[rgba(20,22,26,0.09)]"}):null,(0,d.jsx)(I,{item:a,active:g})]},a.name)})}),(0,d.jsx)("ul",{className:"list-none m-0 p-0 px-3 pb-3 pt-2 text-sm font-medium space-y-1",children:F.map(a=>{let c=G(b,a.href);return(0,d.jsx)("li",{children:(0,d.jsx)(I,{item:a,active:c})},a.name)})}),(0,d.jsx)("div",{className:"relative py-4 px-3 border-t border-[rgba(20,22,26,0.09)] flex justify-center",children:(0,d.jsxs)(i.bL,{children:[(0,d.jsx)(i.l9,{className:"outline-none rounded-full border-0 bg-transparent p-0 appearance-none cursor-pointer focus-visible:ring-2 focus-visible:ring-[#111318] focus-visible:ring-offset-2 focus-visible:ring-offset-white/50","aria-label":"Account menu",children:(0,d.jsxs)(j.bL,{className:"w-10 h-10 rounded-full overflow-hidden cursor-pointer block",children:[(0,d.jsx)(j._V,{className:"w-full h-full object-cover",src:"/madarx-mark.svg",alt:"AK"}),(0,d.jsx)(j.H4,{className:"flex w-full h-full items-center justify-center text-white text-xs font-bold tracking-wider bg-gradient-to-br from-[#111318] to-[#565d6b]",delayMs:150,children:q})]})}),(0,d.jsx)(i.ZL,{children:(0,d.jsxs)(i.UC,{side:"right",align:"end",sideOffset:12,className:"w-64 rounded-xl bg-white shadow-[0_22px_60px_rgba(17,19,24,0.20)] border border-[rgba(20,22,26,0.09)] text-sm text-[#59606b] p-2 z-[100]",children:[(0,d.jsx)("div",{className:"px-2 py-1.5 text-[11px] uppercase tracking-[0.14em] text-[var(--accent-600)] font-bold",children:p?"Local operator":"Signed in"}),(0,d.jsx)("span",{className:"block text-[#68707b] px-2 pb-2 truncate",children:o}),(0,d.jsx)(i.q7,{asChild:!0,className:"outline-none",children:(0,d.jsx)(g(),{href:"/",className:"block w-full p-2 text-left rounded-md hover:bg-[rgba(17,19,24,0.05)] active:bg-[rgba(17,19,24,0.1)] duration-150 cursor-pointer no-underline text-[#313740]",children:"Spaces"})}),(0,d.jsx)(i.q7,{asChild:!0,className:"outline-none",children:(0,d.jsx)(g(),{href:"/settings",className:"block w-full p-2 text-left rounded-md hover:bg-[rgba(17,19,24,0.05)] active:bg-[rgba(17,19,24,0.1)] duration-150 cursor-pointer no-underline text-[#313740]",children:"Settings"})}),(0,d.jsx)(i.wv,{className:"my-1 h-px bg-[rgba(20,22,26,0.09)]"}),k?.behind&&k?.latest?(0,d.jsx)(i.q7,{asChild:!0,className:"outline-none",children:(0,d.jsxs)(g(),{href:"/",className:"flex items-center justify-between gap-x-2 w-full p-2 text-left rounded-md hover:bg-[rgba(17,19,24,0.05)] active:bg-[rgba(17,19,24,0.1)] duration-150 cursor-pointer no-underline text-[#313740]",children:[(0,d.jsxs)("span",{className:"flex items-center gap-x-2",children:[(0,d.jsx)(y.A,{className:"w-4 h-4 text-[var(--accent-600)]",strokeWidth:1.75}),"Update available"]}),(0,d.jsxs)("span",{className:"text-[11px] font-semibold text-[var(--accent-600)]",children:["v",k.latest]})]})}):(0,d.jsxs)("div",{className:"flex items-center justify-between px-2 py-2 text-[12px] text-[#9aa1ab]",children:[(0,d.jsx)("span",{children:"Version"}),(0,d.jsx)("span",{className:"font-medium text-[#68707b]",children:k?.current?`v${k.current}`:"—"})]}),(0,d.jsx)(i.wv,{className:"my-1 h-px bg-[rgba(20,22,26,0.09)]"}),p?(0,d.jsx)(i.q7,{asChild:!0,className:"outline-none",children:(0,d.jsxs)(g(),{href:"/settings/account",className:"flex items-center gap-x-2 w-full p-2 text-left rounded-md hover:bg-[rgba(17,19,24,0.05)] active:bg-[rgba(17,19,24,0.1)] duration-150 cursor-pointer no-underline text-[#313740]",children:[(0,d.jsx)(z.A,{className:"w-4 h-4",strokeWidth:1.75}),"Sign in with an account"]})}):(0,d.jsx)(i.q7,{asChild:!0,className:"outline-none",children:(0,d.jsxs)("button",{type:"button",onClick:f,className:"flex items-center gap-x-2 w-full p-2 text-left rounded-md hover:bg-[rgba(17,19,24,0.05)] active:bg-[rgba(17,19,24,0.1)] duration-150 cursor-pointer text-[#313740]",children:[(0,d.jsx)(A.A,{className:"w-4 h-4",strokeWidth:1.75}),"Sign out"]})})]})})]})})]})]})}},65593:(a,b,c)=>{Promise.resolve().then(c.bind(c,74138)),Promise.resolve().then(c.bind(c,30724))},67237:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,81170,23)),Promise.resolve().then(c.t.bind(c,23597,23)),Promise.resolve().then(c.t.bind(c,36893,23)),Promise.resolve().then(c.t.bind(c,89748,23)),Promise.resolve().then(c.t.bind(c,6060,23)),Promise.resolve().then(c.t.bind(c,7184,23)),Promise.resolve().then(c.t.bind(c,69576,23)),Promise.resolve().then(c.t.bind(c,73041,23)),Promise.resolve().then(c.t.bind(c,51384,23))},70715:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{default:()=>k,metadata:()=>l});var e=c(75338),f=c(46609),g=c(30724),h=c(74138),i=c(23230);c(82704);var j=a([i]);i=(j.then?(await j)():j)[0];let l={title:"madarX OS",description:"Local-first agent command center for Client Workspace"};function k({children:a}){let b=[];try{b=(0,i.O2)()}catch{b=[]}return(0,e.jsx)("html",{lang:"en",className:f.variable,children:(0,e.jsx)("body",{children:(0,e.jsx)(h.default,{sidebar:(0,e.jsx)(g.default,{moduleNav:b}),children:a})})})}d()}catch(a){d(a)}})},74138:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/madarx-os/madarx-os/app/components/app-chrome.jsx\" 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.")},"/home/runner/work/madarx-os/madarx-os/app/components/app-chrome.jsx","default")},80389:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,54160,23)),Promise.resolve().then(c.t.bind(c,31603,23)),Promise.resolve().then(c.t.bind(c,68495,23)),Promise.resolve().then(c.t.bind(c,75170,23)),Promise.resolve().then(c.t.bind(c,77526,23)),Promise.resolve().then(c.t.bind(c,78922,23)),Promise.resolve().then(c.t.bind(c,29234,23)),Promise.resolve().then(c.t.bind(c,12263,23)),Promise.resolve().then(c.bind(c,82146))},82704:()=>{},90391:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(75338),e=c(50872);function f(){return(0,d.jsx)(e.D,{})}}};
@@ -0,0 +1 @@
1
+ exports.id=8194,exports.ids=[8194],exports.modules={35271:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/madarx-os/madarx-os/app/components/admin/project-switcher.jsx\" 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.")},"/home/runner/work/madarx-os/madarx-os/app/components/admin/project-switcher.jsx","default")},65169:(a,b,c)=>{let{createProxy:d}=c(39893);a.exports=d("/home/runner/work/madarx-os/madarx-os/node_modules/next/dist/client/app-dir/link.js")},84177:(a,b,c)=>{"use strict";c.d(b,{default:()=>f});var d=c(21124),e=c(38301);function f({engines:a,initialEngine:b="claude-code",initialModel:c=""}){let[f,g]=(0,e.useState)(b),h=a.find(a=>a.id===f),i=h?.models||[],j=i.some(a=>a.name===c),k=j?c:h?.default_model||"";return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("select",{name:"engine",value:f,onChange:a=>g(a.target.value),"aria-label":"Engine",children:a.map(a=>(0,d.jsxs)("option",{value:a.id,children:[a.label,a.available?"":" — unavailable"]},a.id))}),i.length>0?(0,d.jsx)("select",{name:"model",defaultValue:k,"aria-label":"Model",children:i.map(a=>(0,d.jsx)("option",{value:a.name,children:a.name},a.name))},f):(0,d.jsx)("input",{name:"model",defaultValue:j?c:"",placeholder:"model id (optional)","aria-label":"Model"},f)]})}},86893:(a,b,c)=>{"use strict";c.d(b,{hI:()=>g,iN:()=>f,pp:()=>i,qs:()=>h});var d=c(75338),e=c(35271);function f({kicker:a="madarX OS v1.0",title:b,description:c,actions:f,hideProjectSwitcher:g,children:h}){return(0,d.jsxs)("main",{className:"admin-shell",children:[(0,d.jsxs)("header",{className:"admin-header",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"admin-kicker",children:a}),(0,d.jsx)("h1",{children:b}),c?(0,d.jsx)("p",{children:c}):null]}),(0,d.jsxs)("div",{className:"admin-header-actions",children:[g?null:(0,d.jsx)(e.default,{}),f]})]}),h]})}function g({label:a,value:b,tone:c}){return(0,d.jsxs)("div",{className:`admin-stat ${c||""}`,children:[(0,d.jsx)("b",{children:b}),(0,d.jsx)("span",{children:a})]})}function h({children:a,tone:b="neutral"}){return(0,d.jsx)("span",{className:`admin-pill ${b}`,children:a})}function i({title:a,children:b}){return(0,d.jsxs)("div",{className:"admin-empty",children:[(0,d.jsx)("b",{children:a}),(0,d.jsx)("p",{children:b})]})}},87866:(a,b,c)=>{"use strict";c.d(b,{IU:()=>l,S8:()=>h,si:()=>j,y2:()=>i});var d=c(21124);c(38301);let e=a=>({width:a,height:a,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0}),f={github:{Icon:function({size:a=16,...b}){return(0,d.jsx)("svg",{...e(a),...b,children:(0,d.jsx)("path",{fill:"currentColor",d:"M12 .5C5.65.5.5 5.65.5 12c0 5.08 3.29 9.39 7.86 10.92.57.1.78-.25.78-.55v-1.93c-3.2.69-3.87-1.54-3.87-1.54-.52-1.32-1.28-1.67-1.28-1.67-1.05-.72.08-.7.08-.7 1.16.08 1.77 1.19 1.77 1.19 1.03 1.76 2.7 1.25 3.36.96.1-.75.4-1.26.73-1.55-2.55-.29-5.24-1.28-5.24-5.7 0-1.26.45-2.29 1.19-3.1-.12-.29-.52-1.47.11-3.06 0 0 .97-.31 3.19 1.18.92-.26 1.91-.39 2.9-.39s1.98.13 2.9.39c2.21-1.49 3.18-1.18 3.18-1.18.63 1.59.23 2.77.11 3.06.74.81 1.19 1.84 1.19 3.1 0 4.43-2.69 5.41-5.26 5.69.41.36.77 1.06.77 2.13v3.16c0 .31.21.66.79.55C20.21 21.38 23.5 17.08 23.5 12 23.5 5.65 18.35.5 12 .5Z"})})},label:"GitHub",tint:"#181717"},supabase:{Icon:function({size:a=16,...b}){return(0,d.jsxs)("svg",{...e(a),...b,children:[(0,d.jsx)("defs",{children:(0,d.jsxs)("linearGradient",{id:"sb-a",x1:"0",x2:"1",y1:"0",y2:"1",children:[(0,d.jsx)("stop",{offset:"0",stopColor:"#3ECF8E"}),(0,d.jsx)("stop",{offset:"1",stopColor:"#249361"})]})}),(0,d.jsx)("path",{fill:"url(#sb-a)",d:"M13.4 22.6c-.6.8-1.9.3-1.9-.7v-7.4H5.8c-1 0-1.5-1.1-.9-1.9L10.6 1.4c.6-.8 1.9-.3 1.9.7v7.4h5.7c1 0 1.5 1.1.9 1.9L13.4 22.6Z"})]})},label:"Supabase",tint:"#3ECF8E"},vercel:{Icon:function({size:a=16,...b}){return(0,d.jsx)("svg",{...e(a),...b,children:(0,d.jsx)("path",{fill:"currentColor",d:"M12 2 22 20H2L12 2Z"})})},label:"Vercel",tint:"#111318"},email:{Icon:function({size:a=16,...b}){return(0,d.jsx)("svg",{...e(a),...b,children:(0,d.jsx)("path",{fill:"currentColor",d:"M3 3h7.5c2.9 0 5 1.9 5 4.7 0 1.9-1 3.4-2.7 4.1l3.7 5.5c.4.6 0 1.5-.8 1.5h-2c-.4 0-.8-.2-1-.5l-3.3-5.1H7v4.6c0 .5-.4 1-1 1H4c-.6 0-1-.5-1-1V3Zm4 6.2h3.3c1.3 0 2.1-.7 2.1-1.8s-.8-1.7-2.1-1.7H7v3.5Z"})})},label:"Resend",tint:"#111318"},gmail:{Icon:function({size:a=16,...b}){return(0,d.jsxs)("svg",{...e(a),...b,children:[(0,d.jsx)("path",{fill:"#4285F4",d:"M2 6.5C2 5.7 2.7 5 3.5 5h.7L12 11l7.8-6h.7c.8 0 1.5.7 1.5 1.5V18c0 .8-.7 1.5-1.5 1.5h-2V10l-6.5 5L5 10v9.5H3.5C2.7 19.5 2 18.8 2 18V6.5Z"}),(0,d.jsx)("path",{fill:"#34A853",d:"M5 10v9.5H3.5C2.7 19.5 2 18.8 2 18V6.5L5 10Z"}),(0,d.jsx)("path",{fill:"#FBBC04",d:"M22 6.5V18c0 .8-.7 1.5-1.5 1.5H19V10l3-3.5Z"}),(0,d.jsx)("path",{fill:"#EA4335",d:"M2 6.5C2 5.7 2.7 5 3.5 5h.7L12 11 4.2 5h-.7C2.7 5 2 5.7 2 6.5Z"})]})},label:"Gmail",tint:"#EA4335"},web:{Icon:function({size:a=16,...b}){return(0,d.jsxs)("svg",{...e(a),...b,fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,d.jsx)("path",{d:"M3 12h18M12 3a13 13 0 010 18M12 3a13 13 0 000 18"})]})},label:"Web",tint:"#5A7099"},local_machine:{Icon:function({size:a=16,...b}){return(0,d.jsxs)("svg",{...e(a),...b,fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("rect",{x:"2.5",y:"4.5",width:"19",height:"15",rx:"2.5"}),(0,d.jsx)("path",{d:"m7 10 3 2-3 2M13 14h4"})]})},label:"Local",tint:"#1f242c"},travel:{Icon:function({size:a=16,...b}){return(0,d.jsx)("svg",{...e(a),...b,fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("path",{d:"M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V18l-2 1.5V21l3.5-1L15 21v-1.5L13 18v-4.5l8 2.5Z"})})},label:"Travel",tint:"#2563EB"},calendar:{Icon:function({size:a=16,...b}){return(0,d.jsxs)("svg",{...e(a),...b,fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("rect",{x:"3.5",y:"5",width:"17",height:"15",rx:"2"}),(0,d.jsx)("path",{d:"M3.5 10h17M8 3v4M16 3v4"})]})},label:"Calendar",tint:"#1f6c9f"},core:{Icon:function({size:a=16,...b}){return(0,d.jsxs)("svg",{...e(a),...b,fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("rect",{x:"6",y:"6",width:"12",height:"12",rx:"2"}),(0,d.jsx)("rect",{x:"9.5",y:"9.5",width:"5",height:"5"}),(0,d.jsx)("path",{d:"M9 3v3M15 3v3M9 18v3M15 18v3M3 9h3M3 15h3M18 9h3M18 15h3"})]})},label:"Core",tint:"#3a3f47"}},g={"claude-code":{Icon:function({size:a=16,...b}){return(0,d.jsx)("svg",{...e(a),...b,children:(0,d.jsx)("path",{fill:"#D97757",d:"M5.9 16.6 9.4 8.6h.7l3.5 8h-1.6l-.9-2.2h-3l-.9 2.2H5.9Zm3-3.5h2.2l-1.1-2.7-1.1 2.7Zm5.8 3.5v-8h2.6c1.6 0 2.7 1 2.7 2.5 0 1.6-1.1 2.5-2.7 2.5h-1v3h-1.6Zm1.6-4.4h.9c.8 0 1.3-.4 1.3-1.1 0-.7-.5-1.1-1.3-1.1h-.9v2.2Z"})})},label:"Claude Code",tint:"#D97757"},anthropic:{Icon:function({size:a=16,...b}){return(0,d.jsx)("svg",{...e(a),...b,children:(0,d.jsx)("path",{fill:"currentColor",d:"M6 19 11 5h2l5 14h-2.3l-1.1-3.2H9.4L8.3 19H6Zm4-5h4l-2-5.9-2 5.9Z"})})},label:"Anthropic",tint:"#1f1a12"},ollama:{Icon:function({size:a=16,...b}){return(0,d.jsxs)("svg",{...e(a),...b,fill:"none",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("path",{d:"M12 3c4 0 7 3.5 7 8v4a3 3 0 0 1-3 3H8a3 3 0 0 1-3-3v-4c0-4.5 3-8 7-8Z"}),(0,d.jsx)("circle",{cx:"9.5",cy:"11.5",r:"1",fill:"currentColor"}),(0,d.jsx)("circle",{cx:"14.5",cy:"11.5",r:"1",fill:"currentColor"})]})},label:"Ollama",tint:"#1f242c"}};function h(a){return a&&f[a]||null}function i(a){return a&&g[a]||null}function j({category:a,size:b=14,className:c}){let e=h(a);if(!e)return null;let{Icon:f,tint:g}=e;return(0,d.jsx)(f,{size:b,className:c,style:{color:g}})}let k={skill:{Icon:function({size:a=16,...b}){return(0,d.jsxs)("svg",{...e(a),...b,fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("path",{d:"M4 5.5A1.5 1.5 0 0 1 5.5 4H11v15H5.5A1.5 1.5 0 0 1 4 17.5v-12Z"}),(0,d.jsx)("path",{d:"M20 5.5A1.5 1.5 0 0 0 18.5 4H13v15h5.5a1.5 1.5 0 0 0 1.5-1.5v-12Z"}),(0,d.jsx)("path",{d:"M7 8h1.5M7 11h1.5M15.5 8H17M15.5 11H17"})]})},label:"Skill"},bundle:{Icon:function({size:a=16,...b}){return(0,d.jsxs)("svg",{...e(a),...b,fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("rect",{x:"3.5",y:"3.5",width:"9",height:"9",rx:"2"}),(0,d.jsx)("rect",{x:"11.5",y:"11.5",width:"9",height:"9",rx:"2"}),(0,d.jsx)("rect",{x:"7.5",y:"7.5",width:"9",height:"9",rx:"2"})]})},label:"Bundle"},agent:{Icon:function({size:a=16,...b}){return(0,d.jsxs)("svg",{...e(a),...b,fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("circle",{cx:"12",cy:"8",r:"3.5"}),(0,d.jsx)("path",{d:"M4.5 20c.7-3.8 3.8-6 7.5-6s6.8 2.2 7.5 6"})]})},label:"Agent"},workflow:{Icon:function({size:a=16,...b}){return(0,d.jsxs)("svg",{...e(a),...b,fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("rect",{x:"3",y:"9",width:"5",height:"6",rx:"1.4"}),(0,d.jsx)("rect",{x:"9.5",y:"9",width:"5",height:"6",rx:"1.4"}),(0,d.jsx)("rect",{x:"16",y:"9",width:"5",height:"6",rx:"1.4"}),(0,d.jsx)("path",{d:"M8 12h1.5M14.5 12H16"})]})},label:"Workflow"}};function l({kind:a,size:b=18,className:c}){let e=k[a];if(!e)return null;let{Icon:f}=e;return(0,d.jsx)(f,{size:b,className:c})}},91136:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(75338),e=c(50872);function f(){return(0,d.jsx)(e.D,{label:"Agents"})}},94657:(a,b,c)=>{"use strict";c.d(b,{default:()=>f});var d=c(21124),e=c(38301);function f(){let[a,b]=(0,e.useState)([]),[c,f]=(0,e.useState)("");return(0,d.jsx)("div",{className:"project-switcher","data-project-switcher":!0,children:(0,d.jsxs)("select",{value:c,onChange:a=>{var b;f(b=a.target.value),b?localStorage.setItem("madarx.activeProjectId",b):localStorage.removeItem("madarx.activeProjectId"),window.dispatchEvent(new CustomEvent("madarx:project-change",{detail:{project_id:b||null}}))},"aria-label":"Active project",children:[(0,d.jsx)("option",{value:"",children:"All projects"}),a.map(a=>(0,d.jsx)("option",{value:a.id,children:a.name},a.id))]})})}},95374:(a,b,c)=>{"use strict";c.d(b,{default:()=>f});var d=c(21124),e=c(38301);function f({agentId:a}){let[b,c]=(0,e.useState)(!1),[f,g]=(0,e.useState)(!1);async function h(){if(!b&&!f){g(!0),c(!0);try{(await fetch(`/api/agents/${encodeURIComponent(a)}/run`,{method:"POST"})).ok||c(!1)}catch{c(!1)}finally{g(!1)}}}let i=b||f;return(0,d.jsx)("button",{type:"button",className:"admin-button",title:i?"Agent is running":"Run now",onClick:h,disabled:i,"aria-busy":i||void 0,children:i?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:"agent-run-spinner","aria-hidden":"true"}),"Running…"]}):"Run"})}c(9866)}};