{
  "name": "@agentrix/cli",
  "version": "0.46.0",
  "description": "Mobile and Web client for Claude Code and Codex",
  "author": "agentrix.xmz.ai",
  "type": "module",
  "homepage": "https://github.com/xmz-ai/agentrix-cli",
  "bugs": "https://github.com/xmz-ai/agentrix-cli/issues",
  "repository": "xmz-ai/agentrix-cli",
  "bin": {
    "agentrix": "./bin/agentrix.mjs"
  },
  "main": "./dist/index.cjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.cts",
  "exports": {
    ".": {
      "require": {
        "types": "./dist/index.d.cts",
        "default": "./dist/index.cjs"
      },
      "import": {
        "types": "./dist/index.d.mts",
        "default": "./dist/index.mjs"
      }
    },
    "./lib": {
      "require": {
        "types": "./dist/lib.d.cts",
        "default": "./dist/lib.cjs"
      },
      "import": {
        "types": "./dist/lib.d.mts",
        "default": "./dist/lib.mjs"
      }
    }
  },
  "files": [
    "dist",
    "bin",
    "scripts",
    "package.json"
  ],
  "scripts": {
    "why do we need to build before running tests / dev?": "We need the binary to be built so we run daemon commands which directly run the binary",
    "typecheck": "tsc --noEmit --skipLibCheck 2>&1 | (grep -v 'node_modules/effect' | grep -v 'Symbol.dispose' || true)",
    "build": "shx rm -rf dist && tsc --noEmit --skipLibCheck 2>&1 | (grep -v 'node_modules/effect' | grep -v 'Symbol.dispose' || true) && pkgroll && shx mkdir -p dist/sandbox && shx cp src/sandbox/node-proxy-boot.cjs dist/sandbox/ && shx mkdir -p dist/migrations && shx cp src/worker/history/migrations/*.sql dist/migrations/ && node scripts/minify-dist.mjs",
    "prod": "node --env-file=.env ./bin/agentrix.mjs",
    "test": "yarn build && tsx --env-file .env.integration-test \"$(yarn -s bin vitest)\" run",
    "dev": "yarn build && tsx --env-file .env.dev src/index.ts",
    "local": "yarn build && tsx --env-file .env.local src/index.ts",
    "prod-local": "yarn build && tsx --env ./bin/agentrix.mjs",
    "prepublishOnly": "yarn build && yarn test",
    "release": "release-it",
    "postinstall": "node scripts/ensure-better-sqlite3.cjs",
    "lint": "eslint 'src/**/*.{js,ts}' --fix"
  },
  "pkgroll": {
    "minify": true,
    "sourcemap": false
  },
  "dependencies": {
    "@agentrix/shared": "^2.43.0",
    "@anthropic-ai/claude-agent-sdk": "^0.2.133",
    "@anthropic-ai/sdk": "0.71.2",
    "@larksuiteoapi/node-sdk": "^1.63.1",
    "@modelcontextprotocol/sdk": "^1.15.1",
    "@openai/codex-sdk": "^0.141.0",
    "@stablelib/base64": "^2.0.1",
    "@stablelib/hex": "^2.0.1",
    "@types/better-sqlite3": "^7.6.13",
    "@types/cross-spawn": "^6.0.6",
    "@types/http-proxy": "^1.17.16",
    "@types/ps-list": "^6.2.1",
    "@types/qrcode-terminal": "^0.12.2",
    "@types/react": "^19.1.9",
    "@types/tmp": "^0.2.6",
    "@types/yargs": "^17.0.33",
    "@xmz-ai/gitlab-webhook-bridge": "0.1.2",
    "@xmz-ai/sandbox-runtime": "^0.2.5",
    "axios": "1.13.2",
    "better-sqlite3": "^12.6.2",
    "chalk": "^5.4.1",
    "croner": "^9.0.0",
    "cross-spawn": "^7.0.6",
    "expo-server-sdk": "^3.15.0",
    "fastify": "^5.5.0",
    "fastify-type-provider-zod": "^6.1.0",
    "http-proxy": "^1.18.1",
    "http-proxy-middleware": "^3.0.5",
    "ink": "^6.1.0",
    "ink-box": "^2.0.0",
    "ink-select-input": "^6.0.0",
    "ink-spinner": "^5.0.0",
    "ink-text-input": "^6.0.0",
    "node-gyp": "^10.3.1",
    "open": "^10.2.0",
    "ps-list": "^8.1.1",
    "qrcode-terminal": "^0.12.0",
    "react": "^19.1.1",
    "simple-git": "^3.30.0",
    "socket.io-client": "^4.8.1",
    "tmp": "^0.2.5",
    "tweetnacl": "^1.0.3",
    "undici": "^7.16.0",
    "winston": "^3.18.3",
    "winston-daily-rotate-file": "^5.0.0",
    "yargs": "^17.7.2",
    "zod": "^4.0.0",
    "zod-to-json-schema": "^3.25.1"
  },
  "optionalDependencies": {
    "node-datachannel": "0.9.1"
  },
  "devDependencies": {
    "@eslint/compat": "^1",
    "@types/mime-types": "^3.0.1",
    "@types/node": ">=20",
    "dotenv": "^16.6.1",
    "eslint": "^9",
    "eslint-config-prettier": "^10",
    "pkgroll": "^2.14.2",
    "release-it": "^19.0.4",
    "shx": "^0.3.3",
    "terser": "^5.39.0",
    "ts-node": "^10",
    "tsx": "^4.20.3",
    "typescript": "^5",
    "vitest": "^3.2.4"
  },
  "resolutions": {
    "whatwg-url": "14.2.0",
    "parse-path": "7.0.3",
    "@types/parse-path": "7.0.3"
  },
  "overrides": {
    "node-datachannel": "0.9.1"
  },
  "publishConfig": {
    "registry": "https://registry.npmjs.org"
  },
  "packageManager": "yarn@1.22.22"
}
