fix(cli): expose gateway delivery status · openclaw/openclaw@f50ece6
steipete
·
2026-05-10
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -65,7 +65,7 @@ openclaw agent --agent ops --message "Run locally" --local
|
65 | 65 | |
66 | 66 | ## JSON delivery status |
67 | 67 | |
68 | | -When `--json --deliver` is used, the response may include `deliveryStatus` so scripts can distinguish delivered, suppressed, partial, and failed sends: |
| 68 | +When `--json --deliver` is used, the CLI JSON response may include top-level `deliveryStatus` so scripts can distinguish delivered, suppressed, partial, and failed sends: |
69 | 69 | |
70 | 70 | ```json |
71 | 71 | { |
@@ -83,6 +83,8 @@ When `--json --deliver` is used, the response may include `deliveryStatus` so sc
|
83 | 83 | |
84 | 84 | `deliveryStatus.status` is one of `sent`, `suppressed`, `partial_failed`, or `failed`. `suppressed` means delivery was intentionally not sent, for example a message-sending hook cancelled it or there was no visible result; it is still a terminal no-retry outcome. `partial_failed` means at least one payload was sent before a later payload failed. `failed` means no durable send completed or delivery preflight failed. |
85 | 85 | |
| 86 | +Gateway-backed CLI responses also preserve the raw Gateway result shape, where the same object is available at `result.deliveryStatus`. |
| 87 | + |
86 | 88 | Common fields: |
87 | 89 | |
88 | 90 | - `requested`: always `true` when the object is present. |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。