@customize-agent/server 3.0.21 → 3.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/build-manifest.json +10 -10
- package/.next/prerender-manifest.json +3 -3
- package/.next/server/chunks/3328.js +31 -14
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/api/config/providers.js +1 -1
- package/.next/server/pages/api/kb/files.js +1 -1
- package/.next/server/pages/asset-library.html +1 -1
- package/.next/server/pages/context/long-term.html +1 -1
- package/.next/server/pages/context/short-term.html +1 -1
- package/.next/server/pages/documents.html +1 -1
- package/.next/server/pages/guide.html +1 -1
- package/.next/server/pages/knowledge/file-detail.html +1 -1
- package/.next/server/pages/knowledge/files.html +1 -1
- package/.next/server/pages/knowledge/manage.html +1 -1
- package/.next/server/pages-manifest.json +24 -24
- package/.next/static/chunks/{400-abd7e48f79188ec3.js → 400-1fa1899b7c3f0bb4.js} +1 -1
- package/.next/static/chunks/858-5e6982e2b239d4b7.js +1 -0
- package/.next/static/chunks/{881-b5a658237b19bd79.js → 881-a1eb917222b66f09.js} +1 -1
- package/.next/static/chunks/pages/documents-47516fed70f892dc.js +1 -0
- package/.next/static/chunks/pages/guide-8b0f474da04fc9f1.js +1 -0
- package/.next/static/customize-agent-dashboard/_buildManifest.js +1 -1
- package/package.json +3 -3
- package/.next/static/chunks/858-42fbb80a88a6319b.js +0 -1
- package/.next/static/chunks/pages/documents-de624d1ff498bffe.js +0 -1
- package/.next/static/chunks/pages/guide-45b093499a3729f0.js +0 -1
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"static/chunks/183-8da0232dd30cdc81.js",
|
|
45
45
|
"static/chunks/292-f0a2c92861c304e6.js",
|
|
46
46
|
"static/chunks/951-8ecf8af33ab36369.js",
|
|
47
|
-
"static/chunks/881-
|
|
47
|
+
"static/chunks/881-a1eb917222b66f09.js",
|
|
48
48
|
"static/chunks/pages/asset-library-82606363f9142bad.js"
|
|
49
49
|
],
|
|
50
50
|
"/context/long-term": [
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"static/chunks/183-8da0232dd30cdc81.js",
|
|
63
63
|
"static/chunks/985-4b4a3ed36ada16eb.js",
|
|
64
64
|
"static/chunks/232-813af4932a145fdc.js",
|
|
65
|
-
"static/chunks/400-
|
|
65
|
+
"static/chunks/400-1fa1899b7c3f0bb4.js",
|
|
66
66
|
"static/chunks/257-e4ebae17a8ee8412.js",
|
|
67
67
|
"static/chunks/pages/context/long-term-f2a550bc848ec1a3.js"
|
|
68
68
|
],
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"static/chunks/183-8da0232dd30cdc81.js",
|
|
82
82
|
"static/chunks/985-4b4a3ed36ada16eb.js",
|
|
83
83
|
"static/chunks/232-813af4932a145fdc.js",
|
|
84
|
-
"static/chunks/400-
|
|
84
|
+
"static/chunks/400-1fa1899b7c3f0bb4.js",
|
|
85
85
|
"static/chunks/257-e4ebae17a8ee8412.js",
|
|
86
86
|
"static/chunks/pages/context/short-term-1de28da82d2b6276.js"
|
|
87
87
|
],
|
|
@@ -136,9 +136,9 @@
|
|
|
136
136
|
"static/chunks/232-813af4932a145fdc.js",
|
|
137
137
|
"static/chunks/292-f0a2c92861c304e6.js",
|
|
138
138
|
"static/chunks/951-8ecf8af33ab36369.js",
|
|
139
|
-
"static/chunks/858-
|
|
139
|
+
"static/chunks/858-5e6982e2b239d4b7.js",
|
|
140
140
|
"static/chunks/617-68a9e848c380f9c3.js",
|
|
141
|
-
"static/chunks/pages/documents-
|
|
141
|
+
"static/chunks/pages/documents-47516fed70f892dc.js"
|
|
142
142
|
],
|
|
143
143
|
"/guide": [
|
|
144
144
|
"static/chunks/webpack-77d10b4726f13aa5.js",
|
|
@@ -148,9 +148,9 @@
|
|
|
148
148
|
"static/chunks/167-d4f384b289ecb70c.js",
|
|
149
149
|
"static/chunks/382-6ab5f41cd91edad0.js",
|
|
150
150
|
"static/chunks/292-f0a2c92861c304e6.js",
|
|
151
|
-
"static/chunks/858-
|
|
151
|
+
"static/chunks/858-5e6982e2b239d4b7.js",
|
|
152
152
|
"static/chunks/969-5d5ff5a3ed74f52b.js",
|
|
153
|
-
"static/chunks/pages/guide-
|
|
153
|
+
"static/chunks/pages/guide-8b0f474da04fc9f1.js"
|
|
154
154
|
],
|
|
155
155
|
"/knowledge": [
|
|
156
156
|
"static/chunks/webpack-77d10b4726f13aa5.js",
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
"static/chunks/700-5d29b0475311f590.js",
|
|
172
172
|
"static/chunks/174-51b6d64f21e9b976.js",
|
|
173
173
|
"static/chunks/985-4b4a3ed36ada16eb.js",
|
|
174
|
-
"static/chunks/400-
|
|
174
|
+
"static/chunks/400-1fa1899b7c3f0bb4.js",
|
|
175
175
|
"static/chunks/292-f0a2c92861c304e6.js",
|
|
176
176
|
"static/chunks/350-8c5e13c0577a38c3.js",
|
|
177
177
|
"static/chunks/80-96429163e5c103a8.js",
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
"static/chunks/700-5d29b0475311f590.js",
|
|
192
192
|
"static/chunks/174-51b6d64f21e9b976.js",
|
|
193
193
|
"static/chunks/985-4b4a3ed36ada16eb.js",
|
|
194
|
-
"static/chunks/400-
|
|
194
|
+
"static/chunks/400-1fa1899b7c3f0bb4.js",
|
|
195
195
|
"static/chunks/15-4683808cb8db7005.js",
|
|
196
196
|
"static/css/d284a7454d6f6b06.css",
|
|
197
197
|
"static/chunks/pages/knowledge/files-f0e05583bf7c57d9.js"
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
"static/chunks/700-5d29b0475311f590.js",
|
|
209
209
|
"static/chunks/174-51b6d64f21e9b976.js",
|
|
210
210
|
"static/chunks/985-4b4a3ed36ada16eb.js",
|
|
211
|
-
"static/chunks/400-
|
|
211
|
+
"static/chunks/400-1fa1899b7c3f0bb4.js",
|
|
212
212
|
"static/chunks/577-5b2691f0c8f17187.js",
|
|
213
213
|
"static/chunks/935-daa0026982d7fa8d.js",
|
|
214
214
|
"static/chunks/pages/knowledge/manage-8acff53019eb6cc1.js"
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"routes": {},
|
|
4
4
|
"dynamicRoutes": {},
|
|
5
5
|
"preview": {
|
|
6
|
-
"previewModeId": "
|
|
7
|
-
"previewModeSigningKey": "
|
|
8
|
-
"previewModeEncryptionKey": "
|
|
6
|
+
"previewModeId": "be7e6238bbee3dc6e4d5d45979485d6c",
|
|
7
|
+
"previewModeSigningKey": "35f773e99d4c0be4319061039d1dc105ae9a880cf96c5f2339d44c847bbb05b7",
|
|
8
|
+
"previewModeEncryptionKey": "8015a11e6e3903308d42a9c339d7dbb53cdedc823d5e5e49cbaafdc0b37aa82e"
|
|
9
9
|
},
|
|
10
10
|
"notFoundRoutes": []
|
|
11
11
|
}
|
|
@@ -144,15 +144,23 @@
|
|
|
144
144
|
- 图片或地图只有展示,没有说明其用途。
|
|
145
145
|
|
|
146
146
|
## 通过标准
|
|
147
|
-
文档应能说明:使用了哪些文件角色、哪些提示词角色、哪些规范包规则,以及最终导出为什么可以交付。`}))m(g.join(c,a),b);n(g.join(c,"表格数据","表格数据-热门干员推荐.xlsx")),n(g.join(c,"表格数据","表格数据-热门干员推荐.xls")),m(g.join(c,"文档资料","Word资料-队伍搭配说明.doc"),"【内置 DOC 示例】\n队伍搭配建议:露娜负责侦察和路线判断,蜂医负责治疗和救援,红狼负责突破,牧羊人负责防守控场。\n"),function(a,b,c){if(i.existsSync(a)&&i.statSync(a).size>1e3)return;i.mkdirSync(g.dirname(a),{recursive:!0});let d=`
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
147
|
+
文档应能说明:使用了哪些文件角色、哪些提示词角色、哪些规范包规则,以及最终导出为什么可以交付。`}))m(g.join(c,a),b);n(g.join(c,"表格数据","表格数据-热门干员推荐.xlsx")),n(g.join(c,"表格数据","表格数据-热门干员推荐.xls")),m(g.join(c,"文档资料","Word资料-队伍搭配说明.doc"),"【内置 DOC 示例】\n队伍搭配建议:露娜负责侦察和路线判断,蜂医负责治疗和救援,红狼负责突破,牧羊人负责防守控场。\n"),function(a,b,c){if(i.existsSync(a)&&i.statSync(a).size>1e3)return;i.mkdirSync(g.dirname(a),{recursive:!0});let d=`
|
|
148
|
+
const fs = require('fs');
|
|
149
|
+
const JSZip = require('jszip');
|
|
150
|
+
const out = process.argv[1];
|
|
151
|
+
const title = process.argv[2];
|
|
152
|
+
const paragraphs = process.argv.slice(3);
|
|
153
|
+
const escapeXml = text => String(text).replace(/[<>&"']/g, char => ({ '<': '<', '>': '>', '&': '&', '"': '"', "'": ''' }[char]));
|
|
154
|
+
const paragraph = text => '<w:p><w:r><w:t>' + escapeXml(text) + '</w:t></w:r></w:p>';
|
|
155
|
+
const xml = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><w:document xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"><w:body>' + paragraph(title) + paragraphs.map(paragraph).join('') + '<w:sectPr/></w:body></w:document>';
|
|
156
|
+
(async () => {
|
|
157
|
+
const zip = new JSZip();
|
|
158
|
+
zip.file('[Content_Types].xml', '<?xml version="1.0" encoding="UTF-8"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Default Extension="xml" ContentType="application/xml"/><Override PartName="/word/document.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"/></Types>');
|
|
159
|
+
zip.file('_rels/.rels', '<?xml version="1.0" encoding="UTF-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="word/document.xml"/></Relationships>');
|
|
160
|
+
zip.file('word/document.xml', xml);
|
|
161
|
+
fs.writeFileSync(out, await zip.generateAsync({ type: 'nodebuffer', compression: 'DEFLATE' }));
|
|
162
|
+
})().catch(error => { console.error(error); process.exit(1); });
|
|
163
|
+
`;(0,j.execFileSync)(process.execPath,["-e",d,a,b,...c],{stdio:"pipe"})}(g.join(c,"文档资料","Word资料-队伍搭配说明.docx"),"三角洲行动队伍搭配说明",["露娜负责侦察和路线判断,蜂医负责治疗和救援。","红狼适合突破和正面压制,牧羊人适合防守控场。","内置 DOCX 用于验证 Word 类文件解析、索引、角色绑定和文档生成全流程。"]),function(a,b){if(i.existsSync(a)&&i.statSync(a).size>500)return;i.mkdirSync(g.dirname(a),{recursive:!0});let c=`%PDF-1.4
|
|
156
164
|
1 0 obj<</Type/Catalog/Pages 2 0 R>>endobj
|
|
157
165
|
2 0 obj<</Type/Pages/Count 1/Kids[3 0 R]>>endobj
|
|
158
166
|
3 0 obj<</Type/Page/Parent 2 0 R/MediaBox[0 0 595 842]/Contents 4 0 R/Resources<</Font<</F1 5 0 R>>>>>>endobj
|
|
@@ -162,13 +170,19 @@ endstream endobj
|
|
|
162
170
|
5 0 obj<</Type/Font/Subtype/Type1/BaseFont/Helvetica>>endobj
|
|
163
171
|
trailer<</Root 1 0 R>>
|
|
164
172
|
%%EOF
|
|
165
|
-
`;i.writeFileSync(a,c,"binary")}(g.join(c,"文档资料","PDF资料-官方攻略摘录.pdf"),"Delta Force Builtin PDF Sample");let d=["# 【内置】干员图片资料","","图片公开来源:PlayerHub / luoy-oss deltaforce_id 公开索引",""];for(let[a,b]of Object.entries({"露娜.png":"https://playerhub.df.qq.com/playerhub/60004/object/p_88000000028.png","红狼.png":"https://playerhub.df.qq.com/playerhub/60004/object/p_88000000030.png","牧羊人.png":"https://playerhub.df.qq.com/playerhub/60004/object/p_88000000029.png","蜂医.png":"https://playerhub.df.qq.com/playerhub/60004/object/p_88000000027.png"})){let e=g.join(c,"图片素材","干员图片",a);!function(a,b,c){if(!i.existsSync(b)||!(i.statSync(b).size>=1e3)){var d=(
|
|
173
|
+
`;i.writeFileSync(a,c,"binary")}(g.join(c,"文档资料","PDF资料-官方攻略摘录.pdf"),"Delta Force Builtin PDF Sample");let d=["# 【内置】干员图片资料","","图片公开来源:PlayerHub / luoy-oss deltaforce_id 公开索引",""];for(let[a,b]of Object.entries({"露娜.png":"https://playerhub.df.qq.com/playerhub/60004/object/p_88000000028.png","红狼.png":"https://playerhub.df.qq.com/playerhub/60004/object/p_88000000030.png","牧羊人.png":"https://playerhub.df.qq.com/playerhub/60004/object/p_88000000029.png","蜂医.png":"https://playerhub.df.qq.com/playerhub/60004/object/p_88000000027.png"})){let e=g.join(c,"图片素材","干员图片",a);!function(a,b,c){if(!i.existsSync(b)||!(i.statSync(b).size>=1e3)){var d=function(a){let b=`
|
|
174
|
+
const url = process.argv[1];
|
|
175
|
+
(async () => {
|
|
176
|
+
const response = await fetch(url, { headers: { 'User-Agent': 'Mozilla/5.0' }, signal: AbortSignal.timeout(30000) });
|
|
177
|
+
if (!response.ok) throw new Error(\`HTTP \${response.status} \${response.statusText}: \${url}\`);
|
|
178
|
+
process.stdout.write(Buffer.from(await response.arrayBuffer()));
|
|
179
|
+
})().catch(error => { console.error(error); process.exit(1); });
|
|
180
|
+
`;return(0,j.execFileSync)(process.execPath,["-e",b,a],{encoding:"buffer",maxBuffer:0x1e00000})}(a);if(i.mkdirSync(g.dirname(b),{recursive:!0}),d.length<1e3)throw Error(`内置资料下载失败或文件过小:${a}`);let e=g.join(g.dirname(b),`.${g.basename(b)}.${process.pid}.tmp`);try{i.writeFileSync(e,d),i.renameSync(e,b)}catch(c){try{i.existsSync(e)&&i.rmSync(e,{force:!0})}catch{console.warn("[builtin-demo] 临时文件清理失败",e)}throw Error(`内置资料写入失败:${b},来源:${a},原因:${c instanceof Error?c.message:String(c)}`,{cause:c})}if(!i.existsSync(b)||i.statSync(b).size<c)throw Error(`内置资料写入失败或文件过小:${a}`);try{i.writeFileSync(`${b}.source.txt`,`公开来源:${a}
|
|
166
181
|
本地文件:${g.basename(b)}
|
|
167
182
|
文件大小:${i.statSync(b).size} 字节
|
|
168
183
|
`,"utf-8")}catch{}}}(b,e,1e3),d.push(`- ${a.replace(".png","")}:${b};本地文件:${g.relative(c,e)};大小:${i.statSync(e).size} 字节`)}m(g.join(c,"图片素材","图片文件-干员图片来源.md"),d.join("\n"));let e=["# 【内置】三角洲官方完整地图图纸资料","","来源页面:https://df.qq.com/cp/a20240729directory/","说明:该官方地图工具使用 Leaflet 瓦片图作为地图图纸/底图资源,以下文件不是单瓦片,而是由官方 4x4 瓦片网格拼接得到的完整地图图纸。",""];for(let[a,b]of Object.entries({"零号大坝-官方完整地图图纸.jpg":"map_db","航天基地-官方完整地图图纸.jpg":"map_htjd","巴克什-官方完整地图图纸.jpg":"map_bks","潮汐监狱-官方完整地图图纸.jpg":"map_cxjy","AZ3-官方完整地图图纸.jpg":"map_az3","全面战场-攀升官方完整地图图纸.jpg":"map_qhz"})){let d=g.join(c,"图片素材","干员图片",`地图图纸-${a}`);!function(a,b,c){if(i.existsSync(b)&&i.statSync(b).size>=5e4)return;i.mkdirSync(g.dirname(b),{recursive:!0});let d=`
|
|
169
184
|
const { createCanvas, loadImage } = require('@napi-rs/canvas');
|
|
170
185
|
const fs = require('fs');
|
|
171
|
-
const cp = require('child_process');
|
|
172
186
|
const mapName = process.argv[1];
|
|
173
187
|
const out = process.argv[2];
|
|
174
188
|
const zoom = 2;
|
|
@@ -176,13 +190,16 @@ const tileSize = 256;
|
|
|
176
190
|
const gridSize = 4;
|
|
177
191
|
const canvas = createCanvas(tileSize * gridSize, tileSize * gridSize);
|
|
178
192
|
const ctx = canvas.getContext('2d');
|
|
193
|
+
async function download(url) {
|
|
194
|
+
const response = await fetch(url, { headers: { 'User-Agent': 'Mozilla/5.0' }, signal: AbortSignal.timeout(30000) });
|
|
195
|
+
if (!response.ok) throw new Error(\`HTTP \${response.status} \${response.statusText}: \${url}\`);
|
|
196
|
+
return Buffer.from(await response.arrayBuffer());
|
|
197
|
+
}
|
|
179
198
|
(async () => {
|
|
180
199
|
for (let y = 0; y < gridSize; y++) {
|
|
181
200
|
for (let x = 0; x < gridSize; x++) {
|
|
182
201
|
const url = \`https://game.gtimg.cn/images/dfm/cp/a20240729directory/img/\${mapName}/\${zoom}_\${x}_\${y}.jpg\`;
|
|
183
|
-
const
|
|
184
|
-
const data = cp.execFileSync('python3', ['-c', py, url], { encoding: 'buffer', maxBuffer: 30 * 1024 * 1024 });
|
|
185
|
-
const image = await loadImage(data);
|
|
202
|
+
const image = await loadImage(await download(url));
|
|
186
203
|
ctx.drawImage(image, x * tileSize, y * tileSize, tileSize, tileSize);
|
|
187
204
|
}
|
|
188
205
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],ampDevFiles:[],lowPriorityFiles:[],rootMainFiles:[],rootMainFilesTree:{},pages:{"/":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/pages/index-c5e0758e6b31deee.js"],"/_app":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/css/9af88fe8ee791d26.css","static/chunks/pages/_app-b1f31c6bbc0bb7b1.js"],"/_error":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/pages/_error-282257fbdcc167b4.js"],"/asset-library":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/628-27424ba8ca9ca8ce.js","static/chunks/271-39045be4cdbd6af1.js","static/chunks/700-5d29b0475311f590.js","static/chunks/174-51b6d64f21e9b976.js","static/chunks/183-8da0232dd30cdc81.js","static/chunks/292-f0a2c92861c304e6.js","static/chunks/951-8ecf8af33ab36369.js","static/chunks/881-b5a658237b19bd79.js","static/chunks/pages/asset-library-82606363f9142bad.js"],"/context/long-term":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/628-27424ba8ca9ca8ce.js","static/chunks/271-39045be4cdbd6af1.js","static/chunks/576-fd55b302cb0c9a48.js","static/chunks/700-5d29b0475311f590.js","static/chunks/174-51b6d64f21e9b976.js","static/chunks/183-8da0232dd30cdc81.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/232-813af4932a145fdc.js","static/chunks/400-abd7e48f79188ec3.js","static/chunks/257-e4ebae17a8ee8412.js","static/chunks/pages/context/long-term-f2a550bc848ec1a3.js"],"/context/short-term":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/628-27424ba8ca9ca8ce.js","static/chunks/271-39045be4cdbd6af1.js","static/chunks/576-fd55b302cb0c9a48.js","static/chunks/700-5d29b0475311f590.js","static/chunks/174-51b6d64f21e9b976.js","static/chunks/183-8da0232dd30cdc81.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/232-813af4932a145fdc.js","static/chunks/400-abd7e48f79188ec3.js","static/chunks/257-e4ebae17a8ee8412.js","static/chunks/pages/context/short-term-1de28da82d2b6276.js"],"/document-roles":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/628-27424ba8ca9ca8ce.js","static/chunks/271-39045be4cdbd6af1.js","static/chunks/576-fd55b302cb0c9a48.js","static/chunks/700-5d29b0475311f590.js","static/chunks/174-51b6d64f21e9b976.js","static/chunks/183-8da0232dd30cdc81.js","static/chunks/232-813af4932a145fdc.js","static/chunks/951-8ecf8af33ab36369.js","static/chunks/pages/document-roles-54a1cc04116e8c18.js"],"/document-specs":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/628-27424ba8ca9ca8ce.js","static/chunks/271-39045be4cdbd6af1.js","static/chunks/576-fd55b302cb0c9a48.js","static/chunks/700-5d29b0475311f590.js","static/chunks/174-51b6d64f21e9b976.js","static/chunks/183-8da0232dd30cdc81.js","static/chunks/232-813af4932a145fdc.js","static/chunks/951-8ecf8af33ab36369.js","static/chunks/20-8968ee2d4013a5b8.js","static/chunks/pages/document-specs-723dee6883949a17.js"],"/documents":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/628-27424ba8ca9ca8ce.js","static/chunks/271-39045be4cdbd6af1.js","static/chunks/576-fd55b302cb0c9a48.js","static/chunks/700-5d29b0475311f590.js","static/chunks/174-51b6d64f21e9b976.js","static/chunks/183-8da0232dd30cdc81.js","static/chunks/232-813af4932a145fdc.js","static/chunks/292-f0a2c92861c304e6.js","static/chunks/951-8ecf8af33ab36369.js","static/chunks/858-42fbb80a88a6319b.js","static/chunks/617-68a9e848c380f9c3.js","static/chunks/pages/documents-de624d1ff498bffe.js"],"/guide":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/292-f0a2c92861c304e6.js","static/chunks/858-42fbb80a88a6319b.js","static/chunks/969-5d5ff5a3ed74f52b.js","static/chunks/pages/guide-45b093499a3729f0.js"],"/knowledge":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/pages/knowledge-905248d8dcb15453.js"],"/knowledge/file-detail":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/628-27424ba8ca9ca8ce.js","static/chunks/271-39045be4cdbd6af1.js","static/chunks/576-fd55b302cb0c9a48.js","static/chunks/700-5d29b0475311f590.js","static/chunks/174-51b6d64f21e9b976.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/400-abd7e48f79188ec3.js","static/chunks/292-f0a2c92861c304e6.js","static/chunks/350-8c5e13c0577a38c3.js","static/chunks/80-96429163e5c103a8.js","static/css/d284a7454d6f6b06.css","static/chunks/pages/knowledge/file-detail-7a1a3d4352ecfa0a.js"],"/knowledge/files":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/628-27424ba8ca9ca8ce.js","static/chunks/271-39045be4cdbd6af1.js","static/chunks/576-fd55b302cb0c9a48.js","static/chunks/700-5d29b0475311f590.js","static/chunks/174-51b6d64f21e9b976.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/400-abd7e48f79188ec3.js","static/chunks/15-4683808cb8db7005.js","static/css/d284a7454d6f6b06.css","static/chunks/pages/knowledge/files-f0e05583bf7c57d9.js"],"/knowledge/manage":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/628-27424ba8ca9ca8ce.js","static/chunks/271-39045be4cdbd6af1.js","static/chunks/700-5d29b0475311f590.js","static/chunks/174-51b6d64f21e9b976.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/400-abd7e48f79188ec3.js","static/chunks/577-5b2691f0c8f17187.js","static/chunks/935-daa0026982d7fa8d.js","static/chunks/pages/knowledge/manage-8acff53019eb6cc1.js"],"/knowledge/search":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/628-27424ba8ca9ca8ce.js","static/chunks/576-fd55b302cb0c9a48.js","static/chunks/700-5d29b0475311f590.js","static/chunks/292-f0a2c92861c304e6.js","static/chunks/20-8968ee2d4013a5b8.js","static/chunks/350-8c5e13c0577a38c3.js","static/css/d284a7454d6f6b06.css","static/chunks/pages/knowledge/search-1f3bd8fcb7af3e4d.js"],"/models":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/628-27424ba8ca9ca8ce.js","static/chunks/271-39045be4cdbd6af1.js","static/chunks/576-fd55b302cb0c9a48.js","static/chunks/183-8da0232dd30cdc81.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/232-813af4932a145fdc.js","static/chunks/20-8968ee2d4013a5b8.js","static/css/0e153583d22cc52e.css","static/chunks/pages/models-11533caad3723009.js"],"/overview":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/15-4683808cb8db7005.js","static/chunks/577-5b2691f0c8f17187.js","static/chunks/224-9a7074031493793b.js","static/chunks/pages/overview-f80672c242d9aa32.js"],"/prompt":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/628-27424ba8ca9ca8ce.js","static/chunks/576-fd55b302cb0c9a48.js","static/chunks/183-8da0232dd30cdc81.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/pages/prompt-c9bc7884a44d3767.js"],"/settings":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/css/82b6ddff0ef364fe.css","static/chunks/pages/settings-68f0d05bf95d12da.js"]},ampFirstPages:[]},globalThis.__BUILD_MANIFEST.lowPriorityFiles=["/static/"+process.env.__NEXT_BUILD_ID+"/_buildManifest.js",,"/static/"+process.env.__NEXT_BUILD_ID+"/_ssgManifest.js"];
|
|
1
|
+
globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],ampDevFiles:[],lowPriorityFiles:[],rootMainFiles:[],rootMainFilesTree:{},pages:{"/":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/pages/index-c5e0758e6b31deee.js"],"/_app":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/css/9af88fe8ee791d26.css","static/chunks/pages/_app-b1f31c6bbc0bb7b1.js"],"/_error":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/pages/_error-282257fbdcc167b4.js"],"/asset-library":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/628-27424ba8ca9ca8ce.js","static/chunks/271-39045be4cdbd6af1.js","static/chunks/700-5d29b0475311f590.js","static/chunks/174-51b6d64f21e9b976.js","static/chunks/183-8da0232dd30cdc81.js","static/chunks/292-f0a2c92861c304e6.js","static/chunks/951-8ecf8af33ab36369.js","static/chunks/881-a1eb917222b66f09.js","static/chunks/pages/asset-library-82606363f9142bad.js"],"/context/long-term":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/628-27424ba8ca9ca8ce.js","static/chunks/271-39045be4cdbd6af1.js","static/chunks/576-fd55b302cb0c9a48.js","static/chunks/700-5d29b0475311f590.js","static/chunks/174-51b6d64f21e9b976.js","static/chunks/183-8da0232dd30cdc81.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/232-813af4932a145fdc.js","static/chunks/400-1fa1899b7c3f0bb4.js","static/chunks/257-e4ebae17a8ee8412.js","static/chunks/pages/context/long-term-f2a550bc848ec1a3.js"],"/context/short-term":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/628-27424ba8ca9ca8ce.js","static/chunks/271-39045be4cdbd6af1.js","static/chunks/576-fd55b302cb0c9a48.js","static/chunks/700-5d29b0475311f590.js","static/chunks/174-51b6d64f21e9b976.js","static/chunks/183-8da0232dd30cdc81.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/232-813af4932a145fdc.js","static/chunks/400-1fa1899b7c3f0bb4.js","static/chunks/257-e4ebae17a8ee8412.js","static/chunks/pages/context/short-term-1de28da82d2b6276.js"],"/document-roles":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/628-27424ba8ca9ca8ce.js","static/chunks/271-39045be4cdbd6af1.js","static/chunks/576-fd55b302cb0c9a48.js","static/chunks/700-5d29b0475311f590.js","static/chunks/174-51b6d64f21e9b976.js","static/chunks/183-8da0232dd30cdc81.js","static/chunks/232-813af4932a145fdc.js","static/chunks/951-8ecf8af33ab36369.js","static/chunks/pages/document-roles-54a1cc04116e8c18.js"],"/document-specs":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/628-27424ba8ca9ca8ce.js","static/chunks/271-39045be4cdbd6af1.js","static/chunks/576-fd55b302cb0c9a48.js","static/chunks/700-5d29b0475311f590.js","static/chunks/174-51b6d64f21e9b976.js","static/chunks/183-8da0232dd30cdc81.js","static/chunks/232-813af4932a145fdc.js","static/chunks/951-8ecf8af33ab36369.js","static/chunks/20-8968ee2d4013a5b8.js","static/chunks/pages/document-specs-723dee6883949a17.js"],"/documents":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/628-27424ba8ca9ca8ce.js","static/chunks/271-39045be4cdbd6af1.js","static/chunks/576-fd55b302cb0c9a48.js","static/chunks/700-5d29b0475311f590.js","static/chunks/174-51b6d64f21e9b976.js","static/chunks/183-8da0232dd30cdc81.js","static/chunks/232-813af4932a145fdc.js","static/chunks/292-f0a2c92861c304e6.js","static/chunks/951-8ecf8af33ab36369.js","static/chunks/858-5e6982e2b239d4b7.js","static/chunks/617-68a9e848c380f9c3.js","static/chunks/pages/documents-47516fed70f892dc.js"],"/guide":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/292-f0a2c92861c304e6.js","static/chunks/858-5e6982e2b239d4b7.js","static/chunks/969-5d5ff5a3ed74f52b.js","static/chunks/pages/guide-8b0f474da04fc9f1.js"],"/knowledge":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/pages/knowledge-905248d8dcb15453.js"],"/knowledge/file-detail":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/628-27424ba8ca9ca8ce.js","static/chunks/271-39045be4cdbd6af1.js","static/chunks/576-fd55b302cb0c9a48.js","static/chunks/700-5d29b0475311f590.js","static/chunks/174-51b6d64f21e9b976.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/400-1fa1899b7c3f0bb4.js","static/chunks/292-f0a2c92861c304e6.js","static/chunks/350-8c5e13c0577a38c3.js","static/chunks/80-96429163e5c103a8.js","static/css/d284a7454d6f6b06.css","static/chunks/pages/knowledge/file-detail-7a1a3d4352ecfa0a.js"],"/knowledge/files":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/628-27424ba8ca9ca8ce.js","static/chunks/271-39045be4cdbd6af1.js","static/chunks/576-fd55b302cb0c9a48.js","static/chunks/700-5d29b0475311f590.js","static/chunks/174-51b6d64f21e9b976.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/400-1fa1899b7c3f0bb4.js","static/chunks/15-4683808cb8db7005.js","static/css/d284a7454d6f6b06.css","static/chunks/pages/knowledge/files-f0e05583bf7c57d9.js"],"/knowledge/manage":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/628-27424ba8ca9ca8ce.js","static/chunks/271-39045be4cdbd6af1.js","static/chunks/700-5d29b0475311f590.js","static/chunks/174-51b6d64f21e9b976.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/400-1fa1899b7c3f0bb4.js","static/chunks/577-5b2691f0c8f17187.js","static/chunks/935-daa0026982d7fa8d.js","static/chunks/pages/knowledge/manage-8acff53019eb6cc1.js"],"/knowledge/search":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/628-27424ba8ca9ca8ce.js","static/chunks/576-fd55b302cb0c9a48.js","static/chunks/700-5d29b0475311f590.js","static/chunks/292-f0a2c92861c304e6.js","static/chunks/20-8968ee2d4013a5b8.js","static/chunks/350-8c5e13c0577a38c3.js","static/css/d284a7454d6f6b06.css","static/chunks/pages/knowledge/search-1f3bd8fcb7af3e4d.js"],"/models":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/628-27424ba8ca9ca8ce.js","static/chunks/271-39045be4cdbd6af1.js","static/chunks/576-fd55b302cb0c9a48.js","static/chunks/183-8da0232dd30cdc81.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/232-813af4932a145fdc.js","static/chunks/20-8968ee2d4013a5b8.js","static/css/0e153583d22cc52e.css","static/chunks/pages/models-11533caad3723009.js"],"/overview":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/15-4683808cb8db7005.js","static/chunks/577-5b2691f0c8f17187.js","static/chunks/224-9a7074031493793b.js","static/chunks/pages/overview-f80672c242d9aa32.js"],"/prompt":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/chunks/167-d4f384b289ecb70c.js","static/chunks/382-6ab5f41cd91edad0.js","static/chunks/628-27424ba8ca9ca8ce.js","static/chunks/576-fd55b302cb0c9a48.js","static/chunks/183-8da0232dd30cdc81.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/pages/prompt-c9bc7884a44d3767.js"],"/settings":["static/chunks/webpack-77d10b4726f13aa5.js","static/chunks/framework-161be364fd69a7ce.js","static/chunks/main-ed4abb3bb200c815.js","static/chunks/260-cec84dc6c353e104.js","static/css/82b6ddff0ef364fe.css","static/chunks/pages/settings-68f0d05bf95d12da.js"]},ampFirstPages:[]},globalThis.__BUILD_MANIFEST.lowPriorityFiles=["/static/"+process.env.__NEXT_BUILD_ID+"/_buildManifest.js",,"/static/"+process.env.__NEXT_BUILD_ID+"/_ssgManifest.js"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(()=>{var a={};a.id=6350,a.ids=[6350],a.modules={2323:(a,b,c)=>{c.d(b,{I:()=>f});var d=c(96770);let e=null;function f(){return e||(e=new d.ConfigStore),e}},75600:a=>{a.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},89572:(a,b,c)=>{c.r(b),c.d(b,{config:()=>o,default:()=>n,handler:()=>q});var d={};c.r(d),c.d(d,{default:()=>k});var e=c(11400),f=c(50029),g=c(71086),h=c(38513),i=c(2323),j=c(96770);async function k(a,b){if(!["GET","POST"].includes(a.method))return b.status(405).json({error:"Method not allowed"});try{let c=(0,i.I)();if("POST"===a.method){let{name:d,apiKey:e,baseUrl:f,protocol:g,capabilities:h,oldName:i}=a.body;if(!d)return b.status(400).json({error:"Provider name required"});let j=String(d),k=i?String(i):j;if(k!==j){let a=c.load(),b=a.providers[k]??{};for(let c of(a.providers[j]={...b,...a.providers[j]},delete a.providers[k],["reader","reasoning","action"])){let b=a.models[c];b.list=b.list.map(a=>a.provider===k?{...a,provider:j,name:a.name===k?j:a.name}:a),b.active===k&&(b.active=j)}c.save(a)}return c.ensureProvider(j),void 0!==e&&c.setProviderKey(j,e),void 0!==f&&c.setProviderUrl(j,f),void 0!==g&&c.setProviderProtocol(j,g),void 0!==h&&"object"==typeof h&&c.setProviderCapabilities(j,{imageGeneration:!0===h.imageGeneration,imageUnderstanding:!0===h.imageUnderstanding,fileUnderstanding:!0===h.fileUnderstanding,audio:!0===h.audio,video:!0===h.video}),c.load().models.action.list.some(a=>a.provider===j&&a.name===j)||c.addModel("action",{provider:j,name:j}),b.status(200).json({success:!0})}let d=c.load();b.status(200).json(Object.entries(d.providers).map(([a,b])=>({name:a,apiKey:b.apiKey?"••••"+b.apiKey.slice(-4):void 0,baseUrl:b.baseUrl,protocol:b.protocol,detectedProtocol:(0,j.detectProtocol)(a),hasApiKey:!!b.apiKey,capabilities:b.capabilities??{}})))}catch(a)
|
|
1
|
+
"use strict";(()=>{var a={};a.id=6350,a.ids=[6350],a.modules={2323:(a,b,c)=>{c.d(b,{I:()=>f});var d=c(96770);let e=null;function f(){return e||(e=new d.ConfigStore),e}},75600:a=>{a.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},89572:(a,b,c)=>{c.r(b),c.d(b,{config:()=>o,default:()=>n,handler:()=>q});var d={};c.r(d),c.d(d,{default:()=>k});var e=c(11400),f=c(50029),g=c(71086),h=c(38513),i=c(2323),j=c(96770);async function k(a,b){if(!["GET","POST"].includes(a.method))return b.status(405).json({error:"Method not allowed"});try{let c=(0,i.I)();if("POST"===a.method){let{name:d,apiKey:e,baseUrl:f,protocol:g,capabilities:h,oldName:i}=a.body;if(!d)return b.status(400).json({error:"Provider name required"});let j=String(d),k=i?String(i):j;if(k!==j){let a=c.load(),b=a.providers[k]??{};for(let c of(a.providers[j]={...b,...a.providers[j]},delete a.providers[k],["reader","reasoning","action"])){let b=a.models[c];b.list=b.list.map(a=>a.provider===k?{...a,provider:j,name:a.name===k?j:a.name}:a),b.active===k&&(b.active=j)}c.save(a)}return c.ensureProvider(j),void 0!==e&&c.setProviderKey(j,e),void 0!==f&&c.setProviderUrl(j,f),void 0!==g&&c.setProviderProtocol(j,g),void 0!==h&&"object"==typeof h&&c.setProviderCapabilities(j,{imageGeneration:!0===h.imageGeneration,imageUnderstanding:!0===h.imageUnderstanding,fileUnderstanding:!0===h.fileUnderstanding,audio:!0===h.audio,video:!0===h.video}),c.load().models.action.list.some(a=>a.provider===j&&a.name===j)||c.addModel("action",{provider:j,name:j}),b.status(200).json({success:!0})}let d=c.load();b.status(200).json(Object.entries(d.providers).map(([a,b])=>({name:a,apiKey:b.apiKey?"••••"+b.apiKey.slice(-4):void 0,baseUrl:b.baseUrl,protocol:b.protocol,detectedProtocol:(0,j.detectProtocol)(a),hasApiKey:!!b.apiKey,capabilities:b.capabilities??{}})))}catch(c){let a=c instanceof Error?c.message:String(c);console.error("[api] config/providers",c),b.status(500).json({error:a||"Internal server error"})}}var l=c(68970),m=c(50296);let n=(0,h.M)(d,"default"),o=(0,h.M)(d,"config"),p=new g.PagesAPIRouteModule({definition:{kind:f.A.PAGES_API,page:"/api/config/providers",pathname:"/api/config/providers",bundlePath:"",filename:""},userland:d,distDir:".next",relativeProjectDir:""});async function q(a,b,c){let d=await p.prepare(a,b,{srcPage:"/api/config/providers"});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,l.getTracer)(),e=d.getActiveScopeSpan(),j=p.instrumentationOnRequestError.bind(p),k=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/config/providers",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")!==m.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(m.BaseServerSpan.handleRequest,{spanName:`${c} ${a.url}`,kind:l.SpanKind.SERVER,attributes:{"http.method":c,"http.target":a.url}},k))}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())}}},96770:a=>{a.exports=require("@customize-agent/runtime")}};var b=require("../../../webpack-api-runtime.js");b.C(a);var c=b.X(0,[9705],()=>b(b.s=89572));module.exports=c})();
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use strict";(()=>{var a={};a.id=5592,a.ids=[5592],a.modules={6708:(a,b,c)=>{c.d(b,{H7:()=>l,Qf:()=>j,oy:()=>k});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=Date.now(),e=i(a),g=e.findIndex(a=>a.id===b.id),j=g>=0?e[g]:void 0,k={id:b.id,type:b.type,title:b.title,stage:b.stage??j?.stage??"uploading",status:b.status??j?.status??"processing",message:b.message??j?.message??"",percent:b.percent??j?.percent??0,fileName:b.fileName??j?.fileName,filePath:b.filePath??j?.filePath,chunkCount:b.chunkCount??j?.chunkCount,textLength:b.textLength??j?.textLength,extractionMode:b.extractionMode??j?.extractionMode,error:b.error??j?.error,createdAt:j?.createdAt??c,updatedAt:c};g>=0?e[g]=k:e.push(k);let l=h(a);return d.mkdirSync(f.dirname(l),{recursive:!0}),d.writeFileSync(l,`${e.slice(-200).map(a=>JSON.stringify(a)).join("\n")}
|
|
2
|
-
`,"utf8"),k}function k(a,b=50){return i(a).sort((a,b)=>b.updatedAt-a.updatedAt).slice(0,b)}function l(a){let b=i(a),c=h(a);return d.existsSync(c)&&d.unlinkSync(c),b.length}},15751:a=>{a.exports=require("xlsx")},19898:a=>{a.exports=require("@customize-agent/knowledge")},21820:a=>{a.exports=require("os")},24501:(a,b,c)=>{c.r(b),c.d(b,{config:()=>r,default:()=>q,handler:()=>t});var d={};c.r(d),c.d(d,{default:()=>n});var e=c(11400),f=c(50029),g=c(71086),h=c(38513),i=c(29021),j=c(33873),k=c(23328),l=c(6708);async function m(a){let b=await (0,k.Qh)().getProject(a);return await b.incrementalIndex(),b.listFiles()}async function n(a,b){if(!["GET","DELETE","POST"].includes(a.method))return b.status(405).json({error:"Method not allowed"});try{let c="string"==typeof a.body?.projectRoot?a.body.projectRoot:void 0,d=a.query.projectRoot||c||(0,k.aY)();if(!d)return b.status(200).json({files:[],total:0});if("GET"===a.method&&"1"!==a.query.reindex){let c=a.query.category,e=parseInt(a.query.page||"1",10),f=parseInt(a.query.limit||"50",10),g=(0,k.T4)(d),h=await m(g);0===h.length&&(h=function(a){let b=j.join(a,"knowledgeBase");if(!i.existsSync(b))return[];let c=[],d=a=>{for(let e of i.readdirSync(a,{withFileTypes:!0})){let f=j.join(a,e.name);if(e.isDirectory()){d(f);continue}if(e.name.endsWith(".source.txt"))continue;let g=i.statSync(f),h=j.relative(b,f).split(j.sep).join("/");c.push({relativePath:h,category:h.includes("表格数据/")?"spreadsheet":h.includes("图片素材/")?"image":h.includes("图纸文件/")?"cad":h.includes("文档资料/")?"document":"other",format:j.extname(h).slice(1).toLowerCase()||"text",contentHash:"",fileSize:g.size,mtime:g.mtimeMs,chunkCount:0,collectionName:"",indexedAt:0,lastVerifiedAt:0,status:"pending"})}};return d(b),c.sort((a,b)=>a.relativePath.localeCompare(b.relativePath,"zh-CN"))}(g)),c&&(h=h.filter(a=>a.category===c));let l=h.length,n=h.slice((e-1)*f,e*f).map(a=>({...a,builtIn:!0}));b.status(200).json({files:n,total:l,page:e,limit:f,initializing:!1});return}let e=await (0,k.Qh)().getProject(d);if(("POST"===a.method||"1"===a.query.reindex)&&await e.incrementalIndex(),"DELETE"===a.method){let{relativePath:c,relativePaths:f,all:g}=a.body,h=g?e.listFiles().map(a=>a.relativePath):Array.isArray(f)?f.map(String):c?[String(c)]:[];if(0===h.length)return b.status(400).json({error:"relativePath or relativePaths is required"});let i=`delete-${Date.now()}-${Math.random().toString(36).slice(2)}`,j=g?`删除全部 ${h.length} 个文件`:1===h.length?`删除 ${h[0]}`:`批量删除 ${h.length} 个文件`;(0,l.Qf)(d,{id:i,type:"delete",title:j,stage:"uploading",status:"processing",percent:10,message:"正在删除文件和索引",filePath:h[0],fileName:h[0]?.split("/").pop()});let k=0;for(let a of h)await e.removeFile(a),k++,(0,l.Qf)(d,{id:i,type:"delete",title:j,stage:"uploading",status:"processing",percent:Math.min(95,Math.round(k/h.length*90)),message:`已删除 ${k}/${h.length}`,filePath:a,fileName:a.split("/").pop()});return(0,l.Qf)(d,{id:i,type:"delete",title:j,stage:"done",status:"success",percent:100,message:`已删除 ${k} 个文件和索引`,filePath:h[0],fileName:h[0]?.split("/").pop()}),b.status(200).json({success:!0,deleted:k})}let f=a.query.category,g=parseInt(a.query.page||"1",10),h=parseInt(a.query.limit||"50",10),n=e.listFiles();f&&(n=n.filter(a=>a.category===f));let o=e.getVectorStatus(),p=n.length,q=n.slice((g-1)*h,g*h).map(a=>({...a,builtIn:!0}));b.status(200).json({files:q,total:p,page:g,limit:h,vectorStatus:o})}catch(a)
|
|
2
|
+
`,"utf8"),k}function k(a,b=50){return i(a).sort((a,b)=>b.updatedAt-a.updatedAt).slice(0,b)}function l(a){let b=i(a),c=h(a);return d.existsSync(c)&&d.unlinkSync(c),b.length}},15751:a=>{a.exports=require("xlsx")},19898:a=>{a.exports=require("@customize-agent/knowledge")},21820:a=>{a.exports=require("os")},24501:(a,b,c)=>{c.r(b),c.d(b,{config:()=>r,default:()=>q,handler:()=>t});var d={};c.r(d),c.d(d,{default:()=>n});var e=c(11400),f=c(50029),g=c(71086),h=c(38513),i=c(29021),j=c(33873),k=c(23328),l=c(6708);async function m(a){let b=await (0,k.Qh)().getProject(a);return await b.incrementalIndex(),b.listFiles()}async function n(a,b){if(!["GET","DELETE","POST"].includes(a.method))return b.status(405).json({error:"Method not allowed"});try{let c="string"==typeof a.body?.projectRoot?a.body.projectRoot:void 0,d=a.query.projectRoot||c||(0,k.aY)();if(!d)return b.status(200).json({files:[],total:0});if("GET"===a.method&&"1"!==a.query.reindex){let c=a.query.category,e=parseInt(a.query.page||"1",10),f=parseInt(a.query.limit||"50",10),g=(0,k.T4)(d),h=await m(g);0===h.length&&(h=function(a){let b=j.join(a,"knowledgeBase");if(!i.existsSync(b))return[];let c=[],d=a=>{for(let e of i.readdirSync(a,{withFileTypes:!0})){let f=j.join(a,e.name);if(e.isDirectory()){d(f);continue}if(e.name.endsWith(".source.txt"))continue;let g=i.statSync(f),h=j.relative(b,f).split(j.sep).join("/");c.push({relativePath:h,category:h.includes("表格数据/")?"spreadsheet":h.includes("图片素材/")?"image":h.includes("图纸文件/")?"cad":h.includes("文档资料/")?"document":"other",format:j.extname(h).slice(1).toLowerCase()||"text",contentHash:"",fileSize:g.size,mtime:g.mtimeMs,chunkCount:0,collectionName:"",indexedAt:0,lastVerifiedAt:0,status:"pending"})}};return d(b),c.sort((a,b)=>a.relativePath.localeCompare(b.relativePath,"zh-CN"))}(g)),c&&(h=h.filter(a=>a.category===c));let l=h.length,n=h.slice((e-1)*f,e*f).map(a=>({...a,builtIn:!0}));b.status(200).json({files:n,total:l,page:e,limit:f,initializing:!1});return}let e=await (0,k.Qh)().getProject(d);if(("POST"===a.method||"1"===a.query.reindex)&&await e.incrementalIndex(),"DELETE"===a.method){let{relativePath:c,relativePaths:f,all:g}=a.body,h=g?e.listFiles().map(a=>a.relativePath):Array.isArray(f)?f.map(String):c?[String(c)]:[];if(0===h.length)return b.status(400).json({error:"relativePath or relativePaths is required"});let i=`delete-${Date.now()}-${Math.random().toString(36).slice(2)}`,j=g?`删除全部 ${h.length} 个文件`:1===h.length?`删除 ${h[0]}`:`批量删除 ${h.length} 个文件`;(0,l.Qf)(d,{id:i,type:"delete",title:j,stage:"uploading",status:"processing",percent:10,message:"正在删除文件和索引",filePath:h[0],fileName:h[0]?.split("/").pop()});let k=0;for(let a of h)await e.removeFile(a),k++,(0,l.Qf)(d,{id:i,type:"delete",title:j,stage:"uploading",status:"processing",percent:Math.min(95,Math.round(k/h.length*90)),message:`已删除 ${k}/${h.length}`,filePath:a,fileName:a.split("/").pop()});return(0,l.Qf)(d,{id:i,type:"delete",title:j,stage:"done",status:"success",percent:100,message:`已删除 ${k} 个文件和索引`,filePath:h[0],fileName:h[0]?.split("/").pop()}),b.status(200).json({success:!0,deleted:k})}let f=a.query.category,g=parseInt(a.query.page||"1",10),h=parseInt(a.query.limit||"50",10),n=e.listFiles();f&&(n=n.filter(a=>a.category===f));let o=e.getVectorStatus(),p=n.length,q=n.slice((g-1)*h,g*h).map(a=>({...a,builtIn:!0}));b.status(200).json({files:q,total:p,page:g,limit:h,vectorStatus:o})}catch(c){let a=c instanceof Error?c.message:String(c);console.error("[api] kb/files/index",c),b.status(500).json({error:a||"Internal server error"})}}var o=c(68970),p=c(50296);let q=(0,h.M)(d,"default"),r=(0,h.M)(d,"config"),s=new g.PagesAPIRouteModule({definition:{kind:f.A.PAGES_API,page:"/api/kb/files",pathname:"/api/kb/files",bundlePath:"",filename:""},userland:d,distDir:".next",relativeProjectDir:""});async function t(a,b,c){let d=await s.prepare(a,b,{srcPage:"/api/kb/files"});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/files",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())}}},29021:a=>{a.exports=require("fs")},31421:a=>{a.exports=require("node:child_process")},33873:a=>{a.exports=require("path")},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,3328],()=>b(b.s=24501));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><link rel="preload" href="/_next/static/css/9af88fe8ee791d26.css" as="style"/><link rel="stylesheet" href="/_next/static/css/9af88fe8ee791d26.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-ed4abb3bb200c815.js" defer=""></script><script src="/_next/static/chunks/pages/_app-b1f31c6bbc0bb7b1.js" defer=""></script><script src="/_next/static/chunks/260-cec84dc6c353e104.js" defer=""></script><script src="/_next/static/chunks/167-d4f384b289ecb70c.js" defer=""></script><script src="/_next/static/chunks/382-6ab5f41cd91edad0.js" defer=""></script><script src="/_next/static/chunks/628-27424ba8ca9ca8ce.js" defer=""></script><script src="/_next/static/chunks/271-39045be4cdbd6af1.js" defer=""></script><script src="/_next/static/chunks/700-5d29b0475311f590.js" defer=""></script><script src="/_next/static/chunks/174-51b6d64f21e9b976.js" defer=""></script><script src="/_next/static/chunks/183-8da0232dd30cdc81.js" defer=""></script><script src="/_next/static/chunks/292-f0a2c92861c304e6.js" defer=""></script><script src="/_next/static/chunks/951-8ecf8af33ab36369.js" defer=""></script><script src="/_next/static/chunks/881-b5a658237b19bd79.js" defer=""></script><script src="/_next/static/chunks/pages/asset-library-82606363f9142bad.js" defer=""></script><script src="/_next/static/customize-agent-dashboard/_buildManifest.js" defer=""></script><script src="/_next/static/customize-agent-dashboard/_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><div class="sidebarLogoTitle"><span class="logoGradient">Customize Agent</span></div><div class="sidebarLogoSub">管理控制台</div></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><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="/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><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="/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="/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="/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><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="page-shell"><div class="mb-4"><h1 class="text-2xl font-semibold">生成资源</h1><p class="text-[var(--colorTextSecondary)]">管理文档生成产生的本地资源。生成资源默认不进入知识库,可在后续操作中手动加入知识库。</p></div><div class="ant-card ant-card-bordered css-1pi45l5 css-var-_R_16_"><div class="ant-card-body"><div class="ant-list ant-list-split css-1pi45l5 css-var-_R_16_"><div class="ant-spin css-1pi45l5 css-var-_R_16_" aria-live="polite" aria-busy="false"><div class="ant-spin-container"><div class="ant-list-empty-text"><div class="css-1pi45l5 css-var-_R_16_ ant-empty"><div class="ant-empty-image"><svg width="184" height="152" viewBox="0 0 184 152" xmlns="http://www.w3.org/2000/svg"><title>No data</title><g fill="none" fill-rule="evenodd"><g transform="translate(24 31.7)"><ellipse fill-opacity=".8" fill="#ecececca" cx="67.8" cy="106.9" rx="67.8" ry="12.7"></ellipse><path fill="#b3b3b3d5" d="M122 69.7 98.1 40.2a6 6 0 0 0-4.6-2.2H42.1a6 6 0 0 0-4.6 2.2l-24 29.5V85H122z"></path><path fill="#f2f2f2c9" d="M33.8 0h68a4 4 0 0 1 4 4v93.3a4 4 0 0 1-4 4h-68a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4"></path><path fill="#d0d0d0cf" d="M42.7 10h50.2a2 2 0 0 1 2 2v25a2 2 0 0 1-2 2H42.7a2 2 0 0 1-2-2V12a2 2 0 0 1 2-2m.2 39.8h49.8a2.3 2.3 0 1 1 0 4.5H42.9a2.3 2.3 0 0 1 0-4.5m0 11.7h49.8a2.3 2.3 0 1 1 0 4.6H42.9a2.3 2.3 0 0 1 0-4.6m79 43.5a7 7 0 0 1-6.8 5.4H20.5a7 7 0 0 1-6.7-5.4l-.2-1.8V69.7h26.3c2.9 0 5.2 2.4 5.2 5.4s2.4 5.4 5.3 5.4h34.8c2.9 0 5.3-2.4 5.3-5.4s2.3-5.4 5.2-5.4H122v33.5q0 1-.2 1.8"></path></g><path fill="#d0d0d0cf" d="m149.1 33.3-6.8 2.6a1 1 0 0 1-1.3-1.2l2-6.2q-4.1-4.5-4.2-10.4c0-10 10.1-18.1 22.6-18.1S184 8.1 184 18.1s-10.1 18-22.6 18q-6.8 0-12.3-2.8"></path><g fill="rgba(255,255,255,0.78)" transform="translate(149.7 15.4)"><circle cx="20.7" cy="3.2" r="2.8"></circle><path d="M5.7 5.6H0L2.9.7zM9.3.7h5v5h-5z"></path></g></g></svg></div><div class="ant-empty-description">暂无生成资源</div></div></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":"customize-agent-dashboard","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" data-next-head=""/><link rel="preload" href="/_next/static/css/9af88fe8ee791d26.css" as="style"/><link rel="stylesheet" href="/_next/static/css/9af88fe8ee791d26.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-ed4abb3bb200c815.js" defer=""></script><script src="/_next/static/chunks/pages/_app-b1f31c6bbc0bb7b1.js" defer=""></script><script src="/_next/static/chunks/260-cec84dc6c353e104.js" defer=""></script><script src="/_next/static/chunks/167-d4f384b289ecb70c.js" defer=""></script><script src="/_next/static/chunks/382-6ab5f41cd91edad0.js" defer=""></script><script src="/_next/static/chunks/628-27424ba8ca9ca8ce.js" defer=""></script><script src="/_next/static/chunks/271-39045be4cdbd6af1.js" defer=""></script><script src="/_next/static/chunks/700-5d29b0475311f590.js" defer=""></script><script src="/_next/static/chunks/174-51b6d64f21e9b976.js" defer=""></script><script src="/_next/static/chunks/183-8da0232dd30cdc81.js" defer=""></script><script src="/_next/static/chunks/292-f0a2c92861c304e6.js" defer=""></script><script src="/_next/static/chunks/951-8ecf8af33ab36369.js" defer=""></script><script src="/_next/static/chunks/881-a1eb917222b66f09.js" defer=""></script><script src="/_next/static/chunks/pages/asset-library-82606363f9142bad.js" defer=""></script><script src="/_next/static/customize-agent-dashboard/_buildManifest.js" defer=""></script><script src="/_next/static/customize-agent-dashboard/_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><div class="sidebarLogoTitle"><span class="logoGradient">Customize Agent</span></div><div class="sidebarLogoSub">管理控制台</div></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><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="/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><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="/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="/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="/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><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="page-shell"><div class="mb-4"><h1 class="text-2xl font-semibold">生成资源</h1><p class="text-[var(--colorTextSecondary)]">管理文档生成产生的本地资源。生成资源默认不进入知识库,可在后续操作中手动加入知识库。</p></div><div class="ant-card ant-card-bordered css-1pi45l5 css-var-_R_16_"><div class="ant-card-body"><div class="ant-list ant-list-split css-1pi45l5 css-var-_R_16_"><div class="ant-spin css-1pi45l5 css-var-_R_16_" aria-live="polite" aria-busy="false"><div class="ant-spin-container"><div class="ant-list-empty-text"><div class="css-1pi45l5 css-var-_R_16_ ant-empty"><div class="ant-empty-image"><svg width="184" height="152" viewBox="0 0 184 152" xmlns="http://www.w3.org/2000/svg"><title>No data</title><g fill="none" fill-rule="evenodd"><g transform="translate(24 31.7)"><ellipse fill-opacity=".8" fill="#ecececca" cx="67.8" cy="106.9" rx="67.8" ry="12.7"></ellipse><path fill="#b3b3b3d5" d="M122 69.7 98.1 40.2a6 6 0 0 0-4.6-2.2H42.1a6 6 0 0 0-4.6 2.2l-24 29.5V85H122z"></path><path fill="#f2f2f2c9" d="M33.8 0h68a4 4 0 0 1 4 4v93.3a4 4 0 0 1-4 4h-68a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4"></path><path fill="#d0d0d0cf" d="M42.7 10h50.2a2 2 0 0 1 2 2v25a2 2 0 0 1-2 2H42.7a2 2 0 0 1-2-2V12a2 2 0 0 1 2-2m.2 39.8h49.8a2.3 2.3 0 1 1 0 4.5H42.9a2.3 2.3 0 0 1 0-4.5m0 11.7h49.8a2.3 2.3 0 1 1 0 4.6H42.9a2.3 2.3 0 0 1 0-4.6m79 43.5a7 7 0 0 1-6.8 5.4H20.5a7 7 0 0 1-6.7-5.4l-.2-1.8V69.7h26.3c2.9 0 5.2 2.4 5.2 5.4s2.4 5.4 5.3 5.4h34.8c2.9 0 5.3-2.4 5.3-5.4s2.3-5.4 5.2-5.4H122v33.5q0 1-.2 1.8"></path></g><path fill="#d0d0d0cf" d="m149.1 33.3-6.8 2.6a1 1 0 0 1-1.3-1.2l2-6.2q-4.1-4.5-4.2-10.4c0-10 10.1-18.1 22.6-18.1S184 8.1 184 18.1s-10.1 18-22.6 18q-6.8 0-12.3-2.8"></path><g fill="rgba(255,255,255,0.78)" transform="translate(149.7 15.4)"><circle cx="20.7" cy="3.2" r="2.8"></circle><path d="M5.7 5.6H0L2.9.7zM9.3.7h5v5h-5z"></path></g></g></svg></div><div class="ant-empty-description">暂无生成资源</div></div></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":"customize-agent-dashboard","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><link rel="preload" href="/_next/static/css/9af88fe8ee791d26.css" as="style"/><link rel="stylesheet" href="/_next/static/css/9af88fe8ee791d26.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-ed4abb3bb200c815.js" defer=""></script><script src="/_next/static/chunks/pages/_app-b1f31c6bbc0bb7b1.js" defer=""></script><script src="/_next/static/chunks/260-cec84dc6c353e104.js" defer=""></script><script src="/_next/static/chunks/167-d4f384b289ecb70c.js" defer=""></script><script src="/_next/static/chunks/382-6ab5f41cd91edad0.js" defer=""></script><script src="/_next/static/chunks/628-27424ba8ca9ca8ce.js" defer=""></script><script src="/_next/static/chunks/271-39045be4cdbd6af1.js" defer=""></script><script src="/_next/static/chunks/576-fd55b302cb0c9a48.js" defer=""></script><script src="/_next/static/chunks/700-5d29b0475311f590.js" defer=""></script><script src="/_next/static/chunks/174-51b6d64f21e9b976.js" defer=""></script><script src="/_next/static/chunks/183-8da0232dd30cdc81.js" defer=""></script><script src="/_next/static/chunks/985-4b4a3ed36ada16eb.js" defer=""></script><script src="/_next/static/chunks/232-813af4932a145fdc.js" defer=""></script><script src="/_next/static/chunks/400-abd7e48f79188ec3.js" defer=""></script><script src="/_next/static/chunks/257-e4ebae17a8ee8412.js" defer=""></script><script src="/_next/static/chunks/pages/context/long-term-f2a550bc848ec1a3.js" defer=""></script><script src="/_next/static/customize-agent-dashboard/_buildManifest.js" defer=""></script><script src="/_next/static/customize-agent-dashboard/_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><div class="sidebarLogoTitle"><span class="logoGradient">Customize Agent</span></div><div class="sidebarLogoSub">管理控制台</div></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><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-down"><path d="m6 9 6 6 6-6"></path></svg></span></div><div class="sidebarSubmenu"><a href="/context/long-term"><div class="sidebarItem sidebarSubItem sidebarItemActive"><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-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></div></a><a href="/context/short-term"><div class="sidebarItem sidebarSubItem"><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-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></div></a></div></div><a href="/documents"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-files"><path d="M20 7h-3a2 2 0 0 1-2-2V2"></path><path d="M9 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h7l4 4v10a2 2 0 0 1-2 2Z"></path><path d="M3 7.6v12.8A1.6 1.6 0 0 0 4.6 22h9.8"></path></svg><span>生成编辑</span></div></a><a href="/asset-library"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-folder-open"><path d="m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2"></path></svg><span>生成资源</span></div></a><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="/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="/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="/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><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-6 animateFadeIn"><div class="flex items-center justify-between"><div><h1 class="pageTitle">长期上下文</h1><p class="pageDesc">来自记忆库的持久化上下文(跨会话保留)</p></div><div class="ant-space css-1pi45l5 ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small css-var-_R_16_" style="flex-wrap:wrap"><div class="ant-space-item"><span class="ant-input-affix-wrapper css-1pi45l5 ant-input-outlined css-var-_R_16_ ant-input-css-var" style="width:240px"><span class="ant-input-prefix"><span role="img" aria-label="search" class="anticon anticon-search"><svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg></span></span><input placeholder="搜索" class="ant-input css-1pi45l5" type="text" value=""/><span class="ant-input-suffix"><button type="button" class="ant-input-clear-icon ant-input-clear-icon-hidden"><span role="img" aria-label="close-circle" class="anticon anticon-close-circle"><svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false" data-icon="close-circle" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"></path></svg></span></button></span></span></div><div class="ant-space-item"><button type="button" class="ant-btn css-1pi45l5 css-var-_R_16_ ant-btn-default ant-btn-color-default ant-btn-variant-outlined"><span class="ant-btn-icon"><span role="img" aria-label="compress" class="anticon anticon-compress"><svg viewBox="64 64 896 896" focusable="false" data-icon="compress" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M326 664H104c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h174v176c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V696c0-17.7-14.3-32-32-32zm16-576h-48c-8.8 0-16 7.2-16 16v176H104c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h222c17.7 0 32-14.3 32-32V104c0-8.8-7.2-16-16-16zm578 576H698c-17.7 0-32 14.3-32 32v224c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V744h174c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16zm0-384H746V104c0-8.8-7.2-16-16-16h-48c-8.8 0-16 7.2-16 16v224c0 17.7 14.3 32 32 32h222c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16z"></path></svg></span></span><span>压缩</span></button></div><div class="ant-space-item"><button type="button" class="ant-btn css-1pi45l5 css-var-_R_16_ ant-btn-default ant-btn-dangerous ant-btn-color-dangerous ant-btn-variant-outlined"><span class="ant-btn-icon"><span role="img" aria-label="clear" class="anticon anticon-clear"><svg viewBox="64 64 896 896" focusable="false" data-icon="clear" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"></path></svg></span></span><span>清除</span></button></div></div></div><div class="ant-card ant-card-bordered ant-card-small css-1pi45l5 css-var-_R_16_"><div class="ant-card-body"><div class="ant-statistic css-1pi45l5 css-var-_R_16_"><div class="ant-statistic-header"><div class="ant-statistic-title">总上下文大小</div></div><div class="ant-statistic-content"><span class="ant-statistic-content-prefix"><span role="img" aria-label="database" class="anticon anticon-database"><svg viewBox="64 64 896 896" focusable="false" data-icon="database" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z"></path></svg></span></span><span class="ant-statistic-content-value">0 B</span><span class="ant-statistic-content-suffix"> / 0 条</span></div></div></div></div><div class="ant-card ant-card-bordered ant-card-small css-1pi45l5 css-var-_R_16_"><div class="ant-card-body"><div style="margin-bottom:12px;color:var(--colorTextSecondary);font-size:13px"><span role="img" aria-label="info-circle" class="anticon anticon-info-circle"><svg viewBox="64 64 896 896" focusable="false" data-icon="info-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="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"></path></svg></span> <!-- -->数据来源: ~/.customize-agent/memory.db(记忆库)</div><div class="css-var-_R_16_ ant-table-css-var ant-table-wrapper css-1pi45l5"><div class="ant-spin ant-spin-spinning css-1pi45l5 css-var-_R_16_" aria-live="polite" aria-busy="true"><div class="ant-spin-section"><span class="ant-spin-dot-holder"><span class="ant-spin-dot ant-spin-dot-spin"><i class="ant-spin-dot-item"></i><i class="ant-spin-dot-item"></i><i class="ant-spin-dot-item"></i><i class="ant-spin-dot-item"></i></span></span></div><div class="ant-spin-container"><div class="ant-table ant-table-small ant-table-empty css-var-_R_16_ ant-table-css-var css-1pi45l5"><div class="ant-table-container"><div class="ant-table-content"><table style="table-layout:fixed"><colgroup><col style="width:180px"/><col style="width:90px"/><col/><col style="width:80px"/><col style="width:100px"/><col style="width:140px"/><col style="width:100px"/></colgroup><thead class="ant-table-thead"><tr><th class="ant-table-cell ant-table-cell-ellipsis" title="模型名称" scope="col">模型名称</th><th class="ant-table-cell" scope="col">类型</th><th class="ant-table-cell ant-table-cell-ellipsis" title="内容" scope="col">内容</th><th class="ant-table-cell" scope="col">重要性</th><th class="ant-table-cell ant-table-cell-ellipsis" title="来源" scope="col">来源</th><th class="ant-table-cell" scope="col">更新时间</th><th class="ant-table-cell" scope="col">编辑</th></tr></thead><tbody class="ant-table-tbody"><tr class="ant-table-placeholder"><td class="ant-table-cell" colSpan="7"><div class="css-1pi45l5 css-var-_R_16_ ant-empty ant-empty-normal"><div class="ant-empty-image"><svg width="64" height="41" viewBox="0 0 64 41" xmlns="http://www.w3.org/2000/svg"><title>No data</title><g transform="translate(0 1)" fill="none" fill-rule="evenodd"><ellipse fill="#f2f2f2c9" cx="32" cy="33" rx="32" ry="7"></ellipse><g fill-rule="nonzero" stroke="#d0d0d0cf"><path d="M55 12.8 44.9 1.3Q44 0 42.9 0H21.1q-1.2 0-2 1.3L9 12.8V22h46z"></path><path d="M41.6 16c0-1.7 1-3 2.2-3H55v18.1c0 2.2-1.3 3.9-3 3.9H12c-1.7 0-3-1.7-3-3.9V13h11.2c1.2 0 2.2 1.3 2.2 3s1 2.9 2.2 2.9h14.8c1.2 0 2.2-1.4 2.2-3" fill="#f8f8f8c8"></path></g></g></svg></div><div class="ant-empty-description">No data</div></div></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></main></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/context/long-term","query":{},"buildId":"customize-agent-dashboard","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" data-next-head=""/><link rel="preload" href="/_next/static/css/9af88fe8ee791d26.css" as="style"/><link rel="stylesheet" href="/_next/static/css/9af88fe8ee791d26.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-ed4abb3bb200c815.js" defer=""></script><script src="/_next/static/chunks/pages/_app-b1f31c6bbc0bb7b1.js" defer=""></script><script src="/_next/static/chunks/260-cec84dc6c353e104.js" defer=""></script><script src="/_next/static/chunks/167-d4f384b289ecb70c.js" defer=""></script><script src="/_next/static/chunks/382-6ab5f41cd91edad0.js" defer=""></script><script src="/_next/static/chunks/628-27424ba8ca9ca8ce.js" defer=""></script><script src="/_next/static/chunks/271-39045be4cdbd6af1.js" defer=""></script><script src="/_next/static/chunks/576-fd55b302cb0c9a48.js" defer=""></script><script src="/_next/static/chunks/700-5d29b0475311f590.js" defer=""></script><script src="/_next/static/chunks/174-51b6d64f21e9b976.js" defer=""></script><script src="/_next/static/chunks/183-8da0232dd30cdc81.js" defer=""></script><script src="/_next/static/chunks/985-4b4a3ed36ada16eb.js" defer=""></script><script src="/_next/static/chunks/232-813af4932a145fdc.js" defer=""></script><script src="/_next/static/chunks/400-1fa1899b7c3f0bb4.js" defer=""></script><script src="/_next/static/chunks/257-e4ebae17a8ee8412.js" defer=""></script><script src="/_next/static/chunks/pages/context/long-term-f2a550bc848ec1a3.js" defer=""></script><script src="/_next/static/customize-agent-dashboard/_buildManifest.js" defer=""></script><script src="/_next/static/customize-agent-dashboard/_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><div class="sidebarLogoTitle"><span class="logoGradient">Customize Agent</span></div><div class="sidebarLogoSub">管理控制台</div></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><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-down"><path d="m6 9 6 6 6-6"></path></svg></span></div><div class="sidebarSubmenu"><a href="/context/long-term"><div class="sidebarItem sidebarSubItem sidebarItemActive"><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-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></div></a><a href="/context/short-term"><div class="sidebarItem sidebarSubItem"><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-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></div></a></div></div><a href="/documents"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-files"><path d="M20 7h-3a2 2 0 0 1-2-2V2"></path><path d="M9 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h7l4 4v10a2 2 0 0 1-2 2Z"></path><path d="M3 7.6v12.8A1.6 1.6 0 0 0 4.6 22h9.8"></path></svg><span>生成编辑</span></div></a><a href="/asset-library"><div class="sidebarItem"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-folder-open"><path d="m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2"></path></svg><span>生成资源</span></div></a><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="/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="/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="/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><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-6 animateFadeIn"><div class="flex items-center justify-between"><div><h1 class="pageTitle">长期上下文</h1><p class="pageDesc">来自记忆库的持久化上下文(跨会话保留)</p></div><div class="ant-space css-1pi45l5 ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small css-var-_R_16_" style="flex-wrap:wrap"><div class="ant-space-item"><span class="ant-input-affix-wrapper css-1pi45l5 ant-input-outlined css-var-_R_16_ ant-input-css-var" style="width:240px"><span class="ant-input-prefix"><span role="img" aria-label="search" class="anticon anticon-search"><svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg></span></span><input placeholder="搜索" class="ant-input css-1pi45l5" type="text" value=""/><span class="ant-input-suffix"><button type="button" class="ant-input-clear-icon ant-input-clear-icon-hidden"><span role="img" aria-label="close-circle" class="anticon anticon-close-circle"><svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false" data-icon="close-circle" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"></path></svg></span></button></span></span></div><div class="ant-space-item"><button type="button" class="ant-btn css-1pi45l5 css-var-_R_16_ ant-btn-default ant-btn-color-default ant-btn-variant-outlined"><span class="ant-btn-icon"><span role="img" aria-label="compress" class="anticon anticon-compress"><svg viewBox="64 64 896 896" focusable="false" data-icon="compress" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M326 664H104c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h174v176c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V696c0-17.7-14.3-32-32-32zm16-576h-48c-8.8 0-16 7.2-16 16v176H104c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h222c17.7 0 32-14.3 32-32V104c0-8.8-7.2-16-16-16zm578 576H698c-17.7 0-32 14.3-32 32v224c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V744h174c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16zm0-384H746V104c0-8.8-7.2-16-16-16h-48c-8.8 0-16 7.2-16 16v224c0 17.7 14.3 32 32 32h222c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16z"></path></svg></span></span><span>压缩</span></button></div><div class="ant-space-item"><button type="button" class="ant-btn css-1pi45l5 css-var-_R_16_ ant-btn-default ant-btn-dangerous ant-btn-color-dangerous ant-btn-variant-outlined"><span class="ant-btn-icon"><span role="img" aria-label="clear" class="anticon anticon-clear"><svg viewBox="64 64 896 896" focusable="false" data-icon="clear" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"></path></svg></span></span><span>清除</span></button></div></div></div><div class="ant-card ant-card-bordered ant-card-small css-1pi45l5 css-var-_R_16_"><div class="ant-card-body"><div class="ant-statistic css-1pi45l5 css-var-_R_16_"><div class="ant-statistic-header"><div class="ant-statistic-title">总上下文大小</div></div><div class="ant-statistic-content"><span class="ant-statistic-content-prefix"><span role="img" aria-label="database" class="anticon anticon-database"><svg viewBox="64 64 896 896" focusable="false" data-icon="database" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z"></path></svg></span></span><span class="ant-statistic-content-value">0 B</span><span class="ant-statistic-content-suffix"> / 0 条</span></div></div></div></div><div class="ant-card ant-card-bordered ant-card-small css-1pi45l5 css-var-_R_16_"><div class="ant-card-body"><div style="margin-bottom:12px;color:var(--colorTextSecondary);font-size:13px"><span role="img" aria-label="info-circle" class="anticon anticon-info-circle"><svg viewBox="64 64 896 896" focusable="false" data-icon="info-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="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"></path></svg></span> <!-- -->数据来源: ~/.customize-agent/memory.db(记忆库)</div><div class="css-var-_R_16_ ant-table-css-var ant-table-wrapper css-1pi45l5"><div class="ant-spin ant-spin-spinning css-1pi45l5 css-var-_R_16_" aria-live="polite" aria-busy="true"><div class="ant-spin-section"><span class="ant-spin-dot-holder"><span class="ant-spin-dot ant-spin-dot-spin"><i class="ant-spin-dot-item"></i><i class="ant-spin-dot-item"></i><i class="ant-spin-dot-item"></i><i class="ant-spin-dot-item"></i></span></span></div><div class="ant-spin-container"><div class="ant-table ant-table-small ant-table-empty css-var-_R_16_ ant-table-css-var css-1pi45l5"><div class="ant-table-container"><div class="ant-table-content"><table style="table-layout:fixed"><colgroup><col style="width:180px"/><col style="width:90px"/><col/><col style="width:80px"/><col style="width:100px"/><col style="width:140px"/><col style="width:100px"/></colgroup><thead class="ant-table-thead"><tr><th class="ant-table-cell ant-table-cell-ellipsis" title="模型名称" scope="col">模型名称</th><th class="ant-table-cell" scope="col">类型</th><th class="ant-table-cell ant-table-cell-ellipsis" title="内容" scope="col">内容</th><th class="ant-table-cell" scope="col">重要性</th><th class="ant-table-cell ant-table-cell-ellipsis" title="来源" scope="col">来源</th><th class="ant-table-cell" scope="col">更新时间</th><th class="ant-table-cell" scope="col">编辑</th></tr></thead><tbody class="ant-table-tbody"><tr class="ant-table-placeholder"><td class="ant-table-cell" colSpan="7"><div class="css-1pi45l5 css-var-_R_16_ ant-empty ant-empty-normal"><div class="ant-empty-image"><svg width="64" height="41" viewBox="0 0 64 41" xmlns="http://www.w3.org/2000/svg"><title>No data</title><g transform="translate(0 1)" fill="none" fill-rule="evenodd"><ellipse fill="#f2f2f2c9" cx="32" cy="33" rx="32" ry="7"></ellipse><g fill-rule="nonzero" stroke="#d0d0d0cf"><path d="M55 12.8 44.9 1.3Q44 0 42.9 0H21.1q-1.2 0-2 1.3L9 12.8V22h46z"></path><path d="M41.6 16c0-1.7 1-3 2.2-3H55v18.1c0 2.2-1.3 3.9-3 3.9H12c-1.7 0-3-1.7-3-3.9V13h11.2c1.2 0 2.2 1.3 2.2 3s1 2.9 2.2 2.9h14.8c1.2 0 2.2-1.4 2.2-3" fill="#f8f8f8c8"></path></g></g></svg></div><div class="ant-empty-description">No data</div></div></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></main></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/context/long-term","query":{},"buildId":"customize-agent-dashboard","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|