{ "format": "wai.ops/1", "toolchain": "0.4.0", "envelope": "envelope/1", "exit_codes": [ { "exit": 0, "meaning": "done; every check held" }, { "exit": 1, "meaning": "ran, and a check failed" }, { "exit": 2, "meaning": "usage error or invalid input" }, { "exit": 3, "meaning": "authentication or permission" }, { "exit": 4, "meaning": "confirmation required; nothing changed" }, { "exit": 5, "meaning": "not found (file, target, room, operation)" }, { "exit": 6, "meaning": "target unavailable; safe to retry" }, { "exit": 7, "meaning": "internal error" } ], "agent_flags": [ { "flag": "--json", "summary": "one JSON envelope on stdout: {\"wai\": \"envelope/1\", \"op\", \"ok\", \"data\" | \"error\"}", "aliases": [] }, { "flag": "--dry-run", "summary": "write nothing and send nothing; say what would be done (an operation that only reads ignores it)", "aliases": [] }, { "flag": "--yes", "summary": "confirm a change that waits for confirmation; off a terminal, without it, exit 4", "aliases": [ { "flag": "--confirm", "deprecated": { "since": "0.3.0", "use_instead": "--yes" } } ] }, { "flag": "--no-input", "summary": "never ask: a change that waits for confirmation exits 4 unless --yes is given", "aliases": [] } ], "operations": [ { "id": "toolchain.test", "summary": "WAI's four steps (name, dispatch, rebuild, receipt) on a picture made here, its receipt checked offline", "cli": "wai hello", "aliases": [], "usage": [ "wai hello [