mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-25 03:32:32 +00:00
Our history is just-every's with author emails rewritten, so the graphs are
disjoint and git finds no merge base. Supplied one by hand: d1f1f51a41, the
just-every commit matching our Oct-2025 fork point (22 files apart). 9618
upstream commits, 7004 files, +1.81M/-159k, 37 conflicts.
Resolution:
- Upstream code where our side was the Oct-2025 prototype of a feature they
have since reimplemented 3-5x larger (agent_runs, browser_sessions,
history_cell/{agent,browser}, the vt100 harness and its snapshots).
- Upstream's config.rs module split (builder/defaults/sources/validation)
kept; zen5-coder and the provider-follows-model rule re-applied on top.
- Ours where the file IS the identity: README, package.json, postinstall,
release notes pipeline, integration-zed.
- Hybrid where upstream improved a file we had branded: updates.rs (their
release-repo migration, our hanzoai/dev), release.yml (their fail-fast npm
auth check, our package name), chatwidget.rs (their turn handling, our
HANZO_USER_KEY hint), exec human output (their 237 lines, our banner).
Superseded and dropped deliberately: our resume_command_name() coder-alias
hack — upstream's derive_resume_command_name() reads the invocation basename
generically, which yields "dev" for us.
LLM.md now records the real topology and the sync point; AGENTS.md and
CLAUDE.md are symlinks to it again. Single parent on purpose: adopting
jecode/main as a second parent would re-import 13,742 commits carrying the
upstream author emails a prior rewrite deliberately removed.
Version 0.2.188 -> 0.2.189.
Co-authored-by: Hanzo Dev <[email protected]>
74 lines
2.3 KiB
TOML
74 lines
2.3 KiB
TOML
[package]
|
|
edition = "2024"
|
|
name = "code-cli"
|
|
version = { workspace = true }
|
|
|
|
# `dev` is the product. It is what `hanzo code` launches (by bare name, off
|
|
# PATH) and what the installer contract promises.
|
|
[[bin]]
|
|
name = "dev"
|
|
path = "src/main.rs"
|
|
|
|
# `code` stays as an alias so existing installs keep working. It is the same
|
|
# program — an alias, never the canonical name.
|
|
[[bin]]
|
|
name = "code"
|
|
path = "src/main.rs"
|
|
|
|
[lib]
|
|
name = "code_cli"
|
|
path = "src/lib.rs"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
chrono = { 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-utils-rustls-provider = { 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",
|
|
] }
|
|
tokio-tungstenite = { version = "0.23", default-features = true, features = ["rustls-tls-webpki-roots"] }
|
|
tracing = { workspace = true, features = ["log"] }
|
|
tracing-subscriber = { workspace = true, features = ["env-filter", "fmt"] }
|
|
|
|
[dev-dependencies]
|
|
filetime = { workspace = true }
|