MCPcopy Index your code

hub / github.com/Panniantong/Agent-Reach / functions

Functions379 in github.com/Panniantong/Agent-Reach

↓ 163 callersMethodget
Get a config value. Also checks environment variables (uppercase).
agent_reach/config.py:69
↓ 41 callersMethodset
Set a config value and save.
agent_reach/config.py:80
↓ 18 callersFunctionprobe_command
Actually execute `cmd *args` and classify the result. Intended for SIDE-EFFECT-FREE health probes only (version/status commands): retries re-
agent_reach/probe.py:47
↓ 15 callersMethodget
(self, _key)
tests/test_xiaoyuzhou_install.py:9
↓ 11 callersFunctionformat_xhs_result
Clean XHS API response, keeping only useful fields. Handles both single note objects and lists of notes (search results). Drastically reduces
agent_reach/channels/xiaohongshu.py:40
↓ 10 callersMethodcheck
Probe candidates in order; first fully-usable backend wins. 与其他多后端渠道同一套两段式:先收集全部候选状态,第一个 ok 获胜; 没有 ok 才轮到第一个 warn——否则「装了但未登录」的 twitte
agent_reach/channels/twitter.py:19
↓ 9 callersMethod_isolate
隔离 OpenCLI / mcp 候选,让测试聚焦目标后端。 opencli: None 表示未安装;否则传入 (status, message) 二元组。
tests/test_channels.py:785
↓ 9 callersMethodcheck
Probe candidates in order; first fully-usable backend wins. If none is fully usable, the first fixable candidate (warn) is reported,
agent_reach/channels/xiaohongshu.py:160
↓ 8 callersFunctionget_all_channels
Get all registered channels.
agent_reach/channels/__init__.py:50
↓ 8 callersMethodordered_backends
Candidate backends in probe order, honoring the user override. The config key `<channel>_backend` (env `<CHANNEL>_BACKEND`) moves the
agent_reach/channels/base.py:45
↓ 7 callersMethod_isolate
隔离 OpenCLI 候选(None = 未安装),聚焦 rdt-cli 路径。
tests/test_channels.py:653
↓ 7 callersFunction_status_with
Run opencli_status with probe_command and disk check patched.
tests/test_opencli_backend.py:10
↓ 7 callersMethodcheck
(self, config=None)
tests/test_doctor.py:21
↓ 7 callersMethodis_configured
Check if a feature has all required config.
agent_reach/config.py:90
↓ 7 callersFunctionopencli_status
Probe OpenCLI install + daemon/extension state without side effects.
agent_reach/backends/opencli.py:80
↓ 6 callersFunction_cp
(stdout="", stderr="", returncode=0)
tests/test_twitter_channel.py:8
↓ 6 callersFunction_get_json
Fetch *url* and return parsed JSON. Raises on HTTP/network errors.
agent_reach/channels/v2ex.py:13
↓ 6 callersFunction_install_skill
Install Agent Reach as an agent skill (OpenClaw / Claude Code / .agents).
agent_reach/cli.py:343
↓ 6 callersMethod_isolate
(monkeypatch, opencli=None, api_ok=False)
tests/test_channels.py:952
↓ 6 callersMethodcheck
Probe candidates in order; first fully-usable backend wins.
agent_reach/channels/bilibili.py:46
↓ 6 callersMethodcheck
Probe candidates in order; first fully-usable backend wins.
agent_reach/channels/reddit.py:47
↓ 6 callersFunctionmain
()
agent_reach/cli.py:50
↓ 6 callersMethodread
通过 Jina Reader 读取网页,返回 Markdown 全文。
agent_reach/channels/web.py:24
↓ 5 callersFunction_get_json
Fetch *url* with Xueqiu session cookies and return parsed JSON.
agent_reach/channels/xueqiu.py:128
↓ 5 callersFunction_make_executable
(path, content)
tests/test_probe.py:13
↓ 5 callersMethodcan_handle
(self, url: str)
agent_reach/channels/xueqiu.py:156
↓ 5 callersFunctioncheck_all
Check all channels and return status dict. A single misbehaving channel must never take the whole report down, so per-channel exceptions degr
agent_reach/doctor.py:12
↓ 5 callersFunctionopencli_summary
One-line state description for channel messages / install output.
agent_reach/backends/opencli.py:124
↓ 5 callersMethodtranscribe
Download a YouTube video's audio and return its transcript. Delegates to :func:`agent_reach.transcribe.transcribe`. Imported lazily s
agent_reach/channels/youtube.py:81
↓ 4 callersMethodcan_handle
(self, url: str)
agent_reach/channels/v2ex.py:30
↓ 4 callersMethodcan_handle
(self, url: str)
agent_reach/channels/reddit.py:41
↓ 4 callersMethodcheck
(self, config=None)
agent_reach/channels/youtube.py:35
↓ 4 callersMethodjson
(self)
tests/test_cli.py:146
↓ 4 callersFunctionreinstall_hint
Prescription for a broken (stale-venv) CLI install.
agent_reach/probe.py:38
↓ 3 callersFunction_classify_github_response_error
Classify non-200 GitHub responses that merit special handling.
agent_reach/cli.py:1595
↓ 3 callersFunction_clean_note
Extract useful fields from a single XHS note/feed item.
agent_reach/channels/xiaohongshu.py:62
↓ 3 callersFunction_detect_environment
Auto-detect if running on local computer or server.
agent_reach/cli.py:955
↓ 3 callersFunction_github_get_with_retry
GET GitHub API with retry/backoff and basic error classification.
agent_reach/cli.py:1616
↓ 3 callersFunction_name_msg
Render one channel line; show the active backend when there is a choice.
agent_reach/doctor.py:38
↓ 3 callersFunction_provider_key
(provider: str, config: Config)
agent_reach/transcribe.py:157
↓ 3 callersFunction_require
(binary: str)
agent_reach/transcribe.py:56
↓ 3 callersFunction_run
Run a subprocess, raising TranscribeError on nonzero exit or timeout. cmd carries user-supplied URLs/paths into yt-dlp/ffmpeg — a stalled net
agent_reach/transcribe.py:61
↓ 3 callersMethodcheck
(self, config=None)
agent_reach/channels/github.py:19
↓ 3 callersMethodcheck
(self, config=None)
agent_reach/channels/linkedin.py:22
↓ 3 callersFunctionconfigure_from_browser
Extract cookies and configure all found platforms. Returns list of (platform_name, success, message) tuples.
agent_reach/cookie_extract.py:225
↓ 3 callersFunctionformat_report
Format results as a readable text report (with Rich markup).
agent_reach/doctor.py:47
↓ 3 callersMethodget_hot_topics
获取热门帖子列表。 Returns a list of dicts with keys: title, url, replies, node_name, node_title, content
agent_reach/channels/v2ex.py:54
↓ 3 callersMethodread
(self)
tests/test_channels.py:615
↓ 3 callersFunctionutf8_subprocess_env
Return an environment that forces Python child processes into UTF-8 mode.
agent_reach/utils/process.py:14
↓ 2 callersFunction_copy_skill_dir
Copy entire skill directory (locale-specific SKILL.md + references/).
agent_reach/cli.py:371
↓ 2 callersMethod_ensure_dir
Create config directory if it doesn't exist.
agent_reach/config.py:37
↓ 2 callersFunction_install_opencli_deps
Install OpenCLI — cross-platform backend riding the user's Chrome session. Desktop-only. The npm package installs automatically; the Chrome e
agent_reach/cli.py:729
↓ 2 callersFunction_is_newer_version
True if remote is strictly newer than local (semantic compare). A plain != would tell users "update available" when their local build is AHEA
agent_reach/cli.py:1658
↓ 2 callersFunction_open_owner_only
Open *path* for writing, atomically creating it with mode 0o600. Mirrors the pattern used by Config.save() in config.py: O_WRONLY|O_CREAT| O_
agent_reach/cookie_extract.py:151
↓ 2 callersFunction_owner_only
(path: str)
tests/test_cookie_extract_perms.py:23
↓ 2 callersFunction_read_skill_markdown
(skill_pkg)
agent_reach/cli.py:364
↓ 2 callersFunction_sync_bird_env
Write Twitter credentials to ~/.config/bird/credentials.env for bird CLI. bird reads AUTH_TOKEN and CT0 from environment variables. This writes a
agent_reach/cookie_extract.py:198
↓ 2 callersFunction_sync_xfetch_session
Sync Twitter credentials to ~/.config/xfetch/session.json (legacy xreach compat).
agent_reach/cookie_extract.py:173
↓ 2 callersFunction_uninstall_skill
Remove SKILL.md from all known agent skill directories.
agent_reach/cli.py:444
↓ 2 callersFunction_update_error_text
Map internal error kinds to user-facing text.
agent_reach/cli.py:1581
↓ 2 callersMethodcheck
(self, config=None)
agent_reach/channels/exa_search.py:21
↓ 2 callersMethodcheck
(self, config=None)
agent_reach/channels/xiaoyuzhou.py:21
↓ 2 callersMethoddoctor_report
Get formatted health report.
agent_reach/core.py:39
↓ 2 callersFunctionget_channel
Get a channel by name.
agent_reach/channels/__init__.py:42
↓ 2 callersMethodget_hot_posts
获取雪球热门帖子。 Uses the v4 public timeline endpoint which returns posts in a `list` array. Each item carries a JSON-encoded `data` field
agent_reach/channels/xueqiu.py:244
↓ 2 callersMethodget_topic
获取单个帖子详情和回复列表。 Args: topic_id: 帖子 ID(从 URL https://www.v2ex.com/t/<id> 中获取) Returns a dict with keys: id, titl
agent_reach/channels/v2ex.py:112
↓ 2 callersFunctionget_ytdlp_config_path
Return the yt-dlp user config file path for this OS.
agent_reach/utils/paths.py:23
↓ 2 callersMethodload
Load config from YAML file.
agent_reach/config.py:41
↓ 2 callersFunctionparse
(v)
agent_reach/cli.py:1665
↓ 2 callersMethodsave
Save config to YAML file.
agent_reach/config.py:49
↓ 1 callersMethod_check_bili_cli
bili-cli candidate. None = not installed.
agent_reach/channels/bilibili.py:82
↓ 1 callersMethod_check_bird
探测 bird/birdx(legacy 回退)。返回 None 表示均未安装,否则返回 (status, message)。
agent_reach/channels/twitter.py:110
↓ 1 callersMethod_check_mcp
xiaohongshu-mcp candidate. None = service not running.
agent_reach/channels/xiaohongshu.py:213
↓ 1 callersMethod_check_opencli
OpenCLI candidate. None = not installed.
agent_reach/channels/xiaohongshu.py:197
↓ 1 callersMethod_check_opencli
OpenCLI candidate. None = not installed.
agent_reach/channels/bilibili.py:96
↓ 1 callersMethod_check_opencli
OpenCLI candidate. None = not installed.
agent_reach/channels/twitter.py:94
↓ 1 callersMethod_check_opencli
OpenCLI candidate. None = not installed.
agent_reach/channels/reddit.py:80
↓ 1 callersMethod_check_rdt
rdt-cli candidate. None = not installed.
agent_reach/channels/reddit.py:96
↓ 1 callersMethod_check_search_api
Zero-dependency search API fallback. None = unreachable.
agent_reach/channels/bilibili.py:112
↓ 1 callersMethod_check_twitter_cli
探测 twitter-cli。返回 None 表示未安装,否则返回 (status, message)。 `twitter status` 才是健康信号:已登录时输出 "ok: true", 未登录时以非零退出码输出 "not_authenticated"——工具本
agent_reach/channels/twitter.py:59
↓ 1 callersMethod_check_xhs_cli
Legacy xhs-cli candidate. None = not installed.
agent_reach/channels/xiaohongshu.py:231
↓ 1 callersFunction_classify_update_error
Classify update-check errors for user-friendly diagnostics.
agent_reach/cli.py:1557
↓ 1 callersFunction_clean_comment
Extract useful fields from a comment.
agent_reach/channels/xiaohongshu.py:133
↓ 1 callersFunction_cmd_check_update
Check for newer versions on GitHub.
agent_reach/cli.py:1677
↓ 1 callersFunction_cmd_configure
Set a config value and test it, or auto-extract from browser.
agent_reach/cli.py:997
↓ 1 callersFunction_cmd_doctor
(args=None)
agent_reach/cli.py:1447
↓ 1 callersFunction_cmd_format
Clean and format platform API output from stdin.
agent_reach/cli.py:488
↓ 1 callersFunction_cmd_install
One-shot deterministic installer.
agent_reach/cli.py:171
↓ 1 callersFunction_cmd_setup
()
agent_reach/cli.py:1467
↓ 1 callersFunction_cmd_skill
Manage agent skill registration.
agent_reach/cli.py:480
↓ 1 callersFunction_cmd_transcribe
Transcribe a URL or local audio file via Whisper (Groq → OpenAI fallback).
agent_reach/cli.py:1113
↓ 1 callersFunction_cmd_uninstall
Remove all Agent Reach config, tokens, and skill files.
agent_reach/cli.py:1346
↓ 1 callersFunction_cmd_watch
Quick health check + update check, designed for scheduled tasks. Only outputs problems. If everything is fine, outputs a single line.
agent_reach/cli.py:1739
↓ 1 callersFunction_configure_logging
Suppress loguru output unless --verbose is set.
agent_reach/cli.py:42
↓ 1 callersFunction_configure_xhs_cookies
Import cookies into xiaohongshu-mcp Docker container. Accepts two formats: 1. Cookie-Editor JSON export (array of cookie objects) 2. Head
agent_reach/cli.py:1153
↓ 1 callersFunction_ensure_cookies
Populate session cookies using the best available source. Priority order: 1. Saved cookie string in ~/.agent-reach/config.yaml (set by confi
agent_reach/channels/xueqiu.py:102
↓ 1 callersFunction_ensure_utf8_console
Best-effort Windows console UTF-8 setup for CLI runtime only.
agent_reach/cli.py:24
↓ 1 callersFunction_extension_installed_on_disk
True if the OpenCLI extension exists in any Chrome profile. Store-installed extensions always live under <profile>/Extensions/<extension id>/
agent_reach/backends/opencli.py:40
↓ 1 callersFunction_has_js_runtime_config
Return whether yt-dlp config explicitly enables a JS runtime.
agent_reach/channels/youtube.py:13
↓ 1 callersFunction_inject_cookie_string
Parse a 'name=value; name2=value2' string and inject into the cookie jar.
agent_reach/channels/xueqiu.py:31
next →1–100 of 379, ranked by callers