@mindstudio-ai/agent 0.1.97 → 0.1.99

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/llms.txt CHANGED
@@ -179,7 +179,7 @@ result.content; // step-specific output field
179
179
  result.$appId; // string — app ID for this execution
180
180
  result.$threadId; // string — thread ID for this execution
181
181
  result.$rateLimitRemaining; // number | undefined — API calls remaining in rate limit window
182
- result.$billingCost; // number | undefined — cost in credits for this call
182
+ result.$billingCost; // number | undefined — cost in nanodollars (1e-9 USD; divide by 1e9 for dollars, e.g. 40000000 = $0.04)
183
183
  result.$billingEvents; // object[] | undefined — itemized billing events
184
184
  ```
185
185
 
@@ -239,8 +239,8 @@ result.results; // BatchStepResult[] — same order as input
239
239
  result.results[0].stepType; // string
240
240
  result.results[0].output; // object | undefined (step output on success)
241
241
  result.results[0].error; // string | undefined (error message on failure)
242
- result.results[0].billingCost; // number | undefined (cost on success)
243
- result.totalBillingCost; // number | undefined
242
+ result.results[0].billingCost; // number | undefined (cost in nanodollars on success)
243
+ result.totalBillingCost; // number | undefined — nanodollars (divide by 1e9 for USD)
244
244
  result.appId; // string
245
245
  result.threadId; // string
246
246
  ```
@@ -1769,9 +1769,9 @@ Output:
1769
1769
  estimates?: {
1770
1770
  eventType: string; // Billing event type
1771
1771
  label: string; // Human-readable cost label
1772
- unitPrice: number; // Price per unit in billing units
1772
+ unitPrice: number; // Price per unit in nanodollars (1e-9 USD)
1773
1773
  unitType: string; // What constitutes a unit (e.g. "token", "request")
1774
- estimatedCost?: number; // Estimated total cost, or null if not estimable
1774
+ estimatedCost?: number; // Estimated total cost in nanodollars, or null if not estimable
1775
1775
  quantity: number; // Number of billable units
1776
1776
  }[]
1777
1777
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindstudio-ai/agent",
3
- "version": "0.1.97",
3
+ "version": "0.1.99",
4
4
  "description": "TypeScript SDK for MindStudio direct step execution",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",