iptton-ai/dsh-plugin-session-notes 预览 preview

iptton-ai/dsh-plugin-session-notes

Plugin插件 Native原生 ⭐ 2 MIT Sessions & Context会话与上下文

Highlight & annotate DeepSeek Harness (DSH) conversations with sticky notes — dynamic Cordis plugin

Project Overview项目介绍

This is a DSH-native plugin that adds highlighted sticky note functionality to DeepSeek Harness conversation sessions. It allows users to select any text across bold formatting, inline code, and paragraph boundaries in existing messages, then attach a custom note to the highlighted selection. It offers two installation methods: a permanent resident plugin added to your DSH web profile that persists across restarts, and a dynamic Cordis package that can be loaded without any build steps or npm. The dynamic method is great for first-time users who want to test the plugin without modifying their permanent DSH configuration.

After installation, the basic workflow is straightforward: select any text in an existing conversation message, click the floating “add note” button that appears, type your note, and save. All notes are stored in a filterable right-side panel where you can toggle between viewing all notes, only notes from the current session, or only notes from the current workspace directory. Clicking any existing highlight opens a read-only popup for quick viewing, and you can append any note plus its original source text directly to the DSH composer with one click. This plugin is ideal for users who need to track key points across long DSH conversations and revisit or follow up on prior discussions.

All notes are stored as plain JSON in the file path ~/.dsh/storages/session-notes/notes.json, so they persist across DSH restarts and app updates. The plugin uses the CSS Custom Highlight API to create highlights without modifying the DOM, which makes it safe for React re-renders; older browsers that do not support this API automatically fall back to wrapping highlights in <mark> tags. Dynamic installations of the plugin only last for the lifetime of the current DSH web process, so you will need to reload it after a DSH restart, but your stored notes will not be lost. The plugin is released under the MIT license, and it only accesses its own storage file, so it never touches other DSH or user files.

Session Notes 是专为 DeepSeek Harness (DSH) 开发的原生会话划线便签插件,支持用户在DSH会话消息中选中任意文本(可跨加粗、行内代码、段落边界)添加自定义便签,选中文本会保留持久的黄色高亮。所有便签统一收纳在右侧面板,支持按当前会话、当前工作目录、全局三个范围筛选,插件提供常驻配置和动态加载两种安装方式。

用户使用时,只需选中想要批注的会话文本,点击浮动的记便签按钮输入内容即可完成创建。需要回顾或追问便签内容时,可以在右侧面板筛选找到对应便签,一键将便签和原文引用追加到当前输入框继续对话。它适合需要在长对话中记录关键信息、整理思路、后续追问特定内容的DSH用户。

便签数据以纯JSON格式持久化存储在用户本地~/.dsh/storages/session-notes/notes.json路径,跨DSH重启保留,插件使用CSS Custom Highlight API实现零DOM修改高亮,不支持该API的浏览器会自动回退到<mark>标签包裹方案。插件遵循MIT开源协议,动态安装的插件会随DSH重启失效,需重新加载,但存储数据不会丢失。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:iptton-ai/dsh-plugin-session-notes

把 iptton-ai/dsh-plugin-session-notes 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

Session Notes — DSH 会话划线便签插件

Unofficial project, independently developed and maintained by community members. 非官方项目,由社区成员独立开发和维护。

English · 中文说明

Highlight any sentence in your DeepSeek Harness (DSH) conversation, attach a sticky note to it, and keep all notes in a right-side panel — filterable by current workspace (directory) or current session. Notes persist across restarts and can be sent straight back into the composer.

在 DeepSeek Harness (DSH) 的会话消息中选中任意句子划线并记一张小便签;右侧面板聚合展示全部便签,支持按当前目录 / 本会话过滤;便签跨重启持久化,还可一键发送到对话框继续追问。

screenshot: highlight + notes panel

Features

  • ✍️ Highlight & annotate — select any text in a message (across bold/code/paragraph boundaries), click the floating 📝 记便签 button, write your note. The selection gets a persistent yellow highlight (CSS Custom Highlight API — zero DOM mutation, React-safe).
  • 🗂 Three scopes — every note belongs to this session, this workspace (directory), or global (whole DSH). Create, edit and delete in the panel; scoped notes are visible from any session of that scope.
  • 🔍 Filterable panel — toggle between All / current directory / current session, with live counts.
  • 📤 Send to composer — append a note (content + quoted source) to the current input draft, ready to send.
  • 👀 View-first popup — clicking a highlight opens the note read-only; editing is an explicit action.
  • 🔄 Self-healing highlights — MutationObserver + 5s reconciliation re-apply highlights after re-renders, virtualization, or pagination.
  • 💾 Durable storage — plain JSON at ~/.dsh/storages/session-notes/notes.json; fs-service write with shell fallback, serialized queue.

Install

Two forms are supported: A. resident profile plugin(常驻,重启后仍在,推荐)and B. dynamic cordis package(动态,免装即用,重启即失)。

A. Resident — profile bundle (recommended)

This package declares dsh.bundle.patch (→ cordis.patch.yml) in its package.json. That declaration is what makes DSH treat it as a manageable profile bundle rather than a plain dependency — without it, installation ends with "this package declares no bundle, so it cannot be managed as a plugin".

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-lan-access 下一个 Next dsh-deepseek-monitor →