@ornncompute/cli 1.0.321 → 1.0.322

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
@@ -57,7 +57,7 @@ still requires a user session. See the [customer guide](../../docs-site/api-keys
57
57
 
58
58
  ## Inference
59
59
 
60
- `ornn inference` covers model and listing discovery, completions, decisions, request history/usage, recorded
60
+ `ornn inference` covers model discovery, listing search and lookup by UUID, completions, decisions, request history/usage, recorded
61
61
  charges, and provider listing management through the shared capability catalog.
62
62
  `ornn admin inference` exposes staff listing, request, and charge operations after
63
63
  the standard staff preflight. Both use native gateway routes and existing auth.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ornncompute/cli",
3
- "version": "1.0.321",
3
+ "version": "1.0.322",
4
4
  "description": "Command-line interface for Ornn compute access workflows.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -14,6 +14,12 @@ function listInferenceListings(request, query3 = {}, signal) {
14
14
  signal
15
15
  });
16
16
  }
17
+ function getInferenceListing(request, listingId2, signal) {
18
+ return request(`/v1/inference/listings/${encodeURIComponent(listingId2)}`, {
19
+ method: "GET",
20
+ signal
21
+ });
22
+ }
17
23
  function postInference(fetcher, path6, body2, listingId2, signal) {
18
24
  return fetcher(path6, {
19
25
  method: "POST",
@@ -308,6 +314,13 @@ var inferenceCapabilities = [
308
314
  usage: "[--public-model-id ID]",
309
315
  execute: (ctx, input) => listInferenceListings(ctx.fetch, input)
310
316
  }),
317
+ operation({
318
+ command: ["listings", "show"],
319
+ description: "Read an available inference offer and its current token prices by listing UUID.",
320
+ input: listingId,
321
+ usage: "--listing-id UUID",
322
+ execute: (ctx, { listing_id }) => getInferenceListing(ctx.fetch, listing_id)
323
+ }),
311
324
  operation({
312
325
  command: ["completions", "create"],
313
326
  description: "Call an inference model using a Chat Completions body. Generation parameters pass through unchanged. Spends the organization's credits; returns the upstream JSON response. MCP uses non-streaming responses.",