@qawolf/api-contracts 0.107.0 → 0.109.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 (49) hide show
  1. package/dist/v1/agent/get.d.ts +1 -1
  2. package/dist/v1/agent/get.d.ts.map +1 -1
  3. package/dist/v1/agent/get.js +3 -3
  4. package/dist/v1/agent/get.js.map +1 -1
  5. package/dist/v1/agent/wait.d.ts +1 -0
  6. package/dist/v1/agent/wait.d.ts.map +1 -1
  7. package/dist/v1/agent/wait.js +1 -0
  8. package/dist/v1/agent/wait.js.map +1 -1
  9. package/dist/v1/deployment/verdict.d.ts +21 -0
  10. package/dist/v1/deployment/verdict.d.ts.map +1 -1
  11. package/dist/v1/deployment/verdict.js +7 -0
  12. package/dist/v1/deployment/verdict.js.map +1 -1
  13. package/dist/v1/deployment/verdictParts.js +1 -1
  14. package/dist/v1/deployment/verdictParts.js.map +1 -1
  15. package/dist/v1/index.d.ts +182 -4
  16. package/dist/v1/index.d.ts.map +1 -1
  17. package/dist/v1/issue/comment.d.ts +45 -0
  18. package/dist/v1/issue/comment.d.ts.map +1 -0
  19. package/dist/v1/issue/comment.js +36 -0
  20. package/dist/v1/issue/comment.js.map +1 -0
  21. package/dist/v1/issue/commentResource.d.ts +24 -0
  22. package/dist/v1/issue/commentResource.d.ts.map +1 -0
  23. package/dist/v1/issue/commentResource.js +28 -0
  24. package/dist/v1/issue/commentResource.js.map +1 -0
  25. package/dist/v1/issue/contracts.d.ts +82 -0
  26. package/dist/v1/issue/contracts.d.ts.map +1 -1
  27. package/dist/v1/issue/contracts.js +4 -0
  28. package/dist/v1/issue/contracts.js.map +1 -1
  29. package/dist/v1/issue/listComments.d.ts +47 -0
  30. package/dist/v1/issue/listComments.d.ts.map +1 -0
  31. package/dist/v1/issue/listComments.js +33 -0
  32. package/dist/v1/issue/listComments.js.map +1 -0
  33. package/dist/v1/mcpServer/connect.d.ts +1 -0
  34. package/dist/v1/mcpServer/connect.d.ts.map +1 -1
  35. package/dist/v1/mcpServer/connect.js +3 -0
  36. package/dist/v1/mcpServer/connect.js.map +1 -1
  37. package/dist/v1/run/get.d.ts +7 -1
  38. package/dist/v1/run/get.d.ts.map +1 -1
  39. package/dist/v1/run/get.js +15 -1
  40. package/dist/v1/run/get.js.map +1 -1
  41. package/dist/v1/run/wait.d.ts +7 -0
  42. package/dist/v1/run/wait.d.ts.map +1 -0
  43. package/dist/v1/run/wait.js +5 -0
  44. package/dist/v1/run/wait.js.map +1 -0
  45. package/dist/v1/sharedSchemas.d.ts +2 -1
  46. package/dist/v1/sharedSchemas.d.ts.map +1 -1
  47. package/dist/v1/sharedSchemas.js +2 -1
  48. package/dist/v1/sharedSchemas.js.map +1 -1
  49. package/package.json +1 -1
@@ -14,7 +14,7 @@ export declare const makeAgentGetContract: <ChatSessionId extends PublicIdSchema
14
14
  readonly openWorldHint: false;
15
15
  readonly readOnlyHint: true;
16
16
  };
17
- readonly description: "Monitor a QA Wolf AI session by reading its status and replies. After agent.send, share the returned session URL before monitoring. Pass waitSeconds 45 so the server holds the check open and answers the moment something happens. Check again as soon as it returns; never sleep between checks or loop without waitSeconds. Pass the nextCursor from one response as the cursor on the next check; it then reads only what is new, and only for the session that minted it. Continue monitoring silently when the status is unchanged and no replies come back; do not narrate waiting, announce the next check, or ask whether to keep monitoring. Report only substantive new progress, questions, blockers, or the final outcome. A status of \"waiting-for-you\" means the last reply is a question the work is blocked on, and answering it with agent.send is what unblocks it. Surface an explicit request for user input even if the status still says \"working\". Include the session URL when reporting a blocker or final outcome. On \"completed\", stop status checks and verify the requested result before claiming success. For new flows, validation, publication in the target environment, and readiness are separate checks; a Git push or final reply does not prove the flow is active. If every requested result is verified but status remains \"working\", report the mismatch and stop monitoring. Stop on \"failed\" or \"cancelled\" and report any confirmed partial result.";
17
+ readonly description: "Monitor a QA Wolf AI session by reading its status and replies. After agent.send, share the returned session URL before monitoring. Pass waitSeconds 45 so the server holds the check open and answers the moment a reply or status change arrives. Check again as soon as it returns; never sleep between checks or loop without waitSeconds. Pass the nextCursor from one response as the cursor on the next check; it then reads only what is new, and only for the session that minted it. Continue monitoring silently when the status is unchanged and no replies come back; do not narrate waiting, announce the next check, or ask whether to keep monitoring. Report only substantive new progress, questions, blockers, or the final outcome. A status of \"waiting-for-you\" means the last reply is a question the work is blocked on, and answering it with agent.send is what unblocks it. Surface an explicit request for user input even if the status still says \"working\". Include the session URL when reporting a blocker or final outcome. On \"completed\", stop status checks and verify the requested result before claiming success. For new flows, validation, publication in the target environment, and readiness are separate checks; a Git push or final reply does not prove the flow is active. If every requested result is verified but status remains \"working\", report the mismatch and stop monitoring. Stop on \"failed\" or \"cancelled\" and report any confirmed partial result.";
18
18
  readonly input: z.ZodObject<{
19
19
  cursor: z.ZodOptional<z.ZodString>;
20
20
  sessionId: ChatSessionId;
@@ -1 +1 @@
1
- {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/agent/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAMhD,eAAO,MAAM,oBAAoB,GAC/B,aAAa,SAAS,cAAc,EACpC,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,WAAW,EAAE,aAAa,CAAC;IAC3B,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8EA,CAAC"}
1
+ {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/agent/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAUhD,eAAO,MAAM,oBAAoB,GAC/B,aAAa,SAAS,cAAc,EACpC,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,WAAW,EAAE,aAAa,CAAC;IAC3B,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6EA,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { z } from "zod";
2
2
  import { resource } from "../resource.js";
3
3
  import { agentReplySchema, agentSessionStatusSchema } from "./status.js";
4
- import { agentWakeReasonSchema, maxAgentWaitSeconds } from "./wait.js";
4
+ import { agentWakeReasonSchema, maxAgentWaitSeconds, maxAgentWaitSecondsWithProgress, } from "./wait.js";
5
5
  export const makeAgentGetContract = (ids) => {
6
6
  const input = z.object({
7
7
  cursor: z
@@ -15,7 +15,7 @@ export const makeAgentGetContract = (ids) => {
15
15
  .int()
16
16
  .min(0)
17
17
  .optional()
18
- .describe(`How long the server may hold this check open, in seconds. Defaults to ${maxAgentWaitSeconds}, the longest hold, and a larger value clamps to it. Pass 0 to answer at once. Check again as soon as a held check returns.`),
18
+ .describe(`How long the server may hold this check open, in seconds. Defaults to ${maxAgentWaitSeconds}. Pass 0 to answer at once. A larger value clamps to ${maxAgentWaitSeconds}, or to ${maxAgentWaitSecondsWithProgress} when the call carries a progress token. Pass more than ${maxAgentWaitSeconds} only when your instructions say your client keeps the call open while progress arrives. A held check answers the moment a reply or status change arrives. Check again as soon as a held check returns.`),
19
19
  });
20
20
  const output = resource({
21
21
  nextCursor: z
@@ -49,7 +49,7 @@ export const makeAgentGetContract = (ids) => {
49
49
  openWorldHint: false,
50
50
  readOnlyHint: true,
51
51
  },
52
- description: 'Monitor a QA Wolf AI session by reading its status and replies. After agent.send, share the returned session URL before monitoring. Pass waitSeconds 45 so the server holds the check open and answers the moment something happens. Check again as soon as it returns; never sleep between checks or loop without waitSeconds. Pass the nextCursor from one response as the cursor on the next check; it then reads only what is new, and only for the session that minted it. Continue monitoring silently when the status is unchanged and no replies come back; do not narrate waiting, announce the next check, or ask whether to keep monitoring. Report only substantive new progress, questions, blockers, or the final outcome. A status of "waiting-for-you" means the last reply is a question the work is blocked on, and answering it with agent.send is what unblocks it. Surface an explicit request for user input even if the status still says "working". Include the session URL when reporting a blocker or final outcome. On "completed", stop status checks and verify the requested result before claiming success. For new flows, validation, publication in the target environment, and readiness are separate checks; a Git push or final reply does not prove the flow is active. If every requested result is verified but status remains "working", report the mismatch and stop monitoring. Stop on "failed" or "cancelled" and report any confirmed partial result.',
52
+ description: `Monitor a QA Wolf AI session by reading its status and replies. After agent.send, share the returned session URL before monitoring. Pass waitSeconds ${maxAgentWaitSeconds} so the server holds the check open and answers the moment a reply or status change arrives. Check again as soon as it returns; never sleep between checks or loop without waitSeconds. Pass the nextCursor from one response as the cursor on the next check; it then reads only what is new, and only for the session that minted it. Continue monitoring silently when the status is unchanged and no replies come back; do not narrate waiting, announce the next check, or ask whether to keep monitoring. Report only substantive new progress, questions, blockers, or the final outcome. A status of "waiting-for-you" means the last reply is a question the work is blocked on, and answering it with agent.send is what unblocks it. Surface an explicit request for user input even if the status still says "working". Include the session URL when reporting a blocker or final outcome. On "completed", stop status checks and verify the requested result before claiming success. For new flows, validation, publication in the target environment, and readiness are separate checks; a Git push or final reply does not prove the flow is active. If every requested result is verified but status remains "working", report the mismatch and stop monitoring. Stop on "failed" or "cancelled" and report any confirmed partial result.`,
53
53
  input,
54
54
  kind: "read",
55
55
  name: "agent.get",
@@ -1 +1 @@
1
- {"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/v1/agent/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAEvE,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAGlC,GAGD,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,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AAqB;aAC1B,QAAQ,EAAE;aACV,QAAQ,CACP,uLAAuL,CACxL;KACJ,EACD;QACE,mBAAmB,EACjB,sDAAsD;KACzD,CACF,CAAC;IAEF,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EAAE,kDAAkD;YACnE,aAAa,EACX,+DAA+D;YACjE,YAAY,EACV,2EAA2E;SAC9E;QACD,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,IAAI;SACnB;QACD,WAAW,EAAE,wJAAwJ,mBAAmB,4xCAA4xC;QACp9C,KAAK;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,WAAW;QACjB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { z } from "zod";
2
2
  export declare const maxAgentWaitSeconds = 45;
3
+ export declare const maxAgentWaitSecondsWithProgress = 170;
3
4
  export declare const agentWakeReasonSchema: z.ZodEnum<{
4
5
  status: "status";
5
6
  reply: "reply";
@@ -1 +1 @@
1
- {"version":3,"file":"wait.d.ts","sourceRoot":"","sources":["../../../src/v1/agent/wait.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,mBAAmB,KAAK,CAAC;AAEtC,eAAO,MAAM,qBAAqB;;;;EAI/B,CAAC;AAEJ,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
1
+ {"version":3,"file":"wait.d.ts","sourceRoot":"","sources":["../../../src/v1/agent/wait.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,mBAAmB,KAAK,CAAC;AAEtC,eAAO,MAAM,+BAA+B,MAAM,CAAC;AAEnD,eAAO,MAAM,qBAAqB;;;;EAI/B,CAAC;AAEJ,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { z } from "zod";
2
2
  export const maxAgentWaitSeconds = 45;
3
+ export const maxAgentWaitSecondsWithProgress = 170;
3
4
  export const agentWakeReasonSchema = z
4
5
  .enum(["reply", "status", "timeout"])
5
6
  .describe('Why a held check answered. "reply" means the AI said something new, "status" means the session settled or needs you, "timeout" means the hold ran out with nothing new.');
@@ -1 +1 @@
1
- {"version":3,"file":"wait.js","sourceRoot":"","sources":["../../../src/v1/agent/wait.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAEtC,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC;KACnC,IAAI,CAAC,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC;KACpC,QAAQ,CACP,yKAAyK,CAC1K,CAAC"}
1
+ {"version":3,"file":"wait.js","sourceRoot":"","sources":["../../../src/v1/agent/wait.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAEtC,MAAM,CAAC,MAAM,+BAA+B,GAAG,GAAG,CAAC;AAEnD,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC;KACnC,IAAI,CAAC,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC;KACpC,QAAQ,CACP,yKAAyK,CAC1K,CAAC"}
@@ -133,6 +133,27 @@ export declare const deploymentVerdictSchema: z.ZodDiscriminatedUnion<[z.ZodObje
133
133
  runId: z.ZodString;
134
134
  url: z.ZodURL;
135
135
  }, z.core.$strip>;
136
+ }, z.core.$strip>, z.ZodObject<{
137
+ deploymentId: z.ZodString;
138
+ outcome: z.ZodLiteral<"needs-review">;
139
+ runs: z.ZodArray<z.ZodObject<{
140
+ blockingBugCount: z.ZodNumber;
141
+ runId: z.ZodString;
142
+ runUrl: z.ZodURL;
143
+ status: z.ZodEnum<{
144
+ failed: "failed";
145
+ queued: "queued";
146
+ running: "running";
147
+ passed: "passed";
148
+ canceled: "canceled";
149
+ superseded: "superseded";
150
+ }>;
151
+ supersededBy: z.ZodOptional<z.ZodObject<{
152
+ runId: z.ZodString;
153
+ url: z.ZodURL;
154
+ }, z.core.$strip>>;
155
+ triggerName: z.ZodString;
156
+ }, z.core.$strip>>;
136
157
  }, z.core.$strip>, z.ZodObject<{
137
158
  deploymentId: z.ZodString;
138
159
  elapsedMs: z.ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"verdict.d.ts","sourceRoot":"","sources":["../../../src/v1/deployment/verdict.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsBxB;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BA4Da,CAAC;AAElD,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
1
+ {"version":3,"file":"verdict.d.ts","sourceRoot":"","sources":["../../../src/v1/deployment/verdict.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsBxB;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAuEa,CAAC;AAElD,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
@@ -52,6 +52,13 @@ export const deploymentVerdictSchema = z
52
52
  .object({ runId: z.string(), url: z.url() })
53
53
  .describe("The run that replaced the superseded run. It may be testing a later commit, and it can itself be superseded; follow runs[].supersededBy from run.get for the chain."),
54
54
  }),
55
+ z
56
+ .object({
57
+ deploymentId,
58
+ outcome: z.literal("needs-review"),
59
+ runs: runs.describe("Every run QA Wolf started for the deployment. A run whose failures wait for a person reads running."),
60
+ })
61
+ .describe("The failures wait for a person on the run page, so there is no verdict yet. Not a pass."),
55
62
  z.object({
56
63
  deploymentId,
57
64
  elapsedMs: z.number().int().nonnegative(),
@@ -1 +1 @@
1
- {"version":3,"file":"verdict.js","sourceRoot":"","sources":["../../../src/v1/deployment/verdict.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,YAAY,GAAG,CAAC;KACnB,MAAM,EAAE;KACR,QAAQ,CAAC,4CAA4C,CAAC,CAAC;AAE1D,MAAM,IAAI,GAAG,CAAC;KACX,KAAK,CAAC,gBAAgB,CAAC;KACvB,QAAQ,CAAC,+CAA+C,CAAC,CAAC;AAE7D,MAAM,OAAO,GAAG,CAAC;KACd,MAAM,EAAE;KACR,QAAQ,EAAE;KACV,QAAQ,CAAC,6CAA6C,CAAC,CAAC;AAE3D;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACrC,kBAAkB,CAAC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;QAC5B,OAAO;QACP,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC;KACxC,CAAC;IACF,CAAC,CAAC,MAAM,CAAC,EAAE,YAAY,EAAE,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,EAAE,CAAC;IAC/D,CAAC,CAAC,MAAM,CAAC,EAAE,YAAY,EAAE,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC,EAAE,CAAC;CACxE,CAAC;KACD,QAAQ,CAAC,oCAAoC,CAAC,CAAC"}
@@ -16,7 +16,7 @@ export const verdictRunSchema = z.object({
16
16
  // about the same run.
17
17
  status: z
18
18
  .enum(publicRunSummaryStatusValues)
19
- .describe("The run's status when the wait ended. Terminal on every outcome except timed-out, where it is whatever the last poll saw."),
19
+ .describe("The run's status when the wait ended. Terminal on every outcome except needs-review, where a run whose failures wait for a person reads running, and timed-out, where it is whatever the last poll saw."),
20
20
  supersededBy: z
21
21
  .object({ runId: z.string(), url: z.url() })
22
22
  .optional()
@@ -1 +1 @@
1
- {"version":3,"file":"verdictParts.js","sourceRoot":"","sources":["../../../src/v1/deployment/verdictParts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AAEjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,4DAA4D;AAC5D,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,GAAG,EAAE;SACL,WAAW,EAAE;SACb,QAAQ,CACP,kFAAkF,CACnF;IACH,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,QAAQ,CACP,oFAAoF,CACrF;IACH,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;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,7 +27,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
27
27
  readonly openWorldHint: false;
28
28
  readonly readOnlyHint: true;
29
29
  };
30
- readonly description: "Monitor a QA Wolf AI session by reading its status and replies. After agent.send, share the returned session URL before monitoring. Pass waitSeconds 45 so the server holds the check open and answers the moment something happens. Check again as soon as it returns; never sleep between checks or loop without waitSeconds. Pass the nextCursor from one response as the cursor on the next check; it then reads only what is new, and only for the session that minted it. Continue monitoring silently when the status is unchanged and no replies come back; do not narrate waiting, announce the next check, or ask whether to keep monitoring. Report only substantive new progress, questions, blockers, or the final outcome. A status of \"waiting-for-you\" means the last reply is a question the work is blocked on, and answering it with agent.send is what unblocks it. Surface an explicit request for user input even if the status still says \"working\". Include the session URL when reporting a blocker or final outcome. On \"completed\", stop status checks and verify the requested result before claiming success. For new flows, validation, publication in the target environment, and readiness are separate checks; a Git push or final reply does not prove the flow is active. If every requested result is verified but status remains \"working\", report the mismatch and stop monitoring. Stop on \"failed\" or \"cancelled\" and report any confirmed partial result.";
30
+ readonly description: "Monitor a QA Wolf AI session by reading its status and replies. After agent.send, share the returned session URL before monitoring. Pass waitSeconds 45 so the server holds the check open and answers the moment a reply or status change arrives. Check again as soon as it returns; never sleep between checks or loop without waitSeconds. Pass the nextCursor from one response as the cursor on the next check; it then reads only what is new, and only for the session that minted it. Continue monitoring silently when the status is unchanged and no replies come back; do not narrate waiting, announce the next check, or ask whether to keep monitoring. Report only substantive new progress, questions, blockers, or the final outcome. A status of \"waiting-for-you\" means the last reply is a question the work is blocked on, and answering it with agent.send is what unblocks it. Surface an explicit request for user input even if the status still says \"working\". Include the session URL when reporting a blocker or final outcome. On \"completed\", stop status checks and verify the requested result before claiming success. For new flows, validation, publication in the target environment, and readiness are separate checks; a Git push or final reply does not prove the flow is active. If every requested result is verified but status remains \"working\", report the mismatch and stop monitoring. Stop on \"failed\" or \"cancelled\" and report any confirmed partial result.";
31
31
  readonly input: z.ZodObject<{
32
32
  cursor: z.ZodOptional<z.ZodString>;
33
33
  sessionId: ChatSessionId;
@@ -2000,6 +2000,46 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2000
2000
  }, z.core.$strip>;
2001
2001
  }, z.core.$strip>;
2002
2002
  };
2003
+ comment: {
2004
+ readonly annotationJustifications: {
2005
+ readonly destructiveHint: "Adds a comment without removing or changing anything else on the issue.";
2006
+ 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.";
2007
+ readonly readOnlyHint: "Records a comment on the issue.";
2008
+ };
2009
+ readonly annotations: {
2010
+ readonly destructiveHint: false;
2011
+ readonly openWorldHint: false;
2012
+ readonly readOnlyHint: false;
2013
+ };
2014
+ readonly description: string;
2015
+ readonly input: z.ZodObject<{
2016
+ body: z.ZodString;
2017
+ issueId: IssueId;
2018
+ }, z.core.$strip>;
2019
+ readonly kind: "write";
2020
+ readonly name: "issue.comment";
2021
+ readonly output: z.ZodObject<{
2022
+ comment: z.ZodObject<{
2023
+ author: z.ZodDiscriminatedUnion<[z.ZodObject<{
2024
+ email: z.ZodString;
2025
+ name: z.ZodOptional<z.ZodString>;
2026
+ type: z.ZodLiteral<"user">;
2027
+ }, z.core.$strip>, z.ZodObject<{
2028
+ type: z.ZodLiteral<"former-user">;
2029
+ }, z.core.$strip>, z.ZodObject<{
2030
+ type: z.ZodLiteral<"team-api-key">;
2031
+ }, z.core.$strip>, z.ZodObject<{
2032
+ type: z.ZodLiteral<"system">;
2033
+ }, z.core.$strip>], "type">;
2034
+ body: z.ZodString;
2035
+ commentId: z.ZodString;
2036
+ createdAt: z.ZodCoercedDate<unknown>;
2037
+ issueId: IssueId;
2038
+ viaQaWolfAi: z.ZodBoolean;
2039
+ url: z.ZodURL;
2040
+ }, z.core.$strip>;
2041
+ }, z.core.$strip>;
2042
+ };
2003
2043
  create: {
2004
2044
  readonly annotationJustifications: {
2005
2045
  readonly destructiveHint: "Configured notifications can send irreversible messages even though the QA Wolf issue itself is new.";
@@ -2402,6 +2442,48 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2402
2442
  nextCursor: z.ZodOptional<z.ZodString>;
2403
2443
  }, z.core.$strip>;
2404
2444
  };
2445
+ listComments: {
2446
+ readonly annotationJustifications: {
2447
+ readonly destructiveHint: "Does not edit the issue or its comments.";
2448
+ readonly openWorldHint: "Reads QA Wolf comments without reading or changing linked trackers.";
2449
+ readonly readOnlyHint: "Lists the comments on one issue.";
2450
+ };
2451
+ readonly annotations: {
2452
+ readonly destructiveHint: false;
2453
+ readonly openWorldHint: false;
2454
+ readonly readOnlyHint: true;
2455
+ };
2456
+ readonly description: "List the comments on a bug report, blocker (issue type `maintenance`), or coverage request, oldest first, with who wrote each one.";
2457
+ readonly input: z.ZodObject<{
2458
+ cursor: z.ZodOptional<z.ZodString>;
2459
+ limit: z.ZodDefault<z.ZodNumber>;
2460
+ issueId: IssueId;
2461
+ }, z.core.$strip>;
2462
+ readonly kind: "read";
2463
+ readonly name: "issue.listComments";
2464
+ readonly output: z.ZodObject<{
2465
+ comments: z.ZodArray<z.ZodObject<{
2466
+ author: z.ZodDiscriminatedUnion<[z.ZodObject<{
2467
+ email: z.ZodString;
2468
+ name: z.ZodOptional<z.ZodString>;
2469
+ type: z.ZodLiteral<"user">;
2470
+ }, z.core.$strip>, z.ZodObject<{
2471
+ type: z.ZodLiteral<"former-user">;
2472
+ }, z.core.$strip>, z.ZodObject<{
2473
+ type: z.ZodLiteral<"team-api-key">;
2474
+ }, z.core.$strip>, z.ZodObject<{
2475
+ type: z.ZodLiteral<"system">;
2476
+ }, z.core.$strip>], "type">;
2477
+ body: z.ZodString;
2478
+ commentId: z.ZodString;
2479
+ createdAt: z.ZodCoercedDate<unknown>;
2480
+ issueId: IssueId;
2481
+ viaQaWolfAi: z.ZodBoolean;
2482
+ url: z.ZodURL;
2483
+ }, z.core.$strip>>;
2484
+ nextCursor: z.ZodOptional<z.ZodString>;
2485
+ }, z.core.$strip>;
2486
+ };
2405
2487
  removeFlows: {
2406
2488
  readonly annotationJustifications: {
2407
2489
  readonly destructiveHint: "Deletes existing coverage associations while leaving already-unassociated flows unchanged.";
@@ -2706,6 +2788,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2706
2788
  readonly name: "mcpServer.connect";
2707
2789
  readonly output: z.ZodObject<{
2708
2790
  authorizationUrl: z.ZodString;
2791
+ connectionName: z.ZodString;
2709
2792
  serverName: z.ZodString;
2710
2793
  }, z.core.$strip>;
2711
2794
  };
@@ -3063,7 +3146,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3063
3146
  readonly openWorldHint: false;
3064
3147
  readonly readOnlyHint: true;
3065
3148
  };
3066
- readonly description: "Get a run's status, per-flow results, links, and how many of its bugs are blocking.";
3149
+ readonly description: "Get a run's status, per-flow results, links, and how many of its bugs are blocking. Call it without waitSeconds for an immediate answer. To wait on a run that is still queued or running, pass waitSeconds up to 45: the server holds the check open and answers the moment the status changes. A held check also waits while the run is still being created. After a held check returns, call again only while status is queued or running. Stop when status is passed, failed, canceled, or superseded.";
3067
3150
  readonly input: z.ZodObject<{
3068
3151
  flowStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3069
3152
  failed: "failed";
@@ -3073,6 +3156,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3073
3156
  canceled: "canceled";
3074
3157
  }>>>;
3075
3158
  runId: RunId;
3159
+ waitSeconds: z.ZodOptional<z.ZodNumber>;
3076
3160
  }, z.core.$strip>;
3077
3161
  readonly kind: "read";
3078
3162
  readonly name: "run.get";
@@ -3238,6 +3322,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3238
3322
  origin: z.ZodString;
3239
3323
  warnings: z.ZodArray<z.ZodString>;
3240
3324
  }, z.core.$strip>>;
3325
+ waitSeconds: z.ZodOptional<z.ZodNumber>;
3326
+ wokeOn: z.ZodOptional<z.ZodEnum<{
3327
+ status: "status";
3328
+ timeout: "timeout";
3329
+ }>>;
3241
3330
  completedAt: z.ZodOptional<z.ZodISODateTime>;
3242
3331
  createdAt: z.ZodISODateTime;
3243
3332
  git: z.ZodObject<{
@@ -5363,7 +5452,7 @@ export declare const publicContractsV1: {
5363
5452
  readonly openWorldHint: false;
5364
5453
  readonly readOnlyHint: true;
5365
5454
  };
5366
- readonly description: "Monitor a QA Wolf AI session by reading its status and replies. After agent.send, share the returned session URL before monitoring. Pass waitSeconds 45 so the server holds the check open and answers the moment something happens. Check again as soon as it returns; never sleep between checks or loop without waitSeconds. Pass the nextCursor from one response as the cursor on the next check; it then reads only what is new, and only for the session that minted it. Continue monitoring silently when the status is unchanged and no replies come back; do not narrate waiting, announce the next check, or ask whether to keep monitoring. Report only substantive new progress, questions, blockers, or the final outcome. A status of \"waiting-for-you\" means the last reply is a question the work is blocked on, and answering it with agent.send is what unblocks it. Surface an explicit request for user input even if the status still says \"working\". Include the session URL when reporting a blocker or final outcome. On \"completed\", stop status checks and verify the requested result before claiming success. For new flows, validation, publication in the target environment, and readiness are separate checks; a Git push or final reply does not prove the flow is active. If every requested result is verified but status remains \"working\", report the mismatch and stop monitoring. Stop on \"failed\" or \"cancelled\" and report any confirmed partial result.";
5455
+ readonly description: "Monitor a QA Wolf AI session by reading its status and replies. After agent.send, share the returned session URL before monitoring. Pass waitSeconds 45 so the server holds the check open and answers the moment a reply or status change arrives. Check again as soon as it returns; never sleep between checks or loop without waitSeconds. Pass the nextCursor from one response as the cursor on the next check; it then reads only what is new, and only for the session that minted it. Continue monitoring silently when the status is unchanged and no replies come back; do not narrate waiting, announce the next check, or ask whether to keep monitoring. Report only substantive new progress, questions, blockers, or the final outcome. A status of \"waiting-for-you\" means the last reply is a question the work is blocked on, and answering it with agent.send is what unblocks it. Surface an explicit request for user input even if the status still says \"working\". Include the session URL when reporting a blocker or final outcome. On \"completed\", stop status checks and verify the requested result before claiming success. For new flows, validation, publication in the target environment, and readiness are separate checks; a Git push or final reply does not prove the flow is active. If every requested result is verified but status remains \"working\", report the mismatch and stop monitoring. Stop on \"failed\" or \"cancelled\" and report any confirmed partial result.";
5367
5456
  readonly input: z.ZodObject<{
5368
5457
  cursor: z.ZodOptional<z.ZodString>;
5369
5458
  sessionId: PublicIdSchema;
@@ -7336,6 +7425,46 @@ export declare const publicContractsV1: {
7336
7425
  }, z.core.$strip>;
7337
7426
  }, z.core.$strip>;
7338
7427
  };
7428
+ comment: {
7429
+ readonly annotationJustifications: {
7430
+ readonly destructiveHint: "Adds a comment without removing or changing anything else on the issue.";
7431
+ 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.";
7432
+ readonly readOnlyHint: "Records a comment on the issue.";
7433
+ };
7434
+ readonly annotations: {
7435
+ readonly destructiveHint: false;
7436
+ readonly openWorldHint: false;
7437
+ readonly readOnlyHint: false;
7438
+ };
7439
+ readonly description: string;
7440
+ readonly input: z.ZodObject<{
7441
+ body: z.ZodString;
7442
+ issueId: PublicIdSchema;
7443
+ }, z.core.$strip>;
7444
+ readonly kind: "write";
7445
+ readonly name: "issue.comment";
7446
+ readonly output: z.ZodObject<{
7447
+ comment: z.ZodObject<{
7448
+ author: z.ZodDiscriminatedUnion<[z.ZodObject<{
7449
+ email: z.ZodString;
7450
+ name: z.ZodOptional<z.ZodString>;
7451
+ type: z.ZodLiteral<"user">;
7452
+ }, z.core.$strip>, z.ZodObject<{
7453
+ type: z.ZodLiteral<"former-user">;
7454
+ }, z.core.$strip>, z.ZodObject<{
7455
+ type: z.ZodLiteral<"team-api-key">;
7456
+ }, z.core.$strip>, z.ZodObject<{
7457
+ type: z.ZodLiteral<"system">;
7458
+ }, z.core.$strip>], "type">;
7459
+ body: z.ZodString;
7460
+ commentId: z.ZodString;
7461
+ createdAt: z.ZodCoercedDate<unknown>;
7462
+ issueId: PublicIdSchema;
7463
+ viaQaWolfAi: z.ZodBoolean;
7464
+ url: z.ZodURL;
7465
+ }, z.core.$strip>;
7466
+ }, z.core.$strip>;
7467
+ };
7339
7468
  create: {
7340
7469
  readonly annotationJustifications: {
7341
7470
  readonly destructiveHint: "Configured notifications can send irreversible messages even though the QA Wolf issue itself is new.";
@@ -7738,6 +7867,48 @@ export declare const publicContractsV1: {
7738
7867
  nextCursor: z.ZodOptional<z.ZodString>;
7739
7868
  }, z.core.$strip>;
7740
7869
  };
7870
+ listComments: {
7871
+ readonly annotationJustifications: {
7872
+ readonly destructiveHint: "Does not edit the issue or its comments.";
7873
+ readonly openWorldHint: "Reads QA Wolf comments without reading or changing linked trackers.";
7874
+ readonly readOnlyHint: "Lists the comments on one issue.";
7875
+ };
7876
+ readonly annotations: {
7877
+ readonly destructiveHint: false;
7878
+ readonly openWorldHint: false;
7879
+ readonly readOnlyHint: true;
7880
+ };
7881
+ readonly description: "List the comments on a bug report, blocker (issue type `maintenance`), or coverage request, oldest first, with who wrote each one.";
7882
+ readonly input: z.ZodObject<{
7883
+ cursor: z.ZodOptional<z.ZodString>;
7884
+ limit: z.ZodDefault<z.ZodNumber>;
7885
+ issueId: PublicIdSchema;
7886
+ }, z.core.$strip>;
7887
+ readonly kind: "read";
7888
+ readonly name: "issue.listComments";
7889
+ readonly output: z.ZodObject<{
7890
+ comments: z.ZodArray<z.ZodObject<{
7891
+ author: z.ZodDiscriminatedUnion<[z.ZodObject<{
7892
+ email: z.ZodString;
7893
+ name: z.ZodOptional<z.ZodString>;
7894
+ type: z.ZodLiteral<"user">;
7895
+ }, z.core.$strip>, z.ZodObject<{
7896
+ type: z.ZodLiteral<"former-user">;
7897
+ }, z.core.$strip>, z.ZodObject<{
7898
+ type: z.ZodLiteral<"team-api-key">;
7899
+ }, z.core.$strip>, z.ZodObject<{
7900
+ type: z.ZodLiteral<"system">;
7901
+ }, z.core.$strip>], "type">;
7902
+ body: z.ZodString;
7903
+ commentId: z.ZodString;
7904
+ createdAt: z.ZodCoercedDate<unknown>;
7905
+ issueId: PublicIdSchema;
7906
+ viaQaWolfAi: z.ZodBoolean;
7907
+ url: z.ZodURL;
7908
+ }, z.core.$strip>>;
7909
+ nextCursor: z.ZodOptional<z.ZodString>;
7910
+ }, z.core.$strip>;
7911
+ };
7741
7912
  removeFlows: {
7742
7913
  readonly annotationJustifications: {
7743
7914
  readonly destructiveHint: "Deletes existing coverage associations while leaving already-unassociated flows unchanged.";
@@ -8042,6 +8213,7 @@ export declare const publicContractsV1: {
8042
8213
  readonly name: "mcpServer.connect";
8043
8214
  readonly output: z.ZodObject<{
8044
8215
  authorizationUrl: z.ZodString;
8216
+ connectionName: z.ZodString;
8045
8217
  serverName: z.ZodString;
8046
8218
  }, z.core.$strip>;
8047
8219
  };
@@ -8399,7 +8571,7 @@ export declare const publicContractsV1: {
8399
8571
  readonly openWorldHint: false;
8400
8572
  readonly readOnlyHint: true;
8401
8573
  };
8402
- readonly description: "Get a run's status, per-flow results, links, and how many of its bugs are blocking.";
8574
+ readonly description: "Get a run's status, per-flow results, links, and how many of its bugs are blocking. Call it without waitSeconds for an immediate answer. To wait on a run that is still queued or running, pass waitSeconds up to 45: the server holds the check open and answers the moment the status changes. A held check also waits while the run is still being created. After a held check returns, call again only while status is queued or running. Stop when status is passed, failed, canceled, or superseded.";
8403
8575
  readonly input: z.ZodObject<{
8404
8576
  flowStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
8405
8577
  failed: "failed";
@@ -8409,6 +8581,7 @@ export declare const publicContractsV1: {
8409
8581
  canceled: "canceled";
8410
8582
  }>>>;
8411
8583
  runId: PublicIdSchema;
8584
+ waitSeconds: z.ZodOptional<z.ZodNumber>;
8412
8585
  }, z.core.$strip>;
8413
8586
  readonly kind: "read";
8414
8587
  readonly name: "run.get";
@@ -8574,6 +8747,11 @@ export declare const publicContractsV1: {
8574
8747
  origin: z.ZodString;
8575
8748
  warnings: z.ZodArray<z.ZodString>;
8576
8749
  }, z.core.$strip>>;
8750
+ waitSeconds: z.ZodOptional<z.ZodNumber>;
8751
+ wokeOn: z.ZodOptional<z.ZodEnum<{
8752
+ status: "status";
8753
+ timeout: "timeout";
8754
+ }>>;
8577
8755
  completedAt: z.ZodOptional<z.ZodISODateTime>;
8578
8756
  createdAt: z.ZodISODateTime;
8579
8757
  git: z.ZodObject<{
@@ -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,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,cAAc,oBAAoB,CAAC;AAQnC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AA0B5D,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,iBAAiB,EAEvB,MAAM,UAAU,CAAC;AAsBlB,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,GAAG,cAAc,EACjD,YAAY,SAAS,cAAc,GAAG,cAAc,EACpD,eAAe,SAAS,cAAc,GAAG,cAAc,EACvD,YAAY,SAAS,cAAc,GAAG,cAAc,EACpD,WAAW,SAAS,cAAc,GAAG,cAAc,EAEnD,KAAK,IAAI,CACP,iBAAiB,CACf,aAAa,EACb,MAAM,EACN,KAAK,EAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoC,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,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,wBAAwB,GAAG,CAAC;KAC/B,kBAAkB,CAAC,MAAM,EAAE;IAC1B,CAAC,CAAC,MAAM,CAAC;QACP,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;QACjB,IAAI,EAAE,CAAC;aACJ,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,4CAA4C,CAAC;QACzD,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC;KACxB,CAAC;IACF,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,CAAC;IAC5C,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,EAAE,CAAC;IAC7C,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;CACxC,CAAC;KACD,QAAQ,CACP,uLAAuL,CACxL,CAAC;AAEJ,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAE5C,GAED,EAAE,EAAE,CACH,QAAQ,CACN;IACE,MAAM,EAAE,wBAAwB;IAChC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,0CAA0C,CAAC;IACrE,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,wBAAwB,CAAC;IACxD,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;IACpE,OAAO,EAAE,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IAC3D,WAAW,EAAE,CAAC;SACX,OAAO,EAAE;SACT,QAAQ,CAAC,0DAA0D,CAAC;CACxE,EACD,EAAE,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.";
@@ -1 +1 @@
1
- {"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../../src/v1/issue/contracts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAWhD,eAAO,MAAM,kBAAkB,GAC7B,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,OAAO,SAAS,cAAc,EAC9B,WAAW,SAAS,cAAc,EAClC,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;IACX,SAAS,EAAE,WAA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AAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;IACX,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYC,CAAC"}
@@ -1,19 +1,23 @@
1
1
  import { makeAddFlowsToIssueContract } from "./addFlows.js";
2
2
  import { makeAttachFilesToIssueContract } from "./attachFiles.js";
3
+ import { makeCommentOnIssueContract } from "./comment.js";
3
4
  import { makeCreateIssueContract } from "./create.js";
4
5
  import { makeDecideSuggestionContract } from "./decideSuggestion.js";
5
6
  import { makeFindIssuesContract, makeGetIssueContract } from "./index.js";
6
7
  import { makeListIssueActivityContract } from "./listActivity.js";
8
+ import { makeListIssueCommentsContract } from "./listComments.js";
7
9
  import { makeRemoveFlowsFromIssueContract } from "./removeFlows.js";
8
10
  import { makeUpdateIssueContract } from "./update.js";
9
11
  export const makeIssueContracts = (ids) => ({
10
12
  addFlows: makeAddFlowsToIssueContract(ids),
11
13
  attachFiles: makeAttachFilesToIssueContract(ids),
14
+ comment: makeCommentOnIssueContract(ids),
12
15
  create: makeCreateIssueContract(ids),
13
16
  decideSuggestion: makeDecideSuggestionContract(ids),
14
17
  find: makeFindIssuesContract(ids),
15
18
  get: makeGetIssueContract(ids),
16
19
  listActivity: makeListIssueActivityContract(ids),
20
+ listComments: makeListIssueCommentsContract(ids),
17
21
  removeFlows: makeRemoveFlowsFromIssueContract(ids),
18
22
  update: makeUpdateIssueContract(ids),
19
23
  });
@@ -1 +1 @@
1
- {"version":3,"file":"contracts.js","sourceRoot":"","sources":["../../../src/v1/issue/contracts.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAE,8BAA8B,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAC1E,OAAO,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,gCAAgC,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAEtD,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAMhC,GAOD,EAAE,EAAE,CAAC,CAAC;IACL,QAAQ,EAAE,2BAA2B,CAAC,GAAG,CAAC;IAC1C,WAAW,EAAE,8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C,gBAAgB,EAAE,4BAA4B,CAAC,GAAG,CAAC;IACnD,IAAI,EAAE,sBAAsB,CAAC,GAAG,CAAC;IACjC,GAAG,EAAE,oBAAoB,CAAC,GAAG,CAAC;IAC9B,YAAY,EAAE,6BAA6B,CAAC,GAAG,CAAC;IAChD,YAAY,EAAE,6BAA6B,CAAC,GAAG,CAAC;IAChD,WAAW,EAAE,gCAAgC,CAAC,GAAG,CAAC;IAClD,MAAM,EAAE,uBAAuB,CAAC,GAAG,CAAC;CACrC,CAAC,CAAC"}
@@ -0,0 +1,47 @@
1
+ import { z } from "zod";
2
+ import type { PublicIdSchema } from "../ids.js";
3
+ export declare const makeListIssueCommentsContract: <IssueId extends PublicIdSchema>(ids: {
4
+ issue: IssueId;
5
+ }) => {
6
+ readonly annotationJustifications: {
7
+ readonly destructiveHint: "Does not edit the issue or its comments.";
8
+ readonly openWorldHint: "Reads QA Wolf comments without reading or changing linked trackers.";
9
+ readonly readOnlyHint: "Lists the comments on one issue.";
10
+ };
11
+ readonly annotations: {
12
+ readonly destructiveHint: false;
13
+ readonly openWorldHint: false;
14
+ readonly readOnlyHint: true;
15
+ };
16
+ readonly description: "List the comments on a bug report, blocker (issue type `maintenance`), or coverage request, oldest first, with who wrote each one.";
17
+ readonly input: z.ZodObject<{
18
+ cursor: z.ZodOptional<z.ZodString>;
19
+ limit: z.ZodDefault<z.ZodNumber>;
20
+ issueId: IssueId;
21
+ }, z.core.$strip>;
22
+ readonly kind: "read";
23
+ readonly name: "issue.listComments";
24
+ readonly output: z.ZodObject<{
25
+ comments: z.ZodArray<z.ZodObject<{
26
+ author: z.ZodDiscriminatedUnion<[z.ZodObject<{
27
+ email: z.ZodString;
28
+ name: z.ZodOptional<z.ZodString>;
29
+ type: z.ZodLiteral<"user">;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ type: z.ZodLiteral<"former-user">;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ type: z.ZodLiteral<"team-api-key">;
34
+ }, z.core.$strip>, z.ZodObject<{
35
+ type: z.ZodLiteral<"system">;
36
+ }, z.core.$strip>], "type">;
37
+ body: z.ZodString;
38
+ commentId: z.ZodString;
39
+ createdAt: z.ZodCoercedDate<unknown>;
40
+ issueId: IssueId;
41
+ viaQaWolfAi: z.ZodBoolean;
42
+ url: z.ZodURL;
43
+ }, z.core.$strip>>;
44
+ nextCursor: z.ZodOptional<z.ZodString>;
45
+ }, z.core.$strip>;
46
+ };
47
+ //# sourceMappingURL=listComments.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listComments.d.ts","sourceRoot":"","sources":["../../../src/v1/issue/listComments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAKhD,eAAO,MAAM,6BAA6B,GACxC,OAAO,SAAS,cAAc,EAC9B,KAAK;IACL,KAAK,EAAE,OAAO,CAAC;CAChB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCA,CAAC"}
@@ -0,0 +1,33 @@
1
+ import { z } from "zod";
2
+ import { makePaginationInputFields, nextCursorSchema } from "../pagination.js";
3
+ import { makeIssueCommentResourceSchema } from "./commentResource.js";
4
+ export const makeListIssueCommentsContract = (ids) => {
5
+ const input = z.object({
6
+ issueId: ids.issue.describe("The bug report, blocker, or coverage request whose comments to list."),
7
+ ...makePaginationInputFields({ defaultLimit: 50, maxLimit: 200 }),
8
+ });
9
+ const output = z.object({
10
+ comments: z
11
+ .array(makeIssueCommentResourceSchema(ids))
12
+ .describe("The issue's comments, oldest first."),
13
+ nextCursor: nextCursorSchema,
14
+ });
15
+ return {
16
+ annotationJustifications: {
17
+ destructiveHint: "Does not edit the issue or its comments.",
18
+ openWorldHint: "Reads QA Wolf comments without reading or changing linked trackers.",
19
+ readOnlyHint: "Lists the comments on one issue.",
20
+ },
21
+ annotations: {
22
+ destructiveHint: false,
23
+ openWorldHint: false,
24
+ readOnlyHint: true,
25
+ },
26
+ description: "List the comments on a bug report, blocker (issue type `maintenance`), or coverage request, oldest first, with who wrote each one.",
27
+ input,
28
+ kind: "read",
29
+ name: "issue.listComments",
30
+ output,
31
+ };
32
+ };
33
+ //# sourceMappingURL=listComments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listComments.js","sourceRoot":"","sources":["../../../src/v1/issue/listComments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,yBAAyB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAE/E,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AAEtE,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAE3C,GAED,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,OAAO,EAAE,GAAG,CAAC,KAAK,CAAC,QAAQ,CACzB,sEAAsE,CACvE;QACD,GAAG,yBAAyB,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC;KAClE,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;QACtB,QAAQ,EAAE,CAAC;aACR,KAAK,CAAC,8BAA8B,CAAC,GAAG,CAAC,CAAC;aAC1C,QAAQ,CAAC,qCAAqC,CAAC;QAClD,UAAU,EAAE,gBAAgB;KAC7B,CAAC,CAAC;IAEH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EAAE,0CAA0C;YAC3D,aAAa,EACX,qEAAqE;YACvE,YAAY,EAAE,kCAAkC;SACjD;QACD,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,IAAI;SACnB;QACD,WAAW,EACT,oIAAoI;QACtI,KAAK;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,oBAAoB;QAC1B,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
@@ -22,6 +22,7 @@ export declare const makeConnectMcpServerContract: <WorkspaceId extends PublicId
22
22
  readonly name: "mcpServer.connect";
23
23
  readonly output: z.ZodObject<{
24
24
  authorizationUrl: z.ZodString;
25
+ connectionName: z.ZodString;
25
26
  serverName: z.ZodString;
26
27
  }, z.core.$strip>;
27
28
  };
@@ -1 +1 @@
1
- {"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../../src/v1/mcpServer/connect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAEhD,eAAO,MAAM,4BAA4B,GACvC,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;CAkDA,CAAC"}
1
+ {"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../../src/v1/mcpServer/connect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAEhD,eAAO,MAAM,4BAA4B,GACvC,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;CAuDA,CAAC"}
@@ -15,6 +15,9 @@ export const makeConnectMcpServerContract = (ids) => {
15
15
  .string()
16
16
  .url()
17
17
  .describe("The server's sign-in page. Show it to the user: the connection is ready once they approve access there."),
18
+ connectionName: z
19
+ .string()
20
+ .describe("The name of the workspace connection the sign-in authorizes. It differs from serverName when the workspace already reaches the server under another name and that connection needs authorizing again."),
18
21
  serverName: z.string().describe("The catalog name of the server."),
19
22
  });
20
23
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"connect.js","sourceRoot":"","sources":["../../../src/v1/mcpServer/connect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAE1C,GAED,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,MAAM,EAAE,CAAC;aACN,MAAM,EAAE;aACR,IAAI,EAAE;aACN,GAAG,CAAC,CAAC,CAAC;aACN,QAAQ,CACP,6EAA6E,CAC9E;QACH,WAAW,EAAE,GAAG,CAAC,SAAS;aACvB,QAAQ,EAAE;aACV,QAAQ,CACP,4GAA4G,CAC7G;KACJ,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;QACtB,gBAAgB,EAAE,CAAC;aAChB,MAAM,EAAE;aACR,GAAG,EAAE;aACL,QAAQ,CACP,yGAAyG,CAC1G;QACH,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;KACnE,CAAC,CAAC;IAEH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,qEAAqE;YACvE,aAAa,EACX,+DAA+D;YACjE,YAAY,EAAE,gDAAgD;SAC/D;QACD,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,IAAI;YACnB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,oJAAoJ;QACtJ,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,mBAAmB;QACzB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"connect.js","sourceRoot":"","sources":["../../../src/v1/mcpServer/connect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAE1C,GAED,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,MAAM,EAAE,CAAC;aACN,MAAM,EAAE;aACR,IAAI,EAAE;aACN,GAAG,CAAC,CAAC,CAAC;aACN,QAAQ,CACP,6EAA6E,CAC9E;QACH,WAAW,EAAE,GAAG,CAAC,SAAS;aACvB,QAAQ,EAAE;aACV,QAAQ,CACP,4GAA4G,CAC7G;KACJ,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;QACtB,gBAAgB,EAAE,CAAC;aAChB,MAAM,EAAE;aACR,GAAG,EAAE;aACL,QAAQ,CACP,yGAAyG,CAC1G;QACH,cAAc,EAAE,CAAC;aACd,MAAM,EAAE;aACR,QAAQ,CACP,uMAAuM,CACxM;QACH,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;KACnE,CAAC,CAAC;IAEH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,qEAAqE;YACvE,aAAa,EACX,+DAA+D;YACjE,YAAY,EAAE,gDAAgD;SAC/D;QACD,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,IAAI;YACnB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,oJAAoJ;QACtJ,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,mBAAmB;QACzB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
@@ -18,7 +18,7 @@ export declare const makeGetRunContract: <EnvironmentId extends PublicIdSchema,
18
18
  readonly openWorldHint: false;
19
19
  readonly readOnlyHint: true;
20
20
  };
21
- readonly description: "Get a run's status, per-flow results, links, and how many of its bugs are blocking.";
21
+ readonly description: "Get a run's status, per-flow results, links, and how many of its bugs are blocking. Call it without waitSeconds for an immediate answer. To wait on a run that is still queued or running, pass waitSeconds up to 45: the server holds the check open and answers the moment the status changes. A held check also waits while the run is still being created. After a held check returns, call again only while status is queued or running. Stop when status is passed, failed, canceled, or superseded.";
22
22
  readonly input: z.ZodObject<{
23
23
  flowStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
24
24
  failed: "failed";
@@ -28,6 +28,7 @@ export declare const makeGetRunContract: <EnvironmentId extends PublicIdSchema,
28
28
  canceled: "canceled";
29
29
  }>>>;
30
30
  runId: RunId;
31
+ waitSeconds: z.ZodOptional<z.ZodNumber>;
31
32
  }, z.core.$strip>;
32
33
  readonly kind: "read";
33
34
  readonly name: "run.get";
@@ -193,6 +194,11 @@ export declare const makeGetRunContract: <EnvironmentId extends PublicIdSchema,
193
194
  origin: z.ZodString;
194
195
  warnings: z.ZodArray<z.ZodString>;
195
196
  }, z.core.$strip>>;
197
+ waitSeconds: z.ZodOptional<z.ZodNumber>;
198
+ wokeOn: z.ZodOptional<z.ZodEnum<{
199
+ status: "status";
200
+ timeout: "timeout";
201
+ }>>;
196
202
  completedAt: z.ZodOptional<z.ZodISODateTime>;
197
203
  createdAt: z.ZodISODateTime;
198
204
  git: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/run/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAQhD,eAAO,MAAM,kBAAkB,GAC7B,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,OAAO,SAAS,cAAc,EAC9B,KAAK,SAAS,cAAc,EAC5B,YAAY,SAAS,cAAc,EACnC,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;IACX,UAAU,EAAE,YAAY,CAAC;CAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgHA,CAAC"}
1
+ {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/run/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAShD,eAAO,MAAM,kBAAkB,GAC7B,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,OAAO,SAAS,cAAc,EAC9B,KAAK,SAAS,cAAc,EAC5B,YAAY,SAAS,cAAc,EACnC,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;IACX,UAAU,EAAE,YAAY,CAAC;CAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+HA,CAAC"}
@@ -1,10 +1,12 @@
1
1
  import { z } from "zod";
2
+ import { maxAgentWaitSeconds, maxAgentWaitSecondsWithProgress, } from "../agent/wait.js";
2
3
  import { makeBuildResourceSchema } from "../build/resource.js";
3
4
  import { resource } from "../resource.js";
4
5
  import { makeFlowAttemptsSchema } from "./flowAttempts.js";
5
6
  import { makeFlowFailureSchema } from "./flowFailure.js";
6
7
  import { makeRunSummaryFields, publicRunStatusValues } from "./summary.js";
7
8
  import { runBuildVersionSchema, runSiteVersionSchema } from "./versions.js";
9
+ import { runWakeReasonSchema } from "./wait.js";
8
10
  export const makeGetRunContract = (ids) => {
9
11
  const flowStatus = z.enum(publicRunStatusValues);
10
12
  const input = z.object({
@@ -18,6 +20,12 @@ export const makeGetRunContract = (ids) => {
18
20
  "passed when a flaky flow is missing from the answer. Omit to " +
19
21
  "return every flow. The run-level fields are unaffected."),
20
22
  runId: ids.run,
23
+ waitSeconds: z
24
+ .number()
25
+ .int()
26
+ .min(0)
27
+ .optional()
28
+ .describe(`How long the server may hold this check open, in seconds, waiting for the run's status to change. Defaults to 0, which answers at once. A larger value clamps to ${maxAgentWaitSeconds}, or to ${maxAgentWaitSecondsWithProgress} when the call carries a progress token. Pass more than ${maxAgentWaitSeconds} only when your instructions say your client keeps the call open while progress arrives. A held check answers the moment the status changes, and at once when the run is already terminal. A held check also waits while the run is still being created.`),
21
29
  });
22
30
  const attempts = makeFlowAttemptsSchema(ids);
23
31
  // We return one flat entry per flow, each carrying its own status, rather
@@ -70,6 +78,12 @@ export const makeGetRunContract = (ids) => {
70
78
  siteVersions: z
71
79
  .array(runSiteVersionSchema)
72
80
  .describe("The versions the run's attempts saw on each site origin, with warnings. Empty when no attempt reported one."),
81
+ waitSeconds: z
82
+ .number()
83
+ .int()
84
+ .optional()
85
+ .describe("The hold this check was allowed, in seconds, after clamping. Absent when the check did not wait."),
86
+ wokeOn: runWakeReasonSchema.optional(),
73
87
  }, { urlFieldDescription: "Absolute URL of the run page." });
74
88
  return {
75
89
  annotationJustifications: {
@@ -82,7 +96,7 @@ export const makeGetRunContract = (ids) => {
82
96
  openWorldHint: false,
83
97
  readOnlyHint: true,
84
98
  },
85
- description: "Get a run's status, per-flow results, links, and how many of its bugs are blocking.",
99
+ description: `Get a run's status, per-flow results, links, and how many of its bugs are blocking. Call it without waitSeconds for an immediate answer. To wait on a run that is still queued or running, pass waitSeconds up to ${maxAgentWaitSeconds}: the server holds the check open and answers the moment the status changes. A held check also waits while the run is still being created. After a held check returns, call again only while status is queued or running. Stop when status is passed, failed, canceled, or superseded.`,
86
100
  input,
87
101
  kind: "read",
88
102
  name: "run.get",
@@ -1 +1 @@
1
- {"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/v1/run/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAG/D,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAE5E,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAMhC,GAOD,EAAE,EAAE;IACH,MAAM,UAAU,GAAG,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;IACjD,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,YAAY,EAAE,CAAC;aACZ,KAAK,CAAC,UAAU,CAAC;aACjB,GAAG,CAAC,CAAC,CAAC;aACN,QAAQ,EAAE;aACV,QAAQ,CACP,sEAAsE;YACpE,gEAAgE;YAChE,+DAA+D;YAC/D,+DAA+D;YAC/D,yDAAyD,CAC5D;QACH,KAAK,EAAE,GAAG,CAAC,GAAG;KACf,CAAC,CAAC;IAEH,MAAM,QAAQ,GAAG,sBAAsB,CAAC,GAAG,CAAC,CAAC;IAE7C,0EAA0E;IAC1E,8EAA8E;IAC9E,yEAAyE;IACzE,0EAA0E;IAC1E,4EAA4E;IAC5E,sEAAsE;IACtE,4BAA4B;IAC5B,0EAA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AI,EAAE,SAAS;QACf,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { z } from "zod";
2
+ export declare const runWakeReasonSchema: z.ZodEnum<{
3
+ status: "status";
4
+ timeout: "timeout";
5
+ }>;
6
+ export type RunWakeReason = z.infer<typeof runWakeReasonSchema>;
7
+ //# sourceMappingURL=wait.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wait.d.ts","sourceRoot":"","sources":["../../../src/v1/run/wait.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,mBAAmB;;;EAI7B,CAAC;AAEJ,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { z } from "zod";
2
+ export const runWakeReasonSchema = z
3
+ .enum(["status", "timeout"])
4
+ .describe('Why a held check answered. "status" means the run\'s status differs from the one the check started with, or the run was already terminal; "timeout" means the hold ran out with the status unchanged.');
5
+ //# sourceMappingURL=wait.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wait.js","sourceRoot":"","sources":["../../../src/v1/run/wait.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC;KACjC,IAAI,CAAC,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;KAC3B,QAAQ,CACP,uMAAuM,CACxM,CAAC"}
@@ -4,7 +4,7 @@
4
4
  * one thing: the list of public routes.
5
5
  */
6
6
  export { type AgentSessionStatus, agentSessionStatusSchema, } from "./agent/status.js";
7
- export { type AgentWakeReason, agentWakeReasonSchema, maxAgentWaitSeconds, } from "./agent/wait.js";
7
+ export { type AgentWakeReason, agentWakeReasonSchema, maxAgentWaitSeconds, maxAgentWaitSecondsWithProgress, } from "./agent/wait.js";
8
8
  export { type AuthConfigResponse, authConfigResponse } from "./auth/config.js";
9
9
  export type { AnyPublicApiContract, PublicApiContract, PublicApiContractAnnotationJustifications, PublicApiContractAnnotations, PublicApiContractKind, } from "./definition.js";
10
10
  export { type DeploymentVerdict, deploymentVerdictSchema, } from "./deployment/verdict.js";
@@ -19,6 +19,7 @@ export { type McpInputSchema, toMcpInputSchema } from "./mcpInputSchema.js";
19
19
  export { type PublicContractName, buildMcpToolDescription, } from "./mcpToolDescription.js";
20
20
  export { makeFlowSelectionSchema } from "./run/index.js";
21
21
  export { maxListedScreenshotAttempts } from "./run/listScreenshotComparisons.js";
22
+ export { type RunWakeReason, runWakeReasonSchema } from "./run/wait.js";
22
23
  export * from "./runnerReexports.js";
23
24
  export { makeTriggerResourceSchema, triggerActionKindSchema, triggerCadenceSchema, } from "./trigger/index.js";
24
25
  //# sourceMappingURL=sharedSchemas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sharedSchemas.d.ts","sourceRoot":"","sources":["../../src/v1/sharedSchemas.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EACL,KAAK,kBAAkB,EACvB,wBAAwB,GACzB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,eAAe,EACpB,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,KAAK,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC/E,YAAY,EACV,oBAAoB,EACpB,iBAAiB,EACjB,yCAAyC,EACzC,4BAA4B,EAC5B,qBAAqB,GACtB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,KAAK,iBAAiB,EACtB,uBAAuB,GACxB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,qBAAqB,EACrB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,GACnB,MAAM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  export { agentSessionStatusSchema, } from "./agent/status.js";
7
- export { agentWakeReasonSchema, maxAgentWaitSeconds, } from "./agent/wait.js";
7
+ export { agentWakeReasonSchema, maxAgentWaitSeconds, maxAgentWaitSecondsWithProgress, } from "./agent/wait.js";
8
8
  export { authConfigResponse } from "./auth/config.js";
9
9
  export { deploymentVerdictSchema, } from "./deployment/verdict.js";
10
10
  export { notTestedReasonSchema, triggerNoteSchema, verdictRunSchema, verdictStageSchema, } from "./deployment/verdictParts.js";
@@ -18,6 +18,7 @@ export { toMcpInputSchema } from "./mcpInputSchema.js";
18
18
  export { buildMcpToolDescription, } from "./mcpToolDescription.js";
19
19
  export { makeFlowSelectionSchema } from "./run/index.js";
20
20
  export { maxListedScreenshotAttempts } from "./run/listScreenshotComparisons.js";
21
+ export { runWakeReasonSchema } from "./run/wait.js";
21
22
  export * from "./runnerReexports.js";
22
23
  export { makeTriggerResourceSchema, triggerActionKindSchema, triggerCadenceSchema, } from "./trigger/index.js";
23
24
  //# sourceMappingURL=sharedSchemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sharedSchemas.js","sourceRoot":"","sources":["../../src/v1/sharedSchemas.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAEL,wBAAwB,GACzB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAA2B,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAQ/E,OAAO,EAEL,uBAAuB,GACxB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAKL,qBAAqB,EACrB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAuB,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAC1E,OAAO,EAAyB,gBAAgB,EAAE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jB,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,0BAA0B,GAC3B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAuB,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5E,OAAO,EAEL,uBAAuB,GACxB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,EAAsB,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACxE,cAAc,sBAAsB,CAAC;AACrC,OAAO,EACL,yBAAyB,EACzB,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,oBAAoB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qawolf/api-contracts",
3
- "version": "0.107.0",
3
+ "version": "0.109.0",
4
4
  "private": false,
5
5
  "description": "Versioned contracts for the QA Wolf public API",
6
6
  "repository": {