diff --git a/agent_reach/skill/SKILL.md b/agent_reach/skill/SKILL.md index 918ba2dc..de36e183 100644 --- a/agent_reach/skill/SKILL.md +++ b/agent_reach/skill/SKILL.md @@ -36,8 +36,7 @@ triggers: - video: youtube/视频/播客/字幕/小宇宙/转录/yt - finance: 雪球/股票/stock/xueqiu/行情/基金 metadata: - openclaw: - homepage: https://github.com/Panniantong/Agent-Reach + openclaw.homepage: https://github.com/Panniantong/Agent-Reach --- # Agent Reach — 互联网能力路由器 diff --git a/agent_reach/skill/SKILL_en.md b/agent_reach/skill/SKILL_en.md index c30ed744..4074d47f 100644 --- a/agent_reach/skill/SKILL_en.md +++ b/agent_reach/skill/SKILL_en.md @@ -17,8 +17,7 @@ description: > internet content); posting/commenting/liking (write operations); platforms that already have a dedicated skill installed (prefer that skill). metadata: - openclaw: - homepage: https://github.com/Panniantong/Agent-Reach + openclaw.homepage: https://github.com/Panniantong/Agent-Reach --- # Agent Reach — internet capability router diff --git a/tests/test_channel_contracts.py b/tests/test_channel_contracts.py index 7b51b02a..c60a7a5b 100644 --- a/tests/test_channel_contracts.py +++ b/tests/test_channel_contracts.py @@ -110,8 +110,12 @@ def fake_which(cmd): monkeypatch.setattr("shutil.which", fake_which) monkeypatch.setattr("subprocess.run", _fake_run_ok) # yt-dlp probe really executes now - # Point to a non-existent config file - monkeypatch.setattr("os.path.expanduser", lambda p: str(tmp_path / ".config/yt-dlp/config")) + # Point to a non-existent config file — must mock the config-path helper + # because os.path.expanduser is not called on every platform (Win / APPDATA). + monkeypatch.setattr( + "agent_reach.channels.youtube.get_ytdlp_config_path", + lambda: tmp_path / "nonexistent" / "config", + ) ch = YouTubeChannel() status, message = ch.check()