@aws/nx-plugin-mcp 1.3.1 → 1.3.2
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.
|
@@ -702,7 +702,7 @@ export class StoryAgent extends Construct implements IGrantable, IConnectable {
|
|
|
702
702
|
this.code = AgentRuntimeArtifact.fromCodeAsset({
|
|
703
703
|
path: bundleDir,
|
|
704
704
|
runtime: AgentCoreRuntime.PYTHON_3_14,
|
|
705
|
-
entrypoint: ['
|
|
705
|
+
entrypoint: ['agentcore_launcher.py'],
|
|
706
706
|
});
|
|
707
707
|
|
|
708
708
|
const {
|
package/docs/guides/py-agent.mdx
CHANGED
|
@@ -563,7 +563,7 @@ In order to build your Agent for Bedrock AgentCore Runtime, a `bundle` target is
|
|
|
563
563
|
- Installs dependencies for the target platform (`aarch64-manylinux_2_28`) using `uv pip install`
|
|
564
564
|
|
|
565
565
|
<OptionFilter when={{ infra: 'agentcore' }} description="Code package target">
|
|
566
|
-
A `<your-agent-name>-package` target is also added, which assembles the deployable code package: the `aarch64` dependency bundle, your Python module tree,
|
|
566
|
+
A `<your-agent-name>-package` target is also added, which assembles the deployable code package: the `aarch64` dependency bundle, your Python module tree, a root `main.py` entry point, and `agentcore_launcher.py` to run it with OpenTelemetry instrumentation. The generated infrastructure uploads this directory as a `.zip` - via `AgentRuntimeArtifact.fromCodeAsset` under CDK, or archived into the shared asset bucket under Terraform.
|
|
567
567
|
</OptionFilter>
|
|
568
568
|
|
|
569
569
|
<OptionFilter when={{ infra: 'agentcore-ecr' }} description="Container image build and scan">
|
|
@@ -174,7 +174,7 @@ In order to build your MCP server for Bedrock AgentCore Runtime, a `bundle` targ
|
|
|
174
174
|
- Installs dependencies for the target platform (`aarch64-manylinux_2_28`) using `uv pip install`
|
|
175
175
|
|
|
176
176
|
<OptionFilter when={{ infra: 'agentcore' }} description="Code package target">
|
|
177
|
-
A `<your-server-name>-package` target is also added, which assembles the deployable code package: the `aarch64` dependency bundle, your Python module tree,
|
|
177
|
+
A `<your-server-name>-package` target is also added, which assembles the deployable code package: the `aarch64` dependency bundle, your Python module tree, a root `main.py` entry point, and `agentcore_launcher.py` to run it with OpenTelemetry instrumentation. The generated infrastructure uploads this directory as a `.zip` - via `AgentRuntimeArtifact.fromCodeAsset` under CDK, or archived into the shared asset bucket under Terraform.
|
|
178
178
|
</OptionFilter>
|
|
179
179
|
|
|
180
180
|
<OptionFilter when={{ infra: 'agentcore-ecr' }} description="Container image build and scan">
|