mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3374] [MERGED] feat(convo): Conversation-mode profiles — display name, about-me, and behavior directive #5910
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#5910
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/3374
Author: @kolacheee
Created: 7/8/2026
Status: ✅ Merged
Merged: 7/8/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/convo-mode-profiles📝 Commits (10+)
abec542feat(convo): add display name, about-me, and behavior fields (Conversation-only foundation)cbe8a4efeat(convo): about-me viewer + per-chat override editing56f0c4bfeat(convo): add About Me Keeper agent (self-updating about-me)7312018feat(convo): add update_about_me tool (in-character self-update)bc13878fix(convo): address adversarial review of the Convo-profiles branch528af6afeat(convo): make the about-me viewer a Discord-style profile popoute87a4d3feat(convo): simplify about-me edit label + custom emoji in the profile popout8008a58fix(convo): emoji picker layering + keep the profile popout open while editingb5d3275fix(convo): stop the emoji panel being clipped by the profile card6d102e2fix(convo): enlarge the about-me emoji panel to match the standard picker📊 Changes
44 files changed (+2001 additions, -71 deletions)
View changed files
📝
CHANGELOG.md(+4 -0)📝
docs/card-css-theming-guide.md(+59 -0)📝
packages/client/src/components/characters/CharacterEditor.tsx(+39 -0)➕
packages/client/src/components/characters/ConvoProfileFields.tsx(+185 -0)📝
packages/client/src/components/chat/ChatArea.tsx(+14 -1)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+4 -1)📝
packages/client/src/components/chat/ConversationMessage.tsx(+30 -0)📝
packages/client/src/components/chat/ConversationMessageBubble.tsx(+41 -21)📝
packages/client/src/components/chat/ConversationMessageLine.tsx(+32 -13)📝
packages/client/src/components/chat/ConversationMessageShared.tsx(+57 -0)📝
packages/client/src/components/chat/CreatorNotesCssInjector.tsx(+40 -18)📝
packages/client/src/components/layout/ModalRenderer.tsx(+28 -0)➕
packages/client/src/components/modals/AboutMeViewerModal.tsx(+533 -0)📝
packages/client/src/components/modals/CharacterCardUpdateModal.tsx(+26 -11)📝
packages/client/src/components/modals/ImportPersonaModal.tsx(+3 -0)📝
packages/client/src/components/personas/PersonaEditor.tsx(+67 -1)📝
packages/client/src/hooks/use-characters.ts(+22 -0)📝
packages/client/src/lib/agent-cadence.ts(+8 -0)📝
packages/server/src/db/migrate.ts(+18 -0)📝
packages/server/src/db/schema/characters.ts(+6 -0)...and 24 more files
📄 Description
INCOMPLETE, DO NOT MERGE
Linked issue
Closes #3368
Why this change
Conversation mode is Marinara's casual, messaging-style surface, but characters and personas have no way to present a Convo-appropriate identity: no separate display name, no "about me"/profile, and no Convo-specific behavior guidance that stays out of serious roleplay. Everything is driven by the same card fields RP and Game use, so tuning a character for Convo compromises them elsewhere. This adds Convo-mode-only profile + behavior features, provably isolated from Roleplay, Visual Novel, and Game modes.
What changed
Built as one PR in stacked, independently-testable commits:
extensions, so they round-trip export/import) and personas (new columns, fully plumbed): a Convo display name, an "about me", and a behavior directive{ instruction, insertionStrategy }(constant before/after the card, replace / append-around post-history, or macro-placeable). All composed only inside the generate route'sif (chatMode === "conversation")branch. New Convo macros ({{convo_display}},{{char_about}},{{persona_about}},{{convo_behavior}}) read a dedicatedMacroContext.convoFieldsbucket assigned in exactly one place — inside that branch — so they resolve to empty string in RP/VN/Game even if pasted into a shared card/lorebook surface. Includes an AI-write button that drafts an in-character about-me (deliberately allowed to be sparse, an emoji, or empty — authentic, not a forced polished bio).update_about_mecommand. The in-character version: an opt-in function-call tool in the Function Calling section of Chat Settings that a character can call mid-turn to update its own about-me (scope: public | chat). Conversation-only and strictly opt-in.mari-about-me-*hooks (popout, banner, avatar, status, name, handle, presence, box, label, badge, text) are documented in the Card CSS Theming Guide with a paste-ready example, and added to the guide's AI-assistant prompt constraints. Conversation-only, like the popout itself.The about-me delivery is auto-injected for all present participants plus the macros, with a per-chat off-switch.
Review
The branch went through a four-dimension adversarial review (mode isolation, self-update logic, persona persistence round-trip, client UI). Isolation verdict: airtight — no Convo field/macro/agent/tool can reach an RP/VN/Game prompt. Confirmed findings were fixed in the last commit:
update_about_metool refuses in ambiguous merged-group turns rather than writing the wrong character's about-me.oldTextprepend on concurrent edits.patchMetadatalike the tool path.Known limitations
update_about_mecan't attribute the call to a specific speaker, so it declines (the About Me Keeper agent is unaffected — it names the character per update). Single-character and manual/individual group convos work.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Automated so far: shared/server/client typechecks pass;
pnpm lintclean;pnpm regression:promptpasses (55 checks, incl. "mode-specific prompt gates keep known behavior stable"); client production build passes.pnpm check's full build step is blocked on this dev machine by a pre-existing Windows-only build-script bug (#3162 / fix PR #3163); the servertscit wraps passes. Commit 1 was playtested in the running app.To verify before un-drafting (human, in a real browser):
{{char_about}}/{{convo_behavior}}pasted into a card description render in Convo but resolve to empty in RP/Game.update_about_metool: enable it in Function Calling in a single-character convo; confirm it's absent outside Conversation and in the Function Calling picker in other modes.<style>from the Card CSS Theming Guide into a character's and a persona's Creator Notes, enable Card CSS, and confirm the popout restyles in Conversation (and that the CSS does not leak into RP/Game or other chat surfaces).Docs and release impact
Docs touched:
CHANGELOG.md(feature entry under Unreleased);docs/card-css-theming-guide.md(new "About Me Profile Popout" section with themari-about-me-*hooks + example, and the new hooks noted in the AI-assistant prompt template).UI evidence (if applicable)
Screenshots pending the manual verification pass.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.