[GH-ISSUE #1313] [Issue]: Noodle, Slurp2 and Conversation Calls use an old copy of the Claude (Subscription) provider #669

Closed
opened 2026-10-20 17:29:34 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @JurijPietrowicz on GitHub (Oct 11, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1313

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Noodle, Slurp2 and Conversation Calls make their own model requests with a copy of the Engine's provider code, bundled into each package's server.mjs. Their copy of the Claude (Subscription) provider is older than the Engine's. If Pasta-Devs/Marinara-Engine#7448 merges, Engine chats stop making a hidden session-title request and stop sending the account email, date, model name and server details to the model. These three packages will keep doing both until they're rebuilt.

Affected package

  • noodle (1.5.5 on staging)
  • slurp2 (0.3.21)
  • conversation-calls (1.1.1)

Expected behavior

With a Claude (Subscription) connection, package requests behave like Engine chats after Marinara-Engine#7448:

  • one model request per generation, with no hidden generate_session_title request
  • nothing added between the system prompt and the chat

Actual behavior

Found by reading the code on staging (8246df2), not by running the packages:

  • These packages create providers with createLLMProvider from the Engine snapshot in sources/engine/, for example in noodle-public-generation.service.ts, conversation-calls.routes.ts and many Slurp2 services.
  • The Claude provider in their bundles sets only tools: [], skills: [], maxTurns: 1, permissionMode, allowDangerouslySkipPermissions, settingSources: [], settings: { fastMode }. There's no title and no plugins.
  • That copy is also older than other Engine changes, such as the 1-hour prompt cache option and the use of the installed Claude Code.

So package requests keep the extra title request and the added context. See Pasta-Devs/Marinara-Engine#7447 for what that context contains and how to capture it.

Steps to reproduce

Not run yet. Based on the code above, this should show it:

  1. Use Marinara Engine with Marinara-Engine#7448 merged and a Claude (Subscription) connection.
  2. Add OTEL_LOG_RAW_API_BODIES=file:<folder> to Marinara's .env.
  3. Make Noodle generate posts (or start a Conversation Call, or have Slurp2 generate).
  4. <folder>/index.jsonl shows generate_session_title requests, and the request files contain the email reminder and the # Environment block. Delete the folder afterwards, because it contains the account email.

Environment

  • Marinara Engine version: 2.5.0 (staging) with Marinara-Engine#7448
  • Package version: see "Affected package"
  • Install type: source
  • OS + version: Fedora 44 (Linux 7.2)
  • Browser or app shell: n/a (server-side)

Logs, screenshots, or video

None. Found by code inspection.

Additional context

The fix is to re-copy the Claude (Subscription) provider from Engine staging after Marinara-Engine#7448 merges, then rebuild the three packages and their catalog entries. Re-copying it as it is will break Claude (Subscription) in these packages:

  • The new provider loads a small Claude Code plugin from packages/server/src/assets/claude-code-plugin/. It finds that folder relative to its own file: new URL("../../../assets/claude-code-plugin", import.meta.url).
  • In a package, that file is server.mjs, so the path points outside the package. The package build (assetPaths in scripts/build-feature-packages.mjs) doesn't ship the plugin files either.
  • Before each request, the new provider checks that the plugin's files exist and stops with an error if they don't. Every Claude (Subscription) request from these packages would fail.

So the plugin has to ship with the packages and the provider has to find it there. Another option is an Engine change that lets the provider get the plugin's location from the Engine instead of its own file. This is the stale-copy problem from Marinara-Engine#6385 (closed): as long as these packages carry their own provider, every Engine provider fix needs a re-copy and rebuild here.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @JurijPietrowicz on GitHub (Oct 11, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1313 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Noodle, Slurp2 and Conversation Calls make their own model requests with a copy of the Engine's provider code, bundled into each package's `server.mjs`. Their copy of the Claude (Subscription) provider is older than the Engine's. If Pasta-Devs/Marinara-Engine#7448 merges, Engine chats stop making a hidden session-title request and stop sending the account email, date, model name and server details to the model. These three packages will keep doing both until they're rebuilt. ## Affected package - `noodle` (1.5.5 on `staging`) - `slurp2` (0.3.21) - `conversation-calls` (1.1.1) ## Expected behavior With a Claude (Subscription) connection, package requests behave like Engine chats after Marinara-Engine#7448: - one model request per generation, with no hidden `generate_session_title` request - nothing added between the system prompt and the chat ## Actual behavior Found by reading the code on `staging` (`8246df2`), not by running the packages: - These packages create providers with `createLLMProvider` from the Engine snapshot in `sources/engine/`, for example in `noodle-public-generation.service.ts`, `conversation-calls.routes.ts` and many Slurp2 services. - The Claude provider in their bundles sets only `tools: [], skills: [], maxTurns: 1, permissionMode, allowDangerouslySkipPermissions, settingSources: [], settings: { fastMode }`. There's no `title` and no `plugins`. - That copy is also older than other Engine changes, such as the 1-hour prompt cache option and the use of the installed Claude Code. So package requests keep the extra title request and the added context. See Pasta-Devs/Marinara-Engine#7447 for what that context contains and how to capture it. ## Steps to reproduce Not run yet. Based on the code above, this should show it: 1. Use Marinara Engine with Marinara-Engine#7448 merged and a Claude (Subscription) connection. 2. Add `OTEL_LOG_RAW_API_BODIES=file:<folder>` to Marinara's `.env`. 3. Make Noodle generate posts (or start a Conversation Call, or have Slurp2 generate). 4. `<folder>/index.jsonl` shows `generate_session_title` requests, and the request files contain the email reminder and the `# Environment` block. Delete the folder afterwards, because it contains the account email. ## Environment - Marinara Engine version: 2.5.0 (`staging`) with Marinara-Engine#7448 - Package version: see "Affected package" - Install type: source - OS + version: Fedora 44 (Linux 7.2) - Browser or app shell: n/a (server-side) ## Logs, screenshots, or video None. Found by code inspection. ## Additional context The fix is to re-copy the Claude (Subscription) provider from Engine `staging` after Marinara-Engine#7448 merges, then rebuild the three packages and their catalog entries. Re-copying it as it is will **break** Claude (Subscription) in these packages: - The new provider loads a small Claude Code plugin from `packages/server/src/assets/claude-code-plugin/`. It finds that folder relative to its own file: `new URL("../../../assets/claude-code-plugin", import.meta.url)`. - In a package, that file is `server.mjs`, so the path points outside the package. The package build (`assetPaths` in `scripts/build-feature-packages.mjs`) doesn't ship the plugin files either. - Before each request, the new provider checks that the plugin's files exist and stops with an error if they don't. Every Claude (Subscription) request from these packages would fail. So the plugin has to ship with the packages and the provider has to find it there. Another option is an Engine change that lets the provider get the plugin's location from the Engine instead of its own file. This is the stale-copy problem from Marinara-Engine#6385 (closed): as long as these packages carry their own provider, every Engine provider fix needs a re-copy and rebuild here. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:29:34 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Oct 13, 2026):

Fixed on staging by #1356. Noodle 1.5.6, Calls 1.1.3 and Slurp 0.3.37 bring their Claude (Subscription) provider up to the Engine: no hidden title request, and the hard stop when Claude Code exposes claude.ai connectors. Stripping Claude Code's added context needs a newer Claude Code than Engine v2.5.0 bundles; on v2.5.0 the packages warn instead.

<!-- gh-comment-id:6149016041 --> @SpicyMarinara commented on GitHub (Oct 13, 2026): Fixed on staging by #1356. Noodle 1.5.6, Calls 1.1.3 and Slurp 0.3.37 bring their Claude (Subscription) provider up to the Engine: no hidden title request, and the hard stop when Claude Code exposes claude.ai connectors. Stripping Claude Code's added context needs a newer Claude Code than Engine v2.5.0 bundles; on v2.5.0 the packages warn instead.
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#669
No description provided.