diff --git a/AGENTS.md b/AGENTS.md index 0b56428..a6cdf9c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -700,3 +700,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 diff --git a/playwriter/CHANGELOG.md b/playwriter/CHANGELOG.md index 616d6f8..3a4145c 100644 --- a/playwriter/CHANGELOG.md +++ b/playwriter/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## 0.0.62 + +### Features + +- **Remote access support**: `PLAYWRITER_HOST` now accepts full URLs (e.g., `https://x-tunnel.traforo.dev`) in addition to plain hostnames, enabling secure remote browser access through tunnels like traforo +- **WebSocket over HTTPS**: Automatically uses `wss://` protocol when connecting to HTTPS relay hosts +- **Remote access documentation**: Added comprehensive guide covering architecture, setup, use cases, and security model for remote Playwriter access + +### Internal + +- **Centralized host parsing**: New `parseRelayHost()` utility handles URL/hostname detection and returns correct HTTP/WebSocket base URLs + ## 0.0.61 ### Improvements diff --git a/playwriter/package.json b/playwriter/package.json index 8061510..b4de21f 100644 --- a/playwriter/package.json +++ b/playwriter/package.json @@ -1,7 +1,7 @@ { "name": "playwriter", "description": "", - "version": "0.0.61", + "version": "0.0.62", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts",