- Inicio
- Plugins
- Mejoras de UI
- moonshile-dsh-plugins (dsh-workspace-sort)
moonshile-dsh-plugins (dsh-workspace-sort)
moonshile/moonshile-dsh-plugins/plugins/dsh-workspace-sort
Reordena los espacios de trabajo de la barra lateral por última actividad una vez al día; el orden se mantiene estable durante ese día.
Instalar
dsh plugin --profile web add github:moonshile/moonshile-dsh-pluginsEste plugin se encuentra en el subdirectorio plugins/dsh-workspace-sort del repositorio.
README
moonshile-dsh-plugins
English | 中文
Moonshile's DeepSeek Harness (DSH) plugin collection. Each plugin lives in its own directory as an independent npm package, dependencies managed per package, orchestrated by a pnpm workspace.
Layout
plugins/
└── <package-name>/
├── package.json # standalone package: name / main / files / scripts
├── lib/ # implementation (host half / client half)
├── lib/*.test.mjs # node:test pure-function tests
└── README.md # English (中文见 README.zh.md)
Local development
pnpm install # install the workspace from the repo root
pnpm test # run every plugin's tests (pnpm -r test)
Publishing
Each plugin is published to npm independently (package names must be globally unique on the registry):
cd plugins/<package-name>
pnpm publish --access public
Plugins
Every plugin is an npm package installed with dsh plugin — one command, auto-activating bundle. Each plugin has its own directory and README.
| Plugin | What it does | Install | Usage |
|---|---|---|---|
| dsh-workspace-sort | Re-sorts sidebar workspaces by last activity once per day; order stays stable the rest of the day | dsh plugin --profile web add dsh-workspace-sort | None needed — install, restart dsh web; it runs daily, sorting by session activity. Last-sort date is persisted at ~/.dsh/workspace-sort-state.json. |
| dsh-last-turn-delete | A trash button (same icon as the pending-message queue) on the newest deletable item — the last user message or a failed /compact card — that soft-deletes that turn so it no longer enters the model context, then walks back to the previous item until a real compact boundary or none remain | dsh plugin --profile web add dsh-last-turn-delete | Install, restart dsh web, refresh. Click the trash can (confirm bubble) to delete; the button appears only after the reply finishes. Deleted turns are dimmed in place; the durable log is never rewritten. |
| dsh-responses-replay-fix | Fixes OpenAI-Responses history replay rejected by strict gateways (e.g. Zhongxin www.wxzjai.com): assistant message ids get a msg_ prefix and thinking items get plaintext reasoning_text before resend | dsh plugin --profile web add dsh-responses-replay-fix | None needed — install, restart dsh web. Targets the zhongxin provider by default; configure more via the settings section responses-replay-fix.providers. |
Adding a plugin
- Create
plugins/<package-name>/with its ownpackage.json(name,main,files,license,dsh.bundle.patch) andlib/. - Add tests as
lib/*.test.mjs(node:test); verify withpnpm test. - Add a row to the Plugins table.
- Publish it to npm (
pnpm publish --access public); the repo CI publishes it automatically on push when its version is new.
Plugins relacionados
dsh-web (dsh-task-board)
zhu1090093659/dsh-web
dsh-web (dsh-web-all)
zhu1090093659/dsh-web
dsh-web-ui (dsh-task-board)
zhu1090093659/dsh-web-ui
dsh-web-ui (dsh-web-ui-all)
zhu1090093659/dsh-web-ui