Introduction¶
When running agents in DeepSeek Harness (DSH), models or tools often output timelines, relationship networks, calendar statistics, or custom chart configurations. If you merely pile JSON or text summaries into the tool card body, it is difficult to align schedules, topologies, and trends at a glance, let alone compare multiple charts side-by-side within the same session. The community plugin dsh-viz (Maintainer: leolee9086, Category: Client) addresses these needs: the host registers viz_show, and the client uses a consistent set of ECharts / vis-network renderers to retain complete charts within the tool card and centrally view or multi-select for comparison in the right sidebar.
What is this¶
dsh-viz is a dual-location visualization plugin for DeepSeek Harness. The source of truth is the persisted tool invocation arguments, rather than the tool card DOM or right sidebar navigation parameters. The chart identity is defined by sessionId + callId; the catalog is restored from the session event window, recognizing both direct calls and PTC gateway sub-calls, without double-counting the outer gateway.
Repository: https://github.com/leolee9086/dsh-viz
Community Directory Page: https://www.skillhub.cn/plugins/leolee9086/dsh-viz
Current package version: 0.2.1, License MIT.
Core Features¶
Dual-Location Rendering¶
- After calling
viz_show, expanding the tool card reveals the complete chart, not just a summary entry. - The tool card and the right sidebar each hold independent chart instances; zooming, selecting, and unloading in one do not affect the other.
- New successful chart invocations in the current session automatically open the right sidebar; historical replays do not open automatically, and background sessions will not hijack the current right sidebar.
Session-Level Catalog & Comparison¶
- Click “Charts” on the session title bar, or “Add to Comparison” on a tool card, to open the chart collection for the current session.
- Select multiple charts to enable adaptive, vertical, or side-by-side layouts; timelines support bottom sliders or mouse wheel zooming.
- “Back to Tool Card” beneath a chart expands the native collapsible group and locates the corresponding invocation; “Source Record” allows viewing the Call ID, Event Sequence, Root Call ID (if applicable), and raw data.
- If prompted that history is not fully loaded, click “Load Older Charts” to load forward via the formal session pagination interface; large sessions may take a significant amount of time.
Supported Views (kind)¶
| kind | Usage | Key Data Fields |
|---|---|---|
timeline |
Timelines / Swimlane Gantt, storyboards, and schedules | items[]: label, start, end, group, note |
network |
Relationship networks | nodes[], edges[] |
calendar |
Calendar heatmaps | items[]: date, value |
echarts |
Native ECharts | JSON option |
gallery |
Image galleries | images[] (Browser-accessible image URLs) |
Time fields support pure seconds, "0:05", "1:02:03", ISO, or date strings.
Installation & Activation¶
For the desktop version, use the Plugin Manager within the Electron app. The installation address is as follows (original source, including version anchor):
https://github.com/leolee9086/dsh-viz#v0.2.1
For non-desktop profiles, use the official CLI, replacing <name> with the corresponding profile name:
dsh plugin --profile <name> add 'https://github.com/leolee9086/dsh-viz#v0.2.1'
Do not manually run pnpm add or modify combinations in the profile directory to replace the manager; desktop profiles are managed by Electron, and the CLI will reject operations. Refresh the page after installation; if the manager requires a reload or restart, follow its prompts. The repository includes build artifacts, so users do not need to compile the client themselves.
The plugin runs under DSH process permissions; it is recommended to review the source code and MIT license before installation to ensure compliance with your environment policies.
Typical Usage¶
The agent or tool side calls viz_show, passing kind and corresponding fields. Below is a timeline storyboard example (consistent with the README):
{
"kind": "timeline",
"title": "分镜排期",
"items": [
{ "label": "S01", "start": "0:00", "end": "0:05", "group": "场一", "note": "近景" },
{ "label": "S02", "start": "0:05", "end": "0:10", "group": "场一", "note": "切到中景" }
]
}
Following the steps above, a complete timeline will be rendered within the tool card; new successful invocations will also open the right sidebar according to the rules. For comparison, enter the collection from the title bar or tool card and select a multi-select layout. The same applies to relationship networks, calendars, ECharts option, and gallery URLs; fields must conform to the conventions in the table above.
Data Lifecycle & Boundaries¶
- Failed records are retained but do not trigger automatic right sidebar opening; replacement or pagination补页 records are not treated as new results.
- Event subscriptions are bound to the session: hiding tool groups or unloading inline cards does not affect already opened right sidebar charts; after refresh or session release, the catalog is restored from logs, with the latest chart selected by default.
- The client loads history on-demand; this does not mean stuffing all history back into the model context. Tool arguments are traceable, but this does not mean they permanently remain in the model’s active context after compression.
- Charts are read-only: you can zoom, hover, and compare, but cannot directly edit raw invocation data.
- Local images must first be converted to browser-accessible URLs;
optiondoes not accept executable JavaScript callback strings. - Selecting many complex charts simultaneously increases browser memory and rendering costs; reduce selections or switch to a vertical layout.
- “Back to Tool Card” relies on a compatibility bridge aligned with the host (e.g.,
data-chat-call-id,beforematch); if the seam changes after a host upgrade, the jump back may explicitly fail. The README notes thatv0.2.1has passed some logic/static tests and builds, but the actual click-back jump after installation still requires acceptance verification; plugin manager installation, formal slot mounting, and cross-session behavior also need to be verified by yourself after installation.
Conclusion¶
If you wish to transform timelines, relationship networks, calendars, and ECharts from “readable JSON” into “comparable charts” within DSH sessions, dsh-viz provides a complete pathway with viz_show and a dual-location UI. For more details, refer to the GitHub README and the SkillHub Directory Page. The DSH ecosystem emphasizes “Everything is a Plugin”; the community directory is an independent site and has no official affiliation with DeepSeek / High-Flyer.