-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
232 lines (232 loc) · 6.36 KB
/
Copy pathpackage.json
File metadata and controls
232 lines (232 loc) · 6.36 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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
{
"name": "code-brain-pro",
"displayName": "CodeBrainPro",
"description": "AI-powered developer work-log, commit classifier, report generator, and productivity tracker. Automatically tracks, summarizes, and reports what you worked on.",
"version": "1.2.1",
"icon": "assets/extension-icon.png",
"publisher": "rahul-nisanth",
"engines": {
"vscode": "^1.115.0"
},
"categories": [
"Other",
"SCM Providers"
],
"activationEvents": [
"onStartupFinished",
"workspaceContains:.git"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "CodeBrainPro",
"properties": {
"codeBrainPro.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable all code brain pro tracking",
"scope": "machine"
},
"codeBrainPro.githubUsername": {
"type": "string",
"default": "",
"description": "GitHub username (non-sensitive). Token is stored securely in Secret Storage.",
"scope": "machine"
},
"codeBrainPro.additionalRepoPaths": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Additional Git repository paths to track (beyond VS Code workspace folders)",
"scope": "machine"
},
"codeBrainPro.commitIntervalMinutes": {
"type": "number",
"default": 30,
"minimum": 1,
"description": "Interval in minutes between auto-commit log snapshots",
"scope": "machine"
},
"codeBrainPro.idleThresholdMinutes": {
"type": "number",
"default": 5,
"minimum": 1,
"description": "Minutes of inactivity before marking the session as idle",
"scope": "machine"
},
"codeBrainPro.syncEnabled": {
"type": "boolean",
"default": false,
"description": "Enable automatic sync of work logs to GitHub code-brain-pro-logs repo",
"scope": "machine"
},
"codeBrainPro.syncFrequencyHours": {
"type": "number",
"default": 24,
"minimum": 1,
"description": "How often (in hours) to auto-sync to GitHub",
"scope": "machine"
},
"codeBrainPro.logRetentionDays": {
"type": "number",
"default": 90,
"minimum": 7,
"description": "Number of days to retain local activity logs in ~/.codeBrainPro/logs/",
"scope": "machine"
},
"codeBrainPro.showStartupPrompt": {
"type": "boolean",
"default": true,
"description": "Show the CodeBrainPro welcome prompt on VS Code startup",
"scope": "machine"
}
}
},
"commands": [
{
"command": "codeBrainPro.start",
"title": "Start",
"category": "CodeBrainPro"
},
{
"command": "codeBrainPro.stop",
"title": "Stop",
"category": "CodeBrainPro"
},
{
"command": "codeBrainPro.setInterval",
"title": "Set Commit Interval",
"category": "CodeBrainPro"
},
{
"command": "codeBrainPro.generateDaily",
"title": "Generate Daily Report",
"category": "CodeBrainPro"
},
{
"command": "codeBrainPro.generateWeekly",
"title": "Generate Weekly Report",
"category": "CodeBrainPro"
},
{
"command": "codeBrainPro.generateMonthly",
"title": "Generate Monthly Report",
"category": "CodeBrainPro"
},
{
"command": "codeBrainPro.generateAppraisal",
"title": "Generate Appraisal Report",
"category": "CodeBrainPro"
},
{
"command": "codeBrainPro.askQuestion",
"title": "Ask About My Work",
"category": "CodeBrainPro"
},
{
"command": "codeBrainPro.syncNow",
"title": "Sync to GitHub Now",
"category": "CodeBrainPro"
},
{
"command": "codeBrainPro.viewLog",
"title": "View Today's Activity Log",
"category": "CodeBrainPro"
},
{
"command": "codeBrainPro.clearCredentials",
"title": "Clear Credentials",
"category": "CodeBrainPro"
},
{
"command": "codeBrainPro.openSettings",
"title": "Open Settings",
"category": "CodeBrainPro"
},
{
"command": "codeBrainPro.openSidebar",
"title": "Open Sidebar",
"category": "CodeBrainPro"
},
{
"command": "codeBrainProSidebar.refresh",
"title": "Refresh",
"icon": "$(refresh)"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "codeBrainProContainer",
"title": "Code Brain Pro",
"icon": "assets/sidebar-icon.svg"
}
]
},
"views": {
"codeBrainProContainer": [
{
"id": "codeBrainProSidebar",
"name": "Activity",
"icon": "assets/sidebar-icon.svg",
"contextualTitle": "Code Brain Pro"
}
]
},
"menus": {
"view/title": [
{
"command": "codeBrainProSidebar.refresh",
"when": "view == codeBrainProSidebar",
"group": "navigation"
}
]
}
},
"scripts": {
"compile": "node esbuild.js",
"compile:prod": "node esbuild.js --production",
"watch": "node esbuild.js --watch",
"lint": "eslint src --ext .ts",
"typecheck": "tsc --noEmit",
"pretest": "npm run compile",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@types/uuid": "^10.0.0",
"@types/vscode": "^1.115.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"esbuild": "^0.25.3",
"eslint": "^9.16.0",
"typescript": "^5.8.3"
},
"dependencies": {
"@google/generative-ai": "^0.24.1",
"axios": "^1.7.9",
"uuid": "^11.1.0"
},
"repository": {
"type": "git",
"url": "https://github.com/Rahulnisanth/CodeBrainPro.git"
},
"bugs": {
"url": "https://github.com/Rahulnisanth/CodeBrainPro/issues"
},
"license": "MIT",
"keywords": [
"git",
"auto commit",
"vscode extension",
"productivity",
"ai",
"gemini",
"work log",
"report generator",
"activity tracker"
]
}