DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

yishan /

yishan/dsh-sequence

Verified

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

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@15280b82

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+).
—/ 5

No ratings yet

Verified DSH bundle

Commit 15280b82bba3

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout