v0.4.0
BREAKING: envelope schema v3
JSON envelopes and process exit codes are redesigned around one rule: the output explains itself. Anything consuming the v2 envelope must update. See CHANGELOG for the full list:
- Success is
{"data": ...}(exec adds a top-levelexit_code); errors are{"error": {"code", "hint", "action"}}. Theokandschema_versionfields are gone. - 14 machine-readable
error.codevalues;result_indeterminatemarks operations that may have executed and must never be blindly retried. - Process exit codes are tri-state:
0good answer,1completed with a bad answer,2sshq failed. Remote exit code passthrough is removed. - exec
data.hostis nowdata.alias;update --checkexits0when an update is available (reverses v0.3.1).
Upgrading from v0.3.x with sshq update
The binary updates correctly, but the old updater may print skill_error: "new binary reported an unknown skill update error" and exit 2 at the end. This is a false alarm: the old binary cannot parse the new binary's v3 envelope when refreshing skills. Run sshq skill status to confirm — skills are updated. This affects only the one-time jump from v0.3.x.
Also in this release
- Daemon freshness:
~/.ssh/confighot-reload and a shared shell-profile cache — config and cache changes apply without restarting the daemon; newsshq cache clear. - READMEs rewritten in both languages; sudo-free installation.