Skip to content

Type and document Adaptive Stealth Mode (mode=auto) - #25

Merged
AnderRV merged 2 commits into
mainfrom
feat/adaptive-stealth-mode
Aug 21, 2026
Merged

Type and document Adaptive Stealth Mode (mode=auto)#25
AnderRV merged 2 commits into
mainfrom
feat/adaptive-stealth-mode

Conversation

@AnderRV

@AnderRV AnderRV commented Aug 20, 2026

Copy link
Copy Markdown
Member

Summary

`mode: "auto"` already worked today via `ZenRowsConfig`'s index signature (`[x: string]: unknown`) — this just gives it a typed field for IDE discoverability/autocomplete, plus a README section. Zenrows starts with the cheapest viable request configuration and escalates to `js_render`/`premium_proxy` only when the target needs it, billing only for what succeeds.

Independent of #24 (Fetch/Extract/Batch) — branched off current `main`, not `act-1546/repositioning`.

Test plan

  • `pnpm run build` — clean
  • `pnpm exec vitest run` — 13/13 pass
  • `pnpm run check` (biome) — clean
  • Live-API check: `client.get(url, { mode: "auto" })` against the real endpoint — 200, works as documented

mode: "auto" already worked via ZenRowsConfig's index signature - this
just gives it a typed field for discoverability/autocomplete, plus a
README section. ZenRows starts with the cheapest viable request
configuration and escalates to js_render/premium_proxy only when the
target needs it, billing only for what succeeds.

Verified live against the real API.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DTXXBERPGEnYiYP4Mt3FjF
@AnderRV AnderRV self-assigned this Aug 20, 2026
@AnderRV
AnderRV merged commit 00c75a4 into main Aug 21, 2026
1 check passed
@AnderRV
AnderRV deleted the feat/adaptive-stealth-mode branch August 21, 2026 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant