mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #467] [MERGED] feat(impersonate): add configurable impersonation controls #4632
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#4632
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/467
Author: @Xelvanis
Created: 5/6/2026
Status: ✅ Merged
Merged: 5/6/2026
Merged by: @SpicyMarinara
Base:
main← Head:feat/impersonate-suite📝 Commits (1)
47441a3feat(impersonate): add configurable impersonation controls📊 Changes
20 files changed (+842 additions, -41 deletions)
View changed files
📝
docs/CONVERSATION.md(+14 -0)📝
docs/ROLEPLAY.md(+14 -0)📝
packages/client/src/components/chat/ChatInput.tsx(+65 -1)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+165 -0)📝
packages/client/src/components/chat/ConversationInput.tsx(+55 -1)📝
packages/client/src/components/chat/ConversationView.tsx(+10 -0)📝
packages/client/src/hooks/use-generate.ts(+4 -0)📝
packages/client/src/lib/slash-commands.ts(+11 -0)📝
packages/client/src/stores/ui.store.ts(+48 -1)📝
packages/server/package.json(+1 -1)📝
packages/server/src/routes/chats.routes.ts(+172 -2)📝
packages/server/src/routes/generate.routes.ts(+79 -15)📝
packages/server/src/routes/generate/dry-run-route.ts(+22 -5)📝
packages/server/src/routes/generate/generate-route-utils.ts(+14 -0)📝
packages/server/src/services/conversation/impersonate-prompt.ts(+45 -15)➕
packages/server/test/generate-route-utils.test.ts(+85 -0)📝
packages/server/test/impersonate-prompt.test.ts(+12 -0)➕
packages/shared/src/constants/impersonate.ts(+19 -0)📝
packages/shared/src/index.ts(+1 -0)📝
packages/shared/src/schemas/chat.schema.ts(+6 -0)📄 Description
Linked issue
Closes #
Why this change
What changed
/impersonateand impersonation prompt handling.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm checkpassed locally.pnpm buildpassed while preparing the AppData test install./impersonateworks with the selected settings./impersonate_promptupdates/resets the prompt template as expected.Docs and release impact
No docs changes needed
Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
Version/release files updated (only if this PR includes a version bump)
Updated docs:
docs/CONVERSATION.mddocs/ROLEPLAY.mdNo version or release files were changed.
No README, CONTRIBUTING, Android, or CHANGELOG changes appeared necessary for this feature.
UI evidence (if applicable)
Quick button
Summary by CodeRabbit
New Features
Documentation
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.