DSH Diff Review Likecodex
Review every file an agent just changed—without leaving DeepSeek Harness Web.
English · 简体中文
Repository and namespace
dsh-diff-review-likecodex is hosted at new-Beginner/dsh-diff-review-likecodex.
The plugin owns the diffReviewLikecodex remote/service namespace, diff-review-likecodex settings/locale namespace, dshDiffReviewLikecodex marker property, and diff-review-likecodex.deliverables turn data key. Its UI/plugin registration IDs use the dsh-diff-review-likecodex: prefix. Public DSH slots retain their framework names; this plugin does not register the shared chatFileMentions service, avoiding conflicts with other plugins.
Historical compatibility markers are read-only compatibility data, used only when no plugin marker is present. The Host neither consumes legacy markers as its own nor deletes or rewrites them. New comments use <diff_review_likecodex_comments>; historical <file_review_comments> messages remain displayable without writing legacy services or settings. The Cordis patch only inserts this plugin and does not disable DSH's built-in deliverables plugin.
Acknowledgements and upstream origin
This project is an independently maintained fork derived from left0ver's dsh-file-review repository. We express sincere gratitude to the original author for the initial concept and open-source foundation.
Changes and enhancements compared to original
- Codex-like review entry (Interaction Scheme A):
- Removed the intrusive "Review" button from the session header bar.
- Retained and enhanced the native right sidebar review tabs and message-tail review shortcuts.
- Added a compact, content-adaptive review dock above the composer while a turn is running; it smoothly fades out once the turn settles or stops. This compact floating bar and entry design can also be merged directly into the
bettersider(dsh-better-sidebar) project.
- Turn-scoped deliverable diffs & history isolation:
- Introduced a turn picker in the review page to load all recorded file edits strictly within the selected conversation turn, preventing multi-turn edit confusion.
- Merged absolute and relative workspace path aliases without double counting; disambiguated same-named files in different directories by prepending parent folders.
- Independent namespaces and zero-conflict isolation:
- Uses dedicated
diffReviewLikecodexRemote anddiff-review-likecodexsetting/locale namespaces. - Comment tags are isolated as
<diff_review_likecodex_comments>. - Avoids occupying shared slots and services, preventing conflicts with other plugins.
- Uses dedicated
- Enhanced review readability:
- Added word-wrap toggles in plugin configuration for seamless inspection of long lines.
- Retains 3 real context lines before and after changes without fabricating synthetic context.
How to use
💬 Chat → ✨ Generate → 📄 Click a changed file → 🔍 Review
Preview
Review panel and changed files card

Running compact floating review bar

Features
- This plugin supports standard, PTC, and Creator modes, but does not currently support Minimal mode.
- Review every file the agent just changed in the
Diffpanel. - Undo edited and newly created files. Deleted-file reversal requires a tool that supplies a supported, captured lifecycle change.
- Add comments to changed lines and ask the agent to continue making updates based on the feedback, or ask questions about the changes.
- Automatically wrap long text while reviewing. Enable it under Settings → Plugins → Plugin configuration → Diff Review Likecodex; it is disabled by default.
- Multilingual support, including Chinese and English.
- A compact, content-sized review bar appears above the composer while a turn is running and disappears on completion or stop; the final card always shows all files.
- Absolute/relative aliases for the same workspace file are combined without double-counting; same-named files in different directories show their directory for disambiguation.
- Newly captured diffs retain three real context lines before and after changes; missing historical context is never fabricated from current files.
- Open the review page from the right sidebar and use its turn picker to load every recorded file edit from one conversation turn. With
dsh-better-sidebar@0.19.1installed, the review page is also available in its new-tab menu; otherwise the native right-sidebar tab remains available. Native tab layout itself is not guaranteed to persist across restarts.
Compatibility
See the badge above for the currently supported DSH CLI version. dsh-better-sidebar is an optional peer dependency (>=0.19.1 <0.20), not a required browser injection; the native sidebar remains the fallback. Furthermore, the running compact floating bar and quick review entry architecture are cleanly decoupled and can be merged directly into the bettersider (dsh-better-sidebar) project for deeper integrated sidebar workflow synergy.
Install from local source
Run these commands in your existing checkout of this fork. No clone URL is provided because the fork's repository is not yet known. Installation and deployment are separate actions; reviewing or building this source does not install it.
pnpm install
pnpm run build
dsh plugin --profile web add ${PWD}
Package installation after publication
Only after you have independently confirmed publication of this exact fork package, use:
dsh plugin --profile web add dsh-diff-review-likecodex
Recent pnpm versions may enforce a minimum release age. If needed, add the fork's exact package name to minimumReleaseAgeExclude in ~/.dsh/profiles/web/pnpm-workspace.yaml:
minimumReleaseAgeExclude:
- dsh-diff-review-likecodex
Update the plugin
For a package-based installation, after confirming the target release:
dsh plugin --profile web update dsh-diff-review-likecodex
Uninstall the plugin
dsh plugin --profile web remove dsh-diff-review-likecodex
License
MIT. This fork retains the upstream MIT license and copyright notice in LICENSE; the file must not be deleted. Upstream attribution remains separate from this fork's package identity.
No comments yet. Be the first to write one.