@aws/agentcore 1.0.0-preview.16 → 1.0.0-preview.17
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 +1 -7
- package/dist/agent-inspector/index.css +1 -1
- package/dist/agent-inspector/index.js +60 -60
- package/dist/assets/__tests__/__snapshots__/assets.snapshot.test.ts.snap +2 -8
- package/dist/assets/cdk/bin/cdk.ts +2 -8
- package/dist/cli/index.mjs +508 -508
- package/npm-shrinkwrap.json +6 -6
- package/package.json +2 -3
- package/scripts/bundle.mjs +12 -60
- package/scripts/run-e2e-local.sh +0 -5
|
@@ -124,15 +124,9 @@ async function main() {
|
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
// Harness
|
|
128
|
-
// forwards it to this child process via AGENTCORE_PREVIEW (see toolkit-lib/wrapper.ts).
|
|
129
|
-
// This app is built separately and cannot see that build-time define, so it gates on the
|
|
130
|
-
// env var. Absent/anything-but-'1' defaults to off so a stale harnesses[] entry in a
|
|
131
|
-
// non-preview build never synthesizes an AWS::BedrockAgentCore::Harness resource.
|
|
132
|
-
const previewEnabled = process.env.AGENTCORE_PREVIEW === '1';
|
|
133
|
-
|
|
127
|
+
// Synthesize an AWS::BedrockAgentCore::Harness resource for each harness entry in the spec.
|
|
134
128
|
const harnessConfigs: HarnessConfig[] = [];
|
|
135
|
-
for (const entry of
|
|
129
|
+
for (const entry of specAny.harnesses ?? []) {
|
|
136
130
|
const harnessDir = path.resolve(projectRoot, entry.path);
|
|
137
131
|
const harnessPath = path.resolve(harnessDir, 'harness.json');
|
|
138
132
|
try {
|
|
@@ -79,15 +79,9 @@ async function main() {
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
// Harness
|
|
83
|
-
// forwards it to this child process via AGENTCORE_PREVIEW (see toolkit-lib/wrapper.ts).
|
|
84
|
-
// This app is built separately and cannot see that build-time define, so it gates on the
|
|
85
|
-
// env var. Absent/anything-but-'1' defaults to off so a stale harnesses[] entry in a
|
|
86
|
-
// non-preview build never synthesizes an AWS::BedrockAgentCore::Harness resource.
|
|
87
|
-
const previewEnabled = process.env.AGENTCORE_PREVIEW === '1';
|
|
88
|
-
|
|
82
|
+
// Synthesize an AWS::BedrockAgentCore::Harness resource for each harness entry in the spec.
|
|
89
83
|
const harnessConfigs: HarnessConfig[] = [];
|
|
90
|
-
for (const entry of
|
|
84
|
+
for (const entry of specAny.harnesses ?? []) {
|
|
91
85
|
const harnessDir = path.resolve(projectRoot, entry.path);
|
|
92
86
|
const harnessPath = path.resolve(harnessDir, 'harness.json');
|
|
93
87
|
try {
|