Checkpoint Eibenreith ink architecture

This commit is contained in:
2026-05-24 09:09:41 +02:00
parent beac5a2be3
commit d42540f29d
35 changed files with 12015 additions and 54 deletions
+3 -2
View File
@@ -210,12 +210,13 @@ io.on('connection', (socket) => {
}
const command = String(data?.command || '').trim();
const requestId = Number(data?.requestId || 0);
// During typography and animation work, mirror the command back through
// the real socket path so the UI pipeline can be tested end to end.
socket.emit('narrativeResponse', createTextTurn(socket.id, command, {
socket.emit('narrativeResponse', withClientRequestId(createTextTurn(socket.id, command, {
currentRoomId: gameRunner.getGameState().currentRoomId
}, gameRunner.getSuggestions()));
}, gameRunner.getSuggestions()), Number.isInteger(requestId) && requestId > 0 ? requestId : undefined));
} catch (error) {
console.error('Error processing command:', error);