Per-session question index for the DSH Web UI: a time-proportional dot rail on the right edge and an expandable chain panel showing every user question with its time, including branch/subagent sessions; clicking a node jumps to that message and highlights it.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-chat-index
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:kk112222/dsh-chat-index
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
A per-session question index for the DeepSeek Harness Web UI (dsh web): a thin time-proportional dot rail on the right edge of every conversation, plus an expandable chain panel. Every user question is a node with its text and time — including questions in branch/subagent sessions — click any node to jump to that message and briefly highlight it.
功能 / Features
- 右侧圆点窄条(rail):每个提问一个圆点,按真实提问时间间隔分布 (顶部 = 最早,底部 = 最近);点击圆点 → 聊天区滚动定位并短暂高亮; 按住上下拖动可快速滑动,拖动时右侧浮出该提问的摘要小窗;条顶显示提问数。
- 链面板(chain):会话标题行最右的常驻
≡开关,或窄条底部⇱, 展开链视图 —— 每个节点显示问题摘要 + 时间;分支/子会话以子树 挂在主会话下(节点可点击,先切换到对应会话再定位高亮);✕收起。 - 空会话不显示窄条,但
≡始终可用(面板显示"还没有提问")。 - 数据源:当前会话实时快照 + 持久历史(
session.history分页),换会话自动重建。 - 纯前端实现,host 仅保留最小 loader 入口。
- 与已有同类(
dsh-question-nav、dsh-chat-rail、dsh-chat-index-rail)的差异: 链面板 + 分支会话子树 + 时间比例分布。
截图 / Screenshots
| 右侧提问窄条(rail) | 链面板(chain,含分支子树) |
|---|---|
![]() |
![]() |
均为实际运行截图(点击图片可放大)。
docs/下另存有两张同风格的 SVG 设计稿 (preview-rail.svg/preview-panel.svg),供文档或宣传图复用。
安装 / Install
通过 DSH 官方插件通道安装(npm 发布后可用):
dsh plugin --profile web add dsh-chat-index
手动安装(无需联网,便于本地调试):把本包放进 profile 依赖目录,并在
~/.dsh/profiles/web/cordis.patch.yml追加:- insert: - id: chat-index name: 'dsh-chat-index'无需重启服务,刷新页面即可。注意:手动通道与官方通道二选一,避免双重挂载。
使用 / Usage
- 打开任意会话 → 右侧出现窄条(有提问时)。
- 点圆点 / 按住拖动 → 跳到对应提问并高亮。
- 点标题行右侧
≡(或窄条底部⇱)展开链面板;点节点跳转,✕收起。 - 会话内开关状态各自记忆;刷新页面后默认收起。
开发 / Development
node scripts/build.mjs # 生成 lib/client.js(src/client/* 拼接)
node scripts/smoke.mjs # 离线冒烟测试(模拟 DSH 模块加载器)
npm run check # build + 语法检查 + smoke
结构:
src/client/ 客户端源码片段(纯 JS,无 JSX/TS)
00-libs 01-style 02-utils 03-data 04-components 05-apply
lib/ 发布产物(lib/index.js 宿主入口 + lib/client.js 浏览器模块)
cordis.patch.yml DSH bundle patch(loader 挂载行)
scripts/ 构建与冒烟脚本
发布 / Publishing
- 版本:bump
package.json的version(semver)。 - 推送 tag(如
v0.1.1)会触发 .github/workflows/publish.yml 自动npm publish(需在仓库 Settings → Secrets → Actions 配置NPM_TOKEN, 值 = 一个 npm Automation 令牌;令牌须带 npmjs 的 2FA 绕过能力)。 - 市场目录条目在 awesome-dsh-plugin
的
data/plugins/kk112222__dsh-chat-index.yml,指向本仓库,一般无需改动。
License
MIT © xiaoshuai111
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 9262
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 9262
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 5677
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
ccch1mneyyy/dsh-TUI★ 5125
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
omdsh-dev/DSH-better-sidebar★ 4413
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
Devin-AXIS/deepseek-design#deepseek-idesign★ 1491
Visual design studio for websites, app prototypes, posters, cards, reports, and magazines, with templates, direct element editing, selection-aware AI draft handoff, and export.


Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.