rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:sijunmanyue/dsh-plugin-account-manager
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
一个 DeepSeek Harness 插件:左侧栏有独立的「账号管理」入口,点开是整页账号工作台。
Repository: https://github.com/sijunmanyue/dsh-plugin-account-manager
git clone https://github.com/sijunmanyue/dsh-plugin-account-manager.git
# 在 DSH 里让 Agent 使用 plugin_manager 安装本目录,或执行:
# plugin_manager -> install_bundle -> 绝对路径 target
安装后刷新 Harness 页面,左侧栏会出现钥匙形状的「账号管理」图标。
默认路径:
<DSH_HOME>/account-manager/accounts.json
在 profile 的 cordis.patch.yml 中覆盖 dsh-account-manager 行:
- id: dsh-account-manager
name: dsh-account-manager
config:
filePath: 'D:\my-data\accounts.json'
filePath 支持:
D:\my-data\accounts.json;~ 开头:~/account-data/accounts.json;DSH_HOME 的路径:account-manager/my-accounts.json。修改配置后重启 Harness(或重新加载该插件)生效。
文件首次添加账号时自动创建。顶层结构固定为一个对象:
{
"version": 1,
"accounts": [
{
"id": "a4f0c8d3-...",
"system": "GitHub",
"systemType": "personal",
"environment": "",
"username": "octocat",
"password": "<your-password>",
"purpose": "开源项目"
},
{
"id": "6ae4d1f0-...",
"system": "公司后台",
"systemType": "company",
"environment": "生产环境",
"username": "admin",
"password": "<your-password>",
"purpose": "日常运维"
}
]
}
id 仅用于界面删除定位;其余字段就是页面里维护的内容。修改文件前请先备份,文件格式错误时页面会明确提示,不会自动覆盖。
accounts.json 或任何真实账号;.gitignore 已排除账号数据文件。Host 半边注册在 /api/dsh-account-manager:
| 方法 | 路径 | 作用 |
|---|---|---|
| GET | /accounts |
读取全部账号和当前文件路径 |
| POST | /accounts |
添加账号 |
| POST | /accounts/delete |
按 id 删除账号 |
dsh-account-manager/
├─ package.json
├─ cordis.patch.yml
├─ index.js # Host:JSON 读写 + 本地 HTTP 接口
├─ client.js # Client:左侧栏入口 + 整页界面
├─ locale/
│ ├─ en.json # 插件管理器显示信息
│ └─ zh.json
├─ icon.svg
└─ README.md CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。