[PR #3396] [MERGED] Fix v2.1.2 roleplay and call followups #5916

Closed
opened 2026-10-23 04:05:07 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3396
Author: @SpicyMarinara
Created: 7/8/2026
Status: ✅ Merged
Merged: 7/8/2026
Merged by: @SpicyMarinara

Base: staging ← Head: agent/v2-1-2-followups-3392


📝 Commits (1)

  • 26c0f5e Fix v2.1.2 roleplay and call followups

📊 Changes

13 files changed (+172 additions, -29 deletions)

View changed files

📝 CHANGELOG.md (+4 -0)
📝 docs/CONVERSATION_CALLS.md (+2 -0)
📝 packages/client/src/components/chat/ChatRoleplaySurface.tsx (+10 -0)
📝 packages/client/src/components/chat/ChatSetupWizard.tsx (+4 -2)
📝 packages/client/src/components/chat/SummaryPopover.tsx (+117 -10)
📝 packages/client/src/components/ui/ChibiProfessorMariEasterEgg.tsx (+8 -10)
📝 packages/server/src/middleware/security-headers.ts (+3 -2)
📝 packages/server/src/routes/chats.routes.ts (+6 -1)
📝 packages/server/src/routes/generate.routes.ts (+3 -1)
📝 packages/server/src/services/generation/roleplay-summary-runtime.ts (+10 -1)
📝 packages/shared/src/constants/agent-prompts.ts (+1 -1)
📝 packages/shared/src/features/agents/illustrator/manifest.ts (+1 -1)
📝 packages/shared/src/types/chat.ts (+3 -0)

📄 Description

Linked issue

Closes #3392

Why this change

  • Fixes the Roleplay setup wizard shortcut path where system "joined the chat" notices made the chat look non-empty, so first messages were skipped.
  • Bundles the v2.1.2 follow-up fixes requested in this working branch: summary output sizing, Illustrator prompt guidance, Conversation Calls permissions policy, and Mini Mari toast polish.

What changed

  • Checks for non-system chat messages before skipping Roleplay initial greeting seeding in the Use Settings Presets shortcut.
  • Adds a Roleplay Chat Summary maximum output size setting and uses it for manual and automatic summaries.
  • Updates the default Illustrator prompt rules to include character build, clothing, and appearance details.
  • Allows same-origin microphone, camera, and screen capture for Conversation Calls via the server permissions policy.
  • Removes the extra framed border around the Mini Mari surprise toast image.
  • Updates CHANGELOG and Conversation Calls troubleshooting docs.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Automated validation run: pnpm check.
  • Browser/manual verification still needed for the RP wizard shortcut, Edge microphone prompt, and Mini Mari toast appearance.

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)

UI evidence (if applicable)

  • Not captured.

Summary by CodeRabbit

  • New Features

    • Added a new “Maximum output size” setting for chat summaries, available in the Summary Connection area for both manual and automatic summaries.
    • Roleplay setup now seeds initial greetings more reliably when a chat is still empty.
  • Bug Fixes

    • Fixed microphone, camera, and screen-capture access in Chromium-based browsers for conversation calls.
    • Fixed the Roleplay setup shortcut so earlier notices no longer block the first seeded character message.
  • Documentation

    • Updated troubleshooting guidance for browser microphone permission issues.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/3396 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/8/2026 **Status:** ✅ Merged **Merged:** 7/8/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/v2-1-2-followups-3392` --- ### 📝 Commits (1) - [`26c0f5e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/26c0f5e7d50856d5efe2f83da9457c57d9876bbb) Fix v2.1.2 roleplay and call followups ### 📊 Changes **13 files changed** (+172 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+4 -0) 📝 `docs/CONVERSATION_CALLS.md` (+2 -0) 📝 `packages/client/src/components/chat/ChatRoleplaySurface.tsx` (+10 -0) 📝 `packages/client/src/components/chat/ChatSetupWizard.tsx` (+4 -2) 📝 `packages/client/src/components/chat/SummaryPopover.tsx` (+117 -10) 📝 `packages/client/src/components/ui/ChibiProfessorMariEasterEgg.tsx` (+8 -10) 📝 `packages/server/src/middleware/security-headers.ts` (+3 -2) 📝 `packages/server/src/routes/chats.routes.ts` (+6 -1) 📝 `packages/server/src/routes/generate.routes.ts` (+3 -1) 📝 `packages/server/src/services/generation/roleplay-summary-runtime.ts` (+10 -1) 📝 `packages/shared/src/constants/agent-prompts.ts` (+1 -1) 📝 `packages/shared/src/features/agents/illustrator/manifest.ts` (+1 -1) 📝 `packages/shared/src/types/chat.ts` (+3 -0) </details> ### 📄 Description ## Linked issue Closes #3392 ## Why this change - Fixes the Roleplay setup wizard shortcut path where system "joined the chat" notices made the chat look non-empty, so first messages were skipped. - Bundles the v2.1.2 follow-up fixes requested in this working branch: summary output sizing, Illustrator prompt guidance, Conversation Calls permissions policy, and Mini Mari toast polish. ## What changed - Checks for non-system chat messages before skipping Roleplay initial greeting seeding in the **Use Settings Presets** shortcut. - Adds a Roleplay Chat Summary maximum output size setting and uses it for manual and automatic summaries. - Updates the default Illustrator prompt rules to include character build, clothing, and appearance details. - Allows same-origin microphone, camera, and screen capture for Conversation Calls via the server permissions policy. - Removes the extra framed border around the Mini Mari surprise toast image. - Updates CHANGELOG and Conversation Calls troubleshooting docs. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Automated validation run: `pnpm check`. - Browser/manual verification still needed for the RP wizard shortcut, Edge microphone prompt, and Mini Mari toast appearance. ## 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) ## UI evidence (if applicable) - Not captured. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a new “Maximum output size” setting for chat summaries, available in the Summary Connection area for both manual and automatic summaries. * Roleplay setup now seeds initial greetings more reliably when a chat is still empty. * **Bug Fixes** * Fixed microphone, camera, and screen-capture access in Chromium-based browsers for conversation calls. * Fixed the Roleplay setup shortcut so earlier notices no longer block the first seeded character message. * **Documentation** * Updated troubleshooting guidance for browser microphone permission issues. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:05:07 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#5916
No description provided.