frontend

package
v0.2.36 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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, bool) (string, error)
	SwitchConversationAgent(string, string) (bool, error)
	RunningAgent(string) string
	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.

Jump to

Keyboard shortcuts

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