@agent-spaces/server 0.3.65 → 0.4.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.
- package/dist/adapters/agent-runtime.js +8 -0
- package/dist/adapters/codex-function-tool-bridge.js +152 -0
- package/dist/adapters/codex-runtime.js +23 -4
- package/dist/adapters/git.js +25 -3
- package/dist/adapters/hermes-runtime.js +813 -0
- package/dist/adapters/langchain-runtime.js +384 -21
- package/dist/adapters/oh-my-pi-runtime.js +858 -0
- package/dist/adapters/open-agent-sdk-runtime.js +202 -5
- package/dist/adapters/open-agent-sdk-runtime.test.js +35 -0
- package/dist/agents/agent-message-parts.js +52 -2
- package/dist/agents/issue-task-controller.js +71 -2
- package/dist/agents/pull-request-agent.js +115 -0
- package/dist/agents/scheduler-agent.js +1 -1
- package/dist/agents/title-generator-agent.js +120 -0
- package/dist/app.js +61 -4
- package/dist/middleware/auth.js +1 -1
- package/dist/package.json +2 -1
- package/dist/routes/agent-sse.js +70 -6
- package/dist/routes/channel.js +23 -2
- package/dist/routes/chat-run.js +191 -0
- package/dist/routes/chat.js +142 -0
- package/dist/routes/command.js +16 -0
- package/dist/routes/data.js +189 -0
- package/dist/routes/git.js +10 -1
- package/dist/routes/import.js +199 -0
- package/dist/routes/issue.js +17 -5
- package/dist/routes/notification.js +10 -0
- package/dist/routes/plugin.js +69 -0
- package/dist/routes/version.js +95 -0
- package/dist/routes/workflow-hook.js +71 -0
- package/dist/routes/workflow.js +282 -7
- package/dist/routes/workspace.js +13 -4
- package/dist/routes/worktree.js +93 -0
- package/dist/services/agent.js +123 -36
- package/dist/services/ai-text.js +185 -0
- package/dist/services/builtin-tools/index.js +1 -0
- package/dist/services/builtin-tools/workflow-editor-tools.js +509 -0
- package/dist/services/builtin-tools/workflow-exec-tools.js +320 -0
- package/dist/services/chat.js +134 -0
- package/dist/services/command-process-manager.js +16 -0
- package/dist/services/execution-manager.js +1346 -0
- package/dist/services/generated-title.js +59 -0
- package/dist/services/gitignore.js +22 -18
- package/dist/services/interaction-manager.js +114 -0
- package/dist/services/issue-retry.js +25 -0
- package/dist/services/notification-center.js +9 -0
- package/dist/services/output-style.js +8 -1
- package/dist/services/plugin.js +257 -0
- package/dist/services/prompt-template.js +8 -1
- package/dist/services/pty.js +20 -0
- package/dist/services/search.js +16 -6
- package/dist/services/skill.js +2 -0
- package/dist/services/version.js +69 -0
- package/dist/services/workflow-command-runner.js +24 -0
- package/dist/services/workflow-trigger-service.js +137 -0
- package/dist/services/workflow.js +219 -39
- package/dist/services/workspace.js +23 -1
- package/dist/services/worktree.js +207 -0
- package/dist/storage/agent-store.js +8 -0
- package/dist/storage/chat-store.js +151 -0
- package/dist/storage/database-store.js +6 -0
- package/dist/storage/json-store.js +2 -1
- package/dist/storage/kanban-store.js +6 -0
- package/dist/storage/workflow-store.js +386 -22
- package/dist/storage/worktree-store.js +33 -0
- package/dist/web/404.html +1 -1
- package/dist/web/__next.__PAGE__.txt +4 -4
- package/dist/web/__next._full.txt +21 -21
- package/dist/web/__next._head.txt +4 -4
- package/dist/web/__next._index.txt +13 -13
- package/dist/web/__next._tree.txt +2 -2
- package/dist/web/_next/static/chunks/{08x85faoz58i7.js → 0-92u-tiuy40a.js} +4 -4
- package/dist/web/_next/static/chunks/{0db14450oqzhg.js → 0-yizd8osmas2.js} +1 -1
- package/dist/web/_next/static/chunks/0.ln~3mnv8.69.js +1 -0
- package/dist/web/_next/static/chunks/{11cchuwoupmbf.js → 01y3e9pemva7b.js} +10 -10
- package/dist/web/_next/static/chunks/02l~tmzrgny.~.js +1 -0
- package/dist/web/_next/static/chunks/03f1bwuynjdmk.js +1 -0
- package/dist/web/_next/static/chunks/04cb4kc9r2pd1.js +1 -0
- package/dist/web/_next/static/chunks/04de6ha5_e3pp.js +1 -0
- package/dist/web/_next/static/chunks/09he0p79ov1rn.js +1 -0
- package/dist/web/_next/static/chunks/09vpocs4zuc8h.js +1 -0
- package/dist/web/_next/static/chunks/0_o2exgr0e_nh.js +1 -0
- package/dist/web/_next/static/chunks/{0xbaakj0dfc0..js → 0_y9nskc-xt2k.js} +1 -1
- package/dist/web/_next/static/chunks/0clnj-1fi6u8j.js +3 -0
- package/dist/web/_next/static/chunks/0gv40by0zzxs_.js +1 -0
- package/dist/web/_next/static/chunks/0iusr8y88.kjg.js +1 -0
- package/dist/web/_next/static/chunks/{0-a.-hl3wv99k.js → 0j-8418fxvkd1.js} +1 -1
- package/dist/web/_next/static/chunks/0j.wxxyoclma5.js +1 -0
- package/dist/web/_next/static/chunks/{0.6b64sy0g5.3.js → 0jq.16sozqik..js} +1 -1
- package/dist/web/_next/static/chunks/0jw8xdk_fpnp0.css +1 -0
- package/dist/web/_next/static/chunks/0l1lkd-wcotma.js +1 -0
- package/dist/web/_next/static/chunks/{0u6h-hqc_i52e.js → 0ncxf_zr4n839.js} +1 -1
- package/dist/web/_next/static/chunks/0ndo7um~v7vco.js +1 -0
- package/dist/web/_next/static/chunks/0ngk.~kan8wq_.js +1 -0
- package/dist/web/_next/static/chunks/0ppr271hz0xoq.js +1 -0
- package/dist/web/_next/static/chunks/0rt9bofnn6qvn.js +1 -0
- package/dist/web/_next/static/chunks/0t64.9jd00hio.js +3 -0
- package/dist/web/_next/static/chunks/0taui9--5n6-5.js +1 -0
- package/dist/web/_next/static/chunks/0ty39169lh~z3.js +1 -0
- package/dist/web/_next/static/chunks/0v8nof~waedlu.js +1 -0
- package/dist/web/_next/static/chunks/{0-pi.67w.ymsr.js → 0vcfoagnpf.aw.js} +1 -1
- package/dist/web/_next/static/chunks/{0vis~lx0nxgn-.js → 0wwwq.gyyz0vg.js} +3 -3
- package/dist/web/_next/static/chunks/0x5lak8yz7pm7.js +1 -0
- package/dist/web/_next/static/chunks/0xon_.4-o0_zq.js +7 -0
- package/dist/web/_next/static/chunks/0zjnrbt7inime.js +1 -0
- package/dist/web/_next/static/chunks/0zwebpitvpuv1.js +1 -0
- package/dist/web/_next/static/chunks/0~02o4g-o6n~m.js +1 -0
- package/dist/web/_next/static/chunks/{0w7.tb29958zj.js → 0~fjezp.k4qk3.js} +1 -1
- package/dist/web/_next/static/chunks/0~sh93re1-_rp.js +1 -0
- package/dist/web/_next/static/chunks/10_niiq0k6o-p.js +5 -0
- package/dist/web/_next/static/chunks/12tjr0_2ccrtq.js +2 -0
- package/dist/web/_next/static/chunks/12x5.go_x9mfk.js +1 -0
- package/dist/web/_next/static/chunks/{0l2w0qz1ea7ql.js → 12~5dk9i9d16t.js} +2 -2
- package/dist/web/_next/static/chunks/13iye4rv5p31b.js +1 -0
- package/dist/web/_next/static/chunks/{01~quun6sefgl.js → 13~y-b.b9rrw4.js} +1 -1
- package/dist/web/_next/static/chunks/151wzhb5q0lo5.js +1 -0
- package/dist/web/_not-found/__next._full.txt +19 -19
- package/dist/web/_not-found/__next._head.txt +4 -4
- package/dist/web/_not-found/__next._index.txt +13 -13
- package/dist/web/_not-found/__next._not-found.__PAGE__.txt +2 -2
- package/dist/web/_not-found/__next._not-found.txt +3 -3
- package/dist/web/_not-found/__next._tree.txt +2 -2
- package/dist/web/_not-found.html +1 -1
- package/dist/web/_not-found.txt +19 -19
- package/dist/web/index.html +1 -1
- package/dist/web/index.txt +21 -21
- package/dist/web/login/__next._full.txt +21 -21
- package/dist/web/login/__next._head.txt +4 -4
- package/dist/web/login/__next._index.txt +13 -13
- package/dist/web/login/__next._tree.txt +2 -2
- package/dist/web/login/__next.login.__PAGE__.txt +4 -4
- package/dist/web/login/__next.login.txt +3 -3
- package/dist/web/login.html +1 -1
- package/dist/web/login.txt +21 -21
- package/dist/web/settings/__next._full.txt +23 -23
- package/dist/web/settings/__next._head.txt +4 -4
- package/dist/web/settings/__next._index.txt +13 -13
- package/dist/web/settings/__next._tree.txt +2 -2
- package/dist/web/settings/__next.settings.__PAGE__.txt +4 -4
- package/dist/web/settings/__next.settings.txt +5 -5
- package/dist/web/settings/agents/__next._full.txt +23 -23
- package/dist/web/settings/agents/__next._head.txt +4 -4
- package/dist/web/settings/agents/__next._index.txt +13 -13
- package/dist/web/settings/agents/__next._tree.txt +2 -2
- package/dist/web/settings/agents/__next.settings.agents.__PAGE__.txt +4 -4
- package/dist/web/settings/agents/__next.settings.agents.txt +3 -3
- package/dist/web/settings/agents/__next.settings.txt +5 -5
- package/dist/web/settings/agents.html +1 -1
- package/dist/web/settings/agents.txt +23 -23
- package/dist/web/settings/mcps/__next._full.txt +23 -23
- package/dist/web/settings/mcps/__next._head.txt +4 -4
- package/dist/web/settings/mcps/__next._index.txt +13 -13
- package/dist/web/settings/mcps/__next._tree.txt +2 -2
- package/dist/web/settings/mcps/__next.settings.mcps.__PAGE__.txt +4 -4
- package/dist/web/settings/mcps/__next.settings.mcps.txt +3 -3
- package/dist/web/settings/mcps/__next.settings.txt +5 -5
- package/dist/web/settings/mcps.html +1 -1
- package/dist/web/settings/mcps.txt +23 -23
- package/dist/web/settings/models/__next._full.txt +23 -23
- package/dist/web/settings/models/__next._head.txt +4 -4
- package/dist/web/settings/models/__next._index.txt +13 -13
- package/dist/web/settings/models/__next._tree.txt +2 -2
- package/dist/web/settings/models/__next.settings.models.__PAGE__.txt +4 -4
- package/dist/web/settings/models/__next.settings.models.txt +3 -3
- package/dist/web/settings/models/__next.settings.txt +5 -5
- package/dist/web/settings/models.html +1 -1
- package/dist/web/settings/models.txt +23 -23
- package/dist/web/settings/output-styles/__next._full.txt +23 -23
- package/dist/web/settings/output-styles/__next._head.txt +4 -4
- package/dist/web/settings/output-styles/__next._index.txt +13 -13
- package/dist/web/settings/output-styles/__next._tree.txt +2 -2
- package/dist/web/settings/output-styles/__next.settings.output-styles.__PAGE__.txt +4 -4
- package/dist/web/settings/output-styles/__next.settings.output-styles.txt +3 -3
- package/dist/web/settings/output-styles/__next.settings.txt +5 -5
- package/dist/web/settings/output-styles.html +1 -1
- package/dist/web/settings/output-styles.txt +23 -23
- package/dist/web/settings/prompts/__next._full.txt +23 -23
- package/dist/web/settings/prompts/__next._head.txt +4 -4
- package/dist/web/settings/prompts/__next._index.txt +13 -13
- package/dist/web/settings/prompts/__next._tree.txt +2 -2
- package/dist/web/settings/prompts/__next.settings.prompts.__PAGE__.txt +4 -4
- package/dist/web/settings/prompts/__next.settings.prompts.txt +3 -3
- package/dist/web/settings/prompts/__next.settings.txt +5 -5
- package/dist/web/settings/prompts.html +1 -1
- package/dist/web/settings/prompts.txt +23 -23
- package/dist/web/settings/providers/__next._full.txt +23 -23
- package/dist/web/settings/providers/__next._head.txt +4 -4
- package/dist/web/settings/providers/__next._index.txt +13 -13
- package/dist/web/settings/providers/__next._tree.txt +2 -2
- package/dist/web/settings/providers/__next.settings.providers.__PAGE__.txt +4 -4
- package/dist/web/settings/providers/__next.settings.providers.txt +3 -3
- package/dist/web/settings/providers/__next.settings.txt +5 -5
- package/dist/web/settings/providers.html +1 -1
- package/dist/web/settings/providers.txt +23 -23
- package/dist/web/settings/skills/__next._full.txt +23 -23
- package/dist/web/settings/skills/__next._head.txt +4 -4
- package/dist/web/settings/skills/__next._index.txt +13 -13
- package/dist/web/settings/skills/__next._tree.txt +2 -2
- package/dist/web/settings/skills/__next.settings.skills.__PAGE__.txt +4 -4
- package/dist/web/settings/skills/__next.settings.skills.txt +3 -3
- package/dist/web/settings/skills/__next.settings.txt +5 -5
- package/dist/web/settings/skills.html +1 -1
- package/dist/web/settings/skills.txt +23 -23
- package/dist/web/settings/tools/__next._full.txt +23 -23
- package/dist/web/settings/tools/__next._head.txt +4 -4
- package/dist/web/settings/tools/__next._index.txt +13 -13
- package/dist/web/settings/tools/__next._tree.txt +2 -2
- package/dist/web/settings/tools/__next.settings.tools.__PAGE__.txt +4 -4
- package/dist/web/settings/tools/__next.settings.tools.txt +3 -3
- package/dist/web/settings/tools/__next.settings.txt +5 -5
- package/dist/web/settings/tools.html +1 -1
- package/dist/web/settings/tools.txt +23 -23
- package/dist/web/settings.html +1 -1
- package/dist/web/settings.txt +23 -23
- package/dist/web/workflows/__next._full.txt +22 -22
- package/dist/web/workflows/__next._head.txt +4 -4
- package/dist/web/workflows/__next._index.txt +13 -13
- package/dist/web/workflows/__next._tree.txt +2 -2
- package/dist/web/workflows/__next.workflows.__PAGE__.txt +4 -4
- package/dist/web/workflows/__next.workflows.txt +3 -3
- package/dist/web/workflows.html +1 -1
- package/dist/web/workflows.txt +22 -22
- package/dist/web/workspace/_/__next._full.txt +20 -20
- package/dist/web/workspace/_/__next._head.txt +4 -4
- package/dist/web/workspace/_/__next._index.txt +13 -13
- package/dist/web/workspace/_/__next._tree.txt +2 -2
- package/dist/web/workspace/_/__next.workspace.$d$id.__PAGE__.txt +3 -3
- package/dist/web/workspace/_/__next.workspace.$d$id.txt +3 -3
- package/dist/web/workspace/_/__next.workspace.txt +3 -3
- package/dist/web/workspace/_.html +1 -1
- package/dist/web/workspace/_.txt +20 -20
- package/dist/web/workspaces/__next._full.txt +21 -21
- package/dist/web/workspaces/__next._head.txt +4 -4
- package/dist/web/workspaces/__next._index.txt +13 -13
- package/dist/web/workspaces/__next._tree.txt +2 -2
- package/dist/web/workspaces/__next.workspaces.__PAGE__.txt +4 -4
- package/dist/web/workspaces/__next.workspaces.txt +3 -3
- package/dist/web/workspaces.html +1 -1
- package/dist/web/workspaces.txt +21 -21
- package/dist/ws/agent-prompt.js +36 -3
- package/dist/ws/agent-runner.js +30 -18
- package/dist/ws/chat-handler.js +89 -0
- package/dist/ws/connection-manager.js +49 -2
- package/dist/ws/execution-channels.js +88 -0
- package/dist/ws/handler.js +32 -5
- package/dist/ws/message-parts.js +130 -12
- package/dist/ws/terminal-handler.js +26 -0
- package/package.json +13 -1
- package/public/avatars/user.jpg +0 -0
- package/dist/web/_next/static/chunks/0-v_p6j5u3_9l.js +0 -1
- package/dist/web/_next/static/chunks/0.-x29t-8gk0r.js +0 -1
- package/dist/web/_next/static/chunks/0.l5e8~r7_0~p.js +0 -1
- package/dist/web/_next/static/chunks/0.n~yfwf4~6w-.js +0 -1
- package/dist/web/_next/static/chunks/00-syqzi-6zxr.js +0 -1
- package/dist/web/_next/static/chunks/02j4sr9psucf-.js +0 -1
- package/dist/web/_next/static/chunks/06si8l0doqe8p.js +0 -1
- package/dist/web/_next/static/chunks/08kfx8on9oty~.js +0 -1
- package/dist/web/_next/static/chunks/08ugbvzr20drp.js +0 -2
- package/dist/web/_next/static/chunks/0_cqojbge48kq.js +0 -5
- package/dist/web/_next/static/chunks/0d6~~lv0-6kex.js +0 -3
- package/dist/web/_next/static/chunks/0gdwop9cnpmtu.js +0 -1
- package/dist/web/_next/static/chunks/0ghx3j_.-gdyd.js +0 -1
- package/dist/web/_next/static/chunks/0kbvoxla7f751.js +0 -1
- package/dist/web/_next/static/chunks/0paaat8y96ayc.js +0 -7
- package/dist/web/_next/static/chunks/0pq318f8xgafg.js +0 -1
- package/dist/web/_next/static/chunks/0t6s8of0qr6nc.js +0 -1
- package/dist/web/_next/static/chunks/0xt-8wk21gs7g.js +0 -1
- package/dist/web/_next/static/chunks/0yd.m1afqg.2t.js +0 -3
- package/dist/web/_next/static/chunks/0yhbr8hl09b-5.js +0 -1
- package/dist/web/_next/static/chunks/0z~vqzbm_q371.js +0 -1
- package/dist/web/_next/static/chunks/0~~_ltu6dx_ch.js +0 -1
- package/dist/web/_next/static/chunks/12oxcgyhpaxw~.js +0 -1
- package/dist/web/_next/static/chunks/1452eibz62gs6.css +0 -1
- package/dist/web/_next/static/chunks/16zlreiems5cn.js +0 -1
- package/dist/web/_next/static/chunks/18awqjk9-o5m0.js +0 -1
- /package/dist/web/_next/static/{x4-CsKe6qUQyFDWVtfvUg → rGXyAK8rgod1NjF3bLZAY}/_buildManifest.js +0 -0
- /package/dist/web/_next/static/{x4-CsKe6qUQyFDWVtfvUg → rGXyAK8rgod1NjF3bLZAY}/_clientMiddlewareManifest.js +0 -0
- /package/dist/web/_next/static/{x4-CsKe6qUQyFDWVtfvUg → rGXyAK8rgod1NjF3bLZAY}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,444204,e=>{"use strict";let t=(0,e.i(433721).default)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);e.s(["Clock",0,t],444204)},600304,759309,e=>{"use strict";let t=(0,e.i(433721).default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);e.s(["default",0,t],759309),e.s(["Send",0,t],600304)},595390,e=>{"use strict";var t=e.i(344180),s=e.i(764556),l=e.i(681622),r=e.i(611176),a=e.i(972846);let i=e=>!["scheduler","task_creator","bot"].includes(e.description||"")&&"agent-generator"!==e.id;e.s(["MemberPicker",0,function({candidates:e,selected:n,onToggle:o,searchPlaceholder:d,emptyText:c,label:u,filter:f}){let[m,p]=(0,s.useState)(""),x=e.filter(f??i).sort((e,t)=>(e.sortIndex??0)-(t.sortIndex??0)).filter(e=>`${e.label} ${e.description||""}`.toLowerCase().includes(m.toLowerCase()));return(0,t.jsxs)("div",{className:"space-y-2",children:[u&&(0,t.jsx)("label",{className:"text-sm font-medium",children:u}),(0,t.jsx)(l.Input,{value:m,onChange:e=>p(e.target.value),placeholder:d}),(0,t.jsxs)("div",{className:"max-h-40 overflow-y-auto space-y-0.5",children:[0===x.length&&(0,t.jsx)("p",{className:"text-sm text-muted-foreground py-2 text-center",children:c||"No items found"}),x.map(e=>(0,t.jsxs)("button",{type:"button",onClick:()=>o(e.id),className:"flex items-center gap-2 w-full px-2 py-1.5 rounded-md hover:bg-muted text-left text-sm transition-colors",children:[(0,t.jsx)(r.AgentIcon,{agentId:"user"!==e.id?e.id:void 0,name:e.label,className:"size-5 rounded-full"}),(0,t.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,t.jsx)("span",{className:"block truncate",children:e.label}),e.description&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:e.description})]}),(0,t.jsx)("div",{className:`flex items-center justify-center size-4 rounded border shrink-0 ${n.includes(e.id)?"bg-primary border-primary text-primary-foreground":"border-input"}`})]},e.id))]}),n.length>0&&(0,t.jsx)("div",{className:"flex flex-wrap gap-1.5",children:n.map(s=>{let l=e.find(e=>e.id===s),i=l?.label||s;return(0,t.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-md bg-muted px-2 py-0.5 text-xs max-w-[160px] min-w-0",children:["user"===s?(0,t.jsx)("span",{className:"truncate",children:i}):(0,t.jsxs)("span",{className:"inline-flex items-center gap-1 min-w-0",children:[(0,t.jsx)(r.AgentIcon,{agentId:s,name:i,className:"size-3.5 rounded-full shrink-0"}),(0,t.jsx)("span",{className:"truncate",children:i})]}),(0,t.jsx)("button",{type:"button",onClick:()=>o(s),className:"hover:text-destructive shrink-0 cursor-pointer",children:(0,t.jsx)(a.X,{className:"size-3"})})]},s)})})]})}])},272736,e=>{"use strict";function t(e){return e.name?.trim()||e.role}e.s(["getAgentDisplayName",0,t,"getMemberDisplayName",0,function(e,s){if("user"===s)return"user";let l=e.find(e=>e.id===s);return l?t(l):s},"normalizeChannelMembersToAgentIds",0,function(e,t){let s=new Set(e.map(e=>e.id)),l=[],r=new Set;for(let e of t)s.has(e)&&(r.has(e)||(r.add(e),l.push(e)));return l}])},302773,e=>{"use strict";let t=(0,e.i(816709).create)((e,t)=>({workflows:[],currentWorkflow:null,isLoading:!1,loadWorkflows:async()=>{e({isLoading:!0});try{let t=await fetch("/api/workflows"),s=await t.json();e({workflows:s,isLoading:!1})}catch{e({isLoading:!1})}},createWorkflow:async t=>{let s=await fetch("/api/workflows",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}),l=await s.json();return e(e=>({workflows:[...e.workflows,l]})),l},updateWorkflow:async(e,s)=>{let l=await fetch(`/api/workflows/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)}),r=await l.json();t().upsertWorkflow(r)},deleteWorkflow:async e=>{await fetch(`/api/workflows/${e}`,{method:"DELETE"}),t().removeWorkflow(e)},duplicateWorkflow:async t=>{let s=await fetch(`/api/workflows/${t}/duplicate`,{method:"POST"}),l=await s.json();e(e=>({workflows:[...e.workflows,l]}))},setCurrentWorkflow:t=>e({currentWorkflow:t}),upsertWorkflow:t=>{e(e=>{let s=e.workflows.findIndex(e=>e.id===t.id);if(-1!==s){let l=[...e.workflows];return l[s]=t,{workflows:l}}return{workflows:[...e.workflows,t]}})},removeWorkflow:t=>{e(e=>({workflows:e.workflows.filter(e=>e.id!==t),currentWorkflow:e.currentWorkflow?.id===t?null:e.currentWorkflow}))}}));e.s(["useWorkflowStore",0,t])},889445,e=>{"use strict";let t=(0,e.i(433721).default)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);e.s(["Play",0,t],889445)},358989,e=>{"use strict";var t=e.i(344180),s=e.i(764556),l=e.i(244073),r=e.i(209988),a=e.i(260218),i=e.i(681622),n=e.i(788010),o=e.i(595390),d=e.i(272736),c=e.i(302773);let u=["draft","planned","in_progress","review_pending","changes_requested","approved","completed","archived"];e.s(["EditIssueDialog",0,function({issue:e,open:f,onOpenChange:m,agents:p=[],onSave:x}){let[h,w]=(0,s.useState)(e.title),[g,k]=(0,s.useState)(e.description),[y,b]=(0,s.useState)(e.status),[j,v]=(0,s.useState)(e.members||[]),[N,C]=(0,s.useState)(!1),[_,S]=(0,s.useState)(e.workflowId??""),{workflows:T,loadWorkflows:W}=(0,c.useWorkflowStore)(),I=(0,l.useTranslations)("issue"),D=(0,l.useTranslations)("common");(0,s.useEffect)(()=>{f&&(w(e.title),k(e.description),b(e.status),v(e.members?.length?[...e.members]:[]),S(e.workflowId??""))},[f,e]),(0,s.useEffect)(()=>{f&&W()},[f,W]);let P=async()=>{if(h.trim()){C(!0);try{await x({title:h.trim(),description:g.trim(),status:y,members:j,workflowId:"__none__"===_?null:_||null}),m(!1)}finally{C(!1)}}},A=(0,s.useMemo)(()=>p.filter(e=>!1!==e.enabled).map((e,t)=>({id:e.id,label:(0,d.getMemberDisplayName)(p,e.id),description:e.role,sortIndex:t})),[p]);return(0,t.jsx)(r.Dialog,{open:f,onOpenChange:m,children:(0,t.jsxs)(r.DialogContent,{className:"sm:max-w-md max-h-[85vh] p-0 gap-0 flex flex-col overflow-hidden",children:[(0,t.jsxs)(r.DialogHeader,{className:"px-4 py-4 shrink-0",children:[(0,t.jsx)(r.DialogTitle,{children:I("edit.title")}),(0,t.jsx)(r.DialogDescription,{children:I("edit.description")})]}),(0,t.jsx)("div",{className:"flex-1 min-h-0 overflow-y-auto px-4 pb-4",children:(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)(i.Input,{placeholder:I("edit.titlePlaceholder"),value:h,onChange:e=>w(e.target.value),onKeyDown:e=>"Enter"===e.key&&e.preventDefault()}),(0,t.jsx)(n.Textarea,{placeholder:I("edit.descriptionPlaceholder"),value:g,onChange:e=>k(e.target.value),rows:3}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)("label",{className:"text-sm font-medium text-foreground",children:I("edit.statusLabel")}),(0,t.jsx)("select",{value:y,onChange:e=>b(e.target.value),className:"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-xs transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",children:u.map(e=>(0,t.jsx)("option",{value:e,children:I(`status.${e}`)},e))})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)("label",{className:"text-sm font-medium text-foreground",children:"Workflow Template"}),(0,t.jsxs)("select",{value:_||"__none__",onChange:e=>(e=>{if(S(e),!e)return;let t=T.find(t=>t.id===e);if(!t)return;let s=t.nodes.filter(e=>"agent"===e.type).map(e=>e.data.agentConfigId);v(e=>Array.from(new Set([...e,...s])))})("__none__"===e.target.value?"":e.target.value),className:"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-xs transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",children:[(0,t.jsx)("option",{value:"__none__",children:"None (use default pipeline)"}),T.map(e=>(0,t.jsxs)("option",{value:e.id,children:[e.name," (",e.nodes.length," agents)"]},e.id))]})]}),(0,t.jsx)(o.MemberPicker,{candidates:A,selected:j,onToggle:e=>{v(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])},label:I("edit.membersLabel"),searchPlaceholder:I("edit.searchAgent"),emptyText:I("edit.noAgents")}),(0,t.jsxs)("div",{className:"flex justify-end gap-2 pt-2",children:[(0,t.jsx)(a.Button,{variant:"outline",onClick:()=>m(!1),children:D("cancel")}),(0,t.jsx)(a.Button,{onClick:P,disabled:!h.trim()||N,children:D(N?"saving":"save")})]})]})})]})})}])}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,867295,e=>{"use strict";let t=(0,e.i(433721).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["default",0,t])},332277,e=>{"use strict";var t=e.i(867295);e.s(["Eye",()=>t.default])},302773,e=>{"use strict";let t=(0,e.i(816709).create)((e,t)=>({workflows:[],currentWorkflow:null,isLoading:!1,loadWorkflows:async()=>{e({isLoading:!0});try{let t=await fetch("/api/workflows"),r=await t.json();e({workflows:r,isLoading:!1})}catch{e({isLoading:!1})}},createWorkflow:async t=>{let r=await fetch("/api/workflows",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}),a=await r.json();return e(e=>({workflows:[...e.workflows,a]})),a},updateWorkflow:async(e,r)=>{let a=await fetch(`/api/workflows/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)}),n=await a.json();t().upsertWorkflow(n)},deleteWorkflow:async e=>{await fetch(`/api/workflows/${e}`,{method:"DELETE"}),t().removeWorkflow(e)},duplicateWorkflow:async t=>{let r=await fetch(`/api/workflows/${t}/duplicate`,{method:"POST"}),a=await r.json();e(e=>({workflows:[...e.workflows,a]}))},setCurrentWorkflow:t=>e({currentWorkflow:t}),upsertWorkflow:t=>{e(e=>{let r=e.workflows.findIndex(e=>e.id===t.id);if(-1!==r){let a=[...e.workflows];return a[r]=t,{workflows:a}}return{workflows:[...e.workflows,t]}})},removeWorkflow:t=>{e(e=>({workflows:e.workflows.filter(e=>e.id!==t),currentWorkflow:e.currentWorkflow?.id===t?null:e.currentWorkflow}))}}));e.s(["useWorkflowStore",0,t])},842541,e=>{"use strict";e.s(["default",0,function(e,t){return e*=1,t*=1,function(r){return e*(1-r)+t*r}}])},161610,321137,e=>{"use strict";function t(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function r(e,t){var r=Object.create(e.prototype);for(var a in t)r[a]=t[a];return r}function a(){}var n="\\s*([+-]?\\d+)\\s*",i="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",o="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",f=/^#([0-9a-f]{3,8})$/,s=RegExp(`^rgb\\(${n},${n},${n}\\)$`),l=RegExp(`^rgb\\(${o},${o},${o}\\)$`),u=RegExp(`^rgba\\(${n},${n},${n},${i}\\)$`),c=RegExp(`^rgba\\(${o},${o},${o},${i}\\)$`),d=RegExp(`^hsl\\(${i},${o},${o}\\)$`),h=RegExp(`^hsla\\(${i},${o},${o},${i}\\)$`),g={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function x(){return this.rgb().formatHex()}function p(){return this.rgb().formatRgb()}function b(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=f.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?w(t):3===r?new k(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?m(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?m(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=s.exec(e))?new k(t[1],t[2],t[3],1):(t=l.exec(e))?new k(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=u.exec(e))?m(t[1],t[2],t[3],t[4]):(t=c.exec(e))?m(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=d.exec(e))?W(t[1],t[2]/100,t[3]/100,1):(t=h.exec(e))?W(t[1],t[2]/100,t[3]/100,t[4]):g.hasOwnProperty(e)?w(g[e]):"transparent"===e?new k(NaN,NaN,NaN,0):null}function w(e){return new k(e>>16&255,e>>8&255,255&e,1)}function m(e,t,r,a){return a<=0&&(e=t=r=NaN),new k(e,t,r,a)}function y(e,t,r,n){var i;return 1==arguments.length?((i=e)instanceof a||(i=b(i)),i)?new k((i=i.rgb()).r,i.g,i.b,i.opacity):new k:new k(e,t,r,null==n?1:n)}function k(e,t,r,a){this.r=+e,this.g=+t,this.b=+r,this.opacity=+a}function v(){return`#${j(this.r)}${j(this.g)}${j(this.b)}`}function $(){let e=N(this.opacity);return`${1===e?"rgb(":"rgba("}${M(this.r)}, ${M(this.g)}, ${M(this.b)}${1===e?")":`, ${e})`}`}function N(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function M(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function j(e){return((e=M(e))<16?"0":"")+e.toString(16)}function W(e,t,r,a){return a<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new E(e,t,r,a)}function A(e){if(e instanceof E)return new E(e.h,e.s,e.l,e.opacity);if(e instanceof a||(e=b(e)),!e)return new E;if(e instanceof E)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),o=Math.max(t,r,n),f=NaN,s=o-i,l=(o+i)/2;return s?(f=t===o?(r-n)/s+(r<n)*6:r===o?(n-t)/s+2:(t-r)/s+4,s/=l<.5?o+i:2-o-i,f*=60):s=l>0&&l<1?0:f,new E(f,s,l,e.opacity)}function E(e,t,r,a){this.h=+e,this.s=+t,this.l=+r,this.opacity=+a}function C(e){return(e=(e||0)%360)<0?e+360:e}function R(e){return Math.max(0,Math.min(1,e||0))}function T(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}t(a,b,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:x,formatHex:x,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return A(this).formatHsl()},formatRgb:p,toString:p}),t(k,y,r(a,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new k(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new k(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new k(M(this.r),M(this.g),M(this.b),N(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:v,formatHex:v,formatHex8:function(){return`#${j(this.r)}${j(this.g)}${j(this.b)}${j((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:$,toString:$})),t(E,function(e,t,r,a){return 1==arguments.length?A(e):new E(e,t,r,null==a?1:a)},r(a,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new E(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new E(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,a=r+(r<.5?r:1-r)*t,n=2*r-a;return new k(T(e>=240?e-240:e+120,n,a),T(e,n,a),T(e<120?e+240:e-120,n,a),this.opacity)},clamp(){return new E(C(this.h),R(this.s),R(this.l),N(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=N(this.opacity);return`${1===e?"hsl(":"hsla("}${C(this.h)}, ${100*R(this.s)}%, ${100*R(this.l)}%${1===e?")":`, ${e})`}`}})),e.s(["default",0,b,"rgb",0,y],321137),e.s(["color",0,b],161610)},77075,e=>{"use strict";var t=e.i(842541);e.s(["interpolateNumber",()=>t.default])},145665,181503,e=>{"use strict";var t=e.i(321137);function r(e,t,r,a,n){var i=e*e,o=i*e;return((1-3*e+3*i-o)*t+(4-6*i+3*o)*r+(1+3*e+3*i-3*o)*a+o*n)/6}let a=e=>()=>e;function n(e,t){var r=t-e;return r?function(t){return e+t*r}:a(isNaN(e)?t:e)}e.s(["default",0,a],181503);let i=function e(r){var i,o=1==(i=+r)?n:function(e,t){var r,n,o;return t-e?(r=e,n=t,r=Math.pow(r,o=i),n=Math.pow(n,o)-r,o=1/o,function(e){return Math.pow(r+e*n,o)}):a(isNaN(e)?t:e)};function f(e,r){var a=o((e=(0,t.rgb)(e)).r,(r=(0,t.rgb)(r)).r),i=o(e.g,r.g),f=o(e.b,r.b),s=n(e.opacity,r.opacity);return function(t){return e.r=a(t),e.g=i(t),e.b=f(t),e.opacity=s(t),e+""}}return f.gamma=e,f}(1);function o(e){return function(r){var a,n,i=r.length,o=Array(i),f=Array(i),s=Array(i);for(a=0;a<i;++a)n=(0,t.rgb)(r[a]),o[a]=n.r||0,f[a]=n.g||0,s[a]=n.b||0;return o=e(o),f=e(f),s=e(s),n.opacity=1,function(e){return n.r=o(e),n.g=f(e),n.b=s(e),n+""}}}o(function(e){var t=e.length-1;return function(a){var n=a<=0?a=0:a>=1?(a=1,t-1):Math.floor(a*t),i=e[n],o=e[n+1],f=n>0?e[n-1]:2*i-o,s=n<t-1?e[n+2]:2*o-i;return r((a-n/t)*t,f,i,o,s)}}),o(function(e){var t=e.length;return function(a){var n=Math.floor(((a%=1)<0?++a:a)*t),i=e[(n+t-1)%t],o=e[n%t],f=e[(n+1)%t],s=e[(n+2)%t];return r((a-n/t)*t,i,o,f,s)}}),e.s(["default",0,i],145665)},647483,e=>{"use strict";var t=e.i(842541),r=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,a=RegExp(r.source,"g");e.s(["default",0,function(e,n){var i,o,f,s,l,u=r.lastIndex=a.lastIndex=0,c=-1,d=[],h=[];for(e+="",n+="";(f=r.exec(e))&&(s=a.exec(n));)(l=s.index)>u&&(l=n.slice(u,l),d[c]?d[c]+=l:d[++c]=l),(f=f[0])===(s=s[0])?d[c]?d[c]+=s:d[++c]=s:(d[++c]=null,h.push({i:c,x:(0,t.default)(f,s)})),u=a.lastIndex;return u<n.length&&(l=n.slice(u),d[c]?d[c]+=l:d[++c]=l),d.length<2?h[0]?(i=h[0].x,function(e){return i(e)+""}):(o=n,function(){return o}):(n=h.length,function(e){for(var t,r=0;r<n;++r)d[(t=h[r]).i]=t.x(e);return d.join("")})}])},819505,238816,97376,e=>{"use strict";e.s(["genericArray",()=>r],819505);var t=e.i(213570);function r(e,r){var a,n=r?r.length:0,i=e?Math.min(n,e.length):0,o=Array(i),f=Array(n);for(a=0;a<i;++a)o[a]=(0,t.default)(e[a],r[a]);for(;a<n;++a)f[a]=r[a];return function(e){for(a=0;a<i;++a)f[a]=o[a](e);return f}}e.s(["default",0,function(e,t){t||(t=[]);var r,a=e?Math.min(t.length,e.length):0,n=t.slice();return function(i){for(r=0;r<a;++r)n[r]=e[r]*(1-i)+t[r]*i;return n}},"isNumberArray",0,function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}],238816),e.s(["default",0,function(e,t){var r=new Date;return e*=1,t*=1,function(a){return r.setTime(e*(1-a)+t*a),r}}],97376)},905660,e=>{"use strict";e.s(["default",()=>r]);var t=e.i(213570);function r(e,r){var a,n={},i={};for(a in(null===e||"object"!=typeof e)&&(e={}),(null===r||"object"!=typeof r)&&(r={}),r)a in e?n[a]=(0,t.default)(e[a],r[a]):i[a]=r[a];return function(e){for(a in n)i[a]=n[a](e);return i}}},678152,213570,e=>{"use strict";e.s(["default",()=>u],213570);var t=e.i(161610),r=e.i(145665),a=e.i(819505),n=e.i(97376),i=e.i(842541),o=e.i(905660),f=e.i(647483),s=e.i(181503),l=e.i(238816);function u(e,u){var c,d=typeof u;return null==u||"boolean"===d?(0,s.default)(u):("number"===d?i.default:"string"===d?(c=(0,t.color)(u))?(u=c,r.default):f.default:u instanceof t.color?r.default:u instanceof Date?n.default:(0,l.isNumberArray)(u)?l.default:Array.isArray(u)?a.genericArray:"function"!=typeof u.valueOf&&"function"!=typeof u.toString||isNaN(u)?o.default:i.default)(e,u)}e.s(["interpolate",0,u],678152)},212603,e=>{"use strict";var t=e.i(344180),r=e.i(465458);e.s(["Card",0,function({className:e,size:a="default",...n}){return(0,t.jsx)("div",{"data-slot":"card","data-size":a,className:(0,r.cn)("group/card flex flex-col gap-4 overflow-hidden rounded-xl bg-card py-4 text-sm text-card-foreground ring-1 ring-foreground/10 has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:gap-3 data-[size=sm]:py-3 data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",e),...n})},"CardContent",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,r.cn)("px-4 group-data-[size=sm]/card:px-3",e),...a})},"CardDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,r.cn)("text-sm text-muted-foreground",e),...a})},"CardHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,r.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-4 group-data-[size=sm]/card:px-3 has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-4 group-data-[size=sm]/card:[.border-b]:pb-3",e),...a})},"CardTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,r.cn)("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...a})}])}]);
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,302773,e=>{"use strict";let t=(0,e.i(816709).create)((e,t)=>({workflows:[],currentWorkflow:null,isLoading:!1,loadWorkflows:async()=>{e({isLoading:!0});try{let t=await fetch("/api/workflows"),r=await t.json();e({workflows:r,isLoading:!1})}catch{e({isLoading:!1})}},createWorkflow:async t=>{let r=await fetch("/api/workflows",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}),a=await r.json();return e(e=>({workflows:[...e.workflows,a]})),a},updateWorkflow:async(e,r)=>{let a=await fetch(`/api/workflows/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)}),n=await a.json();t().upsertWorkflow(n)},deleteWorkflow:async e=>{await fetch(`/api/workflows/${e}`,{method:"DELETE"}),t().removeWorkflow(e)},duplicateWorkflow:async t=>{let r=await fetch(`/api/workflows/${t}/duplicate`,{method:"POST"}),a=await r.json();e(e=>({workflows:[...e.workflows,a]}))},setCurrentWorkflow:t=>e({currentWorkflow:t}),upsertWorkflow:t=>{e(e=>{let r=e.workflows.findIndex(e=>e.id===t.id);if(-1!==r){let a=[...e.workflows];return a[r]=t,{workflows:a}}return{workflows:[...e.workflows,t]}})},removeWorkflow:t=>{e(e=>({workflows:e.workflows.filter(e=>e.id!==t),currentWorkflow:e.currentWorkflow?.id===t?null:e.currentWorkflow}))}}));e.s(["useWorkflowStore",0,t])},867295,e=>{"use strict";let t=(0,e.i(433721).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["default",0,t])},332277,e=>{"use strict";var t=e.i(867295);e.s(["Eye",()=>t.default])},842541,e=>{"use strict";e.s(["default",0,function(e,t){return e*=1,t*=1,function(r){return e*(1-r)+t*r}}])},161610,321137,e=>{"use strict";function t(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function r(e,t){var r=Object.create(e.prototype);for(var a in t)r[a]=t[a];return r}function a(){}var n="\\s*([+-]?\\d+)\\s*",i="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",o="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",f=/^#([0-9a-f]{3,8})$/,s=RegExp(`^rgb\\(${n},${n},${n}\\)$`),l=RegExp(`^rgb\\(${o},${o},${o}\\)$`),u=RegExp(`^rgba\\(${n},${n},${n},${i}\\)$`),c=RegExp(`^rgba\\(${o},${o},${o},${i}\\)$`),d=RegExp(`^hsl\\(${i},${o},${o}\\)$`),h=RegExp(`^hsla\\(${i},${o},${o},${i}\\)$`),g={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function x(){return this.rgb().formatHex()}function p(){return this.rgb().formatRgb()}function b(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=f.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?w(t):3===r?new k(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?m(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?m(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=s.exec(e))?new k(t[1],t[2],t[3],1):(t=l.exec(e))?new k(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=u.exec(e))?m(t[1],t[2],t[3],t[4]):(t=c.exec(e))?m(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=d.exec(e))?W(t[1],t[2]/100,t[3]/100,1):(t=h.exec(e))?W(t[1],t[2]/100,t[3]/100,t[4]):g.hasOwnProperty(e)?w(g[e]):"transparent"===e?new k(NaN,NaN,NaN,0):null}function w(e){return new k(e>>16&255,e>>8&255,255&e,1)}function m(e,t,r,a){return a<=0&&(e=t=r=NaN),new k(e,t,r,a)}function y(e,t,r,n){var i;return 1==arguments.length?((i=e)instanceof a||(i=b(i)),i)?new k((i=i.rgb()).r,i.g,i.b,i.opacity):new k:new k(e,t,r,null==n?1:n)}function k(e,t,r,a){this.r=+e,this.g=+t,this.b=+r,this.opacity=+a}function v(){return`#${j(this.r)}${j(this.g)}${j(this.b)}`}function $(){let e=N(this.opacity);return`${1===e?"rgb(":"rgba("}${M(this.r)}, ${M(this.g)}, ${M(this.b)}${1===e?")":`, ${e})`}`}function N(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function M(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function j(e){return((e=M(e))<16?"0":"")+e.toString(16)}function W(e,t,r,a){return a<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new E(e,t,r,a)}function A(e){if(e instanceof E)return new E(e.h,e.s,e.l,e.opacity);if(e instanceof a||(e=b(e)),!e)return new E;if(e instanceof E)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),o=Math.max(t,r,n),f=NaN,s=o-i,l=(o+i)/2;return s?(f=t===o?(r-n)/s+(r<n)*6:r===o?(n-t)/s+2:(t-r)/s+4,s/=l<.5?o+i:2-o-i,f*=60):s=l>0&&l<1?0:f,new E(f,s,l,e.opacity)}function E(e,t,r,a){this.h=+e,this.s=+t,this.l=+r,this.opacity=+a}function C(e){return(e=(e||0)%360)<0?e+360:e}function R(e){return Math.max(0,Math.min(1,e||0))}function T(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}t(a,b,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:x,formatHex:x,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return A(this).formatHsl()},formatRgb:p,toString:p}),t(k,y,r(a,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new k(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new k(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new k(M(this.r),M(this.g),M(this.b),N(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:v,formatHex:v,formatHex8:function(){return`#${j(this.r)}${j(this.g)}${j(this.b)}${j((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:$,toString:$})),t(E,function(e,t,r,a){return 1==arguments.length?A(e):new E(e,t,r,null==a?1:a)},r(a,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new E(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new E(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,a=r+(r<.5?r:1-r)*t,n=2*r-a;return new k(T(e>=240?e-240:e+120,n,a),T(e,n,a),T(e<120?e+240:e-120,n,a),this.opacity)},clamp(){return new E(C(this.h),R(this.s),R(this.l),N(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=N(this.opacity);return`${1===e?"hsl(":"hsla("}${C(this.h)}, ${100*R(this.s)}%, ${100*R(this.l)}%${1===e?")":`, ${e})`}`}})),e.s(["default",0,b,"rgb",0,y],321137),e.s(["color",0,b],161610)},77075,e=>{"use strict";var t=e.i(842541);e.s(["interpolateNumber",()=>t.default])},145665,181503,e=>{"use strict";var t=e.i(321137);function r(e,t,r,a,n){var i=e*e,o=i*e;return((1-3*e+3*i-o)*t+(4-6*i+3*o)*r+(1+3*e+3*i-3*o)*a+o*n)/6}let a=e=>()=>e;function n(e,t){var r=t-e;return r?function(t){return e+t*r}:a(isNaN(e)?t:e)}e.s(["default",0,a],181503);let i=function e(r){var i,o=1==(i=+r)?n:function(e,t){var r,n,o;return t-e?(r=e,n=t,r=Math.pow(r,o=i),n=Math.pow(n,o)-r,o=1/o,function(e){return Math.pow(r+e*n,o)}):a(isNaN(e)?t:e)};function f(e,r){var a=o((e=(0,t.rgb)(e)).r,(r=(0,t.rgb)(r)).r),i=o(e.g,r.g),f=o(e.b,r.b),s=n(e.opacity,r.opacity);return function(t){return e.r=a(t),e.g=i(t),e.b=f(t),e.opacity=s(t),e+""}}return f.gamma=e,f}(1);function o(e){return function(r){var a,n,i=r.length,o=Array(i),f=Array(i),s=Array(i);for(a=0;a<i;++a)n=(0,t.rgb)(r[a]),o[a]=n.r||0,f[a]=n.g||0,s[a]=n.b||0;return o=e(o),f=e(f),s=e(s),n.opacity=1,function(e){return n.r=o(e),n.g=f(e),n.b=s(e),n+""}}}o(function(e){var t=e.length-1;return function(a){var n=a<=0?a=0:a>=1?(a=1,t-1):Math.floor(a*t),i=e[n],o=e[n+1],f=n>0?e[n-1]:2*i-o,s=n<t-1?e[n+2]:2*o-i;return r((a-n/t)*t,f,i,o,s)}}),o(function(e){var t=e.length;return function(a){var n=Math.floor(((a%=1)<0?++a:a)*t),i=e[(n+t-1)%t],o=e[n%t],f=e[(n+1)%t],s=e[(n+2)%t];return r((a-n/t)*t,i,o,f,s)}}),e.s(["default",0,i],145665)},647483,e=>{"use strict";var t=e.i(842541),r=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,a=RegExp(r.source,"g");e.s(["default",0,function(e,n){var i,o,f,s,l,u=r.lastIndex=a.lastIndex=0,c=-1,d=[],h=[];for(e+="",n+="";(f=r.exec(e))&&(s=a.exec(n));)(l=s.index)>u&&(l=n.slice(u,l),d[c]?d[c]+=l:d[++c]=l),(f=f[0])===(s=s[0])?d[c]?d[c]+=s:d[++c]=s:(d[++c]=null,h.push({i:c,x:(0,t.default)(f,s)})),u=a.lastIndex;return u<n.length&&(l=n.slice(u),d[c]?d[c]+=l:d[++c]=l),d.length<2?h[0]?(i=h[0].x,function(e){return i(e)+""}):(o=n,function(){return o}):(n=h.length,function(e){for(var t,r=0;r<n;++r)d[(t=h[r]).i]=t.x(e);return d.join("")})}])},819505,238816,97376,e=>{"use strict";e.s(["genericArray",()=>r],819505);var t=e.i(213570);function r(e,r){var a,n=r?r.length:0,i=e?Math.min(n,e.length):0,o=Array(i),f=Array(n);for(a=0;a<i;++a)o[a]=(0,t.default)(e[a],r[a]);for(;a<n;++a)f[a]=r[a];return function(e){for(a=0;a<i;++a)f[a]=o[a](e);return f}}e.s(["default",0,function(e,t){t||(t=[]);var r,a=e?Math.min(t.length,e.length):0,n=t.slice();return function(i){for(r=0;r<a;++r)n[r]=e[r]*(1-i)+t[r]*i;return n}},"isNumberArray",0,function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}],238816),e.s(["default",0,function(e,t){var r=new Date;return e*=1,t*=1,function(a){return r.setTime(e*(1-a)+t*a),r}}],97376)},905660,e=>{"use strict";e.s(["default",()=>r]);var t=e.i(213570);function r(e,r){var a,n={},i={};for(a in(null===e||"object"!=typeof e)&&(e={}),(null===r||"object"!=typeof r)&&(r={}),r)a in e?n[a]=(0,t.default)(e[a],r[a]):i[a]=r[a];return function(e){for(a in n)i[a]=n[a](e);return i}}},678152,213570,e=>{"use strict";e.s(["default",()=>u],213570);var t=e.i(161610),r=e.i(145665),a=e.i(819505),n=e.i(97376),i=e.i(842541),o=e.i(905660),f=e.i(647483),s=e.i(181503),l=e.i(238816);function u(e,u){var c,d=typeof u;return null==u||"boolean"===d?(0,s.default)(u):("number"===d?i.default:"string"===d?(c=(0,t.color)(u))?(u=c,r.default):f.default:u instanceof t.color?r.default:u instanceof Date?n.default:(0,l.isNumberArray)(u)?l.default:Array.isArray(u)?a.genericArray:"function"!=typeof u.valueOf&&"function"!=typeof u.toString||isNaN(u)?o.default:i.default)(e,u)}e.s(["interpolate",0,u],678152)},212603,e=>{"use strict";var t=e.i(344180),r=e.i(465458);e.s(["Card",0,function({className:e,size:a="default",...n}){return(0,t.jsx)("div",{"data-slot":"card","data-size":a,className:(0,r.cn)("group/card flex flex-col gap-4 overflow-hidden rounded-xl bg-card py-4 text-sm text-card-foreground ring-1 ring-foreground/10 has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:gap-3 data-[size=sm]:py-3 data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",e),...n})},"CardContent",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,r.cn)("px-4 group-data-[size=sm]/card:px-3",e),...a})},"CardDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,r.cn)("text-sm text-muted-foreground",e),...a})},"CardHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,r.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-4 group-data-[size=sm]/card:px-3 has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-4 group-data-[size=sm]/card:[.border-b]:pb-3",e),...a})},"CardTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,r.cn)("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...a})}])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,770138,e=>{"use strict";var t,r=e.i(344180),a=e.i(764556),s=e.i(720247),o=e.i(775712),n=e.i(953700),l=e.i(267624),i=e.i(887354),d=e.i(579820),c=e.i(511588),u=e.i(244073),x=e.i(816709),m=e.i(437122),p=e.i(157408);let g=(0,x.create)((e,t)=>({board:null,loading:!1,wsAttached:!1,load:async t=>{e({loading:!0});try{let r=await (0,m.fetchWithAuth)(`/api/workspaces/${t}/kanban`);if(r.ok){let t=await r.json();e({board:t,loading:!1})}}catch{}e({loading:!1})},save:async e=>{let{board:r}=t();if(r)try{await (0,m.fetchWithAuth)(`/api/workspaces/${e}/kanban`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({columns:r.columns,tasks:r.tasks,layoutMode:r.layoutMode,title:r.title})})}catch{}},setBoard:t=>e({board:t}),updateLayoutMode:(r,a)=>{let{board:s}=t();s&&(e({board:{...s,layoutMode:a}}),t().save(r))},updateColumns:(r,a)=>{let{board:s}=t();s&&(e({board:{...s,columns:a}}),t().save(r))},updateTasks:(r,a)=>{let{board:s}=t();s&&(e({board:{...s,tasks:a}}),t().save(r))},attachWS:r=>{if(t().wsAttached)return;let a=(0,p.getWS)(r);a.on("kanban.updated",t=>{e({board:t})}),a.on("kanban.deleted",()=>{e({board:null})}),e({wsAttached:!0})}}));var b=e.i(650654),h=e.i(249673),f=e.i(67013),v=e.i(433721);let j=(0,v.default)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);var k=e.i(106530);let y=(0,v.default)("grip-vertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);var w=e.i(244996),N=e.i(511800);let C={low:{text:"text-emerald-700 bg-emerald-50 border border-emerald-100",dot:"bg-emerald-500"},medium:{text:"text-amber-700 bg-amber-50 border border-amber-100",dot:"bg-amber-500"},high:{text:"text-rose-700 bg-rose-50 border border-rose-100",dot:"bg-rose-500"}};function S({task:e,onClick:t,isOverlay:a=!1}){let{attributes:s,listeners:n,setNodeRef:l,transform:i,transition:d,isDragging:c}=(0,o.useSortable)({id:e.id,disabled:a}),x=(0,u.useTranslations)("kanban"),m=a?{transform:"rotate(2.5deg) scale(1.04)",cursor:"grabbing"}:{transform:f.CSS.Transform.toString(i),transition:d,opacity:c?.35:1,cursor:c?"grabbing":"pointer"},p=C[e.priority]||C.medium,g={low:x("low"),medium:x("medium"),high:x("high")},b=e=>{try{return new Date(e).toLocaleDateString(void 0,{month:"short",day:"numeric"})}catch{return e}};return(0,r.jsxs)("div",{ref:l,style:m,onClick:()=>{c||t()},className:`group relative flex flex-col p-4 bg-white dark:bg-neutral-800 rounded-xl border border-stone-200 dark:border-neutral-700 hover:border-stone-400 dark:hover:border-neutral-500 hover:shadow-md transition-all duration-200 ${a?"shadow-2xl border-2 scale-105 rotate-2 z-20":"shadow-xs"}`,...!a?s:{},children:[(0,r.jsxs)("div",{className:"flex items-center justify-between gap-2 mb-2.5",children:[(0,r.jsxs)("span",{className:`flex items-center gap-1 px-2.5 py-0.5 rounded-md text-[10px] font-bold tracking-wider uppercase ${p.text}`,children:[(0,r.jsx)("span",{className:`h-1.5 w-1.5 rounded-full ${p.dot}`}),g[e.priority]]}),!a&&(0,r.jsx)("div",{...n,className:"p-1 text-stone-300 group-hover:text-stone-500 rounded-md hover:bg-stone-50 dark:hover:bg-neutral-700 transition cursor-grab active:cursor-grabbing",onClick:e=>e.stopPropagation(),children:(0,r.jsx)(y,{className:"h-4 w-4"})})]}),(0,r.jsx)("h4",{className:"text-sm font-semibold text-stone-800 dark:text-neutral-100 line-clamp-2 leading-snug mb-1.5",children:e.title}),e.description?(0,r.jsx)("p",{className:"text-xs text-stone-500 dark:text-neutral-400 line-clamp-2 leading-relaxed mb-3",children:e.description}):null,(0,r.jsx)("div",{className:"border-t border-stone-100 dark:border-neutral-700 my-2"}),(0,r.jsxs)("div",{className:"flex items-center justify-between text-[11px] text-stone-400 dark:text-neutral-500 font-medium",children:[(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[e.description?(0,r.jsx)(k.AlignLeft,{className:"h-3.5 w-3.3 text-stone-300"}):null,"done"===e.columnId?(0,r.jsxs)("span",{className:"flex items-center gap-0.5 text-emerald-600 font-bold",children:[(0,r.jsx)(w.CheckCircle2,{className:"h-3.5 w-3.5 text-emerald-500"}),x("done")]}):null,"archive"===e.columnId?(0,r.jsxs)("span",{className:"flex items-center gap-0.5 text-stone-500 font-bold",children:[(0,r.jsx)(N.AlertCircle,{className:"h-3.5 w-3.5 text-stone-400"}),x("archived")]}):null]}),e.dueDate?(0,r.jsxs)("span",{className:`flex items-center gap-1 px-1.5 py-0.5 rounded-md ${new Date(e.dueDate)<new Date&&"done"!==e.columnId&&"archive"!==e.columnId?"text-rose-600 bg-rose-50 font-bold border border-rose-100":"text-stone-500"}`,children:[(0,r.jsx)(j,{className:"h-3 w-3"}),b(e.dueDate)]}):(0,r.jsx)("span",{className:"text-[10px] text-stone-300",children:b(new Date(e.createdAt).toISOString())})]})]})}let D=[{name:"slate",headerBg:"border-t-stone-500 bg-stone-50 dark:bg-neutral-800 text-stone-700 dark:text-neutral-200"},{name:"sky",headerBg:"border-t-sky-500 bg-sky-50/40 dark:bg-sky-950/30 text-sky-700 dark:text-sky-300"},{name:"emerald",headerBg:"border-t-emerald-500 bg-emerald-50/40 dark:bg-emerald-950/30 text-emerald-700 dark:text-emerald-300"},{name:"amber",headerBg:"border-t-amber-500 bg-amber-50/40 dark:bg-amber-950/30 text-amber-700 dark:text-amber-300"},{name:"rose",headerBg:"border-t-rose-500 bg-rose-50/40 dark:bg-rose-950/30 text-rose-700 dark:text-rose-300"},{name:"purple",headerBg:"border-t-purple-500 bg-purple-50/40 dark:bg-purple-950/30 text-purple-700 dark:text-purple-300"}],z={slate:"bg-stone-400",sky:"bg-sky-400",emerald:"bg-emerald-400",amber:"bg-amber-400",rose:"bg-rose-400",purple:"bg-purple-400"};function T({column:e,tasks:t,layoutMode:l,onCardClick:i,onAddTask:d}){let{setNodeRef:c,isOver:x}=(0,s.useDroppable)({id:e.id}),[m,p]=(0,a.useState)(!1),g=D.find(t=>t.name===e.color)||D[0],f=t.map(e=>e.id),v=(0,u.useTranslations)("kanban");return(0,r.jsxs)("div",{ref:c,className:`flex flex-col rounded-2xl border transition-all duration-200 dark:border-neutral-700 ${x?"bg-stone-100/60 dark:bg-neutral-700/40 scale-[1.01] shadow-xs":"bg-stone-50/25 dark:bg-neutral-800/50 border-stone-200 dark:border-neutral-700"} ${"horizontal"===l?"w-full md:w-[310px] lg:w-[330px] shrink-0 h-full max-h-[75vh] md:max-h-[80vh]":"w-full"}`,children:[(0,r.jsxs)("div",{className:`px-4 py-3.5 border-t-2 rounded-t-2xl border-b border-stone-200/80 dark:border-neutral-700 flex items-center justify-between ${g.headerBg}`,children:[(0,r.jsxs)("div",{className:"flex items-center gap-2.5 flex-1 min-w-0",children:[(0,r.jsx)("span",{className:`block h-3 w-3 rounded-full ${z[e.color]||"bg-stone-400"}`}),(0,r.jsx)("h3",{className:"text-sm font-bold truncate",children:e.title}),(0,r.jsx)("span",{className:"bg-stone-200/70 dark:bg-neutral-600 text-stone-700 dark:text-neutral-300 text-[10px] font-bold px-2 py-0.5 rounded-full min-w-[18px] text-center",children:t.length})]}),"vertical"===l&&(0,r.jsx)("button",{onClick:()=>p(!m),className:"p-1 text-stone-400 hover:text-stone-700 dark:hover:text-neutral-200 hover:bg-stone-100 dark:hover:bg-neutral-700 rounded-md transition cursor-pointer",children:m?(0,r.jsx)(b.ChevronDown,{className:"h-4 w-4"}):(0,r.jsx)(h.ChevronUp,{className:"h-4 w-4"})})]}),(!m||"horizontal"===l)&&(0,r.jsxs)("div",{className:`p-3.5 flex-1 flex flex-col gap-3 min-h-[140px] select-none ${"horizontal"===l?"overflow-y-auto":""}`,children:[(0,r.jsx)(o.SortableContext,{items:f,strategy:o.verticalListSortingStrategy,children:t.length>0?(0,r.jsx)("div",{className:`grid gap-3 ${"vertical"===l?"grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4":"grid-cols-1"}`,children:t.map(e=>(0,r.jsx)(S,{task:e,onClick:()=>i(e)},e.id))}):(0,r.jsxs)("div",{className:"flex-1 flex flex-col items-center justify-center py-6 px-4 border border-dashed border-stone-200 dark:border-neutral-600 rounded-xl text-stone-400",children:[(0,r.jsx)("p",{className:"text-xs font-medium",children:v("emptySection")}),(0,r.jsx)("p",{className:"text-[10px] mt-1",children:v("dropHint")})]})}),(0,r.jsxs)("button",{onClick:()=>d(e.id),className:"w-full flex items-center justify-center gap-1.5 py-2 px-3 mt-1 text-xs font-semibold text-stone-500 dark:text-neutral-400 hover:text-stone-900 dark:hover:text-neutral-100 bg-white dark:bg-neutral-800 border border-stone-200 dark:border-neutral-600 hover:border-stone-400 dark:hover:border-neutral-500 rounded-xl transition cursor-pointer",children:[(0,r.jsx)(n.Plus,{className:"h-4 w-4"}),v("addTask")]})]})]})}var L=e.i(989484),B=e.i(137340),I=e.i(444204),$=e.i(681622),A=e.i(788010),P=e.i(817854),E=e.i(260218),M=e.i(188815),O=e.i(209988);e.i(8890);var R=e.i(29905),F=e.i(535270),H=e.i(139236),G=e.i(969490),K=e.i(267805);let U=a.createContext(void 0);var V=e.i(931709),W=e.i(122702),_=e.i(602453),q=e.i(742665);let J=a.forwardRef(function(e,t){let{className:s,defaultPressed:o=!1,disabled:n=!1,form:l,onPressedChange:i,pressed:d,render:c,type:u,value:x,nativeButton:m=!0,style:p,...g}=e,b=(0,H.useBaseUiId)(x||void 0),h=function(e=!0){let t=a.useContext(U);if(void 0===t&&!e)throw Error((0,K.default)(7));return t}(),f=h?.value??[],v=h?void 0:o,j=(n||h?.disabled)??!1,[k,y]=(0,F.useControlled)({controlled:h?void 0!==b&&f.indexOf(b)>-1:d,default:v,name:"Toggle",state:"pressed"}),w=(0,R.useStableCallback)((e,t)=>{b&&h?.setGroupValue?.(b,e,t),i?.(e,t)}),{getButtonProps:N,buttonRef:C}=(0,V.useButton)({disabled:j,native:m}),S={disabled:j,pressed:k},D=[C,t],z=[{"aria-pressed":k,onClick(e){let t=!k,r=(0,_.createChangeEventDetails)(q.REASONS.none,e.nativeEvent);w(t,r),r.isCanceled||y(t)}},g,N],T=(0,G.useRenderElement)("button",e,{enabled:!h,state:S,ref:D,props:z});return h?(0,r.jsx)(W.CompositeItem,{tag:"button",render:c,className:s,style:p,state:S,refs:D,props:z}):T});var Q=e.i(972308),X=e.i(971109);let Y=((t={}).disabled="data-disabled",t.orientation="data-orientation",t.multiple="data-multiple",t),Z={multiple:e=>e?{[Y.multiple]:""}:null},ee=a.forwardRef(function(e,t){let{defaultValue:s,disabled:o=!1,loopFocus:n=!0,onValueChange:l,orientation:i="horizontal",multiple:d=!1,value:c,className:u,render:x,style:m,...p}=e,g=(0,X.useToolbarRootContext)(!0),b=a.useMemo(()=>{if(void 0===c)return s??[]},[c,s]),h=a.useMemo(()=>void 0!==c||void 0!==s,[c,s]),f=(g?.disabled??!1)||o,[v,j]=(0,F.useControlled)({controlled:c,default:b,name:"ToggleGroup",state:"value"}),k=(0,R.useStableCallback)((e,t,r)=>{let a;if(d?(a=v.slice(),t?a.push(e):a.splice(v.indexOf(e),1)):a=t?[e]:[],Array.isArray(a)){if(l?.(a,r),r.isCanceled)return;j(a)}}),y={disabled:f,multiple:d,orientation:i},w=a.useMemo(()=>({disabled:f,orientation:i,setGroupValue:k,value:v,isValueInitialized:h}),[f,i,k,v,h]),N={role:"group"},C=(0,G.useRenderElement)("div",e,{enabled:!!g,state:y,ref:t,props:[N,p],stateAttributesMapping:Z});return(0,r.jsx)(U.Provider,{value:w,children:g?C:(0,r.jsx)(Q.CompositeRoot,{render:x,className:u,style:m,state:y,refs:[t],props:[N,p],stateAttributesMapping:Z,loopFocus:n,enableHomeAndEndKeys:!0,orientation:i})})});var et=e.i(465458);let er=(0,e.i(294237).cva)("group/toggle inline-flex items-center justify-center gap-1 rounded-lg text-sm font-medium whitespace-nowrap transition-all outline-none hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-pressed:bg-muted data-[state=on]:bg-muted dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-muted"},size:{default:"h-8 min-w-8 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",sm:"h-7 min-w-7 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 min-w-9 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2"}},defaultVariants:{variant:"default",size:"default"}}),ea=a.createContext({size:"default",variant:"default",spacing:2,orientation:"horizontal"});function es({className:e,variant:t,size:a,spacing:s=2,orientation:o="horizontal",children:n,...l}){return(0,r.jsx)(ee,{"data-slot":"toggle-group","data-variant":t,"data-size":a,"data-spacing":s,"data-orientation":o,style:{"--gap":s},className:(0,et.cn)("group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] rounded-lg data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-vertical:flex-col data-vertical:items-stretch",e),...l,children:(0,r.jsx)(ea.Provider,{value:{variant:t,size:a,spacing:s,orientation:o},children:n})})}function eo({className:e,children:t,variant:s="default",size:o="default",...n}){let l=a.useContext(ea);return(0,r.jsx)(J,{"data-slot":"toggle-group-item","data-variant":l.variant||s,"data-size":l.size||o,"data-spacing":l.spacing,className:(0,et.cn)("shrink-0 group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 focus:z-10 focus-visible:z-10 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-end]:pr-1.5 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-start]:pl-1.5 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-l-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-r-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-l-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-l group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t",er({variant:l.variant||s,size:l.size||o}),e),...n,children:t})}let en={low:{bg:"bg-emerald-50 text-emerald-700 border-emerald-200 hover:bg-emerald-100",activeBg:"!bg-emerald-600 !text-white !border-emerald-600",dot:"bg-emerald-500"},medium:{bg:"bg-amber-50 text-amber-700 border-amber-200 hover:bg-amber-100",activeBg:"!bg-amber-500 !text-white !border-amber-500",dot:"bg-amber-500"},high:{bg:"bg-rose-50 text-rose-700 border-rose-200 hover:bg-rose-100",activeBg:"!bg-rose-600 !text-white !border-rose-600",dot:"bg-rose-500"}};function el({task:e,columns:t,isOpen:s,onClose:o,onSave:n,onDelete:i}){let[d,c]=(0,a.useState)(""),[x,m]=(0,a.useState)(""),[p,g]=(0,a.useState)("medium"),[b,h]=(0,a.useState)(""),[f,v]=(0,a.useState)(""),[k,y]=(0,a.useState)(!1),w=(0,u.useTranslations)("kanban"),C=(0,u.useTranslations)("common");if((0,a.useEffect)(()=>{e&&(c(e.title),m(e.description),g(e.priority),h(e.columnId),v(e.dueDate||""),y(!1))},[e,s]),!s||!e)return null;let S=t=>{t.preventDefault(),d.trim()&&(n({...e,title:d.trim(),description:x.trim(),priority:p,columnId:b,dueDate:f||void 0}),o())},D={low:w("low"),medium:w("medium"),high:w("high")};return(0,r.jsx)(O.Dialog,{open:s,onOpenChange:e=>{e||o()},children:(0,r.jsxs)(O.DialogContent,{className:"sm:max-w-lg p-0 gap-0 overflow-hidden",children:[(0,r.jsx)(O.DialogHeader,{className:"px-6 py-4 border-b",children:(0,r.jsxs)(O.DialogTitle,{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider flex items-center gap-1.5",children:[(0,r.jsx)(L.FileText,{className:"h-3.5 w-3.5"}),w("taskDetails")]})}),(0,r.jsxs)("form",{onSubmit:S,className:"px-6 py-5 space-y-5",children:[(0,r.jsxs)("div",{className:"space-y-1.5",children:[(0,r.jsxs)(P.Label,{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:[(0,r.jsx)(L.FileText,{className:"h-3.5 w-3.5"}),w("title")]}),(0,r.jsx)($.Input,{type:"text",required:!0,placeholder:w("titlePlaceholder"),value:d,onChange:e=>c(e.target.value),className:"h-9 text-sm font-medium"})]}),(0,r.jsxs)("div",{className:"space-y-1.5",children:[(0,r.jsxs)(P.Label,{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:[(0,r.jsx)(N.AlertCircle,{className:"h-3.5 w-3.5"}),w("descriptionLabel")]}),(0,r.jsx)(A.Textarea,{rows:4,placeholder:w("descriptionPlaceholder"),value:x,onChange:e=>m(e.target.value)})]}),(0,r.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,r.jsxs)("div",{className:"space-y-1.5",children:[(0,r.jsxs)(P.Label,{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:[(0,r.jsx)(l.LayoutGrid,{className:"h-3.5 w-3.5"}),w("sectionLabel")]}),(0,r.jsx)(M.SearchSelect,{value:b,onChange:h,options:t.map(e=>({value:e.id,label:e.title})),placeholder:w("selectSection"),allowCustom:!1})]}),(0,r.jsxs)("div",{className:"space-y-1.5",children:[(0,r.jsxs)(P.Label,{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:[(0,r.jsx)(j,{className:"h-3.5 w-3.5"}),w("dueDate")]}),(0,r.jsx)($.Input,{type:"date",value:f,onChange:e=>v(e.target.value),className:"h-8"})]})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)(P.Label,{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:[(0,r.jsx)(I.Clock,{className:"h-3.5 w-3.5"}),w("priority")]}),(0,r.jsx)(es,{variant:"outline",value:[p],onValueChange:e=>{e.length&&g(e[e.length-1])},className:"grid grid-cols-3 w-full",children:["low","medium","high"].map(e=>{let t=en[e],a=p===e;return(0,r.jsxs)(eo,{value:e,"aria-label":`Priority ${e}`,className:`flex items-center justify-center gap-1.5 text-xs font-semibold ${a?t.activeBg+" !border":t.bg}`,children:[(0,r.jsx)("span",{className:`h-1.5 w-1.5 rounded-full ${a?"bg-white":t.dot}`}),D[e]]},e)})})]})]}),(0,r.jsxs)(O.DialogFooter,{className:"!-mx-0 !-mb-0 px-6 py-4 border-t flex-row justify-between sm:justify-between",children:[k?(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{className:"text-xs font-semibold text-rose-600 animate-pulse",children:w("deleteConfirm")}),(0,r.jsx)(E.Button,{size:"xs",variant:"destructive",onClick:()=>{i(e.id),o()},children:w("yes")}),(0,r.jsx)(E.Button,{size:"xs",variant:"outline",onClick:()=>y(!1),children:C("cancel")})]}):(0,r.jsxs)(E.Button,{size:"sm",variant:"destructive",onClick:()=>y(!0),children:[(0,r.jsx)(B.Trash2,{className:"h-4 w-4"}),C("delete")]}),(0,r.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,r.jsx)(E.Button,{size:"sm",variant:"outline",onClick:o,children:C("cancel")}),(0,r.jsx)(E.Button,{size:"sm",onClick:S,disabled:!d.trim(),children:C("save")})]})]})]})})}let ei=(0,v.default)("panels-top-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]]);var ed=e.i(415360);let ec={sky:"bg-sky-400",amber:"bg-amber-400",emerald:"bg-emerald-400",rose:"bg-rose-400",purple:"bg-purple-400",slate:"bg-stone-400"};function eu({isOpen:e,onClose:t,onCreate:s,onEdit:o,editingColumn:n}){let[l,i]=(0,a.useState)(""),[d,c]=(0,a.useState)("sky"),x=(0,u.useTranslations)("kanban"),m=(0,u.useTranslations)("common");if((0,a.useEffect)(()=>{e&&(n?(i(n.title),c(n.color)):(i(""),c("sky")))},[e,n]),!e)return null;let p=e=>{e.preventDefault(),l.trim()&&(n&&o?o(n.id,l.trim(),d):s(l.trim(),d),t())};return(0,r.jsx)(O.Dialog,{open:e,onOpenChange:e=>{e||t()},children:(0,r.jsxs)(O.DialogContent,{className:"sm:max-w-md p-0 gap-0 overflow-hidden",children:[(0,r.jsx)(O.DialogHeader,{className:"px-6 py-4 border-b",children:(0,r.jsx)(O.DialogTitle,{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:x(n?"editSection":"newSection")})}),(0,r.jsxs)("form",{onSubmit:p,className:"px-6 py-5 space-y-5",children:[(0,r.jsxs)("div",{className:"space-y-1.5",children:[(0,r.jsxs)(P.Label,{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:[(0,r.jsx)(ei,{className:"h-3.5 w-3.5"}),x("sectionName")]}),(0,r.jsx)($.Input,{type:"text",required:!0,autoFocus:!0,placeholder:x("sectionNamePlaceholder"),value:l,onChange:e=>i(e.target.value),maxLength:25,className:"h-9 text-sm font-medium"})]}),(0,r.jsxs)("div",{className:"space-y-2.5",children:[(0,r.jsxs)(P.Label,{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:[(0,r.jsx)(ed.Sparkles,{className:"h-3.5 w-3.5"}),x("theme")]}),(0,r.jsx)("div",{className:"flex items-center gap-3 py-1",children:["sky","amber","emerald","rose","purple","slate"].map(e=>(0,r.jsx)("button",{type:"button",onClick:()=>c(e),className:`h-7 w-7 rounded-full ${ec[e]} hover:scale-115 active:scale-95 transition-all duration-150 cursor-pointer ${d===e?"ring-2 ring-stone-800 dark:ring-neutral-100 ring-offset-2":"opacity-85 hover:opacity-100"}`},e))})]})]}),(0,r.jsxs)(O.DialogFooter,{className:"!-mx-0 !-mb-0 px-6 py-4 border-t flex-row justify-end sm:justify-end",children:[(0,r.jsx)(E.Button,{size:"sm",variant:"outline",onClick:t,children:m("cancel")}),(0,r.jsx)(E.Button,{size:"sm",onClick:p,disabled:!l.trim(),children:m(n?"save":"create")})]})]})})}var ex=e.i(810051);let em={slate:"bg-stone-400",sky:"bg-sky-400",emerald:"bg-emerald-400",amber:"bg-amber-400",rose:"bg-rose-400",purple:"bg-purple-400"};function ep({column:e,onEdit:t,onDelete:s}){let{attributes:n,listeners:l,setNodeRef:i,transform:d,transition:c}=(0,o.useSortable)({id:e.id}),x={transform:f.CSS.Transform.toString(d),transition:c},[m,p]=(0,a.useState)(!1),g=(0,u.useTranslations)("kanban");return(0,r.jsxs)("div",{ref:i,style:x,className:"flex items-center gap-2 px-3 py-2 bg-white dark:bg-neutral-800 border border-stone-200 dark:border-neutral-700 rounded-lg",children:[(0,r.jsx)("button",{...n,...l,className:"cursor-grab active:cursor-grabbing text-stone-400 hover:text-stone-600 dark:hover:text-neutral-300 p-0.5",children:(0,r.jsx)(y,{className:"h-4 w-4"})}),(0,r.jsx)("span",{className:`h-3 w-3 rounded-full shrink-0 ${em[e.color]||"bg-stone-400"}`}),(0,r.jsx)("span",{className:"flex-1 text-sm font-medium truncate",children:e.title}),(0,r.jsx)("button",{onClick:()=>t(e),className:"p-1 text-stone-400 hover:text-stone-700 dark:hover:text-neutral-200 hover:bg-stone-100 dark:hover:bg-neutral-700 rounded-md transition cursor-pointer",children:(0,r.jsx)(ex.Edit2,{className:"h-3.5 w-3.5"})}),m?(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)("button",{onClick:()=>{s(e.id),p(!1)},className:"px-1.5 py-0.5 bg-rose-600 hover:bg-rose-700 text-white font-bold text-[9px] rounded transition cursor-pointer",children:g("confirm")}),(0,r.jsx)("button",{onClick:()=>p(!1),className:"px-1 py-0.5 bg-white dark:bg-neutral-600 border border-stone-200 dark:border-neutral-500 text-stone-600 dark:text-neutral-300 text-[9px] rounded transition cursor-pointer",children:g("no")})]}):(0,r.jsx)("button",{onClick:()=>p(!0),className:"p-1 text-stone-400 hover:text-rose-600 hover:bg-rose-50 dark:hover:bg-rose-950/30 rounded-md transition cursor-pointer",children:(0,r.jsx)(B.Trash2,{className:"h-3.5 w-3.5"})})]})}function eg({isOpen:e,onClose:t,columns:a,onReorder:l,onEdit:i,onDelete:d,onAdd:c}){let x=(0,u.useTranslations)("kanban"),m=(0,s.useSensors)((0,s.useSensor)(s.PointerSensor,{activationConstraint:{distance:8}}));return(0,r.jsx)(O.Dialog,{open:e,onOpenChange:e=>{e||t()},children:(0,r.jsxs)(O.DialogContent,{className:"sm:max-w-md p-0 gap-0 overflow-hidden",children:[(0,r.jsx)(O.DialogHeader,{className:"px-6 py-4 border-b",children:(0,r.jsx)(O.DialogTitle,{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:x("manageSections")})}),(0,r.jsx)("div",{className:"px-4 py-4 max-h-[400px] overflow-y-auto",children:a.length>0?(0,r.jsx)(s.DndContext,{sensors:m,collisionDetection:s.closestCenter,onDragEnd:e=>{let{active:t,over:r}=e;if(!r||t.id===r.id)return;let s=a.findIndex(e=>e.id===t.id),n=a.findIndex(e=>e.id===r.id);-1!==s&&-1!==n&&l((0,o.arrayMove)(a,s,n))},children:(0,r.jsx)(o.SortableContext,{items:a.map(e=>e.id),strategy:o.verticalListSortingStrategy,children:(0,r.jsx)("div",{className:"flex flex-col gap-2",children:a.map(e=>(0,r.jsx)(ep,{column:e,onEdit:i,onDelete:d},e.id))})})}):(0,r.jsx)("p",{className:"text-sm text-stone-400 text-center py-8",children:x("noSections")})}),(0,r.jsx)("div",{className:"px-4 py-3 border-t",children:(0,r.jsxs)(E.Button,{size:"sm",variant:"outline",onClick:c,className:"w-full",children:[(0,r.jsx)(n.Plus,{className:"h-3.5 w-3.5 mr-1.5"}),x("addSection")]})})]})})}e.s(["default",0,function({workspaceId:e}){let{board:t,load:x,updateLayoutMode:m,updateColumns:p,updateTasks:b,setBoard:h,attachWS:f}=g(),[v,j]=(0,a.useState)(""),[k,y]=(0,a.useState)("all"),[w,N]=(0,a.useState)(null),[C,D]=(0,a.useState)(!1),[z,L]=(0,a.useState)(null),[B,I]=(0,a.useState)(!1),[$,A]=(0,a.useState)(null),[P,E]=(0,a.useState)(!1),M=(0,u.useTranslations)("kanban"),O=(0,u.useTranslations)("common");(0,a.useEffect)(()=>{x(e),f(e)},[e,x,f]);let R=t?.columns??[],F=t?.tasks??[],H=t?.layoutMode??"horizontal",G=(0,s.useSensors)((0,s.useSensor)(s.PointerSensor,{activationConstraint:{distance:8}}),(0,s.useSensor)(s.TouchSensor,{activationConstraint:{delay:250,tolerance:6}}),(0,s.useSensor)(s.KeyboardSensor,{coordinateGetter:o.sortableKeyboardCoordinates})),K=F.filter(e=>{let t=e.title.toLowerCase().includes(v.toLowerCase())||e.description.toLowerCase().includes(v.toLowerCase()),r="all"===k||e.priority===k;return t&&r}),U=(0,a.useCallback)(({active:e})=>{let t=F.find(t=>t.id===e.id);t&&L(t)},[F]),V=(0,a.useCallback)(({active:t,over:r})=>{if(!r)return;let a=t.id.toString(),s=r.id.toString();if(a===s||R.some(e=>e.id===a))return;let o=F.find(e=>e.id===a);if(!o)return;let n=R.some(e=>e.id===s)?s:F.find(e=>e.id===s)?.columnId;n&&o.columnId!==n&&b(e,F.map(e=>e.id===a?{...e,columnId:n}:e))},[R,F,e,b]),W=(0,a.useCallback)(({active:t,over:r})=>{if(L(null),!r)return;let a=t.id.toString(),s=r.id.toString();if(R.some(e=>e.id===a)||!F.find(e=>e.id===a))return;let n=R.some(e=>e.id===s)?s:F.find(e=>e.id===s)?.columnId;if(!n)return;let l=F.findIndex(e=>e.id===a),i=F.findIndex(e=>e.id===s),d=F.map(e=>e.id===a?{...e,columnId:n}:e);-1!==i?b(e,(0,o.arrayMove)(d,l,i)):b(e,d)},[R,F,e,b]),_=e=>{N({id:`task-${Date.now()}`,title:M("newTask"),description:"",priority:"medium",columnId:e,order:F.filter(t=>t.columnId===e).length,createdAt:Date.now()}),D(!0)};if(!t)return(0,r.jsx)("div",{className:"flex h-full items-center justify-center text-sm text-muted-foreground",children:O("loading")});let q={all:M("priorityAll"),high:M("priorityHigh"),medium:M("priorityMedium"),low:M("priorityLow")};return(0,r.jsxs)("div",{className:"flex flex-col h-full",children:[(0,r.jsxs)("div",{className:"border-b border-stone-200 dark:border-neutral-700 px-4 py-2.5 flex flex-wrap items-center gap-2",children:[(0,r.jsxs)("div",{className:"relative flex-1 min-w-[150px] max-w-xs",children:[(0,r.jsx)(i.Search,{className:"absolute left-2.5 top-1/2 -translate-y-1/2 h-3.5 w-3.5 text-stone-400"}),(0,r.jsx)("input",{type:"text",placeholder:M("searchPlaceholder"),value:v,onChange:e=>j(e.target.value),className:"w-full pl-8 pr-3 py-1.5 bg-stone-50 dark:bg-neutral-800 border border-stone-200 dark:border-neutral-600 rounded-lg text-xs font-medium focus:outline-none focus:ring-2 focus:ring-stone-500/10 transition"})]}),(0,r.jsx)("div",{className:"flex items-center gap-1 ml-auto",children:["all","high","medium","low"].map(e=>(0,r.jsx)("button",{onClick:()=>y(e),className:`px-2.5 py-1 text-[10px] rounded-full border transition font-medium cursor-pointer ${k===e?"bg-primary text-primary-foreground border-primary":"bg-white dark:bg-neutral-800 dark:border-neutral-600 dark:text-neutral-300 hover:bg-stone-50 text-stone-600 border-stone-200"}`,children:q[e]},e))}),(0,r.jsxs)("button",{onClick:()=>_(R[0]?.id||""),disabled:0===R.length,className:"flex items-center gap-1.5 px-3 py-1.5 bg-primary text-primary-foreground rounded-lg text-xs font-semibold shadow-xs transition cursor-pointer disabled:opacity-50",children:[(0,r.jsx)(n.Plus,{className:"h-3.5 w-3.5"}),M("newCard")]}),(0,r.jsxs)("button",{onClick:()=>E(!0),className:"flex items-center gap-1.5 px-3 py-1.5 bg-white dark:bg-neutral-800 border border-stone-200 dark:border-neutral-600 rounded-lg text-xs font-semibold text-stone-600 dark:text-neutral-300 shadow-xs transition cursor-pointer",children:[(0,r.jsx)(d.Layers,{className:"h-3.5 w-3.5"}),M("section")]}),(0,r.jsxs)("button",{onClick:()=>m(e,"horizontal"===H?"vertical":"horizontal"),className:"flex items-center gap-1.5 px-3 py-1.5 bg-white dark:bg-neutral-800 border border-stone-200 dark:border-neutral-600 rounded-lg text-xs font-semibold text-stone-600 dark:text-neutral-300 shadow-xs transition cursor-pointer",children:[(0,r.jsx)(l.LayoutGrid,{className:"h-3.5 w-3.5"}),"horizontal"===H?M("vertical"):M("horizontal")]})]}),(0,r.jsx)("div",{className:"flex-1 overflow-hidden p-4",children:0===R.length?(0,r.jsxs)("div",{className:"flex-1 flex flex-col items-center justify-center py-16 border border-dashed border-stone-200 dark:border-neutral-600 rounded-3xl",children:[(0,r.jsx)(d.Layers,{className:"h-10 w-10 text-stone-300 mb-3"}),(0,r.jsx)("p",{className:"text-sm font-bold text-stone-500 dark:text-neutral-400",children:M("noSections")}),(0,r.jsxs)("div",{className:"flex gap-2 mt-4",children:[(0,r.jsxs)("button",{onClick:()=>{let t=Date.now();p(e,[...R,...[{title:"Draft",color:"slate"},{title:"Todo",color:"sky"},{title:"In Progress",color:"amber"},{title:"Done",color:"emerald"},{title:"Bug",color:"rose"}].map((e,r)=>({id:`col-${t+r}`,title:e.title,color:e.color,order:r}))])},className:"px-4 py-2 bg-white dark:bg-neutral-800 border border-stone-200 dark:border-neutral-600 text-stone-600 dark:text-neutral-300 rounded-xl text-xs font-bold cursor-pointer hover:bg-stone-50 dark:hover:bg-neutral-700 transition",children:[(0,r.jsx)(c.WandSparkles,{className:"h-3.5 w-3.5 inline mr-1 -mt-0.5"}),M("useTemplate")]}),(0,r.jsx)("button",{onClick:()=>I(!0),className:"px-4 py-2 bg-primary text-primary-foreground rounded-xl text-xs font-bold cursor-pointer",children:M("addSection")})]})]}):(0,r.jsxs)(s.DndContext,{sensors:G,onDragStart:U,onDragOver:V,onDragEnd:W,children:[(0,r.jsxs)("div",{className:`flex-1 h-full ${"horizontal"===H?"flex flex-row overflow-x-auto items-start gap-4 pb-4":"flex flex-col gap-4 overflow-y-auto"}`,children:[(0,r.jsx)(o.SortableContext,{items:R.map(e=>e.id),strategy:"horizontal"===H?o.horizontalListSortingStrategy:o.verticalListSortingStrategy,children:R.map(e=>(0,r.jsx)(T,{column:e,tasks:K.filter(t=>t.columnId===e.id),layoutMode:H,onCardClick:e=>{N(e),D(!0)},onAddTask:_},e.id))}),"horizontal"===H&&(0,r.jsxs)("button",{onClick:()=>I(!0),className:"w-[280px] shrink-0 h-[120px] rounded-2xl border-2 border-dashed border-stone-200 dark:border-neutral-600 hover:border-stone-400 dark:hover:border-neutral-400 text-stone-400 hover:text-stone-800 dark:hover:text-neutral-200 flex flex-col items-center justify-center gap-1.5 transition cursor-pointer",children:[(0,r.jsx)(n.Plus,{className:"h-5 w-5"}),(0,r.jsx)("span",{className:"text-xs font-bold",children:M("newSection")})]})]}),(0,r.jsx)(s.DragOverlay,{dropAnimation:{sideEffects:(0,s.defaultDropAnimationSideEffects)({styles:{active:{opacity:"0.4"}}})},children:z?(0,r.jsx)(S,{task:z,onClick:()=>{},isOverlay:!0}):null})]})}),(0,r.jsx)(el,{task:w,columns:R,isOpen:C,onClose:()=>{D(!1),N(null)},onSave:t=>{b(e,F.some(e=>e.id===t.id)?F.map(e=>e.id===t.id?t:e):[...F,t])},onDelete:t=>{b(e,F.filter(e=>e.id!==t))}}),(0,r.jsx)(eu,{isOpen:B,onClose:()=>{I(!1),A(null)},onCreate:(t,r)=>{let a={id:`col-${Date.now()}`,title:t,color:r,order:R.length};p(e,[...R,a])},onEdit:(t,r,a)=>{p(e,R.map(e=>e.id===t?{...e,title:r,color:a}:e))},editingColumn:$}),(0,r.jsx)(eg,{isOpen:P,onClose:()=>E(!1),columns:R,onReorder:t=>p(e,t.map((e,t)=>({...e,order:t}))),onEdit:e=>{E(!1),A(e),I(!0)},onDelete:t=>{p(e,R.filter(e=>e.id!==t)),b(e,F.filter(e=>e.columnId!==t))},onAdd:()=>{E(!1),I(!0)}})]})}],770138)},683223,e=>{e.n(e.i(770138))}]);
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[701341,["/_next/static/chunks/
|
|
3
|
-
3:I[950396,["/_next/static/chunks/
|
|
4
|
-
4:I[556106,["/_next/static/chunks/
|
|
5
|
-
5:I[694819,["/_next/static/chunks/
|
|
6
|
-
6:I[177053,["/_next/static/chunks/
|
|
7
|
-
7:I[994876,["/_next/static/chunks/
|
|
8
|
-
8:I[242864,["/_next/static/chunks/
|
|
9
|
-
9:I[46907,["/_next/static/chunks/
|
|
10
|
-
a:I[698679,["/_next/static/chunks/
|
|
11
|
-
b:I[360112,["/_next/static/chunks/
|
|
12
|
-
c:I[984642,["/_next/static/chunks/
|
|
13
|
-
12:I[785502,["/_next/static/chunks/
|
|
2
|
+
2:I[701341,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"ZoomWrapper"]
|
|
3
|
+
3:I[950396,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"ThemeProvider"]
|
|
4
|
+
4:I[556106,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"LocaleProvider"]
|
|
5
|
+
5:I[694819,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"ViewportInsets"]
|
|
6
|
+
6:I[177053,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"AuthGuard"]
|
|
7
|
+
7:I[994876,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"AppShell"]
|
|
8
|
+
8:I[242864,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"default"]
|
|
9
|
+
9:I[46907,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"default"]
|
|
10
|
+
a:I[698679,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"CommandPalette"]
|
|
11
|
+
b:I[360112,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"Toaster"]
|
|
12
|
+
c:I[984642,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"ConsolePanel"]
|
|
13
|
+
12:I[785502,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"default",1]
|
|
14
14
|
:HL["/_next/static/chunks/062f9zqctzg.b.css","style"]
|
|
15
|
-
:HL["/_next/static/chunks/
|
|
16
|
-
0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/062f9zqctzg.b.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/
|
|
17
|
-
15:I[990774,["/_next/static/chunks/
|
|
15
|
+
:HL["/_next/static/chunks/0jw8xdk_fpnp0.css","style"]
|
|
16
|
+
0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/062f9zqctzg.b.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/0jw8xdk_fpnp0.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0zjnrbt7inime.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0~u.5r3-t7179.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/0ppr271hz0xoq.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0v6hte2z-32ca.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/11k-.49r~1mfm.js","async":true,"nonce":"$undefined"}],["$","script","script-5",{"src":"/_next/static/chunks/0_vi1a~g4wx46.js","async":true,"nonce":"$undefined"}],["$","script","script-6",{"src":"/_next/static/chunks/18c7g84y01mj0.js","async":true,"nonce":"$undefined"}],["$","script","script-7",{"src":"/_next/static/chunks/0ngk.~kan8wq_.js","async":true,"nonce":"$undefined"}],["$","script","script-8",{"src":"/_next/static/chunks/002_j970b9gdx.js","async":true,"nonce":"$undefined"}],["$","script","script-9",{"src":"/_next/static/chunks/09he0p79ov1rn.js","async":true,"nonce":"$undefined"}],["$","script","script-10",{"src":"/_next/static/chunks/10_niiq0k6o-p.js","async":true,"nonce":"$undefined"}],["$","script","script-11",{"src":"/_next/static/chunks/0j.wxxyoclma5.js","async":true,"nonce":"$undefined"}],["$","script","script-12",{"src":"/_next/static/chunks/04cb4kc9r2pd1.js","async":true,"nonce":"$undefined"}],["$","script","script-13",{"src":"/_next/static/chunks/0fttswpzu69qx.js","async":true,"nonce":"$undefined"}],["$","script","script-14",{"src":"/_next/static/chunks/12tjr0_2ccrtq.js","async":true,"nonce":"$undefined"}],["$","script","script-15",{"src":"/_next/static/chunks/06.kdsa9rr2h1.js","async":true,"nonce":"$undefined"}],["$","script","script-16",{"src":"/_next/static/chunks/1250wo~-5dgyx.js","async":true,"nonce":"$undefined"}],["$","script","script-17",{"src":"/_next/static/chunks/0x5lak8yz7pm7.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"","className":"h-[var(--app-content-height)] overflow-hidden antialiased","suppressHydrationWarning":true,"children":["$","body",null,{"className":"h-[var(--app-content-height)] overflow-hidden font-sans","children":["$","$L2",null,{"children":["$","$L3",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{"children":["$","$L8",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L9",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"}]}],["$","$La",null,{}],["$","$Lb",null,{"richColors":true,"position":"bottom-right"}]]}],["$","$Lc",null,{}]]}]}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L8",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:children:props:children:1:props:children:0:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],"$Ld","$Le"]}]}]],null,"$Lf"]}],{},null,false,null]},null,false,"$@10"]},null,false,null],"$L11",false]],"m":"$undefined","G":["$12",["$L13","$L14"]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"rGXyAK8rgod1NjF3bLZAY"}
|
|
17
|
+
15:I[990774,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"OutletBoundary"]
|
|
18
18
|
16:"$Sreact.suspense"
|
|
19
|
-
19:I[990774,["/_next/static/chunks/
|
|
20
|
-
1b:I[990774,["/_next/static/chunks/
|
|
19
|
+
19:I[990774,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"ViewportBoundary"]
|
|
20
|
+
1b:I[990774,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"MetadataBoundary"]
|
|
21
21
|
d:["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:children:props:children:1:props:children:0:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}]
|
|
22
22
|
e:["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:children:props:children:1:props:children:0:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:children:props:children:1:props:children:0:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]
|
|
23
23
|
f:["$","$L15",null,{"children":["$","$16",null,{"name":"Next.MetadataOutlet","children":"$@17"}]}]
|
|
@@ -25,8 +25,8 @@ f:["$","$L15",null,{"children":["$","$16",null,{"name":"Next.MetadataOutlet","ch
|
|
|
25
25
|
10:"$W18"
|
|
26
26
|
11:["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L19",null,{"children":"$L1a"}],["$","div",null,{"hidden":true,"children":["$","$L1b",null,{"children":["$","$16",null,{"name":"Next.Metadata","children":"$L1c"}]}]}],null]}]
|
|
27
27
|
13:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/062f9zqctzg.b.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]
|
|
28
|
-
14:["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/
|
|
28
|
+
14:["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/0jw8xdk_fpnp0.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]
|
|
29
29
|
1a:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover"}]]
|
|
30
|
-
1d:I[946513,["/_next/static/chunks/
|
|
30
|
+
1d:I[946513,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"IconMark"]
|
|
31
31
|
17:null
|
|
32
32
|
1c:[["$","title","0",{"children":"Agent Spaces"}],["$","meta","1",{"name":"description","content":"Multi-agent collaborative coding workspace"}],["$","link","2",{"rel":"icon","href":"/favicon.ico?favicon.0~ekuj.zhggpa.ico","sizes":"32x32","type":"image/x-icon"}],["$","link","3",{"rel":"icon","href":"/favicon.ico"}],["$","link","4",{"rel":"apple-touch-icon","href":"/apple-touch-icon.png"}],["$","$L1d","5",{}]]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[990774,["/_next/static/chunks/
|
|
3
|
-
3:I[990774,["/_next/static/chunks/
|
|
2
|
+
2:I[990774,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"ViewportBoundary"]
|
|
3
|
+
3:I[990774,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"MetadataBoundary"]
|
|
4
4
|
4:"$Sreact.suspense"
|
|
5
|
-
5:I[946513,["/_next/static/chunks/
|
|
6
|
-
0:{"rsc":["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Agent Spaces"}],["$","meta","1",{"name":"description","content":"Multi-agent collaborative coding workspace"}],["$","link","2",{"rel":"icon","href":"/favicon.ico?favicon.0~ekuj.zhggpa.ico","sizes":"32x32","type":"image/x-icon"}],["$","link","3",{"rel":"icon","href":"/favicon.ico"}],["$","link","4",{"rel":"apple-touch-icon","href":"/apple-touch-icon.png"}],["$","$L5","5",{}]]}]}]}],null]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"
|
|
5
|
+
5:I[946513,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"IconMark"]
|
|
6
|
+
0:{"rsc":["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Agent Spaces"}],["$","meta","1",{"name":"description","content":"Multi-agent collaborative coding workspace"}],["$","link","2",{"rel":"icon","href":"/favicon.ico?favicon.0~ekuj.zhggpa.ico","sizes":"32x32","type":"image/x-icon"}],["$","link","3",{"rel":"icon","href":"/favicon.ico"}],["$","link","4",{"rel":"apple-touch-icon","href":"/apple-touch-icon.png"}],["$","$L5","5",{}]]}]}]}],null]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"rGXyAK8rgod1NjF3bLZAY"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[701341,["/_next/static/chunks/
|
|
3
|
-
3:I[950396,["/_next/static/chunks/
|
|
4
|
-
4:I[556106,["/_next/static/chunks/
|
|
5
|
-
5:I[694819,["/_next/static/chunks/
|
|
6
|
-
6:I[177053,["/_next/static/chunks/
|
|
7
|
-
7:I[994876,["/_next/static/chunks/
|
|
8
|
-
8:I[242864,["/_next/static/chunks/
|
|
9
|
-
9:I[46907,["/_next/static/chunks/
|
|
10
|
-
a:I[698679,["/_next/static/chunks/
|
|
11
|
-
b:I[360112,["/_next/static/chunks/
|
|
12
|
-
c:I[984642,["/_next/static/chunks/
|
|
2
|
+
2:I[701341,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"ZoomWrapper"]
|
|
3
|
+
3:I[950396,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"ThemeProvider"]
|
|
4
|
+
4:I[556106,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"LocaleProvider"]
|
|
5
|
+
5:I[694819,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"ViewportInsets"]
|
|
6
|
+
6:I[177053,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"AuthGuard"]
|
|
7
|
+
7:I[994876,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"AppShell"]
|
|
8
|
+
8:I[242864,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"default"]
|
|
9
|
+
9:I[46907,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"default"]
|
|
10
|
+
a:I[698679,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"CommandPalette"]
|
|
11
|
+
b:I[360112,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"Toaster"]
|
|
12
|
+
c:I[984642,["/_next/static/chunks/0zjnrbt7inime.js","/_next/static/chunks/0~u.5r3-t7179.js","/_next/static/chunks/0ppr271hz0xoq.js","/_next/static/chunks/0v6hte2z-32ca.js","/_next/static/chunks/11k-.49r~1mfm.js","/_next/static/chunks/0_vi1a~g4wx46.js","/_next/static/chunks/18c7g84y01mj0.js","/_next/static/chunks/0ngk.~kan8wq_.js","/_next/static/chunks/002_j970b9gdx.js","/_next/static/chunks/09he0p79ov1rn.js","/_next/static/chunks/10_niiq0k6o-p.js","/_next/static/chunks/0j.wxxyoclma5.js","/_next/static/chunks/04cb4kc9r2pd1.js","/_next/static/chunks/0fttswpzu69qx.js","/_next/static/chunks/12tjr0_2ccrtq.js","/_next/static/chunks/06.kdsa9rr2h1.js","/_next/static/chunks/1250wo~-5dgyx.js","/_next/static/chunks/0x5lak8yz7pm7.js"],"ConsolePanel"]
|
|
13
13
|
:HL["/_next/static/chunks/062f9zqctzg.b.css","style"]
|
|
14
|
-
:HL["/_next/static/chunks/
|
|
15
|
-
0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/062f9zqctzg.b.css","precedence":"next"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/
|
|
14
|
+
:HL["/_next/static/chunks/0jw8xdk_fpnp0.css","style"]
|
|
15
|
+
0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/062f9zqctzg.b.css","precedence":"next"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/0jw8xdk_fpnp0.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0zjnrbt7inime.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0~u.5r3-t7179.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/0ppr271hz0xoq.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0v6hte2z-32ca.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/11k-.49r~1mfm.js","async":true}],["$","script","script-5",{"src":"/_next/static/chunks/0_vi1a~g4wx46.js","async":true}],["$","script","script-6",{"src":"/_next/static/chunks/18c7g84y01mj0.js","async":true}],["$","script","script-7",{"src":"/_next/static/chunks/0ngk.~kan8wq_.js","async":true}],["$","script","script-8",{"src":"/_next/static/chunks/002_j970b9gdx.js","async":true}],["$","script","script-9",{"src":"/_next/static/chunks/09he0p79ov1rn.js","async":true}],["$","script","script-10",{"src":"/_next/static/chunks/10_niiq0k6o-p.js","async":true}],["$","script","script-11",{"src":"/_next/static/chunks/0j.wxxyoclma5.js","async":true}],["$","script","script-12",{"src":"/_next/static/chunks/04cb4kc9r2pd1.js","async":true}],["$","script","script-13",{"src":"/_next/static/chunks/0fttswpzu69qx.js","async":true}],["$","script","script-14",{"src":"/_next/static/chunks/12tjr0_2ccrtq.js","async":true}],["$","script","script-15",{"src":"/_next/static/chunks/06.kdsa9rr2h1.js","async":true}],["$","script","script-16",{"src":"/_next/static/chunks/1250wo~-5dgyx.js","async":true}],["$","script","script-17",{"src":"/_next/static/chunks/0x5lak8yz7pm7.js","async":true}]],["$","html",null,{"lang":"","className":"h-[var(--app-content-height)] overflow-hidden antialiased","suppressHydrationWarning":true,"children":["$","body",null,{"className":"h-[var(--app-content-height)] overflow-hidden font-sans","children":["$","$L2",null,{"children":["$","$L3",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"disableTransitionOnChange":true,"children":["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{"children":["$","$L8",null,{"parallelRouterKey":"children","template":["$","$L9",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}],["$","$La",null,{}],["$","$Lb",null,{"richColors":true,"position":"bottom-right"}]]}],["$","$Lc",null,{}]]}]}]}]}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"rGXyAK8rgod1NjF3bLZAY"}
|