feat(ls-remote): agent-ready supercharge — envelope, OID normalization, _emit_error
- Add _LsRemoteJson / _LsRemoteErrorJson TypedDicts for stable wire format - Add _emit_error() helper: JSON errors to stdout in --json mode, prose to stderr in text mode - Add status, error, remote, url, duration_ms, exit_code to JSON envelope - Track remote name (null when URL passed directly) and resolved url always - Add _normalize_oid(): defense-in-depth sha256: prefix on all remote-provided OIDs - Update docstring with full JSON schema and error schema - Update test_cmd_ls_remote.py: sha256:-prefix _FAKE_OID, fix format-error assertion - Add test_ls_remote_supercharge.py: 39 tests across envelope/error/OID/TypedDict/docstring/prose-pollution
sha256:206b7321d9d49434569eb1890ee37e923fe109f998dd60b9c7412ff4b1bccf12
sha
sha256:fcb459a41eb85b79260c4745f35154bc6206060f87f752416cdfef92dee92e35
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:206b7321d9d49434569eb1890ee37e923fe109f998dd60b9c7412ff4b1bccf12 --body "your comment"
No comments yet. Be the first to start the discussion.