feat: 模型目录改为可折叠;Key 区提示区分已配置/未配置

This commit is contained in:
dsh-custom committed 2026-10-10 14:06:57 +08:00
1 parent 79966c6730
commit ee5c3a5c75
2 files changed
+44 -5

No files matched your search

+2 -1
View File
@@ -36,8 +36,9 @@ DSH 桌面版(本机安装于 `E:\DeepSeekHarness`,路径按实际调整)
| 6 | `client.js` CSS | dock 的 `overflow: hidden` → `visible`(否则弹出的卡片会被父容器裁掉) |
| 7 | `client.js` `mountPendingSelector` | 移除新建会话时的「新会话默认凭证」选择器 |
| 8 | `client.js` `apply()` | 注释掉 `plugins.detail.section` 注册(移除插件详情页面板)。**保留** `settings.models.provider-card`(改 Key / 拉模型列表的唯一 UI 入口) |
| 9 | `client.js` `applyMode` | 隐藏「当前 API Key」多 Key 来源下拉,且不再回显 Key 内容 |
| 9 | `client.js` `applyMode` | 隐藏「当前 API Key」多 Key 来源下拉;Key 提示区分「已配置可更换 / 未配置可添加」,且不回显 Key 内容 |
| 10 | `index.js` | `DISPLAY_NAME` 由 `WorkBuddy 中国区` 改为 `WorkBuddy`(不显示区服) |
| 11 | `client.js` `mountModelEditor` | 「模型目录」改为**可折叠**(默认收起),避免模型列表过长;Key 输入与「添加并使用」始终可用,未配置 Key 的机器可直接填入 |
代码内均以 `[自用定制 2026-10-10]` 注释标记,便于日后与上游 diff。