rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:LiuQhahah/dsh-commit-review
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Turns "what did the agents actually change in this session?" into a permanent sidebar tab, organised by commit message.
Read-only by design: the plugin only runs git log / git show /
git rev-parse. It never stages, commits, or writes anything.
Chinese version: README.zh-CN.md

A — the bottom panel is still empty: click Expand bottom panel (top-right,
⌃`). A row of cards appears; click Commit review.
B — the bottom panel already has a tab in it: the cards are gone and only
the tab strip is left. Click the small + at the far left of the bottom
panel's own tab strip — Commit review is in that menu.
There are two identical
+buttons on screen. The one in the window's top-right corner opens a new session tab; the one you want is inside the bottom panel, flush against its left edge.
C — right sidebar: click Open right sidebar (top-right,
⇧⌘B) and click Commit review in the list.
The trap: the cards from A only render while the panel has no tabs at all. Open
TerminalorGitin it once and they disappear permanently — DSH persists the layout. That does not mean the plugin failed to load; use the+menu from B.

Right sidebar → the "Commit review" tab:
since / until by hand.+N/−M.AbortController cancellation; oversized diffs are truncated).# Use this directory's absolute path as the target
# (the example assumes you cloned to ~/dsh-plugins/commit-review)
dsh plugin --profile web add "$(pwd)"
Or have the agent call plugin_manager's install_bundle with this
directory's absolute path as the target.
You must restart dsh web after installing so the host routes load, then
hard-refresh the browser (Cmd+Shift+R). dsh plugin installs the package into
the profile as a link:, so editing the source here and restarting is enough —
no reinstall needed.
Writing to
~/.dshneeds elevated permission; ifdsh pluginfails with a permission error, retry withdanger-full-access.
| File | Purpose |
|---|---|
index.js |
Host half: registers the three read-only GET /api/commit-review/{repos,summary,diff} routes |
client.js |
Client half: registers the tab with dsh-better-sidebar and renders the commit list and diffs |
cordis.patch.yml |
Bundle patch that inserts this package into the host composition |
locale/{en,zh}.json |
Plugin metadata (tab title and description) |
Host and Client share one literal prefix, api/commit-review. The Client uses a
same-origin relative path with no leading slash.
The git log record separator must OPEN the format, not close it.
--numstat appends its file rows after the format output, so a trailing
\u001e pushes every commit's file rows into the next record — and every
commit ends up showing files=0 +0/−0. Correct form:
\x1e%H\x1f%aI\x1f%s\x1f%b.
Read ctx.sessions from the context inside the inject callback.
A cordis service is only readable from the fiber that declared it; reading it
from the outer apply(ctx) context throws
cannot get property "sessions" without inject, which surfaces as an HTTP 400
on the routes. All three handlers therefore take scoped from
ctx.inject(['webServer','sessions'], (scoped) => …) and pass scoped into
sessionCwd().
SessionStore.get(id) only returns sessions live in process memory. After a
server restart an older session is no longer in memory, so resolving the
workspace from sessionId alone fails. The Client therefore also sends the
sidebar scope's cwd, and the Host falls back to it when the session is not in
memory (sessionCwd(scoped, sessionId, explicit)).
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。