Disable CLI ChatGPT apply product

This commit is contained in:
Meta Vens 2026-05-13 15:19:34 +01:00
commit c0d92cb8f8
6 changed files with 18 additions and 30 deletions

View file

@ -854,8 +854,10 @@ product metadata graft.
The TUI connector prefetch path no longer imports `codex-chatgpt`; it calls the
inert core connector compatibility stub. ChatGPT app connector discovery is not
a TUI dependency anymore. `codex-chatgpt` still survives for CLI apply/get-task
surfaces and should be judged separately against the OpenAI auth/model spine.
a TUI dependency anymore. CLI `apply` is now disabled compatibility shell too,
so `codex-cli` no longer depends on `codex-chatgpt` for ChatGPT task/apply
product commands. `codex-chatgpt` remains in the workspace only as an orphaned
product crate until the workspace itself is pruned.
The Phase 6 freshness slice is landed. It exposes read-only
`thread/epiphany/freshness` from live retrieval summaries plus graph

Binary file not shown.

View file

@ -300,6 +300,9 @@ current_status:
dependencies were removed from `codex-mcp`, and MCP tool descriptions are no
longer decorated from plugin product metadata. The TUI connector prefetch
path now uses the inert core connector stub instead of `codex-chatgpt`, so
ChatGPT app connector listing is not a TUI dependency. MCP remains JSON-RPC
at the edge; user-declared MCP servers are the only runtime MCP authority.
ChatGPT app connector listing is not a TUI dependency. CLI `apply` is now a
disabled compatibility shell, so `codex-cli` no longer depends on
`codex-chatgpt` for ChatGPT task/apply product commands. MCP remains
JSON-RPC at the edge; user-declared MCP servers are the only runtime MCP
authority.
next_action: Continue starving coordinator/runtime execution and operator surfaces off app-server JSON-RPC and out of `codex_message_processor.rs`; keep the vestigial Codex organ narrowed to subscription auth/model transport.

22
vendor/codex/codex-rs/Cargo.lock generated vendored
View file

@ -2103,27 +2103,6 @@ dependencies = [
"serde_with",
]
[[package]]
name = "codex-chatgpt"
version = "0.0.0"
dependencies = [
"anyhow",
"clap",
"codex-app-server-protocol",
"codex-config",
"codex-connectors",
"codex-core",
"codex-git-utils",
"codex-login",
"codex-utils-cargo-bin",
"codex-utils-cli",
"pretty_assertions",
"serde",
"serde_json",
"tempfile",
"tokio",
]
[[package]]
name = "codex-cli"
version = "0.0.0"
@ -2138,7 +2117,6 @@ dependencies = [
"codex-app-server-protocol",
"codex-app-server-test-client",
"codex-arg0",
"codex-chatgpt",
"codex-cloud-tasks",
"codex-config",
"codex-core",

View file

@ -25,7 +25,6 @@ codex-app-server-protocol = { workspace = true }
codex-app-server-test-client = { workspace = true }
codex-arg0 = { workspace = true }
codex-api = { workspace = true }
codex-chatgpt = { workspace = true }
codex-cloud-tasks = { path = "../cloud-tasks" }
codex-utils-cli = { workspace = true }
codex-config = { workspace = true }

View file

@ -5,8 +5,6 @@ use clap_complete::Shell;
use clap_complete::generate;
use codex_arg0::Arg0DispatchPaths;
use codex_arg0::arg0_dispatch_or_else;
use codex_chatgpt::apply_command::ApplyCommand;
use codex_chatgpt::apply_command::run_apply_command;
use codex_cli::LandlockCommand;
use codex_cli::SeatbeltCommand;
use codex_cli::WindowsCommand;
@ -98,6 +96,12 @@ struct MultitoolCli {
subcommand: Option<Subcommand>,
}
#[derive(Debug, Args)]
struct ApplyCommand {
#[clap(flatten)]
config_overrides: CliConfigOverrides,
}
#[derive(Debug, clap::Subcommand)]
enum Subcommand {
/// Run Codex non-interactively.
@ -1067,7 +1071,9 @@ async fn cli_main(arg0_paths: Arg0DispatchPaths) -> anyhow::Result<()> {
&mut apply_cli.config_overrides,
root_config_overrides.clone(),
);
run_apply_command(apply_cli, /*cwd*/ None).await?;
anyhow::bail!(
"ChatGPT apply commands are disabled in Epiphany; the Codex organ is limited to auth/model routing."
);
}
Some(Subcommand::ResponsesApiProxy(args)) => {
reject_remote_mode_for_subcommand(