clawsage 1.0.1 → 1.0.6
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/README.md +13 -13
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# clawsage
|
|
2
2
|
|
|
3
3
|
OpenClaw Usage — cost analysis CLI for OpenClaw session logs.
|
|
4
4
|
|
|
@@ -6,17 +6,17 @@ OpenClaw Usage — cost analysis CLI for OpenClaw session logs.
|
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
# Run without installing
|
|
9
|
-
npx
|
|
10
|
-
bunx
|
|
9
|
+
npx clawsage@latest
|
|
10
|
+
bunx clawsage@latest
|
|
11
11
|
|
|
12
12
|
# Or install globally
|
|
13
|
-
npm install -g
|
|
13
|
+
npm install -g clawsage
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
## Usage
|
|
17
17
|
|
|
18
18
|
```
|
|
19
|
-
|
|
19
|
+
clawsage [command] [options]
|
|
20
20
|
|
|
21
21
|
Commands:
|
|
22
22
|
daily (default) Aggregate costs by date
|
|
@@ -37,14 +37,14 @@ Options:
|
|
|
37
37
|
## Examples
|
|
38
38
|
|
|
39
39
|
```bash
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
40
|
+
clawsage # Daily report
|
|
41
|
+
clawsage daily # Daily report
|
|
42
|
+
clawsage monthly # Monthly report
|
|
43
|
+
clawsage weekly # Weekly report
|
|
44
|
+
clawsage session # Per-session breakdown
|
|
45
|
+
clawsage --since 20260301 # Filter from March 2026
|
|
46
|
+
clawsage --json # JSON output
|
|
47
|
+
clawsage --breakdown # Per-model cost breakdown
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
## Data Source
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clawsage",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "CLI tool for analyzing OpenClaw token usage and costs from local session logs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"
|
|
7
|
+
"clawsage": "./src/cli.js"
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"src/"
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"repository": {
|
|
28
28
|
"type": "git",
|
|
29
|
-
"url": "git+https://github.com/its-clawdia/
|
|
29
|
+
"url": "git+https://github.com/its-clawdia/clawsage.git"
|
|
30
30
|
},
|
|
31
|
-
"homepage": "https://github.com/its-clawdia/
|
|
31
|
+
"homepage": "https://github.com/its-clawdia/clawsage#readme",
|
|
32
32
|
"engines": {
|
|
33
33
|
"node": ">=18"
|
|
34
34
|
}
|