Wendong-Fan
e82e3fb5c0
fix
2026-02-12 18:48:18 +08:00
Wendong-Fan
f5e670c743
Merge branch 'main' into feat/codex-oauth
2026-02-11 18:48:15 +00:00
Wendong-Fan
6d9a381d27
chore: update camel version to 0287 ( #1230 )
2026-02-12 02:04:12 +08:00
Wendong-Fan
c6adcdec41
chore: bump up camel version to 0.2.86 ( #1222 )
2026-02-11 16:01:16 +08:00
Tao Sun
bef9aee553
chore: fix mcp is called synchronously. ( #1101 )
...
Co-authored-by: a7m-1st <Ahmed.jimi.awelkeir500@gmail.com>
2026-02-11 13:29:49 +08:00
Dream
0a5e0231d4
fix: make logos visible in dark mode ( #1197 )
...
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
Pre-commit / pre-commit (push) Waiting to run
Test / Run Python Tests (push) Waiting to run
Co-authored-by: Guohao Li <lightaime@gmail.com>
Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
2026-02-10 19:11:05 +08:00
eureka928
b8951609a2
refactor: move Codex OAuth endpoints from tool_controller to codex_controller
...
Codex OAuth is an authentication method for the OpenAI provider, not a
standalone MCP tool. Move all Codex endpoints to a dedicated controller
with semantically correct paths (/codex/connect, /codex/disconnect) and
update the frontend to use the new routes.
2026-02-10 10:57:19 +01:00
eureka928
d09ccba151
refactor: move Codex OAuth manager out of agent/toolkit to utils
...
Codex OAuth is a provider credential manager, not an agent toolkit.
Move it to app/utils/codex_oauth.py alongside oauth_state_manager.py.
2026-02-10 10:44:38 +01:00
eureka928
1fc69bbeb5
fix: remove unused Optional import to pass ruff lint
2026-02-10 10:44:38 +01:00
eureka928
be38ca5a1d
fix: add missing blank line to pass ruff lint
2026-02-10 10:44:38 +01:00
eureka928
009e8e27ef
fix: address Codex OAuth review feedback
...
- Save CODEX_OAUTH_TOKEN marker config after OAuth to track install state
- Check marker config instead of OPENAI_API_KEY for install detection
- Avoid mutating input dict in CodexOAuthManager.save_token()
- Add CODEX_OAUTH_TOKEN to Codex env_vars whitelist in server config
- Prioritize named integration descriptions over env_vars fallback
2026-02-10 10:44:38 +01:00
eureka928
2601f197ed
refactor: save Codex OAuth token as OpenAI provider instead of toolkit config
...
Address review feedback: Codex OAuth obtains an OpenAI API key for model
access, not agent tools. After successful OAuth, the key is now saved via
the Provider API (/api/provider) so it integrates with the model provider
configuration system.
Changes:
- Backend: return access_token in Codex install response for provider storage
- Frontend: replace /api/configs storage with /api/provider for Codex
- Server: mark CODEX ConfigInfo entry as type=provider with empty env_vars
- i18n: add missing codex translation keys, remove verbose t() fallback pattern
- Fix stray merge conflict marker in ToolSelect.tsx
- Remove debug console.log statements from MCP.tsx
2026-02-10 10:44:38 +01:00
eureka928
2699f6e719
feat: add OAuth state parameter for CSRF protection
2026-02-10 10:44:38 +01:00
eureka928
1497f1adf4
test: add unit tests for codex_toolkit.py
2026-02-10 10:44:38 +01:00
eureka928
aa29c41f3b
refactor: move imports to top of codex_toolkit.py
2026-02-10 10:44:38 +01:00
eureka928
2fa8833391
feat: encrypt OAuth tokens using machine-derived key
...
- Add Fernet encryption for token storage using cryptography library
- Derive encryption key from machine-specific identifiers (username,
hostname, machine-id) using PBKDF2HMAC with 100k iterations
- Set restrictive file permissions (0600) on encrypted token file
- Tokens tied to specific machine for additional security
2026-02-10 10:44:38 +01:00
eureka928
54ba1a6602
style: apply ruff formatting fixes
2026-02-10 10:44:38 +01:00
eureka928
ba140fe7bb
refactor: address PR #1129 review comments
...
- Extract Codex config constants (CODEX_CONFIG_GROUP, CODEX_CONFIG_NAME,
CODEX_POLL_TIMEOUT_MS) in ToolSelect.tsx
- Extract CODEX_TOKEN_PATH constant and clarify CODEX_CLIENT_ID is a
fixed public value in codex_toolkit.py
- Simplify expires_in/expires_at: compute absolute expiry from relative
value and only persist expires_at
- Add FileLock around token file reads/writes to prevent parallel
update races
- Add TODO for response status string improvement and refactor of
shared OAuth install logic
- Apply formatting suggestion on codex uninstall message
2026-02-10 10:44:38 +01:00
Dream
cd0544da5c
Update backend/app/controller/tool_controller.py
...
Co-authored-by: bytecii <994513625@qq.com>
2026-02-10 10:44:38 +01:00
eureka928
87339a4c9f
fix: replace undefined Optional with int | None in CodexTokenRequest
2026-02-10 10:44:38 +01:00
eureka928
88d2f15936
style: fix pre-commit lint errors (E501, yapf formatting)
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 10:44:38 +01:00
eureka928
c2739961a6
feat: add Codex install/uninstall/save-token/status endpoints
...
Add codex handling to install_tool and uninstall_tool endpoints.
Add POST /codex/save-token for manual API key fallback and
GET /codex/status for token status. Add Codex to available tools list.
2026-02-10 10:44:38 +01:00
eureka928
7650a8997a
feat: add CodexOAuthManager for OpenAI Codex PKCE OAuth flow
...
Implements Authorization Code + PKCE flow using Codex CLI's public
client_id. Handles background OAuth via localhost callback server,
token persistence at ~/.eigent/tokens/codex/, and refresh logic.
2026-02-10 10:44:38 +01:00
Wendong-Fan
08883626cc
chore: remove unstructured ( #1177 )
2026-02-07 23:46:35 +08:00
Wendong-Fan
a19e1fc878
chore: limit setuptool version to fix build issue ( #1176 )
2026-02-07 23:31:31 +08:00
Wendong-Fan
3460a59bc2
Fix/fix model key UI nonstopping ( #1172 )
...
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
Pre-commit / pre-commit (push) Waiting to run
Test / Run Python Tests (push) Waiting to run
Co-authored-by: bytecraftii <bytecraftii@users.noreply.github.com>
Co-authored-by: bytecraftii <994513625@qq.com>
Co-authored-by: bytecii <bytecii@users.noreply.github.com>
Co-authored-by: Puzhen Zhang <91596298+nitpicker55555@users.noreply.github.com>
2026-02-07 07:39:54 +08:00
Dream
ba47db8a84
refactor: move toolkit from utils to agent module ( #1045 ) ( #1171 )
...
Co-authored-by: bytecii <994513625@qq.com>
2026-02-06 15:22:21 -08:00
Tong Chen
09200a8cf6
fix: use current attachments for follow-up questions instead of first… ( #1167 )
...
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
Pre-commit / pre-commit (push) Waiting to run
Test / Run Python Tests (push) Waiting to run
Co-authored-by: Wendong-Fan <w3ndong.fan@gmail.com>
Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
2026-02-06 20:48:36 +08:00
bytecii
14ad29d371
fix: fix for failure analyze task ( #1156 )
...
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
Pre-commit / pre-commit (push) Waiting to run
Test / Run Python Tests (push) Waiting to run
Co-authored-by: bytecii <bytecii@users.noreply.github.com>
Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
2026-02-06 04:54:31 +08:00
Tao Sun
ff08147ef7
chore: recover slack ( #1153 )
...
Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
Co-authored-by: Wendong-Fan <w3ndong.fan@gmail.com>
2026-02-05 23:36:06 +08:00
MkDev11
db20ff1aea
feat: add RAG toolkit for knowledge base queries ( #1003 )
...
Co-authored-by: mkdev11 <MkDev11@users.noreply.github.com>
Co-authored-by: Wendong-Fan <w3ndong.fan@gmail.com>
Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
2026-02-05 21:38:36 +08:00
bytecii
eadc6ee56b
test: add basic benchmark ( #1138 )
...
Co-authored-by: bytecii <bytecii@users.noreply.github.com>
Co-authored-by: Tong Chen <web_chentong@163.com>
2026-02-05 01:15:55 -08:00
Dream
261e10c737
feat: improve cross-agent file and note sharing ( #1145 )
...
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
Pre-commit / pre-commit (push) Waiting to run
Test / Run Python Tests (push) Waiting to run
Co-authored-by: bytecii <994513625@qq.com>
Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
Co-authored-by: Wendong-Fan <w3ndong.fan@gmail.com>
2026-02-05 06:18:58 +08:00
Dream
ce782762e8
chore: upgrade backend Python to 3.11 ( #1142 )
...
Co-authored-by: Wendong-Fan <w3ndong.fan@gmail.com>
Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
2026-02-05 05:24:52 +08:00
Wendong-Fan
975648c1d2
chore: downgrade camel version to 0.2.85a0
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
Pre-commit / pre-commit (push) Waiting to run
Test / Run Python Tests (push) Waiting to run
2026-02-04 18:39:22 +08:00
Wendong-Fan
932a4b1943
fix: add temporary fallback for _analyze_task returned None ( #1147 )
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
Pre-commit / pre-commit (push) Waiting to run
Test / Run Python Tests (push) Waiting to run
2026-02-04 08:14:25 +08:00
Wendong-Fan
893f51fc82
chore: fix pre commit format and pipeline issue ( #1144 )
2026-02-04 08:06:29 +08:00
Wendong-Fan
efa991a220
fix: circle import issue ( #1139 )
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
Pre-commit / pre-commit (push) Waiting to run
Test / Run Python Tests (push) Waiting to run
2026-02-03 22:40:19 +08:00
MkDev11
7c287fe6d1
refactor: extract event_loop_utils module and improve agent response handling ( #999 )
...
Co-authored-by: mkdev11 <MkDev11@users.noreply.github.com>
Co-authored-by: Tao Sun <168447269+fengju0213@users.noreply.github.com>
Co-authored-by: a7m-1st <Ahmed.jimi.awelkeir500@gmail.com>
Co-authored-by: Wendong-Fan <w3ndong.fan@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-02-03 22:15:36 +08:00
bytecii
42ce1d96be
refactor: format python backend code ( #1132 )
...
Co-authored-by: bytecii <bytecii@users.noreply.github.com>
Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
2026-02-03 21:40:28 +08:00
罗鹏铖
649bdc6822
add callback methods for task updates/decomposition ( #1127 )
...
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
Pre-commit / pre-commit (push) Waiting to run
Co-authored-by: bytecii <994513625@qq.com>
2026-02-03 14:56:51 +08:00
Wendong-Fan
4fb48f695b
enhance: dark mode icon ( #1122 )
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
Pre-commit / pre-commit (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-02-02 05:22:56 +08:00
bytecii
81e6c7f252
refactor: fix note taking toolkit minor bug and refactor toolkit listen ( #1091 )
...
Co-authored-by: bytecraftii <bytecraftii@users.noreply.github.com>
Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
Co-authored-by: Wendong-Fan <w3ndong.fan@gmail.com>
2026-02-02 01:12:15 +08:00
bytecii
b3f47f907a
refactor: rename social media and add pre-commit ( #1113 )
...
Co-authored-by: bytecraftii <bytecraftii@users.noreply.github.com>
Co-authored-by: bytecii <bytecii@users.noreply.github.com>
Co-authored-by: Wendong-Fan <w3ndong.fan@gmail.com>
2026-02-01 23:53:41 +08:00
Tong Chen
af93bb3065
feat: Add Lint & Format ( #878 )
...
Co-authored-by: a7m-1st <Ahmed.jimi.awelkeir500@gmail.com>
Co-authored-by: eigent-ai <camel@eigent.ai>
Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
Co-authored-by: Wendong-Fan <w3ndong.fan@gmail.com>
2026-02-01 23:16:18 +08:00
Phives
f256272eed
fix(cookie_manager): robustness — None-safe value, search_cookies domain, temp DB cleanup ( #1098 )
...
Co-authored-by: Contributor <contributor@example.com>
Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
Co-authored-by: Wendong-Fan <w3ndong.fan@gmail.com>
2026-02-01 23:14:53 +08:00
Dream
ebb4ca00ac
feat: Add LinkedIn OAuth integration with CAMEL-AI toolkit ( #1104 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Wendong-Fan <w3ndong.fan@gmail.com>
Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
2026-01-31 03:05:02 +08:00
bytecraftii
4b8394d084
refactor: refactor agent and modify sys prompt for terminal ls ( #1106 )
...
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
Co-authored-by: bytecraftii <bytecraftii@users.noreply.github.com>
2026-01-30 17:09:08 +08:00
bytecraftii
fd481ded5b
fix: minor change of workforce completion order ( #1055 )
...
Co-authored-by: bytecraftii <bytecraftii@users.noreply.github.com>
2026-01-27 05:05:48 +08:00
MkDev11
37ae935e78
feat: support flexible model config for different agents ( #1001 )
...
Co-authored-by: mkdev11 <MkDev11@users.noreply.github.com>
Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
Co-authored-by: Wendong-Fan <w3ndong.fan@gmail.com>
2026-01-27 04:19:36 +08:00