mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4908] [MERGED] Address assigned Roleplay and tool-choice issues #6537
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#6537
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/4908
Author: @SpicyMarinara
Created: 8/11/2026
Status: ✅ Merged
Merged: 8/11/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/assigned-issues-aug11-round2📝 Commits (4)
2956e48Start assigned issue sweep (#4905 #4906 #4907)6ac7b85Add per-character Roleplay context controls28b03c8Apply CodeRabbit review fixes9858fb9Cover shared swipe context marker📊 Changes
22 files changed (+959 additions, -256 deletions)
View changed files
📝
CHANGELOG.md(+3 -0)📝
packages/client/src/components/chat/ChatArea.tsx(+4 -10)📝
packages/client/src/components/chat/ChatMessage.tsx(+403 -97)📝
packages/client/src/components/chat/ChatRoleplaySurface.tsx(+7 -2)📝
packages/client/src/lib/slash-commands.ts(+101 -19)📝
packages/client/src/localization/locales/en.json(+12 -0)📝
packages/server/src/routes/chats.routes.ts(+30 -11)📝
packages/server/src/routes/generate.routes.ts(+7 -1)📝
packages/server/src/routes/generate/dry-run-route.ts(+8 -5)📝
packages/server/src/routes/generate/generate-route-utils.ts(+28 -9)📝
packages/server/src/services/generation/prompt-message-scope.ts(+18 -3)📝
packages/server/src/services/llm/providers/anthropic.provider.ts(+41 -0)📝
packages/server/src/services/llm/providers/google.provider.ts(+22 -1)📝
packages/server/src/services/prompt/assembler.ts(+4 -13)📝
packages/server/src/services/prompt/merger.ts(+6 -3)📝
packages/server/src/services/storage/chats.storage.ts(+7 -10)📝
packages/shared/src/types/chat.ts(+2 -0)📝
packages/shared/src/types/prompt.ts(+2 -0)📝
scripts/regressions/open-issues.regression.ts(+82 -16)📝
scripts/regressions/prompt.regression.ts(+46 -11)...and 2 more files
📄 Description
Linked issue
Closes #4905
Closes #4906
Closes #4907
Why this change
What changed
/hideto accept/hide <character> <message/range>(including quoted multi-word names) while preserving the existing global/hide <message/range>form.ANYand Anthropicany, with compatibility fallbacks for manual extended thinking and Mythos models.Validation
Automated validation completed locally:
pnpm checkpnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/prompt.regression.tspnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/provider-compat.regression.tspnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/regeneration-context.regression.tspnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/open-issues.regression.tsThe full UI smoke suite was also sampled. Its relevant Function Calling flow passed; unrelated pre-existing What's New and Characters Library timeouts prevented a clean complete run.
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
/hidewith exact, partial, quoted, unknown, and ambiguous character names.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n] <paths>follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.