Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

@skiluo/dsh-web-better

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.

Components

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

Build Output

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.

Install

# 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-better

The profile only needs to keep this plugin:

{
  "dsh": {
    "profile": {
      "bundles": [
        "@deepseek-ai/dsh-base",
        "@deepseek-ai/dsh-web-app",
        "dshmarket",
        "@skiluo/dsh-web-better"
      ]
    }
  }
}

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.

Develop

pnpm install
pnpm check

Attribution

  • chat-sticky is adapted from oil-oil/dsh-oil-sticky-prompt (MIT License).
  • right-sidebar source 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-menu and web-better-settings are new additions to this repository.

简体中文

请参阅 README.zh.md。

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages