SMPcosy/dsh-member-manager ↗★ 0
dsh-member-manager
Manage the DSH member roster from a local registry overlay AND run members like a company: departments, order dispatch, attempt credentials, audit ledger and cost accounting on top of ctx.agents/subagents — no native team layer required.
Install
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:SMPcosy/dsh-member-managerREADME
Read the full README ↗使用
第一次用? 先读 docs/28-新手使用教程.md——从建部门到验收,五分钟跑通第一单,不需要懂代码。
- 对话:
member_list/member_add管理名册;company_hire/company_admin建公司组织;company_order起单,company_plan起任务图。 - 面板:总架构(新建部门、编号/等级自定义、部门编辑、开发模式预设徽章与部门弹层「开发模式」页签)· 员工中心 · 工作流 · 备份与更新。套用「游戏开发模式」后,部门卡显示模式徽章,弹层第三页签展示 7 个岗位槽位(自动匹配在职员工)与 7 阶段流水线(目标 / 负责人 / 参与 / 交付物 / 验收门禁),可切换或清除。
- 同步核心成员:面板「同步核心成员」按钮,或调用
member_sync(HTTP 路由拿不到 Agent 凭证,需工具触发一次)。 - HTTP:
GET /api/dsh-member-manager/{health,state,skills,overrides,models,orgmap,workflow,update,backups}、POST …/op;公司化只读GET …/company/{overview,org,board,costs,orders,presets}、写POST …/company/op。
配置项
| 字段 | 默认 | 说明 |
|---|---|---|
dataDir / registryFile | ~/.dsh/storages/member-manager / {dataDir}/registry.json | 数据目录与名册文件 |
scanLocalSkills / extraSkillRoots | true / [] | 是否扫盘补技能目录、追加扫描根 |
backups | {enabled:true,keep:20,dailyKeep:7} | 名册自动备份保留策略 |
workflow | {enabled:true,persistMs:5000,retentionHours:6,tasksPollMs:3000} | 工作流采集 |
update | {enabled:true,checkOnBoot:false,autoStage:false,allowOnlineApply:false} | 分阶段自更新(不在运行中替换自身) |
enabled / company.enabled | true | 公司化总开关 |
company.autoBoot / company.provider | true / "spawn" | 非阻塞自动 boot;派工 subagent provider(写错 → NO_PROVIDER) |
company.autoLinkRoster | true | 新建部门 / 新增员工后自动登记名册(名册可用时 best-effort;失败不阻塞创建) |
company.defaultSessionPolicy / managerActsAsStaff | "per_task" / false | 会话策略;经理是否可被派活 |
company.defaultOrderMode / requireManagerReview | "async" / true | 下单模式;是否需要经理验收 |
company.limits | 见下 | {maxConcurrentPerProvider:4,maxTemps:4,budgetTokensPerDay:5000000,attemptTimeoutMs:1800000,lostReportGraceMs:120000,staleAttemptMs:3600000,schedulerIntervalMs:5000};当前仅校验与展示,并发/预算闸门尚未强制 |
company.departments / routingRules / toolPolicies | [] / [] / {} | 种子部门 / 下单路由 / 分线工具策略 |
company.levels / numbering | 内置 M1–M5、P1–P6 / E{seq:4}、D{seq:2} | 等级目录 / 编号模板(非法回退默认 + warning) |
Usage
- Chat:
member_list/member_addfor the roster;company_hire/company_adminfor the org;company_orderto dispatch,company_planto dispatch a task graph. - Panel: Overall architecture · Employee center · Workflow · Backups & updates; the "Sync core members" button or
member_syncimports core team members into the roster; the employee center shows roster-link badges (linked / unlinked / retired), filters by link status and registers one employee or a whole department into the roster (only blank fields are filled;refreshoverwrites). A department can apply the built-in "Game dev mode" preset: its card shows a mode badge and the department modal's third tab lists the 7 role slots (auto-matched to current employees) plus the 7-stage pipeline (goal / owner / participants / deliverables / acceptance gates), with switch and clear actions. - HTTP:
GET /api/dsh-member-manager/{health,state,skills,models,orgmap,workflow,backups},POST …/op; company read-onlyGET …/company/{overview,org,board,costs,orders,presets}, writePOST …/company/op.
Configuration (highlights)
dataDir · registryFile · scanLocalSkills · extraSkillRoots · backups · workflow · update · enabled · company.autoBoot · company.autoLinkRoster · company.provider ("spawn") · company.defaultSessionPolicy / managerActsAsStaff · company.defaultOrderMode / requireManagerReview · company.limits (validated and shown only; concurrency/budget gates are not enforced yet; includes schedulerIntervalMs: 5000) · company.departments / routingRules / toolPolicies · company.levels / numbering.