@customize-agent/server 4.0.81 → 4.0.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +3 -3
- package/.next/prerender-manifest.json +3 -3
- package/.next/server/chunks/6315.js +45 -43
- package/.next/server/chunks/7899.js +1 -1
- package/.next/server/chunks/8661.js +3 -3
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages/api/documents/export.js +2 -2
- package/.next/server/pages/api/documents/generate.js +1 -1
- package/.next/server/pages/api/documents/generated.js +1 -1
- package/.next/server/pages/asset-library.html +1 -1
- package/.next/server/pages/context/long-term.html +1 -1
- package/.next/server/pages/context/short-term.html +1 -1
- package/.next/server/pages/document-roles.html +1 -1
- package/.next/server/pages/documents.html +1 -1
- package/.next/server/pages/guide.html +1 -1
- package/.next/server/pages/index.html +1 -1
- package/.next/server/pages/knowledge/file-detail.html +1 -1
- package/.next/server/pages/knowledge/files.html +1 -1
- package/.next/server/pages/knowledge/manage.html +1 -1
- package/.next/server/pages/knowledge/search.html +1 -1
- package/.next/server/pages/knowledge.html +1 -1
- package/.next/server/pages/models.html +1 -1
- package/.next/server/pages/overview.html +1 -1
- package/.next/server/pages/prompt.html +1 -1
- package/.next/server/pages/settings.html +1 -1
- package/.next/server/pages/system/logs.html +1 -1
- package/.next/server/pages-manifest.json +28 -28
- package/.next/static/{s7N5y_UYXU2QdjCnGHipC → 0pa5fvkdoD0BbKgNRpUEK}/_buildManifest.js +1 -1
- package/.next/static/chunks/pages/documents-988649336d226901.js +1 -0
- package/package.json +4 -4
- package/.next/static/chunks/pages/documents-19de2ee3e879a1c1.js +0 -1
- /package/.next/static/{s7N5y_UYXU2QdjCnGHipC → 0pa5fvkdoD0BbKgNRpUEK}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=7899,exports.ids=[7899],exports.modules={47899:(a,b,c)=>{c.d(b,{ee:()=>J,Z:()=>G,DB:()=>X,jt:()=>d,C2:()=>m,u1:()=>C,TN:()=>D,vN:()=>u,lj:()=>i,Ks:()=>Y,Y8:()=>_,jM:()=>Z,hH:()=>h,hc:()=>N,Ab:()=>O,Uv:()=>P,ye:()=>F,pL:()=>A,By:()=>w,ri:()=>x,oS:()=>y,H4:()=>z,cA:()=>R,h2:()=>g,IA:()=>an,ZH:()=>aa,dB:()=>n,xy:()=>r,A5:()=>af,gW:()=>W,Dc:()=>$,AQ:()=>T,N3:()=>V,YT:()=>B,w7:()=>U,bu:()=>ao,Zq:()=>E,Wc:()=>e,ZT:()=>ac,IP:()=>j,mu:()=>aj,tg:()=>ak,FM:()=>ah,No:()=>ai,qW:()=>q,QX:()=>ap,Nx:()=>I,YB:()=>f,_$:()=>M,NP:()=>L,gr:()=>Q,Gw:()=>s,SU:()=>k,MG:()=>K,Xm:()=>o,UR:()=>t,AB:()=>H,is:()=>l,_U:()=>am,Lp:()=>S,fT:()=>p,pP:()=>al,HX:()=>ab,sr:()=>ae,EB:()=>ad,ug:()=>ag,JA:()=>v});let d={user_preference:"用户偏好",feedback:"历史纠偏",pattern:"解决方案"},e=2,f=new Set(["fact_extraction","chapter_generation","llm_review","validation","formatting","reference"]),g=new Set(["rule","table","drawing","specification","reference"]),h=80,i=[],j=/(?:[A-Z]{1,8}[\w.-]*\d[\w.-]*|\d+(?:\.\d+)?\s*(?:mm|cm|m|km|㎡|m²|m3|kg|g|t|L|ml|MPa|kPa|℃|%|小时|h|分钟|min|秒|s|天|日|周|月|年|台|套|个|项|批|人|次|页|份|万元|元)|\d+\s*[×xX]\s*\d+(?:\s*[×xX]\s*\d+)?|\d+\s*@\s*\d+)/giu,k=/\d+(?:\.\d+)?\s*(?:个|项|批|次|人|台|套|件|份|页|条|类|组|小时|天|周|月|年|元|万元|%|㎡|m²|m3|kg|g|t|L|ml|m|km)/giu,l=/\d+(?:\.\d+)?\s*(?:小时内|小时|h|分钟|min|秒|s|日内|天内|天|周|个月|月|年)|(?:每日|每天|每周|每月|每季度|每年|定期|实时|按时|阶段性)/giu,m=/\d+(?:\.\d+)?\s*(?:万元|元|%\/天|‰|%|费用|金额|预算|报价|合同价|单价|总价)/giu,n=/(?:每日|每天|每周|每月|每季度|每年|每次|不少于\d+次|\d+次|\d+%|100%|全数|全部|一次性|定期|实时)/giu,o=/\d+(?:\.\d+)?\s*(?:人|名|台|套|辆|个|组|团队|角色|岗位)|(?:负责人|管理员|专员|工程师|经理|小组|团队)/giu,p=/\b(?:GB|GB\/T|ISO|IEC|IEEE|RFC|API|DB\d*|T\/[A-Z]+)\s*[\w.-]+\b/giu,q=[],r=[],s=[],t=[],u=[],v=[],w=[j,k,l,m,n,o,p],x=[q,r,s,t,[],[]],y=/[。;;\n]/u,z=/\s+/gu,A=/\d+/gu,B=/\|/gu,C=2,D=[],E=/方法|流程|方案|步骤|实施|执行/u,F=[{category:"cost_commitment",match:a=>a.costValues.length>0},{category:"risk_response",match:a=>a.scheduleValues.length>0&&a.riskControl.length>0},{category:"schedule_milestone",match:a=>a.scheduleValues.length>0},{category:"inspection_ratio",match:a=>a.frequencyValues.length>0&&a.inspection.length>0},{category:"management_frequency",match:a=>a.frequencyValues.length>0},{category:"resource_allocation",match:a=>a.resourceValues.length>0},{category:"engineering_quantity",match:a=>a.quantities.length>0},{category:"standard_requirement",match:a=>a.standards.length>0}],G=[{pattern:/质量|验收|检查|审核|评审|测试/u,match:a=>!!(a.qualityControl?.length||a.inspection?.length||a.standard?.length||["inspection_ratio","standard_requirement"].includes(a.category))},{pattern:/进度|计划|周期|时间|节点|里程碑/u,match:a=>["schedule_milestone","management_frequency"].includes(a.category)||!!(a.scheduleValues?.length||a.frequencyValues?.length)},{pattern:/资源|人员|设备|材料|配置|投入/u,match:a=>["resource_allocation","engineering_quantity"].includes(a.category)||!!(a.resourceValues?.length||a.quantities?.length)},{pattern:/费用|成本|预算|报价|金额/u,match:a=>"cost_commitment"===a.category||!!a.costValues?.length},{pattern:/风险|安全|应急|合规|控制/u,match:a=>"risk_response"===a.category||!!a.riskControl?.length},{pattern:/重点|难点|关键/u,match:a=>a.confidence>=.65}],H=[{outputType:"template_requirements",pattern:/模板|范本|章节|目录|输出要求|编制要求|template|requirement/u},{outputType:"bill_facts",pattern:/表格|列表|明细|数量|数据|table|sheet|quantity|data/u},{outputType:"drawing_facts",pattern:/设计|方案|说明|图像|地图|drawing|image|map|design/u},{outputType:"technical_facts",pattern:/规范|标准|规则|参数|技术|spec|standard|technical|rule/u},{outputType:"reference_facts",pattern:/任务|范围|事实|fact|scope|reference/u}],I=[{points:5,promptPattern:/fact|抽取|读取|提取|理解|reference/u},{points:1,promptPattern:/chapter_generation|章节生成|正文生成/u},{points:6,filePattern:/requirement|rule|template|需求|规则|模板|范本/u,promptPattern:/requirement|rule|template|需求|规则|模板|范本|章节|目录|输出要求|编制要求/u},{points:6,filePattern:/table|sheet|quantity|data|表格|列表|明细|数量|数据/u,promptPattern:/table|sheet|quantity|data|表格|列表|明细|数量|数据|字段/u},{points:6,filePattern:/drawing|image|map|design|设计|方案|说明|图像|地图/u,promptPattern:/drawing|image|map|design|设计|方案|说明|文本|标注/u},{points:6,filePattern:/material|equipment|brand|resource|材料|设备|品牌|资源/u,promptPattern:/material|equipment|brand|resource|材料|设备|品牌|资源|推荐/u},{points:6,filePattern:/schedule|quality|safety|progress|周期|质量|安全|进度/u,promptPattern:/schedule|quality|safety|progress|周期|质量|安全|进度/u},{points:6,filePattern:/risk|constraint|重点|难点|约束|风险/u,promptPattern:/risk|constraint|重点|难点|约束|风险/u}],J=/正文缺少章节标题|缺少配置小节|空小节|小节只有标题|只有标题或表格无正文|配置小节正文过短|正文篇幅明显低于目标|后台流程话术|重复 token|退化输出/u,K=/阻断|错误|正文缺少|缺少配置小节|空小节|小节只有标题|只有标题或表格无正文|配置小节正文过短|缺少必要的正式表格|事实一致性|其他项目|项目编号|项目名称|结构化精确参数使用不足|正文未体现结构化数据资料|正文未体现设计\/方案\/说明类资料|二级小节少于|三级小节|目录|量化|数值|单位|图片|重复 token|退化输出/u,L=[{type:"missing_structure",pattern:/缺少配置小节|二级小节少于|三级小节|目录|章节|结构/u},{type:"loop_closure",pattern:/闭环|责任|检查|验收|整改|风险|安全|质量|进度/u},{type:"fact_conflict",pattern:/事实一致性|其他项目|项目编号|项目名称|冲突|污染|requiredFacts/u},{type:"terminology",pattern:/术语|名称不一致|前后不一致/u},{type:"table_numeric",pattern:/表格|量化|数值|单位|参数|结构化|数据/u},{type:"placeholder",pattern:/占位|空泛|后台流程|提示词|泄露|图片/u}],M={missing_structure:"修复重点:补齐缺失小节、修正标题层级和目录相关结构;只在相关位置追加必要正文,不重排一级章节。",loop_closure:"修复重点:补齐与问题相关的责任、措施、检查、验收、整改或记录说明;不得编造具体数据。",fact_conflict:"修复重点:删除或改正与证据冲突的名称、编号、范围、参数;不确定内容改为基于材料的表述,不得新增无来源事实。",terminology:"修复重点:统一同一对象的术语、简称和称谓,保持前后一致,不改变事实含义。",table_numeric:"修复重点:补足表格前后说明、单位、参数来源和量化表达;材料不足时不得编造精确数值。",placeholder:"修复重点:移除占位话术、后台流程话术、提示词痕迹和不允许的图片语法,替换为正文表述。",generic:"修复重点:仅针对列出问题做最小必要修改,避免全文重写。"},N=/用户要求|出现禁用文本|资料未提供|材料未提供|导出|临时|无效|占位|示例|样例|生成未完成|低于目标页数|低于目标字数|文档预算未达成|正文篇幅低于目标|兜底|章节生成失败|大模型未能|重新生成|缺少配置小节|空小节|小节只有标题|只有标题或表格无正文|配置小节正文过短|缺少必要表格|正文缺少章节标题|重复 token|退化输出|其他对象|其他文档|文档编号|对象名称|事实一致性冲突|必需材料角色缺失|章节缺少证据|文档质量基准评分未达标/iu,O=/结构化精确参数使用不足/u,P=/其他对象|其他文档|文档编号|对象名称|事实一致性冲突/iu,Q=[{severity:"blocking",pattern:/阻断|缺少配置小节|空小节|小节只有标题|只有标题或表格无正文|配置小节正文过短|缺少必要表格|正文缺少章节标题|正文篇幅低于目标|低于目标字数|低于目标页数|章节生成失败|兜底|事实一致性冲突|其他对象|其他文档|文档编号|对象名称|后台流程|提示词|资料未提供|材料未提供|占位|文档质量基准评分未达标/iu},{severity:"important",pattern:/量化|数值|单位|事实|requiredFacts|闭环|安全|质量|工期|表格|三级小节|目录|术语|不一致/iu}],R={required_fact:a=>({subject:"fact",operator:"exists",target:a.target}),required_chapter:a=>({subject:"chapter",operator:"exists",target:a.target}),required_file_role:a=>({subject:"file_role",operator:"exists",target:a.target}),required_prompt_role:a=>({subject:"prompt_role",operator:"exists",target:a.target}),source_required:()=>({subject:"source",operator:"all_have_source"}),forbidden_text:a=>({subject:"document",operator:"not_contains",value:a.value}),min_chapter_length:a=>({subject:"chapter",operator:"min_length",target:a.target,min:Number(a.value)||void 0}),table_required:()=>({subject:"table",operator:"min_count",min:1})},S=[({evaluator:a,target:b,factNames:c})=>"fact"===a.subject&&"exists"===a.operator&&b&&!c.has(b)?`缺少事实 ${b}`:void 0,({evaluator:a,target:b,chapterTitles:c})=>"chapter"===a.subject&&"exists"===a.operator&&b&&!c.has(b)?`缺少章节 ${b}`:void 0,({evaluator:a,target:b,fileBindings:c})=>"file_role"===a.subject&&"exists"===a.operator&&b&&!c.some(a=>a.roleId===b)?`缺少文件角色 ${b}`:void 0,({evaluator:a,target:b,promptBindings:c})=>"prompt_role"===a.subject&&"exists"===a.operator&&b&&!c.some(a=>a.roleId===b)?`缺少提示词角色 ${b}`:void 0,({evaluator:a,value:b,markdown:c})=>"document"===a.subject&&"contains"===a.operator&&b&&!c.includes(b)?`全文必须包含 ${b}`:void 0,({evaluator:a,value:b,markdown:c})=>"document"===a.subject&&"not_contains"===a.operator&&b&&c.includes(b)?`出现禁用文本 ${b}`:void 0,({evaluator:a,value:b,regex:c,textScope:d})=>"document"!==a.subject&&"chapter"!==a.subject||"regex_match"!==a.operator||!b||c&&c.test(d)?void 0:`未匹配正则 ${b}`,({evaluator:a,value:b,regex:c,textScope:d})=>("document"===a.subject||"chapter"===a.subject)&&"regex_not_match"===a.operator&&c?.test(d)?`匹配到禁止正则 ${b}`:void 0,({evaluator:a,target:b,value:c,chapter:d})=>"chapter"===a.subject&&"contains"===a.operator&&b&&c&&(!d||!d.content.includes(c))?`章节 ${b} 必须包含 ${c}`:void 0,({evaluator:a,target:b,value:c,chapter:d})=>"chapter"===a.subject&&"not_contains"===a.operator&&d?.content.includes(c)?`章节 ${b} 出现禁用文本 ${c}`:void 0,({evaluator:a,target:b,min:c,chapter:d})=>"chapter"===a.subject&&"min_length"===a.operator&&b&&(!d||d.content.length<c)?`章节 ${b} 低于 ${c} 字`:void 0,({evaluator:a,min:b,tableBlocks:c,factsModel:d})=>"table"===a.subject&&"min_count"===a.operator&&d.tables.length+c.length<b?`表格数量少于 ${b}`:void 0,({evaluator:a,markdown:b,tableBlocks:c})=>"table"===a.subject&&"table_explanation_required"===a.operator&&function(a,b){for(let c of b){let b=a.indexOf(c);if(b>=0&&a.slice(b+c.length,b+c.length+120).trim().length<10)return!0}return!1}(b,c)?"存在缺少说明文字的表格":void 0,({evaluator:a,min:b,imageRefs:c})=>"image"===a.subject&&"min_count"===a.operator&&c.length<b?`图片数量少于 ${b}`:void 0,({evaluator:a,min:b,estimatedPages:c})=>"page"===a.subject&&"min_count"===a.operator&&c<b?`预计页数 ${c} 少于 ${b}`:void 0,({evaluator:a,min:b,estimatedPages:c})=>"page"===a.subject&&"max_count"===a.operator&&c>b?`预计页数 ${c} 超过 ${b}`:void 0,({evaluator:a,markdown:b,imageRefs:c})=>"image"===a.subject&&"image_caption_required"===a.operator&&function(a,b){for(let c of b)if(!c.alt&&a.slice(c.index+c.url.length,c.index+c.url.length+120).trim().length<10)return!0;return!1}(b,c)?"存在缺少说明文字的图片":void 0,({evaluator:a,allFacts:b})=>"source"===a.subject&&"all_have_source"===a.operator&&b.some(a=>!a.sourceFile)?"存在无来源事实":void 0,({evaluator:a,min:b,allFacts:c})=>"source"===a.subject&&"min_count"===a.operator&&function(a){let b=new Set;for(let c of a)c.sourceFile&&b.add(c.sourceFile);return b.size}(c)<b?`来源数量少于 ${b}`:void 0],T=/\n{2,}/u,U=/\|.+\|/u,V=/\n\s*\|?\s*:?-{3,}:?/u,W=/!\[([^\]]*)\]\(([^)]+)\)/gu,X=/^##\s+第[一二三四五六七八九十百]+章\s+.+$/gmu,Y=/(?:文档|任务|对象)?基本信息表|资料(?:文档|任务|对象)?基本信息|^###\s*(?:文档|任务|对象)?基本信息\s*$/mu,Z=/(?:文档|任务|对象)?基本信息表|资料(?:文档|任务|对象)?基本信息|\|\s*(?:字段|文档|任务|对象|内容)\s*\|/u,$=/^##\s+.+$|^###\s+.+$/gmu,_=["对象名称","对象编号","文档名称","文档编号","任务名称","任务编号","地点","责任主体","范围","周期要求","计划周期","质量标准"],aa=["本节","本章将","以下从","以下内容","综上所述"],ab=/^##\s+目录\s*$([\s\S]*?)(?=\n<div class="page-break"><\/div>|\n##\s+)/mu,ac=/\S/u,ad=/^\s*\d+\.\d+\s+\S/u,ae=/^\s{2,}\d+\.\d+\s+\S/u,af=/\r?\n/u,ag=/\s+/gu,ah=/drawing|table|bill|boq|draw|data|sheet|spec|standard|record|report|表格|数据|规格|参数|标准|记录|报告/u,ai=/(?:[A-Z]{1,8}[\w.-]*\d[\w.-]*|\d+(?:\.\d+)?\s*(?:mm|cm|m|km|㎡|m²|m3|kg|g|t|L|ml|MPa|kPa|℃|%|台|套|个|项|批|次|页|份|人|小时|分钟|天|周|月|年|万元|元)|\d+\s*[×xX]\s*\d+(?:\s*[×xX]\s*\d+)?|\b(?:GB|GB\/T|ISO|IEC|IEEE|RFC|API|DB\d*|T\/[A-Z]+)\s*[\w.-]+\b)/giu,aj=20,ak=.28,al=/表格|数据|列表|明细|参数|规格|数量|记录|报告|标准/u,am=/设计|方案|说明|节点|流程|步骤|尺寸|做法|配置|规则|标准/u,an=[/见(?:资料|文件|说明|方案|附件|相关文件)/u,/按(?:资料|文件|说明|方案|规范|标准|要求)/u,/满足(?:相关|有关)?要求/u,/\|\s*(?:[/—-]|无|暂无|待定|待补充|N\/?A)\s*\|/iu],ao=/^#\s+/mu,ap=/(?:示例|样例|范例|例如|参考示例|示例数据|示例正文|示例目录|example|sample)\s*[::]?\s*([\s\S]{20,800}?)(?=\n\s*\n|$)/giu}};
|
|
1
|
+
"use strict";exports.id=7899,exports.ids=[7899],exports.modules={47899:(a,b,c)=>{c.d(b,{ee:()=>J,Z:()=>G,DB:()=>X,jt:()=>d,C2:()=>m,u1:()=>C,TN:()=>D,vN:()=>u,lj:()=>i,Ks:()=>Y,Y8:()=>_,jM:()=>Z,hH:()=>h,hc:()=>N,Ab:()=>O,Uv:()=>P,ye:()=>F,pL:()=>A,By:()=>w,ri:()=>x,oS:()=>y,H4:()=>z,cA:()=>R,h2:()=>g,IA:()=>an,ZH:()=>aa,dB:()=>n,xy:()=>r,A5:()=>af,gW:()=>W,Dc:()=>$,AQ:()=>T,N3:()=>V,YT:()=>B,w7:()=>U,bu:()=>ao,Zq:()=>E,Wc:()=>e,ZT:()=>ac,IP:()=>j,mu:()=>aj,tg:()=>ak,FM:()=>ah,No:()=>ai,qW:()=>q,QX:()=>ap,Nx:()=>I,YB:()=>f,_$:()=>M,NP:()=>L,gr:()=>Q,Gw:()=>s,SU:()=>k,MG:()=>K,Xm:()=>o,UR:()=>t,AB:()=>H,is:()=>l,_U:()=>am,Lp:()=>S,fT:()=>p,pP:()=>al,HX:()=>ab,sr:()=>ae,EB:()=>ad,ug:()=>ag,JA:()=>v});let d={user_preference:"用户偏好",feedback:"历史纠偏",pattern:"解决方案"},e=2,f=new Set(["fact_extraction","chapter_generation","llm_review","validation","formatting","reference"]),g=new Set(["rule","table","drawing","specification","reference"]),h=80,i=[],j=/(?:[A-Z]{1,8}[\w.-]*\d[\w.-]*|\d+(?:\.\d+)?\s*(?:mm|cm|m|km|㎡|m²|m3|kg|g|t|L|ml|MPa|kPa|℃|%|小时|h|分钟|min|秒|s|天|日|周|月|年|台|套|个|项|批|人|次|页|份|万元|元)|\d+\s*[×xX]\s*\d+(?:\s*[×xX]\s*\d+)?|\d+\s*@\s*\d+)/giu,k=/\d+(?:\.\d+)?\s*(?:个|项|批|次|人|台|套|件|份|页|条|类|组|小时|天|周|月|年|元|万元|%|㎡|m²|m3|kg|g|t|L|ml|m|km)/giu,l=/\d+(?:\.\d+)?\s*(?:小时内|小时|h|分钟|min|秒|s|日内|天内|天|周|个月|月|年)|(?:每日|每天|每周|每月|每季度|每年|定期|实时|按时|阶段性)/giu,m=/\d+(?:\.\d+)?\s*(?:万元|元|%\/天|‰|%|费用|金额|预算|报价|合同价|单价|总价)/giu,n=/(?:每日|每天|每周|每月|每季度|每年|每次|不少于\d+次|\d+次|\d+%|100%|全数|全部|一次性|定期|实时)/giu,o=/\d+(?:\.\d+)?\s*(?:人|名|台|套|辆|个|组|团队|角色|岗位)|(?:负责人|管理员|专员|工程师|经理|小组|团队)/giu,p=/\b(?:GB|GB\/T|ISO|IEC|IEEE|RFC|API|DB\d*|T\/[A-Z]+)\s*[\w.-]+\b/giu,q=[],r=[],s=[],t=[],u=[],v=[],w=[j,k,l,m,n,o,p],x=[q,r,s,t,[],[]],y=/[。;;\n]/u,z=/\s+/gu,A=/\d+/gu,B=/\|/gu,C=2,D=[],E=/方法|流程|方案|步骤|实施|执行/u,F=[{category:"cost_commitment",match:a=>a.costValues.length>0},{category:"risk_response",match:a=>a.scheduleValues.length>0&&a.riskControl.length>0},{category:"schedule_milestone",match:a=>a.scheduleValues.length>0},{category:"inspection_ratio",match:a=>a.frequencyValues.length>0&&a.inspection.length>0},{category:"management_frequency",match:a=>a.frequencyValues.length>0},{category:"resource_allocation",match:a=>a.resourceValues.length>0},{category:"engineering_quantity",match:a=>a.quantities.length>0},{category:"standard_requirement",match:a=>a.standards.length>0}],G=[{pattern:/质量|验收|检查|审核|评审|测试/u,match:a=>!!(a.qualityControl?.length||a.inspection?.length||a.standard?.length||["inspection_ratio","standard_requirement"].includes(a.category))},{pattern:/进度|计划|周期|时间|节点|里程碑/u,match:a=>["schedule_milestone","management_frequency"].includes(a.category)||!!(a.scheduleValues?.length||a.frequencyValues?.length)},{pattern:/资源|人员|设备|材料|配置|投入/u,match:a=>["resource_allocation","engineering_quantity"].includes(a.category)||!!(a.resourceValues?.length||a.quantities?.length)},{pattern:/费用|成本|预算|报价|金额/u,match:a=>"cost_commitment"===a.category||!!a.costValues?.length},{pattern:/风险|安全|应急|合规|控制/u,match:a=>"risk_response"===a.category||!!a.riskControl?.length},{pattern:/重点|难点|关键/u,match:a=>a.confidence>=.65}],H=[{outputType:"template_requirements",pattern:/模板|范本|章节|目录|输出要求|编制要求|template|requirement/u},{outputType:"bill_facts",pattern:/表格|列表|明细|数量|数据|table|sheet|quantity|data/u},{outputType:"drawing_facts",pattern:/设计|方案|说明|图像|地图|drawing|image|map|design/u},{outputType:"technical_facts",pattern:/规范|标准|规则|参数|技术|spec|standard|technical|rule/u},{outputType:"reference_facts",pattern:/任务|范围|事实|fact|scope|reference/u}],I=[{points:5,promptPattern:/fact|抽取|读取|提取|理解|reference/u},{points:1,promptPattern:/chapter_generation|章节生成|正文生成/u},{points:6,filePattern:/requirement|rule|template|需求|规则|模板|范本/u,promptPattern:/requirement|rule|template|需求|规则|模板|范本|章节|目录|输出要求|编制要求/u},{points:6,filePattern:/table|sheet|quantity|data|表格|列表|明细|数量|数据/u,promptPattern:/table|sheet|quantity|data|表格|列表|明细|数量|数据|字段/u},{points:6,filePattern:/drawing|image|map|design|设计|方案|说明|图像|地图/u,promptPattern:/drawing|image|map|design|设计|方案|说明|文本|标注/u},{points:6,filePattern:/material|equipment|brand|resource|材料|设备|品牌|资源/u,promptPattern:/material|equipment|brand|resource|材料|设备|品牌|资源|推荐/u},{points:6,filePattern:/schedule|quality|safety|progress|周期|质量|安全|进度/u,promptPattern:/schedule|quality|safety|progress|周期|质量|安全|进度/u},{points:6,filePattern:/risk|constraint|重点|难点|约束|风险/u,promptPattern:/risk|constraint|重点|难点|约束|风险/u}],J=/正文缺少章节标题|缺少规划小节|空小节|小节只有标题|只有标题或表格无正文|规划小节正文过短|正文篇幅明显低于目标|后台流程话术|重复 token|退化输出/u,K=/阻断|错误|正文缺少章节标题|缺少规划小节|空小节|小节只有标题|只有标题或表格无正文|规划小节正文过短|缺少必要的正式表格|事实一致性|其他项目|项目编号|项目名称|后台流程|提示词|结构化精确参数使用不足|正文未体现结构化数据资料|正文未体现设计\/方案\/说明类资料|图片|重复 token|退化输出/u,L=[{type:"missing_structure",pattern:/缺少规划小节|二级小节少于|三级小节|目录|章节|结构/u},{type:"loop_closure",pattern:/闭环|责任|检查|验收|整改|风险|安全|质量|进度/u},{type:"fact_conflict",pattern:/事实一致性|其他项目|项目编号|项目名称|冲突|污染|requiredFacts/u},{type:"terminology",pattern:/术语|名称不一致|前后不一致/u},{type:"table_numeric",pattern:/表格|量化|数值|单位|参数|结构化|数据/u},{type:"placeholder",pattern:/占位|空泛|后台流程|提示词|泄露|图片/u}],M={missing_structure:"修复重点:补齐缺失小节、修正标题层级和目录相关结构;只在相关位置追加必要正文,不重排一级章节。",loop_closure:"修复重点:补齐与问题相关的责任、措施、检查、验收、整改或记录说明;不得编造具体数据。",fact_conflict:"修复重点:删除或改正与证据冲突的名称、编号、范围、参数;不确定内容改为基于材料的表述,不得新增无来源事实。",terminology:"修复重点:统一同一对象的术语、简称和称谓,保持前后一致,不改变事实含义。",table_numeric:"修复重点:补足表格前后说明、单位、参数来源和量化表达;材料不足时不得编造精确数值。",placeholder:"修复重点:移除占位话术、后台流程话术、提示词痕迹和不允许的图片语法,替换为正文表述。",generic:"修复重点:仅针对列出问题做最小必要修改,避免全文重写。"},N=/用户要求不得|出现禁用文本|资料未提供|材料未提供|生成未完成|低于目标页数|低于目标字数|文档预算未达成|正文篇幅低于目标|章节生成失败|大模型未能|重新生成|缺少规划小节|空小节|小节只有标题|只有标题或表格无正文|缺少必要表格|正文缺少章节标题|重复 token|退化输出|其他对象|其他文档|文档编号|事实一致性冲突|必需材料角色缺失|章节缺少证据|文档质量基准评分未达标/iu,O=/结构化精确参数使用不足/u,P=/其他对象|其他文档|文档编号|对象名称|事实一致性冲突/iu,Q=[{severity:"blocking",pattern:/阻断|缺少规划小节|空小节|小节只有标题|只有标题或表格无正文|规划小节正文过短|缺少必要表格|正文缺少章节标题|正文篇幅低于目标|低于目标字数|低于目标页数|章节生成失败|兜底|事实一致性冲突|其他对象|其他文档|文档编号|对象名称|后台流程|提示词|资料未提供|材料未提供|占位|文档质量基准评分未达标/iu},{severity:"important",pattern:/量化|数值|单位|事实|requiredFacts|闭环|安全|质量|工期|表格|三级小节|目录|术语|不一致/iu}],R={required_fact:a=>({subject:"fact",operator:"exists",target:a.target}),required_chapter:a=>({subject:"chapter",operator:"exists",target:a.target}),required_file_role:a=>({subject:"file_role",operator:"exists",target:a.target}),required_prompt_role:a=>({subject:"prompt_role",operator:"exists",target:a.target}),source_required:()=>({subject:"source",operator:"all_have_source"}),forbidden_text:a=>({subject:"document",operator:"not_contains",value:a.value}),min_chapter_length:a=>({subject:"chapter",operator:"min_length",target:a.target,min:Number(a.value)||void 0}),table_required:()=>({subject:"table",operator:"min_count",min:1})},S=[({evaluator:a,target:b,factNames:c})=>"fact"===a.subject&&"exists"===a.operator&&b&&!c.has(b)?`缺少事实 ${b}`:void 0,({evaluator:a,target:b,chapterTitles:c})=>"chapter"===a.subject&&"exists"===a.operator&&b&&!c.has(b)?`缺少章节 ${b}`:void 0,({evaluator:a,target:b,fileBindings:c})=>"file_role"===a.subject&&"exists"===a.operator&&b&&!c.some(a=>a.roleId===b)?`缺少文件角色 ${b}`:void 0,({evaluator:a,target:b,promptBindings:c})=>"prompt_role"===a.subject&&"exists"===a.operator&&b&&!c.some(a=>a.roleId===b)?`缺少提示词角色 ${b}`:void 0,({evaluator:a,value:b,markdown:c})=>"document"===a.subject&&"contains"===a.operator&&b&&!c.includes(b)?`全文必须包含 ${b}`:void 0,({evaluator:a,value:b,markdown:c})=>"document"===a.subject&&"not_contains"===a.operator&&b&&c.includes(b)?`出现禁用文本 ${b}`:void 0,({evaluator:a,value:b,regex:c,textScope:d})=>"document"!==a.subject&&"chapter"!==a.subject||"regex_match"!==a.operator||!b||c&&c.test(d)?void 0:`未匹配正则 ${b}`,({evaluator:a,value:b,regex:c,textScope:d})=>("document"===a.subject||"chapter"===a.subject)&&"regex_not_match"===a.operator&&c?.test(d)?`匹配到禁止正则 ${b}`:void 0,({evaluator:a,target:b,value:c,chapter:d})=>"chapter"===a.subject&&"contains"===a.operator&&b&&c&&(!d||!d.content.includes(c))?`章节 ${b} 必须包含 ${c}`:void 0,({evaluator:a,target:b,value:c,chapter:d})=>"chapter"===a.subject&&"not_contains"===a.operator&&d?.content.includes(c)?`章节 ${b} 出现禁用文本 ${c}`:void 0,({evaluator:a,target:b,min:c,chapter:d})=>"chapter"===a.subject&&"min_length"===a.operator&&b&&(!d||d.content.length<c)?`章节 ${b} 低于 ${c} 字`:void 0,({evaluator:a,min:b,tableBlocks:c,factsModel:d})=>"table"===a.subject&&"min_count"===a.operator&&d.tables.length+c.length<b?`表格数量少于 ${b}`:void 0,({evaluator:a,markdown:b,tableBlocks:c})=>"table"===a.subject&&"table_explanation_required"===a.operator&&function(a,b){for(let c of b){let b=a.indexOf(c);if(b>=0&&a.slice(b+c.length,b+c.length+120).trim().length<10)return!0}return!1}(b,c)?"存在缺少说明文字的表格":void 0,({evaluator:a,min:b,imageRefs:c})=>"image"===a.subject&&"min_count"===a.operator&&c.length<b?`图片数量少于 ${b}`:void 0,({evaluator:a,min:b,estimatedPages:c})=>"page"===a.subject&&"min_count"===a.operator&&c<b?`预计页数 ${c} 少于 ${b}`:void 0,({evaluator:a,min:b,estimatedPages:c})=>"page"===a.subject&&"max_count"===a.operator&&c>b?`预计页数 ${c} 超过 ${b}`:void 0,({evaluator:a,markdown:b,imageRefs:c})=>"image"===a.subject&&"image_caption_required"===a.operator&&function(a,b){for(let c of b)if(!c.alt&&a.slice(c.index+c.url.length,c.index+c.url.length+120).trim().length<10)return!0;return!1}(b,c)?"存在缺少说明文字的图片":void 0,({evaluator:a,allFacts:b})=>"source"===a.subject&&"all_have_source"===a.operator&&b.some(a=>!a.sourceFile)?"存在无来源事实":void 0,({evaluator:a,min:b,allFacts:c})=>"source"===a.subject&&"min_count"===a.operator&&function(a){let b=new Set;for(let c of a)c.sourceFile&&b.add(c.sourceFile);return b.size}(c)<b?`来源数量少于 ${b}`:void 0],T=/\n{2,}/u,U=/\|.+\|/u,V=/\n\s*\|?\s*:?-{3,}:?/u,W=/!\[([^\]]*)\]\(([^)]+)\)/gu,X=/^##\s+第[一二三四五六七八九十百]+章\s+.+$/gmu,Y=/(?:文档|任务|对象)?基本信息表|资料(?:文档|任务|对象)?基本信息|^###\s*(?:文档|任务|对象)?基本信息\s*$/mu,Z=/(?:文档|任务|对象)?基本信息表|资料(?:文档|任务|对象)?基本信息|\|\s*(?:字段|文档|任务|对象|内容)\s*\|/u,$=/^##\s+.+$|^###\s+.+$/gmu,_=["对象名称","对象编号","文档名称","文档编号","任务名称","任务编号","地点","责任主体","范围","周期要求","计划周期","质量标准"],aa=["本节","本章将","以下从","以下内容","综上所述"],ab=/^##\s+目录\s*$([\s\S]*?)(?=\n<div class="page-break"><\/div>|\n##\s+)/mu,ac=/\S/u,ad=/^\s*\d+\.\d+\s+\S/u,ae=/^\s{2,}\d+\.\d+\s+\S/u,af=/\r?\n/u,ag=/\s+/gu,ah=/drawing|table|bill|boq|draw|data|sheet|spec|standard|record|report|表格|数据|规格|参数|标准|记录|报告/u,ai=/(?:[A-Z]{1,8}[\w.-]*\d[\w.-]*|\d+(?:\.\d+)?\s*(?:mm|cm|m|km|㎡|m²|m3|kg|g|t|L|ml|MPa|kPa|℃|%|台|套|个|项|批|次|页|份|人|小时|分钟|天|周|月|年|万元|元)|\d+\s*[×xX]\s*\d+(?:\s*[×xX]\s*\d+)?|\b(?:GB|GB\/T|ISO|IEC|IEEE|RFC|API|DB\d*|T\/[A-Z]+)\s*[\w.-]+\b)/giu,aj=20,ak=.28,al=/表格|数据|列表|明细|参数|规格|数量|记录|报告|标准/u,am=/设计|方案|说明|节点|流程|步骤|尺寸|做法|配置|规则|标准/u,an=[/见(?:资料|文件|说明|方案|附件|相关文件)/u,/按(?:资料|文件|说明|方案|规范|标准|要求)/u,/满足(?:相关|有关)?要求/u,/\|\s*(?:[/—-]|无|暂无|待定|待补充|N\/?A)\s*\|/iu],ao=/^#\s+/mu,ap=/(?:示例|样例|范例|例如|参考示例|示例数据|示例正文|示例目录|example|sample)\s*[::]?\s*([\s\S]{20,800}?)(?=\n\s*\n|$)/giu}};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";exports.id=8661,exports.ids=[8661],exports.modules={48661:(a,b,c)=>{c.d(b,{BH:()=>
|
|
1
|
+
"use strict";exports.id=8661,exports.ids=[8661],exports.modules={48661:(a,b,c)=>{c.d(b,{BH:()=>G,Gl:()=>r,JU:()=>J,Jz:()=>K,M$:()=>A,QG:()=>F,SE:()=>v,YL:()=>P,a6:()=>D,r:()=>E,v7:()=>B,yE:()=>I});var d=c(77598),e=c(73024),f=c(48161),g=c(76760),h=c(16315),i=c(23760),j=c(19898),k=c(44533);function l(a,b){return a?.map(a=>"running"===a.status?{...a,status:"failed",message:b}:a)}function m(a){return a.title&&"生成中"!==a.title?a.title:`${a.templateName||"文档"}生成失败`}function n(...a){let b=new Map;for(let c of a)for(let a of c||[])a.id&&a.content?.trim()&&b.set(a.id,a);return[...b.values()]}let o=new Map,p=Math.max(6e5,Number(process.env.DOCUMENT_TASK_TIMEOUT_MS??54e5)),q=Math.max(6e5,Number(process.env.DOCUMENT_TASK_NO_PROGRESS_MS??18e5));function r(a=(0,k.aY)()){let b=g.join(f.homedir(),".customize-agent","projects",function(a=(0,k.aY)()){return(0,j.computeProjectId)(g.resolve(a))}(a),"generatedDocuments");return e.mkdirSync(g.join(b,"drafts"),{recursive:!0}),e.mkdirSync(g.join(b,"assets"),{recursive:!0}),b}function s(a=(0,k.aY)()){return g.join(r(a),"index.json")}function t(a=(0,k.aY)()){return g.join(r(a),"assets.json")}function u(a,b=(0,k.aY)()){return g.join(r(b),"drafts",`${a}.json`)}function v(a,b=(0,k.aY)()){return a.path?g.isAbsolute(a.path)?a.path:a.path.startsWith("generatedDocuments/assets/")?g.join(r(b),a.path.replace(/^generatedDocuments\/assets\//u,"assets/")):g.join(b,"knowledgeBase",a.path):null}function w(a,b){try{return JSON.parse(e.readFileSync(a,"utf8"))}catch{return b}}function x(a,b){e.mkdirSync(g.dirname(a),{recursive:!0}),e.writeFileSync(a,JSON.stringify(b,null,2))}function y(a){for(let b of o.values())if(b.documentId===a)return b;return null}function z(a,b=(0,k.aY)()){if("generating"!==a.status||y(a.id))return a;let c=Math.max(p,2*q);if(Date.now()-a.updatedAt<c)return a;let d="生成任务已中断,请点击继续生成或重新生成",e=a.checkpointChapters?.length?"warning":"failed";return{...a,title:m(a),status:e,error:a.error||d,executionStages:l(a.executionStages,d),completedAt:Date.now(),warningIssues:a.checkpointChapters?.length?[...a.warningIssues||[],d]:a.warningIssues}}function A(a=(0,k.aY)()){return w(s(a),[]).map(b=>{let c=z(b,a);return c!==b&&C(c,a),c}).sort((a,b)=>b.updatedAt-a.updatedAt)}function B(a,b=(0,k.aY)()){let c=w(u(a,b),null);if(!c)return null;let d=z(c,b);return d!==c?C(d,b):d}function C(a,b=(0,k.aY)()){let c=Date.now(),d=M({...a,updatedAt:c});x(u(d.id,b),d);let e=w(s(b),[]).filter(a=>a.id!==d.id);return e.unshift(d),x(s(b),e.map(a=>M({...a,draft:void 0,executionStages:a.executionStages,partialChapters:a.partialChapters,checkpointChapters:a.checkpointChapters,reviewMetadata:a.reviewMetadata}))),d}function D(a,b,c=(0,k.aY)()){let d=B(a,c);return d?C({...d,...b,id:a},c):null}function E(a,b=(0,k.aY)()){let c=B(a,b);if(!c)return null;if("generating"!==c.status)return c;for(let[b,c]of o)c.documentId===a&&(c.status="aborted",c.controller.abort(),N(c),o.delete(b));return C({...c,status:"aborted",error:"用户中止",executionStages:l(c.executionStages,"用户中止"),completedAt:Date.now()},b)}function F(a,b=(0,k.aY)()){try{e.rmSync(u(a,b),{force:!0})}catch{console.warn("[generated-documents] 删除文档记录失败或文件不存在",a)}x(s(b),A(b).filter(b=>b.id!==a))}function G(a=(0,k.aY)()){return w(t(a),[]).sort((a,b)=>b.updatedAt-a.updatedAt)}function H(a,b,c=(0,k.aY)()){let d=Date.now(),e=[...G(c)];for(let c of a){let a=e.findIndex(a=>a.id===c.id),f=c.path?.startsWith("generatedDocuments/assets/")||"generated"===c.status||"prompt_ready"===c.status?"generated":"knowledge_base",h={...c,name:g.basename(c.path||c.url||c.id),source:f,indexed:a>=0&&e[a].indexed,usedByDocumentIds:a>=0?[...new Set([...e[a].usedByDocumentIds,b])]:[b],createdAt:a>=0?e[a].createdAt:d,updatedAt:d};a>=0?e[a]={...e[a],...h}:e.push(h)}return x(t(c),e),e}function I(a,b=(0,k.aY)()){return G(b).find(b=>b.id===a)||null}function J(a,b=(0,k.aY)()){let c=I(a,b);if(!c)return!1;let d=v(c,b);if(d&&d.startsWith(r(b)))try{e.rmSync(d,{force:!0})}catch{console.warn("[generated-documents] 删除生成资源文件失败或文件不存在",d)}return x(t(b),G(b).filter(b=>b.id!==a)),!0}function K(a,b,c=(0,k.aY)()){let d=I(a,c);if(!d)return null;let f=v(d,c);return f&&e.existsSync(f)?"directory"===b?g.dirname(f):f:null}function L(a){let b=Math.max(4,Math.floor(Number(process.env.DOCUMENT_PERSIST_EVIDENCE_MAX_ITEMS??10))),c=Math.max(300,Math.floor(Number(process.env.DOCUMENT_PERSIST_EVIDENCE_ITEM_CHARS??900)));return{...a,evidence:(a.evidence||[]).slice(0,b).map(a=>({...a,content:"string"==typeof a.content?a.content.replace(/\s+/gu," ").slice(0,c):""}))}}function M(a){let b=a.draft?{...a.draft,chapters:a.draft.chapters?.map(L),checkpointChapters:a.draft.checkpointChapters?.map(L)}:a.draft;return{...a,draft:b,checkpointChapters:a.checkpointChapters?.map(L)}}function N(a){a.timeoutTimer&&clearTimeout(a.timeoutTimer),a.progressTimer&&clearInterval(a.progressTimer)}function O(a,b){let c=B(a.documentId,b);return c&&"generating"===c.status?{taskId:a.id,documentId:a.documentId,record:c}:null}function P(a,b=(0,k.aY)()){let c=g.resolve(b),f=(0,j.computeProjectId)(c),s=Date.now(),t=a.resumeDocumentId?B(a.resumeDocumentId,c):null;if(t){let a=y(t.id),b=a?O(a,c):null;if(b)return b}if(!t)for(let b of o.values()){let d=O(b,c);if(d&&d.record.templateId===a.templateId&&d.record.projectRoot===c)return d}let u=t?.id||`doc-${s}-${d.randomBytes(4).toString("hex")}`,v=`task-${s}-${d.randomBytes(4).toString("hex")}`,w=t?{...t,taskId:v,status:"generating",error:void 0,completedAt:void 0,executionStages:[...t.executionStages||[],{type:"validation",roleId:"resume-generation",status:"running",message:"已重新进入生成流程,系统将重新生成章节内容并执行质量门禁"}],updatedAt:s}:{id:u,taskId:v,templateId:a.templateId,title:"生成中",requirement:a.requirement||"",maxEvidencePerChapter:a.maxEvidencePerChapter,projectRoot:c,projectId:f,knowledgeBasePath:g.join(c,"knowledgeBase"),markdown:"",status:"generating",assets:[],createdAt:s,updatedAt:s};C(w,c);let x=new AbortController,z={},A=a=>{x.abort(),z.current&&N(z.current);let b=B(u,c);b?.checkpointChapters?.length?C({...b,title:b.title&&"生成中"!==b.title?b.title:`${b.templateName||"文档"}生成未完成`,status:"warning",error:a,markdown:b.markdown||b.checkpointChapters.map(a=>`# ${a.title}
|
|
2
2
|
|
|
3
|
-
${a.content}`).join("\n\n"),executionStages:l(b.executionStages,a),completedAt:Date.now(),warningIssues:[...b.warningIssues||[],a]},c):function(a,b,c){let d=
|
|
3
|
+
${a.content}`).join("\n\n"),executionStages:l(b.executionStages,a),completedAt:Date.now(),warningIssues:[...b.warningIssues||[],a]},c):function(a,b,c){let d=B(a,b);d&&"generating"===d.status&&C({...d,title:m(d),status:"failed",error:c,executionStages:l(d.executionStages,c),completedAt:Date.now()},b)}(u,c,a),o.delete(v)},D=n(t?.draft?.chapters,t?.checkpointChapters),E=0,F="",G=Math.max(1e3,Math.min(15e3,Number(process.env.DOCUMENT_PROGRESS_SAVE_INTERVAL_MS??5e3))),I=(0,h.OXS)({...a,projectRoot:c,resumeChapters:D,signal:x.signal,onProgress:(a,b)=>{try{z.current&&(z.current.lastProgressAt=Date.now());let d=Date.now(),e=JSON.stringify({stages:a.map(a=>({type:a.type,roleId:a.roleId,status:a.status,message:a.message,progress:a.progress})),checkpoint:b?.chapters?.map(a=>[a.id,a.content.length,a.sections?.length||0])||[]});if(!b?.chapters&&e===F&&d-E<G)return;let f=B(u,c);if(f&&"generating"===f.status){let g=b?.chapters?n(f.checkpointChapters,b.chapters).map(L):f.checkpointChapters;C(M({...f,executionStages:a,checkpointChapters:g,partialChapters:b?.chapters?(g||[]).map(a=>({id:a.id,title:a.title,chars:a.content.length,status:a.content.trim().length>0?"completed":"failed",updatedAt:Date.now()})):f.partialChapters}),c),E=d,F=e,console.log(`[gen] progress saved: ${a.length} stages, checkpoint=${g?.length||0}, doc=${u}`)}}catch(a){console.error("[gen] progress save error:",a)}}}).then(async a=>{let b=B(u,c);if(!b||"generating"!==b.status)return b??w;let d=a.validationIssues.filter(a=>"error"===a.level||"warning"===a.level).map(a=>a.suggestion?`${a.message}:${a.suggestion}`:a.message).filter(a=>!/^\s*[[{]/u.test(a)&&!/"status"\s*:/u.test(a)),f=(0,i.yw)(a.markdown,a.chapters);f.length>0&&d.unshift(`小节内容补写未完成:仍有 ${f.length} 个空洞或过短小节,请继续生成或补充资料后重试`),a.exportGate.passed||0!==d.length||d.push("导出门禁未通过:存在未完成的检查项");let h=C(M({...b,templateName:a.templateName,title:a.title,markdown:a.markdown,status:a.exportGate.passed?"completed":"warning",draft:a,executionStages:a.executionStages,partialChapters:a.partialChapters,checkpointChapters:a.chapters,reviewMetadata:a.reviewMetadata,assets:a.assets||[],completedAt:Date.now(),warningIssues:d}),c);return!function(a,b=(0,k.aY)()){Date.now();let c=`generatedDocuments/assets/${a.title.replace(/[\\/:*?"<>|]/gu,"_").slice(0,120)||"generated-document"}-${a.id}.md`,d=g.join(r(b),c.replace(/^generatedDocuments\//u,""));e.mkdirSync(g.dirname(d),{recursive:!0}),e.writeFileSync(d,a.editedMarkdown||a.markdown,"utf8");let f={id:`document-${a.id}`,type:"file",role:"generated",path:c,status:"generated",message:"模板运行生成的 Markdown 文档,仅登记到生成资源,不进入知识库"};H([f],a.id,b).find(a=>a.id===f.id)}(h,c),H(a.assets||[],u,c),h}).catch(a=>{let b=B(u,c);if(!b||"generating"!==b.status)return b??w;let d=a instanceof Error?a.message:String(a),e=a instanceof Error&&/用户中止|aborted|abort/i.test(a.message)?"aborted":b.checkpointChapters?.length?"warning":"failed",f=b.markdown||b.checkpointChapters?.map(a=>`# ${a.title}
|
|
4
4
|
|
|
5
|
-
${a.content}`).join("\n\n")||"";return
|
|
5
|
+
${a.content}`).join("\n\n")||"";return C(M({...b,title:"failed"===e?m(b):b.title&&"生成中"!==b.title?b.title:`${b.templateName||"文档"}生成未完成`,status:e,error:d,markdown:f,executionStages:l(b.executionStages,d),completedAt:Date.now(),warningIssues:"warning"===e?[...b.warningIssues||[],d]:b.warningIssues}),c)}).finally(()=>{z.current&&N(z.current),o.delete(v)}),J={id:v,documentId:u,status:"generating",controller:x,promise:I,startedAt:s,lastProgressAt:s};return z.current=J,J.timeoutTimer=setTimeout(()=>A("生成任务超时,请点击继续生成或重新生成"),p),J.progressTimer=setInterval(()=>{Date.now()-J.lastProgressAt>q&&A("生成任务长时间无进度,请点击继续生成或重新生成")},Math.min(6e4,q)),o.set(v,J),{taskId:v,documentId:u,record:w}}}};
|
|
@@ -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-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-e1434faf3490a025.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/767-e97ea5dee1ab87b5.js","static/chunks/pages/asset-library-37f844cb358f5457.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-29cbf51a281951d9.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/466-1cd359f130473697.js","static/chunks/pages/document-roles-60f29e52f817dc11.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/63-dd8eeb8edd766bae.js","static/chunks/pages/documents-
|
|
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-e1434faf3490a025.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/767-e97ea5dee1ab87b5.js","static/chunks/pages/asset-library-37f844cb358f5457.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-29cbf51a281951d9.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/466-1cd359f130473697.js","static/chunks/pages/document-roles-60f29e52f817dc11.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/63-dd8eeb8edd766bae.js","static/chunks/pages/documents-988649336d226901.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/642-708b928fbafc6c20.js","static/chunks/pages/guide-c00be7803483b703.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-e1434faf3490a025.js" defer=""></script><script src="/_next/static/chunks/pages/_error-282257fbdcc167b4.js" defer=""></script><script src="/_next/static/s7N5y_UYXU2QdjCnGHipC/_buildManifest.js" defer=""></script><script src="/_next/static/s7N5y_UYXU2QdjCnGHipC/_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,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";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":"s7N5y_UYXU2QdjCnGHipC","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-e1434faf3490a025.js" defer=""></script><script src="/_next/static/chunks/pages/_error-282257fbdcc167b4.js" defer=""></script><script src="/_next/static/0pa5fvkdoD0BbKgNRpUEK/_buildManifest.js" defer=""></script><script src="/_next/static/0pa5fvkdoD0BbKgNRpUEK/_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,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";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":"0pa5fvkdoD0BbKgNRpUEK","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-e1434faf3490a025.js" defer=""></script><script src="/_next/static/chunks/pages/_error-282257fbdcc167b4.js" defer=""></script><script src="/_next/static/s7N5y_UYXU2QdjCnGHipC/_buildManifest.js" defer=""></script><script src="/_next/static/s7N5y_UYXU2QdjCnGHipC/_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,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";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":"s7N5y_UYXU2QdjCnGHipC","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-e1434faf3490a025.js" defer=""></script><script src="/_next/static/chunks/pages/_error-282257fbdcc167b4.js" defer=""></script><script src="/_next/static/0pa5fvkdoD0BbKgNRpUEK/_buildManifest.js" defer=""></script><script src="/_next/static/0pa5fvkdoD0BbKgNRpUEK/_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,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";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":"0pa5fvkdoD0BbKgNRpUEK","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
|