@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.
- 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/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/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/index.d.ts +490 -54
- 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/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 +82 -0
- package/dist/v1/issue/contracts.d.ts.map +1 -1
- package/dist/v1/issue/contracts.js +4 -0
- package/dist/v1/issue/contracts.js.map +1 -1
- package/dist/v1/issue/create.js +1 -1
- package/dist/v1/issue/create.js.map +1 -1
- 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/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/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/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/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/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
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { PublicIdSchema } from "../ids.js";
|
|
3
|
+
export declare const maxActivityWaitItems = 50;
|
|
4
|
+
export declare const makeActivityWaitContract: <ChatSessionId extends PublicIdSchema, RunId extends PublicIdSchema>(ids: {
|
|
5
|
+
chatSession: ChatSessionId;
|
|
6
|
+
run: RunId;
|
|
7
|
+
}) => {
|
|
8
|
+
readonly annotationJustifications: {
|
|
9
|
+
readonly destructiveHint: "Does not cancel work, stop runs or edit tests.";
|
|
10
|
+
readonly openWorldHint: "Reads QA Wolf sessions and runs without posting to external services.";
|
|
11
|
+
readonly readOnlyHint: "Retrieves session replies and statuses and run statuses without sending work.";
|
|
12
|
+
};
|
|
13
|
+
readonly annotations: {
|
|
14
|
+
readonly destructiveHint: false;
|
|
15
|
+
readonly openWorldHint: false;
|
|
16
|
+
readonly readOnlyHint: true;
|
|
17
|
+
};
|
|
18
|
+
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.";
|
|
19
|
+
readonly input: z.ZodObject<{
|
|
20
|
+
cursors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
21
|
+
runIds: z.ZodOptional<z.ZodArray<RunId>>;
|
|
22
|
+
sessionIds: z.ZodOptional<z.ZodArray<ChatSessionId>>;
|
|
23
|
+
waitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
readonly kind: "read";
|
|
26
|
+
readonly name: "activity.wait";
|
|
27
|
+
readonly output: z.ZodObject<{
|
|
28
|
+
open: z.ZodObject<{
|
|
29
|
+
cursors: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
30
|
+
runIds: z.ZodArray<RunId>;
|
|
31
|
+
sessionIds: z.ZodArray<ChatSessionId>;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
34
|
+
finished: z.ZodBoolean;
|
|
35
|
+
runId: RunId;
|
|
36
|
+
status: z.ZodEnum<{
|
|
37
|
+
failed: "failed";
|
|
38
|
+
queued: "queued";
|
|
39
|
+
running: "running";
|
|
40
|
+
passed: "passed";
|
|
41
|
+
canceled: "canceled";
|
|
42
|
+
superseded: "superseded";
|
|
43
|
+
"not-found": "not-found";
|
|
44
|
+
}>;
|
|
45
|
+
url: z.ZodOptional<z.ZodString>;
|
|
46
|
+
}, z.core.$strip>>;
|
|
47
|
+
sessions: z.ZodArray<z.ZodObject<{
|
|
48
|
+
nextCursor: z.ZodString;
|
|
49
|
+
replies: z.ZodArray<z.ZodObject<{
|
|
50
|
+
askedAt: z.ZodISODateTime;
|
|
51
|
+
choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
52
|
+
id: z.ZodString;
|
|
53
|
+
text: z.ZodString;
|
|
54
|
+
}, z.core.$strip>>;
|
|
55
|
+
sessionId: ChatSessionId;
|
|
56
|
+
status: z.ZodEnum<{
|
|
57
|
+
working: "working";
|
|
58
|
+
"waiting-for-you": "waiting-for-you";
|
|
59
|
+
completed: "completed";
|
|
60
|
+
failed: "failed";
|
|
61
|
+
cancelled: "cancelled";
|
|
62
|
+
"not-found": "not-found";
|
|
63
|
+
}>;
|
|
64
|
+
}, z.core.$strip>>;
|
|
65
|
+
waitSeconds: z.ZodNumber;
|
|
66
|
+
wokeOn: z.ZodEnum<{
|
|
67
|
+
timeout: "timeout";
|
|
68
|
+
activity: "activity";
|
|
69
|
+
}>;
|
|
70
|
+
}, z.core.$strip>;
|
|
71
|
+
};
|
|
72
|
+
//# sourceMappingURL=wait.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wait.d.ts","sourceRoot":"","sources":["../../../src/v1/activity/wait.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,oBAAoB,KAAK,CAAC;AAEvC,eAAO,MAAM,wBAAwB,GACnC,aAAa,SAAS,cAAc,EACpC,KAAK,SAAS,cAAc,EAC5B,KAAK;IACL,WAAW,EAAE,aAAa,CAAC;IAC3B,GAAG,EAAE,KAAK,CAAC;CACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwHA,CAAC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { agentReplySchema, agentSessionStatuses } from "../agent/status.js";
|
|
3
|
+
import { maxAgentWaitSeconds, maxAgentWaitSecondsWithProgress, } from "../agent/wait.js";
|
|
4
|
+
import { publicRunSummaryStatusValues } from "../run/summary.js";
|
|
5
|
+
export const maxActivityWaitItems = 50;
|
|
6
|
+
export const makeActivityWaitContract = (ids) => {
|
|
7
|
+
const cursors = z.record(z.string().min(1), z.string().min(1));
|
|
8
|
+
const runIds = z.array(ids.run);
|
|
9
|
+
const sessionIds = z.array(ids.chatSession);
|
|
10
|
+
const input = z.object({
|
|
11
|
+
cursors: cursors
|
|
12
|
+
.optional()
|
|
13
|
+
.describe("Each session's nextCursor from the previous answer, keyed by its session id. A session without one is read from its first reply."),
|
|
14
|
+
runIds: runIds
|
|
15
|
+
.max(maxActivityWaitItems)
|
|
16
|
+
.optional()
|
|
17
|
+
.describe(`The runs you are waiting on, including a run still being created. Send at least one session or run, and at most ${maxActivityWaitItems} together.`),
|
|
18
|
+
sessionIds: sessionIds
|
|
19
|
+
.max(maxActivityWaitItems)
|
|
20
|
+
.optional()
|
|
21
|
+
.describe("The Tester sessions you are waiting on, as agent.send answered with."),
|
|
22
|
+
waitSeconds: z
|
|
23
|
+
.number()
|
|
24
|
+
.int()
|
|
25
|
+
.min(0)
|
|
26
|
+
.optional()
|
|
27
|
+
.describe(`How long the server may hold this call open, in seconds. Defaults to ${maxAgentWaitSeconds}. A larger value clamps to ${maxAgentWaitSeconds}, or to ${maxAgentWaitSecondsWithProgress} when the call carries a progress token. Pass more than ${maxAgentWaitSeconds} only when your instructions say your client keeps the call open while progress arrives.`),
|
|
28
|
+
});
|
|
29
|
+
const output = z.object({
|
|
30
|
+
open: z
|
|
31
|
+
.object({ cursors, runIds, sessionIds })
|
|
32
|
+
.describe("Everything still worth waiting on: each session whose status is not completed, failed, cancelled or not-found, with its new cursor, and each run that has not finished. Send it as the next call's input."),
|
|
33
|
+
runs: z
|
|
34
|
+
.array(z.object({
|
|
35
|
+
finished: z
|
|
36
|
+
.boolean()
|
|
37
|
+
.describe("True once the status is passed, failed, canceled, superseded or not-found. A finished run never changes again."),
|
|
38
|
+
runId: ids.run.describe("The run id you sent."),
|
|
39
|
+
status: z
|
|
40
|
+
.enum([...publicRunSummaryStatusValues, "not-found"])
|
|
41
|
+
.describe('The run\'s status, as run.get reports it. A run still being created reads "queued". "not-found" means no run has this id: its creation failed, was skipped or never finished, or the run is gone.'),
|
|
42
|
+
url: z
|
|
43
|
+
.string()
|
|
44
|
+
.optional()
|
|
45
|
+
.describe("Absolute URL of the run page. Absent while the run is still being created, and when it is not found."),
|
|
46
|
+
}))
|
|
47
|
+
.describe("Every run you sent, in the order you sent them."),
|
|
48
|
+
sessions: z
|
|
49
|
+
.array(z.object({
|
|
50
|
+
nextCursor: z
|
|
51
|
+
.string()
|
|
52
|
+
.min(1)
|
|
53
|
+
.describe("Send back under this session's id in cursors to read only what follows."),
|
|
54
|
+
replies: z
|
|
55
|
+
.array(agentReplySchema)
|
|
56
|
+
.describe("What the AI has said since the cursor, oldest first, as agent.get returns it. Empty when it said nothing new."),
|
|
57
|
+
sessionId: ids.chatSession,
|
|
58
|
+
status: z
|
|
59
|
+
.enum([...agentSessionStatuses, "not-found"])
|
|
60
|
+
.describe('Where the work stands, as agent.get reports it. "working" means the AI is still on it. "waiting-for-you" means it asked a question that agent.send must answer. "completed" means it finished, and a new agent.send continues it. "failed" and "cancelled" are settled. "not-found" means the session is gone and will not change.'),
|
|
61
|
+
}))
|
|
62
|
+
.describe("Every session you sent, in the order you sent them."),
|
|
63
|
+
waitSeconds: z
|
|
64
|
+
.number()
|
|
65
|
+
.int()
|
|
66
|
+
.describe("The hold this call was allowed, in seconds, after clamping."),
|
|
67
|
+
wokeOn: z
|
|
68
|
+
.enum(["activity", "timeout"])
|
|
69
|
+
.describe('"activity" means a session replied or changed status, or a run finished, or a session or run was not found; every item with news is in this answer. "timeout" means the hold ran out with nothing new.'),
|
|
70
|
+
});
|
|
71
|
+
return {
|
|
72
|
+
annotationJustifications: {
|
|
73
|
+
destructiveHint: "Does not cancel work, stop runs or edit tests.",
|
|
74
|
+
openWorldHint: "Reads QA Wolf sessions and runs without posting to external services.",
|
|
75
|
+
readOnlyHint: "Retrieves session replies and statuses and run statuses without sending work.",
|
|
76
|
+
},
|
|
77
|
+
annotations: {
|
|
78
|
+
destructiveHint: false,
|
|
79
|
+
openWorldHint: false,
|
|
80
|
+
readOnlyHint: true,
|
|
81
|
+
},
|
|
82
|
+
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 ${maxAgentWaitSeconds} only when your instructions say your client keeps the call open while progress arrives.`,
|
|
83
|
+
input,
|
|
84
|
+
kind: "read",
|
|
85
|
+
name: "activity.wait",
|
|
86
|
+
output,
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
//# sourceMappingURL=wait.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wait.js","sourceRoot":"","sources":["../../../src/v1/activity/wait.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EACL,mBAAmB,EACnB,+BAA+B,GAChC,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAAE,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AAEjE,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAAE,CAAC;AAEvC,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAGtC,GAGD,EAAE,EAAE;IACH,MAAM,OAAO,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,C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e;QACrB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
package/dist/v1/agent/get.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare const makeAgentGetContract: <ChatSessionId extends PublicIdSchema
|
|
|
14
14
|
readonly openWorldHint: false;
|
|
15
15
|
readonly readOnlyHint: true;
|
|
16
16
|
};
|
|
17
|
-
readonly description: "Monitor a QA Wolf AI session by reading its status and replies. After agent.send, share the returned session URL before monitoring. Pass waitSeconds 45 so the server holds the check open and answers the moment
|
|
17
|
+
readonly description: "Monitor a QA Wolf AI session by reading its status and replies. After agent.send, share the returned session URL before monitoring. Pass waitSeconds 45 so the server holds the check open and answers the moment a reply or status change arrives. Check again as soon as it returns; never sleep between checks or loop without waitSeconds. Pass the nextCursor from one response as the cursor on the next check; it then reads only what is new, and only for the session that minted it. Continue monitoring silently when the status is unchanged and no replies come back; do not narrate waiting, announce the next check, or ask whether to keep monitoring. Report only substantive new progress, questions, blockers, or the final outcome. A status of \"waiting-for-you\" means the last reply is a question the work is blocked on, and answering it with agent.send is what unblocks it. Surface an explicit request for user input even if the status still says \"working\". Include the session URL when reporting a blocker or final outcome. On \"completed\", stop status checks and verify the requested result before claiming success. For new flows, validation, publication in the target environment, and readiness are separate checks; a Git push or final reply does not prove the flow is active. If every requested result is verified but status remains \"working\", report the mismatch and stop monitoring. Stop on \"failed\" or \"cancelled\" and report any confirmed partial result.";
|
|
18
18
|
readonly input: z.ZodObject<{
|
|
19
19
|
cursor: z.ZodOptional<z.ZodString>;
|
|
20
20
|
sessionId: ChatSessionId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/agent/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/agent/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAUhD,eAAO,MAAM,oBAAoB,GAC/B,aAAa,SAAS,cAAc,EACpC,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,WAAW,EAAE,aAAa,CAAC;IAC3B,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6EA,CAAC"}
|
package/dist/v1/agent/get.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { resource } from "../resource.js";
|
|
3
3
|
import { agentReplySchema, agentSessionStatusSchema } from "./status.js";
|
|
4
|
-
import { agentWakeReasonSchema, maxAgentWaitSeconds } from "./wait.js";
|
|
4
|
+
import { agentWakeReasonSchema, maxAgentWaitSeconds, maxAgentWaitSecondsWithProgress, } from "./wait.js";
|
|
5
5
|
export const makeAgentGetContract = (ids) => {
|
|
6
6
|
const input = z.object({
|
|
7
7
|
cursor: z
|
|
@@ -15,7 +15,7 @@ export const makeAgentGetContract = (ids) => {
|
|
|
15
15
|
.int()
|
|
16
16
|
.min(0)
|
|
17
17
|
.optional()
|
|
18
|
-
.describe(`How long the server may hold this check open, in seconds. Defaults to ${maxAgentWaitSeconds}
|
|
18
|
+
.describe(`How long the server may hold this check open, in seconds. Defaults to ${maxAgentWaitSeconds}. Pass 0 to answer at once. A larger value clamps to ${maxAgentWaitSeconds}, or to ${maxAgentWaitSecondsWithProgress} when the call carries a progress token. Pass more than ${maxAgentWaitSeconds} only when your instructions say your client keeps the call open while progress arrives. A held check answers the moment a reply or status change arrives. Check again as soon as a held check returns.`),
|
|
19
19
|
});
|
|
20
20
|
const output = resource({
|
|
21
21
|
nextCursor: z
|
|
@@ -49,7 +49,7 @@ export const makeAgentGetContract = (ids) => {
|
|
|
49
49
|
openWorldHint: false,
|
|
50
50
|
readOnlyHint: true,
|
|
51
51
|
},
|
|
52
|
-
description:
|
|
52
|
+
description: `Monitor a QA Wolf AI session by reading its status and replies. After agent.send, share the returned session URL before monitoring. Pass waitSeconds ${maxAgentWaitSeconds} so the server holds the check open and answers the moment a reply or status change arrives. Check again as soon as it returns; never sleep between checks or loop without waitSeconds. Pass the nextCursor from one response as the cursor on the next check; it then reads only what is new, and only for the session that minted it. Continue monitoring silently when the status is unchanged and no replies come back; do not narrate waiting, announce the next check, or ask whether to keep monitoring. Report only substantive new progress, questions, blockers, or the final outcome. A status of "waiting-for-you" means the last reply is a question the work is blocked on, and answering it with agent.send is what unblocks it. Surface an explicit request for user input even if the status still says "working". Include the session URL when reporting a blocker or final outcome. On "completed", stop status checks and verify the requested result before claiming success. For new flows, validation, publication in the target environment, and readiness are separate checks; a Git push or final reply does not prove the flow is active. If every requested result is verified but status remains "working", report the mismatch and stop monitoring. Stop on "failed" or "cancelled" and report any confirmed partial result.`,
|
|
53
53
|
input,
|
|
54
54
|
kind: "read",
|
|
55
55
|
name: "agent.get",
|
package/dist/v1/agent/get.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/v1/agent/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AACzE,OAAO,
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/v1/agent/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;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9E;QACD,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,IAAI;SACnB;QACD,WAAW,EAAE,wJAAwJ,mBAAmB,4xCAA4xC;QACp9C,KAAK;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,WAAW;QACjB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
package/dist/v1/agent/wait.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wait.d.ts","sourceRoot":"","sources":["../../../src/v1/agent/wait.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,mBAAmB,KAAK,CAAC;AAEtC,eAAO,MAAM,qBAAqB;;;;EAI/B,CAAC;AAEJ,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"wait.d.ts","sourceRoot":"","sources":["../../../src/v1/agent/wait.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,mBAAmB,KAAK,CAAC;AAEtC,eAAO,MAAM,+BAA+B,MAAM,CAAC;AAEnD,eAAO,MAAM,qBAAqB;;;;EAI/B,CAAC;AAEJ,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
package/dist/v1/agent/wait.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export const maxAgentWaitSeconds = 45;
|
|
3
|
+
export const maxAgentWaitSecondsWithProgress = 170;
|
|
3
4
|
export const agentWakeReasonSchema = z
|
|
4
5
|
.enum(["reply", "status", "timeout"])
|
|
5
6
|
.describe('Why a held check answered. "reply" means the AI said something new, "status" means the session settled or needs you, "timeout" means the hold ran out with nothing new.');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wait.js","sourceRoot":"","sources":["../../../src/v1/agent/wait.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAEtC,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC;KACnC,IAAI,CAAC,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC;KACpC,QAAQ,CACP,yKAAyK,CAC1K,CAAC"}
|
|
1
|
+
{"version":3,"file":"wait.js","sourceRoot":"","sources":["../../../src/v1/agent/wait.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAEtC,MAAM,CAAC,MAAM,+BAA+B,GAAG,GAAG,CAAC;AAEnD,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC;KACnC,IAAI,CAAC,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC;KACpC,QAAQ,CACP,yKAAyK,CAC1K,CAAC"}
|
|
@@ -133,6 +133,27 @@ export declare const deploymentVerdictSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
133
133
|
runId: z.ZodString;
|
|
134
134
|
url: z.ZodURL;
|
|
135
135
|
}, z.core.$strip>;
|
|
136
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
137
|
+
deploymentId: z.ZodString;
|
|
138
|
+
outcome: z.ZodLiteral<"needs-review">;
|
|
139
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
140
|
+
blockingBugCount: z.ZodNumber;
|
|
141
|
+
runId: z.ZodString;
|
|
142
|
+
runUrl: z.ZodURL;
|
|
143
|
+
status: z.ZodEnum<{
|
|
144
|
+
failed: "failed";
|
|
145
|
+
queued: "queued";
|
|
146
|
+
running: "running";
|
|
147
|
+
passed: "passed";
|
|
148
|
+
canceled: "canceled";
|
|
149
|
+
superseded: "superseded";
|
|
150
|
+
}>;
|
|
151
|
+
supersededBy: z.ZodOptional<z.ZodObject<{
|
|
152
|
+
runId: z.ZodString;
|
|
153
|
+
url: z.ZodURL;
|
|
154
|
+
}, z.core.$strip>>;
|
|
155
|
+
triggerName: z.ZodString;
|
|
156
|
+
}, z.core.$strip>>;
|
|
136
157
|
}, z.core.$strip>, z.ZodObject<{
|
|
137
158
|
deploymentId: z.ZodString;
|
|
138
159
|
elapsedMs: z.ZodNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verdict.d.ts","sourceRoot":"","sources":["../../../src/v1/deployment/verdict.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsBxB;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"verdict.d.ts","sourceRoot":"","sources":["../../../src/v1/deployment/verdict.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsBxB;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAuEa,CAAC;AAElD,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -52,6 +52,13 @@ export const deploymentVerdictSchema = z
|
|
|
52
52
|
.object({ runId: z.string(), url: z.url() })
|
|
53
53
|
.describe("The run that replaced the superseded run. It may be testing a later commit, and it can itself be superseded; follow runs[].supersededBy from run.get for the chain."),
|
|
54
54
|
}),
|
|
55
|
+
z
|
|
56
|
+
.object({
|
|
57
|
+
deploymentId,
|
|
58
|
+
outcome: z.literal("needs-review"),
|
|
59
|
+
runs: runs.describe("Every run QA Wolf started for the deployment. A run whose failures wait for a person reads running."),
|
|
60
|
+
})
|
|
61
|
+
.describe("The failures wait for a person on the run page, so there is no verdict yet. Not a pass."),
|
|
55
62
|
z.object({
|
|
56
63
|
deploymentId,
|
|
57
64
|
elapsedMs: z.number().int().nonnegative(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verdict.js","sourceRoot":"","sources":["../../../src/v1/deployment/verdict.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,YAAY,GAAG,CAAC;KACnB,MAAM,EAAE;KACR,QAAQ,CAAC,4CAA4C,CAAC,CAAC;AAE1D,MAAM,IAAI,GAAG,CAAC;KACX,KAAK,CAAC,gBAAgB,CAAC;KACvB,QAAQ,CAAC,+CAA+C,CAAC,CAAC;AAE7D,MAAM,OAAO,GAAG,CAAC;KACd,MAAM,EAAE;KACR,QAAQ,EAAE;KACV,QAAQ,CAAC,6CAA6C,CAAC,CAAC;AAE3D;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACrC,kBAAkB,CAAC,SAAS,EAAE;IAC7B,CAAC,CAAC,MAAM,CAAC,EAAE,YAAY,EAAE,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,CAAC;IAC9D,CAAC,CAAC,MAAM,CAAC;QACP,gBAAgB,EAAE,CAAC;aAChB,MAAM,EAAE;aACR,GAAG,EAAE;aACL,WAAW,EAAE;aACb,QAAQ,C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CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC,EAAE,CAAC;CACxE,CAAC;KACD,QAAQ,CAAC,oCAAoC,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ export const verdictRunSchema = z.object({
|
|
|
16
16
|
// about the same run.
|
|
17
17
|
status: z
|
|
18
18
|
.enum(publicRunSummaryStatusValues)
|
|
19
|
-
.describe("The run's status when the wait ended. Terminal on every outcome except timed-out, where it is whatever the last poll saw."),
|
|
19
|
+
.describe("The run's status when the wait ended. Terminal on every outcome except needs-review, where a run whose failures wait for a person reads running, and timed-out, where it is whatever the last poll saw."),
|
|
20
20
|
supersededBy: z
|
|
21
21
|
.object({ runId: z.string(), url: z.url() })
|
|
22
22
|
.optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verdictParts.js","sourceRoot":"","sources":["../../../src/v1/deployment/verdictParts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AAEjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,4DAA4D;AAC5D,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,GAAG,EAAE;SACL,WAAW,EAAE;SACb,QAAQ,CACP,kFAAkF,CACnF;IACH,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,QAAQ,CACP,oFAAoF,CACrF;IACH,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;IACzD,wEAAwE;IACxE,sBAAsB;IACtB,MAAM,EAAE,CAAC;SACN,IAAI,CAAC,4BAA4B,CAAC;SAClC,QAAQ,CACP,
|
|
1
|
+
{"version":3,"file":"verdictParts.js","sourceRoot":"","sources":["../../../src/v1/deployment/verdictParts.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