Files
pipelines/internal/cli/exit.go
T
alan 05ae530442 Make Pipelines Docker-only with OpenCode and Pi
Install current verified harness releases inside Docker, preserve persistent accounts and settings, and provide separate interactive and pipeline model defaults with terminal onboarding and fuzzy pickers.

Add Docker-aware authoring transport, Pi stage execution, bounded workflow controls, reliable final-result readback and usage settlement, and finite short-lived CLI pipe draining. Keep dated installation evidence and packaged authoring guidance consistent.

Verified with a real Docker installation, both harness stages and interactive authors, the built-in plan/implement/review starter, independent host race/vet checks, installer tests, and packaged skill tests. Generated release receipts stay ignored in clean checkouts.
2026-10-11 23:00:25 +01:00

13 lines
442 B
Go

package cli
import "fmt"
// ExitError carries a dispatched subprocess exit code so the CLI can propagate the
// exact status. The child already streamed its own stdout/stderr, so main exits
// with this code without printing a duplicate diagnostic.
type ExitError struct{ Code int }
func (e *ExitError) Error() string { return fmt.Sprintf("subprocess exited with status %d", e.Code) }
func (e *ExitError) ExitCode() int { return e.Code }