返回目录
模型与 MCP 插件

dsh-sequence

yishan/dsh-sequence

In-conversation per-turn agent tool-call sequence diagram and animated playback plugin for DeepSeek Harness.

Stars
0
Forks
0
Issues
0
更新
6 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:yishan/dsh-sequence

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

English | 简体中文

dsh-sequence

In-conversation per-turn agent tool-call sequence diagram, timeline, and animated playback plugin for DeepSeek Harness (DSH).

Key Features

  1. Synchronized Dual Entry Points (Shared State & Cursor)
    • Per-Turn Quick Jump: Adds a Sequence Replay action button to each assistant message's action bar (conversation.chat.assistant-actions), opening a compact replay in the right sidebar (sidebar.right.pane.tab) without interrupting the conversation flow.
    • Full-Width Conversation Tab: Adds a Sequence tab to the conversation view (conversation.view) listing Turns 1..N, with a synchronized frame inspector and one-click Open in Full Tab ↗ handoff from the sidebar that preserves the active turn and playback cursor.
  2. Timeline & Sequence Diagram Views
    • Timeline View: Displays User, indented Tools / Subagents, and Agent Output with direct role-colored icon connectors and expandable parallel/nested call details.
    • Sequence Diagram View: Compiles DSH trajectory / useChat event streams into User ↔ Agent ↔ Tools ↔ Subagents swimlane frames, supporting parallel groups (par), error and same-turn retry detection, slow-call markers (≥ 3s), nested subCalls drill-down, and live running states.
  3. Deterministic SVG Canvas & Animated Playback
    • Zero heavy diagramming dependencies (lib/client.js only externalizes react and react/jsx-runtime).
    • Supports play/pause, step ← / →, playback speed (0.5x / 1x / 2x / 5x), scrubbing with error/retry markers, an Issues Only filter, and one-click export to standalone SVG or a self-contained playable HTML file.
  4. Host Session Projection (seqReplay)
    • Registers a ctx.sessionProjections unit to surface summary cards for unpaged earlier turns in long conversations, loading full details on demand via loadOlder().

Installation

dsh plugin add dsh-sequence

Build, Test & Preview

# Typecheck
npx tsc --noEmit

# Run unit tests
npx vitest run

# Build Host (lib/index.js), Client (lib/client.js), and offline demo (demo/index.html)
node build.mjs
  • Offline demo: Open demo/index.html in a browser to explore the interactive replay, view switching, and export flow.
  • Local development: Install from the local directory via the DSH plugin manager (supports 0.2.0-rc.2+ / 0.2.1-rc.2+ / 0.2.2-rc.1+).

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度中

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek。