Documentation
¶
Overview ¶
Package frontend defines the conversation operations consumed by frontends.
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)
Subscribe(context.Context) iter.Seq[protocol.Event]
CreateConversation(context.Context, protocol.Conversation) error
ContinueRun(context.Context, string, string) error
SwitchConversationAgent(string, string) (bool, error)
RunTurn(context.Context, *protocol.InboundMessage) error
StageRevert(context.Context, string, string) (string, string, error)
ClearRevert(context.Context, string) 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) (bool, error)
ReorderQueueItems(string, []string) error
StashQueueItem(context.Context, string, *protocol.ThreadQueueItem) error
WorkflowDescriptions() ([]protocol.WorkflowDescription, 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
}
Backend owns conversation execution, recording, ordering, and live output.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package cronfrontend schedules cron producers and their conversation Sync.
|
Package cronfrontend schedules cron producers and their conversation Sync. |
|
Package externalmcp hosts MCP servers for rocketclaw integrations.
|
Package externalmcp hosts MCP servers for rocketclaw integrations. |
|
Package rpc adapts the retained Web protocol to Go-owned conversation storage.
|
Package rpc adapts the retained Web protocol to Go-owned conversation storage. |
|
Package slackconnector bridges Slack events into rocketclaw.
|
Package slackconnector bridges Slack events into rocketclaw. |
Click to show internal directories.
Click to hide internal directories.