BanboLee/banbo-dsh--plugins-rtk ↗★ 0

@banbolee/dsh-rtk

General-purpose RTK integration for DeepSeek Harness: a plain function plugin that decorates the mounted shell executor's `run`/`start` through `rtk rewrite` and compresses model-facing grep output through `rtk pipe`. Decorates the live `ctx.shell`, so it coexists with any shell provider (bash, fish, ...) without a duplicate service registration. 适合希望减少噪音并保持可执行能力的用户;作用于已挂载 shell 的会话流。

Package
@banbolee/dsh-rtk
Compatibility
Unverified
Harness peer range
^0.1.5-rc.1
Cordis peer range
^4.0.2
Version
0.1.1
License
MIT
Last updated
Sep 15, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:BanboLee/banbo-dsh#a785b690cd3a271225efba76ae2079e8fbf2df51&path:plugins/rtk

Usage

Install from npm (recommended) — no clone needed:

dsh plugin --profile  add @banbolee/dsh-rtk

For local development, install the bundle into any DSH profile from the repository root. The workspace-root flag -w is required: without it, pnpm cannot resolve the local package inside the profile's generated workspace and install fails with ERR_PNPM_ADDING_TO_ROOT.

dsh plugin --profile  add -w ./plugins/rtk

To install both local bundles (rtk and codegraph-mcp) into one isolated profile with a single command:

DSH_HOME="$(mktemp -d)" scripts/sync-rtk-codegraph-to-profile.sh 

The sync helper requires DSH_HOME so tests and manual QA always target isolated profile state instead of the user's default Harness home.

The plugin is a function plugin that decorates the mounted shell executor: it wraps the live ctx.shell object's run/start with the rtk rewrite oracle and registers a tools/post-execute listener that compresses grep output. It never mounts (or replaces) a shell provider, so it coexists with any executor the host mounts as ctx.shell (bash, fish, ...) without a duplicate service registration.