diff --git a/.ruler/AGENTS.md b/.ruler/AGENTS.md index c0b18c5..96d0c25 100644 --- a/.ruler/AGENTS.md +++ b/.ruler/AGENTS.md @@ -45,3 +45,4 @@ - `bunfig.toml` points test root at `./do-not-run-tests-from-root`; pass package test paths explicitly. - Root `build` cleans `dist`, then Turbo emits bundles for API and MCP. - `scripts/start.sh` launches `dist/api/index.js` and `dist/mcp/index.js`. +- Package `tsconfig.json` files override root `include`; shared ambient declarations under root `types/` must be included from each package that typechecks cross-package source. diff --git a/packages/core/.ruler/AGENTS.md b/packages/core/.ruler/AGENTS.md index 41544f6..c7aa240 100644 --- a/packages/core/.ruler/AGENTS.md +++ b/packages/core/.ruler/AGENTS.md @@ -18,6 +18,7 @@ - Isolate marketplace-specific hacks/selectors inside the owning scraper file unless they are genuinely shared. - If a new helper is scraper-local, keep it local. Do not promote it into `utils` early. - If you change shared types or exports, check downstream imports in both adapter packages. +- eBay SplashUI challenge handling needs raw `fetch` for manual redirects and `getSetCookie()`; use `fetchHtml` only once the flow only needs final HTML. ## Tests