-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
202 lines (202 loc) · 6.59 KB
/
package.json
File metadata and controls
202 lines (202 loc) · 6.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
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
193
194
195
196
197
198
199
200
201
202
{
"name": "vscode-copilot-insights",
"displayName": "Copilot Insights",
"description": "Understand your GitHub Copilot plan, quotas, and limits at a glance",
"version": "3.8.5",
"publisher": "emanuelebartolesi",
"icon": "img/logo.png",
"sponsor": {
"url": "https://github.com/sponsors/kasuken"
},
"repository": {
"type": "git",
"url": "https://github.com/kasuken/vscode-copilot-insights.git"
},
"license": "MIT",
"homepage": "https://github.com/kasuken/vscode-copilot-insights",
"engines": {
"vscode": "^1.107.0"
},
"categories": [
"Other",
"AI",
"Chat",
"Machine Learning",
"Programming Languages"
],
"keywords": [
"ai",
"copilot",
"github copilot",
"copilot insights",
"copilot metrics",
"copilot quota",
"copilot limits",
"ai pair programming",
"developer analytics",
"usage tracking",
"productivity"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "copilot-insights",
"title": "Copilot Insights",
"icon": "$(graph)"
}
]
},
"views": {
"copilot-insights": [
{
"type": "webview",
"id": "copilotInsights.sidebarView",
"name": "Insights",
"icon": "$(graph)"
}
]
},
"commands": [
{
"command": "vscode-copilot-insights.refresh",
"title": "Copilot Insights: Refresh",
"icon": "$(refresh)"
},
{
"command": "vscode-copilot-insights.openSettings",
"title": "Copilot Insights: Open Settings",
"icon": "$(gear)"
},
{
"command": "vscode-copilot-insights.resetToDefaults",
"title": "Copilot Insights: Reset to Defaults"
}
],
"menus": {
"view/title": [
{
"command": "vscode-copilot-insights.refresh",
"when": "view == copilotInsights.sidebarView",
"group": "navigation"
},
{
"command": "vscode-copilot-insights.openSettings",
"when": "view == copilotInsights.sidebarView",
"group": "navigation"
}
]
},
"configuration": {
"title": "Copilot Insights",
"properties": {
"copilotInsights.showMood": {
"type": "boolean",
"default": true,
"description": "Show a fun 'mood' indicator for your remaining quota instead of the standard status."
},
"copilotInsights.progressBarMode": {
"type": "string",
"default": "remaining",
"enum": [
"remaining",
"used"
],
"enumDescriptions": [
"Show remaining quota (bar empties as you use requests)",
"Show used quota (bar fills as you use requests)"
],
"description": "Controls how the progress bar displays quota: 'remaining' shows quota left (default), 'used' shows quota consumed."
},
"copilotInsights.statusBarLocation": {
"type": "string",
"default": "right",
"enum": [
"right",
"left",
"both"
],
"enumDescriptions": [
"Show status bar on the right side (original location)",
"Show status bar on the left side (bottom status bar)",
"Show status bar on both sides"
],
"description": "Controls where the Copilot status bar appears: 'right' (original location), 'left' (bottom status bar), or 'both' (show on both sides)."
},
"copilotInsights.statusBarStyle": {
"type": "string",
"default": "detailed-original",
"enum": [
"detailed-original",
"progress-capsule",
"circular-ring",
"solid-bar",
"shaded-bar",
"minimalist",
"adaptive-emoji"
],
"enumDescriptions": [
"Original (Detailed): Show name, numerical quota and percentage (e.g., 'Copilot: 20/100 (80%)')",
"Progress Capsule: Show percentage wrapped in large circular caps (e.g., '◖ 80% ◗')",
"Circular Progress Ring: Show a circular ring progression (e.g., '◔ 80%')",
"Solid Progress Bar: Show visual solid blocks (e.g., '████░ 80%')",
"Shaded Progress Bar: Show visual shaded blocks (e.g., '▓▓▓▓░ 80%')",
"Minimalist: Show icon and percentage only (e.g., '80%')",
"Adaptive Status Emoji: Show an emoji-based status indicator (e.g., '😌 80%')"
],
"description": "Controls the visual style of the status bar indicator."
},
"copilotInsights.statusBar.showName": {
"type": "boolean",
"default": true,
"description": "Show 'Copilot:' label in status bar."
},
"copilotInsights.statusBar.showNumericalQuota": {
"type": "boolean",
"default": true,
"description": "Show numerical quota (e.g., '20/100') in status bar."
},
"copilotInsights.statusBar.showVisualIndicator": {
"type": "boolean",
"default": true,
"description": "Show visual indicator (e.g., progress bars, rings, emojis) in status bar."
},
"copilotInsights.statusBar.enableColoredBackground": {
"type": "boolean",
"default": true,
"description": "Enable colored background on the status bar item based on remaining quota (red/yellow). Disable this if you have an overage budget and don't want the toolbar to turn red when standard PRU runs out."
},
"copilotInsights.autoRefreshInterval": {
"type": "number",
"default": 10,
"minimum": 1,
"maximum": 1440,
"description": "How often (in minutes) to automatically refresh Copilot data. Set to keep your status bar always up to date. Min: 1, Max: 1440 (24 hours). Default: 10 minutes."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test",
"test-vsix": "vsce package && code --install-extension ./vscode-copilot-insights-*.vsix"
},
"devDependencies": {
"@types/vscode": "^1.107.0",
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"typescript-eslint": "^8.48.1",
"eslint": "^9.39.1",
"typescript": "^5.9.3",
"@vscode/test-cli": "^0.0.12",
"@vscode/test-electron": "^2.5.2"
}
}