Source Code Fetching with opensrc Fetches dependency source code so agents can read implementations, not just types. Clones repositories at the correct version tag and caches them globally at . Core Pattern prints the absolute path to cached source. If not cached, it fetches automatically. Progress goes to stderr, path to stdout, so works in subshells. Fetching Source Code Version Resolution For npm packages, opensrc auto-detects the installed version from lockfiles ( , , ). Use to resolve from a different project: For PyPI and crates.io, explicit versions or latest are used. For repos, use o…