[PR #1356] [MERGED] fix(noodle,slurp2,calls): Engine Claude (Subscription) privacy fixes in package bundles; SpicyAPI edit references in Slurp #1418

Closed
opened 2026-10-21 05:11:09 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1356
Author: @SpicyMarinara
Created: 10/13/2026
Status: ✅ Merged
Merged: 10/13/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/1313-claude-subscription-spicyapi-refs


📝 Commits (5)

  • 8dd4a29 fix(noodle,slurp2,calls): carry the Engine's Claude (Subscription) privacy fixes; SpicyAPI edit references in Slurp
  • 8eab51d fix(slurp2,calls): keep the Slurp splash file under its size cap; pin Calls 1.1.3 in its release test
  • 90f88be test: match the missing-plugin error without building a regex (CodeQL)
  • 98b4de8 Merge origin/staging; move Slurp to 0.3.36
  • e5cb3c0 Merge origin/staging; Slurp 0.3.37; warn when Claude Code ignores the chat-context plugin

📊 Changes

43 files changed (+2126 additions, -797 deletions)

View changed files

📝 .github/workflows/pull-request-checks.yml (+3 -0)
📝 CONTRIBUTING.md (+1 -0)
➕ artifacts/conversation-calls-1.1.3.zip (+0 -0)
➕ artifacts/noodle-1.5.6.zip (+0 -0)
➕ artifacts/slurp2-0.3.37.zip (+0 -0)
📝 catalog/catalog.json (+65 -20)
📝 catalog/notes.json (+18 -6)
📝 catalog/v2/catalog.json (+65 -20)
📝 catalog/v2/notes.json (+18 -6)
📝 catalog/v3/catalog.json (+65 -20)
📝 catalog/v3/notes.json (+18 -6)
📝 eslint.config.mjs (+1 -0)
📝 package.json (+3 -3)
📝 packages/conversation-calls/CHANGELOG.md (+4 -0)
➕ packages/conversation-calls/claude-code-plugin/.claude-plugin/plugin.json (+6 -0)
➕ packages/conversation-calls/claude-code-plugin/hooks/hooks.json (+4 -0)
➕ packages/conversation-calls/claude-code-plugin/hooks/register.mjs (+9 -0)
📝 packages/conversation-calls/manifest.json (+18 -3)
📝 packages/conversation-calls/server.mjs (+175 -175)
📝 packages/noodle/CHANGELOG.md (+4 -0)

...and 23 more files

📄 Description

Pull request

Linked issue

Closes #1313
Refs #1337 (stays open: Slurp has no SpicyAPI image adapter yet, so this PR only prepares the reference-image rule)

Why this change

  • #1313 (privacy): Noodle, Slurp and Calls make their own model requests with a copy of the Engine's Claude (Subscription) provider, taken from the frozen sources/engine snapshot. That copy predates Pasta-Devs/Marinara-Engine#7448 and Pasta-Devs/Marinara-Engine#7460. With a Claude (Subscription) connection, every package request still did two things the Engine has stopped doing. It made a hidden second request to name the session (generate_session_title). It also let Claude Code put the account email, the date and the server's environment between the system prompt and the chat.
  • #1337: Slurp drops avatar references for every SpicyAPI connection, including SpicyAPI edit models, whose IDs end in /edit and which accept references.

What changed

  • One shared overlay instead of a re-copy. I checked whether the packages could call the host's provider instead. The only host API that comes close is runtime.languageModels.resolve(...).chatComplete. It is non-streaming, and the three packages create providers in many places, so switching to it would be a migration, not a small fix. Instead, sources/claude-subscription-overlay/ holds one package-owned copy of the provider. The builder stacks it over sources/engine for the three packages, in prepareFeatureBuildRoot, behind the new claudeSubscription: true feature flag. The vendored file and its baseline entry are untouched.
  • The overlay provider is the vendored file plus the Engine's privacy changes:
    • title: "Title", so there is no hidden session-title request.
    • plugins: [{ type: "local", path }], which loads the marinara-chat-context plugin. Its three files are byte-identical to Engine packages/server/src/assets/claude-code-plugin.
    • assertChatContextPlugin() runs before the SDK starts, so the request fails closed when the plugin files are missing.
    • stopIfClaudeCodeExposesMcp: the request aborts and errors when init lists MCP servers or mcp__ tools.
    • A warning when the plugin reports a load error.
    • One warning per server run when Claude Code is older than 2.1.293. Engine 2.5.0's Agent SDK runs Claude Code 2.1.282, which loads the plugin without an error but ignores it, so the account email, date and computer details still go out there. 2.1.293 (Engine staging, Agent SDK 0.3.293) drops them. The packages run whatever Claude Code the host links, so the strip needs an Engine release after 2.5.0. The changelogs, notes.json and the Slurp splash say so. It warns instead of refusing: refusing would break Claude (Subscription) in all three packages on 2.5.0, whose own chats send the same context. The init message only arrives after the CLI has sent the request, so this is a signal, not a guard.
    • Custom Parameters now go through the Engine's allowlist (CUSTOMIZABLE_SDK_OPTION_KEYS), so a connection's Custom Parameters can no longer override title, plugins, env or the tool isolation. Before, they were deep-merged into every SDK option except resume/cwd/sessionStore.
  • What I left out: the Engine's newer thinking/effort handling, the 1-hour cache option and the installed-CLI selection (including Android). They need shared helpers and ChatOptions fields the frozen snapshot doesn't have, and the packages never shared the installed-CLI code. The MCP error therefore drops the Engine's CLAUDE_SUBSCRIPTION_USE_INSTALLED_CLI hint, because packages always run the SDK's own Claude Code.
  • Plugin location. The provider finds the plugin with new URL("./claude-code-plugin", import.meta.url). In a package that URL is server.mjs, so the builder copies the plugin to packages/<id>/claude-code-plugin/ and declares the three files as package files. The Engine copies every declared file into the runtime snapshot beside server.mjs. Captures exclude the overlay path, so a build never writes it back into sources/engine.
  • Checks cover the overlay: npm run check (Prettier + ESLint globs) and npm run typecheck:packages now include it. I confirmed the typecheck catches an undefined name in it. CONTRIBUTING's layout section documents it.
  • Slurp (#1337): slpImageReferencesSupported returns true for service spicyapi when the model ends in /edit. All other rules are unchanged, and a fallback connection must still accept references too. I added no host match: the Engine's connection editor always saves imageService: "spicyapi" for SpicyAPI connections, and SpicyAPI connections only exist since Engine #7489.
  • Versions: Noodle 1.5.5 → 1.5.6, Slurp 0.3.36 → 0.3.37 (SLURP2_VERSION and a one-line splash note; the file stays under the 800-line cap at 799 lines; staging published 0.3.35 from #1353 and 0.3.36 from #1358 while this PR was open), Calls 1.1.2 → 1.1.3. Each is above every version its catalog lanes have published. Patch changelog entries added; manifests, payloads, zips, v2/v3/legacy catalogs and notes.json regenerated by the builders.

Package and security impact

  • Affected package IDs: noodle, slurp2, conversation-calls.
  • Engine compatibility impact: ranges, capability API and builtAgainst are unchanged, and the packages keep working on Engine 2.4.1/2.4.6 and later. The title fix and the MCP stop work on every supported Engine. The email/date/environment strip only takes effect with Claude Code 2.1.293 or newer, which no Engine release ships yet (2.5.0 has 2.1.282, Engine staging has 2.1.293). On 2.5.0 the server logs a warning instead.
  • New or changed permissions/entrypoints: none. Each package gains three declared, hash-pinned files: claude-code-plugin/.claude-plugin/plugin.json, claude-code-plugin/hooks/hooks.json and claude-code-plugin/hooks/register.mjs. register.mjs is executable code that Claude Code loads. Its whole body is on("prompt.attachment", async () => ({ text: null })), the same as the Engine's.
  • Restart, storage, update, or uninstall impact: a normal package update and restart. Claude Code may write a tsconfig.json beside the plugin in the runtime snapshot, which is temporary and owned by Marinara. Installed files are unaffected.
  • Security-sensitive change (executable server code): the server bundles of all three packages change. Custom Parameters on a Claude (Subscription) connection can now tune only betas, effort, fallbackModel, maxBudgetUsd, maxThinkingTokens, model, outputFormat, taskBudget and thinking, the same allowlist as the Engine.

Build provenance (non-hermetic builds)

Package MARINARA_ENGINE_ROOT Reproduction of the published artifact
Calls Engine d71106851 Rebuilding unchanged 1.1.2 there was byte-identical, so the full rebuild ran there. client.js is unchanged.
Noodle Engine ead04150a server.mjs was byte-identical there. Published 1.5.5's client.js came from a newer root, so I rebuilt only server.mjs and packaged it with the committed client.js (MARINARA_RELEASE_BUILD=0 MARINARA_REUSE_FEATURE_RUNTIME=1). That two-step build of unchanged 1.5.5 reproduced the published zip byte for byte. client.js is unchanged.
Slurp Engine dc0760d2a (the root #1346 named) server.mjs was byte-identical there and at staging 1c0e7e1b1. No Engine staging root reproduces the client.js of 0.3.33–0.3.36 (staging's 0.3.35 and 0.3.36 rebuilt there give an identical server.mjs and the same CSS-only client.js difference; 0.3.36 rebuilt at Engine staging 41e403e24 does not match either); those were built outside these roots. The new SLURP2_VERSION forces a client rebuild (the builder enforces it). The JS part grows by 170 bytes for the splash entry, apart from renamed minified identifiers. The scoped CSS block is about 190 KB larger, the same size 0.3.31/0.3.32 shipped from this root.

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

Agent-run (not ticked above):

  • npm run check: 0 errors (warnings unchanged; none in changed files). npm run typecheck:packages: clean for all five packages.

  • node scripts/test-catalog-lanes.mjs, node scripts/validate-package-locales.mjs, node scripts/validate-catalog.mjs, node scripts/tests/catalog-release-notes.regression.mjs, git diff --check: all pass.

  • New tests/claude-subscription-overlay.regression.mjs, now in the Catalog validation job. It stacks the overlay over the vendored server sources the way the builder does and drives chat() through a fake Agent SDK:

    • the request carries title: "Title" and the plugin path, and keeps ENABLE_CLAUDEAI_MCP_SERVERS=false, even when Custom Parameters try to blank title, plugins and env;
    • claude.ai connector servers, or mcp__ tools alone, abort and reject the request;
    • removing any one plugin file rejects the request before the SDK is called;
    • an init reporting Claude Code 2.1.282 logs the "ignores the chat-context mod" warning once across two requests, and 2.1.293 logs nothing (this part fails against the previous overlay);
    • each package declares and ships the three plugin files byte-identical to the overlay, and each server.mjs presets the title and resolves the plugin from its own location.

    Against the frozen vendored provider, the same test fails on the first assertion (title is '').

  • tests/conversation-calls-summary.regression.mjs pins the Calls version, so it now expects 1.1.3.

  • Slurp regressions (scripts/run-slurp-regressions.mjs, Engine dc0760d2a with shared built): 289/289 pass on this branch and on a pristine origin/staging worktree. Noodle/NoodleR/Calls regressions: the same 5 fail as on a pristine origin/staging worktree (noodle-public-only, four noodler-*); none are new.

  • tests/slurp2-appearance-profile.regression.ts covers the SpicyAPI rules: an edit model gets references, a text-to-image model does not, and the fallback rule holds both ways. It fails one case without the fix. tests/slurp2-release-notes.regression.ts and tests/slurp2-splash.regression.ts pass.

  • validate-vendored-engine.mjs against Engine staging 1c0e7e1b1 reports 124 unbaselined drifted files. Those come from Engine-side changes since the baseline. This PR changes neither sources/engine nor the baseline, so origin/staging gets the same result.

Needs a human, please:

  • Manually verify, on Engine staging with a Claude (Subscription) connection and OTEL_LOG_RAW_API_BODIES=file:<folder> in .env, that one Noodle generation, one Slurp post or reply and one Calls turn each show a single request per generation in <folder>/index.jsonl (no generate_session_title), and that the request files have no account email reminder and no # Environment block. Delete the folder afterwards, because it holds the account email.
  • Manually verify that, after updating each package through Agents → Download Agents and restarting, the runtime snapshot under the data directory's capability-runtime-snapshots/<id>-<version>-*/ contains claude-code-plugin/ beside server.mjs, and that a Claude (Subscription) request from each package succeeds.
  • Manually verify that the Slurp splash shows the 0.3.37 note once after the update.
  • Manually verify, on Engine v2.5.0 with a Claude (Subscription) connection, that the first Noodle, Slurp or Calls request logs Claude Code 2.1.282 ignores the chat-context mod once in the server log, and that the request still succeeds.

Known gap (not fixed here)

Slurp's bundled image code (sources/engine/.../image-generation.ts, frozen) has no SpicyAPI adapter. The frozen inferImageSource and normalizeExplicitImageSource route a spicyapi connection to the OpenAI images path, so SpicyAPI pictures don't generate in Slurp at all yet. This PR makes Slurp hand edit-model references to generateImage as #1337 asks, and the changelog says so plainly. Getting SpicyAPI pictures working in Slurp needs a follow-up: a package-owned SpicyAPI adapter overlay, or a host image-generation capability.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

CONTRIBUTING's repository layout now lists sources/claude-subscription-overlay/.


🔄 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-Agents/pull/1356 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/13/2026 **Status:** ✅ Merged **Merged:** 10/13/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/1313-claude-subscription-spicyapi-refs` --- ### 📝 Commits (5) - [`8dd4a29`](https://github.com/Pasta-Devs/Marinara-Agents/commit/8dd4a29badf4ccceeddf08ddaa0ff27d03430e8f) fix(noodle,slurp2,calls): carry the Engine's Claude (Subscription) privacy fixes; SpicyAPI edit references in Slurp - [`8eab51d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/8eab51da94528925ee7b1af5a917cdd7311eac63) fix(slurp2,calls): keep the Slurp splash file under its size cap; pin Calls 1.1.3 in its release test - [`90f88be`](https://github.com/Pasta-Devs/Marinara-Agents/commit/90f88be9f68c87a8e109f635480d93d44c2d85b3) test: match the missing-plugin error without building a regex (CodeQL) - [`98b4de8`](https://github.com/Pasta-Devs/Marinara-Agents/commit/98b4de834a2d85022a6ed162da81cfbf81803ee5) Merge origin/staging; move Slurp to 0.3.36 - [`e5cb3c0`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e5cb3c007941e508414b10ab55453ecaf86e311b) Merge origin/staging; Slurp 0.3.37; warn when Claude Code ignores the chat-context plugin ### 📊 Changes **43 files changed** (+2126 additions, -797 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/pull-request-checks.yml` (+3 -0) 📝 `CONTRIBUTING.md` (+1 -0) ➕ `artifacts/conversation-calls-1.1.3.zip` (+0 -0) ➕ `artifacts/noodle-1.5.6.zip` (+0 -0) ➕ `artifacts/slurp2-0.3.37.zip` (+0 -0) 📝 `catalog/catalog.json` (+65 -20) 📝 `catalog/notes.json` (+18 -6) 📝 `catalog/v2/catalog.json` (+65 -20) 📝 `catalog/v2/notes.json` (+18 -6) 📝 `catalog/v3/catalog.json` (+65 -20) 📝 `catalog/v3/notes.json` (+18 -6) 📝 `eslint.config.mjs` (+1 -0) 📝 `package.json` (+3 -3) 📝 `packages/conversation-calls/CHANGELOG.md` (+4 -0) ➕ `packages/conversation-calls/claude-code-plugin/.claude-plugin/plugin.json` (+6 -0) ➕ `packages/conversation-calls/claude-code-plugin/hooks/hooks.json` (+4 -0) ➕ `packages/conversation-calls/claude-code-plugin/hooks/register.mjs` (+9 -0) 📝 `packages/conversation-calls/manifest.json` (+18 -3) 📝 `packages/conversation-calls/server.mjs` (+175 -175) 📝 `packages/noodle/CHANGELOG.md` (+4 -0) _...and 23 more files_ </details> ### 📄 Description # Pull request ## Linked issue Closes #1313 Refs #1337 (stays open: Slurp has no SpicyAPI image adapter yet, so this PR only prepares the reference-image rule) ## Why this change - **#1313 (privacy):** Noodle, Slurp and Calls make their own model requests with a copy of the Engine's Claude (Subscription) provider, taken from the frozen `sources/engine` snapshot. That copy predates Pasta-Devs/Marinara-Engine#7448 and Pasta-Devs/Marinara-Engine#7460. With a Claude (Subscription) connection, every package request still did two things the Engine has stopped doing. It made a hidden second request to name the session (`generate_session_title`). It also let Claude Code put the account email, the date and the server's environment between the system prompt and the chat. - **#1337:** Slurp drops avatar references for every SpicyAPI connection, including SpicyAPI edit models, whose IDs end in `/edit` and which accept references. ## What changed - **One shared overlay instead of a re-copy.** I checked whether the packages could call the host's provider instead. The only host API that comes close is `runtime.languageModels.resolve(...).chatComplete`. It is non-streaming, and the three packages create providers in many places, so switching to it would be a migration, not a small fix. Instead, `sources/claude-subscription-overlay/` holds one package-owned copy of the provider. The builder stacks it over `sources/engine` for the three packages, in `prepareFeatureBuildRoot`, behind the new `claudeSubscription: true` feature flag. The vendored file and its baseline entry are untouched. - **The overlay provider** is the vendored file plus the Engine's privacy changes: - `title: "Title"`, so there is no hidden session-title request. - `plugins: [{ type: "local", path }]`, which loads the `marinara-chat-context` plugin. Its three files are byte-identical to Engine `packages/server/src/assets/claude-code-plugin`. - `assertChatContextPlugin()` runs before the SDK starts, so the request fails closed when the plugin files are missing. - `stopIfClaudeCodeExposesMcp`: the request aborts and errors when `init` lists MCP servers or `mcp__` tools. - A warning when the plugin reports a load error. - One warning per server run when Claude Code is older than 2.1.293. Engine 2.5.0's Agent SDK runs Claude Code 2.1.282, which loads the plugin without an error but ignores it, so the account email, date and computer details still go out there. 2.1.293 (Engine `staging`, Agent SDK 0.3.293) drops them. The packages run whatever Claude Code the host links, so the strip needs an Engine release after 2.5.0. The changelogs, `notes.json` and the Slurp splash say so. It warns instead of refusing: refusing would break Claude (Subscription) in all three packages on 2.5.0, whose own chats send the same context. The init message only arrives after the CLI has sent the request, so this is a signal, not a guard. - Custom Parameters now go through the Engine's allowlist (`CUSTOMIZABLE_SDK_OPTION_KEYS`), so a connection's Custom Parameters can no longer override `title`, `plugins`, `env` or the tool isolation. Before, they were deep-merged into every SDK option except `resume`/`cwd`/`sessionStore`. - **What I left out:** the Engine's newer thinking/effort handling, the 1-hour cache option and the installed-CLI selection (including Android). They need shared helpers and `ChatOptions` fields the frozen snapshot doesn't have, and the packages never shared the installed-CLI code. The MCP error therefore drops the Engine's `CLAUDE_SUBSCRIPTION_USE_INSTALLED_CLI` hint, because packages always run the SDK's own Claude Code. - **Plugin location.** The provider finds the plugin with `new URL("./claude-code-plugin", import.meta.url)`. In a package that URL is `server.mjs`, so the builder copies the plugin to `packages/<id>/claude-code-plugin/` and declares the three files as package files. The Engine copies every declared file into the runtime snapshot beside `server.mjs`. Captures exclude the overlay path, so a build never writes it back into `sources/engine`. - **Checks cover the overlay:** `npm run check` (Prettier + ESLint globs) and `npm run typecheck:packages` now include it. I confirmed the typecheck catches an undefined name in it. CONTRIBUTING's layout section documents it. - **Slurp (#1337):** `slpImageReferencesSupported` returns true for service `spicyapi` when the model ends in `/edit`. All other rules are unchanged, and a fallback connection must still accept references too. I added no host match: the Engine's connection editor always saves `imageService: "spicyapi"` for SpicyAPI connections, and SpicyAPI connections only exist since Engine #7489. - **Versions:** Noodle 1.5.5 → 1.5.6, Slurp 0.3.36 → 0.3.37 (`SLURP2_VERSION` and a one-line splash note; the file stays under the 800-line cap at 799 lines; staging published 0.3.35 from #1353 and 0.3.36 from #1358 while this PR was open), Calls 1.1.2 → 1.1.3. Each is above every version its catalog lanes have published. Patch changelog entries added; manifests, payloads, zips, v2/v3/legacy catalogs and `notes.json` regenerated by the builders. ## Package and security impact - Affected package IDs: `noodle`, `slurp2`, `conversation-calls`. - Engine compatibility impact: ranges, capability API and `builtAgainst` are unchanged, and the packages keep working on Engine 2.4.1/2.4.6 and later. The title fix and the MCP stop work on every supported Engine. The email/date/environment strip only takes effect with Claude Code 2.1.293 or newer, which no Engine release ships yet (2.5.0 has 2.1.282, Engine `staging` has 2.1.293). On 2.5.0 the server logs a warning instead. - New or changed permissions/entrypoints: none. Each package gains three declared, hash-pinned files: `claude-code-plugin/.claude-plugin/plugin.json`, `claude-code-plugin/hooks/hooks.json` and `claude-code-plugin/hooks/register.mjs`. `register.mjs` is executable code that Claude Code loads. Its whole body is `on("prompt.attachment", async () => ({ text: null }))`, the same as the Engine's. - Restart, storage, update, or uninstall impact: a normal package update and restart. Claude Code may write a `tsconfig.json` beside the plugin in the runtime snapshot, which is temporary and owned by Marinara. Installed files are unaffected. - **Security-sensitive change (executable server code):** the server bundles of all three packages change. Custom Parameters on a Claude (Subscription) connection can now tune only `betas`, `effort`, `fallbackModel`, `maxBudgetUsd`, `maxThinkingTokens`, `model`, `outputFormat`, `taskBudget` and `thinking`, the same allowlist as the Engine. ### Build provenance (non-hermetic builds) | Package | `MARINARA_ENGINE_ROOT` | Reproduction of the published artifact | | --- | --- | --- | | Calls | Engine `d71106851` | Rebuilding unchanged 1.1.2 there was byte-identical, so the full rebuild ran there. `client.js` is unchanged. | | Noodle | Engine `ead04150a` | `server.mjs` was byte-identical there. Published 1.5.5's `client.js` came from a newer root, so I rebuilt only `server.mjs` and packaged it with the committed `client.js` (`MARINARA_RELEASE_BUILD=0 MARINARA_REUSE_FEATURE_RUNTIME=1`). That two-step build of unchanged 1.5.5 reproduced the published zip byte for byte. `client.js` is unchanged. | | Slurp | Engine `dc0760d2a` (the root #1346 named) | `server.mjs` was byte-identical there and at staging `1c0e7e1b1`. No Engine staging root reproduces the `client.js` of 0.3.33–0.3.36 (staging's 0.3.35 and 0.3.36 rebuilt there give an identical `server.mjs` and the same CSS-only `client.js` difference; 0.3.36 rebuilt at Engine `staging` `41e403e24` does not match either); those were built outside these roots. The new `SLURP2_VERSION` forces a client rebuild (the builder enforces it). The JS part grows by 170 bytes for the splash entry, apart from renamed minified identifiers. The scoped CSS block is about 190 KB larger, the same size 0.3.31/0.3.32 shipped from this root. | ## Validation - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes Agent-run (not ticked above): - `npm run check`: 0 errors (warnings unchanged; none in changed files). `npm run typecheck:packages`: clean for all five packages. - `node scripts/test-catalog-lanes.mjs`, `node scripts/validate-package-locales.mjs`, `node scripts/validate-catalog.mjs`, `node scripts/tests/catalog-release-notes.regression.mjs`, `git diff --check`: all pass. - New `tests/claude-subscription-overlay.regression.mjs`, now in the Catalog validation job. It stacks the overlay over the vendored server sources the way the builder does and drives `chat()` through a fake Agent SDK: - the request carries `title: "Title"` and the plugin path, and keeps `ENABLE_CLAUDEAI_MCP_SERVERS=false`, even when Custom Parameters try to blank `title`, `plugins` and `env`; - claude.ai connector servers, or `mcp__` tools alone, abort and reject the request; - removing any one plugin file rejects the request before the SDK is called; - an `init` reporting Claude Code 2.1.282 logs the "ignores the chat-context mod" warning once across two requests, and 2.1.293 logs nothing (this part fails against the previous overlay); - each package declares and ships the three plugin files byte-identical to the overlay, and each `server.mjs` presets the title and resolves the plugin from its own location. Against the frozen vendored provider, the same test fails on the first assertion (`title` is `''`). - `tests/conversation-calls-summary.regression.mjs` pins the Calls version, so it now expects 1.1.3. - Slurp regressions (`scripts/run-slurp-regressions.mjs`, Engine `dc0760d2a` with shared built): 289/289 pass on this branch and on a pristine `origin/staging` worktree. Noodle/NoodleR/Calls regressions: the same 5 fail as on a pristine `origin/staging` worktree (`noodle-public-only`, four `noodler-*`); none are new. - `tests/slurp2-appearance-profile.regression.ts` covers the SpicyAPI rules: an edit model gets references, a text-to-image model does not, and the fallback rule holds both ways. It fails one case without the fix. `tests/slurp2-release-notes.regression.ts` and `tests/slurp2-splash.regression.ts` pass. - `validate-vendored-engine.mjs` against Engine staging `1c0e7e1b1` reports 124 unbaselined drifted files. Those come from Engine-side changes since the baseline. This PR changes neither `sources/engine` nor the baseline, so `origin/staging` gets the same result. Needs a human, please: - [ ] Manually verify, on Engine staging with a Claude (Subscription) connection and `OTEL_LOG_RAW_API_BODIES=file:<folder>` in `.env`, that one Noodle generation, one Slurp post or reply and one Calls turn each show a single request per generation in `<folder>/index.jsonl` (no `generate_session_title`), and that the request files have no account email reminder and no `# Environment` block. Delete the folder afterwards, because it holds the account email. - [ ] Manually verify that, after updating each package through **Agents → Download Agents** and restarting, the runtime snapshot under the data directory's `capability-runtime-snapshots/<id>-<version>-*/` contains `claude-code-plugin/` beside `server.mjs`, and that a Claude (Subscription) request from each package succeeds. - [ ] Manually verify that the Slurp splash shows the 0.3.37 note once after the update. - [ ] Manually verify, on Engine v2.5.0 with a Claude (Subscription) connection, that the first Noodle, Slurp or Calls request logs `Claude Code 2.1.282 ignores the chat-context mod` once in the server log, and that the request still succeeds. ### Known gap (not fixed here) Slurp's bundled image code (`sources/engine/.../image-generation.ts`, frozen) has no SpicyAPI adapter. The frozen `inferImageSource` and `normalizeExplicitImageSource` route a `spicyapi` connection to the OpenAI images path, so SpicyAPI pictures don't generate in Slurp at all yet. This PR makes Slurp hand edit-model references to `generateImage` as #1337 asks, and the changelog says so plainly. Getting SpicyAPI pictures working in Slurp needs a follow-up: a package-owned SpicyAPI adapter overlay, or a host image-generation capability. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation CONTRIBUTING's repository layout now lists `sources/claude-subscription-overlay/`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-21 05:11:09 +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-Agents#1418
No description provided.