coeasy/dsh-go--packages-dsh-go-marketplace-plugin ↗★ 1
dsh-go-marketplace-plugin
DSH desktop Marketplace UI and Runtime Supervisor client using Package Protocol V2
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗DSH Go Marketplace Desktop Plugin
coeasy/dsh-go-marketplace-plugin is the desktop/Tauri-compatible Marketplace presentation layer for DSH Go V4.
The plugin deliberately owns no installer, resolver, Runtime State writer, Registry writer, secret store, or restart mechanism. Remote Marketplace API V2 is discovery-only. Every local mutation is delegated to the authenticated Local Host API V2, which routes it through Runtime Supervisor.
Host integration
Before loading ui/index.html, the desktop host injects:
globalThis.__DSH_DESKTOP__ = {
token: '',
localBaseUrl: 'http://127.0.0.1:43731',
marketplaceBaseUrl: 'https://dsh-go.pages.dev',
locale: 'en'
};
The desktop client uses:
GET /v2/contractfor the Local Host contract;GET /v2/runtime/statusandGET /v2/packagesfor local status;GET /v2/registry/statusfor the active Registry V4 revision;POST /v2/install/planfor a non-mutating local resolution preview;POST /v2/install/executeonly after explicit approval;POST /v2/packages/actionfor update/remove/rollback/enable/disable/verify;POST /v2/runtime/activatefor explicit pending-package activation.
Remote discovery uses only /api/v2/*. It cannot mutate the user machine and cannot override the local Registry from a Deep Link or web page.
Activation contract
Install/update/rollback leave packages pending activation. The plugin does not restart DSH automatically. Selecting Activate pending packages asks the authenticated Runtime Supervisor to perform Activation Manager preflight, Runtime Adapter binding, health checks, and Last-Known-Good recovery.
The invariant is:
Marketplace discovery
→ Package Protocol V2 request
→ Local Runtime Supervisor
→ Resolver / Policy / Transaction / CAS
→ Runtime State V4
→ explicit activation