{
  "name": "@pen.dev/cli",
  "version": "0.3.5",
  "description": "CLI tool for running the pen.dev AI agent manipulating .pen design files",
  "type": "module",
  "main": "dist/index.mjs",
  "bin": {
    "pen": "dist/index.mjs",
    "pencil": "dist/index.mjs"
  },
  "scripts": {
    "build": "tsdown && npm run bundle:chmod && npm run bundle:mcp && npm run bundle:wasm && npm run bundle:pen-libs && npm run bundle:skill",
    "bundle:skill": "cp ../../SKILL.md ./SKILL.md && rm -rf dist/out/skills && mkdir -p dist/out/skills && cp -Rp ../../skills/pen-dev dist/out/skills/",
    "build:prod": "npm run build && node scripts/obfuscate.js",
    "bundle:mcp": "mkdir -p dist/out && cp ../../servers/mcp/mcp-server-* dist/out/ && chmod +x dist/out/mcp-server-*",
    "bundle:wasm": "node scripts/copy-pencil-wasm.mjs",
    "bundle:pen-libs": "mkdir -p dist/out/data && cp ../../lib/pencil-editor/data/*.lib.pen dist/out/data/",
    "bundle:chmod": "node scripts/chmod-dist-entry.mjs",
    "dev": "npm run build && cross-env NODE_ENV=development npm run start --",
    "start": "node dist/index.mjs",
    "lint": "biome check",
    "lint:ci": "biome ci",
    "test:package": "bash scripts/test-package-docker.sh",
    "test:interactive": "bash scripts/test-interactive.sh",
    "typecheck": "tsc --noEmit"
  },
  "keywords": [
    "pen.dev",
    "pencil",
    "design",
    "ai",
    "cli",
    "pen"
  ],
  "author": "High Agency, Inc.",
  "license": "UNLICENSED",
  "dependencies": {
    "@anthropic-ai/claude-agent-sdk": "^0.3.222",
    "@inquirer/prompts": "^8.3.0",
    "@node-ipc/node-ipc": "^11.0.3",
    "@openai/codex-sdk": "^0.144.1",
    "eventemitter3": "^5.0.1",
    "semver": "^7.7.4",
    "sharp": "^0.34.5",
    "svgo": "^4.0.0"
  },
  "devDependencies": {
    "@biomejs/biome": "^2.4.5",
    "@ha/agent": "file:../../lib/agent",
    "@ha/ipc": "file:../../lib/ipc",
    "@ha/mcp": "file:../../lib/mcp",
    "@ha/pencil-editor": "file:../../lib/pencil-editor",
    "@ha/schema": "file:../../lib/schema",
    "@ha/shared": "file:../../lib/shared",
    "@types/node": "^20.0.0",
    "@types/node-ipc": "^9.2.3",
    "@types/semver": "^7.7.1",
    "cross-env": "^10.1.0",
    "javascript-obfuscator": "^4.2.2",
    "tsdown": "^0.20.1",
    "typescript": "^5.0.0"
  },
  "engines": {
    "node": ">=22.0.0"
  },
  "files": [
    "dist",
    "SKILL.md"
  ]
}
