INNER CODE UNIT · Python

_install_boss_deps

Panniantong/Agent-Reach · agent_reach/cli.py:994

def _install_boss_deps():
    """Install the strict-CDP boss-agent-cli build required by the Boss channel.

    Upstream boss-agent-cli PRs #403-#407 are all merged into master; the source is
    pinned to a fixed upstream commit containing those five PRs. Force-installing is
    intentional: PyPI 1.18.0 exposes the ``boss`` executable but lacks the public
    strict-CDP APIs required by this channel.
    """
    import shutil
    import subprocess

    print("Setting up Boss直聘 (boss-agent-cli upstream pinned commit)...")
    for tool, args in [
        ("pipx", ["install", "--force", _BOSS_AGENT_CLI_SOURCE]),
        ("uv", ["tool", "install", "--force", _BOSS_AGENT_CLI_SOURCE]),
    ]:
        tool_cmd = shutil.which(tool)
        if not tool_cmd:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…