mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6055] [MERGED] feat(chat): add /send command for persona messages without generation #7040
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#7040
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/6055
Author: @Promansis
Created: 9/11/2026
Status: ✅ Merged
Merged: 9/11/2026
Merged by: @Promansis
Base:
staging← Head:feat(chat)/send-persona-message📝 Commits (2)
0b089a5feat(chat): add /send command for persona messages without generation (#6050)54ee83fMerge branch 'staging' into feat(chat)/send-persona-message📊 Changes
5 files changed (+48 additions, -1 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
docs/chats/guided-and-impersonate.md(+1 -1)📝
docs/chats/slash-commands.md(+1 -0)📝
packages/client/src/lib/slash-commands.ts(+12 -0)📝
scripts/regressions/conversation-game-slash.regression.ts(+33 -0)📄 Description
Linked issue
Closes #6050
Why this change
Users need a way to insert intentional persona story beats or prompt setups into the chat history without immediately triggering an LLM generation. This allows subsequent commands like
/guided <direction>or/as <character>to generate in response to the newly placed persona message while maintaining natural message order.What changed
/send <message>slash command inpackages/client/src/lib/slash-commands.ts(local: true), stripping single wrapping quotes when supplied and invokingctx.createMessage({ role: "user", content, characterId: null })without callingctx.generate()./sendindocs/chats/slash-commands.mdand referenced it under Quick Replies' Post Only action indocs/chats/guided-and-impersonate.md.CHANGELOG.mdreferencing issue#6050.scripts/regressions/conversation-game-slash.regression.tsvalidating/sendmatching, empty usage handling, user-role message creation, and verifying zero LLM generation calls.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
/send Hello worldin a Roleplay and Conversation chat creates a persona user message without triggering generation./sendwithout arguments returns the usage hint./guidedsteers the subsequent reply referencing the sent persona message.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)
N/A
Summary by CodeRabbit
New Features
/send <message>slash command.Documentation
/sendto the chat and message command reference.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.