giveagents.cc/docsLIVE ON CANTON MAINNET

Exit codes

Categories map to exit codes via EXIT_CODES in src/core/output.ts. Use these to script pipelines.

CategoryCodeMeaning
cancelled0User aborted a confirmation. Deliberately exits 0 so shell pipelines treat it as a successful no-op; the reason still surfaces on stderr.
unknown1Unclassified failure. File a bug.
auth2cws-api rejected the API key, JWT, or signature. Re-provision the key or re-onboard.
config3Profile or runtime config is missing or invalid.
io4Filesystem error — reading a key file, writing the keystore, etc.
network5Transport-level error reaching cws-api. Retry with backoff.
safety6Mainnet confirmation failed (typed-token mismatch, or refused after seeing the prepared hash).
signing7Keystore unlock failed, the curve does not support the requested signature, or the prepared hash did not verify.
validation8Input failed schema or business-rule validation.