mirror of
https://github.com/openai/codex.git
synced 2026-08-23 13:09:46 +00:00
Install Guardian V2 in the app server (#38597)
## What changed - Add `codex-guardian-v2` to the app server's dependencies. - Install its feature-gated thread, approval-review, and tool lifecycle contributors with access to authentication and thread management. GitOrigin-RevId: 25672032ccb541138c8c87c9f27f2a7423b2eee0
This commit is contained in:
1
codex-rs/Cargo.lock
generated
1
codex-rs/Cargo.lock
generated
@@ -2015,6 +2015,7 @@ dependencies = [
|
||||
"codex-git-utils",
|
||||
"codex-goal-extension",
|
||||
"codex-guardian",
|
||||
"codex-guardian-v2",
|
||||
"codex-home",
|
||||
"codex-hooks",
|
||||
"codex-http-client",
|
||||
|
||||
@@ -199,6 +199,7 @@ codex-extension-items = { path = "ext/items" }
|
||||
codex-goal-extension = { path = "ext/goal" }
|
||||
codex-git-attribution = { path = "ext/git-attribution" }
|
||||
codex-guardian = { path = "ext/guardian" }
|
||||
codex-guardian-v2 = { path = "ext/guardian-v2" }
|
||||
codex-image-generation-extension = { path = "ext/image-generation" }
|
||||
codex-external-agent-migration = { path = "external-agent-migration" }
|
||||
codex-experimental-api-macros = { path = "codex-experimental-api-macros" }
|
||||
|
||||
@@ -51,6 +51,7 @@ codex-features = { workspace = true }
|
||||
codex-goal-extension = { workspace = true }
|
||||
codex-git-attribution = { workspace = true }
|
||||
codex-guardian = { workspace = true }
|
||||
codex-guardian-v2 = { workspace = true }
|
||||
codex-git-utils = { workspace = true }
|
||||
codex-file-watcher = { workspace = true }
|
||||
codex-hooks = { workspace = true }
|
||||
|
||||
@@ -80,7 +80,7 @@ where
|
||||
state_db,
|
||||
analytics_events_client,
|
||||
codex_otel::global(),
|
||||
thread_manager,
|
||||
thread_manager.clone(),
|
||||
goal_service,
|
||||
|config: &Config| GoalExtensionConfig {
|
||||
enabled: config.features.enabled(codex_features::Feature::Goals),
|
||||
@@ -95,6 +95,7 @@ where
|
||||
http_client_factory,
|
||||
);
|
||||
codex_guardian::install(&mut builder, guardian_agent_spawner);
|
||||
codex_guardian_v2::install(&mut builder, auth_manager.clone(), thread_manager);
|
||||
codex_memories_extension::install(&mut builder, codex_otel::global());
|
||||
codex_mcp_extension::install(&mut builder);
|
||||
codex_mcp_extension::install_executor_plugins(&mut builder, environment_manager);
|
||||
|
||||
Reference in New Issue
Block a user