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
test_mcp_service_wins_when_opencli_absent
服务器场景:OpenCLI 未装、mcp 服务可达且 mcporter 已接入 → mcp 获胜。
tests/test_channels.py:889
Function
test_mcporter_utf8_env_args
()
tests/test_process.py:12
Function
test_missing_command
()
tests/test_probe.py:19
Method
test_newer_remote_triggers_update
(self)
tests/test_cli.py:189
Method
test_no_command_shows_help
(self, capsys)
tests/test_cli.py:23
Method
test_no_provider_configured_fails_fast
(self, fake_config, chunk_file)
tests/test_transcribe.py:219
Method
test_non_dict_passthrough
(self)
tests/test_xhs_format.py:127
Function
test_nonzero_exit_classified_as_error
(tmp_path, monkeypatch)
tests/test_probe.py:52
Function
test_not_installed
()
tests/test_opencli_backend.py:28
Method
test_note_card_wrapper
Handle notes nested under 'note_card'.
tests/test_xhs_format.py:98
Method
test_off_when_everything_unreachable
(self, monkeypatch)
tests/test_channels.py:1034
Method
test_off_without_backend_when_linkedin_not_configured
(self, monkeypatch)
tests/test_channels.py:1137
Method
test_openai_whisper_feature_registered
(self, fake_config)
tests/test_transcribe.py:257
Method
test_opencli_ready_wins
(self, monkeypatch)
tests/test_channels.py:669
Method
test_opencli_ready_wins_over_cli
OpenCLI 完整可用时按序获胜,即使 xhs-cli 也完整可用。
tests/test_channels.py:859
Method
test_opencli_serves_when_bili_missing
(self, monkeypatch)
tests/test_channels.py:1015
Method
test_opencli_warn_loses_to_usable_cli
OpenCLI 装了但扩展未连(warn)时,完整可用的 xhs-cli 获胜。
tests/test_channels.py:874
Function
test_ordered_backends_contract
ordered_backends(config) is a reordering (same multiset) of backends.
tests/test_channel_contracts.py:72
Function
test_ordered_backends_override_moves_backend_to_front
Config key <channel>_backend promotes the named backend to front.
tests/test_channel_contracts.py:86
Method
test_parse_twitter_cookie_input_cookie_header
(self)
tests/test_cli.py:56
Method
test_parse_twitter_cookie_input_separate_values
(self)
tests/test_cli.py:51
Function
test_probe_uses_daemon_status_not_doctor
`opencli doctor` auto-starts the daemon (side effect) — health checks must only ever call `daemon status`.
tests/test_opencli_backend.py:92
Method
test_raises_on_http_error
(self, monkeypatch, fake_config, chunk_file)
tests/test_transcribe.py:81
Method
test_raises_when_key_missing
(self, fake_config, chunk_file)
tests/test_transcribe.py:77
Function
test_reinstall_hint_mentions_both_installers
()
tests/test_probe.py:87
Method
test_reports_error_when_status_check_fails
rdt 非零退出且输出不可解析 → 工具异常(error),不再算 warn。
tests/test_channels.py:722
Method
test_reports_error_with_reinstall_hint_on_exit_127
退出码 127(找到但跑不动)同样按断链处理。
tests/test_channels.py:756
Method
test_reports_error_with_reinstall_hint_when_broken
which 命中但 exec 抛 FileNotFoundError(venv 断链)→ error + 重装处方。
tests/test_channels.py:738
Method
test_reports_error_with_reinstall_hint_when_broken
which 命中但 exec 抛 FileNotFoundError(venv 断链)→ error + 重装处方。
tests/test_channels.py:841
Method
test_reports_error_with_reinstall_hint_when_broken
yt-dlp which 命中但 exec 抛 FileNotFoundError → error + 重装处方。
tests/test_channels.py:1045
Method
test_reports_error_with_reinstall_hint_when_broken
gh which 命中但 exec 失败 → error + brew 重装处方(gh 不是 pip 包)。
tests/test_channels.py:1063
Method
test_reports_error_with_reinstall_hint_when_broken
mcporter which 命中但 exec 失败 → error + npm 重装处方。
tests/test_channels.py:1109
Method
test_reports_error_with_reinstall_hint_when_broken
mcporter which 命中但 exec 失败 → error + npm 重装处方。
tests/test_channels.py:1152
Method
test_reports_error_with_reinstall_hint_when_ffmpeg_broken
ffmpeg which 命中但 exec 失败(pip 假 ffmpeg 断链)→ error + 重装处方。
tests/test_channels.py:1182
Method
test_reports_off_when_nothing_installed
(self, monkeypatch)
tests/test_channels.py:658
Method
test_reports_off_when_nothing_installed
(self, monkeypatch)
tests/test_channels.py:830
Method
test_reports_ok_when_authenticated
(self, monkeypatch)
tests/test_channels.py:678
Method
test_reports_ok_when_cli_authenticated
(self, monkeypatch)
tests/test_channels.py:799
Method
test_reports_warn_when_not_authenticated
(self, monkeypatch)
tests/test_channels.py:698
Method
test_reports_warn_when_not_authenticated
(self, monkeypatch)
tests/test_channels.py:814
Function
test_retries_help_transient_failures
First call fails (exit 1), second succeeds — retries=1 should return ok.
tests/test_probe.py:74
Method
test_retry_dns_classification
(self)
tests/test_cli.py:125
Method
test_retry_rate_limit_then_success
(self)
tests/test_cli.py:137
Method
test_retry_timeout_classification
(self)
tests/test_cli.py:106
Method
test_routes_to_groq_endpoint
(self, monkeypatch, fake_config, chunk_file)
tests/test_transcribe.py:45
Method
test_routes_to_openai_endpoint
(self, monkeypatch, fake_config, chunk_file)
tests/test_transcribe.py:62
Method
test_save_and_load
(self, tmp_config)
tests/test_config.py:44
Method
test_save_creates_file_with_restricted_permissions
(self, tmp_path)
tests/test_config.py:77
Method
test_search_results_wrapper
Handle {"items": [...]} wrapper from search_feeds.
tests/test_xhs_format.py:84
Method
test_search_returns_unavailable_notice
(self)
tests/test_channels.py:322
Method
test_search_stock
(self, monkeypatch)
tests/test_channels.py:436
Method
test_set_and_get
(self, tmp_config)
tests/test_config.py:27
Method
test_single_note_drops_useless_fields
(self)
tests/test_xhs_format.py:73
Method
test_single_note_keeps_useful_fields
(self)
tests/test_xhs_format.py:58
Method
test_skill_resources_include_both_locales
Package resources should expose both default and English skill markdown files.
tests/test_skill_command.py:16
Method
test_skip_unconfigured_provider
(self, monkeypatch, fake_config, chunk_file)
tests/test_transcribe.py:133
Function
test_sleeping_extension_counts_as_ready
实测:扩展 service worker 睡眠时 daemon status 报 disconnected, 但任何真实命令会唤醒它——装在磁盘上即视为可用。
tests/test_opencli_backend.py:65
Function
test_stale_active_backend_does_not_leak_into_errored_result
渠道单例上一轮的 active_backend 不得泄漏进本轮异常结果(Codex review 发现)。
tests/test_doctor.py:109
Function
test_sync_bird_env_quotes_shell_metachars
Tokens containing ", $, `, ; etc. must not break out of the assignment. Prior implementation used `f'AUTH_TOKEN="{auth_token}"'` which an attacke
tests/test_cookie_extract_perms.py:51
Function
test_sync_bird_env_writes_0600
(tmp_path, monkeypatch)
tests/test_cookie_extract_perms.py:42
Function
test_sync_xfetch_session_writes_0600
(tmp_path, monkeypatch)
tests/test_cookie_extract_perms.py:29
Method
test_to_dict_masks_sensitive
(self, tmp_config)
tests/test_config.py:70
Method
test_transcribe_command_prints_text
(self, capsys)
tests/test_cli.py:36
Method
test_transcribe_command_writes_output_file
(self, capsys, tmp_path)
tests/test_cli.py:43
Function
test_twitter_cli_preferred_over_bird
When both are installed, twitter-cli is used.
tests/test_twitter_channel.py:98
Function
test_unauthenticated_twitter_cli_does_not_block_working_opencli
warn 候选不得屏蔽排在后面的 ok 候选(Codex review 发现)。
tests/test_twitter_channel.py:157
Method
test_uninstall_skill_removes_dir
_uninstall_skill should remove skill directories.
tests/test_skill_command.py:52
Method
test_unknown_provider
(self, fake_config, chunk_file)
tests/test_transcribe.py:91
Method
test_unparseable_falls_back_to_inequality
(self)
tests/test_cli.py:199
Function
test_utf8_subprocess_env_forces_python_utf8
()
tests/test_process.py:4
Method
test_version
(self, capsys)
tests/test_cli.py:15
Method
test_watch_does_not_prompt_downgrade
watch 与 check-update 同语义:本地领先远端 release 时不提示更新。
tests/test_cli.py:205
Method
test_with_comments
(self)
tests/test_xhs_format.py:104
Function
test_youtube_ok_when_deno_installed
YouTube should return ok when Deno is installed (no config needed).
tests/test_channel_contracts.py:146
Function
test_youtube_warns_when_node_only_and_no_config
YouTube should warn when only Node.js is installed but no yt-dlp config exists.
tests/test_channel_contracts.py:100
Function
test_youtube_warns_with_windows_specific_fix_command
Windows guidance should use a PowerShell-style yt-dlp config command.
tests/test_channel_contracts.py:123
Function
tmp_config
Create a Config with a temporary directory.
tests/test_config.py:15
Function
tmp_config
(tmp_path)
tests/test_doctor.py:26
Function
which_side_effect
(name)
tests/test_twitter_channel.py:54
← previous
301–379 of 379, ranked by callers