Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend interface {
Reload(string) (string, error)
ValidateAgentFile(string, []byte) error
SaveBehavior(*config.Behavior) error
Subscribe(context.Context) iter.Seq[protocol.Event]
CreateConversation(context.Context, protocol.Conversation) error
ContinueRun(context.Context, string, string, bool) (string, error)
SwitchConversationAgent(string, string) (bool, error)
RunningAgent(string) string
RunTurn(context.Context, *protocol.InboundMessage) error
StageRevert(context.Context, string, string, protocol.RevertBoundary) (string, string, error)
DeleteBranch(context.Context, string, string, bool) (protocol.BranchDeletion, error)
AgentPaused(context.Context, string) (bool, error)
SetAgentPaused(context.Context, string, string, bool) error
PostPausedMessage(context.Context, *protocol.InboundMessage) error
QueueItems(string) ([]protocol.ThreadQueueItem, error)
PromoteQueueItem(context.Context, string, string) (bool, error)
PopQueueItem(context.Context, string, string) (bool, error)
DeleteQueueItem(context.Context, string, string) (bool, error)
EditQueueItem(context.Context, string, string, string, string, string) (bool, error)
ReorderQueueItems(context.Context, string, []string) error
StashQueueItem(context.Context, string, *protocol.ThreadQueueItem) error
StartGoal(context.Context, *protocol.InboundMessage, protocol.GoalRequest) error
MoveToBackground(context.Context, string) (bool, error)
StopBackgroundJob(context.Context, string, string) (bool, error)
BackgroundJobs(context.Context, string) ([]protocol.BackgroundJob, bool, error)
CompletionNotes(context.Context, string, []string) ([]protocol.BackgroundJob, error)
PendingQuestions(context.Context, string) ([]protocol.AskUserQuestionRequest, error)
AnswerQuestion(context.Context, string, string, protocol.AskUserQuestionAnswer) error
SandboxError() string
SlackWarning() string
}
Click to show internal directories.
Click to hide internal directories.