refactor: move shell and snapshot code out of codex-core

This commit is contained in:
Michael Bolin
2026-04-02 10:41:23 -07:00
parent e846fed2b1
commit 379acefcc7
33 changed files with 1449 additions and 1474 deletions
+21
View File
@@ -1865,6 +1865,7 @@ dependencies = [
"codex-rollout",
"codex-sandboxing",
"codex-secrets",
"codex-shell",
"codex-shell-command",
"codex-shell-escalation",
"codex-state",
@@ -2568,6 +2569,24 @@ dependencies = [
"tracing",
]
[[package]]
name = "codex-shell"
version = "0.0.0"
dependencies = [
"anyhow",
"codex-otel",
"codex-protocol",
"codex-utils-pty",
"libc",
"pretty_assertions",
"serde",
"tempfile",
"tokio",
"tracing",
"uuid",
"which 8.0.0",
]
[[package]]
name = "codex-shell-command"
version = "0.0.0"
@@ -2575,6 +2594,7 @@ dependencies = [
"anyhow",
"base64 0.22.1",
"codex-protocol",
"codex-shell",
"codex-utils-absolute-path",
"once_cell",
"pretty_assertions",
@@ -2668,6 +2688,7 @@ dependencies = [
"codex-code-mode",
"codex-features",
"codex-protocol",
"codex-shell",
"codex-utils-absolute-path",
"codex-utils-pty",
"pretty_assertions",