MCPcopy Create free account

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

Functions379 in github.com/Panniantong/Agent-Reach

↓ 1 callersFunction_install_mcporter
Install mcporter and configure Exa search.
agent_reach/cli.py:892
↓ 1 callersFunction_install_mcporter_safe
Safe mode: check mcporter status, print instructions.
agent_reach/cli.py:940
↓ 1 callersFunction_install_rdt_cli
Install rdt-cli (pinned git source — PyPI lags upstream).
agent_reach/cli.py:795
↓ 1 callersFunction_install_system_deps
Install system-level dependencies: gh CLI, Node.js (for mcporter).
agent_reach/cli.py:510
↓ 1 callersFunction_install_system_deps_dryrun
Dry-run: just show what would be checked/installed.
agent_reach/cli.py:872
↓ 1 callersFunction_install_system_deps_safe
Safe mode: check what's installed, print instructions for what's missing.
agent_reach/cli.py:843
↓ 1 callersFunction_is_english_locale
(value: str)
agent_reach/cli.py:349
↓ 1 callersFunction_load_cookies_from_browser
Try to silently load Xueqiu cookies from the local Chrome browser. Only succeeds when browser_cookie3 is installed AND the user is logged in
agent_reach/channels/xueqiu.py:74
↓ 1 callersFunction_load_cookies_from_config
Try to load Xueqiu cookies from agent-reach config file (xueqiu_cookie key).
agent_reach/channels/xueqiu.py:59
↓ 1 callersFunction_mcp_service_reachable
True if the xiaohongshu-mcp HTTP service answers on localhost. Any HTTP response counts (the MCP endpoint replies 405 to GET) — we only care
agent_reach/channels/xiaohongshu.py:22
↓ 1 callersFunction_parse_twitter_cookie_input
Parse Twitter cookie input from either separate values or a cookie header.
agent_reach/cli.py:1132
↓ 1 callersFunction_provider_order
(provider: str)
agent_reach/transcribe.py:199
↓ 1 callersFunction_run_once
(path: str, args: Sequence[str], timeout: int, package: str)
agent_reach/probe.py:79
↓ 1 callersFunction_search_api_ok
Return True if Bilibili search API responds with code 0.
agent_reach/channels/bilibili.py:24
↓ 1 callersFunction_skill_resource_name
()
agent_reach/cli.py:353
↓ 1 callersFunction_strip_html
Remove HTML tags and decode common entities.
agent_reach/channels/xueqiu.py:138
↓ 1 callersFunction_transcribe_with_fallback
Try each provider in order; return first success or raise the last error.
agent_reach/transcribe.py:249
↓ 1 callersMethodcan_handle
Check if this channel can handle this URL.
agent_reach/channels/base.py:41
↓ 1 callersMethodcheck
Check if this channel's upstream tool is available. Returns (status, message) where status is 'ok'/'warn'/'off'/'error'. Sub
agent_reach/channels/base.py:61
↓ 1 callersFunctionchunk_audio
Split src into segments. Re-encodes each segment so cuts align to keyframes.
agent_reach/transcribe.py:126
↓ 1 callersFunctioncompress_audio
Re-encode to mono / 16kHz / 32kbps m4a — keeps most content under 25MB.
agent_reach/transcribe.py:101
↓ 1 callersFunctioncreate_server
()
agent_reach/integrations/mcp_server.py:27
↓ 1 callersMethoddelete
Delete a config key and save.
agent_reach/config.py:85
↓ 1 callersMethoddoctor
Check all channel availability.
agent_reach/core.py:34
↓ 1 callersFunctiondownload_audio
Download audio with yt-dlp into out_dir; return the resulting file path.
agent_reach/transcribe.py:77
↓ 1 callersFunctionextract_all
Extract cookies for all supported platforms from the specified browser. Returns: { "twitter": {"auth_token": "xxx",
agent_reach/cookie_extract.py:44
↓ 1 callersMethodget_configured_features
Return status of all optional features.
agent_reach/config.py:95
↓ 1 callersMethodget_hot_stocks
获取热门股票排行。 Args: limit: 最多返回条数(上限 50) stock_type: 10=人气榜(默认),12=关注榜 Returns a list of dicts with keys:
agent_reach/channels/xueqiu.py:290
↓ 1 callersMethodget_node_topics
获取指定节点的最新帖子。 Args: node_name: 节点名称,如 "python"、"tech"、"jobs" limit: 最多返回条数 Returns a list of dicts with k
agent_reach/channels/v2ex.py:79
↓ 1 callersMethodget_stock_quote
获取实时股票行情。 Args: symbol: 股票代码,如 SH600519(沪)、SZ000858(深)、AAPL(美)、00700(港) Returns a dict with keys: symbol, name
agent_reach/channels/xueqiu.py:185
↓ 1 callersMethodget_user
获取用户信息。 Args: username: V2EX 用户名 Returns a dict with keys: id, username, url, website, twitter, psn, github, b
agent_reach/channels/v2ex.py:165
↓ 1 callersFunctionget_ytdlp_config_dir
Return the recommended yt-dlp user config directory for this OS.
agent_reach/utils/paths.py:10
↓ 1 callersFunctionmain
()
agent_reach/integrations/mcp_server.py:60
↓ 1 callersFunctionmcporter_utf8_env_args
Return mcporter --env arguments for UTF-8 Python stdio servers.
agent_reach/utils/process.py:21
↓ 1 callersFunctionread_utf8_text
Read text as UTF-8 with replacement semantics.
agent_reach/utils/text.py:8
↓ 1 callersFunctionrender_ytdlp_fix_command
Return an OS-appropriate command to enable Node.js as yt-dlp JS runtime.
agent_reach/utils/paths.py:29
↓ 1 callersMethodsearch
搜索帖子。 注意:V2EX 公开 API 暂不支持全文搜索端点(/api/search.json 不可用)。 本方法通过 Jina Reader 代理 V2EX 站内搜索页面获取结果(纯文本,无结构化数据)。 如需精确搜索,建议直接访问 https
agent_reach/channels/v2ex.py:193
↓ 1 callersMethodsearch_stock
搜索股票。 Args: query: 股票代码或中文名称,如 "茅台"、"600519" limit: 最多返回条数 Returns a list of dicts with keys: symb
agent_reach/channels/xueqiu.py:218
↓ 1 callersMethodto_dict
Return config as dict (masks sensitive values).
agent_reach/config.py:102
↓ 1 callersFunctiontranscribe
Transcribe a URL or local file path. Returns the joined transcript text. `provider` is one of `auto` (groq → openai), `groq`, or `openai`. `o
agent_reach/transcribe.py:207
↓ 1 callersFunctiontranscribe_chunk
Transcribe one chunk via the named provider. Raises TranscribeError on failure.
agent_reach/transcribe.py:163
Method__enter__
(self)
tests/test_channels.py:47
Method__enter__
(self)
tests/test_channels.py:352
Method__enter__
(self)
tests/test_channels.py:613
Method__exit__
(self, *args)
tests/test_channels.py:50
Method__exit__
(self, *_)
tests/test_channels.py:355
Method__exit__
(self, *_)
tests/test_channels.py:614
Method__init__
(self, config_path: Optional[Path] = None)
agent_reach/config.py:30
Method__init__
(self, config: Optional[Config] = None)
agent_reach/core.py:31
Method__init__
(self, d)
agent_reach/cookie_extract.py:90
Method__init__
(self, status_code: int, text: str = "")
tests/test_transcribe.py:32
Method__init__
(self, code, payload=None, headers=None)
tests/test_cli.py:141
Method__init__
(self, payload)
tests/test_channels.py:227
Method__init__
(self, name, description, tier, status, message, backends=None, active_backend=None)
tests/test_doctor.py:11
Function_fake_run_ok
Pretend any probed CLI executes fine and prints a version.
tests/test_channel_contracts.py:10
Function_install_bili_deps
Install bili-cli for Bilibili hot/rank/search.
agent_reach/cli.py:820
Function_install_reddit_deps
Set up Reddit — desktop prefers OpenCLI, rdt-cli for servers/legacy. No zero-config path exists (anonymous .json blocked, official API approv
agent_reach/cli.py:778
Function_install_twitter_deps
Install twitter-cli for Twitter search + timeline.
agent_reach/cli.py:680
Function_install_xhs_deps
Set up XiaoHongShu — backend depends on environment. Desktop: OpenCLI (reuses the browser session, zero config). Server: xiaohongshu-mcp guid
agent_reach/cli.py:703
Function_install_xiaoyuzhou_deps
Install Xiaoyuzhou podcast transcription script.
agent_reach/cli.py:637
Function_no_net
(*_a, **_k)
tests/test_channel_contracts.py:56
Methodboom_download
(*a, **k)
tests/test_transcribe.py:166
Functioncall_tool
(name: str, arguments: dict)
agent_reach/integrations/mcp_server.py:45
Methodcan_handle
(self, url: str)
agent_reach/channels/rss.py:13
Methodcan_handle
(self, url: str)
agent_reach/channels/youtube.py:29
Methodcan_handle
(self, url: str)
agent_reach/channels/xiaohongshu.py:155
Methodcan_handle
(self, url: str)
agent_reach/channels/web.py:16
Methodcan_handle
(self, url: str)
agent_reach/channels/github.py:15
Methodcan_handle
(self, url: str)
agent_reach/channels/linkedin.py:18
Methodcan_handle
(self, url: str)
agent_reach/channels/bilibili.py:41
Methodcan_handle
(self, url: str)
agent_reach/channels/exa_search.py:18
Methodcan_handle
(self, url: str)
agent_reach/channels/xiaoyuzhou.py:16
Methodcan_handle
(self, url: str)
agent_reach/channels/twitter.py:14
Methodcheck
(self, config=None)
agent_reach/channels/rss.py:16
Methodcheck
(self, config=None)
agent_reach/channels/v2ex.py:39
Methodcheck
(self, config=None)
agent_reach/channels/xueqiu.py:164
Methodcheck
(self, config=None)
agent_reach/channels/web.py:19
Methodcheck
(self, config=None)
tests/test_doctor.py:120
Functionchunk_file
(tmp_path)
tests/test_transcribe.py:25
Functioneyes
(tmp_path)
tests/test_core.py:11
Methodfake_compress
(src, out_dir)
tests/test_transcribe.py:173
Functionfake_config
A Config that writes to a temp dir and never touches the user's HOME.
tests/test_transcribe.py:15
Methodfake_open
(req, timeout=None)
tests/test_channels.py:636
Methodfake_post
(url, headers=None, files=None, data=None, timeout=None)
tests/test_transcribe.py:49
Methodfake_post
(url, headers=None, files=None, data=None, timeout=None)
tests/test_transcribe.py:105
Functionfake_probe
(cmd, args=("--version",), **kwargs)
tests/test_opencli_backend.py:14
Methodfake_run
(cmd, **kwargs)
tests/test_cli.py:74
Methodfake_run
(cmd, **kwargs)
tests/test_channels.py:687
Methodfake_run
(cmd, **kwargs)
tests/test_channels.py:803
Methodfake_run
(cmd, **kwargs)
tests/test_channels.py:966
Methodfake_run
(cmd, **kwargs)
tests/test_channels.py:1049
Methodfake_run
(cmd, **kwargs)
tests/test_channels.py:1067
Methodfake_run
(cmd, **kwargs)
tests/test_channels.py:1113
Methodfake_run
(cmd, **kwargs)
tests/test_channels.py:1156
Methodfake_run
(cmd, **kwargs)
tests/test_channels.py:1186
Methodfake_sleep
(seconds)
tests/test_cli.py:109
Methodfake_transcribe
(source, *, provider="auto", out_dir=None, config=None)
tests/test_transcribe.py:237
Methodfake_urlopen
(req, timeout=None)
tests/test_channels.py:234
Functionfake_which
(cmd)
tests/test_channel_contracts.py:104
Methodfake_which
(name)
tests/test_cli.py:67
← previousnext →101–200 of 379, ranked by callers