dshbase

Plugin directory / UI & Skins / dsh-usage-record

dsh-usage-record

Verified · install-tested on dsh kkishapppy

✓ Actively maintained

View on GitHub ↗ ← Back to plugin directory

1Stars
0Forks
0Open issues
JavaScriptLanguage
2026-08-14Last push
Cross-platformPlatform

What it does

Question navigation rail on the left side of DSH Web conversation area: horizontal line=question, click to jump + fisheye + scroll follow + background preload

✅
Our take
Works — verified, early-stage project

Question navigation rail on the left side of DSH Web conversation area: horizontal line=question, click to jump + fisheye + scroll follow + background preload It installs cleanly and boots without issues in our testing. It's early-stage but functional.

“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

README

dsh-usage-record

DSH Web 对话区左侧提问导航轨:每条横线 = 一次提问,点击即跳转到对应位置,支持鱼眼放大、滚动跟随、后台全量预加载。

功能

  • 提问导航轨:对话左侧竖轨,每条横线代表一次提问,悬停显示提问内容 tooltip
  • 点击跳转:点击横线 → 聊天区平滑滚动到该提问(未渲染的历史自动加载后再跳)
  • 鱼眼效果:鼠标移动时横线按距离放大(σ=10),边缘留白防裁剪
  • 滚动跟随(scroll-spy):当前视口中心的提问在轨道上高亮;聊天滚动时轨道自动跟随
  • 后台预加载:轨道可见即自动批量加载全部历史提问(配合 history 批量补丁,长会话秒跳)
  • 全部数据来自服务端 /plugins/dsh-usage-record/questions(从会话日志提取,不受聊天虚拟化窗口限制)

安装

dsh plugin --profile web add dsh-usage-record

配置(profiles/<profile>/cordis.patch.yml,可选):

- id: usage-record
  config:
    dataDir: 'E:\DeepSeekHarness\data\usage-record'   # 默认 <cwd>/data/usage-record

已知依赖与限制

  • 依赖 DSH Web 客户端内部 DOM 结构([data-chat-flow]、[data-chat-anchor-key]、滚动容器等),随 DSH 版本升级可能失效(社区客户端插件的共性)
  • history RPC 批量被放大到 3000(官方默认 50),位于客户端源码 HISTORY_BATCH 常量,可按需调整
  • 轨道仅在会话视图渲染;需要会话存在历史提问

开发

npm i
npx -y [email protected] --config ./tsdown.config.ts
# 服务端改动需重启 DSH;client 改动硬刷新页面即生效

License

MIT

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-usage-record for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:kkishapppy/dsh-usage-record

Headless (CLI) profile:

dsh plugin --profile headless add github:kkishapppy/dsh-usage-record

Test report

Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.

When to use it

Change how dsh looks or how you interact with it — a theme, a skin, or a new panel that reshapes the workspace.

Who it's for

Users who spend hours in the web UI and want it to look and feel the way they work.

For developers — extending it

Skins, panels, and theme tokens are the extension points — author a new skin, add a panel, or sync tokens with an upstream palette.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in UI & Skins

Browse all 7797 plugins →