@customize-agent/server 4.0.66 → 4.0.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +20 -20
  3. package/.next/prerender-manifest.json +3 -3
  4. package/.next/server/chunks/6697.js +5 -5
  5. package/.next/server/middleware-build-manifest.js +1 -1
  6. package/.next/server/pages/404.html +1 -1
  7. package/.next/server/pages/500.html +1 -1
  8. package/.next/server/pages/asset-library.html +1 -1
  9. package/.next/server/pages/context/long-term.html +1 -1
  10. package/.next/server/pages/context/short-term.html +1 -1
  11. package/.next/server/pages/document-roles.html +1 -1
  12. package/.next/server/pages/documents.html +1 -1
  13. package/.next/server/pages/guide.html +1 -1
  14. package/.next/server/pages/index.html +1 -1
  15. package/.next/server/pages/knowledge/file-detail.html +1 -1
  16. package/.next/server/pages/knowledge/files.html +1 -1
  17. package/.next/server/pages/knowledge/manage.html +1 -1
  18. package/.next/server/pages/knowledge/search.html +1 -1
  19. package/.next/server/pages/knowledge.html +1 -1
  20. package/.next/server/pages/models.html +1 -1
  21. package/.next/server/pages/overview.html +1 -1
  22. package/.next/server/pages/prompt.html +1 -1
  23. package/.next/server/pages/settings.html +1 -1
  24. package/.next/server/pages/system/logs.html +1 -1
  25. package/.next/server/pages-manifest.json +28 -28
  26. package/.next/static/chunks/{317-0cc5d3d1f0f660e8.js → 317-18aac52df5551e76.js} +1 -1
  27. package/.next/static/chunks/375-4a1c73eb22d653d2.js +1 -0
  28. package/.next/static/chunks/496-4fb9a063790e65ff.js +1 -0
  29. package/.next/static/chunks/694-2d545cfbb9779f2c.js +1 -0
  30. package/.next/static/chunks/788-7f7359a830e3f4fd.js +1 -0
  31. package/.next/static/chunks/795-d8fb7a0420512701.js +1 -0
  32. package/.next/static/chunks/940-7cb66111eee2f9fb.js +1 -0
  33. package/.next/static/chunks/pages/document-roles-fd02980db151650c.js +1 -0
  34. package/.next/static/chunks/pages/documents-141b9ab2dba47ae7.js +1 -0
  35. package/.next/static/chunks/pages/guide-295174493709ecbb.js +1 -0
  36. package/.next/static/{fCR6WWHLEWk1IcNN2WRCv → ubuSYahPe0ZJo6zT6KdSg}/_buildManifest.js +1 -1
  37. package/package.json +4 -4
  38. package/.next/static/chunks/375-f731e5ec66ab942c.js +0 -1
  39. package/.next/static/chunks/496-ceb2d8197d6335cf.js +0 -1
  40. package/.next/static/chunks/694-b6ab4967c35bbcee.js +0 -1
  41. package/.next/static/chunks/788-db05269178a28c20.js +0 -1
  42. package/.next/static/chunks/795-262a7ef599d655f4.js +0 -1
  43. package/.next/static/chunks/940-364bc292676ba191.js +0 -1
  44. package/.next/static/chunks/pages/document-roles-00219c0a0871daec.js +0 -1
  45. package/.next/static/chunks/pages/documents-59a9675554042dd5.js +0 -1
  46. package/.next/static/chunks/pages/guide-e51e5f0109a3642c.js +0 -1
  47. /package/.next/static/{fCR6WWHLEWk1IcNN2WRCv → ubuSYahPe0ZJo6zT6KdSg}/_ssgManifest.js +0 -0
package/.next/BUILD_ID CHANGED
@@ -1 +1 @@
1
- fCR6WWHLEWk1IcNN2WRCv
1
+ ubuSYahPe0ZJo6zT6KdSg
@@ -5,8 +5,8 @@
5
5
  "devFiles": [],
6
6
  "ampDevFiles": [],
7
7
  "lowPriorityFiles": [
8
- "static/fCR6WWHLEWk1IcNN2WRCv/_buildManifest.js",
9
- "static/fCR6WWHLEWk1IcNN2WRCv/_ssgManifest.js"
8
+ "static/ubuSYahPe0ZJo6zT6KdSg/_buildManifest.js",
9
+ "static/ubuSYahPe0ZJo6zT6KdSg/_ssgManifest.js"
10
10
  ],
11
11
  "rootMainFiles": [],
12
12
  "rootMainFilesTree": {},
@@ -17,8 +17,8 @@
17
17
  "static/chunks/main-91fb767ebd74c9c1.js",
18
18
  "static/chunks/433-233659be69169c19.js",
19
19
  "static/chunks/787-c18af810af3433f6.js",
20
- "static/chunks/694-b6ab4967c35bbcee.js",
21
- "static/chunks/795-262a7ef599d655f4.js",
20
+ "static/chunks/694-2d545cfbb9779f2c.js",
21
+ "static/chunks/795-d8fb7a0420512701.js",
22
22
  "static/chunks/pages/index-a2a24e9602e7ea52.js"
23
23
  ],
24
24
  "/_app": [
@@ -41,7 +41,7 @@
41
41
  "static/chunks/433-233659be69169c19.js",
42
42
  "static/chunks/787-c18af810af3433f6.js",
43
43
  "static/chunks/102-881dcc464f983c89.js",
44
- "static/chunks/317-0cc5d3d1f0f660e8.js",
44
+ "static/chunks/317-18aac52df5551e76.js",
45
45
  "static/chunks/pages/asset-library-1dc916735fd12e11.js"
46
46
  ],
47
47
  "/context/long-term": [
@@ -53,7 +53,7 @@
53
53
  "static/chunks/576-6699fed6c88502fe.js",
54
54
  "static/chunks/195-2c0168eacab722d2.js",
55
55
  "static/chunks/985-4b4a3ed36ada16eb.js",
56
- "static/chunks/375-f731e5ec66ab942c.js",
56
+ "static/chunks/375-4a1c73eb22d653d2.js",
57
57
  "static/chunks/102-881dcc464f983c89.js",
58
58
  "static/chunks/289-0031e62ca424247b.js",
59
59
  "static/chunks/455-97ad88d6604f54b7.js",
@@ -69,7 +69,7 @@
69
69
  "static/chunks/576-6699fed6c88502fe.js",
70
70
  "static/chunks/195-2c0168eacab722d2.js",
71
71
  "static/chunks/985-4b4a3ed36ada16eb.js",
72
- "static/chunks/375-f731e5ec66ab942c.js",
72
+ "static/chunks/375-4a1c73eb22d653d2.js",
73
73
  "static/chunks/102-881dcc464f983c89.js",
74
74
  "static/chunks/289-0031e62ca424247b.js",
75
75
  "static/chunks/455-97ad88d6604f54b7.js",
@@ -85,8 +85,8 @@
85
85
  "static/chunks/576-6699fed6c88502fe.js",
86
86
  "static/chunks/195-2c0168eacab722d2.js",
87
87
  "static/chunks/455-97ad88d6604f54b7.js",
88
- "static/chunks/496-ceb2d8197d6335cf.js",
89
- "static/chunks/pages/document-roles-00219c0a0871daec.js"
88
+ "static/chunks/496-4fb9a063790e65ff.js",
89
+ "static/chunks/pages/document-roles-fd02980db151650c.js"
90
90
  ],
91
91
  "/documents": [
92
92
  "static/chunks/webpack-77d10b4726f13aa5.js",
@@ -96,12 +96,12 @@
96
96
  "static/chunks/787-c18af810af3433f6.js",
97
97
  "static/chunks/576-6699fed6c88502fe.js",
98
98
  "static/chunks/195-2c0168eacab722d2.js",
99
- "static/chunks/375-f731e5ec66ab942c.js",
99
+ "static/chunks/375-4a1c73eb22d653d2.js",
100
100
  "static/chunks/455-97ad88d6604f54b7.js",
101
101
  "static/chunks/506-93f730bc149d0dce.js",
102
- "static/chunks/940-364bc292676ba191.js",
102
+ "static/chunks/940-7cb66111eee2f9fb.js",
103
103
  "static/chunks/499-d6bcc76195b28550.js",
104
- "static/chunks/pages/documents-59a9675554042dd5.js"
104
+ "static/chunks/pages/documents-141b9ab2dba47ae7.js"
105
105
  ],
106
106
  "/guide": [
107
107
  "static/chunks/webpack-77d10b4726f13aa5.js",
@@ -109,9 +109,9 @@
109
109
  "static/chunks/main-91fb767ebd74c9c1.js",
110
110
  "static/chunks/433-233659be69169c19.js",
111
111
  "static/chunks/787-c18af810af3433f6.js",
112
- "static/chunks/940-364bc292676ba191.js",
112
+ "static/chunks/940-7cb66111eee2f9fb.js",
113
113
  "static/chunks/20-86ac6910225cce4e.js",
114
- "static/chunks/pages/guide-e51e5f0109a3642c.js"
114
+ "static/chunks/pages/guide-295174493709ecbb.js"
115
115
  ],
116
116
  "/knowledge": [
117
117
  "static/chunks/webpack-77d10b4726f13aa5.js",
@@ -127,7 +127,7 @@
127
127
  "static/chunks/787-c18af810af3433f6.js",
128
128
  "static/chunks/576-6699fed6c88502fe.js",
129
129
  "static/chunks/985-4b4a3ed36ada16eb.js",
130
- "static/chunks/375-f731e5ec66ab942c.js",
130
+ "static/chunks/375-4a1c73eb22d653d2.js",
131
131
  "static/chunks/102-881dcc464f983c89.js",
132
132
  "static/chunks/289-0031e62ca424247b.js",
133
133
  "static/chunks/506-93f730bc149d0dce.js",
@@ -143,7 +143,7 @@
143
143
  "static/chunks/787-c18af810af3433f6.js",
144
144
  "static/chunks/576-6699fed6c88502fe.js",
145
145
  "static/chunks/985-4b4a3ed36ada16eb.js",
146
- "static/chunks/375-f731e5ec66ab942c.js",
146
+ "static/chunks/375-4a1c73eb22d653d2.js",
147
147
  "static/chunks/102-881dcc464f983c89.js",
148
148
  "static/chunks/289-0031e62ca424247b.js",
149
149
  "static/css/09be1fdeab8595ab.css",
@@ -156,7 +156,7 @@
156
156
  "static/chunks/433-233659be69169c19.js",
157
157
  "static/chunks/787-c18af810af3433f6.js",
158
158
  "static/chunks/506-93f730bc149d0dce.js",
159
- "static/chunks/788-db05269178a28c20.js",
159
+ "static/chunks/788-7f7359a830e3f4fd.js",
160
160
  "static/chunks/pages/knowledge/manage-ed99a6cb254ddbb7.js"
161
161
  ],
162
162
  "/knowledge/search": [
@@ -191,8 +191,8 @@
191
191
  "static/chunks/main-91fb767ebd74c9c1.js",
192
192
  "static/chunks/433-233659be69169c19.js",
193
193
  "static/chunks/787-c18af810af3433f6.js",
194
- "static/chunks/694-b6ab4967c35bbcee.js",
195
- "static/chunks/795-262a7ef599d655f4.js",
194
+ "static/chunks/694-2d545cfbb9779f2c.js",
195
+ "static/chunks/795-d8fb7a0420512701.js",
196
196
  "static/chunks/pages/overview-1260176045ed5f7a.js"
197
197
  ],
198
198
  "/prompt": [
@@ -223,7 +223,7 @@
223
223
  "static/chunks/576-6699fed6c88502fe.js",
224
224
  "static/chunks/195-2c0168eacab722d2.js",
225
225
  "static/chunks/985-4b4a3ed36ada16eb.js",
226
- "static/chunks/375-f731e5ec66ab942c.js",
226
+ "static/chunks/375-4a1c73eb22d653d2.js",
227
227
  "static/chunks/102-881dcc464f983c89.js",
228
228
  "static/chunks/289-0031e62ca424247b.js",
229
229
  "static/chunks/861-91cbdd34b8e23151.js",
@@ -3,9 +3,9 @@
3
3
  "routes": {},
4
4
  "dynamicRoutes": {},
5
5
  "preview": {
6
- "previewModeId": "30bdf0bd5f0c6a03fa807d8659732622",
7
- "previewModeSigningKey": "ce779e367c097095b8e71a0950937305fd86dc8ba43d109f57409b833bc717b3",
8
- "previewModeEncryptionKey": "271f1db0b2ce86ecd3ea289d2f9a4508f3f98522fec849af97fbc4b28fe688e5"
6
+ "previewModeId": "cd14280c062ccbb3d265b16115a2c350",
7
+ "previewModeSigningKey": "61bd1bcb781bfd2a09bb53393917eb02407877ad07944ba31a22dd11f22ef7e8",
8
+ "previewModeEncryptionKey": "72137639c6e9b55baaa9367559e72d2adaf199253422e5746b1bb7b43cae55ac"
9
9
  },
10
10
  "notFoundRoutes": []
11
11
  }
@@ -8,9 +8,9 @@ ${a.content}`;return[...new Set([...b?.requiredFacts||[],"表格数据","规范
8
8
  内容:${aq(a.content).replace(/\s+/gu," ").slice(0,900)}`).join("\n\n---\n\n");return[a.summary,b?`结构化资料:
9
9
  ${b}`:"",c?`文本/附件片段:
10
10
  ${c}`:""].filter(Boolean).join("\n\n")}let aw="[零〇一二三四五六七八九十百千万两]+";function ax(a){return 0===a.trim().length}function ay(a){return a.replace(/^#+\s*/u,"").replace(/^第[一二三四五六七八九十百千万\d]+[章节]\s*/u,"").replace(/^\d+(?:\.\d+)*[、..\s]*/u,"").trim()}function az(a){return ay(a.replace(/\s+/gu," ").trim()).replace(/^[,,、;;::。.!!??\-—\s]+/u,"").trim()}function aA(a){let b=a.trim(),c=az(b);return!(!c||c.length<2||c.length>50||/^#{3,6}\s*/u.test(b)||/^\|.*\|/u.test(b)||/\|/u.test(c)||/^[,,、;;::。.!!??\-—]/u.test(b)||/[{}<>]|Markdown|JSON|变量|占位符/u.test(c)||/[。;;]$/u.test(c)||/[::]\s*[。;;]?$/u.test(c)||/^(目录|章节|大纲|要求|说明|注意|输出|格式|示例|例如|写法|占位)$/u.test(c)||/(评标委员会|完全满足评审要求|项目部对本工程|全面梳理与响应|坚实的技术保障)/u.test(c))&&!aC(c)}function aB(a,b){let c=ay(b);return`第${function(a){let b=["零","一","二","三","四","五","六","七","八","九"];if(a<=10)return 10===a?"十":b[a];if(a<20)return`十${b[a%10]}`;if(a<100){let c=Math.floor(a/10),d=a%10;return`${b[c]}十${d?b[d]:""}`}return String(a)}(a+1)}章 ${c}`}function aC(a){return/见(?:招标|公告|文件|图纸)|按(?:图纸|设计要求|相关)|质量标准[::]|招标范围[::]|工程量清单.*图纸设计依据/u.test(a)}function aD(a,b){let c=new Set;return a.filter(a=>{var d;let e=az(a.title);if(!e)return!1;return!(!b?.preserveExplicitOutline&&(c.has(e)||aC(e)||b?.template&&(d=e,aV(b.template).some(a=>!!a.minLength&&d.length<a.minLength||!!a.maxLength&&d.length>a.maxLength||a.forbiddenPatterns.some(a=>aU(d,a))))))&&(c.add(e),a.title=e,!0)})}function aE(a,b,c){return!b||c?.preserveExplicitOutline?aD([...a.chapters],{...c,template:a}):aD([...a.chapters].map(a=>{let c=ay(a.title),d=b.chapterRules.find(b=>b.id===a.id||ay(b.title)===c);return{...a,title:c,purpose:a.purpose,requiredFacts:a.requiredFacts||[],queries:[...new Set([...a.queries||[],c,d?.generationHint||"",...a.sections||[]].filter(Boolean))]}}),{...c,template:a})}function aF(a,b){let c=`${a.filePath}
11
- ${a.content}`;return(function(a){let b=a.replace(/要求|计划|目标|标准|内容|信息|事实|依据|参数|范围|要点/gu,"");return[a,b].filter(Boolean)})(b).some(a=>c.includes(a))}function aG(a,b){let c=aE(a,b).flatMap(a=>a.requiredFacts).map(a=>({id:a,name:a,required:!0,sourceRoleIds:[],extractionHint:""})),d=b?.factFields.map(a=>({id:a.id,name:a.name,required:a.required,sourceRoleIds:a.sourceRoleIds||[],extractionHint:a.extractionHint||""}))||[],e=new Map;for(let a of[...c,...d])e.set(a.id,{...e.get(a.id)||a,...a,required:a.required||e.get(a.id)?.required||!1});return[...e.values()]}function aH(a,b){return(!b.sourceRoleIds?.length||!!(a.roleId&&b.sourceRoleIds.includes(a.roleId)))&&aF(a,b.name)}let aI=new Map,aJ=new Map,aK=new Map;function aL(a){return(0,h.createHash)("sha1").update(JSON.stringify(a)).digest("hex")}function aM(a,b,c){a.size>=800&&a.delete(a.keys().next().value),a.set(b,c)}function aN(){return"1"===process.env.DOCUMENT_PERSISTENT_FACT_CACHE}function aO(a,b,c){return e.join(g.homedir(),".customize-agent","document-cache",aL(a),b,`${c}.json`)}function aP(a){return a.toLowerCase()}function aQ(a,b){return(a||b).replace(/[^a-zA-Z0-9\u4e00-\u9fa5_-]/gu,"-").slice(0,80)||b}function aR(a,b){return e.relative(a,e.isAbsolute(b)?b:e.join(a,b))}async function aS(a){let b=aL({type:"role-artifact-v1",projectRoot:a.projectRoot,projectId:(0,j.computeProjectId)(a.projectRoot),templateId:a.template.id,templateName:a.template.name,node:{id:a.node.id,fileRoleId:a.node.fileRoleId,promptRoleIds:a.node.promptRoleIds,filePaths:a.node.filePaths,outputType:a.node.outputType},promptTexts:a.promptTexts,modelName:a.modelName,evidence:a.evidence.map(a=>({filePath:a.filePath,sectionTitle:a.sectionTitle,contentHash:aL(a.content)}))}),c=aI.get(b);if(c)return{artifact:c,cached:!0};let d=await a_(a.template,a.node,a.evidence);return aM(aI,b,d),{artifact:d,cached:!1}}async function aT(a){let b=aL({type:"chapter-search-v1",projectRoot:a.projectRoot,projectId:(0,j.computeProjectId)(a.projectRoot),query:a.query,maxEvidence:a.maxEvidence,fileRolesHash:a.fileRolesHash,scope:[...a.evidenceScopePaths].sort()}),c=aJ.get(b)||function(a,b,c){if(aN())try{let e=aO(a,b,c);if(!d.existsSync(e))return;return JSON.parse(d.readFileSync(e,"utf8"))}catch{return}}(a.projectRoot,"chapter-search",b);if(c)return aM(aJ,b,c),c;let f=await a.manager.search(a.projectRoot,a.query,{scope:"project",limit:Math.max(a.maxEvidence,a.evidenceScopePaths.size>0?30:a.maxEvidence),weights:{keyword:.4,vector:.45,rewrite:.75,hybridBonus:.15}});return aM(aJ,b,f.results),!function(a,b,c,f){if(aN())try{let g=aO(a,b,c);d.mkdirSync(e.dirname(g),{recursive:!0}),d.writeFileSync(g,JSON.stringify(f))}catch{}}(a.projectRoot,"chapter-search",b,f.results),f.results}function aU(a,b){try{return RegExp(b,"iu").test(a)}catch{return a.includes(b)}}function aV(a){let b=`${a.name} ${a.category} ${a.outputTitle} ${a.description}`;return(0,p.V)().chapterTitleFilters.filter(a=>a.templateMatchers.some(a=>aU(b,a)))}function aW(a,b){return aV(b).some(b=>!!(b.minLength&&a.length<b.minLength||b.maxLength&&a.length>b.maxLength||b.forbiddenPatterns.some(b=>aU(a,b)))||b.requiredPatterns.length>0&&!b.requiredPatterns.some(b=>aU(a,b)))}function aX(a){return"string"==typeof a?a:null==a?"":Array.isArray(a)?a.map(a=>aX(a)).filter(Boolean).join(";"):"object"==typeof a?Object.entries(a).map(([a,b])=>`${a}:${aX(b)}`).filter(Boolean).join(";"):String(a)}function aY(a){return Array.isArray(a)?a.filter(a=>!!a&&"object"==typeof a&&!Array.isArray(a)):a&&"object"==typeof a?Object.values(a).filter(a=>!!a&&"object"==typeof a&&!Array.isArray(a)):[]}function aZ(a){return Array.isArray(a)?a.map(a=>aX(a).trim()).filter(Boolean):"string"==typeof a?a.split(/[;;\n]/u).map(a=>a.trim()).filter(Boolean):[]}function a$(a){return!!a&&(null!=a.chapters&&!Array.isArray(a.chapters)||null!=a.facts&&!Array.isArray(a.facts))}async function a_(a,b,c){let d=c.slice(0,36).map(a=>`文件:${a.filePath}
11
+ ${a.content}`;return(function(a){let b=a.replace(/要求|计划|目标|标准|内容|信息|事实|依据|参数|范围|要点/gu,"");return[a,b].filter(Boolean)})(b).some(a=>c.includes(a))}function aG(a,b){let c=aE(a,b).flatMap(a=>a.requiredFacts).map(a=>({id:a,name:a,required:!0,sourceRoleIds:[],extractionHint:""})),d=b?.factFields.map(a=>({id:a.id,name:a.name,required:a.required,sourceRoleIds:a.sourceRoleIds||[],extractionHint:a.extractionHint||""}))||[],e=new Map;for(let a of[...c,...d])e.set(a.id,{...e.get(a.id)||a,...a,required:a.required||e.get(a.id)?.required||!1});return[...e.values()]}function aH(a,b){return(!b.sourceRoleIds?.length||!!(a.roleId&&b.sourceRoleIds.includes(a.roleId)))&&aF(a,b.name)}let aI=new Map,aJ=new Map,aK=new Map;function aL(a){return(0,h.createHash)("sha1").update(JSON.stringify(a)).digest("hex")}function aM(a,b,c){a.size>=800&&a.delete(a.keys().next().value),a.set(b,c)}function aN(){return"1"===process.env.DOCUMENT_PERSISTENT_FACT_CACHE}function aO(a,b,c){return e.join(g.homedir(),".customize-agent","document-cache",aL(a),b,`${c}.json`)}function aP(a){return a.toLowerCase()}function aQ(a,b){return(a||b).replace(/[^a-zA-Z0-9\u4e00-\u9fa5_-]/gu,"-").slice(0,80)||b}function aR(a,b){return e.relative(a,e.isAbsolute(b)?b:e.join(a,b))}async function aS(a){b7(a.signal);let b=aL({type:"role-artifact-v1",projectRoot:a.projectRoot,projectId:(0,j.computeProjectId)(a.projectRoot),templateId:a.template.id,templateName:a.template.name,node:{id:a.node.id,fileRoleId:a.node.fileRoleId,promptRoleIds:a.node.promptRoleIds,filePaths:a.node.filePaths,outputType:a.node.outputType},promptTexts:a.promptTexts,modelName:a.modelName,evidence:a.evidence.map(a=>({filePath:a.filePath,sectionTitle:a.sectionTitle,contentHash:aL(a.content)}))}),c=aI.get(b);if(c)return{artifact:c,cached:!0};let d=await a_(a.template,a.node,a.evidence,a.signal);return b7(a.signal),aM(aI,b,d),{artifact:d,cached:!1}}async function aT(a){let b=aL({type:"chapter-search-v1",projectRoot:a.projectRoot,projectId:(0,j.computeProjectId)(a.projectRoot),query:a.query,maxEvidence:a.maxEvidence,fileRolesHash:a.fileRolesHash,scope:[...a.evidenceScopePaths].sort()}),c=aJ.get(b)||function(a,b,c){if(aN())try{let e=aO(a,b,c);if(!d.existsSync(e))return;return JSON.parse(d.readFileSync(e,"utf8"))}catch{return}}(a.projectRoot,"chapter-search",b);if(c)return aM(aJ,b,c),c;let f=await a.manager.search(a.projectRoot,a.query,{scope:"project",limit:Math.max(a.maxEvidence,a.evidenceScopePaths.size>0?30:a.maxEvidence),weights:{keyword:.4,vector:.45,rewrite:.75,hybridBonus:.15}});return aM(aJ,b,f.results),!function(a,b,c,f){if(aN())try{let g=aO(a,b,c);d.mkdirSync(e.dirname(g),{recursive:!0}),d.writeFileSync(g,JSON.stringify(f))}catch{}}(a.projectRoot,"chapter-search",b,f.results),f.results}function aU(a,b){try{return RegExp(b,"iu").test(a)}catch{return a.includes(b)}}function aV(a){let b=`${a.name} ${a.category} ${a.outputTitle} ${a.description}`;return(0,p.V)().chapterTitleFilters.filter(a=>a.templateMatchers.some(a=>aU(b,a)))}function aW(a,b){return aV(b).some(b=>!!(b.minLength&&a.length<b.minLength||b.maxLength&&a.length>b.maxLength||b.forbiddenPatterns.some(b=>aU(a,b)))||b.requiredPatterns.length>0&&!b.requiredPatterns.some(b=>aU(a,b)))}function aX(a){return"string"==typeof a?a:null==a?"":Array.isArray(a)?a.map(a=>aX(a)).filter(Boolean).join(";"):"object"==typeof a?Object.entries(a).map(([a,b])=>`${a}:${aX(b)}`).filter(Boolean).join(";"):String(a)}function aY(a){return Array.isArray(a)?a.filter(a=>!!a&&"object"==typeof a&&!Array.isArray(a)):a&&"object"==typeof a?Object.values(a).filter(a=>!!a&&"object"==typeof a&&!Array.isArray(a)):[]}function aZ(a){return Array.isArray(a)?a.map(a=>aX(a).trim()).filter(Boolean):"string"==typeof a?a.split(/[;;\n]/u).map(a=>a.trim()).filter(Boolean):[]}function a$(a){return!!a&&(null!=a.chapters&&!Array.isArray(a.chapters)||null!=a.facts&&!Array.isArray(a.facts))}async function a_(a,b,c,d){let e=c.slice(0,36).map(a=>`文件:${a.filePath}
12
12
  片段:${a.sectionTitle||""}
13
- 内容:${a.content.slice(0,1200)}`).join("\n\n---\n\n"),e=b.promptTexts.join("\n\n")||"请读取绑定文件角色,抽取可用于文档生成的结构化信息。",f=`你正在执行一个“文件角色 \xd7 提示词角色”的读取节点。
13
+ 内容:${a.content.slice(0,1200)}`).join("\n\n---\n\n"),f=b.promptTexts.join("\n\n")||"请读取绑定文件角色,抽取可用于文档生成的结构化信息。",g=`你正在执行一个“文件角色 \xd7 提示词角色”的读取节点。
14
14
  节点类型:${b.outputType}
15
15
  文件角色:${b.fileRoleName}(${b.fileRoleId})
16
16
  要求:严格按该节点绑定的提示词读取该文件角色的内容,不要读取其他角色。提示词角色只提供规则和格式约束,其中的示例、样例、占位项目名、编号、日期、数量、清单和示例正文不得作为事实抽取来源。
@@ -18,10 +18,10 @@ ${a.content}`;return(function(a){let b=a.replace(/要求|计划|目标|标准|
18
18
  请返回 JSON,字段包括 chapters、facts、outputRequirements、forbidImageInsertion、warnings。chapters 只提取当前模板和规范包需要的正式章节;requirements 只保留可合并写入正文的核心要求,避免无依据地拆成过细子节点。facts 必须只来自下面的绑定文件片段,优先抽取施工对象、部位、区域、学校/片区、工程量、日期、工期、规格、单位、资源数量、检测频次和来源口径;同类对象不得合并丢失,计量单位保持原文含义,必要时使用导出友好的正式写法。
19
19
 
20
20
  绑定文件片段:
21
- ${d}`,g=[],h=d.trim()?await bu(e,f):void 0;if(a$(h)){g.push(`${b.fileRoleName} 结构化读取返回格式异常,已尝试修复 JSON schema。`);let a=await bu("你是 JSON schema 修复器。只根据输入 JSON 重新整理字段类型,不新增事实,不改写事实含义。",`请把下面 JSON 修复为严格结构:{"chapters":[],"facts":[],"outputRequirements":[],"warnings":[],"forbidImageInsertion":false}。chapters 和 facts 必须是数组;如果原值是对象,请转为数组;如果无法转换,使用空数组。只返回 JSON。
21
+ ${e}`,h=[];b7(d);let i=e.trim()?await bu(f,g,{signal:d}):void 0;if(b7(d),a$(i)){h.push(`${b.fileRoleName} 结构化读取返回格式异常,已尝试修复 JSON schema。`);let a=await bu("你是 JSON schema 修复器。只根据输入 JSON 重新整理字段类型,不新增事实,不改写事实含义。",`请把下面 JSON 修复为严格结构:{"chapters":[],"facts":[],"outputRequirements":[],"warnings":[],"forbidImageInsertion":false}。chapters 和 facts 必须是数组;如果原值是对象,请转为数组;如果无法转换,使用空数组。只返回 JSON。
22
22
 
23
23
  原始 JSON:
24
- ${JSON.stringify(h).slice(0,12e3)}`);a&&!a$(a)?h=a:g.push(`${b.fileRoleName} 结构化读取修复失败,已降级使用证据片段生成。`)}let i=aY(h?.chapters),j=aY(h?.facts),k=[];i.forEach((b,c)=>{let d="string"==typeof b.title?az(b.title):"";!d||!aA(b.title||d)||aW(d,a)||k.push({id:aQ(d,`chapter-${c+1}`),title:d,order:c,sourceRequirement:b.sourceRequirement||d,requiredContents:aZ(b.requiredContents),writingRules:aZ(b.writingRules),evidenceNeeds:aZ(b.evidenceNeeds),minWords:Math.max(800,Math.min(3500,Number(b.minWords)||1200)),requirements:aY(b.requirements).map((a,b)=>({id:aQ(`${d}-${a.title||b+1}`,`req-${c+1}-${b+1}`),title:a.title||`要求 ${b+1}`,requirementText:a.requirementText||a.title||"",requiredContents:aZ(a.requiredContents),writingRules:aZ(a.writingRules),evidenceNeeds:aZ(a.evidenceNeeds),preferredSourceRoleIds:aZ(a.preferredSourceRoleIds)}))})});let l=[],m=new Set(c.map(a=>a.filePath));return j.forEach(a=>{let d="string"==typeof a.key?a.key.trim():"",e=a.sourceFile&&m.has(a.sourceFile)?a.sourceFile:c.find(a=>a.filePath)?.filePath||"";d&&null!=a.value&&e&&m.has(e)&&l.push({key:d,value:aq(aX(a.value)),sourceFile:e,roleId:b.fileRoleId,processingType:b.processingType,relatedChapterHints:aZ(a.relatedChapterHints)})}),(0===k.length||0===l.length)&&g.push(`${b.fileRoleName} 部分结构化结果不足,已补充使用证据片段兜底。`),{node:b,evidence:c,chapters:k.length>0?k:function(a,b,c){if("template_requirements"!==b.outputType)return[];let d=[],e=new Set;for(let b of c){for(let c of b.content.split(/\r?\n/u).map(a=>a.trim()).filter(Boolean)){if(!RegExp(`^(?:第(?:\\d{1,3}|${aw})[章节]|[((]?(?:\\d{1,3}|${aw})[))、..]|\\d+(?:\\.\\d+)*[、..])`,"u").test(c))continue;let f=az(c);if(!(!aA(c)||e.has(f)||aW(f,a))&&(e.add(f),d.push({id:aQ(f,`chapter-${d.length+1}`),title:f,order:d.length,sourceRequirement:b.content.replace(/\s+/gu," ").slice(0,500),requiredContents:[],writingRules:[],evidenceNeeds:[],minWords:1200,requirements:[]}),d.length>=40))break}if(d.length>=40)break}return d}(a,b,c),facts:l.length>0?l:c.slice(0,20).map((a,c)=>({key:`${b.fileRoleName}事实${c+1}`,value:a.content.replace(/\s+/gu," ").slice(0,360),sourceFile:a.filePath,roleId:b.fileRoleId,processingType:b.processingType,relatedChapterHints:a.sectionTitle?[a.sectionTitle]:[]})).filter(a=>a.value.length>20),outputRequirements:aZ(h?.outputRequirements),warnings:[...g,...aZ(h?.warnings)],forbidImageInsertion:h?.forbidImageInsertion??"drawing_facts"===b.outputType}}let a0=[{key:"项目名称",patterns:[/(?:项目名称|工程名称|项目简称|标的名称)\s*[::]?\s*([^\n;;。]{3,100})/u],chapterHint:/项目|工程|名称|概况|总述/u},{key:"项目编号",patterns:[/(?:项目编号|工程编号|采购编号|招标编号|标段编号|合同编号)\s*[::]?\s*([^\n;;。]{3,80})/u],chapterHint:/编号|概况|总述/u},{key:"建设单位",patterns:[/(?:建设单位|业主单位|采购人|招标人|委托人|甲方)\s*[::]?\s*([^\n;;。]{2,100})/u],chapterHint:/建设单位|业主|采购人|招标人|甲方|概况/u},{key:"实施地点",patterns:[/(?:建设地点|项目地点|工程地点|实施地点|服务地点|交付地点|项目地址)\s*[::]?\s*([^\n;;。]{2,120})/u],chapterHint:/地点|地址|现场|概况|部署/u},{key:"项目规模",patterns:[/(?:建设规模|项目规模|工程规模|服务规模|采购规模)\s*[::]?\s*([^\n;;。]{2,180})/u],chapterHint:/规模|概况|范围|工程量/u},{key:"实施范围",patterns:[/(?:招标范围|工程范围|施工范围|服务范围|采购范围|实施范围|工作范围)\s*[::]?\s*([^\n。]{5,300})/u],chapterHint:/范围|内容|任务|概况|部署/u},{key:"工期周期",patterns:[/(?:计划工期|工期要求|合同履行期限|服务期限|交付周期|实施周期)\s*[::]?\s*([^\n;;。]{2,120})/u],chapterHint:/工期|周期|进度|计划|部署/u},{key:"质量标准",patterns:[/(?:质量标准|质量要求|验收标准|验收要求)\s*[::]?\s*([^\n;;。]{2,140})/u],chapterHint:/质量|验收|标准/u},{key:"资金预算",patterns:[/(?:资金来源|资金落实情况|预算金额|最高限价|合同金额|投资金额)\s*[::]?\s*([^\n;;。]{2,120})/u],chapterHint:/资金|预算|造价|投资|商务/u},{key:"标段包件",patterns:[/(?:标段划分|标包划分|包件划分|合同包)\s*[::]?\s*([^\n;;。]{2,120})/u],chapterHint:/标段|包件|范围|概况/u},{key:"关键日期",patterns:[/(?:开工日期|竣工日期|投标截止|响应截止|交付日期|完成时间)\s*[::]?\s*([^\n;;。]{2,120})/u],chapterHint:/日期|时间|进度|计划/u}];function a1(a){let b=a.length>1e4?`${a.slice(0,5e3)}
24
+ ${JSON.stringify(i).slice(0,12e3)}`,{signal:d});a&&!a$(a)?i=a:h.push(`${b.fileRoleName} 结构化读取修复失败,已降级使用证据片段生成。`)}let j=aY(i?.chapters),k=aY(i?.facts),l=[];j.forEach((b,c)=>{let d="string"==typeof b.title?az(b.title):"";!d||!aA(b.title||d)||aW(d,a)||l.push({id:aQ(d,`chapter-${c+1}`),title:d,order:c,sourceRequirement:b.sourceRequirement||d,requiredContents:aZ(b.requiredContents),writingRules:aZ(b.writingRules),evidenceNeeds:aZ(b.evidenceNeeds),minWords:Math.max(800,Math.min(3500,Number(b.minWords)||1200)),requirements:aY(b.requirements).map((a,b)=>({id:aQ(`${d}-${a.title||b+1}`,`req-${c+1}-${b+1}`),title:a.title||`要求 ${b+1}`,requirementText:a.requirementText||a.title||"",requiredContents:aZ(a.requiredContents),writingRules:aZ(a.writingRules),evidenceNeeds:aZ(a.evidenceNeeds),preferredSourceRoleIds:aZ(a.preferredSourceRoleIds)}))})});let m=[],n=new Set(c.map(a=>a.filePath));return k.forEach(a=>{let d="string"==typeof a.key?a.key.trim():"",e=a.sourceFile&&n.has(a.sourceFile)?a.sourceFile:c.find(a=>a.filePath)?.filePath||"";d&&null!=a.value&&e&&n.has(e)&&m.push({key:d,value:aq(aX(a.value)),sourceFile:e,roleId:b.fileRoleId,processingType:b.processingType,relatedChapterHints:aZ(a.relatedChapterHints)})}),(0===l.length||0===m.length)&&h.push(`${b.fileRoleName} 部分结构化结果不足,已补充使用证据片段兜底。`),{node:b,evidence:c,chapters:l.length>0?l:function(a,b,c){if("template_requirements"!==b.outputType)return[];let d=[],e=new Set;for(let b of c){for(let c of b.content.split(/\r?\n/u).map(a=>a.trim()).filter(Boolean)){if(!RegExp(`^(?:第(?:\\d{1,3}|${aw})[章节]|[((]?(?:\\d{1,3}|${aw})[))、..]|\\d+(?:\\.\\d+)*[、..])`,"u").test(c))continue;let f=az(c);if(!(!aA(c)||e.has(f)||aW(f,a))&&(e.add(f),d.push({id:aQ(f,`chapter-${d.length+1}`),title:f,order:d.length,sourceRequirement:b.content.replace(/\s+/gu," ").slice(0,500),requiredContents:[],writingRules:[],evidenceNeeds:[],minWords:1200,requirements:[]}),d.length>=40))break}if(d.length>=40)break}return d}(a,b,c),facts:m.length>0?m:c.slice(0,20).map((a,c)=>({key:`${b.fileRoleName}事实${c+1}`,value:a.content.replace(/\s+/gu," ").slice(0,360),sourceFile:a.filePath,roleId:b.fileRoleId,processingType:b.processingType,relatedChapterHints:a.sectionTitle?[a.sectionTitle]:[]})).filter(a=>a.value.length>20),outputRequirements:aZ(i?.outputRequirements),warnings:[...h,...aZ(i?.warnings)],forbidImageInsertion:i?.forbidImageInsertion??"drawing_facts"===b.outputType}}let a0=[{key:"项目名称",patterns:[/(?:项目名称|工程名称|项目简称|标的名称)\s*[::]?\s*([^\n;;。]{3,100})/u],chapterHint:/项目|工程|名称|概况|总述/u},{key:"项目编号",patterns:[/(?:项目编号|工程编号|采购编号|招标编号|标段编号|合同编号)\s*[::]?\s*([^\n;;。]{3,80})/u],chapterHint:/编号|概况|总述/u},{key:"建设单位",patterns:[/(?:建设单位|业主单位|采购人|招标人|委托人|甲方)\s*[::]?\s*([^\n;;。]{2,100})/u],chapterHint:/建设单位|业主|采购人|招标人|甲方|概况/u},{key:"实施地点",patterns:[/(?:建设地点|项目地点|工程地点|实施地点|服务地点|交付地点|项目地址)\s*[::]?\s*([^\n;;。]{2,120})/u],chapterHint:/地点|地址|现场|概况|部署/u},{key:"项目规模",patterns:[/(?:建设规模|项目规模|工程规模|服务规模|采购规模)\s*[::]?\s*([^\n;;。]{2,180})/u],chapterHint:/规模|概况|范围|工程量/u},{key:"实施范围",patterns:[/(?:招标范围|工程范围|施工范围|服务范围|采购范围|实施范围|工作范围)\s*[::]?\s*([^\n。]{5,300})/u],chapterHint:/范围|内容|任务|概况|部署/u},{key:"工期周期",patterns:[/(?:计划工期|工期要求|合同履行期限|服务期限|交付周期|实施周期)\s*[::]?\s*([^\n;;。]{2,120})/u],chapterHint:/工期|周期|进度|计划|部署/u},{key:"质量标准",patterns:[/(?:质量标准|质量要求|验收标准|验收要求)\s*[::]?\s*([^\n;;。]{2,140})/u],chapterHint:/质量|验收|标准/u},{key:"资金预算",patterns:[/(?:资金来源|资金落实情况|预算金额|最高限价|合同金额|投资金额)\s*[::]?\s*([^\n;;。]{2,120})/u],chapterHint:/资金|预算|造价|投资|商务/u},{key:"标段包件",patterns:[/(?:标段划分|标包划分|包件划分|合同包)\s*[::]?\s*([^\n;;。]{2,120})/u],chapterHint:/标段|包件|范围|概况/u},{key:"关键日期",patterns:[/(?:开工日期|竣工日期|投标截止|响应截止|交付日期|完成时间)\s*[::]?\s*([^\n;;。]{2,120})/u],chapterHint:/日期|时间|进度|计划/u}];function a1(a){let b=a.length>1e4?`${a.slice(0,5e3)}
25
25
 
26
26
  ${a.slice(-5e3)}`:a,c=b.replace(/\s+/gu," ");return{explicitStructure:/(?:目录|大纲|章节|结构|框架|按以下|如下结构|不要新增|不得新增|只写|仅写)/u.test(c),explicitSections:/(?:小节|二级标题|三级标题|一级标题|##|###|第[一二三四五六七八九十]+章|\d+[.、]\s*[^\s])/u.test(b),lengthLimit:/(?:\d+\s*(?:字|页|段)|控制在|不超过|不少于|篇幅|字数|页数)/u.test(c),wantsConcise:/(?:简洁|精简|简要|不要展开|无需展开|概述|摘要|少写|控制篇幅)/u.test(c),detailedInstructions:c.length>=900||/(?:必须包含|重点写|详细说明|逐项|分别说明|表格|清单|流程|步骤|标准|责任|频次|验收)/u.test(c),explicitFacts:/(?:\d+\s*(?:天|日|个月|万元|元|%|㎡|m2|米|m|人|台|套)|项目名称|工期|质量标准|地点|预算|编号)/u.test(c),styleConstraint:/(?:口吻|语气|风格|措辞|正式|承诺|汇报|方案|不要使用|禁止使用)/u.test(c)}}function a2(a){return a?({"knowledge-base":"知识库","document-readiness":"生成准备度检查","quality-repair":"质量补写","export-gate":"导出门禁","context-memory":"项目上下文","final-format":"正式排版","multimodal-files":"多模态文件理解","llm-json":"LLM 事实抽取","llm-review":"LLM 审查","document-workflow":"最终规范校验"})[a]:void 0}function a3(a,b={}){let c={executionVersion:2,title:{role_binding:"项目角色配置绑定",knowledge_retrieval:"知识库证据检索",context_recall:"项目上下文召回",file_understanding:"文件角色读取",fact_extraction:"事实抽取",chapter_generation:"章节正文生成",asset_generation:"生成资源处理",llm_review:"LLM 审查优化",validation:"内容优化与质量校验",formatting:"正式排版整理",export_ready:"导出就绪检查",reference:"资料增强"}[a.type],group:a.type,...a,...b};return{...c,roleName:c.roleName||a2(c.roleId),subtitle:c.subtitle||c.roleName||a2(c.roleId)}}function a4(a,b,c){let d=[b.title,...b.requiredFacts||[],...c?.requiredContents||[],...c?.evidenceNeeds||[],...c?.requirements.flatMap(a=>[a.title,...a.requiredContents,...a.evidenceNeeds])||[]].filter(Boolean);return a.flatMap(a=>a.facts.map(b=>({artifact:a,fact:b}))).filter(({fact:a})=>{let b=`${a.key}
27
27
  ${aX(a.value)}
@@ -72,7 +72,7 @@ ${a.content}`).join("\n\n"),al=function(a){for(let b of a){let a=function(a,b,c)
72
72
  建议关注事实:${au.factFields.map(a=>a.name).join("、")}
73
73
  章节内容建议:${au.chapterRules.map(a=>`${a.title}${a.generationHint?`:${a.generationHint.replace(/\s+/gu," ").slice(0,120)}`:""}`).join(";")||"以当前模板章节为准"}
74
74
  质量提醒:${au.gateRules.map(a=>a.name).join("、")}`),["## 后台生成准备度",`可生成:${aC.ready?"是":"否"}`,`资料覆盖率:${Math.round(100*aC.materialCoverageRate)}%`,`资料角色满足率:${Math.round(100*aC.roleSatisfactionRate)}%`,`优化建议完整度:${Math.round(100*aC.specCompletenessRate)}%`,aC.missingRoles.length?`缺失角色:${aC.missingRoles.join("、")}`:"",aC.weakRoles.length?`较弱角色:${aC.weakRoles.join("、")}`:""].filter(Boolean).join("\n")].filter(Boolean).join("\n\n"),aI=[aD,bp(ah,["chapter_generation","formatting","reference"])].filter(Boolean).join("\n\n"),aJ=a1([aI,a.requirement||""].filter(Boolean).join("\n\n")),aK=[aD,bp(ah,["fact_extraction","reference"])].filter(Boolean).join("\n\n"),aM=[aD,bp(ah,["validation","llm_review","formatting","reference"])].filter(Boolean).join("\n\n");b8(af,a3({type:"validation",roleId:"document-preparation",status:"success",message:`模板规范与资料摘要分析完成,识别 ${aj.length} 条文件角色绑定`},{subtitle:"生成准备",order:af.length})),a.onProgress?.([...af]);let aN=bn(i,aj),aO=(0,o.XB)("file"),aQ=new Map(aj.flatMap(a=>bl(i,a.filePath).map(b=>[b,a.roleId]))),aU=new Map(aj.flatMap(a=>bl(i,a.filePath).map(b=>[b,aO.find(b=>b.id===a.roleId)?.processingType||"reference"])));b8(af,a3({type:"knowledge_retrieval",roleId:"knowledge-index",status:"running",message:"正在检查知识库增量索引状态"},{subtitle:"知识库索引",order:af.length})),a.onProgress?.([...af]);let aV=await ab.getProject(i);await aV.incrementalIndex(),b8(af,a3({type:"knowledge_retrieval",roleId:"knowledge-index",status:"success",message:"知识库增量索引检查完成,开始构建角色资料证据池"},{subtitle:"知识库索引",order:af.length})),a.onProgress?.([...af]),b7(a.signal);let aY=[],aZ=[],a$=[],a_=[],a2=[],a7=[],a8=-1,a9=function(a,b,c){let d=(0,o.XB)("file"),e=(0,o.XB)("prompt"),f=ag(b),g=new Map;for(let a of c)g.set(a.roleId,[...g.get(a.roleId)||[],a.filePath]);let h=d.filter(a=>g.has(a.id)),i=e.filter(a=>{let b=a.executionType||"reference",c=/technical-review|review-standard|template|章节|目录|评审标准/u.test(`${a.id} ${a.name} ${a.description||""}`);return f.some(b=>b.roleId===a.id)&&(["fact_extraction","reference"].includes(b)||c)});return h.map(a=>{let b=i.map(b=>{let c=f.filter(a=>a.roleId===b.id).map(a=>bo(a.content));return{promptRole:b,texts:c,score:function(a,b,c){let d=aP(`${a} ${c.join(" ")}`),e=aP(`${b.id} ${b.name} ${b.processingType||""}`),f=0;for(let a of(/fact|抽取|读取|提取|理解|reference/u.test(d)&&(f+=5),/chapter_generation|章节生成|正文生成/u.test(d)&&(f+=1),[b.id,b.name,b.processingType||""].filter(Boolean)))d.includes(aP(a))&&(f+=4);return/tender|招标|投标|评审|响应|rule/u.test(e)&&/tender|招标|投标|评审|响应|示范文本|章节|目录|输出要求|编制要求/u.test(d)&&(f+=6),/bill|boq|quantity|清单|工程量/u.test(e)&&/bill|boq|quantity|清单|工程量|项目特征/u.test(d)&&(f+=6),/drawing|cad|图纸|设计/u.test(e)&&/drawing|cad|图纸|设计|文本|标注/u.test(d)&&(f+=6),/material|equipment|brand|材料|设备|品牌/u.test(e)&&/material|equipment|brand|材料|设备|品牌|推荐/u.test(d)&&(f+=6),/schedule|quality|safety|工期|质量|安全|文明/u.test(e)&&/schedule|quality|safety|工期|质量|安全|文明/u.test(d)&&(f+=6),/risk|constraint|重点|难点|约束|风险/u.test(e)&&/risk|constraint|重点|难点|约束|风险/u.test(d)&&(f+=6),f}(b.id,a,c)}}).sort((a,b)=>b.score-a.score),c=b.filter(a=>a.score>5).slice(0,2),d=b.find(a=>{let b=a.promptRole.executionType||"reference";return"fact_extraction"===b||"reference"===b}),e=c.length>0?c:d?[d]:[],h=e.map(a=>a.promptRole.id),j=e.map(a=>a.promptRole.name),k=e.flatMap(a=>a.texts);return{id:`node-${a.id}`,fileRoleId:a.id,fileRoleName:a.name,filePaths:g.get(a.id)||[],processingType:a.processingType,promptRoleIds:h,promptRoleNames:j,promptTexts:k,outputType:function(a,b=[]){let c=aP(`${a.id} ${a.name} ${a.processingType||""} ${b.join(" ")}`);return/示范文本|招标文件|章节|目录|输出要求|编制要求|template|tender/u.test(c)?"template_requirements":/清单|工程量|bill|boq|quantity/u.test(c)?"bill_facts":/图纸|drawing|cad|设计图|图纸解析/u.test(c)?"drawing_facts":/规范|标准|spec|technical/u.test(c)?"technical_facts":/项目|工程概况|事实|fact/u.test(c)?"project_facts":"reference_facts"}(a,k)}})}(0,ah,aj),bb=function(a,b,c){let d=new Map,e=0;for(let f of[...new Set(b.flatMap(a=>a.filePaths))]){let b=aR(c,f),g=a.getFileDetail(f);if(g&&g.chunks.length>0){d.set(b,g.chunks.slice(0,120).map(a=>({chapterId:"role-evidence-pool",filePath:g.file.relativePath,score:1,content:a.content,sectionTitle:a.sectionTitle,source:"role-node"})));continue}let h=as(f,void 0,void 0,"role-evidence-pool",c);h.length>0&&(e+=1),d.set(b,h)}return{files:d,uniqueFileCount:d.size,bindingCount:b.reduce((a,b)=>a+b.filePaths.length,0),fallbackFileCount:e}}(aV,a9,i),bd=a3({type:"file_understanding",roleId:"role-evidence-pool",status:"success",message:`已构建共享资料证据池:唯一文件 ${bb.uniqueFileCount} 份,角色绑定 ${bb.bindingCount} 条,复用 ${Math.max(0,bb.bindingCount-bb.uniqueFileCount)} 条;${bb.fallbackFileCount} 份使用文件级兜底证据`},{subtitle:"共享资料池",order:af.length});b8(af,bd),a.onProgress?.([...af]);let bi=[],bq=function(a,b,c){let d=[...c].sort().map(c=>{let d=a.getFileDetail(c)||a.getFileDetail(e.join(b,c));if(!d)return{filePath:c,missing:!0};let f=(d.chunks||[]).slice(0,200).map(a=>aL(`${a.sectionTitle||""}
75
- ${a.content}`));return{filePath:d.file?.relativePath||c,chunkCount:d.chunks?.length||0,chunks:f}});return aL({type:"project-evidence-version-v1",entries:d})}(aV,i,aN),bs=br()?.model.name,bu=bp(ah,["fact_extraction","reference","chapter_generation"]),bN=aL({fileBindings:aj,evidenceScopePaths:[...aN].sort(),activeModelName:bs,projectEvidenceVersion:bq,promptTexts:bu,materialFingerprint:ap.fingerprint,materialInventory:Object.fromEntries(Object.entries(ap.materialInventory).map(([a,b])=>[a,b.map(a=>({filePath:a.filePath,chunkCount:a.chunkCount}))]))}),bO=Math.max(1,Math.min(3,Number(process.env.DOCUMENT_ROLE_CONCURRENCY??3)));for(let b=0;b<a9.length;b+=bO){b7(a.signal);let c=a9.slice(b,b+bO).map(async b=>{let c=Date.now(),d=(function(a,b,c){return ar(b.filePaths.flatMap(d=>(a.files.get(aR(c,d))||[]).map(a=>({...a,chapterId:b.id,roleId:b.fileRoleId,processingType:b.processingType}))),120)})(bb,b,i).filter(a=>bm(i,a.filePath,aN)),e=af.length,f=a3({type:"file_understanding",roleId:b.fileRoleId,promptId:b.promptRoleIds[0],status:"running",message:`${b.fileRoleName} 正在复用共享资料池读取 ${b.filePaths.length} 条绑定,候选证据 ${d.length} 条`},{subtitle:b.fileRoleName,roleName:b.fileRoleName,promptName:b.promptRoleNames.join("、")||void 0,order:e});af.push(f),a.onProgress?.([...af]);let{artifact:g,cached:h}=await aS({template:n,node:b,evidence:d,promptTexts:bu,projectRoot:i,modelName:bs}),j=a3({type:"file_understanding",roleId:b.fileRoleId,promptId:b.promptRoleIds[0],status:d.length>0?"success":"fallback",message:b9(`${b.fileRoleName} 节点已${h?"复用缓存":"完成"},产出章节建议 ${g.chapters.length} 个、事实 ${g.facts.length} 条`,c)},{subtitle:b.fileRoleName,roleName:b.fileRoleName,promptName:b.promptRoleNames.join("、")||void 0,order:e});return af[e]=j,a.onProgress?.([...af]),{artifact:g,evidence:d}});for(let a of(await Promise.all(c)))a$.push(...a.evidence),bi.push(a.artifact)}let bS=function(a,b){let c=b.filter(a=>"template_requirements"===a.node.outputType).flatMap(a=>a.chapters),d=new Map;for(let b of c.sort((a,b)=>a.order-b.order)){let c=az(b.title);!(!aA(b.title)||aW(c,a))&&(d.has(c)||d.set(c,{...b,title:c}))}return[...d.values()]}(n,bi),bT=aE(n,au,{preserveExplicitOutline:am}),b$=[n.name,n.outputTitle,a.requirement,...bT.flatMap(a=>[a.title,a.purpose])].filter(Boolean).join(" "),ca=(0,m.Hh)(b$,8,i),cb=ca.length>0?ca.map((a,b)=>`${b+1}. [${a.type}/${a.importance}] ${a.content}${a.source?`(来源:${a.source})`:""}`).join("\n"):"",cc=function(a){let b=[],c=new Set;for(let d of a)for(let{key:a,patterns:e}of a0)if(!b.some(b=>b.key===a))for(let f of e){let e=f.exec(d.content)?.[1]?.replace(/\s+/gu," ").trim();if(!e||/见(?:招标|公告|文件|附件)|详见|按.*要求/u.test(e))continue;let g=`${a}:${e}`;if(!c.has(g)){c.add(g),b.push({key:a,value:e.slice(0,300),sourceFile:d.filePath});break}}return b}(bi.flatMap(a=>a.evidence)),cd=function(a){let b=a.template.generationSettings||a.template.exportSettings,c=bA(a.template.exportSettings||a.template.generationSettings),d=function(a){let b=a.replace(/\s+/gu," "),c=[...b.matchAll(/(?:不少于|至少|约|大概|左右|生成|输出|达到|共)?\s*(\d+(?:\.\d+)?|[一二两三四五六七八九十]{1,3})\s*(?:页|頁)/gu)],d=[...b.matchAll(/(?:不少于|至少|约|大概|左右|生成|输出|达到|共)?\s*(\d+(?:\.\d+)?|[一二两三四五六七八九十]{1,3})\s*(万)?\s*(?:字|字符)/gu)];return{targetPages:c.map(a=>bB(a[1]||"")).filter(a=>Number.isFinite(a)).at(-1),targetChars:d.map(a=>{let b=bB(a[1]||"");return b?Math.round(b*(a[2]?1e4:1)):void 0}).filter(a=>Number.isFinite(a)).at(-1)}}([a.requirement||"",a.promptTexts].join("\n")),e=!!(d.targetChars||d.targetPages),f=e?void 0:b?.targetPages?.target||b?.targetPages?.min,g=d.targetPages?d.targetPages*c:void 0,h=d.targetPages||f,i=e?"explicit":f?"template":a.spec?.chapterRules.some(a=>a.minWords)||a.spec?.dynamicChapterRule.minWordsPerChapter?"spec":"default",j=e?Math.max(d.targetChars||0,g||0)||void 0:Math.max((f?f*c:void 0)||0)||void 0,k=e?h?Math.floor(.95*h):void 0:b?.targetPages?.min||(h?Math.floor(.95*h):void 0),l=j?Math.floor(.95*j):k?k*c:void 0,m=a.chapters.length>0?a.chapters:a.template.chapters,n=m.reduce((a,b)=>a+bC(b),0)||1,o=new Map;for(let b of m){let c=Math.max(a.spec?.chapterRules.find(a=>a.id===b.id||a.title===b.title)?.minWords||0,a.spec?.dynamicChapterRule.minWordsPerChapter||0,1200),d=j?Math.round(j*bC(b)/n):0;o.set(b.id,Math.max(c,d))}return{targetPages:h,minPages:k,targetChars:j,minChars:l,charsPerPage:c,chapterTargets:o,source:i}}({requirement:a.requirement,promptTexts:aI,template:n,chapters:bT,spec:au}),ce=a3({type:"context_recall",roleId:"project-memory",status:ca.length>0?"success":"skipped",message:ca.length>0?`已注入 ${ca.length} 条短期/长期上下文`:"未召回可用项目上下文"},{subtitle:"项目记忆"}),cf=am?`;识别到 OUTLINE 章节 ${al.length} 个`:";未识别到有效 OUTLINE,将使用模板章节";b8(af,a3({type:"role_binding",roleId:ad,status:"success",message:`已绑定 ${aj.length} 个文件角色、${ah.length} 个提示词角色;后台优化建议关注 ${au.factFields.length} 个事实字段;资料覆盖率 ${Math.round(100*aC.materialCoverageRate)}%${cf}`},{subtitle:ae,roleName:ae})),b8(af,a3({type:"validation",roleId:"document-readiness",status:aC.ready?"success":"failed",message:`生成准备度:资料 ${Math.round(100*aC.materialCoverageRate)}%,资料角色 ${Math.round(100*aC.roleSatisfactionRate)}%,优化建议 ${Math.round(100*aC.specCompletenessRate)}%;${ap.source.selectionReason}`},{subtitle:"生成准备度检查"})),b8(af,ce),a.onProgress?.([...af]);let cg=Math.max(1,Math.min(4,Number(process.env.DOCUMENT_CHAPTER_CONCURRENCY??4)));for(let b=0;b<bT.length;b+=cg){let c=bT.slice(b,b+cg);await Promise.all(c.map(async(c,d)=>{let e=b+d;b7(a.signal);try{let b=Date.now(),d=[],f=function(a,b){return b.find(b=>b.id===a.id||b.title===a.title)}(c,bS),g=f?[f.title,...f.requiredContents,...f.evidenceNeeds,...f.requirements.flatMap(a=>[a.title,a.requirementText,...a.requiredContents,...a.evidenceNeeds])].filter(Boolean):[],h=c.queries.length>0?c.queries:[n.name,n.outputTitle,c.title],j=[...new Set([...h,...g])].filter(Boolean).slice(0,4);for(let a of(await Promise.all(j.map(a=>aT({manager:ab,projectRoot:i,query:a,evidenceScopePaths:aN,maxEvidence:ac,fileRolesHash:bN})))))d.push(...a.filter(a=>bm(i,a.filePath,aN)).map(a=>({chapterId:c.id,filePath:a.filePath,score:a.score,content:a.content,roleId:aQ.get(a.filePath),processingType:aU.get(a.filePath),sectionTitle:a.sectionTitle,source:a.source})));let k=new Set(c.pinnedEvidenceFilePaths||[]),l=a4(bi,c,f);for(let a of(d.push(...l.flatMap(({artifact:a})=>a.evidence.filter(a=>bm(i,a.filePath,aN)).slice(0,8).map(a=>({...a,chapterId:c.id,source:"role-node"})))),new Set([...k]))){if(!bm(i,a,aN))continue;let b=k.has(a),e=aV.getFileDetail(a);if(!e){d.push(...as(a,aQ.get(a),aU.get(a),c.id,i).map(a=>({...a,source:b?"pinned-evidence":a.source})));continue}d.push(...e.chunks.slice(0,Math.max(ac,20)).map(a=>({chapterId:c.id,filePath:e.file.relativePath,score:1,content:a.content,roleId:aQ.get(e.file.relativePath),processingType:aU.get(e.file.relativePath),sectionTitle:a.sectionTitle,source:b?"pinned-evidence":"bound-file"})))}let m=d.filter(a=>bm(i,a.filePath,aN)),o=ar(m,ac),p=ar(m,120);a$.push(...o);let q=function(a,b=220){let c=[],d=new Set;for(let e of a)for(let a of function(a){let b=W(a),c=b.split(/[。;;\n]/u).map(a=>a.trim()).filter(a=>a.length>=12);return c.length?c:b?[b]:[]}(e.content)){if(!function(a){return[I,J,K,L,M,N,O].some(b=>(function(a,b){b.lastIndex=0;let c=b.test(a);return b.lastIndex=0,c})(a,b))||[...P,...Q,...R,...S,...T,...U].some(b=>a.includes(b))}(a))continue;let f=W(a).slice(0,420),g=f.replace(/\d+/gu,"#").slice(0,180);if(d.has(g))continue;d.add(g);let h=function(a){return H.find(([,b])=>b.test(a))?.[0]||"通用工程"}(f),i=Y(f,I).slice(0,8),j=Y(f,J).slice(0,8),k=Y(f,K).slice(0,8),l=Y(f,L).slice(0,6),m=Y(f,M).slice(0,8),n=Y(f,N).slice(0,8),o=Y(f,O).slice(0,5),p=Z(f,P),q=Z(f,Q),r=Z(f,R),s=Z(f,S),t=function(a){return T.some(b=>a.text.includes(b))?"dangerous_work":U.some(b=>a.text.includes(b))?"subdivision_work":a.costValues.length?"cost_commitment":a.scheduleValues.length?a.riskControl.length?"risk_response":"schedule_milestone":a.frequencyValues.length?a.inspection.length?"inspection_ratio":"management_frequency":a.resourceValues.length?"resource_allocation":a.quantities.length?"engineering_quantity":a.standards.length?"standard_requirement":"technical_parameter"}({text:f,parameters:i,quantities:j,scheduleValues:k,costValues:l,frequencyValues:m,resourceValues:n,standards:o,inspection:q,riskControl:s});if(c.push({id:`tech-${c.length+1}`,category:t,discipline:h,workItem:function(a,b){return["砌筑","构造柱","防水","闭水试验","地砖","墙砖","吊顶","涂料","给水","排水","消防水","消防电","电气","风管","排烟","油烟净化","厨房设备","明厨亮灶","隔油池","临时用电","动火作业"].find(b=>a.includes(b))||b}(f,h),specification:i.join("、")||void 0,parameter:i.join("、")||void 0,quantities:j,scheduleValues:k,costValues:l,frequencyValues:m,resourceValues:n,commitmentValues:[...k,...l,...m].slice(0,10),process:p,qualityControl:r,inspection:q,standard:o,riskControl:s,sourceRole:e.roleId,sourceFile:e.filePath,text:f,confidence:Math.min(1,.42+.06*i.length+.05*j.length+.05*k.length+.05*l.length+.05*m.length+.07*o.length+.04*p.length+.04*q.length)}),c.length>=b)return c}return c}(p,160),r=function(a,b,c=24){let d=b.filter(b=>(function(a,b){let c=`${b.title} ${b.purpose} ${(b.sections||[]).join(" ")} ${(b.requiredFacts||[]).join(" ")} ${(b.queries||[]).join(" ")}`;return/施工方法|主要.*方法|工艺|分项|分部分项/u.test(c)?/土建|砌筑|防水|装饰|给排水|电气|消防|暖通|厨房|设备|排烟/u.test(a.discipline+a.workItem)||["technical_parameter","subdivision_work","dangerous_work"].includes(a.category):/质量|工期|进度/u.test(c)?a.qualityControl?.length||a.inspection?.length||a.standard?.length||["schedule_milestone","inspection_ratio","management_frequency","cost_commitment"].includes(a.category):/人.*材.*机|资源|材料|机械/u.test(c)?["resource_allocation","engineering_quantity"].includes(a.category)||/材料|设备|机械|厨房设备|暖通|电气|给排水/u.test(a.discipline+a.workItem+a.text):/安全|文明|应急|危大|危险性较大|专项/u.test(c)?a.riskControl?.length||["risk_response","management_frequency","cost_commitment","dangerous_work"].includes(a.category)||/临时用电|动火|高处|消防|应急|扬尘|有限空间|拆除/u.test(a.text):/重点|难点/u.test(c)?a.confidence>=.65:[a.discipline,a.workItem].some(a=>c.includes(a))})(b,a)).sort((a,b)=>b.confidence-a.confidence).slice(0,c);return{chapterId:a.id,chapterTitle:a.title,facts:d}}(c,q);aZ.push(r);let s=0===r.facts.length?"":["本章必须优先落位以下工程量化事实和技术事实。不得用“按设计要求、按规范要求、加强管理”等空泛表述替代已列出的工程量、工期节点、频次、人员资源、金额承诺、参数、工艺、试验和验收指标。","","| 序号 | 类型 | 专业 | 分项 | 参数/规格 | 工程量/工期/频次/资源/金额 | 工艺动作 | 试验验收 | 规范标准 | 可写入正文的事实 |","|---|---|---|---|---|---|---|---|---|---|",...r.facts.map((a,b)=>{let c=[...a.quantities||[],...a.scheduleValues||[],...a.costValues||[],...a.frequencyValues||[],...a.resourceValues||[]].join("、");return`| ${b+1} | ${a.category} | ${a.discipline} | ${a.workItem} | ${a.parameter||a.specification||""} | ${c} | ${(a.process||[]).join("、")} | ${(a.inspection||[]).join("、")} | ${(a.standard||[]).join("、")} | ${a.text.replace(/\|/gu,",").slice(0,220)} |`}),"","强制写作要求:","- 主要施工方法类章节按“适用部位/材料参数/工艺流程/操作要点/质量验收/安全与成品保护”展开。","- 本章事实表中出现的工程数量、涉及学校数量、工期节点、检查频次、人员资源、设备数量、金额/违约承诺、数字、单位、强度、厚度、管径、试验时间、验收指标和规范编号,应自然写入正文。","- 如果资料中已有具体参数,禁止只写“满足设计要求”“按规范施工”。","- 每个主要分项至少写出施工动作、检查动作和验收动作。","- 识别到分部分项、危大工程、危险性较大工程、有限空间、动火、高处、临电、拆除等风险线索时,必须写入对应章节的风险识别、专项方案、交底、旁站检查、验收放行和应急闭环。"].join("\n"),t=function(a){let b=_(a.facts).slice(0,18);return 0===b.length?"":["## 本章量化事实覆盖矩阵","以下对象、部位、工程量、工期、频次、资源或金额来自项目资料。正文必须逐项覆盖;同一施工方案涉及多处对象时,不得只写其中一处或把多个工程量合并成一个笼统数量。","| 序号 | 施工对象/部位/分项 | 量化值 | 参数/规格 | 来源角色 | 来源文件 | 原始事实 |","|---|---|---|---|---|---|---|",...b.map((a,b)=>{let c=[...a.quantities||[],...a.scheduleValues||[],...a.frequencyValues||[],...a.resourceValues||[],...a.costValues||[]].join("、");return`| ${b+1} | ${$(a)} | ${c} | ${a.parameter||a.specification||""} | ${a.sourceRole||""} | ${a.sourceFile||""} | ${a.text.replace(/\|/gu,",").slice(0,180)} |`}),"","覆盖要求:","- 日期、数量、规格、工程量、资源数量和工期节点只能使用资料中的值或由资料明确推导的值;没有依据时不得编造。","- 如果同一工艺适用于多个部位、区域、学校、片区或分项,应使用表格或分项段落分别说明适用范围、工程量和控制要点。","- 资料中存在多个来源值或口径不一致时,应保持审慎表述并提示需按招标文件、答疑、图纸或清单优先级复核,不得随意选择一个数值。"].join("\n")}(r),u=c.requiredFacts.filter(a=>!o.some(b=>aF(b,a)));for(let a of(0===o.length&&a_.push(`${c.title}:未检索到明确资料依据`),u))a_.push(`${c.title}:${a} 未检索到明确依据`);let v=a3({type:"knowledge_retrieval",roleId:"knowledge-base",status:a$.length>0?"success":"fallback",message:`已检索/绑定 ${a$.length} 条证据`});a8<0?a8=b8(af,v):af[a8]={...v,order:af[a8]?.order??v.order},a.onProgress?.([...af]),b7(a.signal);let w=a5(bi,n),x=function(a,b,c){let d=a4(a,b,c),e=c?[`章节来源要求:${c.sourceRequirement}`,c.requiredContents.length?`必须包含:${c.requiredContents.join("、")}`:"",c.writingRules.length?`写作规范:${c.writingRules.join("、")}`:"",c.evidenceNeeds.length?`需要证据:${c.evidenceNeeds.join("、")}`:"",c.requirements.length?`要求项:
75
+ ${a.content}`));return{filePath:d.file?.relativePath||c,chunkCount:d.chunks?.length||0,chunks:f}});return aL({type:"project-evidence-version-v1",entries:d})}(aV,i,aN),bs=br()?.model.name,bu=bp(ah,["fact_extraction","reference","chapter_generation"]),bN=aL({fileBindings:aj,evidenceScopePaths:[...aN].sort(),activeModelName:bs,projectEvidenceVersion:bq,promptTexts:bu,materialFingerprint:ap.fingerprint,materialInventory:Object.fromEntries(Object.entries(ap.materialInventory).map(([a,b])=>[a,b.map(a=>({filePath:a.filePath,chunkCount:a.chunkCount}))]))}),bO=Math.max(1,Math.min(3,Number(process.env.DOCUMENT_ROLE_CONCURRENCY??3)));for(let b=0;b<a9.length;b+=bO){b7(a.signal);let c=a9.slice(b,b+bO).map(async b=>{let c=Date.now(),d=(function(a,b,c){return ar(b.filePaths.flatMap(d=>(a.files.get(aR(c,d))||[]).map(a=>({...a,chapterId:b.id,roleId:b.fileRoleId,processingType:b.processingType}))),120)})(bb,b,i).filter(a=>bm(i,a.filePath,aN)),e=af.length,f=a3({type:"file_understanding",roleId:b.fileRoleId,promptId:b.promptRoleIds[0],status:"running",message:`${b.fileRoleName} 正在复用共享资料池读取 ${b.filePaths.length} 条绑定,候选证据 ${d.length} 条`},{subtitle:b.fileRoleName,roleName:b.fileRoleName,promptName:b.promptRoleNames.join("、")||void 0,order:e});af.push(f),a.onProgress?.([...af]);let{artifact:g,cached:h}=await aS({template:n,node:b,evidence:d,promptTexts:bu,projectRoot:i,modelName:bs,signal:a.signal}),j=a3({type:"file_understanding",roleId:b.fileRoleId,promptId:b.promptRoleIds[0],status:d.length>0?"success":"fallback",message:b9(`${b.fileRoleName} 节点已${h?"复用缓存":"完成"},产出章节建议 ${g.chapters.length} 个、事实 ${g.facts.length} 条`,c)},{subtitle:b.fileRoleName,roleName:b.fileRoleName,promptName:b.promptRoleNames.join("、")||void 0,order:e});return af[e]=j,a.onProgress?.([...af]),{artifact:g,evidence:d}});for(let a of(await Promise.all(c)))a$.push(...a.evidence),bi.push(a.artifact)}let bS=function(a,b){let c=b.filter(a=>"template_requirements"===a.node.outputType).flatMap(a=>a.chapters),d=new Map;for(let b of c.sort((a,b)=>a.order-b.order)){let c=az(b.title);!(!aA(b.title)||aW(c,a))&&(d.has(c)||d.set(c,{...b,title:c}))}return[...d.values()]}(n,bi),bT=aE(n,au,{preserveExplicitOutline:am}),b$=[n.name,n.outputTitle,a.requirement,...bT.flatMap(a=>[a.title,a.purpose])].filter(Boolean).join(" "),ca=(0,m.Hh)(b$,8,i),cb=ca.length>0?ca.map((a,b)=>`${b+1}. [${a.type}/${a.importance}] ${a.content}${a.source?`(来源:${a.source})`:""}`).join("\n"):"",cc=function(a){let b=[],c=new Set;for(let d of a)for(let{key:a,patterns:e}of a0)if(!b.some(b=>b.key===a))for(let f of e){let e=f.exec(d.content)?.[1]?.replace(/\s+/gu," ").trim();if(!e||/见(?:招标|公告|文件|附件)|详见|按.*要求/u.test(e))continue;let g=`${a}:${e}`;if(!c.has(g)){c.add(g),b.push({key:a,value:e.slice(0,300),sourceFile:d.filePath});break}}return b}(bi.flatMap(a=>a.evidence)),cd=function(a){let b=a.template.generationSettings||a.template.exportSettings,c=bA(a.template.exportSettings||a.template.generationSettings),d=function(a){let b=a.replace(/\s+/gu," "),c=[...b.matchAll(/(?:不少于|至少|约|大概|左右|生成|输出|达到|共)?\s*(\d+(?:\.\d+)?|[一二两三四五六七八九十]{1,3})\s*(?:页|頁)/gu)],d=[...b.matchAll(/(?:不少于|至少|约|大概|左右|生成|输出|达到|共)?\s*(\d+(?:\.\d+)?|[一二两三四五六七八九十]{1,3})\s*(万)?\s*(?:字|字符)/gu)];return{targetPages:c.map(a=>bB(a[1]||"")).filter(a=>Number.isFinite(a)).at(-1),targetChars:d.map(a=>{let b=bB(a[1]||"");return b?Math.round(b*(a[2]?1e4:1)):void 0}).filter(a=>Number.isFinite(a)).at(-1)}}([a.requirement||"",a.promptTexts].join("\n")),e=!!(d.targetChars||d.targetPages),f=e?void 0:b?.targetPages?.target||b?.targetPages?.min,g=d.targetPages?d.targetPages*c:void 0,h=d.targetPages||f,i=e?"explicit":f?"template":a.spec?.chapterRules.some(a=>a.minWords)||a.spec?.dynamicChapterRule.minWordsPerChapter?"spec":"default",j=e?Math.max(d.targetChars||0,g||0)||void 0:Math.max((f?f*c:void 0)||0)||void 0,k=e?h?Math.floor(.95*h):void 0:b?.targetPages?.min||(h?Math.floor(.95*h):void 0),l=j?Math.floor(.95*j):k?k*c:void 0,m=a.chapters.length>0?a.chapters:a.template.chapters,n=m.reduce((a,b)=>a+bC(b),0)||1,o=new Map;for(let b of m){let c=Math.max(a.spec?.chapterRules.find(a=>a.id===b.id||a.title===b.title)?.minWords||0,a.spec?.dynamicChapterRule.minWordsPerChapter||0,1200),d=j?Math.round(j*bC(b)/n):0;o.set(b.id,Math.max(c,d))}return{targetPages:h,minPages:k,targetChars:j,minChars:l,charsPerPage:c,chapterTargets:o,source:i}}({requirement:a.requirement,promptTexts:aI,template:n,chapters:bT,spec:au}),ce=a3({type:"context_recall",roleId:"project-memory",status:ca.length>0?"success":"skipped",message:ca.length>0?`已注入 ${ca.length} 条短期/长期上下文`:"未召回可用项目上下文"},{subtitle:"项目记忆"}),cf=am?`;识别到 OUTLINE 章节 ${al.length} 个`:";未识别到有效 OUTLINE,将使用模板章节";b8(af,a3({type:"role_binding",roleId:ad,status:"success",message:`已绑定 ${aj.length} 个文件角色、${ah.length} 个提示词角色;后台优化建议关注 ${au.factFields.length} 个事实字段;资料覆盖率 ${Math.round(100*aC.materialCoverageRate)}%${cf}`},{subtitle:ae,roleName:ae})),b8(af,a3({type:"validation",roleId:"document-readiness",status:aC.ready?"success":"failed",message:`生成准备度:资料 ${Math.round(100*aC.materialCoverageRate)}%,资料角色 ${Math.round(100*aC.roleSatisfactionRate)}%,优化建议 ${Math.round(100*aC.specCompletenessRate)}%;${ap.source.selectionReason}`},{subtitle:"生成准备度检查"})),b8(af,ce),a.onProgress?.([...af]);let cg=Math.max(1,Math.min(4,Number(process.env.DOCUMENT_CHAPTER_CONCURRENCY??4)));for(let b=0;b<bT.length;b+=cg){let c=bT.slice(b,b+cg);await Promise.all(c.map(async(c,d)=>{let e=b+d;b7(a.signal);try{let b=Date.now(),d=[],f=function(a,b){return b.find(b=>b.id===a.id||b.title===a.title)}(c,bS),g=f?[f.title,...f.requiredContents,...f.evidenceNeeds,...f.requirements.flatMap(a=>[a.title,a.requirementText,...a.requiredContents,...a.evidenceNeeds])].filter(Boolean):[],h=c.queries.length>0?c.queries:[n.name,n.outputTitle,c.title],j=[...new Set([...h,...g])].filter(Boolean).slice(0,4);for(let a of(await Promise.all(j.map(a=>aT({manager:ab,projectRoot:i,query:a,evidenceScopePaths:aN,maxEvidence:ac,fileRolesHash:bN})))))d.push(...a.filter(a=>bm(i,a.filePath,aN)).map(a=>({chapterId:c.id,filePath:a.filePath,score:a.score,content:a.content,roleId:aQ.get(a.filePath),processingType:aU.get(a.filePath),sectionTitle:a.sectionTitle,source:a.source})));let k=new Set(c.pinnedEvidenceFilePaths||[]),l=a4(bi,c,f);for(let a of(d.push(...l.flatMap(({artifact:a})=>a.evidence.filter(a=>bm(i,a.filePath,aN)).slice(0,8).map(a=>({...a,chapterId:c.id,source:"role-node"})))),new Set([...k]))){if(!bm(i,a,aN))continue;let b=k.has(a),e=aV.getFileDetail(a);if(!e){d.push(...as(a,aQ.get(a),aU.get(a),c.id,i).map(a=>({...a,source:b?"pinned-evidence":a.source})));continue}d.push(...e.chunks.slice(0,Math.max(ac,20)).map(a=>({chapterId:c.id,filePath:e.file.relativePath,score:1,content:a.content,roleId:aQ.get(e.file.relativePath),processingType:aU.get(e.file.relativePath),sectionTitle:a.sectionTitle,source:b?"pinned-evidence":"bound-file"})))}let m=d.filter(a=>bm(i,a.filePath,aN)),o=ar(m,ac),p=ar(m,120);a$.push(...o);let q=function(a,b=220){let c=[],d=new Set;for(let e of a)for(let a of function(a){let b=W(a),c=b.split(/[。;;\n]/u).map(a=>a.trim()).filter(a=>a.length>=12);return c.length?c:b?[b]:[]}(e.content)){if(!function(a){return[I,J,K,L,M,N,O].some(b=>(function(a,b){b.lastIndex=0;let c=b.test(a);return b.lastIndex=0,c})(a,b))||[...P,...Q,...R,...S,...T,...U].some(b=>a.includes(b))}(a))continue;let f=W(a).slice(0,420),g=f.replace(/\d+/gu,"#").slice(0,180);if(d.has(g))continue;d.add(g);let h=function(a){return H.find(([,b])=>b.test(a))?.[0]||"通用工程"}(f),i=Y(f,I).slice(0,8),j=Y(f,J).slice(0,8),k=Y(f,K).slice(0,8),l=Y(f,L).slice(0,6),m=Y(f,M).slice(0,8),n=Y(f,N).slice(0,8),o=Y(f,O).slice(0,5),p=Z(f,P),q=Z(f,Q),r=Z(f,R),s=Z(f,S),t=function(a){return T.some(b=>a.text.includes(b))?"dangerous_work":U.some(b=>a.text.includes(b))?"subdivision_work":a.costValues.length?"cost_commitment":a.scheduleValues.length?a.riskControl.length?"risk_response":"schedule_milestone":a.frequencyValues.length?a.inspection.length?"inspection_ratio":"management_frequency":a.resourceValues.length?"resource_allocation":a.quantities.length?"engineering_quantity":a.standards.length?"standard_requirement":"technical_parameter"}({text:f,parameters:i,quantities:j,scheduleValues:k,costValues:l,frequencyValues:m,resourceValues:n,standards:o,inspection:q,riskControl:s});if(c.push({id:`tech-${c.length+1}`,category:t,discipline:h,workItem:function(a,b){return["砌筑","构造柱","防水","闭水试验","地砖","墙砖","吊顶","涂料","给水","排水","消防水","消防电","电气","风管","排烟","油烟净化","厨房设备","明厨亮灶","隔油池","临时用电","动火作业"].find(b=>a.includes(b))||b}(f,h),specification:i.join("、")||void 0,parameter:i.join("、")||void 0,quantities:j,scheduleValues:k,costValues:l,frequencyValues:m,resourceValues:n,commitmentValues:[...k,...l,...m].slice(0,10),process:p,qualityControl:r,inspection:q,standard:o,riskControl:s,sourceRole:e.roleId,sourceFile:e.filePath,text:f,confidence:Math.min(1,.42+.06*i.length+.05*j.length+.05*k.length+.05*l.length+.05*m.length+.07*o.length+.04*p.length+.04*q.length)}),c.length>=b)return c}return c}(p,160),r=function(a,b,c=24){let d=b.filter(b=>(function(a,b){let c=`${b.title} ${b.purpose} ${(b.sections||[]).join(" ")} ${(b.requiredFacts||[]).join(" ")} ${(b.queries||[]).join(" ")}`;return/施工方法|主要.*方法|工艺|分项|分部分项/u.test(c)?/土建|砌筑|防水|装饰|给排水|电气|消防|暖通|厨房|设备|排烟/u.test(a.discipline+a.workItem)||["technical_parameter","subdivision_work","dangerous_work"].includes(a.category):/质量|工期|进度/u.test(c)?a.qualityControl?.length||a.inspection?.length||a.standard?.length||["schedule_milestone","inspection_ratio","management_frequency","cost_commitment"].includes(a.category):/人.*材.*机|资源|材料|机械/u.test(c)?["resource_allocation","engineering_quantity"].includes(a.category)||/材料|设备|机械|厨房设备|暖通|电气|给排水/u.test(a.discipline+a.workItem+a.text):/安全|文明|应急|危大|危险性较大|专项/u.test(c)?a.riskControl?.length||["risk_response","management_frequency","cost_commitment","dangerous_work"].includes(a.category)||/临时用电|动火|高处|消防|应急|扬尘|有限空间|拆除/u.test(a.text):/重点|难点/u.test(c)?a.confidence>=.65:[a.discipline,a.workItem].some(a=>c.includes(a))})(b,a)).sort((a,b)=>b.confidence-a.confidence).slice(0,c);return{chapterId:a.id,chapterTitle:a.title,facts:d}}(c,q);aZ.push(r);let s=0===r.facts.length?"":["本章必须优先落位以下工程量化事实和技术事实。不得用“按设计要求、按规范要求、加强管理”等空泛表述替代已列出的工程量、工期节点、频次、人员资源、金额承诺、参数、工艺、试验和验收指标。","","| 序号 | 类型 | 专业 | 分项 | 参数/规格 | 工程量/工期/频次/资源/金额 | 工艺动作 | 试验验收 | 规范标准 | 可写入正文的事实 |","|---|---|---|---|---|---|---|---|---|---|",...r.facts.map((a,b)=>{let c=[...a.quantities||[],...a.scheduleValues||[],...a.costValues||[],...a.frequencyValues||[],...a.resourceValues||[]].join("、");return`| ${b+1} | ${a.category} | ${a.discipline} | ${a.workItem} | ${a.parameter||a.specification||""} | ${c} | ${(a.process||[]).join("、")} | ${(a.inspection||[]).join("、")} | ${(a.standard||[]).join("、")} | ${a.text.replace(/\|/gu,",").slice(0,220)} |`}),"","强制写作要求:","- 主要施工方法类章节按“适用部位/材料参数/工艺流程/操作要点/质量验收/安全与成品保护”展开。","- 本章事实表中出现的工程数量、涉及学校数量、工期节点、检查频次、人员资源、设备数量、金额/违约承诺、数字、单位、强度、厚度、管径、试验时间、验收指标和规范编号,应自然写入正文。","- 如果资料中已有具体参数,禁止只写“满足设计要求”“按规范施工”。","- 每个主要分项至少写出施工动作、检查动作和验收动作。","- 识别到分部分项、危大工程、危险性较大工程、有限空间、动火、高处、临电、拆除等风险线索时,必须写入对应章节的风险识别、专项方案、交底、旁站检查、验收放行和应急闭环。"].join("\n"),t=function(a){let b=_(a.facts).slice(0,18);return 0===b.length?"":["## 本章量化事实覆盖矩阵","以下对象、部位、工程量、工期、频次、资源或金额来自项目资料。正文必须逐项覆盖;同一施工方案涉及多处对象时,不得只写其中一处或把多个工程量合并成一个笼统数量。","| 序号 | 施工对象/部位/分项 | 量化值 | 参数/规格 | 来源角色 | 来源文件 | 原始事实 |","|---|---|---|---|---|---|---|",...b.map((a,b)=>{let c=[...a.quantities||[],...a.scheduleValues||[],...a.frequencyValues||[],...a.resourceValues||[],...a.costValues||[]].join("、");return`| ${b+1} | ${$(a)} | ${c} | ${a.parameter||a.specification||""} | ${a.sourceRole||""} | ${a.sourceFile||""} | ${a.text.replace(/\|/gu,",").slice(0,180)} |`}),"","覆盖要求:","- 日期、数量、规格、工程量、资源数量和工期节点只能使用资料中的值或由资料明确推导的值;没有依据时不得编造。","- 如果同一工艺适用于多个部位、区域、学校、片区或分项,应使用表格或分项段落分别说明适用范围、工程量和控制要点。","- 资料中存在多个来源值或口径不一致时,应保持审慎表述并提示需按招标文件、答疑、图纸或清单优先级复核,不得随意选择一个数值。"].join("\n")}(r),u=c.requiredFacts.filter(a=>!o.some(b=>aF(b,a)));for(let a of(0===o.length&&a_.push(`${c.title}:未检索到明确资料依据`),u))a_.push(`${c.title}:${a} 未检索到明确依据`);let v=a3({type:"knowledge_retrieval",roleId:"knowledge-base",status:a$.length>0?"success":"fallback",message:`已检索/绑定 ${a$.length} 条证据`});a8<0?a8=b8(af,v):af[a8]={...v,order:af[a8]?.order??v.order},a.onProgress?.([...af]),b7(a.signal);let w=a5(bi,n),x=function(a,b,c){let d=a4(a,b,c),e=c?[`章节来源要求:${c.sourceRequirement}`,c.requiredContents.length?`必须包含:${c.requiredContents.join("、")}`:"",c.writingRules.length?`写作规范:${c.writingRules.join("、")}`:"",c.evidenceNeeds.length?`需要证据:${c.evidenceNeeds.join("、")}`:"",c.requirements.length?`要求项:
76
76
  ${c.requirements.map(a=>`- ${a.title}:${a.requirementText||a.requiredContents.join("、")}`).join("\n")}`:""].filter(Boolean).join("\n"):"",f=new Map;for(let{artifact:a,fact:b}of d){let c=`${a.node.fileRoleName}(${a.node.outputType})`;f.set(c,[...f.get(c)||[],`- ${b.key}:${aq(aX(b.value))}`])}let g=[...f.entries()].map(([a,b])=>`### ${a}
77
77
  ${b.slice(0,18).map(a=>a.replace(ao,"").replace(an,"")).join("\n")}`).join("\n\n");return[e?`【本章章节计划】
78
78
  ${e}`:"",g?`【角色节点结构化产物】
@@ -1 +1 @@
1
- globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],ampDevFiles:[],lowPriorityFiles:[],rootMainFiles:[],rootMainFilesTree:{},pages:{"/":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/694-b6ab4967c35bbcee.js","static/chunks/795-262a7ef599d655f4.js","static/chunks/pages/index-a2a24e9602e7ea52.js"],"/_app":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/css/38dba0a7a42a8df3.css","static/chunks/pages/_app-d1257da7895866ad.js"],"/_error":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/pages/_error-282257fbdcc167b4.js"],"/asset-library":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/102-881dcc464f983c89.js","static/chunks/317-0cc5d3d1f0f660e8.js","static/chunks/pages/asset-library-1dc916735fd12e11.js"],"/context/long-term":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/576-6699fed6c88502fe.js","static/chunks/195-2c0168eacab722d2.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/375-f731e5ec66ab942c.js","static/chunks/102-881dcc464f983c89.js","static/chunks/289-0031e62ca424247b.js","static/chunks/455-97ad88d6604f54b7.js","static/chunks/932-2f195f4200ce9378.js","static/chunks/pages/context/long-term-994425812e118c6c.js"],"/context/short-term":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/576-6699fed6c88502fe.js","static/chunks/195-2c0168eacab722d2.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/375-f731e5ec66ab942c.js","static/chunks/102-881dcc464f983c89.js","static/chunks/289-0031e62ca424247b.js","static/chunks/455-97ad88d6604f54b7.js","static/chunks/932-2f195f4200ce9378.js","static/chunks/pages/context/short-term-fcae99e1744d998a.js"],"/document-roles":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/576-6699fed6c88502fe.js","static/chunks/195-2c0168eacab722d2.js","static/chunks/455-97ad88d6604f54b7.js","static/chunks/496-ceb2d8197d6335cf.js","static/chunks/pages/document-roles-00219c0a0871daec.js"],"/documents":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/576-6699fed6c88502fe.js","static/chunks/195-2c0168eacab722d2.js","static/chunks/375-f731e5ec66ab942c.js","static/chunks/455-97ad88d6604f54b7.js","static/chunks/506-93f730bc149d0dce.js","static/chunks/940-364bc292676ba191.js","static/chunks/499-d6bcc76195b28550.js","static/chunks/pages/documents-59a9675554042dd5.js"],"/guide":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/940-364bc292676ba191.js","static/chunks/20-86ac6910225cce4e.js","static/chunks/pages/guide-e51e5f0109a3642c.js"],"/knowledge":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/pages/knowledge-905248d8dcb15453.js"],"/knowledge/file-detail":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/576-6699fed6c88502fe.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/375-f731e5ec66ab942c.js","static/chunks/102-881dcc464f983c89.js","static/chunks/289-0031e62ca424247b.js","static/chunks/506-93f730bc149d0dce.js","static/chunks/861-91cbdd34b8e23151.js","static/css/09be1fdeab8595ab.css","static/chunks/pages/knowledge/file-detail-87669392540614e4.js"],"/knowledge/files":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/576-6699fed6c88502fe.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/375-f731e5ec66ab942c.js","static/chunks/102-881dcc464f983c89.js","static/chunks/289-0031e62ca424247b.js","static/css/09be1fdeab8595ab.css","static/chunks/pages/knowledge/files-14ef1012fd201e47.js"],"/knowledge/manage":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/506-93f730bc149d0dce.js","static/chunks/788-db05269178a28c20.js","static/chunks/pages/knowledge/manage-ed99a6cb254ddbb7.js"],"/knowledge/search":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/576-6699fed6c88502fe.js","static/chunks/506-93f730bc149d0dce.js","static/chunks/938-45efd516bb130bd5.js","static/css/09be1fdeab8595ab.css","static/chunks/pages/knowledge/search-afb423fc22eb623b.js"],"/models":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/576-6699fed6c88502fe.js","static/chunks/195-2c0168eacab722d2.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/455-97ad88d6604f54b7.js","static/chunks/938-45efd516bb130bd5.js","static/chunks/647-d5e08fda405f7059.js","static/chunks/pages/models-d5e80645dc4a61b1.js"],"/overview":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/694-b6ab4967c35bbcee.js","static/chunks/795-262a7ef599d655f4.js","static/chunks/pages/overview-1260176045ed5f7a.js"],"/prompt":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/576-6699fed6c88502fe.js","static/chunks/195-2c0168eacab722d2.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/525-5d947137d894f5fe.js","static/chunks/pages/prompt-9b869fbe3463020d.js"],"/settings":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/pages/settings-fa9d6a56898ba678.js"],"/system/logs":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/576-6699fed6c88502fe.js","static/chunks/195-2c0168eacab722d2.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/375-f731e5ec66ab942c.js","static/chunks/102-881dcc464f983c89.js","static/chunks/289-0031e62ca424247b.js","static/chunks/861-91cbdd34b8e23151.js","static/chunks/pages/system/logs-cbeeb77dc70086ae.js"]},ampFirstPages:[]},globalThis.__BUILD_MANIFEST.lowPriorityFiles=["/static/"+process.env.__NEXT_BUILD_ID+"/_buildManifest.js",,"/static/"+process.env.__NEXT_BUILD_ID+"/_ssgManifest.js"];
1
+ globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],ampDevFiles:[],lowPriorityFiles:[],rootMainFiles:[],rootMainFilesTree:{},pages:{"/":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/694-2d545cfbb9779f2c.js","static/chunks/795-d8fb7a0420512701.js","static/chunks/pages/index-a2a24e9602e7ea52.js"],"/_app":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/css/38dba0a7a42a8df3.css","static/chunks/pages/_app-d1257da7895866ad.js"],"/_error":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/pages/_error-282257fbdcc167b4.js"],"/asset-library":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/102-881dcc464f983c89.js","static/chunks/317-18aac52df5551e76.js","static/chunks/pages/asset-library-1dc916735fd12e11.js"],"/context/long-term":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/576-6699fed6c88502fe.js","static/chunks/195-2c0168eacab722d2.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/375-4a1c73eb22d653d2.js","static/chunks/102-881dcc464f983c89.js","static/chunks/289-0031e62ca424247b.js","static/chunks/455-97ad88d6604f54b7.js","static/chunks/932-2f195f4200ce9378.js","static/chunks/pages/context/long-term-994425812e118c6c.js"],"/context/short-term":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/576-6699fed6c88502fe.js","static/chunks/195-2c0168eacab722d2.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/375-4a1c73eb22d653d2.js","static/chunks/102-881dcc464f983c89.js","static/chunks/289-0031e62ca424247b.js","static/chunks/455-97ad88d6604f54b7.js","static/chunks/932-2f195f4200ce9378.js","static/chunks/pages/context/short-term-fcae99e1744d998a.js"],"/document-roles":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/576-6699fed6c88502fe.js","static/chunks/195-2c0168eacab722d2.js","static/chunks/455-97ad88d6604f54b7.js","static/chunks/496-4fb9a063790e65ff.js","static/chunks/pages/document-roles-fd02980db151650c.js"],"/documents":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/576-6699fed6c88502fe.js","static/chunks/195-2c0168eacab722d2.js","static/chunks/375-4a1c73eb22d653d2.js","static/chunks/455-97ad88d6604f54b7.js","static/chunks/506-93f730bc149d0dce.js","static/chunks/940-7cb66111eee2f9fb.js","static/chunks/499-d6bcc76195b28550.js","static/chunks/pages/documents-141b9ab2dba47ae7.js"],"/guide":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/940-7cb66111eee2f9fb.js","static/chunks/20-86ac6910225cce4e.js","static/chunks/pages/guide-295174493709ecbb.js"],"/knowledge":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/pages/knowledge-905248d8dcb15453.js"],"/knowledge/file-detail":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/576-6699fed6c88502fe.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/375-4a1c73eb22d653d2.js","static/chunks/102-881dcc464f983c89.js","static/chunks/289-0031e62ca424247b.js","static/chunks/506-93f730bc149d0dce.js","static/chunks/861-91cbdd34b8e23151.js","static/css/09be1fdeab8595ab.css","static/chunks/pages/knowledge/file-detail-87669392540614e4.js"],"/knowledge/files":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/576-6699fed6c88502fe.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/375-4a1c73eb22d653d2.js","static/chunks/102-881dcc464f983c89.js","static/chunks/289-0031e62ca424247b.js","static/css/09be1fdeab8595ab.css","static/chunks/pages/knowledge/files-14ef1012fd201e47.js"],"/knowledge/manage":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/506-93f730bc149d0dce.js","static/chunks/788-7f7359a830e3f4fd.js","static/chunks/pages/knowledge/manage-ed99a6cb254ddbb7.js"],"/knowledge/search":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/576-6699fed6c88502fe.js","static/chunks/506-93f730bc149d0dce.js","static/chunks/938-45efd516bb130bd5.js","static/css/09be1fdeab8595ab.css","static/chunks/pages/knowledge/search-afb423fc22eb623b.js"],"/models":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/576-6699fed6c88502fe.js","static/chunks/195-2c0168eacab722d2.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/455-97ad88d6604f54b7.js","static/chunks/938-45efd516bb130bd5.js","static/chunks/647-d5e08fda405f7059.js","static/chunks/pages/models-d5e80645dc4a61b1.js"],"/overview":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/694-2d545cfbb9779f2c.js","static/chunks/795-d8fb7a0420512701.js","static/chunks/pages/overview-1260176045ed5f7a.js"],"/prompt":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/576-6699fed6c88502fe.js","static/chunks/195-2c0168eacab722d2.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/525-5d947137d894f5fe.js","static/chunks/pages/prompt-9b869fbe3463020d.js"],"/settings":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/pages/settings-fa9d6a56898ba678.js"],"/system/logs":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-91fb767ebd74c9c1.js","static/chunks/433-233659be69169c19.js","static/chunks/576-6699fed6c88502fe.js","static/chunks/195-2c0168eacab722d2.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/375-4a1c73eb22d653d2.js","static/chunks/102-881dcc464f983c89.js","static/chunks/289-0031e62ca424247b.js","static/chunks/861-91cbdd34b8e23151.js","static/chunks/pages/system/logs-cbeeb77dc70086ae.js"]},ampFirstPages:[]},globalThis.__BUILD_MANIFEST.lowPriorityFiles=["/static/"+process.env.__NEXT_BUILD_ID+"/_buildManifest.js",,"/static/"+process.env.__NEXT_BUILD_ID+"/_ssgManifest.js"];
@@ -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="">404: This page could not be found</title><link rel="preload" href="/_next/static/css/38dba0a7a42a8df3.css" as="style"/><link rel="stylesheet" href="/_next/static/css/38dba0a7a42a8df3.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-77d10b4726f13aa5.js" defer=""></script><script src="/_next/static/chunks/framework-161be364fd69a7ce.js" defer=""></script><script src="/_next/static/chunks/main-91fb767ebd74c9c1.js" defer=""></script><script src="/_next/static/chunks/pages/_app-d1257da7895866ad.js" defer=""></script><script src="/_next/static/chunks/pages/_error-282257fbdcc167b4.js" defer=""></script><script src="/_next/static/fCR6WWHLEWk1IcNN2WRCv/_buildManifest.js" defer=""></script><script src="/_next/static/fCR6WWHLEWk1IcNN2WRCv/_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"><a href="/overview"><div class="sidebarLogo"><div class="sidebarLogoTitle" style="font-size:20px;font-weight:800;letter-spacing:0.5px"><span class="logoGradient">Customize Agent</span></div></div></a><button class="sidebarCollapseBtn" aria-label="收起侧边栏"><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-panel-left-close"><rect width="18" height="18" x="3" y="3" rx="2"></rect><path d="M9 3v18"></path><path d="m16 15-3-3 3-3"></path></svg></button><nav class="sidebarNav"><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>总览</span></div></a><div><div class="sidebarItem sidebarParent"><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>知识库</span><span class="sidebarChevron"><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-chevron-right"><path d="m9 18 6-6-6-6"></path></svg></span></div></div><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>模型配置</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>提示词管理</span></div></a><a href="/document-roles"><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>角色配置</span></div></a><a href="/documents"><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-files"><path d="M20 7h-3a2 2 0 0 1-2-2V2"></path><path d="M9 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h7l4 4v10a2 2 0 0 1-2 2Z"></path><path d="M3 7.6v12.8A1.6 1.6 0 0 0 4.6 22h9.8"></path></svg><span>工作流模版库</span></div></a><a href="/asset-library"><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-folder-open"><path d="m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2"></path></svg><span>生成资源</span></div></a><div><div class="sidebarItem sidebarParent"><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-brain"><path d="M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z"></path><path d="M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z"></path><path d="M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4"></path><path d="M17.599 6.5a3 3 0 0 0 .399-1.375"></path><path d="M6.003 5.125A3 3 0 0 0 6.401 6.5"></path><path d="M3.477 10.896a4 4 0 0 1 .585-.396"></path><path d="M19.938 10.5a4 4 0 0 1 .585.396"></path><path d="M6 18a4 4 0 0 1-1.967-.516"></path><path d="M19.967 17.484A4 4 0 0 1 18 18"></path></svg><span>上下文工程</span><span class="sidebarChevron"><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-chevron-right"><path d="m9 18 6-6-6-6"></path></svg></span></div></div><a href="/system/logs"><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-bug"><path d="m8 2 1.88 1.88"></path><path d="M14.12 3.88 16 2"></path><path d="M9 7.13v-1a3.003 3.003 0 1 1 6 0v1"></path><path d="M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6"></path><path d="M12 20v-9"></path><path d="M6.53 9C4.6 8.8 3 7.1 3 5"></path><path d="M6 13H2"></path><path d="M3 21c0-2.1 1.7-3.9 3.8-4"></path><path d="M20.97 5c0 2.1-1.6 3.8-3.5 4"></path><path d="M22 13h-4"></path><path d="M17.2 17c2.1.1 3.8 1.9 3.8 4"></path></svg><span>系统日志</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>指引</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>设置</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"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></main></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"fCR6WWHLEWk1IcNN2WRCv","nextExport":true,"isFallback":false,"gip":true,"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=""/><title data-next-head="">404: This page could not be found</title><link rel="preload" href="/_next/static/css/38dba0a7a42a8df3.css" as="style"/><link rel="stylesheet" href="/_next/static/css/38dba0a7a42a8df3.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-77d10b4726f13aa5.js" defer=""></script><script src="/_next/static/chunks/framework-161be364fd69a7ce.js" defer=""></script><script src="/_next/static/chunks/main-91fb767ebd74c9c1.js" defer=""></script><script src="/_next/static/chunks/pages/_app-d1257da7895866ad.js" defer=""></script><script src="/_next/static/chunks/pages/_error-282257fbdcc167b4.js" defer=""></script><script src="/_next/static/ubuSYahPe0ZJo6zT6KdSg/_buildManifest.js" defer=""></script><script src="/_next/static/ubuSYahPe0ZJo6zT6KdSg/_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"><a href="/overview"><div class="sidebarLogo"><div class="sidebarLogoTitle" style="font-size:20px;font-weight:800;letter-spacing:0.5px"><span class="logoGradient">Customize Agent</span></div></div></a><button class="sidebarCollapseBtn" aria-label="收起侧边栏"><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-panel-left-close"><rect width="18" height="18" x="3" y="3" rx="2"></rect><path d="M9 3v18"></path><path d="m16 15-3-3 3-3"></path></svg></button><nav class="sidebarNav"><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>总览</span></div></a><div><div class="sidebarItem sidebarParent"><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>知识库</span><span class="sidebarChevron"><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-chevron-right"><path d="m9 18 6-6-6-6"></path></svg></span></div></div><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>模型配置</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>提示词管理</span></div></a><a href="/document-roles"><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>角色配置</span></div></a><a href="/documents"><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-files"><path d="M20 7h-3a2 2 0 0 1-2-2V2"></path><path d="M9 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h7l4 4v10a2 2 0 0 1-2 2Z"></path><path d="M3 7.6v12.8A1.6 1.6 0 0 0 4.6 22h9.8"></path></svg><span>工作流模版库</span></div></a><a href="/asset-library"><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-folder-open"><path d="m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2"></path></svg><span>生成资源</span></div></a><div><div class="sidebarItem sidebarParent"><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-brain"><path d="M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z"></path><path d="M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z"></path><path d="M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4"></path><path d="M17.599 6.5a3 3 0 0 0 .399-1.375"></path><path d="M6.003 5.125A3 3 0 0 0 6.401 6.5"></path><path d="M3.477 10.896a4 4 0 0 1 .585-.396"></path><path d="M19.938 10.5a4 4 0 0 1 .585.396"></path><path d="M6 18a4 4 0 0 1-1.967-.516"></path><path d="M19.967 17.484A4 4 0 0 1 18 18"></path></svg><span>上下文工程</span><span class="sidebarChevron"><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-chevron-right"><path d="m9 18 6-6-6-6"></path></svg></span></div></div><a href="/system/logs"><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-bug"><path d="m8 2 1.88 1.88"></path><path d="M14.12 3.88 16 2"></path><path d="M9 7.13v-1a3.003 3.003 0 1 1 6 0v1"></path><path d="M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6"></path><path d="M12 20v-9"></path><path d="M6.53 9C4.6 8.8 3 7.1 3 5"></path><path d="M6 13H2"></path><path d="M3 21c0-2.1 1.7-3.9 3.8-4"></path><path d="M20.97 5c0 2.1-1.6 3.8-3.5 4"></path><path d="M22 13h-4"></path><path d="M17.2 17c2.1.1 3.8 1.9 3.8 4"></path></svg><span>系统日志</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>指引</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>设置</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"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></main></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"ubuSYahPe0ZJo6zT6KdSg","nextExport":true,"isFallback":false,"gip":true,"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="">500: Internal Server Error</title><link rel="preload" href="/_next/static/css/38dba0a7a42a8df3.css" as="style"/><link rel="stylesheet" href="/_next/static/css/38dba0a7a42a8df3.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-77d10b4726f13aa5.js" defer=""></script><script src="/_next/static/chunks/framework-161be364fd69a7ce.js" defer=""></script><script src="/_next/static/chunks/main-91fb767ebd74c9c1.js" defer=""></script><script src="/_next/static/chunks/pages/_app-d1257da7895866ad.js" defer=""></script><script src="/_next/static/chunks/pages/_error-282257fbdcc167b4.js" defer=""></script><script src="/_next/static/fCR6WWHLEWk1IcNN2WRCv/_buildManifest.js" defer=""></script><script src="/_next/static/fCR6WWHLEWk1IcNN2WRCv/_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"><a href="/overview"><div class="sidebarLogo"><div class="sidebarLogoTitle" style="font-size:20px;font-weight:800;letter-spacing:0.5px"><span class="logoGradient">Customize Agent</span></div></div></a><button class="sidebarCollapseBtn" aria-label="收起侧边栏"><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-panel-left-close"><rect width="18" height="18" x="3" y="3" rx="2"></rect><path d="M9 3v18"></path><path d="m16 15-3-3 3-3"></path></svg></button><nav class="sidebarNav"><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>总览</span></div></a><div><div class="sidebarItem sidebarParent"><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>知识库</span><span class="sidebarChevron"><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-chevron-right"><path d="m9 18 6-6-6-6"></path></svg></span></div></div><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>模型配置</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>提示词管理</span></div></a><a href="/document-roles"><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>角色配置</span></div></a><a href="/documents"><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-files"><path d="M20 7h-3a2 2 0 0 1-2-2V2"></path><path d="M9 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h7l4 4v10a2 2 0 0 1-2 2Z"></path><path d="M3 7.6v12.8A1.6 1.6 0 0 0 4.6 22h9.8"></path></svg><span>工作流模版库</span></div></a><a href="/asset-library"><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-folder-open"><path d="m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2"></path></svg><span>生成资源</span></div></a><div><div class="sidebarItem sidebarParent"><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-brain"><path d="M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z"></path><path d="M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z"></path><path d="M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4"></path><path d="M17.599 6.5a3 3 0 0 0 .399-1.375"></path><path d="M6.003 5.125A3 3 0 0 0 6.401 6.5"></path><path d="M3.477 10.896a4 4 0 0 1 .585-.396"></path><path d="M19.938 10.5a4 4 0 0 1 .585.396"></path><path d="M6 18a4 4 0 0 1-1.967-.516"></path><path d="M19.967 17.484A4 4 0 0 1 18 18"></path></svg><span>上下文工程</span><span class="sidebarChevron"><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-chevron-right"><path d="m9 18 6-6-6-6"></path></svg></span></div></div><a href="/system/logs"><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-bug"><path d="m8 2 1.88 1.88"></path><path d="M14.12 3.88 16 2"></path><path d="M9 7.13v-1a3.003 3.003 0 1 1 6 0v1"></path><path d="M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6"></path><path d="M12 20v-9"></path><path d="M6.53 9C4.6 8.8 3 7.1 3 5"></path><path d="M6 13H2"></path><path d="M3 21c0-2.1 1.7-3.9 3.8-4"></path><path d="M20.97 5c0 2.1-1.6 3.8-3.5 4"></path><path d="M22 13h-4"></path><path d="M17.2 17c2.1.1 3.8 1.9 3.8 4"></path></svg><span>系统日志</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>指引</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>设置</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"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error<!-- -->.</h2></div></div></div></main></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":500}},"page":"/_error","query":{},"buildId":"fCR6WWHLEWk1IcNN2WRCv","nextExport":true,"isFallback":false,"gip":true,"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=""/><title data-next-head="">500: Internal Server Error</title><link rel="preload" href="/_next/static/css/38dba0a7a42a8df3.css" as="style"/><link rel="stylesheet" href="/_next/static/css/38dba0a7a42a8df3.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-77d10b4726f13aa5.js" defer=""></script><script src="/_next/static/chunks/framework-161be364fd69a7ce.js" defer=""></script><script src="/_next/static/chunks/main-91fb767ebd74c9c1.js" defer=""></script><script src="/_next/static/chunks/pages/_app-d1257da7895866ad.js" defer=""></script><script src="/_next/static/chunks/pages/_error-282257fbdcc167b4.js" defer=""></script><script src="/_next/static/ubuSYahPe0ZJo6zT6KdSg/_buildManifest.js" defer=""></script><script src="/_next/static/ubuSYahPe0ZJo6zT6KdSg/_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"><a href="/overview"><div class="sidebarLogo"><div class="sidebarLogoTitle" style="font-size:20px;font-weight:800;letter-spacing:0.5px"><span class="logoGradient">Customize Agent</span></div></div></a><button class="sidebarCollapseBtn" aria-label="收起侧边栏"><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-panel-left-close"><rect width="18" height="18" x="3" y="3" rx="2"></rect><path d="M9 3v18"></path><path d="m16 15-3-3 3-3"></path></svg></button><nav class="sidebarNav"><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>总览</span></div></a><div><div class="sidebarItem sidebarParent"><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>知识库</span><span class="sidebarChevron"><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-chevron-right"><path d="m9 18 6-6-6-6"></path></svg></span></div></div><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>模型配置</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>提示词管理</span></div></a><a href="/document-roles"><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>角色配置</span></div></a><a href="/documents"><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-files"><path d="M20 7h-3a2 2 0 0 1-2-2V2"></path><path d="M9 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h7l4 4v10a2 2 0 0 1-2 2Z"></path><path d="M3 7.6v12.8A1.6 1.6 0 0 0 4.6 22h9.8"></path></svg><span>工作流模版库</span></div></a><a href="/asset-library"><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-folder-open"><path d="m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2"></path></svg><span>生成资源</span></div></a><div><div class="sidebarItem sidebarParent"><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-brain"><path d="M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z"></path><path d="M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z"></path><path d="M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4"></path><path d="M17.599 6.5a3 3 0 0 0 .399-1.375"></path><path d="M6.003 5.125A3 3 0 0 0 6.401 6.5"></path><path d="M3.477 10.896a4 4 0 0 1 .585-.396"></path><path d="M19.938 10.5a4 4 0 0 1 .585.396"></path><path d="M6 18a4 4 0 0 1-1.967-.516"></path><path d="M19.967 17.484A4 4 0 0 1 18 18"></path></svg><span>上下文工程</span><span class="sidebarChevron"><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-chevron-right"><path d="m9 18 6-6-6-6"></path></svg></span></div></div><a href="/system/logs"><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-bug"><path d="m8 2 1.88 1.88"></path><path d="M14.12 3.88 16 2"></path><path d="M9 7.13v-1a3.003 3.003 0 1 1 6 0v1"></path><path d="M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6"></path><path d="M12 20v-9"></path><path d="M6.53 9C4.6 8.8 3 7.1 3 5"></path><path d="M6 13H2"></path><path d="M3 21c0-2.1 1.7-3.9 3.8-4"></path><path d="M20.97 5c0 2.1-1.6 3.8-3.5 4"></path><path d="M22 13h-4"></path><path d="M17.2 17c2.1.1 3.8 1.9 3.8 4"></path></svg><span>系统日志</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>指引</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>设置</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"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error<!-- -->.</h2></div></div></div></main></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":500}},"page":"/_error","query":{},"buildId":"ubuSYahPe0ZJo6zT6KdSg","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>