[PR #1410] [MERGED] feat(slurp2): picture control — bare-draft rewrite, gallery rotation, artwork switch, caption instructions, Creator prefix (0.3.45) #1449

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

📋 Pull Request Information

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

Base: staging ← Head: slurp-picture-control


📝 Commits (8)

  • 632932f fix(slurp2): image writer gets the bare draft; gallery fallback rotates pictures
  • 7e188d9 feat(slurp2): switch for background avatar and banner drawing; cost note on image toggles
  • 94be977 feat(slurp2): caption instructions, per-Creator picture prefix, outfit condition rule; 0.3.45
  • 2e88765 chore(slurp2): build 0.3.45
  • ef93c8e fix(slurp2): in-universe release note; tests follow moved prompt defaults and the prefix
  • f0bf0b7 fix(slurp2): picture prefix stays out where names do; artwork switch off for new installs only; gallery rotation within a batch
  • cb2c446 fix(slurp2): picture prefix only for an open identity, like the card name
  • e817853 fix(slurp2): reserve gallery pick counts pictures of prepared slots

📊 Changes

40 files changed (+752 additions, -480 deletions)

View changed files

➕ artifacts/slurp2-0.3.45.zip (+0 -0)
📝 catalog/catalog.json (+8 -8)
📝 catalog/notes.json (+6 -6)
📝 catalog/v2/catalog.json (+8 -8)
📝 catalog/v2/notes.json (+6 -6)
📝 catalog/v3/catalog.json (+8 -8)
📝 catalog/v3/notes.json (+6 -6)
📝 packages/slurp2/CHANGELOG.md (+9 -0)
📝 packages/slurp2/client.js (+50 -50)
📝 packages/slurp2/manifest.json (+5 -5)
📝 packages/slurp2/server.mjs (+321 -321)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/backstage/slp-backstage-label-keys.ts (+3 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/backstage/slp-backstage-placement.ts (+3 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/creators/settings/SlpCreatorSettingsSections.tsx (+24 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/creators/settings/slp-creator-settings-contract.ts (+1 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/media/SlpImagesPanel.tsx (+29 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-onboarding-wizard-model.ts (+2 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts (+10 -1)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/settings/slp-settings-contract.ts (+3 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/settings/slp-settings-defaults.ts (+3 -0)

...and 20 more files

📄 Description

Pull request

Linked issue

Closes #1409

Why this change

  • Players got pictures with the style tags twice, the same gallery picture again and again, avatars and banners drawn without a way to stop it, and picture descriptions about the art style instead of the person.
  • Players also asked for fixed words per Creator in every picture and for outfits that are not worn-out without a reason.

What changed

Package slurp2 0.3.45 (patch bump):

  • Image writer gets the bare draft. The style is compiled onto the rewriter output, so a styled draft came back reworded and the picture had its tags twice.
  • Gallery fallback rotates. It picks the gallery picture used least recently by the posting account's last 50 posts (slurpLeastRecentGalleryImage), also within one batch.
  • Background artwork switch (autoCreatorArtworkEnabled, Settings › Images). Copying a card's pictures stays free; drawing new avatars/banners waits for the switch. Settings saved before this version keep it on; a new install starts off, and the first-run setup sets it from its images choice. Re-runs and "Add Creators" do not change it.
  • Caption instructions (imageCaptionPrompt). Slurp now sends its own caption instructions (person, clothes, pose, place, text; no art style). The player can replace them. Done in Slurp's provider wrapper, so it works on every Engine version.
  • Per-Creator picture prefix (creatorImagePrefixes, Creator settings › Production). Takes the name's place in the picture prompt. Like the card name, it is used only for an Open identity and stays out of commissions, banners and "creator details off", so a Hinted or Secret source name never reaches the image provider.
  • Outfit rule in the post scene contract: clothes in good condition unless the card or caption asks otherwise.
  • Cost note on the image toggles; image-prompt defaults moved to slp-settings-image-prompts.ts (800-line cap).
  • Rebuilt client.js, server.mjs, manifest.json, artifacts/slurp2-0.3.45.zip and the catalogs.

Package and security impact

  • Affected package IDs: slurp2
  • Engine compatibility impact: none; works with the vendored Engine sources and Engine staging.
  • New or changed permissions/entrypoints: none.
  • Restart, storage, update, or uninstall impact: three new settings keys with defaults; no migration. Existing installs keep background artwork on.

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 checks (not a manual test):

  • npm run test:slurp:regressions: 295 passed, 0 failed (new tests/slurp2-picture-control.regression.ts).
  • node scripts/typecheck-packages.mjs slurp2: clean.
  • npm run check: 0 errors.
  • test-catalog-lanes, validate-package-locales, validate-catalog, catalog-release-notes regression: pass.
  • Not done: install on a live Engine, UI screenshots.

Documentation impact

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

UI evidence (if applicable)

Not captured yet.

Summary by CodeRabbit

  • New Features
    • Added controls for automatic avatar and banner artwork, plus custom captioning instructions for image descriptions.
    • Added Creator-specific image prompt text to personalize generated artwork.
  • Bug Fixes
    • Improved gallery image rotation to favor images shown least recently and avoid repeats in a batch.
    • Refined image prompt handling and outfit guidance for generated scenes.
  • Release
    • Updated Slurp to version 0.3.45.

🔄 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/1410 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/15/2026 **Status:** ✅ Merged **Merged:** 10/15/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `slurp-picture-control` --- ### 📝 Commits (8) - [`632932f`](https://github.com/Pasta-Devs/Marinara-Agents/commit/632932f78f8d0b9fb745d004dfb6e643c6dd5001) fix(slurp2): image writer gets the bare draft; gallery fallback rotates pictures - [`7e188d9`](https://github.com/Pasta-Devs/Marinara-Agents/commit/7e188d9849e73265462850db8d0ac82ed7ee65df) feat(slurp2): switch for background avatar and banner drawing; cost note on image toggles - [`94be977`](https://github.com/Pasta-Devs/Marinara-Agents/commit/94be9778ac387380e31a83933b191e08901bc8de) feat(slurp2): caption instructions, per-Creator picture prefix, outfit condition rule; 0.3.45 - [`2e88765`](https://github.com/Pasta-Devs/Marinara-Agents/commit/2e88765f84df16caca238ef2cf5b20683a308183) chore(slurp2): build 0.3.45 - [`ef93c8e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/ef93c8e59d753685c546cc7a7414d3d9c00841e7) fix(slurp2): in-universe release note; tests follow moved prompt defaults and the prefix - [`f0bf0b7`](https://github.com/Pasta-Devs/Marinara-Agents/commit/f0bf0b7c76b8df47f571bade6841f8354524c37c) fix(slurp2): picture prefix stays out where names do; artwork switch off for new installs only; gallery rotation within a batch - [`cb2c446`](https://github.com/Pasta-Devs/Marinara-Agents/commit/cb2c44649f3e3fff0e5e6b29ee813842d66247c6) fix(slurp2): picture prefix only for an open identity, like the card name - [`e817853`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e8178530947efc5a5714c9fb7a56bb39a6beaed3) fix(slurp2): reserve gallery pick counts pictures of prepared slots ### 📊 Changes **40 files changed** (+752 additions, -480 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/slurp2-0.3.45.zip` (+0 -0) 📝 `catalog/catalog.json` (+8 -8) 📝 `catalog/notes.json` (+6 -6) 📝 `catalog/v2/catalog.json` (+8 -8) 📝 `catalog/v2/notes.json` (+6 -6) 📝 `catalog/v3/catalog.json` (+8 -8) 📝 `catalog/v3/notes.json` (+6 -6) 📝 `packages/slurp2/CHANGELOG.md` (+9 -0) 📝 `packages/slurp2/client.js` (+50 -50) 📝 `packages/slurp2/manifest.json` (+5 -5) 📝 `packages/slurp2/server.mjs` (+321 -321) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/backstage/slp-backstage-label-keys.ts` (+3 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/backstage/slp-backstage-placement.ts` (+3 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/creators/settings/SlpCreatorSettingsSections.tsx` (+24 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/creators/settings/slp-creator-settings-contract.ts` (+1 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/media/SlpImagesPanel.tsx` (+29 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-onboarding-wizard-model.ts` (+2 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts` (+10 -1) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/settings/slp-settings-contract.ts` (+3 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/settings/slp-settings-defaults.ts` (+3 -0) _...and 20 more files_ </details> ### 📄 Description # Pull request ## Linked issue Closes #1409 ## Why this change - Players got pictures with the style tags twice, the same gallery picture again and again, avatars and banners drawn without a way to stop it, and picture descriptions about the art style instead of the person. - Players also asked for fixed words per Creator in every picture and for outfits that are not worn-out without a reason. ## What changed Package `slurp2` 0.3.45 (patch bump): - **Image writer gets the bare draft.** The style is compiled onto the rewriter output, so a styled draft came back reworded and the picture had its tags twice. - **Gallery fallback rotates.** It picks the gallery picture used least recently by the posting account's last 50 posts (`slurpLeastRecentGalleryImage`), also within one batch. - **Background artwork switch** (`autoCreatorArtworkEnabled`, Settings › Images). Copying a card's pictures stays free; drawing new avatars/banners waits for the switch. Settings saved before this version keep it on; a new install starts off, and the first-run setup sets it from its images choice. Re-runs and "Add Creators" do not change it. - **Caption instructions** (`imageCaptionPrompt`). Slurp now sends its own caption instructions (person, clothes, pose, place, text; no art style). The player can replace them. Done in Slurp's provider wrapper, so it works on every Engine version. - **Per-Creator picture prefix** (`creatorImagePrefixes`, Creator settings › Production). Takes the name's place in the picture prompt. Like the card name, it is used only for an Open identity and stays out of commissions, banners and "creator details off", so a Hinted or Secret source name never reaches the image provider. - **Outfit rule** in the post scene contract: clothes in good condition unless the card or caption asks otherwise. - Cost note on the image toggles; image-prompt defaults moved to `slp-settings-image-prompts.ts` (800-line cap). - Rebuilt `client.js`, `server.mjs`, `manifest.json`, `artifacts/slurp2-0.3.45.zip` and the catalogs. ## Package and security impact - Affected package IDs: `slurp2` - Engine compatibility impact: none; works with the vendored Engine sources and Engine staging. - New or changed permissions/entrypoints: none. - Restart, storage, update, or uninstall impact: three new settings keys with defaults; no migration. Existing installs keep background artwork on. ## 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 checks (not a manual test): - `npm run test:slurp:regressions`: 295 passed, 0 failed (new `tests/slurp2-picture-control.regression.ts`). - `node scripts/typecheck-packages.mjs slurp2`: clean. - `npm run check`: 0 errors. - `test-catalog-lanes`, `validate-package-locales`, `validate-catalog`, `catalog-release-notes` regression: pass. - Not done: install on a live Engine, UI screenshots. ## Documentation impact - [x] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) Not captured yet. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added controls for automatic avatar and banner artwork, plus custom captioning instructions for image descriptions. * Added Creator-specific image prompt text to personalize generated artwork. * **Bug Fixes** * Improved gallery image rotation to favor images shown least recently and avoid repeats in a batch. * Refined image prompt handling and outfit guidance for generated scenes. * **Release** * Updated Slurp to version 0.3.45. <!-- 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:11:37 +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#1449
No description provided.