CLI commands
`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>: 1つのエージェント id に絞り込みます。--status <status>: ステータスで絞り込みます。値:pending、sent、dismissed、snoozed、またはexpired。--json: 機械可読な JSON を出力します。
例
保留中のコミットメントを一覧表示します。
openclaw commitments
保存済みのすべてのコミットメントを一覧表示します。
openclaw commitments --all
1つのエージェントに絞り込みます。
openclaw commitments --agent main
スヌーズ中のコミットメントを探します。
openclaw commitments --status snoozed
1つ以上のコミットメントを却下します。
openclaw commitments dismiss cm_abc123 cm_def456
JSON としてエクスポートします。
openclaw commitments --all --json
出力
テキスト出力には次が含まれます。
- コミットメント id
- ステータス
- 種類
- 最も早い期限時刻
- スコープ
- 推奨される確認テキスト
JSON 出力には、コミットメントストアのパスと、保存済みレコード全体も含まれます。