Preface¶
In DeepSeek Harness (DSH), a session usually corresponds to one assistant and one set of tools. When doing content operations or in multi-person collaboration, a common practice is to open multiple windows and rely on verbal agreements about who registers materials, who writes, and who publishes—the process is prone to skipping steps, and states are scattered across chat records.
The dsh-team-employees described below (maintained by syc67169-source) extends Harness from “one assistant” into a multi-employee collaborative team: it has employee badges and a roster, a content pipeline that advances through stages, a gate that only humans can press, and an office interface that reflects the real session status. The plugin is categorized as workflow, with the current npm package version at 0.5.0 and the license being MIT.
What is this¶
In one sentence: it registers five employee presets (Intelligence, Topic Selection, Drafting, Data, Review) in DSH, and they collaborate using a JSON roster and a plain-text ledger. Content flows from material registration to publication confirmation and post-publication data collection, with mandatory human adjudication in the middle. The sidebar provides an “Office” overview showing the status of workstations in each department.
Unlike “wrapping another layer of chat UI around it”, the plugin emphasizes three design trade-offs in the README: a human tool gate (ctx.tools.guard() intercepts employee calls to content_gate), not outsourcing to the model what can be done with code (for example, content_render only registers parameters), and status honesty (“on the clock” is determined by whether that employee’s session is actually in a turn, and ledger data that cannot be read is not fabricated).
Core Features¶
Employees and Roster¶
The five agent presets (modes) and workstations are as follows (the model is determined by the session selector; the model in the roster is only a note and is not responsible for routing):
| Workstation | Mode ID | Responsibilities | Toolset |
|---|---|---|---|
| Intelligence Employee · Ayán | scout |
Find materials, verify authorization, register | Search + File + Content tools |
| Topic Selection Employee · Ashāi | select |
Score, rank, provide priors | File + Content tools |
| Drafting Employee · Axiě | write |
Scripts and titles | File + Content tools |
| Data Employee · Axī | measure |
Post-publication collection, reconciliation, recalculate weights | File + Shell + Content tools |
| Review Employee · Ashěn | reviewer |
Code review (unrelated to the content line) | File + Shell |
Roster file: $DSH_HOME/team/employees.json. In the client, go to Settings → Employees to add, delete, or modify entries; if a badge is missing, a copyable configuration snippet will be provided.
Team common tools: team_roster (view roster), team_log (write work records), team_inbox (read collaboration progress). Content pipeline tools include content_new, content_score, content_script, content_render, content_queue, content_gate (humans only), content_publish, metrics_pull, weights, cost_report, etc. For field and state machine details, see docs/内容流水线编排设计.md in the repository.
Content Pipeline¶
The stage order is fixed, and steps cannot be skipped:
Material registration → Scoring → Scriptwriting → Production plan → Human adjudication → Publishing package → Real publication confirmation → Post-publication collection → Recalculate weights.
content_publish only prepares a local publishing package and does not touch platform APIs; an entry enters the published state only after the human completes signature review in the Office, fills in the real publication link/record, and confirms. An employee with local file/terminal permissions can still modify data directly; the gate prevents “employee self-approval”, not system-level permission isolation.
Office Interface¶
The sidebar has an “Office” entry, and the full page displays workstations in six departments: On the clock, Standing by, Vacant, Waiting for you. The status comes from real sessions, not decorative animations. The Office provides a manual review entry.
Long-term Research Responsibilities (0.5.0)¶
An independent local background process can check public web pages at scheduled times, use the Harness headless model to generate briefs, retain memory from the last time, and highlight changes; it can continue running after closing the desktop application (it cannot continue when the computer is shut down or in sleep mode). Go to Office → Long-term Research Employee → New Long-term Responsibility, fill in the goal and 1-5 public URLs that don’t require login, and set the interval and daily model wake-up limit; it is paused by default after saving. First, click Execute Once Now to create the first brief, then Enable Periodic Check for continuous operation. The local first version runs only one responsibility at a time; it supports text, HTML, JSON, and RSS/Atom, but does not yet support pages that require login or browser rendering. For details, see docs/always-on-research.md in the repository.
Data Directory¶
All team data is in $DSH_HOME/team/, in plain text, which can be directly viewed, modified, or included in version control:
$DSH_HOME/team/
├── employees.json Roster
├── journal.jsonl Team work log
├── content/
│ ├── index.jsonl
│ └── <id>/ item.json / events.jsonl / script.md / render.json / publish.json
└── metrics/
├── <id>.json
└── weights.json
Installation and Activation¶
Requires Node 20+ and a runnable DeepSeek Harness. The plugin is written for the DSH 0.2.0-rc.2 runtime. If the host interface changes, the plugin needs to be upgraded accordingly and self-checks must be re-run.
Method 1: Local directory link (most convenient for code changes)
git clone https://github.com/syc67169-source/dsh-team-employees.git
cd dsh-team-employees
node bin/link-into-profile.mjs --dry-run # First see what will be changed, without writing to disk
node bin/link-into-profile.mjs # Install into the desktop profile
The script will add a link: dependency to ~/.dsh/profiles/<profile>/package.json, append the plugin name to dsh.profile.bundles, and create a symlink in the profile’s node_modules (the original package.json is backed up as package.json.team.bak). It takes effect after you completely exit DSH and reopen it; use --remove to uninstall.
Method 2: Manually modify the profile
Add the dependency and bundle to ~/.dsh/profiles/<profile>/package.json:
{
"dependencies": { "dsh-team-employees": "github:syc67169-source/dsh-team-employees" },
"dsh": { "profile": { "bundles": ["…existing…", "dsh-team-employees"] } }
}
Run pnpm install in that profile directory. For the desktop version: dsh plugin --profile desktop will be rejected by the CLI, so you need to modify the profile manually or use the script above.
After installation, it is recommended to verify according to the README:
- Completely exit DSH and reopen it.
- The “Office” appears in the sidebar → Six department workstations.
- Settings → Employees shows the roster.
- Create a new session → The mode dropdown shows five employees.
- Select “Intelligence Employee · Ayán”, ask “Who is in the team now” (it will call
team_roster); then register a material, return to the Office to refresh, and the Intelligence Department workstation should show “On the clock”.
Typical Usage¶
Collaborative handover: Each employee writes records via team_log, and others use team_inbox to check progress; content entries retain events and scripts under $DSH_HOME/team/content/ by ID.
Run a piece of content: Register via content_new in the Intelligence role → Score via content_score in the Topic Selection role → Write the script via content_script in the Drafting role → Register the production plan via content_render (the README explains that bin/render.mjs is not yet implemented, and ffmpeg transcoding is future work) → Human review in the Office or on the gate side → content_publish generates the publishing package → After the human confirms real publication, the Data role uses metrics_pull and weights for post-publication collection and weight calculation.
Long-term research: Create a responsibility in the Office, run it once for a test, then enable periodic checks; pausing will cancel the currently executing task.
Developers can self-check in the plugin directory (without consuming real model quota):
npm test
When DSH is not running, you can use npm run preview to render interfaces like the Office to docs/preview.html to view the layout.
Applicable Scenarios and Notes¶
Who it’s for: People who are already using DSH, want to manage content pipelines with fixed roles and state machines, and are willing to personally operate at key nodes (review, real publication); also suitable for teams that want to distinguish between “four content roles + one code review role” within a single Harness.
Please note before installation:
- The plugin runs with the permissions of the current DSH process. Before installation, you should read the source code and the MIT license to confirm that the toolset (including shell and file access) meets your security expectations.
- The gate relies on the host’s internal field
exec.agentto distinguish between humans and employees; after upgrading DSH, re-runnpm testto confirm that the interception is still effective. - The ledger
.dshw-usage.jsonis best-effort; if it cannot be read, the interface will truthfully display “cannot read”; platform revenue (USD) and the ledger (RMB) are not merged into a net amount if no exchange rate is set. - The plugin does not auto-publish, does not support batch multi-account operations, and does not bypass platform risk controls; the community directory SkillHub Plugin Page and GitHub repository are maintained by the community and are not officially affiliated with DeepSeek / High-Flyer.
Conclusion¶
dsh-team-employees consolidates the roster, logs, content state machine, and Office UI into $DSH_HOME/team/, allowing multi-session division of labor to share a common ledger and human gate, instead of having multiple unrelated assistant windows.
- Community directory: https://www.skillhub.cn/plugins/syc67169-source/dsh-team-employees
- Source code and README: https://github.com/syc67169-source/dsh-team-employees