Folds each session's event stream into a card-chain canvas with memory, calls and outputs views; bilingual UI and no model calls on the chat path. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:liangchen-h/dsh-lcstation
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
LC Station · DSH Workstation
中文 · English
A local workstation for DeepSeek Harness: the session event stream folded into a card-chain canvas, plus memory, calls and outputs panes. Everything runs on your machine; the chat path itself never calls a model.

A 16-second demo — canvas / calls / outputs, no voice-over, captions and easing only. Click to play the mp4.
What it is
Every turn in DSH produces events: user messages, model replies, tool calls, file writes, subagents, compaction. They sit scattered in the chat bubbles, so you cannot see what a turn actually did. LC Station folds them into one card per turn, then links the turns that belong to the same piece of work into a task chain and lays them out on a canvas you can pan and zoom.
Three side views come with it:
| View | What it does |
|---|---|
| Canvas | Card chains, lanes, timeline, minimap; click a card for details, drag to pan, wheel to zoom |
| Memory | Read / edit / append cross-session memory files; what was injected this session, what was extracted, what subagents recorded |
| Calls | Plugins & bundles, skills and programs in three panes, each with its own search; toggle plugins, register programs |
| Outputs | Bounded directory scan, changes and pre-images by turn, batch cleanup of temp files, and the Final output list |

The whole panel speaks Chinese and English: the 中 / EN switch sits next to the view tabs
(top right of the Workstation page), and the choice is remembered in localStorage.
Conversation text inside the cards is never translated.
Final output (end marker)
Send 发送 / 结束 / /end as a message of its own, and a "Final output" block appears at the top of the Outputs view:
- the upper part is one sentence covering the whole conversation — what was actually produced — written by the model (one call per marker, cached to disk);
- the lower part is every file written across the conversation, de-duplicated, newest first, each with reveal / read / open.
If you would rather write that sentence yourself, put it after the marker: /end turn the login into a QR scan.
Text after the marker wins over the model.

Install
The plugin is a profile-local DSH plugin: drop it under the profile's local/ directory and the Loader picks it up.
# 1) clone into the profile (adjust the path to your DSH_HOME)
git clone https://github.com/liangchen-h/dsh-lcstation.git ~/.dsh/profiles/desktop/local/dsh-lcstation
# 2) make sure your profile's cordis config can load it (cordis.patch.yml at the repo root holds the insert line)
# 3) enable dsh-lcstation on the DSH Plugins page, or insert it in the profile's cordis.patch.yml
The repository root is the package itself; the directory under the profile is a deployed copy of it, actually loads. Sync them with:
LC_SRC=~/.dsh/profiles/desktop/local/dsh-lcstation node scripts/sync-plugin.mjs
Configuration
| Variable | Default | Purpose |
|---|---|---|
DEEPSEEK_API_KEY |
read from ~/.dsh/.credentials.yaml |
Used for chain judging and the final-output sentence |
LC_CHAIN_ENDPOINT |
https://api.deepseek.com/chat/completions |
Point at a relay if you use one |
LC_CHAIN_MODEL |
deepseek-chat |
Model used for judging |
LC_CHAIN_TIMEOUT |
45000 |
Chain judging timeout (ms) |
LC_SUMMARY_TIMEOUT |
40000 |
Final-output timeout (ms) |
LC_SRC / DSH_PROFILE |
— | Where sync-plugin.mjs finds the deployed directory |
Without a key the canvas still works: chains fall back to "turn order plus rule hints", and the final-output sentence falls back to the text you appended after the marker, or the first paragraph of the last reply.
How it works
DSH session events ──► cards.js ──► board (one band per turn, cards land on their band)
│
├─► chains.js ──► chain assignment (rules + model, cached on disk)
├─► memory.js ──► memory files / injection / extraction
├─► calls.js ──► plugins, skills, programs
└─► outputs.js ─► output scan, pre-image backup, rollback
│
client.js (canvas / memory / calls / outputs) ◄── /lc/* routes
- host half
lib/index.js: subscribes tosession/event, maintains the board, registers the/lc/*routes; - client half
lib/client.js: browser module, four views plus canvas rendering (no framework, plain DOM); - all state stays local:
.runtime/holds session caches, write logs, judging and summary caches;backups/holds pre-write copies.
Security model (read this)
This is a local developer tool. It assumes "whoever can reach this port is the local user". Open-sourced on that premise:
- Localhost only: the routes ride on DSH's web server, bound to
127.0.0.1. Never expose the DSH web port to a LAN or the internet — that hands over this machine's plugin switches, memory files and output directories. - No accounts: no login, no tokens. Every write (POST) requires
content-type: application/json, so another site forging requests with a form or a no-preflight fetch gets a 415 (the CSRF surface). - File operations are bounded:
/lc/file,/lc/outputs/retire*,/lc/outputs/restore,/lc/outputs/openall pass throughunderRoots()first and may only touch paths under the output roots; memory writes must also match a known memory filename. - Backup before write: memory edits, output retirement and rollback all copy to
backups/<stamp>/first and re-read to verify afterwards. - Program download allowlist:
/lc/rawonly serves programs already registered on the Calls page, and only with allowlisted extensions (.exe .cmd .bat .ps1 .com .lnk); anything else is 403. - Two places call a model: chain judging and the final-output sentence. What is sent is your own words plus
the first paragraph of the replies; no file contents, no paths. If that bothers you, delete the calls in
lib/chains.js/lib/summary.js, or simply do not configure a key.
Known limitations
- Only exercised on Windows with the DSH desktop build; path handling is win32 semantics (
underRoots,prettyPath). - The canvas is hand-drawn DOM; thousands of nodes cost noticeable CPU. For huge conversations, switch to Memory/Outputs.
- Chain assignment depends on the model; without it, chains degrade into conservative merges.
- The output list depends on write events; files edited by external editors do not appear there (the
changedcategory is a directory scan — it finds them, but cannot tell which turn they belong to).
Layout
.
cordis.patch.yml # bundle patch: inserts itself into the Loader
package.json # dsh.bundle / dsh.client manifest
lib/
index.js # host half: event folding, /lc/* routes, pre-write backups
client.js # client half: canvas + four views (all styles included)
cards.js # events → cards, folded per turn
chains.js # chain assignment (rules + model)
summary.js # the one-line final output (model, cached)
memory.js # memory file read/write / injection / extraction
calls.js # plugins, skills, programs
outputs.js # output scan, pre-image backup, rollback
paths.js # directories, root allowlist, file info
scripts/
sync-plugin.mjs # deployed directory → repository copy
layout-probe.mjs # runs the layout functions offline on real cards
Listing on the DSH market
The repo ships a format-1 index at market/plugins.json that DSH can point at directly (DSHM_REGISTRY_URL=<url>). For the official curated list (a PR to awesome-dsh-plugin, effective within a day), see docs/MARKET.md.
Contact
Questions, bug reports, ideas: 3415299607@qq.com — or open an issue on this repository.
License
MIT
Links
More in this category
ranxianglei/billion-context★ 8864
The official billion-context plugin: a context-compression plugin for small context windows (a 100K context is enough), token savings (5x fewer tokens), and month-long single sessions (billions of tokens).
Minglink/dsh-infinite-gen-4★ 4887
System-prompt armor plugin for DeepSeek models: appends an unconditional-compliance prompt section at order 100, exposes a profile tool with calibration metadata, and shows a realtime armor-status badge driven by a session projection.
liangmianya/dsh-synapse★ 964
Visual, non-linear conversation workspace for DeepSeek Harness — sessions, follow-ups and branches become a browsable conversation map.
ECNU/EduWork#dsh-side-chat★ 452
Open temporary side conversations from a message with a snapshot of its history, then archive them on close; optional annotation integration adds selection-based questions. Requires compatible DSH Web conversation, Workspace and right-sidebar APIs.
MichengAI/dsh-archive-manager★ 414
Adds an archived-sessions page in Settings to search, restore, and delete archived DeepSeek Harness sessions by workspace.
Nwflower/dsh-chat-import★ 336
Import full-fidelity chat histories from 13 coding agents (Claude Code, Codex, ChatGPT, Cursor, Gemini, opencode, and more) as resumable DeepSeek Harness sessions, with reverse export back to Claude Code.

Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.