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 ¶
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.
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" )
Click to show internal directories.
Click to hide internal directories.