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§
- Pattern
Expansion Service - 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.