@ornncompute/cli 1.0.312 → 1.0.313

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
@@ -188,8 +188,8 @@ Reuse the key and payload on retries. This booking command requires an eligible
188
188
  human terminal.
189
189
 
190
190
  For exact-node delivery off the market, `ornn admin reservations direct-delivery`
191
- accepts a draft primary listing's Reserved term, every attached
192
- node UUID, a named organization, and the reservation window. Reuse the supplied
191
+ accepts a draft primary listing's Reserved term, one or more selected attached
192
+ node UUIDs, a named organization, and the reservation window. Reuse the supplied
193
193
  transaction UUID with the same inputs on retries. Use `--format json` for
194
194
  automation. See the [staff command reference](../../docs/cli.md#staff-namespace).
195
195
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ornncompute/cli",
3
- "version": "1.0.312",
3
+ "version": "1.0.313",
4
4
  "description": "Command-line interface for Ornn compute access workflows.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -2654,7 +2654,7 @@ var adminReservationsCreateCapability = defineCapability({
2654
2654
  var directDeliveryInput = z11.strictObject({
2655
2655
  organizationId: z11.uuid().describe("The customer organization receiving the reservation."),
2656
2656
  listingTermId: z11.uuid().describe("A non-renewable Reserved term on the draft primary listing."),
2657
- nodeIds: z11.array(z11.uuid()).min(1).max(5e3).describe("Every attached node ID on the draft."),
2657
+ nodeIds: z11.array(z11.uuid()).min(1).max(5e3).describe("One or more selected node IDs attached to the draft listing."),
2658
2658
  startsAt: wholeSecondInstant.describe("RFC 3339 start in whole seconds, with a timezone."),
2659
2659
  endsAt: wholeSecondInstant.describe("RFC 3339 end in whole seconds, within the term's duration."),
2660
2660
  transactionId: z11.uuid().describe("A caller-generated UUID. Reuse it on retry with the same input."),
@@ -2671,11 +2671,11 @@ var adminReservationDirectDeliveryCapability = defineCapability({
2671
2671
  id: directDeliveryCapabilityId,
2672
2672
  domain: "reservations",
2673
2673
  roles: ["admin"],
2674
- description: "Reserve exact nodes for a customer off the market. Use a draft primary VM or Bare Metal listing with every selected node attached and a non-renewable Reserved term. Creates the reservation immediately, even with a future start. Reuse the transactionId and inputs after an uncertain response. Returns the saved reservation.",
2674
+ description: "Reserve one or more selected nodes for a customer off the market. Use attached nodes from a draft primary VM or Bare Metal listing and a non-renewable Reserved term. Other nodes on the same draft can serve separate reservations. Creates the reservation immediately, even with a future start. Reuse the transactionId and inputs after an uncertain response. Returns the saved reservation.",
2675
2675
  mutation: "preview-confirm",
2676
2676
  cli: {
2677
2677
  command: ["admin", "reservations", "direct-delivery"],
2678
- vnext: adminHelp("Reserve exact nodes for a customer off the market.", "ornn admin reservations direct-delivery --organization-id UUID --listing-term-id UUID --node-ids JSON --starts-at TIME --ends-at TIME --transaction-id UUID [--vm-disk-id UUID]", "Use --format json. Supply all node UUIDs as a JSON array and reuse --transaction-id with the same inputs when retrying.")
2678
+ vnext: adminHelp("Reserve exact nodes for a customer off the market.", "ornn admin reservations direct-delivery --organization-id UUID --listing-term-id UUID --node-ids JSON --starts-at TIME --ends-at TIME --transaction-id UUID [--vm-disk-id UUID]", "Use --format json. Supply the selected node UUIDs as a JSON array, including for one node. Reuse --transaction-id with the same inputs when retrying.")
2679
2679
  },
2680
2680
  slack: false,
2681
2681
  input: directDeliveryInput,