Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AICLIDetector ¶
type AICLIDetector struct {
// contains filtered or unexported fields
}
AICLIDetector detects AI CLI tools.
func NewAICLIDetector ¶
func NewAICLIDetector(exec executor.Executor) *AICLIDetector
type AgentDetector ¶
type AgentDetector struct {
// contains filtered or unexported fields
}
AgentDetector detects general-purpose AI agents.
func NewAgentDetector ¶
func NewAgentDetector(exec executor.Executor) *AgentDetector
type ExtensionDetector ¶
type ExtensionDetector struct {
// contains filtered or unexported fields
}
ExtensionDetector collects IDE extensions.
func NewExtensionDetector ¶
func NewExtensionDetector(exec executor.Executor) *ExtensionDetector
type FrameworkDetector ¶
type FrameworkDetector struct {
// contains filtered or unexported fields
}
FrameworkDetector detects AI frameworks and runtimes.
func NewFrameworkDetector ¶
func NewFrameworkDetector(exec executor.Executor) *FrameworkDetector
type IDEDetector ¶
type IDEDetector struct {
// contains filtered or unexported fields
}
IDEDetector detects installed IDEs and AI desktop apps.
func NewIDEDetector ¶
func NewIDEDetector(exec executor.Executor) *IDEDetector
type MCPDetector ¶
type MCPDetector struct {
// contains filtered or unexported fields
}
MCPDetector collects MCP configuration files.
func NewMCPDetector ¶
func NewMCPDetector(exec executor.Executor) *MCPDetector
func (*MCPDetector) Detect ¶
func (d *MCPDetector) Detect(_ context.Context, userIdentity string, enterprise bool) []model.MCPConfig
Detect finds MCP configs. If enterprise is true, includes base64-encoded content. Returns community-mode MCPConfig structs (enterprise mode uses MCPConfigEnterprise separately).
func (*MCPDetector) DetectEnterprise ¶
func (d *MCPDetector) DetectEnterprise(_ context.Context) []model.MCPConfigEnterprise
DetectEnterprise returns enterprise-mode MCP configs with base64 content.
type NodePMDetector ¶
type NodePMDetector struct {
// contains filtered or unexported fields
}
NodePMDetector detects installed Node.js package managers.
func NewNodePMDetector ¶
func NewNodePMDetector(exec executor.Executor) *NodePMDetector
func (*NodePMDetector) DetectManagers ¶
func (d *NodePMDetector) DetectManagers(ctx context.Context) []model.PkgManager
type NodeProjectDetector ¶
type NodeProjectDetector struct {
// contains filtered or unexported fields
}
NodeProjectDetector scans for Node.js projects.
func NewNodeProjectDetector ¶
func NewNodeProjectDetector(exec executor.Executor) *NodeProjectDetector
func (*NodeProjectDetector) CountProjects ¶
func (d *NodeProjectDetector) CountProjects(_ context.Context, searchDirs []string) int
CountProjects counts the number of Node.js projects found under the given directories. It finds package.json files (excluding node_modules) up to a limit.
type NodeScanner ¶
type NodeScanner struct {
// contains filtered or unexported fields
}
NodeScanner performs enterprise-mode node scanning (raw output, base64 encoded).
func NewNodeScanner ¶
func NewNodeScanner(exec executor.Executor, log *progress.Logger) *NodeScanner
func (*NodeScanner) ScanGlobalPackages ¶
func (s *NodeScanner) ScanGlobalPackages(ctx context.Context) []model.NodeScanResult
ScanGlobalPackages runs npm/yarn/pnpm list -g and returns raw base64-encoded results.
func (*NodeScanner) ScanProjects ¶
func (s *NodeScanner) ScanProjects(ctx context.Context, searchDirs []string) []model.NodeScanResult
ScanProjects finds package.json files, sorts by most recently modified, then scans. Respects the size limit (default 500MB, override via STEPSEC_MAX_NODE_SCAN_BYTES).