`openclaw commitments`
列出并管理推断的后续跟进承诺。
承诺是可选加入的、短期存在的后续跟进记忆,根据对话上下文创建。请参阅推断的承诺了解概念指南。
如果没有子命令,openclaw commitments 会列出待处理的承诺。
openclaw commitments [--all] [--agent <id>] [--status <status>] [--json]openclaw commitments list [--all] [--agent <id>] [--status <status>] [--json]openclaw commitments dismiss <id...> [--json]--all:显示所有状态,而不仅仅是待处理的承诺。--agent <id>:筛选到一个代理 ID。--status <status>:按状态筛选。值:pending、sent、dismissed、snoozed或expired。--json:输出机器可读的 JSON。
列出待处理的承诺:
openclaw commitments列出每个存储的承诺:
openclaw commitments --all筛选到一个代理:
openclaw commitments --agent main查找已暂停的承诺:
openclaw commitments --status snoozed关闭一个或多个承诺:
openclaw commitments dismiss cm_abc123 cm_def456导出为 JSON:
openclaw commitments --all --json文本输出包括:
- 承诺 ID
- 状态
- 类型
- 最早到期时间
- 范围
- 建议的签到文本
JSON 输出还包括承诺存储路径和完整的存储记录。