diff --git a/.gitignore b/.gitignore index ead5d14..a9e1453 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,5 @@ opensrc/ # aria snapshots playwriter/src/aria-snapshots/ playwriter/src/snapshots/ +playwriter/src/__snapshots__/ax-debug/ +gmail-oauth/ diff --git a/AGENTS.md b/AGENTS.md index 76afa13..4e26d3b 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -610,3 +610,26 @@ const jsonSchema = toJSONSchema(mySchema, { ``` github.md + + + +## Source Code Reference + +Source code for dependencies is available in `opensrc/` for deeper understanding of implementation details. + +See `opensrc/sources.json` for the list of available packages and their versions. + +Use this source code when you need to understand how a package works internally, not just its types/interface. + +### Fetching Additional Source Code + +To fetch source code for a package or repository you need to understand, run: + +```bash +npx opensrc # npm package (e.g., npx opensrc zod) +npx opensrc pypi: # Python package (e.g., npx opensrc pypi:requests) +npx opensrc crates: # Rust crate (e.g., npx opensrc crates:serde) +npx opensrc / # GitHub repo (e.g., npx opensrc vercel/ai) +``` + + \ No newline at end of file