Introduction¶
DeepSeek Harness (dsh) is built on the philosophy of “everything is a plugin,” allowing developers to mount various capabilities in their local agent environments. In a DevOps workflow, the journey from requirement intake to deployment often involves multi-node collaboration, which is difficult to cover end-to-end through manual operations. Grape is a multi-agent DevOps platform whose pipeline nodes (VOD → Issue → Coding → QA → SRE) span the complete chain from requirement to deployment. The grape-dsh plugin brings Grape’s capabilities into dsh, enabling local agents to trigger, monitor, and take over Grape’s multi-agent DevOps pipelines.
Plugin Positioning¶
- Name: grape-dev/grape-dsh
- Maintainer: grape-dev
- Category: Workflow
- Positioning: Exposes Grape DevOps pipeline capabilities within dsh, supporting trigger, monitoring, and takeover operations.
Core Capabilities¶
This plugin exposes Grape to dsh agents through two interfaces:
33 Tool Functions¶
The plugin provides 33 tool functions prefixed with grape_, covering:
- Pipeline triggering and status querying
- Issue lifecycle management
- Event and scenario operations
- Repository and skill management
- Knowledge base and dashboards
- Project templates
These functions are invoked by dsh agents and communicate with the Grape platform via Grape CLI subprocesses or the Grape HTTP API (for panel/takeover routes). The plugin itself does not store any credentials.
Sidebar Panel & Focus Pin¶
- Sidebar Panel: Displays a real-time pipeline card for each Issue, showing the node chain and takeover controls.
- Focus Pin: Quickly locates and operates on the currently focused pipeline within the panel.
Installation & Activation¶
Before installing, ensure your environment meets the following version requirements:
- Node.js >= 18
- Python >= 3.10 (on Windows, use
py -3 --version) - Grape >= 0.3.3
- dsh >= 0.2.0
Install via npm (Recommended)¶
dsh plugin --profile <profile> add @grape-dev/grape-dsh@0.5.4
Note: Versions 0.5.0 and above are published on npm and include the lib/ directory.
Local Build Installation¶
If you need to use an unreleased version or local modifications:
git clone --depth 1 https://gitcode.com/grape-dev/grape-dsh.git
bash grape-dsh/skills/grape-dsh-install/scripts/install.sh <profile>
Windows environment:
pwsh -File grape-dsh\skills\grape-dsh-install\scripts\install.ps1 -Profile <profile>
The installation script clones the stable build, compiles lib/, packages the tarball, and performs the installation, while also printing the generated tarball path.
Verify Installation¶
After installation, restart the corresponding profile, then run the following commands to verify:
dsh plugin --profile <profile> list # Should include @grape-dev/grape-dsh
dsh --profile <profile> --dump-config # Config should include id: grape-tools
GRAPE_CLI_MODE=USER grape auth profile # Returns user profile
If the above checks do not pass, refer to AGENT-DEPLOYMENT-GUIDE.md for troubleshooting.
Typical Usage¶
1. Triggering & Monitoring Pipelines¶
Within a dsh session, the agent can invoke tools such as grape_trigger_pipeline to initiate a pipeline, and use grape_get_pipeline_status to retrieve its status.
2. Task Takeover¶
When human intervention is needed or a local agent needs to take over a running node:
- Grape cancels the cloud task
- The plugin opens a local dsh session with full context loaded (skill packs, project graph, history, original prompt)
- Progress and results are reported back to the platform;
finishreturns a structured conclusion and schedules the next node
3. Registering as a Grape Worker¶
Via the Worker onboarding feature in the sidebar panel, the current machine can be registered as a Grape Worker, obtaining the corresponding credentials (tokens prefixed with rta_).
4. Submitting Feedback¶
The “Feedback” button in the panel header opens a structured feedback dialog where you can fill in type, title, description, steps, and expected behavior. Once submitted, it is handled centrally by the Grape Feedback Center—no need to manually create a GitCode Issue.
Applicable Scenarios & Notes¶
- Suited for teams that need to integrate Grape DevOps pipelines into a local agent environment, especially in multi-node collaboration and human takeover scenarios.
- The plugin runs with the permissions of the current dsh process. It is recommended to review the source code and license before installation (this plugin is licensed under the MIT License).
Summary¶
grape-dsh brings Grape’s DevOps capabilities into dsh. Through its tool functions and sidebar panel, it supports pipeline triggering, status monitoring, and task takeover. With an agent-ready installation process and cross-platform support, it lowers the integration barrier, making it ideal for directly operating Grape pipelines within a local agent.
- Plugin directory page: https://www.skillhub.cn/plugins/grape-dev/grape-dsh
- GitHub repository: https://github.com/grape-dev/grape-dsh