@sangria-sdk/cli
v0.1.4
Published
Sangria agent CLI for discovery and buying
Readme
@sangria-sdk/cli
Small CLI for Sangria agent flows.
Install
npm install -g @sangria-sdk/cliAuth
Use an environment variable:
export SANGRIA_API_KEY="sg_agents_..."
sangria auth statusOr store a key locally:
sangria auth set sg_agents_...
sangria auth statusSANGRIA_API_KEY takes precedence over stored config.
Commands
sangria balance
sangria settings set-phone "(415) 555-2671"
sangria settings set-address --line1 "123 Market St" --city "San Francisco" --state CA --postal-code 94105
sangria discover "Nespresso decaf espresso pods under $50" --reasoning "User prefers decaf pods."
sangria buy <discovery_id> <sku>
sangria topup --amount 25.00
sangria topup confirm <topup_id> --code 123456Add --json for machine-readable output:
sangria discover "16oz iced oat-milk latte, decaf" \
--reasoning "User asked for a decaf oat latte near the office." \
--jsonOptional environment:
SANGRIA_URL=https://api.getsangria.com