From 037bfd8459eec46028053043b0b64ce9f4f2fc6f Mon Sep 17 00:00:00 2001 From: cryptotavares Date: Tue, 27 Oct 2026 17:58:03 +0000 Subject: [PATCH 1/3] chore(deps): upgrade @anthropic-ai/claude-agent-sdk to ^0.3.310 --- CHANGELOG.md | 1 + package.json | 2 +- yarn.lock | 74 ++++++++++++++++++++++++++-------------------------- 3 files changed, 39 insertions(+), 38 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4dc9724..4d244aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Upgrade `@anthropic-ai/claude-agent-sdk` to `^0.3.310`. - Apply the `on-success` Docker cleanup policy uniformly: adapters keep the container unless the run completed with a successful result. - **Breaking for custom Claude-backed adapters:** the runner no longer injects `settingSources: []`. Add `defaultOptions: { settingSources: [] }` to custom adapters to preserve SDK-settings isolation. The built-in Claude adapter keeps this default. - Reject judge `queryOptions` for non-Claude adapters without `runStructured()` instead of forwarding provider-native options to the legacy Claude judge. Use a separate Claude runner for customized Claude judging. diff --git a/package.json b/package.json index ac03e3d..562076f 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@anthropic-ai/claude-agent-sdk": "^0.3.220", + "@anthropic-ai/claude-agent-sdk": "^0.3.310", "@langfuse/client": "^5.3.0", "@langfuse/otel": "^5.3.0", "@langfuse/tracing": "^5.3.0", diff --git a/yarn.lock b/yarn.lock index 287648e..84689d5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12,74 +12,74 @@ __metadata: languageName: node linkType: hard -"@anthropic-ai/claude-agent-sdk-darwin-arm64@npm:0.3.220": - version: 0.3.220 - resolution: "@anthropic-ai/claude-agent-sdk-darwin-arm64@npm:0.3.220" +"@anthropic-ai/claude-agent-sdk-darwin-arm64@npm:0.3.310": + version: 0.3.310 + resolution: "@anthropic-ai/claude-agent-sdk-darwin-arm64@npm:0.3.310" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@anthropic-ai/claude-agent-sdk-darwin-x64@npm:0.3.220": - version: 0.3.220 - resolution: "@anthropic-ai/claude-agent-sdk-darwin-x64@npm:0.3.220" +"@anthropic-ai/claude-agent-sdk-darwin-x64@npm:0.3.310": + version: 0.3.310 + resolution: "@anthropic-ai/claude-agent-sdk-darwin-x64@npm:0.3.310" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@anthropic-ai/claude-agent-sdk-linux-arm64-musl@npm:0.3.220": - version: 0.3.220 - resolution: "@anthropic-ai/claude-agent-sdk-linux-arm64-musl@npm:0.3.220" +"@anthropic-ai/claude-agent-sdk-linux-arm64-musl@npm:0.3.310": + version: 0.3.310 + resolution: "@anthropic-ai/claude-agent-sdk-linux-arm64-musl@npm:0.3.310" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@anthropic-ai/claude-agent-sdk-linux-arm64@npm:0.3.220": - version: 0.3.220 - resolution: "@anthropic-ai/claude-agent-sdk-linux-arm64@npm:0.3.220" +"@anthropic-ai/claude-agent-sdk-linux-arm64@npm:0.3.310": + version: 0.3.310 + resolution: "@anthropic-ai/claude-agent-sdk-linux-arm64@npm:0.3.310" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@anthropic-ai/claude-agent-sdk-linux-x64-musl@npm:0.3.220": - version: 0.3.220 - resolution: "@anthropic-ai/claude-agent-sdk-linux-x64-musl@npm:0.3.220" +"@anthropic-ai/claude-agent-sdk-linux-x64-musl@npm:0.3.310": + version: 0.3.310 + resolution: "@anthropic-ai/claude-agent-sdk-linux-x64-musl@npm:0.3.310" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@anthropic-ai/claude-agent-sdk-linux-x64@npm:0.3.220": - version: 0.3.220 - resolution: "@anthropic-ai/claude-agent-sdk-linux-x64@npm:0.3.220" +"@anthropic-ai/claude-agent-sdk-linux-x64@npm:0.3.310": + version: 0.3.310 + resolution: "@anthropic-ai/claude-agent-sdk-linux-x64@npm:0.3.310" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@anthropic-ai/claude-agent-sdk-win32-arm64@npm:0.3.220": - version: 0.3.220 - resolution: "@anthropic-ai/claude-agent-sdk-win32-arm64@npm:0.3.220" +"@anthropic-ai/claude-agent-sdk-win32-arm64@npm:0.3.310": + version: 0.3.310 + resolution: "@anthropic-ai/claude-agent-sdk-win32-arm64@npm:0.3.310" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@anthropic-ai/claude-agent-sdk-win32-x64@npm:0.3.220": - version: 0.3.220 - resolution: "@anthropic-ai/claude-agent-sdk-win32-x64@npm:0.3.220" +"@anthropic-ai/claude-agent-sdk-win32-x64@npm:0.3.310": + version: 0.3.310 + resolution: "@anthropic-ai/claude-agent-sdk-win32-x64@npm:0.3.310" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@anthropic-ai/claude-agent-sdk@npm:^0.3.220": - version: 0.3.220 - resolution: "@anthropic-ai/claude-agent-sdk@npm:0.3.220" +"@anthropic-ai/claude-agent-sdk@npm:^0.3.310": + version: 0.3.310 + resolution: "@anthropic-ai/claude-agent-sdk@npm:0.3.310" dependencies: - "@anthropic-ai/claude-agent-sdk-darwin-arm64": "npm:0.3.220" - "@anthropic-ai/claude-agent-sdk-darwin-x64": "npm:0.3.220" - "@anthropic-ai/claude-agent-sdk-linux-arm64": "npm:0.3.220" - "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "npm:0.3.220" - "@anthropic-ai/claude-agent-sdk-linux-x64": "npm:0.3.220" - "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "npm:0.3.220" - "@anthropic-ai/claude-agent-sdk-win32-arm64": "npm:0.3.220" - "@anthropic-ai/claude-agent-sdk-win32-x64": "npm:0.3.220" + "@anthropic-ai/claude-agent-sdk-darwin-arm64": "npm:0.3.310" + "@anthropic-ai/claude-agent-sdk-darwin-x64": "npm:0.3.310" + "@anthropic-ai/claude-agent-sdk-linux-arm64": "npm:0.3.310" + "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "npm:0.3.310" + "@anthropic-ai/claude-agent-sdk-linux-x64": "npm:0.3.310" + "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "npm:0.3.310" + "@anthropic-ai/claude-agent-sdk-win32-arm64": "npm:0.3.310" + "@anthropic-ai/claude-agent-sdk-win32-x64": "npm:0.3.310" peerDependencies: "@anthropic-ai/sdk": ">=0.93.0" "@modelcontextprotocol/sdk": ^1.29.0 @@ -101,7 +101,7 @@ __metadata: optional: true "@anthropic-ai/claude-agent-sdk-win32-x64": optional: true - checksum: 10/5803643ed6473b565449ade726d25cd45354f945d1090fbd5c0b70980c062eb6598e954982dcab898c7cf00492ee07c2207d3e3442b16b95ed79d1b0f7e07a09 + checksum: 10/5aa2b40a55845b8ba7febf48641661e8312e7f74c47a41663f7734bf1581535fda00ba399447f677762289e33225d38b205ee567735fbe4c4159ed6e46268fd2 languageName: node linkType: hard @@ -1254,7 +1254,7 @@ __metadata: version: 0.0.0-use.local resolution: "@metamask/agent-runner@workspace:." dependencies: - "@anthropic-ai/claude-agent-sdk": "npm:^0.3.220" + "@anthropic-ai/claude-agent-sdk": "npm:^0.3.310" "@arethetypeswrong/cli": "npm:^0.15.3" "@earendil-works/pi-coding-agent": "npm:0.83.0" "@langfuse/client": "npm:^5.3.0" From f82a6e58b975b15540bbfa6af94811c357a83aa5 Mon Sep 17 00:00:00 2001 From: cryptotavares Date: Tue, 27 Oct 2026 18:18:38 +0000 Subject: [PATCH 2/3] chore: update LavaMoat lifecycle script policy --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 562076f..6beda12 100644 --- a/package.json +++ b/package.json @@ -114,7 +114,8 @@ "@lavamoat/preinstall-always-fail": false, "@langfuse/otel>@opentelemetry/exporter-trace-otlp-http>@opentelemetry/otlp-transformer>protobufjs": false, "@opentelemetry/sdk-node>@opentelemetry/exporter-logs-otlp-grpc>@grpc/grpc-js>@grpc/proto-loader>protobufjs": false, - "eslint-plugin-import-x>unrs-resolver": false + "eslint-plugin-import-x>unrs-resolver": false, + "@langfuse/otel>@opentelemetry/otlp-exporter-base>@opentelemetry/otlp-transformer>protobufjs": false } } } From 8f411c4a80758a0a222b4e4cd6ca960a3a73616e Mon Sep 17 00:00:00 2001 From: cryptotavares Date: Tue, 27 Oct 2026 23:18:33 +0000 Subject: [PATCH 3/3] chore: remove PR changelog entry --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d244aa..4dc9724 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed -- Upgrade `@anthropic-ai/claude-agent-sdk` to `^0.3.310`. - Apply the `on-success` Docker cleanup policy uniformly: adapters keep the container unless the run completed with a successful result. - **Breaking for custom Claude-backed adapters:** the runner no longer injects `settingSources: []`. Add `defaultOptions: { settingSources: [] }` to custom adapters to preserve SDK-settings isolation. The built-in Claude adapter keeps this default. - Reject judge `queryOptions` for non-Claude adapters without `runStructured()` instead of forwarding provider-native options to the legacy Claude judge. Use a separate Claude runner for customized Claude judging.