mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6660] [MERGED] feat(lorebooks): add Slurp generation filter and show package filters only when installed #7274
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#7274
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-Engine/pull/6660
Author: @Gunterlie
Created: 9/25/2026
Status: ✅ Merged
Merged: 9/25/2026
Merged by: @Gunterlie
Base:
staging← Head:feat/lorebook-slurp-generation-filter📝 Commits (4)
066add2feat(lorebooks): add Slurp generation filter and show package filters only when installed27282bdstyle: format lorebook filter e2eb292654docs(changelog): link lorebook package filter PR7aee4dftest(lorebooks): cover package removal keeping hidden generation filters📊 Changes
3 files changed (+81 additions, -14 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
e2e/core-flows.e2e.ts(+57 -12)📝
packages/client/src/components/lorebooks/LorebookEntryRow.tsx(+22 -2)📄 Description
Why
Slurp Remastered (
slurp2) already scans lorebooks with the"slurp"generation trigger (packages/slurp2/src/engine/packages/server/src/slp/features/feed/slp-generation-service.tsin Marinara-Agents), just like Noodle sends"noodle". Lorebook entries had no way to target that trigger, so authors could not keep Slurp-only lore out of chats or vice versa.At the same time, the Noodle chip showed for everyone, even users who never installed Noodle. Package-specific triggers should only appear when the package can actually send them.
What changed
"slurp").noodle/slurp2package is installed andactive, using the same check asChatSettingsDrawer.noodle/slurpvalue stays on the entry when its package is removed (the chip is hidden, the value is kept, and toggling other chips does not drop it). Reinstalling the package brings the chip back.No Marinara-Agents change is needed: Slurp2 already sends
generationTriggers: ["slurp"]from its only lorebook scan.Linked issue
No linked issue. This is a small follow-up to #3844 (#3842, the Noodle generation filter).
Manual verification
slurpfilter.Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.