@ornncompute/cli 1.0.371 → 1.0.372
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 +2 -2
- package/package.json +1 -1
- package/vendor/capabilities/cli.js +4 -5
package/README.md
CHANGED
|
@@ -174,8 +174,8 @@ billing stay in the web app. Launch consumes already allocated
|
|
|
174
174
|
capacity; internal reservation lookups remain necessary for access and
|
|
175
175
|
ownership.
|
|
176
176
|
|
|
177
|
-
Where upfront
|
|
178
|
-
|
|
177
|
+
Where upfront payment is required, `reservations buy` directs you to
|
|
178
|
+
[Buy Now → Fixed term](https://compute.ornn.com/market) to review and pay for the booking.
|
|
179
179
|
|
|
180
180
|
Only admins can create primary listings or reservations through
|
|
181
181
|
`ornn admin capacity-offers create` and `ornn admin reservations create`.
|
package/package.json
CHANGED
|
@@ -2835,11 +2835,11 @@ var adminReservationsCreateCapability = defineCapability({
|
|
|
2835
2835
|
id: "reservations.create",
|
|
2836
2836
|
domain: "reservations",
|
|
2837
2837
|
roles: ["admin"],
|
|
2838
|
-
description: "Book a window of a listing term for a customer organization (admin).
|
|
2838
|
+
description: "Book a separately billed window of a listing term for a customer organization (admin). The booking becomes the customer's reservation when its window starts. Returns {bookings}.",
|
|
2839
2839
|
mutation: "preview-confirm",
|
|
2840
2840
|
cli: {
|
|
2841
2841
|
command: ["admin", "reservations", "create"],
|
|
2842
|
-
vnext: adminHelp("Book a listing term window for a customer organization.", "ornn admin reservations create --organization-id UUID --listing-id UUID --listing-term-id UUID --nodes COUNT --starts-at TIME --ends-at TIME --price-per-gpu-hour-micro-usd N --idempotency-key KEY", "Requires an eligible human terminal. Reuse --idempotency-key when retrying the same booking.", "Customer organization, listing, term, nodes, window, price, and idempotency key are reviewed before default-no consent.")
|
|
2842
|
+
vnext: adminHelp("Book a separately billed listing term window for a customer organization.", "ornn admin reservations create --organization-id UUID --listing-id UUID --listing-term-id UUID --nodes COUNT --starts-at TIME --ends-at TIME --price-per-gpu-hour-micro-usd N --idempotency-key KEY", "Requires an eligible human terminal. Reuse --idempotency-key when retrying the same booking.", "Customer organization, listing, term, nodes, window, price, and idempotency key are reviewed before default-no consent.")
|
|
2843
2843
|
},
|
|
2844
2844
|
input: reservationCreateInput,
|
|
2845
2845
|
execute: async (ctx, input) => {
|
|
@@ -3182,7 +3182,7 @@ var reservationPurchaseCapability = defineCapability({
|
|
|
3182
3182
|
id: "reservations.purchase",
|
|
3183
3183
|
domain: "reservations",
|
|
3184
3184
|
roles: ["user"],
|
|
3185
|
-
description: "Book a window of
|
|
3185
|
+
description: "Book a window of relisted capacity at its term's price. If upfront payment is required, complete the purchase in Buy Now \u2192 Fixed term in the web console. The booking becomes your reservation when its window starts. Primary listings take offers through offers.post.",
|
|
3186
3186
|
mutation: "preview-confirm",
|
|
3187
3187
|
input: reservationPurchaseInput,
|
|
3188
3188
|
cli: {
|
|
@@ -3210,8 +3210,7 @@ var reservationPurchaseCapability = defineCapability({
|
|
|
3210
3210
|
value: parsed.nodeCount !== void 0 ? String(parsed.nodeCount) : "Every node on the listing"
|
|
3211
3211
|
},
|
|
3212
3212
|
{ label: "Window", value: `${parsed.startsAt} to ${parsed.endsAt}` },
|
|
3213
|
-
{ label: "Price", value: microUsdLabel(parsed.pricePerGpuHourMicroUsd) }
|
|
3214
|
-
{ label: "Payment", value: "Nothing is charged when you book." }
|
|
3213
|
+
{ label: "Price", value: microUsdLabel(parsed.pricePerGpuHourMicroUsd) }
|
|
3215
3214
|
], body2);
|
|
3216
3215
|
if (gate)
|
|
3217
3216
|
return gate;
|