plexus-agent-config 0.0.4 → 0.0.6

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 (146) hide show
  1. package/dist/bin.js +0 -0
  2. package/package.json +10 -4
  3. package/vendor/plexus-agent-config-core/package.json +3 -3
  4. package/vendor/plexus-agent-config-web/.next/BUILD_ID +1 -1
  5. package/vendor/plexus-agent-config-web/.next/app-path-routes-manifest.json +13 -13
  6. package/vendor/plexus-agent-config-web/.next/build-manifest.json +6 -6
  7. package/vendor/plexus-agent-config-web/.next/next-server.js.nft.json +1 -1
  8. package/vendor/plexus-agent-config-web/.next/prerender-manifest.json +3 -3
  9. package/vendor/plexus-agent-config-web/.next/required-server-files.js +4 -4
  10. package/vendor/plexus-agent-config-web/.next/required-server-files.json +4 -4
  11. package/vendor/plexus-agent-config-web/.next/server/app/_global-error/page.js +3 -3
  12. package/vendor/plexus-agent-config-web/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  13. package/vendor/plexus-agent-config-web/.next/server/app/_global-error.html +1 -1
  14. package/vendor/plexus-agent-config-web/.next/server/app/_global-error.rsc +1 -1
  15. package/vendor/plexus-agent-config-web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  16. package/vendor/plexus-agent-config-web/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  17. package/vendor/plexus-agent-config-web/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  18. package/vendor/plexus-agent-config-web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  19. package/vendor/plexus-agent-config-web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  20. package/vendor/plexus-agent-config-web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  21. package/vendor/plexus-agent-config-web/.next/server/app/_not-found/page.js +2 -2
  22. package/vendor/plexus-agent-config-web/.next/server/app/_not-found/page.js.nft.json +1 -1
  23. package/vendor/plexus-agent-config-web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  24. package/vendor/plexus-agent-config-web/.next/server/app/about/page.js +2 -2
  25. package/vendor/plexus-agent-config-web/.next/server/app/about/page.js.nft.json +1 -1
  26. package/vendor/plexus-agent-config-web/.next/server/app/about/page_client-reference-manifest.js +1 -1
  27. package/vendor/plexus-agent-config-web/.next/server/app/agents/[id]/page.js +2 -2
  28. package/vendor/plexus-agent-config-web/.next/server/app/agents/[id]/page.js.nft.json +1 -1
  29. package/vendor/plexus-agent-config-web/.next/server/app/agents/[id]/page_client-reference-manifest.js +1 -1
  30. package/vendor/plexus-agent-config-web/.next/server/app/api/agent/[id]/file/route.js +1 -1
  31. package/vendor/plexus-agent-config-web/.next/server/app/api/agent/[id]/file/route_client-reference-manifest.js +1 -1
  32. package/vendor/plexus-agent-config-web/.next/server/app/api/agent/[id]/route.js +1 -1
  33. package/vendor/plexus-agent-config-web/.next/server/app/api/agent/[id]/route_client-reference-manifest.js +1 -1
  34. package/vendor/plexus-agent-config-web/.next/server/app/api/agent-catalog/route.js +1 -1
  35. package/vendor/plexus-agent-config-web/.next/server/app/api/agent-catalog/route_client-reference-manifest.js +1 -1
  36. package/vendor/plexus-agent-config-web/.next/server/app/api/agents/route.js +1 -1
  37. package/vendor/plexus-agent-config-web/.next/server/app/api/agents/route_client-reference-manifest.js +1 -1
  38. package/vendor/plexus-agent-config-web/.next/server/app/api/backups/[id]/restore/route.js +1 -1
  39. package/vendor/plexus-agent-config-web/.next/server/app/api/backups/[id]/restore/route_client-reference-manifest.js +1 -1
  40. package/vendor/plexus-agent-config-web/.next/server/app/api/backups/route.js +1 -1
  41. package/vendor/plexus-agent-config-web/.next/server/app/api/backups/route_client-reference-manifest.js +1 -1
  42. package/vendor/plexus-agent-config-web/.next/server/app/api/config/route.js +1 -1
  43. package/vendor/plexus-agent-config-web/.next/server/app/api/config/route_client-reference-manifest.js +1 -1
  44. package/vendor/plexus-agent-config-web/.next/server/app/api/custom-agents/[id]/file/route.js +1 -1
  45. package/vendor/plexus-agent-config-web/.next/server/app/api/custom-agents/[id]/file/route_client-reference-manifest.js +1 -1
  46. package/vendor/plexus-agent-config-web/.next/server/app/api/custom-agents/[id]/route.js +1 -1
  47. package/vendor/plexus-agent-config-web/.next/server/app/api/custom-agents/[id]/route_client-reference-manifest.js +1 -1
  48. package/vendor/plexus-agent-config-web/.next/server/app/api/custom-agents/route.js +1 -1
  49. package/vendor/plexus-agent-config-web/.next/server/app/api/custom-agents/route_client-reference-manifest.js +1 -1
  50. package/vendor/plexus-agent-config-web/.next/server/app/api/debug/route.js +1 -1
  51. package/vendor/plexus-agent-config-web/.next/server/app/api/debug/route_client-reference-manifest.js +1 -1
  52. package/vendor/plexus-agent-config-web/.next/server/app/api/import/route.js +1 -1
  53. package/vendor/plexus-agent-config-web/.next/server/app/api/import/route_client-reference-manifest.js +1 -1
  54. package/vendor/plexus-agent-config-web/.next/server/app/api/mcp/[id]/toggle/route.js +1 -1
  55. package/vendor/plexus-agent-config-web/.next/server/app/api/mcp/[id]/toggle/route_client-reference-manifest.js +1 -1
  56. package/vendor/plexus-agent-config-web/.next/server/app/api/mcp/effective/route.js +1 -1
  57. package/vendor/plexus-agent-config-web/.next/server/app/api/mcp/effective/route_client-reference-manifest.js +1 -1
  58. package/vendor/plexus-agent-config-web/.next/server/app/api/mcp/route.js +1 -1
  59. package/vendor/plexus-agent-config-web/.next/server/app/api/mcp/route_client-reference-manifest.js +1 -1
  60. package/vendor/plexus-agent-config-web/.next/server/app/api/rules/route.js +1 -1
  61. package/vendor/plexus-agent-config-web/.next/server/app/api/rules/route_client-reference-manifest.js +1 -1
  62. package/vendor/plexus-agent-config-web/.next/server/app/api/skills/[id]/route.js +1 -1
  63. package/vendor/plexus-agent-config-web/.next/server/app/api/skills/[id]/route_client-reference-manifest.js +1 -1
  64. package/vendor/plexus-agent-config-web/.next/server/app/api/skills/[id]/toggle/route.js +1 -1
  65. package/vendor/plexus-agent-config-web/.next/server/app/api/skills/[id]/toggle/route_client-reference-manifest.js +1 -1
  66. package/vendor/plexus-agent-config-web/.next/server/app/api/skills/effective/route.js +1 -1
  67. package/vendor/plexus-agent-config-web/.next/server/app/api/skills/effective/route_client-reference-manifest.js +1 -1
  68. package/vendor/plexus-agent-config-web/.next/server/app/api/skills/route.js +1 -1
  69. package/vendor/plexus-agent-config-web/.next/server/app/api/skills/route_client-reference-manifest.js +1 -1
  70. package/vendor/plexus-agent-config-web/.next/server/app/api/spread/route.js +1 -1
  71. package/vendor/plexus-agent-config-web/.next/server/app/api/spread/route_client-reference-manifest.js +1 -1
  72. package/vendor/plexus-agent-config-web/.next/server/app/api/sync/route.js +1 -1
  73. package/vendor/plexus-agent-config-web/.next/server/app/api/sync/route_client-reference-manifest.js +1 -1
  74. package/vendor/plexus-agent-config-web/.next/server/app/api/team/route.js +1 -1
  75. package/vendor/plexus-agent-config-web/.next/server/app/api/team/route_client-reference-manifest.js +1 -1
  76. package/vendor/plexus-agent-config-web/.next/server/app/backups/page.js +2 -2
  77. package/vendor/plexus-agent-config-web/.next/server/app/backups/page.js.nft.json +1 -1
  78. package/vendor/plexus-agent-config-web/.next/server/app/backups/page_client-reference-manifest.js +1 -1
  79. package/vendor/plexus-agent-config-web/.next/server/app/debug/page.js +2 -2
  80. package/vendor/plexus-agent-config-web/.next/server/app/debug/page.js.nft.json +1 -1
  81. package/vendor/plexus-agent-config-web/.next/server/app/debug/page_client-reference-manifest.js +1 -1
  82. package/vendor/plexus-agent-config-web/.next/server/app/mcp/page.js +2 -2
  83. package/vendor/plexus-agent-config-web/.next/server/app/mcp/page.js.nft.json +1 -1
  84. package/vendor/plexus-agent-config-web/.next/server/app/mcp/page_client-reference-manifest.js +1 -1
  85. package/vendor/plexus-agent-config-web/.next/server/app/mirror/page.js +2 -2
  86. package/vendor/plexus-agent-config-web/.next/server/app/mirror/page.js.nft.json +1 -1
  87. package/vendor/plexus-agent-config-web/.next/server/app/mirror/page_client-reference-manifest.js +1 -1
  88. package/vendor/plexus-agent-config-web/.next/server/app/page.js +2 -2
  89. package/vendor/plexus-agent-config-web/.next/server/app/page.js.nft.json +1 -1
  90. package/vendor/plexus-agent-config-web/.next/server/app/page_client-reference-manifest.js +1 -1
  91. package/vendor/plexus-agent-config-web/.next/server/app/rules/page.js +3 -3
  92. package/vendor/plexus-agent-config-web/.next/server/app/rules/page.js.nft.json +1 -1
  93. package/vendor/plexus-agent-config-web/.next/server/app/rules/page_client-reference-manifest.js +1 -1
  94. package/vendor/plexus-agent-config-web/.next/server/app/settings/page.js +2 -2
  95. package/vendor/plexus-agent-config-web/.next/server/app/settings/page.js.nft.json +1 -1
  96. package/vendor/plexus-agent-config-web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  97. package/vendor/plexus-agent-config-web/.next/server/app/skills/page.js +2 -2
  98. package/vendor/plexus-agent-config-web/.next/server/app/skills/page.js.nft.json +1 -1
  99. package/vendor/plexus-agent-config-web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  100. package/vendor/plexus-agent-config-web/.next/server/app/spread/page.js +2 -2
  101. package/vendor/plexus-agent-config-web/.next/server/app/spread/page.js.nft.json +1 -1
  102. package/vendor/plexus-agent-config-web/.next/server/app/spread/page_client-reference-manifest.js +1 -1
  103. package/vendor/plexus-agent-config-web/.next/server/app/team/page.js +2 -2
  104. package/vendor/plexus-agent-config-web/.next/server/app/team/page.js.nft.json +1 -1
  105. package/vendor/plexus-agent-config-web/.next/server/app/team/page_client-reference-manifest.js +1 -1
  106. package/vendor/plexus-agent-config-web/.next/server/app-paths-manifest.json +13 -13
  107. package/vendor/plexus-agent-config-web/.next/server/chunks/479.js +4 -4
  108. package/vendor/plexus-agent-config-web/.next/server/chunks/554.js +1 -0
  109. package/vendor/plexus-agent-config-web/.next/server/chunks/750.js +1 -1
  110. package/vendor/plexus-agent-config-web/.next/server/middleware-build-manifest.js +1 -1
  111. package/vendor/plexus-agent-config-web/.next/server/next-font-manifest.js +1 -1
  112. package/vendor/plexus-agent-config-web/.next/server/next-font-manifest.json +1 -1
  113. package/vendor/plexus-agent-config-web/.next/server/pages/500.html +1 -1
  114. package/vendor/plexus-agent-config-web/.next/server/server-reference-manifest.json +1 -1
  115. package/vendor/plexus-agent-config-web/.next/static/chunks/{1968-9d19293a29f03646.js → 1968-5981314117a6ea1f.js} +2 -2
  116. package/vendor/plexus-agent-config-web/.next/static/chunks/{87c73c54-64138e17754e338c.js → 87c73c54-f46fec743414da25.js} +1 -1
  117. package/vendor/plexus-agent-config-web/.next/static/chunks/app/_not-found/page-8ba48265c993686c.js +1 -0
  118. package/vendor/plexus-agent-config-web/.next/static/chunks/app/about/{page-64a1ee41b87ea86c.js → page-1999365195d3b81a.js} +1 -1
  119. package/vendor/plexus-agent-config-web/.next/static/chunks/app/agents/[id]/page-02c1c68007fb9b26.js +1 -0
  120. package/vendor/plexus-agent-config-web/.next/static/chunks/app/backups/{page-6842a663db4fab47.js → page-5d03fe15d06b372e.js} +2 -2
  121. package/vendor/plexus-agent-config-web/.next/static/chunks/app/debug/{page-19e534df1d13eb98.js → page-2edfcee509b8438c.js} +1 -1
  122. package/vendor/plexus-agent-config-web/.next/static/chunks/app/layout-ebb341e17e16f301.js +1 -0
  123. package/vendor/plexus-agent-config-web/.next/static/chunks/app/mcp/{page-d0d518965db961f1.js → page-d4c83712d8c29f02.js} +1 -1
  124. package/vendor/plexus-agent-config-web/.next/static/chunks/app/mirror/page-5d4ac07dcc3218c5.js +1 -0
  125. package/vendor/plexus-agent-config-web/.next/static/chunks/app/{page-039dbbfad47ff659.js → page-4f00de3290a21755.js} +1 -1
  126. package/vendor/plexus-agent-config-web/.next/static/chunks/app/rules/{page-5bb663fc0ee9960b.js → page-f391407e2ebfcf64.js} +2 -2
  127. package/vendor/plexus-agent-config-web/.next/static/chunks/app/settings/page-0befc46d439ee26c.js +1 -0
  128. package/vendor/plexus-agent-config-web/.next/static/chunks/app/skills/{page-6067058898aa6e10.js → page-a90fec8f4dae0d22.js} +1 -1
  129. package/vendor/plexus-agent-config-web/.next/static/chunks/app/team/{page-edd7f54640e60e94.js → page-ecee567abc21176a.js} +1 -1
  130. package/vendor/plexus-agent-config-web/.next/static/chunks/main-927a633bb48df053.js +5 -0
  131. package/vendor/plexus-agent-config-web/.next/static/chunks/{main-app-4c4bad3c22a66283.js → main-app-e8d8ab3098122763.js} +1 -1
  132. package/vendor/plexus-agent-config-web/.next/static/chunks/next/dist/client/components/builtin/global-error-7dbae5819d7bfddc.js +1 -0
  133. package/vendor/plexus-agent-config-web/.next/static/chunks/webpack-59c0cf3deef5f26f.js +1 -0
  134. package/vendor/plexus-agent-config-web/node_modules/plexus-agent-config-core/package.json +3 -3
  135. package/vendor/plexus-agent-config-web/package.json +3 -3
  136. package/vendor/plexus-agent-config-web/.next/server/chunks/620.js +0 -1
  137. package/vendor/plexus-agent-config-web/.next/static/chunks/app/_not-found/page-303a3bb713044693.js +0 -1
  138. package/vendor/plexus-agent-config-web/.next/static/chunks/app/agents/[id]/page-c3c89d8ae72c75c2.js +0 -1
  139. package/vendor/plexus-agent-config-web/.next/static/chunks/app/layout-60f950c38a06198d.js +0 -1
  140. package/vendor/plexus-agent-config-web/.next/static/chunks/app/mirror/page-e88f348e1a12487a.js +0 -1
  141. package/vendor/plexus-agent-config-web/.next/static/chunks/app/settings/page-8164e1d1a8a08038.js +0 -1
  142. package/vendor/plexus-agent-config-web/.next/static/chunks/main-488dba80110e3bfb.js +0 -5
  143. package/vendor/plexus-agent-config-web/.next/static/chunks/next/dist/client/components/builtin/global-error-821a044f296e83b5.js +0 -1
  144. package/vendor/plexus-agent-config-web/.next/static/chunks/webpack-dd4b9bd51624284c.js +0 -1
  145. /package/vendor/plexus-agent-config-web/.next/static/{v1aj22QNmPE-dQiztsZVd → F1j5cMKRUWnwXIl46BSnB}/_buildManifest.js +0 -0
  146. /package/vendor/plexus-agent-config-web/.next/static/{v1aj22QNmPE-dQiztsZVd → F1j5cMKRUWnwXIl46BSnB}/_ssgManifest.js +0 -0
@@ -1,2 +1,2 @@
1
- (()=>{var a={};a.id=662,a.ids=[662],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3578:(a,b,c)=>{"use strict";c.d(b,{L:()=>h,Z:()=>g});var d=c(2474),e=c(8335),f=c(10963);let g=(0,f.forwardRef)(({className:a,...b},c)=>(0,d.jsx)("div",{ref:c,className:(0,e.cn)("rounded-md border border-plexus-border bg-plexus-surface","transition-colors duration-plexus-normal ease-plexus-out",a),...b}));g.displayName="Card";let h=(0,f.forwardRef)(({className:a,...b},c)=>(0,d.jsx)(g,{ref:c,className:(0,e.cn)("hover:border-plexus-border-strong hover:-translate-y-px",a),...b}));h.displayName="CardHover"},7233:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(2131).A)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]])},8335:(a,b,c)=>{"use strict";c.d(b,{cn:()=>f});var d=c(21163),e=c(25511);function f(...a){return(0,e.QP)((0,d.$)(a))}},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11560:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(2131).A)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},17891:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/get-segment-param")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19771:a=>{"use strict";a.exports=require("process")},23772:(a,b,c)=>{"use strict";c.d(b,{Z:()=>g});var d=c(92692),e=c(45813),f=c(71277);let g=(0,f.forwardRef)(({className:a,...b},c)=>(0,d.jsx)("div",{ref:c,className:(0,e.cn)("rounded-md border border-plexus-border bg-plexus-surface","transition-colors duration-plexus-normal ease-plexus-out",a),...b}));g.displayName="Card",(0,f.forwardRef)(({className:a,...b},c)=>(0,d.jsx)(g,{ref:c,className:(0,e.cn)("hover:border-plexus-border-strong hover:-translate-y-px",a),...b})).displayName="CardHover"},25157:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>r,dynamic:()=>p});var d=c(2474),e=c(98900),f=c(71355),g=c(25932),h=c(3578),i=c(96638),j=c(93895);let k=(0,j.A)("network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]),l=(0,j.A)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);var m=c(91310),n=c.n(m),o=c(45628);let p="force-dynamic",q={en:{title:"Settings",description:"Plexus is local-only. Nothing leaves this machine — no telemetry, no remote logging. Configure which agents take part in sync and how Plexus mirrors files.",architectureTitle:"How sharing works",architecture:"Open the clickable architecture map for rules, skills, MCP files, backups, and the hybrid sync strategy.",openArchitecture:"View design"},zh:{title:"设置",description:"Plexus 只在本机运行,不发送遥测,也没有远程日志。你可以在这里配置哪些 Agent 参与同步,以及 Plexus 如何镜像文件。",architectureTitle:"同步机制是怎么工作的",architecture:"打开可点击的架构图,查看 Rules、Skills、MCP、备份和 hybrid sync strategy 的具体设计。",openArchitecture:"查看设计图"}};async function r(){let a=q[await (0,i.s)()],b=await (0,o.readConfig)();return(0,d.jsxs)("div",{className:"space-y-8",children:[(0,d.jsxs)("header",{children:[(0,d.jsx)("h1",{className:"plexus-display mb-2",children:a.title}),(0,d.jsx)("p",{className:"max-w-2xl text-sm leading-relaxed text-plexus-text-2",children:a.description})]}),(0,d.jsxs)(h.Z,{className:"flex flex-col gap-4 border-l-[3px] border-l-plexus-accent px-5 py-4 sm:flex-row sm:items-center sm:justify-between",children:[(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)(k,{className:"mt-0.5 h-4 w-4 shrink-0 text-plexus-accent",strokeWidth:1.5}),(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"text-sm font-semibold text-plexus-text",children:a.architectureTitle}),(0,d.jsx)("p",{className:"mt-1 max-w-2xl text-xs leading-relaxed text-plexus-text-2",children:a.architecture})]})]}),(0,d.jsx)(g.Button,{asChild:!0,variant:"secondary",size:"sm",className:"shrink-0",children:(0,d.jsxs)(n(),{href:"/about",children:[a.openArchitecture,(0,d.jsx)(l,{className:"h-3.5 w-3.5",strokeWidth:1.5})]})})]}),(0,d.jsx)(f.SettingsPanel,{config:b,agents:[...o.ALL_AGENTS],displayNames:o.AGENT_DISPLAY_NAMES}),(0,d.jsx)(e.CustomAgentsPanel,{})]})}},25932:(a,b,c)=>{"use strict";c.d(b,{Button:()=>e});var d=c(30274);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call Button() from the server but Button 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.")},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/ui/button.tsx","Button");(0,d.registerClientReference)(function(){throw Error("Attempted to call buttonVariants() from the server but buttonVariants 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.")},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/ui/button.tsx","buttonVariants")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},27025:(a,b,c)=>{"use strict";c.d(b,{SettingsPanel:()=>k});var d=c(92692),e=c(84774),f=c(73754),g=c(23772),h=c(33150),i=c(71277);let j={en:{saved:"Saved",privacyTitle:"Privacy pledge.",privacy:"Plexus runs entirely on your machine. No data is sent anywhere — not even crash reports. The only outbound traffic is the optional git pull when you subscribe to a team config repo.",enabledAgents:"Enabled agents",enabledAgentsHelp:"Disable an agent to skip it during sync, even if it is installed.",syncStrategy:"Sync strategy",syncStrategyHelp:"Symlinks are preferred — changes propagate instantly without re-running sync. Copy fallback is more portable across operating systems but requires sync to refresh files."},zh:{saved:"已保存",privacyTitle:"隐私承诺。",privacy:"Plexus 完全在你的机器上运行。不会发送任何数据,包括崩溃报告。唯一的外部网络请求是你订阅团队配置仓库时可选的 git pull。",enabledAgents:"启用的 Agent",enabledAgentsHelp:"关闭某个 Agent 后,即使它已安装,同步时也会跳过它。",syncStrategy:"同步策略",syncStrategyHelp:"优先使用软链接:改动会立即传播,不需要再次同步。复制模式跨系统更稳,但文件刷新需要重新同步。"}};function k({config:a,agents:b,displayNames:c}){let{locale:l}=(0,e.o)(),m=j[l],[n,o]=(0,i.useState)(a),[p,q]=(0,i.useState)(null);async function r(a){o(a);let b=await fetch("/api/config",{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify(a)});b.ok?(q(m.saved),setTimeout(()=>q(null),1200)):q(`Error: ${await b.text()}`)}return(0,d.jsxs)("div",{className:"space-y-6",children:[(0,d.jsx)(g.Z,{className:"border-l-[3px] border-l-plexus-ok px-5 py-4",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)(h.A,{className:"mt-0.5 h-4 w-4 shrink-0 text-plexus-ok",strokeWidth:1.5}),(0,d.jsxs)("div",{className:"text-xs leading-relaxed text-plexus-text-2",children:[(0,d.jsx)("span",{className:"font-semibold text-plexus-text",children:m.privacyTitle})," ",m.privacy]})]})}),(0,d.jsxs)(g.Z,{className:"p-5",children:[(0,d.jsx)("div",{className:"plexus-eyebrow mb-1",children:m.enabledAgents}),(0,d.jsx)("p",{className:"text-xs text-plexus-text-3",children:m.enabledAgentsHelp}),(0,d.jsx)("div",{className:"mt-4 grid grid-cols-2 gap-3",children:b.map(a=>{let b=!1!==n.agents[a];return(0,d.jsxs)("label",{className:"flex cursor-pointer items-center gap-3 rounded border border-plexus-border bg-plexus-bg px-3 py-2 text-sm hover:border-plexus-border-strong",children:[(0,d.jsx)("input",{type:"checkbox",checked:b,onChange:b=>r({...n,agents:{...n.agents,[a]:b.target.checked}}),className:"h-4 w-4 cursor-pointer accent-plexus-accent"}),(0,d.jsx)("span",{className:b?"text-plexus-text":"text-plexus-text-3",children:c[a]??a})]},a)})})]}),(0,d.jsxs)(g.Z,{className:"p-5",children:[(0,d.jsx)("div",{className:"plexus-eyebrow mb-1",children:m.syncStrategy}),(0,d.jsx)("p",{className:"text-xs text-plexus-text-3",children:m.syncStrategyHelp}),(0,d.jsx)("div",{className:"mt-4 flex gap-2",children:["symlink","copy"].map(a=>{let b=n.syncStrategy===a;return(0,d.jsx)(f.Button,{variant:b?"primary":"secondary",size:"sm",onClick:()=>r({...n,syncStrategy:a}),children:a},a)})})]}),p&&(0,d.jsx)("div",{className:"text-xs text-plexus-text-3",children:p})]})}},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{"use strict";a.exports=require("node:child_process")},33150:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(2131).A)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},33873:a=>{"use strict";a.exports=require("path")},36257:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(2131).A)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]])},40414:(a,b,c)=>{"use strict";c.d(b,{CustomAgentsPanel:()=>q});var d=c(92692),e=c(84774),f=c(50953),g=c(73754),h=c(23772),i=c(72186),j=c(32450),k=c(11560),l=c(7233),m=c(36257),n=c(78784),o=c(71277);let p={en:{catalog:"Agent catalog",catalogHelp:"Built-in agents sync Rules, MCP, and Skills. Other popular tools are listed as manual presets so users can quickly track an instruction file without waiting for a native adapter.",addAgent:"Add agent",agent:"Agent",status:"Status",support:"Support",action:"Action",installed:"installed",missing:"missing",fullSync:"full sync",manual:"manual",builtIn:"built-in",tracked:"tracked",trackFile:"Track file",agentId:"Agent id",displayName:"Display name",instructionFilePath:"Instruction file path",pathHelp:"Absolute or ~/ relative. Plexus will create or read the file when you click View / Edit.",note:"Note",optional:"optional",notePlaceholder:"Anything to remember about this agent...",cancel:"Cancel",adding:"Adding...",loading:"Loading custom agents...",noCustom:"No custom agents yet. Click Add agent to register one.",lite:"Lite",instructionsOnly:"instructions only",remove:"Remove",edit:"Edit",close:"Close",save:"Save",saving:"Saving...",editing:"editing",newFile:"new file",snapshotNotice:"Plexus snapshots the current file before save. Missing files are created on first save.",removeConfirm:a=>`Remove custom agent '${a}'? The instruction file on disk is not deleted.`,addFailed:"Failed to add custom agent",readFailed:"Failed to read file",saveFailed:"Failed to save file",saved:"Saved.",savedBackup:a=>`Saved. Backup: ${a}`},zh:{catalog:"Agent 目录",catalogHelp:"内置 Agent 支持 Rules、MCP 和 Skills 的完整同步。其他常见工具会作为手动预设展示,用户可以先追踪一个指令文件,不必等原生适配器。",addAgent:"新增 Agent",agent:"Agent",status:"状态",support:"支持",action:"操作",installed:"已安装",missing:"未发现",fullSync:"完整同步",manual:"手动",builtIn:"内置",tracked:"已追踪",trackFile:"追踪文件",agentId:"Agent ID",displayName:"展示名称",instructionFilePath:"指令文件路径",pathHelp:"支持绝对路径或 ~/ 相对路径。点击查看/编辑时,Plexus 会读取或创建该文件。",note:"备注",optional:"可选",notePlaceholder:"记录这个 Agent 的用途或注意事项...",cancel:"取消",adding:"正在新增...",loading:"正在加载自定义 Agent...",noCustom:"还没有自定义 Agent。点击新增 Agent 登记一个。",lite:"轻量",instructionsOnly:"仅指令文件",remove:"移除",edit:"编辑",close:"关闭",save:"保存",saving:"保存中...",editing:"编辑中",newFile:"新文件",snapshotNotice:"Plexus 会在保存前快照当前文件。缺失文件会在第一次保存时创建。",removeConfirm:a=>`移除自定义 Agent '${a}'?磁盘上的指令文件不会被删除。`,addFailed:"新增自定义 Agent 失败",readFailed:"读取文件失败",saveFailed:"保存文件失败",saved:"已保存。",savedBackup:a=>`已保存。备份:${a}`}};function q(){let{locale:a}=(0,e.o)(),b=p[a],[c,m]=(0,o.useState)([]),[n,q]=(0,o.useState)([]),[s,t]=(0,o.useState)(!0),[u,v]=(0,o.useState)(!1),[w,x]=(0,o.useState)({id:"",displayName:"",instructionFile:"",note:""}),[y,z]=(0,o.useState)(!1),[A,B]=(0,o.useState)(null),C=(0,o.useId)(),D=(0,o.useId)(),E=(0,o.useId)(),F=(0,o.useId)();function G(){v(!1),B(null),x({id:"",displayName:"",instructionFile:"",note:""})}async function H(){t(!0);try{let[a,b]=await Promise.all([fetch("/api/custom-agents"),fetch("/api/agent-catalog")]),c=await a.json(),d=await b.json();m(c.agents??[]),q(d.agents??[])}finally{t(!1)}}async function I(a){a.preventDefault(),z(!0),B(null);try{let a=await fetch("/api/custom-agents",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({id:w.id.trim(),displayName:w.displayName.trim(),instructionFile:w.instructionFile.trim(),note:w.note.trim()||void 0})}),c=await a.json();if(!c.ok)return void B(c.error??b.addFailed);G(),await H()}catch(a){B(a.message)}finally{z(!1)}}async function J(a){if(a.instructionFile){z(!0),B(null);try{let c=await fetch("/api/custom-agents",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({id:a.id,displayName:a.displayName,instructionFile:a.instructionFile,note:a.note})}),d=await c.json();if(!d.ok)return void B(d.error??b.addFailed);await H()}catch(a){B(a.message)}finally{z(!1)}}}async function K(a){if(confirm(b.removeConfirm(a))){z(!0);try{await fetch(`/api/custom-agents/${encodeURIComponent(a)}`,{method:"DELETE"}),await H()}finally{z(!1)}}}let L=new Set(c.map(a=>a.id)),M=[...n].sort((a,b)=>Number(b.installed)-Number(a.installed)||a.displayName.localeCompare(b.displayName));return(0,d.jsxs)(h.Z,{className:"p-5",children:[(0,d.jsxs)("div",{className:"flex items-start justify-between gap-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"plexus-eyebrow mb-1",children:b.catalog}),(0,d.jsx)("p",{className:"max-w-xl text-xs text-plexus-text-3",children:b.catalogHelp})]}),(0,d.jsxs)(g.Button,{variant:"secondary",size:"sm",onClick:()=>v(!0),children:[(0,d.jsx)(i.A,{className:"h-3.5 w-3.5",strokeWidth:1.5}),b.addAgent]})]}),n.length>0&&(0,d.jsxs)("div",{className:"mt-5 overflow-x-auto rounded border border-plexus-border",children:[(0,d.jsxs)("div",{className:"grid min-w-[720px] grid-cols-[1fr_86px_92px_96px] gap-x-4 border-b border-plexus-border bg-plexus-surface-2/40 px-4 py-2.5 text-[11px] uppercase tracking-[0.10em] text-plexus-text-3",children:[(0,d.jsx)("div",{children:b.agent}),(0,d.jsx)("div",{className:"text-right",children:b.status}),(0,d.jsx)("div",{className:"text-right",children:b.support}),(0,d.jsx)("div",{className:"text-right",children:b.action})]}),M.map(a=>{let c=L.has(a.id);return(0,d.jsxs)("div",{className:`grid min-w-[720px] grid-cols-[1fr_86px_92px_96px] gap-x-4 border-b border-plexus-border/60 px-4 py-3 text-sm last:border-0 ${a.installed?"bg-plexus-bg":"bg-plexus-surface text-plexus-text-3"}`,children:[(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("div",{className:"font-semibold text-plexus-text",children:a.displayName}),(0,d.jsx)("div",{className:"font-mono text-[11px] text-plexus-text-3",children:a.id}),(0,d.jsx)("div",{className:"mt-1 truncate font-mono text-[11px] text-plexus-text-2",children:a.mcpPath??a.instructionFile??a.rootDir})]}),(0,d.jsx)("div",{className:"text-right",children:(0,d.jsx)(f.E,{variant:a.installed?"synced":"native",children:a.installed?b.installed:b.missing})}),(0,d.jsx)("div",{className:"text-right",children:(0,d.jsx)(f.E,{variant:a.managed?"personal":"outline",children:"full"===a.support?b.fullSync:b.manual})}),(0,d.jsx)("div",{className:"text-right",children:a.managed?(0,d.jsx)(f.E,{variant:"synced",children:b.builtIn}):c?(0,d.jsx)(f.E,{variant:"native",children:b.tracked}):(0,d.jsx)(g.Button,{variant:"ghost",size:"sm",onClick:()=>J(a),disabled:y||!a.instructionFile,children:b.trackFile})})]},a.id)})]}),u&&(0,d.jsx)("dialog",{open:!0,"aria-labelledby":"custom-agent-form-title",className:"fixed inset-0 z-50 m-0 h-full w-full max-w-none border-0 bg-transparent p-0",children:(0,d.jsx)("div",{role:"presentation",className:"flex h-full w-full cursor-default items-center justify-center bg-black/70 p-4",onClick:G,children:(0,d.jsxs)("form",{onSubmit:I,className:"w-full max-w-2xl space-y-4 rounded-md border border-plexus-border bg-plexus-surface p-5 text-left shadow-lg",onClick:a=>a.stopPropagation(),onKeyDown:a=>a.stopPropagation(),children:[(0,d.jsxs)("div",{className:"flex items-start justify-between gap-4 border-b border-plexus-border pb-3",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{id:"custom-agent-form-title",className:"text-sm font-semibold text-plexus-text",children:b.addAgent}),(0,d.jsx)("p",{className:"mt-1 text-xs text-plexus-text-3",children:b.pathHelp})]}),(0,d.jsx)("button",{type:"button","aria-label":b.close,onClick:G,className:"text-plexus-text-3 hover:text-plexus-text",children:(0,d.jsx)(j.A,{className:"h-4 w-4",strokeWidth:1.5})})]}),(0,d.jsxs)("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{htmlFor:C,className:"mb-1 block text-[11px] uppercase tracking-[0.10em] text-plexus-text-3",children:b.agentId}),(0,d.jsx)("input",{id:C,type:"text",required:!0,placeholder:"e.g. copilot-cli",value:w.id,onChange:a=>x({...w,id:a.target.value}),pattern:"[a-z0-9](?:[a-z0-9-]*[a-z0-9])?",className:"w-full rounded border border-plexus-border bg-plexus-bg px-3 py-2 text-sm text-plexus-text outline-none focus:border-plexus-accent"})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{htmlFor:D,className:"mb-1 block text-[11px] uppercase tracking-[0.10em] text-plexus-text-3",children:b.displayName}),(0,d.jsx)("input",{id:D,type:"text",required:!0,placeholder:"e.g. GitHub Copilot CLI",value:w.displayName,onChange:a=>x({...w,displayName:a.target.value}),className:"w-full rounded border border-plexus-border bg-plexus-bg px-3 py-2 text-sm text-plexus-text outline-none focus:border-plexus-accent"})]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{htmlFor:E,className:"mb-1 block text-[11px] uppercase tracking-[0.10em] text-plexus-text-3",children:b.instructionFilePath}),(0,d.jsx)("input",{id:E,type:"text",required:!0,placeholder:"e.g. ~/.config/copilot/AGENTS.md",value:w.instructionFile,onChange:a=>x({...w,instructionFile:a.target.value}),className:"w-full rounded border border-plexus-border bg-plexus-bg px-3 py-2 font-mono text-xs text-plexus-text outline-none focus:border-plexus-accent"})]}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{htmlFor:F,className:"mb-1 block text-[11px] uppercase tracking-[0.10em] text-plexus-text-3",children:[b.note," ",(0,d.jsxs)("span",{className:"lowercase text-plexus-text-3",children:["(",b.optional,")"]})]}),(0,d.jsx)("input",{id:F,type:"text",maxLength:280,placeholder:b.notePlaceholder,value:w.note,onChange:a=>x({...w,note:a.target.value}),className:"w-full rounded border border-plexus-border bg-plexus-bg px-3 py-2 text-sm text-plexus-text outline-none focus:border-plexus-accent"})]}),A&&(0,d.jsx)("div",{className:"rounded border border-plexus-err/40 bg-plexus-err/10 px-3 py-2 text-xs text-plexus-err",children:A}),(0,d.jsxs)("div",{className:"flex justify-end gap-2 border-t border-plexus-border pt-3",children:[(0,d.jsx)(g.Button,{type:"button",variant:"ghost",size:"sm",onClick:G,children:b.cancel}),(0,d.jsx)(g.Button,{type:"submit",variant:"primary",size:"sm",disabled:y,children:y?b.adding:b.addAgent})]})]})})}),(0,d.jsxs)("div",{className:"mt-5",children:[s&&(0,d.jsx)("div",{className:"text-xs text-plexus-text-3",children:b.loading}),!s&&0===c.length&&(0,d.jsx)("div",{className:"rounded border border-dashed border-plexus-border bg-plexus-bg/40 px-4 py-6 text-center text-xs text-plexus-text-3",children:b.noCustom}),c.length>0&&(0,d.jsxs)("div",{className:"overflow-x-auto rounded border border-plexus-border",children:[(0,d.jsxs)("div",{className:"grid min-w-[720px] grid-cols-[1fr_130px_180px] gap-x-4 border-b border-plexus-border bg-plexus-surface-2/40 px-4 py-2.5 text-[11px] uppercase tracking-[0.10em] text-plexus-text-3",children:[(0,d.jsx)("div",{children:b.agent}),(0,d.jsx)("div",{className:"text-right",children:b.lite}),(0,d.jsx)("div",{className:"text-right",children:b.action})]}),c.map(a=>(0,d.jsxs)("div",{className:"grid min-w-[720px] grid-cols-[1fr_130px_180px] gap-x-4 border-b border-plexus-border/60 px-4 py-3 text-sm last:border-0",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"font-semibold text-plexus-text",children:a.displayName}),(0,d.jsx)("div",{className:"font-mono text-[11px] text-plexus-text-3",children:a.id}),(0,d.jsxs)("div",{className:"mt-1 flex items-center gap-1.5 font-mono text-[11px] text-plexus-text-2",children:[(0,d.jsx)(k.A,{className:"h-3 w-3",strokeWidth:1.5}),a.instructionFile]}),a.note&&(0,d.jsx)("div",{className:"mt-1 text-[11px] italic text-plexus-text-3",children:a.note})]}),(0,d.jsx)("div",{className:"text-right",children:(0,d.jsx)(f.E,{variant:"native",children:b.instructionsOnly})}),(0,d.jsxs)("div",{className:"flex justify-end gap-2 text-right",children:[(0,d.jsx)(r,{agent:a,copy:b}),(0,d.jsxs)(g.Button,{variant:"ghost",size:"sm",onClick:()=>K(a.id),disabled:y,children:[(0,d.jsx)(l.A,{className:"h-3.5 w-3.5",strokeWidth:1.5}),b.remove]})]})]},a.id))]})]})]})}function r({agent:a,copy:b}){let[c,e]=(0,o.useState)(!1),[h,i]=(0,o.useState)(!1),[k,l]=(0,o.useState)(!1),[p,q]=(0,o.useState)(""),[s,t]=(0,o.useState)(!1),[u,v]=(0,o.useState)(null);async function w(){t(!0),v(null);try{let c=await fetch(`/api/custom-agents/${encodeURIComponent(a.id)}/file`,{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify({content:p})}),d=await c.json();if(!d.ok)return void v(d.message??b.saveFailed);l(!0),v(d.backup?b.savedBackup(d.backup):b.saved)}catch(a){v(a.message)}finally{t(!1)}}return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(g.Button,{variant:"ghost",size:"sm",onClick:()=>e(!0),children:[(0,d.jsx)(m.A,{className:"h-3.5 w-3.5",strokeWidth:1.5}),b.edit]}),c&&(0,d.jsx)("div",{role:"presentation",className:"fixed inset-0 z-50 flex cursor-default items-center justify-center bg-black/70 p-6",onClick:()=>e(!1),children:(0,d.jsxs)("div",{className:"flex h-[80vh] w-[80vw] max-w-5xl cursor-default flex-col overflow-hidden rounded-md border border-plexus-border bg-plexus-surface text-left shadow-lg",onClick:a=>a.stopPropagation(),onKeyDown:a=>a.stopPropagation(),children:[(0,d.jsxs)("div",{className:"flex items-center justify-between border-b border-plexus-border px-5 py-3",children:[(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)(f.E,{variant:k?"synced":"native",children:k?b.editing:b.newFile}),(0,d.jsx)("span",{className:"text-sm font-semibold text-plexus-text",children:a.displayName})]}),(0,d.jsx)("code",{className:"mt-1 block truncate font-mono text-xs text-plexus-text-3",children:a.instructionFile})]}),(0,d.jsx)("button",{type:"button","aria-label":"Close",onClick:()=>e(!1),className:"text-plexus-text-3 hover:text-plexus-text",children:(0,d.jsx)(j.A,{className:"h-4 w-4",strokeWidth:1.5})})]}),(0,d.jsx)("div",{className:"border-b border-plexus-border bg-plexus-surface-2/40 px-5 py-2 text-xs text-plexus-text-3",children:b.snapshotNotice}),u&&(0,d.jsx)("div",{className:"border-b border-plexus-border bg-plexus-surface-2 px-5 py-2 text-xs text-plexus-text-2",children:u}),(0,d.jsx)("textarea",{className:"flex-1 resize-none bg-plexus-bg p-4 font-mono text-xs text-plexus-text outline-none",value:p,onChange:a=>q(a.target.value)}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-2 border-t border-plexus-border px-5 py-3",children:[(0,d.jsx)(g.Button,{variant:"ghost",size:"sm",onClick:()=>e(!1),children:b.close}),(0,d.jsxs)(g.Button,{variant:"primary",size:"sm",onClick:w,disabled:s,children:[s&&(0,d.jsx)(n.A,{className:"h-3.5 w-3.5 animate-spin",strokeWidth:1.5}),s?b.saving:b.save]})]})]})})]})}},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},43954:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/interception-routes")},48161:a=>{"use strict";a.exports=require("node:os")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},57975:a=>{"use strict";a.exports=require("node:util")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},63196:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>M,handler:()=>O,routeModule:()=>N});var d=c(80666),e=c(51421),f=c(4675),g=c(29796),h=c(54046),i=c(74928),j=c(19727),k=c(24268),l=c(60402),m=c(22040),n=c(27186),o=c(49228),p=c(97485),q=c(261),r=c(80885),s=c(7162),t=c(26713),u=c(70972),v=c(57341),w=c(95105),x=c(38038),y=c(29898),z=c(62918),A=c(98798),B=c(86439),C=c(77068),D=c(31214),E=c(35402),F=c(29059),G=c(70722),H=c(31182),I=c(43954),J=c(17891),K={};for(let a in E)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(K[a]=()=>E[a]);c.d(b,K);let L={children:["",{children:["settings",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,25157)),"/Users/tyrion.liang/GitHub/Plexus/apps/web/app/settings/page.tsx"]}]},{"global-error":[()=>Promise.resolve().then(c.t.bind(c,32594,23)),"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[()=>Promise.resolve().then(c.bind(c,9834)),"/Users/tyrion.liang/GitHub/Plexus/apps/web/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,32594,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,46292,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,4253,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,49184,23)),"next/dist/client/components/builtin/unauthorized.js"]},[]]}.children,M={require:c,loadChunk:()=>Promise.resolve()},N=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/settings/page",pathname:"/settings",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:L},distDir:".next",relativeProjectDir:""});async function O(a,b,d){var K,P,Q,R,S;d.requestMeta&&(0,h.setRequestMeta)(a,d.requestMeta),N.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let T=!!(0,h.getRequestMeta)(a,"minimalMode"),U="/settings/page";"/index"===U&&(U="/");let V=await N.prepare(a,b,{srcPage:U,multiZoneDraftMode:!1});if(!V)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:W,query:X,params:Y,pageIsDynamic:Z,buildManifest:$,nextFontManifest:_,reactLoadableManifest:aa,serverActionsManifest:ab,clientReferenceManifest:ac,subresourceIntegrityManifest:ad,prerenderManifest:ae,isDraftMode:af,resolvedPathname:ag,revalidateOnlyGenerated:ah,routerServerContext:ai,nextConfig:aj,parsedUrl:ak,interceptionRoutePatterns:al,deploymentId:am,clientAssetToken:an}=V,ao=(0,q.normalizeAppPath)(U),{isOnDemandRevalidate:ap}=V,aq=aj.experimental.ppr&&!aj.cacheComponents&&(0,I.isInterceptionRouteAppPath)(ag)?null:N.match(ag,ae),ar=(null==aq?void 0:aq.route)??null,as=!!ae.routes[ag],at=a.headers["user-agent"]||"",au=(0,t.getBotType)(at),av=(0,p.isHtmlBotRequest)(a),aw=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[s.NEXT_ROUTER_PREFETCH_HEADER],ax=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[s.RSC_HEADER],ay=(0,r.getIsPossibleServerAction)(a),az=(0,m.checkIsAppPPREnabled)(aj.experimental.ppr),aA=a.headers[x.NEXT_RESUME_STATE_LENGTH_HEADER];if(!(0,h.getRequestMeta)(a,"postponed")&&T&&az&&ay&&aA&&"string"==typeof aA){let e=parseInt(aA,10),{maxPostponedStateSize:f,maxPostponedStateSizeBytes:g}=(0,D.getMaxPostponedStateSize)(aj.experimental.maxPostponedStateSize);if(!isNaN(e)&&e>0){if(e>g)return b.statusCode=413,b.end((0,D.getPostponedStateExceededErrorMessage)(f)),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let i="1 MB",j=(null==(S=aj.experimental.serverActions)?void 0:S.bodySizeLimit)??i,k=e+(j!==i?c(32683).parse(j):1048576),l=await (0,D.readBodyWithSizeLimit)(a,k);if(null===l)return b.statusCode=413,b.end("Request body exceeded limit. To configure the body size limit for Server Actions, see: https://nextjs.org/docs/app/api-reference/next-config-js/serverActions#bodysizelimit"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;if(l.length>=e){let b=l.subarray(0,e).toString("utf8");(0,h.addRequestMeta)(a,"postponed",b);let c=l.subarray(e);(0,h.addRequestMeta)(a,"actionBody",c)}else throw Object.defineProperty(Error(`invariant: expected ${e} bytes of postponed state but only received ${l.length} bytes`),"__NEXT_ERROR_CODE",{value:"E979",enumerable:!1,configurable:!0})}}if(!(0,h.getRequestMeta)(a,"postponed")&&az&&"1"===a.headers[x.NEXT_RESUME_HEADER]&&"POST"===a.method){let{maxPostponedStateSize:c,maxPostponedStateSizeBytes:e}=(0,D.getMaxPostponedStateSize)(aj.experimental.maxPostponedStateSize),f=await (0,D.readBodyWithSizeLimit)(a,e);if(null===f)return b.statusCode=413,b.end((0,D.getPostponedStateExceededErrorMessage)(c)),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let g=f.toString("utf8");(0,h.addRequestMeta)(a,"postponed",g)}let aB=!0===N.isDev||!0===aj.experimental.exposeTestingApiInProductionBuild,aC=aB&&("1"===a.headers[s.NEXT_INSTANT_PREFETCH_HEADER]||void 0===a.headers[s.RSC_HEADER]&&"string"==typeof a.headers.cookie&&a.headers.cookie.includes(s.NEXT_INSTANT_TEST_COOKIE+"=")),aD=(az||aC)&&((null==(K=ae.routes[ao]??ae.dynamicRoutes[ao])?void 0:K.renderingMode)==="PARTIALLY_STATIC"||aC&&(aB||(null==ai?void 0:ai.experimentalTestProxy)===!0)),aE=aC&&aD,aF=aE&&!0===N.isDev,aG=!1,aH=aD?(0,h.getRequestMeta)(a,"postponed"):void 0,aI=null==(P=ae.routes[ag])?void 0:P.prefetchDataRoute,aJ=aD&&ax&&!aw&&!aI;T&&(aJ=aJ&&!!aH);let aK=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),aL=(!au||!aD)&&(!at||(0,p.shouldServeStreamingMetadata)(at,aj.htmlLimitedBots)),aM=!!((ar||as||ae.routes[ao])&&!(au&&aD)),aN=aD&&!0===aj.cacheComponents,aO=!0===N.isDev||!aM||"string"==typeof aH||(aN&&(0,h.getRequestMeta)(a,"onCacheEntryV2")?aJ&&!T:aJ),aP=!!au&&aD,aQ=(null==ar?void 0:ar.remainingPrerenderableParams)??[],aR=(null==ar?void 0:ar.fallback)===null&&((null==(Q=ar.fallbackRootParams)?void 0:Q.length)??0)>0,aS=null;if(!af&&aM&&!aO&&!ay&&!aH&&!aJ){let a=aq?"string"==typeof(null==ar?void 0:ar.fallback)?ar.fallback:aq.source:null;if(!0===aj.experimental.partialFallbacks&&a&&(null==ar?void 0:ar.fallbackRouteParams)&&!aR){if(aQ.length>0){let b,c=(b=new Map(aQ.map(a=>[a.paramName,a])),a.split("/").map(a=>{let c=(0,J.getSegmentParam)(a);if(!c)return a;let d=b.get(c.paramName);if(!d)return a;let e=null==Y?void 0:Y[d.paramName];if(!e)return a;let f=Array.isArray(e)?e.map(a=>encodeURIComponent(a)).join("/"):encodeURIComponent(e);return a.replace(function(a){let{repeat:b,optional:c}=(0,J.getParamProperties)(a.paramType);return c?`[[...${a.paramName}]]`:b?`[...${a.paramName}]`:`[${a.paramName}]`}(d),f)}).join("/")||"/");aS=c!==a?c:null}}else aS=ag}let aT=aS;!aT&&(N.isDev||aM&&Z&&(null==ar?void 0:ar.fallbackRouteParams)&&!ay)&&(aT=ag),N.isDev||af||!aM||!ax||aJ||(0,k.d)(a.headers);let aU={...E,tree:L,handler:O,routeModule:N,__next_app__:M};ab&&ac&&(0,o.setManifestsSingleton)({page:U,clientReferenceManifest:ac,serverActionsManifest:ab});let aV=a.method||"GET",aW=(0,g.getTracer)(),aX=aW.getActiveScopeSpan(),aY=!!(null==ai?void 0:ai.isWrappedByNextServer),aZ=!0===aj.experimental.partialFallbacks&&aQ.length>0?(null==ar||null==(R=ar.fallbackRouteParams)?void 0:R.filter(a=>!aQ.some(b=>b.paramName===a.paramName)))??[]:[],a$=async()=>((null==ai?void 0:ai.render404)?await ai.render404(a,b,ak,!1):b.end("This page could not be found"),null);try{let k,m=N.getVaryHeader(ag,al);b.setHeader("Vary",m);let o=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return N.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aW.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aV} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a),k&&k!==c&&(k.setAttribute("http.route",d),k.updateName(a))}else c.updateName(`${aV} ${U}`)})},p=(0,h.getRequestMeta)(a,"incrementalCache")||await N.getIncrementalCache(a,aj,ae,T);null==p||p.resetRequestCache(),globalThis.__incrementalCache=p;let q=async({span:e,postponed:f,fallbackRouteParams:g,forceStaticRender:i})=>{let k={query:X,params:Y,page:ao,sharedContext:{buildId:W,deploymentId:am,clientAssetToken:an},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aU,Component:(0,j.T)(aU),params:Y,routeModule:N,page:U,postponed:f,shouldWaitOnAllReady:aP,serveStreamingMetadata:aL,supportsDynamicResponse:"string"==typeof f||aO,buildManifest:$,nextFontManifest:_,reactLoadableManifest:aa,subresourceIntegrityManifest:ad,setCacheStatus:null==ai?void 0:ai.setCacheStatus,setIsrStatus:null==ai?void 0:ai.setIsrStatus,setReactDebugChannel:null==ai?void 0:ai.setReactDebugChannel,sendErrorsToBrowser:null==ai?void 0:ai.sendErrorsToBrowser,dir:c(33873).join(process.cwd(),N.relativeProjectDir),isDraftMode:af,botType:au,isOnDemandRevalidate:ap,isPossibleServerAction:ay,assetPrefix:aj.assetPrefix,nextConfigOutput:aj.output,crossOrigin:aj.crossOrigin,trailingSlash:aj.trailingSlash,images:aj.images,previewProps:ae.preview,enableTainting:aj.experimental.taint,htmlLimitedBots:aj.htmlLimitedBots,reactMaxHeadersLength:aj.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:p,cacheLifeProfiles:aj.cacheLife,basePath:aj.basePath,serverActions:aj.experimental.serverActions,logServerFunctions:"object"==typeof aj.logging&&!!aj.logging.serverFunctions,...aE||aF||aG?{isBuildTimePrerendering:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:aF}:{},cacheComponents:!!aj.cacheComponents,experimental:{isRoutePPREnabled:aD,expireTime:aj.expireTime,staleTimes:aj.experimental.staleTimes,dynamicOnHover:!!aj.experimental.dynamicOnHover,optimisticRouting:!!aj.experimental.optimisticRouting,inlineCss:!!aj.experimental.inlineCss,prefetchInlining:aj.experimental.prefetchInlining??!1,authInterrupts:!!aj.experimental.authInterrupts,cachedNavigations:!!aj.experimental.cachedNavigations,clientTraceMetadata:aj.experimental.clientTraceMetadata||[],clientParamParsingOrigins:aj.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,C.parseMaxPostponedStateSize)(aj.experimental.maxPostponedStateSize)},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>N.onRequestError(a,b,d,e,ai),err:(0,h.getRequestMeta)(a,"invokeError")}};i&&(k.renderOpts.supportsDynamicResponse=!1);let l=await o(e,k),{metadata:m}=l,{cacheControl:n,headers:q={},fetchTags:r,fetchMetrics:s}=m;if(r&&(q[x.NEXT_CACHE_TAGS_HEADER]=r),a.fetchMetrics=s,aM&&(null==n?void 0:n.revalidate)===0&&!N.isDev&&!aD){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${ag}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
2
- see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:u.CachedRouteKind.APP_PAGE,html:l,headers:q,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},r=async({hasResolved:c,previousCacheEntry:g,isRevalidating:i,span:j,forceStaticRender:k=!1})=>{let l=!1===N.isDev,m=c||b.writableEnded;try{let f;if(ap&&ah&&!g&&!T)return(null==ai?void 0:ai.render404)?await ai.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ar&&(f=(0,v.parseFallbackField)(ar.fallback)),!0===aj.experimental.partialFallbacks&&(null==ar?void 0:ar.fallback)===null&&!aR&&aQ.length>0&&(f=v.FallbackMode.PRERENDER),f===v.FallbackMode.PRERENDER&&(0,t.isBot)(at)&&(!aD||av)&&(f=v.FallbackMode.BLOCKING_STATIC_RENDER),(null==g?void 0:g.isStale)===-1&&(ap=!0),ap&&(f!==v.FallbackMode.NOT_FOUND||g)&&(f=v.FallbackMode.BLOCKING_STATIC_RENDER),!T&&f!==v.FallbackMode.BLOCKING_STATIC_RENDER&&aT&&!m&&!af&&Z&&(l||!as)){if((l||ar)&&f===v.FallbackMode.NOT_FOUND){if(aj.adapterPath)return await a$();throw new B.NoFallbackError}if(aD&&(aj.cacheComponents?!aJ:!ax)){let b=l&&"string"==typeof(null==ar?void 0:ar.fallback)?ar.fallback:ao,f=(l||aE)&&(null==ar?void 0:ar.fallbackRouteParams)?(0,n.createOpaqueFallbackRouteParams)(ar.fallbackRouteParams):aG?(0,n.getFallbackRouteParams)(ao,N):null;aE&&f&&(0,h.addRequestMeta)(a,"fallbackParams",f);let g=await N.handleResponse({cacheKey:b,req:a,nextConfig:aj,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:ae,isRoutePPREnabled:aD,responseGenerator:async()=>q({span:j,postponed:void 0,fallbackRouteParams:f,forceStaticRender:!0}),waitUntil:d.waitUntil,isMinimalMode:T});if(null===g)return null;if(g)return T||!aD||!(aQ.length>0)||!0!==aj.experimental.partialFallbacks||!aS||!p||ap||aG||aB||aC||aw||(0,H.scheduleOnNextTick)(async()=>{let b=N.getResponseCache(a);try{await b.revalidate(aS,p,aD,!1,a=>q({span:a.span,postponed:void 0,fallbackRouteParams:aZ.length>0?(0,n.createOpaqueFallbackRouteParams)(aZ):null,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}),delete g.cacheControl,g}}let o=ap||i||!aH?void 0:aH;if(aN&&!T&&p&&(aJ||ay)&&!k){let b=await p.get(ag,{kind:u.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===u.CachedRouteKind.APP_PAGE&&(o=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,H.scheduleOnNextTick)(async()=>{let b=N.getResponseCache(a);try{await b.revalidate(ag,p,aD,!1,a=>r({...a,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if((aE||aF)&&void 0!==o)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:u.CachedRouteKind.PAGES,html:w.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let s=(l&&(0,h.getRequestMeta)(a,"renderFallbackShell")||aE&&!as)&&(null==ar?void 0:ar.fallbackRouteParams)?(0,n.createOpaqueFallbackRouteParams)(ar.fallbackRouteParams):aG?(0,n.getFallbackRouteParams)(ao,N):null;if((l||aE)&&aj.cacheComponents&&!as&&(null==ar?void 0:ar.fallbackRouteParams)){let b=(0,n.createOpaqueFallbackRouteParams)(ar.fallbackRouteParams);b&&(0,h.addRequestMeta)(a,"fallbackParams",b)}return q({span:j,postponed:o,fallbackRouteParams:s,forceStaticRender:k})}catch(b){throw(null==g?void 0:g.isStale)&&await N.onRequestError(a,b,{routerKind:"App Router",routePath:U,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:aM,isOnDemandRevalidate:ap})},!1,ai),b}},D=async c=>{var f,g,i,j,k;let l,m=await N.handleResponse({cacheKey:aS,responseGenerator:a=>r({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ap,isRoutePPREnabled:aD,req:a,nextConfig:aj,prerenderManifest:ae,waitUntil:d.waitUntil,isMinimalMode:T});if(af&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),N.isDev&&b.setHeader("Cache-Control","no-cache, must-revalidate"),!m){if(aS)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=m.value)?void 0:f.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=m.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let n="string"==typeof m.value.postponed;ax&&!ay&&am&&b.setHeader(x.NEXT_NAV_DEPLOYMENT_ID_HEADER,am),aM&&!aJ&&(!n||aw)&&(T||b.setHeader("x-nextjs-cache",ap?"REVALIDATED":m.isMiss?"MISS":m.isStale?"STALE":"HIT"),b.setHeader(s.NEXT_IS_PRERENDER_HEADER,"1"));let{value:o}=m;if(aH)l={revalidate:0,expire:void 0};else if(aJ)l={revalidate:0,expire:void 0};else if(!N.isDev)if(af)l={revalidate:0,expire:void 0};else if(aM){if(m.cacheControl)if("number"==typeof m.cacheControl.revalidate){if(m.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${m.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:m.cacheControl.revalidate,expire:(null==(j=m.cacheControl)?void 0:j.expire)??aj.expireTime}}else l={revalidate:x.CACHE_ONE_YEAR_SECONDS,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(m.cacheControl=l,"string"==typeof aK&&(null==o?void 0:o.kind)===u.CachedRouteKind.APP_PAGE&&o.segmentData){b.setHeader(s.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=o.headers)?void 0:k[x.NEXT_CACHE_TAGS_HEADER];T&&aM&&c&&"string"==typeof c&&b.setHeader(x.NEXT_CACHE_TAGS_HEADER,c);let d=o.segmentData.get(aK);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:w.default.fromStatic(d,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl}))}let p=aN?(0,h.getRequestMeta)(a,"onCacheEntryV2")??(0,h.getRequestMeta)(a,"onCacheEntry"):(0,h.getRequestMeta)(a,"onCacheEntry");if(p&&await p(m,{url:(0,h.getRequestMeta)(a,"initURL")??a.url}))return null;if(o.headers){let a={...o.headers};for(let[c,d]of(T&&aM||delete a[x.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=o.headers)?void 0:g[x.NEXT_CACHE_TAGS_HEADER];if(T&&aM&&t&&"string"==typeof t&&b.setHeader(x.NEXT_CACHE_TAGS_HEADER,t),!o.status||ax&&aD||(b.statusCode=o.status),!T&&o.status&&F.RedirectStatusCode[o.status]&&ax&&(b.statusCode=200),n&&!aJ&&b.setHeader(s.NEXT_DID_POSTPONE_HEADER,"1"),ax&&!af){if(void 0===o.rscData){if(o.html.contentType!==s.RSC_CONTENT_TYPE_HEADER)if(aj.cacheComponents)return b.statusCode=404,(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl});else throw Object.defineProperty(new G.InvariantError(`Expected RSC response, got ${o.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:o.html,cacheControl:m.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:w.default.fromStatic(o.rscData,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl})}let v=o.html;if(aC&&aE){let c=!0===N.isDev?crypto.randomUUID():null;return v.pipeThrough((0,z.createInstantTestScriptInsertionTransformStream)(c)),(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}})}if(!n||T||ax)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:v,cacheControl:m.cacheControl});if(aE||aF)return v.push(new ReadableStream({start(a){a.enqueue(y.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}});let B=new TransformStream;return v.push(B.readable),q({span:c,postponed:o.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(B.writable)}).catch(a=>{B.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}})};if(!aY||!aX)return k=aW.getActiveScopeSpan(),await aW.withPropagatedContext(a.headers,()=>aW.trace(i.BaseServerSpan.handleRequest,{spanName:`${aV} ${U}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aV,"http.target":a.url}},D),void 0,!aY);await D(aX)}catch(b){throw b instanceof B.NoFallbackError||await N.onRequestError(a,b,{routerKind:"App Router",routePath:U,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:aM,isOnDemandRevalidate:ap})},!1,ai),b}}},70722:a=>{"use strict";a.exports=require("next/dist/shared/lib/invariant-error")},71355:(a,b,c)=>{"use strict";c.d(b,{SettingsPanel:()=>d});let d=(0,c(30274).registerClientReference)(function(){throw Error("Attempted to call SettingsPanel() from the server but SettingsPanel 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.")},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/settings-panel.tsx","SettingsPanel")},72186:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(2131).A)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},73024:a=>{"use strict";a.exports=require("node:fs")},74984:(a,b,c)=>{Promise.resolve().then(c.bind(c,40414)),Promise.resolve().then(c.bind(c,27025)),Promise.resolve().then(c.bind(c,73754)),Promise.resolve().then(c.bind(c,30768)),Promise.resolve().then(c.t.bind(c,58599,23))},76760:a=>{"use strict";a.exports=require("node:path")},77068:a=>{"use strict";a.exports=require("next/dist/shared/lib/size-limit")},77598:a=>{"use strict";a.exports=require("node:crypto")},79428:a=>{"use strict";a.exports=require("buffer")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},88136:(a,b,c)=>{Promise.resolve().then(c.bind(c,98900)),Promise.resolve().then(c.bind(c,71355)),Promise.resolve().then(c.bind(c,25932)),Promise.resolve().then(c.bind(c,28774)),Promise.resolve().then(c.t.bind(c,95953,23))},98900:(a,b,c)=>{"use strict";c.d(b,{CustomAgentsPanel:()=>d});let d=(0,c(30274).registerClientReference)(function(){throw Error("Attempted to call CustomAgentsPanel() from the server but CustomAgentsPanel 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.")},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/custom-agents-panel.tsx","CustomAgentsPanel")}};var b=require("../../webpack-runtime.js");b.C(a);var c=b.X(0,[103,397,479,174,750,921,620],()=>b(b.s=63196));module.exports=c})();
1
+ (()=>{var a={};a.id=662,a.ids=[662],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3578:(a,b,c)=>{"use strict";c.d(b,{L:()=>h,Z:()=>g});var d=c(2474),e=c(8335),f=c(10963);let g=(0,f.forwardRef)(({className:a,...b},c)=>(0,d.jsx)("div",{ref:c,className:(0,e.cn)("rounded-md border border-plexus-border bg-plexus-surface","transition-colors duration-plexus-normal ease-plexus-out",a),...b}));g.displayName="Card";let h=(0,f.forwardRef)(({className:a,...b},c)=>(0,d.jsx)(g,{ref:c,className:(0,e.cn)("hover:border-plexus-border-strong hover:-translate-y-px",a),...b}));h.displayName="CardHover"},6463:(a,b,c)=>{Promise.resolve().then(c.bind(c,40414)),Promise.resolve().then(c.bind(c,27025)),Promise.resolve().then(c.bind(c,73754)),Promise.resolve().then(c.bind(c,30768)),Promise.resolve().then(c.t.bind(c,58599,23))},7233:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(2131).A)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]])},8335:(a,b,c)=>{"use strict";c.d(b,{cn:()=>f});var d=c(21163),e=c(25511);function f(...a){return(0,e.QP)((0,d.$)(a))}},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11560:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(2131).A)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},17891:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/get-segment-param")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19771:a=>{"use strict";a.exports=require("process")},23772:(a,b,c)=>{"use strict";c.d(b,{Z:()=>g});var d=c(92692),e=c(45813),f=c(71277);let g=(0,f.forwardRef)(({className:a,...b},c)=>(0,d.jsx)("div",{ref:c,className:(0,e.cn)("rounded-md border border-plexus-border bg-plexus-surface","transition-colors duration-plexus-normal ease-plexus-out",a),...b}));g.displayName="Card",(0,f.forwardRef)(({className:a,...b},c)=>(0,d.jsx)(g,{ref:c,className:(0,e.cn)("hover:border-plexus-border-strong hover:-translate-y-px",a),...b})).displayName="CardHover"},24615:(a,b,c)=>{Promise.resolve().then(c.bind(c,98900)),Promise.resolve().then(c.bind(c,71355)),Promise.resolve().then(c.bind(c,25932)),Promise.resolve().then(c.bind(c,28774)),Promise.resolve().then(c.t.bind(c,95953,23))},25157:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>r,dynamic:()=>p});var d=c(2474),e=c(98900),f=c(71355),g=c(25932),h=c(3578),i=c(96638),j=c(93895);let k=(0,j.A)("network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]),l=(0,j.A)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);var m=c(91310),n=c.n(m),o=c(45628);let p="force-dynamic",q={en:{title:"Settings",description:"Plexus is local-only. Nothing leaves this machine — no telemetry, no remote logging. Configure which agents take part in sync and how Plexus mirrors files.",architectureTitle:"How sharing works",architecture:"Open the clickable architecture map for rules, skills, MCP files, backups, and the hybrid sync strategy.",openArchitecture:"View design"},zh:{title:"设置",description:"Plexus 只在本机运行,不发送遥测,也没有远程日志。你可以在这里配置哪些 Agent 参与同步,以及 Plexus 如何镜像文件。",architectureTitle:"同步机制是怎么工作的",architecture:"打开可点击的架构图,查看 Rules、Skills、MCP、备份和 hybrid sync strategy 的具体设计。",openArchitecture:"查看设计图"}};async function r(){let a=q[await (0,i.s)()],b=await (0,o.readConfig)();return(0,d.jsxs)("div",{className:"space-y-8",children:[(0,d.jsxs)("header",{children:[(0,d.jsx)("h1",{className:"plexus-display mb-2",children:a.title}),(0,d.jsx)("p",{className:"max-w-2xl text-sm leading-relaxed text-plexus-text-2",children:a.description})]}),(0,d.jsxs)(h.Z,{className:"flex flex-col gap-4 border-l-[3px] border-l-plexus-accent px-5 py-4 sm:flex-row sm:items-center sm:justify-between",children:[(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)(k,{className:"mt-0.5 h-4 w-4 shrink-0 text-plexus-accent",strokeWidth:1.5}),(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"text-sm font-semibold text-plexus-text",children:a.architectureTitle}),(0,d.jsx)("p",{className:"mt-1 max-w-2xl text-xs leading-relaxed text-plexus-text-2",children:a.architecture})]})]}),(0,d.jsx)(g.Button,{asChild:!0,variant:"secondary",size:"sm",className:"shrink-0",children:(0,d.jsxs)(n(),{href:"/about",children:[a.openArchitecture,(0,d.jsx)(l,{className:"h-3.5 w-3.5",strokeWidth:1.5})]})})]}),(0,d.jsx)(f.SettingsPanel,{config:b,agents:[...o.ALL_AGENTS],displayNames:o.AGENT_DISPLAY_NAMES}),(0,d.jsx)(e.CustomAgentsPanel,{})]})}},25932:(a,b,c)=>{"use strict";c.d(b,{Button:()=>e});var d=c(30274);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call Button() from the server but Button 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/button.tsx","Button");(0,d.registerClientReference)(function(){throw Error("Attempted to call buttonVariants() from the server but buttonVariants 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/button.tsx","buttonVariants")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},27025:(a,b,c)=>{"use strict";c.d(b,{SettingsPanel:()=>k});var d=c(92692),e=c(84774),f=c(73754),g=c(23772),h=c(33150),i=c(71277);let j={en:{saved:"Saved",privacyTitle:"Privacy pledge.",privacy:"Plexus runs entirely on your machine. No data is sent anywhere — not even crash reports. The only outbound traffic is the optional git pull when you subscribe to a team config repo.",enabledAgents:"Enabled agents",enabledAgentsHelp:"Disable an agent to skip it during sync, even if it is installed.",syncStrategy:"Sync strategy",syncStrategyHelp:"Symlinks are preferred — changes propagate instantly without re-running sync. Copy fallback is more portable across operating systems but requires sync to refresh files."},zh:{saved:"已保存",privacyTitle:"隐私承诺。",privacy:"Plexus 完全在你的机器上运行。不会发送任何数据,包括崩溃报告。唯一的外部网络请求是你订阅团队配置仓库时可选的 git pull。",enabledAgents:"启用的 Agent",enabledAgentsHelp:"关闭某个 Agent 后,即使它已安装,同步时也会跳过它。",syncStrategy:"同步策略",syncStrategyHelp:"优先使用软链接:改动会立即传播,不需要再次同步。复制模式跨系统更稳,但文件刷新需要重新同步。"}};function k({config:a,agents:b,displayNames:c}){let{locale:l}=(0,e.o)(),m=j[l],[n,o]=(0,i.useState)(a),[p,q]=(0,i.useState)(null);async function r(a){o(a);let b=await fetch("/api/config",{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify(a)});b.ok?(q(m.saved),setTimeout(()=>q(null),1200)):q(`Error: ${await b.text()}`)}return(0,d.jsxs)("div",{className:"space-y-6",children:[(0,d.jsx)(g.Z,{className:"border-l-[3px] border-l-plexus-ok px-5 py-4",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)(h.A,{className:"mt-0.5 h-4 w-4 shrink-0 text-plexus-ok",strokeWidth:1.5}),(0,d.jsxs)("div",{className:"text-xs leading-relaxed text-plexus-text-2",children:[(0,d.jsx)("span",{className:"font-semibold text-plexus-text",children:m.privacyTitle})," ",m.privacy]})]})}),(0,d.jsxs)(g.Z,{className:"p-5",children:[(0,d.jsx)("div",{className:"plexus-eyebrow mb-1",children:m.enabledAgents}),(0,d.jsx)("p",{className:"text-xs text-plexus-text-3",children:m.enabledAgentsHelp}),(0,d.jsx)("div",{className:"mt-4 grid grid-cols-2 gap-3",children:b.map(a=>{let b=!1!==n.agents[a];return(0,d.jsxs)("label",{className:"flex cursor-pointer items-center gap-3 rounded border border-plexus-border bg-plexus-bg px-3 py-2 text-sm hover:border-plexus-border-strong",children:[(0,d.jsx)("input",{type:"checkbox",checked:b,onChange:b=>r({...n,agents:{...n.agents,[a]:b.target.checked}}),className:"h-4 w-4 cursor-pointer accent-plexus-accent"}),(0,d.jsx)("span",{className:b?"text-plexus-text":"text-plexus-text-3",children:c[a]??a})]},a)})})]}),(0,d.jsxs)(g.Z,{className:"p-5",children:[(0,d.jsx)("div",{className:"plexus-eyebrow mb-1",children:m.syncStrategy}),(0,d.jsx)("p",{className:"text-xs text-plexus-text-3",children:m.syncStrategyHelp}),(0,d.jsx)("div",{className:"mt-4 flex gap-2",children:["symlink","copy"].map(a=>{let b=n.syncStrategy===a;return(0,d.jsx)(f.Button,{variant:b?"primary":"secondary",size:"sm",onClick:()=>r({...n,syncStrategy:a}),children:a},a)})})]}),p&&(0,d.jsx)("div",{className:"text-xs text-plexus-text-3",children:p})]})}},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{"use strict";a.exports=require("node:child_process")},33150:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(2131).A)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},33873:a=>{"use strict";a.exports=require("path")},36257:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(2131).A)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]])},40414:(a,b,c)=>{"use strict";c.d(b,{CustomAgentsPanel:()=>q});var d=c(92692),e=c(84774),f=c(50953),g=c(73754),h=c(23772),i=c(72186),j=c(32450),k=c(11560),l=c(7233),m=c(36257),n=c(78784),o=c(71277);let p={en:{catalog:"Agent catalog",catalogHelp:"Built-in agents sync Rules, MCP, and Skills. Other popular tools are listed as manual presets so users can quickly track an instruction file without waiting for a native adapter.",addAgent:"Add agent",agent:"Agent",status:"Status",support:"Support",action:"Action",installed:"installed",missing:"missing",fullSync:"full sync",manual:"manual",builtIn:"built-in",tracked:"tracked",trackFile:"Track file",agentId:"Agent id",displayName:"Display name",instructionFilePath:"Instruction file path",pathHelp:"Absolute or ~/ relative. Plexus will create or read the file when you click View / Edit.",note:"Note",optional:"optional",notePlaceholder:"Anything to remember about this agent...",cancel:"Cancel",adding:"Adding...",loading:"Loading custom agents...",noCustom:"No custom agents yet. Click Add agent to register one.",lite:"Lite",instructionsOnly:"instructions only",remove:"Remove",edit:"Edit",close:"Close",save:"Save",saving:"Saving...",editing:"editing",newFile:"new file",snapshotNotice:"Plexus snapshots the current file before save. Missing files are created on first save.",removeConfirm:a=>`Remove custom agent '${a}'? The instruction file on disk is not deleted.`,addFailed:"Failed to add custom agent",readFailed:"Failed to read file",saveFailed:"Failed to save file",saved:"Saved.",savedBackup:a=>`Saved. Backup: ${a}`},zh:{catalog:"Agent 目录",catalogHelp:"内置 Agent 支持 Rules、MCP 和 Skills 的完整同步。其他常见工具会作为手动预设展示,用户可以先追踪一个指令文件,不必等原生适配器。",addAgent:"新增 Agent",agent:"Agent",status:"状态",support:"支持",action:"操作",installed:"已安装",missing:"未发现",fullSync:"完整同步",manual:"手动",builtIn:"内置",tracked:"已追踪",trackFile:"追踪文件",agentId:"Agent ID",displayName:"展示名称",instructionFilePath:"指令文件路径",pathHelp:"支持绝对路径或 ~/ 相对路径。点击查看/编辑时,Plexus 会读取或创建该文件。",note:"备注",optional:"可选",notePlaceholder:"记录这个 Agent 的用途或注意事项...",cancel:"取消",adding:"正在新增...",loading:"正在加载自定义 Agent...",noCustom:"还没有自定义 Agent。点击新增 Agent 登记一个。",lite:"轻量",instructionsOnly:"仅指令文件",remove:"移除",edit:"编辑",close:"关闭",save:"保存",saving:"保存中...",editing:"编辑中",newFile:"新文件",snapshotNotice:"Plexus 会在保存前快照当前文件。缺失文件会在第一次保存时创建。",removeConfirm:a=>`移除自定义 Agent '${a}'?磁盘上的指令文件不会被删除。`,addFailed:"新增自定义 Agent 失败",readFailed:"读取文件失败",saveFailed:"保存文件失败",saved:"已保存。",savedBackup:a=>`已保存。备份:${a}`}};function q(){let{locale:a}=(0,e.o)(),b=p[a],[c,m]=(0,o.useState)([]),[n,q]=(0,o.useState)([]),[s,t]=(0,o.useState)(!0),[u,v]=(0,o.useState)(!1),[w,x]=(0,o.useState)({id:"",displayName:"",instructionFile:"",note:""}),[y,z]=(0,o.useState)(!1),[A,B]=(0,o.useState)(null),C=(0,o.useId)(),D=(0,o.useId)(),E=(0,o.useId)(),F=(0,o.useId)();function G(){v(!1),B(null),x({id:"",displayName:"",instructionFile:"",note:""})}async function H(){t(!0);try{let[a,b]=await Promise.all([fetch("/api/custom-agents"),fetch("/api/agent-catalog")]),c=await a.json(),d=await b.json();m(c.agents??[]),q(d.agents??[])}finally{t(!1)}}async function I(a){a.preventDefault(),z(!0),B(null);try{let a=await fetch("/api/custom-agents",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({id:w.id.trim(),displayName:w.displayName.trim(),instructionFile:w.instructionFile.trim(),note:w.note.trim()||void 0})}),c=await a.json();if(!c.ok)return void B(c.error??b.addFailed);G(),await H()}catch(a){B(a.message)}finally{z(!1)}}async function J(a){if(a.instructionFile){z(!0),B(null);try{let c=await fetch("/api/custom-agents",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({id:a.id,displayName:a.displayName,instructionFile:a.instructionFile,note:a.note})}),d=await c.json();if(!d.ok)return void B(d.error??b.addFailed);await H()}catch(a){B(a.message)}finally{z(!1)}}}async function K(a){if(confirm(b.removeConfirm(a))){z(!0);try{await fetch(`/api/custom-agents/${encodeURIComponent(a)}`,{method:"DELETE"}),await H()}finally{z(!1)}}}let L=new Set(c.map(a=>a.id)),M=[...n].sort((a,b)=>Number(b.installed)-Number(a.installed)||a.displayName.localeCompare(b.displayName));return(0,d.jsxs)(h.Z,{className:"p-5",children:[(0,d.jsxs)("div",{className:"flex items-start justify-between gap-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"plexus-eyebrow mb-1",children:b.catalog}),(0,d.jsx)("p",{className:"max-w-xl text-xs text-plexus-text-3",children:b.catalogHelp})]}),(0,d.jsxs)(g.Button,{variant:"secondary",size:"sm",onClick:()=>v(!0),children:[(0,d.jsx)(i.A,{className:"h-3.5 w-3.5",strokeWidth:1.5}),b.addAgent]})]}),n.length>0&&(0,d.jsxs)("div",{className:"mt-5 overflow-x-auto rounded border border-plexus-border",children:[(0,d.jsxs)("div",{className:"grid min-w-[720px] grid-cols-[1fr_86px_92px_96px] gap-x-4 border-b border-plexus-border bg-plexus-surface-2/40 px-4 py-2.5 text-[11px] uppercase tracking-[0.10em] text-plexus-text-3",children:[(0,d.jsx)("div",{children:b.agent}),(0,d.jsx)("div",{className:"text-right",children:b.status}),(0,d.jsx)("div",{className:"text-right",children:b.support}),(0,d.jsx)("div",{className:"text-right",children:b.action})]}),M.map(a=>{let c=L.has(a.id);return(0,d.jsxs)("div",{className:`grid min-w-[720px] grid-cols-[1fr_86px_92px_96px] gap-x-4 border-b border-plexus-border/60 px-4 py-3 text-sm last:border-0 ${a.installed?"bg-plexus-bg":"bg-plexus-surface text-plexus-text-3"}`,children:[(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("div",{className:"font-semibold text-plexus-text",children:a.displayName}),(0,d.jsx)("div",{className:"font-mono text-[11px] text-plexus-text-3",children:a.id}),(0,d.jsx)("div",{className:"mt-1 truncate font-mono text-[11px] text-plexus-text-2",children:a.mcpPath??a.instructionFile??a.rootDir})]}),(0,d.jsx)("div",{className:"text-right",children:(0,d.jsx)(f.E,{variant:a.installed?"synced":"native",children:a.installed?b.installed:b.missing})}),(0,d.jsx)("div",{className:"text-right",children:(0,d.jsx)(f.E,{variant:a.managed?"personal":"outline",children:"full"===a.support?b.fullSync:b.manual})}),(0,d.jsx)("div",{className:"text-right",children:a.managed?(0,d.jsx)(f.E,{variant:"synced",children:b.builtIn}):c?(0,d.jsx)(f.E,{variant:"native",children:b.tracked}):(0,d.jsx)(g.Button,{variant:"ghost",size:"sm",onClick:()=>J(a),disabled:y||!a.instructionFile,children:b.trackFile})})]},a.id)})]}),u&&(0,d.jsx)("dialog",{open:!0,"aria-labelledby":"custom-agent-form-title",className:"fixed inset-0 z-50 m-0 h-full w-full max-w-none border-0 bg-transparent p-0",children:(0,d.jsx)("div",{role:"presentation",className:"flex h-full w-full cursor-default items-center justify-center bg-black/70 p-4",onClick:G,children:(0,d.jsxs)("form",{onSubmit:I,className:"w-full max-w-2xl space-y-4 rounded-md border border-plexus-border bg-plexus-surface p-5 text-left shadow-lg",onClick:a=>a.stopPropagation(),onKeyDown:a=>a.stopPropagation(),children:[(0,d.jsxs)("div",{className:"flex items-start justify-between gap-4 border-b border-plexus-border pb-3",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{id:"custom-agent-form-title",className:"text-sm font-semibold text-plexus-text",children:b.addAgent}),(0,d.jsx)("p",{className:"mt-1 text-xs text-plexus-text-3",children:b.pathHelp})]}),(0,d.jsx)("button",{type:"button","aria-label":b.close,onClick:G,className:"text-plexus-text-3 hover:text-plexus-text",children:(0,d.jsx)(j.A,{className:"h-4 w-4",strokeWidth:1.5})})]}),(0,d.jsxs)("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{htmlFor:C,className:"mb-1 block text-[11px] uppercase tracking-[0.10em] text-plexus-text-3",children:b.agentId}),(0,d.jsx)("input",{id:C,type:"text",required:!0,placeholder:"e.g. copilot-cli",value:w.id,onChange:a=>x({...w,id:a.target.value}),pattern:"[a-z0-9](?:[a-z0-9-]*[a-z0-9])?",className:"w-full rounded border border-plexus-border bg-plexus-bg px-3 py-2 text-sm text-plexus-text outline-none focus:border-plexus-accent"})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{htmlFor:D,className:"mb-1 block text-[11px] uppercase tracking-[0.10em] text-plexus-text-3",children:b.displayName}),(0,d.jsx)("input",{id:D,type:"text",required:!0,placeholder:"e.g. GitHub Copilot CLI",value:w.displayName,onChange:a=>x({...w,displayName:a.target.value}),className:"w-full rounded border border-plexus-border bg-plexus-bg px-3 py-2 text-sm text-plexus-text outline-none focus:border-plexus-accent"})]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{htmlFor:E,className:"mb-1 block text-[11px] uppercase tracking-[0.10em] text-plexus-text-3",children:b.instructionFilePath}),(0,d.jsx)("input",{id:E,type:"text",required:!0,placeholder:"e.g. ~/.config/copilot/AGENTS.md",value:w.instructionFile,onChange:a=>x({...w,instructionFile:a.target.value}),className:"w-full rounded border border-plexus-border bg-plexus-bg px-3 py-2 font-mono text-xs text-plexus-text outline-none focus:border-plexus-accent"})]}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{htmlFor:F,className:"mb-1 block text-[11px] uppercase tracking-[0.10em] text-plexus-text-3",children:[b.note," ",(0,d.jsxs)("span",{className:"lowercase text-plexus-text-3",children:["(",b.optional,")"]})]}),(0,d.jsx)("input",{id:F,type:"text",maxLength:280,placeholder:b.notePlaceholder,value:w.note,onChange:a=>x({...w,note:a.target.value}),className:"w-full rounded border border-plexus-border bg-plexus-bg px-3 py-2 text-sm text-plexus-text outline-none focus:border-plexus-accent"})]}),A&&(0,d.jsx)("div",{className:"rounded border border-plexus-err/40 bg-plexus-err/10 px-3 py-2 text-xs text-plexus-err",children:A}),(0,d.jsxs)("div",{className:"flex justify-end gap-2 border-t border-plexus-border pt-3",children:[(0,d.jsx)(g.Button,{type:"button",variant:"ghost",size:"sm",onClick:G,children:b.cancel}),(0,d.jsx)(g.Button,{type:"submit",variant:"primary",size:"sm",disabled:y,children:y?b.adding:b.addAgent})]})]})})}),(0,d.jsxs)("div",{className:"mt-5",children:[s&&(0,d.jsx)("div",{className:"text-xs text-plexus-text-3",children:b.loading}),!s&&0===c.length&&(0,d.jsx)("div",{className:"rounded border border-dashed border-plexus-border bg-plexus-bg/40 px-4 py-6 text-center text-xs text-plexus-text-3",children:b.noCustom}),c.length>0&&(0,d.jsxs)("div",{className:"overflow-x-auto rounded border border-plexus-border",children:[(0,d.jsxs)("div",{className:"grid min-w-[720px] grid-cols-[1fr_130px_180px] gap-x-4 border-b border-plexus-border bg-plexus-surface-2/40 px-4 py-2.5 text-[11px] uppercase tracking-[0.10em] text-plexus-text-3",children:[(0,d.jsx)("div",{children:b.agent}),(0,d.jsx)("div",{className:"text-right",children:b.lite}),(0,d.jsx)("div",{className:"text-right",children:b.action})]}),c.map(a=>(0,d.jsxs)("div",{className:"grid min-w-[720px] grid-cols-[1fr_130px_180px] gap-x-4 border-b border-plexus-border/60 px-4 py-3 text-sm last:border-0",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"font-semibold text-plexus-text",children:a.displayName}),(0,d.jsx)("div",{className:"font-mono text-[11px] text-plexus-text-3",children:a.id}),(0,d.jsxs)("div",{className:"mt-1 flex items-center gap-1.5 font-mono text-[11px] text-plexus-text-2",children:[(0,d.jsx)(k.A,{className:"h-3 w-3",strokeWidth:1.5}),a.instructionFile]}),a.note&&(0,d.jsx)("div",{className:"mt-1 text-[11px] italic text-plexus-text-3",children:a.note})]}),(0,d.jsx)("div",{className:"text-right",children:(0,d.jsx)(f.E,{variant:"native",children:b.instructionsOnly})}),(0,d.jsxs)("div",{className:"flex justify-end gap-2 text-right",children:[(0,d.jsx)(r,{agent:a,copy:b}),(0,d.jsxs)(g.Button,{variant:"ghost",size:"sm",onClick:()=>K(a.id),disabled:y,children:[(0,d.jsx)(l.A,{className:"h-3.5 w-3.5",strokeWidth:1.5}),b.remove]})]})]},a.id))]})]})]})}function r({agent:a,copy:b}){let[c,e]=(0,o.useState)(!1),[h,i]=(0,o.useState)(!1),[k,l]=(0,o.useState)(!1),[p,q]=(0,o.useState)(""),[s,t]=(0,o.useState)(!1),[u,v]=(0,o.useState)(null);async function w(){t(!0),v(null);try{let c=await fetch(`/api/custom-agents/${encodeURIComponent(a.id)}/file`,{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify({content:p})}),d=await c.json();if(!d.ok)return void v(d.message??b.saveFailed);l(!0),v(d.backup?b.savedBackup(d.backup):b.saved)}catch(a){v(a.message)}finally{t(!1)}}return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(g.Button,{variant:"ghost",size:"sm",onClick:()=>e(!0),children:[(0,d.jsx)(m.A,{className:"h-3.5 w-3.5",strokeWidth:1.5}),b.edit]}),c&&(0,d.jsx)("div",{role:"presentation",className:"fixed inset-0 z-50 flex cursor-default items-center justify-center bg-black/70 p-6",onClick:()=>e(!1),children:(0,d.jsxs)("div",{className:"flex h-[80vh] w-[80vw] max-w-5xl cursor-default flex-col overflow-hidden rounded-md border border-plexus-border bg-plexus-surface text-left shadow-lg",onClick:a=>a.stopPropagation(),onKeyDown:a=>a.stopPropagation(),children:[(0,d.jsxs)("div",{className:"flex items-center justify-between border-b border-plexus-border px-5 py-3",children:[(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)(f.E,{variant:k?"synced":"native",children:k?b.editing:b.newFile}),(0,d.jsx)("span",{className:"text-sm font-semibold text-plexus-text",children:a.displayName})]}),(0,d.jsx)("code",{className:"mt-1 block truncate font-mono text-xs text-plexus-text-3",children:a.instructionFile})]}),(0,d.jsx)("button",{type:"button","aria-label":"Close",onClick:()=>e(!1),className:"text-plexus-text-3 hover:text-plexus-text",children:(0,d.jsx)(j.A,{className:"h-4 w-4",strokeWidth:1.5})})]}),(0,d.jsx)("div",{className:"border-b border-plexus-border bg-plexus-surface-2/40 px-5 py-2 text-xs text-plexus-text-3",children:b.snapshotNotice}),u&&(0,d.jsx)("div",{className:"border-b border-plexus-border bg-plexus-surface-2 px-5 py-2 text-xs text-plexus-text-2",children:u}),(0,d.jsx)("textarea",{className:"flex-1 resize-none bg-plexus-bg p-4 font-mono text-xs text-plexus-text outline-none",value:p,onChange:a=>q(a.target.value)}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-2 border-t border-plexus-border px-5 py-3",children:[(0,d.jsx)(g.Button,{variant:"ghost",size:"sm",onClick:()=>e(!1),children:b.close}),(0,d.jsxs)(g.Button,{variant:"primary",size:"sm",onClick:w,disabled:s,children:[s&&(0,d.jsx)(n.A,{className:"h-3.5 w-3.5 animate-spin",strokeWidth:1.5}),s?b.saving:b.save]})]})]})})]})}},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},43954:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/interception-routes")},48161:a=>{"use strict";a.exports=require("node:os")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},57975:a=>{"use strict";a.exports=require("node:util")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},70722:a=>{"use strict";a.exports=require("next/dist/shared/lib/invariant-error")},71355:(a,b,c)=>{"use strict";c.d(b,{SettingsPanel:()=>d});let d=(0,c(30274).registerClientReference)(function(){throw Error("Attempted to call SettingsPanel() from the server but SettingsPanel 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/settings-panel.tsx","SettingsPanel")},72186:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(2131).A)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},73024:a=>{"use strict";a.exports=require("node:fs")},75899:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>M,handler:()=>O,routeModule:()=>N});var d=c(80666),e=c(51421),f=c(4675),g=c(29796),h=c(54046),i=c(74928),j=c(19727),k=c(24268),l=c(60402),m=c(22040),n=c(27186),o=c(49228),p=c(97485),q=c(261),r=c(80885),s=c(7162),t=c(26713),u=c(70972),v=c(57341),w=c(95105),x=c(38038),y=c(29898),z=c(62918),A=c(98798),B=c(86439),C=c(77068),D=c(31214),E=c(35402),F=c(29059),G=c(70722),H=c(31182),I=c(43954),J=c(17891),K={};for(let a in E)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(K[a]=()=>E[a]);c.d(b,K);let L={children:["",{children:["settings",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,25157)),"/home/runner/work/Plexus/Plexus/apps/web/app/settings/page.tsx"]}]},{"global-error":[()=>Promise.resolve().then(c.t.bind(c,32594,23)),"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[()=>Promise.resolve().then(c.bind(c,9834)),"/home/runner/work/Plexus/Plexus/apps/web/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,32594,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,46292,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,4253,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,49184,23)),"next/dist/client/components/builtin/unauthorized.js"]},[]]}.children,M={require:c,loadChunk:()=>Promise.resolve()},N=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/settings/page",pathname:"/settings",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:L},distDir:".next",relativeProjectDir:""});async function O(a,b,d){var K,P,Q,R,S;d.requestMeta&&(0,h.setRequestMeta)(a,d.requestMeta),N.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let T=!!(0,h.getRequestMeta)(a,"minimalMode"),U="/settings/page";"/index"===U&&(U="/");let V=await N.prepare(a,b,{srcPage:U,multiZoneDraftMode:!1});if(!V)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:W,query:X,params:Y,pageIsDynamic:Z,buildManifest:$,nextFontManifest:_,reactLoadableManifest:aa,serverActionsManifest:ab,clientReferenceManifest:ac,subresourceIntegrityManifest:ad,prerenderManifest:ae,isDraftMode:af,resolvedPathname:ag,revalidateOnlyGenerated:ah,routerServerContext:ai,nextConfig:aj,parsedUrl:ak,interceptionRoutePatterns:al,deploymentId:am,clientAssetToken:an}=V,ao=(0,q.normalizeAppPath)(U),{isOnDemandRevalidate:ap}=V,aq=aj.experimental.ppr&&!aj.cacheComponents&&(0,I.isInterceptionRouteAppPath)(ag)?null:N.match(ag,ae),ar=(null==aq?void 0:aq.route)??null,as=!!ae.routes[ag],at=a.headers["user-agent"]||"",au=(0,t.getBotType)(at),av=(0,p.isHtmlBotRequest)(a),aw=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[s.NEXT_ROUTER_PREFETCH_HEADER],ax=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[s.RSC_HEADER],ay=(0,r.getIsPossibleServerAction)(a),az=(0,m.checkIsAppPPREnabled)(aj.experimental.ppr),aA=a.headers[x.NEXT_RESUME_STATE_LENGTH_HEADER];if(!(0,h.getRequestMeta)(a,"postponed")&&T&&az&&ay&&aA&&"string"==typeof aA){let e=parseInt(aA,10),{maxPostponedStateSize:f,maxPostponedStateSizeBytes:g}=(0,D.getMaxPostponedStateSize)(aj.experimental.maxPostponedStateSize);if(!isNaN(e)&&e>0){if(e>g)return b.statusCode=413,b.end((0,D.getPostponedStateExceededErrorMessage)(f)),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let i="1 MB",j=(null==(S=aj.experimental.serverActions)?void 0:S.bodySizeLimit)??i,k=e+(j!==i?c(32683).parse(j):1048576),l=await (0,D.readBodyWithSizeLimit)(a,k);if(null===l)return b.statusCode=413,b.end("Request body exceeded limit. To configure the body size limit for Server Actions, see: https://nextjs.org/docs/app/api-reference/next-config-js/serverActions#bodysizelimit"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;if(l.length>=e){let b=l.subarray(0,e).toString("utf8");(0,h.addRequestMeta)(a,"postponed",b);let c=l.subarray(e);(0,h.addRequestMeta)(a,"actionBody",c)}else throw Object.defineProperty(Error(`invariant: expected ${e} bytes of postponed state but only received ${l.length} bytes`),"__NEXT_ERROR_CODE",{value:"E979",enumerable:!1,configurable:!0})}}if(!(0,h.getRequestMeta)(a,"postponed")&&az&&"1"===a.headers[x.NEXT_RESUME_HEADER]&&"POST"===a.method){let{maxPostponedStateSize:c,maxPostponedStateSizeBytes:e}=(0,D.getMaxPostponedStateSize)(aj.experimental.maxPostponedStateSize),f=await (0,D.readBodyWithSizeLimit)(a,e);if(null===f)return b.statusCode=413,b.end((0,D.getPostponedStateExceededErrorMessage)(c)),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let g=f.toString("utf8");(0,h.addRequestMeta)(a,"postponed",g)}let aB=!0===N.isDev||!0===aj.experimental.exposeTestingApiInProductionBuild,aC=aB&&("1"===a.headers[s.NEXT_INSTANT_PREFETCH_HEADER]||void 0===a.headers[s.RSC_HEADER]&&"string"==typeof a.headers.cookie&&a.headers.cookie.includes(s.NEXT_INSTANT_TEST_COOKIE+"=")),aD=(az||aC)&&((null==(K=ae.routes[ao]??ae.dynamicRoutes[ao])?void 0:K.renderingMode)==="PARTIALLY_STATIC"||aC&&(aB||(null==ai?void 0:ai.experimentalTestProxy)===!0)),aE=aC&&aD,aF=aE&&!0===N.isDev,aG=!1,aH=aD?(0,h.getRequestMeta)(a,"postponed"):void 0,aI=null==(P=ae.routes[ag])?void 0:P.prefetchDataRoute,aJ=aD&&ax&&!aw&&!aI;T&&(aJ=aJ&&!!aH);let aK=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),aL=(!au||!aD)&&(!at||(0,p.shouldServeStreamingMetadata)(at,aj.htmlLimitedBots)),aM=!!((ar||as||ae.routes[ao])&&!(au&&aD)),aN=aD&&!0===aj.cacheComponents,aO=!0===N.isDev||!aM||"string"==typeof aH||(aN&&(0,h.getRequestMeta)(a,"onCacheEntryV2")?aJ&&!T:aJ),aP=!!au&&aD,aQ=(null==ar?void 0:ar.remainingPrerenderableParams)??[],aR=(null==ar?void 0:ar.fallback)===null&&((null==(Q=ar.fallbackRootParams)?void 0:Q.length)??0)>0,aS=null;if(!af&&aM&&!aO&&!ay&&!aH&&!aJ){let a=aq?"string"==typeof(null==ar?void 0:ar.fallback)?ar.fallback:aq.source:null;if(!0===aj.experimental.partialFallbacks&&a&&(null==ar?void 0:ar.fallbackRouteParams)&&!aR){if(aQ.length>0){let b,c=(b=new Map(aQ.map(a=>[a.paramName,a])),a.split("/").map(a=>{let c=(0,J.getSegmentParam)(a);if(!c)return a;let d=b.get(c.paramName);if(!d)return a;let e=null==Y?void 0:Y[d.paramName];if(!e)return a;let f=Array.isArray(e)?e.map(a=>encodeURIComponent(a)).join("/"):encodeURIComponent(e);return a.replace(function(a){let{repeat:b,optional:c}=(0,J.getParamProperties)(a.paramType);return c?`[[...${a.paramName}]]`:b?`[...${a.paramName}]`:`[${a.paramName}]`}(d),f)}).join("/")||"/");aS=c!==a?c:null}}else aS=ag}let aT=aS;!aT&&(N.isDev||aM&&Z&&(null==ar?void 0:ar.fallbackRouteParams)&&!ay)&&(aT=ag),N.isDev||af||!aM||!ax||aJ||(0,k.d)(a.headers);let aU={...E,tree:L,handler:O,routeModule:N,__next_app__:M};ab&&ac&&(0,o.setManifestsSingleton)({page:U,clientReferenceManifest:ac,serverActionsManifest:ab});let aV=a.method||"GET",aW=(0,g.getTracer)(),aX=aW.getActiveScopeSpan(),aY=!!(null==ai?void 0:ai.isWrappedByNextServer),aZ=!0===aj.experimental.partialFallbacks&&aQ.length>0?(null==ar||null==(R=ar.fallbackRouteParams)?void 0:R.filter(a=>!aQ.some(b=>b.paramName===a.paramName)))??[]:[],a$=async()=>((null==ai?void 0:ai.render404)?await ai.render404(a,b,ak,!1):b.end("This page could not be found"),null);try{let k,m=N.getVaryHeader(ag,al);b.setHeader("Vary",m);let o=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return N.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aW.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aV} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a),k&&k!==c&&(k.setAttribute("http.route",d),k.updateName(a))}else c.updateName(`${aV} ${U}`)})},p=(0,h.getRequestMeta)(a,"incrementalCache")||await N.getIncrementalCache(a,aj,ae,T);null==p||p.resetRequestCache(),globalThis.__incrementalCache=p;let q=async({span:e,postponed:f,fallbackRouteParams:g,forceStaticRender:i})=>{let k={query:X,params:Y,page:ao,sharedContext:{buildId:W,deploymentId:am,clientAssetToken:an},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aU,Component:(0,j.T)(aU),params:Y,routeModule:N,page:U,postponed:f,shouldWaitOnAllReady:aP,serveStreamingMetadata:aL,supportsDynamicResponse:"string"==typeof f||aO,buildManifest:$,nextFontManifest:_,reactLoadableManifest:aa,subresourceIntegrityManifest:ad,setCacheStatus:null==ai?void 0:ai.setCacheStatus,setIsrStatus:null==ai?void 0:ai.setIsrStatus,setReactDebugChannel:null==ai?void 0:ai.setReactDebugChannel,sendErrorsToBrowser:null==ai?void 0:ai.sendErrorsToBrowser,dir:c(33873).join(process.cwd(),N.relativeProjectDir),isDraftMode:af,botType:au,isOnDemandRevalidate:ap,isPossibleServerAction:ay,assetPrefix:aj.assetPrefix,nextConfigOutput:aj.output,crossOrigin:aj.crossOrigin,trailingSlash:aj.trailingSlash,images:aj.images,previewProps:ae.preview,enableTainting:aj.experimental.taint,htmlLimitedBots:aj.htmlLimitedBots,reactMaxHeadersLength:aj.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:p,cacheLifeProfiles:aj.cacheLife,basePath:aj.basePath,serverActions:aj.experimental.serverActions,logServerFunctions:"object"==typeof aj.logging&&!!aj.logging.serverFunctions,...aE||aF||aG?{isBuildTimePrerendering:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:aF}:{},cacheComponents:!!aj.cacheComponents,experimental:{isRoutePPREnabled:aD,expireTime:aj.expireTime,staleTimes:aj.experimental.staleTimes,dynamicOnHover:!!aj.experimental.dynamicOnHover,optimisticRouting:!!aj.experimental.optimisticRouting,inlineCss:!!aj.experimental.inlineCss,prefetchInlining:aj.experimental.prefetchInlining??!1,authInterrupts:!!aj.experimental.authInterrupts,cachedNavigations:!!aj.experimental.cachedNavigations,clientTraceMetadata:aj.experimental.clientTraceMetadata||[],clientParamParsingOrigins:aj.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,C.parseMaxPostponedStateSize)(aj.experimental.maxPostponedStateSize)},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>N.onRequestError(a,b,d,e,ai),err:(0,h.getRequestMeta)(a,"invokeError")}};i&&(k.renderOpts.supportsDynamicResponse=!1);let l=await o(e,k),{metadata:m}=l,{cacheControl:n,headers:q={},fetchTags:r,fetchMetrics:s}=m;if(r&&(q[x.NEXT_CACHE_TAGS_HEADER]=r),a.fetchMetrics=s,aM&&(null==n?void 0:n.revalidate)===0&&!N.isDev&&!aD){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${ag}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
2
+ see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:u.CachedRouteKind.APP_PAGE,html:l,headers:q,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},r=async({hasResolved:c,previousCacheEntry:g,isRevalidating:i,span:j,forceStaticRender:k=!1})=>{let l=!1===N.isDev,m=c||b.writableEnded;try{let f;if(ap&&ah&&!g&&!T)return(null==ai?void 0:ai.render404)?await ai.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ar&&(f=(0,v.parseFallbackField)(ar.fallback)),!0===aj.experimental.partialFallbacks&&(null==ar?void 0:ar.fallback)===null&&!aR&&aQ.length>0&&(f=v.FallbackMode.PRERENDER),f===v.FallbackMode.PRERENDER&&(0,t.isBot)(at)&&(!aD||av)&&(f=v.FallbackMode.BLOCKING_STATIC_RENDER),(null==g?void 0:g.isStale)===-1&&(ap=!0),ap&&(f!==v.FallbackMode.NOT_FOUND||g)&&(f=v.FallbackMode.BLOCKING_STATIC_RENDER),!T&&f!==v.FallbackMode.BLOCKING_STATIC_RENDER&&aT&&!m&&!af&&Z&&(l||!as)){if((l||ar)&&f===v.FallbackMode.NOT_FOUND){if(aj.adapterPath)return await a$();throw new B.NoFallbackError}if(aD&&(aj.cacheComponents?!aJ:!ax)){let b=l&&"string"==typeof(null==ar?void 0:ar.fallback)?ar.fallback:ao,f=(l||aE)&&(null==ar?void 0:ar.fallbackRouteParams)?(0,n.createOpaqueFallbackRouteParams)(ar.fallbackRouteParams):aG?(0,n.getFallbackRouteParams)(ao,N):null;aE&&f&&(0,h.addRequestMeta)(a,"fallbackParams",f);let g=await N.handleResponse({cacheKey:b,req:a,nextConfig:aj,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:ae,isRoutePPREnabled:aD,responseGenerator:async()=>q({span:j,postponed:void 0,fallbackRouteParams:f,forceStaticRender:!0}),waitUntil:d.waitUntil,isMinimalMode:T});if(null===g)return null;if(g)return T||!aD||!(aQ.length>0)||!0!==aj.experimental.partialFallbacks||!aS||!p||ap||aG||aB||aC||aw||(0,H.scheduleOnNextTick)(async()=>{let b=N.getResponseCache(a);try{await b.revalidate(aS,p,aD,!1,a=>q({span:a.span,postponed:void 0,fallbackRouteParams:aZ.length>0?(0,n.createOpaqueFallbackRouteParams)(aZ):null,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}),delete g.cacheControl,g}}let o=ap||i||!aH?void 0:aH;if(aN&&!T&&p&&(aJ||ay)&&!k){let b=await p.get(ag,{kind:u.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===u.CachedRouteKind.APP_PAGE&&(o=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,H.scheduleOnNextTick)(async()=>{let b=N.getResponseCache(a);try{await b.revalidate(ag,p,aD,!1,a=>r({...a,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if((aE||aF)&&void 0!==o)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:u.CachedRouteKind.PAGES,html:w.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let s=(l&&(0,h.getRequestMeta)(a,"renderFallbackShell")||aE&&!as)&&(null==ar?void 0:ar.fallbackRouteParams)?(0,n.createOpaqueFallbackRouteParams)(ar.fallbackRouteParams):aG?(0,n.getFallbackRouteParams)(ao,N):null;if((l||aE)&&aj.cacheComponents&&!as&&(null==ar?void 0:ar.fallbackRouteParams)){let b=(0,n.createOpaqueFallbackRouteParams)(ar.fallbackRouteParams);b&&(0,h.addRequestMeta)(a,"fallbackParams",b)}return q({span:j,postponed:o,fallbackRouteParams:s,forceStaticRender:k})}catch(b){throw(null==g?void 0:g.isStale)&&await N.onRequestError(a,b,{routerKind:"App Router",routePath:U,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:aM,isOnDemandRevalidate:ap})},!1,ai),b}},D=async c=>{var f,g,i,j,k;let l,m=await N.handleResponse({cacheKey:aS,responseGenerator:a=>r({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ap,isRoutePPREnabled:aD,req:a,nextConfig:aj,prerenderManifest:ae,waitUntil:d.waitUntil,isMinimalMode:T});if(af&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),N.isDev&&b.setHeader("Cache-Control","no-cache, must-revalidate"),!m){if(aS)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=m.value)?void 0:f.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=m.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let n="string"==typeof m.value.postponed;ax&&!ay&&am&&b.setHeader(x.NEXT_NAV_DEPLOYMENT_ID_HEADER,am),aM&&!aJ&&(!n||aw)&&(T||b.setHeader("x-nextjs-cache",ap?"REVALIDATED":m.isMiss?"MISS":m.isStale?"STALE":"HIT"),b.setHeader(s.NEXT_IS_PRERENDER_HEADER,"1"));let{value:o}=m;if(aH)l={revalidate:0,expire:void 0};else if(aJ)l={revalidate:0,expire:void 0};else if(!N.isDev)if(af)l={revalidate:0,expire:void 0};else if(aM){if(m.cacheControl)if("number"==typeof m.cacheControl.revalidate){if(m.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${m.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:m.cacheControl.revalidate,expire:(null==(j=m.cacheControl)?void 0:j.expire)??aj.expireTime}}else l={revalidate:x.CACHE_ONE_YEAR_SECONDS,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(m.cacheControl=l,"string"==typeof aK&&(null==o?void 0:o.kind)===u.CachedRouteKind.APP_PAGE&&o.segmentData){b.setHeader(s.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=o.headers)?void 0:k[x.NEXT_CACHE_TAGS_HEADER];T&&aM&&c&&"string"==typeof c&&b.setHeader(x.NEXT_CACHE_TAGS_HEADER,c);let d=o.segmentData.get(aK);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:w.default.fromStatic(d,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl}))}let p=aN?(0,h.getRequestMeta)(a,"onCacheEntryV2")??(0,h.getRequestMeta)(a,"onCacheEntry"):(0,h.getRequestMeta)(a,"onCacheEntry");if(p&&await p(m,{url:(0,h.getRequestMeta)(a,"initURL")??a.url}))return null;if(o.headers){let a={...o.headers};for(let[c,d]of(T&&aM||delete a[x.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=o.headers)?void 0:g[x.NEXT_CACHE_TAGS_HEADER];if(T&&aM&&t&&"string"==typeof t&&b.setHeader(x.NEXT_CACHE_TAGS_HEADER,t),!o.status||ax&&aD||(b.statusCode=o.status),!T&&o.status&&F.RedirectStatusCode[o.status]&&ax&&(b.statusCode=200),n&&!aJ&&b.setHeader(s.NEXT_DID_POSTPONE_HEADER,"1"),ax&&!af){if(void 0===o.rscData){if(o.html.contentType!==s.RSC_CONTENT_TYPE_HEADER)if(aj.cacheComponents)return b.statusCode=404,(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl});else throw Object.defineProperty(new G.InvariantError(`Expected RSC response, got ${o.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:o.html,cacheControl:m.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:w.default.fromStatic(o.rscData,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl})}let v=o.html;if(aC&&aE){let c=!0===N.isDev?crypto.randomUUID():null;return v.pipeThrough((0,z.createInstantTestScriptInsertionTransformStream)(c)),(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}})}if(!n||T||ax)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:v,cacheControl:m.cacheControl});if(aE||aF)return v.push(new ReadableStream({start(a){a.enqueue(y.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}});let B=new TransformStream;return v.push(B.readable),q({span:c,postponed:o.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(B.writable)}).catch(a=>{B.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:aj.generateEtags,poweredByHeader:aj.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}})};if(!aY||!aX)return k=aW.getActiveScopeSpan(),await aW.withPropagatedContext(a.headers,()=>aW.trace(i.BaseServerSpan.handleRequest,{spanName:`${aV} ${U}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aV,"http.target":a.url}},D),void 0,!aY);await D(aX)}catch(b){throw b instanceof B.NoFallbackError||await N.onRequestError(a,b,{routerKind:"App Router",routePath:U,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:aM,isOnDemandRevalidate:ap})},!1,ai),b}}},76760:a=>{"use strict";a.exports=require("node:path")},77068:a=>{"use strict";a.exports=require("next/dist/shared/lib/size-limit")},77598:a=>{"use strict";a.exports=require("node:crypto")},79428:a=>{"use strict";a.exports=require("buffer")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},98900:(a,b,c)=>{"use strict";c.d(b,{CustomAgentsPanel:()=>d});let d=(0,c(30274).registerClientReference)(function(){throw Error("Attempted to call CustomAgentsPanel() from the server but CustomAgentsPanel 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/custom-agents-panel.tsx","CustomAgentsPanel")}};var b=require("../../webpack-runtime.js");b.C(a);var c=b.X(0,[103,397,479,174,750,921,554],()=>b(b.s=75899));module.exports=c})();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/bytes/index.js","../../../../../../node_modules/next/dist/compiled/bytes/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/get-segment-param.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/dist/shared/lib/size-limit.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.min.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../package.json","../../../../../../packages/core/package.json","../../../../package.json","../../../package.json","../../chunks/103.js","../../chunks/174.js","../../chunks/397.js","../../chunks/479.js","../../chunks/620.js","../../chunks/750.js","../../chunks/921.js","../../webpack-runtime.js","page_client-reference-manifest.js"]}
1
+ {"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/bytes/index.js","../../../../../../node_modules/next/dist/compiled/bytes/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/get-segment-param.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/dist/shared/lib/size-limit.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.min.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../package.json","../../../../../../packages/core/package.json","../../../../package.json","../../../package.json","../../chunks/103.js","../../chunks/174.js","../../chunks/397.js","../../chunks/479.js","../../chunks/554.js","../../chunks/750.js","../../chunks/921.js","../../webpack-runtime.js","page_client-reference-manifest.js"]}
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/settings/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"169":{"*":{"id":"96985","name":"*","chunks":[],"async":false}},"214":{"*":{"id":"23858","name":"*","chunks":[],"async":false}},"572":{"*":{"id":"97944","name":"*","chunks":[],"async":false}},"589":{"*":{"id":"8447","name":"*","chunks":[],"async":false}},"671":{"*":{"id":"69411","name":"*","chunks":[],"async":false}},"887":{"*":{"id":"93431","name":"*","chunks":[],"async":false}},"1107":{"*":{"id":"25029","name":"*","chunks":[],"async":false}},"1380":{"*":{"id":"24194","name":"*","chunks":[],"async":false}},"1405":{"*":{"id":"27025","name":"*","chunks":[],"async":false}},"1458":{"*":{"id":"6302","name":"*","chunks":[],"async":false}},"3558":{"*":{"id":"50674","name":"*","chunks":[],"async":false}},"4228":{"*":{"id":"30768","name":"*","chunks":[],"async":false}},"4641":{"*":{"id":"71943","name":"*","chunks":[],"async":false}},"4757":{"*":{"id":"73257","name":"*","chunks":[],"async":false}},"5392":{"*":{"id":"40414","name":"*","chunks":[],"async":false}},"5537":{"*":{"id":"13320","name":"*","chunks":[],"async":false}},"5587":{"*":{"id":"58599","name":"*","chunks":[],"async":false}},"5718":{"*":{"id":"25696","name":"*","chunks":[],"async":false}},"6036":{"*":{"id":"83393","name":"*","chunks":[],"async":false}},"6439":{"*":{"id":"84774","name":"*","chunks":[],"async":false}},"6713":{"*":{"id":"74890","name":"*","chunks":[],"async":false}},"7103":{"*":{"id":"43267","name":"*","chunks":[],"async":false}},"7788":{"*":{"id":"73754","name":"*","chunks":[],"async":false}},"8257":{"*":{"id":"67139","name":"*","chunks":[],"async":false}},"8287":{"*":{"id":"53208","name":"*","chunks":[],"async":false}},"8484":{"*":{"id":"75599","name":"*","chunks":[],"async":false}},"8725":{"*":{"id":"5058","name":"*","chunks":[],"async":false}},"9630":{"*":{"id":"78886","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/tyrion.liang/GitHub/Plexus/node_modules/next/dist/client/components/builtin/global-error.js":{"id":5718,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":5718,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/node_modules/next/dist/client/components/client-page.js":{"id":671,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/node_modules/next/dist/esm/client/components/client-page.js":{"id":671,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/node_modules/next/dist/client/components/client-segment.js":{"id":589,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/node_modules/next/dist/esm/client/components/client-segment.js":{"id":589,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":3558,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":3558,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/node_modules/next/dist/client/components/layout-router.js":{"id":9630,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9630,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/node_modules/next/dist/client/components/render-from-template-context.js":{"id":1380,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":1380,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/node_modules/next/dist/lib/framework/boundary-components.js":{"id":887,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":887,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":214,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":214,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/app-sidebar.tsx":{"id":1107,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","3051","static/chunks/3051-5eb2f5784474c658.js","626","static/chunks/626-7ea78ce012c8d471.js","7177","static/chunks/app/layout-60f950c38a06198d.js"],"async":false},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/app-topbar.tsx":{"id":1458,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","3051","static/chunks/3051-5eb2f5784474c658.js","626","static/chunks/626-7ea78ce012c8d471.js","7177","static/chunks/app/layout-60f950c38a06198d.js"],"async":false},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/language-provider.tsx":{"id":6439,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","3051","static/chunks/3051-5eb2f5784474c658.js","626","static/chunks/626-7ea78ce012c8d471.js","7177","static/chunks/app/layout-60f950c38a06198d.js"],"async":false},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/theme-provider.tsx":{"id":572,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","3051","static/chunks/3051-5eb2f5784474c658.js","626","static/chunks/626-7ea78ce012c8d471.js","7177","static/chunks/app/layout-60f950c38a06198d.js"],"async":false},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/ui/tooltip.tsx":{"id":4757,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","3051","static/chunks/3051-5eb2f5784474c658.js","626","static/chunks/626-7ea78ce012c8d471.js","7177","static/chunks/app/layout-60f950c38a06198d.js"],"async":false},"/Users/tyrion.liang/GitHub/Plexus/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--plexus-font-sans-loaded\",\"display\":\"swap\"}],\"variableName\":\"inter\"}":{"id":3597,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","3051","static/chunks/3051-5eb2f5784474c658.js","626","static/chunks/626-7ea78ce012c8d471.js","7177","static/chunks/app/layout-60f950c38a06198d.js"],"async":false},"/Users/tyrion.liang/GitHub/Plexus/apps/web/app/globals.css":{"id":6944,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","3051","static/chunks/3051-5eb2f5784474c658.js","626","static/chunks/626-7ea78ce012c8d471.js","7177","static/chunks/app/layout-60f950c38a06198d.js"],"async":false},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/architecture-panel.tsx":{"id":6036,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/agent-detail.tsx":{"id":4641,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/node_modules/lucide-react/dist/esm/Icon.mjs":{"id":4228,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","4662","static/chunks/app/settings/page-8164e1d1a8a08038.js"],"async":false},"/Users/tyrion.liang/GitHub/Plexus/node_modules/next/dist/client/app-dir/link.js":{"id":5587,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","4662","static/chunks/app/settings/page-8164e1d1a8a08038.js"],"async":false},"/Users/tyrion.liang/GitHub/Plexus/node_modules/next/dist/esm/client/app-dir/link.js":{"id":5587,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","4662","static/chunks/app/settings/page-8164e1d1a8a08038.js"],"async":false},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/backups-panel.tsx":{"id":5537,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/debug-panel.tsx":{"id":8725,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/mirror-panel.tsx":{"id":7103,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/mcp-editor.tsx":{"id":169,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/skills-editor.tsx":{"id":8257,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/rules-panel.tsx":{"id":8287,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/custom-agents-panel.tsx":{"id":5392,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","4662","static/chunks/app/settings/page-8164e1d1a8a08038.js"],"async":false},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/settings-panel.tsx":{"id":1405,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","4662","static/chunks/app/settings/page-8164e1d1a8a08038.js"],"async":false},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/ui/button.tsx":{"id":7788,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","4662","static/chunks/app/settings/page-8164e1d1a8a08038.js"],"async":false},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/team-panel.tsx":{"id":8484,"name":"*","chunks":[],"async":false},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/sync-button.tsx":{"id":6713,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","3051","static/chunks/3051-5eb2f5784474c658.js","7814","static/chunks/7814-1bc9d30b9724b70c.js","8974","static/chunks/app/page-039dbbfad47ff659.js"],"async":false}},"entryCSSFiles":{"/Users/tyrion.liang/GitHub/Plexus/apps/web/":[],"/Users/tyrion.liang/GitHub/Plexus/apps/web/app/layout":[{"inlined":false,"path":"static/css/eba3657411e6e6cd.css"}],"/Users/tyrion.liang/GitHub/Plexus/apps/web/app/page":[],"/Users/tyrion.liang/GitHub/Plexus/apps/web/app/settings/page":[]},"rscModuleMapping":{"169":{"*":{"id":"57579","name":"*","chunks":[],"async":false}},"214":{"*":{"id":"13592","name":"*","chunks":[],"async":false}},"572":{"*":{"id":"73422","name":"*","chunks":[],"async":false}},"589":{"*":{"id":"61437","name":"*","chunks":[],"async":false}},"671":{"*":{"id":"6413","name":"*","chunks":[],"async":false}},"887":{"*":{"id":"48465","name":"*","chunks":[],"async":false}},"1107":{"*":{"id":"60303","name":"*","chunks":[],"async":false}},"1380":{"*":{"id":"86792","name":"*","chunks":[],"async":false}},"1405":{"*":{"id":"71355","name":"*","chunks":[],"async":false}},"1458":{"*":{"id":"2183","name":"*","chunks":[],"async":false}},"3558":{"*":{"id":"99476","name":"*","chunks":[],"async":false}},"4228":{"*":{"id":"28774","name":"*","chunks":[],"async":false}},"4641":{"*":{"id":"14838","name":"*","chunks":[],"async":false}},"4757":{"*":{"id":"76155","name":"*","chunks":[],"async":false}},"5392":{"*":{"id":"98900","name":"*","chunks":[],"async":false}},"5537":{"*":{"id":"94029","name":"*","chunks":[],"async":false}},"5587":{"*":{"id":"95953","name":"*","chunks":[],"async":false}},"5718":{"*":{"id":"32594","name":"*","chunks":[],"async":false}},"6036":{"*":{"id":"44469","name":"*","chunks":[],"async":false}},"6439":{"*":{"id":"74829","name":"*","chunks":[],"async":false}},"6713":{"*":{"id":"79975","name":"*","chunks":[],"async":false}},"6944":{"*":{"id":"21971","name":"*","chunks":[],"async":false}},"7103":{"*":{"id":"73629","name":"*","chunks":[],"async":false}},"7788":{"*":{"id":"25932","name":"*","chunks":[],"async":false}},"8257":{"*":{"id":"86817","name":"*","chunks":[],"async":false}},"8287":{"*":{"id":"90317","name":"*","chunks":[],"async":false}},"8484":{"*":{"id":"42455","name":"*","chunks":[],"async":false}},"8725":{"*":{"id":"67021","name":"*","chunks":[],"async":false}},"9630":{"*":{"id":"41452","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{"214":{"*":{"id":"23858","name":"*","chunks":[],"async":false}},"589":{"*":{"id":"8447","name":"*","chunks":[],"async":false}},"671":{"*":{"id":"69411","name":"*","chunks":[],"async":false}},"887":{"*":{"id":"93431","name":"*","chunks":[],"async":false}},"1380":{"*":{"id":"24194","name":"*","chunks":[],"async":false}},"3558":{"*":{"id":"50674","name":"*","chunks":[],"async":false}},"4228":{"*":{"id":"30768","name":"*","chunks":[],"async":false}},"5587":{"*":{"id":"58599","name":"*","chunks":[],"async":false}},"5718":{"*":{"id":"25696","name":"*","chunks":[],"async":false}},"9630":{"*":{"id":"78886","name":"*","chunks":[],"async":false}}}};
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/settings/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"169":{"*":{"id":"96985","name":"*","chunks":[],"async":false}},"214":{"*":{"id":"23858","name":"*","chunks":[],"async":false}},"572":{"*":{"id":"97944","name":"*","chunks":[],"async":false}},"589":{"*":{"id":"8447","name":"*","chunks":[],"async":false}},"671":{"*":{"id":"69411","name":"*","chunks":[],"async":false}},"887":{"*":{"id":"93431","name":"*","chunks":[],"async":false}},"1107":{"*":{"id":"25029","name":"*","chunks":[],"async":false}},"1380":{"*":{"id":"24194","name":"*","chunks":[],"async":false}},"1405":{"*":{"id":"27025","name":"*","chunks":[],"async":false}},"1458":{"*":{"id":"6302","name":"*","chunks":[],"async":false}},"3558":{"*":{"id":"50674","name":"*","chunks":[],"async":false}},"4228":{"*":{"id":"30768","name":"*","chunks":[],"async":false}},"4641":{"*":{"id":"71943","name":"*","chunks":[],"async":false}},"4757":{"*":{"id":"73257","name":"*","chunks":[],"async":false}},"5392":{"*":{"id":"40414","name":"*","chunks":[],"async":false}},"5537":{"*":{"id":"13320","name":"*","chunks":[],"async":false}},"5587":{"*":{"id":"58599","name":"*","chunks":[],"async":false}},"5718":{"*":{"id":"25696","name":"*","chunks":[],"async":false}},"6036":{"*":{"id":"83393","name":"*","chunks":[],"async":false}},"6439":{"*":{"id":"84774","name":"*","chunks":[],"async":false}},"6713":{"*":{"id":"74890","name":"*","chunks":[],"async":false}},"7103":{"*":{"id":"43267","name":"*","chunks":[],"async":false}},"7788":{"*":{"id":"73754","name":"*","chunks":[],"async":false}},"8257":{"*":{"id":"67139","name":"*","chunks":[],"async":false}},"8287":{"*":{"id":"53208","name":"*","chunks":[],"async":false}},"8484":{"*":{"id":"75599","name":"*","chunks":[],"async":false}},"8725":{"*":{"id":"5058","name":"*","chunks":[],"async":false}},"9630":{"*":{"id":"78886","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/Plexus/Plexus/node_modules/next/dist/client/components/builtin/global-error.js":{"id":5718,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":5718,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/node_modules/next/dist/client/components/client-page.js":{"id":671,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/node_modules/next/dist/esm/client/components/client-page.js":{"id":671,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/node_modules/next/dist/client/components/client-segment.js":{"id":589,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/node_modules/next/dist/esm/client/components/client-segment.js":{"id":589,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":3558,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":3558,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/node_modules/next/dist/client/components/layout-router.js":{"id":9630,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9630,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/node_modules/next/dist/client/components/render-from-template-context.js":{"id":1380,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":1380,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/node_modules/next/dist/lib/framework/boundary-components.js":{"id":887,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":887,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":214,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":214,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/apps/web/components/app-sidebar.tsx":{"id":1107,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","3051","static/chunks/3051-5eb2f5784474c658.js","626","static/chunks/626-7ea78ce012c8d471.js","7177","static/chunks/app/layout-ebb341e17e16f301.js"],"async":false},"/home/runner/work/Plexus/Plexus/apps/web/components/app-topbar.tsx":{"id":1458,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","3051","static/chunks/3051-5eb2f5784474c658.js","626","static/chunks/626-7ea78ce012c8d471.js","7177","static/chunks/app/layout-ebb341e17e16f301.js"],"async":false},"/home/runner/work/Plexus/Plexus/apps/web/components/language-provider.tsx":{"id":6439,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","3051","static/chunks/3051-5eb2f5784474c658.js","626","static/chunks/626-7ea78ce012c8d471.js","7177","static/chunks/app/layout-ebb341e17e16f301.js"],"async":false},"/home/runner/work/Plexus/Plexus/apps/web/components/theme-provider.tsx":{"id":572,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","3051","static/chunks/3051-5eb2f5784474c658.js","626","static/chunks/626-7ea78ce012c8d471.js","7177","static/chunks/app/layout-ebb341e17e16f301.js"],"async":false},"/home/runner/work/Plexus/Plexus/apps/web/components/ui/tooltip.tsx":{"id":4757,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","3051","static/chunks/3051-5eb2f5784474c658.js","626","static/chunks/626-7ea78ce012c8d471.js","7177","static/chunks/app/layout-ebb341e17e16f301.js"],"async":false},"/home/runner/work/Plexus/Plexus/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--plexus-font-sans-loaded\",\"display\":\"swap\"}],\"variableName\":\"inter\"}":{"id":3597,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","3051","static/chunks/3051-5eb2f5784474c658.js","626","static/chunks/626-7ea78ce012c8d471.js","7177","static/chunks/app/layout-ebb341e17e16f301.js"],"async":false},"/home/runner/work/Plexus/Plexus/apps/web/app/globals.css":{"id":6944,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","3051","static/chunks/3051-5eb2f5784474c658.js","626","static/chunks/626-7ea78ce012c8d471.js","7177","static/chunks/app/layout-ebb341e17e16f301.js"],"async":false},"/home/runner/work/Plexus/Plexus/apps/web/components/agent-detail.tsx":{"id":4641,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/node_modules/lucide-react/dist/esm/Icon.mjs":{"id":4228,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","4662","static/chunks/app/settings/page-0befc46d439ee26c.js"],"async":false},"/home/runner/work/Plexus/Plexus/node_modules/next/dist/client/app-dir/link.js":{"id":5587,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","4662","static/chunks/app/settings/page-0befc46d439ee26c.js"],"async":false},"/home/runner/work/Plexus/Plexus/node_modules/next/dist/esm/client/app-dir/link.js":{"id":5587,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","4662","static/chunks/app/settings/page-0befc46d439ee26c.js"],"async":false},"/home/runner/work/Plexus/Plexus/apps/web/components/architecture-panel.tsx":{"id":6036,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/apps/web/components/backups-panel.tsx":{"id":5537,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/apps/web/components/debug-panel.tsx":{"id":8725,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/apps/web/components/mcp-editor.tsx":{"id":169,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/apps/web/components/mirror-panel.tsx":{"id":7103,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/apps/web/components/rules-panel.tsx":{"id":8287,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/apps/web/components/custom-agents-panel.tsx":{"id":5392,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","4662","static/chunks/app/settings/page-0befc46d439ee26c.js"],"async":false},"/home/runner/work/Plexus/Plexus/apps/web/components/settings-panel.tsx":{"id":1405,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","4662","static/chunks/app/settings/page-0befc46d439ee26c.js"],"async":false},"/home/runner/work/Plexus/Plexus/apps/web/components/ui/button.tsx":{"id":7788,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","4662","static/chunks/app/settings/page-0befc46d439ee26c.js"],"async":false},"/home/runner/work/Plexus/Plexus/apps/web/components/skills-editor.tsx":{"id":8257,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/apps/web/components/team-panel.tsx":{"id":8484,"name":"*","chunks":[],"async":false},"/home/runner/work/Plexus/Plexus/apps/web/components/sync-button.tsx":{"id":6713,"name":"*","chunks":["4399","static/chunks/4399-7cc367307a2c52a6.js","5587","static/chunks/5587-933f3258279c6072.js","3051","static/chunks/3051-5eb2f5784474c658.js","7814","static/chunks/7814-1bc9d30b9724b70c.js","8974","static/chunks/app/page-4f00de3290a21755.js"],"async":false}},"entryCSSFiles":{"/home/runner/work/Plexus/Plexus/apps/web/":[],"/home/runner/work/Plexus/Plexus/apps/web/app/layout":[{"inlined":false,"path":"static/css/eba3657411e6e6cd.css"}],"/home/runner/work/Plexus/Plexus/apps/web/app/page":[],"/home/runner/work/Plexus/Plexus/apps/web/app/settings/page":[]},"rscModuleMapping":{"169":{"*":{"id":"57579","name":"*","chunks":[],"async":false}},"214":{"*":{"id":"13592","name":"*","chunks":[],"async":false}},"572":{"*":{"id":"73422","name":"*","chunks":[],"async":false}},"589":{"*":{"id":"61437","name":"*","chunks":[],"async":false}},"671":{"*":{"id":"6413","name":"*","chunks":[],"async":false}},"887":{"*":{"id":"48465","name":"*","chunks":[],"async":false}},"1107":{"*":{"id":"60303","name":"*","chunks":[],"async":false}},"1380":{"*":{"id":"86792","name":"*","chunks":[],"async":false}},"1405":{"*":{"id":"71355","name":"*","chunks":[],"async":false}},"1458":{"*":{"id":"2183","name":"*","chunks":[],"async":false}},"3558":{"*":{"id":"99476","name":"*","chunks":[],"async":false}},"4228":{"*":{"id":"28774","name":"*","chunks":[],"async":false}},"4641":{"*":{"id":"14838","name":"*","chunks":[],"async":false}},"4757":{"*":{"id":"76155","name":"*","chunks":[],"async":false}},"5392":{"*":{"id":"98900","name":"*","chunks":[],"async":false}},"5537":{"*":{"id":"94029","name":"*","chunks":[],"async":false}},"5587":{"*":{"id":"95953","name":"*","chunks":[],"async":false}},"5718":{"*":{"id":"32594","name":"*","chunks":[],"async":false}},"6036":{"*":{"id":"44469","name":"*","chunks":[],"async":false}},"6439":{"*":{"id":"74829","name":"*","chunks":[],"async":false}},"6713":{"*":{"id":"79975","name":"*","chunks":[],"async":false}},"6944":{"*":{"id":"21971","name":"*","chunks":[],"async":false}},"7103":{"*":{"id":"73629","name":"*","chunks":[],"async":false}},"7788":{"*":{"id":"25932","name":"*","chunks":[],"async":false}},"8257":{"*":{"id":"86817","name":"*","chunks":[],"async":false}},"8287":{"*":{"id":"90317","name":"*","chunks":[],"async":false}},"8484":{"*":{"id":"42455","name":"*","chunks":[],"async":false}},"8725":{"*":{"id":"67021","name":"*","chunks":[],"async":false}},"9630":{"*":{"id":"41452","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{"214":{"*":{"id":"23858","name":"*","chunks":[],"async":false}},"589":{"*":{"id":"8447","name":"*","chunks":[],"async":false}},"671":{"*":{"id":"69411","name":"*","chunks":[],"async":false}},"887":{"*":{"id":"93431","name":"*","chunks":[],"async":false}},"1380":{"*":{"id":"24194","name":"*","chunks":[],"async":false}},"3558":{"*":{"id":"50674","name":"*","chunks":[],"async":false}},"4228":{"*":{"id":"30768","name":"*","chunks":[],"async":false}},"5587":{"*":{"id":"58599","name":"*","chunks":[],"async":false}},"5718":{"*":{"id":"25696","name":"*","chunks":[],"async":false}},"9630":{"*":{"id":"78886","name":"*","chunks":[],"async":false}}}};