{
  "name": "recourse-cli",
  "version": "0.1.40",
  "mcpName": "io.github.recourseOS/recourse",
  "description": "MCP server for AI agents to evaluate consequences before destructive actions. Analyzes Terraform plans, shell commands, and MCP tool calls.",
  "main": "dist/index.js",
  "bin": {
    "recourse": "bin/recourse",
    "recourseos-agent": "bin/recourseos-agent"
  },
  "scripts": {
    "build": "tsc",
    "prepack": "npm run build",
    "postversion": "node -e \"const v=require('./package.json').version; const fs=require('fs'); let f=fs.readFileSync('docs/index.html','utf8'); f=f.replace(/· v[0-9]+\\.[0-9]+\\.[0-9]+/g,'· v'+v); fs.writeFileSync('docs/index.html',f);\" && git add docs/index.html",
    "pack:check": "npm pack --dry-run --cache .npm-cache",
    "dev": "tsc --watch",
    "test": "vitest",
    "test:coverage": "vitest run --coverage",
    "test:cli": "npm run build && vitest --run tests/cli-scenarios.test.ts",
    "test:all": "npm run build && vitest --run && vitest --run tests/cli-scenarios.test.ts",
    "test:aws-live": "RUN_AWS_LIVE_TESTS=1 vitest --run tests/aws-live.test.ts",
    "test:docs:visual": "playwright test",
    "mcp:smoke": "npm run build && node dist/tools/smoke-test-mcp.js",
    "docs:coverage": "npm run build && node dist/tools/generate-resource-coverage.js",
    "docs:pages": "npm run build && node dist/tools/generate-doc-pages.js",
    "docs:all": "npm run docs:coverage && npm run docs:pages",
    "lint": "eslint src --ext .ts",
    "recourse": "node dist/index.js",
    "deploy": "wrangler deploy",
    "preview": "wrangler dev"
  },
  "keywords": [
    "mcp",
    "mcp-server",
    "model-context-protocol",
    "ai-agents",
    "terraform",
    "infrastructure",
    "consequence-analysis",
    "blast-radius",
    "safety",
    "claude",
    "llm"
  ],
  "author": "",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/recourseOS/recourse.git"
  },
  "homepage": "https://github.com/recourseOS/recourse#readme",
  "license": "MIT",
  "files": [
    "dist",
    "bin",
    "docs/console.html",
    "docs/site.css",
    "docs/favicon.svg"
  ],
  "devDependencies": {
    "@playwright/test": "^1.59.1",
    "@types/node": "^20.10.0",
    "@typescript-eslint/eslint-plugin": "^7.18.0",
    "@typescript-eslint/parser": "^7.18.0",
    "@vitest/coverage-v8": "^4.1.5",
    "eslint": "^8.55.0",
    "typescript": "^5.3.0",
    "vitest": "^4.1.5",
    "wrangler": "^4.86.0"
  },
  "dependencies": {
    "@aws-sdk/client-sts": "^3.1045.0",
    "chalk": "^5.3.0",
    "commander": "^11.1.0",
    "yaml": "^2.9.0"
  },
  "type": "module",
  "engines": {
    "node": ">=18.0.0"
  }
}
