dsh-codex-computer-use: Local Codex Computer Use Integration

Introduction

DSH (DeepSeek Harness) supports plugin-based extensions. This plugin allows DSH to directly invoke the local Codex Windows Computer Use runtime to control the desktop, rather than relying on external APIs.

What is this?

This is a plugin maintained by Han-1413141. It bridges DSH with the locally installed Codex Computer Use runtime, providing native menu integration and auto-launch capabilities.

Core Features

The plugin provides the following capabilities:
* Window and control reading
* Screenshot capture
* Clicking
* Text input
* Key presses
* Scrolling
* Dragging
* Application launching

Installation & Activation

Before installation, ensure your system environment meets the requirements (see below). The installation command is as follows:

dsh plugin --profile desktop add https://github.com/Han-1413141/dsh-codex-computer-use/releases/download/v0.1.4/dsh-codex-computer-use-0.1.4.tgz --ignore-scripts

After installation, restart DSH. Select Computer Use from the bottom of the command list (you may need to scroll down if the window is small), or simply type /computer. The plugin will pre-fill the draft with a computer operation prompt; add your task details and send it.

Typical Usage

Here are two typical usage scenarios:

  1. Status check and window reading:
    Use codex_computer_read to check the Computer Use status, list windows, and then read a specific window. If first-time authorization is involved, you will need to request confirmation within DSH.

  2. Text input and interaction:
    Use Codex Computer Use to type “Hello, DSH” into a new document in Notepad. First, check the window and input focus, and verify the results after each step.

Prerequisites & Notes

The following conditions must be met to use this plugin:

  • System Requirements: Windows system.
  • Software Version: DSH 0.2.0-rc.2.
  • Runtime Environment: Codex Desktop with Computer Use installed and initialized locally.
  • Dependency: @oai/sky provided by Codex version 0.7.5.

Please note the following:

  • Authorization Mechanism: Upon the first access to an application, a separate Windows authorization window titled DeepSeek Harness - Computer Use will appear. Once approved, the application is remembered only for the current DSH session.
  • Process Management: You do not need to open the main Codex window or keep the Codex chat running. The plugin will automatically start the background worker process upon the first tool invocation.
  • Execution Agent: Operations are determined by the model currently used by DSH; no additional calls to OpenAI models are required.
  • Distribution: This package is not published to npm; the installer must be downloaded and installed from GitHub Releases.

Conclusion

By utilizing the local runtime, this plugin enables DSH to directly control the Windows desktop, making it suitable for scenarios requiring the automation of local applications. For more details and source code, please refer to the GitHub Repository.

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

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

Xiaoye