Help us shape the future of Go! Take the 2026 Go Developer Survey

frontend

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: MIT Imports: 3 Imported by: 0

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 {
	Subscribe(context.Context) iter.Seq[protocol.Event]
	CreateConversation(context.Context, protocol.Conversation) error
	ListConversations(context.Context) ([]protocol.Conversation, error)
	SwitchConversationAgent(string, string) (bool, error)
	RunTurn(context.Context, *protocol.InboundMessage) error
	SyncConversation(context.Context, string, 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)
	ReorderQueueItems(string, []string) error
	StashQueueItem(context.Context, string, *protocol.ThreadQueueItem) error
}

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