remove: drop Boss直聘 channel (non-functional) (#135)

Boss直聘 channel removed entirely — upstream mcp-bosszp
triggers account-level bans, making it unusable in practice.

Removed from: channel registry, README (CN/EN), install.md,
SKILL.md, tests, credits.

Co-authored-by: Panniantong <panniantong@users.noreply.github.com>
This commit is contained in:
Pnant
2026-03-10 10:14:59 +08:00
committed by GitHub
parent 55efebd395
commit 00d80d2169
8 changed files with 4 additions and 134 deletions
-20
View File
@@ -5,7 +5,6 @@ import shutil
import subprocess
from agent_reach.channels import get_all_channels, get_channel
from agent_reach.channels.bosszhipin import BossZhipinChannel
from agent_reach.channels.xiaohongshu import XiaoHongShuChannel
@@ -26,25 +25,6 @@ class TestChannelRegistry:
assert "twitter" in names
class TestBossZhipinChannel:
def test_reports_ok_when_configured_and_logged_in(self, monkeypatch):
monkeypatch.setattr(shutil, "which", lambda _: "/opt/homebrew/bin/mcporter")
def fake_run(cmd, **kwargs):
if cmd[:4] == ["/opt/homebrew/bin/mcporter", "config", "get", "bosszhipin"]:
return subprocess.CompletedProcess(cmd, 0, '{"name":"bosszhipin"}', "")
if cmd[:3] == ["/opt/homebrew/bin/mcporter", "call", "bosszhipin.get_login_info_tool"]:
return subprocess.CompletedProcess(cmd, 0, '{"is_logged_in": true}', "")
raise AssertionError(f"unexpected command: {cmd}")
monkeypatch.setattr(subprocess, "run", fake_run)
assert BossZhipinChannel().check() == (
"ok",
"完整可用(职位搜索、登录态检查、向 HR 打招呼)",
)
class TestXiaoHongShuChannel:
def test_reports_ok_when_server_health_is_ok(self, monkeypatch):
monkeypatch.setattr(shutil, "which", lambda _: "/opt/homebrew/bin/mcporter")