[GH-ISSUE #3526] [Feature]: Add a game state endpoint for a specific message #1907

Closed
opened 2026-10-21 05:43:42 +07:00 by bsakaguchi · 0 comments
Owner

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:

  • I DID NOT read this template and provide the requested details.
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: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:43:42 +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#1907
No description provided.