mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-25 03:32:32 +00:00
hanzo-dev was a 53-day-frozen diverged fork that release.yml shipped only because codex-rs's v8 dep was believed to block musl. It doesn't — the prebuilt rusty_v8 musl artifacts already exist (rust-release.yml uses them). So collapse to the single canonical tree. - Delete hanzo-dev/ (1416 paths). codex-rs has zero deps on it; its 'unique' crates (zap/sse/backoff) aren't needed (codex-rs has its own upstream impls); zt/zap zero-trust was feature-gated OFF in release builds so it never shipped (external ~/work/hanzozt SDKs + docs unaffected; design notes kept in LLM.md). - Repoint every remaining hanzo-dev build/path ref to codex-rs: workflows (preview-build, issue-code, issue-comment), scripts (ci-tests.sh, generate-homebrew-formula.sh, pre-release.sh, build-fast.sh, hanzo.sh, hanzo-cli), code-sign actions, dependabot.yaml, merge-policy.json, docs. - Port the dev-fast cargo profile into codex-rs/Cargo.toml (build-fast.sh / pre-release.sh / release.yml preflight all use it). - Delete obsolete hanzo-dev-only tooling (check-codex-path-deps.sh, upstream-merge/diff-crates.sh) + repoint their callers. - package.json/build-fast.sh build only --bin dev (codex-rs has no dev-tui/dev-exec split bins). Verified locally: codex-rs builds `dev` (Hanzo Dev header, CODE_VERSION-aware); zero dangling source refs (only npm package names + Homebrew formula name kept).
33 lines
1.5 KiB
JSON
33 lines
1.5 KiB
JSON
{
|
|
"name": "hanzo-dev-monorepo",
|
|
"private": true,
|
|
"description": "Tools for repo-wide maintenance.",
|
|
"scripts": {
|
|
"format": "prettier --check '*.json' '!(CLAUDE|LLM|AGENTS).md' 'docs/*.md' '.github/workflows/*.yml' 'scripts/*.js' 'cli-proxy/*.js' 'dev-cli/*.js' 'dev-cli/scripts/*.js' 'console/*.js' 'dev-cli/*.js' 'hanzo-cli/*.js' 'hanzo-node/*.js'",
|
|
"format:fix": "prettier --write '*.json' '!(CLAUDE|LLM|AGENTS).md' 'docs/*.md' '.github/workflows/*.yml' 'scripts/*.js' 'cli-proxy/*.js' 'dev-cli/*.js' 'dev-cli/scripts/*.js' 'console/*.js' 'dev-cli/*.js' 'hanzo-cli/*.js' 'hanzo-node/*.js'",
|
|
"build": "cd codex-rs && cargo build --release --bin dev",
|
|
"build:dev": "cd codex-rs && cargo build --bin dev",
|
|
"build:quick": "cd codex-rs && cargo build --release --bin dev",
|
|
"test:local": "cd codex-rs && cargo run -p codex-cli --bin dev -- --version",
|
|
"fix": "cargo fmt && cargo fix --allow-dirty && cargo clippy --fix --allow-dirty",
|
|
"write-hooks-schema": "cargo run --manifest-path ./codex-rs/Cargo.toml -p codex-hooks --bin write_hooks_schema_fixtures"
|
|
},
|
|
"devDependencies": {
|
|
"prettier": "^3.6.2",
|
|
"typescript": "^5.9.2"
|
|
},
|
|
"resolutions": {
|
|
"braces": "^3.0.3",
|
|
"micromatch": "^4.0.8",
|
|
"semver": "^7.7.1"
|
|
},
|
|
"overrides": {
|
|
"punycode": "^2.3.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=22",
|
|
"pnpm": ">=10.29.3"
|
|
},
|
|
"packageManager": "[email protected]+sha512.498e1fb4cca5aa06c1dcf2611e6fafc50972ffe7189998c409e90de74566444298ffe43e6cd2acdc775ba1aa7cc5e092a8b7054c811ba8c5770f84693d33d2dc"
|
|
}
|