rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:BuvkB/dsh-ugreen-nas
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
DeepSeek Harness 插件:通过 UGOS 访问令牌连接绿联 NAS,让模型直接管理文件、Docker、下载和应用,并查看系统状态。无需 NAS 账号密码,不走 SSH。
approval: never)下 DSH 会直接拒绝、不弹窗。allowedRoots 目录白名单、mode=readonly 只读模式、accessLevel=user 普通用户模式。创建访问令牌:打开桌面端「绿联云」客户端 → 个人中心 → 本地账号 → 访问与授权 → 访问令牌 → 创建(NAS 网页控制面板没有这个入口)。令牌只在创建时完整显示一次,请立即保存;权限按需勾选。
安装插件:
dsh plugin --profile web add dsh-ugreen-nas
源码安装:clone 仓库 → npm install && bash scripts/build.sh → 插件管理页选本地目录。
打开「设置 → 插件 → 绿联 NAS」,填写 NAS 地址和访问令牌,保存后测试连接。
| 配置 | 默认 | 说明 |
|---|---|---|
endpoint |
— | NAS 地址;裸 IP 自动补 https://:9443,UGREENlink ID / https://ug.link/<id> 自动解析为设备域名,也支持 DDNS / 完整 URL |
accessToken |
— | 访问令牌,仅存本机设置,不回显 |
mode |
full |
full 注册全部工具;readonly 仅注册只读工具 |
accessLevel |
admin |
admin 全部工具;user 仅文件、下载、全局搜索等非系统类工具 |
confirmMode |
ask |
写/删/执行是否经 DSH 审批;完全权限档直接拒绝、不弹窗;off 直接执行(不推荐) |
allowedRoots |
[] |
文件目录白名单(绝对路径数组);留空不额外限制 |
timeoutMs / rejectUnauthorized |
15000 / false |
单次请求超时;自签证书时保持关闭证书校验 |
allowedRoots 限制可访问目录;accessLevel=user 可隐藏系统类工具。confirmMode=ask 依赖 DSH 宿主审批;完全权限档 danger-full-access / approval: never 会直接拒绝写操作,这是宿主安全边界,插件不会绕过。npm install && bash scripts/build.sh;回归:npm test(自动重链 DSH peer + smoke + unit)。A DSH plugin for UGREEN NAS. It connects through a UGOS access token and exposes file, Docker, download, app, storage, task and control-panel operations as model tools—no NAS account password and no SSH.
danger-full-access preset (approval: never) DSH rejects them without a prompt.allowedRoots path allowlist, mode=readonly, and accessLevel=user.Install:
dsh plugin --profile web add dsh-ugreen-nas
Create the access token in the UGREEN desktop client (绿联云): Profile → Local Account → Access & Authorization → Access Token → Create — the NAS web control panel has no token entry, and the full token is shown only once at creation.
Then open Settings → Plugins → UGREEN NAS, enter the NAS address and access token, and click Test connection. The address accepts an IP, a UGREENlink ID or https://ug.link/<id> short link (resolved automatically), DDNS, or a full URL.
See docs/ugreen-opencli-protocol.md for the protocol, permission model and full 70-permission table.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。