dsh-gitbash-shell 0.4.2 → 0.4.4
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 +1 -14
- package/README_EN.md +0 -3
- package/cordis.patch.yml +2 -3
- package/dsh.plugin.json +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,25 +32,12 @@ npm: [dsh-gitbash-shell](https://www.npmjs.com/package/dsh-gitbash-shell),
|
|
|
32
32
|
```sh
|
|
33
33
|
# web 图形界面
|
|
34
34
|
dsh plugin --profile web add dsh-gitbash-shell
|
|
35
|
-
|
|
36
|
-
# 可选:TUI / 自定义 TUI 也启用(命令行各 profile 需要)
|
|
37
|
-
dsh plugin --profile tui add dsh-gitbash-shell
|
|
38
|
-
dsh plugin --profile cc-tui add dsh-gitbash-shell
|
|
39
35
|
```
|
|
40
36
|
|
|
41
37
|
`dsh plugin add` 会自动:① pnpm 安装 npm 包 `dsh-gitbash-shell`;
|
|
42
38
|
② 检测到包声明的 `dsh.bundle` 后把它追加进该 profile 的
|
|
43
39
|
`dsh.profile.bundles`。**重启该 profile 的 host 后生效。**
|
|
44
40
|
|
|
45
|
-
TUI/cc-tui 额外:在其 `cordis.patch.yml` 里翻转 host 工具行(web 不需要):
|
|
46
|
-
|
|
47
|
-
```yaml
|
|
48
|
-
- id: tool-bash
|
|
49
|
-
disabled: false
|
|
50
|
-
- id: tool-pwsh
|
|
51
|
-
disabled: true
|
|
52
|
-
```
|
|
53
|
-
|
|
54
41
|
## 它做了什么
|
|
55
42
|
|
|
56
43
|
bundle patch(`cordis.patch.yml`)应用三个改动:
|
|
@@ -88,7 +75,7 @@ bundle patch(`cordis.patch.yml`)应用三个改动:
|
|
|
88
75
|
default: ptc-cordis # 或 standard-gitbash / minimal-gitbash
|
|
89
76
|
```
|
|
90
77
|
|
|
91
|
-
## 配置
|
|
78
|
+
## 配置(执行器)
|
|
92
79
|
|
|
93
80
|
`gitbash-executor` 行支持:
|
|
94
81
|
|
package/README_EN.md
CHANGED
|
@@ -8,9 +8,6 @@
|
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
10
|
dsh plugin --profile web add dsh-gitbash-shell
|
|
11
|
-
# optional TUI surfaces
|
|
12
|
-
dsh plugin --profile tui add dsh-gitbash-shell
|
|
13
|
-
dsh plugin --profile cc-tui add dsh-gitbash-shell
|
|
14
11
|
```
|
|
15
12
|
|
|
16
13
|
`dsh plugin add` installs the dependency via pnpm and, seeing the
|
package/cordis.patch.yml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Installed through the official CLI —
|
|
4
4
|
#
|
|
5
|
-
# dsh plugin --profile <name> add
|
|
5
|
+
# dsh plugin --profile <name> add dsh-gitbash-shell
|
|
6
6
|
#
|
|
7
7
|
# — the command reconciles `dsh.profile.bundles` against installed packages
|
|
8
8
|
# and, seeing this declaration, appends dsh-gitbash-shell to the bundle
|
|
@@ -22,8 +22,7 @@
|
|
|
22
22
|
#
|
|
23
23
|
# This patch deliberately does NOT flip the base host tool-bash/tool-pwsh
|
|
24
24
|
# rows: the web surface disables them and lets agent presets provide the
|
|
25
|
-
# model-facing shell tools
|
|
26
|
-
# their own patch layer.
|
|
25
|
+
# model-facing shell tools instead.
|
|
27
26
|
- id: pwsh-sandbox
|
|
28
27
|
disabled: true
|
|
29
28
|
|
package/dsh.plugin.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "dsh-external/dsh-gitbash-shell",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
|
-
"description": "Windows 全模式 Git Bash:用 Git for Windows bash 替换 PowerShell 执行器,并物化 standard/minimal/code/cordis 的 Git Bash 变体 preset
|
|
5
|
+
"description": "Windows 全模式 Git Bash:用 Git for Windows bash 替换 PowerShell 执行器,并物化 standard/minimal/code/cordis 的 Git Bash 变体 preset。联动 dsh-ptc-cordis-preset:两者同装时 PTC 创造模式自动物化为 Git Bash 版。",
|
|
6
6
|
"engines": {
|
|
7
7
|
"dsh": ">=0.0.1"
|
|
8
8
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-gitbash-shell",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"description": "DSH plugin: run every agent shell command through Git for Windows bash on Windows instead of PowerShell. Replaces the pwsh executor with a Git Bash ctx.shell provider and materializes Git Bash variants of the standard/minimal/code/cordis agent presets into your user preset root at startup.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|