Introduction¶
DeepSeek Harness (dsh) ships a plugin in the right sidebar called Change Tour. It translates what the Agent changed in each turn into a plain-language “guided tour” map. An Agent might modify a dozen or more files in a single turn—developers who write code have to inspect each diff line by line, while non-developers can only rely on gut feeling and hit “Accept.” Change Tour organizes every turn’s modifications into a single “tour map.”
What Is This¶
dsh-change-tour is a DeepSeek Harness plugin maintained by qinghuidaqzp. It reads the change logs built into dsh and displays each turn’s file modifications, risk flags, and optional model-generated explanations in the right sidebar.
Core Features¶
Change Overview¶
The plugin lists which files were modified in the current turn—whether each file was created, modified, or deleted—and how many lines were added or removed. Click “View Diff” to expand a line-by-line comparison.
Risk Flags¶
The plugin performs rule-based checks locally and assigns labels such as “Caution,” “Worth Checking,” or “No Issues Found.” The following situations trigger flags:
| Flag | Level | When It Appears |
|---|---|---|
| Possible credential leak | Caution | New content contains strings resembling API keys, GitHub tokens, AWS secrets, private keys, or password = "…" |
| .env file modified | Caution | Changes to .env, .env.local, or similar files |
| Install-time scripts added | Caution | New install / postinstall / prepare scripts in package.json |
| File deleted | Worth Checking | An entire file was removed |
| N lines deleted | Worth Checking | A single file lost 80+ lines, or deletions far outnumber additions |
| Tests deleted / N tests lost | Worth Checking | Test files were removed, or test case count decreased |
| Tests skipped | Worth Checking | New .skip, xit, @pytest.mark.skip, .only, etc. were added |
| Dependencies changed | Worth Checking | Changes to package.json, requirements.txt, go.mod, Cargo.toml, etc. |
| CI / auto-deploy modified | Worth Checking | Changes to .github/workflows, .gitlab-ci.yml, etc. |
| Database schema | Worth Checking | Changes to files under migrations/ or .sql files |
| Files outside workspace | Worth Checking | Modifications occurred outside the current workspace |
| New files, config files, lock files, binary files | Info | Informational only; not flagged as an issue |
Plain-Language Explanation¶
Click “Explain This Turn in Plain Language” and the plugin sends the turn’s changes to the model you use in dsh. The model generates a summary, a one-line description per file, and a list of “things worth your personal inspection.” By default it uses the most recently used model in this session; you can also specify one in the configuration.
Installation & Activation¶
Requires dsh ≥ 0.2.0; tested on 0.2.2-rc.1.
dsh plugin --profile web add github:qinghuidaqzp/dsh-change-tour
After installing, restart dsh and click Change Tour on the right sidebar’s onboarding page.
Configuration¶
| Key | Default | Description |
|---|---|---|
stateFile |
change-tour/tours.json under the dsh home directory |
Where records are stored; leave empty to keep them in memory only |
autoExplain |
false |
Auto-generate explanations after each turn (incurs a small cost each time) |
language |
zh |
Language for auto-explanations; manual explanations follow the UI language |
provider / model |
Empty | Model used for explanations; leave empty to use the most recently used model in this session |
maxOutputTokens |
1200 |
Maximum output tokens for an explanation |
budget |
24000 |
Maximum characters of changes sent to the model per request |
maxAnalyzedFiles |
60 |
Maximum number of files’ line-level diffs read per turn for rule checks |
Use Cases & Cautions¶
Ideal for developers who need to quickly grasp what the Agent changed each turn, especially when risk flags (credential leaks, deleted tests, dependency changes) are a concern.
The plugin runs with the current dsh process’s permissions. Review the source code and license before installing. Explanations invoke the model and use the same model and account you have configured in dsh; if your changes actually contain a secret, it will also be sent to the model during explanation.
Limitations¶
- Flags are rule-based: there will be false positives (e.g., dummy keys in test data) and false negatives (e.g., credentials with altered formatting). It helps you decide where to look first but does not replace code review.
- Explanations are model-generated and may contain errors; for critical changes, still refer to the raw diff under “View Diff.”
- The UI is only available in the Web interface (including the desktop version).
Value Summary¶
dsh-change-tour does not run git on its own and does not modify any of your files. It reads dsh’s built-in change logs, applies local rules to flag risk points, and uses the model to generate plain-language explanations—helping you quickly decide where to look first.
- Plugin page: https://www.skillhub.cn/plugins/qinghuidaqzp/dsh-change-tour
- GitHub repository: https://github.com/qinghuidaqzp/dsh-change-tour