mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-25 03:23:33 +00:00
This commit completes Phase 1 of the codebase cleanup plan documented in ROADMAP.md and related migration documents. Major changes: - Removed legacy test suites from code-rs/ crates (~35,000 lines) - Adopted upstream codex-mcp-client and codex-responses-api-proxy - Deleted TUI compat layer, agent task planning docs, and orphaned modules - Updated documentation to reflect current state and future phases Test Coverage: - Deleted tests from: app-server, apply-patch, chatgpt, cli, core, exec, login, mcp-server - Documented 9 remaining coverage gaps requiring new tests (see docs/migration/legacy-tests-retirement.md) - Preserved smoke test infrastructure in tui/tests/ui_smoke.rs Crate Adoptions: - mcp-client: Now re-exports codex-mcp-client with fork-specific buffer config - responses-api-proxy: Now re-exports codex-responses-api-proxy with minimal wrapper - mcp-types: Updated to use upstream types where possible TUI Cleanup: - Removed compat.rs ratatui adapter layer - Deleted obsolete modules: app_backtrack, custom_terminal, scroll_view, text_block, transcript_app - Archived agent_tasks/ planning docs to docs/archive/ Documentation Updates: - ROADMAP.md: Marked Phases 1-2 complete, updated next actions - TEST_SUITE_RESET.md: Documented Phase 1 completion - DEAD_CODE_INVENTORY.md: Updated with deletion outcomes - Added docs/migration/legacy-tests-retirement.md with 6-week plan - Added docs/maintenance/prompt-architecture.md Next Steps (Phase 2-3): - Port critical test coverage (9 test files identified) - Expand smoke test scenarios - Continue upstream tracking per monthly cadence See docs/migration/ for detailed migration status and roadmap. Co-authored-by: Hanzo Dev <[email protected]>
62 lines
1.8 KiB
TOML
62 lines
1.8 KiB
TOML
[package]
|
|
edition = "2024"
|
|
name = "code-cli"
|
|
version = { workspace = true }
|
|
|
|
[[bin]]
|
|
name = "code"
|
|
path = "src/main.rs"
|
|
|
|
[lib]
|
|
name = "code_cli"
|
|
path = "src/lib.rs"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
clap = { workspace = true, features = ["derive"] }
|
|
clap_complete = { workspace = true }
|
|
code-app-server = { workspace = true }
|
|
code-arg0 = { workspace = true }
|
|
code-chatgpt = { workspace = true }
|
|
code-common = { workspace = true, features = ["cli"] }
|
|
code-core = { workspace = true }
|
|
code-exec = { workspace = true }
|
|
code-login = { workspace = true }
|
|
code-mcp-server = { workspace = true }
|
|
code-process-hardening = { workspace = true }
|
|
code-protocol = { workspace = true }
|
|
code-app-server-protocol = { workspace = true }
|
|
code-protocol-ts = { workspace = true }
|
|
code-responses-api-proxy = { workspace = true }
|
|
code-tui = { workspace = true }
|
|
code-version = { path = "../code-version" }
|
|
code-cloud-tasks = { workspace = true }
|
|
ctor = { workspace = true }
|
|
futures = { workspace = true }
|
|
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "gzip", "json"] }
|
|
regex = "1"
|
|
tar = "0.4"
|
|
flate2 = { version = "1", default-features = false, features = ["rust_backend"] }
|
|
zip = { version = "0.6", default-features = false, features = ["deflate"] }
|
|
tempfile = { workspace = true }
|
|
uuid = { version = "1", features = ["v4"] }
|
|
which = { workspace = true }
|
|
owo-colors = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
supports-color = { workspace = true }
|
|
tokio = { workspace = true, features = [
|
|
"io-std",
|
|
"macros",
|
|
"process",
|
|
"rt-multi-thread",
|
|
"signal",
|
|
] }
|
|
tracing = { workspace = true, features = ["log"] }
|
|
tracing-subscriber = { workspace = true, features = ["env-filter", "fmt"] }
|
|
|
|
[dev-dependencies]
|