@fish-under-sea/dsh-ssh-fish 1.0.1 → 1.1.0

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 (41) hide show
  1. package/NOTICE +1 -1
  2. package/README.en.md +5 -5
  3. package/README.md +5 -5
  4. package/README.zh.md +5 -5
  5. package/lib/client.js +783 -170
  6. package/lib/client.js.map +1 -1
  7. package/lib/index.js +128 -14
  8. package/lib/types/client/api.d.ts +21 -0
  9. package/lib/types/client/locales.d.ts +13 -2
  10. package/lib/types/client/panel/TerminalTab.d.ts +12 -7
  11. package/lib/types/client/panel/controller.d.ts +185 -21
  12. package/lib/types/engine/connection-pool.d.ts +52 -1
  13. package/lib/types/engine.d.ts +7 -0
  14. package/lib/types/index.d.ts +10 -0
  15. package/lib/types/loopback.d.ts +41 -1
  16. package/lib/types/protocol.d.ts +18 -1
  17. package/lib/types/store.d.ts +7 -0
  18. package/lib/types/tool-surface.d.ts +1 -0
  19. package/lib/types/tools.d.ts +1 -0
  20. package/locale/en.json +6 -0
  21. package/locale/zh.json +6 -0
  22. package/package.json +24 -21
  23. package/src/client/api.ts +70 -0
  24. package/src/client/index.ts +1 -2
  25. package/src/client/locales.ts +26 -4
  26. package/src/client/panel/HostFormDialog.tsx +16 -2
  27. package/src/client/panel/HostsTab.tsx +3 -0
  28. package/src/client/panel/SshPanel.tsx +7 -15
  29. package/src/client/panel/TerminalTab.tsx +371 -151
  30. package/src/client/panel/controller.ts +370 -30
  31. package/src/client/panel/panel.module.css +108 -0
  32. package/src/client/settings-binding.ts +0 -1
  33. package/src/engine/connection-pool.ts +96 -4
  34. package/src/engine.ts +10 -0
  35. package/src/index.ts +16 -1
  36. package/src/loopback.ts +57 -1
  37. package/src/protocol.ts +18 -1
  38. package/src/routes.ts +4 -1
  39. package/src/store.ts +26 -0
  40. package/src/tool-surface.ts +1 -0
  41. package/src/tools.ts +9 -4
package/NOTICE CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  来源仓库:https://github.com/zhu1090093659/dsh-web
4
4
  来源包名:@linxin666/dsh-ssh
5
- 来源版本:0.4.6
5
+ 来源版本:0.4.16
6
6
  上游许可:Apache License 2.0(见同目录 LICENSE 全文)
7
7
 
8
8
  修改内容:
package/README.en.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @fish-under-sea/dsh-ssh-fish
2
2
 
3
- **1.0.1 · SSH Operations**
3
+ **1.1.0 · SSH Operations**
4
4
 
5
5
  [简体中文](README.md)
6
6
 
@@ -11,19 +11,19 @@ Host inventory, pooled connections, persistent Web PTY terminals, SFTP, loopback
11
11
  ## Installation
12
12
 
13
13
  ```sh
14
- dsh plugin --profile <profile> add @fish-under-sea/dsh-ssh-fish@1.0.1
14
+ dsh plugin --profile <profile> add @fish-under-sea/dsh-ssh-fish@1.1.0
15
15
  ```
16
16
 
17
- Also included in `@fish-under-sea/dsh-fish@1.0.1`. Do not expand duplicate rows through both aggregate and standalone bundles. Restart DSH after installation; use the desktop plugin manager when no CLI is available.
17
+ Also included in `@fish-under-sea/dsh-fish@1.1.0`. Do not expand duplicate rows through both aggregate and standalone bundles. Restart DSH after installation; use the desktop plugin manager when no CLI is available.
18
18
 
19
19
  ## Configuration and Safety
20
20
 
21
21
  Protect $DSH_HOME/dsh-ssh.json as sensitive: passwords and passphrases may be plaintext. Output is not redacted; reconnects may replay non-idempotent commands. Transfers use Host filesystem privileges; proxyCommand is trusted shell input. Agents may use only user-configured hosts.
22
22
 
23
- Node requirement: `^22.19.0 || >=24.0.0`. Host compatibility follows this package manifest; the aggregate does not override Host checks.
23
+ Node requirement: `>=24.9.0`. Host compatibility follows this package manifest; the aggregate does not override Host checks.
24
24
 
25
25
  ## Maintenance and Attribution
26
26
 
27
- 1.0.1 is a coordinated release number, not a claim that all latest upstream commits are merged. Historical documentation remains in Git; see [aggregate changelog](https://github.com/Fish-under-sea/dsh-fish/blob/main/CHANGELOG.en.md).
27
+ 1.1.0 is a coordinated release number, not a claim that all latest upstream commits are merged. Historical documentation remains in Git; see [aggregate changelog](https://github.com/Fish-under-sea/dsh-fish/blob/main/CHANGELOG.en.md).
28
28
 
29
29
  Forked from [zhu1090093659/dsh-web](https://github.com/zhu1090093659/dsh-web). Original authorship, LICENSE and NOTICE are preserved; Fish maintains naming and integration adaptations. License: Apache-2.0.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @fish-under-sea/dsh-ssh-fish
2
2
 
3
- **1.0.1 · SSH 运维**
3
+ **1.1.0 · SSH 运维**
4
4
 
5
5
  [English](README.en.md)
6
6
 
@@ -11,19 +11,19 @@
11
11
  ## 安装
12
12
 
13
13
  ```sh
14
- dsh plugin --profile <profile> add @fish-under-sea/dsh-ssh-fish@1.0.1
14
+ dsh plugin --profile <profile> add @fish-under-sea/dsh-ssh-fish@1.1.0
15
15
  ```
16
16
 
17
- 也可安装聚合包 `@fish-under-sea/dsh-fish@1.0.1`。聚合与独立安装不要重复展开相同插件行;安装完成后重启 DSH。桌面环境无 CLI 时使用插件管理器。
17
+ 也可安装聚合包 `@fish-under-sea/dsh-fish@1.1.0`。聚合与独立安装不要重复展开相同插件行;安装完成后重启 DSH。桌面环境无 CLI 时使用插件管理器。
18
18
 
19
19
  ## 配置与边界
20
20
 
21
21
  配置为 $DSH_HOME/dsh-ssh.json,密码与口令可能明文保存,必须按敏感文件保护。执行和输出不脱敏;重连可能重放非幂等命令。本机上传下载按宿主权限读写;proxyCommand 是高信任 shell 命令。Agent 只能使用用户已配置主机。
22
22
 
23
- Node 要求: `^22.19.0 || >=24.0.0`. DSH 支持范围以本包声明为准;聚合包不覆盖宿主兼容性检查。
23
+ Node 要求: `>=24.9.0`. DSH 支持范围以本包声明为准;聚合包不覆盖宿主兼容性检查。
24
24
 
25
25
  ## 维护与来源
26
26
 
27
- 1.0.1 统一发布版本,不表示已合并上游所有最新提交。历史说明保留在 Git 历史中;聚合变更见 [聚合变更记录](https://github.com/Fish-under-sea/dsh-fish/blob/main/CHANGELOG.md).
27
+ 1.1.0 统一发布版本,不表示已合并上游所有最新提交。历史说明保留在 Git 历史中;聚合变更见 [聚合变更记录](https://github.com/Fish-under-sea/dsh-fish/blob/main/CHANGELOG.md).
28
28
 
29
29
  派生自 [zhu1090093659/dsh-web](https://github.com/zhu1090093659/dsh-web). 保留原作者署名、LICENSE 与 NOTICE;Fish 修改包括包名与对应适配。 许可证: Apache-2.0.
package/README.zh.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @fish-under-sea/dsh-ssh-fish
2
2
 
3
- **1.0.1 · SSH 运维**
3
+ **1.1.0 · SSH 运维**
4
4
 
5
5
  [English](README.en.md)
6
6
 
@@ -11,19 +11,19 @@
11
11
  ## 安装
12
12
 
13
13
  ```sh
14
- dsh plugin --profile <profile> add @fish-under-sea/dsh-ssh-fish@1.0.1
14
+ dsh plugin --profile <profile> add @fish-under-sea/dsh-ssh-fish@1.1.0
15
15
  ```
16
16
 
17
- 也可安装聚合包 `@fish-under-sea/dsh-fish@1.0.1`。聚合与独立安装不要重复展开相同插件行;安装完成后重启 DSH。桌面环境无 CLI 时使用插件管理器。
17
+ 也可安装聚合包 `@fish-under-sea/dsh-fish@1.1.0`。聚合与独立安装不要重复展开相同插件行;安装完成后重启 DSH。桌面环境无 CLI 时使用插件管理器。
18
18
 
19
19
  ## 配置与边界
20
20
 
21
21
  配置为 $DSH_HOME/dsh-ssh.json,密码与口令可能明文保存,必须按敏感文件保护。执行和输出不脱敏;重连可能重放非幂等命令。本机上传下载按宿主权限读写;proxyCommand 是高信任 shell 命令。Agent 只能使用用户已配置主机。
22
22
 
23
- Node 要求: `^22.19.0 || >=24.0.0`. DSH 支持范围以本包声明为准;聚合包不覆盖宿主兼容性检查。
23
+ Node 要求: `>=24.9.0`. DSH 支持范围以本包声明为准;聚合包不覆盖宿主兼容性检查。
24
24
 
25
25
  ## 维护与来源
26
26
 
27
- 1.0.1 统一发布版本,不表示已合并上游所有最新提交。历史说明保留在 Git 历史中;聚合变更见 [聚合变更记录](https://github.com/Fish-under-sea/dsh-fish/blob/main/CHANGELOG.md).
27
+ 1.1.0 统一发布版本,不表示已合并上游所有最新提交。历史说明保留在 Git 历史中;聚合变更见 [聚合变更记录](https://github.com/Fish-under-sea/dsh-fish/blob/main/CHANGELOG.md).
28
28
 
29
29
  派生自 [zhu1090093659/dsh-web](https://github.com/zhu1090093659/dsh-web). 保留原作者署名、LICENSE 与 NOTICE;Fish 修改包括包名与对应适配。 许可证: Apache-2.0.