@mindstudio-ai/agent 0.1.98 → 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/dist/cli.js +7 -7
- package/dist/index.d.ts +10 -6
- package/dist/index.js.map +1 -1
- package/dist/postinstall.js +7 -7
- package/llms.txt +5 -5
- package/package.json +1 -1
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
|
|
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
|
|
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
|
}
|