dsh-plugins
其他 活跃维护

dsh-plugins

ivwumupy/dsh-plugins

提供即插即用的工具功能扩展模块,覆盖日常运维、快捷操作等常用能力,部署后无需复杂配置即可直接调用,轻量化无冗余依赖,灵活拓展基础工具的使用边界

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
TypeScript
主要语言
None
开源协议
69 KB
仓库大小
3 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:ivwumupy/dsh-plugins
git clone https://github.com/ivwumupy/dsh-plugins.git
git clone git@github.com:ivwumupy/dsh-plugins.git
README.md main

Tianjiao's Plugins

Personal scratch plugins for DeepSeek Harness, in their own repository.

Layout

  • apply-patch/ — dsh-tianjiao-apply-patch: a Node tool plugin porting
    codex-rs/apply-patch (unified-diff apply tool with fuzzy context matching).
  • stats-line/ — dsh-tianjiao-stats-line: a Web client plugin rendering a
    compact per-turn token line in the chat composer dock.

Dependencies

The plugins depend on the published @deepseek-ai/* packages:

  • @deepseek-ai/cordis, @deepseek-ai/schemastery — the latest tags match
    the harness checkout (4.0.1, 3.18.1).
  • @deepseek-ai/dsh-* — installed from the next dist-tag
    (0.1.0-rc.8), which matches the checkout; the latest tag is stale at
    0.0.1-rc.1, so never install those with a bare range.

Building and testing

cd ~/dsh-plugins
pnpm install
pnpm --filter dsh-tianjiao-apply-patch run bundle
pnpm --filter dsh-tianjiao-apply-patch test
pnpm --filter dsh-tianjiao-stats-line run bundle

The toolchain (tsc, tsdown, vitest) is declared at the workspace root.

Installing into a dsh profile

Both packages declare dsh.bundle, so they install as bundle layers:

dsh plugin --profile <name> add ./apply-patch
dsh plugin --profile <name> add ./stats-line

stats-line additionally declares dsh.client (platform: web): its browser
half ships at lib/client.js, discovered through the package's ./client
export.

Known limitations

  • stats-line/tsdown.config.ts restates the harness's client-bundle contract
    (module-table banner/footer, baseline externals, purity gate) because the
    shared clientBundle() preset is not published. The baseline external list
    mirrors packages/client/web/src/platform.ts in the harness checkout and
    must be updated if it changes there. CSS-module and ?inline style plugins
    were not ported; stats-line ships no stylesheets.