The agent read of a view: the stable, versioned JSON an agent reads through the status spot's status read and a CLI status command prints, so a person, the window and an agent see one truth. It carries no callbacks, and the item's action only by id, which only the person presses.
import { portholeStatus } from "@/lib/ouro/porthole-view";Example
console.log(JSON.stringify(portholeStatus(portholeView(snapshot, heartbeatAt, Date.now()))));Use instead when
- Use
portholeViewinstead for everything the window shows, such as the open spot's lines.
Parameters
view- Type:
PortholeView
Returns
PortholeStatusRead
