Skip to content

About

RetiredPhysicist dsh-plugins

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

224 Commits

Folders and files

Repository files navigation

dsh-plugins

English · 中文

CI npm License: MIT

Plugins for DeepSeek Harness (dsh). Each package is a Cordis plugin under packages/, with its own npm name and version.

DeepSeek Harness is text-first. These plugins add the services the host does not ship: web search, a remote browser, shell-history recording, long-term memory, multimodal tools, and one extra LLM provider.

Packages

package version npm what it adds
dsh-all-search 0.2.23 dsh-all-search Search provider anysearch on ctx.web. AnySearch, optional Firecrawl, optional TinyFish.
dsh-atuin 0.1.9 dsh-atuin Appends each typed prompt to a local atuin history.
dsh-cloudflare-browser-run 0.2.16 dsh-cloudflare-browser-run Tools browse, screenshot, pdf, crawl, crawl_status via Cloudflare Browser Run.
dsh-codebuddy-sdk 0.1.11 dsh-codebuddy-sdk LLM adapter on ctx.llm for the local CodeBuddy CLI.
dsh-dejavu-memory 0.5.11 dsh-dejavu-memory Tools dejavu_boot, dejavu_read, dejavu_search, dejavu_create, dejavu_update, dejavu_delete.
dsh-gemini-multimodal 0.1.14 dsh-gemini-multimodal Tools media_understand, media_transcribe, image_generate, read_document.

Versions match packages/<name>/package.json in this tree. Every package has an English and a Chinese README, for example packages/dsh-all-search/README.md and README.zh.md.

Every package is MIT. There is no root LICENSE; the grant is the file inside the package you install.

How a plugin fits

A profile lists the package. The package's cordis.patch.yml inserts one plugin row. The plugin then registers on the host service it depends on.

flowchart LR
  profile[dsh profile] --> patch["cordis.patch.yml"]
  patch --> row[plugin row]
  row --> web["ctx.web"]
  row --> tools["ctx.tools"]
  row --> llm["ctx.llm"]
  web --> search[dsh-all-search]
  tools --> browser[dsh-cloudflare-browser-run]
  tools --> memory[dsh-dejavu-memory]
  tools --> gemini[dsh-gemini-multimodal]
  row --> atuin[dsh-atuin]
  llm --> codebuddy[dsh-codebuddy-sdk]
Loading

dsh-atuin does not register a tool. It listens for session/event of type user/message and runs atuin history start / atuin history end.

package host surface outside the process
dsh-all-search ctx.web search provider anysearch AnySearch MCP, Firecrawl, TinyFish
dsh-atuin session/event local atuin binary
dsh-cloudflare-browser-run ctx.tools Cloudflare Browser Run API
dsh-codebuddy-sdk ctx.llm adapter local codebuddy CLI
dsh-dejavu-memory ctx.tools your DejaVu MCP server
dsh-gemini-multimodal ctx.tools Gemini REST, or local agy

Install

Node >=20 for every package except dsh-codebuddy-sdk, which does not set engines. Install into a Harness profile:

dsh plugin --profile web add dsh-all-search
dsh plugin --profile web add dsh-atuin
dsh plugin --profile web add dsh-cloudflare-browser-run
dsh plugin --profile web add dsh-dejavu-memory
dsh plugin --profile web add dsh-gemini-multimodal
dsh plugin add dsh-codebuddy-sdk

Keys and endpoints go in the profile row that overrides the inserted plugin. The patch files insert the row without credentials. Example for the browser plugin:

- id: cloudflare-browser-run
  name: dsh-cloudflare-browser-run
  config:
    cf_api_token: <your token>
    cf_account_id: <your account id>

Option tables, required binaries, and privacy notes are in each package README.

Develop

Work inside one package (each keeps its own lockfile):

cd packages/<pkg>
npm ci
npm run typecheck
npm test
npm run build

dsh-codebuddy-sdk also has npm run test:ci (unit tests, no CLI) and npm run test:integration (needs a signed-in codebuddy CLI and CODEBUDDY_SDK_INTEGRATION=1). dsh-gemini-multimodal has npm run test:ci, which runs the smoke test only.

Root CI (.github/workflows/ci.yml) runs on main, on pull requests, and on workflow_dispatch. It typechecks and tests only the packages whose files changed. Node 26.

Release

Bump the version in that package's package.json, commit, then tag the current commit:

script/release-tag.sh <pkg>
git push origin <pkg>-v<version>

script/release-tag.sh dsh-all-search reads packages/dsh-all-search/package.json and creates dsh-all-search-v0.2.23 when that file says 0.2.23. The tag does not bump the version.

.github/workflows/publish.yml matches dsh-*-v*, checks the tag version against package.json, builds that package, and runs npm publish --access public with OIDC.

License

MIT, per package. See packages/<name>/LICENSE.

About

RetiredPhysicist dsh-plugins

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages