@aws/agentcore 0.26.0 → 0.27.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.
- package/dist/assets/README.md +1 -2
- package/dist/assets/__tests__/__snapshots__/assets.snapshot.test.ts.snap +4 -7
- package/dist/assets/agents/AGENTS.md +2 -4
- package/dist/cli/index.mjs +1005 -857
- package/dist/lib/schemas/io/config-io.d.ts +6 -0
- package/dist/lib/schemas/io/config-io.d.ts.map +1 -1
- package/dist/lib/schemas/io/config-io.js +68 -2
- package/dist/lib/schemas/io/config-io.js.map +1 -1
- package/dist/schema/schemas/agentcore-project.d.ts +8 -0
- package/dist/schema/schemas/agentcore-project.d.ts.map +1 -1
- package/dist/schema/schemas/index.d.ts +2 -0
- package/dist/schema/schemas/index.d.ts.map +1 -1
- package/dist/schema/schemas/index.js +4 -0
- package/dist/schema/schemas/index.js.map +1 -1
- package/dist/schema/schemas/primitives/evaluator.d.ts +14 -0
- package/dist/schema/schemas/primitives/evaluator.d.ts.map +1 -1
- package/dist/schema/schemas/primitives/evaluator.js +12 -3
- package/dist/schema/schemas/primitives/evaluator.js.map +1 -1
- package/dist/schema/schemas/primitives/index.d.ts +2 -2
- package/dist/schema/schemas/primitives/index.d.ts.map +1 -1
- package/dist/schema/schemas/primitives/index.js +4 -2
- package/dist/schema/schemas/primitives/index.js.map +1 -1
- package/npm-shrinkwrap.json +195 -247
- package/package.json +11 -8
package/dist/assets/README.md
CHANGED
|
@@ -13,8 +13,7 @@ my-project/
|
|
|
13
13
|
│ ├── .env.local # Secrets — API keys (gitignored)
|
|
14
14
|
│ ├── .llm-context/ # TypeScript type definitions for AI assistants
|
|
15
15
|
│ │ ├── agentcore.ts # AgentCoreProjectSpec types
|
|
16
|
-
│ │
|
|
17
|
-
│ │ └── mcp.ts # Gateway and MCP tool types
|
|
16
|
+
│ │ └── aws-targets.ts # Deployment target types
|
|
18
17
|
│ └── cdk/ # CDK infrastructure (@aws/agentcore-cdk)
|
|
19
18
|
├── app/ # Agent application code
|
|
20
19
|
└── evaluators/ # Custom evaluator code (if any)
|
|
@@ -7336,7 +7336,7 @@ For Container builds, \`BaseRenderer.render()\` automatically copies the \`conta
|
|
|
7336
7336
|
|
|
7337
7337
|
- These assets are rendered by the CLI's template renderer in \`src/cli/templates/\`
|
|
7338
7338
|
- The \`README.md\` and \`agents/AGENTS.md\` are copied verbatim (no template rendering) during project creation
|
|
7339
|
-
- The \`.llm-context/\` files are sourced from \`src/schema/llm-compacted/\` and written during
|
|
7339
|
+
- The \`.llm-context/\` files are sourced from \`src/schema/llm-compacted/\` and written during project creation
|
|
7340
7340
|
"
|
|
7341
7341
|
`;
|
|
7342
7342
|
|
|
@@ -7356,8 +7356,7 @@ my-project/
|
|
|
7356
7356
|
│ ├── .env.local # Secrets — API keys (gitignored)
|
|
7357
7357
|
│ ├── .llm-context/ # TypeScript type definitions for AI assistants
|
|
7358
7358
|
│ │ ├── agentcore.ts # AgentCoreProjectSpec types
|
|
7359
|
-
│ │
|
|
7360
|
-
│ │ └── mcp.ts # Gateway and MCP tool types
|
|
7359
|
+
│ │ └── aws-targets.ts # Deployment target types
|
|
7361
7360
|
│ └── cdk/ # CDK infrastructure (@aws/agentcore-cdk)
|
|
7362
7361
|
├── app/ # Agent application code
|
|
7363
7362
|
└── evaluators/ # Custom evaluator code (if any)
|
|
@@ -7494,8 +7493,7 @@ myProject/
|
|
|
7494
7493
|
│ ├── .llm-context/ # TypeScript type definitions for AI assistants
|
|
7495
7494
|
│ │ ├── README.md # Guide to using schema files
|
|
7496
7495
|
│ │ ├── agentcore.ts # AgentCoreProjectSpec types
|
|
7497
|
-
│ │
|
|
7498
|
-
│ │ └── mcp.ts # Gateway and MCP tool types
|
|
7496
|
+
│ │ └── aws-targets.ts # AWS deployment target types
|
|
7499
7497
|
│ └── cdk/ # AWS CDK project (@aws/agentcore-cdk L3 constructs)
|
|
7500
7498
|
├── app/ # Agent application code
|
|
7501
7499
|
└── evaluators/ # Custom evaluator code (if any)
|
|
@@ -7509,12 +7507,11 @@ file maps to a JSON config file and includes validation constraints as comments
|
|
|
7509
7507
|
| JSON Config | Schema File | Root Type |
|
|
7510
7508
|
| --- | --- | --- |
|
|
7511
7509
|
| \`agentcore/agentcore.json\` | \`agentcore/.llm-context/agentcore.ts\` | \`AgentCoreProjectSpec\` |
|
|
7512
|
-
| \`agentcore/agentcore.json\` (gateways) | \`agentcore/.llm-context/mcp.ts\` | \`AgentCoreMcpSpec\` |
|
|
7513
7510
|
| \`agentcore/aws-targets.json\` | \`agentcore/.llm-context/aws-targets.ts\` | \`AwsDeploymentTarget[]\` |
|
|
7514
7511
|
|
|
7515
7512
|
### Key Types
|
|
7516
7513
|
|
|
7517
|
-
- **AgentCoreProjectSpec**: Root config with
|
|
7514
|
+
- **AgentCoreProjectSpec**: Root config with runtimes, memories, knowledge bases, credentials, evaluators, online evals and insights, gateways, policy engines, config bundles, A/B tests, harness registrations, datasets, and payment managers
|
|
7518
7515
|
- **AgentEnvSpec**: Agent configuration (build type, entrypoint, code location, runtime version, network mode)
|
|
7519
7516
|
- **Memory**: Memory resource with strategies (SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC) and expiry
|
|
7520
7517
|
- **Credential**: API key or OAuth credential provider
|
|
@@ -38,8 +38,7 @@ myProject/
|
|
|
38
38
|
│ ├── .llm-context/ # TypeScript type definitions for AI assistants
|
|
39
39
|
│ │ ├── README.md # Guide to using schema files
|
|
40
40
|
│ │ ├── agentcore.ts # AgentCoreProjectSpec types
|
|
41
|
-
│ │
|
|
42
|
-
│ │ └── mcp.ts # Gateway and MCP tool types
|
|
41
|
+
│ │ └── aws-targets.ts # AWS deployment target types
|
|
43
42
|
│ └── cdk/ # AWS CDK project (@aws/agentcore-cdk L3 constructs)
|
|
44
43
|
├── app/ # Agent application code
|
|
45
44
|
└── evaluators/ # Custom evaluator code (if any)
|
|
@@ -53,12 +52,11 @@ file maps to a JSON config file and includes validation constraints as comments
|
|
|
53
52
|
| JSON Config | Schema File | Root Type |
|
|
54
53
|
| --- | --- | --- |
|
|
55
54
|
| `agentcore/agentcore.json` | `agentcore/.llm-context/agentcore.ts` | `AgentCoreProjectSpec` |
|
|
56
|
-
| `agentcore/agentcore.json` (gateways) | `agentcore/.llm-context/mcp.ts` | `AgentCoreMcpSpec` |
|
|
57
55
|
| `agentcore/aws-targets.json` | `agentcore/.llm-context/aws-targets.ts` | `AwsDeploymentTarget[]` |
|
|
58
56
|
|
|
59
57
|
### Key Types
|
|
60
58
|
|
|
61
|
-
- **AgentCoreProjectSpec**: Root config with
|
|
59
|
+
- **AgentCoreProjectSpec**: Root config with runtimes, memories, knowledge bases, credentials, evaluators, online evals and insights, gateways, policy engines, config bundles, A/B tests, harness registrations, datasets, and payment managers
|
|
62
60
|
- **AgentEnvSpec**: Agent configuration (build type, entrypoint, code location, runtime version, network mode)
|
|
63
61
|
- **Memory**: Memory resource with strategies (SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC) and expiry
|
|
64
62
|
- **Credential**: API key or OAuth credential provider
|