@customize-agent/server 4.0.12 → 4.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +5 -5
  3. package/.next/prerender-manifest.json +3 -3
  4. package/.next/server/chunks/1936.js +3 -3
  5. package/.next/server/chunks/8204.js +1 -1
  6. package/.next/server/chunks/9301.js +3 -3
  7. package/.next/server/middleware-build-manifest.js +1 -1
  8. package/.next/server/pages/404.html +1 -1
  9. package/.next/server/pages/500.html +1 -1
  10. package/.next/server/pages/_error.js +1 -1
  11. package/.next/server/pages/api/kb/upload.js +1 -1
  12. package/.next/server/pages/api/kb/upload.js.nft.json +1 -1
  13. package/.next/server/pages/api/prompt.js +2 -2
  14. package/.next/server/pages/asset-library.html +1 -1
  15. package/.next/server/pages/context/long-term.html +1 -1
  16. package/.next/server/pages/context/short-term.html +1 -1
  17. package/.next/server/pages/document-roles.html +1 -1
  18. package/.next/server/pages/document-specs.html +1 -1
  19. package/.next/server/pages/documents.html +1 -1
  20. package/.next/server/pages/guide.html +1 -1
  21. package/.next/server/pages/index.html +1 -1
  22. package/.next/server/pages/knowledge/file-detail.html +1 -1
  23. package/.next/server/pages/knowledge/files.html +1 -1
  24. package/.next/server/pages/knowledge/manage.html +1 -1
  25. package/.next/server/pages/knowledge/search.html +1 -1
  26. package/.next/server/pages/knowledge.html +1 -1
  27. package/.next/server/pages/models.html +1 -1
  28. package/.next/server/pages/overview.html +1 -1
  29. package/.next/server/pages/prompt.html +1 -1
  30. package/.next/server/pages/settings.html +1 -1
  31. package/.next/server/pages/system/logs.html +1 -1
  32. package/.next/server/pages-manifest.json +26 -26
  33. package/.next/server/webpack-api-runtime.js +1 -1
  34. package/.next/static/{_7Cb4Q9IXzO8TEjTLJuqZ → 8eU3KpI2OMNgfQb1_1boq}/_buildManifest.js +1 -1
  35. package/.next/static/chunks/pages/{_app-57ea5987913f2159.js → _app-c3312d1cfa7c8b29.js} +1 -1
  36. package/.next/static/chunks/pages/knowledge/files-a1727a21113f99cd.js +1 -0
  37. package/.next/static/chunks/pages/prompt-6471e4a055131b2a.js +1 -0
  38. package/package.json +6 -4
  39. package/.next/static/chunks/pages/knowledge/files-6be31deb582a6bdf.js +0 -1
  40. package/.next/static/chunks/pages/prompt-4cf07545f8388d85.js +0 -1
  41. /package/.next/static/{_7Cb4Q9IXzO8TEjTLJuqZ → 8eU3KpI2OMNgfQb1_1boq}/_ssgManifest.js +0 -0
@@ -1,2 +1,2 @@
1
1
  "use strict";(()=>{var a={};a.id=9452,a.ids=[9452],a.modules={6708:(a,b,c)=>{c.d(b,{CU:()=>q,H7:()=>p,JB:()=>m,Qf:()=>k,kW:()=>n,oy:()=>l,sn:()=>o});var d=c(29021),e=c(21820),f=c(33873),g=c(19898);function h(a){return f.join(e.homedir(),".customize-agent","projects",(0,g.computeProjectId)(a),"kb-operations.jsonl")}function i(a){let b=h(a);return d.existsSync(b)?d.readFileSync(b,"utf8").split("\n").filter(Boolean).flatMap(a=>{try{return[JSON.parse(a)]}catch{return[]}}):[]}function j(a,b){let c=h(a);d.mkdirSync(f.dirname(c),{recursive:!0}),d.writeFileSync(c,`${b.slice(-200).map(a=>JSON.stringify(a)).join("\n")}
2
- `,"utf8")}function k(a,b){let c=Date.now(),d=i(a),e=d.findIndex(a=>a.id===b.id),f=e>=0?d[e]:void 0,g={id:b.id,type:b.type,title:b.title,stage:b.stage??f?.stage??"uploading",status:b.status??f?.status??"processing",message:b.message??f?.message??"",percent:b.percent??f?.percent??0,fileName:b.fileName??f?.fileName,filePath:b.filePath??f?.filePath,chunkCount:b.chunkCount??f?.chunkCount,textLength:b.textLength??f?.textLength,extractionMode:b.extractionMode??f?.extractionMode,error:b.error??f?.error,createdAt:f?.createdAt??c,updatedAt:c};return e>=0?d[e]=g:d.push(g),j(a,d),g}function l(a,b=50){return i(a).sort((a,b)=>b.updatedAt-a.updatedAt).slice(0,b)}function m(a,b){return i(a).find(a=>a.id===b)}function n(a,b){return i(a).filter(a=>!b||a.type===b).sort((a,b)=>b.updatedAt-a.updatedAt)[0]}function o(a){return i(a).filter(a=>"processing"===a.status).sort((a,b)=>b.updatedAt-a.updatedAt)}function p(a){let b=i(a),c=h(a);return d.existsSync(c)&&d.unlinkSync(c),b.length}function q(a,b){let c=i(a),d=c.filter(a=>a.id!==b);return d.length!==c.length&&(j(a,d),!0)}},15751:a=>{a.exports=require("xlsx")},19898:a=>{a.exports=require("@customize-agent/knowledge")},21820:a=>{a.exports=require("os")},29021:a=>{a.exports=require("fs")},31421:a=>{a.exports=require("node:child_process")},33873:a=>{a.exports=require("path")},70432:(a,b,c)=>{c.d(b,{DA:()=>k,ls:()=>l});var d=c(79646),e=c(33873),f=c.n(e),g=c(23328),h=c(6708);let i=new Map;async function j(a,b,c,d){let e;try{e=await (0,g.Qh)().getProject(a.projectRoot);let f=e=>{var f;return(0,h.Qf)(a.projectRoot,{id:b,type:c,title:d,stage:(f=e.stage,"parsing"===f||"chunking"===f||"vectorizing"===f||"done"===f||"error"===f?f:"indexing"===f?"chunking":"scanning"===f?"uploading":"vectorizing"),status:"error"===e.stage?"error":"processing",percent:e.percent,message:e.message,filePath:e.filePath||a.relativePath,chunkCount:e.chunkCount,error:e.vectorStatus?.error})},i=a.relativePath?await e.reindexFile(a.relativePath,{vectorMode:a.vectorMode,onProgress:f}):a.forceReindexAll?await e.forceReindexAll({vectorMode:a.vectorMode,onProgress:f}):await e.consumePendingIndexJobs({vectorMode:a.vectorMode,onProgress:f});for(;!a.relativePath&&e.countPendingIndexJobs()>0;){let b=await e.consumePendingIndexJobs({vectorMode:a.vectorMode,onProgress:f});i={newFiles:[...i.newFiles,...b.newFiles],modifiedFiles:[...i.modifiedFiles,...b.modifiedFiles],deletedFiles:[...i.deletedFiles,...b.deletedFiles],unchangedCount:i.unchangedCount+b.unchangedCount,mtimeOnlyCount:i.mtimeOnlyCount+b.mtimeOnlyCount,skippedFiles:[...i.skippedFiles,...b.skippedFiles],hasChanges:i.hasChanges||b.hasChanges,diffTimeMs:i.diffTimeMs+b.diffTimeMs}}let j=e.getVectorStatus();if("error"===j.status){let f=j.error||"HNSWLib 向量入库失败";return(0,h.Qf)(a.projectRoot,{id:b,type:c,title:d,stage:"error",status:"error",percent:100,message:f,error:f}),{success:!1,error:f,stats:{...e.getStats(),vectorStatus:j}}}return(0,h.Qf)(a.projectRoot,{id:b,type:c,title:d,stage:"done",status:"success",percent:100,message:a.relativePath?"单文件重新解析完成":"知识库后台索引完成",filePath:a.relativePath,fileName:a.relativePath?.split("/").pop()}),{success:!0,stats:{...e.getStats(),vectorStatus:j}}}catch(g){let f=g instanceof Error?g.stack||g.message:String(g);return e?.failPendingIndexJobs?.(f),(0,h.Qf)(a.projectRoot,{id:b,type:c,title:d,stage:"error",status:"error",percent:100,message:f,error:f}),{success:!1,error:f}}}function k(a){!function(a){let b=i.get(a.projectRoot);if(b)return b.promise;let c=a.uploadOperationId??a.id,e=a.uploadOperationId?"upload":"reindex",g=a.uploadOperationId?`上传 ${a.uploadTitle??"文件"}`:a.relativePath?`重新解析 ${a.relativePath}`:"知识库后台索引";(0,h.Qf)(a.projectRoot,{id:c,type:e,title:g,stage:"uploading",status:"processing",percent:5,message:"索引任务已进入后台队列",filePath:a.relativePath,fileName:a.relativePath?.split("/").pop()});let k=("1"===process.env.CUSTOMIZE_AGENT_DISABLE_KB_CHILD_PROCESS?j(a,c,e,g):function(a,b,c,e){let g=f().resolve(process.cwd(),"scripts/kb-index-worker.cjs");return new Promise(f=>{let i=(0,d.fork)(g,[JSON.stringify({...a,operationId:b})],{cwd:process.cwd(),stdio:["ignore","ignore","ignore","ipc"],env:process.env});i.on("error",d=>{let g=d instanceof Error?d.message:String(d);(0,h.Qf)(a.projectRoot,{id:b,type:c,title:e,stage:"error",status:"error",percent:100,message:g,error:g}),f({success:!1,error:g})}),i.on("exit",d=>{if(0===d)f({success:!0});else{let g=`知识库后台进程退出,退出码 ${d??"unknown"}`;(0,h.Qf)(a.projectRoot,{id:b,type:c,title:e,stage:"error",status:"error",percent:100,message:g,error:g}),f({success:!1,error:g})}})})}(a,c,e,g)).finally(()=>i.delete(a.projectRoot));i.set(a.projectRoot,{operationId:c,promise:k,startedAt:Date.now()})}(a)}function l(a){let b=i.get(a);return b?{operationId:b.operationId,startedAt:b.startedAt}:void 0}},75600:a=>{a.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79646:a=>{a.exports=require("child_process")},87550:a=>{a.exports=require("better-sqlite3")},97217:(a,b,c)=>{c.d(b,{M:()=>e,Q:()=>f});let d=new Map;function e(a,b){a&&d.set(a,{id:a,...b,updatedAt:Date.now()})}function f(a){let b=d.get(a);if(b)return Date.now()-b.updatedAt>18e5?void d.delete(a):b}},97384:(a,b,c)=>{c.r(b),c.d(b,{config:()=>r,default:()=>q,handler:()=>t});var d={};c.r(d),c.d(d,{config:()=>m,default:()=>n});var e=c(11400),f=c(50029),g=c(71086),h=c(38513),i=c(23328),j=c(97217),k=c(6708),l=c(70432);let m={api:{bodyParser:{sizeLimit:"500mb"},responseLimit:"500mb"}};async function n(a,b){if("POST"!==a.method)return b.status(405).json({error:"Method not allowed"});try{let{fileName:c,fileData:d,uploadId:e}=a.body,f=Array.isArray(a.body.files)?a.body.files:c&&d?[{fileName:c,fileData:d,relativePath:a.body.relativePath}]:[];if(0===f.length)return b.status(400).json({error:"files required"});let g=a.body.projectRoot||(0,i.aY)();if(!g)return b.status(400).json({error:"Project root is required"});let h=e||`upload-${Date.now()}`,m=1===f.length?f[0].fileName:`${f.length} 个文件`,n=await (0,i.Qh)().getProject(g),o=f.map(a=>({fileName:a.fileName,content:Buffer.from(a.fileData,"base64"),targetRelativePath:n.getUploadRelativePath(a.fileName,a.relativePath)})),p=await n.stageUploadedFiles(o,h),q=o[0]?.targetRelativePath;return(0,j.M)(h,{stage:"uploading",percent:5,message:"文件已落盘,后台索引任务已排队",fileName:m}),(0,k.Qf)(g,{id:h,type:"upload",title:`上传 ${m}`,stage:"uploading",status:"processing",percent:5,message:"文件已落盘,后台索引任务已排队",fileName:m,filePath:q}),(0,l.DA)({id:`${h}-worker`,projectRoot:g,vectorMode:"sync",uploadOperationId:h,uploadTitle:m}),b.status(202).json({success:!0,accepted:!0,operationId:h,relativePath:1===f.length?q:void 0,jobs:p})}catch(h){let c=a.body?.projectRoot||(0,i.aY)(),d=Array.isArray(a.body?.files)?a.body.files:[],e=a.body?.fileName||(d.length>1?`${d.length} 个文件`:d[0]?.fileName),f=a.body?.uploadId||`upload-${Date.now()}`,g=h instanceof Error?h.message:"上传或索引失败";(0,j.M)(f,{stage:"error",percent:100,message:g,fileName:e}),c&&e&&(0,k.Qf)(c,{id:f,type:"upload",title:`上传 ${e}`,stage:"error",status:"error",percent:100,message:g,fileName:e,error:g}),console.error("[api] kb/upload",h),b.status(500).json({error:g})}}var o=c(68970),p=c(50296);let q=(0,h.M)(d,"default"),r=(0,h.M)(d,"config"),s=new g.PagesAPIRouteModule({definition:{kind:f.A.PAGES_API,page:"/api/kb/upload",pathname:"/api/kb/upload",bundlePath:"",filename:""},userland:d,distDir:".next",relativeProjectDir:""});async function t(a,b,c){let d=await s.prepare(a,b,{srcPage:"/api/kb/upload"});if(!d){b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve());return}let{query:f,params:g,prerenderManifest:h,routerServerContext:i}=d;try{let c=a.method||"GET",d=(0,o.getTracer)(),e=d.getActiveScopeSpan(),j=s.instrumentationOnRequestError.bind(s),k=async e=>s.render(a,b,{query:{...f,...g},params:g,allowedRevalidateHeaderKeys:[],multiZoneDraftMode:!1,trustHostHeader:!1,previewProps:h.preview,propagateError:!1,dev:s.isDev,page:"/api/kb/upload",internalRevalidate:null==i?void 0:i.revalidate,onError:(...b)=>j(a,...b)}).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let f=d.getRootSpanAttributes();if(!f)return;if(f.get("next.span_type")!==p.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${f.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let g=f.get("next.route");if(g){let a=`${c} ${g}`;e.setAttributes({"next.route":g,"http.route":g,"next.span_name":a}),e.updateName(a)}else e.updateName(`${c} ${a.url}`)});e?await k(e):await d.withPropagatedContext(a.headers,()=>d.trace(p.BaseServerSpan.handleRequest,{spanName:`${c} ${a.url}`,kind:o.SpanKind.SERVER,attributes:{"http.method":c,"http.target":a.url}},k))}catch(a){if(s.isDev)throw a;(0,e.sendError)(b,500,"Internal Server Error")}finally{null==c.waitUntil||c.waitUntil.call(c,Promise.resolve())}}}};var b=require("../../../webpack-api-runtime.js");b.C(a);var c=b.X(0,[9705,3328],()=>b(b.s=97384));module.exports=c})();
2
+ `,"utf8")}function k(a,b){let c=Date.now(),d=i(a),e=d.findIndex(a=>a.id===b.id),f=e>=0?d[e]:void 0,g={id:b.id,type:b.type,title:b.title,stage:b.stage??f?.stage??"uploading",status:b.status??f?.status??"processing",message:b.message??f?.message??"",percent:b.percent??f?.percent??0,fileName:b.fileName??f?.fileName,filePath:b.filePath??f?.filePath,chunkCount:b.chunkCount??f?.chunkCount,textLength:b.textLength??f?.textLength,extractionMode:b.extractionMode??f?.extractionMode,error:b.error??f?.error,createdAt:f?.createdAt??c,updatedAt:c};return e>=0?d[e]=g:d.push(g),j(a,d),g}function l(a,b=50){return i(a).sort((a,b)=>b.updatedAt-a.updatedAt).slice(0,b)}function m(a,b){return i(a).find(a=>a.id===b)}function n(a,b){return i(a).filter(a=>!b||a.type===b).sort((a,b)=>b.updatedAt-a.updatedAt)[0]}function o(a){return i(a).filter(a=>"processing"===a.status).sort((a,b)=>b.updatedAt-a.updatedAt)}function p(a){let b=i(a),c=h(a);return d.existsSync(c)&&d.unlinkSync(c),b.length}function q(a,b){let c=i(a),d=c.filter(a=>a.id!==b);return d.length!==c.length&&(j(a,d),!0)}},15151:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{config:()=>o,default:()=>n});var e=c(67313),f=c(23328),g=c(97217),h=c(6708),i=c(70432),j=a([e]);e=(j.then?(await j)():j)[0];let o={api:{bodyParser:!1,responseLimit:"500mb"}};function k(a){return Array.isArray(a)?a[0]:a}function l(a,b){let c=Number.parseInt(a??"",10);return Number.isFinite(c)?c:b}function m(a){return a.originalFilename||a.newFilename||"uploaded-file"}async function n(a,b){let c;if("POST"!==a.method)return b.status(405).json({error:"Method not allowed"});let d=`upload-${Date.now()}`,j=(0,f.aY)();try{let n=await function(a){let b=(0,e.default)({multiples:!0,maxFileSize:524288e3,maxTotalFileSize:524288e3,keepExtensions:!0});return new Promise((c,d)=>{b.parse(a,(a,b,e)=>{var f,g;if(a)return void d(a);let h=Object.values(e).flat().filter(Boolean),i=l(k(b.batchIndex),0),j=Math.max(1,l(k(b.totalBatches),1));c({fields:{uploadId:k(b.uploadId),projectRoot:k(b.projectRoot),relativePaths:(f=b.relativePaths)?Array.isArray(f)?f:[f]:[],batchIndex:i,totalBatches:j,startIndex:(g=k(b.startIndex),"1"===g||"true"===g||i>=j-1),fileOffset:Math.max(0,l(k(b.fileOffset),1e3*i))},files:h})})})}(a);if(d=n.fields.uploadId||d,!(j=n.fields.projectRoot||j))return b.status(400).json({error:"Project root is required"});if(0===n.files.length)return b.status(400).json({error:"files required"});if(n.fields.relativePaths.length!==n.files.length)return b.status(400).json({error:"relativePaths count mismatch"});c=1===n.files.length?m(n.files[0]):`${n.files.length} 个文件`;let o=await (0,f.Qh)().getProject(j),p=n.files.map((a,b)=>({fileName:m(a),sourcePath:a.filepath,targetRelativePath:n.fields.relativePaths[b]})),q=await o.stageUploadedFilePaths(p,d,n.fields.fileOffset),r=q[0]?.relativePath,s=n.fields.startIndex?5:Math.min(4,Math.max(1,Math.round((n.fields.batchIndex+1)/n.fields.totalBatches*4))),t=n.fields.startIndex?"文件已落盘,后台索引任务已排队":`文件已落盘:第 ${n.fields.batchIndex+1}/${n.fields.totalBatches} 批`;return(0,g.M)(d,{stage:"uploading",percent:s,message:t,fileName:c}),(0,h.Qf)(j,{id:d,type:"upload",title:`上传 ${c}`,stage:"uploading",status:"processing",percent:s,message:t,fileName:c,filePath:r}),n.fields.startIndex&&(0,i.DA)({id:`${d}-worker`,projectRoot:j,vectorMode:"sync",uploadOperationId:d,uploadTitle:c}),b.status(202).json({success:!0,accepted:!0,operationId:d,relativePath:1===n.files.length?r:void 0,jobs:q,batchIndex:n.fields.batchIndex,totalBatches:n.fields.totalBatches,indexingStarted:n.fields.startIndex})}catch(e){let a=e instanceof Error?e.message:"上传或索引失败";(0,g.M)(d,{stage:"error",percent:100,message:a,fileName:c}),j&&c&&(0,h.Qf)(j,{id:d,type:"upload",title:`上传 ${c}`,stage:"error",status:"error",percent:100,message:a,fileName:c,error:a}),console.error("[api] kb/upload",e),b.status(500).json({error:a})}}d()}catch(a){d(a)}})},15751:a=>{a.exports=require("xlsx")},19898:a=>{a.exports=require("@customize-agent/knowledge")},21820:a=>{a.exports=require("os")},29021:a=>{a.exports=require("fs")},31421:a=>{a.exports=require("node:child_process")},33873:a=>{a.exports=require("path")},67313:a=>{a.exports=import("formidable")},70432:(a,b,c)=>{c.d(b,{DA:()=>k,ls:()=>l});var d=c(79646),e=c(33873),f=c.n(e),g=c(23328),h=c(6708);let i=new Map;async function j(a,b,c,d){let e;try{e=await (0,g.Qh)().getProject(a.projectRoot);let f=e=>{var f;return(0,h.Qf)(a.projectRoot,{id:b,type:c,title:d,stage:(f=e.stage,"parsing"===f||"chunking"===f||"vectorizing"===f||"done"===f||"error"===f?f:"indexing"===f?"chunking":"scanning"===f?"uploading":"vectorizing"),status:"error"===e.stage?"error":"processing",percent:e.percent,message:e.message,filePath:e.filePath||a.relativePath,chunkCount:e.chunkCount,error:e.vectorStatus?.error})},i=a.relativePath?await e.reindexFile(a.relativePath,{vectorMode:a.vectorMode,onProgress:f}):a.forceReindexAll?await e.forceReindexAll({vectorMode:a.vectorMode,onProgress:f}):await e.consumePendingIndexJobs({vectorMode:a.vectorMode,onProgress:f});for(;!a.relativePath&&e.countPendingIndexJobs()>0;){let b=await e.consumePendingIndexJobs({vectorMode:a.vectorMode,onProgress:f});i={newFiles:[...i.newFiles,...b.newFiles],modifiedFiles:[...i.modifiedFiles,...b.modifiedFiles],deletedFiles:[...i.deletedFiles,...b.deletedFiles],unchangedCount:i.unchangedCount+b.unchangedCount,mtimeOnlyCount:i.mtimeOnlyCount+b.mtimeOnlyCount,skippedFiles:[...i.skippedFiles,...b.skippedFiles],hasChanges:i.hasChanges||b.hasChanges,diffTimeMs:i.diffTimeMs+b.diffTimeMs}}let j=e.getVectorStatus();if("error"===j.status){let f=j.error||"HNSWLib 向量入库失败";return(0,h.Qf)(a.projectRoot,{id:b,type:c,title:d,stage:"error",status:"error",percent:100,message:f,error:f}),{success:!1,error:f,stats:{...e.getStats(),vectorStatus:j}}}return(0,h.Qf)(a.projectRoot,{id:b,type:c,title:d,stage:"done",status:"success",percent:100,message:a.relativePath?"单文件重新解析完成":"知识库后台索引完成",filePath:a.relativePath,fileName:a.relativePath?.split("/").pop()}),{success:!0,stats:{...e.getStats(),vectorStatus:j}}}catch(g){let f=g instanceof Error?g.stack||g.message:String(g);return e?.failPendingIndexJobs?.(f),(0,h.Qf)(a.projectRoot,{id:b,type:c,title:d,stage:"error",status:"error",percent:100,message:f,error:f}),{success:!1,error:f}}}function k(a){!function(a){let b=i.get(a.projectRoot);if(b)return b.promise;let c=a.uploadOperationId??a.id,e=a.uploadOperationId?"upload":"reindex",g=a.uploadOperationId?`上传 ${a.uploadTitle??"文件"}`:a.relativePath?`重新解析 ${a.relativePath}`:"知识库后台索引";(0,h.Qf)(a.projectRoot,{id:c,type:e,title:g,stage:"uploading",status:"processing",percent:5,message:"索引任务已进入后台队列",filePath:a.relativePath,fileName:a.relativePath?.split("/").pop()});let k=("1"===process.env.CUSTOMIZE_AGENT_DISABLE_KB_CHILD_PROCESS?j(a,c,e,g):function(a,b,c,e){let g=f().resolve(process.cwd(),"scripts/kb-index-worker.cjs");return new Promise(f=>{let i=(0,d.fork)(g,[JSON.stringify({...a,operationId:b})],{cwd:process.cwd(),stdio:["ignore","ignore","ignore","ipc"],env:process.env});i.on("error",d=>{let g=d instanceof Error?d.message:String(d);(0,h.Qf)(a.projectRoot,{id:b,type:c,title:e,stage:"error",status:"error",percent:100,message:g,error:g}),f({success:!1,error:g})}),i.on("exit",d=>{if(0===d)f({success:!0});else{let g=`知识库后台进程退出,退出码 ${d??"unknown"}`;(0,h.Qf)(a.projectRoot,{id:b,type:c,title:e,stage:"error",status:"error",percent:100,message:g,error:g}),f({success:!1,error:g})}})})}(a,c,e,g)).finally(()=>i.delete(a.projectRoot));i.set(a.projectRoot,{operationId:c,promise:k,startedAt:Date.now()})}(a)}function l(a){let b=i.get(a);return b?{operationId:b.operationId,startedAt:b.startedAt}:void 0}},75600:a=>{a.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79646:a=>{a.exports=require("child_process")},87550:a=>{a.exports=require("better-sqlite3")},97217:(a,b,c)=>{c.d(b,{M:()=>e,Q:()=>f});let d=new Map;function e(a,b){a&&d.set(a,{id:a,...b,updatedAt:Date.now()})}function f(a){let b=d.get(a);if(b)return Date.now()-b.updatedAt>18e5?void d.delete(a):b}},99249:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{config:()=>o,default:()=>n,handler:()=>m});var e=c(11400),f=c(50029),g=c(71086),h=c(38513),i=c(15151),j=c(68970),k=c(50296),l=a([i]);i=(l.then?(await l)():l)[0];let n=(0,h.M)(i,"default"),o=(0,h.M)(i,"config"),p=new g.PagesAPIRouteModule({definition:{kind:f.A.PAGES_API,page:"/api/kb/upload",pathname:"/api/kb/upload",bundlePath:"",filename:""},userland:i,distDir:".next",relativeProjectDir:""});async function m(a,b,c){let d=await p.prepare(a,b,{srcPage:"/api/kb/upload"});if(!d){b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve());return}let{query:f,params:g,prerenderManifest:h,routerServerContext:i}=d;try{let c=a.method||"GET",d=(0,j.getTracer)(),e=d.getActiveScopeSpan(),l=p.instrumentationOnRequestError.bind(p),m=async e=>p.render(a,b,{query:{...f,...g},params:g,allowedRevalidateHeaderKeys:[],multiZoneDraftMode:!1,trustHostHeader:!1,previewProps:h.preview,propagateError:!1,dev:p.isDev,page:"/api/kb/upload",internalRevalidate:null==i?void 0:i.revalidate,onError:(...b)=>l(a,...b)}).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let f=d.getRootSpanAttributes();if(!f)return;if(f.get("next.span_type")!==k.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${f.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let g=f.get("next.route");if(g){let a=`${c} ${g}`;e.setAttributes({"next.route":g,"http.route":g,"next.span_name":a}),e.updateName(a)}else e.updateName(`${c} ${a.url}`)});e?await m(e):await d.withPropagatedContext(a.headers,()=>d.trace(k.BaseServerSpan.handleRequest,{spanName:`${c} ${a.url}`,kind:j.SpanKind.SERVER,attributes:{"http.method":c,"http.target":a.url}},m))}catch(a){if(p.isDev)throw a;(0,e.sendError)(b,500,"Internal Server Error")}finally{null==c.waitUntil||c.waitUntil.call(c,Promise.resolve())}}d()}catch(a){d(a)}})}};var b=require("../../../webpack-api-runtime.js");b.C(a);var c=b.X(0,[9705,3328],()=>b(b.s=99249));module.exports=c})();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/package.json","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.stat","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/run-parallel","../../../../../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/package.json","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.scandir","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/async.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/stream.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/sync.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/reader.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/sync.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/package.json","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/fastq","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/package.json","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/bindings","../../../../../../../node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/bindings.js","../../../../../../../node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/package.json","../../../../../../../node_modules/.pnpm/bindings@1.5.0/node_modules/file-uri-to-path","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/index.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/compile.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/constants.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/expand.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/parse.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/stringify.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/utils.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/package.json","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/fill-range","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/@nodelib/fs.stat","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/@nodelib/fs.walk","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/index.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/async.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/deep.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/entry.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/error.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/matcher.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/partial.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/provider.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/stream.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/sync.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/transformers/entry.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/async.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/reader.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/stream.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/sync.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/package.json","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/glob-parent","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/merge2","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/micromatch","../../../../../../../node_modules/.pnpm/fastq@1.20.1/node_modules/fastq/package.json","../../../../../../../node_modules/.pnpm/fastq@1.20.1/node_modules/fastq/queue.js","../../../../../../../node_modules/.pnpm/fastq@1.20.1/node_modules/reusify","../../../../../../../node_modules/.pnpm/file-uri-to-path@1.0.0/node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/.pnpm/file-uri-to-path@1.0.0/node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/index.js","../../../../../../../node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/package.json","../../../../../../../node_modules/.pnpm/fill-range@7.1.1/node_modules/to-regex-range","../../../../../../../node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.js","../../../../../../../node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/package.json","../../../../../../../node_modules/.pnpm/glob-parent@5.1.2/node_modules/is-glob","../../../../../../../node_modules/.pnpm/hnswlib-node@3.0.0/node_modules/bindings","../../../../../../../node_modules/.pnpm/hnswlib-node@3.0.0/node_modules/hnswlib-node/build/Release/addon.node","../../../../../../../node_modules/.pnpm/hnswlib-node@3.0.0/node_modules/hnswlib-node/lib/index.js","../../../../../../../node_modules/.pnpm/hnswlib-node@3.0.0/node_modules/hnswlib-node/package.json","../../../../../../../node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.js","../../../../../../../node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/package.json","../../../../../../../node_modules/.pnpm/is-glob@4.0.3/node_modules/is-extglob","../../../../../../../node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.js","../../../../../../../node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/package.json","../../../../../../../node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.js","../../../../../../../node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/package.json","../../../../../../../node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.js","../../../../../../../node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/package.json","../../../../../../../node_modules/.pnpm/micromatch@4.0.8/node_modules/braces","../../../../../../../node_modules/.pnpm/micromatch@4.0.8/node_modules/micromatch/index.js","../../../../../../../node_modules/.pnpm/micromatch@4.0.8/node_modules/micromatch/package.json","../../../../../../../node_modules/.pnpm/micromatch@4.0.8/node_modules/picomatch","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/bytes/index.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/bytes/package.json","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/raw-body/index.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/raw-body/package.json","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/package.json","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/index.js","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/constants.js","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/parse.js","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/picomatch.js","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/scan.js","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/utils.js","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/package.json","../../../../../../../node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/index.js","../../../../../../../node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/package.json","../../../../../../../node_modules/.pnpm/reusify@1.1.0/node_modules/reusify/package.json","../../../../../../../node_modules/.pnpm/reusify@1.1.0/node_modules/reusify/reusify.js","../../../../../../../node_modules/.pnpm/run-parallel@1.2.0/node_modules/queue-microtask","../../../../../../../node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/index.js","../../../../../../../node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/package.json","../../../../../../../node_modules/.pnpm/to-regex-range@5.0.1/node_modules/is-number","../../../../../../../node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.js","../../../../../../../node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/package.json","../../../../../../../node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/dist/cpexcel.js","../../../../../../../node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/package.json","../../../../../../../node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/xlsx.js","../../../../../../../package.json","../../../../../../../packages/knowledge/dist/chunking/bge-tokenizer.js","../../../../../../../packages/knowledge/dist/chunking/text-chunker.js","../../../../../../../packages/knowledge/dist/classification/classifier.js","../../../../../../../packages/knowledge/dist/constants.js","../../../../../../../packages/knowledge/dist/core/change-tracker.js","../../../../../../../packages/knowledge/dist/core/file-scanner.js","../../../../../../../packages/knowledge/dist/core/index-state-store.js","../../../../../../../packages/knowledge/dist/core/knowledge-base-manager.js","../../../../../../../packages/knowledge/dist/core/multi-project-manager.js","../../../../../../../packages/knowledge/dist/core/project-config.js","../../../../../../../packages/knowledge/dist/core/project-id.js","../../../../../../../packages/knowledge/dist/core/project-registry.js","../../../../../../../packages/knowledge/dist/dedup/dedup-engine.js","../../../../../../../packages/knowledge/dist/dedup/relationship-detector.js","../../../../../../../packages/knowledge/dist/embedding/embedding-provider.js","../../../../../../../packages/knowledge/dist/extraction/content-extractor.js","../../../../../../../packages/knowledge/dist/extraction/external-extractor.js","../../../../../../../packages/knowledge/dist/extraction/module-resolver.js","../../../../../../../packages/knowledge/dist/index.js","../../../../../../../packages/knowledge/dist/search/federation-search.js","../../../../../../../packages/knowledge/dist/vector/collection-manager.js","../../../../../../../packages/knowledge/dist/vector/hnsw-vector-store.js","../../../../../../../packages/knowledge/dist/vector/vector-indexer.js","../../../../../../../packages/knowledge/node_modules/better-sqlite3","../../../../../../../packages/knowledge/node_modules/fast-glob","../../../../../../../packages/knowledge/node_modules/hnswlib-node","../../../../../../../packages/knowledge/package.json","../../../../../node_modules/@customize-agent/knowledge","../../../../../node_modules/better-sqlite3","../../../../../node_modules/next","../../../../../node_modules/xlsx","../../../../../package.json","../../../../../scripts/kb-index-worker.cjs","../../../../package.json","../../../chunks/3328.js","../../../chunks/9705.js","../../../webpack-api-runtime.js"]}
1
+ {"version":1,"files":["../../../../../../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/_u64.js","../../../../../../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/crypto.js","../../../../../../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/cryptoNode.js","../../../../../../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/package.json","../../../../../../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/sha3.js","../../../../../../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/utils.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/package.json","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.stat","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/run-parallel","../../../../../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/package.json","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.scandir","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/async.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/stream.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/sync.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/reader.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/sync.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/package.json","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/fastq","../../../../../../../node_modules/.pnpm/@paralleldrive+cuid2@2.3.1/node_modules/@noble/hashes","../../../../../../../node_modules/.pnpm/@paralleldrive+cuid2@2.3.1/node_modules/@paralleldrive/cuid2/index.js","../../../../../../../node_modules/.pnpm/@paralleldrive+cuid2@2.3.1/node_modules/@paralleldrive/cuid2/package.json","../../../../../../../node_modules/.pnpm/@paralleldrive+cuid2@2.3.1/node_modules/@paralleldrive/cuid2/src/index.js","../../../../../../../node_modules/.pnpm/asap@2.0.6/node_modules/asap/asap.js","../../../../../../../node_modules/.pnpm/asap@2.0.6/node_modules/asap/package.json","../../../../../../../node_modules/.pnpm/asap@2.0.6/node_modules/asap/raw.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/package.json","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/bindings","../../../../../../../node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/bindings.js","../../../../../../../node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/package.json","../../../../../../../node_modules/.pnpm/bindings@1.5.0/node_modules/file-uri-to-path","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/index.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/compile.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/constants.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/expand.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/parse.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/stringify.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/utils.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/package.json","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/fill-range","../../../../../../../node_modules/.pnpm/dezalgo@1.0.4/node_modules/asap","../../../../../../../node_modules/.pnpm/dezalgo@1.0.4/node_modules/dezalgo/dezalgo.js","../../../../../../../node_modules/.pnpm/dezalgo@1.0.4/node_modules/dezalgo/package.json","../../../../../../../node_modules/.pnpm/dezalgo@1.0.4/node_modules/wrappy","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/@nodelib/fs.stat","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/@nodelib/fs.walk","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/index.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/async.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/deep.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/entry.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/error.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/matcher.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/partial.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/provider.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/stream.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/sync.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/transformers/entry.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/async.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/reader.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/stream.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/sync.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/package.json","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/glob-parent","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/merge2","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/micromatch","../../../../../../../node_modules/.pnpm/fastq@1.20.1/node_modules/fastq/package.json","../../../../../../../node_modules/.pnpm/fastq@1.20.1/node_modules/fastq/queue.js","../../../../../../../node_modules/.pnpm/fastq@1.20.1/node_modules/reusify","../../../../../../../node_modules/.pnpm/file-uri-to-path@1.0.0/node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/.pnpm/file-uri-to-path@1.0.0/node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/index.js","../../../../../../../node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/package.json","../../../../../../../node_modules/.pnpm/fill-range@7.1.1/node_modules/to-regex-range","../../../../../../../node_modules/.pnpm/formidable@3.5.4/node_modules/@paralleldrive/cuid2","../../../../../../../node_modules/.pnpm/formidable@3.5.4/node_modules/dezalgo","../../../../../../../node_modules/.pnpm/formidable@3.5.4/node_modules/formidable/dist/index.cjs","../../../../../../../node_modules/.pnpm/formidable@3.5.4/node_modules/formidable/package.json","../../../../../../../node_modules/.pnpm/formidable@3.5.4/node_modules/formidable/src/Formidable.js","../../../../../../../node_modules/.pnpm/formidable@3.5.4/node_modules/formidable/src/FormidableError.js","../../../../../../../node_modules/.pnpm/formidable@3.5.4/node_modules/formidable/src/PersistentFile.js","../../../../../../../node_modules/.pnpm/formidable@3.5.4/node_modules/formidable/src/VolatileFile.js","../../../../../../../node_modules/.pnpm/formidable@3.5.4/node_modules/formidable/src/index.js","../../../../../../../node_modules/.pnpm/formidable@3.5.4/node_modules/formidable/src/parsers/Dummy.js","../../../../../../../node_modules/.pnpm/formidable@3.5.4/node_modules/formidable/src/parsers/JSON.js","../../../../../../../node_modules/.pnpm/formidable@3.5.4/node_modules/formidable/src/parsers/Multipart.js","../../../../../../../node_modules/.pnpm/formidable@3.5.4/node_modules/formidable/src/parsers/OctetStream.js","../../../../../../../node_modules/.pnpm/formidable@3.5.4/node_modules/formidable/src/parsers/Querystring.js","../../../../../../../node_modules/.pnpm/formidable@3.5.4/node_modules/formidable/src/parsers/index.js","../../../../../../../node_modules/.pnpm/formidable@3.5.4/node_modules/formidable/src/plugins/index.js","../../../../../../../node_modules/.pnpm/formidable@3.5.4/node_modules/formidable/src/plugins/json.js","../../../../../../../node_modules/.pnpm/formidable@3.5.4/node_modules/formidable/src/plugins/multipart.js","../../../../../../../node_modules/.pnpm/formidable@3.5.4/node_modules/formidable/src/plugins/octetstream.js","../../../../../../../node_modules/.pnpm/formidable@3.5.4/node_modules/formidable/src/plugins/querystring.js","../../../../../../../node_modules/.pnpm/formidable@3.5.4/node_modules/once","../../../../../../../node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.js","../../../../../../../node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/package.json","../../../../../../../node_modules/.pnpm/glob-parent@5.1.2/node_modules/is-glob","../../../../../../../node_modules/.pnpm/hnswlib-node@3.0.0/node_modules/bindings","../../../../../../../node_modules/.pnpm/hnswlib-node@3.0.0/node_modules/hnswlib-node/build/Release/addon.node","../../../../../../../node_modules/.pnpm/hnswlib-node@3.0.0/node_modules/hnswlib-node/lib/index.js","../../../../../../../node_modules/.pnpm/hnswlib-node@3.0.0/node_modules/hnswlib-node/package.json","../../../../../../../node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.js","../../../../../../../node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/package.json","../../../../../../../node_modules/.pnpm/is-glob@4.0.3/node_modules/is-extglob","../../../../../../../node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.js","../../../../../../../node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/package.json","../../../../../../../node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.js","../../../../../../../node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/package.json","../../../../../../../node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.js","../../../../../../../node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/package.json","../../../../../../../node_modules/.pnpm/micromatch@4.0.8/node_modules/braces","../../../../../../../node_modules/.pnpm/micromatch@4.0.8/node_modules/micromatch/index.js","../../../../../../../node_modules/.pnpm/micromatch@4.0.8/node_modules/micromatch/package.json","../../../../../../../node_modules/.pnpm/micromatch@4.0.8/node_modules/picomatch","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/bytes/index.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/bytes/package.json","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/raw-body/index.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/raw-body/package.json","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/package.json","../../../../../../../node_modules/.pnpm/once@1.4.0/node_modules/once/once.js","../../../../../../../node_modules/.pnpm/once@1.4.0/node_modules/once/package.json","../../../../../../../node_modules/.pnpm/once@1.4.0/node_modules/wrappy","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/index.js","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/constants.js","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/parse.js","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/picomatch.js","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/scan.js","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/utils.js","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/package.json","../../../../../../../node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/index.js","../../../../../../../node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/package.json","../../../../../../../node_modules/.pnpm/reusify@1.1.0/node_modules/reusify/package.json","../../../../../../../node_modules/.pnpm/reusify@1.1.0/node_modules/reusify/reusify.js","../../../../../../../node_modules/.pnpm/run-parallel@1.2.0/node_modules/queue-microtask","../../../../../../../node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/index.js","../../../../../../../node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/package.json","../../../../../../../node_modules/.pnpm/to-regex-range@5.0.1/node_modules/is-number","../../../../../../../node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.js","../../../../../../../node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/package.json","../../../../../../../node_modules/.pnpm/wrappy@1.0.2/node_modules/wrappy/package.json","../../../../../../../node_modules/.pnpm/wrappy@1.0.2/node_modules/wrappy/wrappy.js","../../../../../../../node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/dist/cpexcel.js","../../../../../../../node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/package.json","../../../../../../../node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/xlsx.js","../../../../../../../package.json","../../../../../../../packages/knowledge/dist/chunking/bge-tokenizer.js","../../../../../../../packages/knowledge/dist/chunking/text-chunker.js","../../../../../../../packages/knowledge/dist/classification/classifier.js","../../../../../../../packages/knowledge/dist/constants.js","../../../../../../../packages/knowledge/dist/core/change-tracker.js","../../../../../../../packages/knowledge/dist/core/file-scanner.js","../../../../../../../packages/knowledge/dist/core/index-state-store.js","../../../../../../../packages/knowledge/dist/core/knowledge-base-manager.js","../../../../../../../packages/knowledge/dist/core/multi-project-manager.js","../../../../../../../packages/knowledge/dist/core/project-config.js","../../../../../../../packages/knowledge/dist/core/project-id.js","../../../../../../../packages/knowledge/dist/core/project-registry.js","../../../../../../../packages/knowledge/dist/dedup/dedup-engine.js","../../../../../../../packages/knowledge/dist/dedup/relationship-detector.js","../../../../../../../packages/knowledge/dist/embedding/embedding-provider.js","../../../../../../../packages/knowledge/dist/extraction/content-extractor.js","../../../../../../../packages/knowledge/dist/extraction/external-extractor.js","../../../../../../../packages/knowledge/dist/extraction/module-resolver.js","../../../../../../../packages/knowledge/dist/index.js","../../../../../../../packages/knowledge/dist/search/federation-search.js","../../../../../../../packages/knowledge/dist/vector/collection-manager.js","../../../../../../../packages/knowledge/dist/vector/hnsw-vector-store.js","../../../../../../../packages/knowledge/dist/vector/vector-indexer.js","../../../../../../../packages/knowledge/node_modules/better-sqlite3","../../../../../../../packages/knowledge/node_modules/fast-glob","../../../../../../../packages/knowledge/node_modules/hnswlib-node","../../../../../../../packages/knowledge/package.json","../../../../../node_modules/@customize-agent/knowledge","../../../../../node_modules/better-sqlite3","../../../../../node_modules/formidable","../../../../../node_modules/next","../../../../../node_modules/xlsx","../../../../../package.json","../../../../../scripts/kb-index-worker.cjs","../../../../package.json","../../../chunks/3328.js","../../../chunks/9705.js","../../../webpack-api-runtime.js"]}
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var a={};a.id=1289,a.ids=[1289],a.modules={21820:a=>{a.exports=require("os")},29021:a=>{a.exports=require("fs")},33873:a=>{a.exports=require("path")},52201:(a,b,c)=>{c.r(b),c.d(b,{config:()=>D,default:()=>C,handler:()=>F});var d={};c.r(d),c.d(d,{default:()=>z});var e=c(11400),f=c(50029),g=c(71086),h=c(38513),i=c(29021),j=c(33873),k=c(21820),l=c(87550),m=c.n(l);let n=j.join(k.homedir(),".customize-agent"),o=j.join(n,"projects","registry.db"),p=j.join(n,"prompts.json");function q(a){return j.resolve(a)}function r(a){let b=q(a),c=q(j.join(k.homedir(),".customize-agent")),d=b.split(j.sep);return b!==j.resolve(j.join(k.homedir(),".customize-agent","demo-project"))&&(b===c||b.endsWith(`${j.sep}apps${j.sep}server`)||b.endsWith(`${j.sep}apps${j.sep}cli`)||d.includes(".customize-agent"))}function s(a){return i.existsSync(o)?new(m())(o,{readonly:a}):null}function t(a){let b=q(a);return"CUSTOMIZE.md"===j.basename(b)&&(function(){let a=new Set,b=q(process.env.CUSTOMIZE_PROJECT_ROOT??process.env.INIT_CWD??process.cwd());r(b)||a.add(b);let c=s(!0);if(!c)return a;try{for(let b of c.prepare("SELECT project_root FROM project_registry").all()){let c=q(String(b.project_root));r(c)||a.add(c)}}finally{c.close()}return a})().has(q(j.dirname(b)))}let u=[{id:"builtin:delta-fact-extraction",name:"内置|三角洲事实抽取提示词",content:`你是“结构化事实抽取专家”。请从知识库资料中抽取可追溯事实,并严格服务于文档规范包。
1
+ "use strict";(()=>{var a={};a.id=1289,a.ids=[1289],a.modules={21820:a=>{a.exports=require("os")},29021:a=>{a.exports=require("fs")},33873:a=>{a.exports=require("path")},52201:(a,b,c)=>{c.r(b),c.d(b,{config:()=>E,default:()=>D,handler:()=>G});var d={};c.r(d),c.d(d,{default:()=>A});var e=c(11400),f=c(50029),g=c(71086),h=c(38513),i=c(29021),j=c(33873),k=c(21820),l=c(87550),m=c.n(l);let n=j.join(k.homedir(),".customize-agent"),o=j.join(n,"projects","registry.db"),p=j.join(n,"prompts.json");function q(a){return j.resolve(a)}function r(a){let b=q(a),c=q(j.join(k.homedir(),".customize-agent")),d=b.split(j.sep);return b!==j.resolve(j.join(k.homedir(),".customize-agent","demo-project"))&&(b===c||b.endsWith(`${j.sep}apps${j.sep}server`)||b.endsWith(`${j.sep}apps${j.sep}cli`)||d.includes(".customize-agent"))}function s(a){return i.existsSync(o)?new(m())(o,{readonly:a}):null}function t(a){let b=q(a);return"CUSTOMIZE.md"===j.basename(b)&&(function(){let a=new Set,b=q(process.env.CUSTOMIZE_PROJECT_ROOT??process.env.INIT_CWD??process.cwd());r(b)||a.add(b);let c=s(!0);if(!c)return a;try{for(let b of c.prepare("SELECT project_root FROM project_registry").all()){let c=q(String(b.project_root));r(c)||a.add(c)}}finally{c.close()}return a})().has(q(j.dirname(b)))}let u=[{id:"builtin:delta-fact-extraction",name:"内置|三角洲事实抽取提示词",content:`你是“结构化事实抽取专家”。请从知识库资料中抽取可追溯事实,并严格服务于文档规范包。
2
2
 
3
3
  抽取范围:
4
4
  1. 干员名称、定位、核心价值、技能特点、推荐指数、上手难度、推荐场景。
@@ -94,4 +94,4 @@
94
94
  - 复核提示独立成节,不混入正文结论。
95
95
  - 删除重复标题、空章节、空列表和无意义占位。
96
96
 
97
- 不得改写事实来源,不得删除 warning 复核原因。`}],v=new Set(u.map(a=>a.id));function w(a){return`file:${q(a)}`}function x(){try{let a=JSON.parse(i.readFileSync(p,"utf-8"));return{selectedIds:Array.isArray(a.selectedIds)?a.selectedIds.map(String):[],customPrompts:Array.isArray(a.customPrompts)?a.customPrompts:[]}}catch{return{selectedIds:[],customPrompts:[]}}}function y(a){i.mkdirSync(j.dirname(p),{recursive:!0}),i.writeFileSync(p,JSON.stringify(a,null,2),"utf-8")}function z(a,b){try{if("GET"===a.method){let a=[],c=[],d=q(process.env.CUSTOMIZE_PROJECT_ROOT??process.env.INIT_CWD??process.cwd()),e=x(),f=w(j.join(d,"CUSTOMIZE.md")),g=i.existsSync(p)&&e.selectedIds.length>0?e.selectedIds:[f],h=s(!0);if(h)try{for(let b of h.prepare("SELECT project_id, project_root, project_name FROM project_registry ORDER BY last_opened_at DESC").all()){let e=q(String(b.project_root));if(r(e)){c.push(String(b.project_id));continue}let f=j.join(e,"CUSTOMIZE.md"),h=i.existsSync(f),k=w(f);a.push({id:k,projectId:String(b.project_id),projectRoot:e,projectName:String(b.project_name||j.basename(e)||e),customizePath:f,content:h?i.readFileSync(f,"utf-8"):"",mtime:h?i.statSync(f).mtime.toISOString():"",hasFile:h,isCurrent:e===d,selected:g.includes(k),source:e===d?"current":"project"})}}finally{h.close()}let k=j.join(d,"CUSTOMIZE.md");if(!r(d)&&!a.some(a=>a.projectRoot===d)){let b=i.existsSync(k);a.unshift({id:f,projectId:"current",projectRoot:d,projectName:j.basename(d)||d,customizePath:k,content:b?i.readFileSync(k,"utf-8"):"",mtime:b?i.statSync(k).mtime.toISOString():"",hasFile:b,isCurrent:!0,selected:g.includes(f),source:"current"})}for(let b of u)a.push({id:b.id,projectId:b.id,projectName:b.name,customizePath:b.id,content:b.content,mtime:"",hasFile:!0,isCurrent:!1,selected:g.includes(b.id),source:"custom"});for(let b of e.customPrompts)a.push({id:b.id,projectId:b.id,projectName:b.name,customizePath:b.id,content:b.content,mtime:b.updatedAt,hasFile:!0,isCurrent:!1,selected:g.includes(b.id),source:"custom"});return!function(a){if(0===a.length)return;let b=s(!1);if(b)try{let c=b.prepare("DELETE FROM project_registry WHERE project_id = ?");for(let b of a)c.run(b)}catch(a){}finally{b.close()}}(c),b.status(200).json(a)}if("POST"===a.method){let{action:c,projectRoot:d,content:e,name:f,selectedIds:g}=a.body,h=x();if("createCustom"===c){let a=new Date().toISOString(),c=`custom:${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;return h.customPrompts.push({id:c,name:String(f||"自定义提示词").trim()||"自定义提示词",content:"string"==typeof e?e:"",createdAt:a,updatedAt:a}),y(h),b.status(200).json({success:!0,id:c})}if("select"===c){let a=new Set([...v,...h.customPrompts.map(a=>a.id)]);return h.selectedIds=Array.isArray(g)?g.map(String).filter(b=>a.has(b)||b.startsWith("file:")):[],y(h),b.status(200).json({success:!0})}let k=q(String(d||""));if(!k||r(k)||!i.existsSync(k))return b.status(403).json({error:"Invalid project root"});let l=j.join(k,"CUSTOMIZE.md");if("create"===c)return i.existsSync(l)||i.writeFileSync(l,"string"==typeof e?e:"","utf-8"),h.selectedIds=Array.from(new Set([...h.selectedIds,w(l)])),y(h),b.status(200).json({success:!0,customizePath:l,mtime:i.statSync(l).mtime.toISOString()});return b.status(400).json({error:"Invalid action"})}if("PUT"===a.method){let{filePath:c,content:d,name:e}=a.body;if(!c||"string"!=typeof d)return b.status(400).json({error:"filePath and content required"});let f=String(c);if(v.has(f))return b.status(403).json({error:"Built-in prompt cannot be edited"});if(f.startsWith("custom:")){let a=x(),c=a.customPrompts.find(a=>a.id===f);if(!c)return b.status(404).json({error:"Prompt not found"});return c.content=d,"string"==typeof e&&e.trim()&&(c.name=e.trim()),c.updatedAt=new Date().toISOString(),y(a),b.status(200).json({success:!0,mtime:c.updatedAt})}let g=q(f);if(!t(g))return b.status(403).json({error:"Invalid prompt file"});let h=j.dirname(g);if(!i.existsSync(h))return b.status(404).json({error:"Project directory not found"});return i.writeFileSync(g,d,"utf-8"),b.status(200).json({success:!0,mtime:i.statSync(g).mtime.toISOString()})}if("DELETE"===a.method){let{projectId:c,filePath:d}=a.body;if(!d)return b.status(400).json({error:"filePath required"});let e=String(d),f=x();if(v.has(e))return b.status(403).json({error:"Built-in prompt cannot be deleted"});if(e.startsWith("custom:"))return f.customPrompts=f.customPrompts.filter(a=>a.id!==e),f.selectedIds=f.selectedIds.filter(a=>a!==e),y(f),b.status(200).json({success:!0});let g=q(e);if(!t(g))return b.status(403).json({error:"Invalid prompt file"});if(i.existsSync(g)&&i.unlinkSync(g),f.selectedIds=f.selectedIds.filter(a=>a!==w(g)),y(f),c&&"current"!==c){let a=s(!1);try{a?.prepare("DELETE FROM project_registry WHERE project_id = ?").run(String(c))}finally{a?.close()}}return b.status(200).json({success:!0})}b.status(405).json({error:"Method not allowed"})}catch(a){console.error("[api] prompt",a),b.status(500).json({error:"Internal server error"})}}var A=c(68970),B=c(50296);let C=(0,h.M)(d,"default"),D=(0,h.M)(d,"config"),E=new g.PagesAPIRouteModule({definition:{kind:f.A.PAGES_API,page:"/api/prompt",pathname:"/api/prompt",bundlePath:"",filename:""},userland:d,distDir:".next",relativeProjectDir:""});async function F(a,b,c){let d=await E.prepare(a,b,{srcPage:"/api/prompt"});if(!d){b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve());return}let{query:f,params:g,prerenderManifest:h,routerServerContext:i}=d;try{let c=a.method||"GET",d=(0,A.getTracer)(),e=d.getActiveScopeSpan(),j=E.instrumentationOnRequestError.bind(E),k=async e=>E.render(a,b,{query:{...f,...g},params:g,allowedRevalidateHeaderKeys:[],multiZoneDraftMode:!1,trustHostHeader:!1,previewProps:h.preview,propagateError:!1,dev:E.isDev,page:"/api/prompt",internalRevalidate:null==i?void 0:i.revalidate,onError:(...b)=>j(a,...b)}).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let f=d.getRootSpanAttributes();if(!f)return;if(f.get("next.span_type")!==B.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${f.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let g=f.get("next.route");if(g){let a=`${c} ${g}`;e.setAttributes({"next.route":g,"http.route":g,"next.span_name":a}),e.updateName(a)}else e.updateName(`${c} ${a.url}`)});e?await k(e):await d.withPropagatedContext(a.headers,()=>d.trace(B.BaseServerSpan.handleRequest,{spanName:`${c} ${a.url}`,kind:A.SpanKind.SERVER,attributes:{"http.method":c,"http.target":a.url}},k))}catch(a){if(E.isDev)throw a;(0,e.sendError)(b,500,"Internal Server Error")}finally{null==c.waitUntil||c.waitUntil.call(c,Promise.resolve())}}},75600:a=>{a.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../webpack-api-runtime.js");b.C(a);var c=b.X(0,[9705],()=>b(b.s=52201));module.exports=c})();
97
+ 不得改写事实来源,不得删除 warning 复核原因。`}],v=new Set(u.map(a=>a.id));function w(a){return`file:${q(a)}`}function x(){try{let a=JSON.parse(i.readFileSync(p,"utf-8"));return{selectedIds:Array.isArray(a.selectedIds)?a.selectedIds.map(String):[],customPrompts:Array.isArray(a.customPrompts)?a.customPrompts:[]}}catch{return{selectedIds:[],customPrompts:[]}}}function y(a){i.mkdirSync(j.dirname(p),{recursive:!0}),i.writeFileSync(p,JSON.stringify(a,null,2),"utf-8")}function z(a){return"string"==typeof a?a:""}function A(a,b){try{if("GET"===a.method){let c=[],d=[],e=q(process.env.CUSTOMIZE_PROJECT_ROOT??process.env.INIT_CWD??process.cwd()),f=x(),g=w(j.join(e,"CUSTOMIZE.md")),h=i.existsSync(p)&&f.selectedIds.length>0?f.selectedIds:[g];if("export"===a.query.mode){let a=new Set(h),c={version:1,exportedAt:new Date().toISOString(),prompts:f.customPrompts.map(b=>({name:b.name,content:b.content,selected:a.has(b.id)}))};return b.setHeader("Content-Type","application/json; charset=utf-8"),b.setHeader("Content-Disposition",`attachment; filename="customize-prompts-${new Date().toISOString().slice(0,10)}.json"`),b.status(200).json(c)}let k=s(!0);if(k)try{for(let a of k.prepare("SELECT project_id, project_root, project_name FROM project_registry ORDER BY last_opened_at DESC").all()){let b=q(String(a.project_root));if(r(b)){d.push(String(a.project_id));continue}let f=j.join(b,"CUSTOMIZE.md"),g=i.existsSync(f),k=w(f);c.push({id:k,projectId:String(a.project_id),projectRoot:b,projectName:String(a.project_name||j.basename(b)||b),customizePath:f,content:g?i.readFileSync(f,"utf-8"):"",mtime:g?i.statSync(f).mtime.toISOString():"",hasFile:g,isCurrent:b===e,selected:h.includes(k),source:b===e?"current":"project"})}}finally{k.close()}let l=j.join(e,"CUSTOMIZE.md");if(!r(e)&&!c.some(a=>a.projectRoot===e)){let a=i.existsSync(l);c.unshift({id:g,projectId:"current",projectRoot:e,projectName:j.basename(e)||e,customizePath:l,content:a?i.readFileSync(l,"utf-8"):"",mtime:a?i.statSync(l).mtime.toISOString():"",hasFile:a,isCurrent:!0,selected:h.includes(g),source:"current"})}for(let a of u)c.push({id:a.id,projectId:a.id,projectName:a.name,customizePath:a.id,content:a.content,mtime:"",hasFile:!0,isCurrent:!1,selected:h.includes(a.id),source:"custom"});for(let a of f.customPrompts)c.push({id:a.id,projectId:a.id,projectName:a.name,customizePath:a.id,content:a.content,mtime:a.updatedAt,hasFile:!0,isCurrent:!1,selected:h.includes(a.id),source:"custom"});return!function(a){if(0===a.length)return;let b=s(!1);if(b)try{let c=b.prepare("DELETE FROM project_registry WHERE project_id = ?");for(let b of a)c.run(b)}catch(a){}finally{b.close()}}(d),b.status(200).json(c)}if("POST"===a.method){var c,d;let{action:e,projectRoot:f,content:g,name:h,selectedIds:k,prompts:l,mode:m}=a.body,n=x();if("import"===e||"import"===m){let e=(c=l??a.body,(Array.isArray(c)?c:c&&"object"==typeof c&&Array.isArray(c.prompts)?c.prompts:[]).filter(a=>!!a&&"object"==typeof a).filter(a=>!!z(a.content).trim()));if(0===e.length)return b.status(400).json({error:"没有可导入的提示词"});let f=new Date().toISOString(),g=[];for(let a of e){let b=`custom:${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;n.customPrompts.push({id:b,name:(d=a.name,("string"==typeof d?d.trim():"").slice(0,120)||"导入提示词"),content:z(a.content),createdAt:f,updatedAt:f}),g.push(b)}let h=e.map((a,b)=>a.selected?g[b]:void 0).filter(Boolean);return h.length>0&&(n.selectedIds=Array.from(new Set([...n.selectedIds,...h]))),y(n),b.status(200).json({success:!0,imported:g.length,ids:g})}if("createCustom"===e){let a=new Date().toISOString(),c=`custom:${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;return n.customPrompts.push({id:c,name:String(h||"自定义提示词").trim()||"自定义提示词",content:"string"==typeof g?g:"",createdAt:a,updatedAt:a}),y(n),b.status(200).json({success:!0,id:c})}if("select"===e){let a=new Set([...v,...n.customPrompts.map(a=>a.id)]);return n.selectedIds=Array.isArray(k)?k.map(String).filter(b=>a.has(b)||b.startsWith("file:")):[],y(n),b.status(200).json({success:!0})}let o=q(String(f||""));if(!o||r(o)||!i.existsSync(o))return b.status(403).json({error:"Invalid project root"});let p=j.join(o,"CUSTOMIZE.md");if("create"===e)return i.existsSync(p)||i.writeFileSync(p,"string"==typeof g?g:"","utf-8"),n.selectedIds=Array.from(new Set([...n.selectedIds,w(p)])),y(n),b.status(200).json({success:!0,customizePath:p,mtime:i.statSync(p).mtime.toISOString()});return b.status(400).json({error:"Invalid action"})}if("PUT"===a.method){let{filePath:c,content:d,name:e}=a.body;if(!c||"string"!=typeof d)return b.status(400).json({error:"filePath and content required"});let f=String(c);if(v.has(f))return b.status(403).json({error:"Built-in prompt cannot be edited"});if(f.startsWith("custom:")){let a=x(),c=a.customPrompts.find(a=>a.id===f);if(!c)return b.status(404).json({error:"Prompt not found"});return c.content=d,"string"==typeof e&&e.trim()&&(c.name=e.trim()),c.updatedAt=new Date().toISOString(),y(a),b.status(200).json({success:!0,mtime:c.updatedAt})}let g=q(f);if(!t(g))return b.status(403).json({error:"Invalid prompt file"});let h=j.dirname(g);if(!i.existsSync(h))return b.status(404).json({error:"Project directory not found"});return i.writeFileSync(g,d,"utf-8"),b.status(200).json({success:!0,mtime:i.statSync(g).mtime.toISOString()})}if("DELETE"===a.method){let{projectId:c,filePath:d}=a.body;if(!d)return b.status(400).json({error:"filePath required"});let e=String(d),f=x();if(v.has(e))return b.status(403).json({error:"Built-in prompt cannot be deleted"});if(e.startsWith("custom:"))return f.customPrompts=f.customPrompts.filter(a=>a.id!==e),f.selectedIds=f.selectedIds.filter(a=>a!==e),y(f),b.status(200).json({success:!0});let g=q(e);if(!t(g))return b.status(403).json({error:"Invalid prompt file"});if(i.existsSync(g)&&i.unlinkSync(g),f.selectedIds=f.selectedIds.filter(a=>a!==w(g)),y(f),c&&"current"!==c){let a=s(!1);try{a?.prepare("DELETE FROM project_registry WHERE project_id = ?").run(String(c))}finally{a?.close()}}return b.status(200).json({success:!0})}b.status(405).json({error:"Method not allowed"})}catch(a){console.error("[api] prompt",a),b.status(500).json({error:"Internal server error"})}}var B=c(68970),C=c(50296);let D=(0,h.M)(d,"default"),E=(0,h.M)(d,"config"),F=new g.PagesAPIRouteModule({definition:{kind:f.A.PAGES_API,page:"/api/prompt",pathname:"/api/prompt",bundlePath:"",filename:""},userland:d,distDir:".next",relativeProjectDir:""});async function G(a,b,c){let d=await F.prepare(a,b,{srcPage:"/api/prompt"});if(!d){b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve());return}let{query:f,params:g,prerenderManifest:h,routerServerContext:i}=d;try{let c=a.method||"GET",d=(0,B.getTracer)(),e=d.getActiveScopeSpan(),j=F.instrumentationOnRequestError.bind(F),k=async e=>F.render(a,b,{query:{...f,...g},params:g,allowedRevalidateHeaderKeys:[],multiZoneDraftMode:!1,trustHostHeader:!1,previewProps:h.preview,propagateError:!1,dev:F.isDev,page:"/api/prompt",internalRevalidate:null==i?void 0:i.revalidate,onError:(...b)=>j(a,...b)}).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let f=d.getRootSpanAttributes();if(!f)return;if(f.get("next.span_type")!==C.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${f.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let g=f.get("next.route");if(g){let a=`${c} ${g}`;e.setAttributes({"next.route":g,"http.route":g,"next.span_name":a}),e.updateName(a)}else e.updateName(`${c} ${a.url}`)});e?await k(e):await d.withPropagatedContext(a.headers,()=>d.trace(C.BaseServerSpan.handleRequest,{spanName:`${c} ${a.url}`,kind:B.SpanKind.SERVER,attributes:{"http.method":c,"http.target":a.url}},k))}catch(a){if(F.isDev)throw a;(0,e.sendError)(b,500,"Internal Server Error")}finally{null==c.waitUntil||c.waitUntil.call(c,Promise.resolve())}}},75600:a=>{a.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../webpack-api-runtime.js");b.C(a);var c=b.X(0,[9705],()=>b(b.s=52201));module.exports=c})();
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" data-next-head=""/><link rel="preload" href="/_next/static/css/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-57ea5987913f2159.js" defer=""></script><script src="/_next/static/chunks/433-ef3d7675b81826a9.js" defer=""></script><script src="/_next/static/chunks/787-196a2bed7b11745a.js" defer=""></script><script src="/_next/static/chunks/150-a7b953a600cbd7e0.js" defer=""></script><script src="/_next/static/chunks/749-dcb0cd85d1455f34.js" defer=""></script><script src="/_next/static/chunks/pages/asset-library-e9ddfe1cbaac42d9.js" defer=""></script><script src="/_next/static/_7Cb4Q9IXzO8TEjTLJuqZ/_buildManifest.js" defer=""></script><script src="/_next/static/_7Cb4Q9IXzO8TEjTLJuqZ/_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="/document-specs"><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-file-text"><path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"></path><path d="M14 2v4a2 2 0 0 0 2 2h4"></path><path d="M10 9H8"></path><path d="M16 13H8"></path><path d="M16 17H8"></path></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 sidebarItemActive"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-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 class="space-y-5 animateFadeIn"><div class="ant-skeleton ant-skeleton-active css-1pi45l5 css-var-_R_16_"><div class="ant-skeleton-section"><h3 class="ant-skeleton-title" style="width:38%"></h3><ul class="ant-skeleton-paragraph"><li style="width:61%"></li></ul></div></div><div class="ant-row css-1pi45l5 css-var-_R_16_" style="margin-inline:-6px;row-gap:12px"><div style="padding-inline:6px" class="ant-col ant-col-xs-24 ant-col-sm-12 ant-col-md-8 ant-col-xl-6 css-1pi45l5 css-var-_R_16_"><div class="ant-card ant-card-bordered ant-card-small css-1pi45l5 css-var-_R_16_"><div class="ant-card-body"><div class="ant-skeleton ant-skeleton-active css-1pi45l5 css-var-_R_16_"><div class="ant-skeleton-section"><h3 class="ant-skeleton-title" style="width:38%"></h3><ul class="ant-skeleton-paragraph"><li></li><li></li><li style="width:61%"></li></ul></div></div></div></div></div><div style="padding-inline:6px" class="ant-col ant-col-xs-24 ant-col-sm-12 ant-col-md-8 ant-col-xl-6 css-1pi45l5 css-var-_R_16_"><div class="ant-card ant-card-bordered ant-card-small css-1pi45l5 css-var-_R_16_"><div class="ant-card-body"><div class="ant-skeleton ant-skeleton-active css-1pi45l5 css-var-_R_16_"><div class="ant-skeleton-section"><h3 class="ant-skeleton-title" style="width:38%"></h3><ul class="ant-skeleton-paragraph"><li></li><li></li><li style="width:61%"></li></ul></div></div></div></div></div><div style="padding-inline:6px" class="ant-col ant-col-xs-24 ant-col-sm-12 ant-col-md-8 ant-col-xl-6 css-1pi45l5 css-var-_R_16_"><div class="ant-card ant-card-bordered ant-card-small css-1pi45l5 css-var-_R_16_"><div class="ant-card-body"><div class="ant-skeleton ant-skeleton-active css-1pi45l5 css-var-_R_16_"><div class="ant-skeleton-section"><h3 class="ant-skeleton-title" style="width:38%"></h3><ul class="ant-skeleton-paragraph"><li></li><li></li><li style="width:61%"></li></ul></div></div></div></div></div><div style="padding-inline:6px" class="ant-col ant-col-xs-24 ant-col-sm-12 ant-col-md-8 ant-col-xl-6 css-1pi45l5 css-var-_R_16_"><div class="ant-card ant-card-bordered ant-card-small css-1pi45l5 css-var-_R_16_"><div class="ant-card-body"><div class="ant-skeleton ant-skeleton-active css-1pi45l5 css-var-_R_16_"><div class="ant-skeleton-section"><h3 class="ant-skeleton-title" style="width:38%"></h3><ul class="ant-skeleton-paragraph"><li></li><li></li><li style="width:61%"></li></ul></div></div></div></div></div><div style="padding-inline:6px" class="ant-col ant-col-xs-24 ant-col-sm-12 ant-col-md-8 ant-col-xl-6 css-1pi45l5 css-var-_R_16_"><div class="ant-card ant-card-bordered ant-card-small css-1pi45l5 css-var-_R_16_"><div class="ant-card-body"><div class="ant-skeleton ant-skeleton-active css-1pi45l5 css-var-_R_16_"><div class="ant-skeleton-section"><h3 class="ant-skeleton-title" style="width:38%"></h3><ul class="ant-skeleton-paragraph"><li></li><li></li><li style="width:61%"></li></ul></div></div></div></div></div><div style="padding-inline:6px" class="ant-col ant-col-xs-24 ant-col-sm-12 ant-col-md-8 ant-col-xl-6 css-1pi45l5 css-var-_R_16_"><div class="ant-card ant-card-bordered ant-card-small css-1pi45l5 css-var-_R_16_"><div class="ant-card-body"><div class="ant-skeleton ant-skeleton-active css-1pi45l5 css-var-_R_16_"><div class="ant-skeleton-section"><h3 class="ant-skeleton-title" style="width:38%"></h3><ul class="ant-skeleton-paragraph"><li></li><li></li><li style="width:61%"></li></ul></div></div></div></div></div></div></div></main></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/asset-library","query":{},"buildId":"_7Cb4Q9IXzO8TEjTLJuqZ","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" data-next-head=""/><link rel="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-c3312d1cfa7c8b29.js" defer=""></script><script src="/_next/static/chunks/433-ef3d7675b81826a9.js" defer=""></script><script src="/_next/static/chunks/787-196a2bed7b11745a.js" defer=""></script><script src="/_next/static/chunks/150-a7b953a600cbd7e0.js" defer=""></script><script src="/_next/static/chunks/749-dcb0cd85d1455f34.js" defer=""></script><script src="/_next/static/chunks/pages/asset-library-e9ddfe1cbaac42d9.js" defer=""></script><script src="/_next/static/8eU3KpI2OMNgfQb1_1boq/_buildManifest.js" defer=""></script><script src="/_next/static/8eU3KpI2OMNgfQb1_1boq/_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="/document-specs"><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-file-text"><path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"></path><path d="M14 2v4a2 2 0 0 0 2 2h4"></path><path d="M10 9H8"></path><path d="M16 13H8"></path><path d="M16 17H8"></path></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 sidebarItemActive"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-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 class="space-y-5 animateFadeIn"><div class="ant-skeleton ant-skeleton-active css-1pi45l5 css-var-_R_16_"><div class="ant-skeleton-section"><h3 class="ant-skeleton-title" style="width:38%"></h3><ul class="ant-skeleton-paragraph"><li style="width:61%"></li></ul></div></div><div class="ant-row css-1pi45l5 css-var-_R_16_" style="margin-inline:-6px;row-gap:12px"><div style="padding-inline:6px" class="ant-col ant-col-xs-24 ant-col-sm-12 ant-col-md-8 ant-col-xl-6 css-1pi45l5 css-var-_R_16_"><div class="ant-card ant-card-bordered ant-card-small css-1pi45l5 css-var-_R_16_"><div class="ant-card-body"><div class="ant-skeleton ant-skeleton-active css-1pi45l5 css-var-_R_16_"><div class="ant-skeleton-section"><h3 class="ant-skeleton-title" style="width:38%"></h3><ul class="ant-skeleton-paragraph"><li></li><li></li><li style="width:61%"></li></ul></div></div></div></div></div><div style="padding-inline:6px" class="ant-col ant-col-xs-24 ant-col-sm-12 ant-col-md-8 ant-col-xl-6 css-1pi45l5 css-var-_R_16_"><div class="ant-card ant-card-bordered ant-card-small css-1pi45l5 css-var-_R_16_"><div class="ant-card-body"><div class="ant-skeleton ant-skeleton-active css-1pi45l5 css-var-_R_16_"><div class="ant-skeleton-section"><h3 class="ant-skeleton-title" style="width:38%"></h3><ul class="ant-skeleton-paragraph"><li></li><li></li><li style="width:61%"></li></ul></div></div></div></div></div><div style="padding-inline:6px" class="ant-col ant-col-xs-24 ant-col-sm-12 ant-col-md-8 ant-col-xl-6 css-1pi45l5 css-var-_R_16_"><div class="ant-card ant-card-bordered ant-card-small css-1pi45l5 css-var-_R_16_"><div class="ant-card-body"><div class="ant-skeleton ant-skeleton-active css-1pi45l5 css-var-_R_16_"><div class="ant-skeleton-section"><h3 class="ant-skeleton-title" style="width:38%"></h3><ul class="ant-skeleton-paragraph"><li></li><li></li><li style="width:61%"></li></ul></div></div></div></div></div><div style="padding-inline:6px" class="ant-col ant-col-xs-24 ant-col-sm-12 ant-col-md-8 ant-col-xl-6 css-1pi45l5 css-var-_R_16_"><div class="ant-card ant-card-bordered ant-card-small css-1pi45l5 css-var-_R_16_"><div class="ant-card-body"><div class="ant-skeleton ant-skeleton-active css-1pi45l5 css-var-_R_16_"><div class="ant-skeleton-section"><h3 class="ant-skeleton-title" style="width:38%"></h3><ul class="ant-skeleton-paragraph"><li></li><li></li><li style="width:61%"></li></ul></div></div></div></div></div><div style="padding-inline:6px" class="ant-col ant-col-xs-24 ant-col-sm-12 ant-col-md-8 ant-col-xl-6 css-1pi45l5 css-var-_R_16_"><div class="ant-card ant-card-bordered ant-card-small css-1pi45l5 css-var-_R_16_"><div class="ant-card-body"><div class="ant-skeleton ant-skeleton-active css-1pi45l5 css-var-_R_16_"><div class="ant-skeleton-section"><h3 class="ant-skeleton-title" style="width:38%"></h3><ul class="ant-skeleton-paragraph"><li></li><li></li><li style="width:61%"></li></ul></div></div></div></div></div><div style="padding-inline:6px" class="ant-col ant-col-xs-24 ant-col-sm-12 ant-col-md-8 ant-col-xl-6 css-1pi45l5 css-var-_R_16_"><div class="ant-card ant-card-bordered ant-card-small css-1pi45l5 css-var-_R_16_"><div class="ant-card-body"><div class="ant-skeleton ant-skeleton-active css-1pi45l5 css-var-_R_16_"><div class="ant-skeleton-section"><h3 class="ant-skeleton-title" style="width:38%"></h3><ul class="ant-skeleton-paragraph"><li></li><li></li><li style="width:61%"></li></ul></div></div></div></div></div></div></div></main></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/asset-library","query":{},"buildId":"8eU3KpI2OMNgfQb1_1boq","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>