comate-cli
Comate terminal CLI package.
Usage
uvx comate-cli
Or install globally:
uv tool install comate-cli
comate
MCP
comate mcp supports Claude Code compatible MCP configuration commands for common add/list/get/remove flows.
comate mcp add firecrawl npx -y firecrawl-mcp
comate mcp add -t http sentry https://mcp.sentry.dev/mcp -H "Authorization: Bearer ..."
comate mcp add-json ctx '{"type":"http","url":"https://example.test/mcp"}'
Supported scopes are local (default), project, and user. Comate stores MCP configuration under .agent / ~/.agent; it does not read or modify Claude Code configuration files.
排错 / Troubleshooting
看不到错误信息但行为异常
comate 在生产模式下会把若干无害但吵闹的 shutdown 噪音写入
~/.comate/logs/agent.log,而不是显示在终端里。这包括 Windows asyncio
shutdown 的 ResourceWarning、MCP 服务器违规向 stdout 写日志导致的 JSONRPC
解析失败,以及解释器退出阶段的 unraisable 异常。
如果你怀疑隐藏了真实错误,可以按下面顺序排查:
# 1. 看 noise 通道的最近 50 条
grep -E "\[unraisable\]|\[excepthook\]|\[warning\]" ~/.comate/logs/agent.log | tail -50
# 2. 看完整 agent.log 末尾
tail -200 ~/.comate/logs/agent.log
# 3. 临时关掉噪音接管器,看原始输出(开发场景)
COMATE_DEBUG_NOISE=1 comate
COMATE_DEBUG_NOISE=1 设置后,_ShutdownNoiseGuard 会跳过 install,
错误会像旧版本一样直接打印到 stderr。
Author
andy
by andy
Release files for comate-cli 0.12.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| comate_cli-0.12.2.tar.gz | 4.0 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| comate_cli-0.12.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.6 MB
Release files / comate_cli-0.12.2.tar.gz
| Download URL | comate_cli-0.12.2.tar.gz |
|---|---|
| Size | 4.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c6caa4266d2ad247284aa8cf8d5db9f352b5214bf20115a6eaf0b5f1ebc0cff7
|
|
BLAKE2b-256 checksum How to use checksums |
bc7ae832619b481d88fd75f4201abbe4322cafcf286d9d579dede30de5d5d0a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Release files / comate_cli-0.12.2-py3-none-any.whl
| Download URL | comate_cli-0.12.2-py3-none-any.whl |
|---|---|
| Size | 579.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8da544c747f37f7cced2006ba9d02e5dea6b0dcc629f9bbb7a03cc7a9583ceb6
|
|
BLAKE2b-256 checksum How to use checksums |
587dc3bebff2c8d7bd5b4c78664da75666fe358b20d1efb88110c8508b640d37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|