@ornncompute/cli 1.0.419 → 1.0.421

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ornncompute/cli",
3
- "version": "1.0.419",
3
+ "version": "1.0.421",
4
4
  "description": "Command-line interface for Ornn compute access workflows.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -199,6 +199,12 @@ function listControllers(request, query = {}, signal) {
199
199
  function createController(request, body, options) {
200
200
  return request(controllersSocketPath, { ...options, method: "POST", body });
201
201
  }
202
+ function renameController(request, id, clusterName) {
203
+ return request(controllerPath(id), {
204
+ method: "PATCH",
205
+ body: { cluster_name: clusterName }
206
+ });
207
+ }
202
208
  function getControllerAccess(request, id, signal) {
203
209
  return request(`${controllerPath(id)}/access`, {
204
210
  method: "GET",
@@ -1443,6 +1449,7 @@ export {
1443
1449
  remoteRunPath,
1444
1450
  removeControllerNode,
1445
1451
  removeControllerVirtualMachine,
1452
+ renameController,
1446
1453
  requestAgentUpdate,
1447
1454
  requestDiskRebuilds,
1448
1455
  reservationEventsPath,
@@ -5231,7 +5231,7 @@ var creditGrantCapability = defineCapability({
5231
5231
  adjustmentId: {
5232
5232
  type: "string",
5233
5233
  format: "uuid",
5234
- description: "a new UUID per grant, reused on retries"
5234
+ description: "Omit on Slack. Slack assigns a new UUID for each grant preview, and confirm reuses that saved UUID."
5235
5235
  },
5236
5236
  amountCents: {
5237
5237
  type: "integer",
@@ -5249,7 +5249,7 @@ var creditGrantCapability = defineCapability({
5249
5249
  description: "Reason for the credit grant, at most 500 UTF-8 bytes."
5250
5250
  }
5251
5251
  },
5252
- required: ["organizationId", "adjustmentId", "amountCents", "note"]
5252
+ required: ["organizationId", "amountCents", "note"]
5253
5253
  }
5254
5254
  },
5255
5255
  input: creditGrantInput,