@sentry/warden 0.19.0 → 0.21.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.
Files changed (58) hide show
  1. package/CHANGELOG.md +173 -0
  2. package/dist/cli/args.d.ts +7 -5
  3. package/dist/cli/args.d.ts.map +1 -1
  4. package/dist/cli/args.js +31 -17
  5. package/dist/cli/args.js.map +1 -1
  6. package/dist/cli/commands/runs.d.ts +26 -0
  7. package/dist/cli/commands/runs.d.ts.map +1 -0
  8. package/dist/cli/commands/runs.js +668 -0
  9. package/dist/cli/commands/runs.js.map +1 -0
  10. package/dist/cli/main.d.ts +15 -0
  11. package/dist/cli/main.d.ts.map +1 -1
  12. package/dist/cli/main.js +236 -128
  13. package/dist/cli/main.js.map +1 -1
  14. package/dist/cli/output/index.d.ts +1 -1
  15. package/dist/cli/output/index.d.ts.map +1 -1
  16. package/dist/cli/output/index.js +1 -1
  17. package/dist/cli/output/index.js.map +1 -1
  18. package/dist/cli/output/ink-runner.d.ts.map +1 -1
  19. package/dist/cli/output/ink-runner.js +32 -14
  20. package/dist/cli/output/ink-runner.js.map +1 -1
  21. package/dist/cli/output/jsonl-schema-gen.d.ts +16 -0
  22. package/dist/cli/output/jsonl-schema-gen.d.ts.map +1 -0
  23. package/dist/cli/output/jsonl-schema-gen.js +63 -0
  24. package/dist/cli/output/jsonl-schema-gen.js.map +1 -0
  25. package/dist/cli/output/jsonl.d.ts +168 -34
  26. package/dist/cli/output/jsonl.d.ts.map +1 -1
  27. package/dist/cli/output/jsonl.js +212 -144
  28. package/dist/cli/output/jsonl.js.map +1 -1
  29. package/dist/cli/output/tasks.d.ts +2 -0
  30. package/dist/cli/output/tasks.d.ts.map +1 -1
  31. package/dist/cli/output/tasks.js +167 -27
  32. package/dist/cli/output/tasks.js.map +1 -1
  33. package/dist/cli/terminal.d.ts.map +1 -1
  34. package/dist/cli/terminal.js +20 -0
  35. package/dist/cli/terminal.js.map +1 -1
  36. package/dist/index.d.ts +2 -2
  37. package/dist/index.d.ts.map +1 -1
  38. package/dist/index.js +2 -0
  39. package/dist/index.js.map +1 -1
  40. package/dist/sdk/analyze.d.ts.map +1 -1
  41. package/dist/sdk/analyze.js +84 -10
  42. package/dist/sdk/analyze.js.map +1 -1
  43. package/dist/sdk/errors.d.ts +11 -0
  44. package/dist/sdk/errors.d.ts.map +1 -1
  45. package/dist/sdk/errors.js +50 -0
  46. package/dist/sdk/errors.js.map +1 -1
  47. package/dist/sdk/types.d.ts +9 -1
  48. package/dist/sdk/types.d.ts.map +1 -1
  49. package/dist/types/index.d.ts +129 -6
  50. package/dist/types/index.d.ts.map +1 -1
  51. package/dist/types/index.js +59 -3
  52. package/dist/types/index.js.map +1 -1
  53. package/package.json +2 -1
  54. package/agents.lock +0 -65
  55. package/dist/cli/commands/logs.d.ts +0 -19
  56. package/dist/cli/commands/logs.d.ts.map +0 -1
  57. package/dist/cli/commands/logs.js +0 -412
  58. package/dist/cli/commands/logs.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import type { SkillReport } from '../../types/index.js';
2
+ import type { SkillReport, SkillError } from '../../types/index.js';
3
3
  /**
4
4
  * Sentinel value recorded in JSONL metadata when no model is explicitly configured.
5
5
  */
@@ -23,6 +23,16 @@ export declare function getRepoLogPath(repoRoot: string, runId: string, timestam
23
23
  * Formal JSON Schema: specs/jsonl-schema.json
24
24
  * Example payloads: specs/jsonl-examples.jsonl
25
25
  * Reporter spec: specs/reporters.md Section 3 "JSONL Specification"
26
+ *
27
+ * BACKWARD COMPATIBILITY: breaking on-disk JSONL log formats is NEVER
28
+ * ALLOWED. Users keep .warden/logs/*.jsonl across versions. The schema
29
+ * may evolve — new optional fields, additive enum values, normalization
30
+ * — but every historical shape must continue to parse cleanly. Field
31
+ * renames require a preprocess that maps the old name to the new one
32
+ * (see FileReportSchema's `findingCount → findings` preprocess in
33
+ * src/types/index.ts). Removing a field is fine; making it optional in
34
+ * the schema preserves old logs. If you can't reconcile an old shape
35
+ * with a preprocess, the change is wrong — find a different path.
26
36
  */
27
37
  /** Metadata common to every JSONL record. */
28
38
  export declare const JsonlRunMetadataSchema: z.ZodObject<{
@@ -35,8 +45,8 @@ export declare const JsonlRunMetadataSchema: z.ZodObject<{
35
45
  headSha: z.ZodOptional<z.ZodString>;
36
46
  }, z.core.$strip>;
37
47
  export type JsonlRunMetadata = z.infer<typeof JsonlRunMetadataSchema>;
38
- /** Per-file breakdown within a skill record. */
39
- export declare const JsonlFileRecordSchema: z.ZodObject<{
48
+ /** Per-file breakdown within a skill record (re-exported from shared types). */
49
+ export declare const JsonlFileRecordSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodObject<{
40
50
  filename: z.ZodString;
41
51
  findings: z.ZodNumber;
42
52
  durationMs: z.ZodOptional<z.ZodNumber>;
@@ -47,19 +57,14 @@ export declare const JsonlFileRecordSchema: z.ZodObject<{
47
57
  cacheCreationInputTokens: z.ZodOptional<z.ZodNumber>;
48
58
  costUSD: z.ZodNumber;
49
59
  }, z.core.$strip>>;
50
- }, z.core.$strip>;
60
+ }, z.core.$strip>>;
51
61
  export type JsonlFileRecord = z.infer<typeof JsonlFileRecordSchema>;
52
- /** One skill's analysis results. */
62
+ /**
63
+ * One skill's analysis results. This is the shared SkillReport plus a `run`
64
+ * block of run-wide metadata, so any new SkillReport field is automatically
65
+ * part of the JSONL contract without a parallel schema.
66
+ */
53
67
  export declare const JsonlRecordSchema: z.ZodObject<{
54
- run: z.ZodObject<{
55
- timestamp: z.ZodString;
56
- durationMs: z.ZodNumber;
57
- cwd: z.ZodString;
58
- runId: z.ZodString;
59
- traceId: z.ZodOptional<z.ZodString>;
60
- model: z.ZodOptional<z.ZodString>;
61
- headSha: z.ZodOptional<z.ZodString>;
62
- }, z.core.$strip>;
63
68
  skill: z.ZodString;
64
69
  summary: z.ZodString;
65
70
  findings: z.ZodArray<z.ZodObject<{
@@ -94,7 +99,6 @@ export declare const JsonlRecordSchema: z.ZodObject<{
94
99
  elapsedMs: z.ZodOptional<z.ZodNumber>;
95
100
  }, z.core.$strip>>;
96
101
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
97
- model: z.ZodOptional<z.ZodString>;
98
102
  durationMs: z.ZodOptional<z.ZodNumber>;
99
103
  usage: z.ZodOptional<z.ZodObject<{
100
104
  inputTokens: z.ZodNumber;
@@ -103,6 +107,67 @@ export declare const JsonlRecordSchema: z.ZodObject<{
103
107
  cacheCreationInputTokens: z.ZodOptional<z.ZodNumber>;
104
108
  costUSD: z.ZodNumber;
105
109
  }, z.core.$strip>>;
110
+ skippedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
111
+ filename: z.ZodString;
112
+ reason: z.ZodEnum<{
113
+ pattern: "pattern";
114
+ builtin: "builtin";
115
+ }>;
116
+ pattern: z.ZodOptional<z.ZodString>;
117
+ }, z.core.$strip>>>;
118
+ failedHunks: z.ZodOptional<z.ZodNumber>;
119
+ failedExtractions: z.ZodOptional<z.ZodNumber>;
120
+ hunkFailures: z.ZodOptional<z.ZodArray<z.ZodObject<{
121
+ type: z.ZodEnum<{
122
+ analysis: "analysis";
123
+ extraction: "extraction";
124
+ }>;
125
+ filename: z.ZodString;
126
+ lineRange: z.ZodString;
127
+ code: z.ZodEnum<{
128
+ unknown: "unknown";
129
+ auth_failed: "auth_failed";
130
+ sdk_error: "sdk_error";
131
+ subprocess_failure: "subprocess_failure";
132
+ max_turns: "max_turns";
133
+ aborted: "aborted";
134
+ all_hunks_failed: "all_hunks_failed";
135
+ skill_resolution_failed: "skill_resolution_failed";
136
+ extraction_invalid_json: "extraction_invalid_json";
137
+ extraction_unbalanced_json: "extraction_unbalanced_json";
138
+ extraction_no_findings_json: "extraction_no_findings_json";
139
+ extraction_missing_findings_key: "extraction_missing_findings_key";
140
+ extraction_findings_not_array: "extraction_findings_not_array";
141
+ extraction_llm_failed: "extraction_llm_failed";
142
+ extraction_llm_timeout: "extraction_llm_timeout";
143
+ extraction_no_api_key: "extraction_no_api_key";
144
+ }>;
145
+ message: z.ZodString;
146
+ preview: z.ZodOptional<z.ZodString>;
147
+ attempts: z.ZodOptional<z.ZodNumber>;
148
+ }, z.core.$strip>>>;
149
+ error: z.ZodOptional<z.ZodObject<{
150
+ code: z.ZodEnum<{
151
+ unknown: "unknown";
152
+ auth_failed: "auth_failed";
153
+ sdk_error: "sdk_error";
154
+ subprocess_failure: "subprocess_failure";
155
+ max_turns: "max_turns";
156
+ aborted: "aborted";
157
+ all_hunks_failed: "all_hunks_failed";
158
+ skill_resolution_failed: "skill_resolution_failed";
159
+ extraction_invalid_json: "extraction_invalid_json";
160
+ extraction_unbalanced_json: "extraction_unbalanced_json";
161
+ extraction_no_findings_json: "extraction_no_findings_json";
162
+ extraction_missing_findings_key: "extraction_missing_findings_key";
163
+ extraction_findings_not_array: "extraction_findings_not_array";
164
+ extraction_llm_failed: "extraction_llm_failed";
165
+ extraction_llm_timeout: "extraction_llm_timeout";
166
+ extraction_no_api_key: "extraction_no_api_key";
167
+ }>;
168
+ message: z.ZodString;
169
+ timestamp: z.ZodOptional<z.ZodString>;
170
+ }, z.core.$strip>>;
106
171
  auxiliaryUsage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
107
172
  inputTokens: z.ZodNumber;
108
173
  outputTokens: z.ZodNumber;
@@ -110,7 +175,7 @@ export declare const JsonlRecordSchema: z.ZodObject<{
110
175
  cacheCreationInputTokens: z.ZodOptional<z.ZodNumber>;
111
176
  costUSD: z.ZodNumber;
112
177
  }, z.core.$strip>>>;
113
- files: z.ZodOptional<z.ZodArray<z.ZodObject<{
178
+ files: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodObject<{
114
179
  filename: z.ZodString;
115
180
  findings: z.ZodNumber;
116
181
  durationMs: z.ZodOptional<z.ZodNumber>;
@@ -121,17 +186,17 @@ export declare const JsonlRecordSchema: z.ZodObject<{
121
186
  cacheCreationInputTokens: z.ZodOptional<z.ZodNumber>;
122
187
  costUSD: z.ZodNumber;
123
188
  }, z.core.$strip>>;
124
- }, z.core.$strip>>>;
125
- skippedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
126
- filename: z.ZodString;
127
- reason: z.ZodEnum<{
128
- pattern: "pattern";
129
- builtin: "builtin";
130
- }>;
131
- pattern: z.ZodOptional<z.ZodString>;
132
- }, z.core.$strip>>>;
133
- failedHunks: z.ZodOptional<z.ZodNumber>;
134
- failedExtractions: z.ZodOptional<z.ZodNumber>;
189
+ }, z.core.$strip>>>>;
190
+ model: z.ZodOptional<z.ZodString>;
191
+ run: z.ZodObject<{
192
+ timestamp: z.ZodString;
193
+ durationMs: z.ZodNumber;
194
+ cwd: z.ZodString;
195
+ runId: z.ZodString;
196
+ traceId: z.ZodOptional<z.ZodString>;
197
+ model: z.ZodOptional<z.ZodString>;
198
+ headSha: z.ZodOptional<z.ZodString>;
199
+ }, z.core.$strip>;
135
200
  }, z.core.$strip>;
136
201
  export type JsonlRecord = z.infer<typeof JsonlRecordSchema>;
137
202
  /** Aggregate summary across all skills (always the last JSONL line). */
@@ -147,7 +212,15 @@ export declare const JsonlSummaryRecordSchema: z.ZodObject<{
147
212
  }, z.core.$strip>;
148
213
  type: z.ZodLiteral<"summary">;
149
214
  totalFindings: z.ZodNumber;
150
- bySeverity: z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodNumber>, z.ZodTransform<Record<"high" | "low" | "medium", number>, Record<string, number>>>;
215
+ bySeverity: z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodNumber>, z.ZodTransform<{
216
+ high: number;
217
+ medium: number;
218
+ low: number;
219
+ }, Record<string, number>>>, z.ZodObject<{
220
+ high: z.ZodNumber;
221
+ medium: z.ZodNumber;
222
+ low: z.ZodNumber;
223
+ }, z.core.$strip>>;
151
224
  usage: z.ZodOptional<z.ZodObject<{
152
225
  inputTokens: z.ZodNumber;
153
226
  outputTokens: z.ZodNumber;
@@ -163,6 +236,31 @@ export declare const JsonlSummaryRecordSchema: z.ZodObject<{
163
236
  cacheCreationInputTokens: z.ZodOptional<z.ZodNumber>;
164
237
  costUSD: z.ZodNumber;
165
238
  }, z.core.$strip>>>;
239
+ failedSkills: z.ZodOptional<z.ZodArray<z.ZodString>>;
240
+ totalFailedHunks: z.ZodOptional<z.ZodNumber>;
241
+ totalFailedExtractions: z.ZodOptional<z.ZodNumber>;
242
+ error: z.ZodOptional<z.ZodObject<{
243
+ code: z.ZodEnum<{
244
+ unknown: "unknown";
245
+ auth_failed: "auth_failed";
246
+ sdk_error: "sdk_error";
247
+ subprocess_failure: "subprocess_failure";
248
+ max_turns: "max_turns";
249
+ aborted: "aborted";
250
+ all_hunks_failed: "all_hunks_failed";
251
+ skill_resolution_failed: "skill_resolution_failed";
252
+ extraction_invalid_json: "extraction_invalid_json";
253
+ extraction_unbalanced_json: "extraction_unbalanced_json";
254
+ extraction_no_findings_json: "extraction_no_findings_json";
255
+ extraction_missing_findings_key: "extraction_missing_findings_key";
256
+ extraction_findings_not_array: "extraction_findings_not_array";
257
+ extraction_llm_failed: "extraction_llm_failed";
258
+ extraction_llm_timeout: "extraction_llm_timeout";
259
+ extraction_no_api_key: "extraction_no_api_key";
260
+ }>;
261
+ message: z.ZodString;
262
+ timestamp: z.ZodOptional<z.ZodString>;
263
+ }, z.core.$strip>>;
166
264
  }, z.core.$strip>;
167
265
  export type JsonlSummaryRecord = z.infer<typeof JsonlSummaryRecordSchema>;
168
266
  /** Per-evaluation detail for fix evaluation records. */
@@ -231,6 +329,35 @@ export declare const JsonlFixEvaluationRecordSchema: z.ZodObject<{
231
329
  }, z.core.$strip>>>;
232
330
  }, z.core.$strip>;
233
331
  export type JsonlFixEvaluationRecord = z.infer<typeof JsonlFixEvaluationRecordSchema>;
332
+ /**
333
+ * Build a JSONL run metadata block. `durationMs` is a snapshot at write
334
+ * time for skill records, the run total on the trailing summary record.
335
+ */
336
+ export declare function buildRunMetadata(options: {
337
+ runId: string;
338
+ durationMs: number;
339
+ timestamp?: Date;
340
+ traceId?: string;
341
+ model?: string;
342
+ headSha?: string;
343
+ cwd?: string;
344
+ }): JsonlRunMetadata;
345
+ /** Build a skill JSONL record, dropping zero-valued optional fields. */
346
+ export declare function buildSkillJsonlRecord(report: SkillReport, run: JsonlRunMetadata): JsonlRecord;
347
+ /** Build the aggregate summary JSONL record. */
348
+ export declare function buildSummaryJsonlRecord(reports: SkillReport[], run: JsonlRunMetadata, error?: SkillError): JsonlSummaryRecord;
349
+ /** Render a single skill JSONL record as one line including trailing newline. */
350
+ export declare function renderJsonlSkillLine(report: SkillReport, run: JsonlRunMetadata): string;
351
+ /** Render the summary JSONL record as one line including trailing newline. */
352
+ export declare function renderJsonlSummaryLine(reports: SkillReport[], run: JsonlRunMetadata, error?: SkillError): string;
353
+ /** Create parent dirs and truncate the file to empty. */
354
+ export declare function initJsonlFile(outputPath: string): void;
355
+ /**
356
+ * Append a pre-rendered line (must include its trailing newline).
357
+ * Atomic w.r.t. other appenders on POSIX for lines under PIPE_BUF, which
358
+ * is what makes parallel skill execution safe to write straight to disk.
359
+ */
360
+ export declare function appendJsonlLine(outputPath: string, line: string): void;
234
361
  /**
235
362
  * Render skill reports as a JSONL string.
236
363
  * Each line contains one skill report with run metadata.
@@ -243,6 +370,8 @@ export declare function renderJsonlString(reports: SkillReport[], durationMs: nu
243
370
  model?: string;
244
371
  headSha?: string;
245
372
  cwd?: string;
373
+ /** Top-level run error (e.g. auth failure) recorded on the summary record. */
374
+ error?: SkillError;
246
375
  }): string;
247
376
  /**
248
377
  * Write skill reports to a JSONL file.
@@ -271,20 +400,25 @@ export interface ParsedJsonlLog {
271
400
  }
272
401
  export declare function parseJsonlReports(content: string): ParsedJsonlLog;
273
402
  /**
274
- * Lightweight metadata extracted from a JSONL log file.
275
- * Includes the summary record plus skill names from the skill records.
403
+ * Lightweight metadata extracted from a JSONL log file. `summary` is
404
+ * absent for in-progress runs (no trailing summary record yet); use
405
+ * `inProgress` to distinguish those from completed runs.
276
406
  */
277
407
  export interface LogFileMetadata {
278
- summary: JsonlSummaryRecord;
408
+ summary?: JsonlSummaryRecord;
409
+ inProgress: boolean;
410
+ /** Run metadata pulled from the summary or, failing that, the first skill record. */
411
+ runMetadata?: JsonlRunMetadata;
279
412
  skills: string[];
280
413
  model?: string;
281
414
  headSha?: string;
282
415
  totalFiles: number;
283
416
  }
284
417
  /**
285
- * Parse a JSONL log file for its summary and skill names.
286
- * Reads all lines but only fully parses the summary; extracts skill names
287
- * from non-summary lines with minimal parsing.
418
+ * Parse a JSONL log file's summary, skill names, and high-level metadata.
419
+ * Returns undefined when the file can't be read or contains no parseable
420
+ * records; in-progress files (valid records but no summary yet) return
421
+ * metadata with `inProgress: true`.
288
422
  */
289
423
  export declare function parseLogMetadata(filePath: string): LogFileMetadata | undefined;
290
424
  //# sourceMappingURL=jsonl.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"jsonl.d.ts","sourceRoot":"","sources":["../../../src/cli/output/jsonl.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,OAAO,KAAK,EAAE,WAAW,EAAiC,MAAM,sBAAsB,CAAC;AAIvF;;GAEG;AACH,eAAO,MAAM,sBAAsB,cAAc,CAAC;AAElD;;GAEG;AACH,wBAAgB,aAAa,IAAI,MAAM,CAEtC;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEhD;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,GAAE,IAAiB,GAAG,MAAM,CAGpG;AAED;;;;;;GAMG;AAEH,6CAA6C;AAC7C,eAAO,MAAM,sBAAsB;;;;;;;;iBAQjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,gDAAgD;AAChD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