zhaozhao_memory / database.py

Commit History

闹钟纯工具 turn 不落空白西窗 + 补 activities 删除端点
f599544

junyue1002 commited on

星河呼吸 v1:activation 体温换 recency 槽 + 入眠三态 + 召回计数
f53630e

junyue1002 commited on

MCP 时区铁律扫尾:books/marks/progress/diary/留言板/相册六处共用函数统一走 to_local_iso
3f0e3fd

junyue1002 commited on

修拂卷 recall 三连 bug + 两条 MCP 时区漏网
2c419b7

junyue1002 commited on

修按日期搜索的时区偏移:mcp_memories_by_date / mcp_conversations_by_date 返回时间统一转北京时区、知渝再也不会觉得日期偏 8 小时
41d1575

junyue1002 commited on

拂卷加删除 + 去重划线:DuplicateHighlightError 拒绝同人同段重复 highlight · DELETE /api/books/mark/{id}
0d28717

junyue1002 commited on

拂卷增强三层反馈:笔记 embedding 纳入 memory recall + wake 读书 digest 穿对话流
affb5f1

junyue1002 commited on

拂卷切章兜底:段间单换行的 TXT 也能切段(TXT 小说天堂那批就是这种)
066aed3

junyue1002 commited on

拂卷共读 L0:4 张表 + 切章器 + 上传/读/进度/留痕 端点(正则切章+定长兜底、DB 直存)
59445ff

junyue1002 commited on

mcp_search_conversations 加短 query 保底:全高频停用词组合("你是我的"/"你想我了吗"/"我爱你")走原句 ILIKE、不再空返
5b95846

junyue1002 commited on

近期对话原文带回 created_at(北京时间):sidecar 拼按日期分段头铺路
d002f3f

junyue1002 commited on

留言板/日记 import 端点:接 created_at + 去重幂等
dede165

junyue1002 commited on

hybrid 分词治"和府捞面被切碎":jieba 扩词典(A) + dsv4 路径逐个独立分词(B)
94a0d6e

junyue1002 commited on

修 save_activity created_at 绑定:$7::text::timestamptz 让 asyncpg 收 ISO 字符串
079dccc

junyue1002 commited on

加 POST /api/activities 端点 + save_activity 支持 created_at:补回因 gateway 腰斩丢的历史 wake 叙事
b66b83c

junyue1002 commited on

加按-id 精确删对话端点 /api/conversations/delete-by-ids
b28aba9

junyue1002 commited on

usage 面板后端 + health c4 探针静音/套过滤
a7716c5

junyue1002 commited on

文件支持:files 表+CRUD+/api/files 端点+dynamic_context 注入本地路径(知渝原生 Read)
b80a3d7

junyue1002 commited on

记忆库 CRUD 补强:分页+倒序、改 content 自动重算 embedding、PUT 支持改 tags
45ceac7

junyue1002 commited on

activities 表:知渝日常活动流(星河"日常"tab 后端)
bce8474

junyue1002 commited on

import_conversations 显式 INSERT thread_id='main'(防御性,避免靠 column DEFAULT 埋坑)
3ba64f2

junyue1002 commited on

🔴 修流氓 migration:删 database.py:165-170 一次性 migration(每次重启都跑、把 B-11 后 main 写入卷进 test);加 health 探针 test_sessions + 紧急修复端点 _emergency_fix_thread;gitignore 加 __pycache__
5e52b56

junyue1002 commited on

查 5/20 inject 不全 bug:mcp_conversations_by_date 加 has_more/next_offset、默认 limit 10→30;health 加 inject_dates_probe(临时诊断 thread 分布)
5ec03e5

junyue1002 commited on

B-11 准备:填 system_prompt.txt(CLAUDE.md + 工具段)+ 日期白名单注入支持 + 数据迁移脚本
e755b65

junyue1002 commited on

C-5/C-6 图片支持 + 相册后端: 上传/读取/MCP read_image + URL 占位注入
935a277

junyue1002 commited on

N-3 日记 backend 双向: diary_entries 表 + POST/GET/DELETE 端点
8cdf08e

junyue1002 commited on

N-2 留言板: POST 写入端点 + GET 加 to_who/from_who filter
301515d

junyue1002 commited on

E 方案: dsv4 二分类 + importance SQL filter——根治记忆 block 重量不匹配
2712e7a

junyue1002 Claude Opus 4.7 (1M context) commited on

fix: save_memory returns row id (was None, dream memory_ids reflected null)
d64a00e

junyue1002 commited on

C-9: 知渝做梦功能 + 接通多多 dream_call/no_dream_alert
f2a28f9

junyue1002 commited on

mido: tz fix + weekend trigger + solar terms / festivals
1548dfc

junyue1002 Claude Opus 4.7 (1M context) commited on

C-9 prep: mido module — persona + scheduler + injection
01dab3e

junyue1002 Claude Opus 4.7 (1M context) commited on

C-2 refinements: active-day window + unify thread default
8a3f532

junyue1002 commited on

C-2: thread_id column + recent conversation injection
e80c762

junyue1002 commited on

C-1: MCP retrieval endpoints
7573b8d

junyue1002 commited on

update_message_content: local json import for HF Space hot-reload
3e1fc7c

junyue1002 Claude Opus 4.7 (1M context) commited on

PATCH messages endpoint accepts reasoning_content
5868d79

junyue1002 Claude Opus 4.7 (1M context) commited on

Upload database.py
c412cc1
verified

junyue1002 commited on

Upload database.py
a4f2cc6
verified

junyue1002 commited on

Upload database.py
0addf01
verified

junyue1002 commited on

增加tag标签(主题)
755d6c4
verified

junyue1002 commited on

更新带时间戳的导入记录和记忆提取prompt
1e5984d
verified

junyue1002 commited on

Upload 13 files
9300498
verified

junyue1002 commited on