{
  "$schema": "https://json.schemastore.org/package.json",
  "name": "@zeyue0329/xiaoma-cli",
  "version": "1.21.0",
  "description": "XiaoMa Universal AI Agent Framework",
  "keywords": [
    "agile",
    "ai",
    "orchestrator",
    "development",
    "methodology",
    "agents",
    "xiaoma"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/zqyl-xiaoma/xiaoma-cli-release.git"
  },
  "license": "MIT",
  "author": "Zeyue",
  "main": "tools/installer/xiaoma-cli.js",
  "bin": {
    "xiaoma": "tools/xiaoma-npx-wrapper.js",
    "xiaoma-cli": "tools/xiaoma-npx-wrapper.js"
  },
  "files": [
    "src",
    "tools",
    "LICENSE"
  ],
  "scripts": {
    "emit:step-kinds-doc": "node tools/validate-step-schemas.js --emit-doc",
    "format:check": "prettier --check \"**/*.{js,cjs,mjs,json,yaml}\"",
    "format:fix": "prettier --write \"**/*.{js,cjs,mjs,json,yaml}\"",
    "format:fix:staged": "prettier --write",
    "install:xiaoma": "node tools/installer/xiaoma-cli.js install",
    "lint": "eslint . --ext .js,.cjs,.mjs,.yaml --max-warnings=0",
    "lint:fix": "eslint . --ext .js,.cjs,.mjs,.yaml --fix",
    "lint:md": "markdownlint-cli2 \"**/*.md\"",
    "prepare": "command -v husky >/dev/null 2>&1 && husky || exit 0",
    "quality": "npm run format:check && npm run lint && npm run lint:md && npm run validate:skills && npm run test:step-schemas && npm run test:install && npm run test:resolvers && npm run validate:refs && npm run validate:warnings-samples && npm run validate:trigger-emit-bidi && npm run validate:routing-consistency && npm run validate:step-schemas:strict && npm run validate:step-kinds-doc",
    "test": "npm run quality",
    "test:coverage": "c8 --reporter=text --reporter=html npm run test:step-schemas",
    "test:install": "node test/test-installer-smoke.js",
    "test:refs": "node test/test-file-refs-csv.js",
    "test:resolvers": "node test/test-resolvers.js",
    "test:step-schemas": "node test/test-step-schema.js",
    "validate:refs": "node tools/validate-file-refs.js --strict",
    "validate:routing-consistency": "node tools/validate-frontmatter-prose-routing.js",
    "validate:skills": "node tools/validate-skills.js --strict",
    "validate:step-kinds-doc": "node tools/validate-step-schemas.js --check-doc",
    "validate:step-schemas": "node tools/validate-step-schemas.js",
    "validate:step-schemas:strict": "node tools/validate-step-schemas.js --strict-kind",
    "validate:trigger-emit-bidi": "node tools/validate-trigger-column-vs-emits.js",
    "validate:warnings-samples": "node tools/validate-warnings-samples.js --strict",
    "xiaoma:install": "node tools/installer/xiaoma-cli.js install",
    "xiaoma:uninstall": "node tools/installer/xiaoma-cli.js uninstall"
  },
  "lint-staged": {
    "*.{js,cjs,mjs}": [
      "npm run lint:fix",
      "npm run format:fix:staged"
    ],
    "*.yaml": [
      "eslint --fix",
      "npm run format:fix:staged"
    ],
    "*.json": [
      "npm run format:fix:staged"
    ],
    "*.md": [
      "markdownlint-cli2"
    ]
  },
  "dependencies": {
    "@clack/core": "^1.0.0",
    "@clack/prompts": "^1.0.0",
    "@kayvan/markdown-tree-parser": "^1.6.1",
    "chalk": "^4.1.2",
    "commander": "^14.0.0",
    "csv-parse": "^6.1.0",
    "fs-extra": "^11.3.0",
    "glob": "^11.0.3",
    "ignore": "^7.0.5",
    "js-yaml": "^4.1.0",
    "ora": "^9.3.0",
    "picocolors": "^1.1.1",
    "semver": "^7.6.3",
    "xml2js": "^0.6.2",
    "yaml": "^2.7.0",
    "zod": "^3.23.0"
  },
  "devDependencies": {
    "@eslint/js": "^9.33.0",
    "c8": "^10.1.3",
    "eslint": "^9.33.0",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-n": "^17.21.3",
    "eslint-plugin-unicorn": "^60.0.0",
    "eslint-plugin-yml": "^1.18.0",
    "husky": "^9.1.7",
    "lint-staged": "^16.1.1",
    "markdownlint-cli2": "^0.19.1",
    "prettier": "^3.7.4",
    "prettier-plugin-packagejson": "^2.5.19",
    "yaml-eslint-parser": "^1.2.3",
    "yaml-lint": "^1.7.0"
  },
  "engines": {
    "node": ">=20.0.0"
  },
  "publishConfig": {
    "access": "public"
  }
}
