Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachAction ¶
type AttachAction struct {
// contains filtered or unexported fields
}
AttachAction reattaches to a running process with full PTY I/O.
func NewAttachAction ¶
func NewAttachAction(client *services.ClientService) *AttachAction
NewAttachAction creates an AttachAction.
type CleanAction ¶
type CleanAction struct {
// contains filtered or unexported fields
}
CleanAction removes finished/failed processes from the daemon.
func NewCleanAction ¶
func NewCleanAction(client *services.ClientService) *CleanAction
NewCleanAction creates a CleanAction.
type DaemonAction ¶
type DaemonAction struct {
// contains filtered or unexported fields
}
DaemonAction starts the yoink daemon in the foreground.
func NewDaemonAction ¶
func NewDaemonAction(sockPath string) *DaemonAction
NewDaemonAction creates a DaemonAction.
type KillAction ¶
type KillAction struct {
// contains filtered or unexported fields
}
KillAction terminates a managed process.
func NewKillAction ¶
func NewKillAction(client *services.ClientService) *KillAction
NewKillAction creates a KillAction.
type LogAction ¶
type LogAction struct {
// contains filtered or unexported fields
}
LogAction shows recent output from a managed process.
func NewLogAction ¶
func NewLogAction(client *services.ClientService) *LogAction
NewLogAction creates a LogAction.
type LsAction ¶
type LsAction struct {
// contains filtered or unexported fields
}
LsAction lists all managed background processes.
func NewLsAction ¶
func NewLsAction(client *services.ClientService) *LsAction
NewLsAction creates a LsAction.
type MCPAction ¶ added in v0.3.0
type MCPAction struct {
// contains filtered or unexported fields
}
MCPAction serves the yoink daemon over the Model Context Protocol on stdio, so agents can manage background processes as native tools.
func NewMCPAction ¶ added in v0.3.0
func NewMCPAction(client *services.ClientService, version string) *MCPAction
NewMCPAction creates an MCPAction.
type RunAction ¶
type RunAction struct {
// contains filtered or unexported fields
}
RunAction spawns a command in the background via the daemon.
func NewRunAction ¶
func NewRunAction(client *services.ClientService) *RunAction
NewRunAction creates a RunAction.
type SendAction ¶
type SendAction struct {
// contains filtered or unexported fields
}
SendAction sends input text to a running process.
func NewSendAction ¶
func NewSendAction(client *services.ClientService, redacted bool) *SendAction
NewSendAction creates a SendAction.
type SnapshotAction ¶
type SnapshotAction struct {
// contains filtered or unexported fields
}
SnapshotAction renders the current VT100 screen of a process as plain text.
func NewSnapshotAction ¶
func NewSnapshotAction(client *services.ClientService) *SnapshotAction
NewSnapshotAction creates a SnapshotAction.
type VersionAction ¶
type VersionAction struct {
// contains filtered or unexported fields
}
VersionAction prints version information.
func NewVersionAction ¶
func NewVersionAction(version, buildTime, gitCommit string) *VersionAction
NewVersionAction creates a VersionAction.
type WaitAction ¶
type WaitAction struct {
// contains filtered or unexported fields
}
WaitAction polls one or more background processes until they finish or a timeout is reached, streaming new output to stdout on each poll cycle.
func NewWaitAction ¶
func NewWaitAction(client *services.ClientService) *WaitAction
NewWaitAction creates a WaitAction.