mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1341] [MERGED] fix(slurp2): 0.3.29 — say why the image prompt rewrite gave nothing #1411
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1411
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1341
Author: @Gunterlie
Created: 10/12/2026
Status: ✅ Merged
Merged: 10/12/2026
Merged by: @Gunterlie
Base:
staging← Head:fix/slurp2-image-rewrite-reason📝 Commits (2)
86cf843fix(slurp2): 0.3.29 — say why the image prompt rewrite gave nothingaa21cfdfix(slurp2): keep the 0.3.29 splash note in-universe📊 Changes
19 files changed (+580 additions, -498 deletions)
View changed files
➕
artifacts/slurp2-0.3.29.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(+4 -0)📝
packages/slurp2/client.js(+54 -54)📝
packages/slurp2/manifest.json(+5 -5)📝
packages/slurp2/server.mjs(+362 -370)📝
packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts(+8 -1)📝
packages/slurp2/src/engine/packages/server/src/slp/base/media/slp-image-prompt-rewrite.ts(+53 -20)📝
packages/slurp2/src/engine/packages/server/src/slp/base/media/slp-image-prompt.ts(+5 -1)📝
packages/slurp2/src/engine/packages/server/src/slp/features/ads/slp-garnish-image-service.ts(+5 -0)📝
packages/slurp2/src/engine/packages/server/src/slp/features/media/slp-images-service.ts(+5 -0)📝
packages/slurp2/src/engine/packages/server/src/slp/features/media/slp-public-images-service.ts(+9 -4)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/slurp2-image-prompt-boundaries.regression.ts(+27 -0)📄 Description
Pull request
Linked issue
Closes #1340
Why this change
[slurp] Image prompt rewrite unusable (the rewrite did not run or returned nothing (check the agent text connection)); sending the capped draftand cannot tell what failed. Seven different causes all produced that one message.What changed
rewriteSlpImagePrompttakes anonFailure(reason)callback and reports the concrete cause: empty answer, answer cut off at the token limit, invalid JSON, JSON without apromptfield (with its keys), no text connection, or a failed request. Answer-based reasons quote up to 160 characters of the answer and name the model.selectSlpImageProviderPrompttakesrewriteFailureand uses it in place of the generic text. All three callers (post images, public images, garnish ads) pass it. A rewrite rejected for breaking the scene's content level now says so instead of "returned nothing".client.js,server.mjs, artifact and catalog entries.tests/slurp2-image-prompt-boundaries.regression.tsasserts the callers wireonFailure/rewriteFailureand thatselectSlpImageProviderPromptreports the given reason.Package and security impact
slurp2Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
npm run check,test-catalog-lanes,validate-package-locales,validate-catalog,catalog-release-notes,typecheck-packages slurp2, and the regressionsslurp2-image-prompt-boundaries,slurp-image-prompt-wiring,slurp2-release-notes,slurp2-architecture,slurp2-fix1-image-pipeline,slurp2-perspective— all pass.MARINARA_ENGINE_ROOTon an Enginestagingworktree.Documentation impact
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.