Subscription OAuth providers (Claude, Codex) + hx -p
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
This commit is contained in:
hermes committed 2026-09-30 09:30:58 +00:00
1 parent e16e33ed2d
commit da9d5d1ae0
9 files changed
+3101 -6

No files matched your search

+4
View File
@@ -1,5 +1,9 @@
//! Provider-agnostic LLM types and the `Provider` trait.
pub mod anthropic;
pub mod auth;
pub mod codex;
use futures::stream::BoxStream;
use serde::{Deserialize, Serialize};
use serde_json::Value;