aKode fase 2b-1 (WIP): rimossi cloud-config, apps MCP ChatGPT, upload file, connectors-extension, rate limits backend; plugin remoti in corso (test non ancora compilanti)
Some checks failed
blocking-ci / Bazel (push) Has been cancelled
blocking-ci / Blob size policy (push) Has been cancelled
blocking-ci / cargo-deny (push) Has been cancelled
blocking-ci / Codespell (push) Has been cancelled
blocking-ci / repo-checks (push) Has been cancelled
blocking-ci / rust-ci (push) Has been cancelled
blocking-ci / sdk (push) Has been cancelled
blocking-ci / CI required (push) Has been cancelled
postmerge-ci / rust-ci-full (push) Has been cancelled
postmerge-ci / v8-canary (push) Has been cancelled
postmerge-ci / Postmerge CI results (push) Has been cancelled

This commit is contained in:
Andrea
2026-11-09 13:55:36 +01:00
parent 137106bf17
commit e4209e2755
166 changed files with 155 additions and 31558 deletions

View File

@@ -18,7 +18,6 @@ workspace = true
[dependencies]
anyhow = { workspace = true }
codex-cloud-config = { workspace = true }
codex-config = { workspace = true }
codex-core = { workspace = true }
codex-windows-sandbox = { workspace = true }

View File

@@ -4,11 +4,9 @@
use anyhow::Context;
use anyhow::Result;
use anyhow::bail;
use codex_cloud_config::chatgpt_config_bundle_loader_for_storage_without_cache;
use codex_config::ConfigLoadOptions;
use codex_config::ConfigRequirements;
use codex_config::types::WindowsSandboxModeToml;
use codex_core::config::bootstrap_auth_config;
use codex_core::config::load_config_toml_with_layer_stack;
use codex_windows_sandbox::WindowsSandboxProvisioningSettings;
use codex_windows_sandbox::WindowsSandboxProxyListeners;
@@ -65,31 +63,12 @@ pub(crate) fn validate_provisioning_request(
Err(anyhow::anyhow!("configuration runtime worker failed to impersonate the provisioning client"))
},
result = async {
let mut bootstrap_config = load_config_toml_with_layer_stack(
codex_home,
/*cwd*/ None,
Vec::new(),
ConfigLoadOptions::default(),
)
.await
.context("load bootstrap configuration")?;
// Use the default cloud-policy endpoint unless managed requirements override it.
bootstrap_config.config_toml.chatgpt_base_url = None;
let cloud_config_bundle = chatgpt_config_bundle_loader_for_storage_without_cache(
bootstrap_auth_config(codex_home, &bootstrap_config)
.context("resolve cloud configuration authentication")?,
/*enable_codex_api_key_env*/ false,
)
.await
.context("initialize cloud configuration authentication")?;
// aKode only enforces local managed requirements; no cloud bundle is fetched.
let config = load_config_toml_with_layer_stack(
codex_home,
/*cwd*/ None,
Vec::new(),
ConfigLoadOptions {
cloud_config_bundle,
..Default::default()
},
ConfigLoadOptions::default(),
)
.await
.context("load managed configuration")?;