http-endpoints.md

September 5, 2026 · View on GitHub

HTTP endpoints

EndpointMethodPurpose
/plugin-console/stateGETPlugin list + patch state + compat + running install jobs
/plugin-console/togglePOSTEnable/disable an entry (writes user patch layer)
/plugin-console/uninstallPOSTRemove entry + uninstall package (bundle-aware)
/plugin-console/searchPOSTMulti-source search (github/gitee/custom, multi merge)
/plugin-console/repoPOSTRepo metadata: package.json, private root, dsh hint, hasSkill
/plugin-console/enrichPOSTServer-side type markers (official/aggregate/skill)
/plugin-console/installPOSTInstall (plugin or kind: skill), returns a job id
/plugin-console/install-statusPOSTPoll an install job
/plugin-console/check-updatePOSTnpm latest version + subpackage mismatch check
/plugin-console/market-indexPOSTStatic index (jsDelivr CDN, 10-min cache)
/plugin-console/skills-installedGETInstalled skills under ~/.dsh/skills
/plugin-console/sourcesGET/POSTRegistry & search-source manager, Gitee OAuth setup
/plugin-console/gitee-oauth-url / gitee-oauth-callbackGETGitee OAuth flow
/plugin-console/ai-consentPOSTApprove/cancel the AI-fallback step
/plugin-console/restartPOSTWatchdog-safe self-restart (panel button equivalent)
/plugin-console/framework-upgradePOSTOne-click framework upgrade (full-tree checkpoint → online install → rollback protection)
/plugin-console/framework-rollbackPOSTOne-click rollback to the previous version (stop → full-tree restore → auto relaunch → health check)
/plugin-console/self-updatePOSTUpdate the console itself (latest npm tarball into the profile)
/plugin-console/ai-empower/plan / status / run / cancelPOSTAI Empower: plan (with framework compat pre-check) → status polling → confirmed run → cancel
/plugin-console/components / component/start / stop / statusGET/POSTServer component registry and start/stop/status