coeasy/dsh-go--packages-dsh-go-marketplace-plugin ↗★ 1
dsh-go-marketplace-plugin
提供应用市场界面与运行监管客户端
AI 分析
适合需要通过本地API和Supervisor管理应用市场及运行状态的开发者。
安裝
此插件尚未提供可驗證的 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