From f2ee7e8a1d6d040022485b1d17afb966c47fb017 Mon Sep 17 00:00:00 2001 From: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> Date: Fri, 9 Oct 2026 13:03:17 +0800 Subject: [PATCH] fix(chat): supply host model auth to isolated Codex sessions Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> --- .../private-conversation-panel.tsx | 2 +- .../app-conversation-and-async-inbox-v0.md | 27 ++- ...p-conversation-and-async-inbox-v0.zh-CN.md | 14 +- loopx/capabilities/native_chat/codex_auth.py | 119 ++++++++++++ loopx/chat_agent.py | 31 ++++ tests/test_chat_codex_auth.py | 173 ++++++++++++++++++ 6 files changed, 355 insertions(+), 11 deletions(-) create mode 100644 loopx/capabilities/native_chat/codex_auth.py create mode 100644 tests/test_chat_codex_auth.py diff --git a/apps/presentation/dashboard/src/features/personal-workspace/private-conversation-panel.tsx b/apps/presentation/dashboard/src/features/personal-workspace/private-conversation-panel.tsx index ef1424b8f8..c97d1d2a01 100644 --- a/apps/presentation/dashboard/src/features/personal-workspace/private-conversation-panel.tsx +++ b/apps/presentation/dashboard/src/features/personal-workspace/private-conversation-panel.tsx @@ -123,7 +123,7 @@ export function PrivateConversationPanel() { {!loadingGroups && !groups.length && !groupError ?

{zh ? "此 App 尚无可见群。先将 Bot 加入调试群,再刷新。" : "This App has no visible groups. Add the Bot to a trial group, then refresh."}

: null} {groupError ?

{groupError}

: null} -

{zh ? "新话题需 @此 Bot;回复留在原话题。仅使用选定工作区,不能继承个人管家、全局工具或已有 Agent 会话。需要在独立执行环境登录;连接成功不代表已通过公开群准出。" : "Mention this Bot to start; replies stay in the original topic. Only the selected workspace is available, without personal steward, global tools or existing Agent Sessions. Sign in to the independent execution environment. Connection is not public release qualification."}

+

{zh ? "新话题需 @此 Bot;回复留在原话题。工作区、历史和工具保持隔离,模型认证可复用可信宿主账号。连接成功不代表已通过公开群准出。" : "Mention this Bot to start; replies stay in the original topic. Workspace, history and tools remain isolated; model authentication can use the trusted host account. Connection is not public release qualification."}

: null}