DeepSeek Harness plugin

dsh-sidechat-gyixuan

DSH web plugin: Codex-style side chat (fork the current session into a persistent side panel) + selection annotations with numbered badges and a composer chip. A thin consumer of dsh-better-sidebar.

Jump to install

Source facts

Repository
g-yixuan/dsh-sidechat
Latest update
Aug 19, 2026
Category
Memory
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/g-yixuan/dsh-sidechat
Plugin: dsh-sidechat-gyixuan
Author: g-yixuan

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README_EN.mdSource · read only
README language

dsh-sidechat

A DSH (DeepSeek Harness) web plugin: Codex-style side chat and selection annotations. A thin consumer of dsh-better-sidebar, registering its sidebar tabs through the ctx.betterSidebar service.

English · 中文

Features

💬 Side chat

Fork the current main session (full history snapshot) into an independent side session that lives in a「侧边」tab of the right sidebar — keep the main thread moving while you chase side questions:

  • Open from the sidebar + menu →「侧边聊天」, or the /side slash command;
  • The fork carries the full main-session context at fork time; afterwards the two sessions evolve independently;
  • Multiple side chats coexist («侧边», «侧边 2», …), each closable on its own;
  • The model follows the main session's current selection (synced at fork);
  • Persistent: restored with the layout across reloads/restarts; hidden from the session list (archived); only closing the tab removes it from the UI.

![Side chat panel](docs/assets/04-side-chat-panel.png)

🗒️ Selection annotations

Select text in an assistant message and turn "quote + your note" into context for the model:

  • Add to conversation: the selection stays highlighted with a blue numbered badge, an annotation editor pops up (notes optional); the composer shows an「N 条注释」chip, and all live annotations ride along with your next message;
  • Ask in side chat: after the note editor, the quote + note lands straight in a side chat's composer;
  • Click a badge to reopen the editor (edit/delete); numbers follow creation order and are never re-packed on delete; page-level lifecycle (gone on reload).
Selection popoverAnnotation editorBadge + chip
![selection popover](docs/assets/01-selection-popover.png)![annotation editor](docs/assets/02-annotation-editor.png)![badge and chip](docs/assets/03-badge-and-chip.png)

Install

Prerequisite: dsh-better-sidebar installed (hard peer dependency).

dsh plugin --profile web add dsh-sidechat

For local development: dsh plugin --profile web add link:<path-to-this-repo> (client changes hot-reload; host changes need a dsh web restart).

Design notes

  • Real fork, no compression: a side chat is a real DSH session (full-history fork) with the same powers as the main session (tool calls, deeper dives, re-forking) — not a "compress-to-summary one-shot Q&A".
  • List hygiene: side sessions are archived out of the session list — the list stays clean.
  • Accumulating annotation workflow: multiple selections stack up as multiple annotations — edit, delete, and send them together; not a one-shot single quote.

Development

CommandWhat it does
pnpm typechecktsc --noEmit
pnpm testvitest pure-function unit tests
pnpm buildtype declarations + tsdown (host ESM + client CJS bundle, purity gate)
pnpm test:mountmount smoke: scratch profile + fabricated session jsonl + real dsh web + Playwright journey lanes (set BS_VERSION to test against a different better-sidebar version)

License

MIT