{
  "name": "agim-cli",
  "version": "1.5.75",
  "description": "Agim (阿吉姆) — universal messenger-to-agent bridge. Connect WeChat / Feishu / DingTalk / Telegram / Discord / Email to Claude Code, Codex, Copilot, Kimi Code, Qoder, PI, MiMo, native LLM, or any custom ACP agent.",
  "type": "module",
  "bin": {
    "agim": "dist/cli.js"
  },
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "files": [
    "dist",
    "bin/agim_rpc.py",
    "bin/bgjob",
    "README.md",
    "README.zh-CN.md",
    "CHANGELOG.md",
    "LICENSE"
  ],
  "scripts": {
    "build:spa": "cd src/web-app && npm run build && cd ../.. && rm -rf src/web/public/assets && cp -r src/web-app/dist/assets src/web/public/assets && cp src/web-app/dist/index.html src/web/public/index.html && cp src/web-app/dist/manifest.webmanifest src/web/public/manifest.webmanifest && cp src/web-app/dist/favicon.svg src/web/public/favicon.svg && rm -rf src/web/public/fonts && mkdir -p src/web/public/fonts && cp -r src/web-app/dist/fonts/. src/web/public/fonts/",
    "build": "npm run build:spa && rm -rf dist && tsc && cp -r src/web/public dist/web/public && mkdir -p dist/core/skills && cp -r src/core/skills/builtin dist/core/skills/builtin && chmod +x dist/cli.js",
    "postbuild": "npm run check:dist",
    "dev": "tsc --watch",
    "start": "node dist/cli.js",
    "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
    "test": "bun test --isolate --path-ignore-patterns='**/web-app/**'",
    "test:coverage": "bun test --isolate --coverage --path-ignore-patterns='**/web-app/**'",
    "test:sqlite": "npm --prefix src/web-app run test:sqlite",
    "test:node": "node test/node/memory-recall.mjs && node test/node/memory-distill.mjs && npm run test:sqlite",
    "test:web": "npm --prefix src/web-app test -- --run",
    "lint": "npm run lint:backend && npm run lint:web",
    "lint:backend": "biome lint src/cli.ts src/index.ts src/cli-ui src/core src/plugins src/scripts src/utils src/web/server.ts src/web/viewer-render.ts test tools",
    "lint:web": "biome lint src/web-app/index.html src/web-app/public/favicon.svg src/web-app/src src/web-app/tools src/web-app/vite.config.ts src/web-app/vitest.config.ts src/web-app/vitest.sqlite.config.ts src/web-app/tailwind.config.ts",
    "check:contracts": "npm --prefix src/web-app run check-endpoints",
    "check:dist": "node tools/check-dist.mjs",
    "check:npm-drift": "node tools/check-npm-drift.mjs",
    "verify:release": "npm run lint && npm run typecheck && npm test && npm --prefix src/web-app run typecheck && npm --prefix src/web-app run check-i18n && npm run check:contracts && npm run test:web && npm run build && npm run test:node",
    "format": "biome format . --write",
    "prepublishOnly": "npm run build"
  },
  "keywords": [
    "agim",
    "agim-cli",
    "阿吉姆",
    "wechat",
    "feishu",
    "dingtalk",
    "telegram",
    "discord",
    "claude-code",
    "codex",
    "copilot",
    "opencode",
    "cursor",
    "kimi-code",
    "qoder",
    "pi",
    "mimo",
    "antigravity",
    "bot",
    "agent",
    "bridge",
    "acp"
  ],
  "author": "Jerry",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/benking007/agim.git"
  },
  "homepage": "https://github.com/benking007/agim#readme",
  "bugs": {
    "url": "https://github.com/benking007/agim/issues"
  },
  "publishConfig": {
    "access": "public"
  },
  "dependencies": {
    "@earendil-works/pi-agent-core": "0.79.8",
    "@earendil-works/pi-ai": "0.79.8",
    "@inquirer/prompts": "^8.4.3",
    "@larksuiteoapi/node-sdk": "^1.70.0",
    "@modelcontextprotocol/sdk": "^1.29.0",
    "@types/nodemailer": "^8.0.0",
    "better-sqlite3": "^12.9.0",
    "commander": "^11.0.0",
    "dingtalk-stream": "^2.1.5",
    "discord.js": "^14.26.5",
    "grammy": "^1.41.1",
    "ink": "^5.2.0",
    "ink-text-input": "^6.0.0",
    "marked": "^17.0.5",
    "nodemailer": "^9.0.3",
    "pino": "^10.3.1",
    "pino-pretty": "^13.1.3",
    "qrcode": "^1.5.4",
    "react": "^18.3.1",
    "ws": "^8.21.0",
    "zod": "^4.4.1"
  },
  "optionalDependencies": {
    "@huggingface/transformers": "3.8.1"
  },
  "overrides": {
    "axios": "1.18.1",
    "undici": "6.27.0"
  },
  "devDependencies": {
    "@biomejs/biome": "^2.4.14",
    "@types/better-sqlite3": "^7.6.13",
    "@types/bun": "^1.2.0",
    "@types/marked": "^5.0.2",
    "@types/node": "^20.0.0",
    "@types/qrcode": "^1.5.6",
    "@types/react": "^18.3.12",
    "@types/ws": "^8.18.1",
    "bun": "^1.3.14",
    "typescript": "^5.0.0"
  },
  "engines": {
    "node": ">=22.19.0"
  }
}
