dsh-au: DSH Multi-Machine Workbench Enhancement Plugin

Introduction

In multi-device collaboration scenarios with DeepSeek Harness (DSH), switching between local and remote device sessions, cross-device task management, unifying model invocation entry points, and adapting for mobile operations often require multiple tools or manual configuration to achieve. dsh-au is a multi-machine workbench enhancement plugin for DSH that integrates the above capabilities into a unified interface, reducing tool switching and context loss.

Plugin Positioning

Developed by maintainer HFTXsws, dsh-au is a client-side plugin. It provides DSH with a multi-machine top bar and secondary workspace, cross-device Todo management, model quick-switching (slots 1–9), mobile drawer adaptation, local service/cloud plugin management, and a Codex Agent control entry point restricted to local invocation only.

Core Features

Multi-Machine Top Bar and Secondary Workspace

The top bar supports one-click switching between the local device and LAN/tunnel-remote DSH devices, including background session pre-loading and automatic disconnection on lock screen to save power. The left sidebar displays workspaces and real-time session status of each device, grouped by a secondary hierarchy of “Local / Remote Devices.”

Cross-Device Todo Management

Manage cross-device synced To-Do items directly in the sidebar. Items can be bound to a specific device, workspace, or conversation, with one-click jump to execute.

Model Quick-Switching

Invoke a lightweight model panel via a hotkey (default Alt+M), supporting 1–9 number-key instant switching of models and thinking intensity for both local and controlled remote iframe sessions.

Multi-Machine Workbench and Cloud Sync

Manage resident local services (start/stop, auto-start on boot, auto-start with DSH, exception self-healing), one-click replication of cloud plugin snapshots across machines, and zero-intrusion mounting of custom workbench extension pages from a private sync repository (syncRepoRoot).

Mobile Drawer Adaptation

Automatically collapses the top bar and side drawer for mobile browser touch viewports, optimizing the narrow-screen interaction experience.

Local Agent Control Commands

The plugin provides the dsh-au-client-control command, allowing the local Agent to send tasks to and retrieve responses from the current DSH’s Codex session via a secure named pipe / Unix Socket.

Installation

Method 1: Install via DSH Plugin Marketplace or CLI

Search for dsh-au in the DSH visual plugin marketplace (dshmarket) and install with one click, or run the following in the terminal:

dsh plugin add dsh-au

Method 2: Install from Source Locally

Run the local installer at the repository root:

node "$(git rev-parse --show-toplevel)/scripts/install-local.mjs" --profile desktop

After installation or update, fully restart DSH so that the server side and Codex local endpoint load the new version. If you need to sync personal services, cloud plugin snapshots, or mount private extension pages across computers, refer to sync/README.md to configure syncRepoRoot in the workbench settings.

Security Boundaries

  • The control entry point uses only Windows named pipes or Unix sockets. No HTTP routes are registered, and no LAN or remote web page is permitted to send messages on behalf.
  • Each DSH profile uses an independent endpoint and random token; request IDs prevent duplicate sending due to timeout retries or concurrent invocations.
  • Local state is stored in ~/.dsh/dsh-au/client-control/ and is not tracked by Git. Codex response bodies are not written into the request ledger.
  • LAN access is disabled by default. An access password must be set before enabling it. Only a salted hash of the password is stored locally; consecutive incorrect attempts from the same source trigger a temporary lockout.
  • LAN access uses plain HTTP with Basic Auth for password transmission, which can be captured via packet sniffing on the same network segment. Enable only in trusted networks such as home or office; use tunnels or other encrypted channels on public networks.

Block AI Goal Creation

Enable “Block AI Goal Creation” in the workbench settings. dsh-au will prevent AI from invoking create_goal at the host tool execution layer, including sub-agents and nested tool calls; this does not rely on the AI complying with prompts. It is disabled by default. Once enabled, it takes effect immediately for subsequent calls on that host. It can be synced across computers via the existing dsh-au configuration sync flow.

This toggle only blocks creation: it does not pause, clear, or modify existing goals, and does not restrict get_goal or update_goal (including restoration). Normal tasks, To-Dos, and error retries are unaffected. It does not intercept goals created by users directly through the DSH native interface or other plugins. Remote hosts need to load the updated plugin and enable their own toggle.

The first plugin update still requires the host to reload server-side code; refreshing the page alone cannot substitute for a server-side reload. If the host does not support tool execution interception, enabling this feature will produce an explicit error rather than silently appearing successful.

Common Workbench Settings

  • Auto-Retry Rules on Errors: In the workbench settings, configure automatic retries by HTTP status code or error keyword (supports delayed retry, retry after context compression, and appending prompts). No rules are pre-configured by default; enable as needed.
  • Model Catalog Sync: After configuring syncRepoRoot, refresh the DSH / Codex model catalog in the workbench “Official Settings” based on the manifest in the private sync repository. Only the catalog is updated; it will not override the currently selected model, thinking intensity, or API Key.
  • Auto-Disconnect on Lock Screen: Optionally enable automatic disconnection from remote DSH connections when the local machine’s screen is locked, reducing background reconnection battery drain (local-only setting, not synced to the cloud).

Self-Diagnosis and Troubleshooting

The plugin includes a read-only diagnostic script scripts/doctor.mjs to check registered local service paths, health addresses, auto-start entries, and private extension page contracts (does not modify configuration or start/stop services):

node scripts/doctor.mjs
# or
npm run doctor

When troubleshooting private workbench extension pages, append --extensions:

npm run doctor -- --extensions

Typical Usage: Codex Control Example

Codex works through the native session interface of the DSH instance running on the current computer, without interacting with the desktop UI. Omitting --session-id creates a new session; providing a session ID continues the existing one.

Windows PowerShell

& "$env:USERPROFILE\.dsh\profiles\desktop\node_modules\.bin\dsh-au-client-control.ps1" --provider codex --action prompt --text "回复我 OK" --cwd "F:\path\to\project" --request-id "codex-new-001" --timeout-ms 180000

macOS / Linux

"$HOME/.dsh/profiles/desktop/node_modules/.bin/dsh-au-client-control" --provider codex --action prompt --text "回复我 OK" --cwd "/path/to/project" --request-id "codex-new-001" --timeout-ms 180000

After a Codex timeout, retry with the same original request ID; the system only reads the result from the original session and will not create a new one or send a duplicate. --action capabilities can be used to check whether the current DSH provides Codex control capabilities.

Use Cases and Notes

  • Suitable for scenarios requiring unified management of local and remote DSH devices, cross-device task synchronization, rapid model switching, and mobile adaptation.
  • The plugin runs with the current DSH process privileges. It is recommended to review the source code and license (MIT) before installation.
  • The Codex control entry point is local-invocation only and does not expose an HTTP interface, preventing remote web pages from sending messages on behalf.

Directory

  • Multi-machine sync, service/remote device/cloud plugin registration: sync/README.md
  • Model quick-switching and sorting documentation: docs/模型快捷切换界面与排序说明.md
  • Remote model quick-switching compatibility notes: docs/远端模型快捷切换兼容说明.md
  • Private workbench extension page documentation: sync/README.md (Workbench Private Extensions)

Conclusion

dsh-au integrates the multi-machine workbench, cross-device Todo, model quick-switching, mobile drawer, local service management, and Codex Agent control entry point into a unified interface, reducing tool switching and context loss. DSH’s philosophy is “everything is a plugin.” The community directory is an independent site with no official affiliation to DeepSeek / High-Flyer.

  • Plugin directory page: https://www.skillhub.cn/plugins/HFTXsws/dsh-au
  • GitHub: https://github.com/HFTXsws/dsh-au
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye