rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:thirsty5034/dsh-git-forge
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
DeepSeek Harness community plugin: forge accounts + per-project grants + push policy in dsh-better-sidebar.
projectPathKey = workspace cwd) git push / git remote add|set-url to non-granted hosts $DSH_HOME/git-forge/secrets.json (0600) — never in model context GitForge (read-only policy) git fetch/push can use the matching account via a Host-only credential helper (tokens never enter the model; R1 = exactly one granted token account per host). Optional authMethod=oauth: authorize once in a system browser at account save; later agent git uses a stored refresh (never opens a browser). PAT wins if both are granted. SSH remotes and system gh auth still use local SSH/gh. HTTPS under DSH agent shells is filled by this plugin’s helper from project grants; the push guard still decides where a project may push.
macOS / Linux (Git Bash / WSL on Windows also works):
curl -fsSL https://raw.githubusercontent.com/thirsty5034/dsh-git-forge/main/scripts/install.sh | bash
Windows (PowerShell 5.1+ / pwsh):
irm https://raw.githubusercontent.com/thirsty5034/dsh-git-forge/main/scripts/install.ps1 | iex
Or via DSH CLI directly (GitHub source until the package is on npm):
export DSH_HOME=${DSH_HOME:-$HOME/.dsh}
dsh plugin --profile web add "dsh-git-forge@github:thirsty5034/dsh-git-forge"
dsh --profile web --dump-config | grep git-forge
After install: restart DSH web, then hard-refresh the browser (Cmd/Ctrl+Shift+R).
# pin ref
curl -fsSL .../install.sh | bash -s main --restart
bash scripts/install.sh --from npm 0.1.1 # after npm publish
# local checkout
dsh plugin --profile web add "dsh-git-forge@link:/path/to/dsh-git-forge"
# or: ./scripts/sync-to-dsh.sh && dsh plugin add "dsh-git-forge@link:$DSH_HOME/local-plugins/dsh-git-forge"
dsh-plugin, deepseek-harness, dsh (required for dsh.so auto-index)Under $DSH_HOME/git-forge/:
| File | Purpose |
|---|---|
accounts.json |
Account metadata (no tokens) |
secrets.json |
Tokens (0600) |
grants.json |
projectPathKey → accountIds[] + enforce policy |
GitForge action=list_accounts
GitForge action=get_policy
GitForge action=list_project_accounts
GitForge action=check_remote url=git@github.com:org/repo.git
DSH_GIT_FORGE_PROJECT in agent shells), not nested package path env → exact cwd → walk parents under /workspace configure; loopback authorize must reach the DSH host git push / git push origin (resolves remote URL)tools.guard npm test
npm run check
./scripts/sync-to-dsh.sh # optional: copy into $DSH_HOME/local-plugins
MIT — see LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。