Skip to content

Fix export_chat to scan all message DBs - #8

Open
zhenian wants to merge 1 commit into
mcncarl:mainfrom
zhenian:fix/export-chat-message-db-glob
Open

Fix export_chat to scan all message DBs#8
zhenian wants to merge 1 commit into
mcncarl:mainfrom
zhenian:fix/export-chat-message-db-glob

Conversation

@zhenian

@zhenian zhenian commented Aug 5, 2026

Copy link
Copy Markdown

WCDB writes new messages to the highest-numbered message DB (e.g. message_7), but export_chat.py only read message_0..3, so incremental exports missed new messages. Scan message_*.db via glob like vault_cli.

WCDB writes new messages to the highest-numbered message DB (e.g.
message_7), but export_chat.py only read message_0..3, so incremental
exports missed new messages. Scan message_*.db via glob like vault_cli.

Co-Authored-By: Claude <noreply@anthropic.com>

mcncarl commented Aug 15, 2026

Copy link
Copy Markdown
Owner

感谢这个修复。我们已经验证:把消息库固定为 message_0..3 确实会在数据库继续分库增长时漏读,技术预检通过。

本仓库采用 Personal Learning and Non-Commercial Use License,并另行提供商业授权。合并外部贡献前,请直接回复 “I agree / 我同意”,确认以下贡献许可:

I confirm that I have the right to submit this contribution. I retain copyright in my contribution and grant the repository owner a perpetual, worldwide, non-exclusive, irrevocable, royalty-free license to use, reproduce, modify, distribute, sublicense, and relicense this contribution, including for commercial use and under other licensing terms.

该确认不转让你对其他作品的所有权。收到明确确认后再合并本 PR。

@zhenian

zhenian commented Aug 17, 2026

Copy link
Copy Markdown
Author

I agree

I confirm that I have the right to submit this contribution. I retain copyright in my contribution and grant the repository owner a perpetual, worldwide, non-exclusive, irrevocable, royalty-free license to use, reproduce, modify, distribute, sublicense, and relicense this contribution, including for commercial use and under other licensing terms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants