rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:JEESZZLY/dsh-sansheng-liubu
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
Sansheng Liubu — a Three Departments & Six Ministries board for DSH agent teams.
A session-page tab, a left-rail entry and a full-page panel that render DSH's agentTeam projection the way a Tang court was drawn: 中书省 (drafting), 门下省 (review) and 尚书省 (dispatch) on top, the six ministries below, and a three-column task board at the bottom. When team data first arrives — or the task count grows — a yellow imperial edict unrolls across the header.
react from the host whitelist; no external fonts or images.uiWorkspace service.lib/index.js is an empty apply — it only exists so the Loader recognises the package.| Area | Content |
|---|---|
| Header | 「三省六部 · N 官 · M 事」and the 「圣旨」 replay button. A ws:yes/no · sid:yes/no diagnostic tail (and a props keys tooltip) appears only after you set window.__SANSHENG_DEBUG__ = true in the console and reload |
| Three departments | 中书省 (drafting) / 门下省 (review) / 尚书省 (dispatch), one line per member: office + English target |
| Six ministries | 吏部 / 户部 / 礼部 / 兵部 / 刑部 / 工部 — 「无人」 when nobody is seated there |
| Tasks | 待办 / 在办 / 已成; the completed column is collapsed by default and scrolls |
| Edict | unrolls once when data first appears, again when the task count grows; the 「圣旨」 button replays it |
Office mapping: the exact table (OFFICE_EXACT) wins, then the member-name prefixes (zhongshu- / menxia- / shangshu- / personnel- / hubu- / rites- / bingbu- / xingbu- / gongbu-), otherwise 「未授官」.
dsh plugin add dsh-sansheng-liubu
Manual, when pnpm cannot run: copy package.json, cordis.patch.yml and lib/ into node_modules/dsh-sansheng-liubu/ inside the target profile, then append "dsh-sansheng-liubu" to dsh.profile.bundles in that profile's package.json. This is not a real dependency — a later pnpm install treats it as extraneous and removes it.
Restart the desktop app; 「三省六部」 shows up as a tab in any session, and as an entry in the left rail. Nothing is registered before a restart.
Remove "dsh-sansheng-liubu" from dsh.profile.bundles, delete node_modules/dsh-sansheng-liubu/, restart.
engines.dsh = >=0.2.1-rc.1 <0.3.0-0. Inside that range the plugin is expected to load; outside it nothing is promised, and a 0.3 host will almost certainly need changes.dsh.client.inject names the internal package @deepseek-ai/dsh-client-ui-conversation. That is a host-internal name, not a public API — a host upgrade may rename it, and a rename breaks this plugin silently.conversation.view, sidebar.panellist and main come from the host layout and are pinned to the range above, not to a permanent contract.agentTeam projection (props.useProjection('agentTeam') → { members, tasks }) and a snapshot of the session list (byId / projectionsBySession) for the running lamp.uiWorkspace service. The plugin asks the host to open a session; it does not read that session's contents.sessions.subagentAddress(sid).parentSessionId and reads that projection; when it cannot, the board says 「加载中」 instead of guessing.sessionId; that view offers a session picker with the first session preselected.slots.register is called with label as a function and without locale; if a future host validates the options strictly, the registration is swallowed by the local try/catch and the tab simply never appears.tools/install.ps1 and tools/pack.ps1 are Windows PowerShell 5.1 helper scripts with machine-local paths hardcoded (D:\DSH\.dsh\profiles\desktop\, D:\DSH\skills\store\). On another machine, edit them or just use dsh plugin add — they are not part of the published package.MIT License.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。