rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Qcsj777/dsh-worktree-branch
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Codex-style Location / Branch switchers on the New Session screen of DeepSeek Harness, for workspaces that are git repositories.
在 DSH「新建会话」页给 git 工作区加一块 Codex 风格的「工作位置 / 分支」chip: 直接切 worktree、切分支、新建分支,git 事实与副作用全部由 Host 半执行 (写操作走该会话的沙箱策略)。
git check-ref-format.GIT_* selectors (GIT_DIR, GIT_WORK_TREE,
GIT_INDEX_FILE, …) so a user shell cannot redirect the command to another
repository; write operations (switch, switch -c, worktree add) are
wrapped in the session's sandbox policy.From GitHub:
dsh plugin --profile desktop add github:Qcsj777/dsh-worktree-branch
As a local link during development:
// ~/.dsh/profiles/<profile>/package.json
"dependencies": {
"dsh-worktree-branch": "link:D:/path/to/worktree-branch"
}
The package ships its own Cordis patch (cordis.patch.yml) that inserts the
host half with id worktree-branch. git must be on PATH.
Third-party bundles cannot add Remote namespaces, and a installed bundle's
client half cannot call its own host half through host.call, so the two halves
talk over same-origin HTTP:
GET /worktree-branch/state?session=<id>&cwd=<path>
POST /worktree-branch/action { sessionId, cwd, action, name?, path? }
action is one of create-worktree, use-worktree, switch-branch,
create-branch. The state payload is
{ repo, cwd, repoRoot, currentBranch, head, branches[], worktrees[], mainPath, atMain }.
client.js): registers the chip on
conversation.hero.options, only on the New Session screen.index.js): injects webServer, subprocess, sandbox,
sandboxPolicy, worktrees, sessionController, sessions,
workingDirectory; owns the routes above.node check.mjs # self-check for git-parse.mjs
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。