[PR #4945] [MERGED] fix: resolve assigned chat and game issues #6549

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

📋 Pull Request Information

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

Base: staging ← Head: agent/assigned-issues-4936-4942


📝 Commits (4)

  • 12bb9db fix: address assigned chat and game issues
  • 4675fd1 Merge staging into assigned issue sweep
  • adcca79 test: align Professor Mari shortcut regression
  • 9238b34 fix: preserve turn-game abort semantics

📊 Changes

11 files changed (+352 additions, -93 deletions)

View changed files

📝 CHANGELOG.md (+6 -0)
📝 packages/client/src/components/chat/AgentSuiteModal.tsx (+5 -83)
📝 packages/client/src/components/chat/ChatArea.tsx (+8 -0)
📝 packages/client/src/components/chat/ChatConversationSurface.tsx (+3 -0)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+54 -3)
📝 packages/client/src/components/game/GameMap.tsx (+1 -1)
➕ packages/client/src/lib/agent-suite-tracker-slices.ts (+116 -0)
📝 packages/client/src/localization/locales/en.json (+4 -0)
📝 packages/client/src/stores/chat.store.ts (+4 -4)
📝 packages/server/src/routes/generate.routes.ts (+22 -0)
📝 scripts/regressions/open-issues.regression.ts (+129 -2)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #4937
Closes #4940
Closes #4941
Closes #4942
Closes #4944

Related package work: Pasta-Devs/Marinara-Agents#309 and Pasta-Devs/Marinara-Agents#310

Why this change

The latest assigned-issue sweep exposed several small but disruptive gaps across Conversation and Game: incomplete tracker editing, a missing custom image-agent picker, a race that could strand UNO on a bot turn, no way to stop a live Roleplay generation from the Agents menu, and minimap controls that ignored the selected accent. Long-Term Memory also rendered a second framed surface around package UI that was already visually too large.

What changed

  • Included World State custom fields and persona inventory in Agent Suite snapshots and safe partial patches.
  • Wired Conversation Gallery's Illustrate action to both the built-in Illustrator and active custom image agents.
  • Resumed a pending turn-game bot seat after a regular Conversation generation releases the shared chat generation path.
  • Added the requested Roleplay Agents-menu stop control, visible only while that chat has active local or server-side generation work.
  • Changed Game minimap zoom icons from a fixed color to the active interface accent.
  • Removed redundant host borders/backgrounds around Long-Term Memory's embedded settings in Conversation, Roleplay, and Game; the companion package PR supplies the compact internal layout.
  • Added focused regression coverage and release notes.

Sweep dispositions outside this patch:

  • #4936 was closed as a duplicate of #4730; the fix was already merged to staging in #4736 after the reporter's 2.4.1 build.
  • #4943 was already closed; the issue was missing configuration, and a follow-up comment explains that Dynamic LLM Prompt Generation must be enabled.
  • #4934 and the other older assigned issues carrying in-pr remain owned by existing PR #4935, so this branch does not duplicate that work.

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

Automated evidence recorded before publication:

  • pnpm check
  • pnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/open-issues.regression.ts
  • Focused Playwright lanes for Conversation custom image-agent illustration and Long-Term Memory Chat Settings activation: 4 passed across desktop and mobile.
  • git diff --check

The broad pnpm smoke:ui run was not a clean pass: it reached 66 passed and 54 skipped before unrelated character-library cases timed out waiting for the existing Open Characters Library control; the run was stopped after 5.2 minutes, interrupting two remaining tests.

Manual verification notes

  • Exercise an UNO game while sending a normal chat message exactly as a bot turn begins.
  • Verify the Roleplay stop control appears only during generation and cancels after navigation/reload.
  • Compare minimap icons under multiple accent colors.
  • Compare Long-Term Memory with adjacent Agent menus in Conversation, Roleplay, and Game.
  • Verify light/dark themes and desktop/mobile layouts.

Rendered UI verification was not performed because the local in-app browser harness failed to initialize; these items remain explicitly outstanding.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] <paths> follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

Added user-facing entries under CHANGELOG.md [Unreleased]. No user-facing documentation pages or release-version files changed.

UI evidence (if applicable)

No screenshot attached; manual visual verification remains outstanding.

Summary by CodeRabbit

  • New Features
    • Added a stop control for active Roleplay generation, with status and error feedback.
    • Agent Suite trackers now support editing world state, characters, stats, custom fields, and quests.
    • Custom image agents can now create Conversation Gallery illustrations.
    • Turn-game bot play resumes automatically after eligible conversation responses.
  • Bug Fixes
    • Improved recovery when bot turns are interrupted.
    • Game minimap action buttons now use clearer accent coloring.
    • Long-Term Memory menu styling is more compact and consistent.

🔄 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/4945 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/12/2026 **Status:** ✅ Merged **Merged:** 8/12/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/assigned-issues-4936-4942` --- ### 📝 Commits (4) - [`12bb9db`](https://github.com/Pasta-Devs/Marinara-Engine/commit/12bb9db465cc05c4da6776bff2b960aaeeea135d) fix: address assigned chat and game issues - [`4675fd1`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4675fd14457a26e4f4065f1bdd6d89499b9cdfa9) Merge staging into assigned issue sweep - [`adcca79`](https://github.com/Pasta-Devs/Marinara-Engine/commit/adcca799af0151bf42ddc3044bf6b937b53c9828) test: align Professor Mari shortcut regression - [`9238b34`](https://github.com/Pasta-Devs/Marinara-Engine/commit/9238b34dad749f644e0981d024dd4ccb44f81ccb) fix: preserve turn-game abort semantics ### 📊 Changes **11 files changed** (+352 additions, -93 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+6 -0) 📝 `packages/client/src/components/chat/AgentSuiteModal.tsx` (+5 -83) 📝 `packages/client/src/components/chat/ChatArea.tsx` (+8 -0) 📝 `packages/client/src/components/chat/ChatConversationSurface.tsx` (+3 -0) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+54 -3) 📝 `packages/client/src/components/game/GameMap.tsx` (+1 -1) ➕ `packages/client/src/lib/agent-suite-tracker-slices.ts` (+116 -0) 📝 `packages/client/src/localization/locales/en.json` (+4 -0) 📝 `packages/client/src/stores/chat.store.ts` (+4 -4) 📝 `packages/server/src/routes/generate.routes.ts` (+22 -0) 📝 `scripts/regressions/open-issues.regression.ts` (+129 -2) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #4937 Closes #4940 Closes #4941 Closes #4942 Closes #4944 Related package work: Pasta-Devs/Marinara-Agents#309 and Pasta-Devs/Marinara-Agents#310 ## Why this change The latest assigned-issue sweep exposed several small but disruptive gaps across Conversation and Game: incomplete tracker editing, a missing custom image-agent picker, a race that could strand UNO on a bot turn, no way to stop a live Roleplay generation from the Agents menu, and minimap controls that ignored the selected accent. Long-Term Memory also rendered a second framed surface around package UI that was already visually too large. ## What changed - Included World State custom fields and persona inventory in Agent Suite snapshots and safe partial patches. - Wired Conversation Gallery's Illustrate action to both the built-in Illustrator and active custom image agents. - Resumed a pending turn-game bot seat after a regular Conversation generation releases the shared chat generation path. - Added the requested Roleplay Agents-menu stop control, visible only while that chat has active local or server-side generation work. - Changed Game minimap zoom icons from a fixed color to the active interface accent. - Removed redundant host borders/backgrounds around Long-Term Memory's embedded settings in Conversation, Roleplay, and Game; the companion package PR supplies the compact internal layout. - Added focused regression coverage and release notes. Sweep dispositions outside this patch: - #4936 was closed as a duplicate of #4730; the fix was already merged to `staging` in #4736 after the reporter's 2.4.1 build. - #4943 was already closed; the issue was missing configuration, and a follow-up comment explains that Dynamic LLM Prompt Generation must be enabled. - #4934 and the other older assigned issues carrying `in-pr` remain owned by existing PR #4935, so this branch does not duplicate that work. ## 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` Automated evidence recorded before publication: - `pnpm check` - `pnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/open-issues.regression.ts` - Focused Playwright lanes for Conversation custom image-agent illustration and Long-Term Memory Chat Settings activation: 4 passed across desktop and mobile. - `git diff --check` The broad `pnpm smoke:ui` run was not a clean pass: it reached 66 passed and 54 skipped before unrelated character-library cases timed out waiting for the existing `Open Characters Library` control; the run was stopped after 5.2 minutes, interrupting two remaining tests. ### Manual verification notes - [ ] Exercise an UNO game while sending a normal chat message exactly as a bot turn begins. - [ ] Verify the Roleplay stop control appears only during generation and cancels after navigation/reload. - [ ] Compare minimap icons under multiple accent colors. - [ ] Compare Long-Term Memory with adjacent Agent menus in Conversation, Roleplay, and Game. - [ ] Verify light/dark themes and desktop/mobile layouts. Rendered UI verification was not performed because the local in-app browser harness failed to initialize; these items remain explicitly outstanding. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n] <paths>` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) Added user-facing entries under `CHANGELOG.md` `[Unreleased]`. No user-facing documentation pages or release-version files changed. ## UI evidence (if applicable) No screenshot attached; manual visual verification remains outstanding. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added a stop control for active Roleplay generation, with status and error feedback. - Agent Suite trackers now support editing world state, characters, stats, custom fields, and quests. - Custom image agents can now create Conversation Gallery illustrations. - Turn-game bot play resumes automatically after eligible conversation responses. - **Bug Fixes** - Improved recovery when bot turns are interrupted. - Game minimap action buttons now use clearer accent coloring. - Long-Term Memory menu styling is more compact and consistent. <!-- 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:11:28 +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#6549
No description provided.