{ "name": "@aws/agentcore", "version": "0.9.1", "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", "!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", "lint": "eslint src/", "lint:fix": "eslint src/ --fix", "format": "prettier --write .", "format:check": "prettier --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": "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", "bundle": "node scripts/bundle.mjs" }, "dependencies": { "@aws-cdk/toolkit-lib": "^1.16.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.1020.0", "@aws-sdk/client-bedrock-agentcore-control": "^3.1020.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-resource-groups-tagging-api": "^3.893.0", "@aws-sdk/client-s3": "^3.1012.0", "@aws-sdk/client-sts": "^3.893.0", "@aws-sdk/client-xray": "^3.1003.0", "@aws-sdk/credential-providers": "^3.893.0", "@aws/agent-inspector": "0.1.0", "@commander-js/extra-typings": "^14.0.0", "@opentelemetry/api": "^1.9.0", "@opentelemetry/otlp-transformer": "^0.213.0", "@smithy/shared-ini-file-loader": "^4.4.2", "commander": "^14.0.2", "dotenv": "^17.2.3", "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", "yaml": "^2.8.3", "zod": "^4.3.5" }, "peerDependencies": { "aws-cdk-lib": "^2.248.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", "@secretlint/secretlint-rule-preset-recommend": "^11.3.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", "@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.248.0", "constructs": "^10.4.4", "esbuild": "^0.27.2", "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", "lint-staged": "^16.2.7", "node-pty": "^1.1.0", "prettier": "^3.7.4", "secretlint": "^11.3.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.", "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." }, "overrides": { "minimatch": "10.2.4", "fast-xml-parser": "5.5.7", "@aws-sdk/xml-builder": "3.972.15" }, "engines": { "node": ">=20" }, "lint-staged": { "*.{ts,tsx}": [ "eslint --max-warnings=10" ], "*.{ts,tsx,js,jsx,json,md,css,html,yml,yaml}": [ "prettier --check" ], "*": [ "secretlint" ] } }