@aidemd-mcp/telemetry-contract 0.0.0-stage → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +193 -2
- package/chunk-WVGQ3VJI.js +404 -0
- package/guide.md +194 -0
- package/lib/openapi/buildPingPath/index.d.ts +10 -0
- package/lib/openapi/index.d.ts +8 -0
- package/lib/openapi/index.js +107 -0
- package/lib/openapi/toComponent/index.d.ts +11 -0
- package/lib/ping/classifyIssues/formatPath/index.d.ts +6 -0
- package/lib/ping/classifyIssues/index.d.ts +14 -0
- package/lib/ping/index.d.ts +15 -0
- package/lib/ping/index.js +94 -0
- package/lib/ping/readVersion/index.d.ts +17 -0
- package/openapi.json +1304 -0
- package/package.json +27 -5
- package/types/ping/answers/alreadyStored/index.d.ts +7 -0
- package/types/ping/answers/failed/index.d.ts +7 -0
- package/types/ping/answers/refused/index.d.ts +16 -0
- package/types/ping/answers/stored/index.d.ts +7 -0
- package/types/ping/buckets/phaseDuration/index.d.ts +24 -0
- package/types/ping/buckets/phasesPerSession/index.d.ts +24 -0
- package/types/ping/buckets/sessionLength/index.d.ts +24 -0
- package/types/ping/buckets/sessionsPerProject/index.d.ts +21 -0
- package/types/ping/buildCounts/index.d.ts +21 -0
- package/types/ping/count/index.d.ts +8 -0
- package/types/ping/examplePing/index.d.ts +8 -0
- package/types/ping/index.d.ts +43 -0
- package/types/ping/index.js +50 -0
- package/types/ping/knownVersions/index.d.ts +4 -0
- package/types/ping/listenerOrigin/index.d.ts +7 -0
- package/types/ping/lists/agents/index.d.ts +4 -0
- package/types/ping/lists/launches/index.d.ts +4 -0
- package/types/ping/lists/osNames/index.d.ts +4 -0
- package/types/ping/lists/phases/index.d.ts +4 -0
- package/types/ping/lists/qaVerdicts/index.d.ts +4 -0
- package/types/ping/lists/refusalReasons/index.d.ts +4 -0
- package/types/ping/lists/toolNames/index.d.ts +4 -0
- package/types/ping/maxPingBytes/index.d.ts +7 -0
- package/types/ping/openApiDocument/index.d.ts +16 -0
- package/types/ping/pingCheck/index.d.ts +23 -0
- package/types/ping/v2/envelope/index.d.ts +25 -0
- package/types/ping/v2/index.d.ts +169 -0
- package/types/ping/v2/projects/index.d.ts +16 -0
- package/types/ping/v2/usage/index.d.ts +144 -0
- package/types/ping/versions/index.d.ts +175 -0
package/openapi.json
ADDED
|
@@ -0,0 +1,1304 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.1.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "AIDEMD telemetry listener",
|
|
5
|
+
"version": "2",
|
|
6
|
+
"description": "Receives AIDEMD's daily usage pings and stores each valid one once, keeping the sender's country and never the address. Generated from @aidemd-mcp/telemetry-contract; never edited by hand."
|
|
7
|
+
},
|
|
8
|
+
"servers": [
|
|
9
|
+
{
|
|
10
|
+
"url": "https://telemetry.aidemd.dev"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"paths": {
|
|
14
|
+
"/ping": {
|
|
15
|
+
"post": {
|
|
16
|
+
"operationId": "postPing",
|
|
17
|
+
"summary": "Send one install's usage ping for one finished UTC day.",
|
|
18
|
+
"description": "Accepts at most one ping per install per finished UTC day. The body is the ping as JSON, at most 65536 bytes (64 KiB). A ping must exactly match one known version or it is refused whole. The sender's address is used on arrival only to look up a country code and is never stored or logged. Other paths answer 404 and other methods on /ping answer 405.",
|
|
19
|
+
"requestBody": {
|
|
20
|
+
"required": true,
|
|
21
|
+
"content": {
|
|
22
|
+
"application/json": {
|
|
23
|
+
"schema": {
|
|
24
|
+
"oneOf": [
|
|
25
|
+
{
|
|
26
|
+
"$ref": "#/components/schemas/PingV2"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"example": {
|
|
31
|
+
"schema": 2,
|
|
32
|
+
"installId": "3f2b8c1e-7a4d-4e9b-9c2f-5d6e7f8a9b0c",
|
|
33
|
+
"day": "2026-12-03",
|
|
34
|
+
"aidemdVersion": "1.0.0",
|
|
35
|
+
"launch": "global",
|
|
36
|
+
"os": "linux",
|
|
37
|
+
"node": 22,
|
|
38
|
+
"sessions": 3,
|
|
39
|
+
"phases": {
|
|
40
|
+
"spec": 0,
|
|
41
|
+
"research": 0,
|
|
42
|
+
"synthesize": 0,
|
|
43
|
+
"structure": 0,
|
|
44
|
+
"plan": 2,
|
|
45
|
+
"build": 3,
|
|
46
|
+
"qa": 2,
|
|
47
|
+
"fix": 1,
|
|
48
|
+
"align": 0,
|
|
49
|
+
"refactor": 0,
|
|
50
|
+
"cleanup": 0
|
|
51
|
+
},
|
|
52
|
+
"qa": {
|
|
53
|
+
"passed": 1,
|
|
54
|
+
"issues": 1
|
|
55
|
+
},
|
|
56
|
+
"toolCalls": {
|
|
57
|
+
"aide_discover": 4,
|
|
58
|
+
"aide_read": 9,
|
|
59
|
+
"aide_scaffold": 2,
|
|
60
|
+
"aide_cleanup": 0,
|
|
61
|
+
"aide_move": 0,
|
|
62
|
+
"aide_discard": 0,
|
|
63
|
+
"aide_frontmatter": 3,
|
|
64
|
+
"aide_validate": 0,
|
|
65
|
+
"aide_upgrade": 0,
|
|
66
|
+
"aide_info": 0,
|
|
67
|
+
"aide_brain": 0,
|
|
68
|
+
"aide_init": 0,
|
|
69
|
+
"aide_inspect": 0,
|
|
70
|
+
"aide_orchestration_begin": 0,
|
|
71
|
+
"aide_session_event": 0,
|
|
72
|
+
"aide_session_end": 0,
|
|
73
|
+
"unknown": 0
|
|
74
|
+
},
|
|
75
|
+
"agents": {
|
|
76
|
+
"claude-code": 2,
|
|
77
|
+
"cursor": 0,
|
|
78
|
+
"other": 0
|
|
79
|
+
},
|
|
80
|
+
"sessionLength": {
|
|
81
|
+
"<5m": 1,
|
|
82
|
+
"5-15m": 0,
|
|
83
|
+
"15-60m": 1,
|
|
84
|
+
"1-3h": 1,
|
|
85
|
+
"3h+": 0
|
|
86
|
+
},
|
|
87
|
+
"phasesPerSession": {
|
|
88
|
+
"0": 1,
|
|
89
|
+
"1-2": 0,
|
|
90
|
+
"3-5": 2,
|
|
91
|
+
"6-10": 0,
|
|
92
|
+
"11+": 0
|
|
93
|
+
},
|
|
94
|
+
"phaseDurations": {
|
|
95
|
+
"spec": {
|
|
96
|
+
"<1m": 0,
|
|
97
|
+
"1-5m": 0,
|
|
98
|
+
"5-15m": 0,
|
|
99
|
+
"15-60m": 0,
|
|
100
|
+
"60m+": 0
|
|
101
|
+
},
|
|
102
|
+
"research": {
|
|
103
|
+
"<1m": 0,
|
|
104
|
+
"1-5m": 0,
|
|
105
|
+
"5-15m": 0,
|
|
106
|
+
"15-60m": 0,
|
|
107
|
+
"60m+": 0
|
|
108
|
+
},
|
|
109
|
+
"synthesize": {
|
|
110
|
+
"<1m": 0,
|
|
111
|
+
"1-5m": 0,
|
|
112
|
+
"5-15m": 0,
|
|
113
|
+
"15-60m": 0,
|
|
114
|
+
"60m+": 0
|
|
115
|
+
},
|
|
116
|
+
"structure": {
|
|
117
|
+
"<1m": 0,
|
|
118
|
+
"1-5m": 0,
|
|
119
|
+
"5-15m": 0,
|
|
120
|
+
"15-60m": 0,
|
|
121
|
+
"60m+": 0
|
|
122
|
+
},
|
|
123
|
+
"plan": {
|
|
124
|
+
"<1m": 0,
|
|
125
|
+
"1-5m": 0,
|
|
126
|
+
"5-15m": 2,
|
|
127
|
+
"15-60m": 0,
|
|
128
|
+
"60m+": 0
|
|
129
|
+
},
|
|
130
|
+
"build": {
|
|
131
|
+
"<1m": 0,
|
|
132
|
+
"1-5m": 0,
|
|
133
|
+
"5-15m": 1,
|
|
134
|
+
"15-60m": 2,
|
|
135
|
+
"60m+": 0
|
|
136
|
+
},
|
|
137
|
+
"qa": {
|
|
138
|
+
"<1m": 0,
|
|
139
|
+
"1-5m": 2,
|
|
140
|
+
"5-15m": 0,
|
|
141
|
+
"15-60m": 0,
|
|
142
|
+
"60m+": 0
|
|
143
|
+
},
|
|
144
|
+
"fix": {
|
|
145
|
+
"<1m": 1,
|
|
146
|
+
"1-5m": 0,
|
|
147
|
+
"5-15m": 0,
|
|
148
|
+
"15-60m": 0,
|
|
149
|
+
"60m+": 0
|
|
150
|
+
},
|
|
151
|
+
"align": {
|
|
152
|
+
"<1m": 0,
|
|
153
|
+
"1-5m": 0,
|
|
154
|
+
"5-15m": 0,
|
|
155
|
+
"15-60m": 0,
|
|
156
|
+
"60m+": 0
|
|
157
|
+
},
|
|
158
|
+
"refactor": {
|
|
159
|
+
"<1m": 0,
|
|
160
|
+
"1-5m": 0,
|
|
161
|
+
"5-15m": 0,
|
|
162
|
+
"15-60m": 0,
|
|
163
|
+
"60m+": 0
|
|
164
|
+
},
|
|
165
|
+
"cleanup": {
|
|
166
|
+
"<1m": 0,
|
|
167
|
+
"1-5m": 0,
|
|
168
|
+
"5-15m": 0,
|
|
169
|
+
"15-60m": 0,
|
|
170
|
+
"60m+": 0
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"projects": 2,
|
|
174
|
+
"sessionsPerProject": {
|
|
175
|
+
"1": 1,
|
|
176
|
+
"2-3": 1,
|
|
177
|
+
"4-10": 0,
|
|
178
|
+
"11+": 0
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"responses": {
|
|
185
|
+
"200": {
|
|
186
|
+
"description": "Already stored: this install-day was stored before, so nothing was stored again. The day is delivered; a repeat is not an error.",
|
|
187
|
+
"content": {
|
|
188
|
+
"application/json": {
|
|
189
|
+
"schema": {
|
|
190
|
+
"$ref": "#/components/schemas/AlreadyStored"
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"201": {
|
|
196
|
+
"description": "Stored: the ping's install-day was stored by this request. The day is delivered.",
|
|
197
|
+
"content": {
|
|
198
|
+
"application/json": {
|
|
199
|
+
"schema": {
|
|
200
|
+
"$ref": "#/components/schemas/Stored"
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"400": {
|
|
206
|
+
"description": "Refused: the ping does not exactly match a known version, the body is not readable JSON, or it is over 64 KiB. Nothing was stored; the reason says why.",
|
|
207
|
+
"content": {
|
|
208
|
+
"application/json": {
|
|
209
|
+
"schema": {
|
|
210
|
+
"$ref": "#/components/schemas/Refused"
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"500": {
|
|
216
|
+
"description": "Failed: an error inside the listener. Not delivered; a later retry may succeed.",
|
|
217
|
+
"content": {
|
|
218
|
+
"application/json": {
|
|
219
|
+
"schema": {
|
|
220
|
+
"$ref": "#/components/schemas/Failed"
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"503": {
|
|
226
|
+
"description": "Failed: the listener could not store the ping this time (database unavailable or the answer deadline passed). Not delivered; a later retry may succeed.",
|
|
227
|
+
"content": {
|
|
228
|
+
"application/json": {
|
|
229
|
+
"schema": {
|
|
230
|
+
"$ref": "#/components/schemas/Failed"
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"components": {
|
|
240
|
+
"schemas": {
|
|
241
|
+
"PingV2": {
|
|
242
|
+
"type": "object",
|
|
243
|
+
"properties": {
|
|
244
|
+
"schema": {
|
|
245
|
+
"type": "number",
|
|
246
|
+
"const": 2,
|
|
247
|
+
"description": "The format version this ping follows. Always 2 for this version. Reveals only which format the sender built."
|
|
248
|
+
},
|
|
249
|
+
"installId": {
|
|
250
|
+
"type": "string",
|
|
251
|
+
"format": "uuid",
|
|
252
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
|
|
253
|
+
"description": "A random version-4 UUID the install made once on its own machine when the user first saw the telemetry notice. Never derived from the machine, the user or anything else; replaced with a new random one when the user resets it. Reveals only that pings with the same id came from the same install."
|
|
254
|
+
},
|
|
255
|
+
"day": {
|
|
256
|
+
"type": "string",
|
|
257
|
+
"format": "date",
|
|
258
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
|
|
259
|
+
"description": "The UTC calendar date (YYYY-MM-DD) the counts cover. Always a finished day: earlier than the sender's current UTC date when the ping was built."
|
|
260
|
+
},
|
|
261
|
+
"aidemdVersion": {
|
|
262
|
+
"type": "string",
|
|
263
|
+
"maxLength": 64,
|
|
264
|
+
"pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$",
|
|
265
|
+
"description": "The version of the AIDEMD package that built the ping, as its package.json states it."
|
|
266
|
+
},
|
|
267
|
+
"launch": {
|
|
268
|
+
"type": "string",
|
|
269
|
+
"enum": [
|
|
270
|
+
"global",
|
|
271
|
+
"npx",
|
|
272
|
+
"other"
|
|
273
|
+
],
|
|
274
|
+
"description": "How AIDEMD was started. npx when any folder in the running entry script's path, as launched or resolved, is named _npx; otherwise global when the entry script's real path is inside a node_modules folder whose containing folder has no package.json (an npm global install); otherwise other (a project-local install or a source checkout)."
|
|
275
|
+
},
|
|
276
|
+
"os": {
|
|
277
|
+
"type": "string",
|
|
278
|
+
"enum": [
|
|
279
|
+
"win32",
|
|
280
|
+
"darwin",
|
|
281
|
+
"linux",
|
|
282
|
+
"other"
|
|
283
|
+
],
|
|
284
|
+
"description": "The operating system family: Node's process.platform when it is win32, darwin or linux, otherwise other."
|
|
285
|
+
},
|
|
286
|
+
"node": {
|
|
287
|
+
"type": "integer",
|
|
288
|
+
"minimum": 1,
|
|
289
|
+
"maximum": 999,
|
|
290
|
+
"description": "The major version of the Node.js runtime that ran AIDEMD: the number before the first dot of process.versions.node."
|
|
291
|
+
},
|
|
292
|
+
"sessions": {
|
|
293
|
+
"type": "integer",
|
|
294
|
+
"minimum": 0,
|
|
295
|
+
"maximum": 9007199254740991,
|
|
296
|
+
"description": "Sessions counted for this day. A session is one AIDE session: a conversation that ran /aide, identified by its session id, whose log holds the orchestration_began record written by aide_orchestration_begin. A conversation the hooks log without that record is not a session and is never counted. A session's records may span several logs and it is counted once. A session is counted on the UTC day of its first recorded event, and only on that day, even if it runs past midnight. Only counted sessions feed sessions, phases, qa, sessionLength, phasesPerSession, phaseDurations, projects and sessionsPerProject."
|
|
297
|
+
},
|
|
298
|
+
"phases": {
|
|
299
|
+
"type": "object",
|
|
300
|
+
"properties": {
|
|
301
|
+
"spec": {
|
|
302
|
+
"type": "integer",
|
|
303
|
+
"minimum": 0,
|
|
304
|
+
"maximum": 9007199254740991,
|
|
305
|
+
"description": "Phase starts of spec in the counted sessions."
|
|
306
|
+
},
|
|
307
|
+
"research": {
|
|
308
|
+
"type": "integer",
|
|
309
|
+
"minimum": 0,
|
|
310
|
+
"maximum": 9007199254740991,
|
|
311
|
+
"description": "Phase starts of research in the counted sessions."
|
|
312
|
+
},
|
|
313
|
+
"synthesize": {
|
|
314
|
+
"type": "integer",
|
|
315
|
+
"minimum": 0,
|
|
316
|
+
"maximum": 9007199254740991,
|
|
317
|
+
"description": "Phase starts of synthesize in the counted sessions."
|
|
318
|
+
},
|
|
319
|
+
"structure": {
|
|
320
|
+
"type": "integer",
|
|
321
|
+
"minimum": 0,
|
|
322
|
+
"maximum": 9007199254740991,
|
|
323
|
+
"description": "Phase starts of structure in the counted sessions."
|
|
324
|
+
},
|
|
325
|
+
"plan": {
|
|
326
|
+
"type": "integer",
|
|
327
|
+
"minimum": 0,
|
|
328
|
+
"maximum": 9007199254740991,
|
|
329
|
+
"description": "Phase starts of plan in the counted sessions."
|
|
330
|
+
},
|
|
331
|
+
"build": {
|
|
332
|
+
"type": "integer",
|
|
333
|
+
"minimum": 0,
|
|
334
|
+
"maximum": 9007199254740991,
|
|
335
|
+
"description": "Phase starts of build in the counted sessions."
|
|
336
|
+
},
|
|
337
|
+
"qa": {
|
|
338
|
+
"type": "integer",
|
|
339
|
+
"minimum": 0,
|
|
340
|
+
"maximum": 9007199254740991,
|
|
341
|
+
"description": "Phase starts of qa in the counted sessions."
|
|
342
|
+
},
|
|
343
|
+
"fix": {
|
|
344
|
+
"type": "integer",
|
|
345
|
+
"minimum": 0,
|
|
346
|
+
"maximum": 9007199254740991,
|
|
347
|
+
"description": "Phase starts of fix in the counted sessions."
|
|
348
|
+
},
|
|
349
|
+
"align": {
|
|
350
|
+
"type": "integer",
|
|
351
|
+
"minimum": 0,
|
|
352
|
+
"maximum": 9007199254740991,
|
|
353
|
+
"description": "Phase starts of align in the counted sessions."
|
|
354
|
+
},
|
|
355
|
+
"refactor": {
|
|
356
|
+
"type": "integer",
|
|
357
|
+
"minimum": 0,
|
|
358
|
+
"maximum": 9007199254740991,
|
|
359
|
+
"description": "Phase starts of refactor in the counted sessions."
|
|
360
|
+
},
|
|
361
|
+
"cleanup": {
|
|
362
|
+
"type": "integer",
|
|
363
|
+
"minimum": 0,
|
|
364
|
+
"maximum": 9007199254740991,
|
|
365
|
+
"description": "Phase starts of cleanup in the counted sessions."
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
"required": [
|
|
369
|
+
"spec",
|
|
370
|
+
"research",
|
|
371
|
+
"synthesize",
|
|
372
|
+
"structure",
|
|
373
|
+
"plan",
|
|
374
|
+
"build",
|
|
375
|
+
"qa",
|
|
376
|
+
"fix",
|
|
377
|
+
"align",
|
|
378
|
+
"refactor",
|
|
379
|
+
"cleanup"
|
|
380
|
+
],
|
|
381
|
+
"additionalProperties": false,
|
|
382
|
+
"description": "Pipeline phases started in the counted sessions, by phase name. Each phase start recorded in a counted session adds one to its phase. A start of a phase name not in this list is not counted."
|
|
383
|
+
},
|
|
384
|
+
"qa": {
|
|
385
|
+
"type": "object",
|
|
386
|
+
"properties": {
|
|
387
|
+
"passed": {
|
|
388
|
+
"type": "integer",
|
|
389
|
+
"minimum": 0,
|
|
390
|
+
"maximum": 9007199254740991,
|
|
391
|
+
"description": "QA runs whose verdict was passed."
|
|
392
|
+
},
|
|
393
|
+
"issues": {
|
|
394
|
+
"type": "integer",
|
|
395
|
+
"minimum": 0,
|
|
396
|
+
"maximum": 9007199254740991,
|
|
397
|
+
"description": "QA runs whose verdict was that issues were found."
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
"required": [
|
|
401
|
+
"passed",
|
|
402
|
+
"issues"
|
|
403
|
+
],
|
|
404
|
+
"additionalProperties": false,
|
|
405
|
+
"description": "QA verdicts recorded in the counted sessions, by result."
|
|
406
|
+
},
|
|
407
|
+
"toolCalls": {
|
|
408
|
+
"type": "object",
|
|
409
|
+
"properties": {
|
|
410
|
+
"aide_discover": {
|
|
411
|
+
"type": "integer",
|
|
412
|
+
"minimum": 0,
|
|
413
|
+
"maximum": 9007199254740991,
|
|
414
|
+
"description": "Calls to aide_discover on this day."
|
|
415
|
+
},
|
|
416
|
+
"aide_read": {
|
|
417
|
+
"type": "integer",
|
|
418
|
+
"minimum": 0,
|
|
419
|
+
"maximum": 9007199254740991,
|
|
420
|
+
"description": "Calls to aide_read on this day."
|
|
421
|
+
},
|
|
422
|
+
"aide_scaffold": {
|
|
423
|
+
"type": "integer",
|
|
424
|
+
"minimum": 0,
|
|
425
|
+
"maximum": 9007199254740991,
|
|
426
|
+
"description": "Calls to aide_scaffold on this day."
|
|
427
|
+
},
|
|
428
|
+
"aide_cleanup": {
|
|
429
|
+
"type": "integer",
|
|
430
|
+
"minimum": 0,
|
|
431
|
+
"maximum": 9007199254740991,
|
|
432
|
+
"description": "Calls to aide_cleanup on this day."
|
|
433
|
+
},
|
|
434
|
+
"aide_move": {
|
|
435
|
+
"type": "integer",
|
|
436
|
+
"minimum": 0,
|
|
437
|
+
"maximum": 9007199254740991,
|
|
438
|
+
"description": "Calls to aide_move on this day."
|
|
439
|
+
},
|
|
440
|
+
"aide_discard": {
|
|
441
|
+
"type": "integer",
|
|
442
|
+
"minimum": 0,
|
|
443
|
+
"maximum": 9007199254740991,
|
|
444
|
+
"description": "Calls to aide_discard on this day."
|
|
445
|
+
},
|
|
446
|
+
"aide_frontmatter": {
|
|
447
|
+
"type": "integer",
|
|
448
|
+
"minimum": 0,
|
|
449
|
+
"maximum": 9007199254740991,
|
|
450
|
+
"description": "Calls to aide_frontmatter on this day."
|
|
451
|
+
},
|
|
452
|
+
"aide_validate": {
|
|
453
|
+
"type": "integer",
|
|
454
|
+
"minimum": 0,
|
|
455
|
+
"maximum": 9007199254740991,
|
|
456
|
+
"description": "Calls to aide_validate on this day."
|
|
457
|
+
},
|
|
458
|
+
"aide_upgrade": {
|
|
459
|
+
"type": "integer",
|
|
460
|
+
"minimum": 0,
|
|
461
|
+
"maximum": 9007199254740991,
|
|
462
|
+
"description": "Calls to aide_upgrade on this day."
|
|
463
|
+
},
|
|
464
|
+
"aide_info": {
|
|
465
|
+
"type": "integer",
|
|
466
|
+
"minimum": 0,
|
|
467
|
+
"maximum": 9007199254740991,
|
|
468
|
+
"description": "Calls to aide_info on this day."
|
|
469
|
+
},
|
|
470
|
+
"aide_brain": {
|
|
471
|
+
"type": "integer",
|
|
472
|
+
"minimum": 0,
|
|
473
|
+
"maximum": 9007199254740991,
|
|
474
|
+
"description": "Calls to aide_brain on this day."
|
|
475
|
+
},
|
|
476
|
+
"aide_init": {
|
|
477
|
+
"type": "integer",
|
|
478
|
+
"minimum": 0,
|
|
479
|
+
"maximum": 9007199254740991,
|
|
480
|
+
"description": "Calls to aide_init on this day."
|
|
481
|
+
},
|
|
482
|
+
"aide_inspect": {
|
|
483
|
+
"type": "integer",
|
|
484
|
+
"minimum": 0,
|
|
485
|
+
"maximum": 9007199254740991,
|
|
486
|
+
"description": "Calls to aide_inspect on this day."
|
|
487
|
+
},
|
|
488
|
+
"aide_orchestration_begin": {
|
|
489
|
+
"type": "integer",
|
|
490
|
+
"minimum": 0,
|
|
491
|
+
"maximum": 9007199254740991,
|
|
492
|
+
"description": "Calls to aide_orchestration_begin on this day."
|
|
493
|
+
},
|
|
494
|
+
"aide_session_event": {
|
|
495
|
+
"type": "integer",
|
|
496
|
+
"minimum": 0,
|
|
497
|
+
"maximum": 9007199254740991,
|
|
498
|
+
"description": "Calls to aide_session_event on this day."
|
|
499
|
+
},
|
|
500
|
+
"aide_session_end": {
|
|
501
|
+
"type": "integer",
|
|
502
|
+
"minimum": 0,
|
|
503
|
+
"maximum": 9007199254740991,
|
|
504
|
+
"description": "Calls to aide_session_end on this day."
|
|
505
|
+
},
|
|
506
|
+
"unknown": {
|
|
507
|
+
"type": "integer",
|
|
508
|
+
"minimum": 0,
|
|
509
|
+
"maximum": 9007199254740991,
|
|
510
|
+
"description": "Calls on this day to any tool name not in this list."
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
"required": [
|
|
514
|
+
"aide_discover",
|
|
515
|
+
"aide_read",
|
|
516
|
+
"aide_scaffold",
|
|
517
|
+
"aide_cleanup",
|
|
518
|
+
"aide_move",
|
|
519
|
+
"aide_discard",
|
|
520
|
+
"aide_frontmatter",
|
|
521
|
+
"aide_validate",
|
|
522
|
+
"aide_upgrade",
|
|
523
|
+
"aide_info",
|
|
524
|
+
"aide_brain",
|
|
525
|
+
"aide_init",
|
|
526
|
+
"aide_inspect",
|
|
527
|
+
"aide_orchestration_begin",
|
|
528
|
+
"aide_session_event",
|
|
529
|
+
"aide_session_end",
|
|
530
|
+
"unknown"
|
|
531
|
+
],
|
|
532
|
+
"additionalProperties": false,
|
|
533
|
+
"description": "Calls to AIDE tools made on this UTC day, counted on the day of each call (not the session's start day), by tool name. A call to any name not in this list is added to unknown, so no other name is ever sent."
|
|
534
|
+
},
|
|
535
|
+
"agents": {
|
|
536
|
+
"type": "object",
|
|
537
|
+
"properties": {
|
|
538
|
+
"claude-code": {
|
|
539
|
+
"type": "integer",
|
|
540
|
+
"minimum": 0,
|
|
541
|
+
"maximum": 9007199254740991,
|
|
542
|
+
"description": "Server processes started for Claude Code."
|
|
543
|
+
},
|
|
544
|
+
"cursor": {
|
|
545
|
+
"type": "integer",
|
|
546
|
+
"minimum": 0,
|
|
547
|
+
"maximum": 9007199254740991,
|
|
548
|
+
"description": "Server processes started for Cursor."
|
|
549
|
+
},
|
|
550
|
+
"other": {
|
|
551
|
+
"type": "integer",
|
|
552
|
+
"minimum": 0,
|
|
553
|
+
"maximum": 9007199254740991,
|
|
554
|
+
"description": "Server processes started for any other client, or one that gave no name."
|
|
555
|
+
}
|
|
556
|
+
},
|
|
557
|
+
"required": [
|
|
558
|
+
"claude-code",
|
|
559
|
+
"cursor",
|
|
560
|
+
"other"
|
|
561
|
+
],
|
|
562
|
+
"additionalProperties": false,
|
|
563
|
+
"description": "AIDEMD server processes started on this UTC day, by the agent that connected to them; each server process counts once. The agent is read from the connecting client's own name, lower-cased: containing claude-code is claude-code, containing cursor is cursor, anything else or no name is other. The client's name itself is never sent."
|
|
564
|
+
},
|
|
565
|
+
"sessionLength": {
|
|
566
|
+
"type": "object",
|
|
567
|
+
"properties": {
|
|
568
|
+
"<5m": {
|
|
569
|
+
"type": "integer",
|
|
570
|
+
"minimum": 0,
|
|
571
|
+
"maximum": 9007199254740991,
|
|
572
|
+
"description": "Sessions under 5 minutes."
|
|
573
|
+
},
|
|
574
|
+
"5-15m": {
|
|
575
|
+
"type": "integer",
|
|
576
|
+
"minimum": 0,
|
|
577
|
+
"maximum": 9007199254740991,
|
|
578
|
+
"description": "Sessions of at least 5 and under 15 minutes."
|
|
579
|
+
},
|
|
580
|
+
"15-60m": {
|
|
581
|
+
"type": "integer",
|
|
582
|
+
"minimum": 0,
|
|
583
|
+
"maximum": 9007199254740991,
|
|
584
|
+
"description": "Sessions of at least 15 and under 60 minutes."
|
|
585
|
+
},
|
|
586
|
+
"1-3h": {
|
|
587
|
+
"type": "integer",
|
|
588
|
+
"minimum": 0,
|
|
589
|
+
"maximum": 9007199254740991,
|
|
590
|
+
"description": "Sessions of at least 1 and under 3 hours."
|
|
591
|
+
},
|
|
592
|
+
"3h+": {
|
|
593
|
+
"type": "integer",
|
|
594
|
+
"minimum": 0,
|
|
595
|
+
"maximum": 9007199254740991,
|
|
596
|
+
"description": "Sessions of 3 hours or more."
|
|
597
|
+
}
|
|
598
|
+
},
|
|
599
|
+
"required": [
|
|
600
|
+
"<5m",
|
|
601
|
+
"5-15m",
|
|
602
|
+
"15-60m",
|
|
603
|
+
"1-3h",
|
|
604
|
+
"3h+"
|
|
605
|
+
],
|
|
606
|
+
"additionalProperties": false,
|
|
607
|
+
"description": "Counted sessions by length: the time from the session's first recorded event to its last, in minutes. Each counted session adds one to exactly one bucket, so the buckets add up to sessions. A bucket holds lengths at or above its lower bound and below the next bucket's; a negative length from clock skew falls in the first."
|
|
608
|
+
},
|
|
609
|
+
"phasesPerSession": {
|
|
610
|
+
"type": "object",
|
|
611
|
+
"properties": {
|
|
612
|
+
"0": {
|
|
613
|
+
"type": "integer",
|
|
614
|
+
"minimum": 0,
|
|
615
|
+
"maximum": 9007199254740991,
|
|
616
|
+
"description": "Sessions with no phase start."
|
|
617
|
+
},
|
|
618
|
+
"1-2": {
|
|
619
|
+
"type": "integer",
|
|
620
|
+
"minimum": 0,
|
|
621
|
+
"maximum": 9007199254740991,
|
|
622
|
+
"description": "Sessions with 1 or 2 phase starts."
|
|
623
|
+
},
|
|
624
|
+
"3-5": {
|
|
625
|
+
"type": "integer",
|
|
626
|
+
"minimum": 0,
|
|
627
|
+
"maximum": 9007199254740991,
|
|
628
|
+
"description": "Sessions with 3 to 5 phase starts."
|
|
629
|
+
},
|
|
630
|
+
"6-10": {
|
|
631
|
+
"type": "integer",
|
|
632
|
+
"minimum": 0,
|
|
633
|
+
"maximum": 9007199254740991,
|
|
634
|
+
"description": "Sessions with 6 to 10 phase starts."
|
|
635
|
+
},
|
|
636
|
+
"11+": {
|
|
637
|
+
"type": "integer",
|
|
638
|
+
"minimum": 0,
|
|
639
|
+
"maximum": 9007199254740991,
|
|
640
|
+
"description": "Sessions with 11 or more phase starts."
|
|
641
|
+
}
|
|
642
|
+
},
|
|
643
|
+
"required": [
|
|
644
|
+
"0",
|
|
645
|
+
"1-2",
|
|
646
|
+
"3-5",
|
|
647
|
+
"6-10",
|
|
648
|
+
"11+"
|
|
649
|
+
],
|
|
650
|
+
"additionalProperties": false,
|
|
651
|
+
"description": "Counted sessions by how many phase starts each recorded, whatever the phase name. Each counted session adds one to exactly one bucket, so the buckets add up to sessions."
|
|
652
|
+
},
|
|
653
|
+
"phaseDurations": {
|
|
654
|
+
"type": "object",
|
|
655
|
+
"properties": {
|
|
656
|
+
"spec": {
|
|
657
|
+
"type": "object",
|
|
658
|
+
"properties": {
|
|
659
|
+
"<1m": {
|
|
660
|
+
"type": "integer",
|
|
661
|
+
"minimum": 0,
|
|
662
|
+
"maximum": 9007199254740991,
|
|
663
|
+
"description": "Runs under 1 minute."
|
|
664
|
+
},
|
|
665
|
+
"1-5m": {
|
|
666
|
+
"type": "integer",
|
|
667
|
+
"minimum": 0,
|
|
668
|
+
"maximum": 9007199254740991,
|
|
669
|
+
"description": "Runs of at least 1 and under 5 minutes."
|
|
670
|
+
},
|
|
671
|
+
"5-15m": {
|
|
672
|
+
"type": "integer",
|
|
673
|
+
"minimum": 0,
|
|
674
|
+
"maximum": 9007199254740991,
|
|
675
|
+
"description": "Runs of at least 5 and under 15 minutes."
|
|
676
|
+
},
|
|
677
|
+
"15-60m": {
|
|
678
|
+
"type": "integer",
|
|
679
|
+
"minimum": 0,
|
|
680
|
+
"maximum": 9007199254740991,
|
|
681
|
+
"description": "Runs of at least 15 and under 60 minutes."
|
|
682
|
+
},
|
|
683
|
+
"60m+": {
|
|
684
|
+
"type": "integer",
|
|
685
|
+
"minimum": 0,
|
|
686
|
+
"maximum": 9007199254740991,
|
|
687
|
+
"description": "Runs of 60 minutes or more."
|
|
688
|
+
}
|
|
689
|
+
},
|
|
690
|
+
"required": [
|
|
691
|
+
"<1m",
|
|
692
|
+
"1-5m",
|
|
693
|
+
"5-15m",
|
|
694
|
+
"15-60m",
|
|
695
|
+
"60m+"
|
|
696
|
+
],
|
|
697
|
+
"additionalProperties": false,
|
|
698
|
+
"description": "Finished runs of spec by duration."
|
|
699
|
+
},
|
|
700
|
+
"research": {
|
|
701
|
+
"type": "object",
|
|
702
|
+
"properties": {
|
|
703
|
+
"<1m": {
|
|
704
|
+
"type": "integer",
|
|
705
|
+
"minimum": 0,
|
|
706
|
+
"maximum": 9007199254740991,
|
|
707
|
+
"description": "Runs under 1 minute."
|
|
708
|
+
},
|
|
709
|
+
"1-5m": {
|
|
710
|
+
"type": "integer",
|
|
711
|
+
"minimum": 0,
|
|
712
|
+
"maximum": 9007199254740991,
|
|
713
|
+
"description": "Runs of at least 1 and under 5 minutes."
|
|
714
|
+
},
|
|
715
|
+
"5-15m": {
|
|
716
|
+
"type": "integer",
|
|
717
|
+
"minimum": 0,
|
|
718
|
+
"maximum": 9007199254740991,
|
|
719
|
+
"description": "Runs of at least 5 and under 15 minutes."
|
|
720
|
+
},
|
|
721
|
+
"15-60m": {
|
|
722
|
+
"type": "integer",
|
|
723
|
+
"minimum": 0,
|
|
724
|
+
"maximum": 9007199254740991,
|
|
725
|
+
"description": "Runs of at least 15 and under 60 minutes."
|
|
726
|
+
},
|
|
727
|
+
"60m+": {
|
|
728
|
+
"type": "integer",
|
|
729
|
+
"minimum": 0,
|
|
730
|
+
"maximum": 9007199254740991,
|
|
731
|
+
"description": "Runs of 60 minutes or more."
|
|
732
|
+
}
|
|
733
|
+
},
|
|
734
|
+
"required": [
|
|
735
|
+
"<1m",
|
|
736
|
+
"1-5m",
|
|
737
|
+
"5-15m",
|
|
738
|
+
"15-60m",
|
|
739
|
+
"60m+"
|
|
740
|
+
],
|
|
741
|
+
"additionalProperties": false,
|
|
742
|
+
"description": "Finished runs of research by duration."
|
|
743
|
+
},
|
|
744
|
+
"synthesize": {
|
|
745
|
+
"type": "object",
|
|
746
|
+
"properties": {
|
|
747
|
+
"<1m": {
|
|
748
|
+
"type": "integer",
|
|
749
|
+
"minimum": 0,
|
|
750
|
+
"maximum": 9007199254740991,
|
|
751
|
+
"description": "Runs under 1 minute."
|
|
752
|
+
},
|
|
753
|
+
"1-5m": {
|
|
754
|
+
"type": "integer",
|
|
755
|
+
"minimum": 0,
|
|
756
|
+
"maximum": 9007199254740991,
|
|
757
|
+
"description": "Runs of at least 1 and under 5 minutes."
|
|
758
|
+
},
|
|
759
|
+
"5-15m": {
|
|
760
|
+
"type": "integer",
|
|
761
|
+
"minimum": 0,
|
|
762
|
+
"maximum": 9007199254740991,
|
|
763
|
+
"description": "Runs of at least 5 and under 15 minutes."
|
|
764
|
+
},
|
|
765
|
+
"15-60m": {
|
|
766
|
+
"type": "integer",
|
|
767
|
+
"minimum": 0,
|
|
768
|
+
"maximum": 9007199254740991,
|
|
769
|
+
"description": "Runs of at least 15 and under 60 minutes."
|
|
770
|
+
},
|
|
771
|
+
"60m+": {
|
|
772
|
+
"type": "integer",
|
|
773
|
+
"minimum": 0,
|
|
774
|
+
"maximum": 9007199254740991,
|
|
775
|
+
"description": "Runs of 60 minutes or more."
|
|
776
|
+
}
|
|
777
|
+
},
|
|
778
|
+
"required": [
|
|
779
|
+
"<1m",
|
|
780
|
+
"1-5m",
|
|
781
|
+
"5-15m",
|
|
782
|
+
"15-60m",
|
|
783
|
+
"60m+"
|
|
784
|
+
],
|
|
785
|
+
"additionalProperties": false,
|
|
786
|
+
"description": "Finished runs of synthesize by duration."
|
|
787
|
+
},
|
|
788
|
+
"structure": {
|
|
789
|
+
"type": "object",
|
|
790
|
+
"properties": {
|
|
791
|
+
"<1m": {
|
|
792
|
+
"type": "integer",
|
|
793
|
+
"minimum": 0,
|
|
794
|
+
"maximum": 9007199254740991,
|
|
795
|
+
"description": "Runs under 1 minute."
|
|
796
|
+
},
|
|
797
|
+
"1-5m": {
|
|
798
|
+
"type": "integer",
|
|
799
|
+
"minimum": 0,
|
|
800
|
+
"maximum": 9007199254740991,
|
|
801
|
+
"description": "Runs of at least 1 and under 5 minutes."
|
|
802
|
+
},
|
|
803
|
+
"5-15m": {
|
|
804
|
+
"type": "integer",
|
|
805
|
+
"minimum": 0,
|
|
806
|
+
"maximum": 9007199254740991,
|
|
807
|
+
"description": "Runs of at least 5 and under 15 minutes."
|
|
808
|
+
},
|
|
809
|
+
"15-60m": {
|
|
810
|
+
"type": "integer",
|
|
811
|
+
"minimum": 0,
|
|
812
|
+
"maximum": 9007199254740991,
|
|
813
|
+
"description": "Runs of at least 15 and under 60 minutes."
|
|
814
|
+
},
|
|
815
|
+
"60m+": {
|
|
816
|
+
"type": "integer",
|
|
817
|
+
"minimum": 0,
|
|
818
|
+
"maximum": 9007199254740991,
|
|
819
|
+
"description": "Runs of 60 minutes or more."
|
|
820
|
+
}
|
|
821
|
+
},
|
|
822
|
+
"required": [
|
|
823
|
+
"<1m",
|
|
824
|
+
"1-5m",
|
|
825
|
+
"5-15m",
|
|
826
|
+
"15-60m",
|
|
827
|
+
"60m+"
|
|
828
|
+
],
|
|
829
|
+
"additionalProperties": false,
|
|
830
|
+
"description": "Finished runs of structure by duration."
|
|
831
|
+
},
|
|
832
|
+
"plan": {
|
|
833
|
+
"type": "object",
|
|
834
|
+
"properties": {
|
|
835
|
+
"<1m": {
|
|
836
|
+
"type": "integer",
|
|
837
|
+
"minimum": 0,
|
|
838
|
+
"maximum": 9007199254740991,
|
|
839
|
+
"description": "Runs under 1 minute."
|
|
840
|
+
},
|
|
841
|
+
"1-5m": {
|
|
842
|
+
"type": "integer",
|
|
843
|
+
"minimum": 0,
|
|
844
|
+
"maximum": 9007199254740991,
|
|
845
|
+
"description": "Runs of at least 1 and under 5 minutes."
|
|
846
|
+
},
|
|
847
|
+
"5-15m": {
|
|
848
|
+
"type": "integer",
|
|
849
|
+
"minimum": 0,
|
|
850
|
+
"maximum": 9007199254740991,
|
|
851
|
+
"description": "Runs of at least 5 and under 15 minutes."
|
|
852
|
+
},
|
|
853
|
+
"15-60m": {
|
|
854
|
+
"type": "integer",
|
|
855
|
+
"minimum": 0,
|
|
856
|
+
"maximum": 9007199254740991,
|
|
857
|
+
"description": "Runs of at least 15 and under 60 minutes."
|
|
858
|
+
},
|
|
859
|
+
"60m+": {
|
|
860
|
+
"type": "integer",
|
|
861
|
+
"minimum": 0,
|
|
862
|
+
"maximum": 9007199254740991,
|
|
863
|
+
"description": "Runs of 60 minutes or more."
|
|
864
|
+
}
|
|
865
|
+
},
|
|
866
|
+
"required": [
|
|
867
|
+
"<1m",
|
|
868
|
+
"1-5m",
|
|
869
|
+
"5-15m",
|
|
870
|
+
"15-60m",
|
|
871
|
+
"60m+"
|
|
872
|
+
],
|
|
873
|
+
"additionalProperties": false,
|
|
874
|
+
"description": "Finished runs of plan by duration."
|
|
875
|
+
},
|
|
876
|
+
"build": {
|
|
877
|
+
"type": "object",
|
|
878
|
+
"properties": {
|
|
879
|
+
"<1m": {
|
|
880
|
+
"type": "integer",
|
|
881
|
+
"minimum": 0,
|
|
882
|
+
"maximum": 9007199254740991,
|
|
883
|
+
"description": "Runs under 1 minute."
|
|
884
|
+
},
|
|
885
|
+
"1-5m": {
|
|
886
|
+
"type": "integer",
|
|
887
|
+
"minimum": 0,
|
|
888
|
+
"maximum": 9007199254740991,
|
|
889
|
+
"description": "Runs of at least 1 and under 5 minutes."
|
|
890
|
+
},
|
|
891
|
+
"5-15m": {
|
|
892
|
+
"type": "integer",
|
|
893
|
+
"minimum": 0,
|
|
894
|
+
"maximum": 9007199254740991,
|
|
895
|
+
"description": "Runs of at least 5 and under 15 minutes."
|
|
896
|
+
},
|
|
897
|
+
"15-60m": {
|
|
898
|
+
"type": "integer",
|
|
899
|
+
"minimum": 0,
|
|
900
|
+
"maximum": 9007199254740991,
|
|
901
|
+
"description": "Runs of at least 15 and under 60 minutes."
|
|
902
|
+
},
|
|
903
|
+
"60m+": {
|
|
904
|
+
"type": "integer",
|
|
905
|
+
"minimum": 0,
|
|
906
|
+
"maximum": 9007199254740991,
|
|
907
|
+
"description": "Runs of 60 minutes or more."
|
|
908
|
+
}
|
|
909
|
+
},
|
|
910
|
+
"required": [
|
|
911
|
+
"<1m",
|
|
912
|
+
"1-5m",
|
|
913
|
+
"5-15m",
|
|
914
|
+
"15-60m",
|
|
915
|
+
"60m+"
|
|
916
|
+
],
|
|
917
|
+
"additionalProperties": false,
|
|
918
|
+
"description": "Finished runs of build by duration."
|
|
919
|
+
},
|
|
920
|
+
"qa": {
|
|
921
|
+
"type": "object",
|
|
922
|
+
"properties": {
|
|
923
|
+
"<1m": {
|
|
924
|
+
"type": "integer",
|
|
925
|
+
"minimum": 0,
|
|
926
|
+
"maximum": 9007199254740991,
|
|
927
|
+
"description": "Runs under 1 minute."
|
|
928
|
+
},
|
|
929
|
+
"1-5m": {
|
|
930
|
+
"type": "integer",
|
|
931
|
+
"minimum": 0,
|
|
932
|
+
"maximum": 9007199254740991,
|
|
933
|
+
"description": "Runs of at least 1 and under 5 minutes."
|
|
934
|
+
},
|
|
935
|
+
"5-15m": {
|
|
936
|
+
"type": "integer",
|
|
937
|
+
"minimum": 0,
|
|
938
|
+
"maximum": 9007199254740991,
|
|
939
|
+
"description": "Runs of at least 5 and under 15 minutes."
|
|
940
|
+
},
|
|
941
|
+
"15-60m": {
|
|
942
|
+
"type": "integer",
|
|
943
|
+
"minimum": 0,
|
|
944
|
+
"maximum": 9007199254740991,
|
|
945
|
+
"description": "Runs of at least 15 and under 60 minutes."
|
|
946
|
+
},
|
|
947
|
+
"60m+": {
|
|
948
|
+
"type": "integer",
|
|
949
|
+
"minimum": 0,
|
|
950
|
+
"maximum": 9007199254740991,
|
|
951
|
+
"description": "Runs of 60 minutes or more."
|
|
952
|
+
}
|
|
953
|
+
},
|
|
954
|
+
"required": [
|
|
955
|
+
"<1m",
|
|
956
|
+
"1-5m",
|
|
957
|
+
"5-15m",
|
|
958
|
+
"15-60m",
|
|
959
|
+
"60m+"
|
|
960
|
+
],
|
|
961
|
+
"additionalProperties": false,
|
|
962
|
+
"description": "Finished runs of qa by duration."
|
|
963
|
+
},
|
|
964
|
+
"fix": {
|
|
965
|
+
"type": "object",
|
|
966
|
+
"properties": {
|
|
967
|
+
"<1m": {
|
|
968
|
+
"type": "integer",
|
|
969
|
+
"minimum": 0,
|
|
970
|
+
"maximum": 9007199254740991,
|
|
971
|
+
"description": "Runs under 1 minute."
|
|
972
|
+
},
|
|
973
|
+
"1-5m": {
|
|
974
|
+
"type": "integer",
|
|
975
|
+
"minimum": 0,
|
|
976
|
+
"maximum": 9007199254740991,
|
|
977
|
+
"description": "Runs of at least 1 and under 5 minutes."
|
|
978
|
+
},
|
|
979
|
+
"5-15m": {
|
|
980
|
+
"type": "integer",
|
|
981
|
+
"minimum": 0,
|
|
982
|
+
"maximum": 9007199254740991,
|
|
983
|
+
"description": "Runs of at least 5 and under 15 minutes."
|
|
984
|
+
},
|
|
985
|
+
"15-60m": {
|
|
986
|
+
"type": "integer",
|
|
987
|
+
"minimum": 0,
|
|
988
|
+
"maximum": 9007199254740991,
|
|
989
|
+
"description": "Runs of at least 15 and under 60 minutes."
|
|
990
|
+
},
|
|
991
|
+
"60m+": {
|
|
992
|
+
"type": "integer",
|
|
993
|
+
"minimum": 0,
|
|
994
|
+
"maximum": 9007199254740991,
|
|
995
|
+
"description": "Runs of 60 minutes or more."
|
|
996
|
+
}
|
|
997
|
+
},
|
|
998
|
+
"required": [
|
|
999
|
+
"<1m",
|
|
1000
|
+
"1-5m",
|
|
1001
|
+
"5-15m",
|
|
1002
|
+
"15-60m",
|
|
1003
|
+
"60m+"
|
|
1004
|
+
],
|
|
1005
|
+
"additionalProperties": false,
|
|
1006
|
+
"description": "Finished runs of fix by duration."
|
|
1007
|
+
},
|
|
1008
|
+
"align": {
|
|
1009
|
+
"type": "object",
|
|
1010
|
+
"properties": {
|
|
1011
|
+
"<1m": {
|
|
1012
|
+
"type": "integer",
|
|
1013
|
+
"minimum": 0,
|
|
1014
|
+
"maximum": 9007199254740991,
|
|
1015
|
+
"description": "Runs under 1 minute."
|
|
1016
|
+
},
|
|
1017
|
+
"1-5m": {
|
|
1018
|
+
"type": "integer",
|
|
1019
|
+
"minimum": 0,
|
|
1020
|
+
"maximum": 9007199254740991,
|
|
1021
|
+
"description": "Runs of at least 1 and under 5 minutes."
|
|
1022
|
+
},
|
|
1023
|
+
"5-15m": {
|
|
1024
|
+
"type": "integer",
|
|
1025
|
+
"minimum": 0,
|
|
1026
|
+
"maximum": 9007199254740991,
|
|
1027
|
+
"description": "Runs of at least 5 and under 15 minutes."
|
|
1028
|
+
},
|
|
1029
|
+
"15-60m": {
|
|
1030
|
+
"type": "integer",
|
|
1031
|
+
"minimum": 0,
|
|
1032
|
+
"maximum": 9007199254740991,
|
|
1033
|
+
"description": "Runs of at least 15 and under 60 minutes."
|
|
1034
|
+
},
|
|
1035
|
+
"60m+": {
|
|
1036
|
+
"type": "integer",
|
|
1037
|
+
"minimum": 0,
|
|
1038
|
+
"maximum": 9007199254740991,
|
|
1039
|
+
"description": "Runs of 60 minutes or more."
|
|
1040
|
+
}
|
|
1041
|
+
},
|
|
1042
|
+
"required": [
|
|
1043
|
+
"<1m",
|
|
1044
|
+
"1-5m",
|
|
1045
|
+
"5-15m",
|
|
1046
|
+
"15-60m",
|
|
1047
|
+
"60m+"
|
|
1048
|
+
],
|
|
1049
|
+
"additionalProperties": false,
|
|
1050
|
+
"description": "Finished runs of align by duration."
|
|
1051
|
+
},
|
|
1052
|
+
"refactor": {
|
|
1053
|
+
"type": "object",
|
|
1054
|
+
"properties": {
|
|
1055
|
+
"<1m": {
|
|
1056
|
+
"type": "integer",
|
|
1057
|
+
"minimum": 0,
|
|
1058
|
+
"maximum": 9007199254740991,
|
|
1059
|
+
"description": "Runs under 1 minute."
|
|
1060
|
+
},
|
|
1061
|
+
"1-5m": {
|
|
1062
|
+
"type": "integer",
|
|
1063
|
+
"minimum": 0,
|
|
1064
|
+
"maximum": 9007199254740991,
|
|
1065
|
+
"description": "Runs of at least 1 and under 5 minutes."
|
|
1066
|
+
},
|
|
1067
|
+
"5-15m": {
|
|
1068
|
+
"type": "integer",
|
|
1069
|
+
"minimum": 0,
|
|
1070
|
+
"maximum": 9007199254740991,
|
|
1071
|
+
"description": "Runs of at least 5 and under 15 minutes."
|
|
1072
|
+
},
|
|
1073
|
+
"15-60m": {
|
|
1074
|
+
"type": "integer",
|
|
1075
|
+
"minimum": 0,
|
|
1076
|
+
"maximum": 9007199254740991,
|
|
1077
|
+
"description": "Runs of at least 15 and under 60 minutes."
|
|
1078
|
+
},
|
|
1079
|
+
"60m+": {
|
|
1080
|
+
"type": "integer",
|
|
1081
|
+
"minimum": 0,
|
|
1082
|
+
"maximum": 9007199254740991,
|
|
1083
|
+
"description": "Runs of 60 minutes or more."
|
|
1084
|
+
}
|
|
1085
|
+
},
|
|
1086
|
+
"required": [
|
|
1087
|
+
"<1m",
|
|
1088
|
+
"1-5m",
|
|
1089
|
+
"5-15m",
|
|
1090
|
+
"15-60m",
|
|
1091
|
+
"60m+"
|
|
1092
|
+
],
|
|
1093
|
+
"additionalProperties": false,
|
|
1094
|
+
"description": "Finished runs of refactor by duration."
|
|
1095
|
+
},
|
|
1096
|
+
"cleanup": {
|
|
1097
|
+
"type": "object",
|
|
1098
|
+
"properties": {
|
|
1099
|
+
"<1m": {
|
|
1100
|
+
"type": "integer",
|
|
1101
|
+
"minimum": 0,
|
|
1102
|
+
"maximum": 9007199254740991,
|
|
1103
|
+
"description": "Runs under 1 minute."
|
|
1104
|
+
},
|
|
1105
|
+
"1-5m": {
|
|
1106
|
+
"type": "integer",
|
|
1107
|
+
"minimum": 0,
|
|
1108
|
+
"maximum": 9007199254740991,
|
|
1109
|
+
"description": "Runs of at least 1 and under 5 minutes."
|
|
1110
|
+
},
|
|
1111
|
+
"5-15m": {
|
|
1112
|
+
"type": "integer",
|
|
1113
|
+
"minimum": 0,
|
|
1114
|
+
"maximum": 9007199254740991,
|
|
1115
|
+
"description": "Runs of at least 5 and under 15 minutes."
|
|
1116
|
+
},
|
|
1117
|
+
"15-60m": {
|
|
1118
|
+
"type": "integer",
|
|
1119
|
+
"minimum": 0,
|
|
1120
|
+
"maximum": 9007199254740991,
|
|
1121
|
+
"description": "Runs of at least 15 and under 60 minutes."
|
|
1122
|
+
},
|
|
1123
|
+
"60m+": {
|
|
1124
|
+
"type": "integer",
|
|
1125
|
+
"minimum": 0,
|
|
1126
|
+
"maximum": 9007199254740991,
|
|
1127
|
+
"description": "Runs of 60 minutes or more."
|
|
1128
|
+
}
|
|
1129
|
+
},
|
|
1130
|
+
"required": [
|
|
1131
|
+
"<1m",
|
|
1132
|
+
"1-5m",
|
|
1133
|
+
"5-15m",
|
|
1134
|
+
"15-60m",
|
|
1135
|
+
"60m+"
|
|
1136
|
+
],
|
|
1137
|
+
"additionalProperties": false,
|
|
1138
|
+
"description": "Finished runs of cleanup by duration."
|
|
1139
|
+
}
|
|
1140
|
+
},
|
|
1141
|
+
"required": [
|
|
1142
|
+
"spec",
|
|
1143
|
+
"research",
|
|
1144
|
+
"synthesize",
|
|
1145
|
+
"structure",
|
|
1146
|
+
"plan",
|
|
1147
|
+
"build",
|
|
1148
|
+
"qa",
|
|
1149
|
+
"fix",
|
|
1150
|
+
"align",
|
|
1151
|
+
"refactor",
|
|
1152
|
+
"cleanup"
|
|
1153
|
+
],
|
|
1154
|
+
"additionalProperties": false,
|
|
1155
|
+
"description": "Finished phase runs in the counted sessions, by phase and duration. A run is a phase start paired with the earliest still-open start that has the same pipeline, phase and module when a matching phase finish arrives; its duration is from start to finish, in minutes. A start never finished and a finish with no open start are not counted. The module is used only to pair starts with finishes and is never sent."
|
|
1156
|
+
},
|
|
1157
|
+
"projects": {
|
|
1158
|
+
"type": "integer",
|
|
1159
|
+
"minimum": 0,
|
|
1160
|
+
"maximum": 9007199254740991,
|
|
1161
|
+
"description": "Distinct projects with at least one counted session. A session belongs to the one project whose session log holds its first event. Only the number is sent: never a project's name, path, key or anything else about it."
|
|
1162
|
+
},
|
|
1163
|
+
"sessionsPerProject": {
|
|
1164
|
+
"type": "object",
|
|
1165
|
+
"properties": {
|
|
1166
|
+
"1": {
|
|
1167
|
+
"type": "integer",
|
|
1168
|
+
"minimum": 0,
|
|
1169
|
+
"maximum": 9007199254740991,
|
|
1170
|
+
"description": "Projects with 1 session."
|
|
1171
|
+
},
|
|
1172
|
+
"2-3": {
|
|
1173
|
+
"type": "integer",
|
|
1174
|
+
"minimum": 0,
|
|
1175
|
+
"maximum": 9007199254740991,
|
|
1176
|
+
"description": "Projects with 2 or 3 sessions."
|
|
1177
|
+
},
|
|
1178
|
+
"4-10": {
|
|
1179
|
+
"type": "integer",
|
|
1180
|
+
"minimum": 0,
|
|
1181
|
+
"maximum": 9007199254740991,
|
|
1182
|
+
"description": "Projects with 4 to 10 sessions."
|
|
1183
|
+
},
|
|
1184
|
+
"11+": {
|
|
1185
|
+
"type": "integer",
|
|
1186
|
+
"minimum": 0,
|
|
1187
|
+
"maximum": 9007199254740991,
|
|
1188
|
+
"description": "Projects with 11 or more sessions."
|
|
1189
|
+
}
|
|
1190
|
+
},
|
|
1191
|
+
"required": [
|
|
1192
|
+
"1",
|
|
1193
|
+
"2-3",
|
|
1194
|
+
"4-10",
|
|
1195
|
+
"11+"
|
|
1196
|
+
],
|
|
1197
|
+
"additionalProperties": false,
|
|
1198
|
+
"description": "The projects counted in projects, by how many counted sessions each had. Each counted project adds one to exactly one bucket, so the buckets add up to projects."
|
|
1199
|
+
}
|
|
1200
|
+
},
|
|
1201
|
+
"required": [
|
|
1202
|
+
"schema",
|
|
1203
|
+
"installId",
|
|
1204
|
+
"day",
|
|
1205
|
+
"aidemdVersion",
|
|
1206
|
+
"launch",
|
|
1207
|
+
"os",
|
|
1208
|
+
"node",
|
|
1209
|
+
"sessions",
|
|
1210
|
+
"phases",
|
|
1211
|
+
"qa",
|
|
1212
|
+
"toolCalls",
|
|
1213
|
+
"agents",
|
|
1214
|
+
"sessionLength",
|
|
1215
|
+
"phasesPerSession",
|
|
1216
|
+
"phaseDurations",
|
|
1217
|
+
"projects",
|
|
1218
|
+
"sessionsPerProject"
|
|
1219
|
+
],
|
|
1220
|
+
"additionalProperties": false,
|
|
1221
|
+
"description": "Usage ping, format version 2: one opted-in AIDEMD install's counts for one finished UTC day."
|
|
1222
|
+
},
|
|
1223
|
+
"Stored": {
|
|
1224
|
+
"type": "object",
|
|
1225
|
+
"properties": {
|
|
1226
|
+
"status": {
|
|
1227
|
+
"type": "string",
|
|
1228
|
+
"const": "stored",
|
|
1229
|
+
"description": "Always stored for this answer: the ping was stored."
|
|
1230
|
+
}
|
|
1231
|
+
},
|
|
1232
|
+
"required": [
|
|
1233
|
+
"status"
|
|
1234
|
+
],
|
|
1235
|
+
"additionalProperties": false,
|
|
1236
|
+
"description": "The ping's install-day was stored by this request. Delivered."
|
|
1237
|
+
},
|
|
1238
|
+
"AlreadyStored": {
|
|
1239
|
+
"type": "object",
|
|
1240
|
+
"properties": {
|
|
1241
|
+
"status": {
|
|
1242
|
+
"type": "string",
|
|
1243
|
+
"const": "already_stored",
|
|
1244
|
+
"description": "Always already_stored for this answer: an earlier ping already holds this install and day."
|
|
1245
|
+
}
|
|
1246
|
+
},
|
|
1247
|
+
"required": [
|
|
1248
|
+
"status"
|
|
1249
|
+
],
|
|
1250
|
+
"additionalProperties": false,
|
|
1251
|
+
"description": "The ping's install-day was already stored, so nothing was stored again. Delivered: a repeat is not an error."
|
|
1252
|
+
},
|
|
1253
|
+
"Refused": {
|
|
1254
|
+
"type": "object",
|
|
1255
|
+
"properties": {
|
|
1256
|
+
"status": {
|
|
1257
|
+
"type": "string",
|
|
1258
|
+
"const": "refused",
|
|
1259
|
+
"description": "Always refused for this answer: the ping was not stored."
|
|
1260
|
+
},
|
|
1261
|
+
"reason": {
|
|
1262
|
+
"type": "string",
|
|
1263
|
+
"enum": [
|
|
1264
|
+
"unknown_version",
|
|
1265
|
+
"missing_field",
|
|
1266
|
+
"extra_field",
|
|
1267
|
+
"bad_value",
|
|
1268
|
+
"unreadable",
|
|
1269
|
+
"too_large"
|
|
1270
|
+
],
|
|
1271
|
+
"description": "Why: unknown_version (its schema is not a version the listener knows), missing_field, extra_field, bad_value (a value outside the allowed set, or a body that is not a JSON object), unreadable (the body could not be read, is not valid UTF-8 or is not valid JSON), too_large (the body is over 64 KiB)."
|
|
1272
|
+
},
|
|
1273
|
+
"message": {
|
|
1274
|
+
"type": "string",
|
|
1275
|
+
"maxLength": 2000,
|
|
1276
|
+
"description": "The same reason in plain words, naming the fields concerned. Never repeats a value that was sent."
|
|
1277
|
+
}
|
|
1278
|
+
},
|
|
1279
|
+
"required": [
|
|
1280
|
+
"status",
|
|
1281
|
+
"reason",
|
|
1282
|
+
"message"
|
|
1283
|
+
],
|
|
1284
|
+
"additionalProperties": false,
|
|
1285
|
+
"description": "The ping was refused whole and nothing from it was stored. Resending the same ping gets the same answer."
|
|
1286
|
+
},
|
|
1287
|
+
"Failed": {
|
|
1288
|
+
"type": "object",
|
|
1289
|
+
"properties": {
|
|
1290
|
+
"status": {
|
|
1291
|
+
"type": "string",
|
|
1292
|
+
"const": "failed",
|
|
1293
|
+
"description": "Always failed for this answer: the ping was not stored."
|
|
1294
|
+
}
|
|
1295
|
+
},
|
|
1296
|
+
"required": [
|
|
1297
|
+
"status"
|
|
1298
|
+
],
|
|
1299
|
+
"additionalProperties": false,
|
|
1300
|
+
"description": "The listener could not store the ping this time. Not delivered; retrying later may work."
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
}
|
|
1304
|
+
}
|