dsh-accounts
DSH 多租户账户与授权插件。采用 PostgreSQL 存储,提供管理员管理 API,并为每个账户分配独立的本地工作目录,作为独立插件运行,不修改 DSH 核心代码。
AI 分析
核心用途是为 DSH 引入多用户管理与权限隔离。适合需要搭建共享 DSH 服务、为不同用户提供独立工作空间和会话隔离的团队或管理员。必要条件是需配置 PostgreSQL 数据库。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kangshifu1/dsh-accounts说明文档
阅读完整 README ↗配置(profile cordis.patch.yml 内 id-targeted override)
- id: dsh-accounts
config:
secret: ""
postgres:
host: 127.0.0.1
port: 5432
database: postgres
user: your_pg_user
password: your_pg_password
schema: dsh
workspaceRoot: ~/.dsh/workspaces
seedUsers:
admin:
password: "scrypt$..."
role: admin