Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRootCmd ¶ added in v0.3.0
GetRootCmd returns the root command for documentation generation
func SearchJSON ¶
SearchJSON returns results in JSON format for AI agents
func SetVersion ¶
func SetVersion(v string)
Types ¶
type SearchResultCompactJSON ¶ added in v0.10.0
type SearchResultCompactJSON struct {
FilePath string `json:"file_path"`
StartLine int `json:"start_line"`
EndLine int `json:"end_line"`
Score float32 `json:"score"`
FeaturePath string `json:"feature_path,omitempty"`
SymbolName string `json:"symbol_name,omitempty"`
}
SearchResultCompactJSON is a minimal struct for compact JSON output (no content field)
type SearchResultJSON ¶ added in v0.6.0
type SearchResultJSON struct {
FilePath string `json:"file_path"`
StartLine int `json:"start_line"`
EndLine int `json:"end_line"`
Score float32 `json:"score"`
Content string `json:"content"`
FeaturePath string `json:"feature_path,omitempty"`
SymbolName string `json:"symbol_name,omitempty"`
}
SearchResultJSON is a lightweight struct for JSON output (excludes vector, hash, updated_at)
type WorkspaceFileConfig ¶ added in v0.27.0
type WorkspaceFileConfig struct {
Store config.StoreConfig `yaml:"store" json:"store"`
Embedder config.EmbedderConfig `yaml:"embedder" json:"embedder"`
}
WorkspaceFileConfig is the struct for --from file input.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.