@customize-agent/server 3.0.13 → 3.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +210 -193
- package/.next/prerender-manifest.json +3 -3
- package/.next/required-server-files.json +14 -0
- package/.next/routes-manifest.json +29 -14
- package/.next/server/chunks/3328.js +128 -0
- package/.next/server/chunks/3445.js +109 -61
- package/.next/server/chunks/{5076.js → 774.js} +25 -25
- package/.next/server/chunks/8204.js +1 -1
- package/.next/server/chunks/8645.js +1 -0
- package/.next/server/chunks/9199.js +2 -2
- package/.next/server/chunks/9270.js +1 -1
- package/.next/server/chunks/9301.js +2 -2
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages/_app.js +1 -1
- package/.next/server/pages/_app.js.nft.json +1 -1
- package/.next/server/pages/_document.js +1 -1
- package/.next/server/pages/_document.js.nft.json +1 -1
- package/.next/server/pages/_error.js +1 -1
- package/.next/server/pages/_error.js.nft.json +1 -1
- package/.next/server/pages/api/assets/generated/preview.js +1 -0
- package/.next/server/pages/api/assets/generated/preview.js.nft.json +1 -0
- package/.next/server/pages/api/assets/generated.js +1 -0
- package/.next/server/pages/api/assets/generated.js.nft.json +1 -0
- package/.next/server/pages/api/config/providers/[provider].js +1 -1
- package/.next/server/pages/api/config/providers.js +1 -1
- package/.next/server/pages/api/documents/chapter/regenerate.js +1 -1
- package/.next/server/pages/api/documents/chapter/regenerate.js.nft.json +1 -1
- package/.next/server/pages/api/documents/export.js +14 -1
- package/.next/server/pages/api/documents/export.js.nft.json +1 -1
- package/.next/server/pages/api/documents/generate.js +1 -1
- package/.next/server/pages/api/documents/generate.js.nft.json +1 -1
- package/.next/server/pages/api/documents/generated/[id].js +1 -0
- package/.next/server/pages/api/documents/generated/[id].js.nft.json +1 -0
- package/.next/server/pages/api/documents/generated.js +1 -0
- package/.next/server/pages/api/documents/generated.js.nft.json +1 -0
- package/.next/server/pages/api/documents/roles.js +1 -1
- package/.next/server/pages/api/documents/specs.js +1 -1
- package/.next/server/pages/api/documents/templates.js +1 -1
- package/.next/server/pages/api/documents/templates.js.nft.json +1 -1
- package/.next/server/pages/api/kb/categories.js +1 -56
- package/.next/server/pages/api/kb/categories.js.nft.json +1 -1
- package/.next/server/pages/api/kb/duplicates.js +1 -56
- package/.next/server/pages/api/kb/duplicates.js.nft.json +1 -1
- package/.next/server/pages/api/kb/files/detail.js +3 -56
- package/.next/server/pages/api/kb/files/detail.js.nft.json +1 -1
- package/.next/server/pages/api/kb/files/open.js +1 -56
- package/.next/server/pages/api/kb/files/open.js.nft.json +1 -1
- package/.next/server/pages/api/kb/files/preview-pdf-page.js +1 -56
- package/.next/server/pages/api/kb/files/preview-pdf-page.js.nft.json +1 -1
- package/.next/server/pages/api/kb/files/reindex.js +1 -56
- package/.next/server/pages/api/kb/files/reindex.js.nft.json +1 -1
- package/.next/server/pages/api/kb/files.js +1 -56
- package/.next/server/pages/api/kb/files.js.nft.json +1 -1
- package/.next/server/pages/api/kb/ignore.js +1 -56
- package/.next/server/pages/api/kb/ignore.js.nft.json +1 -1
- package/.next/server/pages/api/kb/operations.js +1 -56
- package/.next/server/pages/api/kb/operations.js.nft.json +1 -1
- package/.next/server/pages/api/kb/reindex.js +1 -56
- package/.next/server/pages/api/kb/reindex.js.nft.json +1 -1
- package/.next/server/pages/api/kb/search.js +1 -56
- package/.next/server/pages/api/kb/search.js.nft.json +1 -1
- package/.next/server/pages/api/kb/stats.js +1 -56
- package/.next/server/pages/api/kb/stats.js.nft.json +1 -1
- package/.next/server/pages/api/kb/tags.js +1 -56
- package/.next/server/pages/api/kb/tags.js.nft.json +1 -1
- package/.next/server/pages/api/kb/upload.js +1 -56
- package/.next/server/pages/api/kb/upload.js.nft.json +1 -1
- package/.next/server/pages/api/prompt.js +1 -1
- package/.next/server/pages/asset-library.html +1 -0
- package/.next/server/pages/asset-library.js.nft.json +1 -0
- package/.next/server/pages/context/long-term.html +1 -1
- package/.next/server/pages/context/long-term.js.nft.json +1 -1
- package/.next/server/pages/context/short-term.html +1 -1
- package/.next/server/pages/context/short-term.js.nft.json +1 -1
- package/.next/server/pages/document-roles.html +1 -1
- package/.next/server/pages/document-roles.js.nft.json +1 -1
- package/.next/server/pages/document-specs.html +1 -1
- package/.next/server/pages/document-specs.js.nft.json +1 -1
- package/.next/server/pages/documents.html +1 -1
- package/.next/server/pages/documents.js.nft.json +1 -1
- package/.next/server/pages/guide.html +1 -1
- package/.next/server/pages/guide.js.nft.json +1 -1
- package/.next/server/pages/index.html +1 -1
- package/.next/server/pages/index.js.nft.json +1 -1
- package/.next/server/pages/knowledge/file-detail.html +1 -1
- package/.next/server/pages/knowledge/file-detail.js.nft.json +1 -1
- package/.next/server/pages/knowledge/files.html +1 -1
- package/.next/server/pages/knowledge/files.js.nft.json +1 -1
- package/.next/server/pages/knowledge/manage.html +1 -1
- package/.next/server/pages/knowledge/manage.js.nft.json +1 -1
- package/.next/server/pages/knowledge/search.html +1 -1
- package/.next/server/pages/knowledge/search.js.nft.json +1 -1
- package/.next/server/pages/knowledge.html +1 -1
- package/.next/server/pages/knowledge.js.nft.json +1 -1
- package/.next/server/pages/models.html +1 -1
- package/.next/server/pages/models.js.nft.json +1 -1
- package/.next/server/pages/overview.html +1 -1
- package/.next/server/pages/overview.js.nft.json +1 -1
- package/.next/server/pages/prompt.html +1 -1
- package/.next/server/pages/prompt.js.nft.json +1 -1
- package/.next/server/pages/settings.html +1 -1
- package/.next/server/pages/settings.js.nft.json +1 -1
- package/.next/server/pages-manifest.json +27 -22
- package/.next/static/chunks/15-4683808cb8db7005.js +4 -0
- package/.next/static/chunks/167-d4f384b289ecb70c.js +1 -0
- package/.next/static/chunks/174-51b6d64f21e9b976.js +10 -0
- package/.next/static/chunks/183-8da0232dd30cdc81.js +1 -0
- package/.next/static/chunks/20-8968ee2d4013a5b8.js +1 -0
- package/.next/static/chunks/224-9a7074031493793b.js +1 -0
- package/.next/static/chunks/232-813af4932a145fdc.js +6 -0
- package/.next/static/chunks/257-e4ebae17a8ee8412.js +1 -0
- package/.next/static/chunks/260-cec84dc6c353e104.js +28 -0
- package/.next/static/chunks/271-39045be4cdbd6af1.js +16 -0
- package/.next/static/chunks/292-f0a2c92861c304e6.js +16 -0
- package/.next/static/chunks/350-8c5e13c0577a38c3.js +1 -0
- package/.next/static/chunks/382-6ab5f41cd91edad0.js +25 -0
- package/.next/static/chunks/400-1fa1899b7c3f0bb4.js +78 -0
- package/.next/static/chunks/576-fd55b302cb0c9a48.js +4 -0
- package/.next/static/chunks/577-5b2691f0c8f17187.js +1 -0
- package/.next/static/chunks/617-68a9e848c380f9c3.js +1 -0
- package/.next/static/chunks/628-27424ba8ca9ca8ce.js +1 -0
- package/.next/static/chunks/700-5d29b0475311f590.js +1 -0
- package/.next/static/chunks/80-96429163e5c103a8.js +1 -0
- package/.next/static/chunks/858-5e6982e2b239d4b7.js +1 -0
- package/.next/static/chunks/881-a1eb917222b66f09.js +4 -0
- package/.next/static/chunks/935-daa0026982d7fa8d.js +1 -0
- package/.next/static/chunks/951-8ecf8af33ab36369.js +1 -0
- package/.next/static/chunks/969-5d5ff5a3ed74f52b.js +11 -0
- package/.next/static/chunks/985-4b4a3ed36ada16eb.js +4 -0
- package/.next/static/chunks/framework-161be364fd69a7ce.js +1 -0
- package/.next/static/chunks/main-ed4abb3bb200c815.js +1 -0
- package/.next/static/chunks/pages/_app-b1f31c6bbc0bb7b1.js +140 -0
- package/.next/static/chunks/pages/{_error-18decb9cd478883d.js → _error-282257fbdcc167b4.js} +1 -1
- package/.next/static/chunks/pages/asset-library-0f607b74fa016470.js +1 -0
- package/.next/static/chunks/pages/context/long-term-09e23b06634b08d9.js +1 -0
- package/.next/static/chunks/pages/context/short-term-2f5fd8531e87b5bd.js +1 -0
- package/.next/static/chunks/pages/document-roles-077fc7159c88e89e.js +1 -0
- package/.next/static/chunks/pages/document-specs-fb5b8a89cff6d1e3.js +1 -0
- package/.next/static/chunks/pages/documents-38320ae2fd50be35.js +1 -0
- package/.next/static/chunks/pages/guide-acf32d66a6df6e5a.js +1 -0
- package/.next/static/chunks/pages/index-c5e0758e6b31deee.js +1 -0
- package/.next/static/chunks/pages/knowledge/file-detail-ad1dc61c1413db0c.js +1 -0
- package/.next/static/chunks/pages/knowledge/files-896c058f2da5e907.js +1 -0
- package/.next/static/chunks/pages/knowledge/manage-6da10158f75718cf.js +1 -0
- package/.next/static/chunks/pages/knowledge/search-3fd704d2afa1af3e.js +1 -0
- package/.next/static/chunks/pages/knowledge-905248d8dcb15453.js +1 -0
- package/.next/static/chunks/pages/models-7bdf24068811ae91.js +1 -0
- package/.next/static/chunks/pages/overview-572bba4876e617f5.js +1 -0
- package/.next/static/chunks/pages/prompt-c9bc7884a44d3767.js +1 -0
- package/.next/static/chunks/pages/settings-68f0d05bf95d12da.js +1 -0
- package/.next/static/css/9af88fe8ee791d26.css +1 -0
- package/.next/static/customize-agent-dashboard/_buildManifest.js +1 -0
- package/README.md +18 -0
- package/next.config.ts +15 -6
- package/package.json +5 -5
- package/public/favicon.ico +1 -0
- package/.next/server/chunks/2583.js +0 -1
- package/.next/server/chunks/6352.js +0 -1
- package/.next/static/chunks/15-289cb38b53bafa4a.js +0 -4
- package/.next/static/chunks/167-9f45623d7ea7ab43.js +0 -1
- package/.next/static/chunks/174-e7df14600b457a5c.js +0 -10
- package/.next/static/chunks/201-b16b4788042ed1aa.js +0 -1
- package/.next/static/chunks/227-442963c7b630eade.js +0 -1
- package/.next/static/chunks/257-ba16dfe16a27f417.js +0 -1
- package/.next/static/chunks/260-7a7a65a3ca8539ba.js +0 -28
- package/.next/static/chunks/292-c2888a94068fae74.js +0 -16
- package/.next/static/chunks/382-dd7535429e16931b.js +0 -25
- package/.next/static/chunks/400-f06f00619f22421e.js +0 -78
- package/.next/static/chunks/446-0591221372df7d49.js +0 -4
- package/.next/static/chunks/455-e31becaaf948f868.js +0 -6
- package/.next/static/chunks/492-62671486700ed3f9.js +0 -1
- package/.next/static/chunks/517-f43787133528ba48.js +0 -1
- package/.next/static/chunks/668-662b7bc81e4ad48f.js +0 -4
- package/.next/static/chunks/730-727fe4b055c78dc2.js +0 -1
- package/.next/static/chunks/740-2bcba39d841f2b16.js +0 -16
- package/.next/static/chunks/746-120983153bceeea6.js +0 -1
- package/.next/static/chunks/804-e654a1589d9adc65.js +0 -11
- package/.next/static/chunks/846-fed995f7c83fc6c3.js +0 -1
- package/.next/static/chunks/851-1190cb42a0630eef.js +0 -1
- package/.next/static/chunks/891-b6a172e1df7ab8c1.js +0 -1
- package/.next/static/chunks/958-66e2dcf301fb3c3f.js +0 -1
- package/.next/static/chunks/969-8843874536e7fd83.js +0 -1
- package/.next/static/chunks/992-ea93dfa182a02a8e.js +0 -1
- package/.next/static/chunks/framework-b5223c1542334872.js +0 -1
- package/.next/static/chunks/main-1a03005b3754c708.js +0 -1
- package/.next/static/chunks/pages/_app-725afbb7d3371a13.js +0 -140
- package/.next/static/chunks/pages/context/long-term-dba1d735f2b5e12b.js +0 -1
- package/.next/static/chunks/pages/context/short-term-7cc72881b42b74fb.js +0 -1
- package/.next/static/chunks/pages/document-roles-0f24b162cfd49513.js +0 -1
- package/.next/static/chunks/pages/document-specs-991368925b27ceda.js +0 -1
- package/.next/static/chunks/pages/documents-93e638518deec9b5.js +0 -1
- package/.next/static/chunks/pages/guide-414134ce66270eb0.js +0 -1
- package/.next/static/chunks/pages/index-505bd438c95ec0e8.js +0 -1
- package/.next/static/chunks/pages/knowledge/file-detail-793d12234ccddac1.js +0 -1
- package/.next/static/chunks/pages/knowledge/files-1662e995b81e79aa.js +0 -1
- package/.next/static/chunks/pages/knowledge/manage-64ad6cdce068edb1.js +0 -1
- package/.next/static/chunks/pages/knowledge/search-fe148477dfe05966.js +0 -1
- package/.next/static/chunks/pages/knowledge-81fd1e907a6fcb84.js +0 -1
- package/.next/static/chunks/pages/models-0fb086e70387dde1.js +0 -1
- package/.next/static/chunks/pages/overview-db5df4f0bec2a77c.js +0 -1
- package/.next/static/chunks/pages/prompt-aa556d7a438117f1.js +0 -1
- package/.next/static/chunks/pages/settings-88f50b9cafc389e0.js +0 -1
- package/.next/static/css/5237c5e3358f3282.css +0 -1
- package/.next/static/yL_ilPc9XJWtNmN2W4Njc/_buildManifest.js +0 -1
- /package/.next/static/{yL_ilPc9XJWtNmN2W4Njc → customize-agent-dashboard}/_ssgManifest.js +0 -0
|
@@ -1,57 +1,2 @@
|
|
|
1
1
|
"use strict";(()=>{var a={};a.id=9452,a.ids=[9452],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}},19898:a=>{a.exports=require("@customize-agent/knowledge")},21820:a=>{a.exports=require("os")},
|
|
3
|
-
|
|
4
|
-
公开参考入口:https://df.qq.com/ 和 https://deltaforce.garena.com/
|
|
5
|
-
|
|
6
|
-
写作要求:
|
|
7
|
-
- 面向新手和进阶玩家,语言要直白。
|
|
8
|
-
- 必须解释干员定位、技能价值、适用场景和常见误区。
|
|
9
|
-
- 不能把没有来源的数据写成确定结论。
|
|
10
|
-
- 表格中的推荐指数只能作为示例参考。`,"文档资料/项目事实-热门干员资料.md":`# 【内置】三角洲热门干员资料
|
|
11
|
-
|
|
12
|
-
攻略目标:帮助用户快速理解热门干员怎么选、怎么搭配、怎么上手。
|
|
13
|
-
适用人群:刚开始游玩三角洲行动的新手,以及希望快速建立队伍分工的进阶玩家。
|
|
14
|
-
|
|
15
|
-
## 热门干员
|
|
16
|
-
- 露娜:侦察定位,适合信息获取、标记敌人、帮助队伍判断推进路线。
|
|
17
|
-
- 红狼:突击定位,适合正面突破、拉枪线、打开交战空间。
|
|
18
|
-
- 牧羊人:工程定位,适合控场、防守、限制敌方推进。
|
|
19
|
-
- 蜂医:支援定位,适合治疗、救援、提高队伍持续作战能力。
|
|
20
|
-
|
|
21
|
-
实战技巧:新手队伍建议至少包含一名侦察和一名支援;进攻队伍可以搭配突击位;防守或卡点时工程位价值更高。`,"表格数据/表格数据-热门干员推荐.csv":`干员名称,定位,推荐指数,上手难度,推荐场景
|
|
22
|
-
露娜,侦察,5,中,信息侦察和路线判断
|
|
23
|
-
红狼,突击,5,中高,突破和正面交火
|
|
24
|
-
牧羊人,工程,4,中,防守控场和区域封锁
|
|
25
|
-
蜂医,支援,5,低,治疗救援和续航`,"图纸文件/图纸文件-战术路线示意.md":`# 【内置】战术路线示意
|
|
26
|
-
|
|
27
|
-
示意说明:
|
|
28
|
-
- 侦察位优先观察主通道和侧翼。
|
|
29
|
-
- 突击位沿掩体推进,不要单独深入。
|
|
30
|
-
- 工程位在关键入口布置控场手段。
|
|
31
|
-
- 支援位保持在队伍中后段,优先保证救援路线。`,"文档资料/规范文件-攻略结构规范.md":`# 【内置】攻略结构规范
|
|
32
|
-
|
|
33
|
-
必须包含:攻略目标、热门干员定位、队伍搭配、推荐优先级、实战注意事项。
|
|
34
|
-
推荐写法:先讲结论,再讲原因,最后给操作建议。
|
|
35
|
-
导出前检查:不能出现缺失资料占位语;必须包含至少一张推荐表;必须覆盖露娜、红狼、牧羊人、蜂医。`}))){let d=g.join(b,a);i.mkdirSync(g.dirname(d),{recursive:!0}),i.writeFileSync(d,c,"utf-8")}let c=g.join(b,"文档资料","PDF资料-三角洲干员攻略摘要.pdf"),d=g.join(b,"文档资料","Word资料-三角洲干员打法说明.docx"),e=g.join(b,"文档资料","Word资料-队伍搭配说明.doc");i.mkdirSync(g.dirname(c),{recursive:!0}),function(a,b,c){if(i.existsSync(a)&&i.statSync(a).size>0)return;let d=`${b}
|
|
36
|
-
${c}`.replace(/[()]/gu,""),e=`%PDF-1.4
|
|
37
|
-
1 0 obj << /Type /Catalog /Pages 2 0 R >> endobj
|
|
38
|
-
2 0 obj << /Type /Pages /Kids [3 0 R] /Count 1 >> endobj
|
|
39
|
-
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
|
|
40
|
-
4 0 obj << /Length ${d.length+80} >> stream
|
|
41
|
-
BT /F1 18 Tf 50 780 Td (${d.slice(0,900)}) Tj ET
|
|
42
|
-
endstream endobj
|
|
43
|
-
5 0 obj << /Type /Font /Subtype /Type1 /BaseFont /Helvetica >> endobj
|
|
44
|
-
xref
|
|
45
|
-
0 6
|
|
46
|
-
0000000000 65535 f
|
|
47
|
-
trailer << /Root 1 0 R /Size 6 >>
|
|
48
|
-
startxref
|
|
49
|
-
0
|
|
50
|
-
%%EOF`;i.writeFileSync(a,e,"binary")}(c,"【内置】三角洲热门干员攻略 PDF 摘要","露娜负责侦察信息,红狼负责突破,牧羊人负责控场,蜂医负责支援续航。推荐新手优先熟悉蜂医和露娜,再练红狼与牧羊人。"),function(a,b,c){if(i.existsSync(a)&&i.statSync(a).size>0)return;let d=`import zipfile, html, sys
|
|
51
|
-
file,title,body=sys.argv[1],sys.argv[2],sys.argv[3]
|
|
52
|
-
content=''.join(f'<w:p><w:r><w:t>{html.escape(line)}</w:t></w:r></w:p>' for line in (title+'\\n'+body).split('\\n'))
|
|
53
|
-
with zipfile.ZipFile(file,'w') as z:
|
|
54
|
-
z.writestr('[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>')
|
|
55
|
-
z.writestr('_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>')
|
|
56
|
-
z.writestr('word/document.xml',f'<?xml version="1.0" encoding="UTF-8"?><w:document xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"><w:body>{content}</w:body></w:document>')`;try{(0,j.execFileSync)("python3",["-c",d,a,b,c],{stdio:"ignore"})}catch{i.writeFileSync(a,`${b}
|
|
57
|
-
${c}`,"utf-8")}}(d,"【内置】三角洲热门干员 Word 打法说明","露娜适合信息侦察;红狼适合进攻突破;牧羊人适合区域封锁;蜂医适合治疗救援。队伍建议至少包含侦察和支援。"),i.existsSync(e)||i.writeFileSync(e,"【内置】三角洲队伍搭配 Word 兼容资料\n侦察位看信息,突击位打开突破口,工程位控场,支援位保证续航。","utf-8");let f=g.join(b,"图片素材","干员图片");i.mkdirSync(f,{recursive:!0});let k=["# 干员图片资料","","图片来源参考:https://github.com/luoy-oss/deltaforce_id 和 https://playerhub.df.qq.com/playerhub/60004/object/p_{ID}.png",""];for(let[a,c]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 d=g.join(f,a);if(!i.existsSync(d)||!(i.statSync(d).size>0))try{(0,j.execFileSync)("curl",["-L","--max-time","12","-o",d,c],{stdio:"ignore"})}catch{i.writeFileSync(`${d}.url.txt`,c,"utf-8")}k.push(`- ${a.replace(".png","")}:${c};本地文件:${g.relative(b,d)}`)}return i.writeFileSync(g.join(b,"图片素材","图片文件-干员图片来源.md"),k.join("\n"),"utf-8"),a}function m(){return k||(k=new d.MultiProjectManager),k}function n(a){let b=g.resolve(a),c=g.resolve(g.join(h.homedir(),".customize-agent"));return b!==g.resolve(g.join(h.homedir(),".customize-agent","demo-project"))&&(!!(i.existsSync(g.join(b,"pnpm-workspace.yaml"))&&i.existsSync(g.join(b,"apps","server")))||b===c||b.includes(`${g.sep}.customize-agent${g.sep}`)||b.endsWith(`${g.sep}apps${g.sep}server`)||b.endsWith(`${g.sep}apps${g.sep}cli`))}function o(a=!1){let b=process.env.CUSTOMIZE_PROJECT_ROOT??process.env.INIT_CWD;if(b&&i.existsSync(b)&&!n(b))return g.resolve(b);if(!a)return l();let c=function(){let a=g.join(h.homedir(),".customize-agent","projects","registry.db");if(!i.existsSync(a))return[];let b=new(f())(a,{readonly:!0});try{return b.prepare("SELECT project_root FROM project_registry ORDER BY last_opened_at DESC").all().map(a=>g.resolve(a.project_root)).filter(a=>!n(a))}finally{b.close()}}();return c.length>0?c[0]:n(process.cwd())?l():process.cwd()}},29021:a=>{a.exports=require("fs")},33873:a=>{a.exports=require("path")},75600:a=>{a.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79646:a=>{a.exports=require("child_process")},87550:a=>{a.exports=require("better-sqlite3")},97217:(a,b,c)=>{c.d(b,{M:()=>e,Q:()=>f});let d=new Map;function e(a,b){a&&d.set(a,{id:a,...b,updatedAt:Date.now()})}function f(a){let b=d.get(a);if(b)return Date.now()-b.updatedAt>18e5?void d.delete(a):b}},97384:(a,b,c)=>{c.r(b),c.d(b,{config:()=>q,default:()=>p,handler:()=>s});var d={};c.r(d),c.d(d,{config:()=>l,default:()=>m});var e=c(11400),f=c(50029),g=c(71086),h=c(38513),i=c(23328),j=c(97217),k=c(6708);let l={api:{bodyParser:{sizeLimit:"500mb"},responseLimit:"500mb"}};async function m(a,b){if("POST"!==a.method)return b.status(405).json({error:"Method not allowed"});try{let{fileName:c,fileData:d,uploadId:e}=a.body,f=Array.isArray(a.body.files)?a.body.files:c&&d?[{fileName:c,fileData:d,relativePath:a.body.relativePath}]:[];if(0===f.length)return b.status(400).json({error:"files required"});let g=a.body.projectRoot||(0,i.aY)();if(!g)return b.status(400).json({error:"Project root is required"});let h=e||`upload-${Date.now()}`,l=1===f.length?f[0].fileName:`${f.length} 个文件`;(0,j.M)(h,{stage:"uploading",percent:20,message:"文件已接收,正在准备写入",fileName:l}),(0,k.Qf)(g,{id:h,type:"upload",title:`上传 ${l}`,stage:"uploading",status:"processing",percent:20,message:"文件已接收,正在准备写入",fileName:l});let m=await (0,i.Qh)().getProject(g),n=f.map(a=>({fileName:a.fileName,content:Buffer.from(a.fileData,"base64"),targetRelativePath:m.getUploadRelativePath(a.fileName,a.relativePath)})),o=n[0]?.targetRelativePath;(0,j.M)(h,{stage:"parsing",percent:40,message:"正在解析文件内容",fileName:l}),(0,k.Qf)(g,{id:h,type:"upload",title:`上传 ${l}`,stage:"parsing",status:"processing",percent:40,message:"正在解析文件内容",fileName:l,filePath:o});let p=await m.uploadFiles(n,a=>{let b="scanning"===a.stage?"uploading":a.stage;(0,j.M)(h,{...a,stage:b,fileName:l}),(0,k.Qf)(g,{id:h,type:"upload",title:`上传 ${l}`,stage:b,status:"processing",percent:a.percent,message:a.message,fileName:l,filePath:a.filePath??o,chunkCount:a.chunkCount})},{vectorMode:"defer"}),q=m.listFiles(),r=new Set([...p.newFiles,...p.modifiedFiles].map(a=>a.relativePath)),s=q.filter(a=>r.has(a.relativePath)).reduce((a,b)=>a+b.chunkCount,0),t=q.find(a=>a.relativePath===o),u=t?.metadataJson?JSON.parse(t.metadataJson):void 0,v=m.getVectorStatus(),w="ready"===v.status;(0,j.M)(h,{stage:"done",percent:100,message:w?"解析、切片和向量入库已完成":"解析、切片和 SQLite 入库已完成,向量入库待完成",fileName:l,chunkCount:1===f.length?t?.chunkCount:s,vectorStatus:v,error:v.error}),(0,k.Qf)(g,{id:h,type:"upload",title:`上传 ${l}`,stage:"done",status:w?"success":"warning",percent:100,message:w?"解析、切片和向量入库已完成":"解析、切片和 SQLite 入库已完成,向量入库待完成",fileName:l,filePath:1===f.length?t?.relativePath??o:void 0,chunkCount:1===f.length?t?.chunkCount:s,textLength:u?.extraction?.textLength,extractionMode:u?.extraction?.extractionMode,error:v.error}),b.status(200).json({success:!0,relativePath:1===f.length?t?.relativePath??o:void 0,added:p.newFiles.length,total:q.length,files:q,vectorStatus:v})}catch(g){let c=a.body?.projectRoot||(0,i.aY)(),d=Array.isArray(a.body?.files)?a.body.files:[],e=a.body?.fileName||(d.length>1?`${d.length} 个文件`:d[0]?.fileName),f=a.body?.uploadId||`upload-${Date.now()}`;c&&e&&(0,k.Qf)(c,{id:f,type:"upload",title:`上传 ${e}`,stage:"error",status:"error",percent:100,message:"上传或索引失败",fileName:e,error:"Internal server error"}),console.error("[api] kb/upload",g),b.status(500).json({error:"Internal server error"})}}var n=c(68970),o=c(50296);let p=(0,h.M)(d,"default"),q=(0,h.M)(d,"config"),r=new g.PagesAPIRouteModule({definition:{kind:f.A.PAGES_API,page:"/api/kb/upload",pathname:"/api/kb/upload",bundlePath:"",filename:""},userland:d,distDir:".next",relativeProjectDir:""});async function s(a,b,c){let d=await r.prepare(a,b,{srcPage:"/api/kb/upload"});if(!d){b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve());return}let{query:f,params:g,prerenderManifest:h,routerServerContext:i}=d;try{let c=a.method||"GET",d=(0,n.getTracer)(),e=d.getActiveScopeSpan(),j=r.instrumentationOnRequestError.bind(r),k=async e=>r.render(a,b,{query:{...f,...g},params:g,allowedRevalidateHeaderKeys:[],multiZoneDraftMode:!1,trustHostHeader:!1,previewProps:h.preview,propagateError:!1,dev:r.isDev,page:"/api/kb/upload",internalRevalidate:null==i?void 0:i.revalidate,onError:(...b)=>j(a,...b)}).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let f=d.getRootSpanAttributes();if(!f)return;if(f.get("next.span_type")!==o.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(o.BaseServerSpan.handleRequest,{spanName:`${c} ${a.url}`,kind:n.SpanKind.SERVER,attributes:{"http.method":c,"http.target":a.url}},k))}catch(a){if(r.isDev)throw a;(0,e.sendError)(b,500,"Internal Server Error")}finally{null==c.waitUntil||c.waitUntil.call(c,Promise.resolve())}}}};var b=require("../../../webpack-api-runtime.js");b.C(a);var c=b.X(0,[9705],()=>b(b.s=97384));module.exports=c})();
|
|
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")},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")},97217:(a,b,c)=>{c.d(b,{M:()=>e,Q:()=>f});let d=new Map;function e(a,b){a&&d.set(a,{id:a,...b,updatedAt:Date.now()})}function f(a){let b=d.get(a);if(b)return Date.now()-b.updatedAt>18e5?void d.delete(a):b}},97384:(a,b,c)=>{c.r(b),c.d(b,{config:()=>q,default:()=>p,handler:()=>s});var d={};c.r(d),c.d(d,{config:()=>l,default:()=>m});var e=c(11400),f=c(50029),g=c(71086),h=c(38513),i=c(23328),j=c(97217),k=c(6708);let l={api:{bodyParser:{sizeLimit:"500mb"},responseLimit:"500mb"}};async function m(a,b){if("POST"!==a.method)return b.status(405).json({error:"Method not allowed"});try{let{fileName:c,fileData:d,uploadId:e}=a.body,f=Array.isArray(a.body.files)?a.body.files:c&&d?[{fileName:c,fileData:d,relativePath:a.body.relativePath}]:[];if(0===f.length)return b.status(400).json({error:"files required"});let g=a.body.projectRoot||(0,i.aY)();if(!g)return b.status(400).json({error:"Project root is required"});let h=e||`upload-${Date.now()}`,l=1===f.length?f[0].fileName:`${f.length} 个文件`;(0,j.M)(h,{stage:"uploading",percent:20,message:"文件已接收,正在准备写入",fileName:l}),(0,k.Qf)(g,{id:h,type:"upload",title:`上传 ${l}`,stage:"uploading",status:"processing",percent:20,message:"文件已接收,正在准备写入",fileName:l});let m=await (0,i.Qh)().getProject(g),n=f.map(a=>({fileName:a.fileName,content:Buffer.from(a.fileData,"base64"),targetRelativePath:m.getUploadRelativePath(a.fileName,a.relativePath)})),o=n[0]?.targetRelativePath;(0,j.M)(h,{stage:"parsing",percent:40,message:"正在解析文件内容",fileName:l}),(0,k.Qf)(g,{id:h,type:"upload",title:`上传 ${l}`,stage:"parsing",status:"processing",percent:40,message:"正在解析文件内容",fileName:l,filePath:o});let p=await m.uploadFiles(n,a=>{let b="scanning"===a.stage?"uploading":a.stage;(0,j.M)(h,{...a,stage:b,fileName:l}),(0,k.Qf)(g,{id:h,type:"upload",title:`上传 ${l}`,stage:b,status:"processing",percent:a.percent,message:a.message,fileName:l,filePath:a.filePath??o,chunkCount:a.chunkCount})},{vectorMode:"defer"}),q=m.listFiles(),r=new Set([...p.newFiles,...p.modifiedFiles].map(a=>a.relativePath)),s=q.filter(a=>r.has(a.relativePath)).reduce((a,b)=>a+b.chunkCount,0),t=q.find(a=>a.relativePath===o),u=t?.metadataJson?JSON.parse(t.metadataJson):void 0,v=m.getVectorStatus(),w="ready"===v.status;(0,j.M)(h,{stage:"done",percent:100,message:w?"解析、切片和向量入库已完成":"解析、切片和 SQLite 入库已完成,向量入库待完成",fileName:l,chunkCount:1===f.length?t?.chunkCount:s,vectorStatus:v,error:v.error}),(0,k.Qf)(g,{id:h,type:"upload",title:`上传 ${l}`,stage:"done",status:w?"success":"warning",percent:100,message:w?"解析、切片和向量入库已完成":"解析、切片和 SQLite 入库已完成,向量入库待完成",fileName:l,filePath:1===f.length?t?.relativePath??o:void 0,chunkCount:1===f.length?t?.chunkCount:s,textLength:u?.extraction?.textLength,extractionMode:u?.extraction?.extractionMode,error:v.error}),b.status(200).json({success:!0,relativePath:1===f.length?t?.relativePath??o:void 0,added:p.newFiles.length,total:q.length,files:q,vectorStatus:v})}catch(g){let c=a.body?.projectRoot||(0,i.aY)(),d=Array.isArray(a.body?.files)?a.body.files:[],e=a.body?.fileName||(d.length>1?`${d.length} 个文件`:d[0]?.fileName),f=a.body?.uploadId||`upload-${Date.now()}`;c&&e&&(0,k.Qf)(c,{id:f,type:"upload",title:`上传 ${e}`,stage:"error",status:"error",percent:100,message:"上传或索引失败",fileName:e,error:"Internal server error"}),console.error("[api] kb/upload",g),b.status(500).json({error:"Internal server error"})}}var n=c(68970),o=c(50296);let p=(0,h.M)(d,"default"),q=(0,h.M)(d,"config"),r=new g.PagesAPIRouteModule({definition:{kind:f.A.PAGES_API,page:"/api/kb/upload",pathname:"/api/kb/upload",bundlePath:"",filename:""},userland:d,distDir:".next",relativeProjectDir:""});async function s(a,b,c){let d=await r.prepare(a,b,{srcPage:"/api/kb/upload"});if(!d){b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve());return}let{query:f,params:g,prerenderManifest:h,routerServerContext:i}=d;try{let c=a.method||"GET",d=(0,n.getTracer)(),e=d.getActiveScopeSpan(),j=r.instrumentationOnRequestError.bind(r),k=async e=>r.render(a,b,{query:{...f,...g},params:g,allowedRevalidateHeaderKeys:[],multiZoneDraftMode:!1,trustHostHeader:!1,previewProps:h.preview,propagateError:!1,dev:r.isDev,page:"/api/kb/upload",internalRevalidate:null==i?void 0:i.revalidate,onError:(...b)=>j(a,...b)}).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let f=d.getRootSpanAttributes();if(!f)return;if(f.get("next.span_type")!==o.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(o.BaseServerSpan.handleRequest,{spanName:`${c} ${a.url}`,kind:n.SpanKind.SERVER,attributes:{"http.method":c,"http.target":a.url}},k))}catch(a){if(r.isDev)throw a;(0,e.sendError)(b,500,"Internal Server Error")}finally{null==c.waitUntil||c.waitUntil.call(c,Promise.resolve())}}}};var b=require("../../../webpack-api-runtime.js");b.C(a);var c=b.X(0,[9705,3328],()=>b(b.s=97384));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/package.json","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.stat","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/run-parallel","../../../../../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/package.json","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.scandir","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/async.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/stream.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/sync.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/reader.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/sync.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/package.json","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/fastq","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/package.json","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/bindings","../../../../../../../node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/bindings.js","../../../../../../../node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/package.json","../../../../../../../node_modules/.pnpm/bindings@1.5.0/node_modules/file-uri-to-path","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/index.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/compile.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/constants.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/expand.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/parse.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/stringify.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/utils.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/package.json","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/fill-range","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/@nodelib/fs.stat","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/@nodelib/fs.walk","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/index.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/async.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/deep.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/entry.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/error.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/matcher.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/partial.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/provider.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/stream.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/sync.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/transformers/entry.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/async.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/reader.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/stream.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/sync.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/package.json","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/glob-parent","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/merge2","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/micromatch","../../../../../../../node_modules/.pnpm/fastq@1.20.1/node_modules/fastq/package.json","../../../../../../../node_modules/.pnpm/fastq@1.20.1/node_modules/fastq/queue.js","../../../../../../../node_modules/.pnpm/fastq@1.20.1/node_modules/reusify","../../../../../../../node_modules/.pnpm/file-uri-to-path@1.0.0/node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/.pnpm/file-uri-to-path@1.0.0/node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/index.js","../../../../../../../node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/package.json","../../../../../../../node_modules/.pnpm/fill-range@7.1.1/node_modules/to-regex-range","../../../../../../../node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.js","../../../../../../../node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/package.json","../../../../../../../node_modules/.pnpm/glob-parent@5.1.2/node_modules/is-glob","../../../../../../../node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.js","../../../../../../../node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/package.json","../../../../../../../node_modules/.pnpm/is-glob@4.0.3/node_modules/is-extglob","../../../../../../../node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.js","../../../../../../../node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/package.json","../../../../../../../node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.js","../../../../../../../node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/package.json","../../../../../../../node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.js","../../../../../../../node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/package.json","../../../../../../../node_modules/.pnpm/micromatch@4.0.8/node_modules/braces","../../../../../../../node_modules/.pnpm/micromatch@4.0.8/node_modules/micromatch/index.js","../../../../../../../node_modules/.pnpm/micromatch@4.0.8/node_modules/micromatch/package.json","../../../../../../../node_modules/.pnpm/micromatch@4.0.8/node_modules/picomatch","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/bytes/index.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/bytes/package.json","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/raw-body/index.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/raw-body/package.json","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/package.json","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/index.js","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/constants.js","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/parse.js","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/picomatch.js","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/scan.js","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/utils.js","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/package.json","../../../../../../../node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/index.js","../../../../../../../node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/package.json","../../../../../../../node_modules/.pnpm/reusify@1.1.0/node_modules/reusify/package.json","../../../../../../../node_modules/.pnpm/reusify@1.1.0/node_modules/reusify/reusify.js","../../../../../../../node_modules/.pnpm/run-parallel@1.2.0/node_modules/queue-microtask","../../../../../../../node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/index.js","../../../../../../../node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/package.json","../../../../../../../node_modules/.pnpm/sqlite-vec@0.1.9/node_modules/sqlite-vec/index.cjs","../../../../../../../node_modules/.pnpm/sqlite-vec@0.1.9/node_modules/sqlite-vec/index.mjs","../../../../../../../node_modules/.pnpm/sqlite-vec@0.1.9/node_modules/sqlite-vec/package.json","../../../../../../../node_modules/.pnpm/to-regex-range@5.0.1/node_modules/is-number","../../../../../../../node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.js","../../../../../../../node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/package.json","../../../../../../../package.json","../../../../../../../packages/knowledge/dist/chunking/text-chunker.js","../../../../../../../packages/knowledge/dist/classification/classifier.js","../../../../../../../packages/knowledge/dist/constants.js","../../../../../../../packages/knowledge/dist/core/change-tracker.js","../../../../../../../packages/knowledge/dist/core/file-scanner.js","../../../../../../../packages/knowledge/dist/core/index-state-store.js","../../../../../../../packages/knowledge/dist/core/knowledge-base-manager.js","../../../../../../../packages/knowledge/dist/core/multi-project-manager.js","../../../../../../../packages/knowledge/dist/core/project-config.js","../../../../../../../packages/knowledge/dist/core/project-id.js","../../../../../../../packages/knowledge/dist/core/project-registry.js","../../../../../../../packages/knowledge/dist/dedup/dedup-engine.js","../../../../../../../packages/knowledge/dist/dedup/relationship-detector.js","../../../../../../../packages/knowledge/dist/embedding/embedding-provider.js","../../../../../../../packages/knowledge/dist/extraction/content-extractor.js","../../../../../../../packages/knowledge/dist/extraction/external-extractor.js","../../../../../../../packages/knowledge/dist/extraction/module-resolver.js","../../../../../../../packages/knowledge/dist/index.js","../../../../../../../packages/knowledge/dist/search/federation-search.js","../../../../../../../packages/knowledge/dist/vector/collection-manager.js","../../../../../../../packages/knowledge/dist/vector/sqlite-vec-store.js","../../../../../../../packages/knowledge/dist/vector/vector-indexer.js","../../../../../../../packages/knowledge/node_modules/better-sqlite3","../../../../../../../packages/knowledge/node_modules/fast-glob","../../../../../../../packages/knowledge/node_modules/sqlite-vec","../../../../../../../packages/knowledge/package.json","../../../../../node_modules/@customize-agent/knowledge","../../../../../node_modules/better-sqlite3","../../../../../node_modules/next","../../../../../package.json","../../../../package.json","../../../chunks/9705.js","../../../webpack-api-runtime.js"]}
|
|
1
|
+
{"version":1,"files":["../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/package.json","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.stat","../../../../../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/run-parallel","../../../../../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/package.json","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.scandir","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/async.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/stream.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/sync.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/reader.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/sync.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.js","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/package.json","../../../../../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/fastq","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/package.json","../../../../../../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/bindings","../../../../../../../node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/bindings.js","../../../../../../../node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/package.json","../../../../../../../node_modules/.pnpm/bindings@1.5.0/node_modules/file-uri-to-path","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/index.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/compile.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/constants.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/expand.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/parse.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/stringify.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/utils.js","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/package.json","../../../../../../../node_modules/.pnpm/braces@3.0.3/node_modules/fill-range","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/@nodelib/fs.stat","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/@nodelib/fs.walk","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/index.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/async.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/deep.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/entry.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/error.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/matcher.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/partial.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/provider.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/stream.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/sync.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/transformers/entry.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/async.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/reader.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/stream.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/sync.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.js","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/package.json","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/glob-parent","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/merge2","../../../../../../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/micromatch","../../../../../../../node_modules/.pnpm/fastq@1.20.1/node_modules/fastq/package.json","../../../../../../../node_modules/.pnpm/fastq@1.20.1/node_modules/fastq/queue.js","../../../../../../../node_modules/.pnpm/fastq@1.20.1/node_modules/reusify","../../../../../../../node_modules/.pnpm/file-uri-to-path@1.0.0/node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/.pnpm/file-uri-to-path@1.0.0/node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/index.js","../../../../../../../node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/package.json","../../../../../../../node_modules/.pnpm/fill-range@7.1.1/node_modules/to-regex-range","../../../../../../../node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.js","../../../../../../../node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/package.json","../../../../../../../node_modules/.pnpm/glob-parent@5.1.2/node_modules/is-glob","../../../../../../../node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.js","../../../../../../../node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/package.json","../../../../../../../node_modules/.pnpm/is-glob@4.0.3/node_modules/is-extglob","../../../../../../../node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.js","../../../../../../../node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/package.json","../../../../../../../node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.js","../../../../../../../node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/package.json","../../../../../../../node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.js","../../../../../../../node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/package.json","../../../../../../../node_modules/.pnpm/micromatch@4.0.8/node_modules/braces","../../../../../../../node_modules/.pnpm/micromatch@4.0.8/node_modules/micromatch/index.js","../../../../../../../node_modules/.pnpm/micromatch@4.0.8/node_modules/micromatch/package.json","../../../../../../../node_modules/.pnpm/micromatch@4.0.8/node_modules/picomatch","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/bytes/index.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/bytes/package.json","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/raw-body/index.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/compiled/raw-body/package.json","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/.pnpm/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0/node_modules/next/package.json","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/index.js","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/constants.js","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/parse.js","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/picomatch.js","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/scan.js","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/utils.js","../../../../../../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/package.json","../../../../../../../node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/index.js","../../../../../../../node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/package.json","../../../../../../../node_modules/.pnpm/reusify@1.1.0/node_modules/reusify/package.json","../../../../../../../node_modules/.pnpm/reusify@1.1.0/node_modules/reusify/reusify.js","../../../../../../../node_modules/.pnpm/run-parallel@1.2.0/node_modules/queue-microtask","../../../../../../../node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/index.js","../../../../../../../node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/package.json","../../../../../../../node_modules/.pnpm/sqlite-vec@0.1.9/node_modules/sqlite-vec/index.cjs","../../../../../../../node_modules/.pnpm/sqlite-vec@0.1.9/node_modules/sqlite-vec/index.mjs","../../../../../../../node_modules/.pnpm/sqlite-vec@0.1.9/node_modules/sqlite-vec/package.json","../../../../../../../node_modules/.pnpm/to-regex-range@5.0.1/node_modules/is-number","../../../../../../../node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.js","../../../../../../../node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/package.json","../../../../../../../node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/dist/cpexcel.js","../../../../../../../node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/package.json","../../../../../../../node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/xlsx.js","../../../../../../../package.json","../../../../../../../packages/knowledge/dist/chunking/text-chunker.js","../../../../../../../packages/knowledge/dist/classification/classifier.js","../../../../../../../packages/knowledge/dist/constants.js","../../../../../../../packages/knowledge/dist/core/change-tracker.js","../../../../../../../packages/knowledge/dist/core/file-scanner.js","../../../../../../../packages/knowledge/dist/core/index-state-store.js","../../../../../../../packages/knowledge/dist/core/knowledge-base-manager.js","../../../../../../../packages/knowledge/dist/core/multi-project-manager.js","../../../../../../../packages/knowledge/dist/core/project-config.js","../../../../../../../packages/knowledge/dist/core/project-id.js","../../../../../../../packages/knowledge/dist/core/project-registry.js","../../../../../../../packages/knowledge/dist/dedup/dedup-engine.js","../../../../../../../packages/knowledge/dist/dedup/relationship-detector.js","../../../../../../../packages/knowledge/dist/embedding/embedding-provider.js","../../../../../../../packages/knowledge/dist/extraction/content-extractor.js","../../../../../../../packages/knowledge/dist/extraction/external-extractor.js","../../../../../../../packages/knowledge/dist/extraction/module-resolver.js","../../../../../../../packages/knowledge/dist/index.js","../../../../../../../packages/knowledge/dist/search/federation-search.js","../../../../../../../packages/knowledge/dist/vector/collection-manager.js","../../../../../../../packages/knowledge/dist/vector/sqlite-vec-store.js","../../../../../../../packages/knowledge/dist/vector/vector-indexer.js","../../../../../../../packages/knowledge/node_modules/better-sqlite3","../../../../../../../packages/knowledge/node_modules/fast-glob","../../../../../../../packages/knowledge/node_modules/sqlite-vec","../../../../../../../packages/knowledge/package.json","../../../../../node_modules/@customize-agent/knowledge","../../../../../node_modules/better-sqlite3","../../../../../node_modules/next","../../../../../node_modules/xlsx","../../../../../package.json","../../../../package.json","../../../chunks/3328.js","../../../chunks/9705.js","../../../webpack-api-runtime.js"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(()=>{var a={};a.id=1289,a.ids=[1289],a.modules={21820:a=>{a.exports=require("os")},29021:a=>{a.exports=require("fs")},33873:a=>{a.exports=require("path")},52201:(a,b,c)=>{c.r(b),c.d(b,{config:()=>
|
|
1
|
+
"use strict";(()=>{var a={};a.id=1289,a.ids=[1289],a.modules={21820:a=>{a.exports=require("os")},29021:a=>{a.exports=require("fs")},33873:a=>{a.exports=require("path")},52201:(a,b,c)=>{c.r(b),c.d(b,{config:()=>D,default:()=>C,handler:()=>F});var d={};c.r(d),c.d(d,{default:()=>z});var e=c(11400),f=c(50029),g=c(71086),h=c(38513),i=c(29021),j=c(33873),k=c(21820),l=c(87550),m=c.n(l);let n=j.join(k.homedir(),".customize-agent"),o=j.join(n,"projects","registry.db"),p=j.join(n,"prompts.json");function q(a){return j.resolve(a)}function r(a){let b=q(a),c=q(j.join(k.homedir(),".customize-agent")),d=b.split(j.sep);return b!==j.resolve(j.join(k.homedir(),".customize-agent","demo-project"))&&(b===c||b.endsWith(`${j.sep}apps${j.sep}server`)||b.endsWith(`${j.sep}apps${j.sep}cli`)||d.includes(".customize-agent"))}function s(a){return i.existsSync(o)?new(m())(o,{readonly:a}):null}function t(a){let b=q(a);return"CUSTOMIZE.md"===j.basename(b)&&(function(){let a=new Set,b=q(process.env.CUSTOMIZE_PROJECT_ROOT??process.env.INIT_CWD??process.cwd());r(b)||a.add(b);let c=s(!0);if(!c)return a;try{for(let b of c.prepare("SELECT project_root FROM project_registry").all()){let c=q(String(b.project_root));r(c)||a.add(c)}}finally{c.close()}return a})().has(q(j.dirname(b)))}let u=[{id:"builtin:delta-fact-extraction",name:"内置|三角洲事实抽取提示词",content:"请从资料中抽取干员名称、定位、技能、推荐指数、上手难度、推荐场景,输出结构化事实,不要编造。"},{id:"builtin:delta-chapter-generation",name:"内置|三角洲章节生成提示词",content:"请用新手能看懂的大白话生成攻略,先给结论,再解释原因,最后给实战建议。必须引用表格数据和来源资料。"},{id:"builtin:delta-validation",name:"内置|三角洲校验提示词",content:"检查是否覆盖露娜、红狼、牧羊人、蜂医;是否有推荐表格;是否出现缺失资料占位语;是否有来源。"},{id:"builtin:delta-formatting",name:"内置|三角洲格式化提示词",content:"整理标题、列表、表格和结尾提醒,让攻略更适合正式导出。"}],v=new Set(u.map(a=>a.id));function w(a){return`file:${q(a)}`}function x(){try{let a=JSON.parse(i.readFileSync(p,"utf-8"));return{selectedIds:Array.isArray(a.selectedIds)?a.selectedIds.map(String).filter(a=>!v.has(a)):[],customPrompts:Array.isArray(a.customPrompts)?a.customPrompts:[]}}catch{return{selectedIds:[],customPrompts:[]}}}function y(a){i.mkdirSync(j.dirname(p),{recursive:!0});let b={...a,selectedIds:a.selectedIds.filter(a=>!v.has(a))};i.writeFileSync(p,JSON.stringify(b,null,2),"utf-8")}function z(a,b){try{if("GET"===a.method){let a=[],c=[],d=q(process.env.CUSTOMIZE_PROJECT_ROOT??process.env.INIT_CWD??process.cwd()),e=x(),f=w(j.join(d,"CUSTOMIZE.md")),g=i.existsSync(p)&&e.selectedIds.length>0?e.selectedIds:[f],h=s(!0);if(h)try{for(let b of h.prepare("SELECT project_id, project_root, project_name FROM project_registry ORDER BY last_opened_at DESC").all()){let e=q(String(b.project_root));if(r(e)){c.push(String(b.project_id));continue}let f=j.join(e,"CUSTOMIZE.md"),h=i.existsSync(f),k=w(f);a.push({id:k,projectId:String(b.project_id),projectRoot:e,projectName:String(b.project_name||j.basename(e)||e),customizePath:f,content:h?i.readFileSync(f,"utf-8"):"",mtime:h?i.statSync(f).mtime.toISOString():"",hasFile:h,isCurrent:e===d,selected:g.includes(k),source:e===d?"current":"project"})}}finally{h.close()}let k=j.join(d,"CUSTOMIZE.md");if(!r(d)&&!a.some(a=>a.projectRoot===d)){let b=i.existsSync(k);a.unshift({id:f,projectId:"current",projectRoot:d,projectName:j.basename(d)||d,customizePath:k,content:b?i.readFileSync(k,"utf-8"):"",mtime:b?i.statSync(k).mtime.toISOString():"",hasFile:b,isCurrent:!0,selected:g.includes(f),source:"current"})}for(let b of u)a.push({id:b.id,projectId:b.id,projectName:b.name,customizePath:b.id,content:b.content,mtime:"",hasFile:!0,isCurrent:!1,selected:g.includes(b.id),source:"custom"});for(let b of e.customPrompts)a.push({id:b.id,projectId:b.id,projectName:b.name,customizePath:b.id,content:b.content,mtime:b.updatedAt,hasFile:!0,isCurrent:!1,selected:g.includes(b.id),source:"custom"});return!function(a){if(0===a.length)return;let b=s(!1);if(b)try{let c=b.prepare("DELETE FROM project_registry WHERE project_id = ?");for(let b of a)c.run(b)}catch(a){}finally{b.close()}}(c),b.status(200).json(a)}if("POST"===a.method){let{action:c,projectRoot:d,content:e,name:f,selectedIds:g}=a.body,h=x();if("createCustom"===c){let a=new Date().toISOString(),c=`custom:${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;return h.customPrompts.push({id:c,name:String(f||"自定义提示词"),content:"string"==typeof e?e:"",createdAt:a,updatedAt:a}),y(h),b.status(200).json({success:!0,id:c})}if("select"===c)return h.selectedIds=Array.isArray(g)?g.map(String).filter(a=>!v.has(a)):[],y(h),b.status(200).json({success:!0});let k=q(String(d||""));if(!k||r(k)||!i.existsSync(k))return b.status(403).json({error:"Invalid project root"});let l=j.join(k,"CUSTOMIZE.md");if("create"===c)return i.existsSync(l)||i.writeFileSync(l,"string"==typeof e?e:"","utf-8"),h.selectedIds=Array.from(new Set([...h.selectedIds,w(l)])),y(h),b.status(200).json({success:!0,customizePath:l,mtime:i.statSync(l).mtime.toISOString()});return b.status(400).json({error:"Invalid action"})}if("PUT"===a.method){let{filePath:c,content:d,name:e}=a.body;if(!c||"string"!=typeof d)return b.status(400).json({error:"filePath and content required"});let f=String(c);if(f.startsWith("custom:")){let a=x(),c=a.customPrompts.find(a=>a.id===f);if(!c)return b.status(404).json({error:"Prompt not found"});return c.content=d,"string"==typeof e&&e.trim()&&(c.name=e.trim()),c.updatedAt=new Date().toISOString(),y(a),b.status(200).json({success:!0,mtime:c.updatedAt})}let g=q(f);if(!t(g))return b.status(403).json({error:"Invalid prompt file"});let h=j.dirname(g);if(!i.existsSync(h))return b.status(404).json({error:"Project directory not found"});return i.writeFileSync(g,d,"utf-8"),b.status(200).json({success:!0,mtime:i.statSync(g).mtime.toISOString()})}if("DELETE"===a.method){let{projectId:c,filePath:d}=a.body;if(!d)return b.status(400).json({error:"filePath required"});let e=String(d),f=x();if(e.startsWith("custom:"))return f.customPrompts=f.customPrompts.filter(a=>a.id!==e),f.selectedIds=f.selectedIds.filter(a=>a!==e),y(f),b.status(200).json({success:!0});let g=q(e);if(!t(g))return b.status(403).json({error:"Invalid prompt file"});if(i.existsSync(g)&&i.unlinkSync(g),f.selectedIds=f.selectedIds.filter(a=>a!==w(g)),y(f),c&&"current"!==c){let a=s(!1);try{a?.prepare("DELETE FROM project_registry WHERE project_id = ?").run(String(c))}finally{a?.close()}}return b.status(200).json({success:!0})}b.status(405).json({error:"Method not allowed"})}catch(a){console.error("[api] prompt",a),b.status(500).json({error:"Internal server error"})}}var A=c(68970),B=c(50296);let C=(0,h.M)(d,"default"),D=(0,h.M)(d,"config"),E=new g.PagesAPIRouteModule({definition:{kind:f.A.PAGES_API,page:"/api/prompt",pathname:"/api/prompt",bundlePath:"",filename:""},userland:d,distDir:".next",relativeProjectDir:""});async function F(a,b,c){let d=await E.prepare(a,b,{srcPage:"/api/prompt"});if(!d){b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve());return}let{query:f,params:g,prerenderManifest:h,routerServerContext:i}=d;try{let c=a.method||"GET",d=(0,A.getTracer)(),e=d.getActiveScopeSpan(),j=E.instrumentationOnRequestError.bind(E),k=async e=>E.render(a,b,{query:{...f,...g},params:g,allowedRevalidateHeaderKeys:[],multiZoneDraftMode:!1,trustHostHeader:!1,previewProps:h.preview,propagateError:!1,dev:E.isDev,page:"/api/prompt",internalRevalidate:null==i?void 0:i.revalidate,onError:(...b)=>j(a,...b)}).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let f=d.getRootSpanAttributes();if(!f)return;if(f.get("next.span_type")!==B.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${f.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let g=f.get("next.route");if(g){let a=`${c} ${g}`;e.setAttributes({"next.route":g,"http.route":g,"next.span_name":a}),e.updateName(a)}else e.updateName(`${c} ${a.url}`)});e?await k(e):await d.withPropagatedContext(a.headers,()=>d.trace(B.BaseServerSpan.handleRequest,{spanName:`${c} ${a.url}`,kind:A.SpanKind.SERVER,attributes:{"http.method":c,"http.target":a.url}},k))}catch(a){if(E.isDev)throw a;(0,e.sendError)(b,500,"Internal Server Error")}finally{null==c.waitUntil||c.waitUntil.call(c,Promise.resolve())}}},75600:a=>{a.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../webpack-api-runtime.js");b.C(a);var c=b.X(0,[9705],()=>b(b.s=52201));module.exports=c})();
|
|
@@ -0,0 +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-a1eb917222b66f09.js" defer=""></script><script src="/_next/static/chunks/pages/asset-library-0f607b74fa016470.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>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":1,"files":["../webpack-runtime.js","../chunks/8645.js","../chunks/774.js","../chunks/9199.js","../chunks/9301.js","../chunks/9270.js","../chunks/8204.js","../../../package.json","../../../../../package.json"]}
|
|
@@ -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/5237c5e3358f3282.css" as="style"/><link rel="stylesheet" href="/_next/static/css/5237c5e3358f3282.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-b5223c1542334872.js" defer=""></script><script src="/_next/static/chunks/main-1a03005b3754c708.js" defer=""></script><script src="/_next/static/chunks/pages/_app-725afbb7d3371a13.js" defer=""></script><script src="/_next/static/chunks/260-7a7a65a3ca8539ba.js" defer=""></script><script src="/_next/static/chunks/167-9f45623d7ea7ab43.js" defer=""></script><script src="/_next/static/chunks/382-dd7535429e16931b.js" defer=""></script><script src="/_next/static/chunks/201-b16b4788042ed1aa.js" defer=""></script><script src="/_next/static/chunks/668-662b7bc81e4ad48f.js" defer=""></script><script src="/_next/static/chunks/227-442963c7b630eade.js" defer=""></script><script src="/_next/static/chunks/740-2bcba39d841f2b16.js" defer=""></script><script src="/_next/static/chunks/174-e7df14600b457a5c.js" defer=""></script><script src="/_next/static/chunks/492-62671486700ed3f9.js" defer=""></script><script src="/_next/static/chunks/455-e31becaaf948f868.js" defer=""></script><script src="/_next/static/chunks/446-0591221372df7d49.js" defer=""></script><script src="/_next/static/chunks/400-f06f00619f22421e.js" defer=""></script><script src="/_next/static/chunks/257-ba16dfe16a27f417.js" defer=""></script><script src="/_next/static/chunks/pages/context/long-term-dba1d735f2b5e12b.js" defer=""></script><script src="/_next/static/yL_ilPc9XJWtNmN2W4Njc/_buildManifest.js" defer=""></script><script src="/_next/static/yL_ilPc9XJWtNmN2W4Njc/_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="appShellPlaceholder"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/context/long-term","query":{},"buildId":"yL_ilPc9XJWtNmN2W4Njc","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-09e23b06634b08d9.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 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../webpack-runtime.js","../../chunks/
|
|
1
|
+
{"version":1,"files":["../../webpack-runtime.js","../../chunks/8645.js","../../chunks/774.js","../../chunks/9199.js","../../chunks/9301.js","../../chunks/9270.js","../../chunks/8204.js","../../../../messages/zh-CN.json","../../../../messages/en-US.json","../../../../package.json","../../../../../../package.json"]}
|
|
@@ -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/5237c5e3358f3282.css" as="style"/><link rel="stylesheet" href="/_next/static/css/5237c5e3358f3282.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-b5223c1542334872.js" defer=""></script><script src="/_next/static/chunks/main-1a03005b3754c708.js" defer=""></script><script src="/_next/static/chunks/pages/_app-725afbb7d3371a13.js" defer=""></script><script src="/_next/static/chunks/260-7a7a65a3ca8539ba.js" defer=""></script><script src="/_next/static/chunks/167-9f45623d7ea7ab43.js" defer=""></script><script src="/_next/static/chunks/382-dd7535429e16931b.js" defer=""></script><script src="/_next/static/chunks/201-b16b4788042ed1aa.js" defer=""></script><script src="/_next/static/chunks/668-662b7bc81e4ad48f.js" defer=""></script><script src="/_next/static/chunks/227-442963c7b630eade.js" defer=""></script><script src="/_next/static/chunks/740-2bcba39d841f2b16.js" defer=""></script><script src="/_next/static/chunks/174-e7df14600b457a5c.js" defer=""></script><script src="/_next/static/chunks/492-62671486700ed3f9.js" defer=""></script><script src="/_next/static/chunks/455-e31becaaf948f868.js" defer=""></script><script src="/_next/static/chunks/446-0591221372df7d49.js" defer=""></script><script src="/_next/static/chunks/400-f06f00619f22421e.js" defer=""></script><script src="/_next/static/chunks/257-ba16dfe16a27f417.js" defer=""></script><script src="/_next/static/chunks/pages/context/short-term-7cc72881b42b74fb.js" defer=""></script><script src="/_next/static/yL_ilPc9XJWtNmN2W4Njc/_buildManifest.js" defer=""></script><script src="/_next/static/yL_ilPc9XJWtNmN2W4Njc/_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="appShellPlaceholder"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/context/short-term","query":{},"buildId":"yL_ilPc9XJWtNmN2W4Njc","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/short-term-2f5fd8531e87b5bd.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"><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 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></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/logs/(会话日志)</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:80px"/><col/><col style="width:120px"/><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 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="6"><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/short-term","query":{},"buildId":"customize-agent-dashboard","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../webpack-runtime.js","../../chunks/
|
|
1
|
+
{"version":1,"files":["../../webpack-runtime.js","../../chunks/8645.js","../../chunks/774.js","../../chunks/9199.js","../../chunks/9301.js","../../chunks/9270.js","../../chunks/8204.js","../../../../messages/zh-CN.json","../../../../messages/en-US.json","../../../../package.json","../../../../../../package.json"]}
|