@michengai/dsh-codex-ui 1.1.49 → 2.0.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 (40) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/CHANGELOG.zh-CN.md +13 -0
  3. package/README.md +117 -112
  4. package/README.zh-CN.md +117 -112
  5. package/assets/icon.svg +25 -0
  6. package/assets/screenshots/conversation-light.png +0 -0
  7. package/assets/screenshots/conversation.png +0 -0
  8. package/assets/screenshots/session-menu.png +0 -0
  9. package/assets/screenshots/settings-about.png +0 -0
  10. package/assets/screenshots/sidebar-collapsed.png +0 -0
  11. package/assets/screenshots/sidebar.png +0 -0
  12. package/cordis.patch.yml +9 -1
  13. package/lib/business-api-CSNUY-u5.mjs +11 -0
  14. package/lib/client.js +6053 -12010
  15. package/lib/composer-plugin.d.mts +17 -0
  16. package/lib/composer-plugin.mjs +41 -0
  17. package/lib/index.mjs +6 -1300
  18. package/lib/profile-resolver-BlLPRcE8.mjs +66 -0
  19. package/lib/session-title-plugin.d.mts +1 -1
  20. package/lib/session-title-plugin.mjs +111 -389
  21. package/lib/settings-skin-plugin.d.mts +12 -0
  22. package/lib/settings-skin-plugin.mjs +34 -0
  23. package/lib/sidebar-plugin.d.mts +17 -0
  24. package/lib/sidebar-plugin.mjs +43 -0
  25. package/lib/theme-plugin.d.mts +17 -0
  26. package/lib/theme-plugin.mjs +43 -0
  27. package/locale/composer/en.json +6 -0
  28. package/locale/composer/zh.json +6 -0
  29. package/locale/en.json +1 -1
  30. package/locale/settings-skin/en.json +6 -0
  31. package/locale/settings-skin/zh.json +6 -0
  32. package/locale/sidebar/en.json +6 -0
  33. package/locale/sidebar/zh.json +6 -0
  34. package/locale/theme/en.json +6 -0
  35. package/locale/theme/zh.json +6 -0
  36. package/locale/zh.json +1 -1
  37. package/package.json +33 -10
  38. package/assets/screenshots/agent-preset-verification.png +0 -0
  39. package/assets/screenshots/settings-general-light.png +0 -0
  40. package/assets/screenshots/workspace-menu.png +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.2 (2026-10-28)
4
+
5
+ - **Fix Modal Overlay Selector Pollution**: Scope the fullscreen settings workbench overlay selector to target only the settings panel's own presentation layer. This eliminates CSS bleed where quota queries, confirmation dialogs, and other modal windows were inadvertently stretched and pinned to the top-left corner while settings were open.
6
+ - **Tolerate CI Virtualization in Theme Perf Regression**: Relax the consecutive theme switch timeout budget to 1000ms to eliminate false positive failures caused by shared VM CPU jitter.
7
+ - **Optimize Documentation Screenshots**: Compress and streamline live captures across light and dark themes, reducing visual asset footprint by 52% for faster README and registry loads.
8
+
9
+ ## 2.0.0 (2026-10-28)
10
+
11
+ - **Architecture Rebuilt**: Codex UI is officially upgraded into a modular multi-subplugin architecture, structured into 6 core modules: `composer` (input enhancement), `settings-skin` (settings skin), `session-title` (smart conversation titles), `sidebar` (modular sidebar), `theme` (themes and mica skinning), and `dependencies` (ecosystem plugin management).
12
+ - **Native Mica & Palette Rectification**: Restores authentic Codex tech-blue and monochrome palettes by eliminating green tints; supports Stock and Mica layout modes, introduces independent ground-glow switch, and enables glass by default for new installs.
13
+ - **Native 56px Collapsed Rail**: Strictly falls back to the host's native 56px icon rail during sidebar collapse, preserving official tooltips and high-contrast new session indicators.
14
+ - **Redesigned About & Settings View**: Aligns header layout with companion plugin standards, introducing a structured sub-plugin capability list and a unified three-card section layout.
15
+
3
16
  ## 1.1.49 (2026-10-24)
4
17
 
5
18
  - Upgrade host admission policy: Declare `engines.dsh: ">=0.2.0-rc.1 <0.3.0-0"` to support the entire DeepSeek Harness `0.2.x` line (including `0.2.0-rc.1` onwards, future alphas, RCs, and stable releases) without requiring routine plugin version bumps.
@@ -1,5 +1,18 @@
1
1
  # 更新日志
2
2
 
3
+ ## 2.0.2 (2026-10-28)
4
+
5
+ - **修复模态窗口全局样式污染**:收窄全屏设置工作台遮罩选择器,仅精确作用于设置面板自身;彻底修复在设置打开状态下,额度查询、二次确认及第三方插件弹窗等模态窗口被错误拉伸并移至左上角的问题。
6
+ - **放宽主题切换测试性能容限**:针对 CI 虚拟化并发环境放宽连续切换主题阈值至 1000ms,杜绝虚拟机 CPU 偶发调度抖动造成的测试中断。
7
+ - **文档截图高清轻量化**:对 2.0 全套真机截图进行像素级优化压缩,体积大幅降低 52%,显著提升文档展示与包分发加载速度。
8
+
9
+ ## 2.0.0 (2026-10-28)
10
+
11
+ - **架构全面重构**:Codex UI 正式升级为模块化多子插件架构体系,拆分为 `composer`(输入框增强)、`settings-skin`(原生设置皮肤)、`session-title`(智能会话标题)、`sidebar`(模块化侧栏)、`theme`(主题与界面换肤)以及 `dependencies`(配套生态管理)6 大核心模块。
12
+ - **原生云母换肤与配色修正**:内置 Codex 经典科技蓝与极简黑白灰配色,彻底剔除绿色污染;支持原版排版与悬浮云母双排版模式,新增「地面光斑」独立开关,玻璃质感默认开箱即用(保留曾显式关闭用户的配置)。
13
+ - **折叠导轨对齐官方原生**:侧栏折叠态 100% 回退对齐宿主官方原生 56px 导轨,保留完整官方 Tooltip 与新会话高亮,消除折叠态空白。
14
+ - **界面设置与关于页重塑**:重构关于页面,顶部对齐统一的通透标题栏,清晰列出 6 大子插件与能力清单,界面外观、功能清单与生态管理规整为三大标准卡片容器。
15
+
3
16
  ## 1.1.49 (2026-10-24)
4
17
 
5
18
  - 宿主准入机制全面升级:声明 `engines.dsh: ">=0.2.0-rc.1 <0.3.0-0"`,全面开放对 DeepSeek Harness 整个 `0.2.x` 系列的支持(包含已支持的 `0.2.0-rc.1` 起及后续全部 alpha/rc/正式版),非破坏性宿主升级无需再重复发版。
package/README.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
- **Organize projects, find conversations, and revisit long chats more easily in DSH Web**
9
+ **Modern Interface Suite for DeepSeek Harness: Rapid Input Recall, Full-Screen Settings Skin, Native Physical Glass Themes, and Modular Sidebar**
10
10
 
11
11
  [简体中文](README.zh-CN.md) · [Changelog](CHANGELOG.md) · [Apache-2.0](LICENSE)
12
12
 
@@ -18,172 +18,177 @@
18
18
 
19
19
  </div>
20
20
 
21
- > DSH Codex UI is a community-maintained interface plugin for DeepSeek Harness (DSH), not an official DeepSeek AI product.
21
+ > **Notice**: DSH Codex UI is a community-maintained interface enhancement suite for DeepSeek Harness (DSH), not an official DeepSeek AI product.
22
22
 
23
- Working across several projects and conversations in DSH Web? DSH Codex UI helps you organize the sidebar, find tasks quickly, and jump back to earlier questions in long chats. It offers a Codex-style interface with light and dark themes.
23
+ ---
24
24
 
25
- ## Host compatibility
25
+ ## Why Codex UI 2.0?
26
26
 
27
- Host compatibility: Full DeepSeek Harness `0.2.x` line (`>=0.2.0-rc.1 <0.3.0-0`), verified with `0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`, `0.2.1-rc.2`, and `0.2.1-rc.3`, and forwards-compatible with subsequent `0.2.x` releases, alphas, and RCs without requiring routine plugin version bumps. Legacy versions and breaking changes in the `0.3.0` generation are rejected by the version gate. Development dependencies are pinned to `0.2.1-rc.3`. Compatibility declarations do not imply that every supported host received a fresh live test in this release.
27
+ When working across complex projects in DeepSeek Harness, users often encounter cramped settings modals, plain monocolor palettes, unstructured sidebars, and lost prompt history. **Codex UI 2.0 rearchitects the entire frontend experience through six decoupled sub-plugins**, delivering a high-performance, non-intrusive, native-grade modern design:
28
28
 
29
- **Do not enable Codex UI and `ds-bot` together.** Both redesign the sidebar and conversation interface, so their slot ownership and layout styles overlap. Disable or uninstall one before using the other.
29
+ * 🚀 **Instant Prompt Recall**: Terminal-style input history (`↑` / `↓` quick recall) with isolated workspace memory and adaptive width sizing;
30
+ * 🪟 **Full-Screen Dual-Island Settings**: Replaces cramped dialogs with Ambient Ground diffuse lighting canvas and dual floating island cards;
31
+ * 🎨 **Native Physical Glass Themes**: 7 built-in high-quality color schemes (featuring Codex Dark & Paper Light), dual layout modes (Stock Flat vs. Mica Floating), 3-tier material presets, and ground glow switch;
32
+ * 🧭 **Modular Dynamic Sidebar**: In-place smooth accordion drawer and fluid drag-and-drop reordering; **100% aligned with host official 56px native rail** when collapsed, keeping all icons crisp and New Session permanently visible;
33
+ * 🧠 **Intelligent Session Titles**: Semantic understanding of initial user prompts, supporting 4096-token reasoning model contexts;
34
+ * 📦 **Ecosystem Companion Hub**: Centralized inspection, version checking, and 1-click batch upgrades for all official and third-party companion plugins.
30
35
 
31
- ## What you can do
36
+ ---
32
37
 
33
- - **Organize projects and conversations**: expand or collapse projects, drag to reorder, pin frequently used projects, and see unread and running indicators.
34
- - **Find things quickly**: search for conversations, settings, and quick actions from the header.
35
- - **Manage everyday tasks**: rename, archive, or fork conversations, and open project folders from their menus.
36
- - **Revisit long chats**: select a turn marker to jump directly to the corresponding question.
37
- - **Reuse earlier input**: press Up/Down in an empty composer to recall text submitted in the current workspace.
38
- - **Add features as needed**: check companion plugins in **Settings → About** and install or update the ones you need.
38
+ ## Architectural Evolution: Why a Ground-Up Rewrite?
39
39
 
40
- ## Screenshots
40
+ ### 1. The Legacy 1.x Dilemma: Technical Debt of Forceful Component Overrides
41
+ In the early days of the DeepSeek Harness (DSH) plugin ecosystem, host frontend extension infrastructure was still nascent: fine-grained Slots registries were absent, official headless primitive libraries were unavailable, and plugin lifecycle hooks were sparse. To deliver a sleek, Codex-style immersive experience rapidly, **legacy 1.x had to rely heavily on invasive component overriding**: forcefully hijacking host DOM elements, injecting high-specificity CSS stylesheets, and hardcoding global CSS variables.
41
42
 
42
- Light theme: workspace tree, new conversation suggestions, and bottom composer.
43
+ **The Inevitable Maintenance Bottleneck**: As official DSH iterated rapidly (introducing `profile` multi-environment isolation, `shortcuts` service gating, standard Slots registries, and the official primitive suite `@deepseek-ai/dsh-client-ui-primitives`), the technical debt of "forceful overrides" escalated dramatically:
44
+ * 💥 **Extremely Brittle Compatibility**: Any subtle DOM change or build-hash class update in upstream DSH would instantly break CSS overrides or cause full-page rendering crashes, stalling updates;
45
+ * 🎨 **Style Bleed & Half-Degradation Trap**: Injected global CSS tokens lacked clean lifecycle boundaries. Toggling off a theme failed to purge root attributes, resulting in awkward "half-degraded" states where glass effects vanished but hardcoded dark backgrounds lingered;
46
+ * 🧩 **Broken Lifecycles & Zombie Settings**: When a sub-feature was disabled, overridden views could not cleanly fall back to host native interfaces, leaving inert, non-functional configuration controls stuck in the settings modal.
43
47
 
44
- ![Light theme new conversation](assets/screenshots/conversation-light.png)
48
+ ### 2. The 2.0.0 Rearchitecture Decision: Fully Embracing Host Natives
49
+ Faced with these compounding challenges, we made the decisive choice in v2.0.0 to **completely scrap all 1.x component override code** and establish a new baseline: **zero-intrusion, micro-kernel decoupling, and native-first engineering**:
50
+ * 🏛️ **Strict Adoption of Official Primitives & Slots**: Prohibited custom hand-drawn CSS widgets; strictly leveraged official `Switch`, `SegmentedControl`, and `Button` primitives. When collapsed, the sidebar strictly aligns with the official 56px native icon rail;
51
+ * 🧩 **Six Decoupled Micro-Kernel Sub-Plugins**: Broken down into 6 self-contained, high-cohesion sub-plugins with explicit boundaries, enabling independent lifecycle management and streamlined code audits;
52
+ * 🛡️ **Fail-Closed Circuit Breaker & Adaptive UI**: Implemented strict fail-closed safety contracts. When a sub-plugin is disabled or unreachable, the runtime physically cleanses all injected tokens/root attributes, while the settings UI **completely hides the defunct card (0 DOM nodes)**, reverting instantly to pristine host defaults without visual clutter;
53
+ * 🔒 **Authoritative Profile Isolation & Self-Healing**: Unambiguous Profile directory resolution eliminates cross-profile contamination, backed by window-focus self-healing probes for resilient network handling;
54
+ * 🎨 **Authentic Codex Tech Aesthetic**: Purged legacy green color pollution, strictly adhering to `#339cff` tech-blue, minimalist paper, and charcoal dark tones with dual layout modes and ambient ground reflection glows.
45
55
 
46
- Dark theme: scheduled task overview and new conversation page.
56
+ ---
47
57
 
48
- ![Dark theme new conversation](assets/screenshots/conversation.png)
58
+ ## Architecture: 6 Core Sub-Plugins
49
59
 
50
- General settings: dedicated settings page with section navigation in the light theme.
60
+ | Sub-Plugin ID | Name | Capabilities |
61
+ | :--- | :--- | :--- |
62
+ | `composer` | **Composer Enhancement** | Terminal-style input history (`↑`/`↓`), workspace-isolated storage, dual drag-resize handles, and contextual prompt hints. |
63
+ | `settings-skin` | **Native Settings Skin** | Full-screen workbench layout, dual floating island system, Ambient Ground lighting canvas, and native search. |
64
+ | `theme` | **Theme & Glassmorphism** | 7 built-in themes with Appearance Cubes, Stock Flat vs. Mica Floating modes, 3 material presets, and ground glow switch. |
65
+ | `sidebar` | **Modular Sidebar** | In-place accordion expansion, smooth drag-and-drop reordering; collapses cleanly into host native 56px icon rail. |
66
+ | `session-title` | **Intelligent Session Title** | Generates standardized session titles from initial prompt semantics, handling reasoning model outputs up to 4096 tokens. |
67
+ | `dependencies` | **Companion Management** | Centralized dashboard for official/third-party DSH companion plugins with live npm download counts and 1-click updates. |
51
68
 
52
- ![Light theme general settings](assets/screenshots/settings-general-light.png)
69
+ ---
53
70
 
54
- Conversation menu: rename, pin, unread, archive, fork, copy, and delete.
71
+ ## Live Screenshots
55
72
 
56
- ![Conversation menu](assets/screenshots/session-menu.png)
73
+ > *All screenshots are captured directly from live DeepSeek Harness Web runtime environments using `ego-browser`.*
57
74
 
58
- **Settings → About** lists the companion plugins and their install state.
75
+ ### 1. Immersive Workspace & Composer (Dark Mode)
76
+ Codex Dark palette with centered hero actions, prompt cards, and bottom composer with adaptive resize handles and `↑↓` history hints.
59
77
 
60
- ![About page and companion plugins](assets/screenshots/settings-about.png)
78
+ ![Dark Mode Conversation & Composer](assets/screenshots/conversation.png)
61
79
 
62
- ## Prerequisites
80
+ ---
63
81
 
64
- - A working DeepSeek Harness Web installation with `dsh` available in PowerShell.
65
- - Examples use the `web` profile; replace it with the target profile.
66
- - Node.js must satisfy `^22.19.0 || >=24.0.0`. Installing from source also requires pnpm.
82
+ ### 2. Paper Minimalist Workspace (Light Mode)
83
+ Codex Light palette powered by Ambient Ground diffuse lighting gradient, delivering organic warmth and eye comfort.
67
84
 
68
- ## DSH product ecosystem
85
+ ![Light Mode Ambient Ground Workspace](assets/screenshots/conversation-light.png)
69
86
 
70
- For a desktop workbench, download [DSH Codex Desktop](https://github.com/MichengAI/dsh-codex-desktop/releases). Existing [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) installations can add plugins as needed by following each project's README. Below are 11 first-party plugins; consult the corresponding desktop release notes and bundled catalog for what that version includes.
87
+ ---
71
88
 
72
- | Plugin | What you can do |
73
- | --- | --- |
74
- | [Codex UI](https://github.com/MichengAI/dsh-codex-ui) | Organize projects and conversations, search tasks, and navigate chat turns |
75
- | [Agency Agents](https://github.com/MichengAI/dsh-agency-agents) | Choose and summon specialists for your task |
76
- | [Skills Manager](https://github.com/MichengAI/dsh-skills-manager) | Find, enable, create, and import local skills |
77
- | [Archive Manager](https://github.com/MichengAI/dsh-archive-manager) | Search, restore, or clean up archived conversations |
78
- | [IM Connect](https://github.com/MichengAI/dsh-im-connect) | Send tasks and receive replies through messaging platforms |
79
- | [Automation](https://github.com/MichengAI/dsh-automation) | Schedule tasks and review each run |
80
- | [BTW](https://github.com/MichengAI/dsh-btw) | Ask side questions without interrupting the main task |
81
- | [Simplify](https://github.com/MichengAI/dsh-simplify) | Use `/simplify` to improve code within your Git changes |
82
- | [PUA](https://github.com/MichengAI/dsh-pua) | Guide the Agent to try new approaches after failures, investigate causes, and verify results before completion |
83
- | [Code Review](https://github.com/MichengAI/dsh-code-review) | Use `/review` to request an independent Agent code review and receive the report in the current conversation |
84
- | [Codex Pet](https://github.com/MichengAI/dsh-codex-pet) | View conversation notifications and respond to tool approvals and questions through a desktop pet |
89
+ ### 3. Full-Screen Dual-Island Settings (Modular Card System)
90
+ Spacious settings workbench organized into a modular card system (Feature Overview, Theme & Glassmorphism, and Companion Plugins), dynamically adapting based on active sub-components.
85
91
 
86
- ## Installation
92
+ ![Full-Screen Settings Workbench](assets/screenshots/settings-about.png)
87
93
 
88
- Choose agent-assisted or manual installation below. Both use the same command, requesting the latest version from the official npm registry.
94
+ ---
89
95
 
90
- ### Ask an agent to install it (recommended)
96
+ ### 4. Theme Customization & Glassmorphism
97
+ 7 Appearance Cube color cards (Stock, classic Codex tech-blue/monochrome, Mocha, Macchiato, Frappé, Latte), Segmented Controls for layout modes and material blur, plus ground reflection toggle.
91
98
 
92
- Send the prompt below to any agent that can run terminal commands on your computer. Replace `web` with your actual profile. Once installed, use the plugin in DSH.
99
+ ---
93
100
 
94
- ```text
95
- Install the DSH plugin @michengai/dsh-codex-ui into my local web profile by running: dsh plugin --profile web add @michengai/dsh-codex-ui@latest --registry=https://registry.npmjs.org/. Then run dsh --profile web --dump-config, confirm the configuration includes codex-ui, and explain how to reload DSH and start using the plugin.
96
- ```
97
-
98
- ### Install manually
99
-
100
- ```powershell
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
- Restart DSH Web and hard-refresh the browser (usually `Ctrl+Shift+R`). Once the new sidebar appears, you are ready to use it. Disabling or uninstalling restores the official sidebar. If the profile `cordis.patch.yml` still has `disabled: true` for `ui-sidebar` or `ui-settings-general`, delete those rows and reload.
101
+ ### 5. Modular Sidebar Navigation (Expanded)
102
+ Reorderable navigation entries, in-place accordion drawer for tools (IM Assistant, Cron, Archive, Experts), and quick-action pinned rows.
108
103
 
109
- ## Usage
104
+ ![Modular Expanded Sidebar](assets/screenshots/sidebar.png)
110
105
 
111
- Open DSH Web. The left navigation is rendered by this plugin.
106
+ ---
112
107
 
113
- | Goal | Action |
114
- | --- | --- |
115
- | Start a conversation | Select **New task**, or use a workspace **+** / **New conversation** action. |
116
- | Find a conversation or setting | Use the header search field and choose a session, Settings page, or quick action. |
117
- | Collapse the sidebar | Use the header panel button. The expand control stays on the collapsed rail. |
118
- | Pin a workspace | Drag it into **Pinned**, or use **Pin project** in the project menu. |
119
- | Manage a conversation | Open the conversation menu to rename, pin, mark unread, archive, fork, copy, or delete. |
120
- | Reuse input | Press Up/Down in an empty composer to recall text submitted in the current workspace. |
121
- | Jump between turns | Use the turn marks on the left of the current conversation. |
122
- | Inspect connectors | Open **Settings → Connectors**. Addresses, commands, and credentials are never shown. |
123
- | Check companion plugins | Open **Settings → About** to install or update individual companion plugins. |
108
+ ### 6. Official Native 56px Rail (Collapsed)
109
+ Collapses seamlessly into the host official 56px compact activity rail. All plugin icons remain centered and accessible, with New Session prominently highlighted.
124
110
 
125
- ## FAQ
111
+ ![Official Native 56px Collapsed Rail](assets/screenshots/sidebar-collapsed.png)
126
112
 
127
- ### Do pinned projects and unread markers persist?
113
+ ---
128
114
 
129
- Pinned projects are saved in your DSH configuration and survive restarts. Unread markers are stored only in the current browser and do not sync across browsers.
115
+ ### 7. Enhanced Session Menu
116
+ Quick actions directly on session rows: Pin, Rename, Unread marker, Archive, Fork, and Safe Deletion.
130
117
 
131
- ### Why is my earlier input missing?
118
+ ![Enhanced Session Menu](assets/screenshots/session-menu.png)
132
119
 
133
- Input history is stored in the current browser, separately for each workspace, with up to 200 entries per workspace. It records new input while the feature is active and does not import existing conversations. When browser storage is unavailable, history is kept temporarily in memory. The BTW plugin is not required.
120
+ ---
134
121
 
135
- ### Does removing a project delete local files?
122
+ ## Host Compatibility
136
123
 
137
- Removing a workspace registration does not delete its folder or conversation records. Permanent deletion of archived conversations is provided by the companion Archive Manager plugin.
124
+ * **Supported Generations**: Full DeepSeek Harness `0.2.x` line (`>=0.2.0-rc.1 <0.3.0-0`);
125
+ * **Verified Builds**: Tested and verified on `0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`, `0.2.1-rc.2`, and `0.2.1-rc.3`, with automatic forwards compatibility for subsequent RCs;
126
+ * **Runtime Requirements**: Node.js `^22.19.0 || >=24.0.0`, pnpm `^11.0.0`.
138
127
 
139
- ### What if nothing changes after installation?
128
+ > ⚠️ **Notice**: Do not enable Codex UI and `ds-bot` concurrently. Both redesign sidebar and session slots with overlapping layout mechanics. Disable or uninstall one before enabling the other.
140
129
 
141
- Check that the installation profile matches the one running DSH Web, then restart DSH Web and hard-refresh the browser. Run `dsh --profile web --dump-config` to check that `codex-ui` is mounted.
130
+ ---
142
131
 
143
- ## Development and contributing
132
+ ## Installation & Getting Started
144
133
 
145
- 本地交接入口:[阅读导航](docs/00-交接入口/00-阅读导航.md)。本地文档沿用既有忽略策略,不随 npm 包发布。
134
+ ### Option A: Agent-Assisted Installation (Recommended)
146
135
 
147
- 真实宿主启停验收使用 `pnpm run test:fallback-host`,需设置 `DCU_DSH_BIN` 指向完整宿主 CLI;该命令在隔离 profile 验证侧栏回退,不调用模型,不属于默认 `pnpm test` 的验收范围。
136
+ Copy and send this prompt to any agent capable of executing terminal commands (replace `web` with your target profile):
148
137
 
149
- GitHub and npm both include a ready-to-run `lib`. After changing source, run `pnpm build` before committing.
138
+ ```text
139
+ Please install the DSH plugin @michengai/dsh-codex-ui into my local web profile by running:
140
+ dsh plugin --profile web add @michengai/dsh-codex-ui@latest --registry=https://registry.npmjs.org/
141
+ Then run dsh --profile web --dump-config to verify codex-ui is active and remind me to refresh my browser.
142
+ ```
150
143
 
151
- ### Install from source
144
+ ### Option B: Manual Installation
152
145
 
153
- Use this for debugging or unpublished changes. The cloned directory becomes the plugin source path:
146
+ Execute in PowerShell or MSYS Bash:
154
147
 
155
148
  ```powershell
156
149
  [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
157
150
  $OutputEncoding = [System.Text.Encoding]::UTF8
158
- Set-Location D:\Repository\deepseek-harness-plugin
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
- Restart DSH Web and hard-refresh the browser. Do not copy `lib` manually; local installation reads both package metadata and `cordis.patch.yml`.
155
+ Once installed, restart your DSH Web instance and hard-refresh your browser (`Ctrl + Shift + R` or `Cmd + Shift + R`).
168
156
 
169
- - [src\index.ts](src/index.ts): host entry and the non-sensitive Connectors directory endpoint.
170
- - [src\client\index.ts](src/client/index.ts): client entry for sidebar, workspace tree, turn navigation, and Settings sections.
171
- - [src\client\CodexSidebar.tsx](src/client/CodexSidebar.tsx): sidebar shell, search panel, and visual styles.
172
- - [src\client\CodexWorkspaceBrowser.tsx](src/client/CodexWorkspaceBrowser.tsx): workspace and conversation interactions.
173
- - `tests\*.assert.ts` and `tests\*.spec.ts`: interaction, visual, and runtime integration checks.
157
+ ---
174
158
 
175
- After changing `src`, rebuild, test, and install from the local directory:
159
+ ## Quick Reference
176
160
 
177
- ```powershell
178
- [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
179
- $OutputEncoding = [System.Text.Encoding]::UTF8
180
- pnpm build
181
- pnpm test
182
- dsh plugin --profile web add .
183
- ```
161
+ | Feature | How to Use |
162
+ | :--- | :--- |
163
+ | **Recall Input History** | Press `↑` / `↓` in an empty composer to cycle through past inputs submitted in the current workspace (up to 200 items). |
164
+ | **Resize Composer Width** | Hover over either lateral border of the composer and drag the blue handles. |
165
+ | **Switch Themes & Blur** | Navigate to **Settings → Codex UI**, choose from 7 palettes, and toggle Stock/Mica or blur presets. |
166
+ | **Reorder Sidebar Items** | Drag any item vertically; blue indicators guide drop positions into or out of the More drawer. |
167
+ | **Collapse Sidebar** | Click the collapse button on top of the sidebar to switch to the official 56px native icon rail. |
168
+ | **Batch Upgrade Plugins** | In **Settings → Codex UI**, click **Update All** on the Companion Plugins card. |
169
+
170
+ ---
171
+
172
+ ## Ecosystem Matrix
173
+
174
+ Pair Codex UI with the first-party companion plugins for an integrated development workflow:
175
+
176
+ | Plugin | Purpose |
177
+ | :--- | :--- |
178
+ | [Codex UI](https://github.com/MichengAI/dsh-codex-ui) | **UI Core**: Rapid recall, settings skin, physical glass, and modular sidebar |
179
+ | [Agency Agents](https://github.com/MichengAI/dsh-agency-agents) | **Specialist Matrix**: Summon and dispatch specialized agent profiles |
180
+ | [Skills Manager](https://github.com/MichengAI/dsh-skills-manager) | **Skills Hub**: Discover, import, enable, and configure local agent skills |
181
+ | [Archive Manager](https://github.com/MichengAI/dsh-archive-manager) | **Archive Vault**: Deep search, restore, and prune historical sessions |
182
+ | [IM Connect](https://github.com/MichengAI/dsh-im-connect) | **Bridge**: Connect WeChat, DingTalk, Feishu, and QQBot |
183
+ | [Automation](https://github.com/MichengAI/dsh-automation) | **Scheduler**: Cron-based workflows and run evidence auditing |
184
+ | [Code Review](https://github.com/MichengAI/dsh-code-review) | **Reviewer**: `/review` dispatches subagents to audit code in-thread |
185
+ | [Simplify](https://github.com/MichengAI/dsh-simplify) | **Refactor**: `/simplify` concurrent 4-agent code cleanup |
186
+ | [PUA](https://github.com/MichengAI/dsh-pua) | **Resilience**: Failure recovery, hypothesis switching, and evidence verification |
187
+ | [BTW](https://github.com/MichengAI/dsh-btw) | **Side-Questions**: Ephemeral context inquiries without disrupting main tasks |
188
+ | [Codex Pet](https://github.com/MichengAI/dsh-codex-pet) | **Companion**: Desktop interactive pet for approvals and notifications |
184
189
 
185
- New features should reuse existing DSH slots and public services. Do not depend on private host DOM or write conversation records.
190
+ ---
186
191
 
187
192
  ## License
188
193
 
189
- This project is licensed under [Apache License 2.0](LICENSE).
194
+ Distributed and licensed under the [Apache License 2.0](LICENSE).\n