Skip to main content

comate-cli

Comate terminal CLI package.

Usage

uvx comate-cli

Or install globally:

uv tool install comate-cli
comate

简体中文用户

Python 解释器从 npmmirror 下载,包从清华 PyPI 镜像下载,运行时固定为 Python 3.12(ADR 0055)。

macOS / Linux(bash、zsh):

UV_PYTHON_INSTALL_MIRROR=https://registry.npmmirror.com/-/binary/python-build-standalone \
  uv tool install comate-cli --python 3.12 --default-index https://pypi.tuna.tsinghua.edu.cn/simple

Windows PowerShell(两行在同一个窗口里运行):

$env:UV_PYTHON_INSTALL_MIRROR="https://registry.npmmirror.com/-/binary/python-build-standalone"
uv tool install comate-cli --python 3.12 --default-index https://pypi.tuna.tsinghua.edu.cn/simple

Windows CMD(两行在同一个窗口里运行):

set "UV_PYTHON_INSTALL_MIRROR=https://registry.npmmirror.com/-/binary/python-build-standalone"
uv tool install comate-cli --python 3.12 --default-index https://pypi.tuna.tsinghua.edu.cn/simple

清华镜像同步 PyPI 有延迟。新版本刚发布时,如果清华上还没有,去掉 --default-index ... 直接从官方 PyPI 安装即可,Python 仍走 npmmirror。

内置 Marketplace 扩展

发行版可通过 DistributionProfile.builtin_marketplaces 提供 BuiltinMarketplace(name=展示名称, source=HTTP清单地址)。 默认值为空;Comate 不预置任何源。

用户打开 /plugin 后,Discover 直接加载内置清单并展示插件。浏览不会注册源; 确认插件安装后,程序保存来源信息,复用已有的安装和更新流程。 内置源在 Marketplaces 中始终可见,不提供删除、隐藏或禁用操作。 清单请求失败时可在 Discover 选择重试,其他来源仍可浏览。

当前内置清单支持 HTTP/HTTPS manifest URL。Git 源仍可通过原有手动添加流程使用。

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

Metadata

Release files for comate-cli 0.12.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for comate-cli 0.12.8
File Size Uploaded Provenance Actions
comate_cli-0.12.8.tar.gz 1.6 MB Without provenance Details for comate_cli-0.12.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for comate-cli 0.12.8
File Interpreter ABI Platform Actions
comate_cli-0.12.8-py3-none-any.whl Python 3 none any Details for comate_cli-0.12.8-py3-none-any.whl

Total release size: 2.4 MB

Release files / comate_cli-0.12.8.tar.gz

Download URL comate_cli-0.12.8.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
e5b18a529b693778fca1a7e9652f2a1d61b66f9d813488235ee6ab3c59b77dab
BLAKE2b-256 checksum
How to use checksums
455e3204ea06c3c8edd258b5e1509ec9425103e501c5811cf690942d889b35f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / comate_cli-0.12.8-py3-none-any.whl

Download URL comate_cli-0.12.8-py3-none-any.whl
Size 717.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3589ef090c6395ec39c3bea317838922c58e0a750406d94fb757b58cbe18b3e3
BLAKE2b-256 checksum
How to use checksums
552c0f56e128f0ac4599b196609eb9d587e3dda8c56063f6da951bf2a7113e56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Security for comate-cli 0.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.12.8 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page