@auto-ai/agent 2.1.194 → 2.1.196
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/safe-a/404/index.html +1 -1
- package/dist/safe-a/404.html +1 -1
- package/dist/safe-a/_next/static/chunks/136b0e67059516ec.js +1 -0
- package/dist/safe-a/_next/static/chunks/13f563091bb5e693.js +1 -0
- package/dist/safe-a/_next/static/chunks/1c058f8cbbecf3b6.css +1 -0
- package/dist/safe-a/_next/static/chunks/2fcf41242e56194f.js +1 -0
- package/dist/safe-a/_next/static/chunks/30ff9a37b9c6f0c2.js +1 -0
- package/dist/safe-a/_next/static/chunks/{5f0286b194e88c68.js → 38e41a7446bfb002.js} +1 -1
- package/dist/safe-a/_next/static/chunks/{eca5690d7fb3d712.js → 4cea3dc4bc693bae.js} +1 -1
- package/dist/safe-a/_next/static/chunks/{96feacf5b8cde310.js → 6ede5e68b521425a.js} +1 -1
- package/dist/safe-a/_next/static/chunks/7a86f14161d3d2d8.js +1 -0
- package/dist/safe-a/_next/static/chunks/7b2661b7ec3fa4f6.js +1 -0
- package/dist/safe-a/_next/static/chunks/89ac60ccbd69e7d0.js +1 -0
- package/dist/safe-a/_next/static/chunks/{e784a1fa0acaaaa0.css → 98bb493cc14b29b8.css} +1 -1
- package/dist/safe-a/_next/static/chunks/{518d4c901787979a.js → 9edfab69bc0e5607.js} +1 -1
- package/dist/safe-a/_next/static/chunks/{760380631ca561e0.js → a7646d18f644b515.js} +1 -1
- package/dist/safe-a/_next/static/chunks/{f1dde9052e8d1d3d.js → c987866e1b5e538e.js} +1 -1
- package/dist/safe-a/_next/static/chunks/{9dcb662588dbf520.js → d36ccfb77a3b125c.js} +1 -1
- package/dist/safe-a/_next/static/chunks/{69aecc2a7893ba05.js → e300e51730b09886.js} +1 -1
- package/dist/safe-a/_next/static/chunks/e49f12b147341b78.js +1 -0
- package/dist/safe-a/_next/static/chunks/{1d5160bb440a1e1b.js → f31029be820cb46d.js} +1 -1
- package/dist/safe-a/_next/static/chunks/f660a559fce684d3.js +1 -0
- package/dist/safe-a/_next/static/chunks/fddc8491e9085327.js +1 -0
- package/dist/safe-a/index.html +2 -2
- package/dist/safe-a/index.txt +10 -10
- package/dist/safe-a/manage/about/index.html +2 -2
- package/dist/safe-a/manage/about/index.txt +11 -11
- package/dist/safe-a/manage/env/index.html +2 -2
- package/dist/safe-a/manage/env/index.txt +13 -13
- package/dist/safe-a/manage/geelib/index.html +2 -2
- package/dist/safe-a/manage/geelib/index.txt +13 -13
- package/dist/safe-a/manage/general/index.html +2 -2
- package/dist/safe-a/manage/general/index.txt +11 -11
- package/dist/safe-a/manage/git/index.html +2 -2
- package/dist/safe-a/manage/git/index.txt +13 -13
- package/dist/safe-a/manage/im/index.html +2 -2
- package/dist/safe-a/manage/im/index.txt +13 -13
- package/dist/safe-a/manage/index.html +2 -2
- package/dist/safe-a/manage/index.txt +8 -8
- package/dist/safe-a/manage/library/index.html +2 -2
- package/dist/safe-a/manage/library/index.txt +12 -12
- package/dist/safe-a/manage/mcp/index.html +2 -2
- package/dist/safe-a/manage/mcp/index.txt +11 -11
- package/dist/safe-a/manage/permissions/index.html +2 -2
- package/dist/safe-a/manage/permissions/index.txt +11 -11
- package/dist/safe-a/manage/skills/index.html +2 -2
- package/dist/safe-a/manage/skills/index.txt +11 -11
- package/dist/safe-a/manage/system/index.html +2 -2
- package/dist/safe-a/manage/system/index.txt +13 -13
- package/dist/safe-a/manage/task/index.html +2 -2
- package/dist/safe-a/manage/task/index.txt +11 -11
- package/dist/safe-a/manage/teams/index.html +2 -2
- package/dist/safe-a/manage/teams/index.txt +11 -11
- package/dist/safe-a/manage/tools/index.html +2 -2
- package/dist/safe-a/manage/tools/index.txt +11 -11
- package/package.json +6 -6
- package/dist/safe-a/_next/static/chunks/074a7a892d554827.js +0 -1
- package/dist/safe-a/_next/static/chunks/2ba468c7afb852bd.js +0 -1
- package/dist/safe-a/_next/static/chunks/33678ff357855160.js +0 -1
- package/dist/safe-a/_next/static/chunks/65982c1925fca4ab.js +0 -1
- package/dist/safe-a/_next/static/chunks/6ddf95b168bfbc36.js +0 -1
- package/dist/safe-a/_next/static/chunks/743bc613bbda46b4.css +0 -1
- package/dist/safe-a/_next/static/chunks/811897ffb3636359.js +0 -1
- package/dist/safe-a/_next/static/chunks/a56ab101155b1427.js +0 -1
- package/dist/safe-a/_next/static/chunks/cb85ccd601c65174.js +0 -1
- package/dist/safe-a/_next/static/chunks/ceead8f438e931f7.js +0 -1
- /package/dist/safe-a/_next/static/{fnecaAU1IOv7M644xhyOD → nwO0QCBdBfGqbYMxcUsla}/_buildManifest.js +0 -0
- /package/dist/safe-a/_next/static/{fnecaAU1IOv7M644xhyOD → nwO0QCBdBfGqbYMxcUsla}/_clientMiddlewareManifest.json +0 -0
- /package/dist/safe-a/_next/static/{fnecaAU1IOv7M644xhyOD → nwO0QCBdBfGqbYMxcUsla}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,20783,e=>{"use strict";e.s(["composeRefs",()=>n,"useComposedRefs",()=>o]);var t=e.i(71645);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{let n=!1,o=t.map(t=>{let o=r(t,e);return n||"function"!=typeof o||(n=!0),o});if(n)return()=>{for(let e=0;e<o.length;e++){let n=o[e];"function"==typeof n?n():r(t[e],null)}}}}function o(){for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];return t.useCallback(n(...r),r)}},24687,e=>{"use strict";e.s(["Textarea",()=>n]);var t=e.i(18050),r=e.i(75157);function n(e){let{className:n,...o}=e;return(0,t.jsx)("textarea",{"data-slot":"textarea",className:(0,r.cn)("flex min-h-20 w-full rounded-md border border-solid border-border bg-transparent px-3 py-2 text-base outline-none transition-[color,box-shadow,border-color] duration-150 ease-in-out placeholder:text-muted-foreground hover:border-[var(--border-hover)] focus-visible:border-[var(--border-focus)] focus-visible:[box-shadow:var(--ring-focus-sm)] read-only:focus-visible:border-border read-only:focus-visible:[box-shadow:none] disabled:cursor-not-allowed disabled:opacity-50 disabled:focus-visible:border-border disabled:focus-visible:[box-shadow:none]",n),...o})}},98183,(e,t,r)=>{"use strict";function n(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function o(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function u(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,o(e));else t.set(r,o(n));return t}function i(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(let t of r){for(let r of t.keys())e.delete(r);for(let[r,n]of t.entries())e.append(r,n)}return e}Object.defineProperty(r,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(r,{assign:function(){return i},searchParamsToUrlQuery:function(){return n},urlQueryToSearchParams:function(){return u}})},95057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(r,{formatUrl:function(){return u},formatWithValidation:function(){return a},urlObjectKeys:function(){return i}});let n=e.r(90809)._(e.r(98183)),o=/https?|ftp|gopher|file/;function u(e){let{auth:t,hostname:r}=e,u=e.protocol||"",i=e.pathname||"",a=e.hash||"",s=e.query||"",l=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?l=t+e.host:r&&(l=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(l+=":"+e.port)),s&&"object"==typeof s&&(s=String(n.urlQueryToSearchParams(s)));let c=e.search||s&&"?"+s||"";return u&&!u.endsWith(":")&&(u+=":"),e.slashes||(!u||o.test(u))&&!1!==l?(l="//"+(l||""),i&&"/"!==i[0]&&(i="/"+i)):l||(l=""),a&&"#"!==a[0]&&(a="#"+a),c&&"?"!==c[0]&&(c="?"+c),""+u+l+(i=i.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+a}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function a(e){return u(e)}},18967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(r,{DecodeError:function(){return b},MiddlewareNotFoundError:function(){return v},MissingStaticPage:function(){return m},NormalizeError:function(){return y},PageNotFoundError:function(){return g},SP:function(){return p},ST:function(){return h},WEB_VITALS:function(){return n},execOnce:function(){return o},getDisplayName:function(){return l},getLocationOrigin:function(){return a},getURL:function(){return s},isAbsoluteUrl:function(){return i},isResSent:function(){return c},loadGetInitialProps:function(){return d},normalizeRepeatedSlashes:function(){return f},stringifyError:function(){return P}});let n=["CLS","FCP","FID","INP","LCP","TTFB"];function o(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),u=0;u<n;u++)o[u]=arguments[u];return r||(r=!0,t=e(...o)),t}}let u=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=e=>u.test(e);function a(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function s(){let{href:e}=window.location,t=a();return e.substring(t.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function c(e){return e.finished||e.headersSent}function f(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function d(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await d(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&c(r))return n;if(!n)throw Object.defineProperty(Error('"'+l(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let p="undefined"!=typeof performance,h=p&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class b extends Error{}class y extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class m extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class v extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function P(e){return JSON.stringify({message:e.message,stack:e.stack})}},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return u}});let n=e.r(18967),o=e.r(52817);function u(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},84508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},22016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(r,{default:function(){return y},useLinkStatus:function(){return m}});let n=e.r(90809),o=e.r(18050),u=n._(e.r(71645)),i=e.r(95057),a=e.r(8372),s=e.r(18581),l=e.r(18967),c=e.r(84395);e.r(33525);let f=e.r(91949),d=e.r(73668),p=e.r(99781);e.r(84508);let h=e.r(65165);function b(e){return"string"==typeof e?e:(0,i.formatUrl)(e)}function y(e){var t;let r,n,i,[y,m]=(0,u.useOptimistic)(f.IDLE_LINK_STATUS),v=(0,u.useRef)(null),{href:P,as:x,children:E,prefetch:O=null,passHref:T,replace:_,shallow:j,scroll:S,onClick:C,onMouseEnter:A,onTouchStart:N,legacyBehavior:R=!1,onNavigate:w,ref:L,unstable_dynamicOnHover:U,...I}=e;r=E,R&&("string"==typeof r||"number"==typeof r)&&(r=(0,o.jsx)("a",{children:r}));let M=u.default.useContext(a.AppRouterContext),k=!1!==O,F=!1!==O?null===(t=O)||"auto"===t?h.FetchStrategy.PPR:h.FetchStrategy.Full:h.FetchStrategy.PPR,{href:D,as:K}=u.default.useMemo(()=>{let e=b(P);return{href:e,as:x?b(x):e}},[P,x]);R&&(n=u.default.Children.only(r));let B=R?n&&"object"==typeof n&&n.ref:L,z=u.default.useCallback(e=>(null!==M&&(v.current=(0,f.mountLinkInstance)(e,D,M,F,k,m)),()=>{v.current&&((0,f.unmountLinkForCurrentNavigation)(v.current),v.current=null),(0,f.unmountPrefetchableInstance)(e)}),[k,D,M,F,m]),Q={ref:(0,s.useMergedRef)(z,B),onClick(e){R||"function"!=typeof C||C(e),R&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),M&&(e.defaultPrevented||function(e,t,r,n,o,i,a){let{nodeName:s}=e.currentTarget;if(!("A"===s.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,d.isLocalURL)(t)){o&&(e.preventDefault(),location.replace(t));return}if(e.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}u.default.startTransition(()=>{(0,p.dispatchNavigateAction)(r||t,o?"replace":"push",null==i||i,n.current)})}}(e,D,K,v,_,S,w))},onMouseEnter(e){R||"function"!=typeof A||A(e),R&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),M&&k&&(0,f.onNavigationIntent)(e.currentTarget,!0===U)},onTouchStart:function(e){R||"function"!=typeof N||N(e),R&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),M&&k&&(0,f.onNavigationIntent)(e.currentTarget,!0===U)}};return(0,l.isAbsoluteUrl)(K)?Q.href=K:R&&!T&&("a"!==n.type||"href"in n.props)||(Q.href=(0,c.addBasePath)(K)),i=R?u.default.cloneElement(n,Q):(0,o.jsx)("a",{...I,...Q,children:r}),(0,o.jsx)(g.Provider,{value:y,children:i})}let g=(0,u.createContext)(f.IDLE_LINK_STATUS),m=()=>(0,u.useContext)(g);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,92715,e=>{"use strict";e.s(["AppTable",()=>u],92715);var t=e.i(18050),a=e.i(85413),s=e.i(71645),l=e.i(75157);let r=s.forwardRef((e,a)=>{let{className:s,...r}=e;return(0,t.jsx)("div",{className:"relative w-full overflow-auto",children:(0,t.jsx)("table",{ref:a,className:(0,l.cn)("w-full caption-bottom border-collapse",s),...r})})});r.displayName="Table";let n=s.forwardRef((e,a)=>{let{className:s,...r}=e;return(0,t.jsx)("thead",{ref:a,className:(0,l.cn)("[&_tr]:table [&_tr]:w-full [&_tr]:table-fixed [&_tr]:border-b",s),...r})});n.displayName="TableHeader";let i=s.forwardRef((e,a)=>{let{className:r,viewportFit:n=!0,viewportReserveBottom:i=16,viewportPaginationReserve:o=0,style:d,...c}=e,u=s.useRef(null),m=s.useCallback(e=>{u.current=e,"function"==typeof a?a(e):a&&(a.current=e)},[a]),[p,x]=s.useState(void 0);return s.useLayoutEffect(()=>{var e,t;if(!n)return void x(void 0);let a=()=>{var e,t;let a=u.current;if(!a)return;let s=a.getBoundingClientRect().top;x(Math.max(80,Math.floor((null!=(t=null==(e=window.visualViewport)?void 0:e.height)?t:window.innerHeight)-s-(i+o))))};a();let s=new ResizeObserver(()=>{a()});try{s.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;s.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,l.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",r),style:n&&void 0!==p?{...d,maxHeight:p}:d,...c})});i.displayName="TableBody";let o=s.forwardRef((e,a)=>{let{className:s,hoverable:r=!0,...n}=e;return(0,t.jsx)("tr",{ref:a,className:(0,l.cn)("border-b transition-colors [&>td]:transition-colors data-[state=selected]:[&>td]:!bg-[var(--ds-item-active)]",r&&"group/table-row",s),...n})});o.displayName="TableRow";let d=s.forwardRef((e,a)=>{let{className:s,...r}=e;return(0,t.jsx)("th",{ref:a,className:(0,l.cn)("h-10 border-b border-[var(--border-subtle)] bg-[var(--surface-2)] px-3 text-left align-middle text-[14px] font-medium !text-[var(--ds-text)] text-muted-foreground",s),...r})});d.displayName="TableHead";let c=s.forwardRef((e,a)=>{let{className:s,...r}=e;return(0,t.jsx)("td",{ref:a,className:(0,l.cn)("border-x-0 border-b border-t-0 border-solid border-[var(--border-subtle)] p-3 align-middle transition-colors group-has-[td:hover]/table-row:!bg-[var(--ds-item-hover)]",s),...r})});function u(e){let{rows:s,columns:u,getRowKey:m,className:p,rowClassName:x,headerRowClassName:f,emptyText:g,emptyNode:b,bodyProps:h}=e;return(0,t.jsx)("div",{className:(0,l.cn)("overflow-hidden border border-[var(--ds-border)]",p),children:(0,t.jsxs)(r,{children:[(0,t.jsx)(n,{children:(0,t.jsx)(o,{className:(0,l.cn)("bg-[var(--ds-main-tint)] hover:bg-[var(--ds-main-tint)]",f),children:u.map(e=>(0,t.jsx)(d,{className:e.headerClassName,children:e.title},e.key))})}),(0,t.jsx)(i,{...h,children:s.length?s.map(e=>(0,t.jsx)(o,{className:"function"==typeof x?x(e):x,children:u.map(a=>(0,t.jsx)(c,{className:a.cellClassName,children:a.render(e)},a.key))},m(e))):(0,t.jsx)(o,{hoverable:!1,children:(0,t.jsx)(c,{colSpan:u.length,className:"py-6",children:null!=b?b:(0,t.jsx)(a.Empty,{text:g})})})})]})})}c.displayName="TableCell"},55242,e=>{"use strict";e.s(["AppDialog",()=>r]);var t=e.i(18050),a=e.i(71645),s=e.i(76639),l=e.i(75157);function r(e){let{open:r,onOpenChange:n,title:i,children:o,footer:d,width:c="max-w-3xl",minHeight:u}=e,m=(0,a.useId)();return(0,t.jsx)(s.Dialog,{open:r,onOpenChange:n,children:(0,t.jsxs)(s.DialogContent,{"aria-labelledby":m,className:(0,l.cn)(c,u?"!min-h-[--min-h]":""),style:u?{"--min-h":u}:void 0,children:[(0,t.jsxs)(s.DialogHeader,{children:[(0,t.jsx)(s.DialogTitle,{id:m,children:i}),(0,t.jsx)(s.DialogClose,{"aria-label":"关闭"})]}),(0,t.jsx)(s.DialogBody,{className:"!px-4 !py-3",children:o}),d?(0,t.jsx)("div",{className:"flex flex-shrink-0 justify-end gap-2 border-t border-[var(--ds-border)] bg-[var(--ds-sidebar)] px-4 py-3",children:d}):null]})})}},62427,e=>{"use strict";e.s(["clearRuntimeMcpItemConfig",()=>y,"deleteRuntimeMcp",()=>m,"deleteRuntimeSkill",()=>w,"deleteRuntimeTool",()=>u,"exportRuntimeMcpUrl",()=>x,"exportRuntimeSkillUrl",()=>N,"exportRuntimeToolUrl",()=>p,"importRuntimeMcp",()=>g,"importRuntimeTool",()=>f,"installCloudSkill",()=>C,"listBaseSkills",()=>r,"listCloudSkillCatalog",()=>k,"listInstalledSkills",()=>n,"listInstalledTools",()=>l,"listMcpServers",()=>s,"listRuntimeMcpPackages",()=>c,"listRuntimeTools",()=>d,"loadBaseSkillMd",()=>i,"loadRemoteMcpJson",()=>b,"loadRuntimeMcpItemConfig",()=>v,"saveBaseSkillMd",()=>o,"saveRemoteMcpJson",()=>h,"saveRuntimeMcpItemConfig",()=>j]);var t=e.i(29250),a=e.i(36845);async function s(e,s,l){let r=await (0,t.get)((0,a.buildMcpServersListUrl)(e,s,l));return{servers:Array.isArray(r.servers)?r.servers:[]}}async function l(e,s,l){let r=await (0,t.get)((0,a.buildToolInstalledListUrl)(e,s,l));return{tools:Array.isArray(r.tools)?r.tools:[]}}async function r(e,s,l){let r=await (0,t.get)((0,a.buildSkillBaseListUrl)(e,s,l));return{skills:Array.isArray(r.skills)?r.skills:[]}}async function n(e,s,l){let r=await (0,t.get)((0,a.buildSkillInstalledListUrl)(e,s,l));return{skills:Array.isArray(r.skills)?r.skills:[]}}async function i(e,s,l,r){return(0,t.get)((0,a.buildBaseSkillMdUrl)(e,s,l,r))}async function o(e,s,l,r,n){await (0,t.put)((0,a.buildBaseSkillMdUrl)(e,s,l,r),{content:n})}async function d(e,s,l){let r=await (0,t.get)((0,a.buildToolsRuntimeFilesUrl)(e,s,l));return{runtimeToolsDir:"string"==typeof r.runtimeToolsDir?r.runtimeToolsDir:"",items:Array.isArray(r.items)?r.items.filter(e=>!!(e&&e.id)):[]}}async function c(e,s,l){let r=await (0,t.get)((0,a.buildMcpRuntimeFilesUrl)(e,s,l));return{mcpRuntimeDir:"string"==typeof r.mcpRuntimeDir?r.mcpRuntimeDir:"",items:Array.isArray(r.items)?r.items.filter(e=>!!(e&&e.id)):[]}}async function u(e,s,l,r){return(0,t.del)((0,a.buildToolsRuntimeDeleteUrl)(e,s,l,r))}async function m(e,s,l,r){return(0,t.del)((0,a.buildMcpRuntimeDeleteUrl)(e,s,l,r))}function p(e,t,s,l){return(0,a.buildToolsRuntimeExportUrl)(e,t,s,l)}function x(e,t,s,l){return(0,a.buildMcpRuntimeExportUrl)(e,t,s,l)}async function f(e,s,l,r){let n=new FormData;return n.append("file",r),(0,t.post)((0,a.buildToolsRuntimeImportUrl)(e,s,l),n,{type:"file"})}async function g(e,s,l,r){let n=new FormData;return n.append("file",r),(0,t.post)((0,a.buildMcpRuntimeImportUrl)(e,s,l),n,{type:"file"})}async function b(e,s,l){return(0,t.get)((0,a.buildRemoteMcpJsonUrl)(e,s,l))}async function h(e,s,l,r){await (0,t.post)((0,a.buildRemoteMcpJsonUrl)(e,s,l),{content:r})}async function v(e,s,l,r,n){return(0,t.get)((0,a.buildRuntimeMcpItemConfigUrl)(e,s,l,r,n))}async function j(e,s,l,r,n,i){await (0,t.put)((0,a.buildRuntimeMcpItemConfigUrl)(e,s,l,r,n),{server:i})}async function y(e,s,l,r,n){await (0,t.del)((0,a.buildRuntimeMcpItemConfigUrl)(e,s,l,r,n))}async function w(e,s,l,r){return(0,t.del)((0,a.buildSkillsRuntimeDeleteUrl)(e,s,l,r))}function N(e,t,s,l){return(0,a.buildSkillsRuntimeExportUrl)(e,t,s,l)}async function k(e,s,l,r,n,i){let o=await (0,t.get)((0,a.buildCloudSkillCatalogUrl)(e,s,l,r,n,i));return{items:Array.isArray(o.items)?o.items:[],totalPages:Number(o.totalPages||0)}}async function C(e,s,l,r){await (0,t.post)((0,a.buildCloudSkillInstallUrl)(e,s,l),{id:r})}},53925,e=>{"use strict";e.s(["ResourceImportDialog",()=>u],53925);var t=e.i(18050),a=e.i(71645),s=e.i(72064),l=e.i(75157),r=e.i(19455);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:d=!1,multiple:c=!1,maxFileSize:u=0x3200000,autoUpload:m=!1,method:p="POST",transport:x="xhr",fieldName:f="file",headers:g,extraFormData:b,autoRetryTimes:h=0,autoRetryDelayMs:v=800,selectionOnly:j=!1,className:y,emptyTitle:w="点击或拖拽文件到此处",emptyHint:N="支持上传文件",onFilesChange:k,onUploadSuccess:C,onUploadError:T,onValidationError:R}=e,S=a.useId(),U=a.useRef(null),M=a.useRef(new Map),D=a.useRef(new Map),A=a.useRef([]),[E,L]=a.useState(!1),[z,I]=a.useState([]),B=a.useMemo(()=>o?o.split(",").map(e=>e.trim().toLowerCase()).filter(Boolean):[],[o]);a.useEffect(()=>{A.current=z,null==k||k(z)},[z,k]),a.useEffect(()=>()=>{for(let e of M.current.values())e.abort();for(let e of D.current.values())e.abort();for(let e of A.current)e.previewUrl&&URL.revokeObjectURL(e.previewUrl)},[]);let O=a.useCallback((e,t)=>{I(a=>a.map(a=>a.id===e?{...a,...t}:a))},[]),_=a.useCallback(async(e,t)=>{let a=A.current.find(t=>t.id===e);if(!a||d)return;O(e,{status:t>0?"retrying":"uploading",progress:0,error:"",retryCount:t});let s=new FormData;if(b)for(let[e,t]of Object.entries(b))s.append(e,t);s.append(f,a.file);try{let t="";if("fetch"===x){let a=new AbortController;D.current.set(e,a);let l=await fetch(i,{method:p,headers:g,body:s,signal:a.signal}),r=await l.text();try{t=r?JSON.parse(r):""}catch(e){t=r}if(!l.ok)throw Error("上传失败:".concat(l.status," ").concat(l.statusText))}else t=await new Promise((t,a)=>{let l=new XMLHttpRequest;if(M.current.set(e,l),l.open(p,i,!0),g)for(let[e,t]of Object.entries(g))l.setRequestHeader(e,t);l.upload.onprogress=t=>{if(!t.lengthComputable)return;let a=Math.min(100,Math.round(t.loaded/t.total*100));O(e,{progress:a})},l.onerror=()=>a(Error("网络异常,上传失败")),l.onabort=()=>a(Error("__ABORTED__")),l.onload=()=>{l.status>=200&&l.status<300?t(function(e){let t=e.responseText||"";try{return JSON.parse(t)}catch(e){return t}}(l)):a(Error("上传失败:".concat(l.status," ").concat(l.statusText)))},l.send(s)});O(e,{status:"success",progress:100,error:""});let a=A.current.find(t=>t.id===e);a&&(null==C||C(a,t))}catch(l){let a=l instanceof Error?l.message:String(l);if("__ABORTED__"===a)return void O(e,{status:"selected",progress:0,error:""});if(t<h){O(e,{status:"retrying",error:"重试中(".concat(t+1,"/").concat(h,")")}),await new Promise(e=>window.setTimeout(e,v)),await _(e,t+1);return}O(e,{status:"error",error:a});let s=A.current.find(t=>t.id===e);s&&(null==T||T(s,a))}finally{M.current.delete(e),D.current.delete(e)}},[v,h,d,b,f,g,p,T,C,x,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=D.current.get(e))||a.abort()},[]),W=a.useCallback(()=>{for(let e of A.current)("selected"===e.status||"error"===e.status)&&P(e.id)},[P]),H=a.useCallback(e=>{if(d||!e.length)return;let t=new Set(A.current.map(e=>"".concat(e.file.name,"::").concat(e.file.size))),a=[];for(let s of e){let e="".concat(s.name,"::").concat(s.size);if(!t.has(e)){if(!function(e,t){if(!t.length)return!0;let a=e.name.toLowerCase(),s=(e.type||"").toLowerCase();return t.some(e=>e.startsWith(".")?a.endsWith(e):e.endsWith("/*")?s.startsWith("".concat(e.slice(0,-1))):s===e)}(s,B)){null==R||R("文件类型不支持:".concat(s.name));continue}if(s.size>u){null==R||R("文件过大(最大 ".concat(n(u),"):").concat(s.name));continue}t.add(e),a.push({id:"".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2,8)),file:s,status:"selected",progress:0,error:"",retryCount:0,previewUrl:s.type.startsWith("image/")?URL.createObjectURL(s):""})}}if(!a.length)return;let s=c?[...A.current,...a]:[a[a.length-1]];if(!c)for(let e of A.current)e.previewUrl&&URL.revokeObjectURL(e.previewUrl);if(I(s),m&&!j)for(let e of a)P(e.id)},[B,m,d,u,c,R,j,P]),J=a.useCallback(e=>{let t=e.target.files;t&&(H(Array.from(t)),e.target.value="")},[H]),V=a.useCallback(e=>{var t;e.preventDefault(),e.stopPropagation(),L(!1),d||H(Array.from(null!=(t=e.dataTransfer.files)?t:[]))},[H,d]);return(0,t.jsxs)("div",{className:(0,l.cn)("flex min-h-0 w-full flex-col gap-3",y),children:[(0,t.jsx)("input",{ref:U,id:S,type:"file",hidden:!0,accept:o,multiple:c,disabled:d,onChange:J}),(0,t.jsxs)("label",{htmlFor:S,onDragOver:e=>{e.preventDefault(),d||L(!0)},onDragLeave:e=>{e.preventDefault(),L(!1)},onDrop:V,className:(0,l.cn)("flex min-h-[124px] cursor-pointer flex-col items-center justify-center gap-1 rounded-lg border border-dashed border-[var(--ds-border)] px-4 py-6 text-center transition-colors hover:border-[var(--ds-border-hover)] hover:bg-[var(--ds-main-tint)]",E&&"bg-[var(--ds-accent)]/5 border-[var(--ds-accent)]",d&&"cursor-not-allowed opacity-60"),children:[(0,t.jsx)(s.default,{name:"Upload",size:20,className:"text-[var(--ds-muted)]"}),(0,t.jsx)("div",{className:"text-[var(--ds-text)]",children:w}),(0,t.jsx)("div",{className:"text-[var(--ds-muted)]",children:N})]}),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-border)] 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-main-tint)]",children:(0,t.jsx)("div",{className:"h-full bg-[var(--ds-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]}),j?null:(0,t.jsxs)("div",{className:"flex items-center gap-1",children:["success"===e.status?(0,t.jsx)(s.default,{name:"CheckCircle2",size:16,className:"text-[var(--ds-accent)]"}):null,"selected"===e.status||"error"===e.status?(0,t.jsxs)(r.Button,{type:"button",size:"sm",variant:"outline",disabled:d,onClick:()=>P(e.id),children:["error"===e.status?(0,t.jsx)(s.default,{name:"RefreshCw",size:14,className:"mr-1"}):null,"error"===e.status?"重试":"上传"]}):null,"uploading"===e.status||"retrying"===e.status?(0,t.jsxs)(r.Button,{type:"button",size:"sm",variant:"outline",onClick:()=>F(e.id),children:[(0,t.jsx)(s.default,{name:"XCircle",size:14,className:"mr-1"}),"取消"]}):null]})]})},e.id))}):null,!j&&!m&&z.some(e=>"selected"===e.status||"error"===e.status)?(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)(r.Button,{type:"button",size:"sm",onClick:W,disabled:d,children:"上传"})}):null]})}var o=e.i(76639),d=e.i(13354),c=e.i(29250);function u(e){let{open:s,onOpenChange:l,title:n,description:u,uploadUrl:m,resetKey:p}=e,[x,f]=(0,a.useState)(!1),[g,b]=(0,a.useState)(null),h=(0,a.useCallback)(()=>{l(!1),b(null)},[l]),v=(0,a.useCallback)(async()=>{if(!g)return void d.appToast.info("请先选择 zip 文件");let e=new FormData;e.append("file",g),f(!0);try{let t=await (0,c.bridgeFetch)(m,{method:"POST",body:e}),a=Number(t.imported||0),s=Number(t.overwritten||0),l=Array.isArray(t.rejected)?t.rejected.length:0;d.appToast.success("导入完成:导入 ".concat(a,",覆盖 ").concat(s)+(l>0?",拒绝 ".concat(l):"")),h()}catch(e){d.appToast.error("导入失败:".concat(e instanceof Error?e.message:String(e)))}finally{f(!1)}},[h,g,m]);return(0,t.jsx)(o.Dialog,{open:s,onOpenChange:e=>{l(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:h,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:x,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=>{d.appToast.info(e)}},"".concat(s?"open":"closed","-").concat(null!=p?p:m)),(0,t.jsxs)("div",{className:"mt-auto flex justify-end pt-2",children:[(0,t.jsx)(r.Button,{className:"mr-[12px]",type:"button",variant:"plain-outline",size:"lg",onClick:h,children:"取消"}),(0,t.jsx)(r.Button,{type:"button",size:"lg",variant:"default",disabled:x||null==g,onClick:()=>void v(),children:x?"导入中…":"确定"})]})]})]})})}},19573,e=>{"use strict";e.s(["ToolsManageView",()=>U],19573);var t=e.i(18050),a=e.i(71645),s=e.i(65934),l=e.i(87243),r=e.i(13354),n=e.i(50711),i=e.i(19455),o=e.i(2839),d=e.i(94055),c=e.i(94197),u=e.i(92715),m=e.i(36413),p=e.i(72064),x=e.i(93479);function f(e){let{items:s,saveBusy:l,onToggle:r,onExport:n,onRemove:i,className:o}=e,[f,g]=(0,a.useState)(""),b=(0,a.useMemo)(()=>s.filter(e=>(function(e,t){var a,s;let l=t.trim().toLowerCase();if(!l)return!0;let r="system"===e.layer?"系统":"agent"===e.layer?"Agent":"";return"".concat(e.name," ").concat(null!=(a=e.label)?a:""," ").concat(null!=(s=e.description)?s:""," ").concat(r).toLowerCase().includes(l)})(e,f)),[s,f]),h=[{key:"name",title:"名称",headerClassName:"",cellClassName:"",render:e=>{let a=e.label||e.name;return(0,t.jsxs)("span",{className:"inline-flex items-center gap-2",children:[(0,t.jsx)("span",{children:a}),(0,t.jsx)(m.StatusBadge,{tone:e.enabled?"success":"default",children:e.enabled?"启用":"未启用"})]})}},{key:"layer",title:"层级",headerClassName:"w-[88px]",cellClassName:"w-[88px] whitespace-nowrap text-[var(--ds-text)]",render:e=>"system"===e.layer?"系统":"agent"===e.layer?"Agent":"-"},{key:"description",title:"详情",headerClassName:"",cellClassName:"",render:e=>e.description||"-"},{key:"enabled",title:"启用/未启用",headerClassName:"",cellClassName:"whitespace-nowrap text-[var(--ds-text)]",render:e=>(0,t.jsx)("span",{className:"inline-flex items-center gap-2",children:(0,t.jsx)(d.AccentSwitch,{checked:!!e.enabled,disabled:l,onCheckedChange:t=>r(e.name,t),"aria-label":"".concat(e.enabled?"禁用":"启用"," ").concat(e.name)})})},{key:"actions",title:"操作",headerClassName:"w-[128px] ",cellClassName:"w-[128px]",render:e=>{let a=!0===e.canManage;return(0,t.jsxs)("div",{className:"inline-flex items-center justify-end gap-1",children:[(0,t.jsx)(c.IconTooltipButton,{icon:"Download",label:a?"导出":"系统内置工具不可导出",ariaLabel:"导出 ".concat(e.label||e.name),disabled:l||!a,onClick:()=>n(e.name)}),(0,t.jsx)(c.IconTooltipButton,{icon:"Trash2",label:a?"删除":"系统内置工具不可删除",tone:"danger",ariaLabel:"删除 ".concat(e.label||e.name),disabled:l||!a,onClick:()=>{i(e.name)}})]})}}],v=f.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)(x.Input,{type:"search",value:f,onChange:e=>g(e.target.value),placeholder:"搜索名称 / 详情 / 层级",className:"h-8 pl-8","aria-label":"搜索工具"}),(0,t.jsx)(p.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)(u.AppTable,{rows:b,columns:h,getRowKey:e=>"tools:".concat(e.name),className:o,emptyText:v?"未找到匹配工具":void 0})]})}var g=e.i(36845),b=e.i(53925);function h(e){let{open:a,onOpenChange:s,wsUrl:l,apiBase:r,agent:n}=e;return(0,t.jsx)(b.ResourceImportDialog,{open:a,onOpenChange:s,title:"导入工具 zip",description:"选择一个 zip 文件并导入到 tools-runtime。",uploadUrl:(0,g.buildToolsRuntimeImportUrl)(l,r,n),resetKey:n})}var v=e.i(55242);let j=[["name","稳定工具名,与 agent.json.tools 白名单对应"],["call","工具执行入口"],["inputSchema","Zod schema,定义 LLM 入参"],["description","工具描述,可为 async 函数"],["prompt","返回给模型的使用说明,可为 async 函数"],["mapToolResultToToolResultBlockParam","将执行结果映射为 API tool_result 块"]],y=["包目录位于 tools-runtime/<package-name>/,包名使用 kebab-case","包根目录存在 index.js / index.cjs / index.mjs 之一,宿主不会加载源码 TS","入口导出 Tool 对象,工具 name 稳定且唯一","initWsSession 正确处理 ready / skipped / failed",'agent.json.tools 包含工具名或 "*",且未被 disallowedTools 禁用',"GET /api/tools?agent=<id> 中工具 enabled: true 且 readiness: ready"];function w(e){let{index:a,title:s,children:l,className:r}=e;return(0,t.jsxs)("section",{className:"rounded-xl border border-[var(--ds-border)] bg-[var(--surface-1)] p-4 ".concat(null!=r?r:""),children:[(0,t.jsxs)("div",{className:"mb-3 flex items-center gap-3",children:[(0,t.jsx)("span",{className:"flex size-7 shrink-0 items-center justify-center rounded-full bg-[var(--ds-accent)] text-base font-semibold text-[var(--surface-1)]",children:a}),(0,t.jsx)("h3",{className:"text-base font-semibold text-[var(--ds-text)]",children:s})]}),l]})}function N(e){let{open:a,onOpenChange:s}=e;return(0,t.jsx)(v.AppDialog,{open:a,onOpenChange:s,title:"工具接入说明",width:"max-w-4xl",footer:(0,t.jsx)(i.Button,{type:"button",variant:"plain-outline",size:"lg",onClick:()=>s(!1),children:"我知道了"}),children:(0,t.jsxs)("div",{className:"flex max-h-[72vh] flex-col gap-4 overflow-y-auto pr-1 text-sm text-[var(--ds-text)]",children:[(0,t.jsx)(w,{index:1,title:"概念",children:(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)("span",{className:"bg-[var(--ds-accent)]/10 mt-0.5 flex size-9 shrink-0 items-center justify-center rounded-lg text-[var(--ds-accent)]",children:(0,t.jsx)(p.default,{name:"Wrench",size:18})}),(0,t.jsxs)("p",{className:"min-w-0 leading-6 text-[var(--ds-muted)]",children:["Runtime Tool 是磁盘上的独立工具包,放在",(0,t.jsx)("code",{className:"mx-1 rounded bg-[var(--ds-sidebar)] px-1.5 py-0.5",children:"tools-runtime/<package-name>/"}),"下。宿主与工具包只通过编译入口的导出契约通信,互不 import 对方源码。"]})]})}),(0,t.jsxs)(w,{index:2,title:"存放路径",children:[(0,t.jsx)("pre",{className:"overflow-x-auto rounded-lg bg-[var(--ds-sidebar)] p-3 text-xs leading-5 text-[var(--ds-text)]",children:"<WS_AGENTS_ROOT>/tools-runtime/<package-name>/\n index.cjs # 必选:编译后的单文件入口\n package.json # 可选\n build.ts # 可选\n src/ # 可选,宿主不加载"}),(0,t.jsxs)("p",{className:"mt-3 leading-6 text-[var(--ds-muted)]",children:["默认 WS_AGENTS_ROOT 为项目下的",(0,t.jsx)("code",{className:"mx-1 rounded bg-[var(--ds-sidebar)] px-1.5 py-0.5",children:".ws-agents"}),",宿主按",(0,t.jsx)("code",{className:"mx-1 rounded bg-[var(--ds-sidebar)] px-1.5 py-0.5",children:".js > .cjs > .mjs"}),"优先级加载入口。agent 层同名包会覆盖 system 层包。"]})]}),(0,t.jsx)(w,{index:3,title:"接入方式",children:(0,t.jsxs)("div",{className:"space-y-3 text-[var(--ds-muted)]",children:[(0,t.jsxs)("p",{children:[(0,t.jsx)("span",{className:"font-medium text-[var(--ds-text)]",children:"手工放置:"}),"在 .ws-agents/tools-runtime/ 下创建包目录并完成构建,重启会话或触发 reloadDynamicTools。"]}),(0,t.jsxs)("p",{children:[(0,t.jsx)("span",{className:"font-medium text-[var(--ds-text)]",children:"Zip 导入:"}),"zip 内必须是单根目录结构,例如 my-tool/index.cjs。"]}),(0,t.jsxs)("p",{children:[(0,t.jsx)("span",{className:"font-medium text-[var(--ds-text)]",children:"内置 system 包:"}),"发布到 packages/agent/tools-runtime,用户可用 agent 层同名包覆盖。"]})]})}),(0,t.jsxs)(w,{index:4,title:"包内必须实现的契约",children:[(0,t.jsx)("p",{className:"mt-2 leading-6 text-[var(--ds-muted)]",children:"入口模块需导出至少一个 Tool 对象,可使用 default、tools 数组或命名导出。"}),(0,t.jsx)("div",{className:"mt-3 grid gap-2",children:j.map(e=>{let[a,s]=e;return(0,t.jsxs)("div",{className:"rounded-lg border border-[var(--ds-border)] bg-[var(--surface-1)] px-3 py-2",children:[(0,t.jsx)("code",{className:"text-base font-semibold text-[var(--ds-accent)]",children:a}),(0,t.jsx)("p",{className:"mt-1 text-base leading-5 text-[var(--ds-muted)]",children:s})]},a)})}),(0,t.jsx)("div",{className:"mt-4 rounded-lg border border-[var(--ds-border)] bg-[var(--ds-sidebar)] p-3",children:(0,t.jsxs)("p",{className:"leading-6 text-[var(--ds-muted)]",children:["生产包推荐实现",(0,t.jsx)("code",{className:"mx-1 rounded bg-[var(--surface-1)] px-1.5 py-0.5",children:"initWsSession"}),",返回 ready 才会进入 LLM 工具列表;skipped 或 failed 不会暴露。未实现时默认 ready。"]})})]}),(0,t.jsx)(w,{index:5,title:"最小示例",children:(0,t.jsxs)("p",{className:"leading-6 text-[var(--ds-muted)]",children:["最小包通常包含 package.json、build.ts 和 src/index.ts,构建后在包根目录产出",(0,t.jsx)("code",{className:"mx-1 rounded bg-[var(--ds-sidebar)] px-1.5 py-0.5",children:"index.cjs"}),"。若 package.json 使用",(0,t.jsx)("code",{className:"mx-1 rounded bg-[var(--ds-sidebar)] px-1.5 py-0.5",children:"type: module"}),",优先产出 index.cjs,避免 ESM/CJS 冲突。"]})}),(0,t.jsxs)(w,{index:6,title:"在 agent 中启用",children:[(0,t.jsx)("pre",{className:"overflow-x-auto rounded-lg bg-[var(--ds-sidebar)] p-3 text-base leading-5 text-[var(--ds-text)]",children:'{\n "tools": ["HelloTool"]\n}'}),(0,t.jsxs)("p",{className:"mt-3 leading-6 text-[var(--ds-muted)]",children:[(0,t.jsx)("code",{className:"mx-1 rounded bg-[var(--ds-sidebar)] px-1.5 py-0.5",children:'"*"'}),"暴露全部已加载且 ready 的 runtime 工具;",(0,t.jsx)("code",{className:"mx-1 rounded bg-[var(--ds-sidebar)] px-1.5 py-0.5",children:"[]"}),"不暴露任何 runtime 工具。MCP 工具由 mcpServers 单独控制。"]})]}),(0,t.jsxs)(w,{index:7,title:"宿主加载流程",children:[(0,t.jsx)("div",{className:"rounded-lg bg-[var(--ds-sidebar)] p-3 text-base leading-6 text-[var(--ds-muted)]",children:"discoverRuntimePackages → dynamic import index.* → initWsSession → extractToolsFromModule → agent.json.tools 白名单过滤 → LLM 可见工具列表"}),(0,t.jsx)("p",{className:"mt-3 leading-6 text-[var(--ds-muted)]",children:"触发时机包括 WS 会话 init、reloadDynamicTools,以及带 agent 参数的 GET /api/tools。 可通过 CLAUDE_CODE_RUNTIME_TOOLS_ENABLED=0 关闭 runtime 工具。"})]}),(0,t.jsx)(w,{index:8,title:"参考实现",children:(0,t.jsxs)("div",{className:"space-y-2 leading-6 text-[var(--ds-muted)]",children:[(0,t.jsx)("p",{children:"schedule-tool:会话级 init、agent 白名单、文件持久化。"}),(0,t.jsx)("p",{children:"git-tool:环境变量驱动、ready / skipped / failed 状态。"}),(0,t.jsx)("p",{children:"code-tool:通过 buildSessionAppend 追加会话上下文。"})]})}),(0,t.jsx)(w,{index:9,title:"验收清单",children:(0,t.jsx)("ul",{className:"grid gap-2",children:y.map(e=>(0,t.jsxs)("li",{className:"flex gap-2 leading-6 text-[var(--ds-muted)]",children:[(0,t.jsx)(p.default,{name:"CheckCircle2",size:16,className:"mt-1 shrink-0 text-[var(--ds-accent)]"}),(0,t.jsx)("span",{children:e})]},e))})}),(0,t.jsx)(w,{index:10,title:"常见问题",children:(0,t.jsxs)("div",{className:"space-y-2 leading-6 text-[var(--ds-muted)]",children:[(0,t.jsx)("p",{children:"放了包但工具不可见:确认已构建 index.*、initWsSession 返回 ready、白名单包含工具名。"}),(0,t.jsx)("p",{children:"installed-list 有但会话 disabled:通常是 init 返回 skipped/failed,或未通过 agent 白名单。"}),(0,t.jsx)("p",{children:"同名工具冲突:agent 层覆盖 system 层;同一层内工具 name 重复时后者会被去重丢弃。"})]})})]})})}var k=e.i(68499),C=e.i(56708),T=e.i(62427);function R(e){return(null!=e.packageId?String(e.packageId).trim():"")||e.name}function S(e){let t=null!=e.packageId?String(e.packageId).trim():"";return!0===e.deletable&&t.length>0}function U(){let e=(0,s.useAppStore)(e=>e.wsUrl),d=(0,s.useAppStore)(e=>e.apiBase),c=(0,s.useAppStore)(e=>e.agentConfig),u=(0,s.useAppStore)(e=>e.patchAgentConfig),{currentAgent:m,loadAgentConfig:x}=(0,l.useSession)(),g=(0,n.usePersistAgentConfigField)("tools"),b=c.tools,[v,j]=(0,a.useState)([]),[y,w]=(0,a.useState)(!1),[U,M]=(0,a.useState)(!1),[D,A]=(0,a.useState)(!1),[E,L]=(0,a.useState)(!1);(0,a.useEffect)(()=>{x()},[x]);let z=(0,a.useCallback)(async(e,t)=>{M(!0);try{await g(e,{silent:t})}finally{M(!1)}},[g]),I=(0,a.useCallback)(async()=>{j([]),w(!0);try{var t;let a=await (0,T.listInstalledTools)(e,d,m());j(null!=(t=a.tools)?t:[])}catch(e){j([]),r.appToast.error("加载失败:".concat(e instanceof Error?e.message:String(e)))}finally{w(!1)}},[e,d,m]);(0,a.useEffect)(()=>{I()},[I]);let B=(0,a.useCallback)(e=>v.find(t=>t.name===e),[v]),O=(0,a.useMemo)(()=>v.slice().sort((e,t)=>e.name.localeCompare(t.name)).map(e=>(function(e,t){var a;let s=null!=e.packageName?String(e.packageName).trim():"";return{name:e.name,label:(e.displayName&&e.displayName!==e.name?"".concat(e.displayName," · "):"")+e.name,description:null!=(a=e.searchHint)?a:"",enabled:t,packageId:s,canManage:S({deletable:e.deletable,packageId:s}),layer:e.layer}})(e,b.includes(e.name))),[v,b]),_=(0,a.useCallback)(async t=>{let a=B(t);if(!a||!S({deletable:a.deletable,packageId:a.packageName}))return void r.appToast.error("系统内置工具不可删除");if(await (0,k.confirmAlertDialog)({title:"确认删除工具包?",description:"工具名:".concat(t),confirmText:"删除",cancelText:"取消"}))try{await (0,T.deleteRuntimeTool)(e,d,m(),R({packageId:a.packageName,name:a.name}));let s=b.filter(e=>e!==t);u({tools:s}),await z(s,!0),await I()}catch(e){r.appToast.error("删除失败:".concat(e instanceof Error?e.message:String(e)))}},[B,e,d,m,b,u,z,I]),P=(0,a.useCallback)(t=>{let a=B(t);if(!a||!S({deletable:a.deletable,packageId:a.packageName}))return void r.appToast.error("系统内置工具不可导出");window.open((0,T.exportRuntimeToolUrl)(e,d,m(),R({packageId:a.packageName,name:a.name})),"_blank","noopener")},[B,e,d,m]),F=(0,a.useCallback)((e,t)=>{let a=t?[...new Set([...b,e])].sort():b.filter(t=>t!==e).sort();u({tools:a}),z(a,!0)},[b,u,z]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(C.ManageChromeHeaderActions,{children:(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,t.jsxs)(i.Button,{type:"button",variant:"plain-outline",size:"lg",className:"inline-flex items-center justify-center gap-1.5",onClick:()=>A(!0),children:[(0,t.jsx)(p.default,{name:"Info",size:16,className:"align-middle"}),"工具说明"]}),(0,t.jsxs)(i.Button,{id:"btnAgentPickerToolImport",type:"button",variant:"plain-outline",size:"lg",className:"inline-flex items-center justify-center gap-1.5",onClick:()=>L(!0),children:[(0,t.jsx)(p.default,{name:"Import",size:16,className:"align-middle"}),"导入自定义工具"]})]})}),y?(0,t.jsx)(o.Loading,{text:"加载中…",className:"min-h-[200px]"}):(0,t.jsx)(f,{items:O,saveBusy:U,onToggle:F,onExport:P,onRemove:_}),(0,t.jsx)(h,{open:E,onOpenChange:e=>{L(e),e||I()},wsUrl:e,apiBase:d,agent:m()}),(0,t.jsx)(N,{open:D,onOpenChange:A})]})}}]);
|
package/dist/safe-a/index.html
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
<!DOCTYPE html><!--fnecaAU1IOv7M644xhyOD--><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/e784a1fa0acaaaa0.css" data-precedence="next"/><link rel="stylesheet" href="/app/_next/static/chunks/743bc613bbda46b4.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/app/_next/static/chunks/9ccf7a8bca1730bf.js"/><script src="/app/_next/static/chunks/522518d740397639.js" async=""></script><script src="/app/_next/static/chunks/40268f8e3ff0314e.js" async=""></script><script src="/app/_next/static/chunks/32b4d63e10d31351.js" async=""></script><script src="/app/_next/static/chunks/66b30159915524db.js" async=""></script><script src="/app/_next/static/chunks/turbopack-63952675b1d69124.js" async=""></script><script src="/app/_next/static/chunks/bf2c1c402dbcccdf.js" async=""></script><script src="/app/_next/static/chunks/7145a30cb461e3ab.js" async=""></script><script src="/app/_next/static/chunks/7988d5ea63356e10.js" async=""></script><script src="/app/_next/static/chunks/760380631ca561e0.js" async=""></script><script src="/app/_next/static/chunks/e2833182a81cd867.js" async=""></script><script src="/app/_next/static/chunks/baed816b83bbd5b5.js" async=""></script><script src="/app/_next/static/chunks/8085c74f26fa2c4e.js" async=""></script><script src="/app/_next/static/chunks/074a7a892d554827.js" async=""></script><script src="/app/_next/static/chunks/69aecc2a7893ba05.js" async=""></script><script src="/app/_next/static/chunks/79e8fd2602ccb6b6.js" async=""></script><script src="/app/_next/static/chunks/5d79b7f202080232.js" async=""></script><script src="/app/_next/static/chunks/65982c1925fca4ab.js" async=""></script><script src="/app/_next/static/chunks/0fde2a8866dd02fc.js" async=""></script><script src="/app/_next/static/chunks/9dcb662588dbf520.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/9ccf7a8bca1730bf.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="truncate text-zinc-900">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-700 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-item-active)] text-[var(--ds-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-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-700" 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-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-700" 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-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-700" 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-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-700" 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-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-700" 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-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-700" 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">资料库</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-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-border)] 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] [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:align-middle [&_svg:not([class*='size-']):not([width])]:size-4 [&_svg]:stroke-current [&_svg[fill=none]_path]:fill-none [&_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-item-hover)] focus-visible:ring-2 focus-visible:ring-[var(--ds-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[13354,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/7145a30cb461e3ab.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"AppToaster\"]\n3:I[39756,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/7145a30cb461e3ab.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"default\"]\n4:I[37457,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/7145a30cb461e3ab.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"default\"]\n5:I[21199,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/7145a30cb461e3ab.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\",\"/app/_next/static/chunks/760380631ca561e0.js\",\"/app/_next/static/chunks/e2833182a81cd867.js\",\"/app/_next/static/chunks/baed816b83bbd5b5.js\",\"/app/_next/static/chunks/8085c74f26fa2c4e.js\",\"/app/_next/static/chunks/074a7a892d554827.js\",\"/app/_next/static/chunks/69aecc2a7893ba05.js\",\"/app/_next/static/chunks/79e8fd2602ccb6b6.js\"],\"WorkspaceShell\"]\n6:\"$Sreact.suspense\"\n7:I[5014,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/7145a30cb461e3ab.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\",\"/app/_next/static/chunks/760380631ca561e0.js\",\"/app/_next/static/chunks/e2833182a81cd867.js\",\"/app/_next/static/chunks/baed816b83bbd5b5.js\",\"/app/_next/static/chunks/8085c74f26fa2c4e.js\",\"/app/_next/static/chunks/074a7a892d554827.js\",\"/app/_next/static/chunks/69aecc2a7893ba05.js\",\"/app/_next/static/chunks/79e8fd2602ccb6b6.js\",\"/app/_next/static/chunks/5d79b7f202080232.js\",\"/app/_next/static/chunks/65982c1925fca4ab.js\",\"/app/_next/static/chunks/0fde2a8866dd02fc.js\",\"/app/_next/static/chunks/9dcb662588dbf520.js\"],\"default\"]\n10:I[68027,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/7145a30cb461e3ab.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"default\"]\n:HL[\"/app/_next/static/chunks/7bdf0e5b41aeb209.css\",\"style\"]\n:HL[\"/app/_next/static/chunks/e784a1fa0acaaaa0.css\",\"style\"]\n:HL[\"/app/_next/static/chunks/743bc613bbda46"])</script><script>self.__next_f.push([1,"b4.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\":\"fnecaAU1IOv7M644xhyOD\",\"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/e784a1fa0acaaaa0.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/743bc613bbda46b4.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/app/_next/static/chunks/7145a30cb461e3ab.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/app/_next/static/chunks/7988d5ea63356e10.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"zh-CN\",\"className\":\"sora_a6e0e515-module__NbNjtG__variable dm_sans_fa25cdfd-module__fB5nTW__variable jetbrains_mono_2b1eae20-module__XfFTLG__variable font-sans\",\"children\":[\"$\",\"body\",null,{\"children\":[[\"$\",\"$L2\",null,{}],[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]}]]}],{\"children\":[\"(workspace)\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/app/_next/static/chunks/760380631ca561e0.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/app/_next/static/chunks/e2833182a81cd867.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/app/_next/static/chunks/baed816b83bbd5b5.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-3\",{\"src\":\"/app/_next/static/chunks/8085c74f26fa2c4e.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-4\",{\"src\":\"/app/_next/static/chunks/074a7a892d554827.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-5\",{\"src\":\"/app/_next/static/chunks/69aecc2a7893ba05.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-6\",{\"src\":\"/app/_next/static/chunks/79e8fd2602ccb6b6.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\"]}],{},null,false]},null,false]},[\"$Le\",[],[]],false],\"$Lf\",false]],\"m\":\"$undefined\",\"G\":[\"$10\",[\"$L11\",\"$L12\",\"$L13\"]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"14:I[41130,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/7145a30cb461e3ab.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\",\"/app/_next/static/chunks/760380631ca561e0.js\",\"/app/_next/static/chunks/e2833182a81cd867.js\",\"/app/_next/static/chunks/baed816b83bbd5b5.js\",\"/app/_next/static/chunks/8085c74f26fa2c4e.js\",\"/app/_next/static/chunks/074a7a892d554827.js\",\"/app/_next/static/chunks/69aecc2a7893ba05.js\",\"/app/_next/static/chunks/79e8fd2602ccb6b6.js\",\"/app/_next/static/chunks/5d79b7f202080232.js\",\"/app/_next/static/chunks/65982c1925fca4ab.js\",\"/app/_next/static/chunks/0fde2a8866dd02fc.js\",\"/app/_next/static/chunks/9dcb662588dbf520.js\"],\"BridgeDebugApp\",1]\n"])</script><script>self.__next_f.push([1,"15:I[97367,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/7145a30cb461e3ab.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"OutletBoundary\"]\n17:I[11533,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/7145a30cb461e3ab.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"AsyncMetadataOutlet\"]\n19:I[97367,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/7145a30cb461e3ab.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"ViewportBoundary\"]\n1b:I[97367,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/7145a30cb461e3ab.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"MetadataBoundary\"]\n8:[\"$\",\"$L14\",null,{}]\n9:[\"$\",\"script\",\"script-0\",{\"src\":\"/app/_next/static/chunks/5d79b7f202080232.js\",\"async\":true,\"nonce\":\"$undefined\"}]\na:[\"$\",\"script\",\"script-1\",{\"src\":\"/app/_next/static/chunks/65982c1925fca4ab.js\",\"async\":true,\"nonce\":\"$undefined\"}]\nb:[\"$\",\"script\",\"script-2\",{\"src\":\"/app/_next/static/chunks/0fde2a8866dd02fc.js\",\"async\":true,\"nonce\":\"$undefined\"}]\nc:[\"$\",\"script\",\"script-3\",{\"src\":\"/app/_next/static/chunks/9dcb662588dbf520.js\",\"async\":true,\"nonce\":\"$undefined\"}]\nd:[\"$\",\"$L15\",null,{\"children\":[\"$L16\",[\"$\",\"$L17\",null,{\"promise\":\"$@18\"}]]}]\ne:[\"$\",\"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\"}],\" 加载中\"]}]\nf:[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$L19\",null,{\"children\":\"$L1a\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]],[\"$\",\"$L1b\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$6\",null,{\"fallback\":null,\"children\":\"$L1c\"}]}]}]]}]\n11:[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/7bdf0e5b41aeb209.css\",\"pr"])</script><script>self.__next_f.push([1,"ecedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n12:[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/e784a1fa0acaaaa0.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n13:[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/743bc613bbda46b4.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n"])</script><script>self.__next_f.push([1,"1a:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n16:null\n"])</script><script>self.__next_f.push([1,"18:{\"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,"1c:\"$18:metadata\"\n"])</script></body></html>
|
|
1
|
+
<!DOCTYPE html><!--nwO0QCBdBfGqbYMxcUsla--><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/98bb493cc14b29b8.css" data-precedence="next"/><link rel="stylesheet" href="/app/_next/static/chunks/1c058f8cbbecf3b6.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/app/_next/static/chunks/9ccf7a8bca1730bf.js"/><script src="/app/_next/static/chunks/522518d740397639.js" async=""></script><script src="/app/_next/static/chunks/40268f8e3ff0314e.js" async=""></script><script src="/app/_next/static/chunks/32b4d63e10d31351.js" async=""></script><script src="/app/_next/static/chunks/66b30159915524db.js" async=""></script><script src="/app/_next/static/chunks/turbopack-63952675b1d69124.js" async=""></script><script src="/app/_next/static/chunks/bf2c1c402dbcccdf.js" async=""></script><script src="/app/_next/static/chunks/7145a30cb461e3ab.js" async=""></script><script src="/app/_next/static/chunks/7988d5ea63356e10.js" async=""></script><script src="/app/_next/static/chunks/a7646d18f644b515.js" async=""></script><script src="/app/_next/static/chunks/e2833182a81cd867.js" async=""></script><script src="/app/_next/static/chunks/baed816b83bbd5b5.js" async=""></script><script src="/app/_next/static/chunks/8085c74f26fa2c4e.js" async=""></script><script src="/app/_next/static/chunks/2fcf41242e56194f.js" async=""></script><script src="/app/_next/static/chunks/e300e51730b09886.js" async=""></script><script src="/app/_next/static/chunks/79e8fd2602ccb6b6.js" async=""></script><script src="/app/_next/static/chunks/5d79b7f202080232.js" async=""></script><script src="/app/_next/static/chunks/7a86f14161d3d2d8.js" async=""></script><script src="/app/_next/static/chunks/0fde2a8866dd02fc.js" async=""></script><script src="/app/_next/static/chunks/d36ccfb77a3b125c.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/9ccf7a8bca1730bf.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="truncate text-zinc-900">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-700 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-item-active)] text-[var(--ds-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-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-700" 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-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-700" 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-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-700" 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-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-700" 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-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-700" 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-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-700" 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-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-border)] 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] [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:align-middle [&_svg:not([class*='size-']):not([width])]:size-4 [&_svg]:stroke-current [&_svg[fill=none]_path]:fill-none [&_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-item-hover)] focus-visible:ring-2 focus-visible:ring-[var(--ds-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[13354,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/7145a30cb461e3ab.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"AppToaster\"]\n3:I[39756,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/7145a30cb461e3ab.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"default\"]\n4:I[37457,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/7145a30cb461e3ab.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"default\"]\n5:I[21199,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/7145a30cb461e3ab.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\",\"/app/_next/static/chunks/a7646d18f644b515.js\",\"/app/_next/static/chunks/e2833182a81cd867.js\",\"/app/_next/static/chunks/baed816b83bbd5b5.js\",\"/app/_next/static/chunks/8085c74f26fa2c4e.js\",\"/app/_next/static/chunks/2fcf41242e56194f.js\",\"/app/_next/static/chunks/e300e51730b09886.js\",\"/app/_next/static/chunks/79e8fd2602ccb6b6.js\"],\"WorkspaceShell\"]\n6:\"$Sreact.suspense\"\n7:I[5014,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/7145a30cb461e3ab.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\",\"/app/_next/static/chunks/a7646d18f644b515.js\",\"/app/_next/static/chunks/e2833182a81cd867.js\",\"/app/_next/static/chunks/baed816b83bbd5b5.js\",\"/app/_next/static/chunks/8085c74f26fa2c4e.js\",\"/app/_next/static/chunks/2fcf41242e56194f.js\",\"/app/_next/static/chunks/e300e51730b09886.js\",\"/app/_next/static/chunks/79e8fd2602ccb6b6.js\",\"/app/_next/static/chunks/5d79b7f202080232.js\",\"/app/_next/static/chunks/7a86f14161d3d2d8.js\",\"/app/_next/static/chunks/0fde2a8866dd02fc.js\",\"/app/_next/static/chunks/d36ccfb77a3b125c.js\"],\"default\"]\n10:I[68027,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/7145a30cb461e3ab.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"default\"]\n:HL[\"/app/_next/static/chunks/7bdf0e5b41aeb209.css\",\"style\"]\n:HL[\"/app/_next/static/chunks/98bb493cc14b29b8.css\",\"style\"]\n:HL[\"/app/_next/static/chunks/1c058f8cbbecf3"])</script><script>self.__next_f.push([1,"b6.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\":\"nwO0QCBdBfGqbYMxcUsla\",\"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/98bb493cc14b29b8.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/1c058f8cbbecf3b6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/app/_next/static/chunks/7145a30cb461e3ab.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/app/_next/static/chunks/7988d5ea63356e10.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"zh-CN\",\"className\":\"sora_a6e0e515-module__NbNjtG__variable dm_sans_fa25cdfd-module__fB5nTW__variable jetbrains_mono_2b1eae20-module__XfFTLG__variable font-sans\",\"children\":[\"$\",\"body\",null,{\"children\":[[\"$\",\"$L2\",null,{}],[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]}]]}],{\"children\":[\"(workspace)\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/app/_next/static/chunks/a7646d18f644b515.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/app/_next/static/chunks/e2833182a81cd867.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/app/_next/static/chunks/baed816b83bbd5b5.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-3\",{\"src\":\"/app/_next/static/chunks/8085c74f26fa2c4e.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-4\",{\"src\":\"/app/_next/static/chunks/2fcf41242e56194f.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-5\",{\"src\":\"/app/_next/static/chunks/e300e51730b09886.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-6\",{\"src\":\"/app/_next/static/chunks/79e8fd2602ccb6b6.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\"]}],{},null,false]},null,false]},[\"$Le\",[],[]],false],\"$Lf\",false]],\"m\":\"$undefined\",\"G\":[\"$10\",[\"$L11\",\"$L12\",\"$L13\"]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"14:I[41130,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/7145a30cb461e3ab.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\",\"/app/_next/static/chunks/a7646d18f644b515.js\",\"/app/_next/static/chunks/e2833182a81cd867.js\",\"/app/_next/static/chunks/baed816b83bbd5b5.js\",\"/app/_next/static/chunks/8085c74f26fa2c4e.js\",\"/app/_next/static/chunks/2fcf41242e56194f.js\",\"/app/_next/static/chunks/e300e51730b09886.js\",\"/app/_next/static/chunks/79e8fd2602ccb6b6.js\",\"/app/_next/static/chunks/5d79b7f202080232.js\",\"/app/_next/static/chunks/7a86f14161d3d2d8.js\",\"/app/_next/static/chunks/0fde2a8866dd02fc.js\",\"/app/_next/static/chunks/d36ccfb77a3b125c.js\"],\"BridgeDebugApp\",1]\n"])</script><script>self.__next_f.push([1,"15:I[97367,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/7145a30cb461e3ab.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"OutletBoundary\"]\n17:I[11533,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/7145a30cb461e3ab.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"AsyncMetadataOutlet\"]\n19:I[97367,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/7145a30cb461e3ab.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"ViewportBoundary\"]\n1b:I[97367,[\"/app/_next/static/chunks/bf2c1c402dbcccdf.js\",\"/app/_next/static/chunks/7145a30cb461e3ab.js\",\"/app/_next/static/chunks/7988d5ea63356e10.js\"],\"MetadataBoundary\"]\n8:[\"$\",\"$L14\",null,{}]\n9:[\"$\",\"script\",\"script-0\",{\"src\":\"/app/_next/static/chunks/5d79b7f202080232.js\",\"async\":true,\"nonce\":\"$undefined\"}]\na:[\"$\",\"script\",\"script-1\",{\"src\":\"/app/_next/static/chunks/7a86f14161d3d2d8.js\",\"async\":true,\"nonce\":\"$undefined\"}]\nb:[\"$\",\"script\",\"script-2\",{\"src\":\"/app/_next/static/chunks/0fde2a8866dd02fc.js\",\"async\":true,\"nonce\":\"$undefined\"}]\nc:[\"$\",\"script\",\"script-3\",{\"src\":\"/app/_next/static/chunks/d36ccfb77a3b125c.js\",\"async\":true,\"nonce\":\"$undefined\"}]\nd:[\"$\",\"$L15\",null,{\"children\":[\"$L16\",[\"$\",\"$L17\",null,{\"promise\":\"$@18\"}]]}]\ne:[\"$\",\"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\"}],\" 加载中\"]}]\nf:[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$L19\",null,{\"children\":\"$L1a\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]],[\"$\",\"$L1b\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$6\",null,{\"fallback\":null,\"children\":\"$L1c\"}]}]}]]}]\n11:[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/7bdf0e5b41aeb209.css\",\"pr"])</script><script>self.__next_f.push([1,"ecedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n12:[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/98bb493cc14b29b8.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n13:[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/app/_next/static/chunks/1c058f8cbbecf3b6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n"])</script><script>self.__next_f.push([1,"1a:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n16:null\n"])</script><script>self.__next_f.push([1,"18:{\"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,"1c:\"$18:metadata\"\n"])</script></body></html>
|
package/dist/safe-a/index.txt
CHANGED
|
@@ -2,33 +2,33 @@
|
|
|
2
2
|
2:I[13354,["/app/_next/static/chunks/bf2c1c402dbcccdf.js","/app/_next/static/chunks/7145a30cb461e3ab.js","/app/_next/static/chunks/7988d5ea63356e10.js"],"AppToaster"]
|
|
3
3
|
3:I[39756,["/app/_next/static/chunks/bf2c1c402dbcccdf.js","/app/_next/static/chunks/7145a30cb461e3ab.js","/app/_next/static/chunks/7988d5ea63356e10.js"],"default"]
|
|
4
4
|
4:I[37457,["/app/_next/static/chunks/bf2c1c402dbcccdf.js","/app/_next/static/chunks/7145a30cb461e3ab.js","/app/_next/static/chunks/7988d5ea63356e10.js"],"default"]
|
|
5
|
-
5:I[21199,["/app/_next/static/chunks/bf2c1c402dbcccdf.js","/app/_next/static/chunks/7145a30cb461e3ab.js","/app/_next/static/chunks/7988d5ea63356e10.js","/app/_next/static/chunks/
|
|
5
|
+
5:I[21199,["/app/_next/static/chunks/bf2c1c402dbcccdf.js","/app/_next/static/chunks/7145a30cb461e3ab.js","/app/_next/static/chunks/7988d5ea63356e10.js","/app/_next/static/chunks/a7646d18f644b515.js","/app/_next/static/chunks/e2833182a81cd867.js","/app/_next/static/chunks/baed816b83bbd5b5.js","/app/_next/static/chunks/8085c74f26fa2c4e.js","/app/_next/static/chunks/2fcf41242e56194f.js","/app/_next/static/chunks/e300e51730b09886.js","/app/_next/static/chunks/79e8fd2602ccb6b6.js"],"WorkspaceShell"]
|
|
6
6
|
6:"$Sreact.suspense"
|
|
7
|
-
7:I[5014,["/app/_next/static/chunks/bf2c1c402dbcccdf.js","/app/_next/static/chunks/7145a30cb461e3ab.js","/app/_next/static/chunks/7988d5ea63356e10.js","/app/_next/static/chunks/
|
|
7
|
+
7:I[5014,["/app/_next/static/chunks/bf2c1c402dbcccdf.js","/app/_next/static/chunks/7145a30cb461e3ab.js","/app/_next/static/chunks/7988d5ea63356e10.js","/app/_next/static/chunks/a7646d18f644b515.js","/app/_next/static/chunks/e2833182a81cd867.js","/app/_next/static/chunks/baed816b83bbd5b5.js","/app/_next/static/chunks/8085c74f26fa2c4e.js","/app/_next/static/chunks/2fcf41242e56194f.js","/app/_next/static/chunks/e300e51730b09886.js","/app/_next/static/chunks/79e8fd2602ccb6b6.js","/app/_next/static/chunks/5d79b7f202080232.js","/app/_next/static/chunks/7a86f14161d3d2d8.js","/app/_next/static/chunks/0fde2a8866dd02fc.js","/app/_next/static/chunks/d36ccfb77a3b125c.js"],"default"]
|
|
8
8
|
10:I[68027,["/app/_next/static/chunks/bf2c1c402dbcccdf.js","/app/_next/static/chunks/7145a30cb461e3ab.js","/app/_next/static/chunks/7988d5ea63356e10.js"],"default"]
|
|
9
9
|
:HL["/app/_next/static/chunks/7bdf0e5b41aeb209.css","style"]
|
|
10
|
-
:HL["/app/_next/static/chunks/
|
|
11
|
-
:HL["/app/_next/static/chunks/
|
|
10
|
+
:HL["/app/_next/static/chunks/98bb493cc14b29b8.css","style"]
|
|
11
|
+
:HL["/app/_next/static/chunks/1c058f8cbbecf3b6.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":"
|
|
16
|
-
14:I[41130,["/app/_next/static/chunks/bf2c1c402dbcccdf.js","/app/_next/static/chunks/7145a30cb461e3ab.js","/app/_next/static/chunks/7988d5ea63356e10.js","/app/_next/static/chunks/
|
|
15
|
+
0:{"P":null,"b":"nwO0QCBdBfGqbYMxcUsla","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/98bb493cc14b29b8.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","2",{"rel":"stylesheet","href":"/app/_next/static/chunks/1c058f8cbbecf3b6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/app/_next/static/chunks/bf2c1c402dbcccdf.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/app/_next/static/chunks/7145a30cb461e3ab.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/app/_next/static/chunks/7988d5ea63356e10.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"zh-CN","className":"sora_a6e0e515-module__NbNjtG__variable dm_sans_fa25cdfd-module__fB5nTW__variable jetbrains_mono_2b1eae20-module__XfFTLG__variable font-sans","children":["$","body",null,{"children":[["$","$L2",null,{}],["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]]}]}]]}],{"children":["(workspace)",["$","$1","c",{"children":[[["$","script","script-0",{"src":"/app/_next/static/chunks/a7646d18f644b515.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/app/_next/static/chunks/e2833182a81cd867.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/app/_next/static/chunks/baed816b83bbd5b5.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/app/_next/static/chunks/8085c74f26fa2c4e.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/app/_next/static/chunks/2fcf41242e56194f.js","async":true,"nonce":"$undefined"}],["$","script","script-5",{"src":"/app/_next/static/chunks/e300e51730b09886.js","async":true,"nonce":"$undefined"}],["$","script","script-6",{"src":"/app/_next/static/chunks/79e8fd2602ccb6b6.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"]}],{},null,false]},null,false]},["$Le",[],[]],false],"$Lf",false]],"m":"$undefined","G":["$10",["$L11","$L12","$L13"]],"s":false,"S":true}
|
|
16
|
+
14:I[41130,["/app/_next/static/chunks/bf2c1c402dbcccdf.js","/app/_next/static/chunks/7145a30cb461e3ab.js","/app/_next/static/chunks/7988d5ea63356e10.js","/app/_next/static/chunks/a7646d18f644b515.js","/app/_next/static/chunks/e2833182a81cd867.js","/app/_next/static/chunks/baed816b83bbd5b5.js","/app/_next/static/chunks/8085c74f26fa2c4e.js","/app/_next/static/chunks/2fcf41242e56194f.js","/app/_next/static/chunks/e300e51730b09886.js","/app/_next/static/chunks/79e8fd2602ccb6b6.js","/app/_next/static/chunks/5d79b7f202080232.js","/app/_next/static/chunks/7a86f14161d3d2d8.js","/app/_next/static/chunks/0fde2a8866dd02fc.js","/app/_next/static/chunks/d36ccfb77a3b125c.js"],"BridgeDebugApp",1]
|
|
17
17
|
15:I[97367,["/app/_next/static/chunks/bf2c1c402dbcccdf.js","/app/_next/static/chunks/7145a30cb461e3ab.js","/app/_next/static/chunks/7988d5ea63356e10.js"],"OutletBoundary"]
|
|
18
18
|
17:I[11533,["/app/_next/static/chunks/bf2c1c402dbcccdf.js","/app/_next/static/chunks/7145a30cb461e3ab.js","/app/_next/static/chunks/7988d5ea63356e10.js"],"AsyncMetadataOutlet"]
|
|
19
19
|
19:I[97367,["/app/_next/static/chunks/bf2c1c402dbcccdf.js","/app/_next/static/chunks/7145a30cb461e3ab.js","/app/_next/static/chunks/7988d5ea63356e10.js"],"ViewportBoundary"]
|
|
20
20
|
1b:I[97367,["/app/_next/static/chunks/bf2c1c402dbcccdf.js","/app/_next/static/chunks/7145a30cb461e3ab.js","/app/_next/static/chunks/7988d5ea63356e10.js"],"MetadataBoundary"]
|
|
21
21
|
8:["$","$L14",null,{}]
|
|
22
22
|
9:["$","script","script-0",{"src":"/app/_next/static/chunks/5d79b7f202080232.js","async":true,"nonce":"$undefined"}]
|
|
23
|
-
a:["$","script","script-1",{"src":"/app/_next/static/chunks/
|
|
23
|
+
a:["$","script","script-1",{"src":"/app/_next/static/chunks/7a86f14161d3d2d8.js","async":true,"nonce":"$undefined"}]
|
|
24
24
|
b:["$","script","script-2",{"src":"/app/_next/static/chunks/0fde2a8866dd02fc.js","async":true,"nonce":"$undefined"}]
|
|
25
|
-
c:["$","script","script-3",{"src":"/app/_next/static/chunks/
|
|
25
|
+
c:["$","script","script-3",{"src":"/app/_next/static/chunks/d36ccfb77a3b125c.js","async":true,"nonce":"$undefined"}]
|
|
26
26
|
d:["$","$L15",null,{"children":["$L16",["$","$L17",null,{"promise":"$@18"}]]}]
|
|
27
27
|
e:["$","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"}]," 加载中"]}]
|
|
28
28
|
f:["$","$1","h",{"children":[null,[["$","$L19",null,{"children":"$L1a"}],["$","meta",null,{"name":"next-size-adjust","content":""}]],["$","$L1b",null,{"children":["$","div",null,{"hidden":true,"children":["$","$6",null,{"fallback":null,"children":"$L1c"}]}]}]]}]
|
|
29
29
|
11:["$","link","0",{"rel":"stylesheet","href":"/app/_next/static/chunks/7bdf0e5b41aeb209.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]
|
|
30
|
-
12:["$","link","1",{"rel":"stylesheet","href":"/app/_next/static/chunks/
|
|
31
|
-
13:["$","link","2",{"rel":"stylesheet","href":"/app/_next/static/chunks/
|
|
30
|
+
12:["$","link","1",{"rel":"stylesheet","href":"/app/_next/static/chunks/98bb493cc14b29b8.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]
|
|
31
|
+
13:["$","link","2",{"rel":"stylesheet","href":"/app/_next/static/chunks/1c058f8cbbecf3b6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]
|
|
32
32
|
1a:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
33
33
|
16:null
|
|
34
34
|
18:{"metadata":[["$","title","0",{"children":"Claude Code测试平台"}],["$","meta","1",{"name":"description","content":"Claude Code测试平台"}]],"error":null,"digest":"$undefined"}
|