feat: implement AI schedule app with multi-device sync

- Qt 6 desktop client with day/month/year views, AI scheduling, and TOML settings\n- Go sync server with SQLite change stream, WebSocket notifications, and Docker deployment\n- Client outbox/LWW sync, offline retry, and dual-client integration tests\n- Linux fcitx5 setup, validation reports, and Windows MinGW preset
This commit is contained in:
Misaki
2026-10-26 13:58:45 +08:00
commit 5be7f7f04b
151 changed files with 38485 additions and 0 deletions
@@ -0,0 +1,17 @@
你上一轮输出没有成功解析为日程操作 JSON。请严格只输出一个 JSON 对象,不要输出解释、标记或 markdown 代码块。
JSON 格式:
{"operations":[
{"type":"create","title":"任务标题","description":"可选说明","duration_min":60,"deadline":"YYYY-MM-DDTHH:MM:SS","priority":1,"energy_req":1,"splittable":false,"preferred_start":"YYYY-MM-DDTHH:MM:SS","preferred_end":"YYYY-MM-DDTHH:MM:SS"},
{"type":"update","target_ref":"b1","title":"可选的新标题","duration_min":60,"preferred_start":"YYYY-MM-DDTHH:MM:SS","preferred_end":"YYYY-MM-DDTHH:MM:SS"},
{"type":"delete","target_ref":"b2"}
]}
规则:
- 只使用现有日程摘要中出现过的 target_ref。
- 时间使用用户本地时间,不带时区;不确定的字段填 null。
- duration_min 在 15–480 之间。
- 如果只是闲聊或没有日程变更,operations 输出空数组。
- 用户明确要求新增/修改/删除时,必须给出 operations;冲突、时长不足或过去时间交给本地排程器处理。
- 可拆分请求优先设置 splittable=true。
- 现有日程摘要中的(会议)标记用于识别会议类;删除“所有会议”时删除全部带标记项。