chorus-codes 0.8.12 → 0.8.14
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 +2 -2
- 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/connect/page_client-reference-manifest.js +1 -1
- package/.next/server/app/demo/[scenario]/page.js +2 -2
- package/.next/server/app/demo/[scenario]/page.js.nft.json +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.js +2 -2
- package/.next/server/app/personas/page.js.nft.json +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 +3 -3
- package/.next/server/app/personas.segments/_full.segment.rsc +3 -3
- 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 +2 -2
- package/.next/server/app/personas.segments/personas.segment.rsc +1 -1
- package/.next/server/app/runs/[runId]/page.js +2 -2
- package/.next/server/app/runs/[runId]/page.js.nft.json +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.js +2 -2
- package/.next/server/app/templates/page.js.nft.json +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 +3 -3
- package/.next/server/app/templates.segments/_full.segment.rsc +3 -3
- 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 +2 -2
- package/.next/server/app/templates.segments/templates.segment.rsc +1 -1
- package/.next/server/app-paths-manifest.json +2 -2
- package/.next/server/chunks/325.js +1 -0
- package/.next/server/chunks/642.js +1 -0
- 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-934c5ce426296df5.js +1 -0
- package/.next/static/chunks/744-0dbe0ecdef7c2a4a.js +1 -0
- package/.next/static/chunks/app/demo/[scenario]/{page-1e694db85f44db1d.js → page-6307259fba2e5fdf.js} +1 -1
- package/.next/static/chunks/app/runs/[runId]/page-b3364baa47b77ce9.js +1 -0
- package/.next/static/css/55e13578d64f89b0.css +3 -0
- package/.next/trace +20 -20
- package/.next/trace-build +1 -1
- package/dist/daemon/runner/reviewer-driver.js +10 -64
- package/dist/daemon/runner/reviewer-driver.js.map +1 -1
- package/package.json +1 -1
- package/.next/server/chunks/429.js +0 -1
- package/.next/server/chunks/597.js +0 -1
- package/.next/static/chunks/744-73bacac02ba407ef.js +0 -1
- package/.next/static/chunks/977-4887f24e0062c91d.js +0 -1
- package/.next/static/chunks/app/runs/[runId]/page-9ce1e87a5e513d8b.js +0 -1
- package/.next/static/css/a552ff3997000a18.css +0 -3
- /package/.next/static/{HOLAccvgd3XzQyzratFkE → SsXK_ZdfRKwQhMMuiH23K}/_buildManifest.js +0 -0
- /package/.next/static/{HOLAccvgd3XzQyzratFkE → SsXK_ZdfRKwQhMMuiH23K}/_ssgManifest.js +0 -0
|
@@ -8,8 +8,8 @@ a:I[5017,[],"MetadataBoundary"]
|
|
|
8
8
|
c:I[3720,[],"default",1]
|
|
9
9
|
:HL["/_next/static/media/4cf2300e9c8272f7-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
10
10
|
:HL["/_next/static/media/93f479601ee12b01-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
11
|
-
:HL["/_next/static/css/
|
|
12
|
-
0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/
|
|
11
|
+
:HL["/_next/static/css/55e13578d64f89b0.css","style"]
|
|
12
|
+
0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["_not-found",{"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":"$undefined","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":[[["$","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."}]}]]}]}]],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,null]},null,false,"$@7"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$c",[]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"SsXK_ZdfRKwQhMMuiH23K"}
|
|
13
13
|
d:[]
|
|
14
14
|
7:"$Wd"
|
|
15
15
|
9:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
@@ -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":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$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":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$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":"SsXK_ZdfRKwQhMMuiH23K"}
|
|
@@ -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/55e13578d64f89b0.css","style"]
|
|
5
|
+
0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/55e13578d64f89b0.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,{}]}]}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"SsXK_ZdfRKwQhMMuiH23K"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
2
|
2:I[5017,[],"OutletBoundary"]
|
|
3
3
|
3:"$Sreact.suspense"
|
|
4
|
-
0:{"rsc":["$","$1","c",{"children":[[["$","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."}]}]]}]}]],null,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"
|
|
4
|
+
0:{"rsc":["$","$1","c",{"children":[[["$","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."}]}]]}]}]],null,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"SsXK_ZdfRKwQhMMuiH23K"}
|
|
5
5
|
4: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":"SsXK_ZdfRKwQhMMuiH23K"}
|
|
@@ -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":"_not-found","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"
|
|
3
|
+
:HL["/_next/static/css/55e13578d64f89b0.css","style"]
|
|
4
|
+
0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"_not-found","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"SsXK_ZdfRKwQhMMuiH23K"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/connect/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"821":{"*":{"id":"24188","name":"*","chunks":[],"async":false}},"1195":{"*":{"id":"70173","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}},"5358":{"*":{"id":"43597","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":[],"async":false},"/home/ubuntu/dev/chorus/src/app/demo/[scenario]/page.tsx":{"id":5249,"name":"*","chunks":[],"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","951","static/chunks/app/connect/page-ffca0d7a439c908e.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","951","static/chunks/app/connect/page-ffca0d7a439c908e.js"],"async":false},"/home/ubuntu/dev/chorus/src/components/openrouter-card.tsx":{"id":7130,"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","951","static/chunks/app/connect/page-ffca0d7a439c908e.js"],"async":false},"/home/ubuntu/dev/chorus/src/components/orchestrator-card.tsx":{"id":1727,"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","951","static/chunks/app/connect/page-ffca0d7a439c908e.js"],"async":false},"/home/ubuntu/dev/chorus/src/components/runs-table.tsx":{"id":2897,"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/app/settings/permissions/permissions-form.tsx":{"id":4400,"name":"*","chunks":[],"async":false},"/home/ubuntu/dev/chorus/src/components/live-run-real/index.tsx":{"id":5358,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/ubuntu/dev/chorus/src/":[],"/home/ubuntu/dev/chorus/src/app/layout":[{"inlined":false,"path":"static/css/a552ff3997000a18.css"}],"/home/ubuntu/dev/chorus/src/app/page":[],"/home/ubuntu/dev/chorus/src/app/connect/page":[]},"rscModuleMapping":{"821":{"*":{"id":"80434","name":"*","chunks":[],"async":false}},"1195":{"*":{"id":"94335","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}},"5358":{"*":{"id":"73354","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["/connect/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":[],"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","951","static/chunks/app/connect/page-ffca0d7a439c908e.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","951","static/chunks/app/connect/page-ffca0d7a439c908e.js"],"async":false},"/home/ubuntu/dev/chorus/src/components/openrouter-card.tsx":{"id":7130,"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","951","static/chunks/app/connect/page-ffca0d7a439c908e.js"],"async":false},"/home/ubuntu/dev/chorus/src/components/orchestrator-card.tsx":{"id":1727,"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","951","static/chunks/app/connect/page-ffca0d7a439c908e.js"],"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/connect/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,2 +1,2 @@
|
|
|
1
|
-
(()=>{var a={};a.id=91,a.ids=[91],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},5905:(a,b,c)=>{Promise.resolve().then(c.bind(c,32517))},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},17891:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/get-segment-param")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19771:a=>{"use strict";a.exports=require("process")},21585:(a,b,c)=>{Promise.resolve().then(c.bind(c,28351))},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},28351:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>G});var d=c(66722),e=c(31131),f=c(260),g=c(80282),h=c(43597);function i(a,b){let c=[],d=!1,e={onmessage:null,onerror:null,onopen:null,readyState:0,url:"mock://demo",withCredentials:!1,addEventListener:()=>{},removeEventListener:()=>{},dispatchEvent:()=>!0,close:()=>{for(let a of(d=!0,c))clearTimeout(a)}};for(let f of[...a].sort((a,b)=>a.atMs-b.atMs)){let a=setTimeout(()=>{if(d)return;if(b){let a=f.payload;b("string"==typeof a.type?a.type:"",a.payload??{})}let a=e.onmessage;a&&a({data:JSON.stringify(f.payload)})},f.atMs);c.push(a)}return e}let j="review",k="**Verdict: approve**\n\n",l=[{agentName:"codex-cli-0",lineage:"codex",model:"gpt-5.5",binaryUsed:"codex",doneAtMs:3200,durationMs:3e3,usage:{inputTokens:6480,outputTokens:380,costUsd:.0094},answer:"## Codex review: `divide(a, b)`\n\n"+k+'Math is correct, types flow naturally, function is small and obvious. Approving with two notes.\n\n**The current helper:**\n```ts\nexport function divide(a: number, b: number) {\n return a / b;\n}\n```\n\n**Two minors before merge:**\n1. **Add a divide-by-zero guard.** `divide(x, 0)` silently returns `Infinity` — a footgun in any pipeline that math-chains:\n ```ts\n if (b === 0) throw new RangeError("divide: zero divisor");\n ```\n2. **Add a JSDoc block.** Three lines. Saves the next reader from reading the body to learn the type contract.'},{agentName:"gemini-cli-1",lineage:"gemini",model:"gemini-3.1-pro-preview",binaryUsed:"gemini-cli",doneAtMs:4400,durationMs:4200,usage:{inputTokens:6720,outputTokens:720,costUsd:.0258},answer:"## Gemini review: `divide(a, b)`\n\n"+k+'No structural issues. The function does one thing and the implementation matches its name. Approving with a strong suggestion to harden the test surface.\n\n**Suggested spec coverage:**\n```ts\ndescribe("divide", () => {\n it("returns a / b for finite inputs", () => {\n expect(divide(10, 2)).toBe(5);\n });\n it("rejects zero divisor", () => {\n expect(() => divide(10, 0)).toThrow();\n });\n it("rejects NaN", () => {\n expect(() => divide(NaN, 2)).toThrow();\n });\n it("rejects Infinity", () => {\n expect(() => divide(Infinity, 2)).toThrow();\n });\n});\n```\n\nFour cases close every hole I see by construction.'},{agentName:"claude-code-2",lineage:"claude",model:"claude-opus-4-7",binaryUsed:"claude-code",doneAtMs:5400,durationMs:5200,usage:{inputTokens:7100,outputTokens:1240,costUsd:.0517},answer:"## Claude review: `divide(a, b)`\n\n"+k+'Reads cleanly. The function does one thing and is trivially testable. Approving with two notes — neither blocking.\n\n**Note 1 — Zero-guard.**\n`divide(x, 0)` returns `Infinity` in JavaScript. That value flows silently through arithmetic and ends up in logs/dashboards as a real number. A typed error would prevent the silent corruption:\n```ts\nclass DivideError extends Error {}\nif (b === 0) throw new DivideError("zero divisor");\n```\n\n**Note 2 — Currency callers.**\nIf this lives on a billing/ledger hot path, prefer integer-cents or `decimal.js` over floats. IEEE 754 will accumulate cent-level drift in a high-volume ledger:\n```ts\n// safer for currency:\nexport function divideMoney(cents: number, n: number): number {\n return Math.round(cents / n);\n}\n```'},{agentName:"opencode-cli-3",lineage:"opencode",model:"opencode-go/kimi-k2.6",binaryUsed:"opencode",doneAtMs:2700,durationMs:2500,usage:{inputTokens:6240,outputTokens:280,costUsd:.0042},answer:"## Kimi review (via opencode)\n\n"+k+'Pragmatic helper. The math is correct; the holes are at the boundary, not the body. Approving — both fixes below are 60-second jobs that can land in a follow-up if you want to ship now.\n\n**Suggested patch:**\n```ts\n/**\n * Divide two finite numbers. Throws on zero divisor or non-finite input.\n */\nexport function divide(a: number, b: number): number {\n if (b === 0) throw new Error("divide: zero divisor");\n return a / b;\n}\n```\n\nAnd one test:\n```ts\nexpect(() => divide(1, 0)).toThrow("zero divisor");\n```'},{agentName:"opencode-cli-4",lineage:"opencode",model:"opencode-go/deepseek-v4-pro",binaryUsed:"opencode",doneAtMs:6200,durationMs:6e3,usage:{inputTokens:7340,outputTokens:1460,costUsd:.0228},answer:'## DeepSeek review (via opencode)\n\n**Verdict: request changes**\n\nThree blockers in a financial context. This helper would land me in a post-mortem inside three months on a busy ledger.\n\n**Blocker 1 — No divide-by-zero guard.**\n```ts\ndivide(100, 0); // → Infinity, silent corruption downstream\n```\nRequired:\n```ts\nif (b === 0) throw new DivideError("zero");\n```\n\n**Blocker 2 — No input validation.**\n```ts\ndivide("5" as any, 2); // → 2.5 (silent string coercion)\ndivide(NaN, 2); // → NaN (poisons later math)\ndivide(undefined as any, 2); // → NaN\n```\nRequired: `Number.isFinite(a) && Number.isFinite(b)` at the top.\n\n**Blocker 3 — Floats for money.**\nIEEE 754 + currency = audit-trail nightmare. Use integer-cents or `decimal.js`. Reproducer:\n```ts\n0.1 + 0.2 === 0.3; // false\ndivide(0.3, 0.1); // 2.9999999999999996\n```'},{agentName:"opencode-cli-5",lineage:"opencode",model:"opencode-go/qwen3.6-plus",binaryUsed:"opencode",doneAtMs:3700,durationMs:3500,usage:{inputTokens:6420,outputTokens:320,costUsd:.0061},answer:"## Qwen review (via opencode)\n\n"+k+"Reads cleanly. No defects in the body.\n\n**Minor — Missing documentation.**\nThree lines of JSDoc would let editor tooling surface the contract:\n```ts\n/**\n * @param a - dividend (finite number)\n * @param b - divisor (finite, non-zero)\n * @returns the quotient a / b\n */\n```\n\nHelpful for downstream callers, not blocking the merge."}];function m(a){return{participant:`reviewer-${a.agentName}`,role:"reviewer",agentName:a.agentName,lineage:a.lineage,hasAnswer:!1,model:a.model,pending:!1}}let n=[{round:1,participants:l.map(m)}],o={id:"demo-simple-6way",name:"External Review \xb7 Six Voices",description:"Six reviewers critique the artifact independently.",category:"review",agreementThreshold:"majority",onThresholdMet:"ask-user",maxRounds:1,driver:"external",driverHandoff:!1,verificationGate:"auto",costCapUsd:0,yoloDefault:!1,onError:"fail",notify:"dashboard-only",yaml:"",authorHandle:"demo",forks:0,popularity:0,phases:[{id:j,name:"External Review",description:"Six lineages critique the supplied artifact independently.",kind:"review_only",gate:"auto",doer:{lineage:"claude",models:[]},reviewer:{require:2,crossLineage:!0,candidates:["codex","gemini","claude","opencode"],candidatesWithModels:l.map(a=>({lineage:a.lineage,models:[a.model]}))},artifact:{label:"Artifact",hint:"",maxBytes:1048576},inputs:{include:[],exclude:[]},iterate:{max:1,onMax:"fail"},blindSpots:[],execution:"parallel",builtin:!0}]},p=a=>({type:"phase_start",payload:{phaseIdx:0,phaseId:j,kind:"review_only",role:"reviewer",agent:a},ts:Date.now()}),q=(a,b,c)=>({type:"phase_progress",payload:{phaseId:j,round:1,role:"reviewer",agent:a,elapsedMs:c,output:b},ts:Date.now()}),r=a=>({type:"participant_done",payload:{phaseId:j,round:1,role:"reviewer",agent:a},ts:Date.now()}),s={"codex-cli-0":"## Reviewing src/util/divide.ts\n\nCurrent implementation:\n```ts\nexport function divide(a: number, b: number) {\n return a / b;\n}\n```\n\nChecking input handling first.\n\nSpotted: no zero-guard. `divide(x, 0)` silently returns `Infinity`. In a billing pipeline that math-chains downstream, that becomes a ledger row.\n\nNo JSDoc either — readers have to read the body to learn the type contract.\n\nVerdict drafting: two minors, leaning approve with notes.","gemini-cli-1":"## Review \xb7 `divide(a, b)`\n\nReading the helper. Checking the type contract first:\n```ts\n(a: number, b: number) => number\n```\n\nCoverage gaps surfacing: `NaN`, `Infinity`, zero divisor — none asserted.\n\nDrafting a four-case spec block to close the holes by construction:\n```ts\nexpect(divide(10, 2)).toBe(5);\nexpect(() => divide(10, 0)).toThrow();\nexpect(() => divide(NaN, 2)).toThrow();\nexpect(() => divide(Infinity, 2)).toThrow();\n```\n\nApproving with this spec block as a follow-up.","claude-code-2":"## Review: divide helper\n\nLoading + cross-referencing the two callers:\n```ts\n// /billing/invoice.ts:42 — currently produces silent Infinity\nconst unitPrice = divide(invoice.total, invoice.quantity);\n\n// /reports/avg.ts:18 — already wraps in try/catch\nconst average = divide(sum, count);\n```\n\n`/billing/invoice.ts:42` is the smoking gun — confirms the silent-Infinity bug class is real, not theoretical.\n\nRecommendation:\n1. Add a zero-guard returning a typed `DivideError`.\n2. Stage `divideMoney(cents, n)` for currency callers in a follow-up.\n\nApproving the helper rewrite with these two notes.","opencode-cli-3":'## Kimi review (via opencode)\n\nInspecting `divide(a, b)`. Quick pass — math is correct, the holes are at the boundary.\n\nSuggested patch:\n```ts\n/** Divide two finite numbers. Throws on zero divisor or non-finite input. */\nexport function divide(a: number, b: number): number {\n if (b === 0) throw new Error("divide: zero divisor");\n return a / b;\n}\n```\n\nApproving — both fixes are 60-second jobs.',"opencode-cli-4":'## DeepSeek review (via opencode)\n\nLoading `divide()` + the two callers + the existing spec.\n\nReproducing the failure modes locally:\n```ts\ndivide(100, 0); // Infinity (silent corruption)\ndivide("5", 2); // 2.5 (silent string coercion)\ndivide(0.3, 0.1); // 2.9999999999999996 (IEEE 754)\n```\n\nThree blockers, all reproducible in <30 lines:\n1. **No divide-by-zero guard** — required: `Number.isFinite` check + typed error.\n2. **No input validation** — TypeScript types are erased at runtime; `as any` slips through.\n3. **Floats for money** — IEEE 754 + currency = audit-trail nightmare. Need integer-cents.\n\nWill request changes.',"opencode-cli-5":"## Qwen review (via opencode)\n\nQuick read — public API surface only.\n\nNo defects in the body. The implementation matches its name.\n\nDocumentation gap noted — three lines of JSDoc would let editor tooling surface the contract:\n```ts\n/**\n * @param a - dividend (finite number)\n * @param b - divisor (finite, non-zero)\n * @returns the quotient a / b\n */\n```\n\nApproving — JSDoc is the only minor."},t=(()=>{let a=[];for(let[b,c]of l.entries())a.push({atMs:200+20*b,payload:p(c.agentName)});for(let b of l){let c=function(a){let b=Math.floor(.3*a.length),c=Math.floor(.65*a.length);return[a.slice(0,b),a.slice(0,c),a]}(s[b.agentName]),d=[.25,.55,.85].map(a=>Math.round(b.doneAtMs*a));for(let[e,f]of c.entries())a.push({atMs:d[e],payload:q(b.agentName,f,d[e])})}for(let b of l)a.push({atMs:b.doneAtMs,payload:r(b.agentName)});let b=Math.max(...l.map(a=>a.doneAtMs));return a.push({atMs:b+200,payload:{type:"phase_done",payload:{phaseId:j,phaseIdx:0,kind:"review_only"},ts:Date.now()}}),a.push({atMs:b+400,payload:{type:"chat_done",payload:{status:"completed",verdict:"request_changes"},ts:Date.now()}}),a})(),u={agentName:"claude-code-doer",lineage:"claude",model:"claude-opus-4-7",binaryUsed:"claude-code",doneAtMs:3700,durationMs:3500},v=[{agentName:"codex-cli-0",lineage:"codex",model:"gpt-5.5",binaryUsed:"codex",doneAtMs:2800,durationMs:2600},{agentName:"gemini-cli-1",lineage:"gemini",model:"gemini-3.1-pro-preview",binaryUsed:"gemini-cli",doneAtMs:3500,durationMs:3300},{agentName:"claude-code-2",lineage:"claude",model:"claude-sonnet-4-6",binaryUsed:"claude-code",doneAtMs:3100,durationMs:2900},{agentName:"opencode-cli-3",lineage:"opencode",model:"opencode-go/kimi-k2.6",binaryUsed:"opencode",doneAtMs:3900,durationMs:3700},{agentName:"opencode-cli-4",lineage:"opencode",model:"opencode-go/deepseek-v4-pro",binaryUsed:"opencode",doneAtMs:4500,durationMs:4300}],w=[u,...v],x=[{id:"plan",name:"Plan",kind:"plan",description:"Doer drafts the implementation approach; three reviewers critique.",streams:["## Plan: divide() helper rewrite\n\n**Goal:** production-safe wrapper over `a / b`.\n\n**Three deliverables:**\n1. Zero-guard returning a typed `DivideError`.\n2. Strict input validation (numbers only, finite, non-NaN).\n3. Switch currency callers to integer-cents (`divideMoney(cents, n)` follow-up PR).\n\n**Acceptance tests:**\n```ts\nexpect(divide(10, 2)).toBe(5);\nexpect(() => divide(10, 0)).toThrow(DivideError);\nexpect(() => divide(NaN, 2)).toThrow(DivideError);\nexpect(() => divide(Infinity, 2)).toThrow(DivideError);\n```\n\n**Risks:** API churn for two callers (`/billing/invoice.ts:42`, `/reports/avg.ts:18`). Mitigation: ship v2 alongside, deprecate v1 over one minor.\n\n**Rollback:** revert single commit; no schema/migration touched.","## Codex review \xb7 plan\n\nReading the plan…\n\nThree-piece breakdown looks right:\n- zero-guard ✓\n- input validation ✓\n- decimal precision ✓\n\nAcceptance tests match the spec contract.\n\n**Approve** — sound plan. One ask: add a `bigint` handling note. The current plan is implicitly Number-only, which is the right call, but worth saying so explicitly so the next reader does not assume `BigInt` support.","## Gemini review \xb7 plan\n\nCross-checking acceptance tests against the spec contract:\n```ts\ndivide(10, 2) // 5 ✓\ndivide(10, 0) // throw ✓\ndivide(NaN, 2) // throw ✓\ndivide(Inf, 2) // throw ✓\n```\n\nConcrete enough to drive TDD.\n\n**Approve** — explicit zero-guard is the right move. One follow-up: surface the deprecation timeline in the PR body so the two affected callers can plan their cutover.","## Claude (sonnet) review \xb7 plan\n\nReading the plan + skimming the existing call sites.\n\nThree-piece breakdown is right. The `divideMoney` carve-out is the right ergonomic — keep `divide` for general arithmetic, steer money paths to integer-cents.\n\n**Approve** — one ask: pin the deprecation timeline (one minor? one major?) so the two callers can plan.","## Kimi review (via opencode) \xb7 plan\n\nPlan looks tight. Three deliverables map cleanly to three commits if you want to split for review.\n\nAcceptance test set is the right shape — unit tests against the contract, not the implementation.\n\n**Approve** — pragmatic and shippable.","## DeepSeek review \xb7 plan\n\nPulling the existing `divide()` implementation for context:\n```ts\nexport function divide(a, b) { return a / b; }\n```\n\nCross-checking against the silent-Infinity bug class.\n\nNeed a non-finite-input row added to the acceptance tests:\n```ts\nexpect(() => divide(Number.POSITIVE_INFINITY, 2)).toThrow(DivideError);\nexpect(() => divide(2, Number.NEGATIVE_INFINITY)).toThrow(DivideError);\n```\n\nThe silent-Infinity bug is what triggered this rewrite, so the test set should explicitly cover both directions.\n\n**Approve with notes** — solid plan, just close that gap."],usage:[{inputTokens:6420,outputTokens:1840,costUsd:.0682},{inputTokens:5800,outputTokens:380,costUsd:.0094},{inputTokens:6020,outputTokens:540,costUsd:.0241},{inputTokens:6020,outputTokens:410,costUsd:.0086},{inputTokens:6240,outputTokens:320,costUsd:.0048},{inputTokens:6280,outputTokens:1140,costUsd:.0488}]},{id:"spec",name:"Spec",kind:"spec",description:"Doer derives the API contract; reviewers check alignment.",streams:['## Spec: `divide(a, b)`\n\n```ts\nexport class DivideError extends Error {\n constructor(public readonly reason: "zero" | "non-finite") {\n super(`divide: ${reason}`);\n this.name = "DivideError";\n }\n}\n\nexport function divide(a: number, b: number): number;\n```\n\n**Contract:**\n- `b === 0` → throws `DivideError("zero")`\n- `!Number.isFinite(a)` → throws `DivideError("non-finite")`\n- `!Number.isFinite(b)` → throws `DivideError("non-finite")`\n- otherwise → returns `a / b`\n\n**Order of checks:** non-finite first so `divide(NaN, 0)` reports the more specific failure.',"## Codex review \xb7 spec\n\nReading the type signature:\n```ts\n(a: number, b: number) => number\n```\n\nClean. Examples cover happy + zero + non-finite.\n\n**Approve** — suggest adding NaN explicitly to the example block:\n```ts\nexpect(() => divide(NaN, 5)).toThrow(/non-finite/);\n```\n\n`Number.isFinite(NaN)` returns false so it is covered, but enumerating it makes the intent explicit.",'## Gemini review \xb7 spec\n\nThe `reason` discriminant on the error class is the right ergonomic for callers that need to branch:\n```ts\ntry { return divide(a, b); }\ncatch (err) {\n if (err instanceof DivideError && err.reason === "zero") return 0;\n throw err;\n}\n```\n\nThat pattern beats string parsing on `err.message`.\n\n**Approve** — no structural concerns.','## Claude (sonnet) review \xb7 spec\n\n`DivideError` class is well-scoped. The `name = "DivideError"` assignment is the kind of detail that pays off in stack traces:\n```\nDivideError: divide: zero\n at /billing/invoice.ts:42\n```\n\n**Approve.**',"## Kimi review (via opencode) \xb7 spec\n\nType signature is unambiguous. The `reason` discriminant lets callers branch on failure type without string parsing.\n\nOrder-of-checks (non-finite first) is the right call.\n\n**Approve** — ready for implement.","## DeepSeek review \xb7 spec\n\nLoading spec + cross-checking against plan.\n\nExamples should include negatives and -Infinity:\n```ts\nexpect(divide(-10, 2)).toBe(-5);\nexpect(divide(10, -2)).toBe(-5);\nexpect(() => divide(Number.NEGATIVE_INFINITY, 2)).toThrow();\n```\n\nThe spec contract handles them correctly via `Number.isFinite`, but the example block sets the test surface and should be exhaustive.\n\n**Approve with notes.**"],usage:[{inputTokens:7240,outputTokens:1620,costUsd:.0731},{inputTokens:6500,outputTokens:320,costUsd:.0086},{inputTokens:6720,outputTokens:460,costUsd:.0218},{inputTokens:6720,outputTokens:380,costUsd:.0078},{inputTokens:6900,outputTokens:280,costUsd:.0042},{inputTokens:6980,outputTokens:980,costUsd:.0431}]},{id:"implement",name:"Implement",kind:"implement",description:"Doer writes the code blind to tests; reviewers find bugs.",streams:['## Implementation: `src/util/divide.ts`\n\n```ts\nexport class DivideError extends Error {\n constructor(public readonly reason: "zero" | "non-finite") {\n super(`divide: ${reason}`);\n this.name = "DivideError";\n }\n}\n\nexport function divide(a: number, b: number): number {\n if (!Number.isFinite(a) || !Number.isFinite(b)) {\n throw new DivideError("non-finite");\n }\n if (b === 0) {\n throw new DivideError("zero");\n }\n return a / b;\n}\n```\n\n**Notes:**\n- Non-finite check first so `divide(NaN, 0)` reports `"non-finite"`, not `"zero"`.\n- `name` set on `DivideError` so stack traces read `DivideError: divide: zero`.','## Codex review \xb7 diff\n\nPulling the diff. Reading each branch:\n\n✓ `Number.isFinite` — rejects NaN, \xb1Infinity, non-numbers via type system.\n✓ Zero-check after — order is correct.\n✓ `DivideError` extends `Error` with `name` set.\n\nOrder of checks decision is the correct call:\n```ts\ndivide(NaN, 0); // → "non-finite" (more specific failure first)\n```\n\n**Approve** — implementation is clean. Nothing to push back on.','## Gemini review \xb7 diff\n\nThe patch matches the spec line-for-line.\n\nThe `name` assignment on `DivideError`:\n```ts\nthis.name = "DivideError";\n```\n\nis the kind of detail that pays off the first time someone reads a stack trace — `DivideError: divide: zero` is actionable; `Error: divide: zero` looks like a generic throw and gets noise-suppressed.\n\n**Approve.**',"## Claude (sonnet) review \xb7 diff\n\nReads cleanly. Inline validation is fine for two args; would extract `isInvalid()` if this grew.\n\nThe `name` assignment on `DivideError` is the right detail — actionable stack traces over generic `Error: ...` lines.\n\n**Approve.**","## Kimi review (via opencode) \xb7 diff\n\nSmall, obvious, complete. 13 lines that do exactly what the spec said.\n\nReads in one breath:\n```ts\nif (!Number.isFinite(a) || !Number.isFinite(b)) throw …;\nif (b === 0) throw …;\nreturn a / b;\n```\n\n**Approve.**","## DeepSeek review \xb7 diff\n\nDiff loaded. Walking each branch.\n\nWant a `-0` test note before merge — JavaScript treats `-0 === 0` as `true`, so the existing zero-guard catches it, but the test pins the behaviour:\n```ts\nexpect(divide(10, -2)).toBe(-5);\nexpect(() => divide(10, -0)).toThrow(/zero/); // -0 === 0\n```\n\nThe `-0` case is the easy miss — without the test, an accidental refactor to `if (b !== 0)` would pass the existing suite.\n\n**Approve with notes.**"],usage:[{inputTokens:8120,outputTokens:1980,costUsd:.0892},{inputTokens:7300,outputTokens:280,costUsd:.0072},{inputTokens:7440,outputTokens:460,costUsd:.0214},{inputTokens:7440,outputTokens:320,costUsd:.0066},{inputTokens:7620,outputTokens:360,costUsd:.0054},{inputTokens:7720,outputTokens:1180,costUsd:.0508}]},{id:"verify",name:"Verify",kind:"verify",description:"Run the test suite; reviewers confirm coverage.",streams:['## Verify\n\n```\n$ pnpm test src/util/divide.test.ts\n\n ✓ divide > returns a / b for valid inputs\n ✓ divide > handles negative dividends\n ✓ divide > handles negative divisors\n ✓ divide > -0 is treated as 0 (throws "zero")\n ✓ divide > throws "zero" for b=0\n ✓ divide > throws "non-finite" for NaN\n ✓ divide > throws "non-finite" for \xb1Infinity\n ✓ divide > non-finite check precedes zero check\n ✓ DivideError > extends Error\n ✓ DivideError > exposes reason discriminant\n\n Tests: 12 passed (12)\n Coverage: 100% lines, 100% branches\n Lint: clean\n Types: clean\n Time: 1.42s\n```',"## Codex review \xb7 verify\n\nTest report loaded.\n\n✓ 12/12 pass, 0 fail, 0 skip\n✓ Coverage 100/100/100\n✓ Lint + types clean\n\nEvery spec case has a corresponding test. The `-0` row is what the implement-phase review asked for; merged correctly.\n\n**Approve** — nothing to add.","## Gemini review \xb7 verify\n\nReading the report:\n```\nTests: 12 passed (12)\nCoverage: 100% lines, 100% branches\n```\n\nNo flakes, no skips. The `Tests: 12 passed (12)` line is exactly what the merge gate looks for.\n\nCoverage 100/100/100 satisfies the production-utility bar.\n\n**Approve.**","## Claude (sonnet) review \xb7 verify\n\n12 tests for a 13-line function is honest coverage, not theatre. Each test asserts a real boundary condition.\n\nThe `non-finite check precedes zero check` assertion is doing real work — it pins the order-of-checks decision so a future refactor cannot silently swap them.\n\n**Approve.**","## Kimi review (via opencode) \xb7 verify\n\n✓ 12/12 pass\n✓ Coverage 100/100/100\n✓ No flakes, no skips\n\nShip it.\n\n**Approve.**","## DeepSeek review \xb7 verify\n\nPulling test report + spec for cross-check.\n\n12 tests for a 13-line function is honest coverage, not theatre. Each test asserts a real boundary:\n\n- happy path \xd7 4\n- zero divisor + -0\n- NaN + \xb1Infinity\n- order-of-checks invariant\n- DivideError shape + discriminant\n\nThe `non-finite check precedes zero check` assertion pins the order-of-checks decision so a future refactor cannot silently swap them.\n\n**Approve.**"],usage:[{inputTokens:8980,outputTokens:1340,costUsd:.0641},{inputTokens:8060,outputTokens:80,costUsd:.0021},{inputTokens:8230,outputTokens:360,costUsd:.0179},{inputTokens:8230,outputTokens:280,costUsd:.0058},{inputTokens:8410,outputTokens:220,costUsd:.0033},{inputTokens:8520,outputTokens:1060,costUsd:.0418}]},{id:"pr",name:"Ship",kind:"pr",description:"Doer drafts the PR; reviewers approve merge.",streams:["## PR draft\n\n**Title:** `feat(util): production-safe divide() with DivideError + 100% branch coverage`\n\n**Body:**\n```\nIntroduces a hardened `divide()` per the attached spec.\n\nWhat:\n- New DivideError class with typed reason discriminant\n- divide(a, b) rejects non-finite + zero divisor\n- 12 new tests; 100% line + branch coverage\n- Two existing callers updated\n\nWhy:\n- Silent Infinity from divide(x, 0) was a footgun in /billing\n- IEEE 754 currency math driving audit-trail drift; companion\n divideMoney(cents, n) lands in #4129\n\nRisk:\n- Two callers updated; no other call sites in repo\n- Rollback: revert this commit (no schema touched)\n- Backward-compat: divide() v1 stays exported for one minor\n\nCloses #4127\n```","## Codex review \xb7 PR\n\nTitle is clear and accurate. Body follows the What/Why/Risk structure the merge gate expects.\n\nTwo-caller scope is small enough to revert cleanly if needed.\n\nCloses link is correct.\n\n**Approve merge.**","## Gemini review \xb7 PR\n\nContext is well-summarised. Calling out `divideMoney` as the follow-up PR (#4129) sets the right expectation for reviewers.\n\n`Closes #4127` ties the work to the original bug report — the audit trail is intact.\n\n**Approve merge.**","## Claude (sonnet) review \xb7 PR\n\nNo surprises. Two-caller scope is bounded, rollback is a single revert, backward-compat note covers the cutover.\n\nOn-call will not be paged at 3am over this one.\n\n**Approve merge.**","## Kimi review (via opencode) \xb7 PR\n\nTitle + body land the message in three sentences. Verify report linked. Risk section names the actual callers.\n\nShip it.\n\n**Approve merge.**","## DeepSeek review \xb7 PR\n\nPR + verify report cross-loaded. Risk + rollback note is the kind of thing on-call appreciates.\n\nVerify report (12 tests, 100% branch) is linked. Closes link to #4127 ties the work to the original bug.\n\nBackward-compat note covers the cutover window:\n> divide() v1 stays exported for one minor before removal\n\nNothing held back.\n\n**Approve merge.**"],usage:[{inputTokens:9420,outputTokens:1480,costUsd:.0712},{inputTokens:8460,outputTokens:60,costUsd:.0017},{inputTokens:8640,outputTokens:320,costUsd:.0163},{inputTokens:8640,outputTokens:280,costUsd:.0058},{inputTokens:8820,outputTokens:240,costUsd:.0036},{inputTokens:8930,outputTokens:920,costUsd:.0388}]}];function y(a,b){return{participant:`${a}-${b.agentName}`,role:a,agentName:b.agentName,lineage:b.lineage,hasAnswer:!1,model:b.model,pending:!1}}function z(a,b,c,d){return{participant:`${a}-${b.agentName}`,role:a,agentName:b.agentName,lineage:b.lineage,hasAnswer:!0,answer:c,durationMs:b.durationMs,model:b.model,binaryUsed:b.binaryUsed,modelUsed:b.model,usage:d}}function A(){return[y("doer",u),...v.map(a=>y("reviewer",a))]}let B=[{round:1,participants:A()}],C={id:"demo-complex-6way",name:"Plan → Ship Workflow",description:"Five-phase workflow with five reviewers per phase.",category:"review",agreementThreshold:"majority",onThresholdMet:"auto-finalize",maxRounds:1,driver:"external",driverHandoff:!1,verificationGate:"auto",costCapUsd:0,yoloDefault:!1,onError:"fail",notify:"dashboard-only",yaml:"",authorHandle:"demo",forks:0,popularity:0,phases:x.map(a=>({id:a.id,name:a.name,description:a.description,kind:a.kind,gate:"auto",doer:{lineage:"claude",models:["claude-opus-4-7"]},reviewer:{require:2,crossLineage:!0,candidates:["codex","gemini","opencode"],candidatesWithModels:v.map(a=>({lineage:a.lineage,models:[a.model]}))},artifact:{label:"Artifact",hint:"",maxBytes:1048576},inputs:{include:[],exclude:[]},iterate:{max:1,onMax:"fail"},blindSpots:[],execution:"parallel",builtin:!0}))},D=(a,b,c)=>{let d=[],e=b.id;for(let[f,g]of w.entries())d.push({atMs:c+30*f,payload:{type:"phase_start",payload:{phaseIdx:a,phaseId:e,kind:b.kind,role:0===f?"doer":"reviewer",agent:g.agentName},ts:Date.now()}});for(let[a,f]of w.entries()){let g=0===a?"doer":"reviewer",h=function(a){let b=Math.floor(.3*a.length),c=Math.floor(.65*a.length);return[a.slice(0,b),a.slice(0,c),a]}(b.streams[a]),i=[.25,.55,.85].map(a=>Math.round(f.doneAtMs*a));for(let[a,b]of h.entries())d.push({atMs:c+i[a],payload:{type:"phase_progress",payload:{phaseId:e,round:1,role:g,agent:f.agentName,elapsedMs:i[a],output:b},ts:Date.now()}})}for(let[a,b]of w.entries()){let f=0===a?"doer":"reviewer";d.push({atMs:c+b.doneAtMs,payload:{type:"participant_done",payload:{phaseId:e,round:1,role:f,agent:b.agentName},ts:Date.now()}})}return d.push({atMs:c+5e3-100,payload:{type:"phase_done",payload:{phaseId:e,phaseIdx:a,kind:b.kind},ts:Date.now()}}),d},E=(()=>{let a=[];for(let[b,c]of x.entries())a.push(...D(b,c,200+5e3*b));return a.push({atMs:200+5e3*x.length+300,payload:{type:"chat_done",payload:{status:"merged",verdict:"approve",prUrl:"https://github.com/example/repo/pull/4128"},ts:Date.now()}}),a})(),F={"simple-6way":{template:o,initialRounds:n,work:"Review src/util/divide.ts for production-readiness — six lineages, one pass, blockers welcome.",buildDataSource:function(){let a={currentParticipants:l.map(m)};return{createEventSource:()=>i(t,(b,c)=>{!function(a,b,c){if("participant_done"!==b)return;let d=c.agent;if(!d)return;let e=l.find(a=>a.agentName===d);e&&(a.currentParticipants=a.currentParticipants.map(a=>a.agentName===d?{participant:`reviewer-${e.agentName}`,role:"reviewer",agentName:e.agentName,lineage:e.lineage,hasAnswer:!0,answer:e.answer,durationMs:e.durationMs,model:e.model,binaryUsed:e.binaryUsed,modelUsed:e.model,usage:e.usage}:a))}(a,b,c)}),fetchArtifacts:()=>({rounds:[{round:1,participants:a.currentParticipants}]})}}},"complex-6way":{template:C,initialRounds:B,work:"feat(util): production-safe divide() — Plan → Spec → Implement → Verify → Ship • closes #4127",buildDataSource:function(){let a={currentPhaseIdx:0,currentParticipants:A()};return{createEventSource:()=>i(E,(b,c)=>{!function(a,b,c){if("phase_start"===b){let b=c.phaseIdx;"number"==typeof b&&b!==a.currentPhaseIdx&&(a.currentPhaseIdx=b,a.currentParticipants=A());return}if("participant_done"===b){let b=c.agent;if(!b)return;let d=w.findIndex(a=>a.agentName===b);if(d<0)return;let e=w[d],f=x[a.currentPhaseIdx];if(!f)return;let g=z(0===d?"doer":"reviewer",e,f.streams[d],f.usage[d]);a.currentParticipants=a.currentParticipants.map(a=>a.agentName===b?g:a);return}if("chat_done"===b){let b=x[x.length-1];a.currentParticipants=w.map((a,c)=>z(0===c?"doer":"reviewer",a,b.streams[c],b.usage[c])),a.currentPhaseIdx=x.length-1}}(a,b,c)}),fetchArtifacts:()=>({rounds:[{round:1,participants:a.currentParticipants}]})}}}};function G({params:a}){let{scenario:b}=(0,e.use)(a),c=F[b];c||(0,f.notFound)();let i=(0,e.useMemo)(()=>`demo-${b}-${Math.random().toString(36).slice(2,8)}`,[b]),j=(0,e.useMemo)(()=>c.buildDataSource(),[c]);return(0,d.jsx)(g.G,{children:(0,d.jsx)("div",{className:"mx-auto max-w-[1700px] px-6 py-6",children:(0,d.jsx)(h.LiveRunReal,{chatId:i,initialStatus:"reviewing",initialRounds:c.initialRounds,template:c.template,templateId:c.template.id,work:c.work,demoDataSource:j})})})}},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32517:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(96600).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/ubuntu/dev/chorus/src/app/demo/[scenario]/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/ubuntu/dev/chorus/src/app/demo/[scenario]/page.tsx","default")},33873:a=>{"use strict";a.exports=require("path")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},43954:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/interception-routes")},51211:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>M,handler:()=>O,routeModule:()=>N});var d=c(15828),e=c(97067),f=c(38261),g=c(94322),h=c(64428),i=c(85126),j=c(48669),k=c(98846),l=c(6916),m=c(9958),n=c(50248),o=c(414),p=c(90667),q=c(261),r=c(8399),s=c(47796),t=c(26713),u=c(53846),v=c(65275),w=c(17695),x=c(33608),y=c(67040),z=c(54908),A=c(74840),B=c(86439),C=c(77068),D=c(72308),E=c(71708),F=c(91957),G=c(70722),H=c(4804),I=c(43954),J=c(17891),K={};for(let a in E)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(K[a]=()=>E[a]);c.d(b,K);let L={children:["",{children:["demo",{children:["[scenario]",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,32517)),"/home/ubuntu/dev/chorus/src/app/demo/[scenario]/page.tsx"]}]},{"global-error":[()=>Promise.resolve().then(c.t.bind(c,10312,23)),"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[()=>Promise.resolve().then(c.t.bind(c,10312,23)),"next/dist/client/components/builtin/global-error.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,11305))).default(a),async a=>(await Promise.resolve().then(c.bind(c,89796))).default(a)],apple:[],openGraph:[],twitter:[],manifest:void 0}},[]]},{layout:[()=>Promise.resolve().then(c.bind(c,65979)),"/home/ubuntu/dev/chorus/src/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,10312,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,43790,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,27431,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,6906,23)),"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,11305))).default(a),async a=>(await Promise.resolve().then(c.bind(c,89796))).default(a)],apple:[],openGraph:[],twitter:[],manifest:void 0}},[]]}.children,M={require:c,loadChunk:()=>Promise.resolve()},N=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/demo/[scenario]/page",pathname:"/demo/[scenario]",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:L},distDir:".next",relativeProjectDir:""});async function O(a,b,d){var K,P,Q,R,S;d.requestMeta&&(0,h.setRequestMeta)(a,d.requestMeta),N.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let T=!!(0,h.getRequestMeta)(a,"minimalMode"),U="/demo/[scenario]/page";"/index"===U&&(U="/");let V=await N.prepare(a,b,{srcPage:U,multiZoneDraftMode:!1});if(!V)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:W,query:X,params:Y,pageIsDynamic:Z,buildManifest:$,nextFontManifest:_,reactLoadableManifest:aa,serverActionsManifest:ab,clientReferenceManifest:ac,subresourceIntegrityManifest:ad,prerenderManifest:ae,isDraftMode:af,resolvedPathname:ag,revalidateOnlyGenerated:ah,routerServerContext:ai,nextConfig:aj,parsedUrl:ak,interceptionRoutePatterns:al,deploymentId:am,clientAssetToken:an}=V,ao=(0,q.normalizeAppPath)(U),{isOnDemandRevalidate:ap}=V,aq=aj.experimental.ppr&&!aj.cacheComponents&&(0,I.isInterceptionRouteAppPath)(ag)?null:N.match(ag,ae),ar=(null==aq?void 0:aq.route)??null,as=!!ae.routes[ag],at=a.headers["user-agent"]||"",au=(0,t.getBotType)(at),av=(0,p.isHtmlBotRequest)(a),aw=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[s.NEXT_ROUTER_PREFETCH_HEADER],ax=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[s.RSC_HEADER],ay=(0,r.getIsPossibleServerAction)(a),az=(0,m.checkIsAppPPREnabled)(aj.experimental.ppr),aA=a.headers[x.NEXT_RESUME_STATE_LENGTH_HEADER];if(!(0,h.getRequestMeta)(a,"postponed")&&T&&az&&ay&&aA&&"string"==typeof aA){let e=parseInt(aA,10),{maxPostponedStateSize:f,maxPostponedStateSizeBytes:g}=(0,D.getMaxPostponedStateSize)(aj.experimental.maxPostponedStateSize);if(!isNaN(e)&&e>0){if(e>g)return b.statusCode=413,b.end((0,D.getPostponedStateExceededErrorMessage)(f)),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let i="1 MB",j=(null==(S=aj.experimental.serverActions)?void 0:S.bodySizeLimit)??i,k=e+(j!==i?c(58965).parse(j):1048576),l=await (0,D.readBodyWithSizeLimit)(a,k);if(null===l)return b.statusCode=413,b.end("Request body exceeded limit. To configure the body size limit for Server Actions, see: https://nextjs.org/docs/app/api-reference/next-config-js/serverActions#bodysizelimit"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;if(l.length>=e){let b=l.subarray(0,e).toString("utf8");(0,h.addRequestMeta)(a,"postponed",b);let c=l.subarray(e);(0,h.addRequestMeta)(a,"actionBody",c)}else throw Object.defineProperty(Error(`invariant: expected ${e} bytes of postponed state but only received ${l.length} bytes`),"__NEXT_ERROR_CODE",{value:"E979",enumerable:!1,configurable:!0})}}if(!(0,h.getRequestMeta)(a,"postponed")&&az&&"1"===a.headers[x.NEXT_RESUME_HEADER]&&"POST"===a.method){let{maxPostponedStateSize:c,maxPostponedStateSizeBytes:e}=(0,D.getMaxPostponedStateSize)(aj.experimental.maxPostponedStateSize),f=await (0,D.readBodyWithSizeLimit)(a,e);if(null===f)return b.statusCode=413,b.end((0,D.getPostponedStateExceededErrorMessage)(c)),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let g=f.toString("utf8");(0,h.addRequestMeta)(a,"postponed",g)}let aB=!0===N.isDev||!0===aj.experimental.exposeTestingApiInProductionBuild,aC=aB&&("1"===a.headers[s.NEXT_INSTANT_PREFETCH_HEADER]||void 0===a.headers[s.RSC_HEADER]&&"string"==typeof a.headers.cookie&&a.headers.cookie.includes(s.NEXT_INSTANT_TEST_COOKIE+"=")),aD=(az||aC)&&((null==(K=ae.routes[ao]??ae.dynamicRoutes[ao])?void 0:K.renderingMode)==="PARTIALLY_STATIC"||aC&&(aB||(null==ai?void 0:ai.experimentalTestProxy)===!0)),aE=aC&&aD,aF=aE&&!0===N.isDev,aG=!1,aH=aD?(0,h.getRequestMeta)(a,"postponed"):void 0,aI=null==(P=ae.routes[ag])?void 0:P.prefetchDataRoute,aJ=aD&&ax&&!aw&&!aI;T&&(aJ=aJ&&!!aH);let aK=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),aL=(!au||!aD)&&(!at||(0,p.shouldServeStreamingMetadata)(at,aj.htmlLimitedBots)),aM=!!((ar||as||ae.routes[ao])&&!(au&&aD)),aN=aD&&!0===aj.cacheComponents,aO=!0===N.isDev||!aM||"string"==typeof aH||(aN&&(0,h.getRequestMeta)(a,"onCacheEntryV2")?aJ&&!T:aJ),aP=!!au&&aD,aQ=(null==ar?void 0:ar.remainingPrerenderableParams)??[],aR=(null==ar?void 0:ar.fallback)===null&&((null==(Q=ar.fallbackRootParams)?void 0:Q.length)??0)>0,aS=null;if(!af&&aM&&!aO&&!ay&&!aH&&!aJ){let a=aq?"string"==typeof(null==ar?void 0:ar.fallback)?ar.fallback:aq.source:null;if(!0===aj.experimental.partialFallbacks&&a&&(null==ar?void 0:ar.fallbackRouteParams)&&!aR){if(aQ.length>0){let b,c=(b=new Map(aQ.map(a=>[a.paramName,a])),a.split("/").map(a=>{let c=(0,J.getSegmentParam)(a);if(!c)return a;let d=b.get(c.paramName);if(!d)return a;let e=null==Y?void 0:Y[d.paramName];if(!e)return a;let f=Array.isArray(e)?e.map(a=>encodeURIComponent(a)).join("/"):encodeURIComponent(e);return a.replace(function(a){let{repeat:b,optional:c}=(0,J.getParamProperties)(a.paramType);return c?`[[...${a.paramName}]]`:b?`[...${a.paramName}]`:`[${a.paramName}]`}(d),f)}).join("/")||"/");aS=c!==a?c:null}}else aS=ag}let aT=aS;!aT&&(N.isDev||aM&&Z&&(null==ar?void 0:ar.fallbackRouteParams)&&!ay)&&(aT=ag),N.isDev||af||!aM||!ax||aJ||(0,k.d)(a.headers);let aU={...E,tree:L,handler:O,routeModule:N,__next_app__:M};ab&&ac&&(0,o.setManifestsSingleton)({page:U,clientReferenceManifest:ac,serverActionsManifest:ab});let aV=a.method||"GET",aW=(0,g.getTracer)(),aX=aW.getActiveScopeSpan(),aY=!!(null==ai?void 0:ai.isWrappedByNextServer),aZ=!0===aj.experimental.partialFallbacks&&aQ.length>0?(null==ar||null==(R=ar.fallbackRouteParams)?void 0:R.filter(a=>!aQ.some(b=>b.paramName===a.paramName)))??[]:[],a$=async()=>((null==ai?void 0:ai.render404)?await ai.render404(a,b,ak,!1):b.end("This page could not be found"),null);try{let k,m=N.getVaryHeader(ag,al);b.setHeader("Vary",m);let o=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return N.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aW.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aV} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a),k&&k!==c&&(k.setAttribute("http.route",d),k.updateName(a))}else c.updateName(`${aV} ${U}`)})},p=(0,h.getRequestMeta)(a,"incrementalCache")||await N.getIncrementalCache(a,aj,ae,T);null==p||p.resetRequestCache(),globalThis.__incrementalCache=p;let q=async({span:e,postponed:f,fallbackRouteParams:g,forceStaticRender:i})=>{let k={query:X,params:Y,page:ao,sharedContext:{buildId:W,deploymentId:am,clientAssetToken:an},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aU,Component:(0,j.T)(aU),params:Y,routeModule:N,page:U,postponed:f,shouldWaitOnAllReady:aP,serveStreamingMetadata:aL,supportsDynamicResponse:"string"==typeof f||aO,buildManifest:$,nextFontManifest:_,reactLoadableManifest:aa,subresourceIntegrityManifest:ad,setCacheStatus:null==ai?void 0:ai.setCacheStatus,setIsrStatus:null==ai?void 0:ai.setIsrStatus,setReactDebugChannel:null==ai?void 0:ai.setReactDebugChannel,sendErrorsToBrowser:null==ai?void 0:ai.sendErrorsToBrowser,dir:c(33873).join(process.cwd(),N.relativeProjectDir),isDraftMode:af,botType:au,isOnDemandRevalidate:ap,isPossibleServerAction:ay,assetPrefix:aj.assetPrefix,nextConfigOutput:aj.output,crossOrigin:aj.crossOrigin,trailingSlash:aj.trailingSlash,images:aj.images,previewProps:ae.preview,enableTainting:aj.experimental.taint,htmlLimitedBots:aj.htmlLimitedBots,reactMaxHeadersLength:aj.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:p,cacheLifeProfiles:aj.cacheLife,basePath:aj.basePath,serverActions:aj.experimental.serverActions,logServerFunctions:"object"==typeof aj.logging&&!!aj.logging.serverFunctions,...aE||aF||aG?{isBuildTimePrerendering:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:aF}:{},cacheComponents:!!aj.cacheComponents,experimental:{isRoutePPREnabled:aD,expireTime:aj.expireTime,staleTimes:aj.experimental.staleTimes,dynamicOnHover:!!aj.experimental.dynamicOnHover,optimisticRouting:!!aj.experimental.optimisticRouting,inlineCss:!!aj.experimental.inlineCss,prefetchInlining:aj.experimental.prefetchInlining??!1,authInterrupts:!!aj.experimental.authInterrupts,cachedNavigations:!!aj.experimental.cachedNavigations,clientTraceMetadata:aj.experimental.clientTraceMetadata||[],clientParamParsingOrigins:aj.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,C.parseMaxPostponedStateSize)(aj.experimental.maxPostponedStateSize)},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>N.onRequestError(a,b,d,e,ai),err:(0,h.getRequestMeta)(a,"invokeError")}};i&&(k.renderOpts.supportsDynamicResponse=!1);let l=await o(e,k),{metadata:m}=l,{cacheControl:n,headers:q={},fetchTags:r,fetchMetrics:s}=m;if(r&&(q[x.NEXT_CACHE_TAGS_HEADER]=r),a.fetchMetrics=s,aM&&(null==n?void 0:n.revalidate)===0&&!N.isDev&&!aD){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${ag}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
|
|
2
|
-
see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:u.CachedRouteKind.APP_PAGE,html:l,headers:q,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},r=async({hasResolved:c,previousCacheEntry:g,isRevalidating:i,span:j,forceStaticRender:k=!1})=>{let l=!1===N.isDev,m=c||b.writableEnded;try{let f;if(ap&&ah&&!g&&!T)return(null==ai?void 0:ai.render404)?await ai.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ar&&(f=(0,v.parseFallbackField)(ar.fallback)),!0===aj.experimental.partialFallbacks&&(null==ar?void 0:ar.fallback)===null&&!aR&&aQ.length>0&&(f=v.FallbackMode.PRERENDER),f===v.FallbackMode.PRERENDER&&(0,t.isBot)(at)&&(!aD||av)&&(f=v.FallbackMode.BLOCKING_STATIC_RENDER),(null==g?void 0:g.isStale)===-1&&(ap=!0),ap&&(f!==v.FallbackMode.NOT_FOUND||g)&&(f=v.FallbackMode.BLOCKING_STATIC_RENDER),!T&&f!==v.FallbackMode.BLOCKING_STATIC_RENDER&&aT&&!m&&!af&&Z&&(l||!as)){if((l||ar)&&f===v.FallbackMode.NOT_FOUND){if(aj.adapterPath)return await a$();throw new B.NoFallbackError}if(aD&&(aj.cacheComponents?!aJ:!ax)){let b=l&&"string"==typeof(null==ar?void 0:ar.fallback)?ar.fallback:ao,f=(l||aE)&&(null==ar?void 0:ar.fallbackRouteParams)?(0,n.createOpaqueFallbackRouteParams)(ar.fallbackRouteParams):aG?(0,n.getFallbackRouteParams)(ao,N):null;aE&&f&&(0,h.addRequestMeta)(a,"fallbackParams",f);let g=await N.handleResponse({cacheKey:b,req:a,nextConfig:aj,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:ae,isRoutePPREnabled:aD,responseGenerator:async()=>q({span:j,postponed:void 0,fallbackRouteParams:f,forceStaticRender:!0}),waitUntil:d.waitUntil,isMinimalMode:T});if(null===g)return null;if(g)return T||!aD||!(aQ.length>0)||!0!==aj.experimental.partialFallbacks||!aS||!p||ap||aG||aB||aC||aw||(0,H.scheduleOnNextTick)(async()=>{let b=N.getResponseCache(a);try{await b.revalidate(aS,p,aD,!1,a=>q({span:a.span,postponed:void 0,fallbackRouteParams:aZ.length>0?(0,n.createOpaqueFallbackRouteParams)(aZ):null,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}),delete g.cacheControl,g}}let o=ap||i||!aH?void 0:aH;if(aN&&!T&&p&&(aJ||ay)&&!k){let b=await p.get(ag,{kind:u.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===u.CachedRouteKind.APP_PAGE&&(o=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,H.scheduleOnNextTick)(async()=>{let b=N.getResponseCache(a);try{await b.revalidate(ag,p,aD,!1,a=>r({...a,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if((aE||aF)&&void 0!==o)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:u.CachedRouteKind.PAGES,html:w.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let s=(l&&(0,h.getRequestMeta)(a,"renderFallbackShell")||aE&&!as)&&(null==ar?void 0:ar.fallbackRouteParams)?(0,n.createOpaqueFallbackRouteParams)(ar.fallbackRouteParams):aG?(0,n.getFallbackRouteParams)(ao,N):null;if((l||aE)&&aj.cacheComponents&&!as&&(null==ar?void 0:ar.fallbackRouteParams)){let b=(0,n.createOpaqueFallbackRouteParams)(ar.fallbackRouteParams);b&&(0,h.addRequestMeta)(a,"fallbackParams",b)}return q({span:j,postponed:o,fallbackRouteParams:s,forceStaticRender:k})}catch(b){throw(null==g?void 0:g.isStale)&&await N.onRequestError(a,b,{routerKind:"App Router",routePath:U,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:aM,isOnDemandRevalidate:ap})},!1,ai),b}},D=async c=>{var f,g,i,j,k;let l,m=await N.handleResponse({cacheKey:aS,responseGenerator:a=>r({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ap,isRoutePPREnabled:aD,req:a,nextConfig:aj,prerenderManifest:ae,waitUntil:d.waitUntil,isMinimalMode:T});if(af&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),N.isDev&&b.setHeader("Cache-Control","no-cache, must-revalidate"),!m){if(aS)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=m.value)?void 0:f.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=m.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let n="string"==typeof m.value.postponed;ax&&!ay&&am&&b.setHeader(x.NEXT_NAV_DEPLOYMENT_ID_HEADER,am),aM&&!aJ&&(!n||aw)&&(T||b.setHeader("x-nextjs-cache",ap?"REVALIDATED":m.isMiss?"MISS":m.isStale?"STALE":"HIT"),b.setHeader(s.NEXT_IS_PRERENDER_HEADER,"1"));let{value:o}=m;if(aH)l={revalidate:0,expire:void 0};else if(aJ)l={revalidate:0,expire:void 0};else if(!N.isDev)if(af)l={revalidate:0,expire:void 0};else if(aM){if(m.cacheControl)if("number"==typeof m.cacheControl.revalidate){if(m.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${m.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:m.cacheControl.revalidate,expire:(null==(j=m.cacheControl)?void 0:j.expire)??aj.expireTime}}else l={revalidate:x.CACHE_ONE_YEAR_SECONDS,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(m.cacheControl=l,"string"==typeof aK&&(null==o?void 0:o.kind)===u.CachedRouteKind.APP_PAGE&&o.segmentData){b.setHeader(s.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=o.headers)?void 0:k[x.NEXT_CACHE_TAGS_HEADER];T&&aM&&c&&"string"==typeof c&&b.setHeader(x.NEXT_CACHE_TAGS_HEADER,c);let d=o.segmentData.get(aK);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:w.default.fromStatic(d,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl}))}let p=aN?(0,h.getRequestMeta)(a,"onCacheEntryV2")??(0,h.getRequestMeta)(a,"onCacheEntry"):(0,h.getRequestMeta)(a,"onCacheEntry");if(p&&await p(m,{url:(0,h.getRequestMeta)(a,"initURL")??a.url}))return null;if(o.headers){let a={...o.headers};for(let[c,d]of(T&&aM||delete a[x.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=o.headers)?void 0:g[x.NEXT_CACHE_TAGS_HEADER];if(T&&aM&&t&&"string"==typeof t&&b.setHeader(x.NEXT_CACHE_TAGS_HEADER,t),!o.status||ax&&aD||(b.statusCode=o.status),!T&&o.status&&F.RedirectStatusCode[o.status]&&ax&&(b.statusCode=200),n&&!aJ&&b.setHeader(s.NEXT_DID_POSTPONE_HEADER,"1"),ax&&!af){if(void 0===o.rscData){if(o.html.contentType!==s.RSC_CONTENT_TYPE_HEADER)if(aj.cacheComponents)return b.statusCode=404,(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl});else throw Object.defineProperty(new G.InvariantError(`Expected RSC response, got ${o.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:o.html,cacheControl:m.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:w.default.fromStatic(o.rscData,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl})}let v=o.html;if(aC&&aE){let c=!0===N.isDev?crypto.randomUUID():null;return v.pipeThrough((0,z.createInstantTestScriptInsertionTransformStream)(c)),(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}})}if(!n||T||ax)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:v,cacheControl:m.cacheControl});if(aE||aF)return v.push(new ReadableStream({start(a){a.enqueue(y.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}});let B=new TransformStream;return v.push(B.readable),q({span:c,postponed:o.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(B.writable)}).catch(a=>{B.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}})};if(!aY||!aX)return k=aW.getActiveScopeSpan(),await aW.withPropagatedContext(a.headers,()=>aW.trace(i.BaseServerSpan.handleRequest,{spanName:`${aV} ${U}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aV,"http.target":a.url}},D),void 0,!aY);await D(aX)}catch(b){throw b instanceof B.NoFallbackError||await N.onRequestError(a,b,{routerKind:"App Router",routePath:U,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:aM,isOnDemandRevalidate:ap})},!1,ai),b}}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},70722:a=>{"use strict";a.exports=require("next/dist/shared/lib/invariant-error")},77068:a=>{"use strict";a.exports=require("next/dist/shared/lib/size-limit")},79428:a=>{"use strict";a.exports=require("buffer")},80282:(a,b,c)=>{"use strict";c.d(b,{G:()=>g});var d=c(66722),e=c(24188),f=c(86095);function g({children:a}){return(0,d.jsxs)("div",{className:"flex h-screen w-screen overflow-hidden bg-background text-foreground",children:[(0,d.jsx)(e.AppSidebar,{}),(0,d.jsxs)("div",{className:"flex flex-1 flex-col overflow-hidden",children:[(0,d.jsx)(f.MobileTopBar,{}),(0,d.jsx)("main",{className:"flex-1 overflow-y-auto",children:a})]})]})}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[332,451,504,668,557,681,95,597],()=>b(b.s=51211));module.exports=c})();
|
|
1
|
+
(()=>{var a={};a.id=91,a.ids=[91],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},5905:(a,b,c)=>{Promise.resolve().then(c.bind(c,32517))},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},17891:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/get-segment-param")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19771:a=>{"use strict";a.exports=require("process")},21585:(a,b,c)=>{Promise.resolve().then(c.bind(c,28351))},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},28351:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>G});var d=c(66722),e=c(31131),f=c(260),g=c(80282),h=c(72325);function i(a,b){let c=[],d=!1,e={onmessage:null,onerror:null,onopen:null,readyState:0,url:"mock://demo",withCredentials:!1,addEventListener:()=>{},removeEventListener:()=>{},dispatchEvent:()=>!0,close:()=>{for(let a of(d=!0,c))clearTimeout(a)}};for(let f of[...a].sort((a,b)=>a.atMs-b.atMs)){let a=setTimeout(()=>{if(d)return;if(b){let a=f.payload;b("string"==typeof a.type?a.type:"",a.payload??{})}let a=e.onmessage;a&&a({data:JSON.stringify(f.payload)})},f.atMs);c.push(a)}return e}let j="review",k="**Verdict: approve**\n\n",l=[{agentName:"codex-cli-0",lineage:"codex",model:"gpt-5.5",binaryUsed:"codex",doneAtMs:3200,durationMs:3e3,usage:{inputTokens:6480,outputTokens:380,costUsd:.0094},answer:"## Codex review: `divide(a, b)`\n\n"+k+'Math is correct, types flow naturally, function is small and obvious. Approving with two notes.\n\n**The current helper:**\n```ts\nexport function divide(a: number, b: number) {\n return a / b;\n}\n```\n\n**Two minors before merge:**\n1. **Add a divide-by-zero guard.** `divide(x, 0)` silently returns `Infinity` — a footgun in any pipeline that math-chains:\n ```ts\n if (b === 0) throw new RangeError("divide: zero divisor");\n ```\n2. **Add a JSDoc block.** Three lines. Saves the next reader from reading the body to learn the type contract.'},{agentName:"gemini-cli-1",lineage:"gemini",model:"gemini-3.1-pro-preview",binaryUsed:"gemini-cli",doneAtMs:4400,durationMs:4200,usage:{inputTokens:6720,outputTokens:720,costUsd:.0258},answer:"## Gemini review: `divide(a, b)`\n\n"+k+'No structural issues. The function does one thing and the implementation matches its name. Approving with a strong suggestion to harden the test surface.\n\n**Suggested spec coverage:**\n```ts\ndescribe("divide", () => {\n it("returns a / b for finite inputs", () => {\n expect(divide(10, 2)).toBe(5);\n });\n it("rejects zero divisor", () => {\n expect(() => divide(10, 0)).toThrow();\n });\n it("rejects NaN", () => {\n expect(() => divide(NaN, 2)).toThrow();\n });\n it("rejects Infinity", () => {\n expect(() => divide(Infinity, 2)).toThrow();\n });\n});\n```\n\nFour cases close every hole I see by construction.'},{agentName:"claude-code-2",lineage:"claude",model:"claude-opus-4-7",binaryUsed:"claude-code",doneAtMs:5400,durationMs:5200,usage:{inputTokens:7100,outputTokens:1240,costUsd:.0517},answer:"## Claude review: `divide(a, b)`\n\n"+k+'Reads cleanly. The function does one thing and is trivially testable. Approving with two notes — neither blocking.\n\n**Note 1 — Zero-guard.**\n`divide(x, 0)` returns `Infinity` in JavaScript. That value flows silently through arithmetic and ends up in logs/dashboards as a real number. A typed error would prevent the silent corruption:\n```ts\nclass DivideError extends Error {}\nif (b === 0) throw new DivideError("zero divisor");\n```\n\n**Note 2 — Currency callers.**\nIf this lives on a billing/ledger hot path, prefer integer-cents or `decimal.js` over floats. IEEE 754 will accumulate cent-level drift in a high-volume ledger:\n```ts\n// safer for currency:\nexport function divideMoney(cents: number, n: number): number {\n return Math.round(cents / n);\n}\n```'},{agentName:"opencode-cli-3",lineage:"opencode",model:"opencode-go/kimi-k2.6",binaryUsed:"opencode",doneAtMs:2700,durationMs:2500,usage:{inputTokens:6240,outputTokens:280,costUsd:.0042},answer:"## Kimi review (via opencode)\n\n"+k+'Pragmatic helper. The math is correct; the holes are at the boundary, not the body. Approving — both fixes below are 60-second jobs that can land in a follow-up if you want to ship now.\n\n**Suggested patch:**\n```ts\n/**\n * Divide two finite numbers. Throws on zero divisor or non-finite input.\n */\nexport function divide(a: number, b: number): number {\n if (b === 0) throw new Error("divide: zero divisor");\n return a / b;\n}\n```\n\nAnd one test:\n```ts\nexpect(() => divide(1, 0)).toThrow("zero divisor");\n```'},{agentName:"opencode-cli-4",lineage:"opencode",model:"opencode-go/deepseek-v4-pro",binaryUsed:"opencode",doneAtMs:6200,durationMs:6e3,usage:{inputTokens:7340,outputTokens:1460,costUsd:.0228},answer:'## DeepSeek review (via opencode)\n\n**Verdict: request changes**\n\nThree blockers in a financial context. This helper would land me in a post-mortem inside three months on a busy ledger.\n\n**Blocker 1 — No divide-by-zero guard.**\n```ts\ndivide(100, 0); // → Infinity, silent corruption downstream\n```\nRequired:\n```ts\nif (b === 0) throw new DivideError("zero");\n```\n\n**Blocker 2 — No input validation.**\n```ts\ndivide("5" as any, 2); // → 2.5 (silent string coercion)\ndivide(NaN, 2); // → NaN (poisons later math)\ndivide(undefined as any, 2); // → NaN\n```\nRequired: `Number.isFinite(a) && Number.isFinite(b)` at the top.\n\n**Blocker 3 — Floats for money.**\nIEEE 754 + currency = audit-trail nightmare. Use integer-cents or `decimal.js`. Reproducer:\n```ts\n0.1 + 0.2 === 0.3; // false\ndivide(0.3, 0.1); // 2.9999999999999996\n```'},{agentName:"opencode-cli-5",lineage:"opencode",model:"opencode-go/qwen3.6-plus",binaryUsed:"opencode",doneAtMs:3700,durationMs:3500,usage:{inputTokens:6420,outputTokens:320,costUsd:.0061},answer:"## Qwen review (via opencode)\n\n"+k+"Reads cleanly. No defects in the body.\n\n**Minor — Missing documentation.**\nThree lines of JSDoc would let editor tooling surface the contract:\n```ts\n/**\n * @param a - dividend (finite number)\n * @param b - divisor (finite, non-zero)\n * @returns the quotient a / b\n */\n```\n\nHelpful for downstream callers, not blocking the merge."}];function m(a){return{participant:`reviewer-${a.agentName}`,role:"reviewer",agentName:a.agentName,lineage:a.lineage,hasAnswer:!1,model:a.model,pending:!1}}let n=[{round:1,participants:l.map(m)}],o={id:"demo-simple-6way",name:"External Review \xb7 Six Voices",description:"Six reviewers critique the artifact independently.",category:"review",agreementThreshold:"majority",onThresholdMet:"ask-user",maxRounds:1,driver:"external",driverHandoff:!1,verificationGate:"auto",costCapUsd:0,yoloDefault:!1,onError:"fail",notify:"dashboard-only",yaml:"",authorHandle:"demo",forks:0,popularity:0,phases:[{id:j,name:"External Review",description:"Six lineages critique the supplied artifact independently.",kind:"review_only",gate:"auto",doer:{lineage:"claude",models:[]},reviewer:{require:2,crossLineage:!0,candidates:["codex","gemini","claude","opencode"],candidatesWithModels:l.map(a=>({lineage:a.lineage,models:[a.model]}))},artifact:{label:"Artifact",hint:"",maxBytes:1048576},inputs:{include:[],exclude:[]},iterate:{max:1,onMax:"fail"},blindSpots:[],execution:"parallel",builtin:!0}]},p=a=>({type:"phase_start",payload:{phaseIdx:0,phaseId:j,kind:"review_only",role:"reviewer",agent:a},ts:Date.now()}),q=(a,b,c)=>({type:"phase_progress",payload:{phaseId:j,round:1,role:"reviewer",agent:a,elapsedMs:c,output:b},ts:Date.now()}),r=a=>({type:"participant_done",payload:{phaseId:j,round:1,role:"reviewer",agent:a},ts:Date.now()}),s={"codex-cli-0":"## Reviewing src/util/divide.ts\n\nCurrent implementation:\n```ts\nexport function divide(a: number, b: number) {\n return a / b;\n}\n```\n\nChecking input handling first.\n\nSpotted: no zero-guard. `divide(x, 0)` silently returns `Infinity`. In a billing pipeline that math-chains downstream, that becomes a ledger row.\n\nNo JSDoc either — readers have to read the body to learn the type contract.\n\nVerdict drafting: two minors, leaning approve with notes.","gemini-cli-1":"## Review \xb7 `divide(a, b)`\n\nReading the helper. Checking the type contract first:\n```ts\n(a: number, b: number) => number\n```\n\nCoverage gaps surfacing: `NaN`, `Infinity`, zero divisor — none asserted.\n\nDrafting a four-case spec block to close the holes by construction:\n```ts\nexpect(divide(10, 2)).toBe(5);\nexpect(() => divide(10, 0)).toThrow();\nexpect(() => divide(NaN, 2)).toThrow();\nexpect(() => divide(Infinity, 2)).toThrow();\n```\n\nApproving with this spec block as a follow-up.","claude-code-2":"## Review: divide helper\n\nLoading + cross-referencing the two callers:\n```ts\n// /billing/invoice.ts:42 — currently produces silent Infinity\nconst unitPrice = divide(invoice.total, invoice.quantity);\n\n// /reports/avg.ts:18 — already wraps in try/catch\nconst average = divide(sum, count);\n```\n\n`/billing/invoice.ts:42` is the smoking gun — confirms the silent-Infinity bug class is real, not theoretical.\n\nRecommendation:\n1. Add a zero-guard returning a typed `DivideError`.\n2. Stage `divideMoney(cents, n)` for currency callers in a follow-up.\n\nApproving the helper rewrite with these two notes.","opencode-cli-3":'## Kimi review (via opencode)\n\nInspecting `divide(a, b)`. Quick pass — math is correct, the holes are at the boundary.\n\nSuggested patch:\n```ts\n/** Divide two finite numbers. Throws on zero divisor or non-finite input. */\nexport function divide(a: number, b: number): number {\n if (b === 0) throw new Error("divide: zero divisor");\n return a / b;\n}\n```\n\nApproving — both fixes are 60-second jobs.',"opencode-cli-4":'## DeepSeek review (via opencode)\n\nLoading `divide()` + the two callers + the existing spec.\n\nReproducing the failure modes locally:\n```ts\ndivide(100, 0); // Infinity (silent corruption)\ndivide("5", 2); // 2.5 (silent string coercion)\ndivide(0.3, 0.1); // 2.9999999999999996 (IEEE 754)\n```\n\nThree blockers, all reproducible in <30 lines:\n1. **No divide-by-zero guard** — required: `Number.isFinite` check + typed error.\n2. **No input validation** — TypeScript types are erased at runtime; `as any` slips through.\n3. **Floats for money** — IEEE 754 + currency = audit-trail nightmare. Need integer-cents.\n\nWill request changes.',"opencode-cli-5":"## Qwen review (via opencode)\n\nQuick read — public API surface only.\n\nNo defects in the body. The implementation matches its name.\n\nDocumentation gap noted — three lines of JSDoc would let editor tooling surface the contract:\n```ts\n/**\n * @param a - dividend (finite number)\n * @param b - divisor (finite, non-zero)\n * @returns the quotient a / b\n */\n```\n\nApproving — JSDoc is the only minor."},t=(()=>{let a=[];for(let[b,c]of l.entries())a.push({atMs:200+20*b,payload:p(c.agentName)});for(let b of l){let c=function(a){let b=Math.floor(.3*a.length),c=Math.floor(.65*a.length);return[a.slice(0,b),a.slice(0,c),a]}(s[b.agentName]),d=[.25,.55,.85].map(a=>Math.round(b.doneAtMs*a));for(let[e,f]of c.entries())a.push({atMs:d[e],payload:q(b.agentName,f,d[e])})}for(let b of l)a.push({atMs:b.doneAtMs,payload:r(b.agentName)});let b=Math.max(...l.map(a=>a.doneAtMs));return a.push({atMs:b+200,payload:{type:"phase_done",payload:{phaseId:j,phaseIdx:0,kind:"review_only"},ts:Date.now()}}),a.push({atMs:b+400,payload:{type:"chat_done",payload:{status:"completed",verdict:"request_changes"},ts:Date.now()}}),a})(),u={agentName:"claude-code-doer",lineage:"claude",model:"claude-opus-4-7",binaryUsed:"claude-code",doneAtMs:3700,durationMs:3500},v=[{agentName:"codex-cli-0",lineage:"codex",model:"gpt-5.5",binaryUsed:"codex",doneAtMs:2800,durationMs:2600},{agentName:"gemini-cli-1",lineage:"gemini",model:"gemini-3.1-pro-preview",binaryUsed:"gemini-cli",doneAtMs:3500,durationMs:3300},{agentName:"claude-code-2",lineage:"claude",model:"claude-sonnet-4-6",binaryUsed:"claude-code",doneAtMs:3100,durationMs:2900},{agentName:"opencode-cli-3",lineage:"opencode",model:"opencode-go/kimi-k2.6",binaryUsed:"opencode",doneAtMs:3900,durationMs:3700},{agentName:"opencode-cli-4",lineage:"opencode",model:"opencode-go/deepseek-v4-pro",binaryUsed:"opencode",doneAtMs:4500,durationMs:4300}],w=[u,...v],x=[{id:"plan",name:"Plan",kind:"plan",description:"Doer drafts the implementation approach; three reviewers critique.",streams:["## Plan: divide() helper rewrite\n\n**Goal:** production-safe wrapper over `a / b`.\n\n**Three deliverables:**\n1. Zero-guard returning a typed `DivideError`.\n2. Strict input validation (numbers only, finite, non-NaN).\n3. Switch currency callers to integer-cents (`divideMoney(cents, n)` follow-up PR).\n\n**Acceptance tests:**\n```ts\nexpect(divide(10, 2)).toBe(5);\nexpect(() => divide(10, 0)).toThrow(DivideError);\nexpect(() => divide(NaN, 2)).toThrow(DivideError);\nexpect(() => divide(Infinity, 2)).toThrow(DivideError);\n```\n\n**Risks:** API churn for two callers (`/billing/invoice.ts:42`, `/reports/avg.ts:18`). Mitigation: ship v2 alongside, deprecate v1 over one minor.\n\n**Rollback:** revert single commit; no schema/migration touched.","## Codex review \xb7 plan\n\nReading the plan…\n\nThree-piece breakdown looks right:\n- zero-guard ✓\n- input validation ✓\n- decimal precision ✓\n\nAcceptance tests match the spec contract.\n\n**Approve** — sound plan. One ask: add a `bigint` handling note. The current plan is implicitly Number-only, which is the right call, but worth saying so explicitly so the next reader does not assume `BigInt` support.","## Gemini review \xb7 plan\n\nCross-checking acceptance tests against the spec contract:\n```ts\ndivide(10, 2) // 5 ✓\ndivide(10, 0) // throw ✓\ndivide(NaN, 2) // throw ✓\ndivide(Inf, 2) // throw ✓\n```\n\nConcrete enough to drive TDD.\n\n**Approve** — explicit zero-guard is the right move. One follow-up: surface the deprecation timeline in the PR body so the two affected callers can plan their cutover.","## Claude (sonnet) review \xb7 plan\n\nReading the plan + skimming the existing call sites.\n\nThree-piece breakdown is right. The `divideMoney` carve-out is the right ergonomic — keep `divide` for general arithmetic, steer money paths to integer-cents.\n\n**Approve** — one ask: pin the deprecation timeline (one minor? one major?) so the two callers can plan.","## Kimi review (via opencode) \xb7 plan\n\nPlan looks tight. Three deliverables map cleanly to three commits if you want to split for review.\n\nAcceptance test set is the right shape — unit tests against the contract, not the implementation.\n\n**Approve** — pragmatic and shippable.","## DeepSeek review \xb7 plan\n\nPulling the existing `divide()` implementation for context:\n```ts\nexport function divide(a, b) { return a / b; }\n```\n\nCross-checking against the silent-Infinity bug class.\n\nNeed a non-finite-input row added to the acceptance tests:\n```ts\nexpect(() => divide(Number.POSITIVE_INFINITY, 2)).toThrow(DivideError);\nexpect(() => divide(2, Number.NEGATIVE_INFINITY)).toThrow(DivideError);\n```\n\nThe silent-Infinity bug is what triggered this rewrite, so the test set should explicitly cover both directions.\n\n**Approve with notes** — solid plan, just close that gap."],usage:[{inputTokens:6420,outputTokens:1840,costUsd:.0682},{inputTokens:5800,outputTokens:380,costUsd:.0094},{inputTokens:6020,outputTokens:540,costUsd:.0241},{inputTokens:6020,outputTokens:410,costUsd:.0086},{inputTokens:6240,outputTokens:320,costUsd:.0048},{inputTokens:6280,outputTokens:1140,costUsd:.0488}]},{id:"spec",name:"Spec",kind:"spec",description:"Doer derives the API contract; reviewers check alignment.",streams:['## Spec: `divide(a, b)`\n\n```ts\nexport class DivideError extends Error {\n constructor(public readonly reason: "zero" | "non-finite") {\n super(`divide: ${reason}`);\n this.name = "DivideError";\n }\n}\n\nexport function divide(a: number, b: number): number;\n```\n\n**Contract:**\n- `b === 0` → throws `DivideError("zero")`\n- `!Number.isFinite(a)` → throws `DivideError("non-finite")`\n- `!Number.isFinite(b)` → throws `DivideError("non-finite")`\n- otherwise → returns `a / b`\n\n**Order of checks:** non-finite first so `divide(NaN, 0)` reports the more specific failure.',"## Codex review \xb7 spec\n\nReading the type signature:\n```ts\n(a: number, b: number) => number\n```\n\nClean. Examples cover happy + zero + non-finite.\n\n**Approve** — suggest adding NaN explicitly to the example block:\n```ts\nexpect(() => divide(NaN, 5)).toThrow(/non-finite/);\n```\n\n`Number.isFinite(NaN)` returns false so it is covered, but enumerating it makes the intent explicit.",'## Gemini review \xb7 spec\n\nThe `reason` discriminant on the error class is the right ergonomic for callers that need to branch:\n```ts\ntry { return divide(a, b); }\ncatch (err) {\n if (err instanceof DivideError && err.reason === "zero") return 0;\n throw err;\n}\n```\n\nThat pattern beats string parsing on `err.message`.\n\n**Approve** — no structural concerns.','## Claude (sonnet) review \xb7 spec\n\n`DivideError` class is well-scoped. The `name = "DivideError"` assignment is the kind of detail that pays off in stack traces:\n```\nDivideError: divide: zero\n at /billing/invoice.ts:42\n```\n\n**Approve.**',"## Kimi review (via opencode) \xb7 spec\n\nType signature is unambiguous. The `reason` discriminant lets callers branch on failure type without string parsing.\n\nOrder-of-checks (non-finite first) is the right call.\n\n**Approve** — ready for implement.","## DeepSeek review \xb7 spec\n\nLoading spec + cross-checking against plan.\n\nExamples should include negatives and -Infinity:\n```ts\nexpect(divide(-10, 2)).toBe(-5);\nexpect(divide(10, -2)).toBe(-5);\nexpect(() => divide(Number.NEGATIVE_INFINITY, 2)).toThrow();\n```\n\nThe spec contract handles them correctly via `Number.isFinite`, but the example block sets the test surface and should be exhaustive.\n\n**Approve with notes.**"],usage:[{inputTokens:7240,outputTokens:1620,costUsd:.0731},{inputTokens:6500,outputTokens:320,costUsd:.0086},{inputTokens:6720,outputTokens:460,costUsd:.0218},{inputTokens:6720,outputTokens:380,costUsd:.0078},{inputTokens:6900,outputTokens:280,costUsd:.0042},{inputTokens:6980,outputTokens:980,costUsd:.0431}]},{id:"implement",name:"Implement",kind:"implement",description:"Doer writes the code blind to tests; reviewers find bugs.",streams:['## Implementation: `src/util/divide.ts`\n\n```ts\nexport class DivideError extends Error {\n constructor(public readonly reason: "zero" | "non-finite") {\n super(`divide: ${reason}`);\n this.name = "DivideError";\n }\n}\n\nexport function divide(a: number, b: number): number {\n if (!Number.isFinite(a) || !Number.isFinite(b)) {\n throw new DivideError("non-finite");\n }\n if (b === 0) {\n throw new DivideError("zero");\n }\n return a / b;\n}\n```\n\n**Notes:**\n- Non-finite check first so `divide(NaN, 0)` reports `"non-finite"`, not `"zero"`.\n- `name` set on `DivideError` so stack traces read `DivideError: divide: zero`.','## Codex review \xb7 diff\n\nPulling the diff. Reading each branch:\n\n✓ `Number.isFinite` — rejects NaN, \xb1Infinity, non-numbers via type system.\n✓ Zero-check after — order is correct.\n✓ `DivideError` extends `Error` with `name` set.\n\nOrder of checks decision is the correct call:\n```ts\ndivide(NaN, 0); // → "non-finite" (more specific failure first)\n```\n\n**Approve** — implementation is clean. Nothing to push back on.','## Gemini review \xb7 diff\n\nThe patch matches the spec line-for-line.\n\nThe `name` assignment on `DivideError`:\n```ts\nthis.name = "DivideError";\n```\n\nis the kind of detail that pays off the first time someone reads a stack trace — `DivideError: divide: zero` is actionable; `Error: divide: zero` looks like a generic throw and gets noise-suppressed.\n\n**Approve.**',"## Claude (sonnet) review \xb7 diff\n\nReads cleanly. Inline validation is fine for two args; would extract `isInvalid()` if this grew.\n\nThe `name` assignment on `DivideError` is the right detail — actionable stack traces over generic `Error: ...` lines.\n\n**Approve.**","## Kimi review (via opencode) \xb7 diff\n\nSmall, obvious, complete. 13 lines that do exactly what the spec said.\n\nReads in one breath:\n```ts\nif (!Number.isFinite(a) || !Number.isFinite(b)) throw …;\nif (b === 0) throw …;\nreturn a / b;\n```\n\n**Approve.**","## DeepSeek review \xb7 diff\n\nDiff loaded. Walking each branch.\n\nWant a `-0` test note before merge — JavaScript treats `-0 === 0` as `true`, so the existing zero-guard catches it, but the test pins the behaviour:\n```ts\nexpect(divide(10, -2)).toBe(-5);\nexpect(() => divide(10, -0)).toThrow(/zero/); // -0 === 0\n```\n\nThe `-0` case is the easy miss — without the test, an accidental refactor to `if (b !== 0)` would pass the existing suite.\n\n**Approve with notes.**"],usage:[{inputTokens:8120,outputTokens:1980,costUsd:.0892},{inputTokens:7300,outputTokens:280,costUsd:.0072},{inputTokens:7440,outputTokens:460,costUsd:.0214},{inputTokens:7440,outputTokens:320,costUsd:.0066},{inputTokens:7620,outputTokens:360,costUsd:.0054},{inputTokens:7720,outputTokens:1180,costUsd:.0508}]},{id:"verify",name:"Verify",kind:"verify",description:"Run the test suite; reviewers confirm coverage.",streams:['## Verify\n\n```\n$ pnpm test src/util/divide.test.ts\n\n ✓ divide > returns a / b for valid inputs\n ✓ divide > handles negative dividends\n ✓ divide > handles negative divisors\n ✓ divide > -0 is treated as 0 (throws "zero")\n ✓ divide > throws "zero" for b=0\n ✓ divide > throws "non-finite" for NaN\n ✓ divide > throws "non-finite" for \xb1Infinity\n ✓ divide > non-finite check precedes zero check\n ✓ DivideError > extends Error\n ✓ DivideError > exposes reason discriminant\n\n Tests: 12 passed (12)\n Coverage: 100% lines, 100% branches\n Lint: clean\n Types: clean\n Time: 1.42s\n```',"## Codex review \xb7 verify\n\nTest report loaded.\n\n✓ 12/12 pass, 0 fail, 0 skip\n✓ Coverage 100/100/100\n✓ Lint + types clean\n\nEvery spec case has a corresponding test. The `-0` row is what the implement-phase review asked for; merged correctly.\n\n**Approve** — nothing to add.","## Gemini review \xb7 verify\n\nReading the report:\n```\nTests: 12 passed (12)\nCoverage: 100% lines, 100% branches\n```\n\nNo flakes, no skips. The `Tests: 12 passed (12)` line is exactly what the merge gate looks for.\n\nCoverage 100/100/100 satisfies the production-utility bar.\n\n**Approve.**","## Claude (sonnet) review \xb7 verify\n\n12 tests for a 13-line function is honest coverage, not theatre. Each test asserts a real boundary condition.\n\nThe `non-finite check precedes zero check` assertion is doing real work — it pins the order-of-checks decision so a future refactor cannot silently swap them.\n\n**Approve.**","## Kimi review (via opencode) \xb7 verify\n\n✓ 12/12 pass\n✓ Coverage 100/100/100\n✓ No flakes, no skips\n\nShip it.\n\n**Approve.**","## DeepSeek review \xb7 verify\n\nPulling test report + spec for cross-check.\n\n12 tests for a 13-line function is honest coverage, not theatre. Each test asserts a real boundary:\n\n- happy path \xd7 4\n- zero divisor + -0\n- NaN + \xb1Infinity\n- order-of-checks invariant\n- DivideError shape + discriminant\n\nThe `non-finite check precedes zero check` assertion pins the order-of-checks decision so a future refactor cannot silently swap them.\n\n**Approve.**"],usage:[{inputTokens:8980,outputTokens:1340,costUsd:.0641},{inputTokens:8060,outputTokens:80,costUsd:.0021},{inputTokens:8230,outputTokens:360,costUsd:.0179},{inputTokens:8230,outputTokens:280,costUsd:.0058},{inputTokens:8410,outputTokens:220,costUsd:.0033},{inputTokens:8520,outputTokens:1060,costUsd:.0418}]},{id:"pr",name:"Ship",kind:"pr",description:"Doer drafts the PR; reviewers approve merge.",streams:["## PR draft\n\n**Title:** `feat(util): production-safe divide() with DivideError + 100% branch coverage`\n\n**Body:**\n```\nIntroduces a hardened `divide()` per the attached spec.\n\nWhat:\n- New DivideError class with typed reason discriminant\n- divide(a, b) rejects non-finite + zero divisor\n- 12 new tests; 100% line + branch coverage\n- Two existing callers updated\n\nWhy:\n- Silent Infinity from divide(x, 0) was a footgun in /billing\n- IEEE 754 currency math driving audit-trail drift; companion\n divideMoney(cents, n) lands in #4129\n\nRisk:\n- Two callers updated; no other call sites in repo\n- Rollback: revert this commit (no schema touched)\n- Backward-compat: divide() v1 stays exported for one minor\n\nCloses #4127\n```","## Codex review \xb7 PR\n\nTitle is clear and accurate. Body follows the What/Why/Risk structure the merge gate expects.\n\nTwo-caller scope is small enough to revert cleanly if needed.\n\nCloses link is correct.\n\n**Approve merge.**","## Gemini review \xb7 PR\n\nContext is well-summarised. Calling out `divideMoney` as the follow-up PR (#4129) sets the right expectation for reviewers.\n\n`Closes #4127` ties the work to the original bug report — the audit trail is intact.\n\n**Approve merge.**","## Claude (sonnet) review \xb7 PR\n\nNo surprises. Two-caller scope is bounded, rollback is a single revert, backward-compat note covers the cutover.\n\nOn-call will not be paged at 3am over this one.\n\n**Approve merge.**","## Kimi review (via opencode) \xb7 PR\n\nTitle + body land the message in three sentences. Verify report linked. Risk section names the actual callers.\n\nShip it.\n\n**Approve merge.**","## DeepSeek review \xb7 PR\n\nPR + verify report cross-loaded. Risk + rollback note is the kind of thing on-call appreciates.\n\nVerify report (12 tests, 100% branch) is linked. Closes link to #4127 ties the work to the original bug.\n\nBackward-compat note covers the cutover window:\n> divide() v1 stays exported for one minor before removal\n\nNothing held back.\n\n**Approve merge.**"],usage:[{inputTokens:9420,outputTokens:1480,costUsd:.0712},{inputTokens:8460,outputTokens:60,costUsd:.0017},{inputTokens:8640,outputTokens:320,costUsd:.0163},{inputTokens:8640,outputTokens:280,costUsd:.0058},{inputTokens:8820,outputTokens:240,costUsd:.0036},{inputTokens:8930,outputTokens:920,costUsd:.0388}]}];function y(a,b){return{participant:`${a}-${b.agentName}`,role:a,agentName:b.agentName,lineage:b.lineage,hasAnswer:!1,model:b.model,pending:!1}}function z(a,b,c,d){return{participant:`${a}-${b.agentName}`,role:a,agentName:b.agentName,lineage:b.lineage,hasAnswer:!0,answer:c,durationMs:b.durationMs,model:b.model,binaryUsed:b.binaryUsed,modelUsed:b.model,usage:d}}function A(){return[y("doer",u),...v.map(a=>y("reviewer",a))]}let B=[{round:1,participants:A()}],C={id:"demo-complex-6way",name:"Plan → Ship Workflow",description:"Five-phase workflow with five reviewers per phase.",category:"review",agreementThreshold:"majority",onThresholdMet:"auto-finalize",maxRounds:1,driver:"external",driverHandoff:!1,verificationGate:"auto",costCapUsd:0,yoloDefault:!1,onError:"fail",notify:"dashboard-only",yaml:"",authorHandle:"demo",forks:0,popularity:0,phases:x.map(a=>({id:a.id,name:a.name,description:a.description,kind:a.kind,gate:"auto",doer:{lineage:"claude",models:["claude-opus-4-7"]},reviewer:{require:2,crossLineage:!0,candidates:["codex","gemini","opencode"],candidatesWithModels:v.map(a=>({lineage:a.lineage,models:[a.model]}))},artifact:{label:"Artifact",hint:"",maxBytes:1048576},inputs:{include:[],exclude:[]},iterate:{max:1,onMax:"fail"},blindSpots:[],execution:"parallel",builtin:!0}))},D=(a,b,c)=>{let d=[],e=b.id;for(let[f,g]of w.entries())d.push({atMs:c+30*f,payload:{type:"phase_start",payload:{phaseIdx:a,phaseId:e,kind:b.kind,role:0===f?"doer":"reviewer",agent:g.agentName},ts:Date.now()}});for(let[a,f]of w.entries()){let g=0===a?"doer":"reviewer",h=function(a){let b=Math.floor(.3*a.length),c=Math.floor(.65*a.length);return[a.slice(0,b),a.slice(0,c),a]}(b.streams[a]),i=[.25,.55,.85].map(a=>Math.round(f.doneAtMs*a));for(let[a,b]of h.entries())d.push({atMs:c+i[a],payload:{type:"phase_progress",payload:{phaseId:e,round:1,role:g,agent:f.agentName,elapsedMs:i[a],output:b},ts:Date.now()}})}for(let[a,b]of w.entries()){let f=0===a?"doer":"reviewer";d.push({atMs:c+b.doneAtMs,payload:{type:"participant_done",payload:{phaseId:e,round:1,role:f,agent:b.agentName},ts:Date.now()}})}return d.push({atMs:c+5e3-100,payload:{type:"phase_done",payload:{phaseId:e,phaseIdx:a,kind:b.kind},ts:Date.now()}}),d},E=(()=>{let a=[];for(let[b,c]of x.entries())a.push(...D(b,c,200+5e3*b));return a.push({atMs:200+5e3*x.length+300,payload:{type:"chat_done",payload:{status:"merged",verdict:"approve",prUrl:"https://github.com/example/repo/pull/4128"},ts:Date.now()}}),a})(),F={"simple-6way":{template:o,initialRounds:n,work:"Review src/util/divide.ts for production-readiness — six lineages, one pass, blockers welcome.",buildDataSource:function(){let a={currentParticipants:l.map(m)};return{createEventSource:()=>i(t,(b,c)=>{!function(a,b,c){if("participant_done"!==b)return;let d=c.agent;if(!d)return;let e=l.find(a=>a.agentName===d);e&&(a.currentParticipants=a.currentParticipants.map(a=>a.agentName===d?{participant:`reviewer-${e.agentName}`,role:"reviewer",agentName:e.agentName,lineage:e.lineage,hasAnswer:!0,answer:e.answer,durationMs:e.durationMs,model:e.model,binaryUsed:e.binaryUsed,modelUsed:e.model,usage:e.usage}:a))}(a,b,c)}),fetchArtifacts:()=>({rounds:[{round:1,participants:a.currentParticipants}]})}}},"complex-6way":{template:C,initialRounds:B,work:"feat(util): production-safe divide() — Plan → Spec → Implement → Verify → Ship • closes #4127",buildDataSource:function(){let a={currentPhaseIdx:0,currentParticipants:A()};return{createEventSource:()=>i(E,(b,c)=>{!function(a,b,c){if("phase_start"===b){let b=c.phaseIdx;"number"==typeof b&&b!==a.currentPhaseIdx&&(a.currentPhaseIdx=b,a.currentParticipants=A());return}if("participant_done"===b){let b=c.agent;if(!b)return;let d=w.findIndex(a=>a.agentName===b);if(d<0)return;let e=w[d],f=x[a.currentPhaseIdx];if(!f)return;let g=z(0===d?"doer":"reviewer",e,f.streams[d],f.usage[d]);a.currentParticipants=a.currentParticipants.map(a=>a.agentName===b?g:a);return}if("chat_done"===b){let b=x[x.length-1];a.currentParticipants=w.map((a,c)=>z(0===c?"doer":"reviewer",a,b.streams[c],b.usage[c])),a.currentPhaseIdx=x.length-1}}(a,b,c)}),fetchArtifacts:()=>({rounds:[{round:1,participants:a.currentParticipants}]})}}}};function G({params:a}){let{scenario:b}=(0,e.use)(a),c=F[b];c||(0,f.notFound)();let i=(0,e.useMemo)(()=>`demo-${b}-${Math.random().toString(36).slice(2,8)}`,[b]),j=(0,e.useMemo)(()=>c.buildDataSource(),[c]);return(0,d.jsx)(g.G,{children:(0,d.jsx)("div",{className:"mx-auto max-w-[1700px] px-6 py-6",children:(0,d.jsx)(h.LiveRunReal,{chatId:i,initialStatus:"reviewing",initialRounds:c.initialRounds,template:c.template,templateId:c.template.id,work:c.work,demoDataSource:j})})})}},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32517:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(96600).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/ubuntu/dev/chorus/src/app/demo/[scenario]/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/ubuntu/dev/chorus/src/app/demo/[scenario]/page.tsx","default")},33873:a=>{"use strict";a.exports=require("path")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},43954:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/interception-routes")},51211:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>M,handler:()=>O,routeModule:()=>N});var d=c(15828),e=c(97067),f=c(38261),g=c(94322),h=c(64428),i=c(85126),j=c(48669),k=c(98846),l=c(6916),m=c(9958),n=c(50248),o=c(414),p=c(90667),q=c(261),r=c(8399),s=c(47796),t=c(26713),u=c(53846),v=c(65275),w=c(17695),x=c(33608),y=c(67040),z=c(54908),A=c(74840),B=c(86439),C=c(77068),D=c(72308),E=c(71708),F=c(91957),G=c(70722),H=c(4804),I=c(43954),J=c(17891),K={};for(let a in E)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(K[a]=()=>E[a]);c.d(b,K);let L={children:["",{children:["demo",{children:["[scenario]",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,32517)),"/home/ubuntu/dev/chorus/src/app/demo/[scenario]/page.tsx"]}]},{"global-error":[()=>Promise.resolve().then(c.t.bind(c,10312,23)),"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[()=>Promise.resolve().then(c.t.bind(c,10312,23)),"next/dist/client/components/builtin/global-error.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,11305))).default(a),async a=>(await Promise.resolve().then(c.bind(c,89796))).default(a)],apple:[],openGraph:[],twitter:[],manifest:void 0}},[]]},{layout:[()=>Promise.resolve().then(c.bind(c,65979)),"/home/ubuntu/dev/chorus/src/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,10312,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,43790,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,27431,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,6906,23)),"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,11305))).default(a),async a=>(await Promise.resolve().then(c.bind(c,89796))).default(a)],apple:[],openGraph:[],twitter:[],manifest:void 0}},[]]}.children,M={require:c,loadChunk:()=>Promise.resolve()},N=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/demo/[scenario]/page",pathname:"/demo/[scenario]",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:L},distDir:".next",relativeProjectDir:""});async function O(a,b,d){var K,P,Q,R,S;d.requestMeta&&(0,h.setRequestMeta)(a,d.requestMeta),N.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let T=!!(0,h.getRequestMeta)(a,"minimalMode"),U="/demo/[scenario]/page";"/index"===U&&(U="/");let V=await N.prepare(a,b,{srcPage:U,multiZoneDraftMode:!1});if(!V)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:W,query:X,params:Y,pageIsDynamic:Z,buildManifest:$,nextFontManifest:_,reactLoadableManifest:aa,serverActionsManifest:ab,clientReferenceManifest:ac,subresourceIntegrityManifest:ad,prerenderManifest:ae,isDraftMode:af,resolvedPathname:ag,revalidateOnlyGenerated:ah,routerServerContext:ai,nextConfig:aj,parsedUrl:ak,interceptionRoutePatterns:al,deploymentId:am,clientAssetToken:an}=V,ao=(0,q.normalizeAppPath)(U),{isOnDemandRevalidate:ap}=V,aq=aj.experimental.ppr&&!aj.cacheComponents&&(0,I.isInterceptionRouteAppPath)(ag)?null:N.match(ag,ae),ar=(null==aq?void 0:aq.route)??null,as=!!ae.routes[ag],at=a.headers["user-agent"]||"",au=(0,t.getBotType)(at),av=(0,p.isHtmlBotRequest)(a),aw=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[s.NEXT_ROUTER_PREFETCH_HEADER],ax=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[s.RSC_HEADER],ay=(0,r.getIsPossibleServerAction)(a),az=(0,m.checkIsAppPPREnabled)(aj.experimental.ppr),aA=a.headers[x.NEXT_RESUME_STATE_LENGTH_HEADER];if(!(0,h.getRequestMeta)(a,"postponed")&&T&&az&&ay&&aA&&"string"==typeof aA){let e=parseInt(aA,10),{maxPostponedStateSize:f,maxPostponedStateSizeBytes:g}=(0,D.getMaxPostponedStateSize)(aj.experimental.maxPostponedStateSize);if(!isNaN(e)&&e>0){if(e>g)return b.statusCode=413,b.end((0,D.getPostponedStateExceededErrorMessage)(f)),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let i="1 MB",j=(null==(S=aj.experimental.serverActions)?void 0:S.bodySizeLimit)??i,k=e+(j!==i?c(58965).parse(j):1048576),l=await (0,D.readBodyWithSizeLimit)(a,k);if(null===l)return b.statusCode=413,b.end("Request body exceeded limit. To configure the body size limit for Server Actions, see: https://nextjs.org/docs/app/api-reference/next-config-js/serverActions#bodysizelimit"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;if(l.length>=e){let b=l.subarray(0,e).toString("utf8");(0,h.addRequestMeta)(a,"postponed",b);let c=l.subarray(e);(0,h.addRequestMeta)(a,"actionBody",c)}else throw Object.defineProperty(Error(`invariant: expected ${e} bytes of postponed state but only received ${l.length} bytes`),"__NEXT_ERROR_CODE",{value:"E979",enumerable:!1,configurable:!0})}}if(!(0,h.getRequestMeta)(a,"postponed")&&az&&"1"===a.headers[x.NEXT_RESUME_HEADER]&&"POST"===a.method){let{maxPostponedStateSize:c,maxPostponedStateSizeBytes:e}=(0,D.getMaxPostponedStateSize)(aj.experimental.maxPostponedStateSize),f=await (0,D.readBodyWithSizeLimit)(a,e);if(null===f)return b.statusCode=413,b.end((0,D.getPostponedStateExceededErrorMessage)(c)),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let g=f.toString("utf8");(0,h.addRequestMeta)(a,"postponed",g)}let aB=!0===N.isDev||!0===aj.experimental.exposeTestingApiInProductionBuild,aC=aB&&("1"===a.headers[s.NEXT_INSTANT_PREFETCH_HEADER]||void 0===a.headers[s.RSC_HEADER]&&"string"==typeof a.headers.cookie&&a.headers.cookie.includes(s.NEXT_INSTANT_TEST_COOKIE+"=")),aD=(az||aC)&&((null==(K=ae.routes[ao]??ae.dynamicRoutes[ao])?void 0:K.renderingMode)==="PARTIALLY_STATIC"||aC&&(aB||(null==ai?void 0:ai.experimentalTestProxy)===!0)),aE=aC&&aD,aF=aE&&!0===N.isDev,aG=!1,aH=aD?(0,h.getRequestMeta)(a,"postponed"):void 0,aI=null==(P=ae.routes[ag])?void 0:P.prefetchDataRoute,aJ=aD&&ax&&!aw&&!aI;T&&(aJ=aJ&&!!aH);let aK=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),aL=(!au||!aD)&&(!at||(0,p.shouldServeStreamingMetadata)(at,aj.htmlLimitedBots)),aM=!!((ar||as||ae.routes[ao])&&!(au&&aD)),aN=aD&&!0===aj.cacheComponents,aO=!0===N.isDev||!aM||"string"==typeof aH||(aN&&(0,h.getRequestMeta)(a,"onCacheEntryV2")?aJ&&!T:aJ),aP=!!au&&aD,aQ=(null==ar?void 0:ar.remainingPrerenderableParams)??[],aR=(null==ar?void 0:ar.fallback)===null&&((null==(Q=ar.fallbackRootParams)?void 0:Q.length)??0)>0,aS=null;if(!af&&aM&&!aO&&!ay&&!aH&&!aJ){let a=aq?"string"==typeof(null==ar?void 0:ar.fallback)?ar.fallback:aq.source:null;if(!0===aj.experimental.partialFallbacks&&a&&(null==ar?void 0:ar.fallbackRouteParams)&&!aR){if(aQ.length>0){let b,c=(b=new Map(aQ.map(a=>[a.paramName,a])),a.split("/").map(a=>{let c=(0,J.getSegmentParam)(a);if(!c)return a;let d=b.get(c.paramName);if(!d)return a;let e=null==Y?void 0:Y[d.paramName];if(!e)return a;let f=Array.isArray(e)?e.map(a=>encodeURIComponent(a)).join("/"):encodeURIComponent(e);return a.replace(function(a){let{repeat:b,optional:c}=(0,J.getParamProperties)(a.paramType);return c?`[[...${a.paramName}]]`:b?`[...${a.paramName}]`:`[${a.paramName}]`}(d),f)}).join("/")||"/");aS=c!==a?c:null}}else aS=ag}let aT=aS;!aT&&(N.isDev||aM&&Z&&(null==ar?void 0:ar.fallbackRouteParams)&&!ay)&&(aT=ag),N.isDev||af||!aM||!ax||aJ||(0,k.d)(a.headers);let aU={...E,tree:L,handler:O,routeModule:N,__next_app__:M};ab&&ac&&(0,o.setManifestsSingleton)({page:U,clientReferenceManifest:ac,serverActionsManifest:ab});let aV=a.method||"GET",aW=(0,g.getTracer)(),aX=aW.getActiveScopeSpan(),aY=!!(null==ai?void 0:ai.isWrappedByNextServer),aZ=!0===aj.experimental.partialFallbacks&&aQ.length>0?(null==ar||null==(R=ar.fallbackRouteParams)?void 0:R.filter(a=>!aQ.some(b=>b.paramName===a.paramName)))??[]:[],a$=async()=>((null==ai?void 0:ai.render404)?await ai.render404(a,b,ak,!1):b.end("This page could not be found"),null);try{let k,m=N.getVaryHeader(ag,al);b.setHeader("Vary",m);let o=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return N.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aW.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aV} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a),k&&k!==c&&(k.setAttribute("http.route",d),k.updateName(a))}else c.updateName(`${aV} ${U}`)})},p=(0,h.getRequestMeta)(a,"incrementalCache")||await N.getIncrementalCache(a,aj,ae,T);null==p||p.resetRequestCache(),globalThis.__incrementalCache=p;let q=async({span:e,postponed:f,fallbackRouteParams:g,forceStaticRender:i})=>{let k={query:X,params:Y,page:ao,sharedContext:{buildId:W,deploymentId:am,clientAssetToken:an},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aU,Component:(0,j.T)(aU),params:Y,routeModule:N,page:U,postponed:f,shouldWaitOnAllReady:aP,serveStreamingMetadata:aL,supportsDynamicResponse:"string"==typeof f||aO,buildManifest:$,nextFontManifest:_,reactLoadableManifest:aa,subresourceIntegrityManifest:ad,setCacheStatus:null==ai?void 0:ai.setCacheStatus,setIsrStatus:null==ai?void 0:ai.setIsrStatus,setReactDebugChannel:null==ai?void 0:ai.setReactDebugChannel,sendErrorsToBrowser:null==ai?void 0:ai.sendErrorsToBrowser,dir:c(33873).join(process.cwd(),N.relativeProjectDir),isDraftMode:af,botType:au,isOnDemandRevalidate:ap,isPossibleServerAction:ay,assetPrefix:aj.assetPrefix,nextConfigOutput:aj.output,crossOrigin:aj.crossOrigin,trailingSlash:aj.trailingSlash,images:aj.images,previewProps:ae.preview,enableTainting:aj.experimental.taint,htmlLimitedBots:aj.htmlLimitedBots,reactMaxHeadersLength:aj.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:p,cacheLifeProfiles:aj.cacheLife,basePath:aj.basePath,serverActions:aj.experimental.serverActions,logServerFunctions:"object"==typeof aj.logging&&!!aj.logging.serverFunctions,...aE||aF||aG?{isBuildTimePrerendering:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:aF}:{},cacheComponents:!!aj.cacheComponents,experimental:{isRoutePPREnabled:aD,expireTime:aj.expireTime,staleTimes:aj.experimental.staleTimes,dynamicOnHover:!!aj.experimental.dynamicOnHover,optimisticRouting:!!aj.experimental.optimisticRouting,inlineCss:!!aj.experimental.inlineCss,prefetchInlining:aj.experimental.prefetchInlining??!1,authInterrupts:!!aj.experimental.authInterrupts,cachedNavigations:!!aj.experimental.cachedNavigations,clientTraceMetadata:aj.experimental.clientTraceMetadata||[],clientParamParsingOrigins:aj.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,C.parseMaxPostponedStateSize)(aj.experimental.maxPostponedStateSize)},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>N.onRequestError(a,b,d,e,ai),err:(0,h.getRequestMeta)(a,"invokeError")}};i&&(k.renderOpts.supportsDynamicResponse=!1);let l=await o(e,k),{metadata:m}=l,{cacheControl:n,headers:q={},fetchTags:r,fetchMetrics:s}=m;if(r&&(q[x.NEXT_CACHE_TAGS_HEADER]=r),a.fetchMetrics=s,aM&&(null==n?void 0:n.revalidate)===0&&!N.isDev&&!aD){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${ag}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
|
|
2
|
+
see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:u.CachedRouteKind.APP_PAGE,html:l,headers:q,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},r=async({hasResolved:c,previousCacheEntry:g,isRevalidating:i,span:j,forceStaticRender:k=!1})=>{let l=!1===N.isDev,m=c||b.writableEnded;try{let f;if(ap&&ah&&!g&&!T)return(null==ai?void 0:ai.render404)?await ai.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ar&&(f=(0,v.parseFallbackField)(ar.fallback)),!0===aj.experimental.partialFallbacks&&(null==ar?void 0:ar.fallback)===null&&!aR&&aQ.length>0&&(f=v.FallbackMode.PRERENDER),f===v.FallbackMode.PRERENDER&&(0,t.isBot)(at)&&(!aD||av)&&(f=v.FallbackMode.BLOCKING_STATIC_RENDER),(null==g?void 0:g.isStale)===-1&&(ap=!0),ap&&(f!==v.FallbackMode.NOT_FOUND||g)&&(f=v.FallbackMode.BLOCKING_STATIC_RENDER),!T&&f!==v.FallbackMode.BLOCKING_STATIC_RENDER&&aT&&!m&&!af&&Z&&(l||!as)){if((l||ar)&&f===v.FallbackMode.NOT_FOUND){if(aj.adapterPath)return await a$();throw new B.NoFallbackError}if(aD&&(aj.cacheComponents?!aJ:!ax)){let b=l&&"string"==typeof(null==ar?void 0:ar.fallback)?ar.fallback:ao,f=(l||aE)&&(null==ar?void 0:ar.fallbackRouteParams)?(0,n.createOpaqueFallbackRouteParams)(ar.fallbackRouteParams):aG?(0,n.getFallbackRouteParams)(ao,N):null;aE&&f&&(0,h.addRequestMeta)(a,"fallbackParams",f);let g=await N.handleResponse({cacheKey:b,req:a,nextConfig:aj,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:ae,isRoutePPREnabled:aD,responseGenerator:async()=>q({span:j,postponed:void 0,fallbackRouteParams:f,forceStaticRender:!0}),waitUntil:d.waitUntil,isMinimalMode:T});if(null===g)return null;if(g)return T||!aD||!(aQ.length>0)||!0!==aj.experimental.partialFallbacks||!aS||!p||ap||aG||aB||aC||aw||(0,H.scheduleOnNextTick)(async()=>{let b=N.getResponseCache(a);try{await b.revalidate(aS,p,aD,!1,a=>q({span:a.span,postponed:void 0,fallbackRouteParams:aZ.length>0?(0,n.createOpaqueFallbackRouteParams)(aZ):null,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}),delete g.cacheControl,g}}let o=ap||i||!aH?void 0:aH;if(aN&&!T&&p&&(aJ||ay)&&!k){let b=await p.get(ag,{kind:u.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===u.CachedRouteKind.APP_PAGE&&(o=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,H.scheduleOnNextTick)(async()=>{let b=N.getResponseCache(a);try{await b.revalidate(ag,p,aD,!1,a=>r({...a,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if((aE||aF)&&void 0!==o)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:u.CachedRouteKind.PAGES,html:w.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let s=(l&&(0,h.getRequestMeta)(a,"renderFallbackShell")||aE&&!as)&&(null==ar?void 0:ar.fallbackRouteParams)?(0,n.createOpaqueFallbackRouteParams)(ar.fallbackRouteParams):aG?(0,n.getFallbackRouteParams)(ao,N):null;if((l||aE)&&aj.cacheComponents&&!as&&(null==ar?void 0:ar.fallbackRouteParams)){let b=(0,n.createOpaqueFallbackRouteParams)(ar.fallbackRouteParams);b&&(0,h.addRequestMeta)(a,"fallbackParams",b)}return q({span:j,postponed:o,fallbackRouteParams:s,forceStaticRender:k})}catch(b){throw(null==g?void 0:g.isStale)&&await N.onRequestError(a,b,{routerKind:"App Router",routePath:U,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:aM,isOnDemandRevalidate:ap})},!1,ai),b}},D=async c=>{var f,g,i,j,k;let l,m=await N.handleResponse({cacheKey:aS,responseGenerator:a=>r({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ap,isRoutePPREnabled:aD,req:a,nextConfig:aj,prerenderManifest:ae,waitUntil:d.waitUntil,isMinimalMode:T});if(af&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),N.isDev&&b.setHeader("Cache-Control","no-cache, must-revalidate"),!m){if(aS)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=m.value)?void 0:f.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=m.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let n="string"==typeof m.value.postponed;ax&&!ay&&am&&b.setHeader(x.NEXT_NAV_DEPLOYMENT_ID_HEADER,am),aM&&!aJ&&(!n||aw)&&(T||b.setHeader("x-nextjs-cache",ap?"REVALIDATED":m.isMiss?"MISS":m.isStale?"STALE":"HIT"),b.setHeader(s.NEXT_IS_PRERENDER_HEADER,"1"));let{value:o}=m;if(aH)l={revalidate:0,expire:void 0};else if(aJ)l={revalidate:0,expire:void 0};else if(!N.isDev)if(af)l={revalidate:0,expire:void 0};else if(aM){if(m.cacheControl)if("number"==typeof m.cacheControl.revalidate){if(m.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${m.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:m.cacheControl.revalidate,expire:(null==(j=m.cacheControl)?void 0:j.expire)??aj.expireTime}}else l={revalidate:x.CACHE_ONE_YEAR_SECONDS,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(m.cacheControl=l,"string"==typeof aK&&(null==o?void 0:o.kind)===u.CachedRouteKind.APP_PAGE&&o.segmentData){b.setHeader(s.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=o.headers)?void 0:k[x.NEXT_CACHE_TAGS_HEADER];T&&aM&&c&&"string"==typeof c&&b.setHeader(x.NEXT_CACHE_TAGS_HEADER,c);let d=o.segmentData.get(aK);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:w.default.fromStatic(d,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl}))}let p=aN?(0,h.getRequestMeta)(a,"onCacheEntryV2")??(0,h.getRequestMeta)(a,"onCacheEntry"):(0,h.getRequestMeta)(a,"onCacheEntry");if(p&&await p(m,{url:(0,h.getRequestMeta)(a,"initURL")??a.url}))return null;if(o.headers){let a={...o.headers};for(let[c,d]of(T&&aM||delete a[x.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=o.headers)?void 0:g[x.NEXT_CACHE_TAGS_HEADER];if(T&&aM&&t&&"string"==typeof t&&b.setHeader(x.NEXT_CACHE_TAGS_HEADER,t),!o.status||ax&&aD||(b.statusCode=o.status),!T&&o.status&&F.RedirectStatusCode[o.status]&&ax&&(b.statusCode=200),n&&!aJ&&b.setHeader(s.NEXT_DID_POSTPONE_HEADER,"1"),ax&&!af){if(void 0===o.rscData){if(o.html.contentType!==s.RSC_CONTENT_TYPE_HEADER)if(aj.cacheComponents)return b.statusCode=404,(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl});else throw Object.defineProperty(new G.InvariantError(`Expected RSC response, got ${o.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:o.html,cacheControl:m.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:w.default.fromStatic(o.rscData,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl})}let v=o.html;if(aC&&aE){let c=!0===N.isDev?crypto.randomUUID():null;return v.pipeThrough((0,z.createInstantTestScriptInsertionTransformStream)(c)),(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}})}if(!n||T||ax)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:v,cacheControl:m.cacheControl});if(aE||aF)return v.push(new ReadableStream({start(a){a.enqueue(y.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}});let B=new TransformStream;return v.push(B.readable),q({span:c,postponed:o.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(B.writable)}).catch(a=>{B.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}})};if(!aY||!aX)return k=aW.getActiveScopeSpan(),await aW.withPropagatedContext(a.headers,()=>aW.trace(i.BaseServerSpan.handleRequest,{spanName:`${aV} ${U}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aV,"http.target":a.url}},D),void 0,!aY);await D(aX)}catch(b){throw b instanceof B.NoFallbackError||await N.onRequestError(a,b,{routerKind:"App Router",routePath:U,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:aM,isOnDemandRevalidate:ap})},!1,ai),b}}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},70722:a=>{"use strict";a.exports=require("next/dist/shared/lib/invariant-error")},77068:a=>{"use strict";a.exports=require("next/dist/shared/lib/size-limit")},79428:a=>{"use strict";a.exports=require("buffer")},80282:(a,b,c)=>{"use strict";c.d(b,{G:()=>g});var d=c(66722),e=c(24188),f=c(86095);function g({children:a}){return(0,d.jsxs)("div",{className:"flex h-screen w-screen overflow-hidden bg-background text-foreground",children:[(0,d.jsx)(e.AppSidebar,{}),(0,d.jsxs)("div",{className:"flex flex-1 flex-col overflow-hidden",children:[(0,d.jsx)(f.MobileTopBar,{}),(0,d.jsx)("main",{className:"flex-1 overflow-y-auto",children:a})]})]})}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[332,451,504,668,557,681,95,642,325],()=>b(b.s=51211));module.exports=c})();
|