Skip to content

Releases: yulong-ge/compshare-cli

v0.2.1

Choose a tag to compare

@yulong-ge yulong-ge released this 22 May 01:42

Fixed

  • 恢复 v0.2.0 中遗漏的 CLI 扩展命令注册,重新暴露顶层 image 与 disk 命令组。
  • 恢复扩展实例运维命令:rename、reinstall、resize、set-stop-scheduler、attach-us3。
  • 恢复 resource gpu-inventory 与 resource images --type custom,使帮助信息与实际能力重新一致。
  • 恢复扩展功能对应测试,确保 help 与命令行为覆盖镜像、云硬盘、实例扩展运维与 GPU 库存场景。

Changed

  • 为仓库补充 ruff 行宽配置,确保后续 agent 改动可通过 uv run ruff format . 和 uv run ruff check . 自动完成格式化与校验。

v0.2.0

Choose a tag to compare

@yulong-ge yulong-ge released this 21 May 08:17

Changelog

Added

  • Added image command group with create, list, show-progress, and delete for custom image workflows.
  • Added disk command group with attach, detach, resize, and delete for cloud data disk management.
  • Added instance operations: rename, reinstall, resize, set-stop-scheduler, and attach-us3.
  • Added resource gpu-inventory to inspect GPU inventory by zone and optional GPU type.
  • Added support for resource images --type custom to list custom images.
  • Added companion skill and AGENTS.md guidance for the expanded workflows.

Changed

  • Extended the fake client and test suite to cover the new image, disk, instance, and GPU inventory API actions.
  • Added confirmation guards for operations that may incur cost or change resources: image delete, instance reinstall, instance resize, instance attach-us3, and all disk write operations.
  • Improved error handling for new commands so --json and --agent outputs remain parseable.
  • Added empty-zone handling for resource gpu-inventory when the support-zone API returns no zones.

Verification

  • uv run pytest -v → 69 passed

v0.1.0

Choose a tag to compare

@yulong-ge yulong-ge released this 21 May 08:20

Changelog

Added

  • Initial compshare CLI release for CompShare GPU rental workflows.
  • Added credential management commands: config set, config get, config unset, config path.
  • Added resource discovery commands: resource zones, resource instance-types, resource images, resource machine-families, resource capacity.
  • Added pricing workflow: price create.
  • Added instance lifecycle commands: instance create, list, show, start, stop, reboot, delete.
  • Added human-readable default output plus structured --json support.
  • Added test suite for config, request building, SDK wrapping, output helpers, and CLI rental loop behaviors.

Notes

  • This release corresponds to the initial CLI implementation commit: e1bb62a.
  • Later release v0.2.0 adds custom images, disk management, GPU inventory, and expanded instance operations.