Expand description
The runtime context shared by every command.
Owns the loaded config, session and HTTP client, the output format, and the
hydra refresh policy. Service code calls Context::call with a prepared
request; the context attaches the hydra token, and on a hydra rejection it
re-mints once (native or via CDP, per config) and retries.
It also owns the response Cache; read-only browse calls go through
Context::cached_call. Never route cart/quote/order/auth calls through
the cache (see the safety notes in crate::cache).