cmd/ |
Cobra command wiring, flags, and CLI-facing behavior |
pkg/config/ |
Config loading, XDG paths, environment expansion, and install-target defaults |
pkg/discovery/ |
Resource discovery across local and cloned repositories |
pkg/repo/ |
Central repository mutations and lookups |
pkg/repomanifest/ |
ai.repo.yaml load/save and source-definition helpers |
pkg/source/ |
Source parsing, GitHub/local URL handling, and source-level helpers |
pkg/sourcemetadata/ |
Persisted source sync state and source metadata tracking |
pkg/workspace/ |
Cached Git workspaces and clone/update performance |
pkg/install/ |
Project install, uninstall, and symlink/copy behavior |
pkg/manifest/ |
Project manifest parsing for ai.package.yaml and overlays |
pkg/metadata/ |
Resource metadata helpers for repo-managed state |
pkg/pattern/ |
Pattern parsing and compiled glob matching for resource selection |
pkg/tools/ |
Tool-specific target directories and install conventions |
pkg/resource/ |
Resource loaders, validation, and shared resource model |
pkg/repolock/ |
Repo-level lock acquisition, timeout behavior, and shared/exclusive semantics |
pkg/fileutil/ |
Atomic file writes and low-level filesystem helpers used by repo state updates |
pkg/errors/ |
Typed error categories and shared error helpers |
pkg/logging/ |
Structured logging setup and log writer helpers |
pkg/marketplace/ |
Marketplace discovery, parsing, and generation helpers |
pkg/frontmatter/ |
Frontmatter parsing helpers shared by resource loaders |
pkg/giturl/ |
Git URL normalization helpers |
pkg/modifications/ |
Change tracking helpers for install/repair flows |
pkg/output/ |
Table/JSON/YAML output formatting |
pkg/version/ |
Build-time version metadata exposed by the CLI |
test/ |
Integration coverage against real repo and CLI workflows |
test/e2e/ |
Full binary end-to-end coverage behind the e2e build tag |
docs/ |
Canonical project docs and contributor guidance |
scripts/ |
Install/bootstrap helper scripts validated in CI |
.github/workflows/ |
CI and release automation |
examples/ |
Sample resources and example layouts used in docs/tests |