Ask AI: code in Remote sessions opens in the Artifact pane, with what changed
In Ask AI → Remote, code folds into compact cards, and opening one shows the code and its changes in the Artifact pane. Web chats are unchanged.
- Long code folds into a card. A code block of more than three lines becomes a one-line card with its language or file name and line count, and Open shows it in the pane. Shorter blocks stay in the chat with line numbers, Wrap and Copy, plus, on a test file, Save & run, which writes that request into the composer.
- A card for every file the agent touched. Each file it saved or deleted on the device gets a card with its path, lines added and removed, and a create, update or delete badge. A git diff it ran gets a card too, without a badge.
- Code and Changes. The pane shows the code with syntax highlighting, and what changed as a diff with old and new line numbers. A save is compared with the last copy of that file the chat saw. When there isn't one, for example because the chat never read the file or the read stopped at Studio's 64 KB limit, the pane opens on the code and says why.
- Step through the chat's code with the previous and next arrows, and copy or download it. Ask about this code puts a question about it in the composer.
- Review a save before you approve it. When the device asks before saving a file, Review changes on the approval card opens the diff in the pane, where you can answer Yes, run it or No, skip this. To tell it what to do instead, answer on the card.
Studio and the CLI need no update. See Ask AI.