@aws/nx-plugin-mcp 1.5.0 → 1.6.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.
@@ -0,0 +1,146 @@
1
+ ---
2
+ title: Langfuse Observability
3
+ description: Export an existing Python Strands agent's application traces to Langfuse
4
+ generator: observability#langfuse
5
+ ---
6
+
7
+ import RunGenerator from '@components/run-generator.astro';
8
+ import GeneratorParameters from '@components/generator-parameters.astro';
9
+ import Link from '@components/link.astro';
10
+
11
+ Add Langfuse trace viewing to an existing `py#agent`, both during local development and after deployment. This experimental component generator supports **Python Strands, HTTP, AgentCore zip deployment (`infra: agentcore`), CDK, and IAM authentication**. It preserves the agent's model, tools, and configured session storage.
12
+
13
+ Other languages, frameworks, protocols, MCP servers, containers, Terraform, and `infra: none` are rejected. Langfuse export selects AgentCore platform V1 and fails CDK validation for V2: credentials and exporter connections must not be captured in an unqualified startup snapshot. The generator does not deploy Langfuse or create a secret.
14
+
15
+ Existing agents continue using their generated tracing setup unless you run this generator. Langfuse starts on the next local `dev` run; deployed agents switch after you rebuild and redeploy. As an experimental generator, its output may change without an upgrade migration; users must review and reconcile those changes themselves.
16
+
17
+ ## CloudWatch implications
18
+
19
+ :::caution[Application traces move to Langfuse]
20
+ For deployed agents, enabling Langfuse disables ADOT and changes the zip entrypoint. **New application spans from the agent, model calls, and tools go to Langfuse instead of CloudWatch.** They disappear from CloudWatch GenAI Observability and Transaction Search. **Dual export is not supported.** Local invocations also export to Langfuse; their stdout/stderr stays in the local terminal.
21
+ :::
22
+
23
+ | Signal or feature | Effect with Langfuse enabled |
24
+ | --- | --- |
25
+ | Agent/model/tool application spans | Exported to Langfuse. These spans are no longer delivered to `aws/spans` or the runtime's application spans stream. |
26
+ | Runtime service metrics | Invocations, Latency, UserErrors, and SystemErrors remain available in CloudWatch. |
27
+ | Agent stdout/stderr | Uvicorn logs and application output still go to the runtime's CloudWatch log group. Prompts or tool results printed by your app can therefore remain in AWS logs too. |
28
+ | ADOT structured telemetry logs | Disabled with ADOT. Ordinary application logs continue independently. Restoring ADOT restores its structured telemetry logs. |
29
+ | Separately delivered AgentCore service spans | Not redirected by this application exporter. Check the separate delivery configuration for Memory, Gateway, Identity, and built-in tools; this integration does not configure or guarantee their delivery. |
30
+ | AgentCore Evaluations | CloudWatch-backed online/batch evaluation and `CloudWatchAgentSpanCollector` lose new application spans for this agent. The on-demand Evaluate API can accept caller-supplied spans, but this generator supplies no replacement collector. |
31
+ | Application tests, dashboards, and evaluation jobs | Generated application tests do not require CloudWatch traces. Any dashboards, alarms, or evaluation jobs that read application spans from CloudWatch lose those new spans. Check the trace source used by each integration before enabling Langfuse. |
32
+
33
+ See AWS's [supported evaluation telemetry](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/supported-frameworks-telemetry.html) and [observability configuration](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/observability-configure.html) for service delivery and evaluation requirements.
34
+
35
+ ### Data residency and cost
36
+
37
+ Prompts, completions, model usage, and tool inputs/outputs from **local and deployed invocations** are sent to the configured Langfuse endpoint. With Langfuse Cloud, this data leaves your laptop or AWS environment for a third-party service. With self-hosted Langfuse, it goes to the host you select. Check that endpoint, region, retention, and access controls against your data-handling requirements before enabling export. This generator does not redact trace content.
38
+
39
+ CloudWatch/X-Ray usage charges associated with the switched-off application traces decrease; runtime metrics and log charges remain. Langfuse has its own plan or hosting costs, and Secrets Manager and outbound transfer may add charges. There is no dual-export cost in this version.
40
+
41
+ The exporter batches spans and attempts a flush before each invocation's final response frame, with an 8-second flush timeout inside a 10-second guard. This can add up to 10 seconds of latency before the final response frame. Export failures or an interrupted process can still lose telemetry; traces are not a durable audit log.
42
+
43
+ ## Usage
44
+
45
+ Commit your existing workspace changes before running this generator. Review and commit the Langfuse changes, including dependency installation, separately so you can revert the integration later.
46
+
47
+ ### Select an existing agent
48
+
49
+ <RunGenerator generator="observability#langfuse" />
50
+
51
+ Use the project name recorded in `project.json`. If it contains several agents, also pass the agent component's name with `--agent`.
52
+
53
+ <GeneratorParameters generator="observability#langfuse" />
54
+
55
+ ### Prepare a secret and endpoint
56
+
57
+ We recommend [self-hosting Langfuse on AWS](https://langfuse.com/self-hosting) when choosing where to keep your trace data. Use an existing, secured HTTPS installation; this generator does not provision one. Langfuse Cloud is also supported when you explicitly select its endpoint.
58
+
59
+ Create a Secrets Manager secret in the agent's AWS account and region. Its JSON must contain the string fields `LANGFUSE_PUBLIC_KEY` and `LANGFUSE_SECRET_KEY` with your Langfuse project's keys. Use the Secrets Manager console or an approved secret-management process; do not put keys in generator flags, source files, shell history, or runtime environment variables.
60
+
61
+ Use the AWS managed Secrets Manager encryption key for this first version. A secret encrypted with a customer-managed KMS key needs an additional, explicitly scoped decrypt grant that this generator does not create.
62
+
63
+ Pass the secret's **complete ARN**, including its six-character suffix, and the HTTPS base URL of an existing Langfuse deployment, such as one you already host on AWS. The endpoint must be reachable from **both your development machine and the deployed agent**. **There is no default destination; `--host` is required on first use.** This experimental generator accepts ARNs in the `aws`, `aws-us-gov`, and `aws-cn` partitions; ISO partitions are not supported.
64
+
65
+ ```sh
66
+ pnpm nx g @aws/nx-plugin:observability#langfuse \
67
+ --project=my_agent \
68
+ --secretArn="$LANGFUSE_SECRET_ARN" \
69
+ --host=https://langfuse.example.com
70
+ ```
71
+
72
+ Here `LANGFUSE_SECRET_ARN` contains only the ARN, not a key. CDK grants `secretsmanager:GetSecretValue` on exactly that ARN. The application loads both keys once at process startup and constructs Basic authentication in memory. Arrange a runtime restart when rotating keys; an unchanged CDK deployment does not refresh running processes.
73
+
74
+ The CDK helper writes the host and secret ARN to AppConfig at `agentcore.langfuse.<AgentClass>`, preserving entries for other agents. Deployed startup reads this entry through `get_agentcore_runtime_config()`, using the agent's existing AppConfig read grant. The generated runtime sets `DISABLE_ADOT_OBSERVABILITY=true` so AgentCore's managed ADOT pipeline leaves tracing to the application; host and secret ARN are not runtime environment variables.
75
+
76
+ Replace `https://langfuse.example.com` with your existing endpoint. To use Langfuse Cloud, explicitly pass its regional base URL, such as `https://cloud.langfuse.com` for EU or `https://us.cloud.langfuse.com` for US. Path prefixes are supported. Provide the base URL, without `/api/public/otel`; credentials, query parameters, and fragments in the URL are rejected. Repeat runs retain the previous host and secret unless you supply replacements; leaving either input blank keeps its saved value.
77
+
78
+ The exporter uses OTLP/HTTP with `x-langfuse-ingestion-version: 4`. Self-hosted installations must support that ingestion contract. Consult Langfuse's [OpenTelemetry integration](https://langfuse.com/integrations/native/opentelemetry) and [v4 migration guide](https://langfuse.com/integrations/native/opentelemetry/migration-to-v4) when choosing an endpoint.
79
+
80
+ ### Run locally
81
+
82
+ Use your normal AWS development credentials, such as an authenticated AWS profile selected with `AWS_PROFILE`. That identity needs `secretsmanager:GetSecretValue` on the selected secret, in addition to the permissions your agent normally needs for its model and tools. The generated execution-role grant covers the deployed agent; it does not grant permissions to your developer identity.
83
+
84
+ ```sh
85
+ pnpm nx run my_agent:dev
86
+ ```
87
+
88
+ The agent's `dev` and `serve` targets run `langfuse_dev.py` through Uvicorn with automatic reload. It stores only the host and secret ARN, reads the keys from Secrets Manager, and initializes tracing before importing the agent. **No deployed AppConfig application is needed to start local tracing.** The assigned local port is preserved. Keys are never read from a local `.env` file or Langfuse environment variables.
89
+
90
+ **Local development can run without Langfuse secret access.** If its configuration or credentials cannot be loaded, startup logs a warning and the local agent continues without Langfuse export. Requests do not retry the secret lookup. Fix your AWS credentials, secret-read permission, or configuration, then restart `dev`/`serve` to enable tracing. Your agent still needs its normal model and tool permissions. Deployed agents continue to fail startup when their Langfuse credentials cannot be loaded.
91
+
92
+ Invoke the local agent using its generated chat client or HTTP endpoint. Both local and deployed invocations use the same Langfuse destination and session mapping. The agent's local HTTP server keeps its normal behavior; the HTTPS requirement applies to the Langfuse destination. A laptop-only Langfuse endpoint such as `http://localhost:3000` is not supported.
93
+
94
+ Builds, OpenAPI generation, and generated tests do not fetch Langfuse keys. The generated offline Python test checks both local configuration and AppConfig configuration with synthetic credentials and an in-memory exporter.
95
+
96
+ ### Build, deploy, and check a trace
97
+
98
+ Build your workspace as described in the <Link path="guides/py-agent">Python agent guide</Link>. The generator changes deployment files; it does not deploy them.
99
+
100
+ :::caution[Use rollback-enabled deployment for configuration changes]
101
+ Enabling Langfuse on an existing stack, changing its host or secret ARN, or reverting the integration replaces an immutable AppConfig configuration version. The generated `deploy-sandbox` target uses express mode with rollback disabled by default, which rejects resource replacements and can leave the stack in `UPDATE_FAILED`.
102
+
103
+ Use standard deployment with rollback enabled for these changes. Replace `my_infra` with your infrastructure project name:
104
+
105
+ ```sh
106
+ pnpm nx run my_infra:deploy-sandbox --no-express --rollback
107
+ ```
108
+
109
+ For other stages, use the `deploy` target with an explicit stage or stack selector and rollback enabled, as described in the <Link path="guides/typescript-infrastructure">infrastructure guide</Link>.
110
+
111
+ If an earlier deployment has already left the stack in `UPDATE_FAILED`, recover it before switching deployment modes. CloudFormation can require follow-up operations to use the same express configuration until the stack reaches a complete state. Follow AWS's [failed-stack recovery guidance](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stack-failure-options.html); changing the deployment flag alone does not recover a failed stack.
112
+ :::
113
+
114
+ Invoke the local or deployed agent with a prompt that calls a tool. Open its trace detail view in the Langfuse UI and verify the invocation root, agent/model/tool children, and their input/output content. Select the model (generation) observation to check its token usage. Open the trace's session to confirm the AgentCore session ID, then repeat a short request in that session to check flushing and grouping.
115
+
116
+ The application root retains the upstream AWS trace and parent IDs; the Langfuse SDK marks it as the logical application root even though the AWS service parent is not exported to Langfuse.
117
+
118
+ Session IDs between 33 and 200 characters appear unchanged in Langfuse. Longer IDs use their 64-character SHA-256 hex digest as the Langfuse session ID, so repeated requests still appear in the same session. This mapping changes only Langfuse grouping; the AgentCore session ID sent to the application is unchanged. A missing ID or one shorter than 33 characters gets a new UUID for that invocation. The generated client uses UUIDs within these limits.
119
+
120
+ ## Generated files and repeat runs
121
+
122
+ The generator adds `langfuse_telemetry.py` and `langfuse_dev.py` beside the agent, a separate `package/<agent>/langfuse_main.py` entrypoint, and a Python exporter test. It wires the existing CDK construct to `langfuse-observability.ts`, copies the deployment entrypoint into the zip, and declares its dependencies. The stock ADOT launcher remains packaged.
123
+
124
+ The Langfuse entrypoint creates one provider before importing the agent. FastAPI's overlapping tracing is disabled only in that process; native Strands spans use the same provider. The Langfuse SDK's public observation API supplies the application root and session attributes. Invocation input/output capture is bounded to 1 MiB each; the root records `content_truncated` when that limit is exceeded.
125
+
126
+ The dependency set uses Langfuse 4.18.0 and ADOT 0.22.0. The vended OpenTelemetry pins match ADOT's requirements, including API/SDK/HTTP exporter 1.45.1, and are held to preserve that compatibility. ADOT and Langfuse remain eligible for the repository's regular dependency updates; check their compatibility and adjust the OpenTelemetry pins when upgrading. Starlette follows FastAPI's dependency requirements.
127
+
128
+ Repeating the generator with the same inputs does not duplicate wiring or overwrite your runtime edits. It still honors your dependency-installation preference, so you can rerun it to retry a failed or deferred installation. Changing the host or secret updates both the local entrypoint and CDK configuration; restart local development, rebuild, and use the [rollback-enabled deployment command](#build-deploy-and-check-a-trace) to apply the change in both environments. If you edit either configuration or customize the local startup commands, the generator asks you to reconcile them before changing options. This prevents an option change from silently replacing custom wiring.
129
+
130
+ An earlier experimental setup without `langfuse_dev.py` must be reverted and regenerated with the updated generator. Preserve and reapply any customizations separately.
131
+
132
+ ## Switch back to CloudWatch
133
+
134
+ Revert the dedicated commit containing the Langfuse generator's changes:
135
+
136
+ ```sh
137
+ git revert <langfuse-setup-commit>
138
+ ```
139
+
140
+ Review the revert for conflicts with subsequent agent changes. Other generators may have added usage-metric tags to the same array in `packages/common/constructs/src/core/app.ts`; preserve those tags when resolving the conflict. Remove the Langfuse tag (`g79`) only if no other agent still uses Langfuse, and preserve shared dependencies needed by remaining integrations.
141
+
142
+ Reinstall workspace dependencies, rebuild, then redeploy using the [rollback-enabled deployment command](#build-deploy-and-check-a-trace). Removing the AppConfig entry also requires a resource replacement; do not use the default express command for this step. Reverting the complete setup restores the stock ADOT entrypoint and local startup commands, and removes the Langfuse wiring, files, dependency additions, runtime settings, and secret-read grant. Restart any running local `dev` process. Invoke the deployed agent with a new session and verify new application traces in CloudWatch.
143
+
144
+ The generator has no rollback flag. Keep unrelated changes out of the setup commit so reverting it does not remove them.
145
+
146
+ The existing secret remains yours to manage. Reverting the integration does not copy, delete, or move historical traces between backends. To enable Langfuse again, run the generator with the host and secret ARN.
@@ -219,7 +219,7 @@ https://truststore.pki.rds.amazonaws.com/global/global-bundle.pem
219
219
 
220
220
  ##### Runtime Container Images
221
221
 
222
- If you prepare your own container image for the runtime, download the RDS CA bundle in your Dockerfile and add it to the operating system trust store.
222
+ If you prepare your own container image for the runtime, download the RDS CA bundle in your Dockerfile and add it to the operating system trust store. Node.js does not read that store, so also set `NODE_EXTRA_CA_CERTS` to the bundle's path. Node.js loads extra CA certificates only from that variable.
223
223
 
224
224
  <Tabs>
225
225
  <TabItem label="Amazon Linux">
@@ -228,6 +228,7 @@ If you prepare your own container image for the runtime, download the RDS CA bun
228
228
  RUN curl -fsSL "https://truststore.pki.rds.amazonaws.com/global/global-bundle.pem" \
229
229
  -o /etc/pki/ca-trust/source/anchors/rds-bundle.pem && \
230
230
  update-ca-trust
231
+ ENV NODE_EXTRA_CA_CERTS=/etc/pki/ca-trust/source/anchors/rds-bundle.pem
231
232
  ```
232
233
 
233
234
  </TabItem>
@@ -239,11 +240,16 @@ RUN apt-get update && apt-get install -y --no-install-recommends curl ca-certifi
239
240
  curl -fsSL "https://truststore.pki.rds.amazonaws.com/global/global-bundle.pem" \
240
241
  -o /usr/local/share/ca-certificates/rds-bundle.crt && \
241
242
  update-ca-certificates
243
+ ENV NODE_EXTRA_CA_CERTS=/usr/local/share/ca-certificates/rds-bundle.crt
242
244
  ```
243
245
 
244
246
  </TabItem>
245
247
  </Tabs>
246
248
 
249
+ ##### AgentCore Code Packages
250
+
251
+ Agents and MCP servers deployed as AgentCore code packages (`infra` set to `agentcore`, the default for the `ts#agent` and `ts#mcp-server` generators) are not covered automatically. The code package contains no CA file for `NODE_EXTRA_CA_CERTS` to point at. Keep RDS Proxy enabled (the default), or set `infra` to `agentcore-ecr` to deploy a container image, where the connection generator downloads the bundle and sets `NODE_EXTRA_CA_CERTS` for you.
252
+
247
253
  ##### Zipped Lambda Functions
248
254
 
249
255
  For zipped Lambda functions using Node.js 20 or later runtimes, load the Amazon RDS CA bundle by setting `NODE_EXTRA_CA_CERTS`:
@@ -1,35 +1,10 @@
1
1
  ---
2
2
  title: SSL Requirements when Connecting without RDS Proxy
3
3
  ---
4
- import Infrastructure from '@components/infrastructure.astro';
5
4
 
6
- The connection generator updates the Dockerfile to install the Amazon RDS CA bundle at `/usr/local/share/ca-certificates/rds-bundle.crt`. Set `NODE_EXTRA_CA_CERTS` to that path so Node.js trusts the certificate when connecting without RDS Proxy:
5
+ When the agent connects to the Aurora cluster without RDS Proxy, Node.js must trust the Amazon RDS certificate authority (CA). Node.js does not read the operating system trust store. It loads extra CA certificates only from the file that the `NODE_EXTRA_CA_CERTS` environment variable points at.
7
6
 
8
- <Infrastructure>
9
- <Fragment slot="cdk">
10
-
11
- ```ts title="packages/infra/src/stacks/application-stack.ts"
12
- new MyAgent(this, 'MyAgent', {
13
- ...
14
- environmentVariables: {
15
- NODE_EXTRA_CA_CERTS: '/usr/local/share/ca-certificates/rds-bundle.crt',
16
- },
17
- });
18
- ```
19
-
20
- </Fragment>
21
- <Fragment slot="terraform">
22
-
23
- ```hcl title="packages/infra/src/main.tf"
24
- module "my_agent" {
25
- ...
26
- env = {
27
- NODE_EXTRA_CA_CERTS = "/usr/local/share/ca-certificates/rds-bundle.crt"
28
- }
29
- }
30
- ```
31
-
32
- </Fragment>
33
- </Infrastructure>
7
+ - When the agent's `infra` is `agentcore-ecr`, the connection generator updates the Dockerfile. It downloads the Amazon RDS CA bundle to `/usr/local/share/ca-certificates/rds-bundle.crt` and sets `NODE_EXTRA_CA_CERTS` to that path, so there is nothing to configure. For a Dockerfile generated by an earlier plugin version, `nx migrate` adds the `NODE_EXTRA_CA_CERTS` line.
8
+ - When the agent's `infra` is `agentcore` (the default), the agent is deployed as a code package that does not include the RDS CA bundle. Keep RDS Proxy enabled (the default), or use `agentcore-ecr`.
34
9
 
35
10
  For more details, see the [Amazon RDS SSL/TLS documentation](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html). When using RDS Proxy, you do not need to configure `NODE_EXTRA_CA_CERTS`.
@@ -1,35 +1,10 @@
1
1
  ---
2
2
  title: SSL Requirements when Connecting without RDS Proxy
3
3
  ---
4
- import Infrastructure from '@components/infrastructure.astro';
5
4
 
6
- The connection generator updates the Dockerfile to install the Amazon RDS CA bundle at `/usr/local/share/ca-certificates/rds-bundle.crt`. Set `NODE_EXTRA_CA_CERTS` to that path so Node.js trusts the certificate when connecting without RDS Proxy:
5
+ When the MCP server connects to the Aurora cluster without RDS Proxy, Node.js must trust the Amazon RDS certificate authority (CA). Node.js does not read the operating system trust store. It loads extra CA certificates only from the file that the `NODE_EXTRA_CA_CERTS` environment variable points at.
7
6
 
8
- <Infrastructure>
9
- <Fragment slot="cdk">
10
-
11
- ```ts title="packages/infra/src/stacks/application-stack.ts"
12
- new MyMcpServer(this, 'MyMcpServer', {
13
- ...
14
- environmentVariables: {
15
- NODE_EXTRA_CA_CERTS: '/usr/local/share/ca-certificates/rds-bundle.crt',
16
- },
17
- });
18
- ```
19
-
20
- </Fragment>
21
- <Fragment slot="terraform">
22
-
23
- ```hcl title="packages/infra/src/main.tf"
24
- module "my_mcp_server" {
25
- ...
26
- env = {
27
- NODE_EXTRA_CA_CERTS = "/usr/local/share/ca-certificates/rds-bundle.crt"
28
- }
29
- }
30
- ```
31
-
32
- </Fragment>
33
- </Infrastructure>
7
+ - When the MCP server's `infra` is `agentcore-ecr`, the connection generator updates the Dockerfile. It downloads the Amazon RDS CA bundle to `/usr/local/share/ca-certificates/rds-bundle.crt` and sets `NODE_EXTRA_CA_CERTS` to that path, so there is nothing to configure. For a Dockerfile generated by an earlier plugin version, `nx migrate` adds the `NODE_EXTRA_CA_CERTS` line.
8
+ - When the MCP server's `infra` is `agentcore` (the default), the MCP server is deployed as a code package that does not include the RDS CA bundle. Keep RDS Proxy enabled (the default), or use `agentcore-ecr`.
34
9
 
35
10
  For more details, see the [Amazon RDS SSL/TLS documentation](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html). When using RDS Proxy, you do not need to configure `NODE_EXTRA_CA_CERTS`.
package/generators.json CHANGED
@@ -52,6 +52,14 @@
52
52
  "guidePages": ["agentcore-harness"],
53
53
  "experimental": true
54
54
  },
55
+ "observability#langfuse": {
56
+ "factory": "./src/observability/langfuse/generator",
57
+ "schema": "./src/observability/langfuse/schema.json",
58
+ "description": "Configure Langfuse trace export for an existing Python Strands agent",
59
+ "metric": "g79",
60
+ "experimental": true,
61
+ "guidePages": ["observability-langfuse"]
62
+ },
55
63
  "connection": {
56
64
  "factory": "./src/connection/generator",
57
65
  "schema": "./src/connection/schema.json",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws/nx-plugin-mcp",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/awslabs/nx-plugin-for-aws.git",
@@ -0,0 +1,38 @@
1
+ {
2
+ "$schema": "https://json-schema.org/schema",
3
+ "$id": "observability#langfuse",
4
+ "title": "observability#langfuse",
5
+ "x-label": "Langfuse Observability",
6
+ "description": "Configure Langfuse for an existing Python Strands HTTP agent using AgentCore zip deployment, IAM, and CDK",
7
+ "type": "object",
8
+ "properties": {
9
+ "project": {
10
+ "type": "string",
11
+ "description": "Project containing the Python agent",
12
+ "$default": { "$source": "argv", "index": 0 },
13
+ "x-prompt": "Which project contains the agent?",
14
+ "x-dropdown": "projects"
15
+ },
16
+ "agent": {
17
+ "type": "string",
18
+ "description": "Agent component name; required when the project contains multiple Python agents"
19
+ },
20
+ "host": {
21
+ "type": "string",
22
+ "description": "HTTPS base URL of an existing Langfuse installation, including any self-hosted path prefix. Required on first use; re-runs retain the previous value. There is no default destination.",
23
+ "x-prompt": "What is the HTTPS URL of your existing Langfuse installation?",
24
+ "x-priority": "important"
25
+ },
26
+ "secretArn": {
27
+ "type": "string",
28
+ "description": "Complete ARN of an existing Secrets Manager secret containing LANGFUSE_PUBLIC_KEY and LANGFUSE_SECRET_KEY. Required when first enabling Langfuse; never pass key values.",
29
+ "x-priority": "important"
30
+ },
31
+ "preferInstallDependencies": {
32
+ "type": "boolean",
33
+ "description": "Install dependencies after generation",
34
+ "default": true
35
+ }
36
+ },
37
+ "required": ["project"]
38
+ }