-
Notifications
You must be signed in to change notification settings - Fork 469
Expand file tree
/
Copy pathpackage.json
More file actions
363 lines (363 loc) · 14.5 KB
/
Copy pathpackage.json
File metadata and controls
363 lines (363 loc) · 14.5 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
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
{
"name": "ai-engineer-coach",
"displayName": "AI Engineer Coach",
"description": "Analyze your AI coding assistant usage across VS Code, Xcode, Claude, Codex, and OpenCode. Read-only, zero telemetry.",
"version": "0.1.0",
"publisher": "ai-engineer-coach",
"author": {
"name": "Sanjay Singh, Joy Distelbrink, Tamas Boncz, Aymen Furter"
},
"license": "MIT",
"icon": "assets/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/AI-Engineering-Coach.git"
},
"bugs": {
"url": "https://github.com/microsoft/AI-Engineering-Coach/issues"
},
"engines": {
"vscode": "^1.125.0"
},
"categories": [
"Other",
"Visualization"
],
"keywords": [
"copilot",
"analytics",
"harness",
"claude",
"codex",
"opencode",
"productivity",
"github"
],
"activationEvents": [
"onCommand:aiEngineerCoach.open",
"onCommand:aiEngineerCoach.reload",
"onCommand:aiEngineerCoach.exportSummary",
"onCommand:aiEngineerCoach.reviewLocalRules",
"onView:aiEngineerCoach.welcome"
],
"main": "./dist/extension.js",
"capabilities": {
"untrustedWorkspaces": {
"supported": "limited",
"description": "In untrusted workspaces, project-level rules and metrics (.ai-engineer-coach/) are not loaded. Built-in and personal rules still work."
}
},
"contributes": {
"commands": [
{
"command": "aiEngineerCoach.open",
"title": "AI Engineer Coach: Open Dashboard",
"icon": "$(graph)"
},
{
"command": "aiEngineerCoach.reload",
"title": "AI Engineer Coach: Reload Data",
"icon": "$(refresh)"
},
{
"command": "aiEngineerCoach.exportSummary",
"title": "AI Engineer Coach: Export Summary",
"icon": "$(export)"
},
{
"command": "aiEngineerCoach.reviewLocalRules",
"title": "AI Engineer Coach: Review Local Rule Approvals",
"icon": "$(shield)"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "aiEngineerCoach",
"title": "AI Engineer Coach",
"icon": "$(graph)"
}
]
},
"views": {
"aiEngineerCoach": [
{
"id": "aiEngineerCoach.welcome",
"name": "Dashboard",
"type": "webview"
}
]
},
"chatParticipants": [
{
"id": "aiEngineerCoach.aicoach",
"fullName": "AI Engineering Coach",
"name": "aicoach",
"description": "Your AI coding coach — analyze usage patterns, get improvement tips, and track progress",
"isSticky": true,
"commands": [
{ "name": "summary", "description": "Get a quick summary of your AI coding usage" },
{ "name": "improve", "description": "Get improvement recommendations" },
{ "name": "compare", "description": "Compare your AI coding tools" },
{ "name": "flow", "description": "Analyze your flow & focus" }
]
}
],
"languageModelTools": [
{
"name": "aiEngineerCoach_summary",
"tags": ["ai-engineer-coach"],
"displayName": "Coach: Usage Summary",
"modelDescription": "Get a high-level summary of AI coding assistant usage including session counts, recommendations, and top anti-patterns.",
"inputSchema": {
"type": "object",
"properties": {
"fromDate": { "type": "string", "description": "ISO date (YYYY-MM-DD) for range start" },
"toDate": { "type": "string", "description": "ISO date (YYYY-MM-DD) for range end" },
"workspaceId": { "type": "string", "description": "Filter to a workspace ID" },
"harness": { "type": "string", "description": "Filter to an AI tool name" }
}
}
},
{
"name": "aiEngineerCoach_activity",
"tags": ["ai-engineer-coach"],
"displayName": "Coach: Daily Activity",
"modelDescription": "Get daily activity data including requests, LOC, sessions, and harness breakdown.",
"inputSchema": {
"type": "object",
"properties": {
"fromDate": { "type": "string", "description": "ISO date (YYYY-MM-DD) for range start" },
"toDate": { "type": "string", "description": "ISO date (YYYY-MM-DD) for range end" },
"workspaceId": { "type": "string", "description": "Filter to a workspace ID" },
"harness": { "type": "string", "description": "Filter to an AI tool name" }
}
}
},
{
"name": "aiEngineerCoach_credits",
"tags": ["ai-engineer-coach"],
"displayName": "Coach: AI Credits",
"modelDescription": "Get AI credit usage with per-model breakdown, daily trend, and most expensive requests.",
"inputSchema": {
"type": "object",
"properties": {
"fromDate": { "type": "string", "description": "ISO date (YYYY-MM-DD) for range start" },
"toDate": { "type": "string", "description": "ISO date (YYYY-MM-DD) for range end" },
"workspaceId": { "type": "string", "description": "Filter to a workspace ID" },
"harness": { "type": "string", "description": "Filter to an AI tool name" }
}
}
},
{
"name": "aiEngineerCoach_codeProduction",
"tags": ["ai-engineer-coach"],
"displayName": "Coach: Code Production",
"modelDescription": "Get code production metrics: AI vs user LOC, language breakdown, workspace distribution.",
"inputSchema": {
"type": "object",
"properties": {
"fromDate": { "type": "string", "description": "ISO date (YYYY-MM-DD) for range start" },
"toDate": { "type": "string", "description": "ISO date (YYYY-MM-DD) for range end" },
"workspaceId": { "type": "string", "description": "Filter to a workspace ID" },
"harness": { "type": "string", "description": "Filter to an AI tool name" }
}
}
},
{
"name": "aiEngineerCoach_flow",
"tags": ["ai-engineer-coach"],
"displayName": "Coach: Flow State",
"modelDescription": "Get flow state analysis: deep work scores, best hours, follow-up latency, session continuity.",
"inputSchema": {
"type": "object",
"properties": {
"fromDate": { "type": "string", "description": "ISO date (YYYY-MM-DD) for range start" },
"toDate": { "type": "string", "description": "ISO date (YYYY-MM-DD) for range end" },
"workspaceId": { "type": "string", "description": "Filter to a workspace ID" },
"harness": { "type": "string", "description": "Filter to an AI tool name" }
}
}
},
{
"name": "aiEngineerCoach_patterns",
"tags": ["ai-engineer-coach"],
"displayName": "Coach: Anti-Patterns",
"modelDescription": "Get detected anti-patterns and practice recommendations with severity and trends.",
"inputSchema": {
"type": "object",
"properties": {
"fromDate": { "type": "string", "description": "ISO date (YYYY-MM-DD) for range start" },
"toDate": { "type": "string", "description": "ISO date (YYYY-MM-DD) for range end" },
"workspaceId": { "type": "string", "description": "Filter to a workspace ID" },
"harness": { "type": "string", "description": "Filter to an AI tool name" }
}
}
},
{
"name": "aiEngineerCoach_insights",
"tags": ["ai-engineer-coach"],
"displayName": "Coach: Insights",
"modelDescription": "Get advanced insights: learning velocity, intent classification, prompt maturity, sustainable pace.",
"inputSchema": {
"type": "object",
"properties": {
"fromDate": { "type": "string", "description": "ISO date (YYYY-MM-DD) for range start" },
"toDate": { "type": "string", "description": "ISO date (YYYY-MM-DD) for range end" },
"workspaceId": { "type": "string", "description": "Filter to a workspace ID" },
"harness": { "type": "string", "description": "Filter to an AI tool name" }
}
}
},
{
"name": "aiEngineerCoach_wellbeing",
"tags": ["ai-engineer-coach"],
"displayName": "Coach: Work-Life Balance",
"modelDescription": "Get work-life balance score, time distribution, weekend ratio, and burnout risk.",
"inputSchema": {
"type": "object",
"properties": {
"fromDate": { "type": "string", "description": "ISO date (YYYY-MM-DD) for range start" },
"toDate": { "type": "string", "description": "ISO date (YYYY-MM-DD) for range end" },
"workspaceId": { "type": "string", "description": "Filter to a workspace ID" },
"harness": { "type": "string", "description": "Filter to an AI tool name" }
}
}
},
{
"name": "aiEngineerCoach_workflows",
"tags": ["ai-engineer-coach"],
"displayName": "Coach: Workflows",
"modelDescription": "Get repeated workflow clusters that could be automated, with draft skill suggestions.",
"inputSchema": {
"type": "object",
"properties": {
"fromDate": { "type": "string", "description": "ISO date (YYYY-MM-DD) for range start" },
"toDate": { "type": "string", "description": "ISO date (YYYY-MM-DD) for range end" },
"workspaceId": { "type": "string", "description": "Filter to a workspace ID" },
"harness": { "type": "string", "description": "Filter to an AI tool name" }
}
}
},
{
"name": "aiEngineerCoach_harnessComparison",
"tags": ["ai-engineer-coach"],
"displayName": "Coach: Tool Comparison",
"modelDescription": "Compare AI coding tools side-by-side: sessions, requests, LOC, models, cancel rates.",
"inputSchema": {
"type": "object",
"properties": {
"fromDate": { "type": "string", "description": "ISO date (YYYY-MM-DD) for range start" },
"toDate": { "type": "string", "description": "ISO date (YYYY-MM-DD) for range end" },
"workspaceId": { "type": "string", "description": "Filter to a workspace ID" },
"harness": { "type": "string", "description": "Filter to an AI tool name" }
}
}
},
{
"name": "aiEngineerCoach_sessions",
"tags": ["ai-engineer-coach"],
"displayName": "Coach: Sessions",
"modelDescription": "Browse or search individual coding sessions. Use sessionId for detail, or page/search to browse.",
"inputSchema": {
"type": "object",
"properties": {
"sessionId": { "type": "string", "description": "Get detail for a specific session" },
"page": { "type": "number", "description": "Page number (1-based)" },
"pageSize": { "type": "number", "description": "Sessions per page (max 50)" },
"search": { "type": "string", "description": "Search term for workspace or message content" },
"fromDate": { "type": "string", "description": "ISO date (YYYY-MM-DD) for range start" },
"toDate": { "type": "string", "description": "ISO date (YYYY-MM-DD) for range end" },
"workspaceId": { "type": "string", "description": "Filter to a workspace ID" },
"harness": { "type": "string", "description": "Filter to an AI tool name" }
}
}
},
{
"name": "aiEngineerCoach_contextHealth",
"tags": ["ai-engineer-coach"],
"displayName": "Coach: Context Health",
"modelDescription": "Get context management health: compaction, config scores, agentic readiness, instruction quality.",
"inputSchema": {
"type": "object",
"properties": {
"fromDate": { "type": "string", "description": "ISO date (YYYY-MM-DD) for range start" },
"toDate": { "type": "string", "description": "ISO date (YYYY-MM-DD) for range end" },
"workspaceId": { "type": "string", "description": "Filter to a workspace ID" },
"harness": { "type": "string", "description": "Filter to an AI tool name" }
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run build",
"build": "node esbuild.mjs",
"watch": "node esbuild.mjs --watch",
"lint": "eslint src/",
"bench": "vitest bench",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest",
"analyze:data-inventory": "npx tsx scripts/data-inventory.ts",
"analyze:token-inventory": "npx tsx scripts/token-inventory.ts --save",
"analyze:context-composition": "npx tsx scripts/explore-context-composition.ts",
"analyze:e2e-real-data": "npx tsx scripts/e2e-real-data.ts",
"parity": "npx tsx scripts/parse-parity.ts",
"analyze:catalog-fetch": "node scripts/test-catalog-fetch.mjs",
"smoke-test": "node scripts/smoke-test.mjs",
"gen-synth-logs": "npx tsx scripts/generate-synthetic-logs.ts",
"test:oom-synth": "npx tsx scripts/oom-repro.ts",
"package": "node scripts/package-readme-swap.mjs",
"spellcheck": "cspell \"src/**/*.ts\" \"docs/**/*.md\" \"*.md\"",
"knip": "knip",
"typecheck": "tsc --noEmit",
"check": "npm run typecheck && npm run lint && npm run spellcheck && npm run knip && npm run lockfile-lint && npm run test",
"check-size": "node scripts/check-bundle-size.mjs",
"test:e2e": "npx playwright test",
"lockfile-lint": "lockfile-lint",
"prepare": "husky"
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"cspell --no-must-find-files"
],
"*.md": [
"cspell --no-must-find-files"
]
},
"engineStrict": true,
"devDependencies": {
"@eslint/js": "10.0.1",
"@playwright/test": "1.61.1",
"@types/node": "26.0.1",
"@types/vscode": "1.125.0",
"@vitest/coverage-v8": "4.1.9",
"@vscode/vsce": "3.9.2",
"cspell": "10.0.1",
"esbuild": "0.28.1",
"eslint": "10.6.0",
"eslint-plugin-import-x": "4.17.1",
"eslint-plugin-no-unsanitized": "4.1.5",
"eslint-plugin-unicorn": "68.0.0",
"husky": "9.1.7",
"jsdom": "29.1.1",
"knip": "6.23.0",
"lint-staged": "17.0.8",
"lockfile-lint": "5.0.0",
"preact-render-to-string": "6.7.0",
"serve": "14.2.6",
"typescript": "6.0.3",
"typescript-eslint": "8.62.1",
"vitest": "4.1.9"
},
"dependencies": {
"chart.js": "4.5.1",
"chartjs-chart-treemap": "3.1.0",
"htm": "3.1.1",
"leo-profanity": "1.9.0",
"preact": "10.29.3",
"zod": "4.4.3"
}
}