Introduction

DeepSeek Harness (DSH) uses an “everything is a plugin” architecture. For users of Tencent Cloud Lighthouse servers, managing cloud resources directly through an agent is a common requirement. The dsh-lighthouse-expert plugin provides a connector that supports managing about 60 cloud capabilities after QR code authorization.

Core Features

  • OAuth QR Code Authorization: Uses user-level permissions and only accesses the user’s own resources.
  • About 60 Cloud Capabilities: Supports managing instances, firewalls, snapshots, cloud disks, domain resolution, monitoring, and more.
  • Conversational Operation: After authorization, tools are dynamically registered, and the Agent can invoke them directly through conversation.
  • Security Design: Sensitive operations (restart/modify/delete) automatically go through an approval workflow; tokens are stored only on the local machine, with zero cloud storage.

Installation and Enablement

In a DeepSeek Harness environment (Node >= 22), run the following commands to install it:

dsh plugin --profile web add github:lanluohaisi/dsh-lighthouse-expert#497e826
dsh web

After installation is complete, start the WebUI. The “🚀 Try Lighthouse Plugin” entry will appear in the bottom action area of the left navigation bar.

Configuration

The plugin supports configuring the following items in the profile’s cordis.patch.yml:

  • backend: Defaults to bridge, which uses the real cloud link; set it to mock to experience the built-in demo data.
  • apiBase: Defaults to https://lightai.cloud.tencent.com.
  • timeoutMs: Defaults to 20000.
  • region: Defaults to ap-guangzhou.

Usage Examples

  1. Click “🚀 Try Lighthouse Plugin” in the left navigation bar and authorize the connection.
  2. After successful authorization, invoke tools directly through conversation, for example by asking “List my instances.”
  3. If authorization or connection fails, you can set backend to mock to experience the complete interaction flow.

Notes

  • Requires a DeepSeek Harness environment, with a Node version >= 22.
  • The cloud service lightai.cloud.tencent.com is being rolled out in phases.
  • Token storage location: $DSH_HOME/lighthouse-expert/tokens. (permission 0600).
  • When developing locally, set name in dev-cordis.yml to point to the compiled artifact lib/index.js.

Ecosystem and Feedback

This plugin is maintained by lanluohaisi under the MIT open source license. See the links below for the plugin directory page and source code.