dsh-focus-chat
Manifest valid★ 21为 Deepseek Harness 提供新的「聚焦会话」精简会话视图,更轻松易于阅读,只关注最终产出结果。
dsh-focus-chat
English | 中文
A plugin for the dsh web GUI that adds a focus chat tab — a condensed, Claude Code–style way to read a conversation.
Screenshots
| Off — the normal chat view | On — the focus chat view |
| --- | --- |
|
|
|
| Settings |
|
|
Instead of watching every step live, one assistant turn collapses into a single summary line:
Thought for 36s, edited 8 files, read 17 files, listed 18 directories, ran 2 shell commands, loaded 3 context items
A whole turn can fold further into one Worked for Xm Ys line — expanding it draws the full detail (tool cards, thinking, context, produced files, copy/fork) exactly like the chat rows; mid-turn interjections split the fold into per-stretch lines, and a stopped turn reads Stopped after X. After a refresh the whole conversation shows up folded: every turn beyond the ~50-message window renders from a Host-side index as "user message + worked-for line + the assistant's actual closing reply", and its process detail loads only when that fold expands. Very long histories page the fold stack via "Load earlier turns"; a missing index silently degrades to the in-window folds.
Switch to it whenever you want the "what happened?" view, and flip back for the full transcript.
Install
# Install from npm (requires dsh >= 0.1.5-rc.1)
dsh plugin --profile web add @dingyi222666/dsh-focus-chat
# Restart dsh web; the tab mounts automatically
dsh web
Then open the Focus chat tab in any conversation.
Notes:
dsh pluginbehaves like adding a dependency to your web profile. A bundle plugin is loaded once its full package name appears in the profile'sdsh.profile.bundleslist (adds automatically on recent dsh builds; add it manually if your build does not); the bundle patch applies on the next boot.- With the repo source-launched CLI, run the args through the bin directly (
node --import tsx/esm apps/cli/src/bin.ts ...).
Why a separate tab, and not a patch into the chat view?
Short answer: the chat view's internals aren't open to third-party plugins — by design — and this plugin deliberately never touches dsh's own source. Concretely:
- Keyed slots are owned, not shared. The chat's rows render through slots like
conversation.chat.node,tool.call.toolview, andconversation.chat.turnTail. Those slots are declared by the chat entries themselves, and the slot system rejects a second declaration at load time — the conflict is the design speaking. A plugin cannot insert its own rows into the chat transcript, and cannot even declare the chat's own slots. - Plugins can't reuse the chat's renderer code. Importing values from another plugin package across the bundle boundary is forbidden (the bundle purity gate), so there's no way to borrow the chat's components — every row has to be drawn from the shared primitives and the public snapshot.
- The only legal insertion point is the
conversation.viewlist slot — the whole message surface. That's why the plugin ships its own complete view instead of changing how the chat view displays.
If you want the chat view itself to behave differently, that's an in-repo change to the chat package — exactly what this plugin avoids.
What's missing
Focus chat is a faithful reading surface, not a second chat view:
- Inspect focuses the trajectory view. A tool row's Inspect action opens the official trajectory view on that call (
openView('trajectory', callId)) — the 0.1.5 replacement for the removed details panel. Focus cannot render third-party keyed tool views (see the next bullet). - Third-party tool-card extensions don't render here. Cards that other plugins add to the chat view won't appear in the focus view; the built-in card renderers are used instead.
- Folding is per consecutive tool-run. Any visible content between two runs (a reply, a command, your interjection) keeps them separate.
- Inline file links need the optional file-mentions service — the same off switch the chat view uses.
- Remote fold lines lack a few window-only readings. The turn navigator rail lists window turns only; remote turns render no produced-file list (the ui-deliverables turn data), no inline file mentions, and their closing reply cannot fork (branching stays available on window turns). Per-message feedback (like/dislike) is unaffected.
Development
This build targets the dsh v0.1.5-rc.1 client surface, and every
@deepseek-ai/*runtime dependency installs from the npm registry (seepackage.json). The/cliententries those packages ship arewindow.__ModuleLoader__browser closures, and the dsh test runtime is built against the source tree, soyarn testresolves the@deepseek-aiclient surface from the dsh mainline source checkout at the same 0.1.5-rc.1 line:vitest.config.tsderives its aliases from that checkout's own tsconfig path map (theMAINLINEconstant in the config) — keep the checkout on the 0.1.5-rc.1 release and everything else stays npm-installed.
yarn run build— builds the browser bundle and the Node half.src/client/model/— the pure logic (folding, merging, row models, the remote turn-slice projection);src/client/view/FocusView.tsx— the view;src/host/— the host half's turn index and RPC channel;src/protocol.ts— the wire contract shared by both halves.yarn test— behavior tests;yarn run typecheck— type gate.- A
--devdsh webserver hot-reloads rebuilt bundles —yarn run buildalone is usually enough to see changes.
Model Experience
None. The view is a pure client derivation over the already-logged conversation snapshot; nothing here reaches a model request.
KV Cache effect
None; this package neither assembles nor sends provider requests.
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
| 0.1.1 | — | — |
| 0.1.2 | — | — |
| 0.1.4 | — | — |
| 0.1.5 | — | — |
| 0.1.7 | — | — |
| 0.1.8 | — | — |
| 0.1.9 | — | — |
| 0.1.10 | — | — |
| 0.1.11 | — | — |
| 0.1.12 | — | — |
| 0.1.13 | — | — |
| 0.2.6 | — | — |
| 0.2.9 | — | — |
| 0.2.10 | — | — |
| 0.2.13 | — | — |
| 0.3.0 | — | — |
| 0.5.0 | — | — |
| 0.7.9 | — | — |
| 0.7.10 | — | — |
Similar plugins
by xmuwenxiang
Deepseek Harness插件,可以直接在Deepseek Harness中使用网页版deepseek进行聊天,并将聊天过程直接迁移到Deepseek Harness进一步进行开发。主要目的是节省前期方案讨论时的token
★ 10
↓ 72/wk
Apache-2.0
TypeScript
Sep 7, 2026
dsh plugin --profile web add dsh-webchatby afoxsss
会话地图(Conversation Minimap)—— DeepSeek Harness (dsh) Web 客户端插件。
★ 3
MIT
TypeScript
Sep 13, 2026
dsh plugin --profile web add dsh-conversation-mapby omdsh-dev
将多个 DeepSeek Harness 对话融合为一个可继续的会话,支持 Agent 智能剪枝、话题分组、内容排序和界面操作
★ 3
MIT
TypeScript
Aug 14, 2026
dsh plugin --profile web add @deepseek-ai/dsh-fusionby lingchunya
为 DeepSeek Harness 提供 Codex 风格工作区会话绑定、会话顶部快捷归档及已归档会话管理中心
★ 0
MIT
TypeScript
Sep 9, 2026
dsh plugin --profile web add dsh-workspace-enhanceby awol2005ex3
DeepSeek Harness(`dsh`)插件:为单机的 harness 增加**用户管理**与**会话按用户隔离**。
★ 0
Apache-2.0
TypeScript
Aug 31, 2026
dsh plugin --profile web add dsh-user-managerby drscrewdriver
给 DeepSeek Harness 侧边栏加一个会话内容检索——标题/内容一键切换,还能按用户/回复/工具筛选
★ 3
MIT
TypeScript
Sep 13, 2026
dsh plugin --profile web add dsh-session-search-toggle