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.
Install
# from npm (prebuilt)
dsh plugin --profile web add @eduwork/dsh-side-chat
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:ECNU/EduWork#path:/packages/dsh-side-chat
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
简体中文 | English
Open a temporary side chat from a user message or completed assistant answer using the shared conversation components in the native right sidebar. Side chats inherit source history as model context through the standard seed fork mechanism; the UI hides inherited messages and shows only side-chat content.
Closing stops generation and archives through DSH's public Workspace API. Durable history and Workspace membership remain available for viewing or restoration as an ordinary conversation, including inherited source history. Switching conversations, collapsing the panel, hiding the window and inactivity do not end it. Refresh and window exit request archival; forced termination may leave an unarchived ordinary conversation. Draft restoration is not guaranteed. File changes and external actions are not undone.
Each main conversation can retain multiple side chats, each with a fixed snapshot of its source history. A reference goes to the focused side chat if its snapshot covers the selection; otherwise the first eligible chat in creation order is used, or a new snapshot is created. Live selections use a captured visible-text snapshot as quoted context; above 100,000 characters only the selection and nearby context are retained and a fresh side chat is created. Switching restores each chat, its messages, draft and annotations. Promotion, nested branching, subagents, scheduled tasks and long-lived background work are unsupported. Tools follow the new session's permissions, and generation follows global concurrency rules.
In EduWork, conversations created as side chats do not send completion or failure notifications, including after archival and restoration as ordinary conversations. Approval requests and questions that need user input still notify.
Installation and usage
Add @eduwork/dsh-side-chat on the Plugins page of a compatible DSH client, then enable it. The plugin requires the session, Workspace archiving and right-sidebar APIs in DSH >=0.2.1-rc.3 <0.3.0-0; this version is verified against the official 0.2.1-rc.3 Runtime.
- Below a user message or a completed assistant response in the main conversation, click Open side chat.
- Enter a question in the right pane. The side chat inherits a history snapshot through that message and continues independently.
- Closing the side chat stops generation and archives it. Collapsing the sidebar does not close it.
With @eduwork/dsh-annotation >=0.1.1 <0.2.0, the same selection toolbar also offers Ask in side chat. The excerpt enters the side composer's draft as an annotation that can be edited, removed or combined with more excerpts before sending. Intermediate and streaming assistant text can also seed side-chat questions; ordinary annotations still target completed final responses.
Annotation is an optional companion package; install and enable it separately. Without it, the message action still opens side chats. Disabling side chat leaves annotation working independently. Both plugins can be enabled or disabled separately in the plugin manager.
Architecture
This cordis plugin does not modify Runtime or UI bundles. Closing calls workspaceRegistry.archiveSession without inspecting or deleting backend files. Hiding inherited history still depends on native DOM markers. The host must provide the Workspace archive service.
- Host (
src/index.js+src/service.js): creates seeded sessions via the standardagents.create({ seed })API;/api/eduwork/side-chatmanages creation, ownership and cleanup - Client (
src/client/): registers sidebar tab, resource protocol, message action buttons; hides inherited messages via DOM - Boundary (
src/boundary.js): system prompt constraints and tool interception
Local development
npm ci
npm run build
npm test
Run these commands in this package directory. See the side chat proposal for product behavior.
Links
More in this category
ranxianglei/billion-context★ 8445
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★ 4756
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★ 750
Visual, non-linear conversation workspace for DeepSeek Harness — sessions, follow-ups and branches become a browsable conversation map.
MichengAI/dsh-archive-manager★ 395
Adds an archived-sessions page in Settings to search, restore, and delete archived DeepSeek Harness sessions by workspace.
Nwflower/dsh-chat-import★ 330
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.
SiriLee/dsh-rewind★ 304
Conversation rewind: one click back to any earlier user message, in the same window — no new branch, no leftover copy; the target message is refilled into the composer, with optional workspace-file restore — the full Claude Code /rewind semantics.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.