Agent Zero AI framework
chore(oauth): pin Codex client version to 0.160.1
Alessandroe3269ed6d151
diff --git a/plugins/_oauth/AGENTS.md b/plugins/_oauth/AGENTS.mdindex 6d9a05e4f..e701efcc1 100644--- a/plugins/_oauth/AGENTS.md+++ b/plugins/_oauth/AGENTS.md@@ -22,7 +22,7 @@## Local Contracts- Core model code such as `models.py` must stay provider-agnostic. Do not add Codex, GitHub Copilot, Gemini, xAI, or other OAuth provider knowledge outside plugin-owned config or plugin hooks.-- Ship the tested Codex client version in `default_config.yaml` for upstream version headers and catalog discovery without an installed CLI. Existing saved plugin settings take precedence; this default does not migrate blank or explicit overrides. A blank override probes `codex --version` and omits the version if no CLI is available; it does not discover new releases.+- Keep the Codex client version explicitly pinned in `default_config.yaml` and update the pin with each adopted version (currently `0.160.1`) for upstream version headers and catalog discovery without an installed CLI. Existing saved plugin settings take precedence; this default does not migrate blank or explicit overrides. A blank override probes `codex --version` and omits the version if no CLI is available; it does not discover new releases.- Add OAuth model providers in `_oauth/conf/model_providers.yaml`, not `_model_config/provider_metadata.yaml`.- Provider cards and model slot actions must be driven by backend provider status. Do not reintroduce hardcoded frontend provider lists or fallback provider catalogs.- OAuth account surfaces in settings, discovery, and onboarding must use the provider registry/status summary rather than Codex-only frontend state.diff --git a/plugins/_oauth/default_config.yaml b/plugins/_oauth/default_config.yamlindex a3d2ab2a7..eab6a6c5d 100644--- a/plugins/_oauth/default_config.yaml+++ b/plugins/_oauth/default_config.yaml@@ -21,7 +21,7 @@ codex:forced_workspace_id: ""upstream_base_url: "https://chatgpt.com/backend-api/codex"- codex_version: "0.159.2"+ codex_version: "0.160.1"models: []request_timeout_seconds: 120