dsh-plugin-devin: Devin CLI Proxy Tool in DeepSeek Harness

Introduction

The core philosophy of DeepSeek Harness (DSH) is “Everything is a plugin.” When developing multi-agent systems, it is often necessary to integrate mature external CLI tools (such as Devin) as sub-agents. dsh-plugin-devin provides an unofficial bridging solution that injects Devin’s CLI capabilities into the DSH environment via ctx.subprocess.

What is it

This plugin is maintained by alexisvaleev and is an unofficial bridge. It transforms the Devin CLI’s devin -p (headless print mode) into DSH tools and commands, and provides LLM provider routing, enabling the entire DSH conversation loop to run via Devin. It is not affiliated with Cognition.

Core Features

  • devin Tool: Launches devin -p "<prompt>" as a managed subprocess. Supports configuring cwd, model, permissionMode, resume, cloud, and timeoutMs at call time. The result includes exit codes, stdout, stderr, and timeout status.
  • /devin <task> Command: Shortcut (available when the Profile includes command services).
  • LLM Provider Routing: Registers the devin provider via Agent Client Protocol (ACP), displayed in Settings → Models, supporting automatic model discovery.
  • Image Support: Native content blocks, visible to SWE and other vision models.
  • Session Management: Persists ACP sessions, supporting resumption via session ID.
  • Timeout & Output Limits: Includes timeout controls and memory output limits to prevent runaway processes.

Installation

The plugin has been published to npm and can be installed to a specified profile using the following command:

dsh plugin --profile <your-profile> add @quonaro/dsh-plugin-devin

Or install directly from Git:

dsh plugin --profile <your-profile> add github:quonaro/dsh-plugin-devin

If installing from a local checkout, simply specify the path. The package declares dsh.bundle, which automatically applies cordis.patch.yml upon installation.

Usage

After installation, configure parameters in the Profile’s cordis.patch.yml (or modify via GUI). All configurations are hot-reloadable and do not require a restart.

Config Option Default Description
devinPath devin Executable name or absolute path
permissionMode accept-edits Headless mode cannot answer prompts; bypass/autonomous are suitable for fully unattended operation
model '' Specify Devin model; leave empty to use CLI/account default
cloud false Set to true to enable Devin Cloud sessions (--cloud)
timeoutMs 600000 Timeout for a single invocation
maxOutputBytes 1048576 Memory cap for captured streams
respectWorkspaceTrust false Default is false; pass --respect-workspace-trust false to support -p mode
forwardEnv PATH/HOME/USER/XDG_*/WINDSURF_API_KEY Additional forwarded environment variables
extraArgs [] Extra arguments, e.g., ['--sandbox']

Scenarios & Notes

  • Prerequisites: Ensure devin CLI is installed in PATH or specified via devinPath. devin auth login or the WINDSURF_API_KEY environment variable must be completed.
  • Profile Dependencies: The plugin hard-injects tools and subprocess, so the Profile must include a subprocess provider (sdk-minimal is not supported).
  • Build Issues: pnpm ≥ 10 may refuse the prepare build during the first git installation. Configure allowBuilds in pnpm-workspace.yaml and re-run.
  • Workspace Trust: The --print mode cannot handle workspace trust prompts in untrusted directories, so it is disabled by default.
  • License: MIT.

Conclusion

This plugin integrates the powerful Devin CLI into the DeepSeek Harness ecosystem via ctx.subprocess, suitable for scenarios requiring delegation or routing of Devin as an independent Agent. For more details, please refer to the GitHub repository.

羽毛球分组比赛记分
小程序二维码

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

Xiaoye