Introduction¶
When running multi-agent collaboration in DSH (DeepSeek Harness), team status often falls onto projection data like agentTeam: knowing who the members are and which column a task belongs to often requires piecing it together from the conversation interface or logs. Pure lists or tree structures are readable, but it’s hard to distinguish hierarchical divisions like “drafting—review—dispatch” at a glance.
dsh-sansheng-liubu (Three Provinces and Six Ministries) renders the host’s existing agentTeam projection onto a read-only dashboard: the upper row consists of the Three Provinces, the lower row of the Six Ministries, and the bottom has a three-column task bar; it also plays an “Imperial Decree” expansion animation when data first arrives or the number of tasks increases. It does not dispatch work or modify tasks; it only handles presentation. Switching sessions still uses the host’s built-in uiWorkspace service.
Below, we explain how to integrate it according to positioning, capabilities, installation, and precautions.
What is this¶
- Name:
dsh-sansheng-liubu(Three Provinces and Six Ministries Dashboard) - Maintainer: JEESZZLY
- Category: Workflow (DSH Community Directory Classification)
- Version (
package.json):0.1.0 - License: MIT
The plugin provides a Tab on the conversation page, an entry point in the left sidebar, and supports a fullscreen panel; the apply in lib/index.js on the host side is empty, used only by the Loader to identify the package name, with all logic injected into the frontend client.
Core Features¶
Interface Partitioning¶
| Area | Content |
|---|---|
| Header | “Three Provinces and Six Ministries · N Officials · M Tasks”; “Imperial Decree” replay button |
| Three Provinces | Zhongshu Sheng (drafting) / Menxia Sheng (review) / Shangshu Sheng (dispatch), one row per member: Title + English target |
| Six Ministries | Li / Hu / Li / Bing / Xing / Gong; empty slots display “No Office Assigned” |
| Tasks | To Do / In Progress / Done; “Done” column is folded by default and scrollable |
| Decree | Expands once when data first appears or the number of tasks grows; can be replayed using the button in the header |
Data and Behavior¶
- Reads
{ members, tasks }viaprops.useProjection('agentTeam'), and reads session list snapshots (byId/projectionsBySession) for runtime indicators. - Zero extra dependencies: Only uses
reactfrom the host whitelist; does not import external fonts or images. - Read-only: Does not create/modify/delete tasks or members, does not call other plugins; session switching is handled by the host’s
uiWorkspace. - Office mapping: Matches against the exact table
OFFICE_EXACTfirst, then by member name prefix (e.g.,zhongshu-,menxia-,shangshu-,personnel-,hubu-, etc.), otherwise displays “No Office Assigned”.
Debugging (Optional)¶
After setting window.__SANSHENG_DEBUG__ = true in the browser console and refreshing, the header will carry a diagnostic tail ws:yes/no · sid:yes/no, and props keys will be displayed in the tooltip; these fields are not shown in the default user interface.
Installation and Activation¶
The official installation command is as follows (from README, do not use github:owner/repo format):
dsh plugin add dsh-sansheng-liubu
When the environment cannot execute pnpm, you can manually copy package.json, cordis.patch.yml, and lib/ to node_modules/dsh-sansheng-liubu/ under the target profile, and append "dsh-sansheng-liubu" to dsh.profile.bundles in that profile’s package.json. The README notes: this is not a real dependency, and subsequent pnpm install might delete it as extraneous.
After installation, restart the desktop client; Tabs and sidebar entries will not be registered until restarted. “Three Provinces and Six Ministries” will appear in the Tab of any session, as well as the sidebar entry.
Uninstallation¶
- Remove
"dsh-sansheng-liubu"fromdsh.profile.bundles. - Delete
node_modules/dsh-sansheng-liubu/. - Restart the application.
Typical Usage¶
The README does not provide a separate business example script; the reproduction path is as follows:
- Install the plugin and restart in a compatible DSH host (see version range below).
- Open a session with Lead session team data (sub-sessions will find the Lead via
sessions.subagentAddress(sid).parentSessionIdand then read the projection; “Loading…” is shown if not found). - Enter “Three Provinces and Six Ministries” via the session Tab or sidebar to view member distribution and the three task columns.
- Observe the header “Imperial Decree” animation when the number of tasks increases or data appears for the first time; use the “Imperial Decree” button to replay if needed.
- When opened in the main panel slot (root level, no
sessionId), use the built-in session selector (defaults to selecting the first session).
Applicable Scenarios and Notes¶
Who is it for¶
- Developers using
agentTeamorchestration in DSH who want to quickly scan “office + task columns” with a fixed layout. - Users who need a display-type plugin that is pure frontend, telemetry-free, and does not write back session data, and do not want the plugin to change task states on their behalf.
Compatibility¶
- Host Engine:
engines.dshis>=0.2.1-rc.1 <0.3.0-0; version0.3on the main branch will likely require plugin modification. - Client Injection Point:
dsh.client.injectpoints to the internal package name@deepseek-ai/dsh-client-ui-conversation(non-public API, host renaming may cause silent failure). - Layout Slots:
conversation.view,sidebar.panellist,mainare bound by the version range above, not a permanent contract. - The README explicitly states: No end-to-end runtime verification has been performed; behavioral descriptions are from source code reading, not browser test results.
Privacy and Security¶
The plugin runs with the permissions of the current DSH process; it is recommended to check the GitHub repository source code and MIT license before installing. According to the README: it does not write to session data, sends no network requests, and has no telemetry; the only mutable state is local DOM (column expansion, description expansion, etc.). Switching sessions only requests the host to open the session and does not read the content of that session.
Known Limitations (from official notes)¶
- The dashboard is read-only; cannot create cards, change status, or delete.
- Team data only exists fully in Lead sessions; sub-sessions rely on the parent session projection.
- If
slots.registeris incompatible with future host validation, it might be swallowed by localtry/catch, causing the Tab not to appear. tools/install.ps1andtools/pack.ps1inside the repository are Windows local path helper scripts and are not necessary steps for the release package.
The DSH ecosystem follows the philosophy of “everything is a plugin”; the community directory site SkillHub Plugin Page is an independent listing, with no official affiliation to DeepSeek / HF.
Conclusion¶
dsh-sansheng-liubu maps the existing agentTeam projection to a read-only “Three Provinces and Six Ministries” dashboard, suitable for quickly aligning member division of labor and task columns within a conversation without intervening in the scheduling itself. The installation command is dsh plugin add dsh-sansheng-liubu; the client must be restarted after activation.
- Community Directory: https://www.skillhub.cn/plugins/JEESZZLY/dsh-sansheng-liubu
- Source Code and Docs: https://github.com/JEESZZLY/dsh-sansheng-liubu