Documentation
¶
Index ¶
- Constants
- func AskPromptFromSlash(line string) (string, bool)
- func CommandsHelp() string
- func ExpandUniqueSlashPrefix(line, help string, localCommands ...string) string
- func IsOpenCommandLine(line string) bool
- func LooksLikeSlashCommand(line string) bool
- func NewSessionID(now time.Time) string
- func ParseSlashCommands(help string) []string
- func PlanPromptFromSlash(line string) (string, bool)
- func ReviewPromptFromArgs(args string) (string, error)
- func ReviewShellAllowPrefixesFromArgs(args string) ([]string, error)
- func SlashCommandNames(localCommands ...string) []string
- type Result
- type SlashCommandOption
- type SlashCommandSpec
- type SubmitClass
- type SubmitClassification
Constants ¶
View Source
const ( SubmitText = runtimecommands.SubmitText SubmitLocalReadOnly = runtimecommands.SubmitLocalReadOnly SubmitLocalUI = runtimecommands.SubmitLocalUI SubmitLocalMode = runtimecommands.SubmitLocalMode SubmitLocalMutating = runtimecommands.SubmitLocalMutating SubmitExit = runtimecommands.SubmitExit SubmitTurnStarting = runtimecommands.SubmitTurnStarting SubmitUsageError = runtimecommands.SubmitUsageError )
Variables ¶
This section is empty.
Functions ¶
func AskPromptFromSlash ¶
func CommandsHelp ¶
func CommandsHelp() string
func ExpandUniqueSlashPrefix ¶
func IsOpenCommandLine ¶
func LooksLikeSlashCommand ¶
func NewSessionID ¶
func ParseSlashCommands ¶
func PlanPromptFromSlash ¶
func ReviewPromptFromArgs ¶
func SlashCommandNames ¶
Types ¶
type Result ¶
type SlashCommandOption ¶
type SlashCommandOption = runtimecommands.SlashCommandOption
type SlashCommandSpec ¶
type SlashCommandSpec = runtimecommands.SlashCommandSpec
func DefaultSlashCommands ¶
func DefaultSlashCommands() []SlashCommandSpec
type SubmitClass ¶
type SubmitClass = runtimecommands.SubmitClass
type SubmitClassification ¶
type SubmitClassification = runtimecommands.SubmitClassification
func ClassifySubmit ¶
func ClassifySubmit(line, help string, localCommands ...string) SubmitClassification
Click to show internal directories.
Click to hide internal directories.