@aws/agentcore 0.13.1 → 0.14.0

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.
Files changed (100) hide show
  1. package/README.md +6 -6
  2. package/dist/agent-inspector/index.css +1 -1
  3. package/dist/agent-inspector/index.js +81 -81
  4. package/dist/assets/__tests__/__snapshots__/assets.snapshot.test.ts.snap +629 -7
  5. package/dist/assets/__tests__/__snapshots__/dockerfile-render.test.ts.snap +6 -2
  6. package/dist/assets/cdk/test/cdk.test.ts +0 -1
  7. package/dist/assets/container/python/Dockerfile +3 -1
  8. package/dist/assets/container/typescript/Dockerfile +25 -0
  9. package/dist/assets/container/typescript/dockerignore.template +24 -0
  10. package/dist/assets/python/a2a/googleadk/base/pyproject.toml +1 -1
  11. package/dist/assets/python/a2a/langchain_langgraph/base/pyproject.toml +1 -1
  12. package/dist/assets/python/a2a/strands/base/pyproject.toml +2 -2
  13. package/dist/assets/python/agui/strands/base/pyproject.toml +1 -1
  14. package/dist/assets/python/http/strands/base/pyproject.toml +1 -1
  15. package/dist/assets/typescript/http/strands/base/README.md +37 -0
  16. package/dist/assets/typescript/http/strands/base/gitignore.template +22 -0
  17. package/dist/assets/typescript/http/strands/base/main.ts +71 -0
  18. package/dist/assets/typescript/http/strands/base/mcp_client/client.ts +11 -0
  19. package/dist/assets/typescript/http/strands/base/model/load.ts +102 -0
  20. package/dist/assets/typescript/http/strands/base/package.json +36 -0
  21. package/dist/assets/typescript/http/strands/base/tsconfig.json +19 -0
  22. package/dist/assets/typescript/http/vercelai/base/README.md +37 -0
  23. package/dist/assets/typescript/http/vercelai/base/gitignore.template +22 -0
  24. package/dist/assets/typescript/http/vercelai/base/main.ts +24 -0
  25. package/dist/assets/typescript/http/vercelai/base/model/load.ts +121 -0
  26. package/dist/assets/typescript/http/vercelai/base/package.json +35 -0
  27. package/dist/assets/typescript/http/vercelai/base/tsconfig.json +19 -0
  28. package/dist/cli/index.mjs +512 -420
  29. package/dist/lib/errors/index.d.ts +1 -0
  30. package/dist/lib/errors/index.d.ts.map +1 -1
  31. package/dist/lib/errors/index.js +1 -0
  32. package/dist/lib/errors/index.js.map +1 -1
  33. package/dist/lib/errors/types.d.ts +63 -0
  34. package/dist/lib/errors/types.d.ts.map +1 -0
  35. package/dist/lib/errors/types.js +109 -0
  36. package/dist/lib/errors/types.js.map +1 -0
  37. package/dist/lib/index.d.ts +3 -0
  38. package/dist/lib/index.d.ts.map +1 -1
  39. package/dist/lib/index.js +4 -1
  40. package/dist/lib/index.js.map +1 -1
  41. package/dist/lib/packaging/helpers.d.ts +16 -0
  42. package/dist/lib/packaging/helpers.d.ts.map +1 -1
  43. package/dist/lib/packaging/helpers.js +62 -0
  44. package/dist/lib/packaging/helpers.js.map +1 -1
  45. package/dist/lib/packaging/node.d.ts +2 -2
  46. package/dist/lib/packaging/node.d.ts.map +1 -1
  47. package/dist/lib/packaging/node.js +77 -32
  48. package/dist/lib/packaging/node.js.map +1 -1
  49. package/dist/lib/result.d.ts +29 -0
  50. package/dist/lib/result.d.ts.map +1 -0
  51. package/dist/lib/result.js +16 -0
  52. package/dist/lib/result.js.map +1 -0
  53. package/dist/lib/schemas/io/config-io.d.ts.map +1 -1
  54. package/dist/lib/schemas/io/config-io.js +3 -2
  55. package/dist/lib/schemas/io/config-io.js.map +1 -1
  56. package/dist/lib/schemas/io/index.d.ts +1 -1
  57. package/dist/lib/schemas/io/index.d.ts.map +1 -1
  58. package/dist/lib/schemas/io/index.js +1 -2
  59. package/dist/lib/schemas/io/index.js.map +1 -1
  60. package/dist/lib/schemas/io/path-resolver.d.ts +0 -6
  61. package/dist/lib/schemas/io/path-resolver.d.ts.map +1 -1
  62. package/dist/lib/schemas/io/path-resolver.js +3 -13
  63. package/dist/lib/schemas/io/path-resolver.js.map +1 -1
  64. package/dist/lib/time-constants.d.ts +5 -0
  65. package/dist/lib/time-constants.d.ts.map +1 -0
  66. package/dist/lib/time-constants.js +8 -0
  67. package/dist/lib/time-constants.js.map +1 -0
  68. package/dist/lib/utils/index.d.ts +1 -0
  69. package/dist/lib/utils/index.d.ts.map +1 -1
  70. package/dist/lib/utils/index.js +6 -1
  71. package/dist/lib/utils/index.js.map +1 -1
  72. package/dist/lib/utils/polling.d.ts +41 -0
  73. package/dist/lib/utils/polling.d.ts.map +1 -0
  74. package/dist/lib/utils/polling.js +78 -0
  75. package/dist/lib/utils/polling.js.map +1 -0
  76. package/dist/schema/constants.d.ts +7 -0
  77. package/dist/schema/constants.d.ts.map +1 -1
  78. package/dist/schema/constants.js +18 -3
  79. package/dist/schema/constants.js.map +1 -1
  80. package/dist/schema/schemas/agent-env.d.ts +12 -1
  81. package/dist/schema/schemas/agent-env.d.ts.map +1 -1
  82. package/dist/schema/schemas/agent-env.js +32 -5
  83. package/dist/schema/schemas/agent-env.js.map +1 -1
  84. package/dist/schema/schemas/agentcore-project.d.ts +9 -3
  85. package/dist/schema/schemas/agentcore-project.d.ts.map +1 -1
  86. package/dist/schema/schemas/agentcore-project.js +7 -2
  87. package/dist/schema/schemas/agentcore-project.js.map +1 -1
  88. package/dist/schema/schemas/primitives/evaluator.d.ts +8 -0
  89. package/dist/schema/schemas/primitives/evaluator.d.ts.map +1 -1
  90. package/dist/schema/schemas/primitives/evaluator.js +17 -1
  91. package/dist/schema/schemas/primitives/evaluator.js.map +1 -1
  92. package/dist/schema/schemas/primitives/index.d.ts +1 -1
  93. package/dist/schema/schemas/primitives/index.d.ts.map +1 -1
  94. package/dist/schema/schemas/primitives/index.js +3 -1
  95. package/dist/schema/schemas/primitives/index.js.map +1 -1
  96. package/dist/schema/schemas/primitives/memory.d.ts +22 -4
  97. package/dist/schema/schemas/primitives/memory.d.ts.map +1 -1
  98. package/dist/schema/schemas/primitives/memory.js +57 -16
  99. package/dist/schema/schemas/primitives/memory.js.map +1 -1
  100. package/package.json +9 -8
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MemoryStrategySchema = exports.MemoryStrategyNameSchema = exports.DEFAULT_EPISODIC_REFLECTION_NAMESPACES = exports.DEFAULT_STRATEGY_NAMESPACES = exports.MemoryStrategyTypeSchema = void 0;
3
+ exports.MemoryStrategySchema = exports.MemoryStrategyNameSchema = exports.DEFAULT_EPISODIC_REFLECTION_NAMESPACES = exports.DEFAULT_EPISODIC_REFLECTION_NAMESPACE_TEMPLATES = exports.DEFAULT_STRATEGY_NAMESPACES = exports.DEFAULT_STRATEGY_NAMESPACE_TEMPLATES = exports.MemoryStrategyTypeSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  // ============================================================================
6
6
  // Memory Strategy Types
@@ -16,20 +16,30 @@ const zod_1 = require("zod");
16
16
  */
17
17
  exports.MemoryStrategyTypeSchema = zod_1.z.enum(['SEMANTIC', 'SUMMARIZATION', 'USER_PREFERENCE', 'EPISODIC']);
18
18
  /**
19
- * Default namespaces for each memory strategy type.
19
+ * Default namespace templates for each memory strategy type.
20
20
  * These match the patterns generated in CLI session.py templates.
21
21
  */
22
- exports.DEFAULT_STRATEGY_NAMESPACES = {
22
+ exports.DEFAULT_STRATEGY_NAMESPACE_TEMPLATES = {
23
23
  SEMANTIC: ['/users/{actorId}/facts'],
24
24
  USER_PREFERENCE: ['/users/{actorId}/preferences'],
25
25
  SUMMARIZATION: ['/summaries/{actorId}/{sessionId}'],
26
26
  EPISODIC: ['/episodes/{actorId}/{sessionId}'],
27
27
  };
28
28
  /**
29
- * Default reflection namespaces for the EPISODIC strategy.
30
- * The service requires reflection namespaces to be the same as or a prefix of episode namespaces.
29
+ * @deprecated Use {@link DEFAULT_STRATEGY_NAMESPACE_TEMPLATES} instead.
30
+ * Retained as an alias for backward compatibility.
31
31
  */
32
- exports.DEFAULT_EPISODIC_REFLECTION_NAMESPACES = ['/episodes/{actorId}'];
32
+ exports.DEFAULT_STRATEGY_NAMESPACES = exports.DEFAULT_STRATEGY_NAMESPACE_TEMPLATES;
33
+ /**
34
+ * Default reflection namespace templates for the EPISODIC strategy.
35
+ * The service requires reflection templates to be the same as or a prefix of episode templates.
36
+ */
37
+ exports.DEFAULT_EPISODIC_REFLECTION_NAMESPACE_TEMPLATES = ['/episodes/{actorId}'];
38
+ /**
39
+ * @deprecated Use {@link DEFAULT_EPISODIC_REFLECTION_NAMESPACE_TEMPLATES} instead.
40
+ * Retained as an alias for backward compatibility.
41
+ */
42
+ exports.DEFAULT_EPISODIC_REFLECTION_NAMESPACES = exports.DEFAULT_EPISODIC_REFLECTION_NAMESPACE_TEMPLATES;
33
43
  /**
34
44
  * Memory strategy name validation.
35
45
  * Pattern: ^[a-zA-Z][a-zA-Z0-9_]{0,47}$
@@ -43,6 +53,12 @@ exports.MemoryStrategyNameSchema = zod_1.z
43
53
  /**
44
54
  * Memory strategy configuration.
45
55
  * Each memory can have multiple strategies with optional namespace scoping.
56
+ *
57
+ * Field naming:
58
+ * - `namespaceTemplates` / `reflectionNamespaceTemplates` are the preferred field names.
59
+ * - `namespaces` / `reflectionNamespaces` are deprecated aliases retained for backward
60
+ * compatibility. Specifying both the deprecated and preferred form for the same concept
61
+ * is rejected by validation.
46
62
  */
47
63
  exports.MemoryStrategySchema = zod_1.z
48
64
  .object({
@@ -52,22 +68,47 @@ exports.MemoryStrategySchema = zod_1.z
52
68
  name: exports.MemoryStrategyNameSchema.optional(),
53
69
  /** Optional description */
54
70
  description: zod_1.z.string().optional(),
55
- /** Optional namespaces for scoping memory access */
71
+ /** Optional namespace templates for scoping memory access */
72
+ namespaceTemplates: zod_1.z.array(zod_1.z.string()).optional(),
73
+ /** @deprecated Use `namespaceTemplates` instead. */
56
74
  namespaces: zod_1.z.array(zod_1.z.string()).optional(),
57
- /** Reflection namespaces for EPISODIC strategy. Required by the service for episodic strategies. */
75
+ /** Reflection namespace templates for EPISODIC strategy. Required by the service for episodic strategies. */
76
+ reflectionNamespaceTemplates: zod_1.z.array(zod_1.z.string()).optional(),
77
+ /** @deprecated Use `reflectionNamespaceTemplates` instead. */
58
78
  reflectionNamespaces: zod_1.z.array(zod_1.z.string()).optional(),
59
79
  })
60
- .refine(strategy => strategy.type !== 'EPISODIC' ||
61
- (strategy.reflectionNamespaces !== undefined && strategy.reflectionNamespaces.length > 0), {
62
- message: 'EPISODIC strategy requires reflectionNamespaces',
63
- path: ['reflectionNamespaces'],
80
+ .refine(strategy => !((strategy.namespaces?.length ?? 0) > 0 && (strategy.namespaceTemplates?.length ?? 0) > 0), {
81
+ message: "'namespaces' and 'namespaceTemplates' are mutually exclusive. Prefer 'namespaceTemplates' ('namespaces' is deprecated).",
82
+ path: ['namespaceTemplates'],
83
+ })
84
+ .refine(strategy => !((strategy.reflectionNamespaces?.length ?? 0) > 0 && (strategy.reflectionNamespaceTemplates?.length ?? 0) > 0), {
85
+ message: "'reflectionNamespaces' and 'reflectionNamespaceTemplates' are mutually exclusive. Prefer 'reflectionNamespaceTemplates' ('reflectionNamespaces' is deprecated).",
86
+ path: ['reflectionNamespaceTemplates'],
87
+ })
88
+ .refine(strategy => strategy.type === 'EPISODIC' ||
89
+ (strategy.reflectionNamespaceTemplates === undefined && strategy.reflectionNamespaces === undefined), {
90
+ message: "'reflectionNamespaceTemplates' is only allowed on EPISODIC strategies",
91
+ path: ['reflectionNamespaceTemplates'],
64
92
  })
65
93
  .refine(strategy => {
66
- if (strategy.type !== 'EPISODIC' || !strategy.reflectionNamespaces || !strategy.namespaces)
94
+ if (strategy.type !== 'EPISODIC')
95
+ return true;
96
+ const reflection = strategy.reflectionNamespaceTemplates ?? strategy.reflectionNamespaces;
97
+ return reflection !== undefined && reflection.length > 0;
98
+ }, {
99
+ message: 'EPISODIC strategy requires reflectionNamespaceTemplates',
100
+ path: ['reflectionNamespaceTemplates'],
101
+ })
102
+ .refine(strategy => {
103
+ if (strategy.type !== 'EPISODIC')
104
+ return true;
105
+ const reflection = strategy.reflectionNamespaceTemplates ?? strategy.reflectionNamespaces;
106
+ const templates = strategy.namespaceTemplates ?? strategy.namespaces;
107
+ if (!reflection || !templates)
67
108
  return true;
68
- return strategy.reflectionNamespaces.every(ref => strategy.namespaces.some(ns => ns.startsWith(ref)));
109
+ return reflection.every(ref => templates.some(ns => ns.startsWith(ref)));
69
110
  }, {
70
- message: 'Each reflectionNamespace must be a prefix of at least one namespace',
71
- path: ['reflectionNamespaces'],
111
+ message: 'Each reflectionNamespaceTemplate must be a prefix of at least one namespaceTemplate',
112
+ path: ['reflectionNamespaceTemplates'],
72
113
  });
73
114
  //# sourceMappingURL=memory.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"memory.js","sourceRoot":"","sources":["../../../../src/schema/schemas/primitives/memory.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+EAA+E;AAC/E,wBAAwB;AACxB,+EAA+E;AAE/E;;;;;;;;GAQG;AACU,QAAA,wBAAwB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,eAAe,EAAE,iBAAiB,EAAE,UAAU,CAAC,CAAC,CAAC;AAG7G;;;GAGG;AACU,QAAA,2BAA2B,GAAkD;IACxF,QAAQ,EAAE,CAAC,wBAAwB,CAAC;IACpC,eAAe,EAAE,CAAC,8BAA8B,CAAC;IACjD,aAAa,EAAE,CAAC,kCAAkC,CAAC;IACnD,QAAQ,EAAE,CAAC,iCAAiC,CAAC;CAC9C,CAAC;AAEF;;;GAGG;AACU,QAAA,sCAAsC,GAAa,CAAC,qBAAqB,CAAC,CAAC;AAExF;;;;GAIG;AACU,QAAA,wBAAwB,GAAG,OAAC;KACtC,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CAAC;KACN,GAAG,CAAC,EAAE,CAAC;KACP,KAAK,CACJ,8BAA8B,EAC9B,kGAAkG,CACnG,CAAC;AAEJ;;;GAGG;AACU,QAAA,oBAAoB,GAAG,OAAC;KAClC,MAAM,CAAC;IACN,oBAAoB;IACpB,IAAI,EAAE,gCAAwB;IAC9B,4CAA4C;IAC5C,IAAI,EAAE,gCAAwB,CAAC,QAAQ,EAAE;IACzC,2BAA2B;IAC3B,WAAW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CACvC,CACF;KACA,MAAM,CACL,QAAQ,CAAC,EAAE;IACT,IAAI,QAAQ,CAAC,IAAI,KAAK,UAAU;QAAE,OAAO,IAAI,CAAC;IAC9C,MAAM,UAAU,GAAG,QAAQ,CAAC,4BAA4B,IAAI,QAAQ,CAAC,oBAAoB,CAAC;IAC1F,MAAM,SAAS,GAAG,QAAQ,CAAC,kBAAkB,IAAI,QAAQ,CAAC,UAAU,CAAC;IACrE,IAAI,CAAC,UAAU,IAAI,CAAC,SAAS;QAAE,OAAO,IAAI,CAAC;IAC3C,OAAO,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAC3E,CAAC,EACD;IACE,OAAO,EAAE,qFAAqF;IAC9F,IAAI,EAAE,CAAC,8BAA8B,CAAC;CACvC,CACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws/agentcore",
3
- "version": "0.13.1",
3
+ "version": "0.14.0",
4
4
  "description": "CLI for Amazon Bedrock AgentCore",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -78,19 +78,20 @@
78
78
  "@aws-sdk/client-bedrock": "^3.1012.0",
79
79
  "@aws-sdk/client-bedrock-agent": "^3.1012.0",
80
80
  "@aws-sdk/client-bedrock-agentcore": "^3.1020.0",
81
- "@aws-sdk/client-bedrock-agentcore-control": "^3.1020.0",
81
+ "@aws-sdk/client-bedrock-agentcore-control": "^3.1039.0",
82
82
  "@aws-sdk/client-bedrock-runtime": "^3.893.0",
83
83
  "@aws-sdk/client-cloudformation": "^3.893.0",
84
84
  "@aws-sdk/client-cloudwatch-logs": "^3.893.0",
85
85
  "@aws-sdk/client-resource-groups-tagging-api": "^3.893.0",
86
86
  "@aws-sdk/client-s3": "^3.1012.0",
87
87
  "@aws-sdk/client-sts": "^3.893.0",
88
+ "@aws-sdk/region-config-resolver": "^3.972.13",
88
89
  "@aws-sdk/client-xray": "^3.1003.0",
89
90
  "@aws-sdk/credential-providers": "^3.893.0",
90
- "@aws/agent-inspector": "0.3.0",
91
+ "@aws/agent-inspector": "0.4.1",
91
92
  "@commander-js/extra-typings": "^14.0.0",
92
93
  "@opentelemetry/api": "^1.9.1",
93
- "@opentelemetry/exporter-metrics-otlp-http": "^0.214.0",
94
+ "@opentelemetry/exporter-metrics-otlp-http": "^0.215.0",
94
95
  "@opentelemetry/otlp-transformer": "^0.213.0",
95
96
  "@opentelemetry/resources": "^2.6.1",
96
97
  "@opentelemetry/sdk-metrics": "^2.6.1",
@@ -149,15 +150,15 @@
149
150
  },
150
151
  "overridesComments": {
151
152
  "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.",
153
+ "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.",
152
154
  "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.",
153
- "@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.",
154
- "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."
155
+ "@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."
155
156
  },
156
157
  "overrides": {
157
158
  "minimatch": "10.2.4",
159
+ "glob": "^13.0.0",
158
160
  "fast-xml-parser": "5.5.7",
159
- "@aws-sdk/xml-builder": "3.972.15",
160
- "glob": "^13.0.0"
161
+ "@aws-sdk/xml-builder": "3.972.15"
161
162
  },
162
163
  "engines": {
163
164
  "node": ">=20"