chorus-codes 0.8.14 → 0.8.16
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/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +1 -1
- package/.next/build-manifest.json +2 -2
- package/.next/prerender-manifest.json +3 -3
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +2 -2
- package/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/api/run-artifacts/[chatId]/route.js +1 -1
- package/.next/server/app/connect/page_client-reference-manifest.js +1 -1
- package/.next/server/app/demo/[scenario]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/new/page_client-reference-manifest.js +1 -1
- package/.next/server/app/new.html +1 -1
- package/.next/server/app/new.rsc +2 -2
- package/.next/server/app/new.segments/_full.segment.rsc +2 -2
- package/.next/server/app/new.segments/_head.segment.rsc +1 -1
- package/.next/server/app/new.segments/_index.segment.rsc +2 -2
- package/.next/server/app/new.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/new.segments/new/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/new.segments/new.segment.rsc +1 -1
- package/.next/server/app/onboarding/page_client-reference-manifest.js +1 -1
- package/.next/server/app/onboarding.html +1 -1
- package/.next/server/app/onboarding.rsc +2 -2
- package/.next/server/app/onboarding.segments/_full.segment.rsc +2 -2
- package/.next/server/app/onboarding.segments/_head.segment.rsc +1 -1
- package/.next/server/app/onboarding.segments/_index.segment.rsc +2 -2
- package/.next/server/app/onboarding.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/onboarding.segments/onboarding/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/onboarding.segments/onboarding.segment.rsc +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/personas/page_client-reference-manifest.js +1 -1
- package/.next/server/app/personas.html +1 -1
- package/.next/server/app/personas.rsc +2 -2
- package/.next/server/app/personas.segments/_full.segment.rsc +2 -2
- package/.next/server/app/personas.segments/_head.segment.rsc +1 -1
- package/.next/server/app/personas.segments/_index.segment.rsc +2 -2
- package/.next/server/app/personas.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/personas.segments/personas/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/personas.segments/personas.segment.rsc +1 -1
- package/.next/server/app/runs/[runId]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/runs/page_client-reference-manifest.js +1 -1
- package/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/.next/server/app/settings/permissions/page_client-reference-manifest.js +1 -1
- package/.next/server/app/settings.html +1 -1
- package/.next/server/app/settings.rsc +2 -2
- package/.next/server/app/settings.segments/_full.segment.rsc +2 -2
- package/.next/server/app/settings.segments/_head.segment.rsc +1 -1
- package/.next/server/app/settings.segments/_index.segment.rsc +2 -2
- package/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/settings.segments/settings.segment.rsc +1 -1
- package/.next/server/app/templates/page_client-reference-manifest.js +1 -1
- package/.next/server/app/templates.html +1 -1
- package/.next/server/app/templates.rsc +2 -2
- package/.next/server/app/templates.segments/_full.segment.rsc +2 -2
- package/.next/server/app/templates.segments/_head.segment.rsc +1 -1
- package/.next/server/app/templates.segments/_index.segment.rsc +2 -2
- package/.next/server/app/templates.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/templates.segments/templates/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/templates.segments/templates.segment.rsc +1 -1
- package/.next/server/app-paths-manifest.json +1 -1
- package/.next/server/chunks/325.js +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/245-e103518e1c6037c0.js +1 -0
- package/.next/static/css/d2bb161eb5bee944.css +3 -0
- package/.next/trace +20 -20
- package/.next/trace-build +1 -1
- package/dist/daemon/agents/parsers/gemini.js +17 -13
- package/dist/daemon/agents/parsers/gemini.js.map +1 -1
- package/dist/daemon/runner/reviewer.js +27 -0
- package/dist/daemon/runner/reviewer.js.map +1 -1
- package/package.json +1 -1
- package/.next/static/chunks/245-934c5ce426296df5.js +0 -1
- package/.next/static/css/55e13578d64f89b0.css +0 -3
- /package/.next/static/{SsXK_ZdfRKwQhMMuiH23K → 7C4cUPwLKOxbH_klopEvr}/_buildManifest.js +0 -0
- /package/.next/static/{SsXK_ZdfRKwQhMMuiH23K → 7C4cUPwLKOxbH_klopEvr}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/templates/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"821":{"*":{"id":"24188","name":"*","chunks":[],"async":false}},"1195":{"*":{"id":"70173","name":"*","chunks":[],"async":false}},"1245":{"*":{"id":"72325","name":"*","chunks":[],"async":false}},"1727":{"*":{"id":"43317","name":"*","chunks":[],"async":false}},"1996":{"*":{"id":"74679","name":"*","chunks":[],"async":false}},"2573":{"*":{"id":"23937","name":"*","chunks":[],"async":false}},"2897":{"*":{"id":"31193","name":"*","chunks":[],"async":false}},"3068":{"*":{"id":"68936","name":"*","chunks":[],"async":false}},"3720":{"*":{"id":"10186","name":"*","chunks":[],"async":false}},"3779":{"*":{"id":"76941","name":"*","chunks":[],"async":false}},"3810":{"*":{"id":"55978","name":"*","chunks":[],"async":false}},"4400":{"*":{"id":"67485","name":"*","chunks":[],"async":false}},"4473":{"*":{"id":"37373","name":"*","chunks":[],"async":false}},"4538":{"*":{"id":"50018","name":"*","chunks":[],"async":false}},"5017":{"*":{"id":"62753","name":"*","chunks":[],"async":false}},"5249":{"*":{"id":"28351","name":"*","chunks":[],"async":false}},"5482":{"*":{"id":"85080","name":"*","chunks":[],"async":false}},"5484":{"*":{"id":"25980","name":"*","chunks":[],"async":false}},"5921":{"*":{"id":"58874","name":"*","chunks":[],"async":false}},"6141":{"*":{"id":"46075","name":"*","chunks":[],"async":false}},"6501":{"*":{"id":"3758","name":"*","chunks":[],"async":false}},"7130":{"*":{"id":"42492","name":"*","chunks":[],"async":false}},"8344":{"*":{"id":"86095","name":"*","chunks":[],"async":false}},"8359":{"*":{"id":"96941","name":"*","chunks":[],"async":false}},"8952":{"*":{"id":"79652","name":"*","chunks":[],"async":false}},"9823":{"*":{"id":"6699","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/global-error.js":{"id":3720,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":3720,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-page.js":{"id":4473,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-page.js":{"id":4473,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-segment.js":{"id":3779,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-segment.js":{"id":3779,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":8952,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":8952,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/layout-router.js":{"id":5484,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/layout-router.js":{"id":5484,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/render-from-template-context.js":{"id":5482,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":5482,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/framework/boundary-components.js":{"id":5017,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":5017,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":3068,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":3068,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist\",\"arguments\":[{\"variable\":\"--font-geist-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"geistSans\"}":{"id":2051,"name":"*","chunks":["177","static/chunks/app/layout-df8acd5bd06cbe45.js"],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist_Mono\",\"arguments\":[{\"variable\":\"--font-geist-mono\",\"subsets\":[\"latin\"]}],\"variableName\":\"geistMono\"}":{"id":9241,"name":"*","chunks":["177","static/chunks/app/layout-df8acd5bd06cbe45.js"],"async":false},"/home/ubuntu/dev/chorus/src/app/globals.css":{"id":6315,"name":"*","chunks":["177","static/chunks/app/layout-df8acd5bd06cbe45.js"],"async":false},"/home/ubuntu/dev/chorus/src/app/new/page.tsx":{"id":6141,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/src/app/onboarding/page.tsx":{"id":1996,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/src/app/personas/page.tsx":{"id":5921,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/src/app/settings/page.tsx":{"id":3810,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/src/app/templates/page.tsx":{"id":4538,"name":"*","chunks":["116","static/chunks/116-8bf7e014066cedde.js","720","static/chunks/720-9732eeb760e004e3.js","15","static/chunks/15-d438a2b057302bed.js","641","static/chunks/641-60721f44faf711b9.js","344","static/chunks/344-57b337448af965da.js","744","static/chunks/744-0dbe0ecdef7c2a4a.js","814","static/chunks/app/templates/page-67b63a2565d8de09.js"],"async":false},"/home/ubuntu/dev/chorus/src/components/app-sidebar.tsx":{"id":821,"name":"*","chunks":["116","static/chunks/116-8bf7e014066cedde.js","720","static/chunks/720-9732eeb760e004e3.js","641","static/chunks/641-60721f44faf711b9.js","344","static/chunks/344-57b337448af965da.js","974","static/chunks/app/page-ad539065ba9128bb.js"],"async":false},"/home/ubuntu/dev/chorus/src/components/mobile-top-bar.tsx":{"id":8344,"name":"*","chunks":["116","static/chunks/116-8bf7e014066cedde.js","720","static/chunks/720-9732eeb760e004e3.js","641","static/chunks/641-60721f44faf711b9.js","344","static/chunks/344-57b337448af965da.js","974","static/chunks/app/page-ad539065ba9128bb.js"],"async":false},"/home/ubuntu/dev/chorus/src/components/openrouter-card.tsx":{"id":7130,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/src/components/orchestrator-card.tsx":{"id":1727,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/src/app/demo/[scenario]/page.tsx":{"id":5249,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/src/components/runs-table.tsx":{"id":2897,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/src/app/settings/permissions/permissions-form.tsx":{"id":4400,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/lucide-react@1.12.0_react@19.2.4/node_modules/lucide-react/dist/esm/Icon.mjs":{"id":6501,"name":"*","chunks":["116","static/chunks/116-8bf7e014066cedde.js","720","static/chunks/720-9732eeb760e004e3.js","641","static/chunks/641-60721f44faf711b9.js","344","static/chunks/344-57b337448af965da.js","974","static/chunks/app/page-ad539065ba9128bb.js"],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/app-dir/link.js":{"id":2573,"name":"*","chunks":["116","static/chunks/116-8bf7e014066cedde.js","720","static/chunks/720-9732eeb760e004e3.js","641","static/chunks/641-60721f44faf711b9.js","344","static/chunks/344-57b337448af965da.js","974","static/chunks/app/page-ad539065ba9128bb.js"],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/app-dir/link.js":{"id":2573,"name":"*","chunks":["116","static/chunks/116-8bf7e014066cedde.js","720","static/chunks/720-9732eeb760e004e3.js","641","static/chunks/641-60721f44faf711b9.js","344","static/chunks/344-57b337448af965da.js","974","static/chunks/app/page-ad539065ba9128bb.js"],"async":false},"/home/ubuntu/dev/chorus/src/components/lineage-fleet-card.tsx":{"id":9823,"name":"*","chunks":["116","static/chunks/116-8bf7e014066cedde.js","720","static/chunks/720-9732eeb760e004e3.js","641","static/chunks/641-60721f44faf711b9.js","344","static/chunks/344-57b337448af965da.js","974","static/chunks/app/page-ad539065ba9128bb.js"],"async":false},"/home/ubuntu/dev/chorus/src/components/opencode-fleet-card.tsx":{"id":1195,"name":"*","chunks":["116","static/chunks/116-8bf7e014066cedde.js","720","static/chunks/720-9732eeb760e004e3.js","641","static/chunks/641-60721f44faf711b9.js","344","static/chunks/344-57b337448af965da.js","974","static/chunks/app/page-ad539065ba9128bb.js"],"async":false},"/home/ubuntu/dev/chorus/src/components/openrouter-fleet-card.tsx":{"id":8359,"name":"*","chunks":["116","static/chunks/116-8bf7e014066cedde.js","720","static/chunks/720-9732eeb760e004e3.js","641","static/chunks/641-60721f44faf711b9.js","344","static/chunks/344-57b337448af965da.js","974","static/chunks/app/page-ad539065ba9128bb.js"],"async":false},"/home/ubuntu/dev/chorus/src/components/live-run-real/index.tsx":{"id":1245,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/ubuntu/dev/chorus/src/":[],"/home/ubuntu/dev/chorus/src/app/layout":[{"inlined":false,"path":"static/css/55e13578d64f89b0.css"}],"/home/ubuntu/dev/chorus/src/app/page":[],"/home/ubuntu/dev/chorus/src/app/templates/page":[]},"rscModuleMapping":{"821":{"*":{"id":"80434","name":"*","chunks":[],"async":false}},"1195":{"*":{"id":"94335","name":"*","chunks":[],"async":false}},"1245":{"*":{"id":"73354","name":"*","chunks":[],"async":false}},"1727":{"*":{"id":"39663","name":"*","chunks":[],"async":false}},"1996":{"*":{"id":"86114","name":"*","chunks":[],"async":false}},"2573":{"*":{"id":"42711","name":"*","chunks":[],"async":false}},"2897":{"*":{"id":"55803","name":"*","chunks":[],"async":false}},"3068":{"*":{"id":"15858","name":"*","chunks":[],"async":false}},"3720":{"*":{"id":"10312","name":"*","chunks":[],"async":false}},"3779":{"*":{"id":"56207","name":"*","chunks":[],"async":false}},"3810":{"*":{"id":"72778","name":"*","chunks":[],"async":false}},"4400":{"*":{"id":"89719","name":"*","chunks":[],"async":false}},"4473":{"*":{"id":"38883","name":"*","chunks":[],"async":false}},"4538":{"*":{"id":"45036","name":"*","chunks":[],"async":false}},"5017":{"*":{"id":"90039","name":"*","chunks":[],"async":false}},"5249":{"*":{"id":"32517","name":"*","chunks":[],"async":false}},"5482":{"*":{"id":"21554","name":"*","chunks":[],"async":false}},"5484":{"*":{"id":"14374","name":"*","chunks":[],"async":false}},"5921":{"*":{"id":"32062","name":"*","chunks":[],"async":false}},"6141":{"*":{"id":"37825","name":"*","chunks":[],"async":false}},"6315":{"*":{"id":"75234","name":"*","chunks":[],"async":false}},"6501":{"*":{"id":"36135","name":"*","chunks":[],"async":false}},"7130":{"*":{"id":"22030","name":"*","chunks":[],"async":false}},"8344":{"*":{"id":"23154","name":"*","chunks":[],"async":false}},"8359":{"*":{"id":"59979","name":"*","chunks":[],"async":false}},"8952":{"*":{"id":"97314","name":"*","chunks":[],"async":false}},"9823":{"*":{"id":"92705","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/templates/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"821":{"*":{"id":"24188","name":"*","chunks":[],"async":false}},"1195":{"*":{"id":"70173","name":"*","chunks":[],"async":false}},"1245":{"*":{"id":"72325","name":"*","chunks":[],"async":false}},"1727":{"*":{"id":"43317","name":"*","chunks":[],"async":false}},"1996":{"*":{"id":"74679","name":"*","chunks":[],"async":false}},"2573":{"*":{"id":"23937","name":"*","chunks":[],"async":false}},"2897":{"*":{"id":"31193","name":"*","chunks":[],"async":false}},"3068":{"*":{"id":"68936","name":"*","chunks":[],"async":false}},"3720":{"*":{"id":"10186","name":"*","chunks":[],"async":false}},"3779":{"*":{"id":"76941","name":"*","chunks":[],"async":false}},"3810":{"*":{"id":"55978","name":"*","chunks":[],"async":false}},"4400":{"*":{"id":"67485","name":"*","chunks":[],"async":false}},"4473":{"*":{"id":"37373","name":"*","chunks":[],"async":false}},"4538":{"*":{"id":"50018","name":"*","chunks":[],"async":false}},"5017":{"*":{"id":"62753","name":"*","chunks":[],"async":false}},"5249":{"*":{"id":"28351","name":"*","chunks":[],"async":false}},"5482":{"*":{"id":"85080","name":"*","chunks":[],"async":false}},"5484":{"*":{"id":"25980","name":"*","chunks":[],"async":false}},"5921":{"*":{"id":"58874","name":"*","chunks":[],"async":false}},"6141":{"*":{"id":"46075","name":"*","chunks":[],"async":false}},"6501":{"*":{"id":"3758","name":"*","chunks":[],"async":false}},"7130":{"*":{"id":"42492","name":"*","chunks":[],"async":false}},"8344":{"*":{"id":"86095","name":"*","chunks":[],"async":false}},"8359":{"*":{"id":"96941","name":"*","chunks":[],"async":false}},"8952":{"*":{"id":"79652","name":"*","chunks":[],"async":false}},"9823":{"*":{"id":"6699","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/global-error.js":{"id":3720,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":3720,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-page.js":{"id":4473,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-page.js":{"id":4473,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/client-segment.js":{"id":3779,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-segment.js":{"id":3779,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":8952,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":8952,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/layout-router.js":{"id":5484,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/layout-router.js":{"id":5484,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/render-from-template-context.js":{"id":5482,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":5482,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/framework/boundary-components.js":{"id":5017,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":5017,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":3068,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":3068,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist\",\"arguments\":[{\"variable\":\"--font-geist-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"geistSans\"}":{"id":2051,"name":"*","chunks":["177","static/chunks/app/layout-df8acd5bd06cbe45.js"],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist_Mono\",\"arguments\":[{\"variable\":\"--font-geist-mono\",\"subsets\":[\"latin\"]}],\"variableName\":\"geistMono\"}":{"id":9241,"name":"*","chunks":["177","static/chunks/app/layout-df8acd5bd06cbe45.js"],"async":false},"/home/ubuntu/dev/chorus/src/app/globals.css":{"id":6315,"name":"*","chunks":["177","static/chunks/app/layout-df8acd5bd06cbe45.js"],"async":false},"/home/ubuntu/dev/chorus/src/app/new/page.tsx":{"id":6141,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/src/app/onboarding/page.tsx":{"id":1996,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/src/app/personas/page.tsx":{"id":5921,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/src/app/settings/page.tsx":{"id":3810,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/src/app/templates/page.tsx":{"id":4538,"name":"*","chunks":["116","static/chunks/116-8bf7e014066cedde.js","720","static/chunks/720-9732eeb760e004e3.js","15","static/chunks/15-d438a2b057302bed.js","641","static/chunks/641-60721f44faf711b9.js","344","static/chunks/344-57b337448af965da.js","744","static/chunks/744-0dbe0ecdef7c2a4a.js","814","static/chunks/app/templates/page-67b63a2565d8de09.js"],"async":false},"/home/ubuntu/dev/chorus/src/components/app-sidebar.tsx":{"id":821,"name":"*","chunks":["116","static/chunks/116-8bf7e014066cedde.js","720","static/chunks/720-9732eeb760e004e3.js","641","static/chunks/641-60721f44faf711b9.js","344","static/chunks/344-57b337448af965da.js","974","static/chunks/app/page-ad539065ba9128bb.js"],"async":false},"/home/ubuntu/dev/chorus/src/components/mobile-top-bar.tsx":{"id":8344,"name":"*","chunks":["116","static/chunks/116-8bf7e014066cedde.js","720","static/chunks/720-9732eeb760e004e3.js","641","static/chunks/641-60721f44faf711b9.js","344","static/chunks/344-57b337448af965da.js","974","static/chunks/app/page-ad539065ba9128bb.js"],"async":false},"/home/ubuntu/dev/chorus/src/components/openrouter-card.tsx":{"id":7130,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/src/components/orchestrator-card.tsx":{"id":1727,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/src/app/demo/[scenario]/page.tsx":{"id":5249,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/lucide-react@1.12.0_react@19.2.4/node_modules/lucide-react/dist/esm/Icon.mjs":{"id":6501,"name":"*","chunks":["116","static/chunks/116-8bf7e014066cedde.js","720","static/chunks/720-9732eeb760e004e3.js","641","static/chunks/641-60721f44faf711b9.js","344","static/chunks/344-57b337448af965da.js","974","static/chunks/app/page-ad539065ba9128bb.js"],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/app-dir/link.js":{"id":2573,"name":"*","chunks":["116","static/chunks/116-8bf7e014066cedde.js","720","static/chunks/720-9732eeb760e004e3.js","641","static/chunks/641-60721f44faf711b9.js","344","static/chunks/344-57b337448af965da.js","974","static/chunks/app/page-ad539065ba9128bb.js"],"async":false},"/home/ubuntu/dev/chorus/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/app-dir/link.js":{"id":2573,"name":"*","chunks":["116","static/chunks/116-8bf7e014066cedde.js","720","static/chunks/720-9732eeb760e004e3.js","641","static/chunks/641-60721f44faf711b9.js","344","static/chunks/344-57b337448af965da.js","974","static/chunks/app/page-ad539065ba9128bb.js"],"async":false},"/home/ubuntu/dev/chorus/src/components/lineage-fleet-card.tsx":{"id":9823,"name":"*","chunks":["116","static/chunks/116-8bf7e014066cedde.js","720","static/chunks/720-9732eeb760e004e3.js","641","static/chunks/641-60721f44faf711b9.js","344","static/chunks/344-57b337448af965da.js","974","static/chunks/app/page-ad539065ba9128bb.js"],"async":false},"/home/ubuntu/dev/chorus/src/components/opencode-fleet-card.tsx":{"id":1195,"name":"*","chunks":["116","static/chunks/116-8bf7e014066cedde.js","720","static/chunks/720-9732eeb760e004e3.js","641","static/chunks/641-60721f44faf711b9.js","344","static/chunks/344-57b337448af965da.js","974","static/chunks/app/page-ad539065ba9128bb.js"],"async":false},"/home/ubuntu/dev/chorus/src/components/openrouter-fleet-card.tsx":{"id":8359,"name":"*","chunks":["116","static/chunks/116-8bf7e014066cedde.js","720","static/chunks/720-9732eeb760e004e3.js","641","static/chunks/641-60721f44faf711b9.js","344","static/chunks/344-57b337448af965da.js","974","static/chunks/app/page-ad539065ba9128bb.js"],"async":false},"/home/ubuntu/dev/chorus/src/components/runs-table.tsx":{"id":2897,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/src/app/settings/permissions/permissions-form.tsx":{"id":4400,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/src/components/live-run-real/index.tsx":{"id":1245,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/ubuntu/dev/chorus/src/":[],"/home/ubuntu/dev/chorus/src/app/layout":[{"inlined":false,"path":"static/css/d2bb161eb5bee944.css"}],"/home/ubuntu/dev/chorus/src/app/page":[],"/home/ubuntu/dev/chorus/src/app/templates/page":[]},"rscModuleMapping":{"821":{"*":{"id":"80434","name":"*","chunks":[],"async":false}},"1195":{"*":{"id":"94335","name":"*","chunks":[],"async":false}},"1245":{"*":{"id":"73354","name":"*","chunks":[],"async":false}},"1727":{"*":{"id":"39663","name":"*","chunks":[],"async":false}},"1996":{"*":{"id":"86114","name":"*","chunks":[],"async":false}},"2573":{"*":{"id":"42711","name":"*","chunks":[],"async":false}},"2897":{"*":{"id":"55803","name":"*","chunks":[],"async":false}},"3068":{"*":{"id":"15858","name":"*","chunks":[],"async":false}},"3720":{"*":{"id":"10312","name":"*","chunks":[],"async":false}},"3779":{"*":{"id":"56207","name":"*","chunks":[],"async":false}},"3810":{"*":{"id":"72778","name":"*","chunks":[],"async":false}},"4400":{"*":{"id":"89719","name":"*","chunks":[],"async":false}},"4473":{"*":{"id":"38883","name":"*","chunks":[],"async":false}},"4538":{"*":{"id":"45036","name":"*","chunks":[],"async":false}},"5017":{"*":{"id":"90039","name":"*","chunks":[],"async":false}},"5249":{"*":{"id":"32517","name":"*","chunks":[],"async":false}},"5482":{"*":{"id":"21554","name":"*","chunks":[],"async":false}},"5484":{"*":{"id":"14374","name":"*","chunks":[],"async":false}},"5921":{"*":{"id":"32062","name":"*","chunks":[],"async":false}},"6141":{"*":{"id":"37825","name":"*","chunks":[],"async":false}},"6315":{"*":{"id":"75234","name":"*","chunks":[],"async":false}},"6501":{"*":{"id":"36135","name":"*","chunks":[],"async":false}},"7130":{"*":{"id":"22030","name":"*","chunks":[],"async":false}},"8344":{"*":{"id":"23154","name":"*","chunks":[],"async":false}},"8359":{"*":{"id":"59979","name":"*","chunks":[],"async":false}},"8952":{"*":{"id":"97314","name":"*","chunks":[],"async":false}},"9823":{"*":{"id":"92705","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en" class="dark __variable_188709 __variable_9a8899 h-full antialiased"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/4cf2300e9c8272f7-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/93f479601ee12b01-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/55e13578d64f89b0.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-87142ab87b87c8fb.js"/><script src="/_next/static/chunks/ed64ccb0-b7d2b5246d18ca7e.js" async=""></script><script src="/_next/static/chunks/128-a5d059bf5b2e5090.js" async=""></script><script src="/_next/static/chunks/main-app-e9f7985e32dc8a63.js" async=""></script><script src="/_next/static/chunks/116-8bf7e014066cedde.js" async=""></script><script src="/_next/static/chunks/720-9732eeb760e004e3.js" async=""></script><script src="/_next/static/chunks/15-d438a2b057302bed.js" async=""></script><script src="/_next/static/chunks/641-60721f44faf711b9.js" async=""></script><script src="/_next/static/chunks/344-57b337448af965da.js" async=""></script><script src="/_next/static/chunks/744-0dbe0ecdef7c2a4a.js" async=""></script><script src="/_next/static/chunks/app/templates/page-67b63a2565d8de09.js" async=""></script><meta name="next-size-adjust" content=""/><title>Chorus — many voices, one chorus</title><meta name="description" content="The polished orchestrator over your AI fleet. Paste a task. Pick a template. Watch multiple LLMs reach consensus."/><link rel="icon" href="/favicon.ico?b67a357858af4169" type="image/x-icon" sizes="16x16"/><link rel="icon" href="/icon.svg?79b94d624cb60ac1" type="image/svg+xml" sizes="any"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="min-h-full flex flex-col bg-background text-foreground"><div hidden=""><!--$--><!--/$--></div><div class="flex h-screen w-screen overflow-hidden bg-background text-foreground"><aside class="hidden h-screen shrink-0 flex-col border-r border-border bg-card/30 transition-[width] duration-200 ease-out md:flex w-60"><div class="flex h-full flex-col"><div class="flex h-14 items-center gap-2 border-b border-border px-3"><div class="grid h-7 w-7 shrink-0 place-items-center rounded-md bg-primary/15 text-primary"><svg viewBox="0 0 32 32" aria-hidden="true" class="h-[18px] w-[18px]" fill="currentColor"><circle cx="11" cy="20" r="3.2" fill-opacity="0.55"></circle><circle cx="21" cy="20" r="3.2" fill-opacity="0.55"></circle><circle cx="16" cy="11" r="3.2"></circle></svg></div><span class="text-sm font-semibold tracking-tight">Chorus</span><span class="ml-auto rounded-md border border-border px-1.5 py-0.5 font-mono text-[10px] text-muted-foreground">—</span><button type="button" aria-label="Collapse sidebar" class="rounded p-1 text-muted-foreground transition hover:bg-accent hover:text-foreground"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-panel-left-close h-3.5 w-3.5" aria-hidden="true"><rect width="18" height="18" x="3" y="3" rx="2"></rect><path d="M9 3v18"></path><path d="m16 15-3-3 3-3"></path></svg></button></div><nav class="py-3 px-2"><ul class="flex flex-col gap-0.5"><li><a class="flex items-center rounded-md text-sm transition-colors gap-2 px-2 py-1.5 text-muted-foreground hover:bg-accent/50 hover:text-foreground" href="/"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-layout-dashboard h-4 w-4 shrink-0" aria-hidden="true"><rect width="7" height="9" x="3" y="3" rx="1"></rect><rect width="7" height="5" x="14" y="3" rx="1"></rect><rect width="7" height="9" x="14" y="12" rx="1"></rect><rect width="7" height="5" x="3" y="16" rx="1"></rect></svg><span>Home</span></a></li><li><a class="flex items-center rounded-md text-sm transition-colors gap-2 px-2 py-1.5 text-muted-foreground hover:bg-accent/50 hover:text-foreground" href="/runs"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-list-checks h-4 w-4 shrink-0" aria-hidden="true"><path d="M13 5h8"></path><path d="M13 12h8"></path><path d="M13 19h8"></path><path d="m3 17 2 2 4-4"></path><path d="m3 7 2 2 4-4"></path></svg><span>Runs</span></a></li><li><a class="flex items-center rounded-md text-sm transition-colors gap-2 px-2 py-1.5 bg-accent text-foreground" href="/templates"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-layers h-4 w-4 shrink-0" aria-hidden="true"><path d="M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z"></path><path d="M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12"></path><path d="M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17"></path></svg><span>Templates</span></a></li><li><a class="flex items-center rounded-md text-sm transition-colors gap-2 px-2 py-1.5 text-muted-foreground hover:bg-accent/50 hover:text-foreground" href="/personas"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-users h-4 w-4 shrink-0" aria-hidden="true"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"></path><path d="M16 3.128a4 4 0 0 1 0 7.744"></path><path d="M22 21v-2a4 4 0 0 0-3-3.87"></path><circle cx="9" cy="7" r="4"></circle></svg><span>Personas</span></a></li><li><a class="flex items-center rounded-md text-sm transition-colors gap-2 px-2 py-1.5 text-muted-foreground hover:bg-accent/50 hover:text-foreground" href="/connect"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plug h-4 w-4 shrink-0" aria-hidden="true"><path d="M12 22v-5"></path><path d="M15 8V2"></path><path d="M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z"></path><path d="M9 8V2"></path></svg><span>Connect</span></a></li><li><a class="flex items-center rounded-md text-sm transition-colors gap-2 px-2 py-1.5 text-muted-foreground hover:bg-accent/50 hover:text-foreground" href="/settings"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-settings h-4 w-4 shrink-0" aria-hidden="true"><path d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"></path><circle cx="12" cy="12" r="3"></circle></svg><span>Settings</span></a></li></ul></nav><div class="flex min-h-0 flex-1 flex-col border-t border-border"><div class="flex shrink-0 flex-col gap-2 bg-card/40 px-3 py-3"><a aria-label="New chat" class="inline-flex h-8 w-full items-center justify-center gap-1.5 rounded-md bg-primary px-2.5 text-xs font-medium text-primary-foreground transition hover:bg-primary/90" href="/new"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plus h-3.5 w-3.5" aria-hidden="true"><path d="M5 12h14"></path><path d="M12 5v14"></path></svg><span>New chat</span></a><div class="mt-1 px-1 text-[10px] font-medium uppercase tracking-wider text-muted-foreground">Recent</div></div><nav class="min-h-0 flex-1 overflow-y-auto px-2 py-2"><div class="px-2 py-4 text-xs text-muted-foreground">Loading…</div></nav></div></div></aside><div class="flex flex-1 flex-col overflow-hidden"><header class="flex h-12 items-center border-b border-border bg-background/60 px-3 backdrop-blur md:hidden"><button type="button" aria-label="Open navigation" class="-ml-1 inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-md text-muted-foreground transition hover:bg-accent hover:text-foreground md:hidden" aria-haspopup="dialog" aria-expanded="false" aria-controls="radix-_R_35fivb_" data-state="closed" data-slot="sheet-trigger"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-menu h-5 w-5" aria-hidden="true"><path d="M4 5h16"></path><path d="M4 12h16"></path><path d="M4 19h16"></path></svg></button></header><main class="flex-1 overflow-y-auto"><div class="mx-auto w-full max-w-6xl px-4 py-6 sm:px-6 sm:py-8 md:px-8 md:py-10"><header class="mb-6 flex flex-col gap-3 sm:flex-row sm:items-end sm:justify-between"><div class="min-w-0"><p class="text-xs uppercase tracking-wider text-muted-foreground">Templates</p><h1 class="mt-1 text-2xl font-semibold tracking-tight">Reusable review workflows</h1><p class="mt-2 max-w-2xl text-sm leading-relaxed text-muted-foreground">Each template defines the driver, reviewers, prompts, and quorum rule for a kind of task. Fork, edit, share.</p></div><div class="shrink-0 self-start sm:self-auto"><button type="button" aria-label="New template" class="inline-flex shrink-0 items-center gap-1.5 rounded-md bg-primary px-3 py-1.5 text-sm font-medium text-primary-foreground shadow-sm transition hover:bg-primary/90" aria-haspopup="dialog" aria-expanded="false" aria-controls="radix-_R_4d5fivb_" data-state="closed" data-slot="dialog-trigger"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plus h-4 w-4" aria-hidden="true"><path d="M5 12h14"></path><path d="M12 5v14"></path></svg><span class="hidden sm:inline">New template</span></button></div></header><div class="mb-4 flex items-center gap-1 border-b border-border"><button type="button" class="relative px-3 py-2 text-sm transition text-foreground">All<span class="absolute inset-x-3 bottom-0 h-0.5 bg-primary"></span></button><button type="button" class="relative px-3 py-2 text-sm transition text-muted-foreground hover:text-foreground">Review</button><button type="button" class="relative px-3 py-2 text-sm transition text-muted-foreground hover:text-foreground">Plan</button><button type="button" class="relative px-3 py-2 text-sm transition text-muted-foreground hover:text-foreground">Debug</button><button type="button" class="relative px-3 py-2 text-sm transition text-muted-foreground hover:text-foreground">Decide</button></div><div class="grid grid-cols-1 gap-4 lg:grid-cols-[1fr_1fr]"><div class="flex min-w-0 flex-col gap-2"></div><div data-slot="card" class="flex flex-col gap-6 rounded-xl border shadow-sm bg-card p-4 text-center text-muted-foreground"><p>Select a template to view details</p></div></div></div></main></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-87142ab87b87c8fb.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[5484,[],\"\"]\n3:I[5482,[],\"\"]\n4:I[4473,[],\"ClientPageRoot\"]\n5:I[4538,[\"116\",\"static/chunks/116-8bf7e014066cedde.js\",\"720\",\"static/chunks/720-9732eeb760e004e3.js\",\"15\",\"static/chunks/15-d438a2b057302bed.js\",\"641\",\"static/chunks/641-60721f44faf711b9.js\",\"344\",\"static/chunks/344-57b337448af965da.js\",\"744\",\"static/chunks/744-0dbe0ecdef7c2a4a.js\",\"814\",\"static/chunks/app/templates/page-67b63a2565d8de09.js\"],\"default\"]\n8:I[5017,[],\"OutletBoundary\"]\n9:\"$Sreact.suspense\"\nc:I[5017,[],\"ViewportBoundary\"]\ne:I[5017,[],\"MetadataBoundary\"]\n10:I[3720,[],\"default\",1]\n:HL[\"/_next/static/media/4cf2300e9c8272f7-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/93f479601ee12b01-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/css/55e13578d64f89b0.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"templates\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"templates\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/55e13578d64f89b0.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"dark __variable_188709 __variable_9a8899 h-full antialiased\",\"children\":[\"$\",\"body\",null,{\"className\":\"min-h-full flex flex-col bg-background text-foreground\",\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L4\",null,{\"Component\":\"$5\",\"serverProvidedParams\":{\"searchParams\":{},\"params\":{},\"promises\":[\"$@6\",\"$@7\"]}}],null,[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@a\"}]}]]}],{},null,false,null]},null,false,\"$@b\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Lc\",null,{\"children\":\"$Ld\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Le\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lf\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$10\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"SsXK_ZdfRKwQhMMuiH23K\"}\n"])</script><script>self.__next_f.push([1,"11:[]\nb:\"$W11\"\n6:{}\n7:\"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params\"\n"])</script><script>self.__next_f.push([1,"d:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"12:I[3068,[],\"IconMark\"]\na:null\nf:[[\"$\",\"title\",\"0\",{\"children\":\"Chorus — many voices, one chorus\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"The polished orchestrator over your AI fleet. Paste a task. Pick a template. Watch multiple LLMs reach consensus.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?b67a357858af4169\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}],[\"$\",\"link\",\"3\",{\"rel\":\"icon\",\"href\":\"/icon.svg?79b94d624cb60ac1\",\"type\":\"image/svg+xml\",\"sizes\":\"any\"}],[\"$\",\"$L12\",\"4\",{}]]\n"])</script></body></html>
|
|
1
|
+
<!DOCTYPE html><html lang="en" class="dark __variable_188709 __variable_9a8899 h-full antialiased"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/4cf2300e9c8272f7-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/93f479601ee12b01-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/d2bb161eb5bee944.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-87142ab87b87c8fb.js"/><script src="/_next/static/chunks/ed64ccb0-b7d2b5246d18ca7e.js" async=""></script><script src="/_next/static/chunks/128-a5d059bf5b2e5090.js" async=""></script><script src="/_next/static/chunks/main-app-e9f7985e32dc8a63.js" async=""></script><script src="/_next/static/chunks/116-8bf7e014066cedde.js" async=""></script><script src="/_next/static/chunks/720-9732eeb760e004e3.js" async=""></script><script src="/_next/static/chunks/15-d438a2b057302bed.js" async=""></script><script src="/_next/static/chunks/641-60721f44faf711b9.js" async=""></script><script src="/_next/static/chunks/344-57b337448af965da.js" async=""></script><script src="/_next/static/chunks/744-0dbe0ecdef7c2a4a.js" async=""></script><script src="/_next/static/chunks/app/templates/page-67b63a2565d8de09.js" async=""></script><meta name="next-size-adjust" content=""/><title>Chorus — many voices, one chorus</title><meta name="description" content="The polished orchestrator over your AI fleet. Paste a task. Pick a template. Watch multiple LLMs reach consensus."/><link rel="icon" href="/favicon.ico?b67a357858af4169" type="image/x-icon" sizes="16x16"/><link rel="icon" href="/icon.svg?79b94d624cb60ac1" type="image/svg+xml" sizes="any"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="min-h-full flex flex-col bg-background text-foreground"><div hidden=""><!--$--><!--/$--></div><div class="flex h-screen w-screen overflow-hidden bg-background text-foreground"><aside class="hidden h-screen shrink-0 flex-col border-r border-border bg-card/30 transition-[width] duration-200 ease-out md:flex w-60"><div class="flex h-full flex-col"><div class="flex h-14 items-center gap-2 border-b border-border px-3"><div class="grid h-7 w-7 shrink-0 place-items-center rounded-md bg-primary/15 text-primary"><svg viewBox="0 0 32 32" aria-hidden="true" class="h-[18px] w-[18px]" fill="currentColor"><circle cx="11" cy="20" r="3.2" fill-opacity="0.55"></circle><circle cx="21" cy="20" r="3.2" fill-opacity="0.55"></circle><circle cx="16" cy="11" r="3.2"></circle></svg></div><span class="text-sm font-semibold tracking-tight">Chorus</span><span class="ml-auto rounded-md border border-border px-1.5 py-0.5 font-mono text-[10px] text-muted-foreground">—</span><button type="button" aria-label="Collapse sidebar" class="rounded p-1 text-muted-foreground transition hover:bg-accent hover:text-foreground"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-panel-left-close h-3.5 w-3.5" aria-hidden="true"><rect width="18" height="18" x="3" y="3" rx="2"></rect><path d="M9 3v18"></path><path d="m16 15-3-3 3-3"></path></svg></button></div><nav class="py-3 px-2"><ul class="flex flex-col gap-0.5"><li><a class="flex items-center rounded-md text-sm transition-colors gap-2 px-2 py-1.5 text-muted-foreground hover:bg-accent/50 hover:text-foreground" href="/"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-layout-dashboard h-4 w-4 shrink-0" aria-hidden="true"><rect width="7" height="9" x="3" y="3" rx="1"></rect><rect width="7" height="5" x="14" y="3" rx="1"></rect><rect width="7" height="9" x="14" y="12" rx="1"></rect><rect width="7" height="5" x="3" y="16" rx="1"></rect></svg><span>Home</span></a></li><li><a class="flex items-center rounded-md text-sm transition-colors gap-2 px-2 py-1.5 text-muted-foreground hover:bg-accent/50 hover:text-foreground" href="/runs"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-list-checks h-4 w-4 shrink-0" aria-hidden="true"><path d="M13 5h8"></path><path d="M13 12h8"></path><path d="M13 19h8"></path><path d="m3 17 2 2 4-4"></path><path d="m3 7 2 2 4-4"></path></svg><span>Runs</span></a></li><li><a class="flex items-center rounded-md text-sm transition-colors gap-2 px-2 py-1.5 bg-accent text-foreground" href="/templates"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-layers h-4 w-4 shrink-0" aria-hidden="true"><path d="M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z"></path><path d="M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12"></path><path d="M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17"></path></svg><span>Templates</span></a></li><li><a class="flex items-center rounded-md text-sm transition-colors gap-2 px-2 py-1.5 text-muted-foreground hover:bg-accent/50 hover:text-foreground" href="/personas"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-users h-4 w-4 shrink-0" aria-hidden="true"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"></path><path d="M16 3.128a4 4 0 0 1 0 7.744"></path><path d="M22 21v-2a4 4 0 0 0-3-3.87"></path><circle cx="9" cy="7" r="4"></circle></svg><span>Personas</span></a></li><li><a class="flex items-center rounded-md text-sm transition-colors gap-2 px-2 py-1.5 text-muted-foreground hover:bg-accent/50 hover:text-foreground" href="/connect"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plug h-4 w-4 shrink-0" aria-hidden="true"><path d="M12 22v-5"></path><path d="M15 8V2"></path><path d="M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z"></path><path d="M9 8V2"></path></svg><span>Connect</span></a></li><li><a class="flex items-center rounded-md text-sm transition-colors gap-2 px-2 py-1.5 text-muted-foreground hover:bg-accent/50 hover:text-foreground" href="/settings"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-settings h-4 w-4 shrink-0" aria-hidden="true"><path d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"></path><circle cx="12" cy="12" r="3"></circle></svg><span>Settings</span></a></li></ul></nav><div class="flex min-h-0 flex-1 flex-col border-t border-border"><div class="flex shrink-0 flex-col gap-2 bg-card/40 px-3 py-3"><a aria-label="New chat" class="inline-flex h-8 w-full items-center justify-center gap-1.5 rounded-md bg-primary px-2.5 text-xs font-medium text-primary-foreground transition hover:bg-primary/90" href="/new"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plus h-3.5 w-3.5" aria-hidden="true"><path d="M5 12h14"></path><path d="M12 5v14"></path></svg><span>New chat</span></a><div class="mt-1 px-1 text-[10px] font-medium uppercase tracking-wider text-muted-foreground">Recent</div></div><nav class="min-h-0 flex-1 overflow-y-auto px-2 py-2"><div class="px-2 py-4 text-xs text-muted-foreground">Loading…</div></nav></div></div></aside><div class="flex flex-1 flex-col overflow-hidden"><header class="flex h-12 items-center border-b border-border bg-background/60 px-3 backdrop-blur md:hidden"><button type="button" aria-label="Open navigation" class="-ml-1 inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-md text-muted-foreground transition hover:bg-accent hover:text-foreground md:hidden" aria-haspopup="dialog" aria-expanded="false" aria-controls="radix-_R_35fivb_" data-state="closed" data-slot="sheet-trigger"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-menu h-5 w-5" aria-hidden="true"><path d="M4 5h16"></path><path d="M4 12h16"></path><path d="M4 19h16"></path></svg></button></header><main class="flex-1 overflow-y-auto"><div class="mx-auto w-full max-w-6xl px-4 py-6 sm:px-6 sm:py-8 md:px-8 md:py-10"><header class="mb-6 flex flex-col gap-3 sm:flex-row sm:items-end sm:justify-between"><div class="min-w-0"><p class="text-xs uppercase tracking-wider text-muted-foreground">Templates</p><h1 class="mt-1 text-2xl font-semibold tracking-tight">Reusable review workflows</h1><p class="mt-2 max-w-2xl text-sm leading-relaxed text-muted-foreground">Each template defines the driver, reviewers, prompts, and quorum rule for a kind of task. Fork, edit, share.</p></div><div class="shrink-0 self-start sm:self-auto"><button type="button" aria-label="New template" class="inline-flex shrink-0 items-center gap-1.5 rounded-md bg-primary px-3 py-1.5 text-sm font-medium text-primary-foreground shadow-sm transition hover:bg-primary/90" aria-haspopup="dialog" aria-expanded="false" aria-controls="radix-_R_4d5fivb_" data-state="closed" data-slot="dialog-trigger"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plus h-4 w-4" aria-hidden="true"><path d="M5 12h14"></path><path d="M12 5v14"></path></svg><span class="hidden sm:inline">New template</span></button></div></header><div class="mb-4 flex items-center gap-1 border-b border-border"><button type="button" class="relative px-3 py-2 text-sm transition text-foreground">All<span class="absolute inset-x-3 bottom-0 h-0.5 bg-primary"></span></button><button type="button" class="relative px-3 py-2 text-sm transition text-muted-foreground hover:text-foreground">Review</button><button type="button" class="relative px-3 py-2 text-sm transition text-muted-foreground hover:text-foreground">Plan</button><button type="button" class="relative px-3 py-2 text-sm transition text-muted-foreground hover:text-foreground">Debug</button><button type="button" class="relative px-3 py-2 text-sm transition text-muted-foreground hover:text-foreground">Decide</button></div><div class="grid grid-cols-1 gap-4 lg:grid-cols-[1fr_1fr]"><div class="flex min-w-0 flex-col gap-2"></div><div data-slot="card" class="flex flex-col gap-6 rounded-xl border shadow-sm bg-card p-4 text-center text-muted-foreground"><p>Select a template to view details</p></div></div></div></main></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-87142ab87b87c8fb.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[5484,[],\"\"]\n3:I[5482,[],\"\"]\n4:I[4473,[],\"ClientPageRoot\"]\n5:I[4538,[\"116\",\"static/chunks/116-8bf7e014066cedde.js\",\"720\",\"static/chunks/720-9732eeb760e004e3.js\",\"15\",\"static/chunks/15-d438a2b057302bed.js\",\"641\",\"static/chunks/641-60721f44faf711b9.js\",\"344\",\"static/chunks/344-57b337448af965da.js\",\"744\",\"static/chunks/744-0dbe0ecdef7c2a4a.js\",\"814\",\"static/chunks/app/templates/page-67b63a2565d8de09.js\"],\"default\"]\n8:I[5017,[],\"OutletBoundary\"]\n9:\"$Sreact.suspense\"\nc:I[5017,[],\"ViewportBoundary\"]\ne:I[5017,[],\"MetadataBoundary\"]\n10:I[3720,[],\"default\",1]\n:HL[\"/_next/static/media/4cf2300e9c8272f7-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/93f479601ee12b01-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/css/d2bb161eb5bee944.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"templates\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"templates\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/d2bb161eb5bee944.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"dark __variable_188709 __variable_9a8899 h-full antialiased\",\"children\":[\"$\",\"body\",null,{\"className\":\"min-h-full flex flex-col bg-background text-foreground\",\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L4\",null,{\"Component\":\"$5\",\"serverProvidedParams\":{\"searchParams\":{},\"params\":{},\"promises\":[\"$@6\",\"$@7\"]}}],null,[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@a\"}]}]]}],{},null,false,null]},null,false,\"$@b\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Lc\",null,{\"children\":\"$Ld\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Le\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lf\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$10\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"7C4cUPwLKOxbH_klopEvr\"}\n"])</script><script>self.__next_f.push([1,"11:[]\nb:\"$W11\"\n6:{}\n7:\"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params\"\n"])</script><script>self.__next_f.push([1,"d:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"12:I[3068,[],\"IconMark\"]\na:null\nf:[[\"$\",\"title\",\"0\",{\"children\":\"Chorus — many voices, one chorus\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"The polished orchestrator over your AI fleet. Paste a task. Pick a template. Watch multiple LLMs reach consensus.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?b67a357858af4169\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}],[\"$\",\"link\",\"3\",{\"rel\":\"icon\",\"href\":\"/icon.svg?79b94d624cb60ac1\",\"type\":\"image/svg+xml\",\"sizes\":\"any\"}],[\"$\",\"$L12\",\"4\",{}]]\n"])</script></body></html>
|
|
@@ -10,8 +10,8 @@ e:I[5017,[],"MetadataBoundary"]
|
|
|
10
10
|
10:I[3720,[],"default",1]
|
|
11
11
|
:HL["/_next/static/media/4cf2300e9c8272f7-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
12
12
|
:HL["/_next/static/media/93f479601ee12b01-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
13
|
-
:HL["/_next/static/css/
|
|
14
|
-
0:{"P":null,"c":["","templates"],"q":"","i":false,"f":[[["",{"children":["templates",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/
|
|
13
|
+
:HL["/_next/static/css/d2bb161eb5bee944.css","style"]
|
|
14
|
+
0:{"P":null,"c":["","templates"],"q":"","i":false,"f":[[["",{"children":["templates",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d2bb161eb5bee944.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"dark __variable_188709 __variable_9a8899 h-full antialiased","children":["$","body",null,{"className":"min-h-full flex flex-col bg-background text-foreground","children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@6","$@7"]}}],null,["$","$L8",null,{"children":["$","$9",null,{"name":"Next.MetadataOutlet","children":"$@a"}]}]]}],{},null,false,null]},null,false,"$@b"]},null,false,null],["$","$1","h",{"children":[null,["$","$Lc",null,{"children":"$Ld"}],["$","div",null,{"hidden":true,"children":["$","$Le",null,{"children":["$","$9",null,{"name":"Next.Metadata","children":"$Lf"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$10",[]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"7C4cUPwLKOxbH_klopEvr"}
|
|
15
15
|
11:[]
|
|
16
16
|
b:"$W11"
|
|
17
17
|
6:{}
|
|
@@ -10,8 +10,8 @@ e:I[5017,[],"MetadataBoundary"]
|
|
|
10
10
|
10:I[3720,[],"default",1]
|
|
11
11
|
:HL["/_next/static/media/4cf2300e9c8272f7-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
12
12
|
:HL["/_next/static/media/93f479601ee12b01-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
13
|
-
:HL["/_next/static/css/
|
|
14
|
-
0:{"P":null,"c":["","templates"],"q":"","i":false,"f":[[["",{"children":["templates",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/
|
|
13
|
+
:HL["/_next/static/css/d2bb161eb5bee944.css","style"]
|
|
14
|
+
0:{"P":null,"c":["","templates"],"q":"","i":false,"f":[[["",{"children":["templates",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d2bb161eb5bee944.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"dark __variable_188709 __variable_9a8899 h-full antialiased","children":["$","body",null,{"className":"min-h-full flex flex-col bg-background text-foreground","children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@6","$@7"]}}],null,["$","$L8",null,{"children":["$","$9",null,{"name":"Next.MetadataOutlet","children":"$@a"}]}]]}],{},null,false,null]},null,false,"$@b"]},null,false,null],["$","$1","h",{"children":[null,["$","$Lc",null,{"children":"$Ld"}],["$","div",null,{"hidden":true,"children":["$","$Le",null,{"children":["$","$9",null,{"name":"Next.Metadata","children":"$Lf"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$10",[]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"7C4cUPwLKOxbH_klopEvr"}
|
|
15
15
|
11:[]
|
|
16
16
|
b:"$W11"
|
|
17
17
|
6:{}
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
3:I[5017,[],"MetadataBoundary"]
|
|
4
4
|
4:"$Sreact.suspense"
|
|
5
5
|
5:I[3068,[],"IconMark"]
|
|
6
|
-
0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Chorus — many voices, one chorus"}],["$","meta","1",{"name":"description","content":"The polished orchestrator over your AI fleet. Paste a task. Pick a template. Watch multiple LLMs reach consensus."}],["$","link","2",{"rel":"icon","href":"/favicon.ico?b67a357858af4169","type":"image/x-icon","sizes":"16x16"}],["$","link","3",{"rel":"icon","href":"/icon.svg?79b94d624cb60ac1","type":"image/svg+xml","sizes":"any"}],["$","$L5","4",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"
|
|
6
|
+
0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Chorus — many voices, one chorus"}],["$","meta","1",{"name":"description","content":"The polished orchestrator over your AI fleet. Paste a task. Pick a template. Watch multiple LLMs reach consensus."}],["$","link","2",{"rel":"icon","href":"/favicon.ico?b67a357858af4169","type":"image/x-icon","sizes":"16x16"}],["$","link","3",{"rel":"icon","href":"/icon.svg?79b94d624cb60ac1","type":"image/svg+xml","sizes":"any"}],["$","$L5","4",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"7C4cUPwLKOxbH_klopEvr"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
2
|
2:I[5484,[],""]
|
|
3
3
|
3:I[5482,[],""]
|
|
4
|
-
:HL["/_next/static/css/
|
|
5
|
-
0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/
|
|
4
|
+
:HL["/_next/static/css/d2bb161eb5bee944.css","style"]
|
|
5
|
+
0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d2bb161eb5bee944.css","precedence":"next"}]],["$","html",null,{"lang":"en","className":"dark __variable_188709 __variable_9a8899 h-full antialiased","children":["$","body",null,{"className":"min-h-full flex flex-col bg-background text-foreground","children":["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"7C4cUPwLKOxbH_klopEvr"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
:HL["/_next/static/media/4cf2300e9c8272f7-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
2
2
|
:HL["/_next/static/media/93f479601ee12b01-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
3
|
-
:HL["/_next/static/css/
|
|
4
|
-
0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"templates","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"
|
|
3
|
+
:HL["/_next/static/css/d2bb161eb5bee944.css","style"]
|
|
4
|
+
0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"templates","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"7C4cUPwLKOxbH_klopEvr"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
3:I[4538,["116","static/chunks/116-8bf7e014066cedde.js","720","static/chunks/720-9732eeb760e004e3.js","15","static/chunks/15-d438a2b057302bed.js","641","static/chunks/641-60721f44faf711b9.js","344","static/chunks/344-57b337448af965da.js","744","static/chunks/744-0dbe0ecdef7c2a4a.js","814","static/chunks/app/templates/page-67b63a2565d8de09.js"],"default"]
|
|
4
4
|
6:I[5017,[],"OutletBoundary"]
|
|
5
5
|
7:"$Sreact.suspense"
|
|
6
|
-
0:{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],null,["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"
|
|
6
|
+
0:{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],null,["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"7C4cUPwLKOxbH_klopEvr"}
|
|
7
7
|
4:{}
|
|
8
8
|
5:"$0:rsc:props:children:0:props:serverProvidedParams:params"
|
|
9
9
|
8:null
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
2:I[5484,[],""]
|
|
3
3
|
3:I[5482,[],""]
|
|
4
4
|
4:[]
|
|
5
|
-
0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"
|
|
5
|
+
0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"7C4cUPwLKOxbH_klopEvr"}
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"/templates/page": "app/templates/page.js",
|
|
13
13
|
"/connect/page": "app/connect/page.js",
|
|
14
14
|
"/demo/[scenario]/page": "app/demo/[scenario]/page.js",
|
|
15
|
+
"/page": "app/page.js",
|
|
15
16
|
"/runs/page": "app/runs/page.js",
|
|
16
17
|
"/settings/permissions/page": "app/settings/permissions/page.js",
|
|
17
|
-
"/page": "app/page.js",
|
|
18
18
|
"/runs/[runId]/page": "app/runs/[runId]/page.js"
|
|
19
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=325,exports.ids=[325],exports.modules={14463:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(52449).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},15213:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(52449).A)("file-code-corner",[["path",{d:"M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35",key:"1wthlu"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m5 16-3 3 3 3",key:"331omg"}],["path",{d:"m9 22 3-3-3-3",key:"lsp7cz"}]])},15808:(a,b,c)=>{c.d(b,{$:()=>d});function d(a){return!!a&&a.phases[0]?.kind==="review_only"}},31650:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(52449).A)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},41970:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(52449).A)("test-tube-diagonal",[["path",{d:"M21 7 6.82 21.18a2.83 2.83 0 0 1-3.99-.01a2.83 2.83 0 0 1 0-4L17 3",key:"1ub6xw"}],["path",{d:"m16 2 6 6",key:"1gw87d"}],["path",{d:"M12 16H4",key:"1cjfip"}]])},46728:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(52449).A)("clipboard-list",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]])},72069:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(52449).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},72325:(a,b,c)=>{c.d(b,{LiveRunReal:()=>$});var d=c(66722),e=c(23937),f=c.n(e),g=c(52449);let h=(0,g.A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);var i=c(31131),j=c(15808),k=c(43092);function l({work:a}){let[b,c]=(0,i.useState)(!1),e=(0,k.t)(a),f=a.trim()!==e.trim()||a.length>100;return(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("button",{type:"button",onClick:f?()=>c(a=>!a):void 0,title:f?b?"Hide full brief":"Click to show full brief":e,disabled:!f,className:"block w-full min-w-0 text-left disabled:cursor-default",children:(0,d.jsx)("h1",{className:"truncate text-sm font-medium tracking-tight",children:e})}),f&&b&&(0,d.jsx)("pre",{className:"mt-2 max-h-72 overflow-auto whitespace-pre-wrap break-words rounded-md border border-border bg-background px-5 py-4 font-mono text-[12px] leading-relaxed text-foreground/90",children:a})]})}var m=c(90057),n=c(91458),o=c(95047),p=c(65850);let q=(0,g.A)("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]);var r=c(6506);let s=Object.fromEntries(Object.entries(r.r2).map(([a,b])=>[a,b.gradient]));var t=c(55932),u=c(66635);function v({state:a}){switch(a){case"done":return(0,d.jsxs)("span",{className:"flex items-center gap-1 rounded-md bg-emerald-500/10 px-1.5 py-0.5 text-[10px] font-medium text-emerald-400",children:[(0,d.jsx)(t.A,{className:"h-3 w-3"})," DONE"]});case"errored":return(0,d.jsxs)("span",{className:"flex items-center gap-1 rounded-md bg-destructive/10 px-1.5 py-0.5 text-[10px] font-medium text-destructive",children:[(0,d.jsx)(p.A,{className:"h-3 w-3"})," ERRORED"]});case"working":return(0,d.jsxs)("span",{className:"flex items-center gap-1 rounded-md bg-primary/10 px-1.5 py-0.5 text-[10px] font-medium text-primary",children:[(0,d.jsx)(u.A,{className:"h-3 w-3 animate-spin"})," WORKING"]});case"pending":return(0,d.jsx)("span",{className:"flex items-center gap-1 rounded-md bg-muted/40 px-1.5 py-0.5 text-[10px] font-medium text-muted-foreground/80",children:"QUEUED"});default:return(0,d.jsx)("span",{className:"rounded-md bg-muted px-1.5 py-0.5 text-[10px] font-medium text-muted-foreground",children:"IDLE"})}}var w=c(64519);function x({participant:a,isActive:b,liveTail:c,chatTerminal:e,chatId:f,reviewOnly:g,swaps:h}){var j,k;let l,t,[u,z]=(0,i.useState)(!1),[A,B]=(0,i.useState)(!1),C=function(a){let b;if(!a)return null;let c=a.trimStart();if(!/^##\s+(?:REVIEWER|DOER)\s+FAILED/i.test(c))return null;let d=c.match(/\*\*Kind:\*\*\s*(.+?)(?:\n|$)/),e=d?d[1].trim():"failed",f=c.match(/\*\*Resets:\*\*\s*(.+?)(?:\n|$)/);if(f){let a=Date.parse(f[1].trim());Number.isFinite(a)&&(b=a)}let g=c.search(/\n\n[^*]/),h=g>=0?c.slice(g+2).trim():"",i=h.length>0?h:"(no error message reported)",j=function(a,b){if(b&&/dangerously-skip-permissions cannot be used with root\/sudo/i.test(b))return"Claude CLI refuses --dangerously-skip-permissions as root. Run chorus as a non-root user, or disable Claude voices in /connect.";switch(a){case"quota_exhausted":return"Check your subscription dashboard or swap the account in CHORUS_CODEX_HOME / chorus settings.";case"stream_failure":return"Subprocess died mid-stream — check disk space and CLI version.";case"cli_failed":case"cli_error":return"Re-auth the CLI (codex/gemini/opencode login) and retry.";default:return}}(e,i);return{kind:e,message:i,...j?{cta:j}:{},...b?{resetAt:b}:{}}}(a.answer),D=a.pending?"pending":a.hasAnswer?"done":C||e?"errored":"working",E="opencode-cli"===a.binaryUsed?"opencode":a.lineage;return(0,d.jsxs)("div",{className:`flex h-[320px] flex-col overflow-hidden rounded-lg border transition-[opacity,border-color,box-shadow] duration-300 ${s[E]??"bg-card"} ${"done"===D?"border-emerald-500/30":"working"===D?"border-primary/60 shadow-[0_0_0_1px_rgba(124,58,237,0.25),0_0_24px_-6px_rgba(124,58,237,0.45)] animate-pulse-soft":"errored"===D?"border-destructive/40":"pending"===D?"border-border/40 opacity-50 grayscale-[0.6]":"border-border"}`,children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2 border-b border-border bg-card/60 px-4 py-3",children:[(0,d.jsxs)("div",{className:"flex min-w-0 items-center gap-2 text-xs leading-none",children:[(0,d.jsx)("span",{className:`h-2 w-2 shrink-0 rounded-full ${(0,r.JR)(E)} ${"working"===D?"animate-pulse-soft":""}`}),(0,d.jsx)("span",{className:"font-medium capitalize text-foreground",children:a.role}),(0,d.jsx)("span",{className:"text-muted-foreground",children:"\xb7"}),(0,d.jsx)("span",{className:"uppercase tracking-wider text-muted-foreground",children:(0,r.u5)(E)}),(a.modelUsed??a.model)&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:"text-muted-foreground/60",children:"\xb7"}),(0,d.jsx)("span",{className:"truncate font-mono text-muted-foreground",children:a.modelUsed??a.model})]})]}),(0,d.jsxs)("div",{className:"flex shrink-0 items-center gap-1.5",children:["working"===D&&f&&(0,d.jsx)("button",{type:"button",disabled:u,onClick:async()=>{if(!u){z(!0);try{let b=await fetch(`/api/daemon/chats/${f}/participants/${encodeURIComponent(a.participant)}/cancel`,{method:"POST"});if(!b.ok)return void z(!1);let c=await b.json();if(!c.ok){window.alert(`Couldn't cancel: ${c.error?.message??"unknown error"}`),z(!1);return}setTimeout(()=>z(!1),15e3)}catch{z(!1)}}},"aria-label":"Cancel this reviewer",title:"Cancel this reviewer (chat continues with others)",className:"grid h-6 w-6 shrink-0 place-items-center rounded-md border border-border bg-card/40 text-muted-foreground transition hover:border-destructive/40 hover:text-destructive disabled:cursor-not-allowed disabled:opacity-50",children:(0,d.jsx)(m.A,{className:"h-3 w-3"})}),(0,d.jsx)(v,{state:D})]})]}),h&&h.length>0&&(t=h.slice().sort((a,b)=>a.fallbackIdx-b.fallbackIdx),(0,d.jsx)("div",{className:"space-y-1.5 border-b border-amber-500/30 bg-amber-500/5 px-4 py-2 text-[11px]",children:t.map((a,b)=>{let c="lineage_fallback"===a.reason,e=b===t.length-1;return(0,d.jsxs)("div",{className:"flex items-start gap-2",children:[(0,d.jsx)(n.A,{className:"mt-0.5 h-3 w-3 shrink-0 text-amber-300"}),(0,d.jsxs)("div",{className:"min-w-0 flex-1 space-y-0.5",children:[(0,d.jsx)("div",{className:"font-medium uppercase tracking-wider text-[10px] text-amber-300",children:c?"Cross-lineage fallback":"Model fallback"}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5 text-[11px] text-amber-100/90",children:[(0,d.jsxs)("span",{className:"text-amber-100/60 line-through",children:[a.fromLineage,"/",a.fromModel]}),(0,d.jsx)(o.A,{className:"h-3 w-3 shrink-0 text-amber-300"}),(0,d.jsxs)("span",{className:e?"font-medium text-amber-100":"text-amber-100/60 line-through",children:[a.toLineage,"/",a.toModel]}),e&&(0,d.jsx)("span",{className:"rounded bg-amber-500/15 px-1 py-0.5 font-mono text-[9px] text-amber-200",children:"actually ran"})]})]})]},`${a.fromLineage}-${a.fromModel}-${b}`)})})),a.warnings&&a.warnings.length>0&&(0,d.jsx)("div",{className:"space-y-1 border-b border-amber-500/30 bg-amber-500/5 px-4 py-2 text-[11px] text-amber-200/90",children:a.warnings.map((a,b)=>(0,d.jsxs)("div",{className:"flex items-start gap-1.5",children:[(0,d.jsx)(p.A,{className:"mt-0.5 h-3 w-3 shrink-0 text-amber-400"}),(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsx)("span",{className:"font-medium uppercase tracking-wider text-[10px] text-amber-300",children:a.kind}),(0,d.jsx)("div",{className:"mt-0.5 break-words font-mono text-[11px] leading-snug text-amber-100/85",children:a.message})]})]},b))}),(0,d.jsx)("div",{className:"flex min-h-0 flex-1 flex-col overflow-hidden px-4 py-3 font-mono text-xs leading-relaxed text-muted-foreground",children:a.findingsPreview&&a.findingsPreview.length>0?a.findingsPreview.map((a,b)=>(0,d.jsx)("div",{className:"py-0.5 text-foreground/90",children:a},b)):"working"===D&&c&&c.length>0?(0,d.jsx)("div",{className:"flex min-h-0 flex-1 flex-col-reverse overflow-y-auto",children:(0,d.jsx)("pre",{className:"whitespace-pre-wrap break-words text-foreground/85",children:c})}):"working"===D?(0,d.jsx)("div",{className:"text-muted-foreground",children:"Thinking…"}):"pending"===D?(0,d.jsx)("div",{className:"text-muted-foreground/70",children:g?"Queued — waiting for an open slot.":"Queued — runs after the doer."}):"errored"===D?C?(0,d.jsxs)("div",{className:"space-y-1.5 text-destructive/90",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsx)("span",{className:"text-[10px] font-semibold uppercase tracking-wider",children:C.kind}),C.resetAt&&(0,d.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full bg-amber-500/10 px-2 py-0.5 text-[10px] font-medium text-amber-300",children:["Resets ",function(a){let b=a-Date.now();if(b<=0)return"now";let c=Math.round(b/1e3);if(c<60)return`in ${c}s`;let d=Math.round(c/60);if(d<60)return`in ${d}m`;let e=Math.round(d/60);if(e<24){let b=new Date(a);return`at ${b.getHours().toString().padStart(2,"0")}:${b.getMinutes().toString().padStart(2,"0")}`}let f=Math.round(e/24);return`in ${f}d`}(C.resetAt)]})]}),(0,d.jsx)("div",{className:"whitespace-pre-wrap break-words text-foreground/85",children:C.message}),C.cta&&(0,d.jsx)("div",{className:"text-[11px] text-muted-foreground/80",children:C.cta})]}):(0,d.jsx)("div",{className:"text-destructive/80",children:"The program finished but didn't produce any output."}):"done"===D&&a.answer?(0,d.jsx)("button",{type:"button",onClick:()=>B(!0),className:"group min-h-0 flex-1 cursor-zoom-in overflow-y-auto rounded text-left transition-colors hover:bg-foreground/5 focus:outline-none focus:ring-2 focus:ring-primary/40",title:"Click to view the full answer",children:(0,d.jsx)("pre",{className:"whitespace-pre-wrap break-words text-foreground/85",children:a.answer})}):(0,d.jsx)("div",{className:"text-muted-foreground/70",children:"No output yet."})}),(0,d.jsxs)("div",{className:"flex items-center justify-between gap-3 border-t border-border bg-card/60 px-4 py-2 font-mono text-[10px] text-muted-foreground",children:[(0,d.jsx)("span",{className:"truncate",children:a.binaryUsed??a.agentName}),(0,d.jsxs)("span",{className:"flex shrink-0 items-center gap-2",children:[void 0!==a.durationMs&&(0,d.jsx)("span",{title:"Wall-clock time the CLI took to finish.",children:function(a){if(a<1e3)return`${a} ms`;let b=a/1e3;if(b<60)return`${b.toFixed(1)}s`;let c=Math.floor(b/60),d=Math.round(b-60*c);return`${c}m${d.toString().padStart(2,"0")}s`}(a.durationMs)}),a.usage?.costUsd!==void 0&&(0,d.jsx)("span",{title:"USD cost reported by the CLI for this run.",children:(j=a.usage.costUsd)<=0?"$0.00":j<.01?"<$0.01":j<1?`$${j.toFixed(3)}`:`$${j.toFixed(2)}`}),a.usage&&y(a.usage)&&(0,d.jsx)("span",{title:(k=a.usage,l=[],void 0!==k.inputTokens&&l.push(`in ${k.inputTokens.toLocaleString()}`),void 0!==k.outputTokens&&l.push(`out ${k.outputTokens.toLocaleString()}`),void 0!==k.cachedInputTokens&&l.push(`cached ${k.cachedInputTokens.toLocaleString()}`),l.join(" \xb7 ")),children:y(a.usage)}),(0,d.jsx)("span",{children:a.hasAnswer?`${(a.answer?.length??0).toLocaleString()} B`:"—"}),"done"===D&&a.answer&&(0,d.jsxs)("button",{type:"button",onClick:()=>B(!0),className:"inline-flex items-center gap-1 rounded px-1 py-0.5 text-muted-foreground/80 transition-colors hover:bg-foreground/10 hover:text-foreground",title:"View full answer",children:[(0,d.jsx)(q,{className:"h-3 w-3"}),(0,d.jsx)("span",{className:"hidden sm:inline",children:"expand"})]})]})]}),(0,d.jsx)(w.lG,{open:A,onOpenChange:B,children:(0,d.jsxs)(w.Cf,{className:"max-h-[85vh] max-w-3xl overflow-hidden",children:[(0,d.jsx)(w.c7,{children:(0,d.jsxs)(w.L3,{className:"flex items-center gap-2 text-sm",children:[(0,d.jsx)("span",{className:`h-2 w-2 shrink-0 rounded-full ${(0,r.JR)(E)}`}),(0,d.jsx)("span",{className:"font-medium capitalize",children:a.role}),(0,d.jsx)("span",{className:"text-muted-foreground",children:"\xb7"}),(0,d.jsx)("span",{className:"uppercase tracking-wider text-muted-foreground",children:(0,r.u5)(E)}),(a.modelUsed??a.model)&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:"text-muted-foreground/60",children:"\xb7"}),(0,d.jsx)("span",{className:"font-mono text-xs text-muted-foreground",children:a.modelUsed??a.model})]})]})}),(0,d.jsx)("div",{className:"max-h-[70vh] overflow-y-auto rounded border border-border bg-card/40 p-4",children:(0,d.jsx)("pre",{className:"whitespace-pre-wrap break-words text-sm text-foreground/90",children:a.answer??""})})]})})]})}function y(a){let b=(a.inputTokens??0)+(a.outputTokens??0);return b<=0?null:b<1e3?`${b} tok`:`${(b/1e3).toFixed(1)}k tok`}function z({round:a,isLatest:b,activeFor:c,liveTails:e,chatTerminal:f,reviewOnly:g,chatId:h,swaps:i}){let j=g?a.participants.filter(a=>"doer"!==a.role):a.participants,k=(i??[]).filter(b=>b.round===a.round);return(0,d.jsxs)("section",{children:[!g&&(0,d.jsxs)("h2",{className:"mb-3 text-xs uppercase tracking-wider text-muted-foreground",children:["Round ",a.round,b&&(0,d.jsx)("span",{className:"ml-2 rounded bg-primary/10 px-1.5 py-0.5 text-[10px] font-medium text-primary",children:"current"})]}),(0,d.jsx)("div",{className:"grid items-start gap-4 sm:grid-cols-2 xl:grid-cols-3",children:j.map(a=>{let b;return(0,d.jsx)(x,{participant:a,isActive:c(a),liveTail:e[a.participant],chatTerminal:f,chatId:h,reviewOnly:g,swaps:(b=a.participant.replace(/^(reviewer-|doer-)/,""),k.filter(a=>a.agent===b))},a.participant)})})]})}let A={claude:"claude-code",codex:"codex-cli",gemini:"gemini-cli",opencode:"opencode-cli",kimi:"kimi-cli",openrouter:"openrouter"},B={anthropic:"claude",openai:"codex",google:"gemini",opencode:"opencode",moonshot:"kimi"},C={drafting:{text:"DRAFTING \xb7 doer working",color:"primary"},reviewing:{text:"REVIEWING \xb7 cross-lineage check",color:"primary"},approved:{text:"APPROVED",color:"emerald"},merged:{text:"PR OPENED",color:"emerald"},blocked:{text:"BLOCKED \xb7 ship error",color:"amber"},no_review:{text:"NO REVIEW \xb7 reviewers unavailable",color:"amber"},failed:{text:"FAILED",color:"destructive"},cancelled:{text:"CANCELLED",color:"muted"}},D={primary:"bg-primary",emerald:"bg-emerald-400",amber:"bg-amber-400",destructive:"bg-destructive",muted:"bg-muted-foreground"},E=["approved","merged","blocked","failed","cancelled","no_review"];function F(a,b){return b&&b.startsWith("openrouter:")?"openrouter":B[a]??a}let G=(0,g.A)("rotate-cw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]),H=(0,g.A)("repeat",[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]]);var I=c(78770),J=c(260);function K({chatId:a,status:b,isTerminal:c,template:e,onCancel:g}){let h=(0,J.useRouter)(),[j,k]=(0,i.useState)(!1),[l,n]=(0,i.useState)(!1),o=async()=>{k(!0);try{let b=await fetch(`/api/daemon/chats/${a}/rerun`,{method:"POST"});if(!b.ok){window.alert("Couldn't start a new run — Chorus didn't respond. Try restarting it from your terminal: chorus start"),k(!1);return}let c=await b.json();if(!c.ok){let a=c.error?.message??"Unknown error from Chorus.";window.alert(`Couldn't start a new run: ${a}`),k(!1);return}let d=c.data?.slug??c.data?.id;d?(h.push(`/runs/${d}`),h.refresh()):(window.alert("Chorus accepted the retry but didn't return a chat id. Refresh and try again."),k(!1))}catch{window.alert("Retry failed. Network error."),k(!1)}},p=async()=>{if(window.confirm("Delete this chat permanently? This removes all reviewer output and history. You cannot undo this.")){n(!0);try{(await fetch(`/api/daemon/chats/${a}`,{method:"DELETE"})).ok?(h.push("/runs"),h.refresh()):(window.alert("Couldn't delete this chat — Chorus didn't respond. Try restarting it from your terminal: chorus start"),n(!1))}catch{window.alert("Delete failed. Network error."),n(!1)}}};return(0,d.jsxs)("div",{className:"flex shrink-0 items-center gap-2",children:["cancelled"===b||"failed"===b?(0,d.jsxs)("button",{type:"button",disabled:j,onClick:o,className:"flex items-center gap-1.5 rounded-md border border-primary/40 bg-primary/10 px-3 py-1.5 text-xs font-medium text-primary transition hover:border-primary hover:bg-primary/20 disabled:cursor-not-allowed disabled:opacity-50",children:[(0,d.jsx)(G,{className:`h-3.5 w-3.5 ${j?"animate-spin":""}`}),j?"Restarting…":"Retry"]}):(0,d.jsxs)("button",{type:"button",disabled:c,onClick:async()=>{await fetch(`/api/daemon/chats/${a}/cancel`,{method:"POST"}),g()},className:"flex items-center gap-1.5 rounded-md border border-border bg-card px-3 py-1.5 text-xs font-medium text-muted-foreground transition hover:border-destructive/40 hover:text-destructive disabled:cursor-not-allowed disabled:opacity-50",children:[(0,d.jsx)(m.A,{className:"h-3.5 w-3.5"}),"Cancel"]}),c&&e&&(0,d.jsxs)(f(),{href:`/new?template=${encodeURIComponent(e.id)}`,className:"flex items-center gap-1.5 rounded-md border border-border bg-card px-3 py-1.5 text-xs font-medium text-muted-foreground transition hover:border-primary/40 hover:text-primary",children:[(0,d.jsx)(H,{className:"h-3.5 w-3.5"}),"Run again"]}),(0,d.jsxs)("button",{type:"button",disabled:l,onClick:p,className:"flex items-center gap-1.5 rounded-md border border-border bg-card px-3 py-1.5 text-xs font-medium text-muted-foreground transition hover:border-destructive/40 hover:text-destructive disabled:cursor-not-allowed disabled:opacity-50",children:[(0,d.jsx)(I.A,{className:"h-3.5 w-3.5"}),l?"Deleting…":"Delete"]})]})}var L=c(31650),M=c(46728),N=c(15213),O=c(41970),P=c(5616),Q=c(83720),R=c(75619),S=c(14463),T=c(72069);let U={review:L.A,review_only:L.A,plan:M.A,spec:N.A,tests:O.A,implement:P.A,verify:Q.A,pr:R.A,divergence:n.A,recon:S.A},V={pending:"bg-muted-foreground/20 text-muted-foreground",active:"bg-primary/20 text-primary ring-2 ring-primary/40 ring-offset-2 ring-offset-background",done:"bg-emerald-500/20 text-emerald-300",blocked:"bg-amber-500/20 text-amber-300",skipped:"bg-muted-foreground/10 text-muted-foreground/50 line-through"},W={pending:"queued",active:"active",done:"done",blocked:"blocked",skipped:"skipped"};function X({phases:a,activeIndex:b,states:c,onSelect:e}){return(0,d.jsx)("div",{className:"flex items-center gap-0 overflow-x-auto pb-1",children:a.map((f,g)=>{let h=c[g]??"pending",i=U[f.kind],j=e&&("done"===h||"active"===h);return(0,d.jsxs)("div",{className:"flex items-center",children:[(0,d.jsxs)("button",{type:"button",disabled:!j,onClick:()=>j&&e?.(g),className:`group flex items-center gap-2 rounded-md border px-3 py-1.5 text-left transition ${g===b?"border-primary/40 bg-primary/5":"done"===h?"border-emerald-500/30 bg-emerald-500/5":"blocked"===h?"border-amber-500/40 bg-amber-500/5":"border-border bg-card/30"} ${j?"hover:border-foreground/30":"cursor-default"}`,children:[(0,d.jsx)("span",{className:`grid h-6 w-6 shrink-0 place-items-center rounded-md ${V[h]}`,children:"done"===h?(0,d.jsx)(T.A,{className:"h-3.5 w-3.5"}):"active"===h?(0,d.jsx)(u.A,{className:"h-3.5 w-3.5 animate-spin"}):(0,d.jsx)(i,{className:"h-3.5 w-3.5"})}),(0,d.jsxs)("span",{className:"flex flex-col leading-tight",children:[(0,d.jsxs)("span",{className:"text-[10px] font-medium uppercase tracking-wider text-muted-foreground",children:[String(g+1).padStart(2,"0")," \xb7 ",W[h]]}),(0,d.jsx)("span",{className:`text-xs font-medium ${"skipped"===h?"text-muted-foreground/50":"text-foreground"}`,children:f.name})]})]}),g<a.length-1&&(0,d.jsx)("span",{className:`mx-1.5 h-px w-6 ${"done"===c[g]?"bg-emerald-500/40":"bg-border"}`})]},f.id)})})}function Y({template:a,status:b,totalPhases:c,completedPhaseCount:e,rounds:f,enrichedRounds:g,prUrl:h,shipError:i}){return(0,d.jsx)("div",{className:"border-b border-border bg-card/20 px-4 py-3 sm:px-8",children:(0,d.jsxs)("div",{className:"mx-auto flex w-full flex-col gap-3",children:[h&&(0,d.jsxs)("div",{className:"rounded-md border border-emerald-500/40 bg-emerald-500/5 px-4 py-3",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium text-emerald-300",children:[(0,d.jsx)(t.A,{className:"h-4 w-4"}),"Pull request opened"]}),(0,d.jsx)("a",{href:h,target:"_blank",rel:"noreferrer",className:"rounded-md border border-emerald-500/40 bg-emerald-500/10 px-3 py-1.5 text-xs font-medium text-emerald-300 transition hover:bg-emerald-500/20",children:"View PR →"})]}),(0,d.jsx)("p",{className:"mt-1 break-all font-mono text-[11px] text-emerald-200/70",children:h})]}),i&&!h&&(0,d.jsxs)("div",{className:"rounded-md border border-amber-500/40 bg-amber-500/5 px-4 py-3",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium text-amber-300",children:[(0,d.jsx)(p.A,{className:"h-4 w-4"}),"Ship phase blocked"]}),(0,d.jsx)("p",{className:"mt-1 break-words font-mono text-[11px] text-amber-200/80",children:i}),(0,d.jsx)("p",{className:"mt-2 text-[11px] leading-relaxed text-muted-foreground",children:"The reviewers approved the doer's output, but chorus couldn't open a PR. Resolve the issue above and re-run."})]}),a?.phases&&a.phases.length>0&&(0,d.jsx)("div",{className:"flex justify-center",children:(0,d.jsx)(X,{phases:a.phases,activeIndex:Math.min(e,c-1),states:a.phases.map((a,c)=>"approved"===b?"done":"no_review"===b?c<e?"done":"blocked":"failed"===b||"cancelled"===b?c<e?"done":"skipped":c<e?"done":c===e?"active":"pending")})}),(0,d.jsx)(Z,{template:a,status:b,totalPhases:c,completedPhaseCount:e,rounds:f,enrichedRounds:g})]})})}function Z({template:a,status:b,totalPhases:c,completedPhaseCount:e,rounds:f,enrichedRounds:g}){let h=a?.maxRounds??1,i="approved"===b||"merged"===b||"no_review"===b||"blocked"===b||"failed"===b||"cancelled"===b,j=c>1,k=!j&&h>1,l=g[g.length-1],m=l?.participants.filter(a=>"reviewer"===a.role)??[],n=m.length,o=m.filter(a=>a.hasAnswer).length;if(!j&&!k&&!(!j&&!k&&n>1))return null;let p=j?c:k?h:n,q=j?Math.min(e,c):k?Math.min(Math.max(f.length,1),h):o,r=j&&i?p:q,s=j?`${r} / ${p} phases`:k?`Round ${r} / ${p}`:`${r} / ${p} complete`;return(0,d.jsxs)("div",{className:"mx-auto flex w-full max-w-xs items-center gap-2",children:[(0,d.jsx)("div",{className:"flex h-1 flex-1 overflow-hidden rounded-full bg-muted",children:(0,d.jsx)("div",{className:`transition-[width] duration-700 ease-out ${"approved"===b?"bg-emerald-400":"bg-primary"}`,style:{width:`${r/p*100}%`}})}),(0,d.jsx)("span",{className:"shrink-0 font-mono text-[10px] tabular-nums text-muted-foreground",children:s})]})}function $({chatId:a,initialStatus:b,initialRounds:c,templateId:e,template:g,work:k,projectName:m,initialPrUrl:n,initialShipError:o,initialVerdict:p,demoDataSource:q}){var s,t;let[u,v]=(0,i.useState)(b),[w,x]=(0,i.useState)(p),[y,B]=(0,i.useState)(c),[G,H]=(0,i.useState)(new Set),[I,J]=(0,i.useState)(n),[L,M]=(0,i.useState)(o),[N,O]=(0,i.useState)({}),[P,Q]=(0,i.useState)(-1),[R,S]=(0,i.useState)({}),[T,U]=(0,i.useState)([]),V=E.includes(u),W=(s=u,t=w,"approved"===s&&t&&"approved"!==t?"request_changes"===t?{text:"REVIEW \xb7 CHANGES REQUESTED",color:"amber"}:{text:`REVIEW \xb7 ${t.toUpperCase()}`,color:"amber"}:C[s]??{text:s.toUpperCase(),color:"muted"}),X=g?.phases?.length??1,Z=(0,i.useMemo)(()=>"approved"===u||"merged"===u||"no_review"===u||"blocked"===u?X:"failed"===u||"cancelled"===u?0:Math.min(Math.max(0,P+1),X),[u,X,P]),_=(0,i.useMemo)(()=>(0,j.$)(g),[g]),aa=(0,i.useMemo)(()=>(function(a,b,c){if(!b?.phases?.length)return a;let d=(0,j.$)(b),e=function(a,b){let c=a.phases[0],d=(a,b)=>b?.[0]??(0,r.YM)(a),e=[];if(!b){let a=c.doer.models?.[0],b=F(c.doer.lineage,a);e.push({role:"doer",lineage:b,model:a??d(b,c.doer.models)})}for(let[a,b]of(c.reviewer?.candidatesWithModels??[]).entries()){let c=b.models?.[0],f=F(b.lineage,c);e.push({role:"reviewer",lineage:f,model:c??d(f,b.models),reviewerIdx:a})}return e}(b,d);return a.map(a=>{let b=[],d=new Set;for(let f of e){let e="doer"===f.role?`doer-${f.lineage}`:`reviewer-${f.lineage}-${f.reviewerIdx}`,g=a.participants.find(a=>"doer"===f.role?"doer"===a.role&&a.lineage===f.lineage:"reviewer"===a.role&&a.lineage===f.lineage&&parseInt(a.participant.match(/-(\d+)$/)?.[1]??"0",10)===f.reviewerIdx);g?(b.push({...g,model:f.model,...c[g.participant]?{warnings:c[g.participant]}:{}}),d.add(g.participant)):b.push({participant:e,role:f.role,agentName:A[f.lineage]??f.lineage,lineage:f.lineage,hasAnswer:!1,model:f.model,pending:!0,...c[e]?{warnings:c[e]}:{}})}for(let e of a.participants)d.has(e.participant)||b.push({...e,...c[e.participant]?{warnings:c[e.participant]}:{}});return{...a,participants:b}})})(y,g,R),[y,g,R]),ab=aa[aa.length-1],ac=aa.slice(0,-1);return(0,d.jsxs)("div",{className:"flex h-full flex-col",children:[(0,d.jsxs)("div",{className:"sticky top-0 z-20 border-b border-border bg-card/80 backdrop-blur-sm px-4 py-3 sm:px-8",children:[(0,d.jsxs)("div",{className:"mb-2 flex w-full items-center justify-between gap-3",children:[(0,d.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[(0,d.jsxs)(f(),{href:"/runs",className:"flex shrink-0 items-center gap-1 text-xs text-muted-foreground transition hover:text-foreground",children:[(0,d.jsx)(h,{className:"h-3 w-3"}),(0,d.jsx)("span",{children:m??"Runs"})]}),(0,d.jsx)("span",{className:"text-muted-foreground/40",children:"\xb7"}),(0,d.jsxs)("span",{title:W.text,className:"inline-flex shrink-0 items-center gap-1.5 text-[11px] uppercase tracking-wider text-muted-foreground",children:[(0,d.jsx)("span",{className:`h-2 w-2 shrink-0 rounded-full ${D[W.color]} ${V?"":"animate-pulse-soft"}`}),u]}),(g||e)&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:"text-muted-foreground/40",children:"\xb7"}),(0,d.jsxs)(f(),{href:`/templates${g?`#${encodeURIComponent(g.id)}`:""}`,title:g?`Template: ${g.name}`:`Template (deleted): ${e}`,className:"inline-flex min-w-0 shrink items-center gap-1.5 text-[11px] text-muted-foreground transition hover:text-primary",children:[(0,d.jsx)("span",{className:"font-mono uppercase tracking-wider",children:"tpl"}),(0,d.jsx)("span",{className:"truncate font-medium text-foreground",children:g?.name??e})]})]})]}),(0,d.jsx)(K,{chatId:a,status:u,isTerminal:V,template:g,onCancel:()=>v("cancelled")})]}),(0,d.jsx)("div",{className:"min-w-0",children:(0,d.jsx)(l,{work:k})})]}),(0,d.jsx)(Y,{template:g,status:u,totalPhases:X,completedPhaseCount:Z,rounds:y,enrichedRounds:aa,prUrl:I,shipError:L}),(0,d.jsx)("div",{className:"flex-1 overflow-y-auto px-4 py-6 sm:px-8",children:(0,d.jsxs)("div",{className:"mx-auto w-full space-y-8",children:[0===y.length&&(0,d.jsx)("div",{className:"rounded-lg border border-dashed border-border p-12 text-center text-sm text-muted-foreground",children:"Waiting for first phase to start…"}),ab&&(0,d.jsx)(z,{round:ab,isLatest:!0,activeFor:a=>{let b=`${a.participant}-`;for(let a of G)if(a.startsWith(b))return!0;return!1},liveTails:N,chatTerminal:V,reviewOnly:_,chatId:a,swaps:T}),!_&&ac.length>0&&(0,d.jsxs)("details",{className:"rounded-lg border border-border bg-card",children:[(0,d.jsxs)("summary",{className:"cursor-pointer px-4 py-3 text-xs uppercase tracking-wider text-muted-foreground hover:text-foreground",children:["Earlier rounds (",ac.length,")"]}),(0,d.jsx)("div",{className:"space-y-6 border-t border-border p-4",children:ac.slice().reverse().map(a=>(0,d.jsx)(z,{round:a,activeFor:()=>!1,liveTails:{},chatTerminal:V,swaps:T},a.round))})]})]})})]})}},75619:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(52449).A)("git-pull-request",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["line",{x1:"6",x2:"6",y1:"9",y2:"21",key:"rroup"}]])},83720:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(52449).A)("flask-conical",[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]])},91458:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(52449).A)("shuffle",[["path",{d:"m18 14 4 4-4 4",key:"10pe0f"}],["path",{d:"m18 2 4 4-4 4",key:"pucp1d"}],["path",{d:"M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22",key:"1ailkh"}],["path",{d:"M2 6h1.972a4 4 0 0 1 3.6 2.2",key:"km57vx"}],["path",{d:"M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45",key:"os18l9"}]])},95047:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(52449).A)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])}};
|
|
1
|
+
"use strict";exports.id=325,exports.ids=[325],exports.modules={14463:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(52449).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},15213:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(52449).A)("file-code-corner",[["path",{d:"M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35",key:"1wthlu"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m5 16-3 3 3 3",key:"331omg"}],["path",{d:"m9 22 3-3-3-3",key:"lsp7cz"}]])},15808:(a,b,c)=>{c.d(b,{$:()=>d});function d(a){return!!a&&a.phases[0]?.kind==="review_only"}},31650:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(52449).A)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},41970:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(52449).A)("test-tube-diagonal",[["path",{d:"M21 7 6.82 21.18a2.83 2.83 0 0 1-3.99-.01a2.83 2.83 0 0 1 0-4L17 3",key:"1ub6xw"}],["path",{d:"m16 2 6 6",key:"1gw87d"}],["path",{d:"M12 16H4",key:"1cjfip"}]])},46728:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(52449).A)("clipboard-list",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]])},72069:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(52449).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},72325:(a,b,c)=>{c.d(b,{LiveRunReal:()=>$});var d=c(66722),e=c(23937),f=c.n(e),g=c(52449);let h=(0,g.A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);var i=c(31131),j=c(15808),k=c(43092);function l({work:a}){let[b,c]=(0,i.useState)(!1),e=(0,k.t)(a),f=a.trim()!==e.trim()||a.length>100;return(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("button",{type:"button",onClick:f?()=>c(a=>!a):void 0,title:f?b?"Hide full brief":"Click to show full brief":e,disabled:!f,className:"block w-full min-w-0 text-left disabled:cursor-default",children:(0,d.jsx)("h1",{className:"truncate text-sm font-medium tracking-tight",children:e})}),f&&b&&(0,d.jsx)("pre",{className:"mt-2 max-h-72 overflow-auto whitespace-pre-wrap break-words rounded-md border border-border bg-background px-5 py-4 font-mono text-[12px] leading-relaxed text-foreground/90",children:a})]})}var m=c(90057),n=c(91458),o=c(95047),p=c(65850);let q=(0,g.A)("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]);var r=c(6506);let s=Object.fromEntries(Object.entries(r.r2).map(([a,b])=>[a,b.gradient]));var t=c(55932),u=c(66635);function v({state:a}){switch(a){case"done":return(0,d.jsxs)("span",{className:"flex items-center gap-1 rounded-md bg-emerald-500/10 px-1.5 py-0.5 text-[10px] font-medium text-emerald-400",children:[(0,d.jsx)(t.A,{className:"h-3 w-3"})," DONE"]});case"errored":return(0,d.jsxs)("span",{className:"flex items-center gap-1 rounded-md bg-destructive/10 px-1.5 py-0.5 text-[10px] font-medium text-destructive",children:[(0,d.jsx)(p.A,{className:"h-3 w-3"})," ERRORED"]});case"working":return(0,d.jsxs)("span",{className:"flex items-center gap-1 rounded-md bg-primary/10 px-1.5 py-0.5 text-[10px] font-medium text-primary",children:[(0,d.jsx)(u.A,{className:"h-3 w-3 animate-spin"})," WORKING"]});case"pending":return(0,d.jsx)("span",{className:"flex items-center gap-1 rounded-md bg-muted/40 px-1.5 py-0.5 text-[10px] font-medium text-muted-foreground/80",children:"QUEUED"});default:return(0,d.jsx)("span",{className:"rounded-md bg-muted px-1.5 py-0.5 text-[10px] font-medium text-muted-foreground",children:"IDLE"})}}var w=c(64519);function x({participant:a,isActive:b,liveTail:c,chatTerminal:e,chatId:f,reviewOnly:g,swaps:h}){var j,k;let l,t,[u,z]=(0,i.useState)(!1),[A,B]=(0,i.useState)(!1),C=function(a){let b;if(!a)return null;let c=a.trimStart();if(!/^##\s+(?:REVIEWER|DOER)\s+FAILED/i.test(c))return null;let d=c.match(/\*\*Kind:\*\*\s*(.+?)(?:\n|$)/),e=d?d[1].trim():"failed",f=c.match(/\*\*Resets:\*\*\s*(.+?)(?:\n|$)/);if(f){let a=Date.parse(f[1].trim());Number.isFinite(a)&&(b=a)}let g=c.search(/\n\n[^*]/),h=g>=0?c.slice(g+2).trim():"",i=h.length>0?h:"(no error message reported)",j=function(a,b){if(b&&/dangerously-skip-permissions cannot be used with root\/sudo/i.test(b))return"Claude CLI refuses --dangerously-skip-permissions as root. Run chorus as a non-root user, or disable Claude voices in /connect.";switch(a){case"quota_exhausted":return"Check your subscription dashboard or swap the account in CHORUS_CODEX_HOME / chorus settings.";case"stream_failure":return"Subprocess died mid-stream — check disk space and CLI version.";case"cli_failed":case"cli_error":return"Re-auth the CLI (codex/gemini/opencode login) and retry.";default:return}}(e,i);return{kind:e,message:i,...j?{cta:j}:{},...b?{resetAt:b}:{}}}(a.answer),D=a.pending?"pending":a.hasAnswer?"done":C||e?"errored":"working",E="opencode-cli"===a.binaryUsed?"opencode":a.lineage;return(0,d.jsxs)("div",{className:`flex h-[320px] flex-col overflow-hidden rounded-lg border transition-[opacity,border-color,box-shadow] duration-300 ${s[E]??"bg-card"} ${"done"===D?"border-emerald-500/30":"working"===D?"border-primary/60 shadow-[0_0_0_1px_rgba(124,58,237,0.25),0_0_24px_-6px_rgba(124,58,237,0.45)] animate-pulse-soft":"errored"===D?"border-destructive/40":"pending"===D?"border-border/40 opacity-50 grayscale-[0.6]":"border-border"}`,children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2 border-b border-border bg-card/60 px-4 py-3",children:[(0,d.jsxs)("div",{className:"flex min-w-0 items-center gap-2 text-xs leading-none",children:[(0,d.jsx)("span",{className:`h-2 w-2 shrink-0 rounded-full ${(0,r.JR)(E)} ${"working"===D?"animate-pulse-soft":""}`}),(0,d.jsx)("span",{className:"font-medium capitalize text-foreground",children:a.role}),(0,d.jsx)("span",{className:"text-muted-foreground",children:"\xb7"}),(0,d.jsx)("span",{className:"uppercase tracking-wider text-muted-foreground",children:(0,r.u5)(E)}),(a.modelUsed??a.model)&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:"text-muted-foreground/60",children:"\xb7"}),(0,d.jsx)("span",{className:"truncate font-mono text-muted-foreground",children:a.modelUsed??a.model})]})]}),(0,d.jsxs)("div",{className:"flex shrink-0 items-center gap-1.5",children:["working"===D&&f&&(0,d.jsx)("button",{type:"button",disabled:u,onClick:async()=>{if(!u){z(!0);try{let b=await fetch(`/api/daemon/chats/${f}/participants/${encodeURIComponent(a.participant)}/cancel`,{method:"POST"});if(!b.ok)return void z(!1);let c=await b.json();if(!c.ok){window.alert(`Couldn't cancel: ${c.error?.message??"unknown error"}`),z(!1);return}setTimeout(()=>z(!1),15e3)}catch{z(!1)}}},"aria-label":"Cancel this reviewer",title:"Cancel this reviewer (chat continues with others)",className:"grid h-6 w-6 shrink-0 place-items-center rounded-md border border-border bg-card/40 text-muted-foreground transition hover:border-destructive/40 hover:text-destructive disabled:cursor-not-allowed disabled:opacity-50",children:(0,d.jsx)(m.A,{className:"h-3 w-3"})}),(0,d.jsx)(v,{state:D})]})]}),h&&h.length>0&&(t=h.slice().sort((a,b)=>a.fallbackIdx-b.fallbackIdx),(0,d.jsx)("div",{className:"space-y-1.5 border-b border-amber-500/30 bg-amber-500/5 px-4 py-2 text-[11px]",children:t.map((a,b)=>{let c="lineage_fallback"===a.reason,e=b===t.length-1;return(0,d.jsxs)("div",{className:"flex items-start gap-2",children:[(0,d.jsx)(n.A,{className:"mt-0.5 h-3 w-3 shrink-0 text-amber-300"}),(0,d.jsxs)("div",{className:"min-w-0 flex-1 space-y-0.5",children:[(0,d.jsx)("div",{className:"font-medium uppercase tracking-wider text-[10px] text-amber-300",children:c?"Cross-lineage fallback":"Model fallback"}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5 text-[11px] text-amber-100/90",children:[(0,d.jsxs)("span",{className:"text-amber-100/60 line-through",children:[a.fromLineage,"/",a.fromModel]}),(0,d.jsx)(o.A,{className:"h-3 w-3 shrink-0 text-amber-300"}),(0,d.jsxs)("span",{className:e?"font-medium text-amber-100":"text-amber-100/60 line-through",children:[a.toLineage,"/",a.toModel]}),e&&(0,d.jsx)("span",{className:"rounded bg-amber-500/15 px-1 py-0.5 font-mono text-[9px] text-amber-200",children:"actually ran"})]}),a.fromErrorKind&&(0,d.jsxs)("div",{className:"text-[10px] text-amber-200/75",children:[(0,d.jsx)("span",{className:"font-mono uppercase tracking-wider text-amber-300/90",children:a.fromErrorKind}),a.fromErrorMessage&&(0,d.jsxs)("span",{className:"ml-1.5 text-amber-100/80",children:["— ",a.fromErrorMessage]})]})]})]},`${a.fromLineage}-${a.fromModel}-${b}`)})})),a.warnings&&a.warnings.length>0&&(0,d.jsx)("div",{className:"space-y-1 border-b border-amber-500/30 bg-amber-500/5 px-4 py-2 text-[11px] text-amber-200/90",children:a.warnings.map((a,b)=>(0,d.jsxs)("div",{className:"flex items-start gap-1.5",children:[(0,d.jsx)(p.A,{className:"mt-0.5 h-3 w-3 shrink-0 text-amber-400"}),(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsx)("span",{className:"font-medium uppercase tracking-wider text-[10px] text-amber-300",children:a.kind}),(0,d.jsx)("div",{className:"mt-0.5 break-words font-mono text-[11px] leading-snug text-amber-100/85",children:a.message})]})]},b))}),(0,d.jsx)("div",{className:"flex min-h-0 flex-1 flex-col overflow-hidden px-4 py-3 font-mono text-xs leading-relaxed text-muted-foreground",children:a.findingsPreview&&a.findingsPreview.length>0?a.findingsPreview.map((a,b)=>(0,d.jsx)("div",{className:"py-0.5 text-foreground/90",children:a},b)):"working"===D&&c&&c.length>0?(0,d.jsx)("div",{className:"flex min-h-0 flex-1 flex-col-reverse overflow-y-auto",children:(0,d.jsx)("pre",{className:"whitespace-pre-wrap break-words text-foreground/85",children:c})}):"working"===D?(0,d.jsx)("div",{className:"text-muted-foreground",children:"Thinking…"}):"pending"===D?(0,d.jsx)("div",{className:"text-muted-foreground/70",children:g?"Queued — waiting for an open slot.":"Queued — runs after the doer."}):"errored"===D?C?(0,d.jsxs)("div",{className:"space-y-1.5 text-destructive/90",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsx)("span",{className:"text-[10px] font-semibold uppercase tracking-wider",children:C.kind}),C.resetAt&&(0,d.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full bg-amber-500/10 px-2 py-0.5 text-[10px] font-medium text-amber-300",children:["Resets ",function(a){let b=a-Date.now();if(b<=0)return"now";let c=Math.round(b/1e3);if(c<60)return`in ${c}s`;let d=Math.round(c/60);if(d<60)return`in ${d}m`;let e=Math.round(d/60);if(e<24){let b=new Date(a);return`at ${b.getHours().toString().padStart(2,"0")}:${b.getMinutes().toString().padStart(2,"0")}`}let f=Math.round(e/24);return`in ${f}d`}(C.resetAt)]})]}),(0,d.jsx)("div",{className:"whitespace-pre-wrap break-words text-foreground/85",children:C.message}),C.cta&&(0,d.jsx)("div",{className:"text-[11px] text-muted-foreground/80",children:C.cta})]}):(0,d.jsx)("div",{className:"text-destructive/80",children:"The program finished but didn't produce any output."}):"done"===D&&a.answer?(0,d.jsx)("button",{type:"button",onClick:()=>B(!0),className:"group min-h-0 flex-1 cursor-zoom-in overflow-y-auto rounded text-left transition-colors hover:bg-foreground/5 focus:outline-none focus:ring-2 focus:ring-primary/40",title:"Click to view the full answer",children:(0,d.jsx)("pre",{className:"whitespace-pre-wrap break-words text-foreground/85",children:a.answer})}):(0,d.jsx)("div",{className:"text-muted-foreground/70",children:"No output yet."})}),(0,d.jsxs)("div",{className:"flex items-center justify-between gap-3 border-t border-border bg-card/60 px-4 py-2 font-mono text-[10px] text-muted-foreground",children:[(0,d.jsx)("span",{className:"truncate",children:a.binaryUsed??a.agentName}),(0,d.jsxs)("span",{className:"flex shrink-0 items-center gap-2",children:[void 0!==a.durationMs&&(0,d.jsx)("span",{title:"Wall-clock time the CLI took to finish.",children:function(a){if(a<1e3)return`${a} ms`;let b=a/1e3;if(b<60)return`${b.toFixed(1)}s`;let c=Math.floor(b/60),d=Math.round(b-60*c);return`${c}m${d.toString().padStart(2,"0")}s`}(a.durationMs)}),a.usage?.costUsd!==void 0&&(0,d.jsx)("span",{title:"USD cost reported by the CLI for this run.",children:(j=a.usage.costUsd)<=0?"$0.00":j<.01?"<$0.01":j<1?`$${j.toFixed(3)}`:`$${j.toFixed(2)}`}),a.usage&&y(a.usage)&&(0,d.jsx)("span",{title:(k=a.usage,l=[],void 0!==k.inputTokens&&l.push(`in ${k.inputTokens.toLocaleString()}`),void 0!==k.outputTokens&&l.push(`out ${k.outputTokens.toLocaleString()}`),void 0!==k.cachedInputTokens&&l.push(`cached ${k.cachedInputTokens.toLocaleString()}`),l.join(" \xb7 ")),children:y(a.usage)}),(0,d.jsx)("span",{children:a.hasAnswer?`${(a.answer?.length??0).toLocaleString()} B`:"—"}),"done"===D&&a.answer&&(0,d.jsxs)("button",{type:"button",onClick:()=>B(!0),className:"inline-flex items-center gap-1 rounded px-1 py-0.5 text-muted-foreground/80 transition-colors hover:bg-foreground/10 hover:text-foreground",title:"View full answer",children:[(0,d.jsx)(q,{className:"h-3 w-3"}),(0,d.jsx)("span",{className:"hidden sm:inline",children:"expand"})]})]})]}),(0,d.jsx)(w.lG,{open:A,onOpenChange:B,children:(0,d.jsxs)(w.Cf,{className:"max-h-[85vh] max-w-3xl overflow-hidden",children:[(0,d.jsx)(w.c7,{children:(0,d.jsxs)(w.L3,{className:"flex items-center gap-2 text-sm",children:[(0,d.jsx)("span",{className:`h-2 w-2 shrink-0 rounded-full ${(0,r.JR)(E)}`}),(0,d.jsx)("span",{className:"font-medium capitalize",children:a.role}),(0,d.jsx)("span",{className:"text-muted-foreground",children:"\xb7"}),(0,d.jsx)("span",{className:"uppercase tracking-wider text-muted-foreground",children:(0,r.u5)(E)}),(a.modelUsed??a.model)&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:"text-muted-foreground/60",children:"\xb7"}),(0,d.jsx)("span",{className:"font-mono text-xs text-muted-foreground",children:a.modelUsed??a.model})]})]})}),(0,d.jsx)("div",{className:"max-h-[70vh] overflow-y-auto rounded border border-border bg-card/40 p-4",children:(0,d.jsx)("pre",{className:"whitespace-pre-wrap break-words text-sm text-foreground/90",children:a.answer??""})})]})})]})}function y(a){let b=(a.inputTokens??0)+(a.outputTokens??0);return b<=0?null:b<1e3?`${b} tok`:`${(b/1e3).toFixed(1)}k tok`}function z({round:a,isLatest:b,activeFor:c,liveTails:e,chatTerminal:f,reviewOnly:g,chatId:h,swaps:i}){let j=g?a.participants.filter(a=>"doer"!==a.role):a.participants,k=(i??[]).filter(b=>b.round===a.round);return(0,d.jsxs)("section",{children:[!g&&(0,d.jsxs)("h2",{className:"mb-3 text-xs uppercase tracking-wider text-muted-foreground",children:["Round ",a.round,b&&(0,d.jsx)("span",{className:"ml-2 rounded bg-primary/10 px-1.5 py-0.5 text-[10px] font-medium text-primary",children:"current"})]}),(0,d.jsx)("div",{className:"grid items-start gap-4 sm:grid-cols-2 xl:grid-cols-3",children:j.map(a=>{let b;return(0,d.jsx)(x,{participant:a,isActive:c(a),liveTail:e[a.participant],chatTerminal:f,chatId:h,reviewOnly:g,swaps:(b=a.participant.replace(/^(reviewer-|doer-)/,""),k.filter(a=>a.agent===b))},a.participant)})})]})}let A={claude:"claude-code",codex:"codex-cli",gemini:"gemini-cli",opencode:"opencode-cli",kimi:"kimi-cli",openrouter:"openrouter"},B={anthropic:"claude",openai:"codex",google:"gemini",opencode:"opencode",moonshot:"kimi"},C={drafting:{text:"DRAFTING \xb7 doer working",color:"primary"},reviewing:{text:"REVIEWING \xb7 cross-lineage check",color:"primary"},approved:{text:"APPROVED",color:"emerald"},merged:{text:"PR OPENED",color:"emerald"},blocked:{text:"BLOCKED \xb7 ship error",color:"amber"},no_review:{text:"NO REVIEW \xb7 reviewers unavailable",color:"amber"},failed:{text:"FAILED",color:"destructive"},cancelled:{text:"CANCELLED",color:"muted"}},D={primary:"bg-primary",emerald:"bg-emerald-400",amber:"bg-amber-400",destructive:"bg-destructive",muted:"bg-muted-foreground"},E=["approved","merged","blocked","failed","cancelled","no_review"];function F(a,b){return b&&b.startsWith("openrouter:")?"openrouter":B[a]??a}let G=(0,g.A)("rotate-cw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]),H=(0,g.A)("repeat",[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]]);var I=c(78770),J=c(260);function K({chatId:a,status:b,isTerminal:c,template:e,onCancel:g}){let h=(0,J.useRouter)(),[j,k]=(0,i.useState)(!1),[l,n]=(0,i.useState)(!1),o=async()=>{k(!0);try{let b=await fetch(`/api/daemon/chats/${a}/rerun`,{method:"POST"});if(!b.ok){window.alert("Couldn't start a new run — Chorus didn't respond. Try restarting it from your terminal: chorus start"),k(!1);return}let c=await b.json();if(!c.ok){let a=c.error?.message??"Unknown error from Chorus.";window.alert(`Couldn't start a new run: ${a}`),k(!1);return}let d=c.data?.slug??c.data?.id;d?(h.push(`/runs/${d}`),h.refresh()):(window.alert("Chorus accepted the retry but didn't return a chat id. Refresh and try again."),k(!1))}catch{window.alert("Retry failed. Network error."),k(!1)}},p=async()=>{if(window.confirm("Delete this chat permanently? This removes all reviewer output and history. You cannot undo this.")){n(!0);try{(await fetch(`/api/daemon/chats/${a}`,{method:"DELETE"})).ok?(h.push("/runs"),h.refresh()):(window.alert("Couldn't delete this chat — Chorus didn't respond. Try restarting it from your terminal: chorus start"),n(!1))}catch{window.alert("Delete failed. Network error."),n(!1)}}};return(0,d.jsxs)("div",{className:"flex shrink-0 items-center gap-2",children:["cancelled"===b||"failed"===b?(0,d.jsxs)("button",{type:"button",disabled:j,onClick:o,className:"flex items-center gap-1.5 rounded-md border border-primary/40 bg-primary/10 px-3 py-1.5 text-xs font-medium text-primary transition hover:border-primary hover:bg-primary/20 disabled:cursor-not-allowed disabled:opacity-50",children:[(0,d.jsx)(G,{className:`h-3.5 w-3.5 ${j?"animate-spin":""}`}),j?"Restarting…":"Retry"]}):(0,d.jsxs)("button",{type:"button",disabled:c,onClick:async()=>{await fetch(`/api/daemon/chats/${a}/cancel`,{method:"POST"}),g()},className:"flex items-center gap-1.5 rounded-md border border-border bg-card px-3 py-1.5 text-xs font-medium text-muted-foreground transition hover:border-destructive/40 hover:text-destructive disabled:cursor-not-allowed disabled:opacity-50",children:[(0,d.jsx)(m.A,{className:"h-3.5 w-3.5"}),"Cancel"]}),c&&e&&(0,d.jsxs)(f(),{href:`/new?template=${encodeURIComponent(e.id)}`,className:"flex items-center gap-1.5 rounded-md border border-border bg-card px-3 py-1.5 text-xs font-medium text-muted-foreground transition hover:border-primary/40 hover:text-primary",children:[(0,d.jsx)(H,{className:"h-3.5 w-3.5"}),"Run again"]}),(0,d.jsxs)("button",{type:"button",disabled:l,onClick:p,className:"flex items-center gap-1.5 rounded-md border border-border bg-card px-3 py-1.5 text-xs font-medium text-muted-foreground transition hover:border-destructive/40 hover:text-destructive disabled:cursor-not-allowed disabled:opacity-50",children:[(0,d.jsx)(I.A,{className:"h-3.5 w-3.5"}),l?"Deleting…":"Delete"]})]})}var L=c(31650),M=c(46728),N=c(15213),O=c(41970),P=c(5616),Q=c(83720),R=c(75619),S=c(14463),T=c(72069);let U={review:L.A,review_only:L.A,plan:M.A,spec:N.A,tests:O.A,implement:P.A,verify:Q.A,pr:R.A,divergence:n.A,recon:S.A},V={pending:"bg-muted-foreground/20 text-muted-foreground",active:"bg-primary/20 text-primary ring-2 ring-primary/40 ring-offset-2 ring-offset-background",done:"bg-emerald-500/20 text-emerald-300",blocked:"bg-amber-500/20 text-amber-300",skipped:"bg-muted-foreground/10 text-muted-foreground/50 line-through"},W={pending:"queued",active:"active",done:"done",blocked:"blocked",skipped:"skipped"};function X({phases:a,activeIndex:b,states:c,onSelect:e}){return(0,d.jsx)("div",{className:"flex items-center gap-0 overflow-x-auto pb-1",children:a.map((f,g)=>{let h=c[g]??"pending",i=U[f.kind],j=e&&("done"===h||"active"===h);return(0,d.jsxs)("div",{className:"flex items-center",children:[(0,d.jsxs)("button",{type:"button",disabled:!j,onClick:()=>j&&e?.(g),className:`group flex items-center gap-2 rounded-md border px-3 py-1.5 text-left transition ${g===b?"border-primary/40 bg-primary/5":"done"===h?"border-emerald-500/30 bg-emerald-500/5":"blocked"===h?"border-amber-500/40 bg-amber-500/5":"border-border bg-card/30"} ${j?"hover:border-foreground/30":"cursor-default"}`,children:[(0,d.jsx)("span",{className:`grid h-6 w-6 shrink-0 place-items-center rounded-md ${V[h]}`,children:"done"===h?(0,d.jsx)(T.A,{className:"h-3.5 w-3.5"}):"active"===h?(0,d.jsx)(u.A,{className:"h-3.5 w-3.5 animate-spin"}):(0,d.jsx)(i,{className:"h-3.5 w-3.5"})}),(0,d.jsxs)("span",{className:"flex flex-col leading-tight",children:[(0,d.jsxs)("span",{className:"text-[10px] font-medium uppercase tracking-wider text-muted-foreground",children:[String(g+1).padStart(2,"0")," \xb7 ",W[h]]}),(0,d.jsx)("span",{className:`text-xs font-medium ${"skipped"===h?"text-muted-foreground/50":"text-foreground"}`,children:f.name})]})]}),g<a.length-1&&(0,d.jsx)("span",{className:`mx-1.5 h-px w-6 ${"done"===c[g]?"bg-emerald-500/40":"bg-border"}`})]},f.id)})})}function Y({template:a,status:b,totalPhases:c,completedPhaseCount:e,rounds:f,enrichedRounds:g,prUrl:h,shipError:i}){return(0,d.jsx)("div",{className:"border-b border-border bg-card/20 px-4 py-3 sm:px-8",children:(0,d.jsxs)("div",{className:"mx-auto flex w-full flex-col gap-3",children:[h&&(0,d.jsxs)("div",{className:"rounded-md border border-emerald-500/40 bg-emerald-500/5 px-4 py-3",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium text-emerald-300",children:[(0,d.jsx)(t.A,{className:"h-4 w-4"}),"Pull request opened"]}),(0,d.jsx)("a",{href:h,target:"_blank",rel:"noreferrer",className:"rounded-md border border-emerald-500/40 bg-emerald-500/10 px-3 py-1.5 text-xs font-medium text-emerald-300 transition hover:bg-emerald-500/20",children:"View PR →"})]}),(0,d.jsx)("p",{className:"mt-1 break-all font-mono text-[11px] text-emerald-200/70",children:h})]}),i&&!h&&(0,d.jsxs)("div",{className:"rounded-md border border-amber-500/40 bg-amber-500/5 px-4 py-3",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium text-amber-300",children:[(0,d.jsx)(p.A,{className:"h-4 w-4"}),"Ship phase blocked"]}),(0,d.jsx)("p",{className:"mt-1 break-words font-mono text-[11px] text-amber-200/80",children:i}),(0,d.jsx)("p",{className:"mt-2 text-[11px] leading-relaxed text-muted-foreground",children:"The reviewers approved the doer's output, but chorus couldn't open a PR. Resolve the issue above and re-run."})]}),a?.phases&&a.phases.length>0&&(0,d.jsx)("div",{className:"flex justify-center",children:(0,d.jsx)(X,{phases:a.phases,activeIndex:Math.min(e,c-1),states:a.phases.map((a,c)=>"approved"===b?"done":"no_review"===b?c<e?"done":"blocked":"failed"===b||"cancelled"===b?c<e?"done":"skipped":c<e?"done":c===e?"active":"pending")})}),(0,d.jsx)(Z,{template:a,status:b,totalPhases:c,completedPhaseCount:e,rounds:f,enrichedRounds:g})]})})}function Z({template:a,status:b,totalPhases:c,completedPhaseCount:e,rounds:f,enrichedRounds:g}){let h=a?.maxRounds??1,i="approved"===b||"merged"===b||"no_review"===b||"blocked"===b||"failed"===b||"cancelled"===b,j=c>1,k=!j&&h>1,l=g[g.length-1],m=l?.participants.filter(a=>"reviewer"===a.role)??[],n=m.length,o=m.filter(a=>a.hasAnswer).length;if(!j&&!k&&!(!j&&!k&&n>1))return null;let p=j?c:k?h:n,q=j?Math.min(e,c):k?Math.min(Math.max(f.length,1),h):o,r=j&&i?p:q,s=j?`${r} / ${p} phases`:k?`Round ${r} / ${p}`:`${r} / ${p} complete`;return(0,d.jsxs)("div",{className:"mx-auto flex w-full max-w-xs items-center gap-2",children:[(0,d.jsx)("div",{className:"flex h-1 flex-1 overflow-hidden rounded-full bg-muted",children:(0,d.jsx)("div",{className:`transition-[width] duration-700 ease-out ${"approved"===b?"bg-emerald-400":"bg-primary"}`,style:{width:`${r/p*100}%`}})}),(0,d.jsx)("span",{className:"shrink-0 font-mono text-[10px] tabular-nums text-muted-foreground",children:s})]})}function $({chatId:a,initialStatus:b,initialRounds:c,templateId:e,template:g,work:k,projectName:m,initialPrUrl:n,initialShipError:o,initialVerdict:p,demoDataSource:q}){var s,t;let[u,v]=(0,i.useState)(b),[w,x]=(0,i.useState)(p),[y,B]=(0,i.useState)(c),[G,H]=(0,i.useState)(new Set),[I,J]=(0,i.useState)(n),[L,M]=(0,i.useState)(o),[N,O]=(0,i.useState)({}),[P,Q]=(0,i.useState)(-1),[R,S]=(0,i.useState)({}),[T,U]=(0,i.useState)([]),V=E.includes(u),W=(s=u,t=w,"approved"===s&&t&&"approved"!==t?"request_changes"===t?{text:"REVIEW \xb7 CHANGES REQUESTED",color:"amber"}:{text:`REVIEW \xb7 ${t.toUpperCase()}`,color:"amber"}:C[s]??{text:s.toUpperCase(),color:"muted"}),X=g?.phases?.length??1,Z=(0,i.useMemo)(()=>"approved"===u||"merged"===u||"no_review"===u||"blocked"===u?X:"failed"===u||"cancelled"===u?0:Math.min(Math.max(0,P+1),X),[u,X,P]),_=(0,i.useMemo)(()=>(0,j.$)(g),[g]),aa=(0,i.useMemo)(()=>(function(a,b,c){if(!b?.phases?.length)return a;let d=(0,j.$)(b),e=function(a,b){let c=a.phases[0],d=(a,b)=>b?.[0]??(0,r.YM)(a),e=[];if(!b){let a=c.doer.models?.[0],b=F(c.doer.lineage,a);e.push({role:"doer",lineage:b,model:a??d(b,c.doer.models)})}for(let[a,b]of(c.reviewer?.candidatesWithModels??[]).entries()){let c=b.models?.[0],f=F(b.lineage,c);e.push({role:"reviewer",lineage:f,model:c??d(f,b.models),reviewerIdx:a})}return e}(b,d);return a.map(a=>{let b=[],d=new Set;for(let f of e){let e="doer"===f.role?`doer-${f.lineage}`:`reviewer-${f.lineage}-${f.reviewerIdx}`,g=a.participants.find(a=>"doer"===f.role?"doer"===a.role&&a.lineage===f.lineage:"reviewer"===a.role&&a.lineage===f.lineage&&parseInt(a.participant.match(/-(\d+)$/)?.[1]??"0",10)===f.reviewerIdx);g?(b.push({...g,model:f.model,...c[g.participant]?{warnings:c[g.participant]}:{}}),d.add(g.participant)):b.push({participant:e,role:f.role,agentName:A[f.lineage]??f.lineage,lineage:f.lineage,hasAnswer:!1,model:f.model,pending:!0,...c[e]?{warnings:c[e]}:{}})}for(let e of a.participants)d.has(e.participant)||b.push({...e,...c[e.participant]?{warnings:c[e.participant]}:{}});return{...a,participants:b}})})(y,g,R),[y,g,R]),ab=aa[aa.length-1],ac=aa.slice(0,-1);return(0,d.jsxs)("div",{className:"flex h-full flex-col",children:[(0,d.jsxs)("div",{className:"sticky top-0 z-20 border-b border-border bg-card/80 backdrop-blur-sm px-4 py-3 sm:px-8",children:[(0,d.jsxs)("div",{className:"mb-2 flex w-full items-center justify-between gap-3",children:[(0,d.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[(0,d.jsxs)(f(),{href:"/runs",className:"flex shrink-0 items-center gap-1 text-xs text-muted-foreground transition hover:text-foreground",children:[(0,d.jsx)(h,{className:"h-3 w-3"}),(0,d.jsx)("span",{children:m??"Runs"})]}),(0,d.jsx)("span",{className:"text-muted-foreground/40",children:"\xb7"}),(0,d.jsxs)("span",{title:W.text,className:"inline-flex shrink-0 items-center gap-1.5 text-[11px] uppercase tracking-wider text-muted-foreground",children:[(0,d.jsx)("span",{className:`h-2 w-2 shrink-0 rounded-full ${D[W.color]} ${V?"":"animate-pulse-soft"}`}),u]}),(g||e)&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:"text-muted-foreground/40",children:"\xb7"}),(0,d.jsxs)(f(),{href:`/templates${g?`#${encodeURIComponent(g.id)}`:""}`,title:g?`Template: ${g.name}`:`Template (deleted): ${e}`,className:"inline-flex min-w-0 shrink items-center gap-1.5 text-[11px] text-muted-foreground transition hover:text-primary",children:[(0,d.jsx)("span",{className:"font-mono uppercase tracking-wider",children:"tpl"}),(0,d.jsx)("span",{className:"truncate font-medium text-foreground",children:g?.name??e})]})]})]}),(0,d.jsx)(K,{chatId:a,status:u,isTerminal:V,template:g,onCancel:()=>v("cancelled")})]}),(0,d.jsx)("div",{className:"min-w-0",children:(0,d.jsx)(l,{work:k})})]}),(0,d.jsx)(Y,{template:g,status:u,totalPhases:X,completedPhaseCount:Z,rounds:y,enrichedRounds:aa,prUrl:I,shipError:L}),(0,d.jsx)("div",{className:"flex-1 overflow-y-auto px-4 py-6 sm:px-8",children:(0,d.jsxs)("div",{className:"mx-auto w-full space-y-8",children:[0===y.length&&(0,d.jsx)("div",{className:"rounded-lg border border-dashed border-border p-12 text-center text-sm text-muted-foreground",children:"Waiting for first phase to start…"}),ab&&(0,d.jsx)(z,{round:ab,isLatest:!0,activeFor:a=>{let b=`${a.participant}-`;for(let a of G)if(a.startsWith(b))return!0;return!1},liveTails:N,chatTerminal:V,reviewOnly:_,chatId:a,swaps:T}),!_&&ac.length>0&&(0,d.jsxs)("details",{className:"rounded-lg border border-border bg-card",children:[(0,d.jsxs)("summary",{className:"cursor-pointer px-4 py-3 text-xs uppercase tracking-wider text-muted-foreground hover:text-foreground",children:["Earlier rounds (",ac.length,")"]}),(0,d.jsx)("div",{className:"space-y-6 border-t border-border p-4",children:ac.slice().reverse().map(a=>(0,d.jsx)(z,{round:a,activeFor:()=>!1,liveTails:{},chatTerminal:V,swaps:T},a.round))})]})]})})]})}},75619:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(52449).A)("git-pull-request",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["line",{x1:"6",x2:"6",y1:"9",y2:"21",key:"rroup"}]])},83720:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(52449).A)("flask-conical",[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]])},91458:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(52449).A)("shuffle",[["path",{d:"m18 14 4 4-4 4",key:"10pe0f"}],["path",{d:"m18 2 4 4-4 4",key:"pucp1d"}],["path",{d:"M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22",key:"1ailkh"}],["path",{d:"M2 6h1.972a4 4 0 0 1 3.6 2.2",key:"km57vx"}],["path",{d:"M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45",key:"os18l9"}]])},95047:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(52449).A)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],lowPriorityFiles:["static/
|
|
1
|
+
globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],lowPriorityFiles:["static/7C4cUPwLKOxbH_klopEvr/_buildManifest.js","static/7C4cUPwLKOxbH_klopEvr/_ssgManifest.js"],rootMainFiles:["static/chunks/webpack-87142ab87b87c8fb.js","static/chunks/ed64ccb0-b7d2b5246d18ca7e.js","static/chunks/128-a5d059bf5b2e5090.js","static/chunks/main-app-e9f7985e32dc8a63.js"],rootMainFilesTree:{},pages:{"/_app":[]}};
|