{
  "name": "@huoban/huoban-app-cli",
  "version": "0.31.0",
  "description": "伙伴云官方 CLI，面向人和 AI Agent，统一覆盖工作区、普通表、数据仓库、流程与文件命令能力",
  "author": "mazhaoyuan@huoban.com",
  "type": "module",
  "imports": {
    "#auth-brand-icon": "./packages/third-party/adapters/workbuddy/assets/huoban-cli-icon64.png",
    "#oauth-app/*": "./cli/config/oauth-apps/*/oauth-app.json",
    "#cli/internal/field-config": "./cli/internal/field-config/index.ts",
    "#scripts/release_private_lib.mjs": "./scripts/release_private_lib.mjs",
    "#cli/*": "./cli/*.ts",
    "#scripts/*": "./scripts/*.ts",
    "#tests/*": "./tests/*.ts",
    "#automation-documentation-locations": "./cli/config/automation-documentation-locations.json"
  },
  "bin": {
    "huoban-app-cli": "bin/huoban-app-cli",
    "hac": "bin/hac"
  },
  "files": [
    "bin",
    "dist",
    "cli/config/oauth-apps",
    "skills",
    "packages/third-party/adapters/workbuddy/assets/huoban-cli-icon64.png",
    "cli/config/automation-documentation-locations.json"
  ],
  "engines": {
    "node": ">=20"
  },
  "packageManager": "pnpm@9.15.9",
  "scripts": {
    "postinstall": "node ./bin/postinstall.mjs",
    "build": "node ./scripts/build_cli.mjs",
    "build:analyze": "node ./scripts/build_cli.mjs",
    "dev": "tsx cli/main.ts",
    "docs:cli:architecture": "node ./scripts/generate_cli_architecture_doc.mjs",
    "cli:local": "./bin/huoban-app-cli",
    "hac:local": "bun ./cli/main.ts",
    "sync:specs:repo": "node ./scripts/sync_specs_repo.mjs",
    "install-local-bin": "bash ./scripts/install_local_cli.sh",
    "refresh-local-bin": "bash ./scripts/refresh_local_cli.sh",
    "use-local-cli": "printf '请执行: source ./scripts/use_local_cli.sh\\n'",
    "remove-local-bin": "./scripts/remove_local_cli.sh",
    "check-launchers": "./scripts/check_cli_launchers.sh",
    "check:change-loop": "node ./.agents/skills/huoban-change-loop/scripts/check_change_loop_required.mjs",
    "check:cli-duplication": "node ./scripts/analyze_cli_duplication.mjs --check",
    "check:release": "node ./scripts/run_check_suite.mjs release",
    "test": "node ./scripts/run_vitest_suite.mjs",
    "test:package": "node ./scripts/run_vitest_quiet.mjs --exclude 'tests/domain/automation/**' --exclude tests/automation-script-display.test.ts",
    "test:list": "tsx ./scripts/run-tests-by-capability.ts --list",
    "test:cap": "tsx ./scripts/run-tests-by-capability.ts",
    "precommit:check": "tsx ./scripts/precommit-check.ts",
    "typecheck": "tsc --noEmit",
    "lint:code": "node ./scripts/check_eslint.mjs",
    "format": "prettier --write 'cli/**/*.{ts,mts,cts}' 'scripts/**/*.{ts,mts,cts,js,mjs,cjs}' 'packages/**/*.{ts,mts,cts,js,mjs,cjs}' 'tests/**/*.{ts,mts,cts,js,mjs,cjs}' tsup.config.ts vitest.config.ts eslint.config.js package.json",
    "format:check": "node ./scripts/check_format.mjs",
    "lint": "node ./scripts/run_check_suite.mjs lint",
    "check:static": "npm run lint",
    "test:coverage": "npm run test:package -- --coverage",
    "prepack": "npm run build",
    "pack:zip": "node ./scripts/pack.mjs",
    "pack:auth": "node ./scripts/pack-auth.mjs",
    "publish:private": "node ./scripts/release_private.mjs",
    "publish:private:dry-run": "node ./scripts/release_private.mjs --dry-run",
    "third-party": "node packages/third-party/scripts/cli.mjs",
    "pack:workbuddy": "npm run third-party -- pack workbuddy production",
    "generate:automation-docs": "tsx scripts/generate_automation_docs.ts"
  },
  "dependencies": {
    "bignumber.js": "^11.0.0",
    "commander": "^12.1.0",
    "dayjs": "^1.11.20",
    "koffi": "3.3.3"
  },
  "devDependencies": {
    "@eslint/js": "9.37.0",
    "@types/eslint": "^9.6.1",
    "@types/node": "^22.13.10",
    "@types/prettier": "^2.7.3",
    "@vitest/coverage-v8": "3.2.4",
    "eslint": "9.37.0",
    "globals": "16.4.0",
    "prettier": "3.9.6",
    "remark-frontmatter": "^5.0.0",
    "remark-gfm": "^4.0.1",
    "remark-parse": "^11.0.0",
    "remark-stringify": "^11.0.0",
    "tsup": "^8.4.0",
    "tsx": "^4.19.3",
    "typescript": "^5.8.2",
    "typescript-eslint": "8.46.1",
    "unified": "^11.0.5",
    "vitest": "^3.0.8"
  }
}
