@ornncompute/cli 1.0.426 → 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.426",
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));