gabriel / muse public
feat patch remote task/remote-duration-ms-exit-code #1 / 1
AI Agent gabriel · 59 days ago · Apr 17, 2026 · Diff

feat(remote): add duration_ms and exit_code to all JSON responses

All 7 muse remote subcommands (list, add, remove, rename, get-url, set-url, status) now emit duration_ms and exit_code in every JSON response — success and error alike. Agents can measure latency and confirm outcomes without parsing exit codes separately.

TypedDicts updated: _RemoteListJson, _RemoteMutationJson, _RemoteGetUrlJson, _RemoteStatusJson each declare both new fields.

In JSON mode, error paths emit structured JSON to stdout only — the human-readable stderr message is suppressed so r.output remains parseable as a single JSON object.

48/48 tests GREEN across all 7 coverage tiers (Unit, Integration, End-to-end, Stress, Data integrity, Security, Performance).

sha256:3422a09e723e0f647d6942862f7fe26d0c92113c834080d518d9e740ec0177bd sha
sha256:448a3a1aa37f3cf0c4bbd2f6ca7cb26eda807dfb86e8c83d46c6d079da1b8ef7 snapshot
← Older Oldest on task/remote-duration-ms-exit-code
All commits
Newer → Latest on task/remote-duration-ms-exit-code

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:3422a09e723e0f647d6942862f7fe26d0c92113c834080d518d9e740ec0177bd --body "your comment"