rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
chou109/dsh-msgrail
MsgRail(消息轨道) —— DeepSeek Harness 的窄消息轨道插件:在对话左侧,为每条你发送的消息显示一根细横线。悬停看预览、点击即跳转,更早消息自动加载;全量历史、实时更新、中英双语。 MsgRail is a narrow message rail for DeepSeek Harness: one thin bar on the left of the chat for each message you sent. Hover to preview, click to jump — older messages load automatically. Full history, live, bilingual.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:chou109/dsh-msgrail
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
MsgRail is a compact full-history message rail for DeepSeek Harness: one thin tick per message you sent in the current conversation, docked in the ambient strip below the composer. Hover a tick to preview the message, click to jump into that part of the transcript. The rail indexes the whole history — messages the chat has not loaded yet included.
MsgRail(消息轨道)——DeepSeek Harness 的全量消息轨道插件:在当前会话的输入框下方,为你发送的每条消息显示一根细刻度;悬停预览、点击跳转;插件自行分页加载完整历史,聊天窗口还没加载的旧消息也会出现在索引里。
中文文档见 README.zh.md。
| Plugin | dsh-msgrail 2.0.0 |
| Harness | DeepSeek Harness 0.2.1-rc.2 (Desktop or dsh web) |
| Layer | Client only (the Host half exists only to create a Loader row) |
| License | MIT |
1.x patched @deepseek-ai/dsh-client-ui-layout to add a shell.history grid column. DSH 0.2 builds every client package as a dynamic bundle, so that patch no longer applies. Version 2 registers through the documented slot API instead:
| 1.x | 2.0.0 |
|---|---|
shell.history slot added by a layout patch |
conversation.composer.dock (additive, session-scoped) |
| Vertical rail left of the chat | Horizontal tick strip below the composer |
Current session guessed from sessions.current |
sessionId supplied by the session-scoped slot |
session.history({beforeSeq}) RPC + snapshot fallback |
ctx.sessions.binding(id).eventSource + session.loadOlder() |
Click used [data-chat-anchor-key] |
Proportional jump inside [data-conversation-scroll] |
Imported @deepseek-ai/dsh-client-ui-primitives |
No primitives import; local SVG/CSS only |
DSH 0.2 also ships its own turn rail on the right of the transcript. MsgRail is deliberately different: it indexes user messages across the full history, not turns in the loaded window.
loadOlder()), bounded so a pathological log cannot stall the UI, then keeps the tail live through the session event subscription.ctx.locale (zh + en).--dsw-alias-* tokens only.The package is a bundle (dsh.bundle.patch → cordis.patch.yml). Point the Plugin Manager's “install from folder” at this directory and enable dsh-msgrail.
dsh plugin --profile <profile> add /absolute/path/to/dsh-msgrail
Install/link the package into the profile's node_modules, then add to cordis.patch.yml:
- insert:
- id: msgrail
name: 'dsh-msgrail'
Reload the page after installation. Nothing else is patched.
loadOlder() pages; a session longer than that keeps the newest ~80 pages indexed.Remove the msgrail row (Plugin Manager → disable, or delete the insert block) and reload.
lib/index.js Host half: minimal Loader row (client discovery needs it)
lib/client.js Browser bundle: rail component, styles, locale, data path
package.json dsh.bundle.patch + dsh.client declaration
cordis.patch.yml
The browser half is plain ES5-compatible JavaScript using
window.__ModuleLoader__.load({ id, factory }). It requires only react and the
session/locale/slot services listed in inject. Syntax check with:
node --check lib/client.js
MIT.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness、deepseek-harness-plugin、deepseek-harness-plugins。