ai-helper-agent 2.8.7 → 2.8.9

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.
@@ -22,7 +22,7 @@
22
22
 
23
23
  ## \u6267\u884C\u6B65\u9AA4
24
24
  1. \u6B65\u9AA41
25
- 2. \u6B65\u9AA42`,existingResources:"\u5DF2\u6709\u8D44\u6E90\u6587\u4EF6",skillNameRequired:"\u8BF7\u8F93\u5165\u6280\u80FD\u540D\u79F0",skillMarkdownRequired:"\u8BF7\u8F93\u5165 SKILL.md \u5185\u5BB9",agentSkillSaved:'Agent \u6280\u80FD "{name}" \u4FDD\u5B58\u6210\u529F',saveFailedShort:"\u4FDD\u5B58\u5931\u8D25",saveFailed:"\u4FDD\u5B58\u5931\u8D25: {error}",viewSkillTitle:"\u67E5\u770B\u6280\u80FD: {name}",importSkillTitle:"\u5BFC\u5165\u6280\u80FD",importBtn:"\u5BFC\u5165",jsonImport:"JSON \u5BFC\u5165",newAuthoring:"\u65B0\u5EFA\u7F16\u5199",zipPackage:"Zip \u5305",urlImport:"URL \u5BFC\u5165",jsonImportDesc:"\u5BFC\u5165 JSON \u683C\u5F0F\u7684 Workflow \u6280\u80FD\uFF08\u786E\u5B9A\u6027\u81EA\u52A8\u5316\u6D41\u7A0B\uFF09",clickOrDragJson:"\u70B9\u51FB\u9009\u62E9 JSON \u6587\u4EF6\u6216\u62D6\u62FD\u5230\u6B64\u5904",jsonFileHint:"\u652F\u6301 .json \u683C\u5F0F\u7684 Workflow \u6280\u80FD\u5B9A\u4E49\u6587\u4EF6",markdownImportDesc:"\u76F4\u63A5\u7F16\u5199 SKILL.md \u5185\u5BB9\uFF0C\u521B\u5EFA Agent \u6280\u80FD\uFF08AI \u80FD\u529B\u6269\u5C55\uFF09",zipImportDesc:"\u5BFC\u5165\u5305\u542B SKILL.md \u7684 Zip \u538B\u7F29\u5305\uFF0C\u53EF\u9644\u5E26 scripts/templates/assets \u7B49\u8F85\u52A9\u8D44\u6E90",clickOrDragZip:"\u70B9\u51FB\u9009\u62E9 Zip \u6587\u4EF6\u6216\u62D6\u62FD\u5230\u6B64\u5904",zipFileHint:"Zip \u5305\u5185\u9700\u5305\u542B SKILL.md \u6587\u4EF6\uFF0C\u53EF\u9009\u7684 scripts/ templates/ assets/ \u5B50\u76EE\u5F55",urlImportDesc:"\u4ECE\u8FDC\u7A0B URL \u4E0B\u8F7D\u6280\u80FD\u7684 Zip \u5305\u5E76\u81EA\u52A8\u5BFC\u5165",downloadUrl:"\u4E0B\u8F7D\u5730\u5740",selectJsonFile:"\u8BF7\u9009\u62E9 JSON \u6587\u4EF6",workflowSkillImported:'Workflow \u6280\u80FD "{name}" \u5BFC\u5165\u6210\u529F',agentSkillCreated:'Agent \u6280\u80FD "{name}" \u521B\u5EFA\u6210\u529F',createFailedShort:"\u521B\u5EFA\u5931\u8D25",selectZipFile:"\u8BF7\u9009\u62E9 Zip \u6587\u4EF6",fileTooLarge:"\u6587\u4EF6\u8FC7\u5927\uFF0C\u6700\u5927\u652F\u6301 50MB",fileReadFailed:"\u6587\u4EF6\u8BFB\u53D6\u5931\u8D25",agentSkillImported:'Agent \u6280\u80FD "{name}" \u5BFC\u5165\u6210\u529F',urlRequired:"\u8BF7\u8F93\u5165 URL",importFailed:"\u5BFC\u5165\u5931\u8D25: {error}",searchMcpPlaceholder:"\u641C\u7D22 MCP \u670D\u52A1\u5668...",searchSkillPlaceholder:"\u641C\u7D22\u6280\u80FD...",filterAll:"\u5168\u90E8",filterEnabled:"\u5DF2\u542F\u7528",filterDisabled:"\u5DF2\u505C\u7528",noMatchResult:"\u65E0\u5339\u914D\u7ED3\u679C"},memoryPanel:{tabTitle:"\u8BB0\u5FC6",title:"\u8BB0\u5FC6\u5411\u91CF",enabled:"\u5DF2\u542F\u7528",disabled:"\u5DF2\u505C\u7528",statusTitle:"\u5411\u91CF\u7D22\u5F15\u72B6\u6001",statusLoading:"\u8BFB\u53D6\u4E2D\u2026",statusOffline:"\u4EE3\u7406\u672A\u8FDE\u63A5\uFF0C\u6682\u65F6\u8BFB\u4E0D\u5230\u5411\u91CF\u72B6\u6001",statusFail:"\u5411\u91CF\u72B6\u6001\u8BFB\u53D6\u5931\u8D25",statusOldAgent:"\u5F53\u524D\u4EE3\u7406\u7248\u672C\u6CA1\u6709\u8FD9\u4E2A\u72B6\u6001\u63A5\u53E3\uFF0C\u8BF7\u91CD\u542F\u4EE3\u7406\u540E\u518D\u770B",statusDetail:"\u8FD4\u56DE\u4FE1\u606F",statusIndexed:"\u5DF2\u7D22\u5F15 {indexed} / \u5171 {total} \u6761",statusStored:"\u5411\u91CF\u6307\u7EB9",statusCurrent:"\u5F53\u524D\u914D\u7F6E\u6307\u7EB9",statusTier:"\u751F\u6548\u6863\u4F4D",statusStale:"\u5DF2\u9648\u65E7\uFF1A\u6A21\u578B\u53D8\u66F4\u540E\u672A\u91CD\u5EFA",statusFresh:"\u4E0E\u5F53\u524D\u914D\u7F6E\u4E00\u81F4",staleHint:"\u65E7\u5411\u91CF\u4E0E\u65B0\u914D\u7F6E\u4E0D\u53EF\u6BD4\uFF0C\u8BED\u4E49\u53EC\u56DE\u4F1A\u9759\u9ED8\u9000\u5316\u3002\u8BF7\u70B9\u300C\u91CD\u5EFA\u5411\u91CF\u7D22\u5F15\u300D\uFF08\u6709\u672A\u4FDD\u5B58\u7684\u4FEE\u6539\u5148\u4FDD\u5B58\uFF09\u3002",modeLabel:"\u5D4C\u5165\u6765\u6E90",modeRemote:"\u8FDC\u7AEF\u670D\u52A1\uFF08OpenAI \u517C\u5BB9\u63A5\u53E3\uFF09",modeLocal:"\u672C\u5730\u6A21\u578B",baseUrlLabel:"\u670D\u52A1\u5730\u5740",baseUrlPlaceholder:"https://api.openai.com/v1",modelLabel:"\u6A21\u578B\u540D\u79F0",modelPlaceholder:"BAAI/bge-m3",apiKeyLabel:"API Key",apiKeyPlaceholder:"\u7559\u7A7A\u8868\u793A\u4E0D\u4FEE\u6539",apiKeyClearBtn:"\u6E05\u9664\u5DF2\u5B58 Key",apiKeyClearConfirm:"\u6E05\u9664\u540E\u8FDC\u7AEF\u8BED\u4E49\u53EC\u56DE\u968F\u5373\u505C\u7528\uFF08\u964D\u56DE\u5173\u952E\u8BCD\u6863\uFF09\uFF0C\u76F4\u5230\u91CD\u65B0\u586B\u5165\u5E76\u4FDD\u5B58\u65B0 Key\u3002\u786E\u5B9A\u6E05\u9664\uFF1F",apiKeyCleared:"\u5DF2\u6E05\u9664\u5DF2\u5B58\u7684 API Key",apiKeyClearFail:"\u6E05\u9664 Key \u5931\u8D25\uFF1A{error}",configNotLoaded:"\u914D\u7F6E\u672A\u6210\u529F\u52A0\u8F7D\uFF0C\u4E3A\u907F\u514D\u628A\u4EE3\u7406\u91CC\u7684\u8BBE\u7F6E\u8986\u76D6\u6210\u7A7A\uFF0C\u8BF7\u5237\u65B0\u9762\u677F\u540E\u91CD\u8BD5",dimsLabel:"\u5411\u91CF\u7EF4\u5EA6\uFF08\u53EF\u7559\u7A7A\uFF0C\u6D4B\u8BD5\u65F6\u81EA\u52A8\u63A2\u6D4B\uFF09",prefixLabel:"\u67E5\u8BE2\u524D\u7F00\uFF08queryPrefix\uFF0C\u53EF\u7559\u7A7A\uFF09",localNotice:"\u672C\u5730\u6863\u65E0\u9700\u6D4B\u8BD5\u8FDE\u901A\u6027\uFF1A\u4FDD\u5B58\u540E\u76F4\u63A5\u91CD\u5EFA\u5411\u91CF\u7D22\u5F15\uFF08\u9996\u6B21\u4F7F\u7528\u9700\u4E0B\u8F7D\u6A21\u578B\uFF0C\u53EF\u80FD\u6570\u5341\u5206\u949F\uFF09\u3002\u5D4C\u5165\u5728 512 token \u5904\u9759\u9ED8\u622A\u65AD\uFF0C\u8D85\u957F\u6761\u76EE\u53EA\u6709\u524D\u90E8\u8FDB\u5165\u5411\u91CF\u3002",testBtn:"\u6D4B\u8BD5\u8FDE\u901A\u6027",testRunning:"\u6D4B\u8BD5\u4E2D\u2026",testOk:"\u8FDE\u901A\u6B63\u5E38\uFF1A{model} \u8F93\u51FA {dims} \u7EF4",testFail:"\u6D4B\u8BD5\u5931\u8D25\uFF1A{error}",scopeHint:"\u672C Tab \u7684\u914D\u7F6E\u4F1A\u5728\u70B9\u51FB\u5E95\u90E8\u300C\u4FDD\u5B58\u914D\u7F6E\u300D\u65F6\u4E00\u5E76\u5199\u5165\u4EE3\u7406\uFF08\u672C\u5730 agent \u670D\u52A1\uFF09\u7684 config.json\uFF1B\u4EE3\u7406\u672A\u8FDE\u63A5\u65F6\u8DF3\u8FC7\u8BE5\u9879\uFF0C\u4EC5\u4FDD\u5B58\u6269\u5C55\u81EA\u8EAB\u8BBE\u7F6E",saveSkippedOffline:"\u4EE3\u7406\u672A\u8FDE\u63A5\uFF0C\u8BB0\u5FC6\u5411\u91CF\u914D\u7F6E\u672A\u4FDD\u5B58\uFF08\u4EC5\u4FDD\u5B58\u4E86\u6269\u5C55\u8BBE\u7F6E\uFF09",saveSuccess:"\u8BB0\u5FC6\u5411\u91CF\u914D\u7F6E\u5DF2\u4FDD\u5B58",saveFail:"\u4FDD\u5B58\u5931\u8D25\uFF1A{error}",toggleOnSaved:"\u5DF2\u542F\u7528\u8BED\u4E49\u5411\u91CF\u53EC\u56DE",toggleOffSaved:"\u5DF2\u505C\u7528\uFF0C\u53EC\u56DE\u56DE\u843D\u5173\u952E\u8BCD\u901A\u9053",toggleFail:"\u5F00\u5173\u5207\u6362\u5931\u8D25\uFF1A{error}",reindexBtn:"\u91CD\u5EFA\u5411\u91CF\u7D22\u5F15",reindexConfirm:"\u91CD\u5EFA\u4F1A\u7528\u5F53\u524D\u914D\u7F6E\u91CD\u65B0\u8BA1\u7B97\u5168\u90E8\u8BB0\u5FC6\u7684\u5411\u91CF\u3002\u672C\u5730\u6863 41 \u6761\u5B9E\u6D4B\u7EA6 23 \u5206\u949F\uFF08\u8FDC\u7AEF\u7EA6 2 \u5206\u949F\uFF09\uFF0C\u671F\u95F4\u8BF7\u52FF\u5173\u95ED\u672C\u9875\u9762\u3002\u786E\u5B9A\u7EE7\u7EED\uFF1F",reindexRunning:"\u91CD\u5EFA\u8FDB\u884C\u4E2D\uFF0C\u8BF7\u52FF\u5173\u95ED\u9875\u9762\u2026",reindexDone:"\u91CD\u5EFA\u5B8C\u6210\uFF1A\u5DF2\u7D22\u5F15 {indexed} / {total}",reindexBatchFail:"\uFF08{count} \u6279\u5931\u8D25\uFF0C\u8BE6\u89C1 agent \u65E5\u5FD7\uFF09",reindexOverWindow:"\uFF08{count} \u6761\u8D85\u51FA {window} token \u7A97\u53E3\uFF0C\u5C3E\u90E8\u672A\u8FDB\u5411\u91CF\uFF09",reindexSkipped:"\u672A\u91CD\u5EFA\uFF1A\u5411\u91CF\u6863\u672A\u542F\u7528",reindexFail:"\u91CD\u5EFA\u5931\u8D25\uFF1A{error}",gateAgentOffTitle:"\u4EE3\u7406\u672A\u8FDE\u63A5",gateAgentOffBody:"\u8BB0\u5FC6\u5411\u91CF\u914D\u7F6E\u7531\u672C\u5730\u4EE3\u7406\u63D0\u4F9B\u3002\u8BF7\u5148\u5728\u300C\u4EE3\u7406\u300D\u6807\u7B7E\u9875\u5B8C\u6210\u4EE3\u7406\u8FDE\u63A5\uFF0C\u518D\u56DE\u5230\u8FD9\u91CC\u914D\u7F6E\u3002",gateRagTitle:"\u672C\u5730\u6A21\u578B\u4F9D\u8D56\u672A\u5C31\u7EEA",gateRagMissing:"\u672C\u5730\u6A21\u578B\u9700\u8981 RAG \u4F9D\u8D56\u3002\u8BF7\u5148\u5728\u300C\u6269\u5C55\u300D\u9762\u677F\u5B8C\u6210\u5B89\u88C5\uFF0C\u518D\u56DE\u5230\u8FD9\u91CC\u914D\u7F6E\u3002",goToAgentTab:"\u524D\u5F80\u300C\u4EE3\u7406\u300D\u6807\u7B7E\u9875",goToToolboxTab:"\u524D\u5F80\u300C\u6269\u5C55\u300D\u6807\u7B7E\u9875"},memoryEntries:{title:"\u8BB0\u5FC6\u6761\u76EE",refreshBtn:"\u5237\u65B0",exportBtn:"\u5BFC\u51FA",importBtn:"\u5BFC\u5165",exportEmpty:"\u8FD8\u6CA1\u6709\u53EF\u5BFC\u51FA\u7684\u8BB0\u5FC6\u6761\u76EE",exportDone:"\u5DF2\u5BFC\u51FA {count} \u6761\u8BB0\u5FC6\u5230 {file}",importParseFail:"\u5BFC\u5165\u5931\u8D25\uFF1A\u6587\u4EF6\u4E0D\u662F\u5408\u6CD5\u7684 JSON",importFormatFail:"\u5BFC\u5165\u5931\u8D25\uFF1A\u6587\u4EF6\u683C\u5F0F\u4E0D\u6B63\u786E\uFF0C\u8BF7\u9009\u62E9\u8BB0\u5FC6\u5BFC\u51FA\u6587\u4EF6\u6216\u6DD8\u6C70\u5F52\u6863\u6587\u4EF6",importConfirm:"\u5C06\u8FFD\u52A0\u5BFC\u5165 {add} \u6761\u8BB0\u5FC6\uFF0C\u8DF3\u8FC7 {skipped} \u6761\uFF08\u5DF2\u5B58\u5728\u6216\u683C\u5F0F\u4E0D\u7B26\uFF09\u3002\u5BFC\u5165\u4E0D\u8986\u76D6\u73B0\u6709\u8BB0\u5FC6\uFF0C\u4F46\u5BFC\u5165\u540E\u7684\u6761\u76EE\u65E0\u6CD5\u6279\u91CF\u64A4\u9500\u3002\u786E\u5B9A\u7EE7\u7EED\uFF1F",importNone:"\u6CA1\u6709\u53EF\u5BFC\u5165\u7684\u65B0\u8BB0\u5FC6\uFF08\u8DF3\u8FC7 {skipped} \u6761\uFF09",importDone:"\u5BFC\u5165\u5B8C\u6210\uFF1A\u65B0\u589E {added} \u6761\uFF0C\u8DF3\u8FC7 {skipped} \u6761",importPartialFail:"\u5BFC\u5165\u5B8C\u6210\uFF1A\u65B0\u589E {added} \u6761\uFF0C\u5931\u8D25 {failed} \u6761\uFF0C\u8DF3\u8FC7 {skipped} \u6761",searchPlaceholder:"\u641C\u7D22\u5185\u5BB9\u6216\u6807\u7B7E\u2026",filterAll:"\u5168\u90E8\u7C7B\u578B",filterFact:"\u4E8B\u5B9E",filterSummary:"\u6458\u8981",sortCreatedDesc:"\u521B\u5EFA\u65F6\u95F4\uFF08\u65B0\u2192\u65E7\uFF09",sortImportanceDesc:"\u91CD\u8981\u5EA6\uFF08\u9AD8\u2192\u4F4E\uFF09",sortValueDesc:"\u4EF7\u503C\u5206\uFF08\u9AD8\u2192\u4F4E\uFF09",sortValueAsc:"\u4EF7\u503C\u5206\uFF08\u4F4E\u2192\u9AD8\uFF09",count:"{shown} / {total} \u6761",loading:"\u8BFB\u53D6\u4E2D\u2026",empty:"\u8FD8\u6CA1\u6709\u4EFB\u4F55\u8BB0\u5FC6\u6761\u76EE",noMatch:"\u6CA1\u6709\u7B26\u5408\u7B5B\u9009\u6761\u4EF6\u7684\u6761\u76EE",offline:"\u4EE3\u7406\u672A\u8FDE\u63A5\uFF0C\u6682\u65F6\u8BFB\u4E0D\u5230\u8BB0\u5FC6\u6761\u76EE",unsupported:"\u5F53\u524D\u4EE3\u7406\u7248\u672C\u4E0D\u652F\u6301\u8BB0\u5FC6\u6761\u76EE\u7BA1\u7406\uFF0C\u8BF7\u5347\u7EA7\u5E76\u91CD\u542F\u4EE3\u7406",loadFail:"\u8BB0\u5FC6\u6761\u76EE\u8BFB\u53D6\u5931\u8D25\uFF1A{error}",importanceShort:"\u91CD\u8981\u5EA6",valueShort:"\u4EF7\u503C",createdLabel:"\u521B\u5EFA",lastAccessLabel:"\u6700\u8FD1\u8BBF\u95EE",neverAccessed:"\u4ECE\u672A",accessCount:"\u8BBF\u95EE {count} \u6B21",tagsLabel:"\u6807\u7B7E",editBtn:"\u7F16\u8F91",deleteBtn:"\u5220\u9664",editTitle:"\u7F16\u8F91\u8BB0\u5FC6\u6761\u76EE",typeLabel:"\u7C7B\u578B",contentLabel:"\u5185\u5BB9",importanceLabel:"\u91CD\u8981\u5EA6\uFF081-10\uFF09",tagsPlaceholder:"\u9017\u53F7\u5206\u9694\uFF0C\u5982\uFF1A\u73AF\u5883\u3001\u504F\u597D",saveBtn:"\u4FDD\u5B58\u4FEE\u6539",cancelBtn:"\u53D6\u6D88",contentEmpty:"\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",saved:"\u8BB0\u5FC6\u5DF2\u66F4\u65B0",saveFail:"\u66F4\u65B0\u5931\u8D25\uFF1A{error}",deleteConfirm:"\u5220\u9664\u8FD9\u6761\u8BB0\u5FC6\uFF1F\u5220\u9664\u540E\u4E0D\u53EF\u6062\u590D\uFF0C\u5176\u5411\u91CF\u7F13\u5B58\u4F1A\u540C\u6B65\u6458\u9664\u3002",deleted:"\u8BB0\u5FC6\u5DF2\u5220\u9664",deleteFail:"\u5220\u9664\u5931\u8D25\uFF1A{error}",candidatesHint:"{count} \u6761\u4F4E\u4EF7\u503C\u8BB0\u5FC6\u5EFA\u8BAE\u6DD8\u6C70\uFF08\u4EF7\u503C\u5206\u4F4E\u4E8E 10\uFF09",compactBtn:"\u4E00\u952E\u538B\u7F29",compactConfirm:"\u5C06\u5F52\u6863 {count} \u6761\u4EF7\u503C\u5206\u4F4E\u4E8E {threshold} \u7684\u8BB0\u5FC6\uFF0C\u518D\u4ECE\u8BB0\u5FC6\u5E93\u4E2D\u79FB\u9664\uFF1B\u5F52\u6863\u6587\u4EF6\u53EF\u5728\u9700\u8981\u65F6\u7528\u4E8E\u627E\u56DE\u3002\u786E\u5B9A\u538B\u7F29\uFF1F",compactDone:"\u538B\u7F29\u5B8C\u6210\uFF1A\u5F52\u6863\u4E8B\u5B9E {facts} \u6761\u3001\u6458\u8981 {summaries} \u6761",compactArchived:"\u5DF2\u5F52\u6863 {count} \u6761\u6DD8\u6C70\u8BB0\u5FC6\u5230 {dir}\uFF0C\u9700\u8981\u65F6\u53EF\u4ECE\u8BE5\u76EE\u5F55\u627E\u56DE",compactFail:"\u538B\u7F29\u5931\u8D25\uFF1A{error}"},knowledge:{tabTitle:"\u77E5\u8BC6\u5E93",gateAgentOffTitle:"\u4EE3\u7406\u672A\u8FDE\u63A5",gateAgentOffDesc:"\u77E5\u8BC6\u5E93\u529F\u80FD\u7531\u672C\u5730\u4EE3\u7406\u63D0\u4F9B\u3002\u8BF7\u5148\u5728\u300C\u4EE3\u7406\u300D\u6807\u7B7E\u9875\u5B8C\u6210\u4EE3\u7406\u8FDE\u63A5\uFF0C\u518D\u56DE\u5230\u8FD9\u91CC\u7BA1\u7406\u77E5\u8BC6\u5E93\u3002",gateRagOffTitle:"\u77E5\u8BC6\u5E93\u529F\u80FD\u672A\u542F\u7528",gateRagOffDesc:"\u5F00\u542F\u4E0A\u65B9\u300C\u77E5\u8BC6\u5E93\u68C0\u7D22\u300D\u603B\u5F00\u5173\u540E\uFF0C\u5373\u53EF\u521B\u5EFA\u548C\u7BA1\u7406\u77E5\u8BC6\u5E93\u3002",gateRagUnavailableTitle:"\u4EE3\u7406\u7AEF\u80FD\u529B\u672A\u5C31\u7EEA",gateRagUnavailableDesc:"RAG \u4F9D\u8D56\u5C1A\u672A\u5B89\u88C5\uFF0C\u6216 Node \u7248\u672C\u4E0D\u6EE1\u8DB3\u8981\u6C42\uFF08\u9700 Node 22+\uFF09\u3002\u8BF7\u67E5\u770B\u4E0B\u65B9\u5B89\u88C5\u5F15\u5BFC\u3002",goToAgentTab:"\u524D\u5F80\u300C\u4EE3\u7406\u300D\u6807\u7B7E\u9875",goToToolboxTab:"\u524D\u5F80\u300C\u6269\u5C55\u300D\u6807\u7B7E\u9875",enableNow:"\u7ACB\u5373\u542F\u7528",title:"\u77E5\u8BC6\u5E93",createBtn:"+ \u65B0\u5EFA\u77E5\u8BC6\u5E93",searchPlaceholder:"\u641C\u7D22\u77E5\u8BC6\u5E93...",emptyTitle:"\u8FD8\u6CA1\u6709\u77E5\u8BC6\u5E93",emptyDesc:"\u70B9\u51FB\u300C\u65B0\u5EFA\u77E5\u8BC6\u5E93\u300D\u521B\u5EFA\u7B2C\u4E00\u4E2A\u77E5\u8BC6\u5E93\uFF0C\u7136\u540E\u5BFC\u5165\u6587\u6863\u5F00\u59CB\u4F7F\u7528\u3002",loadFailed:"\u52A0\u8F7D\u5931\u8D25: {error}",retry:"\u91CD\u8BD5",statsSummary:"{docs} \u6587\u6863 \xB7 {chunks} \u5206\u5757",modeLocal:"\u672C\u5730\u6A21\u578B",modeRemote:"\u8FDC\u7AEF\u670D\u52A1",actionEdit:"\u7F16\u8F91",actionIngest:"\u5BFC\u5165",actionSearch:"\u68C0\u7D22\u6D4B\u8BD5",actionDocs:"\u6587\u6863",actionExport:"\u5BFC\u51FA",exporting:"\u6B63\u5728\u5BFC\u51FA...",exportSuccess:"\u77E5\u8BC6\u5E93\u300C{name}\u300D\u5907\u4EFD\u5DF2\u5BFC\u51FA",exportFailed:"\u77E5\u8BC6\u5E93\u5BFC\u51FA\u5931\u8D25: {error}",actionDelete:"\u5220\u9664",actionEnable:"\u542F\u7528",actionDisable:"\u505C\u7528",badgeDisabled:"\u5DF2\u505C\u7528",enableSuccess:"\u77E5\u8BC6\u5E93\u300C{name}\u300D\u5DF2\u542F\u7528",disableSuccess:"\u77E5\u8BC6\u5E93\u300C{name}\u300D\u5DF2\u505C\u7528",createTitle:"\u65B0\u5EFA\u77E5\u8BC6\u5E93",nameLabel:"\u540D\u79F0",namePlaceholder:"\u4F8B\u5982\uFF1A\u4EA7\u54C1\u6587\u6863\u96C6",descLabel:"\u63CF\u8FF0\uFF08\u53EF\u9009\uFF09",descPlaceholder:"\u7B80\u8981\u8BF4\u660E\u8FD9\u4E2A\u77E5\u8BC6\u5E93\u5B58\u653E\u4EC0\u4E48\u5185\u5BB9",createConfirm:"\u521B\u5EFA",creating:"\u521B\u5EFA\u4E2D...",createSuccess:"\u77E5\u8BC6\u5E93\u300C{name}\u300D\u5DF2\u521B\u5EFA",nameRequired:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u5E93\u540D\u79F0",editTitle:"\u7F16\u8F91\u77E5\u8BC6\u5E93",editConfirm:"\u4FDD\u5B58",saving:"\u4FDD\u5B58\u4E2D...",editSuccess:"\u77E5\u8BC6\u5E93\u4FE1\u606F\u5DF2\u66F4\u65B0",vectorSectionTitle:"\u5411\u91CF\u6A21\u578B",vectorModeLocal:"\u672C\u5730\u6A21\u578B\uFF08\u5185\u7F6E BGE \u4E2D\u6587\u6A21\u578B\uFF09",vectorModeRemote:"\u8FDC\u7AEF\u670D\u52A1\uFF08OpenAI \u517C\u5BB9\u63A5\u53E3\uFF09",vectorModeLocalHint:"\u4F7F\u7528\u4EE3\u7406\u7AEF\u5185\u7F6E BGE \u4E2D\u6587\u6A21\u578B\u751F\u6210\u5411\u91CF\uFF0C\u65E0\u9700\u989D\u5916\u914D\u7F6E\uFF1B\u9996\u6B21\u5BFC\u5165\u9700\u4E0B\u8F7D\u6A21\u578B\u6587\u4EF6\u3002",vectorModeRemoteHint:"\u8C03\u7528\u8FDC\u7AEF OpenAI \u517C\u5BB9\u7684\u5411\u91CF\u670D\u52A1\uFF08\u5982\u7845\u57FA\u6D41\u52A8\u3001\u667A\u8C31\u3001OpenAI \u7B49\uFF09\u3002",vectorEndpointLabel:"\u63A5\u53E3\u5730\u5740\uFF08Base URL\uFF0C\u542B\u7248\u672C\u6BB5\uFF09",vectorEndpointPlaceholder:"\u4F8B\u5982 https://api.siliconflow.cn/v1",vectorApiKeyLabel:"API Key",vectorApiKeyPlaceholder:"\u7C98\u8D34 API Key",vectorApiKeyKeep:"\u7559\u7A7A\u5219\u6CBF\u7528\u5DF2\u4FDD\u5B58\u7684 Key",vectorModelLabel:"\u6A21\u578B\u540D\u79F0",vectorModelPlaceholder:"\u4F8B\u5982 BAAI/bge-m3",vectorDimsLabel:"\u5411\u91CF\u7EF4\u5EA6\uFF08\u53EF\u7559\u7A7A\uFF0C\u6D4B\u8BD5\u65F6\u81EA\u52A8\u63A2\u6D4B\uFF09",vectorDimsPlaceholder:"\u81EA\u52A8",vectorTestBtn:"\u6D4B\u8BD5\u8FDE\u901A\u6027",vectorTesting:"\u6D4B\u8BD5\u4E2D...",vectorTestOk:"\u8FDE\u63A5\u6210\u529F\uFF1A{model}\uFF08{dims} \u7EF4\uFF09",vectorDimsFilled:"\u5DF2\u81EA\u52A8\u586B\u5145\u7EF4\u5EA6\uFF1A{dims}",vectorTestFailed:"\u6D4B\u8BD5\u5931\u8D25: {error}",vectorEndpointRequired:"\u8BF7\u586B\u5199\u8FDC\u7AEF\u63A5\u53E3\u5730\u5740",vectorModelRequired:"\u8BF7\u586B\u5199\u6A21\u578B\u540D\u79F0",rebuildConfirmTitle:"\u53D8\u66F4\u5411\u91CF\u914D\u7F6E",rebuildConfirm:"\u5411\u91CF\u6A21\u578B\u6216\u5206\u5757\u53C2\u6570\u53D8\u66F4\u540E\u9700\u8981\u91CD\u5EFA\u7D22\u5F15\uFF08\u91CD\u65B0\u5411\u91CF\u5316\u5168\u90E8\u6587\u6863\uFF09\u3002\u91CD\u5EFA\u671F\u95F4\u4ECD\u53EF\u68C0\u7D22\u65E7\u7D22\u5F15\uFF0C\u5B8C\u6210\u540E\u81EA\u52A8\u5207\u6362\u3002\u786E\u5B9A\u7EE7\u7EED\u5417\uFF1F",rebuildStarted:"\u5DF2\u5F00\u59CB\u91CD\u5EFA\u7D22\u5F15\uFF0C\u5B8C\u6210\u540E\u5C06\u81EA\u52A8\u5237\u65B0...",progressRebuilding:"\u6B63\u5728\u91CD\u5EFA\u7D22\u5F15 {current}/{total} \u7BC7\u6587\u6863\u2026",rebuildDone:"\u7D22\u5F15\u91CD\u5EFA\u5B8C\u6210",rebuildFailed:"\u7D22\u5F15\u91CD\u5EFA\u5931\u8D25: {error}",deleteConfirmTitle:"\u5220\u9664\u77E5\u8BC6\u5E93",deleteConfirm:"\u786E\u5B9A\u5220\u9664\u300C{name}\u300D\u5417\uFF1F\u5176\u4E2D\u7684 {docs} \u4E2A\u6587\u6863\u3001{chunks} \u4E2A\u5206\u5757\u5C06\u4E00\u5E76\u5220\u9664\uFF0C\u64CD\u4F5C\u4E0D\u53EF\u6062\u590D\u3002",deleteSuccess:"\u77E5\u8BC6\u5E93\u5DF2\u5220\u9664",ingestTitle:"\u5BFC\u5165\u6587\u6863\u5230\u300C{name}\u300D",tabFile:"\u6587\u4EF6",tabText:"\u6587\u672C",tabUrl:"URL",dropHint:"\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u5904\uFF0C\u6216\u70B9\u51FB\u9009\u62E9\uFF08\u53EF\u591A\u9009\uFF09",dropSupported:"\u652F\u6301 txt / md / pdf / docx / xlsx / html \u7B49\u683C\u5F0F\uFF0C\u5355\u6587\u4EF6 \u2264 50MB\uFF0C\u5355\u6B21\u2264 20 \u4E2A",selectedFile:"\u5DF2\u9009\u62E9\uFF1A{name}",selectedCount:"\u5DF2\u9009\u62E9 {count} \u4E2A\u6587\u4EF6\uFF08\u5355\u6B21\u6700\u591A {max} \u4E2A\uFF09",removeFile:"\u79FB\u9664",textContentLabel:"\u6587\u672C\u5185\u5BB9",textContentPlaceholder:"\u5728\u6B64\u7C98\u8D34\u8981\u5BFC\u5165\u7684\u6587\u672C\u5185\u5BB9...",textNameLabel:"\u6587\u6863\u540D\u79F0\uFF08\u53EF\u9009\uFF09",textNamePlaceholder:"\u7559\u7A7A\u5219\u81EA\u52A8\u547D\u540D",urlLabel:"\u7F51\u9875\u5730\u5740",urlPlaceholder:"https://example.com/page",chunkSettingsTitle:"\u5206\u5757\u8BBE\u7F6E",chunkSizeLabel:"\u5757\u5927\u5C0F\uFF08\u5B57\u7B26\uFF09",chunkOverlapLabel:"\u91CD\u53E0\uFF08\u5B57\u7B26\uFF09",ingestConfirm:"\u5F00\u59CB\u5BFC\u5165",ingesting:"\u6B63\u5728\u89E3\u6790\u5E76\u5411\u91CF\u5316\uFF0C\u9996\u6B21\u5BFC\u5165\u53EF\u80FD\u9700\u8981\u4E0B\u8F7D\u6A21\u578B\uFF0C\u8BF7\u7A0D\u5019...",progressParsing:"\u6B63\u5728\u89E3\u6790\u6587\u6863\u2026",progressChunking:"\u6B63\u5728\u5206\u5757\u2026",progressEmbedding:"\u6B63\u5728\u5411\u91CF\u5316 {current}/{total} \u5757\u2026",progressStoring:"\u6B63\u5728\u5199\u5165\u7D22\u5F15\u2026",ingestSuccess:"\u5BFC\u5165\u5B8C\u6210\uFF1A{name}\uFF08{chunks} \u4E2A\u5206\u5757\uFF09",ingestFailed:"\u5BFC\u5165\u5931\u8D25: {error}",fileRequired:"\u8BF7\u5148\u9009\u62E9\u6587\u4EF6",contentRequired:"\u8BF7\u8F93\u5165\u8981\u5BFC\u5165\u7684\u6587\u672C\u5185\u5BB9",urlRequired:"\u8BF7\u8F93\u5165\u7F51\u9875\u5730\u5740",fileTooLarge:"\u6587\u4EF6\u8FC7\u5927\uFF0C\u6700\u5927\u652F\u6301 50MB",fileTypeUnsupported:"\u4E0D\u652F\u6301\u7684\u6587\u4EF6\u7C7B\u578B\uFF1A{name}",maxBatchFiles:"\u5355\u6B21\u6700\u591A\u5BFC\u5165 {max} \u4E2A\u6587\u4EF6\uFF0C\u8BF7\u5206\u6279\u5BFC\u5165",importingBatch:"\u6B63\u5728\u5BFC\u5165 {current}/{total}\uFF1A{name}",batchAllSuccess:"\u6279\u91CF\u5BFC\u5165\u5B8C\u6210\uFF1A{count} \u4E2A\u6587\u6863\uFF08\u5171 {chunks} \u4E2A\u5206\u5757\uFF09",batchPartial:"\u5BFC\u5165\u5B8C\u6210\uFF1A\u6210\u529F {success} \u4E2A\uFF0C\u5931\u8D25 {fail} \u4E2A\uFF08\u9996\u4E2A\u9519\u8BEF\uFF1A{error}\uFF09",batchAllFailed:"\u5168\u90E8\u5BFC\u5165\u5931\u8D25\uFF1A{error}",docsTitle:"\u300C{name}\u300D\u7684\u6587\u6863",docsEmpty:"\u8FD8\u6CA1\u6709\u5BFC\u5165\u4EFB\u4F55\u6587\u6863",docChunkCount:"{count} \u5206\u5757",docDeleteConfirmTitle:"\u5220\u9664\u6587\u6863",docDeleteConfirm:"\u786E\u5B9A\u5220\u9664\u6587\u6863\u300C{name}\u300D\u5417\uFF1F\u8BE5\u6587\u6863\u7684\u6240\u6709\u5206\u5757\u5C06\u4ECE\u77E5\u8BC6\u5E93\u4E2D\u79FB\u9664\u3002",docDeleteSuccess:"\u6587\u6863\u5DF2\u5220\u9664",docSourceFile:"\u6587\u4EF6",docSourceUrl:"\u7F51\u9875",docSourceText:"\u6587\u672C",docOriginalSize:"\u539F\u4EF6 {size}",docOriginalName:"\u539F\u4EF6\u540D {name}",docNoOriginal:"\u539F\u4EF6\u672A\u4FDD\u7559",docNoOriginalText:"\u7EAF\u6587\u672C\u5BFC\u5165\uFF0C\u65E0\u539F\u4EF6",docOriginalQuotaSkipped:"\u539F\u4EF6\u8D85\u51FA\u914D\u989D\u672A\u4FDD\u7559",docOriginalMissing:"\u8BE5\u6587\u6863\u672A\u4FDD\u7559\u539F\u4EF6\uFF0C\u53EA\u80FD\u67E5\u770B\u6587\u672C",docOriginalSkippedToast:"\u539F\u4EF6\u8D85\u51FA\u914D\u989D\u672A\u4FDD\u5B58\uFF0C\u6587\u672C\u4E0E\u5411\u91CF\u5DF2\u6B63\u5E38\u5165\u5E93",docView:"\u67E5\u770B\u539F\u6587",docViewTitle:"\u67E5\u770B\u539F\u6587",docViewCopy:"\u590D\u5236",docViewCopied:"\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",docViewPreview:"\u9884\u89C8",docViewSource:"\u6E90\u7801",docViewTruncated:"\u6587\u672C\u8F83\u957F\uFF0C\u4EC5\u663E\u793A\u524D {limit} \u4E2A\u5B57\u7B26\uFF08\u5171 {total} \u5B57\u7B26\uFF09\uFF0C\u53EF\u4E0B\u8F7D\u5168\u6587\u3002",docViewEmpty:"\uFF08\u65E0\u6587\u672C\u5185\u5BB9\uFF09",docToc:"\u76EE\u5F55",docFullscreen:"\u5168\u5C4F",docExitFullscreen:"\u9000\u51FA\u5168\u5C4F",docCharCount:"{count} \u5B57\u7B26",docDownloadOriginal:"\u4E0B\u8F7D\u539F\u4EF6",docDownloadText:"\u4E0B\u8F7D\u6587\u672C",docDownloading:"\u4E0B\u8F7D\u4E2D...",docDownloadFailed:"\u4E0B\u8F7D\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5",searchTitle:"\u68C0\u7D22\u6D4B\u8BD5",searchScope:"\u68C0\u7D22\u8303\u56F4\uFF1A\u300C{name}\u300D",searchQueryPlaceholder:"\u8F93\u5165\u67E5\u8BE2\u8BED\u53E5\uFF0C\u4F8B\u5982\uFF1A\u5982\u4F55\u5BFC\u51FA\u6570\u636E\uFF1F",searchBtn:"\u68C0\u7D22",searching:"\u68C0\u7D22\u4E2D...",searchTopKLabel:"\u8FD4\u56DE\u6761\u6570",searchThresholdLabel:"\u76F8\u4F3C\u5EA6\u9608\u503C",searchHitCount:"\u547D\u4E2D {count} \u6761",searchNoHits:"\u6CA1\u6709\u547D\u4E2D\u4EFB\u4F55\u5185\u5BB9\uFF0C\u53EF\u5C1D\u8BD5\u964D\u4F4E\u76F8\u4F3C\u5EA6\u9608\u503C\u3002",searchFallbackHint:"\u76F8\u4F3C\u5EA6\u5747\u4F4E\u4E8E\u9608\u503C\uFF0C\u4EE5\u4E0B\u4E3A\u6700\u4F73\u5339\u914D\uFF08\u4EC5\u4F9B\u53C2\u8003\uFF09\uFF1A",searchFailed:"\u68C0\u7D22\u5931\u8D25: {error}",expandFull:"\u5C55\u5F00\u5168\u6587",collapse:"\u6536\u8D77",scoreLabel:"\u76F8\u4F3C\u5EA6",opFailed:"\u64CD\u4F5C\u5931\u8D25: {error}"},contextBubble:{labelSelection:"\u9009\u4E2D\u5185\u5BB9",labelQuoted:"\u5F15\u7528",labelSkill:"\u6280\u80FD",labelMcp:"MCP",labelPage:"\u7F51\u9875",labelFile:"\u6587\u4EF6",labelKnowledge:"\u77E5\u8BC6\u5E93",clickToExpand:"\u70B9\u51FB\u5C55\u5F00",bubbleSkill:"{name} \u{1F9E9}",bubbleMcp:"{name} \u{1F50C}",bubblePage:"{title} \u{1F310}",bubbleKnowledge:"{name} \u{1F4DA} \xB7 \u547D\u4E2D {count} \u6761",bubbleKnowledgeMiss:"{name} \u{1F4DA} \xB7 \u672A\u547D\u4E2D",bubbleKnowledgeFailed:"{name} \u{1F4DA} \xB7 \u68C0\u7D22\u5931\u8D25",bubbleKnowledgeSearching:"\u6B63\u5728\u68C0\u7D22\u77E5\u8BC6\u5E93\u2026",kbHitToggle:"\u70B9\u51FB\u5C55\u5F00/\u6536\u8D77\u5168\u6587",kbHitTruncated:"\u2702 \u5DF2\u622A\u65AD \xB7 \u539F\u6587 {total} \u5B57\uFF0C\u524D {kept} \u5B57\u5DF2\u53D1\u9001",kbHitTruncatedTitle:"\u4E3A\u63A7\u5236\u4E0A\u4E0B\u6587\u4F53\u79EF\uFF0C\u5185\u5BB9\u622A\u65AD\u540E\u518D\u53D1\u9001\u7ED9\u6A21\u578B\uFF1B\u6B64\u5904\u663E\u793A\u7684\u5373\u6A21\u578B\u5B9E\u9645\u6536\u5230\u7684\u7248\u672C",kbHitTruncatedBadge:"\u2702 {count} \u6761\u5DF2\u622A\u65AD"},configDialog:{exportTitle:"\u5BFC\u51FA\u914D\u7F6E",includeSecrets:"\u5305\u542B API \u5BC6\u94A5",secretWarn:"\u26A0 \u654F\u611F\u4FE1\u606F\uFF0C\u8BF7\u786E\u4FDD\u6587\u4EF6\u5B89\u5168",exportDesc:"\u5BFC\u51FA\u6587\u4EF6\u5C06\u5305\u542B\u9664 Agent \u8FDE\u63A5\u4FE1\u606F\uFF08\u4EE3\u7406\u5730\u5740\u4E0E\u914D\u5BF9\u4EE4\u724C\uFF09\u5916\u7684\u6240\u6709\u914D\u7F6E\uFF1B\u52FE\u9009\u4E0B\u65B9\u9009\u9879\u540E\u4E00\u5E76\u5BFC\u51FA API \u5BC6\u94A5\u4E0E\u8FDE\u63A5\u4FE1\u606F\u3002",export:"\u5BFC\u51FA",importTitle:"\u5BFC\u5165\u914D\u7F6E",mergeImport:"\u5408\u5E76\u5BFC\u5165 \u2014 \u4EC5\u8986\u76D6\u6587\u4EF6\u4E2D\u5B58\u5728\u7684\u914D\u7F6E\u9879\uFF0C\u4FDD\u7559\u5176\u4ED6",replaceImport:"\u5B8C\u5168\u66FF\u6362 \u2014 \u6E05\u7A7A\u5F53\u524D\u914D\u7F6E\uFF0C\u4F7F\u7528\u6587\u4EF6\u4E2D\u7684\u914D\u7F6E",confirmImport:"\u786E\u8BA4\u5BFC\u5165",exportSuccess:"\u914D\u7F6E\u5DF2\u5BFC\u51FA",exportFailed:"\u5BFC\u51FA\u5931\u8D25: {error}",unknownTime:"\u672A\u77E5",importSummary:"\u5BFC\u51FA\u65F6\u95F4: {time}\uFF0C\u5305\u542B {count} \u9879\u914D\u7F6E",invalidFileFormat:"\u65E0\u6548\u7684\u6587\u4EF6\u683C\u5F0F",unrecognizedFormat:"\u65E0\u6CD5\u8BC6\u522B\u7684\u914D\u7F6E\u683C\u5F0F",unknownConfigKey:"\u672A\u77E5\u7684\u914D\u7F6E\u9879: {key}",importFailed:"\u5BFC\u5165\u5931\u8D25: {error}",importParseFailed:"\u5BFC\u5165\u5931\u8D25: \u65E0\u6CD5\u89E3\u6790\u6587\u4EF6\u683C\u5F0F",importedCount:"\u5DF2\u5BFC\u5165 {count} \u9879\u914D\u7F6E"},queue:{enqueueBtn:"\u52A0\u5165\u961F\u5217",enqueued:"\u5DF2\u52A0\u5165\u961F\u5217\uFF08\u7B2C {position} \u4F4D\uFF09",enqueueFailed:"\u52A0\u5165\u961F\u5217\u5931\u8D25\uFF0C\u5185\u5BB9\u5DF2\u4FDD\u7559\u5728\u8F93\u5165\u6846",queueFull:"\u961F\u5217\u5DF2\u6EE1\uFF08\u4E0A\u9650 {limit} \u6761\uFF09\uFF0C\u8BF7\u5148\u5904\u7406\u5DF2\u6392\u961F\u7684\u4EFB\u52A1",noSession:"\u5C1A\u672A\u5C31\u7EEA\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5",summary:"\u6392\u961F {count} \u6761",summaryEmpty:"\u961F\u5217\u5DF2\u7A7A",summaryFailed:"{count} \u6761\u4EFB\u52A1\u5931\u8D25",summaryFailedHint:"\u4EFB\u52A1\u672A\u6210\u529F\u6267\u884C\uFF0C\u5C55\u5F00\u300C\u6700\u8FD1\u5904\u7406\u300D\u53EF\u91CD\u65B0\u5165\u961F",pausedTag:"\u5DF2\u6682\u505C",pausedHint:"\u81EA\u52A8\u63A5\u529B\u5DF2\u6682\u505C",pausedByStop:"\u4F60\u70B9\u51FB\u4E86\u505C\u6B62\uFF0C\u81EA\u52A8\u63A5\u529B\u5DF2\u6682\u505C",resumeQueue:"\u7EE7\u7EED\u961F\u5217",resumed:"\u5DF2\u7EE7\u7EED\u81EA\u52A8\u63A5\u529B",stopAndSend:"\u505C\u6B62\u5E76\u53D1\u9001",stopAndSendTitle:"\u653E\u5F03\u5F53\u524D\u8FD9\u4E00\u8F6E\uFF0C\u7ACB\u523B\u5F00\u59CB\u6267\u884C\u961F\u5217\uFF08\u53F3\u952E / \u957F\u6309\u505C\u6B62\u6309\u94AE\uFF09",stopAndSendEmpty:"\u961F\u5217\u91CC\u6CA1\u6709\u5F85\u6267\u884C\u7684\u4EFB\u52A1",stopAndSendStarted:"\u5DF2\u505C\u6B62\u5F53\u524D\u4EFB\u52A1\uFF0C\u961F\u5217\u5F00\u59CB\u6267\u884C",recentTitle:"\u6700\u8FD1\u5904\u7406",recentEmpty:"\u6682\u65E0\u5904\u7406\u8BB0\u5F55",requeue:"\u91CD\u65B0\u5165\u961F",requeued:"\u5DF2\u91CD\u65B0\u52A0\u5165\u961F\u5217",deleted:"\u5DF2\u4ECE\u961F\u5217\u5220\u9664",movedTop:"\u5DF2\u7F6E\u9876",withContext:"\u5E26\u4E0A\u4E0B\u6587",withImages:"\u5E26 {count} \u56FE",withFiles:"\u5E26 {count} \u6587\u4EF6",attachmentsVolatile:"\u56FE\u7247/\u6587\u4EF6\u8F83\u5927\uFF0C\u672A\u80FD\u6301\u4E45\u5316\u4FDD\u5B58\uFF1B\u9762\u677F\u5237\u65B0\u540E\u4F1A\u4E22\u5931\u8FD9\u4E9B\u9644\u4EF6\uFF0C\u5EFA\u8BAE\u5C3D\u5FEB\u6267\u884C\u672C\u6761",attachmentsMissing:"\u9644\u4EF6\u5DF2\u65E0\u6CD5\u6062\u590D\uFF08\u53EF\u80FD\u6765\u81EA\u5DF2\u5173\u95ED\u7684\u9762\u677F\u6216\u88AB\u91CA\u653E\uFF09\uFF0C\u672C\u6761\u5C06\u53EA\u53D1\u9001\u6587\u5B57",editBackWithAttachments:"\u5DF2\u56DE\u586B\uFF0C\u56FE\u7247/\u6587\u4EF6\u4E00\u5E76\u8FD8\u539F",requeuedNoAttachments:"\u5DF2\u91CD\u65B0\u5165\u961F\uFF08\u539F\u9644\u4EF6\u5DF2\u91CA\u653E\uFF0C\u4EC5\u6062\u590D\u6587\u5B57\uFF09",forgetRecent:"\u4ECE\u8BB0\u5F55\u4E2D\u79FB\u9664",forgotRecent:"\u5DF2\u4ECE\u300C\u6700\u8FD1\u5904\u7406\u300D\u79FB\u9664",filesStillExtracting:"\u9644\u4EF6\u6587\u4EF6\u8FD8\u5728\u89E3\u6790\u4E2D\uFF0C\u7B49\u89E3\u6790\u5B8C\u6210\u518D\u5165\u961F\uFF08\u73B0\u5728\u5165\u961F\u4F1A\u4E22\u6587\u4EF6\u5185\u5BB9\uFF09",inputHasUnsavedContext:"\u8F93\u5165\u533A\u8FD8\u6CA1\u5199\u7684\u56FE\u7247/\u6587\u4EF6/\u5F15\u7528\u4F1A\u56E0\u56DE\u586B\u88AB\u6E05\u6389\uFF1B\u8BF7\u5148\u53D1\u9001\u6216\u6E05\u7A7A\u5B83\u4EEC\u540E\u518D\u56DE\u586B",statusDispatching:"\u6267\u884C\u4E2D",statusInjecting:"\u63D2\u5165\u4E2D",statusInjected:"\u5DF2\u63D2\u5165",statusDone:"\u5DF2\u6267\u884C",statusFailed:"\u5931\u8D25",statusRecovered:"\u4E0A\u6B21\u672A\u5B8C\u6210",statusRunningHint:"\u6B63\u5728\u6267\u884C\u8FD9\u6761\u4EFB\u52A1\uFF08\u542B\u5DE5\u5177\u8C03\u7528\uFF09\uFF0C\u8DD1\u5B8C\u624D\u8F6E\u5230\u4E0B\u4E00\u6761",inject:"\u63D2\u5165\u5F53\u524D\u4EFB\u52A1\uFF08\u4E0D\u5FC5\u7B49\u5B83\u8DD1\u5B8C\uFF09",injectIdleHint:"\u5F53\u524D\u6CA1\u6709\u6B63\u5728\u6267\u884C\u7684\u4EFB\u52A1\uFF1B\u8FD9\u6761\u4F1A\u6309\u961F\u5217\u987A\u5E8F\u6267\u884C",injectAccepted:"\u5DF2\u6295\u9012\uFF0C\u5F53\u524D\u6B65\u9AA4\u7ED3\u675F\u540E\u751F\u6548",injected:"\u5DF2\u63D2\u5165\u5F53\u524D\u4EFB\u52A1",autoCarried:"\u5DF2\u81EA\u52A8\u5E26\u5165\u5F53\u524D\u4EFB\u52A1\uFF08\u7B2C {iteration} \u8F6E\uFF09",injectNoTask:"\u4EFB\u52A1\u521A\u597D\u7ED3\u675F\u4E86\uFF0C\u8FD9\u6761\u5DF2\u653E\u56DE\u961F\u5217",injectTimeout:"\u6CA1\u7B49\u5230\u63D2\u5165\u786E\u8BA4\uFF0C\u8FD9\u6761\u5DF2\u653E\u56DE\u961F\u5217",injectTimeoutAdhoc:"\u6CA1\u7B49\u5230\u63D2\u5165\u786E\u8BA4\uFF0C\u5185\u5BB9\u4ECD\u5728\u8F93\u5165\u6846",injectFailed:"\u63D2\u5165\u5931\u8D25\uFF0C\u8FD9\u6761\u5DF2\u653E\u56DE\u961F\u5217",injectNoAttachments:"\u5E26\u56FE\u7247/\u6587\u4EF6\u7684\u6761\u76EE\u4E0D\u80FD\u63D2\u5165\u8FD0\u884C\u4E2D\u7684\u4EFB\u52A1\uFF08\u53EA\u63D2\u7EAF\u6587\u672C\uFF09\uFF0C\u8BF7\u8BA9\u5B83\u6309\u961F\u5217\u987A\u5E8F\u6267\u884C",editBack:"\u56DE\u586B\u8F93\u5165\u6846",editTailHint:"\u5DF2\u53D6\u56DE\u961F\u5C3E\u4E00\u6761\uFF0C\u6539\u5B8C\u6309 Enter \u53D1\u9001",delete:"\u5220\u9664",stopNow:"\u505C\u6B62\u5F53\u524D\u4EFB\u52A1",tooManyAttempts:"\u8FD9\u6761\u5DF2\u8FDE\u7EED\u81EA\u52A8\u6267\u884C {count} \u6B21\u4ECD\u672A\u6210\u529F\uFF0C\u5DF2\u505C\u6B62\u91CD\u8BD5\u5E76\u79FB\u5165\u300C\u6700\u8FD1\u5904\u7406\u300D\uFF0C\u53EF\u624B\u52A8\u91CD\u65B0\u5165\u961F",badgeTitle:"\u8BE5\u4F1A\u8BDD\u6709 {count} \u6761\u6392\u961F\u4EFB\u52A1",sessionDropped:"\u8BE5\u4F1A\u8BDD\u8FD8\u6709 {count} \u6761\u6392\u961F\u4EFB\u52A1\uFF0C\u5DF2\u968F\u4F1A\u8BDD\u4E00\u5E76\u5220\u9664"}};var u={common:{confirm:"Confirm",cancel:"Cancel",close:"Close",ok:"OK",save:"Save",delete:"Delete",edit:"Edit",retry:"Retry",loading:"Loading...",none:"None",add:"Add",clear:"Clear",selectAll:"Select All",deselectAll:"Deselect All",refresh:"Refresh",enabled:"Enabled",disabled:"Disabled",bytes:"bytes",copy:"Copy",copySuccess:"Copied",copyFailed:"Copy failed"},dialog:{operationConfirm:"Operation Confirmation",confirmDefaultMessage:"The model requests to execute a sensitive operation. Allow?",confirmAction:"The model requests to execute: {name}",remainingTime:"Time remaining: {time}",deny:"Deny",approveOnce:"Allow Once",approveLoop:"Allow for This Task",pendingQueue:"(+{count} queued)",pendingQueueClarify:"(+{count} awaiting clarification)",otherPending:"(+{count} other waiting)",approveWhitelist:"Add to allowlist & allow",networkTitle:"Private Network Access",networkToolLabel:"Private network access",networkAccessRequest:"The model requests access to the private address {hostname} ({reason}). Allow?",networkWhitelistHint:'"Add to allowlist & allow" turns on private network access and adds this host to the allowlist; "Allow Once" only applies to this request.',networkReasonGateClosed:"Private network access is currently off",networkReasonNoAllowlist:"The private-network allowlist is empty",networkReasonNotAllowlisted:"This host is not in the private-network allowlist"},sensitiveTool:{manage_cookies:"Manage Cookies",manage_storage:"Page Storage Operation",download_file:"Download File",manage_tab:"Tab Management",agent_file:"File Operations",agent_exec:"Local Command Execution",debug_page:"Page Debugger",debuggerAttachHint:`
25
+ 2. \u6B65\u9AA42`,existingResources:"\u5DF2\u6709\u8D44\u6E90\u6587\u4EF6",skillNameRequired:"\u8BF7\u8F93\u5165\u6280\u80FD\u540D\u79F0",skillMarkdownRequired:"\u8BF7\u8F93\u5165 SKILL.md \u5185\u5BB9",agentSkillSaved:'Agent \u6280\u80FD "{name}" \u4FDD\u5B58\u6210\u529F',saveFailedShort:"\u4FDD\u5B58\u5931\u8D25",saveFailed:"\u4FDD\u5B58\u5931\u8D25: {error}",viewSkillTitle:"\u67E5\u770B\u6280\u80FD: {name}",importSkillTitle:"\u5BFC\u5165\u6280\u80FD",importBtn:"\u5BFC\u5165",jsonImport:"JSON \u5BFC\u5165",newAuthoring:"\u65B0\u5EFA\u7F16\u5199",zipPackage:"Zip \u5305",urlImport:"URL \u5BFC\u5165",jsonImportDesc:"\u5BFC\u5165 JSON \u683C\u5F0F\u7684 Workflow \u6280\u80FD\uFF08\u786E\u5B9A\u6027\u81EA\u52A8\u5316\u6D41\u7A0B\uFF09",clickOrDragJson:"\u70B9\u51FB\u9009\u62E9 JSON \u6587\u4EF6\u6216\u62D6\u62FD\u5230\u6B64\u5904",jsonFileHint:"\u652F\u6301 .json \u683C\u5F0F\u7684 Workflow \u6280\u80FD\u5B9A\u4E49\u6587\u4EF6",markdownImportDesc:"\u76F4\u63A5\u7F16\u5199 SKILL.md \u5185\u5BB9\uFF0C\u521B\u5EFA Agent \u6280\u80FD\uFF08AI \u80FD\u529B\u6269\u5C55\uFF09",zipImportDesc:"\u5BFC\u5165\u5305\u542B SKILL.md \u7684 Zip \u538B\u7F29\u5305\uFF0C\u53EF\u9644\u5E26 scripts/templates/assets \u7B49\u8F85\u52A9\u8D44\u6E90",clickOrDragZip:"\u70B9\u51FB\u9009\u62E9 Zip \u6587\u4EF6\u6216\u62D6\u62FD\u5230\u6B64\u5904",zipFileHint:"Zip \u5305\u5185\u9700\u5305\u542B SKILL.md \u6587\u4EF6\uFF0C\u53EF\u9009\u7684 scripts/ templates/ assets/ \u5B50\u76EE\u5F55",urlImportDesc:"\u4ECE\u8FDC\u7A0B URL \u4E0B\u8F7D\u6280\u80FD\u7684 Zip \u5305\u5E76\u81EA\u52A8\u5BFC\u5165",downloadUrl:"\u4E0B\u8F7D\u5730\u5740",selectJsonFile:"\u8BF7\u9009\u62E9 JSON \u6587\u4EF6",workflowSkillImported:'Workflow \u6280\u80FD "{name}" \u5BFC\u5165\u6210\u529F',agentSkillCreated:'Agent \u6280\u80FD "{name}" \u521B\u5EFA\u6210\u529F',createFailedShort:"\u521B\u5EFA\u5931\u8D25",selectZipFile:"\u8BF7\u9009\u62E9 Zip \u6587\u4EF6",fileTooLarge:"\u6587\u4EF6\u8FC7\u5927\uFF0C\u6700\u5927\u652F\u6301 50MB",fileReadFailed:"\u6587\u4EF6\u8BFB\u53D6\u5931\u8D25",agentSkillImported:'Agent \u6280\u80FD "{name}" \u5BFC\u5165\u6210\u529F',urlRequired:"\u8BF7\u8F93\u5165 URL",importFailed:"\u5BFC\u5165\u5931\u8D25: {error}",searchMcpPlaceholder:"\u641C\u7D22 MCP \u670D\u52A1\u5668...",searchSkillPlaceholder:"\u641C\u7D22\u6280\u80FD...",filterAll:"\u5168\u90E8",filterEnabled:"\u5DF2\u542F\u7528",filterDisabled:"\u5DF2\u505C\u7528",noMatchResult:"\u65E0\u5339\u914D\u7ED3\u679C"},memoryPanel:{tabTitle:"\u8BB0\u5FC6",title:"\u8BB0\u5FC6\u5411\u91CF",enabled:"\u5DF2\u542F\u7528",disabled:"\u5DF2\u505C\u7528",statusTitle:"\u5411\u91CF\u7D22\u5F15\u72B6\u6001",statusLoading:"\u8BFB\u53D6\u4E2D\u2026",statusOffline:"\u4EE3\u7406\u672A\u8FDE\u63A5\uFF0C\u6682\u65F6\u8BFB\u4E0D\u5230\u5411\u91CF\u72B6\u6001",statusFail:"\u5411\u91CF\u72B6\u6001\u8BFB\u53D6\u5931\u8D25",statusOldAgent:"\u5F53\u524D\u4EE3\u7406\u7248\u672C\u6CA1\u6709\u8FD9\u4E2A\u72B6\u6001\u63A5\u53E3\uFF0C\u8BF7\u91CD\u542F\u4EE3\u7406\u540E\u518D\u770B",statusDetail:"\u8FD4\u56DE\u4FE1\u606F",statusIndexed:"\u5DF2\u7D22\u5F15 {indexed} / \u5171 {total} \u6761",statusStored:"\u5411\u91CF\u6307\u7EB9",statusCurrent:"\u5F53\u524D\u914D\u7F6E\u6307\u7EB9",statusTier:"\u751F\u6548\u6863\u4F4D",statusStale:"\u5DF2\u9648\u65E7\uFF1A\u6A21\u578B\u53D8\u66F4\u540E\u672A\u91CD\u5EFA",statusFresh:"\u4E0E\u5F53\u524D\u914D\u7F6E\u4E00\u81F4",staleHint:"\u65E7\u5411\u91CF\u4E0E\u65B0\u914D\u7F6E\u4E0D\u53EF\u6BD4\uFF0C\u8BED\u4E49\u53EC\u56DE\u4F1A\u9759\u9ED8\u9000\u5316\u3002\u8BF7\u70B9\u300C\u91CD\u5EFA\u5411\u91CF\u7D22\u5F15\u300D\uFF08\u6709\u672A\u4FDD\u5B58\u7684\u4FEE\u6539\u5148\u4FDD\u5B58\uFF09\u3002",modeLabel:"\u5D4C\u5165\u6765\u6E90",modeRemote:"\u8FDC\u7AEF\u670D\u52A1\uFF08OpenAI \u517C\u5BB9\u63A5\u53E3\uFF09",modeLocal:"\u672C\u5730\u6A21\u578B",baseUrlLabel:"\u670D\u52A1\u5730\u5740",baseUrlPlaceholder:"https://api.openai.com/v1",modelLabel:"\u6A21\u578B\u540D\u79F0",modelPlaceholder:"BAAI/bge-m3",apiKeyLabel:"API Key",apiKeyPlaceholder:"\u7559\u7A7A\u8868\u793A\u4E0D\u4FEE\u6539",apiKeyClearBtn:"\u6E05\u9664\u5DF2\u5B58 Key",apiKeyClearConfirm:"\u6E05\u9664\u540E\u8FDC\u7AEF\u8BED\u4E49\u53EC\u56DE\u968F\u5373\u505C\u7528\uFF08\u964D\u56DE\u5173\u952E\u8BCD\u6863\uFF09\uFF0C\u76F4\u5230\u91CD\u65B0\u586B\u5165\u5E76\u4FDD\u5B58\u65B0 Key\u3002\u786E\u5B9A\u6E05\u9664\uFF1F",apiKeyCleared:"\u5DF2\u6E05\u9664\u5DF2\u5B58\u7684 API Key",apiKeyClearFail:"\u6E05\u9664 Key \u5931\u8D25\uFF1A{error}",configNotLoaded:"\u914D\u7F6E\u672A\u6210\u529F\u52A0\u8F7D\uFF0C\u4E3A\u907F\u514D\u628A\u4EE3\u7406\u91CC\u7684\u8BBE\u7F6E\u8986\u76D6\u6210\u7A7A\uFF0C\u8BF7\u5237\u65B0\u9762\u677F\u540E\u91CD\u8BD5",dimsLabel:"\u5411\u91CF\u7EF4\u5EA6\uFF08\u53EF\u7559\u7A7A\uFF0C\u6D4B\u8BD5\u65F6\u81EA\u52A8\u63A2\u6D4B\uFF09",prefixLabel:"\u67E5\u8BE2\u524D\u7F00\uFF08queryPrefix\uFF0C\u53EF\u7559\u7A7A\uFF09",localNotice:"\u672C\u5730\u6863\u65E0\u9700\u6D4B\u8BD5\u8FDE\u901A\u6027\uFF1A\u4FDD\u5B58\u540E\u76F4\u63A5\u91CD\u5EFA\u5411\u91CF\u7D22\u5F15\uFF08\u9996\u6B21\u4F7F\u7528\u9700\u4E0B\u8F7D\u6A21\u578B\uFF0C\u53EF\u80FD\u6570\u5341\u5206\u949F\uFF09\u3002\u5D4C\u5165\u5728 512 token \u5904\u9759\u9ED8\u622A\u65AD\uFF0C\u8D85\u957F\u6761\u76EE\u53EA\u6709\u524D\u90E8\u8FDB\u5165\u5411\u91CF\u3002",testBtn:"\u6D4B\u8BD5\u8FDE\u901A\u6027",testRunning:"\u6D4B\u8BD5\u4E2D\u2026",testOk:"\u8FDE\u901A\u6B63\u5E38\uFF1A{model} \u8F93\u51FA {dims} \u7EF4",testFail:"\u6D4B\u8BD5\u5931\u8D25\uFF1A{error}",scopeHint:"\u672C Tab \u7684\u914D\u7F6E\u4F1A\u5728\u70B9\u51FB\u5E95\u90E8\u300C\u4FDD\u5B58\u914D\u7F6E\u300D\u65F6\u4E00\u5E76\u5199\u5165\u4EE3\u7406\uFF08\u672C\u5730 agent \u670D\u52A1\uFF09\u7684 config.json\uFF1B\u4EE3\u7406\u672A\u8FDE\u63A5\u65F6\u8DF3\u8FC7\u8BE5\u9879\uFF0C\u4EC5\u4FDD\u5B58\u6269\u5C55\u81EA\u8EAB\u8BBE\u7F6E",saveSkippedOffline:"\u4EE3\u7406\u672A\u8FDE\u63A5\uFF0C\u8BB0\u5FC6\u5411\u91CF\u914D\u7F6E\u672A\u4FDD\u5B58\uFF08\u4EC5\u4FDD\u5B58\u4E86\u6269\u5C55\u8BBE\u7F6E\uFF09",saveSuccess:"\u8BB0\u5FC6\u5411\u91CF\u914D\u7F6E\u5DF2\u4FDD\u5B58",saveFail:"\u4FDD\u5B58\u5931\u8D25\uFF1A{error}",toggleOnSaved:"\u5DF2\u542F\u7528\u8BED\u4E49\u5411\u91CF\u53EC\u56DE",toggleOffSaved:"\u5DF2\u505C\u7528\uFF0C\u53EC\u56DE\u56DE\u843D\u5173\u952E\u8BCD\u901A\u9053",toggleFail:"\u5F00\u5173\u5207\u6362\u5931\u8D25\uFF1A{error}",reindexBtn:"\u91CD\u5EFA\u5411\u91CF\u7D22\u5F15",reindexConfirm:"\u91CD\u5EFA\u4F1A\u7528\u5F53\u524D\u914D\u7F6E\u91CD\u65B0\u8BA1\u7B97\u5168\u90E8\u8BB0\u5FC6\u7684\u5411\u91CF\u3002\u672C\u5730\u6863 41 \u6761\u5B9E\u6D4B\u7EA6 23 \u5206\u949F\uFF08\u8FDC\u7AEF\u7EA6 2 \u5206\u949F\uFF09\uFF0C\u671F\u95F4\u8BF7\u52FF\u5173\u95ED\u672C\u9875\u9762\u3002\u786E\u5B9A\u7EE7\u7EED\uFF1F",reindexRunning:"\u91CD\u5EFA\u8FDB\u884C\u4E2D\uFF0C\u8BF7\u52FF\u5173\u95ED\u9875\u9762\u2026",reindexDone:"\u91CD\u5EFA\u5B8C\u6210\uFF1A\u5DF2\u7D22\u5F15 {indexed} / {total}",reindexBatchFail:"\uFF08{count} \u6279\u5931\u8D25\uFF0C\u8BE6\u89C1 agent \u65E5\u5FD7\uFF09",reindexOverWindow:"\uFF08{count} \u6761\u8D85\u51FA {window} token \u7A97\u53E3\uFF0C\u5C3E\u90E8\u672A\u8FDB\u5411\u91CF\uFF09",reindexSkipped:"\u672A\u91CD\u5EFA\uFF1A\u5411\u91CF\u6863\u672A\u542F\u7528",reindexFail:"\u91CD\u5EFA\u5931\u8D25\uFF1A{error}",gateAgentOffTitle:"\u4EE3\u7406\u672A\u8FDE\u63A5",gateAgentOffBody:"\u8BB0\u5FC6\u5411\u91CF\u914D\u7F6E\u7531\u672C\u5730\u4EE3\u7406\u63D0\u4F9B\u3002\u8BF7\u5148\u5728\u300C\u4EE3\u7406\u300D\u6807\u7B7E\u9875\u5B8C\u6210\u4EE3\u7406\u8FDE\u63A5\uFF0C\u518D\u56DE\u5230\u8FD9\u91CC\u914D\u7F6E\u3002",gateRagTitle:"\u672C\u5730\u6A21\u578B\u4F9D\u8D56\u672A\u5C31\u7EEA",gateRagMissing:"\u672C\u5730\u6A21\u578B\u9700\u8981 RAG \u4F9D\u8D56\u3002\u8BF7\u5148\u5728\u300C\u6269\u5C55\u300D\u9762\u677F\u5B8C\u6210\u5B89\u88C5\uFF0C\u518D\u56DE\u5230\u8FD9\u91CC\u914D\u7F6E\u3002",goToAgentTab:"\u524D\u5F80\u300C\u4EE3\u7406\u300D\u6807\u7B7E\u9875",goToToolboxTab:"\u524D\u5F80\u300C\u6269\u5C55\u300D\u6807\u7B7E\u9875"},memoryEntries:{title:"\u8BB0\u5FC6\u6761\u76EE",refreshBtn:"\u5237\u65B0",exportBtn:"\u5BFC\u51FA",importBtn:"\u5BFC\u5165",exportEmpty:"\u8FD8\u6CA1\u6709\u53EF\u5BFC\u51FA\u7684\u8BB0\u5FC6\u6761\u76EE",exportDone:"\u5DF2\u5BFC\u51FA {count} \u6761\u8BB0\u5FC6\u5230 {file}",importParseFail:"\u5BFC\u5165\u5931\u8D25\uFF1A\u6587\u4EF6\u4E0D\u662F\u5408\u6CD5\u7684 JSON",importFormatFail:"\u5BFC\u5165\u5931\u8D25\uFF1A\u6587\u4EF6\u683C\u5F0F\u4E0D\u6B63\u786E\uFF0C\u8BF7\u9009\u62E9\u8BB0\u5FC6\u5BFC\u51FA\u6587\u4EF6\u6216\u6DD8\u6C70\u5F52\u6863\u6587\u4EF6",importConfirm:"\u5C06\u8FFD\u52A0\u5BFC\u5165 {add} \u6761\u8BB0\u5FC6\uFF0C\u8DF3\u8FC7 {skipped} \u6761\uFF08\u5DF2\u5B58\u5728\u6216\u683C\u5F0F\u4E0D\u7B26\uFF09\u3002\u5BFC\u5165\u4E0D\u8986\u76D6\u73B0\u6709\u8BB0\u5FC6\uFF0C\u4F46\u5BFC\u5165\u540E\u7684\u6761\u76EE\u65E0\u6CD5\u6279\u91CF\u64A4\u9500\u3002\u786E\u5B9A\u7EE7\u7EED\uFF1F",importNone:"\u6CA1\u6709\u53EF\u5BFC\u5165\u7684\u65B0\u8BB0\u5FC6\uFF08\u8DF3\u8FC7 {skipped} \u6761\uFF09",importDone:"\u5BFC\u5165\u5B8C\u6210\uFF1A\u65B0\u589E {added} \u6761\uFF0C\u8DF3\u8FC7 {skipped} \u6761",importPartialFail:"\u5BFC\u5165\u5B8C\u6210\uFF1A\u65B0\u589E {added} \u6761\uFF0C\u5931\u8D25 {failed} \u6761\uFF0C\u8DF3\u8FC7 {skipped} \u6761",searchPlaceholder:"\u641C\u7D22\u5185\u5BB9\u6216\u6807\u7B7E\u2026",filterAll:"\u5168\u90E8\u7C7B\u578B",filterFact:"\u4E8B\u5B9E",filterSummary:"\u6458\u8981",sortCreatedDesc:"\u521B\u5EFA\u65F6\u95F4\uFF08\u65B0\u2192\u65E7\uFF09",sortImportanceDesc:"\u91CD\u8981\u5EA6\uFF08\u9AD8\u2192\u4F4E\uFF09",sortValueDesc:"\u4EF7\u503C\u5206\uFF08\u9AD8\u2192\u4F4E\uFF09",sortValueAsc:"\u4EF7\u503C\u5206\uFF08\u4F4E\u2192\u9AD8\uFF09",count:"{shown} / {total} \u6761",loading:"\u8BFB\u53D6\u4E2D\u2026",empty:"\u8FD8\u6CA1\u6709\u4EFB\u4F55\u8BB0\u5FC6\u6761\u76EE",noMatch:"\u6CA1\u6709\u7B26\u5408\u7B5B\u9009\u6761\u4EF6\u7684\u6761\u76EE",offline:"\u4EE3\u7406\u672A\u8FDE\u63A5\uFF0C\u6682\u65F6\u8BFB\u4E0D\u5230\u8BB0\u5FC6\u6761\u76EE",unsupported:"\u5F53\u524D\u4EE3\u7406\u7248\u672C\u4E0D\u652F\u6301\u8BB0\u5FC6\u6761\u76EE\u7BA1\u7406\uFF0C\u8BF7\u5347\u7EA7\u5E76\u91CD\u542F\u4EE3\u7406",loadFail:"\u8BB0\u5FC6\u6761\u76EE\u8BFB\u53D6\u5931\u8D25\uFF1A{error}",importanceShort:"\u91CD\u8981\u5EA6",valueShort:"\u4EF7\u503C",createdLabel:"\u521B\u5EFA",lastAccessLabel:"\u6700\u8FD1\u8BBF\u95EE",neverAccessed:"\u4ECE\u672A",accessCount:"\u8BBF\u95EE {count} \u6B21",tagsLabel:"\u6807\u7B7E",editBtn:"\u7F16\u8F91",deleteBtn:"\u5220\u9664",editTitle:"\u7F16\u8F91\u8BB0\u5FC6\u6761\u76EE",typeLabel:"\u7C7B\u578B",contentLabel:"\u5185\u5BB9",importanceLabel:"\u91CD\u8981\u5EA6\uFF081-10\uFF09",tagsPlaceholder:"\u9017\u53F7\u5206\u9694\uFF0C\u5982\uFF1A\u73AF\u5883\u3001\u504F\u597D",saveBtn:"\u4FDD\u5B58\u4FEE\u6539",cancelBtn:"\u53D6\u6D88",contentEmpty:"\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",saved:"\u8BB0\u5FC6\u5DF2\u66F4\u65B0",saveFail:"\u66F4\u65B0\u5931\u8D25\uFF1A{error}",deleteConfirm:"\u5220\u9664\u8FD9\u6761\u8BB0\u5FC6\uFF1F\u5220\u9664\u540E\u4E0D\u53EF\u6062\u590D\uFF0C\u5176\u5411\u91CF\u7F13\u5B58\u4F1A\u540C\u6B65\u6458\u9664\u3002",deleted:"\u8BB0\u5FC6\u5DF2\u5220\u9664",deleteFail:"\u5220\u9664\u5931\u8D25\uFF1A{error}",candidatesHint:"{count} \u6761\u4F4E\u4EF7\u503C\u8BB0\u5FC6\u5EFA\u8BAE\u6DD8\u6C70\uFF08\u4EF7\u503C\u5206\u4F4E\u4E8E 10\uFF09",compactBtn:"\u4E00\u952E\u538B\u7F29",compactConfirm:"\u5C06\u5F52\u6863 {count} \u6761\u4EF7\u503C\u5206\u4F4E\u4E8E {threshold} \u7684\u8BB0\u5FC6\uFF0C\u518D\u4ECE\u8BB0\u5FC6\u5E93\u4E2D\u79FB\u9664\uFF1B\u5F52\u6863\u6587\u4EF6\u53EF\u5728\u9700\u8981\u65F6\u7528\u4E8E\u627E\u56DE\u3002\u786E\u5B9A\u538B\u7F29\uFF1F",compactDone:"\u538B\u7F29\u5B8C\u6210\uFF1A\u5F52\u6863\u4E8B\u5B9E {facts} \u6761\u3001\u6458\u8981 {summaries} \u6761",compactArchived:"\u5DF2\u5F52\u6863 {count} \u6761\u6DD8\u6C70\u8BB0\u5FC6\u5230 {dir}\uFF0C\u9700\u8981\u65F6\u53EF\u4ECE\u8BE5\u76EE\u5F55\u627E\u56DE",compactFail:"\u538B\u7F29\u5931\u8D25\uFF1A{error}"},knowledge:{tabTitle:"\u77E5\u8BC6\u5E93",gateAgentOffTitle:"\u4EE3\u7406\u672A\u8FDE\u63A5",gateAgentOffDesc:"\u77E5\u8BC6\u5E93\u529F\u80FD\u7531\u672C\u5730\u4EE3\u7406\u63D0\u4F9B\u3002\u8BF7\u5148\u5728\u300C\u4EE3\u7406\u300D\u6807\u7B7E\u9875\u5B8C\u6210\u4EE3\u7406\u8FDE\u63A5\uFF0C\u518D\u56DE\u5230\u8FD9\u91CC\u7BA1\u7406\u77E5\u8BC6\u5E93\u3002",gateRagOffTitle:"\u77E5\u8BC6\u5E93\u529F\u80FD\u672A\u542F\u7528",gateRagOffDesc:"\u5F00\u542F\u4E0A\u65B9\u300C\u77E5\u8BC6\u5E93\u68C0\u7D22\u300D\u603B\u5F00\u5173\u540E\uFF0C\u5373\u53EF\u521B\u5EFA\u548C\u7BA1\u7406\u77E5\u8BC6\u5E93\u3002",gateRagUnavailableTitle:"\u4EE3\u7406\u7AEF\u80FD\u529B\u672A\u5C31\u7EEA",gateRagUnavailableDesc:"RAG \u4F9D\u8D56\u5C1A\u672A\u5B89\u88C5\uFF0C\u6216 Node \u7248\u672C\u4E0D\u6EE1\u8DB3\u8981\u6C42\uFF08\u9700 Node 22+\uFF09\u3002\u8BF7\u67E5\u770B\u4E0B\u65B9\u5B89\u88C5\u5F15\u5BFC\u3002",goToAgentTab:"\u524D\u5F80\u300C\u4EE3\u7406\u300D\u6807\u7B7E\u9875",goToToolboxTab:"\u524D\u5F80\u300C\u6269\u5C55\u300D\u6807\u7B7E\u9875",enableNow:"\u7ACB\u5373\u542F\u7528",title:"\u77E5\u8BC6\u5E93",createBtn:"+ \u65B0\u5EFA\u77E5\u8BC6\u5E93",searchPlaceholder:"\u641C\u7D22\u77E5\u8BC6\u5E93...",emptyTitle:"\u8FD8\u6CA1\u6709\u77E5\u8BC6\u5E93",emptyDesc:"\u70B9\u51FB\u300C\u65B0\u5EFA\u77E5\u8BC6\u5E93\u300D\u521B\u5EFA\u7B2C\u4E00\u4E2A\u77E5\u8BC6\u5E93\uFF0C\u7136\u540E\u5BFC\u5165\u6587\u6863\u5F00\u59CB\u4F7F\u7528\u3002",loadFailed:"\u52A0\u8F7D\u5931\u8D25: {error}",retry:"\u91CD\u8BD5",statsSummary:"{docs} \u6587\u6863 \xB7 {chunks} \u5206\u5757",modeLocal:"\u672C\u5730\u6A21\u578B",modeRemote:"\u8FDC\u7AEF\u670D\u52A1",actionEdit:"\u7F16\u8F91",actionIngest:"\u5BFC\u5165",actionSearch:"\u68C0\u7D22\u6D4B\u8BD5",actionDocs:"\u6587\u6863",actionExport:"\u5BFC\u51FA",exporting:"\u6B63\u5728\u5BFC\u51FA...",exportSuccess:"\u77E5\u8BC6\u5E93\u300C{name}\u300D\u5907\u4EFD\u5DF2\u5BFC\u51FA",exportFailed:"\u77E5\u8BC6\u5E93\u5BFC\u51FA\u5931\u8D25: {error}",actionDelete:"\u5220\u9664",actionEnable:"\u542F\u7528",actionDisable:"\u505C\u7528",badgeDisabled:"\u5DF2\u505C\u7528",enableSuccess:"\u77E5\u8BC6\u5E93\u300C{name}\u300D\u5DF2\u542F\u7528",disableSuccess:"\u77E5\u8BC6\u5E93\u300C{name}\u300D\u5DF2\u505C\u7528",createTitle:"\u65B0\u5EFA\u77E5\u8BC6\u5E93",nameLabel:"\u540D\u79F0",namePlaceholder:"\u4F8B\u5982\uFF1A\u4EA7\u54C1\u6587\u6863\u96C6",descLabel:"\u63CF\u8FF0\uFF08\u53EF\u9009\uFF09",descPlaceholder:"\u7B80\u8981\u8BF4\u660E\u8FD9\u4E2A\u77E5\u8BC6\u5E93\u5B58\u653E\u4EC0\u4E48\u5185\u5BB9",createConfirm:"\u521B\u5EFA",creating:"\u521B\u5EFA\u4E2D...",createSuccess:"\u77E5\u8BC6\u5E93\u300C{name}\u300D\u5DF2\u521B\u5EFA",nameRequired:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u5E93\u540D\u79F0",editTitle:"\u7F16\u8F91\u77E5\u8BC6\u5E93",editConfirm:"\u4FDD\u5B58",saving:"\u4FDD\u5B58\u4E2D...",editSuccess:"\u77E5\u8BC6\u5E93\u4FE1\u606F\u5DF2\u66F4\u65B0",vectorSectionTitle:"\u5411\u91CF\u6A21\u578B",vectorModeLocal:"\u672C\u5730\u6A21\u578B\uFF08\u5185\u7F6E BGE \u4E2D\u6587\u6A21\u578B\uFF09",vectorModeRemote:"\u8FDC\u7AEF\u670D\u52A1\uFF08OpenAI \u517C\u5BB9\u63A5\u53E3\uFF09",vectorModeLocalHint:"\u4F7F\u7528\u4EE3\u7406\u7AEF\u5185\u7F6E BGE \u4E2D\u6587\u6A21\u578B\u751F\u6210\u5411\u91CF\uFF0C\u65E0\u9700\u989D\u5916\u914D\u7F6E\uFF1B\u9996\u6B21\u5BFC\u5165\u9700\u4E0B\u8F7D\u6A21\u578B\u6587\u4EF6\u3002",vectorModeRemoteHint:"\u8C03\u7528\u8FDC\u7AEF OpenAI \u517C\u5BB9\u7684\u5411\u91CF\u670D\u52A1\uFF08\u5982\u7845\u57FA\u6D41\u52A8\u3001\u667A\u8C31\u3001OpenAI \u7B49\uFF09\u3002",vectorEndpointLabel:"\u63A5\u53E3\u5730\u5740\uFF08Base URL\uFF0C\u542B\u7248\u672C\u6BB5\uFF09",vectorEndpointPlaceholder:"\u4F8B\u5982 https://api.siliconflow.cn/v1",vectorApiKeyLabel:"API Key",vectorApiKeyPlaceholder:"\u7C98\u8D34 API Key",vectorApiKeyKeep:"\u7559\u7A7A\u5219\u6CBF\u7528\u5DF2\u4FDD\u5B58\u7684 Key",vectorModelLabel:"\u6A21\u578B\u540D\u79F0",vectorModelPlaceholder:"\u4F8B\u5982 BAAI/bge-m3",vectorDimsLabel:"\u5411\u91CF\u7EF4\u5EA6\uFF08\u53EF\u7559\u7A7A\uFF0C\u6D4B\u8BD5\u65F6\u81EA\u52A8\u63A2\u6D4B\uFF09",vectorDimsPlaceholder:"\u81EA\u52A8",vectorTestBtn:"\u6D4B\u8BD5\u8FDE\u901A\u6027",vectorTesting:"\u6D4B\u8BD5\u4E2D...",vectorTestOk:"\u8FDE\u63A5\u6210\u529F\uFF1A{model}\uFF08{dims} \u7EF4\uFF09",vectorDimsFilled:"\u5DF2\u81EA\u52A8\u586B\u5145\u7EF4\u5EA6\uFF1A{dims}",vectorTestFailed:"\u6D4B\u8BD5\u5931\u8D25: {error}",vectorEndpointRequired:"\u8BF7\u586B\u5199\u8FDC\u7AEF\u63A5\u53E3\u5730\u5740",vectorModelRequired:"\u8BF7\u586B\u5199\u6A21\u578B\u540D\u79F0",rebuildConfirmTitle:"\u53D8\u66F4\u5411\u91CF\u914D\u7F6E",rebuildConfirm:"\u5411\u91CF\u6A21\u578B\u6216\u5206\u5757\u53C2\u6570\u53D8\u66F4\u540E\u9700\u8981\u91CD\u5EFA\u7D22\u5F15\uFF08\u91CD\u65B0\u5411\u91CF\u5316\u5168\u90E8\u6587\u6863\uFF09\u3002\u91CD\u5EFA\u671F\u95F4\u4ECD\u53EF\u68C0\u7D22\u65E7\u7D22\u5F15\uFF0C\u5B8C\u6210\u540E\u81EA\u52A8\u5207\u6362\u3002\u786E\u5B9A\u7EE7\u7EED\u5417\uFF1F",rebuildStarted:"\u5DF2\u5F00\u59CB\u91CD\u5EFA\u7D22\u5F15\uFF0C\u5B8C\u6210\u540E\u5C06\u81EA\u52A8\u5237\u65B0...",progressRebuilding:"\u6B63\u5728\u91CD\u5EFA\u7D22\u5F15 {current}/{total} \u7BC7\u6587\u6863\u2026",rebuildDone:"\u7D22\u5F15\u91CD\u5EFA\u5B8C\u6210",rebuildFailed:"\u7D22\u5F15\u91CD\u5EFA\u5931\u8D25: {error}",deleteConfirmTitle:"\u5220\u9664\u77E5\u8BC6\u5E93",deleteConfirm:"\u786E\u5B9A\u5220\u9664\u300C{name}\u300D\u5417\uFF1F\u5176\u4E2D\u7684 {docs} \u4E2A\u6587\u6863\u3001{chunks} \u4E2A\u5206\u5757\u5C06\u4E00\u5E76\u5220\u9664\uFF0C\u64CD\u4F5C\u4E0D\u53EF\u6062\u590D\u3002",deleteSuccess:"\u77E5\u8BC6\u5E93\u5DF2\u5220\u9664",ingestTitle:"\u5BFC\u5165\u6587\u6863\u5230\u300C{name}\u300D",tabFile:"\u6587\u4EF6",tabText:"\u6587\u672C",tabUrl:"URL",dropHint:"\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u5904\uFF0C\u6216\u70B9\u51FB\u9009\u62E9\uFF08\u53EF\u591A\u9009\uFF09",dropSupported:"\u652F\u6301 txt / md / pdf / docx / xlsx / html \u7B49\u683C\u5F0F\uFF0C\u5355\u6587\u4EF6 \u2264 50MB\uFF0C\u5355\u6B21\u2264 20 \u4E2A",selectedFile:"\u5DF2\u9009\u62E9\uFF1A{name}",selectedCount:"\u5DF2\u9009\u62E9 {count} \u4E2A\u6587\u4EF6\uFF08\u5355\u6B21\u6700\u591A {max} \u4E2A\uFF09",removeFile:"\u79FB\u9664",textContentLabel:"\u6587\u672C\u5185\u5BB9",textContentPlaceholder:"\u5728\u6B64\u7C98\u8D34\u8981\u5BFC\u5165\u7684\u6587\u672C\u5185\u5BB9...",textNameLabel:"\u6587\u6863\u540D\u79F0\uFF08\u53EF\u9009\uFF09",textNamePlaceholder:"\u7559\u7A7A\u5219\u81EA\u52A8\u547D\u540D",urlLabel:"\u7F51\u9875\u5730\u5740",urlPlaceholder:"https://example.com/page",chunkSettingsTitle:"\u5206\u5757\u8BBE\u7F6E",chunkSizeLabel:"\u5757\u5927\u5C0F\uFF08\u5B57\u7B26\uFF09",chunkOverlapLabel:"\u91CD\u53E0\uFF08\u5B57\u7B26\uFF09",ingestConfirm:"\u5F00\u59CB\u5BFC\u5165",ingesting:"\u6B63\u5728\u89E3\u6790\u5E76\u5411\u91CF\u5316\uFF0C\u9996\u6B21\u5BFC\u5165\u53EF\u80FD\u9700\u8981\u4E0B\u8F7D\u6A21\u578B\uFF0C\u8BF7\u7A0D\u5019...",progressParsing:"\u6B63\u5728\u89E3\u6790\u6587\u6863\u2026",progressChunking:"\u6B63\u5728\u5206\u5757\u2026",progressEmbedding:"\u6B63\u5728\u5411\u91CF\u5316 {current}/{total} \u5757\u2026",progressStoring:"\u6B63\u5728\u5199\u5165\u7D22\u5F15\u2026",ingestSuccess:"\u5BFC\u5165\u5B8C\u6210\uFF1A{name}\uFF08{chunks} \u4E2A\u5206\u5757\uFF09",ingestFailed:"\u5BFC\u5165\u5931\u8D25: {error}",fileRequired:"\u8BF7\u5148\u9009\u62E9\u6587\u4EF6",contentRequired:"\u8BF7\u8F93\u5165\u8981\u5BFC\u5165\u7684\u6587\u672C\u5185\u5BB9",urlRequired:"\u8BF7\u8F93\u5165\u7F51\u9875\u5730\u5740",fileTooLarge:"\u6587\u4EF6\u8FC7\u5927\uFF0C\u6700\u5927\u652F\u6301 50MB",fileTypeUnsupported:"\u4E0D\u652F\u6301\u7684\u6587\u4EF6\u7C7B\u578B\uFF1A{name}",maxBatchFiles:"\u5355\u6B21\u6700\u591A\u5BFC\u5165 {max} \u4E2A\u6587\u4EF6\uFF0C\u8BF7\u5206\u6279\u5BFC\u5165",importingBatch:"\u6B63\u5728\u5BFC\u5165 {current}/{total}\uFF1A{name}",batchAllSuccess:"\u6279\u91CF\u5BFC\u5165\u5B8C\u6210\uFF1A{count} \u4E2A\u6587\u6863\uFF08\u5171 {chunks} \u4E2A\u5206\u5757\uFF09",batchPartial:"\u5BFC\u5165\u5B8C\u6210\uFF1A\u6210\u529F {success} \u4E2A\uFF0C\u5931\u8D25 {fail} \u4E2A\uFF08\u9996\u4E2A\u9519\u8BEF\uFF1A{error}\uFF09",batchAllFailed:"\u5168\u90E8\u5BFC\u5165\u5931\u8D25\uFF1A{error}",docsTitle:"\u300C{name}\u300D\u7684\u6587\u6863",docsEmpty:"\u8FD8\u6CA1\u6709\u5BFC\u5165\u4EFB\u4F55\u6587\u6863",docSearchPlaceholder:"\u641C\u7D22\u6587\u6863\u540D\u79F0\u6216\u6765\u6E90...",docSearchEmpty:"\u6CA1\u6709\u5339\u914D\u7684\u6587\u6863",docChunkCount:"{count} \u5206\u5757",docDeleteConfirmTitle:"\u5220\u9664\u6587\u6863",docDeleteConfirm:"\u786E\u5B9A\u5220\u9664\u6587\u6863\u300C{name}\u300D\u5417\uFF1F\u8BE5\u6587\u6863\u7684\u6240\u6709\u5206\u5757\u5C06\u4ECE\u77E5\u8BC6\u5E93\u4E2D\u79FB\u9664\u3002",docDeleteSuccess:"\u6587\u6863\u5DF2\u5220\u9664",docSourceFile:"\u6587\u4EF6",docSourceUrl:"\u7F51\u9875",docSourceText:"\u6587\u672C",docOriginalSize:"\u539F\u4EF6 {size}",docOriginalName:"\u539F\u4EF6\u540D {name}",docNoOriginal:"\u539F\u4EF6\u672A\u4FDD\u7559",docNoOriginalText:"\u7EAF\u6587\u672C\u5BFC\u5165\uFF0C\u65E0\u539F\u4EF6",docOriginalQuotaSkipped:"\u539F\u4EF6\u8D85\u51FA\u914D\u989D\u672A\u4FDD\u7559",docOriginalMissing:"\u8BE5\u6587\u6863\u672A\u4FDD\u7559\u539F\u4EF6\uFF0C\u53EA\u80FD\u67E5\u770B\u6587\u672C",docOriginalSkippedToast:"\u539F\u4EF6\u8D85\u51FA\u914D\u989D\u672A\u4FDD\u5B58\uFF0C\u6587\u672C\u4E0E\u5411\u91CF\u5DF2\u6B63\u5E38\u5165\u5E93",docView:"\u67E5\u770B\u539F\u6587",docViewTitle:"\u67E5\u770B\u539F\u6587",docViewCopy:"\u590D\u5236",docViewCopied:"\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",docViewPreview:"\u9884\u89C8",docViewSource:"\u6E90\u7801",docViewTruncated:"\u6587\u672C\u8F83\u957F\uFF0C\u4EC5\u663E\u793A\u524D {limit} \u4E2A\u5B57\u7B26\uFF08\u5171 {total} \u5B57\u7B26\uFF09\uFF0C\u53EF\u4E0B\u8F7D\u5168\u6587\u3002",docViewEmpty:"\uFF08\u65E0\u6587\u672C\u5185\u5BB9\uFF09",docToc:"\u76EE\u5F55",docFullscreen:"\u5168\u5C4F",docExitFullscreen:"\u9000\u51FA\u5168\u5C4F",docCharCount:"{count} \u5B57\u7B26",docDownloadOriginal:"\u4E0B\u8F7D\u539F\u4EF6",docDownloadText:"\u4E0B\u8F7D\u6587\u672C",docDownloading:"\u4E0B\u8F7D\u4E2D...",docDownloadFailed:"\u4E0B\u8F7D\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5",searchTitle:"\u68C0\u7D22\u6D4B\u8BD5",searchScope:"\u68C0\u7D22\u8303\u56F4\uFF1A\u300C{name}\u300D",searchQueryPlaceholder:"\u8F93\u5165\u67E5\u8BE2\u8BED\u53E5\uFF0C\u4F8B\u5982\uFF1A\u5982\u4F55\u5BFC\u51FA\u6570\u636E\uFF1F",searchBtn:"\u68C0\u7D22",searching:"\u68C0\u7D22\u4E2D...",searchTopKLabel:"\u8FD4\u56DE\u6761\u6570",searchThresholdLabel:"\u76F8\u4F3C\u5EA6\u9608\u503C",searchHitCount:"\u547D\u4E2D {count} \u6761",searchNoHits:"\u6CA1\u6709\u547D\u4E2D\u4EFB\u4F55\u5185\u5BB9\uFF0C\u53EF\u5C1D\u8BD5\u964D\u4F4E\u76F8\u4F3C\u5EA6\u9608\u503C\u3002",searchFallbackHint:"\u76F8\u4F3C\u5EA6\u5747\u4F4E\u4E8E\u9608\u503C\uFF0C\u4EE5\u4E0B\u4E3A\u6700\u4F73\u5339\u914D\uFF08\u4EC5\u4F9B\u53C2\u8003\uFF09\uFF1A",searchFailed:"\u68C0\u7D22\u5931\u8D25: {error}",expandFull:"\u5C55\u5F00\u5168\u6587",collapse:"\u6536\u8D77",scoreLabel:"\u76F8\u4F3C\u5EA6",opFailed:"\u64CD\u4F5C\u5931\u8D25: {error}"},contextBubble:{labelSelection:"\u9009\u4E2D\u5185\u5BB9",labelQuoted:"\u5F15\u7528",labelSkill:"\u6280\u80FD",labelMcp:"MCP",labelPage:"\u7F51\u9875",labelFile:"\u6587\u4EF6",labelKnowledge:"\u77E5\u8BC6\u5E93",clickToExpand:"\u70B9\u51FB\u5C55\u5F00",bubbleSkill:"{name} \u{1F9E9}",bubbleMcp:"{name} \u{1F50C}",bubblePage:"{title} \u{1F310}",bubbleKnowledge:"{name} \u{1F4DA} \xB7 \u547D\u4E2D {count} \u6761",bubbleKnowledgeMiss:"{name} \u{1F4DA} \xB7 \u672A\u547D\u4E2D",bubbleKnowledgeFailed:"{name} \u{1F4DA} \xB7 \u68C0\u7D22\u5931\u8D25",bubbleKnowledgeSearching:"\u6B63\u5728\u68C0\u7D22\u77E5\u8BC6\u5E93\u2026",kbHitToggle:"\u70B9\u51FB\u5C55\u5F00/\u6536\u8D77\u5168\u6587",kbHitTruncated:"\u2702 \u5DF2\u622A\u65AD \xB7 \u539F\u6587 {total} \u5B57\uFF0C\u524D {kept} \u5B57\u5DF2\u53D1\u9001",kbHitTruncatedTitle:"\u4E3A\u63A7\u5236\u4E0A\u4E0B\u6587\u4F53\u79EF\uFF0C\u5185\u5BB9\u622A\u65AD\u540E\u518D\u53D1\u9001\u7ED9\u6A21\u578B\uFF1B\u6B64\u5904\u663E\u793A\u7684\u5373\u6A21\u578B\u5B9E\u9645\u6536\u5230\u7684\u7248\u672C",kbHitTruncatedBadge:"\u2702 {count} \u6761\u5DF2\u622A\u65AD"},configDialog:{exportTitle:"\u5BFC\u51FA\u914D\u7F6E",includeSecrets:"\u5305\u542B API \u5BC6\u94A5",secretWarn:"\u26A0 \u654F\u611F\u4FE1\u606F\uFF0C\u8BF7\u786E\u4FDD\u6587\u4EF6\u5B89\u5168",exportDesc:"\u5BFC\u51FA\u6587\u4EF6\u5C06\u5305\u542B\u9664 Agent \u8FDE\u63A5\u4FE1\u606F\uFF08\u4EE3\u7406\u5730\u5740\u4E0E\u914D\u5BF9\u4EE4\u724C\uFF09\u5916\u7684\u6240\u6709\u914D\u7F6E\uFF1B\u52FE\u9009\u4E0B\u65B9\u9009\u9879\u540E\u4E00\u5E76\u5BFC\u51FA API \u5BC6\u94A5\u4E0E\u8FDE\u63A5\u4FE1\u606F\u3002",export:"\u5BFC\u51FA",importTitle:"\u5BFC\u5165\u914D\u7F6E",mergeImport:"\u5408\u5E76\u5BFC\u5165 \u2014 \u4EC5\u8986\u76D6\u6587\u4EF6\u4E2D\u5B58\u5728\u7684\u914D\u7F6E\u9879\uFF0C\u4FDD\u7559\u5176\u4ED6",replaceImport:"\u5B8C\u5168\u66FF\u6362 \u2014 \u6E05\u7A7A\u5F53\u524D\u914D\u7F6E\uFF0C\u4F7F\u7528\u6587\u4EF6\u4E2D\u7684\u914D\u7F6E",confirmImport:"\u786E\u8BA4\u5BFC\u5165",exportSuccess:"\u914D\u7F6E\u5DF2\u5BFC\u51FA",exportFailed:"\u5BFC\u51FA\u5931\u8D25: {error}",unknownTime:"\u672A\u77E5",importSummary:"\u5BFC\u51FA\u65F6\u95F4: {time}\uFF0C\u5305\u542B {count} \u9879\u914D\u7F6E",invalidFileFormat:"\u65E0\u6548\u7684\u6587\u4EF6\u683C\u5F0F",unrecognizedFormat:"\u65E0\u6CD5\u8BC6\u522B\u7684\u914D\u7F6E\u683C\u5F0F",unknownConfigKey:"\u672A\u77E5\u7684\u914D\u7F6E\u9879: {key}",importFailed:"\u5BFC\u5165\u5931\u8D25: {error}",importParseFailed:"\u5BFC\u5165\u5931\u8D25: \u65E0\u6CD5\u89E3\u6790\u6587\u4EF6\u683C\u5F0F",importedCount:"\u5DF2\u5BFC\u5165 {count} \u9879\u914D\u7F6E"},queue:{enqueueBtn:"\u52A0\u5165\u961F\u5217",enqueued:"\u5DF2\u52A0\u5165\u961F\u5217\uFF08\u7B2C {position} \u4F4D\uFF09",enqueueFailed:"\u52A0\u5165\u961F\u5217\u5931\u8D25\uFF0C\u5185\u5BB9\u5DF2\u4FDD\u7559\u5728\u8F93\u5165\u6846",queueFull:"\u961F\u5217\u5DF2\u6EE1\uFF08\u4E0A\u9650 {limit} \u6761\uFF09\uFF0C\u8BF7\u5148\u5904\u7406\u5DF2\u6392\u961F\u7684\u4EFB\u52A1",noSession:"\u5C1A\u672A\u5C31\u7EEA\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5",summary:"\u6392\u961F {count} \u6761",summaryEmpty:"\u961F\u5217\u5DF2\u7A7A",summaryFailed:"{count} \u6761\u4EFB\u52A1\u5931\u8D25",summaryFailedHint:"\u4EFB\u52A1\u672A\u6210\u529F\u6267\u884C\uFF0C\u5C55\u5F00\u300C\u6700\u8FD1\u5904\u7406\u300D\u53EF\u91CD\u65B0\u5165\u961F",pausedTag:"\u5DF2\u6682\u505C",pausedHint:"\u81EA\u52A8\u63A5\u529B\u5DF2\u6682\u505C",pausedByStop:"\u4F60\u70B9\u51FB\u4E86\u505C\u6B62\uFF0C\u81EA\u52A8\u63A5\u529B\u5DF2\u6682\u505C",resumeQueue:"\u7EE7\u7EED\u961F\u5217",resumed:"\u5DF2\u7EE7\u7EED\u81EA\u52A8\u63A5\u529B",stopAndSend:"\u505C\u6B62\u5E76\u53D1\u9001",stopAndSendTitle:"\u653E\u5F03\u5F53\u524D\u8FD9\u4E00\u8F6E\uFF0C\u7ACB\u523B\u5F00\u59CB\u6267\u884C\u961F\u5217\uFF08\u53F3\u952E / \u957F\u6309\u505C\u6B62\u6309\u94AE\uFF09",stopAndSendEmpty:"\u961F\u5217\u91CC\u6CA1\u6709\u5F85\u6267\u884C\u7684\u4EFB\u52A1",stopAndSendStarted:"\u5DF2\u505C\u6B62\u5F53\u524D\u4EFB\u52A1\uFF0C\u961F\u5217\u5F00\u59CB\u6267\u884C",recentTitle:"\u6700\u8FD1\u5904\u7406",recentEmpty:"\u6682\u65E0\u5904\u7406\u8BB0\u5F55",requeue:"\u91CD\u65B0\u5165\u961F",requeued:"\u5DF2\u91CD\u65B0\u52A0\u5165\u961F\u5217",deleted:"\u5DF2\u4ECE\u961F\u5217\u5220\u9664",movedTop:"\u5DF2\u7F6E\u9876",withContext:"\u5E26\u4E0A\u4E0B\u6587",withImages:"\u5E26 {count} \u56FE",withFiles:"\u5E26 {count} \u6587\u4EF6",attachmentsVolatile:"\u56FE\u7247/\u6587\u4EF6\u8F83\u5927\uFF0C\u672A\u80FD\u6301\u4E45\u5316\u4FDD\u5B58\uFF1B\u9762\u677F\u5237\u65B0\u540E\u4F1A\u4E22\u5931\u8FD9\u4E9B\u9644\u4EF6\uFF0C\u5EFA\u8BAE\u5C3D\u5FEB\u6267\u884C\u672C\u6761",attachmentsMissing:"\u9644\u4EF6\u5DF2\u65E0\u6CD5\u6062\u590D\uFF08\u53EF\u80FD\u6765\u81EA\u5DF2\u5173\u95ED\u7684\u9762\u677F\u6216\u88AB\u91CA\u653E\uFF09\uFF0C\u672C\u6761\u5C06\u53EA\u53D1\u9001\u6587\u5B57",editBackWithAttachments:"\u5DF2\u56DE\u586B\uFF0C\u56FE\u7247/\u6587\u4EF6\u4E00\u5E76\u8FD8\u539F",requeuedNoAttachments:"\u5DF2\u91CD\u65B0\u5165\u961F\uFF08\u539F\u9644\u4EF6\u5DF2\u91CA\u653E\uFF0C\u4EC5\u6062\u590D\u6587\u5B57\uFF09",forgetRecent:"\u4ECE\u8BB0\u5F55\u4E2D\u79FB\u9664",forgotRecent:"\u5DF2\u4ECE\u300C\u6700\u8FD1\u5904\u7406\u300D\u79FB\u9664",filesStillExtracting:"\u9644\u4EF6\u6587\u4EF6\u8FD8\u5728\u89E3\u6790\u4E2D\uFF0C\u7B49\u89E3\u6790\u5B8C\u6210\u518D\u5165\u961F\uFF08\u73B0\u5728\u5165\u961F\u4F1A\u4E22\u6587\u4EF6\u5185\u5BB9\uFF09",inputHasUnsavedContext:"\u8F93\u5165\u533A\u8FD8\u6CA1\u5199\u7684\u56FE\u7247/\u6587\u4EF6/\u5F15\u7528\u4F1A\u56E0\u56DE\u586B\u88AB\u6E05\u6389\uFF1B\u8BF7\u5148\u53D1\u9001\u6216\u6E05\u7A7A\u5B83\u4EEC\u540E\u518D\u56DE\u586B",statusDispatching:"\u6267\u884C\u4E2D",statusInjecting:"\u63D2\u5165\u4E2D",statusInjected:"\u5DF2\u63D2\u5165",statusDone:"\u5DF2\u6267\u884C",statusFailed:"\u5931\u8D25",statusRecovered:"\u4E0A\u6B21\u672A\u5B8C\u6210",statusRunningHint:"\u6B63\u5728\u6267\u884C\u8FD9\u6761\u4EFB\u52A1\uFF08\u542B\u5DE5\u5177\u8C03\u7528\uFF09\uFF0C\u8DD1\u5B8C\u624D\u8F6E\u5230\u4E0B\u4E00\u6761",inject:"\u63D2\u5165\u5F53\u524D\u4EFB\u52A1\uFF08\u4E0D\u5FC5\u7B49\u5B83\u8DD1\u5B8C\uFF09",injectIdleHint:"\u5F53\u524D\u6CA1\u6709\u6B63\u5728\u6267\u884C\u7684\u4EFB\u52A1\uFF1B\u8FD9\u6761\u4F1A\u6309\u961F\u5217\u987A\u5E8F\u6267\u884C",injectAccepted:"\u5DF2\u6295\u9012\uFF0C\u5F53\u524D\u6B65\u9AA4\u7ED3\u675F\u540E\u751F\u6548",injected:"\u5DF2\u63D2\u5165\u5F53\u524D\u4EFB\u52A1",autoCarried:"\u5DF2\u81EA\u52A8\u5E26\u5165\u5F53\u524D\u4EFB\u52A1\uFF08\u7B2C {iteration} \u8F6E\uFF09",injectNoTask:"\u4EFB\u52A1\u521A\u597D\u7ED3\u675F\u4E86\uFF0C\u8FD9\u6761\u5DF2\u653E\u56DE\u961F\u5217",injectTimeout:"\u6CA1\u7B49\u5230\u63D2\u5165\u786E\u8BA4\uFF0C\u8FD9\u6761\u5DF2\u653E\u56DE\u961F\u5217",injectTimeoutAdhoc:"\u6CA1\u7B49\u5230\u63D2\u5165\u786E\u8BA4\uFF0C\u5185\u5BB9\u4ECD\u5728\u8F93\u5165\u6846",injectFailed:"\u63D2\u5165\u5931\u8D25\uFF0C\u8FD9\u6761\u5DF2\u653E\u56DE\u961F\u5217",injectNoAttachments:"\u5E26\u56FE\u7247/\u6587\u4EF6\u7684\u6761\u76EE\u4E0D\u80FD\u63D2\u5165\u8FD0\u884C\u4E2D\u7684\u4EFB\u52A1\uFF08\u53EA\u63D2\u7EAF\u6587\u672C\uFF09\uFF0C\u8BF7\u8BA9\u5B83\u6309\u961F\u5217\u987A\u5E8F\u6267\u884C",editBack:"\u56DE\u586B\u8F93\u5165\u6846",editTailHint:"\u5DF2\u53D6\u56DE\u961F\u5C3E\u4E00\u6761\uFF0C\u6539\u5B8C\u6309 Enter \u53D1\u9001",delete:"\u5220\u9664",stopNow:"\u505C\u6B62\u5F53\u524D\u4EFB\u52A1",tooManyAttempts:"\u8FD9\u6761\u5DF2\u8FDE\u7EED\u81EA\u52A8\u6267\u884C {count} \u6B21\u4ECD\u672A\u6210\u529F\uFF0C\u5DF2\u505C\u6B62\u91CD\u8BD5\u5E76\u79FB\u5165\u300C\u6700\u8FD1\u5904\u7406\u300D\uFF0C\u53EF\u624B\u52A8\u91CD\u65B0\u5165\u961F",badgeTitle:"\u8BE5\u4F1A\u8BDD\u6709 {count} \u6761\u6392\u961F\u4EFB\u52A1",sessionDropped:"\u8BE5\u4F1A\u8BDD\u8FD8\u6709 {count} \u6761\u6392\u961F\u4EFB\u52A1\uFF0C\u5DF2\u968F\u4F1A\u8BDD\u4E00\u5E76\u5220\u9664"}};var u={common:{confirm:"Confirm",cancel:"Cancel",close:"Close",ok:"OK",save:"Save",delete:"Delete",edit:"Edit",retry:"Retry",loading:"Loading...",none:"None",add:"Add",clear:"Clear",selectAll:"Select All",deselectAll:"Deselect All",refresh:"Refresh",enabled:"Enabled",disabled:"Disabled",bytes:"bytes",copy:"Copy",copySuccess:"Copied",copyFailed:"Copy failed"},dialog:{operationConfirm:"Operation Confirmation",confirmDefaultMessage:"The model requests to execute a sensitive operation. Allow?",confirmAction:"The model requests to execute: {name}",remainingTime:"Time remaining: {time}",deny:"Deny",approveOnce:"Allow Once",approveLoop:"Allow for This Task",pendingQueue:"(+{count} queued)",pendingQueueClarify:"(+{count} awaiting clarification)",otherPending:"(+{count} other waiting)",approveWhitelist:"Add to allowlist & allow",networkTitle:"Private Network Access",networkToolLabel:"Private network access",networkAccessRequest:"The model requests access to the private address {hostname} ({reason}). Allow?",networkWhitelistHint:'"Add to allowlist & allow" turns on private network access and adds this host to the allowlist; "Allow Once" only applies to this request.',networkReasonGateClosed:"Private network access is currently off",networkReasonNoAllowlist:"The private-network allowlist is empty",networkReasonNotAllowlisted:"This host is not in the private-network allowlist"},sensitiveTool:{manage_cookies:"Manage Cookies",manage_storage:"Page Storage Operation",download_file:"Download File",manage_tab:"Tab Management",agent_file:"File Operations",agent_exec:"Local Command Execution",debug_page:"Page Debugger",debuggerAttachHint:`
26
26
 
27
27
  After enabling, a yellow "extension is debugging this browser" infobar appears on the tab until the session ends.`,unknown:"Unknown Operation",tabInfo:`
28
28
 
@@ -46,4 +46,4 @@ You will need to pair again after deletion.`,deleteAgentTitle:"Delete Agent",age
46
46
 
47
47
  ## Execution steps
48
48
  1. Step 1
49
- 2. Step 2`,existingResources:"Existing resource files",skillNameRequired:"Please enter the Skill name",skillMarkdownRequired:"Please enter the SKILL.md content",agentSkillSaved:'Agent Skill "{name}" saved successfully',saveFailedShort:"Save failed",saveFailed:"Save failed: {error}",viewSkillTitle:"View Skill: {name}",importSkillTitle:"Import Skill",importBtn:"Import",jsonImport:"JSON Import",newAuthoring:"New Authoring",zipPackage:"Zip",urlImport:"URL Import",jsonImportDesc:"Import a Workflow Skill in JSON format (deterministic automated flow)",clickOrDragJson:"Click to select a JSON file or drag it here",jsonFileHint:"Supports .json Workflow Skill definition files",markdownImportDesc:"Write SKILL.md content directly to create an Agent Skill (AI capability extension)",zipImportDesc:"Import a Zip archive containing SKILL.md, with optional scripts/templates/assets resources",clickOrDragZip:"Click to select a Zip file or drag it here",zipFileHint:"The Zip must contain a SKILL.md file; optional scripts/ templates/ assets/ subdirectories",urlImportDesc:"Download a Skill Zip from a remote URL and import automatically",downloadUrl:"Download URL",selectJsonFile:"Please select a JSON file",workflowSkillImported:'Workflow Skill "{name}" imported successfully',agentSkillCreated:'Agent Skill "{name}" created successfully',createFailedShort:"Create failed",selectZipFile:"Please select a Zip file",fileTooLarge:"File too large; max 50MB supported",fileReadFailed:"File read failed",agentSkillImported:'Agent Skill "{name}" imported successfully',urlRequired:"Please enter a URL",importFailed:"Import failed: {error}",searchMcpPlaceholder:"Search MCP servers...",searchSkillPlaceholder:"Search skills...",filterAll:"All",filterEnabled:"Enabled",filterDisabled:"Disabled",noMatchResult:"No matching results"},memoryPanel:{tabTitle:"Memory",title:"Memory Vectors",enabled:"Enabled",disabled:"Disabled",statusTitle:"Vector index status",statusLoading:"Loading\u2026",statusOffline:"Agent is not connected, vector status unavailable",statusFail:"Failed to read vector status",statusOldAgent:"This agent version has no such status endpoint \u2014 restart the agent",statusDetail:"Response",statusIndexed:"Indexed {indexed} of {total}",statusStored:"Stored vector fingerprint",statusCurrent:"Current config fingerprint",statusTier:"Active tier",statusStale:"Stale: model changed without rebuild",statusFresh:"Matches current config",staleHint:"Old vectors are incomparable with the new config, so semantic recall degrades silently. Click \u201CRebuild vector index\u201D (save unsaved edits first).",modeLabel:"Embedding source",modeRemote:"Remote service (OpenAI-compatible API)",modeLocal:"Local model",baseUrlLabel:"Endpoint",baseUrlPlaceholder:"https://api.openai.com/v1",modelLabel:"Model name",modelPlaceholder:"BAAI/bge-m3",apiKeyLabel:"API Key",apiKeyPlaceholder:"Leave blank to keep the stored key",apiKeyClearBtn:"Clear stored key",apiKeyClearConfirm:"Remote semantic recall stops (falls back to keywords) until a new key is saved. Clear the stored key?",apiKeyCleared:"Stored API key cleared",apiKeyClearFail:"Failed to clear key: {error}",configNotLoaded:"Config failed to load. Refresh the panel before saving so the agent\u2019s stored settings are not overwritten with blanks",dimsLabel:"Vector dimensions (blank is fine, detected on test)",prefixLabel:"Query prefix (optional)",localNotice:"Local mode needs no connectivity test: save, then rebuild the vector index (the first run downloads the model and may take tens of minutes). Embeddings are silently truncated at 512 tokens, so only the head of an over-long entry is indexed.",testBtn:"Test connectivity",testRunning:"Testing\u2026",testOk:"OK: {model} returns {dims} dimensions",testFail:"Test failed: {error}",scopeHint:"Clicking the bottom \u201CSave\u201D also writes this tab\u2019s config into the agent service config.json; when the agent is offline this item is skipped and only extension settings are saved",saveSkippedOffline:"Agent not connected \u2014 memory vector config was not saved (only extension settings saved)",saveSuccess:"Memory vector config saved",saveFail:"Save failed: {error}",toggleOnSaved:"Semantic vector recall enabled",toggleOffSaved:"Semantic vector recall disabled - recall falls back to keywords",toggleFail:"Failed to toggle: {error}",reindexBtn:"Rebuild vector index",reindexConfirm:"Rebuilding recomputes vectors for every memory with the current config. On local mode 41 entries measured about 23 minutes (remote about 2). Keep this page open. Continue?",reindexRunning:"Rebuilding, please keep this page open\u2026",reindexDone:"Rebuild done: indexed {indexed} of {total}",reindexBatchFail:" ({count} batches failed, see agent logs)",reindexOverWindow:" ({count} entries exceed the {window}-token window, their tails are not indexed)",reindexSkipped:"Rebuild skipped: vector tier is disabled",reindexFail:"Rebuild failed: {error}",gateAgentOffTitle:"Agent not connected",gateAgentOffBody:'Memory vector config is provided by the local agent. Connect an agent in the "Agent" tab first, then come back here.',gateRagTitle:"Local model dependency missing",gateRagMissing:'Local models require the RAG dependency. Install it in the "Extensions" panel first, then come back here.',goToAgentTab:'Go to "Agent" tab',goToToolboxTab:'Go to "Extensions" tab'},memoryEntries:{title:"Memory Entries",refreshBtn:"Refresh",exportBtn:"Export",importBtn:"Import",exportEmpty:"No memory entries to export",exportDone:"Exported {count} memories to {file}",importParseFail:"Import failed: the file is not valid JSON",importFormatFail:"Import failed: unrecognized format, please choose a memory export or archive file",importConfirm:"Append {add} memories and skip {skipped} (duplicates or invalid). Existing memories are not overwritten, but imported entries cannot be undone in bulk. Continue?",importNone:"No new memories to import ({skipped} skipped)",importDone:"Import finished: {added} added, {skipped} skipped",importPartialFail:"Import finished: {added} added, {failed} failed, {skipped} skipped",searchPlaceholder:"Search content or tags\u2026",filterAll:"All types",filterFact:"Facts",filterSummary:"Summaries",sortCreatedDesc:"Created (newest first)",sortImportanceDesc:"Importance (high \u2192 low)",sortValueDesc:"Value (high \u2192 low)",sortValueAsc:"Value (low \u2192 high)",count:"{shown} of {total}",loading:"Loading\u2026",empty:"No memories yet",noMatch:"No entries match the filter",offline:"Agent not connected - memory entries unavailable",unsupported:"This agent version does not support memory entry management - upgrade and restart the agent",loadFail:"Failed to load memory entries: {error}",importanceShort:"Imp",valueShort:"Value",createdLabel:"Created",lastAccessLabel:"Last accessed",neverAccessed:"never",accessCount:"{count} accesses",tagsLabel:"Tags",editBtn:"Edit",deleteBtn:"Delete",editTitle:"Edit memory entry",typeLabel:"Type",contentLabel:"Content",importanceLabel:"Importance (1-10)",tagsPlaceholder:"comma-separated, e.g. environment, preference",saveBtn:"Save",cancelBtn:"Cancel",contentEmpty:"Content cannot be empty",saved:"Memory updated",saveFail:"Update failed: {error}",deleteConfirm:"Delete this memory? It cannot be undone, and its vector cache entry is dropped as well.",deleted:"Memory deleted",deleteFail:"Delete failed: {error}",candidatesHint:"{count} low-value memories are suggested for removal (value below 10)",compactBtn:"Compact now",compactConfirm:"Compacting archives {count} memories with value below {threshold}, then removes them from the memory store. Archive files can be used for recovery. Continue?",compactDone:"Compact done: archived {facts} facts and {summaries} summaries",compactArchived:"Archived {count} evicted memories to {dir}; you can restore them from there when needed",compactFail:"Compact failed: {error}"},knowledge:{tabTitle:"Knowledge",gateAgentOffTitle:"Agent not connected",gateAgentOffDesc:'Knowledge base is provided by the local agent. Connect an agent in the "Agent" tab first, then come back here.',gateRagOffTitle:"Knowledge base feature is disabled",gateRagOffDesc:'Turn on the "Knowledge Retrieval" master switch above to create and manage knowledge bases.',gateRagUnavailableTitle:"Agent capability not ready",gateRagUnavailableDesc:"RAG dependencies are not installed or the Node version is unsupported (Node 22+ required). See the install guide below.",goToAgentTab:'Go to "Agent" tab',goToToolboxTab:'Go to "Extensions" tab',enableNow:"Enable Now",title:"Knowledge Bases",createBtn:"+ New Knowledge Base",searchPlaceholder:"Search knowledge bases...",emptyTitle:"No knowledge base yet",emptyDesc:'Click "New Knowledge Base" to create one, then import documents to get started.',loadFailed:"Failed to load: {error}",retry:"Retry",statsSummary:"{docs} docs \xB7 {chunks} chunks",modeLocal:"Local model",modeRemote:"Remote service",actionEdit:"Edit",actionIngest:"Import",actionSearch:"Test Search",actionDocs:"Docs",actionExport:"Export",exporting:"Exporting...",exportSuccess:'Knowledge base "{name}" backup exported',exportFailed:"Knowledge base export failed: {error}",actionDelete:"Delete",actionEnable:"Enable",actionDisable:"Disable",badgeDisabled:"Disabled",enableSuccess:'Knowledge base "{name}" enabled',disableSuccess:'Knowledge base "{name}" disabled',createTitle:"New Knowledge Base",nameLabel:"Name",namePlaceholder:"e.g. Product Docs",descLabel:"Description (optional)",descPlaceholder:"Briefly describe what this knowledge base contains",createConfirm:"Create",creating:"Creating...",createSuccess:'Knowledge base "{name}" created',nameRequired:"Please enter a name",editTitle:"Edit Knowledge Base",editConfirm:"Save",saving:"Saving...",editSuccess:"Knowledge base updated",vectorSectionTitle:"Embedding model",vectorModeLocal:"Local model (bundled BGE Chinese model)",vectorModeRemote:"Remote service (OpenAI-compatible API)",vectorModeLocalHint:"Use the agent-bundled BGE Chinese model. No extra config needed; the model file downloads on first import.",vectorModeRemoteHint:"Call a remote OpenAI-compatible embedding service (SiliconFlow, Zhipu, OpenAI, etc.).",vectorEndpointLabel:"Endpoint (Base URL with version segment)",vectorEndpointPlaceholder:"e.g. https://api.siliconflow.cn/v1",vectorApiKeyLabel:"API Key",vectorApiKeyPlaceholder:"Paste API key",vectorApiKeyKeep:"Leave empty to keep the saved key",vectorModelLabel:"Model name",vectorModelPlaceholder:"e.g. BAAI/bge-m3",vectorDimsLabel:"Dimensions (optional, auto-detected on test)",vectorDimsPlaceholder:"Auto",vectorTestBtn:"Test Connection",vectorTesting:"Testing...",vectorTestOk:"Connected: {model} ({dims} dims)",vectorDimsFilled:"Dimensions auto-filled: {dims}",vectorTestFailed:"Test failed: {error}",vectorEndpointRequired:"Remote endpoint is required",vectorModelRequired:"Model name is required",rebuildConfirmTitle:"Change Embedding Config",rebuildConfirm:"Changing the embedding model or chunk settings requires rebuilding the index (all documents will be re-embedded). The old index stays searchable during the rebuild and switches automatically when done. Continue?",rebuildStarted:"Index rebuild started, refreshing when complete...",progressRebuilding:"Rebuilding index {current}/{total} documents\u2026",rebuildDone:"Index rebuild complete",rebuildFailed:"Index rebuild failed: {error}",deleteConfirmTitle:"Delete Knowledge Base",deleteConfirm:'Delete "{name}"? Its {docs} documents and {chunks} chunks will be removed permanently.',deleteSuccess:"Knowledge base deleted",ingestTitle:'Import documents into "{name}"',tabFile:"File",tabText:"Text",tabUrl:"URL",dropHint:"Drag & drop files here, or click to choose (multiple allowed)",dropSupported:"Supports txt / md / pdf / docx / xlsx / html, up to 50MB per file, 20 files per batch",selectedFile:"Selected: {name}",selectedCount:"Selected {count} file(s) (max {max} per batch)",removeFile:"Remove",textContentLabel:"Text content",textContentPlaceholder:"Paste the text to import here...",textNameLabel:"Document name (optional)",textNamePlaceholder:"Leave empty to auto-name",urlLabel:"Web page URL",urlPlaceholder:"https://example.com/page",chunkSettingsTitle:"Chunk settings",chunkSizeLabel:"Chunk size (chars)",chunkOverlapLabel:"Overlap (chars)",ingestConfirm:"Start Import",ingesting:"Parsing and embedding. The first import may download the model, please wait...",progressParsing:"Parsing document\u2026",progressChunking:"Splitting into chunks\u2026",progressEmbedding:"Embedding chunks {current}/{total}\u2026",progressStoring:"Writing to index\u2026",ingestSuccess:"Imported: {name} ({chunks} chunks)",ingestFailed:"Import failed: {error}",fileRequired:"Please choose a file first",contentRequired:"Please enter the text content",urlRequired:"Please enter the URL",fileTooLarge:"File too large, 50MB max",fileTypeUnsupported:"Unsupported file type: {name}",maxBatchFiles:"Up to {max} files per batch; please import in smaller batches",importingBatch:"Importing {current}/{total}: {name}",batchAllSuccess:"Batch import done: {count} documents ({chunks} chunks)",batchPartial:"Import done: {success} succeeded, {fail} failed (first error: {error})",batchAllFailed:"All imports failed: {error}",docsTitle:'Documents in "{name}"',docsEmpty:"No documents imported yet",docChunkCount:"{count} chunks",docDeleteConfirmTitle:"Delete Document",docDeleteConfirm:'Delete document "{name}"? All its chunks will be removed from the knowledge base.',docDeleteSuccess:"Document deleted",docSourceFile:"File",docSourceUrl:"Web",docSourceText:"Text",docOriginalSize:"Original {size}",docOriginalName:"original file {name}",docNoOriginal:"original not kept",docNoOriginalText:"text-only import, no original file",docOriginalQuotaSkipped:"original skipped (quota exceeded)",docOriginalMissing:"No original file for this document; text view only",docOriginalSkippedToast:"Original not saved (quota exceeded); text and vectors were indexed",docView:"View",docViewTitle:"View Original Text",docViewCopy:"Copy",docViewCopied:"Copied to clipboard",docViewPreview:"Preview",docViewSource:"Source",docViewTruncated:"Text is long; showing the first {limit} of {total} characters. Download the full text instead.",docViewEmpty:"(no text content)",docToc:"Outline",docFullscreen:"Fullscreen",docExitFullscreen:"Exit Fullscreen",docCharCount:"{count} chars",docDownloadOriginal:"Download Original",docDownloadText:"Download Text",docDownloading:"Downloading...",docDownloadFailed:"Download failed, please retry",searchTitle:"Test Search",searchScope:'Scope: "{name}"',searchQueryPlaceholder:"Enter a query, e.g. How to export data?",searchBtn:"Search",searching:"Searching...",searchTopKLabel:"Top K",searchThresholdLabel:"Threshold",searchHitCount:"{count} hits",searchNoHits:"No hits. Try lowering the similarity threshold.",searchFallbackHint:"All scores are below the threshold. Best matches for reference:",searchFailed:"Search failed: {error}",expandFull:"Expand",collapse:"Collapse",scoreLabel:"Score",opFailed:"Operation failed: {error}"},contextBubble:{labelSelection:"Selection",labelQuoted:"Quote",labelSkill:"Skill",labelMcp:"MCP",labelPage:"Page",labelFile:"File",labelKnowledge:"Knowledge",clickToExpand:"Click to expand",bubbleSkill:"{name} \u{1F9E9}",bubbleMcp:"{name} \u{1F50C}",bubblePage:"{title} \u{1F310}",bubbleKnowledge:"{name} \u{1F4DA} \xB7 {count} hits",bubbleKnowledgeMiss:"{name} \u{1F4DA} \xB7 no match",bubbleKnowledgeFailed:"{name} \u{1F4DA} \xB7 retrieval failed",bubbleKnowledgeSearching:"Searching knowledge base\u2026",kbHitToggle:"Click to expand/collapse",kbHitTruncated:"\u2702 Truncated \xB7 {total} chars total, first {kept} sent",kbHitTruncatedTitle:"Truncated to fit the context window; what is shown here is exactly what the model received",kbHitTruncatedBadge:"\u2702 {count} truncated"},configDialog:{exportTitle:"Export Settings",includeSecrets:"Include API keys",secretWarn:"\u26A0 Sensitive information; keep the file safe",exportDesc:"The exported file contains all settings except Agent connection info (proxy URL and pairing token); check the option below to include API keys and connection info as well.",export:"Export",importTitle:"Import Settings",mergeImport:"Merge import \u2014 only overwrite settings present in the file; keep the rest",replaceImport:"Full replace \u2014 clear current settings and use the file content",confirmImport:"Confirm Import",exportSuccess:"Settings exported",exportFailed:"Export failed: {error}",unknownTime:"Unknown",importSummary:"Exported at: {time}, containing {count} settings",invalidFileFormat:"Invalid file format",unrecognizedFormat:"Unrecognized settings format",unknownConfigKey:"Unknown setting key: {key}",importFailed:"Import failed: {error}",importParseFailed:"Import failed: cannot parse file format",importedCount:"Imported {count} settings"},queue:{enqueueBtn:"Add to queue",enqueued:"Added to queue (position {position})",enqueueFailed:"Failed to queue, your text is kept in the input",queueFull:"Queue is full (limit {limit}), please clear some queued tasks first",noSession:"Not ready yet, please retry shortly",summary:"{count} queued",summaryEmpty:"Queue empty",summaryFailed:"{count} task(s) failed",summaryFailedHint:"Failed to run; open Recent to requeue",pausedTag:"Paused",pausedHint:"Auto relay is paused",pausedByStop:"You stopped the task, so auto relay is paused",resumeQueue:"Resume queue",resumed:"Auto relay resumed",stopAndSend:"Stop and send",stopAndSendTitle:"Drop this round and start the queue now (right-click / long-press the stop button)",stopAndSendEmpty:"Nothing is waiting in the queue",stopAndSendStarted:"Current task stopped; the queue is starting",recentTitle:"Recent",recentEmpty:"No processed items yet",requeue:"Re-queue",requeued:"Added back to the queue",deleted:"Removed from queue",movedTop:"Moved to top",withContext:"with context",withImages:"{count} image(s)",withFiles:"{count} file(s)",attachmentsVolatile:"Images/files are too large to persist; they will be lost if the panel reloads, so run this item soon",attachmentsMissing:"Attachments could not be recovered (panel closed or released); this item will send text only",editBackWithAttachments:"Restored to input, including images/files",requeuedNoAttachments:"Requeued (original attachments released, text only)",forgetRecent:"Remove from history",forgotRecent:"Removed from Recent",filesStillExtracting:"Attached files are still being parsed; wait until parsing finishes before queueing (queueing now would lose file content)",inputHasUnsavedContext:"Images/files/quotes attached without text would be cleared by this restore; send or clear them first",statusDispatching:"Running",statusInjecting:"Inserting",statusInjected:"Inserted",statusDone:"Done",statusFailed:"Failed",statusRecovered:"Interrupted",statusRunningHint:"This task is running (tool calls included); the next one starts after it finishes",inject:"Insert into the running task (no need to wait for it)",injectIdleHint:"No task is running; this item will run in queue order",injectAccepted:"Delivered \u2014 takes effect after the current step",injected:"Inserted into the running task",autoCarried:"Queued item carried into the running task (round {iteration})",injectNoTask:"The task just finished; this item is back in the queue",injectTimeout:"No insertion confirmation; this item is back in the queue",injectTimeoutAdhoc:"No insertion confirmation; your text is still in the input box",injectFailed:"Insertion failed; this item is back in the queue",injectNoAttachments:"Items with images/files cannot be inserted into a running task (text only); let them run in queue order",editBack:"Edit in input",editTailHint:"Last queued item restored to the input; press Enter to send when done",delete:"Delete",stopNow:"Stop current task",tooManyAttempts:"This item failed {count} automatic attempts in a row; retries stopped and it was moved to Recent so you can requeue it manually",badgeTitle:"This session has {count} queued task(s)",sessionDropped:"This session had {count} queued task(s); they were removed along with the session"}};var f="zh";var m=f,l={zh:c,en:u};function p(e,a){if(!e||!a)return;let t=a.split("."),o=e;for(let n of t){if(o==null||typeof o!="object")return;o=o[n]}return typeof o=="string"?o:void 0}function g(e,a){return!a||typeof e!="string"?e:e.replace(/\{(\w+)\}/g,(t,o)=>a[o]!==void 0&&a[o]!==null?String(a[o]):t)}function i(e,a){let t=p(l[m],e);if(t!==void 0)return g(t,a);if(m!=="en"){let o=p(l.en,e);if(o!==void 0)return g(o,a)}return e}function r(e,a){l[e]||(l[e]={}),l[e]=h(l[e],a)}function h(e,a){for(let t of Object.keys(a||{}))a[t]&&typeof a[t]=="object"&&!Array.isArray(a[t])?((!e[t]||typeof e[t]!="object")&&(e[t]={}),h(e[t],a[t])):e[t]=a[t];return e}r("zh",{offscreen:{copiedToClipboard:"\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",copyFailed:"\u590D\u5236\u5931\u8D25: {error}",pasteFailed:"\u65E0\u6CD5\u8BFB\u53D6\u526A\u8D34\u677F\uFF1A{error}"}});r("en",{offscreen:{copiedToClipboard:"Copied to clipboard",copyFailed:"Copy failed: {error}",pasteFailed:"Cannot read clipboard: {error}"}});chrome.runtime.onMessage.addListener((e,a,t)=>{if(e.type==="COPY_TO_CLIPBOARD")return navigator.clipboard.writeText(e.text).then(()=>{t({success:!0,message:i("offscreen.copiedToClipboard")})}).catch(o=>{try{let n=document.getElementById("clipboard-textarea");n.value=e.text,n.select();let s=document.execCommand("copy");n.value="",t(s?{success:!0,message:i("offscreen.copiedToClipboard")}:{success:!1,error:i("offscreen.copyFailed",{error:o.message||o})})}catch(n){t({success:!1,error:i("offscreen.copyFailed",{error:n.message||n})})}}),!0;if(e.type==="PASTE_FROM_CLIPBOARD")return navigator.clipboard.readText().then(o=>{t({success:!0,text:o})}).catch(o=>{try{let n=document.getElementById("clipboard-textarea");n.value="",n.focus();let s=document.execCommand("paste"),d=n.value;n.value="",t(s&&d?{success:!0,text:d}:{success:!1,error:i("offscreen.pasteFailed",{error:o.message||o})})}catch(n){t({success:!1,error:i("offscreen.pasteFailed",{error:n.message||n})})}}),!0});})();
49
+ 2. Step 2`,existingResources:"Existing resource files",skillNameRequired:"Please enter the Skill name",skillMarkdownRequired:"Please enter the SKILL.md content",agentSkillSaved:'Agent Skill "{name}" saved successfully',saveFailedShort:"Save failed",saveFailed:"Save failed: {error}",viewSkillTitle:"View Skill: {name}",importSkillTitle:"Import Skill",importBtn:"Import",jsonImport:"JSON Import",newAuthoring:"New Authoring",zipPackage:"Zip",urlImport:"URL Import",jsonImportDesc:"Import a Workflow Skill in JSON format (deterministic automated flow)",clickOrDragJson:"Click to select a JSON file or drag it here",jsonFileHint:"Supports .json Workflow Skill definition files",markdownImportDesc:"Write SKILL.md content directly to create an Agent Skill (AI capability extension)",zipImportDesc:"Import a Zip archive containing SKILL.md, with optional scripts/templates/assets resources",clickOrDragZip:"Click to select a Zip file or drag it here",zipFileHint:"The Zip must contain a SKILL.md file; optional scripts/ templates/ assets/ subdirectories",urlImportDesc:"Download a Skill Zip from a remote URL and import automatically",downloadUrl:"Download URL",selectJsonFile:"Please select a JSON file",workflowSkillImported:'Workflow Skill "{name}" imported successfully',agentSkillCreated:'Agent Skill "{name}" created successfully',createFailedShort:"Create failed",selectZipFile:"Please select a Zip file",fileTooLarge:"File too large; max 50MB supported",fileReadFailed:"File read failed",agentSkillImported:'Agent Skill "{name}" imported successfully',urlRequired:"Please enter a URL",importFailed:"Import failed: {error}",searchMcpPlaceholder:"Search MCP servers...",searchSkillPlaceholder:"Search skills...",filterAll:"All",filterEnabled:"Enabled",filterDisabled:"Disabled",noMatchResult:"No matching results"},memoryPanel:{tabTitle:"Memory",title:"Memory Vectors",enabled:"Enabled",disabled:"Disabled",statusTitle:"Vector index status",statusLoading:"Loading\u2026",statusOffline:"Agent is not connected, vector status unavailable",statusFail:"Failed to read vector status",statusOldAgent:"This agent version has no such status endpoint \u2014 restart the agent",statusDetail:"Response",statusIndexed:"Indexed {indexed} of {total}",statusStored:"Stored vector fingerprint",statusCurrent:"Current config fingerprint",statusTier:"Active tier",statusStale:"Stale: model changed without rebuild",statusFresh:"Matches current config",staleHint:"Old vectors are incomparable with the new config, so semantic recall degrades silently. Click \u201CRebuild vector index\u201D (save unsaved edits first).",modeLabel:"Embedding source",modeRemote:"Remote service (OpenAI-compatible API)",modeLocal:"Local model",baseUrlLabel:"Endpoint",baseUrlPlaceholder:"https://api.openai.com/v1",modelLabel:"Model name",modelPlaceholder:"BAAI/bge-m3",apiKeyLabel:"API Key",apiKeyPlaceholder:"Leave blank to keep the stored key",apiKeyClearBtn:"Clear stored key",apiKeyClearConfirm:"Remote semantic recall stops (falls back to keywords) until a new key is saved. Clear the stored key?",apiKeyCleared:"Stored API key cleared",apiKeyClearFail:"Failed to clear key: {error}",configNotLoaded:"Config failed to load. Refresh the panel before saving so the agent\u2019s stored settings are not overwritten with blanks",dimsLabel:"Vector dimensions (blank is fine, detected on test)",prefixLabel:"Query prefix (optional)",localNotice:"Local mode needs no connectivity test: save, then rebuild the vector index (the first run downloads the model and may take tens of minutes). Embeddings are silently truncated at 512 tokens, so only the head of an over-long entry is indexed.",testBtn:"Test connectivity",testRunning:"Testing\u2026",testOk:"OK: {model} returns {dims} dimensions",testFail:"Test failed: {error}",scopeHint:"Clicking the bottom \u201CSave\u201D also writes this tab\u2019s config into the agent service config.json; when the agent is offline this item is skipped and only extension settings are saved",saveSkippedOffline:"Agent not connected \u2014 memory vector config was not saved (only extension settings saved)",saveSuccess:"Memory vector config saved",saveFail:"Save failed: {error}",toggleOnSaved:"Semantic vector recall enabled",toggleOffSaved:"Semantic vector recall disabled - recall falls back to keywords",toggleFail:"Failed to toggle: {error}",reindexBtn:"Rebuild vector index",reindexConfirm:"Rebuilding recomputes vectors for every memory with the current config. On local mode 41 entries measured about 23 minutes (remote about 2). Keep this page open. Continue?",reindexRunning:"Rebuilding, please keep this page open\u2026",reindexDone:"Rebuild done: indexed {indexed} of {total}",reindexBatchFail:" ({count} batches failed, see agent logs)",reindexOverWindow:" ({count} entries exceed the {window}-token window, their tails are not indexed)",reindexSkipped:"Rebuild skipped: vector tier is disabled",reindexFail:"Rebuild failed: {error}",gateAgentOffTitle:"Agent not connected",gateAgentOffBody:'Memory vector config is provided by the local agent. Connect an agent in the "Agent" tab first, then come back here.',gateRagTitle:"Local model dependency missing",gateRagMissing:'Local models require the RAG dependency. Install it in the "Extensions" panel first, then come back here.',goToAgentTab:'Go to "Agent" tab',goToToolboxTab:'Go to "Extensions" tab'},memoryEntries:{title:"Memory Entries",refreshBtn:"Refresh",exportBtn:"Export",importBtn:"Import",exportEmpty:"No memory entries to export",exportDone:"Exported {count} memories to {file}",importParseFail:"Import failed: the file is not valid JSON",importFormatFail:"Import failed: unrecognized format, please choose a memory export or archive file",importConfirm:"Append {add} memories and skip {skipped} (duplicates or invalid). Existing memories are not overwritten, but imported entries cannot be undone in bulk. Continue?",importNone:"No new memories to import ({skipped} skipped)",importDone:"Import finished: {added} added, {skipped} skipped",importPartialFail:"Import finished: {added} added, {failed} failed, {skipped} skipped",searchPlaceholder:"Search content or tags\u2026",filterAll:"All types",filterFact:"Facts",filterSummary:"Summaries",sortCreatedDesc:"Created (newest first)",sortImportanceDesc:"Importance (high \u2192 low)",sortValueDesc:"Value (high \u2192 low)",sortValueAsc:"Value (low \u2192 high)",count:"{shown} of {total}",loading:"Loading\u2026",empty:"No memories yet",noMatch:"No entries match the filter",offline:"Agent not connected - memory entries unavailable",unsupported:"This agent version does not support memory entry management - upgrade and restart the agent",loadFail:"Failed to load memory entries: {error}",importanceShort:"Imp",valueShort:"Value",createdLabel:"Created",lastAccessLabel:"Last accessed",neverAccessed:"never",accessCount:"{count} accesses",tagsLabel:"Tags",editBtn:"Edit",deleteBtn:"Delete",editTitle:"Edit memory entry",typeLabel:"Type",contentLabel:"Content",importanceLabel:"Importance (1-10)",tagsPlaceholder:"comma-separated, e.g. environment, preference",saveBtn:"Save",cancelBtn:"Cancel",contentEmpty:"Content cannot be empty",saved:"Memory updated",saveFail:"Update failed: {error}",deleteConfirm:"Delete this memory? It cannot be undone, and its vector cache entry is dropped as well.",deleted:"Memory deleted",deleteFail:"Delete failed: {error}",candidatesHint:"{count} low-value memories are suggested for removal (value below 10)",compactBtn:"Compact now",compactConfirm:"Compacting archives {count} memories with value below {threshold}, then removes them from the memory store. Archive files can be used for recovery. Continue?",compactDone:"Compact done: archived {facts} facts and {summaries} summaries",compactArchived:"Archived {count} evicted memories to {dir}; you can restore them from there when needed",compactFail:"Compact failed: {error}"},knowledge:{tabTitle:"Knowledge",gateAgentOffTitle:"Agent not connected",gateAgentOffDesc:'Knowledge base is provided by the local agent. Connect an agent in the "Agent" tab first, then come back here.',gateRagOffTitle:"Knowledge base feature is disabled",gateRagOffDesc:'Turn on the "Knowledge Retrieval" master switch above to create and manage knowledge bases.',gateRagUnavailableTitle:"Agent capability not ready",gateRagUnavailableDesc:"RAG dependencies are not installed or the Node version is unsupported (Node 22+ required). See the install guide below.",goToAgentTab:'Go to "Agent" tab',goToToolboxTab:'Go to "Extensions" tab',enableNow:"Enable Now",title:"Knowledge Bases",createBtn:"+ New Knowledge Base",searchPlaceholder:"Search knowledge bases...",emptyTitle:"No knowledge base yet",emptyDesc:'Click "New Knowledge Base" to create one, then import documents to get started.',loadFailed:"Failed to load: {error}",retry:"Retry",statsSummary:"{docs} docs \xB7 {chunks} chunks",modeLocal:"Local model",modeRemote:"Remote service",actionEdit:"Edit",actionIngest:"Import",actionSearch:"Test Search",actionDocs:"Docs",actionExport:"Export",exporting:"Exporting...",exportSuccess:'Knowledge base "{name}" backup exported',exportFailed:"Knowledge base export failed: {error}",actionDelete:"Delete",actionEnable:"Enable",actionDisable:"Disable",badgeDisabled:"Disabled",enableSuccess:'Knowledge base "{name}" enabled',disableSuccess:'Knowledge base "{name}" disabled',createTitle:"New Knowledge Base",nameLabel:"Name",namePlaceholder:"e.g. Product Docs",descLabel:"Description (optional)",descPlaceholder:"Briefly describe what this knowledge base contains",createConfirm:"Create",creating:"Creating...",createSuccess:'Knowledge base "{name}" created',nameRequired:"Please enter a name",editTitle:"Edit Knowledge Base",editConfirm:"Save",saving:"Saving...",editSuccess:"Knowledge base updated",vectorSectionTitle:"Embedding model",vectorModeLocal:"Local model (bundled BGE Chinese model)",vectorModeRemote:"Remote service (OpenAI-compatible API)",vectorModeLocalHint:"Use the agent-bundled BGE Chinese model. No extra config needed; the model file downloads on first import.",vectorModeRemoteHint:"Call a remote OpenAI-compatible embedding service (SiliconFlow, Zhipu, OpenAI, etc.).",vectorEndpointLabel:"Endpoint (Base URL with version segment)",vectorEndpointPlaceholder:"e.g. https://api.siliconflow.cn/v1",vectorApiKeyLabel:"API Key",vectorApiKeyPlaceholder:"Paste API key",vectorApiKeyKeep:"Leave empty to keep the saved key",vectorModelLabel:"Model name",vectorModelPlaceholder:"e.g. BAAI/bge-m3",vectorDimsLabel:"Dimensions (optional, auto-detected on test)",vectorDimsPlaceholder:"Auto",vectorTestBtn:"Test Connection",vectorTesting:"Testing...",vectorTestOk:"Connected: {model} ({dims} dims)",vectorDimsFilled:"Dimensions auto-filled: {dims}",vectorTestFailed:"Test failed: {error}",vectorEndpointRequired:"Remote endpoint is required",vectorModelRequired:"Model name is required",rebuildConfirmTitle:"Change Embedding Config",rebuildConfirm:"Changing the embedding model or chunk settings requires rebuilding the index (all documents will be re-embedded). The old index stays searchable during the rebuild and switches automatically when done. Continue?",rebuildStarted:"Index rebuild started, refreshing when complete...",progressRebuilding:"Rebuilding index {current}/{total} documents\u2026",rebuildDone:"Index rebuild complete",rebuildFailed:"Index rebuild failed: {error}",deleteConfirmTitle:"Delete Knowledge Base",deleteConfirm:'Delete "{name}"? Its {docs} documents and {chunks} chunks will be removed permanently.',deleteSuccess:"Knowledge base deleted",ingestTitle:'Import documents into "{name}"',tabFile:"File",tabText:"Text",tabUrl:"URL",dropHint:"Drag & drop files here, or click to choose (multiple allowed)",dropSupported:"Supports txt / md / pdf / docx / xlsx / html, up to 50MB per file, 20 files per batch",selectedFile:"Selected: {name}",selectedCount:"Selected {count} file(s) (max {max} per batch)",removeFile:"Remove",textContentLabel:"Text content",textContentPlaceholder:"Paste the text to import here...",textNameLabel:"Document name (optional)",textNamePlaceholder:"Leave empty to auto-name",urlLabel:"Web page URL",urlPlaceholder:"https://example.com/page",chunkSettingsTitle:"Chunk settings",chunkSizeLabel:"Chunk size (chars)",chunkOverlapLabel:"Overlap (chars)",ingestConfirm:"Start Import",ingesting:"Parsing and embedding. The first import may download the model, please wait...",progressParsing:"Parsing document\u2026",progressChunking:"Splitting into chunks\u2026",progressEmbedding:"Embedding chunks {current}/{total}\u2026",progressStoring:"Writing to index\u2026",ingestSuccess:"Imported: {name} ({chunks} chunks)",ingestFailed:"Import failed: {error}",fileRequired:"Please choose a file first",contentRequired:"Please enter the text content",urlRequired:"Please enter the URL",fileTooLarge:"File too large, 50MB max",fileTypeUnsupported:"Unsupported file type: {name}",maxBatchFiles:"Up to {max} files per batch; please import in smaller batches",importingBatch:"Importing {current}/{total}: {name}",batchAllSuccess:"Batch import done: {count} documents ({chunks} chunks)",batchPartial:"Import done: {success} succeeded, {fail} failed (first error: {error})",batchAllFailed:"All imports failed: {error}",docsTitle:'Documents in "{name}"',docsEmpty:"No documents imported yet",docSearchPlaceholder:"Search document name or source...",docSearchEmpty:"No matching documents",docChunkCount:"{count} chunks",docDeleteConfirmTitle:"Delete Document",docDeleteConfirm:'Delete document "{name}"? All its chunks will be removed from the knowledge base.',docDeleteSuccess:"Document deleted",docSourceFile:"File",docSourceUrl:"Web",docSourceText:"Text",docOriginalSize:"Original {size}",docOriginalName:"original file {name}",docNoOriginal:"original not kept",docNoOriginalText:"text-only import, no original file",docOriginalQuotaSkipped:"original skipped (quota exceeded)",docOriginalMissing:"No original file for this document; text view only",docOriginalSkippedToast:"Original not saved (quota exceeded); text and vectors were indexed",docView:"View",docViewTitle:"View Original Text",docViewCopy:"Copy",docViewCopied:"Copied to clipboard",docViewPreview:"Preview",docViewSource:"Source",docViewTruncated:"Text is long; showing the first {limit} of {total} characters. Download the full text instead.",docViewEmpty:"(no text content)",docToc:"Outline",docFullscreen:"Fullscreen",docExitFullscreen:"Exit Fullscreen",docCharCount:"{count} chars",docDownloadOriginal:"Download Original",docDownloadText:"Download Text",docDownloading:"Downloading...",docDownloadFailed:"Download failed, please retry",searchTitle:"Test Search",searchScope:'Scope: "{name}"',searchQueryPlaceholder:"Enter a query, e.g. How to export data?",searchBtn:"Search",searching:"Searching...",searchTopKLabel:"Top K",searchThresholdLabel:"Threshold",searchHitCount:"{count} hits",searchNoHits:"No hits. Try lowering the similarity threshold.",searchFallbackHint:"All scores are below the threshold. Best matches for reference:",searchFailed:"Search failed: {error}",expandFull:"Expand",collapse:"Collapse",scoreLabel:"Score",opFailed:"Operation failed: {error}"},contextBubble:{labelSelection:"Selection",labelQuoted:"Quote",labelSkill:"Skill",labelMcp:"MCP",labelPage:"Page",labelFile:"File",labelKnowledge:"Knowledge",clickToExpand:"Click to expand",bubbleSkill:"{name} \u{1F9E9}",bubbleMcp:"{name} \u{1F50C}",bubblePage:"{title} \u{1F310}",bubbleKnowledge:"{name} \u{1F4DA} \xB7 {count} hits",bubbleKnowledgeMiss:"{name} \u{1F4DA} \xB7 no match",bubbleKnowledgeFailed:"{name} \u{1F4DA} \xB7 retrieval failed",bubbleKnowledgeSearching:"Searching knowledge base\u2026",kbHitToggle:"Click to expand/collapse",kbHitTruncated:"\u2702 Truncated \xB7 {total} chars total, first {kept} sent",kbHitTruncatedTitle:"Truncated to fit the context window; what is shown here is exactly what the model received",kbHitTruncatedBadge:"\u2702 {count} truncated"},configDialog:{exportTitle:"Export Settings",includeSecrets:"Include API keys",secretWarn:"\u26A0 Sensitive information; keep the file safe",exportDesc:"The exported file contains all settings except Agent connection info (proxy URL and pairing token); check the option below to include API keys and connection info as well.",export:"Export",importTitle:"Import Settings",mergeImport:"Merge import \u2014 only overwrite settings present in the file; keep the rest",replaceImport:"Full replace \u2014 clear current settings and use the file content",confirmImport:"Confirm Import",exportSuccess:"Settings exported",exportFailed:"Export failed: {error}",unknownTime:"Unknown",importSummary:"Exported at: {time}, containing {count} settings",invalidFileFormat:"Invalid file format",unrecognizedFormat:"Unrecognized settings format",unknownConfigKey:"Unknown setting key: {key}",importFailed:"Import failed: {error}",importParseFailed:"Import failed: cannot parse file format",importedCount:"Imported {count} settings"},queue:{enqueueBtn:"Add to queue",enqueued:"Added to queue (position {position})",enqueueFailed:"Failed to queue, your text is kept in the input",queueFull:"Queue is full (limit {limit}), please clear some queued tasks first",noSession:"Not ready yet, please retry shortly",summary:"{count} queued",summaryEmpty:"Queue empty",summaryFailed:"{count} task(s) failed",summaryFailedHint:"Failed to run; open Recent to requeue",pausedTag:"Paused",pausedHint:"Auto relay is paused",pausedByStop:"You stopped the task, so auto relay is paused",resumeQueue:"Resume queue",resumed:"Auto relay resumed",stopAndSend:"Stop and send",stopAndSendTitle:"Drop this round and start the queue now (right-click / long-press the stop button)",stopAndSendEmpty:"Nothing is waiting in the queue",stopAndSendStarted:"Current task stopped; the queue is starting",recentTitle:"Recent",recentEmpty:"No processed items yet",requeue:"Re-queue",requeued:"Added back to the queue",deleted:"Removed from queue",movedTop:"Moved to top",withContext:"with context",withImages:"{count} image(s)",withFiles:"{count} file(s)",attachmentsVolatile:"Images/files are too large to persist; they will be lost if the panel reloads, so run this item soon",attachmentsMissing:"Attachments could not be recovered (panel closed or released); this item will send text only",editBackWithAttachments:"Restored to input, including images/files",requeuedNoAttachments:"Requeued (original attachments released, text only)",forgetRecent:"Remove from history",forgotRecent:"Removed from Recent",filesStillExtracting:"Attached files are still being parsed; wait until parsing finishes before queueing (queueing now would lose file content)",inputHasUnsavedContext:"Images/files/quotes attached without text would be cleared by this restore; send or clear them first",statusDispatching:"Running",statusInjecting:"Inserting",statusInjected:"Inserted",statusDone:"Done",statusFailed:"Failed",statusRecovered:"Interrupted",statusRunningHint:"This task is running (tool calls included); the next one starts after it finishes",inject:"Insert into the running task (no need to wait for it)",injectIdleHint:"No task is running; this item will run in queue order",injectAccepted:"Delivered \u2014 takes effect after the current step",injected:"Inserted into the running task",autoCarried:"Queued item carried into the running task (round {iteration})",injectNoTask:"The task just finished; this item is back in the queue",injectTimeout:"No insertion confirmation; this item is back in the queue",injectTimeoutAdhoc:"No insertion confirmation; your text is still in the input box",injectFailed:"Insertion failed; this item is back in the queue",injectNoAttachments:"Items with images/files cannot be inserted into a running task (text only); let them run in queue order",editBack:"Edit in input",editTailHint:"Last queued item restored to the input; press Enter to send when done",delete:"Delete",stopNow:"Stop current task",tooManyAttempts:"This item failed {count} automatic attempts in a row; retries stopped and it was moved to Recent so you can requeue it manually",badgeTitle:"This session has {count} queued task(s)",sessionDropped:"This session had {count} queued task(s); they were removed along with the session"}};var f="zh";var m=f,l={zh:c,en:u};function p(e,a){if(!e||!a)return;let t=a.split("."),o=e;for(let n of t){if(o==null||typeof o!="object")return;o=o[n]}return typeof o=="string"?o:void 0}function g(e,a){return!a||typeof e!="string"?e:e.replace(/\{(\w+)\}/g,(t,o)=>a[o]!==void 0&&a[o]!==null?String(a[o]):t)}function i(e,a){let t=p(l[m],e);if(t!==void 0)return g(t,a);if(m!=="en"){let o=p(l.en,e);if(o!==void 0)return g(o,a)}return e}function r(e,a){l[e]||(l[e]={}),l[e]=h(l[e],a)}function h(e,a){for(let t of Object.keys(a||{}))a[t]&&typeof a[t]=="object"&&!Array.isArray(a[t])?((!e[t]||typeof e[t]!="object")&&(e[t]={}),h(e[t],a[t])):e[t]=a[t];return e}r("zh",{offscreen:{copiedToClipboard:"\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",copyFailed:"\u590D\u5236\u5931\u8D25: {error}",pasteFailed:"\u65E0\u6CD5\u8BFB\u53D6\u526A\u8D34\u677F\uFF1A{error}"}});r("en",{offscreen:{copiedToClipboard:"Copied to clipboard",copyFailed:"Copy failed: {error}",pasteFailed:"Cannot read clipboard: {error}"}});chrome.runtime.onMessage.addListener((e,a,t)=>{if(e.type==="COPY_TO_CLIPBOARD")return navigator.clipboard.writeText(e.text).then(()=>{t({success:!0,message:i("offscreen.copiedToClipboard")})}).catch(o=>{try{let n=document.getElementById("clipboard-textarea");n.value=e.text,n.select();let s=document.execCommand("copy");n.value="",t(s?{success:!0,message:i("offscreen.copiedToClipboard")}:{success:!1,error:i("offscreen.copyFailed",{error:o.message||o})})}catch(n){t({success:!1,error:i("offscreen.copyFailed",{error:n.message||n})})}}),!0;if(e.type==="PASTE_FROM_CLIPBOARD")return navigator.clipboard.readText().then(o=>{t({success:!0,text:o})}).catch(o=>{try{let n=document.getElementById("clipboard-textarea");n.value="",n.focus();let s=document.execCommand("paste"),d=n.value;n.value="",t(s&&d?{success:!0,text:d}:{success:!1,error:i("offscreen.pasteFailed",{error:o.message||o})})}catch(n){t({success:!1,error:i("offscreen.pasteFailed",{error:n.message||n})})}}),!0});})();
package/dist/options.html CHANGED
@@ -5,14 +5,16 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title data-i18n="settings.docTitle">AI Helper - 配置</title>
7
7
  <script type="module" crossorigin src="/assets/theme-Cp7RrL45.js"></script>
8
- <script type="module" crossorigin src="/assets/version-FUgXAu0z.js"></script>
9
- <script type="module" crossorigin src="/assets/i18n-B1Q34rTV.js"></script>
10
- <script type="module" crossorigin src="/assets/model-profiles-Cq93mdbc.js"></script>
8
+ <script type="module" crossorigin src="/assets/chunk-CMxvf4Kt.js"></script>
9
+ <script type="module" crossorigin src="/assets/i18n-DvmxOw8q.js"></script>
10
+ <script type="module" crossorigin src="/assets/model-profiles-C3kJEHM6.js"></script>
11
+ <script type="module" crossorigin src="/assets/agent-store-QTeMyM9O.js"></script>
12
+ <script type="module" crossorigin src="/assets/version-DUmOB_mV.js"></script>
11
13
  <script type="module" crossorigin src="/assets/network-scope-0d6MoKgI.js"></script>
12
14
  <script type="module" crossorigin src="/assets/voice-shortcut-Dtt3nhkz.js"></script>
13
15
  <script type="module" crossorigin src="/assets/options.js"></script>
14
16
  <link rel="stylesheet" crossorigin href="/assets/theme-ChzggwXz.css">
15
- <link rel="stylesheet" crossorigin href="/assets/options-DamSLmKe.css">
17
+ <link rel="stylesheet" crossorigin href="/assets/options-DB2yC3mX.css">
16
18
  </head>
17
19
  <body>
18
20
  <div class="container">
@@ -6,15 +6,15 @@
6
6
  <title data-i18n="header.docTitle">AI Helper - 模型问答</title>
7
7
  <script type="module" crossorigin src="/assets/theme-Cp7RrL45.js"></script>
8
8
  <script type="module" crossorigin src="/assets/chunk-CMxvf4Kt.js"></script>
9
- <script type="module" crossorigin src="/assets/i18n-B1Q34rTV.js"></script>
10
- <script type="module" crossorigin src="/assets/model-profiles-Cq93mdbc.js"></script>
11
- <script type="module" crossorigin src="/assets/session-store-BVoqeTLy.js"></script>
12
- <script type="module" crossorigin src="/assets/version-FUgXAu0z.js"></script>
9
+ <script type="module" crossorigin src="/assets/i18n-DvmxOw8q.js"></script>
10
+ <script type="module" crossorigin src="/assets/model-profiles-C3kJEHM6.js"></script>
11
+ <script type="module" crossorigin src="/assets/agent-store-QTeMyM9O.js"></script>
12
+ <script type="module" crossorigin src="/assets/version-DUmOB_mV.js"></script>
13
+ <script type="module" crossorigin src="/assets/session-store-owqj23pJ.js"></script>
13
14
  <script type="module" crossorigin src="/assets/voice-shortcut-Dtt3nhkz.js"></script>
14
- <script type="module" crossorigin src="/assets/agent-store-Dnh5oIad.js"></script>
15
- <script type="module" crossorigin src="/assets/utils-BPCoc5PX.js"></script>
16
- <script type="module" crossorigin src="/assets/markdown-render-3zCG1QbW.js"></script>
17
- <script type="module" crossorigin src="/assets/workspace-manager-DWIiYfRJ.js"></script>
15
+ <script type="module" crossorigin src="/assets/workspace-manager-DVPkwn2d.js"></script>
16
+ <script type="module" crossorigin src="/assets/context-indicator-CWyjBBv3.js"></script>
17
+ <script type="module" crossorigin src="/assets/todo-model-DK2Wxmvk.js"></script>
18
18
  <script type="module" crossorigin src="/assets/side_panel.js"></script>
19
19
  <link rel="stylesheet" crossorigin href="/assets/theme-ChzggwXz.css">
20
20
  <link rel="stylesheet" crossorigin href="/assets/side_panel.css">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-helper-agent",
3
- "version": "2.8.7",
3
+ "version": "2.8.9",
4
4
  "description": "AI Helper Agent - Local file access and system command execution proxy for Chrome extension / AI Helper 代理服务,为 Chrome 扩展提供本地文件读写和系统命令执行",
5
5
  "type": "module",
6
6
  "main": "./src/server.js",
@@ -1 +0,0 @@
1
- import{r as e}from"./chunk-CMxvf4Kt.js";import{a as t,c as n}from"./i18n-B1Q34rTV.js";import{ct as r,lt as i}from"./session-store-BVoqeTLy.js";var a=e({createAgent:()=>m,deleteAgent:()=>g,getActiveAgentId:()=>_,getAgent:()=>p,getAllAgents:()=>d,getCustomAgents:()=>f,setActiveAgentId:()=>v,updateAgent:()=>h});t(`zh`,{agentStore:{unnamedAgent:`未命名Agent`}}),t(`en`,{agentStore:{unnamedAgent:`Unnamed Agent`}});var o=`customAgents`,s=`activeAssistantId`,c=`activeAgentId`,l=!1;async function u(){if(l)return;l=!0;let e=await chrome.storage.local.get([c,s]),t=e[c],n=e[s];t&&!n&&!t.startsWith(`pa_`)&&(await chrome.storage.local.set({[s]:t}),await chrome.storage.local.remove(c))}async function d(){let e=(await chrome.storage.local.get([o]))[o]||[];return[...r,...e]}async function f(){return(await chrome.storage.local.get([o]))[o]||[]}async function p(e){return e&&(await d()).find(t=>t.id===e)||null}async function m(e){let t=await f(),r={id:i(),name:e.name||n(`agentStore.unnamedAgent`),description:e.description||``,icon:e.icon||`🤖`,systemPrompt:e.systemPrompt||``,toolIds:e.toolIds||null,skillIds:e.skillIds||null,mcpExcludedServerIds:e.mcpExcludedServerIds??null,isBuiltin:!1,allowSubDispatch:e.allowSubDispatch===void 0?!1:e.allowSubDispatch,model:e.model||null,temperature:e.temperature===void 0?null:e.temperature,topP:e.topP===void 0?null:e.topP,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()};return t.push(r),await chrome.storage.local.set({[o]:t}),r}async function h(e,t){let n=await f(),r=n.findIndex(t=>t.id===e);return r===-1?null:(n[r]={...n[r],...t,id:e,isBuiltin:!1,updatedAt:new Date().toISOString()},await chrome.storage.local.set({[o]:n}),n[r])}async function g(e){let t=await f(),n=t.findIndex(t=>t.id===e);return n===-1?!1:(t.splice(n,1),await chrome.storage.local.set({[o]:t}),(await chrome.storage.local.get([s]))[s]===e&&await chrome.storage.local.remove(s),!0)}async function _(){return await u(),(await chrome.storage.local.get([s]))[s]||null}async function v(e){e?await chrome.storage.local.set({[s]:e}):await chrome.storage.local.remove(s)}export{p as a,h as c,_ as i,m as n,d as o,g as r,v as s,a as t};
@@ -1,61 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/workspace-manager-DWIiYfRJ.js","assets/chunk-CMxvf4Kt.js","assets/session-store-BVoqeTLy.js","assets/model-profiles-Cq93mdbc.js","assets/i18n-B1Q34rTV.js","assets/side_panel.js","assets/version-FUgXAu0z.js","assets/voice-shortcut-Dtt3nhkz.js","assets/agent-store-Dnh5oIad.js","assets/utils-BPCoc5PX.js"])))=>i.map(i=>d[i]);
2
- import{a as e,c as t,l as n}from"./i18n-B1Q34rTV.js";import{N as r}from"./session-store-BVoqeTLy.js";import{l as i,u as a}from"./version-FUgXAu0z.js";import{T as o,a as s,c}from"./utils-BPCoc5PX.js";var l=null,u=null,d=null;function f(e){return{startOnLoad:!1,theme:(e||a())===`dark`?`dark`:`default`,securityLevel:`loose`,fontFamily:`-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif`}}function p(e){return new Promise((t,n)=>{if(document.querySelector(`script[src="${e}"]`)){t();return}let r=document.createElement(`script`);r.src=e,r.onload=t,r.onerror=()=>n(Error(`Failed to load script: ${e}`)),document.head.appendChild(r)})}function m(){return window.mermaid===void 0?(l||=p(`libs/mermaid.min.js`).then(()=>(window.mermaid!==void 0&&window.mermaid.initialize(f()),window.mermaid)).catch(e=>{throw l=null,e}),l):Promise.resolve(window.mermaid)}function h(){return window.jspdf&&window.jspdf.jsPDF?Promise.resolve(window.jspdf.jsPDF):(u||=p(`libs/jspdf.min.js`).then(()=>{let e=window.jspdf&&window.jspdf.jsPDF;if(!e)throw Error(`jsPDF not available after loading`);return e}).catch(e=>{throw u=null,e}),u)}function g(){return window.html2canvas?Promise.resolve(window.html2canvas):(d||=p(`libs/html2canvas.min.js`).then(()=>{if(!window.html2canvas)throw Error(`html2canvas not available after loading`);return window.html2canvas}).catch(e=>{throw d=null,e}),d)}async function ee(){let[e,t]=await Promise.all([h(),g()]);return{jsPDF:e,html2canvas:t}}e(`zh`,{chat:{fileLinkTitle:`点击在工作目录中定位该文件`,fileLinkFailed:`定位文件失败`},markdown:{copyCode:`复制代码`,copyMdTableTitle:`复制 Markdown 表格
3
- 按住 Ctrl/⌘ 点击复制富文本表格`,downloadExcel:`下载 Excel`,exportTableImage:`导出表格为图片`,downloadFailed:`下载失败: {message}`,unknownError:`未知错误`,chartRenderFailed:`图表渲染失败: {detail}`,zoomIn:`放大`,zoomOut:`缩小`,reset:`重置`,copyToClipboard:`复制到剪贴板`,downloadImage:`下载图片`,viewSource:`查看源代码`,mermaidCopied:`Mermaid 图表已复制到剪贴板!`,autoDownloadChart:`已自动转为下载方式保存图表`,copyFailed:`复制失败: {message}`,copySourceTitle:`复制源代码`,backToChart:`返回图表`,codeBlockLabel:`代码块`,codeLabel:`代码`,copiedToClipboard:`{label}已复制到剪贴板`,codeCopied:`代码已复制到剪贴板`,copiedRichTable:`已复制富文本表格`,copyRichTableFailed:`复制富文本表格失败`,copyFailedShort:`复制失败`,copiedMdTable:`已复制 Markdown 表格`,imageExportLibMissing:`图片导出库未加载`,tableImageExported:`表格图片已导出`,exportImageFailed:`导出图片失败`,canvasExportFailed:`Canvas toDataURL 失败,无法导出图片`,svgLoadFailed:`SVG 图片加载失败: {message}`}}),e(`en`,{chat:{fileLinkTitle:`Click to locate this file in the working directory`,fileLinkFailed:`Failed to locate file`},markdown:{copyCode:`Copy code`,copyMdTableTitle:`Copy Markdown table
4
- Ctrl/Cmd+click to copy rich-text table`,downloadExcel:`Download Excel`,exportTableImage:`Export table as image`,downloadFailed:`Download failed: {message}`,unknownError:`Unknown error`,chartRenderFailed:`Chart rendering failed: {detail}`,zoomIn:`Zoom in`,zoomOut:`Zoom out`,reset:`Reset`,copyToClipboard:`Copy to clipboard`,downloadImage:`Download image`,viewSource:`View source`,mermaidCopied:`Mermaid chart copied to clipboard!`,autoDownloadChart:`Automatically switched to download to save the chart`,copyFailed:`Copy failed: {message}`,copySourceTitle:`Copy source code`,backToChart:`Back to chart`,codeBlockLabel:`Code block`,codeLabel:`Code`,copiedToClipboard:`{label} copied to clipboard`,codeCopied:`Code copied to clipboard`,copiedRichTable:`Rich-text table copied`,copyRichTableFailed:`Failed to copy rich-text table`,copyFailedShort:`Copy failed`,copiedMdTable:`Markdown table copied`,imageExportLibMissing:`Image export library not loaded`,tableImageExported:`Table image exported`,exportImageFailed:`Failed to export image`,canvasExportFailed:`Canvas toDataURL failed, unable to export image`,svgLoadFailed:`SVG image load failed: {message}`}});var _=2e3;function te(e){let t=e.closest(`.mermaid`);if(!t)return!1;let n=t.getAttribute(`data-raw-code`);if(!n)return!1;try{let e=decodeURIComponent(n);return/^\s*classDiagram/im.test(e)}catch{return!1}}function ne(e){e.querySelectorAll(`foreignObject`).forEach(e=>{let t=e.querySelector(`div`);if(!t){e.remove();return}let n=t.querySelector(`span`),r=(n||t).textContent.trim();if(!r){e.remove();return}let i=parseFloat(e.getAttribute(`width`))||100,a=parseFloat(e.getAttribute(`height`))||30,o=e.getAttribute(`transform`),s=document.createElementNS(`http://www.w3.org/2000/svg`,`text`);s.setAttribute(`x`,String(i/2)),s.setAttribute(`y`,String(a/2)),s.setAttribute(`text-anchor`,`middle`),s.setAttribute(`dominant-baseline`,`central`),o&&s.setAttribute(`transform`,o);let c=n?n.getAttribute(`class`):``;c&&s.setAttribute(`class`,c),s.textContent=r,e.parentNode.replaceChild(s,e)})}function v(e){let t=e.cloneNode(!0),n=document.createElement(`div`);return n.style.cssText=`position:absolute;visibility:hidden;width:0;height:0;overflow:hidden;`,n.appendChild(t),document.body.appendChild(n),te(e)?ne(t):t.querySelectorAll(`foreignObject`).forEach(e=>{let t=e.querySelector(`div`);if(!t){e.remove();return}let n=document.createElementNS(`http://www.w3.org/2000/svg`,`text`),r=parseFloat(e.getAttribute(`x`))||0,i=parseFloat(e.getAttribute(`y`))||0,a=parseFloat(e.getAttribute(`width`))||100,o=parseFloat(e.getAttribute(`height`))||30,s=t.querySelector(`span`)||t,c=window.getComputedStyle(s);n.textContent=s.textContent.trim(),n.setAttribute(`x`,String(r+a/2)),n.setAttribute(`y`,String(i+o/2)),n.setAttribute(`text-anchor`,`middle`),n.setAttribute(`dominant-baseline`,`central`),n.setAttribute(`fill`,c.color||`#333`),n.setAttribute(`font-family`,c.fontFamily||`sans-serif`),n.setAttribute(`font-size`,c.fontSize||`14px`),(c.fontWeight===`bold`||parseInt(c.fontWeight)>=600)&&n.setAttribute(`font-weight`,`bold`),e.parentNode.replaceChild(n,e)}),t.querySelectorAll(`image`).forEach(e=>{let t=e.getAttribute(`href`)||e.getAttributeNS(`http://www.w3.org/1999/xlink`,`href`)||``;/^https?:/i.test(t)&&e.remove()}),t.querySelectorAll(`use`).forEach(e=>{let t=e.getAttribute(`href`)||e.getAttributeNS(`http://www.w3.org/1999/xlink`,`href`)||``;/^https?:/i.test(t)&&e.remove()}),document.body.removeChild(n),t}function y(e){let t=e.getAttribute(`viewBox`);if(t){let e=t.split(/[\s,]+/).map(parseFloat);if(e.length===4&&!isNaN(e[2])&&!isNaN(e[3])&&e[2]>0&&e[3]>0)return{width:e[2],height:e[3]}}let n=parseFloat(e.getAttribute(`width`)),r=parseFloat(e.getAttribute(`height`));if(!isNaN(n)&&!isNaN(r)&&n>0&&r>0)return{width:n,height:r};try{let t=e.getBoundingClientRect();if(t.width>0&&t.height>0)return{width:t.width,height:t.height}}catch{}return{width:800,height:600}}function b(e){try{let t=e.toDataURL(`image/png`);if(t&&t.length>100)return t}catch(e){n.debug(`[SidePanel] PNG toDataURL failed,downgrade to JPEG:`,e.message)}try{let t=e.toDataURL(`image/jpeg`,.92);if(t&&t.length>100)return t}catch(e){n.debug(`[SidePanel] JPEG toDataURL also failed:`,e.message)}throw Error(t(`markdown.canvasExportFailed`))}function x(e){return new Promise((r,i)=>{try{let{width:a,height:o}=y(e);n.debug(`[SidePanel] svgToPngDataUrl size:`,a,`x`,o);let s=2;if(a>_||o>_){let e=Math.min(_/a,_/o);a*=e,o*=e,s=1.5}let c=v(e),l=new XMLSerializer().serializeToString(c),u=`data:image/svg+xml;charset=utf-8,`+encodeURIComponent(l),d=new Image;d.crossOrigin=`anonymous`,d.onload=function(){try{let e=document.createElement(`canvas`);e.width=Math.ceil((a+20)*s),e.height=Math.ceil((o+20)*s),n.debug(`[SidePanel] Canvas size:`,e.width,`x`,e.height);let t=e.getContext(`2d`);t.fillStyle=`#ffffff`,t.fillRect(0,0,e.width,e.height),t.drawImage(d,10*s,10*s,a*s,o*s),r(b(e))}catch(e){i(e)}},d.onerror=function(e){i(Error(t(`markdown.svgLoadFailed`,{message:String(e?.message||e)})))},d.src=u}catch(e){i(e)}})}function S(e){if(!e)return``;let t=[],n=e.replace(/```[\s\S]*?```/g,e=>(t.push(e),`\u0000F${t.length-1}\u0000`)),r=n.replace(/^[ \t]*\[\[artifact:[^\]]*\]\][ \t]*\n/gm,``).replace(/[ \t]*\[\[artifact:[^\]]*\]\][ \t]*/g,``);return(r===n?n:r.replace(/\n{3,}/g,`
5
-
6
- `).replace(/^\n+/,``).replace(/\n+$/,``)).replace(/\u0000F(\d+)\u0000/g,(e,n)=>t[Number(n)])}function C(e){if(!e)return``;e=S(e);let n=[],r=Date.now()+`_`+Math.random().toString(36).slice(2,8);e=e.replace(/```mermaid\n?([\s\S]*?)```/g,(e,t)=>{let r=n.length;return n.push(t.trim()),`%%MERMAID_BLOCK_${r}%%`});let a=[];e=e.replace(/```(\w*)\n?([\s\S]*?)```/g,(e,t,n)=>{let r=a.length;return a.push({language:t||`text`,content:n.trim()}),`%%CODE_BLOCK_${r}%%`});let o=[];e=e.replace(/^(\|.+\|)\n(\|[-| :]+\|)\n((?:\|.+\|\n?)*)/gm,(e,t,n,r)=>{let i=o.length;return o.push({header:t,separator:n,body:r,full:e.trim()}),`\n%%TABLE_BLOCK_${i}%%\n`});let s=``;return typeof marked<`u`?(marked.setOptions({breaks:!0,gfm:!0}),s=marked.parse(e)):s=e.replace(/`([^`]+)`/g,`<code>$1</code>`).replace(/\*\*([^*]+)\*\*/g,`<strong>$1</strong>`).replace(/\*([^*]+)\*/g,`<em>$1</em>`).replace(/\n/g,`<br>`),s=i.sanitize(s,{FORBID_TAGS:[`style`,`iframe`,`script`,`object`,`embed`,`svg`],FORBID_ATTR:[`onerror`,`onload`,`onclick`,`onmouseover`,`onfocus`,`onblur`,`onchange`,`oninput`,`onkeydown`,`onkeyup`,`onkeypress`],ADD_ATTR:[`target`]}),n.forEach((e,t)=>{let n=`mermaid-${r}-${t}`;s=s.replace(`%%MERMAID_BLOCK_${t}%%`,`<div class="mermaid" id="${n}" data-raw-code="${encodeURIComponent(e)}">${c(e)}</div>`)}),a.forEach((e,n)=>{let r=e.content.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`);s=s.replace(`%%CODE_BLOCK_${n}%%`,`<div class="code-block-container" style="position: relative;">
7
- <button class="code-copy-btn" data-code="${n}" title="${t(`markdown.copyCode`)}">
8
- <svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
9
- <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25zM5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25z"/>
10
- </svg>
11
- </button>
12
- <pre><code class="language-${e.language}">${r}</code></pre>
13
- </div>`)}),o.forEach((e,t)=>{s=s.replace(`%%TABLE_BLOCK_${t}%%`,E(e))}),s}function w(e){if(!e)return``;let t=e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`);return t=t.replace(/`([^`]+)`/g,`<code>$1</code>`),t=t.replace(/\*\*([^*]+)\*\*/g,`<strong>$1</strong>`),t=t.replace(/\*([^*]+)\*/g,`<em>$1</em>`),t=t.replace(/~~([^~]+)~~/g,`<del>$1</del>`),t}function T(e){let t=[],n=``,r=0;for(;r<e.length;){let i=e[r];if(i===`\\`){let i=0;for(;e[r+i]===`\\`;)i++;e[r+i]===`|`?(n+=`\\`.repeat(Math.floor(i/2)),i%2==1?n+=`|`:(t.push(n),n=``),r+=i+1):(n+=`\\`.repeat(i),r+=i);continue}if(i===`|`){t.push(n),n=``,r++;continue}n+=i,r++}return t.push(n),t}function E(e){let{header:n,body:r,full:i}=e,a=window.__tableBlocks?window.__tableBlocks.length:0;window.__tableBlocks&&(window.__tableBlocks[a]={full:i,header:n,body:r});let o=T(n).slice(1,-1).map(e=>w(e.trim())),s=r.trim().split(`
14
- `).filter(e=>e.trim()).map(e=>T(e).slice(1,-1).map(e=>w(e.trim()))),c=`<div class="table-container-wrapper"><table>`;return c+=`<thead><tr>`,o.forEach((e,a)=>{a===o.length-1?c+=`<th class="table-header-cell-wrapper">
15
- ${e}
16
- <div class="table-toolbar">
17
- <button class="table-toolbar-btn copy-md-btn" title="${t(`markdown.copyMdTableTitle`)}" data-table-full="${encodeURIComponent(i)}">
18
- <svg viewBox="0 0 16 16" fill="currentColor">
19
- <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25zM5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25z"/>
20
- </svg>
21
- </button>
22
- <button class="table-toolbar-btn download-excel-btn" title="${t(`markdown.downloadExcel`)}" data-table-header="${encodeURIComponent(n)}" data-table-body="${encodeURIComponent(r)}">
23
- <svg viewBox="0 0 16 16" fill="currentColor">
24
- <path d="M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"/>
25
- <path d="M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z"/>
26
- </svg>
27
- </button>
28
- <button class="table-toolbar-btn export-table-img-btn" title="${t(`markdown.exportTableImage`)}">
29
- <svg viewBox="0 0 16 16" fill="currentColor">
30
- <path d="M6.002 5.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/>
31
- <path d="M2.002 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2h-12zm12 1a1 1 0 0 1 1 1v6.5l-3.777-1.947a.5.5 0 0 0-.577.093l-3.71 3.71-2.66-1.772a.5.5 0 0 0-.63.062L1.002 12V3a1 1 0 0 1 1-1h12z"/>
32
- </svg>
33
- </button>
34
- </div>
35
- </th>`:c+=`<th>${e}</th>`}),c+=`</tr></thead>`,c+=`<tbody>`,s.forEach(e=>{c+=`<tr>`,e.forEach(e=>{c+=`<td>${e}</td>`}),c+=`</tr>`}),c+=`</tbody>`,c+=`</table></div>`,c}function D(e){try{let{header:t,body:r}=e,i=T(t).slice(1,-1).map(e=>e.trim()),a=r.trim().split(`
36
- `).filter(e=>e.trim()).map(e=>T(e).slice(1,-1).map(e=>e.trim())),o=``;o+=i.map(e=>`"${e.replace(/"/g,`""`)}"`).join(`,`)+`
37
- `,a.forEach(e=>{o+=e.map(e=>`"${e.replace(/"/g,`""`)}"`).join(`,`)+`
38
- `});let s=new Blob([o],{type:`text/csv;charset=utf-8;`}),c=document.createElement(`a`),l=URL.createObjectURL(s);c.setAttribute(`href`,l),c.setAttribute(`download`,`table-${Date.now()}.csv`),c.style.visibility=`hidden`,document.body.appendChild(c),c.click(),document.body.removeChild(c),n.debug(`[SidePanel] Excel download successful`)}catch(e){n.error(`[SidePanel] download Excel failed:`,e),o(t(`markdown.downloadFailed`,{message:e.message}),`error`)}}function O(e){if(!e)return t(`markdown.unknownError`);if(typeof e==`string`)return e;let n=e.message||e.str||e.msg||e.text||``;if(n)return n;try{return JSON.stringify(e)}catch{return String(e)}}var re=2;async function k(e,t=re){if(e.querySelector(`svg`))return{success:!0};let r=e.getAttribute(`data-raw-code`),i=r?decodeURIComponent(r):e.textContent||``;for(let r=0;r<=t;r++){r>0&&(e.textContent=i);try{return await mermaid.run({nodes:[e]}),{success:!0}}catch(a){let o=O(a);if(/(Parse error|syntax error|Lexical error|No diagram type detected)/i.test(o)||r>=t)return n.error(`[SidePanel] Mermaid render failed,original content ( before 300chars):`,i.substring(0,300)),e.textContent=i,{success:!1,detail:o,err:a};await new Promise(e=>setTimeout(e,200))}}}async function ie(){let e=document.querySelectorAll(`.mermaid`);if(e.length!==0){try{await m()}catch(e){n.warn(`[SidePanel] Mermaid lib failed to load:`,e);return}n.debug(`[SidePanel] ===== renderMermaidCharts start =====`),n.debug(`[SidePanel] find to mermaid element count:`,e.length);for(let r=0;r<e.length;r++){let i=e[r],a=await k(i);a.success?(n.debug(`[SidePanel] `,r+1,` mermaid chart render successful`),A(i)):(n.error(`[SidePanel] `,r+1,` mermaid chart render failed:`,a.detail,a.err),!i.querySelector(`svg`)&&!i.querySelector(`.mermaid-controls`)&&(i.innerHTML=`<div style="color: #856404; background: #fff3cd; padding: 10px; border-radius: 4px; margin: 10px 0;">${t(`markdown.chartRenderFailed`,{detail:a.detail})}</div>`))}n.debug(`[SidePanel] ===== renderMermaidCharts complete =====`)}}async function ae(){if(typeof window>`u`||window.mermaid===void 0)return;let e=document.querySelectorAll(`.mermaid`);if(e.length!==0){window.mermaid.initialize(f());for(let n of e){let e=n.querySelector(`svg`);if(!e)continue;let r=n.getAttribute(`data-raw-code`);if(!r)continue;e.remove();let i=n.querySelector(`.mermaid-controls`);i&&i.remove(),n.removeAttribute(`data-processed`),n.innerHTML=``,n.textContent=decodeURIComponent(r);let a=await k(n);a.success?A(n):!n.querySelector(`svg`)&&!n.querySelector(`.mermaid-controls`)&&(n.innerHTML=`<div style="color: #856404; background: #fff3cd; padding: 10px; border-radius: 4px; margin: 10px 0;">${t(`markdown.chartRenderFailed`,{detail:a.detail})}</div>`)}}}function oe(e){return e?`<div class="markdown-body">${C(e)}</div>`:``}function A(e){let r=e.querySelector(`.mermaid-controls`);r&&r.remove();let i=e.querySelector(`svg`);if(!i){n.warn(`[SidePanel] SVG elementnot found,current content:`,e.innerHTML.substring(0,100));return}n.debug(`[SidePanel] find to SVG element,start addingtoolbar`),n.debug(`[SidePanel] container class name:`,e.className),n.debug(`[SidePanel] container HTML:`,e.innerHTML.substring(0,200)),e.style.position=`relative`,e.style.cursor=`grab`,e.style.userSelect=`none`,e.style.webkitUserSelect=`none`;let a=e.querySelector(`.mermaid-svg-wrapper`);if(!a){a=document.createElement(`div`),a.className=`mermaid-svg-wrapper`,a.style.transformOrigin=`center center`,a.style.transition=`transform 0.2s ease`,a.style.display=`inline-block`,a.style.width=`100%`,i.style.maxWidth=`100%`,i.style.height=`auto`,i.style.userSelect=`none`,i.style.webkitUserSelect=`none`,a.appendChild(i),e.insertBefore(a,e.firstChild);let t=[];Array.from(e.childNodes).forEach(e=>{e.nodeType===Node.TEXT_NODE&&e.textContent.trim()&&t.push(e)}),t.forEach(e=>e.remove())}let o=document.createElement(`div`);o.className=`mermaid-controls`,o.innerHTML=`
39
- <button class="zoom-in" title="${t(`markdown.zoomIn`)}">+</button>
40
- <button class="zoom-out" title="${t(`markdown.zoomOut`)}">−</button>
41
- <button class="reset-zoom" title="${t(`markdown.reset`)}">↺</button>
42
- <button class="copy-to-clipboard" title="${t(`markdown.copyToClipboard`)}">
43
- <svg width="14" height="14" viewBox="0 0 16 16" fill="currentColor">
44
- <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25zM5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25z"/>
45
- </svg>
46
- </button>
47
- <button class="download-png" title="${t(`markdown.downloadImage`)}">↓</button>
48
- <button class="view-source" title="${t(`markdown.viewSource`)}">&lt;/&gt;</button>
49
- `,e.appendChild(o),n.debug(`[SidePanel] toolbar HTML added`),n.debug(`[SidePanel] container subelement:`,Array.from(e.children).map(e=>e.className).join(`, `)),e._pngDataUrl||x(i).then(t=>{e._pngDataUrl=t,e._pngBlob=null}).catch(e=>{n.warn(`[SidePanel] Mermaid PNG pre-convert failed:`,e.message)});let s=1,c=.01,l=.15,u=e.dataset.rawCode||``;if(!u){let e=i.querySelector(`title`);e&&e.textContent&&(u=e.textContent.trim())}if(!u){let e=i.querySelector(`script[type="text/plain"]`);e&&(u=e.textContent.trim())}u&&!e.dataset.rawMermaidCode&&(e.dataset.rawMermaidCode=u),o.querySelector(`.view-source`).addEventListener(`click`,t=>{t.stopPropagation();let n=e.getAttribute(`data-raw-code`);I(e,n?decodeURIComponent(n):e.dataset.rawMermaidCode||``,a,i,s,{MIN_SCALE:c,MAX_SCALE:100,SCALE_STEP:l})}),o.querySelector(`.copy-to-clipboard`).addEventListener(`click`,e=>{e.stopPropagation(),P(i,a,s)}),o.querySelector(`.download-png`).addEventListener(`click`,e=>{e.stopPropagation(),F(i,s)}),e.addEventListener(`wheel`,e=>{!e.ctrlKey&&!e.metaKey||(e.preventDefault(),e.stopPropagation(),s=e.deltaY<0?Math.min(100,s+l):Math.max(c,s-l),g())},{passive:!1});let d=!1,f,p,m=0,h=0;function g(){a.style.transform=`translate(${m}px, ${h}px) scale(${s})`}o.querySelector(`.zoom-in`).addEventListener(`click`,e=>{e.stopPropagation(),s=Math.min(100,s+l),g()}),o.querySelector(`.zoom-out`).addEventListener(`click`,e=>{e.stopPropagation(),s=Math.max(c,s-l),g()}),o.querySelector(`.reset-zoom`).addEventListener(`click`,e=>{e.stopPropagation(),s=1,m=0,h=0,g()}),e.addEventListener(`mousedown`,t=>{t.target.tagName!==`BUTTON`&&(d=!0,f=t.clientX-m,p=t.clientY-h,e.style.cursor=`grabbing`)}),document.addEventListener(`mousemove`,e=>{d&&(m=e.clientX-f,h=e.clientY-p,g())}),document.addEventListener(`mouseup`,()=>{d&&(d=!1,e.style.cursor=`grab`)})}function j(e){let t=e.match(/^data:([^;]+)/);return t?t[1]:`image/png`}function se(e){let t=j(e).split(`/`)[1];return t===`jpeg`?`jpg`:t||`png`}function M(e){let t=j(e),n=e.split(`,`)[1]||``,r=atob(n),i=r.length,a=new Uint8Array(i);for(let e=0;e<i;e++)a[e]=r.charCodeAt(e);return new Blob([a],{type:t})}function N(e,t){let n=se(e),r=t.replace(/\.(png|jpg|jpeg)$/i,``)+`.`+n,i=document.createElement(`a`);i.href=e,i.download=r,document.body.appendChild(i),i.click(),document.body.removeChild(i)}async function P(e,r,i){try{let r=e.closest(`.mermaid`),i=r&&r._pngDataUrl;i||=await x(e);let a=M(i),s=j(i),c=`mermaid-diagram-`+Date.now()+`.png`;if(navigator.clipboard&&typeof ClipboardItem<`u`)try{await navigator.clipboard.write([new ClipboardItem({[s]:a})]),o(t(`markdown.mermaidCopied`),`success`);return}catch(e){n.warn(`[SidePanel] Clipboard API write failed,downgrade to download:`,e.message)}o(t(`markdown.autoDownloadChart`),`warning`),N(i,c)}catch(e){n.error(`[SidePanel] copyto clipboard failed:`,e),o(t(`markdown.copyFailed`,{message:e.message}),`error`)}}async function F(e,r){try{let t=e.closest(`.mermaid`),n=t&&t._pngDataUrl,r=`mermaid-diagram-`+Date.now()+`.png`;if(n){N(n,r);return}N(await x(e),r)}catch(e){n.error(`[SidePanel] download PNG failed:`,e),o(t(`markdown.downloadFailed`,{message:e.message}),`error`)}}function I(e,n,r,i,a,o){let c=e.querySelector(`.mermaid-source-view`),l=e.querySelector(`.mermaid-controls`);if(c)c.parentElement&&c.parentElement.remove(),r&&(r.style.display=`inline-block`),e.style.userSelect=`none`,e.style.webkitUserSelect=`none`,e.style.cursor=`grab`,A(e);else{r&&(r.style.display=`none`),l&&l.remove(),e.style.userSelect=`text`,e.style.webkitUserSelect=`text`,e.style.cursor=`auto`;let c=document.createElement(`div`);c.className=`mermaid-container-wrapper`,c.style.position=`relative`;let u=document.createElement(`pre`);u.className=`mermaid-source-view`,u.style.position=`relative`,u.textContent=n;let d=document.createElement(`button`);d.className=`source-copy-btn`,d.title=t(`markdown.copySourceTitle`),d.innerHTML=`
50
- <svg viewBox="0 0 16 16" fill="currentColor">
51
- <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25zM5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25z"/>
52
- </svg>
53
- `,d.addEventListener(`click`,e=>{e.stopPropagation(),s(n,d)});let f=document.createElement(`button`);f.className=`source-copy-btn`,f.style.right=`44px`,f.title=t(`markdown.backToChart`),f.innerHTML=`
54
- <svg viewBox="0 0 16 16" fill="currentColor">
55
- <path d="M11.534 7h3.932a.25.25 0 0 1 .192.41l-1.966 2.36a1.25 1.25 0 0 0 0 1.32l1.965 2.36a.25.25 0 0 1-.192.41h-3.932a.25.25 0 0 1-.192-.41l-1.966-2.36a1.25 1.25 0 0 0 0-1.32l1.966-2.36a.25.25 0 0 1 .192-.41zm-6.068 0H1.534a.25.25 0 0 0-.192.41l1.966 2.36a1.25 1.25 0 0 1 0 1.32l-1.966 2.36A.25.25 0 0 0 1.534 14h3.932a.25.25 0 0 0 .192-.41l-1.966-2.36a1.25 1.25 0 0 1 0-1.32l1.966-2.36a.25.25 0 0 0-.192-.41z"/>
56
- </svg>
57
- `,f.addEventListener(`click`,t=>{t.stopPropagation(),I(e,n,r,i,a,o)}),u.appendChild(d),u.appendChild(f),c.appendChild(u),e.appendChild(c)}}async function L(e){n.debug(`[SidePanel] ===== renderMessageMermaid start =====`);let r=e.querySelectorAll(`.mermaid`);if(r.length===0){n.debug(`[SidePanel] not found mermaid element`);return}try{await m()}catch(e){n.warn(`[SidePanel] Mermaid lib failed to load:`,e);return}await new Promise(e=>setTimeout(e,300)),n.debug(`[SidePanel] find to mermaid element count:`,r.length);try{for(let i=0;i<r.length;i++){let a=r[i],o=await k(a),s=e.querySelectorAll(`.mermaid`)[i];o.success&&s?(n.debug(`[SidePanel] `,i+1,` mermaid chart render successful`),A(s)):s&&!s.querySelector(`svg`)&&!s.querySelector(`.mermaid-controls`)&&(n.error(`[SidePanel] `,i+1,` mermaid chart render failed:`,o.detail,o.err),s.innerHTML=`<div style="color: #856404; background: #fff3cd; padding: 10px; border-radius: 4px;">${t(`markdown.chartRenderFailed`,{detail:o.detail})}</div>`)}n.debug(`[SidePanel] Mermaid rendercomplete`);let i=e.querySelectorAll(`.mermaid-controls`);n.debug(`[SidePanel] toolbar addresult:`,i.length,`successful`)}catch(e){n.error(`[SidePanel] Mermaid overall render failed:`,e)}B()}var R=!1;function z(){R||(R=!0,document.addEventListener(`click`,e=>{if(!e.ctrlKey&&!e.metaKey||e.button!==0||!e.target.closest?.(`#chatContainer, .message-fullscreen-body`))return;let r=e.target.closest(`code`);if(!r){let t=e.target.closest(`pre`);if(t&&(r=t.querySelector(`code`)),!r){let t=e.target.closest(`.code-block-container`);t&&(r=t.querySelector(`code`))}}if(!r||e.target.closest(`.code-copy-btn`))return;e.preventDefault();let i=r.textContent;i&&navigator.clipboard.writeText(i).then(()=>{o(t(`markdown.copiedToClipboard`,{label:r.closest(`.code-block-container`)?t(`markdown.codeBlockLabel`):t(`markdown.codeLabel`)}),`success`)}).catch(e=>{n.error(`[SidePanel] Ctrl+clickcopy failed:`,e);let r=document.createElement(`textarea`);r.value=i,r.style.position=`fixed`,r.style.left=`-999999px`,document.body.appendChild(r),r.select(),document.execCommand(`copy`),document.body.removeChild(r),o(t(`markdown.codeCopied`),`success`)})}),n.debug(`[SidePanel] Ctrl+clickcopycodeeventbound (document delegate)`))}function B(){q(),z()}function V(e){let t=e.closest(`.table-container-wrapper`)?.querySelector(`table`);if(!t)return null;let n=[];t.querySelectorAll(`thead th`).forEach(e=>{let t=``;for(let n of e.childNodes)n.nodeType===Node.TEXT_NODE?t+=n.textContent:n.nodeType===Node.ELEMENT_NODE&&!n.classList.contains(`table-toolbar`)&&!n.closest(`.table-toolbar`)&&(t+=n.textContent||``);n.push(t.trim())});let r=[];if(t.querySelectorAll(`tbody tr`).forEach(e=>{let t=[];e.querySelectorAll(`td`).forEach(e=>{t.push(e.textContent.trim())}),r.push(t)}),n.length===0&&r.length===0)return null;let i=e=>e.replace(/\|/g,`\\|`),a=`| `+n.map(i).join(` | `)+` |`,o=`| `+n.map(()=>`---`).join(` | `)+` |`,s=r.map(e=>`| `+e.map(i).join(` | `)+` |`).join(`
58
- `);return{full:a+`
59
- `+o+`
60
- `+s,header:a+`
61
- `+o,body:s}}function H(e){let t=e.closest(`.code-block-container`);if(t){let n=t.querySelector(`pre code`);n&&s(n.textContent,e)}}function U(e,n){if(n.ctrlKey||n.metaKey){let n=e.closest(`.table-container-wrapper`)?.querySelector(`table`);if(n)try{let r=J(n).outerHTML;e.focus();let i=new Blob([r],{type:`text/html`}),a=new ClipboardItem({"text/html":i});navigator.clipboard.write([a]).then(()=>{o(t(`markdown.copiedRichTable`))}).catch(()=>{let n=document.createElement(`div`);n.style.cssText=`position:fixed;left:-999999px;top:-999999px;`,n.innerHTML=r,document.body.appendChild(n);let i=document.createRange();i.selectNodeContents(n);let a=window.getSelection();a.removeAllRanges(),a.addRange(i);try{e.focus(),document.execCommand(`copy`),o(t(`markdown.copiedRichTable`))}catch{o(t(`markdown.copyRichTableFailed`),`error`)}finally{a.removeAllRanges(),document.body.removeChild(n)}})}catch{o(t(`markdown.copyFailedShort`),`error`)}return}let r=e.dataset.tableFull?decodeURIComponent(e.dataset.tableFull):null;if(r){s(r,e),o(t(`markdown.copiedMdTable`));return}let i=e.dataset.tableIndex,a=window.__tableBlocks?.[parseInt(i)];if(a){s(a.full,e),o(t(`markdown.copiedMdTable`));return}let c=V(e);c&&(s(c.full,e),o(t(`markdown.copiedMdTable`)))}function W(e){let t=e.dataset.tableHeader?decodeURIComponent(e.dataset.tableHeader):null,n=e.dataset.tableBody?decodeURIComponent(e.dataset.tableBody):null;if(t&&n){D({header:t,body:n});return}let r=e.dataset.tableIndex,i=window.__tableBlocks?.[parseInt(r)];if(i){D(i);return}let a=V(e);a&&D(a)}async function G(e){let r=e.closest(`.table-container-wrapper`);if(r)try{let e=await g();if(!e){o(t(`markdown.imageExportLibMissing`),`error`);return}let n=await e(r,{scale:2,useCORS:!0,logging:!1,backgroundColor:`#ffffff`}),i=document.createElement(`a`);i.download=`table-${Date.now()}.jpg`,i.href=n.toDataURL(`image/jpeg`,.95),document.body.appendChild(i),i.click(),document.body.removeChild(i),o(t(`markdown.tableImageExported`))}catch(e){n.error(`[SidePanel] export tableimage failed:`,e),o(t(`markdown.exportImageFailed`),`error`)}}var K=!1;function q(){K||typeof document>`u`||!document.addEventListener||(K=!0,document.addEventListener(`click`,e=>{let t=e.target;if(!t||typeof t.closest!=`function`)return;let n=t.closest(`.code-copy-btn`);if(n){e.stopPropagation(),H(n);return}let r=t.closest(`.copy-md-btn`);if(r){e.stopPropagation(),U(r,e);return}let i=t.closest(`.download-excel-btn`);if(i){e.stopPropagation(),W(i);return}let a=t.closest(`.export-table-img-btn`);if(a){e.stopPropagation(),G(a);return}},!0))}function ce(){q()}function J(e){let t=e.cloneNode(!0);return t.querySelectorAll(`.table-header-cell-wrapper`).forEach(e=>{let t=e.textContent.trim();e.innerHTML=``,e.textContent=t,e.classList.remove(`table-header-cell-wrapper`)}),t.querySelectorAll(`.table-toolbar`).forEach(e=>e.remove()),t}var Y=RegExp(`(?:~?/[\\w\\-.\\u4e00-\\u9fa5/]+|\\b[A-Za-z]:\\\\[\\w\\-.\\\\\\u4e00-\\u9fa5]+|\\b[\\w\\-.\\u4e00-\\u9fa5]+/[\\w\\-./\\u4e00-\\u9fa5]*\\.[A-Za-z0-9]{1,6}|\\b[\\w\\-.\\u4e00-\\u9fa5]+\\.[A-Za-z0-9]{1,6})`,`g`);function X(e){if(!e)return[];let t=e.replace(/\bhttps?:\/\/\S+/gi,` `),n=[],r;for(Y.lastIndex=0;(r=Y.exec(t))!==null;){let e=r[0].replace(/[,。、)()\s]+$/,``);e&&(/\/$/.test(e)&&!RegExp(`\\.[A-Za-z0-9]{1,6}$`).test(e)||/[.\\/~]/.test(e)&&(n.includes(e)||n.push(e)))}return n}function Z(e){return(e||``).replace(/\\/g,`/`).replace(/\/+/g,`/`)}async function le(e,n=[]){if(!e)return;let i=e.querySelector(`.markdown-body`)||e,a=new Set((n||[]).map(Z)),o=document.createTreeWalker(i,NodeFilter.SHOW_TEXT,{acceptNode(e){if(!e.nodeValue||!e.nodeValue.trim())return NodeFilter.FILTER_REJECT;let t=e.parentNode;return!t||!t.closest||t.closest(`a, pre, code, script, style, .chat-file-link`)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}}),s=[];for(;o.nextNode();)s.push(o.currentNode);let c=new Set;for(let e of s)for(let t of X(e.nodeValue))c.add(t);if(c.size===0)return;let l=[...c].filter(e=>!a.has(Z(e))),u=new Set;if(l.length>0)try{let e=null;try{let t=await(await r(()=>import(`./workspace-manager-DWIiYfRJ.js`).then(e=>e.j),__vite__mapDeps([0,1,2,3,4]))).getAgentStatusDetail();t&&t.workdir&&(e=t.workdir)}catch{}let t=await r(()=>import(`./side_panel.js`).then(e=>e.t),__vite__mapDeps([5,1,2,3,4,6,7,8,9,0])),n=e?Z(e):null,i=await Promise.all(l.map(e=>t.resolveWorkspaceAbsolutePath(e).catch(()=>null))),a=[];for(let e=0;e<l.length;e++){let t=i[e];if(!n||!t)continue;let r=Z(t);r!==n&&!r.startsWith(n.endsWith(`/`)?n:n+`/`)||a.push({token:l[e],path:t})}if(a.length){let e=await chrome.runtime.sendMessage({type:`CHECK_FILES_EXIST`,paths:a.map(e=>e.path)});if(e&&e.success&&e.results)for(let t of a)e.results[t.path]===!0&&u.add(Z(t.token))}}catch{}let d=e=>a.has(Z(e))||u.has(Z(e)),f=t(`chat.fileLinkTitle`);for(let e of s){let t=e.nodeValue,n=X(t).filter(d);if(n.length===0)continue;let r=n.slice().sort((e,t)=>t.length-e.length),i=document.createDocumentFragment(),a=t;for(;a.length;){let e=-1,t=null;for(let n of r){let r=a.indexOf(n);r!==-1&&(e===-1||r<e)&&(e=r,t=n)}if(e===-1){i.appendChild(document.createTextNode(a));break}e>0&&i.appendChild(document.createTextNode(a.slice(0,e)));let n=document.createElement(`span`);n.className=`chat-file-link`,n.setAttribute(`data-path`,t),n.setAttribute(`title`,f),n.textContent=t,i.appendChild(n),a=a.slice(e+t.length)}e.parentNode&&e.parentNode.replaceChild(i,e)}}var Q=!1;function $(){Q||(Q=!0,document.addEventListener(`click`,async e=>{let n=e.target.closest&&e.target.closest(`.chat-file-link`);if(!n)return;let i=n.getAttribute(`data-path`);if(i)try{await(await r(()=>import(`./side_panel.js`).then(e=>e.t),__vite__mapDeps([5,1,2,3,4,6,7,8,9,0]))).locateFileInWorkspace(i)}catch{o(t(`chat.fileLinkFailed`),`error`)}},!0))}export{$ as a,oe as c,ae as d,T as f,ee as h,le as i,ie as l,g as m,A as n,J as o,S as p,ce as r,C as s,B as t,L as u};