dsh-trilium
Manifest validConnect Trilium notes to the DSH agent via ETAPI with 20 agent tools: durable memory (remember/recall + auto-injected index), note management (CRUD/clone/attributes/revisions), full-text search, weekl
dsh-trilium
English | 中文
A DeepSeek Harness (DSH) Web GUI plugin that connects your Trilium notes to the agent through the ETAPI: durable memory, note management, full-text search, a weekly report workflow, attachments, calendar notes, backups, and a settings card.
Highlights
- Memory:
trilium_remember/trilium_recallscoped to a memory directory, plus auto-injected memory index at session start (toggleable). - Notes: create / read / update / delete / undelete, tree browsing, cloning (multi-folder reuse), attributes (label/relation), revisions.
- Search: Trilium full-text syntax (
"exact phrase",#label, subtree scoping). - Weekly report:
trilium_weekly_reportcollects the week's material and stores the finished report withstartDate/endDatelabels. - Attachments & calendar:
trilium_attachment,trilium_calendar. - Backup & migration:
trilium_backup,trilium_export,trilium_import. - Settings card: 设置 → 插件 → 可配置 (server URL, token, memory directory, switches, connection test).
- Safe by default: config in
~/.dsh/dsh-trilium.json(0600); token never enters cordis.yml or the model context; deletes requireconfirm.
Install
dsh plugin --profile web add dsh-trilium # npm
# or: dsh plugin --profile web add github:MineRPi/dsh-trilium
Restart dsh web. The repository ships lib/, so git installs normally need no
build approval.
Tools
trilium_app_info trilium_search trilium_get_note trilium_list_children
trilium_create_note trilium_update_note trilium_delete_note trilium_undelete_note
trilium_clone trilium_attribute trilium_attachment trilium_calendar
trilium_remember trilium_recall trilium_weekly_report trilium_revisions
trilium_backup trilium_export trilium_import trilium_history
Verify after install
# the agent tools should be listed in the session (or just ask the agent)
# connection test:
curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:3080/api/dsh-trilium/config
Requirements
- DSH
>=0.1.0-rc.7 <0.2.0, Node^22.19.0 || >=24.0.0 - Trilium with ETAPI enabled (TriliumNext 0.10x+ or classic Trilium)
Development
npm install
npm run typecheck
npm run build
npm test
Listing status
- npm:
dsh-trilium@0.1.2published ✅ - awesome-dsh-plugin PR: #1045 open (pending merge)
- Flow: publish to npm → add a YAML entry under
data/plugins/→ runnode scripts/generate-readme.mjs→ open a PR → dshmarket picks it up after merge
License
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
| 0.1.1 | — | — |
| 0.1.2 | — | — |
Comments
Loading…
Similar plugins
by Fishsb
DSH 长期记忆插件:记忆库 + 会话蒸馏自动沉淀 + 设置面板,越用越懂你。守藏(Shoucang)单插件,panel + scheduler + 内嵌记忆技能。
★ 5
Apache-2.0
JavaScript
Sep 27, 2026
dsh plugin --profile web add dsh-shoucang-memoryby a1141171521
DSH 自动记忆系统:本地优先、文本可读、失败可见的分层记忆。
★ 3
MIT
JavaScript
Oct 25, 2026
dsh plugin --profile web add dsh-memfuseby SiriusWJ
DSH 简化版记忆插件:SQLite 条目化记忆(标题/重要程度/来源/内容,增删改查)+ 日历与到点提醒(月视图+时间轴+待执行/已完成双tab),对话面板记忆 tab 与设置二级菜单,中英双语自动跟随。
★ 2
BSD-3-Clause
JavaScript
Sep 15, 2026
dsh plugin --profile web add dsh-lite-memoryby adithyanraj03
Persistent memory for dsh in the style of Hermes Agent: a memory tool keeping a user profile and the model's own notes, delivered to every chat as a logged context message, plus session_search over earlier chats behind an approval prompt.
★ 0
NOASSERTION
JavaScript
Sep 24, 2026
dsh plugin --profile web add dsh-memory-recallby levodoubt
Markdown-as-database project knowledge base for DSH agents: ten kb_* tools (including kb_register for registering existing notes), stable TIDs, `[[node]]` links that never copy text, `[[tscl]]` defini
★ 0
MIT
JavaScript
Oct 25, 2026
dsh plugin --profile web add project-node-memoryby EternalNight996
Self-built DSH memory plugin: SQLite persistent storage + database-level audit guard (enforceAudit) + audit log. Auto-captures knowledge after conversations, agents recall via memory_recall, supports
★ 87
↓ 4.3k/wk
MIT
JavaScript
Oct 28, 2026
dsh plugin --profile web add memory-eternal