Preface¶
A conversation in DeepSeek Harness (DSH) typically appears in the UI as a vertically scrolling message stream. While streaming is convenient for reading, the structure is often unintuitive: it is hard to spot at a glance which sentence represents your intent, which paragraph is the model’s judgment, which tool call actually modified a file, or in which round you changed your mind.
The following introduces the community client plugin dsh-canvas (repository qiuyiwu1989-star/dsh-canvas). It adds a Canvas tab to the session view ring, rendering the current session as a draggable, zoomable card map. Each card carries the underlying anchorSeq, facilitating traceability to the corresponding line in the conversation.
What is this¶
- Name: dsh-canvas (also referred to as “Thinking Canvas for DeepSeek Harness” in the README)
- Maintainer: qiuyiwu1989-star (package.json author: qiuyiwu)
- Category: Client-side (browser-only; the host half is a shell that does not register Tools to the model or write prompts)
- Version (package.json): 0.1.0, License MIT
- Directory Page: SkillHub Plugin Page
The plugin injects @deepseek-ai/dsh-client-ui-conversation to mount the Canvas view within the conversation interface. The DSH ecosystem advocates “plugins for everything”; SkillHub and similar platforms serve as community directories and have no official affiliation with DeepSeek or High-Flyer.
Core Features¶
Conversation → Card Map¶
Open any conversation and select Canvas from the tabs above the dialogue. The canvas categorizes content based on “who contributed this,” rather than the wire shape of the event:
| Role | Meaning in Conversation |
|---|---|
| My intent | Messages you send |
| My choice | Steering/corrections injected while the model is working |
| AI contribution | A step by the assistant (reasoning content is placed in card details) |
| Tool action | Tool calls, with the tool name as the title |
| Result | At the end of a round |
| Context | Injected context and system prompts |
| System | Compaction, retries, process folding, etc. |
| Error | Round errors and token limits |
| Other | Event types not recognized by the canvas |
Each card is clickable to view details on the right (full text, turn, step, seq); the anchorSeq on the card corresponds to the session record. v0.1 does not yet support jumping back to the conversation from the canvas; you need to locate the entry manually based on turn / step / seq.
Interaction and Export¶
| Operation | Method |
|---|---|
| Pan | Drag in the blank area |
| Zoom | Mouse wheel (centered on cursor), or toolbar − / + |
| Fit View | Toolbar Fit |
| Select Card | + on the card, or Add to selection in the detail panel |
| Search | Toolbar search box; Dim others / Hide others control non-matching items |
| Filter by Role | Click a role chip to include; click again to exclude; All resets |
| Move Card | Drag the card; position is saved locally per session |
| Clear | Esc |
| Export | Tray: Export selection as traceable Markdown, or entire canvas as JSON |
Empty Session Example¶
When there is no content to render, the canvas displays a fictional example of five cards (a neighborhood reading club sign-up page, from intent to delivery). The README clearly states the sample data is fictional; see examples/sample-canvas.json in the repository.
State and Boundaries¶
- Read-only: Reads session snapshots; does not write to the session, touch files, call models, or make network requests.
- Current Loaded Window Only: Similar to Chat and Trajectory, it only reflects the session window loaded by the client; earlier history only appears on the canvas after being loaded in the conversation.
- Local State (browser
localStorage, not uploaded): dsh-canvas:view:<sessionId>: Pan and zoomdsh-canvas:layout:<sessionId>: Card positions after dragging
Clearing these keys restores the default layout; the canvas remains usable in private mode or when storage is full, but will not remember layout changes.
Installation and Activation¶
Installation command (from README):
dsh plugin --profile <your profile> add github:qiuyiwu1989-star/dsh-canvas
Notes:
dsh pluginforwards to pnpm within the profile directory and reconcilesdsh.profile.bundlesagainst installed packages; this package declaresdsh.bundleand will automatically enter the bundle layer list.- Restart the app after installation—the profile is read at startup.
- The profile name is the one used at startup:
dsh webcorresponds toweb; for custom startups, use the name passed in. If unsure, check the most recently written directory under$DSH_HOME/profiles/. - This repository has no
preparescript or build step;lib/is the source code, generally no additional permission is needed inallowBuildsofpnpm-workspace.yaml.
Uninstallation:
dsh plugin --profile <your profile> remove dsh-canvas
Manual mount patch (optional):
dsh web --patch /path/to/dsh-canvas/cordis.patch.yml
If installation is successful, the host side scans for plugins during the client startup graph. After starting once, if a line similar to the following appears in the page, it indicates the plugin is integrated:
{
"id": "dsh-canvas",
"url": "/plugins/??dsh-canvas/client.js&rev=...",
"inject": ["@deepseek-ai/dsh-client-ui-conversation"]
}
Typical Usage¶
- Install the plugin for the profile you are using via the command above and restart DSH Web (or your custom startup method).
- Open a session with existing records and switch to the Canvas tab.
- Use pan, zoom, and Fit to browse the overall structure; click cards to read details, and use role chips or the search box to narrow down the scope.
- When archiving is needed, export the selected Markdown (with traceability) or the entire canvas JSON from the tray.
- If you need to compare with the original conversation text, use the turn / step / seq in the details to find it back in the Chat stream (v0.1 has no reverse jump).
Use Cases and Cautions¶
Suitable for: Developers and agent users who need to review long session structures in DSH, distinguish intent / tools / results, or export traceable summaries.
Cautions:
- The plugin runs within the current DSH client process and browser environment; it is recommended to read the GitHub Source Code and the MIT license before installation to ensure compliance with your security and compliance requirements.
- The canvas does not fetch unloaded history or modify conversation content; the model side cannot see this plugin.
- Zero npm dependencies at runtime; Node engine requirement (package.json):
^22.19.0 || >=24(primarily affects local test running, not a mandatory requirement for end-users).
Conclusion¶
dsh-canvas transforms the DSH session from a vertical stream into a scalable, filterable, and exportable card map, pinning visual nodes back to the conversation record using anchorSeq. If you see this plugin on SkillHub or GitHub, you can install it to the corresponding profile as per the README and use the Canvas tab directly in the session.
- Directory Page: https://www.skillhub.cn/plugins/qiuyiwu1989-star/dsh-canvas
- GitHub: https://github.com/qiuyiwu1989-star/dsh-canvas