Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
192 lines (192 loc) · 5.46 KB
/
Copy pathpackage.json
File metadata and controls
192 lines (192 loc) · 5.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
{
"name": "claude-code-usage",
"displayName": "Claude Code Usage",
"description": "Local Claude Code and OpenAI Codex token usage, cache, and quota tracker in the VS Code status bar",
"version": "2.1.1",
"publisher": "GrowthJack",
"author": "GrowthJack",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ClaudeCodeUsage/ClaudeCodeUsage.git"
},
"bugs": {
"url": "https://github.com/ClaudeCodeUsage/ClaudeCodeUsage/issues"
},
"homepage": "https://github.com/ClaudeCodeUsage/ClaudeCodeUsage",
"keywords": [
"claude",
"claude-code",
"claude-code-usage",
"codex",
"openai",
"openai-codex",
"local-usage",
"usage",
"cost",
"monitoring",
"ai",
"anthropic",
"token",
"status-bar",
"codex-usage",
"token-usage",
"quota",
"usage-tracker",
"token-tracker"
],
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other",
"Visualization"
],
"icon": "icon.png",
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Claude Code Usage",
"properties": {
"claudeCodeUsage.dataDirectory": {
"type": "string",
"default": "",
"description": "Custom Claude data directory path (leave empty for auto-detection)"
},
"claudeCodeUsage.codex.dataDirectory": {
"type": "string",
"default": "",
"description": "Custom Codex data directory (leave empty for CODEX_HOME or ~/.codex)"
},
"claudeCodeUsage.language": {
"type": "string",
"enum": [
"auto",
"en",
"de-DE",
"zh-TW",
"zh-CN",
"ja",
"ko",
"pt-BR",
"id"
],
"default": "auto",
"description": "Display language (auto-detection or manual selection). All other settings now live in the dashboard's ⚙ Settings tab (Show Usage Details)."
}
}
},
"commands": [
{
"command": "claudeCodeUsage.refresh",
"title": "Refresh Usage Data",
"category": "Claude Code Usage"
},
{
"command": "claudeCodeUsage.showDetails",
"title": "Show Usage Details",
"category": "Claude Code Usage"
},
{
"command": "claudeCodeUsage.openSettings",
"title": "Open Settings",
"category": "Claude Code Usage"
},
{
"command": "claudeCodeUsage.refreshPricing",
"title": "Refresh Token Pricing",
"category": "Claude Code Usage"
},
{
"command": "claudeCodeUsage.getAdvice",
"title": "Get AI Usage Advice",
"category": "Claude Code Usage"
},
{
"command": "claudeCodeUsage.showLogs",
"title": "Show Diagnostic Logs",
"category": "Claude Code Usage"
},
{
"command": "claudeCodeUsage.exportHeatmap",
"title": "Export Token Heatmap (GitHub style SVG)",
"category": "Claude Code Usage"
},
{
"command": "claudeCodeUsage.exportShareCard",
"title": "Export Usage Share Card (SVG)",
"category": "Claude Code Usage"
},
{
"command": "claudeCodeUsage.publishHeatmapToGitHub",
"title": "Publish Token Heatmap to GitHub",
"category": "Claude Code Usage"
},
{
"command": "claudeCodeUsage.previewWhatsNew",
"title": "Preview What's New",
"category": "Claude Code Usage"
},
{
"command": "claudeCodeUsage.manageLocalData",
"title": "Manage Local Data and Privacy",
"category": "Claude Code Usage"
},
{
"command": "claudeCodeUsage.rebuildCodexIndex",
"title": "Rebuild Codex Derived Index",
"category": "Claude Code Usage"
},
{
"command": "claudeCodeUsage.clearQuotaHistory",
"title": "Clear Quota Observation History…",
"category": "Claude Code Usage"
},
{
"command": "claudeCodeUsage.clearAdviceData",
"title": "Clear Local Advice Data…",
"category": "Claude Code Usage"
},
{
"command": "claudeCodeUsage.resetUiState",
"title": "Reset Dashboard UI State…",
"category": "Claude Code Usage"
},
{
"command": "claudeCodeUsage.resetSharingPreferences",
"title": "Reset Sharing Preferences…",
"category": "Claude Code Usage"
},
{
"command": "claudeCodeUsage.clearByokSecret",
"title": "Clear BYOK Advice Secret…",
"category": "Claude Code Usage"
},
{
"command": "claudeCodeUsage.clearAllDerivedData",
"title": "Clear All Extension-Derived Data…",
"category": "Claude Code Usage"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "npm run test:node",
"test:node": "npm run compile && node --test out/test/*.test.js .github/scripts/*.test.mjs",
"test:ui": "npm run compile && playwright test",
"test:ui:update": "npm run compile && playwright test --update-snapshots",
"test:release": "npm run test:node && npm run test:ui"
},
"devDependencies": {
"@axe-core/playwright": "4.12.1",
"@playwright/test": "1.61.1",
"@types/node": "24.0.15",
"@types/vscode": "^1.74.0",
"typescript": "^5.8.3"
}
}