Repository navigation
v0.2.0
- Web console for
dsh-plugin-trim, registered as the Settings → Plugins → 体验优化 tab: context and compatibility overview; explainable slim suggestions with low-risk selection … - Same-origin host APIs:
/api/dsh-experience-optimizer/overview|suggest|apply|rollback;/api/dsh-experience-optimizer/recipe/plan|export. dsh-shared-meta/http.tsfor origin checks, bounded JSON bodies, and JSON responses.dsh.client/exports["./client"]packaging for the browser half; packaging verification now checks the client bundle.- UI APIs validate the DSH browser session through Connection
requestRejection()and reject cross-site requests; unauthenticated calls return 401. - Apply still requires
confirm: true, low-risk items only, snapshots, and automatic rollback on failure. - 其余 3 项见 CHANGELOG.md
安装:npm i dsh-plugin-trim