Module pattern_expander

Module pattern_expander 

Source
Expand description

Pattern expansion for AGPM dependencies.

This module handles expansion of glob patterns to concrete file paths, converting pattern dependencies (like “agents/*.md”) into individual file dependencies. It supports both local and remote pattern resolution with proper path handling, dependency naming, and locked resource generation.

Structs§

PatternExpansionService
Service for pattern expansion and resolution.

Functions§

expand_pattern_to_concrete_deps
Expands a pattern dependency into concrete dependencies.
generate_dependency_name
Generates a dependency name from a path using source context. Creates collision-resistant names by preserving directory structure relative to source.