@qawolf/api-contracts 0.68.0 → 0.69.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 (42) hide show
  1. package/dist/v1/agent/status.js +1 -1
  2. package/dist/v1/agent/status.js.map +1 -1
  3. package/dist/v1/index.d.ts +422 -0
  4. package/dist/v1/index.d.ts.map +1 -1
  5. package/dist/v1/index.js +2 -0
  6. package/dist/v1/index.js.map +1 -1
  7. package/dist/v1/investigation/finding.d.ts +51 -0
  8. package/dist/v1/investigation/finding.d.ts.map +1 -0
  9. package/dist/v1/investigation/finding.js +55 -0
  10. package/dist/v1/investigation/finding.js.map +1 -0
  11. package/dist/v1/investigation/findingInputFields.d.ts +14 -0
  12. package/dist/v1/investigation/findingInputFields.d.ts.map +1 -0
  13. package/dist/v1/investigation/findingInputFields.js +46 -0
  14. package/dist/v1/investigation/findingInputFields.js.map +1 -0
  15. package/dist/v1/investigation/get.d.ts +74 -0
  16. package/dist/v1/investigation/get.d.ts.map +1 -0
  17. package/dist/v1/investigation/get.js +30 -0
  18. package/dist/v1/investigation/get.js.map +1 -0
  19. package/dist/v1/investigation/index.d.ts +219 -0
  20. package/dist/v1/investigation/index.d.ts.map +1 -0
  21. package/dist/v1/investigation/index.js +7 -0
  22. package/dist/v1/investigation/index.js.map +1 -0
  23. package/dist/v1/investigation/recordFinding.d.ts +153 -0
  24. package/dist/v1/investigation/recordFinding.d.ts.map +1 -0
  25. package/dist/v1/investigation/recordFinding.js +112 -0
  26. package/dist/v1/investigation/recordFinding.js.map +1 -0
  27. package/dist/v1/mcpInputSchema.d.ts +6 -0
  28. package/dist/v1/mcpInputSchema.d.ts.map +1 -1
  29. package/dist/v1/mcpInputSchema.js +51 -20
  30. package/dist/v1/mcpInputSchema.js.map +1 -1
  31. package/dist/v1/mcpInputShape.d.ts +13 -0
  32. package/dist/v1/mcpInputShape.d.ts.map +1 -0
  33. package/dist/v1/mcpInputShape.js +31 -0
  34. package/dist/v1/mcpInputShape.js.map +1 -0
  35. package/dist/v1/mcpInputUnion.d.ts +3 -0
  36. package/dist/v1/mcpInputUnion.d.ts.map +1 -0
  37. package/dist/v1/mcpInputUnion.js +83 -0
  38. package/dist/v1/mcpInputUnion.js.map +1 -0
  39. package/dist/v1/mcpToolDescription.d.ts.map +1 -1
  40. package/dist/v1/mcpToolDescription.js +1 -0
  41. package/dist/v1/mcpToolDescription.js.map +1 -1
  42. package/package.json +1 -1
@@ -8,7 +8,7 @@ export const agentSessionStatuses = [
8
8
  ];
9
9
  export const agentSessionStatusSchema = z
10
10
  .enum(agentSessionStatuses)
11
- .describe('Where the work stands. "working" means the AI is still on it. "waiting-for-you" means it asked a question and cannot continue until agent.send answers it. "completed", "failed" and "cancelled" are settled and will not change.');
11
+ .describe('Where the work stands. "working" means the AI is still on it. "waiting-for-you" means it asked a question and cannot continue until agent.send answers it. "completed" means it finished what it was asked, and a new agent.send continues it. "failed" and "cancelled" are settled and will not change.');
12
12
  export const agentReplySchema = z.object({
13
13
  askedAt: z.iso
14
14
  .datetime()
@@ -1 +1 @@
1
- {"version":3,"file":"status.js","sourceRoot":"","sources":["../../../src/v1/agent/status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,SAAS;IACT,iBAAiB;IACjB,WAAW;IACX,QAAQ;IACR,WAAW;CACH,CAAC;AAEX,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC;KACtC,IAAI,CAAC,oBAAoB,CAAC;KAC1B,QAAQ,CACP,mOAAmO,CACpO,CAAC;AAEJ,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,OAAO,EAAE,CAAC,CAAC,GAAG;SACX,QAAQ,EAAE;SACV,QAAQ,CAAC,mDAAmD,CAAC;IAChE,OAAO,EAAE,CAAC;SACP,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CACP,4IAA4I,CAC7I;IACH,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mBAAmB,CAAC;CAC/C,CAAC,CAAC"}
1
+ {"version":3,"file":"status.js","sourceRoot":"","sources":["../../../src/v1/agent/status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,SAAS;IACT,iBAAiB;IACjB,WAAW;IACX,QAAQ;IACR,WAAW;CACH,CAAC;AAEX,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC;KACtC,IAAI,CAAC,oBAAoB,CAAC;KAC1B,QAAQ,CACP,0SAA0S,CAC3S,CAAC;AAEJ,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,OAAO,EAAE,CAAC,CAAC,GAAG;SACX,QAAQ,EAAE;SACV,QAAQ,CAAC,mDAAmD,CAAC;IAChE,OAAO,EAAE,CAAC;SACP,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CACP,4IAA4I,CAC7I;IACH,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mBAAmB,CAAC;CAC/C,CAAC,CAAC"}
@@ -973,6 +973,217 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
973
973
  }, z.core.$strip>;
974
974
  };
975
975
  };
976
+ investigation: {
977
+ get: {
978
+ readonly annotations: {
979
+ readonly destructiveHint: false;
980
+ readonly openWorldHint: false;
981
+ readonly readOnlyHint: true;
982
+ };
983
+ readonly description: string;
984
+ readonly input: z.ZodObject<{
985
+ runId: RunId;
986
+ }, z.core.$strip>;
987
+ readonly kind: "read";
988
+ readonly name: "investigation.get";
989
+ readonly output: z.ZodObject<{
990
+ findings: z.ZodArray<z.ZodObject<{
991
+ actual: z.ZodOptional<z.ZodString>;
992
+ commitHash: z.ZodOptional<z.ZodString>;
993
+ decidedBy: z.ZodOptional<z.ZodEnum<{
994
+ user: "user";
995
+ agent: "agent";
996
+ }>>;
997
+ disputeReason: z.ZodOptional<z.ZodString>;
998
+ expected: z.ZodOptional<z.ZodString>;
999
+ findingId: z.ZodString;
1000
+ flowIds: z.ZodArray<FlowId>;
1001
+ headline: z.ZodOptional<z.ZodString>;
1002
+ issueId: z.ZodOptional<IssueId>;
1003
+ kind: z.ZodString;
1004
+ matchReason: z.ZodOptional<z.ZodString>;
1005
+ priority: z.ZodOptional<z.ZodEnum<{
1006
+ unprioritized: "unprioritized";
1007
+ low: "low";
1008
+ medium: "medium";
1009
+ high: "high";
1010
+ urgent: "urgent";
1011
+ }>>;
1012
+ question: z.ZodOptional<z.ZodObject<{
1013
+ answers: z.ZodArray<z.ZodObject<{
1014
+ description: z.ZodOptional<z.ZodString>;
1015
+ title: z.ZodString;
1016
+ value: z.ZodString;
1017
+ }, z.core.$strip>>;
1018
+ text: z.ZodString;
1019
+ }, z.core.$strip>>;
1020
+ response: z.ZodOptional<z.ZodObject<{
1021
+ answer: z.ZodOptional<z.ZodString>;
1022
+ at: z.ZodISODateTime;
1023
+ reason: z.ZodOptional<z.ZodString>;
1024
+ type: z.ZodString;
1025
+ }, z.core.$strip>>;
1026
+ state: z.ZodString;
1027
+ steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
1028
+ subSessionIds: z.ZodArray<ChatSessionId>;
1029
+ summary: z.ZodOptional<z.ZodString>;
1030
+ updatedAt: z.ZodISODateTime;
1031
+ }, z.core.$strip>>;
1032
+ runId: RunId;
1033
+ sessionId: z.ZodOptional<ChatSessionId>;
1034
+ status: z.ZodEnum<{
1035
+ investigating: "investigating";
1036
+ finished: "finished";
1037
+ "not-investigated": "not-investigated";
1038
+ }>;
1039
+ url: z.ZodURL;
1040
+ }, z.core.$strip>;
1041
+ };
1042
+ recordFinding: {
1043
+ readonly annotations: {
1044
+ readonly destructiveHint: true;
1045
+ readonly openWorldHint: false;
1046
+ readonly readOnlyHint: false;
1047
+ };
1048
+ readonly description: string;
1049
+ readonly input: z.ZodDiscriminatedUnion<[z.ZodObject<{
1050
+ headline: z.ZodOptional<z.ZodString>;
1051
+ state: z.ZodLiteral<"investigating">;
1052
+ summary: z.ZodOptional<z.ZodString>;
1053
+ findingId: z.ZodString;
1054
+ flowIds: z.ZodArray<FlowId>;
1055
+ runId: RunId;
1056
+ sessionId: ChatSessionId;
1057
+ subSessionIds: z.ZodOptional<z.ZodArray<ChatSessionId>>;
1058
+ }, z.core.$strip>, z.ZodObject<{
1059
+ commitHash: z.ZodString;
1060
+ headline: z.ZodString;
1061
+ state: z.ZodLiteral<"fixed">;
1062
+ summary: z.ZodString;
1063
+ findingId: z.ZodString;
1064
+ flowIds: z.ZodArray<FlowId>;
1065
+ runId: RunId;
1066
+ sessionId: ChatSessionId;
1067
+ subSessionIds: z.ZodOptional<z.ZodArray<ChatSessionId>>;
1068
+ }, z.core.$strip>, z.ZodObject<{
1069
+ commitHash: z.ZodString;
1070
+ headline: z.ZodString;
1071
+ question: z.ZodOptional<z.ZodString>;
1072
+ state: z.ZodLiteral<"fix-proposed">;
1073
+ summary: z.ZodString;
1074
+ findingId: z.ZodString;
1075
+ flowIds: z.ZodArray<FlowId>;
1076
+ runId: RunId;
1077
+ sessionId: ChatSessionId;
1078
+ subSessionIds: z.ZodOptional<z.ZodArray<ChatSessionId>>;
1079
+ }, z.core.$strip>, z.ZodObject<{
1080
+ headline: z.ZodString;
1081
+ issueId: IssueId;
1082
+ matchReason: z.ZodOptional<z.ZodString>;
1083
+ state: z.ZodLiteral<"reported">;
1084
+ summary: z.ZodString;
1085
+ actual: z.ZodString;
1086
+ expected: z.ZodString;
1087
+ steps: z.ZodArray<z.ZodString>;
1088
+ findingId: z.ZodString;
1089
+ flowIds: z.ZodArray<FlowId>;
1090
+ runId: RunId;
1091
+ sessionId: ChatSessionId;
1092
+ subSessionIds: z.ZodOptional<z.ZodArray<ChatSessionId>>;
1093
+ }, z.core.$strip>, z.ZodObject<{
1094
+ headline: z.ZodString;
1095
+ issueId: z.ZodOptional<IssueId>;
1096
+ matchReason: z.ZodOptional<z.ZodString>;
1097
+ priority: z.ZodEnum<{
1098
+ unprioritized: "unprioritized";
1099
+ low: "low";
1100
+ medium: "medium";
1101
+ high: "high";
1102
+ urgent: "urgent";
1103
+ }>;
1104
+ question: z.ZodOptional<z.ZodString>;
1105
+ state: z.ZodLiteral<"report-proposed">;
1106
+ summary: z.ZodString;
1107
+ actual: z.ZodString;
1108
+ expected: z.ZodString;
1109
+ steps: z.ZodArray<z.ZodString>;
1110
+ findingId: z.ZodString;
1111
+ flowIds: z.ZodArray<FlowId>;
1112
+ runId: RunId;
1113
+ sessionId: ChatSessionId;
1114
+ subSessionIds: z.ZodOptional<z.ZodArray<ChatSessionId>>;
1115
+ }, z.core.$strip>, z.ZodObject<{
1116
+ headline: z.ZodString;
1117
+ state: z.ZodLiteral<"flake">;
1118
+ summary: z.ZodString;
1119
+ findingId: z.ZodString;
1120
+ flowIds: z.ZodArray<FlowId>;
1121
+ runId: RunId;
1122
+ sessionId: ChatSessionId;
1123
+ subSessionIds: z.ZodOptional<z.ZodArray<ChatSessionId>>;
1124
+ }, z.core.$strip>, z.ZodObject<{
1125
+ bugAnswer: z.ZodString;
1126
+ bugAnswerDescription: z.ZodOptional<z.ZodString>;
1127
+ headline: z.ZodString;
1128
+ maintenanceAnswer: z.ZodString;
1129
+ maintenanceAnswerDescription: z.ZodOptional<z.ZodString>;
1130
+ question: z.ZodString;
1131
+ state: z.ZodLiteral<"question">;
1132
+ summary: z.ZodString;
1133
+ findingId: z.ZodString;
1134
+ flowIds: z.ZodArray<FlowId>;
1135
+ runId: RunId;
1136
+ sessionId: ChatSessionId;
1137
+ subSessionIds: z.ZodOptional<z.ZodArray<ChatSessionId>>;
1138
+ }, z.core.$strip>], "state">;
1139
+ readonly kind: "write";
1140
+ readonly name: "investigation.recordFinding";
1141
+ readonly output: z.ZodObject<{
1142
+ finding: z.ZodObject<{
1143
+ actual: z.ZodOptional<z.ZodString>;
1144
+ commitHash: z.ZodOptional<z.ZodString>;
1145
+ decidedBy: z.ZodOptional<z.ZodEnum<{
1146
+ user: "user";
1147
+ agent: "agent";
1148
+ }>>;
1149
+ disputeReason: z.ZodOptional<z.ZodString>;
1150
+ expected: z.ZodOptional<z.ZodString>;
1151
+ findingId: z.ZodString;
1152
+ flowIds: z.ZodArray<FlowId>;
1153
+ headline: z.ZodOptional<z.ZodString>;
1154
+ issueId: z.ZodOptional<IssueId>;
1155
+ kind: z.ZodString;
1156
+ matchReason: z.ZodOptional<z.ZodString>;
1157
+ priority: z.ZodOptional<z.ZodEnum<{
1158
+ unprioritized: "unprioritized";
1159
+ low: "low";
1160
+ medium: "medium";
1161
+ high: "high";
1162
+ urgent: "urgent";
1163
+ }>>;
1164
+ question: z.ZodOptional<z.ZodObject<{
1165
+ answers: z.ZodArray<z.ZodObject<{
1166
+ description: z.ZodOptional<z.ZodString>;
1167
+ title: z.ZodString;
1168
+ value: z.ZodString;
1169
+ }, z.core.$strip>>;
1170
+ text: z.ZodString;
1171
+ }, z.core.$strip>>;
1172
+ response: z.ZodOptional<z.ZodObject<{
1173
+ answer: z.ZodOptional<z.ZodString>;
1174
+ at: z.ZodISODateTime;
1175
+ reason: z.ZodOptional<z.ZodString>;
1176
+ type: z.ZodString;
1177
+ }, z.core.$strip>>;
1178
+ state: z.ZodString;
1179
+ steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
1180
+ subSessionIds: z.ZodArray<ChatSessionId>;
1181
+ summary: z.ZodOptional<z.ZodString>;
1182
+ updatedAt: z.ZodISODateTime;
1183
+ }, z.core.$strip>;
1184
+ }, z.core.$strip>;
1185
+ };
1186
+ };
976
1187
  issue: {
977
1188
  addFlows: {
978
1189
  readonly annotations: {
@@ -4429,6 +4640,217 @@ export declare const publicContractsV1: {
4429
4640
  }, z.core.$strip>;
4430
4641
  };
4431
4642
  };
4643
+ investigation: {
4644
+ get: {
4645
+ readonly annotations: {
4646
+ readonly destructiveHint: false;
4647
+ readonly openWorldHint: false;
4648
+ readonly readOnlyHint: true;
4649
+ };
4650
+ readonly description: string;
4651
+ readonly input: z.ZodObject<{
4652
+ runId: PublicIdSchema;
4653
+ }, z.core.$strip>;
4654
+ readonly kind: "read";
4655
+ readonly name: "investigation.get";
4656
+ readonly output: z.ZodObject<{
4657
+ findings: z.ZodArray<z.ZodObject<{
4658
+ actual: z.ZodOptional<z.ZodString>;
4659
+ commitHash: z.ZodOptional<z.ZodString>;
4660
+ decidedBy: z.ZodOptional<z.ZodEnum<{
4661
+ user: "user";
4662
+ agent: "agent";
4663
+ }>>;
4664
+ disputeReason: z.ZodOptional<z.ZodString>;
4665
+ expected: z.ZodOptional<z.ZodString>;
4666
+ findingId: z.ZodString;
4667
+ flowIds: z.ZodArray<PublicIdSchema>;
4668
+ headline: z.ZodOptional<z.ZodString>;
4669
+ issueId: z.ZodOptional<PublicIdSchema>;
4670
+ kind: z.ZodString;
4671
+ matchReason: z.ZodOptional<z.ZodString>;
4672
+ priority: z.ZodOptional<z.ZodEnum<{
4673
+ unprioritized: "unprioritized";
4674
+ low: "low";
4675
+ medium: "medium";
4676
+ high: "high";
4677
+ urgent: "urgent";
4678
+ }>>;
4679
+ question: z.ZodOptional<z.ZodObject<{
4680
+ answers: z.ZodArray<z.ZodObject<{
4681
+ description: z.ZodOptional<z.ZodString>;
4682
+ title: z.ZodString;
4683
+ value: z.ZodString;
4684
+ }, z.core.$strip>>;
4685
+ text: z.ZodString;
4686
+ }, z.core.$strip>>;
4687
+ response: z.ZodOptional<z.ZodObject<{
4688
+ answer: z.ZodOptional<z.ZodString>;
4689
+ at: z.ZodISODateTime;
4690
+ reason: z.ZodOptional<z.ZodString>;
4691
+ type: z.ZodString;
4692
+ }, z.core.$strip>>;
4693
+ state: z.ZodString;
4694
+ steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
4695
+ subSessionIds: z.ZodArray<PublicIdSchema>;
4696
+ summary: z.ZodOptional<z.ZodString>;
4697
+ updatedAt: z.ZodISODateTime;
4698
+ }, z.core.$strip>>;
4699
+ runId: PublicIdSchema;
4700
+ sessionId: z.ZodOptional<PublicIdSchema>;
4701
+ status: z.ZodEnum<{
4702
+ investigating: "investigating";
4703
+ finished: "finished";
4704
+ "not-investigated": "not-investigated";
4705
+ }>;
4706
+ url: z.ZodURL;
4707
+ }, z.core.$strip>;
4708
+ };
4709
+ recordFinding: {
4710
+ readonly annotations: {
4711
+ readonly destructiveHint: true;
4712
+ readonly openWorldHint: false;
4713
+ readonly readOnlyHint: false;
4714
+ };
4715
+ readonly description: string;
4716
+ readonly input: z.ZodDiscriminatedUnion<[z.ZodObject<{
4717
+ headline: z.ZodOptional<z.ZodString>;
4718
+ state: z.ZodLiteral<"investigating">;
4719
+ summary: z.ZodOptional<z.ZodString>;
4720
+ findingId: z.ZodString;
4721
+ flowIds: z.ZodArray<PublicIdSchema>;
4722
+ runId: PublicIdSchema;
4723
+ sessionId: PublicIdSchema;
4724
+ subSessionIds: z.ZodOptional<z.ZodArray<PublicIdSchema>>;
4725
+ }, z.core.$strip>, z.ZodObject<{
4726
+ commitHash: z.ZodString;
4727
+ headline: z.ZodString;
4728
+ state: z.ZodLiteral<"fixed">;
4729
+ summary: z.ZodString;
4730
+ findingId: z.ZodString;
4731
+ flowIds: z.ZodArray<PublicIdSchema>;
4732
+ runId: PublicIdSchema;
4733
+ sessionId: PublicIdSchema;
4734
+ subSessionIds: z.ZodOptional<z.ZodArray<PublicIdSchema>>;
4735
+ }, z.core.$strip>, z.ZodObject<{
4736
+ commitHash: z.ZodString;
4737
+ headline: z.ZodString;
4738
+ question: z.ZodOptional<z.ZodString>;
4739
+ state: z.ZodLiteral<"fix-proposed">;
4740
+ summary: z.ZodString;
4741
+ findingId: z.ZodString;
4742
+ flowIds: z.ZodArray<PublicIdSchema>;
4743
+ runId: PublicIdSchema;
4744
+ sessionId: PublicIdSchema;
4745
+ subSessionIds: z.ZodOptional<z.ZodArray<PublicIdSchema>>;
4746
+ }, z.core.$strip>, z.ZodObject<{
4747
+ headline: z.ZodString;
4748
+ issueId: PublicIdSchema;
4749
+ matchReason: z.ZodOptional<z.ZodString>;
4750
+ state: z.ZodLiteral<"reported">;
4751
+ summary: z.ZodString;
4752
+ actual: z.ZodString;
4753
+ expected: z.ZodString;
4754
+ steps: z.ZodArray<z.ZodString>;
4755
+ findingId: z.ZodString;
4756
+ flowIds: z.ZodArray<PublicIdSchema>;
4757
+ runId: PublicIdSchema;
4758
+ sessionId: PublicIdSchema;
4759
+ subSessionIds: z.ZodOptional<z.ZodArray<PublicIdSchema>>;
4760
+ }, z.core.$strip>, z.ZodObject<{
4761
+ headline: z.ZodString;
4762
+ issueId: z.ZodOptional<PublicIdSchema>;
4763
+ matchReason: z.ZodOptional<z.ZodString>;
4764
+ priority: z.ZodEnum<{
4765
+ unprioritized: "unprioritized";
4766
+ low: "low";
4767
+ medium: "medium";
4768
+ high: "high";
4769
+ urgent: "urgent";
4770
+ }>;
4771
+ question: z.ZodOptional<z.ZodString>;
4772
+ state: z.ZodLiteral<"report-proposed">;
4773
+ summary: z.ZodString;
4774
+ actual: z.ZodString;
4775
+ expected: z.ZodString;
4776
+ steps: z.ZodArray<z.ZodString>;
4777
+ findingId: z.ZodString;
4778
+ flowIds: z.ZodArray<PublicIdSchema>;
4779
+ runId: PublicIdSchema;
4780
+ sessionId: PublicIdSchema;
4781
+ subSessionIds: z.ZodOptional<z.ZodArray<PublicIdSchema>>;
4782
+ }, z.core.$strip>, z.ZodObject<{
4783
+ headline: z.ZodString;
4784
+ state: z.ZodLiteral<"flake">;
4785
+ summary: z.ZodString;
4786
+ findingId: z.ZodString;
4787
+ flowIds: z.ZodArray<PublicIdSchema>;
4788
+ runId: PublicIdSchema;
4789
+ sessionId: PublicIdSchema;
4790
+ subSessionIds: z.ZodOptional<z.ZodArray<PublicIdSchema>>;
4791
+ }, z.core.$strip>, z.ZodObject<{
4792
+ bugAnswer: z.ZodString;
4793
+ bugAnswerDescription: z.ZodOptional<z.ZodString>;
4794
+ headline: z.ZodString;
4795
+ maintenanceAnswer: z.ZodString;
4796
+ maintenanceAnswerDescription: z.ZodOptional<z.ZodString>;
4797
+ question: z.ZodString;
4798
+ state: z.ZodLiteral<"question">;
4799
+ summary: z.ZodString;
4800
+ findingId: z.ZodString;
4801
+ flowIds: z.ZodArray<PublicIdSchema>;
4802
+ runId: PublicIdSchema;
4803
+ sessionId: PublicIdSchema;
4804
+ subSessionIds: z.ZodOptional<z.ZodArray<PublicIdSchema>>;
4805
+ }, z.core.$strip>], "state">;
4806
+ readonly kind: "write";
4807
+ readonly name: "investigation.recordFinding";
4808
+ readonly output: z.ZodObject<{
4809
+ finding: z.ZodObject<{
4810
+ actual: z.ZodOptional<z.ZodString>;
4811
+ commitHash: z.ZodOptional<z.ZodString>;
4812
+ decidedBy: z.ZodOptional<z.ZodEnum<{
4813
+ user: "user";
4814
+ agent: "agent";
4815
+ }>>;
4816
+ disputeReason: z.ZodOptional<z.ZodString>;
4817
+ expected: z.ZodOptional<z.ZodString>;
4818
+ findingId: z.ZodString;
4819
+ flowIds: z.ZodArray<PublicIdSchema>;
4820
+ headline: z.ZodOptional<z.ZodString>;
4821
+ issueId: z.ZodOptional<PublicIdSchema>;
4822
+ kind: z.ZodString;
4823
+ matchReason: z.ZodOptional<z.ZodString>;
4824
+ priority: z.ZodOptional<z.ZodEnum<{
4825
+ unprioritized: "unprioritized";
4826
+ low: "low";
4827
+ medium: "medium";
4828
+ high: "high";
4829
+ urgent: "urgent";
4830
+ }>>;
4831
+ question: z.ZodOptional<z.ZodObject<{
4832
+ answers: z.ZodArray<z.ZodObject<{
4833
+ description: z.ZodOptional<z.ZodString>;
4834
+ title: z.ZodString;
4835
+ value: z.ZodString;
4836
+ }, z.core.$strip>>;
4837
+ text: z.ZodString;
4838
+ }, z.core.$strip>>;
4839
+ response: z.ZodOptional<z.ZodObject<{
4840
+ answer: z.ZodOptional<z.ZodString>;
4841
+ at: z.ZodISODateTime;
4842
+ reason: z.ZodOptional<z.ZodString>;
4843
+ type: z.ZodString;
4844
+ }, z.core.$strip>>;
4845
+ state: z.ZodString;
4846
+ steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
4847
+ subSessionIds: z.ZodArray<PublicIdSchema>;
4848
+ summary: z.ZodOptional<z.ZodString>;
4849
+ updatedAt: z.ZodISODateTime;
4850
+ }, z.core.$strip>;
4851
+ }, z.core.$strip>;
4852
+ };
4853
+ };
4432
4854
  issue: {
4433
4855
  addFlows: {
4434
4856
  readonly annotations: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/v1/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,cAAc,oBAAoB,CAAC;AAMnC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAuB5D,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,iBAAiB,EAEvB,MAAM,UAAU,CAAC;AAoBlB,MAAM,MAAM,cAAc,CAAC,GAAG,SAAS,oBAAoB,IAAI,CAAC,CAAC,KAAK,CACpE,GAAG,CAAC,OAAO,CAAC,CACb,CAAC;AAEF,MAAM,MAAM,eAAe,CAAC,GAAG,SAAS,oBAAoB,IAAI,CAAC,CAAC,KAAK,CACrE,GAAG,CAAC,QAAQ,CAAC,CACd,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,GAC1B,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,OAAO,SAAS,cAAc,GAAG,cAAc,EAC/C,WAAW,SAAS,cAAc,GAAG,cAAc,EACnD,QAAQ,SAAS,cAAc,GAAG,cAAc,EAChD,aAAa,SAAS,cAAc,GAAG,cAAc,EACrD,SAAS,SAAS,cAAc,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;;;CAAoC,CAAC"}
package/dist/v1/index.js CHANGED
@@ -22,6 +22,7 @@ import { makeListFlowsContract } from "./flow/index.js";
22
22
  import { makeRemoveTagFromFlowsContract } from "./flow/removeTag.js";
23
23
  import { makeUpdateFlowContract } from "./flow/update.js";
24
24
  import { defaultIdSchemas, } from "./ids.js";
25
+ import { makeInvestigationContracts } from "./investigation/index.js";
25
26
  import { makeAddFlowsToIssueContract } from "./issue/addFlows.js";
26
27
  import { makeCreateIssueContract } from "./issue/create.js";
27
28
  import { makeFindIssuesContract, makeGetIssueContract } from "./issue/index.js";
@@ -84,6 +85,7 @@ export const makeContractsV1 = (ids) => {
84
85
  removeTag: makeRemoveTagFromFlowsContract(resolvedIds),
85
86
  update: makeUpdateFlowContract(resolvedIds),
86
87
  },
88
+ investigation: makeInvestigationContracts(resolvedIds),
87
89
  issue: {
88
90
  addFlows: makeAddFlowsToIssueContract(resolvedIds),
89
91
  create: makeCreateIssueContract(resolvedIds),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/v1/index.ts"],"names":[],"mappings":"AAEA,cAAc,oBAAoB,CAAC;AAEnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,oCAAoC,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAC;AAEjG,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,8BAA8B,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,EAAE,8BAA8B,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,EAAE,gCAAgC,EAAE,MAAM,4BAA4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,GAAG,EAAE;YACH,MAAM,EAAE,qBAAqB,CAAC,WAAW,CAAC;YAC1C,IAAI,EAAE,oBAAoB,CAAC,WAAW,CAAC;SACxC;QACD,OAAO,EAAE,oBAAoB,CAAC,WAAW,CAAC;KAC3C,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,eAAe,CAAC,gBAAgB,CAAC,CAAC"}
@@ -0,0 +1,51 @@
1
+ import { z } from "zod";
2
+ import type { PublicIdSchema } from "../ids.js";
3
+ export declare const investigationFindingStateDescription = "What the investigation concluded about the cause. Known values: \"investigating\", \"fixed\", \"fix-proposed\", \"reported\", \"report-proposed\", \"flake\", \"question\" and \"dismissed\". New values can appear.";
4
+ export declare const makeInvestigationFindingSchema: <ChatSessionId extends PublicIdSchema, FlowId extends PublicIdSchema, IssueId extends PublicIdSchema>(ids: {
5
+ [key: string]: unknown;
6
+ chatSession: ChatSessionId;
7
+ flow: FlowId;
8
+ issue: IssueId;
9
+ }) => z.ZodObject<{
10
+ actual: z.ZodOptional<z.ZodString>;
11
+ commitHash: z.ZodOptional<z.ZodString>;
12
+ decidedBy: z.ZodOptional<z.ZodEnum<{
13
+ user: "user";
14
+ agent: "agent";
15
+ }>>;
16
+ disputeReason: z.ZodOptional<z.ZodString>;
17
+ expected: z.ZodOptional<z.ZodString>;
18
+ findingId: z.ZodString;
19
+ flowIds: z.ZodArray<FlowId>;
20
+ headline: z.ZodOptional<z.ZodString>;
21
+ issueId: z.ZodOptional<IssueId>;
22
+ kind: z.ZodString;
23
+ matchReason: z.ZodOptional<z.ZodString>;
24
+ priority: z.ZodOptional<z.ZodEnum<{
25
+ unprioritized: "unprioritized";
26
+ low: "low";
27
+ medium: "medium";
28
+ high: "high";
29
+ urgent: "urgent";
30
+ }>>;
31
+ question: z.ZodOptional<z.ZodObject<{
32
+ answers: z.ZodArray<z.ZodObject<{
33
+ description: z.ZodOptional<z.ZodString>;
34
+ title: z.ZodString;
35
+ value: z.ZodString;
36
+ }, z.core.$strip>>;
37
+ text: z.ZodString;
38
+ }, z.core.$strip>>;
39
+ response: z.ZodOptional<z.ZodObject<{
40
+ answer: z.ZodOptional<z.ZodString>;
41
+ at: z.ZodISODateTime;
42
+ reason: z.ZodOptional<z.ZodString>;
43
+ type: z.ZodString;
44
+ }, z.core.$strip>>;
45
+ state: z.ZodString;
46
+ steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
47
+ subSessionIds: z.ZodArray<ChatSessionId>;
48
+ summary: z.ZodOptional<z.ZodString>;
49
+ updatedAt: z.ZodISODateTime;
50
+ }, z.core.$strip>;
51
+ //# sourceMappingURL=finding.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"finding.d.ts","sourceRoot":"","sources":["../../../src/v1/investigation/finding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,oCAAoC,yNACuJ,CAAC;AAEzM,eAAO,MAAM,8BAA8B,GACzC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,OAAO,SAAS,cAAc,EAC9B,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;CAChB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiEG,CAAC"}
@@ -0,0 +1,55 @@
1
+ import { z } from "zod";
2
+ import { issuePrioritySchema } from "../issue/index.js";
3
+ export const investigationFindingStateDescription = 'What the investigation concluded about the cause. Known values: "investigating", "fixed", "fix-proposed", "reported", "report-proposed", "flake", "question" and "dismissed". New values can appear.';
4
+ export const makeInvestigationFindingSchema = (ids) => z.object({
5
+ actual: z.string().optional(),
6
+ commitHash: z.string().optional(),
7
+ decidedBy: z
8
+ .enum(["agent", "user"])
9
+ .optional()
10
+ .describe("Who decided: the AI on its own, or a person who approved or dismissed it. Absent until someone decides."),
11
+ disputeReason: z
12
+ .string()
13
+ .optional()
14
+ .describe("Why a person disputed what the AI did. Present on a proposal the AI made again after that dispute."),
15
+ expected: z.string().optional(),
16
+ findingId: z.string(),
17
+ flowIds: z.array(ids.flow),
18
+ headline: z.string().optional(),
19
+ issueId: ids.issue.optional(),
20
+ kind: z
21
+ .string()
22
+ .describe('What the failure is. Known values: "maintenance", "bug", "flake" and "unknown". New values can appear.'),
23
+ matchReason: z.string().optional(),
24
+ priority: issuePrioritySchema.optional(),
25
+ question: z
26
+ .object({
27
+ answers: z.array(z.object({
28
+ description: z.string().optional(),
29
+ title: z.string(),
30
+ value: z
31
+ .string()
32
+ .describe('What choosing this answer means. Known values: "apply", "dismiss", "report", "maintenance" and "bug". New values can appear.'),
33
+ })),
34
+ text: z.string(),
35
+ })
36
+ .optional()
37
+ .describe("The question waiting for a person, with the answers offered."),
38
+ response: z
39
+ .object({
40
+ answer: z.string().optional(),
41
+ at: z.iso.datetime(),
42
+ reason: z.string().optional(),
43
+ type: z
44
+ .string()
45
+ .describe('Known values: "answer" and "dispute". New values can appear.'),
46
+ })
47
+ .optional()
48
+ .describe("A person's answer or dispute that the investigation hasn't acted on yet."),
49
+ state: z.string().describe(investigationFindingStateDescription),
50
+ steps: z.array(z.string()).optional(),
51
+ subSessionIds: z.array(ids.chatSession),
52
+ summary: z.string().optional(),
53
+ updatedAt: z.iso.datetime(),
54
+ });
55
+ //# sourceMappingURL=finding.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"finding.js","sourceRoot":"","sources":["../../../src/v1/investigation/finding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,CAAC,MAAM,oCAAoC,GAC/C,sMAAsM,CAAC;A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