FleetingEcho/dsh-powerdesk ↗★ 0
dsh-powerdesk
DSH web plugin: a GPU-accelerated terminal (restty renderer: WebGPU/WebGL2 + WASM VT) backed by a Rust PTY (napi-rs + portable-pty), plus a sandboxed browser, surfaced as tabs inside the plugin's OWN sidebar shell (the layout + wrapper copied from dsh-better-sidebar). Host half exposes a restty-native wire-protocol WebSocket.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:FleetingEcho/dsh-powerdesk说明文档
阅读完整 README ↗Configuration
Plugin config (in dsh.profile.bundles)
dsh-powerdesk:
terminalsPerSession: 3 # max live terminals per conversation session
reconnectGraceMs: 30000 # keep a dropped pty alive this long for reconnect
shell: '' # override the interactive shell (auto-detected if '')
extensionsEnabled: false # allow user-installed extensions (see Extensions)
extensionsDir: '' # where they live ('' = ~/.dsh/powerdesk/extensions)
User prefs (localStorage, no host round-trip)
| Pref | Storage key | Notes |
|---|---|---|
| Terminal font family / weight / size / theme; CodeMirror (editor) theme | dsh-powerdesk:prefs | Editable from Settings → Powerdesk (Appearance). |
| Explorer folder bookmarks | dsh-powerdesk:explorer-bookmarks | Multiple bookmarks + which is active. |
| Notes bound folder | dsh-powerdesk:notes-folder | One folder, rebindable. |
| Notes tree column width | dsh-powerdesk:notes-tree-width | Dragged via the divider. |
| Per-tab-type enable switches | dsh-powerdesk:tabs-enabled | Set from the Settings card. |
Environment variables
| Var | Purpose |
|---|---|
DSH_POWERDESK_PTY_PATH | Absolute path to a .node addon; beats every other resolution. |
DSH_POWERDESK_PTY_TRIPLE | Override the detected platform triple (e.g. linux-x64-musl). |
DSH_RESTTY_SHELL | Override the Windows shell probe (default: first pwsh.exe on PATH or in a known install dir, else powershell.exe). |
PREBUILT_BASE | Override the prebuilt-binary download base URL (default: GitHub releases). |
DSH_HOME | Override the DSH home (default ~/.dsh). |
DSH_CMD | Override the dsh CLI used by install.sh (default: dsh, then npx). |