Xiaohe-Canvas-DSH: Driving Xiaohe Canvas in DSH for E-commerce Content Creation

Introduction

DeepSeek Harness (DSH) connects external tools into conversations via plugins, enabling the model to perform concrete operations rather than just outputting text. In e-commerce scenarios, images, videos, and workflows are often orchestrated within a visual canvas; relying solely on generic MCP or hand-written scripts requires separate maintenance for canvas-side connections and node operations. xiaohe-canvas-dsh is a community-maintained DSH plugin that connects “Xiaohe Canvas” and its Canvas Agent to the Harness runtime, facilitating the creation of nodes, use of templates, triggering generation, and asset management within conversations.

What is this

xiaohe-canvas-dsh (npm package name xiaohe-canvas-dsh, current version 0.1.3) is maintained by wild-River2016 and categorized under “Model Inference” in community directories like SkillHub. Its positioning is to allow DSH to operate Xiaohe Canvas, assisting in the creation of e-commerce-related content (images, videos, workflows). The plugin is licensed under MIT, requires Node ^22.19.0 || >=24.0.0, and works in coordination with @deepseek-ai/cordis and @deepseek-ai/dsh-tools as peer dependencies.

It is fundamentally related to the Xiaohe Canvas本体 (GitHub project drawspace) and the npm package @xiaohe-store/canvas-agent (the canvas MCP service). Upon installing the plugin, the Canvas Agent is automatically launched when starting DSH Web according to the configuration.

Core Features

According to the README and repository descriptions, the capabilities listed below expose approximately 42 tools via the plugin:

  1. Canvas Operations: Create, update, and delete nodes, as well as manage connections and layouts.
  2. Template Library: Search and use e-commerce templates; the documentation mentions 16 categories including clothing, beauty, and food.
  3. AI Generation: Generate images, videos, audio, and copywriting.
  4. Asset Management: Operations such as listing and adding to the user’s asset library.

All the above capabilities are achieved through DSH tool calls. Specific tool names depend on the implementation and can be viewed in the DSH tool list after installation.

Installation and Activation

DSH community plugins are installed via dsh plugin. The command should follow the repository README; do not manually concatenate the github:owner/repo format.

For the Web version:

dsh plugin --profile web add xiaohe-canvas-dsh

For the Desktop version:

dsh plugin --profile desktop add xiaohe-canvas-dsh

After installation, you must restart the DSH process (not just refresh the browser interface) for the plugin to take effect.

Example for uninstalling the Web version:

dsh plugin --profile web remove xiaohe-canvas-dsh

Configuration Instructions

The plugin writes configuration through a Cordis patch. For the Web profile, the relevant snippet is located at ~/.dsh/profiles/web/cordis.patch.yml. The example provided in the README is:

- insert:
    - id: xiaohe-canvas
      name: 'xiaohe-canvas-dsh'
      config:
        apiUrl: 'http://127.0.0.1:17371'
        timeout: 30000
        autoStartAgent: true

apiUrl points to the local Canvas Agent service address; timeout is the timeout in milliseconds; autoStartAgent: true indicates that the Agent is started automatically by the plugin side. If the port or service is not ready, the canvas connection will fail, so please troubleshoot by referring to the @xiaohe-store/canvas-agent documentation.

Typical Usage

The following steps are derived from the official README and can be reproduced in order.

1. Start DeepSeek Harness

npx @deepseek-ai/dsh web

According to the README, the plugin will automatically start the Canvas Agent.

2. Open Xiaohe Canvas

Open the Xiaohe Canvas webpage in your browser; the Canvas Agent will automatically establish a connection with the page.

3. Chat in DSH

Enter natural language requirements in DeepSeek Harness, for example:

I am a Taobao shop owner selling children's clothing. Help me create a workflow for a livestream sales video.

The model will orchestrate workflows on the canvas or call capabilities such as generation and templates via plugin tools. The specific results depend on the canvas account, template library, and available generation services at the time.

Applicable Scenarios and Notes

Target Audience: Developers or operations personnel who are already using or planning to use Xiaohe Canvas for e-commerce graphics, short videos, and workflow orchestration, and wish to use DSH as a unified conversational entry point.

Ecosystem Note: DSH’s philosophy is “Everything is a Plugin”; directories like SkillHub are community sites and have no official affiliation with DeepSeek or High-Flyer. This article introduces an open-source plugin released by wild-River2016, which is not an official app store entry.

Security and Permissions: The plugin runs with the user permissions of the current DSH process and can access the Agent on the local 127.0.0.1 and the canvas session in the browser. Before installation, you should read the GitHub Source Code and the MIT license to confirm that the tool behavior complies with your environment policies. Use autoStartAgent and open ports with caution on production or shared machines.

Version and Stars: As of the data capture time, the GitHub stars were 0, indicating an early-stage community plugin. After upgrading the Node and DSH major versions, it is necessary to re-verify if the installation and patches conflict.

Links

Through the steps above, you can drive Xiaohe Canvas using natural language within DSH, consolidating templates, generation, and asset management into a single Agent toolchain. Details are subject to the repository README and cordis.patch.yml.

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

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

Xiaoye