dsh-bookmarks

10Star0Fork0Issue0Watching
机审证据安装命令仓库已核验dsh-plugin Topic许可证READMEAI 百科
语言
JavaScript
License
MIT
分支
main
bookmarkdeepseek-harnessdshdsh-pluginweb

安装

$ dsh plugin --profile web add github:penguin-oo/dsh-bookmarks

在终端中运行以上命令,通过 dsh CLI 安装此插件。可在右上角切换 Profile。 第一次用 dsh?看这篇新手教程

对话式安装

帮我安装 DeepSeek Harness 插件 penguin-oo/dsh-bookmarks:先查看仓库 https://github.com/penguin-oo/dsh-bookmarks 确认安全性,然后执行安装命令并验证插件加载成功。

把这段指令粘贴给 DSH Web GUI 里的助手,由它代你完成安装与验证。

Awesome DSH Plugin ci

Bookmark assistant replies in DeepSeek Harness (DSH) Web UI: bookmark any finalized assistant reply with a note and tags, browse every bookmark from every session in one center panel, and export them to Markdown in one click.

中文说明

Screenshots

Bookmark action on an assistant reply

The standalone bookmark center

Features

  • Per-message bookmark — an archive button on each finalized assistant reply (right next to the 👍/👎 feedback buttons), with an inline editor for a note and comma-separated tags.
  • Server-derived snippet — the bookmark stores a text preview of the actual reply, so the center stays useful even without a note.
  • Cross-session center — one panel listing bookmarks from all sessions and workspaces, with full-text search, tag filter, inline editing and deletion.
  • Jump back — every entry opens its session in one click.
  • Markdown export — one click downloads all bookmarks as dsh-bookmarks.md.
  • KeyboardAlt+B toggles the center from anywhere.
  • Safe writes — per-item compare-and-set versions (multi-tab safe), server-side validation, and durable storage via the DSH storage domain.

Install

dsh plugin --profile web add dsh-bookmarks

Then restart DSH (dsh web). The plugin appends itself to the profile bundle layer automatically; nothing else to configure.

For a local checkout:

# from the plugin repo
dsh plugin --profile web add file:./        # relative file spec, anchored to your cwd

Config

The bundle row exposes three limits (all optional):

KeyDefaultMeaning
maxNoteBytes4096Max UTF-8 bytes of one note ("" clears a note; omitting the field keeps it).
maxSnippetChars300Max characters of the server-derived reply snippet.
maxTags8Max tags per bookmark; each tag ≤ 32 chars, trimmed and deduplicated.

Override them in the profile patch layer ($DSH_HOME/profiles/web/cordis.patch.yml):

- id: bookmarks
  config:
    maxNoteBytes: 2048
    maxSnippetChars: 200
    maxTags: 5

How it works

One npm package hosts both halves of the plugin:

  • Host half (lib/index.js) — the bookmarks Remote service (Typert), backed by a storage-domain table ($DSH_HOME/storages/bookmarks.json). put inspects the persisted session log to validate the target reply and derive its snippet, mirrors the official message-feedback durability barrier, and serializes mutations with per-item version tokens.
  • Browser half (src/client, bundled to lib/client.js) — mounts the Remote contribution through ctx.remote.$mount, then registers two UI slots: conversation.chat.assistant-actions (the per-message button) and sidebar.footer.action (the center toggle).

Development

npm install            # zod + esbuild (dev only)
npm run build          # bundles src/client into lib/client.js

lib/client.js is committed and shipped; no build step runs on install.

Limitations

  • Bookmarks are stored in one global row: fine for personal use, not a shared multi-user store.
  • The center panel jumps to the bookmarked session; it does not auto-scroll to the exact message yet.
  • The panel toggle lives in the sidebar footer; use Alt+B when the sidebar is collapsed.

License

MIT

Acknowledgements

This project is promoted on the LINUX DO community.

收录徽章

Listed on deepseek-plugin.org
[![Listed on deepseek-plugin.org](https://img.shields.io/badge/listed_on-deepseek--plugin.org-007EC6)](https://deepseek-plugin.org/plugins/penguin-oo/dsh-bookmarks)

把这段 markdown 粘贴到你的 GitHub README,链接回本插件详情页。徽章只声明已被本站收录,不代表安全认证。

返回插件目录
dsh-bookmarks — DeepSeek Harness 插件 | deepseek-plugin.org