@stigmer/ink 0.3.4 → 0.4.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.
|
@@ -7,7 +7,7 @@ export interface UsageWidgetProps {
|
|
|
7
7
|
/**
|
|
8
8
|
* Compact terminal widget showing session-level token usage and cost.
|
|
9
9
|
*
|
|
10
|
-
* Aggregates
|
|
10
|
+
* Aggregates usage data from `usageSummary` across all executions
|
|
11
11
|
* in the session. Renders nothing when no usage data is available.
|
|
12
12
|
*
|
|
13
13
|
* Uses the headless {@link useSessionUsage} hook from `@stigmer/react`.
|
|
@@ -4,7 +4,7 @@ import { useSessionUsage, formatCost, formatTokenCount } from "@stigmer/react";
|
|
|
4
4
|
/**
|
|
5
5
|
* Compact terminal widget showing session-level token usage and cost.
|
|
6
6
|
*
|
|
7
|
-
* Aggregates
|
|
7
|
+
* Aggregates usage data from `usageSummary` across all executions
|
|
8
8
|
* in the session. Renders nothing when no usage data is available.
|
|
9
9
|
*
|
|
10
10
|
* Uses the headless {@link useSessionUsage} hook from `@stigmer/react`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stigmer/ink",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Ink (React for terminals) components for rendering Stigmer agent sessions in the terminal",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@connectrpc/connect-node": "^2.1.1",
|
|
35
|
-
"@stigmer/react": "0.
|
|
35
|
+
"@stigmer/react": "0.4.0",
|
|
36
36
|
"ink-spinner": "^5.0.0",
|
|
37
37
|
"ink-text-input": "^6.0.0",
|
|
38
38
|
"marked": "^15.0.7",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@bufbuild/protobuf": "^2.0.0",
|
|
43
|
-
"@stigmer/protos": "0.
|
|
44
|
-
"@stigmer/sdk": "0.
|
|
43
|
+
"@stigmer/protos": "0.4.0",
|
|
44
|
+
"@stigmer/sdk": "0.4.0",
|
|
45
45
|
"ink": "^7.0.0",
|
|
46
46
|
"react": ">=19.0.0"
|
|
47
47
|
}
|
|
@@ -12,7 +12,7 @@ export interface UsageWidgetProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* Compact terminal widget showing session-level token usage and cost.
|
|
14
14
|
*
|
|
15
|
-
* Aggregates
|
|
15
|
+
* Aggregates usage data from `usageSummary` across all executions
|
|
16
16
|
* in the session. Renders nothing when no usage data is available.
|
|
17
17
|
*
|
|
18
18
|
* Uses the headless {@link useSessionUsage} hook from `@stigmer/react`.
|