deerflow2/frontend/src
Purricane 835ba041f8
feat: add Claude Code OAuth and Codex CLI as LLM providers (#1166)
* feat: add Claude Code OAuth and Codex CLI providers

Port of bytedance/deer-flow#1136 from @solanian's feat/cli-oauth-providers branch.\n\nCarries the feature forward on top of current main without the original CLA-blocked commit metadata, while preserving attribution in the commit message for review.

* fix: harden CLI credential loading

Align Codex auth loading with the current ~/.codex/auth.json shape, make Docker credential mounts directory-based to avoid broken file binds on hosts without exported credential files, and add focused loader tests.

* refactor: tighten codex auth typing

Replace the temporary Any return type in CodexChatModel._load_codex_auth with the concrete CodexCliCredential type after the credential loader was stabilized.

* fix: load Claude Code OAuth from Keychain

Match Claude Code's macOS storage strategy more closely by checking the Keychain-backed credentials store before falling back to ~/.claude/.credentials.json. Keep explicit file overrides and add focused tests for the Keychain path.

* fix: require explicit Claude OAuth handoff

* style: format thread hooks reasoning request

* docs: document CLI-backed auth providers

* fix: address provider review feedback

* fix: harden provider edge cases

* Fix deferred tools, Codex message normalization, and local sandbox paths

* chore: narrow PR scope to OAuth providers

* chore: remove unrelated frontend changes

* chore: reapply OAuth branch frontend scope cleanup

* fix: preserve upload guards with reasoning effort wiring

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-03-22 22:39:50 +08:00
..
app fix: improve MiniMax code plan integration (#1169) 2026-03-20 17:18:59 +08:00
components fix: improve MiniMax code plan integration (#1169) 2026-03-20 17:18:59 +08:00
core feat: add Claude Code OAuth and Codex CLI as LLM providers (#1166) 2026-03-22 22:39:50 +08:00
hooks feat: implement basic web app 2026-01-15 23:40:21 +08:00
lib chore: 移除所有 Citations 相关逻辑,为后续重构做准备 2026-02-09 16:24:01 +08:00
server/better-auth style: format 2026-01-17 00:13:24 +08:00
styles fix: improve MiniMax code plan integration (#1169) 2026-03-20 17:18:59 +08:00
typings feat: add 'about' page 2026-02-06 15:18:37 +08:00
env.js feat: implement the first section of landing page 2026-01-23 00:15:21 +08:00