`openclaw commitments`
列出並管理推斷的後續追蹤承諾(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
- 狀態
- 種類
- 最早到期時間
- 範圍
- 建議的 check-in 文字
JSON 輸出也包含承諾儲存路徑與完整的已儲存紀錄。