@spendgraph/graph 0.7.0 → 0.8.0
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/types/result.d.ts +9 -0
- package/package.json +3 -2
package/dist/types/result.d.ts
CHANGED
|
@@ -13,6 +13,15 @@ export interface GraphResult {
|
|
|
13
13
|
/** Summed across every step, nested ones included. */
|
|
14
14
|
inputTokens: number;
|
|
15
15
|
outputTokens: number;
|
|
16
|
+
/**
|
|
17
|
+
* The counts a provider bills apart from input and output, summed the same
|
|
18
|
+
* way — each present only where some node actually reported it, so absence
|
|
19
|
+
* is the claim that nothing was billed under it rather than a zero.
|
|
20
|
+
*/
|
|
21
|
+
cacheReadTokens?: number;
|
|
22
|
+
cacheWriteTokens?: number;
|
|
23
|
+
citationTokens?: number;
|
|
24
|
+
reasoningTokens?: number;
|
|
16
25
|
/** The question a node stopped to ask, where one did; `status` still says the graph itself ran. */
|
|
17
26
|
waitingOn?: Wait;
|
|
18
27
|
/** The nested run to resume, where it named one. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spendgraph/graph",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Wire nodes into a graph, run it, and get back a rollout with every step.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -36,9 +36,10 @@
|
|
|
36
36
|
"README.md"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@spendgraph/sdk": "^0.
|
|
39
|
+
"@spendgraph/sdk": "^0.8.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
+
"@spendgraph/config": "0.8.0",
|
|
42
43
|
"typescript": "^5"
|
|
43
44
|
},
|
|
44
45
|
"engines": {
|