rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:badpx/dsh-plugin-git-blame
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
A DeepSeek Harness plugin. When a text or source file is opened in the right
sidebar's file preview, hovering a line shows a small card with that line's
git blame information (author, short commit hash, date, and commit summary).

Requires DeepSeek Harness; this plugin targets DSH ^0.2.1-rc.5.
dsh-plugin-git-blame, or run dsh plugin add dsh-plugin-git-blame.dsh plugin add github:badpx/dsh-plugin-git-blame.DSH does not crawl GitHub or npm on its own. Third-party plugins are surfaced by
the experimental plugin market: a Discover tab that reads plugin market
index JSON documents whose URLs you add in Settings. The index follows format 1
of @deepseek-ai/dsh-plugin-market-index; its plugins[].versions[].source is
either { "type": "npm" } or a git entry pinned to a full 40-hex commit:
{
"format": 1,
"title": { "en": "My DSH plugins" },
"plugins": [
{
"name": "dsh-plugin-git-blame",
"title": { "en": "Git Blame" },
"description": { "en": "Inline git blame gutter and hover bubble in the file preview." },
"repository": { "url": "https://github.com/badpx/dsh-plugin-git-blame" },
"icon": "https://raw.githubusercontent.com/badpx/dsh-plugin-git-blame/main/icon.svg",
"versions": [
{
"version": "0.1.0",
"publishTimestamp": 1740000000,
"source": {
"type": "git",
"url": "https://github.com/badpx/dsh-plugin-git-blame",
"commit": "<40-hex-commit-sha>"
}
}
]
}
]
}
Host the index over https and add that URL in the Discover/Settings UI. This
repository ships a ready-made market-index.json; add its
raw URL
https://raw.githubusercontent.com/badpx/dsh-plugin-git-blame/main/market-index.json
as an index source. After publishing to npm you can switch a version to
"source": { "type": "npm" } (the installer builds the exact name@version).
Git sources are commit-pinned, so refresh the commit on each release.
index.js): registers GET /plugin/git-blame?sessionId=&path=&line=.
It resolves the file against the Session's working directory, runs
git blame --line-porcelain -L <line>,<line> -- <file>, and returns JSON.
Only files inside the Session working directory are eligible.client.js): registers one occupant of shell.overlay. A
pointer-move listener detects when the pointer is over a line in
[data-code-preview] or [data-textpreview-plain] inside the right sidebar,
maps the hovered tab to its dsh-resource://file/... address, and asks the
Host route for the blame of that line.A toggle button in the preview header turns the inline blame column on or off and remembers the choice. Both the toggle and the column only appear for files that are text and tracked by Git; untracked or binary files show neither.
For the built-in highlighted code preview the plugin injects a fixed-width
gutter column just left of the line numbers. Each row shows date + author
(truncated with an ellipsis), and rows are tinted by commit SHA so the same
commit shares one colour. Hovering that column shows the blame bubble; hovering
the code lines themselves shows nothing.
A shortcut command "显示/关闭 Git Blame 气泡" is registered but left unbound; assign it a key in Settings → Shortcuts, and the current keycaps appear in the toggle's tooltip.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。