{
  "name": "autohand-cli",
  "version": "0.9.8",
  "packageManager": "bun@1.4.2",
  "license": "Apache-2.0",
  "description": "Autohand Code CLI is a fast, terminal-native AI coding agent for planning, editing, testing, and automating software work.",
  "repository": {
    "type": "git",
    "url": "https://github.com/autohandai/code-cli.git"
  },
  "homepage": "https://autohand.ai/cli/",
  "bugs": {
    "url": "https://github.com/autohandai/code-cli/issues"
  },
  "type": "module",
  "bin": {
    "autohand": "dist/index.js",
    "autohand-code": "dist/index.js",
    "agent": "dist/index.js",
    "ah": "dist/index.js"
  },
  "main": "dist/index.js",
  "files": [
    "dist",
    "scripts/ensure-node-pty-helper-permissions.mjs",
    "scripts/ensure-ink-cursor-intent.mjs",
    "assets",
    "schema",
    "examples/extensions",
    "docs/extensions.md",
    "docs/extension-authoring.md",
    "docs/guides/building-autohand-extensions.md",
    "docs/gif/extension-builder-demo.gif",
    "docs/video/extension-builder-demo.mp4",
    "docs/video/extension-builder-demo.cast"
  ],
  "scripts": {
    "go": "./install-local.sh && echo \"COMPLETED\"",
    "build": "bun run embed:builtin && tsup",
    "embed:builtin": "tsx scripts/embed-builtin-assets.ts",
    "postinstall": "node scripts/ensure-node-pty-helper-permissions.mjs && node scripts/ensure-ink-cursor-intent.mjs",
    "predev": "bun install --frozen-lockfile",
    "dev": "env -i PATH=\"$HOME/.bun/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin\" HOME=\"$HOME\" AUTOHAND_VERSION_SOURCE=git AUTOHAND_DEBUG=\"$AUTOHAND_DEBUG\" ${AUTOHAND_HOME:+AUTOHAND_HOME=\"$AUTOHAND_HOME\"} ${AUTOHAND_CONFIG:+AUTOHAND_CONFIG=\"$AUTOHAND_CONFIG\"} ${AUTOHAND_API_URL:+AUTOHAND_API_URL=\"$AUTOHAND_API_URL\"} ${AUTOHAND_AUTH_URL:+AUTOHAND_AUTH_URL=\"$AUTOHAND_AUTH_URL\"} ${AUTOHAND_DISABLE_STATEFUL_READ:+AUTOHAND_DISABLE_STATEFUL_READ=\"$AUTOHAND_DISABLE_STATEFUL_READ\"} bun src/index.ts",
    "typecheck": "node ./node_modules/@typescript/native/bin/tsc --noEmit",
    "lint": "eslint .",
    "proof": "bun run proof:unit && bun run proof:build-tuistory",
    "proof:unit": "eslint . && bun run typecheck && node --max-old-space-size=8192 ./node_modules/vitest/vitest.mjs run",
    "test": "node --max-old-space-size=8192 ./node_modules/vitest/vitest.mjs run",
    "test:ci": "node --max-old-space-size=8192 ./node_modules/vitest/vitest.mjs run --pool=threads --exclude 'tests/tuistory/**/*.tuistory.test.ts'",
    "test:tuistory": "node --max-old-space-size=4096 ./node_modules/vitest/vitest.mjs run --config vitest.tuistory.config.ts",
    "benchmark:read-state": "bun scripts/benchmark-read-state.ts",
    "test:open-research-contract": "node --max-old-space-size=4096 ./node_modules/vitest/vitest.mjs run tests/research/OpenResearchFixture.integration.test.ts",
    "proof:build-tuistory": "tsup && node --max-old-space-size=4096 ./node_modules/vitest/vitest.mjs run --config vitest.tuistory.config.ts",
    "demo:extension-builder": "tsx scripts/record-extension-builder-demo.ts",
    "start": "node dist/index.js",
    "compile:macos-arm64": "bun run embed:builtin && bun build ./src/index.ts --compile --target=bun-darwin-arm64 --external node-llama-cpp --outfile ./binaries/autohand-macos-arm64",
    "compile:macos-x64": "bun run embed:builtin && bun build ./src/index.ts --compile --target=bun-darwin-x64 --external node-llama-cpp --outfile ./binaries/autohand-macos-x64",
    "compile:linux-x64": "bun run embed:builtin && bun build ./src/index.ts --compile --target=bun-linux-x64 --external node-llama-cpp --outfile ./binaries/autohand-linux-x64",
    "compile:linux-arm64": "bun run embed:builtin && bun build ./src/index.ts --compile --target=bun-linux-arm64 --external node-llama-cpp --outfile ./binaries/autohand-linux-arm64",
    "compile:windows-x64": "bun run embed:builtin && bun build ./src/index.ts --compile --target=bun-windows-x64 --external node-llama-cpp --outfile ./binaries/autohand-windows-x64.exe",
    "compile:all": "bun run compile:macos-arm64 && bun run compile:macos-x64 && bun run compile:linux-x64 && bun run compile:linux-arm64 && bun run compile:windows-x64",
    "link": "bun link",
    "translate": "tsx scripts/generate-translations.ts"
  },
  "keywords": [
    "cli",
    "llm",
    "agent",
    "agentic",
    "autohand"
  ],
  "engines": {
    "node": ">=22.0.0"
  },
  "config": {
    "nodeLlamaCppPostinstall": "skip"
  },
  "dependencies": {
    "@agentclientprotocol/sdk": "1.3.0",
    "@anthropic-ai/sdk": "^0.120.0",
    "@aws-sdk/client-bedrock": "^3.1106.0",
    "@aws-sdk/client-bedrock-runtime": "^3.1086.0",
    "@aws-sdk/credential-providers": "^3.1090.0",
    "@ff-labs/fff-bun": "0.10.3",
    "chalk": "^5.6.2",
    "commander": "^15.0.0",
    "diff": "^9.0.0",
    "dotenv": "^17.4.2",
    "fs-extra": "^11.3.6",
    "ignore": "^7.0.6",
    "ink": "7.1.1",
    "ink-spinner": "^5.0.0",
    "minimatch": "^10.2.5",
    "node-notifier": "^10.0.1",
    "node-llama-cpp": "3.19.1",
    "node-pty": "1.1.0",
    "open": "^11.0.0",
    "ora": "^9.4.1",
    "qrcode": "^1.5.4",
    "react": "^19.2.7",
    "remark-gfm": "^4.0.1",
    "remark-parse": "^11.0.0",
    "sharp": "^0.35.3",
    "smol-toml": "^1.8.0",
    "string-width": "^8.2.2",
    "terminal-link": "^5.0.0",
    "unified": "^11.0.5",
    "unist-util-visit": "^5.1.0",
    "yaml": "^2.9.0",
    "zod": "^4.4.3"
  },
  "trustedDependencies": [
    "node-pty",
    "bun"
  ],
  "devDependencies": {
    "@types/fs-extra": "^11.0.4",
    "@types/node": "^26.1.1",
    "@types/node-notifier": "^8.0.5",
    "@types/qrcode": "^1.5.6",
    "@types/react": "^19.2.17",
    "@typescript-eslint/eslint-plugin": "^8.64.0",
    "@typescript-eslint/parser": "^8.64.0",
    "@typescript/native": "npm:typescript@^7.0.2",
    "eslint": "^10.7.0",
    "ink-testing-library": "^4.0.0",
    "node-gyp": "^13.0.1",
    "strip-ansi": "^7.2.0",
    "tsup": "^8.5.1",
    "tsx": "^4.23.1",
    "tuistory": "0.10.1",
    "typescript": "^6.0.3",
    "vitest": "^4.1.10"
  },
  "overrides": {
    "ansi-styles": "^6.2.3",
    "esbuild": "0.28.1",
    "uuid": "^11.1.0"
  }
}
