rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:DevViking-Persike/dsh-git-graph
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A Git commit-graph view for DeepSeek Harness: a dock button beside the chat input opens the history as a lane graph — branches, merges, refs — plus the worktree list. The agent gets the same topology through two tools.
dsh plugin --profile web add github:DevViking-Persike/dsh-git-graph
Restart dsh. A ⎇ grafo button appears beside the conversation input; type the repository path and press it. Read-only tools are active immediately.
*.[detached], or [bare] state.limit config changes the default.| Tool | What it does |
|---|---|
git_graph |
History with lanes, parents, refs, and worktrees as one-line summaries the model can reason over. |
git_worktree |
Lists worktrees with their branches. |
Every field is optional.
| Field | Default | Meaning |
|---|---|---|
limit |
300 |
History depth for tools and the route default. |
route |
/git-graph |
Path the browser half fetches. |
- id: dsh-git-graph
name: 'dsh-git-graph'
config:
limit: 500
The host half queries git log --format (hash, parents, author, timestamp, subject), for-each-ref, symbolic-ref, and worktree list --porcelain through the harness subprocess seam — fixed argv, no shell — assigns lanes newest-first, and serves the same JSON document to both the model tools and one HTTP route. The browser half registers into conversation.input.dock and renders the graph as SVG with no build step.
Lane assignment follows one rule: first registration wins a parent's lane. Walking newest-first, each lane waits for one next commit; when two children name the same parent, the child processed first claims the parent's lane and the other curves into it — the same behavior common commit-graph renderers use, and the property that keeps freed lanes reused instead of growing without bound.
GET only and quotes git's own diagnosis (for example not a git repository) on failure — never a stack trace.limit, default 300); a very large repository shows its newest slice, not everything.HEAD as its own marker and not stash entries.node --test test/*.test.js
23 tests, no network. Data tests run against a real temporary git repository with real commits and a real merge — a hand-written fixture could agree with the parser while disagreeing with git. Client tests load the module through the real module-loader format with a minimal React fake.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。