VTODO
This commit is contained in:
24
TOOLS.md
24
TOOLS.md
@@ -115,37 +115,43 @@ agent-browser close
|
||||
- `data/pending_emails.json` — 待处理队列
|
||||
- `logs/` — 处理日志
|
||||
|
||||
### Calendar Invite 日历邀请
|
||||
### Calendar 日历 + 待办
|
||||
|
||||
**文档**: `~/.openclaw/workspace/skills/calendar-invite/SKILL.md`
|
||||
**目录**: `~/.openclaw/workspace/skills/calendar-invite/`
|
||||
**文档**: `~/.openclaw/workspace/skills/calendar/SKILL.md`
|
||||
**目录**: `~/.openclaw/workspace/skills/calendar/`
|
||||
**默认发件人**: youlu@luyanxin.com
|
||||
**默认时区**: America/Los_Angeles
|
||||
**日历数据**: `~/.openclaw/workspace/calendars/home/`
|
||||
**日历数据**: `~/.openclaw/workspace/calendars/home/`(事件)、`calendars/tasks/`(待办)
|
||||
**运行方式**: `uv run`(依赖 `icalendar` 库)
|
||||
|
||||
**核心用法**:
|
||||
```bash
|
||||
SKILL_DIR=~/.openclaw/workspace/skills/calendar-invite
|
||||
SKILL_DIR=~/.openclaw/workspace/skills/calendar
|
||||
|
||||
# 发送日历邀请(--from 默认 youlu@luyanxin.com)
|
||||
$SKILL_DIR/scripts/calendar-invite.sh send \
|
||||
$SKILL_DIR/scripts/calendar.sh send \
|
||||
--to "friend@example.com" \
|
||||
--subject "Lunch" --summary "Lunch at Tartine" \
|
||||
--start "2026-03-20T12:00:00" --end "2026-03-20T13:00:00"
|
||||
|
||||
# 接受邀请(从邮件中提取 .ics)
|
||||
$SKILL_DIR/scripts/calendar-invite.sh reply --envelope-id 42 --action accept
|
||||
$SKILL_DIR/scripts/calendar.sh reply --envelope-id 42 --action accept
|
||||
|
||||
# 拒绝邀请(附带留言)
|
||||
$SKILL_DIR/scripts/calendar-invite.sh reply --envelope-id 42 --action decline \
|
||||
$SKILL_DIR/scripts/calendar.sh reply --envelope-id 42 --action decline \
|
||||
--comment "Sorry, I have a conflict."
|
||||
|
||||
# 待办管理
|
||||
$SKILL_DIR/scripts/calendar.sh todo add --summary "跟进报销" --due "2026-03-25" --priority high
|
||||
$SKILL_DIR/scripts/calendar.sh todo list
|
||||
$SKILL_DIR/scripts/calendar.sh todo complete --match "报销"
|
||||
$SKILL_DIR/scripts/calendar.sh todo check # 每日摘要(cron)
|
||||
|
||||
# 查看日历(检查冲突)
|
||||
khal list today 7d
|
||||
```
|
||||
|
||||
**支持操作**: 发送邀请 (`send`)、接受/拒绝/暂定 (`reply`)
|
||||
**支持操作**: 发送邀请 (`send`)、接受/拒绝/暂定 (`reply`)、待办管理 (`todo add/list/complete/delete/check`)
|
||||
**依赖**: himalaya(邮件)、vdirsyncer(CalDAV 同步)、khal(查看日历)
|
||||
**同步**: 发送/回复后自动 `vdirsyncer sync`,心跳也会定期同步
|
||||
**自动抄送**: mail@luyx.org(用户别名)自动加入所有邀请
|
||||
|
||||
Reference in New Issue
Block a user