ai-helper-agent 2.7.7 → 2.7.8

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.
@@ -1,4 +1,4 @@
1
- import{a as e,c as t,l as n,r}from"./i18n-Cy3JvhaK.js";import{$ as i,b as a}from"./model-profiles-DmaxlVkA.js";import{b as o,kt as s}from"./session-store-DKG2vsne.js";import{o as c}from"./agent-store-CXWql6bl.js";e(`zh`,{util:{cmdHintPowerShell:"(请使用 PowerShell 语法,如 `Get-ChildItem`、`Set-Content`、`Remove-Item` 等)",cmdHintCmd:"(请使用 CMD 语法,如 `dir`、`echo`、`del` 等)",cmdHintGitBash:"(请使用 Unix 命令,如 `ls`、`cat`、`rm` 等,路径使用正斜杠 `/`)",cmdHintPowerShellShort:`(请使用 PowerShell 语法)`,cmdHintUnix:"(请使用 Unix 命令,如 `ls`、`cat`、`rm` 等)",cmdExecEnvTitle:`## 命令执行环境`,cmdExecOsShell:`**操作系统/Shell**`,cmdExecWorkdir:`工作目录`,cmdExecWorkdirUnset:`未设置`,assistantTerm:`- **助手**:用户创建的 AI 智能体,每个助手有独立的系统提示词和工具权限,可独立工作或被其他助手调度执行子任务`,noDesc:`无描述`,subDispatchTitle:`## 子助手调度`,subDispatchDesc:`使用 dispatch_task(subAgentId, task) 分派子任务给其他助手执行,支持并行调用。`,subDispatchAvailable:`可用子助手:`,agentTerm:`- **代理**:远端执行服务,提供文件操作、命令执行等能力。可通过 manage_agent 工具查询或切换代理`,agentHostLabel:`- 代理主机地址:`,agentHostHint:`(访问代理端服务时请优先使用此地址)`,terminologyTitle:`## 术语定义`,taskPlanningTitle:`## 任务拆解`,taskPlanningDesc:`复杂任务(多步骤、有依赖)拆解为子任务,通常 2-6 个、最多不超过 8 个;简单任务(1-2 步即可完成)直接执行,不要为凑数而拆分。使用 plan_task(taskDescription, subtasks) 提交方案。重要:调用 plan_task 时必须单独调用,同一轮响应中不要同时返回其他工具调用;其他想执行的动作请编入子任务描述,由子任务执行。`,artifactDeclTitle:`## 文件产物声明`,artifactDeclDesc:`当本次任务通过脚本或命令在工作目录内创建/修改了文件(尤其是运行时才确定路径的文件,如带日期的报表),请在最终回答末尾各用一行声明每个产物,格式严格为:[[artifact:相对工作目录或绝对路径|可选中文说明]]。示例:[[artifact:报表_2026-10-20.xlsx|书签统计报表]]。只列本次真实产生的文件,不要虚构、不要列未生成的文件;说明可省略。这些标记不会展示给用户。`,memoryTitle:`## 记忆`,memoryRules:`- 统一工具 agent_memory,通过 action 区分:store(增删改)/recall(检索)/manage(审查清理)
1
+ import{a as e,c as t,l as n,r}from"./i18n-NkRsFRG_.js";import{$ as i,b as a}from"./model-profiles-DH6uFSiB.js";import{b as o,kt as s}from"./session-store-BXelxKzG.js";import{o as c}from"./agent-store-sKnc7YcJ.js";e(`zh`,{util:{cmdHintPowerShell:"(请使用 PowerShell 语法,如 `Get-ChildItem`、`Set-Content`、`Remove-Item` 等)",cmdHintCmd:"(请使用 CMD 语法,如 `dir`、`echo`、`del` 等)",cmdHintGitBash:"(请使用 Unix 命令,如 `ls`、`cat`、`rm` 等,路径使用正斜杠 `/`)",cmdHintPowerShellShort:`(请使用 PowerShell 语法)`,cmdHintUnix:"(请使用 Unix 命令,如 `ls`、`cat`、`rm` 等)",cmdExecEnvTitle:`## 命令执行环境`,cmdExecOsShell:`**操作系统/Shell**`,cmdExecWorkdir:`工作目录`,cmdExecWorkdirUnset:`未设置`,assistantTerm:`- **助手**:用户创建的 AI 智能体,每个助手有独立的系统提示词和工具权限,可独立工作或被其他助手调度执行子任务`,noDesc:`无描述`,subDispatchTitle:`## 子助手调度`,subDispatchDesc:`使用 dispatch_task(subAgentId, task) 分派子任务给其他助手执行,支持并行调用。`,subDispatchAvailable:`可用子助手:`,agentTerm:`- **代理**:远端执行服务,提供文件操作、命令执行等能力。可通过 manage_agent 工具查询或切换代理`,agentHostLabel:`- 代理主机地址:`,agentHostHint:`(访问代理端服务时请优先使用此地址)`,terminologyTitle:`## 术语定义`,taskPlanningTitle:`## 任务拆解`,taskPlanningDesc:`复杂任务(多步骤、有依赖)拆解为子任务,通常 2-6 个、最多不超过 8 个;简单任务(1-2 步即可完成)直接执行,不要为凑数而拆分。使用 plan_task(taskDescription, subtasks) 提交方案。重要:调用 plan_task 时必须单独调用,同一轮响应中不要同时返回其他工具调用;其他想执行的动作请编入子任务描述,由子任务执行。`,artifactDeclTitle:`## 文件产物声明`,artifactDeclDesc:`当本次任务通过脚本或命令在工作目录内创建/修改了文件(尤其是运行时才确定路径的文件,如带日期的报表),请在最终回答末尾各用一行声明每个产物,格式严格为:[[artifact:相对工作目录或绝对路径|可选中文说明]]。示例:[[artifact:报表_2026-10-20.xlsx|书签统计报表]]。只列本次真实产生的文件,不要虚构、不要列未生成的文件;说明可省略。这些标记不会展示给用户。`,memoryTitle:`## 记忆`,memoryRules:`- 统一工具 agent_memory,通过 action 区分:store(增删改)/recall(检索)/manage(审查清理)
2
2
  - store: subAction=add需type+content,update需memoryId+type,**delete仅需memoryId无需type**。**删除前先recall查id**
3
3
  - recall: query用关键词(如"考试"),不用完整句子。可选memoryType和limit
4
4
  - manage: subAction=review审查价值,compact清理低价值
@@ -1,3 +1,3 @@
1
1
  var e=`appTheme`,t=[`light`,`dark`,`system`],n=`light`,r=`light`,i=null,a=null,o=[],s=!1;function c(e){let t=e!==r;r=e,typeof document<`u`&&document.documentElement.setAttribute(`data-theme`,e);try{localStorage.setItem(`appThemeResolved`,e)}catch{}t&&o.slice().forEach(t=>{try{t(e)}catch(e){console.warn(`[theme] subscriber error`,e)}})}function l(e){return e===`system`?typeof matchMedia<`u`&&matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`:e===`dark`?`dark`:`light`}(function(){try{let e=typeof localStorage<`u`&&localStorage.getItem(`appThemeResolved`);(e===`dark`||e===`light`)&&(r=e,typeof document<`u`&&document.documentElement.setAttribute(`data-theme`,e))}catch{}})();function u(){return n}function d(){return r}function ee(e){o.push(e)}async function te(){typeof matchMedia<`u`&&(i=matchMedia(`(prefers-color-scheme: dark)`),a&&i.removeEventListener(`change`,a),a=()=>{n===`system`&&c(l(`system`))},i.addEventListener(`change`,a)),!s&&typeof chrome<`u`&&chrome.storage&&chrome.storage.onChanged&&(chrome.storage.onChanged.addListener((e,r)=>{r===`local`&&e.appTheme&&t.includes(e.appTheme.newValue)&&(n=e.appTheme.newValue,c(l(n)))}),s=!0);let r=await new Promise(t=>{try{chrome.storage.local.get([e],e=>{if(chrome.runtime&&chrome.runtime.lastError){t(null);return}t(e||{})})}catch{t(null)}});r!==null&&(n=t.includes(r[e])?r[e]:`light`,c(l(n)))}async function ne(e){t.includes(e)&&(n=e,c(l(e)),await new Promise(t=>chrome.storage.local.set({appTheme:e},t)))}function f(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function p(e){if(Array.isArray(e))return e}function re(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function ie(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function m(e,t){return p(e)||re(e,t)||h(e,t)||ie()}function h(e,t){if(e){if(typeof e==`string`)return f(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}var ae=Object.entries,g=Object.setPrototypeOf,_=Object.isFrozen,oe=Object.getPrototypeOf,se=Object.getOwnPropertyDescriptor,v=Object.freeze,y=Object.seal,b=Object.create,x=typeof Reflect<`u`&&Reflect,ce=x.apply,S=x.construct;v||=function(e){return e},y||=function(e){return e},ce||=function(e,t){var n=[...arguments].slice(2);return e.apply(t,n)},S||=function(e){return new e(...[...arguments].slice(1))};var le=A(Array.prototype.forEach),ue=A(Array.prototype.lastIndexOf),de=A(Array.prototype.pop),C=A(Array.prototype.push),fe=A(Array.prototype.splice),w=Array.isArray,pe=A(String.prototype.toLowerCase),me=A(String.prototype.toString),he=A(String.prototype.match),ge=A(String.prototype.replace),_e=A(String.prototype.indexOf),ve=A(String.prototype.trim),ye=A(Number.prototype.toString),be=A(Boolean.prototype.toString),T=typeof BigInt>`u`?null:A(BigInt.prototype.toString),xe=typeof Symbol>`u`?null:A(Symbol.prototype.toString),E=A(Object.prototype.hasOwnProperty),D=A(Object.prototype.toString),O=A(RegExp.prototype.test),k=Se(TypeError);function A(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return ce(e,t,n)}}function Se(e){return function(){return S(e,[...arguments])}}function j(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:pe;if(g&&g(e,null),!w(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(_(t)||(t[r]=e),i=e)}e[i]=!0}return e}function Ce(e){for(let t=0;t<e.length;t++)E(e,t)||(e[t]=null);return e}function M(e){let t=b(null);for(let r of ae(e)){var n=m(r,2);let i=n[0],a=n[1];E(e,i)&&(w(a)?t[i]=Ce(a):a&&typeof a==`object`&&a.constructor===Object?t[i]=M(a):t[i]=a)}return t}function we(e){switch(typeof e){case`string`:return e;case`number`:return ye(e);case`boolean`:return be(e);case`bigint`:return T?T(e):`0`;case`symbol`:return xe?xe(e):`Symbol()`;case`undefined`:return D(e);case`function`:case`object`:{if(e===null)return D(e);let t=e,n=N(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:D(e)}return D(e)}default:return D(e)}}function N(e,t){for(;e!==null;){let n=se(e,t);if(n){if(n.get)return A(n.get);if(typeof n.value==`function`)return A(n.value)}e=oe(e)}function n(){return null}return n}function Te(e){try{return O(e,``),!0}catch{return!1}}var Ee=v(`a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr`.split(`.`)),De=v(`svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern`.split(`.`)),Oe=v([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]),ke=v([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]),Ae=v(`math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts`.split(`.`)),je=v([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),Me=v([`#text`]),Ne=v(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns`.split(`.`)),Pe=v(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),Fe=v(`accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),Ie=v([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),Le=y(/{{[\w\W]*|^[\w\W]*}}/g),Re=y(/<%[\w\W]*|^[\w\W]*%>/g),ze=y(/\${[\w\W]*/g),Be=y(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ve=y(/^aria-[\-\w]+$/),He=y(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ue=y(/^(?:\w+script|data):/i),We=y(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ge=y(/^html$/i),Ke=y(/^[a-z][.\w]*(-[.\w]+)+$/i),qe=y(/<[/\w!]/g),Je=y(/<[/\w]/g),Ye=y(/<\/no(script|embed|frames)/i),Xe=y(/\/>/i),P={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Ze=function(){return typeof window>`u`?null:window},Qe=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},$e=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},F=function(e,t,n,r){return E(e,t)&&w(e[t])?j(r.base?M(r.base):{},e[t],r.transform):n};function et(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ze(),t=e=>et(e);if(t.version=`3.4.12`,t.removed=[],!e||!e.document||e.document.nodeType!==P.document||!e.Element)return t.isSupported=!1,t;let n=e.document,r=n,i=r.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let l=e.DOMParser,u=e.trustedTypes,d=s.prototype,ee=N(d,`cloneNode`),te=N(d,`remove`),ne=N(d,`nextSibling`),f=N(d,`childNodes`),p=N(d,`parentNode`),re=N(d,`shadowRoot`),ie=N(d,`attributes`),m=o&&o.prototype?N(o.prototype,`nodeType`):null,h=o&&o.prototype?N(o.prototype,`nodeName`):null;if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let g,_=``,oe,se=!1,x=0,ce=function(){if(x>0)throw k(`A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.`)},S=function(e){ce(),x++;try{return g.createHTML(e)}finally{x--}},ye=function(e){ce(),x++;try{return g.createScriptURL(e)}finally{x--}},be=function(){return se||=(oe=Qe(u,i),!0),oe},T=n,xe=T.implementation,D=T.createNodeIterator,A=T.createDocumentFragment,Se=T.getElementsByTagName,Ce=r.importNode,I=$e();t.isSupported=typeof ae==`function`&&typeof p==`function`&&xe&&xe.createHTMLDocument!==void 0;let tt=Le,nt=Re,L=ze,rt=Be,it=Ve,at=Ue,ot=We,st=Ke,ct=He,R=null,lt=j({},[...Ee,...De,...Oe,...Ae,...Me]),z=null,ut=j({},[...Ne,...Pe,...Fe,...Ie]),B=Object.seal(b(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),dt=null,ft=null,V=Object.seal(b(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),pt=!0,mt=!0,ht=!1,gt=!0,H=!1,U=!0,W=!1,_t=!1,vt=null,yt=null,bt=!1,G=!1,xt=!1,St=!1,Ct=!0,wt=!1,Tt=`user-content-`,Et=!0,Dt=!1,K={},q=null,Ot=j({},`annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp`.split(`.`)),kt=null,At=j({},[`audio`,`video`,`img`,`source`,`image`,`track`]),jt=null,Mt=j({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),Nt=`http://www.w3.org/1998/Math/MathML`,Pt=`http://www.w3.org/2000/svg`,J=`http://www.w3.org/1999/xhtml`,Y=J,Ft=!1,It=null,Lt=j({},[Nt,Pt,J],me),Rt=v([`mi`,`mo`,`mn`,`ms`,`mtext`]),zt=j({},Rt),Bt=v([`annotation-xml`]),Vt=j({},Bt),Ht=j({},[`title`,`style`,`font`,`a`,`script`]),Ut=null,Wt=[`application/xhtml+xml`,`text/html`],X=null,Gt=null,Kt=n.createElement(`form`),qt=function(e){return e instanceof RegExp||e instanceof Function},Jt=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Gt&&Gt===e)return;(!e||typeof e!=`object`)&&(e={}),e=M(e),Ut=Wt.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,X=Ut===`application/xhtml+xml`?me:pe,R=F(e,`ALLOWED_TAGS`,lt,{transform:X}),z=F(e,`ALLOWED_ATTR`,ut,{transform:X}),It=F(e,`ALLOWED_NAMESPACES`,Lt,{transform:me}),jt=F(e,`ADD_URI_SAFE_ATTR`,Mt,{transform:X,base:Mt}),kt=F(e,`ADD_DATA_URI_TAGS`,At,{transform:X,base:At}),q=F(e,`FORBID_CONTENTS`,Ot,{transform:X}),dt=F(e,`FORBID_TAGS`,M({}),{transform:X}),ft=F(e,`FORBID_ATTR`,M({}),{transform:X}),K=E(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?M(e.USE_PROFILES):e.USE_PROFILES:!1,pt=e.ALLOW_ARIA_ATTR!==!1,mt=e.ALLOW_DATA_ATTR!==!1,ht=e.ALLOW_UNKNOWN_PROTOCOLS||!1,gt=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,H=e.SAFE_FOR_TEMPLATES||!1,U=e.SAFE_FOR_XML!==!1,W=e.WHOLE_DOCUMENT||!1,G=e.RETURN_DOM||!1,xt=e.RETURN_DOM_FRAGMENT||!1,St=e.RETURN_TRUSTED_TYPE||!1,bt=e.FORCE_BODY||!1,Ct=e.SANITIZE_DOM!==!1,wt=e.SANITIZE_NAMED_PROPS||!1,Et=e.KEEP_CONTENT!==!1,Dt=e.IN_PLACE||!1,ct=Te(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:He,Y=typeof e.NAMESPACE==`string`?e.NAMESPACE:J,zt=E(e,`MATHML_TEXT_INTEGRATION_POINTS`)&&e.MATHML_TEXT_INTEGRATION_POINTS&&typeof e.MATHML_TEXT_INTEGRATION_POINTS==`object`?M(e.MATHML_TEXT_INTEGRATION_POINTS):j({},Rt),Vt=E(e,`HTML_INTEGRATION_POINTS`)&&e.HTML_INTEGRATION_POINTS&&typeof e.HTML_INTEGRATION_POINTS==`object`?M(e.HTML_INTEGRATION_POINTS):j({},Bt);let t=E(e,`CUSTOM_ELEMENT_HANDLING`)&&e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING==`object`?M(e.CUSTOM_ELEMENT_HANDLING):b(null);if(B=b(null),E(t,`tagNameCheck`)&&qt(t.tagNameCheck)&&(B.tagNameCheck=t.tagNameCheck),E(t,`attributeNameCheck`)&&qt(t.attributeNameCheck)&&(B.attributeNameCheck=t.attributeNameCheck),E(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(B.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),y(B),H&&(mt=!1),xt&&(G=!0),K&&(R=j({},Me),z=b(null),K.html===!0&&(j(R,Ee),j(z,Ne)),K.svg===!0&&(j(R,De),j(z,Pe),j(z,Ie)),K.svgFilters===!0&&(j(R,Oe),j(z,Pe),j(z,Ie)),K.mathMl===!0&&(j(R,Ae),j(z,Fe),j(z,Ie))),V.tagCheck=null,V.attributeCheck=null,E(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?V.tagCheck=e.ADD_TAGS:w(e.ADD_TAGS)&&(R===lt&&(R=M(R)),j(R,e.ADD_TAGS,X))),E(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?V.attributeCheck=e.ADD_ATTR:w(e.ADD_ATTR)&&(z===ut&&(z=M(z)),j(z,e.ADD_ATTR,X))),E(e,`ADD_URI_SAFE_ATTR`)&&w(e.ADD_URI_SAFE_ATTR)&&j(jt,e.ADD_URI_SAFE_ATTR,X),E(e,`FORBID_CONTENTS`)&&w(e.FORBID_CONTENTS)&&(q===Ot&&(q=M(q)),j(q,e.FORBID_CONTENTS,X)),E(e,`ADD_FORBID_CONTENTS`)&&w(e.ADD_FORBID_CONTENTS)&&(q===Ot&&(q=M(q)),j(q,e.ADD_FORBID_CONTENTS,X)),Et&&(R[`#text`]=!0),W&&j(R,[`html`,`head`,`body`]),R.table&&(j(R,[`tbody`]),delete dt.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw k(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw k(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=g;g=e.TRUSTED_TYPES_POLICY;try{_=S(``)}catch(e){throw g=t,e}}else e.TRUSTED_TYPES_POLICY===null?(g=void 0,_=``):(g===void 0&&(g=be()),g&&typeof _==`string`&&(_=S(``)));v&&v(e),Gt=e},Yt=j({},[...De,...Oe,...ke]),Xt=j({},[...Ae,...je]),Zt=function(e,t,n){return t.namespaceURI===J?e===`svg`:t.namespaceURI===Nt?e===`svg`&&(n===`annotation-xml`||zt[n]):!!Yt[e]},Qt=function(e,t,n){return t.namespaceURI===J?e===`math`:t.namespaceURI===Pt?e===`math`&&Vt[n]:!!Xt[e]},$t=function(e,t,n){return t.namespaceURI===Pt&&!Vt[n]||t.namespaceURI===Nt&&!zt[n]?!1:!Xt[e]&&(Ht[e]||!Yt[e])},en=function(e){let t=p(e);(!t||!t.tagName)&&(t={namespaceURI:Y,tagName:`template`});let n=pe(e.tagName),r=pe(t.tagName);return It[e.namespaceURI]?e.namespaceURI===Pt?Zt(n,t,r):e.namespaceURI===Nt?Qt(n,t,r):e.namespaceURI===J?$t(n,t,r):!!(Ut===`application/xhtml+xml`&&It[e.namespaceURI]):!1},Z=function(e){C(t.removed,{element:e});try{p(e).removeChild(e)}catch{if(te(e),!p(e))throw k(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},tn=function(e){rn(e);let t=f(e);if(t){let e=[];le(t,t=>{C(e,t)}),le(e,e=>{try{te(e)}catch{}})}let n=ie(e);if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;if(typeof i==`string`)try{e.removeAttribute(i)}catch{}}},Q=function(e,n){try{C(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch{C(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),e===`is`)if(G||xt)try{Z(n)}catch{}else try{n.setAttribute(e,``)}catch{}},nn=function(e){let t=ie(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;if(!(typeof i!=`string`||z[X(i)]))try{e.removeAttribute(i)}catch{}}},rn=function(e){let t=[e];for(;t.length>0;){let e=t.pop();(m?m(e):e.nodeType)===P.element&&nn(e);let n=f(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},an=function(e){if(!U)return;let t=[e];for(;t.length>0;){let e=t.pop(),n=m?m(e):e.nodeType;if(n===P.processingInstruction||n===P.comment&&O(Je,e.data)){try{te(e)}catch{}continue}if(n===P.element){let t=e,n=X(h?h(e):e.nodeName);try{t.hasAttribute&&t.hasAttribute(`patchsrc`)&&t.removeAttribute(`patchsrc`),t.hasAttribute&&t.hasAttribute(`for`)&&n!==`label`&&n!==`output`&&t.removeAttribute(`for`)}catch{}}let r=f(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}},on=function(e){let t=null,r=null;if(bt)e=`<remove></remove>`+e;else{let t=he(e,/^[\r\n\t ]+/);r=t&&t[0]}Ut===`application/xhtml+xml`&&Y===J&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=g?S(e):e;if(Y===J)try{t=new l().parseFromString(i,Ut)}catch{}if(!t||!t.documentElement){t=xe.createDocument(Y,`template`,null);try{t.documentElement.innerHTML=Ft?_:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),Y===J?Se.call(t,W?`html`:`body`)[0]:W?t.documentElement:a},sn=function(e){return D.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},cn=function(e){return e=ge(e,tt,` `),e=ge(e,nt,` `),e=ge(e,L,` `),e},ln=function(e){e.normalize();let t=D.call(e.ownerDocument||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),n=t.nextNode();for(;n;)n.data=cn(n.data),n=t.nextNode();let r=e.querySelectorAll?.call(e,`template`);r&&le(r,e=>{dn(e.content)&&ln(e.content)})},un=function(e){let t=h?h(e):null;return typeof t!=`string`||X(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==ie(e)||typeof e.removeAttribute!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==m(e)||e.childNodes!==f(e)},dn=function(e){if(!m||typeof e!=`object`||!e)return!1;try{return m(e)===P.documentFragment}catch{return!1}},fn=function(e){if(!m||typeof e!=`object`||!e)return!1;try{return typeof m(e)==`number`}catch{return!1}};function $(e,n,r){e.length!==0&&le(e,e=>{e.call(t,n,r,Gt)})}let pn=function(e,t){return!!(U&&e.hasChildNodes()&&!fn(e.firstElementChild)&&O(qe,e.textContent)&&O(qe,e.innerHTML)||U&&e.namespaceURI===J&&t===`style`&&fn(e.firstElementChild)||e.nodeType===P.processingInstruction||U&&e.nodeType===P.comment&&O(Je,e.data))},mn=function(e,t){if(!dt[t]&&vn(t)&&(B.tagNameCheck instanceof RegExp&&O(B.tagNameCheck,t)||B.tagNameCheck instanceof Function&&B.tagNameCheck(t)))return!1;if(Et&&!q[t]){let t=p(e),n=f(e);if(n&&t){let r=n.length;for(let i=r-1;i>=0;--i){let r=Dt?n[i]:ee(n[i],!0);t.insertBefore(r,ne(e))}}}return Z(e),!0},hn=function(e,n){if($(I.beforeSanitizeElements,e,null),e!==n&&p(e)===null)return!0;if(un(e))return Z(e),!0;let r=X(h?h(e):e.nodeName);if($(I.uponSanitizeElement,e,{tagName:r,allowedTags:R}),e!==n&&p(e)===null)return!0;if(pn(e,r))return Z(e),!0;if(dt[r]||!(V.tagCheck instanceof Function&&V.tagCheck(r))&&!R[r]){let t=mn(e,r);return t===!1&&$(I.afterSanitizeElements,e,null),t}if((m?m(e):e.nodeType)===P.element&&!en(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&O(Ye,e.innerHTML))return Z(e),!0;if(H&&e.nodeType===P.text){let n=cn(e.textContent);e.textContent!==n&&(C(t.removed,{element:e.cloneNode()}),e.textContent=n)}return $(I.afterSanitizeElements,e,null),!1},gn=function(e,t,r){if(ft[t]||U&&t===`patchsrc`||U&&t===`for`&&e!==`label`&&e!==`output`||Ct&&(t===`id`||t===`name`)&&(r in n||r in Kt))return!1;let i=z[t]||V.attributeCheck instanceof Function&&V.attributeCheck(t,e);if(!(mt&&O(rt,t))&&!(pt&&O(it,t))){if(!i){if(!(vn(e)&&(B.tagNameCheck instanceof RegExp&&O(B.tagNameCheck,e)||B.tagNameCheck instanceof Function&&B.tagNameCheck(e))&&(B.attributeNameCheck instanceof RegExp&&O(B.attributeNameCheck,t)||B.attributeNameCheck instanceof Function&&B.attributeNameCheck(t,e))||t===`is`&&B.allowCustomizedBuiltInElements&&(B.tagNameCheck instanceof RegExp&&O(B.tagNameCheck,r)||B.tagNameCheck instanceof Function&&B.tagNameCheck(r))))return!1}else if(!jt[t]&&!O(ct,ge(r,ot,``))&&!((t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&_e(r,`data:`)===0&&kt[e])&&!(ht&&!O(at,ge(r,ot,``)))&&r)return!1}return!0},_n=j({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),vn=function(e){return!_n[pe(e)]&&O(st,e)},yn=function(e,t,n,r){if(g&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!n)switch(u.getAttributeType(e,t)){case`TrustedHTML`:return S(r);case`TrustedScriptURL`:return ye(r)}return r},bn=function(e,n,r,i){try{r?e.setAttributeNS(r,n,i):e.setAttribute(n,i),un(e)?Z(e):de(t.removed)}catch{Q(n,e)}},xn=function(e){$(I.beforeSanitizeAttributes,e,null);let t=e.attributes;if(!t||un(e))return;let n={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:z,forceKeepAttr:void 0},r=t.length,i=X(e.nodeName);for(;r--;){let a=t[r],o=a.name,s=a.namespaceURI,c=a.value,l=X(o),u=c,d=o===`value`?u:ve(u);if(n.attrName=l,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,$(I.uponSanitizeAttribute,e,n),d=n.attrValue,wt&&(l===`id`||l===`name`)&&_e(d,Tt)!==0&&(Q(o,e),d=Tt+d),U&&O(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)){Q(o,e);continue}if(l===`attributename`&&he(d,`href`)){Q(o,e);continue}if(!n.forceKeepAttr){if(!n.keepAttr){Q(o,e);continue}if(!gt&&O(Xe,d)){Q(o,e);continue}if(H&&(d=cn(d)),!gn(i,l,d)){Q(o,e);continue}d=yn(i,l,s,d),d!==u&&bn(e,o,s,d)}}$(I.afterSanitizeAttributes,e,null)},Sn=function(e){let t=null,n=sn(e);for($(I.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if($(I.uponSanitizeShadowNode,t,null),hn(t,e),xn(t),dn(t.content)&&Sn(t.content),(m?m(t):t.nodeType)===P.element){let e=re(t);dn(e)&&(Cn(e),Sn(e))}$(I.afterSanitizeShadowDOM,e,null)},Cn=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){Sn(e.shadow);continue}let n=e.node,r=(m?m(n):n.nodeType)===P.element,i=f(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){let e=h?h(n):null;if(typeof e==`string`&&X(e)===`template`){let e=n.content;dn(e)&&t.push({node:e,shadow:null})}}if(r){let e=re(n);dn(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,a=null,o=null,s=null;if(Ft=!e,Ft&&(e=`<!-->`),typeof e!=`string`&&!fn(e)&&(e=we(e),typeof e!=`string`))throw k(`dirty is not a string, aborting`);if(!t.isSupported)return e;_t?(R=vt,z=yt):Jt(n),(I.uponSanitizeElement.length>0||I.uponSanitizeAttribute.length>0)&&(R=M(R)),I.uponSanitizeAttribute.length>0&&(z=M(z)),t.removed=[];let c=Dt&&typeof e!=`string`&&fn(e);if(c){an(e);let t=h?h(e):e.nodeName;if(typeof t==`string`){let n=X(t);if(!R[n]||dt[n])throw tn(e),k(`root node is forbidden and cannot be sanitized in-place`)}if(un(e))throw tn(e),k(`root node is clobbered and cannot be sanitized in-place`);try{Cn(e)}catch(t){throw tn(e),t}}else if(fn(e))i=on(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===P.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),Cn(a);else{if(!G&&!H&&!W&&e.indexOf(`<`)===-1)return g&&St?S(e):e;if(i=on(e),!i)return G?null:St?_:``}i&&bt&&Z(i.firstChild);let l=c?e:i,u=sn(l);try{for(;o=u.nextNode();)hn(o,l),xn(o),dn(o.content)&&Sn(o.content)}catch(n){throw c&&(tn(e),le(t.removed,e=>{e.element&&rn(e.element)})),n}if(c)return le(t.removed,e=>{e.element&&rn(e.element)}),H&&ln(e),e;if(G){if(H&&ln(i),xt)for(s=A.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(z.shadowroot||z.shadowrootmode)&&(s=Ce.call(r,s,!0)),s}let d=W?i.outerHTML:i.innerHTML;return W&&R[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&O(Ge,i.ownerDocument.doctype.name)&&(d=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
3
- `+d),H&&(d=cn(d)),g&&St?S(d):d},t.setConfig=function(){Jt(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}),_t=!0,vt=R,yt=z},t.clearConfig=function(){Gt=null,_t=!1,vt=null,yt=null,g=oe,_=``},t.isValidAttribute=function(e,t,n){return Gt||Jt({}),gn(X(e),X(t),n)},t.addHook=function(e,t){typeof t==`function`&&E(I,e)&&C(I[e],t)},t.removeHook=function(e,t){if(E(I,e)){if(t!==void 0){let n=ue(I[e],t);return n===-1?void 0:fe(I[e],n,1)[0]}return de(I[e])}},t.removeHooks=function(e){E(I,e)&&(I[e]=[])},t.removeAllHooks=function(){I=$e()},t}var I=et(),tt=`voiceInputDevice`,nt=new Set([`default`,`communications`]);function L(e){return typeof e==`string`?e.trim():``}function rt(e){let t=L(e),n={channelCount:1,echoCancellation:!0,noiseSuppression:!0,autoGainControl:!0};return t?{...n,deviceId:{exact:t}}:n}function it(e){try{return(e.navigator??globalThis.navigator)?.mediaDevices||null}catch{return null}}async function at(e={}){let t=it(e);if(!t||typeof t.enumerateDevices!=`function`)return[];let n;try{n=await t.enumerateDevices()}catch{return[]}let r=new Set,i=[];for(let e of Array.isArray(n)?n:[]){if(e?.kind!==`audioinput`)continue;let t=L(e.deviceId);!t||nt.has(t)||r.has(t)||(r.add(t),i.push({deviceId:t,label:typeof e.label==`string`?e.label.trim():``}))}return i}function ot(e,t){let n=L(t);return n?(Array.isArray(e)?e:[]).some(e=>e?.deviceId===n):!0}var st=2500,ct=Symbol(`device-enum-timeout`);async function R(e={},t=st){let n=it(e);if(!n||typeof n.enumerateDevices!=`function`)return{devices:[],timedOut:!1,unsupported:!0};let r=Math.max(0,Number(t)||2500),i=null,a=new Promise(e=>{i=setTimeout(()=>e(ct),r)});try{let t=await Promise.race([at(e),a]);return t===ct?{devices:[],timedOut:!0,unsupported:!1}:{devices:t,timedOut:!1,unsupported:!1}}finally{i!==null&&clearTimeout(i)}}var lt=1500;async function z(e={},t=lt){let n=it(e);if(!n||typeof n.getUserMedia!=`function`)return!1;let r=Math.max(0,Number(t)||1500),i=e=>{try{e?.getTracks?.().forEach(e=>e.stop())}catch{}},a=!1,o=null,s=null,c=Promise.resolve().then(()=>n.getUserMedia({audio:!0})).then(e=>(a?i(e):o=e,!!e)).catch(()=>!1),l=new Promise(e=>{s=setTimeout(()=>e(!1),r)}),u;try{u=await Promise.race([c,l])}finally{s!==null&&clearTimeout(s),a=!0,i(o),o=null}return u===!0}function ut(){try{return globalThis.chrome?.storage?.local||null}catch{return null}}async function B(){let e=ut();if(!e?.get)return``;try{return L((await e.get(tt))?.[tt])}catch{return``}}async function dt(e){let t=L(e),n=ut();if(!n?.set)return t;try{await n.set({[tt]:t})}catch{}return t}function ft(e,t={}){let n=it(t);if(!n||typeof n.addEventListener!=`function`)return()=>{};let r=()=>{try{e()}catch{}};try{n.addEventListener(`devicechange`,r)}catch{return()=>{}}return()=>{try{n.removeEventListener(`devicechange`,r)}catch{}}}async function V(e,t={}){let n=it(t);if(!n||typeof n.getUserMedia!=`function`){let e=Error(`unsupported`);throw e.name=`NotSupportedError`,e}let r=L(e);try{return{stream:await n.getUserMedia({audio:rt(r)}),fellBack:!1,deviceId:r}}catch(e){let t=e?.name||``;if(!r||!(t===`OverconstrainedError`||t===`NotFoundError`||t===`NotReadableError`))throw e;return{stream:await n.getUserMedia({audio:rt(``)}),fellBack:!0,deviceId:``,error:t}}}var pt={version:`2.7.7`,tag:`v2.7.7`,commitId:`121804edf8318beb7481018d9d2795512bf358a0`,publishedAt:`2026-11-03T14:37:49.573Z`};export{R as a,ft as c,u as d,te as f,B as i,I as l,ee as m,V as n,dt as o,ne as p,ot as r,z as s,pt as t,d as u};
3
+ `+d),H&&(d=cn(d)),g&&St?S(d):d},t.setConfig=function(){Jt(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}),_t=!0,vt=R,yt=z},t.clearConfig=function(){Gt=null,_t=!1,vt=null,yt=null,g=oe,_=``},t.isValidAttribute=function(e,t,n){return Gt||Jt({}),gn(X(e),X(t),n)},t.addHook=function(e,t){typeof t==`function`&&E(I,e)&&C(I[e],t)},t.removeHook=function(e,t){if(E(I,e)){if(t!==void 0){let n=ue(I[e],t);return n===-1?void 0:fe(I[e],n,1)[0]}return de(I[e])}},t.removeHooks=function(e){E(I,e)&&(I[e]=[])},t.removeAllHooks=function(){I=$e()},t}var I=et(),tt=`voiceInputDevice`,nt=new Set([`default`,`communications`]);function L(e){return typeof e==`string`?e.trim():``}function rt(e){let t=L(e),n={channelCount:1,echoCancellation:!0,noiseSuppression:!0,autoGainControl:!0};return t?{...n,deviceId:{exact:t}}:n}function it(e){try{return(e.navigator??globalThis.navigator)?.mediaDevices||null}catch{return null}}async function at(e={}){let t=it(e);if(!t||typeof t.enumerateDevices!=`function`)return[];let n;try{n=await t.enumerateDevices()}catch{return[]}let r=new Set,i=[];for(let e of Array.isArray(n)?n:[]){if(e?.kind!==`audioinput`)continue;let t=L(e.deviceId);!t||nt.has(t)||r.has(t)||(r.add(t),i.push({deviceId:t,label:typeof e.label==`string`?e.label.trim():``}))}return i}function ot(e,t){let n=L(t);return n?(Array.isArray(e)?e:[]).some(e=>e?.deviceId===n):!0}var st=2500,ct=Symbol(`device-enum-timeout`);async function R(e={},t=st){let n=it(e);if(!n||typeof n.enumerateDevices!=`function`)return{devices:[],timedOut:!1,unsupported:!0};let r=Math.max(0,Number(t)||2500),i=null,a=new Promise(e=>{i=setTimeout(()=>e(ct),r)});try{let t=await Promise.race([at(e),a]);return t===ct?{devices:[],timedOut:!0,unsupported:!1}:{devices:t,timedOut:!1,unsupported:!1}}finally{i!==null&&clearTimeout(i)}}var lt=1500;async function z(e={},t=lt){let n=it(e);if(!n||typeof n.getUserMedia!=`function`)return!1;let r=Math.max(0,Number(t)||1500),i=e=>{try{e?.getTracks?.().forEach(e=>e.stop())}catch{}},a=!1,o=null,s=null,c=Promise.resolve().then(()=>n.getUserMedia({audio:!0})).then(e=>(a?i(e):o=e,!!e)).catch(()=>!1),l=new Promise(e=>{s=setTimeout(()=>e(!1),r)}),u;try{u=await Promise.race([c,l])}finally{s!==null&&clearTimeout(s),a=!0,i(o),o=null}return u===!0}function ut(){try{return globalThis.chrome?.storage?.local||null}catch{return null}}async function B(){let e=ut();if(!e?.get)return``;try{return L((await e.get(tt))?.[tt])}catch{return``}}async function dt(e){let t=L(e),n=ut();if(!n?.set)return t;try{await n.set({[tt]:t})}catch{}return t}function ft(e,t={}){let n=it(t);if(!n||typeof n.addEventListener!=`function`)return()=>{};let r=()=>{try{e()}catch{}};try{n.addEventListener(`devicechange`,r)}catch{return()=>{}}return()=>{try{n.removeEventListener(`devicechange`,r)}catch{}}}async function V(e,t={}){let n=it(t);if(!n||typeof n.getUserMedia!=`function`){let e=Error(`unsupported`);throw e.name=`NotSupportedError`,e}let r=L(e);try{return{stream:await n.getUserMedia({audio:rt(r)}),fellBack:!1,deviceId:r}}catch(e){let t=e?.name||``;if(!r||!(t===`OverconstrainedError`||t===`NotFoundError`||t===`NotReadableError`))throw e;return{stream:await n.getUserMedia({audio:rt(``)}),fellBack:!0,deviceId:``,error:t}}}var pt={version:`2.7.8`,tag:`v2.7.8`,commitId:`46ca9853804b1d9fb6ce63f9b5ea4fff3f26c8e3`,publishedAt:`2026-11-07T12:53:49.024Z`};export{R as a,ft as c,u as d,te as f,B as i,I as l,ee as m,V as n,dt as o,ne as p,ot as r,z as s,pt as t,d as u};
@@ -1 +1 @@
1
- import{r as e}from"./chunk-CMxvf4Kt.js";import{a as t,c as n,l as r}from"./i18n-Cy3JvhaK.js";import{b as i}from"./model-profiles-DmaxlVkA.js";import{b as a,jt as o}from"./session-store-DKG2vsne.js";var s=e({PICK_DIRECTORY_CLIENT_TIMEOUT_MS:()=>j,buildAgentHeaders:()=>x,createDir:()=>Y,deleteFs:()=>q,downloadFile:()=>L,downloadFileStream:()=>U,downloadFileStreamWithProgress:()=>W,downloadFiles:()=>R,downloadFilesStream:()=>G,downloadFilesStreamWithProgress:()=>K,formatFileSize:()=>u,formatTime:()=>d,getAgentConfig:()=>w,getAgentStatusDetail:()=>O,getFileIcon:()=>l,getFileInfo:()=>Z,getHomeDir:()=>E,getMimeType:()=>h,getPreviewType:()=>p,getWorkspaceRoot:()=>T,isImageFile:()=>m,listDirectory:()=>P,moveFs:()=>X,pickDirectory:()=>M,readFileContent:()=>F,removeAllowedPath:()=>A,renameFs:()=>J,resetWorkspaceRoot:()=>D,searchFilesRemote:()=>V,supportsPreview:()=>f,switchWorkspace:()=>k,writeFileContent:()=>I});t(`zh`,{workspaceMgr:{agentNotPairedDetail:`Agent 未配对,请先在设置中完成配对`,agentNotPaired:`Agent 未配对`,requestFailed:`请求失败: {message}`,downloadFailed:`下载失败`,cancelled:`已取消`}}),t(`en`,{workspaceMgr:{agentNotPairedDetail:`Agent not paired. Please complete pairing in Settings first.`,agentNotPaired:`Agent not paired`,requestFailed:`Request failed: {message}`,downloadFailed:`Download failed`,cancelled:`Cancelled`}});var c={txt:`📄`,md:`📝`,json:`📋`,js:`📜`,mjs:`📜`,ts:`📘`,jsx:`⚛️`,tsx:`⚛️`,html:`🌐`,htm:`🌐`,css:`🎨`,scss:`🎨`,less:`🎨`,xml:`📰`,yaml:`📰`,yml:`📰`,py:`🐍`,java:`☕`,c:`⚙️`,cpp:`⚙️`,h:`⚙️`,go:`🔹`,rs:`🦀`,rb:`💎`,php:`🐘`,sql:`🗄️`,sh:`💻`,bash:`💻`,zsh:`💻`,cfg:`⚙️`,ini:`⚙️`,toml:`⚙️`,conf:`⚙️`,log:`📊`,csv:`📊`,tsv:`📊`,env:`🔒`,vue:`💚`,svelte:`🧡`,astro:`🚀`,rtf:`📄`,svg:`🖼️`,png:`🖼️`,jpg:`🖼️`,jpeg:`🖼️`,gif:`🖼️`,webp:`🖼️`,bmp:`🖼️`,ico:`🖼️`,pdf:`📕`,doc:`📘`,docx:`📘`,xls:`📗`,xlsx:`📗`,ppt:`📙`,pptx:`📙`,zip:`📦`,gz:`📦`,tar:`📦`,rar:`📦`,"7z":`📦`,mp3:`🎵`,wav:`🎵`,mp4:`🎬`,webm:`🎬`,avi:`🎬`};function l(e,t){return t===`directory`?`📁`:c[(e.split(`.`).pop()||``).toLowerCase()]||`📄`}function u(e){if(e===0)return`0 B`;if(e==null)return`—`;let t=[`B`,`KB`,`MB`,`GB`,`TB`],n=1024,r=Math.floor(Math.log(e)/Math.log(n));return`${(e/n**r).toFixed(r===0?0:1)} ${t[r]}`}function d(e){return e?new Date(e).toLocaleString(`zh-CN`,{month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`}):`—`}function f(e){let t=(e.split(`.`).pop()||``).toLowerCase();return new Set(`txt.md.json.js.mjs.ts.jsx.tsx.html.htm.css.scss.less.xml.yaml.yml.py.java.c.cpp.h.go.rs.rb.php.sql.sh.bash.zsh.cfg.ini.toml.conf.log.csv.tsv.env.vue.svelte.astro.rtf.svg.pdf.docx.pptx.xlsx.xls.png.jpg.jpeg.gif.webp.bmp.ico.mp4.webm.ogg.m4v.mov.mp3.wav.m4a.aac.flac.opus`.split(`.`)).has(t)}function p(e){let t=(e.split(`.`).pop()||``).toLowerCase();return t===`pdf`?`pdf`:t===`docx`?`docx`:t===`xlsx`||t===`xls`?`xlsx`:t===`pptx`?`pptx`:new Set([`png`,`jpg`,`jpeg`,`gif`,`webp`,`bmp`,`ico`]).has(t)?`image`:new Set([`mp4`,`webm`,`ogg`,`m4v`,`mov`]).has(t)?`video`:new Set([`mp3`,`wav`,`m4a`,`aac`,`flac`,`opus`]).has(t)?`audio`:`text`}function m(e){let t=(e.split(`.`).pop()||``).toLowerCase();return new Set([`png`,`jpg`,`jpeg`,`gif`,`webp`,`bmp`,`ico`,`svg`]).has(t)}function h(e){return{txt:`text/plain`,md:`text/markdown`,json:`application/json`,js:`application/javascript`,html:`text/html`,css:`text/css`,xml:`application/xml`,yaml:`text/yaml`,yml:`text/yaml`,csv:`text/csv`,svg:`image/svg+xml`,png:`image/png`,jpg:`image/jpeg`,jpeg:`image/jpeg`,gif:`image/gif`,webp:`image/webp`,bmp:`image/bmp`,pdf:`application/pdf`,pptx:`application/vnd.openxmlformats-officedocument.presentationml.presentation`,mp4:`video/mp4`,webm:`video/webm`,ogg:`video/ogg`,m4v:`video/x-m4v`,mov:`video/quicktime`,mp3:`audio/mpeg`,wav:`audio/wav`,m4a:`audio/mp4`,aac:`audio/aac`,flac:`audio/flac`,opus:`audio/ogg`}[(e.split(`.`).pop()||``).toLowerCase()]||`text/plain`}var g=null,_=null,v=null,y=null;function b(){try{return a?.activeSessionId||null}catch{return null}}function x(e,t=b()){let n={Authorization:`Bearer ${e.token}`};return t&&(n[`X-AIH-Session-Id`]=t),n}function S(e){if(e instanceof TypeError)return!0;let t=String(e&&e.message||``).toLowerCase();return t.includes(`failed to fetch`)||t.includes(`load failed`)||t.includes(`networkerror`)}function C(e,t){let n=t&&t.message;S(t)?r.debug(`[WorkspaceManager] ${e} skipped (agent unreachable):`,n):r.warn(`[WorkspaceManager] ${e} failed:`,n)}async function w(){if(y&&y.url&&y.token)return y;try{let e=await chrome.storage.local.get([`pairedAgents`,`activeAgentId`]),t=e.pairedAgents||[],n=e.activeAgentId;if(!n||t.length===0)return null;let r=t.find(e=>e.id===n)||t[0];return r?(y={id:r.id,url:r.url,token:i(r.token)},y):null}catch(e){return r.warn(`[WorkspaceManager] getAgentconfiguration failed:`,e.message),null}}async function T(e){let t=e===void 0?b():e,n=await w(),r=`${t||``}::${n?.id||n?.url||``}`;if(g&&_===r)return g;if(!n)return null;try{let e=await fetch(`${n.url}/api/status/detail`,{headers:x(n,t)});if(e.ok){let t=await e.json();if(t.success&&t.workdir)return g=t.workdir,_=r,g}}catch(e){C(`get workingdirectory`,e)}return null}async function E(){if(v)return v;let e=await w();if(!e)return null;try{let t=await fetch(`${e.url}/api/status/detail`,{headers:{Authorization:`Bearer ${e.token}`}});if(t.ok){let e=await t.json();if(e.success&&e.homeDir)return v=e.homeDir,v}}catch(e){C(`get homedir`,e)}return null}function D(){g=null,_=null,v=null,y=null,o()}async function O(e){let t=e===void 0?b():e,n=await w();if(!n)return null;try{let e=await fetch(`${n.url}/api/status/detail`,{headers:x(n,t)});if(e.ok){let t=await e.json();if(t.success)return t}}catch(e){C(`get statusdetailcase`,e)}return null}async function k(e,t={}){let n=t.sessionId===void 0?b():t.sessionId,r={workdir:e,scope:n?`session`:`global`};n&&(r.sessionId=n);let i=await N(`/api/config/workdir`,r,n);return i.success&&D(),i}async function A(e){return N(`/api/config/allowed-paths/remove`,{path:e})}var j=200*1e3;async function M(){let e=await w();if(!e)return{success:!1,available:!1,error:n(`workspaceMgr.agentNotPairedDetail`)};let t=new AbortController,r=setTimeout(()=>t.abort(),j);try{let n=await fetch(`${e.url}/api/config/pick-directory`,{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer ${e.token}`},body:JSON.stringify({}),signal:t.signal});if(n.status===404)return{success:!1,path:null,available:!1,outdated:!0};let r=await n.json();return r&&typeof r==`object`?r:{success:!1,path:null,available:!0,error:`bad-response`}}catch(e){return e&&e.name===`AbortError`?{success:!1,path:null,available:!0,error:`client-timeout`}:{success:!1,path:null,error:n(`workspaceMgr.requestFailed`,{message:e.message})}}finally{clearTimeout(r)}}async function N(e,t={},r=void 0){let i=await w();if(!i)return{success:!1,error:n(`workspaceMgr.agentNotPairedDetail`)};let a=r===void 0?b():r;try{return await(await fetch(`${i.url}${e}`,{method:`POST`,headers:{"Content-Type":`application/json`,...x(i,a)},body:JSON.stringify(t)})).json()}catch(e){return{success:!1,error:n(`workspaceMgr.requestFailed`,{message:e.message})}}}async function P(e){return N(`/api/fs/list`,{path:e||`.`})}async function F(e){return N(`/api/fs/read`,{path:e})}async function I(e,t){return N(`/api/fs/write`,{path:e,content:t})}async function L(e){return N(`/api/fs/download`,{path:e})}async function R(e){return N(`/api/fs/download-multi`,{paths:e})}function z(e){return(e||``).replace(/\\/g,`/`).replace(/\/+/g,`/`)}function B(e){return e?!!(e.startsWith(`/`)||/^[a-zA-Z]:[\\/]/.test(e)||/^(\\\\|\/\/)[^\\/]+[\\/]/.test(e)):!1}async function V(e,t,n=200){let r=await N(`/api/fs/search_files`,{path:e,pattern:`*${t}*`,recursive:!0,maxResults:n});return r.success?(r.results||[]).map(t=>{let n=z(B(t.path)?t.path:`${e}/${t.path}`),r=n.substring(0,n.lastIndexOf(`/`));return{name:t.name,type:t.type||`file`,size:t.size,mtime:t.mtime,fullPath:n,matchPath:r}}):[]}function H(e,t){if(!e)return t;let n=e.match(/filename\*=UTF-8''(.+?)(?:;|$)/)||e.match(/filename="(.+?)"/);return n?decodeURIComponent(n[1]):t}async function U(e){let t=await w();if(!t)return{success:!1,error:n(`workspaceMgr.agentNotPairedDetail`)};try{let r=await fetch(`${t.url}/api/fs/download-stream`,{method:`POST`,headers:{"Content-Type":`application/json`,...x(t)},body:JSON.stringify({path:e})});return r.ok?{success:!0,blob:await r.blob(),name:H(r.headers.get(`Content-Disposition`),e.split(/[\\/]/).pop()),mimeType:r.headers.get(`Content-Type`)}:{success:!1,error:(await r.json().catch(()=>({error:r.statusText}))).error||n(`workspaceMgr.downloadFailed`)}}catch(e){return{success:!1,error:n(`workspaceMgr.requestFailed`,{message:e.message})}}}async function W(e,t,r){let i=await w();if(!i)return{success:!1,error:n(`workspaceMgr.agentNotPaired`)};try{let a=await fetch(`${i.url}/api/fs/download-stream`,{method:`POST`,headers:{"Content-Type":`application/json`,...x(i)},body:JSON.stringify({path:e}),signal:r});if(!a.ok)return{success:!1,error:(await a.json().catch(()=>({error:a.statusText}))).error||n(`workspaceMgr.downloadFailed`)};let o=parseInt(a.headers.get(`Content-Length`)||`0`,10),s=a.body.getReader();r&&r.addEventListener(`abort`,()=>{try{s.cancel()}catch{}});let c=[],l=0;for(;;){let{done:e,value:n}=await s.read();if(e)break;c.push(n),l+=n.length,t&&o>0&&t({loaded:l,total:o,percent:Math.round(l/o*100)})}return{success:!0,blob:new Blob(c),name:H(a.headers.get(`Content-Disposition`),e.split(/[\\/]/).pop()),mimeType:a.headers.get(`Content-Type`)}}catch(e){return e.name===`AbortError`?{success:!1,error:n(`workspaceMgr.cancelled`),aborted:!0}:{success:!1,error:n(`workspaceMgr.requestFailed`,{message:e.message})}}}async function G(e){let t=await w();if(!t)return{success:!1,error:n(`workspaceMgr.agentNotPairedDetail`)};try{let r=await fetch(`${t.url}/api/fs/download-stream`,{method:`POST`,headers:{"Content-Type":`application/json`,...x(t)},body:JSON.stringify({paths:e})});return r.ok?{success:!0,blob:await r.blob(),name:H(r.headers.get(`Content-Disposition`),`workspace.zip`),mimeType:r.headers.get(`Content-Type`)}:{success:!1,error:(await r.json().catch(()=>({error:r.statusText}))).error||n(`workspaceMgr.downloadFailed`)}}catch(e){return{success:!1,error:n(`workspaceMgr.requestFailed`,{message:e.message})}}}async function K(e,t,r){let i=await w();if(!i)return{success:!1,error:n(`workspaceMgr.agentNotPaired`)};try{let a=await fetch(`${i.url}/api/fs/download-stream`,{method:`POST`,headers:{"Content-Type":`application/json`,...x(i)},body:JSON.stringify({paths:e}),signal:r});if(!a.ok)return{success:!1,error:(await a.json().catch(()=>({error:a.statusText}))).error||n(`workspaceMgr.downloadFailed`)};let o=parseInt(a.headers.get(`Content-Length`)||`0`,10),s=a.body.getReader();r&&r.addEventListener(`abort`,()=>{try{s.cancel()}catch{}});let c=[],l=0;for(;;){let{done:e,value:n}=await s.read();if(e)break;c.push(n),l+=n.length,t&&o>0&&t({loaded:l,total:o,percent:Math.round(l/o*100)})}return{success:!0,blob:new Blob(c),name:H(a.headers.get(`Content-Disposition`),`workspace.zip`),mimeType:a.headers.get(`Content-Type`)}}catch(e){return e.name===`AbortError`?{success:!1,error:n(`workspaceMgr.cancelled`),aborted:!0}:{success:!1,error:n(`workspaceMgr.requestFailed`,{message:e.message})}}}async function q(e){return N(`/api/fs/delete`,{path:e})}async function J(e,t){return N(`/api/fs/rename`,{path:e,newName:t})}async function Y(e){return N(`/api/fs/mkdir`,{path:e})}async function X(e,t){return N(`/api/fs/move`,{path:e,destDir:t})}async function Z(e){return N(`/api/fs/stat`,{path:e})}export{D as C,s as D,k as E,I as O,J as S,f as T,P as _,G as a,F as b,d as c,l as d,Z as f,T as g,p as h,W as i,w as l,h as m,Y as n,K as o,E as p,U as r,u as s,x as t,O as u,X as v,V as w,A as x,M as y};
1
+ import{r as e}from"./chunk-CMxvf4Kt.js";import{a as t,c as n,l as r}from"./i18n-NkRsFRG_.js";import{b as i}from"./model-profiles-DH6uFSiB.js";import{b as a,jt as o}from"./session-store-BXelxKzG.js";var s=e({PICK_DIRECTORY_CLIENT_TIMEOUT_MS:()=>j,buildAgentHeaders:()=>x,createDir:()=>Y,deleteFs:()=>q,downloadFile:()=>L,downloadFileStream:()=>U,downloadFileStreamWithProgress:()=>W,downloadFiles:()=>R,downloadFilesStream:()=>G,downloadFilesStreamWithProgress:()=>K,formatFileSize:()=>u,formatTime:()=>d,getAgentConfig:()=>w,getAgentStatusDetail:()=>O,getFileIcon:()=>l,getFileInfo:()=>Z,getHomeDir:()=>E,getMimeType:()=>h,getPreviewType:()=>p,getWorkspaceRoot:()=>T,isImageFile:()=>m,listDirectory:()=>P,moveFs:()=>X,pickDirectory:()=>M,readFileContent:()=>F,removeAllowedPath:()=>A,renameFs:()=>J,resetWorkspaceRoot:()=>D,searchFilesRemote:()=>V,supportsPreview:()=>f,switchWorkspace:()=>k,writeFileContent:()=>I});t(`zh`,{workspaceMgr:{agentNotPairedDetail:`Agent 未配对,请先在设置中完成配对`,agentNotPaired:`Agent 未配对`,requestFailed:`请求失败: {message}`,downloadFailed:`下载失败`,cancelled:`已取消`}}),t(`en`,{workspaceMgr:{agentNotPairedDetail:`Agent not paired. Please complete pairing in Settings first.`,agentNotPaired:`Agent not paired`,requestFailed:`Request failed: {message}`,downloadFailed:`Download failed`,cancelled:`Cancelled`}});var c={txt:`📄`,md:`📝`,json:`📋`,js:`📜`,mjs:`📜`,ts:`📘`,jsx:`⚛️`,tsx:`⚛️`,html:`🌐`,htm:`🌐`,css:`🎨`,scss:`🎨`,less:`🎨`,xml:`📰`,yaml:`📰`,yml:`📰`,py:`🐍`,java:`☕`,c:`⚙️`,cpp:`⚙️`,h:`⚙️`,go:`🔹`,rs:`🦀`,rb:`💎`,php:`🐘`,sql:`🗄️`,sh:`💻`,bash:`💻`,zsh:`💻`,cfg:`⚙️`,ini:`⚙️`,toml:`⚙️`,conf:`⚙️`,log:`📊`,csv:`📊`,tsv:`📊`,env:`🔒`,vue:`💚`,svelte:`🧡`,astro:`🚀`,rtf:`📄`,svg:`🖼️`,png:`🖼️`,jpg:`🖼️`,jpeg:`🖼️`,gif:`🖼️`,webp:`🖼️`,bmp:`🖼️`,ico:`🖼️`,pdf:`📕`,doc:`📘`,docx:`📘`,xls:`📗`,xlsx:`📗`,ppt:`📙`,pptx:`📙`,zip:`📦`,gz:`📦`,tar:`📦`,rar:`📦`,"7z":`📦`,mp3:`🎵`,wav:`🎵`,mp4:`🎬`,webm:`🎬`,avi:`🎬`};function l(e,t){return t===`directory`?`📁`:c[(e.split(`.`).pop()||``).toLowerCase()]||`📄`}function u(e){if(e===0)return`0 B`;if(e==null)return`—`;let t=[`B`,`KB`,`MB`,`GB`,`TB`],n=1024,r=Math.floor(Math.log(e)/Math.log(n));return`${(e/n**r).toFixed(r===0?0:1)} ${t[r]}`}function d(e){return e?new Date(e).toLocaleString(`zh-CN`,{month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`}):`—`}function f(e){let t=(e.split(`.`).pop()||``).toLowerCase();return new Set(`txt.md.json.js.mjs.ts.jsx.tsx.html.htm.css.scss.less.xml.yaml.yml.py.java.c.cpp.h.go.rs.rb.php.sql.sh.bash.zsh.cfg.ini.toml.conf.log.csv.tsv.env.vue.svelte.astro.rtf.svg.pdf.docx.pptx.xlsx.xls.png.jpg.jpeg.gif.webp.bmp.ico.mp4.webm.ogg.m4v.mov.mp3.wav.m4a.aac.flac.opus`.split(`.`)).has(t)}function p(e){let t=(e.split(`.`).pop()||``).toLowerCase();return t===`pdf`?`pdf`:t===`docx`?`docx`:t===`xlsx`||t===`xls`?`xlsx`:t===`pptx`?`pptx`:new Set([`png`,`jpg`,`jpeg`,`gif`,`webp`,`bmp`,`ico`]).has(t)?`image`:new Set([`mp4`,`webm`,`ogg`,`m4v`,`mov`]).has(t)?`video`:new Set([`mp3`,`wav`,`m4a`,`aac`,`flac`,`opus`]).has(t)?`audio`:`text`}function m(e){let t=(e.split(`.`).pop()||``).toLowerCase();return new Set([`png`,`jpg`,`jpeg`,`gif`,`webp`,`bmp`,`ico`,`svg`]).has(t)}function h(e){return{txt:`text/plain`,md:`text/markdown`,json:`application/json`,js:`application/javascript`,html:`text/html`,css:`text/css`,xml:`application/xml`,yaml:`text/yaml`,yml:`text/yaml`,csv:`text/csv`,svg:`image/svg+xml`,png:`image/png`,jpg:`image/jpeg`,jpeg:`image/jpeg`,gif:`image/gif`,webp:`image/webp`,bmp:`image/bmp`,pdf:`application/pdf`,pptx:`application/vnd.openxmlformats-officedocument.presentationml.presentation`,mp4:`video/mp4`,webm:`video/webm`,ogg:`video/ogg`,m4v:`video/x-m4v`,mov:`video/quicktime`,mp3:`audio/mpeg`,wav:`audio/wav`,m4a:`audio/mp4`,aac:`audio/aac`,flac:`audio/flac`,opus:`audio/ogg`}[(e.split(`.`).pop()||``).toLowerCase()]||`text/plain`}var g=null,_=null,v=null,y=null;function b(){try{return a?.activeSessionId||null}catch{return null}}function x(e,t=b()){let n={Authorization:`Bearer ${e.token}`};return t&&(n[`X-AIH-Session-Id`]=t),n}function S(e){if(e instanceof TypeError)return!0;let t=String(e&&e.message||``).toLowerCase();return t.includes(`failed to fetch`)||t.includes(`load failed`)||t.includes(`networkerror`)}function C(e,t){let n=t&&t.message;S(t)?r.debug(`[WorkspaceManager] ${e} skipped (agent unreachable):`,n):r.warn(`[WorkspaceManager] ${e} failed:`,n)}async function w(){if(y&&y.url&&y.token)return y;try{let e=await chrome.storage.local.get([`pairedAgents`,`activeAgentId`]),t=e.pairedAgents||[],n=e.activeAgentId;if(!n||t.length===0)return null;let r=t.find(e=>e.id===n)||t[0];return r?(y={id:r.id,url:r.url,token:i(r.token)},y):null}catch(e){return r.warn(`[WorkspaceManager] getAgentconfiguration failed:`,e.message),null}}async function T(e){let t=e===void 0?b():e,n=await w(),r=`${t||``}::${n?.id||n?.url||``}`;if(g&&_===r)return g;if(!n)return null;try{let e=await fetch(`${n.url}/api/status/detail`,{headers:x(n,t)});if(e.ok){let t=await e.json();if(t.success&&t.workdir)return g=t.workdir,_=r,g}}catch(e){C(`get workingdirectory`,e)}return null}async function E(){if(v)return v;let e=await w();if(!e)return null;try{let t=await fetch(`${e.url}/api/status/detail`,{headers:{Authorization:`Bearer ${e.token}`}});if(t.ok){let e=await t.json();if(e.success&&e.homeDir)return v=e.homeDir,v}}catch(e){C(`get homedir`,e)}return null}function D(){g=null,_=null,v=null,y=null,o()}async function O(e){let t=e===void 0?b():e,n=await w();if(!n)return null;try{let e=await fetch(`${n.url}/api/status/detail`,{headers:x(n,t)});if(e.ok){let t=await e.json();if(t.success)return t}}catch(e){C(`get statusdetailcase`,e)}return null}async function k(e,t={}){let n=t.sessionId===void 0?b():t.sessionId,r={workdir:e,scope:n?`session`:`global`};n&&(r.sessionId=n);let i=await N(`/api/config/workdir`,r,n);return i.success&&D(),i}async function A(e){return N(`/api/config/allowed-paths/remove`,{path:e})}var j=200*1e3;async function M(){let e=await w();if(!e)return{success:!1,available:!1,error:n(`workspaceMgr.agentNotPairedDetail`)};let t=new AbortController,r=setTimeout(()=>t.abort(),j);try{let n=await fetch(`${e.url}/api/config/pick-directory`,{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer ${e.token}`},body:JSON.stringify({}),signal:t.signal});if(n.status===404)return{success:!1,path:null,available:!1,outdated:!0};let r=await n.json();return r&&typeof r==`object`?r:{success:!1,path:null,available:!0,error:`bad-response`}}catch(e){return e&&e.name===`AbortError`?{success:!1,path:null,available:!0,error:`client-timeout`}:{success:!1,path:null,error:n(`workspaceMgr.requestFailed`,{message:e.message})}}finally{clearTimeout(r)}}async function N(e,t={},r=void 0){let i=await w();if(!i)return{success:!1,error:n(`workspaceMgr.agentNotPairedDetail`)};let a=r===void 0?b():r;try{return await(await fetch(`${i.url}${e}`,{method:`POST`,headers:{"Content-Type":`application/json`,...x(i,a)},body:JSON.stringify(t)})).json()}catch(e){return{success:!1,error:n(`workspaceMgr.requestFailed`,{message:e.message})}}}async function P(e){return N(`/api/fs/list`,{path:e||`.`})}async function F(e){return N(`/api/fs/read`,{path:e})}async function I(e,t){return N(`/api/fs/write`,{path:e,content:t})}async function L(e){return N(`/api/fs/download`,{path:e})}async function R(e){return N(`/api/fs/download-multi`,{paths:e})}function z(e){return(e||``).replace(/\\/g,`/`).replace(/\/+/g,`/`)}function B(e){return e?!!(e.startsWith(`/`)||/^[a-zA-Z]:[\\/]/.test(e)||/^(\\\\|\/\/)[^\\/]+[\\/]/.test(e)):!1}async function V(e,t,n=200){let r=await N(`/api/fs/search_files`,{path:e,pattern:`*${t}*`,recursive:!0,maxResults:n});return r.success?(r.results||[]).map(t=>{let n=z(B(t.path)?t.path:`${e}/${t.path}`),r=n.substring(0,n.lastIndexOf(`/`));return{name:t.name,type:t.type||`file`,size:t.size,mtime:t.mtime,fullPath:n,matchPath:r}}):[]}function H(e,t){if(!e)return t;let n=e.match(/filename\*=UTF-8''(.+?)(?:;|$)/)||e.match(/filename="(.+?)"/);return n?decodeURIComponent(n[1]):t}async function U(e){let t=await w();if(!t)return{success:!1,error:n(`workspaceMgr.agentNotPairedDetail`)};try{let r=await fetch(`${t.url}/api/fs/download-stream`,{method:`POST`,headers:{"Content-Type":`application/json`,...x(t)},body:JSON.stringify({path:e})});return r.ok?{success:!0,blob:await r.blob(),name:H(r.headers.get(`Content-Disposition`),e.split(/[\\/]/).pop()),mimeType:r.headers.get(`Content-Type`)}:{success:!1,error:(await r.json().catch(()=>({error:r.statusText}))).error||n(`workspaceMgr.downloadFailed`)}}catch(e){return{success:!1,error:n(`workspaceMgr.requestFailed`,{message:e.message})}}}async function W(e,t,r){let i=await w();if(!i)return{success:!1,error:n(`workspaceMgr.agentNotPaired`)};try{let a=await fetch(`${i.url}/api/fs/download-stream`,{method:`POST`,headers:{"Content-Type":`application/json`,...x(i)},body:JSON.stringify({path:e}),signal:r});if(!a.ok)return{success:!1,error:(await a.json().catch(()=>({error:a.statusText}))).error||n(`workspaceMgr.downloadFailed`)};let o=parseInt(a.headers.get(`Content-Length`)||`0`,10),s=a.body.getReader();r&&r.addEventListener(`abort`,()=>{try{s.cancel()}catch{}});let c=[],l=0;for(;;){let{done:e,value:n}=await s.read();if(e)break;c.push(n),l+=n.length,t&&o>0&&t({loaded:l,total:o,percent:Math.round(l/o*100)})}return{success:!0,blob:new Blob(c),name:H(a.headers.get(`Content-Disposition`),e.split(/[\\/]/).pop()),mimeType:a.headers.get(`Content-Type`)}}catch(e){return e.name===`AbortError`?{success:!1,error:n(`workspaceMgr.cancelled`),aborted:!0}:{success:!1,error:n(`workspaceMgr.requestFailed`,{message:e.message})}}}async function G(e){let t=await w();if(!t)return{success:!1,error:n(`workspaceMgr.agentNotPairedDetail`)};try{let r=await fetch(`${t.url}/api/fs/download-stream`,{method:`POST`,headers:{"Content-Type":`application/json`,...x(t)},body:JSON.stringify({paths:e})});return r.ok?{success:!0,blob:await r.blob(),name:H(r.headers.get(`Content-Disposition`),`workspace.zip`),mimeType:r.headers.get(`Content-Type`)}:{success:!1,error:(await r.json().catch(()=>({error:r.statusText}))).error||n(`workspaceMgr.downloadFailed`)}}catch(e){return{success:!1,error:n(`workspaceMgr.requestFailed`,{message:e.message})}}}async function K(e,t,r){let i=await w();if(!i)return{success:!1,error:n(`workspaceMgr.agentNotPaired`)};try{let a=await fetch(`${i.url}/api/fs/download-stream`,{method:`POST`,headers:{"Content-Type":`application/json`,...x(i)},body:JSON.stringify({paths:e}),signal:r});if(!a.ok)return{success:!1,error:(await a.json().catch(()=>({error:a.statusText}))).error||n(`workspaceMgr.downloadFailed`)};let o=parseInt(a.headers.get(`Content-Length`)||`0`,10),s=a.body.getReader();r&&r.addEventListener(`abort`,()=>{try{s.cancel()}catch{}});let c=[],l=0;for(;;){let{done:e,value:n}=await s.read();if(e)break;c.push(n),l+=n.length,t&&o>0&&t({loaded:l,total:o,percent:Math.round(l/o*100)})}return{success:!0,blob:new Blob(c),name:H(a.headers.get(`Content-Disposition`),`workspace.zip`),mimeType:a.headers.get(`Content-Type`)}}catch(e){return e.name===`AbortError`?{success:!1,error:n(`workspaceMgr.cancelled`),aborted:!0}:{success:!1,error:n(`workspaceMgr.requestFailed`,{message:e.message})}}}async function q(e){return N(`/api/fs/delete`,{path:e})}async function J(e,t){return N(`/api/fs/rename`,{path:e,newName:t})}async function Y(e){return N(`/api/fs/mkdir`,{path:e})}async function X(e,t){return N(`/api/fs/move`,{path:e,destDir:t})}async function Z(e){return N(`/api/fs/stat`,{path:e})}export{D as C,s as D,k as E,I as O,J as S,f as T,P as _,G as a,F as b,d as c,l as d,Z as f,T as g,p as h,W as i,w as l,h as m,Y as n,K as o,E as p,U as r,u as s,x as t,O as u,X as v,V as w,A as x,M as y};
@@ -2,7 +2,7 @@
2
2
  "manifest_version": 3,
3
3
  "default_locale": "zh_CN",
4
4
  "name": "__MSG_extName__",
5
- "version": "2.7.7",
5
+ "version": "2.7.8",
6
6
  "description": "__MSG_extDescription__",
7
7
  "permissions": [
8
8
  "activeTab",
@@ -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",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\u5220\u9664 {count} \u6761\u4EF7\u503C\u5206\u4F4E\u4E8E {threshold} \u7684\u8BB0\u5FC6\uFF0C\u5220\u9664\u540E\u4E0D\u53EF\u6062\u590D\u3002\u786E\u5B9A\u538B\u7F29\uFF1F",compactDone:"\u538B\u7F29\u5B8C\u6210\uFF1A\u5220\u9664\u4E8B\u5B9E {facts} \u6761\u3001\u6458\u8981 {summaries} \u6761",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",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",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\u5916\u7684\u6240\u6709\u914D\u7F6E\uFF0C\u53EF\u9009\u62E9\u662F\u5426\u5305\u542B API \u5BC6\u94A5\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)"},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",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\u5220\u9664 {count} \u6761\u4EF7\u503C\u5206\u4F4E\u4E8E {threshold} \u7684\u8BB0\u5FC6\uFF0C\u5220\u9664\u540E\u4E0D\u53EF\u6062\u590D\u3002\u786E\u5B9A\u538B\u7F29\uFF1F",compactDone:"\u538B\u7F29\u5B8C\u6210\uFF1A\u5220\u9664\u4E8B\u5B9E {facts} \u6761\u3001\u6458\u8981 {summaries} \u6761",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",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",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)"},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",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 deletes {count} memories with value below {threshold}. This cannot be undone. Continue?",compactDone:"Compact done: removed {facts} facts and {summaries} summaries",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",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)",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 will contain all settings except Agent connection info. You can choose whether to include API keys.",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",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 deletes {count} memories with value below {threshold}. This cannot be undone. Continue?",compactDone:"Compact done: removed {facts} facts and {summaries} summaries",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",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)",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,9 +5,9 @@
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-D_r0xXpL.js"></script>
9
- <script type="module" crossorigin src="/assets/i18n-Cy3JvhaK.js"></script>
10
- <script type="module" crossorigin src="/assets/model-profiles-DmaxlVkA.js"></script>
8
+ <script type="module" crossorigin src="/assets/version-C8Rq9nMu.js"></script>
9
+ <script type="module" crossorigin src="/assets/i18n-NkRsFRG_.js"></script>
10
+ <script type="module" crossorigin src="/assets/model-profiles-DH6uFSiB.js"></script>
11
11
  <script type="module" crossorigin src="/assets/network-scope-CNRYXk74.js"></script>
12
12
  <script type="module" crossorigin src="/assets/voice-shortcut-Dtt3nhkz.js"></script>
13
13
  <script type="module" crossorigin src="/assets/options.js"></script>
@@ -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-Cy3JvhaK.js"></script>
10
- <script type="module" crossorigin src="/assets/model-profiles-DmaxlVkA.js"></script>
11
- <script type="module" crossorigin src="/assets/session-store-DKG2vsne.js"></script>
12
- <script type="module" crossorigin src="/assets/version-D_r0xXpL.js"></script>
9
+ <script type="module" crossorigin src="/assets/i18n-NkRsFRG_.js"></script>
10
+ <script type="module" crossorigin src="/assets/model-profiles-DH6uFSiB.js"></script>
11
+ <script type="module" crossorigin src="/assets/session-store-BXelxKzG.js"></script>
12
+ <script type="module" crossorigin src="/assets/version-C8Rq9nMu.js"></script>
13
13
  <script type="module" crossorigin src="/assets/voice-shortcut-Dtt3nhkz.js"></script>
14
- <script type="module" crossorigin src="/assets/agent-store-CXWql6bl.js"></script>
15
- <script type="module" crossorigin src="/assets/utils-7ghENN5I.js"></script>
16
- <script type="module" crossorigin src="/assets/markdown-render-D1Pi8x7U.js"></script>
17
- <script type="module" crossorigin src="/assets/workspace-manager-CZeD2gWf.js"></script>
14
+ <script type="module" crossorigin src="/assets/agent-store-sKnc7YcJ.js"></script>
15
+ <script type="module" crossorigin src="/assets/utils-CMkztLa1.js"></script>
16
+ <script type="module" crossorigin src="/assets/markdown-render-lNxIpqR5.js"></script>
17
+ <script type="module" crossorigin src="/assets/workspace-manager-CTFkcx87.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">
@@ -180,10 +180,61 @@
180
180
 
181
181
  <!-- 主内容区:左侧(标签栏+对话+输入)与右侧(工作目录面板,嵌入模式时参与分栏) -->
182
182
  <div class="main-row" id="mainRow">
183
+ <!-- 左侧纵向会话栏:默认不占位,点标签栏左端的切换图标才展开为可拖拽宽度的面板;
184
+ 窄屏(mainRow < 560px)整条隐藏,会话列表入口回退为 ⋯ 打开的全屏覆盖列表 -->
185
+ <div class="session-sidebar" id="sessionSidebar">
186
+ <!-- 展开态:会话管理面板 -->
187
+ <div class="session-sidebar-panel" id="sessionSidebarPanel">
188
+ <div class="session-sidebar-header">
189
+ <span class="session-sidebar-title" data-i18n="session.sessionListTitle">会话列表</span>
190
+ <div class="session-sidebar-header-actions">
191
+ <!-- 排序规则:手动(可拖拽,与标签栏同一份顺序)/ 最近更新(时间倒序 + 时间分组) -->
192
+ <div class="session-sidebar-sort" id="sessionSidebarSort" role="group" data-i18n-title="session.sortModeTitle" title="会话排序">
193
+ <button class="session-sidebar-sort-btn" data-mode="manual" aria-pressed="true" data-i18n-title="session.sortManual" title="手动排序">
194
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="4" y1="6" x2="20" y2="6"/><line x1="4" y1="12" x2="20" y2="12"/><line x1="4" y1="18" x2="20" y2="18"/></svg>
195
+ </button>
196
+ <button class="session-sidebar-sort-btn" data-mode="recent" aria-pressed="false" data-i18n-title="session.sortRecent" title="最近更新优先">
197
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9"/><polyline points="12 7 12 12 15 14"/></svg>
198
+ </button>
199
+ </div>
200
+ <button class="session-sidebar-add" id="sessionSidebarAdd" data-i18n-title="session.newSessionTitle" title="新建会话 (Alt+N)">+</button>
201
+ <!-- 与标签栏左端的展开图标互斥:面板展开时只在这里显示收起 -->
202
+ <button class="session-sidebar-collapse" id="sessionSidebarCollapse" data-i18n-title="session.collapseSidebar" title="收起会话列表">
203
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="11 17 6 12 11 7"/><polyline points="18 17 13 12 18 7"/></svg>
204
+ </button>
205
+ </div>
206
+ </div>
207
+ <div class="session-sidebar-search">
208
+ <svg class="session-dropdown-search-icon" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
209
+ <circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/>
210
+ </svg>
211
+ <input type="text" data-i18n-placeholder="session.searchPlaceholder" placeholder="搜索会话..." id="sessionSidebarSearch" />
212
+ <button class="session-dropdown-search-clear" id="sessionSidebarSearchClear" title="清除搜索" style="display:none;">
213
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg>
214
+ </button>
215
+ </div>
216
+ <div class="session-sidebar-list" id="sessionSidebarList"></div>
217
+ <div class="session-sidebar-footer">
218
+ <button class="session-archive-entry" id="sessionSidebarArchiveEntry" data-i18n-title="session.archiveEntryTitle" title="查看归档会话">
219
+ <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 8v13H3V8"/><rect x="1" y="3" width="22" height="5"/><line x1="10" y1="12" x2="14" y2="12"/></svg>
220
+ <span class="session-archive-entry-label" id="sessionSidebarArchiveLabel" data-i18n="session.archiveEntry">归档区</span>
221
+ </button>
222
+ <button class="session-dropdown-close-all" id="sessionSidebarCloseAll" data-i18n="session.closeAll">关闭全部</button>
223
+ </div>
224
+ </div>
225
+ <!-- 展开态右缘宽度拖拽把手 -->
226
+ <div class="session-sidebar-grip" id="sessionSidebarGrip"></div>
227
+ </div>
183
228
  <div class="main-left" id="mainLeft">
184
229
 
185
230
  <!-- 会话标签栏 -->
186
231
  <div class="session-tabs" id="sessionTabs">
232
+ <!-- 左栏切换:宽屏下常驻于此,收起时不占位;窄屏隐藏(改由 ⋯ 打开全屏列表) -->
233
+ <button class="session-sidebar-toggle" id="sessionSidebarToggle" data-i18n-title="session.expandSidebar" title="展开会话列表">
234
+ <svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
235
+ <rect x="3" y="4" width="18" height="16" rx="2"/><line x1="9" y1="4" x2="9" y2="20"/>
236
+ </svg>
237
+ </button>
187
238
  <div class="session-tabs-scroll" id="sessionTabsScroll" style="opacity:0"></div>
188
239
  <div class="session-tabs-actions" id="sessionTabsActions">
189
240
  <div class="session-tab-add" id="sessionTabsAdd" data-i18n-title="session.newSessionTitle" title="新建会话 (Alt+N)">+</div>
@@ -218,8 +269,7 @@
218
269
  <div class="session-dropdown-footer">
219
270
  <button class="session-archive-entry" id="sessionArchiveEntry" data-i18n-title="session.archiveEntryTitle" title="查看归档会话">
220
271
  <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 8v13H3V8"/><rect x="1" y="3" width="22" height="5"/><line x1="10" y1="12" x2="14" y2="12"/></svg>
221
- <span class="session-archive-entry-label" data-i18n="session.archiveEntry">归档区</span>
222
- <span class="session-archive-entry-count" id="sessionArchiveEntryCount" hidden></span>
272
+ <span class="session-archive-entry-label" id="sessionArchiveEntryLabel" data-i18n="session.archiveEntry">归档区</span>
223
273
  </button>
224
274
  <button class="session-dropdown-close-all" id="sessionDropdownCloseAll" data-i18n="session.closeAll">关闭全部</button>
225
275
  </div>