@qawolf/api-contracts 0.105.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.
- package/dist/v1/agent/get.d.ts +1 -1
- package/dist/v1/agent/get.d.ts.map +1 -1
- package/dist/v1/agent/get.js +3 -3
- package/dist/v1/agent/get.js.map +1 -1
- package/dist/v1/agent/wait.d.ts +1 -0
- package/dist/v1/agent/wait.d.ts.map +1 -1
- package/dist/v1/agent/wait.js +1 -0
- package/dist/v1/agent/wait.js.map +1 -1
- package/dist/v1/build/index.d.ts +24 -0
- package/dist/v1/build/index.d.ts.map +1 -1
- package/dist/v1/build/index.js +2 -0
- package/dist/v1/build/index.js.map +1 -1
- package/dist/v1/build/requestDownload.d.ts +29 -0
- package/dist/v1/build/requestDownload.d.ts.map +1 -0
- package/dist/v1/build/requestDownload.js +37 -0
- package/dist/v1/build/requestDownload.js.map +1 -0
- package/dist/v1/deployment/verdict.d.ts +21 -0
- package/dist/v1/deployment/verdict.d.ts.map +1 -1
- package/dist/v1/deployment/verdict.js +7 -0
- package/dist/v1/deployment/verdict.js.map +1 -1
- package/dist/v1/deployment/verdictParts.js +1 -1
- package/dist/v1/deployment/verdictParts.js.map +1 -1
- package/dist/v1/environment/getVariable.d.ts +2 -1
- package/dist/v1/environment/getVariable.d.ts.map +1 -1
- package/dist/v1/environment/getVariable.js +4 -1
- package/dist/v1/environment/getVariable.js.map +1 -1
- package/dist/v1/index.d.ts +444 -8
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js +2 -17
- package/dist/v1/index.js.map +1 -1
- package/dist/v1/issue/addFlows.d.ts +5 -0
- package/dist/v1/issue/addFlows.d.ts.map +1 -1
- package/dist/v1/issue/attachFiles.d.ts +71 -0
- package/dist/v1/issue/attachFiles.d.ts.map +1 -0
- package/dist/v1/issue/attachFiles.js +31 -0
- package/dist/v1/issue/attachFiles.js.map +1 -0
- package/dist/v1/issue/comment.d.ts +45 -0
- package/dist/v1/issue/comment.d.ts.map +1 -0
- package/dist/v1/issue/comment.js +36 -0
- package/dist/v1/issue/comment.js.map +1 -0
- package/dist/v1/issue/commentResource.d.ts +24 -0
- package/dist/v1/issue/commentResource.d.ts.map +1 -0
- package/dist/v1/issue/commentResource.js +28 -0
- package/dist/v1/issue/commentResource.js.map +1 -0
- package/dist/v1/issue/contracts.d.ts +765 -0
- package/dist/v1/issue/contracts.d.ts.map +1 -0
- package/dist/v1/issue/contracts.js +24 -0
- package/dist/v1/issue/contracts.js.map +1 -0
- package/dist/v1/issue/create.d.ts +6 -0
- package/dist/v1/issue/create.d.ts.map +1 -1
- package/dist/v1/issue/create.js +4 -0
- package/dist/v1/issue/create.js.map +1 -1
- package/dist/v1/issue/decideSuggestion.d.ts +5 -0
- package/dist/v1/issue/decideSuggestion.d.ts.map +1 -1
- package/dist/v1/issue/files.d.ts +11 -0
- package/dist/v1/issue/files.d.ts.map +1 -0
- package/dist/v1/issue/files.js +21 -0
- package/dist/v1/issue/files.js.map +1 -0
- package/dist/v1/issue/index.d.ts +15 -0
- package/dist/v1/issue/index.d.ts.map +1 -1
- package/dist/v1/issue/index.js +5 -0
- package/dist/v1/issue/index.js.map +1 -1
- package/dist/v1/issue/listComments.d.ts +47 -0
- package/dist/v1/issue/listComments.d.ts.map +1 -0
- package/dist/v1/issue/listComments.js +33 -0
- package/dist/v1/issue/listComments.js.map +1 -0
- package/dist/v1/issue/removeFlows.d.ts +5 -0
- package/dist/v1/issue/removeFlows.d.ts.map +1 -1
- package/dist/v1/issue/update.d.ts +5 -0
- package/dist/v1/issue/update.d.ts.map +1 -1
- package/dist/v1/mcpServer/connect.d.ts +1 -0
- package/dist/v1/mcpServer/connect.d.ts.map +1 -1
- package/dist/v1/mcpServer/connect.js +3 -0
- package/dist/v1/mcpServer/connect.js.map +1 -1
- package/dist/v1/mcpToolDescription.js +1 -1
- package/dist/v1/mcpToolDescription.js.map +1 -1
- package/dist/v1/run/diagnose.d.ts +5 -0
- package/dist/v1/run/diagnose.d.ts.map +1 -1
- package/dist/v1/run/get.d.ts +7 -1
- package/dist/v1/run/get.d.ts.map +1 -1
- package/dist/v1/run/get.js +15 -1
- package/dist/v1/run/get.js.map +1 -1
- package/dist/v1/run/wait.d.ts +7 -0
- package/dist/v1/run/wait.d.ts.map +1 -0
- package/dist/v1/run/wait.js +5 -0
- package/dist/v1/run/wait.js.map +1 -0
- package/dist/v1/runner/catalog.d.ts +1 -1
- package/dist/v1/runner/index.d.ts +1 -1
- package/dist/v1/runner/index.js +1 -1
- package/dist/v1/runner/index.js.map +1 -1
- package/dist/v1/runner/runFlow.d.ts.map +1 -1
- package/dist/v1/runner/runFlow.js +2 -8
- package/dist/v1/runner/runFlow.js.map +1 -1
- package/dist/v1/sharedSchemas.d.ts +3 -1
- package/dist/v1/sharedSchemas.d.ts.map +1 -1
- package/dist/v1/sharedSchemas.js +3 -1
- package/dist/v1/sharedSchemas.js.map +1 -1
- package/package.json +1 -1
package/dist/v1/index.d.ts
CHANGED
|
@@ -27,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
|
|
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;
|
|
@@ -472,6 +472,30 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
472
472
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
473
473
|
}, z.core.$strip>;
|
|
474
474
|
};
|
|
475
|
+
requestDownload: {
|
|
476
|
+
readonly annotationJustifications: {
|
|
477
|
+
readonly destructiveHint: "Does not change the build or its file.";
|
|
478
|
+
readonly openWorldHint: "Access is limited to the build files of the authorized workspace.";
|
|
479
|
+
readonly readOnlyHint: "Returns an expiring read URL for a build's file.";
|
|
480
|
+
};
|
|
481
|
+
readonly annotations: {
|
|
482
|
+
readonly destructiveHint: false;
|
|
483
|
+
readonly openWorldHint: false;
|
|
484
|
+
readonly readOnlyHint: true;
|
|
485
|
+
};
|
|
486
|
+
readonly description: "Get a URL to download a build's file. Deleted builds can be downloaded while their file exists. Answers 404 when the file has expired.";
|
|
487
|
+
readonly input: z.ZodObject<{
|
|
488
|
+
buildId: z.ZodString;
|
|
489
|
+
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
490
|
+
}, z.core.$strip>;
|
|
491
|
+
readonly kind: "read";
|
|
492
|
+
readonly name: "build.requestDownload";
|
|
493
|
+
readonly output: z.ZodObject<{
|
|
494
|
+
expiresAt: z.ZodISODateTime;
|
|
495
|
+
fileName: z.ZodString;
|
|
496
|
+
readUrl: z.ZodString;
|
|
497
|
+
}, z.core.$strip>;
|
|
498
|
+
};
|
|
475
499
|
requestUpload: {
|
|
476
500
|
readonly annotationJustifications: {
|
|
477
501
|
readonly destructiveHint: "The URL only creates a new file. It cannot overwrite or delete one.";
|
|
@@ -1223,7 +1247,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1223
1247
|
readonly openWorldHint: false;
|
|
1224
1248
|
readonly readOnlyHint: true;
|
|
1225
1249
|
};
|
|
1226
|
-
readonly description: "Read the values of named environment variables in one call. Values are secrets. Names that do not exist go to missingNames and
|
|
1250
|
+
readonly description: "Read the values of named environment variables in one call. Values are secrets. Names that do not exist go to missingNames and write-only secrets go to secretNames; neither fails the call.";
|
|
1227
1251
|
readonly input: z.ZodObject<{
|
|
1228
1252
|
environmentId: PublicIdSchema;
|
|
1229
1253
|
variableNames: z.ZodArray<z.ZodString>;
|
|
@@ -1233,6 +1257,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1233
1257
|
readonly name: "environment.getVariable";
|
|
1234
1258
|
readonly output: z.ZodObject<{
|
|
1235
1259
|
missingNames: z.ZodArray<z.ZodString>;
|
|
1260
|
+
secretNames: z.ZodArray<z.ZodString>;
|
|
1236
1261
|
variables: z.ZodArray<z.ZodObject<{
|
|
1237
1262
|
name: z.ZodString;
|
|
1238
1263
|
value: z.ZodString;
|
|
@@ -1872,6 +1897,74 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1872
1897
|
coveredFlowIds: z.ZodArray<FlowId>;
|
|
1873
1898
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
1874
1899
|
description: z.ZodString;
|
|
1900
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1901
|
+
fileId: z.ZodString;
|
|
1902
|
+
name: z.ZodString;
|
|
1903
|
+
sizeBytes: z.ZodNumber;
|
|
1904
|
+
}, z.core.$strip>>>;
|
|
1905
|
+
issueId: IssueId;
|
|
1906
|
+
name: z.ZodString;
|
|
1907
|
+
number: z.ZodNumber;
|
|
1908
|
+
priority: z.ZodEnum<{
|
|
1909
|
+
unprioritized: "unprioritized";
|
|
1910
|
+
low: "low";
|
|
1911
|
+
medium: "medium";
|
|
1912
|
+
high: "high";
|
|
1913
|
+
urgent: "urgent";
|
|
1914
|
+
}>;
|
|
1915
|
+
reproductions: z.ZodArray<z.ZodObject<{
|
|
1916
|
+
environmentId: EnvironmentId;
|
|
1917
|
+
firstReproducedInRunId: RunId;
|
|
1918
|
+
flowId: FlowId;
|
|
1919
|
+
isActive: z.ZodBoolean;
|
|
1920
|
+
lastReproducedInRunId: RunId;
|
|
1921
|
+
}, z.core.$strip>>;
|
|
1922
|
+
status: z.ZodEnum<{
|
|
1923
|
+
pending: "pending";
|
|
1924
|
+
canceled: "canceled";
|
|
1925
|
+
backlog: "backlog";
|
|
1926
|
+
inProgress: "inProgress";
|
|
1927
|
+
paused: "paused";
|
|
1928
|
+
resolved: "resolved";
|
|
1929
|
+
archived: "archived";
|
|
1930
|
+
}>;
|
|
1931
|
+
type: z.ZodEnum<{
|
|
1932
|
+
bug: "bug";
|
|
1933
|
+
maintenance: "maintenance";
|
|
1934
|
+
coverageRequest: "coverageRequest";
|
|
1935
|
+
}>;
|
|
1936
|
+
url: z.ZodURL;
|
|
1937
|
+
}, z.core.$strip>;
|
|
1938
|
+
}, z.core.$strip>;
|
|
1939
|
+
};
|
|
1940
|
+
attachFiles: {
|
|
1941
|
+
readonly annotationJustifications: {
|
|
1942
|
+
readonly destructiveHint: "Adds files to the bug report without removing or replacing the ones already attached.";
|
|
1943
|
+
readonly openWorldHint: "Copies files within QA Wolf storage without publishing anything outside QA Wolf.";
|
|
1944
|
+
readonly readOnlyHint: "Copies files from the team's storage and attaches the copies to a bug report.";
|
|
1945
|
+
};
|
|
1946
|
+
readonly annotations: {
|
|
1947
|
+
readonly destructiveHint: false;
|
|
1948
|
+
readonly openWorldHint: false;
|
|
1949
|
+
readonly readOnlyHint: false;
|
|
1950
|
+
};
|
|
1951
|
+
readonly description: string;
|
|
1952
|
+
readonly input: z.ZodObject<{
|
|
1953
|
+
filePaths: z.ZodArray<z.ZodString>;
|
|
1954
|
+
issueId: IssueId;
|
|
1955
|
+
}, z.core.$strip>;
|
|
1956
|
+
readonly kind: "write";
|
|
1957
|
+
readonly name: "issue.attachFiles";
|
|
1958
|
+
readonly output: z.ZodObject<{
|
|
1959
|
+
issue: z.ZodObject<{
|
|
1960
|
+
coveredFlowIds: z.ZodArray<FlowId>;
|
|
1961
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
1962
|
+
description: z.ZodString;
|
|
1963
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1964
|
+
fileId: z.ZodString;
|
|
1965
|
+
name: z.ZodString;
|
|
1966
|
+
sizeBytes: z.ZodNumber;
|
|
1967
|
+
}, z.core.$strip>>>;
|
|
1875
1968
|
issueId: IssueId;
|
|
1876
1969
|
name: z.ZodString;
|
|
1877
1970
|
number: z.ZodNumber;
|
|
@@ -1907,6 +2000,46 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1907
2000
|
}, z.core.$strip>;
|
|
1908
2001
|
}, z.core.$strip>;
|
|
1909
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
|
+
};
|
|
1910
2043
|
create: {
|
|
1911
2044
|
readonly annotationJustifications: {
|
|
1912
2045
|
readonly destructiveHint: "Configured notifications can send irreversible messages even though the QA Wolf issue itself is new.";
|
|
@@ -1920,6 +2053,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1920
2053
|
};
|
|
1921
2054
|
readonly description: string;
|
|
1922
2055
|
readonly input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2056
|
+
filePaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1923
2057
|
type: z.ZodLiteral<"bug">;
|
|
1924
2058
|
description: z.ZodOptional<z.ZodString>;
|
|
1925
2059
|
name: z.ZodString;
|
|
@@ -1982,6 +2116,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1982
2116
|
coveredFlowIds: z.ZodArray<FlowId>;
|
|
1983
2117
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
1984
2118
|
description: z.ZodString;
|
|
2119
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2120
|
+
fileId: z.ZodString;
|
|
2121
|
+
name: z.ZodString;
|
|
2122
|
+
sizeBytes: z.ZodNumber;
|
|
2123
|
+
}, z.core.$strip>>>;
|
|
1985
2124
|
issueId: IssueId;
|
|
1986
2125
|
name: z.ZodString;
|
|
1987
2126
|
number: z.ZodNumber;
|
|
@@ -2051,6 +2190,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2051
2190
|
coveredFlowIds: z.ZodArray<FlowId>;
|
|
2052
2191
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
2053
2192
|
description: z.ZodString;
|
|
2193
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2194
|
+
fileId: z.ZodString;
|
|
2195
|
+
name: z.ZodString;
|
|
2196
|
+
sizeBytes: z.ZodNumber;
|
|
2197
|
+
}, z.core.$strip>>>;
|
|
2054
2198
|
issueId: IssueId;
|
|
2055
2199
|
name: z.ZodString;
|
|
2056
2200
|
number: z.ZodNumber;
|
|
@@ -2124,6 +2268,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2124
2268
|
coveredFlowIds: z.ZodArray<FlowId>;
|
|
2125
2269
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
2126
2270
|
description: z.ZodString;
|
|
2271
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2272
|
+
fileId: z.ZodString;
|
|
2273
|
+
name: z.ZodString;
|
|
2274
|
+
sizeBytes: z.ZodNumber;
|
|
2275
|
+
}, z.core.$strip>>>;
|
|
2127
2276
|
issueId: IssueId;
|
|
2128
2277
|
name: z.ZodString;
|
|
2129
2278
|
number: z.ZodNumber;
|
|
@@ -2182,6 +2331,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2182
2331
|
coveredFlowIds: z.ZodArray<FlowId>;
|
|
2183
2332
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
2184
2333
|
description: z.ZodString;
|
|
2334
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2335
|
+
fileId: z.ZodString;
|
|
2336
|
+
name: z.ZodString;
|
|
2337
|
+
sizeBytes: z.ZodNumber;
|
|
2338
|
+
}, z.core.$strip>>>;
|
|
2185
2339
|
issueId: IssueId;
|
|
2186
2340
|
name: z.ZodString;
|
|
2187
2341
|
number: z.ZodNumber;
|
|
@@ -2288,6 +2442,48 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2288
2442
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
2289
2443
|
}, z.core.$strip>;
|
|
2290
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
|
+
};
|
|
2291
2487
|
removeFlows: {
|
|
2292
2488
|
readonly annotationJustifications: {
|
|
2293
2489
|
readonly destructiveHint: "Deletes existing coverage associations while leaving already-unassociated flows unchanged.";
|
|
@@ -2312,6 +2508,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2312
2508
|
coveredFlowIds: z.ZodArray<FlowId>;
|
|
2313
2509
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
2314
2510
|
description: z.ZodString;
|
|
2511
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2512
|
+
fileId: z.ZodString;
|
|
2513
|
+
name: z.ZodString;
|
|
2514
|
+
sizeBytes: z.ZodNumber;
|
|
2515
|
+
}, z.core.$strip>>>;
|
|
2315
2516
|
issueId: IssueId;
|
|
2316
2517
|
name: z.ZodString;
|
|
2317
2518
|
number: z.ZodNumber;
|
|
@@ -2387,6 +2588,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2387
2588
|
coveredFlowIds: z.ZodArray<FlowId>;
|
|
2388
2589
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
2389
2590
|
description: z.ZodString;
|
|
2591
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2592
|
+
fileId: z.ZodString;
|
|
2593
|
+
name: z.ZodString;
|
|
2594
|
+
sizeBytes: z.ZodNumber;
|
|
2595
|
+
}, z.core.$strip>>>;
|
|
2390
2596
|
issueId: IssueId;
|
|
2391
2597
|
name: z.ZodString;
|
|
2392
2598
|
number: z.ZodNumber;
|
|
@@ -2582,6 +2788,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2582
2788
|
readonly name: "mcpServer.connect";
|
|
2583
2789
|
readonly output: z.ZodObject<{
|
|
2584
2790
|
authorizationUrl: z.ZodString;
|
|
2791
|
+
connectionName: z.ZodString;
|
|
2585
2792
|
serverName: z.ZodString;
|
|
2586
2793
|
}, z.core.$strip>;
|
|
2587
2794
|
};
|
|
@@ -2835,6 +3042,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2835
3042
|
coveredFlowIds: z.ZodArray<FlowId>;
|
|
2836
3043
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
2837
3044
|
description: z.ZodString;
|
|
3045
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3046
|
+
fileId: z.ZodString;
|
|
3047
|
+
name: z.ZodString;
|
|
3048
|
+
sizeBytes: z.ZodNumber;
|
|
3049
|
+
}, z.core.$strip>>>;
|
|
2838
3050
|
issueId: IssueId;
|
|
2839
3051
|
name: z.ZodString;
|
|
2840
3052
|
number: z.ZodNumber;
|
|
@@ -2934,7 +3146,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2934
3146
|
readonly openWorldHint: false;
|
|
2935
3147
|
readonly readOnlyHint: true;
|
|
2936
3148
|
};
|
|
2937
|
-
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.";
|
|
2938
3150
|
readonly input: z.ZodObject<{
|
|
2939
3151
|
flowStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2940
3152
|
failed: "failed";
|
|
@@ -2944,6 +3156,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2944
3156
|
canceled: "canceled";
|
|
2945
3157
|
}>>>;
|
|
2946
3158
|
runId: RunId;
|
|
3159
|
+
waitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2947
3160
|
}, z.core.$strip>;
|
|
2948
3161
|
readonly kind: "read";
|
|
2949
3162
|
readonly name: "run.get";
|
|
@@ -3109,6 +3322,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3109
3322
|
origin: z.ZodString;
|
|
3110
3323
|
warnings: z.ZodArray<z.ZodString>;
|
|
3111
3324
|
}, z.core.$strip>>;
|
|
3325
|
+
waitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3326
|
+
wokeOn: z.ZodOptional<z.ZodEnum<{
|
|
3327
|
+
status: "status";
|
|
3328
|
+
timeout: "timeout";
|
|
3329
|
+
}>>;
|
|
3112
3330
|
completedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3113
3331
|
createdAt: z.ZodISODateTime;
|
|
3114
3332
|
git: z.ZodObject<{
|
|
@@ -3986,7 +4204,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3986
4204
|
readonly openWorldHint: true;
|
|
3987
4205
|
readonly readOnlyHint: false;
|
|
3988
4206
|
};
|
|
3989
|
-
readonly description: "Launch an interactive runner on the caller's team under an id the caller chooses. Send `initialUrl` so its browser comes up on the page the work starts from, which saves a separate navigation and the browser's cold start. Launching the same id again returns the runner already running rather than starting a second one,
|
|
4207
|
+
readonly description: "Launch an interactive runner on the caller's team under an id the caller chooses. Send `initialUrl` so its browser comes up on the page the work starts from, which saves a separate navigation and the browser's cold start. Launching the same id again returns the runner already running rather than starting a second one, whatever runnerName is sent, so read `runnerName` in the answer for what is running. A runner is not permanent: it terminates on its own after a period of inactivity, and launching the same id after that starts and bills a new runner, so read `alreadyRunning` to tell which happened. A success means the runner is answering: the call waits for the pod it started to come up, so the very next call to the runner reaches it. If the pod does not come up in time the call fails instead, leaving the runner running, and launching the same id again attaches to it.";
|
|
3990
4208
|
readonly input: z.ZodObject<{
|
|
3991
4209
|
id: z.ZodString;
|
|
3992
4210
|
initialUrl: z.ZodOptional<z.ZodURL>;
|
|
@@ -5234,7 +5452,7 @@ export declare const publicContractsV1: {
|
|
|
5234
5452
|
readonly openWorldHint: false;
|
|
5235
5453
|
readonly readOnlyHint: true;
|
|
5236
5454
|
};
|
|
5237
|
-
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
|
|
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.";
|
|
5238
5456
|
readonly input: z.ZodObject<{
|
|
5239
5457
|
cursor: z.ZodOptional<z.ZodString>;
|
|
5240
5458
|
sessionId: PublicIdSchema;
|
|
@@ -5679,6 +5897,30 @@ export declare const publicContractsV1: {
|
|
|
5679
5897
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
5680
5898
|
}, z.core.$strip>;
|
|
5681
5899
|
};
|
|
5900
|
+
requestDownload: {
|
|
5901
|
+
readonly annotationJustifications: {
|
|
5902
|
+
readonly destructiveHint: "Does not change the build or its file.";
|
|
5903
|
+
readonly openWorldHint: "Access is limited to the build files of the authorized workspace.";
|
|
5904
|
+
readonly readOnlyHint: "Returns an expiring read URL for a build's file.";
|
|
5905
|
+
};
|
|
5906
|
+
readonly annotations: {
|
|
5907
|
+
readonly destructiveHint: false;
|
|
5908
|
+
readonly openWorldHint: false;
|
|
5909
|
+
readonly readOnlyHint: true;
|
|
5910
|
+
};
|
|
5911
|
+
readonly description: "Get a URL to download a build's file. Deleted builds can be downloaded while their file exists. Answers 404 when the file has expired.";
|
|
5912
|
+
readonly input: z.ZodObject<{
|
|
5913
|
+
buildId: z.ZodString;
|
|
5914
|
+
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
5915
|
+
}, z.core.$strip>;
|
|
5916
|
+
readonly kind: "read";
|
|
5917
|
+
readonly name: "build.requestDownload";
|
|
5918
|
+
readonly output: z.ZodObject<{
|
|
5919
|
+
expiresAt: z.ZodISODateTime;
|
|
5920
|
+
fileName: z.ZodString;
|
|
5921
|
+
readUrl: z.ZodString;
|
|
5922
|
+
}, z.core.$strip>;
|
|
5923
|
+
};
|
|
5682
5924
|
requestUpload: {
|
|
5683
5925
|
readonly annotationJustifications: {
|
|
5684
5926
|
readonly destructiveHint: "The URL only creates a new file. It cannot overwrite or delete one.";
|
|
@@ -6430,7 +6672,7 @@ export declare const publicContractsV1: {
|
|
|
6430
6672
|
readonly openWorldHint: false;
|
|
6431
6673
|
readonly readOnlyHint: true;
|
|
6432
6674
|
};
|
|
6433
|
-
readonly description: "Read the values of named environment variables in one call. Values are secrets. Names that do not exist go to missingNames and
|
|
6675
|
+
readonly description: "Read the values of named environment variables in one call. Values are secrets. Names that do not exist go to missingNames and write-only secrets go to secretNames; neither fails the call.";
|
|
6434
6676
|
readonly input: z.ZodObject<{
|
|
6435
6677
|
environmentId: PublicIdSchema;
|
|
6436
6678
|
variableNames: z.ZodArray<z.ZodString>;
|
|
@@ -6440,6 +6682,7 @@ export declare const publicContractsV1: {
|
|
|
6440
6682
|
readonly name: "environment.getVariable";
|
|
6441
6683
|
readonly output: z.ZodObject<{
|
|
6442
6684
|
missingNames: z.ZodArray<z.ZodString>;
|
|
6685
|
+
secretNames: z.ZodArray<z.ZodString>;
|
|
6443
6686
|
variables: z.ZodArray<z.ZodObject<{
|
|
6444
6687
|
name: z.ZodString;
|
|
6445
6688
|
value: z.ZodString;
|
|
@@ -7079,6 +7322,74 @@ export declare const publicContractsV1: {
|
|
|
7079
7322
|
coveredFlowIds: z.ZodArray<PublicIdSchema>;
|
|
7080
7323
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
7081
7324
|
description: z.ZodString;
|
|
7325
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7326
|
+
fileId: z.ZodString;
|
|
7327
|
+
name: z.ZodString;
|
|
7328
|
+
sizeBytes: z.ZodNumber;
|
|
7329
|
+
}, z.core.$strip>>>;
|
|
7330
|
+
issueId: PublicIdSchema;
|
|
7331
|
+
name: z.ZodString;
|
|
7332
|
+
number: z.ZodNumber;
|
|
7333
|
+
priority: z.ZodEnum<{
|
|
7334
|
+
unprioritized: "unprioritized";
|
|
7335
|
+
low: "low";
|
|
7336
|
+
medium: "medium";
|
|
7337
|
+
high: "high";
|
|
7338
|
+
urgent: "urgent";
|
|
7339
|
+
}>;
|
|
7340
|
+
reproductions: z.ZodArray<z.ZodObject<{
|
|
7341
|
+
environmentId: PublicIdSchema;
|
|
7342
|
+
firstReproducedInRunId: PublicIdSchema;
|
|
7343
|
+
flowId: PublicIdSchema;
|
|
7344
|
+
isActive: z.ZodBoolean;
|
|
7345
|
+
lastReproducedInRunId: PublicIdSchema;
|
|
7346
|
+
}, z.core.$strip>>;
|
|
7347
|
+
status: z.ZodEnum<{
|
|
7348
|
+
pending: "pending";
|
|
7349
|
+
canceled: "canceled";
|
|
7350
|
+
backlog: "backlog";
|
|
7351
|
+
inProgress: "inProgress";
|
|
7352
|
+
paused: "paused";
|
|
7353
|
+
resolved: "resolved";
|
|
7354
|
+
archived: "archived";
|
|
7355
|
+
}>;
|
|
7356
|
+
type: z.ZodEnum<{
|
|
7357
|
+
bug: "bug";
|
|
7358
|
+
maintenance: "maintenance";
|
|
7359
|
+
coverageRequest: "coverageRequest";
|
|
7360
|
+
}>;
|
|
7361
|
+
url: z.ZodURL;
|
|
7362
|
+
}, z.core.$strip>;
|
|
7363
|
+
}, z.core.$strip>;
|
|
7364
|
+
};
|
|
7365
|
+
attachFiles: {
|
|
7366
|
+
readonly annotationJustifications: {
|
|
7367
|
+
readonly destructiveHint: "Adds files to the bug report without removing or replacing the ones already attached.";
|
|
7368
|
+
readonly openWorldHint: "Copies files within QA Wolf storage without publishing anything outside QA Wolf.";
|
|
7369
|
+
readonly readOnlyHint: "Copies files from the team's storage and attaches the copies to a bug report.";
|
|
7370
|
+
};
|
|
7371
|
+
readonly annotations: {
|
|
7372
|
+
readonly destructiveHint: false;
|
|
7373
|
+
readonly openWorldHint: false;
|
|
7374
|
+
readonly readOnlyHint: false;
|
|
7375
|
+
};
|
|
7376
|
+
readonly description: string;
|
|
7377
|
+
readonly input: z.ZodObject<{
|
|
7378
|
+
filePaths: z.ZodArray<z.ZodString>;
|
|
7379
|
+
issueId: PublicIdSchema;
|
|
7380
|
+
}, z.core.$strip>;
|
|
7381
|
+
readonly kind: "write";
|
|
7382
|
+
readonly name: "issue.attachFiles";
|
|
7383
|
+
readonly output: z.ZodObject<{
|
|
7384
|
+
issue: z.ZodObject<{
|
|
7385
|
+
coveredFlowIds: z.ZodArray<PublicIdSchema>;
|
|
7386
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
7387
|
+
description: z.ZodString;
|
|
7388
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7389
|
+
fileId: z.ZodString;
|
|
7390
|
+
name: z.ZodString;
|
|
7391
|
+
sizeBytes: z.ZodNumber;
|
|
7392
|
+
}, z.core.$strip>>>;
|
|
7082
7393
|
issueId: PublicIdSchema;
|
|
7083
7394
|
name: z.ZodString;
|
|
7084
7395
|
number: z.ZodNumber;
|
|
@@ -7114,6 +7425,46 @@ export declare const publicContractsV1: {
|
|
|
7114
7425
|
}, z.core.$strip>;
|
|
7115
7426
|
}, z.core.$strip>;
|
|
7116
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
|
+
};
|
|
7117
7468
|
create: {
|
|
7118
7469
|
readonly annotationJustifications: {
|
|
7119
7470
|
readonly destructiveHint: "Configured notifications can send irreversible messages even though the QA Wolf issue itself is new.";
|
|
@@ -7127,6 +7478,7 @@ export declare const publicContractsV1: {
|
|
|
7127
7478
|
};
|
|
7128
7479
|
readonly description: string;
|
|
7129
7480
|
readonly input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7481
|
+
filePaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7130
7482
|
type: z.ZodLiteral<"bug">;
|
|
7131
7483
|
description: z.ZodOptional<z.ZodString>;
|
|
7132
7484
|
name: z.ZodString;
|
|
@@ -7189,6 +7541,11 @@ export declare const publicContractsV1: {
|
|
|
7189
7541
|
coveredFlowIds: z.ZodArray<PublicIdSchema>;
|
|
7190
7542
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
7191
7543
|
description: z.ZodString;
|
|
7544
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7545
|
+
fileId: z.ZodString;
|
|
7546
|
+
name: z.ZodString;
|
|
7547
|
+
sizeBytes: z.ZodNumber;
|
|
7548
|
+
}, z.core.$strip>>>;
|
|
7192
7549
|
issueId: PublicIdSchema;
|
|
7193
7550
|
name: z.ZodString;
|
|
7194
7551
|
number: z.ZodNumber;
|
|
@@ -7258,6 +7615,11 @@ export declare const publicContractsV1: {
|
|
|
7258
7615
|
coveredFlowIds: z.ZodArray<PublicIdSchema>;
|
|
7259
7616
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
7260
7617
|
description: z.ZodString;
|
|
7618
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7619
|
+
fileId: z.ZodString;
|
|
7620
|
+
name: z.ZodString;
|
|
7621
|
+
sizeBytes: z.ZodNumber;
|
|
7622
|
+
}, z.core.$strip>>>;
|
|
7261
7623
|
issueId: PublicIdSchema;
|
|
7262
7624
|
name: z.ZodString;
|
|
7263
7625
|
number: z.ZodNumber;
|
|
@@ -7331,6 +7693,11 @@ export declare const publicContractsV1: {
|
|
|
7331
7693
|
coveredFlowIds: z.ZodArray<PublicIdSchema>;
|
|
7332
7694
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
7333
7695
|
description: z.ZodString;
|
|
7696
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7697
|
+
fileId: z.ZodString;
|
|
7698
|
+
name: z.ZodString;
|
|
7699
|
+
sizeBytes: z.ZodNumber;
|
|
7700
|
+
}, z.core.$strip>>>;
|
|
7334
7701
|
issueId: PublicIdSchema;
|
|
7335
7702
|
name: z.ZodString;
|
|
7336
7703
|
number: z.ZodNumber;
|
|
@@ -7389,6 +7756,11 @@ export declare const publicContractsV1: {
|
|
|
7389
7756
|
coveredFlowIds: z.ZodArray<PublicIdSchema>;
|
|
7390
7757
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
7391
7758
|
description: z.ZodString;
|
|
7759
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7760
|
+
fileId: z.ZodString;
|
|
7761
|
+
name: z.ZodString;
|
|
7762
|
+
sizeBytes: z.ZodNumber;
|
|
7763
|
+
}, z.core.$strip>>>;
|
|
7392
7764
|
issueId: PublicIdSchema;
|
|
7393
7765
|
name: z.ZodString;
|
|
7394
7766
|
number: z.ZodNumber;
|
|
@@ -7495,6 +7867,48 @@ export declare const publicContractsV1: {
|
|
|
7495
7867
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
7496
7868
|
}, z.core.$strip>;
|
|
7497
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
|
+
};
|
|
7498
7912
|
removeFlows: {
|
|
7499
7913
|
readonly annotationJustifications: {
|
|
7500
7914
|
readonly destructiveHint: "Deletes existing coverage associations while leaving already-unassociated flows unchanged.";
|
|
@@ -7519,6 +7933,11 @@ export declare const publicContractsV1: {
|
|
|
7519
7933
|
coveredFlowIds: z.ZodArray<PublicIdSchema>;
|
|
7520
7934
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
7521
7935
|
description: z.ZodString;
|
|
7936
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7937
|
+
fileId: z.ZodString;
|
|
7938
|
+
name: z.ZodString;
|
|
7939
|
+
sizeBytes: z.ZodNumber;
|
|
7940
|
+
}, z.core.$strip>>>;
|
|
7522
7941
|
issueId: PublicIdSchema;
|
|
7523
7942
|
name: z.ZodString;
|
|
7524
7943
|
number: z.ZodNumber;
|
|
@@ -7594,6 +8013,11 @@ export declare const publicContractsV1: {
|
|
|
7594
8013
|
coveredFlowIds: z.ZodArray<PublicIdSchema>;
|
|
7595
8014
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
7596
8015
|
description: z.ZodString;
|
|
8016
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
8017
|
+
fileId: z.ZodString;
|
|
8018
|
+
name: z.ZodString;
|
|
8019
|
+
sizeBytes: z.ZodNumber;
|
|
8020
|
+
}, z.core.$strip>>>;
|
|
7597
8021
|
issueId: PublicIdSchema;
|
|
7598
8022
|
name: z.ZodString;
|
|
7599
8023
|
number: z.ZodNumber;
|
|
@@ -7789,6 +8213,7 @@ export declare const publicContractsV1: {
|
|
|
7789
8213
|
readonly name: "mcpServer.connect";
|
|
7790
8214
|
readonly output: z.ZodObject<{
|
|
7791
8215
|
authorizationUrl: z.ZodString;
|
|
8216
|
+
connectionName: z.ZodString;
|
|
7792
8217
|
serverName: z.ZodString;
|
|
7793
8218
|
}, z.core.$strip>;
|
|
7794
8219
|
};
|
|
@@ -8042,6 +8467,11 @@ export declare const publicContractsV1: {
|
|
|
8042
8467
|
coveredFlowIds: z.ZodArray<PublicIdSchema>;
|
|
8043
8468
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
8044
8469
|
description: z.ZodString;
|
|
8470
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
8471
|
+
fileId: z.ZodString;
|
|
8472
|
+
name: z.ZodString;
|
|
8473
|
+
sizeBytes: z.ZodNumber;
|
|
8474
|
+
}, z.core.$strip>>>;
|
|
8045
8475
|
issueId: PublicIdSchema;
|
|
8046
8476
|
name: z.ZodString;
|
|
8047
8477
|
number: z.ZodNumber;
|
|
@@ -8141,7 +8571,7 @@ export declare const publicContractsV1: {
|
|
|
8141
8571
|
readonly openWorldHint: false;
|
|
8142
8572
|
readonly readOnlyHint: true;
|
|
8143
8573
|
};
|
|
8144
|
-
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.";
|
|
8145
8575
|
readonly input: z.ZodObject<{
|
|
8146
8576
|
flowStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8147
8577
|
failed: "failed";
|
|
@@ -8151,6 +8581,7 @@ export declare const publicContractsV1: {
|
|
|
8151
8581
|
canceled: "canceled";
|
|
8152
8582
|
}>>>;
|
|
8153
8583
|
runId: PublicIdSchema;
|
|
8584
|
+
waitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
8154
8585
|
}, z.core.$strip>;
|
|
8155
8586
|
readonly kind: "read";
|
|
8156
8587
|
readonly name: "run.get";
|
|
@@ -8316,6 +8747,11 @@ export declare const publicContractsV1: {
|
|
|
8316
8747
|
origin: z.ZodString;
|
|
8317
8748
|
warnings: z.ZodArray<z.ZodString>;
|
|
8318
8749
|
}, z.core.$strip>>;
|
|
8750
|
+
waitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
8751
|
+
wokeOn: z.ZodOptional<z.ZodEnum<{
|
|
8752
|
+
status: "status";
|
|
8753
|
+
timeout: "timeout";
|
|
8754
|
+
}>>;
|
|
8319
8755
|
completedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
8320
8756
|
createdAt: z.ZodISODateTime;
|
|
8321
8757
|
git: z.ZodObject<{
|
|
@@ -9193,7 +9629,7 @@ export declare const publicContractsV1: {
|
|
|
9193
9629
|
readonly openWorldHint: true;
|
|
9194
9630
|
readonly readOnlyHint: false;
|
|
9195
9631
|
};
|
|
9196
|
-
readonly description: "Launch an interactive runner on the caller's team under an id the caller chooses. Send `initialUrl` so its browser comes up on the page the work starts from, which saves a separate navigation and the browser's cold start. Launching the same id again returns the runner already running rather than starting a second one,
|
|
9632
|
+
readonly description: "Launch an interactive runner on the caller's team under an id the caller chooses. Send `initialUrl` so its browser comes up on the page the work starts from, which saves a separate navigation and the browser's cold start. Launching the same id again returns the runner already running rather than starting a second one, whatever runnerName is sent, so read `runnerName` in the answer for what is running. A runner is not permanent: it terminates on its own after a period of inactivity, and launching the same id after that starts and bills a new runner, so read `alreadyRunning` to tell which happened. A success means the runner is answering: the call waits for the pod it started to come up, so the very next call to the runner reaches it. If the pod does not come up in time the call fails instead, leaving the runner running, and launching the same id again attaches to it.";
|
|
9197
9633
|
readonly input: z.ZodObject<{
|
|
9198
9634
|
id: z.ZodString;
|
|
9199
9635
|
initialUrl: z.ZodOptional<z.ZodURL>;
|