Documentation
¶
Index ¶
Constants ¶
View Source
const ( Adversary = "/adversary" AdversaryModel = "/adversary model" Btw = "/btw" Clear = "/clear" Compact = "/compact" Context = "/context" Cleanup = "/cleanup" EmptyQueue = "/emptyq" Exit = "/exit" Help = "/help" Logout = "/logout" Memory = "/memory" MemoryShow = "/memory show" Model = "/model" 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" )
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"}, {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 stored in ~/.keen/configs.json"}, {Mode, "Switch agent mode (plan|build)"}, {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"}, }
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"}, {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 stored in ~/.keen/configs.json"}, {Mode, "Switch agent mode (plan|build)"}, {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"}, }
Functions ¶
func IsKnownCommand ¶
Types ¶
type SlashCommand ¶
func Filter ¶
func Filter(input string) []SlashCommand
Click to show internal directories.
Click to hide internal directories.