@chorus-aidlc/chorus 0.12.0 → 0.12.1
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/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/app-build-manifest.json +364 -363
- package/.next/standalone/.next/app-path-routes-manifest.json +43 -43
- package/.next/standalone/.next/build-manifest.json +5 -5
- package/.next/standalone/.next/prerender-manifest.json +43 -43
- package/.next/standalone/.next/react-loadable-manifest.json +3 -3
- package/.next/standalone/.next/server/app/(dashboard)/project-groups/[uuid]/page.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/project-groups/[uuid]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/project-groups/[uuid]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/activity/page.js +2 -2
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/activity/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/activity/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/dashboard/[ideaUuid]/page.js +2 -2
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/dashboard/[ideaUuid]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/dashboard/[ideaUuid]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/dashboard/page.js +2 -2
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/dashboard/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/dashboard/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/documents/[documentUuid]/page.js +2 -2
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/documents/[documentUuid]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/documents/[documentUuid]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/documents/page.js +2 -2
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/documents/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/documents/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/[proposalUuid]/page.js +2 -2
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/[proposalUuid]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/[proposalUuid]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/new/page.js +2 -2
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/new/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/new/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/page.js +2 -2
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/tasks/[taskUuid]/page.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/tasks/[taskUuid]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/tasks/[taskUuid]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/tasks/page.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/tasks/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/tasks/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/page.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/settings/page.js +2 -2
- package/.next/standalone/.next/server/app/(dashboard)/settings/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/settings/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_not-found.html +1 -1
- package/.next/standalone/.next/server/app/_not-found.rsc +1 -1
- package/.next/standalone/.next/server/app/admin/companies/[uuid]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/admin/companies/new/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/admin/companies/new.html +1 -1
- package/.next/standalone/.next/server/app/admin/companies/new.rsc +1 -1
- package/.next/standalone/.next/server/app/admin/companies/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/admin/companies.html +1 -1
- package/.next/standalone/.next/server/app/admin/companies.rsc +1 -1
- package/.next/standalone/.next/server/app/admin/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/admin.html +1 -1
- package/.next/standalone/.next/server/app/admin.rsc +1 -1
- package/.next/standalone/.next/server/app/api/admin/companies/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/admin/companies/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/admin/login/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/admin/session/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agent-connections/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agents/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agents/[uuid]/sessions/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agents/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/api-keys/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/api-keys/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/callback/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/check-default/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/company-oidc/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/default-login/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/identify/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/me/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/refresh/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/session/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/sync-token/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/comments/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon/control/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon/execution-state/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon/executions/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon/pending-turns/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon/report-interrupt/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon/resume/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon/transcript/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon/turn-advance/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon-sessions/[sessionUuid]/instruction/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon-sessions/[sessionUuid]/repoint/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon-sessions/[sessionUuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon-sessions/ad-hoc/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon-sessions/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/documents/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/entities/[type]/[uuid]/root-idea/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/events/notifications/route.js +6 -4
- package/.next/standalone/.next/server/app/api/events/notifications/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/events/route.js +7 -5
- package/.next/standalone/.next/server/app/api/events/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/health/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/claim/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/move/preview/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/move/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/parent/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/release/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/keepalive/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/mcp/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/me/assignments/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/mentionables/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/[uuid]/archive/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/[uuid]/read/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/preferences/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/read-all/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/unread-count/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/project-groups/[uuid]/dashboard/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/project-groups/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/project-groups/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/activity/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/available/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/documents/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/group/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/ideas/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/ideas/tracker/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/proposals/[proposalUuid]/validate/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/proposals/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/proposals/summary/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/stats/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/tasks/dependencies/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/tasks/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/proposals/[uuid]/approve/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/proposals/[uuid]/close/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/proposals/[uuid]/reject/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/proposals/[uuid]/revoke/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/proposals/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/search/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/sessions/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/claim/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/dependencies/[dependsOnUuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/dependencies/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/release/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/sessions/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/index.html +1 -1
- package/.next/standalone/.next/server/app/index.rsc +2 -2
- package/.next/standalone/.next/server/app/login/admin/page.js +2 -2
- package/.next/standalone/.next/server/app/login/admin/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/login/admin/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/login/admin.html +1 -1
- package/.next/standalone/.next/server/app/login/admin.rsc +1 -1
- package/.next/standalone/.next/server/app/login/callback/page.js +2 -2
- package/.next/standalone/.next/server/app/login/callback/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/login/callback/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/login/callback.html +1 -1
- package/.next/standalone/.next/server/app/login/callback.rsc +1 -1
- package/.next/standalone/.next/server/app/login/page.js +2 -2
- package/.next/standalone/.next/server/app/login/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/login/pick-workspace/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/login/pick-workspace.html +1 -1
- package/.next/standalone/.next/server/app/login/pick-workspace.rsc +1 -1
- package/.next/standalone/.next/server/app/login/silent-refresh/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/login/silent-refresh.html +1 -1
- package/.next/standalone/.next/server/app/login/silent-refresh.rsc +1 -1
- package/.next/standalone/.next/server/app/login.html +1 -1
- package/.next/standalone/.next/server/app/login.rsc +2 -2
- package/.next/standalone/.next/server/app/onboarding/page.js +2 -2
- package/.next/standalone/.next/server/app/onboarding/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/onboarding/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/onboarding.html +1 -1
- package/.next/standalone/.next/server/app/onboarding.rsc +2 -2
- package/.next/standalone/.next/server/app/page.js +2 -2
- package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/projects.html +1 -1
- package/.next/standalone/.next/server/app/projects.rsc +2 -2
- package/.next/standalone/.next/server/app/settings.html +1 -1
- package/.next/standalone/.next/server/app/settings.rsc +3 -3
- package/.next/standalone/.next/server/app-paths-manifest.json +43 -43
- package/.next/standalone/.next/server/chunks/1596.js +2 -2
- package/.next/standalone/.next/server/chunks/2779.js +31 -0
- package/.next/standalone/.next/server/chunks/2961.js +1 -1
- package/.next/standalone/.next/server/chunks/3219.js +1 -1
- package/.next/standalone/.next/server/chunks/4292.js +1 -0
- package/.next/standalone/.next/server/chunks/4872.js +1 -1
- package/.next/standalone/.next/server/chunks/5538.js +1 -0
- package/.next/standalone/.next/server/chunks/6113.js +1 -1
- package/.next/standalone/.next/server/chunks/6207.js +1 -1
- package/.next/standalone/.next/server/chunks/7063.js +2 -2
- package/.next/standalone/.next/server/chunks/7160.js +1 -1
- package/.next/standalone/.next/server/chunks/7368.js +1 -1
- package/.next/standalone/.next/server/chunks/7515.js +1 -1
- package/.next/standalone/.next/server/chunks/8732.js +1 -0
- package/.next/standalone/.next/server/chunks/920.js +1 -1
- package/.next/standalone/.next/server/chunks/9273.js +1 -0
- package/.next/standalone/.next/server/chunks/937.js +1 -1
- package/.next/standalone/.next/server/middleware-build-manifest.js +1 -1
- package/.next/standalone/.next/server/middleware-manifest.json +5 -5
- package/.next/standalone/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/standalone/.next/server/pages/404.html +1 -1
- package/.next/standalone/.next/server/pages/500.html +1 -1
- package/.next/standalone/.next/server/pages-manifest.json +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/static/chunks/10344-2e9a9d767e2e8ed1.js +1 -0
- package/.next/standalone/.next/static/chunks/{33187.13c12f5c0821ac57.js → 33187.1328c15b9dab78a8.js} +1 -1
- package/.next/standalone/.next/static/chunks/{40867-04cc0d00205eaf9b.js → 46983-8bf90f1ffeb55957.js} +1 -1
- package/.next/standalone/.next/static/chunks/{32497-886aa4d3d7bf4967.js → 46999-f53da8f53fe1b8a9.js} +1 -1
- package/.next/standalone/.next/static/chunks/{4860.f4242c493fcf182d.js → 4860.e3d0dd79a4d37626.js} +1 -1
- package/.next/standalone/.next/static/chunks/{78917-2b959ab0a7f610b4.js → 78917-aa5bbff9248799a4.js} +1 -1
- package/.next/standalone/.next/static/chunks/85573-fb4d2cbd67612d47.js +1 -0
- package/.next/standalone/.next/static/chunks/{97784-7b90a17294840e32.js → 97784-42081b75f8cc6da8.js} +1 -1
- package/.next/standalone/.next/static/chunks/97868-55f18a05fe483d85.js +1 -0
- package/.next/standalone/.next/static/chunks/{99373.880b43de1fa6411f.js → 99373.cc6319fa4cf36081.js} +1 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/layout-b3a497ba5eb08036.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/dashboard/page-d786f0c18a9c4f06.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/documents/[documentUuid]/page-c68f1eda3779b448.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/documents/{page-6620b9d7a2cc766f.js → page-e0935445535c28cb.js} +1 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/proposals/[proposalUuid]/page-f824632ff61a9fa7.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/proposals/new/page-dbcb6e50fc4816c6.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/proposals/page-1295bc505e727383.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/tasks/[taskUuid]/{page-d5c3dde34d6291a8.js → page-ceeec49af0396432.js} +1 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/tasks/{page-0da08d8b425acb6a.js → page-1286afe43c086d6a.js} +1 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/settings/{page-44014947a679f91c.js → page-0fb1d51016f6bd56.js} +1 -1
- package/.next/standalone/.next/static/chunks/app/login/page-d2513f477211dd6f.js +1 -0
- package/.next/standalone/.next/static/chunks/app/onboarding/{page-9a41067d4c5d29d7.js → page-2936274fb252329e.js} +1 -1
- package/.next/standalone/.next/static/chunks/app/page-075afd218994d377.js +1 -0
- package/.next/standalone/.next/static/chunks/{webpack-1556cfd11f7e90d1.js → webpack-ed3555ea61243391.js} +1 -1
- package/.next/standalone/package.json +1 -1
- package/README.md +2 -2
- package/README.zh.md +2 -2
- package/cli/client-args.mjs +1 -1
- package/cli/codex-session-map.mjs +117 -0
- package/cli/codex-spawner.mjs +312 -0
- package/cli/daemon-agent.mjs +32 -6
- package/cli/daemon-banner.mjs +43 -5
- package/cli/daemon.mjs +133 -14
- package/cli/login.mjs +77 -34
- package/cli/spawner-select.mjs +30 -0
- package/cli/sse-listener.mjs +29 -1
- package/cli/upload-hooks.mjs +73 -8
- package/package.json +1 -1
- package/.next/standalone/.next/server/chunks/3371.js +0 -1
- package/.next/standalone/.next/server/chunks/345.js +0 -1
- package/.next/standalone/.next/server/chunks/4958.js +0 -1
- package/.next/standalone/.next/server/chunks/5581.js +0 -1
- package/.next/standalone/.next/server/chunks/7897.js +0 -1
- package/.next/standalone/.next/server/chunks/8245.js +0 -31
- package/.next/standalone/.next/static/chunks/42111-1935df3b0dab2095.js +0 -1
- package/.next/standalone/.next/static/chunks/6239-d78e6f830ce0a7f8.js +0 -1
- package/.next/standalone/.next/static/chunks/97868-9406a4014b667c2d.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/layout-f04d5fa070f15acd.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/dashboard/page-c4271886ef004611.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/documents/[documentUuid]/page-7a8b60de97bfbd29.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/proposals/[proposalUuid]/page-0a55289b2bc510c2.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/proposals/new/page-99639479cc98965f.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/proposals/page-5d09141beb5d6aee.js +0 -1
- package/.next/standalone/.next/static/chunks/app/login/page-e7493d55573a52f1.js +0 -1
- package/.next/standalone/.next/static/chunks/app/page-8b4baa950c78ffe7.js +0 -1
- /package/.next/standalone/.next/static/{v1yRpXkt1wNBkZMTE3tiz → GmBblfxcDziUENBiEap4B}/_buildManifest.js +0 -0
- /package/.next/standalone/.next/static/{v1yRpXkt1wNBkZMTE3tiz → GmBblfxcDziUENBiEap4B}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[69566],{13533:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>I});var n=s(90508),a=s(1856),i=s(23675),l=s(39268),r=s(22922),c=s(67103),o=s(60532);let d=["welcome","createAgent","copyKey","installGuide","testConnection","completion"];function x(e){let{currentStep:t,totalSteps:s}=e,a=(0,l.c)("onboarding");return(0,n.jsx)("div",{className:"flex items-start",children:Array.from({length:s},(e,i)=>{let l=i<t,r=i===t;return(0,n.jsxs)("div",{className:"flex flex-col items-center",style:{minWidth:56},children:[(0,n.jsxs)("div",{className:"flex w-full items-center",children:[(0,n.jsx)("div",{className:"h-px flex-1 ".concat(0===i?"bg-transparent":l?"bg-primary":"bg-border")}),(0,n.jsx)("div",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-full text-xs font-medium transition-colors ".concat(l?"bg-primary text-primary-foreground":r?"border-2 border-primary bg-background text-primary":"border border-border bg-background text-muted-foreground"),children:l?(0,n.jsx)(o.A,{className:"h-4 w-4"}):i+1}),(0,n.jsx)("div",{className:"h-px flex-1 ".concat(i===s-1?"bg-transparent":i<t?"bg-primary":"bg-border")})]}),(0,n.jsx)("span",{className:"mt-1.5 hidden text-[10px] sm:block ".concat(r?"font-medium text-foreground":"text-muted-foreground"),children:a("steps.".concat(d[i]))})]},i)})})}var m=s(48416),u=s(29767),f=s(56770),p=s(23217),g=s(62482),h=s(21104),j=s(24705),N=s(62898),y=s(16544),w=s(65626);let b=[{icon:u.A,key:"idea"},{icon:f.A,key:"proposal"},{icon:p.A,key:"task"},{icon:g.A,key:"execute"},{icon:h.A,key:"verify"},{icon:j.A,key:"done"}];function v(e){let{onNext:t}=e,s=(0,l.c)("onboarding");return(0,n.jsxs)(y.P.div,{variants:w.tE,initial:"initial",animate:"animate",exit:"exit",className:"flex w-full max-w-lg flex-col items-center gap-8",children:[(0,n.jsxs)("div",{className:"flex flex-col items-center gap-3 text-center",children:[(0,n.jsx)("img",{src:"/chorus-icon.png",alt:"Chorus",className:"h-16 w-16"}),(0,n.jsx)("h1",{className:"text-2xl font-semibold text-foreground",children:s("welcome.title")}),(0,n.jsx)("p",{className:"max-w-md text-sm text-muted-foreground",children:s("welcome.description")})]}),(0,n.jsx)(m.Zp,{className:"w-full",children:(0,n.jsxs)(m.Wu,{className:"p-6",children:[(0,n.jsx)("p",{className:"mb-4 text-center text-xs font-medium uppercase tracking-wider text-muted-foreground",children:s("welcome.pipelineTitle")}),(0,n.jsx)(y.P.div,{variants:w.bK,initial:"initial",animate:"animate",className:"flex flex-wrap items-center justify-center gap-2",children:b.map((e,t)=>{let a=e.icon;return(0,n.jsxs)(y.P.div,{variants:w.Rf,className:"flex items-center gap-2",children:[(0,n.jsxs)("div",{className:"flex flex-col items-center gap-1",children:[(0,n.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-lg bg-secondary",children:(0,n.jsx)(a,{className:"h-5 w-5 text-primary"})}),(0,n.jsx)("span",{className:"text-[10px] font-medium text-muted-foreground",children:s("welcome.pipeline.".concat(e.key))})]}),t<b.length-1&&(0,n.jsx)(N.A,{className:"h-3 w-3 text-muted-foreground"})]},e.key)})})]})}),(0,n.jsx)(r.$,{size:"lg",onClick:t,className:"w-full max-w-xs",children:s("welcome.getStarted")})]})}var k=s(37750),C=s(97535);function A(e){let{onNext:t,onAgentCreated:s}=e,a=(0,l.c)("onboarding.createAgent");return(0,n.jsx)(y.P.div,{variants:w.tE,initial:"initial",animate:"animate",exit:"exit",className:"flex w-full max-w-2xl flex-col items-center gap-6",children:(0,n.jsxs)(m.Zp,{className:"w-full",children:[(0,n.jsxs)(m.aR,{className:"text-center",children:[(0,n.jsx)(m.ZB,{children:a("title")}),(0,n.jsx)(m.BT,{children:a("description")})]}),(0,n.jsx)(m.Wu,{children:(0,n.jsx)(k.Y,{embedded:!0,createAgentAndKey:C.I,submitLabel:a("submit"),submittingLabel:a("creating"),onAgentCreated:(e,n)=>{s(e,n),t()}})})]})})}var E=s(25373),P=s(17475),S=s(67712);function _(e){let{onNext:t,apiKey:s}=e,i=(0,l.c)("onboarding"),[c,d]=(0,a.useState)(!1),x=(0,a.useCallback)(e=>{e.preventDefault()},[]);(0,a.useEffect)(()=>(window.addEventListener("beforeunload",x),()=>{window.removeEventListener("beforeunload",x)}),[x]);let u=async()=>{if(s)try{await navigator.clipboard.writeText(s),d(!0),setTimeout(()=>d(!1),2e3)}catch(e){S.q.error("Failed to copy to clipboard:",e)}};return(0,n.jsx)(y.P.div,{variants:w.tE,initial:"initial",animate:"animate",exit:"exit",className:"flex w-full max-w-lg flex-col items-center gap-8",children:(0,n.jsxs)(m.Zp,{className:"w-full",children:[(0,n.jsxs)(m.aR,{className:"text-center",children:[(0,n.jsx)(m.ZB,{children:i("copyKey.title")}),(0,n.jsx)(m.BT,{children:i("copyKey.description")})]}),(0,n.jsxs)(m.Wu,{className:"flex flex-col gap-4",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("code",{className:"flex-1 overflow-x-auto rounded bg-foreground px-3 py-2 font-mono text-sm text-background",children:null!=s?s:""}),(0,n.jsx)(r.$,{variant:"outline",size:"sm",onClick:u,className:"flex-shrink-0",children:c?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.A,{className:"mr-1 h-4 w-4 text-green-500"}),i("copyKey.copied")]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(E.A,{className:"mr-1 h-4 w-4"}),i("copyKey.copy")]})})]}),(0,n.jsxs)("div",{className:"flex items-start gap-2 rounded-lg border border-yellow-300 bg-yellow-50 p-3 dark:border-yellow-800 dark:bg-yellow-950",children:[(0,n.jsx)(P.A,{className:"mt-0.5 h-4 w-4 flex-shrink-0 text-yellow-600 dark:text-yellow-400"}),(0,n.jsx)("p",{className:"text-sm font-medium text-yellow-700 dark:text-yellow-300",children:i("copyKey.warning")})]}),(0,n.jsx)(r.$,{onClick:t,className:"w-full",children:i("next")})]})]})})}var K=s(83792);function O(e){let{apiKey:t,onNext:s,onBack:a}=e,i=(0,l.c)("onboarding");return(0,n.jsxs)(y.P.div,{variants:w.tE,initial:"initial",animate:"animate",exit:"exit",className:"flex w-full max-w-2xl flex-col items-center gap-6",children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("h2",{className:"text-lg font-semibold text-foreground",children:i("steps.installGuide")}),(0,n.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:i("install.description")})]}),(0,n.jsx)(K.Z,{apiKey:t}),(0,n.jsxs)("div",{className:"flex gap-2",children:[a&&(0,n.jsx)(r.$,{variant:"outline",onClick:a,children:i("back")}),(0,n.jsx)(r.$,{onClick:s,children:i("next")})]})]})}var $=s(85226),Z=s(42533),B=s(50006);function R(e){let{onNext:t,onBack:s,agentUuid:i,agentName:c,onConnectionVerified:o}=e,d=(0,l.c)("onboarding"),[x,u]=(0,a.useState)("waiting"),f=(0,a.useRef)(null),p=(0,a.useCallback)(()=>{f.current&&(f.current.close(),f.current=null)},[]),g=(0,a.useCallback)(()=>{p(),u("waiting");let e=new EventSource("/api/events/notifications");f.current=e,e.onmessage=e=>{try{let t=JSON.parse(e.data);"new_notification"===t.type&&"agent_checkin"===t.action&&t.entityUuid===i&&(u("connected"),p(),o())}catch(e){}},e.onerror=()=>{}},[i,p,o]);return(0,a.useEffect)(()=>(g(),p),[g,p]),(0,n.jsx)(y.P.div,{variants:w.tE,initial:"initial",animate:"animate",exit:"exit",className:"flex w-full max-w-lg flex-col items-center gap-8",children:(0,n.jsx)(m.Zp,{className:"w-full",children:(0,n.jsxs)(m.Wu,{className:"flex flex-col items-center gap-6 p-8",children:[(0,n.jsx)("h2",{className:"text-lg font-semibold text-foreground",children:d("testConnection.title")}),"waiting"===x&&(0,n.jsxs)("div",{className:"flex w-full flex-col items-center gap-4",children:[(0,n.jsxs)("div",{className:"relative flex h-16 w-16 items-center justify-center",children:[(0,n.jsx)("div",{className:"absolute h-16 w-16 animate-ping rounded-full bg-primary/20"}),(0,n.jsx)($.A,{className:"h-8 w-8 animate-spin text-primary"})]}),(0,n.jsx)("p",{className:"text-center text-sm text-muted-foreground",children:d("testConnection.waiting")}),c&&(0,n.jsx)("p",{className:"text-center text-xs text-muted-foreground",children:d("testConnection.waitingFor",{name:c})}),(0,n.jsxs)("div",{className:"w-full",children:[(0,n.jsx)("p",{className:"mb-2 text-center text-xs text-muted-foreground",children:d("testConnection.checkinHint")}),(0,n.jsx)(B.N,{code:d("testConnection.checkinPrompt")})]}),s&&(0,n.jsx)(r.$,{variant:"outline",onClick:s,children:d("back")})]}),"connected"===x&&(0,n.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,n.jsx)(y.P.div,{initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:300,damping:20},children:(0,n.jsx)(Z.A,{className:"h-16 w-16 text-green-500"})}),(0,n.jsx)("p",{className:"text-center text-sm font-medium text-green-600",children:d("testConnection.connected")}),(0,n.jsx)(r.$,{onClick:t,children:d("next")})]})]})})})}var T=s(94152),W=s(52309),z=s(97868);function F(e){let{createdAgent:t}=e,s=(0,i.useRouter)(),c=(0,l.c)("onboarding"),o=(0,l.c)("agent.permissions");(0,a.useEffect)(()=>{localStorage.setItem("chorus_onboarding_completed","done")},[]);let d=t?o(t.roles.includes("admin_agent")?"presetAdmin":t.roles.includes("pm_agent")?"presetPm":t.roles.includes("developer_agent")?"presetDev":"presetCustom"):null;return(0,n.jsxs)(y.P.div,{variants:w.tE,initial:"initial",animate:"animate",exit:"exit",className:"flex w-full max-w-lg flex-col items-center gap-8",children:[(0,n.jsxs)("div",{className:"flex flex-col items-center gap-3 text-center",children:[(0,n.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-primary/10",children:(0,n.jsx)(Z.A,{className:"h-10 w-10 text-primary"})}),(0,n.jsx)("h1",{className:"text-2xl font-semibold text-foreground",children:c("completion.title")}),(0,n.jsx)("p",{className:"max-w-md text-sm text-muted-foreground",children:c("completion.description")})]}),t&&(0,n.jsx)(m.Zp,{className:"w-full",children:(0,n.jsxs)(m.Wu,{className:"p-6",children:[(0,n.jsx)("h3",{className:"mb-3 text-sm font-medium text-foreground",children:c("completion.summary")}),(0,n.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,n.jsxs)("div",{className:"flex justify-between",children:[(0,n.jsx)("span",{children:c("completion.agentName")}),(0,n.jsx)("span",{className:"font-medium text-foreground",children:t.name})]}),(0,n.jsxs)("div",{className:"flex justify-between",children:[(0,n.jsx)("span",{children:c("completion.agentPreset")}),(0,n.jsx)("span",{className:"font-medium text-foreground",children:d})]}),0===t.roles.length&&t.permissions.length>0&&(0,n.jsxs)("div",{className:"flex justify-between",children:[(0,n.jsx)("span",{children:c("completion.agentPermissions")}),(0,n.jsx)("span",{className:"font-medium text-foreground",children:c("completion.permissionsCount",{count:t.permissions.length})})]})]})]})}),(0,n.jsx)(z.Bs,{variant:"prominent"}),(0,n.jsxs)("div",{className:"flex w-full max-w-xs flex-col gap-3",children:[(0,n.jsxs)(r.$,{size:"lg",onClick:()=>s.push("/projects"),className:"w-full gap-2",children:[(0,n.jsx)(T.A,{className:"h-4 w-4"}),c("completion.goToProjects")]}),(0,n.jsxs)(r.$,{variant:"outline",size:"lg",onClick:()=>s.push("/settings"),className:"w-full gap-2",children:[(0,n.jsx)(W.A,{className:"h-4 w-4"}),c("completion.goToSettings")]})]})]})}function G(){var e,t;let s=(0,i.useRouter)(),o=(0,l.c)("onboarding"),[d,m]=(0,a.useState)(0),[u,f]=(0,a.useState)(null),[p,g]=(0,a.useState)(null),[h,j]=(0,a.useState)(null),[N,y]=(0,a.useState)(!1),w=(0,a.useCallback)(()=>{m(e=>Math.min(e+1,5))},[]),b=(0,a.useCallback)(()=>{m(e=>Math.max(e-1,0))},[]),k=(0,a.useCallback)(()=>{localStorage.setItem("chorus_onboarding_completed","skipped"),s.push("/projects")},[s]),C=(0,a.useCallback)((e,t)=>{f(e),g(t)},[]),E=(0,a.useCallback)(()=>{y(!0),m(5)},[]),P=5===d;return(0,n.jsxs)("div",{className:"flex w-full max-w-2xl flex-col items-center gap-8",children:[(0,n.jsx)(x,{currentStep:d,totalSteps:6}),(0,n.jsxs)(c.N,{mode:"wait",children:[0===d&&(0,n.jsx)(v,{onNext:w},"welcome"),1===d&&(0,n.jsx)(A,{onNext:w,onAgentCreated:C},"createAgent"),2===d&&(0,n.jsx)(_,{onNext:w,apiKey:p},"copyKey"),3===d&&(0,n.jsx)(O,{apiKey:p,onNext:w,onBack:b},"installGuide"),4===d&&(0,n.jsx)(R,{onNext:w,onBack:b,agentUuid:null!=(e=null==u?void 0:u.uuid)?e:null,agentName:null!=(t=null==u?void 0:u.name)?t:null,onConnectionVerified:E},"testConnection"),5===d&&(0,n.jsx)(F,{createdAgent:u},"completion")]}),!P&&(0,n.jsx)(r.$,{variant:"link",size:"sm",onClick:k,className:"text-muted-foreground",children:o("skip")})]})}function I(){return(0,n.jsx)("div",{className:"flex min-h-screen items-center justify-center bg-background p-4",children:(0,n.jsx)(G,{})})}},65626:(e,t,s)=>{"use strict";s.d(t,{K5:()=>c,Rf:()=>r,Yv:()=>n,bK:()=>l,qG:()=>i,tE:()=>a});let n={fast:.15,normal:.2,slow:.3,easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1],stagger:.04,staggerFast:.03,spring:{type:"spring",stiffness:500,damping:30},tween:{type:"tween",duration:.2,ease:[0,0,.2,1]}},a={initial:{opacity:0,y:8},animate:{opacity:1,y:0,transition:{duration:n.normal,ease:n.easeOut}},exit:{opacity:0,y:-4,transition:{duration:n.fast,ease:n.easeOut}}},i={initial:{opacity:0},animate:{opacity:1,transition:{duration:n.normal,ease:n.easeOut}},exit:{opacity:0,transition:{duration:n.fast,ease:n.easeOut}}};n.normal,n.easeOut,n.fast,n.easeOut;let l={initial:{},animate:{transition:{staggerChildren:n.stagger}}},r={initial:{opacity:0,y:8},animate:{opacity:1,y:0,transition:{duration:n.normal,ease:n.easeOut}}},c={initial:{opacity:0,scale:.95,y:-4},animate:{opacity:1,scale:1,y:0,transition:{duration:n.fast,ease:n.easeOut}},exit:{opacity:0,scale:.95,y:-4,transition:{duration:n.fast,ease:n.easeOut}}}},99576:(e,t,s)=>{Promise.resolve().then(s.bind(s,13533))}},e=>{e.O(0,[93151,41752,12079,18944,12790,26885,14655,71350,30724,16544,27201,16551,97784,14753,89644,45532,70552,15183,26394,27378,2280,54637,97868,32497,74951,65496,77358],()=>e(e.s=99576)),_N_E=e.O()}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[69566],{13533:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>I});var n=s(90508),a=s(1856),i=s(23675),l=s(39268),r=s(22922),c=s(67103),o=s(60532);let d=["welcome","createAgent","copyKey","installGuide","testConnection","completion"];function x(e){let{currentStep:t,totalSteps:s}=e,a=(0,l.c)("onboarding");return(0,n.jsx)("div",{className:"flex items-start",children:Array.from({length:s},(e,i)=>{let l=i<t,r=i===t;return(0,n.jsxs)("div",{className:"flex flex-col items-center",style:{minWidth:56},children:[(0,n.jsxs)("div",{className:"flex w-full items-center",children:[(0,n.jsx)("div",{className:"h-px flex-1 ".concat(0===i?"bg-transparent":l?"bg-primary":"bg-border")}),(0,n.jsx)("div",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-full text-xs font-medium transition-colors ".concat(l?"bg-primary text-primary-foreground":r?"border-2 border-primary bg-background text-primary":"border border-border bg-background text-muted-foreground"),children:l?(0,n.jsx)(o.A,{className:"h-4 w-4"}):i+1}),(0,n.jsx)("div",{className:"h-px flex-1 ".concat(i===s-1?"bg-transparent":i<t?"bg-primary":"bg-border")})]}),(0,n.jsx)("span",{className:"mt-1.5 hidden text-[10px] sm:block ".concat(r?"font-medium text-foreground":"text-muted-foreground"),children:a("steps.".concat(d[i]))})]},i)})})}var m=s(48416),u=s(29767),f=s(56770),p=s(23217),g=s(62482),h=s(21104),j=s(24705),N=s(62898),y=s(16544),w=s(65626);let b=[{icon:u.A,key:"idea"},{icon:f.A,key:"proposal"},{icon:p.A,key:"task"},{icon:g.A,key:"execute"},{icon:h.A,key:"verify"},{icon:j.A,key:"done"}];function v(e){let{onNext:t}=e,s=(0,l.c)("onboarding");return(0,n.jsxs)(y.P.div,{variants:w.tE,initial:"initial",animate:"animate",exit:"exit",className:"flex w-full max-w-lg flex-col items-center gap-8",children:[(0,n.jsxs)("div",{className:"flex flex-col items-center gap-3 text-center",children:[(0,n.jsx)("img",{src:"/chorus-icon.png",alt:"Chorus",className:"h-16 w-16"}),(0,n.jsx)("h1",{className:"text-2xl font-semibold text-foreground",children:s("welcome.title")}),(0,n.jsx)("p",{className:"max-w-md text-sm text-muted-foreground",children:s("welcome.description")})]}),(0,n.jsx)(m.Zp,{className:"w-full",children:(0,n.jsxs)(m.Wu,{className:"p-6",children:[(0,n.jsx)("p",{className:"mb-4 text-center text-xs font-medium uppercase tracking-wider text-muted-foreground",children:s("welcome.pipelineTitle")}),(0,n.jsx)(y.P.div,{variants:w.bK,initial:"initial",animate:"animate",className:"flex flex-wrap items-center justify-center gap-2",children:b.map((e,t)=>{let a=e.icon;return(0,n.jsxs)(y.P.div,{variants:w.Rf,className:"flex items-center gap-2",children:[(0,n.jsxs)("div",{className:"flex flex-col items-center gap-1",children:[(0,n.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-lg bg-secondary",children:(0,n.jsx)(a,{className:"h-5 w-5 text-primary"})}),(0,n.jsx)("span",{className:"text-[10px] font-medium text-muted-foreground",children:s("welcome.pipeline.".concat(e.key))})]}),t<b.length-1&&(0,n.jsx)(N.A,{className:"h-3 w-3 text-muted-foreground"})]},e.key)})})]})}),(0,n.jsx)(r.$,{size:"lg",onClick:t,className:"w-full max-w-xs",children:s("welcome.getStarted")})]})}var k=s(37750),C=s(61326);function A(e){let{onNext:t,onAgentCreated:s}=e,a=(0,l.c)("onboarding.createAgent");return(0,n.jsx)(y.P.div,{variants:w.tE,initial:"initial",animate:"animate",exit:"exit",className:"flex w-full max-w-2xl flex-col items-center gap-6",children:(0,n.jsxs)(m.Zp,{className:"w-full",children:[(0,n.jsxs)(m.aR,{className:"text-center",children:[(0,n.jsx)(m.ZB,{children:a("title")}),(0,n.jsx)(m.BT,{children:a("description")})]}),(0,n.jsx)(m.Wu,{children:(0,n.jsx)(k.Y,{embedded:!0,createAgentAndKey:C.I,submitLabel:a("submit"),submittingLabel:a("creating"),onAgentCreated:(e,n)=>{s(e,n),t()}})})]})})}var E=s(25373),P=s(17475),S=s(67712);function _(e){let{onNext:t,apiKey:s}=e,i=(0,l.c)("onboarding"),[c,d]=(0,a.useState)(!1),x=(0,a.useCallback)(e=>{e.preventDefault()},[]);(0,a.useEffect)(()=>(window.addEventListener("beforeunload",x),()=>{window.removeEventListener("beforeunload",x)}),[x]);let u=async()=>{if(s)try{await navigator.clipboard.writeText(s),d(!0),setTimeout(()=>d(!1),2e3)}catch(e){S.q.error("Failed to copy to clipboard:",e)}};return(0,n.jsx)(y.P.div,{variants:w.tE,initial:"initial",animate:"animate",exit:"exit",className:"flex w-full max-w-lg flex-col items-center gap-8",children:(0,n.jsxs)(m.Zp,{className:"w-full",children:[(0,n.jsxs)(m.aR,{className:"text-center",children:[(0,n.jsx)(m.ZB,{children:i("copyKey.title")}),(0,n.jsx)(m.BT,{children:i("copyKey.description")})]}),(0,n.jsxs)(m.Wu,{className:"flex flex-col gap-4",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("code",{className:"flex-1 overflow-x-auto rounded bg-foreground px-3 py-2 font-mono text-sm text-background",children:null!=s?s:""}),(0,n.jsx)(r.$,{variant:"outline",size:"sm",onClick:u,className:"flex-shrink-0",children:c?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.A,{className:"mr-1 h-4 w-4 text-green-500"}),i("copyKey.copied")]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(E.A,{className:"mr-1 h-4 w-4"}),i("copyKey.copy")]})})]}),(0,n.jsxs)("div",{className:"flex items-start gap-2 rounded-lg border border-yellow-300 bg-yellow-50 p-3 dark:border-yellow-800 dark:bg-yellow-950",children:[(0,n.jsx)(P.A,{className:"mt-0.5 h-4 w-4 flex-shrink-0 text-yellow-600 dark:text-yellow-400"}),(0,n.jsx)("p",{className:"text-sm font-medium text-yellow-700 dark:text-yellow-300",children:i("copyKey.warning")})]}),(0,n.jsx)(r.$,{onClick:t,className:"w-full",children:i("next")})]})]})})}var K=s(83792);function O(e){let{apiKey:t,onNext:s,onBack:a}=e,i=(0,l.c)("onboarding");return(0,n.jsxs)(y.P.div,{variants:w.tE,initial:"initial",animate:"animate",exit:"exit",className:"flex w-full max-w-2xl flex-col items-center gap-6",children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("h2",{className:"text-lg font-semibold text-foreground",children:i("steps.installGuide")}),(0,n.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:i("install.description")})]}),(0,n.jsx)(K.Z,{apiKey:t}),(0,n.jsxs)("div",{className:"flex gap-2",children:[a&&(0,n.jsx)(r.$,{variant:"outline",onClick:a,children:i("back")}),(0,n.jsx)(r.$,{onClick:s,children:i("next")})]})]})}var $=s(85226),Z=s(42533),B=s(50006);function R(e){let{onNext:t,onBack:s,agentUuid:i,agentName:c,onConnectionVerified:o}=e,d=(0,l.c)("onboarding"),[x,u]=(0,a.useState)("waiting"),f=(0,a.useRef)(null),p=(0,a.useCallback)(()=>{f.current&&(f.current.close(),f.current=null)},[]),g=(0,a.useCallback)(()=>{p(),u("waiting");let e=new EventSource("/api/events/notifications");f.current=e,e.onmessage=e=>{try{let t=JSON.parse(e.data);"new_notification"===t.type&&"agent_checkin"===t.action&&t.entityUuid===i&&(u("connected"),p(),o())}catch(e){}},e.onerror=()=>{}},[i,p,o]);return(0,a.useEffect)(()=>(g(),p),[g,p]),(0,n.jsx)(y.P.div,{variants:w.tE,initial:"initial",animate:"animate",exit:"exit",className:"flex w-full max-w-lg flex-col items-center gap-8",children:(0,n.jsx)(m.Zp,{className:"w-full",children:(0,n.jsxs)(m.Wu,{className:"flex flex-col items-center gap-6 p-8",children:[(0,n.jsx)("h2",{className:"text-lg font-semibold text-foreground",children:d("testConnection.title")}),"waiting"===x&&(0,n.jsxs)("div",{className:"flex w-full flex-col items-center gap-4",children:[(0,n.jsxs)("div",{className:"relative flex h-16 w-16 items-center justify-center",children:[(0,n.jsx)("div",{className:"absolute h-16 w-16 animate-ping rounded-full bg-primary/20"}),(0,n.jsx)($.A,{className:"h-8 w-8 animate-spin text-primary"})]}),(0,n.jsx)("p",{className:"text-center text-sm text-muted-foreground",children:d("testConnection.waiting")}),c&&(0,n.jsx)("p",{className:"text-center text-xs text-muted-foreground",children:d("testConnection.waitingFor",{name:c})}),(0,n.jsxs)("div",{className:"w-full",children:[(0,n.jsx)("p",{className:"mb-2 text-center text-xs text-muted-foreground",children:d("testConnection.checkinHint")}),(0,n.jsx)(B.N,{code:d("testConnection.checkinPrompt")})]}),s&&(0,n.jsx)(r.$,{variant:"outline",onClick:s,children:d("back")})]}),"connected"===x&&(0,n.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,n.jsx)(y.P.div,{initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:300,damping:20},children:(0,n.jsx)(Z.A,{className:"h-16 w-16 text-green-500"})}),(0,n.jsx)("p",{className:"text-center text-sm font-medium text-green-600",children:d("testConnection.connected")}),(0,n.jsx)(r.$,{onClick:t,children:d("next")})]})]})})})}var T=s(94152),W=s(52309),z=s(97868);function F(e){let{createdAgent:t}=e,s=(0,i.useRouter)(),c=(0,l.c)("onboarding"),o=(0,l.c)("agent.permissions");(0,a.useEffect)(()=>{localStorage.setItem("chorus_onboarding_completed","done")},[]);let d=t?o(t.roles.includes("admin_agent")?"presetAdmin":t.roles.includes("pm_agent")?"presetPm":t.roles.includes("developer_agent")?"presetDev":"presetCustom"):null;return(0,n.jsxs)(y.P.div,{variants:w.tE,initial:"initial",animate:"animate",exit:"exit",className:"flex w-full max-w-lg flex-col items-center gap-8",children:[(0,n.jsxs)("div",{className:"flex flex-col items-center gap-3 text-center",children:[(0,n.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-primary/10",children:(0,n.jsx)(Z.A,{className:"h-10 w-10 text-primary"})}),(0,n.jsx)("h1",{className:"text-2xl font-semibold text-foreground",children:c("completion.title")}),(0,n.jsx)("p",{className:"max-w-md text-sm text-muted-foreground",children:c("completion.description")})]}),t&&(0,n.jsx)(m.Zp,{className:"w-full",children:(0,n.jsxs)(m.Wu,{className:"p-6",children:[(0,n.jsx)("h3",{className:"mb-3 text-sm font-medium text-foreground",children:c("completion.summary")}),(0,n.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,n.jsxs)("div",{className:"flex justify-between",children:[(0,n.jsx)("span",{children:c("completion.agentName")}),(0,n.jsx)("span",{className:"font-medium text-foreground",children:t.name})]}),(0,n.jsxs)("div",{className:"flex justify-between",children:[(0,n.jsx)("span",{children:c("completion.agentPreset")}),(0,n.jsx)("span",{className:"font-medium text-foreground",children:d})]}),0===t.roles.length&&t.permissions.length>0&&(0,n.jsxs)("div",{className:"flex justify-between",children:[(0,n.jsx)("span",{children:c("completion.agentPermissions")}),(0,n.jsx)("span",{className:"font-medium text-foreground",children:c("completion.permissionsCount",{count:t.permissions.length})})]})]})]})}),(0,n.jsx)(z.Bs,{variant:"prominent"}),(0,n.jsxs)("div",{className:"flex w-full max-w-xs flex-col gap-3",children:[(0,n.jsxs)(r.$,{size:"lg",onClick:()=>s.push("/projects"),className:"w-full gap-2",children:[(0,n.jsx)(T.A,{className:"h-4 w-4"}),c("completion.goToProjects")]}),(0,n.jsxs)(r.$,{variant:"outline",size:"lg",onClick:()=>s.push("/settings"),className:"w-full gap-2",children:[(0,n.jsx)(W.A,{className:"h-4 w-4"}),c("completion.goToSettings")]})]})]})}function G(){var e,t;let s=(0,i.useRouter)(),o=(0,l.c)("onboarding"),[d,m]=(0,a.useState)(0),[u,f]=(0,a.useState)(null),[p,g]=(0,a.useState)(null),[h,j]=(0,a.useState)(null),[N,y]=(0,a.useState)(!1),w=(0,a.useCallback)(()=>{m(e=>Math.min(e+1,5))},[]),b=(0,a.useCallback)(()=>{m(e=>Math.max(e-1,0))},[]),k=(0,a.useCallback)(()=>{localStorage.setItem("chorus_onboarding_completed","skipped"),s.push("/projects")},[s]),C=(0,a.useCallback)((e,t)=>{f(e),g(t)},[]),E=(0,a.useCallback)(()=>{y(!0),m(5)},[]),P=5===d;return(0,n.jsxs)("div",{className:"flex w-full max-w-2xl flex-col items-center gap-8",children:[(0,n.jsx)(x,{currentStep:d,totalSteps:6}),(0,n.jsxs)(c.N,{mode:"wait",children:[0===d&&(0,n.jsx)(v,{onNext:w},"welcome"),1===d&&(0,n.jsx)(A,{onNext:w,onAgentCreated:C},"createAgent"),2===d&&(0,n.jsx)(_,{onNext:w,apiKey:p},"copyKey"),3===d&&(0,n.jsx)(O,{apiKey:p,onNext:w,onBack:b},"installGuide"),4===d&&(0,n.jsx)(R,{onNext:w,onBack:b,agentUuid:null!=(e=null==u?void 0:u.uuid)?e:null,agentName:null!=(t=null==u?void 0:u.name)?t:null,onConnectionVerified:E},"testConnection"),5===d&&(0,n.jsx)(F,{createdAgent:u},"completion")]}),!P&&(0,n.jsx)(r.$,{variant:"link",size:"sm",onClick:k,className:"text-muted-foreground",children:o("skip")})]})}function I(){return(0,n.jsx)("div",{className:"flex min-h-screen items-center justify-center bg-background p-4",children:(0,n.jsx)(G,{})})}},65626:(e,t,s)=>{"use strict";s.d(t,{K5:()=>c,Rf:()=>r,Yv:()=>n,bK:()=>l,qG:()=>i,tE:()=>a});let n={fast:.15,normal:.2,slow:.3,easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1],stagger:.04,staggerFast:.03,spring:{type:"spring",stiffness:500,damping:30},tween:{type:"tween",duration:.2,ease:[0,0,.2,1]}},a={initial:{opacity:0,y:8},animate:{opacity:1,y:0,transition:{duration:n.normal,ease:n.easeOut}},exit:{opacity:0,y:-4,transition:{duration:n.fast,ease:n.easeOut}}},i={initial:{opacity:0},animate:{opacity:1,transition:{duration:n.normal,ease:n.easeOut}},exit:{opacity:0,transition:{duration:n.fast,ease:n.easeOut}}};n.normal,n.easeOut,n.fast,n.easeOut;let l={initial:{},animate:{transition:{staggerChildren:n.stagger}}},r={initial:{opacity:0,y:8},animate:{opacity:1,y:0,transition:{duration:n.normal,ease:n.easeOut}}},c={initial:{opacity:0,scale:.95,y:-4},animate:{opacity:1,scale:1,y:0,transition:{duration:n.fast,ease:n.easeOut}},exit:{opacity:0,scale:.95,y:-4,transition:{duration:n.fast,ease:n.easeOut}}}},99576:(e,t,s)=>{Promise.resolve().then(s.bind(s,13533))}},e=>{e.O(0,[93151,41752,12079,18944,12790,26885,14655,71350,30724,16544,27201,16551,97784,14753,89644,45532,70552,15183,26394,27378,2280,54637,97868,46999,74951,65496,77358],()=>e(e.s=99576)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[58974],{23675:(e,t,r)=>{"use strict";var n=r(84675);r.o(n,"useParams")&&r.d(t,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},30509:(e,t,r)=>{"use strict";r.d(t,{HB:()=>a,JK:()=>c,XQ:()=>i,bN:()=>s,vh:()=>o});var n=r(14655);function a(e){let t=function(e){let t=window.location.origin,r=new n.O({store:window.localStorage});return{authority:e.issuer,client_id:e.clientId,redirect_uri:"".concat(t,"/login/callback"),post_logout_redirect_uri:"".concat(t,"/login"),response_type:"code",scope:"openid profile email",automaticSilentRenew:!1,silent_redirect_uri:"".concat(t,"/login/silent-refresh"),accessTokenExpiringNotificationTimeInSeconds:60,userStore:r,extraQueryParams:{company:e.companyUuid}}}(e);return new n.$5(t)}function o(e){localStorage.setItem("oidc_config",JSON.stringify(e))}function i(){let e=localStorage.getItem("oidc_config");if(!e)return null;try{return JSON.parse(e)}catch(e){return null}}function c(){localStorage.removeItem("oidc_config")}function s(e){return{sub:e.profile.sub,email:e.profile.email,name:e.profile.name,picture:e.profile.picture,accessToken:e.access_token,refreshToken:e.refresh_token,expiresAt:e.expires_at,idToken:e.id_token}}},39268:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var n=r(12079);function a(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let o=a(0,n.c3);a(0,n.kc)},42359:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(90508),a=r(1856),o=r(23675),i=r(39268),c=r(62990);function s(){let e=(0,i.c)(),t=(0,o.useRouter)();return(0,a.useEffect)(()=>{(async()=>{try{let e=await fetch("/api/admin/session");if((await e.json()).success)return void t.replace("/admin");let r=await (0,c.tm)("/api/auth/session");if(401===r.status&&(await (0,c.OX)(),r=await (0,c.tm)("/api/auth/session")),r.ok&&(await r.json()).success)return void t.replace("/projects");401===r.status&&t.replace("/login")}catch(e){}})()},[t]),(0,n.jsx)("div",{className:"flex min-h-screen items-center justify-center bg-[#FAF8F4]",children:(0,n.jsx)("div",{className:"text-[#737373]",children:e("common.loading")})})}},62990:(e,t,r)=>{"use strict";r.d(t,{OX:()=>h,aK:()=>f,dv:()=>i,hj:()=>c,ri:()=>m,tm:()=>d,vN:()=>u,w9:()=>s});var n=r(30509),a=r(67712);let o=null;function i(){if(!o){let e=(0,n.XQ)();e&&(o=(0,n.HB)(e))}return o}function c(e){return(0,n.vh)(e),o=(0,n.HB)(e)}function s(){o=null}async function u(){let e=i();if(!e)return null;try{return await e.getUser()}catch(e){return null}}async function l(){let e=await u();return e?e.access_token:null}async function f(e,t){try{return(await fetch("/api/auth/sync-token",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({accessToken:e,refreshToken:t})})).ok}catch(e){return a.q.error("Failed to sync token to cookie"),!1}}async function h(){try{await fetch("/api/keepalive",{method:"GET",credentials:"same-origin",cache:"no-store"})}catch(e){}}async function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=await l(),n=new Headers(t.headers);r&&n.set("Authorization","Bearer ".concat(r));let a=await fetch(e,{...t,headers:n});if(401===a.status)if(i());else try{if((await fetch("/api/auth/refresh",{method:"POST"})).ok)return n.delete("Authorization"),fetch(e,{...t,headers:n})}catch(e){}return a}async function m(){try{await fetch("/api/auth/logout",{method:"POST"})}catch(e){}let e=i();if(e)try{await e.removeUser()}catch(e){}s(),(0,n.JK)()}},67712:(e,t,r)=>{"use strict";r.d(t,{q:()=>c});var n=r(55036);let a={debug:0,info:1,warn:2,error:3},o=n.env.NEXT_PUBLIC_LOG_LEVEL||"warn";function i(e){return a[e]>=a[o]}let c={debug:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];i("debug")&&console.debug("[Chorus] ".concat(e),...r)},info:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];i("info")&&console.info("[Chorus] ".concat(e),...r)},warn:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];i("warn")&&console.warn("[Chorus] ".concat(e),...r)},error:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];i("error")&&console.error("[Chorus] ".concat(e),...r)}}},76674:(e,t,r)=>{Promise.resolve().then(r.bind(r,42359))}},e=>{e.O(0,[12079,14655,74951,65496,77358],()=>e(e.s=76674)),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={},a={};function c(d){var f=a[d];if(void 0!==f)return f.exports;var b=a[d]={id:d,loaded:!1,exports:{}},t=!0;try{e[d].call(b.exports,b,b.exports,c),t=!1}finally{t&&delete a[d]}return b.loaded=!0,b.exports}c.m=e,(()=>{var e=[];c.O=(a,d,f,b)=>{if(d){b=b||0;for(var t=e.length;t>0&&e[t-1][2]>b;t--)e[t]=e[t-1];e[t]=[d,f,b];return}for(var r=1/0,t=0;t<e.length;t++){for(var[d,f,b]=e[t],n=!0,o=0;o<d.length;o++)(!1&b||r>=b)&&Object.keys(c.O).every(e=>c.O[e](d[o]))?d.splice(o--,1):(n=!1,b<r&&(r=b));if(n){e.splice(t--,1);var i=f();void 0!==i&&(a=i)}}return a}})(),c.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return c.d(a,{a:a}),a},(()=>{var e,a=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;c.t=function(d,f){if(1&f&&(d=this(d)),8&f||"object"==typeof d&&d&&(4&f&&d.__esModule||16&f&&"function"==typeof d.then))return d;var b=Object.create(null);c.r(b);var t={};e=e||[null,a({}),a([]),a(a)];for(var r=2&f&&d;"object"==typeof r&&!~e.indexOf(r);r=a(r))Object.getOwnPropertyNames(r).forEach(e=>t[e]=()=>d[e]);return t.default=()=>d,c.d(b,t),b}})(),c.d=(e,a)=>{for(var d in a)c.o(a,d)&&!c.o(e,d)&&Object.defineProperty(e,d,{enumerable:!0,get:a[d]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce((a,d)=>(c.f[d](e,a),a),[])),c.u=e=>70552===e?"static/chunks/"+e+"-0ea3c887937b5b51.js":27201===e?"static/chunks/"+e+"-0228042991534905.js":14753===e?"static/chunks/"+e+"-d911e24624c88fbc.js":26885===e?"static/chunks/"+e+"-00665cb87b9da098.js":45532===e?"static/chunks/"+e+"-12ed13c096e2a88e.js":30724===e?"static/chunks/"+e+"-627b849ed09f9cc5.js":97784===e?"static/chunks/"+e+"-7b90a17294840e32.js":93151===e?"static/chunks/f3524bc3-5c48b74c49ddeca0.js":41752===e?"static/chunks/fcc64ffe-de8d357e657bd162.js":16551===e?"static/chunks/"+e+"-68896c0ca7966ebf.js":"static/chunks/"+(({5571:"4e7df547",14749:"5db68f07",15968:"14860d7c",17203:"7a5af761",19019:"1496d684",20341:"cbbc2011",24364:"fbd0dcbb",32217:"1ccec16d",43245:"48c55e57",49954:"a856cf35",58669:"4f8e262c",65543:"685092b2",69136:"5be1c5d8",77008:"fab3cf95",80039:"f4bf7a28",82346:"273acdc0",83086:"8c93d9a0",95402:"f57f1d5e",95792:"f2442412"})[e]||e)+"."+({123:"b47ce56e923e1dc4",283:"4d4eca86c7abbec9",493:"737fdeba759d415a",1236:"ec9ed804634bb6cf",1697:"58e0d7523fdd2d52",1803:"8e2e63f39906fd1e",1847:"90012f795031fd15",2164:"d977bc7d148f1d9e",2351:"35085ef2663aaa44",2656:"febbce72896f5701",2829:"ae5196f6cb23aa62",2842:"a5f90cf26f897bfc",3333:"74af47ffa6cb4c0e",3709:"a528fc6526bb2f1d",4123:"bf0bc76b87e0a5d0",4151:"b8833633f487c3d5",4435:"0da86212e371da10",4860:"f4242c493fcf182d",5020:"e7e6f35316da8d79",5336:"3fcd63f65fab9362",5559:"34e9e404696c82c0",5571:"fa34ffab38ba73b3",6178:"d88e2b68a2a1e09b",6685:"e23946c2ee579a76",7037:"d00688ceefb9f163",7123:"37f20f0e10894a3c",7140:"099e6f0e9722e08f",7317:"1a06bc56028637f6",7387:"f8cf2c36cf9b56dc",8563:"caa84c08a9db867a",8859:"fd4fa52883f05b54",9357:"084ac7f230f031a3",9560:"2e77d2dc6351b105",9634:"14999324d0128b0e",9858:"5eb9e5d689ee1188",9872:"bfcbe3b40e1ba7a3",10171:"8a96856626beb7ab",10667:"c192840fc1b34161",10742:"6cc4d6949065d15a",11160:"058f4a27a4ccab24",11688:"8c27089c45c98079",11966:"36fab6445e33609a",12139:"23195d4025c449dd",12850:"a5f6e9e87d0f9abd",12906:"f2105800b7dc9127",12994:"ea3d4eeb1b15ce47",13131:"e73eb283f14ed397",13437:"0de1f2000c75f497",13462:"b710822936d6d995",14438:"153e2ffb65627b56",14749:"5a8891ea355512a8",15666:"fd13db7fdfc4db46",15736:"4a506a1463e65905",15930:"faf0ba15488aa8ff",15968:"67246c65e7776fa2",16271:"298647c24de4c656",16428:"da33ee8ca31c4d8f",16564:"310c443d14c6e84b",16596:"3c557433b77dc606",16669:"c0967e6ad7401c26",17012:"78f2a6b93e37bf95",17045:"cf6dade16b25ffc7",17093:"ec17cca1979a34c5",17203:"84e2df2bf9d6c4a4",17881:"2eba69b477a8c7f7",18024:"360cc54c2f070fa1",18236:"02c13f95242e1147",18276:"4e4950daea1be290",18291:"6c48a745093c472f",19015:"e0d16d65430522c1",19019:"da3969c029230434",19338:"65cfcfafa18f6aee",19656:"ee0407bae11dd49b",20118:"5e7942f9d596e02b",20171:"9c80c2880256be96",20186:"2a00fa806bf383a5",20341:"a1649a45ba0da5ab",20586:"7cd940a582176e37",20587:"d03a7c9ddae70251",20851:"383095475aa0becf",21063:"5cc29b3160a78147",21233:"fbc3473b758427be",21285:"944c1ff822774352",21290:"ef2762694c3c05e5",21343:"eb8e7aeda8b2b933",21546:"8b2a80eefde810c5",21558:"e72df6c050a17223",21785:"19b23ee028f6262f",21789:"ad6ff228e2917e82",22190:"ee4e8f3ac0189d87",22463:"8f0a0111946c5e37",22485:"9f11764648028b9d",23338:"01f537c5dfd51363",23895:"a3ad3684a5b39547",24021:"e608f829b761ed19",24364:"a59ebe9142818688",24562:"f31cdddfe04624d0",24566:"605ccb37c2b09b7f",24976:"aea37ff8444ce6ca",25018:"51cf65637b375c88",25239:"e13f63bff8d7f459",25934:"45b477fc38b233d5",26558:"337afe8cd6c7f7e2",26594:"9cd92c85c51a3621",26604:"c5f0e687052abb59",27004:"7265fd004542a6ae",27261:"3ad525eea1f52dc3",27509:"8f83a84fed1129f3",27571:"33642de22553efae",27783:"70af75ac091e5b31",27929:"e9a99a263c294b0a",27992:"daf28998ef0714a0",28025:"1025ed4465b8b88e",28244:"3a5e72d3a4048558",28247:"e5faa56338e43301",29047:"664290ff8a84b205",29708:"0f9c08d7ca8a6036",30285:"7b6b107412564a45",30433:"919c34e206690a26",30550:"a8db081db527730d",30682:"c8fc49d63bf75772",31035:"06568e4accfa4664",31135:"8f2dbe06dab9d206",31204:"a8d94d78458557d5",31467:"2013df596c751e6e",31570:"131868ccedfef522",31618:"663e0a27f529a7b5",31635:"fcbdbf0d1e8271e8",31807:"cf2a0cbbe7eedf32",32092:"f10268018cf52339",32217:"31e64d0e8696d298",32411:"6d37c2b4b2f2efb7",32729:"f7ddbed25cb15da4",32800:"6cee7ff19ca516a7",32900:"57aa606259738bd7",33187:"13c12f5c0821ac57",33316:"6b5f8f344baf7a8a",33665:"20ed9144405f8b21",34037:"e8e16348aca40958",34414:"30d095dd419ccded",34500:"58eb096afca7a3d2",34520:"34ba1239c9b5a275",34565:"58e4d12c607709a2",34780:"ddc8d0403f86cd76",34787:"33a6fe2b98db58fd",34966:"dde9356d869e2a0f",35246:"75a72283c3c974e2",35362:"80b6e5545194566a",35733:"cf4ac3f521c0b06d",35901:"aa7ec713edff30e2",35918:"8e970e73c59cd315",36301:"0598cc26dfacc4a8",36531:"4576573d1554d0bc",36622:"2ecd0754a1dd1f10",36884:"6af20de227ae01d6",36989:"9a0a62410bf9ec4e",37697:"9af6ac899a8114c0",37802:"6e3d9ec6ded108e7",38176:"e1818cbc0df1edff",38259:"d83981da5c72c88a",38277:"f24d85bdc720318e",38513:"2edbf8332418852a",38542:"1b0e31f1f0e79950",38843:"bfbf5f2c316123fb",39012:"d1e022d895c7700f",40294:"82b8b706bf8526d2",41333:"464f95d32db59d47",41796:"b775772add38f765",42515:"0879489433824ebb",43203:"0a24d8e1e04b23e1",43245:"fd54cc2dd98a53cf",43335:"71662f3469b367dd",43520:"4abb22e9bfdeedab",44980:"c17d605b4685ba2d",44996:"e5fc9af9e1283894",45025:"bdb2a46a29ea6a7f",45300:"bac57dcaf4b1ae63",45939:"d37b9465101a9a32",45966:"ece098ca2637c63f",46366:"d1d9d65b646509b3",46778:"cbd78e2a3b8eb454",46783:"b9ce59941eb5c767",46965:"2ed4c28224e29499",47066:"7848777fc81f5714",47492:"6b259d6ee0ddf4d8",47613:"946226a67a1e5cd1",47781:"f25170364c271869",47914:"11c71123fcab1d66",47947:"471d5da6bb51de27",48504:"2efb153cab87148c",48782:"5b60e8a0f22f6da1",49114:"19ce7b83efab6d05",49294:"fb738cc8f6f972c0",49307:"9ac8482ed1916e3d",49312:"b4ee106f6ca8df0d",49406:"f77074487dddb735",49515:"c8964ec6f6c710d1",49812:"9bb0091da44f3fb0",49954:"22ac9c291887443d",50681:"5621dcb316c1dbc0",51094:"83d8278e86159ae3",51159:"cd7d830da0e9a7d2",52644:"999d7bbfb0c77212",52786:"cca2f572d4b83716",53012:"8ea1cc9b669d4071",53323:"19d0c542f89ec743",53854:"80e3b10f38882782",53988:"a7e066e48567fceb",54102:"0057304a9b7c36fd",54176:"1c209b5691615c2d",55034:"91a22d75a4896d26",55156:"70eba4bb5853878e",55683:"c52199afe13b15ed",55973:"c413a5ed34ef941e",57041:"8e2e63f39906fd1e",57660:"e59694e7ee1dda97",58401:"3641b4aeb0a1db04",58633:"6d322b2074b1cd5b",58669:"5239eb8dd5a3486c",58699:"fa3b8ce67889f23b",59848:"e7330c096662be59",59865:"a0136e48383160ce",59907:"ad1253ca7a3c3cea",59944:"1c8f7a84b714a678",60206:"130abcb08ea9a564",60238:"36a32788f3ca64fe",60289:"cd3b3bd12d5566c1",60442:"b031854728be46ff",61719:"b6f17cb6498eec77",61728:"c943fe98606d2f24",61963:"18e80afc0dac41e3",62608:"4f3ab017447b17dc",62681:"86ea4a7f1240e2e6",63255:"262cd1e7cd35ffe9",63306:"03cdfc8e5118dd97",64663:"9974d163d89c8e9d",64733:"0790a2c763961b3f",65317:"7179d4bc41c8075a",65543:"a92297193082467c",65635:"f8007956118a4b5f",65838:"acacc76f9932a395",66109:"2a6ffd90bf3c50be",66166:"5d9b6692f44d4789",66420:"ed3b252047bf2d99",66895:"77a113ea7e9e0e19",66962:"e49d2beb52f4ccd7",67100:"6729ae254487b545",67142:"d2c7895f2f0c0ddb",67458:"930b27b1ef06fd49",67633:"7cfc302383a77925",67676:"7e4d1ac29a054c5a",67966:"9baea607f9d83322",67987:"eb24309f5b6a773f",68067:"b108a5ae88fd156b",68906:"e81b3cb0a0eb3c6e",69083:"a8e8997a24b8507c",69136:"7bc0b66e195430ba",69477:"4b854e377a3860cc",69763:"37d07a3035805bc7",70110:"a55f51e24556d059",70488:"dbde26374c2c08a2",70777:"9cde6b69988ac88e",70899:"75cac02cc1311c86",70901:"76003b037a2c2ad2",71547:"6f736dbb3265d938",71587:"942ffd492f15bdd6",71627:"4fa787d284261d08",71762:"0abb31b68e350f6b",72731:"5ac0a9cf8a2a916b",72740:"022c79c58cd39306",72977:"70c698df7ec867d8",73315:"46afbb4c2ae67b44",73354:"5ac4dbd55effe981",73506:"7423a313220e1769",73886:"c398daab959c90db",74250:"637853b68a0bb5dc",74312:"8d075f77e65364f2",74522:"ed3762dbb6b389b0",74962:"c0f9177875e7f100",75493:"5c2f7c166c002ee9",75693:"47f44d601521bc1b",75847:"0a83259a1ed4c4db",75958:"d9640c4cd9cdd74f",76399:"bb1a5dff754b7126",77008:"fe96b7655475e404",77768:"d5b6fe554fd62dbb",78425:"ee8445a0943525f2",78453:"3e109458064b76e4",78931:"2d78541331d4cf71",79035:"a682e63d1a6c820f",79422:"8e2e63f39906fd1e",79581:"3d0cbc1897c20b80",79788:"9cb75de83877d3a4",79806:"d210b93e41d4d7ff",79983:"6a9732776a2b07d1",80039:"b7b8926c9e98f166",80043:"fc4c6fd07c8c702c",80053:"cccea694a8be7b09",80192:"0b53419821781f47",80447:"cbc8dcd0610f9340",80478:"75454fe2622f8d60",80514:"c180393ccbb2f62e",80559:"4d1ea1e2bde6d65b",80653:"ba5596638b5efe48",80934:"cadd9fcd52d99096",81014:"7b65385965b83d33",81078:"d1b12131827159fc",81768:"13a175a018951bc8",82171:"e532a5af5a92acb9",82292:"2fb55f1ea9249601",82346:"d5de461383d78bd3",82666:"805e44c88f89e4f5",83086:"cf3390a953e4e275",83177:"4b3f31d9e183d57a",83561:"8959cb05be5bba5c",83842:"2211d720bd76fa0a",83978:"78a0d317cfb0f7fa",84553:"26f4216de4e92834",85120:"e1418b8e76b49092",85135:"45ba2b68ef521957",85350:"c86c2e91cf3d247e",85947:"cf4ac5dd618283ee",86533:"96712909323ba4fd",86749:"a4033144c9f1db80",86978:"fcbdaf718d4b4cb8",88087:"6ae9d65d22727e7d",88298:"33f9c586ab229ba6",88343:"f95f9ca9ad905248",88439:"528a166b33a003d3",88958:"3f88a829e6ab9f1d",89091:"e6f60560ceac7848",89231:"7bd196023a80ac20",89379:"ccf569c6fdc84136",89486:"ae3ab6537c32a471",90040:"a0d185d54c4405d8",90179:"1fbab23e5d44b4f0",90669:"fea27affbd10509b",90740:"15b9eae85318ce19",91246:"9377a763aead9164",91468:"5a3936bb7fa502b7",91469:"056f34e448b9e3e5",91709:"f7c8eff0c3692bd6",91848:"089cc7d1be73e1ca",92147:"1340020e2f5cbef2",92924:"d50fc7f02672d2e6",92966:"b84b80410d014b96",93008:"7c404d8dceb67ff3",93722:"8500c1244c0aef9d",93996:"d810c0882af7cbe0",94314:"3bd48a7f7f885bb5",94400:"30696ed643217da2",94521:"f712b07f8f7651a9",94568:"2a2be37b4884c8cd",94725:"da1eff47b3e365cc",94867:"0ee353b2db6bf4f7",95305:"440c9cb9053df6bf",95402:"71d2022a2e2d95ba",95470:"c594ecf25a203664",95792:"10f4124238152859",95963:"67eefa12cb90855f",96028:"427c0bd44fa35314",96132:"3bac072bb2743fb5",96230:"bf5cc20b343c438e",96309:"5c0610a0df7eaade",96554:"e768705a9558aa17",96623:"dd689039b85a3f89",96758:"b001e8afcb01a36d",97008:"ccf2a72ddb49895c",97229:"0b004c237f17530f",97543:"f224959967762c0b",97829:"bed98706765262d6",97974:"2157a18e2a93432f",98171:"be964141d5e6052f",98309:"223ad4f3e01558ae",98340:"8d1870938669f76e",99373:"880b43de1fa6411f",99435:"73c4d651008c0493",99501:"c56a4f18b2fdff6a",99801:"9d73f814d33c5a86"})[e]+".js",c.miniCssF=e=>{},c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={},a="_N_E:";c.l=(d,f,b,t)=>{if(e[d])return void e[d].push(f);if(void 0!==b)for(var r,n,o=document.getElementsByTagName("script"),i=0;i<o.length;i++){var s=o[i];if(s.getAttribute("src")==d||s.getAttribute("data-webpack")==a+b){r=s;break}}r||(n=!0,(r=document.createElement("script")).charset="utf-8",r.timeout=120,c.nc&&r.setAttribute("nonce",c.nc),r.setAttribute("data-webpack",a+b),r.src=c.tu(d)),e[d]=[f];var u=(a,c)=>{r.onerror=r.onload=null,clearTimeout(l);var f=e[d];if(delete e[d],r.parentNode&&r.parentNode.removeChild(r),f&&f.forEach(e=>e(c)),a)return a(c)},l=setTimeout(u.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=u.bind(null,r.onerror),r.onload=u.bind(null,r.onload),n&&document.head.appendChild(r)}})(),c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;c.tt=()=>(void 0===e&&(e={createScriptURL:e=>e},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("nextjs#bundler",e))),e)})(),c.tu=e=>c.tt().createScriptURL(e),c.p="/_next/",(()=>{var e={78068:0,53169:0,32492:0,41282:0};c.f.j=(a,d)=>{var f=c.o(e,a)?e[a]:void 0;if(0!==f)if(f)d.push(f[2]);else if(/^(32492|41282|53169|78068)$/.test(a))e[a]=0;else{var b=new Promise((c,d)=>f=e[a]=[c,d]);d.push(f[2]=b);var t=c.p+c.u(a),r=Error();c.l(t,d=>{if(c.o(e,a)&&(0!==(f=e[a])&&(e[a]=void 0),f)){var b=d&&("load"===d.type?"missing":d.type),t=d&&d.target&&d.target.src;r.message="Loading chunk "+a+" failed.\n("+b+": "+t+")",r.name="ChunkLoadError",r.type=b,r.request=t,f[1](r)}},"chunk-"+a,a)}},c.O.j=a=>0===e[a];var a=(a,d)=>{var f,b,[t,r,n]=d,o=0;if(t.some(a=>0!==e[a])){for(f in r)c.o(r,f)&&(c.m[f]=r[f]);if(n)var i=n(c)}for(a&&a(d);o<t.length;o++)b=t[o],c.o(e,b)&&e[b]&&e[b][0](),e[b]=0;return c.O(i)},d=self.webpackChunk_N_E=self.webpackChunk_N_E||[];d.forEach(a.bind(null,0)),d.push=a.bind(null,d.push.bind(d))})(),c.nc=void 0})();
|
|
1
|
+
(()=>{"use strict";var e={},a={};function c(d){var f=a[d];if(void 0!==f)return f.exports;var b=a[d]={id:d,loaded:!1,exports:{}},t=!0;try{e[d].call(b.exports,b,b.exports,c),t=!1}finally{t&&delete a[d]}return b.loaded=!0,b.exports}c.m=e,(()=>{var e=[];c.O=(a,d,f,b)=>{if(d){b=b||0;for(var t=e.length;t>0&&e[t-1][2]>b;t--)e[t]=e[t-1];e[t]=[d,f,b];return}for(var r=1/0,t=0;t<e.length;t++){for(var[d,f,b]=e[t],n=!0,o=0;o<d.length;o++)(!1&b||r>=b)&&Object.keys(c.O).every(e=>c.O[e](d[o]))?d.splice(o--,1):(n=!1,b<r&&(r=b));if(n){e.splice(t--,1);var i=f();void 0!==i&&(a=i)}}return a}})(),c.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return c.d(a,{a:a}),a},(()=>{var e,a=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;c.t=function(d,f){if(1&f&&(d=this(d)),8&f||"object"==typeof d&&d&&(4&f&&d.__esModule||16&f&&"function"==typeof d.then))return d;var b=Object.create(null);c.r(b);var t={};e=e||[null,a({}),a([]),a(a)];for(var r=2&f&&d;"object"==typeof r&&!~e.indexOf(r);r=a(r))Object.getOwnPropertyNames(r).forEach(e=>t[e]=()=>d[e]);return t.default=()=>d,c.d(b,t),b}})(),c.d=(e,a)=>{for(var d in a)c.o(a,d)&&!c.o(e,d)&&Object.defineProperty(e,d,{enumerable:!0,get:a[d]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce((a,d)=>(c.f[d](e,a),a),[])),c.u=e=>70552===e?"static/chunks/"+e+"-0ea3c887937b5b51.js":27201===e?"static/chunks/"+e+"-0228042991534905.js":14753===e?"static/chunks/"+e+"-d911e24624c88fbc.js":26885===e?"static/chunks/"+e+"-00665cb87b9da098.js":45532===e?"static/chunks/"+e+"-12ed13c096e2a88e.js":30724===e?"static/chunks/"+e+"-627b849ed09f9cc5.js":97784===e?"static/chunks/"+e+"-42081b75f8cc6da8.js":93151===e?"static/chunks/f3524bc3-5c48b74c49ddeca0.js":41752===e?"static/chunks/fcc64ffe-de8d357e657bd162.js":16551===e?"static/chunks/"+e+"-68896c0ca7966ebf.js":"static/chunks/"+(({5571:"4e7df547",14749:"5db68f07",15968:"14860d7c",17203:"7a5af761",19019:"1496d684",20341:"cbbc2011",24364:"fbd0dcbb",32217:"1ccec16d",43245:"48c55e57",49954:"a856cf35",58669:"4f8e262c",65543:"685092b2",69136:"5be1c5d8",77008:"fab3cf95",80039:"f4bf7a28",82346:"273acdc0",83086:"8c93d9a0",95402:"f57f1d5e",95792:"f2442412"})[e]||e)+"."+({123:"b47ce56e923e1dc4",283:"4d4eca86c7abbec9",493:"737fdeba759d415a",1236:"ec9ed804634bb6cf",1697:"58e0d7523fdd2d52",1803:"8e2e63f39906fd1e",1847:"90012f795031fd15",2164:"d977bc7d148f1d9e",2351:"35085ef2663aaa44",2656:"febbce72896f5701",2829:"ae5196f6cb23aa62",2842:"a5f90cf26f897bfc",3333:"74af47ffa6cb4c0e",3709:"a528fc6526bb2f1d",4123:"bf0bc76b87e0a5d0",4151:"b8833633f487c3d5",4435:"0da86212e371da10",4860:"e3d0dd79a4d37626",5020:"e7e6f35316da8d79",5336:"3fcd63f65fab9362",5559:"34e9e404696c82c0",5571:"fa34ffab38ba73b3",6178:"d88e2b68a2a1e09b",6685:"e23946c2ee579a76",7037:"d00688ceefb9f163",7123:"37f20f0e10894a3c",7140:"099e6f0e9722e08f",7317:"1a06bc56028637f6",7387:"f8cf2c36cf9b56dc",8563:"caa84c08a9db867a",8859:"fd4fa52883f05b54",9357:"084ac7f230f031a3",9560:"2e77d2dc6351b105",9634:"14999324d0128b0e",9858:"5eb9e5d689ee1188",9872:"bfcbe3b40e1ba7a3",10171:"8a96856626beb7ab",10667:"c192840fc1b34161",10742:"6cc4d6949065d15a",11160:"058f4a27a4ccab24",11688:"8c27089c45c98079",11966:"36fab6445e33609a",12139:"23195d4025c449dd",12850:"a5f6e9e87d0f9abd",12906:"f2105800b7dc9127",12994:"ea3d4eeb1b15ce47",13131:"e73eb283f14ed397",13437:"0de1f2000c75f497",13462:"b710822936d6d995",14438:"153e2ffb65627b56",14749:"5a8891ea355512a8",15666:"fd13db7fdfc4db46",15736:"4a506a1463e65905",15930:"faf0ba15488aa8ff",15968:"67246c65e7776fa2",16271:"298647c24de4c656",16428:"da33ee8ca31c4d8f",16564:"310c443d14c6e84b",16596:"3c557433b77dc606",16669:"c0967e6ad7401c26",17012:"78f2a6b93e37bf95",17045:"cf6dade16b25ffc7",17093:"ec17cca1979a34c5",17203:"84e2df2bf9d6c4a4",17881:"2eba69b477a8c7f7",18024:"360cc54c2f070fa1",18236:"02c13f95242e1147",18276:"4e4950daea1be290",18291:"6c48a745093c472f",19015:"e0d16d65430522c1",19019:"da3969c029230434",19338:"65cfcfafa18f6aee",19656:"ee0407bae11dd49b",20118:"5e7942f9d596e02b",20171:"9c80c2880256be96",20186:"2a00fa806bf383a5",20341:"a1649a45ba0da5ab",20586:"7cd940a582176e37",20587:"d03a7c9ddae70251",20851:"383095475aa0becf",21063:"5cc29b3160a78147",21233:"fbc3473b758427be",21285:"944c1ff822774352",21290:"ef2762694c3c05e5",21343:"eb8e7aeda8b2b933",21546:"8b2a80eefde810c5",21558:"e72df6c050a17223",21785:"19b23ee028f6262f",21789:"ad6ff228e2917e82",22190:"ee4e8f3ac0189d87",22463:"8f0a0111946c5e37",22485:"9f11764648028b9d",23338:"01f537c5dfd51363",23895:"a3ad3684a5b39547",24021:"e608f829b761ed19",24364:"a59ebe9142818688",24562:"f31cdddfe04624d0",24566:"605ccb37c2b09b7f",24976:"aea37ff8444ce6ca",25018:"51cf65637b375c88",25239:"e13f63bff8d7f459",25934:"45b477fc38b233d5",26558:"337afe8cd6c7f7e2",26594:"9cd92c85c51a3621",26604:"c5f0e687052abb59",27004:"7265fd004542a6ae",27261:"3ad525eea1f52dc3",27509:"8f83a84fed1129f3",27571:"33642de22553efae",27783:"70af75ac091e5b31",27929:"e9a99a263c294b0a",27992:"daf28998ef0714a0",28025:"1025ed4465b8b88e",28244:"3a5e72d3a4048558",28247:"e5faa56338e43301",29047:"664290ff8a84b205",29708:"0f9c08d7ca8a6036",30285:"7b6b107412564a45",30433:"919c34e206690a26",30550:"a8db081db527730d",30682:"c8fc49d63bf75772",31035:"06568e4accfa4664",31135:"8f2dbe06dab9d206",31204:"a8d94d78458557d5",31467:"2013df596c751e6e",31570:"131868ccedfef522",31618:"663e0a27f529a7b5",31635:"fcbdbf0d1e8271e8",31807:"cf2a0cbbe7eedf32",32092:"f10268018cf52339",32217:"31e64d0e8696d298",32411:"6d37c2b4b2f2efb7",32729:"f7ddbed25cb15da4",32800:"6cee7ff19ca516a7",32900:"57aa606259738bd7",33187:"1328c15b9dab78a8",33316:"6b5f8f344baf7a8a",33665:"20ed9144405f8b21",34037:"e8e16348aca40958",34414:"30d095dd419ccded",34500:"58eb096afca7a3d2",34520:"34ba1239c9b5a275",34565:"58e4d12c607709a2",34780:"ddc8d0403f86cd76",34787:"33a6fe2b98db58fd",34966:"dde9356d869e2a0f",35246:"75a72283c3c974e2",35362:"80b6e5545194566a",35733:"cf4ac3f521c0b06d",35901:"aa7ec713edff30e2",35918:"8e970e73c59cd315",36301:"0598cc26dfacc4a8",36531:"4576573d1554d0bc",36622:"2ecd0754a1dd1f10",36884:"6af20de227ae01d6",36989:"9a0a62410bf9ec4e",37697:"9af6ac899a8114c0",37802:"6e3d9ec6ded108e7",38176:"e1818cbc0df1edff",38259:"d83981da5c72c88a",38277:"f24d85bdc720318e",38513:"2edbf8332418852a",38542:"1b0e31f1f0e79950",38843:"bfbf5f2c316123fb",39012:"d1e022d895c7700f",40294:"82b8b706bf8526d2",41333:"464f95d32db59d47",41796:"b775772add38f765",42515:"0879489433824ebb",43203:"0a24d8e1e04b23e1",43245:"fd54cc2dd98a53cf",43335:"71662f3469b367dd",43520:"4abb22e9bfdeedab",44980:"c17d605b4685ba2d",44996:"e5fc9af9e1283894",45025:"bdb2a46a29ea6a7f",45300:"bac57dcaf4b1ae63",45939:"d37b9465101a9a32",45966:"ece098ca2637c63f",46366:"d1d9d65b646509b3",46778:"cbd78e2a3b8eb454",46783:"b9ce59941eb5c767",46965:"2ed4c28224e29499",47066:"7848777fc81f5714",47492:"6b259d6ee0ddf4d8",47613:"946226a67a1e5cd1",47781:"f25170364c271869",47914:"11c71123fcab1d66",47947:"471d5da6bb51de27",48504:"2efb153cab87148c",48782:"5b60e8a0f22f6da1",49114:"19ce7b83efab6d05",49294:"fb738cc8f6f972c0",49307:"9ac8482ed1916e3d",49312:"b4ee106f6ca8df0d",49406:"f77074487dddb735",49515:"c8964ec6f6c710d1",49812:"9bb0091da44f3fb0",49954:"22ac9c291887443d",50681:"5621dcb316c1dbc0",51094:"83d8278e86159ae3",51159:"cd7d830da0e9a7d2",52644:"999d7bbfb0c77212",52786:"cca2f572d4b83716",53012:"8ea1cc9b669d4071",53323:"19d0c542f89ec743",53854:"80e3b10f38882782",53988:"a7e066e48567fceb",54102:"0057304a9b7c36fd",54176:"1c209b5691615c2d",55034:"91a22d75a4896d26",55156:"70eba4bb5853878e",55683:"c52199afe13b15ed",55973:"c413a5ed34ef941e",57041:"8e2e63f39906fd1e",57660:"e59694e7ee1dda97",58401:"3641b4aeb0a1db04",58633:"6d322b2074b1cd5b",58669:"5239eb8dd5a3486c",58699:"fa3b8ce67889f23b",59848:"e7330c096662be59",59865:"a0136e48383160ce",59907:"ad1253ca7a3c3cea",59944:"1c8f7a84b714a678",60206:"130abcb08ea9a564",60238:"36a32788f3ca64fe",60289:"cd3b3bd12d5566c1",60442:"b031854728be46ff",61719:"b6f17cb6498eec77",61728:"c943fe98606d2f24",61963:"18e80afc0dac41e3",62608:"4f3ab017447b17dc",62681:"86ea4a7f1240e2e6",63255:"262cd1e7cd35ffe9",63306:"03cdfc8e5118dd97",64663:"9974d163d89c8e9d",64733:"0790a2c763961b3f",65317:"7179d4bc41c8075a",65543:"a92297193082467c",65635:"f8007956118a4b5f",65838:"acacc76f9932a395",66109:"2a6ffd90bf3c50be",66166:"5d9b6692f44d4789",66420:"ed3b252047bf2d99",66895:"77a113ea7e9e0e19",66962:"e49d2beb52f4ccd7",67100:"6729ae254487b545",67142:"d2c7895f2f0c0ddb",67458:"930b27b1ef06fd49",67633:"7cfc302383a77925",67676:"7e4d1ac29a054c5a",67966:"9baea607f9d83322",67987:"eb24309f5b6a773f",68067:"b108a5ae88fd156b",68906:"e81b3cb0a0eb3c6e",69083:"a8e8997a24b8507c",69136:"7bc0b66e195430ba",69477:"4b854e377a3860cc",69763:"37d07a3035805bc7",70110:"a55f51e24556d059",70488:"dbde26374c2c08a2",70777:"9cde6b69988ac88e",70899:"75cac02cc1311c86",70901:"76003b037a2c2ad2",71547:"6f736dbb3265d938",71587:"942ffd492f15bdd6",71627:"4fa787d284261d08",71762:"0abb31b68e350f6b",72731:"5ac0a9cf8a2a916b",72740:"022c79c58cd39306",72977:"70c698df7ec867d8",73315:"46afbb4c2ae67b44",73354:"5ac4dbd55effe981",73506:"7423a313220e1769",73886:"c398daab959c90db",74250:"637853b68a0bb5dc",74312:"8d075f77e65364f2",74522:"ed3762dbb6b389b0",74962:"c0f9177875e7f100",75493:"5c2f7c166c002ee9",75693:"47f44d601521bc1b",75847:"0a83259a1ed4c4db",75958:"d9640c4cd9cdd74f",76399:"bb1a5dff754b7126",77008:"fe96b7655475e404",77768:"d5b6fe554fd62dbb",78425:"ee8445a0943525f2",78453:"3e109458064b76e4",78931:"2d78541331d4cf71",79035:"a682e63d1a6c820f",79422:"8e2e63f39906fd1e",79581:"3d0cbc1897c20b80",79788:"9cb75de83877d3a4",79806:"d210b93e41d4d7ff",79983:"6a9732776a2b07d1",80039:"b7b8926c9e98f166",80043:"fc4c6fd07c8c702c",80053:"cccea694a8be7b09",80192:"0b53419821781f47",80447:"cbc8dcd0610f9340",80478:"75454fe2622f8d60",80514:"c180393ccbb2f62e",80559:"4d1ea1e2bde6d65b",80653:"ba5596638b5efe48",80934:"cadd9fcd52d99096",81014:"7b65385965b83d33",81078:"d1b12131827159fc",81768:"13a175a018951bc8",82171:"e532a5af5a92acb9",82292:"2fb55f1ea9249601",82346:"d5de461383d78bd3",82666:"805e44c88f89e4f5",83086:"cf3390a953e4e275",83177:"4b3f31d9e183d57a",83561:"8959cb05be5bba5c",83842:"2211d720bd76fa0a",83978:"78a0d317cfb0f7fa",84553:"26f4216de4e92834",85120:"e1418b8e76b49092",85135:"45ba2b68ef521957",85350:"c86c2e91cf3d247e",85947:"cf4ac5dd618283ee",86533:"96712909323ba4fd",86749:"a4033144c9f1db80",86978:"fcbdaf718d4b4cb8",88087:"6ae9d65d22727e7d",88298:"33f9c586ab229ba6",88343:"f95f9ca9ad905248",88439:"528a166b33a003d3",88958:"3f88a829e6ab9f1d",89091:"e6f60560ceac7848",89231:"7bd196023a80ac20",89379:"ccf569c6fdc84136",89486:"ae3ab6537c32a471",90040:"a0d185d54c4405d8",90179:"1fbab23e5d44b4f0",90669:"fea27affbd10509b",90740:"15b9eae85318ce19",91246:"9377a763aead9164",91468:"5a3936bb7fa502b7",91469:"056f34e448b9e3e5",91709:"f7c8eff0c3692bd6",91848:"089cc7d1be73e1ca",92147:"1340020e2f5cbef2",92924:"d50fc7f02672d2e6",92966:"b84b80410d014b96",93008:"7c404d8dceb67ff3",93722:"8500c1244c0aef9d",93996:"d810c0882af7cbe0",94314:"3bd48a7f7f885bb5",94400:"30696ed643217da2",94521:"f712b07f8f7651a9",94568:"2a2be37b4884c8cd",94725:"da1eff47b3e365cc",94867:"0ee353b2db6bf4f7",95305:"440c9cb9053df6bf",95402:"71d2022a2e2d95ba",95470:"c594ecf25a203664",95792:"10f4124238152859",95963:"67eefa12cb90855f",96028:"427c0bd44fa35314",96132:"3bac072bb2743fb5",96230:"bf5cc20b343c438e",96309:"5c0610a0df7eaade",96554:"e768705a9558aa17",96623:"dd689039b85a3f89",96758:"b001e8afcb01a36d",97008:"ccf2a72ddb49895c",97229:"0b004c237f17530f",97543:"f224959967762c0b",97829:"bed98706765262d6",97974:"2157a18e2a93432f",98171:"be964141d5e6052f",98309:"223ad4f3e01558ae",98340:"8d1870938669f76e",99373:"cc6319fa4cf36081",99435:"73c4d651008c0493",99501:"c56a4f18b2fdff6a",99801:"9d73f814d33c5a86"})[e]+".js",c.miniCssF=e=>{},c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={},a="_N_E:";c.l=(d,f,b,t)=>{if(e[d])return void e[d].push(f);if(void 0!==b)for(var r,n,o=document.getElementsByTagName("script"),i=0;i<o.length;i++){var s=o[i];if(s.getAttribute("src")==d||s.getAttribute("data-webpack")==a+b){r=s;break}}r||(n=!0,(r=document.createElement("script")).charset="utf-8",r.timeout=120,c.nc&&r.setAttribute("nonce",c.nc),r.setAttribute("data-webpack",a+b),r.src=c.tu(d)),e[d]=[f];var u=(a,c)=>{r.onerror=r.onload=null,clearTimeout(l);var f=e[d];if(delete e[d],r.parentNode&&r.parentNode.removeChild(r),f&&f.forEach(e=>e(c)),a)return a(c)},l=setTimeout(u.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=u.bind(null,r.onerror),r.onload=u.bind(null,r.onload),n&&document.head.appendChild(r)}})(),c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;c.tt=()=>(void 0===e&&(e={createScriptURL:e=>e},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("nextjs#bundler",e))),e)})(),c.tu=e=>c.tt().createScriptURL(e),c.p="/_next/",(()=>{var e={78068:0,53169:0,32492:0,41282:0};c.f.j=(a,d)=>{var f=c.o(e,a)?e[a]:void 0;if(0!==f)if(f)d.push(f[2]);else if(/^(32492|41282|53169|78068)$/.test(a))e[a]=0;else{var b=new Promise((c,d)=>f=e[a]=[c,d]);d.push(f[2]=b);var t=c.p+c.u(a),r=Error();c.l(t,d=>{if(c.o(e,a)&&(0!==(f=e[a])&&(e[a]=void 0),f)){var b=d&&("load"===d.type?"missing":d.type),t=d&&d.target&&d.target.src;r.message="Loading chunk "+a+" failed.\n("+b+": "+t+")",r.name="ChunkLoadError",r.type=b,r.request=t,f[1](r)}},"chunk-"+a,a)}},c.O.j=a=>0===e[a];var a=(a,d)=>{var f,b,[t,r,n]=d,o=0;if(t.some(a=>0!==e[a])){for(f in r)c.o(r,f)&&(c.m[f]=r[f]);if(n)var i=n(c)}for(a&&a(d);o<t.length;o++)b=t[o],c.o(e,b)&&e[b]&&e[b][0](),e[b]=0;return c.O(i)},d=self.webpackChunk_N_E=self.webpackChunk_N_E||[];d.forEach(a.bind(null,0)),d.push=a.bind(null,d.push.bind(d))})(),c.nc=void 0})();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chorus-aidlc/chorus",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"description": "The Agent Harness for AI-Human Collaboration — session lifecycle, task state, sub-agent orchestration, observability, and failure recovery",
|
|
5
5
|
"homepage": "https://github.com/Chorus-AIDLC/Chorus",
|
|
6
6
|
"repository": {
|
package/README.md
CHANGED
|
@@ -96,7 +96,7 @@ DATABASE_URL=postgresql://user:pass@host:5432/chorus chorus
|
|
|
96
96
|
|
|
97
97
|
The `chorus daemon` connects your local machine to a remote Chorus server as an agent runtime and executes tasks assigned by Chorus.
|
|
98
98
|
|
|
99
|
-
> **
|
|
99
|
+
> **Agent backends:** **Claude Code** (default) and **Codex** are supported — select with `--agent codex` (or `CHORUS_AGENT=codex`). Support for other agent CLIs (Copilot, etc.) is planned for future releases.
|
|
100
100
|
|
|
101
101
|
```bash
|
|
102
102
|
chorus login # Authenticate (opens browser)
|
|
@@ -110,7 +110,7 @@ chorus daemon logs # View daemon logs
|
|
|
110
110
|
|
|
111
111
|
**Key features:**
|
|
112
112
|
|
|
113
|
-
- **Claude Code
|
|
113
|
+
- **Claude Code & Codex backends** — Auto-detects the `claude` (or `codex`) CLI on your PATH; pick with `--agent codex`
|
|
114
114
|
- **Background mode** — Run with `-d` flag; manage with `stop/restart/logs`
|
|
115
115
|
- **Permission modes** — Default is full access (yolo); use `--chorus-only` to restrict to Chorus MCP tools only
|
|
116
116
|
- **Multi-path** — Serve several working directories from one daemon with repeatable `--cwd` (see below)
|
package/README.zh.md
CHANGED
|
@@ -87,7 +87,7 @@ DATABASE_URL=postgresql://user:pass@host:5432/chorus chorus
|
|
|
87
87
|
|
|
88
88
|
`chorus daemon` 将你的本地机器作为 Agent 运行时连接到远程 Chorus 服务器并执行 Chorus 分配的任务。
|
|
89
89
|
|
|
90
|
-
>
|
|
90
|
+
> **Agent 后端:** 支持 **Claude Code**(默认)和 **Codex**,用 `--agent codex`(或 `CHORUS_AGENT=codex`)切换。对其他 Agent CLI(Copilot 等)的支持计划在未来版本中实现。
|
|
91
91
|
|
|
92
92
|
```bash
|
|
93
93
|
chorus login # 认证(打开浏览器)
|
|
@@ -101,7 +101,7 @@ chorus daemon logs # 查看 daemon 日志
|
|
|
101
101
|
|
|
102
102
|
**主要特性:**
|
|
103
103
|
|
|
104
|
-
- **Claude Code
|
|
104
|
+
- **Claude Code 与 Codex 后端** — 自动检测 PATH 中的 `claude`(或 `codex`)CLI;用 `--agent codex` 选择
|
|
105
105
|
- **后台模式** — 使用 `-d` 标志后台运行;用 `stop/restart/logs` 管理
|
|
106
106
|
- **权限模式** — 默认完全访问(yolo);使用 `--chorus-only` 限制为仅 Chorus MCP 工具
|
|
107
107
|
- **多路径** — 用可重复的 `--cwd` 让单个 daemon 同时服务多个工作目录(见下文)
|
package/cli/client-args.mjs
CHANGED
|
@@ -107,7 +107,7 @@ OPTIONS
|
|
|
107
107
|
--url <url> Remote Chorus server URL (env: CHORUS_URL)
|
|
108
108
|
--api-key <cho_...> Agent API key (env: CHORUS_API_KEY)
|
|
109
109
|
--agent <type> Local agent backend to wake (env: CHORUS_AGENT)
|
|
110
|
-
(
|
|
110
|
+
(claude-code | codex; default: claude-code)
|
|
111
111
|
--yolo Full autonomy for the woken agent (env: CHORUS_YOLO=1)
|
|
112
112
|
(--dangerously-skip-permissions: Bash, file writes, any
|
|
113
113
|
command). This is the DEFAULT permission mode.
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
// cli/codex-session-map.mjs
|
|
2
|
+
// Daemon-local persistence of the Codex `anchor → thread_id` map. Codex GENERATES
|
|
3
|
+
// its own thread id (unlike Claude, which accepts a client-supplied --session-id),
|
|
4
|
+
// so to make a wake resumable across daemon restarts we record the generated id
|
|
5
|
+
// keyed by the Chorus session anchor (direct idea uuid, or the entity uuid for an
|
|
6
|
+
// ad-hoc session) and `codex exec resume <thread_id>` on the next wake.
|
|
7
|
+
//
|
|
8
|
+
// The store is a single JSON object `{ "<anchor>": "<thread_id>" }` at
|
|
9
|
+
// ~/.chorus/codex-sessions.json (same dir family as daemon.json). The anchor is a
|
|
10
|
+
// globally-unique Chorus uuid, so one flat file is safe across the daemon's
|
|
11
|
+
// multiple path-connections.
|
|
12
|
+
//
|
|
13
|
+
// CONTRACT: this is best-effort and MUST NEVER throw into the wake path. Any
|
|
14
|
+
// read/parse/write/rename failure degrades to "no mapping → next wake starts
|
|
15
|
+
// fresh" with a visible log (no-silent-errors). IO is injectable for tests.
|
|
16
|
+
|
|
17
|
+
import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
18
|
+
import { homedir } from "node:os";
|
|
19
|
+
import { dirname, join } from "node:path";
|
|
20
|
+
|
|
21
|
+
const NOOP_LOGGER = { info() {}, warn() {}, error() {} };
|
|
22
|
+
|
|
23
|
+
/** Absolute path to the Codex session-id map, alongside ~/.chorus/daemon.json. */
|
|
24
|
+
export function codexSessionMapPath() {
|
|
25
|
+
return join(homedir(), ".chorus", "codex-sessions.json");
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/** A non-empty trimmed string, or null. */
|
|
29
|
+
function nonEmpty(value) {
|
|
30
|
+
return typeof value === "string" && value.trim().length > 0 ? value : null;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Read the whole map as a plain object. Missing / unreadable / malformed file →
|
|
35
|
+
* `{}` (never throws). A non-object JSON value (array / scalar) is also treated
|
|
36
|
+
* as empty.
|
|
37
|
+
* @param {string} path
|
|
38
|
+
* @param {(p: string) => string} read
|
|
39
|
+
* @param {{warn(m:string):void}} logger
|
|
40
|
+
* @returns {Record<string, unknown>}
|
|
41
|
+
*/
|
|
42
|
+
function readMap(path, read, logger) {
|
|
43
|
+
let raw;
|
|
44
|
+
try {
|
|
45
|
+
raw = read(path);
|
|
46
|
+
} catch (err) {
|
|
47
|
+
// ENOENT is the normal "no map yet" case — silent. Other read errors warn.
|
|
48
|
+
if (!(err && err.code === "ENOENT")) {
|
|
49
|
+
logger.warn(`[Chorus] codex-session-map: read failed (${err}) — treating as empty`);
|
|
50
|
+
}
|
|
51
|
+
return {};
|
|
52
|
+
}
|
|
53
|
+
try {
|
|
54
|
+
const parsed = JSON.parse(raw);
|
|
55
|
+
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
56
|
+
logger.warn("[Chorus] codex-session-map: file is not a JSON object — treating as empty");
|
|
57
|
+
return {};
|
|
58
|
+
} catch (err) {
|
|
59
|
+
logger.warn(`[Chorus] codex-session-map: corrupt JSON (${err}) — treating as empty`);
|
|
60
|
+
return {};
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Look up the Codex thread id recorded for `anchor`, or null when there is none
|
|
66
|
+
* (no file, no entry, or a non-string entry). Never throws.
|
|
67
|
+
* @param {string} anchor
|
|
68
|
+
* @param {{ path?: string, read?: (p: string) => string, logger?: any }} [deps]
|
|
69
|
+
* @returns {string | null}
|
|
70
|
+
*/
|
|
71
|
+
export function getThreadId(anchor, deps = {}) {
|
|
72
|
+
const a = nonEmpty(anchor);
|
|
73
|
+
if (!a) return null;
|
|
74
|
+
const path = deps.path ?? codexSessionMapPath();
|
|
75
|
+
const read = deps.read ?? ((p) => readFileSync(p, "utf8"));
|
|
76
|
+
const logger = deps.logger ?? NOOP_LOGGER;
|
|
77
|
+
const map = readMap(path, read, logger);
|
|
78
|
+
return nonEmpty(map[a]);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Record `anchor → threadId`, preserving every other entry. Atomic (temp file +
|
|
83
|
+
* rename). Best-effort: a blank anchor/threadId is ignored (no write), and any
|
|
84
|
+
* IO failure is logged and swallowed — it never throws into the wake path.
|
|
85
|
+
* @param {string} anchor
|
|
86
|
+
* @param {string} threadId
|
|
87
|
+
* @param {{ path?: string, read?: (p: string) => string,
|
|
88
|
+
* write?: (p: string, c: string, o?: object) => void,
|
|
89
|
+
* mkdir?: (p: string, o?: object) => void,
|
|
90
|
+
* rename?: (from: string, to: string) => void, logger?: any }} [deps]
|
|
91
|
+
* @returns {void}
|
|
92
|
+
*/
|
|
93
|
+
export function setThreadId(anchor, threadId, deps = {}) {
|
|
94
|
+
const a = nonEmpty(anchor);
|
|
95
|
+
const t = nonEmpty(threadId);
|
|
96
|
+
if (!a || !t) return; // nothing meaningful to persist
|
|
97
|
+
const path = deps.path ?? codexSessionMapPath();
|
|
98
|
+
const read = deps.read ?? ((p) => readFileSync(p, "utf8"));
|
|
99
|
+
const write = deps.write ?? writeFileSync;
|
|
100
|
+
const mkdir = deps.mkdir ?? mkdirSync;
|
|
101
|
+
const rename = deps.rename ?? renameSync;
|
|
102
|
+
const logger = deps.logger ?? NOOP_LOGGER;
|
|
103
|
+
|
|
104
|
+
try {
|
|
105
|
+
const map = readMap(path, read, logger);
|
|
106
|
+
map[a] = t;
|
|
107
|
+
mkdir(dirname(path), { recursive: true });
|
|
108
|
+
// Atomic write: temp file (0600) in the same dir, then rename over target,
|
|
109
|
+
// so a crash mid-write never truncates the live map.
|
|
110
|
+
const tmp = `${path}.tmp`;
|
|
111
|
+
write(tmp, JSON.stringify(map, null, 2) + "\n", { mode: 0o600 });
|
|
112
|
+
rename(tmp, path);
|
|
113
|
+
} catch (err) {
|
|
114
|
+
// Best-effort: a failed persist just means the next wake starts fresh.
|
|
115
|
+
logger.warn(`[Chorus] codex-session-map: failed to persist ${a}→${t} (${err}) — wake will start fresh next time`);
|
|
116
|
+
}
|
|
117
|
+
}
|