dsh-vscode-mode 0.14.0 → 0.14.2
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/README.md +16 -5
- package/lib/client.js +33 -7
- package/lib/client.js.map +1 -1
- package/lib/index.js +8 -3
- package/lib/index.js.map +1 -1
- package/package.json +7 -7
- package/src/client/sidebar/panels/SearchPanel.ts +37 -9
- package/src/dshVersion.ts +4 -2
- package/src/search/content.ts +1 -1
package/lib/index.js
CHANGED
|
@@ -2933,14 +2933,19 @@ function inDshRange(version, range) {
|
|
|
2933
2933
|
}
|
|
2934
2934
|
/**
|
|
2935
2935
|
* 版本线标签:报告与文档展示版本归属;不可解析返回 '未知'。
|
|
2936
|
-
*
|
|
2937
|
-
* @author ddj 2026年09月02号 / 2026年09月18号 / 2026年09月22号
|
|
2936
|
+
* 逐线自新到旧匹配,先命中先返回;仅 0.2.0-rc.1 精确标记为已审计版本。
|
|
2937
|
+
* @author ddj 2026年09月02号 / 2026年09月18号 / 2026年09月22号 / 2026年09月29号
|
|
2938
2938
|
* @param input 版本串(如 '0.1.6-alpha.2')
|
|
2939
2939
|
* @returns 版本线标签
|
|
2940
2940
|
*/
|
|
2941
2941
|
function familyLabel(input) {
|
|
2942
2942
|
const version = parseDshVersion(input);
|
|
2943
2943
|
if (!version) return "未知";
|
|
2944
|
+
if (inDshRange(version, {
|
|
2945
|
+
from: "0.2.0-rc.1",
|
|
2946
|
+
to: "0.2.0-rc.1"
|
|
2947
|
+
})) return "0.2.0-rc.1(设置=profile Config;按能力探测)";
|
|
2948
|
+
if (inDshRange(version, { from: "0.2.0-0" })) return "0.2.0 及更新(除 rc.1 外未经逐版适配;按能力探测)";
|
|
2944
2949
|
if (inDshRange(version, { from: "0.1.7-alpha.1" })) return "0.1.7-alpha.1 及更新(设置=profile Config + configForms 客户端面 + 会话 V4)";
|
|
2945
2950
|
if (inDshRange(version, { from: "0.1.6-alpha.2" })) return "0.1.6-alpha.2 及更新(会话多实例共存 + 回合改动卡片 + Office 侧栏预览 + 侧栏浏览器)";
|
|
2946
2951
|
if (inDshRange(version, { from: "0.1.6-alpha.1" })) return "0.1.6-alpha 及更新(MCP SDK v2 + Web 侧边栏终端 + 文件链接默认侧栏预览)";
|
|
@@ -6454,7 +6459,7 @@ function contentArgv(binary, root, input) {
|
|
|
6454
6459
|
"--hidden",
|
|
6455
6460
|
"--no-ignore"
|
|
6456
6461
|
];
|
|
6457
|
-
|
|
6462
|
+
argv.push(input.matchCase === true ? "--case-sensitive" : "--ignore-case");
|
|
6458
6463
|
if (input.wholeWord === true) argv.push("--word-regexp");
|
|
6459
6464
|
if (input.regex !== true) argv.push("--fixed-strings");
|
|
6460
6465
|
for (const excluded of EXCLUDES) argv.push("--glob", "!**/" + excluded + "/**");
|