commands

package
v0.67.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 1 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

Index

Constants

View Source
const (
	Adversary       = "/adversary"
	AdversaryModel  = "/adversary model"
	Btw             = "/btw"
	Clear           = "/clear"
	Compact         = "/compact"
	Context         = "/context"
	Decision        = "/decision"
	DecisionModel   = "/decision model"
	Cleanup         = "/cleanup"
	EmptyQueue      = "/emptyq"
	Exit            = "/exit"
	Help            = "/help"
	Logout          = "/logout"
	Memory          = "/memory"
	MemoryShow      = "/memory show"
	Model           = "/model"
	ModelRouter     = "/model router"
	Router          = "/router"
	RouterConfig    = "/router config"
	MCP             = "/mcp"
	MCPConnect      = "/mcp connect"
	MCPStatus       = "/mcp status"
	Mode            = "/mode"
	New             = "/new"
	AllowPermission = "/allow-permission"
	ResetPermission = "/reset-permission"
	Resume          = "/resume"
	Sessions        = "/sessions"
	ShowThinking    = "/show-thinking"
	Skills          = "/skills"
	SkillsDisable   = "/skills disable"
	SkillsEnable    = "/skills enable"
	SkillsList      = "/skills list"
	SkillsReload    = "/skills reload"
	SkillsStatus    = "/skills status"
	Subagents       = "/subagents"
	SubagentsList   = "/subagents list"
	Thinking        = "/thinking"
	ToolHistory     = "/tool-history"
	Usage           = "/usage"
	Theme           = "/theme"
)

Variables

View Source
var All = []SlashCommand{
	{Adversary, "Adversarially review the conversation for issues, bugs, risks, and security problems"},
	{AdversaryModel, "Configure the adversary model"},
	{AllowPermission, "Always allow a tool (bypasses prompts, including dangerous bash)"},
	{Btw, "Ask a quick side question (not added to conversation)"},
	{Clear, "Clear the session and create a new one (also /new)"},
	{Compact, "Compact conversation context"},
	{Decision, "Show decision model status"},
	{DecisionModel, "Configure the decision provider, model, and API key"},
	{Context, "Show context window usage breakdown"},
	{Cleanup, "Remove expired Keen data and trim input history"},
	{EmptyQueue, "Clear all queued messages"},
	{Exit, "Quit Keen"},
	{Help, "Show available commands"},
	{Logout, "Sign out of the current OAuth provider"},
	{Memory, "Show memory file paths and contents"},
	{MCP, "Show MCP status or refresh a server"},
	{Model, "Change provider or model; /model router enables model routing"},
	{Router, "Show router configuration"},
	{RouterConfig, "Configure simple, standard, and complex models"},
	{Mode, "Switch agent mode (plan|build|yolo)"},
	{New, "Start a new session (also /clear)"},
	{ResetPermission, "Reset tool permissions to Keen's default mechanism"},
	{Resume, "Resume the last session directly"},
	{Sessions, "Open the session picker"},
	{ShowThinking, "Toggle thinking token display (on|off)"},
	{Skills, "List, show status, reload, enable, or disable skills"},
	{Subagents, "List available subagents"},
	{Thinking, "Change thinking effort for the current model"},
	{Usage, "Show token usage by model"},
	{ToolHistory, "Control tool output retention between turns (full|none)"},
	{Theme, "Change the UI theme (primary and secondary colors)"},
}
View Source
var Suggestions = []SlashCommand{
	{Adversary, "Adversarially review the conversation for issues, bugs, risks, and security problems"},
	{AdversaryModel, "Configure the adversary model"},
	{AllowPermission, "Always allow a tool (bypasses prompts, including dangerous bash)"},
	{Btw, "Ask a quick side question (not added to conversation)"},
	{Clear, "Clear the session and create a new one (also /new)"},
	{Compact, "Compact conversation context"},
	{Decision, "Show decision model status"},
	{DecisionModel, "Configure the decision provider, model, and API key"},
	{Context, "Show context window usage breakdown"},
	{Cleanup, "Remove expired Keen data and trim input history"},
	{EmptyQueue, "Clear all queued messages"},
	{Exit, "Quit Keen"},
	{Help, "Show available commands"},
	{Logout, "Sign out of the current OAuth provider"},
	{Memory, "Show memory file paths and contents"},
	{MemoryShow, "Show memory contents"},
	{MCP, "Show MCP commands"},
	{MCPConnect, "Connect an MCP server"},
	{MCPStatus, "Show MCP server status"},
	{Model, "Change provider or model"},
	{ModelRouter, "Route prompts to simple, standard, or complex models"},
	{Router, "Show router configuration"},
	{RouterConfig, "Configure simple, standard, and complex models"},
	{Mode, "Switch agent mode (plan|build|yolo)"},
	{New, "Start a new session (also /clear)"},
	{ResetPermission, "Reset tool permissions to Keen's default mechanism"},
	{Resume, "Resume the last session directly"},
	{Sessions, "Open the session picker"},
	{ShowThinking, "Toggle thinking token display (on|off)"},
	{Skills, "Show skills commands"},
	{SkillsDisable, "Disable a skill"},
	{SkillsEnable, "Enable a skill"},
	{SkillsList, "List available skills"},
	{SkillsReload, "Reload available skills"},
	{SkillsStatus, "Show skills status"},
	{Subagents, "Show subagent commands"},
	{SubagentsList, "List available subagents"},
	{Thinking, "Change thinking effort for the current model"},
	{Usage, "Show token usage by model"},
	{ToolHistory, "Control tool output retention between turns (full|none)"},
	{Theme, "Change the UI theme"},
}

Functions

func IsKnownCommand

func IsKnownCommand(input string) bool

Types

type SlashCommand

type SlashCommand struct {
	Name        string
	Description string
}

func Filter

func Filter(input string) []SlashCommand

Jump to

Keyboard shortcuts

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