@linxin666/dsh-ssh 0.2.8 → 0.2.9
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.i18n.yaml +2 -2
- package/README.md +1 -0
- package/README.zh.md +1 -0
- package/lib/client.js +2 -0
- package/lib/client.js.map +1 -1
- package/lib/index.js +8 -8
- package/lib/types/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/client/panel/SshPanel.tsx +2 -2
- package/src/index.ts +1 -1
- package/src/tools.ts +7 -7
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# node scripts/verify-docs.mjs --write <dir>
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: 7ea38ed3468b6dcac409216661ed4d33a2c81007
|
|
6
|
+
README.zh.md: 736f82081b9d64729e449da4d1e4316efa9b37e1
|
package/README.md
CHANGED
|
@@ -27,6 +27,7 @@ Built on the capability list of [badseal/ssh-skill](https://github.com/badseal/s
|
|
|
27
27
|
- Deleting a host or changing its connection fields (host / port / user / auth / proxyJump) immediately closes that alias's pooled connection and tunnels; later operations reconnect with the new configuration and never reuse a connection authenticated with the old credentials.
|
|
28
28
|
- Before the Agent uses a tool, the host must first be configured in the GUI (or imported from ~/.ssh/config).
|
|
29
29
|
- `ssh_upload` / `ssh_download` read/write arbitrary local paths on this machine with host-process privileges (not through the bash sandbox) — same host-local-path semantics as ssh-skill, be aware of that permission surface.
|
|
30
|
+
- Agent transfer tools move files only between this machine and a remote SSH host; local-file reads and writes must use the local file tools (read / write / edit / bash), never the `ssh_*` tools.
|
|
30
31
|
- The remote output of exec / cluster is returned verbatim (not sanitized); a command like `env` may bring secrets from the remote environment back into the conversation log.
|
|
31
32
|
|
|
32
33
|
## Install
|
package/README.zh.md
CHANGED
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
- 删除主机或修改其连接字段(host / port / user / auth / proxyJump)会立即断开该别名的池化连接与隧道,后续操作按新配置重新建连,不会复用旧凭据的已认证连接。
|
|
28
28
|
- Agent 使用工具前,主机需先在 GUI 中配置(或从 ~/.ssh/config 导入)。
|
|
29
29
|
- `ssh_upload` / `ssh_download` 以宿主进程权限直接读写本机任意路径(不经 bash 沙箱)——与 ssh-skill 的宿主本地路径语义一致,注意该权限面。
|
|
30
|
+
- Agent 传输工具只在本机与远程 SSH 主机之间移动文件;本机文件的读写一律使用本地文件工具(read / write / edit / bash),不要使用 `ssh_*` 工具。
|
|
30
31
|
- exec / cluster 的远程输出原样返回(不脱敏),命令如 `env` 可能把远端环境中的密钥带回对话记录。
|
|
31
32
|
|
|
32
33
|
## 安装
|
package/lib/client.js
CHANGED
|
@@ -15644,6 +15644,7 @@ window.__ModuleLoader__.load({
|
|
|
15644
15644
|
};
|
|
15645
15645
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
15646
15646
|
className: panel_module_css_default.panel,
|
|
15647
|
+
"data-dsh-plugin": "ssh",
|
|
15647
15648
|
children: [
|
|
15648
15649
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
15649
15650
|
className: panel_module_css_default.panelHeader,
|
|
@@ -15672,6 +15673,7 @@ window.__ModuleLoader__.load({
|
|
|
15672
15673
|
role: "tab",
|
|
15673
15674
|
"aria-selected": activeTab === tab.id,
|
|
15674
15675
|
"data-active": activeTab === tab.id ? "" : void 0,
|
|
15676
|
+
"data-dsh-part": "tab",
|
|
15675
15677
|
className: panel_module_css_default.tab,
|
|
15676
15678
|
onClick: () => {
|
|
15677
15679
|
setActiveTab(tab.id);
|