{
  "name": "@letta-ai/letta-code",
  "version": "0.27.19",
  "description": "Letta Code is a CLI tool for interacting with stateful Letta agents from the terminal.",
  "type": "module",
  "packageManager": "bun@1.3.0",
  "bin": {
    "letta": "letta.js"
  },
  "files": [
    "LICENSE",
    "README.md",
    "letta.js",
    "scripts",
    "skills",
    "vendor",
    "dist/app-server-client.js",
    "dist/app-server-client.js.map",
    "dist/types",
    "docs"
  ],
  "exports": {
    ".": "./letta.js",
    "./app-server-protocol": {
      "types": "./dist/types/app-server-protocol.d.ts"
    },
    "./app-server-client": {
      "types": "./dist/types/app-server-client.d.ts",
      "import": "./dist/app-server-client.js"
    },
    "./protocol": {
      "types": "./dist/types/protocol.d.ts"
    }
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/letta-ai/letta-code.git"
  },
  "license": "Apache-2.0",
  "engines": {
    "node": ">=22.19.0"
  },
  "publishConfig": {
    "access": "public"
  },
  "dependencies": {
    "@earendil-works/pi-ai": "^0.79.6",
    "@letta-ai/letta-client": "^1.10.2",
    "@pierre/diffs": "1.2.2",
    "@scarf/scarf": "^1.4.0",
    "glob": "^13.0.0",
    "ink-link": "^5.0.0",
    "node-pty": "^1.1.0",
    "open": "^10.2.0",
    "react": "18.2.0",
    "sharp": "^0.34.5",
    "shiki": "^4.0.2",
    "strip-ansi": "^7.2.0",
    "ws": "^8.19.0"
  },
  "optionalDependencies": {
    "@vscode/ripgrep": "^1.17.0"
  },
  "devDependencies": {
    "@slack/bolt": "^4.7.0",
    "@types/bun": "^1.3.7",
    "@types/diff": "^8.0.0",
    "@types/picomatch": "^4.0.2",
    "@types/react": "^19.2.9",
    "@types/ws": "^8.18.1",
    "diff": "^8.0.2",
    "grammy": "^1.42.0",
    "husky": "9.1.7",
    "ink": "^5.0.0",
    "ink-spinner": "^5.0.0",
    "ink-text-input": "^5.0.0",
    "lint-staged": "16.2.4",
    "madge": "^8.0.0",
    "minimatch": "^10.0.3",
    "picomatch": "^2.3.1",
    "typescript": "^5.0.0"
  },
  "scripts": {
    "prepare": "node .husky/install.mjs",
    "lint": "bunx --bun @biomejs/biome@2.2.5 check src",
    "fix": "bunx --bun @biomejs/biome@2.2.5 check --write src",
    "typecheck": "tsc --noEmit",
    "check:cycles": "madge --circular --extensions ts,tsx src/",
    "check:boundaries": "node scripts/check-layer-boundaries.js",
    "check:exported-functions": "node scripts/check-exported-functions.js",
    "check:filename-casing": "node scripts/check-filename-casing.js",
    "check:test-mock-isolation": "bun run scripts/check-test-mock-isolation.js",
    "check:test-coverage": "node scripts/check-test-coverage.cjs",
    "check:bundled-skill-scripts": "node scripts/check-bundled-skill-scripts.js",
    "check": "bun run scripts/check.js",
    "dev": "node scripts/dev.cjs",
    "build": "node scripts/postinstall-patches.js && bun run build.js",
    "test:update-chain:manual": "bun run src/test-utils/update-chain-smoke.ts --mode manual",
    "test:update-chain:startup": "bun run src/test-utils/update-chain-smoke.ts --mode startup",
    "prepublishOnly": "bun run build",
    "postinstall": "node scripts/postinstall-patches.js || echo letta: vendor patches skipped && node -e \"try{require('fs').chmodSync(require('path').join(require.resolve('node-pty/package.json'),'../prebuilds/darwin-arm64/spawn-helper'),0o755)}catch(e){}\" || true",
    "mod-learning:memory-citations": "bun scripts/mod-learning/learn-mod.ts --env docs/examples/mods/learning/memory-citations.env.json"
  },
  "lint-staged": {
    "*.{ts,tsx,js,jsx,json}": [
      "bunx --bun @biomejs/biome@2.2.5 check --write"
    ]
  }
}
