[PR #1367] [MERGED] feat(slurp2): 0.3.38 — button to use the linked card image tags as a Creator appearance #1423

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

📋 Pull Request Information

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

Base: staging ← Head: feat/slurp-use-card-image-tags


📝 Commits (2)

  • 2ace7d2 feat(slurp2): 0.3.38 — button to use the linked card's image tags as a Creator's appearance (#1366)
  • a8cd481 fix(slurp2): image-tags button hides after a cut on a space; ask before replacing a written appearance (#1366)

📊 Changes

24 files changed (+495 additions, -393 deletions)

View changed files

➕ artifacts/slurp2-0.3.38.zip (+0 -0)
📝 catalog/catalog.json (+14 -14)
📝 catalog/notes.json (+6 -6)
📝 catalog/v2/catalog.json (+14 -14)
📝 catalog/v2/notes.json (+6 -6)
📝 catalog/v3/catalog.json (+14 -14)
📝 catalog/v3/notes.json (+6 -6)
📝 packages/slurp2/CHANGELOG.md (+4 -0)
📝 packages/slurp2/client.js (+25 -25)
📝 packages/slurp2/manifest.json (+11 -11)
📝 packages/slurp2/server.mjs (+284 -284)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/creators/settings/SlpCreatorSettingsSections.tsx (+21 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts (+8 -10)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/de.json (+2 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/en.json (+2 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/ko.json (+2 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/pl.json (+2 -0)
📝 packages/slurp2/src/engine/packages/server/src/slp/data/creators/slp-creators-storage-3.ts (+2 -1)
📝 packages/slurp2/src/engine/packages/server/src/slp/data/creators/slp-source-resolve.ts (+18 -0)
📝 packages/slurp2/src/engine/packages/server/src/slp/modules/creators/slp-appearance-profile.ts (+13 -0)

...and 4 more files

📄 Description

Pull request

Linked issue

Closes #1366

Why this change

  • A character or persona card can keep separate image tags for image models (the Engine's Image Appearance Override: imageAppearance, switched on by imageAppearanceEnabled). Slurp did not read them, so a user who wrote image tags on the card had to copy them into the Creator's appearance by hand.

What changed

  • slurp2 0.3.37 → 0.3.38. In a Creator's settings → Profile → "Appearance for pictures", a new button "Use the card's image tags".
    • It shows only while the linked card has the Image Appearance Override on and filled in, and the Creator's appearance is not already those tags.
    • It saves the tags through the existing edit_override action. When that replaces an appearance the user wrote, it asks first (nothing restores the old text).
    • "Use linked appearance" / "Clear override" removes it again. Default picture prompts do not change.
  • Server: new pure helper slpCardImageAppearance (handles the character boolean in extensions and the persona text "true", trims, cuts to 2000 characters and trims again so the saved text equals the offered text). New resolveCreatorImageAppearance reads it from the linked card. It is kept out of SlpCreatorSourceSnapshot, so source-change detection and revision fingerprints are unchanged.
  • Shared type: appearanceState.imageAppearance on SlpCreatorManagedStageProfile; the vocabulary-shape regression is updated.
  • Locales: ui.slurp.appearance.useImageTags and ui.slurp.appearance.useImageTagsConfirm in en, de, ko, pl.
  • Splash: new 0.3.38 entry; the oldest entry (0.2.1) is dropped to keep slp-release.ts under the 800-line cap, as in earlier releases.
  • Regenerated: packages/slurp2/client.js, server.mjs, manifest.json, artifacts/slurp2-0.3.38.zip, catalog/catalog.json, catalog/v2, catalog/v3 and the notes files.

Package and security impact

  • Affected package IDs: slurp2
  • Engine compatibility impact: none (engine.min stays 2.4.6, capability API unchanged). Slurp uses its own helper instead of the Engine's readImageAppearanceOverride, so older Engines work too.
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: none. No new stored fields; the tags are read from the card on demand and saved only through the existing Creator appearance override. The Creator profile list does one more card read per Creator (cached by table write generation).

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 on head a8cd481f9 (boxes above are left for a human):
    • node scripts/build-feature-packages.mjs slurp2 with an isolated origin/staging Engine checkout; node scripts/typecheck-packages.mjs slurp2
    • npm run test:slurp:regressions: 289 passed, 0 failed
    • npm run check: 0 errors
    • 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: pass
    • New regression cases in tests/slurp2-appearance-profile.regression.ts: on/off flag forms, blank and non-string tags, 2000-character cut, cut on a space.
  • Browser check with the repo's package browser harness (local Engine with this build, desktop Chromium, viewport resized): see Proof.
  • Also sideloaded 0.3.38 on a scratch dev Engine; it loads and reports ready.

Documentation impact

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

UI evidence (if applicable)

See Proof below. Screenshots were taken at 390, 768 and 1440 px.

Proof

Test card: normal appearance "Tall courier with a green coat and a satchel.", Image Appearance Override on, tags 1girl, solo, silver hair, red eyes, short hair, made a Slurp Creator.

State Result
a. Override on and filled Button "Use the card's image tags" shows next to "Edit appearance", same height and style (390, 768, 1440 px)
b. Click (linked source) No dialog; appearance shows the tags; the button hides; "Use linked appearance" shows (390, 1440 px)
c. "Use linked appearance" The button shows again
d. Hand-written override, then click Confirm dialog "This replaces the appearance you wrote for this Creator. It cannot be undone." fits at 390 px. Cancel keeps the text; Confirm saves the tags (390, 1440 px)
e. Override switched off on the card The button does not show (390 px)
f. Layout and errors No horizontal scroll at 390 px; no console errors or failed requests

Not checked: mobile device emulation, light mode and other themes, non-English locales.

Summary by CodeRabbit

  • New Features
    • Creator settings can use image tags from a linked character or persona as the Creator’s appearance when that card’s image appearance override is enabled and populated.
    • Replacing a manually written appearance requires confirmation. The linked-appearance and clear-override options remove the copied appearance.
  • Release
    • Updated Slurp to version 0.3.38.

🔄 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/1367 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/13/2026 **Status:** ✅ Merged **Merged:** 10/13/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `feat/slurp-use-card-image-tags` --- ### 📝 Commits (2) - [`2ace7d2`](https://github.com/Pasta-Devs/Marinara-Agents/commit/2ace7d201a8e6371b9056c28c475c89bbb550fc0) feat(slurp2): 0.3.38 — button to use the linked card's image tags as a Creator's appearance (#1366) - [`a8cd481`](https://github.com/Pasta-Devs/Marinara-Agents/commit/a8cd481f95545002c8584fc9b21d000b1ae83782) fix(slurp2): image-tags button hides after a cut on a space; ask before replacing a written appearance (#1366) ### 📊 Changes **24 files changed** (+495 additions, -393 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/slurp2-0.3.38.zip` (+0 -0) 📝 `catalog/catalog.json` (+14 -14) 📝 `catalog/notes.json` (+6 -6) 📝 `catalog/v2/catalog.json` (+14 -14) 📝 `catalog/v2/notes.json` (+6 -6) 📝 `catalog/v3/catalog.json` (+14 -14) 📝 `catalog/v3/notes.json` (+6 -6) 📝 `packages/slurp2/CHANGELOG.md` (+4 -0) 📝 `packages/slurp2/client.js` (+25 -25) 📝 `packages/slurp2/manifest.json` (+11 -11) 📝 `packages/slurp2/server.mjs` (+284 -284) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/creators/settings/SlpCreatorSettingsSections.tsx` (+21 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts` (+8 -10) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/de.json` (+2 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/en.json` (+2 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/ko.json` (+2 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/pl.json` (+2 -0) 📝 `packages/slurp2/src/engine/packages/server/src/slp/data/creators/slp-creators-storage-3.ts` (+2 -1) 📝 `packages/slurp2/src/engine/packages/server/src/slp/data/creators/slp-source-resolve.ts` (+18 -0) 📝 `packages/slurp2/src/engine/packages/server/src/slp/modules/creators/slp-appearance-profile.ts` (+13 -0) _...and 4 more files_ </details> ### 📄 Description # Pull request ## Linked issue Closes #1366 ## Why this change - A character or persona card can keep separate image tags for image models (the Engine's Image Appearance Override: `imageAppearance`, switched on by `imageAppearanceEnabled`). Slurp did not read them, so a user who wrote image tags on the card had to copy them into the Creator's appearance by hand. ## What changed - `slurp2` 0.3.37 → 0.3.38. In a Creator's settings → Profile → "Appearance for pictures", a new button "Use the card's image tags". - It shows only while the linked card has the Image Appearance Override on and filled in, and the Creator's appearance is not already those tags. - It saves the tags through the existing `edit_override` action. When that replaces an appearance the user wrote, it asks first (nothing restores the old text). - "Use linked appearance" / "Clear override" removes it again. Default picture prompts do not change. - Server: new pure helper `slpCardImageAppearance` (handles the character boolean in `extensions` and the persona text `"true"`, trims, cuts to 2000 characters and trims again so the saved text equals the offered text). New `resolveCreatorImageAppearance` reads it from the linked card. It is kept out of `SlpCreatorSourceSnapshot`, so source-change detection and revision fingerprints are unchanged. - Shared type: `appearanceState.imageAppearance` on `SlpCreatorManagedStageProfile`; the vocabulary-shape regression is updated. - Locales: `ui.slurp.appearance.useImageTags` and `ui.slurp.appearance.useImageTagsConfirm` in en, de, ko, pl. - Splash: new 0.3.38 entry; the oldest entry (0.2.1) is dropped to keep `slp-release.ts` under the 800-line cap, as in earlier releases. - Regenerated: `packages/slurp2/client.js`, `server.mjs`, `manifest.json`, `artifacts/slurp2-0.3.38.zip`, `catalog/catalog.json`, `catalog/v2`, `catalog/v3` and the notes files. ## Package and security impact - Affected package IDs: `slurp2` - Engine compatibility impact: none (engine.min stays 2.4.6, capability API unchanged). Slurp uses its own helper instead of the Engine's `readImageAppearanceOverride`, so older Engines work too. - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: none. No new stored fields; the tags are read from the card on demand and saved only through the existing Creator appearance override. The Creator profile list does one more card read per Creator (cached by table write generation). ## 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 on head `a8cd481f9` (boxes above are left for a human): - `node scripts/build-feature-packages.mjs slurp2` with an isolated `origin/staging` Engine checkout; `node scripts/typecheck-packages.mjs slurp2` - `npm run test:slurp:regressions`: 289 passed, 0 failed - `npm run check`: 0 errors - `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`: pass - New regression cases in `tests/slurp2-appearance-profile.regression.ts`: on/off flag forms, blank and non-string tags, 2000-character cut, cut on a space. - Browser check with the repo's package browser harness (local Engine with this build, desktop Chromium, viewport resized): see Proof. - Also sideloaded 0.3.38 on a scratch dev Engine; it loads and reports ready. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) See Proof below. Screenshots were taken at 390, 768 and 1440 px. ## Proof Test card: normal appearance "Tall courier with a green coat and a satchel.", Image Appearance Override on, tags `1girl, solo, silver hair, red eyes, short hair`, made a Slurp Creator. | State | Result | |---|---| | a. Override on and filled | Button "Use the card's image tags" shows next to "Edit appearance", same height and style (390, 768, 1440 px) | | b. Click (linked source) | No dialog; appearance shows the tags; the button hides; "Use linked appearance" shows (390, 1440 px) | | c. "Use linked appearance" | The button shows again | | d. Hand-written override, then click | Confirm dialog "This replaces the appearance you wrote for this Creator. It cannot be undone." fits at 390 px. Cancel keeps the text; Confirm saves the tags (390, 1440 px) | | e. Override switched off on the card | The button does not show (390 px) | | f. Layout and errors | No horizontal scroll at 390 px; no console errors or failed requests | Not checked: mobile device emulation, light mode and other themes, non-English locales. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Creator settings can use image tags from a linked character or persona as the Creator’s appearance when that card’s image appearance override is enabled and populated. * Replacing a manually written appearance requires confirmation. The linked-appearance and clear-override options remove the copied appearance. * **Release** * Updated Slurp to version 0.3.38. <!-- 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:15 +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#1423
No description provided.