@robzilla1738/agentswarm 0.3.0 → 0.5.0

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 (42) hide show
  1. package/README.md +28 -5
  2. package/dist/agent.js +16 -1
  3. package/dist/cli.js +18 -4
  4. package/dist/config.js +35 -5
  5. package/dist/crawltools.js +247 -0
  6. package/dist/deepseek.js +125 -10
  7. package/dist/executor.js +771 -122
  8. package/dist/hub.js +16 -3
  9. package/dist/journal.js +61 -11
  10. package/dist/memory.js +83 -0
  11. package/dist/prompts.js +109 -16
  12. package/dist/report.js +252 -0
  13. package/dist/run.js +7 -2
  14. package/dist/searchcore.js +191 -0
  15. package/dist/state.js +57 -3
  16. package/dist/tools.js +202 -12
  17. package/dist/webtools.js +191 -60
  18. package/package.json +3 -2
  19. package/ui/out/404/index.html +1 -1
  20. package/ui/out/404.html +1 -1
  21. package/ui/out/_next/static/chunks/532-35122e93f37719b9.js +1 -0
  22. package/ui/out/_next/static/chunks/677-859e8d42add1806b.js +1 -0
  23. package/ui/out/_next/static/chunks/app/page-dc9f6744d203e76c.js +1 -0
  24. package/ui/out/_next/static/chunks/app/run/page-2420c9e4c963d9b3.js +1 -0
  25. package/ui/out/_next/static/chunks/app/settings/page-092a6bf42dfde57d.js +1 -0
  26. package/ui/out/_next/static/css/9f7bd82b8e4c762c.css +3 -0
  27. package/ui/out/fonts/PlanetKosmos.ttf +0 -0
  28. package/ui/out/index.html +1 -1
  29. package/ui/out/index.txt +3 -3
  30. package/ui/out/run/index.html +1 -1
  31. package/ui/out/run/index.txt +3 -3
  32. package/ui/out/settings/index.html +1 -1
  33. package/ui/out/settings/index.txt +3 -3
  34. package/ui/out/_next/static/chunks/383-289a866b246b41cc.js +0 -1
  35. package/ui/out/_next/static/chunks/619-ba102abea3e3d0e4.js +0 -1
  36. package/ui/out/_next/static/chunks/677-7ab85a6f38c3a235.js +0 -1
  37. package/ui/out/_next/static/chunks/app/page-0fda5b8e77d90b84.js +0 -1
  38. package/ui/out/_next/static/chunks/app/run/page-07aab6b1224c3c8c.js +0 -1
  39. package/ui/out/_next/static/chunks/app/settings/page-528482d468d84cfa.js +0 -1
  40. package/ui/out/_next/static/css/e2c82b53bf4519e8.css +0 -3
  41. /package/ui/out/_next/static/{Rm5Fhkds2-wIOnVlME55J → errjtBR_bKoee8ogLp8xk}/_buildManifest.js +0 -0
  42. /package/ui/out/_next/static/{Rm5Fhkds2-wIOnVlME55J → errjtBR_bKoee8ogLp8xk}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[974],{63:(e,s,t)=>{"use strict";var a=t(7260);t.o(a,"useRouter")&&t.d(s,{useRouter:function(){return a.useRouter}}),t.o(a,"useSearchParams")&&t.d(s,{useSearchParams:function(){return a.useSearchParams}})},2942:(e,s,t)=>{Promise.resolve().then(t.bind(t,8363))},8363:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>N});var a=t(5155),n=t(2115),i=t(2619),l=t.n(i),r=t(63),o=t(7621),c=t(7e3),d=t(6420);let u=[["Research","Research the top 5 open-source vector databases in 2026 and produce a comparison table with a recommendation for a RAG app at 10M vectors."],["Build","Build a small CLI tool in Python that converts CSV to a formatted Markdown table, with tests. Save it as an artifact."],["Audit","Audit this codebase for security issues and dependency risks, then write a prioritized remediation plan."],["Plan","Plan and draft a 6-email onboarding sequence for a developer-tools SaaS, with subject lines and send timing."]],m=(e,s,t,a)=>Number.isFinite(e)?Math.min(t,Math.max(s,Math.round(e))):a,x={workers:4,tasks:16,steps:20,budgetM:4,verification:"off"},h={workers:20,tasks:300,steps:80,budgetM:120,verification:"strict"};function p(e){var s,t,i,p,f,j,b,N,y;let{config:w}=e,S=(0,r.useRouter)(),[C,R]=(0,n.useState)(""),[M,T]=(0,n.useState)(!1),[P,z]=(0,n.useState)(!1),[F,E]=(0,n.useState)(null),[A,D]=(0,n.useState)(6),[I,B]=(0,n.useState)(48),[K,W]=(0,n.useState)(30),[_,H]=(0,n.useState)(12),[L,q]=(0,n.useState)("normal"),[O,V]=(0,n.useState)("deepseek-v4-flash"),[U,$]=(0,n.useState)("high"),[G,Q]=(0,n.useState)("sandbox"),[Y,J]=(0,n.useState)(""),X=(0,n.useRef)(!1);(0,n.useEffect)(()=>{w&&!X.current&&(D(w.maxWorkers),B(w.maxTasks),W(w.maxStepsPerTask),H(w.maxTokensPerRun/1e6),q(w.verification),V(w.model),$(w.reasoningEffort))},[w]);let Z=!!w&&!w.apiKeySet,ee="dir"===G&&!Y.trim(),es=null==w||null==(t=w.providers)||null==(s=t.find(e=>e.id===w.provider))?void 0:s.label,et={workers:null!=(p=null==w?void 0:w.maxWorkers)?p:6,tasks:null!=(f=null==w?void 0:w.maxTasks)?f:48,steps:null!=(j=null==w?void 0:w.maxStepsPerTask)?j:30,budgetM:(null!=(b=null==w?void 0:w.maxTokensPerRun)?b:12e6)/1e6,verification:null!=(N=null==w?void 0:w.verification)?N:"normal"},ea=e=>e.workers===A&&e.tasks===I&&e.steps===K&&e.budgetM===_&&e.verification===L,en=ea(x)?"quick":ea(h)?"deep":ea(et)?"standard":"custom",ei=e=>{X.current=!0,D(e.workers),B(e.tasks),W(e.steps),H(e.budgetM),q(e.verification)},el=null==w||null==(i=w.pricing)?void 0:i[O],er=el&&Number.isFinite(_)?_*(.8*el.inMiss+.2*el.out):null,eo=async()=>{if(C.trim()&&!P&&!Z&&!ee){z(!0),E(null);try{let{id:e}=await o.F.createRun({mission:C.trim(),sandbox:"sandbox"===G,..."dir"===G?{cwd:Y.trim()}:{},options:{maxWorkers:m(A,1,32,6),maxTasks:m(I,1,1e3,48),maxStepsPerTask:m(K,3,200,30),maxTokens:m(1e6*_,5e4,2e9,12e6),verification:L,model:O,reasoningEffort:U}});S.push("/run?id=".concat(e))}catch(e){E((null==e?void 0:e.message)||"failed to launch"),z(!1)}}},ec=null!=(y=null==w?void 0:w.knownModels)?y:[],ed=()=>{X.current=!0};return(0,a.jsxs)("section",{className:"panel p-5 sm:p-6",style:{animation:"var(--animate-rise)"},children:[(0,a.jsx)("textarea",{className:"input resize-none",rows:3,autoFocus:!0,placeholder:"Describe a mission — the swarm decomposes it into parallel tasks and runs them autonomously.",value:C,onChange:e=>R(e.target.value),onKeyDown:e=>{(e.metaKey||e.ctrlKey)&&"Enter"===e.key&&eo()},style:{fontSize:15,lineHeight:1.6}}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5 mt-3",children:[(0,a.jsx)("span",{className:"text-2xs text-ink-faint mr-1",children:"Try"}),u.map(e=>{let[s,t]=e;return(0,a.jsx)("button",{onClick:()=>R(t),title:t,className:"chip",children:s},s)}),"sandbox"===G&&(0,a.jsx)("button",{className:"chip",title:"Run the swarm inside an existing project or folder",onClick:()=>Q("dir"),children:"+ Folder"}),(0,a.jsxs)("button",{className:"btn btn-ghost btn-sm ml-auto","aria-expanded":M,style:{color:M?"var(--color-ink)":void 0},onClick:()=>T(e=>!e),children:["custom"===en?"Options \xb7 custom":"Options \xb7 ".concat(en),(0,a.jsx)("span",{style:{fontSize:9,transform:M?"rotate(180deg)":"none",transition:"transform 0.15s"},children:"▼"})]})]}),"dir"===G&&(0,a.jsx)(v,{cwd:Y,onPick:J,onClose:()=>{Q("sandbox"),J("")}}),(0,a.jsx)("div",{className:"collapse-v","data-open":M,children:(0,a.jsx)("div",{inert:!M,children:(0,a.jsxs)("div",{className:"mt-4 pt-4 space-y-4 border-t border-border-soft",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5",children:[(0,a.jsx)("span",{className:"text-2xs text-ink-faint mr-1",children:"Size"}),(0,a.jsx)(k,{active:"quick"===en,onClick:()=>ei(x),title:"4 agents \xb7 16 tasks \xb7 small budget \xb7 no verification",children:"Quick"}),(0,a.jsx)(k,{active:"standard"===en,onClick:()=>ei(et),title:"Your saved defaults from Settings",children:"Standard"}),(0,a.jsx)(k,{active:"deep"===en,onClick:()=>ei(h),title:"20 agents \xb7 300 tasks \xb7 120M budget \xb7 strict verification — hundreds of sources, long-horizon research",children:"Deep research"}),"custom"===en&&(0,a.jsx)("span",{className:"chip",style:{color:"var(--color-ink)"},children:"custom"})]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-3",onInput:ed,children:[(0,a.jsx)(g,{label:"Agents in parallel",hint:"working at once",children:(0,a.jsx)("input",{type:"number",className:"input",min:1,max:32,value:A,onChange:e=>D(+e.target.value)})}),(0,a.jsx)(g,{label:"Task limit",hint:"whole run",children:(0,a.jsx)("input",{type:"number",className:"input",min:1,max:1e3,value:I,onChange:e=>B(+e.target.value)})}),(0,a.jsx)(g,{label:"Steps per task",hint:"tool calls per agent",children:(0,a.jsx)("input",{type:"number",className:"input",min:3,max:200,value:K,onChange:e=>W(+e.target.value)})}),(0,a.jsx)(g,{label:"Budget \xb7 M tokens",hint:Number.isFinite(_)?"".concat((0,c.yj)(1e6*_)," cap").concat(er?" \xb7 ≤ ~$".concat(er<10?er.toFixed(2):Math.round(er)):""):"hard spend cap",children:(0,a.jsx)("input",{type:"number",className:"input",min:.5,step:.5,value:_,onChange:e=>H(+e.target.value)})}),(0,a.jsx)(g,{label:"Verification",hint:"re-check finished work",children:(0,a.jsxs)("select",{className:"input",value:L,onChange:e=>{ed(),q(e.target.value)},children:[(0,a.jsx)("option",{value:"off",children:"off — trust the workers"}),(0,a.jsx)("option",{value:"normal",children:"normal"}),(0,a.jsx)("option",{value:"strict",children:"strict — verify everything"})]})}),(0,a.jsx)(g,{label:"Reasoning effort",hint:"thinking depth",children:(0,a.jsxs)("select",{className:"input",value:U,onChange:e=>{ed(),$(e.target.value)},children:[(0,a.jsx)("option",{value:"low",children:"low"}),(0,a.jsx)("option",{value:"medium",children:"medium"}),(0,a.jsx)("option",{value:"high",children:"high"}),(0,a.jsx)("option",{value:"max",children:"max"})]})}),(0,a.jsxs)(g,{label:"Worker model",hint:es,children:[(0,a.jsx)("input",{className:"input mono",list:"composer-models",value:O,onChange:e=>{ed(),V(e.target.value)},placeholder:"model id"}),(0,a.jsx)("datalist",{id:"composer-models",children:ec.map(e=>(0,a.jsx)("option",{value:e},e))})]}),(0,a.jsx)(g,{label:"Workspace",hint:"sandbox"===G?"isolated, throwaway":"agents touch real files",children:(0,a.jsxs)("select",{className:"input",value:G,onChange:e=>{ed(),Q(e.target.value)},children:[(0,a.jsx)("option",{value:"sandbox",children:"Isolated workspace"}),(0,a.jsx)("option",{value:"dir",children:"A directory on disk"})]})})]}),"dir"===G&&(0,a.jsx)("p",{className:"tile text-xs leading-relaxed text-ink-dim px-3 py-2.5",children:"Agents will read, run and write inside this directory with your permissions. Safe mode still blocks destructive commands, but prefer a project you have under version control."})]})})}),F&&(0,a.jsx)("div",{className:"mt-3 text-sm text-ink px-3 py-2 rounded-lg",style:{background:"rgb(var(--hi) / 0.06)",border:"1px solid rgb(var(--hi) / 0.2)"},children:F}),(0,a.jsxs)("div",{className:"flex items-center justify-between gap-3 mt-4",children:[(0,a.jsx)("div",{className:"text-2xs",children:Z?(0,a.jsx)(l(),{href:"/settings",className:"text-ink underline underline-offset-2",children:"Set up a provider in Settings first →"}):ee?(0,a.jsx)("span",{className:"text-ink",children:"Enter the directory the swarm should work in."}):(0,a.jsxs)("span",{className:"text-ink-faint",children:["sandbox"===G?(null==w?void 0:w.sandboxResolved)&&"host"!==w.sandboxResolved?"Isolated \xb7 ".concat(w.sandboxResolved," sandbox"):"Isolated workspace on this machine":"Runs against your directory"," \xb7 ⌘↵ to launch"]})}),(0,a.jsxs)("button",{className:"btn btn-primary",disabled:!C.trim()||P||Z||ee,onClick:eo,children:[P&&(0,a.jsx)(d.y$,{size:13,dark:!0})," Launch swarm"]})]})]})}function v(e){let{cwd:s,onPick:t,onClose:i}=e,[l,r]=(0,n.useState)(!s),[c,d]=(0,n.useState)(null),[u,m]=(0,n.useState)(null),x=e=>o.F.listDirs(e).then(e=>{d(e),m(null)}).catch(e=>m((null==e?void 0:e.message)||"can't read directory"));return(0,n.useEffect)(()=>{l&&!c&&x(s.trim()||void 0)},[l]),(0,a.jsxs)("div",{className:"mt-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("input",{className:"input mono text-sm",placeholder:"/path/to/project — agents will work in this folder",value:s,onChange:e=>t(e.target.value)}),(0,a.jsx)("button",{className:"btn btn-sm shrink-0",onClick:()=>r(e=>!e),"aria-expanded":l,children:l?"Hide":"Browse"}),(0,a.jsx)("button",{className:"btn btn-ghost btn-sm shrink-0",title:"Back to an isolated workspace",onClick:i,children:"✕"})]}),l&&(0,a.jsxs)("div",{className:"tile mt-2 overflow-hidden",children:[u&&(0,a.jsx)("div",{className:"px-3 py-2.5 text-xs text-ink-dim",children:u}),!u&&!c&&(0,a.jsx)("div",{className:"px-3 py-2.5 text-xs text-ink-faint",children:"Loading…"}),!u&&c&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 border-b border-border-soft",children:[(0,a.jsx)("span",{className:"mono text-xs text-ink-dim truncate flex-1",title:c.path,children:c.path}),(0,a.jsx)("button",{className:"btn btn-primary btn-sm shrink-0",onClick:()=>{t(c.path),r(!1)},children:"Use this folder"})]}),(0,a.jsxs)("div",{className:"max-h-52 overflow-y-auto py-1",children:[c.parent&&(0,a.jsx)("button",{className:"block w-full text-left px-3 py-1.5 text-sm mono text-ink-faint hover:text-ink",onClick:()=>x(c.parent),children:"../"}),c.dirs.map(e=>(0,a.jsxs)("button",{className:"block w-full text-left px-3 py-1.5 text-sm mono text-ink-dim hover:text-ink truncate",onClick:()=>x(e.path),children:[e.name,"/"]},e.path)),0===c.dirs.length&&(0,a.jsx)("div",{className:"px-3 py-1.5 text-xs text-ink-faint",children:"No subfolders"})]})]})]})]})}function k(e){let{active:s,onClick:t,title:n,children:i}=e;return(0,a.jsx)("button",{className:"chip",title:n,onClick:t,style:s?{color:"var(--color-ink)",borderColor:"rgb(var(--hi) / 0.45)",background:"rgb(var(--hi) / 0.05)"}:void 0,children:i})}function g(e){let{label:s,hint:t,children:n}=e;return(0,a.jsxs)("label",{className:"block",children:[(0,a.jsxs)("div",{className:"flex items-baseline justify-between mb-1 gap-2",children:[(0,a.jsx)("span",{className:"text-2xs font-medium text-ink-dim",children:s}),t&&(0,a.jsx)("span",{className:"text-2xs truncate text-ink-faint",children:t})]}),n]})}function f(e){let{run:s,now:t,onDeleted:i}=e,l=(0,r.useRouter)(),u=s.usage.promptTokens+s.usage.completionTokens,m=Math.max(1,s.tasks.total),x=!!s.pid,h="failed"===s.status,p=Math.round(s.tasks.done/m*100),[v,k]=(0,n.useState)(!1),[g,f]=(0,n.useState)(!1),j=async e=>{if(e.preventDefault(),e.stopPropagation(),!v){k(!0),setTimeout(()=>k(!1),2600);return}f(!0);try{await o.F.deleteRun(s.id),null==i||i()}catch(e){f(!1),k(!1)}};return(0,a.jsxs)("div",{role:"link",tabIndex:0,onClick:()=>l.push("/run?id=".concat(s.id)),onKeyDown:e=>"Enter"===e.key&&l.push("/run?id=".concat(s.id)),className:"panel panel-hover p-4 block cursor-pointer group relative",style:{animation:"var(--animate-rise)",opacity:g?.4:1},children:[(0,a.jsxs)("div",{className:"flex items-center justify-between gap-3 mb-3",children:[(0,a.jsx)(d.Wh,{status:s.status}),x?(0,a.jsxs)("span",{className:"mono text-2xs text-ink-dim flex items-center gap-1.5",children:[(0,a.jsx)(d.md,{status:"running",size:6}),s.agentsActive," active"]}):i?(0,a.jsx)("button",{onClick:j,title:v?"Click again to delete":"Delete run",className:"btn btn-sm",style:{padding:"3px 8px",fontSize:11,color:v?"var(--color-ink)":"var(--color-ink-faint)",borderColor:v?"rgb(var(--hi) / 0.5)":"var(--color-border-soft)"},children:v?"delete?":"✕"}):null]}),(0,a.jsx)("p",{className:"text-base leading-snug mb-3 line-clamp-2 text-ink",style:{minHeight:40},children:s.mission}),(0,a.jsxs)("div",{className:"mb-3",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between text-2xs mb-1.5 text-ink-faint",children:[(0,a.jsxs)("span",{children:[s.tasks.done,"/",s.tasks.total," tasks",s.tasks.failed?(0,a.jsxs)("span",{className:"text-ink",children:[" \xb7 ",s.tasks.failed," failed"]}):null]}),(0,a.jsxs)("span",{className:"mono",children:[p,"%"]})]}),(0,a.jsx)("div",{className:"w-full rounded-full overflow-hidden",style:{height:4,background:"rgb(var(--hi) / 0.07)"},children:(0,a.jsx)("div",{className:"h-full rounded-full transition-all duration-500",style:{width:"".concat(p,"%"),background:h?"rgb(var(--hi) / 0.45)":"var(--color-ink)"}})})]}),h&&s.statusReason&&(0,a.jsx)("p",{className:"text-2xs leading-snug mb-2.5 line-clamp-2 text-ink",children:s.statusReason}),(0,a.jsxs)("div",{className:"flex items-center justify-between text-2xs text-ink-faint",children:[(0,a.jsxs)("span",{className:"mono",children:[(0,c.yj)(u)," tok \xb7 ",(0,c.S8)(s.cost)]}),(0,a.jsx)("span",{children:(0,c.rB)(s.updatedAt||s.createdAt,t)})]})]})}var j=t(830),b=t(6168);function N(){let{runs:e,loading:s,error:t,refresh:i}=(0,b.Iq)(),{config:l}=(0,b.UK)(),r=(0,b.cB)(2e3),{live:o,past:u,totals:m}=(0,n.useMemo)(()=>{let s=e.filter(e=>e.pid||["planning","running","synthesizing"].includes(e.status)),t=e.filter(e=>!s.includes(e));return{live:s,past:t,totals:e.reduce((e,s)=>(e.cost+=s.cost,e.tokens+=s.usage.promptTokens+s.usage.completionTokens,e.tasks+=s.tasks.done,e),{cost:0,tokens:0,tasks:0})}},[e]);return(0,a.jsxs)("div",{className:"min-h-screen",children:[(0,a.jsx)(j.V,{hideLogo:!0}),(0,a.jsxs)("main",{className:"max-w-6xl mx-auto px-5 sm:px-8 pb-10",children:[(0,a.jsxs)("div",{className:"max-w-3xl mx-auto flex flex-col justify-center",style:0===e.length?{minHeight:"calc(100vh - 3.5rem)"}:{paddingTop:40},children:[(0,a.jsxs)("div",{className:"flex flex-col items-center gap-3 mb-8",style:{animation:"var(--animate-rise)"},children:[(0,a.jsx)(d.pF,{size:64}),(0,a.jsx)("h1",{className:"font-display",style:{fontSize:26},children:"agentswarm"})]}),(0,a.jsx)(p,{config:l})]}),t&&(0,a.jsxs)("div",{className:"panel p-4 mt-6 text-sm text-ink-dim",children:["Can't reach the hub: ",t,". Make sure ",(0,a.jsx)("span",{className:"mono text-ink",children:"swarm serve"})," is running."]}),o.length>0&&(0,a.jsxs)("section",{className:"mt-8",children:[(0,a.jsxs)("h2",{className:"label mb-4 flex items-center gap-2",children:[(0,a.jsx)("span",{className:"rounded-full bg-ink",style:{width:7,height:7,boxShadow:"0 0 8px var(--color-ink)"}}),"Live now \xb7 ",o.length]}),(0,a.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:o.map(e=>(0,a.jsx)(f,{run:e,now:r},e.id))})]}),s&&0===e.length&&(0,a.jsx)("section",{className:"mt-12",children:(0,a.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:[0,1,2].map(e=>(0,a.jsx)("div",{className:"panel h-40 skeleton opacity-50"},e))})}),!s&&0===e.length&&!t&&(0,a.jsx)("section",{className:"mt-12",children:(0,a.jsx)(d.pp,{glyph:"◇",title:"No missions yet",sub:"Describe one above and launch your first swarm. It runs in an isolated workspace on this machine by default."})}),u.length>0&&(0,a.jsxs)("section",{className:"mt-12",children:[(0,a.jsxs)("div",{className:"flex items-baseline justify-between gap-4 mb-4",children:[(0,a.jsxs)("h2",{className:"label",children:["History \xb7 ",u.length]}),(0,a.jsxs)("span",{className:"mono text-2xs text-ink-faint",children:[m.tasks," tasks \xb7 ",(0,c.yj)(m.tokens)," tok \xb7 ",(0,c.S8)(m.cost)," est."]})]}),(0,a.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:u.map(e=>(0,a.jsx)(f,{run:e,now:r,onDeleted:i},e.id))})]})]})]})}}},e=>{e.O(0,[532,677,441,255,358],()=>e(e.s=2942)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[64],{63:(e,t,s)=>{"use strict";var n=s(7260);s.o(n,"useRouter")&&s.d(t,{useRouter:function(){return n.useRouter}}),s.o(n,"useSearchParams")&&s.d(t,{useSearchParams:function(){return n.useSearchParams}})},4218:(e,t,s)=>{Promise.resolve().then(s.bind(s,5182))},5182:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>J});var n=s(5155),a=s(2619),i=s.n(a),l=s(63),r=s(2115),c=s(6504),d=s(5459),o=s(7621),x=s(7e3),m=s(6420);function h(e){let{id:t,hasFinal:s,live:a}=e,[i,l]=(0,r.useState)(null),[h,u]=(0,r.useState)([]),[f,j]=(0,r.useState)(!0),[g,k]=(0,r.useState)(null),[b,v]=(0,r.useState)(0);return((0,r.useEffect)(()=>{let e=!0;return j(!0),k(null),Promise.all([fetch(o.F.reportUrl(t)).then(e=>e.ok?e.text():404===e.status?null:Promise.reject(Error("HTTP ".concat(e.status)))),o.F.artifacts(t).then(e=>e.artifacts)]).then(t=>{let[s,n]=t;e&&(l(s),u(n),j(!1))}).catch(t=>{e&&(k((null==t?void 0:t.message)||"request failed"),j(!1))}),()=>{e=!1}},[t,s,b]),f)?(0,n.jsxs)("div",{className:"panel p-10 flex items-center justify-center gap-3 text-ink-faint",children:[(0,n.jsx)(m.y$,{})," loading report…"]}):g?(0,n.jsxs)("div",{className:"panel",children:[(0,n.jsx)(m.pp,{glyph:"⚠",title:"Couldn't load the report",sub:"The hub didn't answer (".concat(g,"). Check that swarm serve is still running, then retry.")}),(0,n.jsx)("div",{className:"flex justify-center pb-8 -mt-2",children:(0,n.jsx)("button",{className:"btn btn-sm",onClick:()=>v(e=>e+1),children:"Retry"})})]}):(0,n.jsxs)("div",{className:"space-y-4",children:[(0,n.jsx)("div",{className:"panel overflow-hidden",children:i?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"flex items-center justify-between gap-3 px-5 sm:px-7 py-3 border-b border-border-soft",style:{background:"rgb(var(--hi) / 0.015)"},children:[(0,n.jsx)("span",{className:"label",children:"Final report"}),(0,n.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,n.jsx)(m.i8,{text:i,label:"Copy markdown"}),(0,n.jsx)("button",{className:"btn btn-sm",onClick:()=>{if(!i)return;let e=new Blob([i],{type:"text/markdown"}),s=URL.createObjectURL(e),n=document.createElement("a");n.href=s,n.download="".concat(t,"-report.md"),n.click(),URL.revokeObjectURL(s)},children:"Download .md"}),(0,n.jsx)("a",{className:"btn btn-sm",href:o.F.reportUrl(t),target:"_blank",rel:"noreferrer",children:"Raw ↗"})]})]}),(0,n.jsx)("div",{className:"p-5 sm:p-8",children:(0,n.jsx)("div",{className:"prose-report",children:(0,n.jsx)(c.oz,{remarkPlugins:[d.A],children:i})})})]}):(0,n.jsx)(m.pp,{glyph:"▤",title:a?"No report yet":"No final report",sub:a?"The synthesizer composes the final report when the mission finishes — it will appear here automatically.":"This run ended without a synthesized report."})}),h.length>0&&(0,n.jsxs)("div",{className:"panel p-5",children:[(0,n.jsxs)("h3",{className:"label mb-3",children:["Artifacts \xb7 ",h.length]}),(0,n.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:h.map(e=>(0,n.jsxs)("a",{href:o.F.artifactUrl(t,e.name),target:"_blank",rel:"noreferrer",className:"flex items-center gap-2.5 px-3 py-2.5 tile tile-hover",children:[(0,n.jsx)(p,{name:e.name}),(0,n.jsx)("span",{className:"mono text-xs truncate flex-1 text-ink",children:e.name}),(0,n.jsx)("span",{className:"text-2xs shrink-0 mono text-ink-faint",children:(0,x.zi)(e.size)}),(0,n.jsx)("span",{className:"text-ink-dim",children:"↗"})]},e.name))})]})]})}function p(e){let{name:t}=e,s=t.lastIndexOf("."),a=s>0?t.slice(s+1).toLowerCase().slice(0,4):"file";return(0,n.jsx)("span",{className:"mono shrink-0 uppercase grid place-items-center text-ink-dim",style:{fontSize:9.5,letterSpacing:"0.08em",width:34,height:20,borderRadius:5,background:"rgb(var(--hi) / 0.05)",border:"1px solid var(--color-border)"},children:a})}function u(e){let{id:t,onSent:s}=e,[a,i]=(0,r.useState)(""),[l,c]=(0,r.useState)(!1),[d,x]=(0,r.useState)(!1),m=async()=>{if(a.trim()&&!l){c(!0);try{await o.F.note(t,a.trim()),i(""),x(!0),setTimeout(()=>x(!1),1400),null==s||s()}finally{c(!1)}}};return(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("input",{className:"input",placeholder:"Steer the conductor — type guidance and press ↵",value:a,onChange:e=>i(e.target.value),onKeyDown:e=>"Enter"===e.key&&m(),style:{fontSize:13,padding:"9px 13px"}}),(0,n.jsx)("button",{className:"btn",disabled:!a.trim()||l,onClick:m,style:{whiteSpace:"nowrap"},children:d?"Sent ✓":"Send"})]})}function f(e){let{id:t,live:s}=e,[a,i]=(0,r.useState)(!1),[l,c]=(0,r.useState)(!1);return s?l?(0,n.jsx)("button",{className:"btn",disabled:!0,style:{padding:"8px 13px"},children:"stopping…"}):a?(0,n.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,n.jsx)("button",{className:"btn btn-danger",style:{padding:"8px 12px"},onClick:async()=>{c(!0),i(!1);try{await o.F.cancel(t)}catch(e){c(!1)}},children:"Confirm stop"}),(0,n.jsx)("button",{className:"btn",style:{padding:"8px 12px"},onClick:()=>i(!1),children:"Keep"})]}):(0,n.jsx)("button",{className:"btn btn-danger",style:{padding:"8px 13px"},onClick:()=>i(!0),children:"Stop"}):null}var j=s(4643);function g(e){let t=0x811c9dc5;for(let s=0;s<e.length;s++)t^=e.charCodeAt(s),t=Math.imul(t,0x1000193);return t>>>0}let k=["Apis","Vesper","Bumble","Nectar","Pollen","Maja","Melli","Buzz","Wax","Comb","Clover","Sage","Tupelo","Aster","Bryony","Cassia","Dahlia","Elder","Fennel","Heather","Indigo","Juniper","Laurel","Mallow","Nettle","Olive","Poppy","Quince","Rowan","Sylvie","Thistle","Verbena","Willow","Yarrow","Zinnia","Basil","Cedar","Flax","Hazel","Iris","Maple","Reed","Sorrel","Hum","Drone","Scout","Forage","Ember"];function b(e){return k[g(e)%k.length]}function v(e){let{seed:t,size:s=14,className:a}=e,i=g(t),l=g(t+"\xb7"),r=[];for(let e=0;e<5;e++)for(let t=0;t<3;t++){let s=3*e+t;if(!(i>>s&1))continue;let n=l>>s&1?.95:.45;r.push({x:t,y:e,o:n}),t<2&&r.push({x:4-t,y:e,o:n})}return 0===r.length&&r.push({x:2,y:1,o:.95},{x:2,y:2,o:.45},{x:2,y:3,o:.95}),(0,n.jsx)("span",{className:"inline-grid place-items-center shrink-0 ".concat(null!=a?a:""),style:{width:s,height:s,borderRadius:Math.max(4,Math.round(.22*s)),background:"rgb(var(--hi) / 0.05)",border:"1px solid var(--color-border-soft)"},"aria-hidden":!0,children:(0,n.jsx)("svg",{width:Math.round(.62*s),height:Math.round(.62*s),viewBox:"0 0 5 5",shapeRendering:"crispEdges",children:r.map((e,t)=>(0,n.jsx)("rect",{x:e.x,y:e.y,width:1,height:1,fill:"var(--color-ink)",opacity:e.o},t))})})}function N(e){let{activity:t,conductorLog:s,notes:a,operatorNotes:i,now:l}=e,[c,d]=(0,r.useState)("activity"),o=[{id:"activity",label:"Activity"},{id:"conductor",label:"Conductor",count:s.length+i.length},{id:"blackboard",label:"Blackboard",count:a.length}];return(0,n.jsxs)("div",{className:"panel flex flex-col h-[480px] lg:h-[calc(100vh-88px)] lg:sticky lg:top-[72px]",children:[(0,n.jsx)("div",{className:"flex items-center gap-5 px-4 border-b border-border-soft shrink-0",children:o.map(e=>(0,n.jsxs)("button",{className:"tab","data-active":c===e.id,onClick:()=>d(e.id),children:[e.label,e.count?(0,n.jsx)("span",{className:"mono text-2xs text-ink-faint",children:e.count}):null]},e.id))}),(0,n.jsxs)("div",{className:"flex-1 overflow-hidden relative",children:["activity"===c&&(0,n.jsx)(y,{activity:t,now:l}),"conductor"===c&&(0,n.jsx)(S,{log:s,operatorNotes:i,now:l}),"blackboard"===c&&(0,n.jsx)(C,{notes:a,now:l})]})]})}function y(e){let{activity:t,now:s}=e,a=(0,r.useRef)(null),[i,l]=(0,r.useState)(!0),c=(0,r.useMemo)(()=>(0,j.XJ)(t),[t]);return((0,r.useEffect)(()=>{i&&a.current&&(a.current.scrollTop=a.current.scrollHeight)},[t,i]),0===t.length)?(0,n.jsx)(m.pp,{glyph:"❯",title:"No activity yet",sub:"Every agent tool call streams here live."}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{ref:a,onScroll:e=>{let t=e.currentTarget;l(t.scrollHeight-t.scrollTop-t.clientHeight<60)},className:"h-full overflow-y-auto px-3 py-2 space-y-0.5",children:c.map(e=>(0,n.jsx)(w,{item:e},e.id))}),!i&&(0,n.jsx)("button",{onClick:()=>{l(!0),a.current&&(a.current.scrollTop=a.current.scrollHeight)},className:"absolute bottom-3 left-1/2 -translate-x-1/2 btn btn-sm",style:{background:"color-mix(in oklab, var(--color-panel) 92%, transparent)",borderColor:"rgb(var(--hi) / 0.35)",boxShadow:"0 6px 20px -6px rgba(0,0,0,0.6)"},children:"↓ Latest"})]})}function w(e){var t,s,a;let{item:i}=e,l="result"===i.kind,r=null,c=null!=(t=i.text)?t:"",d="text-ink-dim";return"tool"===i.kind?(r=(0,n.jsxs)("span",{className:"mono font-medium text-ink mr-1.5 whitespace-nowrap",children:[(0,n.jsx)(m.si,{name:i.name})," ",i.name,(null!=(s=i.count)?s:1)>1&&(0,n.jsxs)("span",{className:"text-ink-faint",children:[" \xd7",i.count]})]}),d="text-ink-faint"):l?(r=(0,n.jsx)("span",{className:"mr-1.5 ".concat(i.ok?"text-ink-faint":"text-ink-dim"),children:i.ok?"↳":"↳ ✗"}),d=i.ok?"text-ink-faint":"text-ink-dim"):"note"===i.kind?r=(0,n.jsx)("span",{className:"text-ink-dim mr-1.5",children:"✦"}):"spawn"===i.kind?(r=(0,n.jsx)("span",{className:"text-ink mr-1.5",children:"⊕"}),d="text-ink"):"report"===i.kind?r=(0,n.jsx)("span",{className:"text-ink-dim mr-1.5",children:"✓"}):(r=(0,n.jsx)("span",{className:"mono font-medium text-ink mr-1.5",children:i.name}),c=null!=(a=i.text)?a:""),(0,n.jsxs)("div",{className:"flex items-center gap-2 py-1 text-xs leading-snug",style:{animation:"var(--animate-rise)"},title:"".concat(new Date(i.t).toLocaleString()).concat(i.taskId?" \xb7 ".concat(i.taskId," ").concat(b(i.taskId)):" \xb7 conductor").concat(i.name?"\n".concat(i.name):"").concat(c?"\n".concat(c):""),children:[(0,n.jsx)("span",{className:"flex items-center gap-1.5 shrink-0 w-[52px]",children:i.taskId?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(v,{seed:i.taskId,size:18}),(0,n.jsx)("span",{className:"mono text-2xs text-ink-faint",children:i.taskId})]}):(0,n.jsx)("span",{className:"mono text-2xs text-ink-faint inline-flex items-center justify-center",style:{width:18},children:"◉"})}),(0,n.jsxs)("span",{className:"min-w-0 flex-1 truncate ".concat(l?"pl-2 border-l border-border-soft":""),children:[r,(0,n.jsx)("span",{className:d,children:c})]}),(0,n.jsx)("span",{className:"mono text-2xs shrink-0 w-[36px] text-right text-ink-faint",children:(0,x.MZ)(i.t)})]})}function S(e){let{log:t,operatorNotes:s,now:a}=e,i=[...t.map(e=>({t:e.t,kind:"say",text:e.text})),...s.map(e=>({t:e.t,kind:"op",text:e.text}))].sort((e,t)=>e.t-t.t),l=(0,r.useRef)(null);return((0,r.useEffect)(()=>{l.current&&(l.current.scrollTop=l.current.scrollHeight)},[i.length]),0===i.length)?(0,n.jsx)(m.pp,{glyph:"◉",title:"Conductor is quiet",sub:"Its decisions and commentary appear here. Send it a note from the header to steer the run."}):(0,n.jsx)("div",{ref:l,className:"h-full overflow-y-auto px-3.5 py-3 space-y-3",children:i.map((e,t)=>(0,n.jsx)("div",{style:{animation:"var(--animate-rise)"},children:"op"===e.kind?(0,n.jsxs)("div",{className:"rounded-lg p-2.5 text-xs",style:{background:"rgb(var(--hi) / 0.05)",border:"1px solid rgb(var(--hi) / 0.18)"},children:[(0,n.jsxs)("div",{className:"label mb-1 text-ink",style:{letterSpacing:"0.12em"},children:["you \xb7 ",(0,x.rB)(e.t,a)]}),(0,n.jsx)("div",{className:"text-ink-dim",children:e.text})]}):(0,n.jsxs)("div",{className:"text-xs leading-relaxed",children:[(0,n.jsxs)("div",{className:"label mb-0.5",style:{letterSpacing:"0.12em"},children:["◉ conductor \xb7 ",(0,x.ME)(e.t)]}),(0,n.jsx)(m.Md,{compact:!0,dim:!0,children:e.text})]})},t))})}function T(e){var t;let{kind:s}=e;return(0,n.jsxs)("span",{className:"mono shrink-0 uppercase ".concat("decision"===s?"chip-solid":""),style:{fontSize:9,letterSpacing:"0.1em",padding:"1px 6px",borderRadius:4,border:"decision"===s?void 0:"1px solid var(--color-border)"},children:[null!=(t=({decision:"◆","open-question":"?",handoff:"⇢",claim:"⚑"})[s])?t:"\xb7"," ",s]})}function C(e){let{notes:t,now:s}=e;return 0===t.length?(0,n.jsx)(m.pp,{glyph:"✦",title:"Blackboard is empty",sub:"Durable facts agents post for the rest of the swarm show up here."}):(0,n.jsx)("div",{className:"h-full overflow-y-auto px-3.5 py-3 space-y-2",children:[...t].reverse().map((e,t)=>(0,n.jsxs)("div",{className:"tile p-3 text-xs",style:{animation:"var(--animate-rise)"},children:[(0,n.jsxs)("div",{className:"flex items-baseline gap-2 mb-1.5 text-2xs text-ink-faint",children:[e.kind&&"finding"!==e.kind&&(0,n.jsx)(T,{kind:e.kind}),e.key&&(0,n.jsx)("span",{className:"mono font-semibold text-ink truncate",children:e.key.replace(/[_-]+/g," ")}),e.taskId&&(0,n.jsx)("span",{className:"mono shrink-0",children:e.taskId}),(0,n.jsx)("span",{className:"ml-auto shrink-0",children:(0,x.rB)(e.t,s)})]}),(0,n.jsx)(m.OQ,{lines:5,children:(0,n.jsx)(m.Md,{compact:!0,dim:!0,children:e.text})})]},t))})}function M(e){switch(e){case"done":return"✓";case"failed":return"✗";case"blocked":return"⊘";case"verifying":return"◈";default:return""}}function R(e){return e.replace(/[#*`_>]+/g,"").replace(/\s+/g," ").trim().slice(0,140)}function z(e){var t;let{task:s,agent:a,now:i,onClick:l}=e,r=(0,x.ST)(s.status),c="running"===s.status||"verifying"===s.status,d="verifying"===s.status?"verifier":s.role,o=s.startedAt?(0,x.nc)((null!=(t=s.endedAt)?t:i)-s.startedAt):"";return(0,n.jsxs)("button",{onClick:l,className:"panel panel-hover text-left p-3.5 w-full relative overflow-hidden flex flex-col",style:{animation:"var(--animate-rise)",borderColor:c?"rgb(var(--hi) / 0.16)":void 0,opacity:"pending"===s.status?.75:1},children:[(0,n.jsxs)("div",{className:"flex items-center gap-2 mb-1.5 w-full",children:[(0,n.jsx)(v,{seed:s.id,size:26}),(0,n.jsx)("span",{className:"mono text-2xs font-bold shrink-0",style:{color:r},children:s.id}),(0,n.jsx)("span",{className:"text-2xs font-medium shrink-0 text-ink-dim",children:b(s.id)}),(0,n.jsxs)("span",{className:"text-2xs shrink-0 text-ink-faint",children:["\xb7 ",d]}),s.team&&(0,n.jsx)("span",{title:"runs as a sub-swarm",className:"text-2xs text-ink-dim",children:"⌬"}),s.modelTier&&"default"!==s.modelTier&&(0,n.jsx)("span",{title:"".concat(s.modelTier," model tier"),className:"mono text-2xs shrink-0 text-ink-faint",children:"strong"===s.modelTier?"S":"\xa2"}),s.verify&&(0,n.jsx)("span",{title:"adversarially verified",className:"text-2xs text-ink-dim",children:"⊛"}),s.attempt>1&&(0,n.jsxs)("span",{className:"text-2xs shrink-0 text-ink-dim",children:["retry ",s.attempt]}),(0,n.jsxs)("span",{className:"ml-auto flex items-center gap-1.5 shrink-0",children:[c?(0,n.jsx)(m.y$,{size:11}):(0,n.jsx)("span",{className:"text-sm",style:{color:r},children:M(s.status)}),o&&(0,n.jsx)("span",{className:"mono text-2xs text-ink-faint",children:o})]})]}),(0,n.jsx)("div",{className:"text-sm leading-snug mb-1.5 line-clamp-2 text-ink",children:s.title}),(0,n.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[s.deps.length>0&&(0,n.jsxs)("span",{className:"mono text-2xs text-ink-faint",children:["⇠ ",s.deps.join(", ")]}),s.artifacts.length>0&&(0,n.jsxs)("span",{className:"mono text-2xs text-ink-dim",title:s.artifacts.join(", "),children:["↧ ",s.artifacts.length," artifact",s.artifacts.length>1?"s":""]})]}),c&&a&&(0,n.jsxs)("div",{className:"mt-2 pt-2 text-2xs flex items-start gap-1.5 w-full border-t border-border-soft text-ink-dim",children:[(0,n.jsx)(m.si,{name:a.lastTool}),(0,n.jsxs)("span",{className:"line-clamp-2 text-ink-faint",style:{animation:"var(--animate-pulse-soft)",overflowWrap:"anywhere"},children:[a.lastTool?(0,n.jsx)("span",{className:"mono text-ink-dim",children:a.lastTool}):null,a.lastTool?" \xb7 ":"",function(e){let t=(e.lastText||e.lastThink||"").replace(/\s+/g," ").trim();return t.length>90?"…"+t.slice(t.length-89):t}(a)||"thinking…"]})]}),!c&&"done"===s.status&&s.report&&(0,n.jsx)("div",{className:"mt-1.5 text-2xs line-clamp-2 text-ink-faint",children:R(s.report)}),("failed"===s.status||"blocked"===s.status)&&(s.error||s.feedback)&&(0,n.jsx)("div",{className:"mt-1.5 text-2xs line-clamp-2",style:{color:r},children:R(s.feedback||s.error||"")})]})}function A(e){var t;let{task:s,now:a,onClick:i}=e,l=(0,x.ST)(s.status),r="failed"===s.status||"blocked"===s.status,c=s.startedAt?(0,x.nc)((null!=(t=s.endedAt)?t:a)-s.startedAt):"—",d=r?R(s.feedback||s.error||""):"";return(0,n.jsxs)("button",{onClick:i,className:"flex items-center gap-2.5 w-full text-left px-3 py-2 hover:bg-[rgb(var(--hi)/0.04)] transition-colors",style:{animation:"var(--animate-rise)"},children:[(0,n.jsx)("span",{className:"mono text-sm shrink-0 w-4 text-center ".concat(r?"font-bold":""),style:{color:l},children:M(s.status)}),(0,n.jsx)(v,{seed:s.id,size:20}),(0,n.jsx)("span",{className:"mono text-2xs shrink-0 w-7 ".concat(r?"font-bold text-ink":"text-ink-dim"),children:s.id}),(0,n.jsx)("span",{className:"text-2xs shrink-0 w-16 truncate hidden sm:inline text-ink-dim",children:b(s.id)}),(0,n.jsx)("span",{className:"text-2xs shrink-0 w-20 truncate hidden md:inline text-ink-faint",children:s.role}),(0,n.jsxs)("span",{className:"text-xs truncate flex-1 min-w-0 text-ink",children:[s.title,d&&(0,n.jsx)("span",{className:"ml-2",style:{color:l},children:d})]}),s.attempt>1&&(0,n.jsxs)("span",{className:"text-2xs shrink-0 hidden sm:inline text-ink-faint",children:["retry ",s.attempt]}),(0,n.jsx)("span",{className:"mono text-2xs shrink-0 w-9 text-right text-ink-faint",title:s.artifacts.join(", "),children:s.artifacts.length>0?"↧ ".concat(s.artifacts.length):""}),(0,n.jsx)("span",{className:"mono text-2xs shrink-0 w-14 text-right text-ink-faint",children:c})]})}let F="0 0 22px -6px rgb(var(--hi) / 0.5)",E=["done","failed","blocked"];function O(e){var t,s,a;let{tasks:i,agents:l,status:c,conductorLog:d,finalSummary:o,now:x,onSelect:h,onOpenReport:p}=e,u=(0,r.useMemo)(()=>{let e=new Map;for(let t of i){let s=t.wave||1;e.has(s)||e.set(s,[]),e.get(s).push(t)}return[...e.entries()].sort((e,t)=>e[0]-t[0])},[i]),{preWave:f,tail:j}=(0,r.useMemo)(()=>{let e,t=u.map(e=>{let[t,s]=e;return[t,Math.min(...s.map(e=>e.createdAt))]}),s=new Map;for(let n of d){let a=t.find(e=>{let[,t]=e;return n.t<t+1e3});a?s.set(a[0],n):e=n}return{preWave:s,tail:e}},[u,d]),g=e=>{let t=l.filter(t=>t.taskId===e.id&&"running"===t.status);return t[t.length-1]},k=["planning","running","synthesizing"].includes(c),b="planning"===c&&0===i.length,v=null==(t=u[0])?void 0:t[0],N=null!=(a=void 0!==v?null==(s=f.get(v))?void 0:s.text:void 0)?a:b?null==j?void 0:j.text:void 0;return(0,n.jsxs)("div",{className:"spine flex flex-col gap-6",children:[(0,n.jsx)(L,{status:c,latest:N,taskCount:i.length}),b?(0,n.jsx)("div",{className:"spine-item",children:(0,n.jsx)("div",{className:"panel",children:(0,n.jsx)(m.pp,{glyph:"◌",title:"Conductor is planning…",sub:"Decomposing your mission into the first wave of parallel tasks."})})}):0===i.length?(0,n.jsx)("div",{className:"spine-item",children:(0,n.jsx)("div",{className:"panel",children:(0,n.jsx)(m.pp,{glyph:"◇",title:"No tasks yet",sub:"The conductor hasn't spawned any work."})})}):u.map((e,t)=>{let[s,a]=e;return(0,n.jsxs)(r.Fragment,{children:[t>0&&f.get(s)&&(0,n.jsx)(I,{text:f.get(s).text}),(0,n.jsx)(H,{wave:s,group:a,agentForTask:g,now:x,onSelect:h})]},s)}),!b&&j&&(0,n.jsx)(I,{text:j.text,pulse:k}),!k&&(o?(0,n.jsx)(P,{summary:o,onOpenReport:p}):(0,n.jsx)(B,{status:c}))]})}function L(e){let{status:t,latest:s,taskCount:a}=e,i=["planning","running","synthesizing"].includes(t);return(0,n.jsxs)("div",{className:"spine-item",children:[(0,n.jsx)("span",{className:"spine-node text-ink",style:{boxShadow:i?F:"none",transition:"box-shadow 0.4s"},children:"◉"}),(0,n.jsxs)("div",{className:"flex items-baseline gap-2.5",children:[(0,n.jsx)("span",{className:"font-semibold text-sm tracking-tight text-ink",children:"Conductor"}),(0,n.jsx)("span",{className:"mono text-2xs text-ink-faint",children:"synthesizing"===t?"synthesizing the final report":"orchestrating ".concat(a," task").concat(1!==a?"s":"")})]}),(0,n.jsx)("p",{className:"text-xs leading-snug mt-1 line-clamp-2 text-ink-dim",children:s||(i?"coordinating the swarm…":"idle")})]})}function I(e){let{text:t,pulse:s}=e;return(0,n.jsxs)("div",{className:"spine-item",style:{animation:"var(--animate-rise)"},children:[(0,n.jsx)("span",{className:"spine-node",style:{boxShadow:s?F:void 0,transition:"box-shadow 0.4s"},children:"◉"}),(0,n.jsx)("p",{className:"text-xs leading-snug line-clamp-2 text-ink-dim",style:{minHeight:21,animation:s?"var(--animate-pulse-soft)":void 0},children:t})]})}function H(e){let{wave:t,group:s,agentForTask:a,now:i,onSelect:l}=e,r=s.filter(e=>E.includes(e.status)),c=s.filter(e=>!E.includes(e.status)),d=r.filter(e=>"failed"===e.status).length;return(0,n.jsxs)("div",{className:"spine-item",style:{animation:"var(--animate-rise)"},children:[(0,n.jsx)("span",{className:"spine-node",style:{fontSize:10},children:t}),(0,n.jsxs)("div",{className:"flex items-center gap-3 mb-2.5",style:{minHeight:21},children:[(0,n.jsxs)("span",{className:"label",children:["Wave ",t]}),(0,n.jsxs)("span",{className:"mono text-2xs ".concat(d?"text-ink":"text-ink-faint"),children:[r.length,"/",s.length," settled",d?" \xb7 ".concat(d," failed"):""]}),(0,n.jsx)("span",{className:"flex-1 h-px bg-border-soft"})]}),r.length>0&&(0,n.jsx)("div",{className:"tile divide-y divide-border-soft overflow-hidden",children:r.map(e=>(0,n.jsx)(A,{task:e,now:i,onClick:()=>l(e)},e.id))}),c.length>0&&(0,n.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3 ".concat(r.length>0?"mt-3":""),children:c.map(e=>(0,n.jsx)(z,{task:e,agent:a(e),now:i,onClick:()=>l(e)},e.id))})]})}function P(e){let{summary:t,onOpenReport:s}=e;return(0,n.jsxs)("div",{className:"spine-item",style:{animation:"var(--animate-rise)"},children:[(0,n.jsx)("span",{className:"spine-node text-ink",children:"✓"}),(0,n.jsxs)("div",{className:"panel p-4",style:{borderColor:"rgb(var(--hi) / 0.22)",background:"rgb(var(--hi) / 0.03)"},children:[(0,n.jsxs)("div",{className:"flex items-center justify-between gap-3 mb-1.5",children:[(0,n.jsx)("div",{className:"label text-ink",children:"✓ Mission summary"}),(0,n.jsx)("button",{className:"btn btn-sm shrink-0",onClick:s,children:"Open full report →"})]}),(0,n.jsx)(m.OQ,{lines:4,children:(0,n.jsx)(m.Md,{compact:!0,children:t})})]})]})}function B(e){let{status:t}=e;return(0,n.jsxs)("div",{className:"spine-item",style:{animation:"var(--animate-rise)"},children:[(0,n.jsx)("span",{className:"spine-node",children:"failed"===t?"✗":"cancelled"===t?"⊘":"■"}),(0,n.jsxs)("p",{className:"text-xs text-ink-faint flex items-center",style:{minHeight:21},children:["run ended — ",t]})]})}function Q(e){var t,s;let{runId:a,task:i,agents:l,now:c,onClose:d}=e;if((0,r.useEffect)(()=>{let e=e=>"Escape"===e.key&&d();return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[d]),!i)return null;let h=l.filter(e=>e.taskId===i.id),p=h[h.length-1],u=(0,x.ST)(i.status);return(0,n.jsxs)("div",{className:"fixed inset-0 z-50 flex justify-end",style:{animation:"var(--animate-fade-in)"},children:[(0,n.jsx)("div",{className:"absolute inset-0",style:{background:"rgba(0,0,0,0.55)",backdropFilter:"blur(2px)"},onClick:d}),(0,n.jsxs)("div",{className:"relative h-full overflow-y-auto",style:{width:"min(580px, 94vw)",background:"var(--color-bg-soft)",borderLeft:"1px solid var(--color-border)",animation:"var(--animate-slide-in)"},children:[(0,n.jsxs)("div",{className:"sticky top-0 z-10 px-6 pt-5 pb-4 border-b border-border-soft",style:{background:"color-mix(in oklab, var(--color-bg-soft) 88%, transparent)",backdropFilter:"blur(12px)"},children:[(0,n.jsxs)("div",{className:"flex items-start justify-between gap-3 mb-2.5",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2.5 flex-wrap",children:[(0,n.jsx)(v,{seed:i.id,size:30}),(0,n.jsx)("span",{className:"mono font-bold text-lg",style:{color:u},children:i.id}),(0,n.jsx)("span",{className:"text-sm font-medium text-ink-dim",children:b(i.id)}),(0,n.jsx)(m.Wh,{status:i.status}),(0,n.jsx)("span",{className:"text-2xs text-ink-faint",children:i.role})]}),(0,n.jsx)("button",{onClick:d,className:"btn btn-sm shrink-0",children:"esc ✕"})]}),(0,n.jsx)("h2",{className:"text-lg font-semibold leading-snug",children:i.title}),(0,n.jsxs)("div",{className:"flex flex-wrap gap-x-3 gap-y-1 text-2xs mt-1.5 text-ink-faint",children:[(0,n.jsxs)("span",{children:["wave ",i.wave]}),i.team&&(0,n.jsx)("span",{className:"text-ink-dim",children:"⌬ sub-swarm"}),i.modelTier&&"default"!==i.modelTier&&(0,n.jsxs)("span",{className:"mono text-ink-dim",children:[i.modelTier," tier"]}),i.deps.length>0&&(0,n.jsxs)("span",{className:"mono",children:["⇠ ",i.deps.join(", ")]}),i.verify&&(0,n.jsx)("span",{className:"text-ink-dim",children:"⊛ adversarially verified"}),i.attempt>1&&(0,n.jsxs)("span",{className:"text-ink-dim",children:["attempt ",i.attempt]}),i.startedAt&&(0,n.jsx)("span",{className:"mono",children:(0,x.nc)((null!=(t=i.endedAt)?t:c)-i.startedAt)})]})]}),(0,n.jsxs)("div",{className:"px-6 py-5",children:[(0,n.jsx)(W,{task:i}),(0,n.jsx)(U,{title:"Objective",children:(0,n.jsx)(m.OQ,{lines:3,children:(0,n.jsx)(m.Md,{compact:!0,children:i.objective})})}),i.context&&(0,n.jsx)(U,{title:"Context from the conductor",children:(0,n.jsx)(m.OQ,{lines:3,children:(0,n.jsx)(m.Md,{compact:!0,dim:!0,children:i.context})})}),i.report&&(0,n.jsx)(U,{title:"failed"===(s=i).status||"blocked"===s.status?"Last report (unverified \xb7 attempt ".concat(s.attempt,")"):"verifying"===s.status?"Report (being verified)":"Report",children:(0,n.jsx)("div",{className:"rounded-xl px-4 py-3.5 border border-border-soft",style:{background:"var(--input-bg)"},children:(0,n.jsx)(m.OQ,{lines:10,children:(0,n.jsx)(m.Md,{compact:!0,dim:"failed"===i.status||"blocked"===i.status,children:i.report})})})}),i.keyFacts&&i.keyFacts.length>0&&(0,n.jsx)(U,{title:"Key facts (handoff)",children:(0,n.jsx)("ul",{className:"space-y-1.5",children:i.keyFacts.map((e,t)=>(0,n.jsxs)("li",{className:"flex items-start gap-2 text-xs leading-relaxed text-ink-dim",children:[(0,n.jsx)("span",{className:"text-ink-faint shrink-0",style:{marginTop:1},children:"◆"}),(0,n.jsx)(m.Md,{compact:!0,dim:!0,children:e})]},t))})}),i.openQuestions&&i.openQuestions.length>0&&(0,n.jsx)(U,{title:"Open questions",children:(0,n.jsx)("ul",{className:"space-y-1.5",children:i.openQuestions.map((e,t)=>(0,n.jsxs)("li",{className:"flex items-start gap-2 text-xs leading-relaxed text-ink-faint",children:[(0,n.jsx)("span",{className:"shrink-0",style:{marginTop:1},children:"?"}),(0,n.jsx)(m.Md,{compact:!0,dim:!0,children:e})]},t))})}),i.filesTouched&&i.filesTouched.length>0&&(0,n.jsx)(U,{title:"Files touched \xb7 ".concat(i.filesTouched.length),children:(0,n.jsx)("div",{className:"flex flex-wrap gap-1.5",children:i.filesTouched.map(e=>(0,n.jsx)("span",{className:"chip",children:e},e))})}),i.lastCheckpoint&&"done"!==i.status&&(0,n.jsx)(U,{title:"Latest checkpoint",children:(0,n.jsx)("div",{className:"rounded-xl px-3.5 py-3 border border-border-soft",style:{background:"rgb(var(--hi) / 0.02)"},children:(0,n.jsx)(m.Md,{compact:!0,dim:!0,children:i.lastCheckpoint})})}),i.feedback&&"failed"!==i.status&&"blocked"!==i.status&&(0,n.jsx)(U,{title:"Verifier feedback (previous attempt)",children:(0,n.jsx)("div",{className:"rounded-xl p-3.5",style:{background:"rgb(var(--hi) / 0.03)",border:"1px solid rgb(var(--hi) / 0.16)"},children:(0,n.jsx)(m.OQ,{lines:5,children:(0,n.jsx)(m.Md,{compact:!0,dim:!0,children:i.feedback})})})}),i.artifacts.length>0&&(0,n.jsx)(U,{title:"Artifacts \xb7 ".concat(i.artifacts.length),children:(0,n.jsx)("div",{className:"flex flex-col gap-1.5",children:i.artifacts.map(e=>(0,n.jsxs)("a",{href:o.F.artifactUrl(a,e),target:"_blank",rel:"noreferrer",className:"flex items-center gap-2 px-3 py-2 tile tile-hover text-ink",children:[(0,n.jsx)("span",{className:"mono text-xs truncate flex-1",children:e}),(0,n.jsx)("span",{className:"mono text-2xs text-ink-dim",children:"open ↗"})]},e))})}),h.length>0&&(0,n.jsx)(U,{title:"Agents \xb7 ".concat(h.length),children:(0,n.jsx)("div",{className:"flex flex-col gap-2",children:h.map((e,t)=>(0,n.jsx)(_,{agent:e,now:c,expanded:e===p,attempt:t+1},e.id))})})]})]})]})}function W(e){var t,s,a,i;let{task:l}=e;if("failed"!==l.status&&"blocked"!==l.status)return null;let r=null!=(a=null==(t=l.error)?void 0:t.trim())?a:"",c=null!=(i=null==(s=l.feedback)?void 0:s.trim())?i:"",d=!!r&&!!c&&(r===c||r.startsWith(c.slice(0,80))||c.startsWith(r.slice(0,80))),o=d?c:r||c;return o?(0,n.jsx)(U,{title:"blocked"===l.status?"Why it's blocked":"Why it failed",children:(0,n.jsxs)("div",{className:"rounded-xl p-3.5",style:{background:"rgb(var(--hi) / 0.05)",border:"1px solid rgb(var(--hi) / 0.22)"},children:[(0,n.jsx)(m.OQ,{lines:6,children:(0,n.jsx)(m.Md,{compact:!0,children:o})}),!d&&r&&c&&(0,n.jsxs)("div",{className:"mt-2.5 pt-2.5 border-t border-border-soft",children:[(0,n.jsx)("div",{className:"label mb-1",children:"Verifier feedback"}),(0,n.jsx)(m.OQ,{lines:6,children:(0,n.jsx)(m.Md,{compact:!0,dim:!0,children:c})})]})]})}):null}function _(e){var t;let{agent:s,now:a,expanded:i,attempt:l}=e,[c,d]=(0,r.useState)(i),o="running"===s.status,h=(0,x.nc)((null!=(t=s.endedAt)?t:a)-s.startedAt);return(0,n.jsxs)("div",{className:"tile overflow-hidden",children:[(0,n.jsxs)("button",{onClick:()=>d(e=>!e),className:"w-full flex items-center gap-2 px-3 py-2.5 text-left",children:[(0,n.jsx)("span",{className:"rounded-full shrink-0",style:{width:7,height:7,background:o?"var(--color-ink)":"var(--color-ink-faint)"}}),(0,n.jsx)("span",{className:"mono text-2xs text-ink-dim",children:s.id}),(0,n.jsx)("span",{className:"text-2xs text-ink-dim",children:s.role}),(0,n.jsxs)("span",{className:"mono text-2xs ml-auto shrink-0 text-ink-faint",children:["#",l," \xb7 ",s.steps," steps \xb7 ",h,o?" \xb7 live":""]}),(0,n.jsx)("span",{className:"text-ink-faint",style:{fontSize:9,transform:c?"rotate(180deg)":"none",transition:"transform 0.15s"},children:"▼"})]}),c&&(0,n.jsxs)("div",{className:"px-3 pb-3 space-y-2.5 border-t border-border-soft",style:{paddingTop:10},children:[s.lastThink&&(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"label mb-1",children:"reasoning"}),(0,n.jsx)("div",{className:"text-xs leading-relaxed whitespace-pre-wrap mono text-ink-faint",style:{maxHeight:180,overflow:"auto"},children:s.lastThink.slice(-1400)})]}),s.lastText&&(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"label mb-1",children:"output"}),(0,n.jsx)("div",{style:{maxHeight:180,overflow:"auto"},children:(0,n.jsx)(m.Md,{compact:!0,dim:!0,children:s.lastText.slice(-1400)})})]}),!s.lastThink&&!s.lastText&&(0,n.jsx)("div",{className:"text-2xs text-ink-faint",children:o?"Waiting for the first output…":"No captured output."}),s.lastTool&&(0,n.jsxs)("div",{className:"text-2xs mono text-ink-faint",children:["last tool: ",s.lastTool]})]})]})}function U(e){let{title:t,children:s}=e;return(0,n.jsxs)("div",{className:"mb-6",children:[(0,n.jsx)("div",{className:"label mb-2",children:t}),s]})}var V=s(830),D=s(6168);function $(){let e=(0,l.useSearchParams)().get("id"),{data:t,connected:s,engineLive:a}=(0,D.Xt)(e),c=(0,D.cB)(1e3),[d,o]=(0,r.useState)(null),[p,j]=(0,r.useState)("swarm"),[g,k]=(0,r.useState)(!1),[b,v]=(0,r.useState)(!1);(0,r.useEffect)(()=>{v(!1);let e=setTimeout(()=>v(!0),8e3);return()=>clearTimeout(e)},[e]);let y=!!t&&["done","failed","cancelled"].includes(t.status);(0,r.useEffect)(()=>{y&&!g&&((null==t?void 0:t.finalSummary)||(null==t?void 0:t.finalReportPath))&&(j("report"),k(!0))},[y,g,null==t?void 0:t.finalSummary,null==t?void 0:t.finalReportPath]);let w=(0,r.useMemo)(()=>{var e;return t&&d&&null!=(e=t.tasks.find(e=>e.id===d))?e:null},[t,d]),S=(0,r.useMemo)(()=>{if(!t)return 0;let e=new Set;for(let s of t.tasks)for(let t of s.artifacts)e.add(t);return t.finalReportPath&&e.add("final-report.md"),e.size},[t]);if(!e)return(0,n.jsxs)("div",{className:"min-h-screen",children:[(0,n.jsx)(V.V,{}),(0,n.jsxs)("div",{className:"max-w-3xl mx-auto p-10 text-center text-ink-dim",children:["No run id. ",(0,n.jsx)(i(),{href:"/",className:"underline",children:"Back to dashboard"})]})]});if(!t||!t.meta)return(0,n.jsxs)("div",{className:"min-h-screen",children:[(0,n.jsx)(V.V,{}),(0,n.jsxs)("div",{className:"max-w-3xl mx-auto p-16 text-center",children:[(0,n.jsxs)("div",{className:"flex items-center justify-center gap-3 text-ink-faint",children:[(0,n.jsx)(m.y$,{})," connecting to run…"]}),b&&(0,n.jsxs)("div",{className:"mt-6 text-sm leading-relaxed text-ink-dim",style:{animation:"var(--animate-rise)"},children:["Still connecting. This run id may not exist, or the hub isn't reachable — check that"," ",(0,n.jsx)("span",{className:"mono text-ink",children:"swarm serve"})," is running.",(0,n.jsx)("div",{className:"mt-3",children:(0,n.jsx)(i(),{href:"/",className:"btn btn-sm",style:{display:"inline-flex"},children:"Back to dashboard"})})]})]})]});let T=t.meta,C=t.usage.promptTokens+t.usage.completionTokens,M=T.options.maxTokens,R=!y,z="failed"===t.status,A=z&&/auth|api key|rejected|401/i.test(t.statusReason||""),F=R&&!1===a,E=(0,x.nc)(((y||F)&&t.updatedAt?t.updatedAt:c)-T.createdAt),L={done:t.tasks.filter(e=>"done"===e.status).length,failed:t.tasks.filter(e=>"failed"===e.status).length,blocked:t.tasks.filter(e=>"blocked"===e.status).length,total:t.tasks.length},I=t.usage.promptTokens>0?Math.round(t.usage.cacheHitTokens/t.usage.promptTokens*100):0,H=[T.options.model,T.sandbox?"isolated workspace":"real directory","".concat(T.options.maxWorkers,"\xd7 parallel"),..."off"!==T.options.verification?["verify ".concat(T.options.verification)]:[]].join(" \xb7 ");return(0,n.jsxs)("div",{className:"min-h-screen",children:[(0,n.jsx)(V.V,{right:(0,n.jsxs)("span",{className:"hidden md:flex items-center gap-2 text-2xs text-ink-faint",children:[(0,n.jsx)(m.md,{status:s?R?"running":t.status:"failed",size:7,pulse:s&&R}),s?R?"live":"loaded":"reconnecting…"]})}),(0,n.jsxs)("main",{className:"max-w-[1400px] mx-auto px-4 sm:px-6 py-5 grid grid-cols-1 lg:grid-cols-[minmax(0,1fr)_380px] gap-5 items-start",children:[(0,n.jsxs)("div",{className:"min-w-0",children:[z&&(0,n.jsxs)(K,{glyph:"✕",title:"This run failed",children:[t.statusReason||"The run ended without completing.",A&&(0,n.jsx)(i(),{href:"/settings",className:"btn btn-sm mt-3",style:{display:"inline-flex"},children:"Fix your API key in Settings"})]}),F&&(0,n.jsxs)(K,{glyph:"◌",title:"Engine process is not running",children:["This run was interrupted before it could finish — the journal shows its last known state. Resuming keeps completed work and re-runs only the tasks that were in flight.",(0,n.jsx)("div",{className:"mt-3",children:(0,n.jsx)(q,{id:e})})]}),(0,n.jsxs)("div",{className:"panel p-4 mb-4",children:[(0,n.jsxs)("div",{className:"flex items-start justify-between gap-4 flex-wrap",children:[(0,n.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,n.jsx)("h1",{className:"text-base font-semibold leading-snug mb-1.5 text-ink",children:T.mission}),(0,n.jsxs)("div",{className:"flex items-center gap-x-3 gap-y-1.5 flex-wrap",children:[(0,n.jsx)(m.Wh,{status:t.status}),(0,n.jsx)("span",{className:"mono text-2xs text-ink-faint",children:H}),(0,n.jsxs)("button",{className:"mono text-2xs text-ink-faint hover:text-ink-dim transition-colors",title:"Copy run id",onClick:()=>{var t;return null==(t=navigator.clipboard)?void 0:t.writeText(e).catch(()=>{})},children:[e," ⧉"]})]}),t.statusReason&&y&&(0,n.jsx)("p",{className:"text-xs mt-2 text-ink-faint",children:t.statusReason})]}),(0,n.jsxs)("div",{className:"flex items-center gap-2 shrink-0",children:[(0,n.jsx)(f,{id:e,live:R&&!F}),(t.finalSummary||y)&&"report"!==p&&(0,n.jsx)("button",{onClick:()=>j("report"),className:"btn",children:"View report"})]})]}),(0,n.jsxs)("div",{className:"mono text-2xs text-ink-faint mt-3 flex flex-wrap items-center gap-x-2 gap-y-1",children:[(0,n.jsxs)("span",{className:"text-ink-dim",children:[L.done,"/",L.total," tasks"]}),L.failed>0&&(0,n.jsxs)("span",{className:"text-ink font-bold",children:[L.failed," failed"]}),L.blocked>0&&(0,n.jsxs)("span",{className:"text-ink font-bold",children:[L.blocked," blocked"]}),(0,n.jsx)("span",{children:"\xb7"}),(0,n.jsxs)("span",{children:[t.activeAgents.length," active"]}),(0,n.jsx)("span",{children:"\xb7"}),(0,n.jsxs)("span",{children:[(0,x.yj)(C)," tok",I>0?" \xb7 ".concat(I,"% cached"):""]}),(0,n.jsx)("span",{children:"\xb7"}),(0,n.jsxs)("span",{title:"total artifacts saved by the swarm",children:["↧ ",S," sources"]}),(0,n.jsx)("span",{children:"\xb7"}),(0,n.jsx)("span",{children:(0,x.S8)(t.cost)}),(0,n.jsx)("span",{children:"\xb7"}),(0,n.jsx)("span",{children:E})]}),(0,n.jsxs)("div",{className:"mt-3 flex items-center gap-3",children:[(0,n.jsx)("div",{className:"flex-1 min-w-0",children:(0,n.jsx)(m.jT,{spent:C,cap:M,height:3})}),(0,n.jsxs)("span",{className:"mono text-2xs text-ink-faint shrink-0",children:[M>0?Math.min(100,Math.round(C/M*100)):0,"% of ",(0,x.yj)(M)]})]}),R&&!F&&(0,n.jsx)("div",{className:"mt-3",children:(0,n.jsx)(u,{id:e})})]}),(0,n.jsxs)("div",{className:"flex items-center gap-6 mb-4 border-b border-border-soft",children:[(0,n.jsx)("button",{className:"tab","data-active":"swarm"===p,onClick:()=>j("swarm"),children:"Swarm"}),(0,n.jsxs)("button",{className:"tab","data-active":"report"===p,onClick:()=>j("report"),children:["Report",t.finalSummary?(0,n.jsx)("span",{className:"text-ink",children:"✓"}):null,S>0&&(0,n.jsx)("span",{className:"mono text-2xs text-ink-faint",children:S})]})]}),"swarm"===p?(0,n.jsx)("div",{className:"min-w-0",children:(0,n.jsx)(O,{tasks:t.tasks,agents:t.agents,status:t.status,conductorLog:t.conductorLog,finalSummary:t.finalSummary,now:c,onSelect:e=>o(e.id),onOpenReport:()=>j("report")})}):(0,n.jsx)(h,{id:e,hasFinal:!!t.finalSummary,live:R})]}),(0,n.jsx)(N,{activity:t.activity,conductorLog:t.conductorLog,notes:t.notes,operatorNotes:t.operatorNotes,now:c})]}),(0,n.jsx)(Q,{runId:e,task:w,agents:t.agents,now:c,onClose:()=>o(null)})]})}function q(e){let{id:t}=e,[s,a]=(0,r.useState)("idle");return(0,n.jsxs)("button",{className:"btn btn-sm",disabled:"resuming"===s,onClick:async()=>{a("resuming");try{await o.F.resume(t)}catch(e){a("error")}},children:["resuming"===s?(0,n.jsx)(m.y$,{size:12}):null,"error"===s?"Resume failed — retry":"Resume run"]})}function K(e){let{glyph:t,title:s,children:a}=e;return(0,n.jsxs)("div",{className:"panel p-4 mb-5 flex items-start gap-3.5",style:{borderColor:"rgb(var(--hi) / 0.28)",background:"rgb(var(--hi) / 0.03)",animation:"var(--animate-rise)"},children:[(0,n.jsx)("span",{className:"glyph shrink-0 text-ink",style:{width:30,height:30,fontSize:13},children:t}),(0,n.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,n.jsx)("div",{className:"font-semibold text-ink",children:s}),(0,n.jsx)("div",{className:"text-sm mt-0.5 leading-relaxed text-ink-dim",children:a})]})]})}function J(){return(0,n.jsx)(r.Suspense,{fallback:(0,n.jsx)("div",{className:"min-h-screen grid place-items-center text-ink-faint",children:(0,n.jsx)(m.y$,{})}),children:(0,n.jsx)($,{})})}}},e=>{e.O(0,[532,677,441,255,358],()=>e(e.s=4218)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[662],{1676:(e,a,l)=>{Promise.resolve().then(l.bind(l,2802))},2802:(e,a,l)=>{"use strict";l.r(a),l.d(a,{default:()=>m});var n=l(5155),t=l(2619),s=l.n(t),i=l(2115),o=l(830),r=l(6420),d=l(7621),c=l(6168);let u=[{key:"maxWorkers",label:"Agents in parallel",min:1,max:32},{key:"maxTasks",label:"Task limit",min:1,max:1e3},{key:"maxStepsPerTask",label:"Steps per task",min:3,max:200},{key:"maxTokensPerRun",label:"Token budget",min:5e4,max:2e9}];function m(){var e,a,l,t,m,k,f,g,b,j,y,w,N,C,S,T,K,A,M,I,B,P,R,F;let{config:U,reload:E,error:_}=(0,c.UK)(),[q,O]=(0,i.useState)([]),[V,D]=(0,i.useState)(!1),[W,$]=(0,i.useState)(!1),[z,G]=(0,i.useState)(null),[L,H]=(0,i.useState)(""),[J,Q]=(0,i.useState)({}),[X,Y]=(0,i.useState)({}),[Z,ee]=(0,i.useState)({}),[ea,el]=(0,i.useState)({}),[en,et]=(0,i.useState)({}),[es,ei]=(0,i.useState)(!1),[eo,er]=(0,i.useState)(null),[ed,ec]=(0,i.useState)(!1),[eu,em]=(0,i.useState)(null),ep=async()=>{ei(!0),er(null);try{er(await d.F.validate())}catch(e){er({status:"unknown",message:(null==e?void 0:e.message)||"request failed"})}finally{ei(!1)}};(0,i.useEffect)(()=>{U&&(Q({provider:U.provider,model:U.model,conductorModel:U.conductorModel,maxWorkers:U.maxWorkers,maxTasks:U.maxTasks,maxStepsPerTask:U.maxStepsPerTask,maxTokensPerRun:U.maxTokensPerRun,verification:U.verification,thinking:U.thinking,reasoningEffort:U.reasoningEffort,safeMode:U.safeMode,searchBackend:U.searchBackend,crawlBackend:U.crawlBackend,deepcrawlBaseUrl:U.deepcrawlBaseUrl,sandboxRuntime:U.sandboxRuntime,sandboxImage:U.sandboxImage,e2bTemplate:U.e2bTemplate,vercelTeamId:U.vercelTeamId,vercelProjectId:U.vercelProjectId}),ee(Object.fromEntries(U.providers.map(e=>[e.id,e.baseUrl]))))},[U]),(0,i.useEffect)(()=>{d.F.models().then(e=>O(e.models)).catch(()=>{})},[null==U?void 0:U.apiKeySet,null==U?void 0:U.provider]);let eh=(0,i.useMemo)(()=>{var e;return null!=(e=null==U?void 0:U.providers.find(e=>e.id===J.provider))?e:null==U?void 0:U.providers.find(e=>e.id===U.provider)},[U,J.provider]),ex=async()=>{for(let e of u){let a=J[e.key];if(""===a||null===a||!Number.isFinite(Number(a)))return void G("".concat(e.label," must be a number"))}$(!0),G(null);try{var e,a,l,n;let t={...J};for(let a of(L.trim()&&(t.tinyfishApiKey=L.trim()),["e2bApiKey","modalTokenId","modalTokenSecret","vercelToken"]))(null==(e=ea[a])?void 0:e.trim())&&(t[a]=ea[a].trim());for(let e of["firecrawlApiKey","contextdevApiKey","deepcrawlApiKey"])(null==(a=en[e])?void 0:a.trim())&&(t[e]=en[e].trim());let s={};for(let e of null!=(l=null==U?void 0:U.providers)?l:[]){let a={};(null==(n=X[e.id])?void 0:n.trim())&&(a.apiKey=X[e.id].trim()),void 0!==Z[e.id]&&Z[e.id]!==e.baseUrl&&(a.baseUrl=Z[e.id]),Object.keys(a).length&&(s[e.id]=a)}Object.keys(s).length&&(t.providers=s),await d.F.setConfig(t),Y({}),el({}),et({}),H(""),await E(),d.F.models().then(e=>O(e.models)).catch(()=>{}),D(!0),setTimeout(()=>D(!1),1800)}catch(e){G((null==e?void 0:e.message)||"save failed")}finally{$(!1)}};if(!U)return(0,n.jsxs)("div",{className:"min-h-screen",children:[(0,n.jsx)(o.V,{}),(0,n.jsx)("div",{className:"max-w-2xl mx-auto p-16 flex justify-center text-ink-faint",children:_?(0,n.jsxs)("span",{className:"text-ink",children:["Hub unreachable: ",_]}):(0,n.jsx)(r.y$,{})})]});let ev=q.length?q:null!=(e=null==eh?void 0:eh.knownModels)?e:U.knownModels,ek=e=>{var a;let l=null==(a=U.pricing)?void 0:a[e];return l?"$".concat(l.inMiss,"/M in \xb7 $").concat(l.out,"/M out"):void 0};return(0,n.jsxs)("div",{className:"min-h-screen",children:[(0,n.jsx)(o.V,{}),(0,n.jsxs)("main",{className:"max-w-2xl mx-auto px-5 sm:px-8 py-8 pb-24",children:[(0,n.jsxs)("div",{className:"flex items-baseline gap-3 mb-6",children:[(0,n.jsx)("h1",{className:"text-xl font-display",children:"Settings"}),(0,n.jsx)(s(),{href:"/",className:"text-xs text-ink-faint hover:text-ink-dim transition-colors",children:"← back to missions"})]}),(0,n.jsxs)(p,{title:"Model provider",sub:"Keys are stored locally in ~/.agentswarm/config.json (chmod 600) and only ever sent to the provider's API.",children:[(0,n.jsx)(h,{label:"Provider",children:(0,n.jsx)("select",{className:"input",value:null!=(a=J.provider)?a:U.provider,onChange:e=>Q({...J,provider:e.target.value}),children:U.providers.map(e=>(0,n.jsxs)("option",{value:e.id,children:[e.label,e.keySet?" \xb7 key saved":e.keyRequired?"":" \xb7 no key needed"]},e.id))})}),eh&&(0,n.jsxs)(n.Fragment,{children:[eh.note&&(0,n.jsx)("p",{className:"text-xs leading-relaxed text-ink-faint",children:eh.note}),eh.keyRequired?(0,n.jsxs)(h,{label:"".concat(eh.label," API key"),hint:eh.keySet?"current: ".concat(eh.keyMasked):"required",children:[(0,n.jsx)("input",{className:"input mono",type:"password",placeholder:eh.keySet?"•••••• (leave blank to keep)":"paste your key",value:null!=(l=X[eh.id])?l:"",onChange:e=>Y({...X,[eh.id]:e.target.value}),autoComplete:"off"}),eh.keyUrl&&(0,n.jsxs)("p",{className:"text-2xs mt-1.5 text-ink-faint",children:["Get one at"," ",(0,n.jsx)("a",{href:eh.keyUrl,target:"_blank",rel:"noreferrer",className:"text-ink underline underline-offset-2",children:eh.keyUrl.replace(/^https?:\/\//,"")})]})]}):(0,n.jsx)("p",{className:"text-xs text-ink-faint",children:"Local server — no API key needed."}),(0,n.jsx)(h,{label:"Base URL",hint:"default: ".concat(eh.defaultBaseUrl),children:(0,n.jsx)("input",{className:"input mono",value:null!=(t=Z[eh.id])?t:eh.baseUrl,onChange:e=>ee({...Z,[eh.id]:e.target.value})})})]}),(0,n.jsxs)("div",{className:"flex items-center gap-3 pt-1 flex-wrap",children:[(0,n.jsxs)("button",{className:"btn",onClick:ep,disabled:es,children:[es&&(0,n.jsx)(r.y$,{size:13})," Test connection"]}),eo?(0,n.jsx)("span",{className:"text-xs mono ".concat("ok"===eo.status?"text-ink":"text-ink-dim"),children:"ok"===eo.status?"✓ Connection works":"invalid"===eo.status?"✕ ".concat(eo.message||"key rejected"):"— ".concat(eo.message||"could not verify")}):(0,n.jsx)("span",{className:"text-2xs text-ink-faint",children:"tests the saved provider — save first"})]})]}),(0,n.jsxs)(p,{title:"Models",children:[(0,n.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:[(0,n.jsx)(h,{label:"Worker model",hint:"does the tasks",sub:ek(J.model),children:(0,n.jsx)(x,{value:null!=(m=J.model)?m:"",options:ev,onChange:e=>Q({...J,model:e}),listId:"worker-models"})}),(0,n.jsx)(h,{label:"Conductor model",hint:"plans & synthesizes",sub:ek(J.conductorModel),children:(0,n.jsx)(x,{value:null!=(k=J.conductorModel)?k:"",options:ev,onChange:e=>Q({...J,conductorModel:e}),listId:"conductor-models"})})]}),(0,n.jsxs)("div",{className:"grid grid-cols-2 gap-3 mt-3",children:[(0,n.jsx)(h,{label:"Reasoning effort",hint:"how hard models think",children:(0,n.jsxs)("select",{className:"input",value:J.reasoningEffort,onChange:e=>Q({...J,reasoningEffort:e.target.value}),children:[(0,n.jsx)("option",{value:"low",children:"low — fastest"}),(0,n.jsx)("option",{value:"medium",children:"medium"}),(0,n.jsx)("option",{value:"high",children:"high — recommended"}),(0,n.jsx)("option",{value:"max",children:"max — slowest, most careful"})]})}),(0,n.jsx)(h,{label:"Thinking mode",hint:"chain-of-thought",children:(0,n.jsx)(v,{on:!!J.thinking,onChange:e=>Q({...J,thinking:e}),label:J.thinking?"enabled":"disabled"})})]}),(0,n.jsx)("p",{className:"text-2xs leading-relaxed text-ink-faint",children:"Effort maps to what each provider supports; providers without an effort knob simply ignore it."})]}),(0,n.jsxs)(p,{title:"Web search",sub:"Built-in multi-engine search: DuckDuckGo and Bing are scraped in parallel, results are quality-ranked and deduped, and deep mode fetches top pages for quotable passages. A TinyFish key adds a third engine to the mix.",children:[(0,n.jsx)(h,{label:"Search engines",children:(0,n.jsxs)("select",{className:"input",value:null!=(f=J.searchBackend)?f:"auto",onChange:e=>Q({...J,searchBackend:e.target.value}),children:[(0,n.jsx)("option",{value:"auto",children:"Auto — all engines, merged"}),(0,n.jsx)("option",{value:"tinyfish",children:"TinyFish only"}),(0,n.jsx)("option",{value:"ddg",children:"Free engines only (DuckDuckGo + Bing)"})]})}),(0,n.jsxs)(h,{label:"TinyFish API key",hint:U.tinyfishKeySet?"current: ".concat(U.tinyfishKeyMasked):"optional — extra hosted engine & fetch",children:[(0,n.jsx)("input",{className:"input mono",type:"password",placeholder:U.tinyfishKeySet?"•••••• (leave blank to keep)":"optional",value:L,onChange:e=>H(e.target.value),autoComplete:"off"}),(0,n.jsxs)("p",{className:"text-2xs mt-1.5 text-ink-faint",children:["TinyFish: ",(0,n.jsx)("a",{href:"https://docs.tinyfish.ai",target:"_blank",rel:"noreferrer",className:"text-ink underline underline-offset-2",children:"tinyfish.ai"})]})]})]}),(0,n.jsxs)(p,{title:"Crawl integrations",sub:"Gives agents a crawl_site tool that ingests whole sites as markdown files, and upgrades fetch_url with JS rendering and clean markdown. Auto uses the first configured service (Firecrawl → context.dev → deepcrawl).",children:[(0,n.jsx)(h,{label:"Crawl backend",hint:(null!=(g=J.crawlBackend)?g:"auto")==="auto"?"currently resolves to: ".concat(null!=(b=U.crawlResolved)?b:"none configured"):void 0,children:(0,n.jsxs)("select",{className:"input",value:null!=(j=J.crawlBackend)?j:"auto",onChange:e=>Q({...J,crawlBackend:e.target.value}),children:[(0,n.jsx)("option",{value:"auto",children:"Auto — first configured"}),(0,n.jsxs)("option",{value:"firecrawl",children:["Firecrawl",U.firecrawlKeySet?" \xb7 key saved":""]}),(0,n.jsxs)("option",{value:"contextdev",children:["context.dev",U.contextdevKeySet?" \xb7 key saved":""]}),(0,n.jsxs)("option",{value:"deepcrawl",children:["deepcrawl (custom)",U.deepcrawlKeySet?" \xb7 key saved":""]}),(0,n.jsx)("option",{value:"off",children:"Off — disable crawl_site"})]})}),(0,n.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:[(0,n.jsx)(h,{label:"Firecrawl API key",hint:U.firecrawlKeySet?"current: ".concat(U.firecrawlKeyMasked):"firecrawl.dev",children:(0,n.jsx)("input",{className:"input mono",type:"password",autoComplete:"off",placeholder:U.firecrawlKeySet?"•••••• (leave blank to keep)":"fc-...",value:null!=(y=en.firecrawlApiKey)?y:"",onChange:e=>et({...en,firecrawlApiKey:e.target.value})})}),(0,n.jsx)(h,{label:"context.dev API key",hint:U.contextdevKeySet?"current: ".concat(U.contextdevKeyMasked):"context.dev",children:(0,n.jsx)("input",{className:"input mono",type:"password",autoComplete:"off",placeholder:U.contextdevKeySet?"•••••• (leave blank to keep)":"api key",value:null!=(w=en.contextdevApiKey)?w:"",onChange:e=>et({...en,contextdevApiKey:e.target.value})})}),(0,n.jsx)(h,{label:"deepcrawl API key",hint:U.deepcrawlKeySet?"current: ".concat(U.deepcrawlKeyMasked):"custom crawler",children:(0,n.jsx)("input",{className:"input mono",type:"password",autoComplete:"off",placeholder:U.deepcrawlKeySet?"•••••• (leave blank to keep)":"api key",value:null!=(N=en.deepcrawlApiKey)?N:"",onChange:e=>et({...en,deepcrawlApiKey:e.target.value})})}),(0,n.jsx)(h,{label:"deepcrawl base URL",hint:"custom crawler endpoint (POST /crawl)",children:(0,n.jsx)("input",{className:"input mono",placeholder:"https://crawler.example.com",value:null!=(C=J.deepcrawlBaseUrl)?C:"",onChange:e=>Q({...J,deepcrawlBaseUrl:e.target.value})})})]})]}),(0,n.jsxs)(p,{title:"Sandbox",sub:"Where agents execute shell commands for isolated runs. The default is a private per-run workspace on this machine, with nothing to install. Pick a container or cloud runtime for stronger isolation, or Auto to use the strongest one you've configured (E2B → Modal → Vercel → Docker → host).",children:[(0,n.jsx)(h,{label:"Runtime",hint:(null!=(S=J.sandboxRuntime)?S:"host")==="auto"?"currently resolves to: ".concat(U.sandboxResolved):void 0,children:(0,n.jsxs)("select",{className:"input",value:null!=(T=J.sandboxRuntime)?T:"host",onChange:e=>Q({...J,sandboxRuntime:e.target.value}),children:[(0,n.jsx)("option",{value:"host",children:"This machine — isolated workspace (default)"}),(0,n.jsxs)("option",{value:"docker",children:["Local container (Docker)",U.dockerUp?" \xb7 daemon up":" \xb7 daemon not running"]}),(0,n.jsxs)("option",{value:"e2b",children:["E2B cloud",U.e2bKeySet?" \xb7 key saved":""]}),(0,n.jsxs)("option",{value:"modal",children:["Modal cloud",U.modalConfigured?" \xb7 configured":""]}),(0,n.jsxs)("option",{value:"vercel",children:["Vercel sandbox",U.vercelConfigured?" \xb7 configured":""]}),(0,n.jsx)("option",{value:"auto",children:"Auto — strongest available"})]})}),(0,n.jsx)(h,{label:"Container image",hint:"docker & modal runtimes",children:(0,n.jsx)("input",{className:"input mono",value:null!=(K=J.sandboxImage)?K:"",onChange:e=>Q({...J,sandboxImage:e.target.value}),placeholder:"node:22-bookworm"})}),(0,n.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:[(0,n.jsx)(h,{label:"E2B API key",hint:U.e2bKeySet?"current: ".concat(U.e2bKeyMasked):"e2b.dev",children:(0,n.jsx)("input",{className:"input mono",type:"password",autoComplete:"off",placeholder:U.e2bKeySet?"•••••• (leave blank to keep)":"e2b_...",value:null!=(A=ea.e2bApiKey)?A:"",onChange:e=>el({...ea,e2bApiKey:e.target.value})})}),(0,n.jsx)(h,{label:"E2B template",hint:"sandbox template id",children:(0,n.jsx)("input",{className:"input mono",value:null!=(M=J.e2bTemplate)?M:"",onChange:e=>Q({...J,e2bTemplate:e.target.value}),placeholder:"base"})}),(0,n.jsx)(h,{label:"Modal token id",hint:U.modalConfigured?"configured":"modal.com",children:(0,n.jsx)("input",{className:"input mono",type:"password",autoComplete:"off",placeholder:U.modalConfigured?"•••••• (leave blank to keep)":"ak-...",value:null!=(I=ea.modalTokenId)?I:"",onChange:e=>el({...ea,modalTokenId:e.target.value})})}),(0,n.jsx)(h,{label:"Modal token secret",children:(0,n.jsx)("input",{className:"input mono",type:"password",autoComplete:"off",placeholder:U.modalConfigured?"•••••• (leave blank to keep)":"as-...",value:null!=(B=ea.modalTokenSecret)?B:"",onChange:e=>el({...ea,modalTokenSecret:e.target.value})})}),(0,n.jsx)(h,{label:"Vercel token",hint:U.vercelConfigured?"configured":"vercel.com",children:(0,n.jsx)("input",{className:"input mono",type:"password",autoComplete:"off",placeholder:U.vercelConfigured?"•••••• (leave blank to keep)":"access token",value:null!=(P=ea.vercelToken)?P:"",onChange:e=>el({...ea,vercelToken:e.target.value})})}),(0,n.jsx)(h,{label:"Vercel team / project",children:(0,n.jsxs)("div",{className:"flex gap-2",children:[(0,n.jsx)("input",{className:"input mono",placeholder:"team id",value:null!=(R=J.vercelTeamId)?R:"",onChange:e=>Q({...J,vercelTeamId:e.target.value})}),(0,n.jsx)("input",{className:"input mono",placeholder:"project id",value:null!=(F=J.vercelProjectId)?F:"",onChange:e=>Q({...J,vercelProjectId:e.target.value})})]})})]}),(0,n.jsxs)("div",{className:"flex items-center gap-3 pt-1 flex-wrap",children:[(0,n.jsxs)("button",{className:"btn",disabled:ed,onClick:async()=>{ec(!0),em(null);try{em(await d.F.sandboxTest("auto"===J.sandboxRuntime?void 0:J.sandboxRuntime))}catch(a){var e;em({kind:null!=(e=J.sandboxRuntime)?e:"auto",ok:!1,detail:(null==a?void 0:a.message)||"request failed"})}finally{ec(!1)}},children:[ed&&(0,n.jsx)(r.y$,{size:13})," Test sandbox"]}),eu?(0,n.jsx)("span",{className:"text-xs mono ".concat(eu.ok?"text-ink":"text-ink-dim"),children:eu.ok?"✓ ".concat(eu.kind," works"):"✕ ".concat(eu.kind,": ").concat(eu.detail)}):(0,n.jsx)("span",{className:"text-2xs text-ink-faint",children:"boots the saved runtime, runs a command, tears down — save first"})]})]}),(0,n.jsxs)(p,{title:"Swarm defaults",sub:"Starting values for new runs — every launch can override them.",children:[(0,n.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-3",children:u.map(e=>{var a;return(0,n.jsx)(h,{label:e.label,children:(0,n.jsx)("input",{type:"number",className:"input",min:e.min,max:e.max,value:null!=(a=J[e.key])?a:"",onChange:a=>Q({...J,[e.key]:""===a.target.value?"":+a.target.value})})},e.key)})}),(0,n.jsxs)("div",{className:"grid grid-cols-2 gap-3 mt-3",children:[(0,n.jsx)(h,{label:"Verification",hint:"verifier agents re-check work",children:(0,n.jsxs)("select",{className:"input",value:J.verification,onChange:e=>Q({...J,verification:e.target.value}),children:[(0,n.jsx)("option",{value:"off",children:"off"}),(0,n.jsx)("option",{value:"normal",children:"normal"}),(0,n.jsx)("option",{value:"strict",children:"strict"})]})}),(0,n.jsx)(h,{label:"Safe mode",hint:"block risky shell/paths",children:(0,n.jsx)(v,{on:!!J.safeMode,onChange:e=>Q({...J,safeMode:e}),label:J.safeMode?"on":"off"})})]})]}),(0,n.jsxs)("div",{className:"sticky bottom-0 -mx-5 sm:-mx-8 px-5 sm:px-8 py-4 flex items-center justify-between gap-3",style:{background:"linear-gradient(transparent, color-mix(in oklab, var(--color-bg) 90%, transparent) 30%)",backdropFilter:"blur(8px)"},children:[(0,n.jsx)("span",{className:"text-xs min-w-0 truncate ".concat(z?"text-ink":"text-ink-faint"),children:z||"Changes apply to new runs."}),(0,n.jsx)("button",{className:"btn btn-primary shrink-0",onClick:ex,disabled:W,children:W?(0,n.jsx)(r.y$,{size:13,dark:!0}):V?"Saved ✓":"Save settings"})]})]})]})}function p(e){let{title:a,sub:l,children:t}=e;return(0,n.jsxs)("div",{className:"panel p-5 mb-4",children:[(0,n.jsx)("h2",{className:"font-semibold text-base",children:a}),l?(0,n.jsx)("p",{className:"text-xs mt-0.5 mb-4 leading-relaxed text-ink-faint",children:l}):(0,n.jsx)("div",{className:"mb-4"}),(0,n.jsx)("div",{className:"space-y-3",children:t})]})}function h(e){let{label:a,hint:l,sub:t,children:s}=e;return(0,n.jsxs)("label",{className:"block",children:[(0,n.jsxs)("div",{className:"flex items-baseline justify-between mb-1.5 gap-2",children:[(0,n.jsx)("span",{className:"text-xs font-medium text-ink-dim",children:a}),l&&(0,n.jsx)("span",{className:"text-2xs truncate text-ink-faint",children:l})]}),s,t&&(0,n.jsx)("p",{className:"text-2xs mono mt-1.5 text-ink-faint",children:t})]})}function x(e){let{value:a,options:l,onChange:t,listId:s}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("input",{className:"input mono",value:a,list:s,onChange:e=>t(e.target.value),placeholder:"model id"}),(0,n.jsx)("datalist",{id:s,children:l.map(e=>(0,n.jsx)("option",{value:e},e))})]})}function v(e){let{on:a,onChange:l,label:t}=e;return(0,n.jsxs)("button",{type:"button",onClick:()=>l(!a),className:"input flex items-center justify-between",style:{cursor:"pointer"},children:[(0,n.jsx)("span",{className:a?"text-ink":"text-ink-faint",children:t}),(0,n.jsx)("span",{className:"relative rounded-full transition-colors shrink-0",style:{width:38,height:22,background:a?"#f2f2f2":"#2a2a2a"},children:(0,n.jsx)("span",{className:"absolute rounded-full transition-all",style:{width:16,height:16,top:3,left:a?19:3,background:a?"var(--color-bg)":"var(--color-ink-faint)"}})})]})}}},e=>{e.O(0,[532,677,441,255,358],()=>e(e.s=1676)),_N_E=e.O()}]);
@@ -0,0 +1,3 @@
1
+ @font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(/_next/static/media/438aa629764e75f3-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(/_next/static/media/875ae681bfde4580-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(/_next/static/media/51251f8b9793cdb3-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(/_next/static/media/e857b654a2caa584-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(/_next/static/media/cc978ac5ee68c2b6-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(/_next/static/media/4c9affa5bc8f420e-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Manrope Fallback;src:local("Arial");ascent-override:103.31%;descent-override:29.07%;line-gap-override:0.00%;size-adjust:103.19%}.__className_73ee6c{font-family:Manrope,Manrope Fallback;font-style:normal}.__variable_73ee6c{--font-manrope:"Manrope","Manrope Fallback"}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/886030b0b59bc5a7-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/0aa834ed78bf6d07-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/67957d42bae0796d-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/f911b923c6adde36-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/939c4f875ee75fbb-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/bb3ef058b751a6ad-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:JetBrains Mono Fallback;src:local("Arial");ascent-override:75.79%;descent-override:22.29%;line-gap-override:0.00%;size-adjust:134.59%}.__className_3c557b{font-family:JetBrains Mono,JetBrains Mono Fallback;font-style:normal}.__variable_3c557b{--font-jbmono:"JetBrains Mono","JetBrains Mono Fallback"}
2
+
3
+ /*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial}}}@layer theme{:host,:root{--font-sans:var(--font-manrope),-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;--font-mono:var(--font-jbmono),"SF Mono","JetBrains Mono",ui-monospace,monospace;--spacing:.25rem;--container-2xl:42rem;--container-3xl:48rem;--container-6xl:72rem;--text-xs:12px;--text-xs--line-height:1.5;--text-sm:13px;--text-sm--line-height:1.5;--text-base:14px;--text-base--line-height:1.55;--text-lg:16px;--text-lg--line-height:1.45;--text-xl:20px;--text-xl--line-height:1.3;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--leading-snug:1.375;--leading-relaxed:1.625;--radius-lg:.5rem;--radius-xl:14px;--animate-spin:spin 1s linear infinite;--animate-ping:ping 1s cubic-bezier(0,0,.2,1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-bg:#050505;--color-bg-soft:#0a0a0a;--color-panel:#0c0c0c;--color-border:#262626;--color-border-soft:#191919;--color-ink:#f2f2f2;--color-ink-dim:#b3b3b3;--color-ink-faint:#8c8c8c;--text-2xs:11px;--text-2xs--line-height:1.45;--animate-pulse-soft:pulse-soft 2s ease-in-out infinite;--animate-shimmer:shimmer 2.2s linear infinite;--animate-rise:rise .4s cubic-bezier(.16,1,.3,1);--animate-fade-in:fade-in .15s ease-out;--animate-slide-in:slide-in .22s cubic-bezier(.16,1,.3,1)}}@layer base{*,::backdrop,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components{.panel{background:linear-gradient(180deg,rgb(var(--hi)/.02),rgb(var(--hi)/0));background-color:var(--color-panel);border:1px solid var(--color-border-soft);border-radius:var(--radius-xl)}.panel-hover{transition:border-color .2s,transform .2s,box-shadow .2s}.panel-hover:hover{border-color:rgb(var(--hi)/.22);box-shadow:0 12px 40px -24px rgb(var(--hi)/.25)}.tile{background:rgb(var(--hi)/.02);border:1px solid var(--color-border-soft);border-radius:10px}.tile-hover{transition:border-color .16s,background .16s}.tile-hover:hover{border-color:rgb(var(--hi)/.3)}.spine{position:relative}.spine:before{content:"";background:var(--color-border);width:1px;position:absolute;top:10px;bottom:10px;left:10px}.spine-item{padding-left:34px;position:relative}.spine-node{background:var(--color-bg);width:21px;height:21px;font-family:var(--font-mono);color:var(--color-ink-dim);border-radius:999px;place-items:center;font-size:12px;display:grid;position:absolute;top:0;left:0}@media (max-width:640px){.spine:before{left:7px}.spine-item{padding-left:24px}.spine-node{width:15px;height:15px;font-size:10px}}.collapse-v{grid-template-rows:0fr;transition:grid-template-rows .28s;display:grid}.collapse-v[data-open=true]{grid-template-rows:1fr}.collapse-v>*{min-height:0;overflow:hidden}.font-display{font-family:"Planet Kosmos",var(--font-sans);letter-spacing:.04em;font-weight:400}.label{text-transform:uppercase;letter-spacing:.16em;color:var(--color-ink-faint);font-size:10px}.chip,.label{font-family:var(--font-mono);font-weight:500}.chip{letter-spacing:.02em;border:1px solid var(--color-border);color:var(--color-ink-dim);white-space:nowrap;border-radius:999px;align-items:center;gap:5px;padding:3px 9px;font-size:11px;display:inline-flex}a.chip,button.chip{cursor:pointer;transition:border-color .15s,color .15s}a.chip:hover,button.chip:hover{border-color:rgb(var(--hi)/.35);color:var(--color-ink)}.chip-solid{background:var(--color-ink);border-color:var(--color-ink);color:var(--color-bg);font-weight:700}.tab{font-size:var(--text-sm);color:var(--color-ink-faint);align-items:center;gap:7px;padding:9px 2px 11px;font-weight:500;transition:color .15s;display:inline-flex;position:relative}.tab:hover{color:var(--color-ink-dim)}.tab[data-active=true]{color:var(--color-ink)}.tab[data-active=true]:after{content:"";background:var(--color-ink);border-radius:2px;height:2px;position:absolute;bottom:-1px;left:0;right:0}.mono{font-family:var(--font-mono);font-variant-numeric:tabular-nums}.btn{font-size:var(--text-sm);border:1px solid var(--color-border);color:var(--color-ink);background:rgb(var(--hi)/.02);cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:8px 15px;font-weight:600;transition:border-color .16s,background .16s,color .16s,filter .16s,transform 60ms;display:inline-flex}.btn:hover{border-color:rgb(var(--hi)/.35)}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.35;cursor:not-allowed;transform:none}.btn-primary{background:var(--color-ink);color:var(--color-bg);box-shadow:0 8px 28px -14px rgb(var(--hi)/.5);border-color:#0000}.btn-primary:hover{background:var(--ink-hi);border-color:#0000}.btn-ghost{color:var(--color-ink-dim);background:0 0;border-color:#0000}.btn-ghost:hover{background:rgb(var(--hi)/.05);color:var(--color-ink);border-color:#0000}.btn-danger:hover{border-color:rgb(var(--hi)/.6);color:var(--ink-hi);background:rgb(var(--hi)/.06)}.btn-sm{font-size:var(--text-xs);border-radius:7px;padding:5px 10px}.input{background:var(--input-bg);border:1px solid var(--color-border);width:100%;color:var(--color-ink);font-size:var(--text-base);border-radius:9px;outline:none;padding:10px 13px;font-family:inherit;transition:border-color .16s,box-shadow .16s,background .16s}.input:hover{border-color:#f2f2f247}@supports (color:color-mix(in lab,red,red)){.input:hover{border-color:color-mix(in srgb,var(--color-ink) 28%,transparent)}}.input:focus{border-color:rgb(var(--hi)/.45);box-shadow:0 0 0 3px rgb(var(--hi)/.07);background:var(--input-bg-focus)}.input::placeholder{color:var(--color-ink-faint)}.skeleton{background:linear-gradient(90deg,rgb(var(--hi)/.03),rgb(var(--hi)/.07),rgb(var(--hi)/.03));animation:var(--animate-shimmer);background-size:480px 100%}.glyph{font-family:var(--font-mono);color:var(--color-ink-dim);background:rgb(var(--hi)/.03);border:1px solid var(--color-border-soft);border-radius:8px;place-items:center;display:inline-grid}}@layer utilities{.collapse{visibility:collapse}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.top-0{top:calc(var(--spacing) * 0)}.bottom-0{bottom:calc(var(--spacing) * 0)}.bottom-3{bottom:calc(var(--spacing) * 3)}.left-1\/2{left:50%}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.mx-auto{margin-inline:auto}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-2\.5{margin-top:calc(var(--spacing) * 2.5)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-8{margin-top:calc(var(--spacing) * 8)}.mt-12{margin-top:calc(var(--spacing) * 12)}.mr-1{margin-right:calc(var(--spacing) * 1)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mb-0\.5{margin-bottom:calc(var(--spacing) * .5)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-1\.5{margin-bottom:calc(var(--spacing) * 1.5)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-2\.5{margin-bottom:calc(var(--spacing) * 2.5)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.mb-8{margin-bottom:calc(var(--spacing) * 8)}.ml-2{margin-left:calc(var(--spacing) * 2)}.ml-auto{margin-left:auto}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.h-14{height:calc(var(--spacing) * 14)}.h-40{height:calc(var(--spacing) * 40)}.h-\[480px\]{height:480px}.h-full{height:100%}.h-px{height:1px}.max-h-52{max-height:calc(var(--spacing) * 52)}.min-h-screen{min-height:100vh}.w-4{width:calc(var(--spacing) * 4)}.w-7{width:calc(var(--spacing) * 7)}.w-9{width:calc(var(--spacing) * 9)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-\[36px\]{width:36px}.w-\[52px\]{width:52px}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-\[340px\]{max-width:340px}.max-w-\[1400px\]{max-width:1400px}.min-w-0{min-width:calc(var(--spacing) * 0)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-ping{animation:var(--animate-ping)}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-3\.5{gap:calc(var(--spacing) * 3.5)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}:where(.space-y-0\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * .5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * .5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2.5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-y-1{row-gap:calc(var(--spacing) * 1)}.gap-y-1\.5{row-gap:calc(var(--spacing) * 1.5)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-border-soft>:not(:last-child)){border-color:var(--color-border-soft)}.truncate{text-overflow:ellipsis;white-space:nowrap}.overflow-hidden,.truncate{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded-full{border-radius:3.40282e+38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-border-soft{border-color:var(--color-border-soft)}.bg-border-soft{background-color:var(--color-border-soft)}.bg-ink{background-color:var(--color-ink)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-3\.5{padding:calc(var(--spacing) * 3.5)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-10{padding:calc(var(--spacing) * 10)}.p-16{padding:calc(var(--spacing) * 16)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-3\.5{padding-inline:calc(var(--spacing) * 3.5)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-8{padding-block:calc(var(--spacing) * 8)}.py-14{padding-block:calc(var(--spacing) * 14)}.pt-1{padding-top:calc(var(--spacing) * 1)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-8{padding-bottom:calc(var(--spacing) * 8)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-24{padding-bottom:calc(var(--spacing) * 24)}.pl-2{padding-left:calc(var(--spacing) * 2)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-2xs{font-size:var(--text-2xs);line-height:var(--tw-leading,var(--text-2xs--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-ink{color:var(--color-ink)}.text-ink-dim{color:var(--color-ink-dim)}.text-ink-faint{color:var(--color-ink-faint)}.uppercase{text-transform:uppercase}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.opacity-50{opacity:.5}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-500{--tw-duration:.5s;transition-duration:.5s}.select-none{-webkit-user-select:none;user-select:none}@media (hover:hover){.hover\:bg-\[rgb\(var\(--hi\)\/0\.04\)\]:hover{background-color:rgb(var(--hi)/.04)}.hover\:text-ink:hover{color:var(--color-ink)}.hover\:text-ink-dim:hover{color:var(--color-ink-dim)}}@media (min-width:40rem){.sm\:-mx-8{margin-inline:calc(var(--spacing) * -8)}.sm\:inline{display:inline}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:p-6{padding:calc(var(--spacing) * 6)}.sm\:p-8{padding:calc(var(--spacing) * 8)}.sm\:px-6{padding-inline:calc(var(--spacing) * 6)}.sm\:px-7{padding-inline:calc(var(--spacing) * 7)}.sm\:px-8{padding-inline:calc(var(--spacing) * 8)}}@media (min-width:48rem){.md\:flex{display:flex}.md\:inline{display:inline}}@media (min-width:64rem){.lg\:sticky{position:sticky}.lg\:top-\[72px\]{top:72px}.lg\:h-\[calc\(100vh-88px\)\]{height:calc(100vh - 88px)}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-\[minmax\(0\,1fr\)_380px\]{grid-template-columns:minmax(0,1fr) 380px}}}@font-face{font-family:Planet Kosmos;src:url(/fonts/PlanetKosmos.ttf)format("truetype");font-weight:400;font-style:normal;font-display:swap}@keyframes pulse-soft{0%,to{opacity:1}50%{opacity:.45}}@keyframes shimmer{0%{background-position:-480px 0}to{background-position:480px 0}}@keyframes rise{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes slide-in{0%{opacity:0;transform:translate(40px)}to{opacity:1;transform:translate(0)}}:root{--hi:255 255 255;--ink-hi:#fff;--input-bg:#00000059;--input-bg-focus:#00000080;--status-warm:#e0e0e0;--status-cool:#c9c9c9;--logo-filter:none;color-scheme:dark}:root[data-theme=light]{--color-bg:#f7f7f5;--color-bg-soft:#efefed;--color-panel:#fff;--color-border:#d6d6d3;--color-border-soft:#e6e6e3;--color-ink:#161616;--color-ink-dim:#4d4d4d;--color-ink-faint:#6f6f6f;--hi:0 0 0;--ink-hi:#000;--input-bg:#0000000a;--input-bg-focus:#00000005;--status-warm:#333;--status-cool:#555;--logo-filter:invert(1);color-scheme:light}@media (prefers-color-scheme:light){:root:not([data-theme]){--color-bg:#f7f7f5;--color-bg-soft:#efefed;--color-panel:#fff;--color-border:#d6d6d3;--color-border-soft:#e6e6e3;--color-ink:#161616;--color-ink-dim:#4d4d4d;--color-ink-faint:#6f6f6f;--hi:0 0 0;--ink-hi:#000;--input-bg:#0000000a;--input-bg-focus:#00000005;--status-warm:#333;--status-cool:#555;--logo-filter:invert(1);color-scheme:light}}*{box-sizing:border-box}body,html{background:var(--color-bg);color:var(--color-ink);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0;padding:0}body{background:radial-gradient(900px 460px at 50% -14%,rgb(var(--hi)/.05),transparent 60%),var(--color-bg);min-height:100vh}::selection{background:rgb(var(--hi)/.25)}:focus-visible{outline:2px solid rgb(var(--hi)/.55);outline-offset:2px;border-radius:6px}.input:focus-visible{outline:none}@media (prefers-reduced-motion:reduce){*,:after,:before{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:rgb(var(--hi)/.13);background-clip:padding-box;border:2px solid #0000;border-radius:8px}::-webkit-scrollbar-thumb:hover{background:rgb(var(--hi)/.24);background-clip:padding-box}.prose-report{color:var(--color-ink);line-height:1.7;font-size:var(--text-base)}.prose-report>:first-child{margin-top:0}.prose-report>:last-child{margin-bottom:0}.prose-report h1{letter-spacing:-.015em;border-bottom:1px solid var(--color-border-soft);margin:.2em 0 .7em;padding-bottom:.45em;font-size:1.65em;font-weight:700}.prose-report h2{letter-spacing:-.01em;margin:1.4em 0 .5em;font-size:1.25em;font-weight:700}.prose-report h3{margin:1.1em 0 .4em;font-size:1.05em;font-weight:700}.prose-report p{color:var(--color-ink-dim);margin:.7em 0}.prose-report li{color:var(--color-ink-dim);margin:.3em 0}.prose-report ol,.prose-report ul{margin:.6em 0;padding-left:1.4em}.prose-report li::marker{color:var(--color-ink-faint)}.prose-report code,.prose-report strong{color:var(--color-ink)}.prose-report code{font-family:var(--font-mono);background:rgb(var(--hi)/.07);border-radius:5px;padding:1.5px 6px;font-size:.85em}.prose-report pre{background:var(--input-bg);border:1px solid var(--color-border-soft);border-radius:10px;margin:.9em 0;padding:14px 16px;overflow-x:auto}.prose-report pre code{color:var(--color-ink-dim);background:0 0;padding:0}.prose-report a{color:var(--color-ink);text-underline-offset:3px;text-decoration:underline;-webkit-text-decoration-color:rgb(var(--hi)/.35);text-decoration-color:rgb(var(--hi)/.35)}.prose-report a:hover{-webkit-text-decoration-color:var(--ink-hi);text-decoration-color:var(--ink-hi)}.prose-report table{border-collapse:collapse;width:100%;margin:.9em 0;font-size:.9em;display:block;overflow-x:auto}.prose-report td,.prose-report th{border:1px solid var(--color-border);text-align:left;padding:7px 11px}.prose-report th{background:rgb(var(--hi)/.04);white-space:nowrap;font-family:var(--font-mono);font-size:.9em}.prose-report td{color:var(--color-ink-dim)}.prose-report tr:nth-child(2n) td{background:rgb(var(--hi)/.015)}.prose-report blockquote{border-left:2px solid var(--color-border);color:var(--color-ink-dim);margin:.8em 0;padding-left:14px}.prose-report hr{border:none;border-top:1px solid var(--color-border);margin:1.4em 0}.prose-compact{font-size:var(--text-sm);line-height:1.6}.prose-compact h1{margin:.2em 0 .5em;padding-bottom:.3em;font-size:1.2em}.prose-compact h2{margin:1em 0 .4em;font-size:1.1em}.prose-compact h3{margin:.8em 0 .3em;font-size:1em}.prose-compact p{margin:.5em 0}.prose-compact li{margin:.2em 0}.prose-compact ol,.prose-compact ul{margin:.4em 0;padding-left:1.3em}.prose-compact pre{margin:.6em 0;padding:10px 12px}.clamp-fade{-webkit-mask-image:linear-gradient(#000 55%,#0000);mask-image:linear-gradient(#000 55%,#0000)}.prose-dim{font-size:var(--text-xs)}.prose-dim li,.prose-dim p{color:var(--color-ink-faint)}.prose-dim strong{color:var(--color-ink-dim)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(1turn)}}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}
Binary file
package/ui/out/index.html CHANGED
@@ -1 +1 @@
1
- <!DOCTYPE html><!--Rm5Fhkds2_wIOnVlME55J--><html lang="en" class="__variable_73ee6c __variable_3c557b"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/4c9affa5bc8f420e-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/bb3ef058b751a6ad-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" as="image" href="/swarm-mark.png"/><link rel="stylesheet" href="/_next/static/css/e2c82b53bf4519e8.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-38639c05c96dbeca.js"/><script src="/_next/static/chunks/4bd1b696-c023c6e3521b1417.js" async=""></script><script src="/_next/static/chunks/255-2aa030c9ba2867e3.js" async=""></script><script src="/_next/static/chunks/main-app-889ed884f8bc78e3.js" async=""></script><script src="/_next/static/chunks/619-ba102abea3e3d0e4.js" async=""></script><script src="/_next/static/chunks/677-7ab85a6f38c3a235.js" async=""></script><script src="/_next/static/chunks/app/page-0fda5b8e77d90b84.js" async=""></script><meta name="next-size-adjust" content=""/><meta name="theme-color" content="#050505"/><title>agentswarm</title><meta name="description" content="A local agent swarm for long-horizon, autonomous work."/><link rel="icon" href="/icon.png?bdc9175d46e1d0aa" type="image/png" sizes="256x256"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><script>try{var t=localStorage.getItem("theme");if(t==="light"||t==="dark")document.documentElement.dataset.theme=t}catch(e){}</script><div class="min-h-screen"><header class="sticky top-0 z-40 flex items-center justify-between px-5 sm:px-8 h-14" style="background:color-mix(in oklab, var(--color-bg) 82%, transparent);backdrop-filter:blur(14px)"><span></span><div class="flex items-center gap-3"><button class="btn btn-ghost btn-sm" title="Toggle light / dark" aria-label="Toggle color theme">◐</button><a class="btn btn-ghost btn-sm" href="/settings/">Settings</a></div></header><main class="max-w-6xl mx-auto px-5 sm:px-8 pb-10"><div class="max-w-3xl mx-auto flex flex-col justify-center" style="min-height:calc(100vh - 3.5rem)"><div class="flex flex-col items-center gap-3 mb-8" style="animation:var(--animate-rise)"><img src="/swarm-mark.png" alt="" aria-hidden="true" class="shrink-0 select-none" style="height:64px;width:auto;filter:var(--logo-filter)" draggable="false"/><h1 class="font-bold tracking-tight" style="font-size:26px">agentswarm</h1></div><section class="panel p-5 sm:p-6" style="animation:var(--animate-rise)"><textarea class="input resize-none" rows="3" autofocus="" placeholder="Describe a mission — the swarm decomposes it into parallel tasks and runs them autonomously." style="font-size:15px;line-height:1.6"></textarea><div class="flex flex-wrap items-center gap-1.5 mt-3"><span class="text-2xs text-ink-faint mr-1">Try</span><button title="Research the top 5 open-source vector databases in 2026 and produce a comparison table with a recommendation for a RAG app at 10M vectors." class="chip">Research</button><button title="Build a small CLI tool in Python that converts CSV to a formatted Markdown table, with tests. Save it as an artifact." class="chip">Build</button><button title="Audit this codebase for security issues and dependency risks, then write a prioritized remediation plan." class="chip">Audit</button><button title="Plan and draft a 6-email onboarding sequence for a developer-tools SaaS, with subject lines and send timing." class="chip">Plan</button><button class="chip" title="Run the swarm inside an existing project or folder">+ Folder</button><button class="btn btn-ghost btn-sm ml-auto" aria-expanded="false">Options · standard<span style="font-size:9px;transform:none;transition:transform 0.15s">▼</span></button></div><div class="flex items-center justify-between gap-3 mt-4"><div class="text-2xs"><span class="text-ink-faint">Isolated workspace on this machine<!-- --> · ⌘↵ to launch</span></div><button class="btn btn-primary" disabled=""> Launch swarm</button></div></section></div><section class="mt-12"><div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4"><div class="panel h-40 skeleton opacity-50"></div><div class="panel h-40 skeleton opacity-50"></div><div class="panel h-40 skeleton opacity-50"></div></div></section></main></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-38639c05c96dbeca.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[9766,[],\"\"]\n3:I[8924,[],\"\"]\n4:I[1959,[],\"ClientPageRoot\"]\n5:I[8363,[\"619\",\"static/chunks/619-ba102abea3e3d0e4.js\",\"677\",\"static/chunks/677-7ab85a6f38c3a235.js\",\"974\",\"static/chunks/app/page-0fda5b8e77d90b84.js\"],\"default\"]\n8:I[4431,[],\"OutletBoundary\"]\na:I[5278,[],\"AsyncMetadataOutlet\"]\nc:I[4431,[],\"ViewportBoundary\"]\ne:I[4431,[],\"MetadataBoundary\"]\nf:\"$Sreact.suspense\"\n11:I[7150,[],\"\"]\n:HL[\"/_next/static/media/4c9affa5bc8f420e-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/bb3ef058b751a6ad-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/css/e2c82b53bf4519e8.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"Rm5Fhkds2-wIOnVlME55J\",\"p\":\"\",\"c\":[\"\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/e2c82b53bf4519e8.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"__variable_73ee6c __variable_3c557b\",\"children\":[\"$\",\"body\",null,{\"children\":[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"try{var t=localStorage.getItem(\\\"theme\\\");if(t===\\\"light\\\"||t===\\\"dark\\\")document.documentElement.dataset.theme=t}catch(e){}\"}}],[\"$\",\"$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\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L4\",null,{\"Component\":\"$5\",\"searchParams\":{},\"params\":{},\"promises\":[\"$@6\",\"$@7\"]}],null,[\"$\",\"$L8\",null,{\"children\":[\"$L9\",[\"$\",\"$La\",null,{\"promise\":\"$@b\"}]]}]]}],{},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$Lc\",null,{\"children\":\"$Ld\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]],[\"$\",\"$Le\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$f\",null,{\"fallback\":null,\"children\":\"$L10\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$11\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"6:{}\n7:\"$0:f:0:1:2:children:1:props:children:0:props:params\"\n"])</script><script>self.__next_f.push([1,"d:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#050505\"}]]\n9:null\n"])</script><script>self.__next_f.push([1,"12:I[622,[],\"IconMark\"]\nb:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"agentswarm\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"A local agent swarm for long-horizon, autonomous work.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/icon.png?bdc9175d46e1d0aa\",\"type\":\"image/png\",\"sizes\":\"256x256\"}],[\"$\",\"$L12\",\"3\",{}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"10:\"$b:metadata\"\n"])</script></body></html>
1
+ <!DOCTYPE html><!--errjtBR_bKoee8ogLp8xk--><html lang="en" class="__variable_73ee6c __variable_3c557b"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/4c9affa5bc8f420e-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/bb3ef058b751a6ad-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" as="image" href="/swarm-mark.png"/><link rel="stylesheet" href="/_next/static/css/9f7bd82b8e4c762c.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-38639c05c96dbeca.js"/><script src="/_next/static/chunks/4bd1b696-c023c6e3521b1417.js" async=""></script><script src="/_next/static/chunks/255-2aa030c9ba2867e3.js" async=""></script><script src="/_next/static/chunks/main-app-889ed884f8bc78e3.js" async=""></script><script src="/_next/static/chunks/532-35122e93f37719b9.js" async=""></script><script src="/_next/static/chunks/677-859e8d42add1806b.js" async=""></script><script src="/_next/static/chunks/app/page-dc9f6744d203e76c.js" async=""></script><meta name="next-size-adjust" content=""/><meta name="theme-color" content="#050505"/><title>agentswarm</title><meta name="description" content="A local agent swarm for long-horizon, autonomous work."/><link rel="icon" href="/icon.png?bdc9175d46e1d0aa" type="image/png" sizes="256x256"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><script>try{var t=localStorage.getItem("theme");if(t==="light"||t==="dark")document.documentElement.dataset.theme=t}catch(e){}</script><div class="min-h-screen"><header class="sticky top-0 z-40 flex items-center justify-between px-5 sm:px-8 h-14" style="background:color-mix(in oklab, var(--color-bg) 82%, transparent);backdrop-filter:blur(14px)"><span></span><div class="flex items-center gap-3"><button class="btn btn-ghost btn-sm" title="Toggle light / dark" aria-label="Toggle color theme">◐</button><a class="btn btn-ghost btn-sm" href="/settings/">Settings</a></div></header><main class="max-w-6xl mx-auto px-5 sm:px-8 pb-10"><div class="max-w-3xl mx-auto flex flex-col justify-center" style="min-height:calc(100vh - 3.5rem)"><div class="flex flex-col items-center gap-3 mb-8" style="animation:var(--animate-rise)"><img src="/swarm-mark.png" alt="" aria-hidden="true" class="shrink-0 select-none" style="height:64px;width:auto;filter:var(--logo-filter)" draggable="false"/><h1 class="font-display" style="font-size:26px">agentswarm</h1></div><section class="panel p-5 sm:p-6" style="animation:var(--animate-rise)"><textarea class="input resize-none" rows="3" autofocus="" placeholder="Describe a mission — the swarm decomposes it into parallel tasks and runs them autonomously." style="font-size:15px;line-height:1.6"></textarea><div class="flex flex-wrap items-center gap-1.5 mt-3"><span class="text-2xs text-ink-faint mr-1">Try</span><button title="Research the top 5 open-source vector databases in 2026 and produce a comparison table with a recommendation for a RAG app at 10M vectors." class="chip">Research</button><button title="Build a small CLI tool in Python that converts CSV to a formatted Markdown table, with tests. Save it as an artifact." class="chip">Build</button><button title="Audit this codebase for security issues and dependency risks, then write a prioritized remediation plan." class="chip">Audit</button><button title="Plan and draft a 6-email onboarding sequence for a developer-tools SaaS, with subject lines and send timing." class="chip">Plan</button><button class="chip" title="Run the swarm inside an existing project or folder">+ Folder</button><button class="btn btn-ghost btn-sm ml-auto" aria-expanded="false">Options · standard<span style="font-size:9px;transform:none;transition:transform 0.15s">▼</span></button></div><div class="collapse-v" data-open="false"><div inert=""><div class="mt-4 pt-4 space-y-4 border-t border-border-soft"><div class="flex flex-wrap items-center gap-1.5"><span class="text-2xs text-ink-faint mr-1">Size</span><button class="chip" title="4 agents · 16 tasks · small budget · no verification">Quick</button><button class="chip" title="Your saved defaults from Settings" style="color:var(--color-ink);border-color:rgb(var(--hi) / 0.45);background:rgb(var(--hi) / 0.05)">Standard</button><button class="chip" title="20 agents · 300 tasks · 120M budget · strict verification — hundreds of sources, long-horizon research">Deep research</button></div><div class="grid grid-cols-2 sm:grid-cols-3 gap-3"><label class="block"><div class="flex items-baseline justify-between mb-1 gap-2"><span class="text-2xs font-medium text-ink-dim">Agents in parallel</span><span class="text-2xs truncate text-ink-faint">working at once</span></div><input type="number" class="input" min="1" max="32" value="6"/></label><label class="block"><div class="flex items-baseline justify-between mb-1 gap-2"><span class="text-2xs font-medium text-ink-dim">Task limit</span><span class="text-2xs truncate text-ink-faint">whole run</span></div><input type="number" class="input" min="1" max="1000" value="48"/></label><label class="block"><div class="flex items-baseline justify-between mb-1 gap-2"><span class="text-2xs font-medium text-ink-dim">Steps per task</span><span class="text-2xs truncate text-ink-faint">tool calls per agent</span></div><input type="number" class="input" min="3" max="200" value="30"/></label><label class="block"><div class="flex items-baseline justify-between mb-1 gap-2"><span class="text-2xs font-medium text-ink-dim">Budget · M tokens</span><span class="text-2xs truncate text-ink-faint">12.00M cap</span></div><input type="number" class="input" min="0.5" step="0.5" value="12"/></label><label class="block"><div class="flex items-baseline justify-between mb-1 gap-2"><span class="text-2xs font-medium text-ink-dim">Verification</span><span class="text-2xs truncate text-ink-faint">re-check finished work</span></div><select class="input"><option value="off">off — trust the workers</option><option value="normal" selected="">normal</option><option value="strict">strict — verify everything</option></select></label><label class="block"><div class="flex items-baseline justify-between mb-1 gap-2"><span class="text-2xs font-medium text-ink-dim">Reasoning effort</span><span class="text-2xs truncate text-ink-faint">thinking depth</span></div><select class="input"><option value="low">low</option><option value="medium">medium</option><option value="high" selected="">high</option><option value="max">max</option></select></label><label class="block"><div class="flex items-baseline justify-between mb-1 gap-2"><span class="text-2xs font-medium text-ink-dim">Worker model</span></div><input class="input mono" list="composer-models" placeholder="model id" value="deepseek-v4-flash"/><datalist id="composer-models"></datalist></label><label class="block"><div class="flex items-baseline justify-between mb-1 gap-2"><span class="text-2xs font-medium text-ink-dim">Workspace</span><span class="text-2xs truncate text-ink-faint">isolated, throwaway</span></div><select class="input"><option value="sandbox" selected="">Isolated workspace</option><option value="dir">A directory on disk</option></select></label></div></div></div></div><div class="flex items-center justify-between gap-3 mt-4"><div class="text-2xs"><span class="text-ink-faint">Isolated workspace on this machine<!-- --> · ⌘↵ to launch</span></div><button class="btn btn-primary" disabled=""> Launch swarm</button></div></section></div><section class="mt-12"><div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4"><div class="panel h-40 skeleton opacity-50"></div><div class="panel h-40 skeleton opacity-50"></div><div class="panel h-40 skeleton opacity-50"></div></div></section></main></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-38639c05c96dbeca.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[9766,[],\"\"]\n3:I[8924,[],\"\"]\n4:I[1959,[],\"ClientPageRoot\"]\n5:I[8363,[\"532\",\"static/chunks/532-35122e93f37719b9.js\",\"677\",\"static/chunks/677-859e8d42add1806b.js\",\"974\",\"static/chunks/app/page-dc9f6744d203e76c.js\"],\"default\"]\n8:I[4431,[],\"OutletBoundary\"]\na:I[5278,[],\"AsyncMetadataOutlet\"]\nc:I[4431,[],\"ViewportBoundary\"]\ne:I[4431,[],\"MetadataBoundary\"]\nf:\"$Sreact.suspense\"\n11:I[7150,[],\"\"]\n:HL[\"/_next/static/media/4c9affa5bc8f420e-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/bb3ef058b751a6ad-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/css/9f7bd82b8e4c762c.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"errjtBR_bKoee8ogLp8xk\",\"p\":\"\",\"c\":[\"\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/9f7bd82b8e4c762c.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"__variable_73ee6c __variable_3c557b\",\"children\":[\"$\",\"body\",null,{\"children\":[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"try{var t=localStorage.getItem(\\\"theme\\\");if(t===\\\"light\\\"||t===\\\"dark\\\")document.documentElement.dataset.theme=t}catch(e){}\"}}],[\"$\",\"$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\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L4\",null,{\"Component\":\"$5\",\"searchParams\":{},\"params\":{},\"promises\":[\"$@6\",\"$@7\"]}],null,[\"$\",\"$L8\",null,{\"children\":[\"$L9\",[\"$\",\"$La\",null,{\"promise\":\"$@b\"}]]}]]}],{},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$Lc\",null,{\"children\":\"$Ld\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]],[\"$\",\"$Le\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$f\",null,{\"fallback\":null,\"children\":\"$L10\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$11\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"6:{}\n7:\"$0:f:0:1:2:children:1:props:children:0:props:params\"\n"])</script><script>self.__next_f.push([1,"d:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#050505\"}]]\n9:null\n"])</script><script>self.__next_f.push([1,"12:I[622,[],\"IconMark\"]\nb:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"agentswarm\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"A local agent swarm for long-horizon, autonomous work.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/icon.png?bdc9175d46e1d0aa\",\"type\":\"image/png\",\"sizes\":\"256x256\"}],[\"$\",\"$L12\",\"3\",{}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"10:\"$b:metadata\"\n"])</script></body></html>
package/ui/out/index.txt CHANGED
@@ -2,7 +2,7 @@
2
2
  2:I[9766,[],""]
3
3
  3:I[8924,[],""]
4
4
  4:I[1959,[],"ClientPageRoot"]
5
- 5:I[8363,["619","static/chunks/619-ba102abea3e3d0e4.js","677","static/chunks/677-7ab85a6f38c3a235.js","974","static/chunks/app/page-0fda5b8e77d90b84.js"],"default"]
5
+ 5:I[8363,["532","static/chunks/532-35122e93f37719b9.js","677","static/chunks/677-859e8d42add1806b.js","974","static/chunks/app/page-dc9f6744d203e76c.js"],"default"]
6
6
  8:I[4431,[],"OutletBoundary"]
7
7
  a:I[5278,[],"AsyncMetadataOutlet"]
8
8
  c:I[4431,[],"ViewportBoundary"]
@@ -11,8 +11,8 @@ f:"$Sreact.suspense"
11
11
  11:I[7150,[],""]
12
12
  :HL["/_next/static/media/4c9affa5bc8f420e-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
13
13
  :HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
14
- :HL["/_next/static/css/e2c82b53bf4519e8.css","style"]
15
- 0:{"P":null,"b":"Rm5Fhkds2-wIOnVlME55J","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e2c82b53bf4519e8.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"__variable_73ee6c __variable_3c557b","children":["$","body",null,{"children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"try{var t=localStorage.getItem(\"theme\");if(t===\"light\"||t===\"dark\")document.documentElement.dataset.theme=t}catch(e){}"}}],["$","$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":["__PAGE__",["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","searchParams":{},"params":{},"promises":["$@6","$@7"]}],null,["$","$L8",null,{"children":["$L9",["$","$La",null,{"promise":"$@b"}]]}]]}],{},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lc",null,{"children":"$Ld"}],["$","meta",null,{"name":"next-size-adjust","content":""}]],["$","$Le",null,{"children":["$","div",null,{"hidden":true,"children":["$","$f",null,{"fallback":null,"children":"$L10"}]}]}]]}],false]],"m":"$undefined","G":["$11",[]],"s":false,"S":true}
14
+ :HL["/_next/static/css/9f7bd82b8e4c762c.css","style"]
15
+ 0:{"P":null,"b":"errjtBR_bKoee8ogLp8xk","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/9f7bd82b8e4c762c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"__variable_73ee6c __variable_3c557b","children":["$","body",null,{"children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"try{var t=localStorage.getItem(\"theme\");if(t===\"light\"||t===\"dark\")document.documentElement.dataset.theme=t}catch(e){}"}}],["$","$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":["__PAGE__",["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","searchParams":{},"params":{},"promises":["$@6","$@7"]}],null,["$","$L8",null,{"children":["$L9",["$","$La",null,{"promise":"$@b"}]]}]]}],{},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lc",null,{"children":"$Ld"}],["$","meta",null,{"name":"next-size-adjust","content":""}]],["$","$Le",null,{"children":["$","div",null,{"hidden":true,"children":["$","$f",null,{"fallback":null,"children":"$L10"}]}]}]]}],false]],"m":"$undefined","G":["$11",[]],"s":false,"S":true}
16
16
  6:{}
17
17
  7:"$0:f:0:1:2:children:1:props:children:0:props:params"
18
18
  d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#050505"}]]
@@ -1 +1 @@
1
- <!DOCTYPE html><!--Rm5Fhkds2_wIOnVlME55J--><html lang="en" class="__variable_73ee6c __variable_3c557b"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/4c9affa5bc8f420e-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/bb3ef058b751a6ad-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/e2c82b53bf4519e8.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-38639c05c96dbeca.js"/><script src="/_next/static/chunks/4bd1b696-c023c6e3521b1417.js" async=""></script><script src="/_next/static/chunks/255-2aa030c9ba2867e3.js" async=""></script><script src="/_next/static/chunks/main-app-889ed884f8bc78e3.js" async=""></script><script src="/_next/static/chunks/619-ba102abea3e3d0e4.js" async=""></script><script src="/_next/static/chunks/383-289a866b246b41cc.js" async=""></script><script src="/_next/static/chunks/677-7ab85a6f38c3a235.js" async=""></script><script src="/_next/static/chunks/app/run/page-07aab6b1224c3c8c.js" async=""></script><meta name="next-size-adjust" content=""/><meta name="theme-color" content="#050505"/><title>agentswarm</title><meta name="description" content="A local agent swarm for long-horizon, autonomous work."/><link rel="icon" href="/icon.png?bdc9175d46e1d0aa" type="image/png" sizes="256x256"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><script>try{var t=localStorage.getItem("theme");if(t==="light"||t==="dark")document.documentElement.dataset.theme=t}catch(e){}</script><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><div class="min-h-screen grid place-items-center text-ink-faint"><span class="inline-block rounded-full animate-spin" style="width:14px;height:14px;border:1.5px solid rgb(var(--hi) / 0.18);border-top-color:var(--ink-hi)"></span></div><!--/$--><!--$--><!--/$--><script src="/_next/static/chunks/webpack-38639c05c96dbeca.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[9766,[],\"\"]\n3:I[8924,[],\"\"]\n4:I[1959,[],\"ClientPageRoot\"]\n5:I[6654,[\"619\",\"static/chunks/619-ba102abea3e3d0e4.js\",\"383\",\"static/chunks/383-289a866b246b41cc.js\",\"677\",\"static/chunks/677-7ab85a6f38c3a235.js\",\"64\",\"static/chunks/app/run/page-07aab6b1224c3c8c.js\"],\"default\"]\n8:I[4431,[],\"OutletBoundary\"]\na:I[5278,[],\"AsyncMetadataOutlet\"]\nc:I[4431,[],\"ViewportBoundary\"]\ne:I[4431,[],\"MetadataBoundary\"]\nf:\"$Sreact.suspense\"\n11:I[7150,[],\"\"]\n:HL[\"/_next/static/media/4c9affa5bc8f420e-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/bb3ef058b751a6ad-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/css/e2c82b53bf4519e8.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"Rm5Fhkds2-wIOnVlME55J\",\"p\":\"\",\"c\":[\"\",\"run\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"run\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/e2c82b53bf4519e8.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"__variable_73ee6c __variable_3c557b\",\"children\":[\"$\",\"body\",null,{\"children\":[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"try{var t=localStorage.getItem(\\\"theme\\\");if(t===\\\"light\\\"||t===\\\"dark\\\")document.documentElement.dataset.theme=t}catch(e){}\"}}],[\"$\",\"$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\":[\"run\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L4\",null,{\"Component\":\"$5\",\"searchParams\":{},\"params\":{},\"promises\":[\"$@6\",\"$@7\"]}],null,[\"$\",\"$L8\",null,{\"children\":[\"$L9\",[\"$\",\"$La\",null,{\"promise\":\"$@b\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$Lc\",null,{\"children\":\"$Ld\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]],[\"$\",\"$Le\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$f\",null,{\"fallback\":null,\"children\":\"$L10\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$11\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"6:{}\n7:\"$0:f:0:1:2:children:2:children:1:props:children:0:props:params\"\n"])</script><script>self.__next_f.push([1,"d:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#050505\"}]]\n9:null\n"])</script><script>self.__next_f.push([1,"12:I[622,[],\"IconMark\"]\nb:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"agentswarm\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"A local agent swarm for long-horizon, autonomous work.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/icon.png?bdc9175d46e1d0aa\",\"type\":\"image/png\",\"sizes\":\"256x256\"}],[\"$\",\"$L12\",\"3\",{}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"10:\"$b:metadata\"\n"])</script></body></html>
1
+ <!DOCTYPE html><!--errjtBR_bKoee8ogLp8xk--><html lang="en" class="__variable_73ee6c __variable_3c557b"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/4c9affa5bc8f420e-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/bb3ef058b751a6ad-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/9f7bd82b8e4c762c.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-38639c05c96dbeca.js"/><script src="/_next/static/chunks/4bd1b696-c023c6e3521b1417.js" async=""></script><script src="/_next/static/chunks/255-2aa030c9ba2867e3.js" async=""></script><script src="/_next/static/chunks/main-app-889ed884f8bc78e3.js" async=""></script><script src="/_next/static/chunks/532-35122e93f37719b9.js" async=""></script><script src="/_next/static/chunks/677-859e8d42add1806b.js" async=""></script><script src="/_next/static/chunks/app/run/page-2420c9e4c963d9b3.js" async=""></script><meta name="next-size-adjust" content=""/><meta name="theme-color" content="#050505"/><title>agentswarm</title><meta name="description" content="A local agent swarm for long-horizon, autonomous work."/><link rel="icon" href="/icon.png?bdc9175d46e1d0aa" type="image/png" sizes="256x256"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><script>try{var t=localStorage.getItem("theme");if(t==="light"||t==="dark")document.documentElement.dataset.theme=t}catch(e){}</script><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><div class="min-h-screen grid place-items-center text-ink-faint"><span class="inline-block rounded-full animate-spin" style="width:14px;height:14px;border:1.5px solid rgb(var(--hi) / 0.18);border-top-color:var(--ink-hi)"></span></div><!--/$--><!--$--><!--/$--><script src="/_next/static/chunks/webpack-38639c05c96dbeca.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[9766,[],\"\"]\n3:I[8924,[],\"\"]\n4:I[1959,[],\"ClientPageRoot\"]\n5:I[5182,[\"532\",\"static/chunks/532-35122e93f37719b9.js\",\"677\",\"static/chunks/677-859e8d42add1806b.js\",\"64\",\"static/chunks/app/run/page-2420c9e4c963d9b3.js\"],\"default\"]\n8:I[4431,[],\"OutletBoundary\"]\na:I[5278,[],\"AsyncMetadataOutlet\"]\nc:I[4431,[],\"ViewportBoundary\"]\ne:I[4431,[],\"MetadataBoundary\"]\nf:\"$Sreact.suspense\"\n11:I[7150,[],\"\"]\n:HL[\"/_next/static/media/4c9affa5bc8f420e-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/bb3ef058b751a6ad-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/css/9f7bd82b8e4c762c.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"errjtBR_bKoee8ogLp8xk\",\"p\":\"\",\"c\":[\"\",\"run\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"run\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/9f7bd82b8e4c762c.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"__variable_73ee6c __variable_3c557b\",\"children\":[\"$\",\"body\",null,{\"children\":[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"try{var t=localStorage.getItem(\\\"theme\\\");if(t===\\\"light\\\"||t===\\\"dark\\\")document.documentElement.dataset.theme=t}catch(e){}\"}}],[\"$\",\"$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\":[\"run\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L4\",null,{\"Component\":\"$5\",\"searchParams\":{},\"params\":{},\"promises\":[\"$@6\",\"$@7\"]}],null,[\"$\",\"$L8\",null,{\"children\":[\"$L9\",[\"$\",\"$La\",null,{\"promise\":\"$@b\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$Lc\",null,{\"children\":\"$Ld\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]],[\"$\",\"$Le\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$f\",null,{\"fallback\":null,\"children\":\"$L10\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$11\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"6:{}\n7:\"$0:f:0:1:2:children:2:children:1:props:children:0:props:params\"\n"])</script><script>self.__next_f.push([1,"d:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#050505\"}]]\n9:null\n"])</script><script>self.__next_f.push([1,"12:I[622,[],\"IconMark\"]\nb:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"agentswarm\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"A local agent swarm for long-horizon, autonomous work.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/icon.png?bdc9175d46e1d0aa\",\"type\":\"image/png\",\"sizes\":\"256x256\"}],[\"$\",\"$L12\",\"3\",{}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"10:\"$b:metadata\"\n"])</script></body></html>
@@ -2,7 +2,7 @@
2
2
  2:I[9766,[],""]
3
3
  3:I[8924,[],""]
4
4
  4:I[1959,[],"ClientPageRoot"]
5
- 5:I[6654,["619","static/chunks/619-ba102abea3e3d0e4.js","383","static/chunks/383-289a866b246b41cc.js","677","static/chunks/677-7ab85a6f38c3a235.js","64","static/chunks/app/run/page-07aab6b1224c3c8c.js"],"default"]
5
+ 5:I[5182,["532","static/chunks/532-35122e93f37719b9.js","677","static/chunks/677-859e8d42add1806b.js","64","static/chunks/app/run/page-2420c9e4c963d9b3.js"],"default"]
6
6
  8:I[4431,[],"OutletBoundary"]
7
7
  a:I[5278,[],"AsyncMetadataOutlet"]
8
8
  c:I[4431,[],"ViewportBoundary"]
@@ -11,8 +11,8 @@ f:"$Sreact.suspense"
11
11
  11:I[7150,[],""]
12
12
  :HL["/_next/static/media/4c9affa5bc8f420e-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
13
13
  :HL["/_next/static/media/bb3ef058b751a6ad-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
14
- :HL["/_next/static/css/e2c82b53bf4519e8.css","style"]
15
- 0:{"P":null,"b":"Rm5Fhkds2-wIOnVlME55J","p":"","c":["","run",""],"i":false,"f":[[["",{"children":["run",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e2c82b53bf4519e8.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"__variable_73ee6c __variable_3c557b","children":["$","body",null,{"children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"try{var t=localStorage.getItem(\"theme\");if(t===\"light\"||t===\"dark\")document.documentElement.dataset.theme=t}catch(e){}"}}],["$","$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":["run",["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","searchParams":{},"params":{},"promises":["$@6","$@7"]}],null,["$","$L8",null,{"children":["$L9",["$","$La",null,{"promise":"$@b"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lc",null,{"children":"$Ld"}],["$","meta",null,{"name":"next-size-adjust","content":""}]],["$","$Le",null,{"children":["$","div",null,{"hidden":true,"children":["$","$f",null,{"fallback":null,"children":"$L10"}]}]}]]}],false]],"m":"$undefined","G":["$11",[]],"s":false,"S":true}
14
+ :HL["/_next/static/css/9f7bd82b8e4c762c.css","style"]
15
+ 0:{"P":null,"b":"errjtBR_bKoee8ogLp8xk","p":"","c":["","run",""],"i":false,"f":[[["",{"children":["run",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/9f7bd82b8e4c762c.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"__variable_73ee6c __variable_3c557b","children":["$","body",null,{"children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"try{var t=localStorage.getItem(\"theme\");if(t===\"light\"||t===\"dark\")document.documentElement.dataset.theme=t}catch(e){}"}}],["$","$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":["run",["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","searchParams":{},"params":{},"promises":["$@6","$@7"]}],null,["$","$L8",null,{"children":["$L9",["$","$La",null,{"promise":"$@b"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lc",null,{"children":"$Ld"}],["$","meta",null,{"name":"next-size-adjust","content":""}]],["$","$Le",null,{"children":["$","div",null,{"hidden":true,"children":["$","$f",null,{"fallback":null,"children":"$L10"}]}]}]]}],false]],"m":"$undefined","G":["$11",[]],"s":false,"S":true}
16
16
  6:{}
17
17
  7:"$0:f:0:1:2:children:2:children:1:props:children:0:props:params"
18
18
  d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#050505"}]]