@sentry/mcp-server 0.3.1 → 0.3.2

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 (81) hide show
  1. package/dist/api-client/client.cjs +2 -2
  2. package/dist/api-client/client.d.cts +3 -3
  3. package/dist/api-client/client.d.ts +3 -3
  4. package/dist/api-client/client.js +2 -2
  5. package/dist/api-client/client.test.cjs +2 -2
  6. package/dist/api-client/client.test.js +2 -2
  7. package/dist/api-client/index.cjs +2 -2
  8. package/dist/api-client/index.d.cts +3 -3
  9. package/dist/api-client/index.d.ts +3 -3
  10. package/dist/api-client/index.js +2 -2
  11. package/dist/api-client/schema.cjs +1 -1
  12. package/dist/api-client/schema.d.cts +1 -1
  13. package/dist/api-client/schema.d.ts +1 -1
  14. package/dist/api-client/schema.js +1 -1
  15. package/dist/api-client/types.d.cts +2 -2
  16. package/dist/api-client/types.d.ts +2 -2
  17. package/dist/{client-g5hAsyeE.js → client-BKLE5Lkt.js} +5 -3
  18. package/dist/client-BKLE5Lkt.js.map +1 -0
  19. package/dist/{client-CRNnZ1r9.cjs → client-C_XfRSu3.cjs} +5 -3
  20. package/dist/client-C_XfRSu3.cjs.map +1 -0
  21. package/dist/{client.d-BAXIPpq-.d.ts → client.d-DHlu3a8d.d.ts} +7 -7
  22. package/dist/{client.d-CQuzKzqF.d.cts.map → client.d-DHlu3a8d.d.ts.map} +1 -1
  23. package/dist/{client.d-CQuzKzqF.d.cts → client.d-DqhLulmH.d.cts} +2 -2
  24. package/dist/client.d-DqhLulmH.d.cts.map +1 -0
  25. package/dist/index.cjs +8 -7
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.js +8 -7
  28. package/dist/index.js.map +1 -1
  29. package/dist/internal/formatting.d.cts +3 -3
  30. package/dist/internal/formatting.d.ts +3 -3
  31. package/dist/{schema-C5yrrdxi.cjs → schema-Bc6_gUDA.cjs} +2 -2
  32. package/dist/{schema-C5yrrdxi.cjs.map → schema-Bc6_gUDA.cjs.map} +1 -1
  33. package/dist/{schema-RGcdX0Wv.js → schema-D1B8p0Ib.js} +2 -2
  34. package/dist/{schema-RGcdX0Wv.js.map → schema-D1B8p0Ib.js.map} +1 -1
  35. package/dist/{schema.d-CBFo8C58.d.cts → schema.d-BGUOiJ76.d.cts} +911 -115
  36. package/dist/{schema.d-CBFo8C58.d.cts.map → schema.d-BGUOiJ76.d.cts.map} +1 -1
  37. package/dist/{schema.d-BJRk-qn4.d.ts → schema.d-CPAOqBrB.d.ts} +946 -150
  38. package/dist/schema.d-CPAOqBrB.d.ts.map +1 -0
  39. package/dist/{server-Dot7NeYs.js → server-DHbbEoa2.js} +3 -3
  40. package/dist/{server-Dot7NeYs.js.map → server-DHbbEoa2.js.map} +1 -1
  41. package/dist/{server-8IhYk2mv.cjs → server-DQ_dBWQy.cjs} +3 -3
  42. package/dist/{server-8IhYk2mv.cjs.map → server-DQ_dBWQy.cjs.map} +1 -1
  43. package/dist/server.cjs +4 -4
  44. package/dist/server.js +4 -4
  45. package/dist/{stdio-CXQ72BLj.js → stdio-9quCNGCH.js} +2 -2
  46. package/dist/{stdio-CXQ72BLj.js.map → stdio-9quCNGCH.js.map} +1 -1
  47. package/dist/{stdio-Co3Ot0bh.cjs → stdio-DFsA-33B.cjs} +2 -2
  48. package/dist/{stdio-Co3Ot0bh.cjs.map → stdio-DFsA-33B.cjs.map} +1 -1
  49. package/dist/{tools-OdomWt8t.cjs → tools-B22b8Jjm.cjs} +6 -2
  50. package/dist/{tools-OdomWt8t.cjs.map → tools-B22b8Jjm.cjs.map} +1 -1
  51. package/dist/{tools-BKGdG_hf.js → tools-CXgh-6Vh.js} +6 -2
  52. package/dist/{tools-BKGdG_hf.js.map → tools-CXgh-6Vh.js.map} +1 -1
  53. package/dist/tools.cjs +3 -3
  54. package/dist/tools.d.cts.map +1 -1
  55. package/dist/tools.d.ts +3 -3
  56. package/dist/tools.d.ts.map +1 -1
  57. package/dist/tools.js +3 -3
  58. package/dist/tools.test.cjs +3 -3
  59. package/dist/tools.test.js +3 -3
  60. package/dist/transports/stdio.cjs +5 -5
  61. package/dist/transports/stdio.js +5 -5
  62. package/dist/{types.d-BEMABWun.d.ts → types.d-CLP4B6Fv.d.ts} +2 -2
  63. package/dist/{types.d-BEMABWun.d.ts.map → types.d-CLP4B6Fv.d.ts.map} +1 -1
  64. package/dist/{types.d-BBSfGmvU.d.cts → types.d-DO95JHyL.d.cts} +2 -2
  65. package/dist/{types.d-BBSfGmvU.d.cts.map → types.d-DO95JHyL.d.cts.map} +1 -1
  66. package/dist/version-Cmu_Jzgy.js +6 -0
  67. package/dist/version-Cmu_Jzgy.js.map +1 -0
  68. package/dist/{version-w2qDmruK.cjs → version-NkgNAUSU.cjs} +2 -2
  69. package/dist/version-NkgNAUSU.cjs.map +1 -0
  70. package/dist/version.cjs +1 -1
  71. package/dist/version.d.cts +1 -1
  72. package/dist/version.d.ts +1 -1
  73. package/dist/version.js +1 -1
  74. package/package.json +5 -5
  75. package/dist/client-CRNnZ1r9.cjs.map +0 -1
  76. package/dist/client-g5hAsyeE.js.map +0 -1
  77. package/dist/client.d-BAXIPpq-.d.ts.map +0 -1
  78. package/dist/schema.d-BJRk-qn4.d.ts.map +0 -1
  79. package/dist/version-BjQFPcxi.js +0 -6
  80. package/dist/version-BjQFPcxi.js.map +0 -1
  81. package/dist/version-w2qDmruK.cjs.map +0 -1
@@ -101,19 +101,19 @@ declare const ClientKeySchema: z.ZodObject<{
101
101
  }, "strip", z.ZodTypeAny, {
102
102
  name: string;
103
103
  id: string | number;
104
+ dateCreated: string;
104
105
  dsn: {
105
106
  public: string;
106
107
  };
107
108
  isActive: boolean;
108
- dateCreated: string;
109
109
  }, {
110
110
  name: string;
111
111
  id: string | number;
112
+ dateCreated: string;
112
113
  dsn: {
113
114
  public: string;
114
115
  };
115
116
  isActive: boolean;
116
- dateCreated: string;
117
117
  }>;
118
118
  declare const ClientKeyListSchema: z.ZodArray<z.ZodObject<{
119
119
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
@@ -130,19 +130,19 @@ declare const ClientKeyListSchema: z.ZodArray<z.ZodObject<{
130
130
  }, "strip", z.ZodTypeAny, {
131
131
  name: string;
132
132
  id: string | number;
133
+ dateCreated: string;
133
134
  dsn: {
134
135
  public: string;
135
136
  };
136
137
  isActive: boolean;
137
- dateCreated: string;
138
138
  }, {
139
139
  name: string;
140
140
  id: string | number;
141
+ dateCreated: string;
141
142
  dsn: {
142
143
  public: string;
143
144
  };
144
145
  isActive: boolean;
145
- dateCreated: string;
146
146
  }>, "many">;
147
147
  declare const ReleaseSchema: z.ZodObject<{
148
148
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
@@ -455,38 +455,38 @@ declare const IssueSchema: z.ZodObject<{
455
455
  }, "strip", z.ZodTypeAny, {
456
456
  type: string;
457
457
  status: string;
458
- project: {
459
- name: string;
460
- id: string | number;
461
- slug: string;
462
- };
463
- title: string;
458
+ count: string | number;
459
+ userCount: string | number;
460
+ platform: string;
464
461
  id: string | number;
465
462
  shortId: string;
463
+ title: string;
466
464
  firstSeen: string;
467
465
  lastSeen: string;
468
- count: string | number;
469
- userCount: string | number;
470
466
  permalink: string;
471
- platform: string;
472
- culprit: string;
473
- }, {
474
- type: string;
475
- status: string;
476
467
  project: {
477
468
  name: string;
478
469
  id: string | number;
479
470
  slug: string;
480
471
  };
481
- title: string;
472
+ culprit: string;
473
+ }, {
474
+ type: string;
475
+ status: string;
476
+ count: string | number;
477
+ userCount: string | number;
478
+ platform: string;
482
479
  id: string | number;
483
480
  shortId: string;
481
+ title: string;
484
482
  firstSeen: string;
485
483
  lastSeen: string;
486
- count: string | number;
487
- userCount: string | number;
488
484
  permalink: string;
489
- platform: string;
485
+ project: {
486
+ name: string;
487
+ id: string | number;
488
+ slug: string;
489
+ };
490
490
  culprit: string;
491
491
  }>;
492
492
  declare const IssueListSchema: z.ZodArray<z.ZodObject<{
@@ -518,38 +518,38 @@ declare const IssueListSchema: z.ZodArray<z.ZodObject<{
518
518
  }, "strip", z.ZodTypeAny, {
519
519
  type: string;
520
520
  status: string;
521
- project: {
522
- name: string;
523
- id: string | number;
524
- slug: string;
525
- };
526
- title: string;
521
+ count: string | number;
522
+ userCount: string | number;
523
+ platform: string;
527
524
  id: string | number;
528
525
  shortId: string;
526
+ title: string;
529
527
  firstSeen: string;
530
528
  lastSeen: string;
531
- count: string | number;
532
- userCount: string | number;
533
529
  permalink: string;
534
- platform: string;
535
- culprit: string;
536
- }, {
537
- type: string;
538
- status: string;
539
530
  project: {
540
531
  name: string;
541
532
  id: string | number;
542
533
  slug: string;
543
534
  };
544
- title: string;
535
+ culprit: string;
536
+ }, {
537
+ type: string;
538
+ status: string;
539
+ count: string | number;
540
+ userCount: string | number;
541
+ platform: string;
545
542
  id: string | number;
546
543
  shortId: string;
544
+ title: string;
547
545
  firstSeen: string;
548
546
  lastSeen: string;
549
- count: string | number;
550
- userCount: string | number;
551
547
  permalink: string;
552
- platform: string;
548
+ project: {
549
+ name: string;
550
+ id: string | number;
551
+ slug: string;
552
+ };
553
553
  culprit: string;
554
554
  }>, "many">;
555
555
  declare const FrameInterface: z.ZodObject<{
@@ -1373,11 +1373,11 @@ declare const EventSchema: z.ZodObject<{
1373
1373
  type: string;
1374
1374
  data?: unknown;
1375
1375
  })[];
1376
- title: string;
1377
- id: string;
1378
- dateCreated: string;
1379
1376
  platform: string | null;
1377
+ id: string;
1378
+ title: string;
1380
1379
  culprit: string | null;
1380
+ dateCreated: string;
1381
1381
  }, {
1382
1382
  message: string | null;
1383
1383
  entries: ({
@@ -1426,11 +1426,11 @@ declare const EventSchema: z.ZodObject<{
1426
1426
  type: string;
1427
1427
  data?: unknown;
1428
1428
  })[];
1429
- title: string;
1430
- id: string;
1431
- dateCreated: string;
1432
1429
  platform: string | null;
1430
+ id: string;
1431
+ title: string;
1433
1432
  culprit: string | null;
1433
+ dateCreated: string;
1434
1434
  }>;
1435
1435
  declare const EventsResponseSchema: z.ZodObject<{
1436
1436
  data: z.ZodArray<z.ZodUnknown, "many">;
@@ -1473,26 +1473,26 @@ declare const ErrorsSearchResponseSchema: z.ZodObject<{
1473
1473
  "count()": z.ZodNumber;
1474
1474
  "last_seen()": z.ZodString;
1475
1475
  }, "strip", z.ZodTypeAny, {
1476
+ title: string;
1477
+ project: string;
1476
1478
  issue: string;
1477
1479
  "issue.id": string | number;
1478
- project: string;
1479
- title: string;
1480
1480
  "count()": number;
1481
1481
  "last_seen()": string;
1482
1482
  }, {
1483
+ title: string;
1484
+ project: string;
1483
1485
  issue: string;
1484
1486
  "issue.id": string | number;
1485
- project: string;
1486
- title: string;
1487
1487
  "count()": number;
1488
1488
  "last_seen()": string;
1489
1489
  }>, "many">;
1490
1490
  }, "strip", z.ZodTypeAny, {
1491
1491
  data: {
1492
+ title: string;
1493
+ project: string;
1492
1494
  issue: string;
1493
1495
  "issue.id": string | number;
1494
- project: string;
1495
- title: string;
1496
1496
  "count()": number;
1497
1497
  "last_seen()": string;
1498
1498
  }[];
@@ -1503,10 +1503,10 @@ declare const ErrorsSearchResponseSchema: z.ZodObject<{
1503
1503
  };
1504
1504
  }, {
1505
1505
  data: {
1506
+ title: string;
1507
+ project: string;
1506
1508
  issue: string;
1507
1509
  "issue.id": string | number;
1508
- project: string;
1509
- title: string;
1510
1510
  "count()": number;
1511
1511
  "last_seen()": string;
1512
1512
  }[];
@@ -1535,34 +1535,34 @@ declare const SpansSearchResponseSchema: z.ZodObject<{
1535
1535
  project: z.ZodString;
1536
1536
  timestamp: z.ZodString;
1537
1537
  }, "strip", z.ZodTypeAny, {
1538
- project: string;
1538
+ timestamp: string;
1539
+ transaction: string;
1539
1540
  id: string;
1541
+ project: string;
1540
1542
  trace: string;
1541
1543
  "span.op": string;
1542
1544
  "span.description": string;
1543
1545
  "span.duration": number;
1544
- transaction: string;
1545
- timestamp: string;
1546
1546
  }, {
1547
- project: string;
1547
+ timestamp: string;
1548
+ transaction: string;
1548
1549
  id: string;
1550
+ project: string;
1549
1551
  trace: string;
1550
1552
  "span.op": string;
1551
1553
  "span.description": string;
1552
1554
  "span.duration": number;
1553
- transaction: string;
1554
- timestamp: string;
1555
1555
  }>, "many">;
1556
1556
  }, "strip", z.ZodTypeAny, {
1557
1557
  data: {
1558
- project: string;
1558
+ timestamp: string;
1559
+ transaction: string;
1559
1560
  id: string;
1561
+ project: string;
1560
1562
  trace: string;
1561
1563
  "span.op": string;
1562
1564
  "span.description": string;
1563
1565
  "span.duration": number;
1564
- transaction: string;
1565
- timestamp: string;
1566
1566
  }[];
1567
1567
  meta: {
1568
1568
  fields: Record<string, string>;
@@ -1571,14 +1571,14 @@ declare const SpansSearchResponseSchema: z.ZodObject<{
1571
1571
  };
1572
1572
  }, {
1573
1573
  data: {
1574
- project: string;
1574
+ timestamp: string;
1575
+ transaction: string;
1575
1576
  id: string;
1577
+ project: string;
1576
1578
  trace: string;
1577
1579
  "span.op": string;
1578
1580
  "span.description": string;
1579
1581
  "span.duration": number;
1580
- transaction: string;
1581
- timestamp: string;
1582
1582
  }[];
1583
1583
  meta: {
1584
1584
  fields: Record<string, string>;
@@ -2729,7 +2729,7 @@ declare const AutofixRunStepSchema: z.ZodUnion<[z.ZodObject<{
2729
2729
  }>, "many">;
2730
2730
  }, z.ZodTypeAny, "passthrough">>]>;
2731
2731
  declare const AutofixRunStateSchema: z.ZodObject<{
2732
- autofix: z.ZodObject<{
2732
+ autofix: z.ZodNullable<z.ZodObject<{
2733
2733
  run_id: z.ZodNumber;
2734
2734
  request: z.ZodUnknown;
2735
2735
  updated_at: z.ZodString;
@@ -4547,13 +4547,100 @@ declare const AutofixRunStateSchema: z.ZodObject<{
4547
4547
  data?: unknown;
4548
4548
  }>, "many">;
4549
4549
  }, z.ZodTypeAny, "passthrough">>]>, "many">;
4550
- }, z.ZodTypeAny, "passthrough">>;
4550
+ }, z.ZodTypeAny, "passthrough">>>;
4551
4551
  }, "strip", z.ZodTypeAny, {
4552
- autofix: {
4553
- status: "PENDING" | "PROCESSING" | "IN_PROGRESS" | "NEED_MORE_INFORMATION" | "COMPLETED" | "FAILED";
4554
- run_id: number;
4555
- updated_at: string;
4556
- steps: (z.objectOutputType<{
4552
+ autofix: z.objectOutputType<{
4553
+ run_id: z.ZodNumber;
4554
+ request: z.ZodUnknown;
4555
+ updated_at: z.ZodString;
4556
+ status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
4557
+ steps: z.ZodArray<z.ZodUnion<[z.ZodObject<{
4558
+ key: z.ZodString;
4559
+ index: z.ZodNumber;
4560
+ status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
4561
+ title: z.ZodString;
4562
+ output_stream: z.ZodNullable<z.ZodString>;
4563
+ progress: z.ZodArray<z.ZodObject<{
4564
+ data: z.ZodNullable<z.ZodUnknown>;
4565
+ message: z.ZodString;
4566
+ timestamp: z.ZodString;
4567
+ type: z.ZodEnum<["INFO", "WARNING", "ERROR"]>;
4568
+ }, "strip", z.ZodTypeAny, {
4569
+ message: string;
4570
+ type: "INFO" | "WARNING" | "ERROR";
4571
+ timestamp: string;
4572
+ data?: unknown;
4573
+ }, {
4574
+ message: string;
4575
+ type: "INFO" | "WARNING" | "ERROR";
4576
+ timestamp: string;
4577
+ data?: unknown;
4578
+ }>, "many">;
4579
+ } & {
4580
+ type: z.ZodLiteral<"default">;
4581
+ insights: z.ZodNullable<z.ZodArray<z.ZodObject<{
4582
+ change_diff: z.ZodNullable<z.ZodUnknown>;
4583
+ generated_at_memory_index: z.ZodNumber;
4584
+ insight: z.ZodString;
4585
+ justification: z.ZodString;
4586
+ type: z.ZodLiteral<"insight">;
4587
+ }, "strip", z.ZodTypeAny, {
4588
+ type: "insight";
4589
+ generated_at_memory_index: number;
4590
+ insight: string;
4591
+ justification: string;
4592
+ change_diff?: unknown;
4593
+ }, {
4594
+ type: "insight";
4595
+ generated_at_memory_index: number;
4596
+ insight: string;
4597
+ justification: string;
4598
+ change_diff?: unknown;
4599
+ }>, "many">>;
4600
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4601
+ key: z.ZodString;
4602
+ index: z.ZodNumber;
4603
+ status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
4604
+ title: z.ZodString;
4605
+ output_stream: z.ZodNullable<z.ZodString>;
4606
+ progress: z.ZodArray<z.ZodObject<{
4607
+ data: z.ZodNullable<z.ZodUnknown>;
4608
+ message: z.ZodString;
4609
+ timestamp: z.ZodString;
4610
+ type: z.ZodEnum<["INFO", "WARNING", "ERROR"]>;
4611
+ }, "strip", z.ZodTypeAny, {
4612
+ message: string;
4613
+ type: "INFO" | "WARNING" | "ERROR";
4614
+ timestamp: string;
4615
+ data?: unknown;
4616
+ }, {
4617
+ message: string;
4618
+ type: "INFO" | "WARNING" | "ERROR";
4619
+ timestamp: string;
4620
+ data?: unknown;
4621
+ }>, "many">;
4622
+ } & {
4623
+ type: z.ZodLiteral<"default">;
4624
+ insights: z.ZodNullable<z.ZodArray<z.ZodObject<{
4625
+ change_diff: z.ZodNullable<z.ZodUnknown>;
4626
+ generated_at_memory_index: z.ZodNumber;
4627
+ insight: z.ZodString;
4628
+ justification: z.ZodString;
4629
+ type: z.ZodLiteral<"insight">;
4630
+ }, "strip", z.ZodTypeAny, {
4631
+ type: "insight";
4632
+ generated_at_memory_index: number;
4633
+ insight: string;
4634
+ justification: string;
4635
+ change_diff?: unknown;
4636
+ }, {
4637
+ type: "insight";
4638
+ generated_at_memory_index: number;
4639
+ insight: string;
4640
+ justification: string;
4641
+ change_diff?: unknown;
4642
+ }>, "many">>;
4643
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4557
4644
  key: z.ZodString;
4558
4645
  index: z.ZodNumber;
4559
4646
  status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
@@ -4596,7 +4683,7 @@ declare const AutofixRunStateSchema: z.ZodObject<{
4596
4683
  justification: string;
4597
4684
  change_diff?: unknown;
4598
4685
  }>, "many">>;
4599
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
4686
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
4600
4687
  key: z.ZodString;
4601
4688
  index: z.ZodNumber;
4602
4689
  status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
@@ -4684,7 +4771,7 @@ declare const AutofixRunStateSchema: z.ZodObject<{
4684
4771
  timeline_item_type: string;
4685
4772
  }[];
4686
4773
  }>, "many">;
4687
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
4774
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4688
4775
  key: z.ZodString;
4689
4776
  index: z.ZodNumber;
4690
4777
  status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
@@ -4707,63 +4794,592 @@ declare const AutofixRunStateSchema: z.ZodObject<{
4707
4794
  data?: unknown;
4708
4795
  }>, "many">;
4709
4796
  } & {
4710
- type: z.ZodLiteral<"solution">;
4711
- solution: z.ZodArray<z.ZodObject<{
4712
- code_snippet_and_analysis: z.ZodNullable<z.ZodString>;
4713
- is_active: z.ZodBoolean;
4714
- is_most_important_event: z.ZodBoolean;
4715
- relevant_code_file: z.ZodNull;
4716
- timeline_item_type: z.ZodUnion<[z.ZodLiteral<"internal_code">, z.ZodLiteral<"repro_test">]>;
4717
- title: z.ZodString;
4718
- }, "strip", z.ZodTypeAny, {
4719
- title: string;
4720
- code_snippet_and_analysis: string | null;
4721
- is_most_important_event: boolean;
4722
- relevant_code_file: null;
4723
- timeline_item_type: "internal_code" | "repro_test";
4724
- is_active: boolean;
4725
- }, {
4726
- title: string;
4727
- code_snippet_and_analysis: string | null;
4728
- is_most_important_event: boolean;
4729
- relevant_code_file: null;
4730
- timeline_item_type: "internal_code" | "repro_test";
4731
- is_active: boolean;
4732
- }>, "many">;
4733
- }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
4734
- type: z.ZodString;
4735
- key: z.ZodString;
4736
- index: z.ZodNumber;
4737
- status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
4738
- title: z.ZodString;
4739
- output_stream: z.ZodNullable<z.ZodString>;
4740
- progress: z.ZodArray<z.ZodObject<{
4741
- data: z.ZodNullable<z.ZodUnknown>;
4742
- message: z.ZodString;
4743
- timestamp: z.ZodString;
4744
- type: z.ZodEnum<["INFO", "WARNING", "ERROR"]>;
4797
+ type: z.ZodLiteral<"root_cause_analysis">;
4798
+ causes: z.ZodArray<z.ZodObject<{
4799
+ description: z.ZodString;
4800
+ id: z.ZodNumber;
4801
+ root_cause_reproduction: z.ZodArray<z.ZodObject<{
4802
+ code_snippet_and_analysis: z.ZodString;
4803
+ is_most_important_event: z.ZodBoolean;
4804
+ relevant_code_file: z.ZodNullable<z.ZodObject<{
4805
+ file_path: z.ZodString;
4806
+ repo_name: z.ZodString;
4807
+ }, "strip", z.ZodTypeAny, {
4808
+ file_path: string;
4809
+ repo_name: string;
4810
+ }, {
4811
+ file_path: string;
4812
+ repo_name: string;
4813
+ }>>;
4814
+ timeline_item_type: z.ZodString;
4815
+ title: z.ZodString;
4816
+ }, "strip", z.ZodTypeAny, {
4817
+ title: string;
4818
+ code_snippet_and_analysis: string;
4819
+ is_most_important_event: boolean;
4820
+ relevant_code_file: {
4821
+ file_path: string;
4822
+ repo_name: string;
4823
+ } | null;
4824
+ timeline_item_type: string;
4825
+ }, {
4826
+ title: string;
4827
+ code_snippet_and_analysis: string;
4828
+ is_most_important_event: boolean;
4829
+ relevant_code_file: {
4830
+ file_path: string;
4831
+ repo_name: string;
4832
+ } | null;
4833
+ timeline_item_type: string;
4834
+ }>, "many">;
4835
+ }, "strip", z.ZodTypeAny, {
4836
+ description: string;
4837
+ id: number;
4838
+ root_cause_reproduction: {
4839
+ title: string;
4840
+ code_snippet_and_analysis: string;
4841
+ is_most_important_event: boolean;
4842
+ relevant_code_file: {
4843
+ file_path: string;
4844
+ repo_name: string;
4845
+ } | null;
4846
+ timeline_item_type: string;
4847
+ }[];
4848
+ }, {
4849
+ description: string;
4850
+ id: number;
4851
+ root_cause_reproduction: {
4852
+ title: string;
4853
+ code_snippet_and_analysis: string;
4854
+ is_most_important_event: boolean;
4855
+ relevant_code_file: {
4856
+ file_path: string;
4857
+ repo_name: string;
4858
+ } | null;
4859
+ timeline_item_type: string;
4860
+ }[];
4861
+ }>, "many">;
4862
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4863
+ key: z.ZodString;
4864
+ index: z.ZodNumber;
4865
+ status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
4866
+ title: z.ZodString;
4867
+ output_stream: z.ZodNullable<z.ZodString>;
4868
+ progress: z.ZodArray<z.ZodObject<{
4869
+ data: z.ZodNullable<z.ZodUnknown>;
4870
+ message: z.ZodString;
4871
+ timestamp: z.ZodString;
4872
+ type: z.ZodEnum<["INFO", "WARNING", "ERROR"]>;
4873
+ }, "strip", z.ZodTypeAny, {
4874
+ message: string;
4875
+ type: "INFO" | "WARNING" | "ERROR";
4876
+ timestamp: string;
4877
+ data?: unknown;
4878
+ }, {
4879
+ message: string;
4880
+ type: "INFO" | "WARNING" | "ERROR";
4881
+ timestamp: string;
4882
+ data?: unknown;
4883
+ }>, "many">;
4884
+ } & {
4885
+ type: z.ZodLiteral<"root_cause_analysis">;
4886
+ causes: z.ZodArray<z.ZodObject<{
4887
+ description: z.ZodString;
4888
+ id: z.ZodNumber;
4889
+ root_cause_reproduction: z.ZodArray<z.ZodObject<{
4890
+ code_snippet_and_analysis: z.ZodString;
4891
+ is_most_important_event: z.ZodBoolean;
4892
+ relevant_code_file: z.ZodNullable<z.ZodObject<{
4893
+ file_path: z.ZodString;
4894
+ repo_name: z.ZodString;
4895
+ }, "strip", z.ZodTypeAny, {
4896
+ file_path: string;
4897
+ repo_name: string;
4898
+ }, {
4899
+ file_path: string;
4900
+ repo_name: string;
4901
+ }>>;
4902
+ timeline_item_type: z.ZodString;
4903
+ title: z.ZodString;
4904
+ }, "strip", z.ZodTypeAny, {
4905
+ title: string;
4906
+ code_snippet_and_analysis: string;
4907
+ is_most_important_event: boolean;
4908
+ relevant_code_file: {
4909
+ file_path: string;
4910
+ repo_name: string;
4911
+ } | null;
4912
+ timeline_item_type: string;
4913
+ }, {
4914
+ title: string;
4915
+ code_snippet_and_analysis: string;
4916
+ is_most_important_event: boolean;
4917
+ relevant_code_file: {
4918
+ file_path: string;
4919
+ repo_name: string;
4920
+ } | null;
4921
+ timeline_item_type: string;
4922
+ }>, "many">;
4923
+ }, "strip", z.ZodTypeAny, {
4924
+ description: string;
4925
+ id: number;
4926
+ root_cause_reproduction: {
4927
+ title: string;
4928
+ code_snippet_and_analysis: string;
4929
+ is_most_important_event: boolean;
4930
+ relevant_code_file: {
4931
+ file_path: string;
4932
+ repo_name: string;
4933
+ } | null;
4934
+ timeline_item_type: string;
4935
+ }[];
4936
+ }, {
4937
+ description: string;
4938
+ id: number;
4939
+ root_cause_reproduction: {
4940
+ title: string;
4941
+ code_snippet_and_analysis: string;
4942
+ is_most_important_event: boolean;
4943
+ relevant_code_file: {
4944
+ file_path: string;
4945
+ repo_name: string;
4946
+ } | null;
4947
+ timeline_item_type: string;
4948
+ }[];
4949
+ }>, "many">;
4950
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
4951
+ key: z.ZodString;
4952
+ index: z.ZodNumber;
4953
+ status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
4954
+ title: z.ZodString;
4955
+ output_stream: z.ZodNullable<z.ZodString>;
4956
+ progress: z.ZodArray<z.ZodObject<{
4957
+ data: z.ZodNullable<z.ZodUnknown>;
4958
+ message: z.ZodString;
4959
+ timestamp: z.ZodString;
4960
+ type: z.ZodEnum<["INFO", "WARNING", "ERROR"]>;
4961
+ }, "strip", z.ZodTypeAny, {
4962
+ message: string;
4963
+ type: "INFO" | "WARNING" | "ERROR";
4964
+ timestamp: string;
4965
+ data?: unknown;
4966
+ }, {
4967
+ message: string;
4968
+ type: "INFO" | "WARNING" | "ERROR";
4969
+ timestamp: string;
4970
+ data?: unknown;
4971
+ }>, "many">;
4972
+ } & {
4973
+ type: z.ZodLiteral<"solution">;
4974
+ solution: z.ZodArray<z.ZodObject<{
4975
+ code_snippet_and_analysis: z.ZodNullable<z.ZodString>;
4976
+ is_active: z.ZodBoolean;
4977
+ is_most_important_event: z.ZodBoolean;
4978
+ relevant_code_file: z.ZodNull;
4979
+ timeline_item_type: z.ZodUnion<[z.ZodLiteral<"internal_code">, z.ZodLiteral<"repro_test">]>;
4980
+ title: z.ZodString;
4981
+ }, "strip", z.ZodTypeAny, {
4982
+ title: string;
4983
+ code_snippet_and_analysis: string | null;
4984
+ is_most_important_event: boolean;
4985
+ relevant_code_file: null;
4986
+ timeline_item_type: "internal_code" | "repro_test";
4987
+ is_active: boolean;
4988
+ }, {
4989
+ title: string;
4990
+ code_snippet_and_analysis: string | null;
4991
+ is_most_important_event: boolean;
4992
+ relevant_code_file: null;
4993
+ timeline_item_type: "internal_code" | "repro_test";
4994
+ is_active: boolean;
4995
+ }>, "many">;
4996
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4997
+ key: z.ZodString;
4998
+ index: z.ZodNumber;
4999
+ status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
5000
+ title: z.ZodString;
5001
+ output_stream: z.ZodNullable<z.ZodString>;
5002
+ progress: z.ZodArray<z.ZodObject<{
5003
+ data: z.ZodNullable<z.ZodUnknown>;
5004
+ message: z.ZodString;
5005
+ timestamp: z.ZodString;
5006
+ type: z.ZodEnum<["INFO", "WARNING", "ERROR"]>;
5007
+ }, "strip", z.ZodTypeAny, {
5008
+ message: string;
5009
+ type: "INFO" | "WARNING" | "ERROR";
5010
+ timestamp: string;
5011
+ data?: unknown;
5012
+ }, {
5013
+ message: string;
5014
+ type: "INFO" | "WARNING" | "ERROR";
5015
+ timestamp: string;
5016
+ data?: unknown;
5017
+ }>, "many">;
5018
+ } & {
5019
+ type: z.ZodLiteral<"solution">;
5020
+ solution: z.ZodArray<z.ZodObject<{
5021
+ code_snippet_and_analysis: z.ZodNullable<z.ZodString>;
5022
+ is_active: z.ZodBoolean;
5023
+ is_most_important_event: z.ZodBoolean;
5024
+ relevant_code_file: z.ZodNull;
5025
+ timeline_item_type: z.ZodUnion<[z.ZodLiteral<"internal_code">, z.ZodLiteral<"repro_test">]>;
5026
+ title: z.ZodString;
5027
+ }, "strip", z.ZodTypeAny, {
5028
+ title: string;
5029
+ code_snippet_and_analysis: string | null;
5030
+ is_most_important_event: boolean;
5031
+ relevant_code_file: null;
5032
+ timeline_item_type: "internal_code" | "repro_test";
5033
+ is_active: boolean;
5034
+ }, {
5035
+ title: string;
5036
+ code_snippet_and_analysis: string | null;
5037
+ is_most_important_event: boolean;
5038
+ relevant_code_file: null;
5039
+ timeline_item_type: "internal_code" | "repro_test";
5040
+ is_active: boolean;
5041
+ }>, "many">;
5042
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5043
+ key: z.ZodString;
5044
+ index: z.ZodNumber;
5045
+ status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
5046
+ title: z.ZodString;
5047
+ output_stream: z.ZodNullable<z.ZodString>;
5048
+ progress: z.ZodArray<z.ZodObject<{
5049
+ data: z.ZodNullable<z.ZodUnknown>;
5050
+ message: z.ZodString;
5051
+ timestamp: z.ZodString;
5052
+ type: z.ZodEnum<["INFO", "WARNING", "ERROR"]>;
5053
+ }, "strip", z.ZodTypeAny, {
5054
+ message: string;
5055
+ type: "INFO" | "WARNING" | "ERROR";
5056
+ timestamp: string;
5057
+ data?: unknown;
5058
+ }, {
5059
+ message: string;
5060
+ type: "INFO" | "WARNING" | "ERROR";
5061
+ timestamp: string;
5062
+ data?: unknown;
5063
+ }>, "many">;
5064
+ } & {
5065
+ type: z.ZodLiteral<"solution">;
5066
+ solution: z.ZodArray<z.ZodObject<{
5067
+ code_snippet_and_analysis: z.ZodNullable<z.ZodString>;
5068
+ is_active: z.ZodBoolean;
5069
+ is_most_important_event: z.ZodBoolean;
5070
+ relevant_code_file: z.ZodNull;
5071
+ timeline_item_type: z.ZodUnion<[z.ZodLiteral<"internal_code">, z.ZodLiteral<"repro_test">]>;
5072
+ title: z.ZodString;
5073
+ }, "strip", z.ZodTypeAny, {
5074
+ title: string;
5075
+ code_snippet_and_analysis: string | null;
5076
+ is_most_important_event: boolean;
5077
+ relevant_code_file: null;
5078
+ timeline_item_type: "internal_code" | "repro_test";
5079
+ is_active: boolean;
5080
+ }, {
5081
+ title: string;
5082
+ code_snippet_and_analysis: string | null;
5083
+ is_most_important_event: boolean;
5084
+ relevant_code_file: null;
5085
+ timeline_item_type: "internal_code" | "repro_test";
5086
+ is_active: boolean;
5087
+ }>, "many">;
5088
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
5089
+ type: z.ZodString;
5090
+ key: z.ZodString;
5091
+ index: z.ZodNumber;
5092
+ status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
5093
+ title: z.ZodString;
5094
+ output_stream: z.ZodNullable<z.ZodString>;
5095
+ progress: z.ZodArray<z.ZodObject<{
5096
+ data: z.ZodNullable<z.ZodUnknown>;
5097
+ message: z.ZodString;
5098
+ timestamp: z.ZodString;
5099
+ type: z.ZodEnum<["INFO", "WARNING", "ERROR"]>;
5100
+ }, "strip", z.ZodTypeAny, {
5101
+ message: string;
5102
+ type: "INFO" | "WARNING" | "ERROR";
5103
+ timestamp: string;
5104
+ data?: unknown;
5105
+ }, {
5106
+ message: string;
5107
+ type: "INFO" | "WARNING" | "ERROR";
5108
+ timestamp: string;
5109
+ data?: unknown;
5110
+ }>, "many">;
5111
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5112
+ type: z.ZodString;
5113
+ key: z.ZodString;
5114
+ index: z.ZodNumber;
5115
+ status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
5116
+ title: z.ZodString;
5117
+ output_stream: z.ZodNullable<z.ZodString>;
5118
+ progress: z.ZodArray<z.ZodObject<{
5119
+ data: z.ZodNullable<z.ZodUnknown>;
5120
+ message: z.ZodString;
5121
+ timestamp: z.ZodString;
5122
+ type: z.ZodEnum<["INFO", "WARNING", "ERROR"]>;
5123
+ }, "strip", z.ZodTypeAny, {
5124
+ message: string;
5125
+ type: "INFO" | "WARNING" | "ERROR";
5126
+ timestamp: string;
5127
+ data?: unknown;
5128
+ }, {
5129
+ message: string;
5130
+ type: "INFO" | "WARNING" | "ERROR";
5131
+ timestamp: string;
5132
+ data?: unknown;
5133
+ }>, "many">;
5134
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5135
+ type: z.ZodString;
5136
+ key: z.ZodString;
5137
+ index: z.ZodNumber;
5138
+ status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
5139
+ title: z.ZodString;
5140
+ output_stream: z.ZodNullable<z.ZodString>;
5141
+ progress: z.ZodArray<z.ZodObject<{
5142
+ data: z.ZodNullable<z.ZodUnknown>;
5143
+ message: z.ZodString;
5144
+ timestamp: z.ZodString;
5145
+ type: z.ZodEnum<["INFO", "WARNING", "ERROR"]>;
5146
+ }, "strip", z.ZodTypeAny, {
5147
+ message: string;
5148
+ type: "INFO" | "WARNING" | "ERROR";
5149
+ timestamp: string;
5150
+ data?: unknown;
5151
+ }, {
5152
+ message: string;
5153
+ type: "INFO" | "WARNING" | "ERROR";
5154
+ timestamp: string;
5155
+ data?: unknown;
5156
+ }>, "many">;
5157
+ }, z.ZodTypeAny, "passthrough">>]>, "many">;
5158
+ }, z.ZodTypeAny, "passthrough"> | null;
5159
+ }, {
5160
+ autofix: z.objectInputType<{
5161
+ run_id: z.ZodNumber;
5162
+ request: z.ZodUnknown;
5163
+ updated_at: z.ZodString;
5164
+ status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
5165
+ steps: z.ZodArray<z.ZodUnion<[z.ZodObject<{
5166
+ key: z.ZodString;
5167
+ index: z.ZodNumber;
5168
+ status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
5169
+ title: z.ZodString;
5170
+ output_stream: z.ZodNullable<z.ZodString>;
5171
+ progress: z.ZodArray<z.ZodObject<{
5172
+ data: z.ZodNullable<z.ZodUnknown>;
5173
+ message: z.ZodString;
5174
+ timestamp: z.ZodString;
5175
+ type: z.ZodEnum<["INFO", "WARNING", "ERROR"]>;
5176
+ }, "strip", z.ZodTypeAny, {
5177
+ message: string;
5178
+ type: "INFO" | "WARNING" | "ERROR";
5179
+ timestamp: string;
5180
+ data?: unknown;
5181
+ }, {
5182
+ message: string;
5183
+ type: "INFO" | "WARNING" | "ERROR";
5184
+ timestamp: string;
5185
+ data?: unknown;
5186
+ }>, "many">;
5187
+ } & {
5188
+ type: z.ZodLiteral<"default">;
5189
+ insights: z.ZodNullable<z.ZodArray<z.ZodObject<{
5190
+ change_diff: z.ZodNullable<z.ZodUnknown>;
5191
+ generated_at_memory_index: z.ZodNumber;
5192
+ insight: z.ZodString;
5193
+ justification: z.ZodString;
5194
+ type: z.ZodLiteral<"insight">;
5195
+ }, "strip", z.ZodTypeAny, {
5196
+ type: "insight";
5197
+ generated_at_memory_index: number;
5198
+ insight: string;
5199
+ justification: string;
5200
+ change_diff?: unknown;
5201
+ }, {
5202
+ type: "insight";
5203
+ generated_at_memory_index: number;
5204
+ insight: string;
5205
+ justification: string;
5206
+ change_diff?: unknown;
5207
+ }>, "many">>;
5208
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5209
+ key: z.ZodString;
5210
+ index: z.ZodNumber;
5211
+ status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
5212
+ title: z.ZodString;
5213
+ output_stream: z.ZodNullable<z.ZodString>;
5214
+ progress: z.ZodArray<z.ZodObject<{
5215
+ data: z.ZodNullable<z.ZodUnknown>;
5216
+ message: z.ZodString;
5217
+ timestamp: z.ZodString;
5218
+ type: z.ZodEnum<["INFO", "WARNING", "ERROR"]>;
5219
+ }, "strip", z.ZodTypeAny, {
5220
+ message: string;
5221
+ type: "INFO" | "WARNING" | "ERROR";
5222
+ timestamp: string;
5223
+ data?: unknown;
5224
+ }, {
5225
+ message: string;
5226
+ type: "INFO" | "WARNING" | "ERROR";
5227
+ timestamp: string;
5228
+ data?: unknown;
5229
+ }>, "many">;
5230
+ } & {
5231
+ type: z.ZodLiteral<"default">;
5232
+ insights: z.ZodNullable<z.ZodArray<z.ZodObject<{
5233
+ change_diff: z.ZodNullable<z.ZodUnknown>;
5234
+ generated_at_memory_index: z.ZodNumber;
5235
+ insight: z.ZodString;
5236
+ justification: z.ZodString;
5237
+ type: z.ZodLiteral<"insight">;
5238
+ }, "strip", z.ZodTypeAny, {
5239
+ type: "insight";
5240
+ generated_at_memory_index: number;
5241
+ insight: string;
5242
+ justification: string;
5243
+ change_diff?: unknown;
5244
+ }, {
5245
+ type: "insight";
5246
+ generated_at_memory_index: number;
5247
+ insight: string;
5248
+ justification: string;
5249
+ change_diff?: unknown;
5250
+ }>, "many">>;
5251
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5252
+ key: z.ZodString;
5253
+ index: z.ZodNumber;
5254
+ status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
5255
+ title: z.ZodString;
5256
+ output_stream: z.ZodNullable<z.ZodString>;
5257
+ progress: z.ZodArray<z.ZodObject<{
5258
+ data: z.ZodNullable<z.ZodUnknown>;
5259
+ message: z.ZodString;
5260
+ timestamp: z.ZodString;
5261
+ type: z.ZodEnum<["INFO", "WARNING", "ERROR"]>;
5262
+ }, "strip", z.ZodTypeAny, {
5263
+ message: string;
5264
+ type: "INFO" | "WARNING" | "ERROR";
5265
+ timestamp: string;
5266
+ data?: unknown;
5267
+ }, {
5268
+ message: string;
5269
+ type: "INFO" | "WARNING" | "ERROR";
5270
+ timestamp: string;
5271
+ data?: unknown;
5272
+ }>, "many">;
5273
+ } & {
5274
+ type: z.ZodLiteral<"default">;
5275
+ insights: z.ZodNullable<z.ZodArray<z.ZodObject<{
5276
+ change_diff: z.ZodNullable<z.ZodUnknown>;
5277
+ generated_at_memory_index: z.ZodNumber;
5278
+ insight: z.ZodString;
5279
+ justification: z.ZodString;
5280
+ type: z.ZodLiteral<"insight">;
5281
+ }, "strip", z.ZodTypeAny, {
5282
+ type: "insight";
5283
+ generated_at_memory_index: number;
5284
+ insight: string;
5285
+ justification: string;
5286
+ change_diff?: unknown;
5287
+ }, {
5288
+ type: "insight";
5289
+ generated_at_memory_index: number;
5290
+ insight: string;
5291
+ justification: string;
5292
+ change_diff?: unknown;
5293
+ }>, "many">>;
5294
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
5295
+ key: z.ZodString;
5296
+ index: z.ZodNumber;
5297
+ status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
5298
+ title: z.ZodString;
5299
+ output_stream: z.ZodNullable<z.ZodString>;
5300
+ progress: z.ZodArray<z.ZodObject<{
5301
+ data: z.ZodNullable<z.ZodUnknown>;
5302
+ message: z.ZodString;
5303
+ timestamp: z.ZodString;
5304
+ type: z.ZodEnum<["INFO", "WARNING", "ERROR"]>;
4745
5305
  }, "strip", z.ZodTypeAny, {
4746
5306
  message: string;
4747
5307
  type: "INFO" | "WARNING" | "ERROR";
4748
5308
  timestamp: string;
4749
5309
  data?: unknown;
4750
5310
  }, {
4751
- message: string;
4752
- type: "INFO" | "WARNING" | "ERROR";
4753
- timestamp: string;
4754
- data?: unknown;
5311
+ message: string;
5312
+ type: "INFO" | "WARNING" | "ERROR";
5313
+ timestamp: string;
5314
+ data?: unknown;
5315
+ }>, "many">;
5316
+ } & {
5317
+ type: z.ZodLiteral<"root_cause_analysis">;
5318
+ causes: z.ZodArray<z.ZodObject<{
5319
+ description: z.ZodString;
5320
+ id: z.ZodNumber;
5321
+ root_cause_reproduction: z.ZodArray<z.ZodObject<{
5322
+ code_snippet_and_analysis: z.ZodString;
5323
+ is_most_important_event: z.ZodBoolean;
5324
+ relevant_code_file: z.ZodNullable<z.ZodObject<{
5325
+ file_path: z.ZodString;
5326
+ repo_name: z.ZodString;
5327
+ }, "strip", z.ZodTypeAny, {
5328
+ file_path: string;
5329
+ repo_name: string;
5330
+ }, {
5331
+ file_path: string;
5332
+ repo_name: string;
5333
+ }>>;
5334
+ timeline_item_type: z.ZodString;
5335
+ title: z.ZodString;
5336
+ }, "strip", z.ZodTypeAny, {
5337
+ title: string;
5338
+ code_snippet_and_analysis: string;
5339
+ is_most_important_event: boolean;
5340
+ relevant_code_file: {
5341
+ file_path: string;
5342
+ repo_name: string;
5343
+ } | null;
5344
+ timeline_item_type: string;
5345
+ }, {
5346
+ title: string;
5347
+ code_snippet_and_analysis: string;
5348
+ is_most_important_event: boolean;
5349
+ relevant_code_file: {
5350
+ file_path: string;
5351
+ repo_name: string;
5352
+ } | null;
5353
+ timeline_item_type: string;
5354
+ }>, "many">;
5355
+ }, "strip", z.ZodTypeAny, {
5356
+ description: string;
5357
+ id: number;
5358
+ root_cause_reproduction: {
5359
+ title: string;
5360
+ code_snippet_and_analysis: string;
5361
+ is_most_important_event: boolean;
5362
+ relevant_code_file: {
5363
+ file_path: string;
5364
+ repo_name: string;
5365
+ } | null;
5366
+ timeline_item_type: string;
5367
+ }[];
5368
+ }, {
5369
+ description: string;
5370
+ id: number;
5371
+ root_cause_reproduction: {
5372
+ title: string;
5373
+ code_snippet_and_analysis: string;
5374
+ is_most_important_event: boolean;
5375
+ relevant_code_file: {
5376
+ file_path: string;
5377
+ repo_name: string;
5378
+ } | null;
5379
+ timeline_item_type: string;
5380
+ }[];
4755
5381
  }>, "many">;
4756
- }, z.ZodTypeAny, "passthrough">)[];
4757
- request?: unknown;
4758
- } & {
4759
- [k: string]: unknown;
4760
- };
4761
- }, {
4762
- autofix: {
4763
- status: "PENDING" | "PROCESSING" | "IN_PROGRESS" | "NEED_MORE_INFORMATION" | "COMPLETED" | "FAILED";
4764
- run_id: number;
4765
- updated_at: string;
4766
- steps: (z.objectInputType<{
5382
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4767
5383
  key: z.ZodString;
4768
5384
  index: z.ZodNumber;
4769
5385
  status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
@@ -4786,27 +5402,72 @@ declare const AutofixRunStateSchema: z.ZodObject<{
4786
5402
  data?: unknown;
4787
5403
  }>, "many">;
4788
5404
  } & {
4789
- type: z.ZodLiteral<"default">;
4790
- insights: z.ZodNullable<z.ZodArray<z.ZodObject<{
4791
- change_diff: z.ZodNullable<z.ZodUnknown>;
4792
- generated_at_memory_index: z.ZodNumber;
4793
- insight: z.ZodString;
4794
- justification: z.ZodString;
4795
- type: z.ZodLiteral<"insight">;
5405
+ type: z.ZodLiteral<"root_cause_analysis">;
5406
+ causes: z.ZodArray<z.ZodObject<{
5407
+ description: z.ZodString;
5408
+ id: z.ZodNumber;
5409
+ root_cause_reproduction: z.ZodArray<z.ZodObject<{
5410
+ code_snippet_and_analysis: z.ZodString;
5411
+ is_most_important_event: z.ZodBoolean;
5412
+ relevant_code_file: z.ZodNullable<z.ZodObject<{
5413
+ file_path: z.ZodString;
5414
+ repo_name: z.ZodString;
5415
+ }, "strip", z.ZodTypeAny, {
5416
+ file_path: string;
5417
+ repo_name: string;
5418
+ }, {
5419
+ file_path: string;
5420
+ repo_name: string;
5421
+ }>>;
5422
+ timeline_item_type: z.ZodString;
5423
+ title: z.ZodString;
5424
+ }, "strip", z.ZodTypeAny, {
5425
+ title: string;
5426
+ code_snippet_and_analysis: string;
5427
+ is_most_important_event: boolean;
5428
+ relevant_code_file: {
5429
+ file_path: string;
5430
+ repo_name: string;
5431
+ } | null;
5432
+ timeline_item_type: string;
5433
+ }, {
5434
+ title: string;
5435
+ code_snippet_and_analysis: string;
5436
+ is_most_important_event: boolean;
5437
+ relevant_code_file: {
5438
+ file_path: string;
5439
+ repo_name: string;
5440
+ } | null;
5441
+ timeline_item_type: string;
5442
+ }>, "many">;
4796
5443
  }, "strip", z.ZodTypeAny, {
4797
- type: "insight";
4798
- generated_at_memory_index: number;
4799
- insight: string;
4800
- justification: string;
4801
- change_diff?: unknown;
5444
+ description: string;
5445
+ id: number;
5446
+ root_cause_reproduction: {
5447
+ title: string;
5448
+ code_snippet_and_analysis: string;
5449
+ is_most_important_event: boolean;
5450
+ relevant_code_file: {
5451
+ file_path: string;
5452
+ repo_name: string;
5453
+ } | null;
5454
+ timeline_item_type: string;
5455
+ }[];
4802
5456
  }, {
4803
- type: "insight";
4804
- generated_at_memory_index: number;
4805
- insight: string;
4806
- justification: string;
4807
- change_diff?: unknown;
4808
- }>, "many">>;
4809
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
5457
+ description: string;
5458
+ id: number;
5459
+ root_cause_reproduction: {
5460
+ title: string;
5461
+ code_snippet_and_analysis: string;
5462
+ is_most_important_event: boolean;
5463
+ relevant_code_file: {
5464
+ file_path: string;
5465
+ repo_name: string;
5466
+ } | null;
5467
+ timeline_item_type: string;
5468
+ }[];
5469
+ }>, "many">;
5470
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4810
5471
  key: z.ZodString;
4811
5472
  index: z.ZodNumber;
4812
5473
  status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
@@ -4894,7 +5555,99 @@ declare const AutofixRunStateSchema: z.ZodObject<{
4894
5555
  timeline_item_type: string;
4895
5556
  }[];
4896
5557
  }>, "many">;
4897
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
5558
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
5559
+ key: z.ZodString;
5560
+ index: z.ZodNumber;
5561
+ status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
5562
+ title: z.ZodString;
5563
+ output_stream: z.ZodNullable<z.ZodString>;
5564
+ progress: z.ZodArray<z.ZodObject<{
5565
+ data: z.ZodNullable<z.ZodUnknown>;
5566
+ message: z.ZodString;
5567
+ timestamp: z.ZodString;
5568
+ type: z.ZodEnum<["INFO", "WARNING", "ERROR"]>;
5569
+ }, "strip", z.ZodTypeAny, {
5570
+ message: string;
5571
+ type: "INFO" | "WARNING" | "ERROR";
5572
+ timestamp: string;
5573
+ data?: unknown;
5574
+ }, {
5575
+ message: string;
5576
+ type: "INFO" | "WARNING" | "ERROR";
5577
+ timestamp: string;
5578
+ data?: unknown;
5579
+ }>, "many">;
5580
+ } & {
5581
+ type: z.ZodLiteral<"solution">;
5582
+ solution: z.ZodArray<z.ZodObject<{
5583
+ code_snippet_and_analysis: z.ZodNullable<z.ZodString>;
5584
+ is_active: z.ZodBoolean;
5585
+ is_most_important_event: z.ZodBoolean;
5586
+ relevant_code_file: z.ZodNull;
5587
+ timeline_item_type: z.ZodUnion<[z.ZodLiteral<"internal_code">, z.ZodLiteral<"repro_test">]>;
5588
+ title: z.ZodString;
5589
+ }, "strip", z.ZodTypeAny, {
5590
+ title: string;
5591
+ code_snippet_and_analysis: string | null;
5592
+ is_most_important_event: boolean;
5593
+ relevant_code_file: null;
5594
+ timeline_item_type: "internal_code" | "repro_test";
5595
+ is_active: boolean;
5596
+ }, {
5597
+ title: string;
5598
+ code_snippet_and_analysis: string | null;
5599
+ is_most_important_event: boolean;
5600
+ relevant_code_file: null;
5601
+ timeline_item_type: "internal_code" | "repro_test";
5602
+ is_active: boolean;
5603
+ }>, "many">;
5604
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5605
+ key: z.ZodString;
5606
+ index: z.ZodNumber;
5607
+ status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
5608
+ title: z.ZodString;
5609
+ output_stream: z.ZodNullable<z.ZodString>;
5610
+ progress: z.ZodArray<z.ZodObject<{
5611
+ data: z.ZodNullable<z.ZodUnknown>;
5612
+ message: z.ZodString;
5613
+ timestamp: z.ZodString;
5614
+ type: z.ZodEnum<["INFO", "WARNING", "ERROR"]>;
5615
+ }, "strip", z.ZodTypeAny, {
5616
+ message: string;
5617
+ type: "INFO" | "WARNING" | "ERROR";
5618
+ timestamp: string;
5619
+ data?: unknown;
5620
+ }, {
5621
+ message: string;
5622
+ type: "INFO" | "WARNING" | "ERROR";
5623
+ timestamp: string;
5624
+ data?: unknown;
5625
+ }>, "many">;
5626
+ } & {
5627
+ type: z.ZodLiteral<"solution">;
5628
+ solution: z.ZodArray<z.ZodObject<{
5629
+ code_snippet_and_analysis: z.ZodNullable<z.ZodString>;
5630
+ is_active: z.ZodBoolean;
5631
+ is_most_important_event: z.ZodBoolean;
5632
+ relevant_code_file: z.ZodNull;
5633
+ timeline_item_type: z.ZodUnion<[z.ZodLiteral<"internal_code">, z.ZodLiteral<"repro_test">]>;
5634
+ title: z.ZodString;
5635
+ }, "strip", z.ZodTypeAny, {
5636
+ title: string;
5637
+ code_snippet_and_analysis: string | null;
5638
+ is_most_important_event: boolean;
5639
+ relevant_code_file: null;
5640
+ timeline_item_type: "internal_code" | "repro_test";
5641
+ is_active: boolean;
5642
+ }, {
5643
+ title: string;
5644
+ code_snippet_and_analysis: string | null;
5645
+ is_most_important_event: boolean;
5646
+ relevant_code_file: null;
5647
+ timeline_item_type: "internal_code" | "repro_test";
5648
+ is_active: boolean;
5649
+ }>, "many">;
5650
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4898
5651
  key: z.ZodString;
4899
5652
  index: z.ZodNumber;
4900
5653
  status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
@@ -4940,7 +5693,7 @@ declare const AutofixRunStateSchema: z.ZodObject<{
4940
5693
  timeline_item_type: "internal_code" | "repro_test";
4941
5694
  is_active: boolean;
4942
5695
  }>, "many">;
4943
- }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
5696
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
4944
5697
  type: z.ZodString;
4945
5698
  key: z.ZodString;
4946
5699
  index: z.ZodNumber;
@@ -4963,13 +5716,56 @@ declare const AutofixRunStateSchema: z.ZodObject<{
4963
5716
  timestamp: string;
4964
5717
  data?: unknown;
4965
5718
  }>, "many">;
4966
- }, z.ZodTypeAny, "passthrough">)[];
4967
- request?: unknown;
4968
- } & {
4969
- [k: string]: unknown;
4970
- };
5719
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5720
+ type: z.ZodString;
5721
+ key: z.ZodString;
5722
+ index: z.ZodNumber;
5723
+ status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
5724
+ title: z.ZodString;
5725
+ output_stream: z.ZodNullable<z.ZodString>;
5726
+ progress: z.ZodArray<z.ZodObject<{
5727
+ data: z.ZodNullable<z.ZodUnknown>;
5728
+ message: z.ZodString;
5729
+ timestamp: z.ZodString;
5730
+ type: z.ZodEnum<["INFO", "WARNING", "ERROR"]>;
5731
+ }, "strip", z.ZodTypeAny, {
5732
+ message: string;
5733
+ type: "INFO" | "WARNING" | "ERROR";
5734
+ timestamp: string;
5735
+ data?: unknown;
5736
+ }, {
5737
+ message: string;
5738
+ type: "INFO" | "WARNING" | "ERROR";
5739
+ timestamp: string;
5740
+ data?: unknown;
5741
+ }>, "many">;
5742
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5743
+ type: z.ZodString;
5744
+ key: z.ZodString;
5745
+ index: z.ZodNumber;
5746
+ status: z.ZodEnum<["PENDING", "PROCESSING", "IN_PROGRESS", "NEED_MORE_INFORMATION", "COMPLETED", "FAILED"]>;
5747
+ title: z.ZodString;
5748
+ output_stream: z.ZodNullable<z.ZodString>;
5749
+ progress: z.ZodArray<z.ZodObject<{
5750
+ data: z.ZodNullable<z.ZodUnknown>;
5751
+ message: z.ZodString;
5752
+ timestamp: z.ZodString;
5753
+ type: z.ZodEnum<["INFO", "WARNING", "ERROR"]>;
5754
+ }, "strip", z.ZodTypeAny, {
5755
+ message: string;
5756
+ type: "INFO" | "WARNING" | "ERROR";
5757
+ timestamp: string;
5758
+ data?: unknown;
5759
+ }, {
5760
+ message: string;
5761
+ type: "INFO" | "WARNING" | "ERROR";
5762
+ timestamp: string;
5763
+ data?: unknown;
5764
+ }>, "many">;
5765
+ }, z.ZodTypeAny, "passthrough">>]>, "many">;
5766
+ }, z.ZodTypeAny, "passthrough"> | null;
4971
5767
  }>; //#endregion
4972
5768
 
4973
5769
  //# sourceMappingURL=schema.d.ts.map
4974
5770
  export { ApiErrorSchema as ApiErrorSchema$1, AutofixRunSchema as AutofixRunSchema$1, AutofixRunStateSchema as AutofixRunStateSchema$1, AutofixRunStepDefaultSchema as AutofixRunStepDefaultSchema$1, AutofixRunStepRootCauseAnalysisSchema as AutofixRunStepRootCauseAnalysisSchema$1, AutofixRunStepSchema as AutofixRunStepSchema$1, AutofixRunStepSolutionSchema as AutofixRunStepSolutionSchema$1, ClientKeyListSchema as ClientKeyListSchema$1, ClientKeySchema as ClientKeySchema$1, ErrorEntrySchema as ErrorEntrySchema$1, ErrorsSearchResponseSchema as ErrorsSearchResponseSchema$1, EventSchema as EventSchema$1, EventsResponseSchema as EventsResponseSchema$1, ExceptionInterface as ExceptionInterface$1, FrameInterface as FrameInterface$1, IssueListSchema as IssueListSchema$1, IssueSchema as IssueSchema$1, OrganizationListSchema as OrganizationListSchema$1, OrganizationSchema as OrganizationSchema$1, ProjectListSchema as ProjectListSchema$1, ProjectSchema as ProjectSchema$1, ReleaseListSchema as ReleaseListSchema$1, ReleaseSchema as ReleaseSchema$1, SpansSearchResponseSchema as SpansSearchResponseSchema$1, TagListSchema as TagListSchema$1, TagSchema as TagSchema$1, TeamListSchema as TeamListSchema$1, TeamSchema as TeamSchema$1 };
4975
- //# sourceMappingURL=schema.d-BJRk-qn4.d.ts.map
5771
+ //# sourceMappingURL=schema.d-CPAOqBrB.d.ts.map