hj01857655/dsh-prompt-vcs ↗★ 0
dsh-prompt-vcs
记录并对比智能体指令的每次修改 适合需要版本控制和撤销智能体指令修改的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hj01857655/dsh-prompt-vcs說明文件
閱讀完整 README ↗dsh-prompt-vcs
Every change to your agent's instructions is recorded with a diff, and any change can be undone.
Install
dsh plugin --profile web add dsh-prompt-vcs
What it does
- Watch the instruction surface.
AGENTS.md,CLAUDE.md, skill files. - Snapshot on change. Unified diff + attribution (user / plugin / agent) stored in
.promptvcs/history.jsonl. - Timeline.
promptvcs logshows every change: when, what file, who changed it. - Diff.
promptvcs diffshows the unified diff for a specific change. - Rollback.
promptvcs rollbackrestores a file to its state before a change. - Panel. Timeline with inline diffs and rollback button.
CLI
dsh-prompt-vcs log # show change history
dsh-prompt-vcs diff # show diff for a change
dsh-prompt-vcs rollback # undo a change
License
MIT