nodal-agents 0.9.2 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +629 -426
- package/docs-index.json +21 -14
- package/migrations/0123_chat_messages_stopped.sql +10 -0
- package/migrations/0124_chat_messages_cut_reason.sql +12 -0
- package/migrations/0125_shell_checklist.sql +31 -0
- package/migrations/0126_run_budget.sql +57 -0
- package/migrations/0127_agent_budget.sql +86 -0
- package/migrations/0128_shell_policy_retired_kinds.sql +52 -0
- package/migrations/meta/_journal.json +42 -0
- package/package.json +1 -1
- package/runner.js +4373 -2761
- package/web/.next/BUILD_ID +1 -1
- package/web/.next/app-path-routes-manifest.json +6 -2
- package/web/.next/build-manifest.json +2 -2
- package/web/.next/prerender-manifest.json +5 -5
- package/web/.next/routes-manifest.json +28 -0
- package/web/.next/server/app/(dashboard)/agents/[id]/channels/page.js +1 -1
- package/web/.next/server/app/(dashboard)/agents/[id]/channels/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/agents/[id]/edit/page.js +4 -4
- package/web/.next/server/app/(dashboard)/agents/[id]/edit/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/agents/[id]/telegram/page.js +1 -1
- package/web/.next/server/app/(dashboard)/agents/[id]/telegram/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/agents/page.js +1 -1
- package/web/.next/server/app/(dashboard)/agents/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/approvals/page.js +1 -1
- package/web/.next/server/app/(dashboard)/approvals/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/automations/[id]/page.js +1 -1
- package/web/.next/server/app/(dashboard)/automations/[id]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/automations/page.js +1 -1
- package/web/.next/server/app/(dashboard)/automations/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/chat/[id]/page.js +1 -1
- package/web/.next/server/app/(dashboard)/chat/[id]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/chat/page.js +1 -1
- package/web/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/chat/runs/[id]/page.js +1 -0
- package/web/.next/server/app/(dashboard)/chat/runs/[id]/page_client-reference-manifest.js +1 -0
- package/web/.next/server/app/(dashboard)/code/[id]/page.js +1 -1
- package/web/.next/server/app/(dashboard)/code/[id]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/code/page.js +1 -1
- package/web/.next/server/app/(dashboard)/code/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/connectors/page.js +1 -1
- package/web/.next/server/app/(dashboard)/connectors/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/credentials/page.js +1 -1
- package/web/.next/server/app/(dashboard)/credentials/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/dashboard/page.js +1 -1
- package/web/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/jobs/[id]/page.js +1 -1
- package/web/.next/server/app/(dashboard)/jobs/[id]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/jobs/page.js +1 -1
- package/web/.next/server/app/(dashboard)/jobs/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/learned-skills/page.js +1 -1
- package/web/.next/server/app/(dashboard)/learned-skills/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/llm-providers/page.js +1 -1
- package/web/.next/server/app/(dashboard)/llm-providers/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/logs/page.js +1 -1
- package/web/.next/server/app/(dashboard)/logs/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/mcp/page.js +1 -1
- package/web/.next/server/app/(dashboard)/mcp/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/memories/page.js +1 -1
- package/web/.next/server/app/(dashboard)/memories/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/page.js +1 -1
- package/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/scheduled/[id]/page.js +1 -1
- package/web/.next/server/app/(dashboard)/scheduled/[id]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/scheduled/page.js +1 -1
- package/web/.next/server/app/(dashboard)/scheduled/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/settings/page.js +1 -1
- package/web/.next/server/app/(dashboard)/settings/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/settings/root-context/page.js +1 -1
- package/web/.next/server/app/(dashboard)/settings/root-context/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/skills/[id]/edit/page.js +1 -1
- package/web/.next/server/app/(dashboard)/skills/[id]/edit/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/skills/new/page.js +1 -1
- package/web/.next/server/app/(dashboard)/skills/new/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/skills/page.js +1 -1
- package/web/.next/server/app/(dashboard)/skills/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/spaces/[id]/files/page.js +1 -1
- package/web/.next/server/app/(dashboard)/spaces/[id]/files/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/spaces/[id]/page.js +1 -1
- package/web/.next/server/app/(dashboard)/spaces/[id]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/spaces/page.js +1 -1
- package/web/.next/server/app/(dashboard)/spaces/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/_global-error/page.js +2 -2
- package/web/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/_global-error.html +1 -1
- package/web/.next/server/app/_global-error.rsc +2 -2
- package/web/.next/server/app/_global-error.segments/_full.segment.rsc +2 -2
- package/web/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +2 -2
- package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/server/app/_not-found/page.js +1 -1
- package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/_not-found.html +1 -1
- package/web/.next/server/app/_not-found.rsc +3 -3
- package/web/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +3 -3
- package/web/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/web/.next/server/app/api/auth/[...all]/route.js +1 -1
- package/web/.next/server/app/api/chat/live/route.js +4 -0
- package/web/.next/server/app/api/chat/live/route_client-reference-manifest.js +1 -0
- package/web/.next/server/app/api/chat/stop/route.js +1 -0
- package/web/.next/server/app/api/chat/stop/route_client-reference-manifest.js +1 -0
- package/web/.next/server/app/api/chat/stream/route.js +3 -3
- package/web/.next/server/app/api/health/route.js +1 -1
- package/web/.next/server/app/api/oauth/[provider]/callback/route.js +1 -1
- package/web/.next/server/app/api/oauth/[provider]/start/route.js +1 -1
- package/web/.next/server/app/api/runs/[jobId]/media/route.js +1 -0
- package/web/.next/server/app/api/runs/[jobId]/media/route_client-reference-manifest.js +1 -0
- package/web/.next/server/app/auth/callback/route.js +1 -1
- package/web/.next/server/app/login/page.js +1 -1
- package/web/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/onboarding/page.js +2 -2
- package/web/.next/server/app/onboarding/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app-paths-manifest.json +6 -2
- package/web/.next/server/chunks/1326.js +136 -0
- package/web/.next/server/chunks/1406.js +1773 -0
- package/web/.next/server/chunks/1615.js +1 -0
- package/web/.next/server/chunks/1873.js +1 -0
- package/web/.next/server/chunks/2443.js +3 -0
- package/web/.next/server/chunks/3483.js +1 -0
- package/web/.next/server/chunks/3675.js +1 -1
- package/web/.next/server/chunks/3920.js +1 -0
- package/web/.next/server/chunks/42.js +3 -3
- package/web/.next/server/chunks/4546.js +1 -0
- package/web/.next/server/chunks/494.js +1 -1
- package/web/.next/server/chunks/5648.js +1 -0
- package/web/.next/server/chunks/5804.js +1 -1
- package/web/.next/server/chunks/592.js +1 -1
- package/web/.next/server/chunks/5976.js +1 -0
- package/web/.next/server/chunks/6915.js +1 -0
- package/web/.next/server/chunks/692.js +15 -15
- package/web/.next/server/chunks/7465.js +1 -0
- package/web/.next/server/chunks/7651.js +812 -0
- package/web/.next/server/chunks/7663.js +22 -22
- package/web/.next/server/chunks/7876.js +1 -0
- package/web/.next/server/chunks/7915.js +1 -1
- package/web/.next/server/chunks/796.js +1 -1
- package/web/.next/server/chunks/8030.js +1 -0
- package/web/.next/server/chunks/8104.js +1 -0
- package/web/.next/server/chunks/8697.js +1 -1
- package/web/.next/server/chunks/8794.js +1 -0
- package/web/.next/server/chunks/8830.js +1 -0
- package/web/.next/server/chunks/9009.js +1 -0
- package/web/.next/server/chunks/{2096.js → 9066.js} +1 -1
- package/web/.next/server/chunks/965.js +1 -1
- package/web/.next/server/chunks/{6213.js → 9844.js} +2 -2
- package/web/.next/server/chunks/9882.js +36 -0
- package/web/.next/server/middleware-build-manifest.js +1 -1
- package/web/.next/server/middleware.js +27 -27
- package/web/.next/server/pages/404.html +1 -1
- package/web/.next/server/pages/500.html +1 -1
- package/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/server/server-reference-manifest.json +1 -1
- package/web/.next/static/chunks/{1091-6d0af9f18ddf99f6.js → 1091-9485133bd943918f.js} +1 -1
- package/web/.next/static/chunks/{1332-c8bed6b750598652.js → 1409-fe80b5952e1f40cb.js} +1 -1
- package/web/.next/static/chunks/1789-2566ac18a25fb387.js +1 -0
- package/web/.next/static/chunks/3844-36a00411beee6253.js +1 -0
- package/web/.next/static/chunks/4020-ec67a80b0e0b651e.js +1 -0
- package/web/.next/static/chunks/4666-5fd532303d09a950.js +1 -0
- package/web/.next/static/chunks/4771-47261da3c38b4746.js +1 -0
- package/web/.next/static/chunks/494-a34a6a0b36862877.js +1 -0
- package/web/.next/static/chunks/5034-9aff8cbeb288ac20.js +1 -0
- package/web/.next/static/chunks/5216-528f63f54d56b47a.js +1 -0
- package/web/.next/static/chunks/5575-444e6f49e2d2a328.js +1 -0
- package/web/.next/static/chunks/560-59e02268ee5fe11e.js +1 -0
- package/web/.next/static/chunks/5954-7c92f3e7812dce11.js +1 -0
- package/web/.next/static/chunks/{5925-76337eacde3c3bc8.js → 6724-8a6d2dc777961105.js} +11 -11
- package/web/.next/static/chunks/6861-5edebd867f40e3a6.js +3 -0
- package/web/.next/static/chunks/764-a883257e15345ae8.js +1 -0
- package/web/.next/static/chunks/825-c876657b507df9d8.js +1 -0
- package/web/.next/static/chunks/9052-33a3c725444cb518.js +1 -0
- package/web/.next/static/chunks/9287-41590f18e747f14c.js +1 -0
- package/web/.next/static/chunks/9484-f972307c1c78a8e8.js +1 -0
- package/web/.next/static/chunks/9643-03e18abc622d33f5.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/agents/[id]/channels/page-7b6e8b91210cb2ee.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/agents/[id]/edit/page-16e26ece80055943.js +6 -0
- package/web/.next/static/chunks/app/(dashboard)/agents/[id]/telegram/page-7b6e8b91210cb2ee.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/agents/page-ca54871a8009f0aa.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/approvals/page-a5d31137ad6c86c0.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/automations/[id]/{page-9ef1d76121b6030d.js → page-2ea773c99f54f674.js} +1 -1
- package/web/.next/static/chunks/app/(dashboard)/automations/page-095be3edd6287d73.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/chat/[id]/page-00acae0653281839.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/chat/page-056975f6c9d5625b.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/chat/runs/[id]/page-899772b15670d3de.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/code/[id]/page-83535784a61e8e36.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/code/page-7b6e8b91210cb2ee.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/connectors/page-af5150e89038a92b.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/dashboard/{page-7473d1190864cbd4.js → page-241109c80363cab1.js} +1 -1
- package/web/.next/static/chunks/app/(dashboard)/jobs/[id]/page-899772b15670d3de.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/jobs/page-7b6e8b91210cb2ee.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/layout-2b492fe5d87e7a8c.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/learned-skills/page-d3d0521187a02e31.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/llm-providers/page-1b5aef6848173842.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/logs/page-fd939bac9a74004e.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/mcp/page-11decdc1d91b079d.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/memories/{page-593161bc7c2a25d7.js → page-2dda98de596fe53c.js} +1 -1
- package/web/.next/static/chunks/app/(dashboard)/page-40b43271735f5935.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/scheduled/[id]/page-899772b15670d3de.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/scheduled/page-7b6e8b91210cb2ee.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/settings/page-420c62b3fbec2901.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/settings/root-context/page-7840e0f90ad51fd3.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/skills/page-497d3e268b76b0eb.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/spaces/[id]/files/page-d13f877dfd34c6c0.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/spaces/[id]/page-bf466093877ab1c5.js +1 -0
- package/web/.next/static/chunks/app/(dashboard)/spaces/page-1d264307964cfdfe.js +1 -0
- package/web/.next/static/chunks/app/_global-error/page-7b6e8b91210cb2ee.js +1 -0
- package/web/.next/static/chunks/app/_not-found/page-7b6e8b91210cb2ee.js +1 -0
- package/web/.next/static/chunks/app/api/auth/[...all]/route-7b6e8b91210cb2ee.js +1 -0
- package/web/.next/static/chunks/app/api/chat/live/route-7b6e8b91210cb2ee.js +1 -0
- package/web/.next/static/chunks/app/api/chat/stop/route-7b6e8b91210cb2ee.js +1 -0
- package/web/.next/static/chunks/app/api/chat/stream/route-7b6e8b91210cb2ee.js +1 -0
- package/web/.next/static/chunks/app/api/health/route-7b6e8b91210cb2ee.js +1 -0
- package/web/.next/static/chunks/app/api/oauth/[provider]/callback/route-7b6e8b91210cb2ee.js +1 -0
- package/web/.next/static/chunks/app/api/oauth/[provider]/start/route-7b6e8b91210cb2ee.js +1 -0
- package/web/.next/static/chunks/app/api/runs/[jobId]/media/route-7b6e8b91210cb2ee.js +1 -0
- package/web/.next/static/chunks/app/auth/callback/route-7b6e8b91210cb2ee.js +1 -0
- package/web/.next/static/chunks/app/login/{page-5357f030e5018563.js → page-d260a3be0b6857ef.js} +1 -1
- package/web/.next/static/chunks/app/onboarding/{page-9b6955cdd3033584.js → page-07908ee9b2b6d6b5.js} +2 -2
- package/web/.next/static/chunks/next/dist/client/components/builtin/app-error-7b6e8b91210cb2ee.js +1 -0
- package/web/.next/static/chunks/next/dist/client/components/builtin/forbidden-7b6e8b91210cb2ee.js +1 -0
- package/web/.next/static/chunks/next/dist/client/components/builtin/unauthorized-7b6e8b91210cb2ee.js +1 -0
- package/web/.next/static/css/55c009e1dd52d5a7.css +1 -0
- package/web/.next/static/uWxfL1NbU-xFtwNtkF4Wb/_buildManifest.js +1 -0
- package/web/.next/server/chunks/1960.js +0 -1
- package/web/.next/server/chunks/292.js +0 -1
- package/web/.next/server/chunks/3592.js +0 -1
- package/web/.next/server/chunks/409.js +0 -1
- package/web/.next/server/chunks/4357.js +0 -1
- package/web/.next/server/chunks/5547.js +0 -1
- package/web/.next/server/chunks/570.js +0 -1
- package/web/.next/server/chunks/5974.js +0 -1
- package/web/.next/server/chunks/6106.js +0 -1
- package/web/.next/server/chunks/7134.js +0 -947
- package/web/.next/server/chunks/7431.js +0 -1
- package/web/.next/server/chunks/7533.js +0 -1
- package/web/.next/server/chunks/7709.js +0 -1
- package/web/.next/server/chunks/8022.js +0 -1
- package/web/.next/server/chunks/8536.js +0 -3
- package/web/.next/server/chunks/8974.js +0 -1808
- package/web/.next/server/chunks/9200.js +0 -1
- package/web/.next/static/chunks/1054-08930540869affcc.js +0 -1
- package/web/.next/static/chunks/1577-09f4d5183fb172de.js +0 -1
- package/web/.next/static/chunks/1789-b436bca079b82fcc.js +0 -1
- package/web/.next/static/chunks/296-1b50dd61ac3198f4.js +0 -1
- package/web/.next/static/chunks/3159-f25525771781f5aa.js +0 -1
- package/web/.next/static/chunks/3775-3a5a749d63c785a1.js +0 -3
- package/web/.next/static/chunks/390-d6132d3a117487df.js +0 -1
- package/web/.next/static/chunks/4020-9778230f3cc2164a.js +0 -1
- package/web/.next/static/chunks/4771-a0aadf337f224b72.js +0 -1
- package/web/.next/static/chunks/494-ed02d105fa0ac132.js +0 -1
- package/web/.next/static/chunks/5034-fc9997ff33a114aa.js +0 -1
- package/web/.next/static/chunks/7879-67ac5a52d74c20d2.js +0 -1
- package/web/.next/static/chunks/7920-40dc6aa63e653d6b.js +0 -1
- package/web/.next/static/chunks/870-b7151716d04a13c3.js +0 -1
- package/web/.next/static/chunks/8794-2a616d1f9c210117.js +0 -1
- package/web/.next/static/chunks/8861-a108ed6178a56b21.js +0 -1
- package/web/.next/static/chunks/9643-e9c8a744dd98813d.js +0 -1
- package/web/.next/static/chunks/9952-992cabfb077d287c.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/agents/[id]/channels/page-523c5d229e8520bf.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/agents/[id]/edit/page-5ca9c1eef4d0f837.js +0 -6
- package/web/.next/static/chunks/app/(dashboard)/agents/[id]/telegram/page-523c5d229e8520bf.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/agents/page-5ffa4a2468c1f95a.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/approvals/page-cd46d5e439a20d3e.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/automations/page-46eeaa40df9e58f8.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/chat/[id]/page-25e095bf0cdd1c40.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/chat/page-e2df1a328e18da7a.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/code/[id]/page-f5f7624cfbb32ee2.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/code/page-523c5d229e8520bf.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/connectors/page-2ecbfc5836577888.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/jobs/[id]/page-47e177ab46926fd7.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/jobs/page-523c5d229e8520bf.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/layout-0b429859260736b2.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/learned-skills/page-596d973a31e774db.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/llm-providers/page-ba1968c9430c4dd4.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/logs/page-f74da6f66116c7e7.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/mcp/page-07bdc6780b13cfca.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/page-889d6e89a8f679f8.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/scheduled/[id]/page-47e177ab46926fd7.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/scheduled/page-523c5d229e8520bf.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/settings/page-1b40e127c38affda.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/settings/root-context/page-6b7e1cffcad40a6a.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/skills/page-3ad87d1a3fbb4f05.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/spaces/[id]/files/page-4e2d27f80456a1ba.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/spaces/[id]/page-c81023eaa26c2c7a.js +0 -1
- package/web/.next/static/chunks/app/(dashboard)/spaces/page-9dbb35822503481b.js +0 -1
- package/web/.next/static/chunks/app/_global-error/page-523c5d229e8520bf.js +0 -1
- package/web/.next/static/chunks/app/_not-found/page-523c5d229e8520bf.js +0 -1
- package/web/.next/static/chunks/app/api/auth/[...all]/route-523c5d229e8520bf.js +0 -1
- package/web/.next/static/chunks/app/api/chat/stream/route-523c5d229e8520bf.js +0 -1
- package/web/.next/static/chunks/app/api/health/route-523c5d229e8520bf.js +0 -1
- package/web/.next/static/chunks/app/api/oauth/[provider]/callback/route-523c5d229e8520bf.js +0 -1
- package/web/.next/static/chunks/app/api/oauth/[provider]/start/route-523c5d229e8520bf.js +0 -1
- package/web/.next/static/chunks/app/auth/callback/route-523c5d229e8520bf.js +0 -1
- package/web/.next/static/chunks/next/dist/client/components/builtin/app-error-523c5d229e8520bf.js +0 -1
- package/web/.next/static/chunks/next/dist/client/components/builtin/forbidden-523c5d229e8520bf.js +0 -1
- package/web/.next/static/chunks/next/dist/client/components/builtin/unauthorized-523c5d229e8520bf.js +0 -1
- package/web/.next/static/css/099c0b54fc41e5b0.css +0 -1
- package/web/.next/static/x5fvzE6AeZGASlemQTLwd/_buildManifest.js +0 -1
- /package/web/.next/static/{x5fvzE6AeZGASlemQTLwd → uWxfL1NbU-xFtwNtkF4Wb}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=4546,exports.ids=[4546],exports.modules={14546:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{"00060aa1e82133d2dc988205cd01ec1e2ece5cadaa":()=>e.Hyt,"0011eb6786fa11b82de7ada742cbdd5bf7cfb33463":()=>e.Ley,"00190f4e1b60687624752a683deaaa818673145af6":()=>e.oG2,"0029a2dc4b4b5a54e86b35f69ca014fc46d7678ce5":()=>e.bms,"002a08e674a79450b515d776480a1c0b9b6ba9c815":()=>e.vX5,"002fbfd6d96e95271c9e2080f5cffd869f2942ba4a":()=>e.WDC,"0035800ee5486bcb3ef2a0c8aa2d32b5a33ad51508":()=>e.cjC,"0036153dfac2c2054db672c880e8a6845255273f9a":()=>e.UK3,"0048f5725cee19a5ac8748bf911bc3c7bc4dd446f8":()=>e.$5k,"0053b2d145025020b1c70477f1aba13dcfa4787ea1":()=>e.JD9,"005887482b2765735a2ad9c5d17c9b80f46d66fb8e":()=>e.KoN,"0066153dd339fad2c659e284c39870a778d5bd88ab":()=>e.A3_,"0075fabbe4cfea2e8102a0ae2353e6affba3411c33":()=>e.Zb,"007dd65fde4fcdc24c143f0ca3e0c98b6cc6184869":()=>e.$zY,"007f992cef0aeb937b603b848462cc53a51ed26cf5":()=>e.HuK,"0082acdcd588c71ca74123aad11c2b5ac14f369869":()=>e.dSg,"0084b17608587e31d8068799565bc48bf3e4343d1b":()=>e.M3i,"008b7266c0434d4c4650fd8c2df14ba819bdf4f13c":()=>e.le4,"008f76ed9895ec6e4467547fb69dea7a83cce56416":()=>e.jjn,"0090daa6b218c75fb5ed6da4b33dbe6fd83c1dab01":()=>e.pDn,"0097cffde27fe472672252596587f59ce1d2e5faed":()=>e.dOR,"00a14e27b181d7a52f30037c114306909a2a0084ac":()=>e.Wdt,"00aaad7349d2a170ab96b09c3dd5ee436630905af1":()=>e.jTi,"00b356019ee7323f2a3887659fc921adc0c9414166":()=>e.o4K,"00c2f40908f0089f67865aef5dd46297dddf85dcde":()=>e.c0,"00c76ce342f00272a7555cdef9414d6c6885a113a9":()=>e.wdR,"00ca4172b0d35f6a827ed904b1d7415d389c4dd985":()=>e.aGl,"00d316ce72f91062d91521964ccbd062d1b2acec75":()=>e.$4Z,"00d3fe9c91b7e833eedc1120cbb67073474d86a6fd":()=>e.BMW,"00d44e9239bfeedd5e779786d4ff1b86801526ea85":()=>e.ZzE,"00d83829a13c6772260e1a5a0621d9ecc9c2166b29":()=>e.rKW,"00e9c0697d3adc6eb3e33064a1b79420ccfcae040e":()=>e.oA4,"00e9f02dd817a69ade92d83e8689133c6f9eca505e":()=>e.j4T,"00f91d325d6dbbedfba6d54edb75f0a7f9162cc3fe":()=>e.zh4,"00fb8c1bd7242cdfa208589349f1ba9096376ffd1f":()=>e.VZe,"400074094b2012e5599b34ec09c07deae4fad5eaa0":()=>e._NR,"400136c5931407ac3d80e2d3261578b9bc15e108be":()=>e.RoQ,"4001e59ee6738fd5357787c0c606c192b2a142e643":()=>e.hlo,"40047e27a2aaf02ffa46c49da19e506af30d355d6a":()=>e.Yn$,"40060593ac7f5e887194e155bf566f1f24b11a51a4":()=>e.cuo,"40077e08787e3e91af3e6c4b6675551bdfa709a668":()=>e.hUS,"4009c187e644bcf27058792b24d5391810f9e90261":()=>e.rTZ,"4009d5668a24a7bcf59343fa840c767315a343829c":()=>e.Sbz,"400db61c1f20b646e4757f9f23ff8e503a66a30dd8":()=>e.HOY,"400ea7773b889669ae36b7904ef6a0d0bd69a3263d":()=>e.XlI,"400f2198e1c897e7b6eaa5aca947de793ef7f9f63d":()=>e.tSk,"400ff61b55b1895da80f0110e62f81fda8b3265721":()=>e.wIl,"400ffc8836b6db1f4b92490198602596ada96bef71":()=>e.Wqn,"40107201cce9404af26624383b504bb09c9e359be5":()=>e.La$,"4012fa56a1193a99b64661a3101dd9b3271bdffb6e":()=>e.MoE,"401460930ff93505017e6f38a3b3d10cfa41ec5d0d":()=>e.K07,"40146b610e82496949076fec40eee3c15ead6ee23d":()=>e.k98,"401638e23c973d76c0dcc6d181a01295686e5df067":()=>e.zJJ,"401743de1a6b04b2469e1d8df53f1d7e4d94114b31":()=>e.y4H,"401f0ae4b0af60dc621e839ce340f95b2ea5c4895e":()=>e.xo1,"401f75fc7d0a2b14b5de6099ee0e9c75fb90532e77":()=>e.mDY,"402368f1a14ccd92667eff71538a8523c3788333ef":()=>e.CVG,"402681d5113874df22480915fdbf19074c4b8ed8b0":()=>e.Jqn,"4029d4cd15cefc8981339f5c3463de649515004a3e":()=>e.hPA,"402a5dbe012516453e94859a640c4c39ecfe4414f8":()=>e.ONd,"402c37999cffab715217e6cea993a1124eae7261b5":()=>e.PHJ,"402e215ffe4c1bb27712d811a41e3678275cb8d4e9":()=>e.ePu,"402f0aec866b8fcbc614f2ece0e41834a031867e24":()=>e.X1t,"4032344c8016705cae0f18ca80491d05710246af5c":()=>e.Ty5,"4032c07770c5024a979bade96751b08d18ba714071":()=>e.oak,"4033eaddfca411a2a279917fac675c2f109db5d965":()=>e.f_Q,"4034f2cd5ecc206deadf3c314bd18460942de5e0b6":()=>e.Zfd,"40366b6578d9d5a00bcd9bf0e845a156e9f25726ee":()=>e.CyH,"40430f75a0a8c5544a64066e4cc6fd505562078ff5":()=>e.lY3,"40433bd8bf213242ef255a61d0eadea1585e622da4":()=>e.KIl,"4043dba083472475e06ec2084de8ef1ea4c681a488":()=>e.gvg,"4044b95ae02f9a413b933d6191cb85a8c0a03c0e7e":()=>e.Kep,"4045ca6615e98eea5f1f8618c77bf887764ab2268c":()=>e.EpB,"4046f15377e5619aa6a184f3bc2edc4f3780960c00":()=>e.hDc,"4046fa7cb56d52363350b19b3bc51d31a7ad17b2da":()=>e.keg,"40483d9ea95223028530a77902e7e671279939c666":()=>e.TDu,"40493d3b7d6c185b57515bd37e75ef856052971e4e":()=>e.CqO,"404c54a76557a77043ec2f5ad405ad7834df9893ff":()=>e.Rts,"404de1d5bca2aaeed067ff4f9b25c7b3d81201c358":()=>e.LWx,"4050a7b0c4f9e0bac9b75a86b04ba9122107e68ecb":()=>e.KWz,"4053208cde5d44caee9c5f10472d40d3faf2aa17b2":()=>e.g$k,"4055618397643d1f063038d3052235f312983927d6":()=>e.MQN,"405821e658de13743362db364876ea9dfebb497d8e":()=>e.WqY,"405a908b05a88d40f3d9a9505281fc8e9a7f079d2b":()=>e.puT,"405aa7d71345b523a8cba9251e7835c5c8f5945c96":()=>e.p9Q,"405c2497cad1640448606ec817d27a1a4019756ea2":()=>e.cr5,"4060b93ec7e0a267dd50c763e8e686e5730ca2a2b8":()=>e.ahp,"406384acb66d602709c78e738e237b04a872134d3f":()=>e.gEh,"406392ed98ccec147d140adf9a388e083d22cc69e6":()=>e.FgD,"40674cc1e2fe3c23c9110af6336e19eca401c01878":()=>e.vx,"406768499ff97a5b26bc19ea20d0dd957289bffe85":()=>e.QlC,"4067a534641cbb3cb6dee7a33b94001f7e65fd00d2":()=>e.g$E,"406ced496162b8e95f8ca0ad3909c48b21446b4eb7":()=>e.p5X,"406dbbf25e1b20132ca36e56810c697842f3a82d6f":()=>e._Nd,"406f53997e6ae49b7fbb75d12da2ee3a83d839b43d":()=>e.Q9G,"40716ec708bf1e496747ebbb6a4be908ff9ff8d0ff":()=>e.e48,"4073f3f8b596095c9626e13c48bf53e0bc283edbf6":()=>e.V8m,"4077261a2faaa4be9dc25a7b21e30f15d5d3975658":()=>e.GOV,"4077aeba342a41eedd22ff3cba33a9d2a268b4cc38":()=>e.sHu,"4077b1737387c0dbc83878df4b05473e2d1f5826fc":()=>e.LNX,"4079922da035e4c4cf6ef4f482bda171dc1e107646":()=>e.khK,"4080365831f169ef98e7ac17f212a539bdbd283897":()=>e.flP,"4081fef1f0443e864c623896e80f122e86d413eb5e":()=>e._xZ,"4082bf61cf682bdd194154be7f644d29a5e10b339f":()=>e.ShT,"4089082f7364f294d8c8324de79f598085a19d4fb2":()=>e.nH7,"40892f04b581ed01140090d3213dc565f37971dab1":()=>e.foO,"408a3151e4f9f7222f33c727da43a707489c73d7bf":()=>e.ASl,"408bb98a43a14bd0a4378d13e901f34aa0d5408b61":()=>e.Trw,"408cd12ee43646ce801f0f954c189fcb3762519249":()=>e.iuB,"409529ac37935559516c77f0cc06b98c1237c434ad":()=>e.JHm,"4095530d71bd6891ff68346709cbffb14e17d8d4b4":()=>e.VQR,"409722afb6615e58bf5ef0310a93dfb290ec83b894":()=>e.EvH,"409920b904ea96ef3324c4a371bc08060c3fa9cb65":()=>e.Byx,"409a20c9702e944be541fcac583e4018be2fd07e2e":()=>e.XmW,"409b66607bef431e861e21badc0e9bce37ea4b5981":()=>e.rfD,"409bf38b1f152c6341490c6a97be9c163fd066b996":()=>e.PDy,"409d6b49c2727942826ba1e69fef5b157814cb8fb7":()=>e.Rzh,"409e30e45c65263e2a30d006060bb90cbccd30bbf9":()=>e.EAh,"409e857cc92893208443245f2a83ab0bf60989d31e":()=>e.l9x,"40a5b70b845efe6f89c99eeaa790ff7e1a28f4ec5f":()=>e.ML0,"40a99995f4421716466cdf99c9b97174cfb0b383db":()=>e.xF9,"40accefc83fcc6e6c59e407b6d2d60eeefc51f6f0b":()=>e.QT1,"40ad6f7ae7bd247eef2770ce0cc80edb13e839db92":()=>e.r1Q,"40ada2e832d9dfce48783bc2039796e4fbb668452e":()=>e.HlP,"40b089d9772d960affdd0be80dd01c131285ecc734":()=>e.eiV,"40b16ee0c6722ad7de09494ac702052ddee912a751":()=>e.qWw,"40b219345b966608004de438b03b7798950d735c48":()=>e.NM6,"40b253f4c6b667404d2ef2e86278f92385b991fc49":()=>e.WHd,"40b37d4e49bdb3ca466abea0b0f352c6a40359fe24":()=>e.rv7,"40b5b150d87d6d5957993bdf8720be18baeba657e8":()=>e.oCn,"40ba0f5cc7cb94702b4d87594aa509e41c1ce43624":()=>e.ths,"40bb9efa3cdb5f86e8394b9795faeb7512a6645b2a":()=>e.SVd,"40bc90ad1e777b4be9b9cf836034f1dbed52524c05":()=>e.XUm,"40bd44813cc734b76a18cde792ea7fd726b86f8af7":()=>e.fG_,"40bdf07e469713aee5afd3400358ba980099a7e7b7":()=>e.FSp,"40c4a5e3512db90acb59c32c5a626295126d66bcfb":()=>e._HQ,"40c7c9b4db2048e53c2dd6e669d2a872094797afda":()=>e.fI9,"40c803bace1deea756d8efad692091e7b89f1a546f":()=>e.cmc,"40c81579cc75ef00ea810c797c8d386a53e57b3dd1":()=>e.S2e,"40ce32b7d10dae22d7acbdb6eaed859bef9f02104d":()=>e.bV3,"40ce5e663aedfb555f1b5d19921934475092b855da":()=>e.Zm4,"40cee58d8a52eff93e300895fcb65c33af2aeb85ae":()=>e.lVM,"40d0b3a842b4b911db7d2b7fb197b17c2f0daee50e":()=>e.nCD,"40d745dee8449b22fcf0cf12fba3b76b62cfe05e86":()=>e.iU$,"40d7a7441cc4b398ebeb30b375d381183e2b7fde17":()=>e.PML,"40da204ace6b02435e811c2426525bbc4e8f16fdb1":()=>e.GLK,"40da86e82e5b05ef4ac95458c2f65ee473dc6f5ec9":()=>e.lgR,"40e11beec36898a22ff0292015be52075cb06aec02":()=>e.Ogj,"40e25c70b38a245a8f7582c4b23749e277b96a81e6":()=>e.Jbj,"40e61dada9450f1fd1c1e9ba784537d7aa480e2ab1":()=>e.INV,"40e873cb76ac59192acc68bcd26abd50c93e061720":()=>e.xV9,"40e8ce1fdcec334b03db9c87c1e956b7eb618914fb":()=>e.Hps,"40ec63e1044c511fbf920cd4644361af8cd21e167f":()=>e.t3Y,"40ec73f0f62f515fb2a6b19ae37a1d90f5a15463ec":()=>e.QaL,"40f5f576ec2b9658812cd66144060a706e750bfe59":()=>e.HsG,"40f8b42cae450df3d55a4fcde95e9baa47b669b941":()=>e.ZGG,"40fb141188229f6b67d5572e549b6a0ea6db846a8c":()=>e.E4W,"40fe3fe574c7c9f8ae6c30be00ecb82f97b386264e":()=>e.WT_,"60117eddef8ad667ee10f5a34fc33e331b2c1aa390":()=>e.PC8,"60123f1b8e80a58fd694e5678581e3325d3b9d7578":()=>e.c29,"60154f536787234e3695fe4054e4fb83f12cbec598":()=>e.x7W,"6051962a0e651ef7bc794e1c98f36302f8b0fd7f4d":()=>e.Rue,"607736d0ee4117a192bde5484c587ce7ddf48247b0":()=>e.wPz,"60933950cbee33704623b66198701cc37da1a4ca60":()=>e.ddZ,"609d068a65604f827f1b16b41301c4ec9247eef24d":()=>e.ZJM,"60bf8f91a43354a6dc9cc5957f95826905c7afa708":()=>e.vum,"60c5a11dbe0ae345299f46dbc72ff4c6002433c064":()=>e.WIq,"60cfe196d296dee4db631ec63d7f6d8de43c874708":()=>e.cD,"60d5a07770cf0b3b37b13cc1ca22a035c310aa0a7f":()=>e.yUj,"60dfa54d61b9650d317134c6fe54d98f0e2e9f944e":()=>e.f20,"60f156da7f78d0d48162ebbcb1b127674c71cedc05":()=>e.wIV,"60faf6a972c23fe8f0bfb181ee6a83c909e06b6266":()=>e.SsI,"7024b456ac5a2b1578dadb5481372341839385cbd9":()=>e.z_0,"706a1c2c48709c97b52e3d6fb501b312d6c5597f9d":()=>e.Ocs,"7071e97d9bcdba79dbdba05d9f96ccb13b59c9de74":()=>e.JcR,"709510d7199aff29bff283ac783b01b622d6c58ca6":()=>e.chn,"78b059c6795d58a08117e818ee3be51bbbade508c5":()=>e.wjv,"78d2b88d6a3d103a82c6fdccc3bbf32bcd145a506d":()=>e.AHw});var e=c(25539),f=a([e]);e=(f.then?(await f)():f)[0],d()}catch(a){d(a)}})}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=494,exports.ids=[494],exports.modules={
|
|
1
|
+
"use strict";exports.id=494,exports.ids=[494],exports.modules={16108:(a,b,c)=>{c.d(b,{f:()=>e});var d=c(48601);let e=(0,d.createServerReference)("4033eaddfca411a2a279917fac675c2f109db5d965",d.callServer,void 0,d.findSourceMapURL,"assignSkillAction")},21104:(a,b,c)=>{c.d(b,{_:()=>e});var d=c(48601);let e=(0,d.createServerReference)("4081fef1f0443e864c623896e80f122e86d413eb5e",d.callServer,void 0,d.findSourceMapURL,"unassignSkillAction")},22658:(a,b,c)=>{c.d(b,{y:()=>h});var d=c(44928),e=c(14778);let f=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M256,136a12,12,0,0,1-12,12h-8v8a12,12,0,0,1-24,0v-8h-8a12,12,0,0,1,0-24h8v-8a12,12,0,0,1,24,0v8h8A12,12,0,0,1,256,136Zm-54.81,56.28a12,12,0,1,1-18.38,15.44C169.12,191.42,145,172,108,172c-28.89,0-55.46,12.68-74.81,35.72a12,12,0,0,1-18.38-15.44A124.08,124.08,0,0,1,63.5,156.53a72,72,0,1,1,89,0A124,124,0,0,1,201.19,192.28ZM108,148a48,48,0,1,0-48-48A48.05,48.05,0,0,0,108,148Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M168,100a60,60,0,1,1-60-60A60,60,0,0,1,168,100Z",opacity:"0.2"}),d.createElement("path",{d:"M256,136a8,8,0,0,1-8,8H232v16a8,8,0,0,1-16,0V144H200a8,8,0,0,1,0-16h16V112a8,8,0,0,1,16,0v16h16A8,8,0,0,1,256,136Zm-57.87,58.85a8,8,0,0,1-12.26,10.3C165.75,181.19,138.09,168,108,168s-57.75,13.19-77.87,37.15a8,8,0,0,1-12.25-10.3c14.94-17.78,33.52-30.41,54.17-37.17a68,68,0,1,1,71.9,0C164.6,164.44,183.18,177.07,198.13,194.85ZM108,152a52,52,0,1,0-52-52A52.06,52.06,0,0,0,108,152Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M256,136a8,8,0,0,1-8,8H232v16a8,8,0,0,1-16,0V144H200a8,8,0,0,1,0-16h16V112a8,8,0,0,1,16,0v16h16A8,8,0,0,1,256,136ZM144,157.68a68,68,0,1,0-71.9,0c-20.65,6.76-39.23,19.39-54.17,37.17A8,8,0,0,0,24,208H192a8,8,0,0,0,6.13-13.15C183.18,177.07,164.6,164.44,144,157.68Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M254,136a6,6,0,0,1-6,6H230v18a6,6,0,0,1-12,0V142H200a6,6,0,0,1,0-12h18V112a6,6,0,0,1,12,0v18h18A6,6,0,0,1,254,136Zm-57.41,60.14a6,6,0,1,1-9.18,7.72C166.9,179.45,138.69,166,108,166s-58.89,13.45-79.41,37.86a6,6,0,0,1-9.18-7.72C35.14,177.41,55,164.48,77,158.25a66,66,0,1,1,62,0C161,164.48,180.86,177.41,196.59,196.14ZM108,154a54,54,0,1,0-54-54A54.06,54.06,0,0,0,108,154Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M256,136a8,8,0,0,1-8,8H232v16a8,8,0,0,1-16,0V144H200a8,8,0,0,1,0-16h16V112a8,8,0,0,1,16,0v16h16A8,8,0,0,1,256,136Zm-57.87,58.85a8,8,0,0,1-12.26,10.3C165.75,181.19,138.09,168,108,168s-57.75,13.19-77.87,37.15a8,8,0,0,1-12.25-10.3c14.94-17.78,33.52-30.41,54.17-37.17a68,68,0,1,1,71.9,0C164.6,164.44,183.18,177.07,198.13,194.85ZM108,152a52,52,0,1,0-52-52A52.06,52.06,0,0,0,108,152Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M252,136a4,4,0,0,1-4,4H228v20a4,4,0,0,1-8,0V140H200a4,4,0,0,1,0-8h20V112a4,4,0,0,1,8,0v20h20A4,4,0,0,1,252,136Zm-56.94,61.43a4,4,0,0,1-6.12,5.14C168,177.7,139.3,164,108,164s-60,13.7-80.94,38.57a4,4,0,1,1-6.12-5.14c16.71-19.9,38.13-33.13,61.89-38.59a64,64,0,1,1,50.34,0C156.93,164.3,178.35,177.53,195.06,197.43ZM108,156a56,56,0,1,0-56-56A56.06,56.06,0,0,0,108,156Z"}))]]),g=d.forwardRef((a,b)=>d.createElement(e.A,{ref:b,...a,weights:f}));g.displayName="UserPlusIcon";let h=g},40069:(a,b,c)=>{c.d(b,{A:()=>n});var d=c(27557),e=c(44928),f=c(40236),g=c(87480),h=c.n(g),i=c(16108),j=c(21104),k=c(52282),l=c(775),m=c(44414);function n({open:a,onClose:b,skill:c,agents:e,assign:f=i.f,unassign:g=j._,onToggled:h}){return(0,d.jsx)(k.A,{open:a,onClose:b,title:`Assign "${c.name}"`,footer:(0,d.jsx)(k.j,{children:(0,d.jsx)(l.A,{variant:"neutral",onClick:b,children:"Close"})}),children:(0,d.jsx)(o,{skill:c,agents:e,onClose:b,assign:f,unassign:g,onToggled:h})})}function o({skill:a,agents:b,onClose:c,assign:g,unassign:i,onToggled:j}){let[k,l]=(0,e.useState)(()=>new Set(a.assignedAgents.map(a=>a.id))),[n,p]=(0,e.useTransition)();return 0===b.length?(0,d.jsxs)("div",{className:"space-y-3 py-6 text-center",children:[(0,d.jsx)("p",{className:"text-sm text-ink-3",children:"No agents yet, create one first."}),(0,d.jsx)(h(),{href:"/agents",onClick:c,className:"inline-flex items-center gap-1 text-sm font-medium text-blue-400 underline underline-offset-2 hover:text-blue-300",children:"Go to Agents"})]}):(0,d.jsxs)("div",{className:"space-y-1",children:[(0,d.jsx)("p",{className:"mb-3 text-xs text-ink-3",children:"Toggle to assign or unassign this skill from each agent."}),(0,d.jsx)("div",{className:"divide-y divide-rule-2 overflow-hidden rounded-lg border border-rule-2 bg-canvas/30",children:b.map(b=>{let c=k.has(b.id);return(0,d.jsxs)("label",{className:"flex cursor-pointer items-center gap-3 px-3 py-2.5 transition-colors hover:bg-hover",children:[(0,d.jsx)(m.A,{tone:"skill",checked:c,disabled:n,onChange:()=>{var c;let d;return c=b.id,d=k.has(c),void(l(a=>{let b=new Set(a);return d?b.delete(c):b.add(c),b}),p(async()=>{let b={skillId:a.id,agentId:c},e=d?await i(b):await g(b);if(!e.ok){l(a=>{let b=new Set(a);return d?b.add(c):b.delete(c),b}),f.oR.error(e.message);return}f.oR.success(d?"Skill unassigned":"Skill assigned"),j?.(c,!d)}))}}),(0,d.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,d.jsx)("span",{className:"block truncate text-sm text-ink",children:b.name}),(0,d.jsx)("span",{className:"block truncate text-mono-12 text-ink-3",children:b.slug})]}),(0,d.jsx)("span",{className:`shrink-0 text-medium-12 ${c?"text-ok":"text-ink-4"}`,children:c?"Assigned":"Not assigned"})]},b.id)})})]})}},41060:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(5347).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\components\\\\ui\\\\SearchBox.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\components\\ui\\SearchBox.tsx","default")},80241:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(47235),e=c(41060),f=c(90356),g=c(86585);function h({title:a,subtitle:b,header:c}){return void 0!==c?(0,d.jsxs)("header",{className:"flex min-h-[75px] items-center gap-4 border-b border-rule-2 px-5 pt-5 pb-4 sm:px-8 lg:px-9",children:[(0,d.jsx)("div",{className:"min-w-0 flex-1",children:c}),(0,d.jsxs)("div",{className:"hidden shrink-0 items-center gap-2 lg:flex",children:[(0,d.jsx)(e.default,{className:"hidden md:flex"}),(0,d.jsx)(g.default,{}),(0,d.jsx)(f.default,{})]})]}):(0,d.jsxs)("header",{className:"flex items-center justify-between gap-4 border-b border-rule-2 px-5 pt-5 pb-4 sm:px-8 lg:px-9",children:[(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsx)("h1",{className:"text-display-28 leading-[1.15]! tracking-[-0.015em] text-ink",children:a}),b&&(0,d.jsx)("p",{className:"mt-1.5 text-body-14 leading-[1.5]! text-ink-3",children:b})]}),(0,d.jsxs)("div",{className:"hidden shrink-0 items-center gap-2 lg:flex",children:[(0,d.jsx)(e.default,{className:"hidden md:flex"}),(0,d.jsx)(g.default,{}),(0,d.jsx)(f.default,{})]})]})}function i(a){let{toolbar:b,toolbarBleed:c=!1,aside:e,footer:f,children:g,fluid:i=!1,fill:j=!1,bodyClassName:k=""}=a,l=void 0!==a.header?(0,d.jsx)(h,{header:a.header}):(0,d.jsx)(h,{title:a.title,subtitle:a.subtitle});return j?(0,d.jsxs)("div",{className:"flex h-full min-h-0 flex-1 flex-col",children:[l,b&&c&&b,(0,d.jsxs)("div",{className:"flex min-h-0 flex-1",children:[(0,d.jsxs)("div",{className:`flex min-w-0 min-h-0 flex-1 flex-col ${k}`,children:[b&&!c&&(0,d.jsx)("div",{className:`w-full px-5 pt-4 sm:px-8 lg:px-9 ${i?"":"mx-auto max-w-6xl"}`,children:b}),i?g:(0,d.jsx)("div",{className:"mx-auto flex min-h-0 w-full max-w-6xl flex-1 flex-col",children:g})]}),e]}),f]}):(0,d.jsxs)(d.Fragment,{children:[l,b&&c&&b,(0,d.jsxs)("div",{className:`w-full px-5 pt-6 pb-10 sm:px-8 lg:px-9 ${i?"":"mx-auto max-w-6xl"} ${k}`,children:[b&&!c&&(0,d.jsx)("div",{className:"mb-5",children:b}),g]})]})}},86585:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(5347).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\components\\\\NotificationsBell.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\components\\NotificationsBell.tsx","default")},90356:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(5347).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\components\\\\ui\\\\ThemeToggle.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\components\\ui\\ThemeToggle.tsx","default")}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=5648,exports.ids=[5648],exports.modules={3771:(a,b,c)=>{c.d(b,{default:()=>g});var d=c(27557),e=c(44928),f=c(87342);function g({text:a}){let[b,c]=(0,e.useState)(!1);return""===a.trim()?null:(0,d.jsxs)("div",{className:"mt-3",children:[(0,d.jsxs)(f.A,{open:b,onClick:()=>c(a=>!a),inset:"none",insetY:"default",className:"h-auto",children:[(0,d.jsx)("span",{className:"shrink-0 text-mono-11 text-ink-4",children:"Handed to the work"}),!b&&(0,d.jsxs)("span",{className:"min-w-0 flex-1 truncate text-left text-mono-11 text-ink-4",children:["\xb7 ",a]})]}),b&&(0,d.jsx)("p",{className:"mt-1.5 pl-[22px] text-mono-11 whitespace-pre-wrap break-words text-ink-3",children:a})]})}},7368:(a,b,c)=>{c.d(b,{FileName:()=>f,LineDelta:()=>e,default:()=>g});var d=c(5347);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call LineDelta() from the server but LineDelta is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\FileDiff.tsx","LineDelta");(0,d.registerClientReference)(function(){throw Error("Attempted to call gitDiffLines() from the server but gitDiffLines is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\FileDiff.tsx","gitDiffLines"),(0,d.registerClientReference)(function(){throw Error("Attempted to call DiffBody() from the server but DiffBody is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\FileDiff.tsx","DiffBody");let f=(0,d.registerClientReference)(function(){throw Error("Attempted to call FileName() from the server but FileName is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\FileDiff.tsx","FileName"),g=(0,d.registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\app\\\\(dashboard)\\\\spaces\\\\FileDiff.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\FileDiff.tsx","default")},9255:(a,b,c)=>{c.d(b,{default:()=>k});var d=c(27557),e=c(44928),f=c(81023),g=c(40236),h=c(19667),i=c(775),j=c(81831);function k({prompt:a,options:b,question:c}){let[l,m]=(0,e.useTransition)(),n=(0,f.useRouter)(),{refresh:o}=(0,j.e)(),p=c?.status??null,q=c?.answer??null,r="pending"===p&&null!==c;return(0,d.jsxs)("div",{className:"rounded-xl border border-run bg-canvas px-4 py-3.5",children:[(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("div",{className:"min-w-0 flex-1 text-medium-14 text-ink",children:a}),r&&(0,d.jsxs)("span",{className:"flex shrink-0 items-center gap-1.5",children:[(0,d.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-run"}),(0,d.jsx)("span",{className:"text-mono-11-caps text-run",children:"Waiting"})]}),null!==q&&(0,d.jsx)("span",{className:"shrink-0 text-mono-11-caps text-ok",children:"Answered"})]}),r?(0,d.jsx)("div",{className:"mt-3.5 flex flex-wrap gap-2",children:b.map(a=>(0,d.jsx)(i.A,{variant:"neutral",size:"sm",onClick:()=>{c&&m(async()=>{let b=await (0,h.C)({approvalRequestId:c.approvalRequestId,decision:"approve",answer:a});b.ok?(g.oR.success(`Answered: ${a}`),n.refresh(),await o()):g.oR.error(b.message)})},disabled:l,children:a},a))}):(0,d.jsx)("div",{className:"mt-3.5 flex flex-wrap items-center gap-2",children:b.map(a=>a===q?(0,d.jsxs)("span",{className:"inline-flex h-[30px] items-center rounded-lg bg-ok-bg px-3.5 text-medium-13 text-ok",children:["✓ ",a]},a):(0,d.jsx)("span",{className:"text-body-12 text-ink-4",children:a},a))}),"rejected"===p&&(0,d.jsxs)("p",{className:"mt-3 text-body-12 text-ink-3",children:["Declined",c?.notes?` \xb7 ${c.notes}`:""]}),null===c&&(0,d.jsx)("p",{className:"mt-3 text-body-12 text-ink-4",children:"Answer it from the Approvals page."})]})}},11204:(a,b,c)=>{c.d(b,{FileName:()=>q,LineDelta:()=>l,default:()=>r});var d=c(27557),e=c(44928),f=c(87342),g=c(73920),h=c(48601);let i=(0,h.createServerReference)("40b59edfff01a23ec32a83e0fe0559f3c6446581ca",h.callServer,void 0,h.findSourceMapURL,"getFileDiffAction");var j=c(13704);let k={no_checkpoint:"written before snapshots were kept",path_unresolved:"file could not be located",workspace_unreachable:"folder no longer reachable",checkpoint_store_unreadable:"snapshot history could not be read",not_in_snapshot:"file is ignored by the folder's .gitignore"};function l({counts:a}){return null===a||0===a.added&&0===a.removed?null:(0,d.jsxs)("span",{className:"shrink-0 text-mono-11",children:[a.removed>0&&(0,d.jsxs)("span",{className:"text-err",children:["−",a.removed]}),a.removed>0&&a.added>0&&" ",a.added>0&&(0,d.jsxs)("span",{className:"text-ok",children:["+",a.added]})]})}let m={"+":"text-ok","-":"text-err"," ":"text-ink-3","@":"text-ink-4"};function n({lines:a,truncated:b,truncatedNote:c="… truncated"}){return(0,d.jsxs)("div",{className:"border-t border-rule-2 bg-sidebar px-4 py-2",children:[(0,d.jsx)("pre",{className:"max-h-80 overflow-auto text-mono-11 whitespace-pre-wrap break-words",children:a.map((a,b)=>(0,d.jsx)("div",{className:m[a.kind],"data-diff":a.kind,children:"@"===a.kind?a.text:`${a.kind}${a.text}`},b))}),b&&(0,d.jsx)("p",{className:"pt-1 text-mono-11 text-ink-4",children:c})]})}function o({children:a}){return(0,d.jsx)("p",{className:"border-t border-rule-2 bg-sidebar px-4 py-2 text-mono-11 text-ink-4",children:a})}function p({view:a}){switch(a.kind){case"diff":return(0,d.jsx)(n,{lines:function(a){let b=[];for(let c of a.split("\n"))if(!(c.startsWith("diff --git")||c.startsWith("index ")||c.startsWith("--- ")||c.startsWith("+++ ")||c.startsWith("new file mode")||c.startsWith("deleted file mode")||c.startsWith("similarity index")||c.startsWith("rename "))){if(c.startsWith("@@")){b.push({kind:"@",text:c});continue}if(""!==c||0!==b.length)if(c.startsWith("+"))b.push({kind:"+",text:c.slice(1)});else if(c.startsWith("-"))b.push({kind:"-",text:c.slice(1)});else{if(c.startsWith("\\"))continue;b.push({kind:" ",text:c.startsWith(" ")?c.slice(1):c})}}return b}(a.text),truncated:a.truncated});case"fragment":{let b=(0,g.CNy)(a.oldString,a.newString);return(0,d.jsx)(n,{lines:b.lines,truncated:b.truncated,truncatedNote:"diff simplified: too long to compare line by line"})}case"unchanged":return(0,d.jsx)(o,{children:"No change"});case"binary":return(0,d.jsx)(o,{children:"Binary file"});case"unavailable":return(0,d.jsxs)(o,{children:["No diff: ",k[a.reason]??a.reason]})}}function q({path:a}){let b=a.lastIndexOf("/"),c=-1===b?a:a.slice(b+1),e=-1===b?"":a.slice(0,b+1);return(0,d.jsxs)("span",{className:"flex min-w-0 flex-1 items-baseline gap-1.5 text-left",title:a,children:[(0,d.jsx)("span",{className:"shrink-0 text-mono-12 text-ink",children:c}),""!==e&&(0,d.jsx)("span",{className:"min-w-0 truncate text-mono-11 text-ink-4",dir:"rtl",children:(0,d.jsx)("bdi",{dir:"ltr",children:e})})]})}function r({jobId:a,toolCallId:b,path:c,action:g,lineCounts:h=null,bytes:k,detail:m,preview:n}){let[s,t]=(0,e.useState)(!1),[u,v]=(0,e.useState)(null),[w,x]=(0,e.useState)(null),[y,z]=(0,e.useState)(!1);return(0,d.jsxs)("li",{className:"border-t border-rule-2 first:border-t-0",children:[(0,d.jsxs)(f.A,{open:s,onClick:()=>{let d=!s;t(d),d&&null===u&&!y&&(z(!0),x(null),i({jobId:a,toolCallId:b,path:c}).then(a=>{a.ok?v(a.data):x(a.code)}).catch(()=>x("unreachable")).finally(()=>z(!1)))},inset:"tight",className:"h-[42px]",children:[(0,d.jsx)("span",{className:`h-1.5 w-1.5 shrink-0 rounded-full ${j.v[g]??"bg-ink-4"}`}),(0,d.jsx)(q,{path:c}),(0,d.jsx)(l,{counts:h}),void 0!==k&&(0,d.jsx)("span",{className:"shrink-0 text-mono-11 text-ink-4",children:k}),void 0!==m&&(0,d.jsx)("span",{className:"max-w-[40%] shrink-0 truncate text-mono-11 text-ink-4",children:m})]}),n,s&&y&&(0,d.jsx)(o,{children:"Loading the diff…"}),s&&!y&&null!==w&&(0,d.jsxs)(o,{children:["No diff: ",w]}),s&&!y&&null!==u&&(0,d.jsx)(p,{view:u})]})}},18028:(a,b,c)=>{c.d(b,{A:()=>x});var d=c(47235),e=c(13027),f=c(96616),g=c(64432),h=c(89306),i=c(70806),j=c(40443),k=c(86393),l=c(21983),m=c(92054),n=c(82407),o=c(37933),p=c(37468),q=c(16440),r=c(59177),s=c(99074),t=c(84938);let u={approve:"Approved",request_changes:"Changes requested"};function v(a){return a.blocked?"blocked":a.timedOut?"timed out":null===a.exitCode||0===a.exitCode?null:`exit ${String(a.exitCode)}`}function w({label:a,value:b,mono:c=!1}){return(0,d.jsxs)("div",{className:"w-[100px] shrink-0",children:[(0,d.jsx)("p",{className:"text-mono-11 text-ink-4",children:a}),(0,d.jsx)("p",{className:`mt-0.5 text-medium-14 ${c?"text-feed-metric":"text-ink"}`,children:b})]})}function x({summary:a,jobId:b,status:c=null,filesJobId:y=null}){var z;let{verdict:A,changesRequested:B}=a,C=null===(z=a.review)||""===z?null:u[z]??z,D=[];a.files>0&&D.push({label:"Files",value:String(a.files)}),null!==a.lines&&D.push({label:"Lines",value:[a.lines.added>0?`+${a.lines.added}`:null,a.lines.removed>0?`−${a.lines.removed}`:null].filter(a=>null!==a).join(" ")}),null!==a.tests&&D.push({label:"Tests",value:`${a.tests.passed} / ${a.tests.total}`}),null!==a.durationMs&&a.durationMs>0&&D.push({label:"Duration",value:(0,t._V)(a.durationMs),mono:!0}),null!==a.costUsd&&D.push({label:"Cost",value:(0,t.BD)(a.costUsd)});let E=a.fileChanges.slice(0,12),F=a.fileChanges.length-E.length,G=a.commands.slice(0,12),H=a.commands.length-G.length,I=a.reviews.length>0||null!==b;return(0,d.jsxs)("div",{className:"mt-4 overflow-hidden rounded-xl border border-rule-2 bg-paper",children:[(0,d.jsxs)("div",{className:"flex h-[48px] items-center gap-2.5 px-4","data-testid":"delivery-head",children:["working"===a.live?(0,d.jsx)(e.N,{size:16,className:"animate-spin text-run","aria-hidden":!0}):"waiting"===a.live?(0,d.jsx)(f.N,{size:16,className:"text-warn","aria-hidden":!0}):B?(0,d.jsx)(g.N,{size:16,className:"text-warn","aria-hidden":!0}):null,null!==a.live||B?null:(0,d.jsx)(h.r,{size:16,className:null===a.ended&&a.produced?"text-ok":"text-ink-4","aria-hidden":!0}),(0,d.jsxs)("span",{className:`min-w-0 truncate text-title-15 ${"working"===a.live?"text-run":"waiting"===a.live?"text-warn":"text-ink"}`,children:["working"===a.live?"Working":"waiting"===a.live?"Waiting for you":"stopped"===a.ended?"Stopped":"failed"===a.ended?"Failed":a.produced?"Delivered":"Ran",null!==C&&(0,d.jsxs)("span",{className:"text-ink-3",children:[" \xb7 ",C]}),null===a.live&&null!==A&&(0,d.jsxs)("span",{className:"red"===A?"text-warn":"text-ok",children:[" ","\xb7 ","red"===A?"Proof failed":"Proof passed",null!==a.repairs&&a.repairs>0?` after ${a.repairs} repair${a.repairs>1?"s":""}`:""]})]}),(0,d.jsx)("span",{className:"ml-5",children:null!==C?(0,d.jsx)(p.A,{variant:B?"warn":"done",label:"By the reviewer"}):null!==a.live?(0,d.jsx)(p.A,{variant:"idle",label:null!==a.tests?`${a.tests.passed} ${1===a.tests.passed?"check":"checks"} passed so far`:"No checks yet"}):"green"===A?(0,d.jsx)(p.A,{variant:"done",label:"Verified"}):"red"===A?(0,d.jsx)(p.A,{variant:"warn",label:"Checks failed"}):(0,d.jsx)(p.A,{variant:"idle",label:"Not verified"})}),null!==b&&(0,r.G)(c)&&(0,d.jsx)("span",{className:"ml-auto",children:(0,d.jsx)(q.default,{jobId:b,status:c})})]}),D.length>0&&(0,d.jsx)("div",{className:"flex flex-wrap gap-x-4 gap-y-3 border-t border-rule-2 px-4 py-3",children:D.map(a=>(0,d.jsx)(w,{label:a.label,value:a.value,mono:a.mono??!1},a.label))}),E.length>0&&(null!==y?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(s.default,{files:E,jobId:y}),F>0&&(0,d.jsxs)("p",{className:"border-t border-rule-2 px-4 py-1.5 text-mono-11 text-ink-4",children:["… and ",F," more"]})]}):(0,d.jsxs)("div",{className:"border-t border-rule-2 px-4 py-2.5",children:[(0,d.jsx)("ul",{className:"flex flex-col gap-1",children:E.map(a=>(0,d.jsxs)("li",{className:"flex min-w-0 items-center gap-2",children:[(0,d.jsx)(i.I,{size:12,className:"shrink-0 text-ink-4","aria-hidden":!0}),(0,d.jsx)("span",{className:"min-w-0 truncate text-mono-12 text-feed-path",children:a.path})]},a.path))}),F>0&&(0,d.jsxs)("p",{className:"mt-1 text-mono-11 text-ink-4",children:["… and ",F," more"]})]})),a.commands.length>0&&(0,d.jsxs)("div",{className:"border-t border-rule-2 px-4 pt-2.5 pb-3",children:[(0,d.jsx)("p",{className:"text-mono-11 text-ink-4",children:"Commands"}),(0,d.jsx)("p",{className:"mb-1.5 text-body-12 text-ink-4",children:"Every command the run executed. Proof below lists the checks the agent declared."}),(0,d.jsx)("ul",{className:"flex flex-col gap-1",children:G.map((a,b)=>(0,d.jsxs)("li",{className:"flex min-w-0 items-start gap-2","data-testid":"delivery-command",children:[(0,d.jsx)(j.B,{size:12,className:"mt-1 shrink-0 text-ink-4","aria-hidden":!0}),(0,d.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col",children:[null!==a.purpose&&(0,d.jsx)("span",{"data-testid":"delivery-command-purpose",className:"line-clamp-2 text-body-12 text-ink-2",children:a.purpose}),(0,d.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[(0,d.jsx)("span",{className:"min-w-0 truncate text-mono-12 text-ink-2",children:a.label}),null!==v(a)&&(0,d.jsx)("span",{"data-testid":"delivery-command-outcome",className:"shrink-0 text-mono-11 text-warn",children:v(a)}),!a.observed&&(0,d.jsx)("span",{className:"shrink-0 text-mono-11 text-ink-4",children:"no file change seen"})]})]})]},b))}),H>0&&(0,d.jsxs)("p",{"data-testid":"commands-more",className:"mt-1 text-mono-11 text-ink-4",children:["… and ",H," more"]})]}),a.checks.length>0&&(0,d.jsxs)("div",{className:"border-t border-rule-2 px-4 pt-2.5 pb-3",children:[(0,d.jsx)("p",{className:"mb-1 text-mono-11 text-ink-4",children:"Proof"}),(0,d.jsx)("ul",{className:"flex flex-col gap-1",children:a.checks.map((a,b)=>(0,d.jsxs)("li",{className:"flex min-w-0 items-center gap-2",children:[a.ok?(0,d.jsx)(k.J,{size:12,className:"shrink-0 text-ok","aria-hidden":!0}):(0,d.jsx)(l.X,{size:12,className:"shrink-0 text-warn","aria-hidden":!0}),(0,d.jsx)("span",{className:"min-w-0 truncate text-mono-12 text-ink-2",children:a.command})]},b))})]}),I&&(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2.5 border-t border-rule-2 px-4 pt-2.5 pb-3",children:[a.reviews.length>0&&(0,d.jsx)("span",{className:"text-mono-11 text-ink-4",children:"Reviewed by"}),a.reviews.map((a,b)=>(0,d.jsxs)("span",{className:"flex items-center gap-2",children:[a.isAgent&&(0,d.jsx)(n.A,{name:a.name,imageUrl:a.avatarUrl,size:"sm",shape:"square"}),(0,d.jsx)("span",{className:`text-medium-13 ${a.ok?"text-ink":"text-warn"}`,title:a.ok?void 0:"This review said no",children:a.isAgent?a.name:(0,t.Ow)(a.name)})]},b)),null!==b&&(0,d.jsx)("span",{className:"ml-auto",children:(0,d.jsxs)(o.A,{variant:"neutral",size:"sm",href:`/scheduled/${b}`,children:["Open run",(0,d.jsx)(m.B,{size:12,"aria-hidden":!0})]})})]})]})}},20828:(a,b,c)=>{c.d(b,{default:()=>g});var d=c(27557),e=c(44928),f=c(87342);function g({label:a,avatar:b,title:c,ok:h,aside:i,children:j}){let[k,l]=(0,e.useState)(!1);return(0,d.jsxs)("div",{"data-delegation":"",children:[(0,d.jsx)("p",{className:"mb-1.5 text-mono-11-caps text-ok",children:a}),(0,d.jsxs)("div",{className:"overflow-hidden rounded-xl border border-ok/25 bg-paper",children:[(0,d.jsxs)(f.A,{open:k,onClick:()=>l(a=>!a),inset:"tight",className:"h-[40px]",children:[b,(0,d.jsx)("span",{className:"min-w-0 flex-1 truncate text-left text-body-13 text-ink",children:c}),(0,d.jsx)("span",{"data-outcome":h?"ok":"failed",className:`h-1.5 w-1.5 shrink-0 rounded-full ${h?"bg-ok":"bg-err"}`}),void 0!==i&&""!==i&&(0,d.jsx)("span",{className:"shrink-0 text-mono-11 text-ink-4",children:i})]}),k&&(0,d.jsx)("div",{className:"border-t border-rule-2",children:j})]})]})}},21478:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(5347).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\app\\\\(dashboard)\\\\spaces\\\\HistoryGroup.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\HistoryGroup.tsx","default")},21868:(a,b,c)=>{c.d(b,{default:()=>g});var d=c(27557),e=c(44928),f=c(87342);function g({head:a,body:b}){let[c,h]=(0,e.useState)(!1);return(0,d.jsxs)("div",{"data-delegation":"",className:"overflow-hidden rounded-xl border border-rule-2 bg-paper",children:[(0,d.jsx)(f.A,{open:c,onClick:()=>h(a=>!a),inset:"tight",className:"h-[46px] gap-2.5",children:a}),c&&(0,d.jsx)("div",{className:"border-t border-rule-2",children:b})]})}},22133:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(5347).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\app\\\\(dashboard)\\\\spaces\\\\QuestionCard.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\QuestionCard.tsx","default")},27114:(a,b,c)=>{c.d(b,{Ay:()=>M});var d=c(47235),e=c(57191),f=c.n(e),g=c(52189),h=c(92054),i=c(82407),j=c(37468),k=c(16440),l=c(59177),m=c(51632),n=c(49435),o=c(93498),p=c(18742),q=c(17639),r=c(57259),s=c(65561),t=c(20383),u=c(31990),v=c(73596),w=c(85674),x=c(40023),y=c(53520),z=c(84938);function A({model:a,usage:b,className:c=""}){if(null===b)return null;let e=[b.inputTokens>0?`${(0,z._y)(b.inputTokens)} in`:null,b.outputTokens>0?`${(0,z._y)(b.outputTokens)} out`:null,b.cachedTokens>0?`${(0,z._y)(b.cachedTokens)} cached`:null].filter(a=>null!==a).join(" \xb7 "),f=[b.durationMs>0?(0,z._V)(b.durationMs):null,null!==b.costUsd?(0,z.BD)(b.costUsd):null].filter(a=>null!==a).join(" \xb7 ");return null===a&&""===e&&""===f?null:(0,d.jsxs)("div",{className:`flex items-center gap-2 overflow-hidden rounded-md border border-rule-2 bg-canvas px-3 py-[7px] ${c}`,children:[(0,d.jsx)(y.j,{size:14,className:"shrink-0 text-ink-4","aria-hidden":!0}),null!==a&&(0,d.jsx)("span",{className:"shrink-0 text-mono-12 text-feed-model",title:a,children:a}),""!==e&&(0,d.jsx)("span",{className:"min-w-0 flex-1 truncate text-mono-12 text-feed-metric",children:e}),""!==f&&(0,d.jsx)("span",{className:"ml-auto shrink-0 text-mono-12 text-feed-metric",children:f})]})}var B=c(18028),C=c(22133),D=c(7368);let E={success:"bg-ok",error:"bg-err",blocked:"bg-err",awaiting_approval:"bg-run"},F={created:"bg-ok",modified:"bg-warn",listed:"bg-ink-4"};var G=c(21478),H=c(32062),I=c(78390),J=c(56409),K=c(67932),L=c(27884);function M({feed:a,deliverables:b=[],density:c=L.i,width:e="thread"}){if(0===a.items.length)return(0,d.jsx)("p",{className:"text-body-13 text-ink-4",children:"Nothing recorded yet."});let f=new Map(b.map(a=>[(0,q.Do)(a.jobId,a.canonicalKey),a.status]));return(0,d.jsx)("div",{className:"full"===e?"w-full min-w-0":"mx-auto max-w-[760px]",children:(0,d.jsx)(N,{items:a.items,deliverables:f,density:c})})}function N({items:a,deliverables:b,density:c=L.i}){let e=[...a].reverse().flatMap(a=>"run"===a.kind?[...a.items].reverse():[a]).find(a=>"turn"===a.kind),f=e?.agent.name??"Agent",g=e?.agent.avatarUrl??null;return(0,d.jsx)(d.Fragment,{children:a.map((a,e)=>(0,d.jsx)(O,{item:a,deliverables:b,agentName:f,agentAvatarUrl:g,density:c},e))})}function O({item:a,deliverables:b,agentName:c,agentAvatarUrl:e,density:f=L.i}){switch(a.kind){case"request":return(0,d.jsx)("div",{className:"flex justify-end pt-6",children:(0,d.jsxs)("div",{className:"max-w-[80%] min-w-0",children:[(0,d.jsx)("p",{className:"mb-1.5 text-right text-mono-11 text-ink-4",children:(0,z.fG)(a.origin)}),(0,d.jsx)("div",{className:"rounded-xl bg-hover px-4 py-3",children:(0,d.jsx)(m.default,{plain:a.text,children:(0,d.jsx)(t.Ay,{text:a.text,tone:"user"})})})]})});case"note":return(0,d.jsx)("p",{className:"mt-3 truncate text-mono-11 text-ink-4",title:a.text,children:"runner"===a.origin?`Nodal reminded the agent \xb7 ${a.text}`:a.text});case"turn":return(0,d.jsxs)(Q,{children:[(0,d.jsx)(R,{name:a.agent.name??"Agent",avatarUrl:a.agent.avatarUrl,model:a.model,at:a.at}),a.blocks.map((a,c)=>(0,d.jsx)(S,{block:a,deliverables:b},c)),(0,d.jsx)(A,{model:a.model,usage:a.usage,className:"mb-3"})]});case"run":return(0,d.jsx)(K.default,{jobId:a.jobId,summary:a.summary,defaultOpen:"unfolded"===f,children:(0,d.jsx)(N,{items:a.items,deliverables:b,density:f})});case"history":return(0,d.jsx)(G.default,{exchanges:a.exchanges});case"child":return(0,d.jsx)(af,{job:a.job,from:a.from,deliverables:b});case"answer":return(0,d.jsxs)(Q,{children:[(0,d.jsx)(R,{name:c,avatarUrl:e}),(0,d.jsx)(t.Ay,{text:a.text})]});case"produced":return(0,d.jsx)(B.A,{summary:a.summary,jobId:a.jobId,filesJobId:a.jobId,status:a.status});case"handoff":return(0,d.jsx)(J.default,{text:a.text});case"failure":return(0,d.jsx)("div",{className:"mt-6",children:(0,d.jsx)(T,{title:"Failed",tone:"warn",children:(0,d.jsxs)("div",{className:"px-4 py-3",children:[(0,d.jsx)(t.Ay,{text:a.text}),(0,d.jsx)(P,{hint:a.hint})]})})})}}function P({hint:a}){let b=(0,s.t)(a);return null===b?null:(0,d.jsx)("p",{className:"pt-2 text-body-13 text-ink-3",children:b})}function Q({children:a}){return(0,d.jsx)("div",{className:"min-w-0 pt-6",children:a})}function R({name:a,avatarUrl:b,model:c,at:e}){return(0,d.jsxs)("div",{className:"mb-1.5 flex items-center gap-2.5",children:[(0,d.jsx)(i.A,{name:a,imageUrl:b??void 0,size:"sm",shape:"square"}),(0,d.jsx)("span",{className:"text-title-15 text-ink",children:a}),null!=c&&""!==c&&(0,d.jsx)("span",{className:"text-mono-11 text-feed-model",children:c}),null!=e&&(0,d.jsx)("span",{className:"ml-auto text-mono-11 text-ink-4",children:(0,u.ei)(e)})]})}function S({block:a,deliverables:b}){switch(a.kind){case"prose":return(0,d.jsx)(t.Ay,{text:a.text,className:"mb-3"});case"steps":{let b=a.steps.filter(a=>"reasoning"===a.kind).map(a=>a.text),c=a.steps.filter(a=>"tool"===a.kind);return(0,d.jsxs)("div",{className:"mb-3 space-y-2",children:[b.length>0&&(0,d.jsx)(v.default,{steps:b}),c.map((a,b)=>(0,d.jsx)(w.default,{step:a},b))]})}case"card":return(0,d.jsx)("div",{className:"mb-4",children:(0,d.jsx)(U,{step:a.step,deliverables:b})})}}function T({title:a,meta:b,aside:c,tone:e="neutral",children:f}){return(0,d.jsxs)("div",{className:"max-w-[760px] overflow-hidden rounded-xl border border-rule-2 bg-paper",children:[(0,d.jsxs)("div",{className:`flex flex-wrap items-center gap-2.5 px-4 py-2.5 ${"ok"===e?"bg-ok-bg":"warn"===e?"bg-warn-bg":"bg-sidebar border-b border-rule-2"}`,children:[(0,d.jsx)("span",{className:"text-medium-13 text-ink",children:a}),void 0!==b&&(0,d.jsx)("span",{className:"text-mono-11 text-ink-4",children:b}),void 0!==c&&(0,d.jsx)("span",{className:"ml-auto text-mono-11 text-ink-4",children:c})]}),f]})}function U({step:a,deliverables:b}){let c=a.presented,e=null!==a.durationMs?(0,z._V)(a.durationMs):void 0;if("question"===a.card){let b=(0,p.RMo)(a.input),e=c?.card==="question"?c.prompt:b?.question??null,f=c?.card==="question"?c.options??[]:b?.options??[];return null!==e&&f.length>0?(0,d.jsx)(C.default,{prompt:(0,d.jsx)(t.Ay,{text:e,tone:"user"}),options:f,question:a.question}):(0,d.jsx)(w.default,{step:a})}if(null===c)return(0,d.jsx)(w.default,{step:a});switch(c.card){case"table":return(0,d.jsx)(V,{payload:c,aside:e});case"files":return(0,d.jsx)($,{payload:c,step:a,aside:e,deliverables:b});case"terminal":return(0,d.jsx)(_,{payload:c});case"sent":return(0,d.jsx)(aa,{payload:c,input:a.input,aside:e,outcome:a.outcome});case"checks":return(0,d.jsx)(ab,{payload:c});case"delegation":return(0,d.jsx)(ad,{payload:c});default:return(0,d.jsx)(w.default,{step:a})}}function V({payload:a,aside:b}){let c=a.tables.reduce((a,b)=>a+b.total,0);return(0,d.jsx)(T,{title:1===a.tables.length&&a.tables[0]?.name?a.tables[0].name:"Table",meta:`${a.tables.length>1?`${a.tables.length} sheets \xb7 `:""}${c} rows`,aside:b,children:a.tables.map((b,c)=>(0,d.jsxs)("div",{className:c>0?"border-t border-rule-2":"",children:[a.tables.length>1&&b.name&&(0,d.jsx)("p",{className:"px-4 pt-3 text-label-11 uppercase tracking-wider text-ink-4",children:b.name}),(0,d.jsx)(W,{entry:b})]},c))})}function W({entry:a,notes:b=[]}){let c=Math.max(a.columns.length,...a.rows.map(a=>a.length)),e=[a.truncated?`showing ${a.rows.length} of ${a.total} rows`:null,void 0!==a.columnsTotal&&a.columnsTotal>c?`showing ${c} of ${a.columnsTotal} columns`:null,a.clipped?"some cells were shortened":null,"unknown"===a.header&&a.rows.length>0?"first row may or may not be a header":null,...b].filter(a=>null!==a);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"overflow-x-auto",children:(0,d.jsxs)(n.Ay,{frame:!1,children:["columns"===a.header&&a.columns.length>0&&(0,d.jsx)(n.D1,{children:a.columns.map((a,b)=>(0,d.jsx)(n.Th,{children:a},b))}),(0,d.jsx)("tbody",{children:a.rows.map((a,b)=>(0,d.jsx)(n.Tr,{children:a.map((a,b)=>(0,d.jsx)(n.Td,{align:"number"==typeof a?"right":"left",className:"max-w-[40ch] truncate text-mono-12 text-ink-2 whitespace-nowrap",children:null===a?"":String(a)},b))},b))})]})}),e.length>0&&(0,d.jsx)("p",{className:"px-4 py-2 text-mono-11 text-ink-4",children:e.join(" \xb7 ")})]})}let X={not_configured:"Not verified: no checks configured for this file",dirty:"Not yet verified",pending_approval:"Checks await approval",green:"Verified",red:"Checks failed",infra_error:"Checks could not run"};function Y({status:a}){let b=void 0===a?void 0:X[a];return void 0===b?null:(0,d.jsx)("p",{className:"border-t border-rule-2 px-4 py-2 text-mono-11 text-ink-4",children:b})}function Z({entry:a,status:b}){let c=void 0===b?void 0:X[b];return(0,d.jsxs)("div",{className:"border-t border-rule-2",children:[void 0!==a.name&&(0,d.jsx)("p",{className:"px-4 pt-3 text-label-11 uppercase tracking-wider text-ink-4",children:a.name}),(0,d.jsx)(W,{entry:a,notes:[...0===a.total?["empty sheet"]:[],"no formatting or merged cells; uncomputed formulas shown as written"]}),void 0!==c&&(0,d.jsx)("p",{className:"border-t border-rule-2 px-4 py-2 text-mono-11 text-ink-4",children:c})]})}function $({payload:a,step:b,aside:c,deliverables:e}){let f=a.files.some(a=>"listed"!==a.action),g=a.files.map(a=>(0,r.qg)(b.lineCounts,a.path)),h=g.reduce((a,b)=>null===b?a:{added:(a?.added??0)+b.added,removed:(a?.removed??0)+b.removed},null);return(0,d.jsxs)("div",{className:"overflow-hidden rounded-xl border border-rule-2 bg-canvas",children:[(0,d.jsxs)("div",{className:"flex h-[35px] items-center gap-2.5 px-3.5",children:[(0,d.jsx)(o.s,{tone:"ink",children:f?"diff review":"files"}),(0,d.jsxs)("span",{className:"text-mono-11 text-ink-3",children:[a.total," ",1===a.total?"file":"files",a.truncated?` \xb7 showing ${a.files.length}`:""]}),(0,d.jsxs)("span",{className:"ml-auto flex items-center gap-2.5",children:[(0,d.jsx)(D.LineDelta,{counts:h}),void 0!==c&&(0,d.jsx)("span",{className:"text-mono-11 text-ink-4",children:c})]})]}),(0,d.jsx)("ul",{className:"border-t border-rule-2",children:a.files.map((a,c)=>{let f=g[c]??null,h=void 0===a.deliverableKey?void 0:e.get((0,q.Do)(b.jobId,a.deliverableKey)),i=void 0!==a.preview?(0,d.jsx)(Z,{entry:a.preview,status:h}):void 0!==h?(0,d.jsx)(Y,{status:h}):void 0;return"listed"!==a.action&&null!==b.toolCallId?(0,d.jsx)(D.default,{jobId:b.jobId,toolCallId:b.toolCallId,path:a.path,action:a.action,lineCounts:f,...void 0!==a.bytes?{bytes:`${(0,z._y)(a.bytes)} B`}:{},...void 0!==a.detail?{detail:a.detail}:{},...void 0!==i?{preview:i}:{}},c):(0,d.jsxs)("li",{className:"border-t border-rule-2 first:border-t-0",children:[(0,d.jsxs)("div",{className:"flex h-[42px] items-center gap-2 pr-3.5 pl-[38px]",children:[(0,d.jsx)("span",{className:`h-1.5 w-1.5 shrink-0 rounded-full ${F[a.action]??"bg-ink-4"}`}),(0,d.jsx)(D.FileName,{path:a.path}),(0,d.jsx)(D.LineDelta,{counts:f}),void 0!==a.bytes&&(0,d.jsxs)("span",{className:"shrink-0 text-mono-11 text-ink-4",children:[(0,z._y)(a.bytes)," B"]}),void 0!==a.detail&&(0,d.jsx)("span",{className:"max-w-[40%] shrink-0 truncate text-mono-11 text-ink-4",children:a.detail})]}),i]},c)})})]})}function _({payload:a}){let b=a.timedOut||null!==a.exitCode&&0!==a.exitCode;return(0,d.jsxs)(T,{title:(0,d.jsx)("span",{className:"text-mono-12 text-ink",children:a.command}),aside:(0,d.jsx)(o.s,{tone:b?"err":"ink",children:a.timedOut?"timed out":`exit ${a.exitCode??"?"}`}),tone:b?"warn":"neutral",children:[""!==a.stdoutTail&&(0,d.jsxs)("pre",{className:"max-h-64 overflow-auto px-4 py-3 text-mono-11 text-ink-2 whitespace-pre-wrap break-words",children:[a.stdoutTruncated?"… (earlier output not kept)\n":"",a.stdoutTail]}),""!==a.stderrTail&&(0,d.jsxs)("pre",{className:"max-h-64 overflow-auto border-t border-rule-2 px-4 py-3 text-mono-11 text-err whitespace-pre-wrap break-words",children:[a.stderrTruncated?"… (earlier output not kept)\n":"",a.stderrTail]}),""===a.stdoutTail&&""===a.stderrTail&&(0,d.jsx)("p",{className:"px-4 py-3 text-body-12 text-ink-4",children:"No output."})]})}function aa({payload:a,input:b,aside:c,outcome:e}){let f=b&&"object"==typeof b&&"string"==typeof b.text?b.text:null,h=[a.kind,a.filename,a.target?`to ${a.target}`:null].filter(a=>"string"==typeof a&&""!==a).join(" \xb7 "),i=(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(g.M,{size:14,className:"shrink-0 text-ink-4","aria-hidden":!0}),(0,d.jsxs)("span",{className:"shrink-0 text-mono-12 text-ink",children:["Sent to ",a.channel]}),""!==h&&(0,d.jsx)("span",{className:"min-w-0 flex-1 truncate text-mono-12 text-ink-3",children:h}),(0,d.jsx)("span",{className:`ml-auto h-2 w-2 shrink-0 rounded-full ${E[e]??"bg-ink-4"}`,"aria-hidden":!0}),void 0!==c&&(0,d.jsx)("span",{className:"shrink-0 text-mono-12 text-feed-metric",children:c})]}),j=null!==f||void 0!==a.bytes?(0,d.jsxs)(x.FoldableBody,{children:[null!==f&&(0,d.jsx)(t.Ay,{text:f}),void 0!==a.bytes&&(0,d.jsxs)("p",{className:"text-mono-11 text-ink-4",children:[(0,z._y)(a.bytes)," B"]})]}):void 0;return(0,d.jsx)(x.default,{head:i,...void 0!==j?{body:j}:{}})}function ab({payload:a}){let b="pass"===a.verdict;return(0,d.jsxs)(T,{title:b?"Review: approved":"Review: changes requested",meta:`${a.total} ${1===a.total?"finding":"findings"}`,tone:b?"ok":"warn",children:[(0,d.jsx)("div",{className:"px-4 py-3",children:(0,d.jsx)(t.Ay,{text:a.summary})}),a.items.length>0&&(0,d.jsx)("ul",{className:"border-t border-rule-2",children:a.items.map((a,b)=>(0,d.jsxs)("li",{className:"flex items-start gap-3 border-b border-rule-2 px-4 py-2.5 last:border-b-0",children:[(0,d.jsx)(o.s,{tone:a.ok?"agent":"blocker"===a.severity?"err":"warn",children:a.ok?"ok":a.severity??"issue"}),(0,d.jsxs)("span",{className:"min-w-0 flex-1 text-body-13 text-ink-2",children:[a.label,void 0!==a.ref&&(0,d.jsx)("span",{className:"mt-0.5 block text-mono-11 text-ink-4",children:a.ref})]})]},b))})]})}function ac({children:a}){return(0,d.jsx)("p",{className:"mb-1 text-label-11 uppercase tracking-wider text-ink-4",children:a})}function ad({payload:a}){var b,c;let e;return(0,d.jsxs)(H.default,{label:`Delegated to ${a.to}`,title:(b=a.resultText,c=a.task,""===(e=null!==b&&""!==b.trim()?b:c??"").trim()?"No result yet":(0,u.xv)((0,t.wh)(e),80)),ok:a.ok,aside:[null!==a.durationMs?(0,z._V)(a.durationMs):null,null!==a.costUsd?(0,z.BD)(a.costUsd):null].filter(a=>null!==a).join(" \xb7 "),children:[(0,d.jsxs)("div",{className:"px-4 py-3",children:[(0,d.jsx)(ac,{children:"Task"}),(0,d.jsx)(t.Ay,{text:a.task})]}),null!==a.resultText&&(0,d.jsxs)("div",{className:"border-t border-rule-2 px-4 py-3",children:[(0,d.jsx)(ac,{children:"Result"}),(0,d.jsx)(t.Ay,{text:a.resultText})]}),null!==a.error&&(0,d.jsx)("p",{className:"border-t border-rule-2 px-4 py-3 text-body-13 text-err",children:a.error})]})}function ae({children:a}){return(0,d.jsx)("p",{className:"text-mono-11 text-ink-4",children:a})}function af({job:a,from:b,deliverables:c}){let e=null!==a.completedAt&&null!==a.createdAt?a.completedAt.getTime()-a.createdAt.getTime():null,g=a.feed?.items.filter(a=>"request"!==a.kind&&"history"!==a.kind&&"child"!==a.kind),m=a.feed?.totals,n=void 0===m?0:m.inputTokens+m.outputTokens,o=[null!==e&&e>0?(0,z._V)(e):null,n>0?`${(0,z._y)(n)} tokens`:null,m&&null!==m.costUsd?(0,z.BD)(m.costUsd):null].filter(a=>null!==a).join(" \xb7 "),p=b.name??"An agent",q=a.agentName??"an agent",r="failed"===a.status||"cancelled"===a.status,s="completed"===a.status,v=null!==a.task?(0,u.xv)((0,t.wh)(a.task),80):"",w=function(a){let b=a.reviewVerdict;if(null==b)return function(a){if(null===a)return null;let[b,c]=(0,t.y1)(a,2);if(void 0===b)return null;let d=/^verdict(?:\s+[^\s:—]+)?\s*[:—]\s*(.+)$/i.exec(b.text);return d?.[1]!==void 0?d[1]:/^verdict\s*[:—–-]?$/i.test(b.text)&&void 0!==c&&"paragraph"===c.block?c.text:null}(a.result);let c="approve"===b.verdict?"Approved":"Changes requested",d=[["blocker",b.counts.blocker],["major",b.counts.major],["minor",b.counts.minor]].filter(([,a])=>a>0).map(([a,b])=>`${b} ${a}${b>1?"s":""}`).join(", ");return""===d?c:`${c} \xb7 ${d}`}(a);return(0,d.jsx)("div",{className:"mt-4",children:(0,d.jsx)(I.default,{head:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(i.A,{name:p,imageUrl:b.avatarUrl??void 0,size:"sm",shape:"square"}),(0,d.jsx)("span",{className:"shrink-0 text-medium-13 text-ink",children:p}),(0,d.jsx)("span",{className:"shrink-0 text-body-13 text-feed-delegation",children:"delegated to"}),(0,d.jsx)(i.A,{name:q,imageUrl:a.agentAvatarUrl??void 0,size:"sm",shape:"square"}),(0,d.jsx)("span",{className:"shrink-0 text-medium-13 text-ink",children:q}),(0,d.jsx)("span",{className:"min-w-0 flex-1 truncate text-body-13 text-ink-3",children:v}),null!==w&&(0,d.jsx)("span",{className:"max-w-[30ch] shrink-0 truncate text-body-13 text-feed-delegation",children:w}),(s||r)&&(0,d.jsx)("span",{"data-outcome":s?"ok":"failed",className:`h-2 w-2 shrink-0 rounded-full ${s?"bg-ok":"bg-err"}`}),(0,d.jsx)(j.A,{variant:s?"done":r?"warn":"run",label:s?"Done":r?"Failed":"Running",className:"shrink-0"}),""!==o&&(0,d.jsx)("span",{className:"shrink-0 text-mono-11 text-feed-metric",children:o})]}),body:(0,d.jsxs)("div",{className:"flex flex-col gap-2 pt-2.5 pr-3.5 pb-3 pl-10",children:[null!==a.task&&(0,d.jsxs)("div",{children:[(0,d.jsx)(ae,{children:"Task"}),(0,d.jsx)("div",{className:"text-body-13 text-ink-2",children:(0,d.jsx)(t.Ay,{text:a.task})})]}),void 0!==g&&g.length>0?(0,d.jsxs)("div",{children:[(0,d.jsx)(ae,{children:"What the child did"}),(0,d.jsx)(N,{items:g,deliverables:c})]}):(0,d.jsxs)(d.Fragment,{children:[null!==a.result&&(0,d.jsxs)("div",{children:[(0,d.jsx)(ae,{children:"Result"}),(0,d.jsx)("div",{className:"text-body-13 text-ink-2",children:(0,d.jsx)(t.Ay,{text:a.result})})]}),null!==a.error&&(0,d.jsx)("p",{className:"text-body-13 text-err",children:a.error}),(0,d.jsx)(P,{hint:a.failureHint})]}),null!=a.reviewVerdict&&""!==a.reviewVerdict.summary&&(0,d.jsxs)("div",{children:[(0,d.jsx)(ae,{children:"Verdict"}),(0,d.jsx)("p",{className:"text-body-13 text-ink-2",children:a.reviewVerdict.summary})]}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-3",children:[(0,l.G)(a.status)&&(0,d.jsx)(k.default,{jobId:a.id,status:a.status}),(0,d.jsxs)(f(),{href:`/scheduled/${a.id}`,className:"flex shrink-0 items-center gap-1.5 text-medium-13 text-ink-2 hover:text-ink",children:["Open run",(0,d.jsx)(h.B,{size:14,"aria-hidden":!0})]})]})]})})})}},27884:(a,b,c)=>{c.d(b,{i:()=>d});let d="folded"},32062:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(5347).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\app\\\\(dashboard)\\\\spaces\\\\DelegationDisclosure.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\DelegationDisclosure.tsx","default")},40023:(a,b,c)=>{c.d(b,{FoldableBody:()=>f,default:()=>e});var d=c(5347);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\app\\\\(dashboard)\\\\spaces\\\\FoldableBlock.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\FoldableBlock.tsx","default"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call FoldableBody() from the server but FoldableBody is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\FoldableBlock.tsx","FoldableBody")},42370:(a,b,c)=>{c.d(b,{default:()=>i});var d=c(27557),e=c(44928),f=c(87342),g=c(64560);function h(a,b,c){return`${a} ${1===a?b:c}`}function i({jobId:a,summary:b,defaultOpen:c=!1,children:j}){let k,[l,m]=(0,e.useState)(c),n=(k=[],b.tools>0&&k.push(h(b.tools,"tool","tools")),b.delegations>0&&k.push(h(b.delegations,"delegation","delegations")),b.modelCalls>0&&k.push(h(b.modelCalls,"model call","model calls")),null!==b.durationMs&&b.durationMs>0&&k.push((0,g._V)(b.durationMs)),null!==b.costUsd&&b.costUsd>0&&k.push((0,g.BD)(b.costUsd)),k);return(0,d.jsxs)("div",{className:"mt-3",children:[(0,d.jsx)("div",{className:"overflow-hidden rounded-md border border-rule-2 bg-canvas",children:(0,d.jsxs)(f.A,{open:l,onClick:()=>m(a=>!a),testId:`run-summary-${a}`,inset:"tight",className:"h-8 gap-2",children:[n.length>0&&(0,d.jsx)("span",{className:"min-w-0 flex-1 truncate text-mono-12 text-feed-metric",children:n.join(" \xb7 ")}),(0,d.jsx)("span",{className:"ml-auto shrink-0 text-micro-10 text-ink-4",children:l?"Hide the work":"Show the work"})]})}),l&&j]})}},50822:(a,b,c)=>{c.d(b,{default:()=>h});var d=c(27557),e=c(44928),f=c(68051),g=c(87342);function h({steps:a}){let[b,c]=(0,e.useState)(!1);if(0===a.length)return null;let i=`${a.length} ${1===a.length?"step":"steps"}`;return(0,d.jsxs)("div",{className:"overflow-hidden rounded-xl border border-rule-2 bg-paper",children:[(0,d.jsxs)(g.A,{open:b,onClick:()=>c(a=>!a),chevron:"end",inset:"tight",className:"h-[36px] gap-2.5",children:[(0,d.jsx)(f.R,{size:14,className:"shrink-0 text-ink-4","aria-hidden":!0}),(0,d.jsx)("span",{className:"shrink-0 text-body-13 text-feed-reasoning",children:"Reasoning"}),(0,d.jsx)("span",{className:"ml-auto truncate text-mono-11 text-feed-metric",children:i})]}),b&&(0,d.jsx)("ul",{className:"border-t border-rule-2 py-1",children:a.map((a,b)=>(0,d.jsx)("li",{className:"px-4 py-2 text-body-12 text-feed-reasoning whitespace-pre-wrap break-words",children:a},b))})]})}},51632:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(5347).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\app\\\\(dashboard)\\\\spaces\\\\ClampedText.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\ClampedText.tsx","default")},52460:(a,b,c)=>{c.d(b,{default:()=>g});var d=c(27557),e=c(44928),f=c(87342);function g({exchanges:a}){let[b,c]=(0,e.useState)(!1);return(0,d.jsxs)("div",{className:"mt-2 max-w-[720px] overflow-hidden rounded-[10px] border border-dashed border-rule-2 bg-canvas",children:[(0,d.jsxs)(f.A,{open:b,onClick:()=>c(a=>!a),inset:"tight",insetY:"tight",children:[(0,d.jsx)("span",{className:"text-medium-13 text-ink-3",children:"Earlier in this conversation"}),(0,d.jsxs)("span",{className:"ml-auto text-mono-11 text-ink-4",children:[a.length," ",1===a.length?"message":"messages"]})]}),b&&(0,d.jsx)("ul",{className:"border-t border-rule-2 py-2",children:a.map((a,b)=>(0,d.jsxs)("li",{className:"flex items-start gap-3 px-4 py-1.5 text-body-12 text-ink-3",children:[(0,d.jsx)("span",{className:"w-[52px] shrink-0 text-mono-11 text-ink-4",children:"user"===a.role?"you":"agent"}),(0,d.jsx)("span",{className:"min-w-0 flex-1 whitespace-pre-wrap break-words",children:a.text})]},b))})]})}},56409:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(5347).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\app\\\\(dashboard)\\\\spaces\\\\Handoff.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\Handoff.tsx","default")},67028:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(5347).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\app\\\\(dashboard)\\\\spaces\\\\LiveRefresh.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\LiveRefresh.tsx","default")},67932:(a,b,c)=>{c.d(b,{default:()=>e});var d=c(5347);(0,d.registerClientReference)(function(){throw Error("Attempted to call runSummaryParts() from the server but runSummaryParts is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\RunSummaryRow.tsx","runSummaryParts");let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\app\\\\(dashboard)\\\\spaces\\\\RunSummaryRow.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\RunSummaryRow.tsx","default")},73596:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(5347).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\app\\\\(dashboard)\\\\spaces\\\\ThinkingBlock.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\ThinkingBlock.tsx","default")},74774:(a,b,c)=>{c.d(b,{o:()=>o});var d=c(62793),e=c(72185),f=c(15939),g=c(63890),h=c(46190),i=c(24483),j=c(39311),k=c(94669);function l(a,b){return{ok:!1,code:a,message:b}}let m=e.Ik({jobId:e.Yj().guid(),toolCallId:e.Yj().min(1),path:e.Yj().min(1).optional()});async function n(){let a,b=(0,i.Iz)();try{let b=await (0,h.b3)();a=new Request("http://localhost/",{headers:b})}catch{a=new Request("http://localhost/")}let c=await (0,g.oC)(a,b);return(0,i.a1)(c,a)}async function o(a){try{var b;let c,d=await n(),e=m.safeParse(a);if(!e.success)return l("validation_failed",e.error.issues[0]?.message??"Invalid input");if(!d.entityId)return l("no_entity","No active entity");let g=(0,i.Lf)(),[h]=await g.select({id:f.ME.id}).from(f.ME).where((0,f.Uo)((0,f.eq)(f.ME.id,e.data.jobId),(0,f.eq)(f.ME.entityId,d.entityId))).limit(1);if(!h)return l("not_found","Job not found");if(!j._.WORKER_SECRET)return console.error("[getFileDiffAction] WORKER_SECRET missing"),l("config_error","WORKER_SECRET is not set");let k=new URLSearchParams({toolCallId:e.data.toolCallId});void 0!==e.data.path&&k.set("path",e.data.path);let o=`${j._.RUNNER_URL}/api/jobs/${e.data.jobId}/file-diff?${k.toString()}`;try{c=await fetch(o,{method:"GET",headers:{Authorization:`Bearer ${j._.WORKER_SECRET}`}})}catch(a){return console.error("[getFileDiffAction] fetch failed",a),l("runner_unreachable","Runner did not respond")}if(!c.ok){let a=(await c.json().catch(()=>({}))).error??`runner_${c.status}`;return l(a,`Runner rejected: ${a}`)}return b=await c.json(),{ok:!0,data:b}}catch(a){return console.error("[getFileDiffAction]",a),l("db_error","Failed to read the diff")}}(0,k.D)([o]),(0,d.A)(o,"40b59edfff01a23ec32a83e0fe0559f3c6446581ca",null)},78390:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(5347).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\app\\\\(dashboard)\\\\spaces\\\\DelegationBlock.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\DelegationBlock.tsx","default")},85674:(a,b,c)=>{c.d(b,{default:()=>e});var d=c(5347);(0,d.registerClientReference)(function(){throw Error("Attempted to call excerptOfInput() from the server but excerptOfInput is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\ToolBlock.tsx","excerptOfInput"),(0,d.registerClientReference)(function(){throw Error("Attempted to call hasBody() from the server but hasBody is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\ToolBlock.tsx","hasBody");let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\app\\\\(dashboard)\\\\spaces\\\\ToolBlock.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\ToolBlock.tsx","default");(0,d.registerClientReference)(function(){throw Error("Attempted to call StepLine() from the server but StepLine is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\ToolBlock.tsx","StepLine")},89880:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{"009da2e78d920f04780360ea76263a23237165f799":()=>f.k,"00a6c0839636c57e0371254141b4db858db12631e6":()=>g.te,"00c3be782c080ad8be4416c2879acc7291a274f2df":()=>g.A6,"00eaddb0c43f26c8a556058fd20cf5112388ae3e7c":()=>g.S9,"400665a0d87b3323be0fc2971604d236827a13fa98":()=>h.uR,"402022959bb4b79f9f0c8e964c704a48a1d00bc07c":()=>g.dP,"4026915e0639e2a3036ebd97c417f8f63ca9bf41d7":()=>g.gL,"402859cccaa838a07dc7cd2308e312f9cb9a683f17":()=>g.$A,"40325f338db7a051d7d07e1a7452d919dc423b175f":()=>g.Vr,"403279b461055b481ada2a19e540f1cb22544a6a00":()=>g.Kd,"403a0192dd920820d8a76f6463d4b1526092fee159":()=>g.zj,"403ab2c916980a707147a9ce21c45a8a3a60335e4f":()=>g.fn,"4049f2a1bb350e93f7631ab4e84189e1ad83c6ecc5":()=>e.EY,"405dfcce02fef7d0a3fda80a8b15fcbf7b03cda19b":()=>g.O0,"4069326f867fb98ac631b7afeff956d8f17c3f5354":()=>e.My,"406968a6961a014cb45a807a92b86d0b49a59dc018":()=>g.Vq,"4079b0c191a63419311f22f9da79f5782ff52146fe":()=>e.W8,"408adabacc8a0605757d5983f1bec860265f4c9a9a":()=>h.X2,"40a295c19727b838501244c5fdd3755658fab3db51":()=>e.sc,"40a3faf2e9a8347480ae956505565c62193af0b418":()=>h.lA,"40aa91332487c9e00a95903d224c75825e1aa65541":()=>g.t8,"40b59edfff01a23ec32a83e0fe0559f3c6446581ca":()=>j.o,"40bb408ec389a7a605fc9758cfb4b4dd25d7fb6c26":()=>h.vU,"40fbb101b87955982334a3aaf7054743b350ca4013":()=>i.d});var e=c(4420),f=c(27944),g=c(53675),h=c(34020),i=c(91878),j=c(74774),k=a([f,i]);[f,i]=k.then?(await k)():k,d()}catch(a){d(a)}})},99074:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(5347).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\app\\\\(dashboard)\\\\spaces\\\\DeliveryFiles.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\DeliveryFiles.tsx","default")}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
exports.id=5804,exports.ids=[5804],exports.modules={13487:(a,b,c)=>{"use strict";c.d(b,{A:()=>g});var d=c(47235),e=c(62116),f=c(32657);function g({rows:a}){return 0===a.length?(0,d.jsx)(f.A,{title:"Nothing has happened here yet",description:"Open a conversation on this project, or let an agent write in its folder."}):(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("div",{className:"divide-y divide-rule-2 overflow-hidden rounded-xl border border-rule-2 bg-paper","data-testid":"project-activity",children:a.map(({key:a,...b})=>(0,d.jsx)(e.A,{rowKey:a,lead:"title",...b},a))})})}},18595:(a,b,c)=>{"use strict";c.d(b,{default:()=>g});var d=c(27557),e=c(40236),f=c(37599);function g({display:a,value:b,href:c}){async function h(){try{await navigator.clipboard.writeText(b),e.oR.success("Path copied")}catch{e.oR.error("Could not copy")}}let i=(0,d.jsx)("span",{title:b,className:"block truncate rounded-md bg-hover px-2 py-1 text-mono-13 text-ink-2",children:a});return(0,d.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[(0,d.jsx)("span",{className:"min-w-0 flex-1",children:c?(0,d.jsx)("a",{href:c,title:b,className:"block min-w-0 hover:opacity-80",children:i}):i}),(0,d.jsxs)("button",{type:"button",onClick:h,title:"Copy full path",className:"inline-flex h-[28px] shrink-0 items-center gap-1.5 rounded-md border border-rule-2 px-2.5 text-medium-12 text-ink-3 transition-colors hover:border-rule hover:text-ink",children:[(0,d.jsx)(f.Q,{size:13})," Copy"]})]})}},21214:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(5347).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\app\\\\(dashboard)\\\\spaces\\\\ProjectGitPanel.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\ProjectGitPanel.tsx","default")},24735:(a,b,c)=>{"use strict";c.d(b,{A:()=>j});var d=c(27557),e=c(47728),f=c(84249),g=c(34252);let h={info:{bg:"bg-run-bg",icon:"text-conn-vivid",iconColor:"text-conn-vivid"},warn:{bg:"bg-warn-bg",icon:"text-skill-vivid",iconColor:"text-skill-vivid"},tip:{bg:"bg-paper border border-rule-2",icon:"text-ink-3",iconColor:"text-ink-3"}},i={info:e.R,warn:f.N,tip:g.g};function j({variant:a,title:b,children:c,className:e=""}){let f=h[a],g=i[a];return(0,d.jsxs)("div",{className:`flex items-start gap-2.5 rounded-[9px] px-3.5 py-2.5 text-body-13 leading-[1.5]! text-ink-2 ${f.bg} ${e}`,children:[(0,d.jsx)(g,{size:16,weight:"regular",className:`mt-0.5 shrink-0 ${f.iconColor}`}),(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[b&&(0,d.jsx)("b",{className:"block font-medium text-ink",children:b}),c]})]})}},25398:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(5347).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\app\\\\(dashboard)\\\\spaces\\\\RenameProjectButton.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\RenameProjectButton.tsx","default")},27749:(a,b,c)=>{Promise.resolve().then(c.bind(c,21214)),Promise.resolve().then(c.bind(c,45864)),Promise.resolve().then(c.bind(c,84892)),Promise.resolve().then(c.bind(c,70582)),Promise.resolve().then(c.bind(c,25398)),Promise.resolve().then(c.bind(c,86585)),Promise.resolve().then(c.bind(c,39816)),Promise.resolve().then(c.bind(c,41060)),Promise.resolve().then(c.bind(c,90356)),Promise.resolve().then(c.t.bind(c,8570,23)),Promise.resolve().then(c.t.bind(c,62217,23))},28668:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{A:()=>t});var e=c(47235),f=c(24902),g=c(80241),h=c(54785),i=c(4206),j=c(12406),k=c(77285),l=c(69864),m=c(52295),n=c(13487),o=c(70582),p=c(21214),q=c(84892),r=c(45864),s=a([j]);async function t({id:a}){let[b,c,d,h,o,q]=await Promise.all([(0,i.fn)(a),(0,i.$A)(a),(0,j.Byx)({status:"pending"}),(0,i.Vq)(a),(0,j.Zb)(),(0,j.Wdt)()]);if(!b.ok)return"not_found"===b.code&&(0,f.notFound)(),(0,e.jsx)(g.A,{title:"Project",children:(0,e.jsx)("p",{className:"text-sm text-err",children:b.message})});let s=b.data,v=c.ok?(0,l.rB)({conversations:c.data.conversations,sessions:c.data.sessions,waiting:d.ok?d.data.map(a=>({conversationId:a.conversationId,rootJobId:a.rootJobId,kind:a.kind})):[]}):[];return(0,e.jsx)(r.ProjectPanelProvider,{children:(0,e.jsx)(g.A,{fluid:!0,title:s.name,subtitle:s.path,children:(0,e.jsxs)(r.ProjectPanelBody,{actions:(0,e.jsx)(k.A,{children:(0,e.jsx)(m.A,{projectId:s.id,projectPath:s.path,projectName:s.name})}),panel:(0,e.jsx)(r.ProjectFilesPanel,{title:"Files & proof",children:(0,e.jsx)(u,{result:h,prefs:o,owner:q})}),children:[h.ok&&(0,e.jsx)("div",{className:"mb-6",children:(0,e.jsx)(p.default,{projectId:h.data.project.id,git:{initGit:h.data.project.initGit,gitInitializedAt:h.data.project.gitInitializedAt},isOwner:!!q.ok&&q.data.isOwner})}),c.ok?(0,e.jsxs)(e.Fragment,{children:[!d.ok&&(0,e.jsx)("p",{className:"mb-3 text-body-12 text-err",children:"What is waiting for you could not be read, so no row says it."}),(0,e.jsx)(n.A,{rows:v})]}):(0,e.jsx)("p",{className:"text-sm text-err",children:c.message})]})})})}function u({result:a,prefs:b,owner:c}){if(!a.ok)return(0,e.jsx)("p",{className:"text-sm text-err",children:a.message});let{project:d,files:f,proof:g}=a.data,i=(0,h.$NF)(d.path),j=b.ok?b.data.find(a=>(0,h.$NF)(a.projectPath)===i)??null:null,k=j?{verifyCommands:j.verifyCommands,verifyApprovedAt:j.verifyApprovedAt,verifyManifestHash:j.verifyManifestHash,verifyStatus:j.verifyStatus,verifySource:j.verifySource}:null;return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(o.default,{project:d,files:f,proof:g}),"documents"!==d.kind&&(0,e.jsxs)("div",{className:"mt-2",children:[!b.ok&&(0,e.jsxs)("p",{className:"mb-2 text-body-12 text-err",children:["The proof commands could not be read: ",b.message]}),(0,e.jsx)(q.default,{projectPath:d.path,initialVerification:k,isOwner:!!c.ok&&c.data.isOwner})]})]})}j=(s.then?(await s)():s)[0],d()}catch(a){d(a)}})},31137:(a,b,c)=>{"use strict";c.d(b,{A:()=>g});var d=c(27557);let e={sm:"h-5 w-9",md:"h-[22px] w-[38px]"},f={sm:"h-3.5 w-3.5",md:"h-4 w-4"};function g({checked:a,onChange:b,disabled:c,size:h="md",ariaLabel:i,ariaLabelledBy:j,ariaDescribedBy:k,readOnly:l=!1}){let m=`relative inline-flex shrink-0 items-center rounded-full ${e[h]} ${a?"bg-ok":"bg-ink-4"}`,n=(0,d.jsx)("span",{className:`pointer-events-none inline-block rounded-full bg-paper ${l?"":"transition-transform duration-200"} ${f[h]} ${a?"translate-x-[19px]":"translate-x-[3px]"}`});return l?(0,d.jsx)("span",{role:"img","aria-label":i??(a?"On":"Off"),"data-state":a?"on":"off",className:`${m} ${c?"opacity-50":""}`,children:n}):(0,d.jsx)("button",{type:"button",role:"switch","aria-checked":a,"aria-label":i,"aria-labelledby":j,"aria-describedby":k,disabled:c,onClick:b,className:`${m} cursor-pointer transition-colors duration-200 focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-conn-vivid/50 disabled:cursor-not-allowed disabled:opacity-50`,children:n})}},38746:(a,b,c)=>{"use strict";c.r(b),c.d(b,{ProjectFilesPanel:()=>o,ProjectPanelBody:()=>p,ProjectPanelButton:()=>n,ProjectPanelProvider:()=>m});var d=c(27557),e=c(44928),f=c(6061),g=c(12093),h=c(10158),i=c(775),j=c(21141);let k=(0,e.createContext)(null);function l(){let a=(0,e.useContext)(k);if(null===a)throw Error("ProjectPanel: used outside ProjectPanelProvider");return a}function m({children:a}){let[b,c]=(0,e.useState)(!0);return(0,d.jsx)(k.Provider,{value:{open:b,toggle:()=>c(a=>!a),close:()=>c(!1)},children:a})}function n(){let{open:a,toggle:b}=l();return(0,d.jsxs)(i.A,{variant:a?"ink":"neutral",onClick:b,"aria-pressed":a,"data-testid":"project-panel-toggle",children:[(0,d.jsx)(f.Bm,{size:14,"aria-hidden":!0}),"Files & proof"]})}function o({title:a,children:b}){let{open:c,close:f}=l(),i=(0,e.useId)();return((0,j.Z4)(c,f),c)?(0,d.jsxs)("aside",{role:"complementary","aria-labelledby":i,"data-testid":"project-files-panel",className:"mt-6 flex max-h-[70vh] flex-col overflow-hidden rounded-xl border border-rule bg-paper shadow-[0_12px_32px_rgba(0,0,0,0.28)] lg:sticky lg:top-6 lg:mt-0 lg:max-h-[calc(100vh-48px)] lg:w-[400px] lg:shrink-0 lg:self-start min-[2372px]:-ml-[424px]",children:[(0,d.jsxs)("div",{className:"flex shrink-0 items-center justify-between gap-2 border-b border-rule-2 py-3 pr-3 pl-5",children:[(0,d.jsx)("h2",{id:i,className:"min-w-0 truncate text-title-16 text-ink",children:a}),(0,d.jsx)(h.A,{ghost:!0,"aria-label":"Close",onClick:f,className:"h-7 w-7",children:(0,d.jsx)(g.X,{size:16})})]}),(0,d.jsx)("div",{tabIndex:0,className:"flex min-h-px flex-1 flex-col gap-3.5 overflow-y-auto p-5 focus-visible:outline-none",children:b})]}):null}function p({actions:a,panel:b,children:c}){return(0,d.jsxs)("div",{"data-testid":"project-body",className:"flex flex-col items-stretch lg:flex-row lg:items-start lg:gap-6",children:[(0,d.jsx)("div",{className:"min-w-0 flex-1",children:(0,d.jsxs)("div",{className:"mx-auto flex w-full max-w-[1080px] flex-col gap-4",children:[a,c]})}),b]})}},38914:(a,b,c)=>{"use strict";c.d(b,{default:()=>A});var d=c(27557),e=c(44928),f=c(81023),g=c(40409),h=c(40236),i=c(43272),j=c(80334),k=c(62413),l=c(48601);l.callServer,l.findSourceMapURL;let m=(0,l.createServerReference)("0089907e33c9562cc647d5bca03ae107588dd6f2ca",l.callServer,void 0,l.findSourceMapURL,"listCodeProjectPrefsAction"),n=(0,l.createServerReference)("40df753079fde625c74c7073a48e6086b80b4f2198",l.callServer,void 0,l.findSourceMapURL,"setCodeProjectVerifyCommandsAction"),o=(0,l.createServerReference)("40f6bcec2d1557df5a5c8657c515e645e4bf7cfb4f",l.callServer,void 0,l.findSourceMapURL,"approveCodeProjectVerifyManifestAction");var p=c(25e3),q=c(24735),r=c(71456),s=c(74061),t=c(51040),u=c(775),v=c(37422),w=c(31268);function x(a){return(a??[]).map(a=>({command:a.command,timeout:String(a.timeoutSeconds)}))}function y(a){return JSON.stringify(a.map(a=>[a.command.trim(),a.timeout.trim()]))}function z({projectPath:a,verification:b,isOwner:c,onPrefsReloaded:f}){let l=b?.verifyCommands??null,A=b?.verifyStatus??"not_configured",[B,C]=(0,e.useState)(()=>x(l)),[D,E]=(0,e.useState)(!1),[F,G]=(0,e.useTransition)(),[H,I]=(0,e.useState)(null),J=y(x(l)),[K,L]=(0,e.useState)(J);K!==J&&(L(J),C(x(l))),null===l||l.length;let M=function(a){if(0===a.length||a.length>g.MQp)return null;let b=[];for(let c of a){let a=c.command.trim(),d=function(a){let b=a.trim();if(!/^[0-9]+$/.test(b))return null;let c=Number(b);return!Number.isInteger(c)||c<1||c>3600?null:c}(c.timeout);if(""===a||a.length>2e3||null===d)return null;b.push({command:a,timeoutSeconds:d})}return b}(B),N=y(B)!==J,O=c&&!F;function P(a,b){C(c=>c.map((c,d)=>d===a?{...c,...b}:c))}function Q(a,b){C(c=>{let d=a+b;if(d<0||d>=c.length)return c;let e=[...c],[f]=e.splice(a,1);return f?(e.splice(d,0,f),e):c})}async function R(){let a=await m();return a.ok?(f(a.data),!0):(h.oR.error(a.message),!1)}let S=b?.verifySource==="agent",T="approved"===A?S?(0,d.jsxs)(t.s,{tone:"ok",children:["Declared by the agent ",(0,w.KW)(b?.verifyApprovedAt)]}):(0,d.jsxs)(t.s,{tone:"ok",children:["Approved ",(0,w.KW)(b?.verifyApprovedAt)]}):"pending_approval"===A?(0,d.jsx)(t.s,{tone:"warn",children:"Needs your approval"}):(0,d.jsx)(t.s,{tone:"ink",children:"Nothing declared yet"});return(0,d.jsxs)("section",{"data-testid":"project-verification",className:"min-w-0 space-y-3 rounded-xl border border-rule-2 bg-paper px-4 py-4",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsx)("span",{className:"text-medium-14 text-ink",children:"Proof commands"}),(0,d.jsx)("span",{"data-testid":"verify-status",children:T}),!c&&(0,d.jsx)(t.s,{tone:"err",children:"owner only"})]}),(0,d.jsx)("p",{className:"text-body-13 leading-[1.4]! text-ink-3",children:S?"The agent that built this project declared these commands.":"not_configured"===A?"The agent that builds here declares how to check its own work.":"They run in this folder after a coding task, in order."}),!c&&(0,d.jsx)("p",{className:"text-body-12 text-ink-4",children:"Only the workspace owner can change proof commands."}),0===B.length&&null!==H&&H.length>0&&(0,d.jsxs)("div",{className:"space-y-2 rounded-lg border border-rule-2 p-3",children:[(0,d.jsx)("p",{className:"text-body-13 text-ink-2",children:"Found in this project. Add them, then approve."}),(0,d.jsx)("ul",{className:"space-y-1",children:H.map((a,b)=>(0,d.jsxs)("li",{className:"font-mono text-body-12 text-ink-3",children:[a.command,void 0!==a.runs&&(0,d.jsxs)("span",{className:"text-ink-4",children:[" → ",a.runs]})]},b))}),(0,d.jsx)(u.A,{type:"button",disabled:!O,"data-testid":"verify-use-suggested",onClick:()=>C(H.map(a=>({command:a.command,timeout:a.timeout}))),children:"Add these"})]}),0===B.length?(0,d.jsx)("p",{className:"text-body-13 text-ink-4",children:null!==H&&0===H.length?"No proof commands yet, and nothing to suggest: this folder has no manifest Nodal reads.":"No proof commands yet."}):(0,d.jsx)("div",{className:"space-y-2",children:B.map((a,b)=>(0,d.jsxs)("div",{className:"min-w-0 space-y-2 rounded-[10px] border border-rule-2 bg-paper px-3 py-3",children:[(0,d.jsx)(v.A,{value:a.command,disabled:!O,maxLength:2e3,spellCheck:!1,placeholder:"pnpm test","aria-label":`Proof command ${b+1}`,"data-testid":`verify-command-${b}`,onChange:a=>P(b,{command:a.target.value})}),(0,d.jsxs)("div",{className:"flex min-w-0 flex-wrap items-center gap-2 text-mono-11 tracking-[0.04em] text-ink-4",children:[(0,d.jsxs)("span",{className:"shrink-0",children:["#",b+1]}),(0,d.jsx)(v.A,{value:a.timeout,disabled:!O,inputMode:"numeric",maxLength:4,"aria-label":`Timeout in seconds for command ${b+1}`,"data-testid":`verify-timeout-${b}`,containerClassName:"w-14 shrink-0",onChange:a=>P(b,{timeout:a.target.value})}),(0,d.jsx)("span",{className:"shrink-0",children:"s"}),O&&(0,d.jsxs)("span",{className:"ml-auto flex shrink-0 items-center gap-2",children:[b>0&&(0,d.jsx)(r.n,{title:"Move up",ariaLabel:`Move command ${b+1} up`,onClick:()=>Q(b,-1),children:(0,d.jsx)(i.D,{size:12})}),b<B.length-1&&(0,d.jsx)(r.n,{title:"Move down",ariaLabel:`Move command ${b+1} down`,onClick:()=>Q(b,1),children:(0,d.jsx)(j.y,{size:12})}),B.length>1&&(0,d.jsx)(r.n,{title:"Remove",ariaLabel:`Remove command ${b+1}`,onClick:()=>{C(a=>a.filter((a,c)=>c!==b))},children:(0,d.jsx)(k.X,{size:12})})]})]})]},b))}),O&&B.length<g.MQp&&(0,d.jsx)(s.A,{size:"sm",onClick:function(){C(a=>a.length>=g.MQp?a:[...a,{command:"",timeout:String(300)}])},children:"Add a command"}),c&&(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,d.jsx)(u.A,{size:"sm",onClick:function(){!a||M&&G(async()=>{let b=await n({projectPath:a,commands:M});b.ok?await R()&&h.oR.success("Proof commands saved. They need your approval."):h.oR.error(b.message)})},disabled:!N||null===M||F,"data-testid":"verify-save",children:"Save"}),N&&null===M&&(0,d.jsxs)("span",{className:"text-body-12 text-ink-4",children:["Every command needs text and a timeout from 1 to ",3600," seconds."]})]}),"pending_approval"===A&&(0,d.jsx)(q.A,{variant:"warn",title:"Approval needed",className:"mt-1",children:"These commands run code from the repository on this machine, with your account. Approve only what you would run yourself."}),"pending_approval"===A&&c&&(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,d.jsx)(u.A,{size:"sm",variant:"neutral",onClick:()=>E(!0),disabled:N||F||!b?.verifyManifestHash,"data-testid":"verify-approve",children:"Approve"}),N&&(0,d.jsx)("span",{className:"text-body-12 text-ink-4",children:"Save your changes first."})]}),(0,d.jsx)(p.A,{open:D,title:"Approve these proof commands?",message:"These commands run code from the repository on this machine, with your account. Approve only what you would run yourself.",confirmLabel:"Approve",destructive:!1,extra:(0,d.jsx)("ol",{className:"space-y-1",children:(l??[]).map((a,b)=>(0,d.jsxs)("li",{className:"flex items-baseline gap-2 text-mono-12",children:[(0,d.jsxs)("span",{className:"text-ink-4",children:[b+1,"."]}),(0,d.jsx)("span",{className:"min-w-0 flex-1 break-all text-ink-2",children:a.command}),(0,d.jsxs)("span",{className:"text-ink-4",children:[a.timeoutSeconds,"s"]})]},b))}),onConfirm:function(){if(E(!1),!a)return;let c=b?.verifyManifestHash;c&&G(async()=>{let b=await o({projectPath:a,manifestHash:c});b.ok?await R()&&h.oR.success("Proof commands approved."):h.oR.error(b.message)})},onCancel:()=>E(!1)})]})}function A({projectPath:a,initialVerification:b,isOwner:c}){let[h,i]=(0,e.useState)(b),j=(0,f.useRouter)();return(0,d.jsx)(z,{projectPath:a,verification:h,isOwner:c,onPrefsReloaded:b=>{let c=(0,g.$NF)(a),d=b.find(a=>(0,g.$NF)(a.projectPath)===c);i(d?{verifyCommands:d.verifyCommands,verifyApprovedAt:d.verifyApprovedAt,verifyManifestHash:d.verifyManifestHash,verifyStatus:d.verifyStatus,verifySource:d.verifySource}:null),j.refresh()}})}},45864:(a,b,c)=>{"use strict";c.r(b),c.d(b,{ProjectFilesPanel:()=>g,ProjectPanelBody:()=>h,ProjectPanelButton:()=>f,ProjectPanelProvider:()=>e});var d=c(5347);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call ProjectPanelProvider() from the server but ProjectPanelProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\ProjectPanel.tsx","ProjectPanelProvider"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call ProjectPanelButton() from the server but ProjectPanelButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\ProjectPanel.tsx","ProjectPanelButton"),g=(0,d.registerClientReference)(function(){throw Error("Attempted to call ProjectFilesPanel() from the server but ProjectFilesPanel is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\ProjectPanel.tsx","ProjectFilesPanel"),h=(0,d.registerClientReference)(function(){throw Error("Attempted to call ProjectPanelBody() from the server but ProjectPanelBody is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\ProjectPanel.tsx","ProjectPanelBody")},51700:(a,b,c)=>{"use strict";c.d(b,{default:()=>l});var d=c(27557),e=c(44928),f=c(40236),g=c(48601);let h=(0,g.createServerReference)("40ff91f04230dd2aa28294450c1f02479cdabf68e4",g.callServer,void 0,g.findSourceMapURL,"setCodeProjectInitGitAction");var i=c(51040),j=c(31137),k=c(31268);function l({projectId:a,git:b,isOwner:c}){let[g,m]=(0,e.useTransition)(),[n,o]=(0,e.useState)(b),[p,q]=(0,e.useState)(null),r=n.initGit,s=n.gitInitializedAt;return(0,d.jsxs)("section",{className:"overflow-hidden rounded-xl border border-rule-2 bg-paper","data-testid":"project-git-panel",children:[(0,d.jsxs)("h2",{className:"flex items-center gap-2 border-b border-rule-2 px-4 py-3 text-mono-11 tracking-wider text-ink-4 uppercase",children:["Git",!c&&(0,d.jsx)(i.s,{tone:"err",children:"owner only"})]}),(0,d.jsxs)("div",{className:"space-y-2 p-4",children:[(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)(j.A,{checked:r,onChange:function(){if(!c||g)return;let b=!r;m(async()=>{let c=await h({projectId:a,initGit:b});c.ok?(q("failed"===c.data.outcome?null:c.data.outcome),o({initGit:c.data.initGit,gitInitializedAt:c.data.gitInitializedAt?new Date(c.data.gitInitializedAt):null}),f.oR.success("initialised"===c.data.outcome?"Git initialised in this folder":"already"===c.data.outcome?"This folder was already a repository":"Nodal will not initialise git here")):f.oR.error(c.message)})},disabled:!c||g,size:"md",ariaLabel:"Initialise git in this folder"}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("p",{className:"text-body-13 text-ink",children:"Initialise git in this folder"}),(0,d.jsx)("p",{className:"text-body-12 text-ink-4",children:"Nodal then lists exactly the files each run wrote, even the ones a command wrote without naming them. Nothing is committed and nothing is pushed."})]})]}),null!==s&&(0,d.jsxs)("p",{className:"text-body-12 text-ink-3","data-testid":"project-git-posed",children:["Nodal initialised this repository ",(0,k.KW)(s),"."]}),"already"===p&&null===s&&(0,d.jsx)("p",{className:"text-body-12 text-ink-3",children:"This folder was already a repository. Nodal left it alone."}),"off"===p&&(0,d.jsx)("p",{className:"text-body-12 text-ink-3",children:"The repository stays where it is. Turning this off never deletes one."}),!c&&(0,d.jsx)("p",{className:"text-body-12 text-ink-3",children:"Only the workspace owner can initialise git in a project folder."})]})]})}},52295:(a,b,c)=>{"use strict";c.d(b,{A:()=>i});var d=c(47235),e=c(37933);function f({projectId:a}){return(0,d.jsx)(e.A,{variant:"neutral",href:`/?project=${encodeURIComponent(a)}`,children:"New conversation"})}var g=c(25398),h=c(45864);function i({projectId:a,projectPath:b,projectName:c}){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f,{projectId:a}),(0,d.jsx)(g.default,{projectPath:b,currentName:c}),(0,d.jsx)(h.ProjectPanelButton,{})]})}},56652:(a,b,c)=>{"use strict";c.d(b,{default:()=>l});var d=c(27557),e=c(44928),f=c(81023),g=c(40236),h=c(52282),i=c(775),j=c(37422),k=c(10792);function l({projectPath:a,currentName:b}){let[c,m]=(0,e.useState)(!1),[n,o]=(0,e.useState)(b),[p,q]=(0,e.useTransition)(),r=(0,f.useRouter)();return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(i.A,{variant:"neutral",onClick:()=>m(!0),children:"Rename"}),(0,d.jsxs)(h.A,{open:c,dismissable:!1,onClose:()=>m(!1),title:"Rename this project",testId:"rename-project",footer:(0,d.jsxs)(h.j,{children:[(0,d.jsx)(i.A,{variant:"neutral",onClick:()=>m(!1),disabled:p,children:"Cancel"}),(0,d.jsx)(i.A,{onClick:function(){q(async()=>{let b=await (0,k.N)({projectPath:a,displayName:n.trim()});b.ok?(m(!1),r.refresh()):g.oR.error(b.message)})},disabled:p,children:p?"Saving…":"Save"})]}),children:[(0,d.jsx)(j.A,{label:"Name",id:"rename-project-name",value:n,onChange:a=>o(a.target.value),placeholder:b,maxLength:120}),(0,d.jsx)("p",{className:"mt-2 text-body-12 text-ink-3",children:"Your agents use this name too. Leave it empty to go back to the folder name."})]})]})}},66431:(a,b,c)=>{Promise.resolve().then(c.bind(c,51700)),Promise.resolve().then(c.bind(c,38746)),Promise.resolve().then(c.bind(c,38914)),Promise.resolve().then(c.bind(c,89772)),Promise.resolve().then(c.bind(c,56652)),Promise.resolve().then(c.bind(c,7375)),Promise.resolve().then(c.bind(c,31518)),Promise.resolve().then(c.bind(c,35542)),Promise.resolve().then(c.bind(c,28198)),Promise.resolve().then(c.t.bind(c,87480,23)),Promise.resolve().then(c.t.bind(c,22683,23))},69864:(a,b,c)=>{"use strict";c.d(b,{rB:()=>h});var d=c(31990),e=c(50596);function f(a){return a.includes("question")?"question":a.includes("approval")?"approval":null}let g={pending:"Queued",processing:"Running",awaiting_delegation:"Delegated",awaiting_approval:"Blocked",completed:"Done",failed:"Failed",cancelled:"Cancelled"};function h(a){let b=a.now??new Date,c=new Map,h=new Map;for(let b of a.waiting??[])if(b.conversationId){let a=c.get(b.conversationId);a?a.push(b.kind):c.set(b.conversationId,[b.kind])}else if(b.rootJobId){let a=h.get(b.rootJobId);a?a.push(b.kind):h.set(b.rootJobId,[b.kind])}let i=[];for(let g of a.conversations)i.push({at:g.updatedAt?.getTime()??0,row:{id:g.id,key:`conversation-${g.id}`,href:`/chat/${g.id}`,agent:{name:g.agentName,avatarUrl:g.agentAvatarUrl},chatName:""===g.title?"Untitled":(0,d.xv)(g.title,60),preview:function(a){let b=[];return a.agentName&&b.push(a.agentName),a.lastPreview&&b.push(`“${a.lastPreview}”`),a.sessions>0&&b.push(1===a.sessions?"1 session inside":`${a.sessions} sessions inside`),b.length>0?b.join(" \xb7 "):null}(g),time:(0,e.H)(g.updatedAt,b),waiting:f(c.get(g.id)??[]),running:g.running,unread:g.unread}});for(let c of a.sessions){var j;i.push({at:c.createdAt?.getTime()??0,row:{id:c.id,key:`session-${c.id}`,href:`/code/${c.id}`,agent:{name:c.agentName,avatarUrl:c.agentAvatarUrl},chatName:function(a){var b,c;let d="claude"===(b=a.provider)?"Claude Code":"codex"===b?"Codex":null===b||""===b?null:`${b.charAt(0).toUpperCase()}${b.slice(1)}`;return`${d?`${d} session`:"Session"} \xb7 ${"mcp"===(c=a.origin)?"from MCP":"api"===c?"from the API":"cron"===c?"from an automation":"internal"===c?"from another agent":"dashboard"===c?"from the dashboard":"cli"===c?"from the CLI":`from ${c}`}`}(c),preview:function(a){var b;let c=["No conversation"],d=null===(b=a.status)?null:g[b]??b;return d&&c.push(d),""!==a.task&&c.push(a.task),c.join(" \xb7 ")}(c),time:(0,e.H)(c.createdAt,b),waiting:f(h.get(c.id)??[])??("awaiting_approval"===c.status?"approval":null),running:"pending"===(j=c.status)||"processing"===j||"awaiting_delegation"===j,unread:!1}})}return i.sort((a,b)=>b.at-a.at).map(a=>a.row)}},70582:(a,b,c)=>{"use strict";c.d(b,{default:()=>e});var d=c(5347);(0,d.registerClientReference)(function(){throw Error("Attempted to call proofLine() from the server but proofLine is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\ProjectShelf.tsx","proofLine");let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\app\\\\(dashboard)\\\\spaces\\\\ProjectShelf.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\ProjectShelf.tsx","default")},71456:(a,b,c)=>{"use strict";c.d(b,{A:()=>e,n:()=>f});var d=c(27557);function e({glyph:a,name:b,description:c,meta:f,actions:g,expanded:h,className:i=""}){return(0,d.jsxs)("div",{"data-testid":"ed-row",className:`overflow-hidden rounded-[10px] border border-rule-2 bg-paper ${i}`,children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-x-3.5 gap-y-1 px-4 py-3.5",children:[a&&(0,d.jsx)("div",{className:"flex-shrink-0",children:a}),(0,d.jsxs)("div",{className:"min-w-0 flex-[1_1_10rem]",children:[(0,d.jsx)("div",{className:"text-medium-14 leading-[1.2]! break-words text-ink",children:b}),c&&(0,d.jsx)("div",{className:"mt-0.5 truncate text-body-13 leading-[1.3]! text-ink-3",title:"string"==typeof c?c:void 0,children:c})]}),f&&(0,d.jsx)("div",{className:"flex-shrink-0 text-mono-11 tracking-[0.04em] text-ink-4",children:f}),g&&(0,d.jsx)("div",{className:"ml-auto flex flex-shrink-0 items-center gap-2",children:g})]}),h&&(0,d.jsx)("div",{className:"space-y-2 border-t border-rule-2 bg-canvas/40 px-4 py-3",children:h})]})}function f({onClick:a,title:b,children:c,ariaLabel:e}){return(0,d.jsx)("button",{type:"button",onClick:a,title:b,"aria-label":e??b,className:"flex h-7 w-7 items-center justify-center rounded-md border border-rule text-ink-3 transition-colors hover:bg-hover hover:text-ink",children:c})}},74061:(a,b,c)=>{"use strict";c.d(b,{A:()=>f});var d=c(27557);let e={md:14,sm:11,lg:14};function f({onClick:a,href:b,children:c,hint:g,size:h="md",className:i="",testId:j}){let k=(0,d.jsx)("svg",{width:e[h],height:e[h],viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:(0,d.jsx)("path",{d:"M7 2v10M2 7h10"})});if("lg"===h){let e=`flex w-full items-center justify-center gap-3 rounded-2xl border border-dashed border-rule bg-paper/40 p-[17px] transition-colors hover:bg-paper/60 ${i}`,f=(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:"flex size-8 shrink-0 items-center justify-center rounded-[10px] bg-hover text-ink-3",children:k}),(0,d.jsx)("span",{className:"text-medium-13 text-ink",children:c}),g&&(0,d.jsx)("span",{className:"text-body-12 text-ink-3",children:g})]});return b?(0,d.jsx)("a",{href:b,className:e,"data-testid":j,children:f}):(0,d.jsx)("button",{type:"button",onClick:a,className:e,"data-testid":j,children:f})}let l=`flex w-full items-center justify-center border border-dashed border-rule bg-paper/40 text-ink-3 transition-colors hover:bg-paper/60 hover:text-ink-2 ${"sm"===h?"gap-[6px] rounded-[10px] py-[8.5px] text-medium-12":"h-[42px] gap-2 rounded-[10px] text-medium-14"} ${i}`;return b?(0,d.jsxs)("a",{href:b,className:l,"data-testid":j,children:[k,c]}):(0,d.jsxs)("button",{type:"button",onClick:a,className:l,"data-testid":j,children:[k,c]})}},77285:(a,b,c)=>{"use strict";c.d(b,{A:()=>e});var d=c(47235);function e({children:a,className:b=""}){return(0,d.jsx)("div",{"data-testid":"action-row",className:`flex min-w-0 flex-wrap items-center justify-end gap-2 ${b}`,children:a})}},82407:(a,b,c)=>{"use strict";c.d(b,{A:()=>g});var d=c(47235),e=c(97742);let f={sm:{box:"h-6 w-6",text:"text-label-11",px:24},md:{box:"h-[30px] w-[30px]",text:"text-label-11",px:30},lg:{box:"h-[42px] w-[42px]",text:"text-title-15",px:42}};function g({name:a,imageUrl:b,size:c="md",shape:h="round",className:i=""}){let j=f[c],k=`inline-flex shrink-0 items-center justify-center overflow-hidden bg-hover font-mono font-semibold tracking-[0.04em] text-ink-2 ${j.box} ${j.text} ${"round"===h?"rounded-full":"rounded-[8px]"} ${i}`;return b?(0,d.jsx)("span",{className:k,children:(0,d.jsx)(e.default,{src:b,alt:a,width:j.px,height:j.px,className:"h-full w-full object-cover"})}):(0,d.jsx)("span",{className:k,children:function(a){let b=a.trim();if(!b)return"?";let c=b.split(/\s+/);return c.length>=2?((c[0][0]??"")+(c[1][0]??"")).toUpperCase():b.slice(0,2).toUpperCase()}(a)})}},84892:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(5347).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\app\\\\(dashboard)\\\\spaces\\\\ProjectProof.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\ProjectProof.tsx","default")},87342:(a,b,c)=>{"use strict";c.d(b,{A:()=>i});var d=c(27557),e=c(3188),f=c(75804);let g={default:"px-4",tight:"px-3",none:"px-0"},h={default:"py-3",tight:"py-2",none:"py-0"};function i({open:a,onClick:b,children:c,chevron:j="start",inset:k="default",insetY:l="default",className:m="",testId:n}){let o=(0,d.jsx)("span",{className:"flex w-3.5 shrink-0 items-center text-ink-4","aria-hidden":!0,children:a?(0,d.jsx)(e.a,{size:14}):(0,d.jsx)(f.K,{size:14})});return(0,d.jsxs)("button",{type:"button",onClick:b,"aria-expanded":a,"data-testid":n,className:`flex w-full items-center gap-2 ${g[k]} ${h[l]} text-left hover:bg-hover ${m}`,children:["start"===j&&o,c,"end"===j&&o]})}},89772:(a,b,c)=>{"use strict";c.d(b,{default:()=>m});var d=c(27557),e=c(44928),f=c(18595),g=c(87342),h=c(51040),i=c(31268);function j(a){let b=[],c=a.sequences.at(-1);return c&&(b.push("green"===c.verdict?"green":"red"===c.verdict?"failed":"could not run"),b.push(k(a.sequences.length,"run","runs"))),a.configured?(b.push(k(a.commands?.length??0,"command","commands")),b.push("approved"===a.approval?"approved":"waiting for your approval")):b.push("No command declared."),b.join(" \xb7 ")}function k(a,b,c){return`${a} ${1===a?b:c}`}let l={absent:"This folder is not there any more.",not_a_directory:"This path is not a folder.",permission:"This folder cannot be read (permission).",error:"This folder cannot be read."};function m({project:a,files:b,proof:c}){let[k,n]=(0,e.useState)(!1),o=k?b.entries:b.entries.slice(0,20),p=b.entries.length>20;return(0,d.jsxs)("div",{className:"mx-auto max-w-[840px] space-y-6",children:[(0,d.jsxs)("section",{className:"rounded-xl border border-rule-2 bg-paper p-4",children:[(0,d.jsxs)("div",{className:"mb-3 flex flex-wrap items-center gap-2",children:[(0,d.jsx)(h.s,{tone:"ink",children:a.kind}),a.hidden&&(0,d.jsx)(h.s,{tone:"warn",children:"hidden"}),(0,d.jsxs)("span",{className:"text-body-12 text-ink-3",children:[a.agentName??"No agent"," \xb7 registered from ",a.registeredFrom," \xb7"," ",(0,i.KW)(a.registeredAt)]})]}),(0,d.jsx)(f.default,{display:a.path,value:a.path})]}),(0,d.jsxs)("section",{className:"overflow-hidden rounded-xl border border-rule-2 bg-paper",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2 border-b border-rule-2 bg-sidebar px-4 py-2.5",children:[(0,d.jsx)("span",{className:"text-medium-13 text-ink",children:"Files"}),null===b.unreadable&&(0,d.jsxs)("span",{className:"text-mono-11 text-ink-4",children:[b.entries.length+b.more," at the top level",b.ignored>0?` \xb7 ${b.ignored} ignored`:""]})]}),null!==b.unreadable?(0,d.jsxs)("p",{className:"px-4 py-3 text-body-13 text-warn",children:[l[b.unreadable]," Nothing was read."]}):0===b.entries.length?(0,d.jsx)("p",{className:"px-4 py-3 text-body-13 text-ink-4",children:"Nothing in here yet."}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("ul",{className:"py-1",children:o.map(a=>{var b;return(0,d.jsxs)("li",{className:"flex items-center gap-3 px-4 py-1.5 text-mono-12 text-ink-2",children:[(0,d.jsx)("span",{className:"min-w-0 flex-1 truncate",children:"dir"===a.kind?`${a.name}/`:"symlink"===a.kind?`${a.name} →`:a.name}),(0,d.jsx)("span",{className:"text-ink-4",children:null===a.bytes?"":(b=a.bytes)<1024?`${b} B`:b<1048576?`${Math.round(b/1024)} KB`:`${(b/1048576).toFixed(1)} MB`})]},a.name)})}),p&&(0,d.jsx)("div",{className:"border-t border-rule-2",children:(0,d.jsx)(g.A,{open:k,onClick:()=>n(!k),insetY:"tight",children:(0,d.jsx)("span",{className:"text-body-12 text-ink-3",children:k?"Show fewer":`Show ${b.entries.length-20} more entries`})})}),b.more>0&&(0,d.jsxs)("p",{className:"border-t border-rule-2 px-4 py-2 text-mono-11 text-ink-4",children:["and ",b.more," more, not read"]})]})]}),(0,d.jsx)("section",{className:"min-w-0",children:(0,d.jsxs)("div",{className:"flex min-w-0 flex-wrap items-baseline gap-x-2 gap-y-1",children:[(0,d.jsx)("span",{className:"shrink-0 text-medium-13 text-ink",children:"Proof"}),(0,d.jsx)("span",{className:"min-w-0 flex-1 truncate text-body-12 text-ink-3",title:j(c),children:j(c)})]})})]})}}};
|
|
1
|
+
exports.id=5804,exports.ids=[5804],exports.modules={6327:(a,b,c)=>{"use strict";c.d(b,{default:()=>l});var d=c(27557),e=c(44928),f=c(40236),g=c(48601);let h=(0,g.createServerReference)("4095530d71bd6891ff68346709cbffb14e17d8d4b4",g.callServer,void 0,g.findSourceMapURL,"setCodeProjectInitGitAction");var i=c(51040),j=c(31137),k=c(31268);function l({projectId:a,git:b,isOwner:c}){let[g,m]=(0,e.useTransition)(),[n,o]=(0,e.useState)(b),[p,q]=(0,e.useState)(null),r=n.initGit,s=n.gitInitializedAt;return(0,d.jsxs)("section",{className:"overflow-hidden rounded-xl border border-rule-2 bg-paper","data-testid":"project-git-panel",children:[(0,d.jsxs)("h2",{className:"flex items-center gap-2 border-b border-rule-2 px-4 py-3 text-mono-11 tracking-wider text-ink-4 uppercase",children:["Git",!c&&(0,d.jsx)(i.s,{tone:"err",children:"owner only"})]}),(0,d.jsxs)("div",{className:"space-y-2 p-4",children:[(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)(j.A,{checked:r,onChange:function(){if(!c||g)return;let b=!r;m(async()=>{let c=await h({projectId:a,initGit:b});c.ok?(q("failed"===c.data.outcome?null:c.data.outcome),o({initGit:c.data.initGit,gitInitializedAt:c.data.gitInitializedAt?new Date(c.data.gitInitializedAt):null}),f.oR.success("initialised"===c.data.outcome?"Git initialised in this folder":"already"===c.data.outcome?"This folder was already a repository":"Nodal will not initialise git here")):f.oR.error(c.message)})},disabled:!c||g,size:"md",ariaLabel:"Initialise git in this folder"}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("p",{className:"text-body-13 text-ink",children:"Initialise git in this folder"}),(0,d.jsx)("p",{className:"text-body-12 text-ink-4",children:"Nodal then lists exactly the files each run wrote, even the ones a command wrote without naming them. Nothing is committed and nothing is pushed."})]})]}),null!==s&&(0,d.jsxs)("p",{className:"text-body-12 text-ink-3","data-testid":"project-git-posed",children:["Nodal initialised this repository ",(0,k.KW)(s),"."]}),"already"===p&&null===s&&(0,d.jsx)("p",{className:"text-body-12 text-ink-3",children:"This folder was already a repository. Nodal left it alone."}),"off"===p&&(0,d.jsx)("p",{className:"text-body-12 text-ink-3",children:"The repository stays where it is. Turning this off never deletes one."}),!c&&(0,d.jsx)("p",{className:"text-body-12 text-ink-3",children:"Only the workspace owner can initialise git in a project folder."})]})]})}},13487:(a,b,c)=>{"use strict";c.d(b,{A:()=>g});var d=c(47235),e=c(62116),f=c(32657);function g({rows:a}){return 0===a.length?(0,d.jsx)(f.A,{title:"Nothing has happened here yet",description:"Open a conversation on this project, or let an agent write in its folder."}):(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("div",{className:"divide-y divide-rule-2 overflow-hidden rounded-xl border border-rule-2 bg-paper","data-testid":"project-activity",children:a.map(({key:a,...b})=>(0,d.jsx)(e.A,{rowKey:a,lead:"title",...b},a))})})}},18595:(a,b,c)=>{"use strict";c.d(b,{default:()=>g});var d=c(27557),e=c(40236),f=c(37599);function g({display:a,value:b,href:c}){async function h(){try{await navigator.clipboard.writeText(b),e.oR.success("Path copied")}catch{e.oR.error("Could not copy")}}let i=(0,d.jsx)("span",{title:b,className:"block truncate rounded-md bg-hover px-2 py-1 text-mono-13 text-ink-2",children:a});return(0,d.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[(0,d.jsx)("span",{className:"min-w-0 flex-1",children:c?(0,d.jsx)("a",{href:c,title:b,className:"block min-w-0 hover:opacity-80",children:i}):i}),(0,d.jsxs)("button",{type:"button",onClick:h,title:"Copy full path",className:"inline-flex h-[28px] shrink-0 items-center gap-1.5 rounded-md border border-rule-2 px-2.5 text-medium-12 text-ink-3 transition-colors hover:border-rule hover:text-ink",children:[(0,d.jsx)(f.Q,{size:13})," Copy"]})]})}},21214:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(5347).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\app\\\\(dashboard)\\\\spaces\\\\ProjectGitPanel.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\ProjectGitPanel.tsx","default")},23999:(a,b,c)=>{"use strict";c.d(b,{default:()=>A});var d=c(27557),e=c(44928),f=c(81023),g=c(73920),h=c(40236),i=c(43272),j=c(80334),k=c(62413),l=c(48601);l.callServer,l.findSourceMapURL;let m=(0,l.createServerReference)("0075fabbe4cfea2e8102a0ae2353e6affba3411c33",l.callServer,void 0,l.findSourceMapURL,"listCodeProjectPrefsAction"),n=(0,l.createServerReference)("401f75fc7d0a2b14b5de6099ee0e9c75fb90532e77",l.callServer,void 0,l.findSourceMapURL,"setCodeProjectVerifyCommandsAction"),o=(0,l.createServerReference)("40da204ace6b02435e811c2426525bbc4e8f16fdb1",l.callServer,void 0,l.findSourceMapURL,"approveCodeProjectVerifyManifestAction");var p=c(25e3),q=c(24735),r=c(71456),s=c(74061),t=c(51040),u=c(775),v=c(37422),w=c(31268);function x(a){return(a??[]).map(a=>({command:a.command,timeout:String(a.timeoutSeconds)}))}function y(a){return JSON.stringify(a.map(a=>[a.command.trim(),a.timeout.trim()]))}function z({projectPath:a,verification:b,isOwner:c,onPrefsReloaded:f}){let l=b?.verifyCommands??null,A=b?.verifyStatus??"not_configured",[B,C]=(0,e.useState)(()=>x(l)),[D,E]=(0,e.useState)(!1),[F,G]=(0,e.useTransition)(),[H,I]=(0,e.useState)(null),J=y(x(l)),[K,L]=(0,e.useState)(J);K!==J&&(L(J),C(x(l))),null===l||l.length;let M=function(a){if(0===a.length||a.length>g.MQp)return null;let b=[];for(let c of a){let a=c.command.trim(),d=function(a){let b=a.trim();if(!/^[0-9]+$/.test(b))return null;let c=Number(b);return!Number.isInteger(c)||c<1||c>3600?null:c}(c.timeout);if(""===a||a.length>2e3||null===d)return null;b.push({command:a,timeoutSeconds:d})}return b}(B),N=y(B)!==J,O=c&&!F;function P(a,b){C(c=>c.map((c,d)=>d===a?{...c,...b}:c))}function Q(a,b){C(c=>{let d=a+b;if(d<0||d>=c.length)return c;let e=[...c],[f]=e.splice(a,1);return f?(e.splice(d,0,f),e):c})}async function R(){let a=await m();return a.ok?(f(a.data),!0):(h.oR.error(a.message),!1)}let S=b?.verifySource==="agent",T="approved"===A?S?(0,d.jsxs)(t.s,{tone:"ok",children:["Declared by the agent ",(0,w.KW)(b?.verifyApprovedAt)]}):(0,d.jsxs)(t.s,{tone:"ok",children:["Approved ",(0,w.KW)(b?.verifyApprovedAt)]}):"pending_approval"===A?(0,d.jsx)(t.s,{tone:"warn",children:"Needs your approval"}):(0,d.jsx)(t.s,{tone:"ink",children:"Nothing declared yet"});return(0,d.jsxs)("section",{"data-testid":"project-verification",className:"min-w-0 space-y-3 rounded-xl border border-rule-2 bg-paper px-4 py-4",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsx)("span",{className:"text-medium-14 text-ink",children:"Proof commands"}),(0,d.jsx)("span",{"data-testid":"verify-status",children:T}),!c&&(0,d.jsx)(t.s,{tone:"err",children:"owner only"})]}),(0,d.jsx)("p",{className:"text-body-13 leading-[1.4]! text-ink-3",children:S?"The agent that built this project declared these commands.":"not_configured"===A?"The agent that builds here declares how to check its own work.":"They run in this folder after a coding task, in order."}),!c&&(0,d.jsx)("p",{className:"text-body-12 text-ink-4",children:"Only the workspace owner can change proof commands."}),0===B.length&&null!==H&&H.length>0&&(0,d.jsxs)("div",{className:"space-y-2 rounded-lg border border-rule-2 p-3",children:[(0,d.jsx)("p",{className:"text-body-13 text-ink-2",children:"Found in this project. Add them, then approve."}),(0,d.jsx)("ul",{className:"space-y-1",children:H.map((a,b)=>(0,d.jsxs)("li",{className:"font-mono text-body-12 text-ink-3",children:[a.command,void 0!==a.runs&&(0,d.jsxs)("span",{className:"text-ink-4",children:[" → ",a.runs]})]},b))}),(0,d.jsx)(u.A,{type:"button",disabled:!O,"data-testid":"verify-use-suggested",onClick:()=>C(H.map(a=>({command:a.command,timeout:a.timeout}))),children:"Add these"})]}),0===B.length?(0,d.jsx)("p",{className:"text-body-13 text-ink-4",children:null!==H&&0===H.length?"No proof commands yet, and nothing to suggest: this folder has no manifest Nodal reads.":"No proof commands yet."}):(0,d.jsx)("div",{className:"space-y-2",children:B.map((a,b)=>(0,d.jsxs)("div",{className:"min-w-0 space-y-2 rounded-[10px] border border-rule-2 bg-paper px-3 py-3",children:[(0,d.jsx)(v.A,{value:a.command,disabled:!O,maxLength:2e3,spellCheck:!1,placeholder:"pnpm test","aria-label":`Proof command ${b+1}`,"data-testid":`verify-command-${b}`,onChange:a=>P(b,{command:a.target.value})}),(0,d.jsxs)("div",{className:"flex min-w-0 flex-wrap items-center gap-2 text-mono-11 tracking-[0.04em] text-ink-4",children:[(0,d.jsxs)("span",{className:"shrink-0",children:["#",b+1]}),(0,d.jsx)(v.A,{value:a.timeout,disabled:!O,inputMode:"numeric",maxLength:4,"aria-label":`Timeout in seconds for command ${b+1}`,"data-testid":`verify-timeout-${b}`,containerClassName:"w-14 shrink-0",onChange:a=>P(b,{timeout:a.target.value})}),(0,d.jsx)("span",{className:"shrink-0",children:"s"}),O&&(0,d.jsxs)("span",{className:"ml-auto flex shrink-0 items-center gap-2",children:[b>0&&(0,d.jsx)(r.n,{title:"Move up",ariaLabel:`Move command ${b+1} up`,onClick:()=>Q(b,-1),children:(0,d.jsx)(i.D,{size:12})}),b<B.length-1&&(0,d.jsx)(r.n,{title:"Move down",ariaLabel:`Move command ${b+1} down`,onClick:()=>Q(b,1),children:(0,d.jsx)(j.y,{size:12})}),B.length>1&&(0,d.jsx)(r.n,{title:"Remove",ariaLabel:`Remove command ${b+1}`,onClick:()=>{C(a=>a.filter((a,c)=>c!==b))},children:(0,d.jsx)(k.X,{size:12})})]})]})]},b))}),O&&B.length<g.MQp&&(0,d.jsx)(s.A,{size:"sm",onClick:function(){C(a=>a.length>=g.MQp?a:[...a,{command:"",timeout:String(300)}])},children:"Add a command"}),c&&(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,d.jsx)(u.A,{size:"sm",onClick:function(){!a||M&&G(async()=>{let b=await n({projectPath:a,commands:M});b.ok?await R()&&h.oR.success("Proof commands saved. They need your approval."):h.oR.error(b.message)})},disabled:!N||null===M||F,"data-testid":"verify-save",children:"Save"}),N&&null===M&&(0,d.jsxs)("span",{className:"text-body-12 text-ink-4",children:["Every command needs text and a timeout from 1 to ",3600," seconds."]})]}),"pending_approval"===A&&(0,d.jsx)(q.A,{variant:"warn",title:"Approval needed",className:"mt-1",children:"These commands run code from the repository on this machine, with your account. Approve only what you would run yourself."}),"pending_approval"===A&&c&&(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,d.jsx)(u.A,{size:"sm",variant:"neutral",onClick:()=>E(!0),disabled:N||F||!b?.verifyManifestHash,"data-testid":"verify-approve",children:"Approve"}),N&&(0,d.jsx)("span",{className:"text-body-12 text-ink-4",children:"Save your changes first."})]}),(0,d.jsx)(p.A,{open:D,title:"Approve these proof commands?",message:"These commands run code from the repository on this machine, with your account. Approve only what you would run yourself.",confirmLabel:"Approve",destructive:!1,extra:(0,d.jsx)("ol",{className:"space-y-1",children:(l??[]).map((a,b)=>(0,d.jsxs)("li",{className:"flex items-baseline gap-2 text-mono-12",children:[(0,d.jsxs)("span",{className:"text-ink-4",children:[b+1,"."]}),(0,d.jsx)("span",{className:"min-w-0 flex-1 break-all text-ink-2",children:a.command}),(0,d.jsxs)("span",{className:"text-ink-4",children:[a.timeoutSeconds,"s"]})]},b))}),onConfirm:function(){if(E(!1),!a)return;let c=b?.verifyManifestHash;c&&G(async()=>{let b=await o({projectPath:a,manifestHash:c});b.ok?await R()&&h.oR.success("Proof commands approved."):h.oR.error(b.message)})},onCancel:()=>E(!1)})]})}function A({projectPath:a,initialVerification:b,isOwner:c}){let[h,i]=(0,e.useState)(b),j=(0,f.useRouter)();return(0,d.jsx)(z,{projectPath:a,verification:h,isOwner:c,onPrefsReloaded:b=>{let c=(0,g.$NF)(a),d=b.find(a=>(0,g.$NF)(a.projectPath)===c);i(d?{verifyCommands:d.verifyCommands,verifyApprovedAt:d.verifyApprovedAt,verifyManifestHash:d.verifyManifestHash,verifyStatus:d.verifyStatus,verifySource:d.verifySource}:null),j.refresh()}})}},24735:(a,b,c)=>{"use strict";c.d(b,{A:()=>j});var d=c(27557),e=c(47728),f=c(84249),g=c(34252);let h={info:{bg:"bg-run-bg",icon:"text-conn-vivid",iconColor:"text-conn-vivid"},warn:{bg:"bg-warn-bg",icon:"text-skill-vivid",iconColor:"text-skill-vivid"},tip:{bg:"bg-paper border border-rule-2",icon:"text-ink-3",iconColor:"text-ink-3"}},i={info:e.R,warn:f.N,tip:g.g};function j({variant:a,title:b,children:c,className:e=""}){let f=h[a],g=i[a];return(0,d.jsxs)("div",{className:`flex items-start gap-2.5 rounded-[9px] px-3.5 py-2.5 text-body-13 leading-[1.5]! text-ink-2 ${f.bg} ${e}`,children:[(0,d.jsx)(g,{size:16,weight:"regular",className:`mt-0.5 shrink-0 ${f.iconColor}`}),(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[b&&(0,d.jsx)("b",{className:"block font-medium text-ink",children:b}),c]})]})}},25398:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(5347).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\app\\\\(dashboard)\\\\spaces\\\\RenameProjectButton.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\RenameProjectButton.tsx","default")},27749:(a,b,c)=>{Promise.resolve().then(c.bind(c,21214)),Promise.resolve().then(c.bind(c,45864)),Promise.resolve().then(c.bind(c,84892)),Promise.resolve().then(c.bind(c,70582)),Promise.resolve().then(c.bind(c,25398)),Promise.resolve().then(c.bind(c,86585)),Promise.resolve().then(c.bind(c,39816)),Promise.resolve().then(c.bind(c,41060)),Promise.resolve().then(c.bind(c,90356)),Promise.resolve().then(c.t.bind(c,8570,23)),Promise.resolve().then(c.t.bind(c,62217,23))},28668:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{A:()=>t});var e=c(47235),f=c(24902),g=c(80241),h=c(18742),i=c(4206),j=c(12406),k=c(77285),l=c(69864),m=c(52295),n=c(13487),o=c(70582),p=c(21214),q=c(84892),r=c(45864),s=a([j]);async function t({id:a}){let[b,c,d,h,o,q]=await Promise.all([(0,i.fn)(a),(0,i.$A)(a),(0,j.Byx)({status:"pending"}),(0,i.Vq)(a),(0,j.Zb)(),(0,j.Wdt)()]);if(!b.ok)return"not_found"===b.code&&(0,f.notFound)(),(0,e.jsx)(g.A,{title:"Project",children:(0,e.jsx)("p",{className:"text-sm text-err",children:b.message})});let s=b.data,v=c.ok?(0,l.rB)({conversations:c.data.conversations,sessions:c.data.sessions,waiting:d.ok?d.data.map(a=>({conversationId:a.conversationId,rootJobId:a.rootJobId,kind:a.kind})):[]}):[];return(0,e.jsx)(r.ProjectPanelProvider,{children:(0,e.jsx)(g.A,{fluid:!0,title:s.name,subtitle:s.path,children:(0,e.jsxs)(r.ProjectPanelBody,{actions:(0,e.jsx)(k.A,{children:(0,e.jsx)(m.A,{projectId:s.id,projectPath:s.path,projectName:s.name})}),panel:(0,e.jsx)(r.ProjectFilesPanel,{title:"Files & proof",children:(0,e.jsx)(u,{result:h,prefs:o,owner:q})}),children:[h.ok&&(0,e.jsx)("div",{className:"mb-6",children:(0,e.jsx)(p.default,{projectId:h.data.project.id,git:{initGit:h.data.project.initGit,gitInitializedAt:h.data.project.gitInitializedAt},isOwner:!!q.ok&&q.data.isOwner})}),c.ok?(0,e.jsxs)(e.Fragment,{children:[!d.ok&&(0,e.jsx)("p",{className:"mb-3 text-body-12 text-err",children:"What is waiting for you could not be read, so no row says it."}),(0,e.jsx)(n.A,{rows:v})]}):(0,e.jsx)("p",{className:"text-sm text-err",children:c.message})]})})})}function u({result:a,prefs:b,owner:c}){if(!a.ok)return(0,e.jsx)("p",{className:"text-sm text-err",children:a.message});let{project:d,files:f,proof:g}=a.data,i=(0,h.$NF)(d.path),j=b.ok?b.data.find(a=>(0,h.$NF)(a.projectPath)===i)??null:null,k=j?{verifyCommands:j.verifyCommands,verifyApprovedAt:j.verifyApprovedAt,verifyManifestHash:j.verifyManifestHash,verifyStatus:j.verifyStatus,verifySource:j.verifySource}:null;return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(o.default,{project:d,files:f,proof:g}),"documents"!==d.kind&&(0,e.jsxs)("div",{className:"mt-2",children:[!b.ok&&(0,e.jsxs)("p",{className:"mb-2 text-body-12 text-err",children:["The proof commands could not be read: ",b.message]}),(0,e.jsx)(q.default,{projectPath:d.path,initialVerification:k,isOwner:!!c.ok&&c.data.isOwner})]})]})}j=(s.then?(await s)():s)[0],d()}catch(a){d(a)}})},31137:(a,b,c)=>{"use strict";c.d(b,{A:()=>g});var d=c(27557);let e={sm:"h-5 w-9",md:"h-[22px] w-[38px]"},f={sm:"h-3.5 w-3.5",md:"h-4 w-4"};function g({checked:a,onChange:b,disabled:c,size:h="md",ariaLabel:i,ariaLabelledBy:j,ariaDescribedBy:k,readOnly:l=!1}){let m=`relative inline-flex shrink-0 items-center rounded-full ${e[h]} ${a?"bg-ok":"bg-ink-4"}`,n=(0,d.jsx)("span",{className:`pointer-events-none inline-block rounded-full bg-paper ${l?"":"transition-transform duration-200"} ${f[h]} ${a?"translate-x-[19px]":"translate-x-[3px]"}`});return l?(0,d.jsx)("span",{role:"img","aria-label":i??(a?"On":"Off"),"data-state":a?"on":"off",className:`${m} ${c?"opacity-50":""}`,children:n}):(0,d.jsx)("button",{type:"button",role:"switch","aria-checked":a,"aria-label":i,"aria-labelledby":j,"aria-describedby":k,disabled:c,onClick:b,className:`${m} cursor-pointer transition-colors duration-200 focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-conn-vivid/50 disabled:cursor-not-allowed disabled:opacity-50`,children:n})}},38746:(a,b,c)=>{"use strict";c.r(b),c.d(b,{ProjectFilesPanel:()=>o,ProjectPanelBody:()=>p,ProjectPanelButton:()=>n,ProjectPanelProvider:()=>m});var d=c(27557),e=c(44928),f=c(6061),g=c(12093),h=c(10158),i=c(775),j=c(21141);let k=(0,e.createContext)(null);function l(){let a=(0,e.useContext)(k);if(null===a)throw Error("ProjectPanel: used outside ProjectPanelProvider");return a}function m({children:a}){let[b,c]=(0,e.useState)(!0);return(0,d.jsx)(k.Provider,{value:{open:b,toggle:()=>c(a=>!a),close:()=>c(!1)},children:a})}function n(){let{open:a,toggle:b}=l();return(0,d.jsxs)(i.A,{variant:a?"ink":"neutral",onClick:b,"aria-pressed":a,"data-testid":"project-panel-toggle",children:[(0,d.jsx)(f.Bm,{size:14,"aria-hidden":!0}),"Files & proof"]})}function o({title:a,children:b}){let{open:c,close:f}=l(),i=(0,e.useId)();return((0,j.Z4)(c,f),c)?(0,d.jsxs)("aside",{role:"complementary","aria-labelledby":i,"data-testid":"project-files-panel",className:"mt-6 flex max-h-[70vh] flex-col overflow-hidden rounded-xl border border-rule bg-paper shadow-[0_12px_32px_rgba(0,0,0,0.28)] lg:sticky lg:top-6 lg:mt-0 lg:max-h-[calc(100vh-48px)] lg:w-[400px] lg:shrink-0 lg:self-start min-[2372px]:-ml-[424px]",children:[(0,d.jsxs)("div",{className:"flex shrink-0 items-center justify-between gap-2 border-b border-rule-2 py-3 pr-3 pl-5",children:[(0,d.jsx)("h2",{id:i,className:"min-w-0 truncate text-title-16 text-ink",children:a}),(0,d.jsx)(h.A,{ghost:!0,"aria-label":"Close",onClick:f,className:"h-7 w-7",children:(0,d.jsx)(g.X,{size:16})})]}),(0,d.jsx)("div",{tabIndex:0,className:"flex min-h-px flex-1 flex-col gap-3.5 overflow-y-auto p-5 focus-visible:outline-none",children:b})]}):null}function p({actions:a,panel:b,children:c}){return(0,d.jsxs)("div",{"data-testid":"project-body",className:"flex flex-col items-stretch lg:flex-row lg:items-start lg:gap-6",children:[(0,d.jsx)("div",{className:"min-w-0 flex-1",children:(0,d.jsxs)("div",{className:"mx-auto flex w-full max-w-[1080px] flex-col gap-4",children:[a,c]})}),b]})}},45864:(a,b,c)=>{"use strict";c.r(b),c.d(b,{ProjectFilesPanel:()=>g,ProjectPanelBody:()=>h,ProjectPanelButton:()=>f,ProjectPanelProvider:()=>e});var d=c(5347);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call ProjectPanelProvider() from the server but ProjectPanelProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\ProjectPanel.tsx","ProjectPanelProvider"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call ProjectPanelButton() from the server but ProjectPanelButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\ProjectPanel.tsx","ProjectPanelButton"),g=(0,d.registerClientReference)(function(){throw Error("Attempted to call ProjectFilesPanel() from the server but ProjectFilesPanel is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\ProjectPanel.tsx","ProjectFilesPanel"),h=(0,d.registerClientReference)(function(){throw Error("Attempted to call ProjectPanelBody() from the server but ProjectPanelBody is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\ProjectPanel.tsx","ProjectPanelBody")},52295:(a,b,c)=>{"use strict";c.d(b,{A:()=>i});var d=c(47235),e=c(37933);function f({projectId:a}){return(0,d.jsx)(e.A,{variant:"neutral",href:`/?project=${encodeURIComponent(a)}`,children:"New conversation"})}var g=c(25398),h=c(45864);function i({projectId:a,projectPath:b,projectName:c}){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f,{projectId:a}),(0,d.jsx)(g.default,{projectPath:b,currentName:c}),(0,d.jsx)(h.ProjectPanelButton,{})]})}},56652:(a,b,c)=>{"use strict";c.d(b,{default:()=>l});var d=c(27557),e=c(44928),f=c(81023),g=c(40236),h=c(52282),i=c(775),j=c(37422),k=c(95538);function l({projectPath:a,currentName:b}){let[c,m]=(0,e.useState)(!1),[n,o]=(0,e.useState)(b),[p,q]=(0,e.useTransition)(),r=(0,f.useRouter)();return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(i.A,{variant:"neutral",onClick:()=>m(!0),children:"Rename"}),(0,d.jsxs)(h.A,{open:c,dismissable:!1,onClose:()=>m(!1),title:"Rename this project",testId:"rename-project",footer:(0,d.jsxs)(h.j,{children:[(0,d.jsx)(i.A,{variant:"neutral",onClick:()=>m(!1),disabled:p,children:"Cancel"}),(0,d.jsx)(i.A,{onClick:function(){q(async()=>{let b=await (0,k.N)({projectPath:a,displayName:n.trim()});b.ok?(m(!1),r.refresh()):g.oR.error(b.message)})},disabled:p,children:p?"Saving…":"Save"})]}),children:[(0,d.jsx)(j.A,{label:"Name",id:"rename-project-name",value:n,onChange:a=>o(a.target.value),placeholder:b,maxLength:120}),(0,d.jsx)("p",{className:"mt-2 text-body-12 text-ink-3",children:"Your agents use this name too. Leave it empty to go back to the folder name."})]})]})}},66431:(a,b,c)=>{Promise.resolve().then(c.bind(c,6327)),Promise.resolve().then(c.bind(c,38746)),Promise.resolve().then(c.bind(c,23999)),Promise.resolve().then(c.bind(c,89772)),Promise.resolve().then(c.bind(c,56652)),Promise.resolve().then(c.bind(c,7375)),Promise.resolve().then(c.bind(c,31518)),Promise.resolve().then(c.bind(c,35542)),Promise.resolve().then(c.bind(c,28198)),Promise.resolve().then(c.t.bind(c,87480,23)),Promise.resolve().then(c.t.bind(c,22683,23))},69864:(a,b,c)=>{"use strict";c.d(b,{rB:()=>h});var d=c(31990),e=c(50596);function f(a){return a.includes("question")?"question":a.includes("approval")?"approval":null}let g={pending:"Queued",processing:"Running",awaiting_delegation:"Delegated",awaiting_approval:"Blocked",completed:"Done",failed:"Failed",cancelled:"Cancelled"};function h(a){let b=a.now??new Date,c=new Map,h=new Map;for(let b of a.waiting??[])if(b.conversationId){let a=c.get(b.conversationId);a?a.push(b.kind):c.set(b.conversationId,[b.kind])}else if(b.rootJobId){let a=h.get(b.rootJobId);a?a.push(b.kind):h.set(b.rootJobId,[b.kind])}let i=[];for(let g of a.conversations)i.push({at:g.updatedAt?.getTime()??0,row:{id:g.id,key:`conversation-${g.id}`,href:`/chat/${g.id}`,agent:{name:g.agentName,avatarUrl:g.agentAvatarUrl},chatName:""===g.title?"Untitled":(0,d.xv)(g.title,60),preview:function(a){let b=[];return a.agentName&&b.push(a.agentName),a.lastPreview&&b.push(`“${a.lastPreview}”`),a.sessions>0&&b.push(1===a.sessions?"1 session inside":`${a.sessions} sessions inside`),b.length>0?b.join(" \xb7 "):null}(g),time:(0,e.H)(g.updatedAt,b),waiting:f(c.get(g.id)??[]),running:g.running,unread:g.unread}});for(let c of a.sessions){var j;i.push({at:c.createdAt?.getTime()??0,row:{id:c.id,key:`session-${c.id}`,href:`/code/${c.id}`,agent:{name:c.agentName,avatarUrl:c.agentAvatarUrl},chatName:function(a){var b,c;let d="claude"===(b=a.provider)?"Claude Code":"codex"===b?"Codex":null===b||""===b?null:`${b.charAt(0).toUpperCase()}${b.slice(1)}`;return`${d?`${d} session`:"Session"} \xb7 ${"mcp"===(c=a.origin)?"from MCP":"api"===c?"from the API":"cron"===c?"from an automation":"internal"===c?"from another agent":"dashboard"===c?"from the dashboard":"cli"===c?"from the CLI":`from ${c}`}`}(c),preview:function(a){var b;let c=["No conversation"],d=null===(b=a.status)?null:g[b]??b;return d&&c.push(d),""!==a.task&&c.push(a.task),c.join(" \xb7 ")}(c),time:(0,e.H)(c.createdAt,b),waiting:f(h.get(c.id)??[])??("awaiting_approval"===c.status?"approval":null),running:"pending"===(j=c.status)||"processing"===j||"awaiting_delegation"===j,unread:!1}})}return i.sort((a,b)=>b.at-a.at).map(a=>a.row)}},70582:(a,b,c)=>{"use strict";c.d(b,{default:()=>e});var d=c(5347);(0,d.registerClientReference)(function(){throw Error("Attempted to call proofLine() from the server but proofLine is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\ProjectShelf.tsx","proofLine");let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\app\\\\(dashboard)\\\\spaces\\\\ProjectShelf.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\ProjectShelf.tsx","default")},71456:(a,b,c)=>{"use strict";c.d(b,{A:()=>e,n:()=>f});var d=c(27557);function e({glyph:a,name:b,description:c,meta:f,actions:g,expanded:h,className:i=""}){return(0,d.jsxs)("div",{"data-testid":"ed-row",className:`overflow-hidden rounded-[10px] border border-rule-2 bg-paper ${i}`,children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-x-3.5 gap-y-1 px-4 py-3.5",children:[a&&(0,d.jsx)("div",{className:"flex-shrink-0",children:a}),(0,d.jsxs)("div",{className:"min-w-0 flex-[1_1_10rem]",children:[(0,d.jsx)("div",{className:"text-medium-14 leading-[1.2]! break-words text-ink",children:b}),c&&(0,d.jsx)("div",{className:"mt-0.5 truncate text-body-13 leading-[1.3]! text-ink-3",title:"string"==typeof c?c:void 0,children:c})]}),f&&(0,d.jsx)("div",{className:"flex-shrink-0 text-mono-11 tracking-[0.04em] text-ink-4",children:f}),g&&(0,d.jsx)("div",{className:"ml-auto flex flex-shrink-0 items-center gap-2",children:g})]}),h&&(0,d.jsx)("div",{className:"space-y-2 border-t border-rule-2 bg-canvas/40 px-4 py-3",children:h})]})}function f({onClick:a,title:b,children:c,ariaLabel:e}){return(0,d.jsx)("button",{type:"button",onClick:a,title:b,"aria-label":e??b,className:"flex h-7 w-7 items-center justify-center rounded-md border border-rule text-ink-3 transition-colors hover:bg-hover hover:text-ink",children:c})}},74061:(a,b,c)=>{"use strict";c.d(b,{A:()=>f});var d=c(27557);let e={md:14,sm:11,lg:14};function f({onClick:a,href:b,children:c,hint:g,size:h="md",className:i="",testId:j}){let k=(0,d.jsx)("svg",{width:e[h],height:e[h],viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:(0,d.jsx)("path",{d:"M7 2v10M2 7h10"})});if("lg"===h){let e=`flex w-full items-center justify-center gap-3 rounded-2xl border border-dashed border-rule bg-paper/40 p-[17px] transition-colors hover:bg-paper/60 ${i}`,f=(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:"flex size-8 shrink-0 items-center justify-center rounded-[10px] bg-hover text-ink-3",children:k}),(0,d.jsx)("span",{className:"text-medium-13 text-ink",children:c}),g&&(0,d.jsx)("span",{className:"text-body-12 text-ink-3",children:g})]});return b?(0,d.jsx)("a",{href:b,className:e,"data-testid":j,children:f}):(0,d.jsx)("button",{type:"button",onClick:a,className:e,"data-testid":j,children:f})}let l=`flex w-full items-center justify-center border border-dashed border-rule bg-paper/40 text-ink-3 transition-colors hover:bg-paper/60 hover:text-ink-2 ${"sm"===h?"gap-[6px] rounded-[10px] py-[8.5px] text-medium-12":"h-[42px] gap-2 rounded-[10px] text-medium-14"} ${i}`;return b?(0,d.jsxs)("a",{href:b,className:l,"data-testid":j,children:[k,c]}):(0,d.jsxs)("button",{type:"button",onClick:a,className:l,"data-testid":j,children:[k,c]})}},77285:(a,b,c)=>{"use strict";c.d(b,{A:()=>e});var d=c(47235);function e({children:a,className:b=""}){return(0,d.jsx)("div",{"data-testid":"action-row",className:`flex min-w-0 flex-wrap items-center justify-end gap-2 ${b}`,children:a})}},82407:(a,b,c)=>{"use strict";c.d(b,{A:()=>g});var d=c(47235),e=c(97742);let f={sm:{box:"h-6 w-6",text:"text-label-11",px:24},md:{box:"h-[30px] w-[30px]",text:"text-label-11",px:30},lg:{box:"h-[42px] w-[42px]",text:"text-title-15",px:42}};function g({name:a,imageUrl:b,size:c="md",shape:h="round",className:i=""}){let j=f[c],k=`inline-flex shrink-0 items-center justify-center overflow-hidden bg-hover font-mono font-semibold tracking-[0.04em] text-ink-2 ${j.box} ${j.text} ${"round"===h?"rounded-full":"rounded-[8px]"} ${i}`;return b?(0,d.jsx)("span",{className:k,children:(0,d.jsx)(e.default,{src:b,alt:a,width:j.px,height:j.px,className:"h-full w-full object-cover"})}):(0,d.jsx)("span",{className:k,children:function(a){let b=a.trim();if(!b)return"?";let c=b.split(/\s+/);return c.length>=2?((c[0][0]??"")+(c[1][0]??"")).toUpperCase():b.slice(0,2).toUpperCase()}(a)})}},84892:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(5347).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\app\\\\(dashboard)\\\\spaces\\\\ProjectProof.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\spaces\\ProjectProof.tsx","default")},87342:(a,b,c)=>{"use strict";c.d(b,{A:()=>i});var d=c(27557),e=c(3188),f=c(75804);let g={default:"px-4",tight:"px-3",none:"px-0"},h={default:"py-3",tight:"py-2",none:"py-0"};function i({open:a,onClick:b,children:c,chevron:j="start",inset:k="default",insetY:l="default",className:m="",testId:n}){let o=(0,d.jsx)("span",{className:"flex w-3.5 shrink-0 items-center text-ink-4","aria-hidden":!0,children:a?(0,d.jsx)(e.a,{size:14}):(0,d.jsx)(f.K,{size:14})});return(0,d.jsxs)("button",{type:"button",onClick:b,"aria-expanded":a,"data-testid":n,className:`flex w-full items-center gap-2 ${g[k]} ${h[l]} text-left hover:bg-hover ${m}`,children:["start"===j&&o,c,"end"===j&&o]})}},89772:(a,b,c)=>{"use strict";c.d(b,{default:()=>m});var d=c(27557),e=c(44928),f=c(18595),g=c(87342),h=c(51040),i=c(31268);function j(a){let b=[],c=a.sequences.at(-1);return c&&(b.push("green"===c.verdict?"green":"red"===c.verdict?"failed":"could not run"),b.push(k(a.sequences.length,"run","runs"))),a.configured?(b.push(k(a.commands?.length??0,"command","commands")),b.push("approved"===a.approval?"approved":"waiting for your approval")):b.push("No command declared."),b.join(" \xb7 ")}function k(a,b,c){return`${a} ${1===a?b:c}`}let l={absent:"This folder is not there any more.",not_a_directory:"This path is not a folder.",permission:"This folder cannot be read (permission).",error:"This folder cannot be read."};function m({project:a,files:b,proof:c}){let[k,n]=(0,e.useState)(!1),o=k?b.entries:b.entries.slice(0,20),p=b.entries.length>20;return(0,d.jsxs)("div",{className:"mx-auto max-w-[840px] space-y-6",children:[(0,d.jsxs)("section",{className:"rounded-xl border border-rule-2 bg-paper p-4",children:[(0,d.jsxs)("div",{className:"mb-3 flex flex-wrap items-center gap-2",children:[(0,d.jsx)(h.s,{tone:"ink",children:a.kind}),a.hidden&&(0,d.jsx)(h.s,{tone:"warn",children:"hidden"}),(0,d.jsxs)("span",{className:"text-body-12 text-ink-3",children:[a.agentName??"No agent"," \xb7 registered from ",a.registeredFrom," \xb7"," ",(0,i.KW)(a.registeredAt)]})]}),(0,d.jsx)(f.default,{display:a.path,value:a.path})]}),(0,d.jsxs)("section",{className:"overflow-hidden rounded-xl border border-rule-2 bg-paper",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2 border-b border-rule-2 bg-sidebar px-4 py-2.5",children:[(0,d.jsx)("span",{className:"text-medium-13 text-ink",children:"Files"}),null===b.unreadable&&(0,d.jsxs)("span",{className:"text-mono-11 text-ink-4",children:[b.entries.length+b.more," at the top level",b.ignored>0?` \xb7 ${b.ignored} ignored`:""]})]}),null!==b.unreadable?(0,d.jsxs)("p",{className:"px-4 py-3 text-body-13 text-warn",children:[l[b.unreadable]," Nothing was read."]}):0===b.entries.length?(0,d.jsx)("p",{className:"px-4 py-3 text-body-13 text-ink-4",children:"Nothing in here yet."}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("ul",{className:"py-1",children:o.map(a=>{var b;return(0,d.jsxs)("li",{className:"flex items-center gap-3 px-4 py-1.5 text-mono-12 text-ink-2",children:[(0,d.jsx)("span",{className:"min-w-0 flex-1 truncate",children:"dir"===a.kind?`${a.name}/`:"symlink"===a.kind?`${a.name} →`:a.name}),(0,d.jsx)("span",{className:"text-ink-4",children:null===a.bytes?"":(b=a.bytes)<1024?`${b} B`:b<1048576?`${Math.round(b/1024)} KB`:`${(b/1048576).toFixed(1)} MB`})]},a.name)})}),p&&(0,d.jsx)("div",{className:"border-t border-rule-2",children:(0,d.jsx)(g.A,{open:k,onClick:()=>n(!k),insetY:"tight",children:(0,d.jsx)("span",{className:"text-body-12 text-ink-3",children:k?"Show fewer":`Show ${b.entries.length-20} more entries`})})}),b.more>0&&(0,d.jsxs)("p",{className:"border-t border-rule-2 px-4 py-2 text-mono-11 text-ink-4",children:["and ",b.more," more, not read"]})]})]}),(0,d.jsx)("section",{className:"min-w-0",children:(0,d.jsxs)("div",{className:"flex min-w-0 flex-wrap items-baseline gap-x-2 gap-y-1",children:[(0,d.jsx)("span",{className:"shrink-0 text-medium-13 text-ink",children:"Proof"}),(0,d.jsx)("span",{className:"min-w-0 flex-1 truncate text-body-12 text-ink-3",title:j(c),children:j(c)})]})})]})}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=592,exports.ids=[592],exports.modules={50592:(a,b,c)=>{c.d(b,{NodeSqliteDialect:()=>n});var d=c(8671),e=c(
|
|
1
|
+
"use strict";exports.id=592,exports.ids=[592],exports.modules={50592:(a,b,c)=>{c.d(b,{NodeSqliteDialect:()=>n});var d=c(8671),e=c(3825),f=c(11569),g=c(89891),h=class{get supportsCreateIfNotExists(){return!0}get supportsTransactionalDdl(){return!1}get supportsReturning(){return!0}async acquireMigrationLock(){}async releaseMigrationLock(){}get supportsOutput(){return!0}},i=class{#a;#b=new k;#c;#d;constructor(a){this.#a={...a}}async init(){this.#c=this.#a.database,this.#d=new j(this.#c),this.#a.onCreateConnection&&await this.#a.onCreateConnection(this.#d)}async acquireConnection(){return await this.#b.lock(),this.#d}async beginTransaction(a){await a.executeQuery(d.E.raw("begin"))}async commitTransaction(a){await a.executeQuery(d.E.raw("commit"))}async rollbackTransaction(a){await a.executeQuery(d.E.raw("rollback"))}async releaseConnection(){this.#b.unlock()}async destroy(){this.#c?.close()}},j=class{#c;constructor(a){this.#c=a}executeQuery(a){let{sql:b,parameters:c}=a;return Promise.resolve({rows:this.#c.prepare(b).all(...c)})}async *streamQuery(){throw Error("Streaming query is not supported by SQLite driver.")}},k=class{#e;#f;async lock(){for(;void 0!==this.#e;)await this.#e;this.#e=new Promise(a=>{this.#f=a})}unlock(){let a=this.#f;this.#e=void 0,this.#f=void 0,a?.()}},l=class{#c;constructor(a){this.#c=a}async getSchemas(){return[]}async getTables(a={withInternalKyselyTables:!1}){let b=this.#c.selectFrom("sqlite_schema").where("type","=","table").where("name","not like","sqlite_%").select("name").$castTo();return a.withInternalKyselyTables||(b=b.where("name","!=",e.kQ).where("name","!=",e.sy)),Promise.all((await b.execute()).map(({name:a})=>this.#g(a)))}async getMetadata(a){return{tables:await this.getTables(a)}}async #g(a){let b=this.#c,c=(await b.selectFrom("sqlite_master").where("name","=",a).select("sql").$castTo().execute())[0]?.sql?.split(/[\(\),]/)?.find(a=>a.toLowerCase().includes("autoincrement"))?.split(/\s+/)?.[0]?.replace(/["`]/g,"");return{name:a,columns:(await b.selectFrom((0,f.l)`pragma_table_info(${a})`.as("table_info")).select(["name","type","notnull","dflt_value"]).execute()).map(a=>({name:a.name,dataType:a.type,isNullable:!a.notnull,isAutoIncrementing:a.name===c,hasDefaultValue:null!=a.dflt_value})),isView:!0}}},m=class extends g.n{getCurrentParameterPlaceholder(){return"?"}getLeftIdentifierWrapper(){return'"'}getRightIdentifierWrapper(){return'"'}getAutoIncrement(){return"autoincrement"}},n=class{#a;constructor(a){this.#a={...a}}createDriver(){return new i(this.#a)}createQueryCompiler(){return new m}createAdapter(){return new h}createIntrospector(a){return new l(a)}}}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=5976,exports.ids=[5976],exports.modules={14112:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{"00060aa1e82133d2dc988205cd01ec1e2ece5cadaa":()=>f.Hyt,"0011eb6786fa11b82de7ada742cbdd5bf7cfb33463":()=>f.Ley,"0016df9dd57ec876ad0912c0f11a6f159bb76261f7":()=>e.gr,"00190f4e1b60687624752a683deaaa818673145af6":()=>f.oG2,"0029a2dc4b4b5a54e86b35f69ca014fc46d7678ce5":()=>f.bms,"002a08e674a79450b515d776480a1c0b9b6ba9c815":()=>f.vX5,"002abd30390d14ddd85da5b66cbecb9b599bcdbed8":()=>e.RN,"002fbfd6d96e95271c9e2080f5cffd869f2942ba4a":()=>f.WDC,"0035800ee5486bcb3ef2a0c8aa2d32b5a33ad51508":()=>f.cjC,"0036153dfac2c2054db672c880e8a6845255273f9a":()=>f.UK3,"0048f5725cee19a5ac8748bf911bc3c7bc4dd446f8":()=>f.$5k,"0053b2d145025020b1c70477f1aba13dcfa4787ea1":()=>f.JD9,"005887482b2765735a2ad9c5d17c9b80f46d66fb8e":()=>f.KoN,"0066153dd339fad2c659e284c39870a778d5bd88ab":()=>f.A3_,"0075fabbe4cfea2e8102a0ae2353e6affba3411c33":()=>f.Zb,"007dd65fde4fcdc24c143f0ca3e0c98b6cc6184869":()=>f.$zY,"007f992cef0aeb937b603b848462cc53a51ed26cf5":()=>f.HuK,"0082acdcd588c71ca74123aad11c2b5ac14f369869":()=>f.dSg,"0084b17608587e31d8068799565bc48bf3e4343d1b":()=>f.M3i,"008b7266c0434d4c4650fd8c2df14ba819bdf4f13c":()=>f.le4,"008f76ed9895ec6e4467547fb69dea7a83cce56416":()=>f.jjn,"0090daa6b218c75fb5ed6da4b33dbe6fd83c1dab01":()=>f.pDn,"0097cffde27fe472672252596587f59ce1d2e5faed":()=>f.dOR,"009ecbf06cdcc12b888d966a3f12b00c3d6383e97a":()=>e.qt,"00a14e27b181d7a52f30037c114306909a2a0084ac":()=>f.Wdt,"00aaad7349d2a170ab96b09c3dd5ee436630905af1":()=>f.jTi,"00b356019ee7323f2a3887659fc921adc0c9414166":()=>f.o4K,"00c2f40908f0089f67865aef5dd46297dddf85dcde":()=>f.c0,"00c76ce342f00272a7555cdef9414d6c6885a113a9":()=>f.wdR,"00ca4172b0d35f6a827ed904b1d7415d389c4dd985":()=>f.aGl,"00d316ce72f91062d91521964ccbd062d1b2acec75":()=>f.$4Z,"00d3fe9c91b7e833eedc1120cbb67073474d86a6fd":()=>f.BMW,"00d44e9239bfeedd5e779786d4ff1b86801526ea85":()=>f.ZzE,"00d83829a13c6772260e1a5a0621d9ecc9c2166b29":()=>f.rKW,"00e9c0697d3adc6eb3e33064a1b79420ccfcae040e":()=>f.oA4,"00e9f02dd817a69ade92d83e8689133c6f9eca505e":()=>f.j4T,"00f91d325d6dbbedfba6d54edb75f0a7f9162cc3fe":()=>f.zh4,"00fadc9022ff02474bbc5d8e55a7b0a77418241629":()=>e.D0,"00fb8c1bd7242cdfa208589349f1ba9096376ffd1f":()=>f.VZe,"400074094b2012e5599b34ec09c07deae4fad5eaa0":()=>f._NR,"400136c5931407ac3d80e2d3261578b9bc15e108be":()=>f.RoQ,"4001e59ee6738fd5357787c0c606c192b2a142e643":()=>f.hlo,"40047e27a2aaf02ffa46c49da19e506af30d355d6a":()=>f.Yn$,"40060593ac7f5e887194e155bf566f1f24b11a51a4":()=>f.cuo,"40077e08787e3e91af3e6c4b6675551bdfa709a668":()=>f.hUS,"4009c187e644bcf27058792b24d5391810f9e90261":()=>f.rTZ,"4009d5668a24a7bcf59343fa840c767315a343829c":()=>f.Sbz,"400db61c1f20b646e4757f9f23ff8e503a66a30dd8":()=>f.HOY,"400ea7773b889669ae36b7904ef6a0d0bd69a3263d":()=>f.XlI,"400f2198e1c897e7b6eaa5aca947de793ef7f9f63d":()=>f.tSk,"400ff61b55b1895da80f0110e62f81fda8b3265721":()=>f.wIl,"400ffc8836b6db1f4b92490198602596ada96bef71":()=>f.Wqn,"40107201cce9404af26624383b504bb09c9e359be5":()=>f.La$,"4012fa56a1193a99b64661a3101dd9b3271bdffb6e":()=>f.MoE,"401460930ff93505017e6f38a3b3d10cfa41ec5d0d":()=>f.K07,"40146b610e82496949076fec40eee3c15ead6ee23d":()=>f.k98,"401638e23c973d76c0dcc6d181a01295686e5df067":()=>f.zJJ,"401743de1a6b04b2469e1d8df53f1d7e4d94114b31":()=>f.y4H,"401f0ae4b0af60dc621e839ce340f95b2ea5c4895e":()=>f.xo1,"401f75fc7d0a2b14b5de6099ee0e9c75fb90532e77":()=>f.mDY,"402368f1a14ccd92667eff71538a8523c3788333ef":()=>f.CVG,"402681d5113874df22480915fdbf19074c4b8ed8b0":()=>f.Jqn,"4029d4cd15cefc8981339f5c3463de649515004a3e":()=>f.hPA,"402a5dbe012516453e94859a640c4c39ecfe4414f8":()=>f.ONd,"402c37999cffab715217e6cea993a1124eae7261b5":()=>f.PHJ,"402e215ffe4c1bb27712d811a41e3678275cb8d4e9":()=>f.ePu,"402f0aec866b8fcbc614f2ece0e41834a031867e24":()=>f.X1t,"4032344c8016705cae0f18ca80491d05710246af5c":()=>f.Ty5,"4032c07770c5024a979bade96751b08d18ba714071":()=>f.oak,"403364777d1ed875fd9a4715e8d05210dba72d814d":()=>g.Bs,"4033eaddfca411a2a279917fac675c2f109db5d965":()=>f.f_Q,"4034f2cd5ecc206deadf3c314bd18460942de5e0b6":()=>f.Zfd,"40366b6578d9d5a00bcd9bf0e845a156e9f25726ee":()=>f.CyH,"40430f75a0a8c5544a64066e4cc6fd505562078ff5":()=>f.lY3,"40433bd8bf213242ef255a61d0eadea1585e622da4":()=>f.KIl,"4043dba083472475e06ec2084de8ef1ea4c681a488":()=>f.gvg,"4044b95ae02f9a413b933d6191cb85a8c0a03c0e7e":()=>f.Kep,"4045ca6615e98eea5f1f8618c77bf887764ab2268c":()=>f.EpB,"4046f15377e5619aa6a184f3bc2edc4f3780960c00":()=>f.hDc,"4046fa7cb56d52363350b19b3bc51d31a7ad17b2da":()=>f.keg,"40483d9ea95223028530a77902e7e671279939c666":()=>f.TDu,"40493d3b7d6c185b57515bd37e75ef856052971e4e":()=>f.CqO,"404abee283c6257d6233408c9c65b80956ef6f8423":()=>e.rz,"404c54a76557a77043ec2f5ad405ad7834df9893ff":()=>f.Rts,"404de1d5bca2aaeed067ff4f9b25c7b3d81201c358":()=>f.LWx,"4050a7b0c4f9e0bac9b75a86b04ba9122107e68ecb":()=>f.KWz,"4053208cde5d44caee9c5f10472d40d3faf2aa17b2":()=>f.g$k,"4055618397643d1f063038d3052235f312983927d6":()=>f.MQN,"405821e658de13743362db364876ea9dfebb497d8e":()=>f.WqY,"405a4a51c176d23d8c482168a10dfd61aa3f9704df":()=>e.q5,"405a908b05a88d40f3d9a9505281fc8e9a7f079d2b":()=>f.puT,"405a9ead6635836371ea3d0d171d9842acfe548437":()=>g.Jh,"405aa7d71345b523a8cba9251e7835c5c8f5945c96":()=>f.p9Q,"405c2497cad1640448606ec817d27a1a4019756ea2":()=>f.cr5,"405d874cff6ff5267084d5a8b6cd8f1ed20e0fbee4":()=>e.ax,"4060b93ec7e0a267dd50c763e8e686e5730ca2a2b8":()=>f.ahp,"406384acb66d602709c78e738e237b04a872134d3f":()=>f.gEh,"406392ed98ccec147d140adf9a388e083d22cc69e6":()=>f.FgD,"40674cc1e2fe3c23c9110af6336e19eca401c01878":()=>f.vx,"406768499ff97a5b26bc19ea20d0dd957289bffe85":()=>f.QlC,"4067a534641cbb3cb6dee7a33b94001f7e65fd00d2":()=>f.g$E,"406ced496162b8e95f8ca0ad3909c48b21446b4eb7":()=>f.p5X,"406dbbf25e1b20132ca36e56810c697842f3a82d6f":()=>f._Nd,"406f53997e6ae49b7fbb75d12da2ee3a83d839b43d":()=>f.Q9G,"40716ec708bf1e496747ebbb6a4be908ff9ff8d0ff":()=>f.e48,"4073f3f8b596095c9626e13c48bf53e0bc283edbf6":()=>f.V8m,"4077261a2faaa4be9dc25a7b21e30f15d5d3975658":()=>f.GOV,"4077aeba342a41eedd22ff3cba33a9d2a268b4cc38":()=>f.sHu,"4077b1737387c0dbc83878df4b05473e2d1f5826fc":()=>f.LNX,"4079922da035e4c4cf6ef4f482bda171dc1e107646":()=>f.khK,"4080365831f169ef98e7ac17f212a539bdbd283897":()=>f.flP,"4081fef1f0443e864c623896e80f122e86d413eb5e":()=>f._xZ,"4082bf61cf682bdd194154be7f644d29a5e10b339f":()=>f.ShT,"4085b49d949b2c38d996d79c74e38c651ea932e21a":()=>e.uc,"4089082f7364f294d8c8324de79f598085a19d4fb2":()=>f.nH7,"40892f04b581ed01140090d3213dc565f37971dab1":()=>f.foO,"408a3151e4f9f7222f33c727da43a707489c73d7bf":()=>f.ASl,"408bb98a43a14bd0a4378d13e901f34aa0d5408b61":()=>f.Trw,"408cd12ee43646ce801f0f954c189fcb3762519249":()=>f.iuB,"409529ac37935559516c77f0cc06b98c1237c434ad":()=>f.JHm,"4095530d71bd6891ff68346709cbffb14e17d8d4b4":()=>f.VQR,"409722afb6615e58bf5ef0310a93dfb290ec83b894":()=>f.EvH,"409920b904ea96ef3324c4a371bc08060c3fa9cb65":()=>f.Byx,"409a20c9702e944be541fcac583e4018be2fd07e2e":()=>f.XmW,"409b045cacb81980cb62bce3831d8135757df1d007":()=>g.FT,"409b66607bef431e861e21badc0e9bce37ea4b5981":()=>f.rfD,"409bf38b1f152c6341490c6a97be9c163fd066b996":()=>f.PDy,"409d6b49c2727942826ba1e69fef5b157814cb8fb7":()=>f.Rzh,"409e30e45c65263e2a30d006060bb90cbccd30bbf9":()=>f.EAh,"409e857cc92893208443245f2a83ab0bf60989d31e":()=>f.l9x,"40a5b70b845efe6f89c99eeaa790ff7e1a28f4ec5f":()=>f.ML0,"40a60b3ed38ffd3276152f89b602d7443d3429bed6":()=>e.aX,"40a99995f4421716466cdf99c9b97174cfb0b383db":()=>f.xF9,"40accefc83fcc6e6c59e407b6d2d60eeefc51f6f0b":()=>f.QT1,"40ad6f7ae7bd247eef2770ce0cc80edb13e839db92":()=>f.r1Q,"40ada2e832d9dfce48783bc2039796e4fbb668452e":()=>f.HlP,"40b089d9772d960affdd0be80dd01c131285ecc734":()=>f.eiV,"40b16ee0c6722ad7de09494ac702052ddee912a751":()=>f.qWw,"40b219345b966608004de438b03b7798950d735c48":()=>f.NM6,"40b253f4c6b667404d2ef2e86278f92385b991fc49":()=>f.WHd,"40b37d4e49bdb3ca466abea0b0f352c6a40359fe24":()=>f.rv7,"40b5b150d87d6d5957993bdf8720be18baeba657e8":()=>f.oCn,"40ba0f5cc7cb94702b4d87594aa509e41c1ce43624":()=>f.ths,"40bb9efa3cdb5f86e8394b9795faeb7512a6645b2a":()=>f.SVd,"40bc90ad1e777b4be9b9cf836034f1dbed52524c05":()=>f.XUm,"40bd44813cc734b76a18cde792ea7fd726b86f8af7":()=>f.fG_,"40bdf07e469713aee5afd3400358ba980099a7e7b7":()=>f.FSp,"40c4a5e3512db90acb59c32c5a626295126d66bcfb":()=>f._HQ,"40c7c9b4db2048e53c2dd6e669d2a872094797afda":()=>f.fI9,"40c803bace1deea756d8efad692091e7b89f1a546f":()=>f.cmc,"40c81579cc75ef00ea810c797c8d386a53e57b3dd1":()=>f.S2e,"40ce32b7d10dae22d7acbdb6eaed859bef9f02104d":()=>f.bV3,"40ce5e663aedfb555f1b5d19921934475092b855da":()=>f.Zm4,"40cee58d8a52eff93e300895fcb65c33af2aeb85ae":()=>f.lVM,"40d0b3a842b4b911db7d2b7fb197b17c2f0daee50e":()=>f.nCD,"40d745dee8449b22fcf0cf12fba3b76b62cfe05e86":()=>f.iU$,"40d7a7441cc4b398ebeb30b375d381183e2b7fde17":()=>f.PML,"40da204ace6b02435e811c2426525bbc4e8f16fdb1":()=>f.GLK,"40da86e82e5b05ef4ac95458c2f65ee473dc6f5ec9":()=>f.lgR,"40e11beec36898a22ff0292015be52075cb06aec02":()=>f.Ogj,"40e25c70b38a245a8f7582c4b23749e277b96a81e6":()=>f.Jbj,"40e61dada9450f1fd1c1e9ba784537d7aa480e2ab1":()=>f.INV,"40e873cb76ac59192acc68bcd26abd50c93e061720":()=>f.xV9,"40e8ce1fdcec334b03db9c87c1e956b7eb618914fb":()=>f.Hps,"40ec63e1044c511fbf920cd4644361af8cd21e167f":()=>f.t3Y,"40ec73f0f62f515fb2a6b19ae37a1d90f5a15463ec":()=>f.QaL,"40f5f576ec2b9658812cd66144060a706e750bfe59":()=>f.HsG,"40f8b42cae450df3d55a4fcde95e9baa47b669b941":()=>f.ZGG,"40fb141188229f6b67d5572e549b6a0ea6db846a8c":()=>f.E4W,"40fe3fe574c7c9f8ae6c30be00ecb82f97b386264e":()=>f.WT_,"60117eddef8ad667ee10f5a34fc33e331b2c1aa390":()=>f.PC8,"60123f1b8e80a58fd694e5678581e3325d3b9d7578":()=>f.c29,"60154f536787234e3695fe4054e4fb83f12cbec598":()=>f.x7W,"6051962a0e651ef7bc794e1c98f36302f8b0fd7f4d":()=>f.Rue,"607736d0ee4117a192bde5484c587ce7ddf48247b0":()=>f.wPz,"607e1931e756008e214afd960ead85f7ebb130f04f":()=>g.Av,"60933950cbee33704623b66198701cc37da1a4ca60":()=>f.ddZ,"609d068a65604f827f1b16b41301c4ec9247eef24d":()=>f.ZJM,"60bf8f91a43354a6dc9cc5957f95826905c7afa708":()=>f.vum,"60c5a11dbe0ae345299f46dbc72ff4c6002433c064":()=>f.WIq,"60cfe196d296dee4db631ec63d7f6d8de43c874708":()=>f.cD,"60d5a07770cf0b3b37b13cc1ca22a035c310aa0a7f":()=>f.yUj,"60dfa54d61b9650d317134c6fe54d98f0e2e9f944e":()=>f.f20,"60f156da7f78d0d48162ebbcb1b127674c71cedc05":()=>f.wIV,"60faf6a972c23fe8f0bfb181ee6a83c909e06b6266":()=>f.SsI,"7024b456ac5a2b1578dadb5481372341839385cbd9":()=>f.z_0,"706a1c2c48709c97b52e3d6fb501b312d6c5597f9d":()=>f.Ocs,"7071e97d9bcdba79dbdba05d9f96ccb13b59c9de74":()=>f.JcR,"709510d7199aff29bff283ac783b01b622d6c58ca6":()=>f.chn,"78b059c6795d58a08117e818ee3be51bbbade508c5":()=>f.wjv,"78d2b88d6a3d103a82c6fdccc3bbf32bcd145a506d":()=>f.AHw});var e=c(11428),f=c(12406),g=c(30067),h=a([e,f]);[e,f]=h.then?(await h)():h,d()}catch(a){d(a)}})},24735:(a,b,c)=>{c.d(b,{A:()=>j});var d=c(27557),e=c(47728),f=c(84249),g=c(34252);let h={info:{bg:"bg-run-bg",icon:"text-conn-vivid",iconColor:"text-conn-vivid"},warn:{bg:"bg-warn-bg",icon:"text-skill-vivid",iconColor:"text-skill-vivid"},tip:{bg:"bg-paper border border-rule-2",icon:"text-ink-3",iconColor:"text-ink-3"}},i={info:e.R,warn:f.N,tip:g.g};function j({variant:a,title:b,children:c,className:e=""}){let f=h[a],g=i[a];return(0,d.jsxs)("div",{className:`flex items-start gap-2.5 rounded-[9px] px-3.5 py-2.5 text-body-13 leading-[1.5]! text-ink-2 ${f.bg} ${e}`,children:[(0,d.jsx)(g,{size:16,weight:"regular",className:`mt-0.5 shrink-0 ${f.iconColor}`}),(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[b&&(0,d.jsx)("b",{className:"block font-medium text-ink",children:b}),c]})]})}},30067:(a,b,c)=>{c.d(b,{Av:()=>p,Bs:()=>o,FT:()=>n,Jh:()=>q});var d=c(93976),e=c(16225),f=c(3167),g=c(48673),h=c(91030),i=c(41382),j=c(91017);function k(a){return{ok:!0,data:a}}function l(a,b){return{ok:!1,code:a,message:b}}async function m(){let a,b=(0,h.Iz)();try{let b=await (0,j.headers)();a=new Request("http://localhost/",{headers:b})}catch{a=new Request("http://localhost/")}return(0,i.oC)(a,b)}async function n(a){try{let b=await m(),c=(0,h.Lf)(),d=await c.select().from(f.z3).where((0,f.eq)(f.z3.ownerUserId,b.userId)),e=void 0!==a?d.filter(b=>b.type===a):d,g=await Promise.all(e.map(async a=>{let b=null,d=null,e=null,g=null;try{let g=await (0,f.G0)(c,a.id);g&&(b=g.payload.accountName??null,d=g.payload.expiresAt?new Date(g.payload.expiresAt):null,e=g.payload.scopes??null)}catch(a){g=a instanceof Error?a.message:"decrypt_failed"}let h=(await c.select({id:f.tK.id,slug:f.tK.slug}).from(f.tK).where((0,f.eq)(f.tK.credentialId,a.id))).map(a=>({connectorSlug:a.slug,connectorId:a.id}));return{id:a.id,name:a.name,type:a.type,accountName:b,expiresAt:d,scopes:e,inUseBy:h,createdAt:a.createdAt,updatedAt:a.updatedAt,decryptError:g}}));return k(g)}catch(a){return console.error("[listCredentialsAction]",a),l("db_error","Failed to load credentials")}}async function o(a){try{let b=await m();if(!g.Yj().guid().safeParse(a).success)return l("validation_failed","Invalid credential id");let c=(0,h.Lf)(),[d]=await c.select({id:f.z3.id,ownerUserId:f.z3.ownerUserId}).from(f.z3).where((0,f.eq)(f.z3.id,a));if(!d)return l("not_found","Credential not found");if(d.ownerUserId!==b.userId)return l("forbidden","Access denied");let i=(await c.select({id:f.tK.id}).from(f.tK).where((0,f.eq)(f.tK.credentialId,a))).length;return await c.delete(f.z3).where((0,f.eq)(f.z3.id,a)),(0,e.revalidatePath)("/credentials"),(0,e.revalidatePath)("/connectors"),k({disconnected:i})}catch(a){return console.error("[deleteCredentialAction]",a),l("db_error","Failed to delete credential")}}async function p(a,b){try{let c=await m();if(!g.Yj().guid().safeParse(a).success)return l("validation_failed","Invalid credential id");let d=b.trim();if(0===d.length||d.length>120)return l("validation_failed","Name must be 1–120 characters");let i=(0,h.Lf)(),[j]=await i.select({id:f.z3.id,ownerUserId:f.z3.ownerUserId}).from(f.z3).where((0,f.eq)(f.z3.id,a));if(!j)return l("not_found","Credential not found");if(j.ownerUserId!==c.userId)return l("forbidden","Access denied");return await i.update(f.z3).set({name:d,updatedAt:new Date}).where((0,f.eq)(f.z3.id,a)),(0,e.revalidatePath)("/credentials"),k(void 0)}catch(a){return console.error("[renameCredentialAction]",a),l("db_error","Failed to rename credential")}}async function q(a){try{let b=await m();if(!g.Yj().guid().safeParse(a).success)return l("validation_failed","Invalid credential id");let c=(0,h.Lf)(),[d]=await c.select({id:f.z3.id,ownerUserId:f.z3.ownerUserId}).from(f.z3).where((0,f.eq)(f.z3.id,a));if(!d)return l("not_found","Credential not found");if(d.ownerUserId!==b.userId)return l("forbidden","Access denied");let{expiresAt:i}=await (0,f.Ic)(c,a);return(0,e.revalidatePath)("/credentials"),k({expiresAt:i})}catch(b){let a=b instanceof Error?b.message:String(b);if(console.error("[refreshCredentialAction]",b),a.includes("does not support token refresh"))return l("oauth_no_refresh","This provider does not support token refresh");if(a.includes("missing refreshToken"))return l("missing_refresh_token","Credential is missing refresh token");return l("refresh_failed",`Token refresh failed: ${a}`)}}(0,c(38748).D)([n,o,p,q]),(0,d.A)(n,"409b045cacb81980cb62bce3831d8135757df1d007",null),(0,d.A)(o,"403364777d1ed875fd9a4715e8d05210dba72d814d",null),(0,d.A)(p,"607e1931e756008e214afd960ead85f7ebb130f04f",null),(0,d.A)(q,"405a9ead6635836371ea3d0d171d9842acfe548437",null)},31638:(a,b,c)=>{c.d(b,{A:()=>q});var d=c(27557),e=c(44928),f=c(69674),g=c(41462),h=c(52282),i=c(775),j=c(37241),k=c(37422),l=c(9987),m=c(31518),n=c(32851);let o={"google-oauth":{label:"Google",callbackPath:"/api/oauth/google-oauth/callback",namePlaceholder:"Mon Google perso",clientIdLabel:"Client ID",clientSecretLabel:"Client secret"},"notion-oauth":{label:"Notion",callbackPath:"/api/oauth/notion-oauth/callback",namePlaceholder:"Mon Notion",clientIdLabel:"OAuth client ID",clientSecretLabel:"OAuth client secret"},"airtable-oauth":{label:"Airtable",callbackPath:"/api/oauth/airtable-oauth/callback",namePlaceholder:"Mon Airtable",clientIdLabel:"Client ID",clientSecretLabel:"Client secret"},"microsoft-oauth":{label:"Microsoft 365",callbackPath:"/api/oauth/microsoft-oauth/callback",namePlaceholder:"Mon compte Microsoft",clientIdLabel:"Application (client) ID",clientSecretLabel:"Client secret value"}},p=[{type:"google-oauth",label:"Google Workspace",description:"Drive, Gmail, Sheets, Docs"},{type:"notion-oauth",label:"Notion",description:"Public OAuth integration"},{type:"airtable-oauth",label:"Airtable",description:"Public OAuth integration"},{type:"microsoft-oauth",label:"Microsoft 365",description:"Outlook Mail"}];function q({initialType:a,returnToConnectorSlug:b,scopeDisclosure:c,onClose:r}){let[s,t]=(0,e.useState)(a?"setup":"type"),[u,v]=(0,e.useState)(a??null),[w,x]=(0,e.useState)(""),y=(0,e.useRef)(null),z=u?o[u]:null,A=b?`/connectors?connectorSlug=${b}`:"/credentials",B=u?`/api/oauth/${u}/start`:"#",C="type"===s?"New credential":z?`Configure ${z.label} credential`:"Configure credential";return(0,d.jsxs)(h.A,{open:!0,onClose:r,title:C,dismissable:"type"===s,testId:"credential-wizard-dialog",footer:"type"===s?(0,d.jsx)(h.j,{children:(0,d.jsx)(i.A,{variant:"neutral",onClick:r,children:"Cancel"})}):void 0,children:[c&&(0,d.jsx)("div",{className:"mb-4",children:(0,d.jsx)(n.A,{disclosure:c})}),"type"===s&&(0,d.jsxs)("div",{className:"space-y-3",children:[(0,d.jsx)("p",{className:"text-sm text-ink-3",children:"Choose the OAuth provider to connect to Nodal-Agents."}),(0,d.jsx)("div",{className:"space-y-2",children:p.map(a=>(0,d.jsx)(j.t,{active:u===a.type,onClick:()=>{v(a.type),t("setup")},name:a.label,description:a.description,testId:`credential-type-${a.type}`},a.type))})]}),"setup"===s&&z&&u&&(0,d.jsxs)("form",{ref:y,method:"POST",action:B,encType:"application/x-www-form-urlencoded",className:"space-y-5",children:[(0,d.jsx)("input",{type:"hidden",name:"returnTo",value:A}),(0,d.jsxs)("div",{className:"space-y-2",children:[(0,d.jsx)("p",{className:"text-xs text-ink-3 font-semibold uppercase tracking-wider",children:"Setup instructions"}),(0,d.jsx)(f.A,{guide:g.o[u]})]}),(0,d.jsxs)("div",{className:"space-y-1",children:[(0,d.jsx)("p",{className:"text-xs text-ink-3",children:"Authorized redirect URI"}),(0,d.jsxs)("div",{className:"flex items-center gap-2 bg-hover border border-rule rounded-md px-3 py-2",children:[(0,d.jsx)("code",{className:"text-xs text-ink-2 font-mono flex-1 break-all",children:w||"…"}),(0,d.jsx)(m.default,{value:w,className:"shrink-0"})]})]}),(0,d.jsxs)("div",{className:"space-y-3 border-t border-rule-2 pt-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)(l.A,{children:["Display name ",(0,d.jsx)("span",{className:"text-ink-4",children:"(optional)"})]}),(0,d.jsx)(k.A,{name:"name",placeholder:z.namePlaceholder})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)(l.A,{children:z.clientIdLabel}),(0,d.jsx)(k.A,{name:"clientId",required:!0,autoComplete:"off",className:"font-mono"})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)(l.A,{children:z.clientSecretLabel}),(0,d.jsx)(k.A,{name:"clientSecret",type:"password",required:!0,autoComplete:"off",className:"font-mono"})]})]}),(0,d.jsxs)(h.j,{className:"-mx-6 -mb-6 mt-2 rounded-b-xl",children:[(0,d.jsx)(i.A,{variant:"neutral",type:"button",onClick:r,children:"Cancel"}),!a&&(0,d.jsx)(i.A,{variant:"neutral",type:"button",onClick:()=>t("type"),children:"Back"}),(0,d.jsxs)(i.A,{variant:"ink",type:"submit",children:["Continue with ",z.label]})]})]})]})}},32851:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(27557),e=c(24735);function f({disclosure:a}){return a?(0,d.jsx)(e.A,{variant:"warn",title:"What this connector can reach",children:a}):null}},34252:(a,b,c)=>{c.d(b,{g:()=>h});var d=c(44928),e=c(46895),f=c(50626);let g=d.forwardRef((a,b)=>d.createElement(e.A,{ref:b,...a,weights:f.A}));g.displayName="LightbulbIcon";let h=g},37241:(a,b,c)=>{c.d(b,{t:()=>e});var d=c(27557);function e({active:a,onClick:b,name:c,description:f,children:g,testId:h}){return(0,d.jsxs)("div",{role:"radio","aria-checked":a,"data-testid":h,tabIndex:0,onClick:b,onKeyDown:a=>{("Enter"===a.key||" "===a.key)&&(a.preventDefault(),b())},className:["flex items-start gap-3.5 px-4 py-3.5 rounded-[10px] border cursor-pointer mb-2 transition-[border-color,background-color] duration-[120ms]",a?"border-conn-vivid bg-conn-vivid/[0.06]":"border-rule-2 bg-paper hover:border-rule"].join(" "),children:[(0,d.jsx)("span",{className:["mt-0.5 flex-shrink-0 w-[18px] h-[18px] rounded-full border-[1.6px] flex items-center justify-center",a?"border-conn-vivid":"border-rule"].join(" "),children:a&&(0,d.jsx)("span",{className:"w-2 h-2 rounded-full bg-conn-vivid"})}),(0,d.jsxs)("span",{className:"flex-1 min-w-0",children:[(0,d.jsx)("span",{className:"block text-medium-14 leading-[1.3]! text-ink",children:c}),(0,d.jsx)("span",{className:"block text-body-13 leading-[1.4]! text-ink-3 mt-0.5",children:f}),g]})]})}},41060:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(5347).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\components\\\\ui\\\\SearchBox.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\components\\ui\\SearchBox.tsx","default")},41462:(a,b,c)=>{c.d(b,{m:()=>e,o:()=>d});let d={"google-oauth":{title:"Get your Google OAuth credentials",intro:"You need a Google Cloud project with the relevant APIs enabled.",steps:[{number:1,text:"Go to Google Cloud Console and create a new project (any name).",link:{href:"https://console.cloud.google.com/",label:"console.cloud.google.com"}},{number:2,text:"Enable each API your agents will use — click the links below, then hit Enable:",subLinks:[{href:"https://console.cloud.google.com/apis/library/drive.googleapis.com",label:"Drive API"},{href:"https://console.cloud.google.com/apis/library/gmail.googleapis.com",label:"Gmail API"},{href:"https://console.cloud.google.com/apis/library/sheets.googleapis.com",label:"Sheets API"},{href:"https://console.cloud.google.com/apis/library/docs.googleapis.com",label:"Docs API"},{href:"https://console.cloud.google.com/apis/library/calendar-json.googleapis.com",label:"Calendar API"}]},{number:3,text:"In the left menu, go to APIs & Services → OAuth consent screen. Choose User Type: External, fill in the app name, then add your own email as a Test user."},{number:4,text:"Go to APIs & Services → Credentials → Create credentials → OAuth client ID → Application type: Web application."},{number:5,text:"Under Authorized JavaScript origins, add the origin shown below the form."},{number:6,text:"Under Authorized redirect URIs, paste the redirect URI shown below the form. This step is mandatory — Google rejects the connection if it is missing or differs by even one character.",hint:"Most common cause of failure when trying to connect."},{number:7,text:"Click Create. A dialog shows your Client ID and Client secret. Copy both."},{number:8,text:"Paste them into the fields below."}],format:"Client ID ends with .apps.googleusercontent.com"},"notion-oauth":{title:"Get your Notion OAuth credentials",intro:"You need a Public integration — not an Internal one. The distinction matters.",steps:[{number:1,text:"Go to Notion integrations and click + New integration.",link:{href:"https://www.notion.so/my-integrations",label:"notion.so/my-integrations"}},{number:2,text:"Set Integration type to Public (not Internal — Internal tokens are single-workspace only and cannot do OAuth).",hint:'If you see no "Type" field, you are on the wrong page.'},{number:3,text:"Fill in a name and optional logo. Under Capabilities, check at minimum: Read content, Update content, Insert content."},{number:4,text:"In the OAuth Domain & URIs section, paste the redirect URI shown below the form. This step is mandatory — Notion rejects the connection if it is missing or differs by even one character.",hint:"Most common cause of failure when trying to connect."},{number:5,text:"Click Submit. On the integration page, open the Secrets tab."},{number:6,text:"Copy the OAuth client ID (a UUID) and the OAuth client secret."},{number:7,text:"Paste them into the fields below."}],format:"Client ID is a UUID. Secret starts with secret_"},"airtable-oauth":{title:"Get your Airtable OAuth credentials",warning:"Airtable only accepts localhost or an HTTPS redirect URI — raw LAN IPs (e.g. 192.168.x.x) are rejected. Open the dashboard at http://localhost:3000 just for this flow. The resulting credential works from any host afterwards.",warningWhen:"lan-ip-only",steps:[{number:1,text:"Go to the Airtable OAuth integration page and click Register new OAuth integration.",link:{href:"https://airtable.com/create/oauth",label:"airtable.com/create/oauth"}},{number:2,text:"Give it a name (e.g. Nodal-Agents)."},{number:3,text:"In the Redirect URIs section, paste the redirect URI shown below the form. This step is mandatory — Airtable rejects the connection if it is missing or differs by even one character.",hint:"Most common cause of failure when trying to connect."},{number:4,text:"In the Scopes section, check the four scopes: data.records:read, data.records:write, schema.bases:read, schema.bases:write — then save / update the integration so the scopes are persisted.",hint:'If the scopes are not saved, Airtable returns "invalid_scope" during the OAuth flow.'},{number:5,text:"Click Register integration (or Save changes if editing an existing one)."},{number:6,text:"On the integration detail page, copy the Client ID and Client secret."},{number:7,text:"Paste them into the fields below."}],format:"Client ID is a UUID. Secret is longer."},"microsoft-oauth":{title:"Get your Microsoft (Azure) OAuth credentials",intro:"You need an app registration in Microsoft Entra ID (Azure Active Directory).",steps:[{number:1,text:"Go to the Azure Portal, open Microsoft Entra ID, then App registrations → New registration.",link:{href:"https://portal.azure.com/",label:"portal.azure.com"}},{number:2,text:'Give it a name (e.g. Nodal-Agents). Under Supported account types, choose "Accounts in any organizational directory and personal Microsoft accounts" — this covers both work/school and outlook.com/hotmail accounts.',hint:"Picking a narrower option here blocks personal Microsoft accounts from connecting."},{number:3,text:"Under Redirect URI, set the platform to Web and paste the redirect URI shown below the form. This step is mandatory — Microsoft rejects the connection if it is missing or differs by even one character.",hint:"Most common cause of failure when trying to connect."},{number:4,text:"Click Register. On the app overview page, copy the Application (client) ID."},{number:5,text:"Go to Certificates & secrets → Client secrets → New client secret. Give it a description and expiry, then click Add."},{number:6,text:"Copy the secret Value immediately — Azure hides it after you leave the page (the Secret ID next to it is NOT the value you need).",hint:"If you navigate away before copying, you have to create a new secret."},{number:7,text:"Go to API permissions → Add a permission → Microsoft Graph → Delegated permissions, then add: Mail.ReadWrite, Mail.Send, MailboxSettings.Read, offline_access."},{number:8,text:"Admin consent is not required for these delegated permissions on a personal Microsoft account — the consent screen appears during the connect flow instead."},{number:9,text:"Paste the Application (client) ID and the client secret Value into the fields below."}],format:"Application (client) ID is a UUID. Secret value is a short random string, not a UUID."}},e={notion:{title:"Get your Notion Internal Integration Token",intro:"This is the Internal integration flow — single workspace, no OAuth redirect. Different from the Notion OAuth credential.",steps:[{number:1,text:"Go to Notion integrations and click + New integration.",link:{href:"https://www.notion.so/my-integrations",label:"notion.so/my-integrations"}},{number:2,text:"Set Integration type to Internal (not Public). Select your workspace."},{number:3,text:"Under Capabilities, check at minimum: Read content, Update content, Insert content."},{number:4,text:"Click Submit. On the integration page, open the Secrets tab and copy the Internal Integration Token."},{number:5,text:"Important: for each Notion page the agent should access, open the page, click the \xb7\xb7\xb7 menu → Connections → select your integration name.",hint:'Without this step the agent gets "object not found" errors.'}],format:"Token starts with secret_"},airtable:{title:"Get your Airtable Personal Access Token",steps:[{number:1,text:"Go to the Airtable token creation page and click Create new token.",link:{href:"https://airtable.com/create/tokens",label:"airtable.com/create/tokens"}},{number:2,text:"Give it a name. Under Scopes, add at minimum: data.records:read, data.records:write, schema.bases:read."},{number:3,text:"Under Access, choose the specific bases to expose or select All workspaces."},{number:4,text:"Click Create token and copy the value immediately — Airtable hides it after you close the dialog."}],format:"Token starts with pat"},apify:{title:"Get your Apify API token",steps:[{number:1,text:"Go to the Apify integrations page.",link:{href:"https://console.apify.com/account/integrations",label:"console.apify.com/account/integrations"}},{number:2,text:"Under API tokens, either copy the default Personal API token or click Create new token to generate a dedicated one."},{number:3,text:"Paste the token into the field below."}],format:"Token starts with apify_api_"},firecrawl:{title:"Get your Firecrawl API key",steps:[{number:1,text:"Go to your Firecrawl account page and navigate to API Keys.",link:{href:"https://www.firecrawl.dev/account",label:"firecrawl.dev/account"}},{number:2,text:"Copy your existing key or click to generate a new one, then paste it below."}],format:"Key starts with fc-"},tavily:{title:"Get your Tavily API key",steps:[{number:1,text:"Go to the Tavily app and open the API section.",link:{href:"https://app.tavily.com/",label:"app.tavily.com"}},{number:2,text:"Copy your API key and paste it below."}],format:"Key starts with tvly-"}}},47085:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(27557),e=c(56905);function f({items:a,noun:b}){let c=a.length;return(0,d.jsxs)("span",{title:a.join("\n"),className:"inline-flex cursor-help items-center gap-1.5 rounded-md border border-rule-2 bg-hover px-2 py-1 text-mono-11 whitespace-nowrap text-ink-2",children:[(0,d.jsx)(e.c,{size:12,weight:"bold",className:"text-ink-4"}),c," ",b,1!==c?"s":""]})}},47728:(a,b,c)=>{c.d(b,{R:()=>h});var d=c(44928),e=c(46895);let f=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),d.createElement("path",{d:"M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),g=d.forwardRef((a,b)=>d.createElement(e.A,{ref:b,...a,weights:f}));g.displayName="InfoIcon";let h=g},69674:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(27557),e=c(44928);function f({guide:a}){let[b,c]=(0,e.useState)(!1);return(0,d.jsxs)("div",{className:"space-y-3",children:[a.intro&&(0,d.jsx)("p",{className:"text-xs text-ink-3 italic",children:a.intro}),b&&a.warning&&(0,d.jsxs)("div",{role:"note",className:"flex gap-2 rounded-md border border-warn/30 bg-warn px-3 py-2 text-xs text-warn",children:[(0,d.jsx)("span",{"aria-hidden":"true",className:"font-bold",children:"!"}),(0,d.jsx)("span",{children:a.warning})]}),(0,d.jsx)("ol",{className:"space-y-2.5",children:a.steps.map(a=>(0,d.jsxs)("li",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"shrink-0 w-5 h-5 rounded-full bg-hover text-ink-3 text-legacy-11 font-bold flex items-center justify-center mt-0.5",children:a.number}),(0,d.jsxs)("div",{className:"space-y-1.5 text-sm text-ink-3",children:[(0,d.jsxs)("span",{children:[a.text,a.link&&(0,d.jsxs)(d.Fragment,{children:[" ",(0,d.jsx)("a",{href:a.link.href,target:"_blank",rel:"noopener noreferrer",className:"text-indigo-400 hover:text-indigo-300 underline",children:a.link.label})]})]}),a.subLinks&&a.subLinks.length>0&&(0,d.jsx)("ul",{className:"mt-1 space-y-1 pl-1",children:a.subLinks.map(a=>(0,d.jsxs)("li",{className:"flex items-center gap-1.5 text-xs",children:[(0,d.jsx)("span",{className:"text-ink-4",children:"•"}),(0,d.jsx)("a",{href:a.href,target:"_blank",rel:"noopener noreferrer",className:"text-indigo-400 hover:text-indigo-300 underline",children:a.label})]},a.href))}),a.hint&&(0,d.jsx)("p",{className:"text-xs text-ink-3 italic",children:a.hint})]})]},a.number))}),a.format&&(0,d.jsxs)("p",{className:"text-xs text-ink-3",children:["Format: ",(0,d.jsx)("code",{className:"font-mono text-ink-3",children:a.format})]})]})}},80241:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(47235),e=c(41060),f=c(90356),g=c(86585);function h({title:a,subtitle:b,header:c}){return void 0!==c?(0,d.jsxs)("header",{className:"flex min-h-[75px] items-center gap-4 border-b border-rule-2 px-5 pt-5 pb-4 sm:px-8 lg:px-9",children:[(0,d.jsx)("div",{className:"min-w-0 flex-1",children:c}),(0,d.jsxs)("div",{className:"hidden shrink-0 items-center gap-2 lg:flex",children:[(0,d.jsx)(e.default,{className:"hidden md:flex"}),(0,d.jsx)(g.default,{}),(0,d.jsx)(f.default,{})]})]}):(0,d.jsxs)("header",{className:"flex items-center justify-between gap-4 border-b border-rule-2 px-5 pt-5 pb-4 sm:px-8 lg:px-9",children:[(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsx)("h1",{className:"text-display-28 leading-[1.15]! tracking-[-0.015em] text-ink",children:a}),b&&(0,d.jsx)("p",{className:"mt-1.5 text-body-14 leading-[1.5]! text-ink-3",children:b})]}),(0,d.jsxs)("div",{className:"hidden shrink-0 items-center gap-2 lg:flex",children:[(0,d.jsx)(e.default,{className:"hidden md:flex"}),(0,d.jsx)(g.default,{}),(0,d.jsx)(f.default,{})]})]})}function i(a){let{toolbar:b,toolbarBleed:c=!1,aside:e,footer:f,children:g,fluid:i=!1,fill:j=!1,bodyClassName:k=""}=a,l=void 0!==a.header?(0,d.jsx)(h,{header:a.header}):(0,d.jsx)(h,{title:a.title,subtitle:a.subtitle});return j?(0,d.jsxs)("div",{className:"flex h-full min-h-0 flex-1 flex-col",children:[l,b&&c&&b,(0,d.jsxs)("div",{className:"flex min-h-0 flex-1",children:[(0,d.jsxs)("div",{className:`flex min-w-0 min-h-0 flex-1 flex-col ${k}`,children:[b&&!c&&(0,d.jsx)("div",{className:`w-full px-5 pt-4 sm:px-8 lg:px-9 ${i?"":"mx-auto max-w-6xl"}`,children:b}),i?g:(0,d.jsx)("div",{className:"mx-auto flex min-h-0 w-full max-w-6xl flex-1 flex-col",children:g})]}),e]}),f]}):(0,d.jsxs)(d.Fragment,{children:[l,b&&c&&b,(0,d.jsxs)("div",{className:`w-full px-5 pt-6 pb-10 sm:px-8 lg:px-9 ${i?"":"mx-auto max-w-6xl"} ${k}`,children:[b&&!c&&(0,d.jsx)("div",{className:"mb-5",children:b}),g]})]})}},81398:(a,b,c)=>{c.d(b,{A:()=>j});var d=c(27557),e=c(9073),f=c(84249),g=c(98302);let h={done:"Done",warn:"Attention",run:"Running",idle:"Idle","lvl-info":"INFO","lvl-ok":"OK","lvl-warn":"WARN","lvl-err":"ERR"},i={done:"bg-ok-bg text-ok",warn:"bg-warn-bg text-warn",run:"bg-run-bg text-run",idle:"bg-black/5 text-ink-3 dark:bg-white/5","lvl-info":"bg-black/5 text-ink-3 dark:bg-white/5","lvl-ok":"bg-ok-bg text-ok","lvl-warn":"bg-warn-bg text-warn","lvl-err":"bg-warn-bg text-err"};function j({variant:a,label:b,icon:c,className:k=""}){let l=b??h[a],m=null;return void 0!==c?m=c:"done"===a?m=(0,d.jsx)(e.r,{size:11,weight:"regular"}):"warn"===a?m=(0,d.jsx)(f.N,{size:11,weight:"regular"}):"run"===a&&(m=(0,d.jsx)(g.A,{variant:"blue",size:"sm"})),(0,d.jsxs)("span",{className:`inline-flex h-[22px] items-center gap-1.5 rounded-[5px] px-2.5 text-medium-12 leading-none! ${i[a]} ${k}`,children:[m,l]})}},86585:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(5347).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\components\\\\NotificationsBell.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\components\\NotificationsBell.tsx","default")},90356:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(5347).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\components\\\\ui\\\\ThemeToggle.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\components\\ui\\ThemeToggle.tsx","default")}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=6915,exports.ids=[6915],exports.modules={3188:(a,b,c)=>{c.d(b,{a:()=>h});var d=c(44928),e=c(46895),f=c(95778);let g=d.forwardRef((a,b)=>d.createElement(e.A,{ref:b,...a,weights:f.A}));g.displayName="CaretDownIcon";let h=g},9073:(a,b,c)=>{c.d(b,{r:()=>h});var d=c(44928),e=c(46895),f=c(72691);let g=d.forwardRef((a,b)=>d.createElement(e.A,{ref:b,...a,weights:f.A}));g.displayName="CheckCircleIcon";let h=g},10295:(a,b,c)=>{c.d(b,{A:()=>e});var d=c(44928);let e=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z",opacity:"0.2"}),d.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]])},22910:(a,b,c)=>{c.d(b,{o:()=>h});var d=c(44928),e=c(14778);let f=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M157.27,21.22a12,12,0,0,0-12.64,1.31L75.88,76H32A20,20,0,0,0,12,96v64a20,20,0,0,0,20,20H75.88l68.75,53.47A12,12,0,0,0,164,224V32A12,12,0,0,0,157.27,21.22ZM36,100H68v56H36Zm104,99.46L92,162.13V93.87l48-37.33ZM212,128a44,44,0,0,1-11,29.11,12,12,0,1,1-18-15.88,20,20,0,0,0,0-26.43,12,12,0,0,1,18-15.86A43.94,43.94,0,0,1,212,128Zm40,0a83.87,83.87,0,0,1-21.39,56,12,12,0,0,1-17.89-16,60,60,0,0,0,0-80,12,12,0,1,1,17.88-16A83.87,83.87,0,0,1,252,128Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M80,88v80H32a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8Z",opacity:"0.2"}),d.createElement("path",{d:"M155.51,24.81a8,8,0,0,0-8.42.88L77.25,80H32A16,16,0,0,0,16,96v64a16,16,0,0,0,16,16H77.25l69.84,54.31A8,8,0,0,0,160,224V32A8,8,0,0,0,155.51,24.81ZM32,96H72v64H32ZM144,207.64,88,164.09V91.91l56-43.55Zm54-106.08a40,40,0,0,1,0,52.88,8,8,0,0,1-12-10.58,24,24,0,0,0,0-31.72,8,8,0,0,1,12-10.58ZM248,128a79.9,79.9,0,0,1-20.37,53.34,8,8,0,0,1-11.92-10.67,64,64,0,0,0,0-85.33,8,8,0,1,1,11.92-10.67A79.83,79.83,0,0,1,248,128Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M160,32.25V223.69a8.29,8.29,0,0,1-3.91,7.18,8,8,0,0,1-9-.56l-65.57-51A4,4,0,0,1,80,176.16V79.84a4,4,0,0,1,1.55-3.15l65.57-51a8,8,0,0,1,10,.16A8.27,8.27,0,0,1,160,32.25ZM60,80H32A16,16,0,0,0,16,96v64a16,16,0,0,0,16,16H60a4,4,0,0,0,4-4V84A4,4,0,0,0,60,80Zm126.77,20.84a8,8,0,0,0-.72,11.3,24,24,0,0,1,0,31.72,8,8,0,1,0,12,10.58,40,40,0,0,0,0-52.88A8,8,0,0,0,186.74,100.84Zm40.89-26.17a8,8,0,1,0-11.92,10.66,64,64,0,0,1,0,85.34,8,8,0,1,0,11.92,10.66,80,80,0,0,0,0-106.66Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M154.64,26.61a6,6,0,0,0-6.32.65L77.94,82H32A14,14,0,0,0,18,96v64a14,14,0,0,0,14,14H77.94l70.38,54.74A6,6,0,0,0,158,224V32A6,6,0,0,0,154.64,26.61ZM30,160V96a2,2,0,0,1,2-2H74v68H32A2,2,0,0,1,30,160Zm116,51.73L86,165.07V90.93l60-46.66Zm50.53-108.85a38,38,0,0,1,0,50.24,6,6,0,1,1-9-7.94,26,26,0,0,0,0-34.37,6,6,0,0,1,9-7.93ZM246,128a77.86,77.86,0,0,1-19.86,52,6,6,0,1,1-8.94-8,66,66,0,0,0,0-88,6,6,0,1,1,8.94-8A77.86,77.86,0,0,1,246,128Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M155.51,24.81a8,8,0,0,0-8.42.88L77.25,80H32A16,16,0,0,0,16,96v64a16,16,0,0,0,16,16H77.25l69.84,54.31A8,8,0,0,0,160,224V32A8,8,0,0,0,155.51,24.81ZM32,96H72v64H32ZM144,207.64,88,164.09V91.91l56-43.55Zm54-106.08a40,40,0,0,1,0,52.88,8,8,0,0,1-12-10.58,24,24,0,0,0,0-31.72,8,8,0,0,1,12-10.58ZM248,128a79.9,79.9,0,0,1-20.37,53.34,8,8,0,0,1-11.92-10.67,64,64,0,0,0,0-85.33,8,8,0,1,1,11.92-10.67A79.83,79.83,0,0,1,248,128Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M153.76,28.41a4,4,0,0,0-4.22.43L78.63,84H32A12,12,0,0,0,20,96v64a12,12,0,0,0,12,12H78.63l70.91,55.16A4.07,4.07,0,0,0,152,228a3.92,3.92,0,0,0,1.76-.41A4,4,0,0,0,156,224V32A4,4,0,0,0,153.76,28.41ZM28,160V96a4,4,0,0,1,4-4H76v72H32A4,4,0,0,1,28,160Zm120,55.82L84,166V90l64-49.78Zm47-111.61a36,36,0,0,1,0,47.59,4,4,0,1,1-6-5.3,28,28,0,0,0,0-37,4,4,0,0,1,6-5.28ZM244,128a75.88,75.88,0,0,1-19.35,50.67,4,4,0,0,1-6-5.34,68,68,0,0,0,0-90.66,4,4,0,0,1,6-5.34A75.88,75.88,0,0,1,244,128Z"}))]]),g=d.forwardRef((a,b)=>d.createElement(e.A,{ref:b,...a,weights:f}));g.displayName="SpeakerHighIcon";let h=g},35068:(a,b,c)=>{c.d(b,{z:()=>h});var d=c(44928),e=c(14778);let f=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M228,144v64a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V144a12,12,0,0,1,24,0v52H204V144a12,12,0,0,1,24,0Zm-108.49,8.49a12,12,0,0,0,17,0l40-40a12,12,0,0,0-17-17L140,115V32a12,12,0,0,0-24,0v83L96.49,95.51a12,12,0,0,0-17,17Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M216,48V208H40V48A16,16,0,0,1,56,32H200A16,16,0,0,1,216,48Z",opacity:"0.2"}),d.createElement("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40A8,8,0,0,0,168,96H136V32a8,8,0,0,0-16,0V96H88a8,8,0,0,0-5.66,13.66Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M222,144v64a6,6,0,0,1-6,6H40a6,6,0,0,1-6-6V144a6,6,0,0,1,12,0v58H210V144a6,6,0,0,1,12,0Zm-98.24,4.24a6,6,0,0,0,8.48,0l40-40a6,6,0,0,0-8.48-8.48L134,129.51V32a6,6,0,0,0-12,0v97.51L92.24,99.76a6,6,0,0,0-8.48,8.48Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M220,144v64a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V144a4,4,0,0,1,8,0v60H212V144a4,4,0,0,1,8,0Zm-94.83,2.83a4,4,0,0,0,5.66,0l40-40a4,4,0,1,0-5.66-5.66L132,134.34V32a4,4,0,0,0-8,0V134.34L90.83,101.17a4,4,0,0,0-5.66,5.66Z"}))]]),g=d.forwardRef((a,b)=>d.createElement(e.A,{ref:b,...a,weights:f}));g.displayName="DownloadSimpleIcon";let h=g},46895:(a,b,c)=>{c.d(b,{A:()=>e});var d=c(44928);let e=d.forwardRef((a,b)=>{let{alt:c,color:e="currentColor",size:f="1em",weight:g="regular",mirrored:h=!1,children:i,weights:j,...k}=a;return d.createElement("svg",{ref:b,xmlns:"http://www.w3.org/2000/svg",width:f,height:f,fill:e,viewBox:"0 0 256 256",transform:h?"scale(-1, 1)":void 0,...k},!!c&&d.createElement("title",null,c),i,j.get(g))});e.displayName="SSRBase"},50791:(a,b,c)=>{c.d(b,{v:()=>h});var d=c(44928),e=c(14778);let f=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M216,36H40A20,20,0,0,0,20,56V200a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A20,20,0,0,0,216,36ZM44,100h72v56H44Zm96-24V60h24V76Zm-24,0H92V60h24Zm0,104v16H92V180Zm24,0h24v16H140Zm0-24V100h72v56Zm72-80H188V60h24ZM68,60V76H44V60ZM44,180H68v16H44Zm144,16V180h24v16Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M32,176H224v24a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8ZM216,48H40a8,8,0,0,0-8,8V80H224V56A8,8,0,0,0,216,48Z",opacity:"0.2"}),d.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM40,88h80v80H40Zm96-16V56h32V72Zm-16,0H88V56h32Zm0,112v16H88V184Zm16,0h32v16H136Zm0-16V88h80v80Zm80-96H184V56h32ZM72,56V72H40V56ZM40,184H72v16H40Zm176,16H184V184h32v16Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM184,56h32V72H184ZM72,200H40V184H72ZM72,72H40V56H72Zm48,128H88V184h32Zm0-128H88V56h32Zm48,128H136V184h32Zm0-128H136V56h32Zm48,128H184V184h32v16Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M216,42H40A14,14,0,0,0,26,56V200a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42ZM38,86h84v84H38Zm96-12V54h36V74Zm-12,0H86V54h36Zm0,108v20H86V182Zm12,0h36v20H134Zm0-12V86h84v84ZM218,56V74H182V54h34A2,2,0,0,1,218,56ZM40,54H74V74H38V56A2,2,0,0,1,40,54ZM38,200V182H74v20H40A2,2,0,0,1,38,200Zm178,2H182V182h36v18A2,2,0,0,1,216,202Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM40,88h80v80H40Zm96-16V56h32V72Zm-16,0H88V56h32Zm0,112v16H88V184Zm16,0h32v16H136Zm0-16V88h80v80Zm80-96H184V56h32ZM72,56V72H40V56ZM40,184H72v16H40Zm176,16H184V184h32v16Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M216,44H40A12,12,0,0,0,28,56V200a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44ZM36,84h88v88H36Zm96-8V52h40V76Zm-8,0H84V52h40Zm0,104v24H84V180Zm8,0h40v24H132Zm0-8V84h88v88ZM220,56V76H180V52h36A4,4,0,0,1,220,56ZM40,52H76V76H36V56A4,4,0,0,1,40,52ZM36,200V180H76v24H40A4,4,0,0,1,36,200Zm180,4H180V180h40v20A4,4,0,0,1,216,204Z"}))]]),g=d.forwardRef((a,b)=>d.createElement(e.A,{ref:b,...a,weights:f}));g.displayName="FilmStripIcon";let h=g},72691:(a,b,c)=>{c.d(b,{A:()=>e});var d=c(44928);let e=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),d.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]])},75804:(a,b,c)=>{c.d(b,{K:()=>h});var d=c(44928),e=c(46895),f=c(97802);let g=d.forwardRef((a,b)=>d.createElement(e.A,{ref:b,...a,weights:f.A}));g.displayName="CaretRightIcon";let h=g},84249:(a,b,c)=>{c.d(b,{N:()=>h});var d=c(44928),e=c(46895),f=c(10295);let g=d.forwardRef((a,b)=>d.createElement(e.A,{ref:b,...a,weights:f.A}));g.displayName="WarningIcon";let h=g},84359:(a,b,c)=>{c.d(b,{_:()=>h});var d=c(44928),e=c(14778);let f=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M144,96a16,16,0,1,1,16,16A16,16,0,0,1,144,96Zm92-40V200a20,20,0,0,1-20,20H40a20,20,0,0,1-20-20V56A20,20,0,0,1,40,36H216A20,20,0,0,1,236,56ZM44,60v79.72l33.86-33.86a20,20,0,0,1,28.28,0L147.31,147l17.18-17.17a20,20,0,0,1,28.28,0L212,149.09V60Zm0,136H162.34L92,125.66l-48,48Zm168,0V183l-33.37-33.37L164.28,164l32,32Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M224,56V178.06l-39.72-39.72a8,8,0,0,0-11.31,0L147.31,164,97.66,114.34a8,8,0,0,0-11.32,0L32,168.69V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z",opacity:"0.2"}),d.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V158.75l-26.07-26.06a16,16,0,0,0-22.63,0l-20,20-44-44a16,16,0,0,0-22.62,0L40,149.37V56ZM40,172l52-52,80,80H40Zm176,28H194.63l-36-36,20-20L216,181.38V200ZM144,100a12,12,0,1,1,12,12A12,12,0,0,1,144,100Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM156,88a12,12,0,1,1-12,12A12,12,0,0,1,156,88Zm60,112H40V160.69l46.34-46.35a8,8,0,0,1,11.32,0h0L165,181.66a8,8,0,0,0,11.32-11.32l-17.66-17.65L173,138.34a8,8,0,0,1,11.31,0L216,170.07V200Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M216,42H40A14,14,0,0,0,26,56V200a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42ZM40,54H216a2,2,0,0,1,2,2V163.57L188.53,134.1a14,14,0,0,0-19.8,0l-21.42,21.42L101.9,110.1a14,14,0,0,0-19.8,0L38,154.2V56A2,2,0,0,1,40,54ZM38,200V171.17l52.58-52.58a2,2,0,0,1,2.84,0L176.83,202H40A2,2,0,0,1,38,200Zm178,2H193.8l-38-38,21.41-21.42a2,2,0,0,1,2.83,0l38,38V200A2,2,0,0,1,216,202ZM146,100a10,10,0,1,1,10,10A10,10,0,0,1,146,100Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V158.75l-26.07-26.06a16,16,0,0,0-22.63,0l-20,20-44-44a16,16,0,0,0-22.62,0L40,149.37V56ZM40,172l52-52,80,80H40Zm176,28H194.63l-36-36,20-20L216,181.38V200ZM144,100a12,12,0,1,1,12,12A12,12,0,0,1,144,100Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M216,44H40A12,12,0,0,0,28,56V200a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44ZM40,52H216a4,4,0,0,1,4,4V168.4l-32.89-32.89a12,12,0,0,0-17,0l-22.83,22.83-46.82-46.83a12,12,0,0,0-17,0L36,159V56A4,4,0,0,1,40,52ZM36,200V170.34l53.17-53.17a4,4,0,0,1,5.66,0L181.66,204H40A4,4,0,0,1,36,200Zm180,4H193l-40-40,22.83-22.83a4,4,0,0,1,5.66,0L220,179.71V200A4,4,0,0,1,216,204ZM148,100a8,8,0,1,1,8,8A8,8,0,0,1,148,100Z"}))]]),g=d.forwardRef((a,b)=>d.createElement(e.A,{ref:b,...a,weights:f}));g.displayName="ImageIcon";let h=g},86965:(a,b,c)=>{c.d(b,{B:()=>h});var d=c(44928),e=c(46895),f=c(60831);let g=d.forwardRef((a,b)=>d.createElement(e.A,{ref:b,...a,weights:f.A}));g.displayName="ListIcon";let h=g}};
|