A standalone DeepSeek Harness web plugin. All runtime code lives in this repository; once installed into a web profile, it mounts only a single @skiluo/dsh-web-better cordis row. It does not depend on a local deepseek-harness source checkout, and dsh-better-sidebar is no longer mounted as a separate plugin or npm dependency.
| Component | Directory | Half | Responsibility |
|---|---|---|---|
| left-menu | src/components/left-menu |
client | Injects a "Create dsh-plugin" icon button into the sidebar |
| chat-sticky | src/components/chat-sticky |
client | Pins the most recent user-prompt summary while scrolling through a long reply |
| right-sidebar | src/components/right-sidebar |
host + client | VSCode-style right sidebar with explorer / editor / terminal / git / browser, /sidebar/* routes, WebSocket, PTY, and lazily loaded editor/terminal/mermaid chunks |
| file-review-tab | src/components/file-review-tab |
host + client | Change review, per-line diff, undo/redo, a conversation-tail entry point, and a "File Review" tab in the right sidebar |
| web-better-settings | src/components/web-better-settings |
client | The settings.section "web-better" settings page, reading/writing right-sidebar preferences |
pnpm build produces:
lib/index.js: the host entry, composing the right-sidebar host and the file-review host.lib/client.js: the client entry, composing the right-sidebar client, left-menu, chat-sticky, web-better-settings, and the file-review client.lib/client-editor.js,lib/client-terminal.js,lib/client-mermaid.js: the right-sidebar's lazily loaded chunks, served from/sidebar/bundle/<name>.js.
All of these files are listed in package.json#files, so they ship directly with GitHub/npm releases.
# Local source debugging
npx @deepseek-ai/dsh plugin --profile web add file:/path/to/dsh-web-better
# GitHub
npx @deepseek-ai/dsh plugin --profile web add github:skiluo/dsh-web-betterThe profile only needs to keep this plugin:
If you previously installed dsh-better-sidebar on its own, remove it from the profile dependencies / bundles and run pnpm install again, otherwise the old plugin may still be loaded as another loader row.
pnpm install
pnpm checkchat-stickyis adapted from oil-oil/dsh-oil-sticky-prompt (MIT License).right-sidebarsource comes from omdsh-dev/DSH-better-sidebar (MIT License), now in-sourced into this repository.file-review-tab's diff/review behavior comes from the dsh-file-review implementations and has been adapted into this repository.left-menuandweb-better-settingsare new additions to this repository.
请参阅 README.zh.md。
{ "dsh": { "profile": { "bundles": [ "@deepseek-ai/dsh-base", "@deepseek-ai/dsh-web-app", "dshmarket", "@skiluo/dsh-web-better" ] } } }