franksong2702/dsh-daybook

插件 ⭐ 0 Apache-2.0 tools

面向DeepSeek Harness的智能、本地优先的Markdown日记写作助手。

catalog 简介:Intelligent, local-first Markdown journal writing assistant for DeepSeek Harness.

安装

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.

franksong2702/dsh-daybook 加入你的 DSH 配置(web profile)即可启用。

README

展开完整 README 收起

README 内容为空。