@auto-ai/agent 2.1.138 → 2.1.142

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 (37) hide show
  1. package/dist/404/index.html +1 -1
  2. package/dist/404.html +1 -1
  3. package/dist/_next/static/chunks/{cfe5b3f488f0424e.js → 056e4297589bc43b.js} +1 -1
  4. package/dist/_next/static/chunks/5cf497c406a233ac.js +1 -0
  5. package/dist/_next/static/chunks/{f88c07614ca15868.js → 5f6769a92729c6c3.js} +1 -1
  6. package/dist/_next/static/chunks/{690434349e97572c.js → 7f52fbd725b13904.js} +1 -1
  7. package/dist/_next/static/chunks/efccabfd66006aa3.css +1 -0
  8. package/dist/_next/static/chunks/f4d92f64a8396e2a.js +1 -0
  9. package/dist/index.html +2 -2
  10. package/dist/index.txt +6 -6
  11. package/dist/manage/about/index.html +2 -2
  12. package/dist/manage/about/index.txt +9 -9
  13. package/dist/manage/env/index.html +2 -2
  14. package/dist/manage/env/index.txt +11 -11
  15. package/dist/manage/general/index.html +2 -2
  16. package/dist/manage/general/index.txt +9 -9
  17. package/dist/manage/index.html +2 -2
  18. package/dist/manage/index.txt +6 -6
  19. package/dist/manage/mcp/index.html +2 -2
  20. package/dist/manage/mcp/index.txt +9 -9
  21. package/dist/manage/permissions/index.html +2 -2
  22. package/dist/manage/permissions/index.txt +9 -9
  23. package/dist/manage/skills/index.html +2 -2
  24. package/dist/manage/skills/index.txt +9 -9
  25. package/dist/manage/task/index.html +2 -2
  26. package/dist/manage/task/index.txt +9 -9
  27. package/dist/manage/teams/index.html +2 -2
  28. package/dist/manage/teams/index.txt +9 -9
  29. package/dist/manage/tools/index.html +2 -2
  30. package/dist/manage/tools/index.txt +9 -9
  31. package/package.json +6 -6
  32. package/dist/_next/static/chunks/35dbce6fecd1f0ea.css +0 -1
  33. package/dist/_next/static/chunks/68142a0bc2fa2b35.js +0 -1
  34. package/dist/_next/static/chunks/e0e34f74c79fccad.js +0 -1
  35. /package/dist/_next/static/{Y_Dm3_WktIgcGlMTlKsrp → LQH5mfigInTVwvTkB1f-S}/_buildManifest.js +0 -0
  36. /package/dist/_next/static/{Y_Dm3_WktIgcGlMTlKsrp → LQH5mfigInTVwvTkB1f-S}/_clientMiddlewareManifest.json +0 -0
  37. /package/dist/_next/static/{Y_Dm3_WktIgcGlMTlKsrp → LQH5mfigInTVwvTkB1f-S}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- <!DOCTYPE html><!--Y_Dm3_WktIgcGlMTlKsrp--><html lang="zh-CN" class="sora_a6e0e515-module__NbNjtG__variable dm_sans_fa25cdfd-module__fB5nTW__variable jetbrains_mono_2b1eae20-module__XfFTLG__variable font-sans"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/app/_next/static/chunks/7bdf0e5b41aeb209.css" data-precedence="next"/><link rel="stylesheet" href="/app/_next/static/chunks/d4fd1b2f761be57f.css" data-precedence="next"/><link rel="stylesheet" href="/app/_next/static/chunks/35dbce6fecd1f0ea.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/app/_next/static/chunks/76a71d344cc15a9f.js"/><script src="/app/_next/static/chunks/91adb7bdb9870c6a.js" async=""></script><script src="/app/_next/static/chunks/40268f8e3ff0314e.js" async=""></script><script src="/app/_next/static/chunks/32b4d63e10d31351.js" async=""></script><script src="/app/_next/static/chunks/66b30159915524db.js" async=""></script><script src="/app/_next/static/chunks/turbopack-030a42d60560a927.js" async=""></script><script src="/app/_next/static/chunks/bf2c1c402dbcccdf.js" async=""></script><script src="/app/_next/static/chunks/14e9e2677e576a10.js" async=""></script><script src="/app/_next/static/chunks/7988d5ea63356e10.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>Claude Code测试平台</title><meta name="description" content="Claude Code测试平台"/><script src="/app/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><section aria-label="Notifications alt+T" tabindex="-1" aria-live="polite" aria-relevant="additions text" aria-atomic="false"></section><!--$--><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><!--/$--><script src="/app/_next/static/chunks/76a71d344cc15a9f.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[13354,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"AppToaster\"]\n3:I[39756,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"default\"]\n4:I[37457,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"default\"]\n5:I[97367,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"OutletBoundary\"]\n7:I[11533,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"AsyncMetadataOutlet\"]\n9:I[5014,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"default\"]\na:I[97367,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"ViewportBoundary\"]\nc:I[97367,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"MetadataBoundary\"]\nd:\"$Sreact.suspense\"\nf:I[68027,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"default\"]\n:HL[\"/app/_next/static/chunks/7bdf0e5b41aeb209.css\",\"style\"]\n:HL[\"/app/_next/static/chunks/d4fd1b2f761be57f.css\",\"style\"]\n:HL[\"/app/_next/static/chunks/35dbce6fecd1f0ea.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"Y_Dm3_WktIgcGlMTlKsrp\",\"p\":\"/app\",\"c\":[\"\",\"_not-found\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/7bdf0e5b41aeb209.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/d4fd1b2f761be57f.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/35dbce6fecd1f0ea.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/app/_next/static/chunks/7988d5ea63356e10.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"zh-CN\",\"className\":\"sora_a6e0e515-module__NbNjtG__variable dm_sans_fa25cdfd-module__fB5nTW__variable jetbrains_mono_2b1eae20-module__XfFTLG__variable font-sans\",\"children\":[\"$\",\"body\",null,{\"children\":[[\"$\",\"$L2\",null,{}],[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L5\",null,{\"children\":[\"$L6\",[\"$\",\"$L7\",null,{\"promise\":\"$@8\"}]]}]]}],{},null,false]},null,false]},[[\"$\",\"div\",\"l\",{\"className\":\"flex min-h-[40vh] flex-1 items-center justify-center gap-2 text-sm text-zinc-500\",\"children\":[[\"$\",\"$L9\",null,{\"ref\":\"$undefined\",\"iconNode\":[[\"path\",{\"d\":\"M21 12a9 9 0 1 1-6.219-8.56\",\"key\":\"13zald\"}]],\"className\":\"lucide-loader-circle animate-spin text-muted-foreground\",\"size\":16,\"color\":\"currentColor\",\"strokeWidth\":2,\"aria-hidden\":\"true\"}],\" 加载中\"]}],[],[]],false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$La\",null,{\"children\":\"$Lb\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]],[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$d\",null,{\"fallback\":null,\"children\":\"$Le\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$f\",\"$undefined\"],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n6:null\n"])</script><script>self.__next_f.push([1,"8:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Claude Code测试平台\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Claude Code测试平台\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"e:\"$8:metadata\"\n"])</script></body></html>
1
+ <!DOCTYPE html><!--LQH5mfigInTVwvTkB1f_S--><html lang="zh-CN" class="sora_a6e0e515-module__NbNjtG__variable dm_sans_fa25cdfd-module__fB5nTW__variable jetbrains_mono_2b1eae20-module__XfFTLG__variable font-sans"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/app/_next/static/chunks/7bdf0e5b41aeb209.css" data-precedence="next"/><link rel="stylesheet" href="/app/_next/static/chunks/d4fd1b2f761be57f.css" data-precedence="next"/><link rel="stylesheet" href="/app/_next/static/chunks/efccabfd66006aa3.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/app/_next/static/chunks/76a71d344cc15a9f.js"/><script src="/app/_next/static/chunks/91adb7bdb9870c6a.js" async=""></script><script src="/app/_next/static/chunks/40268f8e3ff0314e.js" async=""></script><script src="/app/_next/static/chunks/32b4d63e10d31351.js" async=""></script><script src="/app/_next/static/chunks/66b30159915524db.js" async=""></script><script src="/app/_next/static/chunks/turbopack-030a42d60560a927.js" async=""></script><script src="/app/_next/static/chunks/bf2c1c402dbcccdf.js" async=""></script><script src="/app/_next/static/chunks/14e9e2677e576a10.js" async=""></script><script src="/app/_next/static/chunks/7988d5ea63356e10.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>Claude Code测试平台</title><meta name="description" content="Claude Code测试平台"/><script src="/app/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><section aria-label="Notifications alt+T" tabindex="-1" aria-live="polite" aria-relevant="additions text" aria-atomic="false"></section><!--$--><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><!--/$--><script src="/app/_next/static/chunks/76a71d344cc15a9f.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[13354,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"AppToaster\"]\n3:I[39756,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"default\"]\n4:I[37457,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"default\"]\n5:I[97367,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"OutletBoundary\"]\n7:I[11533,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"AsyncMetadataOutlet\"]\n9:I[5014,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"default\"]\na:I[97367,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"ViewportBoundary\"]\nc:I[97367,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"MetadataBoundary\"]\nd:\"$Sreact.suspense\"\nf:I[68027,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"default\"]\n:HL[\"/app/_next/static/chunks/7bdf0e5b41aeb209.css\",\"style\"]\n:HL[\"/app/_next/static/chunks/d4fd1b2f761be57f.css\",\"style\"]\n:HL[\"/app/_next/static/chunks/efccabfd66006aa3.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"LQH5mfigInTVwvTkB1f-S\",\"p\":\"/app\",\"c\":[\"\",\"_not-found\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/7bdf0e5b41aeb209.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/d4fd1b2f761be57f.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/efccabfd66006aa3.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/app/_next/static/chunks/7988d5ea63356e10.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"zh-CN\",\"className\":\"sora_a6e0e515-module__NbNjtG__variable dm_sans_fa25cdfd-module__fB5nTW__variable jetbrains_mono_2b1eae20-module__XfFTLG__variable font-sans\",\"children\":[\"$\",\"body\",null,{\"children\":[[\"$\",\"$L2\",null,{}],[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L5\",null,{\"children\":[\"$L6\",[\"$\",\"$L7\",null,{\"promise\":\"$@8\"}]]}]]}],{},null,false]},null,false]},[[\"$\",\"div\",\"l\",{\"className\":\"flex min-h-[40vh] flex-1 items-center justify-center gap-2 text-sm text-zinc-500\",\"children\":[[\"$\",\"$L9\",null,{\"ref\":\"$undefined\",\"iconNode\":[[\"path\",{\"d\":\"M21 12a9 9 0 1 1-6.219-8.56\",\"key\":\"13zald\"}]],\"className\":\"lucide-loader-circle animate-spin text-muted-foreground\",\"size\":16,\"color\":\"currentColor\",\"strokeWidth\":2,\"aria-hidden\":\"true\"}],\" 加载中\"]}],[],[]],false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$La\",null,{\"children\":\"$Lb\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]],[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$d\",null,{\"fallback\":null,\"children\":\"$Le\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$f\",\"$undefined\"],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n6:null\n"])</script><script>self.__next_f.push([1,"8:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Claude Code测试平台\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Claude Code测试平台\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"e:\"$8:metadata\"\n"])</script></body></html>
package/dist/404.html CHANGED
@@ -1 +1 @@
1
- <!DOCTYPE html><!--Y_Dm3_WktIgcGlMTlKsrp--><html lang="zh-CN" class="sora_a6e0e515-module__NbNjtG__variable dm_sans_fa25cdfd-module__fB5nTW__variable jetbrains_mono_2b1eae20-module__XfFTLG__variable font-sans"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/app/_next/static/chunks/7bdf0e5b41aeb209.css" data-precedence="next"/><link rel="stylesheet" href="/app/_next/static/chunks/d4fd1b2f761be57f.css" data-precedence="next"/><link rel="stylesheet" href="/app/_next/static/chunks/35dbce6fecd1f0ea.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/app/_next/static/chunks/76a71d344cc15a9f.js"/><script src="/app/_next/static/chunks/91adb7bdb9870c6a.js" async=""></script><script src="/app/_next/static/chunks/40268f8e3ff0314e.js" async=""></script><script src="/app/_next/static/chunks/32b4d63e10d31351.js" async=""></script><script src="/app/_next/static/chunks/66b30159915524db.js" async=""></script><script src="/app/_next/static/chunks/turbopack-030a42d60560a927.js" async=""></script><script src="/app/_next/static/chunks/bf2c1c402dbcccdf.js" async=""></script><script src="/app/_next/static/chunks/14e9e2677e576a10.js" async=""></script><script src="/app/_next/static/chunks/7988d5ea63356e10.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>Claude Code测试平台</title><meta name="description" content="Claude Code测试平台"/><script src="/app/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><section aria-label="Notifications alt+T" tabindex="-1" aria-live="polite" aria-relevant="additions text" aria-atomic="false"></section><!--$--><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><!--/$--><script src="/app/_next/static/chunks/76a71d344cc15a9f.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[13354,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"AppToaster\"]\n3:I[39756,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"default\"]\n4:I[37457,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"default\"]\n5:I[97367,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"OutletBoundary\"]\n7:I[11533,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"AsyncMetadataOutlet\"]\n9:I[5014,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"default\"]\na:I[97367,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"ViewportBoundary\"]\nc:I[97367,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"MetadataBoundary\"]\nd:\"$Sreact.suspense\"\nf:I[68027,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"default\"]\n:HL[\"/app/_next/static/chunks/7bdf0e5b41aeb209.css\",\"style\"]\n:HL[\"/app/_next/static/chunks/d4fd1b2f761be57f.css\",\"style\"]\n:HL[\"/app/_next/static/chunks/35dbce6fecd1f0ea.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"Y_Dm3_WktIgcGlMTlKsrp\",\"p\":\"/app\",\"c\":[\"\",\"_not-found\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/7bdf0e5b41aeb209.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/d4fd1b2f761be57f.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/35dbce6fecd1f0ea.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/app/_next/static/chunks/7988d5ea63356e10.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"zh-CN\",\"className\":\"sora_a6e0e515-module__NbNjtG__variable dm_sans_fa25cdfd-module__fB5nTW__variable jetbrains_mono_2b1eae20-module__XfFTLG__variable font-sans\",\"children\":[\"$\",\"body\",null,{\"children\":[[\"$\",\"$L2\",null,{}],[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L5\",null,{\"children\":[\"$L6\",[\"$\",\"$L7\",null,{\"promise\":\"$@8\"}]]}]]}],{},null,false]},null,false]},[[\"$\",\"div\",\"l\",{\"className\":\"flex min-h-[40vh] flex-1 items-center justify-center gap-2 text-sm text-zinc-500\",\"children\":[[\"$\",\"$L9\",null,{\"ref\":\"$undefined\",\"iconNode\":[[\"path\",{\"d\":\"M21 12a9 9 0 1 1-6.219-8.56\",\"key\":\"13zald\"}]],\"className\":\"lucide-loader-circle animate-spin text-muted-foreground\",\"size\":16,\"color\":\"currentColor\",\"strokeWidth\":2,\"aria-hidden\":\"true\"}],\" 加载中\"]}],[],[]],false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$La\",null,{\"children\":\"$Lb\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]],[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$d\",null,{\"fallback\":null,\"children\":\"$Le\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$f\",\"$undefined\"],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n6:null\n"])</script><script>self.__next_f.push([1,"8:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Claude Code测试平台\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Claude Code测试平台\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"e:\"$8:metadata\"\n"])</script></body></html>
1
+ <!DOCTYPE html><!--LQH5mfigInTVwvTkB1f_S--><html lang="zh-CN" class="sora_a6e0e515-module__NbNjtG__variable dm_sans_fa25cdfd-module__fB5nTW__variable jetbrains_mono_2b1eae20-module__XfFTLG__variable font-sans"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/app/_next/static/chunks/7bdf0e5b41aeb209.css" data-precedence="next"/><link rel="stylesheet" href="/app/_next/static/chunks/d4fd1b2f761be57f.css" data-precedence="next"/><link rel="stylesheet" href="/app/_next/static/chunks/efccabfd66006aa3.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/app/_next/static/chunks/76a71d344cc15a9f.js"/><script src="/app/_next/static/chunks/91adb7bdb9870c6a.js" async=""></script><script src="/app/_next/static/chunks/40268f8e3ff0314e.js" async=""></script><script src="/app/_next/static/chunks/32b4d63e10d31351.js" async=""></script><script src="/app/_next/static/chunks/66b30159915524db.js" async=""></script><script src="/app/_next/static/chunks/turbopack-030a42d60560a927.js" async=""></script><script src="/app/_next/static/chunks/bf2c1c402dbcccdf.js" async=""></script><script src="/app/_next/static/chunks/14e9e2677e576a10.js" async=""></script><script src="/app/_next/static/chunks/7988d5ea63356e10.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>Claude Code测试平台</title><meta name="description" content="Claude Code测试平台"/><script src="/app/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><section aria-label="Notifications alt+T" tabindex="-1" aria-live="polite" aria-relevant="additions text" aria-atomic="false"></section><!--$--><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><!--/$--><script src="/app/_next/static/chunks/76a71d344cc15a9f.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[13354,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"AppToaster\"]\n3:I[39756,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"default\"]\n4:I[37457,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"default\"]\n5:I[97367,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"OutletBoundary\"]\n7:I[11533,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"AsyncMetadataOutlet\"]\n9:I[5014,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"default\"]\na:I[97367,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"ViewportBoundary\"]\nc:I[97367,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"MetadataBoundary\"]\nd:\"$Sreact.suspense\"\nf:I[68027,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"default\"]\n:HL[\"/app/_next/static/chunks/7bdf0e5b41aeb209.css\",\"style\"]\n:HL[\"/app/_next/static/chunks/d4fd1b2f761be57f.css\",\"style\"]\n:HL[\"/app/_next/static/chunks/efccabfd66006aa3.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"LQH5mfigInTVwvTkB1f-S\",\"p\":\"/app\",\"c\":[\"\",\"_not-found\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/7bdf0e5b41aeb209.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/d4fd1b2f761be57f.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/efccabfd66006aa3.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/app/_next/static/chunks/14e9e2677e576a10.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/app/_next/static/chunks/7988d5ea63356e10.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"zh-CN\",\"className\":\"sora_a6e0e515-module__NbNjtG__variable dm_sans_fa25cdfd-module__fB5nTW__variable jetbrains_mono_2b1eae20-module__XfFTLG__variable font-sans\",\"children\":[\"$\",\"body\",null,{\"children\":[[\"$\",\"$L2\",null,{}],[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L5\",null,{\"children\":[\"$L6\",[\"$\",\"$L7\",null,{\"promise\":\"$@8\"}]]}]]}],{},null,false]},null,false]},[[\"$\",\"div\",\"l\",{\"className\":\"flex min-h-[40vh] flex-1 items-center justify-center gap-2 text-sm text-zinc-500\",\"children\":[[\"$\",\"$L9\",null,{\"ref\":\"$undefined\",\"iconNode\":[[\"path\",{\"d\":\"M21 12a9 9 0 1 1-6.219-8.56\",\"key\":\"13zald\"}]],\"className\":\"lucide-loader-circle animate-spin text-muted-foreground\",\"size\":16,\"color\":\"currentColor\",\"strokeWidth\":2,\"aria-hidden\":\"true\"}],\" 加载中\"]}],[],[]],false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$La\",null,{\"children\":\"$Lb\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]],[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$d\",null,{\"fallback\":null,\"children\":\"$Le\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$f\",\"$undefined\"],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n6:null\n"])</script><script>self.__next_f.push([1,"8:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Claude Code测试平台\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Claude Code测试平台\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"e:\"$8:metadata\"\n"])</script></body></html>
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,50711,e=>{"use strict";e.s(["usePersistAgentConfig",()=>o,"usePersistAgentConfigField",()=>l]);var t=e.i(71645),n=e.i(65934),s=e.i(67327),r=e.i(13354),i=e.i(82136),a=e.i(70074);function o(){let e=(0,n.useAppStore)(e=>e.wsUrl),o=(0,n.useAppStore)(e=>e.apiBase),{sendReloadAgentConfig:l}=(0,s.useWebSocketSender)(),u=(0,t.useCallback)(()=>n.useAppStore.getState().agentId.trim()||"qihoo",[]);return(0,t.useCallback)(async t=>{let s=!!(null==t?void 0:t.silent),c=n.useAppStore.getState();try{await (0,i.saveAgentConfig)(e,o,u(),(0,i.prepareAgentConfigForSave)(c.agentConfig));let t=n.useAppStore.getState();t.wsConnected&&l(),s?(t.appendLog("agent-config","已写入 agent.json"),t.setStatus("agent.json 已保存".concat(t.wsConnected?",已请求同步 worker":"(未连接 WS 则下次连上后 reload)"),(0,a.resolveInfoStatusClass)(t.bridgeReady,t.wsConnected))):r.appToast.success(t.wsConnected?"已保存并已请求 worker 重新加载 agent.md + agent.json。":"已保存。重连 WebSocket 后生效。")}catch(e){r.appToast.error("保存失败:".concat(e instanceof Error?e.message:String(e)))}},[e,o,l,u])}function l(e){let o=(0,n.useAppStore)(e=>e.wsUrl),l=(0,n.useAppStore)(e=>e.apiBase),{sendReloadAgentConfig:u}=(0,s.useWebSocketSender)(),c=(0,t.useCallback)(()=>n.useAppStore.getState().agentId.trim()||"qihoo",[]);return(0,t.useCallback)(async(t,s)=>{let g=!!(null==s?void 0:s.silent),p=n.useAppStore.getState();try{await (0,i.saveAgentConfig)(o,l,c(),(0,i.prepareAgentConfigForSave)(p.agentConfig,{[e]:t}));let s=n.useAppStore.getState();s.wsConnected&&u(),g?(s.appendLog("agent-config","已写入 agent.json"),s.setStatus("agent.json 已保存".concat(s.wsConnected?",已请求同步 worker":"(未连接 WS 则下次连上后 reload)"),(0,a.resolveInfoStatusClass)(s.bridgeReady,s.wsConnected))):r.appToast.success(s.wsConnected?"已保存并已请求 worker 重新加载 agent.md + agent.json。":"已保存。重连 WebSocket 后生效。")}catch(e){r.appToast.error("保存失败:".concat(e instanceof Error?e.message:String(e)))}},[o,l,u,c,e])}},20090,e=>{"use strict";e.s(["clearActiveWebSocket",()=>r,"isWebSocketOpen",()=>n,"sendActiveWebSocketJson",()=>i,"setActiveWebSocket",()=>s]);let t=null;function n(e){return null!==e&&e.readyState===WebSocket.OPEN}function s(e){t=e}function r(e){t===e&&(t=null)}function i(e){let s=t;return!!n(s)&&(s.send(JSON.stringify(e)),!0)}},70074,e=>{"use strict";function t(e,t){return e?"ready":t?"pending":"idle"}e.s(["resolveInfoStatusClass",()=>t])},67327,e=>{"use strict";e.s(["useWebSocketSender",()=>r]);var t=e.i(71645),n=e.i(65934),s=e.i(20090);function r(){let e=(0,t.useCallback)(e=>{let t=(0,s.sendActiveWebSocketJson)(e);return t&&n.useAppStore.getState().appendLog("→",e),t},[]),r=(0,t.useCallback)(()=>e({type:"reloadAgentConfig"}),[e]),i=(0,t.useCallback)(t=>e({type:"restartSubprocess",reason:null!=t?t:"persist-session-overrides"}),[e]),a=(0,t.useCallback)(()=>e({type:"reloadAgentPrompt"}),[e]),o=(0,t.useCallback)((t,n)=>{let s=String(t||"").trim();return!!s&&e({type:"permission.response",requestId:s,behavior:n})},[e]);return{sendJson:e,sendReloadAgentConfig:r,sendRestartSubprocess:i,sendReloadAgentPrompt:a,sendPermissionResponse:o}}},33848,e=>{"use strict";e.s(["ownerWindow",()=>t.getWindow]);var t=e.i(29315)},62372,e=>{"use strict";e.s(["visuallyHidden",()=>n,"visuallyHiddenInput",()=>s]);let t={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},n={...t,position:"fixed",top:0,left:0},s={...t,position:"absolute"}},73577,e=>{"use strict";e.s(["useValueChanged",()=>r]);var t=e.i(71645),n=e.i(977),s=e.i(76477);function r(e,r){let i=t.useRef(e),a=(0,s.useStableCallback)(r);(0,n.useIsoLayoutEffect)(()=>{i.current!==e&&a(i.current)},[e,a]),(0,n.useIsoLayoutEffect)(()=>{i.current=e},[e])}},55227,e=>{"use strict";e.s(["deleteSession",()=>r,"listSessions",()=>s,"listWorkspaceFiles",()=>l,"loadSessionOverrides",()=>i,"loadSessionReplay",()=>a,"saveSessionOverrides",()=>o]);var t=e.i(29250),n=e.i(36845);async function s(e,s,r){return(0,t.get)((0,n.buildSessionsListUrl)(e,s,r))}async function r(e,s,r,i){return(0,t.del)((0,n.buildSessionDeleteUrl)(e,s,r,i))}async function i(e,s,r,i){return(0,t.get)((0,n.buildSessionOverridesUrl)(e,s,r,i))}async function a(e,s,r,i){let a=await (0,t.get)((0,n.buildSessionReplayUrl)(e,s,r,i));return{envelopes:Array.isArray(a.envelopes)?a.envelopes:[],messageCount:"number"==typeof a.messageCount?a.messageCount:void 0}}async function o(e,s,r,i,a){await (0,t.patch)((0,n.buildSessionOverridesUrl)(e,s,r,i),a)}async function l(e,s,r,i){return(0,t.get)((0,n.buildWorkspaceFilesListUrl)(e,s,r,i))}},82136,e=>{"use strict";e.s(["loadAgentConfig",()=>o,"prepareAgentConfigForSave",()=>a,"saveAgentConfig",()=>l]);var t=e.i(29250),n=e.i(36845),s=e.i(75675);function r(e){var t;let n={},r=null==e?void 0:e.env;if(r&&"object"==typeof r&&!Array.isArray(r))for(let[e,t]of Object.entries(r))"string"==typeof e&&e.trim()&&(n[e]=null==t?"":String(t));return{tools:Array.isArray(null==e?void 0:e.tools)?e.tools.map(String):[...s.DEFAULT_AGENT_CONFIG.tools],disallowedTools:Array.isArray(null==e?void 0:e.disallowedTools)?e.disallowedTools.map(String):[...s.DEFAULT_AGENT_CONFIG.disallowedTools],mcpServers:Array.isArray(null==e?void 0:e.mcpServers)?e.mcpServers.map(String):[...s.DEFAULT_AGENT_CONFIG.mcpServers],skills:Array.isArray(null==e?void 0:e.skills)?e.skills.map(String):[...s.DEFAULT_AGENT_CONFIG.skills],model:"string"==typeof(null==e?void 0:e.model)?e.model:s.DEFAULT_AGENT_CONFIG.model,agentTeams:Array.isArray(null==e?void 0:e.agentTeams)?e.agentTeams.map(String):[...s.DEFAULT_AGENT_CONFIG.agentTeams],rules:Array.isArray(null==e?void 0:e.rules)?e.rules.map(String):[...s.DEFAULT_AGENT_CONFIG.rules],env:n,effort:"string"==typeof(t=null==e?void 0:e.effort)||"number"==typeof t||null==t?t:s.DEFAULT_AGENT_CONFIG.effort,background:(null==e?void 0:e.background)===!0||s.DEFAULT_AGENT_CONFIG.background,isolation:(null==e?void 0:e.isolation)==="worktree"||(null==e?void 0:e.isolation)==="remote"?e.isolation:"",whentouse:"string"==typeof(null==e?void 0:e.whentouse)?e.whentouse:s.DEFAULT_AGENT_CONFIG.whentouse}}function i(e){var t,n,s,r,i,a,o;return{...e,tools:(null!=(t=e.tools)?t:[]).slice(),disallowedTools:(null!=(n=e.disallowedTools)?n:[]).slice(),mcpServers:(null!=(s=e.mcpServers)?s:[]).slice(),skills:(null!=(r=e.skills)?r:[]).slice(),agentTeams:(null!=(i=e.agentTeams)?i:[]).slice(),rules:(null!=(a=e.rules)?a:[]).slice(),env:{...null!=(o=e.env)?o:{}}}}function a(e,t){return i({...r(e),...t})}async function o(e,s,i){var a,o,l;let u=await (0,t.get)((0,n.buildAgentApiUrl)(e,s,i));return{agentType:"string"==typeof(null==(a=u.agent)?void 0:a.agentType)&&u.agent.agentType.trim()?u.agent.agentType.trim():"string"==typeof(null==(o=u.agent)?void 0:o.name)?u.agent.name.trim():"",config:r(null==(l=u.agent)?void 0:l.config)}}async function l(e,s,r,a){await (0,t.patch)((0,n.buildAgentApiUrl)(e,s,r),{config:i(a)})}},87243,e=>{"use strict";e.s(["useSession",()=>l]);var t=e.i(71645),n=e.i(29250),s=e.i(68499),r=e.i(13354),i=e.i(65934),a=e.i(82136),o=e.i(55227);function l(){let e=(0,i.useAppStore)(e=>e.wsUrl),l=(0,i.useAppStore)(e=>e.apiBase),u=(0,i.useAppStore)(e=>e.agentId),c=(0,t.useCallback)(async t=>{let n=i.useAppStore.getState(),s=n.agentId.trim()||"qihoo";n.setSessionsMeta("加载中…");try{let u=await (0,o.listSessions)(e,l,s),c=u.sessions||[],g=null!=u.agent?String(u.agent):s;if(n.setBrandAgent(g),n.setLastSessions(c,"".concat(c.length,"个会话 · agent: ").concat(g)),(null==t?void 0:t.activateFirstIfEmpty)&&!i.useAppStore.getState().sessionId.trim()&&c.length>0){var r,a;let e=null==(a=c[0])||null==(r=a.sessionId)?void 0:r.trim();e&&i.useAppStore.getState().selectSession(e,"history")}}catch(e){n.resetSessions("加载失败: ".concat(e)),n.appendLog("sessions",String(e))}},[e,l]),g=(0,t.useCallback)(async()=>{let t=i.useAppStore.getState(),s=t.agentId.trim()||"qihoo";try{let n=await (0,a.loadAgentConfig)(e,l,s);t.setAgentConfig(n.config)}catch(e){t.resetAgentConfig(),t.appendLog("agent-config","load failed ".concat(e instanceof n.ApiError?e.message:String(e)))}},[e,l]),p=(0,t.useCallback)(async t=>{if(!t||!await (0,s.confirmAlertDialog)({title:"确认删除会话?",description:"将删除磁盘上的 transcript 与相关目录,不可恢复。\n\n".concat(t),confirmText:"删除",cancelText:"取消"}))return!1;let a=i.useAppStore.getState().sessionId.trim()===t,g=u.trim()||"qihoo";try{let n=await (0,o.deleteSession)(e,l,g,t);if(i.useAppStore.getState().appendLog("sessions-delete",n),a){let e=i.useAppStore.getState();e.startDraftSession(),e.resetChat(),e.clearLog()}return await c(),a}catch(e){return e instanceof n.ApiError?(i.useAppStore.getState().appendLog("sessions-delete",{error:!0,status:e.status,body:e.body}),r.appToast.error("删除失败: ".concat(e.message))):(i.useAppStore.getState().appendLog("sessions-delete",String(e)),r.appToast.error("删除请求失败: ".concat(e))),!1}},[e,l,u,c]);return{loadSessions:c,loadAgentConfig:g,deleteSessionById:p,currentAgent:(0,t.useCallback)(()=>i.useAppStore.getState().agentId.trim()||"qihoo",[])}}},92413,e=>{"use strict";function t(e){return(e.summary||e.firstPrompt||e.sessionId||"(无标题)").slice(0,120)}function n(e){let t=new Map;for(let n of e){let e=function(e){let t=new Date(e.lastModified||e.createdAt||0);if(!Number.isFinite(t.getTime()))return"未知日期";let n=t.getFullYear(),s=String(t.getMonth()+1).padStart(2,"0");return"".concat(n,"-").concat(s)}(n),s=t.get(e);s?s.push(n):t.set(e,[n])}return[...t.keys()].sort((e,t)=>t.localeCompare(e)).map(e=>{var n;return{key:e,items:null!=(n=t.get(e))?n:[]}})}function s(e){let t=e.split("-"),n=t[0]&&/^[0-9a-fA-F]{8}$/.test(t[0])?t[0]:e.slice(0,8);return"".concat(n,"...")}function r(e){return String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}e.s(["escapeHtml",()=>r,"groupSessionsByMonth",()=>n,"sessionTitle",()=>t,"shortUuidTitle",()=>s])},8279,e=>{"use strict";e.s(["avatarBgForLabel",()=>s,"initialsFromLabel",()=>n]);let t=["#9A3B32","#1db887","#4da3ff","#8b5cf6","#e84855","#f5c518"];function n(e){let t=e.trim();if(!t)return"?";let n=t.split(/\s+/).filter(Boolean);if(n.length>=2){var s,r;let e=null==(s=n[0])?void 0:s.slice(0,1),t=null==(r=n[1])?void 0:r.slice(0,1);if(e&&t)return"".concat(e).concat(t).toUpperCase()}return t.slice(0,2).toUpperCase()}function s(e){var n;let s=String(e||"?"),r=0;for(let e=0;e<s.length;e++)r=(r+17*s.charCodeAt(e))%t.length;return null!=(n=t[r])?n:t[0]}},52727,e=>{"use strict";e.s(["addTeamMember",()=>m,"createAgent",()=>p,"deleteAgentItem",()=>y,"getAgentDetail",()=>g,"listAgents",()=>l,"listAgentsForManage",()=>u,"removeTeamMember",()=>A,"updateAgent",()=>f]);var t=e.i(29250),n=e.i(36845);function s(e){let t=null!=e.id?String(e.id).trim():"";if(!t)return null;let n="string"==typeof e.displayName&&e.displayName.trim()?e.displayName.trim():t;return{id:t,displayName:n}}function r(e){if("string"==typeof e.whentouse)return e.whentouse;let t=e.config;if(t&&"object"==typeof t&&!Array.isArray(t)){let e=t.whentouse;if("string"==typeof e)return e}return""}function i(e){let t=e.agentTeamMembers;if(!Array.isArray(t))return[];let n=[];for(let e of t){if(!e||"object"!=typeof e)continue;let t=null!=e.agentType?String(e.agentType).trim():"";t&&n.push({agentType:t,whentouse:"string"==typeof e.whentouse?e.whentouse:""})}return n}function a(e){let t=s(e);return t?{...t,whentouse:r(e),agentTeamMembers:i(e)}:null}function o(e,t){let n=e&&"object"==typeof e?e:{},s=n.env&&"object"==typeof n.env&&!Array.isArray(n.env)?Object.fromEntries(Object.entries(n.env).map(e=>{let[t,n]=e;return[t,null==n?"":String(n)]})):{},r={tools:Array.isArray(n.tools)?n.tools.map(String):[],disallowedTools:Array.isArray(n.disallowedTools)?n.disallowedTools.map(String):[],mcpServers:Array.isArray(n.mcpServers)?n.mcpServers.map(String):[],skills:Array.isArray(n.skills)?n.skills.map(String):[],agentTeams:Array.isArray(n.agentTeams)?n.agentTeams.map(String):[],rules:Array.isArray(n.rules)?n.rules.map(String):[],model:"string"==typeof n.model?n.model:"",background:!0===n.background,isolation:"string"==typeof n.isolation?n.isolation:"",whentouse:"string"==typeof t?t:"",env:s,effort:null};return("string"==typeof n.effort||"number"==typeof n.effort)&&(r.effort=n.effort),r}async function l(e,t){return(await c(e,t)).map(s).filter(e=>null!=e)}async function u(e,t){return(await c(e,t)).map(a).filter(e=>null!=e)}async function c(e,s){let r=(await (0,t.get)((0,n.buildAgentsListUrl)(e,s))).agents;return Array.isArray(r)?r.filter(e=>null!=e&&"object"==typeof e):[]}async function g(e,s,i){let a=i.trim(),o=(await (0,t.get)((0,n.buildAgentItemUrl)(e,s,a))).agent,l=o&&"string"==typeof o.prompt?o.prompt:"",u=(null==o?void 0:o.config)&&"object"==typeof o.config?o.config:null;return{id:a,prompt:l,whentouse:r({whentouse:null==o?void 0:o.whentouse,config:null==o?void 0:o.config}),config:u}}async function p(e,s,r){let i=r.id.trim();await (0,t.post)((0,n.buildAgentsListUrl)(e,s),{name:i,prompt:r.prompt});let a=await g(e,s,i);return await (0,t.patch)((0,n.buildAgentItemUrl)(e,s,i),{config:o(a.config,r.whentouse)}),i}async function f(e,s,r){let i=r.id.trim();if(!i)throw Error("缺少 agent id");return await (0,t.patch)((0,n.buildAgentItemUrl)(e,s,i),{prompt:r.prompt,config:o(r.baseConfig,r.whentouse)}),i}function d(e){return e&&"object"==typeof e?i(e):[]}async function m(e,s,r,i){let a=r.trim(),o=i.trim();if(!a)throw Error("缺少 leader id");if(!o)throw Error("缺少 agentType");return d((await (0,t.post)((0,n.buildAgentTeamMembersUrl)(e,s,a),{agentType:o})).agent)}async function A(e,s,r,i){let a=r.trim(),o=i.trim();if(!a)throw Error("缺少 leader id");if(!o)throw Error("缺少 agentType");return d((await (0,t.del)((0,n.buildAgentTeamMemberUrl)(e,s,a,o))).agent)}async function y(e,s,r){let i=r.trim();if(!i)throw Error("缺少 agent id");try{await (0,t.del)((0,n.buildAgentItemUrl)(e,s,i))}catch(r){if(r instanceof t.ApiError&&400===r.status&&String(r.message).includes("missing required query parameter: agent"))return void await (0,t.del)((0,n.buildAgentApiUrl)(e,s,i));throw r}}},72234,e=>{e.v(t=>Promise.all(["static/chunks/61676890ad8fe194.js","static/chunks/f430e6f74ab444e1.js"].map(t=>e.l(t))).then(()=>t(37991)))},58332,e=>{e.v(t=>Promise.all(["static/chunks/950875832bab2141.js","static/chunks/f430e6f74ab444e1.js"].map(t=>e.l(t))).then(()=>t(19573)))},48583,e=>{e.v(t=>Promise.all(["static/chunks/21d1bfb869271a9f.js","static/chunks/f430e6f74ab444e1.js"].map(t=>e.l(t))).then(()=>t(39721)))},2578,e=>{e.v(t=>Promise.all(["static/chunks/38b035f49fa68570.js","static/chunks/f88c07614ca15868.js","static/chunks/e0e34f74c79fccad.js"].map(t=>e.l(t))).then(()=>t(31862)))},94065,e=>{e.v(t=>Promise.all(["static/chunks/4daa80520fa470d9.js","static/chunks/690434349e97572c.js","static/chunks/68142a0bc2fa2b35.js","static/chunks/371449b804c846f7.js","static/chunks/6e61f670898cb297.css"].map(t=>e.l(t))).then(()=>t(20291)))},1861,e=>{e.v(t=>Promise.all(["static/chunks/2c10ed308692c3a0.js","static/chunks/371449b804c846f7.js"].map(t=>e.l(t))).then(()=>t(62849)))}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,50711,e=>{"use strict";e.s(["usePersistAgentConfig",()=>o,"usePersistAgentConfigField",()=>l]);var t=e.i(71645),n=e.i(65934),s=e.i(67327),r=e.i(13354),i=e.i(82136),a=e.i(70074);function o(){let e=(0,n.useAppStore)(e=>e.wsUrl),o=(0,n.useAppStore)(e=>e.apiBase),{sendReloadAgentConfig:l}=(0,s.useWebSocketSender)(),u=(0,t.useCallback)(()=>n.useAppStore.getState().agentId.trim()||"qihoo",[]);return(0,t.useCallback)(async t=>{let s=!!(null==t?void 0:t.silent),c=n.useAppStore.getState();try{await (0,i.saveAgentConfig)(e,o,u(),(0,i.prepareAgentConfigForSave)(c.agentConfig));let t=n.useAppStore.getState();t.wsConnected&&l(),s?(t.appendLog("agent-config","已写入 agent.json"),t.setStatus("agent.json 已保存".concat(t.wsConnected?",已请求同步 worker":"(未连接 WS 则下次连上后 reload)"),(0,a.resolveInfoStatusClass)(t.bridgeReady,t.wsConnected))):r.appToast.success(t.wsConnected?"已保存并已请求 worker 重新加载 agent.md + agent.json。":"已保存。重连 WebSocket 后生效。")}catch(e){r.appToast.error("保存失败:".concat(e instanceof Error?e.message:String(e)))}},[e,o,l,u])}function l(e){let o=(0,n.useAppStore)(e=>e.wsUrl),l=(0,n.useAppStore)(e=>e.apiBase),{sendReloadAgentConfig:u}=(0,s.useWebSocketSender)(),c=(0,t.useCallback)(()=>n.useAppStore.getState().agentId.trim()||"qihoo",[]);return(0,t.useCallback)(async(t,s)=>{let g=!!(null==s?void 0:s.silent),p=n.useAppStore.getState();try{await (0,i.saveAgentConfig)(o,l,c(),(0,i.prepareAgentConfigForSave)(p.agentConfig,{[e]:t}));let s=n.useAppStore.getState();s.wsConnected&&u(),g?(s.appendLog("agent-config","已写入 agent.json"),s.setStatus("agent.json 已保存".concat(s.wsConnected?",已请求同步 worker":"(未连接 WS 则下次连上后 reload)"),(0,a.resolveInfoStatusClass)(s.bridgeReady,s.wsConnected))):r.appToast.success(s.wsConnected?"已保存并已请求 worker 重新加载 agent.md + agent.json。":"已保存。重连 WebSocket 后生效。")}catch(e){r.appToast.error("保存失败:".concat(e instanceof Error?e.message:String(e)))}},[o,l,u,c,e])}},20090,e=>{"use strict";e.s(["clearActiveWebSocket",()=>r,"isWebSocketOpen",()=>n,"sendActiveWebSocketJson",()=>i,"setActiveWebSocket",()=>s]);let t=null;function n(e){return null!==e&&e.readyState===WebSocket.OPEN}function s(e){t=e}function r(e){t===e&&(t=null)}function i(e){let s=t;return!!n(s)&&(s.send(JSON.stringify(e)),!0)}},70074,e=>{"use strict";function t(e,t){return e?"ready":t?"pending":"idle"}e.s(["resolveInfoStatusClass",()=>t])},67327,e=>{"use strict";e.s(["useWebSocketSender",()=>r]);var t=e.i(71645),n=e.i(65934),s=e.i(20090);function r(){let e=(0,t.useCallback)(e=>{let t=(0,s.sendActiveWebSocketJson)(e);return t&&n.useAppStore.getState().appendLog("→",e),t},[]),r=(0,t.useCallback)(()=>e({type:"reloadAgentConfig"}),[e]),i=(0,t.useCallback)(t=>e({type:"restartSubprocess",reason:null!=t?t:"persist-session-overrides"}),[e]),a=(0,t.useCallback)(()=>e({type:"reloadAgentPrompt"}),[e]),o=(0,t.useCallback)((t,n)=>{let s=String(t||"").trim();return!!s&&e({type:"permission.response",requestId:s,behavior:n})},[e]);return{sendJson:e,sendReloadAgentConfig:r,sendRestartSubprocess:i,sendReloadAgentPrompt:a,sendPermissionResponse:o}}},33848,e=>{"use strict";e.s(["ownerWindow",()=>t.getWindow]);var t=e.i(29315)},62372,e=>{"use strict";e.s(["visuallyHidden",()=>n,"visuallyHiddenInput",()=>s]);let t={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},n={...t,position:"fixed",top:0,left:0},s={...t,position:"absolute"}},73577,e=>{"use strict";e.s(["useValueChanged",()=>r]);var t=e.i(71645),n=e.i(977),s=e.i(76477);function r(e,r){let i=t.useRef(e),a=(0,s.useStableCallback)(r);(0,n.useIsoLayoutEffect)(()=>{i.current!==e&&a(i.current)},[e,a]),(0,n.useIsoLayoutEffect)(()=>{i.current=e},[e])}},55227,e=>{"use strict";e.s(["deleteSession",()=>r,"listSessions",()=>s,"listWorkspaceFiles",()=>l,"loadSessionOverrides",()=>i,"loadSessionReplay",()=>a,"saveSessionOverrides",()=>o]);var t=e.i(29250),n=e.i(36845);async function s(e,s,r){return(0,t.get)((0,n.buildSessionsListUrl)(e,s,r))}async function r(e,s,r,i){return(0,t.del)((0,n.buildSessionDeleteUrl)(e,s,r,i))}async function i(e,s,r,i){return(0,t.get)((0,n.buildSessionOverridesUrl)(e,s,r,i))}async function a(e,s,r,i){let a=await (0,t.get)((0,n.buildSessionReplayUrl)(e,s,r,i));return{envelopes:Array.isArray(a.envelopes)?a.envelopes:[],messageCount:"number"==typeof a.messageCount?a.messageCount:void 0}}async function o(e,s,r,i,a){await (0,t.patch)((0,n.buildSessionOverridesUrl)(e,s,r,i),a)}async function l(e,s,r,i){return(0,t.get)((0,n.buildWorkspaceFilesListUrl)(e,s,r,i))}},82136,e=>{"use strict";e.s(["loadAgentConfig",()=>o,"prepareAgentConfigForSave",()=>a,"saveAgentConfig",()=>l]);var t=e.i(29250),n=e.i(36845),s=e.i(75675);function r(e){var t;let n={},r=null==e?void 0:e.env;if(r&&"object"==typeof r&&!Array.isArray(r))for(let[e,t]of Object.entries(r))"string"==typeof e&&e.trim()&&(n[e]=null==t?"":String(t));return{tools:Array.isArray(null==e?void 0:e.tools)?e.tools.map(String):[...s.DEFAULT_AGENT_CONFIG.tools],disallowedTools:Array.isArray(null==e?void 0:e.disallowedTools)?e.disallowedTools.map(String):[...s.DEFAULT_AGENT_CONFIG.disallowedTools],mcpServers:Array.isArray(null==e?void 0:e.mcpServers)?e.mcpServers.map(String):[...s.DEFAULT_AGENT_CONFIG.mcpServers],skills:Array.isArray(null==e?void 0:e.skills)?e.skills.map(String):[...s.DEFAULT_AGENT_CONFIG.skills],model:"string"==typeof(null==e?void 0:e.model)?e.model:s.DEFAULT_AGENT_CONFIG.model,agentTeams:Array.isArray(null==e?void 0:e.agentTeams)?e.agentTeams.map(String):[...s.DEFAULT_AGENT_CONFIG.agentTeams],rules:Array.isArray(null==e?void 0:e.rules)?e.rules.map(String):[...s.DEFAULT_AGENT_CONFIG.rules],env:n,effort:"string"==typeof(t=null==e?void 0:e.effort)||"number"==typeof t||null==t?t:s.DEFAULT_AGENT_CONFIG.effort,background:(null==e?void 0:e.background)===!0||s.DEFAULT_AGENT_CONFIG.background,isolation:(null==e?void 0:e.isolation)==="worktree"||(null==e?void 0:e.isolation)==="remote"?e.isolation:"",whentouse:"string"==typeof(null==e?void 0:e.whentouse)?e.whentouse:s.DEFAULT_AGENT_CONFIG.whentouse}}function i(e){var t,n,s,r,i,a,o;return{...e,tools:(null!=(t=e.tools)?t:[]).slice(),disallowedTools:(null!=(n=e.disallowedTools)?n:[]).slice(),mcpServers:(null!=(s=e.mcpServers)?s:[]).slice(),skills:(null!=(r=e.skills)?r:[]).slice(),agentTeams:(null!=(i=e.agentTeams)?i:[]).slice(),rules:(null!=(a=e.rules)?a:[]).slice(),env:{...null!=(o=e.env)?o:{}}}}function a(e,t){return i({...r(e),...t})}async function o(e,s,i){var a,o,l;let u=await (0,t.get)((0,n.buildAgentApiUrl)(e,s,i));return{agentType:"string"==typeof(null==(a=u.agent)?void 0:a.agentType)&&u.agent.agentType.trim()?u.agent.agentType.trim():"string"==typeof(null==(o=u.agent)?void 0:o.name)?u.agent.name.trim():"",config:r(null==(l=u.agent)?void 0:l.config)}}async function l(e,s,r,a){await (0,t.patch)((0,n.buildAgentApiUrl)(e,s,r),{config:i(a)})}},87243,e=>{"use strict";e.s(["useSession",()=>l]);var t=e.i(71645),n=e.i(29250),s=e.i(68499),r=e.i(13354),i=e.i(65934),a=e.i(82136),o=e.i(55227);function l(){let e=(0,i.useAppStore)(e=>e.wsUrl),l=(0,i.useAppStore)(e=>e.apiBase),u=(0,i.useAppStore)(e=>e.agentId),c=(0,t.useCallback)(async t=>{let n=i.useAppStore.getState(),s=n.agentId.trim()||"qihoo";n.setSessionsMeta("加载中…");try{let u=await (0,o.listSessions)(e,l,s),c=u.sessions||[],g=null!=u.agent?String(u.agent):s;if(n.setBrandAgent(g),n.setLastSessions(c,"".concat(c.length,"个会话 · agent: ").concat(g)),(null==t?void 0:t.activateFirstIfEmpty)&&!i.useAppStore.getState().sessionId.trim()&&c.length>0){var r,a;let e=null==(a=c[0])||null==(r=a.sessionId)?void 0:r.trim();e&&i.useAppStore.getState().selectSession(e,"history")}}catch(e){n.resetSessions("加载失败: ".concat(e)),n.appendLog("sessions",String(e))}},[e,l]),g=(0,t.useCallback)(async()=>{let t=i.useAppStore.getState(),s=t.agentId.trim()||"qihoo";try{let n=await (0,a.loadAgentConfig)(e,l,s);t.setAgentConfig(n.config)}catch(e){t.resetAgentConfig(),t.appendLog("agent-config","load failed ".concat(e instanceof n.ApiError?e.message:String(e)))}},[e,l]),p=(0,t.useCallback)(async t=>{if(!t||!await (0,s.confirmAlertDialog)({title:"确认删除会话?",description:"将删除磁盘上的 transcript 与相关目录,不可恢复。\n\n".concat(t),confirmText:"删除",cancelText:"取消"}))return!1;let a=i.useAppStore.getState().sessionId.trim()===t,g=u.trim()||"qihoo";try{let n=await (0,o.deleteSession)(e,l,g,t);if(i.useAppStore.getState().appendLog("sessions-delete",n),a){let e=i.useAppStore.getState();e.startDraftSession(),e.resetChat(),e.clearLog()}return await c(),a}catch(e){return e instanceof n.ApiError?(i.useAppStore.getState().appendLog("sessions-delete",{error:!0,status:e.status,body:e.body}),r.appToast.error("删除失败: ".concat(e.message))):(i.useAppStore.getState().appendLog("sessions-delete",String(e)),r.appToast.error("删除请求失败: ".concat(e))),!1}},[e,l,u,c]);return{loadSessions:c,loadAgentConfig:g,deleteSessionById:p,currentAgent:(0,t.useCallback)(()=>i.useAppStore.getState().agentId.trim()||"qihoo",[])}}},92413,e=>{"use strict";function t(e){return(e.summary||e.firstPrompt||e.sessionId||"(无标题)").slice(0,120)}function n(e){let t=new Map;for(let n of e){let e=function(e){let t=new Date(e.lastModified||e.createdAt||0);if(!Number.isFinite(t.getTime()))return"未知日期";let n=t.getFullYear(),s=String(t.getMonth()+1).padStart(2,"0");return"".concat(n,"-").concat(s)}(n),s=t.get(e);s?s.push(n):t.set(e,[n])}return[...t.keys()].sort((e,t)=>t.localeCompare(e)).map(e=>{var n;return{key:e,items:null!=(n=t.get(e))?n:[]}})}function s(e){let t=e.split("-"),n=t[0]&&/^[0-9a-fA-F]{8}$/.test(t[0])?t[0]:e.slice(0,8);return"".concat(n,"...")}function r(e){return String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}e.s(["escapeHtml",()=>r,"groupSessionsByMonth",()=>n,"sessionTitle",()=>t,"shortUuidTitle",()=>s])},8279,e=>{"use strict";e.s(["avatarBgForLabel",()=>s,"initialsFromLabel",()=>n]);let t=["#9A3B32","#1db887","#4da3ff","#8b5cf6","#e84855","#f5c518"];function n(e){let t=e.trim();if(!t)return"?";let n=t.split(/\s+/).filter(Boolean);if(n.length>=2){var s,r;let e=null==(s=n[0])?void 0:s.slice(0,1),t=null==(r=n[1])?void 0:r.slice(0,1);if(e&&t)return"".concat(e).concat(t).toUpperCase()}return t.slice(0,2).toUpperCase()}function s(e){var n;let s=String(e||"?"),r=0;for(let e=0;e<s.length;e++)r=(r+17*s.charCodeAt(e))%t.length;return null!=(n=t[r])?n:t[0]}},52727,e=>{"use strict";e.s(["addTeamMember",()=>m,"createAgent",()=>p,"deleteAgentItem",()=>y,"getAgentDetail",()=>g,"listAgents",()=>l,"listAgentsForManage",()=>u,"removeTeamMember",()=>A,"updateAgent",()=>f]);var t=e.i(29250),n=e.i(36845);function s(e){let t=null!=e.id?String(e.id).trim():"";if(!t)return null;let n="string"==typeof e.displayName&&e.displayName.trim()?e.displayName.trim():t;return{id:t,displayName:n}}function r(e){if("string"==typeof e.whentouse)return e.whentouse;let t=e.config;if(t&&"object"==typeof t&&!Array.isArray(t)){let e=t.whentouse;if("string"==typeof e)return e}return""}function i(e){let t=e.agentTeamMembers;if(!Array.isArray(t))return[];let n=[];for(let e of t){if(!e||"object"!=typeof e)continue;let t=null!=e.agentType?String(e.agentType).trim():"";t&&n.push({agentType:t,whentouse:"string"==typeof e.whentouse?e.whentouse:""})}return n}function a(e){let t=s(e);return t?{...t,whentouse:r(e),agentTeamMembers:i(e)}:null}function o(e,t){let n=e&&"object"==typeof e?e:{},s=n.env&&"object"==typeof n.env&&!Array.isArray(n.env)?Object.fromEntries(Object.entries(n.env).map(e=>{let[t,n]=e;return[t,null==n?"":String(n)]})):{},r={tools:Array.isArray(n.tools)?n.tools.map(String):[],disallowedTools:Array.isArray(n.disallowedTools)?n.disallowedTools.map(String):[],mcpServers:Array.isArray(n.mcpServers)?n.mcpServers.map(String):[],skills:Array.isArray(n.skills)?n.skills.map(String):[],agentTeams:Array.isArray(n.agentTeams)?n.agentTeams.map(String):[],rules:Array.isArray(n.rules)?n.rules.map(String):[],model:"string"==typeof n.model?n.model:"",background:!0===n.background,isolation:"string"==typeof n.isolation?n.isolation:"",whentouse:"string"==typeof t?t:"",env:s,effort:null};return("string"==typeof n.effort||"number"==typeof n.effort)&&(r.effort=n.effort),r}async function l(e,t){return(await c(e,t)).map(s).filter(e=>null!=e)}async function u(e,t){return(await c(e,t)).map(a).filter(e=>null!=e)}async function c(e,s){let r=(await (0,t.get)((0,n.buildAgentsListUrl)(e,s))).agents;return Array.isArray(r)?r.filter(e=>null!=e&&"object"==typeof e):[]}async function g(e,s,i){let a=i.trim(),o=(await (0,t.get)((0,n.buildAgentItemUrl)(e,s,a))).agent,l=o&&"string"==typeof o.prompt?o.prompt:"",u=(null==o?void 0:o.config)&&"object"==typeof o.config?o.config:null;return{id:a,prompt:l,whentouse:r({whentouse:null==o?void 0:o.whentouse,config:null==o?void 0:o.config}),config:u}}async function p(e,s,r){let i=r.id.trim();await (0,t.post)((0,n.buildAgentsListUrl)(e,s),{name:i,prompt:r.prompt});let a=await g(e,s,i);return await (0,t.patch)((0,n.buildAgentItemUrl)(e,s,i),{config:o(a.config,r.whentouse)}),i}async function f(e,s,r){let i=r.id.trim();if(!i)throw Error("缺少 agent id");return await (0,t.patch)((0,n.buildAgentItemUrl)(e,s,i),{prompt:r.prompt,config:o(r.baseConfig,r.whentouse)}),i}function d(e){return e&&"object"==typeof e?i(e):[]}async function m(e,s,r,i){let a=r.trim(),o=i.trim();if(!a)throw Error("缺少 leader id");if(!o)throw Error("缺少 agentType");return d((await (0,t.post)((0,n.buildAgentTeamMembersUrl)(e,s,a),{agentType:o})).agent)}async function A(e,s,r,i){let a=r.trim(),o=i.trim();if(!a)throw Error("缺少 leader id");if(!o)throw Error("缺少 agentType");return d((await (0,t.del)((0,n.buildAgentTeamMemberUrl)(e,s,a,o))).agent)}async function y(e,s,r){let i=r.trim();if(!i)throw Error("缺少 agent id");try{await (0,t.del)((0,n.buildAgentItemUrl)(e,s,i))}catch(r){if(r instanceof t.ApiError&&400===r.status&&String(r.message).includes("missing required query parameter: agent"))return void await (0,t.del)((0,n.buildAgentApiUrl)(e,s,i));throw r}}},72234,e=>{e.v(t=>Promise.all(["static/chunks/61676890ad8fe194.js","static/chunks/f430e6f74ab444e1.js"].map(t=>e.l(t))).then(()=>t(37991)))},58332,e=>{e.v(t=>Promise.all(["static/chunks/950875832bab2141.js","static/chunks/f430e6f74ab444e1.js"].map(t=>e.l(t))).then(()=>t(19573)))},48583,e=>{e.v(t=>Promise.all(["static/chunks/21d1bfb869271a9f.js","static/chunks/f430e6f74ab444e1.js"].map(t=>e.l(t))).then(()=>t(39721)))},2578,e=>{e.v(t=>Promise.all(["static/chunks/38b035f49fa68570.js","static/chunks/5f6769a92729c6c3.js","static/chunks/f4d92f64a8396e2a.js"].map(t=>e.l(t))).then(()=>t(31862)))},94065,e=>{e.v(t=>Promise.all(["static/chunks/4daa80520fa470d9.js","static/chunks/7f52fbd725b13904.js","static/chunks/5cf497c406a233ac.js","static/chunks/371449b804c846f7.js","static/chunks/6e61f670898cb297.css"].map(t=>e.l(t))).then(()=>t(20291)))},1861,e=>{e.v(t=>Promise.all(["static/chunks/2c10ed308692c3a0.js","static/chunks/371449b804c846f7.js"].map(t=>e.l(t))).then(()=>t(62849)))}]);