Releases: compshare-cn/compshare-cli
Releases · compshare-cn/compshare-cli
Release list
v0.3.6
v0.3.5
- 精简 README 的安装与快速开始内容,并补充 SDK 多语言示例入口。
- 新增可通过
npx skills安装的 CompShare CLI Agent Skill。 - 调整发布版本校验,使其不再依赖 README 中的硬编码版本号。
Full Changelog: v0.3.4...v0.3.5
v0.3.4
v0.3.3
v0.3.2
Agent-friendly remote execution and Windows JSON reliability:
- Execute remote SSH commands in JSON mode and return structured exit status, stdout, stderr, and connection/authentication failure phases.
- Wait for newly created instances to reach Running before returning, and wait before SSH connections by default.
- Guarantee UTF-8 bytes for all JSON output, independent of the Windows console code page.
- Cache SSH connection data for one hour to reduce repeated instance queries, with profile isolation, Windows DPAPI password protection, refresh controls, and automatic invalidation.
v0.3.1
Windows compatibility fixes:
- Document reliable PowerShell invocation with and without virtual-environment activation.
- Automatically enter instance SSH passwords for interactive sessions on Windows via OpenSSH askpass.
- Avoid false POSIX permission failures in
compshare doctoron Windows; report Windows ACL handling instead.
CompShare CLI v0.3.0
主要更新
instance ssh默认自动填写 API 返回的登录密码,支持首次主机密钥自动接受,并修复 Base64 密码解码。instance ssh INSTANCE_ID -- COMMAND支持非交互执行远程命令并透传退出码。- 新增
instance scp INSTANCE_ID LOCAL_PATH REMOTE_PATH,支持自动认证上传文件和目录。 - 新增
compshare ask产品问答和compshare feedback反馈命令。 - 默认递归隐藏密码、IP、访问 URL、令牌和登录命令,可通过
--show-sensitive显式查看。 - 改进 Region/Zone 参数语义、镜像分页选择以及跨地域资源定位。
- 增加最小化匿名使用统计,仅包含命令名称、CLI 版本、操作系统和时间。
完整变更请参阅 CHANGELOG.md。
CompShare CLI v0.2.1
修复内容
- 兼容 API 将空列表返回为
null的情况,空结果不再导致命令异常。 - 凭证配置改用权限受限的唯一临时文件原子写入,并自动清理失败残留。
- 损坏的凭证配置和空配置名称现在会返回明确错误。
- 分页兼容
TotalCount和Total两种总数字段。 - 非 UTF-8 镜像 README 文件现在会返回可读错误。
- 补充安装包的 GitHub 项目元数据。
最低运行版本保持 Python 3.9。
安装
pip install compshare-cli完整变化见 CHANGELOG.md。
CompShare CLI v0.2.0
主要更新
- 新增团队、邀请、成员额度、团队账单和操作日志管理。
- 支持批量启动、停止、重启和删除实例,并新增独立的
instance wait。 - 修正跨地域实例分页,实例与镜像列表支持
--all。 - 新增只读环境诊断
compshare doctor。 - 新增
instance create --max-price创建价格保护。
最低运行版本保持 Python 3.9。
安装
python -m pip install "https://github.com/BennielAllan/compshare-cli/releases/download/v0.2.0/compshare_cli-0.2.0-py3-none-any.whl"完整变化见 CHANGELOG.md。