{
  "name": "@aws/agentcore",
  "version": "0.23.0",
  "description": "CLI for Amazon Bedrock AgentCore",
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "https://github.com/aws/agentcore-cli.git"
  },
  "homepage": "https://github.com/aws/agentcore-cli",
  "bugs": {
    "url": "https://github.com/aws/agentcore-cli/issues"
  },
  "keywords": [
    "aws",
    "amazon",
    "bedrock",
    "agentcore",
    "cli",
    "agents",
    "ai",
    "cdk",
    "langchain",
    "langgraph",
    "openai",
    "anthropic",
    "google-adk",
    "strands"
  ],
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "bin": {
    "agentcore": "dist/cli/index.mjs"
  },
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "require": "./dist/index.js"
    }
  },
  "files": [
    "dist",
    "scripts",
    "npm-shrinkwrap.json",
    "!dist/mcp-harness"
  ],
  "scripts": {
    "postinstall": "node scripts/check-old-cli.mjs",
    "build": "npm run build:lib && npm run build:cli && npm run build:assets",
    "build:schema": "node scripts/generate-schema.mjs && prettier --write schemas/",
    "build:lib": "tsc -p tsconfig.build.json",
    "build:cli": "node esbuild.config.mjs",
    "build:assets": "node scripts/copy-assets.mjs",
    "build:harness": "BUILD_HARNESS=1 node esbuild.config.mjs",
    "cli": "npx tsx src/cli/index.ts",
    "typecheck": "tsc --noEmit --incremental",
    "lint": "eslint --cache src/",
    "lint:fix": "eslint --cache src/ --fix",
    "format": "prettier --cache --write .",
    "format:check": "prettier --cache --check .",
    "secrets:check": "secretlint '**/*'",
    "security:audit": "npm audit --audit-level=high --omit=dev",
    "clean": "node -e \"require('fs').rmSync('dist', {recursive: true, force: true})\"",
    "prepare": "husky",
    "test": "vitest run --project unit",
    "test:all": "vitest run",
    "test:watch": "vitest --project unit",
    "test:integ": "npm run build && vitest run --project integ",
    "test:unit": "vitest run --project unit --coverage",
    "test:e2e": "vitest run --project e2e",
    "test:update-snapshots": "vitest run --project unit --update",
    "test:tui": "npm run build:harness && vitest run --project tui",
    "test:browser": "npx playwright test --config browser-tests/playwright.config.ts",
    "bundle": "node scripts/bundle.mjs"
  },
  "dependencies": {
    "@aws-cdk/cdk-assets-lib": "^1.4.10",
    "@aws-cdk/toolkit-lib": "^1.28.0",
    "@aws-sdk/client-application-signals": "^3.1003.0",
    "@aws-sdk/client-bedrock": "^3.1012.0",
    "@aws-sdk/client-bedrock-agent": "^3.1012.0",
    "@aws-sdk/client-bedrock-agentcore": "^3.1061.0",
    "@aws-sdk/client-bedrock-agentcore-control": "^3.1061.0",
    "@aws-sdk/client-bedrock-runtime": "^3.893.0",
    "@aws-sdk/client-cloudformation": "^3.893.0",
    "@aws-sdk/client-cloudwatch-logs": "^3.893.0",
    "@aws-sdk/client-efs": "^3.1067.0",
    "@aws-sdk/client-resource-groups-tagging-api": "^3.893.0",
    "@aws-sdk/client-s3": "^3.1012.0",
    "@aws-sdk/client-s3files": "^3.1067.0",
    "@aws-sdk/client-sts": "^3.893.0",
    "@aws-sdk/client-xray": "^3.1003.0",
    "@aws-sdk/credential-providers": "^3.893.0",
    "@aws-sdk/region-config-resolver": "^3.972.13",
    "@aws/agent-inspector": "0.6.1",
    "@commander-js/extra-typings": "^14.0.0",
    "@opentelemetry/api": "^1.9.1",
    "@opentelemetry/exporter-metrics-otlp-http": "^0.215.0",
    "@opentelemetry/otlp-transformer": "^0.213.0",
    "@opentelemetry/resources": "^2.6.1",
    "@opentelemetry/sdk-metrics": "^2.6.1",
    "@smithy/shared-ini-file-loader": "^4.4.2",
    "commander": "^14.0.2",
    "dotenv": "^17.2.3",
    "fast-json-stable-stringify": "^2.1.0",
    "fflate": "^0.8.2",
    "handlebars": "^4.7.8",
    "ink": "^6.6.0",
    "ink-link": "5.0.0",
    "ink-spinner": "^5.0.0",
    "js-yaml": "^4.1.1",
    "react": "^19.2.3",
    "ws": "^8.21.0",
    "yaml": "^2.8.3",
    "zod": "^4.3.5"
  },
  "optionalDependencies": {
    "@napi-rs/keyring": "^1.3.0"
  },
  "peerDependencies": {
    "aws-cdk-lib": "^2.258.0",
    "constructs": "^10.0.0"
  },
  "devDependencies": {
    "@aws-sdk/client-cognito-identity-provider": "^3.1018.0",
    "@eslint/js": "^9.39.2",
    "@modelcontextprotocol/sdk": "^1.0.0",
    "@playwright/test": "^1.59.1",
    "@secretlint/secretlint-rule-preset-recommend": "^12.2.0",
    "@trivago/prettier-plugin-sort-imports": "^6.0.2",
    "@types/js-yaml": "^4.0.9",
    "@types/node": "^25.0.3",
    "@types/react": "^19.2.7",
    "@types/ws": "^8.18.1",
    "@typescript-eslint/eslint-plugin": "^8.50.0",
    "@typescript-eslint/parser": "^8.50.0",
    "@vitest/coverage-v8": "^4.0.18",
    "@xterm/headless": "^6.0.0",
    "aws-cdk-lib": "^2.258.0",
    "constructs": "^10.4.4",
    "esbuild": "^0.28.0",
    "eslint": "^9.39.4",
    "eslint-config-prettier": "^10.1.8",
    "eslint-import-resolver-typescript": "^4.4.4",
    "eslint-plugin-import": "^2.32.0",
    "eslint-plugin-react": "^7.37.5",
    "eslint-plugin-react-hooks": "^7.0.1",
    "eslint-plugin-react-refresh": "^0.5.2",
    "eslint-plugin-security": "^4.0.0",
    "husky": "^9.1.7",
    "ink-testing-library": "^4.0.0",
    "jose": "^6.2.3",
    "lint-staged": "^16.2.7",
    "node-pty": "^1.1.0",
    "prettier": "^3.7.4",
    "secretlint": "^12.2.0",
    "strip-ansi": "^7.2.0",
    "tsx": "^4.21.0",
    "typescript": "^5",
    "typescript-eslint": "^8.50.1",
    "vitest": "^4.0.18"
  },
  "overridesComments": {
    "minimatch": "GHSA-7r86-cg39-jmmj, GHSA-23c5-xmqv-rm74: minimatch 10.0.0-10.2.2 has ReDoS vulnerabilities. Multiple transitive deps (eslint, typescript-eslint, eslint-plugin-import, eslint-plugin-react, prettier-plugin-sort-imports, aws-cdk-lib) pin older versions. Remove this override once upstream packages update their minimatch dependency to >=10.2.3.",
    "glob": "glob <12 is deprecated and emits npm install warnings (https://github.com/isaacs/node-glob). Pulled in transitively via archiver-utils@5.0.2 (latest), which still pins glob@^10.0.0. archiver-utils only uses glob.sync(pattern, options), which remains compatible in glob@13. Remove this override once archiver-utils updates its glob dependency.",
    "fast-xml-parser": "GHSA-8gc5-j5rx-235r, GHSA-jp2q-39xq-3w4g: fast-xml-parser <=5.5.6 has entity expansion bypass (CVE-2026-33036, CVE-2026-33349). Transitive via @aws-sdk/xml-builder. Remove once @aws-sdk updates to fast-xml-parser >=5.5.7.",
    "@aws-sdk/xml-builder": "aws/aws-sdk-js-v3#7867: @aws-sdk/xml-builder <3.972.14 does not configure maxTotalExpansions on fast-xml-parser, causing 'Entity expansion limit exceeded' on large CloudFormation responses. Remove once @aws-sdk/client-* deps are bumped past 3.972.14.",
    "protobufjs": "GHSA-f38q-mgvj-vph7, GHSA-wcpc-wj8m-hjx6, GHSA-94rc-8x27-4472: protobufjs <=7.6.2 / 8.0.0-8.5.0 has property shadowing and DoS vulnerabilities. Transitive via @opentelemetry/otlp-transformer. Remove once @opentelemetry updates to protobufjs >=7.6.3 or >=8.5.1."
  },
  "overrides": {
    "minimatch": "10.2.4",
    "glob": "^13.0.0",
    "fast-xml-parser": "5.5.7",
    "@aws-sdk/xml-builder": "3.972.15",
    "protobufjs": ">=7.6.3"
  },
  "engines": {
    "node": ">=20"
  },
  "lint-staged": {
    "*.{ts,tsx}": [
      "eslint --cache --max-warnings=10"
    ],
    "*.{ts,tsx,js,jsx,json,md,css,html,yml,yaml}": [
      "prettier --cache --check"
    ],
    "*": [
      "secretlint"
    ]
  }
}
