Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Panniantong/Agent-Reach
/ functions
Functions
379 in github.com/Panniantong/Agent-Reach
⨍
Functions
379
◇
Types & classes
58
Method
fake_which
(name)
tests/test_channels.py:893
Method
get
(self, key, default=None)
tests/test_channels.py:598
Method
get
(self, key, default=None)
tests/test_channels.py:939
Method
json
()
tests/test_cli.py:212
Function
list_tools
()
agent_reach/integrations/mcp_server.py:37
Method
make_item
(id_, title, text, author, likes, target)
tests/test_channels.py:475
Method
ok
(self)
agent_reach/probe.py:34
Method
ok
(self)
tests/test_transcribe.py:37
Method
raise_error
(req, timeout=None)
tests/test_channels.py:68
Method
raise_error
(req, timeout=None)
tests/test_channels.py:371
Method
read
(self)
tests/test_channels.py:53
Method
read
(self)
tests/test_channels.py:358
Method
ready
Usable now or on first call. A live connection counts, and so does an installed-but-sleeping extension: its service worker wakes on t
agent_reach/backends/opencli.py:69
Function
run_side_effect
(cmd, **kwargs)
tests/test_twitter_channel.py:143
Method
test_active_backend_set_when_authenticated
(self, monkeypatch)
tests/test_channels.py:1079
Method
test_active_backend_set_when_exa_configured
(self, monkeypatch)
tests/test_channels.py:1167
Method
test_active_backend_set_when_fully_configured
(self, monkeypatch)
tests/test_channels.py:1198
Method
test_active_backend_set_when_linkedin_configured
(self, monkeypatch)
tests/test_channels.py:1124
Method
test_active_backend_set_when_unauthenticated
gh auth status 非零退出是正常业务态(未登录):warn 但后端可用。
tests/test_channels.py:1092
Method
test_all_channels_registered
(self)
tests/test_channels.py:24
Method
test_all_fail_raises_with_last_error
(self, monkeypatch, fake_config, chunk_file)
tests/test_transcribe.py:147
Function
test_all_warn_falls_back_to_first_warn
()
tests/test_twitter_channel.py:172
Method
test_api_only_still_ok_with_install_nudge
(self, monkeypatch)
tests/test_channels.py:1024
Method
test_backend_override_prefers_cli
config xiaohongshu_backend=xhs-cli 时,即使 OpenCLI ready 也用 xhs-cli。
tests/test_channels.py:928
Method
test_bili_broken_and_no_fallback_reports_error
(self, monkeypatch)
tests/test_channels.py:997
Method
test_bili_broken_falls_back_to_api_with_hint_kept
bili 断链 → API 兜底获胜,但重装处方必须保留在消息里。
tests/test_channels.py:977
Method
test_bili_cli_ok_is_active_backend
(self, monkeypatch)
tests/test_channels.py:959
Function
test_broken_node_env_gives_npm_hint
()
tests/test_opencli_backend.py:35
Function
test_broken_shebang_detected_as_broken
A stale venv shim: which() finds it, exec raises FileNotFoundError.
tests/test_probe.py:26
Method
test_can_handle_reddit_urls
(self)
tests/test_channels.py:772
Method
test_can_handle_v2ex_urls
(self)
tests/test_channels.py:34
Method
test_can_handle_xueqiu_urls
(self)
tests/test_channels.py:330
Function
test_channel_active_backend_attribute_contract
Every channel exposes active_backend (default None, or str once set).
tests/test_channel_contracts.py:39
Function
test_channel_active_backend_set_by_check
After check(), active_backend is None or a str — never anything else.
tests/test_channel_contracts.py:48
Function
test_channel_can_handle_contract
()
tests/test_channel_contracts.py:166
Function
test_channel_check_contract_with_minimal_runtime
(monkeypatch, tmp_path)
tests/test_channel_contracts.py:28
Function
test_channel_registry_contract
()
tests/test_channel_contracts.py:15
Method
test_check_all_collects_channel_results
(self, tmp_config, monkeypatch)
tests/test_doctor.py:31
Function
test_check_bird_fallback_auth_missing
No twitter-cli, bird found but Missing credentials → warn.
tests/test_twitter_channel.py:68
Function
test_check_bird_fallback_auth_ok
No twitter-cli, but bird found + bird check ok → ok.
tests/test_twitter_channel.py:51
Function
test_check_nothing_installed
Neither twitter-cli nor bird → warn with install hint.
tests/test_twitter_channel.py:86
Method
test_check_ok_when_api_reachable
(self, monkeypatch)
tests/test_channels.py:41
Method
test_check_ok_when_api_reachable
(self, monkeypatch)
tests/test_channels.py:338
Function
test_check_twitter_cli_broken_falls_back_to_bird
twitter-cli 断链但 bird 健康 → 回退到 bird,后端正确归属。
tests/test_twitter_channel.py:134
Function
test_check_twitter_cli_broken_reports_error_with_reinstall_hint
which 命中但 exec 抛 FileNotFoundError(venv 断链)→ error + 重装处方。
tests/test_twitter_channel.py:119
Function
test_check_twitter_cli_found_and_auth_ok
twitter-cli found + twitter status ok → ok.
tests/test_twitter_channel.py:18
Function
test_check_twitter_cli_found_auth_missing
twitter-cli found + not_authenticated → warn about auth.
tests/test_twitter_channel.py:32
Method
test_check_update_reports_classified_error
(self, capsys)
tests/test_cli.py:178
Method
test_check_warn_when_api_unreachable
(self, monkeypatch)
tests/test_channels.py:65
Method
test_check_warn_when_api_unreachable
(self, monkeypatch)
tests/test_channels.py:366
Method
test_chunks_concatenated_with_newlines
( self, monkeypatch, fake_config, tmp_path, chunk_file )
tests/test_transcribe.py:191
Method
test_classify_rate_limit_from_403
(self)
tests/test_cli.py:167
Method
test_config_file_priority_over_env
(self, tmp_config, monkeypatch)
tests/test_config.py:39
Function
test_daemon_not_running_parsed_correctly
()
tests/test_opencli_backend.py:81
Function
test_daemon_running_extension_connected_is_ready
()
tests/test_opencli_backend.py:42
Method
test_delegates_to_transcribe
(self, monkeypatch, fake_config)
tests/test_transcribe.py:232
Method
test_delete
(self, tmp_config)
tests/test_config.py:53
Method
test_doctor
(self, eyes)
tests/test_core.py:20
Method
test_doctor_report
(self, eyes)
tests/test_core.py:26
Method
test_doctor_runs
(self, capsys)
tests/test_cli.py:29
Method
test_empty_input
(self)
tests/test_xhs_format.py:123
Method
test_ensure_cookies_loads_from_config
_ensure_cookies() should inject cookies from the config file.
tests/test_channels.py:590
Method
test_equal_versions_no_update
(self)
tests/test_cli.py:192
Function
test_exit_127_classified_as_broken
(tmp_path, monkeypatch)
tests/test_probe.py:64
Function
test_extension_never_installed_not_ready_with_store_guide
()
tests/test_opencli_backend.py:53
Method
test_format_report
(self)
tests/test_doctor.py:72
Method
test_get_channel_by_name
(self)
tests/test_channels.py:16
Method
test_get_configured_features
(self, tmp_config)
tests/test_config.py:64
Method
test_get_default
(self, tmp_config)
tests/test_config.py:31
Method
test_get_from_env
(self, tmp_config, monkeypatch)
tests/test_config.py:35
Method
test_get_hot_posts_respects_limit
(self, monkeypatch)
tests/test_channels.py:513
Method
test_get_hot_posts_returns_list
(self, monkeypatch)
tests/test_channels.py:469
Method
test_get_hot_stocks
(self, monkeypatch)
tests/test_channels.py:553
Method
test_get_hot_topics_respects_limit
(self, monkeypatch)
tests/test_channels.py:126
Method
test_get_hot_topics_returns_list
(self, monkeypatch)
tests/test_channels.py:80
Method
test_get_hot_topics_truncates_content
(self, monkeypatch)
tests/test_channels.py:144
Method
test_get_json_sends_referer_and_browser_ua
_get_json() must send Referer and a browser-like User-Agent.
tests/test_channels.py:624
Method
test_get_node_topics
(self, monkeypatch)
tests/test_channels.py:166
Method
test_get_stock_quote
(self, monkeypatch)
tests/test_channels.py:383
Method
test_get_topic_handles_empty_replies
(self, monkeypatch)
tests/test_channels.py:251
Method
test_get_topic_returns_detail_and_replies
(self, monkeypatch)
tests/test_channels.py:198
Method
test_get_unknown_channel_returns_none
(self)
tests/test_channels.py:21
Method
test_get_user_returns_profile
(self, monkeypatch)
tests/test_channels.py:286
Method
test_groq_429_falls_back_to_openai
(self, monkeypatch, fake_config, chunk_file)
tests/test_transcribe.py:114
Method
test_groq_succeeds_no_openai_call
(self, monkeypatch, fake_config, chunk_file)
tests/test_transcribe.py:100
Function
test_healthy_command_returns_ok_with_output
(tmp_path, monkeypatch)
tests/test_probe.py:40
Method
test_init
(self, eyes)
tests/test_core.py:17
Method
test_init_creates_dir
(self, tmp_path)
tests/test_config.py:22
Method
test_install_creates_dir_if_parent_exists
_install_skill should create agent-reach dir inside existing skill dir.
tests/test_skill_command.py:74
Method
test_install_rdt_cli_prefers_github_source
(self, monkeypatch, capsys)
tests/test_cli.py:63
Method
test_install_reddit_deps_routes_by_environment
桌面 → OpenCLI;服务器 → rdt-cli(钉 git 源)。
tests/test_cli.py:88
Method
test_install_skill_creates_skill_md
_install_skill should create SKILL.md in the first available skill dir.
tests/test_skill_command.py:26
Method
test_install_uses_english_skill_for_english_locale
_install_skill should install the English skill file for English locales.
tests/test_skill_command.py:96
Function
test_install_xiaoyuzhou_deps_does_not_raise_when_no_groq_key
(capsys)
tests/test_xiaoyuzhou_install.py:13
Method
test_invalid_provider_string
(self, fake_config, chunk_file)
tests/test_transcribe.py:223
Method
test_is_configured
(self, tmp_config)
tests/test_config.py:59
Method
test_list_input
(self)
tests/test_xhs_format.py:92
Method
test_local_ahead_of_release_no_downgrade_prompt
发版窗口期本地装了 main(更新)时,不能提示"有更新"诱导降级。
tests/test_cli.py:195
Method
test_local_file_skips_yt_dlp
(self, monkeypatch, fake_config, tmp_path, chunk_file)
tests/test_transcribe.py:163
Method
test_mcp_reachable_but_mcporter_unconfigured_warns
(self, monkeypatch)
tests/test_channels.py:909
← previous
next →
201–300 of 379, ranked by callers