-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy pathpackage.json
More file actions
200 lines (200 loc) · 8.24 KB
/
Copy pathpackage.json
File metadata and controls
200 lines (200 loc) · 8.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
{
"name": "@aws/agentcore",
"version": "0.26.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:docs": "node --test scripts/*.test.mjs && python3 -m unittest scripts/test_render_adoc.py",
"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-artifacts:sanitize": "tsx scripts/sanitize-test-artifacts.ts --redact",
"test-artifacts:check": "tsx scripts/sanitize-test-artifacts.ts --check",
"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",
"semver": "^7.8.5",
"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/semver": "^7.7.1",
"@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, GHSA-gh4j-gqv2-49f6: fast-xml-parser <=5.6.x has entity expansion bypass and XML injection vulnerabilities. Transitive via @aws-sdk/xml-builder. Remove once @aws-sdk updates to fast-xml-parser >=5.7.0.",
"@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.",
"@opentelemetry/core": "GHSA-8988-4f7v-96qf: @opentelemetry/core <2.8.0 has unbounded memory allocation in W3C Baggage propagation. Transitive via @opentelemetry/otlp-transformer. Remove once @opentelemetry/otlp-transformer is upgraded past 0.219.0.",
"@opentelemetry/otlp-transformer": "Pinned to 0.213.0 — the last version that ships generated protobuf types for trace, logs, and metrics (used by the dev-mode OTLP collector). Versions 0.214–0.217 drop logs/trace protos; 0.218+ removes the generated root entirely. Remove this pin once the collector is refactored to not depend on the internal generated/root path.",
"protobufjs": "Multiple high-severity CVEs in protobufjs <8.7.0 (code injection, DoS, prototype pollution). Transitive via @opentelemetry/otlp-transformer@0.213.0. Remove once @opentelemetry/otlp-transformer is upgraded past 0.217.0."
},
"overrides": {
"minimatch": "10.2.4",
"glob": "^13.0.0",
"fast-xml-parser": "5.10.1",
"@aws-sdk/xml-builder": "3.972.15",
"@opentelemetry/core": ">=2.8.0",
"protobufjs": ">=8.7.0",
"fast-uri": "^3.1.5"
},
"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"
]
}
}