ci / check (push) Canceled after 0s
- auth: PKCE login, localhost callback or pasted redirect, refresh, ~/.hx/auth.json 0600, import Claude Code / Codex CLI logins - anthropic: Messages SSE with Claude Code identity, beta headers, tool-name mapping - codex: Responses SSE on chatgpt.com/backend-api/codex, store=false, encrypted reasoning replay - cli: hx login|logout <claude|codex>, hx -p Closes #3, closes #4, closes #5
596 B
596 B
hx
Minimal Rust coding agent. Uses your existing subscriptions, no API keys.
cargo build --release
hx login claude # Claude Pro/Max
hx login codex # ChatGPT Plus/Pro
hx -p "hello" # Claude
hx --provider codex -p "hello" # Codex
Existing Claude Code (~/.claude/.credentials.json) and Codex CLI (~/.codex/auth.json) logins are picked up automatically.
Credentials are stored in ~/.hx/auth.json (mode 0600) and refreshed automatically.
On a headless box, open the printed URL elsewhere and paste the final redirect URL back into the terminal.