@customize-agent/server 4.60.1 → 4.60.3
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/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +128 -81
- package/.next/prerender-manifest.json +3 -3
- package/.next/required-server-files.json +1 -1
- package/.next/routes-manifest.json +22 -0
- package/.next/server/chunks/1243.js +1 -1
- package/.next/server/chunks/1936.js +2 -2
- package/.next/server/chunks/2328.js +1 -1
- package/.next/server/chunks/4683.js +142 -0
- package/.next/server/chunks/5304.js +1 -1
- package/.next/server/chunks/6321.js +1 -1
- package/.next/server/chunks/6822.js +1 -0
- package/.next/server/chunks/8204.js +1 -1
- package/.next/server/chunks/9399.js +1 -0
- package/.next/server/chunks/9666.js +59 -58
- package/.next/server/instrumentation.js +1 -1
- package/.next/server/instrumentation.js.nft.json +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages/api/documents/export.js +2 -2
- package/.next/server/pages/api/documents/export.js.nft.json +1 -1
- package/.next/server/pages/api/documents/generate/preview.js +1 -1
- package/.next/server/pages/api/documents/generate.js +1 -1
- package/.next/server/pages/api/health.js +1 -1
- package/.next/server/pages/api/kb/files/detail.js +1 -1
- package/.next/server/pages/api/kb/files/source-preview.js +1 -1
- package/.next/server/pages/canvas/[id].html +1 -1
- package/.next/server/pages/canvas.html +1 -1
- package/.next/server/pages/documents.html +1 -1
- package/.next/server/pages/guide.html +1 -1
- package/.next/server/pages/index.html +1 -1
- package/.next/server/pages/knowledge/file-detail.html +1 -1
- package/.next/server/pages/knowledge/files.html +1 -1
- package/.next/server/pages/knowledge/manage.html +1 -1
- package/.next/server/pages/knowledge/source-preview.html +1 -1
- package/.next/server/pages/knowledge.html +1 -1
- package/.next/server/pages/models.html +1 -1
- package/.next/server/pages/overview.html +1 -1
- package/.next/server/pages/prompt.html +1 -1
- package/.next/server/pages/settings.html +1 -1
- package/.next/server/pages/skills/[id]/edit.html +1 -0
- package/.next/server/pages/skills/[id]/edit.js.nft.json +1 -0
- package/.next/server/pages/skills/[id].html +1 -0
- package/.next/server/pages/skills/[id].js.nft.json +1 -0
- package/.next/server/pages/skills/new.html +1 -0
- package/.next/server/pages/skills/new.js.nft.json +1 -0
- package/.next/server/pages/skills.html +1 -1
- package/.next/server/pages/system/logs.html +1 -1
- package/.next/server/pages-manifest.json +37 -34
- package/.next/static/7ea0ee326182fc159e629b4cd9354c5c800c7d5e156fcd6533182444b20d26cf/_buildManifest.js +1 -0
- package/.next/static/chunks/{511-75b881093a3e908b.js → 127-7d37d37dab02bd10.js} +1 -1
- package/.next/static/chunks/162-a5be07e04aedf98a.js +8 -0
- package/.next/static/chunks/2-8570cd2beee4da6e.js +1 -0
- package/.next/static/chunks/257-3ea888b096943bc8.js +1 -0
- package/.next/static/chunks/280-3ce590d421b5c47d.js +16 -0
- package/.next/static/chunks/318-ca122b774ea4ee84.js +1 -0
- package/.next/static/chunks/324-650dc02536b071bf.js +4 -0
- package/.next/static/chunks/338-19ccbaec57a7bf9c.js +4 -0
- package/.next/static/chunks/425-42f2568bcdd98f4c.js +1 -0
- package/.next/static/chunks/499-2233cadc6d4da647.js +10 -0
- package/.next/static/chunks/530-a5a65dc8adb1ee11.js +1 -0
- package/.next/static/chunks/564-d3426eef3e3e415b.js +4 -0
- package/.next/static/chunks/576-6699fed6c88502fe.js +1 -0
- package/.next/static/chunks/579-fc0a2eb64aedb001.js +1 -0
- package/.next/static/chunks/665-0634aa49137defc4.js +1 -0
- package/.next/static/chunks/{426-22c4cedb04b0d45d.js → 711-40c1a2dbd15c2807.js} +6 -6
- package/.next/static/chunks/781-a6b83dbcd1a33cab.js +1 -0
- package/.next/static/chunks/{795-48065c56c3b80339.js → 795-1c1cb3bf1f600e99.js} +1 -1
- package/.next/static/chunks/{665-9607db8f8b43e52e.js → 808-0506edc7454b5c0e.js} +1 -1
- package/.next/static/chunks/819-96247c9054ad9683.js +1 -0
- package/.next/static/chunks/964-569c27befeaff602.js +78 -0
- package/.next/static/chunks/pages/{_app-c11b5e8072f49bcc.js → _app-10f13111671af8a4.js} +15 -15
- package/.next/static/chunks/pages/canvas/[id]-534b45f39f39630c.js +1 -0
- package/.next/static/chunks/pages/canvas-ffb08963e5cf9558.js +1 -0
- package/.next/static/chunks/pages/{guide-a8eecc6c02b5bb9c.js → guide-82ae330966139191.js} +1 -1
- package/.next/static/chunks/pages/knowledge/file-detail-4ccc50ced6382dab.js +1 -0
- package/.next/static/chunks/pages/knowledge/source-preview-56ce59763fa015db.js +1 -0
- package/.next/static/chunks/pages/knowledge-84e386d765ddd311.js +1 -0
- package/.next/static/chunks/pages/models-5eee2d09deb081fb.js +1 -0
- package/.next/static/chunks/pages/prompt-f00bf2272142bfa1.js +1 -0
- package/.next/static/chunks/pages/{settings-81dffd92939c1d36.js → settings-f6dfff648cf9ac0e.js} +1 -1
- package/.next/static/chunks/pages/skills/[id]/edit-89bbed9a3a854b04.js +1 -0
- package/.next/static/chunks/pages/skills/[id]-101d753aa8fbf7a9.js +1 -0
- package/.next/static/chunks/pages/skills/new-124599c772150a1d.js +1 -0
- package/.next/static/chunks/pages/skills-476714776be63ce5.js +1 -0
- package/.next/static/chunks/pages/system/logs-40edb648d89b0749.js +1 -0
- package/.next/static/css/{ad5a592c79d1448b.css → 2da1c822e3bdb4bb.css} +1 -1
- package/.next/static/css/e67420f8d0ea180d.css +1 -0
- package/messages/en-US.json +5 -1
- package/messages/zh-CN.json +5 -1
- package/package.json +1 -1
- package/public/apple-touch-icon.png +0 -0
- package/public/favicon.ico +0 -0
- package/public/favicon.svg +7 -0
- package/scripts/generate-brand-assets.cjs +109 -0
- package/.next/server/chunks/7848.js +0 -141
- package/.next/static/chunks/127-20f09f6ebe1e6c1f.js +0 -1
- package/.next/static/chunks/174-1bc48f295d7dd075.js +0 -10
- package/.next/static/chunks/189-3f4f4e237056adaf.js +0 -4
- package/.next/static/chunks/269-7a3502478bf67fff.js +0 -11
- package/.next/static/chunks/278-31fbe7e1b733a9b7.js +0 -1
- package/.next/static/chunks/310-6c678cb70e4ba2d6.js +0 -19
- package/.next/static/chunks/530-d9f0418ec7ab040f.js +0 -1
- package/.next/static/chunks/700-5d29b0475311f590.js +0 -1
- package/.next/static/chunks/709-a7c652953ccd3b4b.js +0 -1
- package/.next/static/chunks/823-ff35afb174f7998b.js +0 -1
- package/.next/static/chunks/835-d29f4cc7a3679606.js +0 -1
- package/.next/static/chunks/873-16d052cdd3768758.js +0 -1
- package/.next/static/chunks/914-292edce0ba2a212d.js +0 -1
- package/.next/static/chunks/964-7e9fe2d80a53aeee.js +0 -78
- package/.next/static/chunks/992-8032f477230baaaf.js +0 -1
- package/.next/static/chunks/pages/canvas/[id]-37bee3f7b816ed18.js +0 -1
- package/.next/static/chunks/pages/canvas-97971ae159337676.js +0 -1
- package/.next/static/chunks/pages/knowledge/file-detail-f89e6044f752277c.js +0 -1
- package/.next/static/chunks/pages/knowledge/source-preview-4a303fadb123430a.js +0 -1
- package/.next/static/chunks/pages/knowledge-a65ec687334ffed0.js +0 -1
- package/.next/static/chunks/pages/models-3e486e49cca91e5a.js +0 -1
- package/.next/static/chunks/pages/prompt-b8af2cef904e3e19.js +0 -1
- package/.next/static/chunks/pages/skills-77ba363270239bbf.js +0 -1
- package/.next/static/chunks/pages/system/logs-1f54b6c8791daa77.js +0 -1
- package/.next/static/css/1a59bfb0aa677e69.css +0 -1
- package/.next/static/d863db1ff37d0934ebbb671f5c8dc07e5943c77d9b554215ce9e64fd8dc26727/_buildManifest.js +0 -1
- /package/.next/static/{d863db1ff37d0934ebbb671f5c8dc07e5943c77d9b554215ce9e64fd8dc26727 → 7ea0ee326182fc159e629b4cd9354c5c800c7d5e156fcd6533182444b20d26cf}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(()=>{var a={};a.id=6011,a.ids=[6011],a.modules={13684:(a,b,c)=>{c.r(b),c.d(b,{config:()=>v,default:()=>u,handler:()=>x});var d={};c.r(d),c.d(d,{default:()=>r});var e=c(11400),f=c(50029),g=c(71086),h=c(38513),i=c(70949),j=c(16006),k=c(
|
|
1
|
+
"use strict";(()=>{var a={};a.id=6011,a.ids=[6011],a.modules={13684:(a,b,c)=>{c.r(b),c.d(b,{config:()=>v,default:()=>u,handler:()=>x});var d={};c.r(d),c.d(d,{default:()=>r});var e=c(11400),f=c(50029),g=c(71086),h=c(38513),i=c(70949),j=c(16006),k=c(94691),l=c(76760),m=c(45462),n=c(60939),o=c(70610),p=c(46026);async function q(a,b){if("POST"!==a.method)return b.status(405).json({error:"Method not allowed"});let{promptIds:c,requirement:d,title:e,projectName:f,materialRoot:g,maxEvidencePerChapter:h,projectRoot:j,resumeDocumentId:q}=a.body;if(!j)return b.status(400).json({error:"projectRoot required"});let r=f??(q?(0,i.getGeneratedDocument)(q,j)?.projectName:void 0),s=function(a){try{return{spec:(0,n.iA)(a),promptTexts:(0,o.Z0)(a.promptIds,{projectRoot:a.projectRoot}).map(a=>a.content)}}catch(a){return{issues:(0,n.MW)(a)}}}({promptIds:c??[],requirement:d,projectRoot:j,title:e,projectName:r});if("issues"in s){let a=s.issues??(0,n.MW)(Error("文档规格派生失败"));return b.status(422).json({error:`生成前检查未通过:${a[0]?.message||"文档规格派生失败"}`,issues:a,missing:a[0]?.missing??[]})}let{spec:t,promptTexts:u}=s,v=function(a,b,c,d,e){let f=[...c,d||""].filter(Boolean).join("\n\n");return(0,k.ZRt)(a,(0,n.TQ)(b),f,e?{materialRoot:e}:{})}(j,t,u,d,g);if(v.ambiguous||!v.locked||0===v.selectedFiles.length)return b.status(422).json({error:`生成前检查未通过:资料范围未锁定:${v.reason}`,issues:[{level:"error",message:`资料范围未锁定:${v.reason}`,missing:[]}]});let w=[...function(a){if(0===a.length)return[];let b=[],c=new Map,d=new Map;for(let b of a){let{kind:a}=(0,m.O)(b);c.set(a,(c.get(a)??0)+1);let e=d.get(a)??[];e.length<3&&e.push(l.basename(b)),d.set(a,e)}let e=a=>{let b=c.get(a)??0;return b>0?`${b} 份(${(d.get(a)??[]).join("、")}${b>3?" 等":""})`:"**缺失**"},f=`招标 ${e("tender_document")}|清单 ${e("bill_of_quantities")}|图纸 ${e("drawing")}|补疑 ${e("addendum")}`;for(let a of[{kind:"tender_document",label:"招标文件",hint:"缺招标文件则编制规格、评审要求与响应锚点无从提取,要求实体响应(权重 0.30)无判定对象"},{kind:"bill_of_quantities",label:"工程量清单",hint:"缺清单则工程量/规格/资源计划类权威值全部不可推导,蓝图不可用"},{kind:"drawing",label:"图纸/设计资料",hint:"缺图纸则施工方法、专业接口与构造做法无依据,针对性章无法成稿"}].filter(a=>(c.get(a.kind)??0)===0))b.push({level:"error",message:`资料不齐备:未识别到${a.label}。${a.hint}。请补充后重新索引再生成。(当前资料构成:${f})`});return(c.get("addendum")??0)===0&&b.push({level:"warning",message:`未识别到补疑/答疑澄清资料(若本项目确无答疑可忽略)。当前资料构成:${f}`}),b}(v.selectedFiles),...(0,p.$)(j,v.selectedFiles)],x=w.filter(a=>"error"===a.level);if(x.length>0)return b.status(422).json({error:`生成前检查未通过:${x[0].message}`,issues:[...x,...w.filter(a=>"warning"===a.level)]});let y=(0,i.YL)({promptIds:c??[],requirement:d,title:t.title,projectName:r,materialRoot:v.selectedRoots[0],maxEvidencePerChapter:h,resumeDocumentId:q},j);b.status(202).json({...y,documentSpec:{id:t.id,title:t.title,documentType:t.documentType,chapterCount:t.chapters.length},derivation:t.derivation,materialScope:{root:v.selectedRoots[0],fileCount:v.selectedFiles.length,reason:v.reason},warnings:w})}let r=(0,j.j)("api/documents/generate",q);var s=c(68970),t=c(50296);let u=(0,h.M)(d,"default"),v=(0,h.M)(d,"config"),w=new g.PagesAPIRouteModule({definition:{kind:f.A.PAGES_API,page:"/api/documents/generate",pathname:"/api/documents/generate",bundlePath:"",filename:""},userland:d,distDir:".next",relativeProjectDir:""});async function x(a,b,c){let d=await w.prepare(a,b,{srcPage:"/api/documents/generate"});if(!d){b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve());return}let{query:f,params:g,prerenderManifest:h,routerServerContext:i}=d;try{let c=a.method||"GET",d=(0,s.getTracer)(),e=d.getActiveScopeSpan(),j=w.instrumentationOnRequestError.bind(w),k=async e=>w.render(a,b,{query:{...f,...g},params:g,allowedRevalidateHeaderKeys:[],multiZoneDraftMode:!1,trustHostHeader:!1,previewProps:h.preview,propagateError:!1,dev:w.isDev,page:"/api/documents/generate",internalRevalidate:null==i?void 0:i.revalidate,onError:(...b)=>j(a,...b)}).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let f=d.getRootSpanAttributes();if(!f)return;if(f.get("next.span_type")!==t.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${f.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let g=f.get("next.route");if(g){let a=`${c} ${g}`;e.setAttributes({"next.route":g,"http.route":g,"next.span_name":a}),e.updateName(a)}else e.updateName(`${c} ${a.url}`)});e?await k(e):await d.withPropagatedContext(a.headers,()=>d.trace(t.BaseServerSpan.handleRequest,{spanName:`${c} ${a.url}`,kind:s.SpanKind.SERVER,attributes:{"http.method":c,"http.target":a.url}},k))}catch(a){if(w.isDev)throw a;(0,e.sendError)(b,500,"Internal Server Error")}finally{null==c.waitUntil||c.waitUntil.call(c,Promise.resolve())}}},15751:a=>{a.exports=require("xlsx")},16698:a=>{a.exports=require("node:async_hooks")},19898:a=>{a.exports=require("@customize-agent/knowledge")},29021:a=>{a.exports=require("fs")},31421:a=>{a.exports=require("node:child_process")},33873:a=>{a.exports=require("path")},48161:a=>{a.exports=require("node:os")},55511:a=>{a.exports=require("crypto")},73024:a=>{a.exports=require("node:fs")},75600:a=>{a.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},95393:a=>{a.exports=require("@customize-agent/llm")},96770:a=>{a.exports=require("@customize-agent/runtime")}};var b=require("../../../webpack-api-runtime.js");b.C(a);var c=b.X(0,[9705,5746,5304,3806,2434,1243,1001,9666],()=>b(b.s=13684));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(()=>{var a={};a.id=5189,a.ids=[5189],a.modules={12152:(a,b,c)=>{function d(a){let b=e()?.semanticFingerprints?.[a];return"string"==typeof b&&/^[a-f0-9]{64}$/u.test(b)?b:void 0}function e(){let a='{"version":1,"sourceFingerprint":"
|
|
1
|
+
"use strict";(()=>{var a={};a.id=5189,a.ids=[5189],a.modules={12152:(a,b,c)=>{function d(a){let b=e()?.semanticFingerprints?.[a];return"string"==typeof b&&/^[a-f0-9]{64}$/u.test(b)?b:void 0}function e(){let a='{"version":1,"sourceFingerprint":"7ea0ee326182fc159e629b4cd9354c5c800c7d5e156fcd6533182444b20d26cf","semanticFingerprints":{"projectFacts":"41eefa652f4747c9ffd348393b6f50ac9e11a6393935ba73941c53f9a8b3cd59","documentGeneration":"900d3f22becafcfd4db0d2fd4d12f511764b7771631384de34ea759d722f9af0"},"gitCommit":"7507c09e332fbc3c131d96116fd15e4acbe71320","serverVersion":"4.60.3","sourceFiles":722,"capturedAt":"2026-10-12T17:13:59.654Z"}';if(a)try{let b=JSON.parse(a);if(1!==b.version||!/^[a-f0-9]{64}$/u.test(b.sourceFingerprint??"")||"string"!=typeof b.serverVersion||"number"!=typeof b.sourceFiles||"string"!=typeof b.capturedAt||null!==b.gitCommit&&"string"!=typeof b.gitCommit)return;return b}catch{return}}c.d(b,{C:()=>d,S:()=>e})},29021:a=>{a.exports=require("fs")},33873:a=>{a.exports=require("path")},51195:(a,b,c)=>{c.r(b),c.d(b,{config:()=>r,default:()=>q,handler:()=>t});var d={};c.r(d),c.d(d,{default:()=>n});var e=c(11400),f=c(50029),g=c(71086),h=c(38513),i=c(29021),j=c(33873),k=c(12152);let l=[(0,j.join)(process.cwd(),".next","BUILD_ID"),(0,j.join)(process.cwd(),"apps","server",".next","BUILD_ID")].find(i.existsSync),m=process.env.CUSTOMIZE_DASHBOARD_BUILD_ID??null;if(!m&&l)try{m=(0,i.readFileSync)(l,"utf-8").trim()}catch{m=null}function n(a,b){if("GET"!==a.method)return b.status(405).json({error:"Method not allowed"});try{b.status(200).json({status:"ok",uptime:Math.round(process.uptime()),timestamp:new Date().toISOString(),buildId:m,buildIdentity:(0,k.S)()??null,pid:process.pid})}catch(a){console.error("[api] health",a),b.status(500).json({error:"Internal server error"})}}var o=c(68970),p=c(50296);let q=(0,h.M)(d,"default"),r=(0,h.M)(d,"config"),s=new g.PagesAPIRouteModule({definition:{kind:f.A.PAGES_API,page:"/api/health",pathname:"/api/health",bundlePath:"",filename:""},userland:d,distDir:".next",relativeProjectDir:""});async function t(a,b,c){let d=await s.prepare(a,b,{srcPage:"/api/health"});if(!d){b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve());return}let{query:f,params:g,prerenderManifest:h,routerServerContext:i}=d;try{let c=a.method||"GET",d=(0,o.getTracer)(),e=d.getActiveScopeSpan(),j=s.instrumentationOnRequestError.bind(s),k=async e=>s.render(a,b,{query:{...f,...g},params:g,allowedRevalidateHeaderKeys:[],multiZoneDraftMode:!1,trustHostHeader:!1,previewProps:h.preview,propagateError:!1,dev:s.isDev,page:"/api/health",internalRevalidate:null==i?void 0:i.revalidate,onError:(...b)=>j(a,...b)}).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let f=d.getRootSpanAttributes();if(!f)return;if(f.get("next.span_type")!==p.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${f.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let g=f.get("next.route");if(g){let a=`${c} ${g}`;e.setAttributes({"next.route":g,"http.route":g,"next.span_name":a}),e.updateName(a)}else e.updateName(`${c} ${a.url}`)});e?await k(e):await d.withPropagatedContext(a.headers,()=>d.trace(p.BaseServerSpan.handleRequest,{spanName:`${c} ${a.url}`,kind:o.SpanKind.SERVER,attributes:{"http.method":c,"http.target":a.url}},k))}catch(a){if(s.isDev)throw a;(0,e.sendError)(b,500,"Internal Server Error")}finally{null==c.waitUntil||c.waitUntil.call(c,Promise.resolve())}}},75600:a=>{a.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")}};var b=require("../../webpack-api-runtime.js");b.C(a);var c=b.X(0,[9705],()=>b(b.s=51195));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(()=>{var a={};a.id=8684,a.ids=[8684],a.modules={19898:a=>{a.exports=require("@customize-agent/knowledge")},29021:a=>{a.exports=require("fs")},31421:a=>{a.exports=require("node:child_process")},33873:a=>{a.exports=require("path")},48161:a=>{a.exports=require("node:os")},55511:a=>{a.exports=require("crypto")},57975:a=>{a.exports=require("node:util")},73024:a=>{a.exports=require("node:fs")},75600:a=>{a.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},88131:(a,b,c)=>{c.r(b),c.d(b,{config:()=>u,default:()=>t,handler:()=>w});var d={};c.r(d),c.d(d,{default:()=>q});var e=c(11400),f=c(50029),g=c(71086),h=c(38513),i=c(16006),j=c(
|
|
1
|
+
"use strict";(()=>{var a={};a.id=8684,a.ids=[8684],a.modules={5934:(a,b,c)=>{c.d(b,{I:()=>e});var d=c(19898);function e(a){let b;if("pdf"!==a.format)return;let c={};try{let b=JSON.parse(a.metadataJson??"{}");c=b.extraction??b}catch{}let e=c.pdfCoverage,f=e?.declaredPageCount,g=Number.isSafeInteger(f)&&Number(f)>0?Number(f):null,h=new Set((b="processedPageIds",Array.isArray(e?.[b])?e[b].filter(a=>Number.isSafeInteger(a)&&Number(a)>0):[])),i=Array.isArray(e?.failedPages)?e.failedPages.map(a=>a?.page).filter(a=>Number.isSafeInteger(a)&&Number(a)>0):[];return{status:(0,d.isCompletePdfSourceCoverage)(e,a.contentHash)?"complete":e?"incomplete":"unmeasured",pageCount:g,processedPages:h.size,missingPages:g?Array.from({length:g},(a,b)=>b+1).filter(a=>!h.has(a)):[],failedPages:i}}},19898:a=>{a.exports=require("@customize-agent/knowledge")},29021:a=>{a.exports=require("fs")},31421:a=>{a.exports=require("node:child_process")},33873:a=>{a.exports=require("path")},48161:a=>{a.exports=require("node:os")},55511:a=>{a.exports=require("crypto")},57975:a=>{a.exports=require("node:util")},73024:a=>{a.exports=require("node:fs")},75600:a=>{a.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},88131:(a,b,c)=>{c.r(b),c.d(b,{config:()=>u,default:()=>t,handler:()=>w});var d={};c.r(d),c.d(d,{default:()=>q});var e=c(11400),f=c(50029),g=c(71086),h=c(38513),i=c(16006),j=c(29021),k=c(33873),l=c(44533),m=c(89900),n=c(57975),o=c(5934);async function p(a,b){if("GET"!==a.method)return b.status(405).json({error:"Method not allowed"});try{let c=a.query.projectRoot||(0,l.aY)(),d=a.query.relativePath;if(!c||!d)return b.status(400).json({error:"projectRoot and relativePath are required"});let e=await (0,l.getMultiProjectManager)().getProject(c),f=e.getFileDetail(d)??function(a,b){let c=(0,m.LI)((0,l.NW)(a),b,{requireFile:!0,mustExist:!0});if(!c.ok){"empty"!==c.reason&&console.warn(`[api] kb/files/detail 拒绝越界读取:${(0,m.vZ)(c.reason)} relativePath=${b}`);return}let d=c.absolute,e=j.statSync(d);return{file:{relativePath:b,category:b.includes("表格数据/")?"spreadsheet":b.includes("图片素材/")?"image":b.includes("图纸文件/")?"cad":b.includes("文档资料/")?"document":"other",format:k.extname(b).slice(1).toLowerCase()||"text",contentHash:"",fileSize:e.size,mtime:e.mtimeMs,chunkCount:0,collectionName:"",indexedAt:0,lastVerifiedAt:Date.now(),status:"pending",metadataJson:JSON.stringify({extractionMode:"pending_extraction",contentCoverage:"尚未解析",textLength:0})},absolutePath:d,directory:k.dirname(d),chunks:[],parents:[],relationships:[],tags:[]}}(c,d);if(!f)return b.status(404).json({error:"file not found"});let g=e.getFileParseAttempt(d),h=(0,o.I)(f.file);b.status(200).json({...f,chunks:function(a,b){let c;if("pdf"!==a.format||!a.metadataJson)return b;try{let d=JSON.parse(a.metadataJson),e=d?.extraction??d;if(!e||"object"!=typeof e||Array.isArray(e))return b;c=e}catch{return b}return b.map(a=>{let b;if(!a.metadataJson)return a;try{let c=JSON.parse(a.metadataJson);if(!c||"object"!=typeof c||Array.isArray(c))return a;b=c}catch{return a}let d=!1;for(let a of["pdfCoverage","pdfNativeReadPageIds","pdfNativeUsablePageIds","pdfProcessedPageIds"])Object.hasOwn(b,a)&&Object.hasOwn(c,a)&&(0,n.isDeepStrictEqual)(b[a],c[a])&&(delete b[a],d=!0);return d?{...a,metadataJson:JSON.stringify(b)}:a})}(f.file,f.chunks),parseAttempt:g,pdfCoverage:h})}catch(a){console.error("[api] kb/files/detail",a),b.status(500).json({error:"Internal server error"})}}let q=(0,i.j)("api/kb/files/detail",p);var r=c(68970),s=c(50296);let t=(0,h.M)(d,"default"),u=(0,h.M)(d,"config"),v=new g.PagesAPIRouteModule({definition:{kind:f.A.PAGES_API,page:"/api/kb/files/detail",pathname:"/api/kb/files/detail",bundlePath:"",filename:""},userland:d,distDir:".next",relativeProjectDir:""});async function w(a,b,c){let d=await v.prepare(a,b,{srcPage:"/api/kb/files/detail"});if(!d){b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve());return}let{query:f,params:g,prerenderManifest:h,routerServerContext:i}=d;try{let c=a.method||"GET",d=(0,r.getTracer)(),e=d.getActiveScopeSpan(),j=v.instrumentationOnRequestError.bind(v),k=async e=>v.render(a,b,{query:{...f,...g},params:g,allowedRevalidateHeaderKeys:[],multiZoneDraftMode:!1,trustHostHeader:!1,previewProps:h.preview,propagateError:!1,dev:v.isDev,page:"/api/kb/files/detail",internalRevalidate:null==i?void 0:i.revalidate,onError:(...b)=>j(a,...b)}).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let f=d.getRootSpanAttributes();if(!f)return;if(f.get("next.span_type")!==s.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${f.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let g=f.get("next.route");if(g){let a=`${c} ${g}`;e.setAttributes({"next.route":g,"http.route":g,"next.span_name":a}),e.updateName(a)}else e.updateName(`${c} ${a.url}`)});e?await k(e):await d.withPropagatedContext(a.headers,()=>d.trace(s.BaseServerSpan.handleRequest,{spanName:`${c} ${a.url}`,kind:r.SpanKind.SERVER,attributes:{"http.method":c,"http.target":a.url}},k))}catch(a){if(v.isDev)throw a;(0,e.sendError)(b,500,"Internal Server Error")}finally{null==c.waitUntil||c.waitUntil.call(c,Promise.resolve())}}},89900:(a,b,c)=>{c.d(b,{LI:()=>j,kq:()=>h,n7:()=>k,vZ:()=>l});var d=c(76760),e=c(73024);let f="win32"===process.platform;function g(a){return String(a??"").replace(/\\/gu,"/").replace(/^\/+/u,"").replace(/\/+/gu,"/")}function h(a,b){let c=d.relative(d.resolve(b),d.resolve(a));return!c||!(c.startsWith("..")||d.isAbsolute(c))}function i(a,b){return f?h(a.toLowerCase(),b.toLowerCase()):h(a,b)}function j(a,b,c={}){let f=function(a){let b=String(a??"");if(b.includes("\0"))return"nul_byte";if(/^(?:[A-Za-z]:[\\/]|[\\/]{1,2})/u.test(b))return"absolute";let c=g(b);if(!c||"."===c)return"empty";if(c.length>1e3)return"path_too_long";let d=c.split("/");return d.some(a=>!a)?"empty_segment":d.some(a=>".."===a)?"parent_segment":d.some(a=>a.length>255)?"segment_too_long":null}(b);if(f)return{ok:!1,reason:f};let h=g(b),k=d.resolve(a,h);if(!i(k,a))return{ok:!1,reason:"escapes_root"};try{let b=e.realpathSync(k),c=e.realpathSync(d.resolve(a));if(!i(b,c))return{ok:!1,reason:"escapes_root"}}catch{}return c.mustExist&&!e.existsSync(k)||c.requireFile&&e.existsSync(k)&&!e.statSync(k).isFile()?{ok:!1,reason:"empty"}:{ok:!0,relative:h,absolute:k}}function k(a,b,c={}){let f=String(a??"");if(!f||f.includes("\0"))return{ok:!1,reason:f.includes("\0")?"nul_byte":"empty"};let g=d.resolve(f),h=b.map(a=>d.resolve(a)).filter(Boolean);if(0===h.length)return{ok:!1,reason:"escapes_root"};let j=null;try{j=e.realpathSync(g)}catch{j=null}return h.some(a=>{let b;if(!i(g,a))return!1;if(null===j)return!0;try{b=e.realpathSync(a)}catch{return!0}return i(j,b)})?c.mustExist&&!e.existsSync(g)||c.requireFile&&e.existsSync(g)&&!e.statSync(g).isFile()?{ok:!1,reason:"empty"}:{ok:!0,relative:d.relative(h[0],g),absolute:g}:{ok:!1,reason:"escapes_root"}}function l(a){return({empty:"路径为空或不存在",nul_byte:"路径包含非法字符",absolute:"路径为绝对路径,只接受项目内相对路径",parent_segment:"路径包含上级目录引用(..)",empty_segment:"路径包含空目录段",segment_too_long:"路径中包含过长的名称",path_too_long:"路径过长",escapes_root:"路径不在允许的根目录范围内"})[a]||"路径不合法"}},96770:a=>{a.exports=require("@customize-agent/runtime")}};var b=require("../../../../webpack-api-runtime.js");b.C(a);var c=b.X(0,[9705,5746],()=>b(b.s=88131));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(()=>{var a={};a.id=9499,a.ids=[9499],a.modules={19898:a=>{a.exports=require("@customize-agent/knowledge")},29021:a=>{a.exports=require("fs")},31421:a=>{a.exports=require("node:child_process")},33873:a=>{a.exports=require("path")},48161:a=>{a.exports=require("node:os")},55511:a=>{a.exports=require("crypto")},73024:a=>{a.exports=require("node:fs")},75600:a=>{a.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},87973:(a,b,c)=>{c.r(b),c.d(b,{config:()=>
|
|
1
|
+
"use strict";(()=>{var a={};a.id=9499,a.ids=[9499],a.modules={5934:(a,b,c)=>{c.d(b,{I:()=>e});var d=c(19898);function e(a){let b;if("pdf"!==a.format)return;let c={};try{let b=JSON.parse(a.metadataJson??"{}");c=b.extraction??b}catch{}let e=c.pdfCoverage,f=e?.declaredPageCount,g=Number.isSafeInteger(f)&&Number(f)>0?Number(f):null,h=new Set((b="processedPageIds",Array.isArray(e?.[b])?e[b].filter(a=>Number.isSafeInteger(a)&&Number(a)>0):[])),i=Array.isArray(e?.failedPages)?e.failedPages.map(a=>a?.page).filter(a=>Number.isSafeInteger(a)&&Number(a)>0):[];return{status:(0,d.isCompletePdfSourceCoverage)(e,a.contentHash)?"complete":e?"incomplete":"unmeasured",pageCount:g,processedPages:h.size,missingPages:g?Array.from({length:g},(a,b)=>b+1).filter(a=>!h.has(a)):[],failedPages:i}}},19898:a=>{a.exports=require("@customize-agent/knowledge")},29021:a=>{a.exports=require("fs")},31421:a=>{a.exports=require("node:child_process")},33873:a=>{a.exports=require("path")},48161:a=>{a.exports=require("node:os")},55511:a=>{a.exports=require("crypto")},73024:a=>{a.exports=require("node:fs")},75600:a=>{a.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},87973:(a,b,c)=>{c.r(b),c.d(b,{config:()=>u,default:()=>t,handler:()=>w});var d={};c.r(d),c.d(d,{config:()=>o,default:()=>q});var e=c(11400),f=c(50029),g=c(71086),h=c(38513),i=c(44533),j=c(16006),k=c(19898),l=c(5934),m=c(73024);let n=require("node:stream/promises"),o={api:{responseLimit:!1}};async function p(a,b){if("GET"!==a.method)return b.status(405).json({error:"Method not allowed"});let c="string"==typeof a.query.projectRoot?a.query.projectRoot:(0,i.aY)(),d="string"==typeof a.query.relativePath?a.query.relativePath:"";if(!c||!d)return b.status(400).json({error:"projectRoot and relativePath are required"});let e=await (0,i.getMultiProjectManager)().getProject(c),f=function(a,b,c={}){return a.store.readSnapshot(()=>{let d=a.store.getRecord(b);if(!d)return;if(void 0!==c.offset&&(!Number.isSafeInteger(c.offset)||c.offset<0)||void 0!==c.limit&&(!Number.isSafeInteger(c.limit)||c.limit<1))throw Error("核查分页参数无效");let e=c.offset??0,f=Math.min(100,c.limit??30),g=(0,l.I)(d),h=a.getParsedFile(b);if(!h){let c=a.listChunks({relativePath:b});return{status:"not-recorded",file:d,pdfCoverage:g,chunks:c.slice(e,e+f).map(a=>({id:a.id,chunkIndex:a.chunkIndex,content:a.content})),offset:e,totalChunks:c.length,nextOffset:e+f<c.length?e+f:null,reason:"独立解析底稿尚未记录,不能追溯证明历史解析完整。已入库内容仍可查看、检索和使用,不以原文件存在或重新解析为前提。"}}if(c.snapshotId&&c.snapshotId!==h.document.snapshotId)throw Error("核查期间解析版本已变化,请刷新页面");let i=a.listChunks({relativePath:b}),j=(0,k.mapChunksToParsedDocument)(h.document,i.map(a=>({index:a.chunkIndex,text:a.content,startChar:a.startChar??0,endChar:a.endChar??0,tokenCount:a.tokenCount,metadata:JSON.parse(a.metadataJson??"{}")}))),m=i.filter(a=>{let b=JSON.parse(a.metadataJson??"{}");return b.parsedSnapshotId!==h.document.snapshotId||b.sourceHash!==d.contentHash}).map(a=>a.chunkIndex),{text:n,structure:o,...p}=h.document;return{status:"recorded",file:d,pdfCoverage:g,identity:p,text:n,structure:{...o,...o.docx?{docx:{...o.docx,images:o.docx.images.map(({name:a,mediaType:b})=>({name:a,mediaType:b}))}}:{}},conservation:{...j.report,staleChunkIdentities:m,registeredChunkCount:d.chunkCount,chunkCountMatches:d.chunkCount===i.length,ingestionStatus:h.conservation.status},chunks:i.slice(e,e+f).map(a=>({id:a.id,chunkIndex:a.chunkIndex,content:a.content,parentId:a.parentId,sectionTitle:a.sectionTitle,sourceSpans:JSON.parse(a.metadataJson??"{}").sourceSpans})),offset:e,totalChunks:i.length,nextOffset:e+f<i.length?e+f:null,validationScope:"文本覆盖及身份核查;版式、图形含义和专业采用独立审查"}})}(e,d,{snapshotId:"string"==typeof a.query.snapshotId?a.query.snapshotId:void 0,offset:Number(a.query.offset??0),limit:Number(a.query.limit??30)});if(!f)return b.status(404).json({error:"file not indexed"});if("string"==typeof a.query.frame){if("recorded"!==f.status||!f.structure.cad?.frameIds.includes(a.query.frame))return b.status(404).json({error:"当前解析图框不存在"});let c=e.store.readSnapshot(()=>{let b=e.getParsedFile(d);if(b?.document.snapshotId!==f.identity.snapshotId)throw Error("图框解析版本已变化,请刷新");let c=e.store.loadCadScene(d);if(c.version!==f.structure.cad.sceneVersion)throw Error("图框与底稿解析版本失配");return(0,k.renderCadSourceView)(c,{frameId:a.query.frame})});return"json"===a.query.format?b.status(200).json({image:`data:image/png;base64,${c.png.toString("base64")}`,receipt:{frameId:c.receipt.frameId,sceneVersion:c.receipt.sceneVersion,viewport:c.receipt.viewport,renderingLimitations:c.receipt.renderingLimitations,sourceInterpretationComplete:!1,approvedForWriting:!1}}):(b.setHeader("Content-Type","image/png"),b.setHeader("Cache-Control","no-store"),b.status(200).send(c.png))}if("1"===a.query.original){if("recorded"!==f.status)return b.status(409).json({error:f.reason});let a=await e.getSourceAssetPath(d,f.identity.snapshotId);return a?(b.setHeader("Content-Type","pdf"===f.file.format?"application/pdf":"application/octet-stream"),b.setHeader("Content-Disposition",`inline; filename*=UTF-8''${encodeURIComponent(d.split("/").at(-1)??"source")}`),b.setHeader("X-Content-Type-Options","nosniff"),b.setHeader("Cache-Control","no-store"),void await (0,n.pipeline)((0,m.createReadStream)(a),b)):b.status(404).json({error:"入库版本原文件快照不存在,未回退到同名当前文件"})}if("string"==typeof a.query.image){let c=e.getParsedFile(d);if("recorded"!==f.status||c?.document.snapshotId!==f.identity.snapshotId)return b.status(409).json({error:"解析图片版本已变化,请刷新"});let g=c?.document.structure.docx?.images.find(b=>b.name===a.query.image);return g?(b.setHeader("Content-Type",g.mediaType),b.setHeader("Content-Security-Policy","sandbox; default-src 'none'"),b.status(200).send(Buffer.from(g.base64,"base64"))):b.status(404).json({error:"解析图片不存在"})}let g="string"==typeof a.query.q?a.query.q.trim():"",h=g?e.search(g,20,{filePaths:[d]}).map(a=>({id:a.id,chunkIndex:a.chunkIndex,sectionTitle:a.sectionTitle,content:a.content,score:a.score})):void 0;return b.setHeader("Cache-Control","no-store"),b.status(200).json({...f,...h?{retrieval:{channel:"keyword",query:g,results:h,scope:"selected-file-only",provesAbsent:!1,modelRequests:0}}:{}})}let q=(0,j.j)("api/kb/files/source-preview",p);var r=c(68970),s=c(50296);let t=(0,h.M)(d,"default"),u=(0,h.M)(d,"config"),v=new g.PagesAPIRouteModule({definition:{kind:f.A.PAGES_API,page:"/api/kb/files/source-preview",pathname:"/api/kb/files/source-preview",bundlePath:"",filename:""},userland:d,distDir:".next",relativeProjectDir:""});async function w(a,b,c){let d=await v.prepare(a,b,{srcPage:"/api/kb/files/source-preview"});if(!d){b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve());return}let{query:f,params:g,prerenderManifest:h,routerServerContext:i}=d;try{let c=a.method||"GET",d=(0,r.getTracer)(),e=d.getActiveScopeSpan(),j=v.instrumentationOnRequestError.bind(v),k=async e=>v.render(a,b,{query:{...f,...g},params:g,allowedRevalidateHeaderKeys:[],multiZoneDraftMode:!1,trustHostHeader:!1,previewProps:h.preview,propagateError:!1,dev:v.isDev,page:"/api/kb/files/source-preview",internalRevalidate:null==i?void 0:i.revalidate,onError:(...b)=>j(a,...b)}).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let f=d.getRootSpanAttributes();if(!f)return;if(f.get("next.span_type")!==s.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${f.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let g=f.get("next.route");if(g){let a=`${c} ${g}`;e.setAttributes({"next.route":g,"http.route":g,"next.span_name":a}),e.updateName(a)}else e.updateName(`${c} ${a.url}`)});e?await k(e):await d.withPropagatedContext(a.headers,()=>d.trace(s.BaseServerSpan.handleRequest,{spanName:`${c} ${a.url}`,kind:r.SpanKind.SERVER,attributes:{"http.method":c,"http.target":a.url}},k))}catch(a){if(v.isDev)throw a;(0,e.sendError)(b,500,"Internal Server Error")}finally{null==c.waitUntil||c.waitUntil.call(c,Promise.resolve())}}},96770:a=>{a.exports=require("@customize-agent/runtime")}};var b=require("../../../../webpack-api-runtime.js");b.C(a);var c=b.X(0,[9705,5746],()=>b(b.s=87973));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" data-next-head=""/><link rel="preload" href="/_next/static/css/1a59bfb0aa677e69.css" as="style"/><link rel="stylesheet" href="/_next/static/css/1a59bfb0aa677e69.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-6224d37324e372cb.js" defer=""></script><script src="/_next/static/chunks/framework-4b565b3ddc94cdac.js" defer=""></script><script src="/_next/static/chunks/main-0c91f573696223ca.js" defer=""></script><script src="/_next/static/chunks/pages/_app-c11b5e8072f49bcc.js" defer=""></script><script src="/_next/static/chunks/310-6c678cb70e4ba2d6.js" defer=""></script><script src="/_next/static/chunks/700-5d29b0475311f590.js" defer=""></script><script src="/_next/static/chunks/914-292edce0ba2a212d.js" defer=""></script><script src="/_next/static/chunks/174-1bc48f295d7dd075.js" defer=""></script><script src="/_next/static/chunks/569-2bfdde9e402af5b2.js" defer=""></script><script src="/_next/static/chunks/665-9607db8f8b43e52e.js" defer=""></script><script src="/_next/static/chunks/511-75b881093a3e908b.js" defer=""></script><script src="/_next/static/chunks/709-a7c652953ccd3b4b.js" defer=""></script><script src="/_next/static/chunks/530-d9f0418ec7ab040f.js" defer=""></script><script src="/_next/static/chunks/pages/canvas/%5Bid%5D-37bee3f7b816ed18.js" defer=""></script><script src="/_next/static/d863db1ff37d0934ebbb671f5c8dc07e5943c77d9b554215ce9e64fd8dc26727/_buildManifest.js" defer=""></script><script src="/_next/static/d863db1ff37d0934ebbb671f5c8dc07e5943c77d9b554215ce9e64fd8dc26727/_ssgManifest.js" defer=""></script></head><body><div id="__next"><script>((e,i,s,u,m,a,l,h)=>{let d=document.documentElement,w=["light","dark"];function p(n){(Array.isArray(e)?e:[e]).forEach(y=>{let k=y==="class",S=k&&a?m.map(f=>a[f]||f):m;k?(d.classList.remove(...S),d.classList.add(a&&a[n]?a[n]:n)):d.setAttribute(y,n)}),R(n)}function R(n){h&&w.includes(n)&&(d.style.colorScheme=n)}function c(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(u)p(u);else try{let n=localStorage.getItem(i)||s,y=l&&n==="system"?c():n;p(y)}catch(n){}})("class","theme","system",null,["light","dark"],null,true,true)</script><div class="css-1pi45l5 ant-app css-var-_R_16_"><aside class="sidebar sidebarCollapsedSelf"><div class="sidebarLogoRow"><a class="min-w-0 flex-1" href="/overview"><div class="sidebarLogo"><div class="w-8 h-8 rounded-lg bg-black dark:bg-white flex items-center justify-center shrink-0"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-moon text-white dark:text-black"><path d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"></path></svg></div><div class="sidebarLogoTitle"><span class="logoGradient">Customize Agent</span></div></div></a></div><nav class="sidebarNav mt-2"><a href="/overview"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-layout-dashboard"><rect width="7" height="9" x="3" y="3" rx="1"></rect><rect width="7" height="5" x="14" y="3" rx="1"></rect><rect width="7" height="9" x="14" y="12" rx="1"></rect><rect width="7" height="5" x="3" y="16" rx="1"></rect></svg><span class="sidebarLabel">总览</span></div></a><a href="/knowledge"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-database"><ellipse cx="12" cy="5" rx="9" ry="3"></ellipse><path d="M3 5V19A9 3 0 0 0 21 19V5"></path><path d="M3 12A9 3 0 0 0 21 12"></path></svg><span class="sidebarLabel">知识库</span></div></a><a href="/models"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-cpu"><rect width="16" height="16" x="4" y="4" rx="2"></rect><rect width="6" height="6" x="9" y="9" rx="1"></rect><path d="M15 2v2"></path><path d="M15 20v2"></path><path d="M2 15h2"></path><path d="M2 9h2"></path><path d="M20 15h2"></path><path d="M20 9h2"></path><path d="M9 2v2"></path><path d="M9 20v2"></path></svg><span class="sidebarLabel">模型配置</span></div></a><a href="/prompt"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-message-square"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg><span class="sidebarLabel">提示词管理</span></div></a><a href="/skills"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-settings"><path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"></path><circle cx="12" cy="12" r="3"></circle></svg><span class="sidebarLabel">技能库</span></div></a><a href="/canvas"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-network"><rect x="16" y="16" width="6" height="6" rx="1"></rect><rect x="2" y="16" width="6" height="6" rx="1"></rect><rect x="9" y="2" width="6" height="6" rx="1"></rect><path d="M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3"></path><path d="M12 12V8"></path></svg><span class="sidebarLabel">生成画布</span></div></a><a href="/guide"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-book-open"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"></path><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"></path></svg><span class="sidebarLabel">指引</span></div></a><a href="/settings"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-settings"><path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"></path><circle cx="12" cy="12" r="3"></circle></svg><span class="sidebarLabel">设置</span></div></a></nav></aside><div class="mainContent"><header class="topbar"><div class="flex-1"></div><span class="ant-badge css-1pi45l5 css-var-_R_16_"><button type="button" class="ant-btn css-1pi45l5 css-var-_R_16_ ant-btn-default ant-btn-color-default ant-btn-variant-outlined topbarBtn"><span class="ant-btn-icon"><span role="img" aria-label="clock-circle" class="anticon anticon-clock-circle"><svg viewBox="64 64 896 896" focusable="false" data-icon="clock-circle" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"></path><path d="M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"></path></svg></span></span><span>后台任务</span></button></span><button class="topbarBtn"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-moon"><path d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"></path></svg><span>深色</span></button><button class="topbarBtn"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-languages"><path d="m5 8 6 6"></path><path d="m4 14 6-6 2-3"></path><path d="M2 5h12"></path><path d="M7 2h1"></path><path d="m22 22-5-10-5 10"></path><path d="M14 18h6"></path></svg><span>English</span></button></header><main class="mainInner mainInnerCanvas"><div class="appShellPlaceholder"><div class="ant-spin ant-spin-spinning ant-spin-section css-1pi45l5 css-var-_R_16_" style="margin:48px" aria-live="polite" aria-busy="true"><span class="ant-spin-dot-holder"><span class="ant-spin-dot ant-spin-dot-spin"><i class="ant-spin-dot-item"></i><i class="ant-spin-dot-item"></i><i class="ant-spin-dot-item"></i><i class="ant-spin-dot-item"></i></span></span></div></div></main></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/canvas/[id]","query":{},"buildId":"d863db1ff37d0934ebbb671f5c8dc07e5943c77d9b554215ce9e64fd8dc26727","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" data-next-head=""/><link rel="icon" type="image/svg+xml" href="/favicon.svg" data-next-head=""/><link rel="icon" href="/favicon.ico" sizes="any" data-next-head=""/><link rel="apple-touch-icon" href="/apple-touch-icon.png" data-next-head=""/><link rel="preload" href="/_next/static/css/e67420f8d0ea180d.css" as="style"/><link rel="stylesheet" href="/_next/static/css/e67420f8d0ea180d.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-6224d37324e372cb.js" defer=""></script><script src="/_next/static/chunks/framework-4b565b3ddc94cdac.js" defer=""></script><script src="/_next/static/chunks/main-0c91f573696223ca.js" defer=""></script><script src="/_next/static/chunks/pages/_app-10f13111671af8a4.js" defer=""></script><script src="/_next/static/chunks/324-650dc02536b071bf.js" defer=""></script><script src="/_next/static/chunks/280-3ce590d421b5c47d.js" defer=""></script><script src="/_next/static/chunks/665-0634aa49137defc4.js" defer=""></script><script src="/_next/static/chunks/576-6699fed6c88502fe.js" defer=""></script><script src="/_next/static/chunks/569-2bfdde9e402af5b2.js" defer=""></script><script src="/_next/static/chunks/499-2233cadc6d4da647.js" defer=""></script><script src="/_next/static/chunks/808-0506edc7454b5c0e.js" defer=""></script><script src="/_next/static/chunks/127-7d37d37dab02bd10.js" defer=""></script><script src="/_next/static/chunks/579-fc0a2eb64aedb001.js" defer=""></script><script src="/_next/static/chunks/530-a5a65dc8adb1ee11.js" defer=""></script><script src="/_next/static/chunks/pages/canvas/%5Bid%5D-534b45f39f39630c.js" defer=""></script><script src="/_next/static/7ea0ee326182fc159e629b4cd9354c5c800c7d5e156fcd6533182444b20d26cf/_buildManifest.js" defer=""></script><script src="/_next/static/7ea0ee326182fc159e629b4cd9354c5c800c7d5e156fcd6533182444b20d26cf/_ssgManifest.js" defer=""></script></head><body><div id="__next"><script>((e,i,s,u,m,a,l,h)=>{let d=document.documentElement,w=["light","dark"];function p(n){(Array.isArray(e)?e:[e]).forEach(y=>{let k=y==="class",S=k&&a?m.map(f=>a[f]||f):m;k?(d.classList.remove(...S),d.classList.add(a&&a[n]?a[n]:n)):d.setAttribute(y,n)}),R(n)}function R(n){h&&w.includes(n)&&(d.style.colorScheme=n)}function c(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(u)p(u);else try{let n=localStorage.getItem(i)||s,y=l&&n==="system"?c():n;p(y)}catch(n){}})("class","theme","system",null,["light","dark"],null,true,true)</script><div class="css-1pi45l5 ant-app css-var-_R_56_"><aside class="sidebar sidebarCollapsedSelf"><div class="sidebarLogoRow"><a class="min-w-0 flex-1" href="/overview"><div class="sidebarLogo"><div class="w-8 h-8 rounded-lg bg-black dark:bg-white flex items-center justify-center shrink-0"><svg width="20" height="20" viewBox="0 0 24 24" class="text-white dark:text-black" aria-hidden="true" focusable="false"><g transform="rotate(-20 12 12)"><path d="M12 2 A10 10 0 1 0 12 22 A11 11 0 0 1 12 2 Z" fill="currentColor"></path></g></svg></div><div class="sidebarLogoTitle"><span class="logoGradient">Customize Agent</span></div></div></a></div><nav class="sidebarNav mt-2"><a href="/overview"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-layout-dashboard"><rect width="7" height="9" x="3" y="3" rx="1"></rect><rect width="7" height="5" x="14" y="3" rx="1"></rect><rect width="7" height="9" x="14" y="12" rx="1"></rect><rect width="7" height="5" x="3" y="16" rx="1"></rect></svg><span class="sidebarLabel">总览</span></div></a><a href="/knowledge"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-database"><ellipse cx="12" cy="5" rx="9" ry="3"></ellipse><path d="M3 5V19A9 3 0 0 0 21 19V5"></path><path d="M3 12A9 3 0 0 0 21 12"></path></svg><span class="sidebarLabel">知识库</span></div></a><a href="/models"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-cpu"><rect width="16" height="16" x="4" y="4" rx="2"></rect><rect width="6" height="6" x="9" y="9" rx="1"></rect><path d="M15 2v2"></path><path d="M15 20v2"></path><path d="M2 15h2"></path><path d="M2 9h2"></path><path d="M20 15h2"></path><path d="M20 9h2"></path><path d="M9 2v2"></path><path d="M9 20v2"></path></svg><span class="sidebarLabel">模型配置</span></div></a><a href="/prompt"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-message-square"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg><span class="sidebarLabel">提示词管理</span></div></a><a href="/skills"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-shield-check"><path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"></path><path d="m9 12 2 2 4-4"></path></svg><span class="sidebarLabel">技能库</span></div></a><a href="/canvas"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-network"><rect x="16" y="16" width="6" height="6" rx="1"></rect><rect x="2" y="16" width="6" height="6" rx="1"></rect><rect x="9" y="2" width="6" height="6" rx="1"></rect><path d="M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3"></path><path d="M12 12V8"></path></svg><span class="sidebarLabel">生成画布</span></div></a><a href="/guide"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-book-open"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"></path><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"></path></svg><span class="sidebarLabel">指引</span></div></a><a href="/settings"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-settings"><path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"></path><circle cx="12" cy="12" r="3"></circle></svg><span class="sidebarLabel">设置</span></div></a></nav></aside><div class="mainContent"><header class="topbar"><div class="flex-1"></div><span class="ant-badge css-1pi45l5 css-var-_R_56_"><button type="button" class="ant-btn css-1pi45l5 css-var-_R_56_ ant-btn-default ant-btn-color-default ant-btn-variant-outlined topbarBtn"><span class="ant-btn-icon"><span role="img" aria-label="clock-circle" class="anticon anticon-clock-circle"><svg viewBox="64 64 896 896" focusable="false" data-icon="clock-circle" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"></path><path d="M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"></path></svg></span></span><span>后台任务</span></button></span><button class="topbarBtn"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-moon"><path d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"></path></svg><span>深色</span></button><button class="topbarBtn"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-languages"><path d="m5 8 6 6"></path><path d="m4 14 6-6 2-3"></path><path d="M2 5h12"></path><path d="M7 2h1"></path><path d="m22 22-5-10-5 10"></path><path d="M14 18h6"></path></svg><span>English</span></button></header><main class="mainInner mainInnerCanvas"><div class="appShellPlaceholder"><div class="ant-spin ant-spin-spinning ant-spin-section css-1pi45l5 css-var-_R_56_" style="margin:48px" aria-live="polite" aria-busy="true"><span class="ant-spin-dot-holder"><span class="ant-spin-dot ant-spin-dot-spin"><i class="ant-spin-dot-item"></i><i class="ant-spin-dot-item"></i><i class="ant-spin-dot-item"></i><i class="ant-spin-dot-item"></i></span></span></div></div></main></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/canvas/[id]","query":{},"buildId":"7ea0ee326182fc159e629b4cd9354c5c800c7d5e156fcd6533182444b20d26cf","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" data-next-head=""/><title data-next-head="">生成画布</title><link rel="preload" href="/_next/static/css/1a59bfb0aa677e69.css" as="style"/><link rel="stylesheet" href="/_next/static/css/1a59bfb0aa677e69.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-6224d37324e372cb.js" defer=""></script><script src="/_next/static/chunks/framework-4b565b3ddc94cdac.js" defer=""></script><script src="/_next/static/chunks/main-0c91f573696223ca.js" defer=""></script><script src="/_next/static/chunks/pages/_app-c11b5e8072f49bcc.js" defer=""></script><script src="/_next/static/chunks/310-6c678cb70e4ba2d6.js" defer=""></script><script src="/_next/static/chunks/700-5d29b0475311f590.js" defer=""></script><script src="/_next/static/chunks/174-1bc48f295d7dd075.js" defer=""></script><script src="/_next/static/chunks/511-75b881093a3e908b.js" defer=""></script><script src="/_next/static/chunks/835-d29f4cc7a3679606.js" defer=""></script><script src="/_next/static/chunks/530-d9f0418ec7ab040f.js" defer=""></script><script src="/_next/static/chunks/pages/canvas-97971ae159337676.js" defer=""></script><script src="/_next/static/d863db1ff37d0934ebbb671f5c8dc07e5943c77d9b554215ce9e64fd8dc26727/_buildManifest.js" defer=""></script><script src="/_next/static/d863db1ff37d0934ebbb671f5c8dc07e5943c77d9b554215ce9e64fd8dc26727/_ssgManifest.js" defer=""></script></head><body><div id="__next"><script>((e,i,s,u,m,a,l,h)=>{let d=document.documentElement,w=["light","dark"];function p(n){(Array.isArray(e)?e:[e]).forEach(y=>{let k=y==="class",S=k&&a?m.map(f=>a[f]||f):m;k?(d.classList.remove(...S),d.classList.add(a&&a[n]?a[n]:n)):d.setAttribute(y,n)}),R(n)}function R(n){h&&w.includes(n)&&(d.style.colorScheme=n)}function c(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(u)p(u);else try{let n=localStorage.getItem(i)||s,y=l&&n==="system"?c():n;p(y)}catch(n){}})("class","theme","system",null,["light","dark"],null,true,true)</script><div class="css-1pi45l5 ant-app css-var-_R_16_"><aside class="sidebar sidebarCollapsedSelf"><div class="sidebarLogoRow"><a class="min-w-0 flex-1" href="/overview"><div class="sidebarLogo"><div class="w-8 h-8 rounded-lg bg-black dark:bg-white flex items-center justify-center shrink-0"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-moon text-white dark:text-black"><path d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"></path></svg></div><div class="sidebarLogoTitle"><span class="logoGradient">Customize Agent</span></div></div></a></div><nav class="sidebarNav mt-2"><a href="/overview"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-layout-dashboard"><rect width="7" height="9" x="3" y="3" rx="1"></rect><rect width="7" height="5" x="14" y="3" rx="1"></rect><rect width="7" height="9" x="14" y="12" rx="1"></rect><rect width="7" height="5" x="3" y="16" rx="1"></rect></svg><span class="sidebarLabel">总览</span></div></a><a href="/knowledge"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-database"><ellipse cx="12" cy="5" rx="9" ry="3"></ellipse><path d="M3 5V19A9 3 0 0 0 21 19V5"></path><path d="M3 12A9 3 0 0 0 21 12"></path></svg><span class="sidebarLabel">知识库</span></div></a><a href="/models"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-cpu"><rect width="16" height="16" x="4" y="4" rx="2"></rect><rect width="6" height="6" x="9" y="9" rx="1"></rect><path d="M15 2v2"></path><path d="M15 20v2"></path><path d="M2 15h2"></path><path d="M2 9h2"></path><path d="M20 15h2"></path><path d="M20 9h2"></path><path d="M9 2v2"></path><path d="M9 20v2"></path></svg><span class="sidebarLabel">模型配置</span></div></a><a href="/prompt"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-message-square"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg><span class="sidebarLabel">提示词管理</span></div></a><a href="/skills"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-settings"><path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"></path><circle cx="12" cy="12" r="3"></circle></svg><span class="sidebarLabel">技能库</span></div></a><a href="/canvas"><div class="sidebarItem sidebarItemActive"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-network"><rect x="16" y="16" width="6" height="6" rx="1"></rect><rect x="2" y="16" width="6" height="6" rx="1"></rect><rect x="9" y="2" width="6" height="6" rx="1"></rect><path d="M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3"></path><path d="M12 12V8"></path></svg><span class="sidebarLabel">生成画布</span></div></a><a href="/guide"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-book-open"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"></path><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"></path></svg><span class="sidebarLabel">指引</span></div></a><a href="/settings"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-settings"><path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"></path><circle cx="12" cy="12" r="3"></circle></svg><span class="sidebarLabel">设置</span></div></a></nav></aside><div class="mainContent"><header class="topbar"><div class="flex-1"></div><span class="ant-badge css-1pi45l5 css-var-_R_16_"><button type="button" class="ant-btn css-1pi45l5 css-var-_R_16_ ant-btn-default ant-btn-color-default ant-btn-variant-outlined topbarBtn"><span class="ant-btn-icon"><span role="img" aria-label="clock-circle" class="anticon anticon-clock-circle"><svg viewBox="64 64 896 896" focusable="false" data-icon="clock-circle" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"></path><path d="M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"></path></svg></span></span><span>后台任务</span></button></span><button class="topbarBtn"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-moon"><path d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"></path></svg><span>深色</span></button><button class="topbarBtn"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-languages"><path d="m5 8 6 6"></path><path d="m4 14 6-6 2-3"></path><path d="M2 5h12"></path><path d="M7 2h1"></path><path d="m22 22-5-10-5 10"></path><path d="M14 18h6"></path></svg><span>English</span></button></header><main class="mainInner mainInnerCanvas"><div class="canvasRoot"><div class="canvasStage" style="background-image:radial-gradient(var(--canvasGridDot) 1px, transparent 1px);background-size:24px 24px;background-position:0px 0px;cursor:grab"><div style="position:absolute;inset:0;display:grid;place-items:center;pointer-events:none"><div style="text-align:center;max-width:420px"><div style="font-size:15px;margin-bottom:6px">新画布</div><div style="font-size:12px;color:var(--colorTextSecondary);line-height:1.7">还没有节点日志——节点日志是唯一真相源,这里不造占位节点。<br/>用下方的「+」选择提示词与项目,写下要求后点「生成」,节点会随日志追加而出现。</div></div></div></div><div class="canvasRecordsBall" style="position:absolute;z-index:3;right:24px;bottom:96px"><div class="canvasRecordsBallBtn" role="button" tabindex="0" aria-label="生成记录(0)" style="width:44px;height:44px"><span role="img" aria-label="history" class="anticon anticon-history"><svg viewBox="64 64 896 896" focusable="false" data-icon="history" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z"></path></svg></span><span class="canvasRecordsBallBadge isZero">0</span></div></div><div class="canvasInputBar"><div class="ant-space css-1pi45l5 ant-space-horizontal ant-space-align-center css-var-_R_16_" style="flex-wrap:wrap;column-gap:6px;row-gap:6px;margin-bottom:6px"><div class="ant-space-item"><span class="ant-typography ant-typography-secondary css-1pi45l5 css-var-_R_16_" style="font-size:12px">点选一个节点后可 @ 提及它</span></div></div><div class="ant-space css-1pi45l5 ant-space-horizontal ant-space-align-center css-var-_R_16_" style="flex-wrap:wrap;column-gap:10px;row-gap:10px;margin-bottom:8px"><div class="ant-space-item"><button type="button" class="ant-btn css-1pi45l5 css-var-_R_16_ ant-btn-primary ant-btn-color-primary ant-btn-variant-solid ant-btn-sm" style="margin-left:5px"><span class="ant-btn-icon"><span role="img" aria-label="plus" class="anticon anticon-plus"><svg viewBox="64 64 896 896" focusable="false" data-icon="plus" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"></path><path d="M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"></path></svg></span></span><span>提示词 / 项目</span></button></div></div><div class="ant-space-compact css-1pi45l5" style="width:100%"><textarea placeholder="描述你的需求;可用上面的 @ 提及把节点带进正文(Enter 发送,Shift+Enter 换行)。篇幅由招标文件页数上限与标书类型自动决定:需求里写字数/页数不会改变篇幅目标" class="ant-input css-1pi45l5 ant-input-outlined css-var-_R_16_ ant-input-css-var ant-input-compact-item ant-input-compact-first-item"></textarea><button type="button" class="ant-btn css-1pi45l5 css-var-_R_16_ ant-btn-primary ant-btn-color-primary ant-btn-variant-solid ant-btn-compact-item ant-btn-compact-last-item" disabled=""><span class="ant-btn-icon"><span role="img" aria-label="send" class="anticon anticon-send"><svg viewBox="64 64 896 896" focusable="false" data-icon="send" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"></path></svg></span></span><span>生成</span></button></div></div></div></main></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/canvas","query":{},"buildId":"d863db1ff37d0934ebbb671f5c8dc07e5943c77d9b554215ce9e64fd8dc26727","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" data-next-head=""/><link rel="icon" type="image/svg+xml" href="/favicon.svg" data-next-head=""/><link rel="icon" href="/favicon.ico" sizes="any" data-next-head=""/><link rel="apple-touch-icon" href="/apple-touch-icon.png" data-next-head=""/><title data-next-head="">生成画布</title><link rel="preload" href="/_next/static/css/e67420f8d0ea180d.css" as="style"/><link rel="stylesheet" href="/_next/static/css/e67420f8d0ea180d.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-6224d37324e372cb.js" defer=""></script><script src="/_next/static/chunks/framework-4b565b3ddc94cdac.js" defer=""></script><script src="/_next/static/chunks/main-0c91f573696223ca.js" defer=""></script><script src="/_next/static/chunks/pages/_app-10f13111671af8a4.js" defer=""></script><script src="/_next/static/chunks/324-650dc02536b071bf.js" defer=""></script><script src="/_next/static/chunks/280-3ce590d421b5c47d.js" defer=""></script><script src="/_next/static/chunks/576-6699fed6c88502fe.js" defer=""></script><script src="/_next/static/chunks/499-2233cadc6d4da647.js" defer=""></script><script src="/_next/static/chunks/127-7d37d37dab02bd10.js" defer=""></script><script src="/_next/static/chunks/530-a5a65dc8adb1ee11.js" defer=""></script><script src="/_next/static/chunks/pages/canvas-ffb08963e5cf9558.js" defer=""></script><script src="/_next/static/7ea0ee326182fc159e629b4cd9354c5c800c7d5e156fcd6533182444b20d26cf/_buildManifest.js" defer=""></script><script src="/_next/static/7ea0ee326182fc159e629b4cd9354c5c800c7d5e156fcd6533182444b20d26cf/_ssgManifest.js" defer=""></script></head><body><div id="__next"><script>((e,i,s,u,m,a,l,h)=>{let d=document.documentElement,w=["light","dark"];function p(n){(Array.isArray(e)?e:[e]).forEach(y=>{let k=y==="class",S=k&&a?m.map(f=>a[f]||f):m;k?(d.classList.remove(...S),d.classList.add(a&&a[n]?a[n]:n)):d.setAttribute(y,n)}),R(n)}function R(n){h&&w.includes(n)&&(d.style.colorScheme=n)}function c(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(u)p(u);else try{let n=localStorage.getItem(i)||s,y=l&&n==="system"?c():n;p(y)}catch(n){}})("class","theme","system",null,["light","dark"],null,true,true)</script><div class="css-1pi45l5 ant-app css-var-_R_56_"><aside class="sidebar sidebarCollapsedSelf"><div class="sidebarLogoRow"><a class="min-w-0 flex-1" href="/overview"><div class="sidebarLogo"><div class="w-8 h-8 rounded-lg bg-black dark:bg-white flex items-center justify-center shrink-0"><svg width="20" height="20" viewBox="0 0 24 24" class="text-white dark:text-black" aria-hidden="true" focusable="false"><g transform="rotate(-20 12 12)"><path d="M12 2 A10 10 0 1 0 12 22 A11 11 0 0 1 12 2 Z" fill="currentColor"></path></g></svg></div><div class="sidebarLogoTitle"><span class="logoGradient">Customize Agent</span></div></div></a></div><nav class="sidebarNav mt-2"><a href="/overview"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-layout-dashboard"><rect width="7" height="9" x="3" y="3" rx="1"></rect><rect width="7" height="5" x="14" y="3" rx="1"></rect><rect width="7" height="9" x="14" y="12" rx="1"></rect><rect width="7" height="5" x="3" y="16" rx="1"></rect></svg><span class="sidebarLabel">总览</span></div></a><a href="/knowledge"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-database"><ellipse cx="12" cy="5" rx="9" ry="3"></ellipse><path d="M3 5V19A9 3 0 0 0 21 19V5"></path><path d="M3 12A9 3 0 0 0 21 12"></path></svg><span class="sidebarLabel">知识库</span></div></a><a href="/models"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-cpu"><rect width="16" height="16" x="4" y="4" rx="2"></rect><rect width="6" height="6" x="9" y="9" rx="1"></rect><path d="M15 2v2"></path><path d="M15 20v2"></path><path d="M2 15h2"></path><path d="M2 9h2"></path><path d="M20 15h2"></path><path d="M20 9h2"></path><path d="M9 2v2"></path><path d="M9 20v2"></path></svg><span class="sidebarLabel">模型配置</span></div></a><a href="/prompt"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-message-square"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg><span class="sidebarLabel">提示词管理</span></div></a><a href="/skills"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-shield-check"><path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"></path><path d="m9 12 2 2 4-4"></path></svg><span class="sidebarLabel">技能库</span></div></a><a href="/canvas"><div class="sidebarItem sidebarItemActive"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-network"><rect x="16" y="16" width="6" height="6" rx="1"></rect><rect x="2" y="16" width="6" height="6" rx="1"></rect><rect x="9" y="2" width="6" height="6" rx="1"></rect><path d="M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3"></path><path d="M12 12V8"></path></svg><span class="sidebarLabel">生成画布</span></div></a><a href="/guide"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-book-open"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"></path><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"></path></svg><span class="sidebarLabel">指引</span></div></a><a href="/settings"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-settings"><path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"></path><circle cx="12" cy="12" r="3"></circle></svg><span class="sidebarLabel">设置</span></div></a></nav></aside><div class="mainContent"><header class="topbar"><div class="flex-1"></div><span class="ant-badge css-1pi45l5 css-var-_R_56_"><button type="button" class="ant-btn css-1pi45l5 css-var-_R_56_ ant-btn-default ant-btn-color-default ant-btn-variant-outlined topbarBtn"><span class="ant-btn-icon"><span role="img" aria-label="clock-circle" class="anticon anticon-clock-circle"><svg viewBox="64 64 896 896" focusable="false" data-icon="clock-circle" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"></path><path d="M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"></path></svg></span></span><span>后台任务</span></button></span><button class="topbarBtn"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-moon"><path d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"></path></svg><span>深色</span></button><button class="topbarBtn"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-languages"><path d="m5 8 6 6"></path><path d="m4 14 6-6 2-3"></path><path d="M2 5h12"></path><path d="M7 2h1"></path><path d="m22 22-5-10-5 10"></path><path d="M14 18h6"></path></svg><span>English</span></button></header><main class="mainInner mainInnerCanvas"><div class="canvasRoot"><div class="canvasStage" style="background-image:radial-gradient(var(--canvasGridDot) 1px, transparent 1px);background-size:24px 24px;background-position:0px 0px;cursor:grab"><div style="position:absolute;inset:0;display:grid;place-items:center;pointer-events:none"><div style="text-align:center;max-width:420px"><div style="font-size:15px;margin-bottom:6px">新画布</div><div style="font-size:12px;color:var(--colorTextSecondary);line-height:1.7">还没有节点日志——节点日志是唯一真相源,这里不造占位节点。<br/>点屏幕底部中央那个 <b>^</b> 展开输入框:用里面的「+」选择提示词与项目, 写下要求后点「生成」,节点会随日志追加而出现。</div></div></div></div><div class="canvasRecordsBall" style="position:absolute;z-index:3;right:24px;bottom:96px"><div class="canvasRecordsBallBtn" role="button" tabindex="0" aria-label="生成记录(0)" style="width:44px;height:44px"><span role="img" aria-label="history" class="anticon anticon-history"><svg viewBox="64 64 896 896" focusable="false" data-icon="history" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z"></path></svg></span><span class="canvasRecordsBallBadge isZero">0</span></div></div><div class="canvasInputBar canvasInputBarCollapsed"><div class="canvasInputHandleRow"><button type="button" class="canvasInputHandle isCollapsed" aria-expanded="false" aria-label="展开输入框"><span role="img" aria-label="up" class="anticon anticon-up"><svg viewBox="64 64 896 896" focusable="false" data-icon="up" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"></path></svg></span></button></div></div></div></main></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/canvas","query":{},"buildId":"7ea0ee326182fc159e629b4cd9354c5c800c7d5e156fcd6533182444b20d26cf","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" data-next-head=""/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" data-next-head=""/><link rel="icon" type="image/svg+xml" href="/favicon.svg" data-next-head=""/><link rel="icon" href="/favicon.ico" sizes="any" data-next-head=""/><link rel="apple-touch-icon" href="/apple-touch-icon.png" data-next-head=""/><link rel="preload" href="/_next/static/css/e67420f8d0ea180d.css" as="style"/><link rel="stylesheet" href="/_next/static/css/e67420f8d0ea180d.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-6224d37324e372cb.js" defer=""></script><script src="/_next/static/chunks/framework-4b565b3ddc94cdac.js" defer=""></script><script src="/_next/static/chunks/main-0c91f573696223ca.js" defer=""></script><script src="/_next/static/chunks/pages/_app-10f13111671af8a4.js" defer=""></script><script src="/_next/static/chunks/pages/documents-e6a80f2de39c6fd2.js" defer=""></script><script src="/_next/static/7ea0ee326182fc159e629b4cd9354c5c800c7d5e156fcd6533182444b20d26cf/_buildManifest.js" defer=""></script><script src="/_next/static/7ea0ee326182fc159e629b4cd9354c5c800c7d5e156fcd6533182444b20d26cf/_ssgManifest.js" defer=""></script></head><body><div id="__next"><script>((e,i,s,u,m,a,l,h)=>{let d=document.documentElement,w=["light","dark"];function p(n){(Array.isArray(e)?e:[e]).forEach(y=>{let k=y==="class",S=k&&a?m.map(f=>a[f]||f):m;k?(d.classList.remove(...S),d.classList.add(a&&a[n]?a[n]:n)):d.setAttribute(y,n)}),R(n)}function R(n){h&&w.includes(n)&&(d.style.colorScheme=n)}function c(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(u)p(u);else try{let n=localStorage.getItem(i)||s,y=l&&n==="system"?c():n;p(y)}catch(n){}})("class","theme","system",null,["light","dark"],null,true,true)</script><div class="css-1pi45l5 ant-app css-var-_R_56_"><aside class="sidebar sidebarCollapsedSelf"><div class="sidebarLogoRow"><a class="min-w-0 flex-1" href="/overview"><div class="sidebarLogo"><div class="w-8 h-8 rounded-lg bg-black dark:bg-white flex items-center justify-center shrink-0"><svg width="20" height="20" viewBox="0 0 24 24" class="text-white dark:text-black" aria-hidden="true" focusable="false"><g transform="rotate(-20 12 12)"><path d="M12 2 A10 10 0 1 0 12 22 A11 11 0 0 1 12 2 Z" fill="currentColor"></path></g></svg></div><div class="sidebarLogoTitle"><span class="logoGradient">Customize Agent</span></div></div></a></div><nav class="sidebarNav mt-2"><a href="/overview"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-layout-dashboard"><rect width="7" height="9" x="3" y="3" rx="1"></rect><rect width="7" height="5" x="14" y="3" rx="1"></rect><rect width="7" height="9" x="14" y="12" rx="1"></rect><rect width="7" height="5" x="3" y="16" rx="1"></rect></svg><span class="sidebarLabel">总览</span></div></a><a href="/knowledge"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-database"><ellipse cx="12" cy="5" rx="9" ry="3"></ellipse><path d="M3 5V19A9 3 0 0 0 21 19V5"></path><path d="M3 12A9 3 0 0 0 21 12"></path></svg><span class="sidebarLabel">知识库</span></div></a><a href="/models"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-cpu"><rect width="16" height="16" x="4" y="4" rx="2"></rect><rect width="6" height="6" x="9" y="9" rx="1"></rect><path d="M15 2v2"></path><path d="M15 20v2"></path><path d="M2 15h2"></path><path d="M2 9h2"></path><path d="M20 15h2"></path><path d="M20 9h2"></path><path d="M9 2v2"></path><path d="M9 20v2"></path></svg><span class="sidebarLabel">模型配置</span></div></a><a href="/prompt"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-message-square"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg><span class="sidebarLabel">提示词管理</span></div></a><a href="/skills"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-shield-check"><path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"></path><path d="m9 12 2 2 4-4"></path></svg><span class="sidebarLabel">技能库</span></div></a><a href="/canvas"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-network"><rect x="16" y="16" width="6" height="6" rx="1"></rect><rect x="2" y="16" width="6" height="6" rx="1"></rect><rect x="9" y="2" width="6" height="6" rx="1"></rect><path d="M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3"></path><path d="M12 12V8"></path></svg><span class="sidebarLabel">生成画布</span></div></a><a href="/guide"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-book-open"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"></path><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"></path></svg><span class="sidebarLabel">指引</span></div></a><a href="/settings"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-settings"><path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"></path><circle cx="12" cy="12" r="3"></circle></svg><span class="sidebarLabel">设置</span></div></a></nav></aside><div class="mainContent"><header class="topbar"><div class="flex-1"></div><span class="ant-badge css-1pi45l5 css-var-_R_56_"><button type="button" class="ant-btn css-1pi45l5 css-var-_R_56_ ant-btn-default ant-btn-color-default ant-btn-variant-outlined topbarBtn"><span class="ant-btn-icon"><span role="img" aria-label="clock-circle" class="anticon anticon-clock-circle"><svg viewBox="64 64 896 896" focusable="false" data-icon="clock-circle" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"></path><path d="M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"></path></svg></span></span><span>后台任务</span></button></span><button class="topbarBtn"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-moon"><path d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"></path></svg><span>深色</span></button><button class="topbarBtn"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-languages"><path d="m5 8 6 6"></path><path d="m4 14 6-6 2-3"></path><path d="M2 5h12"></path><path d="M7 2h1"></path><path d="m22 22-5-10-5 10"></path><path d="M14 18h6"></path></svg><span>English</span></button></header><main class="mainInner"></main></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/documents","query":{},"buildId":"7ea0ee326182fc159e629b4cd9354c5c800c7d5e156fcd6533182444b20d26cf","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|