DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-notes

9

dsh-notes

Manifest valid

Pinned project notes in the Harness sidebar; enabled notes are injected into the agent's system prompt.

UI (client)hasBundlePatch

Project Notes (@local/dsh-notes)

A DSH bundle that adds a left-sidebar page of notes pinned per project. Notes you switch on are rendered into the agent's system prompt on every step, so project conventions and personal preferences stay in context without being repeated.

sidebar

What it does

  • Sidebar row (sidebar.panellist, id dsh-notes, order 21 — right after the host's Context row) and the page it selects (main, key dsh-notes).
  • Per-project notes. Each browser-selected project has its own list; the project list comes from the host's workspace registry, and any directory that already owns notes stays selectable.
  • Injection switch. Every note has its own switch. Only enabled, non-empty notes are injected, and only for agents whose working directory is that project.
  • Durable store. Notes live in <dsh home>/notes/<profile>.json, written atomically (temp file + rename) so a crash cannot truncate them.

Architecture

dsh-notes/
├── package.json          dsh.bundle.patch + dsh.client (platform web, immediately)
├── cordis.patch.yml      one insert row: @local/dsh-notes
├── index.js              Host half
├── client.js             Client half (plain-JS React, no build step)
├── locale/{en,zh}.json   Plugin Manager title/description
└── icon.svg              original artwork (redistribution-safe)

Host half (index.js) injects agents, systemPrompt, webServer, workspaceRegistry and owns:

ConcernExtension point
StoreJSON file under <dsh home>/notes/, atomic write
Panel datawebServer.register({ kind: 'exact' }) on /dsh-notes/api/state (GET) and /dsh-notes/api/notes (POST)
Standing contextone systemPrompt.section({ name: 'dsh-notes.project-notes', order: 780 }) registered on each agent's own context, rendering that agent's project only

The section is attached for agents created later (agent/created) and for agents already live when the plugin activates, so the current session starts honouring notes immediately. Attachments are removed on plugin unload.

Client half (client.js) registers the sidebar glyph and the page through ctx.slots.inject(slot, () => ctx.slots.register(...)), so both disappear with the host's declaration. Host calls go through document.baseURI-relative URLs. Styling uses --dsw-alias-* tokens only, so the page follows light/dark.

Behaviour notes

  • A project with no enabled notes adds no text: the system prompt is unchanged.
  • Notes are prompt input, not session history — editing one affects the next request and never rewrites the log.
  • The page saves on a 450 ms debounce and flushes pending keystrokes on unmount and on project switch.

Develop

The install links this directory, so edits apply without reinstalling: reload the page (Ctrl+R) after changing client.js; Host changes (index.js) need a Harness restart.

GitHub 安装与验证

仓库:https://github.com/991206772-debug/dsh-notes

桌面版可在插件管理中使用仓库地址安装;命令行版在自己的 Profile 中安装:

dsh plugin --profile web add github:991206772-debug/dsh-notes

公开源码不包含用户配置、笔记、真实会话、凭据或 node_modules。验证使用隔离目录,不主动重载正在运行的 DSH。

许可证

自有源码采用 MIT,署名 991206772-debug。

Comments

Loading…

Similar plugins

dsh-prompt-editor

by AGImentu

DSH 插件:在「更多设置」里查看、修改并保存所有 agent 共用的全局系统提示词,保存后立即生效。

Development & InfrastructureTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Oct 6, 2026

dsh plugin --profile web add dsh-prompt-editor

by YukimuraSol

DeepSeek Harness plugin: renders AGENTS.md as an independent system-prompt section, re-read on every prompt assembly instead of injected as user messages.

Manifest valid

★ 0

MIT

JavaScript

Oct 28, 2026

dsh plugin --profile web add dsh-agents-section

by yanliao66

Cross-session memory pins for DeepSeek Harness (DSH): pin a note once and every later session carries it — composer chip, board panel, memory_pins agent tool, system-prompt injection.

Manifest valid

★ 0

MIT

JavaScript

Oct 31, 2026

dsh plugin --profile web add dsh-pins

by lovstudio

Inject an extra system-prompt section into a DeepSeek Harness agent

Development & InfrastructureManifest valid

★ 0

MIT

JavaScript

Sep 4, 2026

dsh plugin --profile web add @lovstudio/dsh-inject-system-prompt

by waterc07

DeepSeek Harness 插件:agent 提问/请求授权/计划批准时弹出 Windows 系统通知与提示音,点击通知回到窗口。

Manifest valid

★ 0

MIT

JavaScript

Oct 28, 2026

dsh plugin --profile web add dsh-interaction-notify

by EmptyVessel-000

DSH Web 插件:右侧栏快捷指令库,点一下带进下一条消息,按会话每轮自动注入

Workflow & AutomationDevelopment & InfrastructureManifest valid

★ 1

MIT

JavaScript

Nov 9, 2026

dsh plugin --profile web add @emptyvessel_003/dsh-prompt-shelf