rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:simin-xxm/dsh-plugin-git-commits
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A DeepSeek Harness plugin that adds a Git commits entry to the Web UI sidebar. Browse commit history, compare file diffs, stage and commit your changes, and sync, pull, or push the current branch — without leaving the app.
A M D R U badges and +n / -n counts⌘/Ctrl + Enter commits, and only staged changes are committed; the button shows the file countgit fetch --all --prune and shows ↓n (behind) / ↑n (ahead) badges--autostash so uncommitted work is preserved-u origin HEADgit rebase --abort / merge --abort)dsh plugin add dsh-plugin-git-commits
Install into a specific profile (each profile is independent):
dsh plugin --profile web add dsh-plugin-git-commits
Restart the dsh web host after installing so the bundle is mounted, then verify:
dsh plugins list
Requires git on the PATH. If it lives elsewhere, point DSH_GIT_BINARY at its absolute path.
| Half | File | Role |
|---|---|---|
| Host | index.js |
Read route /git-commits-api (resource, GET/HEAD) and write route /git-commits-write (raw handler, POST) |
| Client | client.js |
sidebar.footer.action trigger button and shell.overlay drawer panel |
| Display | locale/*.json, icon.svg |
Plugin Manager title, description, and icon |
Read endpoints (GET, JSON):
GET /git-commits-api/workspaces
GET /git-commits-api/status?path=<dir>
GET /git-commits-api/log?path=<dir>&limit=30&skip=0
GET /git-commits-api/files?path=<dir>&hash=<commit>
GET /git-commits-api/diff?path=<dir>&hash=<commit>&file=<path>
GET /git-commits-api/workdiff?path=<dir>&file=<path>&staged=0|1
Write endpoints (POST, JSON body):
POST /git-commits-write/stage?path=<dir> { "files": ["a"] } | { "all": true }
POST /git-commits-write/unstage?path=<dir> { "files": ["a"] } | { "all": true }
POST /git-commits-write/commit?path=<dir> { "message": "feat: ..." }
POST /git-commits-write/fetch?path=<dir> {}
POST /git-commits-write/pull?path=<dir> { "mode": "rebase" | "merge" }
POST /git-commits-write/push?path=<dir> {}
POST /git-commits-write/abort?path=<dir> {}
fetch returns ahead, behind, and incoming (the commits the remote has that the local branch does not). A failed pull returns conflicts, the conflicted file paths.
workspaceRegistry (plus the profile's default directory). Any other path is rejected with 403..., and leading - are all refused.Origin must match Host); reads accept only GET and HEAD.git invocation goes through an argv array, never a shell. Writes time out after 120s, reads after 20s.--autostash to protect uncommitted changes.CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。