@qawolf/api-contracts 0.107.0 → 0.114.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 (103) hide show
  1. package/dist/v1/activity/wait.d.ts +72 -0
  2. package/dist/v1/activity/wait.d.ts.map +1 -0
  3. package/dist/v1/activity/wait.js +89 -0
  4. package/dist/v1/activity/wait.js.map +1 -0
  5. package/dist/v1/agent/get.d.ts +1 -1
  6. package/dist/v1/agent/get.d.ts.map +1 -1
  7. package/dist/v1/agent/get.js +3 -3
  8. package/dist/v1/agent/get.js.map +1 -1
  9. package/dist/v1/agent/wait.d.ts +1 -0
  10. package/dist/v1/agent/wait.d.ts.map +1 -1
  11. package/dist/v1/agent/wait.js +1 -0
  12. package/dist/v1/agent/wait.js.map +1 -1
  13. package/dist/v1/deployment/verdict.d.ts +21 -0
  14. package/dist/v1/deployment/verdict.d.ts.map +1 -1
  15. package/dist/v1/deployment/verdict.js +7 -0
  16. package/dist/v1/deployment/verdict.js.map +1 -1
  17. package/dist/v1/deployment/verdictParts.js +1 -1
  18. package/dist/v1/deployment/verdictParts.js.map +1 -1
  19. package/dist/v1/index.d.ts +490 -54
  20. package/dist/v1/index.d.ts.map +1 -1
  21. package/dist/v1/index.js +4 -0
  22. package/dist/v1/index.js.map +1 -1
  23. package/dist/v1/investigation/get.d.ts +1 -1
  24. package/dist/v1/investigation/index.d.ts +31 -1
  25. package/dist/v1/investigation/index.d.ts.map +1 -1
  26. package/dist/v1/investigation/question/answer.d.ts +36 -0
  27. package/dist/v1/investigation/question/answer.d.ts.map +1 -0
  28. package/dist/v1/investigation/question/answer.js +65 -0
  29. package/dist/v1/investigation/question/answer.js.map +1 -0
  30. package/dist/v1/investigation/question/find.js +2 -2
  31. package/dist/v1/investigation/question/find.js.map +1 -1
  32. package/dist/v1/investigation/question/index.d.ts +30 -0
  33. package/dist/v1/investigation/question/index.d.ts.map +1 -1
  34. package/dist/v1/investigation/question/index.js +2 -0
  35. package/dist/v1/investigation/question/index.js.map +1 -1
  36. package/dist/v1/issue/comment.d.ts +45 -0
  37. package/dist/v1/issue/comment.d.ts.map +1 -0
  38. package/dist/v1/issue/comment.js +36 -0
  39. package/dist/v1/issue/comment.js.map +1 -0
  40. package/dist/v1/issue/commentResource.d.ts +24 -0
  41. package/dist/v1/issue/commentResource.d.ts.map +1 -0
  42. package/dist/v1/issue/commentResource.js +28 -0
  43. package/dist/v1/issue/commentResource.js.map +1 -0
  44. package/dist/v1/issue/contracts.d.ts +82 -0
  45. package/dist/v1/issue/contracts.d.ts.map +1 -1
  46. package/dist/v1/issue/contracts.js +4 -0
  47. package/dist/v1/issue/contracts.js.map +1 -1
  48. package/dist/v1/issue/create.js +1 -1
  49. package/dist/v1/issue/create.js.map +1 -1
  50. package/dist/v1/issue/index.d.ts.map +1 -1
  51. package/dist/v1/issue/index.js +3 -7
  52. package/dist/v1/issue/index.js.map +1 -1
  53. package/dist/v1/issue/listComments.d.ts +47 -0
  54. package/dist/v1/issue/listComments.d.ts.map +1 -0
  55. package/dist/v1/issue/listComments.js +33 -0
  56. package/dist/v1/issue/listComments.js.map +1 -0
  57. package/dist/v1/mcpServer/connect.d.ts +1 -0
  58. package/dist/v1/mcpServer/connect.d.ts.map +1 -1
  59. package/dist/v1/mcpServer/connect.js +3 -0
  60. package/dist/v1/mcpServer/connect.js.map +1 -1
  61. package/dist/v1/run/get.d.ts +7 -1
  62. package/dist/v1/run/get.d.ts.map +1 -1
  63. package/dist/v1/run/get.js +15 -1
  64. package/dist/v1/run/get.js.map +1 -1
  65. package/dist/v1/run/wait.d.ts +7 -0
  66. package/dist/v1/run/wait.d.ts.map +1 -0
  67. package/dist/v1/run/wait.js +5 -0
  68. package/dist/v1/run/wait.js.map +1 -0
  69. package/dist/v1/sharedSchemas.d.ts +3 -1
  70. package/dist/v1/sharedSchemas.d.ts.map +1 -1
  71. package/dist/v1/sharedSchemas.js +3 -1
  72. package/dist/v1/sharedSchemas.js.map +1 -1
  73. package/dist/v1/trigger/configuration.d.ts +8 -3
  74. package/dist/v1/trigger/configuration.d.ts.map +1 -1
  75. package/dist/v1/trigger/configuration.js +4 -2
  76. package/dist/v1/trigger/configuration.js.map +1 -1
  77. package/dist/v1/trigger/configurationRules.d.ts +4 -1
  78. package/dist/v1/trigger/configurationRules.d.ts.map +1 -1
  79. package/dist/v1/trigger/configurationRules.js +17 -6
  80. package/dist/v1/trigger/configurationRules.js.map +1 -1
  81. package/dist/v1/trigger/create.d.ts +14 -6
  82. package/dist/v1/trigger/create.d.ts.map +1 -1
  83. package/dist/v1/trigger/find.d.ts +7 -3
  84. package/dist/v1/trigger/find.d.ts.map +1 -1
  85. package/dist/v1/trigger/get.d.ts +7 -3
  86. package/dist/v1/trigger/get.d.ts.map +1 -1
  87. package/dist/v1/trigger/index.d.ts +56 -24
  88. package/dist/v1/trigger/index.d.ts.map +1 -1
  89. package/dist/v1/trigger/lifecycle.d.ts +14 -6
  90. package/dist/v1/trigger/lifecycle.d.ts.map +1 -1
  91. package/dist/v1/trigger/resource.d.ts +7 -3
  92. package/dist/v1/trigger/resource.d.ts.map +1 -1
  93. package/dist/v1/trigger/scheduleRepeatFields.d.ts +12 -0
  94. package/dist/v1/trigger/scheduleRepeatFields.d.ts.map +1 -0
  95. package/dist/v1/trigger/scheduleRepeatFields.js +27 -0
  96. package/dist/v1/trigger/scheduleRepeatFields.js.map +1 -0
  97. package/dist/v1/trigger/scheduleRepeatRules.d.ts +17 -0
  98. package/dist/v1/trigger/scheduleRepeatRules.d.ts.map +1 -0
  99. package/dist/v1/trigger/scheduleRepeatRules.js +78 -0
  100. package/dist/v1/trigger/scheduleRepeatRules.js.map +1 -0
  101. package/dist/v1/trigger/update.d.ts +14 -6
  102. package/dist/v1/trigger/update.d.ts.map +1 -1
  103. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/v1/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoC,CAAC"}
package/dist/v1/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  export { maxResolvedFileBytes } from "./promotion/index.js";
2
2
  export * from "./sharedSchemas.js";
3
+ import { makeActivityWaitContract } from "./activity/wait.js";
3
4
  import { makeAgentGetContract } from "./agent/get.js";
4
5
  import { makeAgentSendContract } from "./agent/send.js";
5
6
  import { makeGetAttemptContract } from "./attempt/get.js";
@@ -62,6 +63,9 @@ export const makeContractsV1 = (ids) => {
62
63
  runAttempt: ids.runAttempt ?? defaultIdSchemas.runAttempt,
63
64
  };
64
65
  return {
66
+ activity: {
67
+ wait: makeActivityWaitContract(resolvedIds),
68
+ },
65
69
  agent: {
66
70
  get: makeAgentGetContract(resolvedIds),
67
71
  send: makeAgentSendContract(resolvedIds),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/v1/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,cAAc,oBAAoB,CAAC;AAEnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC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,CAAC,WAAW,CAAC;QAC9C,GAAG,EAAE;YACH,wBAAwB,EACtB,oCAAoC,CAAC,WAAW,CAAC;YACnD,MAAM,EAAE,qBAAqB,CAAC,WAAW,CAAC;YAC1C,QAAQ,EAAE,uBAAuB,CAAC,WAAW,CAAC;YAC9C,IAAI,EAAE,oBAAoB,CAAC,WAAW,CAAC;YACvC,GAAG,EAAE,kBAAkB,CAAC,WAAW,CAAC;YACpC,yBAAyB,EACvB,qCAAqC,CAAC,WAAW,CAAC;YACpD,qBAAqB,EAAE,oCAAoC,CAAC,WAAW,CAAC;YACxE,SAAS,EAAE,wBAAwB,CAAC,WAAW,CAAC;YAChD,yBAAyB,EACvB,qCAAqC,CAAC,WAAW,CAAC;YACpD,IAAI,EAAE,mBAAmB,CAAC,WAAW,CAAC;SACvC;QACD,MAAM,EAAE,mBAAmB,CAAC,WAAW,CAAC;QACxC,6EAA6E;QAC7E,KAAK,EAAE,kBAAkB,EAAE;QAC3B,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"}
@@ -109,8 +109,8 @@ export declare const makeGetInvestigationContract: <ChatSessionId extends Public
109
109
  runId: RunId;
110
110
  sessionId: z.ZodOptional<ChatSessionId>;
111
111
  status: z.ZodEnum<{
112
- investigating: "investigating";
113
112
  finished: "finished";
113
+ investigating: "investigating";
114
114
  "not-investigated": "not-investigated";
115
115
  "not-enabled": "not-enabled";
116
116
  }>;
@@ -111,8 +111,8 @@ export declare const makeInvestigationContracts: <ChatSessionId extends PublicId
111
111
  runId: RunId;
112
112
  sessionId: import("zod").ZodOptional<ChatSessionId>;
113
113
  status: import("zod").ZodEnum<{
114
- investigating: "investigating";
115
114
  finished: "finished";
115
+ investigating: "investigating";
116
116
  "not-investigated": "not-investigated";
117
117
  "not-enabled": "not-enabled";
118
118
  }>;
@@ -130,6 +130,36 @@ export declare const makeInvestigationContracts: <ChatSessionId extends PublicId
130
130
  }, import("zod/v4/core").$strip>;
131
131
  };
132
132
  question: {
133
+ answer: {
134
+ readonly annotationJustifications: {
135
+ readonly destructiveHint: "Records a person's answer that cannot be changed, and the investigation acts on it, for example by filing a bug or publishing a test fix.";
136
+ readonly openWorldHint: "A bug report the investigation files from an answer can reach the workspace's configured integrations.";
137
+ readonly readOnlyHint: "Records answers to the questions of a run's investigation.";
138
+ };
139
+ readonly annotations: {
140
+ readonly destructiveHint: true;
141
+ readonly openWorldHint: true;
142
+ readonly readOnlyHint: false;
143
+ };
144
+ readonly description: string;
145
+ readonly input: import("zod").ZodObject<{
146
+ answers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
147
+ replies: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
148
+ runId: RunId;
149
+ }, import("zod/v4/core").$strip>;
150
+ readonly kind: "write";
151
+ readonly name: "investigation.question.answer";
152
+ readonly output: import("zod").ZodObject<{
153
+ answeredFindingIds: import("zod").ZodArray<import("zod").ZodString>;
154
+ refused: import("zod").ZodArray<import("zod").ZodObject<{
155
+ findingId: import("zod").ZodString;
156
+ message: import("zod").ZodString;
157
+ reason: import("zod").ZodString;
158
+ }, import("zod/v4/core").$strip>>;
159
+ runId: RunId;
160
+ url: import("zod").ZodURL;
161
+ }, import("zod/v4/core").$strip>;
162
+ };
133
163
  find: {
134
164
  readonly annotationJustifications: {
135
165
  readonly destructiveHint: "Does not answer, dismiss or change any question.";
@@ -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;AAKh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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGC,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { z } from "zod";
2
+ import type { PublicIdSchema } from "../../ids.js";
3
+ export declare const makeAnswerInvestigationQuestionsContract: <RunId extends PublicIdSchema>(ids: {
4
+ [key: string]: unknown;
5
+ run: RunId;
6
+ }) => {
7
+ readonly annotationJustifications: {
8
+ readonly destructiveHint: "Records a person's answer that cannot be changed, and the investigation acts on it, for example by filing a bug or publishing a test fix.";
9
+ readonly openWorldHint: "A bug report the investigation files from an answer can reach the workspace's configured integrations.";
10
+ readonly readOnlyHint: "Records answers to the questions of a run's investigation.";
11
+ };
12
+ readonly annotations: {
13
+ readonly destructiveHint: true;
14
+ readonly openWorldHint: true;
15
+ readonly readOnlyHint: false;
16
+ };
17
+ readonly description: string;
18
+ readonly input: z.ZodObject<{
19
+ answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
20
+ replies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
21
+ runId: RunId;
22
+ }, z.core.$strip>;
23
+ readonly kind: "write";
24
+ readonly name: "investigation.question.answer";
25
+ readonly output: z.ZodObject<{
26
+ answeredFindingIds: z.ZodArray<z.ZodString>;
27
+ refused: z.ZodArray<z.ZodObject<{
28
+ findingId: z.ZodString;
29
+ message: z.ZodString;
30
+ reason: z.ZodString;
31
+ }, z.core.$strip>>;
32
+ runId: RunId;
33
+ url: z.ZodURL;
34
+ }, z.core.$strip>;
35
+ };
36
+ //# sourceMappingURL=answer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"answer.d.ts","sourceRoot":"","sources":["../../../../src/v1/investigation/question/answer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAiBnD,eAAO,MAAM,wCAAwC,GACnD,KAAK,SAAS,cAAc,EAC5B,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,GAAG,EAAE,KAAK,CAAC;CACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkFA,CAAC"}
@@ -0,0 +1,65 @@
1
+ import { z } from "zod";
2
+ import { resource } from "../../resource.js";
3
+ const maxAnswersPerCall = 50;
4
+ const findingIdSchema = z.string().min(1).max(80);
5
+ const findingIdsOf = ({ answers = {}, replies = {} }) => [
6
+ ...Object.keys(answers),
7
+ ...Object.keys(replies),
8
+ ];
9
+ export const makeAnswerInvestigationQuestionsContract = (ids) => {
10
+ const input = z
11
+ .object({
12
+ answers: z
13
+ .record(findingIdSchema, z.string().min(1))
14
+ .optional()
15
+ .describe("Offered answers, keyed by the question's findingId. Each value is the `value` of one of the question's offered answers, such as maintenance or bug."),
16
+ replies: z
17
+ .record(findingIdSchema, z.string().trim().min(1).max(1000))
18
+ .optional()
19
+ .describe("The person's own words, keyed by the question's findingId, for a question that none of the offered answers fits."),
20
+ runId: ids.run,
21
+ })
22
+ .refine((sent) => findingIdsOf(sent).length > 0, {
23
+ message: "Send at least one answer or reply.",
24
+ })
25
+ .refine((sent) => findingIdsOf(sent).length <= maxAnswersPerCall, {
26
+ message: `Send at most ${maxAnswersPerCall} answers and replies in one call.`,
27
+ })
28
+ .refine((sent) => new Set(findingIdsOf(sent)).size === findingIdsOf(sent).length, { message: "Answer each question once, as an answer or as a reply." });
29
+ const output = resource({
30
+ answeredFindingIds: z
31
+ .array(z.string())
32
+ .describe("The questions this call answered. The investigation receives the answers and acts on them."),
33
+ refused: z
34
+ .array(z.object({
35
+ findingId: z.string(),
36
+ message: z.string().describe("Why the answer was not recorded."),
37
+ reason: z
38
+ .string()
39
+ .describe('Known values: "answer-not-offered", "environment-terminated", "not-asking", "not-found", "response-pending" and "superseded". New values can appear.'),
40
+ }))
41
+ .describe("The answers that were not recorded."),
42
+ runId: ids.run,
43
+ }, { urlFieldDescription: "The run in the QA Wolf app." });
44
+ return {
45
+ annotationJustifications: {
46
+ destructiveHint: "Records a person's answer that cannot be changed, and the investigation acts on it, for example by filing a bug or publishing a test fix.",
47
+ openWorldHint: "A bug report the investigation files from an answer can reach the workspace's configured integrations.",
48
+ readOnlyHint: "Records answers to the questions of a run's investigation.",
49
+ },
50
+ annotations: {
51
+ destructiveHint: true,
52
+ openWorldHint: true,
53
+ readOnlyHint: false,
54
+ },
55
+ description: "Answer the questions the QA Wolf AI investigating a failed run is waiting on, as the signed-in person. " +
56
+ "List the questions with investigation.question.find, and answer only with the person's approval. " +
57
+ "The first answer to a question wins, and the investigation acts on it. " +
58
+ "Only a person's own sign-in or user API key can answer; a team or organization key cannot.",
59
+ input,
60
+ kind: "write",
61
+ name: "investigation.question.answer",
62
+ output,
63
+ };
64
+ };
65
+ //# sourceMappingURL=answer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"answer.js","sourceRoot":"","sources":["../../../../src/v1/investigation/question/answer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAE7B,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AAOlD,MAAM,YAAY,GAAG,CAAC,EAAE,OAAO,GAAG,EAAE,EAAE,OAAO,GAAG,EAAE,EAAmB,EAAE,EAAE,CAAC;IACxE,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;IACvB,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,wCAAwC,GAAG,CAEtD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M,EAAE;YACrB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,kCAAkC,CAAC;YAChE,MAAM,EAAE,CAAC;iBACN,MAAM,EAAE;iBACR,QAAQ,CACP,sJAAsJ,CACvJ;SACJ,CAAC,CACH;aACA,QAAQ,CAAC,qCAAqC,CAAC;QAClD,KAAK,EAAE,GAAG,CAAC,GAAG;KACf,EACD,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,CACvD,CAAC;IAEF,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,2IAA2I;YAC7I,aAAa,EACX,wGAAwG;YAC1G,YAAY,EACV,4DAA4D;SAC/D;QACD,WAAW,EAAE;YACX,eAAe,EAAE,IAAI;YACrB,aAAa,EAAE,IAAI;YACnB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,yGAAyG;YACzG,mGAAmG;YACnG,yEAAyE;YACzE,4FAA4F;QAC9F,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,+BAA+B;QACrC,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
@@ -31,7 +31,7 @@ export const makeFindInvestigationQuestionsContract = (ids) => {
31
31
  headline: z.string().optional(),
32
32
  question: investigationQuestionSchema,
33
33
  runId: ids.run,
34
- sessionId: ids.chatSession.describe("The investigation session. Answer the question by sending the person's answer to it with agent.send."),
34
+ sessionId: ids.chatSession.describe("The investigation session. Read what it is doing with agent.get."),
35
35
  summary: z.string().optional(),
36
36
  }, { urlFieldDescription: "The run in the QA Wolf app." }))
37
37
  .describe("Questions that wait for a person's answer, the most recently recorded first. A page can hold fewer than limit questions, or none, while nextCursor is present."),
@@ -49,7 +49,7 @@ export const makeFindInvestigationQuestionsContract = (ids) => {
49
49
  },
50
50
  description: "List the questions the QA Wolf AI investigating failed runs is waiting for a person to answer, across a workspace's runs. " +
51
51
  "Each question names its run, flows, details and offered answers. " +
52
- "To answer one, send the person's answer to its sessionId with agent.send.",
52
+ "To answer them, call investigation.question.answer with the run and the person's answers.",
53
53
  input,
54
54
  kind: "read",
55
55
  name: "investigation.question.find",
@@ -1 +1 @@
1
- {"version":3,"file":"find.js","sourceRoot":"","sources":["../../../../src/v1/investigation/question/find.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EACL,yBAAyB,EACzB,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AAE5D,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAKpD,GAOD,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,GAAG,yBAAyB,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC;QACjE,aAAa,EAAE,GAAG,CAAC,cAAc;aAC9B,QAAQ,EAAE;aACV,QAAQ,CACP,uGAAuG,CACxG;QACH,QAAQ,EAAE,CAAC;aACR,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;aACvB,GAAG,CAAC,CAAC,CAAC;aACN,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;aACjB,QAAQ,CACP,iGAAiG,CAClG;QACH,WAAW,EAAE,GAAG,CAAC,SAAS;aACvB,QAAQ,EAAE;aACV,QAAQ,CACP,0GAA0G,CAC3G;KACJ,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;QACtB,UAAU,EAAE,gBAAgB;QAC5B,SAAS,EAAE,CAAC;aACT,KAAK,CACJ,QAAQ,CACN;YACE,OAAO,EAAE,CAAC,CAAC,GAAG;iBACX,QAAQ,EAAE;iBACV,QAAQ,CACP,2EAA2E,CAC5E;YACH,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;YAC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;YACD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;SAC/B,EACD,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,CACvD,CACF;aACA,QAAQ,CACP,gKAAgK,CACjK;KACJ,CAAC,CAAC;IAEH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EAAE,kDAAkD;YACnE,aAAa,EACX,8EAA8E;YAChF,YAAY,EACV,kFAAkF;SACrF;QACD,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,IAAI;SACnB;QACD,WAAW,EACT,4HAA4H;YAC5H,mEAAmE;YACnE,2FAA2F;QAC7F,KAAK;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,6BAA6B;QACnC,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
@@ -7,6 +7,36 @@ export declare const makeInvestigationQuestionContracts: <ChatSessionId extends
7
7
  run: RunId;
8
8
  workspace: WorkspaceId;
9
9
  }) => {
10
+ answer: {
11
+ readonly annotationJustifications: {
12
+ readonly destructiveHint: "Records a person's answer that cannot be changed, and the investigation acts on it, for example by filing a bug or publishing a test fix.";
13
+ readonly openWorldHint: "A bug report the investigation files from an answer can reach the workspace's configured integrations.";
14
+ readonly readOnlyHint: "Records answers to the questions of a run's investigation.";
15
+ };
16
+ readonly annotations: {
17
+ readonly destructiveHint: true;
18
+ readonly openWorldHint: true;
19
+ readonly readOnlyHint: false;
20
+ };
21
+ readonly description: string;
22
+ readonly input: import("zod").ZodObject<{
23
+ answers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
24
+ replies: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
25
+ runId: RunId;
26
+ }, import("zod/v4/core").$strip>;
27
+ readonly kind: "write";
28
+ readonly name: "investigation.question.answer";
29
+ readonly output: import("zod").ZodObject<{
30
+ answeredFindingIds: import("zod").ZodArray<import("zod").ZodString>;
31
+ refused: import("zod").ZodArray<import("zod").ZodObject<{
32
+ findingId: import("zod").ZodString;
33
+ message: import("zod").ZodString;
34
+ reason: import("zod").ZodString;
35
+ }, import("zod/v4/core").$strip>>;
36
+ runId: RunId;
37
+ url: import("zod").ZodURL;
38
+ }, import("zod/v4/core").$strip>;
39
+ };
10
40
  find: {
11
41
  readonly annotationJustifications: {
12
42
  readonly destructiveHint: "Does not answer, dismiss or change any question.";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v1/investigation/question/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAInD,eAAO,MAAM,kCAAkC,GAC7C,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,WAAW,EAAE,aAAa,CAAC;IAC3B,cAAc,EAAE,cAAc,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,KAAK,CAAC;IACX,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v1/investigation/question/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAKnD,eAAO,MAAM,kCAAkC,GAC7C,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,WAAW,EAAE,aAAa,CAAC;IAC3B,cAAc,EAAE,cAAc,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,KAAK,CAAC;IACX,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGC,CAAC"}
@@ -1,5 +1,7 @@
1
+ import { makeAnswerInvestigationQuestionsContract } from "./answer.js";
1
2
  import { makeFindInvestigationQuestionsContract } from "./find.js";
2
3
  export const makeInvestigationQuestionContracts = (ids) => ({
4
+ answer: makeAnswerInvestigationQuestionsContract(ids),
3
5
  find: makeFindInvestigationQuestionsContract(ids),
4
6
  });
5
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v1/investigation/question/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sCAAsC,EAAE,MAAM,WAAW,CAAC;AAEnE,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAKhD,GAOD,EAAE,EAAE,CAAC,CAAC;IACL,IAAI,EAAE,sCAAsC,CAAC,GAAG,CAAC;CAClD,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v1/investigation/question/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wCAAwC,EAAE,MAAM,aAAa,CAAC;AACvE,OAAO,EAAE,sCAAsC,EAAE,MAAM,WAAW,CAAC;AAEnE,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAKhD,GAOD,EAAE,EAAE,CAAC,CAAC;IACL,MAAM,EAAE,wCAAwC,CAAC,GAAG,CAAC;IACrD,IAAI,EAAE,sCAAsC,CAAC,GAAG,CAAC;CAClD,CAAC,CAAC"}
@@ -0,0 +1,45 @@
1
+ import { z } from "zod";
2
+ import type { PublicIdSchema } from "../ids.js";
3
+ export declare const makeCommentOnIssueContract: <IssueId extends PublicIdSchema>(ids: {
4
+ issue: IssueId;
5
+ }) => {
6
+ readonly annotationJustifications: {
7
+ readonly destructiveHint: "Adds a comment without removing or changing anything else on the issue.";
8
+ readonly openWorldHint: "Today it changes only QA Wolf records. It does not post the comment to a linked tracker or to any other service of the workspace.";
9
+ readonly readOnlyHint: "Records a comment on the issue.";
10
+ };
11
+ readonly annotations: {
12
+ readonly destructiveHint: false;
13
+ readonly openWorldHint: false;
14
+ readonly readOnlyHint: false;
15
+ };
16
+ readonly description: string;
17
+ readonly input: z.ZodObject<{
18
+ body: z.ZodString;
19
+ issueId: IssueId;
20
+ }, z.core.$strip>;
21
+ readonly kind: "write";
22
+ readonly name: "issue.comment";
23
+ readonly output: z.ZodObject<{
24
+ comment: z.ZodObject<{
25
+ author: z.ZodDiscriminatedUnion<[z.ZodObject<{
26
+ email: z.ZodString;
27
+ name: z.ZodOptional<z.ZodString>;
28
+ type: z.ZodLiteral<"user">;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ type: z.ZodLiteral<"former-user">;
31
+ }, z.core.$strip>, z.ZodObject<{
32
+ type: z.ZodLiteral<"team-api-key">;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ type: z.ZodLiteral<"system">;
35
+ }, z.core.$strip>], "type">;
36
+ body: z.ZodString;
37
+ commentId: z.ZodString;
38
+ createdAt: z.ZodCoercedDate<unknown>;
39
+ issueId: IssueId;
40
+ viaQaWolfAi: z.ZodBoolean;
41
+ url: z.ZodURL;
42
+ }, z.core.$strip>;
43
+ }, z.core.$strip>;
44
+ };
45
+ //# sourceMappingURL=comment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../../src/v1/issue/comment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAMhD,eAAO,MAAM,0BAA0B,GACrC,OAAO,SAAS,cAAc,EAC9B,KAAK;IACL,KAAK,EAAE,OAAO,CAAC;CAChB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CA,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { z } from "zod";
2
+ import { makeIssueCommentResourceSchema } from "./commentResource.js";
3
+ const maxCommentLength = 10000;
4
+ export const makeCommentOnIssueContract = (ids) => {
5
+ const input = z.object({
6
+ body: z
7
+ .string()
8
+ .trim()
9
+ .min(1)
10
+ .max(maxCommentLength)
11
+ .describe("The comment in GitHub-flavored Markdown."),
12
+ issueId: ids.issue.describe("The bug report, blocker, or coverage request to comment on."),
13
+ });
14
+ const output = z.object({
15
+ comment: makeIssueCommentResourceSchema(ids),
16
+ });
17
+ return {
18
+ annotationJustifications: {
19
+ destructiveHint: "Adds a comment without removing or changing anything else on the issue.",
20
+ openWorldHint: "Today it changes only QA Wolf records. It does not post the comment to a linked tracker or to any other service of the workspace.",
21
+ readOnlyHint: "Records a comment on the issue.",
22
+ },
23
+ annotations: {
24
+ destructiveHint: false,
25
+ openWorldHint: false,
26
+ readOnlyHint: false,
27
+ },
28
+ description: "Comment on a bug report, blocker (issue type `maintenance`), or coverage request owned by the caller's team. " +
29
+ "The comment changes nothing else on the issue, such as its status or priority.",
30
+ input,
31
+ kind: "write",
32
+ name: "issue.comment",
33
+ output,
34
+ };
35
+ };
36
+ //# sourceMappingURL=comment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comment.js","sourceRoot":"","sources":["../../../src/v1/issue/comment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AAEtE,MAAM,gBAAgB,GAAG,KAAK,CAAC;AAE/B,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAExC,GAED,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,IAAI,EAAE,CAAC;aACJ,MAAM,EAAE;aACR,IAAI,EAAE;aACN,GAAG,CAAC,CAAC,CAAC;aACN,GAAG,CAAC,gBAAgB,CAAC;aACrB,QAAQ,CAAC,0CAA0C,CAAC;QACvD,OAAO,EAAE,GAAG,CAAC,KAAK,CAAC,QAAQ,CACzB,6DAA6D,CAC9D;KACF,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;QACtB,OAAO,EAAE,8BAA8B,CAAC,GAAG,CAAC;KAC7C,CAAC,CAAC;IAEH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,yEAAyE;YAC3E,aAAa,EACX,mIAAmI;YACrI,YAAY,EAAE,iCAAiC;SAChD;QACD,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,+GAA+G;YAC/G,gFAAgF;QAClF,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,eAAe;QACrB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { z } from "zod";
2
+ import type { PublicIdSchema } from "../ids.js";
3
+ export declare const makeIssueCommentResourceSchema: <IssueId extends PublicIdSchema>(ids: {
4
+ issue: IssueId;
5
+ }) => z.ZodObject<{
6
+ author: z.ZodDiscriminatedUnion<[z.ZodObject<{
7
+ email: z.ZodString;
8
+ name: z.ZodOptional<z.ZodString>;
9
+ type: z.ZodLiteral<"user">;
10
+ }, z.core.$strip>, z.ZodObject<{
11
+ type: z.ZodLiteral<"former-user">;
12
+ }, z.core.$strip>, z.ZodObject<{
13
+ type: z.ZodLiteral<"team-api-key">;
14
+ }, z.core.$strip>, z.ZodObject<{
15
+ type: z.ZodLiteral<"system">;
16
+ }, z.core.$strip>], "type">;
17
+ body: z.ZodString;
18
+ commentId: z.ZodString;
19
+ createdAt: z.ZodCoercedDate<unknown>;
20
+ issueId: IssueId;
21
+ viaQaWolfAi: z.ZodBoolean;
22
+ url: z.ZodURL;
23
+ }, z.core.$strip>;
24
+ //# sourceMappingURL=commentResource.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commentResource.d.ts","sourceRoot":"","sources":["../../../src/v1/issue/commentResource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAqBhD,eAAO,MAAM,8BAA8B,GACzC,OAAO,SAAS,cAAc,EAC9B,KAAK;IACL,KAAK,EAAE,OAAO,CAAC;CAChB;;;;;;;;;;;;;;;;;;iBAaE,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { z } from "zod";
2
+ import { resource } from "../resource.js";
3
+ const issueCommentAuthorSchema = z
4
+ .discriminatedUnion("type", [
5
+ z.object({
6
+ email: z.string(),
7
+ name: z
8
+ .string()
9
+ .optional()
10
+ .describe("Absent when the person has not set a name."),
11
+ type: z.literal("user"),
12
+ }),
13
+ z.object({ type: z.literal("former-user") }),
14
+ z.object({ type: z.literal("team-api-key") }),
15
+ z.object({ type: z.literal("system") }),
16
+ ])
17
+ .describe("Who wrote the comment: a person, a person whose account was since deleted (`former-user`), an API key of the team or its organization (`team-api-key`), or QA Wolf itself (`system`).");
18
+ export const makeIssueCommentResourceSchema = (ids) => resource({
19
+ author: issueCommentAuthorSchema,
20
+ body: z.string().describe("The comment in GitHub-flavored Markdown."),
21
+ commentId: z.string().describe("The id of the comment."),
22
+ createdAt: z.coerce.date().describe("When the comment was written."),
23
+ issueId: ids.issue.describe("The issue the comment is on."),
24
+ viaQaWolfAi: z
25
+ .boolean()
26
+ .describe("Whether the author wrote the comment through QA Wolf AI."),
27
+ }, { urlFieldDescription: "Absolute URL of the issue page." });
28
+ //# sourceMappingURL=commentResource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commentResource.js","sourceRoot":"","sources":["../../../src/v1/issue/commentResource.ts"],"names":[],"mappings":"AAAA,OAAO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AE,mBAAmB,EAAE,iCAAiC,EAAE,CAC3D,CAAC"}
@@ -133,6 +133,46 @@ export declare const makeIssueContracts: <EnvironmentId extends PublicIdSchema,
133
133
  }, import("zod/v4/core").$strip>;
134
134
  }, import("zod/v4/core").$strip>;
135
135
  };
136
+ comment: {
137
+ readonly annotationJustifications: {
138
+ readonly destructiveHint: "Adds a comment without removing or changing anything else on the issue.";
139
+ readonly openWorldHint: "Today it changes only QA Wolf records. It does not post the comment to a linked tracker or to any other service of the workspace.";
140
+ readonly readOnlyHint: "Records a comment on the issue.";
141
+ };
142
+ readonly annotations: {
143
+ readonly destructiveHint: false;
144
+ readonly openWorldHint: false;
145
+ readonly readOnlyHint: false;
146
+ };
147
+ readonly description: string;
148
+ readonly input: import("zod").ZodObject<{
149
+ body: import("zod").ZodString;
150
+ issueId: IssueId;
151
+ }, import("zod/v4/core").$strip>;
152
+ readonly kind: "write";
153
+ readonly name: "issue.comment";
154
+ readonly output: import("zod").ZodObject<{
155
+ comment: import("zod").ZodObject<{
156
+ author: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
157
+ email: import("zod").ZodString;
158
+ name: import("zod").ZodOptional<import("zod").ZodString>;
159
+ type: import("zod").ZodLiteral<"user">;
160
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
161
+ type: import("zod").ZodLiteral<"former-user">;
162
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
163
+ type: import("zod").ZodLiteral<"team-api-key">;
164
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
165
+ type: import("zod").ZodLiteral<"system">;
166
+ }, import("zod/v4/core").$strip>], "type">;
167
+ body: import("zod").ZodString;
168
+ commentId: import("zod").ZodString;
169
+ createdAt: import("zod").ZodCoercedDate<unknown>;
170
+ issueId: IssueId;
171
+ viaQaWolfAi: import("zod").ZodBoolean;
172
+ url: import("zod").ZodURL;
173
+ }, import("zod/v4/core").$strip>;
174
+ }, import("zod/v4/core").$strip>;
175
+ };
136
176
  create: {
137
177
  readonly annotationJustifications: {
138
178
  readonly destructiveHint: "Configured notifications can send irreversible messages even though the QA Wolf issue itself is new.";
@@ -535,6 +575,48 @@ export declare const makeIssueContracts: <EnvironmentId extends PublicIdSchema,
535
575
  nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
536
576
  }, import("zod/v4/core").$strip>;
537
577
  };
578
+ listComments: {
579
+ readonly annotationJustifications: {
580
+ readonly destructiveHint: "Does not edit the issue or its comments.";
581
+ readonly openWorldHint: "Reads QA Wolf comments without reading or changing linked trackers.";
582
+ readonly readOnlyHint: "Lists the comments on one issue.";
583
+ };
584
+ readonly annotations: {
585
+ readonly destructiveHint: false;
586
+ readonly openWorldHint: false;
587
+ readonly readOnlyHint: true;
588
+ };
589
+ readonly description: "List the comments on a bug report, blocker (issue type `maintenance`), or coverage request, oldest first, with who wrote each one.";
590
+ readonly input: import("zod").ZodObject<{
591
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
592
+ limit: import("zod").ZodDefault<import("zod").ZodNumber>;
593
+ issueId: IssueId;
594
+ }, import("zod/v4/core").$strip>;
595
+ readonly kind: "read";
596
+ readonly name: "issue.listComments";
597
+ readonly output: import("zod").ZodObject<{
598
+ comments: import("zod").ZodArray<import("zod").ZodObject<{
599
+ author: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
600
+ email: import("zod").ZodString;
601
+ name: import("zod").ZodOptional<import("zod").ZodString>;
602
+ type: import("zod").ZodLiteral<"user">;
603
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
604
+ type: import("zod").ZodLiteral<"former-user">;
605
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
606
+ type: import("zod").ZodLiteral<"team-api-key">;
607
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
608
+ type: import("zod").ZodLiteral<"system">;
609
+ }, import("zod/v4/core").$strip>], "type">;
610
+ body: import("zod").ZodString;
611
+ commentId: import("zod").ZodString;
612
+ createdAt: import("zod").ZodCoercedDate<unknown>;
613
+ issueId: IssueId;
614
+ viaQaWolfAi: import("zod").ZodBoolean;
615
+ url: import("zod").ZodURL;
616
+ }, import("zod/v4/core").$strip>>;
617
+ nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
618
+ }, import("zod/v4/core").$strip>;
619
+ };
538
620
  removeFlows: {
539
621
  readonly annotationJustifications: {
540
622
  readonly destructiveHint: "Deletes existing coverage associations while leaving already-unassociated flows unchanged.";