@castlekit/castle 0.4.1 → 0.4.2

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.
Files changed (75) hide show
  1. package/.next/standalone/.next/BUILD_ID +1 -1
  2. package/.next/standalone/.next/build-manifest.json +2 -2
  3. package/.next/standalone/.next/prerender-manifest.json +3 -3
  4. package/.next/standalone/.next/server/app/_global-error.html +2 -2
  5. package/.next/standalone/.next/server/app/_global-error.rsc +1 -1
  6. package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  7. package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  8. package/.next/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  9. package/.next/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  10. package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  11. package/.next/standalone/.next/server/app/_not-found.html +1 -1
  12. package/.next/standalone/.next/server/app/_not-found.rsc +1 -1
  13. package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  14. package/.next/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  15. package/.next/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  16. package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  17. package/.next/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  18. package/.next/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  19. package/.next/standalone/.next/server/app/chat.html +1 -1
  20. package/.next/standalone/.next/server/app/chat.rsc +1 -1
  21. package/.next/standalone/.next/server/app/chat.segments/_full.segment.rsc +1 -1
  22. package/.next/standalone/.next/server/app/chat.segments/_head.segment.rsc +1 -1
  23. package/.next/standalone/.next/server/app/chat.segments/_index.segment.rsc +1 -1
  24. package/.next/standalone/.next/server/app/chat.segments/_tree.segment.rsc +1 -1
  25. package/.next/standalone/.next/server/app/chat.segments/chat/__PAGE__.segment.rsc +1 -1
  26. package/.next/standalone/.next/server/app/chat.segments/chat.segment.rsc +1 -1
  27. package/.next/standalone/.next/server/app/index.html +1 -1
  28. package/.next/standalone/.next/server/app/index.rsc +2 -2
  29. package/.next/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  30. package/.next/standalone/.next/server/app/index.segments/_full.segment.rsc +2 -2
  31. package/.next/standalone/.next/server/app/index.segments/_head.segment.rsc +1 -1
  32. package/.next/standalone/.next/server/app/index.segments/_index.segment.rsc +1 -1
  33. package/.next/standalone/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  34. package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  35. package/.next/standalone/.next/server/app/settings.html +1 -1
  36. package/.next/standalone/.next/server/app/settings.rsc +1 -1
  37. package/.next/standalone/.next/server/app/settings.segments/_full.segment.rsc +1 -1
  38. package/.next/standalone/.next/server/app/settings.segments/_head.segment.rsc +1 -1
  39. package/.next/standalone/.next/server/app/settings.segments/_index.segment.rsc +1 -1
  40. package/.next/standalone/.next/server/app/settings.segments/_tree.segment.rsc +1 -1
  41. package/.next/standalone/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +1 -1
  42. package/.next/standalone/.next/server/app/settings.segments/settings.segment.rsc +1 -1
  43. package/.next/standalone/.next/server/app/ui-kit.html +1 -1
  44. package/.next/standalone/.next/server/app/ui-kit.rsc +1 -1
  45. package/.next/standalone/.next/server/app/ui-kit.segments/_full.segment.rsc +1 -1
  46. package/.next/standalone/.next/server/app/ui-kit.segments/_head.segment.rsc +1 -1
  47. package/.next/standalone/.next/server/app/ui-kit.segments/_index.segment.rsc +1 -1
  48. package/.next/standalone/.next/server/app/ui-kit.segments/_tree.segment.rsc +1 -1
  49. package/.next/standalone/.next/server/app/ui-kit.segments/ui-kit/__PAGE__.segment.rsc +1 -1
  50. package/.next/standalone/.next/server/app/ui-kit.segments/ui-kit.segment.rsc +1 -1
  51. package/.next/standalone/.next/server/chunks/ssr/_7a67de23._.js +1 -1
  52. package/.next/standalone/.next/server/middleware-manifest.json +5 -5
  53. package/.next/standalone/.next/server/pages/404.html +1 -1
  54. package/.next/standalone/.next/server/pages/500.html +2 -2
  55. package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
  56. package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
  57. package/.next/{static/chunks/2b48886a383c2e37.js → standalone/.next/static/chunks/8c691cfaccdbb9ee.js} +1 -1
  58. package/.next/standalone/CHANGELOG.md +16 -0
  59. package/.next/standalone/bin/castle.js +2 -2
  60. package/.next/standalone/install.ps1 +16 -16
  61. package/.next/standalone/package.json +1 -1
  62. package/.next/standalone/src/app/page.tsx +3 -3
  63. package/.next/standalone/src/cli/onboarding.ts +90 -87
  64. package/.next/{standalone/.next/static/chunks/2b48886a383c2e37.js → static/chunks/8c691cfaccdbb9ee.js} +1 -1
  65. package/bin/castle.js +2 -2
  66. package/install.ps1 +16 -16
  67. package/package.json +1 -1
  68. package/src/app/page.tsx +3 -3
  69. package/src/cli/onboarding.ts +90 -87
  70. /package/.next/standalone/.next/static/{IDGX3MGCjqUE6NQVlug5A → -R3HvmmPKzJ9Jfjg7hRqd}/_buildManifest.js +0 -0
  71. /package/.next/standalone/.next/static/{IDGX3MGCjqUE6NQVlug5A → -R3HvmmPKzJ9Jfjg7hRqd}/_clientMiddlewareManifest.json +0 -0
  72. /package/.next/standalone/.next/static/{IDGX3MGCjqUE6NQVlug5A → -R3HvmmPKzJ9Jfjg7hRqd}/_ssgManifest.js +0 -0
  73. /package/.next/static/{IDGX3MGCjqUE6NQVlug5A → -R3HvmmPKzJ9Jfjg7hRqd}/_buildManifest.js +0 -0
  74. /package/.next/static/{IDGX3MGCjqUE6NQVlug5A → -R3HvmmPKzJ9Jfjg7hRqd}/_clientMiddlewareManifest.json +0 -0
  75. /package/.next/static/{IDGX3MGCjqUE6NQVlug5A → -R3HvmmPKzJ9Jfjg7hRqd}/_ssgManifest.js +0 -0
@@ -14,7 +14,7 @@ e:I[97367,["/_next/static/chunks/868f09ea8b0a7649.js"],"ViewportBoundary"]
14
14
  :HL["/_next/static/chunks/3c2b51fd3ab2ac34.css","style"]
15
15
  :HL["/_next/static/media/797e433ab948586e-s.p.dbea232f.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
16
16
  :HL["/_next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
17
- 0:{"P":null,"b":"IDGX3MGCjqUE6NQVlug5A","c":["","ui-kit"],"q":"","i":false,"f":[[["",{"children":["ui-kit",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/3c2b51fd3ab2ac34.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/d11263c7e8894d27.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/5a1105a61e9390f8.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable antialiased bg-background text-foreground","children":["$","$L2",null,{"attribute":"class","defaultTheme":"dark","enableSystem":false,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",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,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@9","$@a"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/3fef23e63934711e.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/bffbc071b1075ac3.js","async":true,"nonce":"$undefined"}]],["$","$Lb",null,{"children":["$","$c",null,{"name":"Next.MetadataOutlet","children":"$@d"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Le",null,{"children":"$Lf"}],["$","div",null,{"hidden":true,"children":["$","$L10",null,{"children":["$","$c",null,{"name":"Next.Metadata","children":"$L11"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$12",[]],"S":true}
17
+ 0:{"P":null,"b":"-R3HvmmPKzJ9Jfjg7hRqd","c":["","ui-kit"],"q":"","i":false,"f":[[["",{"children":["ui-kit",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/3c2b51fd3ab2ac34.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/d11263c7e8894d27.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/5a1105a61e9390f8.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable antialiased bg-background text-foreground","children":["$","$L2",null,{"attribute":"class","defaultTheme":"dark","enableSystem":false,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",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,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@9","$@a"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/3fef23e63934711e.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/bffbc071b1075ac3.js","async":true,"nonce":"$undefined"}]],["$","$Lb",null,{"children":["$","$c",null,{"name":"Next.MetadataOutlet","children":"$@d"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Le",null,{"children":"$Lf"}],["$","div",null,{"hidden":true,"children":["$","$L10",null,{"children":["$","$c",null,{"name":"Next.Metadata","children":"$L11"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$12",[]],"S":true}
18
18
  9:{}
19
19
  a:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params"
20
20
  f:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
@@ -14,7 +14,7 @@ e:I[97367,["/_next/static/chunks/868f09ea8b0a7649.js"],"ViewportBoundary"]
14
14
  :HL["/_next/static/chunks/3c2b51fd3ab2ac34.css","style"]
15
15
  :HL["/_next/static/media/797e433ab948586e-s.p.dbea232f.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
16
16
  :HL["/_next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
17
- 0:{"P":null,"b":"IDGX3MGCjqUE6NQVlug5A","c":["","ui-kit"],"q":"","i":false,"f":[[["",{"children":["ui-kit",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/3c2b51fd3ab2ac34.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/d11263c7e8894d27.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/5a1105a61e9390f8.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable antialiased bg-background text-foreground","children":["$","$L2",null,{"attribute":"class","defaultTheme":"dark","enableSystem":false,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",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,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@9","$@a"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/3fef23e63934711e.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/bffbc071b1075ac3.js","async":true,"nonce":"$undefined"}]],["$","$Lb",null,{"children":["$","$c",null,{"name":"Next.MetadataOutlet","children":"$@d"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Le",null,{"children":"$Lf"}],["$","div",null,{"hidden":true,"children":["$","$L10",null,{"children":["$","$c",null,{"name":"Next.Metadata","children":"$L11"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$12",[]],"S":true}
17
+ 0:{"P":null,"b":"-R3HvmmPKzJ9Jfjg7hRqd","c":["","ui-kit"],"q":"","i":false,"f":[[["",{"children":["ui-kit",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/3c2b51fd3ab2ac34.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/d11263c7e8894d27.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/5a1105a61e9390f8.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable antialiased bg-background text-foreground","children":["$","$L2",null,{"attribute":"class","defaultTheme":"dark","enableSystem":false,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",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,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@9","$@a"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/3fef23e63934711e.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/bffbc071b1075ac3.js","async":true,"nonce":"$undefined"}]],["$","$Lb",null,{"children":["$","$c",null,{"name":"Next.MetadataOutlet","children":"$@d"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Le",null,{"children":"$Lf"}],["$","div",null,{"hidden":true,"children":["$","$L10",null,{"children":["$","$c",null,{"name":"Next.Metadata","children":"$L11"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$12",[]],"S":true}
18
18
  9:{}
19
19
  a:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params"
20
20
  f:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
@@ -3,4 +3,4 @@
3
3
  3:I[97367,["/_next/static/chunks/868f09ea8b0a7649.js"],"MetadataBoundary"]
4
4
  4:"$Sreact.suspense"
5
5
  5:I[27201,["/_next/static/chunks/868f09ea8b0a7649.js"],"IconMark"]
6
- 0:{"buildId":"IDGX3MGCjqUE6NQVlug5A","rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Castle"}],["$","meta","1",{"name":"description","content":"The multi-agent workspace"}],["$","link","2",{"rel":"icon","href":"/icon.png?icon.4cc5e0bd.png","sizes":"1000x1000","type":"image/png"}],["$","$L5","3",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"loading":null,"isPartial":false}
6
+ 0:{"buildId":"-R3HvmmPKzJ9Jfjg7hRqd","rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Castle"}],["$","meta","1",{"name":"description","content":"The multi-agent workspace"}],["$","link","2",{"rel":"icon","href":"/icon.png?icon.4cc5e0bd.png","sizes":"1000x1000","type":"image/png"}],["$","$L5","3",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"loading":null,"isPartial":false}
@@ -5,4 +5,4 @@
5
5
  5:I[39756,["/_next/static/chunks/868f09ea8b0a7649.js"],"default"]
6
6
  6:I[37457,["/_next/static/chunks/868f09ea8b0a7649.js"],"default"]
7
7
  :HL["/_next/static/chunks/3c2b51fd3ab2ac34.css","style"]
8
- 0:{"buildId":"IDGX3MGCjqUE6NQVlug5A","rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/3c2b51fd3ab2ac34.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/d11263c7e8894d27.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/5a1105a61e9390f8.js","async":true}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable antialiased bg-background text-foreground","children":["$","$L2",null,{"attribute":"class","defaultTheme":"dark","enableSystem":false,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","template":["$","$L6",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]}]}]}]]}],"loading":null,"isPartial":false}
8
+ 0:{"buildId":"-R3HvmmPKzJ9Jfjg7hRqd","rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/3c2b51fd3ab2ac34.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/d11263c7e8894d27.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/5a1105a61e9390f8.js","async":true}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable antialiased bg-background text-foreground","children":["$","$L2",null,{"attribute":"class","defaultTheme":"dark","enableSystem":false,"disableTransitionOnChange":true,"children":["$","$L3",null,{"children":["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","template":["$","$L6",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]}]}]}]]}],"loading":null,"isPartial":false}
@@ -1,4 +1,4 @@
1
1
  :HL["/_next/static/chunks/3c2b51fd3ab2ac34.css","style"]
2
2
  :HL["/_next/static/media/797e433ab948586e-s.p.dbea232f.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
3
3
  :HL["/_next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
4
- 0:{"buildId":"IDGX3MGCjqUE6NQVlug5A","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"ui-kit","paramType":null,"paramKey":"ui-kit","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false}},"isRootLayout":true},"staleTime":300}
4
+ 0:{"buildId":"-R3HvmmPKzJ9Jfjg7hRqd","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"ui-kit","paramType":null,"paramKey":"ui-kit","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false}},"isRootLayout":true},"staleTime":300}
@@ -3,7 +3,7 @@
3
3
  3:I[77982,["/_next/static/chunks/d11263c7e8894d27.js","/_next/static/chunks/5a1105a61e9390f8.js","/_next/static/chunks/3fef23e63934711e.js","/_next/static/chunks/bffbc071b1075ac3.js"],"default"]
4
4
  6:I[97367,["/_next/static/chunks/868f09ea8b0a7649.js"],"OutletBoundary"]
5
5
  7:"$Sreact.suspense"
6
- 0:{"buildId":"IDGX3MGCjqUE6NQVlug5A","rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/3fef23e63934711e.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/bffbc071b1075ac3.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"loading":null,"isPartial":false}
6
+ 0:{"buildId":"-R3HvmmPKzJ9Jfjg7hRqd","rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/3fef23e63934711e.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/bffbc071b1075ac3.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"loading":null,"isPartial":false}
7
7
  4:{}
8
8
  5:"$0:rsc:props:children:0:props:serverProvidedParams:params"
9
9
  8:null
@@ -1,4 +1,4 @@
1
1
  1:"$Sreact.fragment"
2
2
  2:I[39756,["/_next/static/chunks/868f09ea8b0a7649.js"],"default"]
3
3
  3:I[37457,["/_next/static/chunks/868f09ea8b0a7649.js"],"default"]
4
- 0:{"buildId":"IDGX3MGCjqUE6NQVlug5A","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false}
4
+ 0:{"buildId":"-R3HvmmPKzJ9Jfjg7hRqd","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false}
@@ -1,3 +1,3 @@
1
- module.exports=[37582,a=>{"use strict";var b=a.i(87924),c=a.i(68114);function d({title:a,subtitle:d,className:e}){return(0,b.jsxs)("div",{className:(0,c.cn)("space-y-2",e),children:[(0,b.jsx)("h1",{className:"text-2xl font-semibold text-foreground",children:a}),d?(0,b.jsx)("p",{className:"text-sm text-foreground-secondary",children:d}):null]})}a.s(["PageHeader",()=>d])},91119,86304,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(68114);let e=(0,c.forwardRef)(({className:a,variant:c="default",...e},f)=>(0,b.jsx)("div",{className:(0,d.cn)("rounded-[var(--radius-md)] bg-surface p-6",{"":"default"===c,"border border-border":"bordered"===c,"shadow-lg shadow-black/5 dark:shadow-black/20":"elevated"===c},a),ref:f,...e}));e.displayName="Card";let f=(0,c.forwardRef)(({className:a,...c},e)=>(0,b.jsx)("div",{className:(0,d.cn)("flex flex-col space-y-1.5 pb-4",a),ref:e,...c}));f.displayName="CardHeader";let g=(0,c.forwardRef)(({className:a,...c},e)=>(0,b.jsx)("h3",{className:(0,d.cn)("text-lg font-semibold leading-none tracking-tight text-foreground",a),ref:e,...c}));g.displayName="CardTitle";let h=(0,c.forwardRef)(({className:a,...c},e)=>(0,b.jsx)("p",{className:(0,d.cn)("text-sm text-foreground-secondary",a),ref:e,...c}));h.displayName="CardDescription";let i=(0,c.forwardRef)(({className:a,...c},e)=>(0,b.jsx)("div",{className:(0,d.cn)("",a),ref:e,...c}));i.displayName="CardContent";let j=(0,c.forwardRef)(({className:a,...c},e)=>(0,b.jsx)("div",{className:(0,d.cn)("flex items-center pt-4",a),ref:e,...c}));function k({className:a,variant:c="default",size:e="md",...f}){return(0,b.jsx)("span",{className:(0,d.cn)("inline-flex items-center font-medium rounded-[var(--radius-full)] transition-colors",{"bg-surface text-foreground-secondary":"default"===c,"bg-success/10 text-success":"success"===c,"bg-warning/10 text-warning":"warning"===c,"bg-error/10 text-error":"error"===c,"bg-info/10 text-info":"info"===c,"bg-transparent text-foreground-secondary border border-border":"outline"===c},{"px-2 py-0.5 text-xs":"sm"===e,"px-2.5 py-0.5 text-sm":"md"===e},a),...f})}j.displayName="CardFooter",a.s(["Card",()=>e,"CardContent",()=>i,"CardDescription",()=>h,"CardFooter",()=>j,"CardHeader",()=>f,"CardTitle",()=>g],91119),a.s(["Badge",()=>k],86304)},9269,65556,a=>{"use strict";var b=a.i(72131),c=a.i(72596);let d=null,e=0,f=-1,g=Date.now(),h=new Map,i=new Set;function j(a,b){return h.has(a)||h.set(a,new Set),h.get(a).add(b),1==++e&&(d||(console.log("[SSE Client] Opening connection (subscribers:",e+")"),d=new EventSource("/api/openclaw/events"),g=Date.now(),d.onopen=()=>{console.log("[SSE Client] Connected")},d.onmessage=a=>{try{let b=JSON.parse(a.data);!function(a){if(g=Date.now(),"number"==typeof a.seq){if(a.seq<=f)return console.debug("[SSE Client] Dropped duplicate event seq:",a.seq,"event:",a.event);f=a.seq}let b=a.event;for(let[c,d]of h)if("*"===c||(c.endsWith(".*")?b.startsWith(c.slice(0,-1)):b===c))for(let b of d)try{b(a)}catch(a){console.error("[SSE] Handler error:",a)}}(b)}catch(b){console.warn("[SSE Client] Failed to parse event:",b.message,"data:",a.data?.slice(0,100))}},d.onerror=a=>{for(let a of(console.warn("[SSE Client] Connection error (readyState:",d?.readyState+")"),i))try{a()}catch{}})),()=>{let c=h.get(a);c&&(c.delete(b),0===c.size&&h.delete(a)),--e<=0&&(e=0,d&&(console.log("[SSE Client] Closing connection"),d.close(),d=null),f=-1)}}function k(a){return i.add(a),()=>{i.delete(a)}}function l(){return g}a.s(["getLastEventTimestamp",()=>l,"onError",()=>k,"subscribe",()=>j],65556);let m=async a=>{let b=await fetch(a,{method:"POST"});return b.ok||console.warn(`[useOpenClaw] Status fetch returned ${b.status}`),b.json()},n=async a=>{let b=await fetch(a);return b.ok?(await b.json()).agents||[]:(console.warn(`[useOpenClaw] Agents fetch failed: ${b.status}`),[])};function o(){let{data:a,error:d,isLoading:e,mutate:f}=(0,c.default)("/api/openclaw/ping",m,{refreshInterval:6e4,revalidateOnFocus:!0,dedupingInterval:1e4,errorRetryCount:2}),g=a?.ok??!1,{data:h,isLoading:i,mutate:l}=(0,c.default)(g?"/api/openclaw/agents":null,n,{refreshInterval:3e5,revalidateOnFocus:!1,dedupingInterval:3e4}),o=(0,b.useCallback)(async()=>{await f(),g&&await l()},[f,l,g]),p=(0,b.useCallback)(()=>l(),[l]);return(0,b.useEffect)(()=>{let a=a=>{l()},b=j("castle.state",a=>{let b=a.payload;f(a=>({ok:b.isConnected,configured:a?.configured??!0,state:b.state,server:b.server}),{revalidate:!1}),b.isConnected&&l()}),c=j("agent.*",a),d=j("agentAvatarUpdated",a),e=k(()=>{console.warn("[useOpenClaw] SSE error — marking as disconnected"),f(a=>a?{...a,ok:!1,state:"disconnected"}:a,{revalidate:!1})});return()=>{b(),c(),d(),e()}},[f,l]),{status:a,isLoading:e,isError:!!d,isConnected:g,isConfigured:a?.configured??!1,latency:a?.latency_ms,serverVersion:a?.server?.version,agents:h??[],agentsLoading:i,refresh:o,refreshAgents:p}}a.s(["useOpenClaw",()=>o],9269)},92e3,a=>{"use strict";let b=(0,a.i(70106).default)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);a.s(["AlertCircle",()=>b],92e3)},82434,a=>{"use strict";let b=(0,a.i(70106).default)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);a.s(["Bot",()=>b],82434)},33591,a=>{"use strict";let b=(0,a.i(70106).default)("wifi-off",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);a.s(["WifiOff",()=>b],33591)},69520,a=>{"use strict";let b=(0,a.i(70106).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);a.s(["RefreshCw",()=>b],69520)},96221,a=>{"use strict";let b=(0,a.i(70106).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);a.s(["Loader2",()=>b],96221)},45222,a=>{"use strict";let b=(0,a.i(70106).default)("message-circle",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]]);a.s(["MessageCircle",()=>b],45222)},35112,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactDOM},46842,a=>{"use strict";let b=(0,a.i(70106).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);a.s(["User",()=>b],46842)},85259,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(35112),e=a.i(68114);function f({children:a,content:f,side:g="right",className:h,delay:i=0}){let[j,k]=(0,c.useState)(!1),[l,m]=(0,c.useState)(!1),n=(0,c.useRef)(null),[o,p]=(0,c.useState)({x:0,y:0}),[q,r]=(0,c.useState)(!1),s=(0,c.useRef)(null),t=(0,c.useRef)(null);(0,c.useEffect)(()=>(m(!0),()=>{n.current&&clearTimeout(n.current)}),[]);let u=(0,c.useCallback)(()=>{if(s.current&&t.current){let a=s.current.getBoundingClientRect(),b=t.current.getBoundingClientRect(),c=0,d=0;switch(g){case"top":c=a.left+a.width/2-b.width/2,d=a.top-b.height-10;break;case"bottom":c=a.left+a.width/2-b.width/2,d=a.bottom+10;break;case"left":c=a.left-b.width-10,d=a.top+a.height/2-b.height/2;break;default:c=a.right+10,d=a.top+a.height/2-b.height/2}p({x:c,y:d}),r(!0)}},[g]);return(0,c.useLayoutEffect)(()=>{if(!j)return void r(!1);u();let a=()=>u();return window.addEventListener("resize",a),window.addEventListener("scroll",a,!0),()=>{window.removeEventListener("resize",a),window.removeEventListener("scroll",a,!0)}},[j,u]),(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("div",{ref:s,onMouseEnter:()=>{i>0?n.current=setTimeout(()=>k(!0),i):k(!0)},onMouseLeave:()=>{n.current&&(clearTimeout(n.current),n.current=null),k(!1)},className:h,children:a}),j&&l?(0,d.createPortal)((0,b.jsx)("div",{ref:t,className:"fixed z-[9999] pointer-events-none",style:{left:o.x,top:o.y,visibility:q?"visible":"hidden"},children:(0,b.jsx)("div",{className:(0,e.cn)("transition-all duration-150 ease-out",q?"opacity-100 scale-100":"opacity-0 scale-95","right"===g&&(q?"translate-x-0":"-translate-x-2"),"left"===g&&(q?"translate-x-0":"translate-x-2"),"top"===g&&(q?"translate-y-0":"translate-y-2"),"bottom"===g&&(q?"translate-y-0":"-translate-y-2")),children:(0,b.jsxs)("div",{className:"relative bg-[#1a1a1a] text-white text-sm font-medium px-3 py-1.5 rounded-[4px] whitespace-nowrap shadow-xl shadow-black/25",children:[f,"right"===g&&(0,b.jsx)("div",{className:"absolute -left-[7px] top-1/2 -translate-y-1/2",children:(0,b.jsx)("div",{className:"w-0 h-0 border-t-[8px] border-t-transparent border-b-[8px] border-b-transparent border-r-[8px] border-r-[#1a1a1a]"})}),"left"===g&&(0,b.jsx)("div",{className:"absolute -right-[7px] top-1/2 -translate-y-1/2",children:(0,b.jsx)("div",{className:"w-0 h-0 border-t-[8px] border-t-transparent border-b-[8px] border-b-transparent border-l-[8px] border-l-[#1a1a1a]"})}),"top"===g&&(0,b.jsx)("div",{className:"absolute -bottom-[7px] left-1/2 -translate-x-1/2",children:(0,b.jsx)("div",{className:"w-0 h-0 border-l-[8px] border-l-transparent border-r-[8px] border-r-transparent border-t-[8px] border-t-[#1a1a1a]"})}),"bottom"===g&&(0,b.jsx)("div",{className:"absolute -top-[7px] left-1/2 -translate-x-1/2",children:(0,b.jsx)("div",{className:"w-0 h-0 border-l-[8px] border-l-transparent border-r-[8px] border-r-transparent border-b-[8px] border-b-[#1a1a1a]"})})]})})}),document.body):null]})}a.s(["Tooltip",()=>f])},32138,a=>{"use strict";var b=a.i(72596);let c=a=>fetch(a).then(a=>a.json());function d(){let{data:a,mutate:d,isLoading:e}=(0,b.default)("/api/settings",c,{revalidateOnFocus:!0,dedupingInterval:5e3}),f=a?.displayName||"";return{displayName:f,avatarUrl:a?.avatarPath?`/api/settings/avatar?v=${encodeURIComponent(a.avatarPath)}`:null,tooltips:a?.tooltips!=="false",isLoading:e,refresh:()=>d()}}a.s(["useUserSettings",()=>d])},72233,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(68114);let e=(0,c.forwardRef)(({className:a,size:c="md",status:e,statusPulse:f,children:g,...h},i)=>(0,b.jsxs)("div",{className:"relative inline-block shrink-0",children:[(0,b.jsx)("div",{className:(0,d.cn)("relative flex shrink-0 overflow-hidden rounded-[4px] bg-surface border border-border",{"h-9 w-9":"sm"===c,"h-10 w-10":"md"===c,"h-12 w-12":"lg"===c},a),ref:i,...h,children:g}),e&&(0,b.jsx)("span",{className:(0,d.cn)("absolute block rounded-full ring-2 ring-background",{"h-2.5 w-2.5 -bottom-0.5 -right-0.5":"sm"===c,"h-3 w-3 -bottom-0.5 -right-0.5":"md"===c,"h-3.5 w-3.5 -bottom-0.5 -right-0.5":"lg"===c},{"bg-success":"online"===e,"bg-foreground-muted":"offline"===e,"bg-error":"busy"===e,"bg-warning":"away"===e},f&&"animate-pulse")})]}));e.displayName="Avatar";let f=(0,c.forwardRef)(({className:a,alt:c,...e},f)=>(0,b.jsx)("img",{className:(0,d.cn)("aspect-square h-full w-full object-cover",a),alt:c,ref:f,...e}));f.displayName="AvatarImage";let g=(0,c.forwardRef)(({className:a,...c},e)=>(0,b.jsx)("span",{className:(0,d.cn)("flex h-full w-full items-center justify-center bg-surface text-foreground-secondary font-medium text-sm",a),ref:e,...c}));g.displayName="AvatarFallback",a.s(["Avatar",()=>e,"AvatarFallback",()=>g,"AvatarImage",()=>f])},91693,30617,65341,70880,21161,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(13902),e=a.i(70106);let f=(0,e.default)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);a.s(["LayoutDashboard",()=>f],30617);var g=a.i(45222),h=a.i(46842);let i=(0,e.default)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);a.s(["Sun",()=>i],65341);let j=(0,e.default)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]);a.s(["Moon",()=>j],70880);let k=(0,e.default)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);a.s(["Settings",()=>k],21161);var l=a.i(68114);function m({className:a}){return(0,b.jsx)("svg",{viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",className:(0,l.cn)("fill-current",a),children:(0,b.jsxs)("g",{children:[(0,b.jsx)("path",{d:"m124.809 408.11h262.382v103.89h-262.382z"}),(0,b.jsx)("path",{d:"m273.162 123.55h134.646l-34.459-44.772 33.515-46.459h-133.702v-32.319h-29.985v196.446h29.985z"}),(0,b.jsx)("path",{d:"m347.45 281.985h-50.335v-56.54h-79.107v56.54h-53.643v-56.54h-91.962v111.141c0 23.448 19.075 42.523 42.523 42.523h282.147c23.448 0 42.524-19.075 42.524-42.523v-111.14h-92.147z"})]})})}var n=a.i(85259),o=a.i(50944),p=a.i(32138),q=a.i(35240),r=a.i(72233);let s=[{id:"dashboard",label:"Dashboard",icon:f,href:"/"},{id:"chat",label:"Chat",icon:g.MessageCircle,href:"/chat"}];function t({activeItem:a="dashboard",onNavigate:c,className:d,variant:e="solid"}){let f=(0,o.usePathname)(),g=(0,o.useRouter)(),h=!c,{tooltips:i}=(0,p.useUserSettings)(),j=f&&"/"!==f&&f.startsWith("/chat")?"chat":"dashboard",k=h?j:a;return(0,b.jsxs)("aside",{className:(0,l.cn)("fixed top-[20px] left-[24px] bottom-[20px] flex flex-col z-40 rounded-[var(--radius-md)] w-14","glass"===e?"glass":"bg-surface border border-border",d),children:[(0,b.jsx)("div",{className:"flex items-center justify-center pt-5 pb-[60px]",children:(0,b.jsx)("button",{type:"button","aria-label":"Go to Dashboard",onClick:()=>h?g.push("/"):c?.("dashboard"),className:"flex items-center justify-center transition-opacity hover:opacity-85 cursor-pointer",children:(0,b.jsx)(m,{className:"h-[36px] w-[36px] min-h-[36px] min-w-[36px] shrink-0 text-[var(--logo-color)] -mt-[3px]"})})}),(0,b.jsx)("nav",{className:"flex-1 space-y-1 px-2",children:s.map(a=>{let d=k===a.id,e=(0,b.jsx)("button",{onClick:()=>h?g.push(a.href):c?.(a.id),className:(0,l.cn)("flex items-center justify-center w-full rounded-[4px] p-2.5 cursor-pointer",d?"bg-accent/10 text-accent":"text-foreground-secondary hover:text-foreground hover:bg-surface-hover"),children:(0,b.jsx)(a.icon,{className:"h-5 w-5 shrink-0"})});return i?(0,b.jsx)(n.Tooltip,{content:a.label,side:"right",children:e},a.id):(0,b.jsx)("div",{children:e},a.id)})}),(0,b.jsx)(u,{})]})}function u(){let[a,e]=(0,c.useState)(!1),{theme:f,setTheme:g}=(0,d.useTheme)(),[l,m]=(0,c.useState)(!1),n=(0,o.useRouter)(),{avatarUrl:s,isLoading:t}=(0,p.useUserSettings)(),{getStatus:u}=(0,q.useAgentStatus)(),v=u(q.USER_STATUS_ID),w=(0,c.useRef)(null);(0,c.useEffect)(()=>{m(!0)},[]),(0,c.useEffect)(()=>{function a(a){w.current&&!w.current.contains(a.target)&&e(!1)}return document.addEventListener("mousedown",a),()=>document.removeEventListener("mousedown",a)},[]);let x="dark"===f;return(0,b.jsxs)("div",{ref:w,className:"relative flex justify-center pb-[8px]",children:[(0,b.jsx)("button",{onClick:()=>e(!a),className:"group flex items-center justify-center rounded-[4px] cursor-pointer transition-opacity",children:(0,b.jsx)(r.Avatar,{size:"sm",status:"active"===v?"online":"offline",children:t?(0,b.jsx)(r.AvatarFallback,{className:"skeleton"}):s?(0,b.jsx)(r.AvatarImage,{src:s,alt:"You",className:"grayscale group-hover:grayscale-0 transition-all duration-200"}):(0,b.jsx)(r.AvatarFallback,{className:"text-foreground-secondary",children:(0,b.jsx)(h.User,{className:"h-5 w-5"})})})}),a&&(0,b.jsxs)("div",{className:"absolute left-[calc(100%+8px)] bottom-0 w-48 rounded-[var(--radius-md)] bg-surface border border-border shadow-xl py-1 z-50",children:[(0,b.jsxs)("button",{onClick:()=>{e(!1),n.push("/settings")},className:"flex items-center gap-3 w-full px-4 py-2.5 text-sm text-foreground-secondary hover:text-foreground hover:bg-surface-hover cursor-pointer",children:[(0,b.jsx)(k,{className:"h-4 w-4"}),"Settings"]}),l&&(0,b.jsxs)("button",{onClick:()=>{g(x?"light":"dark"),e(!1)},className:"flex items-center gap-3 w-full px-4 py-2.5 text-sm text-foreground-secondary hover:text-foreground hover:bg-surface-hover cursor-pointer",children:[x?(0,b.jsx)(i,{className:"h-4 w-4"}):(0,b.jsx)(j,{className:"h-4 w-4"}),x?"Light mode":"Dark mode"]})]})]})}a.s(["Sidebar",()=>t],91693)},13513,a=>{"use strict";let b=(0,a.i(70106).default)("camera",[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);a.s(["Camera",()=>b],13513)},40777,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(82434),e=a.i(70106);let f=(0,e.default)("wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]]);var g=a.i(33591);let h=(0,e.default)("crown",[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]]);var i=a.i(69520),j=a.i(96221),k=a.i(92e3),l=a.i(13513),m=a.i(91693),n=a.i(37582),o=a.i(91119),p=a.i(86304),q=a.i(72233),r=a.i(68114),s=a.i(9269),t=a.i(35240),u=a.i(59807);function v({agent:a,isPrimary:d,isConnected:e,onAvatarUpdated:f}){let g=(0,c.useRef)(null),[i,k]=(0,c.useState)(!1),{getStatus:m}=(0,t.useAgentStatus)(),n=m(a.id),s=(0,c.useCallback)(()=>{e&&g.current?.click()},[e]),u=(0,c.useCallback)(async b=>{let c=b.target.files?.[0];if(c){if(b.target.value="",c.size>5242880)return void alert("Image too large (max 5MB)");k(!0);try{let b=new FormData;b.append("avatar",c);let d=await fetch(`/api/openclaw/agents/${a.id}/avatar`,{method:"POST",body:b}),e=await d.json();if(!d.ok)return void alert(e.error||"Failed to update avatar");f()}catch{alert("Failed to upload avatar")}finally{k(!1)}}},[a.id,f]);return(0,b.jsx)(o.Card,{variant:"bordered",className:(0,r.cn)("py-4 pl-5 pr-4 transition-colors min-h-[80px] flex items-center",e?"hover:border-border-hover":"opacity-60"),children:(0,b.jsxs)("div",{className:"flex items-center justify-between flex-1",children:[(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsxs)("button",{type:"button",onClick:s,disabled:!e||i,className:"relative group rounded-[4px] focus:outline-none focus-visible:ring-2 focus-visible:ring-accent leading-[0]",title:e?"Click to change avatar":void 0,children:[(0,b.jsx)(q.Avatar,{size:"md",status:function(a,b){if(!b)return"offline";switch(a){case"thinking":return"away";case"active":return"online";default:return"offline"}}(n,e),statusPulse:"thinking"===n,children:a.avatar?(0,b.jsx)(q.AvatarImage,{src:a.avatar,alt:a.name,className:(0,r.cn)(!e&&"grayscale")}):(0,b.jsx)(q.AvatarFallback,{children:a.emoji||a.name.slice(0,2).toUpperCase()})}),e&&!i&&(0,b.jsx)("div",{className:"absolute inset-0 rounded-[4px] bg-black/50 opacity-0 group-hover:opacity-100 transition-opacity flex items-center justify-center",children:(0,b.jsx)(l.Camera,{className:"h-4 w-4 text-white"})}),i&&(0,b.jsx)("div",{className:"absolute inset-0 rounded-[4px] bg-black/50 flex items-center justify-center",children:(0,b.jsx)(j.Loader2,{className:"h-4 w-4 text-white animate-spin"})})]}),(0,b.jsx)("input",{ref:g,type:"file",accept:"image/png,image/jpeg,image/webp,image/gif",className:"hidden",onChange:u}),(0,b.jsxs)("div",{children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("p",{className:"text-sm font-medium text-foreground",children:a.name}),d&&(0,b.jsxs)("span",{className:"flex items-center gap-1 text-xs text-accent",children:[(0,b.jsx)(h,{className:"h-3 w-3"}),"Primary"]})]}),(0,b.jsx)("p",{className:"text-xs text-foreground-muted",children:e?a.description||"OpenClaw Agent":"Unreachable"})]})]}),(0,b.jsx)(p.Badge,{variant:function(a,b){if(!b)return"outline";switch(a){case"thinking":return"warning";case"active":return"success";default:return"outline"}}(n,e),size:"sm",children:function(a,b){if(!b)return"Offline";switch(a){case"thinking":return"Thinking";case"active":return"Active";default:return"Idle"}}(n,e)})]})})}function w({isConnected:a,isLoading:c,isConfigured:d,serverVersion:e,latency:h,error:k,onRefresh:l}){return(0,b.jsx)(o.Card,{variant:"bordered",className:"mb-8",children:(0,b.jsxs)(o.CardContent,{className:"flex items-center justify-between",children:[(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[c?(0,b.jsx)(j.Loader2,{className:"h-5 w-5 text-foreground-muted animate-spin"}):a?(0,b.jsx)(f,{className:"h-5 w-5 text-success"}):(0,b.jsx)(g.WifiOff,{className:"h-5 w-5 text-error"}),(0,b.jsxs)("div",{children:[(0,b.jsx)("p",{className:"text-sm font-medium text-foreground",children:"OpenClaw Gateway"}),(0,b.jsx)("p",{className:"text-xs text-foreground-muted",children:(()=>{if(c)return"Connecting to Gateway...";if(!d)return"Run 'castle setup' to configure";if(a){let a=["Connected"];return e&&(a[0]=`Connected to OpenClaw ${e}`),h&&a.push(`${h}ms`),a.join(" · ")}return k||"Not connected"})()})]})]}),(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("button",{onClick:l,className:"p-1.5 rounded-md text-foreground-muted hover:text-foreground hover:bg-surface-hover transition-colors",title:"Refresh connection",children:(0,b.jsx)(i.RefreshCw,{className:"h-4 w-4"})}),c?(0,b.jsx)(p.Badge,{variant:"outline",children:"Connecting..."}):(0,b.jsx)(p.Badge,{variant:a?"success":"error",children:a?"Connected":"Disconnected"})]})]})})}function x(){return(0,b.jsx)("div",{className:"grid gap-3",children:[1,2,3].map(a=>(0,b.jsx)(o.Card,{variant:"bordered",className:"p-4 min-h-[80px] flex items-center",children:(0,b.jsxs)("div",{className:"flex items-center justify-between flex-1",children:[(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)("div",{className:"skeleton h-10 w-10 rounded-full"}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)("div",{className:"skeleton h-4 w-24 rounded"}),(0,b.jsx)("div",{className:"skeleton h-3 w-32 rounded"})]})]}),(0,b.jsx)("div",{className:"skeleton h-5 w-14 rounded-full"})]})},a))})}function y({isConfigured:a}){return(0,b.jsx)(o.Card,{variant:"bordered",className:"p-8",children:(0,b.jsx)("div",{className:"flex flex-col items-center text-center gap-3",children:a?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(k.AlertCircle,{className:"h-8 w-8 text-foreground-muted"}),(0,b.jsxs)("div",{children:[(0,b.jsx)("p",{className:"text-sm font-medium text-foreground",children:"No agents discovered"}),(0,b.jsx)("p",{className:"text-xs text-foreground-muted mt-1",children:"Make sure OpenClaw Gateway is running and agents are configured."})]})]}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(d.Bot,{className:"h-8 w-8 text-foreground-muted"}),(0,b.jsxs)("div",{children:[(0,b.jsx)("p",{className:"text-sm font-medium text-foreground",children:"Welcome to Castle"}),(0,b.jsxs)("p",{className:"text-xs text-foreground-muted mt-1",children:["Run ",(0,b.jsx)("code",{className:"px-1 py-0.5 bg-surface-hover rounded text-xs",children:"castle setup"})," to connect to your OpenClaw Gateway."]})]})]})})})}function z(){let{status:a,isLoading:c,isConnected:e,isConfigured:f,latency:g,serverVersion:h,agents:i,agentsLoading:j,refresh:k}=(0,s.useOpenClaw)();return(0,b.jsxs)("div",{className:"min-h-screen bg-background",children:[(0,b.jsx)(m.Sidebar,{variant:"solid"}),(0,b.jsxs)("main",{className:"min-h-screen ml-[80px]",children:[(0,b.jsxs)("div",{className:"px-8 py-5 flex items-center justify-between gap-4 border-b border-border",children:[(0,b.jsx)(n.PageHeader,{title:"Castle",subtitle:"The multi-agent workspace"}),(0,b.jsx)(u.SearchTrigger,{})]}),(0,b.jsxs)("div",{className:"p-8 max-w-4xl",children:[(0,b.jsx)(w,{isConnected:e,isLoading:c,isConfigured:f,serverVersion:h,latency:g,error:a?.error,onRefresh:k}),(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsxs)("h2",{className:"text-lg font-semibold text-foreground flex items-center gap-2",children:[(0,b.jsx)(d.Bot,{className:"h-5 w-5 text-foreground-secondary"}),"Agents"]}),!c&&i.length>0&&(0,b.jsxs)("span",{className:"text-sm text-foreground-muted",children:[i.length," agent",1!==i.length?"s":""," discovered"]})]}),j||c&&0===i.length?(0,b.jsx)(x,{}):i.length>0?(0,b.jsx)("div",{className:"grid gap-3",children:i.map((a,c)=>(0,b.jsx)(v,{agent:a,isPrimary:0===c,isConnected:e,onAvatarUpdated:k},a.id))}):(0,b.jsx)(y,{isConfigured:f})]})]})]})]})}a.s(["default",()=>z],40777)}];
1
+ module.exports=[37582,a=>{"use strict";var b=a.i(87924),c=a.i(68114);function d({title:a,subtitle:d,className:e}){return(0,b.jsxs)("div",{className:(0,c.cn)("space-y-2",e),children:[(0,b.jsx)("h1",{className:"text-2xl font-semibold text-foreground",children:a}),d?(0,b.jsx)("p",{className:"text-sm text-foreground-secondary",children:d}):null]})}a.s(["PageHeader",()=>d])},91119,86304,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(68114);let e=(0,c.forwardRef)(({className:a,variant:c="default",...e},f)=>(0,b.jsx)("div",{className:(0,d.cn)("rounded-[var(--radius-md)] bg-surface p-6",{"":"default"===c,"border border-border":"bordered"===c,"shadow-lg shadow-black/5 dark:shadow-black/20":"elevated"===c},a),ref:f,...e}));e.displayName="Card";let f=(0,c.forwardRef)(({className:a,...c},e)=>(0,b.jsx)("div",{className:(0,d.cn)("flex flex-col space-y-1.5 pb-4",a),ref:e,...c}));f.displayName="CardHeader";let g=(0,c.forwardRef)(({className:a,...c},e)=>(0,b.jsx)("h3",{className:(0,d.cn)("text-lg font-semibold leading-none tracking-tight text-foreground",a),ref:e,...c}));g.displayName="CardTitle";let h=(0,c.forwardRef)(({className:a,...c},e)=>(0,b.jsx)("p",{className:(0,d.cn)("text-sm text-foreground-secondary",a),ref:e,...c}));h.displayName="CardDescription";let i=(0,c.forwardRef)(({className:a,...c},e)=>(0,b.jsx)("div",{className:(0,d.cn)("",a),ref:e,...c}));i.displayName="CardContent";let j=(0,c.forwardRef)(({className:a,...c},e)=>(0,b.jsx)("div",{className:(0,d.cn)("flex items-center pt-4",a),ref:e,...c}));function k({className:a,variant:c="default",size:e="md",...f}){return(0,b.jsx)("span",{className:(0,d.cn)("inline-flex items-center font-medium rounded-[var(--radius-full)] transition-colors",{"bg-surface text-foreground-secondary":"default"===c,"bg-success/10 text-success":"success"===c,"bg-warning/10 text-warning":"warning"===c,"bg-error/10 text-error":"error"===c,"bg-info/10 text-info":"info"===c,"bg-transparent text-foreground-secondary border border-border":"outline"===c},{"px-2 py-0.5 text-xs":"sm"===e,"px-2.5 py-0.5 text-sm":"md"===e},a),...f})}j.displayName="CardFooter",a.s(["Card",()=>e,"CardContent",()=>i,"CardDescription",()=>h,"CardFooter",()=>j,"CardHeader",()=>f,"CardTitle",()=>g],91119),a.s(["Badge",()=>k],86304)},9269,65556,a=>{"use strict";var b=a.i(72131),c=a.i(72596);let d=null,e=0,f=-1,g=Date.now(),h=new Map,i=new Set;function j(a,b){return h.has(a)||h.set(a,new Set),h.get(a).add(b),1==++e&&(d||(console.log("[SSE Client] Opening connection (subscribers:",e+")"),d=new EventSource("/api/openclaw/events"),g=Date.now(),d.onopen=()=>{console.log("[SSE Client] Connected")},d.onmessage=a=>{try{let b=JSON.parse(a.data);!function(a){if(g=Date.now(),"number"==typeof a.seq){if(a.seq<=f)return console.debug("[SSE Client] Dropped duplicate event seq:",a.seq,"event:",a.event);f=a.seq}let b=a.event;for(let[c,d]of h)if("*"===c||(c.endsWith(".*")?b.startsWith(c.slice(0,-1)):b===c))for(let b of d)try{b(a)}catch(a){console.error("[SSE] Handler error:",a)}}(b)}catch(b){console.warn("[SSE Client] Failed to parse event:",b.message,"data:",a.data?.slice(0,100))}},d.onerror=a=>{for(let a of(console.warn("[SSE Client] Connection error (readyState:",d?.readyState+")"),i))try{a()}catch{}})),()=>{let c=h.get(a);c&&(c.delete(b),0===c.size&&h.delete(a)),--e<=0&&(e=0,d&&(console.log("[SSE Client] Closing connection"),d.close(),d=null),f=-1)}}function k(a){return i.add(a),()=>{i.delete(a)}}function l(){return g}a.s(["getLastEventTimestamp",()=>l,"onError",()=>k,"subscribe",()=>j],65556);let m=async a=>{let b=await fetch(a,{method:"POST"});return b.ok||console.warn(`[useOpenClaw] Status fetch returned ${b.status}`),b.json()},n=async a=>{let b=await fetch(a);return b.ok?(await b.json()).agents||[]:(console.warn(`[useOpenClaw] Agents fetch failed: ${b.status}`),[])};function o(){let{data:a,error:d,isLoading:e,mutate:f}=(0,c.default)("/api/openclaw/ping",m,{refreshInterval:6e4,revalidateOnFocus:!0,dedupingInterval:1e4,errorRetryCount:2}),g=a?.ok??!1,{data:h,isLoading:i,mutate:l}=(0,c.default)(g?"/api/openclaw/agents":null,n,{refreshInterval:3e5,revalidateOnFocus:!1,dedupingInterval:3e4}),o=(0,b.useCallback)(async()=>{await f(),g&&await l()},[f,l,g]),p=(0,b.useCallback)(()=>l(),[l]);return(0,b.useEffect)(()=>{let a=a=>{l()},b=j("castle.state",a=>{let b=a.payload;f(a=>({ok:b.isConnected,configured:a?.configured??!0,state:b.state,server:b.server}),{revalidate:!1}),b.isConnected&&l()}),c=j("agent.*",a),d=j("agentAvatarUpdated",a),e=k(()=>{console.warn("[useOpenClaw] SSE error — marking as disconnected"),f(a=>a?{...a,ok:!1,state:"disconnected"}:a,{revalidate:!1})});return()=>{b(),c(),d(),e()}},[f,l]),{status:a,isLoading:e,isError:!!d,isConnected:g,isConfigured:a?.configured??!1,latency:a?.latency_ms,serverVersion:a?.server?.version,agents:h??[],agentsLoading:i,refresh:o,refreshAgents:p}}a.s(["useOpenClaw",()=>o],9269)},92e3,a=>{"use strict";let b=(0,a.i(70106).default)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);a.s(["AlertCircle",()=>b],92e3)},82434,a=>{"use strict";let b=(0,a.i(70106).default)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);a.s(["Bot",()=>b],82434)},33591,a=>{"use strict";let b=(0,a.i(70106).default)("wifi-off",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);a.s(["WifiOff",()=>b],33591)},69520,a=>{"use strict";let b=(0,a.i(70106).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);a.s(["RefreshCw",()=>b],69520)},96221,a=>{"use strict";let b=(0,a.i(70106).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);a.s(["Loader2",()=>b],96221)},45222,a=>{"use strict";let b=(0,a.i(70106).default)("message-circle",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]]);a.s(["MessageCircle",()=>b],45222)},35112,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactDOM},46842,a=>{"use strict";let b=(0,a.i(70106).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);a.s(["User",()=>b],46842)},85259,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(35112),e=a.i(68114);function f({children:a,content:f,side:g="right",className:h,delay:i=0}){let[j,k]=(0,c.useState)(!1),[l,m]=(0,c.useState)(!1),n=(0,c.useRef)(null),[o,p]=(0,c.useState)({x:0,y:0}),[q,r]=(0,c.useState)(!1),s=(0,c.useRef)(null),t=(0,c.useRef)(null);(0,c.useEffect)(()=>(m(!0),()=>{n.current&&clearTimeout(n.current)}),[]);let u=(0,c.useCallback)(()=>{if(s.current&&t.current){let a=s.current.getBoundingClientRect(),b=t.current.getBoundingClientRect(),c=0,d=0;switch(g){case"top":c=a.left+a.width/2-b.width/2,d=a.top-b.height-10;break;case"bottom":c=a.left+a.width/2-b.width/2,d=a.bottom+10;break;case"left":c=a.left-b.width-10,d=a.top+a.height/2-b.height/2;break;default:c=a.right+10,d=a.top+a.height/2-b.height/2}p({x:c,y:d}),r(!0)}},[g]);return(0,c.useLayoutEffect)(()=>{if(!j)return void r(!1);u();let a=()=>u();return window.addEventListener("resize",a),window.addEventListener("scroll",a,!0),()=>{window.removeEventListener("resize",a),window.removeEventListener("scroll",a,!0)}},[j,u]),(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("div",{ref:s,onMouseEnter:()=>{i>0?n.current=setTimeout(()=>k(!0),i):k(!0)},onMouseLeave:()=>{n.current&&(clearTimeout(n.current),n.current=null),k(!1)},className:h,children:a}),j&&l?(0,d.createPortal)((0,b.jsx)("div",{ref:t,className:"fixed z-[9999] pointer-events-none",style:{left:o.x,top:o.y,visibility:q?"visible":"hidden"},children:(0,b.jsx)("div",{className:(0,e.cn)("transition-all duration-150 ease-out",q?"opacity-100 scale-100":"opacity-0 scale-95","right"===g&&(q?"translate-x-0":"-translate-x-2"),"left"===g&&(q?"translate-x-0":"translate-x-2"),"top"===g&&(q?"translate-y-0":"translate-y-2"),"bottom"===g&&(q?"translate-y-0":"-translate-y-2")),children:(0,b.jsxs)("div",{className:"relative bg-[#1a1a1a] text-white text-sm font-medium px-3 py-1.5 rounded-[4px] whitespace-nowrap shadow-xl shadow-black/25",children:[f,"right"===g&&(0,b.jsx)("div",{className:"absolute -left-[7px] top-1/2 -translate-y-1/2",children:(0,b.jsx)("div",{className:"w-0 h-0 border-t-[8px] border-t-transparent border-b-[8px] border-b-transparent border-r-[8px] border-r-[#1a1a1a]"})}),"left"===g&&(0,b.jsx)("div",{className:"absolute -right-[7px] top-1/2 -translate-y-1/2",children:(0,b.jsx)("div",{className:"w-0 h-0 border-t-[8px] border-t-transparent border-b-[8px] border-b-transparent border-l-[8px] border-l-[#1a1a1a]"})}),"top"===g&&(0,b.jsx)("div",{className:"absolute -bottom-[7px] left-1/2 -translate-x-1/2",children:(0,b.jsx)("div",{className:"w-0 h-0 border-l-[8px] border-l-transparent border-r-[8px] border-r-transparent border-t-[8px] border-t-[#1a1a1a]"})}),"bottom"===g&&(0,b.jsx)("div",{className:"absolute -top-[7px] left-1/2 -translate-x-1/2",children:(0,b.jsx)("div",{className:"w-0 h-0 border-l-[8px] border-l-transparent border-r-[8px] border-r-transparent border-b-[8px] border-b-[#1a1a1a]"})})]})})}),document.body):null]})}a.s(["Tooltip",()=>f])},32138,a=>{"use strict";var b=a.i(72596);let c=a=>fetch(a).then(a=>a.json());function d(){let{data:a,mutate:d,isLoading:e}=(0,b.default)("/api/settings",c,{revalidateOnFocus:!0,dedupingInterval:5e3}),f=a?.displayName||"";return{displayName:f,avatarUrl:a?.avatarPath?`/api/settings/avatar?v=${encodeURIComponent(a.avatarPath)}`:null,tooltips:a?.tooltips!=="false",isLoading:e,refresh:()=>d()}}a.s(["useUserSettings",()=>d])},72233,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(68114);let e=(0,c.forwardRef)(({className:a,size:c="md",status:e,statusPulse:f,children:g,...h},i)=>(0,b.jsxs)("div",{className:"relative inline-block shrink-0",children:[(0,b.jsx)("div",{className:(0,d.cn)("relative flex shrink-0 overflow-hidden rounded-[4px] bg-surface border border-border",{"h-9 w-9":"sm"===c,"h-10 w-10":"md"===c,"h-12 w-12":"lg"===c},a),ref:i,...h,children:g}),e&&(0,b.jsx)("span",{className:(0,d.cn)("absolute block rounded-full ring-2 ring-background",{"h-2.5 w-2.5 -bottom-0.5 -right-0.5":"sm"===c,"h-3 w-3 -bottom-0.5 -right-0.5":"md"===c,"h-3.5 w-3.5 -bottom-0.5 -right-0.5":"lg"===c},{"bg-success":"online"===e,"bg-foreground-muted":"offline"===e,"bg-error":"busy"===e,"bg-warning":"away"===e},f&&"animate-pulse")})]}));e.displayName="Avatar";let f=(0,c.forwardRef)(({className:a,alt:c,...e},f)=>(0,b.jsx)("img",{className:(0,d.cn)("aspect-square h-full w-full object-cover",a),alt:c,ref:f,...e}));f.displayName="AvatarImage";let g=(0,c.forwardRef)(({className:a,...c},e)=>(0,b.jsx)("span",{className:(0,d.cn)("flex h-full w-full items-center justify-center bg-surface text-foreground-secondary font-medium text-sm",a),ref:e,...c}));g.displayName="AvatarFallback",a.s(["Avatar",()=>e,"AvatarFallback",()=>g,"AvatarImage",()=>f])},91693,30617,65341,70880,21161,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(13902),e=a.i(70106);let f=(0,e.default)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);a.s(["LayoutDashboard",()=>f],30617);var g=a.i(45222),h=a.i(46842);let i=(0,e.default)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);a.s(["Sun",()=>i],65341);let j=(0,e.default)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]);a.s(["Moon",()=>j],70880);let k=(0,e.default)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);a.s(["Settings",()=>k],21161);var l=a.i(68114);function m({className:a}){return(0,b.jsx)("svg",{viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",className:(0,l.cn)("fill-current",a),children:(0,b.jsxs)("g",{children:[(0,b.jsx)("path",{d:"m124.809 408.11h262.382v103.89h-262.382z"}),(0,b.jsx)("path",{d:"m273.162 123.55h134.646l-34.459-44.772 33.515-46.459h-133.702v-32.319h-29.985v196.446h29.985z"}),(0,b.jsx)("path",{d:"m347.45 281.985h-50.335v-56.54h-79.107v56.54h-53.643v-56.54h-91.962v111.141c0 23.448 19.075 42.523 42.523 42.523h282.147c23.448 0 42.524-19.075 42.524-42.523v-111.14h-92.147z"})]})})}var n=a.i(85259),o=a.i(50944),p=a.i(32138),q=a.i(35240),r=a.i(72233);let s=[{id:"dashboard",label:"Dashboard",icon:f,href:"/"},{id:"chat",label:"Chat",icon:g.MessageCircle,href:"/chat"}];function t({activeItem:a="dashboard",onNavigate:c,className:d,variant:e="solid"}){let f=(0,o.usePathname)(),g=(0,o.useRouter)(),h=!c,{tooltips:i}=(0,p.useUserSettings)(),j=f&&"/"!==f&&f.startsWith("/chat")?"chat":"dashboard",k=h?j:a;return(0,b.jsxs)("aside",{className:(0,l.cn)("fixed top-[20px] left-[24px] bottom-[20px] flex flex-col z-40 rounded-[var(--radius-md)] w-14","glass"===e?"glass":"bg-surface border border-border",d),children:[(0,b.jsx)("div",{className:"flex items-center justify-center pt-5 pb-[60px]",children:(0,b.jsx)("button",{type:"button","aria-label":"Go to Dashboard",onClick:()=>h?g.push("/"):c?.("dashboard"),className:"flex items-center justify-center transition-opacity hover:opacity-85 cursor-pointer",children:(0,b.jsx)(m,{className:"h-[36px] w-[36px] min-h-[36px] min-w-[36px] shrink-0 text-[var(--logo-color)] -mt-[3px]"})})}),(0,b.jsx)("nav",{className:"flex-1 space-y-1 px-2",children:s.map(a=>{let d=k===a.id,e=(0,b.jsx)("button",{onClick:()=>h?g.push(a.href):c?.(a.id),className:(0,l.cn)("flex items-center justify-center w-full rounded-[4px] p-2.5 cursor-pointer",d?"bg-accent/10 text-accent":"text-foreground-secondary hover:text-foreground hover:bg-surface-hover"),children:(0,b.jsx)(a.icon,{className:"h-5 w-5 shrink-0"})});return i?(0,b.jsx)(n.Tooltip,{content:a.label,side:"right",children:e},a.id):(0,b.jsx)("div",{children:e},a.id)})}),(0,b.jsx)(u,{})]})}function u(){let[a,e]=(0,c.useState)(!1),{theme:f,setTheme:g}=(0,d.useTheme)(),[l,m]=(0,c.useState)(!1),n=(0,o.useRouter)(),{avatarUrl:s,isLoading:t}=(0,p.useUserSettings)(),{getStatus:u}=(0,q.useAgentStatus)(),v=u(q.USER_STATUS_ID),w=(0,c.useRef)(null);(0,c.useEffect)(()=>{m(!0)},[]),(0,c.useEffect)(()=>{function a(a){w.current&&!w.current.contains(a.target)&&e(!1)}return document.addEventListener("mousedown",a),()=>document.removeEventListener("mousedown",a)},[]);let x="dark"===f;return(0,b.jsxs)("div",{ref:w,className:"relative flex justify-center pb-[8px]",children:[(0,b.jsx)("button",{onClick:()=>e(!a),className:"group flex items-center justify-center rounded-[4px] cursor-pointer transition-opacity",children:(0,b.jsx)(r.Avatar,{size:"sm",status:"active"===v?"online":"offline",children:t?(0,b.jsx)(r.AvatarFallback,{className:"skeleton"}):s?(0,b.jsx)(r.AvatarImage,{src:s,alt:"You",className:"grayscale group-hover:grayscale-0 transition-all duration-200"}):(0,b.jsx)(r.AvatarFallback,{className:"text-foreground-secondary",children:(0,b.jsx)(h.User,{className:"h-5 w-5"})})})}),a&&(0,b.jsxs)("div",{className:"absolute left-[calc(100%+8px)] bottom-0 w-48 rounded-[var(--radius-md)] bg-surface border border-border shadow-xl py-1 z-50",children:[(0,b.jsxs)("button",{onClick:()=>{e(!1),n.push("/settings")},className:"flex items-center gap-3 w-full px-4 py-2.5 text-sm text-foreground-secondary hover:text-foreground hover:bg-surface-hover cursor-pointer",children:[(0,b.jsx)(k,{className:"h-4 w-4"}),"Settings"]}),l&&(0,b.jsxs)("button",{onClick:()=>{g(x?"light":"dark"),e(!1)},className:"flex items-center gap-3 w-full px-4 py-2.5 text-sm text-foreground-secondary hover:text-foreground hover:bg-surface-hover cursor-pointer",children:[x?(0,b.jsx)(i,{className:"h-4 w-4"}):(0,b.jsx)(j,{className:"h-4 w-4"}),x?"Light mode":"Dark mode"]})]})]})}a.s(["Sidebar",()=>t],91693)},13513,a=>{"use strict";let b=(0,a.i(70106).default)("camera",[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);a.s(["Camera",()=>b],13513)},40777,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(82434),e=a.i(70106);let f=(0,e.default)("wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]]);var g=a.i(33591);let h=(0,e.default)("crown",[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]]);var i=a.i(69520),j=a.i(96221),k=a.i(92e3),l=a.i(13513),m=a.i(91693),n=a.i(37582),o=a.i(91119),p=a.i(86304),q=a.i(72233),r=a.i(68114),s=a.i(9269),t=a.i(35240),u=a.i(59807);function v({agent:a,isPrimary:d,isConnected:e,onAvatarUpdated:f}){let g=(0,c.useRef)(null),[i,k]=(0,c.useState)(!1),{getStatus:m}=(0,t.useAgentStatus)(),n=m(a.id),s=(0,c.useCallback)(()=>{e&&g.current?.click()},[e]),u=(0,c.useCallback)(async b=>{let c=b.target.files?.[0];if(c){if(b.target.value="",c.size>5242880)return void alert("Image too large (max 5MB)");k(!0);try{let b=new FormData;b.append("avatar",c);let d=await fetch(`/api/openclaw/agents/${a.id}/avatar`,{method:"POST",body:b}),e=await d.json();if(!d.ok)return void alert(e.error||"Failed to update avatar");f()}catch{alert("Failed to upload avatar")}finally{k(!1)}}},[a.id,f]);return(0,b.jsx)(o.Card,{variant:"bordered",className:(0,r.cn)("py-4 pl-5 pr-4 transition-colors min-h-[80px] flex items-center",e?"hover:border-border-hover":"opacity-60"),children:(0,b.jsxs)("div",{className:"flex items-center justify-between flex-1",children:[(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsxs)("button",{type:"button",onClick:s,disabled:!e||i,className:"relative group rounded-[4px] focus:outline-none focus-visible:ring-2 focus-visible:ring-accent leading-[0]",title:e?"Click to change avatar":void 0,children:[(0,b.jsx)(q.Avatar,{size:"md",status:function(a,b){if(!b)return"offline";switch(a){case"thinking":return"away";case"active":return"online";default:return"offline"}}(n,e),statusPulse:"thinking"===n,children:a.avatar?(0,b.jsx)(q.AvatarImage,{src:a.avatar,alt:a.name,className:(0,r.cn)(!e&&"grayscale")}):(0,b.jsx)(q.AvatarFallback,{children:a.emoji||a.name.slice(0,2).toUpperCase()})}),e&&!i&&(0,b.jsx)("div",{className:"absolute inset-0 rounded-[4px] bg-black/50 opacity-0 group-hover:opacity-100 transition-opacity flex items-center justify-center",children:(0,b.jsx)(l.Camera,{className:"h-4 w-4 text-white"})}),i&&(0,b.jsx)("div",{className:"absolute inset-0 rounded-[4px] bg-black/50 flex items-center justify-center",children:(0,b.jsx)(j.Loader2,{className:"h-4 w-4 text-white animate-spin"})})]}),(0,b.jsx)("input",{ref:g,type:"file",accept:"image/png,image/jpeg,image/webp,image/gif",className:"hidden",onChange:u}),(0,b.jsxs)("div",{children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("p",{className:"text-sm font-medium text-foreground",children:a.name}),d&&(0,b.jsxs)("span",{className:"flex items-center gap-1 text-xs text-accent",children:[(0,b.jsx)(h,{className:"h-3 w-3"}),"Primary"]})]}),(0,b.jsx)("p",{className:"text-xs text-foreground-muted",children:e?a.description||"OpenClaw Agent":"Unreachable"})]})]}),(0,b.jsx)(p.Badge,{variant:function(a,b){if(!b)return"outline";switch(a){case"thinking":return"warning";case"active":return"success";default:return"outline"}}(n,e),size:"sm",children:function(a,b){if(!b)return"Offline";switch(a){case"thinking":return"Thinking";case"active":return"Active";default:return"Idle"}}(n,e)})]})})}function w({isConnected:a,isLoading:c,isConfigured:d,serverVersion:e,latency:h,error:k,onRefresh:l}){return(0,b.jsx)(o.Card,{variant:"bordered",className:"mb-8",children:(0,b.jsxs)(o.CardContent,{className:"flex items-center justify-between",children:[(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[c?(0,b.jsx)(j.Loader2,{className:"h-5 w-5 text-foreground-muted animate-spin"}):a?(0,b.jsx)(f,{className:"h-5 w-5 text-success"}):(0,b.jsx)(g.WifiOff,{className:"h-5 w-5 text-error"}),(0,b.jsxs)("div",{children:[(0,b.jsx)("p",{className:"text-sm font-medium text-foreground",children:"OpenClaw Gateway"}),(0,b.jsx)("p",{className:"text-xs text-foreground-muted",children:(()=>{if(c)return"Connecting to Gateway...";if(!d)return"OpenClaw not installed — visit openclaw.ai";if(a){let a=["Connected"];return e&&(a[0]=`Connected to OpenClaw ${e}`),h&&a.push(`${h}ms`),a.join(" · ")}return k||"Not connected"})()})]})]}),(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("button",{onClick:l,className:"p-1.5 rounded-md text-foreground-muted hover:text-foreground hover:bg-surface-hover transition-colors",title:"Refresh connection",children:(0,b.jsx)(i.RefreshCw,{className:"h-4 w-4"})}),c?(0,b.jsx)(p.Badge,{variant:"outline",children:"Connecting..."}):(0,b.jsx)(p.Badge,{variant:a?"success":d?"error":"outline",children:a?"Connected":d?"Disconnected":"Not Installed"})]})]})})}function x(){return(0,b.jsx)("div",{className:"grid gap-3",children:[1,2,3].map(a=>(0,b.jsx)(o.Card,{variant:"bordered",className:"p-4 min-h-[80px] flex items-center",children:(0,b.jsxs)("div",{className:"flex items-center justify-between flex-1",children:[(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)("div",{className:"skeleton h-10 w-10 rounded-full"}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)("div",{className:"skeleton h-4 w-24 rounded"}),(0,b.jsx)("div",{className:"skeleton h-3 w-32 rounded"})]})]}),(0,b.jsx)("div",{className:"skeleton h-5 w-14 rounded-full"})]})},a))})}function y({isConfigured:a}){return(0,b.jsx)(o.Card,{variant:"bordered",className:"p-8",children:(0,b.jsx)("div",{className:"flex flex-col items-center text-center gap-3",children:a?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(k.AlertCircle,{className:"h-8 w-8 text-foreground-muted"}),(0,b.jsxs)("div",{children:[(0,b.jsx)("p",{className:"text-sm font-medium text-foreground",children:"No agents discovered"}),(0,b.jsx)("p",{className:"text-xs text-foreground-muted mt-1",children:"Make sure OpenClaw Gateway is running and agents are configured."})]})]}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(d.Bot,{className:"h-8 w-8 text-foreground-muted"}),(0,b.jsxs)("div",{children:[(0,b.jsx)("p",{className:"text-sm font-medium text-foreground",children:"Welcome to Castle"}),(0,b.jsxs)("p",{className:"text-xs text-foreground-muted mt-1",children:["Run ",(0,b.jsx)("code",{className:"px-1 py-0.5 bg-surface-hover rounded text-xs",children:"castle setup"})," to connect to your OpenClaw Gateway."]})]})]})})})}function z(){let{status:a,isLoading:c,isConnected:e,isConfigured:f,latency:g,serverVersion:h,agents:i,agentsLoading:j,refresh:k}=(0,s.useOpenClaw)();return(0,b.jsxs)("div",{className:"min-h-screen bg-background",children:[(0,b.jsx)(m.Sidebar,{variant:"solid"}),(0,b.jsxs)("main",{className:"min-h-screen ml-[80px]",children:[(0,b.jsxs)("div",{className:"px-8 py-5 flex items-center justify-between gap-4 border-b border-border",children:[(0,b.jsx)(n.PageHeader,{title:"Castle",subtitle:"The multi-agent workspace"}),(0,b.jsx)(u.SearchTrigger,{})]}),(0,b.jsxs)("div",{className:"p-8 max-w-4xl",children:[(0,b.jsx)(w,{isConnected:e,isLoading:c,isConfigured:f,serverVersion:h,latency:g,error:a?.error,onRefresh:k}),(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsxs)("h2",{className:"text-lg font-semibold text-foreground flex items-center gap-2",children:[(0,b.jsx)(d.Bot,{className:"h-5 w-5 text-foreground-secondary"}),"Agents"]}),!c&&i.length>0&&(0,b.jsxs)("span",{className:"text-sm text-foreground-muted",children:[i.length," agent",1!==i.length?"s":""," discovered"]})]}),j||c&&0===i.length?(0,b.jsx)(x,{}):i.length>0?(0,b.jsx)("div",{className:"grid gap-3",children:i.map((a,c)=>(0,b.jsx)(v,{agent:a,isPrimary:0===c,isConnected:e,onAvatarUpdated:k},a.id))}):(0,b.jsx)(y,{isConfigured:f})]})]})]})]})}a.s(["default",()=>z],40777)}];
2
2
 
3
3
  //# sourceMappingURL=_7a67de23._.js.map
@@ -18,11 +18,11 @@
18
18
  "wasm": [],
19
19
  "assets": [],
20
20
  "env": {
21
- "__NEXT_BUILD_ID": "IDGX3MGCjqUE6NQVlug5A",
22
- "NEXT_SERVER_ACTIONS_ENCRYPTION_KEY": "H7Y48C6b5Az5sk/kxxtxhKAIv8P1kARcJLDWJnkIvOo=",
23
- "__NEXT_PREVIEW_MODE_ID": "77702f2228a996d0f0a09581232e0124",
24
- "__NEXT_PREVIEW_MODE_ENCRYPTION_KEY": "3c57b4ab6ad7d38125605b3573087928e2107004511c82f14ce21c43d07d72f4",
25
- "__NEXT_PREVIEW_MODE_SIGNING_KEY": "c77c15e91b8518c552c56e8ee2c9eea77b615f5a9a77e0132b154003a066d60d"
21
+ "__NEXT_BUILD_ID": "-R3HvmmPKzJ9Jfjg7hRqd",
22
+ "NEXT_SERVER_ACTIONS_ENCRYPTION_KEY": "lZVcBB0QRlWfreH4cuYgowMC3Ttz+TysFVinm+FO7D8=",
23
+ "__NEXT_PREVIEW_MODE_ID": "21a3b91999637766bc3dd2526301feaf",
24
+ "__NEXT_PREVIEW_MODE_ENCRYPTION_KEY": "fd8ff0193216cceabca2f7f355fa8d365ad9d87f1966b555e9231786060e2a30",
25
+ "__NEXT_PREVIEW_MODE_SIGNING_KEY": "8720c16172f8f81e71ae4bfd86733db55f0bc9426e82fe398c8f31b7d40dbf59"
26
26
  }
27
27
  }
28
28
  },
@@ -1 +1 @@
1
- <!DOCTYPE html><!--IDGX3MGCjqUE6NQVlug5A--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/3c2b51fd3ab2ac34.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/97d384ea34b6283a.js"/><script src="/_next/static/chunks/76c064224d953678.js" async=""></script><script src="/_next/static/chunks/f1f489dad7e35d90.js" async=""></script><script src="/_next/static/chunks/7de9141b1af425c3.js" async=""></script><script src="/_next/static/chunks/turbopack-1da073e19f58dee0.js" async=""></script><script src="/_next/static/chunks/d11263c7e8894d27.js" async=""></script><script src="/_next/static/chunks/5a1105a61e9390f8.js" async=""></script><script src="/_next/static/chunks/868f09ea8b0a7649.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>Castle</title><meta name="description" content="The multi-agent workspace"/><link rel="icon" href="/icon.png?icon.4cc5e0bd.png" sizes="1000x1000" type="image/png"/><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body class="geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable antialiased bg-background text-foreground"><div hidden=""><!--$--><!--/$--></div><script>((a,b,c,d,e,f,g,h)=>{let i=document.documentElement,j=["light","dark"];function k(b){var c;(Array.isArray(a)?a:[a]).forEach(a=>{let c="class"===a,d=c&&f?e.map(a=>f[a]||a):e;c?(i.classList.remove(...d),i.classList.add(f&&f[b]?f[b]:b)):i.setAttribute(a,b)}),c=b,h&&j.includes(c)&&(i.style.colorScheme=c)}if(d)k(d);else try{let a=localStorage.getItem(b)||c,d=g&&"system"===a?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":a;k(d)}catch(a){}})("class","theme","dark",null,["light","dark"],null,false,true)</script><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;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><!--$--><!--/$--><button class="fixed top-[28px] right-[28px] z-40 flex items-center gap-3 pl-3 pr-2.5 h-[38px] w-[320px] rounded-[var(--radius-sm)] bg-surface border border-border hover:border-border-hover text-foreground-secondary hover:text-foreground transition-colors cursor-pointer shadow-sm"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-search h-4 w-4 shrink-0" aria-hidden="true"><path d="m21 21-4.34-4.34"></path><circle cx="11" cy="11" r="8"></circle></svg><span class="text-sm text-foreground-secondary/50 flex-1 text-left">Search Castle...</span><kbd class="flex items-center justify-center h-[22px] px-1.5 gap-1 rounded-[4px] bg-surface-hover border border-border font-medium text-foreground-secondary"><span class="text-[15px]">⌘</span><span class="text-[11px]">K</span></kbd></button><script src="/_next/static/chunks/97d384ea34b6283a.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[63178,[\"/_next/static/chunks/d11263c7e8894d27.js\",\"/_next/static/chunks/5a1105a61e9390f8.js\"],\"ThemeProvider\"]\n3:I[49410,[\"/_next/static/chunks/d11263c7e8894d27.js\",\"/_next/static/chunks/5a1105a61e9390f8.js\"],\"PresenceProvider\"]\n4:I[40871,[\"/_next/static/chunks/d11263c7e8894d27.js\",\"/_next/static/chunks/5a1105a61e9390f8.js\"],\"SearchProvider\"]\n5:I[39756,[\"/_next/static/chunks/868f09ea8b0a7649.js\"],\"default\"]\n6:I[37457,[\"/_next/static/chunks/868f09ea8b0a7649.js\"],\"default\"]\n7:I[97367,[\"/_next/static/chunks/868f09ea8b0a7649.js\"],\"OutletBoundary\"]\n8:\"$Sreact.suspense\"\na:I[97367,[\"/_next/static/chunks/868f09ea8b0a7649.js\"],\"ViewportBoundary\"]\nc:I[97367,[\"/_next/static/chunks/868f09ea8b0a7649.js\"],\"MetadataBoundary\"]\ne:I[68027,[\"/_next/static/chunks/868f09ea8b0a7649.js\"],\"default\"]\n:HL[\"/_next/static/chunks/3c2b51fd3ab2ac34.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"IDGX3MGCjqUE6NQVlug5A\",\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/3c2b51fd3ab2ac34.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/d11263c7e8894d27.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/5a1105a61e9390f8.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[\"$\",\"body\",null,{\"className\":\"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable antialiased bg-background text-foreground\",\"children\":[\"$\",\"$L2\",null,{\"attribute\":\"class\",\"defaultTheme\":\"dark\",\"enableSystem\":false,\"disableTransitionOnChange\":true,\"children\":[\"$\",\"$L3\",null,{\"children\":[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",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,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",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:children: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:children: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:children: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:children: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,[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$8\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@9\"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$La\",null,{\"children\":\"$Lb\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"$8\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Ld\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$e\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"f:I[27201,[\"/_next/static/chunks/868f09ea8b0a7649.js\"],\"IconMark\"]\n9:null\nd:[[\"$\",\"title\",\"0\",{\"children\":\"Castle\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"The multi-agent workspace\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/icon.png?icon.4cc5e0bd.png\",\"sizes\":\"1000x1000\",\"type\":\"image/png\"}],[\"$\",\"$Lf\",\"3\",{}]]\n"])</script></body></html>
1
+ <!DOCTYPE html><!--_R3HvmmPKzJ9Jfjg7hRqd--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/3c2b51fd3ab2ac34.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/97d384ea34b6283a.js"/><script src="/_next/static/chunks/76c064224d953678.js" async=""></script><script src="/_next/static/chunks/f1f489dad7e35d90.js" async=""></script><script src="/_next/static/chunks/7de9141b1af425c3.js" async=""></script><script src="/_next/static/chunks/turbopack-1da073e19f58dee0.js" async=""></script><script src="/_next/static/chunks/d11263c7e8894d27.js" async=""></script><script src="/_next/static/chunks/5a1105a61e9390f8.js" async=""></script><script src="/_next/static/chunks/868f09ea8b0a7649.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>Castle</title><meta name="description" content="The multi-agent workspace"/><link rel="icon" href="/icon.png?icon.4cc5e0bd.png" sizes="1000x1000" type="image/png"/><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body class="geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable antialiased bg-background text-foreground"><div hidden=""><!--$--><!--/$--></div><script>((a,b,c,d,e,f,g,h)=>{let i=document.documentElement,j=["light","dark"];function k(b){var c;(Array.isArray(a)?a:[a]).forEach(a=>{let c="class"===a,d=c&&f?e.map(a=>f[a]||a):e;c?(i.classList.remove(...d),i.classList.add(f&&f[b]?f[b]:b)):i.setAttribute(a,b)}),c=b,h&&j.includes(c)&&(i.style.colorScheme=c)}if(d)k(d);else try{let a=localStorage.getItem(b)||c,d=g&&"system"===a?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":a;k(d)}catch(a){}})("class","theme","dark",null,["light","dark"],null,false,true)</script><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;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><!--$--><!--/$--><button class="fixed top-[28px] right-[28px] z-40 flex items-center gap-3 pl-3 pr-2.5 h-[38px] w-[320px] rounded-[var(--radius-sm)] bg-surface border border-border hover:border-border-hover text-foreground-secondary hover:text-foreground transition-colors cursor-pointer shadow-sm"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-search h-4 w-4 shrink-0" aria-hidden="true"><path d="m21 21-4.34-4.34"></path><circle cx="11" cy="11" r="8"></circle></svg><span class="text-sm text-foreground-secondary/50 flex-1 text-left">Search Castle...</span><kbd class="flex items-center justify-center h-[22px] px-1.5 gap-1 rounded-[4px] bg-surface-hover border border-border font-medium text-foreground-secondary"><span class="text-[15px]">⌘</span><span class="text-[11px]">K</span></kbd></button><script src="/_next/static/chunks/97d384ea34b6283a.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[63178,[\"/_next/static/chunks/d11263c7e8894d27.js\",\"/_next/static/chunks/5a1105a61e9390f8.js\"],\"ThemeProvider\"]\n3:I[49410,[\"/_next/static/chunks/d11263c7e8894d27.js\",\"/_next/static/chunks/5a1105a61e9390f8.js\"],\"PresenceProvider\"]\n4:I[40871,[\"/_next/static/chunks/d11263c7e8894d27.js\",\"/_next/static/chunks/5a1105a61e9390f8.js\"],\"SearchProvider\"]\n5:I[39756,[\"/_next/static/chunks/868f09ea8b0a7649.js\"],\"default\"]\n6:I[37457,[\"/_next/static/chunks/868f09ea8b0a7649.js\"],\"default\"]\n7:I[97367,[\"/_next/static/chunks/868f09ea8b0a7649.js\"],\"OutletBoundary\"]\n8:\"$Sreact.suspense\"\na:I[97367,[\"/_next/static/chunks/868f09ea8b0a7649.js\"],\"ViewportBoundary\"]\nc:I[97367,[\"/_next/static/chunks/868f09ea8b0a7649.js\"],\"MetadataBoundary\"]\ne:I[68027,[\"/_next/static/chunks/868f09ea8b0a7649.js\"],\"default\"]\n:HL[\"/_next/static/chunks/3c2b51fd3ab2ac34.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"-R3HvmmPKzJ9Jfjg7hRqd\",\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/3c2b51fd3ab2ac34.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/d11263c7e8894d27.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/5a1105a61e9390f8.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[\"$\",\"body\",null,{\"className\":\"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable antialiased bg-background text-foreground\",\"children\":[\"$\",\"$L2\",null,{\"attribute\":\"class\",\"defaultTheme\":\"dark\",\"enableSystem\":false,\"disableTransitionOnChange\":true,\"children\":[\"$\",\"$L3\",null,{\"children\":[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",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,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",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:children: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:children: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:children: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:children: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,[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$8\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@9\"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$La\",null,{\"children\":\"$Lb\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"$8\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Ld\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$e\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"f:I[27201,[\"/_next/static/chunks/868f09ea8b0a7649.js\"],\"IconMark\"]\n9:null\nd:[[\"$\",\"title\",\"0\",{\"children\":\"Castle\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"The multi-agent workspace\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/icon.png?icon.4cc5e0bd.png\",\"sizes\":\"1000x1000\",\"type\":\"image/png\"}],[\"$\",\"$Lf\",\"3\",{}]]\n"])</script></body></html>
@@ -1,2 +1,2 @@
1
- <!DOCTYPE html><!--IDGX3MGCjqUE6NQVlug5A--><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/97d384ea34b6283a.js"/><script src="/_next/static/chunks/76c064224d953678.js" async=""></script><script src="/_next/static/chunks/f1f489dad7e35d90.js" async=""></script><script src="/_next/static/chunks/7de9141b1af425c3.js" async=""></script><script src="/_next/static/chunks/turbopack-1da073e19f58dee0.js" async=""></script><script src="/_next/static/chunks/868f09ea8b0a7649.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: Internal Server Error.</title><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}
2
- @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-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/97d384ea34b6283a.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/868f09ea8b0a7649.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/868f09ea8b0a7649.js\"],\"default\"]\n4:I[97367,[\"/_next/static/chunks/868f09ea8b0a7649.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n7:I[97367,[\"/_next/static/chunks/868f09ea8b0a7649.js\"],\"ViewportBoundary\"]\n9:I[97367,[\"/_next/static/chunks/868f09ea8b0a7649.js\"],\"MetadataBoundary\"]\nb:I[68027,[\"/_next/static/chunks/868f09ea8b0a7649.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"IDGX3MGCjqUE6NQVlug5A\",\"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: Internal Server Error.\"}]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"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,{\"style\":{\"lineHeight\":\"48px\"},\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\\n@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\",\"paddingRight\":23,\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\"},\"children\":\"500\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"28px\"},\"children\":\"Internal Server Error.\"}]}]]}]}]}]]}],[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/868f09ea8b0a7649.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L7\",null,{\"children\":\"$L8\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$La\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$b\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"8:[[\"$\",\"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\na:[]\n"])</script></body></html>
1
+ <!DOCTYPE html><!--_R3HvmmPKzJ9Jfjg7hRqd--><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/97d384ea34b6283a.js"/><script src="/_next/static/chunks/76c064224d953678.js" async=""></script><script src="/_next/static/chunks/f1f489dad7e35d90.js" async=""></script><script src="/_next/static/chunks/7de9141b1af425c3.js" async=""></script><script src="/_next/static/chunks/turbopack-1da073e19f58dee0.js" async=""></script><script src="/_next/static/chunks/868f09ea8b0a7649.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: Internal Server Error.</title><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}
2
+ @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-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/97d384ea34b6283a.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/868f09ea8b0a7649.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/868f09ea8b0a7649.js\"],\"default\"]\n4:I[97367,[\"/_next/static/chunks/868f09ea8b0a7649.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n7:I[97367,[\"/_next/static/chunks/868f09ea8b0a7649.js\"],\"ViewportBoundary\"]\n9:I[97367,[\"/_next/static/chunks/868f09ea8b0a7649.js\"],\"MetadataBoundary\"]\nb:I[68027,[\"/_next/static/chunks/868f09ea8b0a7649.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"-R3HvmmPKzJ9Jfjg7hRqd\",\"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: Internal Server Error.\"}]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"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,{\"style\":{\"lineHeight\":\"48px\"},\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\\n@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\",\"paddingRight\":23,\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\"},\"children\":\"500\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"28px\"},\"children\":\"Internal Server Error.\"}]}]]}]}]}]]}],[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/868f09ea8b0a7649.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L7\",null,{\"children\":\"$L8\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$La\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$b\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"8:[[\"$\",\"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\na:[]\n"])</script></body></html>
@@ -1 +1 @@
1
- self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"H7Y48C6b5Az5sk/kxxtxhKAIv8P1kARcJLDWJnkIvOo=\"\n}"
1
+ self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"lZVcBB0QRlWfreH4cuYgowMC3Ttz+TysFVinm+FO7D8=\"\n}"
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "node": {},
3
3
  "edge": {},
4
- "encryptionKey": "H7Y48C6b5Az5sk/kxxtxhKAIv8P1kARcJLDWJnkIvOo="
4
+ "encryptionKey": "lZVcBB0QRlWfreH4cuYgowMC3Ttz+TysFVinm+FO7D8="
5
5
  }