[PR #868] [MERGED] feat(slurp2): 0.0.14 — image context, Engine chat carryover, and Noodle parity #1167

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/868
Author: @Gunterlie
Created: 9/15/2026
Status: ✅ Merged
Merged: 9/15/2026
Merged by: @Gunterlie

Base: staging ← Head: no-pay-no-pixels


📝 Commits (3)

  • fa25b7b feat(slurp2): 0.0.14 — image context, Engine chat carryover, and Noodle parity
  • 89007c7 fix(slurp2): address CodeRabbit review on 0.0.14
  • 1841127 fix(slurp2): cap carryover post and commission reads in the query

📊 Changes

49 files changed (+2051 additions, -347 deletions)

View changed files

➕ artifacts/slurp2-0.0.14.zip (+0 -0)
📝 catalog/catalog.json (+9 -8)
📝 catalog/notes.json (+6 -0)
📝 catalog/v2/catalog.json (+9 -8)
📝 catalog/v2/notes.json (+6 -0)
📝 catalog/v3/catalog.json (+9 -8)
📝 catalog/v3/notes.json (+6 -0)
📝 packages/slurp2/CHANGELOG.md (+9 -0)
📝 packages/slurp2/client.js (+35 -33)
📝 packages/slurp2/manifest.json (+6 -5)
📝 packages/slurp2/server.mjs (+232 -211)
📝 packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpSettings.tsx (+339 -6)
📝 packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpShell.tsx (+10 -10)
➕ packages/slurp2/src/engine/packages/client/src/components/slurp/slurp-prompt-presets.ts (+75 -0)
➕ packages/slurp2/src/engine/packages/client/src/components/slurp/slurp-settings-defaults.ts (+184 -0)
📝 packages/slurp2/src/engine/packages/client/src/components/slurp/slurp2-release.ts (+13 -1)
📝 packages/slurp2/src/engine/packages/client/src/hooks/use-slurp.ts (+13 -0)
📝 packages/slurp2/src/engine/packages/client/src/localization/locales/en.json (+51 -2)
📝 packages/slurp2/src/engine/packages/server/src/routes/slurp-messages.routes.ts (+27 -4)
📝 packages/slurp2/src/engine/packages/server/src/routes/slurp.routes.ts (+3 -0)

...and 29 more files

📄 Description

Pull request

Important

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

Linked issue

Closes #867

Engine side: Pasta-Devs/Marinara-Engine#6235 (closes Pasta-Devs/Marinara-Engine#6234).

Why this change

  • Commission retries: a failed commission payment still drew a new picture on every retry.
  • Image context: pictures in messages, commissions and recent posts never reached the AI. Descriptions always used the text model, even when it could not read images.
  • Locked PPV leak: locked PPV messages sent their metadata to the fan unpaid. This leak would have included the new image prompt.
  • Engine integration: Slurp was less connected to Marinara Engine than Noodle, and several Noodle settings features were missing.

What changed

  • Commissions: the accept route checks the fan's coins before it draws the commission picture.
  • Image context:
    • Added an optional image description model.
    • Pictures in messages and recent posts use stored prompts or descriptions.
    • Each description is saved with a source key, so it is used again only for the same picture.
    • A model that already refused image input is skipped until restart. A NanoGPT model whose model list reports no vision support is also skipped.
  • Locked PPV: all three redactions now remove imagePrompt and imageDescription.
  • Carryover to chats:
    • A new slurp-chat-context.ts contributor registers through api.registerPromptContext. The manifest now declares prompt-context, which Engine 2.4.1+ supports; Slurp2 requires 2.4.5.
    • The block includes the character Creators' posts, plus messages, commissions, subscriptions and tips with the active persona.
    • Paid content is only named, never quoted.
    • It needs Carryover modes in Slurp settings and slurp2ActivityContextEnabled === true in the chat. That per-chat toggle ships in Engine PR #6235.
    • It uses request.wrapFormat ?? "xml".
  • Ported from Noodle:
    • lorebook context for Creator posts (generationTriggers: ["slurp"]);
    • prompt presets with import and export;
    • a changed count and Reset section for each settings section, served by a new GET /settings/defaults;
    • a gallery image fallback for posts with no generated picture;
    • a Professor Mari Creator source switch, stored under the new key professorMariCreatorSource with default true, so stored allowProfessorMari: false values change nothing;
    • a Slurp-owned per-character chat image-instruction choice, which falls back to the Engine checkbox;
    • a typed DELETE confirmation for deleting all data.
  • Mobile: the bottom bar is 48px, not 64px.
  • Checked and not added: participant mode/min/max and enhanced timeline writing are not read by Slurp2. The maintainer chose to skip them, so they are excluded from the section reset.
  • Generated outputs: packages/slurp2/{client.js,server.mjs,manifest.json}, artifacts/slurp2-0.0.14.zip, catalog/{,v2/,v3/}catalog.json and notes.json.

Package and security impact

  • Affected package IDs: slurp2, version 0.0.13 → 0.0.14.
  • Engine compatibility impact: unchanged, min 2.4.5. Chat carryover reaches conversation and roleplay chats once Engine #6235 ships. Older Engines get it in game chats only.
  • New or changed permissions/entrypoints: added the prompt-context permission. Entrypoints are unchanged.
  • Restart, storage, update, or uninstall impact: new settings keys get defaults through normalization, and no migration is needed. Saved descriptions are added to post and message metadata, keyed to the picture they describe.

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

Also ran:

  • node scripts/test-catalog-lanes.mjs: passed.
  • node scripts/typecheck-packages.mjs slurp2: no undefined names.
  • ESLint: 0 errors.
  • Prettier: passes.
  • New regression tests: slurp2-chat-context, slurp2-settings-reset, slurp2-prompt-presets, slurp2-gallery-mari.
  • Every tests/slurp-*.regression.ts and tests/slurp2-*.regression.ts: 116 pass. The 11 that fail (slurp-alive, feed-layout, identity, lifecycle-safety, onboarding-failure-reasons, payment-clarity, phase1-durability, ppv-paywall, relationship-panel, stance, studio) fail with the same first message on a clean HEAD copy.

Manual verification notes

  • Not yet installed or tested in a running Engine. To verify:
    • A commission with too few coins returns 402 and draws nothing.
    • The image description model is used for descriptions, and a second reply does not describe the same upload again.
    • A locked PPV message's API response has no imagePrompt.
    • With Carryover on for the chat mode and "Include Slurp activity" on in the chat (Engine #6235), a character remembers its Slurp posts, messages and commissions.
    • Lorebook context, prompt presets (save, apply, delete, export, import), Reset section, gallery fallback, Professor Mari switch and typed DELETE all behave as described.
    • The mobile bottom bar looks right on a phone, including iOS.

Documentation impact

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

Summary by CodeRabbit

  • New Features

    • Added prompt preset saving, importing, exporting, and applying.
    • Added section-based settings change counts and reset controls.
    • Added image descriptions, configurable vision models, lorebook context, gallery fallbacks, and per-character image instructions.
    • Added Slurp activity carryover to Engine chats and Professor Mari creator controls.
    • Added improved mobile navigation and safer full-data deletion confirmation.
  • Bug Fixes

    • Prevented commission retries from generating replacement images.
    • Improved locked pay-per-view image privacy and wallet checks.
    • Improved handling of unsupported image-capable models.

🔄 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/868 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 9/15/2026 **Status:** ✅ Merged **Merged:** 9/15/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `no-pay-no-pixels` --- ### 📝 Commits (3) - [`fa25b7b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/fa25b7b4b737bce27f63ad45eb0a3ca66778ae4f) feat(slurp2): 0.0.14 — image context, Engine chat carryover, and Noodle parity - [`89007c7`](https://github.com/Pasta-Devs/Marinara-Agents/commit/89007c78a25af2447bdf69e9102e4e661f0e7f54) fix(slurp2): address CodeRabbit review on 0.0.14 - [`1841127`](https://github.com/Pasta-Devs/Marinara-Agents/commit/1841127e1477fafc28c2cdd82eb5565298ac52a7) fix(slurp2): cap carryover post and commission reads in the query ### 📊 Changes **49 files changed** (+2051 additions, -347 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/slurp2-0.0.14.zip` (+0 -0) 📝 `catalog/catalog.json` (+9 -8) 📝 `catalog/notes.json` (+6 -0) 📝 `catalog/v2/catalog.json` (+9 -8) 📝 `catalog/v2/notes.json` (+6 -0) 📝 `catalog/v3/catalog.json` (+9 -8) 📝 `catalog/v3/notes.json` (+6 -0) 📝 `packages/slurp2/CHANGELOG.md` (+9 -0) 📝 `packages/slurp2/client.js` (+35 -33) 📝 `packages/slurp2/manifest.json` (+6 -5) 📝 `packages/slurp2/server.mjs` (+232 -211) 📝 `packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpSettings.tsx` (+339 -6) 📝 `packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpShell.tsx` (+10 -10) ➕ `packages/slurp2/src/engine/packages/client/src/components/slurp/slurp-prompt-presets.ts` (+75 -0) ➕ `packages/slurp2/src/engine/packages/client/src/components/slurp/slurp-settings-defaults.ts` (+184 -0) 📝 `packages/slurp2/src/engine/packages/client/src/components/slurp/slurp2-release.ts` (+13 -1) 📝 `packages/slurp2/src/engine/packages/client/src/hooks/use-slurp.ts` (+13 -0) 📝 `packages/slurp2/src/engine/packages/client/src/localization/locales/en.json` (+51 -2) 📝 `packages/slurp2/src/engine/packages/server/src/routes/slurp-messages.routes.ts` (+27 -4) 📝 `packages/slurp2/src/engine/packages/server/src/routes/slurp.routes.ts` (+3 -0) _...and 29 more files_ </details> ### 📄 Description # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #867 Engine side: Pasta-Devs/Marinara-Engine#6235 (closes Pasta-Devs/Marinara-Engine#6234). ## Why this change - **Commission retries:** a failed commission payment still drew a new picture on every retry. - **Image context:** pictures in messages, commissions and recent posts never reached the AI. Descriptions always used the text model, even when it could not read images. - **Locked PPV leak:** locked PPV messages sent their metadata to the fan unpaid. This leak would have included the new image prompt. - **Engine integration:** Slurp was less connected to Marinara Engine than Noodle, and several Noodle settings features were missing. ## What changed - **Commissions:** the accept route checks the fan's coins before it draws the commission picture. - **Image context:** - Added an optional image description model. - Pictures in messages and recent posts use stored prompts or descriptions. - Each description is saved with a source key, so it is used again only for the same picture. - A model that already refused image input is skipped until restart. A NanoGPT model whose model list reports no vision support is also skipped. - **Locked PPV:** all three redactions now remove `imagePrompt` and `imageDescription`. - **Carryover to chats:** - A new `slurp-chat-context.ts` contributor registers through `api.registerPromptContext`. The manifest now declares `prompt-context`, which Engine 2.4.1+ supports; Slurp2 requires 2.4.5. - The block includes the character Creators' posts, plus messages, commissions, subscriptions and tips with the active persona. - Paid content is only named, never quoted. - It needs Carryover modes in Slurp settings and `slurp2ActivityContextEnabled === true` in the chat. That per-chat toggle ships in Engine PR #6235. - It uses `request.wrapFormat ?? "xml"`. - **Ported from Noodle:** - lorebook context for Creator posts (`generationTriggers: ["slurp"]`); - prompt presets with import and export; - a changed count and **Reset section** for each settings section, served by a new `GET /settings/defaults`; - a gallery image fallback for posts with no generated picture; - a Professor Mari Creator source switch, stored under the new key `professorMariCreatorSource` with default `true`, so stored `allowProfessorMari: false` values change nothing; - a Slurp-owned per-character chat image-instruction choice, which falls back to the Engine checkbox; - a typed DELETE confirmation for deleting all data. - **Mobile:** the bottom bar is 48px, not 64px. - **Checked and not added:** participant mode/min/max and enhanced timeline writing are not read by Slurp2. The maintainer chose to skip them, so they are excluded from the section reset. - **Generated outputs:** `packages/slurp2/{client.js,server.mjs,manifest.json}`, `artifacts/slurp2-0.0.14.zip`, `catalog/{,v2/,v3/}catalog.json` and `notes.json`. ## Package and security impact - **Affected package IDs:** `slurp2`, version 0.0.13 → 0.0.14. - **Engine compatibility impact:** unchanged, min 2.4.5. Chat carryover reaches conversation and roleplay chats once Engine #6235 ships. Older Engines get it in game chats only. - **New or changed permissions/entrypoints:** added the `prompt-context` permission. Entrypoints are unchanged. - **Restart, storage, update, or uninstall impact:** new settings keys get defaults through normalization, and no migration is needed. Saved descriptions are added to post and message metadata, keyed to the picture they describe. ## Validation - [x] `node scripts/validate-catalog.mjs` passes locally - [x] `git diff --check` passes locally - [x] 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 - [x] Read and followed `CONTRIBUTING.md` Also ran: - `node scripts/test-catalog-lanes.mjs`: passed. - `node scripts/typecheck-packages.mjs slurp2`: no undefined names. - ESLint: 0 errors. - Prettier: passes. - New regression tests: `slurp2-chat-context`, `slurp2-settings-reset`, `slurp2-prompt-presets`, `slurp2-gallery-mari`. - Every `tests/slurp-*.regression.ts` and `tests/slurp2-*.regression.ts`: 116 pass. The 11 that fail (`slurp-alive`, `feed-layout`, `identity`, `lifecycle-safety`, `onboarding-failure-reasons`, `payment-clarity`, `phase1-durability`, `ppv-paywall`, `relationship-panel`, `stance`, `studio`) fail with the same first message on a clean `HEAD` copy. ### Manual verification notes - Not yet installed or tested in a running Engine. To verify: - A commission with too few coins returns 402 and draws nothing. - The image description model is used for descriptions, and a second reply does not describe the same upload again. - A locked PPV message's API response has no `imagePrompt`. - With Carryover on for the chat mode and "Include Slurp activity" on in the chat (Engine #6235), a character remembers its Slurp posts, messages and commissions. - Lorebook context, prompt presets (save, apply, delete, export, import), Reset section, gallery fallback, Professor Mari switch and typed DELETE all behave as described. - The mobile bottom bar looks right on a phone, including iOS. ## Documentation impact - [x] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added prompt preset saving, importing, exporting, and applying. * Added section-based settings change counts and reset controls. * Added image descriptions, configurable vision models, lorebook context, gallery fallbacks, and per-character image instructions. * Added Slurp activity carryover to Engine chats and Professor Mari creator controls. * Added improved mobile navigation and safer full-data deletion confirmation. * **Bug Fixes** * Prevented commission retries from generating replacement images. * Improved locked pay-per-view image privacy and wallet checks. * Improved handling of unsupported image-capable models. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-21 05:04:23 +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#1167
No description provided.