Expand description
Source repository management for AGPM resources.
Manages Git repositories containing Claude Code resources (agents, snippets, etc.) with local caching, authentication, and cross-platform support.
§Components
Source- Individual repository with metadataSourceManager- Manages multiple sources with sync/verify operations
§Configuration
Sources defined in agpm.toml (shared) or ~/.agpm/config.toml (user-specific with tokens).
Global sources loaded first, local overrides for customization.
§Features
- Remote (HTTPS/SSH) and local repositories support
- Efficient caching in
~/.agpm/cache/sources/{owner}_{repo} - Transparent authentication via embedded tokens in URLs
- Parallel sync operations with file-based locking
- Automatic cleanup and validation of invalid caches
Structs§
- Source
- Git repository source containing Claude Code resources.
- Source
Manager - Manages multiple source repositories with caching, synchronization, and verification.