The user asked to see what the agent is working on through MCP. Until
now the agent had to call open for that, and mostly did not.
- After run_commands the editor shows what the call worked on last. A
graph opens its tab with the touched nodes selected, deleted ones
left out. A scene or container shows with its objects selected. Any
other asset shows in the inspector.
- Objects in another scene switch the scene inside the same undo step.
A switch of its own would be its own step, and Ctrl+Z would take back
the switch before the agent's edit.
- A graph tab that is open already moves its camera after the nodes.
It stays put while they are in view, moves only as far as needed with
the zoom kept, and frames them like Fit only when they do not fit.
This is revealBoxes in framing.ts and the state's reveal event.
- A tab that has just opened frames itself first and moves after that.
- The account menu has "Follow agent" below "Agent", on by default and
kept in the browser. While the game plays the editor never follows.
- The run_commands description and the relay's instructions tell the
agent about it.
Tests:
- agent-edit.test.ts: 3 new tests, each red with its bent-back fix
(scene switch outside the undo step, deleted nodes selected, switch
ignored)
- graph-framing.test.ts 29/29, 6 of them new
- e2e 71 on melektaus-atx: ALL PASSED, 20 checks. 71g4 adds a node
3000 px to the right of an open tab: it ends 24 px inside the edge,
zoom still 1
- Tried live on a test project through a real MCP session: the tab
opened, the nodes and the object were selected. With the old build
a far node stayed out of view, after the reload the camera went there
- Gate on melektaus-atx: CHECK EXIT 0, 318 files, 4931 tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>