rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:saltedfish-T/dsh-turn-clock
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
A right-sidebar tab for DeepSeek Harness that lists every turn of the current session with the date and time it started, and jumps the conversation to the turn you click.

Prompt text is mosaicked so a real conversation stays private; the dates, times and layout are unedited.
DSH already has a turn rail on the right edge of the conversation, and it is good: it lists turns, previews them, and jumps. Two things it does not do:
turnOutline projection it renders has only turn / seq / prompt / response, so there is nothing to date a turn with.This plugin is the second surface for the same question: a real page in the right Sidebar, grouped by calendar day, one row per turn, each row showing HH:mm plus the start of that turn's prompt. Click a row to go there.
Turn navigation is a crowded corner of the DSH plugin ecosystem. Being precise about what differs is more useful than claiming novelty:
| Surface | Dates/times | Depends on | |
|---|---|---|---|
| dsh-turn-clock (this) | A tab in the official right Sidebar | Per-turn date + HH:mm, grouped by day, from the whole log |
Nothing beyond DSH itself |
| Built-in turn rail | Strip on the conversation's right edge | None | — (but hidden when the transcript is ≤ 900 px wide) |
| dsh-conversation-timeline | Horizontal dock above the composer | Turn start time on each capsule | Nothing |
| dsh-turn-outline | Right-sidebar tab | None (folds input + tool steps + output) | Peer dsh-better-sidebar |
| dsh-timeline | Axis on the conversation's right edge | None advertised | Nothing (much larger: pins, favourites, prompt library, export) |
The one-line version: a dated outline in the official right sidebar, with no other plugin required.
| Feature | Detail |
|---|---|
| Dated outline | One row per turn, grouped under 11月2日 周日-style day headers, newest last |
| Click to jump | Pages history in through the turn's turn/start seq, then scrolls the turn's transcript row into view |
| Whole-log coverage | Times come from a Host projection folded over the entire session log, so turns the browser never loaded are still listed |
| Keyboard | Rows are focusable; Enter and Space jump |
| Locale | Chinese and English copy, following the app locale |
| No other plugin needed | Uses the official right Sidebar — no dsh-better-sidebar peer |
dsh plugin --profile web add github:saltedfish-T/dsh-turn-clock
Then restart DSH (or refresh the page). From a local checkout:
dsh plugin --profile web add file:/path/to/dsh-turn-clock
Built and tested against DSH 0.2.1-rc.5. The plugin uses documented extension seams plus two internal contracts listed below, so a future DSH release can break the jump (see What this depends on).
Open the right Sidebar → Start (指南 / Guide) → the Turn timeline (时间目录) card. The first turn of a session is the top row; the list opens scrolled to the newest turn.

Where it lives: the guide's card list, one card among the shipped tools.
Host half (index.js) registers one turnClock projection unit on ctx.sessionProjections:
turn/start appends { turn, t: event.time, s: event.seq, p: '' }user/message of that turn fills p with a 120-character preview (injected context and tool results are excluded by checking source.kind === 'user')wire.view returns the state object itself, so an unchanged fold publishes nothingClient half (client.js):
ctx.sidebarRightTabs.register() and its body under the keyed sidebar.right.pane.tab slot, plus a guide entryuseProjection('turnClock') keyed hookctx.sessions.binding(sessionId).session.loadThrough(seq), then scrollIntoView on the transcript rowThis is a third-party plugin, not a first-party seam. Two internals are load-bearing, and both are named here on purpose:
data-chat-turn="<n>" — Chat puts the turn number on every transcript row. The jump finds its target with this attribute. Chat uses the same attribute for its own reading-position tracking.binding.session.loadThrough(seq) — the jump loader Chat's own rail calls when a turn is not loaded yet. Accessed through ctx.sessions.binding(sessionId).If either changes upstream:
A turnOutline projection is read as a fallback source of per-turn seqs, so a jump still works when this package's own projection predates a field.
Intl.DateTimeFormat, which is usually but not always the app locale.turn/start event, i.e. the moment the loop began the turn right after your prompt — not when a message first painted.No build step: the client half is hand-written in the window.__ModuleLoader__.load({ id, factory }) format and depends on nothing but react from the module table.
node --check index.js
node --check client.js
node test/fold.test.mjs # drives the projection fold with synthetic events
test/fold.test.mjs covers the time/seq anchoring, whitespace normalization, injected-context exclusion, same-turn second messages, stale turn boundaries, and the preview budget.
Working on this repository as an agent? Read AGENTS.md first: it carries the install and verification checklist, what each failure string in the panel means, and how to re-check the two internal contracts against a newer DSH release.
dsh plugin --profile web remove dsh-turn-clock
MIT — see LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。