dshbase

插件目录 / Developer / dsh-daybook

dsh-daybook

已验证 · 实测可装 franksong2702

✓ 持续维护 基于 12 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

0Stars
0Forks
0未关闭 issue
—语言
2026-08-15最近推送
跨平台平台

功能简介

Intelligent, local-first Markdown journal writing assistant for DeepSeek Harness.

✅
我们的评价
可用 — 实测通过,早期项目

Intelligent, local-first Markdown journal writing assistant for DeepSeek Harness. 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

Daybook

Daybook is a local-first intelligent journal writing assistant for DeepSeek Harness. You choose one ordinary folder; Daybook uses the model and your Writing Instruction to lightly polish explicit journal requests, writes only the new entry, organizes today's entry behind a confirmation preview, copies current-message images, and keeps guarded undo receipts in Harness's private data directory.

Alpha status: the source is public for testing. The package is not published to npm or the DSH Plugin marketplace.

What it writes

your-journal/
├── 2026-08-14.md
└── images/
    └── 2026-08-14/
        └── 221530-a1b2c3d4e5f6.jpg

There is no hidden Daybook folder in your journal. Preview and undo data live under $DSH_HOME/daybook/v1/.

Daybook uses standard Markdown image links and does not require Obsidian. If the selected folder is inside an Obsidian vault, Obsidian simply becomes one optional viewer.

Alpha behavior

  • Smart capture: ask “记到日志里” (or another explicit journal request), or enter /daybook <text>. The normal model turn applies the active Writing Instruction to clean up punctuation, obvious grammar, speech fillers, and accidental repetition in only the new material, calls daybook_capture, and reports the actual saved text and receipt. Earlier text is never rewritten.
  • Raw fallback: /daybook-raw <text> is an explicit no-model, text-only path that trims and saves the text as-is. It never saves images and is not the normal Daybook workflow.
  • Organize today: ask to organize today's journal. Daybook reads the complete daily file, presents a read-only rewrite preview, and asks for explicit confirmation in the conversation. Only after the user confirms does the model call daybook_apply_organize.
  • Images: images can only come from the latest direct user message. They are copied, never moved. Privacy protection is on by default.
  • Undo: each applied mutation has an id. Undo succeeds only if the file still matches that operation; otherwise it safely refuses.
  • External edits: a preview never overwrites a file changed after the preview was created.

The browser slash menu offers daybook as a plain-text insertion source. It deliberately does not claim submit, so /daybook <text> remains a normal model prompt. Only the explicit /daybook-raw fallback is registered as a direct content-bearing command; use a Harness build that supports CommandDefinition.engagesSession so its durable input and receipt retain the current Session and New Session creates a different conversation.

Local development install

Requirements: Node.js 22.19+ and pnpm.

The current Alpha is tested against DeepSeek Harness 0.1.0-rc.6; its DSH peer packages are supplied by the active Harness profile.

git clone https://github.com/franksong2702/dsh-daybook.git
cd dsh-daybook
pnpm install --config.minimum-release-age=0
pnpm run check
pnpm pack
dsh plugin --profile web add ./dsh-daybook-0.1.0-alpha.1.tgz

Then open Settings → Plugins → Plugin configuration → Daybook, choose a journal folder, and save.

The bundle patch only adds Daybook with an empty folder setting. It does not change the active model, web-search provider, workspace, or any existing journal.

Security boundary

  • The selected folder is the plugin's explicit standing filesystem capability.
  • Daily filenames and image subpaths are generated by Daybook, not accepted from the model.
  • Symlinked daily files and image directories are rejected.
  • Mutations are atomic and serialized across plugin processes.
  • Card actions accept only local same-origin Web requests.
  • Remote image URLs are never fetched.
  • Custom instructions and private receipts stay local and contain no account credentials.

See the Alpha contract and design notes.

License

Apache-2.0 © 2026 Frank Song.

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-daybook」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:franksong2702/dsh-daybook

Headless(CLI)profile:

dsh plugin --profile headless add github:franksong2702/dsh-daybook

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7819 个插件 →