@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
@@ -15,6 +15,73 @@ export type PublicApiOutput<Api extends AnyPublicApiContract> = z.infer<Api["out
15
15
  export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, FlowId extends PublicIdSchema, RunId extends PublicIdSchema, IssueId extends PublicIdSchema = PublicIdSchema, WorkspaceId extends PublicIdSchema = PublicIdSchema, AiTaskId extends PublicIdSchema = PublicIdSchema, ChatSessionId extends PublicIdSchema = PublicIdSchema, TriggerId extends PublicIdSchema = PublicIdSchema, DeploymentId extends PublicIdSchema = PublicIdSchema, LegacyTriggerId extends PublicIdSchema = PublicIdSchema, RunAttemptId extends PublicIdSchema = PublicIdSchema, PromotionId extends PublicIdSchema = PublicIdSchema>(ids: Omit<PublicIdSchemasOf<EnvironmentId, FlowId, RunId, IssueId, WorkspaceId, AiTaskId, ChatSessionId, TriggerId, DeploymentId, LegacyTriggerId, RunAttemptId, PromotionId>, "runAttempt"> & {
16
16
  runAttempt?: RunAttemptId;
17
17
  }) => {
18
+ activity: {
19
+ wait: {
20
+ readonly annotationJustifications: {
21
+ readonly destructiveHint: "Does not cancel work, stop runs or edit tests.";
22
+ readonly openWorldHint: "Reads QA Wolf sessions and runs without posting to external services.";
23
+ readonly readOnlyHint: "Retrieves session replies and statuses and run statuses without sending work.";
24
+ };
25
+ readonly annotations: {
26
+ readonly destructiveHint: false;
27
+ readonly openWorldHint: false;
28
+ readonly readOnlyHint: true;
29
+ };
30
+ readonly description: "Wait on many QA Wolf AI (Tester) sessions and runs in one call. Pass every Tester session and run you are waiting on. The call returns as soon as any session replies or changes status or any run finishes, and reports every item with news. Send back open as the next call's input, and call again as soon as it returns. Pass waitSeconds above 45 only when your instructions say your client keeps the call open while progress arrives.";
31
+ readonly input: z.ZodObject<{
32
+ cursors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
33
+ runIds: z.ZodOptional<z.ZodArray<RunId>>;
34
+ sessionIds: z.ZodOptional<z.ZodArray<ChatSessionId>>;
35
+ waitSeconds: z.ZodOptional<z.ZodNumber>;
36
+ }, z.core.$strip>;
37
+ readonly kind: "read";
38
+ readonly name: "activity.wait";
39
+ readonly output: z.ZodObject<{
40
+ open: z.ZodObject<{
41
+ cursors: z.ZodRecord<z.ZodString, z.ZodString>;
42
+ runIds: z.ZodArray<RunId>;
43
+ sessionIds: z.ZodArray<ChatSessionId>;
44
+ }, z.core.$strip>;
45
+ runs: z.ZodArray<z.ZodObject<{
46
+ finished: z.ZodBoolean;
47
+ runId: RunId;
48
+ status: z.ZodEnum<{
49
+ failed: "failed";
50
+ queued: "queued";
51
+ running: "running";
52
+ passed: "passed";
53
+ canceled: "canceled";
54
+ superseded: "superseded";
55
+ "not-found": "not-found";
56
+ }>;
57
+ url: z.ZodOptional<z.ZodString>;
58
+ }, z.core.$strip>>;
59
+ sessions: z.ZodArray<z.ZodObject<{
60
+ nextCursor: z.ZodString;
61
+ replies: z.ZodArray<z.ZodObject<{
62
+ askedAt: z.ZodISODateTime;
63
+ choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
64
+ id: z.ZodString;
65
+ text: z.ZodString;
66
+ }, z.core.$strip>>;
67
+ sessionId: ChatSessionId;
68
+ status: z.ZodEnum<{
69
+ working: "working";
70
+ "waiting-for-you": "waiting-for-you";
71
+ completed: "completed";
72
+ failed: "failed";
73
+ cancelled: "cancelled";
74
+ "not-found": "not-found";
75
+ }>;
76
+ }, z.core.$strip>>;
77
+ waitSeconds: z.ZodNumber;
78
+ wokeOn: z.ZodEnum<{
79
+ timeout: "timeout";
80
+ activity: "activity";
81
+ }>;
82
+ }, z.core.$strip>;
83
+ };
84
+ };
18
85
  agent: {
19
86
  get: {
20
87
  readonly annotationJustifications: {
@@ -27,7 +94,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
27
94
  readonly openWorldHint: false;
28
95
  readonly readOnlyHint: true;
29
96
  };
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.";
97
+ 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
98
  readonly input: z.ZodObject<{
32
99
  cursor: z.ZodOptional<z.ZodString>;
33
100
  sessionId: ChatSessionId;
@@ -1802,8 +1869,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1802
1869
  runId: RunId;
1803
1870
  sessionId: z.ZodOptional<ChatSessionId>;
1804
1871
  status: z.ZodEnum<{
1805
- investigating: "investigating";
1806
1872
  finished: "finished";
1873
+ investigating: "investigating";
1807
1874
  "not-investigated": "not-investigated";
1808
1875
  "not-enabled": "not-enabled";
1809
1876
  }>;
@@ -1821,6 +1888,36 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1821
1888
  }, z.core.$strip>;
1822
1889
  };
1823
1890
  question: {
1891
+ answer: {
1892
+ readonly annotationJustifications: {
1893
+ 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.";
1894
+ readonly openWorldHint: "A bug report the investigation files from an answer can reach the workspace's configured integrations.";
1895
+ readonly readOnlyHint: "Records answers to the questions of a run's investigation.";
1896
+ };
1897
+ readonly annotations: {
1898
+ readonly destructiveHint: true;
1899
+ readonly openWorldHint: true;
1900
+ readonly readOnlyHint: false;
1901
+ };
1902
+ readonly description: string;
1903
+ readonly input: z.ZodObject<{
1904
+ answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1905
+ replies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1906
+ runId: RunId;
1907
+ }, z.core.$strip>;
1908
+ readonly kind: "write";
1909
+ readonly name: "investigation.question.answer";
1910
+ readonly output: z.ZodObject<{
1911
+ answeredFindingIds: z.ZodArray<z.ZodString>;
1912
+ refused: z.ZodArray<z.ZodObject<{
1913
+ findingId: z.ZodString;
1914
+ message: z.ZodString;
1915
+ reason: z.ZodString;
1916
+ }, z.core.$strip>>;
1917
+ runId: RunId;
1918
+ url: z.ZodURL;
1919
+ }, z.core.$strip>;
1920
+ };
1824
1921
  find: {
1825
1922
  readonly annotationJustifications: {
1826
1923
  readonly destructiveHint: "Does not answer, dismiss or change any question.";
@@ -2000,6 +2097,46 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2000
2097
  }, z.core.$strip>;
2001
2098
  }, z.core.$strip>;
2002
2099
  };
2100
+ comment: {
2101
+ readonly annotationJustifications: {
2102
+ readonly destructiveHint: "Adds a comment without removing or changing anything else on the issue.";
2103
+ 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.";
2104
+ readonly readOnlyHint: "Records a comment on the issue.";
2105
+ };
2106
+ readonly annotations: {
2107
+ readonly destructiveHint: false;
2108
+ readonly openWorldHint: false;
2109
+ readonly readOnlyHint: false;
2110
+ };
2111
+ readonly description: string;
2112
+ readonly input: z.ZodObject<{
2113
+ body: z.ZodString;
2114
+ issueId: IssueId;
2115
+ }, z.core.$strip>;
2116
+ readonly kind: "write";
2117
+ readonly name: "issue.comment";
2118
+ readonly output: z.ZodObject<{
2119
+ comment: z.ZodObject<{
2120
+ author: z.ZodDiscriminatedUnion<[z.ZodObject<{
2121
+ email: z.ZodString;
2122
+ name: z.ZodOptional<z.ZodString>;
2123
+ type: z.ZodLiteral<"user">;
2124
+ }, z.core.$strip>, z.ZodObject<{
2125
+ type: z.ZodLiteral<"former-user">;
2126
+ }, z.core.$strip>, z.ZodObject<{
2127
+ type: z.ZodLiteral<"team-api-key">;
2128
+ }, z.core.$strip>, z.ZodObject<{
2129
+ type: z.ZodLiteral<"system">;
2130
+ }, z.core.$strip>], "type">;
2131
+ body: z.ZodString;
2132
+ commentId: z.ZodString;
2133
+ createdAt: z.ZodCoercedDate<unknown>;
2134
+ issueId: IssueId;
2135
+ viaQaWolfAi: z.ZodBoolean;
2136
+ url: z.ZodURL;
2137
+ }, z.core.$strip>;
2138
+ }, z.core.$strip>;
2139
+ };
2003
2140
  create: {
2004
2141
  readonly annotationJustifications: {
2005
2142
  readonly destructiveHint: "Configured notifications can send irreversible messages even though the QA Wolf issue itself is new.";
@@ -2402,6 +2539,48 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2402
2539
  nextCursor: z.ZodOptional<z.ZodString>;
2403
2540
  }, z.core.$strip>;
2404
2541
  };
2542
+ listComments: {
2543
+ readonly annotationJustifications: {
2544
+ readonly destructiveHint: "Does not edit the issue or its comments.";
2545
+ readonly openWorldHint: "Reads QA Wolf comments without reading or changing linked trackers.";
2546
+ readonly readOnlyHint: "Lists the comments on one issue.";
2547
+ };
2548
+ readonly annotations: {
2549
+ readonly destructiveHint: false;
2550
+ readonly openWorldHint: false;
2551
+ readonly readOnlyHint: true;
2552
+ };
2553
+ readonly description: "List the comments on a bug report, blocker (issue type `maintenance`), or coverage request, oldest first, with who wrote each one.";
2554
+ readonly input: z.ZodObject<{
2555
+ cursor: z.ZodOptional<z.ZodString>;
2556
+ limit: z.ZodDefault<z.ZodNumber>;
2557
+ issueId: IssueId;
2558
+ }, z.core.$strip>;
2559
+ readonly kind: "read";
2560
+ readonly name: "issue.listComments";
2561
+ readonly output: z.ZodObject<{
2562
+ comments: z.ZodArray<z.ZodObject<{
2563
+ author: z.ZodDiscriminatedUnion<[z.ZodObject<{
2564
+ email: z.ZodString;
2565
+ name: z.ZodOptional<z.ZodString>;
2566
+ type: z.ZodLiteral<"user">;
2567
+ }, z.core.$strip>, z.ZodObject<{
2568
+ type: z.ZodLiteral<"former-user">;
2569
+ }, z.core.$strip>, z.ZodObject<{
2570
+ type: z.ZodLiteral<"team-api-key">;
2571
+ }, z.core.$strip>, z.ZodObject<{
2572
+ type: z.ZodLiteral<"system">;
2573
+ }, z.core.$strip>], "type">;
2574
+ body: z.ZodString;
2575
+ commentId: z.ZodString;
2576
+ createdAt: z.ZodCoercedDate<unknown>;
2577
+ issueId: IssueId;
2578
+ viaQaWolfAi: z.ZodBoolean;
2579
+ url: z.ZodURL;
2580
+ }, z.core.$strip>>;
2581
+ nextCursor: z.ZodOptional<z.ZodString>;
2582
+ }, z.core.$strip>;
2583
+ };
2405
2584
  removeFlows: {
2406
2585
  readonly annotationJustifications: {
2407
2586
  readonly destructiveHint: "Deletes existing coverage associations while leaving already-unassociated flows unchanged.";
@@ -2706,6 +2885,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2706
2885
  readonly name: "mcpServer.connect";
2707
2886
  readonly output: z.ZodObject<{
2708
2887
  authorizationUrl: z.ZodString;
2888
+ connectionName: z.ZodString;
2709
2889
  serverName: z.ZodString;
2710
2890
  }, z.core.$strip>;
2711
2891
  };
@@ -3063,7 +3243,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3063
3243
  readonly openWorldHint: false;
3064
3244
  readonly readOnlyHint: true;
3065
3245
  };
3066
- readonly description: "Get a run's status, per-flow results, links, and how many of its bugs are blocking.";
3246
+ 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
3247
  readonly input: z.ZodObject<{
3068
3248
  flowStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3069
3249
  failed: "failed";
@@ -3073,6 +3253,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3073
3253
  canceled: "canceled";
3074
3254
  }>>>;
3075
3255
  runId: RunId;
3256
+ waitSeconds: z.ZodOptional<z.ZodNumber>;
3076
3257
  }, z.core.$strip>;
3077
3258
  readonly kind: "read";
3078
3259
  readonly name: "run.get";
@@ -3238,6 +3419,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3238
3419
  origin: z.ZodString;
3239
3420
  warnings: z.ZodArray<z.ZodString>;
3240
3421
  }, z.core.$strip>>;
3422
+ waitSeconds: z.ZodOptional<z.ZodNumber>;
3423
+ wokeOn: z.ZodOptional<z.ZodEnum<{
3424
+ status: "status";
3425
+ timeout: "timeout";
3426
+ }>>;
3241
3427
  completedAt: z.ZodOptional<z.ZodISODateTime>;
3242
3428
  createdAt: z.ZodISODateTime;
3243
3429
  git: z.ZodObject<{
@@ -4638,6 +4824,12 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4638
4824
  readonly description: string;
4639
4825
  readonly input: z.ZodDiscriminatedUnion<[z.ZodObject<{
4640
4826
  kind: z.ZodLiteral<"schedule">;
4827
+ minuteOfHour: z.ZodOptional<z.ZodNumber>;
4828
+ timeOfDay: z.ZodOptional<z.ZodString>;
4829
+ timezoneId: z.ZodOptional<z.ZodString>;
4830
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
4831
+ every: z.ZodOptional<z.ZodNumber>;
4832
+ startDate: z.ZodOptional<z.ZodString>;
4641
4833
  action: z.ZodObject<{
4642
4834
  flowIds: z.ZodDefault<z.ZodArray<FlowId>>;
4643
4835
  instructions: z.ZodOptional<z.ZodString>;
@@ -4654,6 +4846,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4654
4846
  hourly: "hourly";
4655
4847
  daily: "daily";
4656
4848
  weekly: "weekly";
4849
+ monthly: "monthly";
4657
4850
  }>;
4658
4851
  dayOfWeek: z.ZodOptional<z.ZodEnum<{
4659
4852
  monday: "monday";
@@ -4674,9 +4867,6 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4674
4867
  sunday: "sunday";
4675
4868
  }>>>;
4676
4869
  environmentId: PublicIdSchema;
4677
- minuteOfHour: z.ZodOptional<z.ZodNumber>;
4678
- timeOfDay: z.ZodOptional<z.ZodString>;
4679
- timezoneId: z.ZodOptional<z.ZodString>;
4680
4870
  name: z.ZodString;
4681
4871
  workspaceId: z.ZodOptional<WorkspaceId>;
4682
4872
  }, z.core.$strip>, z.ZodObject<{
@@ -4708,6 +4898,12 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4708
4898
  trigger: z.ZodObject<{
4709
4899
  configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
4710
4900
  kind: z.ZodLiteral<"schedule">;
4901
+ minuteOfHour: z.ZodOptional<z.ZodNumber>;
4902
+ timeOfDay: z.ZodOptional<z.ZodString>;
4903
+ timezoneId: z.ZodOptional<z.ZodString>;
4904
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
4905
+ every: z.ZodOptional<z.ZodNumber>;
4906
+ startDate: z.ZodOptional<z.ZodString>;
4711
4907
  action: z.ZodObject<{
4712
4908
  flowIds: z.ZodDefault<z.ZodArray<FlowId>>;
4713
4909
  instructions: z.ZodOptional<z.ZodString>;
@@ -4724,6 +4920,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4724
4920
  hourly: "hourly";
4725
4921
  daily: "daily";
4726
4922
  weekly: "weekly";
4923
+ monthly: "monthly";
4727
4924
  }>;
4728
4925
  dayOfWeek: z.ZodOptional<z.ZodEnum<{
4729
4926
  monday: "monday";
@@ -4744,9 +4941,6 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4744
4941
  sunday: "sunday";
4745
4942
  }>>>;
4746
4943
  environmentId: EnvironmentId;
4747
- minuteOfHour: z.ZodOptional<z.ZodNumber>;
4748
- timeOfDay: z.ZodOptional<z.ZodString>;
4749
- timezoneId: z.ZodOptional<z.ZodString>;
4750
4944
  }, z.core.$strip>, z.ZodObject<{
4751
4945
  kind: z.ZodLiteral<"deployment">;
4752
4946
  action: z.ZodObject<{
@@ -4826,6 +5020,12 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4826
5020
  triggers: z.ZodArray<z.ZodObject<{
4827
5021
  configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
4828
5022
  kind: z.ZodLiteral<"schedule">;
5023
+ minuteOfHour: z.ZodOptional<z.ZodNumber>;
5024
+ timeOfDay: z.ZodOptional<z.ZodString>;
5025
+ timezoneId: z.ZodOptional<z.ZodString>;
5026
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
5027
+ every: z.ZodOptional<z.ZodNumber>;
5028
+ startDate: z.ZodOptional<z.ZodString>;
4829
5029
  action: z.ZodObject<{
4830
5030
  flowIds: z.ZodDefault<z.ZodArray<FlowId>>;
4831
5031
  instructions: z.ZodOptional<z.ZodString>;
@@ -4842,6 +5042,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4842
5042
  hourly: "hourly";
4843
5043
  daily: "daily";
4844
5044
  weekly: "weekly";
5045
+ monthly: "monthly";
4845
5046
  }>;
4846
5047
  dayOfWeek: z.ZodOptional<z.ZodEnum<{
4847
5048
  monday: "monday";
@@ -4862,9 +5063,6 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4862
5063
  sunday: "sunday";
4863
5064
  }>>>;
4864
5065
  environmentId: EnvironmentId;
4865
- minuteOfHour: z.ZodOptional<z.ZodNumber>;
4866
- timeOfDay: z.ZodOptional<z.ZodString>;
4867
- timezoneId: z.ZodOptional<z.ZodString>;
4868
5066
  }, z.core.$strip>, z.ZodObject<{
4869
5067
  kind: z.ZodLiteral<"deployment">;
4870
5068
  action: z.ZodObject<{
@@ -4922,6 +5120,12 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4922
5120
  trigger: z.ZodObject<{
4923
5121
  configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
4924
5122
  kind: z.ZodLiteral<"schedule">;
5123
+ minuteOfHour: z.ZodOptional<z.ZodNumber>;
5124
+ timeOfDay: z.ZodOptional<z.ZodString>;
5125
+ timezoneId: z.ZodOptional<z.ZodString>;
5126
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
5127
+ every: z.ZodOptional<z.ZodNumber>;
5128
+ startDate: z.ZodOptional<z.ZodString>;
4925
5129
  action: z.ZodObject<{
4926
5130
  flowIds: z.ZodDefault<z.ZodArray<FlowId>>;
4927
5131
  instructions: z.ZodOptional<z.ZodString>;
@@ -4938,6 +5142,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4938
5142
  hourly: "hourly";
4939
5143
  daily: "daily";
4940
5144
  weekly: "weekly";
5145
+ monthly: "monthly";
4941
5146
  }>;
4942
5147
  dayOfWeek: z.ZodOptional<z.ZodEnum<{
4943
5148
  monday: "monday";
@@ -4958,9 +5163,6 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4958
5163
  sunday: "sunday";
4959
5164
  }>>>;
4960
5165
  environmentId: EnvironmentId;
4961
- minuteOfHour: z.ZodOptional<z.ZodNumber>;
4962
- timeOfDay: z.ZodOptional<z.ZodString>;
4963
- timezoneId: z.ZodOptional<z.ZodString>;
4964
5166
  }, z.core.$strip>, z.ZodObject<{
4965
5167
  kind: z.ZodLiteral<"deployment">;
4966
5168
  action: z.ZodObject<{
@@ -5018,6 +5220,12 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
5018
5220
  trigger: z.ZodObject<{
5019
5221
  configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
5020
5222
  kind: z.ZodLiteral<"schedule">;
5223
+ minuteOfHour: z.ZodOptional<z.ZodNumber>;
5224
+ timeOfDay: z.ZodOptional<z.ZodString>;
5225
+ timezoneId: z.ZodOptional<z.ZodString>;
5226
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
5227
+ every: z.ZodOptional<z.ZodNumber>;
5228
+ startDate: z.ZodOptional<z.ZodString>;
5021
5229
  action: z.ZodObject<{
5022
5230
  flowIds: z.ZodDefault<z.ZodArray<FlowId>>;
5023
5231
  instructions: z.ZodOptional<z.ZodString>;
@@ -5034,6 +5242,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
5034
5242
  hourly: "hourly";
5035
5243
  daily: "daily";
5036
5244
  weekly: "weekly";
5245
+ monthly: "monthly";
5037
5246
  }>;
5038
5247
  dayOfWeek: z.ZodOptional<z.ZodEnum<{
5039
5248
  monday: "monday";
@@ -5054,9 +5263,6 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
5054
5263
  sunday: "sunday";
5055
5264
  }>>>;
5056
5265
  environmentId: EnvironmentId;
5057
- minuteOfHour: z.ZodOptional<z.ZodNumber>;
5058
- timeOfDay: z.ZodOptional<z.ZodString>;
5059
- timezoneId: z.ZodOptional<z.ZodString>;
5060
5266
  }, z.core.$strip>, z.ZodObject<{
5061
5267
  kind: z.ZodLiteral<"deployment">;
5062
5268
  action: z.ZodObject<{
@@ -5114,6 +5320,12 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
5114
5320
  trigger: z.ZodObject<{
5115
5321
  configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
5116
5322
  kind: z.ZodLiteral<"schedule">;
5323
+ minuteOfHour: z.ZodOptional<z.ZodNumber>;
5324
+ timeOfDay: z.ZodOptional<z.ZodString>;
5325
+ timezoneId: z.ZodOptional<z.ZodString>;
5326
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
5327
+ every: z.ZodOptional<z.ZodNumber>;
5328
+ startDate: z.ZodOptional<z.ZodString>;
5117
5329
  action: z.ZodObject<{
5118
5330
  flowIds: z.ZodDefault<z.ZodArray<FlowId>>;
5119
5331
  instructions: z.ZodOptional<z.ZodString>;
@@ -5130,6 +5342,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
5130
5342
  hourly: "hourly";
5131
5343
  daily: "daily";
5132
5344
  weekly: "weekly";
5345
+ monthly: "monthly";
5133
5346
  }>;
5134
5347
  dayOfWeek: z.ZodOptional<z.ZodEnum<{
5135
5348
  monday: "monday";
@@ -5150,9 +5363,6 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
5150
5363
  sunday: "sunday";
5151
5364
  }>>>;
5152
5365
  environmentId: EnvironmentId;
5153
- minuteOfHour: z.ZodOptional<z.ZodNumber>;
5154
- timeOfDay: z.ZodOptional<z.ZodString>;
5155
- timezoneId: z.ZodOptional<z.ZodString>;
5156
5366
  }, z.core.$strip>, z.ZodObject<{
5157
5367
  kind: z.ZodLiteral<"deployment">;
5158
5368
  action: z.ZodObject<{
@@ -5203,6 +5413,12 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
5203
5413
  readonly description: string;
5204
5414
  readonly input: z.ZodDiscriminatedUnion<[z.ZodObject<{
5205
5415
  kind: z.ZodLiteral<"schedule">;
5416
+ minuteOfHour: z.ZodOptional<z.ZodNumber>;
5417
+ timeOfDay: z.ZodOptional<z.ZodString>;
5418
+ timezoneId: z.ZodOptional<z.ZodString>;
5419
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
5420
+ every: z.ZodOptional<z.ZodNumber>;
5421
+ startDate: z.ZodOptional<z.ZodString>;
5206
5422
  action: z.ZodObject<{
5207
5423
  flowIds: z.ZodDefault<z.ZodArray<FlowId>>;
5208
5424
  instructions: z.ZodOptional<z.ZodString>;
@@ -5219,6 +5435,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
5219
5435
  hourly: "hourly";
5220
5436
  daily: "daily";
5221
5437
  weekly: "weekly";
5438
+ monthly: "monthly";
5222
5439
  }>;
5223
5440
  dayOfWeek: z.ZodOptional<z.ZodEnum<{
5224
5441
  monday: "monday";
@@ -5239,9 +5456,6 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
5239
5456
  sunday: "sunday";
5240
5457
  }>>>;
5241
5458
  environmentId: PublicIdSchema;
5242
- minuteOfHour: z.ZodOptional<z.ZodNumber>;
5243
- timeOfDay: z.ZodOptional<z.ZodString>;
5244
- timezoneId: z.ZodOptional<z.ZodString>;
5245
5459
  name: z.ZodString;
5246
5460
  triggerId: TriggerId;
5247
5461
  }, z.core.$strip>, z.ZodObject<{
@@ -5273,6 +5487,12 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
5273
5487
  trigger: z.ZodObject<{
5274
5488
  configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
5275
5489
  kind: z.ZodLiteral<"schedule">;
5490
+ minuteOfHour: z.ZodOptional<z.ZodNumber>;
5491
+ timeOfDay: z.ZodOptional<z.ZodString>;
5492
+ timezoneId: z.ZodOptional<z.ZodString>;
5493
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
5494
+ every: z.ZodOptional<z.ZodNumber>;
5495
+ startDate: z.ZodOptional<z.ZodString>;
5276
5496
  action: z.ZodObject<{
5277
5497
  flowIds: z.ZodDefault<z.ZodArray<FlowId>>;
5278
5498
  instructions: z.ZodOptional<z.ZodString>;
@@ -5289,6 +5509,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
5289
5509
  hourly: "hourly";
5290
5510
  daily: "daily";
5291
5511
  weekly: "weekly";
5512
+ monthly: "monthly";
5292
5513
  }>;
5293
5514
  dayOfWeek: z.ZodOptional<z.ZodEnum<{
5294
5515
  monday: "monday";
@@ -5309,9 +5530,6 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
5309
5530
  sunday: "sunday";
5310
5531
  }>>>;
5311
5532
  environmentId: EnvironmentId;
5312
- minuteOfHour: z.ZodOptional<z.ZodNumber>;
5313
- timeOfDay: z.ZodOptional<z.ZodString>;
5314
- timezoneId: z.ZodOptional<z.ZodString>;
5315
5533
  }, z.core.$strip>, z.ZodObject<{
5316
5534
  kind: z.ZodLiteral<"deployment">;
5317
5535
  action: z.ZodObject<{
@@ -5351,6 +5569,73 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
5351
5569
  };
5352
5570
  };
5353
5571
  export declare const publicContractsV1: {
5572
+ activity: {
5573
+ wait: {
5574
+ readonly annotationJustifications: {
5575
+ readonly destructiveHint: "Does not cancel work, stop runs or edit tests.";
5576
+ readonly openWorldHint: "Reads QA Wolf sessions and runs without posting to external services.";
5577
+ readonly readOnlyHint: "Retrieves session replies and statuses and run statuses without sending work.";
5578
+ };
5579
+ readonly annotations: {
5580
+ readonly destructiveHint: false;
5581
+ readonly openWorldHint: false;
5582
+ readonly readOnlyHint: true;
5583
+ };
5584
+ readonly description: "Wait on many QA Wolf AI (Tester) sessions and runs in one call. Pass every Tester session and run you are waiting on. The call returns as soon as any session replies or changes status or any run finishes, and reports every item with news. Send back open as the next call's input, and call again as soon as it returns. Pass waitSeconds above 45 only when your instructions say your client keeps the call open while progress arrives.";
5585
+ readonly input: z.ZodObject<{
5586
+ cursors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5587
+ runIds: z.ZodOptional<z.ZodArray<PublicIdSchema>>;
5588
+ sessionIds: z.ZodOptional<z.ZodArray<PublicIdSchema>>;
5589
+ waitSeconds: z.ZodOptional<z.ZodNumber>;
5590
+ }, z.core.$strip>;
5591
+ readonly kind: "read";
5592
+ readonly name: "activity.wait";
5593
+ readonly output: z.ZodObject<{
5594
+ open: z.ZodObject<{
5595
+ cursors: z.ZodRecord<z.ZodString, z.ZodString>;
5596
+ runIds: z.ZodArray<PublicIdSchema>;
5597
+ sessionIds: z.ZodArray<PublicIdSchema>;
5598
+ }, z.core.$strip>;
5599
+ runs: z.ZodArray<z.ZodObject<{
5600
+ finished: z.ZodBoolean;
5601
+ runId: PublicIdSchema;
5602
+ status: z.ZodEnum<{
5603
+ failed: "failed";
5604
+ queued: "queued";
5605
+ running: "running";
5606
+ passed: "passed";
5607
+ canceled: "canceled";
5608
+ superseded: "superseded";
5609
+ "not-found": "not-found";
5610
+ }>;
5611
+ url: z.ZodOptional<z.ZodString>;
5612
+ }, z.core.$strip>>;
5613
+ sessions: z.ZodArray<z.ZodObject<{
5614
+ nextCursor: z.ZodString;
5615
+ replies: z.ZodArray<z.ZodObject<{
5616
+ askedAt: z.ZodISODateTime;
5617
+ choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
5618
+ id: z.ZodString;
5619
+ text: z.ZodString;
5620
+ }, z.core.$strip>>;
5621
+ sessionId: PublicIdSchema;
5622
+ status: z.ZodEnum<{
5623
+ working: "working";
5624
+ "waiting-for-you": "waiting-for-you";
5625
+ completed: "completed";
5626
+ failed: "failed";
5627
+ cancelled: "cancelled";
5628
+ "not-found": "not-found";
5629
+ }>;
5630
+ }, z.core.$strip>>;
5631
+ waitSeconds: z.ZodNumber;
5632
+ wokeOn: z.ZodEnum<{
5633
+ timeout: "timeout";
5634
+ activity: "activity";
5635
+ }>;
5636
+ }, z.core.$strip>;
5637
+ };
5638
+ };
5354
5639
  agent: {
5355
5640
  get: {
5356
5641
  readonly annotationJustifications: {
@@ -5363,7 +5648,7 @@ export declare const publicContractsV1: {
5363
5648
  readonly openWorldHint: false;
5364
5649
  readonly readOnlyHint: true;
5365
5650
  };
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.";
5651
+ 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
5652
  readonly input: z.ZodObject<{
5368
5653
  cursor: z.ZodOptional<z.ZodString>;
5369
5654
  sessionId: PublicIdSchema;
@@ -7138,8 +7423,8 @@ export declare const publicContractsV1: {
7138
7423
  runId: PublicIdSchema;
7139
7424
  sessionId: z.ZodOptional<PublicIdSchema>;
7140
7425
  status: z.ZodEnum<{
7141
- investigating: "investigating";
7142
7426
  finished: "finished";
7427
+ investigating: "investigating";
7143
7428
  "not-investigated": "not-investigated";
7144
7429
  "not-enabled": "not-enabled";
7145
7430
  }>;
@@ -7157,6 +7442,36 @@ export declare const publicContractsV1: {
7157
7442
  }, z.core.$strip>;
7158
7443
  };
7159
7444
  question: {
7445
+ answer: {
7446
+ readonly annotationJustifications: {
7447
+ 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.";
7448
+ readonly openWorldHint: "A bug report the investigation files from an answer can reach the workspace's configured integrations.";
7449
+ readonly readOnlyHint: "Records answers to the questions of a run's investigation.";
7450
+ };
7451
+ readonly annotations: {
7452
+ readonly destructiveHint: true;
7453
+ readonly openWorldHint: true;
7454
+ readonly readOnlyHint: false;
7455
+ };
7456
+ readonly description: string;
7457
+ readonly input: z.ZodObject<{
7458
+ answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7459
+ replies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7460
+ runId: PublicIdSchema;
7461
+ }, z.core.$strip>;
7462
+ readonly kind: "write";
7463
+ readonly name: "investigation.question.answer";
7464
+ readonly output: z.ZodObject<{
7465
+ answeredFindingIds: z.ZodArray<z.ZodString>;
7466
+ refused: z.ZodArray<z.ZodObject<{
7467
+ findingId: z.ZodString;
7468
+ message: z.ZodString;
7469
+ reason: z.ZodString;
7470
+ }, z.core.$strip>>;
7471
+ runId: PublicIdSchema;
7472
+ url: z.ZodURL;
7473
+ }, z.core.$strip>;
7474
+ };
7160
7475
  find: {
7161
7476
  readonly annotationJustifications: {
7162
7477
  readonly destructiveHint: "Does not answer, dismiss or change any question.";
@@ -7336,6 +7651,46 @@ export declare const publicContractsV1: {
7336
7651
  }, z.core.$strip>;
7337
7652
  }, z.core.$strip>;
7338
7653
  };
7654
+ comment: {
7655
+ readonly annotationJustifications: {
7656
+ readonly destructiveHint: "Adds a comment without removing or changing anything else on the issue.";
7657
+ 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.";
7658
+ readonly readOnlyHint: "Records a comment on the issue.";
7659
+ };
7660
+ readonly annotations: {
7661
+ readonly destructiveHint: false;
7662
+ readonly openWorldHint: false;
7663
+ readonly readOnlyHint: false;
7664
+ };
7665
+ readonly description: string;
7666
+ readonly input: z.ZodObject<{
7667
+ body: z.ZodString;
7668
+ issueId: PublicIdSchema;
7669
+ }, z.core.$strip>;
7670
+ readonly kind: "write";
7671
+ readonly name: "issue.comment";
7672
+ readonly output: z.ZodObject<{
7673
+ comment: z.ZodObject<{
7674
+ author: z.ZodDiscriminatedUnion<[z.ZodObject<{
7675
+ email: z.ZodString;
7676
+ name: z.ZodOptional<z.ZodString>;
7677
+ type: z.ZodLiteral<"user">;
7678
+ }, z.core.$strip>, z.ZodObject<{
7679
+ type: z.ZodLiteral<"former-user">;
7680
+ }, z.core.$strip>, z.ZodObject<{
7681
+ type: z.ZodLiteral<"team-api-key">;
7682
+ }, z.core.$strip>, z.ZodObject<{
7683
+ type: z.ZodLiteral<"system">;
7684
+ }, z.core.$strip>], "type">;
7685
+ body: z.ZodString;
7686
+ commentId: z.ZodString;
7687
+ createdAt: z.ZodCoercedDate<unknown>;
7688
+ issueId: PublicIdSchema;
7689
+ viaQaWolfAi: z.ZodBoolean;
7690
+ url: z.ZodURL;
7691
+ }, z.core.$strip>;
7692
+ }, z.core.$strip>;
7693
+ };
7339
7694
  create: {
7340
7695
  readonly annotationJustifications: {
7341
7696
  readonly destructiveHint: "Configured notifications can send irreversible messages even though the QA Wolf issue itself is new.";
@@ -7738,6 +8093,48 @@ export declare const publicContractsV1: {
7738
8093
  nextCursor: z.ZodOptional<z.ZodString>;
7739
8094
  }, z.core.$strip>;
7740
8095
  };
8096
+ listComments: {
8097
+ readonly annotationJustifications: {
8098
+ readonly destructiveHint: "Does not edit the issue or its comments.";
8099
+ readonly openWorldHint: "Reads QA Wolf comments without reading or changing linked trackers.";
8100
+ readonly readOnlyHint: "Lists the comments on one issue.";
8101
+ };
8102
+ readonly annotations: {
8103
+ readonly destructiveHint: false;
8104
+ readonly openWorldHint: false;
8105
+ readonly readOnlyHint: true;
8106
+ };
8107
+ readonly description: "List the comments on a bug report, blocker (issue type `maintenance`), or coverage request, oldest first, with who wrote each one.";
8108
+ readonly input: z.ZodObject<{
8109
+ cursor: z.ZodOptional<z.ZodString>;
8110
+ limit: z.ZodDefault<z.ZodNumber>;
8111
+ issueId: PublicIdSchema;
8112
+ }, z.core.$strip>;
8113
+ readonly kind: "read";
8114
+ readonly name: "issue.listComments";
8115
+ readonly output: z.ZodObject<{
8116
+ comments: z.ZodArray<z.ZodObject<{
8117
+ author: z.ZodDiscriminatedUnion<[z.ZodObject<{
8118
+ email: z.ZodString;
8119
+ name: z.ZodOptional<z.ZodString>;
8120
+ type: z.ZodLiteral<"user">;
8121
+ }, z.core.$strip>, z.ZodObject<{
8122
+ type: z.ZodLiteral<"former-user">;
8123
+ }, z.core.$strip>, z.ZodObject<{
8124
+ type: z.ZodLiteral<"team-api-key">;
8125
+ }, z.core.$strip>, z.ZodObject<{
8126
+ type: z.ZodLiteral<"system">;
8127
+ }, z.core.$strip>], "type">;
8128
+ body: z.ZodString;
8129
+ commentId: z.ZodString;
8130
+ createdAt: z.ZodCoercedDate<unknown>;
8131
+ issueId: PublicIdSchema;
8132
+ viaQaWolfAi: z.ZodBoolean;
8133
+ url: z.ZodURL;
8134
+ }, z.core.$strip>>;
8135
+ nextCursor: z.ZodOptional<z.ZodString>;
8136
+ }, z.core.$strip>;
8137
+ };
7741
8138
  removeFlows: {
7742
8139
  readonly annotationJustifications: {
7743
8140
  readonly destructiveHint: "Deletes existing coverage associations while leaving already-unassociated flows unchanged.";
@@ -8042,6 +8439,7 @@ export declare const publicContractsV1: {
8042
8439
  readonly name: "mcpServer.connect";
8043
8440
  readonly output: z.ZodObject<{
8044
8441
  authorizationUrl: z.ZodString;
8442
+ connectionName: z.ZodString;
8045
8443
  serverName: z.ZodString;
8046
8444
  }, z.core.$strip>;
8047
8445
  };
@@ -8399,7 +8797,7 @@ export declare const publicContractsV1: {
8399
8797
  readonly openWorldHint: false;
8400
8798
  readonly readOnlyHint: true;
8401
8799
  };
8402
- readonly description: "Get a run's status, per-flow results, links, and how many of its bugs are blocking.";
8800
+ 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
8801
  readonly input: z.ZodObject<{
8404
8802
  flowStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
8405
8803
  failed: "failed";
@@ -8409,6 +8807,7 @@ export declare const publicContractsV1: {
8409
8807
  canceled: "canceled";
8410
8808
  }>>>;
8411
8809
  runId: PublicIdSchema;
8810
+ waitSeconds: z.ZodOptional<z.ZodNumber>;
8412
8811
  }, z.core.$strip>;
8413
8812
  readonly kind: "read";
8414
8813
  readonly name: "run.get";
@@ -8574,6 +8973,11 @@ export declare const publicContractsV1: {
8574
8973
  origin: z.ZodString;
8575
8974
  warnings: z.ZodArray<z.ZodString>;
8576
8975
  }, z.core.$strip>>;
8976
+ waitSeconds: z.ZodOptional<z.ZodNumber>;
8977
+ wokeOn: z.ZodOptional<z.ZodEnum<{
8978
+ status: "status";
8979
+ timeout: "timeout";
8980
+ }>>;
8577
8981
  completedAt: z.ZodOptional<z.ZodISODateTime>;
8578
8982
  createdAt: z.ZodISODateTime;
8579
8983
  git: z.ZodObject<{
@@ -9974,6 +10378,12 @@ export declare const publicContractsV1: {
9974
10378
  readonly description: string;
9975
10379
  readonly input: z.ZodDiscriminatedUnion<[z.ZodObject<{
9976
10380
  kind: z.ZodLiteral<"schedule">;
10381
+ minuteOfHour: z.ZodOptional<z.ZodNumber>;
10382
+ timeOfDay: z.ZodOptional<z.ZodString>;
10383
+ timezoneId: z.ZodOptional<z.ZodString>;
10384
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
10385
+ every: z.ZodOptional<z.ZodNumber>;
10386
+ startDate: z.ZodOptional<z.ZodString>;
9977
10387
  action: z.ZodObject<{
9978
10388
  flowIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
9979
10389
  instructions: z.ZodOptional<z.ZodString>;
@@ -9990,6 +10400,7 @@ export declare const publicContractsV1: {
9990
10400
  hourly: "hourly";
9991
10401
  daily: "daily";
9992
10402
  weekly: "weekly";
10403
+ monthly: "monthly";
9993
10404
  }>;
9994
10405
  dayOfWeek: z.ZodOptional<z.ZodEnum<{
9995
10406
  monday: "monday";
@@ -10010,9 +10421,6 @@ export declare const publicContractsV1: {
10010
10421
  sunday: "sunday";
10011
10422
  }>>>;
10012
10423
  environmentId: PublicIdSchema;
10013
- minuteOfHour: z.ZodOptional<z.ZodNumber>;
10014
- timeOfDay: z.ZodOptional<z.ZodString>;
10015
- timezoneId: z.ZodOptional<z.ZodString>;
10016
10424
  name: z.ZodString;
10017
10425
  workspaceId: z.ZodOptional<PublicIdSchema>;
10018
10426
  }, z.core.$strip>, z.ZodObject<{
@@ -10044,6 +10452,12 @@ export declare const publicContractsV1: {
10044
10452
  trigger: z.ZodObject<{
10045
10453
  configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
10046
10454
  kind: z.ZodLiteral<"schedule">;
10455
+ minuteOfHour: z.ZodOptional<z.ZodNumber>;
10456
+ timeOfDay: z.ZodOptional<z.ZodString>;
10457
+ timezoneId: z.ZodOptional<z.ZodString>;
10458
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
10459
+ every: z.ZodOptional<z.ZodNumber>;
10460
+ startDate: z.ZodOptional<z.ZodString>;
10047
10461
  action: z.ZodObject<{
10048
10462
  flowIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
10049
10463
  instructions: z.ZodOptional<z.ZodString>;
@@ -10060,6 +10474,7 @@ export declare const publicContractsV1: {
10060
10474
  hourly: "hourly";
10061
10475
  daily: "daily";
10062
10476
  weekly: "weekly";
10477
+ monthly: "monthly";
10063
10478
  }>;
10064
10479
  dayOfWeek: z.ZodOptional<z.ZodEnum<{
10065
10480
  monday: "monday";
@@ -10080,9 +10495,6 @@ export declare const publicContractsV1: {
10080
10495
  sunday: "sunday";
10081
10496
  }>>>;
10082
10497
  environmentId: PublicIdSchema;
10083
- minuteOfHour: z.ZodOptional<z.ZodNumber>;
10084
- timeOfDay: z.ZodOptional<z.ZodString>;
10085
- timezoneId: z.ZodOptional<z.ZodString>;
10086
10498
  }, z.core.$strip>, z.ZodObject<{
10087
10499
  kind: z.ZodLiteral<"deployment">;
10088
10500
  action: z.ZodObject<{
@@ -10162,6 +10574,12 @@ export declare const publicContractsV1: {
10162
10574
  triggers: z.ZodArray<z.ZodObject<{
10163
10575
  configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
10164
10576
  kind: z.ZodLiteral<"schedule">;
10577
+ minuteOfHour: z.ZodOptional<z.ZodNumber>;
10578
+ timeOfDay: z.ZodOptional<z.ZodString>;
10579
+ timezoneId: z.ZodOptional<z.ZodString>;
10580
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
10581
+ every: z.ZodOptional<z.ZodNumber>;
10582
+ startDate: z.ZodOptional<z.ZodString>;
10165
10583
  action: z.ZodObject<{
10166
10584
  flowIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
10167
10585
  instructions: z.ZodOptional<z.ZodString>;
@@ -10178,6 +10596,7 @@ export declare const publicContractsV1: {
10178
10596
  hourly: "hourly";
10179
10597
  daily: "daily";
10180
10598
  weekly: "weekly";
10599
+ monthly: "monthly";
10181
10600
  }>;
10182
10601
  dayOfWeek: z.ZodOptional<z.ZodEnum<{
10183
10602
  monday: "monday";
@@ -10198,9 +10617,6 @@ export declare const publicContractsV1: {
10198
10617
  sunday: "sunday";
10199
10618
  }>>>;
10200
10619
  environmentId: PublicIdSchema;
10201
- minuteOfHour: z.ZodOptional<z.ZodNumber>;
10202
- timeOfDay: z.ZodOptional<z.ZodString>;
10203
- timezoneId: z.ZodOptional<z.ZodString>;
10204
10620
  }, z.core.$strip>, z.ZodObject<{
10205
10621
  kind: z.ZodLiteral<"deployment">;
10206
10622
  action: z.ZodObject<{
@@ -10258,6 +10674,12 @@ export declare const publicContractsV1: {
10258
10674
  trigger: z.ZodObject<{
10259
10675
  configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
10260
10676
  kind: z.ZodLiteral<"schedule">;
10677
+ minuteOfHour: z.ZodOptional<z.ZodNumber>;
10678
+ timeOfDay: z.ZodOptional<z.ZodString>;
10679
+ timezoneId: z.ZodOptional<z.ZodString>;
10680
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
10681
+ every: z.ZodOptional<z.ZodNumber>;
10682
+ startDate: z.ZodOptional<z.ZodString>;
10261
10683
  action: z.ZodObject<{
10262
10684
  flowIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
10263
10685
  instructions: z.ZodOptional<z.ZodString>;
@@ -10274,6 +10696,7 @@ export declare const publicContractsV1: {
10274
10696
  hourly: "hourly";
10275
10697
  daily: "daily";
10276
10698
  weekly: "weekly";
10699
+ monthly: "monthly";
10277
10700
  }>;
10278
10701
  dayOfWeek: z.ZodOptional<z.ZodEnum<{
10279
10702
  monday: "monday";
@@ -10294,9 +10717,6 @@ export declare const publicContractsV1: {
10294
10717
  sunday: "sunday";
10295
10718
  }>>>;
10296
10719
  environmentId: PublicIdSchema;
10297
- minuteOfHour: z.ZodOptional<z.ZodNumber>;
10298
- timeOfDay: z.ZodOptional<z.ZodString>;
10299
- timezoneId: z.ZodOptional<z.ZodString>;
10300
10720
  }, z.core.$strip>, z.ZodObject<{
10301
10721
  kind: z.ZodLiteral<"deployment">;
10302
10722
  action: z.ZodObject<{
@@ -10354,6 +10774,12 @@ export declare const publicContractsV1: {
10354
10774
  trigger: z.ZodObject<{
10355
10775
  configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
10356
10776
  kind: z.ZodLiteral<"schedule">;
10777
+ minuteOfHour: z.ZodOptional<z.ZodNumber>;
10778
+ timeOfDay: z.ZodOptional<z.ZodString>;
10779
+ timezoneId: z.ZodOptional<z.ZodString>;
10780
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
10781
+ every: z.ZodOptional<z.ZodNumber>;
10782
+ startDate: z.ZodOptional<z.ZodString>;
10357
10783
  action: z.ZodObject<{
10358
10784
  flowIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
10359
10785
  instructions: z.ZodOptional<z.ZodString>;
@@ -10370,6 +10796,7 @@ export declare const publicContractsV1: {
10370
10796
  hourly: "hourly";
10371
10797
  daily: "daily";
10372
10798
  weekly: "weekly";
10799
+ monthly: "monthly";
10373
10800
  }>;
10374
10801
  dayOfWeek: z.ZodOptional<z.ZodEnum<{
10375
10802
  monday: "monday";
@@ -10390,9 +10817,6 @@ export declare const publicContractsV1: {
10390
10817
  sunday: "sunday";
10391
10818
  }>>>;
10392
10819
  environmentId: PublicIdSchema;
10393
- minuteOfHour: z.ZodOptional<z.ZodNumber>;
10394
- timeOfDay: z.ZodOptional<z.ZodString>;
10395
- timezoneId: z.ZodOptional<z.ZodString>;
10396
10820
  }, z.core.$strip>, z.ZodObject<{
10397
10821
  kind: z.ZodLiteral<"deployment">;
10398
10822
  action: z.ZodObject<{
@@ -10450,6 +10874,12 @@ export declare const publicContractsV1: {
10450
10874
  trigger: z.ZodObject<{
10451
10875
  configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
10452
10876
  kind: z.ZodLiteral<"schedule">;
10877
+ minuteOfHour: z.ZodOptional<z.ZodNumber>;
10878
+ timeOfDay: z.ZodOptional<z.ZodString>;
10879
+ timezoneId: z.ZodOptional<z.ZodString>;
10880
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
10881
+ every: z.ZodOptional<z.ZodNumber>;
10882
+ startDate: z.ZodOptional<z.ZodString>;
10453
10883
  action: z.ZodObject<{
10454
10884
  flowIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
10455
10885
  instructions: z.ZodOptional<z.ZodString>;
@@ -10466,6 +10896,7 @@ export declare const publicContractsV1: {
10466
10896
  hourly: "hourly";
10467
10897
  daily: "daily";
10468
10898
  weekly: "weekly";
10899
+ monthly: "monthly";
10469
10900
  }>;
10470
10901
  dayOfWeek: z.ZodOptional<z.ZodEnum<{
10471
10902
  monday: "monday";
@@ -10486,9 +10917,6 @@ export declare const publicContractsV1: {
10486
10917
  sunday: "sunday";
10487
10918
  }>>>;
10488
10919
  environmentId: PublicIdSchema;
10489
- minuteOfHour: z.ZodOptional<z.ZodNumber>;
10490
- timeOfDay: z.ZodOptional<z.ZodString>;
10491
- timezoneId: z.ZodOptional<z.ZodString>;
10492
10920
  }, z.core.$strip>, z.ZodObject<{
10493
10921
  kind: z.ZodLiteral<"deployment">;
10494
10922
  action: z.ZodObject<{
@@ -10539,6 +10967,12 @@ export declare const publicContractsV1: {
10539
10967
  readonly description: string;
10540
10968
  readonly input: z.ZodDiscriminatedUnion<[z.ZodObject<{
10541
10969
  kind: z.ZodLiteral<"schedule">;
10970
+ minuteOfHour: z.ZodOptional<z.ZodNumber>;
10971
+ timeOfDay: z.ZodOptional<z.ZodString>;
10972
+ timezoneId: z.ZodOptional<z.ZodString>;
10973
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
10974
+ every: z.ZodOptional<z.ZodNumber>;
10975
+ startDate: z.ZodOptional<z.ZodString>;
10542
10976
  action: z.ZodObject<{
10543
10977
  flowIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
10544
10978
  instructions: z.ZodOptional<z.ZodString>;
@@ -10555,6 +10989,7 @@ export declare const publicContractsV1: {
10555
10989
  hourly: "hourly";
10556
10990
  daily: "daily";
10557
10991
  weekly: "weekly";
10992
+ monthly: "monthly";
10558
10993
  }>;
10559
10994
  dayOfWeek: z.ZodOptional<z.ZodEnum<{
10560
10995
  monday: "monday";
@@ -10575,9 +11010,6 @@ export declare const publicContractsV1: {
10575
11010
  sunday: "sunday";
10576
11011
  }>>>;
10577
11012
  environmentId: PublicIdSchema;
10578
- minuteOfHour: z.ZodOptional<z.ZodNumber>;
10579
- timeOfDay: z.ZodOptional<z.ZodString>;
10580
- timezoneId: z.ZodOptional<z.ZodString>;
10581
11013
  name: z.ZodString;
10582
11014
  triggerId: PublicIdSchema;
10583
11015
  }, z.core.$strip>, z.ZodObject<{
@@ -10609,6 +11041,12 @@ export declare const publicContractsV1: {
10609
11041
  trigger: z.ZodObject<{
10610
11042
  configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{
10611
11043
  kind: z.ZodLiteral<"schedule">;
11044
+ minuteOfHour: z.ZodOptional<z.ZodNumber>;
11045
+ timeOfDay: z.ZodOptional<z.ZodString>;
11046
+ timezoneId: z.ZodOptional<z.ZodString>;
11047
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
11048
+ every: z.ZodOptional<z.ZodNumber>;
11049
+ startDate: z.ZodOptional<z.ZodString>;
10612
11050
  action: z.ZodObject<{
10613
11051
  flowIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
10614
11052
  instructions: z.ZodOptional<z.ZodString>;
@@ -10625,6 +11063,7 @@ export declare const publicContractsV1: {
10625
11063
  hourly: "hourly";
10626
11064
  daily: "daily";
10627
11065
  weekly: "weekly";
11066
+ monthly: "monthly";
10628
11067
  }>;
10629
11068
  dayOfWeek: z.ZodOptional<z.ZodEnum<{
10630
11069
  monday: "monday";
@@ -10645,9 +11084,6 @@ export declare const publicContractsV1: {
10645
11084
  sunday: "sunday";
10646
11085
  }>>>;
10647
11086
  environmentId: PublicIdSchema;
10648
- minuteOfHour: z.ZodOptional<z.ZodNumber>;
10649
- timeOfDay: z.ZodOptional<z.ZodString>;
10650
- timezoneId: z.ZodOptional<z.ZodString>;
10651
11087
  }, z.core.$strip>, z.ZodObject<{
10652
11088
  kind: z.ZodLiteral<"deployment">;
10653
11089
  action: z.ZodObject<{