Expand description
Discovery helpers and types exposed through the engine boundary.
Structs§
- Analysis
Discovery - Reusable engine discovery prelude for one resolved project.
- Categorized
Entry Points - Entry points grouped by reachability role.
- Discovered
File - A discovered source file on disk.
- Entry
Point - An entry point into the module graph.
- FileId
- Compact file identifier.
- Hidden
DirScope - Package-scoped hidden directories that source discovery should traverse.
Enums§
- Entry
Point Source - Where an entry point was discovered from.
Constants§
- PRODUCTION_
EXCLUDE_ PATTERNS - Glob patterns for test/dev/story files excluded in production mode.
- SOURCE_
EXTENSIONS
Functions§
- collect_
hidden_ dir_ scopes - Collect plugin and script-derived hidden directory scopes.
- collect_
plugin_ hidden_ dir_ scopes - Collect plugin-derived hidden directory scopes.
- discover_
entry_ points - Discover configured and inferred entry points.
- discover_
files_ and_ config_ candidates - Discover source files and non-source config candidates in one traversal.
- discover_
plugin_ entry_ points - Discover entry points from plugin results.
- discover_
workspace_ entry_ points - Discover entry points for a workspace package.
- discover_
workspace_ packages - Discover workspace packages through the engine boundary.
- discover_
workspace_ packages_ with_ diagnostics - Discover workspace packages and diagnostics through the engine boundary.
- is_
allowed_ hidden_ dir - Check if a hidden directory name is on the discovery allowlist.
- prepare_
analysis_ discovery - Run engine-owned workspace and source discovery for a resolved project.
- prepare_
analysis_ discovery_ with_ workspaces - Run source discovery with workspace metadata already resolved by config load.