CloudBase Sites (DSH)
Closed loop for "build me a web app" inside DeepSeek Harness.
Mandatory sequence
- Call
mcp__cloudbase__authaction=status. If not signed in,action=start_authauthMode=device. Never pass an API Key. - Call
mcp__cloudbase__downloadTemplatewithtemplate="react"(orvue) into the workspace. Do not scaffold files by hand. - Start the Vite dev server locally and tell the user the preview URL.
- Create PostgreSQL tables with
mcp__cloudbase__managePgDatabase(action=execute,confirm=true). Verify withmcp__cloudbase__queryPgDatabase. - Build the frontend (
pnpm build/npm run build). - Deploy with
mcp__cloudbase__manageHostingaction=uploadpointing atdist/. Return the real domain from the tool result. There is no hosting rollback API — do not offer a rollback button. - Mini Program publish is P2 and not available. Say so explicitly; do not fail silently.
Product language
Never say FLEXDB / SCF / TDSQL / EnvId / Region in user-facing text. Say 文档型数据库 / 云函数 / 数据库 / 环境 ID / 地域.