dsh-gitbash-shell 0.19.0 → 0.19.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/dsh.plugin.json +1 -1
- package/package.json +1 -1
- package/src/client.js +12 -3
package/dsh.plugin.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "dsh-external/dsh-gitbash-shell",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.1",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"description": "Windows 全模式 Git Bash:用 Git for Windows bash 替换 PowerShell 执行器,并物化 standard/minimal/code/cordis 的 Git Bash 变体 preset。双 era 适配 dsh <= 0.1.1(内置 id 'code')与 >= 0.1.2(改名 'ptc'),启动探测自动选择,preset id 永不变。联动:dsh-ptc-cordis-preset(两者同装时 PTC 创造模式自动物化为 Git Bash 版)+ dsh-better-sidebar(终端 UI 标签与模型 terminal_* 工具自动切到 Git Bash)。",
|
|
6
6
|
"engines": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-gitbash-shell",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.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/client.js
CHANGED
|
@@ -683,7 +683,8 @@ window.__ModuleLoader__.load({
|
|
|
683
683
|
".gb-chevron{flex:none;color:var(--dsw-alias-label-tertiary);transition:transform .16s}",
|
|
684
684
|
".gb-chevron.gb-chevronOpen{transform:rotate(180deg)}",
|
|
685
685
|
".gb-body{display:flex;flex-direction:column;gap:12px;padding:4px 16px 16px;max-width:640px}",
|
|
686
|
-
".gb-
|
|
686
|
+
".gb-pageCard{max-width:640px}",
|
|
687
|
+
".gb-headerFlat{cursor:default}",
|
|
687
688
|
".gb-pageBody{display:flex;flex-direction:column;gap:12px;padding:0 0 8px}",
|
|
688
689
|
".gb-row{display:flex;align-items:baseline;gap:8px;font-size:13px;line-height:1.5;color:var(--dsw-alias-label-secondary)}",
|
|
689
690
|
".gb-rowLabel{flex:none;color:var(--dsw-alias-label-tertiary)}",
|
|
@@ -914,13 +915,21 @@ window.__ModuleLoader__.load({
|
|
|
914
915
|
),
|
|
915
916
|
);
|
|
916
917
|
|
|
917
|
-
var bodyContent = E("div", { className:
|
|
918
|
+
var bodyContent = E("div", { className: "gb-body" },
|
|
918
919
|
dialectSection,
|
|
919
920
|
terminalSection,
|
|
920
921
|
error ? E("p", { className: "gb-error" }, error) : null,
|
|
921
922
|
);
|
|
922
923
|
|
|
923
|
-
if (pageView) return E("div", { className: "gb-
|
|
924
|
+
if (pageView) return E("div", { className: "gb-card gb-pageCard" },
|
|
925
|
+
E("div", { className: "gb-header gb-headerFlat" },
|
|
926
|
+
E("span", { className: "gb-headText" },
|
|
927
|
+
E("span", { className: "gb-name" }, t("title")),
|
|
928
|
+
E("span", { className: "gb-desc" }, t("cardDesc")),
|
|
929
|
+
),
|
|
930
|
+
),
|
|
931
|
+
bodyContent,
|
|
932
|
+
);
|
|
924
933
|
|
|
925
934
|
return E("li", { className: "gb-card" + (open ? " gb-open" : "") },
|
|
926
935
|
E("button", {
|