Files
Reims-Go/internal/host/progress.go
T
Nwflower c1b33c9c4f refactor(app): isolate native macOS adapters
Route generic App and CLI code through lifecycle and driver models. Move native macOS detail, create, settings and legacy flows into explicit files, share progress and redaction through host, and enforce the boundary with a file-scoped architecture ratchet.
2026-11-30 11:18:09 -07:00

22 lines
534 B
Go

// Package progress defines task progress shared by host services and engine adapters.
package host
type Kind string
const (
KindStep Kind = "step"
KindProgress Kind = "progress"
KindNote Kind = "note"
)
type Update struct {
Kind Kind `json:"kind"`
Message string `json:"message,omitempty"`
Step string `json:"step,omitempty"`
Done int64 `json:"done"`
Total int64 `json:"total"`
Percent float64 `json:"percent"`
}
const WaitingNote = "waiting for another download of a macOS installer to end"