@linxin666/dsh-client-ui-skin-center 0.3.18 → 0.3.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/contracts/semantic-attrs-v1.md +4 -4
- package/lib/client.js +1 -1
- package/package.json +1 -1
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
| `data-dsh-wallpaper-active` | html + body(body/html 级,另行管理) | WE 壁纸挂载期间置 `true`,卸载 / 禁用清除;供皮肤 CSS 与壁纸中和规则锚定(#734) |
|
|
46
46
|
| `data-dsh-wallpaper-surface` | 官方 shell 全视口背景元素 + 侧栏工作区淡化条(元素级) | `WallpaperController.markWallpaperSurfaces()` 在 WE 壁纸挂载期间打标(全视口 bg-base 背景 + `data-slot="sidebar.workspaces"` 内渐变淡化条),命中 `html[data-dsh-wallpaper-active] [data-dsh-wallpaper-surface]` 中和;卸载清除,不含哈希类依赖(#734) |
|
|
47
47
|
|
|
48
|
-
## part 组(
|
|
48
|
+
## part 组(71 行,含各 owner 行)
|
|
49
49
|
|
|
50
50
|
shell 区域(owner: shell):
|
|
51
51
|
|
|
@@ -84,6 +84,7 @@ family / 插件区域:
|
|
|
84
84
|
| `announcement` | pet | 插件公告气泡(dsh-usage 联动);`[data-dsh-pet-announcement]`,值来源插件标签 |
|
|
85
85
|
| `panel` | pet | 交互面板;`[data-placement]` |
|
|
86
86
|
| `summon-button` | pet | 召唤钮;`[data-testid="pet-summon"]` |
|
|
87
|
+
| `preset-panel` | preset-center | 创意工坊「预设」标签页面板根;`[data-dsh-plugin="preset-center"] [data-dsh-part="preset-panel"]` |
|
|
87
88
|
| `plugin-item` | web-ui-settings | 家族插件设置卡;`[data-slot="web-ui.plugin.item"]` 内 entry |
|
|
88
89
|
| `head` | skill-explorer | 技能中心模态卡头部;`[data-dsh-plugin="skill-explorer"] [data-dsh-part="card"] > header` |
|
|
89
90
|
| `card` | skill-explorer | 技能中心模态卡;`[data-dsh-plugin="skill-explorer"] [data-dsh-part="card"]` |
|
|
@@ -128,7 +129,7 @@ family / 插件区域:
|
|
|
128
129
|
| `disabled-state` | model-capabilities | 已禁用提供方的卡片提示区(含启用按钮);panel 内 `[data-dsh-part="disabled-state"]` |
|
|
129
130
|
| `disabled-footer` / `disabled-row` | model-capabilities | Models 页底部存档区与其行;`settings.models.footer` 槽内 `section[data-dsh-part="disabled-footer"]` 与其中 `li[data-dsh-part="disabled-row"]` |
|
|
130
131
|
|
|
131
|
-
## plugin 组(
|
|
132
|
+
## plugin 组(14 个)
|
|
132
133
|
|
|
133
134
|
| data-dsh-plugin | owner | 锚定方式 |
|
|
134
135
|
| --- | --- | --- |
|
|
@@ -140,13 +141,12 @@ family / 插件区域:
|
|
|
140
141
|
| `web-ui-settings` | dsh-web-settings | settings.section id `web-ui-plugins` |
|
|
141
142
|
| `skill-explorer` | dsh-skill-explorer | `[data-dsh-skill-explorer-view]` / `[data-dsh-skill-explorer-entry]` |
|
|
142
143
|
| `doctor` | dsh-doctor | web-ui.plugin.item 槽 entry id `doctor`(设置 → Web 插件 → Doctor 卡片);卡片内 `[data-dsh-plugin="doctor"]` |
|
|
143
|
-
| `aionui-panel` | dsh-aionui-panel(停更) | dock entry id `aionui-*` |
|
|
144
144
|
| `dsh-web-ui-market` | dsh-market | 创意工坊商店一级页(settings.section id `dsh-web-ui-market`),商店卡与目录条目容器 |
|
|
145
145
|
| `skin-center` | skins/skin-center | 一级设置分区 settings.section id `skin-center`(列已安装皮肤,属内置源时显式标记) |
|
|
146
146
|
| `session-id` | dsh-session-id | footer action slot entry id `session-id`;`[data-dsh-plugin="session-id"]`(面板 overlay 根 + 入口触发器) |
|
|
147
|
-
| `miku-pet` | dsh-miku-pet | 宠物浮层根 `[data-dsh-plugin="miku-pet"]`;host 路由前缀 `/miku-pet/*`;设置页 settings.section id `miku-pet-config` |
|
|
148
147
|
| `usage` | dsh-usage | 一级设置分区 settings.section id `dsh-usage`(创意工坊下方);`[data-dsh-plugin="usage"]` |
|
|
149
148
|
| `model-capabilities` | dsh-model-capabilities | Models 页 `settings.models.provider-card` keyed 槽 key `llm-pi-ai`(提供方卡片扩展区)+ `settings.models.footer` 槽 entry id `ui-model-capabilities`(存档区);`[data-dsh-plugin="model-capabilities"]` |
|
|
149
|
+
| `preset-center` | dsh-preset-center | 创意工坊卡片的「预设」标签页面板(`dsh-workshop.panel` keyed 槽 key `preset`);`[data-dsh-plugin="preset-center"]` |
|
|
150
150
|
|
|
151
151
|
## 已知脆弱点(上游主题缝 PR 诉求)
|
|
152
152
|
|
package/lib/client.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@linxin666/dsh-client-ui-skin-center",
|
|
3
3
|
"description": "In-GUI skin center for the dsh web GUI — the single skin package: skins are pure asset directories (built-in plus $DSH_HOME/skins) loaded and rendered only by the skin center; live try-on and one-click apply switch atomically in the page (no reload, no cordis.patch.yml rewrite, no restart)",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.19",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"exports": {
|