Zero20230619/desktop-hand ↗★ 1

desktop-hand

Desktop Hand — real desktop mouse/keyboard control plus policy-guarded file tools for DeepSeek Harness.

Package
desktop-hand
Compatibility
Unverified
Version
1.0.0
License
MIT
Last updated
Oct 31, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Zero20230619/desktop-hand

Configuration

The full annotated reference is docs/CONFIG.md. Summary:

  • The JSON config is discovered in this order: plugin Config.configPath (must exist) → /desktop-hand.config.json (recommended; seeded by the installer) → /desktop-hand.config.json → /desktop-hand/config.json → built-in defaults (with a warning). DSH_HOME defaults to ~/.dsh.
  • The file is deep-merged over defaults; arrays replace. ~, $VAR, ${VAR}, ${env:VAR} and %VAR% are expanded in path fields. Invalid configuration fails plugin activation loudly rather than silently dropping protection.
  • A profile patch row can override a small set of deployment knobs (enabled, configPath, provider, trashDir, auditDir, screenshotsDir, hotkey, emergencyStop); policy, limits and approval modes live in the JSON file.
  • The config is read once per activation; restart/reload after editing.

Key defaults you should know:

SettingDefaultWhy it matters
policy.delete.modetrashDeletions are recoverable quarantine moves, not unlinks. The shipped config uses D:\DSH_Trash as the trash root.
approval.fileMutationsaskEvery write/move/delete/restore needs a live approval prompt.
approval.drag / approval.comboaskA drag and a key chord (e.g. Blender's shift+a) are high-risk primitives and each asks for approval by default.
approval.textgrantTyping relies on the input session grant, except when the foreground title matches limits.sensitiveZones.foregroundTitlePatterns — then it asks anyway.
approval.directDeleteaskPermanent deletes need an explicit per-call decision.
emergency.hotkeyPauseSystem-wide stop. F9 is deliberately avoided because Blender uses it for Adjust Last Operation.
session.*10 min/200 input, 5 min/50 files; max 30 min/1000Grants are time- and action-budgeted.
input.providerautoWindows → windows, Linux → linux, macOS → macos. Use fake for dry runs.

"ask" is not unconditional success. If the DSH session approval policy is never (or approval prompts are otherwise unavailable), every "ask" category fails closed — the call is rejected before the tool body runs and nothing is touched. For the Blender acceptance flow (shift+a is a combo), either switch the DSH approval policy to ask (recommended) or set the relevant categories (combo, drag, and fileMutations/directDelete for file work) to "grant" and rely on the time/action-bounded grant from /desktop-hand authorize.