mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3526] [Feature]: Add a game state endpoint for a specific message #1907
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#1907
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?
Originally created by @kaldigo on GitHub (Jul 12, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3526
What problem does this solve?
Extensions and integrations need a way to retrieve the game state associated with a specific chat message, instead of only being able to fetch the latest game state for the chat.
The latest game state is useful for current UI, but it is not enough when an extension needs to inspect or act on a specific message in history. In those cases, falling back to the latest state can give the wrong scene, character state, location, or other tracker data.
Proposed solution
Add an endpoint that returns the stored game state snapshot for a specific chat message and swipe.
Alternatives considered
Using the existing latest game state endpoint is not sufficient because it can return state from a different point in the chat.
Extensions could try to infer state by walking chat history, but that would duplicate server logic and still may not match the stored tracker snapshot for a specific message/swipe.
Additional context
This is mainly useful for extension work that needs to inspect historical messages or attach behavior to a particular message state.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: