-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 2.59 KB
/
package.json
File metadata and controls
102 lines (102 loc) · 2.59 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
{
"name": "zai-usage-tracker",
"displayName": "Z.ai GLM Usage Tracker",
"description": "Track your Z.ai GLM Coding Plan usage in the status bar",
"version": "1.0.4",
"publisher": "melon-hub",
"icon": "icon.png",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/melon-hub/zai-usage-tracker"
},
"homepage": "https://github.com/melon-hub/zai-usage-tracker#readme",
"bugs": {
"url": "https://github.com/melon-hub/zai-usage-tracker/issues"
},
"keywords": [
"zai",
"z.ai",
"glm",
"usage",
"tracker",
"api",
"coding-plan",
"cursor"
],
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other",
"Visualization"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "zaiUsage.refresh",
"title": "Refresh Usage",
"category": "Z.ai Usage Tracker"
},
{
"command": "zaiUsage.configure",
"title": "Configure Settings",
"category": "Z.ai Usage Tracker"
},
{
"command": "zaiUsage.debug",
"title": "Debug: Show Raw API Responses",
"category": "Z.ai Usage Tracker"
}
],
"configuration": {
"title": "Z.ai Usage Tracker",
"properties": {
"zaiUsage.planTier": {
"type": "string",
"enum": [
"lite",
"pro",
"max"
],
"default": "lite",
"description": "Your GLM Coding Plan tier",
"enumDescriptions": [
"Lite Plan: ~120 prompts every 5 hours",
"Pro Plan: ~600 prompts every 5 hours",
"Max Plan: ~2400 prompts every 5 hours"
],
"order": 1
},
"zaiUsage.refreshInterval": {
"type": "number",
"default": 5,
"minimum": 1,
"description": "Refresh interval in minutes",
"order": 2
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/node": "^18.0.0",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vscode/vsce": "^2.15.0",
"eslint": "^8.45.0",
"typescript": "^5.1.0"
}
}