-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 1.99 KB
/
package.json
File metadata and controls
65 lines (65 loc) · 1.99 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
{
"name": "cursor-spend-tracker",
"displayName": "Cursor Spend Tracker",
"description": "Shows your Cursor on-demand spending in the status bar",
"version": "0.0.0-dev",
"icon": "images/icon128.png",
"author": "Moritz Fain <moritz@fain.io> (https://github.com/maurice2k)",
"publisher": "maurice2k",
"repository": {
"type": "git",
"url": "https://github.com/maurice2k/cursor-spend-tracker"
},
"homepage": "https://github.com/maurice2k/cursor-spend-tracker",
"engines": { "vscode": "^1.101.0" },
"categories": ["Other"],
"activationEvents": ["onStartupFinished"],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "Cursor Spend Tracker",
"properties": {
"cursorSpendTracker.refreshIntervalSeconds": {
"type": "number",
"default": 300,
"description": "How often to refresh usage data (in seconds)"
},
"cursorSpendTracker.costlyRequestThreshold": {
"type": "number",
"default": 2.0,
"description": "Threshold in USD for a costly request (for alerts and tracking)"
},
"cursorSpendTracker.sessionCookie": {
"type": "string",
"default": "",
"description": "Manual session cookie (WorkosCursorSessionToken) for API access. Leave empty to auto-detect from Cursor."
}
}
},
"commands": [
{
"command": "cursorSpendTracker.refresh",
"title": "Cursor Spend: Refresh Now"
},
{
"command": "cursorSpendTracker.openDashboard",
"title": "Cursor Spend: Open Dashboard"
},
{
"command": "cursorSpendTracker.setSessionCookie",
"title": "Cursor Spend: Set Session Cookie"
}
]
},
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"package": "vsce package",
"publish": "vsce publish"
},
"devDependencies": {
"@types/node": "^22.15.0",
"@types/vscode": "^1.101.0",
"typescript": "^5.8.3"
}
}