# Log what the agent can currently see

Modify `main.js` so that on every select the app captures the agent-facing scene context and logs the semantic tree nodes and which of them are currently visible to the user.

Read the context from the SDK's context module rather than walking the three.js scene graph yourself.

Only edit `main.js`. Do not touch `index.html` or the importmap.
