Skip to content

feat(install): split into core + optional channels with --channels flag#237

Merged
Panniantong merged 1 commit intomainfrom
feat/install-channels-on-demand
Mar 31, 2026
Merged

feat(install): split into core + optional channels with --channels flag#237
Panniantong merged 1 commit intomainfrom
feat/install-channels-on-demand

Conversation

@Panniantong
Copy link
Copy Markdown
Owner

Summary

  • Base agent-reach install now only sets up lightweight zero-config channels (Web, YouTube, GitHub, RSS, Exa, V2EX, Bilibili basic)
  • Optional channels installed on demand via --channels=twitter,weibo,... or --channels=all
  • Cookie import only triggers when cookie-needing channels are selected (no more random Keychain popups)
  • Doctor output: inactive optional channels summarized in one line instead of cluttering with grey -- entries
  • install.md updated: agent asks user which channels they want before installing heavy deps

Test plan

  • pytest tests/ -v — 77 passed
  • agent-reach install --env=auto --dry-run — only shows core deps
  • agent-reach install --env=auto --channels=twitter --dry-run — shows core + twitter
  • agent-reach install --env=auto --channels=all --dry-run — shows everything
  • agent-reach doctor — clean output with summary line

🤖 Generated with Claude Code

Base install now only sets up lightweight zero-config channels (Web, YouTube,
GitHub, RSS, Exa, V2EX, Bilibili basic). Optional channels (Twitter, Weibo,
WeChat, Xiaoyuzhou, XiaoHongShu, Reddit, Bilibili full, Douyin, LinkedIn)
are installed on demand via --channels flag.

- Add --channels param to install subcommand
- Extract twitter/xhs/reddit/bili into independent install functions
- Remove heavy deps (weibo/xiaoyuzhou/wechat/twitter-cli/xhs-cli) from
  default _install_system_deps() and _install_mcporter()
- Cookie import only triggers when cookie-needing channels are selected
- Doctor output: inactive optional channels summarized in one line
- install.md: two-step flow (basics → ask user which channels)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Panniantong Panniantong merged commit 75bc98a into main Mar 31, 2026
8 checks passed
@Panniantong Panniantong deleted the feat/install-channels-on-demand branch March 31, 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