[PR #7339] [MERGED] chore(deps): bump Claude Agent SDK to 0.3.293 for Claude Haiku 5.5 #7687

Closed
opened 2026-10-24 04:06:32 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7339
Author: @SpicyMarinara
Created: 10/9/2026
Status: ✅ Merged
Merged: 10/9/2026
Merged by: @SpicyMarinara

Base: staging ← Head: chore/7313-claude-agent-sdk-0.3.295


📝 Commits (6)

  • 6df51b2 chore(deps): bump Claude Agent SDK to 0.3.293 for Claude Haiku 5.5
  • 5fca068 Merge origin/staging into chore/7313-claude-agent-sdk-0.3.295
  • 2d43bfd docs(changelog): describe what the Haiku 5.5 bundle bump actually changes
  • e481a7e Merge origin/staging into chore/7313-claude-agent-sdk-0.3.295
  • 703ef7a Merge origin/staging into chore/7313-claude-agent-sdk-0.3.295
  • c3f01df Move the CHANGELOG entry away from other open PRs

📊 Changes

3 files changed (+39 additions, -38 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 packages/server/package.json (+1 -1)
📝 pnpm-lock.yaml (+37 -37)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Refs #7313

Companion to #7314, which closes the issue. #7314 uses a newer Claude Code the host already has and adds Haiku 5.5 and Fable 5.1 to the model list. This PR covers hosts that have no newer Claude Code of their own. The two PRs touch different files.

Why this change

  • Claude (Subscription) runs the Claude Code build bundled with @anthropic-ai/claude-agent-sdk whenever the host has no newer Claude Code (Docker, fresh installs). The bundled build is 2.1.282, which predates Claude Haiku 5.5 (claude-haiku-5-5). Claude Code added Haiku 5.5 in 2.1.293 ("Added Claude Haiku 5.5 (claude-haiku-5-5), now the default Haiku model on the Anthropic API"), and the 2.1.282 binary does not contain the model ID at all.
  • Even with #7314 listing Haiku 5.5, those hosts would still send it through 2.1.282.
  • Claude Fable 5.1 already works on the current bundle: Claude Code's model catalog requires 2.1.251 or later for claude-fable-5-1, and 2.1.282 already contains it.

What changed

  • packages/server/package.json: @anthropic-ai/claude-agent-sdk 0.3.282 → 0.3.293, which bundles Claude Code 2.1.293.
  • pnpm-lock.yaml: the SDK and its eight per-platform packages moved together. Nothing else changed in the lockfile.
  • CHANGELOG.md: one [Unreleased] entry.

Why 0.3.293 and not 0.3.295. pnpm-workspace.yaml sets minimumReleaseAge: 1440 (24 hours). 0.3.295 was published 2026-10-08 18:22 UTC and 0.3.294 at 16:36 UTC, and pnpm refuses both today with ERR_PNPM_NO_MATURE_MATCHING_VERSION. 0.3.293 and all its platform packages were published 2026-10-07 around 17:20 UTC, so they pass the policy. 0.3.293 is also the first version that bundles Haiku 5.5. The 2.1.294 and 2.1.295 changelogs only cover hooks and CLI features that a text-only SDK session doesn't use. The branch name still says 0.3.295 because it was created before the age check.

Install paths checked:

  • Docker (Dockerfile, Dockerfile.lite), start.sh, start.bat and the Windows installer (install.bat, installer.nsi) all install with --frozen-lockfile and get the new platform package from the lockfile. None of them pins an SDK version.
  • Android/Termux installs use pnpm's android/<arch> target, and the SDK ships no Android build, so this bump doesn't change Termux.
  • capability-native-dependencies.service.ts reads the platform package list from the SDK's own package.json, and jsonl-entries.ts reads the version at runtime, so neither needs a code change.
  • The SDK's peer dependencies are the same in both versions. The existing zod ^4.0.0 peer warning was already there with 0.3.282.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

Agent-run checks (not a substitute for the boxes above):

  • pnpm install --lockfile-only with 0.3.295 failed with ERR_PNPM_NO_MATURE_MATCHING_VERSION (released 14 hours ago). With 0.3.293 it resolved, and the following pnpm install --frozen-lockfile --prefer-offline succeeded.
  • The installed SDK's manifest.json reports 2.1.293. The bundled claude --version prints 2.1.293 (Claude Code), and its binary contains claude-haiku-5-5, which the 2.1.282 binary did not.
  • The SDK's ThinkingConfig in 0.3.293 still has no between_tools type, so the Sonnet 5.5 fallback in claude-subscription.provider.ts is still needed.
  • Regressions passed: claude-subscription-cache, claude-opus55, claude-sonnet55, capability-native-dependencies, termux-native-deps, termux-sharp, termux-postmortem, launcher/format-guard, launcher/update and launcher/env. termux-sharp was run with npm_config_store_dir set to the main checkout's store, because the agent worktree installs into that shared store.
  • pnpm check passed on 6df51b2 (via the shared slot limiter).
  • Local CodeRabbit (coderabbit review --agent --committed against the staging merge-base) reviewed CHANGELOG.md, packages/server/package.json and pnpm-lock.yaml and reported 0 findings.

Verifier checks (on 5fca068, then 2d43bfd changed only CHANGELOG.md):

  • The lockfile integrity for the SDK and all eight platform packages matches the npm registry's dist.integrity, and their os/cpu/libc fields match. pnpm install --lockfile-only leaves pnpm-lock.yaml unchanged. On macOS, the in-place update from the staging install (0.3.282) to this branch installs darwin-arm64@0.3.293, and the SDK resolves that binary.
  • The linux-arm64 package downloaded inside node:24-trixie-slim has the lockfile's integrity and runs as 2.1.293 (Claude Code) there and on wolfi-base. Both are the Docker image bases.
  • The SDK still looks for a linux-<arch>-android package on Termux, which npm doesn't publish, so 0.3.282 and 0.3.293 behave the same there.
  • A live Claude (Subscription) request to claude-haiku-5-5 with provider-like SDK options already replies on 0.3.282. But 2.1.282 prints [claude-code:unrecognized_model] and reports a 200K context window and an unknown cost basis. On 0.3.293 the same request runs without the warning and reports a 1M window with list pricing. The CHANGELOG entry now says that. The previous wording said Haiku 5.5 didn't work before and that only hosts without their own Claude Code were affected, but staging always runs the bundled build.
  • pnpm check passed. The regressions capability-native-dependencies, claude-subscription-cache, claude-opus55, claude-sonnet55, provider-compat, termux-native-deps, termux-postmortem, termux-sharp, launcher/format-guard, launcher/update and launcher/env also passed.

Still to verify by hand:

  • Manually verify in Docker (no host Claude Code) that a Claude (Subscription) chat on claude-haiku-5-5 replies. Until #7314 lands, enter the model ID by hand.
  • Manually verify that a Claude (Subscription) chat on an existing model, such as Sonnet 5.5 or Opus 5.5, still replies with the bundled build, including a regenerate or swipe (resume path).
  • Manually verify that Diagnose on a Claude (Subscription) connection still reports the requested model.
  • Manually verify that the Windows installer and start.bat install the new win32-x64 platform package and that Claude (Subscription) still starts there.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

Only CHANGELOG.md changed. No file under docs/ names the bundled Claude Code version.

UI evidence (if applicable)

No UI changes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/7339 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/9/2026 **Status:** ✅ Merged **Merged:** 10/9/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `chore/7313-claude-agent-sdk-0.3.295` --- ### 📝 Commits (6) - [`6df51b2`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6df51b21c823e42b90a3c75b01b1829bd7c792cd) chore(deps): bump Claude Agent SDK to 0.3.293 for Claude Haiku 5.5 - [`5fca068`](https://github.com/Pasta-Devs/Marinara-Engine/commit/5fca068c1ff30886375dc33e72a915dba5443f74) Merge origin/staging into chore/7313-claude-agent-sdk-0.3.295 - [`2d43bfd`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2d43bfd8fb198eee2af88a8f7d495108a5d9135c) docs(changelog): describe what the Haiku 5.5 bundle bump actually changes - [`e481a7e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e481a7ebf68bec2bc0287947f571e15fe7a2ace1) Merge origin/staging into chore/7313-claude-agent-sdk-0.3.295 - [`703ef7a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/703ef7a74fe35abd4d6628d0233e84e152032f4d) Merge origin/staging into chore/7313-claude-agent-sdk-0.3.295 - [`c3f01df`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c3f01dfa3df6ed23524ba4a7c35f9e3a4baff490) Move the CHANGELOG entry away from other open PRs ### 📊 Changes **3 files changed** (+39 additions, -38 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `packages/server/package.json` (+1 -1) 📝 `pnpm-lock.yaml` (+37 -37) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. <!-- See CONTRIBUTING.md § Branches. --> ## Linked issue Refs #7313 Companion to #7314, which closes the issue. #7314 uses a newer Claude Code the host already has and adds Haiku 5.5 and Fable 5.1 to the model list. This PR covers hosts that have no newer Claude Code of their own. The two PRs touch different files. ## Why this change - Claude (Subscription) runs the Claude Code build bundled with `@anthropic-ai/claude-agent-sdk` whenever the host has no newer Claude Code (Docker, fresh installs). The bundled build is 2.1.282, which predates **Claude Haiku 5.5** (`claude-haiku-5-5`). Claude Code added Haiku 5.5 in **2.1.293** ("Added Claude Haiku 5.5 (`claude-haiku-5-5`), now the default Haiku model on the Anthropic API"), and the 2.1.282 binary does not contain the model ID at all. - Even with #7314 listing Haiku 5.5, those hosts would still send it through 2.1.282. - **Claude Fable 5.1** already works on the current bundle: Claude Code's model catalog requires 2.1.251 or later for `claude-fable-5-1`, and 2.1.282 already contains it. ## What changed - `packages/server/package.json`: `@anthropic-ai/claude-agent-sdk` `0.3.282` → `0.3.293`, which bundles Claude Code 2.1.293. - `pnpm-lock.yaml`: the SDK and its eight per-platform packages moved together. Nothing else changed in the lockfile. - `CHANGELOG.md`: one `[Unreleased]` entry. **Why 0.3.293 and not 0.3.295.** `pnpm-workspace.yaml` sets `minimumReleaseAge: 1440` (24 hours). 0.3.295 was published 2026-10-08 18:22 UTC and 0.3.294 at 16:36 UTC, and pnpm refuses both today with `ERR_PNPM_NO_MATURE_MATCHING_VERSION`. 0.3.293 and all its platform packages were published 2026-10-07 around 17:20 UTC, so they pass the policy. 0.3.293 is also the first version that bundles Haiku 5.5. The 2.1.294 and 2.1.295 changelogs only cover hooks and CLI features that a text-only SDK session doesn't use. The branch name still says 0.3.295 because it was created before the age check. **Install paths checked:** - Docker (`Dockerfile`, `Dockerfile.lite`), `start.sh`, `start.bat` and the Windows installer (`install.bat`, `installer.nsi`) all install with `--frozen-lockfile` and get the new platform package from the lockfile. None of them pins an SDK version. - Android/Termux installs use pnpm's `android/<arch>` target, and the SDK ships no Android build, so this bump doesn't change Termux. - `capability-native-dependencies.service.ts` reads the platform package list from the SDK's own `package.json`, and `jsonl-entries.ts` reads the version at runtime, so neither needs a code change. - The SDK's peer dependencies are the same in both versions. The existing `zod ^4.0.0` peer warning was already there with 0.3.282. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes Agent-run checks (not a substitute for the boxes above): - `pnpm install --lockfile-only` with `0.3.295` failed with `ERR_PNPM_NO_MATURE_MATCHING_VERSION` (released 14 hours ago). With `0.3.293` it resolved, and the following `pnpm install --frozen-lockfile --prefer-offline` succeeded. - The installed SDK's `manifest.json` reports `2.1.293`. The bundled `claude --version` prints `2.1.293 (Claude Code)`, and its binary contains `claude-haiku-5-5`, which the 2.1.282 binary did not. - The SDK's `ThinkingConfig` in 0.3.293 still has no `between_tools` type, so the Sonnet 5.5 fallback in `claude-subscription.provider.ts` is still needed. - Regressions passed: `claude-subscription-cache`, `claude-opus55`, `claude-sonnet55`, `capability-native-dependencies`, `termux-native-deps`, `termux-sharp`, `termux-postmortem`, `launcher/format-guard`, `launcher/update` and `launcher/env`. `termux-sharp` was run with `npm_config_store_dir` set to the main checkout's store, because the agent worktree installs into that shared store. - `pnpm check` passed on `6df51b2` (via the shared slot limiter). - Local CodeRabbit (`coderabbit review --agent --committed` against the staging merge-base) reviewed `CHANGELOG.md`, `packages/server/package.json` and `pnpm-lock.yaml` and reported 0 findings. Verifier checks (on `5fca068`, then `2d43bfd` changed only `CHANGELOG.md`): - The lockfile integrity for the SDK and all eight platform packages matches the npm registry's `dist.integrity`, and their `os`/`cpu`/`libc` fields match. `pnpm install --lockfile-only` leaves `pnpm-lock.yaml` unchanged. On macOS, the in-place update from the staging install (0.3.282) to this branch installs `darwin-arm64@0.3.293`, and the SDK resolves that binary. - The `linux-arm64` package downloaded inside `node:24-trixie-slim` has the lockfile's integrity and runs as `2.1.293 (Claude Code)` there and on `wolfi-base`. Both are the Docker image bases. - The SDK still looks for a `linux-<arch>-android` package on Termux, which npm doesn't publish, so 0.3.282 and 0.3.293 behave the same there. - A live Claude (Subscription) request to `claude-haiku-5-5` with provider-like SDK options **already replies on 0.3.282**. But 2.1.282 prints `[claude-code:unrecognized_model]` and reports a 200K context window and an unknown cost basis. On 0.3.293 the same request runs without the warning and reports a 1M window with list pricing. The CHANGELOG entry now says that. The previous wording said Haiku 5.5 didn't work before and that only hosts without their own Claude Code were affected, but staging always runs the bundled build. - `pnpm check` passed. The regressions `capability-native-dependencies`, `claude-subscription-cache`, `claude-opus55`, `claude-sonnet55`, `provider-compat`, `termux-native-deps`, `termux-postmortem`, `termux-sharp`, `launcher/format-guard`, `launcher/update` and `launcher/env` also passed. Still to verify by hand: - Manually verify in Docker (no host Claude Code) that a Claude (Subscription) chat on `claude-haiku-5-5` replies. Until #7314 lands, enter the model ID by hand. - Manually verify that a Claude (Subscription) chat on an existing model, such as Sonnet 5.5 or Opus 5.5, still replies with the bundled build, including a regenerate or swipe (resume path). - Manually verify that **Diagnose** on a Claude (Subscription) connection still reports the requested model. - Manually verify that the Windows installer and `start.bat` install the new `win32-x64` platform package and that Claude (Subscription) still starts there. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) Only `CHANGELOG.md` changed. No file under `docs/` names the bundled Claude Code version. ## UI evidence (if applicable) No UI changes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-24 04:06:32 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#7687
No description provided.