mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-14 03:30:26 +00:00
be77e716cb
Introduce the root Bubble Tea model (AppModel) and the three TUI-internal message types needed by the unified architecture spec (TAS-10). - internal/ui/events.go: submitMsg, approvalResultMsg, cancelTimerExpiredMsg - internal/ui/model.go: AppModel with full stateInput/stateWorking/stateApproval state machine, AppController interface for dependency inversion, child component interfaces as stubs (TAS-15/16/17), double-tap ESC cancel with 2s timer, routing of all 13 app-layer events, tea.Println on StepCompleteEvent, stacked View() with separator and queue badge, WindowSizeMsg propagation.