Skip to main content

Comate terminal CLI built on comate-agent-sdk

Project description

comate-cli

Comate terminal CLI package.

Usage

uvx comate-cli

Or install globally:

uv tool install comate-cli
comate

排错 / 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。

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

comate_cli-0.7.0a10.tar.gz (511.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

comate_cli-0.7.0a10-py3-none-any.whl (231.8 kB view details)

Uploaded Python 3

File details

Details for the file comate_cli-0.7.0a10.tar.gz.

File metadata

  • Download URL: comate_cli-0.7.0a10.tar.gz
  • Upload date:
  • Size: 511.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for comate_cli-0.7.0a10.tar.gz
Algorithm Hash digest
SHA256 71f03d95eb0b1652539d6c4293b0437e40e20c691f31529cdf9bcbf721fe05a3
MD5 52814aeadd365a3c7eb89dae739d2162
BLAKE2b-256 2c504f832a589ebc0158f34acf26d2a0d8c6d4ca66ac5189ec668b57d4ce4246

See more details on using hashes here.

File details

Details for the file comate_cli-0.7.0a10-py3-none-any.whl.

File metadata

  • Download URL: comate_cli-0.7.0a10-py3-none-any.whl
  • Upload date:
  • Size: 231.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for comate_cli-0.7.0a10-py3-none-any.whl
Algorithm Hash digest
SHA256 bd9c4a19bc383ce39c14aa936dca0e7ba8e821e8030d6bd8998093ea8bf31cf9
MD5 24c6a0b9f4d48ee1a51c32b6b990a2be
BLAKE2b-256 b3cc2c9f6f15843ddcdee214aa3593f1e540ff47ae4a1372684d72201eb604a4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page