Generation loop
The service exposes three generation tools: list project files, read a project file, and write a project file. The model can iterate over tool results until it reaches a terminal response, while the service translates model, tool, and error activity into a stream of structured events for the client.
The generated project is then previewed through a local development process. This makes the artifact and the tool transcript available for inspection instead of treating a single text completion as a finished application.