@ornncompute/cli 1.0.425 → 1.0.427

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.425",
3
+ "version": "1.0.427",
4
4
  "description": "Command-line interface for Ornn compute access workflows.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -488,7 +488,7 @@ var inferenceCapabilities = [
488
488
  }),
489
489
  operation({
490
490
  command: ["charges", "list"],
491
- description: "Read recorded inference charges. Use view=provider for this provider's earnings; summary=daily returns daily and per-model totals for providers. Amounts are exact decimal strings in USD cents. Unaccounted requests have no receipt; pass next_cursor as cursor.",
491
+ description: "Read your organization's recorded inference charges. Use summary=daily for daily and per-model totals. Use view=provider for provider earnings. Amounts are exact decimal strings in USD cents. Pass next_cursor as cursor for itemized receipts.",
492
492
  input: charges,
493
493
  usage: `${chargeUsage} [--view provider]`,
494
494
  execute: readCharges
@@ -5140,6 +5140,8 @@ import { z as z22 } from "zod";
5140
5140
 
5141
5141
  // ../../packages/capabilities/dist/ledger-amount.js
5142
5142
  function parsePostingCents(value) {
5143
+ if (value == null)
5144
+ return null;
5143
5145
  if (typeof value === "number" && !Number.isSafeInteger(value))
5144
5146
  return null;
5145
5147
  const match = /^(-?\d+)(?:\.(\d+))?$/.exec(String(value));
@@ -5173,7 +5175,7 @@ var creditBalanceCapability = defineCapability({
5173
5175
  id: "credits.balance",
5174
5176
  domain: "billing",
5175
5177
  roles: ["admin"],
5176
- description: "Read an organization's available Ornn credits in USD cents. Resolve the exact organization with organization_list first; ask if ambiguous. Read-only, no confirmation required. This is not the grant history or card balance.",
5178
+ description: "Read an organization's available Ornn credits in USD cents. Resolve the exact organization with organization_list first. When several match, it runs only for the one the operator picked. Read-only, no confirmation required. This is not the grant history or card balance.",
5177
5179
  mutation: "read",
5178
5180
  mcp: false,
5179
5181
  slack: {
@@ -5200,7 +5202,7 @@ var creditBalanceCapability = defineCapability({
5200
5202
  }
5201
5203
  });
5202
5204
  var creditGrantInput = z22.object({
5203
- organizationId: z22.uuid().describe("Customer organization UUID. Resolve names or emails with organization_list; ask which organization if matches are ambiguous."),
5205
+ organizationId: z22.uuid().describe("Customer organization UUID. Resolve names or emails with organization_list. When several match, the grant is staged only for the one the operator picked."),
5204
5206
  adjustmentId: z22.uuid().describe("The credit-adjustment API's required grant UUID. Keep the same UUID when confirming this grant."),
5205
5207
  amountCents: z22.number().int().min(1).max(1e8).describe("USD cents: 10000 grants $100.00."),
5206
5208
  direction: z22.enum(["credit", "debit"]).default("credit").describe("credit adds funds (default); debit removes funds. Choose explicitly for a debit."),