@mbeato/contextscope 0.1.6 → 0.2.1
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/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/_global-error.html +1 -1
- package/.next/standalone/.next/server/app/_global-error.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.html +1 -1
- package/.next/standalone/.next/server/app/_not-found.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/items/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0j40w4k._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0p2sxww._.js +1 -1
- package/.next/standalone/.next/server/middleware-build-manifest.js +3 -3
- package/.next/standalone/.next/server/pages/404.html +1 -1
- package/.next/standalone/.next/server/pages/500.html +1 -1
- package/.next/standalone/README.md +16 -6
- package/.next/standalone/bin/cli.js +23 -8
- package/.next/standalone/bin/summary.js +558 -0
- package/.next/standalone/lib/model-prices.json +8 -1
- package/.next/standalone/package.json +2 -1
- package/.next/standalone/plugin/commands/usage.md +1 -1
- package/README.md +16 -6
- package/bin/cli.js +23 -8
- package/bin/summary.js +558 -0
- package/lib/model-prices.json +154 -0
- package/package.json +2 -1
- package/plugin/commands/usage.md +1 -1
- /package/.next/static/{uI28k7hBjH7vKGE3jdIaM → hTCV3lK0B2IRaMNjyuu-5}/_buildManifest.js +0 -0
- /package/.next/static/{uI28k7hBjH7vKGE3jdIaM → hTCV3lK0B2IRaMNjyuu-5}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{uI28k7hBjH7vKGE3jdIaM → hTCV3lK0B2IRaMNjyuu-5}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_source": "https://raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json",
|
|
3
|
+
"_refreshedAt": "2026-05-30T19:17:56.836Z",
|
|
4
|
+
"_description": "Anthropic model prices in USD per token (input, output, cache_read, cache_creation 5min default). Refresh with `npm run refresh-prices`.",
|
|
5
|
+
"models": {
|
|
6
|
+
"claude-3-7-sonnet-20250219": {
|
|
7
|
+
"input": 0.000003,
|
|
8
|
+
"output": 0.000015,
|
|
9
|
+
"cache_read": 3e-7,
|
|
10
|
+
"cache_creation_5m": 0.00000375,
|
|
11
|
+
"cache_creation_1h": 0.000006
|
|
12
|
+
},
|
|
13
|
+
"claude-3-haiku-20240307": {
|
|
14
|
+
"input": 2.5e-7,
|
|
15
|
+
"output": 0.00000125,
|
|
16
|
+
"cache_read": 3e-8,
|
|
17
|
+
"cache_creation_5m": 3e-7,
|
|
18
|
+
"cache_creation_1h": 0.000006
|
|
19
|
+
},
|
|
20
|
+
"claude-3-opus-20240229": {
|
|
21
|
+
"input": 0.000015,
|
|
22
|
+
"output": 0.000075,
|
|
23
|
+
"cache_read": 0.0000015,
|
|
24
|
+
"cache_creation_5m": 0.00001875,
|
|
25
|
+
"cache_creation_1h": 0.000006
|
|
26
|
+
},
|
|
27
|
+
"claude-4-opus-20250514": {
|
|
28
|
+
"input": 0.000015,
|
|
29
|
+
"output": 0.000075,
|
|
30
|
+
"cache_read": 0.0000015,
|
|
31
|
+
"cache_creation_5m": 0.00001875,
|
|
32
|
+
"cache_creation_1h": 0.0000375
|
|
33
|
+
},
|
|
34
|
+
"claude-4-sonnet-20250514": {
|
|
35
|
+
"input": 0.000003,
|
|
36
|
+
"output": 0.000015,
|
|
37
|
+
"cache_read": 3e-7,
|
|
38
|
+
"cache_creation_5m": 0.00000375,
|
|
39
|
+
"cache_creation_1h": 0.0000075
|
|
40
|
+
},
|
|
41
|
+
"claude-haiku-4-5": {
|
|
42
|
+
"input": 0.000001,
|
|
43
|
+
"output": 0.000005,
|
|
44
|
+
"cache_read": 1e-7,
|
|
45
|
+
"cache_creation_5m": 0.00000125,
|
|
46
|
+
"cache_creation_1h": 0.000002
|
|
47
|
+
},
|
|
48
|
+
"claude-haiku-4-5-20251001": {
|
|
49
|
+
"input": 0.000001,
|
|
50
|
+
"output": 0.000005,
|
|
51
|
+
"cache_read": 1e-7,
|
|
52
|
+
"cache_creation_5m": 0.00000125,
|
|
53
|
+
"cache_creation_1h": 0.000002
|
|
54
|
+
},
|
|
55
|
+
"claude-opus-4-1": {
|
|
56
|
+
"input": 0.000015,
|
|
57
|
+
"output": 0.000075,
|
|
58
|
+
"cache_read": 0.0000015,
|
|
59
|
+
"cache_creation_5m": 0.00001875,
|
|
60
|
+
"cache_creation_1h": 0.00003
|
|
61
|
+
},
|
|
62
|
+
"claude-opus-4-1-20250805": {
|
|
63
|
+
"input": 0.000015,
|
|
64
|
+
"output": 0.000075,
|
|
65
|
+
"cache_read": 0.0000015,
|
|
66
|
+
"cache_creation_5m": 0.00001875,
|
|
67
|
+
"cache_creation_1h": 0.00003
|
|
68
|
+
},
|
|
69
|
+
"claude-opus-4-20250514": {
|
|
70
|
+
"input": 0.000015,
|
|
71
|
+
"output": 0.000075,
|
|
72
|
+
"cache_read": 0.0000015,
|
|
73
|
+
"cache_creation_5m": 0.00001875,
|
|
74
|
+
"cache_creation_1h": 0.00003
|
|
75
|
+
},
|
|
76
|
+
"claude-opus-4-5": {
|
|
77
|
+
"input": 0.000005,
|
|
78
|
+
"output": 0.000025,
|
|
79
|
+
"cache_read": 5e-7,
|
|
80
|
+
"cache_creation_5m": 0.00000625,
|
|
81
|
+
"cache_creation_1h": 0.00001
|
|
82
|
+
},
|
|
83
|
+
"claude-opus-4-5-20251101": {
|
|
84
|
+
"input": 0.000005,
|
|
85
|
+
"output": 0.000025,
|
|
86
|
+
"cache_read": 5e-7,
|
|
87
|
+
"cache_creation_5m": 0.00000625,
|
|
88
|
+
"cache_creation_1h": 0.00001
|
|
89
|
+
},
|
|
90
|
+
"claude-opus-4-6": {
|
|
91
|
+
"input": 0.000005,
|
|
92
|
+
"output": 0.000025,
|
|
93
|
+
"cache_read": 5e-7,
|
|
94
|
+
"cache_creation_5m": 0.00000625,
|
|
95
|
+
"cache_creation_1h": 0.00001
|
|
96
|
+
},
|
|
97
|
+
"claude-opus-4-6-20260205": {
|
|
98
|
+
"input": 0.000005,
|
|
99
|
+
"output": 0.000025,
|
|
100
|
+
"cache_read": 5e-7,
|
|
101
|
+
"cache_creation_5m": 0.00000625,
|
|
102
|
+
"cache_creation_1h": 0.00001
|
|
103
|
+
},
|
|
104
|
+
"claude-opus-4-7": {
|
|
105
|
+
"input": 0.000005,
|
|
106
|
+
"output": 0.000025,
|
|
107
|
+
"cache_read": 5e-7,
|
|
108
|
+
"cache_creation_5m": 0.00000625,
|
|
109
|
+
"cache_creation_1h": 0.00001
|
|
110
|
+
},
|
|
111
|
+
"claude-opus-4-7-20260416": {
|
|
112
|
+
"input": 0.000005,
|
|
113
|
+
"output": 0.000025,
|
|
114
|
+
"cache_read": 5e-7,
|
|
115
|
+
"cache_creation_5m": 0.00000625,
|
|
116
|
+
"cache_creation_1h": 0.00001
|
|
117
|
+
},
|
|
118
|
+
"claude-opus-4-8": {
|
|
119
|
+
"input": 0.000005,
|
|
120
|
+
"output": 0.000025,
|
|
121
|
+
"cache_read": 5e-7,
|
|
122
|
+
"cache_creation_5m": 0.00000625,
|
|
123
|
+
"cache_creation_1h": 0.00001
|
|
124
|
+
},
|
|
125
|
+
"claude-sonnet-4-20250514": {
|
|
126
|
+
"input": 0.000003,
|
|
127
|
+
"output": 0.000015,
|
|
128
|
+
"cache_read": 3e-7,
|
|
129
|
+
"cache_creation_5m": 0.00000375,
|
|
130
|
+
"cache_creation_1h": 0.000006
|
|
131
|
+
},
|
|
132
|
+
"claude-sonnet-4-5": {
|
|
133
|
+
"input": 0.000003,
|
|
134
|
+
"output": 0.000015,
|
|
135
|
+
"cache_read": 3e-7,
|
|
136
|
+
"cache_creation_5m": 0.00000375,
|
|
137
|
+
"cache_creation_1h": 0.0000075
|
|
138
|
+
},
|
|
139
|
+
"claude-sonnet-4-5-20250929": {
|
|
140
|
+
"input": 0.000003,
|
|
141
|
+
"output": 0.000015,
|
|
142
|
+
"cache_read": 3e-7,
|
|
143
|
+
"cache_creation_5m": 0.00000375,
|
|
144
|
+
"cache_creation_1h": 0.0000075
|
|
145
|
+
},
|
|
146
|
+
"claude-sonnet-4-6": {
|
|
147
|
+
"input": 0.000003,
|
|
148
|
+
"output": 0.000015,
|
|
149
|
+
"cache_read": 3e-7,
|
|
150
|
+
"cache_creation_5m": 0.00000375,
|
|
151
|
+
"cache_creation_1h": 0.0000075
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mbeato/contextscope",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Local dashboard auditing Claude Code's per-turn token context (skills, agents, commands, CLAUDE.md, MEMORY.md, hooks, MCP) with toggle-based disable and session analytics.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
20
|
"bin",
|
|
21
|
+
"lib/model-prices.json",
|
|
21
22
|
".next/standalone",
|
|
22
23
|
".next/static",
|
|
23
24
|
"public",
|
package/plugin/commands/usage.md
CHANGED
|
@@ -7,7 +7,7 @@ allowed-tools: Bash
|
|
|
7
7
|
The user wants to open the contextscope dashboard. Run this **once** in a background bash invocation:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npx @mbeato/contextscope --no-open > /tmp/contextscope.log 2>&1 &
|
|
10
|
+
npx @mbeato/contextscope ui --no-open > /tmp/contextscope.log 2>&1 &
|
|
11
11
|
sleep 2
|
|
12
12
|
grep "running on" /tmp/contextscope.log | tail -1
|
|
13
13
|
```
|
|
File without changes
|
/package/.next/static/{uI28k7hBjH7vKGE3jdIaM → hTCV3lK0B2IRaMNjyuu-5}/_clientMiddlewareManifest.js
RENAMED
|
File without changes
|
|
File without changes
|