@vitest-agent/mcp 2.0.6 → 2.0.7
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/index.d.ts +951 -949
- package/index.js +1 -1
- package/package.json +5 -5
package/index.d.ts
CHANGED
|
@@ -137,9 +137,9 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
137
137
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
138
138
|
help: import("@trpc/server").TRPCQueryProcedure<{
|
|
139
139
|
input: void;
|
|
140
|
-
output:
|
|
141
|
-
readonly helpText:
|
|
142
|
-
}
|
|
140
|
+
output: {
|
|
141
|
+
readonly helpText: string;
|
|
142
|
+
};
|
|
143
143
|
meta: object;
|
|
144
144
|
}>;
|
|
145
145
|
test_status: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -171,15 +171,15 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
171
171
|
output: {
|
|
172
172
|
readonly dataAvailable: true;
|
|
173
173
|
readonly projectFilter?: string | undefined;
|
|
174
|
-
readonly runs: readonly
|
|
175
|
-
readonly project:
|
|
176
|
-
readonly lastRun:
|
|
177
|
-
readonly lastResult:
|
|
178
|
-
readonly total:
|
|
179
|
-
readonly passed:
|
|
180
|
-
readonly failed:
|
|
181
|
-
readonly skipped:
|
|
182
|
-
}
|
|
174
|
+
readonly runs: readonly {
|
|
175
|
+
readonly project: string;
|
|
176
|
+
readonly lastRun: string | null;
|
|
177
|
+
readonly lastResult: "failed" | "interrupted" | "passed" | null;
|
|
178
|
+
readonly total: number;
|
|
179
|
+
readonly passed: number;
|
|
180
|
+
readonly failed: number;
|
|
181
|
+
readonly skipped: number;
|
|
182
|
+
}[];
|
|
183
183
|
} | {
|
|
184
184
|
readonly dataAvailable: false;
|
|
185
185
|
readonly projectFilter?: string | undefined;
|
|
@@ -191,132 +191,132 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
191
191
|
input: {
|
|
192
192
|
readonly project?: string | undefined;
|
|
193
193
|
};
|
|
194
|
-
output:
|
|
195
|
-
readonly dataAvailable:
|
|
196
|
-
readonly project:
|
|
197
|
-
readonly coverage:
|
|
198
|
-
readonly totals:
|
|
199
|
-
readonly statements:
|
|
200
|
-
readonly branches:
|
|
201
|
-
readonly functions:
|
|
202
|
-
readonly lines:
|
|
203
|
-
}
|
|
204
|
-
readonly thresholds:
|
|
205
|
-
readonly global:
|
|
206
|
-
readonly lines
|
|
207
|
-
readonly functions
|
|
208
|
-
readonly branches
|
|
209
|
-
readonly statements
|
|
210
|
-
}
|
|
211
|
-
readonly patterns:
|
|
212
|
-
readonly lines
|
|
213
|
-
readonly functions
|
|
214
|
-
readonly branches
|
|
215
|
-
readonly statements
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
readonly targets
|
|
219
|
-
readonly global:
|
|
220
|
-
readonly lines
|
|
221
|
-
readonly functions
|
|
222
|
-
readonly branches
|
|
223
|
-
readonly statements
|
|
224
|
-
}
|
|
225
|
-
readonly patterns:
|
|
226
|
-
readonly lines
|
|
227
|
-
readonly functions
|
|
228
|
-
readonly branches
|
|
229
|
-
readonly statements
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
readonly baselines
|
|
233
|
-
readonly global:
|
|
234
|
-
readonly lines
|
|
235
|
-
readonly functions
|
|
236
|
-
readonly branches
|
|
237
|
-
readonly statements
|
|
238
|
-
}
|
|
239
|
-
readonly patterns:
|
|
240
|
-
readonly lines
|
|
241
|
-
readonly functions
|
|
242
|
-
readonly branches
|
|
243
|
-
readonly statements
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
readonly scoped:
|
|
247
|
-
readonly scopedFiles
|
|
248
|
-
readonly lowCoverage:
|
|
249
|
-
readonly file:
|
|
250
|
-
readonly summary:
|
|
251
|
-
readonly statements:
|
|
252
|
-
readonly branches:
|
|
253
|
-
readonly functions:
|
|
254
|
-
readonly lines:
|
|
255
|
-
}
|
|
256
|
-
readonly uncoveredLines:
|
|
257
|
-
}
|
|
258
|
-
readonly lowCoverageFiles:
|
|
259
|
-
readonly belowTarget
|
|
260
|
-
readonly file:
|
|
261
|
-
readonly summary:
|
|
262
|
-
readonly statements:
|
|
263
|
-
readonly branches:
|
|
264
|
-
readonly functions:
|
|
265
|
-
readonly lines:
|
|
266
|
-
}
|
|
267
|
-
readonly uncoveredLines:
|
|
268
|
-
}
|
|
269
|
-
readonly belowTargetFiles
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
readonly dataAvailable:
|
|
273
|
-
readonly project:
|
|
274
|
-
}
|
|
194
|
+
output: {
|
|
195
|
+
readonly dataAvailable: true;
|
|
196
|
+
readonly project: string;
|
|
197
|
+
readonly coverage: {
|
|
198
|
+
readonly totals: {
|
|
199
|
+
readonly statements: number;
|
|
200
|
+
readonly branches: number;
|
|
201
|
+
readonly functions: number;
|
|
202
|
+
readonly lines: number;
|
|
203
|
+
};
|
|
204
|
+
readonly thresholds: {
|
|
205
|
+
readonly global: {
|
|
206
|
+
readonly lines?: number | undefined;
|
|
207
|
+
readonly functions?: number | undefined;
|
|
208
|
+
readonly branches?: number | undefined;
|
|
209
|
+
readonly statements?: number | undefined;
|
|
210
|
+
};
|
|
211
|
+
readonly patterns: readonly (readonly [string, {
|
|
212
|
+
readonly lines?: number | undefined;
|
|
213
|
+
readonly functions?: number | undefined;
|
|
214
|
+
readonly branches?: number | undefined;
|
|
215
|
+
readonly statements?: number | undefined;
|
|
216
|
+
}])[];
|
|
217
|
+
};
|
|
218
|
+
readonly targets?: {
|
|
219
|
+
readonly global: {
|
|
220
|
+
readonly lines?: number | undefined;
|
|
221
|
+
readonly functions?: number | undefined;
|
|
222
|
+
readonly branches?: number | undefined;
|
|
223
|
+
readonly statements?: number | undefined;
|
|
224
|
+
};
|
|
225
|
+
readonly patterns: readonly (readonly [string, {
|
|
226
|
+
readonly lines?: number | undefined;
|
|
227
|
+
readonly functions?: number | undefined;
|
|
228
|
+
readonly branches?: number | undefined;
|
|
229
|
+
readonly statements?: number | undefined;
|
|
230
|
+
}])[];
|
|
231
|
+
} | undefined;
|
|
232
|
+
readonly baselines?: {
|
|
233
|
+
readonly global: {
|
|
234
|
+
readonly lines?: number | undefined;
|
|
235
|
+
readonly functions?: number | undefined;
|
|
236
|
+
readonly branches?: number | undefined;
|
|
237
|
+
readonly statements?: number | undefined;
|
|
238
|
+
};
|
|
239
|
+
readonly patterns: readonly (readonly [string, {
|
|
240
|
+
readonly lines?: number | undefined;
|
|
241
|
+
readonly functions?: number | undefined;
|
|
242
|
+
readonly branches?: number | undefined;
|
|
243
|
+
readonly statements?: number | undefined;
|
|
244
|
+
}])[];
|
|
245
|
+
} | undefined;
|
|
246
|
+
readonly scoped: boolean;
|
|
247
|
+
readonly scopedFiles?: readonly string[] | undefined;
|
|
248
|
+
readonly lowCoverage: readonly {
|
|
249
|
+
readonly file: string;
|
|
250
|
+
readonly summary: {
|
|
251
|
+
readonly statements: number;
|
|
252
|
+
readonly branches: number;
|
|
253
|
+
readonly functions: number;
|
|
254
|
+
readonly lines: number;
|
|
255
|
+
};
|
|
256
|
+
readonly uncoveredLines: string;
|
|
257
|
+
}[];
|
|
258
|
+
readonly lowCoverageFiles: readonly string[];
|
|
259
|
+
readonly belowTarget?: readonly {
|
|
260
|
+
readonly file: string;
|
|
261
|
+
readonly summary: {
|
|
262
|
+
readonly statements: number;
|
|
263
|
+
readonly branches: number;
|
|
264
|
+
readonly functions: number;
|
|
265
|
+
readonly lines: number;
|
|
266
|
+
};
|
|
267
|
+
readonly uncoveredLines: string;
|
|
268
|
+
}[] | undefined;
|
|
269
|
+
readonly belowTargetFiles?: readonly string[] | undefined;
|
|
270
|
+
};
|
|
271
|
+
} | {
|
|
272
|
+
readonly dataAvailable: false;
|
|
273
|
+
readonly project: string;
|
|
274
|
+
};
|
|
275
275
|
meta: object;
|
|
276
276
|
}>;
|
|
277
277
|
test_history: import("@trpc/server").TRPCQueryProcedure<{
|
|
278
|
-
input:
|
|
279
|
-
readonly project:
|
|
280
|
-
}
|
|
281
|
-
output:
|
|
282
|
-
readonly project:
|
|
283
|
-
readonly hasData:
|
|
284
|
-
readonly history:
|
|
285
|
-
readonly project:
|
|
286
|
-
readonly updatedAt:
|
|
287
|
-
readonly tests:
|
|
288
|
-
readonly modulePath:
|
|
289
|
-
readonly fullName:
|
|
290
|
-
readonly runs:
|
|
291
|
-
readonly timestamp:
|
|
292
|
-
readonly state:
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
readonly flaky:
|
|
297
|
-
readonly fullName:
|
|
298
|
-
readonly modulePath:
|
|
299
|
-
readonly project:
|
|
300
|
-
readonly passCount:
|
|
301
|
-
readonly failCount:
|
|
302
|
-
readonly lastState:
|
|
303
|
-
readonly lastTimestamp:
|
|
304
|
-
}
|
|
305
|
-
readonly persistent:
|
|
306
|
-
readonly fullName:
|
|
307
|
-
readonly modulePath:
|
|
308
|
-
readonly project:
|
|
309
|
-
readonly consecutiveFailures:
|
|
310
|
-
readonly firstFailedAt:
|
|
311
|
-
readonly lastFailedAt:
|
|
312
|
-
readonly lastErrorMessage:
|
|
313
|
-
}
|
|
314
|
-
readonly recovered:
|
|
315
|
-
readonly modulePath:
|
|
316
|
-
readonly fullName:
|
|
317
|
-
readonly recentRuns:
|
|
318
|
-
}
|
|
319
|
-
}
|
|
278
|
+
input: {
|
|
279
|
+
readonly project: string;
|
|
280
|
+
};
|
|
281
|
+
output: {
|
|
282
|
+
readonly project: string;
|
|
283
|
+
readonly hasData: boolean;
|
|
284
|
+
readonly history: {
|
|
285
|
+
readonly project: string;
|
|
286
|
+
readonly updatedAt: string;
|
|
287
|
+
readonly tests: readonly {
|
|
288
|
+
readonly modulePath: string;
|
|
289
|
+
readonly fullName: string;
|
|
290
|
+
readonly runs: readonly {
|
|
291
|
+
readonly timestamp: string;
|
|
292
|
+
readonly state: "failed" | "passed";
|
|
293
|
+
}[];
|
|
294
|
+
}[];
|
|
295
|
+
};
|
|
296
|
+
readonly flaky: readonly {
|
|
297
|
+
readonly fullName: string;
|
|
298
|
+
readonly modulePath: string;
|
|
299
|
+
readonly project: string;
|
|
300
|
+
readonly passCount: number;
|
|
301
|
+
readonly failCount: number;
|
|
302
|
+
readonly lastState: "failed" | "passed";
|
|
303
|
+
readonly lastTimestamp: string;
|
|
304
|
+
}[];
|
|
305
|
+
readonly persistent: readonly {
|
|
306
|
+
readonly fullName: string;
|
|
307
|
+
readonly modulePath: string;
|
|
308
|
+
readonly project: string;
|
|
309
|
+
readonly consecutiveFailures: number;
|
|
310
|
+
readonly firstFailedAt: string;
|
|
311
|
+
readonly lastFailedAt: string;
|
|
312
|
+
readonly lastErrorMessage: string | null;
|
|
313
|
+
}[];
|
|
314
|
+
readonly recovered: readonly {
|
|
315
|
+
readonly modulePath: string;
|
|
316
|
+
readonly fullName: string;
|
|
317
|
+
readonly recentRuns: readonly ("failed" | "passed")[];
|
|
318
|
+
}[];
|
|
319
|
+
};
|
|
320
320
|
meta: object;
|
|
321
321
|
}>;
|
|
322
322
|
test_trends: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -324,32 +324,32 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
324
324
|
readonly project: string;
|
|
325
325
|
readonly limit?: number | undefined;
|
|
326
326
|
};
|
|
327
|
-
output:
|
|
328
|
-
readonly dataAvailable:
|
|
329
|
-
readonly project:
|
|
330
|
-
readonly trends:
|
|
331
|
-
readonly entries:
|
|
332
|
-
readonly timestamp:
|
|
333
|
-
readonly coverage:
|
|
334
|
-
readonly statements:
|
|
335
|
-
readonly branches:
|
|
336
|
-
readonly functions:
|
|
337
|
-
readonly lines:
|
|
338
|
-
}
|
|
339
|
-
readonly delta:
|
|
340
|
-
readonly statements:
|
|
341
|
-
readonly branches:
|
|
342
|
-
readonly functions:
|
|
343
|
-
readonly lines:
|
|
344
|
-
}
|
|
345
|
-
readonly direction:
|
|
346
|
-
readonly targetsHash
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
readonly dataAvailable:
|
|
351
|
-
readonly project:
|
|
352
|
-
}
|
|
327
|
+
output: {
|
|
328
|
+
readonly dataAvailable: true;
|
|
329
|
+
readonly project: string;
|
|
330
|
+
readonly trends: {
|
|
331
|
+
readonly entries: readonly {
|
|
332
|
+
readonly timestamp: string;
|
|
333
|
+
readonly coverage: {
|
|
334
|
+
readonly statements: number;
|
|
335
|
+
readonly branches: number;
|
|
336
|
+
readonly functions: number;
|
|
337
|
+
readonly lines: number;
|
|
338
|
+
};
|
|
339
|
+
readonly delta: {
|
|
340
|
+
readonly statements: number;
|
|
341
|
+
readonly branches: number;
|
|
342
|
+
readonly functions: number;
|
|
343
|
+
readonly lines: number;
|
|
344
|
+
};
|
|
345
|
+
readonly direction: "improving" | "regressing" | "stable";
|
|
346
|
+
readonly targetsHash?: string | undefined;
|
|
347
|
+
}[];
|
|
348
|
+
};
|
|
349
|
+
} | {
|
|
350
|
+
readonly dataAvailable: false;
|
|
351
|
+
readonly project: string;
|
|
352
|
+
};
|
|
353
353
|
meta: object;
|
|
354
354
|
}>;
|
|
355
355
|
test_errors: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -361,27 +361,24 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
361
361
|
readonly project: string;
|
|
362
362
|
readonly errorName?: string | undefined;
|
|
363
363
|
readonly count: number;
|
|
364
|
-
readonly errors: readonly
|
|
365
|
-
readonly id:
|
|
366
|
-
readonly topStackFrameId:
|
|
367
|
-
readonly name:
|
|
368
|
-
readonly message:
|
|
369
|
-
readonly diff:
|
|
370
|
-
readonly actual:
|
|
371
|
-
readonly expected:
|
|
372
|
-
readonly stack:
|
|
373
|
-
readonly scope:
|
|
374
|
-
readonly testFullName:
|
|
375
|
-
readonly moduleFile:
|
|
376
|
-
}
|
|
364
|
+
readonly errors: readonly {
|
|
365
|
+
readonly id: number;
|
|
366
|
+
readonly topStackFrameId: number | null;
|
|
367
|
+
readonly name: string | null;
|
|
368
|
+
readonly message: string;
|
|
369
|
+
readonly diff: string | null;
|
|
370
|
+
readonly actual: string | null;
|
|
371
|
+
readonly expected: string | null;
|
|
372
|
+
readonly stack: string | null;
|
|
373
|
+
readonly scope: "module" | "suite" | "test" | "unhandled";
|
|
374
|
+
readonly testFullName: string | null;
|
|
375
|
+
readonly moduleFile: string | null;
|
|
376
|
+
}[];
|
|
377
377
|
};
|
|
378
378
|
meta: object;
|
|
379
379
|
}>;
|
|
380
380
|
test: import("@trpc/server").TRPCQueryProcedure<{
|
|
381
|
-
input:
|
|
382
|
-
readonly action: import("effect/Schema").Literal<"for_file">;
|
|
383
|
-
readonly filePath: import("effect/Schema").String;
|
|
384
|
-
}, "Encoded"> | {
|
|
381
|
+
input: {
|
|
385
382
|
readonly action: "list";
|
|
386
383
|
readonly project?: string | undefined;
|
|
387
384
|
readonly state?: string | undefined;
|
|
@@ -391,73 +388,76 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
391
388
|
readonly action: "get";
|
|
392
389
|
readonly fullName: string;
|
|
393
390
|
readonly project?: string | undefined;
|
|
391
|
+
} | {
|
|
392
|
+
readonly action: "for_file";
|
|
393
|
+
readonly filePath: string;
|
|
394
394
|
} | {
|
|
395
395
|
readonly action: "for_tag";
|
|
396
396
|
readonly tag: string;
|
|
397
397
|
readonly project?: string | undefined;
|
|
398
398
|
};
|
|
399
|
-
output:
|
|
400
|
-
readonly action:
|
|
401
|
-
readonly count:
|
|
402
|
-
readonly groups:
|
|
403
|
-
readonly project:
|
|
404
|
-
readonly tests:
|
|
405
|
-
readonly id:
|
|
406
|
-
readonly fullName:
|
|
407
|
-
readonly state:
|
|
408
|
-
readonly duration:
|
|
409
|
-
readonly module:
|
|
410
|
-
readonly classification:
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
readonly action:
|
|
415
|
-
readonly found:
|
|
416
|
-
readonly project:
|
|
417
|
-
readonly test:
|
|
418
|
-
readonly id:
|
|
419
|
-
readonly fullName:
|
|
420
|
-
readonly state:
|
|
421
|
-
readonly duration:
|
|
422
|
-
readonly module:
|
|
423
|
-
readonly classification:
|
|
424
|
-
}
|
|
425
|
-
readonly errors:
|
|
426
|
-
readonly name:
|
|
427
|
-
readonly message:
|
|
428
|
-
readonly diff:
|
|
429
|
-
readonly stack:
|
|
430
|
-
}
|
|
431
|
-
readonly runs:
|
|
432
|
-
readonly state:
|
|
433
|
-
readonly timestamp:
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
readonly action:
|
|
437
|
-
readonly found:
|
|
438
|
-
readonly project:
|
|
439
|
-
readonly fullName:
|
|
440
|
-
}
|
|
441
|
-
readonly action:
|
|
442
|
-
readonly filePath:
|
|
443
|
-
readonly count:
|
|
444
|
-
readonly testFiles:
|
|
445
|
-
}
|
|
446
|
-
readonly action:
|
|
447
|
-
readonly tag:
|
|
448
|
-
readonly count:
|
|
449
|
-
readonly groups:
|
|
450
|
-
readonly project:
|
|
451
|
-
readonly tests:
|
|
452
|
-
readonly id:
|
|
453
|
-
readonly fullName:
|
|
454
|
-
readonly state:
|
|
455
|
-
readonly duration:
|
|
456
|
-
readonly module:
|
|
457
|
-
readonly classification:
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
}
|
|
399
|
+
output: {
|
|
400
|
+
readonly action: "list";
|
|
401
|
+
readonly count: number;
|
|
402
|
+
readonly groups: readonly {
|
|
403
|
+
readonly project: string;
|
|
404
|
+
readonly tests: readonly {
|
|
405
|
+
readonly id: number;
|
|
406
|
+
readonly fullName: string;
|
|
407
|
+
readonly state: string;
|
|
408
|
+
readonly duration: number | null;
|
|
409
|
+
readonly module: string;
|
|
410
|
+
readonly classification: string | null;
|
|
411
|
+
}[];
|
|
412
|
+
}[];
|
|
413
|
+
} | {
|
|
414
|
+
readonly action: "get";
|
|
415
|
+
readonly found: true;
|
|
416
|
+
readonly project: string;
|
|
417
|
+
readonly test: {
|
|
418
|
+
readonly id: number;
|
|
419
|
+
readonly fullName: string;
|
|
420
|
+
readonly state: string;
|
|
421
|
+
readonly duration: number | null;
|
|
422
|
+
readonly module: string;
|
|
423
|
+
readonly classification: string | null;
|
|
424
|
+
};
|
|
425
|
+
readonly errors: readonly {
|
|
426
|
+
readonly name: string | null;
|
|
427
|
+
readonly message: string;
|
|
428
|
+
readonly diff: string | null;
|
|
429
|
+
readonly stack: string | null;
|
|
430
|
+
}[];
|
|
431
|
+
readonly runs: readonly {
|
|
432
|
+
readonly state: "failed" | "passed";
|
|
433
|
+
readonly timestamp: string;
|
|
434
|
+
}[];
|
|
435
|
+
} | {
|
|
436
|
+
readonly action: "get";
|
|
437
|
+
readonly found: false;
|
|
438
|
+
readonly project: string;
|
|
439
|
+
readonly fullName: string;
|
|
440
|
+
} | {
|
|
441
|
+
readonly action: "for_file";
|
|
442
|
+
readonly filePath: string;
|
|
443
|
+
readonly count: number;
|
|
444
|
+
readonly testFiles: readonly string[];
|
|
445
|
+
} | {
|
|
446
|
+
readonly action: "for_tag";
|
|
447
|
+
readonly tag: string;
|
|
448
|
+
readonly count: number;
|
|
449
|
+
readonly groups: readonly {
|
|
450
|
+
readonly project: string;
|
|
451
|
+
readonly tests: readonly {
|
|
452
|
+
readonly id: number;
|
|
453
|
+
readonly fullName: string;
|
|
454
|
+
readonly state: string;
|
|
455
|
+
readonly duration: number | null;
|
|
456
|
+
readonly module: string;
|
|
457
|
+
readonly classification: string | null;
|
|
458
|
+
}[];
|
|
459
|
+
}[];
|
|
460
|
+
};
|
|
461
461
|
meta: object;
|
|
462
462
|
}>;
|
|
463
463
|
file_coverage: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -465,42 +465,42 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
465
465
|
readonly filePath: string;
|
|
466
466
|
readonly project?: string | undefined;
|
|
467
467
|
};
|
|
468
|
-
output:
|
|
469
|
-
readonly dataAvailable:
|
|
470
|
-
readonly matched:
|
|
471
|
-
readonly filePath:
|
|
472
|
-
readonly report:
|
|
473
|
-
readonly file:
|
|
474
|
-
readonly summary:
|
|
475
|
-
readonly statements:
|
|
476
|
-
readonly branches:
|
|
477
|
-
readonly functions:
|
|
478
|
-
readonly lines:
|
|
479
|
-
}
|
|
480
|
-
readonly uncoveredLines:
|
|
481
|
-
}
|
|
482
|
-
readonly globalThresholds:
|
|
483
|
-
readonly statements
|
|
484
|
-
readonly branches
|
|
485
|
-
readonly functions
|
|
486
|
-
readonly lines
|
|
487
|
-
}
|
|
488
|
-
readonly relatedTestFiles:
|
|
489
|
-
}
|
|
490
|
-
readonly dataAvailable:
|
|
491
|
-
readonly matched:
|
|
492
|
-
readonly filePath:
|
|
493
|
-
readonly totals:
|
|
494
|
-
readonly statements:
|
|
495
|
-
readonly branches:
|
|
496
|
-
readonly functions:
|
|
497
|
-
readonly lines:
|
|
498
|
-
}
|
|
499
|
-
readonly relatedTestFiles:
|
|
500
|
-
}
|
|
501
|
-
readonly dataAvailable:
|
|
502
|
-
readonly filePath:
|
|
503
|
-
}
|
|
468
|
+
output: {
|
|
469
|
+
readonly dataAvailable: true;
|
|
470
|
+
readonly matched: true;
|
|
471
|
+
readonly filePath: string;
|
|
472
|
+
readonly report: {
|
|
473
|
+
readonly file: string;
|
|
474
|
+
readonly summary: {
|
|
475
|
+
readonly statements: number;
|
|
476
|
+
readonly branches: number;
|
|
477
|
+
readonly functions: number;
|
|
478
|
+
readonly lines: number;
|
|
479
|
+
};
|
|
480
|
+
readonly uncoveredLines: string;
|
|
481
|
+
};
|
|
482
|
+
readonly globalThresholds: {
|
|
483
|
+
readonly statements?: number | undefined;
|
|
484
|
+
readonly branches?: number | undefined;
|
|
485
|
+
readonly functions?: number | undefined;
|
|
486
|
+
readonly lines?: number | undefined;
|
|
487
|
+
};
|
|
488
|
+
readonly relatedTestFiles: readonly string[];
|
|
489
|
+
} | {
|
|
490
|
+
readonly dataAvailable: true;
|
|
491
|
+
readonly matched: false;
|
|
492
|
+
readonly filePath: string;
|
|
493
|
+
readonly totals: {
|
|
494
|
+
readonly statements: number;
|
|
495
|
+
readonly branches: number;
|
|
496
|
+
readonly functions: number;
|
|
497
|
+
readonly lines: number;
|
|
498
|
+
};
|
|
499
|
+
readonly relatedTestFiles: readonly string[];
|
|
500
|
+
} | {
|
|
501
|
+
readonly dataAvailable: false;
|
|
502
|
+
readonly filePath: string;
|
|
503
|
+
};
|
|
504
504
|
meta: object;
|
|
505
505
|
}>;
|
|
506
506
|
run_tests: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -514,44 +514,26 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
514
514
|
} | undefined;
|
|
515
515
|
readonly passWithNoTests?: boolean | undefined;
|
|
516
516
|
readonly timeout?: number | undefined;
|
|
517
|
-
readonly _sessionContext?:
|
|
518
|
-
readonly chatId:
|
|
519
|
-
readonly conversationId:
|
|
520
|
-
readonly mainAgentId:
|
|
521
|
-
}
|
|
517
|
+
readonly _sessionContext?: {
|
|
518
|
+
readonly chatId: string;
|
|
519
|
+
readonly conversationId: string;
|
|
520
|
+
readonly mainAgentId: string;
|
|
521
|
+
} | undefined;
|
|
522
522
|
};
|
|
523
|
-
output:
|
|
524
|
-
readonly kind: import("effect/Schema").Literal<"timeout">;
|
|
525
|
-
readonly timeoutSeconds: import("effect/Schema").Number;
|
|
526
|
-
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
527
|
-
readonly kind: import("effect/Schema").Literal<"error">;
|
|
528
|
-
readonly message: import("effect/Schema").String;
|
|
529
|
-
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
530
|
-
readonly kind: import("effect/Schema").Literal<"no-match">;
|
|
531
|
-
readonly filter: import("effect/Schema").Struct<{
|
|
532
|
-
readonly project: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
533
|
-
readonly files: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
534
|
-
readonly tags: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
535
|
-
readonly all: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
536
|
-
readonly any: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
537
|
-
readonly none: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
538
|
-
}>>;
|
|
539
|
-
readonly resolvedExpression: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
540
|
-
}>;
|
|
541
|
-
}, "Type"> | {
|
|
523
|
+
output: {
|
|
542
524
|
readonly kind: "ok";
|
|
543
525
|
readonly project?: string | undefined;
|
|
544
526
|
readonly report: {
|
|
545
527
|
readonly timestamp: string;
|
|
546
528
|
readonly project?: string | undefined;
|
|
547
529
|
readonly reason: "failed" | "interrupted" | "passed";
|
|
548
|
-
readonly summary:
|
|
549
|
-
readonly total:
|
|
550
|
-
readonly passed:
|
|
551
|
-
readonly failed:
|
|
552
|
-
readonly skipped:
|
|
553
|
-
readonly duration:
|
|
554
|
-
}
|
|
530
|
+
readonly summary: {
|
|
531
|
+
readonly total: number;
|
|
532
|
+
readonly passed: number;
|
|
533
|
+
readonly failed: number;
|
|
534
|
+
readonly skipped: number;
|
|
535
|
+
readonly duration: number;
|
|
536
|
+
};
|
|
555
537
|
readonly failed: readonly {
|
|
556
538
|
readonly file: string;
|
|
557
539
|
readonly state: "failed" | "passed" | "pending" | "skipped";
|
|
@@ -589,77 +571,77 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
589
571
|
}[];
|
|
590
572
|
readonly failedFiles: readonly string[];
|
|
591
573
|
readonly coverage?: {
|
|
592
|
-
readonly totals:
|
|
593
|
-
readonly statements:
|
|
594
|
-
readonly branches:
|
|
595
|
-
readonly functions:
|
|
596
|
-
readonly lines:
|
|
597
|
-
}
|
|
598
|
-
readonly thresholds:
|
|
599
|
-
readonly global:
|
|
600
|
-
readonly lines
|
|
601
|
-
readonly functions
|
|
602
|
-
readonly branches
|
|
603
|
-
readonly statements
|
|
604
|
-
}
|
|
605
|
-
readonly patterns:
|
|
606
|
-
readonly lines
|
|
607
|
-
readonly functions
|
|
608
|
-
readonly branches
|
|
609
|
-
readonly statements
|
|
610
|
-
}
|
|
611
|
-
}
|
|
612
|
-
readonly targets?:
|
|
613
|
-
readonly global:
|
|
614
|
-
readonly lines
|
|
615
|
-
readonly functions
|
|
616
|
-
readonly branches
|
|
617
|
-
readonly statements
|
|
618
|
-
}
|
|
619
|
-
readonly patterns:
|
|
620
|
-
readonly lines
|
|
621
|
-
readonly functions
|
|
622
|
-
readonly branches
|
|
623
|
-
readonly statements
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
readonly baselines?:
|
|
627
|
-
readonly global:
|
|
628
|
-
readonly lines
|
|
629
|
-
readonly functions
|
|
630
|
-
readonly branches
|
|
631
|
-
readonly statements
|
|
632
|
-
}
|
|
633
|
-
readonly patterns:
|
|
634
|
-
readonly lines
|
|
635
|
-
readonly functions
|
|
636
|
-
readonly branches
|
|
637
|
-
readonly statements
|
|
638
|
-
}
|
|
639
|
-
}
|
|
574
|
+
readonly totals: {
|
|
575
|
+
readonly statements: number;
|
|
576
|
+
readonly branches: number;
|
|
577
|
+
readonly functions: number;
|
|
578
|
+
readonly lines: number;
|
|
579
|
+
};
|
|
580
|
+
readonly thresholds: {
|
|
581
|
+
readonly global: {
|
|
582
|
+
readonly lines?: number | undefined;
|
|
583
|
+
readonly functions?: number | undefined;
|
|
584
|
+
readonly branches?: number | undefined;
|
|
585
|
+
readonly statements?: number | undefined;
|
|
586
|
+
};
|
|
587
|
+
readonly patterns: readonly (readonly [string, {
|
|
588
|
+
readonly lines?: number | undefined;
|
|
589
|
+
readonly functions?: number | undefined;
|
|
590
|
+
readonly branches?: number | undefined;
|
|
591
|
+
readonly statements?: number | undefined;
|
|
592
|
+
}])[];
|
|
593
|
+
};
|
|
594
|
+
readonly targets?: {
|
|
595
|
+
readonly global: {
|
|
596
|
+
readonly lines?: number | undefined;
|
|
597
|
+
readonly functions?: number | undefined;
|
|
598
|
+
readonly branches?: number | undefined;
|
|
599
|
+
readonly statements?: number | undefined;
|
|
600
|
+
};
|
|
601
|
+
readonly patterns: readonly (readonly [string, {
|
|
602
|
+
readonly lines?: number | undefined;
|
|
603
|
+
readonly functions?: number | undefined;
|
|
604
|
+
readonly branches?: number | undefined;
|
|
605
|
+
readonly statements?: number | undefined;
|
|
606
|
+
}])[];
|
|
607
|
+
} | undefined;
|
|
608
|
+
readonly baselines?: {
|
|
609
|
+
readonly global: {
|
|
610
|
+
readonly lines?: number | undefined;
|
|
611
|
+
readonly functions?: number | undefined;
|
|
612
|
+
readonly branches?: number | undefined;
|
|
613
|
+
readonly statements?: number | undefined;
|
|
614
|
+
};
|
|
615
|
+
readonly patterns: readonly (readonly [string, {
|
|
616
|
+
readonly lines?: number | undefined;
|
|
617
|
+
readonly functions?: number | undefined;
|
|
618
|
+
readonly branches?: number | undefined;
|
|
619
|
+
readonly statements?: number | undefined;
|
|
620
|
+
}])[];
|
|
621
|
+
} | undefined;
|
|
640
622
|
readonly scoped: boolean;
|
|
641
623
|
readonly scopedFiles?: readonly string[] | undefined;
|
|
642
|
-
readonly lowCoverage: readonly
|
|
643
|
-
readonly file:
|
|
644
|
-
readonly summary:
|
|
645
|
-
readonly statements:
|
|
646
|
-
readonly branches:
|
|
647
|
-
readonly functions:
|
|
648
|
-
readonly lines:
|
|
649
|
-
}
|
|
650
|
-
readonly uncoveredLines:
|
|
651
|
-
}
|
|
624
|
+
readonly lowCoverage: readonly {
|
|
625
|
+
readonly file: string;
|
|
626
|
+
readonly summary: {
|
|
627
|
+
readonly statements: number;
|
|
628
|
+
readonly branches: number;
|
|
629
|
+
readonly functions: number;
|
|
630
|
+
readonly lines: number;
|
|
631
|
+
};
|
|
632
|
+
readonly uncoveredLines: string;
|
|
633
|
+
}[];
|
|
652
634
|
readonly lowCoverageFiles: readonly string[];
|
|
653
|
-
readonly belowTarget?: readonly
|
|
654
|
-
readonly file:
|
|
655
|
-
readonly summary:
|
|
656
|
-
readonly statements:
|
|
657
|
-
readonly branches:
|
|
658
|
-
readonly functions:
|
|
659
|
-
readonly lines:
|
|
660
|
-
}
|
|
661
|
-
readonly uncoveredLines:
|
|
662
|
-
}
|
|
635
|
+
readonly belowTarget?: readonly {
|
|
636
|
+
readonly file: string;
|
|
637
|
+
readonly summary: {
|
|
638
|
+
readonly statements: number;
|
|
639
|
+
readonly branches: number;
|
|
640
|
+
readonly functions: number;
|
|
641
|
+
readonly lines: number;
|
|
642
|
+
};
|
|
643
|
+
readonly uncoveredLines: string;
|
|
644
|
+
}[] | undefined;
|
|
663
645
|
readonly belowTargetFiles?: readonly string[] | undefined;
|
|
664
646
|
} | undefined;
|
|
665
647
|
readonly tagCounts?: {
|
|
@@ -685,6 +667,24 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
685
667
|
readonly [x: string]: string;
|
|
686
668
|
};
|
|
687
669
|
readonly discoveryLastScannedAt?: string | null | undefined;
|
|
670
|
+
} | {
|
|
671
|
+
readonly kind: "timeout";
|
|
672
|
+
readonly timeoutSeconds: number;
|
|
673
|
+
} | {
|
|
674
|
+
readonly kind: "error";
|
|
675
|
+
readonly message: string;
|
|
676
|
+
} | {
|
|
677
|
+
readonly kind: "no-match";
|
|
678
|
+
readonly filter: {
|
|
679
|
+
readonly project: string | null;
|
|
680
|
+
readonly files: readonly string[];
|
|
681
|
+
readonly tags: {
|
|
682
|
+
readonly all?: readonly string[] | undefined;
|
|
683
|
+
readonly any?: readonly string[] | undefined;
|
|
684
|
+
readonly none?: readonly string[] | undefined;
|
|
685
|
+
} | null;
|
|
686
|
+
readonly resolvedExpression: string | null;
|
|
687
|
+
};
|
|
688
688
|
};
|
|
689
689
|
meta: object;
|
|
690
690
|
}>;
|
|
@@ -700,66 +700,68 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
700
700
|
readonly startGitCommitSha?: string | undefined;
|
|
701
701
|
readonly startWorktreeDir?: string | undefined;
|
|
702
702
|
};
|
|
703
|
-
output:
|
|
704
|
-
readonly ok:
|
|
705
|
-
readonly agentId:
|
|
706
|
-
readonly conversationId:
|
|
707
|
-
readonly idempotencyKey:
|
|
708
|
-
}
|
|
709
|
-
readonly ok:
|
|
710
|
-
readonly error:
|
|
711
|
-
readonly code:
|
|
712
|
-
readonly message:
|
|
713
|
-
readonly existingAgentId
|
|
714
|
-
readonly expectedPrefix
|
|
715
|
-
}
|
|
716
|
-
}
|
|
703
|
+
output: {
|
|
704
|
+
readonly ok: true;
|
|
705
|
+
readonly agentId: string;
|
|
706
|
+
readonly conversationId: string | null;
|
|
707
|
+
readonly idempotencyKey: string;
|
|
708
|
+
} | {
|
|
709
|
+
readonly ok: false;
|
|
710
|
+
readonly error: {
|
|
711
|
+
readonly code: "AGENT_ALREADY_REGISTERED" | "INVALID_AGENT_TYPE_PREFIX" | "PARENT_AGENT_NOT_FOUND" | "SESSION_NOT_FOUND";
|
|
712
|
+
readonly message: string;
|
|
713
|
+
readonly existingAgentId?: string | undefined;
|
|
714
|
+
readonly expectedPrefix?: string | undefined;
|
|
715
|
+
};
|
|
716
|
+
};
|
|
717
717
|
meta: object;
|
|
718
718
|
}>;
|
|
719
719
|
cache_health: import("@trpc/server").TRPCQueryProcedure<{
|
|
720
720
|
input: void;
|
|
721
|
-
output:
|
|
722
|
-
readonly manifestPresent:
|
|
723
|
-
readonly manifest:
|
|
724
|
-
readonly updatedAt:
|
|
725
|
-
readonly cacheDir:
|
|
726
|
-
readonly projects:
|
|
727
|
-
readonly project:
|
|
728
|
-
readonly reportFile:
|
|
729
|
-
readonly historyFile
|
|
730
|
-
readonly lastRun:
|
|
731
|
-
readonly lastResult:
|
|
732
|
-
}
|
|
733
|
-
}
|
|
734
|
-
readonly ageMs:
|
|
735
|
-
readonly stale:
|
|
736
|
-
}
|
|
737
|
-
readonly manifestPresent:
|
|
738
|
-
}
|
|
721
|
+
output: {
|
|
722
|
+
readonly manifestPresent: true;
|
|
723
|
+
readonly manifest: {
|
|
724
|
+
readonly updatedAt: string;
|
|
725
|
+
readonly cacheDir: string;
|
|
726
|
+
readonly projects: readonly {
|
|
727
|
+
readonly project: string;
|
|
728
|
+
readonly reportFile: string;
|
|
729
|
+
readonly historyFile?: string | undefined;
|
|
730
|
+
readonly lastRun: string | null;
|
|
731
|
+
readonly lastResult: "failed" | "interrupted" | "passed" | null;
|
|
732
|
+
}[];
|
|
733
|
+
};
|
|
734
|
+
readonly ageMs: number;
|
|
735
|
+
readonly stale: boolean;
|
|
736
|
+
} | {
|
|
737
|
+
readonly manifestPresent: false;
|
|
738
|
+
};
|
|
739
739
|
meta: object;
|
|
740
740
|
}>;
|
|
741
741
|
configure: import("@trpc/server").TRPCQueryProcedure<{
|
|
742
742
|
input: {
|
|
743
743
|
readonly settingsHash?: string | undefined;
|
|
744
744
|
};
|
|
745
|
-
output:
|
|
746
|
-
readonly found:
|
|
747
|
-
readonly source:
|
|
748
|
-
readonly settings:
|
|
749
|
-
readonly hash:
|
|
750
|
-
readonly reporters:
|
|
751
|
-
readonly coverageEnabled:
|
|
752
|
-
readonly coverageProvider:
|
|
753
|
-
readonly coverageThresholds:
|
|
754
|
-
readonly coverageTargets:
|
|
755
|
-
readonly pool:
|
|
756
|
-
readonly shard:
|
|
757
|
-
readonly project:
|
|
758
|
-
readonly environment:
|
|
759
|
-
readonly envVars:
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
745
|
+
output: {
|
|
746
|
+
readonly found: true;
|
|
747
|
+
readonly source: "latest" | "requested";
|
|
748
|
+
readonly settings: {
|
|
749
|
+
readonly hash: string;
|
|
750
|
+
readonly reporters: string | null;
|
|
751
|
+
readonly coverageEnabled: boolean;
|
|
752
|
+
readonly coverageProvider: string | null;
|
|
753
|
+
readonly coverageThresholds: string | null;
|
|
754
|
+
readonly coverageTargets: string | null;
|
|
755
|
+
readonly pool: string | null;
|
|
756
|
+
readonly shard: string | null;
|
|
757
|
+
readonly project: string | null;
|
|
758
|
+
readonly environment: string | null;
|
|
759
|
+
readonly envVars: {
|
|
760
|
+
readonly [x: string]: string;
|
|
761
|
+
};
|
|
762
|
+
readonly capturedAt: string;
|
|
763
|
+
};
|
|
764
|
+
} | {
|
|
763
765
|
readonly found: false;
|
|
764
766
|
readonly source: "latest" | "requested";
|
|
765
767
|
readonly requestedHash?: string | undefined;
|
|
@@ -767,9 +769,9 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
767
769
|
meta: object;
|
|
768
770
|
}>;
|
|
769
771
|
inventory: import("@trpc/server").TRPCQueryProcedure<{
|
|
770
|
-
input:
|
|
771
|
-
readonly kind:
|
|
772
|
-
}
|
|
772
|
+
input: {
|
|
773
|
+
readonly kind: "project";
|
|
774
|
+
} | {
|
|
773
775
|
readonly kind: "module";
|
|
774
776
|
readonly project?: string | undefined;
|
|
775
777
|
} | {
|
|
@@ -786,127 +788,118 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
786
788
|
readonly kind: "tag";
|
|
787
789
|
readonly project?: string | undefined;
|
|
788
790
|
};
|
|
789
|
-
output:
|
|
790
|
-
readonly inventoryKind:
|
|
791
|
-
readonly count:
|
|
792
|
-
readonly projects:
|
|
793
|
-
readonly project:
|
|
794
|
-
readonly lastRun:
|
|
795
|
-
readonly lastResult:
|
|
796
|
-
readonly total:
|
|
797
|
-
readonly passed:
|
|
798
|
-
readonly failed:
|
|
799
|
-
readonly skipped:
|
|
800
|
-
}
|
|
801
|
-
}
|
|
802
|
-
readonly inventoryKind:
|
|
803
|
-
readonly count:
|
|
804
|
-
readonly groups:
|
|
805
|
-
readonly project:
|
|
806
|
-
readonly modules:
|
|
807
|
-
readonly id:
|
|
808
|
-
readonly file:
|
|
809
|
-
readonly state:
|
|
810
|
-
readonly testCount:
|
|
811
|
-
readonly duration:
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
readonly inventoryKind:
|
|
816
|
-
readonly count:
|
|
817
|
-
readonly groups:
|
|
818
|
-
readonly project:
|
|
819
|
-
readonly suites:
|
|
820
|
-
readonly id:
|
|
821
|
-
readonly name:
|
|
822
|
-
readonly module:
|
|
823
|
-
readonly state:
|
|
824
|
-
readonly testCount:
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
|
-
readonly inventoryKind:
|
|
829
|
-
readonly found:
|
|
830
|
-
readonly session:
|
|
831
|
-
readonly id:
|
|
832
|
-
readonly chatId:
|
|
833
|
-
readonly project:
|
|
834
|
-
readonly cwd:
|
|
835
|
-
readonly agentKind:
|
|
836
|
-
readonly agentType:
|
|
837
|
-
readonly parentSessionId:
|
|
838
|
-
readonly triageWasNonEmpty:
|
|
839
|
-
readonly startedAt:
|
|
840
|
-
readonly endedAt:
|
|
841
|
-
readonly endReason:
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
readonly inventoryKind:
|
|
845
|
-
readonly found:
|
|
846
|
-
readonly id:
|
|
847
|
-
}
|
|
848
|
-
readonly inventoryKind:
|
|
849
|
-
readonly count:
|
|
850
|
-
readonly sessions:
|
|
851
|
-
readonly id:
|
|
852
|
-
readonly chatId:
|
|
853
|
-
readonly project:
|
|
854
|
-
readonly cwd:
|
|
855
|
-
readonly agentKind:
|
|
856
|
-
readonly agentType:
|
|
857
|
-
readonly parentSessionId:
|
|
858
|
-
readonly triageWasNonEmpty:
|
|
859
|
-
readonly startedAt:
|
|
860
|
-
readonly endedAt:
|
|
861
|
-
readonly endReason:
|
|
862
|
-
}
|
|
863
|
-
}
|
|
864
|
-
readonly inventoryKind:
|
|
865
|
-
readonly project:
|
|
866
|
-
readonly count:
|
|
867
|
-
readonly tags:
|
|
868
|
-
readonly tag:
|
|
869
|
-
readonly moduleCount:
|
|
870
|
-
readonly testCount:
|
|
871
|
-
}
|
|
872
|
-
}
|
|
873
|
-
readonly inventoryKind:
|
|
874
|
-
readonly count:
|
|
875
|
-
readonly tags:
|
|
876
|
-
readonly tag:
|
|
877
|
-
readonly moduleCount:
|
|
878
|
-
readonly testCount:
|
|
879
|
-
readonly byProject:
|
|
880
|
-
readonly project:
|
|
881
|
-
readonly moduleCount:
|
|
882
|
-
readonly testCount:
|
|
883
|
-
}
|
|
884
|
-
}
|
|
885
|
-
}
|
|
791
|
+
output: {
|
|
792
|
+
readonly inventoryKind: "project";
|
|
793
|
+
readonly count: number;
|
|
794
|
+
readonly projects: readonly {
|
|
795
|
+
readonly project: string;
|
|
796
|
+
readonly lastRun: string | null;
|
|
797
|
+
readonly lastResult: "failed" | "interrupted" | "passed" | null;
|
|
798
|
+
readonly total: number;
|
|
799
|
+
readonly passed: number;
|
|
800
|
+
readonly failed: number;
|
|
801
|
+
readonly skipped: number;
|
|
802
|
+
}[];
|
|
803
|
+
} | {
|
|
804
|
+
readonly inventoryKind: "module";
|
|
805
|
+
readonly count: number;
|
|
806
|
+
readonly groups: readonly {
|
|
807
|
+
readonly project: string;
|
|
808
|
+
readonly modules: readonly {
|
|
809
|
+
readonly id: number;
|
|
810
|
+
readonly file: string;
|
|
811
|
+
readonly state: string;
|
|
812
|
+
readonly testCount: number;
|
|
813
|
+
readonly duration: number | null;
|
|
814
|
+
}[];
|
|
815
|
+
}[];
|
|
816
|
+
} | {
|
|
817
|
+
readonly inventoryKind: "suite";
|
|
818
|
+
readonly count: number;
|
|
819
|
+
readonly groups: readonly {
|
|
820
|
+
readonly project: string;
|
|
821
|
+
readonly suites: readonly {
|
|
822
|
+
readonly id: number;
|
|
823
|
+
readonly name: string;
|
|
824
|
+
readonly module: string;
|
|
825
|
+
readonly state: string;
|
|
826
|
+
readonly testCount: number;
|
|
827
|
+
}[];
|
|
828
|
+
}[];
|
|
829
|
+
} | {
|
|
830
|
+
readonly inventoryKind: "session_detail";
|
|
831
|
+
readonly found: true;
|
|
832
|
+
readonly session: {
|
|
833
|
+
readonly id: number;
|
|
834
|
+
readonly chatId: string;
|
|
835
|
+
readonly project: string;
|
|
836
|
+
readonly cwd: string;
|
|
837
|
+
readonly agentKind: "main" | "subagent";
|
|
838
|
+
readonly agentType: string | null;
|
|
839
|
+
readonly parentSessionId: number | null;
|
|
840
|
+
readonly triageWasNonEmpty: boolean;
|
|
841
|
+
readonly startedAt: string;
|
|
842
|
+
readonly endedAt: string | null;
|
|
843
|
+
readonly endReason: string | null;
|
|
844
|
+
};
|
|
845
|
+
} | {
|
|
846
|
+
readonly inventoryKind: "session_detail";
|
|
847
|
+
readonly found: false;
|
|
848
|
+
readonly id: number;
|
|
849
|
+
} | {
|
|
850
|
+
readonly inventoryKind: "session_list";
|
|
851
|
+
readonly count: number;
|
|
852
|
+
readonly sessions: readonly {
|
|
853
|
+
readonly id: number;
|
|
854
|
+
readonly chatId: string;
|
|
855
|
+
readonly project: string;
|
|
856
|
+
readonly cwd: string;
|
|
857
|
+
readonly agentKind: "main" | "subagent";
|
|
858
|
+
readonly agentType: string | null;
|
|
859
|
+
readonly parentSessionId: number | null;
|
|
860
|
+
readonly triageWasNonEmpty: boolean;
|
|
861
|
+
readonly startedAt: string;
|
|
862
|
+
readonly endedAt: string | null;
|
|
863
|
+
readonly endReason: string | null;
|
|
864
|
+
}[];
|
|
865
|
+
} | {
|
|
866
|
+
readonly inventoryKind: "tag_scoped";
|
|
867
|
+
readonly project: string;
|
|
868
|
+
readonly count: number;
|
|
869
|
+
readonly tags: readonly {
|
|
870
|
+
readonly tag: string;
|
|
871
|
+
readonly moduleCount: number;
|
|
872
|
+
readonly testCount: number;
|
|
873
|
+
}[];
|
|
874
|
+
} | {
|
|
875
|
+
readonly inventoryKind: "tag_unscoped";
|
|
876
|
+
readonly count: number;
|
|
877
|
+
readonly tags: readonly {
|
|
878
|
+
readonly tag: string;
|
|
879
|
+
readonly moduleCount: number;
|
|
880
|
+
readonly testCount: number;
|
|
881
|
+
readonly byProject: readonly {
|
|
882
|
+
readonly project: string;
|
|
883
|
+
readonly moduleCount: number;
|
|
884
|
+
readonly testCount: number;
|
|
885
|
+
}[];
|
|
886
|
+
}[];
|
|
887
|
+
};
|
|
886
888
|
meta: object;
|
|
887
889
|
}>;
|
|
888
890
|
settings_list: import("@trpc/server").TRPCQueryProcedure<{
|
|
889
|
-
input:
|
|
890
|
-
output:
|
|
891
|
-
readonly count:
|
|
892
|
-
readonly settings:
|
|
893
|
-
readonly hash:
|
|
894
|
-
readonly capturedAt:
|
|
895
|
-
}
|
|
896
|
-
}
|
|
891
|
+
input: {};
|
|
892
|
+
output: {
|
|
893
|
+
readonly count: number;
|
|
894
|
+
readonly settings: readonly {
|
|
895
|
+
readonly hash: string;
|
|
896
|
+
readonly capturedAt: string;
|
|
897
|
+
}[];
|
|
898
|
+
};
|
|
897
899
|
meta: object;
|
|
898
900
|
}>;
|
|
899
901
|
note: import("@trpc/server").TRPCMutationProcedure<{
|
|
900
|
-
input:
|
|
901
|
-
readonly action: import("effect/Schema").Literal<"get">;
|
|
902
|
-
readonly id: import("effect/Schema").Number;
|
|
903
|
-
}, "Encoded"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
904
|
-
readonly action: import("effect/Schema").Literal<"delete">;
|
|
905
|
-
readonly id: import("effect/Schema").Number;
|
|
906
|
-
}, "Encoded"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
907
|
-
readonly action: import("effect/Schema").Literal<"search">;
|
|
908
|
-
readonly query: import("effect/Schema").String;
|
|
909
|
-
}, "Encoded"> | {
|
|
902
|
+
input: {
|
|
910
903
|
readonly action: "create";
|
|
911
904
|
readonly title: string;
|
|
912
905
|
readonly content: string;
|
|
@@ -923,6 +916,9 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
923
916
|
readonly scope?: string | undefined;
|
|
924
917
|
readonly project?: string | undefined;
|
|
925
918
|
readonly testFullName?: string | undefined;
|
|
919
|
+
} | {
|
|
920
|
+
readonly action: "get";
|
|
921
|
+
readonly id: number;
|
|
926
922
|
} | {
|
|
927
923
|
readonly action: "update";
|
|
928
924
|
readonly id: number;
|
|
@@ -930,76 +926,82 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
930
926
|
readonly content?: string | undefined;
|
|
931
927
|
readonly pinned?: boolean | undefined;
|
|
932
928
|
readonly expiresAt?: string | undefined;
|
|
929
|
+
} | {
|
|
930
|
+
readonly action: "delete";
|
|
931
|
+
readonly id: number;
|
|
932
|
+
} | {
|
|
933
|
+
readonly action: "search";
|
|
934
|
+
readonly query: string;
|
|
935
|
+
};
|
|
936
|
+
output: {
|
|
937
|
+
readonly action: "create";
|
|
938
|
+
readonly id: number;
|
|
939
|
+
} | {
|
|
940
|
+
readonly action: "list";
|
|
941
|
+
readonly count: number;
|
|
942
|
+
readonly notes: readonly {
|
|
943
|
+
readonly id: number;
|
|
944
|
+
readonly title: string;
|
|
945
|
+
readonly content: string;
|
|
946
|
+
readonly scope: "global" | "module" | "note" | "project" | "suite" | "test";
|
|
947
|
+
readonly project: string | null;
|
|
948
|
+
readonly testFullName: string | null;
|
|
949
|
+
readonly modulePath: string | null;
|
|
950
|
+
readonly parentNoteId: number | null;
|
|
951
|
+
readonly createdBy: string | null;
|
|
952
|
+
readonly expiresAt: string | null;
|
|
953
|
+
readonly pinned: boolean;
|
|
954
|
+
readonly createdAt: string;
|
|
955
|
+
readonly updatedAt: string;
|
|
956
|
+
}[];
|
|
957
|
+
} | {
|
|
958
|
+
readonly action: "get";
|
|
959
|
+
readonly found: true;
|
|
960
|
+
readonly note: {
|
|
961
|
+
readonly id: number;
|
|
962
|
+
readonly title: string;
|
|
963
|
+
readonly content: string;
|
|
964
|
+
readonly scope: "global" | "module" | "note" | "project" | "suite" | "test";
|
|
965
|
+
readonly project: string | null;
|
|
966
|
+
readonly testFullName: string | null;
|
|
967
|
+
readonly modulePath: string | null;
|
|
968
|
+
readonly parentNoteId: number | null;
|
|
969
|
+
readonly createdBy: string | null;
|
|
970
|
+
readonly expiresAt: string | null;
|
|
971
|
+
readonly pinned: boolean;
|
|
972
|
+
readonly createdAt: string;
|
|
973
|
+
readonly updatedAt: string;
|
|
974
|
+
};
|
|
975
|
+
} | {
|
|
976
|
+
readonly action: "get";
|
|
977
|
+
readonly found: false;
|
|
978
|
+
readonly id: number;
|
|
979
|
+
} | {
|
|
980
|
+
readonly action: "update";
|
|
981
|
+
readonly success: true;
|
|
982
|
+
} | {
|
|
983
|
+
readonly action: "delete";
|
|
984
|
+
readonly success: true;
|
|
985
|
+
} | {
|
|
986
|
+
readonly action: "search";
|
|
987
|
+
readonly query: string;
|
|
988
|
+
readonly count: number;
|
|
989
|
+
readonly notes: readonly {
|
|
990
|
+
readonly id: number;
|
|
991
|
+
readonly title: string;
|
|
992
|
+
readonly content: string;
|
|
993
|
+
readonly scope: "global" | "module" | "note" | "project" | "suite" | "test";
|
|
994
|
+
readonly project: string | null;
|
|
995
|
+
readonly testFullName: string | null;
|
|
996
|
+
readonly modulePath: string | null;
|
|
997
|
+
readonly parentNoteId: number | null;
|
|
998
|
+
readonly createdBy: string | null;
|
|
999
|
+
readonly expiresAt: string | null;
|
|
1000
|
+
readonly pinned: boolean;
|
|
1001
|
+
readonly createdAt: string;
|
|
1002
|
+
readonly updatedAt: string;
|
|
1003
|
+
}[];
|
|
933
1004
|
};
|
|
934
|
-
output: import("effect/Schema").Struct.ReadonlySide<{
|
|
935
|
-
readonly action: import("effect/Schema").Literal<"create">;
|
|
936
|
-
readonly id: import("effect/Schema").Number;
|
|
937
|
-
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
938
|
-
readonly action: import("effect/Schema").Literal<"list">;
|
|
939
|
-
readonly count: import("effect/Schema").Number;
|
|
940
|
-
readonly notes: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
941
|
-
readonly id: import("effect/Schema").Number;
|
|
942
|
-
readonly title: import("effect/Schema").String;
|
|
943
|
-
readonly content: import("effect/Schema").String;
|
|
944
|
-
readonly scope: import("effect/Schema").Literals<readonly ["global", "project", "module", "suite", "test", "note"]>;
|
|
945
|
-
readonly project: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
946
|
-
readonly testFullName: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
947
|
-
readonly modulePath: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
948
|
-
readonly parentNoteId: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
949
|
-
readonly createdBy: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
950
|
-
readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
951
|
-
readonly pinned: import("effect/Schema").Boolean;
|
|
952
|
-
readonly createdAt: import("effect/Schema").String;
|
|
953
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
954
|
-
}>>;
|
|
955
|
-
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
956
|
-
readonly action: import("effect/Schema").Literal<"get">;
|
|
957
|
-
readonly found: import("effect/Schema").Literal<true>;
|
|
958
|
-
readonly note: import("effect/Schema").Struct<{
|
|
959
|
-
readonly id: import("effect/Schema").Number;
|
|
960
|
-
readonly title: import("effect/Schema").String;
|
|
961
|
-
readonly content: import("effect/Schema").String;
|
|
962
|
-
readonly scope: import("effect/Schema").Literals<readonly ["global", "project", "module", "suite", "test", "note"]>;
|
|
963
|
-
readonly project: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
964
|
-
readonly testFullName: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
965
|
-
readonly modulePath: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
966
|
-
readonly parentNoteId: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
967
|
-
readonly createdBy: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
968
|
-
readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
969
|
-
readonly pinned: import("effect/Schema").Boolean;
|
|
970
|
-
readonly createdAt: import("effect/Schema").String;
|
|
971
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
972
|
-
}>;
|
|
973
|
-
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
974
|
-
readonly action: import("effect/Schema").Literal<"get">;
|
|
975
|
-
readonly found: import("effect/Schema").Literal<false>;
|
|
976
|
-
readonly id: import("effect/Schema").Number;
|
|
977
|
-
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
978
|
-
readonly action: import("effect/Schema").Literal<"update">;
|
|
979
|
-
readonly success: import("effect/Schema").Literal<true>;
|
|
980
|
-
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
981
|
-
readonly action: import("effect/Schema").Literal<"delete">;
|
|
982
|
-
readonly success: import("effect/Schema").Literal<true>;
|
|
983
|
-
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
984
|
-
readonly action: import("effect/Schema").Literal<"search">;
|
|
985
|
-
readonly query: import("effect/Schema").String;
|
|
986
|
-
readonly count: import("effect/Schema").Number;
|
|
987
|
-
readonly notes: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
988
|
-
readonly id: import("effect/Schema").Number;
|
|
989
|
-
readonly title: import("effect/Schema").String;
|
|
990
|
-
readonly content: import("effect/Schema").String;
|
|
991
|
-
readonly scope: import("effect/Schema").Literals<readonly ["global", "project", "module", "suite", "test", "note"]>;
|
|
992
|
-
readonly project: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
993
|
-
readonly testFullName: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
994
|
-
readonly modulePath: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
995
|
-
readonly parentNoteId: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
996
|
-
readonly createdBy: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
997
|
-
readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
998
|
-
readonly pinned: import("effect/Schema").Boolean;
|
|
999
|
-
readonly createdAt: import("effect/Schema").String;
|
|
1000
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
1001
|
-
}>>;
|
|
1002
|
-
}, "Type">;
|
|
1003
1005
|
meta: object;
|
|
1004
1006
|
}>;
|
|
1005
1007
|
turn_search: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -1009,49 +1011,43 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1009
1011
|
readonly type?: "file_edit" | "hook_fire" | "hypothesis" | "note" | "tool_call" | "tool_result" | "user_prompt" | undefined;
|
|
1010
1012
|
readonly limit?: number | undefined;
|
|
1011
1013
|
};
|
|
1012
|
-
output:
|
|
1013
|
-
readonly count:
|
|
1014
|
-
readonly turns:
|
|
1015
|
-
readonly id:
|
|
1016
|
-
readonly sessionId:
|
|
1017
|
-
readonly turnNo:
|
|
1018
|
-
readonly type:
|
|
1019
|
-
readonly payload:
|
|
1020
|
-
readonly occurredAt:
|
|
1021
|
-
}
|
|
1022
|
-
}
|
|
1014
|
+
output: {
|
|
1015
|
+
readonly count: number;
|
|
1016
|
+
readonly turns: readonly {
|
|
1017
|
+
readonly id: number;
|
|
1018
|
+
readonly sessionId: number;
|
|
1019
|
+
readonly turnNo: number;
|
|
1020
|
+
readonly type: string;
|
|
1021
|
+
readonly payload: string;
|
|
1022
|
+
readonly occurredAt: string;
|
|
1023
|
+
}[];
|
|
1024
|
+
};
|
|
1023
1025
|
meta: object;
|
|
1024
1026
|
}>;
|
|
1025
1027
|
failure_signature_get: import("@trpc/server").TRPCQueryProcedure<{
|
|
1026
|
-
input:
|
|
1027
|
-
readonly hash:
|
|
1028
|
-
}
|
|
1029
|
-
output:
|
|
1030
|
-
readonly found:
|
|
1031
|
-
readonly signatureHash:
|
|
1032
|
-
readonly firstSeenRunId:
|
|
1033
|
-
readonly firstSeenAt:
|
|
1034
|
-
readonly lastSeenAt:
|
|
1035
|
-
readonly occurrenceCount:
|
|
1036
|
-
readonly recentErrors:
|
|
1037
|
-
readonly runId:
|
|
1038
|
-
readonly errorName:
|
|
1039
|
-
readonly message:
|
|
1040
|
-
}
|
|
1041
|
-
}
|
|
1042
|
-
readonly found:
|
|
1043
|
-
readonly requestedHash:
|
|
1044
|
-
}
|
|
1028
|
+
input: {
|
|
1029
|
+
readonly hash: string;
|
|
1030
|
+
};
|
|
1031
|
+
output: {
|
|
1032
|
+
readonly found: true;
|
|
1033
|
+
readonly signatureHash: string;
|
|
1034
|
+
readonly firstSeenRunId: number | null;
|
|
1035
|
+
readonly firstSeenAt: string;
|
|
1036
|
+
readonly lastSeenAt: string | null;
|
|
1037
|
+
readonly occurrenceCount: number;
|
|
1038
|
+
readonly recentErrors: readonly {
|
|
1039
|
+
readonly runId: number;
|
|
1040
|
+
readonly errorName: string | null;
|
|
1041
|
+
readonly message: string;
|
|
1042
|
+
}[];
|
|
1043
|
+
} | {
|
|
1044
|
+
readonly found: false;
|
|
1045
|
+
readonly requestedHash: string;
|
|
1046
|
+
};
|
|
1045
1047
|
meta: object;
|
|
1046
1048
|
}>;
|
|
1047
1049
|
tdd_task: import("@trpc/server").TRPCMutationProcedure<{
|
|
1048
|
-
input:
|
|
1049
|
-
readonly action: import("effect/Schema").Literal<"get">;
|
|
1050
|
-
readonly tddTaskId: import("effect/Schema").Number;
|
|
1051
|
-
}, "Encoded"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
1052
|
-
readonly action: import("effect/Schema").Literal<"resume">;
|
|
1053
|
-
readonly tddTaskId: import("effect/Schema").Number;
|
|
1054
|
-
}, "Encoded"> | {
|
|
1050
|
+
input: {
|
|
1055
1051
|
readonly action: "start";
|
|
1056
1052
|
readonly goal: string;
|
|
1057
1053
|
readonly sessionId?: number | undefined;
|
|
@@ -1064,89 +1060,95 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1064
1060
|
readonly tddTaskId: number;
|
|
1065
1061
|
readonly outcome: "abandoned" | "blocked" | "succeeded";
|
|
1066
1062
|
readonly summaryNoteId?: number | undefined;
|
|
1063
|
+
} | {
|
|
1064
|
+
readonly action: "get";
|
|
1065
|
+
readonly tddTaskId: number;
|
|
1066
|
+
} | {
|
|
1067
|
+
readonly action: "resume";
|
|
1068
|
+
readonly tddTaskId: number;
|
|
1067
1069
|
};
|
|
1068
|
-
output:
|
|
1069
|
-
readonly action: import("effect/Schema").Literal<"end">;
|
|
1070
|
-
readonly tddTaskId: import("effect/Schema").Number;
|
|
1071
|
-
readonly outcome: import("effect/Schema").Literals<readonly ["succeeded", "blocked", "abandoned"]>;
|
|
1072
|
-
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
1073
|
-
readonly action: import("effect/Schema").Literal<"get">;
|
|
1074
|
-
readonly found: import("effect/Schema").Literal<true>;
|
|
1075
|
-
readonly task: import("effect/Schema").Struct<{
|
|
1076
|
-
readonly tddTaskId: import("effect/Schema").Number;
|
|
1077
|
-
readonly sessionId: import("effect/Schema").Number;
|
|
1078
|
-
readonly goal: import("effect/Schema").String;
|
|
1079
|
-
readonly startedAt: import("effect/Schema").String;
|
|
1080
|
-
readonly endedAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1081
|
-
readonly outcome: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1082
|
-
readonly runId: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1083
|
-
readonly goals: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1084
|
-
readonly id: import("effect/Schema").Number;
|
|
1085
|
-
readonly sessionId: import("effect/Schema").Number;
|
|
1086
|
-
readonly ordinal: import("effect/Schema").Number;
|
|
1087
|
-
readonly goal: import("effect/Schema").String;
|
|
1088
|
-
readonly status: import("effect/Schema").Literals<readonly ["pending", "in_progress", "done", "abandoned"]>;
|
|
1089
|
-
readonly createdAt: import("effect/Schema").String;
|
|
1090
|
-
readonly behaviors: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1091
|
-
readonly id: import("effect/Schema").Number;
|
|
1092
|
-
readonly goalId: import("effect/Schema").Number;
|
|
1093
|
-
readonly ordinal: import("effect/Schema").Number;
|
|
1094
|
-
readonly behavior: import("effect/Schema").String;
|
|
1095
|
-
readonly suggestedTestName: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1096
|
-
readonly status: import("effect/Schema").Literals<readonly ["pending", "in_progress", "done", "abandoned"]>;
|
|
1097
|
-
readonly createdAt: import("effect/Schema").String;
|
|
1098
|
-
}>>;
|
|
1099
|
-
}>>;
|
|
1100
|
-
readonly phases: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1101
|
-
readonly id: import("effect/Schema").Number;
|
|
1102
|
-
readonly behaviorId: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
1103
|
-
readonly phase: import("effect/Schema").String;
|
|
1104
|
-
readonly startedAt: import("effect/Schema").String;
|
|
1105
|
-
readonly endedAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1106
|
-
readonly transitionReason: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1107
|
-
}>>;
|
|
1108
|
-
readonly artifacts: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1109
|
-
readonly id: import("effect/Schema").Number;
|
|
1110
|
-
readonly phaseId: import("effect/Schema").Number;
|
|
1111
|
-
readonly artifactKind: import("effect/Schema").String;
|
|
1112
|
-
readonly testCaseId: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
1113
|
-
readonly testRunId: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
1114
|
-
readonly recordedAt: import("effect/Schema").String;
|
|
1115
|
-
}>>;
|
|
1116
|
-
}>;
|
|
1117
|
-
readonly currentPhase: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
1118
|
-
readonly id: import("effect/Schema").Number;
|
|
1119
|
-
readonly phase: import("effect/Schema").String;
|
|
1120
|
-
readonly startedAt: import("effect/Schema").String;
|
|
1121
|
-
readonly behaviorId: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
1122
|
-
}>>;
|
|
1123
|
-
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
1124
|
-
readonly action: import("effect/Schema").Literal<"get">;
|
|
1125
|
-
readonly found: import("effect/Schema").Literal<false>;
|
|
1126
|
-
readonly tddTaskId: import("effect/Schema").Number;
|
|
1127
|
-
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
1128
|
-
readonly action: import("effect/Schema").Literal<"resume">;
|
|
1129
|
-
readonly found: import("effect/Schema").Literal<true>;
|
|
1130
|
-
readonly tddTaskId: import("effect/Schema").Number;
|
|
1131
|
-
readonly goal: import("effect/Schema").String;
|
|
1132
|
-
readonly status: import("effect/Schema").String;
|
|
1133
|
-
readonly currentPhase: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
1134
|
-
readonly id: import("effect/Schema").Number;
|
|
1135
|
-
readonly phase: import("effect/Schema").String;
|
|
1136
|
-
readonly startedAt: import("effect/Schema").String;
|
|
1137
|
-
readonly behaviorId: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
1138
|
-
}>>;
|
|
1139
|
-
readonly phasesRecorded: import("effect/Schema").Number;
|
|
1140
|
-
readonly artifactsRecorded: import("effect/Schema").Number;
|
|
1141
|
-
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
1142
|
-
readonly action: import("effect/Schema").Literal<"resume">;
|
|
1143
|
-
readonly found: import("effect/Schema").Literal<false>;
|
|
1144
|
-
readonly tddTaskId: import("effect/Schema").Number;
|
|
1145
|
-
}, "Type"> | {
|
|
1070
|
+
output: {
|
|
1146
1071
|
readonly action: "start";
|
|
1147
1072
|
readonly tddTaskId: number;
|
|
1148
1073
|
readonly goal: string;
|
|
1149
1074
|
readonly runId?: string | undefined;
|
|
1075
|
+
} | {
|
|
1076
|
+
readonly action: "end";
|
|
1077
|
+
readonly tddTaskId: number;
|
|
1078
|
+
readonly outcome: "abandoned" | "blocked" | "succeeded";
|
|
1079
|
+
} | {
|
|
1080
|
+
readonly action: "get";
|
|
1081
|
+
readonly found: true;
|
|
1082
|
+
readonly task: {
|
|
1083
|
+
readonly tddTaskId: number;
|
|
1084
|
+
readonly sessionId: number;
|
|
1085
|
+
readonly goal: string;
|
|
1086
|
+
readonly startedAt: string;
|
|
1087
|
+
readonly endedAt: string | null;
|
|
1088
|
+
readonly outcome: string | null;
|
|
1089
|
+
readonly runId: string | null;
|
|
1090
|
+
readonly goals: readonly {
|
|
1091
|
+
readonly id: number;
|
|
1092
|
+
readonly sessionId: number;
|
|
1093
|
+
readonly ordinal: number;
|
|
1094
|
+
readonly goal: string;
|
|
1095
|
+
readonly status: "abandoned" | "done" | "in_progress" | "pending";
|
|
1096
|
+
readonly createdAt: string;
|
|
1097
|
+
readonly behaviors: readonly {
|
|
1098
|
+
readonly id: number;
|
|
1099
|
+
readonly goalId: number;
|
|
1100
|
+
readonly ordinal: number;
|
|
1101
|
+
readonly behavior: string;
|
|
1102
|
+
readonly suggestedTestName: string | null;
|
|
1103
|
+
readonly status: "abandoned" | "done" | "in_progress" | "pending";
|
|
1104
|
+
readonly createdAt: string;
|
|
1105
|
+
}[];
|
|
1106
|
+
}[];
|
|
1107
|
+
readonly phases: readonly {
|
|
1108
|
+
readonly id: number;
|
|
1109
|
+
readonly behaviorId: number | null;
|
|
1110
|
+
readonly phase: string;
|
|
1111
|
+
readonly startedAt: string;
|
|
1112
|
+
readonly endedAt: string | null;
|
|
1113
|
+
readonly transitionReason: string | null;
|
|
1114
|
+
}[];
|
|
1115
|
+
readonly artifacts: readonly {
|
|
1116
|
+
readonly id: number;
|
|
1117
|
+
readonly phaseId: number;
|
|
1118
|
+
readonly artifactKind: string;
|
|
1119
|
+
readonly testCaseId: number | null;
|
|
1120
|
+
readonly testRunId: number | null;
|
|
1121
|
+
readonly recordedAt: string;
|
|
1122
|
+
}[];
|
|
1123
|
+
};
|
|
1124
|
+
readonly currentPhase: {
|
|
1125
|
+
readonly id: number;
|
|
1126
|
+
readonly phase: string;
|
|
1127
|
+
readonly startedAt: string;
|
|
1128
|
+
readonly behaviorId: number | null;
|
|
1129
|
+
} | null;
|
|
1130
|
+
} | {
|
|
1131
|
+
readonly action: "get";
|
|
1132
|
+
readonly found: false;
|
|
1133
|
+
readonly tddTaskId: number;
|
|
1134
|
+
} | {
|
|
1135
|
+
readonly action: "resume";
|
|
1136
|
+
readonly found: true;
|
|
1137
|
+
readonly tddTaskId: number;
|
|
1138
|
+
readonly goal: string;
|
|
1139
|
+
readonly status: string;
|
|
1140
|
+
readonly currentPhase: {
|
|
1141
|
+
readonly id: number;
|
|
1142
|
+
readonly phase: string;
|
|
1143
|
+
readonly startedAt: string;
|
|
1144
|
+
readonly behaviorId: number | null;
|
|
1145
|
+
} | null;
|
|
1146
|
+
readonly phasesRecorded: number;
|
|
1147
|
+
readonly artifactsRecorded: number;
|
|
1148
|
+
} | {
|
|
1149
|
+
readonly action: "resume";
|
|
1150
|
+
readonly found: false;
|
|
1151
|
+
readonly tddTaskId: number;
|
|
1150
1152
|
};
|
|
1151
1153
|
meta: object;
|
|
1152
1154
|
}>;
|
|
@@ -1176,47 +1178,47 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1176
1178
|
meta: object;
|
|
1177
1179
|
}>;
|
|
1178
1180
|
tdd_goal: import("@trpc/server").TRPCMutationProcedure<{
|
|
1179
|
-
input:
|
|
1180
|
-
readonly action:
|
|
1181
|
-
readonly tddTaskId:
|
|
1182
|
-
readonly goal:
|
|
1183
|
-
}
|
|
1184
|
-
readonly action: import("effect/Schema").Literal<"delete">;
|
|
1185
|
-
readonly id: import("effect/Schema").Number;
|
|
1186
|
-
}, "Encoded"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
1187
|
-
readonly action: import("effect/Schema").Literal<"get">;
|
|
1188
|
-
readonly id: import("effect/Schema").Number;
|
|
1189
|
-
}, "Encoded"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
1190
|
-
readonly action: import("effect/Schema").Literal<"list">;
|
|
1191
|
-
readonly tddTaskId: import("effect/Schema").Number;
|
|
1192
|
-
}, "Encoded"> | {
|
|
1181
|
+
input: {
|
|
1182
|
+
readonly action: "create";
|
|
1183
|
+
readonly tddTaskId: number;
|
|
1184
|
+
readonly goal: string;
|
|
1185
|
+
} | {
|
|
1193
1186
|
readonly action: "update";
|
|
1194
1187
|
readonly id: number;
|
|
1195
1188
|
readonly goal?: string | undefined;
|
|
1196
1189
|
readonly status?: "abandoned" | "done" | "in_progress" | "pending" | undefined;
|
|
1190
|
+
} | {
|
|
1191
|
+
readonly action: "delete";
|
|
1192
|
+
readonly id: number;
|
|
1193
|
+
} | {
|
|
1194
|
+
readonly action: "get";
|
|
1195
|
+
readonly id: number;
|
|
1196
|
+
} | {
|
|
1197
|
+
readonly action: "list";
|
|
1198
|
+
readonly tddTaskId: number;
|
|
1197
1199
|
};
|
|
1198
1200
|
output: TddErrorEnvelope | {
|
|
1199
1201
|
ok: true;
|
|
1200
1202
|
action: "create";
|
|
1201
|
-
goal:
|
|
1202
|
-
readonly id:
|
|
1203
|
-
readonly sessionId:
|
|
1204
|
-
readonly ordinal:
|
|
1205
|
-
readonly goal:
|
|
1206
|
-
readonly status:
|
|
1207
|
-
readonly createdAt:
|
|
1208
|
-
}
|
|
1203
|
+
goal: {
|
|
1204
|
+
readonly id: number;
|
|
1205
|
+
readonly sessionId: number;
|
|
1206
|
+
readonly ordinal: number;
|
|
1207
|
+
readonly goal: string;
|
|
1208
|
+
readonly status: "abandoned" | "done" | "in_progress" | "pending";
|
|
1209
|
+
readonly createdAt: string;
|
|
1210
|
+
};
|
|
1209
1211
|
} | {
|
|
1210
1212
|
ok: true;
|
|
1211
1213
|
action: "update";
|
|
1212
|
-
goal:
|
|
1213
|
-
readonly id:
|
|
1214
|
-
readonly sessionId:
|
|
1215
|
-
readonly ordinal:
|
|
1216
|
-
readonly goal:
|
|
1217
|
-
readonly status:
|
|
1218
|
-
readonly createdAt:
|
|
1219
|
-
}
|
|
1214
|
+
goal: {
|
|
1215
|
+
readonly id: number;
|
|
1216
|
+
readonly sessionId: number;
|
|
1217
|
+
readonly ordinal: number;
|
|
1218
|
+
readonly goal: string;
|
|
1219
|
+
readonly status: "abandoned" | "done" | "in_progress" | "pending";
|
|
1220
|
+
readonly createdAt: string;
|
|
1221
|
+
};
|
|
1220
1222
|
} | {
|
|
1221
1223
|
ok: true;
|
|
1222
1224
|
action: "delete";
|
|
@@ -1230,61 +1232,49 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1230
1232
|
id?: undefined;
|
|
1231
1233
|
action: "get";
|
|
1232
1234
|
found: true;
|
|
1233
|
-
goal:
|
|
1234
|
-
readonly id:
|
|
1235
|
-
readonly sessionId:
|
|
1236
|
-
readonly ordinal:
|
|
1237
|
-
readonly goal:
|
|
1238
|
-
readonly status:
|
|
1239
|
-
readonly createdAt:
|
|
1240
|
-
readonly behaviors:
|
|
1241
|
-
readonly id:
|
|
1242
|
-
readonly goalId:
|
|
1243
|
-
readonly ordinal:
|
|
1244
|
-
readonly behavior:
|
|
1245
|
-
readonly suggestedTestName:
|
|
1246
|
-
readonly status:
|
|
1247
|
-
readonly createdAt:
|
|
1248
|
-
}
|
|
1249
|
-
}
|
|
1235
|
+
goal: {
|
|
1236
|
+
readonly id: number;
|
|
1237
|
+
readonly sessionId: number;
|
|
1238
|
+
readonly ordinal: number;
|
|
1239
|
+
readonly goal: string;
|
|
1240
|
+
readonly status: "abandoned" | "done" | "in_progress" | "pending";
|
|
1241
|
+
readonly createdAt: string;
|
|
1242
|
+
readonly behaviors: readonly {
|
|
1243
|
+
readonly id: number;
|
|
1244
|
+
readonly goalId: number;
|
|
1245
|
+
readonly ordinal: number;
|
|
1246
|
+
readonly behavior: string;
|
|
1247
|
+
readonly suggestedTestName: string | null;
|
|
1248
|
+
readonly status: "abandoned" | "done" | "in_progress" | "pending";
|
|
1249
|
+
readonly createdAt: string;
|
|
1250
|
+
}[];
|
|
1251
|
+
};
|
|
1250
1252
|
} | {
|
|
1251
1253
|
ok: true;
|
|
1252
1254
|
action: "list";
|
|
1253
1255
|
tddTaskId: number;
|
|
1254
|
-
goals: readonly
|
|
1255
|
-
readonly id:
|
|
1256
|
-
readonly sessionId:
|
|
1257
|
-
readonly ordinal:
|
|
1258
|
-
readonly goal:
|
|
1259
|
-
readonly status:
|
|
1260
|
-
readonly createdAt:
|
|
1261
|
-
readonly behaviors:
|
|
1262
|
-
readonly id:
|
|
1263
|
-
readonly goalId:
|
|
1264
|
-
readonly ordinal:
|
|
1265
|
-
readonly behavior:
|
|
1266
|
-
readonly suggestedTestName:
|
|
1267
|
-
readonly status:
|
|
1268
|
-
readonly createdAt:
|
|
1269
|
-
}
|
|
1270
|
-
}
|
|
1256
|
+
goals: readonly {
|
|
1257
|
+
readonly id: number;
|
|
1258
|
+
readonly sessionId: number;
|
|
1259
|
+
readonly ordinal: number;
|
|
1260
|
+
readonly goal: string;
|
|
1261
|
+
readonly status: "abandoned" | "done" | "in_progress" | "pending";
|
|
1262
|
+
readonly createdAt: string;
|
|
1263
|
+
readonly behaviors: readonly {
|
|
1264
|
+
readonly id: number;
|
|
1265
|
+
readonly goalId: number;
|
|
1266
|
+
readonly ordinal: number;
|
|
1267
|
+
readonly behavior: string;
|
|
1268
|
+
readonly suggestedTestName: string | null;
|
|
1269
|
+
readonly status: "abandoned" | "done" | "in_progress" | "pending";
|
|
1270
|
+
readonly createdAt: string;
|
|
1271
|
+
}[];
|
|
1272
|
+
}[];
|
|
1271
1273
|
};
|
|
1272
1274
|
meta: object;
|
|
1273
1275
|
}>;
|
|
1274
1276
|
tdd_behavior: import("@trpc/server").TRPCMutationProcedure<{
|
|
1275
|
-
input:
|
|
1276
|
-
readonly action: import("effect/Schema").Literal<"delete">;
|
|
1277
|
-
readonly id: import("effect/Schema").Number;
|
|
1278
|
-
}, "Encoded"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
1279
|
-
readonly action: import("effect/Schema").Literal<"get">;
|
|
1280
|
-
readonly id: import("effect/Schema").Number;
|
|
1281
|
-
}, "Encoded"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
1282
|
-
readonly action: import("effect/Schema").Literal<"list_by_goal">;
|
|
1283
|
-
readonly goalId: import("effect/Schema").Number;
|
|
1284
|
-
}, "Encoded"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
1285
|
-
readonly action: import("effect/Schema").Literal<"list_by_tdd_task">;
|
|
1286
|
-
readonly tddTaskId: import("effect/Schema").Number;
|
|
1287
|
-
}, "Encoded"> | {
|
|
1277
|
+
input: {
|
|
1288
1278
|
readonly action: "create";
|
|
1289
1279
|
readonly goalId: number;
|
|
1290
1280
|
readonly behavior: string;
|
|
@@ -1297,31 +1287,43 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1297
1287
|
readonly suggestedTestName?: string | null | undefined;
|
|
1298
1288
|
readonly status?: "abandoned" | "done" | "in_progress" | "pending" | undefined;
|
|
1299
1289
|
readonly dependsOnBehaviorIds?: readonly number[] | undefined;
|
|
1290
|
+
} | {
|
|
1291
|
+
readonly action: "delete";
|
|
1292
|
+
readonly id: number;
|
|
1293
|
+
} | {
|
|
1294
|
+
readonly action: "get";
|
|
1295
|
+
readonly id: number;
|
|
1296
|
+
} | {
|
|
1297
|
+
readonly action: "list_by_goal";
|
|
1298
|
+
readonly goalId: number;
|
|
1299
|
+
} | {
|
|
1300
|
+
readonly action: "list_by_tdd_task";
|
|
1301
|
+
readonly tddTaskId: number;
|
|
1300
1302
|
};
|
|
1301
1303
|
output: TddErrorEnvelope | {
|
|
1302
1304
|
ok: true;
|
|
1303
1305
|
action: "create";
|
|
1304
|
-
behavior:
|
|
1305
|
-
readonly id:
|
|
1306
|
-
readonly goalId:
|
|
1307
|
-
readonly ordinal:
|
|
1308
|
-
readonly behavior:
|
|
1309
|
-
readonly suggestedTestName:
|
|
1310
|
-
readonly status:
|
|
1311
|
-
readonly createdAt:
|
|
1312
|
-
}
|
|
1306
|
+
behavior: {
|
|
1307
|
+
readonly id: number;
|
|
1308
|
+
readonly goalId: number;
|
|
1309
|
+
readonly ordinal: number;
|
|
1310
|
+
readonly behavior: string;
|
|
1311
|
+
readonly suggestedTestName: string | null;
|
|
1312
|
+
readonly status: "abandoned" | "done" | "in_progress" | "pending";
|
|
1313
|
+
readonly createdAt: string;
|
|
1314
|
+
};
|
|
1313
1315
|
} | {
|
|
1314
1316
|
ok: true;
|
|
1315
1317
|
action: "update";
|
|
1316
|
-
behavior:
|
|
1317
|
-
readonly id:
|
|
1318
|
-
readonly goalId:
|
|
1319
|
-
readonly ordinal:
|
|
1320
|
-
readonly behavior:
|
|
1321
|
-
readonly suggestedTestName:
|
|
1322
|
-
readonly status:
|
|
1323
|
-
readonly createdAt:
|
|
1324
|
-
}
|
|
1318
|
+
behavior: {
|
|
1319
|
+
readonly id: number;
|
|
1320
|
+
readonly goalId: number;
|
|
1321
|
+
readonly ordinal: number;
|
|
1322
|
+
readonly behavior: string;
|
|
1323
|
+
readonly suggestedTestName: string | null;
|
|
1324
|
+
readonly status: "abandoned" | "done" | "in_progress" | "pending";
|
|
1325
|
+
readonly createdAt: string;
|
|
1326
|
+
};
|
|
1325
1327
|
} | {
|
|
1326
1328
|
ok: true;
|
|
1327
1329
|
action: "delete";
|
|
@@ -1334,56 +1336,56 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1334
1336
|
} | {
|
|
1335
1337
|
action: "get";
|
|
1336
1338
|
found: true;
|
|
1337
|
-
behavior:
|
|
1338
|
-
readonly id:
|
|
1339
|
-
readonly goalId:
|
|
1340
|
-
readonly ordinal:
|
|
1341
|
-
readonly behavior:
|
|
1342
|
-
readonly suggestedTestName:
|
|
1343
|
-
readonly status:
|
|
1344
|
-
readonly createdAt:
|
|
1345
|
-
readonly parentGoal:
|
|
1346
|
-
readonly id:
|
|
1347
|
-
readonly goal:
|
|
1348
|
-
readonly status:
|
|
1349
|
-
}
|
|
1350
|
-
readonly dependencies:
|
|
1351
|
-
readonly id:
|
|
1352
|
-
readonly goalId:
|
|
1353
|
-
readonly ordinal:
|
|
1354
|
-
readonly behavior:
|
|
1355
|
-
readonly suggestedTestName:
|
|
1356
|
-
readonly status:
|
|
1357
|
-
readonly createdAt:
|
|
1358
|
-
}
|
|
1359
|
-
}
|
|
1339
|
+
behavior: {
|
|
1340
|
+
readonly id: number;
|
|
1341
|
+
readonly goalId: number;
|
|
1342
|
+
readonly ordinal: number;
|
|
1343
|
+
readonly behavior: string;
|
|
1344
|
+
readonly suggestedTestName: string | null;
|
|
1345
|
+
readonly status: "abandoned" | "done" | "in_progress" | "pending";
|
|
1346
|
+
readonly createdAt: string;
|
|
1347
|
+
readonly parentGoal: {
|
|
1348
|
+
readonly id: number;
|
|
1349
|
+
readonly goal: string;
|
|
1350
|
+
readonly status: "abandoned" | "done" | "in_progress" | "pending";
|
|
1351
|
+
};
|
|
1352
|
+
readonly dependencies: readonly {
|
|
1353
|
+
readonly id: number;
|
|
1354
|
+
readonly goalId: number;
|
|
1355
|
+
readonly ordinal: number;
|
|
1356
|
+
readonly behavior: string;
|
|
1357
|
+
readonly suggestedTestName: string | null;
|
|
1358
|
+
readonly status: "abandoned" | "done" | "in_progress" | "pending";
|
|
1359
|
+
readonly createdAt: string;
|
|
1360
|
+
}[];
|
|
1361
|
+
};
|
|
1360
1362
|
id?: undefined;
|
|
1361
1363
|
} | {
|
|
1362
1364
|
ok: true;
|
|
1363
1365
|
action: "list_by_goal";
|
|
1364
1366
|
goalId: number;
|
|
1365
|
-
behaviors: readonly
|
|
1366
|
-
readonly id:
|
|
1367
|
-
readonly goalId:
|
|
1368
|
-
readonly ordinal:
|
|
1369
|
-
readonly behavior:
|
|
1370
|
-
readonly suggestedTestName:
|
|
1371
|
-
readonly status:
|
|
1372
|
-
readonly createdAt:
|
|
1373
|
-
}
|
|
1367
|
+
behaviors: readonly {
|
|
1368
|
+
readonly id: number;
|
|
1369
|
+
readonly goalId: number;
|
|
1370
|
+
readonly ordinal: number;
|
|
1371
|
+
readonly behavior: string;
|
|
1372
|
+
readonly suggestedTestName: string | null;
|
|
1373
|
+
readonly status: "abandoned" | "done" | "in_progress" | "pending";
|
|
1374
|
+
readonly createdAt: string;
|
|
1375
|
+
}[];
|
|
1374
1376
|
} | {
|
|
1375
1377
|
ok: true;
|
|
1376
1378
|
action: "list_by_tdd_task";
|
|
1377
1379
|
tddTaskId: number;
|
|
1378
|
-
behaviors: readonly
|
|
1379
|
-
readonly id:
|
|
1380
|
-
readonly goalId:
|
|
1381
|
-
readonly ordinal:
|
|
1382
|
-
readonly behavior:
|
|
1383
|
-
readonly suggestedTestName:
|
|
1384
|
-
readonly status:
|
|
1385
|
-
readonly createdAt:
|
|
1386
|
-
}
|
|
1380
|
+
behaviors: readonly {
|
|
1381
|
+
readonly id: number;
|
|
1382
|
+
readonly goalId: number;
|
|
1383
|
+
readonly ordinal: number;
|
|
1384
|
+
readonly behavior: string;
|
|
1385
|
+
readonly suggestedTestName: string | null;
|
|
1386
|
+
readonly status: "abandoned" | "done" | "in_progress" | "pending";
|
|
1387
|
+
readonly createdAt: string;
|
|
1388
|
+
}[];
|
|
1387
1389
|
};
|
|
1388
1390
|
meta: object;
|
|
1389
1391
|
}>;
|
|
@@ -1395,27 +1397,27 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1395
1397
|
readonly behaviorId?: number | undefined;
|
|
1396
1398
|
readonly limit?: number | undefined;
|
|
1397
1399
|
};
|
|
1398
|
-
output:
|
|
1399
|
-
readonly tddTaskId:
|
|
1400
|
-
readonly filters:
|
|
1401
|
-
readonly artifactKind
|
|
1402
|
-
readonly phaseId
|
|
1403
|
-
readonly behaviorId
|
|
1404
|
-
}
|
|
1405
|
-
readonly count:
|
|
1406
|
-
readonly artifacts:
|
|
1407
|
-
readonly id:
|
|
1408
|
-
readonly tddTaskId:
|
|
1409
|
-
readonly phaseId:
|
|
1410
|
-
readonly phaseName:
|
|
1411
|
-
readonly artifactKind:
|
|
1412
|
-
readonly behaviorId:
|
|
1413
|
-
readonly testCaseId:
|
|
1414
|
-
readonly testRunId:
|
|
1415
|
-
readonly testFirstFailureRunId:
|
|
1416
|
-
readonly recordedAt:
|
|
1417
|
-
}
|
|
1418
|
-
}
|
|
1400
|
+
output: {
|
|
1401
|
+
readonly tddTaskId: number;
|
|
1402
|
+
readonly filters: {
|
|
1403
|
+
readonly artifactKind?: "code_written" | "refactor" | "test_failed_run" | "test_passed_run" | "test_weakened" | "test_written" | undefined;
|
|
1404
|
+
readonly phaseId?: number | undefined;
|
|
1405
|
+
readonly behaviorId?: number | undefined;
|
|
1406
|
+
};
|
|
1407
|
+
readonly count: number;
|
|
1408
|
+
readonly artifacts: readonly {
|
|
1409
|
+
readonly id: number;
|
|
1410
|
+
readonly tddTaskId: number;
|
|
1411
|
+
readonly phaseId: number;
|
|
1412
|
+
readonly phaseName: "extended-red" | "green" | "green-without-red" | "green.fake-it" | "red" | "red.triangulate" | "refactor" | "spike";
|
|
1413
|
+
readonly artifactKind: "code_written" | "refactor" | "test_failed_run" | "test_passed_run" | "test_weakened" | "test_written";
|
|
1414
|
+
readonly behaviorId: number | null;
|
|
1415
|
+
readonly testCaseId: number | null;
|
|
1416
|
+
readonly testRunId: number | null;
|
|
1417
|
+
readonly testFirstFailureRunId: number | null;
|
|
1418
|
+
readonly recordedAt: string;
|
|
1419
|
+
}[];
|
|
1420
|
+
};
|
|
1419
1421
|
meta: object;
|
|
1420
1422
|
}>;
|
|
1421
1423
|
hypothesis: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -1439,50 +1441,50 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1439
1441
|
readonly outcome?: "abandoned" | "confirmed" | "open" | "refuted" | undefined;
|
|
1440
1442
|
readonly limit?: number | undefined;
|
|
1441
1443
|
};
|
|
1442
|
-
output:
|
|
1443
|
-
readonly action:
|
|
1444
|
-
readonly id:
|
|
1445
|
-
}
|
|
1446
|
-
readonly action:
|
|
1447
|
-
}
|
|
1448
|
-
readonly action:
|
|
1449
|
-
readonly count:
|
|
1450
|
-
readonly hypotheses:
|
|
1451
|
-
readonly id:
|
|
1452
|
-
readonly sessionId:
|
|
1453
|
-
readonly content:
|
|
1454
|
-
readonly citedTestErrorId:
|
|
1455
|
-
readonly citedStackFrameId:
|
|
1456
|
-
readonly validationOutcome:
|
|
1457
|
-
readonly validatedAt:
|
|
1458
|
-
}
|
|
1459
|
-
}
|
|
1444
|
+
output: {
|
|
1445
|
+
readonly action: "record";
|
|
1446
|
+
readonly id: number;
|
|
1447
|
+
} | {
|
|
1448
|
+
readonly action: "validate";
|
|
1449
|
+
} | {
|
|
1450
|
+
readonly action: "list";
|
|
1451
|
+
readonly count: number;
|
|
1452
|
+
readonly hypotheses: readonly {
|
|
1453
|
+
readonly id: number;
|
|
1454
|
+
readonly sessionId: number;
|
|
1455
|
+
readonly content: string;
|
|
1456
|
+
readonly citedTestErrorId: number | null;
|
|
1457
|
+
readonly citedStackFrameId: number | null;
|
|
1458
|
+
readonly validationOutcome: "abandoned" | "confirmed" | "refuted" | null;
|
|
1459
|
+
readonly validatedAt: string | null;
|
|
1460
|
+
}[];
|
|
1461
|
+
};
|
|
1460
1462
|
meta: object;
|
|
1461
1463
|
}>;
|
|
1462
1464
|
acceptance_metrics: import("@trpc/server").TRPCQueryProcedure<{
|
|
1463
|
-
input:
|
|
1464
|
-
output:
|
|
1465
|
-
readonly phaseEvidenceIntegrity:
|
|
1466
|
-
readonly total:
|
|
1467
|
-
readonly compliant:
|
|
1468
|
-
readonly ratio:
|
|
1469
|
-
}
|
|
1470
|
-
readonly complianceHookResponsiveness:
|
|
1471
|
-
readonly total:
|
|
1472
|
-
readonly withFollowup:
|
|
1473
|
-
readonly ratio:
|
|
1474
|
-
}
|
|
1475
|
-
readonly orientationUsefulness:
|
|
1476
|
-
readonly total:
|
|
1477
|
-
readonly referencedCount:
|
|
1478
|
-
readonly ratio:
|
|
1479
|
-
}
|
|
1480
|
-
readonly antiPatternDetectionRate:
|
|
1481
|
-
readonly total:
|
|
1482
|
-
readonly cleanSessions:
|
|
1483
|
-
readonly ratio:
|
|
1484
|
-
}
|
|
1485
|
-
}
|
|
1465
|
+
input: {};
|
|
1466
|
+
output: {
|
|
1467
|
+
readonly phaseEvidenceIntegrity: {
|
|
1468
|
+
readonly total: number;
|
|
1469
|
+
readonly compliant: number;
|
|
1470
|
+
readonly ratio: number;
|
|
1471
|
+
};
|
|
1472
|
+
readonly complianceHookResponsiveness: {
|
|
1473
|
+
readonly total: number;
|
|
1474
|
+
readonly withFollowup: number;
|
|
1475
|
+
readonly ratio: number;
|
|
1476
|
+
};
|
|
1477
|
+
readonly orientationUsefulness: {
|
|
1478
|
+
readonly total: number;
|
|
1479
|
+
readonly referencedCount: number;
|
|
1480
|
+
readonly ratio: number;
|
|
1481
|
+
};
|
|
1482
|
+
readonly antiPatternDetectionRate: {
|
|
1483
|
+
readonly total: number;
|
|
1484
|
+
readonly cleanSessions: number;
|
|
1485
|
+
readonly ratio: number;
|
|
1486
|
+
};
|
|
1487
|
+
};
|
|
1486
1488
|
meta: object;
|
|
1487
1489
|
}>;
|
|
1488
1490
|
triage_brief: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -1490,10 +1492,10 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1490
1492
|
readonly project?: string | undefined;
|
|
1491
1493
|
readonly maxLines?: number | undefined;
|
|
1492
1494
|
};
|
|
1493
|
-
output:
|
|
1494
|
-
readonly hasContent:
|
|
1495
|
-
readonly markdown:
|
|
1496
|
-
}
|
|
1495
|
+
output: {
|
|
1496
|
+
readonly hasContent: boolean;
|
|
1497
|
+
readonly markdown: string;
|
|
1498
|
+
};
|
|
1497
1499
|
meta: object;
|
|
1498
1500
|
}>;
|
|
1499
1501
|
wrapup_prompt: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -1503,11 +1505,11 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1503
1505
|
readonly kind?: "pre_compact" | "session_end" | "stop" | "tdd_handoff" | "user_prompt_nudge" | undefined;
|
|
1504
1506
|
readonly userPromptHint?: string | undefined;
|
|
1505
1507
|
};
|
|
1506
|
-
output:
|
|
1507
|
-
readonly hasContent:
|
|
1508
|
-
readonly kind:
|
|
1509
|
-
readonly markdown:
|
|
1510
|
-
}
|
|
1508
|
+
output: {
|
|
1509
|
+
readonly hasContent: boolean;
|
|
1510
|
+
readonly kind: "pre_compact" | "session_end" | "stop" | "tdd_handoff" | "user_prompt_nudge";
|
|
1511
|
+
readonly markdown: string;
|
|
1512
|
+
};
|
|
1511
1513
|
meta: object;
|
|
1512
1514
|
}>;
|
|
1513
1515
|
commit_changes: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -1517,26 +1519,26 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1517
1519
|
output: {
|
|
1518
1520
|
readonly filterSha?: string | undefined;
|
|
1519
1521
|
readonly count: number;
|
|
1520
|
-
readonly commits: readonly
|
|
1521
|
-
readonly sha:
|
|
1522
|
-
readonly parentSha:
|
|
1523
|
-
readonly message:
|
|
1524
|
-
readonly author:
|
|
1525
|
-
readonly committedAt:
|
|
1526
|
-
readonly branch:
|
|
1527
|
-
readonly files:
|
|
1528
|
-
readonly filePath:
|
|
1529
|
-
readonly changeKind:
|
|
1530
|
-
}
|
|
1531
|
-
}
|
|
1522
|
+
readonly commits: readonly {
|
|
1523
|
+
readonly sha: string;
|
|
1524
|
+
readonly parentSha: string | null;
|
|
1525
|
+
readonly message: string | null;
|
|
1526
|
+
readonly author: string | null;
|
|
1527
|
+
readonly committedAt: string | null;
|
|
1528
|
+
readonly branch: string | null;
|
|
1529
|
+
readonly files: readonly {
|
|
1530
|
+
readonly filePath: string;
|
|
1531
|
+
readonly changeKind: "added" | "deleted" | "modified" | "renamed" | "untracked-modified";
|
|
1532
|
+
}[];
|
|
1533
|
+
}[];
|
|
1532
1534
|
};
|
|
1533
1535
|
meta: object;
|
|
1534
1536
|
}>;
|
|
1535
1537
|
ping: import("@trpc/server").TRPCQueryProcedure<{
|
|
1536
1538
|
input: void;
|
|
1537
|
-
output:
|
|
1538
|
-
readonly message:
|
|
1539
|
-
}
|
|
1539
|
+
output: {
|
|
1540
|
+
readonly message: "pong";
|
|
1541
|
+
};
|
|
1540
1542
|
meta: object;
|
|
1541
1543
|
}>;
|
|
1542
1544
|
}>>;
|