mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3293] [MERGED] [codex] fix /as posting and NPC portrait prompts #5867
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#5867
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/3293
Author: @SpicyMarinara
Created: 7/5/2026
Status: ✅ Merged
Merged: 7/5/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/fix-as-command-npc-portraits📝 Commits (4)
06100fafix roleplay as command and npc portrait prompts90651efrespect locked tracker rows in AI updates9f84e0cMerge remote-tracking branch 'origin/staging' into codex/fix-as-command-npc-portraitsadf63c3address npc description source review📊 Changes
8 files changed (+231 additions, -29 deletions)
View changed files
📝
CHANGELOG.md(+3 -0)📝
packages/client/src/components/chat/ChatInput.tsx(+4 -1)📝
packages/client/src/components/chat/ConversationInput.tsx(+9 -2)📝
packages/client/src/components/game/GameSurface.tsx(+57 -2)📝
packages/client/src/lib/slash-commands.ts(+148 -17)📝
packages/server/src/routes/game.routes.ts(+4 -2)📝
packages/shared/src/types/game.ts(+1 -1)📝
packages/shared/src/utils/tracker-field-locks.ts(+5 -4)📄 Description
Summary
Fixes two maintainer-reported behaviors:
/as Character "message"now posts the exact message as that character, while bare/as Characterkeeps the existing generated-response shortcut.Why
/aswas only routing through a model-generation instruction ([Respond as Character]), so it could not post an exact authored line as a character. Game Mode portrait candidates also merged NPC descriptions with a first-non-empty rule, which meant setup-generated model descriptions could be shadowed before portrait prompts were built.Validation
pnpm checkManual Verification Needed
/as Dottore "Hey there"in Roleplay posts one assistant message attributed to Dottore./as Dottorestill triggers generated response behavior.No linked issue; maintainer-requested follow-up from chat.
Summary by CodeRabbit
New Features
Bug Fixes
/asnow sends the exact message provided when used with quoted text.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.