@zicolasjac-ai/remote-readonly-ssh 1.4.3 → 1.4.4
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/bin/rrs.js +3 -1
- package/package.json +1 -1
package/bin/rrs.js
CHANGED
|
@@ -182,7 +182,7 @@ function buildCmds(tool, arg, conf) {
|
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
function listTools(conf) {
|
|
185
|
-
console.log("
|
|
185
|
+
console.log("可用工具:");
|
|
186
186
|
const tools = {
|
|
187
187
|
"sys-info": "主机名/OS/内核/uptime",
|
|
188
188
|
"proc <pattern>": "进程查询",
|
|
@@ -191,6 +191,8 @@ function listTools(conf) {
|
|
|
191
191
|
"dir <path>": "列目录",
|
|
192
192
|
"bin-version <bin>": "查版本(二进制白名单)",
|
|
193
193
|
"exec-only <cmd>": "通用只读命令(白名单校验)",
|
|
194
|
+
"download <远程> <本地>": "下载单文件(SFTP:direct 直连或 koko 网关)",
|
|
195
|
+
"upload <本地> <远程>": "上传单文件(写操作,opt-in + 写路径白名单)",
|
|
194
196
|
};
|
|
195
197
|
for (const [k, v] of Object.entries(tools)) console.log(` ${k.padEnd(20)} ${v}`);
|
|
196
198
|
const profiles = conf.auth_profiles || {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zicolasjac-ai/remote-readonly-ssh",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.4",
|
|
4
4
|
"description": "只读 SSH 运维 CLI 与 Agent Skill:通过 JumpServer 堡垒机白名单强制执行只读查询;认证组支持 SSH 私钥/密码两种模式与按 IP 分组;附 SKILL.md 让 opencode / Claude Code / Cursor 等 AI 助手自动发现并正确调用。",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|