deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
English | 中文
A plugin for the dsh web GUI that adds a focus chat tab — a condensed, Claude Code–style way to read a conversation.
| Off — the normal chat view | On — the focus chat view |
|---|---|
![]() |
![]() |
Instead of watching every step live, one assistant turn collapses into a single summary line:
Thought for 36s, loaded 3 context items, ran 2 shell commands, edited 8 files, read 17 files, listed 18 directories
…and the whole turn can fold into one Worked for Xm Ys line. Click any line to expand the full detail — tool cards, thinking, context injections, produced files, copy/fork actions — all drawn the same way as the normal chat rows. Your mid-turn interjections split the fold into per-stretch lines, each carrying its own duration, and a stopped turn reads Stopped after X instead of "worked". A background-task settlement — a tool-jobs notice injection like bash pnpm install [status: completed] — classifies into the summary line's N background jobs segment instead of riding it as a verbatim injected … account; expanding the line still shows the full notice body. File operations (edits / reads) never carry a failure tally on the summary line — edited N files reads the outcome — only command execution and other tools annotate failures.
Switch to it whenever you want the "what happened?" view, and flip back for the full transcript.
# Install from npm (requires dsh >= 0.1.0-rc.6)
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 plugin behaves like adding a dependency to your web profile. A bundle plugin is loaded once its full package name appears in the profile's dsh.profile.bundles list (adds automatically on recent dsh builds; add it manually if your build does not); the bundle patch applies on the next boot.node --import tsx/esm apps/cli/src/bin.ts ...).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:
conversation.chat.node, tool.call.toolview, and conversation.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.conversation.view list 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.
Focus chat is a faithful reading surface, not a second chat view:
yarn run build — builds the browser bundle and the Node half.src/client/focus-model.ts — the pure logic (folding, merging, row models); src/client/FocusView.tsx — the view.yarn test — behavior tests; yarn run typecheck — type gate.--dev dsh web server hot-reloads rebuilt bundles — yarn run build alone is usually enough to see changes.None. The view is a pure client derivation over the already-logged conversation snapshot; nothing here reaches a model request.
None; this package neither assembles nor sends provider requests.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。