DeepSeek Harness 插件

dsh-turn-nav

DeepSeek Harness Web 对话轮次导航轨,支持 mixed / DeepSeek / Codex 三种视觉风格。

跳到安装方式

来源信息

GitHub 仓库
xiaheng1/dsh-turn-nav
最近更新
2026年8月19日
分类
界面增强
GitHub stars
0

安装

默认先复制一段 Prompt,让 Agent 读页面和仓库;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读页面和仓库。

请先不要安装。阅读这个 DeepSeek Harness 插件,说明它解决什么问题、会访问哪些文件、网络或密钥,以及如何安装和卸载。

插件页面:https://deepseekplugins.org/zh/plugins/xiaheng1/dsh-turn-nav
GitHub:https://github.com/xiaheng1/dsh-turn-nav
插件名:dsh-turn-nav
作者:xiaheng1
安装命令:dsh plugin --profile web add github:xiaheng1/dsh-turn-nav

确认前不要执行安装命令。

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dsh-turn-nav

English | [中文](README.zh.md)

> ⚠️ AI-generated notice: This plugin was AI-assisted. Test it in a safe environment before production use.

Turn histogram navigation rail for DeepSeek Harness Web with mixed, DeepSeek, and Codex visual variants.

Unfocused turns render as short bars on the right edge of the conversation. Hovering or keyboard-focusing a bar grows it into a wave (the focused bar is longest) and shows a preview card with the message you sent in that turn. While sweeping along the rail, the preview card stays visible and smoothly slides to the active bar, showing that turn's message text. Clicking a bar smooth-scrolls the conversation to that turn.

Install

dsh plugin --profile web add git+https://github.com/xiaheng1/dsh-turn-nav.git
dsh plugin --profile web install

Then restart dsh web and hard-refresh the browser (Ctrl+F5).

For a local folder:

dsh plugin --profile web add <absolute-path-to-this-folder>
dsh plugin --profile web install

Usage

1. Open a workspace and a conversation. 2. Move the pointer over the right-edge rail: the bar under the pointer grows, adjacent bars form a wave, and a shared preview card smoothly slides to the active bar showing that turn's message. 3. Click a bar to smooth-scroll to that turn.

The rail hides on narrow screens (max-width: 767px) by default; set hideOnNarrow: false to keep it visible.

Configuration

The quickest way to change defaults is to edit dsh-turn-nav.config.json in the repository/package root. The plugin reads it at startup as the base layer; if the file is missing, built-in defaults are used.

For per-deployment overrides, the plugin also registers a dsh-turn-nav settings namespace. Edit $DSH_HOME/settings.yaml (or settings.json) to override defaults:

dsh-turn-nav:
  waveTransitionMs: 120
  barWidth: 14
  focusedBarWidth: 30
  previewEnabled: true

You can also read and update the effective config from the browser console:

// Read the currently effective config.
dshTurnNav.getConfig()

// Update one or more fields (persisted through DSH settings).
dshTurnNav.updateConfig({ waveTransitionMs: 120 })

// Clear all user overrides and return to defaults.
dshTurnNav.resetConfig()

If a field is not configured, the default is used. The defaults keep the original short-bar feel while making the focused wave softer and rounder.

Variants

Set variant to choose the visual style:

VariantDescription
mixedCurrent default: short bars with a width-based wave and shared preview card.
deepseekSame dash language, slightly thinner and softer at rest.
codexSemantic dots without the wave; each dot highlights individually on hover.

Configuration parameters

ParameterDefaultDescription
variantmixedVisual style: mixed, deepseek, or codex.
barWidth12Resting bar width in px.
focusedBarWidth24Hovered / focused bar width in px.
adjacentBarWidth16First adjacent bar width in px.
neighborBarWidth13Second adjacent bar width in px.
waveTransitionMs100Wave transition duration in ms. Shorter values feel harder/snappier; longer values feel softer/smoother.
previewEnabledtrueWhether the message preview card is shown.
previewWidth240Preview card width in px.
previewMaxHeight132Preview card maximum height in px before overflow is hidden.
minTurns1Minimum number of user turns before the rail appears.
hideOnNarrowtrueHide the rail on narrow screens (max-width: 767px).
railOffsetRight8Rail distance from the right edge in px.
previewGap10Gap between the rail and the preview card in px.
itemWidth28Click target / item width in px.
itemHeight14Item height in px.
dotSize8Codex variant dot diameter in px.
scrollOffset16Extra scroll offset when jumping to a turn in px.

Package layout

  • lib/client.js — prebuilt browser plugin bundle (committed for direct use).
  • lib/index.js — node half; registers the dsh-turn-nav settings namespace and reads the root config file.
  • dsh-turn-nav.config.json — root-level defaults you can edit directly.
  • src/ — source code for reference.

AI-generated notice

This plugin was AI-assisted. The source and prebuilt artifacts are provided for learning and testing. Review the source, test the behavior, and confirm it meets your expectations before using it in a production environment.

License

MIT