Horizon215/dsh-plugins--packages-previously-on ↗★ 9

@your-scope/dsh-previously-on

"Previously on…" recap card plus a zero-LLM handoff doc: reopening an old session replays its goal, progress, pending todos and last words — copy the handoff or carry it into a fresh session 适合需要快速回顾旧会话目标、进度及待办事项的用户。

Package
@your-scope/dsh-previously-on
Compatibility
Unverified
Version
0.2.5
License
MIT
Last updated
Aug 24, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Horizon215/dsh-plugins#47c61d624358f92d2f229dd981ef3883ee2af6a1&path:packages/previously-on

@your-scope/dsh-previously-on

English | 中文

"Previously on…" recap card for the DeepSeek Harness (dsh) web UI — reopening an old session replays its story above the composer. DeepSeek Harness Web UI 的「前情提要」插件——打开旧会话时,像美剧片头一样回顾上文。

Screenshots / 截图见仓库根 README:https://github.com/Horizon215/dsh-plugins


English

Features

  • Automatic recap card — switch to a session with history and a card fades in above the composer:
    • session title & current goal
    • progress: turns · steps · last-active relative time
    • pending TODOs (first one quoted)
    • your last words — the most recent human message (context injections filtered out via message-source kind)
  • One-click handoff doc — the card's action row folds the same facts plus files touched (from tool/call arguments) into a zero-LLM Markdown handoff: goal / progress / TODOs / last words / files
    • 📋 Copy handoff — the doc lands on your clipboard, ready for issues, PRs or chat
    • 🚀 Carry to new session — creates a fresh session in the same workspace with the same agent preset, jumps over and queues the doc as its first message — long-task continuation without the old session's context bloat
  • Stays out of the way — auto-fades after ~14s or on "Got it"; per-session dismissal memory only re-shows when the session progresses, plus a 2-hour quiet-staleness override for genuine returns
  • Zero LLM cost — everything folds deterministically from the session event log and official projections (title / goal / todos / sessionStats)
  • Bilingual — Simplified Chinese & English follow the UI locale

Install

From source (npm package coming soon):

git clone https://github.com/Horizon215/dsh-plugins.git
cd dsh-plugins
pnpm install && pnpm build
dsh plugin --profile web add file:./packages/previously-on

Restart dsh web. The package declares dsh.bundle, so it joins the profile automatically — no config edits.

Notes

  • Requires dsh ≥ 0.1.0-rc.5 (verified on rc.5 / rc.6), web UI only
  • Recap facts live in memory and refold from the log on load; only the per-session dismissed turn count persists (localStorage) — nothing is uploaded
  • Pairs naturally with dsh-quest-mascot: the whale girl perches right beside the card like she's narrating it

Uninstall

dsh plugin --profile web remove @your-scope/dsh-previously-on

中文

功能

  • 自动前情提要卡 —— 切到有历史的会话,输入框上方淡出一张卡片:
    • 会话标题与当前目标
    • 进度:轮数 · 步数 · 最后活跃相对时间
    • 未完成 TODO(引用第一条)
    • 你上次说的话——最近一条人类消息(按消息来源过滤掉上下文注入)
  • 一键交接单 —— 卡片底部动作行把同样的事实外加涉及文件(从 tool/call 参数折叠)生成零 LLM 的 Markdown 交接单:目标 / 进展 / 待办 / 最近发言 / 文件
    • 📋 复制交接单 —— 文档进剪贴板,随手贴到 issue、PR 或聊天里
    • 🚀 带去新会话 —— 在同一工作区、以同一智能体模式新建会话,跳过去并把交接单作为第一条消息排入队列——长任务轻装续跑,不再拖着旧会话的上下文
  • 绝不碍事 —— 约 14 秒自动淡出或点「知道了」;按会话记忆已读轮数,只有会话继续推进或静默超过 2 小时才会再次播报
  • 零 LLM 消耗 —— 全部内容由会话事件日志与官方投影(title / goal / todos / sessionStats)确定性折叠而来
  • 中英双语 —— 跟随界面语言切换

安装

从源码安装(npm 包稍后发布):

git clone https://github.com/Horizon215/dsh-plugins.git
cd dsh-plugins
pnpm install && pnpm build
dsh plugin --profile web add file:./packages/previously-on

重启 dsh web。包内声明了 dsh.bundle,会自动加入 profile,无需改配置。

说明

  • 需要 dsh ≥ 0.1.0-rc.5(已在 rc.5 / rc.6 验证),仅 Web UI
  • 摘要数据在内存中,刷新后从日志重新折叠;只有各会话的已读轮数持久化(localStorage)——没有任何数据上传
  • 与 dsh-quest-mascot 绝配:鲸鱼娘就趴在卡片旁边,像在为你播报

卸载

dsh plugin --profile web remove @your-scope/dsh-previously-on