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.
AI 分析
核心用途是提供高性能的内置终端与沙箱浏览器。适合需要在 DSH 侧边栏中进行高频终端操作和网页浏览的高级开发者。
インストール
$
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). |