Files
zeekayandGitHub 8849eef91e release: name the repository the run is in (hanzoai/dev is the app now) (#26)
* release: name the repository the run is in, not the one it was (hanzoai/dev is the app now)

The release API calls, the Homebrew formula, the npm fallback download and the
Windows diagnose script named hanzoai/dev. That name now belongs to the app, so
a run uploaded into a release that is not there. The workflow and the formula
read GITHUB_REPOSITORY; the shipped files name hanzoai/dev-v1.

Claude-Session: https://claude.ai/code/session_015XYKLn69gF4x75RWePpDBV

* The repository is hanzoai/dev-v1: clone URLs, the npm download, the formula, crate and package metadata

hanzoai/dev is the app now. npm/bin/coder.js and the committed formula still
downloaded releases from it.

Claude-Session: https://claude.ai/code/session_015XYKLn69gF4x75RWePpDBV
2026-11-21 01:58:51 -08:00

47 lines
1.4 KiB
JSON

{
"name": "@hanzo/dev",
"version": "0.7.23",
"license": "Apache-2.0",
"description": "Local AI coding agent for your terminal, powered by Hanzo AI",
"bin": {
"dev": "bin/coder.js"
},
"type": "module",
"engines": {
"node": ">=16"
},
"files": [
"bin/coder.js",
"bin/codex.js",
"postinstall.js",
"scripts/preinstall.js",
"scripts/windows-cleanup.ps1",
"dist"
],
"scripts": {
"preinstall": "node scripts/preinstall.js",
"postinstall": "node postinstall.js",
"prepublishOnly": "node -e \"const fs=require('fs'),path=require('path'); const repoGit=path.join(__dirname,'..','.git'); const inCi=process.env.GITHUB_ACTIONS==='true'||process.env.CI==='true'; if(fs.existsSync(repoGit) && !inCi){ console.error('Refusing to publish from codex-cli. Publishing happens via release.yml.'); process.exit(1);} else { console.log(inCi ? 'CI publish detected.' : 'Publishing staged package...'); }\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/hanzoai/dev-v1.git"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@hanzo/mcp": "2.4.7"
},
"devDependencies": {
"prettier": "^3.9.6"
},
"optionalDependencies": {
"@hanzo/dev-darwin-arm64": "0.7.2",
"@hanzo/dev-darwin-x64": "0.7.2",
"@hanzo/dev-linux-x64-musl": "0.7.2",
"@hanzo/dev-linux-arm64-musl": "0.7.2",
"@hanzo/dev-win32-x64": "0.7.2"
}
}