stealthhttp 0.3.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. stealthhttp-0.3.0/.cargo/config.toml +9 -0
  2. stealthhttp-0.3.0/.github/workflows/release.yml +84 -0
  3. stealthhttp-0.3.0/.gitignore +27 -0
  4. stealthhttp-0.3.0/CHANGELOG.md +94 -0
  5. stealthhttp-0.3.0/Cargo.lock +1076 -0
  6. stealthhttp-0.3.0/Cargo.toml +68 -0
  7. stealthhttp-0.3.0/LICENSE +21 -0
  8. stealthhttp-0.3.0/PKG-INFO +531 -0
  9. stealthhttp-0.3.0/README.md +503 -0
  10. stealthhttp-0.3.0/benchmarks/bench.py +333 -0
  11. stealthhttp-0.3.0/benchmarks/bench_native.py +199 -0
  12. stealthhttp-0.3.0/examples/basic.py +74 -0
  13. stealthhttp-0.3.0/pyproject.toml +48 -0
  14. stealthhttp-0.3.0/python/stealthhttp/__init__.py +443 -0
  15. stealthhttp-0.3.0/python/stealthhttp/_fallback.py +490 -0
  16. stealthhttp-0.3.0/python/stealthhttp/_loader.py +35 -0
  17. stealthhttp-0.3.0/python/stealthhttp/_rotation.py +65 -0
  18. stealthhttp-0.3.0/python/stealthhttp/ambient.py +429 -0
  19. stealthhttp-0.3.0/python/stealthhttp/antidetect.py +130 -0
  20. stealthhttp-0.3.0/python/stealthhttp/async_session.py +195 -0
  21. stealthhttp-0.3.0/python/stealthhttp/auto_bypass.py +147 -0
  22. stealthhttp-0.3.0/python/stealthhttp/auto_profile.py +257 -0
  23. stealthhttp-0.3.0/python/stealthhttp/backends/__init__.py +64 -0
  24. stealthhttp-0.3.0/python/stealthhttp/backends/base.py +107 -0
  25. stealthhttp-0.3.0/python/stealthhttp/backends/curl_backend.py +215 -0
  26. stealthhttp-0.3.0/python/stealthhttp/backends/native_backend.py +235 -0
  27. stealthhttp-0.3.0/python/stealthhttp/backends/wreq_backend.py +304 -0
  28. stealthhttp-0.3.0/python/stealthhttp/behavior.py +392 -0
  29. stealthhttp-0.3.0/python/stealthhttp/browser_cookies.py +386 -0
  30. stealthhttp-0.3.0/python/stealthhttp/browser_pool.py +150 -0
  31. stealthhttp-0.3.0/python/stealthhttp/browsing.py +213 -0
  32. stealthhttp-0.3.0/python/stealthhttp/bypasses/__init__.py +366 -0
  33. stealthhttp-0.3.0/python/stealthhttp/bypasses/akamai.py +213 -0
  34. stealthhttp-0.3.0/python/stealthhttp/bypasses/captcha.py +472 -0
  35. stealthhttp-0.3.0/python/stealthhttp/bypasses/cloudflare.py +201 -0
  36. stealthhttp-0.3.0/python/stealthhttp/bypasses/datadome.py +166 -0
  37. stealthhttp-0.3.0/python/stealthhttp/bypasses/flow.py +316 -0
  38. stealthhttp-0.3.0/python/stealthhttp/bypasses/imperva.py +192 -0
  39. stealthhttp-0.3.0/python/stealthhttp/bypasses/kasada.py +176 -0
  40. stealthhttp-0.3.0/python/stealthhttp/bypasses/perimeterx.py +195 -0
  41. stealthhttp-0.3.0/python/stealthhttp/bypasses/shape.py +142 -0
  42. stealthhttp-0.3.0/python/stealthhttp/bypasses/solver.py +257 -0
  43. stealthhttp-0.3.0/python/stealthhttp/capabilities.py +344 -0
  44. stealthhttp-0.3.0/python/stealthhttp/captcha.py +329 -0
  45. stealthhttp-0.3.0/python/stealthhttp/captcha_farm.py +178 -0
  46. stealthhttp-0.3.0/python/stealthhttp/cdp_solver.py +499 -0
  47. stealthhttp-0.3.0/python/stealthhttp/challenge.py +215 -0
  48. stealthhttp-0.3.0/python/stealthhttp/clienthints.py +204 -0
  49. stealthhttp-0.3.0/python/stealthhttp/collectors/__init__.py +29 -0
  50. stealthhttp-0.3.0/python/stealthhttp/collectors/akamai.py +211 -0
  51. stealthhttp-0.3.0/python/stealthhttp/collectors/datadome.py +151 -0
  52. stealthhttp-0.3.0/python/stealthhttp/collectors/imperva.py +153 -0
  53. stealthhttp-0.3.0/python/stealthhttp/collectors/kasada.py +139 -0
  54. stealthhttp-0.3.0/python/stealthhttp/collectors/perimeterx.py +156 -0
  55. stealthhttp-0.3.0/python/stealthhttp/collectors/shape.py +133 -0
  56. stealthhttp-0.3.0/python/stealthhttp/consistency.py +413 -0
  57. stealthhttp-0.3.0/python/stealthhttp/cookies.py +269 -0
  58. stealthhttp-0.3.0/python/stealthhttp/detection.py +499 -0
  59. stealthhttp-0.3.0/python/stealthhttp/device_db.py +270 -0
  60. stealthhttp-0.3.0/python/stealthhttp/dns_intel.py +305 -0
  61. stealthhttp-0.3.0/python/stealthhttp/doh.py +228 -0
  62. stealthhttp-0.3.0/python/stealthhttp/error_analysis.py +295 -0
  63. stealthhttp-0.3.0/python/stealthhttp/exceptions.py +64 -0
  64. stealthhttp-0.3.0/python/stealthhttp/fingerprint_diff.py +126 -0
  65. stealthhttp-0.3.0/python/stealthhttp/forms.py +265 -0
  66. stealthhttp-0.3.0/python/stealthhttp/geo.py +214 -0
  67. stealthhttp-0.3.0/python/stealthhttp/graphql.py +172 -0
  68. stealthhttp-0.3.0/python/stealthhttp/h2_frames.py +258 -0
  69. stealthhttp-0.3.0/python/stealthhttp/har.py +147 -0
  70. stealthhttp-0.3.0/python/stealthhttp/header_canon.py +271 -0
  71. stealthhttp-0.3.0/python/stealthhttp/health_monitor.py +424 -0
  72. stealthhttp-0.3.0/python/stealthhttp/hooks.py +121 -0
  73. stealthhttp-0.3.0/python/stealthhttp/hsts.py +161 -0
  74. stealthhttp-0.3.0/python/stealthhttp/httpcache.py +159 -0
  75. stealthhttp-0.3.0/python/stealthhttp/humanize.py +247 -0
  76. stealthhttp-0.3.0/python/stealthhttp/identity.py +315 -0
  77. stealthhttp-0.3.0/python/stealthhttp/js_sandbox.py +494 -0
  78. stealthhttp-0.3.0/python/stealthhttp/jsdb.py +268 -0
  79. stealthhttp-0.3.0/python/stealthhttp/jsenv.py +391 -0
  80. stealthhttp-0.3.0/python/stealthhttp/lifecycle.py +225 -0
  81. stealthhttp-0.3.0/python/stealthhttp/lint.py +138 -0
  82. stealthhttp-0.3.0/python/stealthhttp/middleware.py +396 -0
  83. stealthhttp-0.3.0/python/stealthhttp/multipart.py +136 -0
  84. stealthhttp-0.3.0/python/stealthhttp/parsing.py +239 -0
  85. stealthhttp-0.3.0/python/stealthhttp/pow.py +175 -0
  86. stealthhttp-0.3.0/python/stealthhttp/prepare.py +146 -0
  87. stealthhttp-0.3.0/python/stealthhttp/proxy.py +358 -0
  88. stealthhttp-0.3.0/python/stealthhttp/proxy_scoring.py +357 -0
  89. stealthhttp-0.3.0/python/stealthhttp/record_replay.py +297 -0
  90. stealthhttp-0.3.0/python/stealthhttp/redirect_intel.py +314 -0
  91. stealthhttp-0.3.0/python/stealthhttp/request_graph.py +498 -0
  92. stealthhttp-0.3.0/python/stealthhttp/response.py +188 -0
  93. stealthhttp-0.3.0/python/stealthhttp/response_decoder.py +234 -0
  94. stealthhttp-0.3.0/python/stealthhttp/response_intel.py +396 -0
  95. stealthhttp-0.3.0/python/stealthhttp/retry.py +156 -0
  96. stealthhttp-0.3.0/python/stealthhttp/rotation.py +254 -0
  97. stealthhttp-0.3.0/python/stealthhttp/selfcheck.py +200 -0
  98. stealthhttp-0.3.0/python/stealthhttp/sensors.py +459 -0
  99. stealthhttp-0.3.0/python/stealthhttp/session.py +487 -0
  100. stealthhttp-0.3.0/python/stealthhttp/session_coord.py +374 -0
  101. stealthhttp-0.3.0/python/stealthhttp/session_ext.py +376 -0
  102. stealthhttp-0.3.0/python/stealthhttp/site_recipes.py +341 -0
  103. stealthhttp-0.3.0/python/stealthhttp/smart_proxy.py +233 -0
  104. stealthhttp-0.3.0/python/stealthhttp/solving/__init__.py +149 -0
  105. stealthhttp-0.3.0/python/stealthhttp/solving/audio.py +339 -0
  106. stealthhttp-0.3.0/python/stealthhttp/solving/base.py +209 -0
  107. stealthhttp-0.3.0/python/stealthhttp/solving/browser.py +198 -0
  108. stealthhttp-0.3.0/python/stealthhttp/solving/local.py +423 -0
  109. stealthhttp-0.3.0/python/stealthhttp/solving/orchestrator.py +216 -0
  110. stealthhttp-0.3.0/python/stealthhttp/solving/providers.py +270 -0
  111. stealthhttp-0.3.0/python/stealthhttp/solving/vision.py +314 -0
  112. stealthhttp-0.3.0/python/stealthhttp/stealth_audit.py +472 -0
  113. stealthhttp-0.3.0/python/stealthhttp/strategy.py +495 -0
  114. stealthhttp-0.3.0/python/stealthhttp/tcp_tuning.py +271 -0
  115. stealthhttp-0.3.0/python/stealthhttp/tests/test_cdp_solver.py +419 -0
  116. stealthhttp-0.3.0/python/stealthhttp/tests/test_features_v3.py +497 -0
  117. stealthhttp-0.3.0/python/stealthhttp/tests/test_features_v3_live.py +202 -0
  118. stealthhttp-0.3.0/python/stealthhttp/tests/test_v030_features.py +510 -0
  119. stealthhttp-0.3.0/python/stealthhttp/tls_ext.py +168 -0
  120. stealthhttp-0.3.0/python/stealthhttp/tls_intel.py +431 -0
  121. stealthhttp-0.3.0/python/stealthhttp/tls_session.py +387 -0
  122. stealthhttp-0.3.0/python/stealthhttp/traffic.py +389 -0
  123. stealthhttp-0.3.0/python/stealthhttp/websocket.py +353 -0
  124. stealthhttp-0.3.0/src/fingerprint/headers.rs +249 -0
  125. stealthhttp-0.3.0/src/fingerprint/ja3.rs +66 -0
  126. stealthhttp-0.3.0/src/fingerprint/ja4.rs +107 -0
  127. stealthhttp-0.3.0/src/fingerprint/mod.rs +13 -0
  128. stealthhttp-0.3.0/src/fingerprint/profile.rs +336 -0
  129. stealthhttp-0.3.0/src/lib.rs +471 -0
  130. stealthhttp-0.3.0/src/proxypool.rs +221 -0
  131. stealthhttp-0.3.0/src/rotation.rs +144 -0
  132. stealthhttp-0.3.0/src/transport/decode.rs +160 -0
  133. stealthhttp-0.3.0/src/transport/engine.rs +730 -0
  134. stealthhttp-0.3.0/src/transport/mod.rs +5 -0
  135. stealthhttp-0.3.0/src/transport/tls.rs +298 -0
  136. stealthhttp-0.3.0/tests/conftest.py +62 -0
  137. stealthhttp-0.3.0/tests/test_audio.py +291 -0
  138. stealthhttp-0.3.0/tests/test_bypass.py +252 -0
  139. stealthhttp-0.3.0/tests/test_bypasses.py +618 -0
  140. stealthhttp-0.3.0/tests/test_bypasses_live.py +276 -0
  141. stealthhttp-0.3.0/tests/test_emulation.py +573 -0
  142. stealthhttp-0.3.0/tests/test_features_v2.py +440 -0
  143. stealthhttp-0.3.0/tests/test_features_v2_live.py +173 -0
  144. stealthhttp-0.3.0/tests/test_fingerprint.py +204 -0
  145. stealthhttp-0.3.0/tests/test_humanize.py +195 -0
  146. stealthhttp-0.3.0/tests/test_jsemu.py +644 -0
  147. stealthhttp-0.3.0/tests/test_jsemu_live.py +182 -0
  148. stealthhttp-0.3.0/tests/test_live_bypass.py +101 -0
  149. stealthhttp-0.3.0/tests/test_live_detection.py +190 -0
  150. stealthhttp-0.3.0/tests/test_new_features.py +364 -0
  151. stealthhttp-0.3.0/tests/test_policies.py +300 -0
  152. stealthhttp-0.3.0/tests/test_routing.py +308 -0
  153. stealthhttp-0.3.0/tests/test_session.py +341 -0
  154. stealthhttp-0.3.0/tests/test_solving.py +370 -0
  155. stealthhttp-0.3.0/tests/test_vision.py +161 -0
@@ -0,0 +1,9 @@
1
+ # PyO3 extension modules leave Python symbols undefined at link time; macOS
2
+ # needs to be told that is intentional, or `cargo build` fails with
3
+ # "Undefined symbols: _PyBaseObject_Type ...". maturin passes these itself, so
4
+ # this file is only for direct cargo builds.
5
+ [target.aarch64-apple-darwin]
6
+ rustflags = ["-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup"]
7
+
8
+ [target.x86_64-apple-darwin]
9
+ rustflags = ["-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup"]
@@ -0,0 +1,84 @@
1
+ name: Build & Publish to PyPI
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+ workflow_dispatch:
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ build-sdist:
13
+ name: Source distribution
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - uses: actions/setup-python@v5
18
+ with:
19
+ python-version: "3.12"
20
+ - run: pip install maturin
21
+ - run: maturin sdist --out dist
22
+ - uses: actions/upload-artifact@v4
23
+ with:
24
+ name: sdist
25
+ path: dist/*.tar.gz
26
+
27
+ build-wheels:
28
+ name: Wheel ${{ matrix.target }} / ${{ matrix.os }}
29
+ runs-on: ${{ matrix.os }}
30
+ strategy:
31
+ fail-fast: false
32
+ matrix:
33
+ include:
34
+ - os: ubuntu-latest
35
+ target: x86_64
36
+ manylinux: manylinux_2_28
37
+ - os: macos-14
38
+ target: aarch64
39
+ - os: windows-latest
40
+ target: x86_64
41
+ steps:
42
+ - uses: actions/checkout@v4
43
+ - uses: actions/setup-python@v5
44
+ with:
45
+ python-version: "3.12"
46
+
47
+ - name: Build wheels
48
+ uses: PyO3/maturin-action@v1
49
+ with:
50
+ target: ${{ matrix.target }}
51
+ args: --release --out dist
52
+ manylinux: ${{ matrix.manylinux || 'auto' }}
53
+ before-script-linux: |
54
+ if command -v dnf &>/dev/null; then
55
+ dnf install -y cmake perl-IPC-Cmd golang clang-devel llvm-devel
56
+ elif command -v yum &>/dev/null; then
57
+ yum install -y cmake3 perl-IPC-Cmd golang llvm-toolset-7-clang-devel 2>/dev/null || yum install -y cmake perl-IPC-Cmd clang-devel llvm-devel
58
+ ln -sf cmake3 /usr/bin/cmake 2>/dev/null || true
59
+ source /opt/rh/llvm-toolset-7/enable 2>/dev/null || true
60
+ elif command -v apt-get &>/dev/null; then
61
+ apt-get update && apt-get install -y cmake golang clang libclang-dev
62
+ fi
63
+ export LIBCLANG_PATH=$(find /usr /opt -name 'libclang.so*' 2>/dev/null | head -1 | xargs dirname)
64
+
65
+ - uses: actions/upload-artifact@v4
66
+ with:
67
+ name: wheel-${{ matrix.os }}-${{ matrix.target }}
68
+ path: dist/*.whl
69
+
70
+ publish:
71
+ name: Publish to PyPI
72
+ needs: [build-sdist, build-wheels]
73
+ runs-on: ubuntu-latest
74
+ environment: pypi
75
+ permissions:
76
+ id-token: write
77
+ steps:
78
+ - uses: actions/download-artifact@v4
79
+ with:
80
+ path: dist
81
+ merge-multiple: true
82
+
83
+ - name: Publish to PyPI
84
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,27 @@
1
+ /target
2
+ **/*.rs.bk
3
+ Cargo.lock
4
+
5
+ __pycache__/
6
+ *.py[cod]
7
+ *.so
8
+ *.pyd
9
+ .pytest_cache/
10
+ .mypy_cache/
11
+ .ruff_cache/
12
+ *.egg-info/
13
+ build/
14
+ dist/
15
+ wheels/
16
+
17
+ .venv/
18
+ venv/
19
+ .env
20
+ .DS_Store
21
+ .idea/
22
+ .vscode/
23
+
24
+ # ruflo/claude-flow local state
25
+ .claude-flow/
26
+ .swarm/
27
+ .claude/
@@ -0,0 +1,94 @@
1
+ # Changelog
2
+
3
+ ## [0.3.0] - 2026-08-05
4
+
5
+ ### Added — Killer Features
6
+
7
+ - **auto_bypass** — AutoSession with transparent anti-bot bypass on every request (detect → HTTP bypass → CDP captcha solve → proxy rotate → retry)
8
+ - **site_recipes** — pre-built SiteRecipe configs for 24 protected sites (Zillow/PX, Amazon/Shape, LinkedIn/Akamai, etc.), one-line apply_recipe()
9
+ - **forms** — FormExtractor for HTML form detection, CSRF token extraction, auto-fill and submit
10
+ - **graphql** — GraphQLClient with query/mutate/batch/persisted queries (APQ) and introspection
11
+ - **smart_proxy** — SmartProxyPool with UCB1 scoring per-site, ban tracking with cooldown, automatic rotation
12
+ - **browser_pool** — BrowserPool for parallel CDP solving (acquire/release, solve_many with ThreadPoolExecutor)
13
+ - **record_replay** — SessionRecorder/SessionReplayer for recording and replaying HTTP sessions (HAR 1.2 export)
14
+ - **captcha_farm** — CaptchaFarm orchestrator with adaptive strategy ordering (CDP → audio → OCR → math)
15
+ - **cdp_solver** enhancements: screenshot() for debug, inject_cookies() for bidirectional Session↔Chrome cookie sync, auto-screenshot on solve failure
16
+
17
+ ## [0.2.2] - 2026-08-05
18
+
19
+ ### Added
20
+
21
+ - **cdp_solver** — self-contained interactive challenge solver via system Chrome CDP. No Playwright, no Selenium, no external captcha services. Solves:
22
+ - PerimeterX Press & Hold captcha (mouse simulation with Bezier curves, micro-jitter, natural hold timing)
23
+ - Cloudflare Turnstile interactive widget (checkbox click)
24
+ - DataDome slider captcha (drag simulation)
25
+ - hCaptcha checkbox mode (click simulation)
26
+ - `StealthBrowser` — context-manager class: launches system Chrome headless, applies stealth patches (navigator.webdriver, chrome object, plugins, permissions), solves challenges, returns cookies
27
+ - `CdpSession` — minimal CDP WebSocket client with event buffering (zero external dependencies)
28
+ - `find_chrome()` — cross-platform Chrome/Chromium/Edge/Brave binary discovery (macOS, Linux, Windows)
29
+ - Stealth patches: webdriver=false, chrome runtime object, plugins array, languages, permissions API override
30
+ - Challenge auto-detection: PX, Turnstile, CF managed, DataDome, hCaptcha via DOM query
31
+ - Mouse simulation: natural Bezier curves (ease-in-out), Gaussian micro-jitter during press-and-hold, Fitts's law timing
32
+ - Bypass engine integration: `_try_cdp_solver()` fallback — when HTTP-based bypass fails on interactive captcha, automatically escalates to Chrome CDP
33
+
34
+ ### Changed
35
+
36
+ - **BypassEngine._try_fallback()** now attempts CDP solver for any vendor with `has_captcha` or `has_interstitial`
37
+ - Updated bypass engine docstring: interactive challenges now listed as solvable
38
+
39
+ ### Stats
40
+
41
+ - 211 public exports, 91 tests (66 unit + 25 CDP) all passing
42
+ - cdp_solver.py: 466 lines, zero external dependencies
43
+
44
+ ## [0.2.1] - 2026-08-05
45
+
46
+ ### Added
47
+
48
+ - **CorsPreflight** middleware — automatic OPTIONS preflight before cross-origin POST/PUT/DELETE with non-simple content types or custom headers, with 5-minute result caching (feature #8 of 30)
49
+ - **CacheRevalidator** middleware — injects If-None-Match/If-Modified-Since on repeat visits, reconstructs full response from stored body on 304, LRU eviction at 256 entries (feature #10 of 30)
50
+ - 11 new unit tests (CORS preflight: 7, cache revalidator: 4)
51
+ - 3 new live integration tests (cache validator injection, CORS preflight send, full pipeline)
52
+
53
+ ### Stats
54
+
55
+ - 30/30 planned features implemented
56
+ - 207 public exports, 66 unit tests + 14 live tests passing
57
+
58
+ ## [0.2.0] - 2026-08-05
59
+
60
+ ### New modules (15)
61
+
62
+ - **stealth_audit** — StealthScore (0-100 with TLS/HTTP/TCP/JS/timing/behavioral breakdown), ProfileDiff for side-by-side profile comparison, quick_audit for one-line scoring
63
+ - **auto_profile** — AutoProfileSelector (WAF/country/history-based profile selection), ProfileRotationPolicy with failure tracking and cooldown
64
+ - **header_canon** — HeaderCanonicalizer with exact Chrome/Firefox/Safari/Edge header order and casing, PseudoHeaderOrder for HTTP/2 pseudo-header ordering
65
+ - **tls_intel** — CertAnalyzer (CDN detection from certificate details), ServerFingerprint (server-side TLS fingerprinting), MitmDetector (MITM proxy detection from certificate anomalies)
66
+ - **response_intel** — BodyIntelligence (fingerprinting JS detection, tracking pixels, data collectors), CookieClassifier (vendor identification: Akamai, DataDome, Cloudflare, etc.), PatternDetector (antibot pattern matching in response headers)
67
+ - **traffic** — NetworkSimulator (bandwidth/latency/loss simulation), TrafficShaper (request timing adjustment), BandwidthMonitor (transfer tracking), 7 built-in network profiles (fiber/cable/dsl/4g/3g/satellite/datacenter)
68
+ - **dns_intel** — DnsLeakChecker (proxy DNS leak risk assessment), CnameTracker (CNAME chain recording), CdnDetector (CDN provider detection from headers), DnsPrefetchPlanner (prefetch domain extraction from HTML)
69
+ - **proxy_scoring** — ProxyScorer (composite scoring with latency percentiles, geo-awareness), ProxyBenchmark (benchmark planning and result analysis)
70
+ - **redirect_intel** — RedirectTracker (redirect chain tracking with statistics), ChallengeRedirectDetector (Cloudflare/DataDome/Imperva challenge redirect detection), RedirectPattern (per-domain redirect behavior profiling)
71
+ - **error_analysis** — ErrorClassifier (exception and response error classification into categories), ErrorPattern (per-domain error pattern tracking), FixSuggester (actionable fix suggestions based on error classification)
72
+ - **session_coord** — SharedRateLimiter (cross-session rate limiting), IdentityRotationPolicy (identity rotation with block tracking), SessionPool (managed session pool), CoordinationHub (centralized coordination)
73
+ - **health_monitor** — HealthMonitor (real-time request latency and success tracking), AlertManager (threshold-based alerting), HealthStatus enum, SessionHealth (session-level health snapshot)
74
+ - **request_graph** — RequestGraph (resource dependency DAG), ResourceNode (resource metadata), build_graph_from_html (HTML resource extraction), estimate_load_time (network-profile-aware load time simulation with HTTP/2 multiplexing)
75
+ - **response_decoder** — ContentDecoder (gzip/deflate/brotli/zstd decompression chain), CharsetDetector (BOM/meta/Content-Type/XML charset detection), EncodingNegotiator (browser-specific Accept-Encoding)
76
+ - **fingerprint_diff** — FingerprintDiff (field-by-field profile comparison with importance weighting), format_diff (human-readable diff output), similarity_score (weighted similarity 0.0-1.0)
77
+
78
+ ### Improved modules (5)
79
+
80
+ - **strategy** — replaced epsilon-greedy with UCB1 algorithm for adaptive bypass strategy selection; added `success_rate()`, `trial_count()`, `reset()` methods; exploration bonus via `sqrt(2 * ln(total) / n)`
81
+ - **middleware** — added ConcurrencyLimiter (per-domain concurrent request limiting with backoff), DomainThrottle (per-domain minimum interval between requests)
82
+ - **proxy** — added latency percentile tracking (p50/p95/p99) to ProxyStat, stores last 200 measurements per proxy
83
+ - **async_session** — added `max_concurrent` parameter with asyncio.Semaphore, `scatter()` for staggered concurrent requests, `each()` for applying async functions with concurrency limit, `inflight`/`total_requests`/`error_rate` stats
84
+ - **response** — added `content_length`, `content_type`, `is_json`, `is_html` properties, `iter_lines()` and `iter_text_lines()` methods
85
+
86
+ ### Stats
87
+
88
+ - 205 public exports in `__all__`
89
+ - 55 offline unit tests, 11 live integration tests — all passing
90
+ - All modules under 500 lines
91
+
92
+ ## [0.1.0] - 2026-07
93
+
94
+ Initial release with native BoringSSL + hyper Rust core, TLS fingerprint impersonation, proxy health, behavior emulation, captcha solving orchestration, automatic antibot bypass engine.