neural-loom 0.2.62 → 0.2.64

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 (64) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +3 -3
  3. package/.next/cache/.previewinfo +1 -1
  4. package/.next/cache/.rscinfo +1 -1
  5. package/.next/cache/.tsbuildinfo +1 -1
  6. package/.next/fallback-build-manifest.json +3 -3
  7. package/.next/prerender-manifest.json +3 -3
  8. package/.next/server/app/_global-error.html +1 -1
  9. package/.next/server/app/_global-error.rsc +1 -1
  10. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  11. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  12. package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  13. package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  14. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  15. package/.next/server/app/_not-found.html +1 -1
  16. package/.next/server/app/_not-found.rsc +1 -1
  17. package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  18. package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  19. package/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  20. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  21. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  22. package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  23. package/.next/server/app/api/configs/route.js.nft.json +1 -1
  24. package/.next/server/app/api/context/aider/route.js.nft.json +1 -1
  25. package/.next/server/app/api/context/claude/route.js.nft.json +1 -1
  26. package/.next/server/app/api/context/route.js.nft.json +1 -1
  27. package/.next/server/app/api/context/ssh/route.js.nft.json +1 -1
  28. package/.next/server/app/api/recents/route.js.nft.json +1 -1
  29. package/.next/server/app/api/sessions/inject/route.js.nft.json +1 -1
  30. package/.next/server/app/api/sessions/input/route.js.nft.json +1 -1
  31. package/.next/server/app/api/sessions/launch/route.js.nft.json +1 -1
  32. package/.next/server/app/api/sessions/route.js.nft.json +1 -1
  33. package/.next/server/app/api/sessions/scope/route.js.nft.json +1 -1
  34. package/.next/server/app/api/sessions/start/route.js.nft.json +1 -1
  35. package/.next/server/app/api/sessions/stats/route.js.nft.json +1 -1
  36. package/.next/server/app/api/sessions/stop/route.js.nft.json +1 -1
  37. package/.next/server/app/api/sessions/upload-image/route.js.nft.json +1 -1
  38. package/.next/server/app/api/sql/connections/route.js.nft.json +1 -1
  39. package/.next/server/app/api/sql/mcp/route.js.nft.json +1 -1
  40. package/.next/server/app/api/sql/query/route.js.nft.json +1 -1
  41. package/.next/server/app/api/sql/schema/route.js.nft.json +1 -1
  42. package/.next/server/app/index.html +1 -1
  43. package/.next/server/app/index.rsc +1 -1
  44. package/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  45. package/.next/server/app/index.segments/_full.segment.rsc +1 -1
  46. package/.next/server/app/index.segments/_head.segment.rsc +1 -1
  47. package/.next/server/app/index.segments/_index.segment.rsc +1 -1
  48. package/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  49. package/.next/server/chunks/[root-of-the-server]__0li1h1u._.js +1 -1
  50. package/.next/server/chunks/[root-of-the-server]__0li1h1u._.js.map +1 -1
  51. package/.next/server/chunks/[root-of-the-server]__0tq0maq._.js +1 -1
  52. package/.next/server/chunks/[root-of-the-server]__0tq0maq._.js.map +1 -1
  53. package/.next/server/middleware-build-manifest.js +3 -3
  54. package/.next/server/pages/404.html +1 -1
  55. package/.next/server/pages/500.html +1 -1
  56. package/.next/server/server-reference-manifest.js +1 -1
  57. package/.next/server/server-reference-manifest.json +1 -1
  58. package/.next/trace +1 -1
  59. package/.next/trace-build +1 -1
  60. package/package.json +1 -1
  61. package/src/lib/agents/AgentRunner.ts +9 -12
  62. /package/.next/static/{K1_el6-FnhIqHfvSMHXCm → M1bLGl3NnHp6cxXX_tnbN}/_buildManifest.js +0 -0
  63. /package/.next/static/{K1_el6-FnhIqHfvSMHXCm → M1bLGl3NnHp6cxXX_tnbN}/_clientMiddlewareManifest.js +0 -0
  64. /package/.next/static/{K1_el6-FnhIqHfvSMHXCm → M1bLGl3NnHp6cxXX_tnbN}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en" class="geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/797e433ab948586e-s.p.08e28id.o-okb.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" as="image" href="/logo.png"/><link rel="stylesheet" href="/_next/static/chunks/139c54uo1w7.4.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/0qu1p~ny_bvko.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/08o_~ynkkb9ph.js"/><script src="/_next/static/chunks/140ovxvjat1ch.js" async=""></script><script src="/_next/static/chunks/07lhk_q6pmm3r.js" async=""></script><script src="/_next/static/chunks/turbopack-06zh3hgrjcphg.js" async=""></script><script src="/_next/static/chunks/0dbhjjzl8qfwv.js" async=""></script><script src="/_next/static/chunks/16rky3981raz5.js" async=""></script><meta name="next-size-adjust" content=""/><title>NeuralLoom - Unified AI Agent Orchestrator &amp; Context Bridge</title><meta name="description" content="Advanced console dashboard and context staging manager for Claude Code and simulated AI agents."/><link rel="manifest" href="/manifest.json"/><link rel="shortcut icon" href="/logo.png"/><link rel="icon" href="/logo.png"/><link rel="apple-touch-icon" href="/logo.png"/><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div class="page-module___8aEwW__container "><header class="page-module___8aEwW__header"><div style="display:flex;align-items:center;gap:1.5rem"><img src="/logo.png" alt="NeuralLoom Logo" style="width:160px;height:160px;border-radius:16px;object-fit:contain"/><div class="page-module___8aEwW__logoArea"><h1 class="page-module___8aEwW__title" style="margin:0;line-height:1.1">NeuralLoom</h1><span class="page-module___8aEwW__subtitle">Unified AI Orchestrator &amp; Context Bridge</span></div></div><div class="page-module___8aEwW__statusIndicator"><span class="page-module___8aEwW__pulseDot"></span><span>Orchestrator Online</span></div></header><div class="page-module___8aEwW__dashboardGrid"><div class="page-module___8aEwW__mainPanel"><section><h2 class="page-module___8aEwW__sectionTitle">Built-in Database Explorer &amp; SQL Client</h2><div class="card" style="padding:0;overflow:hidden;height:450px;border:1px solid var(--border)"><div style="display:flex;height:100%;width:100%;background-color:#05070a;color:#cbd5e1;font-size:0.875rem;min-height:0"><div style="width:220px;border-right:1px solid var(--border);display:flex;flex-direction:column;min-height:0;background-color:rgba(10, 15, 24, 0.4);flex-shrink:0;overflow:hidden;transition:all 0.25s cubic-bezier(0.4, 0, 0.2, 1)"><div style="display:flex;flex-direction:column;height:100%;min-width:220px;min-height:0"><div style="display:flex;flex-direction:column;padding:1rem;min-height:0"><div style="display:flex;justify-content:space-between;align-items:center;margin-bottom:0.75rem"><span style="font-weight:700;letter-spacing:0.05em;text-transform:uppercase;font-size:0.75rem;color:var(--muted)">Connections</span><button style="padding:0.2rem 0.5rem;border-radius:4px;border:1px solid var(--primary);background-color:transparent;color:var(--primary);font-size:0.7rem;font-weight:600;cursor:pointer" title="Add Database Connection Profile">➕ Add</button></div><div style="display:flex;flex-direction:column;gap:0.4rem;overflow-y:auto;max-height:220px"><div style="font-size:0.75rem;color:var(--muted);text-align:center;padding:1rem 0">No connections configured. Add one to start.</div></div></div><div style="display:flex;flex-direction:column;padding:1rem;min-height:0;flex:1;border-top:1px solid var(--border)"><div style="display:flex;justify-content:space-between;align-items:center;margin-bottom:0.75rem"><span style="font-weight:700;letter-spacing:0.05em;text-transform:uppercase;font-size:0.75rem;color:var(--muted)">Schema Tables</span></div><div style="display:flex;flex-direction:column;gap:0.25rem;overflow-y:auto;flex:1;min-height:0"><div style="font-size:0.75rem;color:var(--muted);text-align:center;padding:1rem 0">Select an active connection to view tables.</div></div></div></div></div><div style="flex:1;display:flex;flex-direction:column;min-height:0;background-color:#05070a"><div style="display:flex;justify-content:space-between;align-items:center;padding:0.75rem 1rem;border-bottom:1px solid var(--border);background-color:rgba(15, 23, 42, 0.3);flex-shrink:0"><div style="display:flex;align-items:center;gap:0.75rem"><button type="button" style="background:rgba(255, 255, 255, 0.05);border:1px solid var(--border);border-radius:6px;color:var(--muted);cursor:pointer;padding:0.25rem 0.5rem;font-size:0.75rem;display:flex;align-items:center;justify-content:center;transition:all 0.15s ease" title="Collapse Connections List">◀ Collapse</button><span style="font-size:0.75rem;color:var(--muted)">Active Connection:</span><span style="font-size:0.8rem;font-weight:600;color:var(--danger);display:flex;align-items:center;gap:0.4rem">No Connection Selected</span></div><button style="padding:0.4rem 0.9rem;border-radius:6px;border:none;background-color:var(--primary);color:#fff;font-size:0.8rem;font-weight:600;transition:all 0.2s ease;opacity:0.6;cursor:not-allowed" disabled="">⚡ Execute Query (F5)</button></div><div style="height:180px;border-bottom:1px solid var(--border);position:relative;flex-shrink:0"><textarea style="width:100%;height:100%;background-color:#080c14;border:none;resize:none;color:#e2e8f0;font-family:monospace;font-size:0.85rem;padding:1rem;outline:none;line-height:1.4" placeholder="Write your SQL query script here...">SELECT * FROM sqlite_master;</textarea></div><div style="flex:1;display:flex;flex-direction:column;min-height:0;padding:1rem"><div style="flex:1;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:0.8rem;text-align:center">Write a query script and click Execute to view table records.</div></div></div></div></div></section><section style="margin-top:1.5rem"><h2 class="page-module___8aEwW__sectionTitle">Shared Context Hub &amp; Slash Commands</h2><div class="page-module___8aEwW__contextList"><div class="page-module___8aEwW__contextItem card"><div class="page-module___8aEwW__contextMeta"><span class="page-module___8aEwW__contextTitle">Staged Context &amp; System Rules (/ccc)</span><span class="page-module___8aEwW__contextDetails">Compiles AGENTS.md guidelines and files map.</span></div><button disabled="" style="padding:0.4rem 0.8rem;border-radius:6px;border:1px solid var(--primary);background-color:transparent;color:var(--primary);font-size:0.75rem;font-weight:600;opacity:0.5;cursor:not-allowed">🚀 Mount (/ccc)</button></div><div class="page-module___8aEwW__contextItem card"><div class="page-module___8aEwW__contextMeta"><span class="page-module___8aEwW__contextTitle">Staged Developer Prompt (/ccp)</span><span class="page-module___8aEwW__contextDetails">Executes prompt in .ai/neural-loom/cprompt.md.</span></div><button disabled="" style="padding:0.4rem 0.8rem;border-radius:6px;border:1px solid var(--success);background-color:transparent;color:var(--success);font-size:0.75rem;font-weight:600;opacity:0.5;cursor:not-allowed">⚡ Run (/ccp)</button></div></div><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><div style="height:280px;display:flex;align-items:center;justify-content:center;background-color:var(--card);border:1px solid var(--border);border-radius:12px;margin-top:1.5rem"><span style="color:var(--muted)">Initializing prompt editor...</span></div><!--/$--></section></div><div class="page-module___8aEwW__mainPanel"><section><h2 class="page-module___8aEwW__sectionTitle">Active AI Agents</h2><div class="card" style="padding:3rem 1.5rem;text-align:center"><p style="color:var(--muted);margin-bottom:1.5rem">No active agent sessions. Launch a Claude or Aider agent session to begin.</p><div style="display:flex;gap:0.75rem;flex-direction:column"><div style="display:flex;gap:0.5rem"><button class="page-module___8aEwW__quickLaunchBtn" style="background:linear-gradient(135deg, hsl(262, 83%, 60%) 0%, hsl(195, 100%, 45%) 100%);border:none;flex:1">Launch Claude</button><button class="page-module___8aEwW__quickLaunchBtn" style="background:linear-gradient(135deg, hsl(210, 80%, 45%) 0%, hsl(262, 80%, 55%) 100%);border:none;flex:1">Launch Aider</button></div></div><div style="margin-top:1.5rem;font-size:0.75rem;color:var(--muted)">Need a simulator?<!-- --> <span style="color:var(--primary);cursor:pointer;text-decoration:underline">Start mock playground</span></div></div></section></div><div class="page-module___8aEwW__sidePanel"><section><h2 class="page-module___8aEwW__sectionTitle">Execution Environments</h2><div class="page-module___8aEwW__envGrid"><div class="page-module___8aEwW__envRow" style="padding:0.5rem 0.75rem"><span class="page-module___8aEwW__envName">💻 Local Host</span><span class="page-module___8aEwW__envStatus" style="color:var(--success)">Active</span></div><div class="page-module___8aEwW__envRow" style="opacity:0.6;padding:0.5rem 0.75rem"><span class="page-module___8aEwW__envName">🐳 Docker Sandbox</span><span class="page-module___8aEwW__envStatus" style="color:var(--muted)">Not Mounted</span></div><div class="page-module___8aEwW__envRow" style="opacity:0.6;padding:0.5rem 0.75rem"><span class="page-module___8aEwW__envName">🌐 Remote VM (SSH)</span><span class="page-module___8aEwW__envStatus" style="color:var(--muted)">Offline</span></div></div></section><section><h2 class="page-module___8aEwW__sectionTitle">Saved Configurations</h2><div class="card" style="padding:1rem;display:flex;flex-direction:column;gap:0.75rem"><p style="color:var(--muted);font-size:0.8rem;text-align:center;margin:1rem 0">No configuration templates saved yet. Save a template from the Claude/Aider launch wizards.</p></div></section><section style="display:flex;flex-direction:column;gap:0.5rem"><div style="display:flex;gap:0.5rem"><button class="page-module___8aEwW__quickLaunchBtn" style="background:linear-gradient(135deg, hsl(262, 83%, 60%) 0%, hsl(195, 100%, 45%) 100%);border:none;padding:0.6rem;font-size:0.8rem;flex:1">🤖 Claude Local</button><button class="page-module___8aEwW__quickLaunchBtn" style="background:linear-gradient(135deg, hsl(170, 72%, 40%) 0%, hsl(195, 100%, 40%) 100%);border:none;padding:0.6rem;font-size:0.8rem;flex:1">🐳 Claude Docker</button></div><div style="display:flex;gap:0.5rem"><button class="page-module___8aEwW__quickLaunchBtn" style="background:linear-gradient(135deg, hsl(210, 80%, 45%) 0%, hsl(262, 80%, 55%) 100%);border:none;padding:0.6rem;font-size:0.8rem;flex:1">🐍 Aider Local</button><button class="page-module___8aEwW__quickLaunchBtn" style="background:linear-gradient(135deg, hsl(195, 100%, 40%) 0%, hsl(262, 80%, 55%) 100%);border:none;padding:0.6rem;font-size:0.8rem;flex:1">🐳 Aider Docker</button></div><button class="page-module___8aEwW__quickLaunchBtn" style="background:linear-gradient(135deg, hsl(38, 92%, 50%) 0%, hsl(0, 84%, 60%) 100%);border:none;padding:0.6rem;font-size:0.8rem">🌐 Connect Remote SSH</button></section><section><h2 class="page-module___8aEwW__sectionTitle">Workspace Terminal</h2><div class="card" style="display:flex;flex-direction:column;border:1px solid var(--border);padding:0"><div class="page-module___8aEwW__agentHeader" style="justify-content:space-between;background:rgba(255, 255, 255, 0.02);padding:0.4rem 0.75rem"><span style="font-weight:600;font-size:0.75rem">💻 Local Shell (CWD: <!-- -->root<!-- -->)</span></div><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><div style="height:400px;display:flex;align-items:center;justify-content:center;background-color:#05070a;color:var(--muted);border:1px solid var(--border);border-bottom-left-radius:12px;border-bottom-right-radius:12px"><span>Initializing terminal emulator...</span></div><!--/$--></div></section><section class="card" style="padding:1rem;display:flex;flex-direction:column;gap:0.5rem"><h3 style="font-size:0.9rem;font-weight:700;margin:0">Quick Actions</h3><ul style="list-style:none;font-size:0.75rem;display:flex;flex-direction:column;gap:0.35rem;color:var(--muted);padding:0;margin:0"><li style="display:flex;justify-content:space-between"><span>Configure API Keys</span><span style="color:var(--primary);cursor:pointer">→</span></li><li style="display:flex;justify-content:space-between"><span>Edit rules templates</span><span style="color:var(--primary);cursor:pointer">→</span></li><li style="display:flex;justify-content:space-between"><span>Inspect process locks</span><span style="color:var(--primary);cursor:pointer">→</span></li></ul></section></div></div><footer class="page-module___8aEwW__footer"><span>NeuralLoom v<!-- -->0.2.19<!-- --> — Experimental AI Orchestrator Bridge</span><span>Directory: <!-- -->Loading...</span></footer></div><!--$--><!--/$--><script src="/_next/static/chunks/08o_~ynkkb9ph.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"default\"]\n4:I[47257,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"ClientPageRoot\"]\n5:I[52683,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\",\"/_next/static/chunks/16rky3981raz5.js\"],\"default\"]\n8:I[97367,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"OutletBoundary\"]\n9:\"$Sreact.suspense\"\nb:I[97367,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"ViewportBoundary\"]\nd:I[97367,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"MetadataBoundary\"]\nf:I[68027,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/139c54uo1w7.4.css\",\"style\"]\n:HL[\"/_next/static/media/797e433ab948586e-s.p.08e28id.o-okb.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/chunks/0qu1p~ny_bvko.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/139c54uo1w7.4.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0dbhjjzl8qfwv.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L4\",null,{\"Component\":\"$5\",\"serverProvidedParams\":{\"searchParams\":{},\"params\":{},\"promises\":[\"$@6\",\"$@7\"]}}],[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0qu1p~ny_bvko.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/16rky3981raz5.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@a\"}]}]]}],{},null,false,null]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Ld\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Le\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$f\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/139c54uo1w7.4.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"K1_el6-FnhIqHfvSMHXCm\"}\n"])</script><script>self.__next_f.push([1,"6:{}\n7:\"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params\"\n"])</script><script>self.__next_f.push([1,"c:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"10:I[27201,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"IconMark\"]\na:null\ne:[[\"$\",\"title\",\"0\",{\"children\":\"NeuralLoom - Unified AI Agent Orchestrator \u0026 Context Bridge\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Advanced console dashboard and context staging manager for Claude Code and simulated AI agents.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"manifest\",\"href\":\"/manifest.json\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"3\",{\"rel\":\"shortcut icon\",\"href\":\"/logo.png\"}],[\"$\",\"link\",\"4\",{\"rel\":\"icon\",\"href\":\"/logo.png\"}],[\"$\",\"link\",\"5\",{\"rel\":\"apple-touch-icon\",\"href\":\"/logo.png\"}],[\"$\",\"$L10\",\"6\",{}]]\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="en" class="geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/797e433ab948586e-s.p.08e28id.o-okb.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" as="image" href="/logo.png"/><link rel="stylesheet" href="/_next/static/chunks/139c54uo1w7.4.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/0qu1p~ny_bvko.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/08o_~ynkkb9ph.js"/><script src="/_next/static/chunks/140ovxvjat1ch.js" async=""></script><script src="/_next/static/chunks/07lhk_q6pmm3r.js" async=""></script><script src="/_next/static/chunks/turbopack-06zh3hgrjcphg.js" async=""></script><script src="/_next/static/chunks/0dbhjjzl8qfwv.js" async=""></script><script src="/_next/static/chunks/16rky3981raz5.js" async=""></script><meta name="next-size-adjust" content=""/><title>NeuralLoom - Unified AI Agent Orchestrator &amp; Context Bridge</title><meta name="description" content="Advanced console dashboard and context staging manager for Claude Code and simulated AI agents."/><link rel="manifest" href="/manifest.json"/><link rel="shortcut icon" href="/logo.png"/><link rel="icon" href="/logo.png"/><link rel="apple-touch-icon" href="/logo.png"/><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div class="page-module___8aEwW__container "><header class="page-module___8aEwW__header"><div style="display:flex;align-items:center;gap:1.5rem"><img src="/logo.png" alt="NeuralLoom Logo" style="width:160px;height:160px;border-radius:16px;object-fit:contain"/><div class="page-module___8aEwW__logoArea"><h1 class="page-module___8aEwW__title" style="margin:0;line-height:1.1">NeuralLoom</h1><span class="page-module___8aEwW__subtitle">Unified AI Orchestrator &amp; Context Bridge</span></div></div><div class="page-module___8aEwW__statusIndicator"><span class="page-module___8aEwW__pulseDot"></span><span>Orchestrator Online</span></div></header><div class="page-module___8aEwW__dashboardGrid"><div class="page-module___8aEwW__mainPanel"><section><h2 class="page-module___8aEwW__sectionTitle">Built-in Database Explorer &amp; SQL Client</h2><div class="card" style="padding:0;overflow:hidden;height:450px;border:1px solid var(--border)"><div style="display:flex;height:100%;width:100%;background-color:#05070a;color:#cbd5e1;font-size:0.875rem;min-height:0"><div style="width:220px;border-right:1px solid var(--border);display:flex;flex-direction:column;min-height:0;background-color:rgba(10, 15, 24, 0.4);flex-shrink:0;overflow:hidden;transition:all 0.25s cubic-bezier(0.4, 0, 0.2, 1)"><div style="display:flex;flex-direction:column;height:100%;min-width:220px;min-height:0"><div style="display:flex;flex-direction:column;padding:1rem;min-height:0"><div style="display:flex;justify-content:space-between;align-items:center;margin-bottom:0.75rem"><span style="font-weight:700;letter-spacing:0.05em;text-transform:uppercase;font-size:0.75rem;color:var(--muted)">Connections</span><button style="padding:0.2rem 0.5rem;border-radius:4px;border:1px solid var(--primary);background-color:transparent;color:var(--primary);font-size:0.7rem;font-weight:600;cursor:pointer" title="Add Database Connection Profile">➕ Add</button></div><div style="display:flex;flex-direction:column;gap:0.4rem;overflow-y:auto;max-height:220px"><div style="font-size:0.75rem;color:var(--muted);text-align:center;padding:1rem 0">No connections configured. Add one to start.</div></div></div><div style="display:flex;flex-direction:column;padding:1rem;min-height:0;flex:1;border-top:1px solid var(--border)"><div style="display:flex;justify-content:space-between;align-items:center;margin-bottom:0.75rem"><span style="font-weight:700;letter-spacing:0.05em;text-transform:uppercase;font-size:0.75rem;color:var(--muted)">Schema Tables</span></div><div style="display:flex;flex-direction:column;gap:0.25rem;overflow-y:auto;flex:1;min-height:0"><div style="font-size:0.75rem;color:var(--muted);text-align:center;padding:1rem 0">Select an active connection to view tables.</div></div></div></div></div><div style="flex:1;display:flex;flex-direction:column;min-height:0;background-color:#05070a"><div style="display:flex;justify-content:space-between;align-items:center;padding:0.75rem 1rem;border-bottom:1px solid var(--border);background-color:rgba(15, 23, 42, 0.3);flex-shrink:0"><div style="display:flex;align-items:center;gap:0.75rem"><button type="button" style="background:rgba(255, 255, 255, 0.05);border:1px solid var(--border);border-radius:6px;color:var(--muted);cursor:pointer;padding:0.25rem 0.5rem;font-size:0.75rem;display:flex;align-items:center;justify-content:center;transition:all 0.15s ease" title="Collapse Connections List">◀ Collapse</button><span style="font-size:0.75rem;color:var(--muted)">Active Connection:</span><span style="font-size:0.8rem;font-weight:600;color:var(--danger);display:flex;align-items:center;gap:0.4rem">No Connection Selected</span></div><button style="padding:0.4rem 0.9rem;border-radius:6px;border:none;background-color:var(--primary);color:#fff;font-size:0.8rem;font-weight:600;transition:all 0.2s ease;opacity:0.6;cursor:not-allowed" disabled="">⚡ Execute Query (F5)</button></div><div style="height:180px;border-bottom:1px solid var(--border);position:relative;flex-shrink:0"><textarea style="width:100%;height:100%;background-color:#080c14;border:none;resize:none;color:#e2e8f0;font-family:monospace;font-size:0.85rem;padding:1rem;outline:none;line-height:1.4" placeholder="Write your SQL query script here...">SELECT * FROM sqlite_master;</textarea></div><div style="flex:1;display:flex;flex-direction:column;min-height:0;padding:1rem"><div style="flex:1;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:0.8rem;text-align:center">Write a query script and click Execute to view table records.</div></div></div></div></div></section><section style="margin-top:1.5rem"><h2 class="page-module___8aEwW__sectionTitle">Shared Context Hub &amp; Slash Commands</h2><div class="page-module___8aEwW__contextList"><div class="page-module___8aEwW__contextItem card"><div class="page-module___8aEwW__contextMeta"><span class="page-module___8aEwW__contextTitle">Staged Context &amp; System Rules (/ccc)</span><span class="page-module___8aEwW__contextDetails">Compiles AGENTS.md guidelines and files map.</span></div><button disabled="" style="padding:0.4rem 0.8rem;border-radius:6px;border:1px solid var(--primary);background-color:transparent;color:var(--primary);font-size:0.75rem;font-weight:600;opacity:0.5;cursor:not-allowed">🚀 Mount (/ccc)</button></div><div class="page-module___8aEwW__contextItem card"><div class="page-module___8aEwW__contextMeta"><span class="page-module___8aEwW__contextTitle">Staged Developer Prompt (/ccp)</span><span class="page-module___8aEwW__contextDetails">Executes prompt in .ai/neural-loom/cprompt.md.</span></div><button disabled="" style="padding:0.4rem 0.8rem;border-radius:6px;border:1px solid var(--success);background-color:transparent;color:var(--success);font-size:0.75rem;font-weight:600;opacity:0.5;cursor:not-allowed">⚡ Run (/ccp)</button></div></div><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><div style="height:280px;display:flex;align-items:center;justify-content:center;background-color:var(--card);border:1px solid var(--border);border-radius:12px;margin-top:1.5rem"><span style="color:var(--muted)">Initializing prompt editor...</span></div><!--/$--></section></div><div class="page-module___8aEwW__mainPanel"><section><h2 class="page-module___8aEwW__sectionTitle">Active AI Agents</h2><div class="card" style="padding:3rem 1.5rem;text-align:center"><p style="color:var(--muted);margin-bottom:1.5rem">No active agent sessions. Launch a Claude or Aider agent session to begin.</p><div style="display:flex;gap:0.75rem;flex-direction:column"><div style="display:flex;gap:0.5rem"><button class="page-module___8aEwW__quickLaunchBtn" style="background:linear-gradient(135deg, hsl(262, 83%, 60%) 0%, hsl(195, 100%, 45%) 100%);border:none;flex:1">Launch Claude</button><button class="page-module___8aEwW__quickLaunchBtn" style="background:linear-gradient(135deg, hsl(210, 80%, 45%) 0%, hsl(262, 80%, 55%) 100%);border:none;flex:1">Launch Aider</button></div></div><div style="margin-top:1.5rem;font-size:0.75rem;color:var(--muted)">Need a simulator?<!-- --> <span style="color:var(--primary);cursor:pointer;text-decoration:underline">Start mock playground</span></div></div></section></div><div class="page-module___8aEwW__sidePanel"><section><h2 class="page-module___8aEwW__sectionTitle">Execution Environments</h2><div class="page-module___8aEwW__envGrid"><div class="page-module___8aEwW__envRow" style="padding:0.5rem 0.75rem"><span class="page-module___8aEwW__envName">💻 Local Host</span><span class="page-module___8aEwW__envStatus" style="color:var(--success)">Active</span></div><div class="page-module___8aEwW__envRow" style="opacity:0.6;padding:0.5rem 0.75rem"><span class="page-module___8aEwW__envName">🐳 Docker Sandbox</span><span class="page-module___8aEwW__envStatus" style="color:var(--muted)">Not Mounted</span></div><div class="page-module___8aEwW__envRow" style="opacity:0.6;padding:0.5rem 0.75rem"><span class="page-module___8aEwW__envName">🌐 Remote VM (SSH)</span><span class="page-module___8aEwW__envStatus" style="color:var(--muted)">Offline</span></div></div></section><section><h2 class="page-module___8aEwW__sectionTitle">Saved Configurations</h2><div class="card" style="padding:1rem;display:flex;flex-direction:column;gap:0.75rem"><p style="color:var(--muted);font-size:0.8rem;text-align:center;margin:1rem 0">No configuration templates saved yet. Save a template from the Claude/Aider launch wizards.</p></div></section><section style="display:flex;flex-direction:column;gap:0.5rem"><div style="display:flex;gap:0.5rem"><button class="page-module___8aEwW__quickLaunchBtn" style="background:linear-gradient(135deg, hsl(262, 83%, 60%) 0%, hsl(195, 100%, 45%) 100%);border:none;padding:0.6rem;font-size:0.8rem;flex:1">🤖 Claude Local</button><button class="page-module___8aEwW__quickLaunchBtn" style="background:linear-gradient(135deg, hsl(170, 72%, 40%) 0%, hsl(195, 100%, 40%) 100%);border:none;padding:0.6rem;font-size:0.8rem;flex:1">🐳 Claude Docker</button></div><div style="display:flex;gap:0.5rem"><button class="page-module___8aEwW__quickLaunchBtn" style="background:linear-gradient(135deg, hsl(210, 80%, 45%) 0%, hsl(262, 80%, 55%) 100%);border:none;padding:0.6rem;font-size:0.8rem;flex:1">🐍 Aider Local</button><button class="page-module___8aEwW__quickLaunchBtn" style="background:linear-gradient(135deg, hsl(195, 100%, 40%) 0%, hsl(262, 80%, 55%) 100%);border:none;padding:0.6rem;font-size:0.8rem;flex:1">🐳 Aider Docker</button></div><button class="page-module___8aEwW__quickLaunchBtn" style="background:linear-gradient(135deg, hsl(38, 92%, 50%) 0%, hsl(0, 84%, 60%) 100%);border:none;padding:0.6rem;font-size:0.8rem">🌐 Connect Remote SSH</button></section><section><h2 class="page-module___8aEwW__sectionTitle">Workspace Terminal</h2><div class="card" style="display:flex;flex-direction:column;border:1px solid var(--border);padding:0"><div class="page-module___8aEwW__agentHeader" style="justify-content:space-between;background:rgba(255, 255, 255, 0.02);padding:0.4rem 0.75rem"><span style="font-weight:600;font-size:0.75rem">💻 Local Shell (CWD: <!-- -->root<!-- -->)</span></div><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><div style="height:400px;display:flex;align-items:center;justify-content:center;background-color:#05070a;color:var(--muted);border:1px solid var(--border);border-bottom-left-radius:12px;border-bottom-right-radius:12px"><span>Initializing terminal emulator...</span></div><!--/$--></div></section><section class="card" style="padding:1rem;display:flex;flex-direction:column;gap:0.5rem"><h3 style="font-size:0.9rem;font-weight:700;margin:0">Quick Actions</h3><ul style="list-style:none;font-size:0.75rem;display:flex;flex-direction:column;gap:0.35rem;color:var(--muted);padding:0;margin:0"><li style="display:flex;justify-content:space-between"><span>Configure API Keys</span><span style="color:var(--primary);cursor:pointer">→</span></li><li style="display:flex;justify-content:space-between"><span>Edit rules templates</span><span style="color:var(--primary);cursor:pointer">→</span></li><li style="display:flex;justify-content:space-between"><span>Inspect process locks</span><span style="color:var(--primary);cursor:pointer">→</span></li></ul></section></div></div><footer class="page-module___8aEwW__footer"><span>NeuralLoom v<!-- -->0.2.19<!-- --> — Experimental AI Orchestrator Bridge</span><span>Directory: <!-- -->Loading...</span></footer></div><!--$--><!--/$--><script src="/_next/static/chunks/08o_~ynkkb9ph.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"default\"]\n4:I[47257,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"ClientPageRoot\"]\n5:I[52683,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\",\"/_next/static/chunks/16rky3981raz5.js\"],\"default\"]\n8:I[97367,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"OutletBoundary\"]\n9:\"$Sreact.suspense\"\nb:I[97367,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"ViewportBoundary\"]\nd:I[97367,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"MetadataBoundary\"]\nf:I[68027,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/139c54uo1w7.4.css\",\"style\"]\n:HL[\"/_next/static/media/797e433ab948586e-s.p.08e28id.o-okb.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/chunks/0qu1p~ny_bvko.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/139c54uo1w7.4.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0dbhjjzl8qfwv.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L4\",null,{\"Component\":\"$5\",\"serverProvidedParams\":{\"searchParams\":{},\"params\":{},\"promises\":[\"$@6\",\"$@7\"]}}],[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0qu1p~ny_bvko.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/16rky3981raz5.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@a\"}]}]]}],{},null,false,null]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Ld\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Le\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$f\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/139c54uo1w7.4.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"M1bLGl3NnHp6cxXX_tnbN\"}\n"])</script><script>self.__next_f.push([1,"6:{}\n7:\"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params\"\n"])</script><script>self.__next_f.push([1,"c:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"10:I[27201,[\"/_next/static/chunks/0dbhjjzl8qfwv.js\"],\"IconMark\"]\na:null\ne:[[\"$\",\"title\",\"0\",{\"children\":\"NeuralLoom - Unified AI Agent Orchestrator \u0026 Context Bridge\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Advanced console dashboard and context staging manager for Claude Code and simulated AI agents.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"manifest\",\"href\":\"/manifest.json\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"3\",{\"rel\":\"shortcut icon\",\"href\":\"/logo.png\"}],[\"$\",\"link\",\"4\",{\"rel\":\"icon\",\"href\":\"/logo.png\"}],[\"$\",\"link\",\"5\",{\"rel\":\"apple-touch-icon\",\"href\":\"/logo.png\"}],[\"$\",\"$L10\",\"6\",{}]]\n"])</script></body></html>
@@ -12,7 +12,7 @@ f:I[68027,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"default",1]
12
12
  :HL["/_next/static/media/797e433ab948586e-s.p.08e28id.o-okb.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
13
13
  :HL["/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
14
14
  :HL["/_next/static/chunks/0qu1p~ny_bvko.css","style"]
15
- 0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/139c54uo1w7.4.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0dbhjjzl8qfwv.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@6","$@7"]}}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0qu1p~ny_bvko.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/16rky3981raz5.js","async":true,"nonce":"$undefined"}]],["$","$L8",null,{"children":["$","$9",null,{"name":"Next.MetadataOutlet","children":"$@a"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Lb",null,{"children":"$Lc"}],["$","div",null,{"hidden":true,"children":["$","$Ld",null,{"children":["$","$9",null,{"name":"Next.Metadata","children":"$Le"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$f",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/139c54uo1w7.4.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"K1_el6-FnhIqHfvSMHXCm"}
15
+ 0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/139c54uo1w7.4.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0dbhjjzl8qfwv.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@6","$@7"]}}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0qu1p~ny_bvko.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/16rky3981raz5.js","async":true,"nonce":"$undefined"}]],["$","$L8",null,{"children":["$","$9",null,{"name":"Next.MetadataOutlet","children":"$@a"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Lb",null,{"children":"$Lc"}],["$","div",null,{"hidden":true,"children":["$","$Ld",null,{"children":["$","$9",null,{"name":"Next.Metadata","children":"$Le"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$f",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/139c54uo1w7.4.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"M1bLGl3NnHp6cxXX_tnbN"}
16
16
  6:{}
17
17
  7:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params"
18
18
  c:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
@@ -4,7 +4,7 @@
4
4
  6:I[97367,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"OutletBoundary"]
5
5
  7:"$Sreact.suspense"
6
6
  :HL["/_next/static/chunks/0qu1p~ny_bvko.css","style"]
7
- 0:{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0qu1p~ny_bvko.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/16rky3981raz5.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"K1_el6-FnhIqHfvSMHXCm"}
7
+ 0:{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0qu1p~ny_bvko.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/16rky3981raz5.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"M1bLGl3NnHp6cxXX_tnbN"}
8
8
  4:{}
9
9
  5:"$0:rsc:props:children:0:props:serverProvidedParams:params"
10
10
  8:null
@@ -12,7 +12,7 @@ f:I[68027,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"default",1]
12
12
  :HL["/_next/static/media/797e433ab948586e-s.p.08e28id.o-okb.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
13
13
  :HL["/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
14
14
  :HL["/_next/static/chunks/0qu1p~ny_bvko.css","style"]
15
- 0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/139c54uo1w7.4.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0dbhjjzl8qfwv.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@6","$@7"]}}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0qu1p~ny_bvko.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/16rky3981raz5.js","async":true,"nonce":"$undefined"}]],["$","$L8",null,{"children":["$","$9",null,{"name":"Next.MetadataOutlet","children":"$@a"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Lb",null,{"children":"$Lc"}],["$","div",null,{"hidden":true,"children":["$","$Ld",null,{"children":["$","$9",null,{"name":"Next.Metadata","children":"$Le"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$f",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/139c54uo1w7.4.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"K1_el6-FnhIqHfvSMHXCm"}
15
+ 0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/139c54uo1w7.4.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0dbhjjzl8qfwv.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@6","$@7"]}}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0qu1p~ny_bvko.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/16rky3981raz5.js","async":true,"nonce":"$undefined"}]],["$","$L8",null,{"children":["$","$9",null,{"name":"Next.MetadataOutlet","children":"$@a"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Lb",null,{"children":"$Lc"}],["$","div",null,{"hidden":true,"children":["$","$Ld",null,{"children":["$","$9",null,{"name":"Next.Metadata","children":"$Le"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$f",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/139c54uo1w7.4.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"M1bLGl3NnHp6cxXX_tnbN"}
16
16
  6:{}
17
17
  7:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params"
18
18
  c:[["$","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/0dbhjjzl8qfwv.js"],"MetadataBoundary"]
4
4
  4:"$Sreact.suspense"
5
5
  5:I[27201,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"IconMark"]
6
- 0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"NeuralLoom - Unified AI Agent Orchestrator & Context Bridge"}],["$","meta","1",{"name":"description","content":"Advanced console dashboard and context staging manager for Claude Code and simulated AI agents."}],["$","link","2",{"rel":"manifest","href":"/manifest.json"}],["$","link","3",{"rel":"shortcut icon","href":"/logo.png"}],["$","link","4",{"rel":"icon","href":"/logo.png"}],["$","link","5",{"rel":"apple-touch-icon","href":"/logo.png"}],["$","$L5","6",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"K1_el6-FnhIqHfvSMHXCm"}
6
+ 0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"NeuralLoom - Unified AI Agent Orchestrator & Context Bridge"}],["$","meta","1",{"name":"description","content":"Advanced console dashboard and context staging manager for Claude Code and simulated AI agents."}],["$","link","2",{"rel":"manifest","href":"/manifest.json"}],["$","link","3",{"rel":"shortcut icon","href":"/logo.png"}],["$","link","4",{"rel":"icon","href":"/logo.png"}],["$","link","5",{"rel":"apple-touch-icon","href":"/logo.png"}],["$","$L5","6",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"M1bLGl3NnHp6cxXX_tnbN"}
@@ -2,4 +2,4 @@
2
2
  2:I[39756,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"default"]
3
3
  3:I[37457,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"default"]
4
4
  :HL["/_next/static/chunks/139c54uo1w7.4.css","style"]
5
- 0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/139c54uo1w7.4.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0dbhjjzl8qfwv.js","async":true}]],["$","html",null,{"lang":"en","className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"K1_el6-FnhIqHfvSMHXCm"}
5
+ 0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/139c54uo1w7.4.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0dbhjjzl8qfwv.js","async":true}]],["$","html",null,{"lang":"en","className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"M1bLGl3NnHp6cxXX_tnbN"}
@@ -2,4 +2,4 @@
2
2
  :HL["/_next/static/media/797e433ab948586e-s.p.08e28id.o-okb.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
3
3
  :HL["/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
4
4
  :HL["/_next/static/chunks/0qu1p~ny_bvko.css","style"]
5
- 0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}},"staleTime":300,"buildId":"K1_el6-FnhIqHfvSMHXCm"}
5
+ 0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}},"staleTime":300,"buildId":"M1bLGl3NnHp6cxXX_tnbN"}
@@ -1,5 +1,5 @@
1
1
  module.exports=[27699,(e,t,s)=>{t.exports=e.x("events",()=>require("events"))},24836,(e,t,s)=>{t.exports=e.x("https",()=>require("https"))},21517,(e,t,s)=>{t.exports=e.x("http",()=>require("http"))},4446,(e,t,s)=>{t.exports=e.x("net",()=>require("net"))},55004,(e,t,s)=>{t.exports=e.x("tls",()=>require("tls"))},88947,(e,t,s)=>{t.exports=e.x("stream",()=>require("stream"))},92509,(e,t,s)=>{t.exports=e.x("url",()=>require("url"))},6461,(e,t,s)=>{t.exports=e.x("zlib",()=>require("zlib"))},74836,(e,t,s)=>{"use strict";let r=["nodebuffer","arraybuffer","fragments"],i="u">typeof Blob;i&&r.push("blob"),t.exports={BINARY_TYPES:r,CLOSE_TIMEOUT:3e4,EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",hasBlob:i,kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}}},97970,(e,t,s)=>{"use strict";let{EMPTY_BUFFER:r}=e.r(74836),i=Buffer[Symbol.species];function o(e,t,s,r,i){for(let o=0;o<i;o++)s[r+o]=e[o]^t[3&o]}function n(e,t){for(let s=0;s<e.length;s++)e[s]^=t[3&s]}function a(e){let t;return(a.readOnly=!0,Buffer.isBuffer(e))?e:(e instanceof ArrayBuffer?t=new i(e):ArrayBuffer.isView(e)?t=new i(e.buffer,e.byteOffset,e.byteLength):(t=Buffer.from(e),a.readOnly=!1),t)}if(t.exports={concat:function(e,t){if(0===e.length)return r;if(1===e.length)return e[0];let s=Buffer.allocUnsafe(t),o=0;for(let t=0;t<e.length;t++){let r=e[t];s.set(r,o),o+=r.length}return o<t?new i(s.buffer,s.byteOffset,o):s},mask:o,toArrayBuffer:function(e){return e.length===e.buffer.byteLength?e.buffer:e.buffer.slice(e.byteOffset,e.byteOffset+e.length)},toBuffer:a,unmask:n},!process.env.WS_NO_BUFFER_UTIL)try{let e=(()=>{let e=Error("Cannot find module 'bufferutil'");throw e.code="MODULE_NOT_FOUND",e})();t.exports.mask=function(t,s,r,i,n){n<48?o(t,s,r,i,n):e.mask(t,s,r,i,n)},t.exports.unmask=function(t,s){t.length<32?n(t,s):e.unmask(t,s)}}catch(e){}},62048,(e,t,s)=>{"use strict";let r=Symbol("kDone"),i=Symbol("kRun");class o{constructor(e){this[r]=()=>{this.pending--,this[i]()},this.concurrency=e||1/0,this.jobs=[],this.pending=0}add(e){this.jobs.push(e),this[i]()}[i](){if(this.pending!==this.concurrency&&this.jobs.length){let e=this.jobs.shift();this.pending++,e(this[r])}}}t.exports=o},80295,(e,t,s)=>{"use strict";let r,i=e.r(6461),o=e.r(97970),n=e.r(62048),{kStatusCode:a}=e.r(74836),l=Buffer[Symbol.species],h=Buffer.from([0,0,255,255]),c=Symbol("permessage-deflate"),d=Symbol("total-length"),p=Symbol("callback"),u=Symbol("buffers"),f=Symbol("error");class m{constructor(e){this._options=e||{},this._threshold=void 0!==this._options.threshold?this._options.threshold:1024,this._maxPayload=0|this._options.maxPayload,this._isServer=!!this._options.isServer,this._deflate=null,this._inflate=null,this.params=null,r||(r=new n(void 0!==this._options.concurrencyLimit?this._options.concurrencyLimit:10))}static get extensionName(){return"permessage-deflate"}offer(){let e={};return this._options.serverNoContextTakeover&&(e.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(e.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(e.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?e.client_max_window_bits=this._options.clientMaxWindowBits:null==this._options.clientMaxWindowBits&&(e.client_max_window_bits=!0),e}accept(e){return e=this.normalizeParams(e),this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e),this.params}cleanup(){if(this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate){let e=this._deflate[p];this._deflate.close(),this._deflate=null,e&&e(Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(e){let t=this._options,s=e.find(e=>(!1!==t.serverNoContextTakeover||!e.server_no_context_takeover)&&(!e.server_max_window_bits||!1!==t.serverMaxWindowBits&&("number"!=typeof t.serverMaxWindowBits||!(t.serverMaxWindowBits>e.server_max_window_bits)))&&("number"!=typeof t.clientMaxWindowBits||!!e.client_max_window_bits));if(!s)throw Error("None of the extension offers can be accepted");return t.serverNoContextTakeover&&(s.server_no_context_takeover=!0),t.clientNoContextTakeover&&(s.client_no_context_takeover=!0),"number"==typeof t.serverMaxWindowBits&&(s.server_max_window_bits=t.serverMaxWindowBits),"number"==typeof t.clientMaxWindowBits?s.client_max_window_bits=t.clientMaxWindowBits:(!0===s.client_max_window_bits||!1===t.clientMaxWindowBits)&&delete s.client_max_window_bits,s}acceptAsClient(e){let t=e[0];if(!1===this._options.clientNoContextTakeover&&t.client_no_context_takeover)throw Error('Unexpected parameter "client_no_context_takeover"');if(t.client_max_window_bits){if(!1===this._options.clientMaxWindowBits||"number"==typeof this._options.clientMaxWindowBits&&t.client_max_window_bits>this._options.clientMaxWindowBits)throw Error('Unexpected or invalid parameter "client_max_window_bits"')}else"number"==typeof this._options.clientMaxWindowBits&&(t.client_max_window_bits=this._options.clientMaxWindowBits);return t}normalizeParams(e){return e.forEach(e=>{Object.keys(e).forEach(t=>{let s=e[t];if(s.length>1)throw Error(`Parameter "${t}" must have only a single value`);if(s=s[0],"client_max_window_bits"===t){if(!0!==s){let e=+s;if(!Number.isInteger(e)||e<8||e>15)throw TypeError(`Invalid value for parameter "${t}": ${s}`);s=e}else if(!this._isServer)throw TypeError(`Invalid value for parameter "${t}": ${s}`)}else if("server_max_window_bits"===t){let e=+s;if(!Number.isInteger(e)||e<8||e>15)throw TypeError(`Invalid value for parameter "${t}": ${s}`);s=e}else if("client_no_context_takeover"===t||"server_no_context_takeover"===t){if(!0!==s)throw TypeError(`Invalid value for parameter "${t}": ${s}`)}else throw Error(`Unknown parameter "${t}"`);e[t]=s})}),e}decompress(e,t,s){r.add(r=>{this._decompress(e,t,(e,t)=>{r(),s(e,t)})})}compress(e,t,s){r.add(r=>{this._compress(e,t,(e,t)=>{r(),s(e,t)})})}_decompress(e,t,s){let r=this._isServer?"client":"server";if(!this._inflate){let e=`${r}_max_window_bits`,t="number"!=typeof this.params[e]?i.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=i.createInflateRaw({...this._options.zlibInflateOptions,windowBits:t}),this._inflate[c]=this,this._inflate[d]=0,this._inflate[u]=[],this._inflate.on("error",_),this._inflate.on("data",y)}this._inflate[p]=s,this._inflate.write(e),t&&this._inflate.write(h),this._inflate.flush(()=>{let e=this._inflate[f];if(e){this._inflate.close(),this._inflate=null,s(e);return}let i=o.concat(this._inflate[u],this._inflate[d]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[d]=0,this._inflate[u]=[],t&&this.params[`${r}_no_context_takeover`]&&this._inflate.reset()),s(null,i)})}_compress(e,t,s){let r=this._isServer?"server":"client";if(!this._deflate){let e=`${r}_max_window_bits`,t="number"!=typeof this.params[e]?i.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=i.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:t}),this._deflate[d]=0,this._deflate[u]=[],this._deflate.on("data",g)}this._deflate[p]=s,this._deflate.write(e),this._deflate.flush(i.Z_SYNC_FLUSH,()=>{if(!this._deflate)return;let e=o.concat(this._deflate[u],this._deflate[d]);t&&(e=new l(e.buffer,e.byteOffset,e.length-4)),this._deflate[p]=null,this._deflate[d]=0,this._deflate[u]=[],t&&this.params[`${r}_no_context_takeover`]&&this._deflate.reset(),s(null,e)})}}function g(e){this[u].push(e),this[d]+=e.length}function y(e){(this[d]+=e.length,this[c]._maxPayload<1||this[d]<=this[c]._maxPayload)?this[u].push(e):(this[f]=RangeError("Max payload size exceeded"),this[f].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[f][a]=1009,this.removeListener("data",y),this.reset())}function _(e){(this[c]._inflate=null,this[f])?this[p](this[f]):(e[a]=1007,this[p](e))}t.exports=m},874,(e,t,s)=>{t.exports=e.x("buffer",()=>require("buffer"))},58739,(e,t,s)=>{"use strict";let{isUtf8:r}=e.r(874),{hasBlob:i}=e.r(74836);function o(e){let t=e.length,s=0;for(;s<t;)if((128&e[s])==0)s++;else if((224&e[s])==192){if(s+1===t||(192&e[s+1])!=128||(254&e[s])==192)return!1;s+=2}else if((240&e[s])==224){if(s+2>=t||(192&e[s+1])!=128||(192&e[s+2])!=128||224===e[s]&&(224&e[s+1])==128||237===e[s]&&(224&e[s+1])==160)return!1;s+=3}else{if((248&e[s])!=240||s+3>=t||(192&e[s+1])!=128||(192&e[s+2])!=128||(192&e[s+3])!=128||240===e[s]&&(240&e[s+1])==128||244===e[s]&&e[s+1]>143||e[s]>244)return!1;s+=4}return!0}if(t.exports={isBlob:function(e){return i&&"object"==typeof e&&"function"==typeof e.arrayBuffer&&"string"==typeof e.type&&"function"==typeof e.stream&&("Blob"===e[Symbol.toStringTag]||"File"===e[Symbol.toStringTag])},isValidStatusCode:function(e){return e>=1e3&&e<=1014&&1004!==e&&1005!==e&&1006!==e||e>=3e3&&e<=4999},isValidUTF8:o,tokenChars:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0]},r)t.exports.isValidUTF8=function(e){return e.length<24?o(e):r(e)};else if(!process.env.WS_NO_UTF_8_VALIDATE)try{let e=(()=>{let e=Error("Cannot find module 'utf-8-validate'");throw e.code="MODULE_NOT_FOUND",e})();t.exports.isValidUTF8=function(t){return t.length<32?o(t):e(t)}}catch(e){}},29485,(e,t,s)=>{"use strict";let{Writable:r}=e.r(88947),i=e.r(80295),{BINARY_TYPES:o,EMPTY_BUFFER:n,kStatusCode:a,kWebSocket:l}=e.r(74836),{concat:h,toArrayBuffer:c,unmask:d}=e.r(97970),{isValidStatusCode:p,isValidUTF8:u}=e.r(58739),f=Buffer[Symbol.species],m=0,g=1,y=2,_=3,S=4,b=5,x=6;class v extends r{constructor(e={}){super(),this._allowSynchronousEvents=void 0===e.allowSynchronousEvents||e.allowSynchronousEvents,this._binaryType=e.binaryType||o[0],this._extensions=e.extensions||{},this._isServer=!!e.isServer,this._maxBufferedChunks=0|e.maxBufferedChunks,this._maxFragments=0|e.maxFragments,this._maxPayload=0|e.maxPayload,this._skipUTF8Validation=!!e.skipUTF8Validation,this[l]=void 0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._errored=!1,this._loop=!1,this._state=m}_write(e,t,s){return 8===this._opcode&&this._state==m?s():this._maxBufferedChunks>0&&this._buffers.length>=this._maxBufferedChunks?void s(this.createError(RangeError,"Too many buffered chunks",!1,1008,"WS_ERR_TOO_MANY_BUFFERED_PARTS")):void(this._bufferedBytes+=e.length,this._buffers.push(e),this.startLoop(s))}consume(e){if(this._bufferedBytes-=e,e===this._buffers[0].length)return this._buffers.shift();if(e<this._buffers[0].length){let t=this._buffers[0];return this._buffers[0]=new f(t.buffer,t.byteOffset+e,t.length-e),new f(t.buffer,t.byteOffset,e)}let t=Buffer.allocUnsafe(e);do{let s=this._buffers[0],r=t.length-e;e>=s.length?t.set(this._buffers.shift(),r):(t.set(new Uint8Array(s.buffer,s.byteOffset,e),r),this._buffers[0]=new f(s.buffer,s.byteOffset+e,s.length-e)),e-=s.length}while(e>0)return t}startLoop(e){this._loop=!0;do switch(this._state){case m:this.getInfo(e);break;case g:this.getPayloadLength16(e);break;case y:this.getPayloadLength64(e);break;case _:this.getMask();break;case S:this.getData(e);break;case b:case x:this._loop=!1;return}while(this._loop)this._errored||e()}getInfo(e){if(this._bufferedBytes<2){this._loop=!1;return}let t=this.consume(2);if((48&t[0])!=0)return void e(this.createError(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3"));let s=(64&t[0])==64;if(s&&!this._extensions[i.extensionName])return void e(this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1"));if(this._fin=(128&t[0])==128,this._opcode=15&t[0],this._payloadLength=127&t[1],0===this._opcode){if(s)return void e(this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1"));if(!this._fragmented)return void e(this.createError(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE"));this._opcode=this._fragmented}else if(1===this._opcode||2===this._opcode){if(this._fragmented)return void e(this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE"));this._compressed=s}else{if(!(this._opcode>7)||!(this._opcode<11))return void e(this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE"));if(!this._fin)return void e(this.createError(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN"));if(s)return void e(this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1"));if(this._payloadLength>125||8===this._opcode&&1===this._payloadLength)return void e(this.createError(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH"))}if(this._fin||this._fragmented||(this._fragmented=this._opcode),this._masked=(128&t[1])==128,this._isServer){if(!this._masked)return void e(this.createError(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK"))}else if(this._masked)return void e(this.createError(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK"));126===this._payloadLength?this._state=g:127===this._payloadLength?this._state=y:this.haveLength(e)}getPayloadLength16(e){if(this._bufferedBytes<2){this._loop=!1;return}this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength(e)}getPayloadLength64(e){if(this._bufferedBytes<8){this._loop=!1;return}let t=this.consume(8),s=t.readUInt32BE(0);s>2097151?e(this.createError(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH")):(this._payloadLength=0x100000000*s+t.readUInt32BE(4),this.haveLength(e))}haveLength(e){this._payloadLength&&this._opcode<8&&(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0)?e(this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH")):this._masked?this._state=_:this._state=S}getMask(){if(this._bufferedBytes<4){this._loop=!1;return}this._mask=this.consume(4),this._state=S}getData(e){let t=n;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength){this._loop=!1;return}t=this.consume(this._payloadLength),this._masked&&(this._mask[0]|this._mask[1]|this._mask[2]|this._mask[3])!=0&&d(t,this._mask)}if(this._opcode>7)return void this.controlMessage(t,e);if(this._compressed){this._state=b,this.decompress(t,e);return}if(t.length){if(this._maxFragments>0&&this._fragments.length>=this._maxFragments)return void e(this.createError(RangeError,"Too many message fragments",!1,1008,"WS_ERR_TOO_MANY_BUFFERED_PARTS"));this._messageLength=this._totalPayloadLength,this._fragments.push(t)}this.dataMessage(e)}decompress(e,t){this._extensions[i.extensionName].decompress(e,this._fin,(e,s)=>{if(e)return t(e);if(s.length){if(this._messageLength+=s.length,this._messageLength>this._maxPayload&&this._maxPayload>0)return void t(this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH"));if(this._maxFragments>0&&this._fragments.length>=this._maxFragments)return void t(this.createError(RangeError,"Too many message fragments",!1,1008,"WS_ERR_TOO_MANY_BUFFERED_PARTS"));this._fragments.push(s)}this.dataMessage(t),this._state===m&&this.startLoop(t)})}dataMessage(e){if(!this._fin){this._state=m;return}let t=this._messageLength,s=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],2===this._opcode){let r;r="nodebuffer"===this._binaryType?h(s,t):"arraybuffer"===this._binaryType?c(h(s,t)):"blob"===this._binaryType?new Blob(s):s,this._allowSynchronousEvents?(this.emit("message",r,!0),this._state=m):(this._state=x,setImmediate(()=>{this.emit("message",r,!0),this._state=m,this.startLoop(e)}))}else{let r=h(s,t);if(!this._skipUTF8Validation&&!u(r))return void e(this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8"));this._state===b||this._allowSynchronousEvents?(this.emit("message",r,!1),this._state=m):(this._state=x,setImmediate(()=>{this.emit("message",r,!1),this._state=m,this.startLoop(e)}))}}controlMessage(e,t){if(8===this._opcode){if(0===e.length)this._loop=!1,this.emit("conclude",1005,n),this.end();else{let s=e.readUInt16BE(0);if(!p(s))return void t(this.createError(RangeError,`invalid status code ${s}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE"));let r=new f(e.buffer,e.byteOffset+2,e.length-2);if(!this._skipUTF8Validation&&!u(r))return void t(this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8"));this._loop=!1,this.emit("conclude",s,r),this.end()}this._state=m;return}this._allowSynchronousEvents?(this.emit(9===this._opcode?"ping":"pong",e),this._state=m):(this._state=x,setImmediate(()=>{this.emit(9===this._opcode?"ping":"pong",e),this._state=m,this.startLoop(t)}))}createError(e,t,s,r,i){this._loop=!1,this._errored=!0;let o=new e(s?`Invalid WebSocket frame: ${t}`:t);return Error.captureStackTrace(o,this.createError),o.code=i,o[a]=r,o}}t.exports=v},16735,(e,t,s)=>{"use strict";let r,{Duplex:i}=e.r(88947),{randomFillSync:o}=e.r(54799),{types:{isUint8Array:n}}=e.r(24361),a=e.r(80295),{EMPTY_BUFFER:l,kWebSocket:h,NOOP:c}=e.r(74836),{isBlob:d,isValidStatusCode:p}=e.r(58739),{mask:u,toBuffer:f}=e.r(97970),m=Symbol("kByteLength"),g=Buffer.alloc(4),y=8192,_=8192,S=0,b=1,x=2;class v{constructor(e,t,s){this._extensions=t||{},s&&(this._generateMask=s,this._maskBuffer=Buffer.alloc(4)),this._socket=e,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._queue=[],this._state=S,this.onerror=c,this[h]=void 0}static frame(e,t){let s,i,n=!1,a=2,l=!1;t.mask&&(s=t.maskBuffer||g,t.generateMask?t.generateMask(s):(_===y&&(void 0===r&&(r=Buffer.alloc(y)),o(r,0,y),_=0),s[0]=r[_++],s[1]=r[_++],s[2]=r[_++],s[3]=r[_++]),l=(s[0]|s[1]|s[2]|s[3])==0,a=6),"string"==typeof e?i=(!t.mask||l)&&void 0!==t[m]?t[m]:(e=Buffer.from(e)).length:(i=e.length,n=t.mask&&t.readOnly&&!l);let h=i;i>=65536?(a+=8,h=127):i>125&&(a+=2,h=126);let c=Buffer.allocUnsafe(n?i+a:a);return(c[0]=t.fin?128|t.opcode:t.opcode,t.rsv1&&(c[0]|=64),c[1]=h,126===h?c.writeUInt16BE(i,2):127===h&&(c[2]=c[3]=0,c.writeUIntBE(i,4,6)),t.mask)?(c[1]|=128,c[a-4]=s[0],c[a-3]=s[1],c[a-2]=s[2],c[a-1]=s[3],l)?[c,e]:n?(u(e,s,c,a,i),[c]):(u(e,s,e,0,i),[c,e]):[c,e]}close(e,t,s,r){let i;if(void 0===e)i=l;else if("number"==typeof e&&p(e))if(void 0!==t&&t.length){let s=Buffer.byteLength(t);if(s>123)throw RangeError("The message must not be greater than 123 bytes");if((i=Buffer.allocUnsafe(2+s)).writeUInt16BE(e,0),"string"==typeof t)i.write(t,2);else if(n(t))i.set(t,2);else throw TypeError("Second argument must be a string or a Uint8Array")}else(i=Buffer.allocUnsafe(2)).writeUInt16BE(e,0);else throw TypeError("First argument must be a valid error code number");let o={[m]:i.length,fin:!0,generateMask:this._generateMask,mask:s,maskBuffer:this._maskBuffer,opcode:8,readOnly:!1,rsv1:!1};this._state!==S?this.enqueue([this.dispatch,i,!1,o,r]):this.sendFrame(v.frame(i,o),r)}ping(e,t,s){let r,i;if("string"==typeof e?(r=Buffer.byteLength(e),i=!1):d(e)?(r=e.size,i=!1):(r=(e=f(e)).length,i=f.readOnly),r>125)throw RangeError("The data size must not be greater than 125 bytes");let o={[m]:r,fin:!0,generateMask:this._generateMask,mask:t,maskBuffer:this._maskBuffer,opcode:9,readOnly:i,rsv1:!1};d(e)?this._state!==S?this.enqueue([this.getBlobData,e,!1,o,s]):this.getBlobData(e,!1,o,s):this._state!==S?this.enqueue([this.dispatch,e,!1,o,s]):this.sendFrame(v.frame(e,o),s)}pong(e,t,s){let r,i;if("string"==typeof e?(r=Buffer.byteLength(e),i=!1):d(e)?(r=e.size,i=!1):(r=(e=f(e)).length,i=f.readOnly),r>125)throw RangeError("The data size must not be greater than 125 bytes");let o={[m]:r,fin:!0,generateMask:this._generateMask,mask:t,maskBuffer:this._maskBuffer,opcode:10,readOnly:i,rsv1:!1};d(e)?this._state!==S?this.enqueue([this.getBlobData,e,!1,o,s]):this.getBlobData(e,!1,o,s):this._state!==S?this.enqueue([this.dispatch,e,!1,o,s]):this.sendFrame(v.frame(e,o),s)}send(e,t,s){let r,i,o=this._extensions[a.extensionName],n=t.binary?2:1,l=t.compress;"string"==typeof e?(r=Buffer.byteLength(e),i=!1):d(e)?(r=e.size,i=!1):(r=(e=f(e)).length,i=f.readOnly),this._firstFragment?(this._firstFragment=!1,l&&o&&o.params[o._isServer?"server_no_context_takeover":"client_no_context_takeover"]&&(l=r>=o._threshold),this._compress=l):(l=!1,n=0),t.fin&&(this._firstFragment=!0);let h={[m]:r,fin:t.fin,generateMask:this._generateMask,mask:t.mask,maskBuffer:this._maskBuffer,opcode:n,readOnly:i,rsv1:l};d(e)?this._state!==S?this.enqueue([this.getBlobData,e,this._compress,h,s]):this.getBlobData(e,this._compress,h,s):this._state!==S?this.enqueue([this.dispatch,e,this._compress,h,s]):this.dispatch(e,this._compress,h,s)}getBlobData(e,t,s,r){this._bufferedBytes+=s[m],this._state=x,e.arrayBuffer().then(e=>{if(this._socket.destroyed){let e=Error("The socket was closed while the blob was being read");process.nextTick(k,this,e,r);return}this._bufferedBytes-=s[m];let i=f(e);t?this.dispatch(i,t,s,r):(this._state=S,this.sendFrame(v.frame(i,s),r),this.dequeue())}).catch(e=>{process.nextTick(w,this,e,r)})}dispatch(e,t,s,r){if(!t)return void this.sendFrame(v.frame(e,s),r);let i=this._extensions[a.extensionName];this._bufferedBytes+=s[m],this._state=b,i.compress(e,s.fin,(e,t)=>{this._socket.destroyed?k(this,Error("The socket was closed while data was being compressed"),r):(this._bufferedBytes-=s[m],this._state=S,s.readOnly=!1,this.sendFrame(v.frame(t,s),r),this.dequeue())})}dequeue(){for(;this._state===S&&this._queue.length;){let e=this._queue.shift();this._bufferedBytes-=e[3][m],Reflect.apply(e[0],this,e.slice(1))}}enqueue(e){this._bufferedBytes+=e[3][m],this._queue.push(e)}sendFrame(e,t){2===e.length?(this._socket.cork(),this._socket.write(e[0]),this._socket.write(e[1],t),this._socket.uncork()):this._socket.write(e[0],t)}}function k(e,t,s){"function"==typeof s&&s(t);for(let s=0;s<e._queue.length;s++){let r=e._queue[s],i=r[r.length-1];"function"==typeof i&&i(t)}}function w(e,t,s){k(e,t,s),e.onerror(t)}t.exports=v},70494,(e,t,s)=>{"use strict";let{kForOnEventAttribute:r,kListener:i}=e.r(74836),o=Symbol("kCode"),n=Symbol("kData"),a=Symbol("kError"),l=Symbol("kMessage"),h=Symbol("kReason"),c=Symbol("kTarget"),d=Symbol("kType"),p=Symbol("kWasClean");class u{constructor(e){this[c]=null,this[d]=e}get target(){return this[c]}get type(){return this[d]}}Object.defineProperty(u.prototype,"target",{enumerable:!0}),Object.defineProperty(u.prototype,"type",{enumerable:!0});class f extends u{constructor(e,t={}){super(e),this[o]=void 0===t.code?0:t.code,this[h]=void 0===t.reason?"":t.reason,this[p]=void 0!==t.wasClean&&t.wasClean}get code(){return this[o]}get reason(){return this[h]}get wasClean(){return this[p]}}Object.defineProperty(f.prototype,"code",{enumerable:!0}),Object.defineProperty(f.prototype,"reason",{enumerable:!0}),Object.defineProperty(f.prototype,"wasClean",{enumerable:!0});class m extends u{constructor(e,t={}){super(e),this[a]=void 0===t.error?null:t.error,this[l]=void 0===t.message?"":t.message}get error(){return this[a]}get message(){return this[l]}}Object.defineProperty(m.prototype,"error",{enumerable:!0}),Object.defineProperty(m.prototype,"message",{enumerable:!0});class g extends u{constructor(e,t={}){super(e),this[n]=void 0===t.data?null:t.data}get data(){return this[n]}}Object.defineProperty(g.prototype,"data",{enumerable:!0});let y={addEventListener(e,t,s={}){let o;for(let o of this.listeners(e))if(!s[r]&&o[i]===t&&!o[r])return;if("message"===e)o=function(e,s){let r=new g("message",{data:s?e:e.toString()});r[c]=this,_(t,this,r)};else if("close"===e)o=function(e,s){let r=new f("close",{code:e,reason:s.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});r[c]=this,_(t,this,r)};else if("error"===e)o=function(e){let s=new m("error",{error:e,message:e.message});s[c]=this,_(t,this,s)};else{if("open"!==e)return;o=function(){let e=new u("open");e[c]=this,_(t,this,e)}}o[r]=!!s[r],o[i]=t,s.once?this.once(e,o):this.on(e,o)},removeEventListener(e,t){for(let s of this.listeners(e))if(s[i]===t&&!s[r]){this.removeListener(e,s);break}}};function _(e,t,s){"object"==typeof e&&e.handleEvent?e.handleEvent.call(e,s):e.call(t,s)}t.exports={CloseEvent:f,ErrorEvent:m,Event:u,EventTarget:y,MessageEvent:g}},96903,(e,t,s)=>{"use strict";let{tokenChars:r}=e.r(58739);function i(e,t,s){void 0===e[t]?e[t]=[s]:e[t].push(s)}t.exports={format:function(e){return Object.keys(e).map(t=>{let s=e[t];return Array.isArray(s)||(s=[s]),s.map(e=>[t].concat(Object.keys(e).map(t=>{let s=e[t];return Array.isArray(s)||(s=[s]),s.map(e=>!0===e?t:`${t}=${e}`).join("; ")})).join("; ")).join(", ")}).join(", ")},parse:function(e){let t,s,o=Object.create(null),n=Object.create(null),a=!1,l=!1,h=!1,c=-1,d=-1,p=-1,u=0;for(;u<e.length;u++)if(d=e.charCodeAt(u),void 0===t)if(-1===p&&1===r[d])-1===c&&(c=u);else if(0!==u&&(32===d||9===d))-1===p&&-1!==c&&(p=u);else if(59===d||44===d){if(-1===c)throw SyntaxError(`Unexpected character at index ${u}`);-1===p&&(p=u);let s=e.slice(c,p);44===d?(i(o,s,n),n=Object.create(null)):t=s,c=p=-1}else throw SyntaxError(`Unexpected character at index ${u}`);else if(void 0===s)if(-1===p&&1===r[d])-1===c&&(c=u);else if(32===d||9===d)-1===p&&-1!==c&&(p=u);else if(59===d||44===d){if(-1===c)throw SyntaxError(`Unexpected character at index ${u}`);-1===p&&(p=u),i(n,e.slice(c,p),!0),44===d&&(i(o,t,n),n=Object.create(null),t=void 0),c=p=-1}else if(61===d&&-1!==c&&-1===p)s=e.slice(c,u),c=p=-1;else throw SyntaxError(`Unexpected character at index ${u}`);else if(l){if(1!==r[d])throw SyntaxError(`Unexpected character at index ${u}`);-1===c?c=u:a||(a=!0),l=!1}else if(h)if(1===r[d])-1===c&&(c=u);else if(34===d&&-1!==c)h=!1,p=u;else if(92===d)l=!0;else throw SyntaxError(`Unexpected character at index ${u}`);else if(34===d&&61===e.charCodeAt(u-1))h=!0;else if(-1===p&&1===r[d])-1===c&&(c=u);else if(-1!==c&&(32===d||9===d))-1===p&&(p=u);else if(59===d||44===d){if(-1===c)throw SyntaxError(`Unexpected character at index ${u}`);-1===p&&(p=u);let r=e.slice(c,p);a&&(r=r.replace(/\\/g,""),a=!1),i(n,s,r),44===d&&(i(o,t,n),n=Object.create(null),t=void 0),s=void 0,c=p=-1}else throw SyntaxError(`Unexpected character at index ${u}`);if(-1===c||h||32===d||9===d)throw SyntaxError("Unexpected end of input");-1===p&&(p=u);let f=e.slice(c,p);return void 0===t?i(o,f,n):(void 0===s?i(n,f,!0):a?i(n,s,f.replace(/\\/g,"")):i(n,s,f),i(o,t,n)),o}}},35065,(e,t,s)=>{"use strict";let r=e.r(27699),i=e.r(24836),o=e.r(21517),n=e.r(4446),a=e.r(55004),{randomBytes:l,createHash:h}=e.r(54799),{Duplex:c,Readable:d}=e.r(88947),{URL:p}=e.r(92509),u=e.r(80295),f=e.r(29485),m=e.r(16735),{isBlob:g}=e.r(58739),{BINARY_TYPES:y,CLOSE_TIMEOUT:_,EMPTY_BUFFER:S,GUID:b,kForOnEventAttribute:x,kListener:v,kStatusCode:k,kWebSocket:w,NOOP:E}=e.r(74836),{EventTarget:{addEventListener:L,removeEventListener:P}}=e.r(70494),{format:T,parse:O}=e.r(96903),{toBuffer:C}=e.r(97970),A=Symbol("kAborted"),N=[8,13],R=["CONNECTING","OPEN","CLOSING","CLOSED"],I=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class D extends r{constructor(e,t,s){super(),this._binaryType=y[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=S,this._closeTimer=null,this._errorEmitted=!1,this._extensions={},this._paused=!1,this._protocol="",this._readyState=D.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,null!==e?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,void 0===t?t=[]:Array.isArray(t)||("object"==typeof t&&null!==t?(s=t,t=[]):t=[t]),M(this,e,t,s)):(this._autoPong=s.autoPong,this._closeTimeout=s.closeTimeout,this._isServer=!0)}get binaryType(){return this._binaryType}set binaryType(e){y.includes(e)&&(this._binaryType=e,this._receiver&&(this._receiver._binaryType=e))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get isPaused(){return this._paused}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,t,s){let r=new f({allowSynchronousEvents:s.allowSynchronousEvents,binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxBufferedChunks:s.maxBufferedChunks,maxFragments:s.maxFragments,maxPayload:s.maxPayload,skipUTF8Validation:s.skipUTF8Validation}),i=new m(e,this._extensions,s.generateMask);this._receiver=r,this._sender=i,this._socket=e,r[w]=this,i[w]=this,e[w]=this,r.on("conclude",j),r.on("drain",G),r.on("error",z),r.on("message",q),r.on("ping",H),r.on("pong",K),i.onerror=J,e.setTimeout&&e.setTimeout(0),e.setNoDelay&&e.setNoDelay(),t.length>0&&e.unshift(t),e.on("close",Z),e.on("data",Q),e.on("end",ee),e.on("error",et),this._readyState=D.OPEN,this.emit("open")}emitClose(){if(!this._socket){this._readyState=D.CLOSED,this.emit("close",this._closeCode,this._closeMessage);return}this._extensions[u.extensionName]&&this._extensions[u.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=D.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(e,t){if(this.readyState!==D.CLOSED){if(this.readyState===D.CONNECTING){let e="WebSocket was closed before the connection was established";W(this,this._req,e);return}if(this.readyState===D.CLOSING){this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end();return}this._readyState=D.CLOSING,this._sender.close(e,t,!this._isServer,e=>{!e&&(this._closeFrameSent=!0,(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end())}),X(this)}}pause(){this.readyState!==D.CONNECTING&&this.readyState!==D.CLOSED&&(this._paused=!0,this._socket.pause())}ping(e,t,s){if(this.readyState===D.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");("function"==typeof e?(s=e,e=t=void 0):"function"==typeof t&&(s=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState!==D.OPEN)?B(this,e,s):(void 0===t&&(t=!this._isServer),this._sender.ping(e||S,t,s))}pong(e,t,s){if(this.readyState===D.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");("function"==typeof e?(s=e,e=t=void 0):"function"==typeof t&&(s=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState!==D.OPEN)?B(this,e,s):(void 0===t&&(t=!this._isServer),this._sender.pong(e||S,t,s))}resume(){this.readyState!==D.CONNECTING&&this.readyState!==D.CLOSED&&(this._paused=!1,this._receiver._writableState.needDrain||this._socket.resume())}send(e,t,s){if(this.readyState===D.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof t&&(s=t,t={}),"number"==typeof e&&(e=e.toString()),this.readyState!==D.OPEN)return void B(this,e,s);let r={binary:"string"!=typeof e,mask:!this._isServer,compress:!0,fin:!0,...t};this._extensions[u.extensionName]||(r.compress=!1),this._sender.send(e||S,r,s)}terminate(){if(this.readyState!==D.CLOSED){if(this.readyState===D.CONNECTING){let e="WebSocket was closed before the connection was established";W(this,this._req,e);return}this._socket&&(this._readyState=D.CLOSING,this._socket.destroy())}}}function M(e,t,s,r){let n,a,c,d,f={allowSynchronousEvents:!0,autoPong:!0,closeTimeout:_,protocolVersion:N[1],maxBufferedChunks:1048576,maxFragments:131072,maxPayload:0x6400000,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...r,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:"GET",host:void 0,path:void 0,port:void 0};if(e._autoPong=f.autoPong,e._closeTimeout=f.closeTimeout,!N.includes(f.protocolVersion))throw RangeError(`Unsupported protocol version: ${f.protocolVersion} (supported versions: ${N.join(", ")})`);if(t instanceof p)n=t;else try{n=new p(t)}catch{throw SyntaxError(`Invalid URL: ${t}`)}"http:"===n.protocol?n.protocol="ws:":"https:"===n.protocol&&(n.protocol="wss:"),e._url=n.href;let m="wss:"===n.protocol,g="ws+unix:"===n.protocol;if("ws:"===n.protocol||m||g?g&&!n.pathname?a="The URL's pathname is empty":n.hash&&(a="The URL contains a fragment identifier"):a='The URL\'s protocol must be one of "ws:", "wss:", "http:", "https:", or "ws+unix:"',a){let t=SyntaxError(a);if(0!==e._redirects)return void U(e,t);throw t}let y=m?443:80,S=l(16).toString("base64"),x=m?i.request:o.request,v=new Set;if(f.createConnection=f.createConnection||(m?$:F),f.defaultPort=f.defaultPort||y,f.port=n.port||y,f.host=n.hostname.startsWith("[")?n.hostname.slice(1,-1):n.hostname,f.headers={...f.headers,"Sec-WebSocket-Version":f.protocolVersion,"Sec-WebSocket-Key":S,Connection:"Upgrade",Upgrade:"websocket"},f.path=n.pathname+n.search,f.timeout=f.handshakeTimeout,f.perMessageDeflate&&(c=new u({...f.perMessageDeflate,isServer:!1,maxPayload:f.maxPayload}),f.headers["Sec-WebSocket-Extensions"]=T({[u.extensionName]:c.offer()})),s.length){for(let e of s){if("string"!=typeof e||!I.test(e)||v.has(e))throw SyntaxError("An invalid or duplicated subprotocol was specified");v.add(e)}f.headers["Sec-WebSocket-Protocol"]=s.join(",")}if(f.origin&&(f.protocolVersion<13?f.headers["Sec-WebSocket-Origin"]=f.origin:f.headers.Origin=f.origin),(n.username||n.password)&&(f.auth=`${n.username}:${n.password}`),g){let e=f.path.split(":");f.socketPath=e[0],f.path=e[1]}if(f.followRedirects){if(0===e._redirects){e._originalIpc=g,e._originalSecure=m,e._originalHostOrSocketPath=g?f.socketPath:n.host;let t=r&&r.headers;if(r={...r,headers:{}},t)for(let[e,s]of Object.entries(t))r.headers[e.toLowerCase()]=s}else if(0===e.listenerCount("redirect")){let t=g?!!e._originalIpc&&f.socketPath===e._originalHostOrSocketPath:!e._originalIpc&&n.host===e._originalHostOrSocketPath;t&&(!e._originalSecure||m)||(delete f.headers.authorization,delete f.headers.cookie,t||delete f.headers.host,f.auth=void 0)}f.auth&&!r.headers.authorization&&(r.headers.authorization="Basic "+Buffer.from(f.auth).toString("base64")),d=e._req=x(f),e._redirects&&e.emit("redirect",e.url,d)}else d=e._req=x(f);f.timeout&&d.on("timeout",()=>{W(e,d,"Opening handshake has timed out")}),d.on("error",t=>{null===d||d[A]||(d=e._req=null,U(e,t))}),d.on("response",i=>{let o=i.headers.location,n=i.statusCode;if(o&&f.followRedirects&&n>=300&&n<400){let i;if(++e._redirects>f.maxRedirects)return void W(e,d,"Maximum redirects exceeded");d.abort();try{i=new p(o,t)}catch(t){U(e,SyntaxError(`Invalid URL: ${o}`));return}M(e,i,s,r)}else e.emit("unexpected-response",d,i)||W(e,d,`Unexpected server response: ${i.statusCode}`)}),d.on("upgrade",(t,s,r)=>{let i;if(e.emit("upgrade",t),e.readyState!==D.CONNECTING)return;d=e._req=null;let o=t.headers.upgrade;if(void 0===o||"websocket"!==o.toLowerCase())return void W(e,s,"Invalid Upgrade header");let n=h("sha1").update(S+b).digest("base64");if(t.headers["sec-websocket-accept"]!==n)return void W(e,s,"Invalid Sec-WebSocket-Accept header");let a=t.headers["sec-websocket-protocol"];if(void 0!==a?v.size?v.has(a)||(i="Server sent an invalid subprotocol"):i="Server sent a subprotocol but none was requested":v.size&&(i="Server sent no subprotocol"),i)return void W(e,s,i);a&&(e._protocol=a);let l=t.headers["sec-websocket-extensions"];if(void 0!==l){let t;if(!c)return void W(e,s,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");try{t=O(l)}catch(t){W(e,s,"Invalid Sec-WebSocket-Extensions header");return}let r=Object.keys(t);if(1!==r.length||r[0]!==u.extensionName)return void W(e,s,"Server indicated an extension that was not requested");try{c.accept(t[u.extensionName])}catch(t){W(e,s,"Invalid Sec-WebSocket-Extensions header");return}e._extensions[u.extensionName]=c}e.setSocket(s,r,{allowSynchronousEvents:f.allowSynchronousEvents,generateMask:f.generateMask,maxBufferedChunks:f.maxBufferedChunks,maxFragments:f.maxFragments,maxPayload:f.maxPayload,skipUTF8Validation:f.skipUTF8Validation})}),f.finishRequest?f.finishRequest(d,e):d.end()}function U(e,t){e._readyState=D.CLOSING,e._errorEmitted=!0,e.emit("error",t),e.emitClose()}function F(e){return e.path=e.socketPath,n.connect(e)}function $(e){return e.path=void 0,e.servername||""===e.servername||(e.servername=n.isIP(e.host)?"":e.host),a.connect(e)}function W(e,t,s){e._readyState=D.CLOSING;let r=Error(s);Error.captureStackTrace(r,W),t.setHeader?(t[A]=!0,t.abort(),t.socket&&!t.socket.destroyed&&t.socket.destroy(),process.nextTick(U,e,r)):(t.destroy(r),t.once("error",e.emit.bind(e,"error")),t.once("close",e.emitClose.bind(e)))}function B(e,t,s){if(t){let s=g(t)?t.size:C(t).length;e._socket?e._sender._bufferedBytes+=s:e._bufferedAmount+=s}if(s){let t=Error(`WebSocket is not open: readyState ${e.readyState} (${R[e.readyState]})`);process.nextTick(s,t)}}function j(e,t){let s=this[w];s._closeFrameReceived=!0,s._closeMessage=t,s._closeCode=e,void 0!==s._socket[w]&&(s._socket.removeListener("data",Q),process.nextTick(Y,s._socket),1005===e?s.close():s.close(e,t))}function G(){let e=this[w];e.isPaused||e._socket.resume()}function z(e){let t=this[w];void 0!==t._socket[w]&&(t._socket.removeListener("data",Q),process.nextTick(Y,t._socket),t.close(e[k])),t._errorEmitted||(t._errorEmitted=!0,t.emit("error",e))}function V(){this[w].emitClose()}function q(e,t){this[w].emit("message",e,t)}function H(e){let t=this[w];t._autoPong&&t.pong(e,!this._isServer,E),t.emit("ping",e)}function K(e){this[w].emit("pong",e)}function Y(e){e.resume()}function J(e){let t=this[w];t.readyState!==D.CLOSED&&(t.readyState===D.OPEN&&(t._readyState=D.CLOSING,X(t)),this._socket.end(),t._errorEmitted||(t._errorEmitted=!0,t.emit("error",e)))}function X(e){e._closeTimer=setTimeout(e._socket.destroy.bind(e._socket),e._closeTimeout)}function Z(){let e=this[w];if(this.removeListener("close",Z),this.removeListener("data",Q),this.removeListener("end",ee),e._readyState=D.CLOSING,!this._readableState.endEmitted&&!e._closeFrameReceived&&!e._receiver._writableState.errorEmitted&&0!==this._readableState.length){let t=this.read(this._readableState.length);e._receiver.write(t)}e._receiver.end(),this[w]=void 0,clearTimeout(e._closeTimer),e._receiver._writableState.finished||e._receiver._writableState.errorEmitted?e.emitClose():(e._receiver.on("error",V),e._receiver.on("finish",V))}function Q(e){this[w]._receiver.write(e)||this.pause()}function ee(){let e=this[w];e._readyState=D.CLOSING,e._receiver.end(),this.end()}function et(){let e=this[w];this.removeListener("error",et),this.on("error",E),e&&(e._readyState=D.CLOSING,this.destroy())}Object.defineProperty(D,"CONNECTING",{enumerable:!0,value:R.indexOf("CONNECTING")}),Object.defineProperty(D.prototype,"CONNECTING",{enumerable:!0,value:R.indexOf("CONNECTING")}),Object.defineProperty(D,"OPEN",{enumerable:!0,value:R.indexOf("OPEN")}),Object.defineProperty(D.prototype,"OPEN",{enumerable:!0,value:R.indexOf("OPEN")}),Object.defineProperty(D,"CLOSING",{enumerable:!0,value:R.indexOf("CLOSING")}),Object.defineProperty(D.prototype,"CLOSING",{enumerable:!0,value:R.indexOf("CLOSING")}),Object.defineProperty(D,"CLOSED",{enumerable:!0,value:R.indexOf("CLOSED")}),Object.defineProperty(D.prototype,"CLOSED",{enumerable:!0,value:R.indexOf("CLOSED")}),["binaryType","bufferedAmount","extensions","isPaused","protocol","readyState","url"].forEach(e=>{Object.defineProperty(D.prototype,e,{enumerable:!0})}),["open","error","close","message"].forEach(e=>{Object.defineProperty(D.prototype,`on${e}`,{enumerable:!0,get(){for(let t of this.listeners(e))if(t[x])return t[v];return null},set(t){for(let t of this.listeners(e))if(t[x]){this.removeListener(e,t);break}"function"==typeof t&&this.addEventListener(e,t,{[x]:!0})}})}),D.prototype.addEventListener=L,D.prototype.removeEventListener=P,t.exports=D},21365,(e,t,s)=>{"use strict";e.r(35065);let{Duplex:r}=e.r(88947);function i(e){e.emit("close")}function o(){!this.destroyed&&this._writableState.finished&&this.destroy()}function n(e){this.removeListener("error",n),this.destroy(),0===this.listenerCount("error")&&this.emit("error",e)}t.exports=function(e,t){let s=!0,a=new r({...t,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return e.on("message",function(t,s){let r=!s&&a._readableState.objectMode?t.toString():t;a.push(r)||e.pause()}),e.once("error",function(e){a.destroyed||(s=!1,a.destroy(e))}),e.once("close",function(){a.destroyed||a.push(null)}),a._destroy=function(t,r){if(e.readyState===e.CLOSED){r(t),process.nextTick(i,a);return}let o=!1;e.once("error",function(e){o=!0,r(e)}),e.once("close",function(){o||r(t),process.nextTick(i,a)}),s&&e.terminate()},a._final=function(t){e.readyState===e.CONNECTING?e.once("open",function(){a._final(t)}):null!==e._socket&&(e._socket._writableState.finished?(t(),a._readableState.endEmitted&&a.destroy()):(e._socket.once("finish",function(){t()}),e.close()))},a._read=function(){e.isPaused&&e.resume()},a._write=function(t,s,r){e.readyState===e.CONNECTING?e.once("open",function(){a._write(t,s,r)}):e.send(t,r)},a.on("end",o),a.on("error",n),a}},42977,(e,t,s)=>{"use strict";let{tokenChars:r}=e.r(58739);t.exports={parse:function(e){let t=new Set,s=-1,i=-1,o=0;for(;o<e.length;o++){let n=e.charCodeAt(o);if(-1===i&&1===r[n])-1===s&&(s=o);else if(0!==o&&(32===n||9===n))-1===i&&-1!==s&&(i=o);else if(44===n){if(-1===s)throw SyntaxError(`Unexpected character at index ${o}`);-1===i&&(i=o);let r=e.slice(s,i);if(t.has(r))throw SyntaxError(`The "${r}" subprotocol is duplicated`);t.add(r),s=i=-1}else throw SyntaxError(`Unexpected character at index ${o}`)}if(-1===s||-1!==i)throw SyntaxError("Unexpected end of input");let n=e.slice(s,o);if(t.has(n))throw SyntaxError(`The "${n}" subprotocol is duplicated`);return t.add(n),t}}},17198,(e,t,s)=>{"use strict";let r=e.r(27699),i=e.r(21517),{Duplex:o}=e.r(88947),{createHash:n}=e.r(54799),a=e.r(96903),l=e.r(80295),h=e.r(42977),c=e.r(35065),{CLOSE_TIMEOUT:d,GUID:p,kWebSocket:u}=e.r(74836),f=/^[+/0-9A-Za-z]{22}==$/,m=0,g=1,y=2;class _ extends r{constructor(e,t){if(super(),null==(e={allowSynchronousEvents:!0,autoPong:!0,maxBufferedChunks:1048576,maxFragments:131072,maxPayload:0x6400000,skipUTF8Validation:!1,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,closeTimeout:d,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,WebSocket:c,...e}).port&&!e.server&&!e.noServer||null!=e.port&&(e.server||e.noServer)||e.server&&e.noServer)throw TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(null!=e.port?(this._server=i.createServer((e,t)=>{let s=i.STATUS_CODES[426];t.writeHead(426,{"Content-Length":s.length,"Content-Type":"text/plain"}),t.end(s)}),this._server.listen(e.port,e.host,e.backlog,t)):e.server&&(this._server=e.server),this._server){const e=this.emit.bind(this,"connection");this._removeListeners=S(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(t,s,r)=>{this.handleUpgrade(t,s,r,e)}})}!0===e.perMessageDeflate&&(e.perMessageDeflate={}),e.clientTracking&&(this.clients=new Set,this._shouldEmitClose=!1),this.options=e,this._state=m}address(){if(this.options.noServer)throw Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(e){if(this._state===y){e&&this.once("close",()=>{e(Error("The server is not running"))}),process.nextTick(b,this);return}if(e&&this.once("close",e),this._state!==g)if(this._state=g,this.options.noServer||this.options.server)this._server&&(this._removeListeners(),this._removeListeners=this._server=null),this.clients&&this.clients.size?this._shouldEmitClose=!0:process.nextTick(b,this);else{let e=this._server;this._removeListeners(),this._removeListeners=this._server=null,e.close(()=>{b(this)})}}shouldHandle(e){if(this.options.path){let t=e.url.indexOf("?");if((-1!==t?e.url.slice(0,t):e.url)!==this.options.path)return!1}return!0}handleUpgrade(e,t,s,r){t.on("error",x);let i=e.headers["sec-websocket-key"],o=e.headers.upgrade,n=+e.headers["sec-websocket-version"];if("GET"!==e.method)return void k(this,e,t,405,"Invalid HTTP method");if(void 0===o||"websocket"!==o.toLowerCase())return void k(this,e,t,400,"Invalid Upgrade header");if(void 0===i||!f.test(i))return void k(this,e,t,400,"Missing or invalid Sec-WebSocket-Key header");if(13!==n&&8!==n)return void k(this,e,t,400,"Missing or invalid Sec-WebSocket-Version header",{"Sec-WebSocket-Version":"13, 8"});if(!this.shouldHandle(e))return void v(t,400);let c=e.headers["sec-websocket-protocol"],d=new Set;if(void 0!==c)try{d=h.parse(c)}catch(s){k(this,e,t,400,"Invalid Sec-WebSocket-Protocol header");return}let p=e.headers["sec-websocket-extensions"],u={};if(this.options.perMessageDeflate&&void 0!==p){let s=new l({...this.options.perMessageDeflate,isServer:!0,maxPayload:this.options.maxPayload});try{let e=a.parse(p);e[l.extensionName]&&(s.accept(e[l.extensionName]),u[l.extensionName]=s)}catch(s){k(this,e,t,400,"Invalid or unacceptable Sec-WebSocket-Extensions header");return}}if(this.options.verifyClient){let o={origin:e.headers[`${8===n?"sec-websocket-origin":"origin"}`],secure:!!(e.socket.authorized||e.socket.encrypted),req:e};if(2===this.options.verifyClient.length)return void this.options.verifyClient(o,(o,n,a,l)=>{if(!o)return v(t,n||401,a,l);this.completeUpgrade(u,i,d,e,t,s,r)});if(!this.options.verifyClient(o))return v(t,401)}this.completeUpgrade(u,i,d,e,t,s,r)}completeUpgrade(e,t,s,r,i,o,h){if(!i.readable||!i.writable)return i.destroy();if(i[u])throw Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>m)return v(i,503);let c=n("sha1").update(t+p).digest("base64"),d=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${c}`],f=new this.options.WebSocket(null,void 0,this.options);if(s.size){let e=this.options.handleProtocols?this.options.handleProtocols(s,r):s.values().next().value;e&&(d.push(`Sec-WebSocket-Protocol: ${e}`),f._protocol=e)}if(e[l.extensionName]){let t=e[l.extensionName].params,s=a.format({[l.extensionName]:[t]});d.push(`Sec-WebSocket-Extensions: ${s}`),f._extensions=e}this.emit("headers",d,r),i.write(d.concat("\r\n").join("\r\n")),i.removeListener("error",x),f.setSocket(i,o,{allowSynchronousEvents:this.options.allowSynchronousEvents,maxBufferedChunks:this.options.maxBufferedChunks,maxFragments:this.options.maxFragments,maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients&&(this.clients.add(f),f.on("close",()=>{this.clients.delete(f),this._shouldEmitClose&&!this.clients.size&&process.nextTick(b,this)})),h(f,r)}}function S(e,t){for(let s of Object.keys(t))e.on(s,t[s]);return function(){for(let s of Object.keys(t))e.removeListener(s,t[s])}}function b(e){e._state=y,e.emit("close")}function x(){this.destroy()}function v(e,t,s,r){s=s||i.STATUS_CODES[t],r={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(s),...r},e.once("finish",e.destroy),e.end(`HTTP/1.1 ${t} ${i.STATUS_CODES[t]}\r
2
- `+Object.keys(r).map(e=>`${e}: ${r[e]}`).join("\r\n")+"\r\n\r\n"+s)}function k(e,t,s,r,i,o){if(e.listenerCount("wsClientError")){let r=Error(i);Error.captureStackTrace(r,k),e.emit("wsClientError",r,s,t)}else v(s,r,i,o)}t.exports=_},29307,10928,__turbopack_context__=>{"use strict";var __TURBOPACK__imported__module__54799__=__turbopack_context__.i(54799),__TURBOPACK__imported__module__22734__=__turbopack_context__.i(22734),__TURBOPACK__imported__module__14747__=__turbopack_context__.i(14747);class AgentRunner{workspaceRoot;scopedDirs;lastSyncedWorkspaceFolders;tokenUsage={input:0,output:0,cost:0};agentState="idle";stateTimer=null;lastLoggedUsage={input:0,output:0,cost:0};logTokenUsageUpdate(){if(this.tokenUsage.input===this.lastLoggedUsage.input&&this.tokenUsage.output===this.lastLoggedUsage.output&&this.tokenUsage.cost===this.lastLoggedUsage.cost)return;let e=this.tokenUsage.input-this.lastLoggedUsage.input,t=this.tokenUsage.output-this.lastLoggedUsage.output,s=this.tokenUsage.cost-this.lastLoggedUsage.cost;if(e>0||t>0||s>0)try{let r=__TURBOPACK__imported__module__14747__.default.join(process.cwd(),".ai","neural-loom");__TURBOPACK__imported__module__22734__.default.existsSync(r)||__TURBOPACK__imported__module__22734__.default.mkdirSync(r,{recursive:!0});let i=__TURBOPACK__imported__module__14747__.default.join(r,"token-history.json"),o=[];if(__TURBOPACK__imported__module__22734__.default.existsSync(i))try{o=JSON.parse(__TURBOPACK__imported__module__22734__.default.readFileSync(i,"utf8"))||[]}catch{o=[]}o.push({timestamp:new Date().toISOString(),sessionId:this.id,sessionName:this.name,type:this.type,inputTokens:e>0?e:0,outputTokens:t>0?t:0,cost:s>0?s:0,totalInput:this.tokenUsage.input,totalOutput:this.tokenUsage.output,totalCost:this.tokenUsage.cost}),__TURBOPACK__imported__module__22734__.default.writeFileSync(i,JSON.stringify(o,null,2),"utf8"),this.lastLoggedUsage={...this.tokenUsage}}catch(e){console.error("[AgentRunner] Failed to log token usage transaction:",e)}}parseTokenUsage(e){let t=e.replace(/\x1b\[[0-9;]*m/g,""),s=t.match(/(?:cost|estimated cost)[:\s]*\$([0-9.]+)/i);s&&(this.tokenUsage.cost=parseFloat(s[1]));let r=e=>(e=e.replace(/,/g,"").toLowerCase().trim()).endsWith("k")?1e3*parseFloat(e.slice(0,-1)):e.endsWith("m")?1e6*parseFloat(e.slice(0,-1)):parseInt(e,10)||0,i=/tokens?[:\s]*([0-9,.]+[km]?)\s*(?:sent|input|prompt)[^a-zA-Z0-9]+([0-9,.]+[km]?)\s*(?:received|output|completion)/i,o=t.match(i);if(o)this.tokenUsage.input=r(o[1]),this.tokenUsage.output=r(o[2]);else{let e=t.match(/([0-9,.]+[km]?)\s*(?:sent|input|prompt)\s*tokens?/i)||t.match(/tokens?\s*(?:sent|input|prompt)[:\s]*([0-9,.]+[km]?)/i);e&&(this.tokenUsage.input=r(e[1]));let s=t.match(/([0-9,.]+[km]?)\s*(?:received|output|completion)\s*tokens?/i)||t.match(/tokens?\s*(?:received|output|completion)[:\s]*([0-9,.]+[km]?)/i);s&&(this.tokenUsage.output=r(s[1]))}0===this.tokenUsage.cost&&(this.tokenUsage.input>0||this.tokenUsage.output>0)&&(this.tokenUsage.cost=3e-6*this.tokenUsage.input+15e-6*this.tokenUsage.output),this.logTokenUsageUpdate()}getStatus(){return this.analyzeState(),{id:this.id,name:this.name,type:this.type,status:this.status,createdAt:this.createdAt,logsCount:this.logs.length,workspaceRoot:this.workspaceRoot||("shell"===this.type?process.env.ORIGINAL_CWD||process.cwd():void 0),scopedDirs:this.scopedDirs,lastSyncedWorkspaceFolders:this.lastSyncedWorkspaceFolders,tokenUsage:this.tokenUsage,agentState:this.agentState}}resize(e,t){}listeners=[];onOutput(e){this.listeners.push(e)}offOutput(e){this.listeners=this.listeners.filter(t=>t!==e)}emitOutput(e){this.updateAgentState(e),this.listeners.forEach(t=>t(e))}async writeToPty(e,t){if(e)if("win32"===process.platform&&t.length>100){let s=128;for(let r=0;r<t.length;r+=s){let i=t.slice(r,r+s);e.write(i),await new Promise(e=>setTimeout(e,10))}}else e.write(t)}updateAgentState(e){if("running"!==this.status){this.agentState="idle";return}e.trim().length>0&&(this.agentState="thinking"),this.stateTimer&&clearTimeout(this.stateTimer),this.stateTimer=setTimeout(()=>{this.analyzeState()},800)}analyzeState(){if("running"!==this.status){this.agentState="idle";return}let e=this.logs.slice(-5).join("").replace(/\x1b(?:\[[0-9;]*[a-zA-Z]|\([a-zA-Z]|\)[a-zA-Z])/g,"").trim(),t=e.endsWith(">")||e.endsWith("> ")||/([a-zA-Z0-9_-]+>\s*)$/.test(e)||e.endsWith("$")||e.endsWith("$ "),s=/(\[y\/n\]|\(y\/n\)|\?\s*$|confirm\s*$|allow\s*$|proceed\s*$)/i.test(e)||/press enter/i.test(e);t?("thinking"===this.agentState||"needs-input"===this.agentState)&&(this.agentState="complete",this.stateTimer&&clearTimeout(this.stateTimer),this.stateTimer=setTimeout(()=>{"complete"===this.agentState&&(this.agentState="idle")},5e3)):s&&(this.agentState="needs-input")}}var __TURBOPACK__imported__module__22734__1=__TURBOPACK__imported__module__22734__,__TURBOPACK__imported__module__14747__1=__TURBOPACK__imported__module__14747__,__TURBOPACK__imported__module__98003__=__turbopack_context__.i(98003);class SessionPersister{static pendingSaves=new Map;static pendingData=new Map;static getSessionsDir(){let e=__TURBOPACK__imported__module__14747__1.default.join((0,__TURBOPACK__imported__module__98003__.getConfigDir)(),"sessions");return __TURBOPACK__imported__module__22734__1.default.existsSync(e)||__TURBOPACK__imported__module__22734__1.default.mkdirSync(e,{recursive:!0}),e}static saveSession(e,t=!1){let s={id:e.id,name:e.name,type:e.type,status:"running"===e.status&&"mock"===e.type?"running":e.status,createdAt:e.createdAt,logs:e.logs,workspaceRoot:e.workspaceRoot,scopedDirs:e.scopedDirs,lastSyncedWorkspaceFolders:e.lastSyncedWorkspaceFolders};if(t){let t=this.pendingSaves.get(e.id);t&&(clearTimeout(t),this.pendingSaves.delete(e.id)),this.pendingData.delete(e.id),this.writeToDisk(e.id,s);return}if(this.pendingData.set(e.id,s),!this.pendingSaves.has(e.id)){let t=setTimeout(()=>{this.pendingSaves.delete(e.id);let t=this.pendingData.get(e.id);t&&(this.pendingData.delete(e.id),this.writeToDisk(e.id,t))},1e3);this.pendingSaves.set(e.id,t)}}static writeToDisk(e,t){try{let s=this.getSessionsDir(),r=__TURBOPACK__imported__module__14747__1.default.join(s,`${e}.json`);__TURBOPACK__imported__module__22734__1.default.writeFile(r,JSON.stringify(t,null,2),"utf8",t=>{t&&console.error(`[SessionPersister] Failed to save session ${e} asynchronously:`,t)})}catch(t){console.error(`[SessionPersister] Failed to save session ${e}:`,t)}}static loadAllSessions(){try{let e=this.getSessionsDir(),t=__TURBOPACK__imported__module__22734__1.default.readdirSync(e),s=[];for(let r of t)if(r.endsWith(".json")){let t=__TURBOPACK__imported__module__14747__1.default.join(e,r);try{let e=__TURBOPACK__imported__module__22734__1.default.readFileSync(t,"utf8"),r=JSON.parse(e);"running"===r.status&&"mock"!==r.type&&(r.status="stopped",r.logs.push("\r\n\x1b[1;31m[System] Server restarted. Terminal connection lost.\x1b[0m\r\n"),__TURBOPACK__imported__module__22734__1.default.writeFileSync(t,JSON.stringify(r,null,2),"utf8")),s.push(r)}catch(e){console.error(`[SessionPersister] Failed to load session file ${r}:`,e)}}return s}catch(e){return console.error("[SessionPersister] Failed to load sessions:",e),[]}}static cancelPendingSave(e){let t=this.pendingSaves.get(e);t&&(clearTimeout(t),this.pendingSaves.delete(e)),this.pendingData.delete(e)}static deleteSession(e){this.cancelPendingSave(e);try{let t=this.getSessionsDir(),s=__TURBOPACK__imported__module__14747__1.default.join(t,`${e}.json`);__TURBOPACK__imported__module__22734__1.default.existsSync(s)&&__TURBOPACK__imported__module__22734__1.default.unlinkSync(s)}catch(t){console.error(`[SessionPersister] Failed to delete session ${e}:`,t)}}}__turbopack_context__.s(["SessionPersister",0,SessionPersister],10928);class MockRunner extends AgentRunner{id;name;type="mock";status="idle";createdAt;logs=[];intervalId=null;mockSteps=["[NeuralLoom] Loading virtual PTY context...","[NeuralLoom] Spawning sandbox mock runtime environment...","[Mock Agent] Model online (v2.0-mock-flash). Dedicated memory allocated.","[Mock Agent] System rules parsed successfully from global context registry.","[Mock Agent] Awaiting developer commands. Type '/help' to list mock skills."];stepIndex=0;constructor(e,t){super(),this.id=e,this.name=t||`Mock Session ${e.substring(0,8)}`,this.createdAt=new Date().toISOString()}appendLog(e){this.logs.push(e),this.parseTokenUsage(e),this.emitOutput(e+"\r\n"),SessionPersister.saveSession(this)}async start(e){"running"!==this.status&&(this.status="running",this.appendLog("\x1b[1;35m==================================================\x1b[0m"),this.appendLog("\x1b[1;36m NEURALLOOM SIMULATED AGENT ENVIRONMENT \x1b[0m"),this.appendLog("\x1b[1;35m==================================================\x1b[0m"),this.stepIndex<this.mockSteps.length&&this.appendLog(this.mockSteps[this.stepIndex++]),this.intervalId=setInterval(()=>{if(this.tokenUsage.input+=Math.floor(50*Math.random())+10,this.tokenUsage.output+=Math.floor(20*Math.random())+5,this.tokenUsage.cost=3e-6*this.tokenUsage.input+15e-6*this.tokenUsage.output,this.stepIndex<this.mockSteps.length)this.appendLog(this.mockSteps[this.stepIndex++]);else{let e=new Date().toLocaleTimeString();this.appendLog(`[${e}] [Telemetry] CPU utilization 1.2% | Memory 142MB | Link stable.`)}},4e3))}async stop(){this.status="stopped",this.intervalId&&(clearInterval(this.intervalId),this.intervalId=null),this.appendLog("\x1b[1;31m[System] Process terminated. Connection closed.\x1b[0m")}async sendInput(e,t){"running"!==this.status?this.appendLog(`\x1b[1;31m[Error] Cannot write input: process is ${this.status}.\x1b[0m`):(this.appendLog(`\x1b[1;32m> ${e}\x1b[0m`),setTimeout(()=>{let t=e.trim().toLowerCase();"/help"===t?(this.appendLog("[Mock Agent] Available commands:"),this.appendLog(" /help - List available mock commands."),this.appendLog(" /status - Fetch current agent diagnostic metrics."),this.appendLog(" /context - View loaded staging files."),this.appendLog(" /clear - Flush terminal console buffer.")):"/status"===t?(this.appendLog("[Mock Agent] Diagnostics:"),this.appendLog(" - Connection Type: WebSocket gateway (mock)"),this.appendLog(` - Active Runtime: ${this.id}`),this.appendLog(" - Sandbox State: Healthy (0 warnings)")):"/context"===t?(this.appendLog("[Mock Agent] Loaded Workspace Context Files:"),this.appendLog(" - [Mounted] src/app/globals.css (Modified)"),this.appendLog(" - [Mounted] src/app/page.tsx")):"/clear"===t?(this.logs=[],this.appendLog("\x1b[1;33m[Console Cleared]\x1b[0m")):(this.appendLog(`[Mock Agent] Received command: "${e}". Processing...`),setTimeout(()=>{this.appendLog("[Mock Agent] Done. Task simulated successfully.")},1500))},400))}}var __TURBOPACK__imported__module__22734__2=__TURBOPACK__imported__module__22734__,__TURBOPACK__imported__module__14747__2=__TURBOPACK__imported__module__14747__,__TURBOPACK__imported__module__46786__=__turbopack_context__.i(46786),__TURBOPACK__imported__module__33405__=__turbopack_context__.i(33405),__TURBOPACK__imported__module__98003__1=__TURBOPACK__imported__module__98003__;function isWindows(){return"u">typeof process&&"win32"===process.platform}function findGitBash(){if(!isWindows())return"bash";let e=process.env.PROGRAMFILES||"C:\\Program Files",t=process.env["PROGRAMFILES(X86)"]||"C:\\Program Files (x86)",s=process.env.LOCALAPPDATA||"";return[process.env.WINGMAN_BASH_PATH,__TURBOPACK__imported__module__14747__2.default.join(e,"Git","bin","bash.exe"),__TURBOPACK__imported__module__14747__2.default.join(t,"Git","bin","bash.exe"),s?__TURBOPACK__imported__module__14747__2.default.join(s,"Programs","Git","bin","bash.exe"):""].filter(e=>"string"==typeof e&&""!==e).find(e=>__TURBOPACK__imported__module__22734__2.default.existsSync(e))||null}class ClaudeRunner extends AgentRunner{id;name;type="claude";status="idle";createdAt;logs=[];ptyProcess=null;ptyModule=null;constructor(e,t){super(),this.id=e,this.name=t||`Claude Session ${e.substring(0,8)}`,this.createdAt=new Date().toISOString()}appendLog(e){this.logs.push(e),this.logs.length>5e3&&this.logs.shift(),this.parseTokenUsage(e),this.emitOutput(e),SessionPersister.saveSession(this)}async start(resume){if("running"===this.status)return;let useCmd=isWindows(),shellPath=useCmd?process.env.COMSPEC||"cmd.exe":findGitBash();if(!shellPath){this.status="stopped",this.appendLog("\x1b[1;31m[System Error] Shell not found. Cannot spawn terminal.\x1b[0m\r\n");return}let shellArgs=useCmd?["/c"]:["-c"];try{this.ptyModule||(this.ptyModule=eval("require")("node-pty")),this.status="running",this.appendLog("\x1b[1;35m==================================================\x1b[0m\r\n"),this.appendLog("\x1b[1;36m NEURALLOOM ACTIVE CLAUDE TERMINAL ROUTE \x1b[0m\r\n"),this.appendLog("\x1b[1;35m==================================================\x1b[0m\r\n");let targetCwd=this.workspaceRoot&&__TURBOPACK__imported__module__22734__2.default.existsSync(this.workspaceRoot)?this.workspaceRoot:process.env.ORIGINAL_CWD||process.cwd(),extraFlags="";if(resume)extraFlags="--resume";else{let claudeConfigPath=__TURBOPACK__imported__module__14747__2.default.join((0,__TURBOPACK__imported__module__98003__1.getConfigDir)(),"claude.json");if(__TURBOPACK__imported__module__22734__2.default.existsSync(claudeConfigPath))try{let config=JSON.parse(__TURBOPACK__imported__module__22734__2.default.readFileSync(claudeConfigPath,"utf8"));config.extraFlags&&(extraFlags=config.extraFlags)}catch(err){console.error("Failed to parse Claude configuration:",err)}}let customEnv={...process.env,TERM:"xterm-256color",COLORTERM:"truecolor"};if(isWindows()){let vsNode="C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Microsoft\\VisualStudio\\NodeJs",localNpm=__TURBOPACK__imported__module__14747__2.default.join(__TURBOPACK__imported__module__46786__.default.homedir(),"AppData","Local","npm"),existingPath=process.env.Path||process.env.PATH||"",winPath=[vsNode,localNpm,existingPath].filter(Boolean).join(";");for(let key of Object.keys(customEnv))"path"===key.toLowerCase()&&delete customEnv[key];customEnv.Path=winPath,customEnv.PATH=winPath}let baseCmd="claude";try{let checkCmd=isWindows()?"where.exe claude":"which claude";(0,__TURBOPACK__imported__module__33405__.execSync)(checkCmd,{env:customEnv,stdio:"ignore"})}catch{baseCmd="npx -y @anthropic-ai/claude-code"}let claudeCmd=`${baseCmd} ${extraFlags}`.trim();this.appendLog(`[System] Spawning command: ${claudeCmd}\r
2
+ `+Object.keys(r).map(e=>`${e}: ${r[e]}`).join("\r\n")+"\r\n\r\n"+s)}function k(e,t,s,r,i,o){if(e.listenerCount("wsClientError")){let r=Error(i);Error.captureStackTrace(r,k),e.emit("wsClientError",r,s,t)}else v(s,r,i,o)}t.exports=_},29307,10928,__turbopack_context__=>{"use strict";var __TURBOPACK__imported__module__54799__=__turbopack_context__.i(54799),__TURBOPACK__imported__module__22734__=__turbopack_context__.i(22734),__TURBOPACK__imported__module__14747__=__turbopack_context__.i(14747);class AgentRunner{workspaceRoot;scopedDirs;lastSyncedWorkspaceFolders;tokenUsage={input:0,output:0,cost:0};agentState="idle";stateTimer=null;lastLoggedUsage={input:0,output:0,cost:0};logTokenUsageUpdate(){if(this.tokenUsage.input===this.lastLoggedUsage.input&&this.tokenUsage.output===this.lastLoggedUsage.output&&this.tokenUsage.cost===this.lastLoggedUsage.cost)return;let e=this.tokenUsage.input-this.lastLoggedUsage.input,t=this.tokenUsage.output-this.lastLoggedUsage.output,s=this.tokenUsage.cost-this.lastLoggedUsage.cost;if(e>0||t>0||s>0)try{let r=__TURBOPACK__imported__module__14747__.default.join(process.cwd(),".ai","neural-loom");__TURBOPACK__imported__module__22734__.default.existsSync(r)||__TURBOPACK__imported__module__22734__.default.mkdirSync(r,{recursive:!0});let i=__TURBOPACK__imported__module__14747__.default.join(r,"token-history.json"),o=[];if(__TURBOPACK__imported__module__22734__.default.existsSync(i))try{o=JSON.parse(__TURBOPACK__imported__module__22734__.default.readFileSync(i,"utf8"))||[]}catch{o=[]}o.push({timestamp:new Date().toISOString(),sessionId:this.id,sessionName:this.name,type:this.type,inputTokens:e>0?e:0,outputTokens:t>0?t:0,cost:s>0?s:0,totalInput:this.tokenUsage.input,totalOutput:this.tokenUsage.output,totalCost:this.tokenUsage.cost}),__TURBOPACK__imported__module__22734__.default.writeFileSync(i,JSON.stringify(o,null,2),"utf8"),this.lastLoggedUsage={...this.tokenUsage}}catch(e){console.error("[AgentRunner] Failed to log token usage transaction:",e)}}parseTokenUsage(e){let t=e.replace(/\x1b\[[0-9;]*m/g,""),s=t.match(/(?:cost|estimated cost)[:\s]*\$([0-9.]+)/i);s&&(this.tokenUsage.cost=parseFloat(s[1]));let r=e=>(e=e.replace(/,/g,"").toLowerCase().trim()).endsWith("k")?1e3*parseFloat(e.slice(0,-1)):e.endsWith("m")?1e6*parseFloat(e.slice(0,-1)):parseInt(e,10)||0,i=/tokens?[:\s]*([0-9,.]+[km]?)\s*(?:sent|input|prompt)[^a-zA-Z0-9]+([0-9,.]+[km]?)\s*(?:received|output|completion)/i,o=t.match(i);if(o)this.tokenUsage.input=r(o[1]),this.tokenUsage.output=r(o[2]);else{let e=t.match(/([0-9,.]+[km]?)\s*(?:sent|input|prompt)\s*tokens?/i)||t.match(/tokens?\s*(?:sent|input|prompt)[:\s]*([0-9,.]+[km]?)/i);e&&(this.tokenUsage.input=r(e[1]));let s=t.match(/([0-9,.]+[km]?)\s*(?:received|output|completion)\s*tokens?/i)||t.match(/tokens?\s*(?:received|output|completion)[:\s]*([0-9,.]+[km]?)/i);s&&(this.tokenUsage.output=r(s[1]))}0===this.tokenUsage.cost&&(this.tokenUsage.input>0||this.tokenUsage.output>0)&&(this.tokenUsage.cost=3e-6*this.tokenUsage.input+15e-6*this.tokenUsage.output),this.logTokenUsageUpdate()}getStatus(){return this.analyzeState(),{id:this.id,name:this.name,type:this.type,status:this.status,createdAt:this.createdAt,logsCount:this.logs.length,workspaceRoot:this.workspaceRoot||("shell"===this.type?process.env.ORIGINAL_CWD||process.cwd():void 0),scopedDirs:this.scopedDirs,lastSyncedWorkspaceFolders:this.lastSyncedWorkspaceFolders,tokenUsage:this.tokenUsage,agentState:this.agentState}}resize(e,t){}listeners=[];onOutput(e){this.listeners.push(e)}offOutput(e){this.listeners=this.listeners.filter(t=>t!==e)}emitOutput(e){this.updateAgentState(e),this.listeners.forEach(t=>t(e))}async writeToPty(e,t){if(e)if("win32"===process.platform&&t.length>100){let s=128;for(let r=0;r<t.length;r+=s){let i=t.slice(r,r+s);e.write(i),await new Promise(e=>setTimeout(e,10))}}else e.write(t)}updateAgentState(e){if("running"!==this.status){this.agentState="idle";return}e.trim().length>0&&(this.agentState="thinking"),this.stateTimer&&clearTimeout(this.stateTimer),this.stateTimer=setTimeout(()=>{this.analyzeState()},800)}analyzeState(){if("running"!==this.status){this.agentState="idle";return}let e=this.logs.slice(-5).join("").replace(/\x1b\[[0-9;]*[a-zA-Z]/g,"").trim(),t=/(\[y\/n\]|\(y\/n\)|\?|confirm|allow|should I|would you|press enter|proceed)/i.test(e),s=e.endsWith(">")||e.endsWith("> ")||/([a-zA-Z0-9_-]+>\s*)$/.test(e)||e.endsWith("$")||e.endsWith("$ ");t?this.agentState="needs-input":s&&"thinking"===this.agentState&&(this.agentState="complete",this.stateTimer&&clearTimeout(this.stateTimer),this.stateTimer=setTimeout(()=>{"complete"===this.agentState&&(this.agentState="idle")},5e3))}}var __TURBOPACK__imported__module__22734__1=__TURBOPACK__imported__module__22734__,__TURBOPACK__imported__module__14747__1=__TURBOPACK__imported__module__14747__,__TURBOPACK__imported__module__98003__=__turbopack_context__.i(98003);class SessionPersister{static pendingSaves=new Map;static pendingData=new Map;static getSessionsDir(){let e=__TURBOPACK__imported__module__14747__1.default.join((0,__TURBOPACK__imported__module__98003__.getConfigDir)(),"sessions");return __TURBOPACK__imported__module__22734__1.default.existsSync(e)||__TURBOPACK__imported__module__22734__1.default.mkdirSync(e,{recursive:!0}),e}static saveSession(e,t=!1){let s={id:e.id,name:e.name,type:e.type,status:"running"===e.status&&"mock"===e.type?"running":e.status,createdAt:e.createdAt,logs:e.logs,workspaceRoot:e.workspaceRoot,scopedDirs:e.scopedDirs,lastSyncedWorkspaceFolders:e.lastSyncedWorkspaceFolders};if(t){let t=this.pendingSaves.get(e.id);t&&(clearTimeout(t),this.pendingSaves.delete(e.id)),this.pendingData.delete(e.id),this.writeToDisk(e.id,s);return}if(this.pendingData.set(e.id,s),!this.pendingSaves.has(e.id)){let t=setTimeout(()=>{this.pendingSaves.delete(e.id);let t=this.pendingData.get(e.id);t&&(this.pendingData.delete(e.id),this.writeToDisk(e.id,t))},1e3);this.pendingSaves.set(e.id,t)}}static writeToDisk(e,t){try{let s=this.getSessionsDir(),r=__TURBOPACK__imported__module__14747__1.default.join(s,`${e}.json`);__TURBOPACK__imported__module__22734__1.default.writeFile(r,JSON.stringify(t,null,2),"utf8",t=>{t&&console.error(`[SessionPersister] Failed to save session ${e} asynchronously:`,t)})}catch(t){console.error(`[SessionPersister] Failed to save session ${e}:`,t)}}static loadAllSessions(){try{let e=this.getSessionsDir(),t=__TURBOPACK__imported__module__22734__1.default.readdirSync(e),s=[];for(let r of t)if(r.endsWith(".json")){let t=__TURBOPACK__imported__module__14747__1.default.join(e,r);try{let e=__TURBOPACK__imported__module__22734__1.default.readFileSync(t,"utf8"),r=JSON.parse(e);"running"===r.status&&"mock"!==r.type&&(r.status="stopped",r.logs.push("\r\n\x1b[1;31m[System] Server restarted. Terminal connection lost.\x1b[0m\r\n"),__TURBOPACK__imported__module__22734__1.default.writeFileSync(t,JSON.stringify(r,null,2),"utf8")),s.push(r)}catch(e){console.error(`[SessionPersister] Failed to load session file ${r}:`,e)}}return s}catch(e){return console.error("[SessionPersister] Failed to load sessions:",e),[]}}static cancelPendingSave(e){let t=this.pendingSaves.get(e);t&&(clearTimeout(t),this.pendingSaves.delete(e)),this.pendingData.delete(e)}static deleteSession(e){this.cancelPendingSave(e);try{let t=this.getSessionsDir(),s=__TURBOPACK__imported__module__14747__1.default.join(t,`${e}.json`);__TURBOPACK__imported__module__22734__1.default.existsSync(s)&&__TURBOPACK__imported__module__22734__1.default.unlinkSync(s)}catch(t){console.error(`[SessionPersister] Failed to delete session ${e}:`,t)}}}__turbopack_context__.s(["SessionPersister",0,SessionPersister],10928);class MockRunner extends AgentRunner{id;name;type="mock";status="idle";createdAt;logs=[];intervalId=null;mockSteps=["[NeuralLoom] Loading virtual PTY context...","[NeuralLoom] Spawning sandbox mock runtime environment...","[Mock Agent] Model online (v2.0-mock-flash). Dedicated memory allocated.","[Mock Agent] System rules parsed successfully from global context registry.","[Mock Agent] Awaiting developer commands. Type '/help' to list mock skills."];stepIndex=0;constructor(e,t){super(),this.id=e,this.name=t||`Mock Session ${e.substring(0,8)}`,this.createdAt=new Date().toISOString()}appendLog(e){this.logs.push(e),this.parseTokenUsage(e),this.emitOutput(e+"\r\n"),SessionPersister.saveSession(this)}async start(e){"running"!==this.status&&(this.status="running",this.appendLog("\x1b[1;35m==================================================\x1b[0m"),this.appendLog("\x1b[1;36m NEURALLOOM SIMULATED AGENT ENVIRONMENT \x1b[0m"),this.appendLog("\x1b[1;35m==================================================\x1b[0m"),this.stepIndex<this.mockSteps.length&&this.appendLog(this.mockSteps[this.stepIndex++]),this.intervalId=setInterval(()=>{if(this.tokenUsage.input+=Math.floor(50*Math.random())+10,this.tokenUsage.output+=Math.floor(20*Math.random())+5,this.tokenUsage.cost=3e-6*this.tokenUsage.input+15e-6*this.tokenUsage.output,this.stepIndex<this.mockSteps.length)this.appendLog(this.mockSteps[this.stepIndex++]);else{let e=new Date().toLocaleTimeString();this.appendLog(`[${e}] [Telemetry] CPU utilization 1.2% | Memory 142MB | Link stable.`)}},4e3))}async stop(){this.status="stopped",this.intervalId&&(clearInterval(this.intervalId),this.intervalId=null),this.appendLog("\x1b[1;31m[System] Process terminated. Connection closed.\x1b[0m")}async sendInput(e,t){"running"!==this.status?this.appendLog(`\x1b[1;31m[Error] Cannot write input: process is ${this.status}.\x1b[0m`):(this.appendLog(`\x1b[1;32m> ${e}\x1b[0m`),setTimeout(()=>{let t=e.trim().toLowerCase();"/help"===t?(this.appendLog("[Mock Agent] Available commands:"),this.appendLog(" /help - List available mock commands."),this.appendLog(" /status - Fetch current agent diagnostic metrics."),this.appendLog(" /context - View loaded staging files."),this.appendLog(" /clear - Flush terminal console buffer.")):"/status"===t?(this.appendLog("[Mock Agent] Diagnostics:"),this.appendLog(" - Connection Type: WebSocket gateway (mock)"),this.appendLog(` - Active Runtime: ${this.id}`),this.appendLog(" - Sandbox State: Healthy (0 warnings)")):"/context"===t?(this.appendLog("[Mock Agent] Loaded Workspace Context Files:"),this.appendLog(" - [Mounted] src/app/globals.css (Modified)"),this.appendLog(" - [Mounted] src/app/page.tsx")):"/clear"===t?(this.logs=[],this.appendLog("\x1b[1;33m[Console Cleared]\x1b[0m")):(this.appendLog(`[Mock Agent] Received command: "${e}". Processing...`),setTimeout(()=>{this.appendLog("[Mock Agent] Done. Task simulated successfully.")},1500))},400))}}var __TURBOPACK__imported__module__22734__2=__TURBOPACK__imported__module__22734__,__TURBOPACK__imported__module__14747__2=__TURBOPACK__imported__module__14747__,__TURBOPACK__imported__module__46786__=__turbopack_context__.i(46786),__TURBOPACK__imported__module__33405__=__turbopack_context__.i(33405),__TURBOPACK__imported__module__98003__1=__TURBOPACK__imported__module__98003__;function isWindows(){return"u">typeof process&&"win32"===process.platform}function findGitBash(){if(!isWindows())return"bash";let e=process.env.PROGRAMFILES||"C:\\Program Files",t=process.env["PROGRAMFILES(X86)"]||"C:\\Program Files (x86)",s=process.env.LOCALAPPDATA||"";return[process.env.WINGMAN_BASH_PATH,__TURBOPACK__imported__module__14747__2.default.join(e,"Git","bin","bash.exe"),__TURBOPACK__imported__module__14747__2.default.join(t,"Git","bin","bash.exe"),s?__TURBOPACK__imported__module__14747__2.default.join(s,"Programs","Git","bin","bash.exe"):""].filter(e=>"string"==typeof e&&""!==e).find(e=>__TURBOPACK__imported__module__22734__2.default.existsSync(e))||null}class ClaudeRunner extends AgentRunner{id;name;type="claude";status="idle";createdAt;logs=[];ptyProcess=null;ptyModule=null;constructor(e,t){super(),this.id=e,this.name=t||`Claude Session ${e.substring(0,8)}`,this.createdAt=new Date().toISOString()}appendLog(e){this.logs.push(e),this.logs.length>5e3&&this.logs.shift(),this.parseTokenUsage(e),this.emitOutput(e),SessionPersister.saveSession(this)}async start(resume){if("running"===this.status)return;let useCmd=isWindows(),shellPath=useCmd?process.env.COMSPEC||"cmd.exe":findGitBash();if(!shellPath){this.status="stopped",this.appendLog("\x1b[1;31m[System Error] Shell not found. Cannot spawn terminal.\x1b[0m\r\n");return}let shellArgs=useCmd?["/c"]:["-c"];try{this.ptyModule||(this.ptyModule=eval("require")("node-pty")),this.status="running",this.appendLog("\x1b[1;35m==================================================\x1b[0m\r\n"),this.appendLog("\x1b[1;36m NEURALLOOM ACTIVE CLAUDE TERMINAL ROUTE \x1b[0m\r\n"),this.appendLog("\x1b[1;35m==================================================\x1b[0m\r\n");let targetCwd=this.workspaceRoot&&__TURBOPACK__imported__module__22734__2.default.existsSync(this.workspaceRoot)?this.workspaceRoot:process.env.ORIGINAL_CWD||process.cwd(),extraFlags="";if(resume)extraFlags="--resume";else{let claudeConfigPath=__TURBOPACK__imported__module__14747__2.default.join((0,__TURBOPACK__imported__module__98003__1.getConfigDir)(),"claude.json");if(__TURBOPACK__imported__module__22734__2.default.existsSync(claudeConfigPath))try{let config=JSON.parse(__TURBOPACK__imported__module__22734__2.default.readFileSync(claudeConfigPath,"utf8"));config.extraFlags&&(extraFlags=config.extraFlags)}catch(err){console.error("Failed to parse Claude configuration:",err)}}let customEnv={...process.env,TERM:"xterm-256color",COLORTERM:"truecolor"};if(isWindows()){let vsNode="C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Microsoft\\VisualStudio\\NodeJs",localNpm=__TURBOPACK__imported__module__14747__2.default.join(__TURBOPACK__imported__module__46786__.default.homedir(),"AppData","Local","npm"),existingPath=process.env.Path||process.env.PATH||"",winPath=[vsNode,localNpm,existingPath].filter(Boolean).join(";");for(let key of Object.keys(customEnv))"path"===key.toLowerCase()&&delete customEnv[key];customEnv.Path=winPath,customEnv.PATH=winPath}let baseCmd="claude";try{let checkCmd=isWindows()?"where.exe claude":"which claude";(0,__TURBOPACK__imported__module__33405__.execSync)(checkCmd,{env:customEnv,stdio:"ignore"})}catch{baseCmd="npx -y @anthropic-ai/claude-code"}let claudeCmd=`${baseCmd} ${extraFlags}`.trim();this.appendLog(`[System] Spawning command: ${claudeCmd}\r
3
3
  `),this.ptyProcess=this.ptyModule.spawn(shellPath,[...shellArgs,claudeCmd],{name:"xterm-256color",cols:120,rows:30,cwd:targetCwd,env:customEnv}),this.ptyProcess.onData(e=>{this.appendLog(e)}),this.ptyProcess.onExit(({exitCode:e,signal:t})=>{this.status="stopped",this.appendLog(`\r
4
4
  \x1b[1;31m[System] Claude Code PTY process exited (code=${e}, signal=${t}).\x1b[0m\r
5
5
  `),this.ptyProcess=null})}catch(err){let errorMessage=err instanceof Error?err.message:"Unknown error";this.status="stopped",this.appendLog(`\x1b[1;31m[System Error] Failed to initialize node-pty runner: ${errorMessage}\x1b[0m\r