Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgentEntry ¶ added in v0.1.8
type AgentSource ¶ added in v0.1.8
type AgentSource interface {
ListAgents() []AgentEntry
}
type IndexStats ¶
type Token ¶
func FindActiveToken ¶
type WorkspaceFileIndex ¶
type WorkspaceFileIndex struct {
// contains filtered or unexported fields
}
func NewStaticWorkspaceFileIndex ¶
func NewStaticWorkspaceFileIndex(candidates []Candidate, maxFiles int, truncated bool) *WorkspaceFileIndex
func NewWorkspaceFileIndex ¶
func NewWorkspaceFileIndex(workspace string) *WorkspaceFileIndex
func (*WorkspaceFileIndex) Prewarm ¶
func (idx *WorkspaceFileIndex) Prewarm()
func (*WorkspaceFileIndex) Search ¶
func (idx *WorkspaceFileIndex) Search(query string, limit int) []Candidate
func (*WorkspaceFileIndex) SearchWithRecency ¶
func (*WorkspaceFileIndex) Stats ¶
func (idx *WorkspaceFileIndex) Stats() IndexStats
Click to show internal directories.
Click to hide internal directories.