@jayyuen66/dsh-zvec-grep 0.1.21 → 0.1.22
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 +10 -0
- package/README.md +21 -21
- package/README.zh-CN.md +21 -21
- package/THIRD_PARTY_NOTICES.md +3 -3
- package/client.js +1 -1
- package/cordis.patch.yml +1 -1
- package/docs/DETAIL.md +5 -35
- package/docs/DETAIL.zh.md +5 -35
- package/docs/images/capability-map.svg +311 -0
- package/docs/images/capability-map.zh.svg +64 -0
- package/docs/images/deployment-boundary.svg +62 -0
- package/docs/images/deployment-boundary.zh.svg +63 -0
- package/docs/images/search-flow.svg +77 -0
- package/docs/images/search-flow.zh.svg +61 -0
- package/docs/images/settings-card.svg +65 -0
- package/docs/images/settings-card.zh.svg +67 -0
- package/host.js +74 -5715
- package/package.json +74 -63
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" id="dsh-flow" width="1180" height="720" viewBox="0 0 1180 720" overflow="hidden" role="img" aria-labelledby="dsh-title" aria-describedby="dsh-desc">
|
|
2
|
+
<title id="dsh-title">DSH PLUGIN · SEARCH FLOW — Six stations from query to ranked hits</title>
|
|
3
|
+
<desc id="dsh-desc">Literal escape hatches are always labeled; semantic ranking never lies.</desc>
|
|
4
|
+
<style>
|
|
5
|
+
#dsh-flow text { font-family: Inter, system-ui, 'Segoe UI', sans-serif; }
|
|
6
|
+
#dsh-flow .heading { fill: #f2f5fb; font-weight: 700; }
|
|
7
|
+
#dsh-flow .copy { fill: #d6deec; fill-opacity: .82; }
|
|
8
|
+
#dsh-flow .card { fill: #fff; fill-opacity: .045; stroke: #fff; stroke-opacity: .10; }
|
|
9
|
+
#dsh-flow .gate { fill-opacity: .03; stroke: #2dd4bf; stroke-opacity: .45; stroke-width: 1.1; }
|
|
10
|
+
#dsh-flow .icon { fill: none; stroke: #2dd4bf; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
|
|
11
|
+
#dsh-flow .number { fill: #2dd4bf; font-size: 13px; font-weight: 750; text-anchor: middle; }
|
|
12
|
+
</style>
|
|
13
|
+
<defs>
|
|
14
|
+
<linearGradient id="dsh-bg" x2="100%" y2="100%"><stop offset="0" stop-color="#0a1414"/><stop offset="1" stop-color="#080f10"/></linearGradient>
|
|
15
|
+
<linearGradient id="dsh-accent"><stop offset="0" stop-color="#2dd4bf"/><stop offset="1" stop-color="#60a5fa"/></linearGradient>
|
|
16
|
+
<linearGradient id="dsh-top"><stop offset="0" stop-color="#2dd4bf"/><stop offset=".5" stop-color="#60a5fa"/><stop offset="1" stop-color="#2dd4bf"/></linearGradient>
|
|
17
|
+
<linearGradient id="dsh-badge"><stop offset="0" stop-color="#2dd4bf" stop-opacity=".16"/><stop offset="1" stop-color="#60a5fa" stop-opacity=".10"/></linearGradient>
|
|
18
|
+
<linearGradient id="dsh-tile" x2="100%" y2="100%"><stop offset="0" stop-color="#2dd4bf" stop-opacity=".20"/><stop offset="1" stop-color="#149488" stop-opacity=".24"/></linearGradient>
|
|
19
|
+
<radialGradient id="dsh-teal-glow"><stop offset="0" stop-color="#2dd4bf" stop-opacity=".22"/><stop offset="1" stop-color="#2dd4bf" stop-opacity="0"/></radialGradient>
|
|
20
|
+
<radialGradient id="dsh-blue-glow"><stop offset="0" stop-color="#60a5fa" stop-opacity=".14"/><stop offset="1" stop-color="#60a5fa" stop-opacity="0"/></radialGradient>
|
|
21
|
+
<pattern id="dsh-grid" width="34" height="34" patternUnits="userSpaceOnUse"><path d="M0 0H34V1H1V34H0Z" fill="#fff" fill-opacity=".05"/></pattern>
|
|
22
|
+
<marker id="dsh-arrow" viewBox="0 0 9 8" markerUnits="userSpaceOnUse" markerWidth="9" markerHeight="8" refX="9" refY="4" orient="auto"><path d="M0 0L9 4 0 8Z" fill="#94a0b6" fill-opacity=".8"/></marker>
|
|
23
|
+
<rect id="dsh-card" width="498" height="116" rx="16"/>
|
|
24
|
+
<g id="dsh-card-deco"><rect x="18" y="18" width="36" height="36" rx="10" fill="url(#dsh-tile)" stroke="#2dd4bf" stroke-opacity=".28"/><circle cx="466" cy="36" r="13" fill="#0b0d12" stroke="#2dd4bf" stroke-width="1.6"/></g>
|
|
25
|
+
</defs>
|
|
26
|
+
<g aria-hidden="true">
|
|
27
|
+
<rect width="1180" height="720" fill="url(#dsh-bg)"/>
|
|
28
|
+
<circle cx="1014.8" cy="0" r="330" fill="url(#dsh-teal-glow)"/><circle cx="0" cy="720" r="300" fill="url(#dsh-blue-glow)"/>
|
|
29
|
+
<rect width="1180" height="720" fill="url(#dsh-grid)"/><rect width="1180" height="3" fill="url(#dsh-top)" opacity=".495"/>
|
|
30
|
+
</g>
|
|
31
|
+
<text x="56" y="48" font-size="12.5" font-weight="700" fill="url(#dsh-accent)">DSH PLUGIN · SEARCH FLOW</text>
|
|
32
|
+
<text x="56" y="86" font-size="31" class="heading">Six stations from query to ranked hits</text>
|
|
33
|
+
<text x="56" y="120" font-size="15" fill="#94a0b6" fill-opacity=".85">Literal escape hatches are always labeled; semantic ranking never lies.</text>
|
|
34
|
+
<rect x="896" y="45" width="160" height="30" rx="15" fill="url(#dsh-badge)" stroke="#2dd4bf" stroke-opacity=".4"/><circle cx="912" cy="60" r="3.5" fill="#2dd4bf"/>
|
|
35
|
+
<text x="923" y="64.5" font-size="12.5" font-weight="650" fill="#2dd4bf">search-first gate</text>
|
|
36
|
+
<rect x="1072" y="34" width="52" height="52" rx="16" fill="url(#dsh-tile)" stroke="#2dd4bf" stroke-opacity=".28"/>
|
|
37
|
+
<svg x="1086" y="48" width="24" height="24" viewBox="0 0 24 24" class="icon" aria-hidden="true"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg>
|
|
38
|
+
<g fill="none" stroke="#94a0b6" stroke-opacity=".65" stroke-width="1.8" stroke-linecap="round" marker-end="url(#dsh-arrow)" aria-hidden="true">
|
|
39
|
+
<path d="M560 222H620"/><path d="M875 286V316"/><path d="M620 380H560"/><path d="M305 444V474"/>
|
|
40
|
+
<path d="M560 538H620" stroke-dasharray="5 4"/>
|
|
41
|
+
</g>
|
|
42
|
+
<g font-size="14">
|
|
43
|
+
<g transform="translate(56 164)"><use href="#dsh-card" class="card"/><use href="#dsh-card-deco"/>
|
|
44
|
+
<svg x="26" y="26" width="20" height="20" viewBox="0 0 24 24" class="icon" aria-hidden="true"><circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="6"/><circle cx="12" cy="12" r="2"/></svg>
|
|
45
|
+
<text x="466" y="40.5" class="number">1</text><text x="70" y="42" font-size="18" class="heading">Query & root</text>
|
|
46
|
+
<text x="70" y="71" class="copy"><tspan>query routes ≤32 · limit ≤50 · preview levels ·</tspan> <tspan x="70" dy="20">root resolved or session cwd</tspan></text>
|
|
47
|
+
</g>
|
|
48
|
+
<g transform="translate(626 164)"><use href="#dsh-card" class="card gate"/><use href="#dsh-card-deco"/>
|
|
49
|
+
<svg x="26" y="26" width="20" height="20" viewBox="0 0 24 24" class="icon" aria-hidden="true"><path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"/><path d="M12 8v4M12 16h.01"/></svg>
|
|
50
|
+
<text x="466" y="40.5" class="number">2</text><text x="70" y="42" font-size="18" class="heading">Search-first gate</text>
|
|
51
|
+
<text x="70" y="71" class="copy"><tspan>grep/rg on command position intercepted</tspan> <tspan x="70" dy="20">until an indexed search unlocks quota</tspan></text>
|
|
52
|
+
</g>
|
|
53
|
+
<g transform="translate(626 322)"><use href="#dsh-card" class="card"/><use href="#dsh-card-deco"/>
|
|
54
|
+
<svg x="26" y="26" width="20" height="20" viewBox="0 0 24 24" class="icon" aria-hidden="true"><path d="M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z"/><path d="m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65m20-5-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65"/></svg>
|
|
55
|
+
<text x="466" y="40.5" class="number">3</text><text x="70" y="42" font-size="18" class="heading">Index embedding</text>
|
|
56
|
+
<text x="70" y="71" class="copy"><tspan>model recorded at index time;</tspan> <tspan x="70" dy="20">switching the default needs rebuild=true</tspan></text>
|
|
57
|
+
</g>
|
|
58
|
+
<g transform="translate(56 322)"><use href="#dsh-card" class="card"/><use href="#dsh-card-deco"/>
|
|
59
|
+
<svg x="26" y="26" width="20" height="20" viewBox="0 0 24 24" class="icon" aria-hidden="true"><rect x="2" y="2" width="20" height="8" rx="2"/><rect x="2" y="14" width="20" height="8" rx="2"/><path d="M6 6h.01M6 18h.01"/></svg>
|
|
60
|
+
<text x="466" y="40.5" class="number">4</text><text x="70" y="42" font-size="18" class="heading">Daemon search</text>
|
|
61
|
+
<text x="70" y="71" class="copy"><tspan>indexed channel rides MCP or CLI;</tspan> <tspan x="70" dy="20">exhaust and file-list always run CLI</tspan></text>
|
|
62
|
+
</g>
|
|
63
|
+
<g transform="translate(56 480)"><use href="#dsh-card" class="card"/><use href="#dsh-card-deco"/>
|
|
64
|
+
<svg x="26" y="26" width="20" height="20" viewBox="0 0 24 24" class="icon" aria-hidden="true"><path d="M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01"/></svg>
|
|
65
|
+
<text x="466" y="40.5" class="number">5</text><text x="70" y="42" font-size="18" class="heading">Ranked results</text>
|
|
66
|
+
<text x="70" y="71" class="copy"><tspan>BM25 + vector + RRF with hit summary;</tspan> <tspan x="70" dy="20">literal detour carries a pre-label</tspan></text>
|
|
67
|
+
</g>
|
|
68
|
+
<g transform="translate(626 480)"><use href="#dsh-card" class="card"/><use href="#dsh-card-deco"/>
|
|
69
|
+
<svg x="26" y="26" width="20" height="20" viewBox="0 0 24 24" class="icon" aria-hidden="true"><path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8M21 3v5h-5M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16M8 16H3v5"/></svg>
|
|
70
|
+
<text x="466" y="40.5" class="number">6</text><text x="70" y="42" font-size="18" class="heading">Optional rebuild</text>
|
|
71
|
+
<text x="70" y="71" class="copy"><tspan>settings card → zvecGrepRebuild,</tspan> <tspan x="70" dy="20">or zg_index background=true job</tspan></text>
|
|
72
|
+
</g>
|
|
73
|
+
</g>
|
|
74
|
+
<rect x="56" y="632" width="1068" height="56" rx="14" fill="#fff" fill-opacity=".03" stroke="#fff" stroke-opacity=".07"/>
|
|
75
|
+
<rect x="70" y="644" width="3" height="32" rx="1.5" fill="url(#dsh-accent)"/>
|
|
76
|
+
<text x="86" y="665" font-size="13.5" class="copy">Local-first: the plugin writes only its daemon token (0600, removed on stop); credentials live in env names, never argv.</text>
|
|
77
|
+
</svg>
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1180" height="720" viewBox="0 0 1180 720" role="img" aria-labelledby="dsh-flow-title" aria-describedby="dsh-flow-desc" xml:lang="zh-CN" font-family="Inter, 'Segoe UI', Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Noto Sans SC', 'WenQuanYi Micro Hei', sans-serif">
|
|
2
|
+
<title id="dsh-flow-title">DSH 插件 · 检索流程 — 从查询到排序命中的六站</title>
|
|
3
|
+
<desc id="dsh-flow-desc">穷举改道永远带前置标注;语义排序不说谎。
|
|
4
|
+
1. 查询与 root:查询路由 ≤32 条 · limit ≤50 · preview 分级 · root 解析或会话 cwd。2. Search-first 门:命令位 grep/rg 先拦;读索引的检索成功才发放配额。
|
|
5
|
+
3. 索引 embedding:建索引时记录模型;切默认值必须 rebuild=true。4. 守护进程检索:索引通道走 MCP 或 CLI;穷举与文件清单恒走 CLI。
|
|
6
|
+
5. 排序结果:BM25 + 向量 + RRF + 尾部 hit summary;穷举改道带前置标注。6. 可选 Rebuild:设置卡 → zvecGrepRebuild,或 zg_index background=true 作业。
|
|
7
|
+
本地优先:插件只写 daemon token(0600,停止后删除);凭据只存环境变量名,绝不进 argv。</desc>
|
|
8
|
+
<defs>
|
|
9
|
+
<linearGradient id="dsh-flow-bg" x2="100%" y2="100%"><stop offset="0" stop-color="#0a1414"/><stop offset="1" stop-color="#080f10"/></linearGradient>
|
|
10
|
+
<linearGradient id="dsh-flow-rule"><stop offset="0" stop-color="#2dd4bf"/><stop offset=".5" stop-color="#60a5fa"/><stop offset="1" stop-color="#2dd4bf"/></linearGradient>
|
|
11
|
+
<linearGradient id="dsh-flow-pill"><stop offset="0" stop-color="#2dd4bf" stop-opacity=".16"/><stop offset="1" stop-color="#60a5fa" stop-opacity=".10"/></linearGradient>
|
|
12
|
+
<linearGradient id="dsh-flow-icon-fill" x2="100%" y2="100%"><stop offset="0" stop-color="#2dd4bf" stop-opacity=".20"/><stop offset="1" stop-color="#149488" stop-opacity=".24"/></linearGradient>
|
|
13
|
+
<radialGradient id="dsh-flow-glow-teal" gradientUnits="userSpaceOnUse" cx="1014.8" cy="0" r="330"><stop offset="0" stop-color="#2dd4bf" stop-opacity=".22"/><stop offset="1" stop-color="#2dd4bf" stop-opacity="0"/></radialGradient>
|
|
14
|
+
<radialGradient id="dsh-flow-glow-blue" gradientUnits="userSpaceOnUse" cx="0" cy="720" r="300"><stop offset="0" stop-color="#60a5fa" stop-opacity=".14"/><stop offset="1" stop-color="#60a5fa" stop-opacity="0"/></radialGradient>
|
|
15
|
+
<pattern id="dsh-flow-grid" width="34" height="34" patternUnits="userSpaceOnUse"><path d="M0 0H34V1H1V34H0Z" fill="#fff" fill-opacity=".05"/></pattern>
|
|
16
|
+
<style type="text/css">
|
|
17
|
+
.dsh-flow-card{fill:#fff;fill-opacity:.045;stroke:#fff;stroke-opacity:.10} .dsh-flow-gate{fill-opacity:.03;stroke:#2dd4bf;stroke-opacity:.45;stroke-width:1.1}
|
|
18
|
+
.dsh-flow-icon-box{fill:url(#dsh-flow-icon-fill);stroke:#2dd4bf;stroke-opacity:.28} .dsh-flow-icon{fill:none;stroke:#2dd4bf;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
|
|
19
|
+
.dsh-flow-node{fill:#0b0d12;stroke:#2dd4bf;stroke-width:1.8} .dsh-flow-number{fill:#2dd4bf;font-size:13px;font-weight:700;text-anchor:middle}
|
|
20
|
+
.dsh-flow-heading{fill:#f2f5fb;font-size:18px;font-weight:700} .dsh-flow-copy{fill:#d6deec;fill-opacity:.82;font-size:16px}
|
|
21
|
+
</style>
|
|
22
|
+
</defs>
|
|
23
|
+
<rect width="1180" height="720" fill="url(#dsh-flow-bg)"/><rect width="1180" height="720" fill="url(#dsh-flow-glow-teal)"/><rect width="1180" height="720" fill="url(#dsh-flow-glow-blue)"/><rect width="1180" height="720" fill="url(#dsh-flow-grid)"/>
|
|
24
|
+
<rect width="1180" height="3" fill="url(#dsh-flow-rule)" fill-opacity=".495"/>
|
|
25
|
+
<text x="56" y="49" font-size="14" font-weight="700" fill="#2dd4bf">DSH 插件 · 检索流程</text>
|
|
26
|
+
<text x="56" y="88" font-size="34" font-weight="700" fill="#f2f5fb">从查询到排序命中的六站</text><text x="56" y="120" font-size="16" fill="#94a0b6" fill-opacity=".85">穷举改道永远带前置标注;语义排序不说谎。</text>
|
|
27
|
+
<rect x="900" y="57" width="160" height="34" rx="17" fill="url(#dsh-flow-pill)" stroke="#2dd4bf" stroke-opacity=".4"/><circle cx="917" cy="74" r="3.5" fill="#2dd4bf"/><text x="930" y="79" font-size="14" font-weight="700" fill="#2dd4bf">search-first 门</text>
|
|
28
|
+
<rect x="1072" y="48" width="52" height="52" rx="12" class="dsh-flow-icon-box"/><g class="dsh-flow-icon" transform="translate(1086 62)"><circle cx="11" cy="11" r="8"/><path d="M21 21l-4.3-4.3"/></g>
|
|
29
|
+
<path d="M56 140H1124 M406 173v30 M406 251v30 M406 329v30 M406 407v30 M406 485v30 M406 563v30" fill="none" stroke="#fff" stroke-opacity=".10"/>
|
|
30
|
+
<path d="M87 188h25 M87 266h25 M87 344h25 M87 422h25 M87 500h25 M87 578h25" fill="none" stroke="#94a0b6" stroke-opacity=".55" stroke-width="1.4"/>
|
|
31
|
+
<g fill="none" stroke="#2dd4bf" stroke-opacity=".70" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
|
|
32
|
+
<path d="M74 203v47m-4-4 4 4 4-4 M74 281v47m-4-4 4 4 4-4 M74 359v47m-4-4 4 4 4-4 M74 437v47m-4-4 4 4 4-4"/>
|
|
33
|
+
<path d="M74 515v43" stroke-dasharray="5 5"/><path d="M74 558v4 M70 558l4 4 4-4"/>
|
|
34
|
+
</g>
|
|
35
|
+
<g transform="translate(0 156)">
|
|
36
|
+
<rect class="dsh-flow-card" x="112" width="1012" height="64" rx="8"/><circle class="dsh-flow-node" cx="74" cy="32" r="12"/><text class="dsh-flow-number" x="74" y="37">1</text>
|
|
37
|
+
<rect class="dsh-flow-icon-box" x="130" y="14" width="36" height="36" rx="8"/><g class="dsh-flow-icon" transform="translate(136 20)"><circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="6"/><circle cx="12" cy="12" r="2"/></g>
|
|
38
|
+
<text class="dsh-flow-heading" x="184" y="38">查询与 root</text><text class="dsh-flow-copy" x="430" y="37">查询路由 ≤32 条 · limit ≤50 · preview 分级 · root 解析或会话 cwd</text></g>
|
|
39
|
+
<g transform="translate(0 234)">
|
|
40
|
+
<rect class="dsh-flow-card dsh-flow-gate" x="112" width="1012" height="64" rx="8"/><circle class="dsh-flow-node" cx="74" cy="32" r="12"/><text class="dsh-flow-number" x="74" y="37">2</text>
|
|
41
|
+
<rect class="dsh-flow-icon-box" x="130" y="14" width="36" height="36" rx="8"/><g class="dsh-flow-icon" transform="translate(136 20)"><path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z M12 8v4 M12 16h.01"/></g>
|
|
42
|
+
<text class="dsh-flow-heading" x="184" y="38">Search-first 门</text><text class="dsh-flow-copy" x="430" y="37">命令位 grep/rg 先拦;读索引的检索成功才发放配额</text></g>
|
|
43
|
+
<g transform="translate(0 312)">
|
|
44
|
+
<rect class="dsh-flow-card" x="112" width="1012" height="64" rx="8"/><circle class="dsh-flow-node" cx="74" cy="32" r="12"/><text class="dsh-flow-number" x="74" y="37">3</text>
|
|
45
|
+
<rect class="dsh-flow-icon-box" x="130" y="14" width="36" height="36" rx="8"/><g class="dsh-flow-icon" transform="translate(136 20)"><path d="M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z M22 17.65l-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65 M22 12.65l-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65"/></g>
|
|
46
|
+
<text class="dsh-flow-heading" x="184" y="38">索引 embedding</text><text class="dsh-flow-copy" x="430" y="37">建索引时记录模型;切默认值必须 rebuild=true</text></g>
|
|
47
|
+
<g transform="translate(0 390)">
|
|
48
|
+
<rect class="dsh-flow-card" x="112" width="1012" height="64" rx="8"/><circle class="dsh-flow-node" cx="74" cy="32" r="12"/><text class="dsh-flow-number" x="74" y="37">4</text>
|
|
49
|
+
<rect class="dsh-flow-icon-box" x="130" y="14" width="36" height="36" rx="8"/><g class="dsh-flow-icon" transform="translate(136 20)"><rect x="2" y="2" width="20" height="8" rx="2"/><rect x="2" y="14" width="20" height="8" rx="2"/><path d="M6 6h.01 M6 18h.01"/></g>
|
|
50
|
+
<text class="dsh-flow-heading" x="184" y="38">守护进程检索</text><text class="dsh-flow-copy" x="430" y="37">索引通道走 MCP 或 CLI;穷举与文件清单恒走 CLI</text></g>
|
|
51
|
+
<g transform="translate(0 468)">
|
|
52
|
+
<rect class="dsh-flow-card" x="112" width="1012" height="64" rx="8"/><circle class="dsh-flow-node" cx="74" cy="32" r="12"/><text class="dsh-flow-number" x="74" y="37">5</text>
|
|
53
|
+
<rect class="dsh-flow-icon-box" x="130" y="14" width="36" height="36" rx="8"/><g class="dsh-flow-icon" transform="translate(136 20)"><path d="M8 6h13 M8 12h13 M8 18h13 M3 6h.01 M3 12h.01 M3 18h.01"/></g>
|
|
54
|
+
<text class="dsh-flow-heading" x="184" y="38">排序结果</text><text class="dsh-flow-copy" x="430" y="37">BM25 + 向量 + RRF + 尾部 hit summary;穷举改道带前置标注</text></g>
|
|
55
|
+
<g transform="translate(0 546)">
|
|
56
|
+
<rect class="dsh-flow-card" x="112" width="1012" height="64" rx="8"/><circle class="dsh-flow-node" cx="74" cy="32" r="12"/><text class="dsh-flow-number" x="74" y="37">6</text>
|
|
57
|
+
<rect class="dsh-flow-icon-box" x="130" y="14" width="36" height="36" rx="8"/><g class="dsh-flow-icon" transform="translate(136 20)"><path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8 M21 3v5h-5 M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16 M8 16H3v5"/></g>
|
|
58
|
+
<text class="dsh-flow-heading" x="184" y="38">可选 Rebuild</text><text class="dsh-flow-copy" x="430" y="37">设置卡 → zvecGrepRebuild,或 zg_index background=true 作业</text></g>
|
|
59
|
+
<rect x="56" y="638" width="1068" height="54" rx="8" fill="#fff" fill-opacity=".03" stroke="#fff" stroke-opacity=".09"/><rect x="72" y="651" width="3" height="28" rx="1.5" fill="#2dd4bf"/>
|
|
60
|
+
<text x="88" y="670" font-size="15" fill="#d6deec" fill-opacity=".82">本地优先:插件只写 daemon token(0600,停止后删除);凭据只存环境变量名,绝不进 argv。</text>
|
|
61
|
+
</svg>
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" id="dsh-zg-settings" width="1180" height="720" viewBox="0 0 1180 720" preserveAspectRatio="xMidYMid meet"
|
|
2
|
+
role="img" aria-labelledby="dsh-zg-settings-title" aria-describedby="dsh-zg-settings-desc" xml:lang="en" font-family="Inter, system-ui, 'Segoe UI', Arial, 'Liberation Sans', sans-serif">
|
|
3
|
+
<title id="dsh-zg-settings-title">DSH plugin · Settings card: seven fields, three retrieval gates</title>
|
|
4
|
+
<desc id="dsh-zg-settings-desc">The zvec-grep settings card has seven fields: three retrieval defaults, three search-first fields and one transport field. Values are read on the next call; changing defaultEmbedding requires a rebuild.</desc>
|
|
5
|
+
<defs>
|
|
6
|
+
<linearGradient id="dsh-zg-settings-bg" x2="100%" y2="100%"><stop offset="0" stop-color="#0a1414"/><stop offset="1" stop-color="#080f10"/></linearGradient>
|
|
7
|
+
<linearGradient id="dsh-zg-settings-accent"><stop offset="0" stop-color="#2dd4bf"/><stop offset="1" stop-color="#60a5fa"/></linearGradient>
|
|
8
|
+
<linearGradient id="dsh-zg-settings-stripe"><stop offset="0" stop-color="#2dd4bf" stop-opacity=".55"/><stop offset=".5" stop-color="#60a5fa" stop-opacity=".55"/><stop offset="1" stop-color="#2dd4bf" stop-opacity=".55"/></linearGradient>
|
|
9
|
+
<linearGradient id="dsh-zg-settings-chip"><stop offset="0" stop-color="#2dd4bf" stop-opacity=".16"/><stop offset="1" stop-color="#60a5fa" stop-opacity=".10"/></linearGradient>
|
|
10
|
+
<linearGradient id="dsh-zg-settings-tile" x2="100%" y2="100%"><stop offset="0" stop-color="#2dd4bf" stop-opacity=".20"/><stop offset="1" stop-color="#149488" stop-opacity=".24"/></linearGradient>
|
|
11
|
+
<radialGradient id="dsh-zg-settings-glow-a" gradientUnits="userSpaceOnUse" cx="1014.8" cy="0" r="330"><stop offset="0" stop-color="#2dd4bf" stop-opacity=".22"/><stop offset="1" stop-color="#2dd4bf" stop-opacity="0"/></radialGradient>
|
|
12
|
+
<radialGradient id="dsh-zg-settings-glow-b" gradientUnits="userSpaceOnUse" cx="0" cy="720" r="300"><stop offset="0" stop-color="#60a5fa" stop-opacity=".14"/><stop offset="1" stop-color="#60a5fa" stop-opacity="0"/></radialGradient>
|
|
13
|
+
<pattern id="dsh-zg-settings-grid" width="34" height="34" patternUnits="userSpaceOnUse"><path d="M.5 34V.5H34" fill="none" stroke="#fff" stroke-opacity=".05"/></pattern>
|
|
14
|
+
</defs>
|
|
15
|
+
<style>
|
|
16
|
+
#dsh-zg-settings .strong { fill:#f2f5fb; font-weight:700; }
|
|
17
|
+
#dsh-zg-settings .copy { fill:#d6deec; fill-opacity:.82; font-size:13px; } #dsh-zg-settings .muted { fill:#94a0b6; fill-opacity:.85; }
|
|
18
|
+
#dsh-zg-settings .mono { font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace; }
|
|
19
|
+
#dsh-zg-settings .teal, #dsh-zg-settings .value { fill:#2dd4bf; font-weight:700; } #dsh-zg-settings .value { font-size:13px; text-anchor:end; }
|
|
20
|
+
#dsh-zg-settings .panel { fill:#fff; fill-opacity:.045; stroke:#fff; stroke-opacity:.10; } #dsh-zg-settings .rule { fill:none; stroke:#fff; stroke-opacity:.10; }
|
|
21
|
+
#dsh-zg-settings .chip { fill:url(#dsh-zg-settings-chip); stroke:#2dd4bf; stroke-opacity:.4; } #dsh-zg-settings .tile { fill:url(#dsh-zg-settings-tile); stroke:#2dd4bf; stroke-opacity:.28; }
|
|
22
|
+
#dsh-zg-settings .icon { fill:none; stroke:#2dd4bf; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
|
|
23
|
+
</style>
|
|
24
|
+
<g aria-hidden="true">
|
|
25
|
+
<rect width="1180" height="720" fill="url(#dsh-zg-settings-bg)"/><rect width="1180" height="720" fill="url(#dsh-zg-settings-glow-a)"/><rect width="1180" height="720" fill="url(#dsh-zg-settings-glow-b)"/>
|
|
26
|
+
<rect width="1180" height="720" fill="url(#dsh-zg-settings-grid)"/><rect width="1180" height="3" fill="url(#dsh-zg-settings-stripe)" opacity=".9"/>
|
|
27
|
+
<rect x="48" y="142" width="714" height="506" rx="18" class="panel"/><rect x="782" y="142" width="350" height="506" rx="18" class="panel"/>
|
|
28
|
+
<path d="M70 200.5H740 M70 364.5H740 M70 547.5H740 M804 200.5H1110 M804 285.5H1110 M804 368.5H1110 M804 451.5H1110 M48 668.5H1132" class="rule"/>
|
|
29
|
+
</g>
|
|
30
|
+
<text x="48" y="46" font-size="13" font-weight="700" fill="url(#dsh-zg-settings-accent)">DSH PLUGIN · SETTINGS CARD</text>
|
|
31
|
+
<text x="48" y="86" font-size="34" class="strong">Seven fields, three retrieval gates</text>
|
|
32
|
+
<text x="48" y="117" font-size="15" class="muted">The card is the reference; eleven deployment values stay off-card and need a restart.</text>
|
|
33
|
+
<rect x="928" y="52" width="140" height="32" rx="16" class="chip"/><circle cx="950" cy="68" r="3.5" fill="#2dd4bf"/><text x="962" y="72.5" font-size="13" class="teal">7 fields · live</text>
|
|
34
|
+
<rect x="1084" y="44" width="48" height="48" rx="14" class="tile"/><path d="M4 21v-7m0-4V3 M12 21v-9m0-4V3 M20 21v-5m0-4V3 M1 14h6 M9 8h6 M17 16h6" transform="translate(1096 56)" class="icon"/>
|
|
35
|
+
<rect x="70" y="157" width="34" height="34" rx="10" class="tile"/><g transform="translate(75 162)" class="icon"><circle cx="11" cy="11" r="8"/><path d="M21 21l-4.3-4.3"/></g>
|
|
36
|
+
<text x="116" y="180" font-size="18" class="strong">Seven fields on the card</text><rect x="646" y="161" width="94" height="26" rx="13" class="chip"/><text x="693" y="178" text-anchor="middle" font-size="12" class="teal">3 groups</text>
|
|
37
|
+
<text x="70" y="228" font-size="15" class="strong">Retrieval defaults</text><rect x="658" y="211" width="82" height="24" rx="12" class="chip"/><text x="699" y="227" text-anchor="middle" font-size="12" class="teal">3 fields</text>
|
|
38
|
+
<text x="70" y="258" font-size="14" class="mono strong">defaultEmbedding</text><text x="740" y="258" class="value">local/qwen3-embedding-0.6b</text>
|
|
39
|
+
<text x="70" y="277" class="copy">One model for index and search; Rebuild after a change</text>
|
|
40
|
+
<text x="70" y="302" font-size="14" class="mono strong">defaultLimit</text><text x="740" y="302" class="value">10 · 1–50</text>
|
|
41
|
+
<text x="70" y="321" class="copy">Hits per group when <tspan class="mono">limit</tspan> is omitted</text>
|
|
42
|
+
<text x="70" y="346" font-size="14" class="mono strong">hfEndpoint</text><text x="740" y="346" class="value">https://modelscope.cn/models</text>
|
|
43
|
+
<text x="70" y="391" font-size="15" class="strong">search-first gate</text><rect x="658" y="374" width="82" height="24" rx="12" class="chip"/><text x="699" y="390" text-anchor="middle" font-size="12" class="teal">3 fields</text>
|
|
44
|
+
<text x="70" y="421" font-size="14" class="mono strong">enforceSearchFirst</text><text x="740" y="421" class="value">on</text>
|
|
45
|
+
<text x="70" y="440" class="copy">Indexed roots must pass <tspan class="mono">zg_search</tspan> before grep / rg</text>
|
|
46
|
+
<text x="70" y="465" font-size="14" class="mono strong">grepBudgetPerSearch</text><text x="740" y="465" class="value">3 · 1–20</text>
|
|
47
|
+
<text x="70" y="484" class="copy">Each successful indexed search issues 3 greps</text>
|
|
48
|
+
<text x="70" y="509" font-size="14" class="mono strong">unlockWindowMin</text><text x="740" y="509" class="value">10 min · 1–240</text>
|
|
49
|
+
<text x="70" y="528" class="copy">Quota expiry is checked when it is spent</text>
|
|
50
|
+
<text x="70" y="574" font-size="15" class="strong">Transport</text><rect x="658" y="557" width="82" height="24" rx="12" class="chip"/><text x="699" y="573" text-anchor="middle" font-size="12" class="teal">1 field</text>
|
|
51
|
+
<text x="70" y="604" font-size="14" class="mono strong">transport</text><text x="740" y="604" class="value">auto · auto | cli | mcp</text>
|
|
52
|
+
<text x="70" y="623" class="copy">auto: MCP when the daemon is ready, else CLI; mcp starts it when absent</text>
|
|
53
|
+
<rect x="804" y="157" width="34" height="34" rx="10" class="tile"/><path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8 M21 3v5h-5 M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16 M8 16H3v5" transform="translate(809 162)" class="icon"/>
|
|
54
|
+
<text x="850" y="180" font-size="18" class="strong">Read it this way</text><rect x="1046" y="161" width="64" height="26" rx="13" class="chip"/><text x="1078" y="178" text-anchor="middle" font-size="12" class="teal">live</text>
|
|
55
|
+
<text x="804" y="228" font-size="15" class="strong">Read on the next call</text>
|
|
56
|
+
<text x="804" y="251" class="copy">All seven fields are volatile; <tspan x="804" dy="19">save and the next call sees it.</tspan></text>
|
|
57
|
+
<text x="804" y="311" font-size="15" class="strong">Embedding change needs Rebuild</text>
|
|
58
|
+
<text x="804" y="334" class="copy">Search uses the model recorded in <tspan x="804" dy="19">the index; rebuild after changing it.</tspan></text>
|
|
59
|
+
<text x="804" y="394" font-size="15" class="strong">Rebuild is an action</text>
|
|
60
|
+
<text x="804" y="417" class="copy">Not a preference; roots come from <tspan x="804" dy="19">the daemon whitelist, one lock per root.</tspan></text>
|
|
61
|
+
<text x="804" y="477" font-size="15" class="strong">Eleven off-card values</text>
|
|
62
|
+
<text x="804" y="500" class="copy">Timeouts, buffers, endpoint, remote <tspan x="804" dy="19">embedding and root approval live in </tspan><tspan x="804" dy="19">config: and need a restart.</tspan></text>
|
|
63
|
+
<path d="M805 572v48" fill="none" stroke="#2dd4bf" stroke-opacity=".4" stroke-width="2" stroke-linecap="round"/><text x="818" y="589" font-size="13" class="muted">Seven fields tune retrieval only; <tspan x="818" dy="19">the deployment boundary is next.</tspan></text>
|
|
64
|
+
<text x="590" y="694" text-anchor="middle" font-size="13" class="muted">Settings are read on the next call; Rebuild is an action, and an embedding change requires it.</text>
|
|
65
|
+
</svg>
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" id="dsh-zg-settings" width="1180" height="720" viewBox="0 0 1180 720" role="img" aria-labelledby="dsh-zg-settings-title" aria-describedby="dsh-zg-settings-desc" xml:lang="zh-CN" font-family="Inter, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif" font-size="14" fill="#f2f5fb">
|
|
2
|
+
<title id="dsh-zg-settings-title">DSH 插件 · 设置卡:七个字段,三道检索门</title>
|
|
3
|
+
<desc id="dsh-zg-settings-desc">zvec-grep 设置卡共七个字段:检索默认三项、search-first 门三项、传输一项。字段在下一次调用时现读;换 defaultEmbedding 后必须 Rebuild。</desc>
|
|
4
|
+
<defs>
|
|
5
|
+
<linearGradient id="dsh-zg-settings-bg" x2="100%" y2="100%"><stop offset="0" stop-color="#0a1414"/><stop offset="1" stop-color="#080f10"/></linearGradient>
|
|
6
|
+
<linearGradient id="dsh-zg-settings-accent"><stop offset="0" stop-color="#2dd4bf"/><stop offset="1" stop-color="#60a5fa"/></linearGradient>
|
|
7
|
+
<linearGradient id="dsh-zg-settings-stripe"><stop offset="0" stop-color="#2dd4bf" stop-opacity=".55"/><stop offset=".5" stop-color="#60a5fa" stop-opacity=".55"/><stop offset="1" stop-color="#2dd4bf" stop-opacity=".55"/></linearGradient>
|
|
8
|
+
<linearGradient id="dsh-zg-settings-chip"><stop offset="0" stop-color="#2dd4bf" stop-opacity=".16"/><stop offset="1" stop-color="#60a5fa" stop-opacity=".10"/></linearGradient>
|
|
9
|
+
<linearGradient id="dsh-zg-settings-tile" x2="100%" y2="100%"><stop offset="0" stop-color="#2dd4bf" stop-opacity=".20"/><stop offset="1" stop-color="#149488" stop-opacity=".24"/></linearGradient>
|
|
10
|
+
<radialGradient id="dsh-zg-settings-glow-a" gradientUnits="userSpaceOnUse" cx="1014.8" cy="0" r="330"><stop offset="0" stop-color="#2dd4bf" stop-opacity=".22"/><stop offset="1" stop-color="#2dd4bf" stop-opacity="0"/></radialGradient>
|
|
11
|
+
<radialGradient id="dsh-zg-settings-glow-b" gradientUnits="userSpaceOnUse" cx="0" cy="720" r="300"><stop offset="0" stop-color="#60a5fa" stop-opacity=".14"/><stop offset="1" stop-color="#60a5fa" stop-opacity="0"/></radialGradient>
|
|
12
|
+
<pattern id="dsh-zg-settings-grid" width="34" height="34" patternUnits="userSpaceOnUse"><path d="M.5 0V34 M0 .5H34" fill="none" stroke="#fff" stroke-opacity=".05"/></pattern>
|
|
13
|
+
</defs>
|
|
14
|
+
<rect width="1180" height="720" fill="url(#dsh-zg-settings-bg)"/>
|
|
15
|
+
<rect width="1180" height="720" fill="url(#dsh-zg-settings-glow-a)"/><rect width="1180" height="720" fill="url(#dsh-zg-settings-glow-b)"/>
|
|
16
|
+
<rect width="1180" height="720" fill="url(#dsh-zg-settings-grid)"/><rect width="1180" height="3" fill="url(#dsh-zg-settings-stripe)" opacity=".9"/>
|
|
17
|
+
<g fill="#fff" fill-opacity=".045" stroke="#fff" stroke-opacity=".10"><rect x="56" y="144" width="692" height="484" rx="12"/><rect x="772" y="144" width="352" height="484" rx="12"/></g>
|
|
18
|
+
<path d="M80 205.5H724 M80 359.5H724 M80 531.5H724 M796 205.5H1100 M796 292.5H1100 M796 379.5H1100 M796 466.5H1100 M796 553.5H1100 M56 650.5H1124" fill="none" stroke="#fff" stroke-opacity=".10"/>
|
|
19
|
+
<g fill="url(#dsh-zg-settings-tile)" stroke="#2dd4bf" stroke-opacity=".28">
|
|
20
|
+
<rect x="1072" y="36" width="52" height="52" rx="16"/><rect x="80" y="159" width="32" height="32" rx="9"/><rect x="796" y="159" width="32" height="32" rx="9"/>
|
|
21
|
+
</g>
|
|
22
|
+
<g fill="url(#dsh-zg-settings-chip)" stroke="#2dd4bf" stroke-opacity=".4">
|
|
23
|
+
<rect x="928" y="47" width="128" height="30" rx="15"/><rect x="652" y="162" width="72" height="26" rx="13"/><rect x="1004" y="162" width="96" height="26" rx="13"/>
|
|
24
|
+
<rect x="676" y="214" width="48" height="22" rx="11"/><rect x="676" y="368" width="48" height="22" rx="11"/><rect x="676" y="540" width="48" height="22" rx="11"/>
|
|
25
|
+
</g>
|
|
26
|
+
<g fill="none" stroke="#2dd4bf" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round">
|
|
27
|
+
<path transform="translate(1086 50)" d="M4 21v-7 M4 10V3 M12 21v-9 M12 8V3 M20 21v-5 M20 12V3 M1 14h6 M9 8h6 M17 16h6"/>
|
|
28
|
+
<g transform="translate(87 166) scale(.75)" stroke-width="2"><circle cx="11" cy="11" r="8"/><path d="M21 21l-4.3-4.3"/></g>
|
|
29
|
+
<path transform="translate(803 166) scale(.75)" stroke-width="2" d="M3 12a9 9 0 0 1 9-9a9.75 9.75 0 0 1 6.74 2.74L21 8 M21 3v5h-5 M21 12a9 9 0 0 1-9 9a9.75 9.75 0 0 1-6.74-2.74L3 16 M8 16H3v5"/>
|
|
30
|
+
</g>
|
|
31
|
+
<text x="56" y="45" font-size="13" font-weight="700" fill="url(#dsh-zg-settings-accent)">DSH 插件 · 设置卡</text>
|
|
32
|
+
<text x="56" y="84" font-size="33" font-weight="700">七个字段,三道检索门</text>
|
|
33
|
+
<text x="56" y="116" font-size="15" fill="#94a0b6" fill-opacity=".85">卡是说明;部署的十一项在卡外,改 config: 后重启。</text>
|
|
34
|
+
<circle cx="946" cy="62" r="3.5" fill="#2dd4bf"/><text x="958" y="66.5" font-size="13" font-weight="700" fill="#2dd4bf">7 字段 · 现读</text>
|
|
35
|
+
<g font-size="18" font-weight="700"><text x="124" y="182">卡上七项</text><text x="840" y="182">怎么读</text></g>
|
|
36
|
+
<g text-anchor="middle" font-size="12" font-weight="700" fill="#2dd4bf">
|
|
37
|
+
<text x="688" y="179">3 组</text><text x="1052" y="179">不改代码</text>
|
|
38
|
+
<text x="700" y="229">3 项</text><text x="700" y="383">3 项</text><text x="700" y="555">1 项</text>
|
|
39
|
+
</g>
|
|
40
|
+
<text x="80" y="230" font-size="16" font-weight="700">检索默认</text>
|
|
41
|
+
<text x="80" y="256" font-weight="700"><tspan font-family="Consolas, 'Liberation Mono', monospace">defaultEmbedding</tspan><tspan x="454" fill="#2dd4bf">local/qwen3-embedding-0.6b</tspan></text>
|
|
42
|
+
<text x="80" y="275" fill="#d6deec" fill-opacity=".82">建索引与检索共用这一枚;切换后必须 Rebuild</text>
|
|
43
|
+
<text x="80" y="299" font-weight="700"><tspan font-family="Consolas, 'Liberation Mono', monospace">defaultLimit</tspan><tspan x="454" fill="#2dd4bf">10 · 1–50</tspan></text>
|
|
44
|
+
<text x="80" y="318" fill="#d6deec" fill-opacity=".82">省略 limit 时,每组结果默认返回多少条命中</text>
|
|
45
|
+
<text x="80" y="342" font-weight="700"><tspan font-family="Consolas, 'Liberation Mono', monospace">hfEndpoint</tspan><tspan x="454" fill="#2dd4bf">https://modelscope.cn/models</tspan></text>
|
|
46
|
+
<text x="80" y="384" font-size="16" font-weight="700">search-first 门</text>
|
|
47
|
+
<text x="80" y="410" font-weight="700"><tspan font-family="Consolas, 'Liberation Mono', monospace">enforceSearchFirst</tspan><tspan x="454" fill="#2dd4bf">开</tspan></text>
|
|
48
|
+
<text x="80" y="429" fill="#d6deec" fill-opacity=".82">已建索引工作区先成功 zg_search,才放行 grep / rg</text>
|
|
49
|
+
<text x="80" y="453" font-weight="700"><tspan font-family="Consolas, 'Liberation Mono', monospace">grepBudgetPerSearch</tspan><tspan x="454" fill="#2dd4bf">3 · 1–20</tspan></text>
|
|
50
|
+
<text x="80" y="472" fill="#d6deec" fill-opacity=".82">每次成功索引检索发放 3 次配额</text>
|
|
51
|
+
<text x="80" y="496" font-weight="700"><tspan font-family="Consolas, 'Liberation Mono', monospace">unlockWindowMin</tspan><tspan x="454" fill="#2dd4bf">10 分钟 · 1–240</tspan></text>
|
|
52
|
+
<text x="80" y="515" fill="#d6deec" fill-opacity=".82">配额在取用时现判有效期</text>
|
|
53
|
+
<text x="80" y="556" font-size="16" font-weight="700">传输</text>
|
|
54
|
+
<text x="80" y="582" font-weight="700"><tspan font-family="Consolas, 'Liberation Mono', monospace">transport</tspan><tspan x="454" fill="#2dd4bf">auto · auto | cli | mcp</tspan></text>
|
|
55
|
+
<text x="80" y="601" fill="#d6deec" fill-opacity=".82">auto:daemon 就绪走 MCP,否则 CLI;mcp 缺席时拉起 daemon</text>
|
|
56
|
+
<text x="796" y="230" font-size="16" font-weight="700">下一次调用现读</text>
|
|
57
|
+
<text x="796" y="253" fill="#d6deec" fill-opacity=".82">七个字段都是 volatile;<tspan x="796" y="274">保存后下一次调用即生效。</tspan></text>
|
|
58
|
+
<text x="796" y="317" font-size="16" font-weight="700">换 embedding 必须 Rebuild</text>
|
|
59
|
+
<text x="796" y="340" fill="#d6deec" fill-opacity=".82">检索使用索引记录的模型;<tspan x="796" y="361">默认 embedding 改了要重建。</tspan></text>
|
|
60
|
+
<text x="796" y="404" font-size="16" font-weight="700">Rebuild 是动作</text>
|
|
61
|
+
<text x="796" y="427" fill="#d6deec" fill-opacity=".82">不是偏好;候选 root 来自<tspan x="796" y="448">daemon 白名单,同根锁串行。</tspan></text>
|
|
62
|
+
<text x="796" y="491" font-size="16" font-weight="700">卡外十一项</text>
|
|
63
|
+
<text x="796" y="514" fill="#d6deec" fill-opacity=".82">时间、缓冲、传输端点、远程 embedding<tspan x="796" y="535">与 root 审批都在 config: 里,改完重启。</tspan></text>
|
|
64
|
+
<path d="M797 568V605" fill="none" stroke="#2dd4bf" stroke-opacity=".55" stroke-width="2" stroke-linecap="round"/>
|
|
65
|
+
<text x="808" y="581" fill="#94a0b6" fill-opacity=".85">七个字段只改检索手感;<tspan x="808" y="601">部署边界在下一张图。</tspan></text>
|
|
66
|
+
<text x="590" y="675" text-anchor="middle" font-size="13" fill="#94a0b6" fill-opacity=".85">设置值下一次调用现读;Rebuild 不是设置项,换 embedding 后必须重建。</text>
|
|
67
|
+
</svg>
|