Skip to content

fix(twitter): restore intercepted readers - #9

Merged
kannch8765 merged 2 commits into
mainfrom
fix/restore-twitter-intercept-readers
Sep 9, 2026
Merged

fix(twitter): restore intercepted readers#9
kannch8765 merged 2 commits into
mainfrom
fix/restore-twitter-intercept-readers

Conversation

@kannch8765

Copy link
Copy Markdown
Owner

Summary

Restore the reader-side subset of upstream AutoCLI PR nashsu#65 on top of the current fork main.

This ports the already-tested fixes from the old fix/twitter-upstream-sync branch without bringing the unrelated reply changes:

  • make CollectStep read and clear AutoCLI's actual interceptor buffer, window.__autocli_intercepted
  • add regression coverage so the buffer name cannot silently drift back to __opencli_intercepted
  • accept current X timeline_v2 payloads in followers/following while retaining the legacy fallback
  • use AutoCLI's supported scroll.count / scroll.delay fields in notifications
  • target the full /followers timeline instead of /verified_followers

Provenance

Reader fix originally landed as 2758e4c on the old PR nashsu#65 branch, followed by the followers timeline fix 4208b67. Those commits never entered this fork's main, which is why twitter notifications regressed to [] after returning to main-based builds.

This PR reapplies only those reader changes onto current main @ 59f357d.

Validation

  • all three modified Twitter YAML files parse successfully
  • all 8 embedded JavaScript snippets pass node --check
  • diff is limited to:
    • adapters/twitter/followers.yaml
    • adapters/twitter/following.yaml
    • adapters/twitter/notifications.yaml
    • crates/autocli-pipeline/src/steps/browser.rs

The current VPS maintenance lane no longer has a Rust toolchain installed, so Rust compilation/tests are left to repository CI rather than installing a new toolchain ad hoc.

Align the collect step with AutoCLI’s interceptor buffer, accept current X timeline_v2 user timelines, and use the supported scroll option names for notifications.
@kannch8765
kannch8765 merged commit 9314687 into main Sep 9, 2026
@kannch8765
kannch8765 deleted the fix/restore-twitter-intercept-readers branch September 9, 2026 11:03
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