26 lines
1.4 KiB
JSON
26 lines
1.4 KiB
JSON
{
|
|||
|
|
"name": "@dsh-local/portal-entry",
|
||
|
|
"version": "0.5.1",
|
||
|
|
"description": "portal-entry plugin for dsh web profile (0.1.2-rc.1) — host boot marker + portal_ping tool + settings 「用户管理」section (role-aware: admins see portal origin + 「打开管理台」, everyone sees 「退出登录」). v0.5.0: section renamed from 平台管理, id platform→user-management, order 100→102 (below 功能插件=101), installed for ALL users (scripts/ensure-portal-entry.cjs), role probed via portal GET /api/auth/me with fail-closed fallback to the non-admin view. v0.5.1: repack ONLY — v0.5.0's tarball was built without lib/index.js (host half), which made every instance fail with ERR_MODULE_NOT_FOUND on @dsh-local/portal-entry/lib/index.js; version bumped because pnpm reuses a same-name/same-version tarball from its cache. v0.4.3 HARDCODES colors (text #f9fafb, btn border #43464d) because both --dsw-alias-label-primary and --dsw-alias-button-elevated-fill are defined as #f9fafb in the dark theme, so var() fallbacks never engaged.",
|
||
|
|
"type": "module",
|
||
|
|
"main": "lib/index.js",
|
||
|
|
"exports": {
|
||
|
|
".": "./lib/index.js",
|
||
|
|
"./client": "./lib/client.js"
|
||
|
|
},
|
||
|
|
"dsh": {
|
||
|
|
"bundle": {
|
||
|
|
"patch": "./cordis.patch.yml"
|
||
|
|
},
|
||
|
|
"client": {
|
||
|
|
"platform": "web",
|
||
|
|
"inject": [
|
||
|
|
"@deepseek-ai/dsh-client-ui-settings-general"
|
||
|
|
]
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"dependencies": {
|
||
|
|
"@deepseek-ai/dsh-tools": "0.1.2-rc.1"
|
||
|
|
},
|
||
|
|
"license": "MIT"
|
||
|
|
}
|