Skip to content

Agent: describe remote subcommands and hex-render remote status bytes - #1642

Open
w3irdrobot wants to merge 1 commit into
masterfrom
remote-cli-help
Open

w3irdrobot wants to merge 1 commit into
masterfrom
remote-cli-help

Conversation

@w3irdrobot

@w3irdrobot w3irdrobot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Adds help text to the maple-agent remote subcommands that were missing it (status, enable, disable, discover, cancel-pairing, revoke), matching the style of the existing begin-pairing/pair descriptions. Help output is the only place these strings surface.
  • remote status now renders the 16-byte grant, host_grant and pending_confirmation peer fields as hex strings instead of serde's default array of numbers, matching the hex endpoint strings elsewhere in the output. CLI display only — the on-disk record format and the IPC wire types are unchanged.

Test plan

  • cargo check -p maple-agent-app --locked --no-default-features --features acp,proxy
  • cargo test -p maple-agent-app --locked --no-default-features --features acp,proxy remote_output — 5 passed (includes a new test asserting hex rendering)
  • Not exercised end-to-end against a live pair (remote status against a real remote); the change is display-only.

Note: branch is based on current origin/master; built in a plain worktree under .worktrees/ (small, additive change).


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Add help text to the remote subcommands that lacked it (status, enable,
disable, discover, cancel-pairing, revoke), matching the existing style.

Render the 16-byte grant, host_grant and pending_confirmation fields in
`remote status` output as hex strings instead of serde's default
array-of-numbers output, matching the hex endpoint strings. CLI display
only; the stored record and IPC format are unchanged.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant