@harshsaver/wednesday-cli
v0.1.0
Published
wednesday.bot CLI — chat with your IMAP mailbox
Readme
@wednesday/cli
Chat with your IMAP mailbox from the terminal.
npx @wednesday/cli --help
npx @wednesday/cli auth token --stdin # paste PAT or JWT
npx @wednesday/cli doctor
npx @wednesday/cli mailboxes list
npx @wednesday/cli chat "summarize unread from last week"Auth
Create a personal access token on https://wednesday.bot/developer (or use a Supabase session JWT temporarily). Prefer PATs: they are revocable and scoped.
# env overrides ~/.wednesday/config.json
export WEDNESDAY_API_BASE=https://wednesday.bot/api
export WEDNESDAY_TOKEN=wed_pat_…Confirmations
Mutations (send, delete, label, move, archive) require an exact server-stored
proposal. Interactive TTY prompts approve by confirmation id. Non-interactive
chat exits with code 6 and prints:
wednesday confirmations approve <id>Exit codes
| Code | Meaning | |------|---------| | 0 | success | | 2 | usage / config | | 3 | auth / scope | | 4 | network / timeout | | 5 | API / provider | | 6 | confirmation denied / required | | 130 | interrupt |
License
TBD — package metadata prepared for public publish; legal choice is a release gate.
