[PR #2583] [CLOSED] [codex] Add Discord roleplay controls #5669

Closed
opened 2026-10-22 04:18:19 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/2583
Author: @Kebolder
Created: 6/15/2026
Status: ❌ Closed

Base: staging ← Head: discord-bridge


📝 Commits (10+)

  • d7473aa Add Discord bridge foundation
  • 07b8abc Add Discord character browser editing
  • 3bd2b28 Add Discord personas browser
  • 1c20d97 Add Discord persona field editing
  • 59ccd60 Add Discord bridge roleplay sync
  • 67e838d Add event-driven Discord bridge sync
  • c5cf441 Link Discord personas and trigger bridge replies
  • ba387c1 backup routes ts
  • e5f53db Add Discord multiplayer persona participants
  • 6ddcaee Harden Discord participant prompt identity

📊 Changes

82 files changed (+7272 additions, -74 deletions)

View changed files

📝 .env.example (+9 -0)
📝 .gitignore (+3 -0)
📝 docs/CONFIGURATION.md (+6 -0)
📝 package.json (+3 -2)
📝 packages/client/src/App.tsx (+2 -0)
📝 packages/client/src/components/chat/ChatMessage.tsx (+29 -1)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+135 -1)
📝 packages/client/src/components/chat/ConversationMessage.tsx (+6 -1)
📝 packages/client/src/components/chat/ConversationMessageBubble.tsx (+5 -2)
📝 packages/client/src/components/chat/ConversationMessageLine.tsx (+3 -0)
📝 packages/client/src/components/chat/ConversationMessageShared.tsx (+16 -1)
➕ packages/client/src/hooks/use-chat-realtime-events.ts (+44 -0)
📝 packages/client/src/hooks/use-chats.ts (+28 -0)
➕ packages/discord-bot/package.json (+21 -0)
➕ packages/discord-bot/src/commands/characters.ts (+22 -0)
➕ packages/discord-bot/src/commands/command.types.ts (+7 -0)
➕ packages/discord-bot/src/commands/controls.ts (+49 -0)
➕ packages/discord-bot/src/commands/index.ts (+16 -0)
➕ packages/discord-bot/src/commands/personas.ts (+17 -0)
➕ packages/discord-bot/src/commands/roleplay.ts (+29 -0)

...and 62 more files

📄 Description

## Summary

  • Adds a /controls command for bound Discord roleplay threads.
  • Adds Back, Regen, Forward, and Close buttons for the latest bot response.
  • Adds narrow Discord bridge controls endpoints that resolve the latest assistant response at action time and reuse existing swipe/regeneration behavior.

Why

Discord roleplay threads need lightweight response controls that mirror Marinara Engine's regenerate and swipe history behavior without binding controls to stale message IDs.

Validation

  • pnpm --filter @marinara-engine/discord-bot build
  • pnpm check

Manual verification needed

  • Manually verify /controls outside a bound thread returns an error.
  • Manually verify /controls inside a bound roleplay thread opens the controls embed.
  • Manually verify Regen creates a new latest-response swipe and updates the Discord bot message.
  • Manually verify Back and Forward switch only the latest bot response history.
  • Manually verify Close removes the controls panel.

Issue

No linked issue was provided; one should be opened before this PR is submitted for review.


🔄 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/2583 **Author:** [@Kebolder](https://github.com/Kebolder) **Created:** 6/15/2026 **Status:** ❌ Closed **Base:** `staging` ← **Head:** `discord-bridge` --- ### 📝 Commits (10+) - [`d7473aa`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d7473aaf422a38e753944f2a0ddc9d2347caee29) Add Discord bridge foundation - [`07b8abc`](https://github.com/Pasta-Devs/Marinara-Engine/commit/07b8abcff418ccf749975d0994bf54eb24bb8631) Add Discord character browser editing - [`3bd2b28`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3bd2b28246adfc36a5d8b06c7d55fc3c471970f3) Add Discord personas browser - [`1c20d97`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1c20d97c3114b65aeeba384c8f0860056f6a4e51) Add Discord persona field editing - [`59ccd60`](https://github.com/Pasta-Devs/Marinara-Engine/commit/59ccd6089324c1de83ea124bebba84964dfc7d4d) Add Discord bridge roleplay sync - [`67e838d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/67e838d2070e4ea475cee2472279a6f3fc4086d0) Add event-driven Discord bridge sync - [`c5cf441`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c5cf4416fb1171033791618ca7910563aa6d462d) Link Discord personas and trigger bridge replies - [`ba387c1`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ba387c1e685512af1912a3c74e333fb40a2d777a) backup routes ts - [`e5f53db`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e5f53db54bb9fb7ada3c8274f293fcf235d9d597) Add Discord multiplayer persona participants - [`6ddcaee`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6ddcaeeb4e5bf16de3879592164d9d65f5d1843d) Harden Discord participant prompt identity ### 📊 Changes **82 files changed** (+7272 additions, -74 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+9 -0) 📝 `.gitignore` (+3 -0) 📝 `docs/CONFIGURATION.md` (+6 -0) 📝 `package.json` (+3 -2) 📝 `packages/client/src/App.tsx` (+2 -0) 📝 `packages/client/src/components/chat/ChatMessage.tsx` (+29 -1) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+135 -1) 📝 `packages/client/src/components/chat/ConversationMessage.tsx` (+6 -1) 📝 `packages/client/src/components/chat/ConversationMessageBubble.tsx` (+5 -2) 📝 `packages/client/src/components/chat/ConversationMessageLine.tsx` (+3 -0) 📝 `packages/client/src/components/chat/ConversationMessageShared.tsx` (+16 -1) ➕ `packages/client/src/hooks/use-chat-realtime-events.ts` (+44 -0) 📝 `packages/client/src/hooks/use-chats.ts` (+28 -0) ➕ `packages/discord-bot/package.json` (+21 -0) ➕ `packages/discord-bot/src/commands/characters.ts` (+22 -0) ➕ `packages/discord-bot/src/commands/command.types.ts` (+7 -0) ➕ `packages/discord-bot/src/commands/controls.ts` (+49 -0) ➕ `packages/discord-bot/src/commands/index.ts` (+16 -0) ➕ `packages/discord-bot/src/commands/personas.ts` (+17 -0) ➕ `packages/discord-bot/src/commands/roleplay.ts` (+29 -0) _...and 62 more files_ </details> ### 📄 Description ## Summary - Adds a `/controls` command for bound Discord roleplay threads. - Adds Back, Regen, Forward, and Close buttons for the latest bot response. - Adds narrow Discord bridge controls endpoints that resolve the latest assistant response at action time and reuse existing swipe/regeneration behavior. ## Why Discord roleplay threads need lightweight response controls that mirror Marinara Engine's regenerate and swipe history behavior without binding controls to stale message IDs. ## Validation - `pnpm --filter @marinara-engine/discord-bot build` - `pnpm check` ## Manual verification needed - Manually verify `/controls` outside a bound thread returns an error. - Manually verify `/controls` inside a bound roleplay thread opens the controls embed. - Manually verify Regen creates a new latest-response swipe and updates the Discord bot message. - Manually verify Back and Forward switch only the latest bot response history. - Manually verify Close removes the controls panel. ## Issue No linked issue was provided; one should be opened before this PR is submitted for review. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:18:19 +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#5669
No description provided.