Pin any question/answer pair from a DSH conversation into a per-session floating quick-reference list, with draggable placement, one-line previews, a configurable limit, and a full-text overlay.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-floating-qa
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:a410702849/dsh-floating-qa
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
This plugin publishes its README in Chinese only.
悬浮问答:把对话里的任意一条「问题 + 回答」钉到 DSH 对话界面上,形成一个长期悬浮、可拖拽的速查小列表。适合在长会话里反复查阅同一个结论、配置或代码片段。
Floating Q&A for DeepSeek Harness: pin any question/answer pair as a draggable, always-available quick-reference list over the conversation.
功能
- 在已完成的助手回答操作行点击图钉,即可收藏该条问答。
- 悬浮面板默认贴紧左侧栏右边线、位于会话顶部菜单下方,可拖拽并记住位置。
- 问题、回答各显示一行,超出省略;点击条目弹出遮罩层查看全文,回答中的 Markdown 会按主对话样式渲染,代码块带复制按钮。
- 左右边框都可以拖动调整宽度,最小 130px,最大不超过桌面窗口宽度。
- 默认最多 3 条,可在齿轮设置中调整到 1–20 条。
- 列表默认约三组问答高度,超出后在面板内滚动。
- 每个会话独立维护悬浮列表、设置展开状态;切换会话不会串数据。
- 「取消所有悬浮」只清空当前会话。
- 不修改对话数据,只注册两个客户端 UI 槽位。
安装
在 DSH 插件市场搜索 dsh-floating-qa 安装。
首次安装后,请刷新 DSH 桌面端页面或重启 DeepSeek Harness,让客户端插件生效。
本地开发时,也可以通过 DSH 的 bundle 安装入口选择本目录。
使用
- 在任意一条已完成的助手回答下方,点击操作行里的图钉按钮。
- 对话左上角会出现「悬浮问答」面板。
- 拖动标题栏移动位置;拖动左右边框调整宽度。
- 点击条目查看完整问答(Markdown 会正常排版);按
Esc、点击遮罩或「关闭」退出。 - 打开齿轮可调整最多条数;「取消所有悬浮」只清空当前会话。
数据与权限
- 悬浮条目保存在浏览器
localStorage:dsh.floating-qa.v1。 - 面板位置和宽度保存在:
dsh.floating-qa.position.v1。 - 插件只读取当前会话中已渲染的消息文本,用于生成悬浮条目;不上传任何数据。
- 不写入对话历史,不调用外部网络接口。
兼容性
- 目标平台:DeepSeek Harness 桌面端 Web 客户端。
- 注册槽位:
conversation.chat.assistant-actions、shell.overlay。 - 使用 DSH 客户端主题变量,跟随明暗主题。
开发与打包
npm pack --dry-run
npm pack
检查生成的 tarball 只包含 index.js、client.js、cordis.patch.yml、locale/、docs/、icon.svg、README.md、LICENSE。
许可证
MIT。见 LICENSE。
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10645
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 10645
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 8283
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7472
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
omdsh-dev/DSH-better-sidebar★ 5336
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
omdsh-dev/dsh-genui★ 1060
Interactive UI components rendered inline in replies: layout, charts, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.