dsh-bash-terminal-ts 0.9.0 → 0.9.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.
Files changed (70) hide show
  1. package/CHANGELOG.md +205 -201
  2. package/CHANGELOG.pt.md +151 -0
  3. package/README.de.md +206 -206
  4. package/README.en.md +212 -212
  5. package/README.es.md +206 -206
  6. package/README.fr.md +206 -206
  7. package/README.it.md +206 -206
  8. package/README.md +423 -423
  9. package/README.pt.md +212 -0
  10. package/README.ru.md +206 -206
  11. package/agent-presets/README.md +171 -171
  12. package/agent-presets/install-presets.mjs +180 -180
  13. package/agent-presets/standard-win/agent.cordis.yml +271 -271
  14. package/agent-presets/standard-win/preset.yml +2 -2
  15. package/agent-presets/standard-win-gitbash/agent.cordis.yml +271 -271
  16. package/agent-presets/standard-win-gitbash/preset.yml +2 -2
  17. package/agent-presets/standard-win-msys2/agent.cordis.yml +272 -272
  18. package/agent-presets/standard-win-msys2/preset.yml +2 -2
  19. package/agent-presets/standard-win-niu/agent.cordis.yml +270 -270
  20. package/agent-presets/standard-win-niu/preset.yml +2 -2
  21. package/agent-presets/standard-win-payload/agent.cordis.yml +271 -271
  22. package/agent-presets/standard-win-payload/preset.yml +2 -2
  23. package/agent-presets/standard-win-wsl2/agent.cordis.yml +271 -271
  24. package/agent-presets/standard-win-wsl2/preset.yml +2 -2
  25. package/cordis.patch.yml +72 -84
  26. package/dist/client.core.js +54 -16
  27. package/dist/client.js +54 -16
  28. package/docs/niu-backend.md +197 -197
  29. package/dsh.plugin.json +23 -22
  30. package/lib/client.js +54 -16
  31. package/lib/dsh-types.d.ts +0 -2
  32. package/lib/index.d.ts +2 -23
  33. package/lib/index.js +4 -34
  34. package/lib/locales.js +49 -11
  35. package/lib/payload.d.ts +72 -72
  36. package/lib/payload.js +279 -279
  37. package/lib/shell-id.d.ts +2 -2
  38. package/lib/shells.d.ts +2 -11
  39. package/lib/shells.js +4 -14
  40. package/lib/terminal.js +0 -1
  41. package/lib/webterminals/catalog.d.ts +0 -2
  42. package/lib/webterminals/catalog.js +0 -1
  43. package/lib/webterminals/mount.d.ts +0 -5
  44. package/lib/webterminals/mount.js +0 -4
  45. package/locale/de.json +5 -5
  46. package/locale/en.json +5 -5
  47. package/locale/es.json +5 -5
  48. package/locale/fr.json +5 -5
  49. package/locale/it.json +5 -5
  50. package/locale/ja.json +5 -5
  51. package/locale/ko.json +5 -5
  52. package/locale/pt.json +6 -0
  53. package/locale/ru.json +5 -5
  54. package/locale/zh.json +5 -5
  55. package/package.json +3 -5
  56. package/scripts/check-artifacts.mjs +96 -96
  57. package/scripts/link-shells.mjs +0 -21
  58. package/src/client.tsx +685 -685
  59. package/src/dsh-types.ts +330 -332
  60. package/src/index.ts +1267 -1316
  61. package/src/locales.ts +499 -461
  62. package/src/shell-id.ts +11 -11
  63. package/src/shells.ts +263 -279
  64. package/src/terminal.ts +615 -616
  65. package/src/webterminals/catalog.ts +0 -3
  66. package/src/webterminals/host.ts +361 -361
  67. package/src/webterminals/mount.ts +228 -237
  68. package/scripts/payload-alias.mjs +0 -97
  69. package/scripts/provision-payload.mjs +0 -233
  70. package/src/payload.ts +0 -322
package/cordis.patch.yml CHANGED
@@ -1,84 +1,72 @@
1
- # dsh-bash-terminal-ts bundle layer — applied automatically when a profile lists
2
- # this package in dsh.profile.bundles (dsh.bundle.patch declaration).
3
- - insert:
4
- - id: tool-bash-terminal
5
- name: 'dsh-bash-terminal-ts'
6
-
7
- # ---------------------------------------------------------------------------
8
- # The host's own right-sidebar terminal: which shells its selector offers.
9
- #
10
- # Why a plugin touches this at all (user decision, 2026-10-13, overriding the
11
- # original "never modify the host terminal row" rule): the official menu builds
12
- # its list from `shellCandidates` through `discoverShells`, which keys a Map by
13
- # the executable FILE NAME (`shellKind` = basename, lower-cased, `.exe`
14
- # stripped) and keeps the earliest entry. Git Bash and MSYS2 are both
15
- # `bash.exe`, so on the stock list MSYS2 can never appear. A hard link at
16
- # `C:\msys64\usr\bin\msys-bash.exe` gives it a distinct kind; measured over a
17
- # real PTY, bash does not mis-classify itself under the new name
18
- # (`argv0=/usr/bin/msys-bash`, `$BASH_VERSION` 5.3.15, `gcc` resolving to
19
- # /mingw64/bin, correct `-dumpmachine`).
20
- #
21
- # Why all twelve keys are spelled out: a patch replaces the targeted row's WHOLE
22
- # config. Omit one and that limit silently reverts to nothing at all - each
23
- # field's `.default()` applies when the field is absent from the schema input,
24
- # and a replaced row provides no input for the keys it does not mention.
25
- # `scripts/check-artifacts.mjs` asserts the full key set, so a host upgrade that
26
- # adds a thirteenth key fails the build instead of quietly dropping a limit.
27
- #
28
- # Which entries are prepended, and why nothing is displaced: `discoverShells` keeps the
29
- # EARLIEST entry per executable file name, and on Windows a bare `bash` resolves to
30
- # `C:\Windows\System32\bash.exe` - the WSL forwarder. Listing `Git\bin\bash.exe` here (an
31
- # earlier revision did exactly that) would claim that key for Git and silently DELETE WSL
32
- # from the menu. Both additions therefore carry their own file name: `msys-bash.exe` is a
33
- # hard link in the user-writable MSYS2 tree, and `git-bash.exe` is a hard link inside
34
- # `C:\Program Files\Git\bin\`, which needs one elevated step by the operator:
35
- #
36
- # New-Item -ItemType HardLink -Path 'C:\Program Files\Git\bin\git-bash.exe' -Target 'C:\Program Files\Git\bin\bash.exe'
37
- #
38
- # (It has to live in that directory: bash derives its POSIX root from its own path, and a
39
- # link elsewhere cannot even be created - CreateHardLink needs write access to the source
40
- # file, which Program Files denies a standard user.) Until that link exists the candidate
41
- # is skipped, so the row is correct either way and the stock candidates stay untouched.
42
- #
43
- # The third addition is the pinned POSIX payload's own menu entry, and it is the reason
44
- # the link is named `bash-terminal.exe` rather than anything containing a bare `bash`:
45
- # the stock list already spends the `bash` key on the WSL forwarder, and re-using it
46
- # would DELETE that row from the menu. The path is built from LOCALAPPDATA with `!!js`
47
- # because the payload store lives per-user, and it points at the STABLE junction
48
- # (`payloads\bash-terminal`) so re-provisioning a new version does not need a patch
49
- # edit. Both the link and the junction are created by scripts/provision-payload.mjs /
50
- # link-shells.mjs only AFTER the digest gate passed, and a machine that never
51
- # provisioned a payload simply has no file here - skipped per candidate, like the
52
- # others. See scripts/payload-alias.mjs for the full layout.
53
- #
54
- # `shell` is deliberately absent: that means "no explicit default", so the
55
- # controller uses the execution environment's default shell - the stock
56
- # behaviour, unchanged.
57
- #
58
- # Degradation: `discoverShells` catches SubprocessExecutableNotFoundError per
59
- # candidate, so a machine without Git, or without the link, simply offers fewer
60
- # shells. This row cannot fail.
61
- # ---------------------------------------------------------------------------
62
- - id: terminal-controller
63
- config:
64
- shellCandidates:
65
- - !!js '(process.env.LOCALAPPDATA || "") + "\\dsh-bash-terminal-ts\\payloads\\bash-terminal\\bin\\bash-terminal.exe"'
66
- - 'C:\Program Files\Git\bin\git-bash.exe'
67
- - 'C:\msys64\usr\bin\msys-bash.exe'
68
- - zsh
69
- - bash
70
- - fish
71
- - pwsh
72
- - powershell
73
- - cmd
74
- - niu.exe
75
- maxTerminals: 8
76
- maxCols: 500
77
- maxRows: 200
78
- scrollback: 1000
79
- maxBufferedBytes: 2097152
80
- maxInputBytes: 65536
81
- disposeGraceMs: 1000
82
- unattendedTimeoutMs: 7200000
83
- activityPollIntervalMs: 30000
84
- cleanupRetryMs: 60000
1
+ # dsh-bash-terminal-ts bundle layer — applied automatically when a profile lists
2
+ # this package in dsh.profile.bundles (dsh.bundle.patch declaration).
3
+ - insert:
4
+ - id: tool-bash-terminal
5
+ name: 'dsh-bash-terminal-ts'
6
+
7
+ # ---------------------------------------------------------------------------
8
+ # The host's own right-sidebar terminal: which shells its selector offers.
9
+ #
10
+ # Why a plugin touches this at all (user decision, 2026-10-13, overriding the
11
+ # original "never modify the host terminal row" rule): the official menu builds
12
+ # its list from `shellCandidates` through `discoverShells`, which keys a Map by
13
+ # the executable FILE NAME (`shellKind` = basename, lower-cased, `.exe`
14
+ # stripped) and keeps the earliest entry. Git Bash and MSYS2 are both
15
+ # `bash.exe`, so on the stock list MSYS2 can never appear. A hard link at
16
+ # `C:\msys64\usr\bin\msys-bash.exe` gives it a distinct kind; measured over a
17
+ # real PTY, bash does not mis-classify itself under the new name
18
+ # (`argv0=/usr/bin/msys-bash`, `$BASH_VERSION` 5.3.15, `gcc` resolving to
19
+ # /mingw64/bin, correct `-dumpmachine`).
20
+ #
21
+ # Why all twelve keys are spelled out: a patch replaces the targeted row's WHOLE
22
+ # config. Omit one and that limit silently reverts to nothing at all - each
23
+ # field's `.default()` applies when the field is absent from the schema input,
24
+ # and a replaced row provides no input for the keys it does not mention.
25
+ # `scripts/check-artifacts.mjs` asserts the full key set, so a host upgrade that
26
+ # adds a thirteenth key fails the build instead of quietly dropping a limit.
27
+ #
28
+ # Which entries are prepended, and why nothing is displaced: `discoverShells` keeps the
29
+ # EARLIEST entry per executable file name, and on Windows a bare `bash` resolves to
30
+ # `C:\Windows\System32\bash.exe` - the WSL forwarder. Listing `Git\bin\bash.exe` here (an
31
+ # earlier revision did exactly that) would claim that key for Git and silently DELETE WSL
32
+ # from the menu. Both additions therefore carry their own file name: `msys-bash.exe` is a
33
+ # hard link in the user-writable MSYS2 tree, and `git-bash.exe` is a hard link inside
34
+ # `C:\Program Files\Git\bin\`, which needs one elevated step by the operator:
35
+ #
36
+ # New-Item -ItemType HardLink -Path 'C:\Program Files\Git\bin\git-bash.exe' -Target 'C:\Program Files\Git\bin\bash.exe'
37
+ #
38
+ # (It has to live in that directory: bash derives its POSIX root from its own path, and a
39
+ # link elsewhere cannot even be created - CreateHardLink needs write access to the source
40
+ # file, which Program Files denies a standard user.) Until that link exists the candidate
41
+ # is skipped, so the row is correct either way and the stock candidates stay untouched.
42
+ #
43
+ # `shell` is deliberately absent: that means "no explicit default", so the
44
+ # controller uses the execution environment's default shell - the stock
45
+ # behaviour, unchanged.
46
+ #
47
+ # Degradation: `discoverShells` catches SubprocessExecutableNotFoundError per
48
+ # candidate, so a machine without Git, or without the link, simply offers fewer
49
+ # shells. This row cannot fail.
50
+ # ---------------------------------------------------------------------------
51
+ - id: terminal-controller
52
+ config:
53
+ shellCandidates:
54
+ - 'C:\Program Files\Git\bin\git-bash.exe'
55
+ - 'C:\msys64\usr\bin\msys-bash.exe'
56
+ - zsh
57
+ - bash
58
+ - fish
59
+ - pwsh
60
+ - powershell
61
+ - cmd
62
+ - niu.exe
63
+ maxTerminals: 8
64
+ maxCols: 500
65
+ maxRows: 200
66
+ scrollback: 1000
67
+ maxBufferedBytes: 2097152
68
+ maxInputBytes: 65536
69
+ disposeGraceMs: 1000
70
+ unattendedTimeoutMs: 7200000
71
+ activityPollIntervalMs: 30000
72
+ cleanupRetryMs: 60000
@@ -33,9 +33,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
33
33
  ));
34
34
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
35
35
 
36
- // node_modules/@xterm/addon-fit/lib/addon-fit.js
36
+ // node_modules/.pnpm/@xterm+addon-fit@0.10.0_@xterm+xterm@5.5.0/node_modules/@xterm/addon-fit/lib/addon-fit.js
37
37
  var require_addon_fit = __commonJS({
38
- "node_modules/@xterm/addon-fit/lib/addon-fit.js"(exports, module2) {
38
+ "node_modules/.pnpm/@xterm+addon-fit@0.10.0_@xterm+xterm@5.5.0/node_modules/@xterm/addon-fit/lib/addon-fit.js"(exports, module2) {
39
39
  !(function(e, t) {
40
40
  "object" == typeof exports && "object" == typeof module2 ? module2.exports = t() : "function" == typeof define && define.amd ? define([], t) : "object" == typeof exports ? exports.FitAddon = t() : e.FitAddon = t();
41
41
  })(self, (() => (() => {
@@ -69,9 +69,9 @@ var require_addon_fit = __commonJS({
69
69
  }
70
70
  });
71
71
 
72
- // node_modules/@xterm/xterm/lib/xterm.js
72
+ // node_modules/.pnpm/@xterm+xterm@5.5.0/node_modules/@xterm/xterm/lib/xterm.js
73
73
  var require_xterm = __commonJS({
74
- "node_modules/@xterm/xterm/lib/xterm.js"(exports, module2) {
74
+ "node_modules/.pnpm/@xterm+xterm@5.5.0/node_modules/@xterm/xterm/lib/xterm.js"(exports, module2) {
75
75
  !(function(e, t) {
76
76
  if ("object" == typeof exports && "object" == typeof module2) module2.exports = t();
77
77
  else if ("function" == typeof define && define.amd) define([], t);
@@ -6151,7 +6151,6 @@ var zh = {
6151
6151
  "dock.state.available": "\u53EF\u7528",
6152
6152
  "dock.state.notInstalled": "\u672A\u63A2\u6D4B\u5230",
6153
6153
  "dock.state.wslPreferred": "\u5DF2\u68C0\u6D4B\u5230 WSL \u53D1\u884C\u7248\uFF08\u4F18\u5148\u7528 WSL bash\uFF09",
6154
- "shell.payload": "POSIX payload",
6155
6154
  "shell.niu": "Niubash",
6156
6155
  "dock.state.noDistro": "\u65E0\u5DF2\u5B89\u88C5\u53D1\u884C\u7248",
6157
6156
  "dock.state.launcherOnly": "\u53EA\u627E\u5230\u542F\u52A8\u5668\uFF0C\u65E0\u6CD5\u5185\u5D4C",
@@ -6199,7 +6198,6 @@ var en = {
6199
6198
  "dock.state.available": "Available",
6200
6199
  "dock.state.notInstalled": "Not found",
6201
6200
  "dock.state.wslPreferred": "WSL distro detected (WSL bash preferred)",
6202
- "shell.payload": "POSIX payload",
6203
6201
  "shell.niu": "Niubash",
6204
6202
  "dock.state.noDistro": "No distro installed",
6205
6203
  "dock.state.launcherOnly": "Only a launcher was found; it cannot be embedded",
@@ -6247,7 +6245,6 @@ var ja = {
6247
6245
  "dock.state.available": "\u5229\u7528\u53EF",
6248
6246
  "dock.state.notInstalled": "\u898B\u3064\u304B\u308A\u307E\u305B\u3093",
6249
6247
  "dock.state.wslPreferred": "WSL \u30C7\u30A3\u30B9\u30C8\u30EA\u691C\u51FA\u6E08\u307F\uFF08WSL bash \u512A\u5148\uFF09",
6250
- "shell.payload": "POSIX payload",
6251
6248
  "shell.niu": "Niubash",
6252
6249
  "dock.state.noDistro": "\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u6E08\u307F\u30C7\u30A3\u30B9\u30C8\u30EA\u30D3\u30E5\u30FC\u30B7\u30E7\u30F3\u306A\u3057",
6253
6250
  "dock.state.launcherOnly": "\u30E9\u30F3\u30C1\u30E3\u30FC\u306E\u307F\u691C\u51FA\u3001\u57CB\u3081\u8FBC\u307F\u4E0D\u53EF",
@@ -6295,7 +6292,6 @@ var ko = {
6295
6292
  "dock.state.available": "\uC0AC\uC6A9 \uAC00\uB2A5",
6296
6293
  "dock.state.notInstalled": "\uD0D0\uC9C0\uB418\uC9C0 \uC54A\uC74C",
6297
6294
  "dock.state.wslPreferred": "WSL \uBC30\uD3EC\uD310 \uAC10\uC9C0\uB428 (WSL bash \uC6B0\uC120)",
6298
- "shell.payload": "POSIX payload",
6299
6295
  "shell.niu": "Niubash",
6300
6296
  "dock.state.noDistro": "\uC124\uCE58\uB41C \uBC30\uD3EC\uD310 \uC5C6\uC74C",
6301
6297
  "dock.state.launcherOnly": "\uB7F0\uCC98\uB9CC \uBC1C\uACAC\uB418\uC5B4 \uB0B4\uC7A5\uD560 \uC218 \uC5C6\uC74C",
@@ -6343,7 +6339,6 @@ var fr = {
6343
6339
  "dock.state.available": "Disponible",
6344
6340
  "dock.state.notInstalled": "Non d\xE9tect\xE9",
6345
6341
  "dock.state.wslPreferred": "Distro WSL d\xE9tect\xE9e (bash WSL pr\xE9f\xE9r\xE9)",
6346
- "shell.payload": "POSIX payload",
6347
6342
  "shell.niu": "Niubash",
6348
6343
  "dock.state.noDistro": "Aucune distribution install\xE9e",
6349
6344
  "dock.state.launcherOnly": "Seuls des lanceurs ont \xE9t\xE9 trouv\xE9s; int\xE9gration impossible",
@@ -6391,7 +6386,6 @@ var de = {
6391
6386
  "dock.state.available": "Verf\xFCgbar",
6392
6387
  "dock.state.notInstalled": "Nicht gefunden",
6393
6388
  "dock.state.wslPreferred": "WSL-Distro erkannt (WSL bash bevorzugt)",
6394
- "shell.payload": "POSIX payload",
6395
6389
  "shell.niu": "Niubash",
6396
6390
  "dock.state.noDistro": "Keine Distribution installiert",
6397
6391
  "dock.state.launcherOnly": "Nur Launcher gefunden; Einbettung nicht m\xF6glich",
@@ -6439,7 +6433,6 @@ var it = {
6439
6433
  "dock.state.available": "Disponibile",
6440
6434
  "dock.state.notInstalled": "Non trovato",
6441
6435
  "dock.state.wslPreferred": "Distro WSL rilevata (bash WSL preferito)",
6442
- "shell.payload": "POSIX payload",
6443
6436
  "shell.niu": "Niubash",
6444
6437
  "dock.state.noDistro": "Nessuna distribuzione installata",
6445
6438
  "dock.state.launcherOnly": "Trovato solo un launcher; incorporamento non possibile",
@@ -6487,7 +6480,6 @@ var ru = {
6487
6480
  "dock.state.available": "\u0414\u043E\u0441\u0442\u0443\u043F\u0435\u043D",
6488
6481
  "dock.state.notInstalled": "\u041D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D",
6489
6482
  "dock.state.wslPreferred": "\u041E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432 WSL (\u043F\u0440\u0435\u0434\u043F\u043E\u0447\u0442\u0438\u0442\u0435\u043B\u044C\u043D\u0435\u0435 WSL bash)",
6490
- "shell.payload": "POSIX payload",
6491
6483
  "shell.niu": "Niubash",
6492
6484
  "dock.state.noDistro": "\u041D\u0435\u0442 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044B\u0445 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u043E\u0432",
6493
6485
  "dock.state.launcherOnly": "\u041D\u0430\u0439\u0434\u0435\u043D \u0442\u043E\u043B\u044C\u043A\u043E \u043B\u0430\u0443\u043D\u0447\u0435\u0440, \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u043D\u0438\u0435 \u043D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E",
@@ -6535,7 +6527,6 @@ var es = {
6535
6527
  "dock.state.available": "Disponible",
6536
6528
  "dock.state.notInstalled": "No detectado",
6537
6529
  "dock.state.wslPreferred": "Distro de WSL detectada (se prefiere bash de WSL)",
6538
- "shell.payload": "POSIX payload",
6539
6530
  "shell.niu": "Niubash",
6540
6531
  "dock.state.noDistro": "Sin distribuci\xF3n instalada",
6541
6532
  "dock.state.launcherOnly": "Solo se encontr\xF3 un lanzador; no se puede incrustar",
@@ -6570,7 +6561,54 @@ var es = {
6570
6561
  "tab.phase.exited": "terminado",
6571
6562
  "tab.phase.failed": "fall\xF3"
6572
6563
  };
6573
- var dictionaries = { zh, en, ja, ko, fr, de, it, ru, es };
6564
+ var pt = {
6565
+ "shell.title": "Terminal padr\xE3o",
6566
+ "shell.description": "Terminal usado pela ferramenta shell para executar comandos",
6567
+ "shell.powershell": "PowerShell",
6568
+ "shell.gitbash": "Git Bash",
6569
+ "shell.msys2": "MSYS2",
6570
+ "shell.wsl": "WSL",
6571
+ "shell.unavailable": "Configura\xE7\xE3o indispon\xEDvel: a ponte de configura\xE7\xE3o do host n\xE3o respondeu (verifique se o host \xE9 a linha compat)",
6572
+ "dock.title": "Terminal inferior",
6573
+ "dock.hint": "Essas chaves valem tanto para o terminal do painel inferior quanto para os backends selecion\xE1veis da ferramenta shell (PowerShell \xE9 o piso, sempre dispon\xEDvel). O terminal oficial da coluna direita n\xE3o muda.",
6574
+ "dock.state.available": "Dispon\xEDvel",
6575
+ "dock.state.notInstalled": "N\xE3o detectado",
6576
+ "dock.state.wslPreferred": "Distro WSL detectada (bash do WSL preferido)",
6577
+ "shell.niu": "Niubash",
6578
+ "dock.state.noDistro": "Nenhuma distribui\xE7\xE3o instalada",
6579
+ "dock.state.launcherOnly": "Apenas um lan\xE7ador foi encontrado; n\xE3o \xE9 poss\xEDvel incorpor\xE1-lo",
6580
+ "dock.powershell.locked": "PowerShell \xE9 o backend de \xFAltimo recurso e n\xE3o pode ser desativado.",
6581
+ "dock.defaultChoice": "Shell padr\xE3o (apenas as ativas e dispon\xEDveis aparecem na lista)",
6582
+ "dock.wslDistro": "Distribui\xE7\xE3o WSL (vazio usa a padr\xE3o do WSL)",
6583
+ "dock.fallback.notice": "{from} n\xE3o est\xE1 dispon\xEDvel agora; este terminal foi iniciado com {to}.",
6584
+ "dock.floor.notice": "Todas as shells est\xE3o desativadas ou indispon\xEDveis; {to} foi usado como \xFAltimo recurso.",
6585
+ "dock.unavailable.noPty": "Nenhum backend PTY dispon\xEDvel neste computador: o node-pty n\xE3o foi compilado e o host n\xE3o exp\xF5e a costura de terminal (execute pnpm approve-builds).",
6586
+ "dock.unavailable.noSocket": "O host n\xE3o exp\xF5e um canal de upgrade de WebSocket; o terminal inferior n\xE3o recebe sa\xEDda.",
6587
+ "dock.unavailable.notInstalled": "O host ainda n\xE3o montou as rotas de terminal; o terminal inferior est\xE1 indispon\xEDvel.",
6588
+ "dock.hostProvided": "O terminal do host est\xE1 no comando; este plugin se colocou de lado.",
6589
+ "dock.applying": "Salvando\u2026",
6590
+ "dock.failed": "Falha ao gravar: {message}",
6591
+ "dock.terminals": "{count} terminal(is) em execu\xE7\xE3o",
6592
+ "dock.refresh": "Redetectar",
6593
+ "dock.enabled.title": "Ativar o terminal inferior",
6594
+ "dock.enabled.description": "Chave geral: desligada oculta as subchaves das shells e recusa aloca\xE7\xF5es",
6595
+ "dock.enabled.off": "Desligado. As subchaves das shells dispon\xEDveis aparecem ao lig\xE1-lo",
6596
+ "dock.shim.title": "Assumir a linha do terminal oficial",
6597
+ "dock.shim.description": "Ative apenas se o host n\xE3o tem controlador de terminal. Publicar duas vezes o mesmo servi\xE7o faz o outro provedor falhar; desligado por padr\xE3o.",
6598
+ "dock.shim.published": "Assumida: a linha \xABTerminal\xBB oficial agora \xE9 alimentada por este plugin",
6599
+ "dock.shim.hostProvides": "O host j\xE1 publica webTerminals; nada foi assumido (a linha oficial j\xE1 funciona)",
6600
+ "dock.state.floor": "\xFAltimo recurso",
6601
+ "tab.title": "Terminal (multi-shell)",
6602
+ "tab.description": "Abre Git Bash / MSYS2 / WSL / PowerShell sobre o backend PTY deste plugin, ao lado do terminal oficial",
6603
+ "tab.new": "Novo",
6604
+ "tab.noShell": "Nenhuma shell dispon\xEDvel (ative uma nos ajustes)",
6605
+ "tab.phase.allocating": "alocando",
6606
+ "tab.phase.connecting": "conectando",
6607
+ "tab.phase.running": "em execu\xE7\xE3o",
6608
+ "tab.phase.exited": "encerrado",
6609
+ "tab.phase.failed": "falhou"
6610
+ };
6611
+ var dictionaries = { zh, en, ja, ko, fr, de, it, ru, es, pt };
6574
6612
  var fallbackDict = { ...zh };
6575
6613
 
6576
6614
  // src/browser-i18n.ts
@@ -7133,7 +7171,7 @@ var import_react2 = require("react");
7133
7171
  var import_addon_fit = __toESM(require_addon_fit(), 1);
7134
7172
  var import_xterm = __toESM(require_xterm(), 1);
7135
7173
 
7136
- // node_modules/@xterm/xterm/css/xterm.css
7174
+ // node_modules/.pnpm/@xterm+xterm@5.5.0/node_modules/@xterm/xterm/css/xterm.css
7137
7175
  var xterm_default = `/**
7138
7176
  * Copyright (c) 2014 The xterm.js authors. All rights reserved.
7139
7177
  * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
@@ -7702,7 +7740,7 @@ function MultiShellTerminal(props) {
7702
7740
  // src/client.tsx
7703
7741
  var import_jsx_runtime3 = require("react/jsx-runtime");
7704
7742
  var SETTINGS_NS = "settings.bash-terminal";
7705
- var SHELLS = ["powershell", "gitbash", "msys2", "wsl", "payload", "niu"];
7743
+ var SHELLS = ["powershell", "gitbash", "msys2", "wsl", "niu"];
7706
7744
  var ROW_CSS = ".btRow{border-bottom:1px solid var(--dsw-alias-border-l2);align-items:center;gap:8px;padding:16px 0;display:flex}.btRowText{flex-direction:column;flex:1;gap:4px;min-width:0;padding-right:48px;display:flex}.btTitle{color:var(--dsw-alias-label-primary);font-size:14px;font-weight:400;line-height:22px}.btDesc{color:var(--dsw-alias-label-tertiary);font-size:12px;font-weight:400;line-height:18px}.btSelector{background:var(--dsw-alias-bg-module-platform);height:36px;font:inherit;color:var(--dsw-alias-label-primary);cursor:pointer;border:none;border-radius:18px;align-items:center;gap:12px;padding:0 14px;font-size:14px;line-height:22px;display:inline-flex}.btSelector:hover{background:var(--dsw-alias-interactive-bg-hover)}.btGear{position:fixed;right:16px;bottom:110px;z-index:10000;width:40px;height:40px;border-radius:50%;border:1px solid rgba(127,127,127,.4);background:rgba(30,30,32,.85);color:inherit;cursor:pointer;font-size:17px;box-shadow:0 4px 16px rgba(0,0,0,.35)}.btOverlay{position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,.45)}.btPanel{position:fixed;top:6vh;left:50%;transform:translateX(-50%);width:min(760px,92vw);max-height:84vh;overflow-y:auto;z-index:10001;background:var(--dsw-alias-bg-module-platform,rgba(30,30,32,.92));border:1px solid var(--dsw-alias-border-l2,rgba(127,127,127,.3));border-radius:14px;padding:20px;color:var(--dsw-alias-label-primary)}.btBadge{border-radius:10px;padding:2px 8px;font-size:11px;line-height:16px;background:var(--dsw-alias-bg-module-platform);color:var(--dsw-alias-label-tertiary);white-space:nowrap}.btBadgeOk{color:var(--dsw-alias-label-primary)}.btNotice{color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px;padding:8px 0}.btWarn{color:var(--dsw-status-warning-default,#b8860b)}.btRowSwitch{padding-right:0}.btSwitch{width:40px;height:24px;border-radius:12px;border:none;cursor:pointer;background:var(--dsw-alias-bg-module-platform);position:relative;flex:none;transition:background .15s ease;box-shadow:inset 0 0 0 1px var(--dsw-alias-border-l2)}.btSwitch::after{content:'';position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:var(--dsw-alias-label-tertiary);transition:transform .15s ease,background .15s ease}.btSwitchOn{background:var(--dsw-alias-interactive-brand,#2f6fed)}.btSwitchOn::after{transform:translateX(16px);background:#fff}.btSwitch:disabled{cursor:not-allowed;opacity:.4}.btSwitch:disabled::after{background:var(--dsw-alias-label-quaternary,#8a8a8a)}.btInput{background:var(--dsw-alias-bg-module-platform);height:32px;border:none;border-radius:8px;color:var(--dsw-alias-label-primary);padding:0 10px;font:inherit;min-width:0;flex:1}.btPick{position:relative;display:inline-block}.btPickBtn{gap:6px}.btPickSm{height:28px;padding:0 10px;border-radius:14px;font-size:12px;line-height:18px}.btPickBtn:disabled{opacity:.4;cursor:not-allowed}.btPickText{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btPickCaret{color:var(--dsw-alias-label-tertiary);font-size:10px;line-height:1}.btPickList{position:absolute;z-index:1000;top:calc(100% + 4px);left:0;min-width:100%;max-height:260px;overflow-y:auto;padding:4px;border:1px solid var(--dsw-alias-border-l2);border-radius:10px;background:var(--dsw-alias-bg-overlay);box-shadow:0 8px 24px rgba(0,0,0,.28)}.btPickOpt{padding:6px 10px;font-size:12px;line-height:18px;border-radius:6px;color:var(--dsw-alias-label-primary);cursor:pointer;white-space:nowrap}.btPickOpt:hover{background:var(--dsw-alias-interactive-bg-hover)}.btPickOptOn{color:var(--dsw-alias-interactive-brand);font-weight:600}";
7707
7745
  if (typeof document !== "undefined" && document.querySelector('style[data-plugin-css="bash-terminal-row"]') === null) {
7708
7746
  const tag = document.createElement("style");
package/dist/client.js CHANGED
@@ -38,9 +38,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
38
38
  ));
39
39
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
40
40
 
41
- // node_modules/@xterm/addon-fit/lib/addon-fit.js
41
+ // node_modules/.pnpm/@xterm+addon-fit@0.10.0_@xterm+xterm@5.5.0/node_modules/@xterm/addon-fit/lib/addon-fit.js
42
42
  var require_addon_fit = __commonJS({
43
- "node_modules/@xterm/addon-fit/lib/addon-fit.js"(exports, module2) {
43
+ "node_modules/.pnpm/@xterm+addon-fit@0.10.0_@xterm+xterm@5.5.0/node_modules/@xterm/addon-fit/lib/addon-fit.js"(exports, module2) {
44
44
  !(function(e, t) {
45
45
  "object" == typeof exports && "object" == typeof module2 ? module2.exports = t() : "function" == typeof define && define.amd ? define([], t) : "object" == typeof exports ? exports.FitAddon = t() : e.FitAddon = t();
46
46
  })(self, (() => (() => {
@@ -74,9 +74,9 @@ var require_addon_fit = __commonJS({
74
74
  }
75
75
  });
76
76
 
77
- // node_modules/@xterm/xterm/lib/xterm.js
77
+ // node_modules/.pnpm/@xterm+xterm@5.5.0/node_modules/@xterm/xterm/lib/xterm.js
78
78
  var require_xterm = __commonJS({
79
- "node_modules/@xterm/xterm/lib/xterm.js"(exports, module2) {
79
+ "node_modules/.pnpm/@xterm+xterm@5.5.0/node_modules/@xterm/xterm/lib/xterm.js"(exports, module2) {
80
80
  !(function(e, t) {
81
81
  if ("object" == typeof exports && "object" == typeof module2) module2.exports = t();
82
82
  else if ("function" == typeof define && define.amd) define([], t);
@@ -6156,7 +6156,6 @@ var zh = {
6156
6156
  "dock.state.available": "\u53EF\u7528",
6157
6157
  "dock.state.notInstalled": "\u672A\u63A2\u6D4B\u5230",
6158
6158
  "dock.state.wslPreferred": "\u5DF2\u68C0\u6D4B\u5230 WSL \u53D1\u884C\u7248\uFF08\u4F18\u5148\u7528 WSL bash\uFF09",
6159
- "shell.payload": "POSIX payload",
6160
6159
  "shell.niu": "Niubash",
6161
6160
  "dock.state.noDistro": "\u65E0\u5DF2\u5B89\u88C5\u53D1\u884C\u7248",
6162
6161
  "dock.state.launcherOnly": "\u53EA\u627E\u5230\u542F\u52A8\u5668\uFF0C\u65E0\u6CD5\u5185\u5D4C",
@@ -6204,7 +6203,6 @@ var en = {
6204
6203
  "dock.state.available": "Available",
6205
6204
  "dock.state.notInstalled": "Not found",
6206
6205
  "dock.state.wslPreferred": "WSL distro detected (WSL bash preferred)",
6207
- "shell.payload": "POSIX payload",
6208
6206
  "shell.niu": "Niubash",
6209
6207
  "dock.state.noDistro": "No distro installed",
6210
6208
  "dock.state.launcherOnly": "Only a launcher was found; it cannot be embedded",
@@ -6252,7 +6250,6 @@ var ja = {
6252
6250
  "dock.state.available": "\u5229\u7528\u53EF",
6253
6251
  "dock.state.notInstalled": "\u898B\u3064\u304B\u308A\u307E\u305B\u3093",
6254
6252
  "dock.state.wslPreferred": "WSL \u30C7\u30A3\u30B9\u30C8\u30EA\u691C\u51FA\u6E08\u307F\uFF08WSL bash \u512A\u5148\uFF09",
6255
- "shell.payload": "POSIX payload",
6256
6253
  "shell.niu": "Niubash",
6257
6254
  "dock.state.noDistro": "\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u6E08\u307F\u30C7\u30A3\u30B9\u30C8\u30EA\u30D3\u30E5\u30FC\u30B7\u30E7\u30F3\u306A\u3057",
6258
6255
  "dock.state.launcherOnly": "\u30E9\u30F3\u30C1\u30E3\u30FC\u306E\u307F\u691C\u51FA\u3001\u57CB\u3081\u8FBC\u307F\u4E0D\u53EF",
@@ -6300,7 +6297,6 @@ var ko = {
6300
6297
  "dock.state.available": "\uC0AC\uC6A9 \uAC00\uB2A5",
6301
6298
  "dock.state.notInstalled": "\uD0D0\uC9C0\uB418\uC9C0 \uC54A\uC74C",
6302
6299
  "dock.state.wslPreferred": "WSL \uBC30\uD3EC\uD310 \uAC10\uC9C0\uB428 (WSL bash \uC6B0\uC120)",
6303
- "shell.payload": "POSIX payload",
6304
6300
  "shell.niu": "Niubash",
6305
6301
  "dock.state.noDistro": "\uC124\uCE58\uB41C \uBC30\uD3EC\uD310 \uC5C6\uC74C",
6306
6302
  "dock.state.launcherOnly": "\uB7F0\uCC98\uB9CC \uBC1C\uACAC\uB418\uC5B4 \uB0B4\uC7A5\uD560 \uC218 \uC5C6\uC74C",
@@ -6348,7 +6344,6 @@ var fr = {
6348
6344
  "dock.state.available": "Disponible",
6349
6345
  "dock.state.notInstalled": "Non d\xE9tect\xE9",
6350
6346
  "dock.state.wslPreferred": "Distro WSL d\xE9tect\xE9e (bash WSL pr\xE9f\xE9r\xE9)",
6351
- "shell.payload": "POSIX payload",
6352
6347
  "shell.niu": "Niubash",
6353
6348
  "dock.state.noDistro": "Aucune distribution install\xE9e",
6354
6349
  "dock.state.launcherOnly": "Seuls des lanceurs ont \xE9t\xE9 trouv\xE9s; int\xE9gration impossible",
@@ -6396,7 +6391,6 @@ var de = {
6396
6391
  "dock.state.available": "Verf\xFCgbar",
6397
6392
  "dock.state.notInstalled": "Nicht gefunden",
6398
6393
  "dock.state.wslPreferred": "WSL-Distro erkannt (WSL bash bevorzugt)",
6399
- "shell.payload": "POSIX payload",
6400
6394
  "shell.niu": "Niubash",
6401
6395
  "dock.state.noDistro": "Keine Distribution installiert",
6402
6396
  "dock.state.launcherOnly": "Nur Launcher gefunden; Einbettung nicht m\xF6glich",
@@ -6444,7 +6438,6 @@ var it = {
6444
6438
  "dock.state.available": "Disponibile",
6445
6439
  "dock.state.notInstalled": "Non trovato",
6446
6440
  "dock.state.wslPreferred": "Distro WSL rilevata (bash WSL preferito)",
6447
- "shell.payload": "POSIX payload",
6448
6441
  "shell.niu": "Niubash",
6449
6442
  "dock.state.noDistro": "Nessuna distribuzione installata",
6450
6443
  "dock.state.launcherOnly": "Trovato solo un launcher; incorporamento non possibile",
@@ -6492,7 +6485,6 @@ var ru = {
6492
6485
  "dock.state.available": "\u0414\u043E\u0441\u0442\u0443\u043F\u0435\u043D",
6493
6486
  "dock.state.notInstalled": "\u041D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D",
6494
6487
  "dock.state.wslPreferred": "\u041E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432 WSL (\u043F\u0440\u0435\u0434\u043F\u043E\u0447\u0442\u0438\u0442\u0435\u043B\u044C\u043D\u0435\u0435 WSL bash)",
6495
- "shell.payload": "POSIX payload",
6496
6488
  "shell.niu": "Niubash",
6497
6489
  "dock.state.noDistro": "\u041D\u0435\u0442 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044B\u0445 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u043E\u0432",
6498
6490
  "dock.state.launcherOnly": "\u041D\u0430\u0439\u0434\u0435\u043D \u0442\u043E\u043B\u044C\u043A\u043E \u043B\u0430\u0443\u043D\u0447\u0435\u0440, \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u043D\u0438\u0435 \u043D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E",
@@ -6540,7 +6532,6 @@ var es = {
6540
6532
  "dock.state.available": "Disponible",
6541
6533
  "dock.state.notInstalled": "No detectado",
6542
6534
  "dock.state.wslPreferred": "Distro de WSL detectada (se prefiere bash de WSL)",
6543
- "shell.payload": "POSIX payload",
6544
6535
  "shell.niu": "Niubash",
6545
6536
  "dock.state.noDistro": "Sin distribuci\xF3n instalada",
6546
6537
  "dock.state.launcherOnly": "Solo se encontr\xF3 un lanzador; no se puede incrustar",
@@ -6575,7 +6566,54 @@ var es = {
6575
6566
  "tab.phase.exited": "terminado",
6576
6567
  "tab.phase.failed": "fall\xF3"
6577
6568
  };
6578
- var dictionaries = { zh, en, ja, ko, fr, de, it, ru, es };
6569
+ var pt = {
6570
+ "shell.title": "Terminal padr\xE3o",
6571
+ "shell.description": "Terminal usado pela ferramenta shell para executar comandos",
6572
+ "shell.powershell": "PowerShell",
6573
+ "shell.gitbash": "Git Bash",
6574
+ "shell.msys2": "MSYS2",
6575
+ "shell.wsl": "WSL",
6576
+ "shell.unavailable": "Configura\xE7\xE3o indispon\xEDvel: a ponte de configura\xE7\xE3o do host n\xE3o respondeu (verifique se o host \xE9 a linha compat)",
6577
+ "dock.title": "Terminal inferior",
6578
+ "dock.hint": "Essas chaves valem tanto para o terminal do painel inferior quanto para os backends selecion\xE1veis da ferramenta shell (PowerShell \xE9 o piso, sempre dispon\xEDvel). O terminal oficial da coluna direita n\xE3o muda.",
6579
+ "dock.state.available": "Dispon\xEDvel",
6580
+ "dock.state.notInstalled": "N\xE3o detectado",
6581
+ "dock.state.wslPreferred": "Distro WSL detectada (bash do WSL preferido)",
6582
+ "shell.niu": "Niubash",
6583
+ "dock.state.noDistro": "Nenhuma distribui\xE7\xE3o instalada",
6584
+ "dock.state.launcherOnly": "Apenas um lan\xE7ador foi encontrado; n\xE3o \xE9 poss\xEDvel incorpor\xE1-lo",
6585
+ "dock.powershell.locked": "PowerShell \xE9 o backend de \xFAltimo recurso e n\xE3o pode ser desativado.",
6586
+ "dock.defaultChoice": "Shell padr\xE3o (apenas as ativas e dispon\xEDveis aparecem na lista)",
6587
+ "dock.wslDistro": "Distribui\xE7\xE3o WSL (vazio usa a padr\xE3o do WSL)",
6588
+ "dock.fallback.notice": "{from} n\xE3o est\xE1 dispon\xEDvel agora; este terminal foi iniciado com {to}.",
6589
+ "dock.floor.notice": "Todas as shells est\xE3o desativadas ou indispon\xEDveis; {to} foi usado como \xFAltimo recurso.",
6590
+ "dock.unavailable.noPty": "Nenhum backend PTY dispon\xEDvel neste computador: o node-pty n\xE3o foi compilado e o host n\xE3o exp\xF5e a costura de terminal (execute pnpm approve-builds).",
6591
+ "dock.unavailable.noSocket": "O host n\xE3o exp\xF5e um canal de upgrade de WebSocket; o terminal inferior n\xE3o recebe sa\xEDda.",
6592
+ "dock.unavailable.notInstalled": "O host ainda n\xE3o montou as rotas de terminal; o terminal inferior est\xE1 indispon\xEDvel.",
6593
+ "dock.hostProvided": "O terminal do host est\xE1 no comando; este plugin se colocou de lado.",
6594
+ "dock.applying": "Salvando\u2026",
6595
+ "dock.failed": "Falha ao gravar: {message}",
6596
+ "dock.terminals": "{count} terminal(is) em execu\xE7\xE3o",
6597
+ "dock.refresh": "Redetectar",
6598
+ "dock.enabled.title": "Ativar o terminal inferior",
6599
+ "dock.enabled.description": "Chave geral: desligada oculta as subchaves das shells e recusa aloca\xE7\xF5es",
6600
+ "dock.enabled.off": "Desligado. As subchaves das shells dispon\xEDveis aparecem ao lig\xE1-lo",
6601
+ "dock.shim.title": "Assumir a linha do terminal oficial",
6602
+ "dock.shim.description": "Ative apenas se o host n\xE3o tem controlador de terminal. Publicar duas vezes o mesmo servi\xE7o faz o outro provedor falhar; desligado por padr\xE3o.",
6603
+ "dock.shim.published": "Assumida: a linha \xABTerminal\xBB oficial agora \xE9 alimentada por este plugin",
6604
+ "dock.shim.hostProvides": "O host j\xE1 publica webTerminals; nada foi assumido (a linha oficial j\xE1 funciona)",
6605
+ "dock.state.floor": "\xFAltimo recurso",
6606
+ "tab.title": "Terminal (multi-shell)",
6607
+ "tab.description": "Abre Git Bash / MSYS2 / WSL / PowerShell sobre o backend PTY deste plugin, ao lado do terminal oficial",
6608
+ "tab.new": "Novo",
6609
+ "tab.noShell": "Nenhuma shell dispon\xEDvel (ative uma nos ajustes)",
6610
+ "tab.phase.allocating": "alocando",
6611
+ "tab.phase.connecting": "conectando",
6612
+ "tab.phase.running": "em execu\xE7\xE3o",
6613
+ "tab.phase.exited": "encerrado",
6614
+ "tab.phase.failed": "falhou"
6615
+ };
6616
+ var dictionaries = { zh, en, ja, ko, fr, de, it, ru, es, pt };
6579
6617
  var fallbackDict = { ...zh };
6580
6618
 
6581
6619
  // src/browser-i18n.ts
@@ -7138,7 +7176,7 @@ var import_react2 = require("react");
7138
7176
  var import_addon_fit = __toESM(require_addon_fit(), 1);
7139
7177
  var import_xterm = __toESM(require_xterm(), 1);
7140
7178
 
7141
- // node_modules/@xterm/xterm/css/xterm.css
7179
+ // node_modules/.pnpm/@xterm+xterm@5.5.0/node_modules/@xterm/xterm/css/xterm.css
7142
7180
  var xterm_default = `/**
7143
7181
  * Copyright (c) 2014 The xterm.js authors. All rights reserved.
7144
7182
  * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
@@ -7707,7 +7745,7 @@ function MultiShellTerminal(props) {
7707
7745
  // src/client.tsx
7708
7746
  var import_jsx_runtime3 = require("react/jsx-runtime");
7709
7747
  var SETTINGS_NS = "settings.bash-terminal";
7710
- var SHELLS = ["powershell", "gitbash", "msys2", "wsl", "payload", "niu"];
7748
+ var SHELLS = ["powershell", "gitbash", "msys2", "wsl", "niu"];
7711
7749
  var ROW_CSS = ".btRow{border-bottom:1px solid var(--dsw-alias-border-l2);align-items:center;gap:8px;padding:16px 0;display:flex}.btRowText{flex-direction:column;flex:1;gap:4px;min-width:0;padding-right:48px;display:flex}.btTitle{color:var(--dsw-alias-label-primary);font-size:14px;font-weight:400;line-height:22px}.btDesc{color:var(--dsw-alias-label-tertiary);font-size:12px;font-weight:400;line-height:18px}.btSelector{background:var(--dsw-alias-bg-module-platform);height:36px;font:inherit;color:var(--dsw-alias-label-primary);cursor:pointer;border:none;border-radius:18px;align-items:center;gap:12px;padding:0 14px;font-size:14px;line-height:22px;display:inline-flex}.btSelector:hover{background:var(--dsw-alias-interactive-bg-hover)}.btGear{position:fixed;right:16px;bottom:110px;z-index:10000;width:40px;height:40px;border-radius:50%;border:1px solid rgba(127,127,127,.4);background:rgba(30,30,32,.85);color:inherit;cursor:pointer;font-size:17px;box-shadow:0 4px 16px rgba(0,0,0,.35)}.btOverlay{position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,.45)}.btPanel{position:fixed;top:6vh;left:50%;transform:translateX(-50%);width:min(760px,92vw);max-height:84vh;overflow-y:auto;z-index:10001;background:var(--dsw-alias-bg-module-platform,rgba(30,30,32,.92));border:1px solid var(--dsw-alias-border-l2,rgba(127,127,127,.3));border-radius:14px;padding:20px;color:var(--dsw-alias-label-primary)}.btBadge{border-radius:10px;padding:2px 8px;font-size:11px;line-height:16px;background:var(--dsw-alias-bg-module-platform);color:var(--dsw-alias-label-tertiary);white-space:nowrap}.btBadgeOk{color:var(--dsw-alias-label-primary)}.btNotice{color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px;padding:8px 0}.btWarn{color:var(--dsw-status-warning-default,#b8860b)}.btRowSwitch{padding-right:0}.btSwitch{width:40px;height:24px;border-radius:12px;border:none;cursor:pointer;background:var(--dsw-alias-bg-module-platform);position:relative;flex:none;transition:background .15s ease;box-shadow:inset 0 0 0 1px var(--dsw-alias-border-l2)}.btSwitch::after{content:'';position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:var(--dsw-alias-label-tertiary);transition:transform .15s ease,background .15s ease}.btSwitchOn{background:var(--dsw-alias-interactive-brand,#2f6fed)}.btSwitchOn::after{transform:translateX(16px);background:#fff}.btSwitch:disabled{cursor:not-allowed;opacity:.4}.btSwitch:disabled::after{background:var(--dsw-alias-label-quaternary,#8a8a8a)}.btInput{background:var(--dsw-alias-bg-module-platform);height:32px;border:none;border-radius:8px;color:var(--dsw-alias-label-primary);padding:0 10px;font:inherit;min-width:0;flex:1}.btPick{position:relative;display:inline-block}.btPickBtn{gap:6px}.btPickSm{height:28px;padding:0 10px;border-radius:14px;font-size:12px;line-height:18px}.btPickBtn:disabled{opacity:.4;cursor:not-allowed}.btPickText{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btPickCaret{color:var(--dsw-alias-label-tertiary);font-size:10px;line-height:1}.btPickList{position:absolute;z-index:1000;top:calc(100% + 4px);left:0;min-width:100%;max-height:260px;overflow-y:auto;padding:4px;border:1px solid var(--dsw-alias-border-l2);border-radius:10px;background:var(--dsw-alias-bg-overlay);box-shadow:0 8px 24px rgba(0,0,0,.28)}.btPickOpt{padding:6px 10px;font-size:12px;line-height:18px;border-radius:6px;color:var(--dsw-alias-label-primary);cursor:pointer;white-space:nowrap}.btPickOpt:hover{background:var(--dsw-alias-interactive-bg-hover)}.btPickOptOn{color:var(--dsw-alias-interactive-brand);font-weight:600}";
7712
7750
  if (typeof document !== "undefined" && document.querySelector('style[data-plugin-css="bash-terminal-row"]') === null) {
7713
7751
  const tag = document.createElement("style");