Comparing v0.11.8...v0.12.0 · coder/agentapi
Commits on Feb 12, 2026
-
refactor: move snapshot loop and initial prompt logic into PTYConvers…
…ation (#179) This PR refactors the snapshot loop and initial prompt handling to be fully encapsulated within PTYConversation, removing direct field manipulation from the HTTP server layer. * Moved StartSnapshotLoop into PTYConversation.Start() * Initial prompt sending is now handled within PTYConversation.Start() * Fix: Status no longer flips from "changing" → "stable" → "changing" when sending the initial prompt - it stays "changing" until the agent has actually finished responding Also: * Fixes race condition in ./e2e * Improves logging in ./e2e * Removes separate test-only code paths in ./lib/screentracker * Refactors a lot of test code (for the better) 🤖 Created using Mux (Opus 4.5).