keer1024/dsh-native--packages-dsh-rust-exec ↗★ 6
dsh-rust-exec
dsh-rust-exec: resident Rust worker (lane pool, session affinity, soft RSS/CPU limits) for command execution, sha256-guarded file IO, code indexing and search, session-log projection and resource sampling; host-side JSON-RPC middleware with 8 HTTP routes and 11 tools, plus a pinned projection view, a Grafana-style monitor and a resource status strip.
설치
npx -p @deepseek-ai/dsh dsh plugin --profile web add 'github:keer1024/dsh-native#399cdba437dde95fa1700c40a0b96a564c0a5132&path:packages/dsh-rust-exec'dsh-rust-exec
A resident Rust sidecar for DeepSeek Harness (DSH). Command execution, sha256-guarded file IO, code indexing and search, session-log projection and resource sampling run in a long-lived Rust worker; the DSH host stays a thin JSON-RPC / lane-scheduling / route layer, and the browser side only adds display.
原名 dsh-flash(1.4.0 起更名,内部路由 /api/dsh-rust-exec 与 worker 名 dsh-rust-worker 保持不变)。
Install
# 1) install into a DSH profile — public npmjs, unscoped since 1.7.0
dsh plugin --profile desktop add dsh-rust-exec
# same thing: pnpm add dsh-rust-exec inside /profiles/
# 2) mount the bundle — the package ships cordis.patch.yml
# add "dsh-rust-exec" to dsh.profile.bundles in
# /profiles/
/package.json
Restart DSH, then check:
curl http://127.0.0.1:
/api/dsh-rust-exec/health
A healthy answer contains ok: true, the worker pid and the mounted route count (8).
What you get
| Tools | resident: rust_exec, rust_read, rust_search, rust_health, native_help; activated on demand: rust_write, rust_edit, rust_stat, rust_ls, rust_symbols, rust_session_open |
| Routes | /api/dsh-rust-exec/{metrics,health,events,sessions,session,session/body,config,cache} |
| UI | pinned-header session projection view (fuzzy filter, fixed 420 px detail), Grafana-style monitor with one card row each for workers, sessions and cache, dsh-rust-exec resource strip |
| Worker | warm PowerShell lanes (default 4, max 16), session affinity, soft RSS/CPU limits, watchdog against host exit, disk-persisted code index (parallel parse) |
Requirements
Windows 10/11 x64 · DSH desktop · PowerShell 5.1. No Node.js needed on the target machine.
The bundled dsh-rust-worker.exe is unsigned — SmartScreen may warn on first launch.
Docs
- Full manual (architecture, all tool parameters, config table, troubleshooting): https://github.com/keer1024/dsh-native#readme
- Changelog: CHANGELOG.md
License
MIT