返回目录
模型与 MCP 插件

dsh-codex-rail

ComlaiGonnann/dsh-codex-rail

Transforms DSH sidebar into a dual-column Codex interface with Activity Bar

Stars
0
Forks
0
Issues
1
更新
5 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:ComlaiGonnann/dsh-codex-rail

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-codex-rail

DSH Plugin Version 1.3.14 License MIT Vibe Coding

English  |  中文说明


English

Transforms DeepSeek Harness (DSH) into a sleek, immersive Codex-style dual-column workspace with an integrated Activity Bar, unified topbar, and smooth session history navigation.

[!NOTE] Author Disclaimer: This project is for personal use by the author and is a product of vibecoding.
Crafted to bring a sleek, distraction-free, and immersive Codex dual-column workflow to DeepSeek Harness. Feature evolution and maintenance are primarily tailored to the author's daily workflow. Feedback, suggestions, and PRs are warmly welcomed!

✨ Key Features

  • 🔄 DSH 0.2.2-rc.4 Compatibility & Runtime CSS Prefix Auto-Detection
    Verified and adapted for upstream DSH 0.2.2-rc.4 (@deepseek-ai/dsh@0.2.2-rc.4) alongside Desktop builds. Automatically detects CSS Module hash prefixes (_regionArea / _sidebarCol, e.g. wtg9ga_/mP3x-q_ and hHd-Xa_/pI_x6G_) at runtime and cleanly isolates sidebar.session.action new-session triggers from @deepseek-ai/dsh-deepseek-chat-import buttons.

  • 🎨 Native DSH Design Token Integration & Native Resizing
    Refactored around DSH's native --dsw-* design tokens (--dsw-specific-sidebar-fill, --dsw-alias-border-l3, --dsw-radius-md, etc.) while preserving AppFrame's native grid layout and drag handles for smooth horizontal workspace resizing.

  • 🧩 Deep dsh-claude-style Compatibility & Zoom-Aware Tooltips
    Full visual and behavioral harmonization with dsh-claude-style, including sidebar canvas/opacity synchronization (--dsh-claude-sidebar-canvas, --dsh-claude-background-opacity), footer takeover ([data-dsh-claude-footer-takeover]) & seat update indicator compaction, page-zoom (--dsh-claude-page-zoom-factor) tooltip positioning compensation, and transient overlay/caret DOM filtering.

  • 📥 Session Action Slot & Adaptive New-Session Row (DSH 0.2.2-rc.3 ~ rc.4)
    Full visual and layout adaptation to DSH's sidebar.session.action HOC slot and .newSessionRow container, seamlessly coexisting with @deepseek-ai/dsh-deepseek-chat-import and topStrip controls.

  • 🎨 Official Upload Iconography System (DSH 0.2.2-rc.3 upload-outline)
    Native dedicated SVG artwork harmonized with upstream DSH 0.2.2-rc.3's upload-outline icon set, establishing complete visual consistency across the Activity Rail, sidebar actions, and modal dialogs.

  • 🎨 Unified Titlebar & Activity Rail
    Seamlessly fuses the native window titlebar with the 48px vertical Activity Rail, eliminating jarring borders, white gaps, and layout seams.

  • 🗂️ Codex Dual-Column Layout & Adaptive Popover Alignment

    • 48px Activity Rail: Consolidates plugins, web browser, terminal, workspace switchers, and upstream DSH 0.2.1-rc.3 ~ rc.5, 0.2.2-alpha.2 ~ alpha.3, and 0.2.2-rc.1 ~ rc.2 More/Customization menus into a sleek vertical navigation column with millisecond-precision popover docking;
    • Flexible Drawer Panel: History sessions and side drawers slide smoothly, maximizing your conversation and coding viewport;
    • Rich Codex Iconography: Native dedicated SVG icons for Forge & Git Worktree (0.2.2-alpha.3 ~ 0.2.2-rc.2 Change Requests & Reviews), Patch & Changes Review (0.2.1-rc.5 Deliverables), LiveShare Collaboration (0.2.2-alpha.2 Share action), Personalized Recommendations (Sparkle / 0.2.1-rc.4 icon), Runtime Stats & Inspector (0.2.2-alpha.2 DevTools), Subagent OAR CLI, More Menus (Triple Dot), Skill Explorer, and Taskboard.
  • 🧩 DockKit Multi-Tab & Split Workspace Harmonization (DSH 0.2.2-rc.1 & 0.2.2-rc.2)
    Full visual adaptation to upstream DSH 0.2.2-rc.1 & 0.2.2-rc.2's DockKit multi-tab docking subsystem ([data-dockkit-*]). Polishes tab strips, close buttons (with middle-click close support without jumping focus), split view dividers, drag-and-drop drop zones with neon highlights ([data-dockkit-dock-zone], [data-dockkit-drop-active], [data-dockkit-drop-zones], [data-dockkit-split-blocked]), and floating tool windows with minimalist rounded Codex aesthetics.

  • 💬 Quote Previews & Compact Reference Chips (DSH 0.2.2-rc.1 & 0.2.2-rc.2)
    Seamlessly integrates DSH 0.2.2-rc.1 & 0.2.2-rc.2's quote insertion and compact quote previews ([data-quote-preview], [data-ref-chip], [data-close-mark]) with sleek capsule styling, frosted glass popovers, and smooth removal animations in the composer input area.

  • 🛠️ Forge Suite & Code Review Integration (DSH 0.2.2-alpha.3 ~ 0.2.2-rc.2)
    Full visual and behavioral harmonization with the official DSH Forge subsystem (@deepseek-ai/dsh-experimental-forge-bundle & @deepseek-ai/dsh-experimental-client-ui-forge). Styles the topbar Change Requests toggle button, diff sidebars, hunk review threads, syntax code gutters, and composer worktree dock cards with zero-latency Codex dark aesthetics.

  • 🧭 Session Directory Path Labels & Unified Context Menu (DSH 0.2.2-rc.1 & 0.2.2-rc.2)
    Polishes DSH 0.2.2-rc.1 & 0.2.2-rc.2 session hover cards with monospace working-directory differentiation ([data-path-clipped], [data-path-label]), while adapting the unified context menus and trigger button ([data-context-menu-trigger], [data-submenu-layout], [data-menu-material], [data-menu-phase], [data-menu-group]) with refined blur backdrop and hierarchy headers.

  • 🪟 Window Drag Exclusion & Desktop Titlebar Integration (DSH 0.2.2-rc.2 Desktop)
    Seamlessly integrates with DSH 0.2.2-rc.2's desktop window drag regions ([data-windows-titlebar], [data-window-drag]), applying -webkit-app-region: no-drag and [data-window-drag-exclude] protection to the Activity Rail and Titlebar navigation controls to guarantee zero-miss clickability across Windows and macOS Desktop apps.

  • 👤 Quick Account Center & Avatar Access
    A dedicated 30px circular crystal avatar entry is pinned at the bottom of the Activity Rail for instant one-click access to account, profile, and model settings.

  • 🌈 Wallpaper Engine Seamless Transparency
    Deeply integrates with Wallpaper Engine plugins, supporting liquid glass blur, acrylic frosted sidebar, and full transparent mode with zero visual clipping.

  • ⚡ Session History Navigation (Forward / Back)
    Built-in browser-like navigation buttons with native global shortcuts: Alt + ← (Back) and Alt + → (Forward) to effortlessly traverse multi-turn conversations.

  • 🪄 10px Floating Card Workspace
    The main chat and coding area is wrapped in a refined floating container with subtle inner shadows and rounded corners for maximum visual depth.

  • 🚀 Buttery-Smooth Animations
    Optimized CSS transform transitions and GPU repaint boundaries, completely eliminating frame drops during sidebar expand and collapse.

  • ⚡ Idle & Debounced Sync Engine
    120ms debounced synchronization combined with browser-native requestIdleCallback (with 300ms fallback timeout) and __dshHtml update fingerprinting; deeply optimized to filter high-frequency thinking stream updates, right-sidebar document preview / collaboration DOM noise, heavy Forge diff hunk re-renders, and DSH 0.2.2-rc.1 & 0.2.2-rc.2 DockKit drag drop zones / Quote / Context Menu state shifts.

  • 🪟 Right Sidebar & Responsive Expand Control
    Seamlessly aligns with DSH 0.2.1-rc.5, 0.2.2-alpha.2, 0.2.2-alpha.3, 0.2.2-rc.1 ~ rc.2, and master responsive viewport rules (< 768px), adding polished Codex styling for the conversation header's [data-sidebar-right-expand] and [data-forge-header] buttons, as well as tablet and mobile narrow-screen layouts.

⌨️ Keybindings

Shortcut Description
Alt + ← Navigate back to previous session history
Alt + → Navigate forward to next session history
Click Bottom Avatar Open / focus Account Center & Profile Settings

📦 Installation

Method 1: DSH Plugin Market (Recommended)

  1. Open DeepSeek Harness (DSH);
  2. Go to Plugin Market;
  3. Search for dsh-codex-rail and click Install;
  4. Restart or refresh DSH to enjoy.

Method 2: Command Line

# In your DSH profile directory (e.g. ~/.dsh/profiles/desktop)
npm install dsh-codex-rail

And ensure it is enabled in your cordis.yml:

dsh-codex-rail: {}

Method 3: Local Symlink for Development

git clone https://github.com/ComlaiGonnann/dsh-codex-rail.git

# Create Junction on Windows:
mklink /J "%USERPROFILE%\.dsh\packages\dsh-codex-rail" "path\to\dsh-codex-rail"

⚙️ Compatibility

  • Compatible with DSH: >= 0.1.1-rc.1 (Full native support for DSH 0.2.0 / 0.2.1-rc.1 ~ rc.5 / 0.2.2-alpha.2 ~ alpha.3 / 0.2.2-rc.1 ~ rc.4 Desktop & Web)
  • Platforms: Windows / macOS / Linux

中文说明

将 DeepSeek Harness (DSH) 界面重构为极具现代质感的 Codex 式双列活动栏与全窗一体化工作区主题插件。

[!NOTE] 作者声明:此为作者自用且为 vibecoding 产物。
本插件旨在为 DeepSeek Harness 打造精致沉浸的 Codex 双列活动栏与顶栏一体化视觉体验。功能演变与日常维护主要依据作者个人实际工作流展开,欢迎交流体验与提交 PR!

✨ 核心特性

  • 🔄 DSH 0.2.2-rc.4 全面适配与运行时 CSS 前缀自检
    已完成对上游 DSH 0.2.2-rc.4(@deepseek-ai/dsh@0.2.2-rc.4)及桌面端构建的全面验证与适配。支持在运行时自动探测 CSS Module 哈希前缀(_regionArea / _sidebarCol,兼容 wtg9ga_/mP3x-q_ 与 hHd-Xa_/pI_x6G_ 等多端构建),并精确隔离 sidebar.session.action 中的新建会话触发器与 @deepseek-ai/dsh-deepseek-chat-import 导入按钮。

  • 🎨 原生 DSH Design Token 融合与原生拖拽调宽
    深度接入 DSH 原生 --dsw-* 设计令牌(--dsw-specific-sidebar-fill、--dsw-alias-border-l3、--dsw-radius-md 等),完整保留 AppFrame 原生网格与拖动手柄,实现 100% 原生手感的侧边栏左右自由拉伸。

  • 🧩 深度兼容 dsh-claude-style 视觉与缩放交互
    全面适配 dsh-claude-style 插件:同步左侧活动栏画布底色与透明度(--dsh-claude-sidebar-canvas、--dsh-claude-background-opacity),支持底部账户接管(footer-takeover)及更新提示点收敛、页面缩放(--dsh-claude-page-zoom-factor)下的浮动气泡精准定位补偿,以及高频浮层与光标 DOM 过滤。

  • 📥 会话导入扩展插槽与新会话行兼容 (DSH 0.2.2-rc.3 ~ rc.4)
    全面适配 DSH 会话动作高阶插槽(sidebar.session.action)、newSessionRow 与 topStrip 结构,并与官方 @deepseek-ai/dsh-deepseek-chat-import 插件和谐共存。

  • 🎨 官方上传与导入矢量图腾体系 (DSH 0.2.2-rc.3 upload-outline)
    深度对齐官方最新 upload-outline 矢量规范与图标集,无缝统一 Codex 活动栏工具箱、侧边面板动作与导入对话框的视觉风格。

  • 🎨 全窗顶栏一体化质感
    无缝打通原生标题栏与 48px 活动栏(Activity Rail),彻底消除断层与多余留白,与原生明亮/暗黑主题深度贴合。

  • 🗂️ Codex 级双列工作流与自适应 Popover 锚定

    • 48px 图标活动栏:将插件、终端、浏览器、工作区切换以及 DSH 0.2.1-rc.3 ~ rc.5、0.2.2-alpha.2 ~ alpha.3、0.2.2-rc.1 ~ rc.2 原生「更多/创建插件」菜单归拢于左侧纵向 Rail,毫秒级浮层对齐,布局井然有序;
    • 弹性会话面板:侧边列表支持平滑收展,留出最大化的主对话与编码视野;
    • 全套 Codex 专属图标:深度适配 Forge 代码审查与 Git 工作树(0.2.2-alpha.3 ~ 0.2.2-rc.2 Change Requests / PR 审查)、补丁应用与变更检视(0.2.1-rc.5 apply_patch / 交付物审核)、LiveShare 协作共享(0.2.2-alpha.2 实时协作)、个性化推荐(0.2.1-rc.4 官方灵感徽标 / Sparkle)、开发者工具与运行统计(0.2.2-alpha.2 Stats)、Subagent OAR 协同、更多菜单(三点水平排列)、技能探索与看板等专属矢量图形。
  • 🧩 DockKit 多标签面板系统与分栏放置区适配 (DSH 0.2.2-rc.1 & 0.2.2-rc.2)
    全量深度适配 DSH 0.2.2-rc.1 & 0.2.2-rc.2 全新引入的 DockKit 标签页与分栏拖拽体系([data-dockkit-*])。重绘 DockKit 顶部标签栏(Strip)、标签项悬浮与激活态、平滑中键快速关闭标签页、分割控制柄、浮动窗(Float Window)以及 0.2.2-rc.2 分栏拖拽放置区高亮卡片([data-dockkit-dock-zone] / [data-dockkit-drop-active] / [data-dockkit-drop-zones]),呈现纯正 Codex 轻量极简科技质感。

  • 💬 输入框引用与紧凑预览胶囊卡片 (DSH 0.2.2-rc.1 & 0.2.2-rc.2)
    完美契合 DSH 0.2.2-rc.1 & 0.2.2-rc.2 引用文本插入与紧凑预览特性([data-quote-preview] / [data-ref-chip] / [data-close-mark])。针对输入框引用胶囊赋予精致微圆角与暗黑半透明边框,搭配毛玻璃浮层与一键移除微动效,让长文本引文和多轮对话阅读更为紧凑自然。

  • 🛠️ Forge 套件与代码审查深度融合 (DSH 0.2.2-alpha.3 ~ 0.2.2-rc.2)
    全面视觉化适配 DSH 官方 Forge 子系统(@deepseek-ai/dsh-experimental-forge-bundle 与 @deepseek-ai/dsh-experimental-client-ui-forge)。精调会话顶栏变更请求(Change Requests)状态入口与检查红绿圆点、右侧栏多页签 Diff 变更视图、代码 Hunk 行内行号与评论弹框、以及输入框上方的 Worktree 创建进度卡片,保持极致丝滑的 Codex 科技暗黑质感。

  • 🧭 会话悬浮卡工作目录标签与全局上下文菜单 (DSH 0.2.2-rc.1 & 0.2.2-rc.2)
    优雅呈现 0.2.2-rc.1 & 0.2.2-rc.2 侧栏悬浮卡新增的工作目录标识([data-path-clipped] / [data-path-label]),采用等宽微字号清晰区分同名会话;深度强化全局统一右键菜单材质、子菜单布局与触发器按钮([data-context-menu-trigger] / [data-submenu-layout] / [data-menu-material] / [data-menu-phase] / [data-menu-group]),提升毛玻璃磨砂阴影与层级分类质感。

  • 🪟 桌面窗口拖拽排除与顶栏深度融合 (DSH 0.2.2-rc.2 Desktop)
    全面接入 DSH 0.2.2-rc.2 桌面窗口拖拽规范([data-windows-titlebar] 与 [data-window-drag]),对 Activity Rail 独立活动栏与顶栏前进/后退/折叠控件施加 -webkit-app-region: no-drag 与 [data-window-drag-exclude] 保护,彻底解决 Windows / macOS 桌面端顶栏拖拽阻断按钮点击的问题。

  • 👤 快捷账号中心与水晶头像入口
    在活动栏底部常驻 30px 精美圆形水晶微质感头像与个人中心入口,点击即可直接呼出或定位到账号与模型配置。

  • 🌈 壁纸引擎无缝透光与毛玻璃兼容
    深度适配 Wallpaper Engine 壁纸插件,无缝支持液态磨砂毛玻璃(Liquid Glass)、侧边栏亚克力与全透模式(Full Clear)。

  • ⚡ 会话前进 / 后退历史导航
    内置导航控制按键,并原生支持 Alt + ←(后退)和 Alt + →(前进)全局快捷键,顺畅穿梭于多轮历史会话。

  • 🪄 工作区 10px 悬浮圆角卡片
    主对话与代码编辑区域采用卡片化容器包裹,搭配轻量内衬阴影与圆角设计,层次分明,极具科技美感。

  • 🚀 丝滑动画与高帧率过渡
    深度优化 CSS Transform 与浏览器重绘机制,彻底解决原生在侧边栏折叠与展开时的掉帧卡顿。

  • ⚡ 智能空闲调度与高频 DOM 防抖 (Idle & Debounced Sync Engine)
    采用 120ms 动态防抖与浏览器原生 requestIdleCallback(300ms 超时保护),配合活动栏按钮 __dshHtml 缓存指纹;深度适配 DSH 0.2.1-rc.5 思维链流式推理展示、0.2.2-alpha.2 右侧栏文档预览与协作面板、0.2.2-alpha.3 Forge 大量 Diff Hunk,以及 0.2.2-rc.1 & 0.2.2-rc.2 DockKit 分栏拖拽/放置区、引用预览与上下文菜单,彻底阻断高频重绘与多余 DOM 重排开销。

  • 🪟 右侧栏与多端视口自适应联动 (Right Sidebar & Expand Control)
    深度兼容 DSH master、0.2.2-alpha.2、0.2.2-alpha.3 及 0.2.2-rc.1 ~ rc.2 视口宽度响应式规范,优化会话顶栏角落 [data-sidebar-right-expand] 及 [data-forge-header] 展开/折叠控件质感,对手机与平板窄屏(< 768px)和软键盘提供弹性自适应支持,与 Codex 沉浸双列及浮动卡片保持毫秒级无缝联动。

⌨️ 快捷键速查

快捷键 功能说明
Alt + ← 后退至上一个会话历史
Alt + → 前进至下一个会话历史
点击活动栏底部头像 快速唤出 / 跳转个人账号中心

📦 安装与使用

方式一:DSH 插件市场安装(推荐)

  1. 启动 DeepSeek Harness (DSH);
  2. 进入 插件市场 (Market);
  3. 搜索 dsh-codex-rail 并点击 安装;
  4. 安装完成后重启或刷新 DSH 即可生效。

方式二:命令行安装

进入你的 DSH 用户 Profile 目录(如 ~/.dsh/profiles/desktop 或指定 workspace):

npm install dsh-codex-rail

并在 cordis.yml 中确认启用:

dsh-codex-rail: {}

方式三:开发者本地软链接调试

# 克隆仓库
git clone https://github.com/ComlaiGonnann/dsh-codex-rail.git

# 在 DSH 的 packages 目录下建立软链接 (Windows 示例)
mklink /J "%USERPROFILE%\.dsh\packages\dsh-codex-rail" "你的本地仓库路径\dsh-codex-rail"

⚙️ 兼容性说明

  • 兼容 DSH 版本:>= 0.1.1-rc.1(全面测试并完美兼容 DSH 0.2.0 / 0.2.1-rc.1 ~ rc.5 / 0.2.2-alpha.2 ~ alpha.3 / 0.2.2-rc.1 ~ rc.4 Desktop 与 Web)
  • 适用平台:Windows / macOS / Linux

📄 开源许可 / License

本项目基于 MIT License 开源发布。

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。