@delta-infra/cli 1.1.5 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -242,6 +242,7 @@ delta-cli sandbox kill <sandbox_id>
242
242
  | `delta-cli sandbox images` | 查看可用镜像列表 |
243
243
  | `delta-cli sandbox recommend --cpu N --memory XGi` | 获取资源配置推荐 |
244
244
  | `delta-cli sandbox create --image <img> [--no-auto-cleanup]` | 创建 sandbox 容器(`--no-auto-cleanup` 不被自动清理) |
245
+ | `delta-cli sandbox extend <id> --max-life N` | **动态延长运行中** sandbox 的 max-life(仅向后延长,N 需大于已存活时长;提前回收用 `kill`/`finish`);不带 `--max-life` 时查询当前生命周期(已存活/剩余/到期时间) |
245
246
  | `delta-cli sandbox connect <id>` | 连接 sandbox |
246
247
  | `delta-cli sandbox status <id>` | 查看 sandbox 状态 |
247
248
  | `delta-cli sandbox finish <id>` | 保存结果并销毁 |
package/checksums.txt CHANGED
@@ -1,5 +1,5 @@
1
- bce2a2488cefbb1ebb0e5fd9b316b6967d32f343b04e735efb19148780bad2ba delta-cli-darwin-amd64.tar.gz
2
- e71754f6125859e6cd78eceebf2ef6e7e52edd233489e9f6cd891fdd432085ed delta-cli-darwin-arm64.tar.gz
3
- 18b9fd53c6424f70bcd61b64d1e79e86c994b037da44f5817f72e0adf4877042 delta-cli-linux-amd64.tar.gz
4
- d0e5714929b3352984e14b35c78e204fe801ee839295ec94bdd5ddb70cbe7b41 delta-cli-linux-arm64.tar.gz
5
- 2c742ace51b889ad61119a608fc6f6da60bdda0b7fe701048016b27139237fff delta-cli-windows-amd64.zip
1
+ e1a48617e7d0df9d9b26b206fabeb105d55504cc1899c17ad1bcf826b4f719b0 delta-cli-darwin-amd64.tar.gz
2
+ c9ca6c6dcdc871fb917ea3649d1c194ae14b9bec7b8b887816bb0f953dcc3642 delta-cli-darwin-arm64.tar.gz
3
+ f148b00e1c371179c882e54f525eeaadd93effdb20f7520a352dc560f2d4151e delta-cli-linux-amd64.tar.gz
4
+ ebb47a2bd763286888490e931c86c07611ae7e1da2e9aa7158d77b9a099ccddb delta-cli-linux-arm64.tar.gz
5
+ bb9f71de4bb5df9b5af8dc677636d6c6b65c503a838dce853c26aedec40ae34e delta-cli-windows-amd64.zip
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delta-infra/cli",
3
- "version": "1.1.5",
3
+ "version": "1.1.7",
4
4
  "description": "Delta Agent Cloud CLI for sandbox compute and science tools.",
5
5
  "bin": {
6
6
  "delta-cli": "scripts/run.js"
@@ -144,6 +144,7 @@ required_outputs:
144
144
  | 列出当前用户的 sandbox | `sandbox list [--status <running/finished/killed/error>] [--start-time <ISO8601>] [--end-time <ISO8601>] [--sandbox-id <id>] [--days N]` |
145
145
  | **生命周期** | |
146
146
  | 创建 sandbox | `sandbox create --image-name <镜像名> [--cpu N --memory XGi --gpu N --gpu-mem N --gpu-type <型号> --max-life M]`;`--memory`/`--gpu-mem` 支持 g/m/G/M 格式(如 `1G`/`512M`,小写亦可),CLI 自动转换为服务端接受的 `Gi`/`Mi` 单位;`--image-name` 用镜像名(`sandbox images` 返回的 `image_name` 字段,如 `"PyTorch CUDA13 (GPU)"`),底层镜像标识对用户隐藏;`--gpu-type` 指定 GPU 型号(如 `"RTX 4090"`、`H100`),可选型号查 `sandbox resources` 输出的 `gpu_types[].gpu_name`,不传则自动调度;不希望被自动清理时加 `--no-auto-cleanup`(仅显式 kill/finish 可销毁);**单沙箱资源上限** cpu ≤ 512 / memory ≤ 1024Gi / gpu ≤ 64 / gpuMem ≤ 1024Gi,超出快速报错不挂起 |
147
+ | 延长生命周期 | `sandbox extend <sandbox_id> --max-life N` — **动态延长运行中** sandbox 的 max-life(仅向后延长,N 需大于已存活分钟;提前回收用 `kill`/`finish`;`--no-auto-cleanup` 沙箱无需续期);不带 `--max-life` 时查询当前生命周期(已存活/剩余/到期时间) |
147
148
  | 连接 sandbox | `sandbox connect <id>` |
148
149
  | 查看状态 | `sandbox status <id>` |
149
150
  | 完成 sandbox | `sandbox finish <id> [--results '{...}']` |