@qawolf/api-contracts 0.69.0 → 0.70.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/v1/index.d.ts +0 -288
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/investigation/index.d.ts +0 -144
- package/dist/v1/investigation/index.d.ts.map +1 -1
- package/dist/v1/investigation/index.js +0 -2
- package/dist/v1/investigation/index.js.map +1 -1
- package/dist/v1/mcpToolDescription.d.ts.map +1 -1
- package/dist/v1/mcpToolDescription.js +0 -1
- package/dist/v1/mcpToolDescription.js.map +1 -1
- package/package.json +1 -1
- package/dist/v1/investigation/findingInputFields.d.ts +0 -14
- package/dist/v1/investigation/findingInputFields.d.ts.map +0 -1
- package/dist/v1/investigation/findingInputFields.js +0 -46
- package/dist/v1/investigation/findingInputFields.js.map +0 -1
- package/dist/v1/investigation/recordFinding.d.ts +0 -153
- package/dist/v1/investigation/recordFinding.d.ts.map +0 -1
- package/dist/v1/investigation/recordFinding.js +0 -112
- package/dist/v1/investigation/recordFinding.js.map +0 -1
package/dist/v1/index.d.ts
CHANGED
|
@@ -1039,150 +1039,6 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1039
1039
|
url: z.ZodURL;
|
|
1040
1040
|
}, z.core.$strip>;
|
|
1041
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
1042
|
};
|
|
1187
1043
|
issue: {
|
|
1188
1044
|
addFlows: {
|
|
@@ -4706,150 +4562,6 @@ export declare const publicContractsV1: {
|
|
|
4706
4562
|
url: z.ZodURL;
|
|
4707
4563
|
}, z.core.$strip>;
|
|
4708
4564
|
};
|
|
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
4565
|
};
|
|
4854
4566
|
issue: {
|
|
4855
4567
|
addFlows: {
|
package/dist/v1/index.d.ts.map
CHANGED
|
@@ -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;AAqBlB,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;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoC,CAAC"}
|
|
@@ -71,149 +71,5 @@ export declare const makeInvestigationContracts: <ChatSessionId extends PublicId
|
|
|
71
71
|
url: import("zod").ZodURL;
|
|
72
72
|
}, import("zod/v4/core").$strip>;
|
|
73
73
|
};
|
|
74
|
-
recordFinding: {
|
|
75
|
-
readonly annotations: {
|
|
76
|
-
readonly destructiveHint: true;
|
|
77
|
-
readonly openWorldHint: false;
|
|
78
|
-
readonly readOnlyHint: false;
|
|
79
|
-
};
|
|
80
|
-
readonly description: string;
|
|
81
|
-
readonly input: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
82
|
-
headline: import("zod").ZodOptional<import("zod").ZodString>;
|
|
83
|
-
state: import("zod").ZodLiteral<"investigating">;
|
|
84
|
-
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
85
|
-
findingId: import("zod").ZodString;
|
|
86
|
-
flowIds: import("zod").ZodArray<FlowId>;
|
|
87
|
-
runId: RunId;
|
|
88
|
-
sessionId: ChatSessionId;
|
|
89
|
-
subSessionIds: import("zod").ZodOptional<import("zod").ZodArray<ChatSessionId>>;
|
|
90
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
91
|
-
commitHash: import("zod").ZodString;
|
|
92
|
-
headline: import("zod").ZodString;
|
|
93
|
-
state: import("zod").ZodLiteral<"fixed">;
|
|
94
|
-
summary: import("zod").ZodString;
|
|
95
|
-
findingId: import("zod").ZodString;
|
|
96
|
-
flowIds: import("zod").ZodArray<FlowId>;
|
|
97
|
-
runId: RunId;
|
|
98
|
-
sessionId: ChatSessionId;
|
|
99
|
-
subSessionIds: import("zod").ZodOptional<import("zod").ZodArray<ChatSessionId>>;
|
|
100
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
101
|
-
commitHash: import("zod").ZodString;
|
|
102
|
-
headline: import("zod").ZodString;
|
|
103
|
-
question: import("zod").ZodOptional<import("zod").ZodString>;
|
|
104
|
-
state: import("zod").ZodLiteral<"fix-proposed">;
|
|
105
|
-
summary: import("zod").ZodString;
|
|
106
|
-
findingId: import("zod").ZodString;
|
|
107
|
-
flowIds: import("zod").ZodArray<FlowId>;
|
|
108
|
-
runId: RunId;
|
|
109
|
-
sessionId: ChatSessionId;
|
|
110
|
-
subSessionIds: import("zod").ZodOptional<import("zod").ZodArray<ChatSessionId>>;
|
|
111
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
112
|
-
headline: import("zod").ZodString;
|
|
113
|
-
issueId: IssueId;
|
|
114
|
-
matchReason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
115
|
-
state: import("zod").ZodLiteral<"reported">;
|
|
116
|
-
summary: import("zod").ZodString;
|
|
117
|
-
actual: import("zod").ZodString;
|
|
118
|
-
expected: import("zod").ZodString;
|
|
119
|
-
steps: import("zod").ZodArray<import("zod").ZodString>;
|
|
120
|
-
findingId: import("zod").ZodString;
|
|
121
|
-
flowIds: import("zod").ZodArray<FlowId>;
|
|
122
|
-
runId: RunId;
|
|
123
|
-
sessionId: ChatSessionId;
|
|
124
|
-
subSessionIds: import("zod").ZodOptional<import("zod").ZodArray<ChatSessionId>>;
|
|
125
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
126
|
-
headline: import("zod").ZodString;
|
|
127
|
-
issueId: import("zod").ZodOptional<IssueId>;
|
|
128
|
-
matchReason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
129
|
-
priority: import("zod").ZodEnum<{
|
|
130
|
-
unprioritized: "unprioritized";
|
|
131
|
-
low: "low";
|
|
132
|
-
medium: "medium";
|
|
133
|
-
high: "high";
|
|
134
|
-
urgent: "urgent";
|
|
135
|
-
}>;
|
|
136
|
-
question: import("zod").ZodOptional<import("zod").ZodString>;
|
|
137
|
-
state: import("zod").ZodLiteral<"report-proposed">;
|
|
138
|
-
summary: import("zod").ZodString;
|
|
139
|
-
actual: import("zod").ZodString;
|
|
140
|
-
expected: import("zod").ZodString;
|
|
141
|
-
steps: import("zod").ZodArray<import("zod").ZodString>;
|
|
142
|
-
findingId: import("zod").ZodString;
|
|
143
|
-
flowIds: import("zod").ZodArray<FlowId>;
|
|
144
|
-
runId: RunId;
|
|
145
|
-
sessionId: ChatSessionId;
|
|
146
|
-
subSessionIds: import("zod").ZodOptional<import("zod").ZodArray<ChatSessionId>>;
|
|
147
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
148
|
-
headline: import("zod").ZodString;
|
|
149
|
-
state: import("zod").ZodLiteral<"flake">;
|
|
150
|
-
summary: import("zod").ZodString;
|
|
151
|
-
findingId: import("zod").ZodString;
|
|
152
|
-
flowIds: import("zod").ZodArray<FlowId>;
|
|
153
|
-
runId: RunId;
|
|
154
|
-
sessionId: ChatSessionId;
|
|
155
|
-
subSessionIds: import("zod").ZodOptional<import("zod").ZodArray<ChatSessionId>>;
|
|
156
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
157
|
-
bugAnswer: import("zod").ZodString;
|
|
158
|
-
bugAnswerDescription: import("zod").ZodOptional<import("zod").ZodString>;
|
|
159
|
-
headline: import("zod").ZodString;
|
|
160
|
-
maintenanceAnswer: import("zod").ZodString;
|
|
161
|
-
maintenanceAnswerDescription: import("zod").ZodOptional<import("zod").ZodString>;
|
|
162
|
-
question: import("zod").ZodString;
|
|
163
|
-
state: import("zod").ZodLiteral<"question">;
|
|
164
|
-
summary: import("zod").ZodString;
|
|
165
|
-
findingId: import("zod").ZodString;
|
|
166
|
-
flowIds: import("zod").ZodArray<FlowId>;
|
|
167
|
-
runId: RunId;
|
|
168
|
-
sessionId: ChatSessionId;
|
|
169
|
-
subSessionIds: import("zod").ZodOptional<import("zod").ZodArray<ChatSessionId>>;
|
|
170
|
-
}, import("zod/v4/core").$strip>], "state">;
|
|
171
|
-
readonly kind: "write";
|
|
172
|
-
readonly name: "investigation.recordFinding";
|
|
173
|
-
readonly output: import("zod").ZodObject<{
|
|
174
|
-
finding: import("zod").ZodObject<{
|
|
175
|
-
actual: import("zod").ZodOptional<import("zod").ZodString>;
|
|
176
|
-
commitHash: import("zod").ZodOptional<import("zod").ZodString>;
|
|
177
|
-
decidedBy: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
178
|
-
user: "user";
|
|
179
|
-
agent: "agent";
|
|
180
|
-
}>>;
|
|
181
|
-
disputeReason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
182
|
-
expected: import("zod").ZodOptional<import("zod").ZodString>;
|
|
183
|
-
findingId: import("zod").ZodString;
|
|
184
|
-
flowIds: import("zod").ZodArray<FlowId>;
|
|
185
|
-
headline: import("zod").ZodOptional<import("zod").ZodString>;
|
|
186
|
-
issueId: import("zod").ZodOptional<IssueId>;
|
|
187
|
-
kind: import("zod").ZodString;
|
|
188
|
-
matchReason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
189
|
-
priority: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
190
|
-
unprioritized: "unprioritized";
|
|
191
|
-
low: "low";
|
|
192
|
-
medium: "medium";
|
|
193
|
-
high: "high";
|
|
194
|
-
urgent: "urgent";
|
|
195
|
-
}>>;
|
|
196
|
-
question: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
197
|
-
answers: import("zod").ZodArray<import("zod").ZodObject<{
|
|
198
|
-
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
199
|
-
title: import("zod").ZodString;
|
|
200
|
-
value: import("zod").ZodString;
|
|
201
|
-
}, import("zod/v4/core").$strip>>;
|
|
202
|
-
text: import("zod").ZodString;
|
|
203
|
-
}, import("zod/v4/core").$strip>>;
|
|
204
|
-
response: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
205
|
-
answer: import("zod").ZodOptional<import("zod").ZodString>;
|
|
206
|
-
at: import("zod").ZodISODateTime;
|
|
207
|
-
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
208
|
-
type: import("zod").ZodString;
|
|
209
|
-
}, import("zod/v4/core").$strip>>;
|
|
210
|
-
state: import("zod").ZodString;
|
|
211
|
-
steps: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
212
|
-
subSessionIds: import("zod").ZodArray<ChatSessionId>;
|
|
213
|
-
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
214
|
-
updatedAt: import("zod").ZodISODateTime;
|
|
215
|
-
}, import("zod/v4/core").$strip>;
|
|
216
|
-
}, import("zod/v4/core").$strip>;
|
|
217
|
-
};
|
|
218
74
|
};
|
|
219
75
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/investigation/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/investigation/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,eAAO,MAAM,0BAA0B,GACrC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,OAAO,SAAS,cAAc,EAC9B,KAAK,SAAS,cAAc,EAC5B,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;CACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEC,CAAC"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { makeGetInvestigationContract } from "./get.js";
|
|
2
|
-
import { makeRecordInvestigationFindingContract } from "./recordFinding.js";
|
|
3
2
|
export const makeInvestigationContracts = (ids) => ({
|
|
4
3
|
get: makeGetInvestigationContract(ids),
|
|
5
|
-
recordFinding: makeRecordInvestigationFindingContract(ids),
|
|
6
4
|
});
|
|
7
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/investigation/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/investigation/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAKxC,GAMD,EAAE,EAAE,CAAC,CAAC;IACL,GAAG,EAAE,4BAA4B,CAAC,GAAG,CAAC;CACvC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcpToolDescription.d.ts","sourceRoot":"","sources":["../../src/v1/mcpToolDescription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD,KAAK,YAAY,CAAC,IAAI,IAAI,IAAI,SAAS;IAAE,IAAI,EAAE,MAAM,IAAI,SAAS,MAAM,CAAA;CAAE,GACtE,IAAI,GACJ,IAAI,SAAS,MAAM,GACjB;KAAG,GAAG,IAAI,MAAM,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;CAAE,CAAC,MAAM,IAAI,CAAC,GAC5D,KAAK,CAAC;AAEZ,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"mcpToolDescription.d.ts","sourceRoot":"","sources":["../../src/v1/mcpToolDescription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD,KAAK,YAAY,CAAC,IAAI,IAAI,IAAI,SAAS;IAAE,IAAI,EAAE,MAAM,IAAI,SAAS,MAAM,CAAA;CAAE,GACtE,IAAI,GACJ,IAAI,SAAS,MAAM,GACjB;KAAG,GAAG,IAAI,MAAM,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;CAAE,CAAC,MAAM,IAAI,CAAC,GAC5D,KAAK,CAAC;AAEZ,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC;AA2BxE,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,oBAAoB,GAC7B,MAAM,CAKR"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
const descriptionAddenda = {
|
|
2
2
|
"environment.update": "At least one of name or runConcurrencyLimit is required.",
|
|
3
3
|
"flow.list": "An empty flows array is not on its own evidence that QA Wolf lost a flow. Read emptyReason, report what it says, and claim no more than it establishes.",
|
|
4
|
-
"investigation.recordFinding": "Read investigation.get first, and keep one findingId per cause: recording it again replaces the finding instead of adding one.",
|
|
5
4
|
"issue.update": "At least one of description, name, priority or status is required.",
|
|
6
5
|
"run.create": "At least one flow or tag is required, so send flowIds, tagNames, or both. Send at most one of aiTaskId and chatSessionId. This call has no idempotency key, so a lost response cannot be safely resubmitted: read run.find before sending it again.",
|
|
7
6
|
"run.get": 'Read a run with flowStatuses: ["failed"] first. A flow that passed on a retry reads passed, so when the flow you want is missing, add "passed" to the filter.',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcpToolDescription.js","sourceRoot":"","sources":["../../src/v1/mcpToolDescription.ts"],"names":[],"mappings":"AAWA,MAAM,kBAAkB,GAAgD;IACtE,oBAAoB,EAClB,0DAA0D;IAC5D,WAAW,EACT,yJAAyJ;IAC3J,
|
|
1
|
+
{"version":3,"file":"mcpToolDescription.js","sourceRoot":"","sources":["../../src/v1/mcpToolDescription.ts"],"names":[],"mappings":"AAWA,MAAM,kBAAkB,GAAgD;IACtE,oBAAoB,EAClB,0DAA0D;IAC5D,WAAW,EACT,yJAAyJ;IAC3J,cAAc,EACZ,oEAAoE;IACtE,YAAY,EACV,qPAAqP;IACvP,SAAS,EACP,+JAA+J;IACjK,sBAAsB,EACpB,+IAA+I;IACjJ,gBAAgB,EACd,oUAAoU;IACtU,uBAAuB,EACrB,+LAA+L;CAClM,CAAC;AAEF,SAAS,YAAY,CAAC,YAAoB;IACxC,OAAO,MAAM,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,IAAI,CAC5C,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,IAAI,KAAK,YAAY,CAClC,EAAE,CAAC,CAAC,CAAC,CAAC;AACT,CAAC;AAED,MAAM,UAAU,uBAAuB,CACrC,QAA8B;IAE9B,MAAM,QAAQ,GAAG,YAAY,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC7C,OAAO,QAAQ;QACb,CAAC,CAAC,GAAG,QAAQ,CAAC,WAAW,IAAI,QAAQ,EAAE;QACvC,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC;AAC3B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const headline: z.ZodString;
|
|
3
|
-
export declare const summary: z.ZodString;
|
|
4
|
-
export declare const commitHash: z.ZodString;
|
|
5
|
-
export declare const question: z.ZodString;
|
|
6
|
-
export declare const bugReport: {
|
|
7
|
-
actual: z.ZodString;
|
|
8
|
-
expected: z.ZodString;
|
|
9
|
-
steps: z.ZodArray<z.ZodString>;
|
|
10
|
-
};
|
|
11
|
-
export declare const matchReason: z.ZodString;
|
|
12
|
-
export declare const answerTitle: z.ZodString;
|
|
13
|
-
export declare const answerDescription: z.ZodString;
|
|
14
|
-
//# sourceMappingURL=findingInputFields.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"findingInputFields.d.ts","sourceRoot":"","sources":["../../../src/v1/investigation/findingInputFields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,QAAQ,aAKoB,CAAC;AAE1C,eAAO,MAAM,OAAO,aAOjB,CAAC;AAEJ,eAAO,MAAM,UAAU,aAKpB,CAAC;AAEJ,eAAO,MAAM,QAAQ,aAKqC,CAAC;AAE3D,eAAO,MAAM,SAAS;;;;CAarB,CAAC;AAEF,eAAO,MAAM,WAAW,aAOrB,CAAC;AAEJ,eAAO,MAAM,WAAW,aAAmC,CAAC;AAE5D,eAAO,MAAM,iBAAiB,aAAoC,CAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export const headline = z
|
|
3
|
-
.string()
|
|
4
|
-
.trim()
|
|
5
|
-
.min(1)
|
|
6
|
-
.max(200)
|
|
7
|
-
.describe("One line naming the cause.");
|
|
8
|
-
export const summary = z
|
|
9
|
-
.string()
|
|
10
|
-
.trim()
|
|
11
|
-
.min(1)
|
|
12
|
-
.max(2000)
|
|
13
|
-
.describe("What happened and what the AI did about it, in a short paragraph.");
|
|
14
|
-
export const commitHash = z
|
|
15
|
-
.string()
|
|
16
|
-
.regex(/^[0-9a-f]{7,40}$/)
|
|
17
|
-
.describe("The commit with the fix: on the flow code branch once it is fixed, on the sub-session's branch while it is proposed.");
|
|
18
|
-
export const question = z
|
|
19
|
-
.string()
|
|
20
|
-
.trim()
|
|
21
|
-
.min(1)
|
|
22
|
-
.max(300)
|
|
23
|
-
.describe("The question for a person, in one sentence.");
|
|
24
|
-
export const bugReport = {
|
|
25
|
-
actual: z.string().trim().min(1).max(1000).describe("What the app did."),
|
|
26
|
-
expected: z
|
|
27
|
-
.string()
|
|
28
|
-
.trim()
|
|
29
|
-
.min(1)
|
|
30
|
-
.max(1000)
|
|
31
|
-
.describe("What the app should have done."),
|
|
32
|
-
steps: z
|
|
33
|
-
.array(z.string().trim().min(1).max(500))
|
|
34
|
-
.min(1)
|
|
35
|
-
.max(30)
|
|
36
|
-
.describe("The steps that reproduce the bug, in order."),
|
|
37
|
-
};
|
|
38
|
-
export const matchReason = z
|
|
39
|
-
.string()
|
|
40
|
-
.trim()
|
|
41
|
-
.min(1)
|
|
42
|
-
.max(500)
|
|
43
|
-
.describe("Why the flows belong to that already open report. Omit for a new report.");
|
|
44
|
-
export const answerTitle = z.string().trim().min(1).max(80);
|
|
45
|
-
export const answerDescription = z.string().trim().min(1).max(200);
|
|
46
|
-
//# sourceMappingURL=findingInputFields.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"findingInputFields.js","sourceRoot":"","sources":["../../../src/v1/investigation/findingInputFields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC;KACtB,MAAM,EAAE;KACR,IAAI,EAAE;KACN,GAAG,CAAC,CAAC,CAAC;KACN,GAAG,CAAC,GAAG,CAAC;KACR,QAAQ,CAAC,4BAA4B,CAAC,CAAC;AAE1C,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC;KACrB,MAAM,EAAE;KACR,IAAI,EAAE;KACN,GAAG,CAAC,CAAC,CAAC;KACN,GAAG,CAAC,IAAI,CAAC;KACT,QAAQ,CACP,mEAAmE,CACpE,CAAC;AAEJ,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC;KACxB,MAAM,EAAE;KACR,KAAK,CAAC,kBAAkB,CAAC;KACzB,QAAQ,CACP,sHAAsH,CACvH,CAA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C,CAAC"}
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import type { PublicIdSchema } from "../ids.js";
|
|
3
|
-
export declare const makeRecordInvestigationFindingContract: <ChatSessionId extends PublicIdSchema, FlowId extends PublicIdSchema, IssueId extends PublicIdSchema, RunId extends PublicIdSchema>(ids: {
|
|
4
|
-
[key: string]: unknown;
|
|
5
|
-
chatSession: ChatSessionId;
|
|
6
|
-
flow: FlowId;
|
|
7
|
-
issue: IssueId;
|
|
8
|
-
run: RunId;
|
|
9
|
-
}) => {
|
|
10
|
-
readonly annotations: {
|
|
11
|
-
readonly destructiveHint: true;
|
|
12
|
-
readonly openWorldHint: false;
|
|
13
|
-
readonly readOnlyHint: false;
|
|
14
|
-
};
|
|
15
|
-
readonly description: string;
|
|
16
|
-
readonly input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
17
|
-
headline: z.ZodOptional<z.ZodString>;
|
|
18
|
-
state: z.ZodLiteral<"investigating">;
|
|
19
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
20
|
-
findingId: z.ZodString;
|
|
21
|
-
flowIds: z.ZodArray<FlowId>;
|
|
22
|
-
runId: RunId;
|
|
23
|
-
sessionId: ChatSessionId;
|
|
24
|
-
subSessionIds: z.ZodOptional<z.ZodArray<ChatSessionId>>;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
commitHash: z.ZodString;
|
|
27
|
-
headline: z.ZodString;
|
|
28
|
-
state: z.ZodLiteral<"fixed">;
|
|
29
|
-
summary: z.ZodString;
|
|
30
|
-
findingId: z.ZodString;
|
|
31
|
-
flowIds: z.ZodArray<FlowId>;
|
|
32
|
-
runId: RunId;
|
|
33
|
-
sessionId: ChatSessionId;
|
|
34
|
-
subSessionIds: z.ZodOptional<z.ZodArray<ChatSessionId>>;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
commitHash: z.ZodString;
|
|
37
|
-
headline: z.ZodString;
|
|
38
|
-
question: z.ZodOptional<z.ZodString>;
|
|
39
|
-
state: z.ZodLiteral<"fix-proposed">;
|
|
40
|
-
summary: z.ZodString;
|
|
41
|
-
findingId: z.ZodString;
|
|
42
|
-
flowIds: z.ZodArray<FlowId>;
|
|
43
|
-
runId: RunId;
|
|
44
|
-
sessionId: ChatSessionId;
|
|
45
|
-
subSessionIds: z.ZodOptional<z.ZodArray<ChatSessionId>>;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
headline: z.ZodString;
|
|
48
|
-
issueId: IssueId;
|
|
49
|
-
matchReason: z.ZodOptional<z.ZodString>;
|
|
50
|
-
state: z.ZodLiteral<"reported">;
|
|
51
|
-
summary: z.ZodString;
|
|
52
|
-
actual: z.ZodString;
|
|
53
|
-
expected: z.ZodString;
|
|
54
|
-
steps: z.ZodArray<z.ZodString>;
|
|
55
|
-
findingId: z.ZodString;
|
|
56
|
-
flowIds: z.ZodArray<FlowId>;
|
|
57
|
-
runId: RunId;
|
|
58
|
-
sessionId: ChatSessionId;
|
|
59
|
-
subSessionIds: z.ZodOptional<z.ZodArray<ChatSessionId>>;
|
|
60
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
-
headline: z.ZodString;
|
|
62
|
-
issueId: z.ZodOptional<IssueId>;
|
|
63
|
-
matchReason: z.ZodOptional<z.ZodString>;
|
|
64
|
-
priority: z.ZodEnum<{
|
|
65
|
-
unprioritized: "unprioritized";
|
|
66
|
-
low: "low";
|
|
67
|
-
medium: "medium";
|
|
68
|
-
high: "high";
|
|
69
|
-
urgent: "urgent";
|
|
70
|
-
}>;
|
|
71
|
-
question: z.ZodOptional<z.ZodString>;
|
|
72
|
-
state: z.ZodLiteral<"report-proposed">;
|
|
73
|
-
summary: z.ZodString;
|
|
74
|
-
actual: z.ZodString;
|
|
75
|
-
expected: z.ZodString;
|
|
76
|
-
steps: z.ZodArray<z.ZodString>;
|
|
77
|
-
findingId: z.ZodString;
|
|
78
|
-
flowIds: z.ZodArray<FlowId>;
|
|
79
|
-
runId: RunId;
|
|
80
|
-
sessionId: ChatSessionId;
|
|
81
|
-
subSessionIds: z.ZodOptional<z.ZodArray<ChatSessionId>>;
|
|
82
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
83
|
-
headline: z.ZodString;
|
|
84
|
-
state: z.ZodLiteral<"flake">;
|
|
85
|
-
summary: z.ZodString;
|
|
86
|
-
findingId: z.ZodString;
|
|
87
|
-
flowIds: z.ZodArray<FlowId>;
|
|
88
|
-
runId: RunId;
|
|
89
|
-
sessionId: ChatSessionId;
|
|
90
|
-
subSessionIds: z.ZodOptional<z.ZodArray<ChatSessionId>>;
|
|
91
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
92
|
-
bugAnswer: z.ZodString;
|
|
93
|
-
bugAnswerDescription: z.ZodOptional<z.ZodString>;
|
|
94
|
-
headline: z.ZodString;
|
|
95
|
-
maintenanceAnswer: z.ZodString;
|
|
96
|
-
maintenanceAnswerDescription: z.ZodOptional<z.ZodString>;
|
|
97
|
-
question: z.ZodString;
|
|
98
|
-
state: z.ZodLiteral<"question">;
|
|
99
|
-
summary: z.ZodString;
|
|
100
|
-
findingId: z.ZodString;
|
|
101
|
-
flowIds: z.ZodArray<FlowId>;
|
|
102
|
-
runId: RunId;
|
|
103
|
-
sessionId: ChatSessionId;
|
|
104
|
-
subSessionIds: z.ZodOptional<z.ZodArray<ChatSessionId>>;
|
|
105
|
-
}, z.core.$strip>], "state">;
|
|
106
|
-
readonly kind: "write";
|
|
107
|
-
readonly name: "investigation.recordFinding";
|
|
108
|
-
readonly output: z.ZodObject<{
|
|
109
|
-
finding: z.ZodObject<{
|
|
110
|
-
actual: z.ZodOptional<z.ZodString>;
|
|
111
|
-
commitHash: z.ZodOptional<z.ZodString>;
|
|
112
|
-
decidedBy: z.ZodOptional<z.ZodEnum<{
|
|
113
|
-
user: "user";
|
|
114
|
-
agent: "agent";
|
|
115
|
-
}>>;
|
|
116
|
-
disputeReason: z.ZodOptional<z.ZodString>;
|
|
117
|
-
expected: z.ZodOptional<z.ZodString>;
|
|
118
|
-
findingId: z.ZodString;
|
|
119
|
-
flowIds: z.ZodArray<FlowId>;
|
|
120
|
-
headline: z.ZodOptional<z.ZodString>;
|
|
121
|
-
issueId: z.ZodOptional<IssueId>;
|
|
122
|
-
kind: z.ZodString;
|
|
123
|
-
matchReason: z.ZodOptional<z.ZodString>;
|
|
124
|
-
priority: z.ZodOptional<z.ZodEnum<{
|
|
125
|
-
unprioritized: "unprioritized";
|
|
126
|
-
low: "low";
|
|
127
|
-
medium: "medium";
|
|
128
|
-
high: "high";
|
|
129
|
-
urgent: "urgent";
|
|
130
|
-
}>>;
|
|
131
|
-
question: z.ZodOptional<z.ZodObject<{
|
|
132
|
-
answers: z.ZodArray<z.ZodObject<{
|
|
133
|
-
description: z.ZodOptional<z.ZodString>;
|
|
134
|
-
title: z.ZodString;
|
|
135
|
-
value: z.ZodString;
|
|
136
|
-
}, z.core.$strip>>;
|
|
137
|
-
text: z.ZodString;
|
|
138
|
-
}, z.core.$strip>>;
|
|
139
|
-
response: z.ZodOptional<z.ZodObject<{
|
|
140
|
-
answer: z.ZodOptional<z.ZodString>;
|
|
141
|
-
at: z.ZodISODateTime;
|
|
142
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
143
|
-
type: z.ZodString;
|
|
144
|
-
}, z.core.$strip>>;
|
|
145
|
-
state: z.ZodString;
|
|
146
|
-
steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
147
|
-
subSessionIds: z.ZodArray<ChatSessionId>;
|
|
148
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
149
|
-
updatedAt: z.ZodISODateTime;
|
|
150
|
-
}, z.core.$strip>;
|
|
151
|
-
}, z.core.$strip>;
|
|
152
|
-
};
|
|
153
|
-
//# sourceMappingURL=recordFinding.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"recordFinding.d.ts","sourceRoot":"","sources":["../../../src/v1/investigation/recordFinding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAehD,eAAO,MAAM,sCAAsC,GACjD,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,OAAO,SAAS,cAAc,EAC9B,KAAK,SAAS,cAAc,EAC5B,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;CACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkIA,CAAC"}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import { issuePrioritySchema } from "../issue/index.js";
|
|
3
|
-
import { makeInvestigationFindingSchema } from "./finding.js";
|
|
4
|
-
import { answerDescription, answerTitle, bugReport, commitHash, headline, matchReason, question, summary, } from "./findingInputFields.js";
|
|
5
|
-
export const makeRecordInvestigationFindingContract = (ids) => {
|
|
6
|
-
const common = {
|
|
7
|
-
findingId: z
|
|
8
|
-
.string()
|
|
9
|
-
.regex(/^[a-z0-9]+(-[a-z0-9]+)*$/)
|
|
10
|
-
.max(80)
|
|
11
|
-
.describe("Stable per cause, in kebab-case. Recording the same id again replaces the finding."),
|
|
12
|
-
flowIds: z
|
|
13
|
-
.array(ids.flow)
|
|
14
|
-
.min(1)
|
|
15
|
-
.max(100)
|
|
16
|
-
.refine((flowIds) => new Set(flowIds).size === flowIds.length, "flowIds must be unique")
|
|
17
|
-
.describe("The failed flows in the run that share this cause. A flow moves here from any other finding."),
|
|
18
|
-
runId: ids.run,
|
|
19
|
-
sessionId: ids.chatSession.describe("The run's investigation session, the only session that records its findings. Read it from investigation.get."),
|
|
20
|
-
subSessionIds: z
|
|
21
|
-
.array(ids.chatSession)
|
|
22
|
-
.max(50)
|
|
23
|
-
.optional()
|
|
24
|
-
.describe("The sub-sessions whose work went into this finding."),
|
|
25
|
-
};
|
|
26
|
-
const input = z.discriminatedUnion("state", [
|
|
27
|
-
z.object({
|
|
28
|
-
...common,
|
|
29
|
-
headline: headline.optional(),
|
|
30
|
-
state: z.literal("investigating"),
|
|
31
|
-
summary: summary.optional(),
|
|
32
|
-
}),
|
|
33
|
-
z.object({
|
|
34
|
-
...common,
|
|
35
|
-
commitHash,
|
|
36
|
-
headline,
|
|
37
|
-
state: z.literal("fixed"),
|
|
38
|
-
summary,
|
|
39
|
-
}),
|
|
40
|
-
z.object({
|
|
41
|
-
...common,
|
|
42
|
-
commitHash,
|
|
43
|
-
headline,
|
|
44
|
-
question: question
|
|
45
|
-
.optional()
|
|
46
|
-
.describe('Defaults to "Should I update the test?".'),
|
|
47
|
-
state: z.literal("fix-proposed"),
|
|
48
|
-
summary,
|
|
49
|
-
}),
|
|
50
|
-
z.object({
|
|
51
|
-
...common,
|
|
52
|
-
...bugReport,
|
|
53
|
-
headline,
|
|
54
|
-
issueId: ids.issue.describe("The report the flows were filed under or added to."),
|
|
55
|
-
matchReason: matchReason.optional(),
|
|
56
|
-
state: z.literal("reported"),
|
|
57
|
-
summary,
|
|
58
|
-
}),
|
|
59
|
-
z.object({
|
|
60
|
-
...common,
|
|
61
|
-
...bugReport,
|
|
62
|
-
headline,
|
|
63
|
-
issueId: ids.issue
|
|
64
|
-
.optional()
|
|
65
|
-
.describe("An already open report the flows match."),
|
|
66
|
-
matchReason: matchReason.optional(),
|
|
67
|
-
priority: issuePrioritySchema,
|
|
68
|
-
question: question
|
|
69
|
-
.optional()
|
|
70
|
-
.describe('Defaults to "Is this what you expect?".'),
|
|
71
|
-
state: z.literal("report-proposed"),
|
|
72
|
-
summary,
|
|
73
|
-
}),
|
|
74
|
-
z.object({ ...common, headline, state: z.literal("flake"), summary }),
|
|
75
|
-
z.object({
|
|
76
|
-
...common,
|
|
77
|
-
bugAnswer: answerTitle.describe("The answer that means the app is wrong."),
|
|
78
|
-
bugAnswerDescription: answerDescription
|
|
79
|
-
.optional()
|
|
80
|
-
.describe("What the AI does after that answer."),
|
|
81
|
-
headline,
|
|
82
|
-
maintenanceAnswer: answerTitle.describe("The answer that means the test is out of date."),
|
|
83
|
-
maintenanceAnswerDescription: answerDescription
|
|
84
|
-
.optional()
|
|
85
|
-
.describe("What the AI does after that answer."),
|
|
86
|
-
question,
|
|
87
|
-
state: z.literal("question"),
|
|
88
|
-
summary,
|
|
89
|
-
}),
|
|
90
|
-
]);
|
|
91
|
-
const output = z.object({
|
|
92
|
-
finding: makeInvestigationFindingSchema(ids),
|
|
93
|
-
});
|
|
94
|
-
return {
|
|
95
|
-
annotations: {
|
|
96
|
-
destructiveHint: true,
|
|
97
|
-
openWorldHint: false,
|
|
98
|
-
readOnlyHint: false,
|
|
99
|
-
},
|
|
100
|
-
description: "Record what the QA Wolf AI investigating a run concluded about one cause of its failures. " +
|
|
101
|
-
'state says what it concluded: "investigating" while sub-sessions work on the flows, "fixed" once a fix is published and the flows reattempted, ' +
|
|
102
|
-
'"fix-proposed" for a committed fix waiting for a person\'s approval, "reported" once the flows are filed or added to an open report, ' +
|
|
103
|
-
'"report-proposed" for a drafted report waiting for approval, "flake" when a reattempt passed with no change, ' +
|
|
104
|
-
'and "question" when the AI can\'t tell whether the test or the app is wrong. ' +
|
|
105
|
-
"Each flow belongs to one finding at a time, and a finding a person decided can't be replaced.",
|
|
106
|
-
input,
|
|
107
|
-
kind: "write",
|
|
108
|
-
name: "investigation.recordFinding",
|
|
109
|
-
output,
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
//# sourceMappingURL=recordFinding.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"recordFinding.js","sourceRoot":"","sources":["../../../src/v1/investigation/recordFinding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EAAE,8BAA8B,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,SAAS,EACT,UAAU,EACV,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,OAAO,GACR,MAAM,yBAAyB,CAAC;AAEjC,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAKpD,GAMD,EAAE,EAAE;IACH,MAAM,MAAM,GAAG;QACb,SAAS,EAAE,CAAC;aACT,MAAM,EAAE;aACR,KAAK,CAAC,0BAA0B,CAAC;aACjC,GAAG,CAAC,EAAE,CAAC;aACP,QAAQ,CACP,oFAAoF,CACrF;QACH,OAAO,EAAE,CAAC;aACP,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC;aACf,GAAG,CAAC,CAAC,CAAC;aACN,GAAG,CAAC,GAAG,CAAC;aACR,MAAM,CACL,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC,IAAI,KAAK,OAAO,CAAC,MAAM,EACrD,wBAAwB,CACzB;aACA,QAAQ,CACP,8FAA8F,CAC/F;QACH,KAAK,EAAE,GAAG,CAAC,GAAG;QACd,SAAS,EAAE,GAAG,CAAC,WAAW,CAAC,QAAQ,CACjC,8GAA8G,CAC/G;QACD,aAAa,EAAE,CAAC;aACb,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC;aACtB,GAAG,CAAC,EAAE,CAAC;aACP,QAAQ,EAAE;aACV,QAAQ,CAAC,qDAAqD,CAAC;KACnE,CAAC;IAEF,MAAM,KAAK,GAAG,CAAC,CAAC,kBAAkB,CAAC,OAAO,EAAE;QAC1C,CAAC,CA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