@aws/agentcore 0.7.1 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -13
- package/dist/assets/README.md +2 -2
- package/dist/assets/__tests__/__snapshots__/assets.snapshot.test.ts.snap +13 -5
- package/dist/assets/agents/AGENTS.md +1 -1
- package/dist/assets/cdk/package.json +2 -2
- package/dist/assets/python/a2a/langchain_langgraph/base/main.py +3 -0
- package/dist/assets/python/a2a/langchain_langgraph/base/pyproject.toml +1 -0
- package/dist/assets/python/http/langchain_langgraph/base/main.py +3 -0
- package/dist/assets/python/http/langchain_langgraph/base/pyproject.toml +1 -0
- package/dist/cli/index.mjs +361 -353
- package/dist/lib/constants.d.ts +0 -2
- package/dist/lib/constants.d.ts.map +1 -1
- package/dist/lib/constants.js +1 -9
- package/dist/lib/constants.js.map +1 -1
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +1 -2
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/packaging/helpers.d.ts.map +1 -1
- package/dist/lib/packaging/helpers.js +23 -21
- package/dist/lib/packaging/helpers.js.map +1 -1
- package/dist/lib/schemas/io/config-io.d.ts +7 -2
- package/dist/lib/schemas/io/config-io.d.ts.map +1 -1
- package/dist/lib/schemas/io/config-io.js +20 -8
- package/dist/lib/schemas/io/config-io.js.map +1 -1
- package/dist/schema/schemas/agentcore-project.d.ts +48 -0
- package/dist/schema/schemas/agentcore-project.d.ts.map +1 -1
- package/dist/schema/schemas/agentcore-project.js +21 -1
- package/dist/schema/schemas/agentcore-project.js.map +1 -1
- package/dist/schema/schemas/aws-targets.d.ts +18 -0
- package/dist/schema/schemas/aws-targets.d.ts.map +1 -1
- package/dist/schema/schemas/aws-targets.js +7 -0
- package/dist/schema/schemas/aws-targets.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const AgentCoreRegionSchema: z.ZodEnum<{
|
|
3
3
|
"ap-northeast-1": "ap-northeast-1";
|
|
4
|
+
"ap-northeast-2": "ap-northeast-2";
|
|
4
5
|
"ap-south-1": "ap-south-1";
|
|
5
6
|
"ap-southeast-1": "ap-southeast-1";
|
|
6
7
|
"ap-southeast-2": "ap-southeast-2";
|
|
8
|
+
"ca-central-1": "ca-central-1";
|
|
7
9
|
"eu-central-1": "eu-central-1";
|
|
10
|
+
"eu-north-1": "eu-north-1";
|
|
8
11
|
"eu-west-1": "eu-west-1";
|
|
12
|
+
"eu-west-2": "eu-west-2";
|
|
13
|
+
"eu-west-3": "eu-west-3";
|
|
14
|
+
"sa-east-1": "sa-east-1";
|
|
9
15
|
"us-east-1": "us-east-1";
|
|
10
16
|
"us-east-2": "us-east-2";
|
|
11
17
|
"us-west-2": "us-west-2";
|
|
@@ -19,11 +25,17 @@ export declare const AwsDeploymentTargetSchema: z.ZodObject<{
|
|
|
19
25
|
account: z.ZodString;
|
|
20
26
|
region: z.ZodEnum<{
|
|
21
27
|
"ap-northeast-1": "ap-northeast-1";
|
|
28
|
+
"ap-northeast-2": "ap-northeast-2";
|
|
22
29
|
"ap-south-1": "ap-south-1";
|
|
23
30
|
"ap-southeast-1": "ap-southeast-1";
|
|
24
31
|
"ap-southeast-2": "ap-southeast-2";
|
|
32
|
+
"ca-central-1": "ca-central-1";
|
|
25
33
|
"eu-central-1": "eu-central-1";
|
|
34
|
+
"eu-north-1": "eu-north-1";
|
|
26
35
|
"eu-west-1": "eu-west-1";
|
|
36
|
+
"eu-west-2": "eu-west-2";
|
|
37
|
+
"eu-west-3": "eu-west-3";
|
|
38
|
+
"sa-east-1": "sa-east-1";
|
|
27
39
|
"us-east-1": "us-east-1";
|
|
28
40
|
"us-east-2": "us-east-2";
|
|
29
41
|
"us-west-2": "us-west-2";
|
|
@@ -36,11 +48,17 @@ export declare const AwsDeploymentTargetsSchema: z.ZodArray<z.ZodObject<{
|
|
|
36
48
|
account: z.ZodString;
|
|
37
49
|
region: z.ZodEnum<{
|
|
38
50
|
"ap-northeast-1": "ap-northeast-1";
|
|
51
|
+
"ap-northeast-2": "ap-northeast-2";
|
|
39
52
|
"ap-south-1": "ap-south-1";
|
|
40
53
|
"ap-southeast-1": "ap-southeast-1";
|
|
41
54
|
"ap-southeast-2": "ap-southeast-2";
|
|
55
|
+
"ca-central-1": "ca-central-1";
|
|
42
56
|
"eu-central-1": "eu-central-1";
|
|
57
|
+
"eu-north-1": "eu-north-1";
|
|
43
58
|
"eu-west-1": "eu-west-1";
|
|
59
|
+
"eu-west-2": "eu-west-2";
|
|
60
|
+
"eu-west-3": "eu-west-3";
|
|
61
|
+
"sa-east-1": "sa-east-1";
|
|
44
62
|
"us-east-1": "us-east-1";
|
|
45
63
|
"us-east-2": "us-east-2";
|
|
46
64
|
"us-west-2": "us-west-2";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aws-targets.d.ts","sourceRoot":"","sources":["../../../src/schema/schemas/aws-targets.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"aws-targets.d.ts","sourceRoot":"","sources":["../../../src/schema/schemas/aws-targets.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;EAgBhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAMpE,eAAO,MAAM,0BAA0B,aAQmB,CAAC;AAM3D,eAAO,MAAM,kBAAkB,aAGF,CAAC;AAM9B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;iBAKpC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAM5E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;kBAKtC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
|
|
@@ -5,14 +5,21 @@ const zod_util_1 = require("./zod-util");
|
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
6
|
// ============================================================================
|
|
7
7
|
// AgentCore Regions
|
|
8
|
+
// Keep in sync with: https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/agentcore-regions.html
|
|
8
9
|
// ============================================================================
|
|
9
10
|
exports.AgentCoreRegionSchema = zod_1.z.enum([
|
|
10
11
|
'ap-northeast-1',
|
|
12
|
+
'ap-northeast-2',
|
|
11
13
|
'ap-south-1',
|
|
12
14
|
'ap-southeast-1',
|
|
13
15
|
'ap-southeast-2',
|
|
16
|
+
'ca-central-1',
|
|
14
17
|
'eu-central-1',
|
|
18
|
+
'eu-north-1',
|
|
15
19
|
'eu-west-1',
|
|
20
|
+
'eu-west-2',
|
|
21
|
+
'eu-west-3',
|
|
22
|
+
'sa-east-1',
|
|
16
23
|
'us-east-1',
|
|
17
24
|
'us-east-2',
|
|
18
25
|
'us-west-2',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aws-targets.js","sourceRoot":"","sources":["../../../src/schema/schemas/aws-targets.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AACtC,6BAAwB;AAExB,+EAA+E;AAC/E,oBAAoB;AACpB,+EAA+E;AAElE,QAAA,qBAAqB,GAAG,OAAC,CAAC,IAAI,CAAC;IAC1C,gBAAgB;IAChB,YAAY;IACZ,gBAAgB;IAChB,gBAAgB;IAChB,cAAc;IACd,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;CACZ,CAAC,CAAC;AAGH,+EAA+E;AAC/E,yBAAyB;AACzB,+EAA+E;AAElE,QAAA,0BAA0B,GAAG,OAAC;KACxC,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CA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AW;IACX,WAAW;IACX,WAAW;CACZ,CAAC,CAAC;AAGH,+EAA+E;AAC/E,yBAAyB;AACzB,+EAA+E;AAElE,QAAA,0BAA0B,GAAG,OAAC;KACxC,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CAAC;KACN,GAAG,CAAC,EAAE,CAAC;KACP,KAAK,CACJ,yBAAyB,EACzB,oFAAoF,CACrF;KACA,QAAQ,CAAC,6CAA6C,CAAC,CAAC;AAE3D,+EAA+E;AAC/E,iBAAiB;AACjB,+EAA+E;AAElE,QAAA,kBAAkB,GAAG,OAAC;KAChC,MAAM,EAAE;KACR,KAAK,CAAC,aAAa,EAAE,0CAA0C,CAAC;KAChE,QAAQ,CAAC,gBAAgB,CAAC,CAAC;AAE9B,+EAA+E;AAC/E,wBAAwB;AACxB,+EAA+E;AAElE,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD,IAAI,EAAE,kCAA0B;IAChC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IAC3C,OAAO,EAAE,0BAAkB;IAC3B,MAAM,EAAE,6BAAqB;CAC9B,CAAC,CAAC;AAIH,+EAA+E;AAC/E,+BAA+B;AAC/B,+EAA+E;AAElE,QAAA,0BAA0B,GAAG,OAAC,CAAC,KAAK,CAAC,iCAAyB,CAAC,CAAC,WAAW,CACtF,IAAA,mBAAQ,EACN,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,EACrB,IAAI,CAAC,EAAE,CAAC,qCAAqC,IAAI,EAAE,CACpD,CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws/agentcore",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "CLI for Amazon Bedrock AgentCore",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"zod": "^4.3.5"
|
|
102
102
|
},
|
|
103
103
|
"peerDependencies": {
|
|
104
|
-
"aws-cdk-lib": "^2.
|
|
104
|
+
"aws-cdk-lib": "^2.248.0",
|
|
105
105
|
"constructs": "^10.0.0"
|
|
106
106
|
},
|
|
107
107
|
"devDependencies": {
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"@typescript-eslint/parser": "^8.50.0",
|
|
118
118
|
"@vitest/coverage-v8": "^4.0.18",
|
|
119
119
|
"@xterm/headless": "^6.0.0",
|
|
120
|
-
"aws-cdk-lib": "^2.
|
|
120
|
+
"aws-cdk-lib": "^2.248.0",
|
|
121
121
|
"constructs": "^10.4.4",
|
|
122
122
|
"esbuild": "^0.27.2",
|
|
123
123
|
"eslint": "^9.39.4",
|