@qawolf/api-contracts 0.109.0 → 0.116.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/activity/wait.d.ts +72 -0
- package/dist/v1/activity/wait.d.ts.map +1 -0
- package/dist/v1/activity/wait.js +89 -0
- package/dist/v1/activity/wait.js.map +1 -0
- package/dist/v1/agent/send.d.ts +1 -0
- package/dist/v1/agent/send.d.ts.map +1 -1
- package/dist/v1/agent/send.js +7 -0
- package/dist/v1/agent/send.js.map +1 -1
- package/dist/v1/file/requestUpload.js +1 -1
- package/dist/v1/file/requestUpload.js.map +1 -1
- package/dist/v1/index.d.ts +312 -50
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js +4 -0
- package/dist/v1/index.js.map +1 -1
- package/dist/v1/investigation/get.d.ts +1 -1
- package/dist/v1/investigation/index.d.ts +31 -1
- package/dist/v1/investigation/index.d.ts.map +1 -1
- package/dist/v1/investigation/question/answer.d.ts +36 -0
- package/dist/v1/investigation/question/answer.d.ts.map +1 -0
- package/dist/v1/investigation/question/answer.js +65 -0
- package/dist/v1/investigation/question/answer.js.map +1 -0
- package/dist/v1/investigation/question/find.js +2 -2
- package/dist/v1/investigation/question/find.js.map +1 -1
- package/dist/v1/investigation/question/index.d.ts +30 -0
- package/dist/v1/investigation/question/index.d.ts.map +1 -1
- package/dist/v1/investigation/question/index.js +2 -0
- package/dist/v1/investigation/question/index.js.map +1 -1
- package/dist/v1/issue/create.d.ts.map +1 -1
- package/dist/v1/issue/create.js +3 -5
- package/dist/v1/issue/create.js.map +1 -1
- package/dist/v1/issue/description.d.ts +4 -0
- package/dist/v1/issue/description.d.ts.map +1 -0
- package/dist/v1/issue/description.js +9 -0
- package/dist/v1/issue/description.js.map +1 -0
- package/dist/v1/issue/index.d.ts.map +1 -1
- package/dist/v1/issue/index.js +3 -7
- package/dist/v1/issue/index.js.map +1 -1
- package/dist/v1/issue/update.d.ts.map +1 -1
- package/dist/v1/issue/update.js +2 -3
- package/dist/v1/issue/update.js.map +1 -1
- package/dist/v1/legacyTrigger/resource.js +2 -2
- package/dist/v1/runner/catalog.d.ts +1 -0
- package/dist/v1/runner/catalog.d.ts.map +1 -1
- package/dist/v1/runner/runFlow.d.ts +1 -0
- package/dist/v1/runner/runFlow.d.ts.map +1 -1
- package/dist/v1/runner/runFlow.js +7 -0
- package/dist/v1/runner/runFlow.js.map +1 -1
- package/dist/v1/sharedSchemas.d.ts +2 -0
- package/dist/v1/sharedSchemas.d.ts.map +1 -1
- package/dist/v1/sharedSchemas.js +2 -0
- package/dist/v1/sharedSchemas.js.map +1 -1
- package/dist/v1/trigger/configuration.d.ts +8 -3
- package/dist/v1/trigger/configuration.d.ts.map +1 -1
- package/dist/v1/trigger/configuration.js +4 -2
- package/dist/v1/trigger/configuration.js.map +1 -1
- package/dist/v1/trigger/configurationRules.d.ts +4 -1
- package/dist/v1/trigger/configurationRules.d.ts.map +1 -1
- package/dist/v1/trigger/configurationRules.js +17 -6
- package/dist/v1/trigger/configurationRules.js.map +1 -1
- package/dist/v1/trigger/create.d.ts +14 -6
- package/dist/v1/trigger/create.d.ts.map +1 -1
- package/dist/v1/trigger/find.d.ts +7 -3
- package/dist/v1/trigger/find.d.ts.map +1 -1
- package/dist/v1/trigger/get.d.ts +7 -3
- package/dist/v1/trigger/get.d.ts.map +1 -1
- package/dist/v1/trigger/index.d.ts +56 -24
- package/dist/v1/trigger/index.d.ts.map +1 -1
- package/dist/v1/trigger/lifecycle.d.ts +14 -6
- package/dist/v1/trigger/lifecycle.d.ts.map +1 -1
- package/dist/v1/trigger/resource.d.ts +7 -3
- package/dist/v1/trigger/resource.d.ts.map +1 -1
- package/dist/v1/trigger/scheduleRepeatFields.d.ts +12 -0
- package/dist/v1/trigger/scheduleRepeatFields.d.ts.map +1 -0
- package/dist/v1/trigger/scheduleRepeatFields.js +27 -0
- package/dist/v1/trigger/scheduleRepeatFields.js.map +1 -0
- package/dist/v1/trigger/scheduleRepeatRules.d.ts +17 -0
- package/dist/v1/trigger/scheduleRepeatRules.d.ts.map +1 -0
- package/dist/v1/trigger/scheduleRepeatRules.js +78 -0
- package/dist/v1/trigger/scheduleRepeatRules.js.map +1 -0
- package/dist/v1/trigger/update.d.ts +14 -6
- package/dist/v1/trigger/update.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/v1/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/v1/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,cAAc,oBAAoB,CAAC;AAQnC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AA0B5D,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,iBAAiB,EAEvB,MAAM,UAAU,CAAC;AAsBlB,MAAM,MAAM,cAAc,CAAC,GAAG,SAAS,oBAAoB,IAAI,CAAC,CAAC,KAAK,CACpE,GAAG,CAAC,OAAO,CAAC,CACb,CAAC;AAEF,MAAM,MAAM,eAAe,CAAC,GAAG,SAAS,oBAAoB,IAAI,CAAC,CAAC,KAAK,CACrE,GAAG,CAAC,QAAQ,CAAC,CACd,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,GAC1B,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,OAAO,SAAS,cAAc,GAAG,cAAc,EAC/C,WAAW,SAAS,cAAc,GAAG,cAAc,EACnD,QAAQ,SAAS,cAAc,GAAG,cAAc,EAChD,aAAa,SAAS,cAAc,GAAG,cAAc,EACrD,SAAS,SAAS,cAAc,GAAG,cAAc,EACjD,YAAY,SAAS,cAAc,GAAG,cAAc,EACpD,eAAe,SAAS,cAAc,GAAG,cAAc,EACvD,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoC,CAAC"}
|
package/dist/v1/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { maxResolvedFileBytes } from "./promotion/index.js";
|
|
2
2
|
export * from "./sharedSchemas.js";
|
|
3
|
+
import { makeActivityWaitContract } from "./activity/wait.js";
|
|
3
4
|
import { makeAgentGetContract } from "./agent/get.js";
|
|
4
5
|
import { makeAgentSendContract } from "./agent/send.js";
|
|
5
6
|
import { makeGetAttemptContract } from "./attempt/get.js";
|
|
@@ -62,6 +63,9 @@ export const makeContractsV1 = (ids) => {
|
|
|
62
63
|
runAttempt: ids.runAttempt ?? defaultIdSchemas.runAttempt,
|
|
63
64
|
};
|
|
64
65
|
return {
|
|
66
|
+
activity: {
|
|
67
|
+
wait: makeActivityWaitContract(resolvedIds),
|
|
68
|
+
},
|
|
65
69
|
agent: {
|
|
66
70
|
get: makeAgentGetContract(resolvedIds),
|
|
67
71
|
send: makeAgentSendContract(resolvedIds),
|
package/dist/v1/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/v1/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,cAAc,oBAAoB,CAAC;AAEnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,oCAAoC,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAC;AAEjG,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,8BAA8B,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,EAAE,8BAA8B,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,EAAE,gCAAgC,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAC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CAAC,WAAW,CAAC;SACvC;QACD,MAAM,EAAE,mBAAmB,CAAC,WAAW,CAAC;QACxC,6EAA6E;QAC7E,KAAK,EAAE,kBAAkB,EAAE;QAC3B,GAAG,EAAE;YACH,MAAM,EAAE,qBAAqB,CAAC,WAAW,CAAC;YAC1C,IAAI,EAAE,oBAAoB,CAAC,WAAW,CAAC;SACxC;QACD,OAAO,EAAE,oBAAoB,CAAC,WAAW,CAAC;KAC3C,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,eAAe,CAAC,gBAAgB,CAAC,CAAC"}
|
|
@@ -109,8 +109,8 @@ export declare const makeGetInvestigationContract: <ChatSessionId extends Public
|
|
|
109
109
|
runId: RunId;
|
|
110
110
|
sessionId: z.ZodOptional<ChatSessionId>;
|
|
111
111
|
status: z.ZodEnum<{
|
|
112
|
-
investigating: "investigating";
|
|
113
112
|
finished: "finished";
|
|
113
|
+
investigating: "investigating";
|
|
114
114
|
"not-investigated": "not-investigated";
|
|
115
115
|
"not-enabled": "not-enabled";
|
|
116
116
|
}>;
|
|
@@ -111,8 +111,8 @@ export declare const makeInvestigationContracts: <ChatSessionId extends PublicId
|
|
|
111
111
|
runId: RunId;
|
|
112
112
|
sessionId: import("zod").ZodOptional<ChatSessionId>;
|
|
113
113
|
status: import("zod").ZodEnum<{
|
|
114
|
-
investigating: "investigating";
|
|
115
114
|
finished: "finished";
|
|
115
|
+
investigating: "investigating";
|
|
116
116
|
"not-investigated": "not-investigated";
|
|
117
117
|
"not-enabled": "not-enabled";
|
|
118
118
|
}>;
|
|
@@ -130,6 +130,36 @@ export declare const makeInvestigationContracts: <ChatSessionId extends PublicId
|
|
|
130
130
|
}, import("zod/v4/core").$strip>;
|
|
131
131
|
};
|
|
132
132
|
question: {
|
|
133
|
+
answer: {
|
|
134
|
+
readonly annotationJustifications: {
|
|
135
|
+
readonly destructiveHint: "Records a person's answer that cannot be changed, and the investigation acts on it, for example by filing a bug or publishing a test fix.";
|
|
136
|
+
readonly openWorldHint: "A bug report the investigation files from an answer can reach the workspace's configured integrations.";
|
|
137
|
+
readonly readOnlyHint: "Records answers to the questions of a run's investigation.";
|
|
138
|
+
};
|
|
139
|
+
readonly annotations: {
|
|
140
|
+
readonly destructiveHint: true;
|
|
141
|
+
readonly openWorldHint: true;
|
|
142
|
+
readonly readOnlyHint: false;
|
|
143
|
+
};
|
|
144
|
+
readonly description: string;
|
|
145
|
+
readonly input: import("zod").ZodObject<{
|
|
146
|
+
answers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
147
|
+
replies: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
148
|
+
runId: RunId;
|
|
149
|
+
}, import("zod/v4/core").$strip>;
|
|
150
|
+
readonly kind: "write";
|
|
151
|
+
readonly name: "investigation.question.answer";
|
|
152
|
+
readonly output: import("zod").ZodObject<{
|
|
153
|
+
answeredFindingIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
154
|
+
refused: import("zod").ZodArray<import("zod").ZodObject<{
|
|
155
|
+
findingId: import("zod").ZodString;
|
|
156
|
+
message: import("zod").ZodString;
|
|
157
|
+
reason: import("zod").ZodString;
|
|
158
|
+
}, import("zod/v4/core").$strip>>;
|
|
159
|
+
runId: RunId;
|
|
160
|
+
url: import("zod").ZodURL;
|
|
161
|
+
}, import("zod/v4/core").$strip>;
|
|
162
|
+
};
|
|
133
163
|
find: {
|
|
134
164
|
readonly annotationJustifications: {
|
|
135
165
|
readonly destructiveHint: "Does not answer, dismiss or change any question.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/investigation/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAKhD,eAAO,MAAM,0BAA0B,GACrC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,OAAO,SAAS,cAAc,EAC9B,KAAK,SAAS,cAAc,EAC5B,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,WAAW,EAAE,aAAa,CAAC;IAC3B,cAAc,EAAE,cAAc,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;IACX,SAAS,EAAE,WAAW,CAAC;CACxB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/investigation/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAKhD,eAAO,MAAM,0BAA0B,GACrC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,OAAO,SAAS,cAAc,EAC9B,KAAK,SAAS,cAAc,EAC5B,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,WAAW,EAAE,aAAa,CAAC;IAC3B,cAAc,EAAE,cAAc,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;IACX,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGC,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { PublicIdSchema } from "../../ids.js";
|
|
3
|
+
export declare const makeAnswerInvestigationQuestionsContract: <RunId extends PublicIdSchema>(ids: {
|
|
4
|
+
[key: string]: unknown;
|
|
5
|
+
run: RunId;
|
|
6
|
+
}) => {
|
|
7
|
+
readonly annotationJustifications: {
|
|
8
|
+
readonly destructiveHint: "Records a person's answer that cannot be changed, and the investigation acts on it, for example by filing a bug or publishing a test fix.";
|
|
9
|
+
readonly openWorldHint: "A bug report the investigation files from an answer can reach the workspace's configured integrations.";
|
|
10
|
+
readonly readOnlyHint: "Records answers to the questions of a run's investigation.";
|
|
11
|
+
};
|
|
12
|
+
readonly annotations: {
|
|
13
|
+
readonly destructiveHint: true;
|
|
14
|
+
readonly openWorldHint: true;
|
|
15
|
+
readonly readOnlyHint: false;
|
|
16
|
+
};
|
|
17
|
+
readonly description: string;
|
|
18
|
+
readonly input: z.ZodObject<{
|
|
19
|
+
answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
20
|
+
replies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
21
|
+
runId: RunId;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
readonly kind: "write";
|
|
24
|
+
readonly name: "investigation.question.answer";
|
|
25
|
+
readonly output: z.ZodObject<{
|
|
26
|
+
answeredFindingIds: z.ZodArray<z.ZodString>;
|
|
27
|
+
refused: z.ZodArray<z.ZodObject<{
|
|
28
|
+
findingId: z.ZodString;
|
|
29
|
+
message: z.ZodString;
|
|
30
|
+
reason: z.ZodString;
|
|
31
|
+
}, z.core.$strip>>;
|
|
32
|
+
runId: RunId;
|
|
33
|
+
url: z.ZodURL;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=answer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"answer.d.ts","sourceRoot":"","sources":["../../../../src/v1/investigation/question/answer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAiBnD,eAAO,MAAM,wCAAwC,GACnD,KAAK,SAAS,cAAc,EAC5B,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,GAAG,EAAE,KAAK,CAAC;CACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkFA,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { resource } from "../../resource.js";
|
|
3
|
+
const maxAnswersPerCall = 50;
|
|
4
|
+
const findingIdSchema = z.string().min(1).max(80);
|
|
5
|
+
const findingIdsOf = ({ answers = {}, replies = {} }) => [
|
|
6
|
+
...Object.keys(answers),
|
|
7
|
+
...Object.keys(replies),
|
|
8
|
+
];
|
|
9
|
+
export const makeAnswerInvestigationQuestionsContract = (ids) => {
|
|
10
|
+
const input = z
|
|
11
|
+
.object({
|
|
12
|
+
answers: z
|
|
13
|
+
.record(findingIdSchema, z.string().min(1))
|
|
14
|
+
.optional()
|
|
15
|
+
.describe("Offered answers, keyed by the question's findingId. Each value is the `value` of one of the question's offered answers, such as maintenance or bug."),
|
|
16
|
+
replies: z
|
|
17
|
+
.record(findingIdSchema, z.string().trim().min(1).max(1000))
|
|
18
|
+
.optional()
|
|
19
|
+
.describe("The person's own words, keyed by the question's findingId, for a question that none of the offered answers fits."),
|
|
20
|
+
runId: ids.run,
|
|
21
|
+
})
|
|
22
|
+
.refine((sent) => findingIdsOf(sent).length > 0, {
|
|
23
|
+
message: "Send at least one answer or reply.",
|
|
24
|
+
})
|
|
25
|
+
.refine((sent) => findingIdsOf(sent).length <= maxAnswersPerCall, {
|
|
26
|
+
message: `Send at most ${maxAnswersPerCall} answers and replies in one call.`,
|
|
27
|
+
})
|
|
28
|
+
.refine((sent) => new Set(findingIdsOf(sent)).size === findingIdsOf(sent).length, { message: "Answer each question once, as an answer or as a reply." });
|
|
29
|
+
const output = resource({
|
|
30
|
+
answeredFindingIds: z
|
|
31
|
+
.array(z.string())
|
|
32
|
+
.describe("The questions this call answered. The investigation receives the answers and acts on them."),
|
|
33
|
+
refused: z
|
|
34
|
+
.array(z.object({
|
|
35
|
+
findingId: z.string(),
|
|
36
|
+
message: z.string().describe("Why the answer was not recorded."),
|
|
37
|
+
reason: z
|
|
38
|
+
.string()
|
|
39
|
+
.describe('Known values: "answer-not-offered", "environment-terminated", "not-asking", "not-found", "response-pending" and "superseded". New values can appear.'),
|
|
40
|
+
}))
|
|
41
|
+
.describe("The answers that were not recorded."),
|
|
42
|
+
runId: ids.run,
|
|
43
|
+
}, { urlFieldDescription: "The run in the QA Wolf app." });
|
|
44
|
+
return {
|
|
45
|
+
annotationJustifications: {
|
|
46
|
+
destructiveHint: "Records a person's answer that cannot be changed, and the investigation acts on it, for example by filing a bug or publishing a test fix.",
|
|
47
|
+
openWorldHint: "A bug report the investigation files from an answer can reach the workspace's configured integrations.",
|
|
48
|
+
readOnlyHint: "Records answers to the questions of a run's investigation.",
|
|
49
|
+
},
|
|
50
|
+
annotations: {
|
|
51
|
+
destructiveHint: true,
|
|
52
|
+
openWorldHint: true,
|
|
53
|
+
readOnlyHint: false,
|
|
54
|
+
},
|
|
55
|
+
description: "Answer the questions the QA Wolf AI investigating a failed run is waiting on, as the signed-in person. " +
|
|
56
|
+
"List the questions with investigation.question.find, and answer only with the person's approval. " +
|
|
57
|
+
"The first answer to a question wins, and the investigation acts on it. " +
|
|
58
|
+
"Only a person's own sign-in or user API key can answer; a team or organization key cannot.",
|
|
59
|
+
input,
|
|
60
|
+
kind: "write",
|
|
61
|
+
name: "investigation.question.answer",
|
|
62
|
+
output,
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
//# sourceMappingURL=answer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"answer.js","sourceRoot":"","sources":["../../../../src/v1/investigation/question/answer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MA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
31
|
headline: z.string().optional(),
|
|
32
32
|
question: investigationQuestionSchema,
|
|
33
33
|
runId: ids.run,
|
|
34
|
-
sessionId: ids.chatSession.describe("The investigation session.
|
|
34
|
+
sessionId: ids.chatSession.describe("The investigation session. Read what it is doing with agent.get."),
|
|
35
35
|
summary: z.string().optional(),
|
|
36
36
|
}, { urlFieldDescription: "The run in the QA Wolf app." }))
|
|
37
37
|
.describe("Questions that wait for a person's answer, the most recently recorded first. A page can hold fewer than limit questions, or none, while nextCursor is present."),
|
|
@@ -49,7 +49,7 @@ export const makeFindInvestigationQuestionsContract = (ids) => {
|
|
|
49
49
|
},
|
|
50
50
|
description: "List the questions the QA Wolf AI investigating failed runs is waiting for a person to answer, across a workspace's runs. " +
|
|
51
51
|
"Each question names its run, flows, details and offered answers. " +
|
|
52
|
-
"To answer
|
|
52
|
+
"To answer them, call investigation.question.answer with the run and the person's answers.",
|
|
53
53
|
input,
|
|
54
54
|
kind: "read",
|
|
55
55
|
name: "investigation.question.find",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find.js","sourceRoot":"","sources":["../../../../src/v1/investigation/question/find.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EACL,yBAAyB,EACzB,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AAE5D,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAKpD,GAOD,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,GAAG,yBAAyB,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC;QACjE,aAAa,EAAE,GAAG,CAAC,cAAc;aAC9B,QAAQ,EAAE;aACV,QAAQ,CACP,uGAAuG,CACxG;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,CACjC,kEAAkE,CACnE;YACD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;SAC/B,EACD,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,CACvD,CACF;aACA,QAAQ,CACP,gKAAgK,CACjK;KACJ,CAAC,CAAC;IAEH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EAAE,kDAAkD;YACnE,aAAa,EACX,8EAA8E;YAChF,YAAY,EACV,kFAAkF;SACrF;QACD,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,IAAI;SACnB;QACD,WAAW,EACT,4HAA4H;YAC5H,mEAAmE;YACnE,2FAA2F;QAC7F,KAAK;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,6BAA6B;QACnC,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -7,6 +7,36 @@ export declare const makeInvestigationQuestionContracts: <ChatSessionId extends
|
|
|
7
7
|
run: RunId;
|
|
8
8
|
workspace: WorkspaceId;
|
|
9
9
|
}) => {
|
|
10
|
+
answer: {
|
|
11
|
+
readonly annotationJustifications: {
|
|
12
|
+
readonly destructiveHint: "Records a person's answer that cannot be changed, and the investigation acts on it, for example by filing a bug or publishing a test fix.";
|
|
13
|
+
readonly openWorldHint: "A bug report the investigation files from an answer can reach the workspace's configured integrations.";
|
|
14
|
+
readonly readOnlyHint: "Records answers to the questions of a run's investigation.";
|
|
15
|
+
};
|
|
16
|
+
readonly annotations: {
|
|
17
|
+
readonly destructiveHint: true;
|
|
18
|
+
readonly openWorldHint: true;
|
|
19
|
+
readonly readOnlyHint: false;
|
|
20
|
+
};
|
|
21
|
+
readonly description: string;
|
|
22
|
+
readonly input: import("zod").ZodObject<{
|
|
23
|
+
answers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
24
|
+
replies: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
25
|
+
runId: RunId;
|
|
26
|
+
}, import("zod/v4/core").$strip>;
|
|
27
|
+
readonly kind: "write";
|
|
28
|
+
readonly name: "investigation.question.answer";
|
|
29
|
+
readonly output: import("zod").ZodObject<{
|
|
30
|
+
answeredFindingIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
31
|
+
refused: import("zod").ZodArray<import("zod").ZodObject<{
|
|
32
|
+
findingId: import("zod").ZodString;
|
|
33
|
+
message: import("zod").ZodString;
|
|
34
|
+
reason: import("zod").ZodString;
|
|
35
|
+
}, import("zod/v4/core").$strip>>;
|
|
36
|
+
runId: RunId;
|
|
37
|
+
url: import("zod").ZodURL;
|
|
38
|
+
}, import("zod/v4/core").$strip>;
|
|
39
|
+
};
|
|
10
40
|
find: {
|
|
11
41
|
readonly annotationJustifications: {
|
|
12
42
|
readonly destructiveHint: "Does not answer, dismiss or change any question.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v1/investigation/question/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v1/investigation/question/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAKnD,eAAO,MAAM,kCAAkC,GAC7C,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,WAAW,EAAE,aAAa,CAAC;IAC3B,cAAc,EAAE,cAAc,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,KAAK,CAAC;IACX,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGC,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { makeAnswerInvestigationQuestionsContract } from "./answer.js";
|
|
1
2
|
import { makeFindInvestigationQuestionsContract } from "./find.js";
|
|
2
3
|
export const makeInvestigationQuestionContracts = (ids) => ({
|
|
4
|
+
answer: makeAnswerInvestigationQuestionsContract(ids),
|
|
3
5
|
find: makeFindInvestigationQuestionsContract(ids),
|
|
4
6
|
});
|
|
5
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v1/investigation/question/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sCAAsC,EAAE,MAAM,WAAW,CAAC;AAEnE,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAKhD,GAOD,EAAE,EAAE,CAAC,CAAC;IACL,IAAI,EAAE,sCAAsC,CAAC,GAAG,CAAC;CAClD,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v1/investigation/question/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wCAAwC,EAAE,MAAM,aAAa,CAAC;AACvE,OAAO,EAAE,sCAAsC,EAAE,MAAM,WAAW,CAAC;AAEnE,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAKhD,GAOD,EAAE,EAAE,CAAC,CAAC;IACL,MAAM,EAAE,wCAAwC,CAAC,GAAG,CAAC;IACrD,IAAI,EAAE,sCAAsC,CAAC,GAAG,CAAC;CAClD,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/v1/issue/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/v1/issue/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAShD,eAAO,MAAM,uBAAuB,GAClC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,OAAO,SAAS,cAAc,EAC9B,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;IACX,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4FA,CAAC"}
|
package/dist/v1/issue/create.js
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { issueDescriptionDescription } from "./description.js";
|
|
2
3
|
import { attachedFilePathsDescription, attachedFilePathsSchema, } from "./files.js";
|
|
3
4
|
import { issuePrioritySchema, makeIssueResourceSchema } from "./index.js";
|
|
4
5
|
export const makeCreateIssueContract = (ids) => {
|
|
5
6
|
const commonFields = {
|
|
6
|
-
description: z
|
|
7
|
-
.string()
|
|
8
|
-
.optional()
|
|
9
|
-
.describe("The issue description in Markdown, which is stored as rich text. Text without Markdown is stored as written, one paragraph per line."),
|
|
7
|
+
description: z.string().optional().describe(issueDescriptionDescription),
|
|
10
8
|
// Trimmed so a whitespace-only name cannot create a blank-titled issue.
|
|
11
9
|
name: z.string().trim().min(1).max(255),
|
|
12
10
|
priority: issuePrioritySchema
|
|
13
11
|
.optional()
|
|
14
|
-
.describe(
|
|
12
|
+
.describe(`${issuePrioritySchema.description} Defaults to "unprioritized" for bug reports and coverage requests.`),
|
|
15
13
|
workspaceId: ids.workspace
|
|
16
14
|
.optional()
|
|
17
15
|
.describe("The workspace to create the issue in. Required when authenticating with an organization or user API key."),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../src/v1/issue/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EACL,4BAA4B,EAC5B,uBAAuB,GACxB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAE1E,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAMrC,GAMD,EAAE,EAAE;IACH,MAAM,YAAY,GAAG;QACnB,WAAW,EAAE,CAAC
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../src/v1/issue/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EACL,4BAA4B,EAC5B,uBAAuB,GACxB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAE1E,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAMrC,GAMD,EAAE,EAAE;IACH,MAAM,YAAY,GAAG;QACnB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC;QACxE,wEAAwE;QACxE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;QACvC,QAAQ,EA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Aa,CAAC;SAC/B,CAAC;KACH,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;QACtB,KAAK,EAAE,uBAAuB,CAAC,GAAG,CAAC;KACpC,CAAC,CAAC;IAEH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,sGAAsG;YACxG,aAAa,EACX,sHAAsH;YACxH,YAAY,EACV,iFAAiF;SACpF;QACD,WAAW,EAAE;YACX,eAAe,EAAE,IAAI;YACrB,aAAa,EAAE,IAAI;YACnB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,4GAA4G;YAC5G,+EAA+E;YAC/E,gFAAgF;YAChF,qDAAqD;QACvD,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,cAAc;QACpB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"description.d.ts","sourceRoot":"","sources":["../../../src/v1/issue/description.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,UAAY,CAAC;AAEjD,eAAO,MAAM,6BAA6B,KAAK,CAAC;AAEhD,eAAO,MAAM,2BAA2B,QAMkI,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export const maxInlineImageSizeBytes = 2_000_000;
|
|
2
|
+
export const maxInlineImagesPerDescription = 10;
|
|
3
|
+
export const issueDescriptionDescription = "The issue description in Markdown, which is stored as rich text. Text without Markdown is stored as written, one paragraph per line. " +
|
|
4
|
+
"To show an image in the description, upload it with file.requestUpload, PUT its bytes with curl, then write `` where the image belongs, with the returned filePath between the angle brackets. " +
|
|
5
|
+
`The image is stored in the description itself: a GIF, JPEG, PNG or WebP of at most ${maxInlineImageSizeBytes / 1_000_000} MB. ` +
|
|
6
|
+
`A description shows at most ${maxInlineImagesPerDescription} such images, each outside any link. ` +
|
|
7
|
+
"An image at an http(s) URL is stored as a link instead. " +
|
|
8
|
+
"If an image's path has no file, is not one of those images, is too large or is inside a link, or there are too many images, nothing is written and the error says why.";
|
|
9
|
+
//# sourceMappingURL=description.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"description.js","sourceRoot":"","sources":["../../../src/v1/issue/description.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG,SAAS,CAAC;AAEjD,MAAM,CAAC,MAAM,6BAA6B,GAAG,EAAE,CAAC;AAEhD,MAAM,CAAC,MAAM,2BAA2B,GACtC,uIAAuI;IACvI,6NAA6N;IAC7N,sFAAsF,uBAAuB,GAAG,SAAS,OAAO;IAChI,+BAA+B,6BAA6B,uCAAuC;IACnG,0DAA0D;IAC1D,wKAAwK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/issue/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAMhD,eAAO,MAAM,mBAAmB;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/issue/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAMhD,eAAO,MAAM,mBAAmB;;;;;;EAI7B,CAAC;AAEJ,eAAO,MAAM,iBAAiB;;;;;;;;EAQ5B,CAAC;AAWH,eAAO,MAAM,uBAAuB,GAClC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,OAAO,SAAS,cAAc,EAC9B,KAAK;IACL,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;CACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqCE,CAAC;AAEJ,eAAO,MAAM,sBAAsB,GACjC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,OAAO,SAAS,cAAc,EAC9B,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;IACX,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDA,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,OAAO,SAAS,cAAc,EAC9B,KAAK;IACL,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;CACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BA,CAAC"}
|
package/dist/v1/issue/index.js
CHANGED
|
@@ -2,13 +2,9 @@ import { z } from "zod";
|
|
|
2
2
|
import { makePaginationInputFields, nextCursorSchema } from "../pagination.js";
|
|
3
3
|
import { resource } from "../resource.js";
|
|
4
4
|
import { issueFileSchema } from "./files.js";
|
|
5
|
-
export const issuePrioritySchema = z
|
|
6
|
-
"unprioritized",
|
|
7
|
-
"
|
|
8
|
-
"medium",
|
|
9
|
-
"high",
|
|
10
|
-
"urgent",
|
|
11
|
-
]);
|
|
5
|
+
export const issuePrioritySchema = z
|
|
6
|
+
.enum(["unprioritized", "low", "medium", "high", "urgent"])
|
|
7
|
+
.describe("An open bug report at unprioritized, high or urgent priority blocks its suite and CI gate. Low and medium don't block. Priority never makes a blocker or coverage request block.");
|
|
12
8
|
export const issueStatusSchema = z.enum([
|
|
13
9
|
"backlog",
|
|
14
10
|
"pending",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/issue/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,yBAAyB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/issue/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,yBAAyB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC;KACjC,IAAI,CAAC,CAAC,eAAe,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;KAC1D,QAAQ,CACP,kLAAkL,CACnL,CAAC;AAEJ,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,IAAI,CAAC;IACtC,SAAS;IACT,SAAS;IACT,YAAY;IACZ,QAAQ;IACR,UAAU;IACV,UAAU;IACV,UAAU;CACX,CAAC,CAAC;AAEH,MAAM,qBAAqB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,iBAAi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C,GAAG,CAAC;KACpC,CAAC,CAAC;IAEH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EAAE,sCAAsC;YACvD,aAAa,EACX,mEAAmE;YACrE,YAAY,EAAE,iDAAiD;SAChE;QACD,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,IAAI;SACnB;QACD,WAAW,EAAE,qBAAqB;QAClC,KAAK;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,WAAW;QACjB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../src/v1/issue/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../src/v1/issue/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAShD,eAAO,MAAM,uBAAuB,GAClC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,OAAO,SAAS,cAAc,EAC9B,KAAK;IACL,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;CACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8DA,CAAC"}
|
package/dist/v1/issue/update.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { issueDescriptionDescription } from "./description.js";
|
|
2
3
|
import { issuePrioritySchema, issueStatusSchema, makeIssueResourceSchema, } from "./index.js";
|
|
3
4
|
export const makeUpdateIssueContract = (ids) => {
|
|
4
|
-
const descriptionSchema = z
|
|
5
|
-
.string()
|
|
6
|
-
.describe("The issue description in Markdown, which is stored as rich text. Text without Markdown is stored as written, one paragraph per line.");
|
|
5
|
+
const descriptionSchema = z.string().describe(issueDescriptionDescription);
|
|
7
6
|
const nameSchema = z.string().trim().min(1).max(255);
|
|
8
7
|
// A refined object rather than a union of "one field is required" branches:
|
|
9
8
|
// a union converts to `anyOf`, which has no flat property set for the CLI to
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../src/v1/issue/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,uBAAuB,GACxB,MAAM,YAAY,CAAC;AAEpB,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAKrC,GAKD,EAAE,EAAE;IACH,MAAM,iBAAiB,GAAG,CAAC
|
|
1
|
+
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../src/v1/issue/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,uBAAuB,GACxB,MAAM,YAAY,CAAC;AAEpB,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAKrC,GAKD,EAAE,EAAE;IACH,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAC;IAC3E,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACrD,4EAA4E;IAC5E,6EAA6E;IAC7E,0EAA0E;IAC1E,wCAAwC;IACxC,MAAM,KAAK,GAAG,CAAC;SACZ,MAAM,CAAC;QACN,WAAW,EAAE,iBAAiB,CAAC,QAAQ,EAAE;QACzC,OAAO,EAAE,GAAG,CAAC,KAAK;QAClB,IAAI,EAAE,UAAU,CAAC,QAAQ,EAAE;QAC3B,QAAQ,EAAE,mBAAmB,CAAC,QAAQ,EAAE;QACxC,MAAM,EAAE,iBAAiB;aACtB,QAAQ,EAAE;aACV,QAAQ,CACP,ieAAie,CACle;KACJ,CAAC;SACD,MAAM,CACL,CAAC,MAAM,EAAE,EAAE;IACT,kEAAkE;IAClE,4CAA4C;IAC5C,MAAM,CAAC,WAAW,KAAK,SAAS;QAChC,MAAM,CAAC,IAAI,KAAK,SAAS;QACzB,MAAM,CAAC,QAAQ,KAAK,SAAS;QAC7B,MAAM,CAAC,MAAM,KAAK,SAAS,EAC7B;QACE,OAAO,EACL,qEAAqE;KACxE,CACF,CAAC;IACJ,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;QACtB,KAAK,EAAE,uBAAuB,CAAC,GAAG,CAAC;KACpC,CAAC,CAAC;IAEH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,gFAAgF;YAClF,aAAa,EACX,+EAA+E;YACjF,YAAY,EACV,gFAAgF;SACnF;QACD,WAAW,EAAE;YACX,eAAe,EAAE,IAAI;YACrB,aAAa,EAAE,IAAI;YACnB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,8EAA8E;QAChF,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,cAAc;QACpB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -5,8 +5,8 @@ const namedIdentity = z.object({ id: z.string(), name: z.string() });
|
|
|
5
5
|
*
|
|
6
6
|
* `listed-branches` carries the stored value as `raw` alongside the globs it
|
|
7
7
|
* splits into, because a current trigger's `branchPattern` is a single
|
|
8
|
-
* case-insensitive glob
|
|
9
|
-
* hand.
|
|
8
|
+
* case-insensitive glob, negated by a leading `!`, and each entry has to be
|
|
9
|
+
* mapped by hand.
|
|
10
10
|
*/
|
|
11
11
|
const branchScope = z.union([
|
|
12
12
|
z.object({ kind: z.literal("all-branches") }),
|
|
@@ -17,6 +17,7 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
17
17
|
};
|
|
18
18
|
readonly description: "Run a flow on an interactive runner. When `selection` is given the lines run against the browser as it stands, so nothing is re-navigated and nothing is signed in again; without it the whole entry point runs from a fresh browser. A runner with no live browser starts one before a selection and says so with `bootstrappedRunner`, which means those lines ran against a fresh page rather than the one an earlier run left. A selection produces no `runStarted` event, so follow it by its run id on `run-status` like any other run. Send `unchangedFiles` to ship only what changed since an earlier run on this runner; a `needs-full-sync` failure names the paths it does not hold, and the way to recover is the same run again with every file in `files`. Answers as soon as the run is accepted, with the id to follow it by — nothing waits for the run to finish. Which browser or device the run needs is read from the flow file's own execution target, so it is not supplied here; when it does not match what the runner is, the call fails with `runner-target-mismatch` rather than failing partway through the run. `runner-unreachable` means the answer did not arrive, which is NOT the same as the run not having started: the runner may have accepted it and been too slow to say so, and resubmitting would start a second run that is billed and journalled alongside the first. Read the runner's `run-status` journal stream before resubmitting, and use the newest run id there if one appeared.";
|
|
19
19
|
readonly input: import("zod").ZodObject<{
|
|
20
|
+
builds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
20
21
|
entryPointPath: import("zod").ZodString;
|
|
21
22
|
env: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
22
23
|
environmentId: import("zod").ZodOptional<PublicIdSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/catalog.ts"],"names":[],"mappings":"AAAA,OAAO,KA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBC,CAAC"}
|
|
@@ -17,6 +17,7 @@ export declare const makeRunFlowOnRunnerContract: <FlowId extends PublicIdSchema
|
|
|
17
17
|
};
|
|
18
18
|
readonly description: "Run a flow on an interactive runner. When `selection` is given the lines run against the browser as it stands, so nothing is re-navigated and nothing is signed in again; without it the whole entry point runs from a fresh browser. A runner with no live browser starts one before a selection and says so with `bootstrappedRunner`, which means those lines ran against a fresh page rather than the one an earlier run left. A selection produces no `runStarted` event, so follow it by its run id on `run-status` like any other run. Send `unchangedFiles` to ship only what changed since an earlier run on this runner; a `needs-full-sync` failure names the paths it does not hold, and the way to recover is the same run again with every file in `files`. Answers as soon as the run is accepted, with the id to follow it by — nothing waits for the run to finish. Which browser or device the run needs is read from the flow file's own execution target, so it is not supplied here; when it does not match what the runner is, the call fails with `runner-target-mismatch` rather than failing partway through the run. `runner-unreachable` means the answer did not arrive, which is NOT the same as the run not having started: the runner may have accepted it and been too slow to say so, and resubmitting would start a second run that is billed and journalled alongside the first. Read the runner's `run-status` journal stream before resubmitting, and use the newest run id there if one appeared.";
|
|
19
19
|
readonly input: z.ZodObject<{
|
|
20
|
+
builds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20
21
|
entryPointPath: z.ZodString;
|
|
21
22
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
22
23
|
environmentId: z.ZodOptional<PublicIdSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runFlow.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/runFlow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"runFlow.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/runFlow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AA8BhD,eAAO,MAAM,2BAA2B,GACtC,MAAM,SAAS,cAAc,EAC7B,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,cAAc,EAAE,cAAc,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmJA,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { buildIdSchema } from "../build/resource.js";
|
|
2
3
|
import { runEnvironmentSchema } from "./environment.js";
|
|
3
4
|
import { isShippableRunFilePath, runFilePathRefusal, runFilePathSchema, runPackageJsonPath, } from "./files.js";
|
|
4
5
|
import { runnerIdSchema, runnerNameSchema, runnerWorkspaceIdDescription, } from "./identity.js";
|
|
@@ -20,6 +21,12 @@ const unchangedFilesSchema = z
|
|
|
20
21
|
export const makeRunFlowOnRunnerContract = (ids) => {
|
|
21
22
|
const input = z
|
|
22
23
|
.object({
|
|
24
|
+
builds: z
|
|
25
|
+
.array(buildIdSchema)
|
|
26
|
+
.min(1)
|
|
27
|
+
.max(20)
|
|
28
|
+
.optional()
|
|
29
|
+
.describe("Builds to install in this run, at most one per app and platform. Each replaces the named environment's latest build of its app and platform. The run sees them in `QAWOLF_BUILDS`, which `launch({ app: { id } })` reads."),
|
|
23
30
|
entryPointPath: runFilePathSchema.describe("Path of the flow file to run, as it appears in `files`."),
|
|
24
31
|
env: runEnvironmentSchema
|
|
25
32
|
.optional()
|