-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
116 lines (116 loc) · 3.67 KB
/
package.json
File metadata and controls
116 lines (116 loc) · 3.67 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
{
"name": "claude-meter",
"displayName": "Claude Meter",
"description": "Shows Claude subscription usage limits (daily & weekly) as percentages in the VS Code status bar. Auto-detects Claude Code credentials.",
"version": "1.3.0",
"publisher": "DataWrights",
"engines": {
"vscode": "^1.94.0"
},
"icon": "ClaudeMeter.png",
"license": "MIT",
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/data-wrights/claude-meter"
},
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "claudeMeter.refresh",
"title": "Claude Meter: Refresh Now"
},
{
"command": "claudeMeter.showDetails",
"title": "Claude Meter: Show Details"
},
{
"command": "claudeMeter.configure",
"title": "Claude Meter: Enter Token"
},
{
"command": "claudeMeter.clearToken",
"title": "Claude Meter: Clear Cached Token"
}
],
"configuration": {
"title": "Claude Meter",
"properties": {
"claudeMeter.refreshIntervalMinutes": {
"type": "number",
"default": 10,
"minimum": 1,
"maximum": 60,
"description": "How often (in minutes) to refresh usage data from the Anthropic API."
},
"claudeMeter.manualToken": {
"type": "string",
"default": "",
"markdownDescription": "Override the auto-detected OAuth token. Leave empty to auto-read from `~/.claude/.credentials.json`. Accepts an OAuth bearer token from Claude Code."
},
"claudeMeter.accountUuid": {
"type": "string",
"default": "",
"markdownDescription": "Your personal Claude account UUID, used for enterprise spend data. Leave empty for auto-detection. Find it in the `account_uuid` query parameter when viewing your usage page at claude.ai."
},
"claudeMeter.statusBarPosition": {
"type": "string",
"enum": [
"left",
"right"
],
"default": "right",
"description": "Which side of the status bar to place the usage item."
},
"claudeMeter.statusBarPriority": {
"type": "number",
"default": 100,
"description": "Priority of the status bar item. Higher values appear further left within the chosen side."
},
"claudeMeter.showModelBreakdown": {
"type": "boolean",
"default": false,
"description": "Show per-model (Opus/Sonnet) breakdown in the status bar tooltip."
},
"claudeMeter.displayMode": {
"type": "string",
"enum": [
"used",
"remaining"
],
"default": "used",
"description": "Whether to display usage as percent used or percent remaining."
},
"claudeMeter.notifyAtThreshold": {
"type": "number",
"default": 0.9,
"minimum": 0.1,
"maximum": 1.0,
"description": "Show a warning notification when any usage window reaches this fraction (0.0–1.0). Set to 1.0 to disable."
},
"claudeMeter.notifyOnReset": {
"type": "boolean",
"default": true,
"description": "Show a notification when a previously exhausted usage window resets."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/node": "^22.0.0",
"@types/vscode": "^1.94.0",
"@vscode/vsce": "^3.0.0",
"typescript": "^5.6.0"
}
}