Codex 风格自动隐藏右缘轮次导航:靠边浮现、单轮 tooltip、会话内搜索、长会话 30 轮滚动窗口。
安装
# npm 包(预构建)
dsh plugin --profile web add dsh-turn-rail
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:Yujm888/dsh-turn-rail
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本。请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
A Codex-style auto-hiding turn rail for DeepSeek Harness Web.
Minimal by design: no settings, no extra panels, zero runtime dependencies.
The rail lives on the right edge of the conversation. Move the pointer near the edge and it fades in; move away and it fades out. Hover the thin zone around a marker to preview that turn, click anywhere in the wider marker area to jump. Long conversations keep at most 30 visible markers and scroll inside the rail, following the current reading position.
This project is not affiliated with DeepSeek. The interaction pattern is inspired by common turn-navigation rails such as Codex and the DeepSeek web client; the implementation is independent.
Screenshots


Features
- Edge-peek auto-hide — appears when the pointer is within 110 px of the right edge, fades out 120 ms after leaving. Leaving the browser window or switching away follows the same fade timing.
- Layered hit zones — the outer zone only keeps the rail visible; the marker zone is clickable and highlights on hover; only the narrow detail zone around the marker shows the tooltip.
- Per-turn tooltip — one marker previews one message with time. It fades in
and fades out with the rail, and the native browser
titleis not used. - Search — the magnifier button opens a pinned search box. Type to filter
user messages, click a result to jump. Close with
Esc, another click on the button, a result click, or a click outside the rail. - 30-marker scrolling window — with more than 30 turns the rail scrolls internally with a hidden scrollbar. It pins to the newest window once when a session opens, then never moves itself again: the rail scroll position is fully user-owned.
- Theme-aware and responsive — markers use DSH CSS variables and scale slightly with viewport size.
- Full-session projection — the host half folds the durable session log so a page reload paints the complete rail without replaying history.
Requirements
- DSH
>= 0.1.0-rc.6 - Web profile with
sessionProjectionsavailable (the shipped web profile has it)
Install
dsh plugin --profile web add dsh-turn-rail
Then restart dsh web and hard-refresh the browser tab.
From a local checkout
dsh plugin --profile web add /path/to/dsh-turn-rail
Remove
dsh plugin --profile web remove dsh-turn-rail
Tuning
All tunables live at the top of lib/client.js:
| Constant | Default | Meaning |
|---|---|---|
EDGE_TRIGGER_PX |
110 |
Show the rail when the pointer is this close to the right edge |
DETAIL_LEFT_PX / DETAIL_RIGHT_PX |
46 / 10 |
Distance band from the right edge that opens the tooltip |
HIDE_DELAY_MS |
120 |
Wait before the rail starts fading out |
UNMOUNT_AFTER_MS |
200 |
Remove tooltip/search after the fade completes |
MAX_VISIBLE_MARKS |
30 |
Maximum markers visible when the rail scrolls |
MAX_MARK_GAP_PX |
30 |
Maximum center-to-center distance between markers when there are 30 or fewer turns |
SEARCH_LIMIT |
30 |
Maximum search results |
Rail geometry and marker sizes are in the css array in the same file.
Model Experience
None. This is a browser UI plugin; nothing here enters a model request.
License
MIT
链接
同类插件
zhu1090093659/dsh-web-ui#packages/dsh-web-ui-all★ 2622
DSH Web UI 插件与皮肤合集:任务看板、git 图、右侧面板、远程移动端 UI、桌宠、实时 token 统计与皮肤中心。
ccch1mneyyy/dsh-TUI★ 1231
Claude Code 风格全屏终端 UI:像素鲸鱼顶栏、实时工作状态行、思考流式展开。
omdsh-dev/DSH-better-sidebar★ 1198
侧边栏完整工作台:内置文件渲染编辑、终端、Git 与子代理,支持三方插件注册新 Tab。
omdsh-dev/dsh-at-file★ 214
Codex 风格的 `@file` 文件引用,输入框里直接搜索并引用工作区文件。
huiliyi37/dsh-tianshu-tui★ 159
DeepSeek Harness 的终端 UI(TUI)。
Nagi-ovo/dsh-visualize★ 114
对话内生成式 UI:模型把交互式 HTML 卡片直接画进会话流,带流式预览与沙箱渲染。