@michengai/dsh-codex-ui 1.1.49 → 2.0.0
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/CHANGELOG.md +7 -0
- package/CHANGELOG.zh-CN.md +7 -0
- package/README.md +117 -112
- package/README.zh-CN.md +117 -112
- package/assets/icon.svg +25 -0
- package/assets/screenshots/conversation-light.png +0 -0
- package/assets/screenshots/conversation.png +0 -0
- package/assets/screenshots/session-menu.png +0 -0
- package/assets/screenshots/settings-about.png +0 -0
- package/assets/screenshots/sidebar-collapsed.png +0 -0
- package/assets/screenshots/sidebar.png +0 -0
- package/cordis.patch.yml +9 -1
- package/lib/business-api-CSNUY-u5.mjs +11 -0
- package/lib/client.js +6050 -12010
- package/lib/composer-plugin.d.mts +17 -0
- package/lib/composer-plugin.mjs +41 -0
- package/lib/index.mjs +6 -1300
- package/lib/profile-resolver-BlLPRcE8.mjs +66 -0
- package/lib/session-title-plugin.d.mts +1 -1
- package/lib/session-title-plugin.mjs +111 -389
- package/lib/settings-skin-plugin.d.mts +12 -0
- package/lib/settings-skin-plugin.mjs +34 -0
- package/lib/sidebar-plugin.d.mts +17 -0
- package/lib/sidebar-plugin.mjs +43 -0
- package/lib/theme-plugin.d.mts +17 -0
- package/lib/theme-plugin.mjs +43 -0
- package/locale/composer/en.json +6 -0
- package/locale/composer/zh.json +6 -0
- package/locale/en.json +1 -1
- package/locale/settings-skin/en.json +6 -0
- package/locale/settings-skin/zh.json +6 -0
- package/locale/sidebar/en.json +6 -0
- package/locale/sidebar/zh.json +6 -0
- package/locale/theme/en.json +6 -0
- package/locale/theme/zh.json +6 -0
- package/locale/zh.json +1 -1
- package/package.json +33 -10
package/README.zh-CN.md
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
<div align="center">
|
|
6
6
|
|
|
7
|
-
# DSH Codex UI
|
|
7
|
+
# DSH Codex UI v2.0
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
**现代化 DeepSeek Harness 全方位界面增强套件:极速历史召回、全屏设置皮肤、原生物理毛玻璃换肤与模块化侧栏**
|
|
10
10
|
|
|
11
11
|
[English](README.md) · [更新日志](CHANGELOG.zh-CN.md) · [Apache-2.0](LICENSE)
|
|
12
12
|
|
|
@@ -18,172 +18,177 @@
|
|
|
18
18
|
|
|
19
19
|
</div>
|
|
20
20
|
|
|
21
|
-
> DSH Codex UI 是社区维护的 DeepSeek Harness(DSH
|
|
21
|
+
> **声明**:DSH Codex UI 是社区维护的 DeepSeek Harness(DSH)现代化界面增强插件,并非 DeepSeek AI 官方产品。
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
---
|
|
24
24
|
|
|
25
|
-
##
|
|
25
|
+
## 为什么选择 Codex UI 2.0?
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
在日常使用 DeepSeek Harness 时,原生界面可能存在设置窗口狭小局促、主题配色单一、侧栏长插件列表不易整理、输入历史丢失等痛点。**Codex UI 2.0 经历了从底层架构到视觉体系的全面重塑**,以**六大独立子插件**构建起一套高性能、低侵入、官方原生的现代化界面增强体系:
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
* 🚀 **极速输入召回**:终端风格输入框历史(`↑` / `↓` 快捷召回),支持自适应宽度微调;
|
|
30
|
+
* 🪟 **全屏悬浮双岛设置**:告别局促模态框,接入 Ambient Ground 漫反射画布与双岛卡片工作台;
|
|
31
|
+
* 🎨 **物理级毛玻璃换肤**:内置 7 款高品质主题配色(含 Codex 炭黑与极简纸白),支持原版平铺玻璃与云母悬浮双排版模态、三档材质预设与独立地面光斑;
|
|
32
|
+
* 🧭 **模块化侧边栏**:展开态支持原位平滑折叠抽屉与自由拖拽排序;收缩折叠态 **100% 对齐宿主官方 56px 原生导轨**,所有图标整齐排列、新会话常驻高对比度;
|
|
33
|
+
* 🧠 **智能会话标题**:首条消息语义解析,自动提炼精炼标题,完美适配推理大模型长上下文;
|
|
34
|
+
* 📦 **生态配套管理**:官方与第三方生态插件集中看护、版本检测与一键批量升级。
|
|
30
35
|
|
|
31
|
-
|
|
36
|
+
---
|
|
32
37
|
|
|
33
|
-
|
|
34
|
-
- **快速找到内容**:通过顶部搜索查找会话、设置和快捷操作。
|
|
35
|
-
- **管理日常任务**:在项目或会话菜单中重命名、归档、派生会话,或打开项目目录。
|
|
36
|
-
- **回看长对话**:点击轮次导航,直接跳到对应提问。
|
|
37
|
-
- **复用之前的输入**:输入框为空时,按上下方向键找回当前工作区中已提交的文本。
|
|
38
|
-
- **按需扩展功能**:在「设置 → 关于」查看配套插件,安装或更新需要的功能。
|
|
38
|
+
## 为什么选择彻底重构?(历史演变与技术决策)
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
### 1. 早期 1.x 时代的无奈选择:“暴力覆盖组件”的技术负债
|
|
41
|
+
在 DeepSeek Harness(DSH)生态起步阶段,官方宿主的客户端扩展能力与基础设施尚不完善:不仅缺少细粒度的标准 Slots 插槽机制,亦未开放官方原语控件库,插件生命周期钩子也相对稀少。为了能在短时间内为开发者打造出接近 OpenAI / Codex 质感的沉浸式体验,**早期 1.x 版本不得不采用了大量激进的“覆盖组件”策略**:直接拦截并强行替换宿主 DOM 树、使用高权重 CSS 暴力覆盖原生视图、全量硬编码注入自定义 CSS 变量。
|
|
41
42
|
|
|
42
|
-
|
|
43
|
+
**随之而来的维护困局**:随着 DSH 官方宿主的快速迭代演进(先后引入 `profile` 多环境隔离体系、`shortcuts` 服务门控、标准 Slots 插槽注册契约以及官方原生原语库 `@deepseek-ai/dsh-client-ui-primitives` 等),早期“强行覆盖”的技术负债开始集中爆发,日常维护愈发举步维艰:
|
|
44
|
+
* 💥 **版本兼容极度脆弱**:宿主上游稍有 DOM 结构微调或 CSS 类名 hash 变动,就会导致覆盖式选择器失效甚至整页渲染崩溃,难以平滑跟进官方新特性;
|
|
45
|
+
* 🎨 **样式污染与半降级顽疾**:暴力注入的全局样式难以做到干净的生命周期销毁。当用户切换或关闭自定义主题时,残存的根属性与色彩变量导致原生暗色模式被严重污染,甚至出现“毛玻璃材质关闭了、但深色背景被卡死无法复原”的半降级尴尬;
|
|
46
|
+
* 🧩 **状态脱节与“僵尸配置”**:在插件或子特性被停用时,覆盖式组件无法干净退回到宿主原生外观,依然在设置面板中渲染无法生效的失效配置项,破坏了系统的整洁度与用户心智。
|
|
43
47
|
|
|
44
|
-
|
|
48
|
+
### 2. 2.0.0 的彻底重构决策:全面拥抱官方原生体系
|
|
49
|
+
面对维护困局,我们在 2.0.0 版本痛定思痛,**彻底推翻了 1.x 的全部“组件覆盖”代码**,确立了**“零侵入、微内核解耦、全面拥抱官方原生”**的全新技术路线:
|
|
50
|
+
* 🏛️ **严格复用官方原生原语与标准 Slots**:坚决禁止用 CSS 自行手绘宿主已有控件,全面接入官方 `Switch`、`SegmentedControl`、`Button` 原生原语库;侧栏收起时 100% 严丝合缝退回官方原生 56px 导轨规范,真正做到与宿主体系同生共荣;
|
|
51
|
+
* 🧩 **六大微内核子插件物理解耦**:将臃肿的单体代码彻底拆解为 6 个高内聚、自闭环的独立子插件,彼此边界分明、支持按需独立启停,极大提升了工程可维护性与审计透明度;
|
|
52
|
+
* 🛡️ **严格的 Fail-Closed 熔断与动态隐匿 UI**:建立标准的高可用防御契约。一旦探测到子插件在当前 Profile 被停用或服务端不可达,底层不仅物理熔断 Token 注入并彻底清空根属性,前台设置面板更会**直接整体隐匿对应卡片(0 DOM 节点)**,绝不残留任何置灰死项,瞬间 100% 干净回退至官方原生;
|
|
53
|
+
* 🔒 **严格 Profile 隔离与无缝自愈机制**:统一权威的 Profile 路径解析,彻底杜绝跨环境串读与配置污染;同时接入 `focus` 窗口重获焦点自愈探活,兼顾极致安全与网络抖动下的高可用性;
|
|
54
|
+
* 🎨 **纯正 Codex 科技蓝黑美学**:彻底清洗历史残留的绿色硬编码,精准还原官方 `#339cff` 科技蓝、极简纸白与沉浸炭黑质感,辅以双排版模态与地面柔光反射光斑。
|
|
45
55
|
|
|
46
|
-
|
|
56
|
+
---
|
|
47
57
|
|
|
48
|
-
|
|
58
|
+
## 六大核心子插件架构
|
|
49
59
|
|
|
50
|
-
|
|
60
|
+
| 子插件 ID | 模块名称 | 核心能力说明 |
|
|
61
|
+
| :--- | :--- | :--- |
|
|
62
|
+
| `composer` | **输入框增强** | 终端风格历史记录(`↑`/`↓`)快捷召回、工作区隔离存储、自适应宽度拖拽手柄与快捷提示。 |
|
|
63
|
+
| `settings-skin` | **原生设置皮肤** | 全屏设置工作台美化、悬浮双岛架构、Ambient Ground 自然光漫反射底板、分类导航与原生输入框搜索。 |
|
|
64
|
+
| `theme` | **主题与界面换肤** | 内置 7 款主题配色(含 Appearance Cube 色彩方块)、原版平铺/云母悬浮双排版、三档材质预设与地面光斑开关。 |
|
|
65
|
+
| `sidebar` | **模块化侧栏导航** | 模块化侧边栏导航、手风琴原位平滑折叠抽屉、自由拖拽排序;折叠态 100% 对齐宿主官方 56px 原生导轨。 |
|
|
66
|
+
| `session-title` | **会话智能标题** | 基于首条消息语义提取并生成规范的会话标题,支持推理模型 4096 tokens 上下文,防止乱码截断。 |
|
|
67
|
+
| `dependencies` | **配套生态管理** | 深度集成 DSH 官方与第三方生态插件集中管理,实时显示 npm 下载量、安装状态与一键批量升级。 |
|
|
51
68
|
|
|
52
|
-
|
|
69
|
+
---
|
|
53
70
|
|
|
54
|
-
|
|
71
|
+
## 真机界面预览
|
|
55
72
|
|
|
56
|
-
|
|
73
|
+
> *以下界面均使用 `ego-browser` 在真实的 DeepSeek Harness Web 运行环境中捕获。*
|
|
57
74
|
|
|
58
|
-
|
|
75
|
+
### 1. 沉浸主界面与输入增强(深色模式)
|
|
76
|
+
沉浸炭黑(Codex Dark)配色,居中展示品牌标语与快捷动作引导卡片,底部输入框提供「↑↓ 翻历史」快捷召回与自适应宽度手柄。
|
|
59
77
|
|
|
60
|
-

|
|
61
79
|
|
|
62
|
-
|
|
80
|
+
---
|
|
63
81
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
- 运行环境需满足 Node.js `^22.19.0 || >=24.0.0`;从源码安装还需要 pnpm。
|
|
82
|
+
### 2. 极简纸白主界面(浅色模式)
|
|
83
|
+
极简纸白(Codex Light)配色,接入 Ambient Ground 自然光漫反射渐变底板,温润通透,视觉流平滑舒缓。
|
|
67
84
|
|
|
68
|
-
|
|
85
|
+

|
|
69
86
|
|
|
70
|
-
|
|
87
|
+
---
|
|
71
88
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
| [Codex UI](https://github.com/MichengAI/dsh-codex-ui) | 整理项目与会话、搜索任务、跳转对话轮次 |
|
|
75
|
-
| [Agency Agents](https://github.com/MichengAI/dsh-agency-agents) | 按任务选择并召唤专业角色 |
|
|
76
|
-
| [Skills Manager](https://github.com/MichengAI/dsh-skills-manager) | 统一查找、启停、创建和导入本机技能 |
|
|
77
|
-
| [Archive Manager](https://github.com/MichengAI/dsh-archive-manager) | 搜索、恢复或清理已归档会话 |
|
|
78
|
-
| [IM Connect](https://github.com/MichengAI/dsh-im-connect) | 从消息平台下任务、收回复 |
|
|
79
|
-
| [Automation](https://github.com/MichengAI/dsh-automation) | 按计划执行任务,查看每次运行的结果 |
|
|
80
|
-
| [BTW](https://github.com/MichengAI/dsh-btw) | 在当前上下文中临时旁问,不打断主任务 |
|
|
81
|
-
| [Simplify](https://github.com/MichengAI/dsh-simplify) | 用 `/simplify` 整理 Git 改动范围内的代码 |
|
|
82
|
-
| [PUA](https://github.com/MichengAI/dsh-pua) | 引导 Agent 在失败时换方法、查原因,并在完成前验证结果 |
|
|
83
|
-
| [Code Review](https://github.com/MichengAI/dsh-code-review) | 用 `/review` 发起独立 Agent 代码审查,在当前会话接收报告 |
|
|
84
|
-
| [Codex Pet](https://github.com/MichengAI/dsh-codex-pet) | 通过桌面宠物查看会话提醒、处理工具审批和问题回答 |
|
|
89
|
+
### 3. 全屏悬浮双岛设置中心(模块化卡片体系)
|
|
90
|
+
告别局促的弹窗,重塑为模块化卡片工作台(功能与内置子插件、界面外观与换肤、配套管理插件),层次严谨秩序井然,支持根据子组件启用状态动态自适应呈现。
|
|
85
91
|
|
|
86
|
-
|
|
92
|
+

|
|
87
93
|
|
|
88
|
-
|
|
94
|
+
---
|
|
89
95
|
|
|
90
|
-
###
|
|
96
|
+
### 4. 界面外观换肤与毛玻璃配置
|
|
97
|
+
内置 7 款主题色盘(官方默认、Codex 经典科技蓝黑白、Mocha、Macchiato、Frappé、Latte),支持原版平铺玻璃与云母悬浮双模态,清透/标准/磨砂三档材质直选与地面反射光斑开关。
|
|
91
98
|
|
|
92
|
-
|
|
99
|
+
---
|
|
93
100
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
```
|
|
101
|
+
### 5. 模块化侧边栏导航(展开态)
|
|
102
|
+
支持插件、技能、常用工具(IM 助理、定时任务、归档会话、代码审查等)自由拖拽排序与「更多」手风琴平滑折叠收纳。
|
|
97
103
|
|
|
98
|
-
|
|
104
|
+

|
|
99
105
|
|
|
100
|
-
|
|
101
|
-
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
|
|
102
|
-
$OutputEncoding = [System.Text.Encoding]::UTF8
|
|
103
|
-
dsh plugin --profile web add @michengai/dsh-codex-ui@latest --registry=https://registry.npmjs.org/
|
|
104
|
-
dsh --profile web --dump-config
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
安装后重启 DSH Web,并硬刷新浏览器(通常为 `Ctrl+Shift+R`)。看到新的侧栏后即可开始使用。禁用或卸载后官方侧栏会回来。若 profile 的 `cordis.patch.yml` 里还有 `ui-sidebar` 或 `ui-settings-general` 的 `disabled: true`,删掉这两行后再重载。
|
|
106
|
+
---
|
|
108
107
|
|
|
109
|
-
|
|
108
|
+
### 6. 官方原生 56px 折叠导轨(收缩态)
|
|
109
|
+
侧栏收起后自动对齐官方原生紧凑 56px 导轨规范,无缝完整显示全部功能图标,新会话常驻高亮显示,无需鼠标悬停试探。
|
|
110
110
|
|
|
111
|
-
|
|
111
|
+

|
|
112
112
|
|
|
113
|
-
|
|
114
|
-
| --- | --- |
|
|
115
|
-
| 新建会话 | 点击「新建任务」,或使用项目中的「+」/「新建会话」。 |
|
|
116
|
-
| 查找会话或设置 | 使用顶栏搜索,选择会话、设置页或快捷操作。 |
|
|
117
|
-
| 折叠侧栏 | 使用顶栏面板按钮。折叠后展开入口保留在窄轨顶部。 |
|
|
118
|
-
| 置顶项目 | 拖到「置顶」区域,或在项目菜单中选择「置顶项目」。 |
|
|
119
|
-
| 管理会话 | 打开会话菜单,进行重命名、置顶、未读、归档、派生、复制或删除。 |
|
|
120
|
-
| 复用输入 | 输入框为空时按上下方向键,召回当前工作区中之前提交的文本。 |
|
|
121
|
-
| 跳转轮次 | 使用当前会话左侧的轮次刻度跳转到对应提问。 |
|
|
122
|
-
| 查看连接器 | 打开「设置 → 连接器」。不会展示地址、命令或凭证。 |
|
|
123
|
-
| 查看配套插件 | 打开「设置 → 关于」,安装或更新各个配套插件。 |
|
|
113
|
+
---
|
|
124
114
|
|
|
125
|
-
|
|
115
|
+
### 7. 增强会话菜单
|
|
116
|
+
支持在会话项上快速执行置顶、重命名、未读标记、归档、派生新会话与安全清理。
|
|
126
117
|
|
|
127
|
-
|
|
118
|
+

|
|
128
119
|
|
|
129
|
-
|
|
120
|
+
---
|
|
130
121
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
输入历史按工作区分别保存在当前浏览器,每个工作区最多保留 200 条。它从功能启用后的新输入开始记录,不会从已有会话补录;浏览器存储不可用时,仅在内存中临时保留。无需额外安装 BTW 插件。
|
|
134
|
-
|
|
135
|
-
### 移除项目会删除本地文件吗?
|
|
122
|
+
## 宿主兼容性
|
|
136
123
|
|
|
137
|
-
|
|
124
|
+
* **支持范围**:DeepSeek Harness `0.2.x` 全系列(`>=0.2.0-rc.1 <0.3.0-0`);
|
|
125
|
+
* **实测验证**:已在 `0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3` 深度验证通过,并向后自动兼容后续 RC 与日常构建;
|
|
126
|
+
* **环境要求**:Node.js `^22.19.0 || >=24.0.0`,pnpm `^11.0.0`。
|
|
138
127
|
|
|
139
|
-
|
|
128
|
+
> ⚠️ **互斥提示**:请勿同时启用 Codex UI 与 `ds-bot`。两者均重塑侧栏与主会话插槽,功能重叠。启用前请先停用或卸载另一个。
|
|
140
129
|
|
|
141
|
-
|
|
130
|
+
---
|
|
142
131
|
|
|
143
|
-
##
|
|
132
|
+
## 安装与快速上手
|
|
144
133
|
|
|
145
|
-
|
|
134
|
+
### 方式 A:让 Agent 帮您安装(推荐)
|
|
146
135
|
|
|
147
|
-
|
|
136
|
+
复制以下指令发送给任意具备终端执行权限的 Agent(将 `web` 替换为您实际使用的 profile 名称):
|
|
148
137
|
|
|
149
|
-
|
|
138
|
+
```text
|
|
139
|
+
请将 DSH 插件 @michengai/dsh-codex-ui 安装到本机 web profile,执行:
|
|
140
|
+
dsh plugin --profile web add @michengai/dsh-codex-ui@latest --registry=https://registry.npmjs.org/
|
|
141
|
+
安装后执行 dsh --profile web --dump-config 确认包含 codex-ui,并提示我刷新浏览器。
|
|
142
|
+
```
|
|
150
143
|
|
|
151
|
-
###
|
|
144
|
+
### 方式 B:终端手动安装
|
|
152
145
|
|
|
153
|
-
|
|
146
|
+
在终端(Windows PowerShell 或 MSYS Bash)中执行:
|
|
154
147
|
|
|
155
148
|
```powershell
|
|
156
149
|
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
|
|
157
150
|
$OutputEncoding = [System.Text.Encoding]::UTF8
|
|
158
|
-
|
|
159
|
-
git clone https://github.com/MichengAI/dsh-codex-ui.git
|
|
160
|
-
Set-Location .\dsh-codex-ui
|
|
161
|
-
pnpm install --frozen-lockfile
|
|
162
|
-
pnpm build
|
|
163
|
-
dsh plugin --profile web add .
|
|
151
|
+
dsh plugin --profile web add @michengai/dsh-codex-ui@latest --registry=https://registry.npmjs.org/
|
|
164
152
|
dsh --profile web --dump-config
|
|
165
153
|
```
|
|
166
154
|
|
|
167
|
-
|
|
155
|
+
安装完成后,重启 DSH Web 实例并硬刷新浏览器页面(`Ctrl + Shift + R` 或 `Cmd + Shift + R`)即可进入全新 2.0 体验!
|
|
168
156
|
|
|
169
|
-
|
|
170
|
-
- [src\client\index.ts](src/client/index.ts):客户端入口,注册侧栏、工作区树、轮次导航和设置分区。
|
|
171
|
-
- [src\client\CodexSidebar.tsx](src/client/CodexSidebar.tsx):侧栏壳、搜索面板和视觉样式。
|
|
172
|
-
- [src\client\CodexWorkspaceBrowser.tsx](src/client/CodexWorkspaceBrowser.tsx):工作区和会话交互。
|
|
173
|
-
- `tests\*.assert.ts` 与 `tests\*.spec.ts`:交互、样式和运行时集成验证。
|
|
157
|
+
---
|
|
174
158
|
|
|
175
|
-
|
|
159
|
+
## 常用操作速查
|
|
176
160
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
161
|
+
| 场景 | 操作方式 |
|
|
162
|
+
| :--- | :--- |
|
|
163
|
+
| **找回历史输入** | 输入框为空时按键盘 `↑` / `↓` 方向键,即时召回在当前工作区提交过的历史文本(按工作区隔离存储 200 条)。 |
|
|
164
|
+
| **调节输入框宽度** | 悬停至输入框左右边缘,拖拽蓝色手柄即可自定义最舒适的编写宽度。 |
|
|
165
|
+
| **切换主题与质感** | 打开「设置 → Codex UI」,在「界面外观与换肤」卡片单选 7 款主题,直选原版/云母模式与材质预设。 |
|
|
166
|
+
| **调整侧栏图标顺序** | 鼠标按住展开侧栏中的任意插件条目拖拽上下移动,蓝线指示放置位置,支持拖入/拖出「更多」手风琴。 |
|
|
167
|
+
| **折叠/收起侧边栏** | 点击侧栏顶部折叠按钮;收缩后自动切换为 56px 原生导轨,单手盲点所有功能图标。 |
|
|
168
|
+
| **生态插件批量更新** | 在「设置 → Codex UI」底部「配套管理插件」卡片,点击「全部更新」自动安装最新配套依赖。 |
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
## DSH 现代化生态矩阵
|
|
173
|
+
|
|
174
|
+
如需搭配完整的开发运维闭环,可按需在配套管理卡片中一键启用以下生态插件:
|
|
175
|
+
|
|
176
|
+
| 插件名称 | 核心用途 |
|
|
177
|
+
| :--- | :--- |
|
|
178
|
+
| [Codex UI](https://github.com/MichengAI/dsh-codex-ui) | **界面总控**:极速输入召回、全屏设置皮肤、毛玻璃换肤与模块化侧栏 |
|
|
179
|
+
| [Agency Agents](https://github.com/MichengAI/dsh-agency-agents) | **专家调度**:任务精准画像,一键召唤行业专家角色矩阵 |
|
|
180
|
+
| [Skills Manager](https://github.com/MichengAI/dsh-skills-manager) | **技能枢纽**:本地技能统一发现、导入、启停与智能配置 |
|
|
181
|
+
| [Archive Manager](https://github.com/MichengAI/dsh-archive-manager) | **归档管理**:历史会话深度检索、恢复与安全物理归档清理 |
|
|
182
|
+
| [IM Connect](https://github.com/MichengAI/dsh-im-connect) | **消息串联**:连接微信、钉钉、飞书、QQBot 双向派发与接收任务 |
|
|
183
|
+
| [Automation](https://github.com/MichengAI/dsh-automation) | **定时管家**:Cron 定时流水线看护与运行证据追踪 |
|
|
184
|
+
| [Code Review](https://github.com/MichengAI/dsh-code-review) | **代码审查**:`/review` 独立审查子代理并直接向当前会话投递严谨评审报告 |
|
|
185
|
+
| [Simplify](https://github.com/MichengAI/dsh-simplify) | **代码精简**:`/simplify` 4-agent 并发精简与坏味道消除 |
|
|
186
|
+
| [PUA](https://github.com/MichengAI/dsh-pua) | **韧性强化**:失败自动归因重试,完工证据多维校验守门员 |
|
|
187
|
+
| [BTW](https://github.com/MichengAI/dsh-btw) | **临时旁问**:长任务进行中轻量旁问,不破坏主线程上下文 |
|
|
188
|
+
| [Codex Pet](https://github.com/MichengAI/dsh-codex-pet) | **桌面宠物**:任务状态动态浮窗交互、工具审批与拟人化提醒 |
|
|
184
189
|
|
|
185
|
-
|
|
190
|
+
---
|
|
186
191
|
|
|
187
192
|
## 许可证
|
|
188
193
|
|
|
189
|
-
|
|
194
|
+
本项目基于 [Apache License 2.0](LICENSE) 开源协议分发与维护。
|
package/assets/icon.svg
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="dsh_svg_ui_frame" x1="5" y1="6" x2="31" y2="30" gradientUnits="userSpaceOnUse">
|
|
4
|
+
<stop stop-color="#3B82F6"/>
|
|
5
|
+
<stop offset="1" stop-color="#1D4ED8"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<!-- Window Outline -->
|
|
9
|
+
<rect x="5.5" y="7.5" width="25" height="21" rx="3.5" stroke="url(#dsh_svg_ui_frame)" stroke-width="2.2" fill="#3B82F6" fill-opacity="0.08"/>
|
|
10
|
+
<!-- Window Header Line -->
|
|
11
|
+
<line x1="5.5" y1="12.5" x2="30.5" y2="12.5" stroke="url(#dsh_svg_ui_frame)" stroke-width="1.5"/>
|
|
12
|
+
<!-- Traffic Light Dots -->
|
|
13
|
+
<circle cx="9" cy="10" r="1.2" fill="#EF4444"/>
|
|
14
|
+
<circle cx="12.5" cy="10" r="1.2" fill="#F59E0B"/>
|
|
15
|
+
<circle cx="16" cy="10" r="1.2" fill="#10B981"/>
|
|
16
|
+
<!-- Left Sidebar Divider -->
|
|
17
|
+
<line x1="13.5" y1="12.5" x2="13.5" y2="28.5" stroke="url(#dsh_svg_ui_frame)" stroke-width="1.5"/>
|
|
18
|
+
<!-- Sidebar Tree Nodes -->
|
|
19
|
+
<rect x="8" y="15.5" width="3.5" height="2" rx="0.8" fill="#10B981"/>
|
|
20
|
+
<rect x="8" y="19.5" width="3.5" height="2" rx="0.8" fill="#94A3B8"/>
|
|
21
|
+
<rect x="8" y="23.5" width="3.5" height="2" rx="0.8" fill="#94A3B8"/>
|
|
22
|
+
<!-- Editor Main Split Panes -->
|
|
23
|
+
<rect x="16" y="15" width="12" height="5" rx="1.2" fill="#3B82F6" fill-opacity="0.25"/>
|
|
24
|
+
<rect x="16" y="22" width="12" height="4.5" rx="1.2" fill="url(#dsh_svg_ui_frame)"/>
|
|
25
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/cordis.patch.yml
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
# 保留官方侧栏与设置壳,仅覆盖客户端渲染,停用后自动回退。
|
|
2
2
|
# 标题提供方的回退单独管理。
|
|
3
3
|
- insert:
|
|
4
|
-
- id:
|
|
4
|
+
- id: codex-ui-session-title
|
|
5
5
|
name: '@michengai/dsh-codex-ui/session-title'
|
|
6
|
+
- id: codex-ui-settings-skin
|
|
7
|
+
name: '@michengai/dsh-codex-ui/settings-skin'
|
|
8
|
+
- id: codex-ui-composer
|
|
9
|
+
name: '@michengai/dsh-codex-ui/composer'
|
|
10
|
+
- id: codex-ui-sidebar
|
|
11
|
+
name: '@michengai/dsh-codex-ui/sidebar'
|
|
12
|
+
- id: codex-ui-theme
|
|
13
|
+
name: '@michengai/dsh-codex-ui/theme'
|
|
6
14
|
- id: codex-ui
|
|
7
15
|
name: '@michengai/dsh-codex-ui'
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/business-api.ts
|
|
2
|
+
const CODEX_UI_API_BASE = "/api/michengai/dsh-codex-ui";
|
|
3
|
+
const CODEX_UI_API_ENDPOINTS = Object.freeze({
|
|
4
|
+
dependencies: `${CODEX_UI_API_BASE}/dependencies`,
|
|
5
|
+
settingsSkin: `${CODEX_UI_API_BASE}/settings-skin`,
|
|
6
|
+
composer: `${CODEX_UI_API_BASE}/composer`,
|
|
7
|
+
sidebar: `${CODEX_UI_API_BASE}/sidebar`,
|
|
8
|
+
theme: `${CODEX_UI_API_BASE}/theme`
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { CODEX_UI_API_ENDPOINTS as t };
|