@standardagents/spec 0.41.24 → 0.41.25
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/index.d.ts +7 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1592,7 +1592,11 @@ interface ThreadLogEntry {
|
|
|
1592
1592
|
error?: string;
|
|
1593
1593
|
/** Wall-clock duration of the operation in milliseconds (finite, ≥ 0). */
|
|
1594
1594
|
duration_ms?: number;
|
|
1595
|
-
/**
|
|
1595
|
+
/**
|
|
1596
|
+
* Cost of the operation in USD, when it cost money (finite, ≥ 0). Counts
|
|
1597
|
+
* toward the thread's cost totals alongside its LLM request costs, so a
|
|
1598
|
+
* thread's reported cost includes what its application work spent.
|
|
1599
|
+
*/
|
|
1596
1600
|
cost?: number;
|
|
1597
1601
|
/** The event that caused this entry. */
|
|
1598
1602
|
trigger?: ThreadLogTrigger;
|
|
@@ -2746,7 +2750,8 @@ interface ThreadState {
|
|
|
2746
2750
|
* execution, and never throws because an entry is too large (see
|
|
2747
2751
|
* {@link ThreadLogEntry} for the size bounds). An entry may record a plain
|
|
2748
2752
|
* event or a whole operation: its outcome, what triggered it, what was sent,
|
|
2749
|
-
* what came back, its duration and its cost.
|
|
2753
|
+
* what came back, its duration and its cost. A `cost` counts toward the
|
|
2754
|
+
* thread's cost totals.
|
|
2750
2755
|
*
|
|
2751
2756
|
* @example
|
|
2752
2757
|
* ```typescript
|