mirror of
https://github.com/leonvanzyl/autocoder.git
synced 2026-02-01 23:13:36 +00:00
The onComplete handler in the empty Kanban spec creation flow only logged errors to console.error, leaving users with no feedback when the agent failed to start. This wires up the SpecCreationChat component's built-in error UI (spinner, error banner, retry button) via initializerStatus, initializerError, and onRetryInitializer props. Changes: - Add InitializerStatus type and specInitializerStatus/Error state - Set status to 'starting' before startAgent call (shows spinner) - On error, keep spec chat open so the error banner is visible - On success, close chat and refresh queries (same as before) - Wire up onRetryInitializer to reset state to idle - Reset initializer status on cancel/exit for clean re-entry Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>