dsh-gitbash-shell 0.4.0 → 0.4.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 +7 -6
- package/README_EN.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,20 +24,21 @@
|
|
|
24
24
|
Git Bash host 下会拿到"暗示 PowerShell 语法的工具",请改用上面的变体;
|
|
25
25
|
已装 dsh-ptc-cordis-preset 的话,`PTC 创造模式` 用户 preset 不受影响。
|
|
26
26
|
|
|
27
|
-
## 安装(公开
|
|
27
|
+
## 安装(公开 npm 插件,推荐)
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
npm: [dsh-gitbash-shell](https://www.npmjs.com/package/dsh-gitbash-shell),
|
|
30
|
+
源码与 Release: [github.com/KannaKuron/dsh-gitbash-shell](https://github.com/KannaKuron/dsh-gitbash-shell)
|
|
30
31
|
|
|
31
32
|
```sh
|
|
32
33
|
# web 图形界面
|
|
33
|
-
dsh plugin --profile web add
|
|
34
|
+
dsh plugin --profile web add dsh-gitbash-shell
|
|
34
35
|
|
|
35
36
|
# 可选:TUI / 自定义 TUI 也启用(命令行各 profile 需要)
|
|
36
|
-
dsh plugin --profile tui add
|
|
37
|
-
dsh plugin --profile cc-tui add
|
|
37
|
+
dsh plugin --profile tui add dsh-gitbash-shell
|
|
38
|
+
dsh plugin --profile cc-tui add dsh-gitbash-shell
|
|
38
39
|
```
|
|
39
40
|
|
|
40
|
-
`dsh plugin add` 会自动:① pnpm 安装 `
|
|
41
|
+
`dsh plugin add` 会自动:① pnpm 安装 npm 包 `dsh-gitbash-shell`;
|
|
41
42
|
② 检测到包声明的 `dsh.bundle` 后把它追加进该 profile 的
|
|
42
43
|
`dsh.profile.bundles`。**重启该 profile 的 host 后生效。**
|
|
43
44
|
|
package/README_EN.md
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
> Harness (dsh) — replaces the PowerShell executor and materializes Git Bash
|
|
5
5
|
> variants of all four agent presets.
|
|
6
6
|
|
|
7
|
-
## Install (public
|
|
7
|
+
## Install (public npm package)
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
dsh plugin --profile web add
|
|
10
|
+
dsh plugin --profile web add dsh-gitbash-shell
|
|
11
11
|
# optional TUI surfaces
|
|
12
|
-
dsh plugin --profile tui add
|
|
13
|
-
dsh plugin --profile cc-tui add
|
|
12
|
+
dsh plugin --profile tui add dsh-gitbash-shell
|
|
13
|
+
dsh plugin --profile cc-tui add dsh-gitbash-shell
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
`dsh plugin add` installs the dependency via pnpm and, seeing the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-gitbash-shell",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
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": {
|