game surface / 001

Soma Bringer live state.

The deployable stand-in for the first AI-companion game surface. The emulator/runtime proof can be mounted here next.

Semantic coverage proven so far

classHP / SPgoldSTR / MAG / VIT / SKLCP / APinventorylatest lootequipmentabilitiesbattle bindings
next bridge

Runtime → relay

The existing browser runtime can publish its window.somaState payload to the state endpoint in this app.

next semantic

Identification

Unidentified → identified is the next especially useful loot-state transition to capture.

connector target

“What did I just find?”

The first end-to-end milestone is a companion answering from latest_loot without the player copying any stats.

Runtime publisher snippet

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)
  });
});