@auto-ai/agent 2.1.210 → 2.1.211

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 (58) hide show
  1. package/dist/safe-a/404/index.html +1 -1
  2. package/dist/safe-a/404.html +1 -1
  3. package/dist/safe-a/_next/static/chunks/16ee3f2be4586638.js +1 -0
  4. package/dist/safe-a/_next/static/chunks/{98a2db7a6b8d43c0.js → 42d0ae4192d72f8e.js} +1 -1
  5. package/dist/safe-a/_next/static/chunks/5b4c1faefda9575b.js +1 -0
  6. package/dist/safe-a/_next/static/chunks/6a199e5f9da2ec4e.js +1 -0
  7. package/dist/safe-a/_next/static/chunks/846fd48826ed3d89.js +1 -0
  8. package/dist/safe-a/_next/static/chunks/{54ce15edde8ce98c.js → 9971428081f87b2e.js} +1 -1
  9. package/dist/safe-a/_next/static/chunks/{c9204488e115fc38.js → b31fde4b83862330.js} +1 -1
  10. package/dist/safe-a/_next/static/chunks/b744b1f1595cffb6.js +1 -0
  11. package/dist/safe-a/_next/static/chunks/c7ce2c0e40c62b6b.js +1 -0
  12. package/dist/safe-a/_next/static/chunks/dda0af99af0e0631.css +7 -0
  13. package/dist/safe-a/_next/static/chunks/ece085cc915ab5e5.js +1 -0
  14. package/dist/safe-a/_next/static/chunks/f37854d807ee41ac.css +1 -0
  15. package/dist/safe-a/_next/static/chunks/{31c93ba513dea5e7.js → fd9b8164ea743aa0.js} +1 -1
  16. package/dist/safe-a/index.html +2 -2
  17. package/dist/safe-a/index.txt +19 -19
  18. package/dist/safe-a/manage/about/index.html +2 -2
  19. package/dist/safe-a/manage/about/index.txt +19 -19
  20. package/dist/safe-a/manage/env/index.html +2 -2
  21. package/dist/safe-a/manage/env/index.txt +21 -21
  22. package/dist/safe-a/manage/geelib/index.html +2 -2
  23. package/dist/safe-a/manage/geelib/index.txt +21 -21
  24. package/dist/safe-a/manage/general/index.html +2 -2
  25. package/dist/safe-a/manage/general/index.txt +19 -19
  26. package/dist/safe-a/manage/git/index.html +2 -2
  27. package/dist/safe-a/manage/git/index.txt +21 -21
  28. package/dist/safe-a/manage/im/index.html +2 -2
  29. package/dist/safe-a/manage/im/index.txt +21 -21
  30. package/dist/safe-a/manage/index.html +2 -2
  31. package/dist/safe-a/manage/index.txt +16 -16
  32. package/dist/safe-a/manage/library/index.html +2 -2
  33. package/dist/safe-a/manage/library/index.txt +19 -19
  34. package/dist/safe-a/manage/mcp/index.html +2 -2
  35. package/dist/safe-a/manage/mcp/index.txt +19 -19
  36. package/dist/safe-a/manage/permissions/index.html +2 -2
  37. package/dist/safe-a/manage/permissions/index.txt +19 -19
  38. package/dist/safe-a/manage/skills/index.html +2 -2
  39. package/dist/safe-a/manage/skills/index.txt +19 -19
  40. package/dist/safe-a/manage/task/index.html +2 -2
  41. package/dist/safe-a/manage/task/index.txt +19 -19
  42. package/dist/safe-a/manage/teams/index.html +2 -2
  43. package/dist/safe-a/manage/teams/index.txt +19 -19
  44. package/dist/safe-a/manage/tools/index.html +2 -2
  45. package/dist/safe-a/manage/tools/index.txt +19 -19
  46. package/package.json +6 -6
  47. package/dist/safe-a/_next/static/chunks/3efccd72f964d9d3.js +0 -1
  48. package/dist/safe-a/_next/static/chunks/4d97363bb1a6633d.js +0 -1
  49. package/dist/safe-a/_next/static/chunks/713b097e1a0b340b.js +0 -1
  50. package/dist/safe-a/_next/static/chunks/b08f1ee81b569c60.js +0 -1
  51. package/dist/safe-a/_next/static/chunks/bff0a34243e1f2c7.css +0 -7
  52. package/dist/safe-a/_next/static/chunks/d1e3d3d09ff4ed38.js +0 -1
  53. package/dist/safe-a/_next/static/chunks/d6c35821582ac6a8.js +0 -1
  54. package/dist/safe-a/_next/static/chunks/e048616a4731c6b2.js +0 -1
  55. package/dist/safe-a/_next/static/chunks/f0f534c89e005d26.css +0 -1
  56. /package/dist/safe-a/_next/static/{dNJkIrryvG5ItxyuCnnQF → sLkb5O425Rfm5_5LxMwvi}/_buildManifest.js +0 -0
  57. /package/dist/safe-a/_next/static/{dNJkIrryvG5ItxyuCnnQF → sLkb5O425Rfm5_5LxMwvi}/_clientMiddlewareManifest.json +0 -0
  58. /package/dist/safe-a/_next/static/{dNJkIrryvG5ItxyuCnnQF → sLkb5O425Rfm5_5LxMwvi}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,13014,e=>{"use strict";e.s(["AppTable",()=>u],13014);var t=e.i(59992),a=e.i(26162),l=e.i(65765),r=e.i(96745);let s=l.forwardRef((e,a)=>{let{className:l,...s}=e;return(0,t.jsx)("div",{className:"relative w-full overflow-auto",children:(0,t.jsx)("table",{ref:a,className:(0,r.cn)("w-full caption-bottom border-collapse",l),...s})})});s.displayName="Table";let n=l.forwardRef((e,a)=>{let{className:l,...s}=e;return(0,t.jsx)("thead",{ref:a,className:(0,r.cn)("[&_tr]:table [&_tr]:w-full [&_tr]:table-fixed [&_tr]:border-b",l),...s})});n.displayName="TableHeader";let i=l.forwardRef((e,a)=>{let{className:s,viewportFit:n=!0,viewportReserveBottom:i=16,viewportPaginationReserve:o=0,style:c,...d}=e,u=l.useRef(null),m=l.useCallback(e=>{u.current=e,"function"==typeof a?a(e):a&&(a.current=e)},[a]),[p,f]=l.useState(void 0);return l.useLayoutEffect(()=>{var e,t;if(!n)return void f(void 0);let a=()=>{var e,t;let a=u.current;if(!a)return;let l=a.getBoundingClientRect().top;f(Math.max(80,Math.floor((null!=(t=null==(e=window.visualViewport)?void 0:e.height)?t:window.innerHeight)-l-(i+o))))};a();let l=new ResizeObserver(()=>{a()});try{l.observe(document.body)}catch(e){}return window.addEventListener("resize",a),null==(e=window.visualViewport)||e.addEventListener("resize",a),null==(t=window.visualViewport)||t.addEventListener("scroll",a),window.addEventListener("scroll",a,!0),()=>{var e,t;l.disconnect(),window.removeEventListener("resize",a),null==(e=window.visualViewport)||e.removeEventListener("resize",a),null==(t=window.visualViewport)||t.removeEventListener("scroll",a),window.removeEventListener("scroll",a,!0)}},[n,i,o]),(0,t.jsx)("tbody",{ref:m,className:(0,r.cn)("block overflow-y-auto [&_tr:last-child]:border-b-0 [&_tr:last-child_td]:border-b-0 [&_tr]:table [&_tr]:w-full [&_tr]:table-fixed",s),style:n&&void 0!==p?{...c,maxHeight:p}:c,...d})});i.displayName="TableBody";let o=l.forwardRef((e,a)=>{let{className:l,hoverable:s=!0,...n}=e;return(0,t.jsx)("tr",{ref:a,className:(0,r.cn)("border-b transition-colors [&>td]:transition-colors data-[state=selected]:[&>td]:!bg-[var(--ds-color-surface-item-active)]",s&&"group/table-row",l),...n})});o.displayName="TableRow";let c=l.forwardRef((e,a)=>{let{className:l,...s}=e;return(0,t.jsx)("th",{ref:a,className:(0,r.cn)("h-10 border-b border-[var(--ds-color-border-subtle)] bg-[var(--surface-2)] px-3 text-left align-middle text-[14px] font-medium !text-[var(--ds-text)] text-muted-foreground",l),...s})});c.displayName="TableHead";let d=l.forwardRef((e,a)=>{let{className:l,...s}=e;return(0,t.jsx)("td",{ref:a,className:(0,r.cn)("border-x-0 border-b border-t-0 border-solid border-[var(--ds-color-border-subtle)] p-3 align-middle transition-colors group-has-[td:hover]/table-row:!bg-[var(--ds-color-surface-item-hover)]",l),...s})});function u(e){let{rows:l,columns:u,getRowKey:m,className:p,rowClassName:f,headerRowClassName:x,emptyText:h,emptyNode:b,bodyProps:g}=e;return(0,t.jsx)("div",{className:(0,r.cn)("overflow-hidden border border-[var(--ds-color-border-default)]",p),children:(0,t.jsxs)(s,{children:[(0,t.jsx)(n,{children:(0,t.jsx)(o,{className:(0,r.cn)("bg-[var(--ds-color-surface-main-tint)] hover:bg-[var(--ds-color-surface-main-tint)]",x),children:u.map(e=>(0,t.jsx)(c,{className:e.headerClassName,children:e.title},e.key))})}),(0,t.jsx)(i,{...g,children:l.length?l.map(e=>(0,t.jsx)(o,{className:"function"==typeof f?f(e):f,children:u.map(a=>(0,t.jsx)(d,{className:a.cellClassName,children:a.render(e)},a.key))},m(e))):(0,t.jsx)(o,{hoverable:!1,children:(0,t.jsx)(d,{colSpan:u.length,className:"py-6",children:null!=b?b:(0,t.jsx)(a.Empty,{text:h})})})})]})})}d.displayName="TableCell"},99329,e=>{"use strict";e.s(["clearRuntimeMcpItemConfig",()=>w,"deleteRuntimeMcp",()=>m,"deleteRuntimeSkill",()=>j,"deleteRuntimeTool",()=>u,"exportRuntimeMcpUrl",()=>f,"exportRuntimeSkillUrl",()=>k,"exportRuntimeToolUrl",()=>p,"importRuntimeMcp",()=>h,"importRuntimeTool",()=>x,"installCloudSkill",()=>N,"listBaseSkills",()=>s,"listCloudSkillCatalog",()=>C,"listInstalledSkills",()=>n,"listInstalledTools",()=>r,"listMcpServers",()=>l,"listRuntimeMcpPackages",()=>d,"listRuntimeTools",()=>c,"loadBaseSkillMd",()=>i,"loadRemoteMcpJson",()=>b,"loadRuntimeMcpItemConfig",()=>v,"saveBaseSkillMd",()=>o,"saveRemoteMcpJson",()=>g,"saveRuntimeMcpItemConfig",()=>y]);var t=e.i(61293),a=e.i(10602);async function l(e,l,r){let s=await (0,t.get)((0,a.buildMcpServersListUrl)(e,l,r));return{servers:Array.isArray(s.servers)?s.servers:[]}}async function r(e,l,r){let s=await (0,t.get)((0,a.buildToolInstalledListUrl)(e,l,r));return{tools:Array.isArray(s.tools)?s.tools:[]}}async function s(e,l,r){let s=await (0,t.get)((0,a.buildSkillBaseListUrl)(e,l,r));return{skills:Array.isArray(s.skills)?s.skills:[]}}async function n(e,l,r){let s=await (0,t.get)((0,a.buildSkillInstalledListUrl)(e,l,r));return{skills:Array.isArray(s.skills)?s.skills:[]}}async function i(e,l,r,s){return(0,t.get)((0,a.buildBaseSkillMdUrl)(e,l,r,s))}async function o(e,l,r,s,n){await (0,t.put)((0,a.buildBaseSkillMdUrl)(e,l,r,s),{content:n})}async function c(e,l,r){let s=await (0,t.get)((0,a.buildToolsRuntimeFilesUrl)(e,l,r));return{runtimeToolsDir:"string"==typeof s.runtimeToolsDir?s.runtimeToolsDir:"",items:Array.isArray(s.items)?s.items.filter(e=>!!(e&&e.id)):[]}}async function d(e,l,r){let s=await (0,t.get)((0,a.buildMcpRuntimeFilesUrl)(e,l,r));return{mcpRuntimeDir:"string"==typeof s.mcpRuntimeDir?s.mcpRuntimeDir:"",items:Array.isArray(s.items)?s.items.filter(e=>!!(e&&e.id)):[]}}async function u(e,l,r,s){return(0,t.del)((0,a.buildToolsRuntimeDeleteUrl)(e,l,r,s))}async function m(e,l,r,s){return(0,t.del)((0,a.buildMcpRuntimeDeleteUrl)(e,l,r,s))}function p(e,t,l,r){return(0,a.buildToolsRuntimeExportUrl)(e,t,l,r)}function f(e,t,l,r){return(0,a.buildMcpRuntimeExportUrl)(e,t,l,r)}async function x(e,l,r,s){let n=new FormData;return n.append("file",s),(0,t.post)((0,a.buildToolsRuntimeImportUrl)(e,l,r),n,{type:"file"})}async function h(e,l,r,s){let n=new FormData;return n.append("file",s),(0,t.post)((0,a.buildMcpRuntimeImportUrl)(e,l,r),n,{type:"file"})}async function b(e,l,r){return(0,t.get)((0,a.buildRemoteMcpJsonUrl)(e,l,r))}async function g(e,l,r,s){await (0,t.post)((0,a.buildRemoteMcpJsonUrl)(e,l,r),{content:s})}async function v(e,l,r,s,n){return(0,t.get)((0,a.buildRuntimeMcpItemConfigUrl)(e,l,r,s,n))}async function y(e,l,r,s,n,i){await (0,t.put)((0,a.buildRuntimeMcpItemConfigUrl)(e,l,r,s,n),{server:i})}async function w(e,l,r,s,n){await (0,t.del)((0,a.buildRuntimeMcpItemConfigUrl)(e,l,r,s,n))}async function j(e,l,r,s){return(0,t.del)((0,a.buildSkillsRuntimeDeleteUrl)(e,l,r,s))}function k(e,t,l,r){return(0,a.buildSkillsRuntimeExportUrl)(e,t,l,r)}async function C(e,l,r,s,n,i){let o=await (0,t.get)((0,a.buildCloudSkillCatalogUrl)(e,l,r,s,n,i));return{items:Array.isArray(o.items)?o.items:[],totalPages:Number(o.totalPages||0)}}async function N(e,l,r,s){await (0,t.post)((0,a.buildCloudSkillInstallUrl)(e,l,r),{id:s})}},40751,e=>{"use strict";e.s(["AppDialog",()=>s]);var t=e.i(59992),a=e.i(65765),l=e.i(65486),r=e.i(96745);function s(e){let{open:s,onOpenChange:n,title:i,children:o,footer:c,width:d="max-w-3xl",minHeight:u}=e,m=(0,a.useId)();return(0,t.jsx)(l.Dialog,{open:s,onOpenChange:n,children:(0,t.jsxs)(l.DialogContent,{"aria-labelledby":m,className:(0,r.cn)(d,u?"!min-h-[--min-h]":""),style:u?{"--min-h":u}:void 0,children:[(0,t.jsxs)(l.DialogHeader,{children:[(0,t.jsx)(l.DialogTitle,{id:m,children:i}),(0,t.jsx)(l.DialogClose,{"aria-label":"关闭"})]}),(0,t.jsx)(l.DialogBody,{className:"!px-4 !py-3",children:o}),c?(0,t.jsx)("div",{className:"flex flex-shrink-0 justify-end gap-2 border-t border-[var(--ds-color-border-default)] bg-[var(--ds-color-surface-sidebar)] px-4 py-3",children:c}):null]})})}},84919,e=>{"use strict";e.s(["ResourceImportDialog",()=>u],84919);var t=e.i(59992),a=e.i(65765),l=e.i(87655),r=e.i(96745),s=e.i(92369);function n(e){return e<1024?"".concat(e," B"):e<1048576?"".concat((e/1024).toFixed(1)," KB"):"".concat((e/1048576).toFixed(1)," MB")}function i(e){let{uploadUrl:i,accept:o,disabled:c=!1,multiple:d=!1,maxFileSize:u=0x3200000,autoUpload:m=!1,method:p="POST",transport:f="xhr",fieldName:x="file",headers:h,extraFormData:b,autoRetryTimes:g=0,autoRetryDelayMs:v=800,selectionOnly:y=!1,className:w,emptyTitle:j="点击或拖拽文件到此处",emptyHint:k="支持上传文件",onFilesChange:C,onUploadSuccess:N,onUploadError:S,onValidationError:R}=e,T=a.useId(),U=a.useRef(null),M=a.useRef(new Map),A=a.useRef(new Map),B=a.useRef([]),[D,L]=a.useState(!1),[z,E]=a.useState([]),I=a.useMemo(()=>o?o.split(",").map(e=>e.trim().toLowerCase()).filter(Boolean):[],[o]);a.useEffect(()=>{B.current=z,null==C||C(z)},[z,C]),a.useEffect(()=>()=>{for(let e of M.current.values())e.abort();for(let e of A.current.values())e.abort();for(let e of B.current)e.previewUrl&&URL.revokeObjectURL(e.previewUrl)},[]);let O=a.useCallback((e,t)=>{E(a=>a.map(a=>a.id===e?{...a,...t}:a))},[]),_=a.useCallback(async(e,t)=>{let a=B.current.find(t=>t.id===e);if(!a||c)return;O(e,{status:t>0?"retrying":"uploading",progress:0,error:"",retryCount:t});let l=new FormData;if(b)for(let[e,t]of Object.entries(b))l.append(e,t);l.append(x,a.file);try{let t="";if("fetch"===f){let a=new AbortController;A.current.set(e,a);let r=await fetch(i,{method:p,headers:h,body:l,signal:a.signal}),s=await r.text();try{t=s?JSON.parse(s):""}catch(e){t=s}if(!r.ok)throw Error("上传失败:".concat(r.status," ").concat(r.statusText))}else t=await new Promise((t,a)=>{let r=new XMLHttpRequest;if(M.current.set(e,r),r.open(p,i,!0),h)for(let[e,t]of Object.entries(h))r.setRequestHeader(e,t);r.upload.onprogress=t=>{if(!t.lengthComputable)return;let a=Math.min(100,Math.round(t.loaded/t.total*100));O(e,{progress:a})},r.onerror=()=>a(Error("网络异常,上传失败")),r.onabort=()=>a(Error("__ABORTED__")),r.onload=()=>{r.status>=200&&r.status<300?t(function(e){let t=e.responseText||"";try{return JSON.parse(t)}catch(e){return t}}(r)):a(Error("上传失败:".concat(r.status," ").concat(r.statusText)))},r.send(l)});O(e,{status:"success",progress:100,error:""});let a=B.current.find(t=>t.id===e);a&&(null==N||N(a,t))}catch(r){let a=r instanceof Error?r.message:String(r);if("__ABORTED__"===a)return void O(e,{status:"selected",progress:0,error:""});if(t<g){O(e,{status:"retrying",error:"重试中(".concat(t+1,"/").concat(g,")")}),await new Promise(e=>window.setTimeout(e,v)),await _(e,t+1);return}O(e,{status:"error",error:a});let l=B.current.find(t=>t.id===e);l&&(null==S||S(l,a))}finally{M.current.delete(e),A.current.delete(e)}},[v,g,c,b,x,h,p,S,N,f,O,i]),P=a.useCallback(e=>{_(e,0)},[_]),F=a.useCallback(e=>{var t,a;null==(t=M.current.get(e))||t.abort(),null==(a=A.current.get(e))||a.abort()},[]),H=a.useCallback(()=>{for(let e of B.current)("selected"===e.status||"error"===e.status)&&P(e.id)},[P]),K=a.useCallback(e=>{if(c||!e.length)return;let t=new Set(B.current.map(e=>"".concat(e.file.name,"::").concat(e.file.size))),a=[];for(let l of e){let e="".concat(l.name,"::").concat(l.size);if(!t.has(e)){if(!function(e,t){if(!t.length)return!0;let a=e.name.toLowerCase(),l=(e.type||"").toLowerCase();return t.some(e=>e.startsWith(".")?a.endsWith(e):e.endsWith("/*")?l.startsWith("".concat(e.slice(0,-1))):l===e)}(l,I)){null==R||R("文件类型不支持:".concat(l.name));continue}if(l.size>u){null==R||R("文件过大(最大 ".concat(n(u),"):").concat(l.name));continue}t.add(e),a.push({id:"".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2,8)),file:l,status:"selected",progress:0,error:"",retryCount:0,previewUrl:l.type.startsWith("image/")?URL.createObjectURL(l):""})}}if(!a.length)return;let l=d?[...B.current,...a]:[a[a.length-1]];if(!d)for(let e of B.current)e.previewUrl&&URL.revokeObjectURL(e.previewUrl);if(E(l),m&&!y)for(let e of a)P(e.id)},[I,m,c,u,d,R,y,P]),V=a.useCallback(e=>{let t=e.target.files;t&&(K(Array.from(t)),e.target.value="")},[K]),J=a.useCallback(e=>{var t;e.preventDefault(),e.stopPropagation(),L(!1),c||K(Array.from(null!=(t=e.dataTransfer.files)?t:[]))},[K,c]);return(0,t.jsxs)("div",{className:(0,r.cn)("flex min-h-0 w-full flex-col gap-3",w),children:[(0,t.jsx)("input",{ref:U,id:T,type:"file",hidden:!0,accept:o,multiple:d,disabled:c,onChange:V}),(0,t.jsxs)("label",{htmlFor:T,onDragOver:e=>{e.preventDefault(),c||L(!0)},onDragLeave:e=>{e.preventDefault(),L(!1)},onDrop:J,className:(0,r.cn)("flex min-h-[124px] cursor-pointer flex-col items-center justify-center gap-1 rounded-lg border border-dashed border-[var(--ds-color-border-default)] px-4 py-6 text-center transition-colors hover:border-[var(--ds-color-border-hover)] hover:bg-[var(--ds-color-surface-main-tint)]",D&&"bg-[var(--ds-color-accent)]/5 border-[var(--ds-color-accent)]",c&&"cursor-not-allowed opacity-60"),children:[(0,t.jsx)(l.default,{name:"Upload",size:20,className:"text-[var(--ds-muted)]"}),(0,t.jsx)("div",{className:"text-[var(--ds-text)]",children:j}),(0,t.jsx)("div",{className:"text-[var(--ds-muted)]",children:k})]}),z.length?(0,t.jsx)("div",{className:"space-y-2",children:z.map(e=>(0,t.jsx)("div",{className:"rounded-md border border-[var(--ds-color-border-default)] p-2.5",children:(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("div",{className:"truncate text-[var(--ds-text)]",children:e.file.name}),(0,t.jsx)("div",{className:"text-[var(--ds-muted)]",children:n(e.file.size)}),e.previewUrl?(0,t.jsx)("img",{src:e.previewUrl,alt:e.file.name,className:"mt-2 h-14 w-14 rounded object-cover"}):null,"uploading"===e.status||"retrying"===e.status?(0,t.jsx)("div",{className:"mt-2 h-1.5 w-full overflow-hidden rounded bg-[var(--ds-color-surface-main-tint)]",children:(0,t.jsx)("div",{className:"h-full bg-[var(--ds-color-accent)] transition-all",style:{width:"".concat(e.progress,"%")}})}):null,"error"===e.status?(0,t.jsx)("div",{className:"mt-1 text-[var(--ds-danger)]",children:e.error||"上传失败"}):null]}),y?null:(0,t.jsxs)("div",{className:"flex items-center gap-1",children:["success"===e.status?(0,t.jsx)(l.default,{name:"CheckCircle2",size:16,className:"text-[var(--ds-color-accent)]"}):null,"selected"===e.status||"error"===e.status?(0,t.jsxs)(s.Button,{type:"button",size:"sm",variant:"outline",disabled:c,onClick:()=>P(e.id),children:["error"===e.status?(0,t.jsx)(l.default,{name:"RefreshCw",size:14,className:"mr-1"}):null,"error"===e.status?"重试":"上传"]}):null,"uploading"===e.status||"retrying"===e.status?(0,t.jsxs)(s.Button,{type:"button",size:"sm",variant:"outline",onClick:()=>F(e.id),children:[(0,t.jsx)(l.default,{name:"XCircle",size:14,className:"mr-1"}),"取消"]}):null]})]})},e.id))}):null,!y&&!m&&z.some(e=>"selected"===e.status||"error"===e.status)?(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)(s.Button,{type:"button",size:"sm",onClick:H,disabled:c,children:"上传"})}):null]})}var o=e.i(65486),c=e.i(18805),d=e.i(61293);function u(e){let{open:l,onOpenChange:r,title:n,description:u,uploadUrl:m,resetKey:p}=e,[f,x]=(0,a.useState)(!1),[h,b]=(0,a.useState)(null),g=(0,a.useCallback)(()=>{r(!1),b(null)},[r]),v=(0,a.useCallback)(async()=>{if(!h)return void c.appToast.info("请先选择 zip 文件");let e=new FormData;e.append("file",h),x(!0);try{let t=await (0,d.bridgeFetch)(m,{method:"POST",body:e}),a=Number(t.imported||0),l=Number(t.overwritten||0),r=Array.isArray(t.rejected)?t.rejected.length:0;c.appToast.success("导入完成:导入 ".concat(a,",覆盖 ").concat(l)+(r>0?",拒绝 ".concat(r):"")),g()}catch(e){c.appToast.error("导入失败:".concat(e instanceof Error?e.message:String(e)))}finally{x(!1)}},[g,h,m]);return(0,t.jsx)(o.Dialog,{open:l,onOpenChange:e=>{r(e),e||b(null)},children:(0,t.jsxs)(o.DialogContent,{className:"flex min-h-[320px] max-w-[560px] flex-col",children:[(0,t.jsxs)(o.DialogHeader,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(o.DialogTitle,{children:n}),(0,t.jsx)(o.DialogDescription,{children:u})]}),(0,t.jsx)(o.DialogClose,{className:"sidebar-icon-btn","aria-label":"关闭",onClick:g,children:"✕"})]}),(0,t.jsxs)("div",{className:"m-3 flex flex-1 flex-col gap-3",children:[(0,t.jsx)(i,{uploadUrl:m,accept:".zip,application/zip",maxFileSize:0x3200000,multiple:!1,disabled:f,selectionOnly:!0,emptyTitle:"点击或拖拽 zip 文件到此处",emptyHint:"支持 .zip 格式,最大 50MB",onFilesChange:e=>{var t,a;b(null!=(a=null==(t=e[0])?void 0:t.file)?a:null)},onValidationError:e=>{c.appToast.info(e)}},"".concat(l?"open":"closed","-").concat(null!=p?p:m)),(0,t.jsxs)("div",{className:"mt-auto flex justify-end pt-2",children:[(0,t.jsx)(s.Button,{className:"mr-[12px]",type:"button",variant:"plain-outline",size:"lg",onClick:g,children:"取消"}),(0,t.jsx)(s.Button,{type:"button",size:"lg",variant:"default",disabled:f||null==h,onClick:()=>void v(),children:f?"导入中…":"确定"})]})]})]})})}},57424,e=>{"use strict";e.s(["SkillsManageView",()=>B],57424);var t=e.i(59992),a=e.i(65765),l=e.i(49377),r=e.i(36763),s=e.i(18805),n=e.i(41995),i=e.i(72099),o=e.i(92369),c=e.i(87655),d=e.i(13014),u=e.i(55105),m=e.i(96745);function p(e){let{className:a,...l}=e;return(0,t.jsx)("nav",{role:"navigation","aria-label":"pagination","data-slot":"pagination",className:(0,m.cn)("flex w-full justify-end",a),...l})}let f=a.forwardRef((e,a)=>{let{className:l,...r}=e;return(0,t.jsx)("ul",{ref:a,"data-slot":"pagination-content",className:(0,m.cn)("flex flex-row flex-wrap items-center justify-end gap-1",l),...r})});f.displayName="PaginationContent";let x=a.forwardRef((e,a)=>{let{className:l,...r}=e;return(0,t.jsx)("li",{ref:a,"data-slot":"pagination-item",className:(0,m.cn)("",l),...r})});x.displayName="PaginationItem",a.forwardRef((e,a)=>{let{className:l,isActive:r,size:s="icon",...n}=e;return(0,t.jsx)("a",{ref:a,"aria-current":r?"page":void 0,"data-slot":"pagination-link","data-active":r?"true":void 0,className:(0,m.cn)((0,o.buttonVariants)({variant:r?"outline":"ghost",size:s}),l),...n})}).displayName="PaginationLink";var h=e.i(99329),b=e.i(84081);function g(e){let{active:l,wsUrl:r,apiBase:n,agent:i,onAfterInstall:m,className:g}=e,[v,y]=(0,a.useState)(""),[w,j]=(0,a.useState)(1),[k,C]=(0,a.useState)(0),[N,S]=(0,a.useState)([]),[R,T]=(0,a.useState)(!1),[U,M]=(0,a.useState)({}),A=(0,a.useRef)(0),B=(0,a.useCallback)(async()=>{let e=++A.current;T(!0);try{let t=await (0,h.listCloudSkillCatalog)(r,n,i,v,w,10);if(e!==A.current)return;let a=Array.isArray(t.items)?t.items:[],l=[];for(let e of a)e&&"object"==typeof e&&e.id&&l.push({id:String(e.id),title:String(e.title||""),skillName:String(e.skillName||""),description:"string"==typeof e.description?e.description:"",installed:!!e.installed});S(l),C(t.totalPages)}catch(t){if(e!==A.current)return;S([]),C(0)}finally{e===A.current&&T(!1)}},[r,n,i,v,w]);(0,a.useEffect)(()=>{if(!l){y(""),j(1),C(0),S([]),M({}),A.current+=1;return}B()},[l,B]);let D=(0,a.useCallback)(async(e,t)=>{M(t=>({...t,[e]:!0}));try{await (0,h.installCloudSkill)(r,n,i,e),s.appToast.success("云端技能已安装:".concat(t)),await B(),null==m||m()}catch(e){s.appToast.error("安装失败:".concat(e instanceof Error?e.message:String(e)))}finally{M(t=>{let a={...t};return delete a[e],a})}},[r,n,i,B,m]),L=(0,a.useCallback)(e=>{j(1),y(e)},[]);if(!l)return null;let z=k>0?"第 ".concat(w,"/").concat(k," 页"):"第 0/0 页",E=R||w<=1,I=R||k<=0||w>=k,O=[{key:"name",title:"名称",headerClassName:"",cellClassName:" text-[var(--ds-text)]",render:e=>{let a=e.skillName||e.id;return(0,t.jsx)("span",{className:"inline-flex items-center gap-2",children:(0,t.jsx)("span",{children:a})})}},{key:"description",title:"详情",headerClassName:"",cellClassName:" text-[var(--ds-text)]",render:e=>(0,t.jsxs)(t.Fragment,{children:[e.title,e.description?" — ".concat(e.description):""]})},{key:"status",title:"状态",headerClassName:"",cellClassName:"whitespace-nowrap text-[var(--ds-text)]",render:e=>e.installed?"已安装":"未安装"},{key:"actions",title:"操作",headerClassName:"w-[96px] text-right ",cellClassName:"w-[116px] text-right",render:e=>{let a=!!U[e.id],l=!!e.installed;return!a&&l?"-":(0,t.jsx)(o.Button,{type:"button",size:"sm",variant:"outline",disabled:a||l,onClick:()=>void D(e.id,e.title||e.skillName||e.id),children:a?"安装中…":l?"已安装":"安装"})}}];return(0,t.jsx)("div",{className:g,children:(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsxs)("div",{className:"relative max-w-md",children:[(0,t.jsx)(u.Input,{type:"search",value:v,onChange:e=>L(e.target.value),placeholder:"搜索名称 / 详情",className:"h-8 pl-8","aria-label":"搜索已安装 Skill"}),(0,t.jsx)(c.default,{name:"Search",size:16,className:"pointer-events-none absolute left-2.5 top-1/2 size-4 -translate-y-1/2 text-[var(--ds-muted)]","aria-hidden":!0})]}),(0,t.jsx)(d.AppTable,{rows:N,columns:O,getRowKey:e=>e.id,className:"min-h-0 flex-1 rounded-md",bodyProps:{viewportPaginationReserve:64},emptyNode:R?(0,t.jsx)(b.Loading,{text:"加载中…",className:"min-h-[200px]"}):void 0}),(0,t.jsx)(p,{className:"mx-0 w-full",children:(0,t.jsxs)(f,{className:"w-full flex-wrap justify-end gap-2",children:[(0,t.jsx)(x,{children:(0,t.jsxs)(o.Button,{type:"button",variant:"outline",size:"sm",disabled:E,className:"gap-1",onClick:()=>j(e=>Math.max(1,e-1)),"aria-label":"上一页",children:[(0,t.jsx)(c.default,{name:"ChevronLeft",size:16,className:"shrink-0"}),"上一页"]})}),(0,t.jsx)(x,{children:(0,t.jsx)("span",{className:"flex h-9 min-w-[6.5rem] items-center justify-center text-[var(--ds-muted)]",children:z})}),(0,t.jsx)(x,{children:(0,t.jsxs)(o.Button,{type:"button",variant:"outline",size:"sm",disabled:I,className:"gap-1",onClick:()=>j(e=>e+1),"aria-label":"下一页",children:["下一页",(0,t.jsx)(c.default,{name:"ChevronRight",size:16,className:"shrink-0",strokeWidth:1})]})})]})})]})})}var v=e.i(10602),y=e.i(84919);function w(e){let{open:a,onOpenChange:l,wsUrl:r,apiBase:s,agent:n}=e;return(0,t.jsx)(y.ResourceImportDialog,{open:a,onOpenChange:l,title:"导入 Skill zip",description:"选择一个 zip 文件并导入到 skills-runtime。",uploadUrl:(0,v.buildSkillsRuntimeImportUrl)(r,s,n),resetKey:n})}var j=e.i(40751);function k(e){let{open:l,onOpenChange:r,skillName:n,wsUrl:i,apiBase:c,agent:d,onSaved:u}=e,[m,p]=(0,a.useState)(""),[f,x]=(0,a.useState)(!1),[b,g]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(!l||!n.trim())return;let e=!1;return x(!0),p(""),(0,h.loadBaseSkillMd)(i,c,d,n).then(t=>{e||p("string"==typeof t.content?t.content:"")}).catch(t=>{e||(s.appToast.error("加载 SKILL.md 失败:".concat(t instanceof Error?t.message:String(t))),r(!1))}).finally(()=>{e||x(!1)}),()=>{e=!0}},[l,n,i,c,d,r]);let v=(0,a.useCallback)(async()=>{if(n.trim()){g(!0);try{await (0,h.saveBaseSkillMd)(i,c,d,n,m),s.appToast.success("SKILL.md 已保存"),r(!1),null==u||u()}catch(e){s.appToast.error("保存失败:".concat(e instanceof Error?e.message:String(e)))}finally{g(!1)}}},[n,i,c,d,m,r,u]);return(0,t.jsx)(j.AppDialog,{open:l,onOpenChange:r,title:"编辑 SKILL.md · /".concat(n),width:"max-w-4xl",minHeight:"420px",footer:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.Button,{type:"button",variant:"plain-outline",size:"lg",disabled:f||b,onClick:()=>r(!1),children:"取消"}),(0,t.jsx)(o.Button,{type:"button",size:"lg",disabled:f||b,onClick:()=>void v(),children:"保存"})]}),children:f?(0,t.jsx)("p",{className:"py-6 text-center text-[var(--ds-muted)]",children:"加载中…"}):(0,t.jsx)("textarea",{className:"focus-visible:ring-[var(--ds-color-accent)]/30 min-h-[320px] w-full resize-y rounded-md border border-[var(--ds-color-border-default)] bg-[var(--ds-color-surface-default)] p-3 leading-6 text-[var(--ds-text)] outline-none focus-visible:ring-2",spellCheck:!1,value:m,placeholder:"Markdown 源码…",onChange:e=>p(e.target.value)})})}var C=e.i(96214),N=e.i(85941),S=e.i(78678);function R(e){let{items:l,saveBusy:r,onToggleEnabled:s,onEditBase:n,onExport:i,onRemove:o,className:m}=e,[p,f]=(0,a.useState)(""),x=(0,a.useMemo)(()=>l.filter(e=>(function(e,t){var a;let l=t.trim().toLowerCase();return!l||"".concat(e.name," ").concat(null!=(a=e.description)?a:"").toLowerCase().includes(l)})(e,p)),[l,p]),h=[{key:"name",title:"名称",headerClassName:"",cellClassName:"",render:e=>(0,t.jsxs)("span",{className:"inline-flex items-center gap-2",children:[(0,t.jsx)("span",{children:"/".concat(e.name)}),(0,t.jsx)(S.StatusBadge,{tone:e.enabled?"success":"default",children:e.enabled?"启用":"未启用"})]})},{key:"description",title:"详情",headerClassName:"",cellClassName:"",render:e=>e.description||"-"},{key:"status",title:"状态",headerClassName:"w-[160px] ",cellClassName:"w-[160px] text-[var(--ds-text)]",render:e=>"base"===e.source?"基础":"已安装"},{key:"enabled",title:"启用/未启用",headerClassName:"w-[160px] text-right ",cellClassName:"w-[160px] py-2 text-right align-middle",render:e=>(0,t.jsx)("span",{className:"inline-flex items-center justify-end gap-2",children:(0,t.jsx)(C.AccentSwitch,{checked:e.enabled,disabled:r,onCheckedChange:t=>s(e.name,t),"aria-label":"".concat(e.enabled?"禁用":"启用"," ").concat(e.name)})})},{key:"actions",title:"操作",headerClassName:"w-[128px] ",cellClassName:"w-[128px]",render:e=>(0,t.jsx)("div",{className:"inline-flex items-center justify-end gap-1",children:"base"===e.source?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(N.IconTooltipButton,{icon:"Edit",label:"编辑",ariaLabel:"编辑 ".concat(e.name),disabled:r,onClick:()=>n(e.name)}),(0,t.jsx)(N.IconTooltipButton,{icon:"Trash2",label:"系统技能不可删除",tone:"danger",ariaLabel:"删除 ".concat(e.name),disabled:!0})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(N.IconTooltipButton,{icon:"Download",label:"导出",ariaLabel:"导出 ".concat(e.name),disabled:r,onClick:()=>i(e.name)}),(0,t.jsx)(N.IconTooltipButton,{icon:"Trash2",label:"删除",tone:"danger",ariaLabel:"删除 ".concat(e.name),disabled:r,onClick:()=>{o(e.name)}})]})})}],b=p.trim();return(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsxs)("div",{className:"relative max-w-md",children:[(0,t.jsx)(u.Input,{type:"search",value:p,onChange:e=>f(e.target.value),placeholder:"搜索名称 / 详情",className:"h-8 pl-8","aria-label":"搜索已安装 Skill"}),(0,t.jsx)(c.default,{name:"Search",size:16,className:"pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-[var(--ds-muted)]"})]}),(0,t.jsx)(d.AppTable,{rows:x,columns:h,getRowKey:e=>"skills:".concat(e.name),className:m,emptyText:b?"无匹配的 Skill":void 0})]})}var T=e.i(28661),U=e.i(15692);function M(e,t){var a,l,r;let s=(r=null!=(l=null!=(a=e.description)?a:e.whenToUse)?l:"")?r.length>100?r.slice(0,100):r:"";return{...e,id:e.name,label:"/".concat(e.name),description:s,isRuntime:t,canManage:e.canManage}}let A=[{value:"installed",label:"已安装Skill"},{value:"cloud_catalog",label:"Skill商店"}];function B(){let e=(0,l.useAppStore)(e=>e.wsUrl),d=(0,l.useAppStore)(e=>e.apiBase),u=(0,l.useAppStore)(e=>e.agentConfig),m=(0,l.useAppStore)(e=>e.patchAgentConfig),{currentAgent:p,loadAgentConfig:f}=(0,r.useSession)(),x=(0,n.usePersistAgentConfigField)("skills"),v=u.skills,[y,j]=(0,a.useState)([]),[C,N]=(0,a.useState)([]),[S,B]=(0,a.useState)(!1),[D,L]=(0,a.useState)(!1),[z,E]=(0,a.useState)(!1),[I,O]=(0,a.useState)("installed"),[_,P]=(0,a.useState)(!1),[F,H]=(0,a.useState)(""),[K,V]=(0,a.useState)(!1);(0,a.useEffect)(()=>{f()},[f]);let J=(0,a.useCallback)(async(e,t)=>{E(!0);try{await x(e,{silent:t})}finally{E(!1)}},[x]),W=(0,a.useCallback)(async()=>{j([]),B(!0);try{var t;let a=await (0,h.listBaseSkills)(e,d,p());j((null!=(t=a.skills)?t:[]).map(e=>M(e,!1)))}catch(e){j([]),s.appToast.error("加载失败:".concat(e instanceof Error?e.message:String(e)))}finally{B(!1)}},[e,d,p]),q=(0,a.useCallback)(async()=>{N([]),L(!0);try{var t;let a=await (0,h.listInstalledSkills)(e,d,p());N((null!=(t=a.skills)?t:[]).map(e=>M(e,!0)))}catch(e){N([]),s.appToast.error("加载失败:".concat(e instanceof Error?e.message:String(e)))}finally{L(!1)}},[e,d,p]),X=(0,a.useCallback)(async()=>{await Promise.all([W(),q()])},[W,q]),G=(0,a.useCallback)(async t=>{if(await (0,T.confirmAlertDialog)({title:"确认删除 Skill 包?",description:"Skill:".concat(t),confirmText:"删除",cancelText:"取消"}))try{await (0,h.deleteRuntimeSkill)(e,d,p(),t);let a=v.filter(e=>e!==t);m({skills:a}),await J(a,!0),await X()}catch(e){s.appToast.error("删除失败:".concat(e instanceof Error?e.message:String(e)))}},[e,d,p,v,m,J,X]);(0,a.useEffect)(()=>{"installed"===I&&X()},[I,X]);let Q=(0,a.useCallback)(()=>{X()},[X]),Y=(0,a.useMemo)(()=>{let e=y.map(e=>({name:e.id,source:"base",description:e.description||"",enabled:v.includes(e.id)})),t=new Set(e.map(e=>e.name)),a=C.filter(e=>!t.has(e.id)).slice().sort((e,t)=>e.label.localeCompare(t.label)).map(e=>({name:e.id,source:"runtime",description:e.description||"",enabled:v.includes(e.id)}));return[...e.sort((e,t)=>e.name.localeCompare(t.name)),...a]},[y,C,v]),Z=(0,a.useCallback)((e,t)=>{let a=t?[...new Set([...v,e])].sort():v.filter(t=>t!==e);m({skills:a}),J(a,!0)},[v,m,J]),$=(0,a.useCallback)(t=>{window.open((0,h.exportRuntimeSkillUrl)(e,d,p(),t),"_blank","noopener")},[e,d,p]),ee=(0,a.useCallback)(e=>{H(e),V(!0)},[]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(U.ManageChromeHeaderActions,{children:(0,t.jsxs)(o.Button,{id:"btnAgentImportSkill",type:"button",variant:"plain-outline",size:"lg",className:"inline-flex items-center justify-center gap-1.5",onClick:()=>P(!0),children:[(0,t.jsx)(c.default,{name:"Import",size:16,className:"align-middle"}),"导入Skill"]})}),(0,t.jsxs)(i.AppTabs,{tabs:A,value:I,listVariant:"line",onChange:e=>O(e),children:[(0,t.jsx)(i.AppTabsPanel,{value:"installed",children:S||D?(0,t.jsx)(b.Loading,{text:"加载中…",className:"min-h-[200px]"}):(0,t.jsx)(R,{items:Y,saveBusy:z,onToggleEnabled:Z,onEditBase:ee,onExport:$,onRemove:G})}),(0,t.jsx)(i.AppTabsPanel,{value:"cloud_catalog",className:"flex min-h-0 flex-1 flex-col",children:(0,t.jsx)(g,{active:"cloud_catalog"===I,wsUrl:e,apiBase:d,agent:p(),enabledSkillNames:v,onAfterInstall:Q,className:"min-h-0 flex-1"})})]}),(0,t.jsx)(w,{open:_,onOpenChange:e=>{P(e),e||X()},wsUrl:e,apiBase:d,agent:p()}),(0,t.jsx)(k,{open:K,onOpenChange:V,skillName:F,wsUrl:e,apiBase:d,agent:p(),onSaved:()=>void X()})]})}}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,13014,e=>{"use strict";e.s(["AppTable",()=>u],13014);var t=e.i(59992),a=e.i(26162),l=e.i(65765),r=e.i(96745);let s=l.forwardRef((e,a)=>{let{className:l,...s}=e;return(0,t.jsx)("div",{className:"relative w-full overflow-auto",children:(0,t.jsx)("table",{ref:a,className:(0,r.cn)("w-full caption-bottom border-collapse",l),...s})})});s.displayName="Table";let n=l.forwardRef((e,a)=>{let{className:l,...s}=e;return(0,t.jsx)("thead",{ref:a,className:(0,r.cn)("[&_tr]:table [&_tr]:w-full [&_tr]:table-fixed [&_tr]:border-b",l),...s})});n.displayName="TableHeader";let i=l.forwardRef((e,a)=>{let{className:s,viewportFit:n=!0,viewportReserveBottom:i=16,viewportPaginationReserve:o=0,style:c,...d}=e,u=l.useRef(null),m=l.useCallback(e=>{u.current=e,"function"==typeof a?a(e):a&&(a.current=e)},[a]),[p,f]=l.useState(void 0);return l.useLayoutEffect(()=>{var e,t;if(!n)return void f(void 0);let a=()=>{var e,t;let a=u.current;if(!a)return;let l=a.getBoundingClientRect().top;f(Math.max(80,Math.floor((null!=(t=null==(e=window.visualViewport)?void 0:e.height)?t:window.innerHeight)-l-(i+o))))};a();let l=new ResizeObserver(()=>{a()});try{l.observe(document.body)}catch(e){}return window.addEventListener("resize",a),null==(e=window.visualViewport)||e.addEventListener("resize",a),null==(t=window.visualViewport)||t.addEventListener("scroll",a),window.addEventListener("scroll",a,!0),()=>{var e,t;l.disconnect(),window.removeEventListener("resize",a),null==(e=window.visualViewport)||e.removeEventListener("resize",a),null==(t=window.visualViewport)||t.removeEventListener("scroll",a),window.removeEventListener("scroll",a,!0)}},[n,i,o]),(0,t.jsx)("tbody",{ref:m,className:(0,r.cn)("block overflow-y-auto [&_tr:last-child]:border-b-0 [&_tr:last-child_td]:border-b-0 [&_tr]:table [&_tr]:w-full [&_tr]:table-fixed",s),style:n&&void 0!==p?{...c,maxHeight:p}:c,...d})});i.displayName="TableBody";let o=l.forwardRef((e,a)=>{let{className:l,hoverable:s=!0,...n}=e;return(0,t.jsx)("tr",{ref:a,className:(0,r.cn)("border-b transition-colors [&>td]:transition-colors data-[state=selected]:[&>td]:!bg-[var(--ds-color-surface-item-active)]",s&&"group/table-row",l),...n})});o.displayName="TableRow";let c=l.forwardRef((e,a)=>{let{className:l,...s}=e;return(0,t.jsx)("th",{ref:a,className:(0,r.cn)("h-10 border-b border-[var(--ds-color-border-subtle)] bg-[var(--surface-2)] px-3 text-left align-middle text-[14px] font-medium !text-[var(--ds-text)] text-muted-foreground",l),...s})});c.displayName="TableHead";let d=l.forwardRef((e,a)=>{let{className:l,...s}=e;return(0,t.jsx)("td",{ref:a,className:(0,r.cn)("border-x-0 border-b border-t-0 border-solid border-[var(--ds-color-border-subtle)] p-3 align-middle transition-colors group-has-[td:hover]/table-row:!bg-[var(--ds-color-surface-item-hover)]",l),...s})});function u(e){let{rows:l,columns:u,getRowKey:m,className:p,rowClassName:f,headerRowClassName:x,emptyText:h,emptyNode:b,bodyProps:g}=e;return(0,t.jsx)("div",{className:(0,r.cn)("overflow-hidden border border-[var(--ds-color-border-default)]",p),children:(0,t.jsxs)(s,{children:[(0,t.jsx)(n,{children:(0,t.jsx)(o,{className:(0,r.cn)("bg-[var(--ds-color-surface-main-tint)] hover:bg-[var(--ds-color-surface-main-tint)]",x),children:u.map(e=>(0,t.jsx)(c,{className:e.headerClassName,children:e.title},e.key))})}),(0,t.jsx)(i,{...g,children:l.length?l.map(e=>(0,t.jsx)(o,{className:"function"==typeof f?f(e):f,children:u.map(a=>(0,t.jsx)(d,{className:a.cellClassName,children:a.render(e)},a.key))},m(e))):(0,t.jsx)(o,{hoverable:!1,children:(0,t.jsx)(d,{colSpan:u.length,className:"py-6",children:null!=b?b:(0,t.jsx)(a.Empty,{text:h})})})})]})})}d.displayName="TableCell"},99329,e=>{"use strict";e.s(["clearRuntimeMcpItemConfig",()=>w,"deleteRuntimeMcp",()=>m,"deleteRuntimeSkill",()=>j,"deleteRuntimeTool",()=>u,"exportRuntimeMcpUrl",()=>f,"exportRuntimeSkillUrl",()=>k,"exportRuntimeToolUrl",()=>p,"importRuntimeMcp",()=>h,"importRuntimeTool",()=>x,"installCloudSkill",()=>N,"listBaseSkills",()=>s,"listCloudSkillCatalog",()=>C,"listInstalledSkills",()=>n,"listInstalledTools",()=>r,"listMcpServers",()=>l,"listRuntimeMcpPackages",()=>d,"listRuntimeTools",()=>c,"loadBaseSkillMd",()=>i,"loadRemoteMcpJson",()=>b,"loadRuntimeMcpItemConfig",()=>v,"saveBaseSkillMd",()=>o,"saveRemoteMcpJson",()=>g,"saveRuntimeMcpItemConfig",()=>y]);var t=e.i(61293),a=e.i(10602);async function l(e,l,r){let s=await (0,t.get)((0,a.buildMcpServersListUrl)(e,l,r));return{servers:Array.isArray(s.servers)?s.servers:[]}}async function r(e,l,r){let s=await (0,t.get)((0,a.buildToolInstalledListUrl)(e,l,r));return{tools:Array.isArray(s.tools)?s.tools:[]}}async function s(e,l,r){let s=await (0,t.get)((0,a.buildSkillBaseListUrl)(e,l,r));return{skills:Array.isArray(s.skills)?s.skills:[]}}async function n(e,l,r){let s=await (0,t.get)((0,a.buildSkillInstalledListUrl)(e,l,r));return{skills:Array.isArray(s.skills)?s.skills:[]}}async function i(e,l,r,s){return(0,t.get)((0,a.buildBaseSkillMdUrl)(e,l,r,s))}async function o(e,l,r,s,n){await (0,t.put)((0,a.buildBaseSkillMdUrl)(e,l,r,s),{content:n})}async function c(e,l,r){let s=await (0,t.get)((0,a.buildToolsRuntimeFilesUrl)(e,l,r));return{runtimeToolsDir:"string"==typeof s.runtimeToolsDir?s.runtimeToolsDir:"",items:Array.isArray(s.items)?s.items.filter(e=>!!(e&&e.id)):[]}}async function d(e,l,r){let s=await (0,t.get)((0,a.buildMcpRuntimeFilesUrl)(e,l,r));return{mcpRuntimeDir:"string"==typeof s.mcpRuntimeDir?s.mcpRuntimeDir:"",items:Array.isArray(s.items)?s.items.filter(e=>!!(e&&e.id)):[]}}async function u(e,l,r,s){return(0,t.del)((0,a.buildToolsRuntimeDeleteUrl)(e,l,r,s))}async function m(e,l,r,s){return(0,t.del)((0,a.buildMcpRuntimeDeleteUrl)(e,l,r,s))}function p(e,t,l,r){return(0,a.buildToolsRuntimeExportUrl)(e,t,l,r)}function f(e,t,l,r){return(0,a.buildMcpRuntimeExportUrl)(e,t,l,r)}async function x(e,l,r,s){let n=new FormData;return n.append("file",s),(0,t.post)((0,a.buildToolsRuntimeImportUrl)(e,l,r),n,{type:"file"})}async function h(e,l,r,s){let n=new FormData;return n.append("file",s),(0,t.post)((0,a.buildMcpRuntimeImportUrl)(e,l,r),n,{type:"file"})}async function b(e,l,r){return(0,t.get)((0,a.buildRemoteMcpJsonUrl)(e,l,r))}async function g(e,l,r,s){await (0,t.post)((0,a.buildRemoteMcpJsonUrl)(e,l,r),{content:s})}async function v(e,l,r,s,n){return(0,t.get)((0,a.buildRuntimeMcpItemConfigUrl)(e,l,r,s,n))}async function y(e,l,r,s,n,i){await (0,t.put)((0,a.buildRuntimeMcpItemConfigUrl)(e,l,r,s,n),{server:i})}async function w(e,l,r,s,n){await (0,t.del)((0,a.buildRuntimeMcpItemConfigUrl)(e,l,r,s,n))}async function j(e,l,r,s){return(0,t.del)((0,a.buildSkillsRuntimeDeleteUrl)(e,l,r,s))}function k(e,t,l,r){return(0,a.buildSkillsRuntimeExportUrl)(e,t,l,r)}async function C(e,l,r,s,n,i){let o=await (0,t.get)((0,a.buildCloudSkillCatalogUrl)(e,l,r,s,n,i));return{items:Array.isArray(o.items)?o.items:[],totalPages:Number(o.totalPages||0)}}async function N(e,l,r,s){await (0,t.post)((0,a.buildCloudSkillInstallUrl)(e,l,r),{id:s})}},40751,e=>{"use strict";e.s(["AppDialog",()=>s]);var t=e.i(59992),a=e.i(65765),l=e.i(65486),r=e.i(96745);function s(e){let{open:s,onOpenChange:n,title:i,children:o,footer:c,width:d="max-w-3xl",minHeight:u}=e,m=(0,a.useId)();return(0,t.jsx)(l.Dialog,{open:s,onOpenChange:n,children:(0,t.jsxs)(l.DialogContent,{"aria-labelledby":m,className:(0,r.cn)(d,u?"!min-h-[--min-h]":""),style:u?{"--min-h":u}:void 0,children:[(0,t.jsxs)(l.DialogHeader,{children:[(0,t.jsx)(l.DialogTitle,{id:m,children:i}),(0,t.jsx)(l.DialogClose,{"aria-label":"关闭"})]}),(0,t.jsx)(l.DialogBody,{className:"!px-4 !py-3",children:o}),c?(0,t.jsx)("div",{className:"flex flex-shrink-0 justify-end gap-2 border-t border-[var(--ds-color-border-default)] bg-[var(--ds-color-surface-sidebar)] px-4 py-3",children:c}):null]})})}},84919,e=>{"use strict";e.s(["ResourceImportDialog",()=>u],84919);var t=e.i(59992),a=e.i(65765),l=e.i(87655),r=e.i(96745),s=e.i(92369);function n(e){return e<1024?"".concat(e," B"):e<1048576?"".concat((e/1024).toFixed(1)," KB"):"".concat((e/1048576).toFixed(1)," MB")}function i(e){let{uploadUrl:i,accept:o,disabled:c=!1,multiple:d=!1,maxFileSize:u=0x3200000,autoUpload:m=!1,method:p="POST",transport:f="xhr",fieldName:x="file",headers:h,extraFormData:b,autoRetryTimes:g=0,autoRetryDelayMs:v=800,selectionOnly:y=!1,className:w,emptyTitle:j="点击或拖拽文件到此处",emptyHint:k="支持上传文件",onFilesChange:C,onUploadSuccess:N,onUploadError:S,onValidationError:R}=e,T=a.useId(),U=a.useRef(null),M=a.useRef(new Map),A=a.useRef(new Map),B=a.useRef([]),[D,L]=a.useState(!1),[z,E]=a.useState([]),I=a.useMemo(()=>o?o.split(",").map(e=>e.trim().toLowerCase()).filter(Boolean):[],[o]);a.useEffect(()=>{B.current=z,null==C||C(z)},[z,C]),a.useEffect(()=>()=>{for(let e of M.current.values())e.abort();for(let e of A.current.values())e.abort();for(let e of B.current)e.previewUrl&&URL.revokeObjectURL(e.previewUrl)},[]);let O=a.useCallback((e,t)=>{E(a=>a.map(a=>a.id===e?{...a,...t}:a))},[]),_=a.useCallback(async(e,t)=>{let a=B.current.find(t=>t.id===e);if(!a||c)return;O(e,{status:t>0?"retrying":"uploading",progress:0,error:"",retryCount:t});let l=new FormData;if(b)for(let[e,t]of Object.entries(b))l.append(e,t);l.append(x,a.file);try{let t="";if("fetch"===f){let a=new AbortController;A.current.set(e,a);let r=await fetch(i,{method:p,headers:h,body:l,signal:a.signal}),s=await r.text();try{t=s?JSON.parse(s):""}catch(e){t=s}if(!r.ok)throw Error("上传失败:".concat(r.status," ").concat(r.statusText))}else t=await new Promise((t,a)=>{let r=new XMLHttpRequest;if(M.current.set(e,r),r.open(p,i,!0),h)for(let[e,t]of Object.entries(h))r.setRequestHeader(e,t);r.upload.onprogress=t=>{if(!t.lengthComputable)return;let a=Math.min(100,Math.round(t.loaded/t.total*100));O(e,{progress:a})},r.onerror=()=>a(Error("网络异常,上传失败")),r.onabort=()=>a(Error("__ABORTED__")),r.onload=()=>{r.status>=200&&r.status<300?t(function(e){let t=e.responseText||"";try{return JSON.parse(t)}catch(e){return t}}(r)):a(Error("上传失败:".concat(r.status," ").concat(r.statusText)))},r.send(l)});O(e,{status:"success",progress:100,error:""});let a=B.current.find(t=>t.id===e);a&&(null==N||N(a,t))}catch(r){let a=r instanceof Error?r.message:String(r);if("__ABORTED__"===a)return void O(e,{status:"selected",progress:0,error:""});if(t<g){O(e,{status:"retrying",error:"重试中(".concat(t+1,"/").concat(g,")")}),await new Promise(e=>window.setTimeout(e,v)),await _(e,t+1);return}O(e,{status:"error",error:a});let l=B.current.find(t=>t.id===e);l&&(null==S||S(l,a))}finally{M.current.delete(e),A.current.delete(e)}},[v,g,c,b,x,h,p,S,N,f,O,i]),P=a.useCallback(e=>{_(e,0)},[_]),F=a.useCallback(e=>{var t,a;null==(t=M.current.get(e))||t.abort(),null==(a=A.current.get(e))||a.abort()},[]),H=a.useCallback(()=>{for(let e of B.current)("selected"===e.status||"error"===e.status)&&P(e.id)},[P]),K=a.useCallback(e=>{if(c||!e.length)return;let t=new Set(B.current.map(e=>"".concat(e.file.name,"::").concat(e.file.size))),a=[];for(let l of e){let e="".concat(l.name,"::").concat(l.size);if(!t.has(e)){if(!function(e,t){if(!t.length)return!0;let a=e.name.toLowerCase(),l=(e.type||"").toLowerCase();return t.some(e=>e.startsWith(".")?a.endsWith(e):e.endsWith("/*")?l.startsWith("".concat(e.slice(0,-1))):l===e)}(l,I)){null==R||R("文件类型不支持:".concat(l.name));continue}if(l.size>u){null==R||R("文件过大(最大 ".concat(n(u),"):").concat(l.name));continue}t.add(e),a.push({id:"".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2,8)),file:l,status:"selected",progress:0,error:"",retryCount:0,previewUrl:l.type.startsWith("image/")?URL.createObjectURL(l):""})}}if(!a.length)return;let l=d?[...B.current,...a]:[a[a.length-1]];if(!d)for(let e of B.current)e.previewUrl&&URL.revokeObjectURL(e.previewUrl);if(E(l),m&&!y)for(let e of a)P(e.id)},[I,m,c,u,d,R,y,P]),V=a.useCallback(e=>{let t=e.target.files;t&&(K(Array.from(t)),e.target.value="")},[K]),J=a.useCallback(e=>{var t;e.preventDefault(),e.stopPropagation(),L(!1),c||K(Array.from(null!=(t=e.dataTransfer.files)?t:[]))},[K,c]);return(0,t.jsxs)("div",{className:(0,r.cn)("flex min-h-0 w-full flex-col gap-3",w),children:[(0,t.jsx)("input",{ref:U,id:T,type:"file",hidden:!0,accept:o,multiple:d,disabled:c,onChange:V}),(0,t.jsxs)("label",{htmlFor:T,onDragOver:e=>{e.preventDefault(),c||L(!0)},onDragLeave:e=>{e.preventDefault(),L(!1)},onDrop:J,className:(0,r.cn)("flex min-h-[124px] cursor-pointer flex-col items-center justify-center gap-1 rounded-lg border border-dashed border-[var(--ds-color-border-default)] px-4 py-6 text-center transition-colors hover:border-[var(--ds-color-border-hover)] hover:bg-[var(--ds-color-surface-main-tint)]",D&&"bg-[var(--ds-color-accent)]/5 border-[var(--ds-color-accent)]",c&&"cursor-not-allowed opacity-60"),children:[(0,t.jsx)(l.default,{name:"Upload",size:20,className:"text-[var(--ds-muted)]"}),(0,t.jsx)("div",{className:"text-[var(--ds-text)]",children:j}),(0,t.jsx)("div",{className:"text-[var(--ds-muted)]",children:k})]}),z.length?(0,t.jsx)("div",{className:"space-y-2",children:z.map(e=>(0,t.jsx)("div",{className:"rounded-md border border-[var(--ds-color-border-default)] p-2.5",children:(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("div",{className:"truncate text-[var(--ds-text)]",children:e.file.name}),(0,t.jsx)("div",{className:"text-[var(--ds-muted)]",children:n(e.file.size)}),e.previewUrl?(0,t.jsx)("img",{src:e.previewUrl,alt:e.file.name,className:"mt-2 h-14 w-14 rounded object-cover"}):null,"uploading"===e.status||"retrying"===e.status?(0,t.jsx)("div",{className:"mt-2 h-1.5 w-full overflow-hidden rounded bg-[var(--ds-color-surface-main-tint)]",children:(0,t.jsx)("div",{className:"h-full bg-[var(--ds-color-accent)] transition-all",style:{width:"".concat(e.progress,"%")}})}):null,"error"===e.status?(0,t.jsx)("div",{className:"mt-1 text-[var(--ds-danger)]",children:e.error||"上传失败"}):null]}),y?null:(0,t.jsxs)("div",{className:"flex items-center gap-1",children:["success"===e.status?(0,t.jsx)(l.default,{name:"CheckCircle2",size:16,className:"text-[var(--ds-color-accent)]"}):null,"selected"===e.status||"error"===e.status?(0,t.jsxs)(s.Button,{type:"button",size:"sm",variant:"outline",disabled:c,onClick:()=>P(e.id),children:["error"===e.status?(0,t.jsx)(l.default,{name:"RefreshCw",size:14,className:"mr-1"}):null,"error"===e.status?"重试":"上传"]}):null,"uploading"===e.status||"retrying"===e.status?(0,t.jsxs)(s.Button,{type:"button",size:"sm",variant:"outline",onClick:()=>F(e.id),children:[(0,t.jsx)(l.default,{name:"XCircle",size:14,className:"mr-1"}),"取消"]}):null]})]})},e.id))}):null,!y&&!m&&z.some(e=>"selected"===e.status||"error"===e.status)?(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)(s.Button,{type:"button",size:"sm",onClick:H,disabled:c,children:"上传"})}):null]})}var o=e.i(65486),c=e.i(18805),d=e.i(61293);function u(e){let{open:l,onOpenChange:r,title:n,description:u,uploadUrl:m,resetKey:p}=e,[f,x]=(0,a.useState)(!1),[h,b]=(0,a.useState)(null),g=(0,a.useCallback)(()=>{r(!1),b(null)},[r]),v=(0,a.useCallback)(async()=>{if(!h)return void c.appToast.info("请先选择 zip 文件");let e=new FormData;e.append("file",h),x(!0);try{let t=await (0,d.bridgeFetch)(m,{method:"POST",body:e}),a=Number(t.imported||0),l=Number(t.overwritten||0),r=Array.isArray(t.rejected)?t.rejected.length:0;c.appToast.success("导入完成:导入 ".concat(a,",覆盖 ").concat(l)+(r>0?",拒绝 ".concat(r):"")),g()}catch(e){c.appToast.error("导入失败:".concat(e instanceof Error?e.message:String(e)))}finally{x(!1)}},[g,h,m]);return(0,t.jsx)(o.Dialog,{open:l,onOpenChange:e=>{r(e),e||b(null)},children:(0,t.jsxs)(o.DialogContent,{className:"flex min-h-[320px] max-w-[560px] flex-col",children:[(0,t.jsxs)(o.DialogHeader,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(o.DialogTitle,{children:n}),(0,t.jsx)(o.DialogDescription,{children:u})]}),(0,t.jsx)(o.DialogClose,{className:"sidebar-icon-btn","aria-label":"关闭",onClick:g,children:"✕"})]}),(0,t.jsxs)("div",{className:"m-3 flex flex-1 flex-col gap-3",children:[(0,t.jsx)(i,{uploadUrl:m,accept:".zip,application/zip",maxFileSize:0x3200000,multiple:!1,disabled:f,selectionOnly:!0,emptyTitle:"点击或拖拽 zip 文件到此处",emptyHint:"支持 .zip 格式,最大 50MB",onFilesChange:e=>{var t,a;b(null!=(a=null==(t=e[0])?void 0:t.file)?a:null)},onValidationError:e=>{c.appToast.info(e)}},"".concat(l?"open":"closed","-").concat(null!=p?p:m)),(0,t.jsxs)("div",{className:"mt-auto flex justify-end pt-2",children:[(0,t.jsx)(s.Button,{className:"mr-[12px]",type:"button",variant:"plain-outline",size:"lg",onClick:g,children:"取消"}),(0,t.jsx)(s.Button,{type:"button",size:"lg",variant:"default",disabled:f||null==h,onClick:()=>void v(),children:f?"导入中…":"确定"})]})]})]})})}},90293,e=>{"use strict";e.s(["SkillsManageView",()=>B],90293);var t=e.i(59992),a=e.i(65765),l=e.i(49377),r=e.i(36763),s=e.i(18805),n=e.i(41995),i=e.i(72099),o=e.i(92369),c=e.i(87655),d=e.i(13014),u=e.i(55105),m=e.i(96745);function p(e){let{className:a,...l}=e;return(0,t.jsx)("nav",{role:"navigation","aria-label":"pagination","data-slot":"pagination",className:(0,m.cn)("flex w-full justify-end",a),...l})}let f=a.forwardRef((e,a)=>{let{className:l,...r}=e;return(0,t.jsx)("ul",{ref:a,"data-slot":"pagination-content",className:(0,m.cn)("flex flex-row flex-wrap items-center justify-end gap-1",l),...r})});f.displayName="PaginationContent";let x=a.forwardRef((e,a)=>{let{className:l,...r}=e;return(0,t.jsx)("li",{ref:a,"data-slot":"pagination-item",className:(0,m.cn)("",l),...r})});x.displayName="PaginationItem",a.forwardRef((e,a)=>{let{className:l,isActive:r,size:s="icon",...n}=e;return(0,t.jsx)("a",{ref:a,"aria-current":r?"page":void 0,"data-slot":"pagination-link","data-active":r?"true":void 0,className:(0,m.cn)((0,o.buttonVariants)({variant:r?"outline":"ghost",size:s}),l),...n})}).displayName="PaginationLink";var h=e.i(99329),b=e.i(84081);function g(e){let{active:l,wsUrl:r,apiBase:n,agent:i,onAfterInstall:m,className:g}=e,[v,y]=(0,a.useState)(""),[w,j]=(0,a.useState)(1),[k,C]=(0,a.useState)(0),[N,S]=(0,a.useState)([]),[R,T]=(0,a.useState)(!1),[U,M]=(0,a.useState)({}),A=(0,a.useRef)(0),B=(0,a.useCallback)(async()=>{let e=++A.current;T(!0);try{let t=await (0,h.listCloudSkillCatalog)(r,n,i,v,w,10);if(e!==A.current)return;let a=Array.isArray(t.items)?t.items:[],l=[];for(let e of a)e&&"object"==typeof e&&e.id&&l.push({id:String(e.id),title:String(e.title||""),skillName:String(e.skillName||""),description:"string"==typeof e.description?e.description:"",installed:!!e.installed});S(l),C(t.totalPages)}catch(t){if(e!==A.current)return;S([]),C(0)}finally{e===A.current&&T(!1)}},[r,n,i,v,w]);(0,a.useEffect)(()=>{if(!l){y(""),j(1),C(0),S([]),M({}),A.current+=1;return}B()},[l,B]);let D=(0,a.useCallback)(async(e,t)=>{M(t=>({...t,[e]:!0}));try{await (0,h.installCloudSkill)(r,n,i,e),s.appToast.success("云端技能已安装:".concat(t)),await B(),null==m||m()}catch(e){s.appToast.error("安装失败:".concat(e instanceof Error?e.message:String(e)))}finally{M(t=>{let a={...t};return delete a[e],a})}},[r,n,i,B,m]),L=(0,a.useCallback)(e=>{j(1),y(e)},[]);if(!l)return null;let z=k>0?"第 ".concat(w,"/").concat(k," 页"):"第 0/0 页",E=R||w<=1,I=R||k<=0||w>=k,O=[{key:"name",title:"名称",headerClassName:"",cellClassName:" text-[var(--ds-text)]",render:e=>{let a=e.skillName||e.id;return(0,t.jsx)("span",{className:"inline-flex items-center gap-2",children:(0,t.jsx)("span",{children:a})})}},{key:"description",title:"详情",headerClassName:"",cellClassName:" text-[var(--ds-text)]",render:e=>(0,t.jsxs)(t.Fragment,{children:[e.title,e.description?" — ".concat(e.description):""]})},{key:"status",title:"状态",headerClassName:"",cellClassName:"whitespace-nowrap text-[var(--ds-text)]",render:e=>e.installed?"已安装":"未安装"},{key:"actions",title:"操作",headerClassName:"w-[96px] text-right ",cellClassName:"w-[116px] text-right",render:e=>{let a=!!U[e.id],l=!!e.installed;return!a&&l?"-":(0,t.jsx)(o.Button,{type:"button",size:"sm",variant:"outline",disabled:a||l,onClick:()=>void D(e.id,e.title||e.skillName||e.id),children:a?"安装中…":l?"已安装":"安装"})}}];return(0,t.jsx)("div",{className:g,children:(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsxs)("div",{className:"relative max-w-md",children:[(0,t.jsx)(u.Input,{type:"search",value:v,onChange:e=>L(e.target.value),placeholder:"搜索名称 / 详情",className:"h-8 pl-8","aria-label":"搜索已安装 Skill"}),(0,t.jsx)(c.default,{name:"Search",size:16,className:"pointer-events-none absolute left-2.5 top-1/2 size-4 -translate-y-1/2 text-[var(--ds-muted)]","aria-hidden":!0})]}),(0,t.jsx)(d.AppTable,{rows:N,columns:O,getRowKey:e=>e.id,className:"min-h-0 flex-1 rounded-md",bodyProps:{viewportPaginationReserve:64},emptyNode:R?(0,t.jsx)(b.Loading,{text:"加载中…",className:"min-h-[200px]"}):void 0}),(0,t.jsx)(p,{className:"mx-0 w-full",children:(0,t.jsxs)(f,{className:"w-full flex-wrap justify-end gap-2",children:[(0,t.jsx)(x,{children:(0,t.jsxs)(o.Button,{type:"button",variant:"outline",size:"sm",disabled:E,className:"gap-1",onClick:()=>j(e=>Math.max(1,e-1)),"aria-label":"上一页",children:[(0,t.jsx)(c.default,{name:"ChevronLeft",size:16,className:"shrink-0"}),"上一页"]})}),(0,t.jsx)(x,{children:(0,t.jsx)("span",{className:"flex h-9 min-w-[6.5rem] items-center justify-center text-[var(--ds-muted)]",children:z})}),(0,t.jsx)(x,{children:(0,t.jsxs)(o.Button,{type:"button",variant:"outline",size:"sm",disabled:I,className:"gap-1",onClick:()=>j(e=>e+1),"aria-label":"下一页",children:["下一页",(0,t.jsx)(c.default,{name:"ChevronRight",size:16,className:"shrink-0",strokeWidth:1})]})})]})})]})})}var v=e.i(10602),y=e.i(84919);function w(e){let{open:a,onOpenChange:l,wsUrl:r,apiBase:s,agent:n}=e;return(0,t.jsx)(y.ResourceImportDialog,{open:a,onOpenChange:l,title:"导入 Skill zip",description:"选择一个 zip 文件并导入到 skills-runtime。",uploadUrl:(0,v.buildSkillsRuntimeImportUrl)(r,s,n),resetKey:n})}var j=e.i(40751);function k(e){let{open:l,onOpenChange:r,skillName:n,wsUrl:i,apiBase:c,agent:d,onSaved:u}=e,[m,p]=(0,a.useState)(""),[f,x]=(0,a.useState)(!1),[b,g]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(!l||!n.trim())return;let e=!1;return x(!0),p(""),(0,h.loadBaseSkillMd)(i,c,d,n).then(t=>{e||p("string"==typeof t.content?t.content:"")}).catch(t=>{e||(s.appToast.error("加载 SKILL.md 失败:".concat(t instanceof Error?t.message:String(t))),r(!1))}).finally(()=>{e||x(!1)}),()=>{e=!0}},[l,n,i,c,d,r]);let v=(0,a.useCallback)(async()=>{if(n.trim()){g(!0);try{await (0,h.saveBaseSkillMd)(i,c,d,n,m),s.appToast.success("SKILL.md 已保存"),r(!1),null==u||u()}catch(e){s.appToast.error("保存失败:".concat(e instanceof Error?e.message:String(e)))}finally{g(!1)}}},[n,i,c,d,m,r,u]);return(0,t.jsx)(j.AppDialog,{open:l,onOpenChange:r,title:"编辑 SKILL.md · /".concat(n),width:"max-w-4xl",minHeight:"420px",footer:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.Button,{type:"button",variant:"plain-outline",size:"lg",disabled:f||b,onClick:()=>r(!1),children:"取消"}),(0,t.jsx)(o.Button,{type:"button",size:"lg",disabled:f||b,onClick:()=>void v(),children:"保存"})]}),children:f?(0,t.jsx)("p",{className:"py-6 text-center text-[var(--ds-muted)]",children:"加载中…"}):(0,t.jsx)("textarea",{className:"focus-visible:ring-[var(--ds-color-accent)]/30 min-h-[320px] w-full resize-y rounded-md border border-[var(--ds-color-border-default)] bg-[var(--ds-color-surface-default)] p-3 leading-6 text-[var(--ds-text)] outline-none focus-visible:ring-2",spellCheck:!1,value:m,placeholder:"Markdown 源码…",onChange:e=>p(e.target.value)})})}var C=e.i(96214),N=e.i(85941),S=e.i(78678);function R(e){let{items:l,saveBusy:r,onToggleEnabled:s,onEditBase:n,onExport:i,onRemove:o,className:m}=e,[p,f]=(0,a.useState)(""),x=(0,a.useMemo)(()=>l.filter(e=>(function(e,t){var a;let l=t.trim().toLowerCase();return!l||"".concat(e.name," ").concat(null!=(a=e.description)?a:"").toLowerCase().includes(l)})(e,p)),[l,p]),h=[{key:"name",title:"名称",headerClassName:"",cellClassName:"",render:e=>(0,t.jsxs)("span",{className:"inline-flex items-center gap-2",children:[(0,t.jsx)("span",{children:"/".concat(e.name)}),(0,t.jsx)(S.StatusBadge,{tone:e.enabled?"success":"default",children:e.enabled?"启用":"未启用"})]})},{key:"description",title:"详情",headerClassName:"",cellClassName:"",render:e=>e.description||"-"},{key:"status",title:"状态",headerClassName:"w-[160px] ",cellClassName:"w-[160px] text-[var(--ds-text)]",render:e=>"base"===e.source?"基础":"已安装"},{key:"enabled",title:"启用/未启用",headerClassName:"w-[160px] text-right ",cellClassName:"w-[160px] py-2 text-right align-middle",render:e=>(0,t.jsx)("span",{className:"inline-flex items-center justify-end gap-2",children:(0,t.jsx)(C.AccentSwitch,{checked:e.enabled,disabled:r,onCheckedChange:t=>s(e.name,t),"aria-label":"".concat(e.enabled?"禁用":"启用"," ").concat(e.name)})})},{key:"actions",title:"操作",headerClassName:"w-[128px] ",cellClassName:"w-[128px]",render:e=>(0,t.jsx)("div",{className:"inline-flex items-center justify-end gap-1",children:"base"===e.source?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(N.IconTooltipButton,{icon:"Edit",label:"编辑",ariaLabel:"编辑 ".concat(e.name),disabled:r,onClick:()=>n(e.name)}),(0,t.jsx)(N.IconTooltipButton,{icon:"Trash2",label:"系统技能不可删除",tone:"danger",ariaLabel:"删除 ".concat(e.name),disabled:!0})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(N.IconTooltipButton,{icon:"Download",label:"导出",ariaLabel:"导出 ".concat(e.name),disabled:r,onClick:()=>i(e.name)}),(0,t.jsx)(N.IconTooltipButton,{icon:"Trash2",label:"删除",tone:"danger",ariaLabel:"删除 ".concat(e.name),disabled:r,onClick:()=>{o(e.name)}})]})})}],b=p.trim();return(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsxs)("div",{className:"relative max-w-md",children:[(0,t.jsx)(u.Input,{type:"search",value:p,onChange:e=>f(e.target.value),placeholder:"搜索名称 / 详情",className:"h-8 pl-8","aria-label":"搜索已安装 Skill"}),(0,t.jsx)(c.default,{name:"Search",size:16,className:"pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-[var(--ds-muted)]"})]}),(0,t.jsx)(d.AppTable,{rows:x,columns:h,getRowKey:e=>"skills:".concat(e.name),className:m,emptyText:b?"无匹配的 Skill":void 0})]})}var T=e.i(28661),U=e.i(15692);function M(e,t){var a,l,r;let s=(r=null!=(l=null!=(a=e.description)?a:e.whenToUse)?l:"")?r.length>100?r.slice(0,100):r:"";return{...e,id:e.name,label:"/".concat(e.name),description:s,isRuntime:t,canManage:e.canManage}}let A=[{value:"installed",label:"已安装Skill"},{value:"cloud_catalog",label:"Skill商店"}];function B(){let e=(0,l.useAppStore)(e=>e.wsUrl),d=(0,l.useAppStore)(e=>e.apiBase),u=(0,l.useAppStore)(e=>e.agentConfig),m=(0,l.useAppStore)(e=>e.patchAgentConfig),{currentAgent:p,loadAgentConfig:f}=(0,r.useSession)(),x=(0,n.usePersistAgentConfigField)("skills"),v=u.skills,[y,j]=(0,a.useState)([]),[C,N]=(0,a.useState)([]),[S,B]=(0,a.useState)(!1),[D,L]=(0,a.useState)(!1),[z,E]=(0,a.useState)(!1),[I,O]=(0,a.useState)("installed"),[_,P]=(0,a.useState)(!1),[F,H]=(0,a.useState)(""),[K,V]=(0,a.useState)(!1);(0,a.useEffect)(()=>{f()},[f]);let J=(0,a.useCallback)(async(e,t)=>{E(!0);try{await x(e,{silent:t})}finally{E(!1)}},[x]),W=(0,a.useCallback)(async()=>{j([]),B(!0);try{var t;let a=await (0,h.listBaseSkills)(e,d,p());j((null!=(t=a.skills)?t:[]).map(e=>M(e,!1)))}catch(e){j([]),s.appToast.error("加载失败:".concat(e instanceof Error?e.message:String(e)))}finally{B(!1)}},[e,d,p]),q=(0,a.useCallback)(async()=>{N([]),L(!0);try{var t;let a=await (0,h.listInstalledSkills)(e,d,p());N((null!=(t=a.skills)?t:[]).map(e=>M(e,!0)))}catch(e){N([]),s.appToast.error("加载失败:".concat(e instanceof Error?e.message:String(e)))}finally{L(!1)}},[e,d,p]),X=(0,a.useCallback)(async()=>{await Promise.all([W(),q()])},[W,q]),G=(0,a.useCallback)(async t=>{if(await (0,T.confirmAlertDialog)({title:"确认删除 Skill 包?",description:"Skill:".concat(t),confirmText:"删除",cancelText:"取消"}))try{await (0,h.deleteRuntimeSkill)(e,d,p(),t);let a=v.filter(e=>e!==t);m({skills:a}),await J(a,!0),await X()}catch(e){s.appToast.error("删除失败:".concat(e instanceof Error?e.message:String(e)))}},[e,d,p,v,m,J,X]);(0,a.useEffect)(()=>{"installed"===I&&X()},[I,X]);let Q=(0,a.useCallback)(()=>{X()},[X]),Y=(0,a.useMemo)(()=>{let e=y.map(e=>({name:e.id,source:"base",description:e.description||"",enabled:v.includes(e.id)})),t=new Set(e.map(e=>e.name)),a=C.filter(e=>!t.has(e.id)).slice().sort((e,t)=>e.label.localeCompare(t.label)).map(e=>({name:e.id,source:"runtime",description:e.description||"",enabled:v.includes(e.id)}));return[...e.sort((e,t)=>e.name.localeCompare(t.name)),...a]},[y,C,v]),Z=(0,a.useCallback)((e,t)=>{let a=t?[...new Set([...v,e])].sort():v.filter(t=>t!==e);m({skills:a}),J(a,!0)},[v,m,J]),$=(0,a.useCallback)(t=>{window.open((0,h.exportRuntimeSkillUrl)(e,d,p(),t),"_blank","noopener")},[e,d,p]),ee=(0,a.useCallback)(e=>{H(e),V(!0)},[]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(U.ManageChromeHeaderActions,{children:(0,t.jsxs)(o.Button,{id:"btnAgentImportSkill",type:"button",variant:"plain-outline",size:"lg",className:"inline-flex items-center justify-center gap-1.5",onClick:()=>P(!0),children:[(0,t.jsx)(c.default,{name:"Import",size:16,className:"align-middle"}),"导入Skill"]})}),(0,t.jsxs)(i.AppTabs,{tabs:A,value:I,listVariant:"line",onChange:e=>O(e),children:[(0,t.jsx)(i.AppTabsPanel,{value:"installed",children:S||D?(0,t.jsx)(b.Loading,{text:"加载中…",className:"min-h-[200px]"}):(0,t.jsx)(R,{items:Y,saveBusy:z,onToggleEnabled:Z,onEditBase:ee,onExport:$,onRemove:G})}),(0,t.jsx)(i.AppTabsPanel,{value:"cloud_catalog",className:"flex min-h-0 flex-1 flex-col",children:(0,t.jsx)(g,{active:"cloud_catalog"===I,wsUrl:e,apiBase:d,agent:p(),enabledSkillNames:v,onAfterInstall:Q,className:"min-h-0 flex-1"})})]}),(0,t.jsx)(w,{open:_,onOpenChange:e=>{P(e),e||X()},wsUrl:e,apiBase:d,agent:p()}),(0,t.jsx)(k,{open:K,onOpenChange:V,skillName:F,wsUrl:e,apiBase:d,agent:p(),onSaved:()=>void X()})]})}}]);
@@ -1,2 +1,2 @@
1
- <!DOCTYPE html><!--dNJkIrryvG5ItxyuCnnQF--><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="preload" href="/app/_next/static/media/5c285b27cdda1fe8-s.p.a62025f2.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/app/_next/static/media/70bc3e132a0a741e-s.p.15008bfb.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/app/_next/static/media/c41ca59f1c34ba31-s.p.e20f337c.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/app/_next/static/chunks/7bdf0e5b41aeb209.css" data-precedence="next"/><link rel="stylesheet" href="/app/_next/static/chunks/bff0a34243e1f2c7.css" data-precedence="next"/><link rel="stylesheet" href="/app/_next/static/chunks/f0f534c89e005d26.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/app/_next/static/chunks/fa0cb747819a4b88.js"/><script src="/app/_next/static/chunks/39fc6ad79e44f4df.js" async=""></script><script src="/app/_next/static/chunks/68f27d4f860d8f88.js" async=""></script><script src="/app/_next/static/chunks/06e2cd3fae94aae8.js" async=""></script><script src="/app/_next/static/chunks/ea136b1a439307e8.js" async=""></script><script src="/app/_next/static/chunks/turbopack-fd95f1c0ef78a441.js" async=""></script><script src="/app/_next/static/chunks/d2b5664aa6eb613c.js" async=""></script><script src="/app/_next/static/chunks/b08f1ee81b569c60.js" async=""></script><script src="/app/_next/static/chunks/d78975cda9119543.js" async=""></script><script src="/app/_next/static/chunks/54ce15edde8ce98c.js" async=""></script><script src="/app/_next/static/chunks/913de10eeb8a88d9.js" async=""></script><script src="/app/_next/static/chunks/7cadf95d4932deec.js" async=""></script><script src="/app/_next/static/chunks/37e4ac5f3654a688.js" async=""></script><script src="/app/_next/static/chunks/d1e3d3d09ff4ed38.js" async=""></script><script src="/app/_next/static/chunks/98a2db7a6b8d43c0.js" async=""></script><script src="/app/_next/static/chunks/e0b6375c01566831.js" async=""></script><script src="/app/_next/static/chunks/713b097e1a0b340b.js" async=""></script><script src="/app/_next/static/chunks/1a900b3c5a00d59b.js" async=""></script><script src="/app/_next/static/chunks/7e2887a3269dfc01.js" async=""></script><script src="/app/_next/static/chunks/27d9a47efb23fd17.js" async=""></script><script src="/app/_next/static/chunks/7c2d68248d759f50.js" async=""></script><script src="/app/_next/static/chunks/d6c35821582ac6a8.js" async=""></script><meta name="next-size-adjust" content=""/><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><!--$?--><template id="B:0"></template><div class="flex min-h-[40vh] flex-1 items-center justify-center gap-2 text-zinc-500"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-loader-circle animate-spin text-muted-foreground" aria-hidden="true"><path d="M21 12a9 9 0 1 1-6.219-8.56"></path></svg> 加载中</div><!--/$--><script>requestAnimationFrame(function(){$RT=performance.now()});</script><script src="/app/_next/static/chunks/fa0cb747819a4b88.js" id="_R_" async=""></script><div hidden id="S:0"><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><div class="ws-config-hidden" aria-hidden="true"><input readOnly="" hidden="" value=""/><input readOnly="" hidden="" value=""/><input readOnly="" hidden="" value=""/><input readOnly="" hidden="" value=""/></div><div class="app" data-ui-layer="presentation" data-topology="local-first"><aside class="sidebar h-dvh max-h-dvh min-h-0 self-start overflow-hidden " data-region="sidebar-panels"><div class="sidebar-brand"><div class="sidebar-brand-title-row flex items-center justify-between"><div class="logo flex min-w-0 items-center gap-2"><span class="text-zinc-1000 truncate">Claude Code测试平台</span></div><span data-slot="tooltip" class="inline-flex"><button type="button" class="sidebar-icon-btn" title="收起侧边栏" aria-label="收起侧边栏"><svg xmlns="http://www.w3.org/2000/svg" width="17" height="17" viewBox="0 0 1024 1024" color="#8f8f8f" fill="#8f8f8f" aria-hidden="true"><path d="M331.05 85.333h361.9c34.346 0 62.72 0 85.76 1.878 24.02 1.962 46.08 6.186 66.773 16.725a170.67 170.67 0 0 1 74.581 74.581c10.539 20.694 14.763 42.752 16.725 66.731 1.878 23.125 1.878 51.456 1.878 85.76v361.941c0 34.347 0 62.72-1.878 85.76-1.962 24.022-6.186 46.08-16.725 66.774a170.67 170.67 0 0 1-74.581 74.581c-20.694 10.539-42.752 14.763-66.731 16.725-23.083 1.878-51.456 1.878-85.76 1.878H331.008c-34.347 0-62.72 0-85.76-1.878-24.021-1.962-46.08-6.186-66.773-16.725a170.67 170.67 0 0 1-74.582-74.581c-10.538-20.694-14.762-42.752-16.725-66.731-1.835-23.125-1.835-51.456-1.835-85.76V331.008c0-34.347 0-62.72 1.878-85.76 1.962-24.021 6.186-46.08 16.725-66.773a170.67 170.67 0 0 1 74.581-74.582c20.694-10.538 42.752-14.762 66.731-16.725 23.125-1.835 51.456-1.835 85.76-1.835zm95.617 768H691.2c36.565 0 61.397 0 80.597-1.621 18.688-1.493 28.288-4.267 34.944-7.68a85.33 85.33 0 0 0 37.291-37.29c3.413-6.657 6.187-16.214 7.68-34.945 1.579-19.2 1.621-44.032 1.621-80.597V332.8c0-36.565 0-61.397-1.621-80.597-1.493-18.688-4.267-28.288-7.68-34.944a85.33 85.33 0 0 0-37.29-37.291c-6.657-3.413-16.214-6.187-34.945-7.68-19.2-1.621-44.032-1.621-80.597-1.621H426.667zm-85.334-682.666H332.8c-36.565 0-61.397 0-80.597 1.621-18.688 1.493-28.288 4.267-34.944 7.68a85.33 85.33 0 0 0-37.291 37.29c-3.413 6.657-6.187 16.214-7.68 34.945-1.621 19.2-1.621 44.032-1.621 80.597v358.4c0 36.565 0 61.397 1.621 80.597 1.493 18.688 4.267 28.288 7.68 34.944a85.33 85.33 0 0 0 37.29 37.291c6.657 3.413 16.214 6.187 34.945 7.68 19.2 1.621 44.032 1.621 80.597 1.621h8.533z"></path></svg></button></span></div></div><div class="new-chat"><div class="mb-4 ml-2 mr-2 mt-2 flex cursor-pointer items-center gap-2.5 rounded-2xl px-2 py-2 text-zinc-900 transition-colors hover:bg-white/70" title="开启新对话" aria-label="开启新对话"><span class="flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-[var(--ds-color-surface-item-active)] text-[var(--ds-color-accent)]" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M12 5v14M5 12h14"></path></svg></span><span class="min-w-0 font-medium">新会话</span></div></div><div class="sidebar-scroll-area"><div class="sidebar-drawers sidebar-drawers--nav px-[10px]"><div class="m-[.45rem_0_0] flex cursor-pointer items-center rounded-[var(--ds-radius-sm)] p-[.45rem_.75rem] hover:bg-[var(--ds-color-surface-item-active)] hover:text-zinc-900" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="mr-3 text-zinc-900" viewBox="0 0 1024 1024" color="currentColor" fill="currentColor" aria-hidden="true"><path d="m259.413 120.036-149.22 106.666-49.606-69.404L209.92 50.63l49.607 69.405zM814.08 50.63l149.39 106.667-49.607 69.404-149.276-106.666 49.607-69.405zM78.28 554.667a433.778 433.778 0 1 1 867.555 0 433.778 433.778 0 0 1-867.556 0M512 206.222a348.444 348.444 0 1 0 0 696.89 348.444 348.444 0 0 0 0-696.89m-47.787 356.125V327.623h85.334v217.145l153.258 153.316-60.302 60.302-165.831-165.774a42.67 42.67 0 0 1-12.516-30.152z"></path></svg><span class="text-zinc-900">定时任务</span></div><div class="m-[.45rem_0_0] flex cursor-pointer items-center rounded-[var(--ds-radius-sm)] p-[.45rem_.75rem] hover:bg-[var(--ds-color-surface-item-active)] hover:text-zinc-900" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="mr-3 text-zinc-900" viewBox="0 0 1024 1024" color="currentColor" fill="currentColor" aria-hidden="true"><path d="M424.64 115.392A170.432 170.432 0 0 1 714.304 254.4a166.464 166.464 0 0 1 137.728 282.752l-307.84 307.712 94.912 94.848a36.736 36.736 0 0 1-51.712 51.84L466.624 870.784a36.544 36.544 0 0 1 0-51.712l333.568-333.568a93.312 93.312 0 0 0-131.648-132.096l-3.008 2.88v.128L428.352 592.96a36.544 36.544 0 0 1-56.064-5.44c-.576-.768-.96-1.664-1.472-2.432a36.3 36.3 0 0 1-4.352-23.68l.32-1.92a36.4 36.4 0 0 1 5.12-12.608l4.8-5.76 236.992-236.416 6.72-7.488A97.28 97.28 0 0 0 476.288 167.04L136.576 507.008a36.544 36.544 0 0 1-51.712-51.712l339.84-339.84zm94.912 94.4a36.544 36.544 0 0 1 51.008 52.352L329.024 497.856a98.368 98.368 0 1 0 138.624 139.52l240.64-243.584a36.672 36.672 0 0 1 52.096 51.328l-240.64 243.584A171.584 171.584 0 1 1 277.952 445.44z"></path></svg><span class="text-zinc-900">MCP</span></div><div class="m-[.45rem_0_0] flex cursor-pointer items-center rounded-[var(--ds-radius-sm)] p-[.45rem_.75rem] hover:bg-[var(--ds-color-surface-item-active)] hover:text-zinc-900" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="mr-3 text-zinc-900" viewBox="0 0 1024 1024" color="currentColor" fill="currentColor" aria-hidden="true"><path d="M938.667 981.333H85.333C38.4 981.333 0 942.933 0 896V298.667c0-46.934 38.4-85.334 85.333-85.334h192V128c0-46.933 38.4-85.333 85.334-85.333h298.666c46.934 0 85.334 38.4 85.334 85.333v85.333h192c46.933 0 85.333 38.4 85.333 85.334V896c0 46.933-38.4 85.333-85.333 85.333m-277.334-832c0-12.8-8.533-21.333-21.333-21.333H384c-12.8 0-21.333 8.533-21.333 21.333v64h298.666zM938.667 320c0-12.8-8.534-21.333-21.334-21.333H106.667c-12.8 0-21.334 8.533-21.334 21.333v128h213.334c17.066 0 32 10.667 38.4 23.467L388.267 576H633.6l51.2-104.533C691.2 456.533 706.133 448 723.2 448h213.333V320zm0 213.333H750.933l-51.2 104.534c-6.4 14.933-21.333 23.466-38.4 23.466H362.667c-17.067 0-32-10.666-38.4-23.466l-51.2-104.534H85.333v341.334c0 12.8 8.534 21.333 21.334 21.333h810.666c12.8 0 21.334-8.533 21.334-21.333z"></path></svg><span class="text-zinc-900">Tools</span></div><div class="m-[.45rem_0_0] flex cursor-pointer items-center rounded-[var(--ds-radius-sm)] p-[.45rem_.75rem] hover:bg-[var(--ds-color-surface-item-active)] hover:text-zinc-900" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="mr-3 text-zinc-900" viewBox="0 0 1088 1024" color="currentColor" fill="currentColor" aria-hidden="true"><path d="M370.24 127.232c16.384-44.736 79.68-44.672 96.128 0L556.8 373.504l246.208 90.432c44.8 16.384 44.8 79.68 0 96.128L556.8 650.496 466.368 896.64c-16.448 44.8-79.744 44.8-96.128 0l-90.432-246.208L33.536 560c-44.736-16.448-44.736-79.744 0-96.128l246.272-90.432 90.432-246.272zm-22.464 283.84a51.2 51.2 0 0 1-30.4 30.4L125.44 512l192 70.528a51.2 51.2 0 0 1 28.16 25.28l2.24 5.12 70.528 191.936 70.528-192 2.176-5.12a51.2 51.2 0 0 1 28.16-25.216l192-70.528-192-70.528a51.2 51.2 0 0 1-30.336-30.4l-70.528-192-70.528 192zM756.608 32.64a12.8 12.8 0 0 1 24 0l29.44 80a12.8 12.8 0 0 0 7.552 7.68l80 29.376a12.8 12.8 0 0 1 0 24l-80 29.44a12.8 12.8 0 0 0-7.616 7.552l-29.376 80a12.8 12.8 0 0 1-24 0l-29.44-80a12.8 12.8 0 0 0-7.552-7.616l-80-29.376a12.8 12.8 0 0 1 0-24l80-29.44a12.8 12.8 0 0 0 7.616-7.552l29.376-80zm0 700.672a12.8 12.8 0 0 1 24 0l29.44 80a12.8 12.8 0 0 0 7.552 7.616l80 29.376a12.8 12.8 0 0 1 0 24l-80 29.44a12.8 12.8 0 0 0-7.616 7.552l-29.376 80a12.8 12.8 0 0 1-24 0l-29.44-80a12.8 12.8 0 0 0-7.552-7.552l-80-29.44a12.8 12.8 0 0 1 0-24l80-29.44a12.8 12.8 0 0 0 7.616-7.552z"></path></svg><span class="text-zinc-900">Skills</span></div><div class="m-[.45rem_0_0] flex cursor-pointer items-center rounded-[var(--ds-radius-sm)] p-[.45rem_.75rem] hover:bg-[var(--ds-color-surface-item-active)] hover:text-zinc-900" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="mr-3 text-zinc-900" viewBox="0 0 1103 1024" color="currentColor" fill="currentColor" aria-hidden="true"><path d="M995.146 703.015a136.665 136.665 0 0 0-159.035 15.754L770.89 680.96V494.277a54.11 54.11 0 0 0-27.097-46.868L576.41 350.996v-82.55a137.846 137.846 0 1 0-88.616 0v82.55L320.41 447.409a54.11 54.11 0 0 0-27.097 46.868V680.88l-65.22 37.81a136.665 136.665 0 0 0-158.957-15.754 138.08 138.08 0 0 0-50.491 188.18 136.82 136.82 0 0 0 187.313 50.412 137.85 137.85 0 0 0 66.009-146.196l59.864-34.816 173.056 99.643a54.51 54.51 0 0 0 54.194 0l172.898-99.564 59.943 34.816a138.08 138.08 0 0 0 66.009 146.274 136.743 136.743 0 0 0 187.313-50.412 138.004 138.004 0 0 0-50.097-188.259m-828.337 170.3a58.604 58.604 0 0 1-80.266-21.583 59.077 59.077 0 0 1 21.583-80.66 58.604 58.604 0 0 1 80.266 21.662 59.077 59.077 0 0 1-21.583 80.66zm306.097-735.469a59.077 59.077 0 1 1 118.154 0 59.077 59.077 0 0 1-118.154 0m209.211 549.18-150.134 86.488-150.134-86.489v-172.82l150.134-86.488 150.134 86.489zM977.423 851.81a58.683 58.683 0 0 1-80.266 21.662 59.156 59.156 0 0 1-21.504-80.58 58.683 58.683 0 0 1 80.187-21.662 59.077 59.077 0 0 1 21.583 80.58"></path></svg><span class="text-zinc-900">Agent / Teams</span></div><div class="m-[.45rem_0_0] flex cursor-pointer items-center rounded-[var(--ds-radius-sm)] p-[.45rem_.75rem] hover:bg-[var(--ds-color-surface-item-active)] hover:text-zinc-900" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="mr-3 text-zinc-900" viewBox="0 0 1024 1024" color="currentColor" fill="currentColor" aria-hidden="true"><path d="M197.632 80.896H92.16c-51.2 0-92.16 40.96-92.16 92.16v672.768c0 51.2 40.96 92.16 92.16 92.16h105.472c51.2 0 92.16-40.96 92.16-92.16V173.056c0-51.2-40.96-92.16-92.16-92.16m39.936 764.928c0 21.504-17.408 38.912-39.936 38.912H92.16c-21.504 0-39.936-17.408-39.936-39.936V173.056c0-21.504 17.408-39.936 39.936-39.936h105.472c21.504 0 39.936 17.408 39.936 39.936zM540.672 80.896H434.176c-51.2 0-92.16 40.96-92.16 92.16V844.8c0 51.2 41.984 92.16 92.16 92.16h106.496c51.2 0 92.16-40.96 92.16-92.16V173.056c0-51.2-40.96-92.16-92.16-92.16m39.936 764.928c0 21.504-17.408 39.936-39.936 39.936H434.176c-21.504 0-39.936-17.408-39.936-39.936V173.056c0-21.504 18.432-39.936 39.936-39.936h106.496c21.504 0 39.936 17.408 39.936 39.936zm442.368-17.408-102.4-669.696c-7.168-48.128-51.2-82.944-99.328-77.824L731.136 92.16c-22.528 3.072-43.008 14.336-56.32 32.768-14.336 19.456-20.48 44.032-16.384 67.584l102.4 669.696c6.144 45.056 44.032 77.824 89.088 78.848h11.264l90.112-13.312c22.528-3.072 43.008-14.336 56.32-32.768 13.312-17.408 19.456-41.984 15.36-66.56m-59.392 36.864c-5.12 7.168-13.312 11.264-21.504 12.288l-90.112 11.264c-20.48 1.024-37.888-13.312-40.96-33.792l-102.4-669.696c-2.048-10.24 0-21.504 6.144-29.696 5.12-7.168 13.312-11.264 21.504-12.288l90.112-11.264h4.096c18.432 1.024 33.792 15.36 36.864 33.792l102.4 670.72c2.048 10.24 0 20.48-6.144 28.672"></path><path d="M105.472 446.464h78.848c14.336 0 26.624-12.288 26.624-26.624s-12.288-26.624-26.624-26.624h-78.848c-14.336 0-26.624 12.288-26.624 26.624 0 15.36 12.288 26.624 26.624 26.624m343.04 0h78.848c14.336 0 26.624-12.288 26.624-26.624s-12.288-26.624-26.624-26.624h-78.848c-14.336 0-26.624 12.288-26.624 26.624 0 15.36 12.288 26.624 26.624 26.624M184.32 578.56h-78.848c-14.336 0-26.624 12.288-26.624 26.624s12.288 26.624 26.624 26.624h78.848c14.336 0 26.624-12.288 26.624-26.624S199.68 578.56 184.32 578.56m343.04 0h-78.848c-14.336 0-26.624 12.288-26.624 26.624s12.288 26.624 26.624 26.624h78.848c14.336 0 26.624-12.288 26.624-26.624s-12.288-26.624-26.624-26.624"></path></svg><span class="text-zinc-900">Workspace</span></div></div><div class="sidebar-drawers sidebar-drawers--sessions is-open"><div class="sidebar-drawer m-[.35rem_.35rem_0] mt-4"><button type="button" class="flex w-full cursor-pointer items-center !border-none !bg-transparent p-[.45rem_.75rem] text-left text-[12px] font-[600] text-zinc-400 hover:text-zinc-600 focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ds-color-accent)] focus-visible:ring-offset-2" aria-expanded="true" aria-controls="sessionList" aria-label="收起历史会话列表">历史会话<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down ml-1 shrink-0 text-[var(--ds-muted)]" aria-hidden="true"><path d="m6 9 6 6 6-6"></path></svg></button><div class="sidebar-drawer-body sidebar-drawer-body--sessions"><div id="sessionList"><p class="sidebar-drawer-empty">(暂无会话)</p></div></div></div></div></div><div class="shrink-0 border-t border-solid border-[var(--ds-color-border-default)] transition flex items-center gap-2 p-[1rem_.75rem]"><div class="relative min-w-0 flex-1"><div class="flex min-w-0 cursor-pointer items-center gap-2 rounded-lg px-0.5 py-0.5"><span class="inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-full text-xs font-semibold text-white" style="background:var(--avatar-bg)">QI</span><span class="min-w-0 truncate text-[var(--ds-text)]">qihoo</span></div></div><span data-slot="tooltip" class="inline-flex"><button type="button" tabindex="0" data-slot="button" data-size="icon-sm" aria-label="设置" class="group/button inline-flex shrink-0 items-center justify-center cursor-pointer !pl-[16px] !pr-[16px] [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg]:align-middle [&amp;_svg:not([class*=&#x27;size-&#x27;]):not([width])]:size-4 [&amp;_svg]:stroke-current [&amp;_svg[fill=none]_path]:fill-none [&amp;_svg:not([fill=none])_path]:fill-current bg-transparent border-0 size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg text-[var(--ds-muted)] hover:bg-[var(--ds-color-surface-item-hover)] focus-visible:ring-2 focus-visible:ring-[var(--ds-color-accent)]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-settings shrink-0" aria-hidden="true"><path d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"></path><circle cx="12" cy="12" r="3"></circle></svg></button></span></div></aside><main class="main overflow-x-auto is-draft-session" data-region="chat-shell"><div class="main-content"><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><div class="flex min-h-[40vh] flex-1 items-center justify-center gap-2 text-zinc-500"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-loader-circle animate-spin text-muted-foreground" aria-hidden="true"><path d="M21 12a9 9 0 1 1-6.219-8.56"></path></svg> 加载中</div><!--/$--><!--$--><!--/$--></div></main><aside class="stage-thread-flyout" data-region="stage-thread-flyout" aria-hidden="true" style="--stage-flyout-width:760px"></aside></div></div><script>$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
2
- $RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};$RC("B:0","S:0")</script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[18805,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/b08f1ee81b569c60.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"AppToaster\"]\n3:I[3450,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/b08f1ee81b569c60.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"default\"]\n4:I[58973,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/b08f1ee81b569c60.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"default\"]\n5:I[82860,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/b08f1ee81b569c60.js\",\"/app/_next/static/chunks/d78975cda9119543.js\",\"/app/_next/static/chunks/54ce15edde8ce98c.js\",\"/app/_next/static/chunks/913de10eeb8a88d9.js\",\"/app/_next/static/chunks/7cadf95d4932deec.js\",\"/app/_next/static/chunks/37e4ac5f3654a688.js\",\"/app/_next/static/chunks/d1e3d3d09ff4ed38.js\",\"/app/_next/static/chunks/98a2db7a6b8d43c0.js\",\"/app/_next/static/chunks/e0b6375c01566831.js\"],\"WorkspaceShell\"]\n6:\"$Sreact.suspense\"\n"])</script><script>self.__next_f.push([1,"7:I[22924,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/b08f1ee81b569c60.js\",\"/app/_next/static/chunks/d78975cda9119543.js\",\"/app/_next/static/chunks/54ce15edde8ce98c.js\",\"/app/_next/static/chunks/913de10eeb8a88d9.js\",\"/app/_next/static/chunks/7cadf95d4932deec.js\",\"/app/_next/static/chunks/37e4ac5f3654a688.js\",\"/app/_next/static/chunks/d1e3d3d09ff4ed38.js\",\"/app/_next/static/chunks/98a2db7a6b8d43c0.js\",\"/app/_next/static/chunks/e0b6375c01566831.js\",\"/app/_next/static/chunks/713b097e1a0b340b.js\",\"/app/_next/static/chunks/1a900b3c5a00d59b.js\",\"/app/_next/static/chunks/7e2887a3269dfc01.js\",\"/app/_next/static/chunks/27d9a47efb23fd17.js\",\"/app/_next/static/chunks/7c2d68248d759f50.js\",\"/app/_next/static/chunks/d6c35821582ac6a8.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"12:I[40193,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/b08f1ee81b569c60.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"default\"]\n:HL[\"/app/_next/static/chunks/7bdf0e5b41aeb209.css\",\"style\"]\n:HL[\"/app/_next/static/chunks/bff0a34243e1f2c7.css\",\"style\"]\n:HL[\"/app/_next/static/chunks/f0f534c89e005d26.css\",\"style\"]\n:HL[\"/app/_next/static/media/5c285b27cdda1fe8-s.p.a62025f2.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/app/_next/static/media/70bc3e132a0a741e-s.p.15008bfb.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/app/_next/static/media/c41ca59f1c34ba31-s.p.e20f337c.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"dNJkIrryvG5ItxyuCnnQF\",\"p\":\"/app\",\"c\":[\"\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"(workspace)\",{\"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/bff0a34243e1f2c7.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/f0f534c89e005d26.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/app/_next/static/chunks/b08f1ee81b569c60.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/app/_next/static/chunks/d78975cda9119543.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\":[\"(workspace)\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/app/_next/static/chunks/54ce15edde8ce98c.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/app/_next/static/chunks/913de10eeb8a88d9.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/app/_next/static/chunks/7cadf95d4932deec.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-3\",{\"src\":\"/app/_next/static/chunks/37e4ac5f3654a688.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-4\",{\"src\":\"/app/_next/static/chunks/d1e3d3d09ff4ed38.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-5\",{\"src\":\"/app/_next/static/chunks/98a2db7a6b8d43c0.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-6\",{\"src\":\"/app/_next/static/chunks/e0b6375c01566831.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$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\":\"$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.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$6\",null,{\"fallback\":[\"$\",\"div\",null,{\"className\":\"flex min-h-[40vh] flex-1 items-center justify-center gap-2 text-zinc-500\",\"children\":[[\"$\",\"$L7\",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\"}],\" 加载中\"]}],\"children\":\"$L8\"}],[\"$L9\",\"$La\",\"$Lb\",\"$Lc\",\"$Ld\",\"$Le\"],\"$Lf\"]}],{},null,false]},null,false]},[\"$L10\",[],[]],false],\"$L11\",false]],\"m\":\"$undefined\",\"G\":[\"$12\",[\"$L13\",\"$L14\",\"$L15\"]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"16:I[69799,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/b08f1ee81b569c60.js\",\"/app/_next/static/chunks/d78975cda9119543.js\",\"/app/_next/static/chunks/54ce15edde8ce98c.js\",\"/app/_next/static/chunks/913de10eeb8a88d9.js\",\"/app/_next/static/chunks/7cadf95d4932deec.js\",\"/app/_next/static/chunks/37e4ac5f3654a688.js\",\"/app/_next/static/chunks/d1e3d3d09ff4ed38.js\",\"/app/_next/static/chunks/98a2db7a6b8d43c0.js\",\"/app/_next/static/chunks/e0b6375c01566831.js\",\"/app/_next/static/chunks/713b097e1a0b340b.js\",\"/app/_next/static/chunks/1a900b3c5a00d59b.js\",\"/app/_next/static/chunks/7e2887a3269dfc01.js\",\"/app/_next/static/chunks/27d9a47efb23fd17.js\",\"/app/_next/static/chunks/7c2d68248d759f50.js\",\"/app/_next/static/chunks/d6c35821582ac6a8.js\"],\"BridgeDebugApp\",1]\n"])</script><script>self.__next_f.push([1,"17:I[65226,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/b08f1ee81b569c60.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"OutletBoundary\"]\n19:I[80890,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/b08f1ee81b569c60.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"AsyncMetadataOutlet\"]\n1b:I[65226,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/b08f1ee81b569c60.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"ViewportBoundary\"]\n1d:I[65226,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/b08f1ee81b569c60.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"MetadataBoundary\"]\n8:[\"$\",\"$L16\",null,{}]\n9:[\"$\",\"script\",\"script-0\",{\"src\":\"/app/_next/static/chunks/713b097e1a0b340b.js\",\"async\":true,\"nonce\":\"$undefined\"}]\na:[\"$\",\"script\",\"script-1\",{\"src\":\"/app/_next/static/chunks/1a900b3c5a00d59b.js\",\"async\":true,\"nonce\":\"$undefined\"}]\nb:[\"$\",\"script\",\"script-2\",{\"src\":\"/app/_next/static/chunks/7e2887a3269dfc01.js\",\"async\":true,\"nonce\":\"$undefined\"}]\nc:[\"$\",\"script\",\"script-3\",{\"src\":\"/app/_next/static/chunks/27d9a47efb23fd17.js\",\"async\":true,\"nonce\":\"$undefined\"}]\nd:[\"$\",\"script\",\"script-4\",{\"src\":\"/app/_next/static/chunks/7c2d68248d759f50.js\",\"async\":true,\"nonce\":\"$undefined\"}]\ne:[\"$\",\"script\",\"script-5\",{\"src\":\"/app/_next/static/chunks/d6c35821582ac6a8.js\",\"async\":true,\"nonce\":\"$undefined\"}]\nf:[\"$\",\"$L17\",null,{\"children\":[\"$L18\",[\"$\",\"$L19\",null,{\"promise\":\"$@1a\"}]]}]\n10:[\"$\",\"div\",\"l\",{\"className\":\"flex min-h-[40vh] flex-1 items-center justify-center gap-2 text-zinc-500\",\"children\":[[\"$\",\"$L7\",null,{\"ref\":\"$undefined\",\"iconNode\":\"$0:f:0:1:2:children:2:children:1:props:children:0:props:fallback:props:children:0:props:iconNode\",\"className\":\"lucide-loader-circle animate-spin text-muted-foreground\",\"size\":16,\"color\":\"currentColor\",\"strokeWidth\":2,\"aria-hidden\":\"true\"}],\" 加载中\"]}]\n11:[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$L1b\",null,{\"children\":\"$L1c\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"conten"])</script><script>self.__next_f.push([1,"t\":\"\"}]],[\"$\",\"$L1d\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$6\",null,{\"fallback\":null,\"children\":\"$L1e\"}]}]}]]}]\n13:[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/7bdf0e5b41aeb209.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n14:[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/bff0a34243e1f2c7.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n15:[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/f0f534c89e005d26.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n"])</script><script>self.__next_f.push([1,"1c:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n18:null\n"])</script><script>self.__next_f.push([1,"1a:{\"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,"1e:\"$1a:metadata\"\n"])</script></body></html>
1
+ <!DOCTYPE html><!--sLkb5O425Rfm5_5LxMwvi--><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="preload" href="/app/_next/static/media/5c285b27cdda1fe8-s.p.a62025f2.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/app/_next/static/media/70bc3e132a0a741e-s.p.15008bfb.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/app/_next/static/media/c41ca59f1c34ba31-s.p.e20f337c.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/app/_next/static/chunks/7bdf0e5b41aeb209.css" data-precedence="next"/><link rel="stylesheet" href="/app/_next/static/chunks/dda0af99af0e0631.css" data-precedence="next"/><link rel="stylesheet" href="/app/_next/static/chunks/f37854d807ee41ac.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/app/_next/static/chunks/fa0cb747819a4b88.js"/><script src="/app/_next/static/chunks/39fc6ad79e44f4df.js" async=""></script><script src="/app/_next/static/chunks/68f27d4f860d8f88.js" async=""></script><script src="/app/_next/static/chunks/06e2cd3fae94aae8.js" async=""></script><script src="/app/_next/static/chunks/ea136b1a439307e8.js" async=""></script><script src="/app/_next/static/chunks/turbopack-fd95f1c0ef78a441.js" async=""></script><script src="/app/_next/static/chunks/d2b5664aa6eb613c.js" async=""></script><script src="/app/_next/static/chunks/846fd48826ed3d89.js" async=""></script><script src="/app/_next/static/chunks/d78975cda9119543.js" async=""></script><script src="/app/_next/static/chunks/9971428081f87b2e.js" async=""></script><script src="/app/_next/static/chunks/913de10eeb8a88d9.js" async=""></script><script src="/app/_next/static/chunks/7cadf95d4932deec.js" async=""></script><script src="/app/_next/static/chunks/37e4ac5f3654a688.js" async=""></script><script src="/app/_next/static/chunks/c7ce2c0e40c62b6b.js" async=""></script><script src="/app/_next/static/chunks/42d0ae4192d72f8e.js" async=""></script><script src="/app/_next/static/chunks/e0b6375c01566831.js" async=""></script><script src="/app/_next/static/chunks/5b4c1faefda9575b.js" async=""></script><script src="/app/_next/static/chunks/1a900b3c5a00d59b.js" async=""></script><script src="/app/_next/static/chunks/7e2887a3269dfc01.js" async=""></script><script src="/app/_next/static/chunks/27d9a47efb23fd17.js" async=""></script><script src="/app/_next/static/chunks/ece085cc915ab5e5.js" async=""></script><script src="/app/_next/static/chunks/7c2d68248d759f50.js" async=""></script><meta name="next-size-adjust" content=""/><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><!--$?--><template id="B:0"></template><div class="flex min-h-[40vh] flex-1 items-center justify-center gap-2 text-zinc-500"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-loader-circle animate-spin text-muted-foreground" aria-hidden="true"><path d="M21 12a9 9 0 1 1-6.219-8.56"></path></svg> 加载中</div><!--/$--><script>requestAnimationFrame(function(){$RT=performance.now()});</script><script src="/app/_next/static/chunks/fa0cb747819a4b88.js" id="_R_" async=""></script><div hidden id="S:0"><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><div class="ws-config-hidden" aria-hidden="true"><input readOnly="" hidden="" value=""/><input readOnly="" hidden="" value=""/><input readOnly="" hidden="" value=""/><input readOnly="" hidden="" value=""/></div><div class="app" data-ui-layer="presentation" data-topology="local-first"><aside class="sidebar h-dvh max-h-dvh min-h-0 self-start overflow-hidden " data-region="sidebar-panels"><div class="sidebar-brand"><div class="sidebar-brand-title-row flex items-center justify-between"><div class="logo flex min-w-0 items-center gap-2"><span class="text-zinc-1000 truncate">Claude Code测试平台</span></div><span data-slot="tooltip" class="inline-flex"><button type="button" class="sidebar-icon-btn" title="收起侧边栏" aria-label="收起侧边栏"><svg xmlns="http://www.w3.org/2000/svg" width="17" height="17" viewBox="0 0 1024 1024" color="#8f8f8f" fill="#8f8f8f" aria-hidden="true"><path d="M331.05 85.333h361.9c34.346 0 62.72 0 85.76 1.878 24.02 1.962 46.08 6.186 66.773 16.725a170.67 170.67 0 0 1 74.581 74.581c10.539 20.694 14.763 42.752 16.725 66.731 1.878 23.125 1.878 51.456 1.878 85.76v361.941c0 34.347 0 62.72-1.878 85.76-1.962 24.022-6.186 46.08-16.725 66.774a170.67 170.67 0 0 1-74.581 74.581c-20.694 10.539-42.752 14.763-66.731 16.725-23.083 1.878-51.456 1.878-85.76 1.878H331.008c-34.347 0-62.72 0-85.76-1.878-24.021-1.962-46.08-6.186-66.773-16.725a170.67 170.67 0 0 1-74.582-74.581c-10.538-20.694-14.762-42.752-16.725-66.731-1.835-23.125-1.835-51.456-1.835-85.76V331.008c0-34.347 0-62.72 1.878-85.76 1.962-24.021 6.186-46.08 16.725-66.773a170.67 170.67 0 0 1 74.581-74.582c20.694-10.538 42.752-14.762 66.731-16.725 23.125-1.835 51.456-1.835 85.76-1.835zm95.617 768H691.2c36.565 0 61.397 0 80.597-1.621 18.688-1.493 28.288-4.267 34.944-7.68a85.33 85.33 0 0 0 37.291-37.29c3.413-6.657 6.187-16.214 7.68-34.945 1.579-19.2 1.621-44.032 1.621-80.597V332.8c0-36.565 0-61.397-1.621-80.597-1.493-18.688-4.267-28.288-7.68-34.944a85.33 85.33 0 0 0-37.29-37.291c-6.657-3.413-16.214-6.187-34.945-7.68-19.2-1.621-44.032-1.621-80.597-1.621H426.667zm-85.334-682.666H332.8c-36.565 0-61.397 0-80.597 1.621-18.688 1.493-28.288 4.267-34.944 7.68a85.33 85.33 0 0 0-37.291 37.29c-3.413 6.657-6.187 16.214-7.68 34.945-1.621 19.2-1.621 44.032-1.621 80.597v358.4c0 36.565 0 61.397 1.621 80.597 1.493 18.688 4.267 28.288 7.68 34.944a85.33 85.33 0 0 0 37.29 37.291c6.657 3.413 16.214 6.187 34.945 7.68 19.2 1.621 44.032 1.621 80.597 1.621h8.533z"></path></svg></button></span></div></div><div class="new-chat"><div class="mb-4 ml-2 mr-2 mt-2 flex cursor-pointer items-center gap-2.5 rounded-2xl px-2 py-2 text-zinc-900 transition-colors hover:bg-white/70" title="开启新对话" aria-label="开启新对话"><span class="flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-[var(--ds-color-surface-item-active)] text-[var(--ds-color-accent)]" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M12 5v14M5 12h14"></path></svg></span><span class="min-w-0 font-medium">新会话</span></div></div><div class="sidebar-scroll-area"><div class="sidebar-drawers sidebar-drawers--nav px-[10px]"><div class="m-[.45rem_0_0] flex cursor-pointer items-center rounded-[var(--ds-radius-sm)] p-[.45rem_.75rem] hover:bg-[var(--ds-color-surface-item-active)] hover:text-zinc-900" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="mr-3 text-zinc-900" viewBox="0 0 1024 1024" color="currentColor" fill="currentColor" aria-hidden="true"><path d="m259.413 120.036-149.22 106.666-49.606-69.404L209.92 50.63l49.607 69.405zM814.08 50.63l149.39 106.667-49.607 69.404-149.276-106.666 49.607-69.405zM78.28 554.667a433.778 433.778 0 1 1 867.555 0 433.778 433.778 0 0 1-867.556 0M512 206.222a348.444 348.444 0 1 0 0 696.89 348.444 348.444 0 0 0 0-696.89m-47.787 356.125V327.623h85.334v217.145l153.258 153.316-60.302 60.302-165.831-165.774a42.67 42.67 0 0 1-12.516-30.152z"></path></svg><span class="text-zinc-900">定时任务</span></div><div class="m-[.45rem_0_0] flex cursor-pointer items-center rounded-[var(--ds-radius-sm)] p-[.45rem_.75rem] hover:bg-[var(--ds-color-surface-item-active)] hover:text-zinc-900" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="mr-3 text-zinc-900" viewBox="0 0 1024 1024" color="currentColor" fill="currentColor" aria-hidden="true"><path d="M424.64 115.392A170.432 170.432 0 0 1 714.304 254.4a166.464 166.464 0 0 1 137.728 282.752l-307.84 307.712 94.912 94.848a36.736 36.736 0 0 1-51.712 51.84L466.624 870.784a36.544 36.544 0 0 1 0-51.712l333.568-333.568a93.312 93.312 0 0 0-131.648-132.096l-3.008 2.88v.128L428.352 592.96a36.544 36.544 0 0 1-56.064-5.44c-.576-.768-.96-1.664-1.472-2.432a36.3 36.3 0 0 1-4.352-23.68l.32-1.92a36.4 36.4 0 0 1 5.12-12.608l4.8-5.76 236.992-236.416 6.72-7.488A97.28 97.28 0 0 0 476.288 167.04L136.576 507.008a36.544 36.544 0 0 1-51.712-51.712l339.84-339.84zm94.912 94.4a36.544 36.544 0 0 1 51.008 52.352L329.024 497.856a98.368 98.368 0 1 0 138.624 139.52l240.64-243.584a36.672 36.672 0 0 1 52.096 51.328l-240.64 243.584A171.584 171.584 0 1 1 277.952 445.44z"></path></svg><span class="text-zinc-900">MCP</span></div><div class="m-[.45rem_0_0] flex cursor-pointer items-center rounded-[var(--ds-radius-sm)] p-[.45rem_.75rem] hover:bg-[var(--ds-color-surface-item-active)] hover:text-zinc-900" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="mr-3 text-zinc-900" viewBox="0 0 1024 1024" color="currentColor" fill="currentColor" aria-hidden="true"><path d="M938.667 981.333H85.333C38.4 981.333 0 942.933 0 896V298.667c0-46.934 38.4-85.334 85.333-85.334h192V128c0-46.933 38.4-85.333 85.334-85.333h298.666c46.934 0 85.334 38.4 85.334 85.333v85.333h192c46.933 0 85.333 38.4 85.333 85.334V896c0 46.933-38.4 85.333-85.333 85.333m-277.334-832c0-12.8-8.533-21.333-21.333-21.333H384c-12.8 0-21.333 8.533-21.333 21.333v64h298.666zM938.667 320c0-12.8-8.534-21.333-21.334-21.333H106.667c-12.8 0-21.334 8.533-21.334 21.333v128h213.334c17.066 0 32 10.667 38.4 23.467L388.267 576H633.6l51.2-104.533C691.2 456.533 706.133 448 723.2 448h213.333V320zm0 213.333H750.933l-51.2 104.534c-6.4 14.933-21.333 23.466-38.4 23.466H362.667c-17.067 0-32-10.666-38.4-23.466l-51.2-104.534H85.333v341.334c0 12.8 8.534 21.333 21.334 21.333h810.666c12.8 0 21.334-8.533 21.334-21.333z"></path></svg><span class="text-zinc-900">Tools</span></div><div class="m-[.45rem_0_0] flex cursor-pointer items-center rounded-[var(--ds-radius-sm)] p-[.45rem_.75rem] hover:bg-[var(--ds-color-surface-item-active)] hover:text-zinc-900" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="mr-3 text-zinc-900" viewBox="0 0 1088 1024" color="currentColor" fill="currentColor" aria-hidden="true"><path d="M370.24 127.232c16.384-44.736 79.68-44.672 96.128 0L556.8 373.504l246.208 90.432c44.8 16.384 44.8 79.68 0 96.128L556.8 650.496 466.368 896.64c-16.448 44.8-79.744 44.8-96.128 0l-90.432-246.208L33.536 560c-44.736-16.448-44.736-79.744 0-96.128l246.272-90.432 90.432-246.272zm-22.464 283.84a51.2 51.2 0 0 1-30.4 30.4L125.44 512l192 70.528a51.2 51.2 0 0 1 28.16 25.28l2.24 5.12 70.528 191.936 70.528-192 2.176-5.12a51.2 51.2 0 0 1 28.16-25.216l192-70.528-192-70.528a51.2 51.2 0 0 1-30.336-30.4l-70.528-192-70.528 192zM756.608 32.64a12.8 12.8 0 0 1 24 0l29.44 80a12.8 12.8 0 0 0 7.552 7.68l80 29.376a12.8 12.8 0 0 1 0 24l-80 29.44a12.8 12.8 0 0 0-7.616 7.552l-29.376 80a12.8 12.8 0 0 1-24 0l-29.44-80a12.8 12.8 0 0 0-7.552-7.616l-80-29.376a12.8 12.8 0 0 1 0-24l80-29.44a12.8 12.8 0 0 0 7.616-7.552l29.376-80zm0 700.672a12.8 12.8 0 0 1 24 0l29.44 80a12.8 12.8 0 0 0 7.552 7.616l80 29.376a12.8 12.8 0 0 1 0 24l-80 29.44a12.8 12.8 0 0 0-7.616 7.552l-29.376 80a12.8 12.8 0 0 1-24 0l-29.44-80a12.8 12.8 0 0 0-7.552-7.552l-80-29.44a12.8 12.8 0 0 1 0-24l80-29.44a12.8 12.8 0 0 0 7.616-7.552z"></path></svg><span class="text-zinc-900">Skills</span></div><div class="m-[.45rem_0_0] flex cursor-pointer items-center rounded-[var(--ds-radius-sm)] p-[.45rem_.75rem] hover:bg-[var(--ds-color-surface-item-active)] hover:text-zinc-900" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="mr-3 text-zinc-900" viewBox="0 0 1103 1024" color="currentColor" fill="currentColor" aria-hidden="true"><path d="M995.146 703.015a136.665 136.665 0 0 0-159.035 15.754L770.89 680.96V494.277a54.11 54.11 0 0 0-27.097-46.868L576.41 350.996v-82.55a137.846 137.846 0 1 0-88.616 0v82.55L320.41 447.409a54.11 54.11 0 0 0-27.097 46.868V680.88l-65.22 37.81a136.665 136.665 0 0 0-158.957-15.754 138.08 138.08 0 0 0-50.491 188.18 136.82 136.82 0 0 0 187.313 50.412 137.85 137.85 0 0 0 66.009-146.196l59.864-34.816 173.056 99.643a54.51 54.51 0 0 0 54.194 0l172.898-99.564 59.943 34.816a138.08 138.08 0 0 0 66.009 146.274 136.743 136.743 0 0 0 187.313-50.412 138.004 138.004 0 0 0-50.097-188.259m-828.337 170.3a58.604 58.604 0 0 1-80.266-21.583 59.077 59.077 0 0 1 21.583-80.66 58.604 58.604 0 0 1 80.266 21.662 59.077 59.077 0 0 1-21.583 80.66zm306.097-735.469a59.077 59.077 0 1 1 118.154 0 59.077 59.077 0 0 1-118.154 0m209.211 549.18-150.134 86.488-150.134-86.489v-172.82l150.134-86.488 150.134 86.489zM977.423 851.81a58.683 58.683 0 0 1-80.266 21.662 59.156 59.156 0 0 1-21.504-80.58 58.683 58.683 0 0 1 80.187-21.662 59.077 59.077 0 0 1 21.583 80.58"></path></svg><span class="text-zinc-900">Agent / Teams</span></div><div class="m-[.45rem_0_0] flex cursor-pointer items-center rounded-[var(--ds-radius-sm)] p-[.45rem_.75rem] hover:bg-[var(--ds-color-surface-item-active)] hover:text-zinc-900" role="button" tabindex="0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="mr-3 text-zinc-900" viewBox="0 0 1024 1024" color="currentColor" fill="currentColor" aria-hidden="true"><path d="M197.632 80.896H92.16c-51.2 0-92.16 40.96-92.16 92.16v672.768c0 51.2 40.96 92.16 92.16 92.16h105.472c51.2 0 92.16-40.96 92.16-92.16V173.056c0-51.2-40.96-92.16-92.16-92.16m39.936 764.928c0 21.504-17.408 38.912-39.936 38.912H92.16c-21.504 0-39.936-17.408-39.936-39.936V173.056c0-21.504 17.408-39.936 39.936-39.936h105.472c21.504 0 39.936 17.408 39.936 39.936zM540.672 80.896H434.176c-51.2 0-92.16 40.96-92.16 92.16V844.8c0 51.2 41.984 92.16 92.16 92.16h106.496c51.2 0 92.16-40.96 92.16-92.16V173.056c0-51.2-40.96-92.16-92.16-92.16m39.936 764.928c0 21.504-17.408 39.936-39.936 39.936H434.176c-21.504 0-39.936-17.408-39.936-39.936V173.056c0-21.504 18.432-39.936 39.936-39.936h106.496c21.504 0 39.936 17.408 39.936 39.936zm442.368-17.408-102.4-669.696c-7.168-48.128-51.2-82.944-99.328-77.824L731.136 92.16c-22.528 3.072-43.008 14.336-56.32 32.768-14.336 19.456-20.48 44.032-16.384 67.584l102.4 669.696c6.144 45.056 44.032 77.824 89.088 78.848h11.264l90.112-13.312c22.528-3.072 43.008-14.336 56.32-32.768 13.312-17.408 19.456-41.984 15.36-66.56m-59.392 36.864c-5.12 7.168-13.312 11.264-21.504 12.288l-90.112 11.264c-20.48 1.024-37.888-13.312-40.96-33.792l-102.4-669.696c-2.048-10.24 0-21.504 6.144-29.696 5.12-7.168 13.312-11.264 21.504-12.288l90.112-11.264h4.096c18.432 1.024 33.792 15.36 36.864 33.792l102.4 670.72c2.048 10.24 0 20.48-6.144 28.672"></path><path d="M105.472 446.464h78.848c14.336 0 26.624-12.288 26.624-26.624s-12.288-26.624-26.624-26.624h-78.848c-14.336 0-26.624 12.288-26.624 26.624 0 15.36 12.288 26.624 26.624 26.624m343.04 0h78.848c14.336 0 26.624-12.288 26.624-26.624s-12.288-26.624-26.624-26.624h-78.848c-14.336 0-26.624 12.288-26.624 26.624 0 15.36 12.288 26.624 26.624 26.624M184.32 578.56h-78.848c-14.336 0-26.624 12.288-26.624 26.624s12.288 26.624 26.624 26.624h78.848c14.336 0 26.624-12.288 26.624-26.624S199.68 578.56 184.32 578.56m343.04 0h-78.848c-14.336 0-26.624 12.288-26.624 26.624s12.288 26.624 26.624 26.624h78.848c14.336 0 26.624-12.288 26.624-26.624s-12.288-26.624-26.624-26.624"></path></svg><span class="text-zinc-900">Workspace</span></div></div><div class="sidebar-drawers sidebar-drawers--sessions is-open"><div class="sidebar-drawer m-[.35rem_.35rem_0] mt-4"><button type="button" class="flex w-full cursor-pointer items-center !border-none !bg-transparent p-[.45rem_.75rem] text-left text-[12px] font-[600] text-zinc-400 hover:text-zinc-600 focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ds-color-accent)] focus-visible:ring-offset-2" aria-expanded="true" aria-controls="sessionList" aria-label="收起历史会话列表">历史会话<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down ml-1 shrink-0 text-[var(--ds-muted)]" aria-hidden="true"><path d="m6 9 6 6 6-6"></path></svg></button><div class="sidebar-drawer-body sidebar-drawer-body--sessions"><div id="sessionList"><p class="sidebar-drawer-empty">(暂无会话)</p></div></div></div></div></div><div class="shrink-0 border-t border-solid border-[var(--ds-color-border-default)] transition flex items-center gap-2 p-[1rem_.75rem]"><div class="relative min-w-0 flex-1"><div class="flex min-w-0 cursor-pointer items-center gap-2 rounded-lg px-0.5 py-0.5"><span class="inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-full text-xs font-semibold text-white" style="background:var(--avatar-bg)">QI</span><span class="min-w-0 truncate text-[var(--ds-text)]">qihoo</span></div></div><span data-slot="tooltip" class="inline-flex"><button type="button" tabindex="0" data-slot="button" data-size="icon-sm" aria-label="设置" class="group/button inline-flex shrink-0 items-center justify-center cursor-pointer !pl-[16px] !pr-[16px] [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg]:align-middle [&amp;_svg:not([class*=&#x27;size-&#x27;]):not([width])]:size-4 [&amp;_svg]:stroke-current [&amp;_svg[fill=none]_path]:fill-none [&amp;_svg:not([fill=none])_path]:fill-current bg-transparent border-0 size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg text-[var(--ds-muted)] hover:bg-[var(--ds-color-surface-item-hover)] focus-visible:ring-2 focus-visible:ring-[var(--ds-color-accent)]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-settings shrink-0" aria-hidden="true"><path d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"></path><circle cx="12" cy="12" r="3"></circle></svg></button></span></div></aside><main class="main overflow-x-auto is-draft-session" data-region="chat-shell"><div class="main-content"><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><div class="flex min-h-[40vh] flex-1 items-center justify-center gap-2 text-zinc-500"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-loader-circle animate-spin text-muted-foreground" aria-hidden="true"><path d="M21 12a9 9 0 1 1-6.219-8.56"></path></svg> 加载中</div><!--/$--><!--$--><!--/$--></div></main><aside class="stage-thread-flyout" data-region="stage-thread-flyout" aria-hidden="true" style="--stage-flyout-width:760px"></aside></div></div><script>$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
2
+ $RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};$RC("B:0","S:0")</script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[18805,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/846fd48826ed3d89.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"AppToaster\"]\n3:I[3450,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/846fd48826ed3d89.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"default\"]\n4:I[58973,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/846fd48826ed3d89.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"default\"]\n5:I[82860,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/846fd48826ed3d89.js\",\"/app/_next/static/chunks/d78975cda9119543.js\",\"/app/_next/static/chunks/9971428081f87b2e.js\",\"/app/_next/static/chunks/913de10eeb8a88d9.js\",\"/app/_next/static/chunks/7cadf95d4932deec.js\",\"/app/_next/static/chunks/37e4ac5f3654a688.js\",\"/app/_next/static/chunks/c7ce2c0e40c62b6b.js\",\"/app/_next/static/chunks/42d0ae4192d72f8e.js\",\"/app/_next/static/chunks/e0b6375c01566831.js\"],\"WorkspaceShell\"]\n6:\"$Sreact.suspense\"\n"])</script><script>self.__next_f.push([1,"7:I[22924,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/846fd48826ed3d89.js\",\"/app/_next/static/chunks/d78975cda9119543.js\",\"/app/_next/static/chunks/9971428081f87b2e.js\",\"/app/_next/static/chunks/913de10eeb8a88d9.js\",\"/app/_next/static/chunks/7cadf95d4932deec.js\",\"/app/_next/static/chunks/37e4ac5f3654a688.js\",\"/app/_next/static/chunks/c7ce2c0e40c62b6b.js\",\"/app/_next/static/chunks/42d0ae4192d72f8e.js\",\"/app/_next/static/chunks/e0b6375c01566831.js\",\"/app/_next/static/chunks/5b4c1faefda9575b.js\",\"/app/_next/static/chunks/1a900b3c5a00d59b.js\",\"/app/_next/static/chunks/7e2887a3269dfc01.js\",\"/app/_next/static/chunks/27d9a47efb23fd17.js\",\"/app/_next/static/chunks/ece085cc915ab5e5.js\",\"/app/_next/static/chunks/7c2d68248d759f50.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"12:I[40193,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/846fd48826ed3d89.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"default\"]\n:HL[\"/app/_next/static/chunks/7bdf0e5b41aeb209.css\",\"style\"]\n:HL[\"/app/_next/static/chunks/dda0af99af0e0631.css\",\"style\"]\n:HL[\"/app/_next/static/chunks/f37854d807ee41ac.css\",\"style\"]\n:HL[\"/app/_next/static/media/5c285b27cdda1fe8-s.p.a62025f2.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/app/_next/static/media/70bc3e132a0a741e-s.p.15008bfb.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/app/_next/static/media/c41ca59f1c34ba31-s.p.e20f337c.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"sLkb5O425Rfm5_5LxMwvi\",\"p\":\"/app\",\"c\":[\"\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"(workspace)\",{\"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/dda0af99af0e0631.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/f37854d807ee41ac.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/app/_next/static/chunks/846fd48826ed3d89.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/app/_next/static/chunks/d78975cda9119543.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\":[\"(workspace)\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/app/_next/static/chunks/9971428081f87b2e.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/app/_next/static/chunks/913de10eeb8a88d9.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/app/_next/static/chunks/7cadf95d4932deec.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-3\",{\"src\":\"/app/_next/static/chunks/37e4ac5f3654a688.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-4\",{\"src\":\"/app/_next/static/chunks/c7ce2c0e40c62b6b.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-5\",{\"src\":\"/app/_next/static/chunks/42d0ae4192d72f8e.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-6\",{\"src\":\"/app/_next/static/chunks/e0b6375c01566831.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$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\":\"$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.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$6\",null,{\"fallback\":[\"$\",\"div\",null,{\"className\":\"flex min-h-[40vh] flex-1 items-center justify-center gap-2 text-zinc-500\",\"children\":[[\"$\",\"$L7\",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\"}],\" 加载中\"]}],\"children\":\"$L8\"}],[\"$L9\",\"$La\",\"$Lb\",\"$Lc\",\"$Ld\",\"$Le\"],\"$Lf\"]}],{},null,false]},null,false]},[\"$L10\",[],[]],false],\"$L11\",false]],\"m\":\"$undefined\",\"G\":[\"$12\",[\"$L13\",\"$L14\",\"$L15\"]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"16:I[69799,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/846fd48826ed3d89.js\",\"/app/_next/static/chunks/d78975cda9119543.js\",\"/app/_next/static/chunks/9971428081f87b2e.js\",\"/app/_next/static/chunks/913de10eeb8a88d9.js\",\"/app/_next/static/chunks/7cadf95d4932deec.js\",\"/app/_next/static/chunks/37e4ac5f3654a688.js\",\"/app/_next/static/chunks/c7ce2c0e40c62b6b.js\",\"/app/_next/static/chunks/42d0ae4192d72f8e.js\",\"/app/_next/static/chunks/e0b6375c01566831.js\",\"/app/_next/static/chunks/5b4c1faefda9575b.js\",\"/app/_next/static/chunks/1a900b3c5a00d59b.js\",\"/app/_next/static/chunks/7e2887a3269dfc01.js\",\"/app/_next/static/chunks/27d9a47efb23fd17.js\",\"/app/_next/static/chunks/ece085cc915ab5e5.js\",\"/app/_next/static/chunks/7c2d68248d759f50.js\"],\"BridgeDebugApp\",1]\n"])</script><script>self.__next_f.push([1,"17:I[65226,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/846fd48826ed3d89.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"OutletBoundary\"]\n19:I[80890,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/846fd48826ed3d89.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"AsyncMetadataOutlet\"]\n1b:I[65226,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/846fd48826ed3d89.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"ViewportBoundary\"]\n1d:I[65226,[\"/app/_next/static/chunks/d2b5664aa6eb613c.js\",\"/app/_next/static/chunks/846fd48826ed3d89.js\",\"/app/_next/static/chunks/d78975cda9119543.js\"],\"MetadataBoundary\"]\n8:[\"$\",\"$L16\",null,{}]\n9:[\"$\",\"script\",\"script-0\",{\"src\":\"/app/_next/static/chunks/5b4c1faefda9575b.js\",\"async\":true,\"nonce\":\"$undefined\"}]\na:[\"$\",\"script\",\"script-1\",{\"src\":\"/app/_next/static/chunks/1a900b3c5a00d59b.js\",\"async\":true,\"nonce\":\"$undefined\"}]\nb:[\"$\",\"script\",\"script-2\",{\"src\":\"/app/_next/static/chunks/7e2887a3269dfc01.js\",\"async\":true,\"nonce\":\"$undefined\"}]\nc:[\"$\",\"script\",\"script-3\",{\"src\":\"/app/_next/static/chunks/27d9a47efb23fd17.js\",\"async\":true,\"nonce\":\"$undefined\"}]\nd:[\"$\",\"script\",\"script-4\",{\"src\":\"/app/_next/static/chunks/ece085cc915ab5e5.js\",\"async\":true,\"nonce\":\"$undefined\"}]\ne:[\"$\",\"script\",\"script-5\",{\"src\":\"/app/_next/static/chunks/7c2d68248d759f50.js\",\"async\":true,\"nonce\":\"$undefined\"}]\nf:[\"$\",\"$L17\",null,{\"children\":[\"$L18\",[\"$\",\"$L19\",null,{\"promise\":\"$@1a\"}]]}]\n10:[\"$\",\"div\",\"l\",{\"className\":\"flex min-h-[40vh] flex-1 items-center justify-center gap-2 text-zinc-500\",\"children\":[[\"$\",\"$L7\",null,{\"ref\":\"$undefined\",\"iconNode\":\"$0:f:0:1:2:children:2:children:1:props:children:0:props:fallback:props:children:0:props:iconNode\",\"className\":\"lucide-loader-circle animate-spin text-muted-foreground\",\"size\":16,\"color\":\"currentColor\",\"strokeWidth\":2,\"aria-hidden\":\"true\"}],\" 加载中\"]}]\n11:[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$L1b\",null,{\"children\":\"$L1c\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"conten"])</script><script>self.__next_f.push([1,"t\":\"\"}]],[\"$\",\"$L1d\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$6\",null,{\"fallback\":null,\"children\":\"$L1e\"}]}]}]]}]\n13:[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/7bdf0e5b41aeb209.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n14:[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/dda0af99af0e0631.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n15:[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/f37854d807ee41ac.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n"])</script><script>self.__next_f.push([1,"1c:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n18:null\n"])</script><script>self.__next_f.push([1,"1a:{\"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,"1e:\"$1a:metadata\"\n"])</script></body></html>
@@ -1,36 +1,36 @@
1
1
  1:"$Sreact.fragment"
2
- 2:I[18805,["/app/_next/static/chunks/d2b5664aa6eb613c.js","/app/_next/static/chunks/b08f1ee81b569c60.js","/app/_next/static/chunks/d78975cda9119543.js"],"AppToaster"]
3
- 3:I[3450,["/app/_next/static/chunks/d2b5664aa6eb613c.js","/app/_next/static/chunks/b08f1ee81b569c60.js","/app/_next/static/chunks/d78975cda9119543.js"],"default"]
4
- 4:I[58973,["/app/_next/static/chunks/d2b5664aa6eb613c.js","/app/_next/static/chunks/b08f1ee81b569c60.js","/app/_next/static/chunks/d78975cda9119543.js"],"default"]
5
- 5:I[82860,["/app/_next/static/chunks/d2b5664aa6eb613c.js","/app/_next/static/chunks/b08f1ee81b569c60.js","/app/_next/static/chunks/d78975cda9119543.js","/app/_next/static/chunks/54ce15edde8ce98c.js","/app/_next/static/chunks/913de10eeb8a88d9.js","/app/_next/static/chunks/7cadf95d4932deec.js","/app/_next/static/chunks/37e4ac5f3654a688.js","/app/_next/static/chunks/d1e3d3d09ff4ed38.js","/app/_next/static/chunks/98a2db7a6b8d43c0.js","/app/_next/static/chunks/e0b6375c01566831.js"],"WorkspaceShell"]
2
+ 2:I[18805,["/app/_next/static/chunks/d2b5664aa6eb613c.js","/app/_next/static/chunks/846fd48826ed3d89.js","/app/_next/static/chunks/d78975cda9119543.js"],"AppToaster"]
3
+ 3:I[3450,["/app/_next/static/chunks/d2b5664aa6eb613c.js","/app/_next/static/chunks/846fd48826ed3d89.js","/app/_next/static/chunks/d78975cda9119543.js"],"default"]
4
+ 4:I[58973,["/app/_next/static/chunks/d2b5664aa6eb613c.js","/app/_next/static/chunks/846fd48826ed3d89.js","/app/_next/static/chunks/d78975cda9119543.js"],"default"]
5
+ 5:I[82860,["/app/_next/static/chunks/d2b5664aa6eb613c.js","/app/_next/static/chunks/846fd48826ed3d89.js","/app/_next/static/chunks/d78975cda9119543.js","/app/_next/static/chunks/9971428081f87b2e.js","/app/_next/static/chunks/913de10eeb8a88d9.js","/app/_next/static/chunks/7cadf95d4932deec.js","/app/_next/static/chunks/37e4ac5f3654a688.js","/app/_next/static/chunks/c7ce2c0e40c62b6b.js","/app/_next/static/chunks/42d0ae4192d72f8e.js","/app/_next/static/chunks/e0b6375c01566831.js"],"WorkspaceShell"]
6
6
  6:"$Sreact.suspense"
7
- 7:I[22924,["/app/_next/static/chunks/d2b5664aa6eb613c.js","/app/_next/static/chunks/b08f1ee81b569c60.js","/app/_next/static/chunks/d78975cda9119543.js","/app/_next/static/chunks/54ce15edde8ce98c.js","/app/_next/static/chunks/913de10eeb8a88d9.js","/app/_next/static/chunks/7cadf95d4932deec.js","/app/_next/static/chunks/37e4ac5f3654a688.js","/app/_next/static/chunks/d1e3d3d09ff4ed38.js","/app/_next/static/chunks/98a2db7a6b8d43c0.js","/app/_next/static/chunks/e0b6375c01566831.js","/app/_next/static/chunks/713b097e1a0b340b.js","/app/_next/static/chunks/1a900b3c5a00d59b.js","/app/_next/static/chunks/7e2887a3269dfc01.js","/app/_next/static/chunks/27d9a47efb23fd17.js","/app/_next/static/chunks/7c2d68248d759f50.js","/app/_next/static/chunks/d6c35821582ac6a8.js"],"default"]
8
- 12:I[40193,["/app/_next/static/chunks/d2b5664aa6eb613c.js","/app/_next/static/chunks/b08f1ee81b569c60.js","/app/_next/static/chunks/d78975cda9119543.js"],"default"]
7
+ 7:I[22924,["/app/_next/static/chunks/d2b5664aa6eb613c.js","/app/_next/static/chunks/846fd48826ed3d89.js","/app/_next/static/chunks/d78975cda9119543.js","/app/_next/static/chunks/9971428081f87b2e.js","/app/_next/static/chunks/913de10eeb8a88d9.js","/app/_next/static/chunks/7cadf95d4932deec.js","/app/_next/static/chunks/37e4ac5f3654a688.js","/app/_next/static/chunks/c7ce2c0e40c62b6b.js","/app/_next/static/chunks/42d0ae4192d72f8e.js","/app/_next/static/chunks/e0b6375c01566831.js","/app/_next/static/chunks/5b4c1faefda9575b.js","/app/_next/static/chunks/1a900b3c5a00d59b.js","/app/_next/static/chunks/7e2887a3269dfc01.js","/app/_next/static/chunks/27d9a47efb23fd17.js","/app/_next/static/chunks/ece085cc915ab5e5.js","/app/_next/static/chunks/7c2d68248d759f50.js"],"default"]
8
+ 12:I[40193,["/app/_next/static/chunks/d2b5664aa6eb613c.js","/app/_next/static/chunks/846fd48826ed3d89.js","/app/_next/static/chunks/d78975cda9119543.js"],"default"]
9
9
  :HL["/app/_next/static/chunks/7bdf0e5b41aeb209.css","style"]
10
- :HL["/app/_next/static/chunks/bff0a34243e1f2c7.css","style"]
11
- :HL["/app/_next/static/chunks/f0f534c89e005d26.css","style"]
10
+ :HL["/app/_next/static/chunks/dda0af99af0e0631.css","style"]
11
+ :HL["/app/_next/static/chunks/f37854d807ee41ac.css","style"]
12
12
  :HL["/app/_next/static/media/5c285b27cdda1fe8-s.p.a62025f2.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
13
13
  :HL["/app/_next/static/media/70bc3e132a0a741e-s.p.15008bfb.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
14
14
  :HL["/app/_next/static/media/c41ca59f1c34ba31-s.p.e20f337c.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
15
- 0:{"P":null,"b":"dNJkIrryvG5ItxyuCnnQF","p":"/app","c":["",""],"i":false,"f":[[["",{"children":["(workspace)",{"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/bff0a34243e1f2c7.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","2",{"rel":"stylesheet","href":"/app/_next/static/chunks/f0f534c89e005d26.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/app/_next/static/chunks/d2b5664aa6eb613c.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/app/_next/static/chunks/b08f1ee81b569c60.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/app/_next/static/chunks/d78975cda9119543.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":["(workspace)",["$","$1","c",{"children":[[["$","script","script-0",{"src":"/app/_next/static/chunks/54ce15edde8ce98c.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/app/_next/static/chunks/913de10eeb8a88d9.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/app/_next/static/chunks/7cadf95d4932deec.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/app/_next/static/chunks/37e4ac5f3654a688.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/app/_next/static/chunks/d1e3d3d09ff4ed38.js","async":true,"nonce":"$undefined"}],["$","script","script-5",{"src":"/app/_next/static/chunks/98a2db7a6b8d43c0.js","async":true,"nonce":"$undefined"}],["$","script","script-6",{"src":"/app/_next/static/chunks/e0b6375c01566831.js","async":true,"nonce":"$undefined"}]],["$","$L5",null,{"children":["$","$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":"$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."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$6",null,{"fallback":["$","div",null,{"className":"flex min-h-[40vh] flex-1 items-center justify-center gap-2 text-zinc-500","children":[["$","$L7",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"}]," 加载中"]}],"children":"$L8"}],["$L9","$La","$Lb","$Lc","$Ld","$Le"],"$Lf"]}],{},null,false]},null,false]},["$L10",[],[]],false],"$L11",false]],"m":"$undefined","G":["$12",["$L13","$L14","$L15"]],"s":false,"S":true}
16
- 16:I[69799,["/app/_next/static/chunks/d2b5664aa6eb613c.js","/app/_next/static/chunks/b08f1ee81b569c60.js","/app/_next/static/chunks/d78975cda9119543.js","/app/_next/static/chunks/54ce15edde8ce98c.js","/app/_next/static/chunks/913de10eeb8a88d9.js","/app/_next/static/chunks/7cadf95d4932deec.js","/app/_next/static/chunks/37e4ac5f3654a688.js","/app/_next/static/chunks/d1e3d3d09ff4ed38.js","/app/_next/static/chunks/98a2db7a6b8d43c0.js","/app/_next/static/chunks/e0b6375c01566831.js","/app/_next/static/chunks/713b097e1a0b340b.js","/app/_next/static/chunks/1a900b3c5a00d59b.js","/app/_next/static/chunks/7e2887a3269dfc01.js","/app/_next/static/chunks/27d9a47efb23fd17.js","/app/_next/static/chunks/7c2d68248d759f50.js","/app/_next/static/chunks/d6c35821582ac6a8.js"],"BridgeDebugApp",1]
17
- 17:I[65226,["/app/_next/static/chunks/d2b5664aa6eb613c.js","/app/_next/static/chunks/b08f1ee81b569c60.js","/app/_next/static/chunks/d78975cda9119543.js"],"OutletBoundary"]
18
- 19:I[80890,["/app/_next/static/chunks/d2b5664aa6eb613c.js","/app/_next/static/chunks/b08f1ee81b569c60.js","/app/_next/static/chunks/d78975cda9119543.js"],"AsyncMetadataOutlet"]
19
- 1b:I[65226,["/app/_next/static/chunks/d2b5664aa6eb613c.js","/app/_next/static/chunks/b08f1ee81b569c60.js","/app/_next/static/chunks/d78975cda9119543.js"],"ViewportBoundary"]
20
- 1d:I[65226,["/app/_next/static/chunks/d2b5664aa6eb613c.js","/app/_next/static/chunks/b08f1ee81b569c60.js","/app/_next/static/chunks/d78975cda9119543.js"],"MetadataBoundary"]
15
+ 0:{"P":null,"b":"sLkb5O425Rfm5_5LxMwvi","p":"/app","c":["",""],"i":false,"f":[[["",{"children":["(workspace)",{"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/dda0af99af0e0631.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","2",{"rel":"stylesheet","href":"/app/_next/static/chunks/f37854d807ee41ac.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/app/_next/static/chunks/d2b5664aa6eb613c.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/app/_next/static/chunks/846fd48826ed3d89.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/app/_next/static/chunks/d78975cda9119543.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":["(workspace)",["$","$1","c",{"children":[[["$","script","script-0",{"src":"/app/_next/static/chunks/9971428081f87b2e.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/app/_next/static/chunks/913de10eeb8a88d9.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/app/_next/static/chunks/7cadf95d4932deec.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/app/_next/static/chunks/37e4ac5f3654a688.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/app/_next/static/chunks/c7ce2c0e40c62b6b.js","async":true,"nonce":"$undefined"}],["$","script","script-5",{"src":"/app/_next/static/chunks/42d0ae4192d72f8e.js","async":true,"nonce":"$undefined"}],["$","script","script-6",{"src":"/app/_next/static/chunks/e0b6375c01566831.js","async":true,"nonce":"$undefined"}]],["$","$L5",null,{"children":["$","$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":"$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."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$6",null,{"fallback":["$","div",null,{"className":"flex min-h-[40vh] flex-1 items-center justify-center gap-2 text-zinc-500","children":[["$","$L7",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"}]," 加载中"]}],"children":"$L8"}],["$L9","$La","$Lb","$Lc","$Ld","$Le"],"$Lf"]}],{},null,false]},null,false]},["$L10",[],[]],false],"$L11",false]],"m":"$undefined","G":["$12",["$L13","$L14","$L15"]],"s":false,"S":true}
16
+ 16:I[69799,["/app/_next/static/chunks/d2b5664aa6eb613c.js","/app/_next/static/chunks/846fd48826ed3d89.js","/app/_next/static/chunks/d78975cda9119543.js","/app/_next/static/chunks/9971428081f87b2e.js","/app/_next/static/chunks/913de10eeb8a88d9.js","/app/_next/static/chunks/7cadf95d4932deec.js","/app/_next/static/chunks/37e4ac5f3654a688.js","/app/_next/static/chunks/c7ce2c0e40c62b6b.js","/app/_next/static/chunks/42d0ae4192d72f8e.js","/app/_next/static/chunks/e0b6375c01566831.js","/app/_next/static/chunks/5b4c1faefda9575b.js","/app/_next/static/chunks/1a900b3c5a00d59b.js","/app/_next/static/chunks/7e2887a3269dfc01.js","/app/_next/static/chunks/27d9a47efb23fd17.js","/app/_next/static/chunks/ece085cc915ab5e5.js","/app/_next/static/chunks/7c2d68248d759f50.js"],"BridgeDebugApp",1]
17
+ 17:I[65226,["/app/_next/static/chunks/d2b5664aa6eb613c.js","/app/_next/static/chunks/846fd48826ed3d89.js","/app/_next/static/chunks/d78975cda9119543.js"],"OutletBoundary"]
18
+ 19:I[80890,["/app/_next/static/chunks/d2b5664aa6eb613c.js","/app/_next/static/chunks/846fd48826ed3d89.js","/app/_next/static/chunks/d78975cda9119543.js"],"AsyncMetadataOutlet"]
19
+ 1b:I[65226,["/app/_next/static/chunks/d2b5664aa6eb613c.js","/app/_next/static/chunks/846fd48826ed3d89.js","/app/_next/static/chunks/d78975cda9119543.js"],"ViewportBoundary"]
20
+ 1d:I[65226,["/app/_next/static/chunks/d2b5664aa6eb613c.js","/app/_next/static/chunks/846fd48826ed3d89.js","/app/_next/static/chunks/d78975cda9119543.js"],"MetadataBoundary"]
21
21
  8:["$","$L16",null,{}]
22
- 9:["$","script","script-0",{"src":"/app/_next/static/chunks/713b097e1a0b340b.js","async":true,"nonce":"$undefined"}]
22
+ 9:["$","script","script-0",{"src":"/app/_next/static/chunks/5b4c1faefda9575b.js","async":true,"nonce":"$undefined"}]
23
23
  a:["$","script","script-1",{"src":"/app/_next/static/chunks/1a900b3c5a00d59b.js","async":true,"nonce":"$undefined"}]
24
24
  b:["$","script","script-2",{"src":"/app/_next/static/chunks/7e2887a3269dfc01.js","async":true,"nonce":"$undefined"}]
25
25
  c:["$","script","script-3",{"src":"/app/_next/static/chunks/27d9a47efb23fd17.js","async":true,"nonce":"$undefined"}]
26
- d:["$","script","script-4",{"src":"/app/_next/static/chunks/7c2d68248d759f50.js","async":true,"nonce":"$undefined"}]
27
- e:["$","script","script-5",{"src":"/app/_next/static/chunks/d6c35821582ac6a8.js","async":true,"nonce":"$undefined"}]
26
+ d:["$","script","script-4",{"src":"/app/_next/static/chunks/ece085cc915ab5e5.js","async":true,"nonce":"$undefined"}]
27
+ e:["$","script","script-5",{"src":"/app/_next/static/chunks/7c2d68248d759f50.js","async":true,"nonce":"$undefined"}]
28
28
  f:["$","$L17",null,{"children":["$L18",["$","$L19",null,{"promise":"$@1a"}]]}]
29
29
  10:["$","div","l",{"className":"flex min-h-[40vh] flex-1 items-center justify-center gap-2 text-zinc-500","children":[["$","$L7",null,{"ref":"$undefined","iconNode":"$0:f:0:1:2:children:2:children:1:props:children:0:props:fallback:props:children:0:props:iconNode","className":"lucide-loader-circle animate-spin text-muted-foreground","size":16,"color":"currentColor","strokeWidth":2,"aria-hidden":"true"}]," 加载中"]}]
30
30
  11:["$","$1","h",{"children":[null,[["$","$L1b",null,{"children":"$L1c"}],["$","meta",null,{"name":"next-size-adjust","content":""}]],["$","$L1d",null,{"children":["$","div",null,{"hidden":true,"children":["$","$6",null,{"fallback":null,"children":"$L1e"}]}]}]]}]
31
31
  13:["$","link","0",{"rel":"stylesheet","href":"/app/_next/static/chunks/7bdf0e5b41aeb209.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]
32
- 14:["$","link","1",{"rel":"stylesheet","href":"/app/_next/static/chunks/bff0a34243e1f2c7.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]
33
- 15:["$","link","2",{"rel":"stylesheet","href":"/app/_next/static/chunks/f0f534c89e005d26.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]
32
+ 14:["$","link","1",{"rel":"stylesheet","href":"/app/_next/static/chunks/dda0af99af0e0631.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]
33
+ 15:["$","link","2",{"rel":"stylesheet","href":"/app/_next/static/chunks/f37854d807ee41ac.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]
34
34
  1c:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
35
35
  18:null
36
36
  1a:{"metadata":[["$","title","0",{"children":"Claude Code测试平台"}],["$","meta","1",{"name":"description","content":"Claude Code测试平台"}]],"error":null,"digest":"$undefined"}