@linxin666/dsh-client-ui-skin-center 0.3.17 → 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 +14 -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,11 +84,13 @@ 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"]` |
|
|
90
91
|
| `tab-bar` / `tab` | skill-explorer | 技能中心页签条/页签;`[data-dsh-plugin="skill-explorer"] [data-dsh-part="tab-bar"]` / `[data-dsh-plugin="skill-explorer"] [data-dsh-part="tab"]` |
|
|
91
92
|
| `skill-row` | skill-explorer | 技能卡行;`[data-dsh-plugin="skill-explorer"] [data-dsh-part="skill-row"]` |
|
|
93
|
+
| `filter-bar` | skill-explorer | 技能列表筛选条(搜索框 + 工作区选择);`[data-dsh-plugin="skill-explorer"] [data-dsh-part="filter-bar"]` |
|
|
92
94
|
| `header` | doctor | 救助控制台头部;`[data-dsh-plugin="doctor"] [data-dsh-part="header"]` |
|
|
93
95
|
| `enable` | doctor | 救助模式启用行 |
|
|
94
96
|
| `status` | doctor | 系统状态卡 |
|
|
@@ -118,8 +120,16 @@ family / 插件区域:
|
|
|
118
120
|
| `trend-card` / `usage-chart` | usage | 近 30 天卡 / 其中的提供方-模型条形图;`[data-dsh-part="trend-card"]` 内 `[data-dsh-part="usage-chart"]` |
|
|
119
121
|
| `settings-row` | usage | 插件设置行;`[data-dsh-part="settings-row"]` |
|
|
120
122
|
| `plan-card` / `plan-window` | usage | 套餐卡 / 套餐窗口行(个人套餐页签);`[data-dsh-part="plan-card"]` 内窗口行 |
|
|
123
|
+
| `panel` | model-capabilities | 提供方卡片能力扩展区根;`[data-dsh-plugin="model-capabilities"][data-dsh-part="panel"]` |
|
|
124
|
+
| `toggle` | model-capabilities | 扩展区折叠头按钮;panel 内 `button[data-dsh-part="toggle"]` |
|
|
125
|
+
| `model-row` / `model-toggle` | model-capabilities | 逐模型能力行与其展开按钮;panel 内 `li[data-dsh-part="model-row"]` 及其中 `button[data-dsh-part="model-toggle"]` |
|
|
126
|
+
| `image-input` / `efforts-mode` | model-capabilities | 图片输入勾选组 / 推理档位三态组;展开行内字段容器 `[data-dsh-part="image-input"]`、`[data-dsh-part="efforts-mode"]` |
|
|
127
|
+
| `wire-input` | model-capabilities | 档位发送值输入行;`[data-dsh-part="wire-input"]` 内含 `input[type="text"]` |
|
|
128
|
+
| `save` / `reset` / `disable` / `enable` / `reload` | model-capabilities | 扩展区动作按钮(保存 / 重置 / 禁用此提供方 / 启用 / 重新读取);panel 内裸值按钮 |
|
|
129
|
+
| `disabled-state` | model-capabilities | 已禁用提供方的卡片提示区(含启用按钮);panel 内 `[data-dsh-part="disabled-state"]` |
|
|
130
|
+
| `disabled-footer` / `disabled-row` | model-capabilities | Models 页底部存档区与其行;`settings.models.footer` 槽内 `section[data-dsh-part="disabled-footer"]` 与其中 `li[data-dsh-part="disabled-row"]` |
|
|
121
131
|
|
|
122
|
-
## plugin 组(14
|
|
132
|
+
## plugin 组(14 个)
|
|
123
133
|
|
|
124
134
|
| data-dsh-plugin | owner | 锚定方式 |
|
|
125
135
|
| --- | --- | --- |
|
|
@@ -131,12 +141,12 @@ family / 插件区域:
|
|
|
131
141
|
| `web-ui-settings` | dsh-web-settings | settings.section id `web-ui-plugins` |
|
|
132
142
|
| `skill-explorer` | dsh-skill-explorer | `[data-dsh-skill-explorer-view]` / `[data-dsh-skill-explorer-entry]` |
|
|
133
143
|
| `doctor` | dsh-doctor | web-ui.plugin.item 槽 entry id `doctor`(设置 → Web 插件 → Doctor 卡片);卡片内 `[data-dsh-plugin="doctor"]` |
|
|
134
|
-
| `aionui-panel` | dsh-aionui-panel(停更) | dock entry id `aionui-*` |
|
|
135
144
|
| `dsh-web-ui-market` | dsh-market | 创意工坊商店一级页(settings.section id `dsh-web-ui-market`),商店卡与目录条目容器 |
|
|
136
145
|
| `skin-center` | skins/skin-center | 一级设置分区 settings.section id `skin-center`(列已安装皮肤,属内置源时显式标记) |
|
|
137
146
|
| `session-id` | dsh-session-id | footer action slot entry id `session-id`;`[data-dsh-plugin="session-id"]`(面板 overlay 根 + 入口触发器) |
|
|
138
|
-
| `miku-pet` | dsh-miku-pet | 宠物浮层根 `[data-dsh-plugin="miku-pet"]`;host 路由前缀 `/miku-pet/*`;设置页 settings.section id `miku-pet-config` |
|
|
139
147
|
| `usage` | dsh-usage | 一级设置分区 settings.section id `dsh-usage`(创意工坊下方);`[data-dsh-plugin="usage"]` |
|
|
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"]` |
|
|
140
150
|
|
|
141
151
|
## 已知脆弱点(上游主题缝 PR 诉求)
|
|
142
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": {
|