dsh-memo: A Sidebar Memo Plugin for DeepSeek Harness

Preface

During conversations in DeepSeek Harness (DSH), requirements often change mid-conversation. At that moment, you need to capture context within seconds, retrieve it quickly later, and maintain context continuity. dsh-memo is designed for exactly this “capture now, retrieve later” use case.

What It Is

dsh-memo is a memo/draft plugin for DeepSeek Harness. It provides a sidebar entry, supports quick capture, uses local SQLite storage, can sync to a private GitHub repository, and supports images and screenshots.

Installation and Activation

Before installing, make sure your environment meets the following requirements:

  • DeepSeek Harness version 0.2.0-rc.2 or higher
  • Bundled Node.js version 22.5 or higher (minimum requirement for node:sqlite)

Install using the official command:

dsh plugin --profile <your-profile> add @adamcjm/dsh-memo

After installation, restart DeepSeek Harness. A Memo icon will appear at the bottom of the sidebar.

Core Features

The plugin adds an entry at the bottom of the sidebar with an unread badge. Clicking it opens a panel with a persistent input box at the top that supports drag-to-resize.

  • Save: Press Enter after typing to save.
  • Image Support: Supports ⌘V to paste screenshots, drag-and-drop images, or adding via the file picker (with ⌘ / ⇧ multi-select support). Images are stored with SHA-256 hash names, so pasting the same image repeatedly takes up only one copy.
  • Editing: Cards support inline editing, allowing direct modification of body text, images, and tags.

Tags and Sorting

  • Automatic Tags: Type #tag format in the body text, and tags are created automatically after saving. Tag names end at spaces or punctuation, with no fixed whitelist.
  • Pinning: Click the pin button on a card; pinned notes are sorted to the top of the list, with a marker and a left accent bar.
  • Drag Sorting: Within the same day group, cards can be dragged to reorder. The ordering is written to the source file and synced via GitHub.
  • Date Sorting: Use the sort button on the right to switch between “descending (today first)” or “ascending (oldest first)”.

Search and Synchronization

  • Search: Supports CJK string search, as well as qualifiers like #tag, source:, after:, before:, has:image, is:open, etc. For example, has:image filters notes that contain images.
  • Local Storage: Uses node:sqlite with no external dependencies and no need to compile native modules.
  • GitHub Sync: The text layer supports automatic pushes to a private repository (30-second debounce), and daily SQLite snapshots are generated.

Usage Examples

Capture Requirement Changes

Open the Memo panel in the sidebar, type the following, and press Enter:

Mr. Zhang wants a WeChat QR login entry on the login page; prototype due next Wednesday #requirement-change #login

The system will automatically extract #requirement-change and #login as tags.

Add a Screenshot

After taking a screenshot, press ⌘V in the input box, and the image will be automatically embedded in the note.

Reordering

In a day’s content, hold and drag a card to a new position, then release to save the new ordering.

Important Notes

  • Desktop Profile: The desktop profile is limited to manual configuration; the CLI refuses to write to that profile. To install on the desktop version, you need to manually edit ~/.dsh/profiles/desktop/package.json and install the dependencies.
  • Dependencies: No third-party runtime dependencies.
  • License: MIT License.

Conclusion

dsh-memo provides lightweight sidebar recording capabilities, with data persistence and accessibility guaranteed through local SQLite and GitHub synchronization. It is suitable for developers who need to quickly record inspiration, requirement changes, or fragmented information during conversations.

Plugin Directory | Source Repository

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye