Skip to main content

Crate devscout_rs

Crate devscout_rs 

Source
Expand description

Library support for the devscout code-indexing CLI.

The parsing and extraction modules turn source files into fragments, the graph and resolution modules connect those fragments, and the query and rendering modules produce command results. The remaining modules locate repositories, persist artifacts, and implement CLI commands and hooks.

Modulesยง

cli
Command-line argument parsing and dispatch.
extract
C# and TypeScript declaration and reference extraction.
graph
Persisted graph and fragment data structures.
hookio
Agent-hook input processing.
initcmd
Repository initialization commands.
manifest
Manifest persistence, search, and index-freshness checks.
mapcmd
Repository mapping and incremental fragment-cache updates.
markup
XAML and XML markup declaration and reference extraction.
offsets
UTF-8 to UTF-16 source-offset conversion.
parse
Tree-sitter parsing and source-span collection.
query
Graph queries and their result models.
render
Text rendering for query results.
repo
Repository discovery and registry access.
resolve
Resolution of extracted C# fragments into a graph.
store
SQLite-backed hook freshness and content stores.
suggest
Symbol-name suggestions for unsuccessful queries.
tsgraph
Resolution of extracted TypeScript fragments into a graph.
walk
Source-tree walking and default file-purpose generation.