Documentation
¶
Index ¶
- func AtIndexEntries(ctx context.Context, env ReplCompleteEnv) ([]atmention.Entry, error)
- func NewReplCompleter(env ReplCompleteEnv) readline.AutoCompleter
- func PathHighlightStatus(projRoot, rawToken string) (exists, isPrefix bool)
- func ReplCompleteDo(env ReplCompleteEnv, line []rune, pos int) ([][]rune, int)
- func ReplCompleteResetGoCacheForTest()
- func ReplCompletionDisabled() bool
- func SlashCommandKnown(env ReplCompleteEnv, name string) bool
- func SlashCommandNames(env ReplCompleteEnv) []string
- func SlashSuggest(env ReplCompleteEnv, buffer string, slashHistory []string) string
- func SlashSuggestAt(line []rune, col int, env ReplCompleteEnv, slashHistory []string) string
- func SuggestSuffixFromFull(buffer, full string) string
- type ReplCompleteEnv
- type SessionSource
- type SlashContext
- type SlashToken
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AtIndexEntries ¶ added in v2026.606.3
func NewReplCompleter ¶
func NewReplCompleter(env ReplCompleteEnv) readline.AutoCompleter
func PathHighlightStatus ¶ added in v2026.606.0
func ReplCompleteDo ¶
func ReplCompleteDo(env ReplCompleteEnv, line []rune, pos int) ([][]rune, int)
func ReplCompleteResetGoCacheForTest ¶
func ReplCompleteResetGoCacheForTest()
func ReplCompletionDisabled ¶
func ReplCompletionDisabled() bool
func SlashCommandKnown ¶ added in v2026.606.0
func SlashCommandKnown(env ReplCompleteEnv, name string) bool
func SlashCommandNames ¶ added in v2026.606.0
func SlashCommandNames(env ReplCompleteEnv) []string
func SlashSuggest ¶ added in v2026.606.0
func SlashSuggest(env ReplCompleteEnv, buffer string, slashHistory []string) string
func SlashSuggestAt ¶ added in v2026.624.0
func SlashSuggestAt(line []rune, col int, env ReplCompleteEnv, slashHistory []string) string
func SuggestSuffixFromFull ¶ added in v2026.606.0
Types ¶
type ReplCompleteEnv ¶
type ReplCompleteEnv struct {
Cfg *config.Root
ProjHex string
ProjRoot string
ReplShellFirst bool
Session func() *chatstore.Session
}
func EnvFrom ¶
func EnvFrom(src SessionSource) ReplCompleteEnv
type SessionSource ¶
type SlashContext ¶ added in v2026.624.0
func SlashContextAt ¶ added in v2026.624.0
func SlashContextAt(line []rune, col int) (SlashContext, bool)
type SlashToken ¶ added in v2026.624.0
func SlashTokensInLine ¶ added in v2026.624.0
func SlashTokensInLine(line []rune) []SlashToken
Click to show internal directories.
Click to hide internal directories.