<!-- Generated by scripts/gen-docs.mts from the JSDoc in registry/. Do not edit; run `pnpm run docs`. -->

# portholeStatus

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.

```tsx
import { portholeStatus } from "@/lib/ouro/porthole-view";
```

## Example

```tsx
console.log(JSON.stringify(portholeStatus(portholeView(snapshot, heartbeatAt, Date.now()))));
```

## Use instead when

- Use `portholeView` instead for everything the window shows, such as the open spot's lines.

## Parameters

| Parameter | Type |
| --- | --- |
| `view` | `PortholeView` |

## Returns

`PortholeStatusRead`
