-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
120 lines (120 loc) · 3.39 KB
/
package.json
File metadata and controls
120 lines (120 loc) · 3.39 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
{
"name": "vscode-copilot-usage",
"displayName": "VSCode Copilot Usage",
"description": "Display GitHub Copilot Premium Requests usage in the status bar",
"version": "0.4.1",
"publisher": "j4rviscmd",
"license": "MIT",
"icon": "icon.png",
"repository": {
"type": "git",
"url": "https://github.com/j4rviscmd/vscode-copilot-usage.git"
},
"engines": {
"vscode": "^1.85.0"
},
"categories": ["Other"],
"keywords": [
"copilot",
"github copilot",
"quota",
"status bar"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "copilotUsage.toggleLabelStyle",
"title": "Toggle Label Style (Icon/Text)",
"category": "Copilot Usage"
},
{
"command": "copilotUsage.setRefreshInterval",
"title": "Set Refresh Interval",
"category": "Copilot Usage"
},
{
"command": "copilotUsage.toggleDisplayMode",
"title": "Toggle Display Mode (Used/Remaining)",
"category": "Copilot Usage"
}
],
"configuration": {
"title": "Copilot Usage",
"properties": {
"copilotUsage.refreshInterval": {
"type": "number",
"default": 60,
"description": "Data refresh interval in seconds (default: 60)"
},
"copilotUsage.labelStyle": {
"type": "string",
"default": "icon",
"enum": [
"icon",
"text"
],
"enumDescriptions": [
"Display GitHub Copilot icon",
"Display 'Copilot' text"
],
"description": "Label style for the status bar item"
},
"copilotUsage.statusBarPriority": {
"type": "number",
"default": -1000,
"description": "Priority of the Copilot Usage item in the status bar (higher = further left among right-aligned items). Change takes effect after reloading the window."
},
"copilotUsage.displayMode": {
"type": "string",
"default": "used",
"enum": [
"used",
"remaining"
],
"enumDescriptions": [
"Display used usage amount (e.g., 50%)",
"Display remaining usage amount (e.g., 50% remaining)"
],
"description": "Display mode for the usage amount"
}
}
},
"icons": {
"copilot-light": {
"description": "GitHub Copilot icon for light themes",
"default": {
"fontPath": "./assets/fonts/copilot-icons.woff",
"fontCharacter": "\\EA02"
}
},
"copilot-dark": {
"description": "GitHub Copilot icon for dark themes",
"default": {
"fontPath": "./assets/fonts/copilot-icons.woff",
"fontCharacter": "\\EA01"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "biome lint ./src",
"format": "biome format --write ./src",
"format:check": "biome check --formatter-enabled=true --linter-enabled=false ./src",
"check": "biome check --write ./src",
"check:ci": "biome check ./src"
},
"devDependencies": {
"@biomejs/biome": "^2.4.6",
"@types/node": "^20.10.0",
"@types/vscode": "^1.85.0",
"svgtofont": "^6.5.1",
"typescript": "^5.3.0"
}
}