Pular para o conteúdo principal
Y

dsh-plugin-marginalia

yangdw2024/dsh-plugin-marginalia

Marginalia: Ask side-channel questions about the main conversation or send prompts directly from the right sidebar.

Instalar

dsh plugin --profile web add github:yangdw2024/dsh-plugin-marginalia

README

Marginalia (dsh-plugin-marginalia)

旁注对话 · Marginalia — A DeepSeek Harness (DSH) right-sidebar plugin that embeds a full native side-channel conversation synced with your active main thread, without cluttering the left workspace sidebar.

Features

  • Right-Sidebar & Header Quick-Launch: Open Marginalia / 旁注对话 from the session header utility icon (conversation.session.header.utilities) or from the right sidebar's Guide tab (sidebar.right.pane.tab).
  • 100% Native DSH Composer & Chat: Runs a dedicated DSH session inside the right sidebar with full support for + file/image uploads, / skills & commands, @ mentions, permission presets, model & reasoning effort selection, tool calls, and streaming Markdown.
  • Zero Left-Sidebar Pollution: Side sessions use isolated marginalia-* identifiers without attaching to any workspace and are filtered from the left sidebar tree.
  • Live Main-Context Sync: Dynamically injects the latest main-conversation transcript into the side session's runtime prompt context on every turn.
  • Text-Selection Floating Bar: Select any text in the main conversation to pop up Add to chat / 添加到对话 or Ask in side chat / 在侧边聊天中提问, inserting native quote chips (insertQuote) into the target composer.

Installation

1. From DSH Plugin Manager (npm)

Install dsh-plugin-marginalia in DSH Plugins → Add plugin, or via a DSH Plugin Market index.

2. From DSH Plugin Market (Discover)

Add the format-1 market index URL in DSH Plugins → Discover → Indexes:

https://raw.githubusercontent.com/yangdw2024/dsh-plugin-marginalia/main/market-index.example.json

3. From Local Checkout

In DSH Plugins → Add plugin → choose the dsh-plugin-marginalia directory, then restart DSH to load the Host endpoint (index.js).

Plugins relacionados