baserun-cli
BaseRun agent-side daemon. It connects to the BaseRun nchan channel, runs local CLI agents, and publishes run events back to BaseRun.
Run
NCHAN_URL="wss://baserun.livesig.cn/nchan" \
AGENT_APP_ID="<agent_id>" \
AGENT_APP_SECRET="<agent_secret>" \
CONNECTOR_TYPE="claude_code" \
uvx baserun-cli
CONNECTOR_TYPE defaults to claude_code.
Pass agent CLI arguments
Every argument is preserved and appended to every command launched for the configured agent. No extra -- separator is required.
uvx baserun-cli --model opus --verbose
This applies to new sessions, resumed sessions, and all native-fork subprocesses. baserun-cli does not validate these arguments; the selected Claude Code, Codex, ccagent, or custom agent command is responsible for accepting or rejecting them.
-h and --help show baserun-cli help only when used as the sole argument. When combined with other arguments, they are passed through to the agent CLI.
Build
cd baserun-cli
rm -rf dist build *.egg-info
python3 -m build
Publish
cd baserun-cli
python3 -m twine upload dist/*
Or with uv:
cd baserun-cli
uv build
uv publish
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file baserun_cli-0.1.16.tar.gz.
File metadata
- Download URL: baserun_cli-0.1.16.tar.gz
- Upload date:
- Size: 33.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c5d234163f2c43b8cbe3f0a148fbee03b799efb61672061e5ab2710c792af2a
|
|
| MD5 |
698e0717a099e20ded1046538905feb9
|
|
| BLAKE2b-256 |
e16cc670091d7a16997e8cdb6c4c866f3e57d805752f04661ed3a3ba0a361b79
|
File details
Details for the file baserun_cli-0.1.16-py3-none-any.whl.
File metadata
- Download URL: baserun_cli-0.1.16-py3-none-any.whl
- Upload date:
- Size: 33.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7f9a620cb67bfc364cc52f3edc40f5f410ed06856dba29b3cf2bbc941ca7bc4
|
|
| MD5 |
11989d06d4783b5c4320a1c878b8ce9e
|
|
| BLAKE2b-256 |
86c16715c97c021fc2f9a957abfa437d86d5a982f14431eb78c14b52ceaa1123
|