-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
message send --json should expose a top-level messageId #84186
Copy link
Copy link
Closed
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Summary
openclaw message send --jsondoes not expose a stable top-level message id even when the provider receipt contains one.Current behavior
The JSON output includes the raw provider payload, so callers have to know provider-specific nested shapes such as
payload.result.messageId.Expected behavior
When the send result contains a message id, the CLI JSON output should also include a top-level
messageIdwhile preserving the raw provider payload for compatibility.Why this matters
Automation that sends a message and then edits, verifies, or links to it needs a stable field to read. A top-level id avoids brittle provider-specific JSON parsing.
Suggested scope
Keep this to output shaping:
messageIdfrom common send receipt shapes.payloadobject unchanged.