Bundle
dsh-prompt-vcs
Every change to your agent's instructions is recorded with a diff, and any change can be undone.
- Source
- hj01857655
- License
- MIT
- Updated
- Updated 4 days ago
Readme
# dsh-prompt-vcs [](https://www.npmjs.com/package/dsh-prompt-vcs) [](https://www.npmjs.com/package/dsh-prompt-vcs) [](https://github.com/hj01857655/dsh-prompt-vcs/actions/workflows/ci.yml) [](LICENSE) [](package.json) [](https://github.com/hj01857655/dsh-prompt-vcs/stargazers) [](https://github.com/topics/dsh-plugin) Every change to your agent's instructions is recorded with a diff, and any change can be undone. ## Install ```sh 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 log` shows every change: when, what file, who changed it. - **Diff.** `promptvcs diff <hash>` shows the unified diff for a specific change. - **Rollback.** `promptvcs rollback <hash>` restores a file to its state before a change. - **Panel.** Timeline with inline diffs and rollback button. ## CLI ```sh dsh-prompt-vcs log # show change history dsh-prompt-vcs diff <hash> # show diff for a change dsh-prompt-vcs rollback <hash> # undo a change ``` ## License MIT
Install
dsh plugin --profile web add github:hj01857655/dsh-prompt-vcs
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install dsh-prompt-vcs from the hub
- This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.
- This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.