plexus-agent-config 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/package.json +1 -1
  2. package/vendor/plexus-agent-config-core/package.json +1 -1
  3. package/vendor/plexus-agent-config-web/.next/BUILD_ID +1 -1
  4. package/vendor/plexus-agent-config-web/.next/app-path-routes-manifest.json +5 -5
  5. package/vendor/plexus-agent-config-web/.next/build-manifest.json +2 -2
  6. package/vendor/plexus-agent-config-web/.next/prerender-manifest.json +3 -3
  7. package/vendor/plexus-agent-config-web/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  8. package/vendor/plexus-agent-config-web/.next/server/app/_global-error.html +1 -1
  9. package/vendor/plexus-agent-config-web/.next/server/app/_global-error.rsc +1 -1
  10. package/vendor/plexus-agent-config-web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  11. package/vendor/plexus-agent-config-web/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  12. package/vendor/plexus-agent-config-web/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  13. package/vendor/plexus-agent-config-web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  14. package/vendor/plexus-agent-config-web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  15. package/vendor/plexus-agent-config-web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  16. package/vendor/plexus-agent-config-web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  17. package/vendor/plexus-agent-config-web/.next/server/app/about/page_client-reference-manifest.js +1 -1
  18. package/vendor/plexus-agent-config-web/.next/server/app/agents/[id]/page_client-reference-manifest.js +1 -1
  19. package/vendor/plexus-agent-config-web/.next/server/app/api/debug/route.js +1 -1
  20. package/vendor/plexus-agent-config-web/.next/server/app/backups/page_client-reference-manifest.js +1 -1
  21. package/vendor/plexus-agent-config-web/.next/server/app/debug/page.js +1 -1
  22. package/vendor/plexus-agent-config-web/.next/server/app/debug/page_client-reference-manifest.js +1 -1
  23. package/vendor/plexus-agent-config-web/.next/server/app/mcp/page_client-reference-manifest.js +1 -1
  24. package/vendor/plexus-agent-config-web/.next/server/app/mirror/page_client-reference-manifest.js +1 -1
  25. package/vendor/plexus-agent-config-web/.next/server/app/page_client-reference-manifest.js +1 -1
  26. package/vendor/plexus-agent-config-web/.next/server/app/rules/page_client-reference-manifest.js +1 -1
  27. package/vendor/plexus-agent-config-web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  28. package/vendor/plexus-agent-config-web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  29. package/vendor/plexus-agent-config-web/.next/server/app/spread/page_client-reference-manifest.js +1 -1
  30. package/vendor/plexus-agent-config-web/.next/server/app/team/page_client-reference-manifest.js +1 -1
  31. package/vendor/plexus-agent-config-web/.next/server/app-paths-manifest.json +5 -5
  32. package/vendor/plexus-agent-config-web/.next/server/chunks/554.js +1 -1
  33. package/vendor/plexus-agent-config-web/.next/server/middleware-build-manifest.js +1 -1
  34. package/vendor/plexus-agent-config-web/.next/server/pages/500.html +1 -1
  35. package/vendor/plexus-agent-config-web/.next/server/server-reference-manifest.json +1 -1
  36. package/vendor/plexus-agent-config-web/.next/static/chunks/app/{layout-ebb341e17e16f301.js → layout-31e6e6e2c4466423.js} +1 -1
  37. package/vendor/plexus-agent-config-web/node_modules/plexus-agent-config-core/package.json +1 -1
  38. package/vendor/plexus-agent-config-web/package.json +1 -1
  39. /package/vendor/plexus-agent-config-web/.next/static/{F1j5cMKRUWnwXIl46BSnB → 03IYfj2PeWSkzrqtRyC0l}/_buildManifest.js +0 -0
  40. /package/vendor/plexus-agent-config-web/.next/static/{F1j5cMKRUWnwXIl46BSnB → 03IYfj2PeWSkzrqtRyC0l}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- exports.id=554,exports.ids=[554],exports.modules={2183:(a,b,c)=>{"use strict";c.d(b,{AppTopbar:()=>d});let d=(0,c(30274).registerClientReference)(function(){throw Error("Attempted to call AppTopbar() from the server but AppTopbar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Plexus/Plexus/apps/web/components/app-topbar.tsx","AppTopbar")},6302:(a,b,c)=>{"use strict";c.d(b,{AppTopbar:()=>p});var d=c(92692),e=c(84774),f=c(73754),g=c(14579);function h(){let{locale:a,toggleLocale:b}=(0,e.o)();return(0,d.jsxs)(f.Button,{type:"button",variant:"ghost",size:"sm",onClick:b,title:"zh"===a?"Switch to English":"切换到中文",className:"h-9",children:[(0,d.jsx)(g.A,{className:"h-4 w-4",strokeWidth:1.5}),"zh"===a?"English":"中文"]})}var i=c(45813),j=c(52483),k=c(71277);function l({className:a}){let{resolvedTheme:b,setTheme:c}=(0,j.D)(),[e,f]=(0,k.useState)(!1),g=e&&"light"===b;return(0,d.jsx)("button",{type:"button","aria-label":"Toggle theme",title:g?"Switch to dark":"Switch to light",onClick:()=>c(g?"dark":"light"),className:(0,i.cn)("relative h-7 w-14 rounded-full border border-plexus-border bg-plexus-surface-2","transition-colors duration-plexus-normal",a),children:(0,d.jsx)("span",{className:(0,i.cn)("absolute top-[2px] left-[2px] h-[22px] w-[22px] rounded-full bg-plexus-accent","transition-transform duration-plexus-normal ease-plexus-out",g&&"translate-x-7")})})}var m=c(32518),n=c(67994);let o={en:{workspace:"Workspace",configuration:"Configuration",dashboard:"Dashboard",rules:"Rules",mcp:"MCP Servers",skills:"Skills",mirror:"Mirror",backups:"Backups",debug:"Debug",team:"Team",settings:"Settings",agentDetail:"Agent detail",plexus:"Plexus",searchTitle:"Search (coming soon)",search:"Search..."},zh:{workspace:"工作区",configuration:"配置",dashboard:"仪表盘",rules:"规则",mcp:"MCP 服务",skills:"技能",mirror:"镜像同步",backups:"备份",debug:"调试",team:"团队",settings:"设置",agentDetail:"Agent 详情",plexus:"Plexus",searchTitle:"搜索(即将支持)",search:"搜索..."}};function p(){let a=(0,n.usePathname)(),{locale:b}=(0,e.o)(),c=o[b],{group:f,label:g}=function(a,b){let c={"/":b.dashboard,"/rules":b.rules,"/mcp":b.mcp,"/skills":b.skills,"/mirror":b.mirror,"/backups":b.backups,"/debug":b.debug,"/team":b.team,"/settings":b.settings};if("/"===a)return{group:b.workspace,label:b.dashboard};if(a.startsWith("/agents/"))return{group:`${b.workspace} / ${b.dashboard}`,label:b.agentDetail};let d=`/${a.split("/")[1]}`,e=c[d]??b.plexus;return{group:"/backups"===d||"/team"===d||"/settings"===d||"/debug"===d?b.configuration:b.workspace,label:e}}(a,c);return(0,d.jsxs)("header",{className:"flex min-h-[64px] shrink-0 flex-wrap items-center justify-between gap-3 border-b border-plexus-border px-4 py-3 lg:px-10",children:[(0,d.jsxs)("div",{className:"flex min-w-0 flex-wrap items-center gap-3 text-[12px] tracking-[0.02em] text-plexus-text-3",children:[f.split(" / ").map((a,b,c)=>(0,d.jsxs)("span",{className:"flex items-center gap-3",children:[(0,d.jsx)("span",{children:a}),b<c.length-1&&(0,d.jsx)("span",{children:"/"})]},`${a}-${b}`)),(0,d.jsx)("span",{children:"/"}),(0,d.jsx)("span",{className:"text-plexus-text-2",children:g})]}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2 lg:gap-3",children:[(0,d.jsxs)("button",{type:"button",className:"inline-flex h-9 items-center gap-2 rounded border border-transparent px-3 text-plexus-text-2 hover:bg-plexus-surface-2 hover:text-plexus-text",title:c.searchTitle,disabled:!0,children:[(0,d.jsx)(m.A,{className:"h-4 w-4",strokeWidth:1.5}),(0,d.jsx)("span",{className:"text-[12px] tracking-[0.02em] text-plexus-text-3",children:c.search}),(0,d.jsx)("span",{className:"ml-2 rounded border border-plexus-border bg-plexus-surface-2 px-1.5 py-0.5 font-mono text-[11px] text-plexus-text-mute",children:"⌘K"})]}),(0,d.jsx)(h,{}),(0,d.jsx)(l,{}),(0,d.jsx)("div",{className:"grid h-8 w-8 place-items-center rounded-full bg-plexus-accent-faint font-semibold text-plexus-accent",children:"M"})]})]})}},9834:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>n,metadata:()=>m});var d=c(2474),e=c(60303),f=c(2183),g=c(74829),h=c(73422),i=c(76155),j=c(96638),k=c(71749),l=c.n(k);c(21971);let m={title:"Plexus Agent Config",description:"Local dashboard for syncing Claude Code, Cursor, Codex, Gemini CLI, and Qwen Code rules, MCP servers, and skills.",icons:[{rel:"icon",url:"/favicon.svg",type:"image/svg+xml"}]};async function n({children:a}){let b=await (0,j.s)();return(0,d.jsx)("html",{lang:"zh"===b?"zh-CN":"en",suppressHydrationWarning:!0,className:l().variable,children:(0,d.jsx)("body",{children:(0,d.jsx)(h.ThemeProvider,{children:(0,d.jsx)(g.LanguageProvider,{initialLocale:b,children:(0,d.jsx)(i.TooltipProvider,{delayDuration:250,children:(0,d.jsxs)("div",{className:"flex min-h-screen flex-col lg:flex-row",children:[(0,d.jsx)(e.AppSidebar,{}),(0,d.jsxs)("main",{className:"flex min-w-0 flex-1 flex-col",children:[(0,d.jsx)(f.AppTopbar,{}),(0,d.jsx)("div",{className:"mx-auto w-full max-w-[1180px] px-4 py-6 lg:px-10 lg:py-8",children:a})]})]})})},b)})})})}},15115:(a,b,c)=>{Promise.resolve().then(c.bind(c,25029)),Promise.resolve().then(c.bind(c,6302)),Promise.resolve().then(c.bind(c,84774)),Promise.resolve().then(c.bind(c,97944)),Promise.resolve().then(c.bind(c,73257))},21971:()=>{},25029:(a,b,c)=>{"use strict";c.d(b,{AppSidebar:()=>v});var d=c(92692),e=c(84774),f=c(50953),g=c(45813),h=c(77017),i=c(51771),j=c(4486),k=c(18075),l=c(46455),m=c(10210),n=c(61296),o=c(31178),p=c(99705),q=c(58599),r=c.n(q),s=c(67994);let t={en:{tagline:"team agent config",workspace:"Workspace",configuration:"Configuration",dashboard:"Dashboard",rules:"Rules",mcp:"MCP Servers",skills:"Skills",mirror:"Mirror",backups:"Backups",debug:"Debug",team:"Team",settings:"Settings",poweredBy:"Powered by",idle:"Idle",runSync:"Run sync to see status"},zh:{tagline:"团队 AI Agent 配置",workspace:"工作区",configuration:"配置",dashboard:"仪表盘",rules:"规则",mcp:"MCP 服务",skills:"技能",mirror:"镜像同步",backups:"备份",debug:"调试",team:"团队",settings:"设置",poweredBy:"Powered by",idle:"空闲",runSync:"运行同步后查看状态"}};function u({className:a}){return(0,d.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",className:a,fill:"currentColor",children:[(0,d.jsx)("title",{children:"GitHub"}),(0,d.jsx)("path",{d:"M12 .5C5.65.5.5 5.65.5 12c0 5.09 3.29 9.39 7.86 10.91.58.11.79-.25.79-.56v-2.14c-3.2.7-3.88-1.36-3.88-1.36-.52-1.33-1.28-1.69-1.28-1.69-1.05-.72.08-.71.08-.71 1.16.08 1.77 1.19 1.77 1.19 1.03 1.76 2.7 1.25 3.36.96.1-.75.4-1.25.73-1.54-2.55-.29-5.24-1.28-5.24-5.69 0-1.26.45-2.28 1.19-3.09-.12-.29-.52-1.46.11-3.04 0 0 .97-.31 3.16 1.18a10.9 10.9 0 0 1 5.75 0c2.19-1.49 3.16-1.18 3.16-1.18.63 1.58.23 2.75.11 3.04.74.81 1.19 1.83 1.19 3.09 0 4.42-2.69 5.4-5.25 5.69.41.36.78 1.06.78 2.14v3.16c0 .31.21.67.79.56A11.52 11.52 0 0 0 23.5 12C23.5 5.65 18.35.5 12 .5Z"})]})}function v(){let a=(0,s.usePathname)(),{locale:b}=(0,e.o)(),c=t[b];return(0,d.jsxs)("aside",{className:"flex w-full shrink-0 flex-col border-plexus-border border-b bg-plexus-surface px-3 py-5 lg:sticky lg:top-0 lg:h-screen lg:w-[240px] lg:border-r lg:border-b-0",children:[(0,d.jsxs)("div",{className:"mb-6 px-2",children:[(0,d.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,d.jsx)("span",{className:"inline-block h-2.5 w-2.5 rounded-full bg-plexus-accent"}),(0,d.jsx)("span",{className:"plexus-title",children:"Plexus"}),(0,d.jsxs)("span",{className:"font-mono text-[11px] text-plexus-text-3",children:["v","0.0.6"]})]}),(0,d.jsx)("div",{className:"mt-1 px-3 text-[12px] tracking-[0.02em] text-plexus-text-3",children:c.tagline})]}),[{group:c.workspace,items:[{href:"/",label:c.dashboard,icon:h.A},{href:"/rules",label:c.rules,icon:i.A},{href:"/mcp",label:c.mcp,icon:j.A},{href:"/skills",label:c.skills,icon:k.A},{href:"/mirror",label:c.mirror,icon:l.A}]},{group:c.configuration,items:[{href:"/backups",label:c.backups,icon:m.A},{href:"/debug",label:c.debug,icon:n.A},{href:"/team",label:c.team,icon:o.A,beta:!0},{href:"/settings",label:c.settings,icon:p.A}]}].map((b,c)=>(0,d.jsxs)("div",{className:(0,g.cn)("px-1",0===c?"mb-2":""),children:[c>0&&(0,d.jsx)("div",{className:"my-3.5 h-px bg-plexus-border"}),(0,d.jsx)("div",{className:"plexus-eyebrow mb-2 px-2",children:b.group}),(0,d.jsx)("div",{className:"flex flex-col gap-0.5",children:b.items.map(b=>{let c="/"===b.href?"/"===a:a===b.href||a.startsWith(`${b.href}/`),e=b.icon;return(0,d.jsxs)(r(),{href:b.href,className:(0,g.cn)("flex h-8 items-center gap-2.5 rounded-sm px-2.5 text-[13px]","transition-colors duration-plexus-fast ease-plexus-out",c?"bg-plexus-surface-2 text-plexus-text shadow-[inset_2px_0_0_var(--plexus-accent)]":"text-plexus-text-2 hover:bg-plexus-surface-2 hover:text-plexus-text"),children:[(0,d.jsx)(e,{className:"h-4 w-4 shrink-0",strokeWidth:1.5}),(0,d.jsx)("span",{children:b.label}),b.beta&&(0,d.jsx)(f.E,{variant:"beta",className:"ml-auto",children:"beta"})]},b.href)})})]},b.group)),(0,d.jsxs)("div",{className:"mt-auto border-t border-plexus-border px-3 pt-4",children:[(0,d.jsxs)("a",{href:"https://github.com/miniLV/Plexus",target:"_blank",rel:"noreferrer",className:"group mb-4 flex items-center gap-2.5 rounded-md border border-plexus-border bg-plexus-surface-2/70 px-2.5 py-2 shadow-[inset_0_1px_0_rgb(255_255_255/0.035)] transition-colors duration-plexus-fast ease-plexus-out hover:border-plexus-accent/45 hover:bg-plexus-surface-2",children:[(0,d.jsx)("span",{className:"grid h-7 w-7 shrink-0 place-items-center rounded-sm border border-plexus-border bg-plexus-bg text-plexus-text-2 transition-colors duration-plexus-fast ease-plexus-out group-hover:border-plexus-accent/40 group-hover:text-plexus-accent",children:(0,d.jsx)(u,{className:"h-4 w-4"})}),(0,d.jsxs)("span",{className:"min-w-0 leading-none",children:[(0,d.jsx)("span",{className:"block text-[9px] font-medium uppercase tracking-[0.14em] text-plexus-text-mute",children:c.poweredBy}),(0,d.jsx)("span",{className:"mt-1 block text-[13px] font-semibold tracking-[0.01em] text-plexus-text",children:"miniLV"})]})]}),(0,d.jsxs)("div",{className:"mb-1 flex items-center gap-2",children:[(0,d.jsxs)("span",{className:"relative inline-flex h-1.5 w-1.5",children:[(0,d.jsx)("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-plexus-ok opacity-60"}),(0,d.jsx)("span",{className:"relative inline-flex h-1.5 w-1.5 rounded-full bg-plexus-ok"})]}),(0,d.jsx)("span",{className:"text-sm font-medium text-plexus-text",children:c.idle})]}),(0,d.jsx)("div",{className:"text-[12px] tracking-[0.02em] text-plexus-text-3",children:c.runSync})]})]})}},41729:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,32594,23)),Promise.resolve().then(c.t.bind(c,6413,23)),Promise.resolve().then(c.t.bind(c,61437,23)),Promise.resolve().then(c.t.bind(c,99476,23)),Promise.resolve().then(c.t.bind(c,41452,23)),Promise.resolve().then(c.t.bind(c,86792,23)),Promise.resolve().then(c.t.bind(c,48465,23)),Promise.resolve().then(c.t.bind(c,13592,23))},45813:(a,b,c)=>{"use strict";c.d(b,{cn:()=>f});var d=c(9537),e=c(43165);function f(...a){return(0,e.QP)((0,d.$)(a))}},48719:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,32594,23))},50953:(a,b,c)=>{"use strict";c.d(b,{E:()=>g,m:()=>h});var d=c(92692),e=c(45813);let f=(0,c(39923).F)("inline-flex items-center gap-1 rounded-sm px-2 h-5 text-[11px] font-medium tracking-[0.01em]",{variants:{variant:{team:"bg-plexus-info/15 text-plexus-info",personal:"bg-plexus-accent-faint text-plexus-accent",synced:"bg-plexus-ok/15 text-plexus-ok",divergent:"bg-plexus-warn/15 text-plexus-warn",native:"bg-plexus-text-3/15 text-plexus-text-3",beta:"bg-plexus-accent-faint text-plexus-accent border border-plexus-accent/25",danger:"bg-plexus-err/13 text-plexus-err",outline:"border border-plexus-border text-plexus-text-2"}},defaultVariants:{variant:"outline"}});function g({className:a,variant:b,...c}){return(0,d.jsx)("span",{className:(0,e.cn)(f({variant:b}),a),...c})}function h({className:a,tone:b="ok"}){return(0,d.jsx)("span",{className:(0,e.cn)("inline-block h-1.5 w-1.5 rounded-full",{ok:"bg-plexus-ok",warn:"bg-plexus-warn",err:"bg-plexus-err",info:"bg-plexus-info",accent:"bg-plexus-accent",mute:"bg-plexus-text-3"}[b],a)})}},56967:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,25696,23))},60303:(a,b,c)=>{"use strict";c.d(b,{AppSidebar:()=>d});let d=(0,c(30274).registerClientReference)(function(){throw Error("Attempted to call AppSidebar() from the server but AppSidebar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Plexus/Plexus/apps/web/components/app-sidebar.tsx","AppSidebar")},73257:(a,b,c)=>{"use strict";c.d(b,{TooltipProvider:()=>h});var d=c(92692),e=c(45813),f=c(49588),g=c(71277);let h=f.Kq;f.bL,f.l9,(0,g.forwardRef)(({className:a,sideOffset:b=6,...c},g)=>(0,d.jsx)(f.ZL,{children:(0,d.jsx)(f.UC,{ref:g,sideOffset:b,className:(0,e.cn)("z-50 rounded-sm border border-plexus-border bg-plexus-surface-2","px-2 py-1 text-xs text-plexus-text shadow-sm","animate-in fade-in-0 zoom-in-95",a),...c})})).displayName=f.UC.displayName},73422:(a,b,c)=>{"use strict";c.d(b,{ThemeProvider:()=>d});let d=(0,c(30274).registerClientReference)(function(){throw Error("Attempted to call ThemeProvider() from the server but ThemeProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Plexus/Plexus/apps/web/components/theme-provider.tsx","ThemeProvider")},73754:(a,b,c)=>{"use strict";c.d(b,{Button:()=>j});var d=c(92692),e=c(45813),f=c(74745),g=c(39923),h=c(71277);let i=(0,g.F)((0,e.cn)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded font-medium","transition-colors duration-plexus-normal ease-plexus-out","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-plexus-accent/50 focus-visible:ring-offset-1 focus-visible:ring-offset-plexus-bg","disabled:pointer-events-none disabled:opacity-50"),{variants:{variant:{primary:"bg-plexus-accent text-[#1a1a17] hover:bg-plexus-accent-2 border border-plexus-accent",secondary:"bg-plexus-surface-2 text-plexus-text border border-plexus-border hover:bg-plexus-surface hover:border-plexus-border-strong",ghost:"bg-transparent text-plexus-text-2 hover:bg-plexus-surface-2 hover:text-plexus-text border border-transparent",danger:"bg-transparent text-plexus-err border border-plexus-err/35 hover:bg-plexus-err/10","danger-solid":"bg-plexus-err text-white border border-plexus-err hover:bg-plexus-err/90"},size:{default:"h-9 px-3.5 text-sm",sm:"h-7 px-2.5 text-xs",lg:"h-10 px-4 text-sm",icon:"h-9 w-9 p-0"}},defaultVariants:{variant:"secondary",size:"default"}}),j=(0,h.forwardRef)(({className:a,variant:b,size:c,asChild:g=!1,type:h="button",...j},k)=>{let l=g?f.DX:"button";return(0,d.jsx)(l,{ref:k,type:g?void 0:h,className:(0,e.cn)(i({variant:b,size:c}),a),...j})});j.displayName="Button"},74829:(a,b,c)=>{"use strict";c.d(b,{LanguageProvider:()=>e});var d=c(30274);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call LanguageProvider() from the server but LanguageProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Plexus/Plexus/apps/web/components/language-provider.tsx","LanguageProvider");(0,d.registerClientReference)(function(){throw Error("Attempted to call useLanguage() from the server but useLanguage is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Plexus/Plexus/apps/web/components/language-provider.tsx","useLanguage")},76155:(a,b,c)=>{"use strict";c.d(b,{TooltipProvider:()=>e});var d=c(30274);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call TooltipProvider() from the server but TooltipProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Plexus/Plexus/apps/web/components/ui/tooltip.tsx","TooltipProvider");(0,d.registerClientReference)(function(){throw Error("Attempted to call Tooltip() from the server but Tooltip is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Plexus/Plexus/apps/web/components/ui/tooltip.tsx","Tooltip"),(0,d.registerClientReference)(function(){throw Error("Attempted to call TooltipTrigger() from the server but TooltipTrigger is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Plexus/Plexus/apps/web/components/ui/tooltip.tsx","TooltipTrigger"),(0,d.registerClientReference)(function(){throw Error("Attempted to call TooltipContent() from the server but TooltipContent is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Plexus/Plexus/apps/web/components/ui/tooltip.tsx","TooltipContent")},78163:(a,b,c)=>{Promise.resolve().then(c.bind(c,60303)),Promise.resolve().then(c.bind(c,2183)),Promise.resolve().then(c.bind(c,74829)),Promise.resolve().then(c.bind(c,73422)),Promise.resolve().then(c.bind(c,76155))},78177:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,25696,23)),Promise.resolve().then(c.t.bind(c,69411,23)),Promise.resolve().then(c.t.bind(c,8447,23)),Promise.resolve().then(c.t.bind(c,50674,23)),Promise.resolve().then(c.t.bind(c,78886,23)),Promise.resolve().then(c.t.bind(c,24194,23)),Promise.resolve().then(c.t.bind(c,93431,23)),Promise.resolve().then(c.bind(c,23858))},84774:(a,b,c)=>{"use strict";c.d(b,{LanguageProvider:()=>i,o:()=>j});var d=c(92692),e=c(67994),f=c(71277);let g=(0,f.createContext)(null);function h(a){window.localStorage.setItem("plexus.locale",a),document.cookie=`plexus-locale=${a}; path=/; max-age=31536000; samesite=lax`}function i({children:a,initialLocale:b}){let c=(0,e.useRouter)(),[j,k]=(0,f.useState)(b),l=(0,f.useMemo)(()=>({locale:j,setLocale(a){h(a),c.refresh()},toggleLocale(){h("zh"===j?"en":"zh"),c.refresh()}}),[j,c]);return(0,d.jsx)(g.Provider,{value:l,children:a})}function j(){let a=(0,f.useContext)(g);if(!a)throw Error("useLanguage must be used inside LanguageProvider");return a}},96638:(a,b,c)=>{"use strict";c.d(b,{s:()=>f});var d=c(9330);function e(a){if(!a)return null;let b=a.toLowerCase();return"zh"===b||b.startsWith("zh-")?"zh":"en"===b||b.startsWith("en-")?"en":null}async function f(){var a;let b,c=await (0,d.UL)(),f=e(c.get("plexus-locale")?.value);return f?f:(b=(Array.isArray(a=(await (0,d.b3)()).get("accept-language")??void 0)?a.map((a,b)=>({value:a,q:1,index:b})):"string"==typeof a?a.split(",").map((a,b)=>{let[c="",...d]=a.trim().split(";"),e=d.find(a=>a.trim().startsWith("q=")),f=e?Number(e.trim().slice(2)):1;return{value:c,q:Number.isFinite(f)?f:1,index:b}}):[]).map(a=>({...a,locale:e(a.value)})).filter(a=>null!==a.locale).sort((a,b)=>b.q-a.q||a.index-b.index),b[0]?.locale??"en")}},97944:(a,b,c)=>{"use strict";c.d(b,{ThemeProvider:()=>f});var d=c(92692),e=c(52483);function f({children:a}){return(0,d.jsx)(e.N,{attribute:"data-theme",defaultTheme:"light",enableSystem:!0,disableTransitionOnChange:!0,themes:["dark","light"],children:a})}}};
1
+ exports.id=554,exports.ids=[554],exports.modules={2183:(a,b,c)=>{"use strict";c.d(b,{AppTopbar:()=>d});let d=(0,c(30274).registerClientReference)(function(){throw Error("Attempted to call AppTopbar() from the server but AppTopbar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Plexus/Plexus/apps/web/components/app-topbar.tsx","AppTopbar")},6302:(a,b,c)=>{"use strict";c.d(b,{AppTopbar:()=>p});var d=c(92692),e=c(84774),f=c(73754),g=c(14579);function h(){let{locale:a,toggleLocale:b}=(0,e.o)();return(0,d.jsxs)(f.Button,{type:"button",variant:"ghost",size:"sm",onClick:b,title:"zh"===a?"Switch to English":"切换到中文",className:"h-9",children:[(0,d.jsx)(g.A,{className:"h-4 w-4",strokeWidth:1.5}),"zh"===a?"English":"中文"]})}var i=c(45813),j=c(52483),k=c(71277);function l({className:a}){let{resolvedTheme:b,setTheme:c}=(0,j.D)(),[e,f]=(0,k.useState)(!1),g=e&&"light"===b;return(0,d.jsx)("button",{type:"button","aria-label":"Toggle theme",title:g?"Switch to dark":"Switch to light",onClick:()=>c(g?"dark":"light"),className:(0,i.cn)("relative h-7 w-14 rounded-full border border-plexus-border bg-plexus-surface-2","transition-colors duration-plexus-normal",a),children:(0,d.jsx)("span",{className:(0,i.cn)("absolute top-[2px] left-[2px] h-[22px] w-[22px] rounded-full bg-plexus-accent","transition-transform duration-plexus-normal ease-plexus-out",g&&"translate-x-7")})})}var m=c(32518),n=c(67994);let o={en:{workspace:"Workspace",configuration:"Configuration",dashboard:"Dashboard",rules:"Rules",mcp:"MCP Servers",skills:"Skills",mirror:"Mirror",backups:"Backups",debug:"Debug",team:"Team",settings:"Settings",agentDetail:"Agent detail",plexus:"Plexus",searchTitle:"Search (coming soon)",search:"Search..."},zh:{workspace:"工作区",configuration:"配置",dashboard:"仪表盘",rules:"规则",mcp:"MCP 服务",skills:"技能",mirror:"镜像同步",backups:"备份",debug:"调试",team:"团队",settings:"设置",agentDetail:"Agent 详情",plexus:"Plexus",searchTitle:"搜索(即将支持)",search:"搜索..."}};function p(){let a=(0,n.usePathname)(),{locale:b}=(0,e.o)(),c=o[b],{group:f,label:g}=function(a,b){let c={"/":b.dashboard,"/rules":b.rules,"/mcp":b.mcp,"/skills":b.skills,"/mirror":b.mirror,"/backups":b.backups,"/debug":b.debug,"/team":b.team,"/settings":b.settings};if("/"===a)return{group:b.workspace,label:b.dashboard};if(a.startsWith("/agents/"))return{group:`${b.workspace} / ${b.dashboard}`,label:b.agentDetail};let d=`/${a.split("/")[1]}`,e=c[d]??b.plexus;return{group:"/backups"===d||"/team"===d||"/settings"===d||"/debug"===d?b.configuration:b.workspace,label:e}}(a,c);return(0,d.jsxs)("header",{className:"flex min-h-[64px] shrink-0 flex-wrap items-center justify-between gap-3 border-b border-plexus-border px-4 py-3 lg:px-10",children:[(0,d.jsxs)("div",{className:"flex min-w-0 flex-wrap items-center gap-3 text-[12px] tracking-[0.02em] text-plexus-text-3",children:[f.split(" / ").map((a,b,c)=>(0,d.jsxs)("span",{className:"flex items-center gap-3",children:[(0,d.jsx)("span",{children:a}),b<c.length-1&&(0,d.jsx)("span",{children:"/"})]},`${a}-${b}`)),(0,d.jsx)("span",{children:"/"}),(0,d.jsx)("span",{className:"text-plexus-text-2",children:g})]}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2 lg:gap-3",children:[(0,d.jsxs)("button",{type:"button",className:"inline-flex h-9 items-center gap-2 rounded border border-transparent px-3 text-plexus-text-2 hover:bg-plexus-surface-2 hover:text-plexus-text",title:c.searchTitle,disabled:!0,children:[(0,d.jsx)(m.A,{className:"h-4 w-4",strokeWidth:1.5}),(0,d.jsx)("span",{className:"text-[12px] tracking-[0.02em] text-plexus-text-3",children:c.search}),(0,d.jsx)("span",{className:"ml-2 rounded border border-plexus-border bg-plexus-surface-2 px-1.5 py-0.5 font-mono text-[11px] text-plexus-text-mute",children:"⌘K"})]}),(0,d.jsx)(h,{}),(0,d.jsx)(l,{}),(0,d.jsx)("div",{className:"grid h-8 w-8 place-items-center rounded-full bg-plexus-accent-faint font-semibold text-plexus-accent",children:"M"})]})]})}},9834:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>n,metadata:()=>m});var d=c(2474),e=c(60303),f=c(2183),g=c(74829),h=c(73422),i=c(76155),j=c(96638),k=c(71749),l=c.n(k);c(21971);let m={title:"Plexus Agent Config",description:"Local dashboard for syncing Claude Code, Cursor, Codex, Gemini CLI, and Qwen Code rules, MCP servers, and skills.",icons:[{rel:"icon",url:"/favicon.svg",type:"image/svg+xml"}]};async function n({children:a}){let b=await (0,j.s)();return(0,d.jsx)("html",{lang:"zh"===b?"zh-CN":"en",suppressHydrationWarning:!0,className:l().variable,children:(0,d.jsx)("body",{children:(0,d.jsx)(h.ThemeProvider,{children:(0,d.jsx)(g.LanguageProvider,{initialLocale:b,children:(0,d.jsx)(i.TooltipProvider,{delayDuration:250,children:(0,d.jsxs)("div",{className:"flex min-h-screen flex-col lg:flex-row",children:[(0,d.jsx)(e.AppSidebar,{}),(0,d.jsxs)("main",{className:"flex min-w-0 flex-1 flex-col",children:[(0,d.jsx)(f.AppTopbar,{}),(0,d.jsx)("div",{className:"mx-auto w-full max-w-[1180px] px-4 py-6 lg:px-10 lg:py-8",children:a})]})]})})},b)})})})}},15115:(a,b,c)=>{Promise.resolve().then(c.bind(c,25029)),Promise.resolve().then(c.bind(c,6302)),Promise.resolve().then(c.bind(c,84774)),Promise.resolve().then(c.bind(c,97944)),Promise.resolve().then(c.bind(c,73257))},21971:()=>{},25029:(a,b,c)=>{"use strict";c.d(b,{AppSidebar:()=>v});var d=c(92692),e=c(84774),f=c(50953),g=c(45813),h=c(77017),i=c(51771),j=c(4486),k=c(18075),l=c(46455),m=c(10210),n=c(61296),o=c(31178),p=c(99705),q=c(58599),r=c.n(q),s=c(67994);let t={en:{tagline:"team agent config",workspace:"Workspace",configuration:"Configuration",dashboard:"Dashboard",rules:"Rules",mcp:"MCP Servers",skills:"Skills",mirror:"Mirror",backups:"Backups",debug:"Debug",team:"Team",settings:"Settings",poweredBy:"Powered by",idle:"Idle",runSync:"Run sync to see status"},zh:{tagline:"团队 AI Agent 配置",workspace:"工作区",configuration:"配置",dashboard:"仪表盘",rules:"规则",mcp:"MCP 服务",skills:"技能",mirror:"镜像同步",backups:"备份",debug:"调试",team:"团队",settings:"设置",poweredBy:"Powered by",idle:"空闲",runSync:"运行同步后查看状态"}};function u({className:a}){return(0,d.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",className:a,fill:"currentColor",children:[(0,d.jsx)("title",{children:"GitHub"}),(0,d.jsx)("path",{d:"M12 .5C5.65.5.5 5.65.5 12c0 5.09 3.29 9.39 7.86 10.91.58.11.79-.25.79-.56v-2.14c-3.2.7-3.88-1.36-3.88-1.36-.52-1.33-1.28-1.69-1.28-1.69-1.05-.72.08-.71.08-.71 1.16.08 1.77 1.19 1.77 1.19 1.03 1.76 2.7 1.25 3.36.96.1-.75.4-1.25.73-1.54-2.55-.29-5.24-1.28-5.24-5.69 0-1.26.45-2.28 1.19-3.09-.12-.29-.52-1.46.11-3.04 0 0 .97-.31 3.16 1.18a10.9 10.9 0 0 1 5.75 0c2.19-1.49 3.16-1.18 3.16-1.18.63 1.58.23 2.75.11 3.04.74.81 1.19 1.83 1.19 3.09 0 4.42-2.69 5.4-5.25 5.69.41.36.78 1.06.78 2.14v3.16c0 .31.21.67.79.56A11.52 11.52 0 0 0 23.5 12C23.5 5.65 18.35.5 12 .5Z"})]})}function v(){let a=(0,s.usePathname)(),{locale:b}=(0,e.o)(),c=t[b];return(0,d.jsxs)("aside",{className:"flex w-full shrink-0 flex-col border-plexus-border border-b bg-plexus-surface px-3 py-5 lg:sticky lg:top-0 lg:h-screen lg:w-[240px] lg:border-r lg:border-b-0",children:[(0,d.jsxs)("div",{className:"mb-6 px-2",children:[(0,d.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,d.jsx)("span",{className:"inline-block h-2.5 w-2.5 rounded-full bg-plexus-accent"}),(0,d.jsx)("span",{className:"plexus-title",children:"Plexus"}),(0,d.jsxs)("span",{className:"font-mono text-[11px] text-plexus-text-3",children:["v","0.0.7"]})]}),(0,d.jsx)("div",{className:"mt-1 px-3 text-[12px] tracking-[0.02em] text-plexus-text-3",children:c.tagline})]}),[{group:c.workspace,items:[{href:"/",label:c.dashboard,icon:h.A},{href:"/rules",label:c.rules,icon:i.A},{href:"/mcp",label:c.mcp,icon:j.A},{href:"/skills",label:c.skills,icon:k.A},{href:"/mirror",label:c.mirror,icon:l.A}]},{group:c.configuration,items:[{href:"/backups",label:c.backups,icon:m.A},{href:"/debug",label:c.debug,icon:n.A},{href:"/team",label:c.team,icon:o.A,beta:!0},{href:"/settings",label:c.settings,icon:p.A}]}].map((b,c)=>(0,d.jsxs)("div",{className:(0,g.cn)("px-1",0===c?"mb-2":""),children:[c>0&&(0,d.jsx)("div",{className:"my-3.5 h-px bg-plexus-border"}),(0,d.jsx)("div",{className:"plexus-eyebrow mb-2 px-2",children:b.group}),(0,d.jsx)("div",{className:"flex flex-col gap-0.5",children:b.items.map(b=>{let c="/"===b.href?"/"===a:a===b.href||a.startsWith(`${b.href}/`),e=b.icon;return(0,d.jsxs)(r(),{href:b.href,className:(0,g.cn)("flex h-8 items-center gap-2.5 rounded-sm px-2.5 text-[13px]","transition-colors duration-plexus-fast ease-plexus-out",c?"bg-plexus-surface-2 text-plexus-text shadow-[inset_2px_0_0_var(--plexus-accent)]":"text-plexus-text-2 hover:bg-plexus-surface-2 hover:text-plexus-text"),children:[(0,d.jsx)(e,{className:"h-4 w-4 shrink-0",strokeWidth:1.5}),(0,d.jsx)("span",{children:b.label}),b.beta&&(0,d.jsx)(f.E,{variant:"beta",className:"ml-auto",children:"beta"})]},b.href)})})]},b.group)),(0,d.jsxs)("div",{className:"mt-auto border-t border-plexus-border px-3 pt-4",children:[(0,d.jsxs)("a",{href:"https://github.com/miniLV/Plexus",target:"_blank",rel:"noreferrer",className:"group mb-4 flex items-center gap-2.5 rounded-md border border-plexus-border bg-plexus-surface-2/70 px-2.5 py-2 shadow-[inset_0_1px_0_rgb(255_255_255/0.035)] transition-colors duration-plexus-fast ease-plexus-out hover:border-plexus-accent/45 hover:bg-plexus-surface-2",children:[(0,d.jsx)("span",{className:"grid h-7 w-7 shrink-0 place-items-center rounded-sm border border-plexus-border bg-plexus-bg text-plexus-text-2 transition-colors duration-plexus-fast ease-plexus-out group-hover:border-plexus-accent/40 group-hover:text-plexus-accent",children:(0,d.jsx)(u,{className:"h-4 w-4"})}),(0,d.jsxs)("span",{className:"min-w-0 leading-none",children:[(0,d.jsx)("span",{className:"block text-[9px] font-medium uppercase tracking-[0.14em] text-plexus-text-mute",children:c.poweredBy}),(0,d.jsx)("span",{className:"mt-1 block text-[13px] font-semibold tracking-[0.01em] text-plexus-text",children:"miniLV"})]})]}),(0,d.jsxs)("div",{className:"mb-1 flex items-center gap-2",children:[(0,d.jsxs)("span",{className:"relative inline-flex h-1.5 w-1.5",children:[(0,d.jsx)("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-plexus-ok opacity-60"}),(0,d.jsx)("span",{className:"relative inline-flex h-1.5 w-1.5 rounded-full bg-plexus-ok"})]}),(0,d.jsx)("span",{className:"text-sm font-medium text-plexus-text",children:c.idle})]}),(0,d.jsx)("div",{className:"text-[12px] tracking-[0.02em] text-plexus-text-3",children:c.runSync})]})]})}},41729:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,32594,23)),Promise.resolve().then(c.t.bind(c,6413,23)),Promise.resolve().then(c.t.bind(c,61437,23)),Promise.resolve().then(c.t.bind(c,99476,23)),Promise.resolve().then(c.t.bind(c,41452,23)),Promise.resolve().then(c.t.bind(c,86792,23)),Promise.resolve().then(c.t.bind(c,48465,23)),Promise.resolve().then(c.t.bind(c,13592,23))},45813:(a,b,c)=>{"use strict";c.d(b,{cn:()=>f});var d=c(9537),e=c(43165);function f(...a){return(0,e.QP)((0,d.$)(a))}},48719:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,32594,23))},50953:(a,b,c)=>{"use strict";c.d(b,{E:()=>g,m:()=>h});var d=c(92692),e=c(45813);let f=(0,c(39923).F)("inline-flex items-center gap-1 rounded-sm px-2 h-5 text-[11px] font-medium tracking-[0.01em]",{variants:{variant:{team:"bg-plexus-info/15 text-plexus-info",personal:"bg-plexus-accent-faint text-plexus-accent",synced:"bg-plexus-ok/15 text-plexus-ok",divergent:"bg-plexus-warn/15 text-plexus-warn",native:"bg-plexus-text-3/15 text-plexus-text-3",beta:"bg-plexus-accent-faint text-plexus-accent border border-plexus-accent/25",danger:"bg-plexus-err/13 text-plexus-err",outline:"border border-plexus-border text-plexus-text-2"}},defaultVariants:{variant:"outline"}});function g({className:a,variant:b,...c}){return(0,d.jsx)("span",{className:(0,e.cn)(f({variant:b}),a),...c})}function h({className:a,tone:b="ok"}){return(0,d.jsx)("span",{className:(0,e.cn)("inline-block h-1.5 w-1.5 rounded-full",{ok:"bg-plexus-ok",warn:"bg-plexus-warn",err:"bg-plexus-err",info:"bg-plexus-info",accent:"bg-plexus-accent",mute:"bg-plexus-text-3"}[b],a)})}},56967:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,25696,23))},60303:(a,b,c)=>{"use strict";c.d(b,{AppSidebar:()=>d});let d=(0,c(30274).registerClientReference)(function(){throw Error("Attempted to call AppSidebar() from the server but AppSidebar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Plexus/Plexus/apps/web/components/app-sidebar.tsx","AppSidebar")},73257:(a,b,c)=>{"use strict";c.d(b,{TooltipProvider:()=>h});var d=c(92692),e=c(45813),f=c(49588),g=c(71277);let h=f.Kq;f.bL,f.l9,(0,g.forwardRef)(({className:a,sideOffset:b=6,...c},g)=>(0,d.jsx)(f.ZL,{children:(0,d.jsx)(f.UC,{ref:g,sideOffset:b,className:(0,e.cn)("z-50 rounded-sm border border-plexus-border bg-plexus-surface-2","px-2 py-1 text-xs text-plexus-text shadow-sm","animate-in fade-in-0 zoom-in-95",a),...c})})).displayName=f.UC.displayName},73422:(a,b,c)=>{"use strict";c.d(b,{ThemeProvider:()=>d});let d=(0,c(30274).registerClientReference)(function(){throw Error("Attempted to call ThemeProvider() from the server but ThemeProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Plexus/Plexus/apps/web/components/theme-provider.tsx","ThemeProvider")},73754:(a,b,c)=>{"use strict";c.d(b,{Button:()=>j});var d=c(92692),e=c(45813),f=c(74745),g=c(39923),h=c(71277);let i=(0,g.F)((0,e.cn)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded font-medium","transition-colors duration-plexus-normal ease-plexus-out","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-plexus-accent/50 focus-visible:ring-offset-1 focus-visible:ring-offset-plexus-bg","disabled:pointer-events-none disabled:opacity-50"),{variants:{variant:{primary:"bg-plexus-accent text-[#1a1a17] hover:bg-plexus-accent-2 border border-plexus-accent",secondary:"bg-plexus-surface-2 text-plexus-text border border-plexus-border hover:bg-plexus-surface hover:border-plexus-border-strong",ghost:"bg-transparent text-plexus-text-2 hover:bg-plexus-surface-2 hover:text-plexus-text border border-transparent",danger:"bg-transparent text-plexus-err border border-plexus-err/35 hover:bg-plexus-err/10","danger-solid":"bg-plexus-err text-white border border-plexus-err hover:bg-plexus-err/90"},size:{default:"h-9 px-3.5 text-sm",sm:"h-7 px-2.5 text-xs",lg:"h-10 px-4 text-sm",icon:"h-9 w-9 p-0"}},defaultVariants:{variant:"secondary",size:"default"}}),j=(0,h.forwardRef)(({className:a,variant:b,size:c,asChild:g=!1,type:h="button",...j},k)=>{let l=g?f.DX:"button";return(0,d.jsx)(l,{ref:k,type:g?void 0:h,className:(0,e.cn)(i({variant:b,size:c}),a),...j})});j.displayName="Button"},74829:(a,b,c)=>{"use strict";c.d(b,{LanguageProvider:()=>e});var d=c(30274);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call LanguageProvider() from the server but LanguageProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Plexus/Plexus/apps/web/components/language-provider.tsx","LanguageProvider");(0,d.registerClientReference)(function(){throw Error("Attempted to call useLanguage() from the server but useLanguage is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Plexus/Plexus/apps/web/components/language-provider.tsx","useLanguage")},76155:(a,b,c)=>{"use strict";c.d(b,{TooltipProvider:()=>e});var d=c(30274);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call TooltipProvider() from the server but TooltipProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Plexus/Plexus/apps/web/components/ui/tooltip.tsx","TooltipProvider");(0,d.registerClientReference)(function(){throw Error("Attempted to call Tooltip() from the server but Tooltip is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Plexus/Plexus/apps/web/components/ui/tooltip.tsx","Tooltip"),(0,d.registerClientReference)(function(){throw Error("Attempted to call TooltipTrigger() from the server but TooltipTrigger is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Plexus/Plexus/apps/web/components/ui/tooltip.tsx","TooltipTrigger"),(0,d.registerClientReference)(function(){throw Error("Attempted to call TooltipContent() from the server but TooltipContent is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Plexus/Plexus/apps/web/components/ui/tooltip.tsx","TooltipContent")},78163:(a,b,c)=>{Promise.resolve().then(c.bind(c,60303)),Promise.resolve().then(c.bind(c,2183)),Promise.resolve().then(c.bind(c,74829)),Promise.resolve().then(c.bind(c,73422)),Promise.resolve().then(c.bind(c,76155))},78177:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,25696,23)),Promise.resolve().then(c.t.bind(c,69411,23)),Promise.resolve().then(c.t.bind(c,8447,23)),Promise.resolve().then(c.t.bind(c,50674,23)),Promise.resolve().then(c.t.bind(c,78886,23)),Promise.resolve().then(c.t.bind(c,24194,23)),Promise.resolve().then(c.t.bind(c,93431,23)),Promise.resolve().then(c.bind(c,23858))},84774:(a,b,c)=>{"use strict";c.d(b,{LanguageProvider:()=>i,o:()=>j});var d=c(92692),e=c(67994),f=c(71277);let g=(0,f.createContext)(null);function h(a){window.localStorage.setItem("plexus.locale",a),document.cookie=`plexus-locale=${a}; path=/; max-age=31536000; samesite=lax`}function i({children:a,initialLocale:b}){let c=(0,e.useRouter)(),[j,k]=(0,f.useState)(b),l=(0,f.useMemo)(()=>({locale:j,setLocale(a){h(a),c.refresh()},toggleLocale(){h("zh"===j?"en":"zh"),c.refresh()}}),[j,c]);return(0,d.jsx)(g.Provider,{value:l,children:a})}function j(){let a=(0,f.useContext)(g);if(!a)throw Error("useLanguage must be used inside LanguageProvider");return a}},96638:(a,b,c)=>{"use strict";c.d(b,{s:()=>f});var d=c(9330);function e(a){if(!a)return null;let b=a.toLowerCase();return"zh"===b||b.startsWith("zh-")?"zh":"en"===b||b.startsWith("en-")?"en":null}async function f(){var a;let b,c=await (0,d.UL)(),f=e(c.get("plexus-locale")?.value);return f?f:(b=(Array.isArray(a=(await (0,d.b3)()).get("accept-language")??void 0)?a.map((a,b)=>({value:a,q:1,index:b})):"string"==typeof a?a.split(",").map((a,b)=>{let[c="",...d]=a.trim().split(";"),e=d.find(a=>a.trim().startsWith("q=")),f=e?Number(e.trim().slice(2)):1;return{value:c,q:Number.isFinite(f)?f:1,index:b}}):[]).map(a=>({...a,locale:e(a.value)})).filter(a=>null!==a.locale).sort((a,b)=>b.q-a.q||a.index-b.index),b[0]?.locale??"en")}},97944:(a,b,c)=>{"use strict";c.d(b,{ThemeProvider:()=>f});var d=c(92692),e=c(52483);function f({children:a}){return(0,d.jsx)(e.N,{attribute:"data-theme",defaultTheme:"light",enableSystem:!0,disableTransitionOnChange:!0,themes:["dark","light"],children:a})}}};
@@ -1 +1 @@
1
- globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],lowPriorityFiles:["static/F1j5cMKRUWnwXIl46BSnB/_buildManifest.js","static/F1j5cMKRUWnwXIl46BSnB/_ssgManifest.js"],rootMainFiles:["static/chunks/webpack-59c0cf3deef5f26f.js","static/chunks/87c73c54-f46fec743414da25.js","static/chunks/1968-5981314117a6ea1f.js","static/chunks/main-app-e8d8ab3098122763.js"],rootMainFilesTree:{},pages:{"/_app":[]}};
1
+ globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],lowPriorityFiles:["static/03IYfj2PeWSkzrqtRyC0l/_buildManifest.js","static/03IYfj2PeWSkzrqtRyC0l/_ssgManifest.js"],rootMainFiles:["static/chunks/webpack-59c0cf3deef5f26f.js","static/chunks/87c73c54-f46fec743414da25.js","static/chunks/1968-5981314117a6ea1f.js","static/chunks/main-app-e8d8ab3098122763.js"],rootMainFilesTree:{},pages:{"/_app":[]}};
@@ -1 +1 @@
1
- <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-59c0cf3deef5f26f.js"/><script src="/_next/static/chunks/87c73c54-f46fec743414da25.js" async=""></script><script src="/_next/static/chunks/1968-5981314117a6ea1f.js" async=""></script><script src="/_next/static/chunks/main-app-e8d8ab3098122763.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-59c0cf3deef5f26f.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[9630,[],\"\"]\n3:I[1380,[],\"\"]\n4:I[887,[],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[887,[],\"ViewportBoundary\"]\na:I[887,[],\"MetadataBoundary\"]\nc:I[5718,[],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"_global-error\",{\"children\":[\"__PAGE__\",{}]}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"F1j5cMKRUWnwXIl46BSnB\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\nb:[]\n"])</script></body></html>
1
+ <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-59c0cf3deef5f26f.js"/><script src="/_next/static/chunks/87c73c54-f46fec743414da25.js" async=""></script><script src="/_next/static/chunks/1968-5981314117a6ea1f.js" async=""></script><script src="/_next/static/chunks/main-app-e8d8ab3098122763.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-59c0cf3deef5f26f.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[9630,[],\"\"]\n3:I[1380,[],\"\"]\n4:I[887,[],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[887,[],\"ViewportBoundary\"]\na:I[887,[],\"MetadataBoundary\"]\nc:I[5718,[],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"_global-error\",{\"children\":[\"__PAGE__\",{}]}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"03IYfj2PeWSkzrqtRyC0l\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\nb:[]\n"])</script></body></html>
@@ -1 +1 @@
1
- {"node":{},"edge":{},"encryptionKey":"mx5yWa+93Xx7I24B7zAVsmY+ZHHbzBu2bn3IlSw60Ag="}
1
+ {"node":{},"edge":{},"encryptionKey":"JEasTUkhXChtbgDtzacATRcEN/RvvbPjnGy3YnCbdgI="}
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{572:(e,s,t)=>{"use strict";t.d(s,{ThemeProvider:()=>l});var r=t(4568),a=t(9227);function l({children:e}){return(0,r.jsx)(a.N,{attribute:"data-theme",defaultTheme:"light",enableSystem:!0,disableTransitionOnChange:!0,themes:["dark","light"],children:e})}},1107:(e,s,t)=>{"use strict";t.d(s,{AppSidebar:()=>w});var r=t(4568),a=t(6439),l=t(6197),n=t(7483),i=t(4435),o=t(6581),u=t(5830),x=t(1207),c=t(7939),p=t(2928),d=t(6706),b=t(6356),m=t(5885),h=t(5587),g=t.n(h),f=t(9748);let v={en:{tagline:"team agent config",workspace:"Workspace",configuration:"Configuration",dashboard:"Dashboard",rules:"Rules",mcp:"MCP Servers",skills:"Skills",mirror:"Mirror",backups:"Backups",debug:"Debug",team:"Team",settings:"Settings",poweredBy:"Powered by",idle:"Idle",runSync:"Run sync to see status"},zh:{tagline:"团队 AI Agent 配置",workspace:"工作区",configuration:"配置",dashboard:"仪表盘",rules:"规则",mcp:"MCP 服务",skills:"技能",mirror:"镜像同步",backups:"备份",debug:"调试",team:"团队",settings:"设置",poweredBy:"Powered by",idle:"空闲",runSync:"运行同步后查看状态"}};function k({className:e}){return(0,r.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",className:e,fill:"currentColor",children:[(0,r.jsx)("title",{children:"GitHub"}),(0,r.jsx)("path",{d:"M12 .5C5.65.5.5 5.65.5 12c0 5.09 3.29 9.39 7.86 10.91.58.11.79-.25.79-.56v-2.14c-3.2.7-3.88-1.36-3.88-1.36-.52-1.33-1.28-1.69-1.28-1.69-1.05-.72.08-.71.08-.71 1.16.08 1.77 1.19 1.77 1.19 1.03 1.76 2.7 1.25 3.36.96.1-.75.4-1.25.73-1.54-2.55-.29-5.24-1.28-5.24-5.69 0-1.26.45-2.28 1.19-3.09-.12-.29-.52-1.46.11-3.04 0 0 .97-.31 3.16 1.18a10.9 10.9 0 0 1 5.75 0c2.19-1.49 3.16-1.18 3.16-1.18.63 1.58.23 2.75.11 3.04.74.81 1.19 1.83 1.19 3.09 0 4.42-2.69 5.4-5.25 5.69.41.36.78 1.06.78 2.14v3.16c0 .31.21.67.79.56A11.52 11.52 0 0 0 23.5 12C23.5 5.65 18.35.5 12 .5Z"})]})}function w(){let e=(0,f.usePathname)(),{locale:s}=(0,a.o)(),t=v[s];return(0,r.jsxs)("aside",{className:"flex w-full shrink-0 flex-col border-plexus-border border-b bg-plexus-surface px-3 py-5 lg:sticky lg:top-0 lg:h-screen lg:w-[240px] lg:border-r lg:border-b-0",children:[(0,r.jsxs)("div",{className:"mb-6 px-2",children:[(0,r.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,r.jsx)("span",{className:"inline-block h-2.5 w-2.5 rounded-full bg-plexus-accent"}),(0,r.jsx)("span",{className:"plexus-title",children:"Plexus"}),(0,r.jsxs)("span",{className:"font-mono text-[11px] text-plexus-text-3",children:["v","0.0.6"]})]}),(0,r.jsx)("div",{className:"mt-1 px-3 text-[12px] tracking-[0.02em] text-plexus-text-3",children:t.tagline})]}),[{group:t.workspace,items:[{href:"/",label:t.dashboard,icon:i.A},{href:"/rules",label:t.rules,icon:o.A},{href:"/mcp",label:t.mcp,icon:u.A},{href:"/skills",label:t.skills,icon:x.A},{href:"/mirror",label:t.mirror,icon:c.A}]},{group:t.configuration,items:[{href:"/backups",label:t.backups,icon:p.A},{href:"/debug",label:t.debug,icon:d.A},{href:"/team",label:t.team,icon:b.A,beta:!0},{href:"/settings",label:t.settings,icon:m.A}]}].map((s,t)=>(0,r.jsxs)("div",{className:(0,n.cn)("px-1",0===t?"mb-2":""),children:[t>0&&(0,r.jsx)("div",{className:"my-3.5 h-px bg-plexus-border"}),(0,r.jsx)("div",{className:"plexus-eyebrow mb-2 px-2",children:s.group}),(0,r.jsx)("div",{className:"flex flex-col gap-0.5",children:s.items.map(s=>{let t="/"===s.href?"/"===e:e===s.href||e.startsWith(`${s.href}/`),a=s.icon;return(0,r.jsxs)(g(),{href:s.href,className:(0,n.cn)("flex h-8 items-center gap-2.5 rounded-sm px-2.5 text-[13px]","transition-colors duration-plexus-fast ease-plexus-out",t?"bg-plexus-surface-2 text-plexus-text shadow-[inset_2px_0_0_var(--plexus-accent)]":"text-plexus-text-2 hover:bg-plexus-surface-2 hover:text-plexus-text"),children:[(0,r.jsx)(a,{className:"h-4 w-4 shrink-0",strokeWidth:1.5}),(0,r.jsx)("span",{children:s.label}),s.beta&&(0,r.jsx)(l.E,{variant:"beta",className:"ml-auto",children:"beta"})]},s.href)})})]},s.group)),(0,r.jsxs)("div",{className:"mt-auto border-t border-plexus-border px-3 pt-4",children:[(0,r.jsxs)("a",{href:"https://github.com/miniLV/Plexus",target:"_blank",rel:"noreferrer",className:"group mb-4 flex items-center gap-2.5 rounded-md border border-plexus-border bg-plexus-surface-2/70 px-2.5 py-2 shadow-[inset_0_1px_0_rgb(255_255_255/0.035)] transition-colors duration-plexus-fast ease-plexus-out hover:border-plexus-accent/45 hover:bg-plexus-surface-2",children:[(0,r.jsx)("span",{className:"grid h-7 w-7 shrink-0 place-items-center rounded-sm border border-plexus-border bg-plexus-bg text-plexus-text-2 transition-colors duration-plexus-fast ease-plexus-out group-hover:border-plexus-accent/40 group-hover:text-plexus-accent",children:(0,r.jsx)(k,{className:"h-4 w-4"})}),(0,r.jsxs)("span",{className:"min-w-0 leading-none",children:[(0,r.jsx)("span",{className:"block text-[9px] font-medium uppercase tracking-[0.14em] text-plexus-text-mute",children:t.poweredBy}),(0,r.jsx)("span",{className:"mt-1 block text-[13px] font-semibold tracking-[0.01em] text-plexus-text",children:"miniLV"})]})]}),(0,r.jsxs)("div",{className:"mb-1 flex items-center gap-2",children:[(0,r.jsxs)("span",{className:"relative inline-flex h-1.5 w-1.5",children:[(0,r.jsx)("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-plexus-ok opacity-60"}),(0,r.jsx)("span",{className:"relative inline-flex h-1.5 w-1.5 rounded-full bg-plexus-ok"})]}),(0,r.jsx)("span",{className:"text-sm font-medium text-plexus-text",children:t.idle})]}),(0,r.jsx)("div",{className:"text-[12px] tracking-[0.02em] text-plexus-text-3",children:t.runSync})]})]})}},1458:(e,s,t)=>{"use strict";t.d(s,{AppTopbar:()=>m});var r=t(4568),a=t(6439),l=t(7788),n=t(3913);function i(){let{locale:e,toggleLocale:s}=(0,a.o)();return(0,r.jsxs)(l.Button,{type:"button",variant:"ghost",size:"sm",onClick:s,title:"zh"===e?"Switch to English":"切换到中文",className:"h-9",children:[(0,r.jsx)(n.A,{className:"h-4 w-4",strokeWidth:1.5}),"zh"===e?"English":"中文"]})}var o=t(7483),u=t(9227),x=t(7620);function c({className:e}){let{resolvedTheme:s,setTheme:t}=(0,u.D)(),[a,l]=(0,x.useState)(!1);(0,x.useEffect)(()=>l(!0),[]);let n=a&&"light"===s;return(0,r.jsx)("button",{type:"button","aria-label":"Toggle theme",title:n?"Switch to dark":"Switch to light",onClick:()=>t(n?"dark":"light"),className:(0,o.cn)("relative h-7 w-14 rounded-full border border-plexus-border bg-plexus-surface-2","transition-colors duration-plexus-normal",e),children:(0,r.jsx)("span",{className:(0,o.cn)("absolute top-[2px] left-[2px] h-[22px] w-[22px] rounded-full bg-plexus-accent","transition-transform duration-plexus-normal ease-plexus-out",n&&"translate-x-7")})})}var p=t(8742),d=t(9748);let b={en:{workspace:"Workspace",configuration:"Configuration",dashboard:"Dashboard",rules:"Rules",mcp:"MCP Servers",skills:"Skills",mirror:"Mirror",backups:"Backups",debug:"Debug",team:"Team",settings:"Settings",agentDetail:"Agent detail",plexus:"Plexus",searchTitle:"Search (coming soon)",search:"Search..."},zh:{workspace:"工作区",configuration:"配置",dashboard:"仪表盘",rules:"规则",mcp:"MCP 服务",skills:"技能",mirror:"镜像同步",backups:"备份",debug:"调试",team:"团队",settings:"设置",agentDetail:"Agent 详情",plexus:"Plexus",searchTitle:"搜索(即将支持)",search:"搜索..."}};function m(){let e=(0,d.usePathname)(),{locale:s}=(0,a.o)(),t=b[s],{group:l,label:n}=function(e,s){let t={"/":s.dashboard,"/rules":s.rules,"/mcp":s.mcp,"/skills":s.skills,"/mirror":s.mirror,"/backups":s.backups,"/debug":s.debug,"/team":s.team,"/settings":s.settings};if("/"===e)return{group:s.workspace,label:s.dashboard};if(e.startsWith("/agents/"))return{group:`${s.workspace} / ${s.dashboard}`,label:s.agentDetail};let r=`/${e.split("/")[1]}`,a=t[r]??s.plexus;return{group:"/backups"===r||"/team"===r||"/settings"===r||"/debug"===r?s.configuration:s.workspace,label:a}}(e,t);return(0,r.jsxs)("header",{className:"flex min-h-[64px] shrink-0 flex-wrap items-center justify-between gap-3 border-b border-plexus-border px-4 py-3 lg:px-10",children:[(0,r.jsxs)("div",{className:"flex min-w-0 flex-wrap items-center gap-3 text-[12px] tracking-[0.02em] text-plexus-text-3",children:[l.split(" / ").map((e,s,t)=>(0,r.jsxs)("span",{className:"flex items-center gap-3",children:[(0,r.jsx)("span",{children:e}),s<t.length-1&&(0,r.jsx)("span",{children:"/"})]},`${e}-${s}`)),(0,r.jsx)("span",{children:"/"}),(0,r.jsx)("span",{className:"text-plexus-text-2",children:n})]}),(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-2 lg:gap-3",children:[(0,r.jsxs)("button",{type:"button",className:"inline-flex h-9 items-center gap-2 rounded border border-transparent px-3 text-plexus-text-2 hover:bg-plexus-surface-2 hover:text-plexus-text",title:t.searchTitle,disabled:!0,children:[(0,r.jsx)(p.A,{className:"h-4 w-4",strokeWidth:1.5}),(0,r.jsx)("span",{className:"text-[12px] tracking-[0.02em] text-plexus-text-3",children:t.search}),(0,r.jsx)("span",{className:"ml-2 rounded border border-plexus-border bg-plexus-surface-2 px-1.5 py-0.5 font-mono text-[11px] text-plexus-text-mute",children:"⌘K"})]}),(0,r.jsx)(i,{}),(0,r.jsx)(c,{}),(0,r.jsx)("div",{className:"grid h-8 w-8 place-items-center rounded-full bg-plexus-accent-faint font-semibold text-plexus-accent",children:"M"})]})]})}},4309:(e,s,t)=>{Promise.resolve().then(t.bind(t,1107)),Promise.resolve().then(t.bind(t,1458)),Promise.resolve().then(t.bind(t,6439)),Promise.resolve().then(t.bind(t,572)),Promise.resolve().then(t.bind(t,4757)),Promise.resolve().then(t.t.bind(t,3597,23)),Promise.resolve().then(t.t.bind(t,6944,23))},4757:(e,s,t)=>{"use strict";t.d(s,{TooltipProvider:()=>i});var r=t(4568),a=t(7483),l=t(7257),n=t(7620);let i=l.Kq;l.bL,l.l9,(0,n.forwardRef)(({className:e,sideOffset:s=6,...t},n)=>(0,r.jsx)(l.ZL,{children:(0,r.jsx)(l.UC,{ref:n,sideOffset:s,className:(0,a.cn)("z-50 rounded-sm border border-plexus-border bg-plexus-surface-2","px-2 py-1 text-xs text-plexus-text shadow-sm","animate-in fade-in-0 zoom-in-95",e),...t})})).displayName=l.UC.displayName},6197:(e,s,t)=>{"use strict";t.d(s,{E:()=>n,m:()=>i});var r=t(4568),a=t(7483);let l=(0,t(1397).F)("inline-flex items-center gap-1 rounded-sm px-2 h-5 text-[11px] font-medium tracking-[0.01em]",{variants:{variant:{team:"bg-plexus-info/15 text-plexus-info",personal:"bg-plexus-accent-faint text-plexus-accent",synced:"bg-plexus-ok/15 text-plexus-ok",divergent:"bg-plexus-warn/15 text-plexus-warn",native:"bg-plexus-text-3/15 text-plexus-text-3",beta:"bg-plexus-accent-faint text-plexus-accent border border-plexus-accent/25",danger:"bg-plexus-err/13 text-plexus-err",outline:"border border-plexus-border text-plexus-text-2"}},defaultVariants:{variant:"outline"}});function n({className:e,variant:s,...t}){return(0,r.jsx)("span",{className:(0,a.cn)(l({variant:s}),e),...t})}function i({className:e,tone:s="ok"}){return(0,r.jsx)("span",{className:(0,a.cn)("inline-block h-1.5 w-1.5 rounded-full",{ok:"bg-plexus-ok",warn:"bg-plexus-warn",err:"bg-plexus-err",info:"bg-plexus-info",accent:"bg-plexus-accent",mute:"bg-plexus-text-3"}[s],e)})}},6439:(e,s,t)=>{"use strict";t.d(s,{LanguageProvider:()=>x,o:()=>c});var r=t(4568);let a="plexus.locale";function l(e){if(!e)return null;let s=e.toLowerCase();return"zh"===s||s.startsWith("zh-")?"zh":"en"===s||s.startsWith("en-")?"en":null}var n=t(9748),i=t(7620);let o=(0,i.createContext)(null);function u(e){window.localStorage.setItem(a,e),document.cookie=`plexus-locale=${e}; path=/; max-age=31536000; samesite=lax`}function x({children:e,initialLocale:s}){let t=(0,n.useRouter)(),[c,p]=(0,i.useState)(s);(0,i.useEffect)(()=>{var e;let r,n=l(window.localStorage.getItem(a))??s??(r=(Array.isArray(e=window.navigator.languages??window.navigator.language)?e.map((e,s)=>({value:e,q:1,index:s})):"string"==typeof e?e.split(",").map((e,s)=>{let[t="",...r]=e.trim().split(";"),a=r.find(e=>e.trim().startsWith("q=")),l=a?Number(a.trim().slice(2)):1;return{value:t,q:Number.isFinite(l)?l:1,index:s}}):[]).map(e=>({...e,locale:l(e.value)})).filter(e=>null!==e.locale).sort((e,s)=>s.q-e.q||e.index-s.index),r[0]?.locale??"en");if(n!==s){u(n),t.refresh();return}u(n),p(s)},[s,t]);let d=(0,i.useMemo)(()=>({locale:c,setLocale(e){u(e),t.refresh()},toggleLocale(){u("zh"===c?"en":"zh"),t.refresh()}}),[c,t]);return(0,r.jsx)(o.Provider,{value:d,children:e})}function c(){let e=(0,i.useContext)(o);if(!e)throw Error("useLanguage must be used inside LanguageProvider");return e}},6944:()=>{},7483:(e,s,t)=>{"use strict";t.d(s,{cn:()=>l});var r=t(9917),a=t(2809);function l(...e){return(0,a.QP)((0,r.$)(e))}},7788:(e,s,t)=>{"use strict";t.d(s,{Button:()=>u});var r=t(4568),a=t(7483),l=t(8347),n=t(1397),i=t(7620);let o=(0,n.F)((0,a.cn)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded font-medium","transition-colors duration-plexus-normal ease-plexus-out","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-plexus-accent/50 focus-visible:ring-offset-1 focus-visible:ring-offset-plexus-bg","disabled:pointer-events-none disabled:opacity-50"),{variants:{variant:{primary:"bg-plexus-accent text-[#1a1a17] hover:bg-plexus-accent-2 border border-plexus-accent",secondary:"bg-plexus-surface-2 text-plexus-text border border-plexus-border hover:bg-plexus-surface hover:border-plexus-border-strong",ghost:"bg-transparent text-plexus-text-2 hover:bg-plexus-surface-2 hover:text-plexus-text border border-transparent",danger:"bg-transparent text-plexus-err border border-plexus-err/35 hover:bg-plexus-err/10","danger-solid":"bg-plexus-err text-white border border-plexus-err hover:bg-plexus-err/90"},size:{default:"h-9 px-3.5 text-sm",sm:"h-7 px-2.5 text-xs",lg:"h-10 px-4 text-sm",icon:"h-9 w-9 p-0"}},defaultVariants:{variant:"secondary",size:"default"}}),u=(0,i.forwardRef)(({className:e,variant:s,size:t,asChild:n=!1,type:i="button",...u},x)=>{let c=n?l.DX:"button";return(0,r.jsx)(c,{ref:x,type:n?void 0:i,className:(0,a.cn)(o({variant:s,size:t}),e),...u})});u.displayName="Button"}},e=>{e.O(0,[2380,4399,5587,3051,626,587,1968,7358],()=>e(e.s=4309)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{572:(e,s,t)=>{"use strict";t.d(s,{ThemeProvider:()=>l});var r=t(4568),a=t(9227);function l({children:e}){return(0,r.jsx)(a.N,{attribute:"data-theme",defaultTheme:"light",enableSystem:!0,disableTransitionOnChange:!0,themes:["dark","light"],children:e})}},1107:(e,s,t)=>{"use strict";t.d(s,{AppSidebar:()=>w});var r=t(4568),a=t(6439),l=t(6197),n=t(7483),i=t(4435),o=t(6581),u=t(5830),x=t(1207),c=t(7939),p=t(2928),d=t(6706),b=t(6356),m=t(5885),h=t(5587),g=t.n(h),f=t(9748);let v={en:{tagline:"team agent config",workspace:"Workspace",configuration:"Configuration",dashboard:"Dashboard",rules:"Rules",mcp:"MCP Servers",skills:"Skills",mirror:"Mirror",backups:"Backups",debug:"Debug",team:"Team",settings:"Settings",poweredBy:"Powered by",idle:"Idle",runSync:"Run sync to see status"},zh:{tagline:"团队 AI Agent 配置",workspace:"工作区",configuration:"配置",dashboard:"仪表盘",rules:"规则",mcp:"MCP 服务",skills:"技能",mirror:"镜像同步",backups:"备份",debug:"调试",team:"团队",settings:"设置",poweredBy:"Powered by",idle:"空闲",runSync:"运行同步后查看状态"}};function k({className:e}){return(0,r.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",className:e,fill:"currentColor",children:[(0,r.jsx)("title",{children:"GitHub"}),(0,r.jsx)("path",{d:"M12 .5C5.65.5.5 5.65.5 12c0 5.09 3.29 9.39 7.86 10.91.58.11.79-.25.79-.56v-2.14c-3.2.7-3.88-1.36-3.88-1.36-.52-1.33-1.28-1.69-1.28-1.69-1.05-.72.08-.71.08-.71 1.16.08 1.77 1.19 1.77 1.19 1.03 1.76 2.7 1.25 3.36.96.1-.75.4-1.25.73-1.54-2.55-.29-5.24-1.28-5.24-5.69 0-1.26.45-2.28 1.19-3.09-.12-.29-.52-1.46.11-3.04 0 0 .97-.31 3.16 1.18a10.9 10.9 0 0 1 5.75 0c2.19-1.49 3.16-1.18 3.16-1.18.63 1.58.23 2.75.11 3.04.74.81 1.19 1.83 1.19 3.09 0 4.42-2.69 5.4-5.25 5.69.41.36.78 1.06.78 2.14v3.16c0 .31.21.67.79.56A11.52 11.52 0 0 0 23.5 12C23.5 5.65 18.35.5 12 .5Z"})]})}function w(){let e=(0,f.usePathname)(),{locale:s}=(0,a.o)(),t=v[s];return(0,r.jsxs)("aside",{className:"flex w-full shrink-0 flex-col border-plexus-border border-b bg-plexus-surface px-3 py-5 lg:sticky lg:top-0 lg:h-screen lg:w-[240px] lg:border-r lg:border-b-0",children:[(0,r.jsxs)("div",{className:"mb-6 px-2",children:[(0,r.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,r.jsx)("span",{className:"inline-block h-2.5 w-2.5 rounded-full bg-plexus-accent"}),(0,r.jsx)("span",{className:"plexus-title",children:"Plexus"}),(0,r.jsxs)("span",{className:"font-mono text-[11px] text-plexus-text-3",children:["v","0.0.7"]})]}),(0,r.jsx)("div",{className:"mt-1 px-3 text-[12px] tracking-[0.02em] text-plexus-text-3",children:t.tagline})]}),[{group:t.workspace,items:[{href:"/",label:t.dashboard,icon:i.A},{href:"/rules",label:t.rules,icon:o.A},{href:"/mcp",label:t.mcp,icon:u.A},{href:"/skills",label:t.skills,icon:x.A},{href:"/mirror",label:t.mirror,icon:c.A}]},{group:t.configuration,items:[{href:"/backups",label:t.backups,icon:p.A},{href:"/debug",label:t.debug,icon:d.A},{href:"/team",label:t.team,icon:b.A,beta:!0},{href:"/settings",label:t.settings,icon:m.A}]}].map((s,t)=>(0,r.jsxs)("div",{className:(0,n.cn)("px-1",0===t?"mb-2":""),children:[t>0&&(0,r.jsx)("div",{className:"my-3.5 h-px bg-plexus-border"}),(0,r.jsx)("div",{className:"plexus-eyebrow mb-2 px-2",children:s.group}),(0,r.jsx)("div",{className:"flex flex-col gap-0.5",children:s.items.map(s=>{let t="/"===s.href?"/"===e:e===s.href||e.startsWith(`${s.href}/`),a=s.icon;return(0,r.jsxs)(g(),{href:s.href,className:(0,n.cn)("flex h-8 items-center gap-2.5 rounded-sm px-2.5 text-[13px]","transition-colors duration-plexus-fast ease-plexus-out",t?"bg-plexus-surface-2 text-plexus-text shadow-[inset_2px_0_0_var(--plexus-accent)]":"text-plexus-text-2 hover:bg-plexus-surface-2 hover:text-plexus-text"),children:[(0,r.jsx)(a,{className:"h-4 w-4 shrink-0",strokeWidth:1.5}),(0,r.jsx)("span",{children:s.label}),s.beta&&(0,r.jsx)(l.E,{variant:"beta",className:"ml-auto",children:"beta"})]},s.href)})})]},s.group)),(0,r.jsxs)("div",{className:"mt-auto border-t border-plexus-border px-3 pt-4",children:[(0,r.jsxs)("a",{href:"https://github.com/miniLV/Plexus",target:"_blank",rel:"noreferrer",className:"group mb-4 flex items-center gap-2.5 rounded-md border border-plexus-border bg-plexus-surface-2/70 px-2.5 py-2 shadow-[inset_0_1px_0_rgb(255_255_255/0.035)] transition-colors duration-plexus-fast ease-plexus-out hover:border-plexus-accent/45 hover:bg-plexus-surface-2",children:[(0,r.jsx)("span",{className:"grid h-7 w-7 shrink-0 place-items-center rounded-sm border border-plexus-border bg-plexus-bg text-plexus-text-2 transition-colors duration-plexus-fast ease-plexus-out group-hover:border-plexus-accent/40 group-hover:text-plexus-accent",children:(0,r.jsx)(k,{className:"h-4 w-4"})}),(0,r.jsxs)("span",{className:"min-w-0 leading-none",children:[(0,r.jsx)("span",{className:"block text-[9px] font-medium uppercase tracking-[0.14em] text-plexus-text-mute",children:t.poweredBy}),(0,r.jsx)("span",{className:"mt-1 block text-[13px] font-semibold tracking-[0.01em] text-plexus-text",children:"miniLV"})]})]}),(0,r.jsxs)("div",{className:"mb-1 flex items-center gap-2",children:[(0,r.jsxs)("span",{className:"relative inline-flex h-1.5 w-1.5",children:[(0,r.jsx)("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-plexus-ok opacity-60"}),(0,r.jsx)("span",{className:"relative inline-flex h-1.5 w-1.5 rounded-full bg-plexus-ok"})]}),(0,r.jsx)("span",{className:"text-sm font-medium text-plexus-text",children:t.idle})]}),(0,r.jsx)("div",{className:"text-[12px] tracking-[0.02em] text-plexus-text-3",children:t.runSync})]})]})}},1458:(e,s,t)=>{"use strict";t.d(s,{AppTopbar:()=>m});var r=t(4568),a=t(6439),l=t(7788),n=t(3913);function i(){let{locale:e,toggleLocale:s}=(0,a.o)();return(0,r.jsxs)(l.Button,{type:"button",variant:"ghost",size:"sm",onClick:s,title:"zh"===e?"Switch to English":"切换到中文",className:"h-9",children:[(0,r.jsx)(n.A,{className:"h-4 w-4",strokeWidth:1.5}),"zh"===e?"English":"中文"]})}var o=t(7483),u=t(9227),x=t(7620);function c({className:e}){let{resolvedTheme:s,setTheme:t}=(0,u.D)(),[a,l]=(0,x.useState)(!1);(0,x.useEffect)(()=>l(!0),[]);let n=a&&"light"===s;return(0,r.jsx)("button",{type:"button","aria-label":"Toggle theme",title:n?"Switch to dark":"Switch to light",onClick:()=>t(n?"dark":"light"),className:(0,o.cn)("relative h-7 w-14 rounded-full border border-plexus-border bg-plexus-surface-2","transition-colors duration-plexus-normal",e),children:(0,r.jsx)("span",{className:(0,o.cn)("absolute top-[2px] left-[2px] h-[22px] w-[22px] rounded-full bg-plexus-accent","transition-transform duration-plexus-normal ease-plexus-out",n&&"translate-x-7")})})}var p=t(8742),d=t(9748);let b={en:{workspace:"Workspace",configuration:"Configuration",dashboard:"Dashboard",rules:"Rules",mcp:"MCP Servers",skills:"Skills",mirror:"Mirror",backups:"Backups",debug:"Debug",team:"Team",settings:"Settings",agentDetail:"Agent detail",plexus:"Plexus",searchTitle:"Search (coming soon)",search:"Search..."},zh:{workspace:"工作区",configuration:"配置",dashboard:"仪表盘",rules:"规则",mcp:"MCP 服务",skills:"技能",mirror:"镜像同步",backups:"备份",debug:"调试",team:"团队",settings:"设置",agentDetail:"Agent 详情",plexus:"Plexus",searchTitle:"搜索(即将支持)",search:"搜索..."}};function m(){let e=(0,d.usePathname)(),{locale:s}=(0,a.o)(),t=b[s],{group:l,label:n}=function(e,s){let t={"/":s.dashboard,"/rules":s.rules,"/mcp":s.mcp,"/skills":s.skills,"/mirror":s.mirror,"/backups":s.backups,"/debug":s.debug,"/team":s.team,"/settings":s.settings};if("/"===e)return{group:s.workspace,label:s.dashboard};if(e.startsWith("/agents/"))return{group:`${s.workspace} / ${s.dashboard}`,label:s.agentDetail};let r=`/${e.split("/")[1]}`,a=t[r]??s.plexus;return{group:"/backups"===r||"/team"===r||"/settings"===r||"/debug"===r?s.configuration:s.workspace,label:a}}(e,t);return(0,r.jsxs)("header",{className:"flex min-h-[64px] shrink-0 flex-wrap items-center justify-between gap-3 border-b border-plexus-border px-4 py-3 lg:px-10",children:[(0,r.jsxs)("div",{className:"flex min-w-0 flex-wrap items-center gap-3 text-[12px] tracking-[0.02em] text-plexus-text-3",children:[l.split(" / ").map((e,s,t)=>(0,r.jsxs)("span",{className:"flex items-center gap-3",children:[(0,r.jsx)("span",{children:e}),s<t.length-1&&(0,r.jsx)("span",{children:"/"})]},`${e}-${s}`)),(0,r.jsx)("span",{children:"/"}),(0,r.jsx)("span",{className:"text-plexus-text-2",children:n})]}),(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-2 lg:gap-3",children:[(0,r.jsxs)("button",{type:"button",className:"inline-flex h-9 items-center gap-2 rounded border border-transparent px-3 text-plexus-text-2 hover:bg-plexus-surface-2 hover:text-plexus-text",title:t.searchTitle,disabled:!0,children:[(0,r.jsx)(p.A,{className:"h-4 w-4",strokeWidth:1.5}),(0,r.jsx)("span",{className:"text-[12px] tracking-[0.02em] text-plexus-text-3",children:t.search}),(0,r.jsx)("span",{className:"ml-2 rounded border border-plexus-border bg-plexus-surface-2 px-1.5 py-0.5 font-mono text-[11px] text-plexus-text-mute",children:"⌘K"})]}),(0,r.jsx)(i,{}),(0,r.jsx)(c,{}),(0,r.jsx)("div",{className:"grid h-8 w-8 place-items-center rounded-full bg-plexus-accent-faint font-semibold text-plexus-accent",children:"M"})]})]})}},4309:(e,s,t)=>{Promise.resolve().then(t.bind(t,1107)),Promise.resolve().then(t.bind(t,1458)),Promise.resolve().then(t.bind(t,6439)),Promise.resolve().then(t.bind(t,572)),Promise.resolve().then(t.bind(t,4757)),Promise.resolve().then(t.t.bind(t,3597,23)),Promise.resolve().then(t.t.bind(t,6944,23))},4757:(e,s,t)=>{"use strict";t.d(s,{TooltipProvider:()=>i});var r=t(4568),a=t(7483),l=t(7257),n=t(7620);let i=l.Kq;l.bL,l.l9,(0,n.forwardRef)(({className:e,sideOffset:s=6,...t},n)=>(0,r.jsx)(l.ZL,{children:(0,r.jsx)(l.UC,{ref:n,sideOffset:s,className:(0,a.cn)("z-50 rounded-sm border border-plexus-border bg-plexus-surface-2","px-2 py-1 text-xs text-plexus-text shadow-sm","animate-in fade-in-0 zoom-in-95",e),...t})})).displayName=l.UC.displayName},6197:(e,s,t)=>{"use strict";t.d(s,{E:()=>n,m:()=>i});var r=t(4568),a=t(7483);let l=(0,t(1397).F)("inline-flex items-center gap-1 rounded-sm px-2 h-5 text-[11px] font-medium tracking-[0.01em]",{variants:{variant:{team:"bg-plexus-info/15 text-plexus-info",personal:"bg-plexus-accent-faint text-plexus-accent",synced:"bg-plexus-ok/15 text-plexus-ok",divergent:"bg-plexus-warn/15 text-plexus-warn",native:"bg-plexus-text-3/15 text-plexus-text-3",beta:"bg-plexus-accent-faint text-plexus-accent border border-plexus-accent/25",danger:"bg-plexus-err/13 text-plexus-err",outline:"border border-plexus-border text-plexus-text-2"}},defaultVariants:{variant:"outline"}});function n({className:e,variant:s,...t}){return(0,r.jsx)("span",{className:(0,a.cn)(l({variant:s}),e),...t})}function i({className:e,tone:s="ok"}){return(0,r.jsx)("span",{className:(0,a.cn)("inline-block h-1.5 w-1.5 rounded-full",{ok:"bg-plexus-ok",warn:"bg-plexus-warn",err:"bg-plexus-err",info:"bg-plexus-info",accent:"bg-plexus-accent",mute:"bg-plexus-text-3"}[s],e)})}},6439:(e,s,t)=>{"use strict";t.d(s,{LanguageProvider:()=>x,o:()=>c});var r=t(4568);let a="plexus.locale";function l(e){if(!e)return null;let s=e.toLowerCase();return"zh"===s||s.startsWith("zh-")?"zh":"en"===s||s.startsWith("en-")?"en":null}var n=t(9748),i=t(7620);let o=(0,i.createContext)(null);function u(e){window.localStorage.setItem(a,e),document.cookie=`plexus-locale=${e}; path=/; max-age=31536000; samesite=lax`}function x({children:e,initialLocale:s}){let t=(0,n.useRouter)(),[c,p]=(0,i.useState)(s);(0,i.useEffect)(()=>{var e;let r,n=l(window.localStorage.getItem(a))??s??(r=(Array.isArray(e=window.navigator.languages??window.navigator.language)?e.map((e,s)=>({value:e,q:1,index:s})):"string"==typeof e?e.split(",").map((e,s)=>{let[t="",...r]=e.trim().split(";"),a=r.find(e=>e.trim().startsWith("q=")),l=a?Number(a.trim().slice(2)):1;return{value:t,q:Number.isFinite(l)?l:1,index:s}}):[]).map(e=>({...e,locale:l(e.value)})).filter(e=>null!==e.locale).sort((e,s)=>s.q-e.q||e.index-s.index),r[0]?.locale??"en");if(n!==s){u(n),t.refresh();return}u(n),p(s)},[s,t]);let d=(0,i.useMemo)(()=>({locale:c,setLocale(e){u(e),t.refresh()},toggleLocale(){u("zh"===c?"en":"zh"),t.refresh()}}),[c,t]);return(0,r.jsx)(o.Provider,{value:d,children:e})}function c(){let e=(0,i.useContext)(o);if(!e)throw Error("useLanguage must be used inside LanguageProvider");return e}},6944:()=>{},7483:(e,s,t)=>{"use strict";t.d(s,{cn:()=>l});var r=t(9917),a=t(2809);function l(...e){return(0,a.QP)((0,r.$)(e))}},7788:(e,s,t)=>{"use strict";t.d(s,{Button:()=>u});var r=t(4568),a=t(7483),l=t(8347),n=t(1397),i=t(7620);let o=(0,n.F)((0,a.cn)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded font-medium","transition-colors duration-plexus-normal ease-plexus-out","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-plexus-accent/50 focus-visible:ring-offset-1 focus-visible:ring-offset-plexus-bg","disabled:pointer-events-none disabled:opacity-50"),{variants:{variant:{primary:"bg-plexus-accent text-[#1a1a17] hover:bg-plexus-accent-2 border border-plexus-accent",secondary:"bg-plexus-surface-2 text-plexus-text border border-plexus-border hover:bg-plexus-surface hover:border-plexus-border-strong",ghost:"bg-transparent text-plexus-text-2 hover:bg-plexus-surface-2 hover:text-plexus-text border border-transparent",danger:"bg-transparent text-plexus-err border border-plexus-err/35 hover:bg-plexus-err/10","danger-solid":"bg-plexus-err text-white border border-plexus-err hover:bg-plexus-err/90"},size:{default:"h-9 px-3.5 text-sm",sm:"h-7 px-2.5 text-xs",lg:"h-10 px-4 text-sm",icon:"h-9 w-9 p-0"}},defaultVariants:{variant:"secondary",size:"default"}}),u=(0,i.forwardRef)(({className:e,variant:s,size:t,asChild:n=!1,type:i="button",...u},x)=>{let c=n?l.DX:"button";return(0,r.jsx)(c,{ref:x,type:n?void 0:i,className:(0,a.cn)(o({variant:s,size:t}),e),...u})});u.displayName="Button"}},e=>{e.O(0,[2380,4399,5587,3051,626,587,1968,7358],()=>e(e.s=4309)),_N_E=e.O()}]);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plexus-agent-config-core",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Core library for syncing AI agent rules, MCP servers, and skills across Claude Code, Cursor, Codex, Gemini CLI, and Qwen Code.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plexus-agent-config-web",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Local Plexus dashboard for syncing AI coding tool rules, MCP servers, and skills.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://minilv.github.io/Plexus/",