{
  "name": "@liumir/lmcode",
  "version": "0.9.3",
  "description": "A terminal-native AI agent for builders",
  "license": "MIT",
  "author": "liumir",
  "homepage": "https://github.com/Lyin01/LMcode-cli/tree/main/apps/lmcode#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Lyin01/LMcode-cli.git",
    "directory": "apps/lmcode"
  },
  "bugs": {
    "url": "https://github.com/Lyin01/LMcode-cli/issues"
  },
  "keywords": [
    "lmcode",
    "cli",
    "agent",
    "coding-agent",
    "ai",
    "tui"
  ],
  "bin": {
    "lm": "dist/main.mjs"
  },
  "files": [
    "dist",
    "icon.ico",
    "scripts/postinstall.mjs",
    "scripts/postinstall"
  ],
  "type": "module",
  "imports": {
    "#/*": [
      "./src/*.ts",
      "./src/*/index.ts"
    ]
  },
  "publishConfig": {
    "access": "public"
  },
  "dependencies": {
    "@earendil-works/pi-tui": "^0.78.1",
    "@mariozechner/clipboard": "^0.3.2",
    "chalk": "^5.4.1",
    "cli-highlight": "^2.1.11",
    "commander": "^13.1.0",
    "semver": "^7.7.4",
    "smol-toml": "^1.6.1",
    "zod": "^4.3.6"
  },
  "devDependencies": {
    "@modelcontextprotocol/sdk": "^1.29.0",
    "@types/semver": "^7.7.0",
    "tsx": "^4.21.0",
    "@lmcode-cli/agent-core": "^0.7.3",
    "@lmcode/memory": "0.7.3",
    "@lmcode-cli/config": "^0.7.3",
    "@lmcode-cli/migration-legacy": "^0.7.3",
    "@lmcode-cli/lmcode-sdk": "^0.7.3"
  },
  "engines": {
    "node": ">=22.19.0"
  },
  "optionalDependencies": {
    "fastembed": "^2.1.0",
    "playwright-core": "^1.61.0"
  },
  "scripts": {
    "build": "tsdown",
    "dev": "node scripts/dev.mjs",
    "dev:cli-only": "tsx --import ../../build/register-raw-text-loader.mjs ./src/main.ts",
    "dev:prod": "node dist/main.mjs",
    "clean": "rm -rf dist",
    "typecheck": "tsc -p tsconfig.json --noEmit",
    "test": "pnpm -w run build:packages && vitest run",
    "e2e": "pnpm -w run build:packages && LMCODE_E2E=1 vitest run test/e2e",
    "e2e:real": "pnpm -w run build:packages && LMCODE_E2E_REAL=1 vitest run test/e2e/real-llm-smoke.e2e.test.ts",
    "preinstall": "node -e \"console.log('\\n📦 正在安装 lmcode，请稍候...\\n')\"",
    "postinstall": "node scripts/postinstall.mjs",
    "smoke": "node dist/main.mjs --version"
  }
}