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

@banbolee/dsh-rtk

对 shell 执行/启动进行 RTK 重写,压缩输出并兼容常见 shell 适合希望减少噪音并保持可执行能力的用户;作用于已挂载 shell 的会话流。

套件
@banbolee/dsh-rtk
相容性
待驗證
Harness 依賴範圍
^0.1.5-rc.1
Cordis 依賴範圍
^4.0.2
版本
0.1.1
授權
MIT
最近更新
2026年9月15日

安裝

$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.