跳过主要内容
M

moonshile-dsh-plugins (dsh-workspace-sort)

moonshile/moonshile-dsh-plugins/plugins/dsh-workspace-sort

侧边栏工作区每日按最近活动排序一次,当天顺序稳定。

安装

dsh plugin --profile web add github:moonshile/moonshile-dsh-plugins

该插件位于仓库的 plugins/dsh-workspace-sort 子路径下。

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.

awesome · DSH plugin

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.

PluginWhat it doesInstallUsage
dsh-workspace-sortRe-sorts sidebar workspaces by last activity once per day; order stays stable the rest of the daydsh plugin --profile web add dsh-workspace-sortNone 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-deleteA 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 remaindsh plugin --profile web add dsh-last-turn-deleteInstall, 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-fixFixes 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 resenddsh plugin --profile web add dsh-responses-replay-fixNone needed — install, restart dsh web. Targets the zhongxin provider by default; configure more via the settings section responses-replay-fix.providers.

Adding a plugin

  1. Create plugins/<package-name>/ with its own package.json (name, main, files, license, dsh.bundle.patch) and lib/.
  2. Add tests as lib/*.test.mjs (node:test); verify with pnpm test.
  3. Add a row to the Plugins table.
  4. Publish it to npm (pnpm publish --access public); the repo CI publishes it automatically on push when its version is new.

相关插件