lantern-harness 0.1.13 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +56 -0
- package/builtin/session/lh-nav-groups.mjs +141 -30
- package/cli/server.mjs +7 -0
- package/config/app.defaults.json +5 -1
- package/dist/500.html +5 -5
- package/dist/_astro/Base.VCz1UVxQ.css +1 -0
- package/dist/_astro/Base.astro_astro_type_script_index_0_lang.CpzwEBjx.js +1 -0
- package/dist/_astro/CaseExecBoard.cBdsZU9e.js +1 -0
- package/dist/_astro/CaseGenerateApp.D2ftaUXT.js +9 -0
- package/dist/_astro/CasesLibrary.DWXEje9u.js +19 -0
- package/dist/_astro/ChatApp.7piDha-y.js +226 -0
- package/dist/_astro/ColumnResize.BgYkV9Iy.js +1 -0
- package/dist/_astro/{DashboardBoard.uPjTYpJZ.js → DashboardBoard.BIP9es-t.js} +1 -1
- package/dist/_astro/DocsFileBrowser.-dkkxR4X.js +1 -0
- package/dist/_astro/{DocsPager.EPT5-oEx.js → DocsPager.v4kQH163.js} +1 -1
- package/dist/_astro/{DrawerField.DqvXFCFh.js → DrawerField.C0ehOlDt.js} +1 -1
- package/dist/_astro/ExcelFieldTags.ytbpKt-Z.js +5 -0
- package/dist/_astro/KnowledgeLibrary.Dw-IX3Zt.js +1 -0
- package/dist/_astro/NavLibraries.D1J9BwYo.js +1 -0
- package/dist/_astro/OverflowHint.pvo2Xc8R.js +1 -0
- package/dist/_astro/PluginsPage.DMTsFl_R.js +7 -0
- package/dist/_astro/PluginsPage.DMxVKmiY.js +1 -0
- package/dist/_astro/PmBugsBoard.BTtm1lki.js +1 -0
- package/dist/_astro/PmIterationsBoard.Dm67iXe_.js +1 -0
- package/dist/_astro/{PmProjectDetail.BDKXOQJD.js → PmProjectDetail.B7oWL7y-.js} +1 -1
- package/dist/_astro/PmProjectsBoard.8QI44RlE.js +1 -0
- package/dist/_astro/PmRequirementsBoard.DMJVLCqz.js +1 -0
- package/dist/_astro/PmRequirementsBoard.X98441HZ.js +1 -0
- package/dist/_astro/{PmShared.D69sPvec.js → PmShared.DbDseTcc.js} +1 -1
- package/dist/_astro/PromptMountDialog.YH2odDZx.js +58 -0
- package/dist/_astro/PromptsLibrary.B_qFbQGi.js +1 -0
- package/dist/_astro/{ReportsPage.N1EaH8E-.js → ReportsPage.BjcajHR6.js} +1 -1
- package/dist/_astro/ReqAnalysisBoard.hwNqRyim.js +28 -0
- package/dist/_astro/RequirementsLibrary.CGCNnQQG.js +1 -0
- package/dist/_astro/SearchableSelect.mvcBwegf.js +1 -0
- package/dist/_astro/SelectDropdown.Cb-QtC-D.js +1 -0
- package/dist/_astro/SettingsDialog.CnBZRaWE.js +1 -0
- package/dist/_astro/SpaceSwitcher.DMoqOVpS.js +7 -0
- package/dist/_astro/TasksBoard.DvfyDL76.js +1 -0
- package/dist/_astro/TemplatesLibrary.B5KmjjFw.js +1 -0
- package/dist/_astro/TestStatsBoard.EIDxmU_8.js +1 -0
- package/dist/_astro/Toast.BO2NFckG.js +1 -0
- package/dist/_astro/TodosBoard.7IptYUFY.js +1 -0
- package/dist/_astro/UiAutoBoard.DJljpjXT.js +9 -0
- package/dist/_astro/app-config.CF1xVPmo.js +1 -0
- package/dist/_astro/app-version.YyNOCGCb.js +1 -0
- package/dist/_astro/bash-tools.CPS0ZiKi.js +25 -0
- package/dist/_astro/case-review.DYyZat83.js +3 -0
- package/dist/_astro/case-types.DS1EQ5yP.js +1 -0
- package/dist/_astro/composer-task.DJmluzPT.js +5 -0
- package/dist/_astro/export.joBT53eb.js +148 -0
- package/dist/_astro/fs-tools.3F9MFrLf.js +9 -0
- package/dist/_astro/{hydrate-cache.zljz1n5X.js → hydrate-cache.CmC22o_H.js} +1 -1
- package/dist/_astro/i18n.B3BVhlok.js +7 -0
- package/dist/_astro/index.astro_astro_type_script_index_0_lang.CM78W1qz.js +1 -0
- package/dist/_astro/jszip.min.Bh2Mgo40.js +2 -0
- package/dist/_astro/{lib.BQbwbnfE.js → lib.S37S0T6S.js} +1 -1
- package/dist/_astro/{open-docs-in-session.LWVC43xp.js → open-docs-in-session.B6uyOxPn.js} +1 -1
- package/dist/_astro/plugins.DYyAjBXb.js +1 -0
- package/dist/_astro/prompts-meta.C_MeYq8G.js +2 -0
- package/dist/_astro/{req-analysis.C1uUndMm.js → req-analysis.CkLx8c9E.js} +2 -2
- package/dist/_astro/{settings.HM3DiNh0.js → settings.BvxRxdqa.js} +2 -2
- package/dist/_astro/{spaces-client.CWqBZccW.js → spaces-client.Dy3tSPta.js} +1 -1
- package/dist/_astro/story-review.CGcusNKf.js +10 -0
- package/dist/_astro/{ui-auto-prompt.B09MVaTI.js → ui-auto-prompt.QcLCZoV6.js} +1 -1
- package/dist/_astro/update.DXCPfU4a.js +1 -0
- package/dist/_astro/{view-prefs.7wGuDpzi.js → view-prefs.D1snIG5o.js} +1 -1
- package/dist/case-exec/index.html +6 -6
- package/dist/cases/generate/index.html +5 -5
- package/dist/cases/library/index.html +6 -6
- package/dist/dashboard/index.html +6 -6
- package/dist/docs/changelog/index.html +58 -6
- package/dist/docs/install/index.html +5 -5
- package/dist/docs/manual/index.html +86 -50
- package/dist/index.html +1 -1
- package/dist/knowledge/index.html +6 -6
- package/dist/knowledge//345/212/237/350/203/275/346/265/213/350/257/225/347/224/250/344/276/213/347/274/226/345/206/231/350/247/204/350/214/203/index.html +5 -5
- package/dist/plugins/index.html +5 -5
- package/dist/pm/bugs/index.html +6 -6
- package/dist/pm/iterations/index.html +6 -6
- package/dist/pm/projects/detail/index.html +6 -6
- package/dist/pm/projects/index.html +6 -6
- package/dist/pm/requirements/index.html +6 -6
- package/dist/prompts/index.html +6 -6
- package/dist/reports/index.html +6 -6
- package/dist/requirement-analysis/index.html +6 -6
- package/dist/requirements/index.html +6 -6
- package/dist/tasks/index.html +6 -6
- package/dist/templates/index.html +6 -6
- package/dist/templates//345/212/237/350/203/275/346/265/213/350/257/225/346/212/245/345/221/212//345/212/237/350/203/275/346/265/213/350/257/225/346/212/245/345/221/212/346/250/241/346/235/277/index.html +5 -5
- package/dist/templates//346/200/247/350/203/275/346/265/213/350/257/225/346/212/245/345/221/212//346/200/247/350/203/275/346/265/213/350/257/225/346/212/245/345/221/212/346/250/241/346/235/277/index.html +5 -5
- package/dist/templates//346/200/247/350/203/275/346/265/213/350/257/225/347/224/250/344/276/213//346/200/247/350/203/275/346/265/213/350/257/225/347/224/250/344/276/213/346/250/241/346/235/277/index.html +5 -5
- package/dist/templates//346/216/245/345/217/243/346/265/213/350/257/225/346/212/245/345/221/212//346/216/245/345/217/243/346/265/213/350/257/225/346/212/245/345/221/212/346/250/241/346/235/277/index.html +5 -5
- package/dist/templates//350/207/252/345/212/250/345/214/226/346/265/213/350/257/225/347/224/250/344/276/213//350/207/252/345/212/250/345/214/226/346/265/213/350/257/225/347/224/250/344/276/213/346/250/241/346/235/277/index.html +5 -5
- package/dist/test-automation/index.html +6 -6
- package/dist/test-stats/index.html +6 -6
- package/dist/todos/index.html +6 -6
- package/dist/workbench/index.html +5 -5
- package/docs//346/223/215/344/275/234/346/211/213/345/206/214.md +47 -30
- package/lh-plugins/case-review-prompt.mjs +181 -0
- package/lh-plugins/lh-case-review.mjs +627 -0
- package/lh-plugins/lh-pm.mjs +21 -7
- package/lh-plugins/lh-req-analysis.mjs +63 -3
- package/lh-plugins/lh-story-review.mjs +98 -0
- package/lh-plugins/lh-test-points.mjs +98 -0
- package/lh-plugins/plugin-prompts.mjs +8 -0
- package/lh-plugins/req-analysis-prompt.mjs +8 -37
- package/lh-plugins/story-review-prompt.mjs +97 -0
- package/lh-plugins/test-points-prompt.mjs +88 -0
- package/package.json +1 -1
- package/dist/_astro/Base.UUIdmKid.css +0 -1
- package/dist/_astro/Base.astro_astro_type_script_index_0_lang.DSWudA4D.js +0 -1
- package/dist/_astro/CaseExecBoard.D8K4NzrB.js +0 -1
- package/dist/_astro/CaseGenerateApp.bZ_K72NQ.js +0 -9
- package/dist/_astro/CasesLibrary.Dhg2pdwU.js +0 -1
- package/dist/_astro/ChatApp.B6I3gGKI.js +0 -221
- package/dist/_astro/ColumnResize.BEkEW7qw.js +0 -1
- package/dist/_astro/DocsFileBrowser.DvBPLCEp.js +0 -1
- package/dist/_astro/ExcelFieldTags.De-C3dqn.js +0 -152
- package/dist/_astro/KnowledgeLibrary.BzFTmNwA.js +0 -1
- package/dist/_astro/NavLibraries.CVdolwYy.js +0 -1
- package/dist/_astro/OverflowHint.D6v4Uj2N.js +0 -1
- package/dist/_astro/PluginsPage.B8U4uvD2.js +0 -39
- package/dist/_astro/PluginsPage.v6afs984.js +0 -1
- package/dist/_astro/PmBugsBoard.CSIGq0wz.js +0 -1
- package/dist/_astro/PmIterationsBoard.BmBc90as.js +0 -1
- package/dist/_astro/PmProjectsBoard.DIVs_xJu.js +0 -1
- package/dist/_astro/PmRequirementsBoard.DcLiUhBe.js +0 -1
- package/dist/_astro/PmRequirementsBoard.N0LM5jHo.js +0 -1
- package/dist/_astro/PromptsLibrary.B1RVZqj8.js +0 -1
- package/dist/_astro/ReqAnalysisBoard.BIIUqGVh.js +0 -25
- package/dist/_astro/RequirementsLibrary.BZhxG9VU.js +0 -1
- package/dist/_astro/SearchableSelect.BIjXzTPD.js +0 -1
- package/dist/_astro/SelectDropdown.B3-XpBpn.js +0 -1
- package/dist/_astro/SettingsDialog.DILea5eO.js +0 -1
- package/dist/_astro/SpaceSwitcher.BeCumAuj.js +0 -7
- package/dist/_astro/TasksBoard.B3SzQ5bR.js +0 -1
- package/dist/_astro/TemplatesLibrary.Ci3yHQTr.js +0 -1
- package/dist/_astro/TestStatsBoard.CgVvwMzN.js +0 -1
- package/dist/_astro/Toast.R8_2OWRX.js +0 -1
- package/dist/_astro/TodosBoard.BNDF1iVZ.js +0 -1
- package/dist/_astro/UiAutoBoard.BNLRrunE.js +0 -9
- package/dist/_astro/app-config.Cq_F8I0l.js +0 -1
- package/dist/_astro/i18n.DPw-aTIZ.js +0 -7
- package/dist/_astro/index.astro_astro_type_script_index_0_lang.B9YrqBHf.js +0 -1
- package/dist/_astro/markdown-client.DRva7DS9.js +0 -58
- package/dist/_astro/plugins.CKkgnq4r.js +0 -1
- package/dist/_astro/prompts-meta.D_2wiFiH.js +0 -2
- package/dist/_astro/update.BSnBvaFF.js +0 -1
|
@@ -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.
|
|
6
|
+
</script><script type="module" src="/_astro/Base.astro_astro_type_script_index_0_lang.CpzwEBjx.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.
|
|
101
|
+
</script><link rel="stylesheet" href="/_astro/Base.VCz1UVxQ.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}}
|
|
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.13">v0.1.13<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.BeCumAuj.js" component-export="default" renderer-url="/_astro/client.BHNTqLjv.js" props="{"data-astro-transition-persist":[0,"astro-gyrtbwwo-1"]}" ssr client="only" opts="{"name":"SpaceSwitcher","value":"react"}" 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.CVdolwYy.js" component-export="default" renderer-url="/_astro/client.BHNTqLjv.js" props="{"data-astro-transition-persist":[0,"astro-iywf7oe7-2"]}" ssr client="only" opts="{"name":"NavLibraries","value":"react"}" 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.15">v0.1.15<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.DMoqOVpS.js" component-export="default" renderer-url="/_astro/client.BHNTqLjv.js" props="{"data-astro-transition-persist":[0,"astro-gyrtbwwo-1"]}" ssr client="only" opts="{"name":"SpaceSwitcher","value":"react"}" 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.D1J9BwYo.js" component-export="default" renderer-url="/_astro/client.BHNTqLjv.js" props="{"data-astro-transition-persist":[0,"astro-iywf7oe7-2"]}" ssr client="only" opts="{"name":"NavLibraries","value":"react"}" 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.
|
|
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.CnBZRaWE.js" component-export="default" renderer-url="/_astro/client.BHNTqLjv.js" props="{}" ssr client="load" opts="{"name":"SettingsDialog","value":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');
|
|
@@ -679,7 +679,7 @@ const syncNavGroups = true;
|
|
|
679
679
|
</thead>
|
|
680
680
|
<tbody><tr>
|
|
681
681
|
<td>用例管理</td>
|
|
682
|
-
<td
|
|
682
|
+
<td>双击本地打开;批量删除;「在会话中打开」;开启评审插件后多出「评审」列与「评审」按钮(见下节)</td>
|
|
683
683
|
</tr>
|
|
684
684
|
<tr>
|
|
685
685
|
<td>提示词管理</td>
|
|
@@ -701,7 +701,7 @@ const syncNavGroups = true;
|
|
|
701
701
|
<blockquote>
|
|
702
702
|
<p>双击本地打开、读写文件依赖本地文件服务(<code>lantern web</code> 或 <code>pnpm dev</code>);静态站仅能浏览与下载。</p>
|
|
703
703
|
</blockquote>
|
|
704
|
-
<p>用例管理 / 提示词管理 / 知识库管理的列表都支持搜索与「按修改时间 / 按文件名」排序;<strong>搜索词与排序方式会记住</strong
|
|
704
|
+
<p>用例管理 / 提示词管理 / 知识库管理的列表都支持搜索与「按修改时间 / 按文件名」排序;<strong>搜索词与排序方式会记住</strong>,刷新或重新进入页面仍是上次的样子(三个库各记各的,按当前数据空间分开存)。列宽也能调:拖动表头「评审 / 创建时间 / 修改时间 / 大小 / 操作」的右边缘改宽度;文件名那一列自动吃掉剩余宽度,调完不会在右边留空。列宽按库分别记住(<code>docs:cases:cols</code> 这类 key),刷新后保持。勾选列与文件名贴左固定、操作列贴右固定,横向滚动时不会滚丢;滚到哪儿也记着,刷新或切页回来仍是上次的位置。</p>
|
|
705
705
|
<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>
|
|
706
706
|
<p>每行还能直接经营:操作列在「在会话中打开」右侧有<strong>复制</strong>(同名同目录复制一份,先弹命名,默认 <code>原名(副本)</code>;同名会拦下)与<strong>删除</strong>(带图标),三者同一行对齐;文件名右侧悬停出现<strong>改名</strong>按钮,只改主名、扩展名锁定,同一目录下重名同样拦下并提示。改名 / 删除后列表立即刷新。移出自动化测试项目时,它挂载的提示词会自动取消挂载,这里立刻回到「未关联」(同页在线时即时刷新,不用等切页)。</p>
|
|
707
707
|
<h3>测试模板库格式</h3>
|
|
@@ -739,7 +739,7 @@ version: '1.0' # 可选
|
|
|
739
739
|
<p>工作台会话栏「新会话」下方点「插件」进入:</p>
|
|
740
740
|
<ul>
|
|
741
741
|
<li><strong>我的插件</strong>(<code>/plugins/</code>):分「扩展插件 / 会话插件 / 全局插件」三个 Tab(默认打开扩展插件),Tab 标题带数量;点击卡片展开详情。扩展为可配置项,可开关;开关状态存本机。插件随仓库代码发布,不提供远程安装 / 更新。<strong>Tab 记忆</strong>:切到哪个 Tab,刷新或重新进入页面仍停在哪个 Tab,选择按当前数据空间记在浏览器本地。</li>
|
|
742
|
-
<li
|
|
742
|
+
<li>扩展插件按「内置插件 / 测试技能 / 需求管理 / 记忆与检索 / 待办与效率 / 项目管理 / 仪表盘 / 开发工具」分组展示(页面上只出现有插件的分类),分类标题带数量,可点击折叠 / 展开;分类与插件注册表的 <code>category</code> 字段一致。</li>
|
|
743
743
|
</ul>
|
|
744
744
|
<table>
|
|
745
745
|
<thead>
|
|
@@ -751,58 +751,100 @@ version: '1.0' # 可选
|
|
|
751
751
|
</tr>
|
|
752
752
|
</thead>
|
|
753
753
|
<tbody><tr>
|
|
754
|
-
<td
|
|
754
|
+
<td>内置插件</td>
|
|
755
|
+
<td>提示词管理</td>
|
|
756
|
+
<td>开(内置)</td>
|
|
757
|
+
<td>侧栏进入提示词库,并维护当前空间的「默认提示词」;每个空间都需要,因此常开不可关闭</td>
|
|
758
|
+
</tr>
|
|
759
|
+
<tr>
|
|
760
|
+
<td>内置插件</td>
|
|
761
|
+
<td>生成提示词</td>
|
|
762
|
+
<td>关</td>
|
|
763
|
+
<td>配置类型后对话生成提示词,质检通过写入 <code>提示词管理/</code>(需本地服务)</td>
|
|
764
|
+
</tr>
|
|
765
|
+
<tr>
|
|
766
|
+
<td>测试技能</td>
|
|
755
767
|
<td>用例管理</td>
|
|
756
768
|
<td>关</td>
|
|
757
|
-
<td
|
|
769
|
+
<td>侧栏进入用例库;关闭后入口隐藏,「生成测试用例」「用例质量评审」「场景遗漏补全」一并关闭;磁盘文件仍保留</td>
|
|
758
770
|
</tr>
|
|
759
771
|
<tr>
|
|
760
|
-
<td
|
|
761
|
-
<td
|
|
762
|
-
<td
|
|
763
|
-
<td
|
|
772
|
+
<td>测试技能</td>
|
|
773
|
+
<td>生成测试用例</td>
|
|
774
|
+
<td>关</td>
|
|
775
|
+
<td>配置类型 / 输出格式 / 需求 / 模板 / 提示词后对话生成用例,写入 <code>用例管理/</code>(需本地服务落盘)</td>
|
|
764
776
|
</tr>
|
|
765
777
|
<tr>
|
|
766
|
-
<td
|
|
778
|
+
<td>测试技能</td>
|
|
767
779
|
<td>知识库管理</td>
|
|
768
780
|
<td>关</td>
|
|
769
781
|
<td>侧栏进入知识库;关闭后入口隐藏,「生成知识库」一并关闭;磁盘文件仍保留</td>
|
|
770
782
|
</tr>
|
|
771
783
|
<tr>
|
|
772
|
-
<td
|
|
773
|
-
<td
|
|
784
|
+
<td>测试技能</td>
|
|
785
|
+
<td>生成知识库</td>
|
|
774
786
|
<td>关</td>
|
|
775
|
-
<td
|
|
787
|
+
<td>配置分类后对话生成规范 / 方法论等,质检通过写入 <code>知识库管理/</code>(需本地服务)</td>
|
|
776
788
|
</tr>
|
|
777
789
|
<tr>
|
|
778
|
-
<td
|
|
790
|
+
<td>测试技能</td>
|
|
779
791
|
<td>测试模板库</td>
|
|
780
792
|
<td>关</td>
|
|
781
793
|
<td>侧栏进入测试模板库;关闭后入口隐藏,生成用例时不再选用模板;磁盘文件仍保留</td>
|
|
782
794
|
</tr>
|
|
783
795
|
<tr>
|
|
784
|
-
<td
|
|
785
|
-
<td
|
|
796
|
+
<td>测试技能</td>
|
|
797
|
+
<td>用例质量评审</td>
|
|
786
798
|
<td>关</td>
|
|
787
|
-
<td
|
|
799
|
+
<td>不新增侧栏入口:用例管理文件行多出「评审」列与「评审」按钮,抽屉里逐条判「可用 / 待修改 / 错误无效」、五维打分,并给扣分原因与可直接照改的建议;报告存 <code>用例评审/用例评审.json</code>,可导出 Markdown。开启「用例管理」时默认一并打开,也可单独关掉(需本地服务)</td>
|
|
788
800
|
</tr>
|
|
789
801
|
<tr>
|
|
790
|
-
<td
|
|
791
|
-
<td
|
|
802
|
+
<td>测试技能</td>
|
|
803
|
+
<td>场景遗漏补全</td>
|
|
792
804
|
<td>关</td>
|
|
793
|
-
<td
|
|
805
|
+
<td>不新增侧栏入口:评审抽屉多出「场景补全」Tab,按非功能 / 安全边界 / 兼容性 / 隐藏业务规则挖漏测场景,勾选后把建议带进这条用例的工作台会话写回原文件(写前自动备份);开启「用例管理」时默认一并打开(需本地服务)</td>
|
|
794
806
|
</tr>
|
|
795
807
|
<tr>
|
|
796
|
-
<td
|
|
797
|
-
<td
|
|
808
|
+
<td>测试技能</td>
|
|
809
|
+
<td>测试统计</td>
|
|
798
810
|
<td>关</td>
|
|
799
|
-
<td
|
|
811
|
+
<td>侧栏进入测试统计:按当前日期 + 测试统计维度记录数量,维度可搜索或直接创建(需本地服务)</td>
|
|
800
812
|
</tr>
|
|
801
813
|
<tr>
|
|
802
|
-
<td
|
|
814
|
+
<td>测试技能</td>
|
|
815
|
+
<td>用例执行统计</td>
|
|
816
|
+
<td>关</td>
|
|
817
|
+
<td>侧栏进入用例执行统计:按项目记录用例总数 / 待执行 / 已执行,自动算当前剩余与执行比例(需本地服务)</td>
|
|
818
|
+
</tr>
|
|
819
|
+
<tr>
|
|
820
|
+
<td>测试技能</td>
|
|
821
|
+
<td>自动化测试</td>
|
|
822
|
+
<td>关</td>
|
|
823
|
+
<td>侧栏进入自动化测试:自动识别并挂载 Playwright / pytest / Selenium 项目,按项目自带任务运行,运行 / 停止用例、实时日志与 HTML 报告;「生成」Tab 先出可编辑步骤计划、再由 AI 驱动浏览器绑定定位器,写入时一次生成 spec + 页面对象 + 登录态文件(需本地服务)</td>
|
|
824
|
+
</tr>
|
|
825
|
+
<tr>
|
|
826
|
+
<td>需求管理</td>
|
|
827
|
+
<td>需求文档库</td>
|
|
828
|
+
<td>关</td>
|
|
829
|
+
<td>侧栏进入需求文档库;关闭后入口隐藏,生成用例时不再引用需求文档;磁盘文件仍保留</td>
|
|
830
|
+
</tr>
|
|
831
|
+
<tr>
|
|
832
|
+
<td>需求管理</td>
|
|
803
833
|
<td>需求分析</td>
|
|
804
834
|
<td>关</td>
|
|
805
|
-
<td>侧栏进入需求分析:从需求文档库取原始需求,拆成结构化用户故事(角色 / 前置 / 主流程 / 替代 / 异常 / 后置 /
|
|
835
|
+
<td>侧栏进入需求分析:从需求文档库取原始需求,拆成结构化用户故事(角色 / 前置 / 主流程 / 替代 / 异常 / 后置 / 验收),再跑规则 + 模型体检,给出覆盖率矩阵与缺口清单,勾选缺口可让模型补写(需本地服务)</td>
|
|
836
|
+
</tr>
|
|
837
|
+
<tr>
|
|
838
|
+
<td>需求管理</td>
|
|
839
|
+
<td>用户故事审查</td>
|
|
840
|
+
<td>关</td>
|
|
841
|
+
<td>需求分析页多出「用户故事审查」按钮与「审查结果」Tab,按 INVEST 校验拆好的用户故事,指出缺口与改法;开启「需求分析」时默认一并打开(需本地服务)</td>
|
|
842
|
+
</tr>
|
|
843
|
+
<tr>
|
|
844
|
+
<td>需求管理</td>
|
|
845
|
+
<td>生成测试点</td>
|
|
846
|
+
<td>关</td>
|
|
847
|
+
<td>需求条目下多出「测试点」Tab,按功能 / 边界值 / 异常 / 业务规则 / 非功能五维拆测试点并标 P0–P3,可导出 XMind 与 Markdown;开启「需求分析」时默认一并打开(需本地服务)</td>
|
|
806
848
|
</tr>
|
|
807
849
|
<tr>
|
|
808
850
|
<td>记忆与检索</td>
|
|
@@ -859,24 +901,6 @@ version: '1.0' # 可选
|
|
|
859
901
|
<td>侧栏进入缺陷管理:缺陷编号 <code>BUG-###</code>、缺陷描述、附件上传(文件 / 图片),状态可行内改(需同时开启「项目列表」;需本地服务)</td>
|
|
860
902
|
</tr>
|
|
861
903
|
<tr>
|
|
862
|
-
<td>测试统计</td>
|
|
863
|
-
<td>测试统计</td>
|
|
864
|
-
<td>关</td>
|
|
865
|
-
<td>侧栏进入测试统计:按当前日期 + 测试统计维度记录数量,维度可搜索或直接创建(需本地服务)</td>
|
|
866
|
-
</tr>
|
|
867
|
-
<tr>
|
|
868
|
-
<td>测试统计</td>
|
|
869
|
-
<td>用例执行统计</td>
|
|
870
|
-
<td>关</td>
|
|
871
|
-
<td>侧栏进入用例执行统计:按项目记录用例总数 / 待执行 / 已执行,自动算当前剩余与执行比例(需本地服务)</td>
|
|
872
|
-
</tr>
|
|
873
|
-
<tr>
|
|
874
|
-
<td>测试统计</td>
|
|
875
|
-
<td>自动化测试</td>
|
|
876
|
-
<td>关</td>
|
|
877
|
-
<td>侧栏进入自动化测试:自动识别并挂载 Playwright / pytest / Selenium 项目,按项目自带任务(脚本 / Makefile / marker)运行,运行 / 停止用例、实时日志与 HTML 报告;「生成」Tab 是全屏工作区(左需求步骤、右上探索活动 / 代码 / 变更、右下控制台 / 网络 / 试跑,宽高都可拖),可先出可编辑步骤计划、再由 AI 驱动浏览器绑定定位器,脚本在项目内 <code>.lantern-ai</code> 草稿里试跑 / 调试;写入时一次生成 spec + 页面对象 + 登录态文件,写入后看 diff 并按项目配置验收(需本地服务)</td>
|
|
878
|
-
</tr>
|
|
879
|
-
<tr>
|
|
880
904
|
<td>仪表盘</td>
|
|
881
905
|
<td>仪表盘</td>
|
|
882
906
|
<td>关</td>
|
|
@@ -886,7 +910,7 @@ version: '1.0' # 可选
|
|
|
886
910
|
<td>开发工具</td>
|
|
887
911
|
<td>插件开发</td>
|
|
888
912
|
<td>关</td>
|
|
889
|
-
<td
|
|
913
|
+
<td>固定提示词开发扩展插件:先评估并用选项确认,确认后才改代码,完成后并入「扩展插件」;开发文档库、用例评审这类新插件也走这里(需本地服务)</td>
|
|
890
914
|
</tr>
|
|
891
915
|
</tbody></table>
|
|
892
916
|
<blockquote>
|
|
@@ -910,7 +934,7 @@ version: '1.0' # 可选
|
|
|
910
934
|
<li>抽屉里的「待办状态」整行都可点:点击范围一直延伸到「待办名称」输入框的右边界,胶囊只是选中值的样子,点行的任意位置都会展开状态选项。</li>
|
|
911
935
|
<li>行尾的展开按钮可用同一个抽屉回看 / 修改整条记录;抽屉里的「待办周期」「剩余天数」是只读派生值,会随日期即时计算。</li>
|
|
912
936
|
<li>顶部可搜索,并按紧急程度筛选;支持批量删除,行尾「操作」列可删除单条,都会二次弹窗确认;表格右侧列较多时可横向滚动。<strong>搜索词与紧急程度筛选会记住</strong>(分组方式同样),刷新或重新进入页面仍是上次的样子,按当前数据空间存在浏览器本地。</li>
|
|
913
|
-
<li>列宽可拖:把鼠标放到表头字段的右边缘,出现竖线后左右拖即可调整;默认宽度就是设计稿宽度。调过的列宽存在浏览器本地(localStorage
|
|
937
|
+
<li>列宽可拖:把鼠标放到表头字段的右边缘,出现竖线后左右拖即可调整;默认宽度就是设计稿宽度。调过的列宽存在浏览器本地(localStorage),刷新、切换页面后保持,不会写进数据空间。勾选列、行号列与「待办名称」贴左固定,「操作」列贴右固定;横向滚出去之后固定列边缘才出现一条细竖线做区分,滚回左端即收起。横向滚动位置同样会被记住。</li>
|
|
914
938
|
<li>新增行没有任何内容时,点页面其它位置会自动收起;已经填了名称则点空白处(或回车)即自动保存,不再有单独的 ✓ / ✕ 按钮。</li>
|
|
915
939
|
<li>「我的工作台」对话上方的 Tab 里有「待办」(待办插件开启时,排在「回合」右侧):默认「全部待办」,按 已逾期 / 今天截止 / 接下来 / 没有截止日期 / 已完成 分桶(今日与其它待办都在里面);也可只看「未完成」或「已完成」。每行显示待办名称、紧急程度,以及第二行的截止日期、剩余天数(逾期会标红)和所属任务;点左侧圆圈即可标记完成 / 恢复,右上角「打开待办页」跳到完整表格。停在 Tab 上每 15 秒自动刷新,AI 在会话里写入后不用手动刷。</li>
|
|
916
940
|
<li>输入框左侧「+」→「计划」下面会按插件开关给出「待办」「任务」两个手动入口(对应插件关闭时入口直接隐藏,不会触发新增):点开后弹出同一张确认卡片,手动入口的最后一个按钮是「提交」。待办分两页:第一页填待办自身字段(名称 / 状态 / 紧急程度 / 开始日期 / 截止日期 / 备注,开始 / 截止默认今天),第二页选「所属任务」并只读展示该任务的名称、状态、紧急程度与起止日期;选中任务后,任务有值的开始日期 / 截止日期 / 紧急程度会自动带到第一页(紧急程度仅在待办未设置时带出),仍可再改。任务没有所属任务,一页填完(名称 / 状态 / 紧急程度 / 开始日期 / 截止日期 / 备注)。填好「提交」直接落库,不经过模型;点「取消」或点卡片外面任意位置(包括切到别的 Tab)只会播放收起动画并放弃这次新增,不会写入待办 / 任务。</li>
|
|
@@ -1058,6 +1082,18 @@ version: '1.0' # 可选
|
|
|
1058
1082
|
<li><strong>提示词</strong>:打开开关时往当前空间的 <code>提示词管理/需求分析提示词.md</code> 写一份种子,分「拆解 / 体检 / 补写」三段(占位符 <code>{{source}}</code> / <code>{{outline}}</code> / <code>{{stories}}</code> / <code>{{gaps}}</code>)。<strong>你改过的内容不会被覆盖</strong>,没人改过的种子会跟着插件内置模板升级;插件开启期间这份文件不可删除 / 改名,关掉插件后可以删,再打开会重新生成种子。读不到「## 拆解」段落时页面会提示去补,也不会偷偷用兜底文案顶上。</li>
|
|
1059
1083
|
<li>拆解 / 体检 / 补写都走当前配置的模型(「模型配置」里那套 BYOK),没配模型时按钮会拦下来并提示先配置。</li>
|
|
1060
1084
|
</ul>
|
|
1085
|
+
<h3>用例质量评审与场景遗漏补全</h3>
|
|
1086
|
+
<p>「我的插件」→「测试技能」→「用例质量评审 / 场景遗漏补全」开启后,不新增侧栏入口,能力长在「用例管理」里:文件行的「评审」列显示上次分数、补全条数与是否过期,右侧「评审」按钮打开评审抽屉。两个插件都跟随「用例管理」默认一并打开,也可单独关掉;关掉后入口隐藏,已生成的报告仍留在磁盘上。</p>
|
|
1087
|
+
<ul>
|
|
1088
|
+
<li><strong>抽屉三个 Tab</strong>:质量评审 / 场景补全 / 用例表格。页头显示文件名、对照需求(按文件名自动猜一个,可换)、模型是否就绪与「开始评审 / 重新评审」「停止」「导出 Markdown」。</li>
|
|
1089
|
+
<li><strong>质量评审</strong>:规则 + 模型两层。规则层先在本地算七项量化指标(总数 / 字段完整率 / 步骤可执行率 / 预期可判定率 / 需求覆盖率 / 重复率 / 优先级合规率)与硬伤(标题 / 步骤 / 预期为空或写「同上」、编号重复等);模型层逐条给五维分(需求覆盖 25% / 步骤可执行 25% / 预期可判定 20% / 数据与边界 15% / 规范完整 15%)与扣分原因、可直接照改的建议。</li>
|
|
1090
|
+
<li><strong>判定怎么来的</strong>:总分 = 各维度得分 × 权重求和;<code>≥ 85</code> 可用、<code>60–84</code> 待修改、<code>< 60</code> 错误无效。模型可以判「错误无效」,但必须给出 <code>hard</code> 证据(与需求哪条冲突 / 和哪条重复),只给低分不给证据时按分数算——避免出现「86 分 · 错误无效」这种自相矛盾的结果。规则命中的硬伤模型不能推翻。</li>
|
|
1091
|
+
<li><strong>逐条明细</strong>:每条一行显示判定、编号、标题、得分与「详情」;悬停行时标题右侧出现「修改」,带着编号、扣分原因与建议跳到这条用例绑定的工作台会话(没有会话就新建),由模型按文件表头改原文件。顶部可筛「可用 / 待修改 / 错误无效」、搜索编号或标题、按分数升序,也可点「批量修改」把当前筛选出的待修改项一次交给工作台。展开详情可看五维分与每条扣分原因。</li>
|
|
1092
|
+
<li><strong>用例表格</strong>:固定六列(编号 / 标题 / 步骤 / 预期 / 判定 / 建议),只读对照,步骤与预期默认两行、超出省略号,悬停看全文;拖动表头右边缘可调列宽。表格里不放操作按钮,改用例回「用例管理」或到逐条明细点「修改」。</li>
|
|
1093
|
+
<li><strong>场景补全</strong>:专挖人工容易漏的场景,按非功能 / 安全边界与容错 / 兼容性 / 隐藏业务规则四类给出「为什么容易漏 + 建议用例(前置 / 步骤 / 预期 / 优先级)」;勾选后点「写回用例」,把建议带进这条用例绑定的工作台会话补进原文件,写前自动备份到 <code><空间>/.lantern/local/case-review/backup/</code>。场景补全同样有进度日志与停止。</li>
|
|
1094
|
+
<li><strong>数据位置</strong>:报告存 <code><空间>/用例评审/用例评审.json</code>,按用例文件路径分条;用例文件被改过会把报告标成「可能已过期」,重新评审即刷新。</li>
|
|
1095
|
+
<li><strong>提示词</strong>:开启时在「提示词管理」写一份 <code>用例质量评审提示词.md</code> / <code>场景遗漏补全提示词.md</code>(已存在不覆盖,插件开启期间不可删)。改过的内容不会被覆盖,没改过的种子跟着内置模板升级。</li>
|
|
1096
|
+
</ul>
|
|
1061
1097
|
<h3>仪表盘</h3>
|
|
1062
1098
|
<p>「我的插件」→「仪表盘」→「仪表盘」开启后,侧栏出现「仪表盘」入口(<code>/dashboard/</code>;新空间默认在最前面,已有空间按已保存的菜单顺序追加,可在侧栏拖动调整)。</p>
|
|
1063
1099
|
<ul>
|
|
@@ -1151,7 +1187,7 @@ version: '1.0' # 可选
|
|
|
1151
1187
|
<p>工作区默认是<strong>当前空间目录</strong>。插件开发会把工作区切到 harness 源码根(<code>pnpm dev</code> 时即仓库根):这是唯一允许把「空间上级目录」设为工作区的例外,且只临时占用、不会出现在「工作区」列表里;其它上级目录仍会被拒绝。读不到仓库源码时,先确认是否落在「工作区内修改」及以上。</p>
|
|
1152
1188
|
</blockquote>
|
|
1153
1189
|
<p>本地工具(需本地服务):文件读写与 <code>glob</code> / <code>grep</code> 搜索、<code>bash</code> / PowerShell(含持久会话与后台任务)、网页搜索与抓取、Office 转 PDF(需本机 LibreOffice)、<code>present</code> 交付清单、超大结果落盘(spill)、按需加载工作区 Skill;另外会自动加载工作区 <code>AGENTS.md</code> / <code>CLAUDE.md</code> 并注入当前时间。</p>
|
|
1154
|
-
</div></article></div></div></main><astro-island uid="1ae4mb" component-url="/_astro/Toast.
|
|
1190
|
+
</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="{"data-astro-transition-persist":[0,"astro-34g7cspi-4"]}" ssr client="only" opts="{"name":"GlobalToastHost","value":"react"}" data-astro-transition-persist="astro-34g7cspi-4"></astro-island></div><script>
|
|
1155
1191
|
(function () {
|
|
1156
1192
|
/**
|
|
1157
1193
|
* 切页滚回顶部。
|
package/dist/index.html
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
<!DOCTYPE html><html lang="zh-CN" data-astro-cid-lcdefpme><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>Lantern Harness</title><link rel="icon" type="image/png" sizes="32x32" href="/brand/favicon.png"><style>html,body{background:#faf9f7;height:100%;margin:0}
|
|
2
|
-
</style><script type="module" src="/_astro/page.Bx2KSkeL.js"></script></head><body data-astro-cid-lcdefpme><noscript><p style="padding: 24px; font-family: sans-serif; font-size: 14px; color: #57534e" data-astro-cid-lcdefpme>需要启用 JavaScript;也可以直接打开<a href="/test-automation/" data-astro-cid-lcdefpme>自动化测试</a> 或<a href="/workbench/" data-astro-cid-lcdefpme>我的工作台</a>。</p></noscript><script type="module" src="/_astro/index.astro_astro_type_script_index_0_lang.
|
|
2
|
+
</style><script type="module" src="/_astro/page.Bx2KSkeL.js"></script></head><body data-astro-cid-lcdefpme><noscript><p style="padding: 24px; font-family: sans-serif; font-size: 14px; color: #57534e" data-astro-cid-lcdefpme>需要启用 JavaScript;也可以直接打开<a href="/test-automation/" data-astro-cid-lcdefpme>自动化测试</a> 或<a href="/workbench/" data-astro-cid-lcdefpme>我的工作台</a>。</p></noscript><script type="module" src="/_astro/index.astro_astro_type_script_index_0_lang.CM78W1qz.js"></script></body></html>
|
|
@@ -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.
|
|
6
|
+
</script><script type="module" src="/_astro/Base.astro_astro_type_script_index_0_lang.CpzwEBjx.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,7 +98,7 @@
|
|
|
98
98
|
}
|
|
99
99
|
} catch (e) {}
|
|
100
100
|
})();
|
|
101
|
-
</script><link rel="stylesheet" href="/_astro/Base.
|
|
101
|
+
</script><link rel="stylesheet" href="/_astro/Base.VCz1UVxQ.css"><script type="module" src="/_astro/page.Bx2KSkeL.js"></script><style>[data-astro-transition-scope="astro-bbhp3f5g-3"] { view-transition-name: astro-bbhp3f5g-3; }@layer astro { ::view-transition-old(astro-bbhp3f5g-3) {
|
|
102
102
|
animation-duration: 180ms;
|
|
103
103
|
animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
|
|
104
104
|
animation-fill-mode: both;
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
animation-duration: 180ms;
|
|
135
135
|
animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
|
|
136
136
|
animation-fill-mode: both;
|
|
137
|
-
animation-name: astroFadeIn; }</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.13">v0.1.13<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.BeCumAuj.js" component-export="default" renderer-url="/_astro/client.BHNTqLjv.js" props="{"data-astro-transition-persist":[0,"astro-gyrtbwwo-1"]}" ssr client="only" opts="{"name":"SpaceSwitcher","value":"react"}" 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 is-active font-medium" 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.CVdolwYy.js" component-export="default" renderer-url="/_astro/client.BHNTqLjv.js" props="{"data-astro-transition-persist":[0,"astro-iywf7oe7-2"]}" ssr client="only" opts="{"name":"NavLibraries","value":"react"}" data-astro-transition-persist="astro-iywf7oe7-2"></astro-island><script>(function(){const host = ".tw-nav-libraries";
|
|
137
|
+
animation-name: astroFadeIn; }</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.15">v0.1.15<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.DMoqOVpS.js" component-export="default" renderer-url="/_astro/client.BHNTqLjv.js" props="{"data-astro-transition-persist":[0,"astro-gyrtbwwo-1"]}" ssr client="only" opts="{"name":"SpaceSwitcher","value":"react"}" 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 is-active font-medium" 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.D1J9BwYo.js" component-export="default" renderer-url="/_astro/client.BHNTqLjv.js" props="{"data-astro-transition-persist":[0,"astro-iywf7oe7-2"]}" ssr client="only" opts="{"name":"NavLibraries","value":"react"}" data-astro-transition-persist="astro-iywf7oe7-2"></astro-island><script>(function(){const host = ".tw-nav-libraries";
|
|
138
138
|
const cacheKey = "tw.hydrate.nav";
|
|
139
139
|
const fixActive = true;
|
|
140
140
|
const capture = false;
|
|
@@ -364,7 +364,7 @@ const syncNavGroups = true;
|
|
|
364
364
|
// 缓存坏了就当没有
|
|
365
365
|
}
|
|
366
366
|
})();
|
|
367
|
-
})();</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" 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.
|
|
367
|
+
})();</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" 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.CnBZRaWE.js" component-export="default" renderer-url="/_astro/client.BHNTqLjv.js" props="{}" ssr client="load" opts="{"name":"SettingsDialog","value":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>
|
|
368
368
|
(function () {
|
|
369
369
|
try {
|
|
370
370
|
var raw = localStorage.getItem('tw.app.model.v1');
|
|
@@ -471,7 +471,7 @@ const syncNavGroups = true;
|
|
|
471
471
|
});
|
|
472
472
|
} catch (e) {}
|
|
473
473
|
})();
|
|
474
|
-
</script><main data-astro-transition-scope="astro-bbhp3f5g-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-library-page px-8 py-8"><header class="mb-6 shrink-0"><h1 class="text-2xl font-bold text-stone-900">知识库管理</h1><p class="mt-2 text-sm text-stone-500">以列表管理测试规范 / 方法论 / 环境约定(.md)。</p></header><div class="tw-hydrate-host"><astro-island uid="s8nbj" component-url="/_astro/KnowledgeLibrary.
|
|
474
|
+
</script><main data-astro-transition-scope="astro-bbhp3f5g-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-library-page px-8 py-8"><header class="mb-6 shrink-0"><h1 class="text-2xl font-bold text-stone-900">知识库管理</h1><p class="mt-2 text-sm text-stone-500">以列表管理测试规范 / 方法论 / 环境约定(.md)。</p></header><div class="tw-hydrate-host"><astro-island uid="s8nbj" component-url="/_astro/KnowledgeLibrary.Dw-IX3Zt.js" component-export="default" renderer-url="/_astro/client.BHNTqLjv.js" props="{"base":[0,"/"],"staticCount":[0,1]}" ssr client="only" opts="{"name":"KnowledgeLibrary","value":"react"}"></astro-island><script>(function(){const host = ".tw-hydrate-host";
|
|
475
475
|
const cacheKey = "tw.hydrate.knowledge";
|
|
476
476
|
const fixActive = false;
|
|
477
477
|
const capture = true;
|
|
@@ -701,7 +701,7 @@ const syncNavGroups = false;
|
|
|
701
701
|
// 缓存坏了就当没有
|
|
702
702
|
}
|
|
703
703
|
})();
|
|
704
|
-
})();</script></div></div></main><astro-island uid="1ae4mb" component-url="/_astro/Toast.
|
|
704
|
+
})();</script></div></div></main><astro-island uid="1ae4mb" component-url="/_astro/Toast.BO2NFckG.js" component-export="GlobalToastHost" renderer-url="/_astro/client.BHNTqLjv.js" props="{"data-astro-transition-persist":[0,"astro-34g7cspi-4"]}" ssr client="only" opts="{"name":"GlobalToastHost","value":"react"}" data-astro-transition-persist="astro-34g7cspi-4"></astro-island></div><script>
|
|
705
705
|
(function () {
|
|
706
706
|
/**
|
|
707
707
|
* 切页滚回顶部。
|