mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6235] [MERGED] feat: show package chat controls only when their package is installed #7099
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#7099
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/6235
Author: @Gunterlie
Created: 9/15/2026
Status: ✅ Merged
Merged: 9/15/2026
Merged by: @Gunterlie
Base:
staging← Head:feat/package-prompt-context-all-modes📝 Commits (2)
29df3e2feat: show package chat controls only when their package is installedeb8be22fix: register slurp2 chat metadata namespace as engine-owned📊 Changes
10 files changed (+128 additions, -30 deletions)
View changed files
📝
packages/client/src/components/characters/CharacterEditor.tsx(+6 -2)📝
packages/client/src/components/characters/ConvoProfileFields.tsx(+13 -10)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+46 -18)📝
packages/client/src/localization/locales/en.json(+2 -0)📝
packages/server/src/routes/chats.routes.ts(+6 -0)📝
packages/server/src/routes/generate.routes.ts(+1 -0)📝
packages/server/src/services/capability-packages/capability-prompt-context.service.ts(+2 -0)📝
packages/shared/src/schemas/gm-verb-table.schema.ts(+1 -0)📝
packages/shared/src/types/chat.ts(+2 -0)➕
scripts/regressions/capability-package-chat-controls.regression.ts(+49 -0)📄 Description
Linked issue
Closes #6234
Why this change
What changed
noodlepackage is installed and active. A new "Include Slurp activity" switch renders only while theslurp2package is active. It is off by default and is stored asslurp2ActivityContextEnabledin chat metadata.PATCH /chats/:id/metadatavalidatesslurp2ActivityContextEnabledas a boolean. The field is added to the sharedChatMetadatatype.prompt-contextrequest now includes an optionalwrapFormat, passed from the preset. Conversation and roleplay already collect package prompt context onstaging, so no mode change was needed.scripts/regressions/capability-package-chat-controls.regression.ts.The Slurp package side, which reads
slurp2ActivityContextEnabledandwrapFormat, ships separately in Marinara Agents.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAlso ran
node ./scripts/run-regressions.mjs --filter scripts/regressions/capability-package-chat-controls.regression.ts(passed) and--filter scripts/regressions/tracker-gallery-ui.regression.mjs(passed). The singlepnpm checklint warning is an existing one inGameNarration.tsx.Manual verification notes
Not yet verified in a browser. To verify manually:
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Not captured yet; see manual verification notes.
Summary by CodeRabbit
New Features
Improvements
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.