AGENTS.md@dsh-plugin · git:20260904.cf2f786 · 2026-09-04 · sha256 ae3d2c8056a79649
AGENTS.md@dsh-plugin git:20260904.cf2f786A
Immutable. This exact content is served forever at /api/v1/blob/ae3d2c8056a79649.
---
description: CloudBase DeepSeek Harness plugin package
globs: *
alwaysApply: true
---
# @cloudbase/dsh-plugin
This directory is the npm package that plugs CloudBase into DeepSeek Harness.
## Source of truth
- Host entry: `src/server/index.ts` (`apply`, `cloudbaseData` typert object)
- Client entry: `src/client/index.ts` (slots: toolview / turnTail;右侧 details 面板 0.1.0 已下线,组件源码保留待 v0.2 以 kit 形态回归,勿在 apply 里重新注册)
- MCP patch: `cordis.patch.yml` — **never** pass `CLOUDBASE_API_KEY`
- Product names: `src/server/term-map.ts` (no FLEXDB / SCF / TDSQL in UI)
## Build
```bash
npm test
npm run build
```
Client bundle **must** wrap `window.__ModuleLoader__.load({id, factory})`. Do not ship bare ESM for the web client.
## Compatibility
DSH `>=0.1.0-rc.6 <0.2.0`. Runtime dependencies must stay empty; CodeMirror and esbuild are build-time only.