dsh-gitbash-shell 0.35.0 → 0.35.1

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
@@ -3,6 +3,12 @@
3
3
  > 倒序排列,新版本条目在最上面。条目格式:`## vX.Y.Z — YYYY-MM-DD` + 类型(feat / fix / docs / chore)+ 要点 + 相关链接。
4
4
  > 纪律见 AGENTS.md「变更记录纪律」:发版前先更新本文件并随版本提交;事故复盘、复现与真机验证记录也记在这里。
5
5
 
6
+ ## v0.35.1 — 2026-10-12
7
+
8
+ **类型**:fix(dsh-ptc-cordis-preset 联动显示;真机反馈)。
9
+
10
+ - **`gitBash` 能力加法字段 `inlinePatched`**(win32 恒 true):v0.35.0 的行内补位使**官方四个模式全部自带 Git Bash**,对端名录里 `PTC 创造模式 · Git Bash` 这类后缀不再有区分意义,反而与已下线的变体命名风格混淆(用户真机反馈)。对端(≥ v0.17.3)读到该字段即用普通名称;旧对端忽略该字段,行为不变。加法字段演进,同 §4f 的 `pythonBackend` 先例。
11
+
6
12
  ## v0.35.0 — 2026-10-12
7
13
 
8
14
  **类型**:feat(重大行为变更)。官方四个模式**默认直接获得 Git Bash**——四个「·Git Bash」变体 preset 转为可选开关(默认关);新增真正的 `gitbash_pwsh` 工具与 `gb_*` FastCtx 文件工具;与 dsh-ops 自动共存。
package/dsh.plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "id": "dsh-external/dsh-gitbash-shell",
3
- "version": "0.35.0",
3
+ "version": "0.35.1",
4
4
  "main": "./src/index.js",
5
5
  "description": "Windows 全模式 Git Bash:用 Git for Windows bash 替换 PowerShell 执行器;官方四个模式经行内工具补位直接获得 Git Bash(v0.35.0,默认),四个 *·Git Bash 变体 preset 可开关;附带 gitbash_pwsh(系统 PowerShell 7)与 gb_* FastCtx 文件工具,检测到 dsh-ops 自动让位。联动:dsh-ptc-cordis-preset(PTC 创造模式带 Git Bash 行且可去重)+ dsh-better-sidebar(终端标签自动切 Git Bash)。",
6
6
  "engines": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-gitbash-shell",
3
- "version": "0.35.0",
3
+ "version": "0.35.1",
4
4
  "description": "Windows 上让 agent 的每条 shell 命令改经 Git for Windows bash 执行;物化四个内置预设的 Git Bash 变体,统一 MSYS 盘根路径方言,侧栏终端接管可开关。· Run every agent shell command through Git for Windows bash on Windows; materialize Git Bash variants of the built-in presets, unify the MSYS drive-root path dialect, and adopt the sidebar terminal behind a switch.",
5
5
  "type": "module",
6
6
  "repository": {
package/src/index.js CHANGED
@@ -1987,6 +1987,11 @@ export async function apply(ctx, config = {}) {
1987
1987
  // official presets too. Peers (dsh-ptc-cordis-preset) key their roster
1988
1988
  // wording and dedupe on exactly this fact.
1989
1989
  active: process.platform === 'win32',
1990
+ // Additive (v0.35.1): the inline tool patch gives EVERY OFFICIAL preset
1991
+ // Git Bash, so a roster suffix like "· Git Bash" no longer distinguishes
1992
+ // anything — peers reading this flag drop the suffix (dsh-ptc-cordis-preset
1993
+ // v0.17.3+); older peers ignore it and keep the v0.34 wording.
1994
+ get inlinePatched() { return process.platform === 'win32' },
1990
1995
  // Kept for existing consumers (peer plugins read `bashPath`): the resolved
1991
1996
  // interpreter. When resolution failed we report the explicit value (or the
1992
1997
  // historical default) so the ENOENT a consumer may hit names a real path —