rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:JieCore/dsh-team-dev
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A self-contained Dev Team bundle for DeepSeek Harness. One plugin row brings three capabilities:
write, edit, team_task_update, send_message) keep working so the agent can wind down. Default onlyTeamMembers: true budgets Agent Teams teammates only — the Lead is never capped.team-dev (dev team orchestration) and team-boot (general task team) skills from the package's skills/ directory. team-dev also ships built-in engineering guidelines (skills/team-dev/guidelines.md, including a frontend list-ordering spec) with project-level overrides. Project (rank 100) and user (rank 400) skills still override these bundled ones (rank 600)./api/dsh-team-dev/teams, /api/dsh-team-dev/teams/<teamId>); nothing is written, nothing is cached, no extra runtime dependency.Zero runtime dependencies. The browser half is built to lib/client.js and loaded by the host's client module system (dsh.client).
# 1. add the dependency to the profile's package.json
# "dsh-team-dev": "file:/absolute/path/to/dsh-team-dev-0.2.0.tgz"
# or a git/npm specifier once published
# 2. list the bundle in dsh.profile.bundles (package.json)
# "dsh.profile.bundles": [..., "dsh-team-dev"]
# 3. reinstall the profile and restart DSH
cd "$DSH_HOME/profiles/web" && pnpm install
Append to the profile's cordis.patch.yml:
- insert:
- id: dsh-team-dev
name: dsh-team-dev
and add the dsh-team-dev dependency to the profile's package.json, then reinstall and restart.
ui-sidebar-right plugin, which the stock Web app does).TeamId = root SessionId). Open several conversations in parallel and you get several independent teams; the board's team selector lists them all and defaults to the team of the current session.create_worktree / git worktree add, or a copied directory for non-git projects) and records the session root plus session-level write scope on every task card; shared files allow only one session to write at a time, and cross-session conflicts are decided by the Lead.team_task_*). It refreshes every 5 s, pauses while the tab is hidden, backs off to 5/15/30 s on failures, and cancels in-flight requests on switch/refresh./api/dsh-team-dev/teams/<teamId>: because the host route registry matches exact paths, the host registers one exact route per live team after each team-list request (a ?teamId= query fallback exists for the same data).degraded: true). If the connection service itself is missing, no board routes are registered: the plugin still loads, and the board shows a load error (check the install / restart).skills/team-dev/guidelines.md — general engineering rules, contract/error-state rules, data-safety rules, ordering & naming (including §5.2 frontend list-ordering spec), this repository's contracts, and the three quality gates.AGENTS.md / CLAUDE.md / .dsh/team-guidelines.md first (highest priority); uncovered clauses fall back to the built-in file. The Lead must reference both in every task card's Inputs and Applicable guideline clauses fields.node scripts/build.mjs # host half → lib/index.js
node scripts/build-client.mjs # browser half → lib/client.js (V1–V5 assertions)
node scripts/verify.mjs # package integrity + client bundle contract
# runtime self-check after install + restart:
grep "dsh-team-dev" "$DSH_HOME/../Logs/DSH Desktop/harness.log" | tail -2
# expect: [dsh-team-dev] budget guard + bundled skills + team board installed
# then: run a teammate task that makes >25 tool calls in one turn; the 26th
# non-allowlisted call must be refused with "Step budget exhausted: ...".
Row config (defaults shown). The board is read-only and needs no configuration.
softThreshold: 20
hardThreshold: 25
allow: [write, edit, team_task_update, send_message]
include: []
exclude: []
onlyTeamMembers: true
Misconfiguration fails loudly at load (soft below 2, hard not above soft).
Remove the bundle line / patch row and the dependency, reinstall, restart. The bundled skills and the board disappear with the package; any project- or user-level skills with the same names stay.
The desktop market discovers plugins from GitHub (discovery-github-compatibility-v1).
Push this package to a public GitHub repository with the dsh.bundle.patch
manifest in package.json (already present); the market's compatibility
discovery indexes github:<repo> entries with version, enginesDsh, and
peer-dependency facts.
The hand-written guard source lives here at src/guard.ts — the single source
of truth. The host half is src/index.js + src/host/team-board.js; the
browser half is src/client/. lib/index.js and lib/client.js are build
outputs — never edit them by hand.
node scripts/build.mjs # bundle host src/ → lib/index.js + smoke check
node scripts/build-client.mjs # bundle src/client/ → lib/client.js (V1–V5)
node scripts/export-to-harness.mjs # regenerate the repository test facade
cd ../deepseek-harness && pnpm exec vitest run packages/guard/step-budget
pnpm pack # repack the tarball
export-to-harness.mjs generates the repository package
packages/guard/step-budget/src/index.ts (schemastery Config schema, identity
rows, real imports) so the harness keeps its type-check, coverage, and CI
gates and can upstream the guard later. Behavioral parity is pinned by
packages/guard/step-budget/tests/artifact-parity.spec.ts, which runs the
built lib/index.js through the same agent-loop harness as the facade.
The browser bundle format follows the host client module loader: a
window.__ModuleLoader__.load({ id, factory }) lazy-CJS wrapper with React
kept external. scripts/build-client.mjs finds esbuild from the sibling
deepseek-harness checkout (same as the host build) and hard-fails when the
bundle loses the loader wrapper, the module id, the sidebar.right.pane.tab
registration markers, or exceeds 1.5 MB.
Two channels, both supported by the DSH market:
npm (recommended) — the market discovers npm package names with their
version / enginesDsh / peer-dependency facts, and falls back to
registry.npmmirror.com for China. Zero peer dependencies here, so the
compatibility check always passes.
npm login # once; your own account
npm publish # publishes dsh-team-dev@0.2.0
GitHub mirror (optional) — a public GitHub repo enters the market's
github: compatibility list and doubles as the source page. Gitee is NOT a
market install host (its archive paths differ); keep it as a mirror only.
Before publishing, replace repository.url in package.json with your real
repo URL and bump version for each release (node scripts/verify.mjs first).
grep "dsh-team-dev" <harness.log> | tail -2 — the mount marker must appear, no import errors.node scripts/verify.mjs — package integrity (host + client contract + guidelines)./ in a session — team-dev and team-boot must appear in the menu.CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。