From 0f5d484151ca4264ed1d35405cf97ee50b8fda85 Mon Sep 17 00:00:00 2001 From: claude Date: Thu, 4 Jun 2026 16:27:57 +0000 Subject: [PATCH] refactor: move codex_auth into contrib/codex Co-Authored-By: Claude Sonnet 4.6 --- bot_bottle/contrib/codex/agent_provider.py | 2 +- bot_bottle/{ => contrib/codex}/codex_auth.py | 0 tests/unit/test_codex_auth.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename bot_bottle/{ => contrib/codex}/codex_auth.py (100%) diff --git a/bot_bottle/contrib/codex/agent_provider.py b/bot_bottle/contrib/codex/agent_provider.py index 472999c..b57abe3 100644 --- a/bot_bottle/contrib/codex/agent_provider.py +++ b/bot_bottle/contrib/codex/agent_provider.py @@ -23,7 +23,7 @@ from ...agent_provider import ( AgentProvisionFile, AgentProvisionPlan, ) -from ...codex_auth import codex_host_access_token, write_codex_dummy_auth_file +from .codex_auth import codex_host_access_token, write_codex_dummy_auth_file from ...egress import CODEX_HOST_CREDENTIAL_TOKEN_REF, EgressRoute from ...log import die, info, warn diff --git a/bot_bottle/codex_auth.py b/bot_bottle/contrib/codex/codex_auth.py similarity index 100% rename from bot_bottle/codex_auth.py rename to bot_bottle/contrib/codex/codex_auth.py diff --git a/tests/unit/test_codex_auth.py b/tests/unit/test_codex_auth.py index d63ae2a..00a357f 100644 --- a/tests/unit/test_codex_auth.py +++ b/tests/unit/test_codex_auth.py @@ -9,7 +9,7 @@ import unittest from datetime import datetime, timezone from pathlib import Path -from bot_bottle.codex_auth import ( +from bot_bottle.contrib.codex.codex_auth import ( codex_auth_path, codex_dummy_auth_json, codex_host_access_token, -- 2.52.0