deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
Adds a Windows File Explorer context menu entry: right-click a folder and pick "Open DSH Workspace Here" to register it as a DSH workspace, start a session in it, and switch the DSH page to that workspace.
Unofficial community project. Not affiliated with or endorsed by DeepSeek.
--browser; the bridge then focuses the browser page.wscript hidden-window launcher, so no console window flashes./api RPCs.Requirements: Windows, Node.js >= 20 on PATH, and DSH Desktop installed. The bridge launches DSH automatically when it is not running; it discovers the launch path from a runtime file that DSH writes, so run DSH once before the first use.
One-liner (PowerShell 5.1+ / pwsh):
irm https://raw.githubusercontent.com/tsingshitao-nuke/dsh-set-workspace/main/scripts/install.ps1 | iex
Git Bash / WSL:
curl -fsSL https://raw.githubusercontent.com/tsingshitao-nuke/dsh-set-workspace/main/scripts/install.sh | bash
Manual install:
# 1. install the bundle
dsh plugin --profile web add github:tsingshitao-nuke/dsh-set-workspace
# 2. register the Explorer context menu (restart DSH first so the host half publishes the port)
node ~/.dsh/profiles/web/node_modules/dsh-set-workspace/bin/install-context-menu.cjs
Remove the menu (keeps the bundle installed):
node ~/.dsh/profiles/web/node_modules/dsh-set-workspace/bin/install-context-menu.cjs --uninstall
File Explorer right-click
└─ wscript launch-hidden.vbs "%1" (hidden window)
└─ node set-workspace.cjs "<folder>"
├─ reads ~/.dsh/dsh-set-workspace/runtime.json (port + launch command)
├─ launches the DSH Desktop app — boots it when down, and when it is
│ already running the app's own single-instance handler restores,
│ shows and focuses its window (same trick as VS Code "Open with Code")
├─ polls until /api is ready
├─ POST /api/workspace.create { path } (idempotent)
├─ POST /api/session.create { workspaceId, sessionId: "dsw-open-…" }
└─ MessageBox confirmation
The DSH client half watches the session list, opens the "dsw-open-…" session,
and the page switches to the workspace.
Browser mode: when DSH is served into a regular browser, run the installer with
`--browser` (or write `{"ui":"browser"}` to ~/.dsh/dsh-set-workspace/config.json).
The bridge then focuses the browser page via the loopback URL instead of the
Desktop window.
The bundle is a standard host/client dual-half DSH package. The host half (src/index.ts) writes the current webserver port and the Desktop launch command to ~/.dsh/dsh-set-workspace/runtime.json. The client half (src/client/index.ts) performs the switch. The bridge script, whale icon, and launcher are copied to ~/.dsh/dsh-set-workspace/ (space-free, stable across reinstalls); the registry entries live under HKCU\Software\Classes\Directory\shell (no admin rights).
npm install
npm run build # host (tsc) + client (tsdown -> lib/client.js)
Directory\shell verbs may appear under "Show more options" (Shift+F10) instead of the top-level menu. Putting them at the top level requires a COM IContextMenu handler, which this plugin does not ship.CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。