{"agent":"claude","input":"Add AWS Lambda Powertools for TypeScript to this CDK app. Read index.ts, cdk.json, package.json, jest.config.js, lambdas/package.json and every handler under lambdas/ first, plus the nearest *.test.ts in the repository for the assertion style. Add @aws-lambda-powertools/logger, tracer and metrics and @middy/core to the lambdas package, create lambdas/powertools.ts with one Logger, Tracer and Metrics instance read from POWERTOOLS_SERVICE_NAME and POWERTOOLS_METRICS_NAMESPACE, wrap every handler with injectLambdaContext, captureLambdaHandler and logMetrics, capture the DynamoDB client with the tracer, log every caught error with logger.error without changing the response, and add one count metric per handler outcome. In the stack set tracing: Tracing.ACTIVE and the POWERTOOLS_SERVICE_NAME, POWERTOOLS_METRICS_NAMESPACE and LOG_LEVEL variables on the shared function props, and enable tracing on the RestApi deploy stage. Bundle Powertools with esbuild; do not add a layer. Add an assertion test that checks TracingConfig, the environment variables and the stage tracing flag. Run npm ci, npm run build, npm test and cdk synth, and open a pull request listing the files, the metric names and the test output.","resources":[{"url":"https://github.com/your-org/your-app"}]}