dsh-bash-terminal-ts 0.9.8-rc.1 → 0.9.8

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 CHANGED
@@ -1,13 +1,14 @@
1
1
  # Changelog
2
2
 
3
- ## 0.9.8-rc.1 (2026-11-29)
3
+ ## 0.9.8 (2026-11-29) — API 冻结
4
4
 
5
- **R2 体验收尾:groupByCwd 启发式微调 + persist 竞态收敛 + dispose 后拒写。**
5
+ **R2 体验收尾,计划终态。**
6
6
 
7
- - `groupByCwd` 的 `CD_RE` 重写:支持 PowerShell 的 `Set-Location -Path X` / `-LiteralPath 'X'` / `-PSPath "X"` 命名参数形式,与 bash 的 `cd X` / `cd "X"` / `cd 'X'` 位置形同存。命名参数优先匹配,避免 `-Path foo` 被当成目录名。`test/history.ts` 开第 3 个 `groupByCwd` 例验证。归属 v0.9.6 计划 S1 项目。
8
- - `ScreenHistoryStore.persist()` 加 coalesce:一个写正在进行时,后续 `persist()` 只会排队一次重试,而不是同时开 N 个临时文件 + `rename`。实际开发中连续 `open→close` 会触发多次 fire-and-forget persist,旧行实现容易写坏同一 `path`。`test/history.ts` 开 coalesce 例 + dispose 例验证。
9
- - `ScreenHistoryStore.dispose()` 现会设 `disposed = true`,后续 `persist()` 直接 no-op:插件卸载后任何异步回调不会重建已删除的目录或落盘。
10
- - **API 冻结**:本版本后 `history` 动作的 schema、`redactCommand` 正则集、`ScreenHistoryStore` LRU + 落盘行为、`groupByCwd` 启发式不再变。新能力属 v0.10.0+ 独立计划。剩余 7 语 README 本计划不承诺(spec.md 约束 6),属发布技能。
7
+ - `groupByCwd` 的 `CD_RE` 重写:支持 PowerShell `Set-Location -Path X` / `-LiteralPath 'X'` / `-PSPath "X"` 命名参数形式,与 bash 的 `cd X` / `cd "X"` / `cd 'X'` 位置形同存;命名参数优先匹配,`test/history.ts` 开第 3 个 `groupByCwd` 例验证。归属 v0.9.6 计划 S1 项目。
8
+ - `ScreenHistoryStore.persist()` 加 coalesce:一个写正在进行时,后续 `persist()` 只排队一次重试,不会同时开 N 个临时文件 + `rename`。`test/history.ts` 开 coalesce 例 + dispose 例验证。
9
+ - `dispose()` 后 `persist()` 直接 no-op,插件卸载时异步回调不会重建已删除目录或落盘。
10
+ - **API 冻结**:本版本后 `history` 动作的 schema、`redactCommand` 正则集、`ScreenHistoryStore` LRU + 落盘行为、`groupByCwd` 启发式不再变。新能力属 v0.10.0+(headless xterm 屏镜像、session source)。剩余 7 语 README 不属本计划(spec.md 约束 6)。
11
+ - 计划 `.agents/plans/terminal-shell-shield-and-history/` 至此收收:rc.1 → rc.2 → rc.3 → rc.4 → 0.9.6 → 0.9.7-rc.1 → 0.9.7 → 0.9.8-rc.1 → **0.9.8** 十个版本号,3 个正式版,8 个 rc。
11
12
 
12
13
  ## 0.9.7 (2026-11-29)
13
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.8-rc.1",
4
+ "version": "0.9.8",
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 回落链。",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-bash-terminal-ts",
3
- "version": "0.9.8-rc.1",
3
+ "version": "0.9.8",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org",
6
6
  "tag": "latest"