dsh-claude-desktop-theme 0.5.0 → 0.5.2

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.
Files changed (44) hide show
  1. package/README.md +8 -6
  2. package/lib/client.js +7916 -5407
  3. package/lib/index.js +6 -6
  4. package/lib/types/client/compat/account-balance-hint.d.ts +11 -0
  5. package/lib/types/client/compat/account-balance.d.ts +2 -0
  6. package/lib/types/client/compat/conversation-stream.d.ts +5 -0
  7. package/lib/types/client/compat/files-pane.d.ts +2 -2
  8. package/lib/types/client/compat/header-menu-actions.d.ts +0 -2
  9. package/lib/types/client/compat/host-builds.d.ts +5 -4
  10. package/lib/types/client/compat/host-dom.d.ts +19 -2
  11. package/lib/types/client/compat/search-palette-port.d.ts +4 -0
  12. package/lib/types/client/compat/sidebar-editor.d.ts +32 -0
  13. package/lib/types/client/compat/sidebar-more-menu.d.ts +13 -0
  14. package/lib/types/client/compat/sidebar-navigation.d.ts +8 -0
  15. package/lib/types/client/compat/sidebar-panels.d.ts +62 -0
  16. package/lib/types/client/compat/sidebar-search.d.ts +13 -14
  17. package/lib/types/client/compat/workspace-menu.d.ts +2 -1
  18. package/lib/types/client/compat/workspace-worktree.d.ts +12 -2
  19. package/lib/types/client/contracts/ports.d.ts +102 -0
  20. package/lib/types/client/features/composer-pet/claude-frames.d.ts +2 -2
  21. package/lib/types/client/features/right-panel/mount.d.ts +5 -0
  22. package/lib/types/client/features/search-palette/SearchPalette.d.ts +23 -0
  23. package/lib/types/client/features/search-palette/model.d.ts +109 -0
  24. package/lib/types/client/features/search-palette/mount.d.ts +17 -0
  25. package/lib/types/client/features/settings/ColourMenu.d.ts +16 -0
  26. package/lib/types/client/features/settings/FontMenu.d.ts +1 -1
  27. package/lib/types/client/features/settings/ThemePanel.d.ts +21 -0
  28. package/lib/types/client/features/settings/colours.d.ts +8 -0
  29. package/lib/types/client/features/settings/fields.d.ts +6 -3
  30. package/lib/types/client/features/settings/locales.d.ts +16 -5
  31. package/lib/types/client/features/settings/mount.d.ts +7 -5
  32. package/lib/types/client/features/settings/register.d.ts +13 -2
  33. package/lib/types/client/features/sidebar/navigation-icons.d.ts +3 -0
  34. package/lib/types/client/features/sidebar-editor/MoreCardRows.d.ts +24 -0
  35. package/lib/types/client/features/sidebar-editor/SidebarEditor.d.ts +20 -0
  36. package/lib/types/client/features/sidebar-editor/copy.d.ts +9 -0
  37. package/lib/types/client/features/sidebar-editor/mount.d.ts +18 -0
  38. package/lib/types/client/features/sidebar-editor/state.d.ts +31 -0
  39. package/lib/types/client/theme/palette.d.ts +1 -1
  40. package/lib/types/host/index.d.ts +16 -16
  41. package/lib/types/shared/config.d.ts +4 -4
  42. package/lib/types/shared/identity.d.ts +1 -1
  43. package/package.json +16 -16
  44. package/lib/types/client/features/shell/index.d.ts +0 -14
package/README.md CHANGED
@@ -104,8 +104,10 @@
104
104
  - 左下角账号菜单新增「余额」,显示 DeepSeek 官方 API 的人民币余额(`¥`);点击刷新,菜单打开时每分钟后台更新,重新打开保留上次读数。复用设置 → 模型中的官方 API Key;未配置或查询失败时显示对应状态。
105
105
 
106
106
  - DeepSeek Harness 品牌条目默认隐藏,可在「设置 → Claude 主题 → 视图」开启显示。
107
- - 新建 / 自定义 / 定时任务三枚入口与工作区、会话列表、账号菜单共用紧凑行高,当前入口常驻底色。
108
- - 会话搜索框与导航行同宽同高,位于「新建」上方;原标题行隐藏「最近会话」标题,只保留右侧筛选视图按钮。
107
+ - 新建 / 搜索 / 自定义 / 定时任务 / 主题入口与工作区、会话列表、账号菜单共用紧凑行高,当前入口常驻底色;「更多」以三个点表示。原标题行隐藏「最近会话」标题,只保留右侧筛选视图按钮。
108
+ - 「主题」入口在主区域打开本插件的配置页,内容与「设置 → Claude 主题」相同;关闭 Claude 主题后入口仍在,用来重新开启。
109
+ - 点击「更多」,在「浏览插件…」「创建插件…」下方选「编辑侧边栏…」,勾选要在侧栏中显示的面板;取消勾选的面板移到「更多」菜单顶部,选择保存在本机。
110
+ - 点击「搜索」或按 ⌘K 打开搜索面板:按全部 / 会话 / 项目 / 定时任务切换类型,空白时列出最近使用;输入后按标题匹配并补充会话内容命中。↑↓ 选择、↵ 打开、⌥↵ 打开行操作(置顶、创建分支、归档等)、Tab 用输入内容新建会话、`/` 筛选类型、← → 切换类型、Esc 关闭。
109
111
  - 会话条目尾部只有一枚 ⋮,菜单里是置顶、重命名、分叉与归档。
110
112
  - 视图选项分状态、分组与排序、空分组三段。「按状态」把会话分为需要输入 / 进行中 / 已结束,状态变化时平滑移动,进行中的会话下显示子任务,没有会话的分区不显示标题,点击分区标题可收起或展开,收起后当前打开的会话仍保留在列表中;项目分组与单列表仍然可选。
111
113
  - 「对话 / 轨迹」切换器停在侧栏窗口控制行,以图标表示。
@@ -113,7 +115,7 @@
113
115
  ### 会话页
114
116
 
115
117
  - 新会话页、输入卡片与聊天页共用一套布局,正文边缘随滚动渐隐。
116
- - 顶栏左侧是电脑图标与标题下拉(Open in、Rename、Fork、Transcript view、Output style、Archive、Delete);项目名以灰色标签显示,点击打开目录菜单。有宿主接口的动作接真实操作,其余点击说明限制。
118
+ - 顶栏左侧是电脑图标与标题下拉(Open in、Rename、Fork、Transcript view、Output style、Archive、Delete);不显示项目名,标题按自然宽度完整展示,只在空间不足时截断。有宿主接口的动作接真实操作,其余点击说明限制。
117
119
  - 新建会话页与聊天页顶栏右侧依次是终端、浏览器、项目文件夹三个右栏入口;展开右栏的动作在会话 ⋯ 菜单第一项。
118
120
  - 整轮过程默认展开,「已完成,用时…」与步骤分组标题不再显示。
119
121
  - Markdown 的链接、行内代码、表格与代码块按 CCD 风格重绘。
@@ -150,11 +152,11 @@
150
152
 
151
153
  ## 配置
152
154
 
153
- 打开「设置 → Claude 主题」,改动即时生效:
155
+ 打开侧栏「主题」或「设置 → Claude 主题」,改动即时生效:
154
156
 
155
157
  | 分组 | 可调项 |
156
158
  | --- | --- |
157
- | 模块 | 窗口与分栏骨架、侧栏、新建页、主页字符水波纹(默认开启)、聊天页、输入框小鲸鱼、统计卡片(默认开启)、状态栏统计读数(默认关闭)、上下文分解面板 |
159
+ | 模块 | 左侧栏、右侧栏(独立启停)、新建页、主页字符水波纹(默认开启)、聊天页、输入框小鲸鱼、统计卡片(默认开启)、状态栏统计读数(默认关闭)、上下文分解面板 |
158
160
  | 外观 | 主题(浅色 / 深色 / 跟随系统)、会话背景色、侧栏背景色 |
159
161
  | 视图 | 顶栏子代理入口、顶栏团队入口(默认关闭)、显示空分组(默认关闭) |
160
162
  | 字体 | 界面字体、代码与等宽字体;界面中文字体在设置页不列,需写进 profile 的 `cordis.patch.yml` |
@@ -164,7 +166,7 @@
164
166
 
165
167
  ## 环境要求
166
168
 
167
- 支持最新版 DSH Desktop,兼容 `0.2.0-rc.2`;macOS(Apple 芯片)或 Windows 10 及以上(64 位)。源码构建另需 Node.js ≥ 22.18.0。
169
+ 兼容目标为 DSH Desktop `0.2.1-rc.3`,已验证 macOS(Apple 芯片)。Windows 10 及以上(64 位)的安装入口保留,新版宿主的 Windows 构建尚未完成验证。源码构建另需 Node.js ≥ 22.18.0。
168
170
 
169
171
  ## 反馈与许可
170
172