mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #14] [MERGED] fix: v1.3.4 bug fixes - streaming colors, agent data, widget merge, animation flash #4394
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#4394
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/14
Author: @SpicyMarinara
Created: 3/14/2026
Status: ✅ Merged
Merged: 3/15/2026
Merged by: @SpicyMarinara
Base:
main← Head:fix/v1.3.4-bug-fixes📝 Commits (2)
93ec320fix: v1.3.4 bug fixes — streaming colors, agent data in prompt, widget merge, animation flash9a0f832fix: address PR review feedback📊 Changes
52 files changed (+2182 additions, -412 deletions)
View changed files
➕
.github/workflows/docker-ghcr.yml(+76 -0)📝
README.md(+110 -51)📝
docker-compose.yml(+3 -0)📝
installer/install.bat(+1 -1)📝
installer/installer.nsi(+1 -1)📝
package.json(+1 -1)📝
packages/client/package.json(+1 -1)📝
packages/client/src/components/agents/AgentEditor.tsx(+22 -18)📝
packages/client/src/components/agents/AgentThoughtBubbles.tsx(+7 -2)📝
packages/client/src/components/agents/RegexScriptEditor.tsx(+4 -0)📝
packages/client/src/components/agents/ToolEditor.tsx(+4 -0)📝
packages/client/src/components/characters/CharacterEditor.tsx(+124 -5)📝
packages/client/src/components/chat/ChatArea.tsx(+175 -32)📝
packages/client/src/components/chat/ChatMessage.tsx(+66 -56)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+179 -46)📝
packages/client/src/components/chat/ExpressionPanel.tsx(+11 -6)📝
packages/client/src/components/chat/RoleplayHUD.tsx(+5 -1)📝
packages/client/src/components/connections/ConnectionEditor.tsx(+22 -17)📝
packages/client/src/components/layout/AppShell.tsx(+1 -1)📝
packages/client/src/components/layout/ChatSidebar.tsx(+4 -1)...and 32 more files
📄 Description
Bug Fixes for v1.3.4
1. Streaming message missing character background color
Single-character chats never receive a
group_turnSSE event, sostreamingCharacterIdstays null. The streaming overlay now falls back tochatCharIds[0]for character colors.File:
packages/client/src/components/chat/ChatArea.tsx2. World-state agent data missing from prompt
expandWorldStateAgent()only queried committed snapshots, but commitment doesn't happen until the user sends the next message. First-time agent data was silently dropped.Files:
packages/server/src/services/prompt/marker-expander.ts- fallback to latest snapshotpackages/server/src/routes/chats.routes.ts- peek-prompt passes enableAgents/activeAgentIdspackages/server/src/routes/generate.routes.ts- agent context fallback3. HUD widget data wiped on partial agent results
The
game_stateSSE handler did a full state replacement instead of merging. Unified withgame_state_patchto always merge, preserving existing widget data when partial results arrive.File:
packages/client/src/hooks/use-generate.ts4. Visible flash/refresh when generation ends
Every
ChatMessagehadanimate-message-inwithanimationFillMode: backwards(starts at opacity 0). WheninvalidateQueriesreplaced optimistic messages with real server data, React remounted elements and replayed the entry animation, causing a visible flash.Entry animation now only plays on initial chat load and resets on chat switch. Subsequent query refetches skip the animation entirely.
Files:
packages/client/src/components/chat/ChatMessage.tsx- removed hardcoded animationpackages/client/src/components/chat/ChatArea.tsx- controlled animation via hasAnimatedRefChecks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.