commands

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package commands defines the canonical list of Errata slash commands. The TUI (internal/ui) derives its command list from this package.

Index

Constants

This section is empty.

Variables

View Source
var All = []Command{
	{"/help", "Show available commands"},
	{"/clear", "Clear display (preserves conversation context)"},
	{"/wipe", "Wipe display and conversation memory"},
	{"/compact", "Summarise conversation history to free up context"},
	{"/verbose", "Toggle verbose mode"},
	{"/config", "View/edit configuration; /config <section> jumps to section"},
	{"/resume", "Resume interrupted run — re-runs only interrupted models"},
	{"/rewind", "Undo last run — revert writes and remove from context"},
	{"/save", "Save session recipe to disk: /save [path]"},
	{"/load", "Load recipe from disk: /load <path>"},
	{"/export", "Export output report: /export [path]"},
	{"/publish", "Publish recipe to errata.app"},
	{"/pull", "Pull recipe from errata.app: /pull <author/name>"},
	{"/sync", "Upload preference data to errata.app"},
	{"/stats", "Show preference wins and session cost"},
	{"/exit", "Exit"},
}

All is the ordered canonical list of slash commands.

Functions

This section is empty.

Types

type Command

type Command struct {
	Name string // e.g. "/clear"
	Desc string // one-line description shown in suggestions and /help
}

Command describes a single slash command.

Jump to

Keyboard shortcuts

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