neural-loom 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +3 -3
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/diagnostics/route-bundle-stats.json +1 -1
- package/.next/fallback-build-manifest.json +3 -3
- 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/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.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.html +1 -1
- package/.next/server/app/_not-found.rsc +1 -1
- package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- 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 +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +2 -2
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/index.segments/_full.segment.rsc +2 -2
- package/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/.next/server/app/index.segments/_index.segment.rsc +1 -1
- package/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/page/react-loadable-manifest.json +2 -2
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__0dliu9v._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__0dliu9v._.js.map +1 -1
- package/.next/server/chunks/[root-of-the-server]__0li1h1u._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__0li1h1u._.js.map +1 -1
- package/.next/server/middleware/middleware-manifest.json +1 -1
- package/.next/server/middleware-build-manifest.js +3 -3
- package/.next/server/middleware-manifest.json +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/static/chunks/{0m3otim_ed372.js → 0-mwzfyigo.qs.js} +1 -1
- package/.next/static/chunks/0r~-9nw2vt0gl.js +1 -0
- package/.next/static/chunks/{0.izrbl-wv3p5.js → 11w~pp-8cbmjd.js} +1 -1
- package/.next/trace +1 -1
- package/.next/trace-build +1 -1
- package/package.json +1 -1
- package/src/lib/agents/claudeModels.ts +2 -1
- package/src/lib/agents/pricing.ts +6 -2
- package/.next/static/chunks/10ic2.627gnl-.js +0 -1
- /package/.next/static/{KqsHz1i_LpGdGcKSvZiL1 → 7Rt23xVOwYg-hHmWh-bzT}/_buildManifest.js +0 -0
- /package/.next/static/{KqsHz1i_LpGdGcKSvZiL1 → 7Rt23xVOwYg-hHmWh-bzT}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{KqsHz1i_LpGdGcKSvZiL1 → 7Rt23xVOwYg-hHmWh-bzT}/_ssgManifest.js +0 -0
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"wasm": [],
|
|
20
20
|
"assets": [],
|
|
21
21
|
"env": {
|
|
22
|
-
"__NEXT_BUILD_ID": "
|
|
22
|
+
"__NEXT_BUILD_ID": "7Rt23xVOwYg-hHmWh-bzT",
|
|
23
23
|
"NEXT_SERVER_ACTIONS_ENCRYPTION_KEY": "eY6RZ/osH1ROaaJj3XaLlsnrnr+LKuemShivDKoxMg0=",
|
|
24
24
|
"__NEXT_PREVIEW_MODE_ID": "a0a6da53343472e46df9a04afa546bfe",
|
|
25
25
|
"__NEXT_PREVIEW_MODE_ENCRYPTION_KEY": "8168c6758e3572f467e36ac80deb67e979c9e472b2aa63b20faa5bffa7952573",
|
|
@@ -7,9 +7,9 @@ globalThis.__BUILD_MANIFEST = {
|
|
|
7
7
|
"static/chunks/03~yq9q893hmn.js"
|
|
8
8
|
],
|
|
9
9
|
"lowPriorityFiles": [
|
|
10
|
-
"static/
|
|
11
|
-
"static/
|
|
12
|
-
"static/
|
|
10
|
+
"static/7Rt23xVOwYg-hHmWh-bzT/_buildManifest.js",
|
|
11
|
+
"static/7Rt23xVOwYg-hHmWh-bzT/_ssgManifest.js",
|
|
12
|
+
"static/7Rt23xVOwYg-hHmWh-bzT/_clientMiddlewareManifest.js"
|
|
13
13
|
],
|
|
14
14
|
"rootMainFiles": [
|
|
15
15
|
"static/chunks/08o_~ynkkb9ph.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"wasm": [],
|
|
20
20
|
"assets": [],
|
|
21
21
|
"env": {
|
|
22
|
-
"__NEXT_BUILD_ID": "
|
|
22
|
+
"__NEXT_BUILD_ID": "7Rt23xVOwYg-hHmWh-bzT",
|
|
23
23
|
"NEXT_SERVER_ACTIONS_ENCRYPTION_KEY": "eY6RZ/osH1ROaaJj3XaLlsnrnr+LKuemShivDKoxMg0=",
|
|
24
24
|
"__NEXT_PREVIEW_MODE_ID": "a0a6da53343472e46df9a04afa546bfe",
|
|
25
25
|
"__NEXT_PREVIEW_MODE_ENCRYPTION_KEY": "8168c6758e3572f467e36ac80deb67e979c9e472b2aa63b20faa5bffa7952573",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en" class="geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/139c54uo1w7.4.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/08o_~ynkkb9ph.js"/><script src="/_next/static/chunks/140ovxvjat1ch.js" async=""></script><script src="/_next/static/chunks/07lhk_q6pmm3r.js" async=""></script><script src="/_next/static/chunks/turbopack-06zh3hgrjcphg.js" async=""></script><script src="/_next/static/chunks/0dbhjjzl8qfwv.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>NeuralLoom - Unified AI Agent Orchestrator & Context Bridge</title><meta name="description" content="Advanced console dashboard and context staging manager for Claude Code and simulated AI agents."/><link rel="manifest" href="/manifest.json"/><link rel="shortcut icon" href="/logo.png"/><link rel="icon" href="/logo.png"/><link rel="apple-touch-icon" href="/logo.png"/><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>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)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/08o_~ynkkb9ph.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"default\"]\n4:I[97367,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[97367,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"ViewportBoundary\"]\na:I[97367,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"MetadataBoundary\"]\nc:I[68027,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/139c54uo1w7.4.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"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/chunks/139c54uo1w7.4.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0dbhjjzl8qfwv.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"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\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"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\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/139c54uo1w7.4.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"
|
|
1
|
+
<!DOCTYPE html><html lang="en" class="geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/139c54uo1w7.4.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/08o_~ynkkb9ph.js"/><script src="/_next/static/chunks/140ovxvjat1ch.js" async=""></script><script src="/_next/static/chunks/07lhk_q6pmm3r.js" async=""></script><script src="/_next/static/chunks/turbopack-06zh3hgrjcphg.js" async=""></script><script src="/_next/static/chunks/0dbhjjzl8qfwv.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>NeuralLoom - Unified AI Agent Orchestrator & Context Bridge</title><meta name="description" content="Advanced console dashboard and context staging manager for Claude Code and simulated AI agents."/><link rel="manifest" href="/manifest.json"/><link rel="shortcut icon" href="/logo.png"/><link rel="icon" href="/logo.png"/><link rel="apple-touch-icon" href="/logo.png"/><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>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)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/08o_~ynkkb9ph.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"default\"]\n4:I[97367,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[97367,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"ViewportBoundary\"]\na:I[97367,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"MetadataBoundary\"]\nc:I[68027,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/139c54uo1w7.4.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"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/chunks/139c54uo1w7.4.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0dbhjjzl8qfwv.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"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\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"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\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/139c54uo1w7.4.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"7Rt23xVOwYg-hHmWh-bzT\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"e:I[27201,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"IconMark\"]\n6:null\nb:[[\"$\",\"title\",\"0\",{\"children\":\"NeuralLoom - Unified AI Agent Orchestrator \u0026 Context Bridge\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Advanced console dashboard and context staging manager for Claude Code and simulated AI agents.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"manifest\",\"href\":\"/manifest.json\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"3\",{\"rel\":\"shortcut icon\",\"href\":\"/logo.png\"}],[\"$\",\"link\",\"4\",{\"rel\":\"icon\",\"href\":\"/logo.png\"}],[\"$\",\"link\",\"5\",{\"rel\":\"apple-touch-icon\",\"href\":\"/logo.png\"}],[\"$\",\"$Le\",\"6\",{}]]\n"])</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/08o_~ynkkb9ph.js"/><script src="/_next/static/chunks/140ovxvjat1ch.js" async=""></script><script src="/_next/static/chunks/07lhk_q6pmm3r.js" async=""></script><script src="/_next/static/chunks/turbopack-06zh3hgrjcphg.js" async=""></script><script src="/_next/static/chunks/0dbhjjzl8qfwv.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/08o_~ynkkb9ph.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"default\"]\n4:I[97367,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[97367,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"ViewportBoundary\"]\na:I[97367,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"MetadataBoundary\"]\nc:I[68027,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$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\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$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\":\"
|
|
1
|
+
<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/08o_~ynkkb9ph.js"/><script src="/_next/static/chunks/140ovxvjat1ch.js" async=""></script><script src="/_next/static/chunks/07lhk_q6pmm3r.js" async=""></script><script src="/_next/static/chunks/turbopack-06zh3hgrjcphg.js" async=""></script><script src="/_next/static/chunks/0dbhjjzl8qfwv.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/08o_~ynkkb9ph.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"default\"]\n4:I[97367,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[97367,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"ViewportBoundary\"]\na:I[97367,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"MetadataBoundary\"]\nc:I[68027,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$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\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$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\":\"7Rt23xVOwYg-hHmWh-bzT\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\nb:[]\n"])</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,67585,(e,a,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return n}});let s=e.r(32061);function n({reason:e,children:a}){if("u"<typeof window)throw Object.defineProperty(new s.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return a}},9885,(e,a,t)=>{"use strict";function s(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"encodeURIPath",{enumerable:!0,get:function(){return s}})},52157,(e,a,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return i}});let s=e.r(43476),n=e.r(74080),r=e.r(63599),l=e.r(9885),o=e.r(43369);function i({moduleIds:e}){if("u">typeof window)return null;let a=r.workAsyncStorage.getStore();if(void 0===a)return null;let t=[];if(a.reactLoadableManifest&&e){let s=a.reactLoadableManifest;for(let a of e){if(!s[a])continue;let e=s[a].files;t.push(...e)}}if(0===t.length)return null;let d=(0,o.getAssetTokenQuery)();return(0,s.jsx)(s.Fragment,{children:t.map(e=>{let t=`${a.assetPrefix}/_next/${(0,l.encodeURIPath)(e)}${d}`;return e.endsWith(".css")?(0,s.jsx)("link",{precedence:"dynamic",href:t,rel:"stylesheet",as:"style",nonce:a.nonce},e):((0,n.preload)(t,{as:"script",fetchPriority:"low",nonce:a.nonce}),null)})})}},69093,(e,a,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let s=e.r(43476),n=e.r(71645),r=e.r(67585),l=e.r(52157);function o(e){return{default:e&&"default"in e?e.default:e}}let i={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},d=function(e){let a={...i,...e},t=(0,n.lazy)(()=>a.loader().then(o)),d=a.loading;function c(e){let o=d?(0,s.jsx)(d,{isLoading:!0,pastDelay:!0,error:null}):null,i=!a.ssr||!!a.loading,c=i?n.Suspense:n.Fragment,u=a.ssr?(0,s.jsxs)(s.Fragment,{children:["u"<typeof window?(0,s.jsx)(l.PreloadChunks,{moduleIds:a.modules}):null,(0,s.jsx)(t,{...e})]}):(0,s.jsx)(r.BailoutToCSR,{reason:"next/dynamic",children:(0,s.jsx)(t,{...e})});return(0,s.jsx)(c,{...i?{fallback:o}:{},children:u})}return c.displayName="LoadableComponent",c}},70703,(e,a,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});let s=e.r(55682)._(e.r(69093));function n(e,a){let t={};"function"==typeof e&&(t.loader=e);let n={...t,...a};return(0,s.default)({...n,modules:n.loadableGenerated?.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),a.exports=t.default)},20897,e=>{e.v({activeBorder:"page-module___8aEwW__activeBorder",agentBadge:"page-module___8aEwW__agentBadge",agentCard:"page-module___8aEwW__agentCard",agentGrid:"page-module___8aEwW__agentGrid",agentHeader:"page-module___8aEwW__agentHeader",agentName:"page-module___8aEwW__agentName",agentStateBadge:"page-module___8aEwW__agentStateBadge",ansiCyan:"page-module___8aEwW__ansiCyan",ansiGreen:"page-module___8aEwW__ansiGreen",ansiMagenta:"page-module___8aEwW__ansiMagenta",ansiRed:"page-module___8aEwW__ansiRed",ansiYellow:"page-module___8aEwW__ansiYellow",cardBody:"page-module___8aEwW__cardBody",container:"page-module___8aEwW__container",containerActive:"page-module___8aEwW__containerActive",contextDetails:"page-module___8aEwW__contextDetails",contextItem:"page-module___8aEwW__contextItem",contextList:"page-module___8aEwW__contextList",contextMeta:"page-module___8aEwW__contextMeta",contextTitle:"page-module___8aEwW__contextTitle",dashboardGrid:"page-module___8aEwW__dashboardGrid",envGrid:"page-module___8aEwW__envGrid",envName:"page-module___8aEwW__envName",envRow:"page-module___8aEwW__envRow",envStatus:"page-module___8aEwW__envStatus",footer:"page-module___8aEwW__footer",header:"page-module___8aEwW__header",logoArea:"page-module___8aEwW__logoArea",mainPanel:"page-module___8aEwW__mainPanel",pulse:"page-module___8aEwW__pulse","pulse-attention":"page-module___8aEwW__pulse-attention","pulse-thinking":"page-module___8aEwW__pulse-thinking",pulseDot:"page-module___8aEwW__pulseDot",quickLaunchBtn:"page-module___8aEwW__quickLaunchBtn",sectionTitle:"page-module___8aEwW__sectionTitle",sidePanel:"page-module___8aEwW__sidePanel","state-complete":"page-module___8aEwW__state-complete","state-idle":"page-module___8aEwW__state-idle","state-needs-input":"page-module___8aEwW__state-needs-input","state-thinking":"page-module___8aEwW__state-thinking",statusIndicator:"page-module___8aEwW__statusIndicator",stoppedBadge:"page-module___8aEwW__stoppedBadge",subtitle:"page-module___8aEwW__subtitle",terminalContainer:"page-module___8aEwW__terminalContainer",terminalInput:"page-module___8aEwW__terminalInput",terminalInputArea:"page-module___8aEwW__terminalInputArea",terminalLine:"page-module___8aEwW__terminalLine",terminalSendBtn:"page-module___8aEwW__terminalSendBtn",title:"page-module___8aEwW__title"})},52683,e=>{"use strict";var a=e.i(43476),t=e.i(71645),s=e.i(70703),n=e.i(20897);let r=e=>"mock"===e?"🧪":e.includes("-docker")?"🐳":e.includes("-ssh")?"🌐":"💻",l=(0,s.default)(()=>e.A(45344),{loadableGenerated:{modules:[37314]},ssr:!1,loading:()=>(0,a.jsx)("div",{style:{height:"400px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#05070a",color:"var(--muted)",border:"1px solid var(--border)",borderBottomLeftRadius:"12px",borderBottomRightRadius:"12px"},children:(0,a.jsx)("span",{children:"Initializing terminal emulator..."})})}),o=(0,s.default)(()=>e.A(39429),{loadableGenerated:{modules:[1985]},ssr:!1,loading:()=>(0,a.jsx)("div",{style:{height:"280px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"var(--card)",border:"1px solid var(--border)",borderRadius:"12px",marginTop:"1.5rem"},children:(0,a.jsx)("span",{style:{color:"var(--muted)"},children:"Initializing prompt editor..."})})}),i=(0,s.default)(()=>e.A(56915),{loadableGenerated:{modules:[99026]},ssr:!1}),d=(0,s.default)(()=>e.A(78716),{loadableGenerated:{modules:[9949]},ssr:!1}),c=(0,s.default)(()=>e.A(33789),{loadableGenerated:{modules:[20032]},ssr:!1}),u=(0,s.default)(()=>e.A(78003),{loadableGenerated:{modules:[97722]},ssr:!1}),p=(0,s.default)(()=>e.A(66701),{loadableGenerated:{modules:[46877]},ssr:!1}),m=(0,s.default)(()=>e.A(53629),{loadableGenerated:{modules:[72219]},ssr:!1});e.s(["default",0,function(){let[e,s]=(0,t.useState)([]),[g,h]=(0,t.useState)(null),[f,_]=(0,t.useState)(!1),[x,y]=(0,t.useState)(!1),[j,b]=(0,t.useState)(!1),[v,w]=(0,t.useState)(!1),[k,S]=(0,t.useState)(!1),[C,N]=(0,t.useState)(!1),[W,E]=(0,t.useState)(!1),[R,P]=(0,t.useState)(!1),[D,T]=(0,t.useState)(""),[A,L]=(0,t.useState)(9601),[O,z]=(0,t.useState)("0.2.19"),[B,I]=(0,t.useState)(null),[G,M]=(0,t.useState)([]),$=e.filter(e=>"workspace-terminal"!==e.id),H=e.find(e=>e.id===g),F=$.some(e=>("claude-docker"===e.type||"aider-docker"===e.type)&&"running"===e.status),q=$.some(e=>"claude-ssh"===e.type&&"running"===e.status),J=async()=>{try{let e=await fetch("/api/sessions"),a=await e.json();a.sessions&&s(a.sessions),a.wsPort&&L(a.wsPort),a.originalCwd&&T(a.originalCwd),a.version&&z(a.version)}catch(e){console.error("Failed to fetch sessions:",e)}},U=async()=>{try{let e=await fetch("/api/recents");if(e.ok){let a=await e.json();a.success&&a.recents&&a.recents.lastSession&&I(a.recents.lastSession)}}catch(e){console.error("Failed to fetch recents:",e)}},K=async()=>{try{let e=await fetch("/api/configs");if(e.ok){let a=await e.json();a.configs&&M(a.configs)}}catch(e){console.error("Failed to fetch configs:",e)}};(0,t.useEffect)(()=>{(async()=>{await J(),await U(),await K()})(),"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").then(e=>console.log("Service Worker registered:",e.scope)).catch(e=>console.error("Service Worker registration failed:",e));let e=setInterval(J,4e3);return()=>clearInterval(e)},[]);let Y=async(e,a,t,s,n)=>{_(!0);try{let r=a;r||("claude"===e?r="Claude Local":"claude-docker"===e?r="Claude Docker":"claude-ssh"===e?r="Claude SSH":"aider"===e?r="Aider Local":"aider-docker"===e?r="Aider Docker":"mock"===e&&(r="Mock Session"));let l={type:e,name:r,workspaceRoot:t,scopedDirs:s,model:n};if(("aider"===e||"aider-docker"===e)&&!t)try{let e=await fetch("/api/context/aider");if(e.ok){let a=await e.json();a.success&&a.config&&(l.workspaceRoot=a.config.workspaceRoot,l.scopedDirs=a.config.scopedDirs)}}catch(e){console.error("Failed to load aider configuration before launch:",e)}let o=await fetch("/api/sessions/launch",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)}),i=await o.json();i.success&&(await J(),await K(),h(i.session.id),I({type:e,name:r,workspaceRoot:t,scopedDirs:s}))}catch(e){console.error("Failed to launch session:",e)}finally{_(!1)}},Q=async e=>{_(!0);try{let a=await fetch("/api/sessions/launch",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:e.type,name:e.name,workspaceRoot:e.workspaceRoot,scopedDirs:e.scopedDirs,model:e.model})}),t=await a.json();t.success?(await J(),h(t.session.id)):alert(t.error||"Failed to launch configuration.")}catch(e){console.error(e),alert("Network error: failed to launch configuration.")}finally{_(!1)}},V=async e=>{if(window.confirm("Are you sure you want to delete this configuration template?"))try{(await fetch("/api/configs",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"delete",id:e})})).ok?await K():alert("Failed to delete configuration template.")}catch(e){console.error(e),alert("Network error: failed to delete configuration template.")}},X=async(e,a=!1)=>{try{let t=await fetch("/api/sessions/stop",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:e,delete:a})});(await t.json()).success&&(a&&g===e&&h(null),await J())}catch(e){console.error("Failed to stop session:",e)}};return(0,a.jsxs)("div",{className:`${n.default.container} ${H?n.default.containerActive:""}`,children:[(0,a.jsxs)("header",{className:n.default.header,children:[(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"1.5rem"},children:[(0,a.jsx)("img",{src:"/logo.png",alt:"NeuralLoom Logo",style:{width:"64px",height:"64px",borderRadius:"6px",objectFit:"contain"}}),(0,a.jsxs)("div",{className:n.default.logoArea,children:[(0,a.jsx)("h1",{className:n.default.title,style:{margin:0,lineHeight:1.1},children:"NeuralLoom"}),(0,a.jsx)("span",{className:n.default.subtitle,children:"Unified AI Orchestrator & Context Bridge"})]})]}),(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"1rem"},children:[(0,a.jsxs)("div",{className:n.default.statusIndicator,children:[(0,a.jsx)("span",{className:n.default.pulseDot}),(0,a.jsx)("span",{children:"Orchestrator Online"})]}),(0,a.jsx)("button",{onClick:()=>b(!0),title:"Send feedback","aria-label":"Send feedback",style:{background:"transparent",border:"1px solid var(--border)",borderRadius:"8px",color:"var(--muted)",cursor:"pointer",fontSize:"1.1rem",lineHeight:1,padding:"6px 10px"},children:"🐞"}),(0,a.jsx)("button",{onClick:()=>y(!0),title:"Settings","aria-label":"Settings",style:{background:"transparent",border:"1px solid var(--border)",borderRadius:"8px",color:"var(--muted)",cursor:"pointer",fontSize:"1.1rem",lineHeight:1,padding:"6px 10px"},children:"⚙️"})]})]}),x&&(0,a.jsx)(p,{onClose:()=>y(!1)}),j&&(0,a.jsx)(m,{version:O,workspaceRoot:D,onClose:()=>b(!1)}),H?(0,a.jsx)("div",{style:{flex:1,minHeight:0,display:"flex",flexDirection:"column"},children:(0,a.jsx)(u,{sessionId:H.id,workspaceRoot:H.workspaceRoot||"",scopedDirs:H.scopedDirs||[],onClose:()=>h(null),sessions:e,onSwitchSession:e=>h(e),onRefreshSessions:J,wsPort:A})}):(0,a.jsxs)("div",{className:n.default.dashboardGrid,children:[(0,a.jsx)("div",{className:n.default.mainPanel,children:(0,a.jsxs)("section",{children:[(0,a.jsx)("h2",{className:n.default.sectionTitle,children:"Shared Context Hub & Slash Commands"}),(0,a.jsxs)("div",{className:n.default.contextList,children:[(0,a.jsxs)("div",{className:`${n.default.contextItem} card`,children:[(0,a.jsxs)("div",{className:n.default.contextMeta,children:[(0,a.jsx)("span",{className:n.default.contextTitle,children:"Staged Context & System Rules (/ccc)"}),(0,a.jsx)("span",{className:n.default.contextDetails,children:"Compiles AGENTS.md guidelines and files map."})]}),(0,a.jsx)("button",{onClick:async()=>{g&&await fetch("/api/sessions/inject",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:g,command:"/ccc"})})},disabled:!g,style:{padding:"0.4rem 0.8rem",borderRadius:"6px",border:"1px solid var(--primary)",backgroundColor:"transparent",color:"var(--primary)",fontSize:"0.75rem",fontWeight:600,opacity:g?1:.5,cursor:g?"pointer":"not-allowed"},children:"🚀 Mount (/ccc)"})]}),(0,a.jsxs)("div",{className:`${n.default.contextItem} card`,children:[(0,a.jsxs)("div",{className:n.default.contextMeta,children:[(0,a.jsx)("span",{className:n.default.contextTitle,children:"Staged Developer Prompt (/ccp)"}),(0,a.jsx)("span",{className:n.default.contextDetails,children:"Executes prompt in .ai/neural-loom/cprompt.md."})]}),(0,a.jsx)("button",{onClick:async()=>{g&&await fetch("/api/sessions/inject",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:g,command:"/ccp"})})},disabled:!g,style:{padding:"0.4rem 0.8rem",borderRadius:"6px",border:"1px solid var(--success)",backgroundColor:"transparent",color:"var(--success)",fontSize:"0.75rem",fontWeight:600,opacity:g?1:.5,cursor:g?"pointer":"not-allowed"},children:"⚡ Run (/ccp)"})]})]}),(0,a.jsx)(o,{})]})}),(0,a.jsxs)("div",{className:n.default.mainPanel,children:[(0,a.jsxs)("section",{children:[(0,a.jsx)("h2",{className:n.default.sectionTitle,children:"Active AI Agents"}),0===$.length?(0,a.jsxs)("div",{className:"card",style:{padding:"3rem 1.5rem",textAlign:"center"},children:[(0,a.jsx)("p",{style:{color:"var(--muted)",marginBottom:"1.5rem"},children:"No active agent sessions. Launch a Claude or Aider agent session to begin."}),(0,a.jsxs)("div",{style:{display:"flex",gap:"0.75rem",flexDirection:"column"},children:[B&&(0,a.jsx)("button",{className:n.default.quickLaunchBtn,onClick:()=>{Y(B.type,B.name,B.workspaceRoot,B.scopedDirs)},disabled:f,style:{background:"linear-gradient(135deg, hsl(38, 92%, 50%) 0%, hsl(0, 84%, 60%) 100%)",border:"none"},title:`Re-launch: ${B.name||B.type}`,children:"⚡ Re-launch Last Session"}),(0,a.jsxs)("div",{style:{display:"flex",gap:"0.5rem"},children:[(0,a.jsx)("button",{className:n.default.quickLaunchBtn,onClick:()=>{P(!1),E(!0)},disabled:f,style:{background:"linear-gradient(135deg, hsl(262, 83%, 60%) 0%, hsl(195, 100%, 45%) 100%)",border:"none",flex:1},children:"Launch Claude"}),(0,a.jsx)("button",{className:n.default.quickLaunchBtn,onClick:()=>{N(!1),S(!0)},disabled:f,style:{background:"linear-gradient(135deg, hsl(210, 80%, 45%) 0%, hsl(262, 80%, 55%) 100%)",border:"none",flex:1},children:"Launch Aider"})]})]}),(0,a.jsxs)("div",{style:{marginTop:"1.5rem",fontSize:"0.75rem",color:"var(--muted)"},children:["Need a simulator?"," ",(0,a.jsx)("span",{onClick:()=>Y("mock"),style:{color:"var(--primary)",cursor:"pointer",textDecoration:"underline"},children:"Start mock playground"})]})]}):(0,a.jsx)("div",{className:n.default.agentGrid,children:$.map(e=>(0,a.jsxs)("div",{className:`${n.default.agentCard} card ${g===e.id?n.default.activeBorder:""}`,children:[(0,a.jsxs)("div",{className:n.default.agentHeader,children:[(0,a.jsx)("span",{className:n.default.agentName,children:e.name}),(0,a.jsxs)("div",{style:{display:"flex",gap:"0.35rem",alignItems:"center"},children:["running"===e.status&&e.agentState&&(0,a.jsxs)("span",{className:`${n.default.agentStateBadge} ${n.default["state-"+e.agentState]}`,children:["thinking"===e.agentState&&`${r(e.type)} 💭`,"needs-input"===e.agentState&&`${r(e.type)} ⚠️`,"complete"===e.agentState&&`${r(e.type)} ✅`,"idle"===e.agentState&&`${r(e.type)} 💤`]}),(0,a.jsx)("span",{className:`${n.default.agentBadge} ${"stopped"===e.status?n.default.stoppedBadge:""}`,children:e.status})]})]}),(0,a.jsxs)("div",{className:n.default.cardBody,style:{padding:"1rem"},children:[(0,a.jsxs)("p",{style:{fontSize:"0.8rem",color:"var(--muted)",margin:0},children:["ID: ",(0,a.jsx)("code",{style:{fontSize:"0.72rem"},children:e.id.substring(0,8)})," | Type: ",e.type,(0,a.jsx)("br",{}),"Logs: ",e.logsCount," lines"]}),(0,a.jsxs)("div",{style:{display:"flex",gap:"0.5rem",marginTop:"0.75rem"},children:["running"===e.status?(0,a.jsx)("button",{onClick:()=>X(e.id,!1),style:{flex:1,padding:"0.35rem",borderRadius:"6px",border:"1px solid var(--danger)",backgroundColor:"transparent",fontSize:"0.75rem",color:"var(--danger)",cursor:"pointer"},children:"Stop"}):(0,a.jsx)("button",{onClick:()=>X(e.id,!0),style:{flex:1,padding:"0.35rem",borderRadius:"6px",border:"1px solid var(--border)",backgroundColor:"transparent",fontSize:"0.75rem",color:"var(--muted)",cursor:"pointer"},children:"Delete"}),(0,a.jsx)("button",{onClick:()=>h(e.id),style:{flex:2,padding:"0.35rem",borderRadius:"6px",border:"none",backgroundColor:g===e.id?"var(--border-focus)":"var(--primary)",fontSize:"0.75rem",fontWeight:600,color:"#fff",cursor:"pointer"},children:g===e.id?"Connected":"Open Console"})]})]})]},e.id))})]}),g&&"workspace-terminal"!==g&&(0,a.jsxs)("section",{className:"card",style:{display:"flex",flexDirection:"column",border:"1px solid var(--border-focus)",marginTop:"1rem"},children:[(0,a.jsxs)("div",{className:n.default.agentHeader,style:{justifyContent:"space-between",background:"rgba(109, 40, 217, 0.08)",padding:"0.5rem 1rem"},children:[(0,a.jsxs)("span",{style:{fontWeight:600,fontSize:"0.85rem",display:"flex",alignItems:"center",gap:"0.5rem"},children:["🖥️ Console — ",e.find(e=>e.id===g)?.name]}),(0,a.jsxs)("div",{style:{display:"flex",gap:"0.5rem",alignItems:"center"},children:[e.find(e=>e.id===g)?.status==="stopped"&&(0,a.jsx)("button",{onClick:async()=>{try{let a=e.find(e=>e.id===g),t=a&&("claude"===a.type||"claude-docker"===a.type||"claude-ssh"===a.type),s=!1;t&&(s=window.confirm("Would you like to resume your previous Claude session?"));let n=await fetch("/api/sessions/start",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:g,resume:s})});if(n.ok)await J();else{let e=await n.json();alert(e.error||"Failed to restart session.")}}catch(e){console.error("Failed to restart session:",e)}},style:{padding:"0.15rem 0.4rem",borderRadius:"4px",border:"1px solid #eab308",backgroundColor:"rgba(234, 179, 8, 0.15)",color:"#eab308",fontSize:"0.65rem",fontWeight:600,cursor:"pointer"},children:"⚡ Restart"}),(0,a.jsx)("button",{onClick:()=>h(null),style:{border:"none",background:"none",color:"var(--muted)",cursor:"pointer",fontSize:"0.75rem"},children:"✖"})]})]}),(0,a.jsx)(l,{sessionId:g,wsPort:A})]})]}),(0,a.jsxs)("div",{className:n.default.sidePanel,children:[(0,a.jsxs)("section",{children:[(0,a.jsx)("h2",{className:n.default.sectionTitle,children:"Execution Environments"}),(0,a.jsxs)("div",{className:n.default.envGrid,children:[(0,a.jsxs)("div",{className:n.default.envRow,style:{padding:"0.5rem 0.75rem"},children:[(0,a.jsx)("span",{className:n.default.envName,children:"💻 Local Host"}),(0,a.jsx)("span",{className:n.default.envStatus,style:{color:"var(--success)"},children:"Active"})]}),(0,a.jsxs)("div",{className:n.default.envRow,style:{opacity:F?1:.6,padding:"0.5rem 0.75rem"},children:[(0,a.jsx)("span",{className:n.default.envName,children:"🐳 Docker Sandbox"}),(0,a.jsx)("span",{className:n.default.envStatus,style:{color:F?"var(--success)":"var(--muted)"},children:F?"Active":"Not Mounted"})]}),(0,a.jsxs)("div",{className:n.default.envRow,style:{opacity:q?1:.6,padding:"0.5rem 0.75rem"},children:[(0,a.jsx)("span",{className:n.default.envName,children:"🌐 Remote VM (SSH)"}),(0,a.jsx)("span",{className:n.default.envStatus,style:{color:q?"var(--success)":"var(--muted)"},children:q?"Active":"Offline"})]})]})]}),(0,a.jsxs)("section",{children:[(0,a.jsx)("h2",{className:n.default.sectionTitle,children:"Saved Configurations"}),(0,a.jsx)("div",{className:"card",style:{padding:"1rem",display:"flex",flexDirection:"column",gap:"0.75rem"},children:0===G.length?(0,a.jsx)("p",{style:{color:"var(--muted)",fontSize:"0.8rem",textAlign:"center",margin:"1rem 0"},children:"No configuration templates saved yet. Save a template from the Claude/Aider launch wizards."}):(0,a.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:"0.5rem",maxHeight:"200px",overflowY:"auto"},children:G.map(e=>(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",background:"rgba(255, 255, 255, 0.02)",padding:"0.5rem",borderRadius:"6px",border:"1px solid var(--border)"},children:[(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"0.15rem",minWidth:0},children:[(0,a.jsx)("span",{style:{fontSize:"0.8rem",fontWeight:600,color:"var(--foreground)",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e.name}),(0,a.jsx)("span",{style:{fontSize:"0.65rem",color:"var(--muted)",textTransform:"uppercase"},children:e.type})]}),(0,a.jsxs)("div",{style:{display:"flex",gap:"0.25rem"},children:[(0,a.jsx)("button",{onClick:()=>Q(e),disabled:f,style:{padding:"0.2rem 0.4rem",borderRadius:"4px",backgroundColor:"var(--primary)",color:"#fff",border:"none",fontSize:"0.7rem",cursor:"pointer"},children:"Launch"}),(0,a.jsx)("button",{onClick:()=>V(e.id),style:{padding:"0.2rem 0.4rem",borderRadius:"4px",backgroundColor:"transparent",color:"var(--danger)",border:"1px solid var(--danger)",fontSize:"0.7rem",cursor:"pointer"},children:"Delete"})]})]},e.id))})})]}),(0,a.jsxs)("section",{style:{display:"flex",flexDirection:"column",gap:"0.5rem"},children:[(0,a.jsxs)("div",{style:{display:"flex",gap:"0.5rem"},children:[(0,a.jsx)("button",{className:n.default.quickLaunchBtn,onClick:()=>{P(!1),E(!0)},disabled:f,style:{background:"linear-gradient(135deg, hsl(262, 83%, 60%) 0%, hsl(195, 100%, 45%) 100%)",border:"none",padding:"0.6rem",fontSize:"0.8rem",flex:1},children:"🤖 Claude Local"}),(0,a.jsx)("button",{className:n.default.quickLaunchBtn,onClick:()=>{P(!0),E(!0)},disabled:f,style:{background:"linear-gradient(135deg, hsl(170, 72%, 40%) 0%, hsl(195, 100%, 40%) 100%)",border:"none",padding:"0.6rem",fontSize:"0.8rem",flex:1},children:"🐳 Claude Docker"})]}),(0,a.jsxs)("div",{style:{display:"flex",gap:"0.5rem"},children:[(0,a.jsx)("button",{className:n.default.quickLaunchBtn,onClick:()=>{N(!1),S(!0)},disabled:f,style:{background:"linear-gradient(135deg, hsl(210, 80%, 45%) 0%, hsl(262, 80%, 55%) 100%)",border:"none",padding:"0.6rem",fontSize:"0.8rem",flex:1},children:"🐍 Aider Local"}),(0,a.jsx)("button",{className:n.default.quickLaunchBtn,onClick:()=>{N(!0),S(!0)},disabled:f,style:{background:"linear-gradient(135deg, hsl(195, 100%, 40%) 0%, hsl(262, 80%, 55%) 100%)",border:"none",padding:"0.6rem",fontSize:"0.8rem",flex:1},children:"🐳 Aider Docker"})]}),(0,a.jsx)("button",{className:n.default.quickLaunchBtn,onClick:()=>w(!0),disabled:f,style:{background:"linear-gradient(135deg, hsl(38, 92%, 50%) 0%, hsl(0, 84%, 60%) 100%)",border:"none",padding:"0.6rem",fontSize:"0.8rem"},children:"🌐 Connect Remote SSH"})]}),(0,a.jsxs)("section",{children:[(0,a.jsx)("h2",{className:n.default.sectionTitle,children:"Workspace Terminal"}),(0,a.jsxs)("div",{className:"card",style:{display:"flex",flexDirection:"column",border:"1px solid var(--border)",padding:0},children:[(0,a.jsx)("div",{className:n.default.agentHeader,style:{justifyContent:"space-between",background:"rgba(255, 255, 255, 0.02)",padding:"0.4rem 0.75rem"},children:(0,a.jsxs)("span",{style:{fontWeight:600,fontSize:"0.75rem"},children:["💻 Local Shell (CWD: ",D.split(/[/\\]/).pop()||"root",")"]})}),(0,a.jsx)(l,{sessionId:"workspace-terminal",height:"180px",wsPort:A})]})]}),(0,a.jsxs)("section",{className:"card",style:{padding:"1rem",display:"flex",flexDirection:"column",gap:"0.5rem"},children:[(0,a.jsx)("h3",{style:{fontSize:"0.9rem",fontWeight:700,margin:0},children:"Quick Actions"}),(0,a.jsxs)("ul",{style:{listStyle:"none",fontSize:"0.75rem",display:"flex",flexDirection:"column",gap:"0.35rem",color:"var(--muted)",padding:0,margin:0},children:[(0,a.jsxs)("li",{style:{display:"flex",justifyContent:"space-between"},children:[(0,a.jsx)("span",{children:"Configure API Keys"}),(0,a.jsx)("span",{style:{color:"var(--primary)",cursor:"pointer"},children:"→"})]}),(0,a.jsxs)("li",{style:{display:"flex",justifyContent:"space-between"},children:[(0,a.jsx)("span",{children:"Edit rules templates"}),(0,a.jsx)("span",{style:{color:"var(--primary)",cursor:"pointer"},children:"→"})]}),(0,a.jsxs)("li",{style:{display:"flex",justifyContent:"space-between"},children:[(0,a.jsx)("span",{children:"Inspect process locks"}),(0,a.jsx)("span",{style:{color:"var(--primary)",cursor:"pointer"},children:"→"})]})]})]})]})]}),(0,a.jsxs)("footer",{className:n.default.footer,children:[(0,a.jsxs)("span",{children:["NeuralLoom v",O," — Experimental AI Orchestrator Bridge"]}),(0,a.jsxs)("span",{children:["Directory: ",D||"Loading..."]})]}),v&&(0,a.jsx)(i,{onClose:()=>w(!1),onConfirmLaunch:()=>{w(!1),Y("claude-ssh")}}),k&&(0,a.jsx)(d,{onClose:()=>S(!1),isDocker:C,onConfirmLaunch:(e,a,t)=>{S(!1),Y(C?"aider-docker":"aider",e,a,t)}}),W&&(0,a.jsx)(c,{onClose:()=>E(!1),isDocker:R,onConfirmLaunch:(e,a,t,s)=>{E(!1),Y(R?"claude-docker":"claude",e,a,t,s)}})]})}])},45344,e=>{e.v(a=>Promise.all(["static/chunks/0zt~pql40pxuw.js","static/chunks/066bdk5lduupu.js","static/chunks/0ga14ztvrhau2.css"].map(a=>e.l(a))).then(()=>a(37314)))},39429,e=>{e.v(a=>Promise.all(["static/chunks/16w4~t4h7gk13.js"].map(a=>e.l(a))).then(()=>a(1985)))},56915,e=>{e.v(a=>Promise.all(["static/chunks/0lnobx4eh3~-_.js"].map(a=>e.l(a))).then(()=>a(99026)))},78716,e=>{e.v(a=>Promise.all(["static/chunks/0xhaghhxllgzs.js"].map(a=>e.l(a))).then(()=>a(9949)))},33789,e=>{e.v(a=>Promise.all(["static/chunks/10ic2.627gnl-.js"].map(a=>e.l(a))).then(()=>a(20032)))},78003,e=>{e.v(a=>Promise.all(["static/chunks/0.izrbl-wv3p5.js","static/chunks/066bdk5lduupu.js","static/chunks/0qu9wa_keet3..js","static/chunks/0ga14ztvrhau2.css"].map(a=>e.l(a))).then(()=>a(97722)))},66701,e=>{e.v(a=>Promise.all(["static/chunks/0blzez3o_572u.js"].map(a=>e.l(a))).then(()=>a(46877)))},53629,e=>{e.v(a=>Promise.all(["static/chunks/01.6r9p-y5-1u.js"].map(a=>e.l(a))).then(()=>a(72219)))}]);
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,67585,(e,a,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return n}});let s=e.r(32061);function n({reason:e,children:a}){if("u"<typeof window)throw Object.defineProperty(new s.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return a}},9885,(e,a,t)=>{"use strict";function s(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"encodeURIPath",{enumerable:!0,get:function(){return s}})},52157,(e,a,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return i}});let s=e.r(43476),n=e.r(74080),r=e.r(63599),l=e.r(9885),o=e.r(43369);function i({moduleIds:e}){if("u">typeof window)return null;let a=r.workAsyncStorage.getStore();if(void 0===a)return null;let t=[];if(a.reactLoadableManifest&&e){let s=a.reactLoadableManifest;for(let a of e){if(!s[a])continue;let e=s[a].files;t.push(...e)}}if(0===t.length)return null;let d=(0,o.getAssetTokenQuery)();return(0,s.jsx)(s.Fragment,{children:t.map(e=>{let t=`${a.assetPrefix}/_next/${(0,l.encodeURIPath)(e)}${d}`;return e.endsWith(".css")?(0,s.jsx)("link",{precedence:"dynamic",href:t,rel:"stylesheet",as:"style",nonce:a.nonce},e):((0,n.preload)(t,{as:"script",fetchPriority:"low",nonce:a.nonce}),null)})})}},69093,(e,a,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let s=e.r(43476),n=e.r(71645),r=e.r(67585),l=e.r(52157);function o(e){return{default:e&&"default"in e?e.default:e}}let i={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},d=function(e){let a={...i,...e},t=(0,n.lazy)(()=>a.loader().then(o)),d=a.loading;function c(e){let o=d?(0,s.jsx)(d,{isLoading:!0,pastDelay:!0,error:null}):null,i=!a.ssr||!!a.loading,c=i?n.Suspense:n.Fragment,u=a.ssr?(0,s.jsxs)(s.Fragment,{children:["u"<typeof window?(0,s.jsx)(l.PreloadChunks,{moduleIds:a.modules}):null,(0,s.jsx)(t,{...e})]}):(0,s.jsx)(r.BailoutToCSR,{reason:"next/dynamic",children:(0,s.jsx)(t,{...e})});return(0,s.jsx)(c,{...i?{fallback:o}:{},children:u})}return c.displayName="LoadableComponent",c}},70703,(e,a,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});let s=e.r(55682)._(e.r(69093));function n(e,a){let t={};"function"==typeof e&&(t.loader=e);let n={...t,...a};return(0,s.default)({...n,modules:n.loadableGenerated?.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),a.exports=t.default)},20897,e=>{e.v({activeBorder:"page-module___8aEwW__activeBorder",agentBadge:"page-module___8aEwW__agentBadge",agentCard:"page-module___8aEwW__agentCard",agentGrid:"page-module___8aEwW__agentGrid",agentHeader:"page-module___8aEwW__agentHeader",agentName:"page-module___8aEwW__agentName",agentStateBadge:"page-module___8aEwW__agentStateBadge",ansiCyan:"page-module___8aEwW__ansiCyan",ansiGreen:"page-module___8aEwW__ansiGreen",ansiMagenta:"page-module___8aEwW__ansiMagenta",ansiRed:"page-module___8aEwW__ansiRed",ansiYellow:"page-module___8aEwW__ansiYellow",cardBody:"page-module___8aEwW__cardBody",container:"page-module___8aEwW__container",containerActive:"page-module___8aEwW__containerActive",contextDetails:"page-module___8aEwW__contextDetails",contextItem:"page-module___8aEwW__contextItem",contextList:"page-module___8aEwW__contextList",contextMeta:"page-module___8aEwW__contextMeta",contextTitle:"page-module___8aEwW__contextTitle",dashboardGrid:"page-module___8aEwW__dashboardGrid",envGrid:"page-module___8aEwW__envGrid",envName:"page-module___8aEwW__envName",envRow:"page-module___8aEwW__envRow",envStatus:"page-module___8aEwW__envStatus",footer:"page-module___8aEwW__footer",header:"page-module___8aEwW__header",logoArea:"page-module___8aEwW__logoArea",mainPanel:"page-module___8aEwW__mainPanel",pulse:"page-module___8aEwW__pulse","pulse-attention":"page-module___8aEwW__pulse-attention","pulse-thinking":"page-module___8aEwW__pulse-thinking",pulseDot:"page-module___8aEwW__pulseDot",quickLaunchBtn:"page-module___8aEwW__quickLaunchBtn",sectionTitle:"page-module___8aEwW__sectionTitle",sidePanel:"page-module___8aEwW__sidePanel","state-complete":"page-module___8aEwW__state-complete","state-idle":"page-module___8aEwW__state-idle","state-needs-input":"page-module___8aEwW__state-needs-input","state-thinking":"page-module___8aEwW__state-thinking",statusIndicator:"page-module___8aEwW__statusIndicator",stoppedBadge:"page-module___8aEwW__stoppedBadge",subtitle:"page-module___8aEwW__subtitle",terminalContainer:"page-module___8aEwW__terminalContainer",terminalInput:"page-module___8aEwW__terminalInput",terminalInputArea:"page-module___8aEwW__terminalInputArea",terminalLine:"page-module___8aEwW__terminalLine",terminalSendBtn:"page-module___8aEwW__terminalSendBtn",title:"page-module___8aEwW__title"})},52683,e=>{"use strict";var a=e.i(43476),t=e.i(71645),s=e.i(70703),n=e.i(20897);let r=e=>"mock"===e?"🧪":e.includes("-docker")?"🐳":e.includes("-ssh")?"🌐":"💻",l=(0,s.default)(()=>e.A(45344),{loadableGenerated:{modules:[37314]},ssr:!1,loading:()=>(0,a.jsx)("div",{style:{height:"400px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#05070a",color:"var(--muted)",border:"1px solid var(--border)",borderBottomLeftRadius:"12px",borderBottomRightRadius:"12px"},children:(0,a.jsx)("span",{children:"Initializing terminal emulator..."})})}),o=(0,s.default)(()=>e.A(39429),{loadableGenerated:{modules:[1985]},ssr:!1,loading:()=>(0,a.jsx)("div",{style:{height:"280px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"var(--card)",border:"1px solid var(--border)",borderRadius:"12px",marginTop:"1.5rem"},children:(0,a.jsx)("span",{style:{color:"var(--muted)"},children:"Initializing prompt editor..."})})}),i=(0,s.default)(()=>e.A(56915),{loadableGenerated:{modules:[99026]},ssr:!1}),d=(0,s.default)(()=>e.A(78716),{loadableGenerated:{modules:[9949]},ssr:!1}),c=(0,s.default)(()=>e.A(33789),{loadableGenerated:{modules:[20032]},ssr:!1}),u=(0,s.default)(()=>e.A(78003),{loadableGenerated:{modules:[97722]},ssr:!1}),p=(0,s.default)(()=>e.A(66701),{loadableGenerated:{modules:[46877]},ssr:!1}),m=(0,s.default)(()=>e.A(53629),{loadableGenerated:{modules:[72219]},ssr:!1});e.s(["default",0,function(){let[e,s]=(0,t.useState)([]),[g,h]=(0,t.useState)(null),[f,_]=(0,t.useState)(!1),[x,y]=(0,t.useState)(!1),[j,b]=(0,t.useState)(!1),[v,w]=(0,t.useState)(!1),[k,S]=(0,t.useState)(!1),[C,N]=(0,t.useState)(!1),[W,E]=(0,t.useState)(!1),[R,P]=(0,t.useState)(!1),[D,T]=(0,t.useState)(""),[A,L]=(0,t.useState)(9601),[O,B]=(0,t.useState)("0.2.19"),[z,I]=(0,t.useState)(null),[G,M]=(0,t.useState)([]),$=e.filter(e=>"workspace-terminal"!==e.id),H=e.find(e=>e.id===g),F=$.some(e=>("claude-docker"===e.type||"aider-docker"===e.type)&&"running"===e.status),q=$.some(e=>"claude-ssh"===e.type&&"running"===e.status),J=async()=>{try{let e=await fetch("/api/sessions"),a=await e.json();a.sessions&&s(a.sessions),a.wsPort&&L(a.wsPort),a.originalCwd&&T(a.originalCwd),a.version&&B(a.version)}catch(e){console.error("Failed to fetch sessions:",e)}},U=async()=>{try{let e=await fetch("/api/recents");if(e.ok){let a=await e.json();a.success&&a.recents&&a.recents.lastSession&&I(a.recents.lastSession)}}catch(e){console.error("Failed to fetch recents:",e)}},K=async()=>{try{let e=await fetch("/api/configs");if(e.ok){let a=await e.json();a.configs&&M(a.configs)}}catch(e){console.error("Failed to fetch configs:",e)}};(0,t.useEffect)(()=>{(async()=>{await J(),await U(),await K()})(),"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").then(e=>console.log("Service Worker registered:",e.scope)).catch(e=>console.error("Service Worker registration failed:",e));let e=setInterval(J,4e3);return()=>clearInterval(e)},[]);let Y=async(e,a,t,s,n)=>{_(!0);try{let r=a;r||("claude"===e?r="Claude Local":"claude-docker"===e?r="Claude Docker":"claude-ssh"===e?r="Claude SSH":"aider"===e?r="Aider Local":"aider-docker"===e?r="Aider Docker":"mock"===e&&(r="Mock Session"));let l={type:e,name:r,workspaceRoot:t,scopedDirs:s,model:n};if(("aider"===e||"aider-docker"===e)&&!t)try{let e=await fetch("/api/context/aider");if(e.ok){let a=await e.json();a.success&&a.config&&(l.workspaceRoot=a.config.workspaceRoot,l.scopedDirs=a.config.scopedDirs)}}catch(e){console.error("Failed to load aider configuration before launch:",e)}let o=await fetch("/api/sessions/launch",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)}),i=await o.json();i.success&&(await J(),await K(),h(i.session.id),I({type:e,name:r,workspaceRoot:t,scopedDirs:s}))}catch(e){console.error("Failed to launch session:",e)}finally{_(!1)}},Q=async e=>{_(!0);try{let a=await fetch("/api/sessions/launch",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:e.type,name:e.name,workspaceRoot:e.workspaceRoot,scopedDirs:e.scopedDirs,model:e.model})}),t=await a.json();t.success?(await J(),h(t.session.id)):alert(t.error||"Failed to launch configuration.")}catch(e){console.error(e),alert("Network error: failed to launch configuration.")}finally{_(!1)}},V=async e=>{if(window.confirm("Are you sure you want to delete this configuration template?"))try{(await fetch("/api/configs",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"delete",id:e})})).ok?await K():alert("Failed to delete configuration template.")}catch(e){console.error(e),alert("Network error: failed to delete configuration template.")}},X=async(e,a=!1)=>{try{let t=await fetch("/api/sessions/stop",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:e,delete:a})});(await t.json()).success&&(a&&g===e&&h(null),await J())}catch(e){console.error("Failed to stop session:",e)}};return(0,a.jsxs)("div",{className:`${n.default.container} ${H?n.default.containerActive:""}`,children:[(0,a.jsxs)("header",{className:n.default.header,children:[(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"1.5rem"},children:[(0,a.jsx)("img",{src:"/logo.png",alt:"NeuralLoom Logo",style:{width:"64px",height:"64px",borderRadius:"6px",objectFit:"contain"}}),(0,a.jsxs)("div",{className:n.default.logoArea,children:[(0,a.jsx)("h1",{className:n.default.title,style:{margin:0,lineHeight:1.1},children:"NeuralLoom"}),(0,a.jsx)("span",{className:n.default.subtitle,children:"Unified AI Orchestrator & Context Bridge"})]})]}),(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"1rem"},children:[(0,a.jsxs)("div",{className:n.default.statusIndicator,children:[(0,a.jsx)("span",{className:n.default.pulseDot}),(0,a.jsx)("span",{children:"Orchestrator Online"})]}),(0,a.jsx)("button",{onClick:()=>b(!0),title:"Send feedback","aria-label":"Send feedback",style:{background:"transparent",border:"1px solid var(--border)",borderRadius:"8px",color:"var(--muted)",cursor:"pointer",fontSize:"1.1rem",lineHeight:1,padding:"6px 10px"},children:"🐞"}),(0,a.jsx)("button",{onClick:()=>y(!0),title:"Settings","aria-label":"Settings",style:{background:"transparent",border:"1px solid var(--border)",borderRadius:"8px",color:"var(--muted)",cursor:"pointer",fontSize:"1.1rem",lineHeight:1,padding:"6px 10px"},children:"⚙️"})]})]}),x&&(0,a.jsx)(p,{onClose:()=>y(!1)}),j&&(0,a.jsx)(m,{version:O,workspaceRoot:D,onClose:()=>b(!1)}),H?(0,a.jsx)("div",{style:{flex:1,minHeight:0,display:"flex",flexDirection:"column"},children:(0,a.jsx)(u,{sessionId:H.id,workspaceRoot:H.workspaceRoot||"",scopedDirs:H.scopedDirs||[],onClose:()=>h(null),sessions:e,onSwitchSession:e=>h(e),onRefreshSessions:J,wsPort:A})}):(0,a.jsxs)("div",{className:n.default.dashboardGrid,children:[(0,a.jsx)("div",{className:n.default.mainPanel,children:(0,a.jsxs)("section",{children:[(0,a.jsx)("h2",{className:n.default.sectionTitle,children:"Shared Context Hub & Slash Commands"}),(0,a.jsxs)("div",{className:n.default.contextList,children:[(0,a.jsxs)("div",{className:`${n.default.contextItem} card`,children:[(0,a.jsxs)("div",{className:n.default.contextMeta,children:[(0,a.jsx)("span",{className:n.default.contextTitle,children:"Staged Context & System Rules (/ccc)"}),(0,a.jsx)("span",{className:n.default.contextDetails,children:"Compiles AGENTS.md guidelines and files map."})]}),(0,a.jsx)("button",{onClick:async()=>{g&&await fetch("/api/sessions/inject",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:g,command:"/ccc"})})},disabled:!g,style:{padding:"0.4rem 0.8rem",borderRadius:"6px",border:"1px solid var(--primary)",backgroundColor:"transparent",color:"var(--primary)",fontSize:"0.75rem",fontWeight:600,opacity:g?1:.5,cursor:g?"pointer":"not-allowed"},children:"🚀 Mount (/ccc)"})]}),(0,a.jsxs)("div",{className:`${n.default.contextItem} card`,children:[(0,a.jsxs)("div",{className:n.default.contextMeta,children:[(0,a.jsx)("span",{className:n.default.contextTitle,children:"Staged Developer Prompt (/ccp)"}),(0,a.jsx)("span",{className:n.default.contextDetails,children:"Executes prompt in .ai/neural-loom/cprompt.md."})]}),(0,a.jsx)("button",{onClick:async()=>{g&&await fetch("/api/sessions/inject",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:g,command:"/ccp"})})},disabled:!g,style:{padding:"0.4rem 0.8rem",borderRadius:"6px",border:"1px solid var(--success)",backgroundColor:"transparent",color:"var(--success)",fontSize:"0.75rem",fontWeight:600,opacity:g?1:.5,cursor:g?"pointer":"not-allowed"},children:"⚡ Run (/ccp)"})]})]}),(0,a.jsx)(o,{})]})}),(0,a.jsxs)("div",{className:n.default.mainPanel,children:[(0,a.jsxs)("section",{children:[(0,a.jsx)("h2",{className:n.default.sectionTitle,children:"Active AI Agents"}),0===$.length?(0,a.jsxs)("div",{className:"card",style:{padding:"3rem 1.5rem",textAlign:"center"},children:[(0,a.jsx)("p",{style:{color:"var(--muted)",marginBottom:"1.5rem"},children:"No active agent sessions. Launch a Claude or Aider agent session to begin."}),(0,a.jsxs)("div",{style:{display:"flex",gap:"0.75rem",flexDirection:"column"},children:[z&&(0,a.jsx)("button",{className:n.default.quickLaunchBtn,onClick:()=>{Y(z.type,z.name,z.workspaceRoot,z.scopedDirs)},disabled:f,style:{background:"linear-gradient(135deg, hsl(38, 92%, 50%) 0%, hsl(0, 84%, 60%) 100%)",border:"none"},title:`Re-launch: ${z.name||z.type}`,children:"⚡ Re-launch Last Session"}),(0,a.jsxs)("div",{style:{display:"flex",gap:"0.5rem"},children:[(0,a.jsx)("button",{className:n.default.quickLaunchBtn,onClick:()=>{P(!1),E(!0)},disabled:f,style:{background:"linear-gradient(135deg, hsl(262, 83%, 60%) 0%, hsl(195, 100%, 45%) 100%)",border:"none",flex:1},children:"Launch Claude"}),(0,a.jsx)("button",{className:n.default.quickLaunchBtn,onClick:()=>{N(!1),S(!0)},disabled:f,style:{background:"linear-gradient(135deg, hsl(210, 80%, 45%) 0%, hsl(262, 80%, 55%) 100%)",border:"none",flex:1},children:"Launch Aider"})]})]}),(0,a.jsxs)("div",{style:{marginTop:"1.5rem",fontSize:"0.75rem",color:"var(--muted)"},children:["Need a simulator?"," ",(0,a.jsx)("span",{onClick:()=>Y("mock"),style:{color:"var(--primary)",cursor:"pointer",textDecoration:"underline"},children:"Start mock playground"})]})]}):(0,a.jsx)("div",{className:n.default.agentGrid,children:$.map(e=>(0,a.jsxs)("div",{className:`${n.default.agentCard} card ${g===e.id?n.default.activeBorder:""}`,children:[(0,a.jsxs)("div",{className:n.default.agentHeader,children:[(0,a.jsx)("span",{className:n.default.agentName,children:e.name}),(0,a.jsxs)("div",{style:{display:"flex",gap:"0.35rem",alignItems:"center"},children:["running"===e.status&&e.agentState&&(0,a.jsxs)("span",{className:`${n.default.agentStateBadge} ${n.default["state-"+e.agentState]}`,children:["thinking"===e.agentState&&`${r(e.type)} 💭`,"needs-input"===e.agentState&&`${r(e.type)} ⚠️`,"complete"===e.agentState&&`${r(e.type)} ✅`,"idle"===e.agentState&&`${r(e.type)} 💤`]}),(0,a.jsx)("span",{className:`${n.default.agentBadge} ${"stopped"===e.status?n.default.stoppedBadge:""}`,children:e.status})]})]}),(0,a.jsxs)("div",{className:n.default.cardBody,style:{padding:"1rem"},children:[(0,a.jsxs)("p",{style:{fontSize:"0.8rem",color:"var(--muted)",margin:0},children:["ID: ",(0,a.jsx)("code",{style:{fontSize:"0.72rem"},children:e.id.substring(0,8)})," | Type: ",e.type,(0,a.jsx)("br",{}),"Logs: ",e.logsCount," lines"]}),(0,a.jsxs)("div",{style:{display:"flex",gap:"0.5rem",marginTop:"0.75rem"},children:["running"===e.status?(0,a.jsx)("button",{onClick:()=>X(e.id,!1),style:{flex:1,padding:"0.35rem",borderRadius:"6px",border:"1px solid var(--danger)",backgroundColor:"transparent",fontSize:"0.75rem",color:"var(--danger)",cursor:"pointer"},children:"Stop"}):(0,a.jsx)("button",{onClick:()=>X(e.id,!0),style:{flex:1,padding:"0.35rem",borderRadius:"6px",border:"1px solid var(--border)",backgroundColor:"transparent",fontSize:"0.75rem",color:"var(--muted)",cursor:"pointer"},children:"Delete"}),(0,a.jsx)("button",{onClick:()=>h(e.id),style:{flex:2,padding:"0.35rem",borderRadius:"6px",border:"none",backgroundColor:g===e.id?"var(--border-focus)":"var(--primary)",fontSize:"0.75rem",fontWeight:600,color:"#fff",cursor:"pointer"},children:g===e.id?"Connected":"Open Console"})]})]})]},e.id))})]}),g&&"workspace-terminal"!==g&&(0,a.jsxs)("section",{className:"card",style:{display:"flex",flexDirection:"column",border:"1px solid var(--border-focus)",marginTop:"1rem"},children:[(0,a.jsxs)("div",{className:n.default.agentHeader,style:{justifyContent:"space-between",background:"rgba(109, 40, 217, 0.08)",padding:"0.5rem 1rem"},children:[(0,a.jsxs)("span",{style:{fontWeight:600,fontSize:"0.85rem",display:"flex",alignItems:"center",gap:"0.5rem"},children:["🖥️ Console — ",e.find(e=>e.id===g)?.name]}),(0,a.jsxs)("div",{style:{display:"flex",gap:"0.5rem",alignItems:"center"},children:[e.find(e=>e.id===g)?.status==="stopped"&&(0,a.jsx)("button",{onClick:async()=>{try{let a=e.find(e=>e.id===g),t=a&&("claude"===a.type||"claude-docker"===a.type||"claude-ssh"===a.type),s=!1;t&&(s=window.confirm("Would you like to resume your previous Claude session?"));let n=await fetch("/api/sessions/start",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:g,resume:s})});if(n.ok)await J();else{let e=await n.json();alert(e.error||"Failed to restart session.")}}catch(e){console.error("Failed to restart session:",e)}},style:{padding:"0.15rem 0.4rem",borderRadius:"4px",border:"1px solid #eab308",backgroundColor:"rgba(234, 179, 8, 0.15)",color:"#eab308",fontSize:"0.65rem",fontWeight:600,cursor:"pointer"},children:"⚡ Restart"}),(0,a.jsx)("button",{onClick:()=>h(null),style:{border:"none",background:"none",color:"var(--muted)",cursor:"pointer",fontSize:"0.75rem"},children:"✖"})]})]}),(0,a.jsx)(l,{sessionId:g,wsPort:A})]})]}),(0,a.jsxs)("div",{className:n.default.sidePanel,children:[(0,a.jsxs)("section",{children:[(0,a.jsx)("h2",{className:n.default.sectionTitle,children:"Execution Environments"}),(0,a.jsxs)("div",{className:n.default.envGrid,children:[(0,a.jsxs)("div",{className:n.default.envRow,style:{padding:"0.5rem 0.75rem"},children:[(0,a.jsx)("span",{className:n.default.envName,children:"💻 Local Host"}),(0,a.jsx)("span",{className:n.default.envStatus,style:{color:"var(--success)"},children:"Active"})]}),(0,a.jsxs)("div",{className:n.default.envRow,style:{opacity:F?1:.6,padding:"0.5rem 0.75rem"},children:[(0,a.jsx)("span",{className:n.default.envName,children:"🐳 Docker Sandbox"}),(0,a.jsx)("span",{className:n.default.envStatus,style:{color:F?"var(--success)":"var(--muted)"},children:F?"Active":"Not Mounted"})]}),(0,a.jsxs)("div",{className:n.default.envRow,style:{opacity:q?1:.6,padding:"0.5rem 0.75rem"},children:[(0,a.jsx)("span",{className:n.default.envName,children:"🌐 Remote VM (SSH)"}),(0,a.jsx)("span",{className:n.default.envStatus,style:{color:q?"var(--success)":"var(--muted)"},children:q?"Active":"Offline"})]})]})]}),(0,a.jsxs)("section",{children:[(0,a.jsx)("h2",{className:n.default.sectionTitle,children:"Saved Configurations"}),(0,a.jsx)("div",{className:"card",style:{padding:"1rem",display:"flex",flexDirection:"column",gap:"0.75rem"},children:0===G.length?(0,a.jsx)("p",{style:{color:"var(--muted)",fontSize:"0.8rem",textAlign:"center",margin:"1rem 0"},children:"No configuration templates saved yet. Save a template from the Claude/Aider launch wizards."}):(0,a.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:"0.5rem",maxHeight:"200px",overflowY:"auto"},children:G.map(e=>(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",background:"rgba(255, 255, 255, 0.02)",padding:"0.5rem",borderRadius:"6px",border:"1px solid var(--border)"},children:[(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"0.15rem",minWidth:0},children:[(0,a.jsx)("span",{style:{fontSize:"0.8rem",fontWeight:600,color:"var(--foreground)",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e.name}),(0,a.jsx)("span",{style:{fontSize:"0.65rem",color:"var(--muted)",textTransform:"uppercase"},children:e.type})]}),(0,a.jsxs)("div",{style:{display:"flex",gap:"0.25rem"},children:[(0,a.jsx)("button",{onClick:()=>Q(e),disabled:f,style:{padding:"0.2rem 0.4rem",borderRadius:"4px",backgroundColor:"var(--primary)",color:"#fff",border:"none",fontSize:"0.7rem",cursor:"pointer"},children:"Launch"}),(0,a.jsx)("button",{onClick:()=>V(e.id),style:{padding:"0.2rem 0.4rem",borderRadius:"4px",backgroundColor:"transparent",color:"var(--danger)",border:"1px solid var(--danger)",fontSize:"0.7rem",cursor:"pointer"},children:"Delete"})]})]},e.id))})})]}),(0,a.jsxs)("section",{style:{display:"flex",flexDirection:"column",gap:"0.5rem"},children:[(0,a.jsxs)("div",{style:{display:"flex",gap:"0.5rem"},children:[(0,a.jsx)("button",{className:n.default.quickLaunchBtn,onClick:()=>{P(!1),E(!0)},disabled:f,style:{background:"linear-gradient(135deg, hsl(262, 83%, 60%) 0%, hsl(195, 100%, 45%) 100%)",border:"none",padding:"0.6rem",fontSize:"0.8rem",flex:1},children:"🤖 Claude Local"}),(0,a.jsx)("button",{className:n.default.quickLaunchBtn,onClick:()=>{P(!0),E(!0)},disabled:f,style:{background:"linear-gradient(135deg, hsl(170, 72%, 40%) 0%, hsl(195, 100%, 40%) 100%)",border:"none",padding:"0.6rem",fontSize:"0.8rem",flex:1},children:"🐳 Claude Docker"})]}),(0,a.jsxs)("div",{style:{display:"flex",gap:"0.5rem"},children:[(0,a.jsx)("button",{className:n.default.quickLaunchBtn,onClick:()=>{N(!1),S(!0)},disabled:f,style:{background:"linear-gradient(135deg, hsl(210, 80%, 45%) 0%, hsl(262, 80%, 55%) 100%)",border:"none",padding:"0.6rem",fontSize:"0.8rem",flex:1},children:"🐍 Aider Local"}),(0,a.jsx)("button",{className:n.default.quickLaunchBtn,onClick:()=>{N(!0),S(!0)},disabled:f,style:{background:"linear-gradient(135deg, hsl(195, 100%, 40%) 0%, hsl(262, 80%, 55%) 100%)",border:"none",padding:"0.6rem",fontSize:"0.8rem",flex:1},children:"🐳 Aider Docker"})]}),(0,a.jsx)("button",{className:n.default.quickLaunchBtn,onClick:()=>w(!0),disabled:f,style:{background:"linear-gradient(135deg, hsl(38, 92%, 50%) 0%, hsl(0, 84%, 60%) 100%)",border:"none",padding:"0.6rem",fontSize:"0.8rem"},children:"🌐 Connect Remote SSH"})]}),(0,a.jsxs)("section",{children:[(0,a.jsx)("h2",{className:n.default.sectionTitle,children:"Workspace Terminal"}),(0,a.jsxs)("div",{className:"card",style:{display:"flex",flexDirection:"column",border:"1px solid var(--border)",padding:0},children:[(0,a.jsx)("div",{className:n.default.agentHeader,style:{justifyContent:"space-between",background:"rgba(255, 255, 255, 0.02)",padding:"0.4rem 0.75rem"},children:(0,a.jsxs)("span",{style:{fontWeight:600,fontSize:"0.75rem"},children:["💻 Local Shell (CWD: ",D.split(/[/\\]/).pop()||"root",")"]})}),(0,a.jsx)(l,{sessionId:"workspace-terminal",height:"180px",wsPort:A})]})]}),(0,a.jsxs)("section",{className:"card",style:{padding:"1rem",display:"flex",flexDirection:"column",gap:"0.5rem"},children:[(0,a.jsx)("h3",{style:{fontSize:"0.9rem",fontWeight:700,margin:0},children:"Quick Actions"}),(0,a.jsxs)("ul",{style:{listStyle:"none",fontSize:"0.75rem",display:"flex",flexDirection:"column",gap:"0.35rem",color:"var(--muted)",padding:0,margin:0},children:[(0,a.jsxs)("li",{style:{display:"flex",justifyContent:"space-between"},children:[(0,a.jsx)("span",{children:"Configure API Keys"}),(0,a.jsx)("span",{style:{color:"var(--primary)",cursor:"pointer"},children:"→"})]}),(0,a.jsxs)("li",{style:{display:"flex",justifyContent:"space-between"},children:[(0,a.jsx)("span",{children:"Edit rules templates"}),(0,a.jsx)("span",{style:{color:"var(--primary)",cursor:"pointer"},children:"→"})]}),(0,a.jsxs)("li",{style:{display:"flex",justifyContent:"space-between"},children:[(0,a.jsx)("span",{children:"Inspect process locks"}),(0,a.jsx)("span",{style:{color:"var(--primary)",cursor:"pointer"},children:"→"})]})]})]})]})]}),(0,a.jsxs)("footer",{className:n.default.footer,children:[(0,a.jsxs)("span",{children:["NeuralLoom v",O," — Experimental AI Orchestrator Bridge"]}),(0,a.jsxs)("span",{children:["Directory: ",D||"Loading..."]})]}),v&&(0,a.jsx)(i,{onClose:()=>w(!1),onConfirmLaunch:()=>{w(!1),Y("claude-ssh")}}),k&&(0,a.jsx)(d,{onClose:()=>S(!1),isDocker:C,onConfirmLaunch:(e,a,t)=>{S(!1),Y(C?"aider-docker":"aider",e,a,t)}}),W&&(0,a.jsx)(c,{onClose:()=>E(!1),isDocker:R,onConfirmLaunch:(e,a,t,s)=>{E(!1),Y(R?"claude-docker":"claude",e,a,t,s)}})]})}])},45344,e=>{e.v(a=>Promise.all(["static/chunks/0zt~pql40pxuw.js","static/chunks/066bdk5lduupu.js","static/chunks/0ga14ztvrhau2.css"].map(a=>e.l(a))).then(()=>a(37314)))},39429,e=>{e.v(a=>Promise.all(["static/chunks/16w4~t4h7gk13.js"].map(a=>e.l(a))).then(()=>a(1985)))},56915,e=>{e.v(a=>Promise.all(["static/chunks/0lnobx4eh3~-_.js"].map(a=>e.l(a))).then(()=>a(99026)))},78716,e=>{e.v(a=>Promise.all(["static/chunks/0xhaghhxllgzs.js"].map(a=>e.l(a))).then(()=>a(9949)))},33789,e=>{e.v(a=>Promise.all(["static/chunks/0r~-9nw2vt0gl.js"].map(a=>e.l(a))).then(()=>a(20032)))},78003,e=>{e.v(a=>Promise.all(["static/chunks/11w~pp-8cbmjd.js","static/chunks/066bdk5lduupu.js","static/chunks/0qu9wa_keet3..js","static/chunks/0ga14ztvrhau2.css"].map(a=>e.l(a))).then(()=>a(97722)))},66701,e=>{e.v(a=>Promise.all(["static/chunks/0blzez3o_572u.js"].map(a=>e.l(a))).then(()=>a(46877)))},53629,e=>{e.v(a=>Promise.all(["static/chunks/01.6r9p-y5-1u.js"].map(a=>e.l(a))).then(()=>a(72219)))}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,54370,e=>{"use strict";var r=e.i(43476),o=e.i(71645);let t={position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(5, 7, 10, 0.85)",backdropFilter:"blur(12px)",zIndex:1100,display:"flex",alignItems:"center",justifyContent:"center"},a={width:"90%",maxWidth:"550px",height:"480px",backgroundColor:"var(--card)",border:"1px solid var(--border-focus)",borderRadius:"12px",boxShadow:"0 20px 25px -5px rgba(0,0,0,0.7), 0 10px 10px -5px rgba(0,0,0,0.7)",display:"flex",flexDirection:"column",overflow:"hidden"},n={display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0.85rem 1.25rem",borderBottom:"1px solid var(--border)",background:"hsla(var(--border-hsl), 0.2)"},l={background:"none",border:"none",color:"var(--muted)",fontSize:"0.9rem",cursor:"pointer",padding:"0.25rem"},s={display:"flex",padding:"0.75rem 1.25rem",gap:"0.5rem",backgroundColor:"rgba(10, 15, 25, 0.5)",borderBottom:"1px solid var(--border)"},i={flex:1,padding:"0.45rem 0.75rem",backgroundColor:"#05070a",border:"1px solid var(--border)",borderRadius:"6px",color:"var(--foreground)",fontFamily:"var(--font-mono), monospace",fontSize:"0.8rem",outline:"none"},d={padding:"0.45rem 0.85rem",backgroundColor:"var(--border)",border:"1px solid var(--border-focus)",borderRadius:"6px",color:"var(--foreground)",fontSize:"0.75rem",fontWeight:600,cursor:"pointer"},c={padding:"0.15rem 0.45rem",backgroundColor:"rgba(255, 255, 255, 0.15)",border:"none",borderRadius:"4px",color:"var(--foreground)",fontSize:"0.7rem",cursor:"pointer",fontWeight:600},p={flex:1,padding:"0.5rem 1.25rem",overflowY:"auto",backgroundColor:"#070a0f"},u={display:"flex",flexDirection:"column",gap:"0.25rem"},m={display:"flex",alignItems:"center",gap:"0.6rem",padding:"0.45rem 0.65rem",borderRadius:"6px",cursor:"pointer",fontSize:"0.825rem",border:"1px solid transparent",userSelect:"none",transition:"all 0.15s ease"},g={textAlign:"center",padding:"2rem",fontSize:"0.85rem",color:"var(--muted)"},x={display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0.85rem 1.25rem",borderTop:"1px solid var(--border)",background:"hsla(var(--border-hsl), 0.2)"},h={fontSize:"0.75rem",color:"var(--muted)",maxWidth:"240px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},f={padding:"0.45rem 0.9rem",borderRadius:"6px",border:"none",background:"linear-gradient(135deg, hsl(262, 83%, 60%) 0%, hsl(195, 100%, 45%) 100%)",color:"#fff",fontSize:"0.75rem",fontWeight:600,cursor:"pointer"},b={padding:"0.45rem 0.9rem",borderRadius:"6px",border:"1px solid var(--border)",backgroundColor:"transparent",color:"var(--foreground)",fontSize:"0.75rem",fontWeight:600,cursor:"pointer"};e.s(["default",0,function({title:e,initialPath:y,onClose:v,onSelect:j}){let[C,k]=(0,o.useState)(y||""),[S,w]=(0,o.useState)(null),[D,R]=(0,o.useState)([]),[z,T]=(0,o.useState)(null),[F,O]=(0,o.useState)(""),[L,W]=(0,o.useState)(!1),[E,I]=(0,o.useState)(""),A=async e=>{W(!0),I("");try{let r=`/api/files?action=browse_dirs&path=${encodeURIComponent(e)}`,o=await fetch(r),t=await o.json();o.ok&&t.success?(k(t.currentPath),O(t.currentPath),w(t.parentPath),R(t.directories),T(null)):I(t.error||"Failed to load directory content.")}catch(e){console.error("Error browsing directories:",e),I("Failed to fetch directory contents.")}finally{W(!1)}};(0,o.useEffect)(()=>{A(y)},[y]);let P=e=>{A(e)},B=()=>{F.trim()&&A(F.trim())};return(0,r.jsx)("div",{style:t,children:(0,r.jsxs)("div",{style:a,children:[(0,r.jsxs)("div",{style:n,children:[(0,r.jsxs)("h3",{style:{fontSize:"1rem",fontWeight:700,margin:0,color:"var(--foreground)"},children:["📁 ",e]}),(0,r.jsx)("button",{onClick:v,style:l,"aria-label":"Close browser",children:"✖"})]}),(0,r.jsxs)("div",{style:s,children:[(0,r.jsx)("input",{type:"text",value:F,onChange:e=>O(e.target.value),onKeyDown:e=>{"Enter"===e.key&&B()},style:i,placeholder:"Absolute folder path..."}),(0,r.jsx)("button",{onClick:B,style:d,disabled:L,children:"Go"})]}),(0,r.jsx)("div",{style:p,children:L?(0,r.jsx)("div",{style:g,children:"Loading directories..."}):E?(0,r.jsxs)("div",{style:{...g,color:"var(--danger)"},children:[E,(0,r.jsx)("button",{onClick:()=>A(C||"."),style:{...d,display:"block",margin:"0.75rem auto 0"},children:"Retry"})]}):(0,r.jsxs)("div",{style:u,children:[S&&(0,r.jsxs)("div",{onClick:()=>P(S),onDoubleClick:()=>P(S),style:m,title:"Go up to parent directory",children:[(0,r.jsx)("span",{style:{fontSize:"1.1rem"},children:"⬆️"}),(0,r.jsx)("span",{style:{fontWeight:600},children:".. (Up)"})]}),0===D.length?(0,r.jsx)("div",{style:{...g,color:"var(--muted)"},children:"No subdirectories found"}):D.map(e=>{let o=z===e.path;return(0,r.jsxs)("div",{onClick:()=>T(e.path),onDoubleClick:()=>P(e.path),style:{...m,backgroundColor:o?"rgba(109, 40, 217, 0.25)":"transparent",borderColor:o?"var(--border-focus)":"transparent"},title:"Single click to highlight, double click to enter",children:[(0,r.jsx)("span",{style:{fontSize:"1.1rem"},children:"📁"}),(0,r.jsx)("span",{style:{flex:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.name}),o&&(0,r.jsx)("button",{type:"button",onClick:r=>{r.stopPropagation(),P(e.path)},style:c,children:"Enter ➜"})]},e.path)})]})}),(0,r.jsxs)("div",{style:x,children:[(0,r.jsxs)("span",{style:h,children:["Selection: ",(0,r.jsx)("span",{style:{color:"var(--foreground)",fontFamily:"var(--font-mono), monospace"},children:z||C||"(None)"})]}),(0,r.jsxs)("div",{style:{display:"flex",gap:"0.5rem"},children:[(0,r.jsx)("button",{onClick:v,style:b,children:"Cancel"}),(0,r.jsx)("button",{onClick:()=>{j(z||C),v()},style:f,disabled:L,children:"Select Folder"})]})]})]})})}])},43466,e=>{"use strict";e.s(["CLAUDE_MODELS",0,[{alias:"",label:"Default (account)",versions:[]},{alias:"opus",label:"Opus (latest)",versions:["claude-opus-4-8"]},{alias:"sonnet",label:"Sonnet (latest)",versions:["claude-sonnet-5"]},{alias:"haiku",label:"Haiku (latest)",versions:["claude-haiku-4-5-20251001"]},{alias:"fable",label:"Fable (latest)",versions:["claude-fable-5"]}],"CUSTOM_MODEL",0,"__custom__"])},44837,e=>{"use strict";var r=e.i(43476),o=e.i(71645),t=e.i(54370),a=e.i(43466);let n={position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(5, 7, 10, 0.8)",backdropFilter:"blur(8px)",zIndex:1e3,display:"flex",alignItems:"center",justifyContent:"center",animation:"fadeIn 0.2s ease-out"},l={width:"90%",maxWidth:"500px",backgroundColor:"var(--card)",border:"1px solid var(--border-focus)",borderRadius:"12px",boxShadow:"0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5)",overflow:"hidden",display:"flex",flexDirection:"column"},s={display:"flex",alignItems:"center",justifyContent:"space-between",padding:"1rem 1.25rem",borderBottom:"1px solid var(--border)",background:"hsla(var(--border-hsl), 0.2)"},i={background:"none",border:"none",color:"var(--muted)",fontSize:"0.9rem",cursor:"pointer",padding:"0.25rem"},d={padding:"1.25rem",display:"flex",flexDirection:"column"},c={display:"flex",flexDirection:"column",marginBottom:"1rem"},p={fontSize:"0.75rem",fontWeight:600,color:"var(--foreground)",marginBottom:"0.375rem",textTransform:"uppercase",letterSpacing:"0.05em"},u={width:"100%",padding:"0.5rem 0.75rem",backgroundColor:"#080c14",border:"1px solid var(--border)",borderRadius:"6px",color:"var(--foreground)",fontFamily:"var(--font-mono), monospace",fontSize:"0.825rem",outline:"none",transition:"border-color 0.15s ease"},m={marginTop:"0.75rem",padding:"0.75rem",borderRadius:"6px",border:"1px solid var(--danger)",backgroundColor:"rgba(239, 68, 68, 0.05)",color:"var(--danger)",fontSize:"0.8rem",lineHeight:1.4},g={display:"flex",justifyContent:"flex-end",gap:"0.75rem",padding:"1rem 1.25rem",borderTop:"1px solid var(--border)",background:"hsla(var(--border-hsl), 0.2)"},x={padding:"0.5rem 1rem",borderRadius:"6px",border:"none",background:"linear-gradient(135deg, hsl(262, 83%, 60%) 0%, hsl(195, 100%, 45%) 100%)",color:"#fff",fontSize:"0.8rem",fontWeight:600,cursor:"pointer"},h={padding:"0.5rem 1rem",borderRadius:"6px",border:"1px solid var(--border)",backgroundColor:"transparent",color:"var(--foreground)",fontSize:"0.8rem",fontWeight:600,cursor:"pointer"},f={padding:"0.35rem 0.75rem",borderRadius:"6px",border:"1px solid var(--border)",backgroundColor:"rgba(255, 255, 255, 0.05)",color:"var(--foreground)",fontSize:"0.75rem",fontWeight:600,cursor:"pointer",transition:"all 0.15s ease"};e.s(["default",0,function({onClose:e,onConfirmLaunch:b,isDocker:y}){let[v,j]=(0,o.useState)({name:y?"Claude Docker":"Claude Local",workspaceRoot:"",scopedDirs:[],extraFlags:"",model:""}),[C,k]=(0,o.useState)(""),[S,w]=(0,o.useState)(""),[D,R]=(0,o.useState)(!1),[z,T]=(0,o.useState)(!0),[F,O]=(0,o.useState)(!1),[L,W]=(0,o.useState)(""),[E,I]=(0,o.useState)(!1),[A,P]=(0,o.useState)(!1),[B,U]=(0,o.useState)({workspaces:[],scopes:[]});(0,o.useEffect)(()=>{(async()=>{try{let e=await fetch("/api/context/claude");if(e.ok){let r=await e.json();if(r.success&&r.config){let e=r.config.model||"";j({name:r.config.name||(y?"Claude Docker":"Claude Local"),workspaceRoot:r.config.workspaceRoot||r.config.defaultWorkspaceRoot||"",scopedDirs:r.config.scopedDirs||[],extraFlags:r.config.extraFlags||"",model:e}),e&&!a.CLAUDE_MODELS.some(r=>r.alias===e)&&k(e)}}let r=await fetch("/api/recents");if(r.ok){let e=await r.json();e.success&&e.recents&&U(e.recents)}}catch(e){console.error("Failed to load Claude configuration / recents:",e)}finally{T(!1)}})()},[y]);let M=v.model===a.CUSTOM_MODEL?C.trim():v.model||"",_=async()=>{O(!0),W("");try{let e={...v,model:M},r=await fetch("/api/context/claude",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(r.ok)D&&await fetch("/api/configs",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"save",config:{name:v.name,type:y?"claude-docker":"claude",workspaceRoot:v.workspaceRoot,scopedDirs:v.scopedDirs,extraFlags:v.extraFlags,model:M}})}),O(!1),b(v.name,v.workspaceRoot,v.scopedDirs,M);else{let e=await r.json();W(e.error||"Failed to save settings."),O(!1)}}catch(e){console.error(e),W("Network error: failed to connect to NeuralLoom dashboard API."),O(!1)}};return z?(0,r.jsx)("div",{style:n,children:(0,r.jsx)("div",{style:l,children:(0,r.jsx)("div",{style:{textAlign:"center",padding:"2rem"},children:(0,r.jsx)("span",{style:{color:"var(--muted)"},children:"Loading Claude Configuration..."})})})}):(0,r.jsx)("div",{style:n,children:(0,r.jsxs)("div",{style:l,children:[(0,r.jsxs)("div",{style:s,children:[(0,r.jsxs)("h3",{style:{fontSize:"1.1rem",fontWeight:700,margin:0,display:"flex",alignItems:"center",gap:"0.5rem"},children:[y?"🐳":"🤖"," Claude PTY Launch Wizard ",y?"(Docker)":"(Local)"]}),(0,r.jsx)("button",{onClick:e,style:i,"aria-label":"Close wizard",children:"✖"})]}),(0,r.jsxs)("div",{style:d,children:[(0,r.jsx)("p",{style:{fontSize:"0.825rem",color:"var(--muted)",marginBottom:"1.25rem",lineHeight:1.4},children:"Configure the local workspace path and access parameters for the Claude Code session. Settings are saved in `.ai/neural-loom/claude.json`."}),(0,r.jsxs)("div",{style:c,children:[(0,r.jsx)("label",{style:p,children:"Session Display Name"}),(0,r.jsx)("input",{type:"text",value:v.name,onChange:e=>j({...v,name:e.target.value}),placeholder:y?"Claude Docker":"Claude Local",style:u})]}),(0,r.jsxs)("div",{style:c,children:[(0,r.jsx)("label",{style:p,children:"Model"}),(0,r.jsxs)("select",{value:v.model||"",onChange:e=>j({...v,model:e.target.value}),style:{...u,cursor:"pointer"},children:[a.CLAUDE_MODELS.map(e=>(0,r.jsx)("option",{value:e.alias,children:e.label},e.alias||"default")),(0,r.jsx)("option",{value:a.CUSTOM_MODEL,children:"Custom…"})]}),v.model===a.CUSTOM_MODEL&&(0,r.jsx)("input",{type:"text",value:C,onChange:e=>k(e.target.value),placeholder:"e.g. claude-opus-4-8 or a custom alias",style:{...u,marginTop:"0.5rem"}}),(0,r.jsx)("span",{style:{fontSize:"0.7rem",color:"var(--muted)",marginTop:"0.25rem"},children:"Per-session model. Each Claude session runs with its own — sessions no longer share one global model. You can also switch live from the session header."})]}),(0,r.jsxs)("div",{style:c,children:[(0,r.jsx)("label",{style:p,children:"Workspace Directory (Root)"}),(0,r.jsxs)("div",{style:{display:"flex",gap:"0.5rem"},children:[(0,r.jsx)("input",{type:"text",value:v.workspaceRoot,onChange:e=>j({...v,workspaceRoot:e.target.value}),placeholder:"e.g. C:\\Users\\Dave\\OneDrive\\Projects\\JS\\wingman",style:{...u,flex:1}}),(0,r.jsx)("button",{type:"button",onClick:()=>I(!0),style:f,children:"Browse..."})]}),B.workspaces.length>0&&(0,r.jsxs)("div",{style:{marginTop:"0.35rem",display:"flex",gap:"0.35rem",flexWrap:"wrap",alignItems:"center"},children:[(0,r.jsx)("span",{style:{fontSize:"0.65rem",color:"var(--muted)"},children:"Recent:"}),B.workspaces.map(e=>(0,r.jsx)("button",{type:"button",onClick:()=>j({...v,workspaceRoot:e}),style:{background:"rgba(255,255,255,0.03)",border:"1px solid var(--border)",borderRadius:"3px",color:"var(--muted)",fontSize:"0.65rem",padding:"1px 6px",cursor:"pointer",fontFamily:"var(--font-mono)"},title:e,children:e.split(/[/\\]/).pop()||e},e))]}),(0,r.jsx)("span",{style:{fontSize:"0.7rem",color:"var(--muted)",marginTop:"0.25rem"},children:"The active folder Claude Code will run in. Leave blank to run in the current orchestrator directory."})]}),(0,r.jsxs)("div",{style:c,children:[(0,r.jsx)("label",{style:p,children:"Extra Command Flags"}),(0,r.jsx)("input",{type:"text",value:v.extraFlags||"",onChange:e=>j({...v,extraFlags:e.target.value}),placeholder:"e.g. --resume ace806f9-cb5f-4a19-b0e9-d4331b7863a7",style:u}),(0,r.jsxs)("span",{style:{fontSize:"0.7rem",color:"var(--muted)",marginTop:"0.25rem"},children:["Custom parameters passed to the Claude CLI (e.g. ",(0,r.jsx)("code",{children:"--resume <session-id>"}),")."]})]}),(0,r.jsxs)("div",{style:c,children:[(0,r.jsx)("label",{style:p,children:"Scoped Directories (Additional Access)"}),v.scopedDirs.length>0&&(0,r.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:"0.5rem",marginBottom:"0.5rem"},children:v.scopedDirs.map((e,o)=>(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",backgroundColor:"#080c14",padding:"0.35rem 0.5rem",borderRadius:"4px",border:"1px solid var(--border)"},children:[(0,r.jsx)("span",{style:{fontSize:"0.8rem",fontFamily:"var(--font-mono), monospace",wordBreak:"break-all"},children:e}),(0,r.jsx)("button",{type:"button",onClick:()=>{let e=v.scopedDirs.filter((e,r)=>r!==o);j({...v,scopedDirs:e})},style:{background:"none",border:"none",color:"var(--danger)",cursor:"pointer",fontSize:"0.8rem",padding:"0 0.25rem"},children:"Remove"})]},o))}),(0,r.jsxs)("div",{style:{display:"flex",gap:"0.5rem"},children:[(0,r.jsx)("input",{type:"text",value:S,onChange:e=>w(e.target.value),placeholder:"e.g. C:\\Users\\Dave\\OneDrive\\Projects\\JS\\other-repo",style:{...u,flex:1}}),(0,r.jsx)("button",{type:"button",onClick:()=>P(!0),style:f,children:"Browse..."}),(0,r.jsx)("button",{type:"button",onClick:()=>{S.trim()&&!v.scopedDirs.includes(S.trim())&&(j({...v,scopedDirs:[...v.scopedDirs,S.trim()]}),w(""))},style:{padding:"0.35rem 0.75rem",borderRadius:"6px",border:"1px solid var(--border-focus)",backgroundColor:"rgba(109, 40, 217, 0.1)",color:"var(--foreground)",fontSize:"0.75rem",fontWeight:600,cursor:"pointer"},children:"Add"})]}),B.scopes.length>0&&(0,r.jsxs)("div",{style:{marginTop:"0.35rem",display:"flex",gap:"0.35rem",flexWrap:"wrap",alignItems:"center"},children:[(0,r.jsx)("span",{style:{fontSize:"0.65rem",color:"var(--muted)"},children:"Recent:"}),B.scopes.filter(e=>!v.scopedDirs.includes(e)).map(e=>(0,r.jsxs)("button",{type:"button",onClick:()=>{v.scopedDirs.includes(e)||j({...v,scopedDirs:[...v.scopedDirs,e]})},style:{background:"rgba(168, 85, 247, 0.05)",border:"1px solid rgba(168, 85, 247, 0.2)",borderRadius:"3px",color:"#c084fc",fontSize:"0.65rem",padding:"1px 6px",cursor:"pointer",fontFamily:"var(--font-mono)"},title:e,children:["+",e.split(/[/\\]/).pop()||e]},e))]})]}),(0,r.jsxs)("div",{style:{...c,flexDirection:"row",alignItems:"center",gap:"0.5rem",marginTop:"1rem",marginBottom:"0.5rem"},children:[(0,r.jsx)("input",{type:"checkbox",id:"saveAsTemplate",checked:D,onChange:e=>R(e.target.checked),style:{width:"16px",height:"16px",cursor:"pointer",accentColor:"var(--accent)"}}),(0,r.jsx)("label",{htmlFor:"saveAsTemplate",style:{fontSize:"0.8rem",color:"var(--foreground)",cursor:"pointer",userSelect:"none"},children:"Save configuration template"})]}),L&&(0,r.jsxs)("div",{style:m,children:["✗ ",L]})]}),(0,r.jsxs)("div",{style:g,children:[(0,r.jsx)("button",{onClick:e,style:h,disabled:F,children:"Cancel"}),(0,r.jsx)("button",{onClick:_,style:x,disabled:F,children:F?"Saving...":"Launch Session"})]}),E&&(0,r.jsx)(t.default,{title:"Select Workspace Root",initialPath:v.workspaceRoot,onClose:()=>I(!1),onSelect:e=>j({...v,workspaceRoot:e})}),A&&(0,r.jsx)(t.default,{title:"Add Scoped Directory",initialPath:S,onClose:()=>P(!1),onSelect:e=>w(e)})]})})}])},20032,e=>{e.n(e.i(44837))}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,91376,91156,e=>{"use strict";var r=e.i(71645);let t={diag:!1},o="neural-loom:settings",n=new Set;function l(){try{let e=window.localStorage.getItem(o);if(!e)return{...t};let r=JSON.parse(e);return{...t,...r}}catch{return{...t}}}function i(e){let r={...l(),...e};try{window.localStorage.setItem(o,JSON.stringify(r))}catch{}for(let e of n)try{e(r)}catch{}return r}function
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,91376,91156,e=>{"use strict";var r=e.i(71645);let t={diag:!1},o="neural-loom:settings",n=new Set;function l(){try{let e=window.localStorage.getItem(o);if(!e)return{...t};let r=JSON.parse(e);return{...t,...r}}catch{return{...t}}}function i(e){let r={...l(),...e};try{window.localStorage.setItem(o,JSON.stringify(r))}catch{}for(let e of n)try{e(r)}catch{}return r}function a(e){return n.add(e),()=>{n.delete(e)}}e.s(["loadSettings",0,l,"subscribeSettings",0,a,"updateSettings",0,i],91156),e.s(["useSettings",0,function(){let[e,t]=(0,r.useState)(()=>l());return(0,r.useEffect)(()=>{let e=a(t),r=e=>{"neural-loom:settings"===e.key&&t(l())};return window.addEventListener("storage",r),()=>{e(),window.removeEventListener("storage",r)}},[]),[e,e=>t(i(e))]}],91376)},54370,e=>{"use strict";var r=e.i(43476),t=e.i(71645);let o={position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(5, 7, 10, 0.85)",backdropFilter:"blur(12px)",zIndex:1100,display:"flex",alignItems:"center",justifyContent:"center"},n={width:"90%",maxWidth:"550px",height:"480px",backgroundColor:"var(--card)",border:"1px solid var(--border-focus)",borderRadius:"12px",boxShadow:"0 20px 25px -5px rgba(0,0,0,0.7), 0 10px 10px -5px rgba(0,0,0,0.7)",display:"flex",flexDirection:"column",overflow:"hidden"},l={display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0.85rem 1.25rem",borderBottom:"1px solid var(--border)",background:"hsla(var(--border-hsl), 0.2)"},i={background:"none",border:"none",color:"var(--muted)",fontSize:"0.9rem",cursor:"pointer",padding:"0.25rem"},a={display:"flex",padding:"0.75rem 1.25rem",gap:"0.5rem",backgroundColor:"rgba(10, 15, 25, 0.5)",borderBottom:"1px solid var(--border)"},s={flex:1,padding:"0.45rem 0.75rem",backgroundColor:"#05070a",border:"1px solid var(--border)",borderRadius:"6px",color:"var(--foreground)",fontFamily:"var(--font-mono), monospace",fontSize:"0.8rem",outline:"none"},d={padding:"0.45rem 0.85rem",backgroundColor:"var(--border)",border:"1px solid var(--border-focus)",borderRadius:"6px",color:"var(--foreground)",fontSize:"0.75rem",fontWeight:600,cursor:"pointer"},c={padding:"0.15rem 0.45rem",backgroundColor:"rgba(255, 255, 255, 0.15)",border:"none",borderRadius:"4px",color:"var(--foreground)",fontSize:"0.7rem",cursor:"pointer",fontWeight:600},u={flex:1,padding:"0.5rem 1.25rem",overflowY:"auto",backgroundColor:"#070a0f"},p={display:"flex",flexDirection:"column",gap:"0.25rem"},b={display:"flex",alignItems:"center",gap:"0.6rem",padding:"0.45rem 0.65rem",borderRadius:"6px",cursor:"pointer",fontSize:"0.825rem",border:"1px solid transparent",userSelect:"none",transition:"all 0.15s ease"},f={textAlign:"center",padding:"2rem",fontSize:"0.85rem",color:"var(--muted)"},g={display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0.85rem 1.25rem",borderTop:"1px solid var(--border)",background:"hsla(var(--border-hsl), 0.2)"},h={fontSize:"0.75rem",color:"var(--muted)",maxWidth:"240px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},m={padding:"0.45rem 0.9rem",borderRadius:"6px",border:"none",background:"linear-gradient(135deg, hsl(262, 83%, 60%) 0%, hsl(195, 100%, 45%) 100%)",color:"#fff",fontSize:"0.75rem",fontWeight:600,cursor:"pointer"},x={padding:"0.45rem 0.9rem",borderRadius:"6px",border:"1px solid var(--border)",backgroundColor:"transparent",color:"var(--foreground)",fontSize:"0.75rem",fontWeight:600,cursor:"pointer"};e.s(["default",0,function({title:e,initialPath:y,onClose:v,onSelect:S}){let[k,j]=(0,t.useState)(y||""),[C,w]=(0,t.useState)(null),[z,R]=(0,t.useState)([]),[E,O]=(0,t.useState)(null),[D,I]=(0,t.useState)(""),[W,F]=(0,t.useState)(!1),[P,_]=(0,t.useState)(""),L=async e=>{F(!0),_("");try{let r=`/api/files?action=browse_dirs&path=${encodeURIComponent(e)}`,t=await fetch(r),o=await t.json();t.ok&&o.success?(j(o.currentPath),I(o.currentPath),w(o.parentPath),R(o.directories),O(null)):_(o.error||"Failed to load directory content.")}catch(e){console.error("Error browsing directories:",e),_("Failed to fetch directory contents.")}finally{F(!1)}};(0,t.useEffect)(()=>{L(y)},[y]);let T=e=>{L(e)},U=()=>{D.trim()&&L(D.trim())};return(0,r.jsx)("div",{style:o,children:(0,r.jsxs)("div",{style:n,children:[(0,r.jsxs)("div",{style:l,children:[(0,r.jsxs)("h3",{style:{fontSize:"1rem",fontWeight:700,margin:0,color:"var(--foreground)"},children:["📁 ",e]}),(0,r.jsx)("button",{onClick:v,style:i,"aria-label":"Close browser",children:"✖"})]}),(0,r.jsxs)("div",{style:a,children:[(0,r.jsx)("input",{type:"text",value:D,onChange:e=>I(e.target.value),onKeyDown:e=>{"Enter"===e.key&&U()},style:s,placeholder:"Absolute folder path..."}),(0,r.jsx)("button",{onClick:U,style:d,disabled:W,children:"Go"})]}),(0,r.jsx)("div",{style:u,children:W?(0,r.jsx)("div",{style:f,children:"Loading directories..."}):P?(0,r.jsxs)("div",{style:{...f,color:"var(--danger)"},children:[P,(0,r.jsx)("button",{onClick:()=>L(k||"."),style:{...d,display:"block",margin:"0.75rem auto 0"},children:"Retry"})]}):(0,r.jsxs)("div",{style:p,children:[C&&(0,r.jsxs)("div",{onClick:()=>T(C),onDoubleClick:()=>T(C),style:b,title:"Go up to parent directory",children:[(0,r.jsx)("span",{style:{fontSize:"1.1rem"},children:"⬆️"}),(0,r.jsx)("span",{style:{fontWeight:600},children:".. (Up)"})]}),0===z.length?(0,r.jsx)("div",{style:{...f,color:"var(--muted)"},children:"No subdirectories found"}):z.map(e=>{let t=E===e.path;return(0,r.jsxs)("div",{onClick:()=>O(e.path),onDoubleClick:()=>T(e.path),style:{...b,backgroundColor:t?"rgba(109, 40, 217, 0.25)":"transparent",borderColor:t?"var(--border-focus)":"transparent"},title:"Single click to highlight, double click to enter",children:[(0,r.jsx)("span",{style:{fontSize:"1.1rem"},children:"📁"}),(0,r.jsx)("span",{style:{flex:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.name}),t&&(0,r.jsx)("button",{type:"button",onClick:r=>{r.stopPropagation(),T(e.path)},style:c,children:"Enter ➜"})]},e.path)})]})}),(0,r.jsxs)("div",{style:g,children:[(0,r.jsxs)("span",{style:h,children:["Selection: ",(0,r.jsx)("span",{style:{color:"var(--foreground)",fontFamily:"var(--font-mono), monospace"},children:E||k||"(None)"})]}),(0,r.jsxs)("div",{style:{display:"flex",gap:"0.5rem"},children:[(0,r.jsx)("button",{onClick:v,style:x,children:"Cancel"}),(0,r.jsx)("button",{onClick:()=>{S(E||k),v()},style:m,disabled:W,children:"Select Folder"})]})]})]})})}])},43466,e=>{"use strict";e.s(["CLAUDE_MODELS",0,[{alias:"",label:"Default (account)",versions:[]},{alias:"opus",label:"Opus (latest)",versions:["claude-opus-4-8"]},{alias:"sonnet",label:"Sonnet (latest)",versions:["claude-sonnet-5"]},{alias:"haiku",label:"Haiku (latest)",versions:["claude-haiku-4-5-20251001"]},{alias:"fable",label:"Fable (latest)",versions:["claude-fable-5"]}],"CUSTOM_MODEL",0,"__custom__"])},53096,e=>{e.v(r=>Promise.all(["static/chunks/0obzqbxd9niy0.js"].map(r=>e.l(r))).then(()=>r(67211)))}]);
|
package/.next/trace
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"generate-buildid","duration":242,"timestamp":583904800566,"id":4,"parentId":1,"tags":{},"startTime":1783037213626,"traceId":"088616a66fda50c7"},{"name":"load-custom-routes","duration":487,"timestamp":583904800919,"id":5,"parentId":1,"tags":{},"startTime":1783037213627,"traceId":"088616a66fda50c7"},{"name":"create-dist-dir","duration":30608,"timestamp":583904801444,"id":6,"parentId":1,"tags":{},"startTime":1783037213627,"traceId":"088616a66fda50c7"},{"name":"clean","duration":23570,"timestamp":583904833720,"id":7,"parentId":1,"tags":{},"startTime":1783037213660,"traceId":"088616a66fda50c7"},{"name":"discover-routes","duration":10206,"timestamp":583904895904,"id":8,"parentId":1,"tags":{},"startTime":1783037213722,"traceId":"088616a66fda50c7"},{"name":"create-root-mapping","duration":86,"timestamp":583904906157,"id":9,"parentId":1,"tags":{},"startTime":1783037213732,"traceId":"088616a66fda50c7"},{"name":"generate-route-types","duration":22354,"timestamp":583904909345,"id":10,"parentId":1,"tags":{},"startTime":1783037213735,"traceId":"088616a66fda50c7"},{"name":"public-dir-conflict-check","duration":76,"timestamp":583904931751,"id":11,"parentId":1,"tags":{},"startTime":1783037213758,"traceId":"088616a66fda50c7"},{"name":"generate-routes-manifest","duration":8432,"timestamp":583904931897,"id":12,"parentId":1,"tags":{},"startTime":1783037213758,"traceId":"088616a66fda50c7"},{"name":"run-turbopack","duration":26564809,"timestamp":583904950480,"id":14,"parentId":1,"tags":{},"startTime":1783037213776,"traceId":"088616a66fda50c7"},{"name":"turbopack-build-events","duration":54,"timestamp":583905444510,"id":15,"parentId":1,"tags":{},"startTime":1783037214270,"traceId":"088616a66fda50c7"},{"name":"run-typescript","duration":20610303,"timestamp":583931531626,"id":16,"parentId":1,"tags":{},"startTime":1783037240358,"traceId":"088616a66fda50c7"},{"name":"generate-required-server-files","duration":699,"timestamp":583952147245,"id":18,"parentId":1,"tags":{},"startTime":1783037260973,"traceId":"088616a66fda50c7"},{"name":"check-static-error-page","duration":27690,"timestamp":583952204922,"id":20,"parentId":19,"tags":{},"startTime":1783037261031,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":686022,"timestamp":583952236208,"id":48,"parentId":21,"tags":{},"startTime":1783037261062,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":716755,"timestamp":583952205534,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1783037261031,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":687699,"timestamp":583952236444,"id":49,"parentId":22,"tags":{},"startTime":1783037261062,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":710540,"timestamp":583952213639,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1783037261040,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":808447,"timestamp":583952236471,"id":50,"parentId":23,"tags":{},"startTime":1783037261062,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":831108,"timestamp":583952213844,"id":23,"parentId":19,"tags":{"page":"/api/configs"},"startTime":1783037261040,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":821873,"timestamp":583952236491,"id":51,"parentId":24,"tags":{},"startTime":1783037261062,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":844491,"timestamp":583952213913,"id":24,"parentId":19,"tags":{"page":"/api/context/aider"},"startTime":1783037261040,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":823152,"timestamp":583952236514,"id":52,"parentId":25,"tags":{},"startTime":1783037261062,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":845705,"timestamp":583952213990,"id":25,"parentId":19,"tags":{"page":"/api/context/claude"},"startTime":1783037261040,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":834109,"timestamp":583952236535,"id":53,"parentId":26,"tags":{},"startTime":1783037261062,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":856623,"timestamp":583952214052,"id":26,"parentId":19,"tags":{"page":"/api/context"},"startTime":1783037261040,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":836063,"timestamp":583952241214,"id":54,"parentId":27,"tags":{},"startTime":1783037261067,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":863226,"timestamp":583952214088,"id":27,"parentId":19,"tags":{"page":"/api/context/ssh"},"startTime":1783037261040,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":846791,"timestamp":583952241284,"id":55,"parentId":28,"tags":{},"startTime":1783037261067,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":873993,"timestamp":583952214123,"id":28,"parentId":19,"tags":{"page":"/api/feedback"},"startTime":1783037261040,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":858910,"timestamp":583952241305,"id":56,"parentId":30,"tags":{},"startTime":1783037261067,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":870003,"timestamp":583952230248,"id":30,"parentId":19,"tags":{"page":"/api/git"},"startTime":1783037261056,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":870880,"timestamp":583952241321,"id":57,"parentId":31,"tags":{},"startTime":1783037261067,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":881818,"timestamp":583952230415,"id":31,"parentId":19,"tags":{"page":"/api/recents"},"startTime":1783037261056,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":896373,"timestamp":583952241342,"id":58,"parentId":32,"tags":{},"startTime":1783037261067,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":907279,"timestamp":583952230468,"id":32,"parentId":19,"tags":{"page":"/api/sessions/inject"},"startTime":1783037261056,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":905541,"timestamp":583952241350,"id":59,"parentId":33,"tags":{},"startTime":1783037261067,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":916423,"timestamp":583952230507,"id":33,"parentId":19,"tags":{"page":"/api/sessions/input"},"startTime":1783037261056,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":910544,"timestamp":583952241355,"id":60,"parentId":34,"tags":{},"startTime":1783037261067,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":920141,"timestamp":583952231791,"id":34,"parentId":19,"tags":{"page":"/api/sessions/launch"},"startTime":1783037261058,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":916271,"timestamp":583952241358,"id":61,"parentId":35,"tags":{},"startTime":1783037261067,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":925711,"timestamp":583952231950,"id":35,"parentId":19,"tags":{"page":"/api/sessions/model"},"startTime":1783037261058,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":925286,"timestamp":583952241369,"id":62,"parentId":36,"tags":{},"startTime":1783037261067,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":934729,"timestamp":583952232014,"id":36,"parentId":19,"tags":{"page":"/api/sessions"},"startTime":1783037261058,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":930596,"timestamp":583952241373,"id":63,"parentId":37,"tags":{},"startTime":1783037261067,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":939942,"timestamp":583952232052,"id":37,"parentId":19,"tags":{"page":"/api/sessions/scope"},"startTime":1783037261058,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":942819,"timestamp":583952241381,"id":64,"parentId":38,"tags":{},"startTime":1783037261067,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":952146,"timestamp":583952232091,"id":38,"parentId":19,"tags":{"page":"/api/sessions/start"},"startTime":1783037261058,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":949492,"timestamp":583952241385,"id":65,"parentId":39,"tags":{},"startTime":1783037261067,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":958785,"timestamp":583952232120,"id":39,"parentId":19,"tags":{"page":"/api/sessions/stats"},"startTime":1783037261058,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":951938,"timestamp":583952241388,"id":66,"parentId":40,"tags":{},"startTime":1783037261067,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":961196,"timestamp":583952232156,"id":40,"parentId":19,"tags":{"page":"/api/sessions/stop"},"startTime":1783037261058,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":957385,"timestamp":583952241392,"id":67,"parentId":41,"tags":{},"startTime":1783037261067,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":966618,"timestamp":583952232183,"id":41,"parentId":19,"tags":{"page":"/api/sessions/upload-image"},"startTime":1783037261058,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":965881,"timestamp":583952241396,"id":68,"parentId":42,"tags":{},"startTime":1783037261067,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":975097,"timestamp":583952232212,"id":42,"parentId":19,"tags":{"page":"/api/sql/connections"},"startTime":1783037261058,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":969269,"timestamp":583952241399,"id":69,"parentId":43,"tags":{},"startTime":1783037261067,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":978431,"timestamp":583952232265,"id":43,"parentId":19,"tags":{"page":"/api/sql/mcp"},"startTime":1783037261058,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":971318,"timestamp":583952241403,"id":70,"parentId":44,"tags":{},"startTime":1783037261067,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":980443,"timestamp":583952232303,"id":44,"parentId":19,"tags":{"page":"/api/sql/query"},"startTime":1783037261058,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":982069,"timestamp":583952241406,"id":71,"parentId":45,"tags":{},"startTime":1783037261067,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":991190,"timestamp":583952232335,"id":45,"parentId":19,"tags":{"page":"/api/sql/schema"},"startTime":1783037261058,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":991063,"timestamp":583952241410,"id":72,"parentId":46,"tags":{},"startTime":1783037261067,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":1000137,"timestamp":583952232364,"id":46,"parentId":19,"tags":{"page":"/api/telemetry"},"startTime":1783037261058,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":986861,"timestamp":583952254595,"id":73,"parentId":29,"tags":{},"startTime":1783037261081,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":1027325,"timestamp":583952214161,"id":29,"parentId":19,"tags":{"page":"/api/files"},"startTime":1783037261040,"traceId":"088616a66fda50c7"},{"name":"is-page-static","duration":992413,"timestamp":583952254888,"id":74,"parentId":47,"tags":{},"startTime":1783037261081,"traceId":"088616a66fda50c7"},{"name":"check-page","duration":1014925,"timestamp":583952232402,"id":47,"parentId":19,"tags":{"page":"/"},"startTime":1783037261058,"traceId":"088616a66fda50c7"},{"name":"static-check","duration":1042901,"timestamp":583952204445,"id":19,"parentId":1,"tags":{},"startTime":1783037261030,"traceId":"088616a66fda50c7"},{"name":"write-routes-manifest","duration":206,"timestamp":583953250220,"id":76,"parentId":1,"tags":{},"startTime":1783037262076,"traceId":"088616a66fda50c7"},{"name":"load-dotenv","duration":29,"timestamp":583953270740,"id":79,"parentId":78,"tags":{},"startTime":1783037262097,"traceId":"088616a66fda50c7"},{"name":"run-export-path-map","duration":333,"timestamp":583953272266,"id":80,"parentId":78,"tags":{},"startTime":1783037262098,"traceId":"088616a66fda50c7"},{"name":"next-export","duration":747801,"timestamp":583953269962,"id":78,"parentId":1,"tags":{},"startTime":1783037262096,"traceId":"088616a66fda50c7"},{"name":"move-exported-app-not-found-","duration":339,"timestamp":583954019457,"id":81,"parentId":77,"tags":{},"startTime":1783037262845,"traceId":"088616a66fda50c7"},{"name":"move-exported-app-global-error-","duration":271,"timestamp":583954019858,"id":82,"parentId":77,"tags":{},"startTime":1783037262846,"traceId":"088616a66fda50c7"},{"name":"static-generation","duration":762556,"timestamp":583953259262,"id":77,"parentId":1,"tags":{},"startTime":1783037262085,"traceId":"088616a66fda50c7"},{"name":"write-routes-manifest","duration":832,"timestamp":583954021978,"id":83,"parentId":1,"tags":{},"startTime":1783037262848,"traceId":"088616a66fda50c7"},{"name":"print-tree-view","duration":2116,"timestamp":583954032661,"id":84,"parentId":1,"tags":{},"startTime":1783037262859,"traceId":"088616a66fda50c7"},{"name":"write-route-bundle-stats","duration":2545,"timestamp":583954034795,"id":85,"parentId":1,"tags":{},"startTime":1783037262861,"traceId":"088616a66fda50c7"},{"name":"telemetry-flush","duration":488745,"timestamp":583954037353,"id":86,"parentId":1,"tags":{},"startTime":1783037262863,"traceId":"088616a66fda50c7"},{"name":"next-build","duration":49840430,"timestamp":583904685690,"id":1,"tags":{"buildMode":"default","version":"16.2.6","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1783037213512,"traceId":"088616a66fda50c7"}]
|
|
1
|
+
[{"name":"generate-buildid","duration":5368,"timestamp":632521735963,"id":4,"parentId":1,"tags":{},"startTime":1783231307843,"traceId":"2a1cb8148dd056e0"},{"name":"load-custom-routes","duration":386,"timestamp":632521741449,"id":5,"parentId":1,"tags":{},"startTime":1783231307848,"traceId":"2a1cb8148dd056e0"},{"name":"create-dist-dir","duration":1325,"timestamp":632521741864,"id":6,"parentId":1,"tags":{},"startTime":1783231307848,"traceId":"2a1cb8148dd056e0"},{"name":"clean","duration":72300,"timestamp":632521746268,"id":7,"parentId":1,"tags":{},"startTime":1783231307853,"traceId":"2a1cb8148dd056e0"},{"name":"discover-routes","duration":21566,"timestamp":632521886530,"id":8,"parentId":1,"tags":{},"startTime":1783231307993,"traceId":"2a1cb8148dd056e0"},{"name":"create-root-mapping","duration":175,"timestamp":632521908159,"id":9,"parentId":1,"tags":{},"startTime":1783231308015,"traceId":"2a1cb8148dd056e0"},{"name":"generate-route-types","duration":82215,"timestamp":632521918133,"id":10,"parentId":1,"tags":{},"startTime":1783231308025,"traceId":"2a1cb8148dd056e0"},{"name":"public-dir-conflict-check","duration":84,"timestamp":632522000409,"id":11,"parentId":1,"tags":{},"startTime":1783231308107,"traceId":"2a1cb8148dd056e0"},{"name":"generate-routes-manifest","duration":12350,"timestamp":632522005144,"id":12,"parentId":1,"tags":{},"startTime":1783231308112,"traceId":"2a1cb8148dd056e0"},{"name":"run-turbopack","duration":36619800,"timestamp":632522059864,"id":14,"parentId":1,"tags":{},"startTime":1783231308166,"traceId":"2a1cb8148dd056e0"},{"name":"turbopack-build-events","duration":50,"timestamp":632523097909,"id":15,"parentId":1,"tags":{},"startTime":1783231309205,"traceId":"2a1cb8148dd056e0"},{"name":"run-typescript","duration":40009494,"timestamp":632558695278,"id":16,"parentId":1,"tags":{},"startTime":1783231344802,"traceId":"2a1cb8148dd056e0"},{"name":"generate-required-server-files","duration":30018,"timestamp":632598707420,"id":18,"parentId":1,"tags":{},"startTime":1783231384814,"traceId":"2a1cb8148dd056e0"},{"name":"check-static-error-page","duration":48055,"timestamp":632598983928,"id":20,"parentId":19,"tags":{},"startTime":1783231385091,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":2228104,"timestamp":632599069573,"id":48,"parentId":21,"tags":{},"startTime":1783231385176,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":2311127,"timestamp":632598986619,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1783231385093,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":2230371,"timestamp":632599069808,"id":49,"parentId":22,"tags":{},"startTime":1783231385176,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":2288389,"timestamp":632599011829,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1783231385118,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":2527447,"timestamp":632599069832,"id":50,"parentId":23,"tags":{},"startTime":1783231385176,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":2583176,"timestamp":632599014141,"id":23,"parentId":19,"tags":{"page":"/api/configs"},"startTime":1783231385121,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":2536225,"timestamp":632599069854,"id":51,"parentId":24,"tags":{},"startTime":1783231385176,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":2591841,"timestamp":632599014277,"id":24,"parentId":19,"tags":{"page":"/api/context/aider"},"startTime":1783231385121,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":2548145,"timestamp":632599069873,"id":52,"parentId":25,"tags":{},"startTime":1783231385176,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":2603720,"timestamp":632599014335,"id":25,"parentId":19,"tags":{"page":"/api/context/claude"},"startTime":1783231385121,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":2567677,"timestamp":632599069893,"id":53,"parentId":26,"tags":{},"startTime":1783231385177,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":2623229,"timestamp":632599014377,"id":26,"parentId":19,"tags":{"page":"/api/context"},"startTime":1783231385121,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":2618999,"timestamp":632599069915,"id":54,"parentId":27,"tags":{},"startTime":1783231385177,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":2674536,"timestamp":632599014412,"id":27,"parentId":19,"tags":{"page":"/api/context/ssh"},"startTime":1783231385121,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":2657263,"timestamp":632599069942,"id":55,"parentId":28,"tags":{},"startTime":1783231385177,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":2712788,"timestamp":632599014450,"id":28,"parentId":19,"tags":{"page":"/api/feedback"},"startTime":1783231385121,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":2691263,"timestamp":632599069959,"id":56,"parentId":30,"tags":{},"startTime":1783231385177,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":2730231,"timestamp":632599031043,"id":30,"parentId":19,"tags":{"page":"/api/git"},"startTime":1783231385138,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":2730106,"timestamp":632599069974,"id":57,"parentId":31,"tags":{},"startTime":1783231385177,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":2768933,"timestamp":632599031190,"id":31,"parentId":19,"tags":{"page":"/api/recents"},"startTime":1783231385138,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":2812213,"timestamp":632599069994,"id":58,"parentId":32,"tags":{},"startTime":1783231385177,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":2851007,"timestamp":632599031238,"id":32,"parentId":19,"tags":{"page":"/api/sessions/inject"},"startTime":1783231385138,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":2827673,"timestamp":632599070023,"id":59,"parentId":33,"tags":{},"startTime":1783231385177,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":2866456,"timestamp":632599031273,"id":33,"parentId":19,"tags":{"page":"/api/sessions/input"},"startTime":1783231385138,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":2845760,"timestamp":632599070028,"id":60,"parentId":34,"tags":{},"startTime":1783231385177,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":2884504,"timestamp":632599031320,"id":34,"parentId":19,"tags":{"page":"/api/sessions/launch"},"startTime":1783231385138,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":2875256,"timestamp":632599070032,"id":61,"parentId":35,"tags":{},"startTime":1783231385177,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":2913941,"timestamp":632599031381,"id":35,"parentId":19,"tags":{"page":"/api/sessions/model"},"startTime":1783231385138,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":2909180,"timestamp":632599070040,"id":62,"parentId":36,"tags":{},"startTime":1783231385177,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":2947837,"timestamp":632599031421,"id":36,"parentId":19,"tags":{"page":"/api/sessions"},"startTime":1783231385138,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":2917213,"timestamp":632599070045,"id":63,"parentId":37,"tags":{},"startTime":1783231385177,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":2955821,"timestamp":632599031473,"id":37,"parentId":19,"tags":{"page":"/api/sessions/scope"},"startTime":1783231385138,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":2930686,"timestamp":632599070050,"id":64,"parentId":38,"tags":{},"startTime":1783231385177,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":2969251,"timestamp":632599031522,"id":38,"parentId":19,"tags":{"page":"/api/sessions/start"},"startTime":1783231385138,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":2967971,"timestamp":632599070053,"id":65,"parentId":39,"tags":{},"startTime":1783231385177,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":3006506,"timestamp":632599031554,"id":39,"parentId":19,"tags":{"page":"/api/sessions/stats"},"startTime":1783231385138,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":2986128,"timestamp":632599070057,"id":66,"parentId":40,"tags":{},"startTime":1783231385177,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":3024628,"timestamp":632599031591,"id":40,"parentId":19,"tags":{"page":"/api/sessions/stop"},"startTime":1783231385138,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":2993110,"timestamp":632599070061,"id":67,"parentId":41,"tags":{},"startTime":1783231385177,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":3031582,"timestamp":632599031620,"id":41,"parentId":19,"tags":{"page":"/api/sessions/upload-image"},"startTime":1783231385138,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":2999994,"timestamp":632599070066,"id":68,"parentId":42,"tags":{},"startTime":1783231385177,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":3038448,"timestamp":632599031650,"id":42,"parentId":19,"tags":{"page":"/api/sql/connections"},"startTime":1783231385138,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":3006333,"timestamp":632599070070,"id":69,"parentId":43,"tags":{},"startTime":1783231385177,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":3044751,"timestamp":632599031684,"id":43,"parentId":19,"tags":{"page":"/api/sql/mcp"},"startTime":1783231385138,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":3028895,"timestamp":632599070074,"id":70,"parentId":44,"tags":{},"startTime":1783231385177,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":3067302,"timestamp":632599031713,"id":44,"parentId":19,"tags":{"page":"/api/sql/query"},"startTime":1783231385138,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":3073256,"timestamp":632599070078,"id":71,"parentId":45,"tags":{},"startTime":1783231385177,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":3111630,"timestamp":632599031742,"id":45,"parentId":19,"tags":{"page":"/api/sql/schema"},"startTime":1783231385138,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":3106989,"timestamp":632599070081,"id":72,"parentId":46,"tags":{},"startTime":1783231385177,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":3145336,"timestamp":632599031770,"id":46,"parentId":19,"tags":{"page":"/api/telemetry"},"startTime":1783231385138,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":3115002,"timestamp":632599101870,"id":73,"parentId":29,"tags":{},"startTime":1783231385209,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":3202414,"timestamp":632599014492,"id":29,"parentId":19,"tags":{"page":"/api/files"},"startTime":1783231385121,"traceId":"2a1cb8148dd056e0"},{"name":"is-page-static","duration":3109966,"timestamp":632599131398,"id":74,"parentId":47,"tags":{},"startTime":1783231385238,"traceId":"2a1cb8148dd056e0"},{"name":"check-page","duration":3209601,"timestamp":632599031800,"id":47,"parentId":19,"tags":{"page":"/"},"startTime":1783231385138,"traceId":"2a1cb8148dd056e0"},{"name":"static-check","duration":3273546,"timestamp":632598967884,"id":19,"parentId":1,"tags":{},"startTime":1783231385075,"traceId":"2a1cb8148dd056e0"},{"name":"write-routes-manifest","duration":2097,"timestamp":632602315962,"id":76,"parentId":1,"tags":{},"startTime":1783231388423,"traceId":"2a1cb8148dd056e0"},{"name":"load-dotenv","duration":46,"timestamp":632602380675,"id":79,"parentId":78,"tags":{},"startTime":1783231388487,"traceId":"2a1cb8148dd056e0"},{"name":"run-export-path-map","duration":394,"timestamp":632602406284,"id":80,"parentId":78,"tags":{},"startTime":1783231388513,"traceId":"2a1cb8148dd056e0"},{"name":"next-export","duration":1462546,"timestamp":632602372661,"id":78,"parentId":1,"tags":{},"startTime":1783231388479,"traceId":"2a1cb8148dd056e0"},{"name":"move-exported-app-not-found-","duration":21541,"timestamp":632603836678,"id":81,"parentId":77,"tags":{},"startTime":1783231389943,"traceId":"2a1cb8148dd056e0"},{"name":"move-exported-app-global-error-","duration":271,"timestamp":632603858304,"id":82,"parentId":77,"tags":{},"startTime":1783231389965,"traceId":"2a1cb8148dd056e0"},{"name":"static-generation","duration":1541767,"timestamp":632602342440,"id":77,"parentId":1,"tags":{},"startTime":1783231388449,"traceId":"2a1cb8148dd056e0"},{"name":"write-routes-manifest","duration":4228,"timestamp":632603884328,"id":83,"parentId":1,"tags":{},"startTime":1783231389991,"traceId":"2a1cb8148dd056e0"},{"name":"print-tree-view","duration":28039,"timestamp":632603929452,"id":84,"parentId":1,"tags":{},"startTime":1783231390036,"traceId":"2a1cb8148dd056e0"},{"name":"write-route-bundle-stats","duration":27900,"timestamp":632603957516,"id":85,"parentId":1,"tags":{},"startTime":1783231390064,"traceId":"2a1cb8148dd056e0"},{"name":"telemetry-flush","duration":407875,"timestamp":632603985440,"id":86,"parentId":1,"tags":{},"startTime":1783231390092,"traceId":"2a1cb8148dd056e0"},{"name":"next-build","duration":82940947,"timestamp":632521452389,"id":1,"tags":{"buildMode":"default","version":"16.2.6","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1783231307559,"traceId":"2a1cb8148dd056e0"}]
|
package/.next/trace-build
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"run-turbopack","duration":
|
|
1
|
+
[{"name":"run-turbopack","duration":36619800,"timestamp":632522059864,"id":14,"parentId":1,"tags":{},"startTime":1783231308166,"traceId":"2a1cb8148dd056e0"},{"name":"turbopack-build-events","duration":50,"timestamp":632523097909,"id":15,"parentId":1,"tags":{},"startTime":1783231309205,"traceId":"2a1cb8148dd056e0"},{"name":"run-typescript","duration":40009494,"timestamp":632558695278,"id":16,"parentId":1,"tags":{},"startTime":1783231344802,"traceId":"2a1cb8148dd056e0"},{"name":"static-check","duration":3273546,"timestamp":632598967884,"id":19,"parentId":1,"tags":{},"startTime":1783231385075,"traceId":"2a1cb8148dd056e0"},{"name":"static-generation","duration":1541767,"timestamp":632602342440,"id":77,"parentId":1,"tags":{},"startTime":1783231388449,"traceId":"2a1cb8148dd056e0"},{"name":"telemetry-flush","duration":407875,"timestamp":632603985440,"id":86,"parentId":1,"tags":{},"startTime":1783231390092,"traceId":"2a1cb8148dd056e0"},{"name":"next-build","duration":82940947,"timestamp":632521452389,"id":1,"tags":{"buildMode":"default","version":"16.2.6","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1783231307559,"traceId":"2a1cb8148dd056e0"}]
|
package/package.json
CHANGED
|
@@ -23,8 +23,9 @@ export interface ClaudeModelOption {
|
|
|
23
23
|
export const CLAUDE_MODELS: ClaudeModelOption[] = [
|
|
24
24
|
{ alias: "", label: "Default (account)", versions: [] },
|
|
25
25
|
{ alias: "opus", label: "Opus (latest)", versions: ["claude-opus-4-8"] },
|
|
26
|
-
{ alias: "sonnet", label: "Sonnet (latest)", versions: ["claude-sonnet-
|
|
26
|
+
{ alias: "sonnet", label: "Sonnet (latest)", versions: ["claude-sonnet-5"] },
|
|
27
27
|
{ alias: "haiku", label: "Haiku (latest)", versions: ["claude-haiku-4-5-20251001"] },
|
|
28
|
+
{ alias: "fable", label: "Fable (latest)", versions: ["claude-fable-5"] },
|
|
28
29
|
];
|
|
29
30
|
|
|
30
31
|
/** Sentinel selected in the wizard to reveal a free-text custom-model field. */
|
|
@@ -12,7 +12,11 @@ const M = 1_000_000;
|
|
|
12
12
|
|
|
13
13
|
const MODEL_RATES: Record<string, ModelRate> = {
|
|
14
14
|
// Anthropic Claude (per 1M tokens: input / output)
|
|
15
|
-
"claude-
|
|
15
|
+
"claude-fable-5": { input: 10 / M, output: 50 / M },
|
|
16
|
+
"claude-opus-4-8": { input: 5 / M, output: 25 / M },
|
|
17
|
+
"claude-opus-4": { input: 15 / M, output: 75 / M }, // legacy Opus 4/4.1 (deprecated/retired)
|
|
18
|
+
// Sonnet 5 introductory pricing runs through 2026-08-31; becomes 3/15 after.
|
|
19
|
+
"claude-sonnet-5": { input: 2 / M, output: 10 / M },
|
|
16
20
|
"claude-sonnet-4": { input: 3 / M, output: 15 / M },
|
|
17
21
|
"claude-haiku-4": { input: 1 / M, output: 5 / M },
|
|
18
22
|
"claude-3-5-sonnet": { input: 3 / M, output: 15 / M },
|
|
@@ -25,7 +29,7 @@ const MODEL_RATES: Record<string, ModelRate> = {
|
|
|
25
29
|
};
|
|
26
30
|
|
|
27
31
|
/** Default when the model is unknown — a mid-tier Claude rate. */
|
|
28
|
-
export const DEFAULT_MODEL = "claude-sonnet-
|
|
32
|
+
export const DEFAULT_MODEL = "claude-sonnet-5";
|
|
29
33
|
|
|
30
34
|
export function getModelRate(model?: string): ModelRate {
|
|
31
35
|
if (model) {
|