Agent-Reach/tests
Panniantong 74c3df5c3d v2.0.0 — Pure glue architecture: zero copied code, pluggable channels
BREAKING: Complete architectural rewrite.

Before: Copied x-reader's fetcher code into readers/ (1205 lines of borrowed code)
After: Pluggable channel system where each channel is a thin wrapper (~50 lines)
       around the best external tool for that platform. Zero copied code.

Architecture:
- channels/base.py — Universal Channel interface (read, search, check)
- channels/web.py — Jina Reader API (swappable)
- channels/github.py — GitHub API (swappable)
- channels/twitter.py — birdx + Jina fallback (swappable)
- channels/youtube.py — yt-dlp (swappable)
- channels/reddit.py — Reddit JSON API + proxy (swappable)
- channels/rss.py — feedparser (swappable)
- channels/bilibili.py — Bilibili API (swappable)
- channels/exa_search.py — Exa semantic search (swappable)

Key design: every backend can be swapped by changing ONE file.
YouTube dies? Change youtube.py. Exa sucks? Swap exa_search.py for Tavily.
Nothing else changes.

Removed: reader.py, schema.py, readers/, search/, utils/ (all x-reader code)
Tests: 36/36 passing
2026-02-24 05:38:21 +01:00
..
test_channels.py v2.0.0 — Pure glue architecture: zero copied code, pluggable channels 2026-02-24 05:38:21 +01:00
test_cli.py v1.0.0 — Agent Eyes: search + read the entire internet 2026-02-24 04:00:47 +01:00
test_config.py v1.0.0 — Agent Eyes: search + read the entire internet 2026-02-24 04:00:47 +01:00
test_core.py v2.0.0 — Pure glue architecture: zero copied code, pluggable channels 2026-02-24 05:38:21 +01:00
test_doctor.py v2.0.0 — Pure glue architecture: zero copied code, pluggable channels 2026-02-24 05:38:21 +01:00