feat(schedule): 待办提醒推送、行事历仅展示提醒与管理 API
单次提醒 worker 投递、local 时间写入校验、未来 7 天提醒列表与忽略/批量删除;行事历去掉事项重复展示。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -27,6 +27,14 @@ description: 处理待办、提醒、日程类消息;先澄清缺失时间,
|
||||
- `schedule_create_reminder`
|
||||
- `schedule_list_items`
|
||||
|
||||
## 时间写入(必守)
|
||||
|
||||
1. **禁止**自行估算 Unix 毫秒时间戳;模型算 epoch 极易出错。
|
||||
2. 创建事项时用 `startLocal` / `endLocal` / `dueLocal`,格式 **`YYYY-MM-DD HH:mm`**(用户时区下的墙上时钟)。
|
||||
3. 创建提醒时用 `remindLocal`,格式同上;不要只传 `remindAt`。
|
||||
4. 用户说「明天 / 后天」时,必须结合会话里的「当前日期」锚点推算具体日期后再写入 local 字段。
|
||||
5. 写入后可用 `schedule_list_items` 核对返回的时间是否正确。
|
||||
|
||||
## 工作规则
|
||||
|
||||
1. 先判断用户是在创建、查询,还是补充提醒。
|
||||
|
||||
Reference in New Issue
Block a user