[PR #1301] [MERGED] feat(noodle): 1.5.5 — per-character image connection #1393

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

📋 Pull Request Information

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

Base: staging ← Head: feat/noodle-character-image-connection


📝 Commits (2)

  • 5908c66 feat(noodle): 1.5.5 — per-character image connection in the profile editor
  • 5829033 fix(noodle): read the character connection through the passed character storage

📊 Changes

16 files changed (+402 additions, -296 deletions)

View changed files

➕ artifacts/noodle-1.5.5.zip (+0 -0)
📝 catalog/catalog.json (+8 -8)
📝 catalog/notes.json (+6 -0)
📝 catalog/v2/catalog.json (+8 -8)
📝 catalog/v2/notes.json (+6 -0)
📝 catalog/v3/catalog.json (+8 -8)
📝 catalog/v3/notes.json (+6 -0)
📝 packages/noodle/CHANGELOG.md (+4 -0)
📝 packages/noodle/client.js (+23 -23)
📝 packages/noodle/manifest.json (+5 -5)
📝 packages/noodle/server.mjs (+232 -224)
📝 packages/noodle/src/engine/packages/client/src/components/noodle/NoodleHome.tsx (+41 -15)
📝 packages/noodle/src/engine/packages/client/src/localization/locales/en.json (+4 -1)
📝 packages/noodle/src/engine/packages/server/src/services/noodle/noodle-public-images.service.ts (+20 -1)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/noodle-image-prompt-instructions.regression.ts (+30 -2)

📄 Description

Pull request

Linked issue

Closes #1300

Requested in Pasta-Devs/Marinara-Engine#7418.

Why this change

  • Noodle used one image generation connection for every character. Slurp already lets each creator pick their own; Noodle users asked for the same, so each character can be drawn by the model that suits them.

What changed

  • Client (NoodleHome.tsx): a character's Edit profile gets an Image connection select under the image-instruction switch. It lists image generation connections, with Use Noodle image connection as the default. It saves at once to the card as extensions.noodleImageConnectionId (the Engine merges partial extensions; the schema is passthrough). The switch and the select share one save helper, which also fixes a brief wrong state when one saved while the other was read.
  • Server (noodle-public-images.service.ts): generateNoodlePostImage — the single path for generated posts and approved review prompts — swaps in the character's connection when it exists and is image_generation; otherwise the Noodle connection stays. Fallback lookup, prompt instructions, size and metadata all use the swapped connection.
  • Test: tests/noodle-image-prompt-instructions.regression.ts covers the per-character connection and the non-image-connection fallback.
  • Noodle 1.5.5 with changelog; Noodle package, artifact and catalog entries rebuilt (Noodle entries only).
  • Known limit (marked ponytail:): Noodle still needs a Noodle or default image connection; with none, image generation is skipped before the per-character choice is read.

Package and security impact

  • Affected package IDs: noodle
  • Engine compatibility impact: none; uses existing character update and connection APIs.
  • New or changed permissions/entrypoints: none.
  • Restart, storage, update, or uninstall impact: one new optional key on the character card (extensions.noodleImageConnectionId). The id is random per install; the server only accepts an existing local image_generation connection the user configured, and its key goes only to that connection's own endpoint. A card cannot add an endpoint or read a key.

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: Noodle build, node --check on the bundles, catalog-lanes / package-locales / catalog / release-notes scripts, git diff --check, Prettier on changed files, and the three Noodle regressions (the new case fails when the override is removed). Agent code review found no blocking issues.
  • Not run: ESLint / tsc; no live Engine install yet.
  • To test: pick a different image connection for one character, run a Noodle refresh, and confirm that character's image uses it; set it back and confirm the Noodle connection is used; delete the chosen connection and confirm images still work.
  • Noodle package browser and Slurp package browser also fail on #1298 (Engine snapshot drift and Slurp e2e); they are not required checks and this PR does not touch sources/engine or Slurp.

Documentation impact

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

UI evidence (if applicable)

  • None yet; the control is a standard select in the existing Edit profile footer.

🔄 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/1301 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/11/2026 **Status:** ✅ Merged **Merged:** 10/11/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `feat/noodle-character-image-connection` --- ### 📝 Commits (2) - [`5908c66`](https://github.com/Pasta-Devs/Marinara-Agents/commit/5908c667a0a7dcde5d9e367e9d4c8a687b992f88) feat(noodle): 1.5.5 — per-character image connection in the profile editor - [`5829033`](https://github.com/Pasta-Devs/Marinara-Agents/commit/5829033e265c9e1f940ea08efc5f17d01ad6c842) fix(noodle): read the character connection through the passed character storage ### 📊 Changes **16 files changed** (+402 additions, -296 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/noodle-1.5.5.zip` (+0 -0) 📝 `catalog/catalog.json` (+8 -8) 📝 `catalog/notes.json` (+6 -0) 📝 `catalog/v2/catalog.json` (+8 -8) 📝 `catalog/v2/notes.json` (+6 -0) 📝 `catalog/v3/catalog.json` (+8 -8) 📝 `catalog/v3/notes.json` (+6 -0) 📝 `packages/noodle/CHANGELOG.md` (+4 -0) 📝 `packages/noodle/client.js` (+23 -23) 📝 `packages/noodle/manifest.json` (+5 -5) 📝 `packages/noodle/server.mjs` (+232 -224) 📝 `packages/noodle/src/engine/packages/client/src/components/noodle/NoodleHome.tsx` (+41 -15) 📝 `packages/noodle/src/engine/packages/client/src/localization/locales/en.json` (+4 -1) 📝 `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-public-images.service.ts` (+20 -1) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/noodle-image-prompt-instructions.regression.ts` (+30 -2) </details> ### 📄 Description # Pull request ## Linked issue Closes #1300 Requested in Pasta-Devs/Marinara-Engine#7418. ## Why this change - Noodle used one image generation connection for every character. Slurp already lets each creator pick their own; Noodle users asked for the same, so each character can be drawn by the model that suits them. ## What changed - **Client (`NoodleHome.tsx`):** a character's Edit profile gets an **Image connection** select under the image-instruction switch. It lists image generation connections, with **Use Noodle image connection** as the default. It saves at once to the card as `extensions.noodleImageConnectionId` (the Engine merges partial `extensions`; the schema is passthrough). The switch and the select share one save helper, which also fixes a brief wrong state when one saved while the other was read. - **Server (`noodle-public-images.service.ts`):** `generateNoodlePostImage` — the single path for generated posts and approved review prompts — swaps in the character's connection when it exists and is `image_generation`; otherwise the Noodle connection stays. Fallback lookup, prompt instructions, size and metadata all use the swapped connection. - **Test:** `tests/noodle-image-prompt-instructions.regression.ts` covers the per-character connection and the non-image-connection fallback. - Noodle 1.5.5 with changelog; Noodle package, artifact and catalog entries rebuilt (Noodle entries only). - Known limit (marked `ponytail:`): Noodle still needs a Noodle or default image connection; with none, image generation is skipped before the per-character choice is read. ## Package and security impact - Affected package IDs: `noodle` - Engine compatibility impact: none; uses existing character update and connection APIs. - New or changed permissions/entrypoints: none. - Restart, storage, update, or uninstall impact: one new optional key on the character card (`extensions.noodleImageConnectionId`). The id is random per install; the server only accepts an existing local `image_generation` connection the user configured, and its key goes only to that connection's own endpoint. A card cannot add an endpoint or read a key. ## 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: Noodle build, `node --check` on the bundles, catalog-lanes / package-locales / catalog / release-notes scripts, `git diff --check`, Prettier on changed files, and the three Noodle regressions (the new case fails when the override is removed). Agent code review found no blocking issues. - Not run: ESLint / `tsc`; no live Engine install yet. - To test: pick a different image connection for one character, run a Noodle refresh, and confirm that character's image uses it; set it back and confirm the Noodle connection is used; delete the chosen connection and confirm images still work. - `Noodle package browser` and `Slurp package browser` also fail on #1298 (Engine snapshot drift and Slurp e2e); they are not required checks and this PR does not touch `sources/engine` or Slurp. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) - None yet; the control is a standard select in the existing Edit profile footer. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-21 05:10:19 +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#1393
No description provided.