dsh-bash-terminal-ts 0.9.7-rc.1 → 0.9.7
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 +6 -6
- package/dsh.plugin.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.9.7
|
|
3
|
+
## 0.9.7 (2026-11-29)
|
|
4
4
|
|
|
5
5
|
**R2 实战补丁:redactCommand 补洞 + msys2 /etc/passwd 回退 + WSL 超时抬升。**
|
|
6
6
|
|
|
7
|
-
- `redactCommand` 新增 6 类常见凭据形态:Azure `AccountKey=...` / `--account-key xxx`、npm `_authToken`(`npm_` + 20+)、Stripe `sk_live_/sk_test_/sk_readonly_`、SendGrid `SG.xxx.yyy`、Google API `AIza...`、Discord bot 三段 `MT
|
|
8
|
-
- msys2 候选新增 `<root>\etc\passwd` 回退项:当猜测的 `<root>\home\<USERNAME>\.bash_history` 因 MSYS2 安装时自定义家目录而缺位时,解析 passwd 行拿真实 home。失败时回 `reason
|
|
9
|
-
- WSL `wsl -d <distro> -e sh -c 'cat ~/.bash_history'` 超时从 2000 ms 抬到 5000 ms
|
|
10
|
-
- `test/history.ts`
|
|
11
|
-
- **本次不含**:groupByCwd 启发式微调、`persist()`
|
|
7
|
+
- `redactCommand` 新增 6 类常见凭据形态:Azure `AccountKey=...` / `--account-key xxx`、npm `_authToken`(`npm_` + 20+)、Stripe `sk_live_/sk_test_/sk_readonly_`、SendGrid `SG.xxx.yyy`、Google API `AIza...`、Discord bot 三段 `MT....`。`--password/--token/...` 拆为两条规则(= 与 空格分隔),保留用户实际写下的分隔形式。
|
|
8
|
+
- msys2 候选新增 `<root>\etc\passwd` 回退项:当猜测的 `<root>\home\<USERNAME>\.bash_history` 因 MSYS2 安装时自定义家目录而缺位时,解析 passwd 行拿真实 home。失败时回 `reason` 而不抛。归属 v0.9.6 计划 findings 待验证 #1 定论。
|
|
9
|
+
- WSL `wsl -d <distro> -e sh -c 'cat ~/.bash_history'` 超时从 2000 ms 抬到 5000 ms:冷启动的 WSL VM(尤其 Windows Server SKU)首次接受 `wsl -e sh` 可达 3-4s。归属待验证 #2 定论。
|
|
10
|
+
- `test/history.ts` 第 9 组断言验证六种新形态(测试字面量以拼接拆开避开 GitHub push-protection 误伤)。十六进制串仍不脱敏(git SHA 保留)。
|
|
11
|
+
- **本次不含**:groupByCwd 启发式微调、`persist()` 竞态收敛。属 v0.9.8。
|
|
12
12
|
|
|
13
13
|
## 0.9.6 (2026-11-29)
|
|
14
14
|
|
package/dsh.plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "dsh-bash-terminal-ts",
|
|
3
3
|
"name": "dsh-bash-terminal-ts",
|
|
4
|
-
"version": "0.9.7
|
|
4
|
+
"version": "0.9.7",
|
|
5
5
|
"description": {
|
|
6
6
|
"en": "One shell tool that runs commands through PowerShell, Git Bash, MSYS2, WSL or Niubash on Windows, plus an embedded terminal for the bottom dock with per-shell activation switches and a default-shell fallback chain.",
|
|
7
7
|
"zh": "一个 shell 工具,可在 Windows 上通过 PowerShell / Git Bash / MSYS2 / WSL / Niubash 执行命令;另提供底部工作台的内嵌终端,支持按 shell 激活开关与默认 shell 回落链。",
|