Repository navigation
Releases: yulong-ge/compshare-cli
Releases · yulong-ge/compshare-cli
Release list
v0.2.1
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
Changelog
Added
- Added
imagecommand group withcreate,list,show-progress, anddeletefor custom image workflows. - Added
diskcommand group withattach,detach,resize, anddeletefor cloud data disk management. - Added instance operations:
rename,reinstall,resize,set-stop-scheduler, andattach-us3. - Added
resource gpu-inventoryto inspect GPU inventory by zone and optional GPU type. - Added support for
resource images --type customto list custom images. - Added companion skill and
AGENTS.mdguidance 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 alldiskwrite operations. - Improved error handling for new commands so
--jsonand--agentoutputs remain parseable. - Added empty-zone handling for
resource gpu-inventorywhen the support-zone API returns no zones.
Verification
uv run pytest -v→ 69 passed
v0.1.0
Changelog
Added
- Initial
compshareCLI 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
--jsonsupport. - 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.0adds custom images, disk management, GPU inventory, and expanded instance operations.