Skip to content

Releases: compshare-cn/compshare-cli

v0.3.6

Choose a tag to compare

@BennielAllan BennielAllan released this 30 Jul 16:32

变更

  • 将 CLI 使用统计和反馈从旧外网 IP 接口迁移到 CompShare 外部网关,通过当前 profile 凭证签名调用。
  • 网关拒绝使用统计或反馈请求时,返回明确的服务端错误信息。

v0.3.5

Choose a tag to compare

@BennielAllan BennielAllan released this 19 Jul 14:52
  • 精简 README 的安装与快速开始内容,并补充 SDK 多语言示例入口。
  • 新增可通过 npx skills 安装的 CompShare CLI Agent Skill。
  • 调整发布版本校验,使其不再依赖 README 中的硬编码版本号。

Full Changelog: v0.3.4...v0.3.5

v0.3.4

Choose a tag to compare

@BennielAllan BennielAllan released this 19 Jul 11:13

Full Changelog: v0.3.3...v0.3.4

v0.3.3

Choose a tag to compare

@BennielAllan BennielAllan released this 19 Jul 04:07

Full Changelog: v0.3.2...v0.3.3

v0.3.2

Choose a tag to compare

@BennielAllan BennielAllan released this 17 Jul 12:11

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

Choose a tag to compare

@BennielAllan BennielAllan released this 17 Jul 10:39

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 doctor on Windows; report Windows ACL handling instead.

CompShare CLI v0.3.0

Choose a tag to compare

@BennielAllan BennielAllan released this 17 Jul 07:00

主要更新

  • 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

Choose a tag to compare

@BennielAllan BennielAllan released this 16 Jul 05:55

修复内容

  • 兼容 API 将空列表返回为 null 的情况,空结果不再导致命令异常。
  • 凭证配置改用权限受限的唯一临时文件原子写入,并自动清理失败残留。
  • 损坏的凭证配置和空配置名称现在会返回明确错误。
  • 分页兼容 TotalCountTotal 两种总数字段。
  • 非 UTF-8 镜像 README 文件现在会返回可读错误。
  • 补充安装包的 GitHub 项目元数据。

最低运行版本保持 Python 3.9。

安装

pip install compshare-cli

完整变化见 CHANGELOG.md

CompShare CLI v0.2.0

Choose a tag to compare

@BennielAllan BennielAllan released this 16 Jul 05:43

主要更新

  • 新增团队、邀请、成员额度、团队账单和操作日志管理。
  • 支持批量启动、停止、重启和删除实例,并新增独立的 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