Semantic coverage proven so far
classHP / SPgoldSTR / MAG / VIT / SKLCP / APinventorylatest lootequipmentabilitiesbattle bindings
The deployable stand-in for the first AI-companion game surface. The emulator/runtime proof can be mounted here next.
The existing browser runtime can publish its window.somaState payload to the state endpoint in this app.
Unidentified → identified is the next especially useful loot-state transition to capture.
The first end-to-end milestone is a companion answering from latest_loot without the player copying any stats.
Drop this logic next to the existing Soma runtime once both live on loot.moe. Keep the token out of public JavaScript in the real multi-user product. For a private prototype, use a short-lived session credential issued by the backend.
window.addEventListener('soma-state', async (event) => {
await fetch('/api/v1/soma-bringer/state?session=my-session', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer <short-lived-session-token>'
},
body: JSON.stringify(event.detail)
});
});