ui

package
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2026 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QuitRequestDrain = runshared.UIQuitRequestDrain
	QuitRequestForce = runshared.UIQuitRequestForce
)

Variables

This section is empty.

Functions

This section is empty.

Types

type QuitRequest added in v0.2.0

type QuitRequest = runshared.UIQuitRequest

type RemoteAttachOptions added in v0.2.0

type RemoteAttachOptions struct {
	Snapshot     apicore.RunSnapshot
	Config       *config
	OwnerSession bool
	LoadSnapshot func(context.Context) (apicore.RunSnapshot, error)
	OpenStream   func(context.Context, apicore.StreamCursor) (apiclient.RunStream, error)
}

RemoteAttachOptions configures a daemon-backed UI attach session.

type Session

type Session = runshared.UISession

func AttachRemote added in v0.2.0

func AttachRemote(ctx context.Context, opts RemoteAttachOptions) (Session, error)

AttachRemote boots the Bubble Tea cockpit from a daemon snapshot and then follows the daemon stream.

func Setup

func Setup(ctx context.Context, jobs []job, cfg *config, bus *events.Bus[events.Event], enabled bool) Session

type SessionMetaState

type SessionMetaState = transcript.SessionMetaState

type SessionPlanState

type SessionPlanState = transcript.SessionPlanState

type SessionViewSnapshot

type SessionViewSnapshot = transcript.SessionViewSnapshot

type TranscriptEntry

type TranscriptEntry = transcript.Entry

type ValidationDecision

type ValidationDecision string
const (
	ValidationContinued ValidationDecision = "continued"
	ValidationAborted   ValidationDecision = "aborted"
)

func RunValidationFormWithIO

func RunValidationFormWithIO(
	report tasks.Report,
	registry *tasks.TypeRegistry,
	stderr io.Writer,
	input io.Reader,
	output io.Writer,
	clipboardWrite func(string) error,
) (ValidationDecision, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL