lantern-harness 0.1.27 → 0.1.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/cli/server.mjs +10 -0
  3. package/dist/500.html +4 -4
  4. package/dist/_astro/{Base.Bilfw8As.css → Base.BbqRC8BF.css} +1 -1
  5. package/dist/_astro/{Base.astro_astro_type_script_index_0_lang.DR-2Adek.js → Base.astro_astro_type_script_index_0_lang.C_hJAznE.js} +2 -2
  6. package/dist/_astro/{ChatApp.B1Iz_eeB.js → ChatApp.BULN48Ml.js} +1 -1
  7. package/dist/_astro/{PluginsPage.DVmq__wo.js → PluginsPage.CYqe0xYq.js} +1 -1
  8. package/dist/_astro/PluginsPage.DiPg_D8e.js +1 -0
  9. package/dist/_astro/{PromptsLibrary.CCOJ1NTA.js → PromptsLibrary.fKp4NWWW.js} +1 -1
  10. package/dist/_astro/{ReqAnalysisBoard.Bq0xvh5g.js → ReqAnalysisBoard.CcRTrBPY.js} +1 -1
  11. package/dist/_astro/{SettingsDialog.CR3Iv-ml.js → SettingsDialog.F2HdD5v4.js} +1 -1
  12. package/dist/_astro/app-version.p8P81lR6.js +1 -0
  13. package/dist/_astro/{story-review.DEsnv8KP.js → story-review.SqNsPiZE.js} +1 -1
  14. package/dist/case-exec/index.html +4 -4
  15. package/dist/cases/generate/index.html +4 -4
  16. package/dist/cases/library/index.html +5 -5
  17. package/dist/dashboard/index.html +4 -4
  18. package/dist/docs/changelog/index.html +56 -34
  19. package/dist/docs/install/index.html +17 -17
  20. package/dist/docs/manual/index.html +39 -39
  21. package/dist/knowledge/index.html +5 -5
  22. package/dist/plugins/index.html +5 -5
  23. package/dist/pm/bugs/index.html +4 -4
  24. package/dist/pm/iterations/index.html +4 -4
  25. package/dist/pm/projects/detail/index.html +4 -4
  26. package/dist/pm/projects/index.html +4 -4
  27. package/dist/pm/requirements/index.html +4 -4
  28. package/dist/prompts/index.html +5 -5
  29. package/dist/reports/index.html +5 -5
  30. package/dist/requirement-analysis/index.html +5 -5
  31. package/dist/requirements/index.html +5 -5
  32. package/dist/tasks/index.html +4 -4
  33. package/dist/templates/index.html +5 -5
  34. package/dist/test-automation/index.html +4 -4
  35. package/dist/test-stats/index.html +4 -4
  36. package/dist/todos/index.html +4 -4
  37. package/dist/workbench/index.html +5 -5
  38. package/docs//345/256/211/350/243/205/346/211/213/345/206/214.md +1 -1
  39. package/docs//346/223/215/344/275/234/346/211/213/345/206/214.md +14 -14
  40. package/lh-plugins/lh-pm.mjs +49 -33
  41. package/package.json +1 -1
  42. package/dist/_astro/PluginsPage.Dkg77HkX.js +0 -1
  43. package/dist/_astro/app-version.rNBCZA_9.js +0 -1
  44. package/docs/lantern-harness.code-workspace +0 -11
@@ -3,7 +3,7 @@
3
3
  try {
4
4
  if ('scrollRestoration' in history) history.scrollRestoration = 'manual';
5
5
  } catch (e) {}
6
- </script><script type="module" src="/_astro/Base.astro_astro_type_script_index_0_lang.DR-2Adek.js"></script><meta name="astro-view-transitions-enabled" content="true"><meta name="astro-view-transitions-fallback" content="animate"><script type="module" src="/_astro/ClientRouter.astro_astro_type_script_index_0_lang.CO1cjG9V.js"></script><script>
6
+ </script><script type="module" src="/_astro/Base.astro_astro_type_script_index_0_lang.C_hJAznE.js"></script><meta name="astro-view-transitions-enabled" content="true"><meta name="astro-view-transitions-fallback" content="animate"><script type="module" src="/_astro/ClientRouter.astro_astro_type_script_index_0_lang.CO1cjG9V.js"></script><script>
7
7
  (function () {
8
8
  try {
9
9
  // 配置按空间分键(`tw.app.config.v1::<spaceId>`),主题必须从同一个键读,
@@ -98,10 +98,10 @@
98
98
  }
99
99
  } catch (e) {}
100
100
  })();
101
- </script><link rel="stylesheet" href="/_astro/Base.Bilfw8As.css"><style>.tw-docs[data-astro-cid-lpetmyok]{grid-template-columns:11.5rem minmax(0,1fr);gap:0;min-height:100vh;display:grid}.tw-docs-rail[data-astro-cid-lpetmyok]{background:color-mix(in srgb, var(--tw-surface-rail-solid) 55%, var(--tw-surface-panel))}.tw-docs-rail-inner[data-astro-cid-lpetmyok]{max-height:100vh;padding:1.75rem .85rem 2.5rem 1.25rem;position:sticky;top:0;overflow-y:auto}.tw-docs-rail-title[data-astro-cid-lpetmyok]{letter-spacing:.08em;text-transform:uppercase;color:var(--tw-label-tertiary);margin:0 0 .65rem .55rem;font-size:.6875rem;font-weight:650}.tw-docs-rail-nav[data-astro-cid-lpetmyok]{flex-direction:column;gap:.2rem;display:flex}.tw-docs-rail-ext[data-astro-cid-lpetmyok]{border-top:1px solid var(--tw-border);flex-direction:column;gap:.2rem;margin-top:.85rem;padding-top:.55rem;display:flex}.tw-docs-rail-link[data-astro-cid-lpetmyok]{color:var(--tw-label-secondary);border-radius:8px;padding:.45rem .65rem;font-size:.875rem;line-height:1.35;text-decoration:none;transition:background .12s,color .12s;display:block}.tw-docs-rail-link[data-astro-cid-lpetmyok]:hover{color:var(--tw-label-primary);background:color-mix(in srgb, var(--tw-accent) 8%, transparent)}.tw-docs-rail-link[data-astro-cid-lpetmyok].is-active{color:var(--tw-accent);background:var(--tw-accent-soft);font-weight:600}.tw-docs-rail-link--ext[data-astro-cid-lpetmyok]:after{content:"↗";opacity:.65;margin-left:.35rem;font-size:.8em}.tw-docs-main[data-astro-cid-lpetmyok]{border-left:1px solid var(--tw-border);min-width:0}@media (width<=860px){.tw-docs[data-astro-cid-lpetmyok]{grid-template-columns:1fr}.tw-docs-rail[data-astro-cid-lpetmyok]{border-bottom:1px solid var(--tw-border)}.tw-docs-rail-inner[data-astro-cid-lpetmyok]{max-height:none;padding:1rem 1rem .75rem;position:static}.tw-docs-main[data-astro-cid-lpetmyok]{border-left:none}.tw-docs-rail-nav[data-astro-cid-lpetmyok]{flex-flow:wrap;gap:.35rem}.tw-docs-rail-title[data-astro-cid-lpetmyok]{width:100%;margin:0 0 .45rem .15rem}}
101
+ </script><link rel="stylesheet" href="/_astro/Base.BbqRC8BF.css"><style>.tw-docs[data-astro-cid-lpetmyok]{grid-template-columns:11.5rem minmax(0,1fr);gap:0;min-height:100vh;display:grid}@media (width>=1280px){.tw-docs[data-astro-cid-lpetmyok].has-toc{grid-template-columns:11.5rem minmax(0,1fr) 15rem}}.tw-docs-toc[data-astro-cid-lpetmyok]{display:none}@media (width>=1280px){.tw-docs[data-astro-cid-lpetmyok].has-toc .tw-docs-toc[data-astro-cid-lpetmyok]{border-left:1px solid var(--tw-border);display:block}}.tw-docs-toc-inner[data-astro-cid-lpetmyok]{max-height:100vh;padding:2.5rem 1.25rem 3rem 1.15rem;position:sticky;top:0;overflow-y:auto}.tw-docs-toc-title[data-astro-cid-lpetmyok]{letter-spacing:.08em;text-transform:uppercase;color:var(--tw-label-tertiary);margin:0 0 .65rem .55rem;font-size:.6875rem;font-weight:650}.tw-docs-toc-nav[data-astro-cid-lpetmyok]{flex-direction:column;gap:.1rem;display:flex}.tw-docs-toc-link[data-astro-cid-lpetmyok]{color:var(--tw-label-secondary);border-radius:8px;padding:.35rem .6rem;font-size:.8125rem;line-height:1.45;text-decoration:none;transition:background .12s,color .12s;display:block}.tw-docs-toc-link[data-astro-cid-lpetmyok].is-sub{padding-left:1.15rem;font-size:.78125rem}.tw-docs-toc-link[data-astro-cid-lpetmyok]:hover{color:var(--tw-label-primary);background:color-mix(in srgb, var(--tw-accent) 8%, transparent)}.tw-docs-rail[data-astro-cid-lpetmyok]{background:color-mix(in srgb, var(--tw-surface-rail-solid) 55%, var(--tw-surface-panel))}.tw-docs-rail-inner[data-astro-cid-lpetmyok]{max-height:100vh;padding:1.75rem .85rem 2.5rem 1.25rem;position:sticky;top:0;overflow-y:auto}.tw-docs-rail-title[data-astro-cid-lpetmyok]{letter-spacing:.08em;text-transform:uppercase;color:var(--tw-label-tertiary);margin:0 0 .65rem .55rem;font-size:.6875rem;font-weight:650}.tw-docs-rail-nav[data-astro-cid-lpetmyok]{flex-direction:column;gap:.2rem;display:flex}.tw-docs-rail-ext[data-astro-cid-lpetmyok]{border-top:1px solid var(--tw-border);flex-direction:column;gap:.2rem;margin-top:.85rem;padding-top:.55rem;display:flex}.tw-docs-rail-link[data-astro-cid-lpetmyok]{color:var(--tw-label-secondary);border-radius:8px;padding:.45rem .65rem;font-size:.875rem;line-height:1.35;text-decoration:none;transition:background .12s,color .12s;display:block}.tw-docs-rail-link[data-astro-cid-lpetmyok]:hover{color:var(--tw-label-primary);background:color-mix(in srgb, var(--tw-accent) 8%, transparent)}.tw-docs-rail-link[data-astro-cid-lpetmyok].is-active{color:var(--tw-accent);background:var(--tw-accent-soft);font-weight:600}.tw-docs-rail-link--ext[data-astro-cid-lpetmyok]:after{content:"↗";opacity:.65;margin-left:.35rem;font-size:.8em}.tw-docs-main[data-astro-cid-lpetmyok]{border-left:1px solid var(--tw-border);min-width:0}@media (width<=860px){.tw-docs[data-astro-cid-lpetmyok]{grid-template-columns:1fr}.tw-docs-rail[data-astro-cid-lpetmyok]{border-bottom:1px solid var(--tw-border)}.tw-docs-rail-inner[data-astro-cid-lpetmyok]{max-height:none;padding:1rem 1rem .75rem;position:static}.tw-docs-main[data-astro-cid-lpetmyok]{border-left:none}.tw-docs-rail-nav[data-astro-cid-lpetmyok]{flex-flow:wrap;gap:.35rem}.tw-docs-rail-title[data-astro-cid-lpetmyok]{width:100%;margin:0 0 .45rem .15rem}}
102
102
  </style><script type="module" src="/_astro/page.Bx2KSkeL.js"></script><style>[data-astro-transition-scope="astro-v4xhcqov-3"] { view-transition-name: astro-v4xhcqov-3; }@layer astro { ::view-transition-old(astro-v4xhcqov-3) { animation: none; opacity: 0; mix-blend-mode: normal; }::view-transition-new(astro-v4xhcqov-3) { animation: none; mix-blend-mode: normal; }::view-transition-group(astro-v4xhcqov-3) { animation: none } }[data-astro-transition-fallback="old"] [data-astro-transition-scope="astro-v4xhcqov-3"],
103
103
  [data-astro-transition-fallback="old"][data-astro-transition-scope="astro-v4xhcqov-3"] { animation: none; mix-blend-mode: normal; }[data-astro-transition-fallback="new"] [data-astro-transition-scope="astro-v4xhcqov-3"],
104
- [data-astro-transition-fallback="new"][data-astro-transition-scope="astro-v4xhcqov-3"] { animation: none; mix-blend-mode: normal; }</style></head><body class="tw-body antialiased"><div class="tw-shell min-h-screen"><aside class="tw-nav-aside fixed inset-y-0 left-0 flex flex-col z-45" id="tw-nav-aside"><div class="tw-nav-brand"><div class="tw-nav-brand-row"><a href="/" class="tw-nav-brand-link min-w-0 flex-1" data-astro-reload><span class="tw-nav-brand-mark" aria-hidden="true"><img class="tw-nav-brand-mark-img" src="/brand/brand-mark.png" alt="" width="36" height="36"></span><span class="tw-nav-brand-text"><span class="tw-nav-brand-title-row"><span class="tw-nav-brand-title" data-i18n="nav.brand">Lantern Harness</span><span class="tw-nav-brand-ver" data-hint="平台版本 v0.1.27">v0.1.27<span class="tw-nav-brand-dot" id="tw-update-dot" role="button" tabindex="-1" aria-label="有新版本可更新" hidden></span></span></span></span></a></div></div><div class="tw-nav-space-slot"><div class="tw-nav-space tw-nav-space-ph" id="tw-nav-space-ph" aria-hidden="true"><div class="tw-nav-space-ph-box"><span class="tw-nav-space-ph-ico"></span><span class="tw-nav-space-ph-lines"><span class="tw-nav-space-ph-bar is-cap"></span><span class="tw-nav-space-ph-bar is-name"></span></span></div></div><style>astro-island,astro-slot,astro-static-slot{display:contents}</style><script>(function(){let e=async e=>{await(await e())()};(self.Astro||(self.Astro={})).only=e,window.dispatchEvent(new Event(`astro:only`))})();</script><script>(function(){function e(t){"@babel/helpers - typeof";return e=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},e(t)}function t(t,n){if(e(t)!=`object`||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,n||`default`);if(e(i)!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(n===`string`?String:Number)(t)}function n(n){var r=t(n,`string`);return e(r)==`symbol`?r:r+``}function r(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let i=/* @__PURE__ */ new Set([`__proto__`,`constructor`,`prototype`]);{let e={0:e=>a(e),1:e=>n(e),2:e=>new RegExp(e),3:e=>new Date(e),4:e=>new Map(n(e)),5:e=>new Set(n(e)),6:e=>BigInt(e),7:e=>new URL(e),8:e=>new Uint8Array(e),9:e=>new Uint16Array(e),10:e=>new Uint32Array(e),11:e=>1/0*e},t=t=>{let[n,r]=t;return n in e?e[n](r):void 0},n=e=>e.map(t),a=e=>typeof e!=`object`||!e?e:Object.fromEntries(Object.entries(e).map(([e,n])=>[e,t(n)]));class o extends HTMLElement{constructor(...e){super(...e),r(this,`Component`,void 0),r(this,`hydrator`,void 0),r(this,`hydrate`,async()=>{var e;if(!this.hydrator||!this.isConnected)return;let t=(e=this.parentElement)==null?void 0:e.closest(`astro-island[ssr]`);if(t){t.addEventListener(`astro:hydrate`,this.hydrate,{once:!0});return}let n=this.querySelectorAll(`astro-slot`),r={},i=this.querySelectorAll(`template[data-astro-template]`);for(let e of i){let t=e.closest(this.tagName);t!=null&&t.isSameNode(this)&&(r[e.getAttribute(`data-astro-template`)||`default`]=e.innerHTML,e.remove())}for(let e of n){let t=e.closest(this.tagName);t!=null&&t.isSameNode(this)&&(r[e.getAttribute(`name`)||`default`]=e.innerHTML)}let o;try{o=this.hasAttribute(`props`)?a(JSON.parse(this.getAttribute(`props`))):{}}catch(e){let t=this.getAttribute(`component-url`)||`<unknown>`,n=this.getAttribute(`component-export`);throw n&&(t+=` (export ${n})`),console.error(`[hydrate] Error parsing props for component ${t}`,this.getAttribute(`props`),e),e}await this.hydrator(this)(this.Component,o,r,{client:this.getAttribute(`client`)}),this.removeAttribute(`ssr`),this.dispatchEvent(new CustomEvent(`astro:hydrate`))}),r(this,`unmount`,()=>{this.isConnected||this.dispatchEvent(new CustomEvent(`astro:unmount`))})}disconnectedCallback(){document.removeEventListener(`astro:after-swap`,this.unmount),document.addEventListener(`astro:after-swap`,this.unmount,{once:!0})}connectedCallback(){if(!this.hasAttribute(`await-children`)||document.readyState===`interactive`||document.readyState===`complete`)this.childrenConnectedCallback();else{let e=()=>{document.removeEventListener(`DOMContentLoaded`,e),t.disconnect(),this.childrenConnectedCallback()},t=new MutationObserver(()=>{var t;((t=this.lastChild)==null?void 0:t.nodeType)===Node.COMMENT_NODE&&this.lastChild.nodeValue===`astro:end`&&(this.lastChild.remove(),e())});t.observe(this,{childList:!0}),document.addEventListener(`DOMContentLoaded`,e)}}async childrenConnectedCallback(){let e=this.getAttribute(`before-hydration-url`);e&&await import(e),this.start()}getRetryImportUrl(e){let t=new URL(e,document.baseURI);return t.searchParams.set(`astro-retry`,Date.now().toString()),t.toString()}async importWithRetry(e){try{return await import(e)}catch(t){return await new Promise(e=>setTimeout(e,1e3)),import(this.getRetryImportUrl(e))}}handleHydrationError(e){let t=this.getAttribute(`component-url`),n=new CustomEvent(`astro:hydration-error`,{cancelable:!0,bubbles:!0,composed:!0,detail:{error:e,componentUrl:t}});this.dispatchEvent(n)&&console.error(`[astro-island] Error hydrating ${t}`,e)}async start(){let e=JSON.parse(this.getAttribute(`opts`)),t=this.getAttribute(`client`);if(Astro[t]===void 0)window.addEventListener(`astro:${t}`,()=>this.start(),{once:!0});else try{await Astro[t](async()=>{let e=this.getAttribute(`renderer-url`);try{let[t,{default:n}]=await Promise.all([this.importWithRetry(this.getAttribute(`component-url`)),e?this.importWithRetry(e):Promise.resolve({default:()=>()=>{}})]),r=this.getAttribute(`component-export`)||`default`;if(r.includes(`.`)){this.Component=t;for(let e of r.split(`.`)){if(i.has(e)||!this.Component||typeof this.Component!=`object`&&typeof this.Component!=`function`||!Object.hasOwn(this.Component,e))throw Error(`Invalid component export path: ${r}`);this.Component=this.Component[e]}}else{if(i.has(r))throw Error(`Invalid component export path: ${r}`);this.Component=t[r]}return this.hydrator=n,this.hydrate}catch(e){return this.handleHydrationError(e),()=>{}}},e,this)}catch(e){this.handleHydrationError(e)}}attributeChangedCallback(){this.hydrate()}}r(o,`observedAttributes`,[`props`]),customElements.get(`astro-island`)||customElements.define(`astro-island`,o)}})();</script><astro-island uid="2wH2Dz" component-url="/_astro/SpaceSwitcher.DQOG363O.js" component-export="default" renderer-url="/_astro/client.BHNTqLjv.js" props="{&quot;data-astro-transition-persist&quot;:[0,&quot;astro-gyrtbwwo-1&quot;]}" ssr client="only" opts="{&quot;name&quot;:&quot;SpaceSwitcher&quot;,&quot;value&quot;:&quot;react&quot;}" data-astro-transition-persist="astro-gyrtbwwo-1"></astro-island></div><button type="button" id="tw-nav-toggle" class="tw-nav-toggle" aria-label="收起或展开左侧导航" aria-expanded="true" aria-controls="tw-nav-aside"><svg class="tw-nav-toggle-icon is-collapse" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 6l-6 6 6 6"></path></svg><svg class="tw-nav-toggle-icon is-expand" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 6l6 6-6 6"></path></svg></button><nav class="tw-nav-list flex-1 overflow-y-auto"><a href="/workbench/" class="tw-nav-item" data-i18n-hint="nav.home" data-hint="我的工作台"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M3 10.5 12 3l9 7.5"></path><path d="M5 9.5V20h14V9.5"></path></svg><span class="tw-nav-label" data-i18n="nav.home">我的工作台</span></a><div class="tw-nav-libraries"><div class="tw-nav-libraries-ph"><a href="/dashboard/" class="tw-nav-item" data-plugin-nav="dashboard"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><rect x="3" y="3" width="7" height="7" rx="1.5"></rect><rect x="14" y="3" width="7" height="7" rx="1.5"></rect><rect x="3" y="14" width="7" height="7" rx="1.5"></rect><rect x="14" y="14" width="7" height="7" rx="1.5"></rect></svg><span class="tw-nav-label" data-i18n="nav.dashboard">仪表盘</span></a><a href="/tasks/" class="tw-nav-item" data-plugin-nav="tasks"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M9 5h10"></path><path d="M9 12h10"></path><path d="M9 19h10"></path><path d="M4 5h.01"></path><path d="M4 12h.01"></path><path d="M4 19h.01"></path></svg><span class="tw-nav-label" data-i18n="nav.tasks">任务管理</span></a><a href="/todos/" class="tw-nav-item" data-plugin-nav="todos"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M8 6h13"></path><path d="M8 12h13"></path><path d="M8 18h13"></path><path d="M3 6h.01"></path><path d="M3 12h.01"></path><path d="M3 18h.01"></path></svg><span class="tw-nav-label" data-i18n="nav.todos">待办事项</span></a><a href="/pm/projects/" class="tw-nav-item" data-plugin-nav="projects"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7z"></path></svg><span class="tw-nav-label" data-i18n="nav.projects">项目列表</span></a><a href="/pm/iterations/" class="tw-nav-item" data-plugin-nav="iterations"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><rect x="3" y="5" width="18" height="16" rx="2"></rect><path d="M8 3v4"></path><path d="M16 3v4"></path><path d="M3 10h18"></path></svg><span class="tw-nav-label" data-i18n="nav.iterations">迭代管理</span></a><a href="/pm/requirements/" class="tw-nav-item" data-plugin-nav="pmRequirements"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M14 3v5h5"></path><path d="M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z"></path><path d="M8 13h8"></path><path d="M8 17h5"></path></svg><span class="tw-nav-label" data-i18n="nav.requirementsMgmt">需求管理</span></a><a href="/pm/bugs/" class="tw-nav-item" data-plugin-nav="bugs"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><circle cx="12" cy="14" r="5"></circle><path d="M9 6l2 2"></path><path d="M15 6l-2 2"></path><path d="M7 11H4"></path><path d="M20 11h-3"></path><path d="M7 17H4"></path><path d="M20 17h-3"></path></svg><span class="tw-nav-label" data-i18n="nav.bugs">缺陷管理</span></a><a href="/reports/" class="tw-nav-item" data-plugin-nav="reports"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M14 3v5h5"></path><path d="M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z"></path><path d="M8 13h8"></path><path d="M8 17h5"></path></svg><span class="tw-nav-label" data-i18n="nav.reports">工作汇报</span></a><a href="/test-stats/" class="tw-nav-item" data-plugin-nav="testStats"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M4 20V10"></path><path d="M10 20V4"></path><path d="M16 20v-7"></path><path d="M22 20H2"></path></svg><span class="tw-nav-label" data-i18n="nav.testStats">测试统计</span></a><a href="/case-exec/" class="tw-nav-item" data-plugin-nav="caseExec"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><circle cx="12" cy="12" r="9"></circle><circle cx="12" cy="12" r="5"></circle><circle cx="12" cy="12" r="1.4"></circle></svg><span class="tw-nav-label" data-i18n="nav.caseExec">用例执行统计</span></a><a href="/cases/library/" class="tw-nav-item" data-plugin-nav="cases"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M9 11l3 3L22 4"></path><path d="M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"></path></svg><span class="tw-nav-label" data-i18n="nav.caseManage">用例管理</span></a><a href="/knowledge/" class="tw-nav-item" data-plugin-nav="knowledgeLib"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"></path><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"></path></svg><span class="tw-nav-label" data-i18n="nav.knowledge">知识库管理</span></a><a href="/requirements/" class="tw-nav-item" data-plugin-nav="requirements" data-i18n-hint="nav.requirements"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M14 3v5h5"></path><path d="M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z"></path><path d="M8 13h8"></path><path d="M8 17h6"></path></svg><span class="tw-nav-label" data-i18n="nav.requirements">需求文档库</span></a><a href="/templates/" class="tw-nav-item" data-plugin-nav="templates" data-i18n-hint="nav.templates"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M12 3 3 8l9 5 9-5-9-5z"></path><path d="m3 13 9 5 9-5"></path></svg><span class="tw-nav-label" data-i18n="nav.templates">测试模板库</span></a></div><astro-island uid="Z1lgSd4" component-url="/_astro/NavLibraries.BybmHnXn.js" component-export="default" renderer-url="/_astro/client.BHNTqLjv.js" props="{&quot;data-astro-transition-persist&quot;:[0,&quot;astro-iywf7oe7-2&quot;]}" ssr client="only" opts="{&quot;name&quot;:&quot;NavLibraries&quot;,&quot;value&quot;:&quot;react&quot;}" data-astro-transition-persist="astro-iywf7oe7-2"></astro-island><script>(function(){const host = ".tw-nav-libraries";
104
+ [data-astro-transition-fallback="new"][data-astro-transition-scope="astro-v4xhcqov-3"] { animation: none; mix-blend-mode: normal; }</style></head><body class="tw-body antialiased"><div class="tw-shell min-h-screen"><aside class="tw-nav-aside fixed inset-y-0 left-0 flex flex-col z-45" id="tw-nav-aside"><div class="tw-nav-brand"><div class="tw-nav-brand-row"><a href="/" class="tw-nav-brand-link min-w-0 flex-1" data-astro-reload><span class="tw-nav-brand-mark" aria-hidden="true"><img class="tw-nav-brand-mark-img" src="/brand/brand-mark.png" alt="" width="36" height="36"></span><span class="tw-nav-brand-text"><span class="tw-nav-brand-title-row"><span class="tw-nav-brand-title" data-i18n="nav.brand">Lantern Harness</span><span class="tw-nav-brand-ver" data-hint="平台版本 v0.1.29">v0.1.29<span class="tw-nav-brand-dot" id="tw-update-dot" role="button" tabindex="-1" aria-label="有新版本可更新" hidden></span></span></span></span></a></div></div><div class="tw-nav-space-slot"><div class="tw-nav-space tw-nav-space-ph" id="tw-nav-space-ph" aria-hidden="true"><div class="tw-nav-space-ph-box"><span class="tw-nav-space-ph-ico"></span><span class="tw-nav-space-ph-lines"><span class="tw-nav-space-ph-bar is-cap"></span><span class="tw-nav-space-ph-bar is-name"></span></span></div></div><style>astro-island,astro-slot,astro-static-slot{display:contents}</style><script>(function(){let e=async e=>{await(await e())()};(self.Astro||(self.Astro={})).only=e,window.dispatchEvent(new Event(`astro:only`))})();</script><script>(function(){function e(t){"@babel/helpers - typeof";return e=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},e(t)}function t(t,n){if(e(t)!=`object`||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,n||`default`);if(e(i)!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(n===`string`?String:Number)(t)}function n(n){var r=t(n,`string`);return e(r)==`symbol`?r:r+``}function r(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let i=/* @__PURE__ */ new Set([`__proto__`,`constructor`,`prototype`]);{let e={0:e=>a(e),1:e=>n(e),2:e=>new RegExp(e),3:e=>new Date(e),4:e=>new Map(n(e)),5:e=>new Set(n(e)),6:e=>BigInt(e),7:e=>new URL(e),8:e=>new Uint8Array(e),9:e=>new Uint16Array(e),10:e=>new Uint32Array(e),11:e=>1/0*e},t=t=>{let[n,r]=t;return n in e?e[n](r):void 0},n=e=>e.map(t),a=e=>typeof e!=`object`||!e?e:Object.fromEntries(Object.entries(e).map(([e,n])=>[e,t(n)]));class o extends HTMLElement{constructor(...e){super(...e),r(this,`Component`,void 0),r(this,`hydrator`,void 0),r(this,`hydrate`,async()=>{var e;if(!this.hydrator||!this.isConnected)return;let t=(e=this.parentElement)==null?void 0:e.closest(`astro-island[ssr]`);if(t){t.addEventListener(`astro:hydrate`,this.hydrate,{once:!0});return}let n=this.querySelectorAll(`astro-slot`),r={},i=this.querySelectorAll(`template[data-astro-template]`);for(let e of i){let t=e.closest(this.tagName);t!=null&&t.isSameNode(this)&&(r[e.getAttribute(`data-astro-template`)||`default`]=e.innerHTML,e.remove())}for(let e of n){let t=e.closest(this.tagName);t!=null&&t.isSameNode(this)&&(r[e.getAttribute(`name`)||`default`]=e.innerHTML)}let o;try{o=this.hasAttribute(`props`)?a(JSON.parse(this.getAttribute(`props`))):{}}catch(e){let t=this.getAttribute(`component-url`)||`<unknown>`,n=this.getAttribute(`component-export`);throw n&&(t+=` (export ${n})`),console.error(`[hydrate] Error parsing props for component ${t}`,this.getAttribute(`props`),e),e}await this.hydrator(this)(this.Component,o,r,{client:this.getAttribute(`client`)}),this.removeAttribute(`ssr`),this.dispatchEvent(new CustomEvent(`astro:hydrate`))}),r(this,`unmount`,()=>{this.isConnected||this.dispatchEvent(new CustomEvent(`astro:unmount`))})}disconnectedCallback(){document.removeEventListener(`astro:after-swap`,this.unmount),document.addEventListener(`astro:after-swap`,this.unmount,{once:!0})}connectedCallback(){if(!this.hasAttribute(`await-children`)||document.readyState===`interactive`||document.readyState===`complete`)this.childrenConnectedCallback();else{let e=()=>{document.removeEventListener(`DOMContentLoaded`,e),t.disconnect(),this.childrenConnectedCallback()},t=new MutationObserver(()=>{var t;((t=this.lastChild)==null?void 0:t.nodeType)===Node.COMMENT_NODE&&this.lastChild.nodeValue===`astro:end`&&(this.lastChild.remove(),e())});t.observe(this,{childList:!0}),document.addEventListener(`DOMContentLoaded`,e)}}async childrenConnectedCallback(){let e=this.getAttribute(`before-hydration-url`);e&&await import(e),this.start()}getRetryImportUrl(e){let t=new URL(e,document.baseURI);return t.searchParams.set(`astro-retry`,Date.now().toString()),t.toString()}async importWithRetry(e){try{return await import(e)}catch(t){return await new Promise(e=>setTimeout(e,1e3)),import(this.getRetryImportUrl(e))}}handleHydrationError(e){let t=this.getAttribute(`component-url`),n=new CustomEvent(`astro:hydration-error`,{cancelable:!0,bubbles:!0,composed:!0,detail:{error:e,componentUrl:t}});this.dispatchEvent(n)&&console.error(`[astro-island] Error hydrating ${t}`,e)}async start(){let e=JSON.parse(this.getAttribute(`opts`)),t=this.getAttribute(`client`);if(Astro[t]===void 0)window.addEventListener(`astro:${t}`,()=>this.start(),{once:!0});else try{await Astro[t](async()=>{let e=this.getAttribute(`renderer-url`);try{let[t,{default:n}]=await Promise.all([this.importWithRetry(this.getAttribute(`component-url`)),e?this.importWithRetry(e):Promise.resolve({default:()=>()=>{}})]),r=this.getAttribute(`component-export`)||`default`;if(r.includes(`.`)){this.Component=t;for(let e of r.split(`.`)){if(i.has(e)||!this.Component||typeof this.Component!=`object`&&typeof this.Component!=`function`||!Object.hasOwn(this.Component,e))throw Error(`Invalid component export path: ${r}`);this.Component=this.Component[e]}}else{if(i.has(r))throw Error(`Invalid component export path: ${r}`);this.Component=t[r]}return this.hydrator=n,this.hydrate}catch(e){return this.handleHydrationError(e),()=>{}}},e,this)}catch(e){this.handleHydrationError(e)}}attributeChangedCallback(){this.hydrate()}}r(o,`observedAttributes`,[`props`]),customElements.get(`astro-island`)||customElements.define(`astro-island`,o)}})();</script><astro-island uid="2wH2Dz" component-url="/_astro/SpaceSwitcher.DQOG363O.js" component-export="default" renderer-url="/_astro/client.BHNTqLjv.js" props="{&quot;data-astro-transition-persist&quot;:[0,&quot;astro-gyrtbwwo-1&quot;]}" ssr client="only" opts="{&quot;name&quot;:&quot;SpaceSwitcher&quot;,&quot;value&quot;:&quot;react&quot;}" data-astro-transition-persist="astro-gyrtbwwo-1"></astro-island></div><button type="button" id="tw-nav-toggle" class="tw-nav-toggle" aria-label="收起或展开左侧导航" aria-expanded="true" aria-controls="tw-nav-aside"><svg class="tw-nav-toggle-icon is-collapse" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 6l-6 6 6 6"></path></svg><svg class="tw-nav-toggle-icon is-expand" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 6l6 6-6 6"></path></svg></button><nav class="tw-nav-list flex-1 overflow-y-auto"><a href="/workbench/" class="tw-nav-item" data-i18n-hint="nav.home" data-hint="我的工作台"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M3 10.5 12 3l9 7.5"></path><path d="M5 9.5V20h14V9.5"></path></svg><span class="tw-nav-label" data-i18n="nav.home">我的工作台</span></a><div class="tw-nav-libraries"><div class="tw-nav-libraries-ph"><a href="/dashboard/" class="tw-nav-item" data-plugin-nav="dashboard"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><rect x="3" y="3" width="7" height="7" rx="1.5"></rect><rect x="14" y="3" width="7" height="7" rx="1.5"></rect><rect x="3" y="14" width="7" height="7" rx="1.5"></rect><rect x="14" y="14" width="7" height="7" rx="1.5"></rect></svg><span class="tw-nav-label" data-i18n="nav.dashboard">仪表盘</span></a><a href="/tasks/" class="tw-nav-item" data-plugin-nav="tasks"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M9 5h10"></path><path d="M9 12h10"></path><path d="M9 19h10"></path><path d="M4 5h.01"></path><path d="M4 12h.01"></path><path d="M4 19h.01"></path></svg><span class="tw-nav-label" data-i18n="nav.tasks">任务管理</span></a><a href="/todos/" class="tw-nav-item" data-plugin-nav="todos"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M8 6h13"></path><path d="M8 12h13"></path><path d="M8 18h13"></path><path d="M3 6h.01"></path><path d="M3 12h.01"></path><path d="M3 18h.01"></path></svg><span class="tw-nav-label" data-i18n="nav.todos">待办事项</span></a><a href="/pm/projects/" class="tw-nav-item" data-plugin-nav="projects"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7z"></path></svg><span class="tw-nav-label" data-i18n="nav.projects">项目列表</span></a><a href="/pm/iterations/" class="tw-nav-item" data-plugin-nav="iterations"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><rect x="3" y="5" width="18" height="16" rx="2"></rect><path d="M8 3v4"></path><path d="M16 3v4"></path><path d="M3 10h18"></path></svg><span class="tw-nav-label" data-i18n="nav.iterations">迭代管理</span></a><a href="/pm/requirements/" class="tw-nav-item" data-plugin-nav="pmRequirements"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M14 3v5h5"></path><path d="M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z"></path><path d="M8 13h8"></path><path d="M8 17h5"></path></svg><span class="tw-nav-label" data-i18n="nav.requirementsMgmt">需求管理</span></a><a href="/pm/bugs/" class="tw-nav-item" data-plugin-nav="bugs"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><circle cx="12" cy="14" r="5"></circle><path d="M9 6l2 2"></path><path d="M15 6l-2 2"></path><path d="M7 11H4"></path><path d="M20 11h-3"></path><path d="M7 17H4"></path><path d="M20 17h-3"></path></svg><span class="tw-nav-label" data-i18n="nav.bugs">缺陷管理</span></a><a href="/reports/" class="tw-nav-item" data-plugin-nav="reports"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M14 3v5h5"></path><path d="M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z"></path><path d="M8 13h8"></path><path d="M8 17h5"></path></svg><span class="tw-nav-label" data-i18n="nav.reports">工作汇报</span></a><a href="/test-stats/" class="tw-nav-item" data-plugin-nav="testStats"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M4 20V10"></path><path d="M10 20V4"></path><path d="M16 20v-7"></path><path d="M22 20H2"></path></svg><span class="tw-nav-label" data-i18n="nav.testStats">测试统计</span></a><a href="/case-exec/" class="tw-nav-item" data-plugin-nav="caseExec"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><circle cx="12" cy="12" r="9"></circle><circle cx="12" cy="12" r="5"></circle><circle cx="12" cy="12" r="1.4"></circle></svg><span class="tw-nav-label" data-i18n="nav.caseExec">用例执行统计</span></a><a href="/cases/library/" class="tw-nav-item" data-plugin-nav="cases"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M9 11l3 3L22 4"></path><path d="M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"></path></svg><span class="tw-nav-label" data-i18n="nav.caseManage">用例管理</span></a><a href="/knowledge/" class="tw-nav-item" data-plugin-nav="knowledgeLib"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"></path><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"></path></svg><span class="tw-nav-label" data-i18n="nav.knowledge">知识库管理</span></a><a href="/requirements/" class="tw-nav-item" data-plugin-nav="requirements" data-i18n-hint="nav.requirements"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M14 3v5h5"></path><path d="M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z"></path><path d="M8 13h8"></path><path d="M8 17h6"></path></svg><span class="tw-nav-label" data-i18n="nav.requirements">需求文档库</span></a><a href="/templates/" class="tw-nav-item" data-plugin-nav="templates" data-i18n-hint="nav.templates"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M12 3 3 8l9 5 9-5-9-5z"></path><path d="m3 13 9 5 9-5"></path></svg><span class="tw-nav-label" data-i18n="nav.templates">测试模板库</span></a></div><astro-island uid="Z1lgSd4" component-url="/_astro/NavLibraries.BybmHnXn.js" component-export="default" renderer-url="/_astro/client.BHNTqLjv.js" props="{&quot;data-astro-transition-persist&quot;:[0,&quot;astro-iywf7oe7-2&quot;]}" ssr client="only" opts="{&quot;name&quot;:&quot;NavLibraries&quot;,&quot;value&quot;:&quot;react&quot;}" data-astro-transition-persist="astro-iywf7oe7-2"></astro-island><script>(function(){const host = ".tw-nav-libraries";
105
105
  const cacheKey = "tw.hydrate.nav";
106
106
  const fixActive = true;
107
107
  const capture = false;
@@ -331,7 +331,7 @@ const syncNavGroups = true;
331
331
  // 缓存坏了就当没有
332
332
  }
333
333
  })();
334
- })();</script></div><a href="/prompts/" class="tw-nav-item" data-plugin-nav="prompts" data-pinned-nav="prompts"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M12 20h9"></path><path d="M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z"></path></svg><span class="tw-nav-label" data-i18n="nav.prompts">提示词管理</span></a><a href="/docs/manual/" class="tw-nav-item is-active font-medium" data-hint="帮助中心" data-i18n-hint="nav.helpCenter"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M5 4.5h9.5L19 9v10.5H5V4.5Z" stroke-linejoin="round"></path><path d="M14.5 4.5V9H19" stroke-linejoin="round"></path><path d="M8 13h8M8 16.5h6" stroke-linecap="round"></path></svg><span class="tw-nav-label" data-i18n="nav.helpCenter">帮助中心</span></a></nav><div class="tw-nav-foot"><script>(function(){let e=async e=>{await(await e())()};(self.Astro||(self.Astro={})).load=e,window.dispatchEvent(new Event(`astro:load`))})();</script><astro-island uid="Z12jkyC" prefix="r1" component-url="/_astro/SettingsDialog.CR3Iv-ml.js" component-export="default" renderer-url="/_astro/client.BHNTqLjv.js" props="{}" ssr client="load" opts="{&quot;name&quot;:&quot;SettingsDialog&quot;,&quot;value&quot;:true}" await-children><div class="tw-nav-foot-row"><button type="button" class="tw-nav-settings-btn" data-hint="设置"><svg class="tw-nav-ico w-4.5 h-4.5 shrink-0" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9c.2.6.7 1 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z"></path></svg><span data-i18n="nav.settings">设置</span></button><button type="button" class="tw-nav-provider-chip is-empty" data-hint="未配置模型"><span class="tw-nav-provider-dot" aria-hidden="true"></span><span class="tw-nav-provider-name">未配置</span></button></div><span hidden="" style="position:fixed;top:1px;left:1px;width:1px;height:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0;display:none"></span><!--astro:end--></astro-island></div></aside><script data-astro-rerun>
334
+ })();</script></div><a href="/prompts/" class="tw-nav-item" data-plugin-nav="prompts" data-pinned-nav="prompts"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M12 20h9"></path><path d="M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z"></path></svg><span class="tw-nav-label" data-i18n="nav.prompts">提示词管理</span></a><a href="/docs/manual/" class="tw-nav-item is-active font-medium" data-hint="帮助中心" data-i18n-hint="nav.helpCenter"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M5 4.5h9.5L19 9v10.5H5V4.5Z" stroke-linejoin="round"></path><path d="M14.5 4.5V9H19" stroke-linejoin="round"></path><path d="M8 13h8M8 16.5h6" stroke-linecap="round"></path></svg><span class="tw-nav-label" data-i18n="nav.helpCenter">帮助中心</span></a></nav><div class="tw-nav-foot"><script>(function(){let e=async e=>{await(await e())()};(self.Astro||(self.Astro={})).load=e,window.dispatchEvent(new Event(`astro:load`))})();</script><astro-island uid="Z12jkyC" prefix="r1" component-url="/_astro/SettingsDialog.F2HdD5v4.js" component-export="default" renderer-url="/_astro/client.BHNTqLjv.js" props="{}" ssr client="load" opts="{&quot;name&quot;:&quot;SettingsDialog&quot;,&quot;value&quot;:true}" await-children><div class="tw-nav-foot-row"><button type="button" class="tw-nav-settings-btn" data-hint="设置"><svg class="tw-nav-ico w-4.5 h-4.5 shrink-0" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9c.2.6.7 1 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z"></path></svg><span data-i18n="nav.settings">设置</span></button><button type="button" class="tw-nav-provider-chip is-empty" data-hint="未配置模型"><span class="tw-nav-provider-dot" aria-hidden="true"></span><span class="tw-nav-provider-name">未配置</span></button></div><span hidden="" style="position:fixed;top:1px;left:1px;width:1px;height:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0;display:none"></span><!--astro:end--></astro-island></div></aside><script data-astro-rerun>
335
335
  (function () {
336
336
  try {
337
337
  var raw = localStorage.getItem('tw.app.model.v1');
@@ -438,7 +438,7 @@ const syncNavGroups = true;
438
438
  });
439
439
  } catch (e) {}
440
440
  })();
441
- </script><main data-astro-transition-scope="astro-v4xhcqov-3" class="tw-main min-h-screen"><div id="tw-route-loading" class="tw-route-loading is-hidden" role="status" aria-live="polite" aria-label="页面加载中"><span class="tw-route-loading-spin" aria-hidden="true"></span></div><div class="tw-docs" data-astro-cid-lpetmyok><aside class="tw-docs-rail" aria-label="文档导航" data-astro-cid-lpetmyok><div class="tw-docs-rail-inner" data-astro-cid-lpetmyok><p class="tw-docs-rail-title" data-i18n="docs.nav.title" data-astro-cid-lpetmyok>文档</p><nav class="tw-docs-rail-nav" data-astro-cid-lpetmyok><a href="/docs/manual/" class="tw-docs-rail-link is-active" data-i18n="docs.nav.manual" data-astro-cid-lpetmyok>操作手册</a><a href="/docs/install/" class="tw-docs-rail-link" data-i18n="docs.nav.install" data-astro-cid-lpetmyok>安装手册</a><a href="/docs/changelog/" class="tw-docs-rail-link" data-i18n="docs.nav.changelog" data-astro-cid-lpetmyok>版本日志</a></nav><div class="tw-docs-rail-ext" data-astro-cid-lpetmyok><a href="https://docs.yychuiyan.com/friends/apply/" class="tw-docs-rail-link tw-docs-rail-link--ext" target="_blank" rel="noopener noreferrer" data-i18n="nav.board" data-astro-cid-lpetmyok>问题与建议</a></div></div></aside><div class="tw-docs-main" data-astro-cid-lpetmyok><article class="tw-docs-article"><header class="tw-docs-article-hero"><h1 class="tw-docs-article-title" data-i18n="docs.nav.manual">操作手册</h1><p class="tw-docs-article-lead">模型配置、工作台用法、内容目录与插件说明。</p></header><div class="tw-docs-prose"><p>界面从左到右为:左侧导航(功能入口)→ 中间内容区(工作台 / 内容库)→ 底部「设置」。首次使用请先完成模型配置。</p>
441
+ </script><main data-astro-transition-scope="astro-v4xhcqov-3" class="tw-main min-h-screen"><div id="tw-route-loading" class="tw-route-loading is-hidden" role="status" aria-live="polite" aria-label="页面加载中"><span class="tw-route-loading-spin" aria-hidden="true"></span></div><div class="tw-docs has-toc" data-astro-cid-lpetmyok><aside class="tw-docs-rail" aria-label="文档导航" data-astro-cid-lpetmyok><div class="tw-docs-rail-inner" data-astro-cid-lpetmyok><p class="tw-docs-rail-title" data-i18n="docs.nav.title" data-astro-cid-lpetmyok>文档</p><nav class="tw-docs-rail-nav" data-astro-cid-lpetmyok><a href="/docs/manual/" class="tw-docs-rail-link is-active" data-i18n="docs.nav.manual" data-astro-cid-lpetmyok>操作手册</a><a href="/docs/install/" class="tw-docs-rail-link" data-i18n="docs.nav.install" data-astro-cid-lpetmyok>安装手册</a><a href="/docs/changelog/" class="tw-docs-rail-link" data-i18n="docs.nav.changelog" data-astro-cid-lpetmyok>版本日志</a></nav><div class="tw-docs-rail-ext" data-astro-cid-lpetmyok><a href="https://docs.yychuiyan.com/friends/apply/" class="tw-docs-rail-link tw-docs-rail-link--ext" target="_blank" rel="noopener noreferrer" data-i18n="nav.board" data-astro-cid-lpetmyok>问题与建议</a></div></div></aside><div class="tw-docs-main" data-astro-cid-lpetmyok><article class="tw-docs-article"><header class="tw-docs-article-hero"><h1 class="tw-docs-article-title" data-i18n="docs.nav.manual">操作手册</h1><p class="tw-docs-article-lead">模型配置、工作台用法、内容目录与插件说明。</p></header><div class="tw-docs-prose"><p>界面从左到右为:左侧导航(功能入口)→ 中间内容区(工作台 / 内容库)→ 底部「设置」。首次使用请先完成模型配置。</p>
442
442
  <table>
443
443
  <thead>
444
444
  <tr>
@@ -456,10 +456,10 @@ const syncNavGroups = true;
456
456
  </tr>
457
457
  <tr>
458
458
  <td>帮助中心</td>
459
- <td>版本日志 / 操作手册 / 安装手册,以及「问题与建议」外链</td>
459
+ <td>版本日志 / 操作手册 / 安装手册,以及「问题与建议」外链;三页在大屏(≥1280px)下正文右侧带「本页目录」锚点导航(操作手册 / 安装手册按标题,版本日志按版本号),窄屏自动隐藏</td>
460
460
  </tr>
461
461
  </tbody></table>
462
- <h2>模型配置(BYOK,自带密钥)</h2>
462
+ <h2 id="模型配置byok自带密钥">模型配置(BYOK,自带密钥)</h2>
463
463
  <p>点击侧栏底部「设置」→「模型」→「+ 添加模型提供商」,填入任意 OpenAI 兼容接口:</p>
464
464
  <table>
465
465
  <thead>
@@ -504,7 +504,7 @@ const syncNavGroups = true;
504
504
  <blockquote>
505
505
  <p><strong>安全提示</strong>:Key 仅保存在本机(本地服务写入 <code>.lantern/local/app.config.json</code>,静态站回退浏览器 localStorage),不上传任何服务器,也不会进入仓库。请勿在公共电脑上使用;请勿把 Key 写入任何会被提交的文件。</p>
506
506
  </blockquote>
507
- <h2>平台版本与更新</h2>
507
+ <h2 id="平台版本与更新">平台版本与更新</h2>
508
508
  <p>「设置 → 通用」底部的「平台版本」显示当前版本,并提供检查与更新:</p>
509
509
  <ul>
510
510
  <li><strong>检查更新</strong>:向 npm registry(跟随 <code>npm config get registry</code>,读不到时用官方源)查最新版本,结果缓存 30 分钟;检查失败只提示「无法检查更新」,不影响使用。</li>
@@ -513,21 +513,21 @@ const syncNavGroups = true;
513
513
  <li><strong>有新版本</strong>:侧栏版本号旁出现小圆点,点圆点直接打开该设置项;点「更新并重启」后服务会停掉、全局安装新版本、再用原端口和数据空间重启,页面轮询等待后显示「已更新到 vX」,可点「刷新页面」。</li>
514
514
  <li><strong>更新进行中</strong>:按钮禁用并显示进度;期间页面请求短暂失败属正常现象,不会弹错误条。</li>
515
515
  <li><strong>更新失败</strong>:显示错误与日志路径(<code>~/.config/lantern-harness/logs/server.log</code>),旧版本会自动恢复启动;也可以回终端执行 <code>lantern update</code>。</li>
516
- <li><strong>源码 / dev 模式</strong>:只提示、不执行更新,请在仓库里 <code>git pull</code> 后重新 <code>pnpm build</code>;<strong>npx 模式</strong>:更新会转为全局安装并重启,之后不再走 npx 缓存。</li>
516
+ <li><strong>源码 / dev 模式</strong>:只提示、不执行更新,请在仓库里 <code>git pull</code> 后重新 <code>pnpm build</code>;服务重启后若当前标签页还挂着旧构建,切页 / 回到前台时会自动刷新一次跟上当前服务,不用逐页手动刷。<strong>npx 模式</strong>:更新会转为全局安装并重启,之后不再走 npx 缓存。</li>
517
517
  </ul>
518
- <h2>我的工作台</h2>
518
+ <h2 id="我的工作台">我的工作台</h2>
519
519
  <p>侧栏进入「我的工作台」(<code>/workbench/</code>;打开站点根 <code>/</code> 也会默认落到这里)。空会话居中展示品牌与标志语「提灯的人不问路」,并隐藏会话标题与「对话 / 回合 / 记忆」Tab;发出首条消息后顶栏与 Tab 出现。</p>
520
520
  <ul>
521
521
  <li><strong>Tab 记忆</strong>:在「对话 / 回合 / 待办 / 记忆」之间切换后,刷新或重新进入页面仍停在原 Tab;选择按当前数据空间记在浏览器本地。空会话没有 Tab 栏,自动回到「对话」。</li>
522
522
  </ul>
523
- <h3>会话与工作区</h3>
523
+ <h3 id="会话与工作区">会话与工作区</h3>
524
524
  <ul>
525
525
  <li>「新会话」创建空对话;无消息的空会话在切换走时会被丢弃。</li>
526
526
  <li>会话可置顶、重命名、归档、软删除;永久删除仅对已归档会话开放。标题由首条消息经模型自动生成短标题。</li>
527
527
  <li>顶部搜索框可按工作区 / 会话标题 / 消息内容检索。</li>
528
528
  <li>会话按工作区文件夹组织;输入区可切换 / 添加本地工作区,模型读写文件即落在该工作区。</li>
529
529
  </ul>
530
- <h3>对话 Tab</h3>
530
+ <h3 id="对话-tab">对话 Tab</h3>
531
531
  <ul>
532
532
  <li>流式回复;思考与工具步骤在时间线中折叠展示,点击可展开全文。</li>
533
533
  <li>每条助手消息显示用量与耗时(模型用时、工具用时、TTFT、TPS);「+」→「会话统计」可查看整会话摘要。</li>
@@ -535,7 +535,7 @@ const syncNavGroups = true;
535
535
  <li>有一体服务时,回合可在服务端继续跑,刷新 / 切页可重连;手动停止展示「已停止」。</li>
536
536
  <li>上下文过长时自动摘要压缩(压缩阶段可中断);也可用「+」→「压缩」手动压缩以上对话。</li>
537
537
  </ul>
538
- <h3>输入区</h3>
538
+ <h3 id="输入区">输入区</h3>
539
539
  <p>输入框下方工具栏:</p>
540
540
  <table>
541
541
  <thead>
@@ -577,14 +577,14 @@ const syncNavGroups = true;
577
577
  <li>输入末尾 <code>/</code> 唤起已启用的面板型插件;未启用会提示先到「我的插件」打开。</li>
578
578
  <li>Enter 发送;生成中 Cmd/Ctrl+Enter 按通用设置选择的「排队发送」或「插话发送」执行。</li>
579
579
  </ul>
580
- <h3>回合 Tab</h3>
580
+ <h3 id="回合-tab">回合 Tab</h3>
581
581
  <ul>
582
582
  <li>按轮次列出用户 / 助手摘要,可展开查看完整正文(不含思考)。</li>
583
583
  <li><strong>从此处继续</strong>:截断到该轮末,切回「对话」,填入「请从第 N 轮继续」并自动发送。待回复或生成中时按钮不可用。</li>
584
584
  </ul>
585
- <h3>记忆 Tab</h3>
585
+ <h3 id="记忆-tab">记忆 Tab</h3>
586
586
  <p>需先启用扩展插件「会话记忆」。见下文「会话记忆」。</p>
587
- <h3>计划模式、目标与定时</h3>
587
+ <h3 id="计划模式目标与定时">计划模式、目标与定时</h3>
588
588
  <ul>
589
589
  <li><strong>计划模式</strong>:<code>+</code> →「计划」进入。探查阶段模型只读不改,先给出方案(<code>submit_plan</code>),批准后才实施;输入区显示「计划模式·探查中 / 已批准」胶囊,可随时退出。相位与待批方案会写入会话,刷新或切回后仍在(跨刷新无法续接当时挂起的 tool 调用,批准只恢复「已批准」相位)。</li>
590
590
  <li><strong>目标</strong>:<code>+</code> →「目标」设置本会话的长期任务目标;目标写入系统提示,模型可读写并按目标驱动多轮续跑。</li>
@@ -593,7 +593,7 @@ const syncNavGroups = true;
593
593
  <li><strong>分叉会话</strong>:侧栏菜单「分叉会话」复制当前对话到新会话,与子代理 <code>fork_subagent</code> 无关。</li>
594
594
  <li><strong>持久终端</strong>:模型可用 <code>bash_session_*</code> / <code>pwsh_session_*</code>(含 write / signal)跨调用保持 cwd;后台任务可用 <code>job_output</code> 的 <code>tail</code> 读末尾日志。</li>
595
595
  </ul>
596
- <h2>内容目录约定</h2>
596
+ <h2 id="内容目录约定">内容目录约定</h2>
597
597
  <p>磁盘目录与侧栏 / 文案一致,均为<strong>中文</strong>。文件即数据:放入对应目录并 push,构建后上架;本地服务下也可在界面里增删。</p>
598
598
  <table>
599
599
  <thead>
@@ -635,7 +635,7 @@ const syncNavGroups = true;
635
635
  <blockquote>
636
636
  <p>旧版英文目录(<code>requirements/</code> / <code>cases/</code> / <code>prompts/</code> / <code>knowledge/</code> / <code>templates/</code>)在启动时<strong>自动改名</strong>为上述中文目录,无需手工迁移;若目标目录已存在则不覆盖。</p>
637
637
  </blockquote>
638
- <h3>整体拷贝 / 扫描纳入</h3>
638
+ <h3 id="整体拷贝-扫描纳入">整体拷贝 / 扫描纳入</h3>
639
639
  <p>把一份空间文件夹(带 <code>.lantern/space.json</code> 清单)整体拷进数据目录后,在「空间管理」点「扫描文件夹」,即可纳入列表:名称以目录名为准,清单里的 id 与已有空间撞车时自动换新。</p>
640
640
  <p>「空间管理」里的「复制」是另一种做法:在数据目录内<strong>逐文件复制</strong>出一个新空间(含待办、任务、汇报、会话、记忆与配置),新空间直接出现在列表里、不需要再扫描。</p>
641
641
  <ul>
@@ -652,7 +652,7 @@ const syncNavGroups = true;
652
652
  <li>切换到这类空间时才会写运行时配置(<code>.lantern/config</code>、<code>.lantern/local</code>,插件开关与会话需要落地),内容目录与文件仍按原样保留。</li>
653
653
  <li>命令行等价操作:<code>lantern space discover</code>(列出候选)→ <code>lantern space discover --adopt &lt;文件夹名&gt;</code>。</li>
654
654
  </ul>
655
- <h3>侧栏分组即文件夹</h3>
655
+ <h3 id="侧栏分组即文件夹">侧栏分组即文件夹</h3>
656
656
  <p>侧栏分组会落成空间根下的真实文件夹:分组名就是文件夹名,文件夹里的 <code>.group.json</code> 记录分组 id 与成员菜单(子文件夹即子分组)。把整个空间目录拷到另一台机器后,本地服务扫一遍目录即可还原分组,不依赖本机配置。<strong>分组名和内容根重名时(例如分组也叫「用例管理」),文件夹会自动加后缀避让成 <code>用例管理 (分组)/</code>,但侧栏仍显示你取的名字</strong>——展示名记在 <code>.group.json</code> 的 <code>name</code> 字段里,所以不会再出现「用例管理 (分组)」这种带后缀的菜单。</p>
657
657
  <p><strong>组内的内容目录会一起搬进分组文件夹</strong>:把「需求文档库」拖进「文档组」后,磁盘上是 <code>文档组/需求文档库/</code>;取消分组再搬回空间根。子分组同理(<code>父组/子组/用例管理/</code>)。这样只看文件夹结构就能看出哪份内容属于哪个分组。搬到目标位置时若已有同名文件,不会覆盖,只把冲突条目留在原处并给出提示。待办、任务、工作汇报、测试统计、用例执行统计这类数据目录也一样跟着分组走(<code>待办管理/待办事项/待办.json</code>、<code>待办管理/任务管理/任务.json</code>、<code>待办管理/工作汇报/日报/…</code>、<code>质量数据/测试统计/测试统计.json</code>、<code>质量数据/用例执行统计/用例执行统计.json</code>)。</p>
658
658
  <pre><code class="language-text">任务空间/
@@ -678,7 +678,7 @@ const syncNavGroups = true;
678
678
  知识库管理/
679
679
  # 平铺存放;分类写在文档 frontmatter 的 category(测试规范 / 方法论 / 环境约定)
680
680
  </code></pre>
681
- <h3>各库操作</h3>
681
+ <h3 id="各库操作">各库操作</h3>
682
682
  <table>
683
683
  <thead>
684
684
  <tr>
@@ -716,7 +716,7 @@ const syncNavGroups = true;
716
716
  <p>用例管理 / 提示词管理 / 知识库管理的列表都支持搜索与「按修改时间 / 按文件名」排序;<strong>搜索词与排序方式会记住</strong>,刷新或重新进入页面仍是上次的样子(三个库各记各的,按当前数据空间分开存)。列宽也能调:拖动表头「评审 / 创建时间 / 修改时间 / 大小 / 操作」的右边缘改宽度;文件名那一列自动吃掉剩余宽度,调完不会在右边留空。列宽按库分别记住(<code>docs:cases:cols</code> 这类 key),刷新后保持。勾选列与文件名贴左固定、操作列贴右固定,横向滚动时不会滚丢;滚到哪儿也记着,刷新或切页回来仍是上次的位置。</p>
717
717
  <p>提示词列表在「文件名」右侧多一列<strong>关联插件</strong>:<code>工作汇报提示词.md</code> 显示「工作汇报」、<code>Playwright提示词.md</code> 显示「自动化测试」、<code>默认提示词.md</code> 显示「系统默认」,其它提示词一律显示「未关联」。<strong>按实际挂载的也算关联</strong>:在自动化测试「挂载提示词」里给某个项目选了 <code>pytest提示词.md</code> 后,这里同样显示「自动化测试」;在工作汇报页把提示词换成自定义文件,则显示「工作汇报」。各项目各挂各的,互不影响。只有<strong>此刻真的被挂载</strong>的那份才会再标一个「引用中」——一个项目只挂一份,换掉挂载后上一份立刻变回普通提示词(<code>Playwright提示词.md</code> 没人挂时只显示「自动化测试」,不带「引用中」)。<code>引用中</code> 的行 <code>删除 / 改名</code> 置灰并锁定(服务端也会拒绝,避免绕过界面),先换挂载或关掉对应插件再操作;插件自带的那份提示词在插件开启期间也保持锁定(插件要拿它做种子 / 模板),关掉插件后可删,再打开会重新生成种子。文件没删的话,再次打开插件会继续引用原来那份,不会被模板盖掉。</p>
718
718
  <p>每行还能直接经营:操作列在「在会话中打开」右侧有<strong>复制</strong>(同名同目录复制一份,先弹命名,默认 <code>原名(副本)</code>;同名会拦下)与<strong>删除</strong>(带图标),三者同一行对齐;文件名右侧悬停出现<strong>改名</strong>按钮,只改主名、扩展名锁定,同一目录下重名同样拦下并提示。改名 / 删除后列表立即刷新。移出自动化测试项目时,它挂载的提示词会自动取消挂载,这里立刻回到「未关联」(同页在线时即时刷新,不用等切页)。</p>
719
- <h3>测试模板库格式</h3>
719
+ <h3 id="测试模板库格式">测试模板库格式</h3>
720
720
  <table>
721
721
  <thead>
722
722
  <tr>
@@ -747,7 +747,7 @@ version: &#39;1.0&#39; # 可选
747
747
  ---
748
748
  </code></pre>
749
749
  <p>知识库条目(<code>知识库管理/**.md</code>)frontmatter 为 <code>title</code> / <code>category</code> / <code>description</code>,缺省时用 <code>未命名</code> / <code>未分类</code>,不会中断构建。</p>
750
- <h2>我的插件</h2>
750
+ <h2 id="我的插件">我的插件</h2>
751
751
  <p>工作台会话栏「新会话」下方点「插件」进入:</p>
752
752
  <ul>
753
753
  <li><strong>我的插件</strong>(<code>/plugins/</code>):分「扩展插件 / 会话插件 / 全局插件」三个 Tab(默认打开扩展插件),Tab 标题带数量;点击卡片展开详情。扩展为可配置项,可开关;开关状态存本机。插件随仓库代码发布,不提供远程安装 / 更新。<strong>Tab 记忆</strong>:切到哪个 Tab,刷新或重新进入页面仍停在哪个 Tab,选择按当前数据空间记在浏览器本地。</li>
@@ -928,7 +928,7 @@ version: &#39;1.0&#39; # 可选
928
928
  <blockquote>
929
929
  <p><strong>新建空间默认开启「提示词管理」,其余插件默认关闭</strong>:每个空间都会带上自己的「默认提示词.md」,因此提示词管理是内置常开项;其余入口与「生成」能力仍要在「我的插件」里按分类手动开启,已有空间也保持原开关。种子文件(默认提示词、模板)不会让其它插件自动打开,只有用户自己放进空间的内容才会触发首次识别。</p>
930
930
  </blockquote>
931
- <h3>待办事项</h3>
931
+ <h3 id="待办事项">待办事项</h3>
932
932
  <p>「我的插件」→「待办与效率」→「待办事项」开启后,侧栏出现「待办事项」入口(<code>/todos/</code>)。</p>
933
933
  <ul>
934
934
  <li>数据落在当前数据空间的 <code>待办事项/待办.json</code>(放进侧栏分组后跟着走,如 <code>待办管理/待办事项/待办.json</code>),随空间走、不进 git;切换空间后看到的是各空间自己的待办。旧版的 <code>.lantern/local/todos.json</code> 会在首次读写时自动搬过来。</li>
@@ -953,7 +953,7 @@ version: &#39;1.0&#39; # 可选
953
953
  <li>工作台里直接说「记一条待办:周五前提交测试报告」,AI 会调用 <code>todo_add</code>;写入前聊天区会弹出<strong>待办快卡</strong>(与「+ → 待办」的完整表单不同):只需要确认 / 修改待办名称,其余字段按固定规则自动填好——状态「进行中」、开始与截止日期默认当天,日期是<strong>可改的区间</strong>(点开始 / 截止任一日期就能打开日历,改起点晚于截止时截止会跟着挪,反之亦然;AI 明确给出日期时按给出的,例如「周五前」默认开始到截止都是那天)、所属任务默认「日常待办」,这一行也是下拉,可以换成任务管理里已有的任务;任务管理里没有「日常待办」时,选项里显示「日常待办(确认后自动创建)」,点「确认新增」后自动创建(状态进行中、紧急程度重要不紧急、开始日期当年第一天、截止日期当年最后一天;任务管理插件关闭时不关联任务)。紧急程度跟随所属任务,快卡里不再单独填。点「取消」或点卡片外面会收起卡片、不写任何数据,也不会留下一张空任务。快卡只在用户<strong>明确要求记录待办</strong>(「记一下 / 加个待办 / 帮我跟进 / 提醒我周五前完成」)时出现;只是聊天里提到一件事、行程或计划时 AI 不会建待办,也不会弹卡。如果 AI 已经明确识别出要归到哪个任务(例如你说「加到登录模块这个任务下」),会按该任务关联,不再套「日常待办」。查进度用 <code>todo_list</code>,完成用 <code>todo_update</code>。停在该页时会定时刷新,AI 在会话里写入后不用手动刷新。</li>
954
954
  <li>待办表格里「所属任务」在「紧急程度」左侧:关联了任务时紧急程度显示为任务的紧急程度(单元格只读,换任务会自动跟着变,要改就去任务管理改那个任务);没有关联任务时仍可在单元格里直接选。按紧急程度筛选 / 分组也按任务带出的紧急程度计算。</li>
955
955
  </ul>
956
- <h3>任务管理</h3>
956
+ <h3 id="任务管理">任务管理</h3>
957
957
  <p>「我的插件」→「待办与效率」→「任务管理」开启后,侧栏出现「任务管理」入口(<code>/tasks/</code>)。</p>
958
958
  <ul>
959
959
  <li>数据落在当前数据空间的 <code>任务管理/任务.json</code>(放进侧栏分组后跟着走,如 <code>待办管理/任务管理/任务.json</code>);切换空间后看到各空间自己的任务。旧版的 <code>.lantern/local/tasks.json</code> 会在首次读写时自动搬过来。</li>
@@ -969,14 +969,14 @@ version: &#39;1.0&#39; # 可选
969
969
  <li>删除任务不会删待办,只是解除关联(待办里的「所属任务」变为未关联)。</li>
970
970
  <li>列宽同样可拖表头右边缘调整,与待办页一致;表头、行高、状态胶囊、行尾展开 / 删除按钮的样式也与待办页保持同一套。</li>
971
971
  </ul>
972
- <h3>项目管理</h3>
972
+ <h3 id="项目管理">项目管理</h3>
973
973
  <p>「我的插件」→「项目管理」下有四个独立插件:<strong>项目列表</strong>、<strong>迭代管理</strong>、<strong>需求管理</strong>、<strong>缺陷管理</strong>,新建空间默认全部关闭。后三个依赖「项目列表」:开启任一子项会自动打开「项目列表」,关闭「项目列表」会连带关闭另外三个。</p>
974
974
  <ul>
975
975
  <li>四类数据各自放在当前空间对应的目录里:<code>项目列表/项目列表.json</code>、<code>迭代管理/迭代管理.json</code>、<code>需求管理/需求管理.json</code>、<code>缺陷管理/缺陷管理.json</code>,文件里是 <code>{ version, items }</code>(需求 / 缺陷另带 <code>seq</code>)。目录固定挂在空间根,不随侧栏分组移动;<strong>只有真的有数据时才创建</strong>,没有数据不会铺空目录。切换空间后看到各空间自己的数据。页面每 8 秒静默刷新一次。旧版四插件共用的 <code>项目管理/项目管理.json</code> 会在首次读取(或打开开关)时自动按实体拆到四个目录,拆完删除旧文件。</li>
976
976
  <li>状态枚举沿用 luckytask:项目 <code>规划中 / 进行中 / 已归档</code>;迭代 <code>规划中 / 进行中 / 已完成</code>;需求 <code>待评估 / 待开发 / 开发中 / 测试中 / 已完成 / 已取消</code>(优先级 <code>紧急 / 高 / 中 / 低</code>);缺陷 <code>待确认 / 待修复 / 修复完成 / 待验证 / 验证通过 / 已取消</code>(严重程度 <code>致命 / 严重 / 一般 / 轻微</code>)。</li>
977
977
  <li><strong>缺陷状态流转</strong>:<code>待确认 → 待修复 → 修复完成 → 待验证 → 验证通过</code>,任何阶段都可以改「已取消」。AI 改完并自测通过后<strong>只推进到「待验证」</strong>;「验证通过 / 已取消」由你验证后再定。项目详情页的「缺陷完成 %」= (验证通过 + 已取消)÷ 缺陷总数。旧数据里保存的「修复中」读取时按「修复完成」、「已关闭」按「验证通过」显示,不用手工改文件。</li>
978
978
  <li><strong>级联规则</strong>:删项目会连带删掉它的迭代、需求与缺陷(确认弹窗里有说明);删迭代只把需求 / 缺陷的「所属迭代」置空;删需求只把缺陷的「关联需求」置空。迭代、需求、缺陷本身都保留。把迭代改挂到别的项目时,原项目下关联它的需求 / 缺陷会解除迭代关联;把需求改挂到别的项目时,原项目下关联它的缺陷会解除需求关联。</li>
979
- <li><strong>编号</strong>:需求 <code>REQ-001</code>、缺陷 <code>BUG-001</code> 由服务端按递增序号分配,删除后不回收。</li>
979
+ <li><strong>编号</strong>:需求 <code>REQ-001</code>、缺陷 <code>BUG-001</code> 由服务端按顺序分配;删掉某条后编号自动顺延(后面的整体前移),不留空洞。编号只是展示用的序号,记录之间靠内部 id 关联,顺延不影响已建的关联关系。</li>
980
980
  <li><strong>筛选记忆</strong>:四个看板的状态 / 项目 / 迭代 / 优先级 / 严重程度筛选与搜索词都按当前数据空间记在浏览器本地,刷新、重新进入页面或切回同一空间时保持上次的筛选;项目或迭代被删掉后,失效的筛选值会自动回到「全部」。</li>
981
981
  <li><strong>项目列表</strong>(<code>/pm/projects/</code>):卡片显示项目名首字、状态徽标、描述与「N 迭代 · N 需求 · N 缺陷」,右下角显示需求完成度;顶部可按状态筛选、搜索,卡片三点菜单提供「编辑 / 归档(或取消归档)/ 删除」。<strong>点卡片(或卡片上的箭头)进入项目详情二级页</strong> <code>/pm/projects/detail/?id=&lt;项目 id&gt;</code>:页头是返回按钮 + 项目名 / 描述 / 状态,下面用「迭代 / 需求 / 缺陷」三个页签切换当前项目的数据,可直接新建、改状态、编辑与删除;关闭「项目列表」插件后详情页同样不可用。</li>
982
982
  <li><strong>迭代管理</strong>(<code>/pm/iterations/</code>):按项目与状态下拉筛选,卡片显示「项目 · 开始 → 截止」、时间进度条与百分比;未完成且过了截止日期会标出逾期天数,未到期显示还剩几天。行内可「开始 / 完成」、编辑或删除;结束日期不能早于开始日期。列表列宽可拖表头右边缘调整,勾选相关列与操作列可固定,列宽与横向滚动位置按空间记住。</li>
@@ -984,7 +984,7 @@ version: &#39;1.0&#39; # 可选
984
984
  <li><strong>缺陷管理</strong>(<code>/pm/bugs/</code>):表格列 ID / 缺陷标题 / 严重程度 / 缺陷状态 / 所属项目 / 所属迭代;<strong>默认按创建时间倒序排列</strong>(新建的在最前,所以编号通常是倒着看的),顶部用状态胶囊筛选,另可按项目、迭代、严重程度筛选与搜索;状态可行内改。抽屉只填缺陷描述(第一行自动作为列表标题)、附件与备注,另可关联同一项目的需求;附件支持上传文件 / 图片、拖拽或直接粘贴截图(可多选),落到当前空间的 <code>缺陷管理/附件/</code>(归进侧栏分组后跟着走),可单个移除,删除缺陷时一并清理。点缩略图 / 文件名在页内放大预览(开合有淡入淡出);<strong>Esc 先关预览,再按一次才关抽屉</strong>。新建未提交就关抽屉时,已填内容会按空间暂存在浏览器里,再点「新建缺陷」可接着填(有草稿时不清理已上传附件);创建成功后清空这份草稿。分页与「测试统计」一致(每页条数可选,首页 / 末页)。表头可拖列宽,ID / 缺陷标题贴左固定、操作贴右固定,列宽与横向滚动位置按空间记住。</li>
985
985
  <li><strong>AI 工具</strong>:项目 / 迭代 / 需求 / 缺陷各有一组 <code>list / add / update / delete</code>(共 16 个,名称为 <code>pm_project_*</code> 等)。可以让 AI「把登录需求挂到 v1.0 迭代」「把这条缺陷改成待验证」;写操作直接落库、不弹确认卡片,执行前 AI 会用 <code>list</code> 拿真实 id。计划模式下只允许查询,写入会被拦截。项目 / 迭代 / 需求也支持直接传名称,系统先精确、再忽略大小写匹配。</li>
986
986
  </ul>
987
- <h3>工作汇报</h3>
987
+ <h3 id="工作汇报">工作汇报</h3>
988
988
  <p>「我的插件」→「待办与效率」→「工作汇报」开启后,侧栏出现「工作汇报」入口(<code>/reports/</code>),并管理当前空间的提示词与汇报目录。</p>
989
989
  <ul>
990
990
  <li><strong>打开插件</strong>:把内置的种子模板写成当前空间的 <code>提示词管理/工作汇报提示词.md</code>(文件已存在时不覆盖,保留用户改过的内容)。<code>工作汇报/日报 · 周报 · 月报</code> 目录<strong>不预建</strong>,等真正写入汇报文件时才出现。</li>
@@ -998,7 +998,7 @@ version: &#39;1.0&#39; # 可选
998
998
  <li><strong>修改提示词</strong>:到「提示词管理」找到 <code>工作汇报提示词.md</code>,行尾点「在会话中打开」把文件挂到工作台作曲区,直接让 AI 改并保存;也可以双击本地打开编辑。改完重新进入工作台生效(提示词在进入页面时读取一次)。</li>
999
999
  <li>开关、提示词与汇报目录都跟当前数据空间走,切换空间后各用各的。</li>
1000
1000
  </ul>
1001
- <h3>测试统计</h3>
1001
+ <h3 id="测试统计">测试统计</h3>
1002
1002
  <p>「我的插件」→「测试统计」→「测试统计」开启后,侧栏出现「测试统计」入口(<code>/test-stats/</code>)。</p>
1003
1003
  <ul>
1004
1004
  <li>数据落在当前数据空间的 <code>测试统计/测试统计.json</code>(放进侧栏分组后跟着走,如 <code>质量数据/测试统计/测试统计.json</code>);切换空间后看到各空间自己的记录。<strong>打开开关或进入页面不会预建目录 / 空文件</strong>,第一次添加记录(含空占位行)才铺出 <code>测试统计/</code> 与这份 JSON。</li>
@@ -1009,7 +1009,7 @@ version: &#39;1.0&#39; # 可选
1009
1009
  <li>单元格改完即自动保存(数量停止输入约 0.6 秒、失焦或回车落库),没有保存 / 取消按钮,行尾只有删除;删除占位行同样会把它从 JSON 里去掉。</li>
1010
1010
  <li>顶部汇总显示记录数、覆盖维度数与数量合计,并支持按日期 / 维度 / 数量搜索;支持勾选后「批量删除」(二次确认),行尾也可删除单条。搜索词会记住(刷新 / 重新进入页面仍按上次的关键词过滤)。列表默认每页 20 条,可切换每页条数;列宽可拖表头右边缘调整,存在浏览器本地。</li>
1011
1011
  </ul>
1012
- <h3>用例执行统计</h3>
1012
+ <h3 id="用例执行统计">用例执行统计</h3>
1013
1013
  <p>「我的插件」→「测试统计」→「用例执行统计」开启后,侧栏出现「用例执行统计」入口(<code>/case-exec/</code>)。</p>
1014
1014
  <ul>
1015
1015
  <li>数据落在当前数据空间的 <code>用例执行统计/用例执行统计.json</code>(放进侧栏分组后跟着走);切换空间后看到各空间自己的记录。<strong>打开开关或进入页面不会预建目录 / 空文件</strong>,第一次添加记录(含空占位行)才铺出 <code>用例执行统计/</code> 与这份 JSON。</li>
@@ -1020,7 +1020,7 @@ version: &#39;1.0&#39; # 可选
1020
1020
  <li>单元格改完即自动保存(数字停止输入约 0.6 秒、失焦或回车落库),没有保存 / 取消按钮,行尾只有删除(删掉该行会一并删掉 JSON 里的记录)。</li>
1021
1021
  <li>顶部汇总显示记录数、项目数、已执行 / 用例总数与整体执行率;支持按项目 / 日期搜索,支持勾选本页后批量删除(二次确认),行尾也可删除单条。搜索词会记住(刷新 / 重新进入页面仍按上次的关键词过滤)。列表默认每页 20 条,可切换每页条数;列宽可拖表头右边缘调整,列窄时「执行比例」的进度条也会保留最小宽度,不会压成一条线。</li>
1022
1022
  </ul>
1023
- <h3>自动化测试</h3>
1023
+ <h3 id="自动化测试">自动化测试</h3>
1024
1024
  <p>「我的插件」→「测试统计」→「自动化测试」开启后,侧栏出现「自动化测试」入口(<code>/test-automation/</code>)。站点根 <code>/</code> 仍默认进「我的工作台」;自动化测试需从侧栏进入。</p>
1025
1025
  <ul>
1026
1026
  <li>挂载目标项目里<strong>已有的测试项目</strong>,不新增依赖、也不改项目文件:点「挂载项目」在卡片里展开目录面板(不是弹窗,按钮带箭头,再点一次收起),用「浏览…」调系统原生选目录,也可以直接粘贴 / 输入绝对路径(系统不允许弹窗时照样能挂载),点「挂载」即可:框架按 <code>playwright.config.ts</code>、<code>requirements.txt: pytest</code>、<code>pom.xml: selenium</code> 这类证据自动识别,挂完直接选中该项目、停在「运行」页。同一个目录重复挂载会切到已有记录。还没挂载任何项目时,面板常驻在空状态下方,打开页面就能填。首期支持:<ul>
@@ -1074,7 +1074,7 @@ version: &#39;1.0&#39; # 可选
1074
1074
  <li>旧版本的 <code>UI自动化/</code> 目录与平铺的 <code>报告/ 结果/ 日志/</code> 在首次读取时自动改名 / 搬迁到新结构,不需要重新打开插件开关,历史报告链接也不会失效。老数据没有框架字段时按 Playwright 处理。</li>
1075
1075
  <li>首次运行前请先在项目目录装好依赖 / 解释器:插件<strong>不自动</strong> <code>npm install</code> / <code>playwright install</code> / <code>pip install</code> / <code>mvn</code>,环境未就绪时卡片上会直接给提示。</li>
1076
1076
  </ul>
1077
- <h3>需求分析</h3>
1077
+ <h3 id="需求分析">需求分析</h3>
1078
1078
  <p>「我的插件」→「生成能力」→「需求分析」开启后,侧栏出现「需求分析」入口(<code>/requirement-analysis/</code>)。</p>
1079
1079
  <ul>
1080
1080
  <li><strong>数据位置</strong>:落在当前数据空间的 <code>需求分析/需求分析.json</code>(<code>{ version, docs, seq, storySeq }</code>),第一次写入才建目录 / 文件;切换空间各用各的。<code>需求分析/</code> 与「项目管理」的那几个目录一样,不会被侧栏当成同名分组目录搬走。</li>
@@ -1097,7 +1097,7 @@ version: &#39;1.0&#39; # 可选
1097
1097
  <li><strong>提示词</strong>:日常只改「提示词管理」里的 <code>需求分析提示词.md</code>(「## 拆解需求」/「## 生成用户故事」;旧文件仅有「## 拆解」时两步共用该段,靠工具限权)与 <code>用户故事审查提示词.md</code>。完整参考稿在仓库 <code>prompt/</code> 同名文件。你改过的内容不会被覆盖;未改动的短种子会跟着代码缺省升级。</li>
1098
1098
  <li>拆解需求 / 生成用户故事 / 审查 / 补写 / 测试点都走当前配置的模型(BYOK),没配模型时按钮会拦下来并提示先配置。</li>
1099
1099
  </ul>
1100
- <h3>用例质量评审与场景遗漏补全</h3>
1100
+ <h3 id="用例质量评审与场景遗漏补全">用例质量评审与场景遗漏补全</h3>
1101
1101
  <p>「我的插件」→「测试技能」→「用例质量评审 / 场景遗漏补全」开启后,不新增侧栏入口,能力长在「用例管理」里:文件行的「评审」列显示上次分数、补全条数与是否过期,右侧「评审」按钮打开评审抽屉。两个插件都跟随「用例管理」默认一并打开,也可单独关掉;关掉后入口隐藏,已生成的报告仍留在磁盘上。</p>
1102
1102
  <ul>
1103
1103
  <li><strong>抽屉三个 Tab</strong>:质量评审 / 场景补全 / 用例表格。页头显示文件名、对照需求(按文件名自动猜一个,可换)、模型是否就绪与「开始评审 / 重新评审」「停止」「导出 Markdown」。</li>
@@ -1111,7 +1111,7 @@ version: &#39;1.0&#39; # 可选
1111
1111
  <li><strong>数据位置</strong>:报告存 <code>&lt;空间&gt;/用例评审/用例评审.json</code>,按用例文件路径分条;用例文件被改过会把报告标成「可能已过期」,重新评审即刷新。</li>
1112
1112
  <li><strong>提示词</strong>:开启时在「提示词管理」写一份 <code>用例质量评审提示词.md</code> / <code>场景遗漏补全提示词.md</code>(已存在不覆盖,插件开启期间不可删)。日常增删改只改这两份;仓库 <code>prompt/</code> 同名文件仅供对照。改过的内容不会被覆盖,没改过的短种子跟着代码缺省升级。</li>
1113
1113
  </ul>
1114
- <h3>仪表盘</h3>
1114
+ <h3 id="仪表盘">仪表盘</h3>
1115
1115
  <p>「我的插件」→「仪表盘」→「仪表盘」开启后,侧栏出现「仪表盘」入口(<code>/dashboard/</code>;新空间默认在最前面,已有空间按已保存的菜单顺序追加,可在侧栏拖动调整)。</p>
1116
1116
  <ul>
1117
1117
  <li>首次进入是空白画布:所有卡片默认全部关闭,点右上角「编辑组件」自己挑要显示的卡片(之后布局按空间记住)。</li>
@@ -1141,7 +1141,7 @@ version: &#39;1.0&#39; # 可选
1141
1141
  <li>刷新页面或重新进入仪表盘会回到上次浏览到的滚动位置(按标签页记在 <code>sessionStorage</code>,卡片高度撑开后再恢复),新开的标签页仍从顶部开始。</li>
1142
1142
  <li>画布窄于 760px(手机、分栏、侧栏展开后剩余很窄)时不再按坐标铺开:卡片按「从上到下、从左到右」的阅读顺序堆成一列满宽,拖动 / 缩放手柄暂时隐藏,避免在十几 px 的列宽里挤成一团;窗口变宽后自动回到原来保存的坐标。</li>
1143
1143
  </ul>
1144
- <h3>插件开发</h3>
1144
+ <h3 id="插件开发">插件开发</h3>
1145
1145
  <blockquote>
1146
1146
  <p>需在 Lantern Harness 源码仓库中运行(<code>pnpm dev</code> / 本地服务),并能读写项目源码。生成的新插件进入仓库代码,开发服会热更新。</p>
1147
1147
  </blockquote>
@@ -1152,7 +1152,7 @@ version: &#39;1.0&#39; # 可选
1152
1152
  <li>开发会话自动切到 harness 源码根(<code>pnpm dev</code> 时即仓库根)并设为「工作区内修改」:<code>src / lh-plugins / config / docs</code> 都能直接改,<code>node_modules</code>、<code>dist</code>、<code>.git</code> 仍禁写。该目录只是临时占用,<strong>不会</strong>在侧栏「工作区」里新增一条。在已有内容的会话里进入插件开发不会自动新建会话(避免出现重复会话、像输入被吞),需要独立上下文时可先手动「新会话」。</li>
1153
1153
  <li>胶囊保持激活时后续消息继续使用同一套固定提示词;点胶囊上的 × 退出(清除本会话的插件开发配置)。</li>
1154
1154
  </ol>
1155
- <h3>生成类扩展(用例 / 提示词 / 知识库)</h3>
1155
+ <h3 id="生成类扩展用例-提示词-知识库">生成类扩展(用例 / 提示词 / 知识库)</h3>
1156
1156
  <ol>
1157
1157
  <li>用 <code>/</code> 或 <code>+</code> →「扩展插件」打开对应配置抽屉,确认后进入(或复用)空会话,标题保持「新对话」直至首次发送。</li>
1158
1158
  <li>抽屉内可增删改类型 / 分类(删除为行内二次确认);确认后输入区上方显示「已启用 · 配置摘要」,可「改配置」或「取消」。</li>
@@ -1162,14 +1162,14 @@ version: &#39;1.0&#39; # 可选
1162
1162
  <blockquote>
1163
1163
  <p>类型 / 分类与磁盘目录:模板库按分类分子目录(如 <code>测试模板库/安全测试用例/</code>);用例与知识库为<strong>平铺</strong>存储——用例类型体现在文件名,知识库分类写入文档 frontmatter,均不产生子目录。改名不会自动迁移已有文件。</p>
1164
1164
  </blockquote>
1165
- <h3>知识库检索(@ 引用)</h3>
1165
+ <h3 id="知识库检索-引用">知识库检索(@ 引用)</h3>
1166
1166
  <ol>
1167
1167
  <li>插件库打开「知识库检索」。</li>
1168
1168
  <li>在 AI 工作台输入 <code>@</code>(可继续输入关键词过滤),↑↓ 选择,Enter 确认;文档会挂到输入框附件区并随消息发送。</li>
1169
1169
  <li>构建期写入文档列表,静态站同样可用(读 <code>/raw/...</code> 路径);工作区文件需本地文件服务。</li>
1170
1170
  <li>未启用「知识库检索」时,<code>@</code> 只列工作区文件,并在菜单里提示启用后可引用 <code>知识库管理/</code>、<code>测试模板库/</code> 文档。</li>
1171
1171
  </ol>
1172
- <h3>会话记忆</h3>
1172
+ <h3 id="会话记忆">会话记忆</h3>
1173
1173
  <ol>
1174
1174
  <li>插件页打开「会话记忆」后,工作台出现「记忆」Tab;存储为 <code>.lantern/local/memories/</code>。</li>
1175
1175
  <li>记忆轨:长期记忆 <code>MEMORY.md</code>、项目关键记忆 <code>KEY.md</code>(两者注入对话)、项目日志(可直写但不注入),存储层另有用户档案与每日日志。</li>
@@ -1178,7 +1178,7 @@ version: &#39;1.0&#39; # 可选
1178
1178
  <li>旧版 <code>graph.json</code> 首次启动会尝试迁入用户档案 / 长期记忆。</li>
1179
1179
  </ol>
1180
1180
  <p><code>.lantern/</code> 已加入 <code>.gitignore</code>,<strong>不会提交到 Git</strong>。</p>
1181
- <h2>权限与本地能力</h2>
1181
+ <h2 id="权限与本地能力">权限与本地能力</h2>
1182
1182
  <p>访问权限三档(输入区左侧切换),离线或静态站下文件与命令类工具均不可用:</p>
1183
1183
  <table>
1184
1184
  <thead>
@@ -1204,7 +1204,7 @@ version: &#39;1.0&#39; # 可选
1204
1204
  <p>工作区默认是<strong>当前空间目录</strong>。插件开发会把工作区切到 harness 源码根(<code>pnpm dev</code> 时即仓库根):这是唯一允许把「空间上级目录」设为工作区的例外,且只临时占用、不会出现在「工作区」列表里;其它上级目录仍会被拒绝。读不到仓库源码时,先确认是否落在「工作区内修改」及以上。</p>
1205
1205
  </blockquote>
1206
1206
  <p>本地工具(需本地服务):文件读写与 <code>glob</code> / <code>grep</code> 搜索、<code>bash</code> / PowerShell(含持久会话 write/signal 与后台任务)、网页搜索与抓取(可配置是否允许私网)、外接 MCP(<code>mcp__*__*</code>)、Office 转 PDF(需本机 LibreOffice)、<code>present</code> 交付清单、超大结果落盘(spill)、按需加载工作区 Skill;另外会自动加载工作区 <code>AGENTS.md</code> / <code>CLAUDE.md</code> 并注入当前时间。</p>
1207
- </div></article></div></div></main><astro-island uid="1ae4mb" component-url="/_astro/Toast.BO2NFckG.js" component-export="GlobalToastHost" renderer-url="/_astro/client.BHNTqLjv.js" props="{&quot;data-astro-transition-persist&quot;:[0,&quot;astro-34g7cspi-4&quot;]}" ssr client="only" opts="{&quot;name&quot;:&quot;GlobalToastHost&quot;,&quot;value&quot;:&quot;react&quot;}" data-astro-transition-persist="astro-34g7cspi-4"></astro-island></div><script>
1207
+ </div></article></div><aside class="tw-docs-toc" aria-label="本页目录" data-astro-cid-lpetmyok><div class="tw-docs-toc-inner" data-astro-cid-lpetmyok><p class="tw-docs-toc-title" data-astro-cid-lpetmyok>本页目录</p><nav class="tw-docs-toc-nav" data-astro-cid-lpetmyok><a class="tw-docs-toc-link" href="#模型配置byok自带密钥" data-astro-cid-lpetmyok>模型配置(BYOK,自带密钥)</a><a class="tw-docs-toc-link" href="#平台版本与更新" data-astro-cid-lpetmyok>平台版本与更新</a><a class="tw-docs-toc-link" href="#我的工作台" data-astro-cid-lpetmyok>我的工作台</a><a class="tw-docs-toc-link is-sub" href="#会话与工作区" data-astro-cid-lpetmyok>会话与工作区</a><a class="tw-docs-toc-link is-sub" href="#对话-tab" data-astro-cid-lpetmyok>对话 Tab</a><a class="tw-docs-toc-link is-sub" href="#输入区" data-astro-cid-lpetmyok>输入区</a><a class="tw-docs-toc-link is-sub" href="#回合-tab" data-astro-cid-lpetmyok>回合 Tab</a><a class="tw-docs-toc-link is-sub" href="#记忆-tab" data-astro-cid-lpetmyok>记忆 Tab</a><a class="tw-docs-toc-link is-sub" href="#计划模式目标与定时" data-astro-cid-lpetmyok>计划模式、目标与定时</a><a class="tw-docs-toc-link" href="#内容目录约定" data-astro-cid-lpetmyok>内容目录约定</a><a class="tw-docs-toc-link is-sub" href="#整体拷贝-扫描纳入" data-astro-cid-lpetmyok>整体拷贝 / 扫描纳入</a><a class="tw-docs-toc-link is-sub" href="#侧栏分组即文件夹" data-astro-cid-lpetmyok>侧栏分组即文件夹</a><a class="tw-docs-toc-link is-sub" href="#各库操作" data-astro-cid-lpetmyok>各库操作</a><a class="tw-docs-toc-link is-sub" href="#测试模板库格式" data-astro-cid-lpetmyok>测试模板库格式</a><a class="tw-docs-toc-link" href="#我的插件" data-astro-cid-lpetmyok>我的插件</a><a class="tw-docs-toc-link is-sub" href="#待办事项" data-astro-cid-lpetmyok>待办事项</a><a class="tw-docs-toc-link is-sub" href="#任务管理" data-astro-cid-lpetmyok>任务管理</a><a class="tw-docs-toc-link is-sub" href="#项目管理" data-astro-cid-lpetmyok>项目管理</a><a class="tw-docs-toc-link is-sub" href="#工作汇报" data-astro-cid-lpetmyok>工作汇报</a><a class="tw-docs-toc-link is-sub" href="#测试统计" data-astro-cid-lpetmyok>测试统计</a><a class="tw-docs-toc-link is-sub" href="#用例执行统计" data-astro-cid-lpetmyok>用例执行统计</a><a class="tw-docs-toc-link is-sub" href="#自动化测试" data-astro-cid-lpetmyok>自动化测试</a><a class="tw-docs-toc-link is-sub" href="#需求分析" data-astro-cid-lpetmyok>需求分析</a><a class="tw-docs-toc-link is-sub" href="#用例质量评审与场景遗漏补全" data-astro-cid-lpetmyok>用例质量评审与场景遗漏补全</a><a class="tw-docs-toc-link is-sub" href="#仪表盘" data-astro-cid-lpetmyok>仪表盘</a><a class="tw-docs-toc-link is-sub" href="#插件开发" data-astro-cid-lpetmyok>插件开发</a><a class="tw-docs-toc-link is-sub" href="#生成类扩展用例-提示词-知识库" data-astro-cid-lpetmyok>生成类扩展(用例 / 提示词 / 知识库)</a><a class="tw-docs-toc-link is-sub" href="#知识库检索-引用" data-astro-cid-lpetmyok>知识库检索(@ 引用)</a><a class="tw-docs-toc-link is-sub" href="#会话记忆" data-astro-cid-lpetmyok>会话记忆</a><a class="tw-docs-toc-link" href="#权限与本地能力" data-astro-cid-lpetmyok>权限与本地能力</a></nav></div></aside></div></main><astro-island uid="1ae4mb" component-url="/_astro/Toast.BO2NFckG.js" component-export="GlobalToastHost" renderer-url="/_astro/client.BHNTqLjv.js" props="{&quot;data-astro-transition-persist&quot;:[0,&quot;astro-34g7cspi-4&quot;]}" ssr client="only" opts="{&quot;name&quot;:&quot;GlobalToastHost&quot;,&quot;value&quot;:&quot;react&quot;}" data-astro-transition-persist="astro-34g7cspi-4"></astro-island></div><script>
1208
1208
  (function () {
1209
1209
  /**
1210
1210
  * 切页滚回顶部。