@qawolf/api-contracts 0.58.0 → 0.59.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 +8 -1
- package/dist/v1/agent/get.d.ts.map +1 -1
- package/dist/v1/agent/get.js +16 -1
- package/dist/v1/agent/get.js.map +1 -1
- package/dist/v1/agent/wait.d.ts +9 -0
- package/dist/v1/agent/wait.d.ts.map +1 -0
- package/dist/v1/agent/wait.js +6 -0
- package/dist/v1/agent/wait.js.map +1 -0
- package/dist/v1/deployment/find.d.ts +48 -0
- package/dist/v1/deployment/find.d.ts.map +1 -0
- package/dist/v1/deployment/find.js +30 -0
- package/dist/v1/deployment/find.js.map +1 -0
- package/dist/v1/deployment/index.d.ts +189 -0
- package/dist/v1/deployment/index.d.ts.map +1 -0
- package/dist/v1/deployment/index.js +9 -0
- package/dist/v1/deployment/index.js.map +1 -0
- package/dist/v1/deployment/listTriggerEvaluations.d.ts +96 -0
- package/dist/v1/deployment/listTriggerEvaluations.d.ts.map +1 -0
- package/dist/v1/deployment/listTriggerEvaluations.js +101 -0
- package/dist/v1/deployment/listTriggerEvaluations.js.map +1 -0
- package/dist/v1/deployment/resource.d.ts +29 -0
- package/dist/v1/deployment/resource.d.ts.map +1 -0
- package/dist/v1/deployment/resource.js +44 -0
- package/dist/v1/deployment/resource.js.map +1 -0
- package/dist/v1/ids.d.ts +2 -6
- package/dist/v1/ids.d.ts.map +1 -1
- package/dist/v1/ids.js.map +1 -1
- package/dist/v1/index.d.ts +278 -4
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js +2 -4
- package/dist/v1/index.js.map +1 -1
- package/dist/v1/sharedSchemas.d.ts +1 -0
- package/dist/v1/sharedSchemas.d.ts.map +1 -1
- package/dist/v1/sharedSchemas.js +1 -0
- package/dist/v1/sharedSchemas.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { PublicIdSchema } from "../ids.js";
|
|
3
|
+
export declare const makeDeploymentResourceSchema: <DeploymentId extends PublicIdSchema, EnvironmentId extends PublicIdSchema>(ids: {
|
|
4
|
+
deployment: DeploymentId;
|
|
5
|
+
environment: EnvironmentId;
|
|
6
|
+
}) => z.ZodObject<{
|
|
7
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
8
|
+
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
9
|
+
commitMessage: z.ZodOptional<z.ZodString>;
|
|
10
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
11
|
+
deployedAt: z.ZodISODateTime;
|
|
12
|
+
deployTarget: z.ZodOptional<z.ZodString>;
|
|
13
|
+
environmentId: EnvironmentId;
|
|
14
|
+
environmentName: z.ZodOptional<z.ZodString>;
|
|
15
|
+
id: DeploymentId;
|
|
16
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
17
|
+
github: "github";
|
|
18
|
+
gitlab: "gitlab";
|
|
19
|
+
api: "api";
|
|
20
|
+
}>>;
|
|
21
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
22
|
+
success: "success";
|
|
23
|
+
pending: "pending";
|
|
24
|
+
failure: "failure";
|
|
25
|
+
inactive: "inactive";
|
|
26
|
+
}>>;
|
|
27
|
+
url: z.ZodURL;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
//# sourceMappingURL=resource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource.d.ts","sourceRoot":"","sources":["../../../src/v1/deployment/resource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,4BAA4B,GACvC,YAAY,SAAS,cAAc,EACnC,aAAa,SAAS,cAAc,EACpC,KAAK;IACL,UAAU,EAAE,YAAY,CAAC;IACzB,WAAW,EAAE,aAAa,CAAC;CAC5B;;;;;;;;;;;;;;;;;;;;;;iBAwDE,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { resource } from "../resource.js";
|
|
3
|
+
export const makeDeploymentResourceSchema = (ids) => resource({
|
|
4
|
+
branch: z
|
|
5
|
+
.string()
|
|
6
|
+
.optional()
|
|
7
|
+
.describe("The git branch the deployed commit is on. Absent when neither the deployer nor the code host declared one."),
|
|
8
|
+
commitAuthorName: z
|
|
9
|
+
.string()
|
|
10
|
+
.optional()
|
|
11
|
+
.describe("The author of the deployed commit."),
|
|
12
|
+
commitMessage: z
|
|
13
|
+
.string()
|
|
14
|
+
.optional()
|
|
15
|
+
.describe("The message of the deployed commit."),
|
|
16
|
+
commitSha: z
|
|
17
|
+
.string()
|
|
18
|
+
.optional()
|
|
19
|
+
.describe("The sha of the deployed commit."),
|
|
20
|
+
deployedAt: z.iso
|
|
21
|
+
.datetime()
|
|
22
|
+
.describe("When QA Wolf first received the deployment."),
|
|
23
|
+
deployTarget: z
|
|
24
|
+
.string()
|
|
25
|
+
.optional()
|
|
26
|
+
.describe("Identifies the deployed app within the environment: the URL it serves, or the build path of a mobile build. A trigger's deployTargetPattern matches against it."),
|
|
27
|
+
environmentId: ids.environment.describe("The QA Wolf environment the deployment reported into."),
|
|
28
|
+
environmentName: z
|
|
29
|
+
.string()
|
|
30
|
+
.optional()
|
|
31
|
+
.describe("The environment's name. Absent when the environment has since been deleted."),
|
|
32
|
+
id: ids.deployment,
|
|
33
|
+
provider: z
|
|
34
|
+
.enum(["github", "gitlab", "api"])
|
|
35
|
+
.optional()
|
|
36
|
+
.describe("How QA Wolf received the deployment: a GitHub webhook, a GitLab webhook, or the deployment.reportStatus API."),
|
|
37
|
+
status: z
|
|
38
|
+
.enum(["pending", "success", "failure", "inactive"])
|
|
39
|
+
.optional()
|
|
40
|
+
.describe("The deployment's lifecycle status, in the vocabulary deployment.reportStatus accepts. Absent when no status was ever reported."),
|
|
41
|
+
}, {
|
|
42
|
+
urlFieldDescription: "Absolute URL of the workspace's deployments page.",
|
|
43
|
+
});
|
|
44
|
+
//# sourceMappingURL=resource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource.js","sourceRoot":"","sources":["../../../src/v1/deployment/resource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAG1C,GAGD,EAAE,EAAE,CACH,QAAQ,CACN;IACE,MAAM,EAAE,CAAC;SACN,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,4GAA4G,CAC7G;IACH,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,oCAAoC,CAAC;IACjD,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,qCAAqC,CAAC;IAClD,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,iCAAiC,CAAC;IAC9C,UAAU,EAAE,CAAC,CAAC,GAAG;SACd,QAAQ,EAAE;SACV,QAAQ,CAAC,6CAA6C,CAAC;IAC1D,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,iKAAiK,CAClK;IACH,aAAa,EAAE,GAAG,CAAC,WAAW,CAAC,QAAQ,CACrC,uDAAuD,CACxD;IACD,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,6EAA6E,CAC9E;IACH,EAAE,EAAE,GAAG,CAAC,UAAU;IAClB,QAAQ,EAAE,CAAC;SACR,IAAI,CAAC,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;SACjC,QAAQ,EAAE;SACV,QAAQ,CACP,8GAA8G,CAC/G;IACH,MAAM,EAAE,CAAC;SACN,IAAI,CAAC,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC;SACnD,QAAQ,EAAE;SACV,QAAQ,CACP,gIAAgI,CACjI;CACJ,EACD;IACE,mBAAmB,EAAE,mDAAmD;CACzE,CACF,CAAC"}
|
package/dist/v1/ids.d.ts
CHANGED
|
@@ -9,15 +9,11 @@ export type PublicIdSchema = z.ZodType<string, string>;
|
|
|
9
9
|
* injected schema types (TypeScript resolves the indexed access to its
|
|
10
10
|
* constraint inside the factory body).
|
|
11
11
|
*/
|
|
12
|
-
export type PublicIdSchemasOf<EnvironmentId extends PublicIdSchema, FlowId extends PublicIdSchema, RunId extends PublicIdSchema, AutomationId extends PublicIdSchema = PublicIdSchema, IssueId extends PublicIdSchema = PublicIdSchema, WorkspaceId extends PublicIdSchema = PublicIdSchema, AiTaskId extends PublicIdSchema = PublicIdSchema, ChatSessionId extends PublicIdSchema = PublicIdSchema, TriggerId extends PublicIdSchema = PublicIdSchema> = {
|
|
12
|
+
export type PublicIdSchemasOf<EnvironmentId extends PublicIdSchema, FlowId extends PublicIdSchema, RunId extends PublicIdSchema, AutomationId extends PublicIdSchema = PublicIdSchema, IssueId extends PublicIdSchema = PublicIdSchema, WorkspaceId extends PublicIdSchema = PublicIdSchema, AiTaskId extends PublicIdSchema = PublicIdSchema, ChatSessionId extends PublicIdSchema = PublicIdSchema, TriggerId extends PublicIdSchema = PublicIdSchema, DeploymentId extends PublicIdSchema = PublicIdSchema> = {
|
|
13
13
|
aiTask: AiTaskId;
|
|
14
14
|
automation: AutomationId;
|
|
15
15
|
chatSession: ChatSessionId;
|
|
16
|
-
|
|
17
|
-
* Identifies a deployment in outputs only. Not generic: no input names a
|
|
18
|
-
* deployment, so no instantiation needs a stricter schema than a string.
|
|
19
|
-
*/
|
|
20
|
-
deployment: PublicIdSchema;
|
|
16
|
+
deployment: DeploymentId;
|
|
21
17
|
environment: EnvironmentId;
|
|
22
18
|
/**
|
|
23
19
|
* References an environment in inputs: an environment id or alias. Not
|
package/dist/v1/ids.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ids.d.ts","sourceRoot":"","sources":["../../src/v1/ids.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEvD;;;;;;;;GAQG;AACH,MAAM,MAAM,iBAAiB,CAC3B,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,YAAY,SAAS,cAAc,GAAG,cAAc,EACpD,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,
|
|
1
|
+
{"version":3,"file":"ids.d.ts","sourceRoot":"","sources":["../../src/v1/ids.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEvD;;;;;;;;GAQG;AACH,MAAM,MAAM,iBAAiB,CAC3B,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,YAAY,SAAS,cAAc,GAAG,cAAc,EACpD,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,IAClD;IACF,MAAM,EAAE,QAAQ,CAAC;IACjB,UAAU,EAAE,YAAY,CAAC;IACzB,WAAW,EAAE,aAAa,CAAC;IAC3B,UAAU,EAAE,YAAY,CAAC;IACzB,WAAW,EAAE,aAAa,CAAC;IAC3B;;;;;;OAMG;IACH,cAAc,EAAE,cAAc,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;IACX,OAAO,EAAE,SAAS,CAAC;IACnB,SAAS,EAAE,WAAW,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,iBAAiB,CAC7C,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,CACf,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,eAiB9B,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,0BAA0B,GAAI,SAAS,SAAS,cAAc,EACzE,WAAW,SAAS,6BAMjB,CAAC"}
|
package/dist/v1/ids.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ids.js","sourceRoot":"","sources":["../../src/v1/ids.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"ids.js","sourceRoot":"","sources":["../../src/v1/ids.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAyDxB;;;;;GAKG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAoB;IAC/C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,wBAAwB,CAAC;IAC5D,UAAU,EA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GED
|
@@ -11,7 +11,7 @@ export type PublicApiOutput<Api extends AnyPublicApiContract> = z.infer<Api["out
|
|
|
11
11
|
* the same factory with its own strict id schemas, so the contract shape can
|
|
12
12
|
* never drift between the two while validation strictness stays server-owned.
|
|
13
13
|
*/
|
|
14
|
-
export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, FlowId extends PublicIdSchema, RunId extends PublicIdSchema, AutomationId extends PublicIdSchema = PublicIdSchema, IssueId extends PublicIdSchema = PublicIdSchema, WorkspaceId extends PublicIdSchema = PublicIdSchema, AiTaskId extends PublicIdSchema = PublicIdSchema, ChatSessionId extends PublicIdSchema = PublicIdSchema, TriggerId extends PublicIdSchema = PublicIdSchema>(ids: PublicIdSchemasOf<EnvironmentId, FlowId, RunId, AutomationId, IssueId, WorkspaceId, AiTaskId, ChatSessionId, TriggerId>) => {
|
|
14
|
+
export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, FlowId extends PublicIdSchema, RunId extends PublicIdSchema, AutomationId extends PublicIdSchema = PublicIdSchema, IssueId extends PublicIdSchema = PublicIdSchema, WorkspaceId extends PublicIdSchema = PublicIdSchema, AiTaskId extends PublicIdSchema = PublicIdSchema, ChatSessionId extends PublicIdSchema = PublicIdSchema, TriggerId extends PublicIdSchema = PublicIdSchema, DeploymentId extends PublicIdSchema = PublicIdSchema>(ids: PublicIdSchemasOf<EnvironmentId, FlowId, RunId, AutomationId, IssueId, WorkspaceId, AiTaskId, ChatSessionId, TriggerId, DeploymentId>) => {
|
|
15
15
|
agent: {
|
|
16
16
|
get: {
|
|
17
17
|
readonly annotations: {
|
|
@@ -19,10 +19,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
19
19
|
readonly openWorldHint: false;
|
|
20
20
|
readonly readOnlyHint: true;
|
|
21
21
|
};
|
|
22
|
-
readonly description: "Monitor a QA Wolf AI session by reading its status and replies. After agent.send, share the returned session URL before monitoring.
|
|
22
|
+
readonly description: "Monitor a QA Wolf AI session by reading its status and replies. After agent.send, share the returned session URL before monitoring. Pass waitSeconds 45 so the server holds the check open and answers the moment something happens. Check again as soon as it returns; never sleep between checks or loop without waitSeconds. Pass the nextCursor from one response as the cursor on the next check; it then reads only what is new, and only for the session that minted it. Continue monitoring silently when the status is unchanged and no replies come back; do not narrate waiting, announce the next check, or ask whether to keep monitoring. Report only substantive new progress, questions, blockers, or the final outcome. A status of \"waiting-for-you\" means the last reply is a question the work is blocked on, and answering it with agent.send is what unblocks it. Surface an explicit request for user input even if the status still says \"working\". Include the session URL when reporting a blocker or final outcome. On \"completed\", stop status checks and verify the requested result before claiming success. For new flows, validation, publication in the target environment, and readiness are separate checks; a Git push or final reply does not prove the flow is active. If every requested result is verified but status remains \"working\", report the mismatch and stop monitoring. Stop on \"failed\" or \"cancelled\" and report any confirmed partial result.";
|
|
23
23
|
readonly input: z.ZodObject<{
|
|
24
24
|
cursor: z.ZodOptional<z.ZodString>;
|
|
25
25
|
sessionId: ChatSessionId;
|
|
26
|
+
waitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
26
27
|
}, z.core.$strip>;
|
|
27
28
|
readonly kind: "read";
|
|
28
29
|
readonly name: "agent.get";
|
|
@@ -41,6 +42,12 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
41
42
|
failed: "failed";
|
|
42
43
|
cancelled: "cancelled";
|
|
43
44
|
}>;
|
|
45
|
+
waitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
wokeOn: z.ZodOptional<z.ZodEnum<{
|
|
47
|
+
reply: "reply";
|
|
48
|
+
status: "status";
|
|
49
|
+
timeout: "timeout";
|
|
50
|
+
}>>;
|
|
44
51
|
url: z.ZodURL;
|
|
45
52
|
}, z.core.$strip>;
|
|
46
53
|
};
|
|
@@ -152,6 +159,136 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
152
159
|
};
|
|
153
160
|
};
|
|
154
161
|
deployment: {
|
|
162
|
+
find: {
|
|
163
|
+
readonly annotations: {
|
|
164
|
+
readonly destructiveHint: false;
|
|
165
|
+
readonly openWorldHint: false;
|
|
166
|
+
readonly readOnlyHint: true;
|
|
167
|
+
};
|
|
168
|
+
readonly description: "List the deployments QA Wolf has received for the workspace, newest first. A deployment arrives through a code host integration's webhook or through deployment.reportStatus, and is what a deployment trigger evaluates against. deployment.listTriggerEvaluations reports each trigger's verdict for one deployment.";
|
|
169
|
+
readonly input: z.ZodObject<{
|
|
170
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
171
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
172
|
+
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
173
|
+
}, z.core.$strip>;
|
|
174
|
+
readonly kind: "read";
|
|
175
|
+
readonly name: "deployment.find";
|
|
176
|
+
readonly output: z.ZodObject<{
|
|
177
|
+
deployments: z.ZodArray<z.ZodObject<{
|
|
178
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
179
|
+
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
180
|
+
commitMessage: z.ZodOptional<z.ZodString>;
|
|
181
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
182
|
+
deployedAt: z.ZodISODateTime;
|
|
183
|
+
deployTarget: z.ZodOptional<z.ZodString>;
|
|
184
|
+
environmentId: EnvironmentId;
|
|
185
|
+
environmentName: z.ZodOptional<z.ZodString>;
|
|
186
|
+
id: DeploymentId;
|
|
187
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
188
|
+
github: "github";
|
|
189
|
+
gitlab: "gitlab";
|
|
190
|
+
api: "api";
|
|
191
|
+
}>>;
|
|
192
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
193
|
+
success: "success";
|
|
194
|
+
pending: "pending";
|
|
195
|
+
failure: "failure";
|
|
196
|
+
inactive: "inactive";
|
|
197
|
+
}>>;
|
|
198
|
+
url: z.ZodURL;
|
|
199
|
+
}, z.core.$strip>>;
|
|
200
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
201
|
+
}, z.core.$strip>;
|
|
202
|
+
};
|
|
203
|
+
listTriggerEvaluations: {
|
|
204
|
+
readonly annotations: {
|
|
205
|
+
readonly destructiveHint: false;
|
|
206
|
+
readonly openWorldHint: false;
|
|
207
|
+
readonly readOnlyHint: true;
|
|
208
|
+
};
|
|
209
|
+
readonly description: "List the per-trigger verdicts recorded when a deployment was evaluated against the workspace's triggers. Each verdict says whether the trigger matched, did not match with the reason per condition, or was never considered and why. Verdicts are a snapshot from evaluation time: editing or deleting a trigger later does not change them.";
|
|
210
|
+
readonly input: z.ZodObject<{
|
|
211
|
+
deploymentId: DeploymentId;
|
|
212
|
+
}, z.core.$strip>;
|
|
213
|
+
readonly kind: "read";
|
|
214
|
+
readonly name: "deployment.listTriggerEvaluations";
|
|
215
|
+
readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
216
|
+
evaluations: z.ZodArray<z.ZodObject<{
|
|
217
|
+
triggerId: z.ZodOptional<TriggerId>;
|
|
218
|
+
triggerName: z.ZodString;
|
|
219
|
+
verdict: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
220
|
+
conditionSets: z.ZodArray<z.ZodObject<{
|
|
221
|
+
conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
222
|
+
kind: z.ZodEnum<{
|
|
223
|
+
branch: "branch";
|
|
224
|
+
deployTarget: "deployTarget";
|
|
225
|
+
environment: "environment";
|
|
226
|
+
}>;
|
|
227
|
+
outcome: z.ZodLiteral<"matched">;
|
|
228
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
229
|
+
kind: z.ZodEnum<{
|
|
230
|
+
branch: "branch";
|
|
231
|
+
deployTarget: "deployTarget";
|
|
232
|
+
environment: "environment";
|
|
233
|
+
}>;
|
|
234
|
+
outcome: z.ZodLiteral<"did-not-match">;
|
|
235
|
+
reason: z.ZodString;
|
|
236
|
+
}, z.core.$strip>], "outcome">>;
|
|
237
|
+
outcome: z.ZodEnum<{
|
|
238
|
+
matched: "matched";
|
|
239
|
+
"did-not-match": "did-not-match";
|
|
240
|
+
}>;
|
|
241
|
+
}, z.core.$strip>>;
|
|
242
|
+
outcome: z.ZodLiteral<"matched">;
|
|
243
|
+
run: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
244
|
+
runId: RunId;
|
|
245
|
+
status: z.ZodLiteral<"ran">;
|
|
246
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
247
|
+
status: z.ZodLiteral<"starting">;
|
|
248
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
249
|
+
reason: z.ZodString;
|
|
250
|
+
status: z.ZodLiteral<"did-not-run">;
|
|
251
|
+
supersededByRunId: z.ZodOptional<RunId>;
|
|
252
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
253
|
+
status: z.ZodLiteral<"unknown">;
|
|
254
|
+
}, z.core.$strip>], "status">;
|
|
255
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
256
|
+
conditionSets: z.ZodArray<z.ZodObject<{
|
|
257
|
+
conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
258
|
+
kind: z.ZodEnum<{
|
|
259
|
+
branch: "branch";
|
|
260
|
+
deployTarget: "deployTarget";
|
|
261
|
+
environment: "environment";
|
|
262
|
+
}>;
|
|
263
|
+
outcome: z.ZodLiteral<"matched">;
|
|
264
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
265
|
+
kind: z.ZodEnum<{
|
|
266
|
+
branch: "branch";
|
|
267
|
+
deployTarget: "deployTarget";
|
|
268
|
+
environment: "environment";
|
|
269
|
+
}>;
|
|
270
|
+
outcome: z.ZodLiteral<"did-not-match">;
|
|
271
|
+
reason: z.ZodString;
|
|
272
|
+
}, z.core.$strip>], "outcome">>;
|
|
273
|
+
outcome: z.ZodEnum<{
|
|
274
|
+
matched: "matched";
|
|
275
|
+
"did-not-match": "did-not-match";
|
|
276
|
+
}>;
|
|
277
|
+
}, z.core.$strip>>;
|
|
278
|
+
outcome: z.ZodLiteral<"did-not-match">;
|
|
279
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
280
|
+
outcome: z.ZodLiteral<"not-considered">;
|
|
281
|
+
reason: z.ZodEnum<{
|
|
282
|
+
"trigger-paused": "trigger-paused";
|
|
283
|
+
"not-a-deployment-trigger": "not-a-deployment-trigger";
|
|
284
|
+
}>;
|
|
285
|
+
}, z.core.$strip>], "outcome">;
|
|
286
|
+
}, z.core.$strip>>;
|
|
287
|
+
state: z.ZodLiteral<"evaluated">;
|
|
288
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
289
|
+
state: z.ZodLiteral<"not-evaluated">;
|
|
290
|
+
}, z.core.$strip>], "state">;
|
|
291
|
+
};
|
|
155
292
|
reportStatus: {
|
|
156
293
|
readonly annotations: {
|
|
157
294
|
readonly destructiveHint: true;
|
|
@@ -190,7 +327,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
190
327
|
readonly name: "deployment.reportStatus";
|
|
191
328
|
readonly output: z.ZodObject<{
|
|
192
329
|
deployment: z.ZodObject<{
|
|
193
|
-
id:
|
|
330
|
+
id: DeploymentId;
|
|
194
331
|
status: z.ZodEnum<{
|
|
195
332
|
success: "success";
|
|
196
333
|
pending: "pending";
|
|
@@ -2707,10 +2844,11 @@ export declare const publicContractsV1: {
|
|
|
2707
2844
|
readonly openWorldHint: false;
|
|
2708
2845
|
readonly readOnlyHint: true;
|
|
2709
2846
|
};
|
|
2710
|
-
readonly description: "Monitor a QA Wolf AI session by reading its status and replies. After agent.send, share the returned session URL before monitoring.
|
|
2847
|
+
readonly description: "Monitor a QA Wolf AI session by reading its status and replies. After agent.send, share the returned session URL before monitoring. Pass waitSeconds 45 so the server holds the check open and answers the moment something happens. Check again as soon as it returns; never sleep between checks or loop without waitSeconds. Pass the nextCursor from one response as the cursor on the next check; it then reads only what is new, and only for the session that minted it. Continue monitoring silently when the status is unchanged and no replies come back; do not narrate waiting, announce the next check, or ask whether to keep monitoring. Report only substantive new progress, questions, blockers, or the final outcome. A status of \"waiting-for-you\" means the last reply is a question the work is blocked on, and answering it with agent.send is what unblocks it. Surface an explicit request for user input even if the status still says \"working\". Include the session URL when reporting a blocker or final outcome. On \"completed\", stop status checks and verify the requested result before claiming success. For new flows, validation, publication in the target environment, and readiness are separate checks; a Git push or final reply does not prove the flow is active. If every requested result is verified but status remains \"working\", report the mismatch and stop monitoring. Stop on \"failed\" or \"cancelled\" and report any confirmed partial result.";
|
|
2711
2848
|
readonly input: z.ZodObject<{
|
|
2712
2849
|
cursor: z.ZodOptional<z.ZodString>;
|
|
2713
2850
|
sessionId: PublicIdSchema;
|
|
2851
|
+
waitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2714
2852
|
}, z.core.$strip>;
|
|
2715
2853
|
readonly kind: "read";
|
|
2716
2854
|
readonly name: "agent.get";
|
|
@@ -2729,6 +2867,12 @@ export declare const publicContractsV1: {
|
|
|
2729
2867
|
failed: "failed";
|
|
2730
2868
|
cancelled: "cancelled";
|
|
2731
2869
|
}>;
|
|
2870
|
+
waitSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2871
|
+
wokeOn: z.ZodOptional<z.ZodEnum<{
|
|
2872
|
+
reply: "reply";
|
|
2873
|
+
status: "status";
|
|
2874
|
+
timeout: "timeout";
|
|
2875
|
+
}>>;
|
|
2732
2876
|
url: z.ZodURL;
|
|
2733
2877
|
}, z.core.$strip>;
|
|
2734
2878
|
};
|
|
@@ -2840,6 +2984,136 @@ export declare const publicContractsV1: {
|
|
|
2840
2984
|
};
|
|
2841
2985
|
};
|
|
2842
2986
|
deployment: {
|
|
2987
|
+
find: {
|
|
2988
|
+
readonly annotations: {
|
|
2989
|
+
readonly destructiveHint: false;
|
|
2990
|
+
readonly openWorldHint: false;
|
|
2991
|
+
readonly readOnlyHint: true;
|
|
2992
|
+
};
|
|
2993
|
+
readonly description: "List the deployments QA Wolf has received for the workspace, newest first. A deployment arrives through a code host integration's webhook or through deployment.reportStatus, and is what a deployment trigger evaluates against. deployment.listTriggerEvaluations reports each trigger's verdict for one deployment.";
|
|
2994
|
+
readonly input: z.ZodObject<{
|
|
2995
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
2996
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
2997
|
+
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
2998
|
+
}, z.core.$strip>;
|
|
2999
|
+
readonly kind: "read";
|
|
3000
|
+
readonly name: "deployment.find";
|
|
3001
|
+
readonly output: z.ZodObject<{
|
|
3002
|
+
deployments: z.ZodArray<z.ZodObject<{
|
|
3003
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
3004
|
+
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
3005
|
+
commitMessage: z.ZodOptional<z.ZodString>;
|
|
3006
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
3007
|
+
deployedAt: z.ZodISODateTime;
|
|
3008
|
+
deployTarget: z.ZodOptional<z.ZodString>;
|
|
3009
|
+
environmentId: PublicIdSchema;
|
|
3010
|
+
environmentName: z.ZodOptional<z.ZodString>;
|
|
3011
|
+
id: PublicIdSchema;
|
|
3012
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
3013
|
+
github: "github";
|
|
3014
|
+
gitlab: "gitlab";
|
|
3015
|
+
api: "api";
|
|
3016
|
+
}>>;
|
|
3017
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
3018
|
+
success: "success";
|
|
3019
|
+
pending: "pending";
|
|
3020
|
+
failure: "failure";
|
|
3021
|
+
inactive: "inactive";
|
|
3022
|
+
}>>;
|
|
3023
|
+
url: z.ZodURL;
|
|
3024
|
+
}, z.core.$strip>>;
|
|
3025
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
3026
|
+
}, z.core.$strip>;
|
|
3027
|
+
};
|
|
3028
|
+
listTriggerEvaluations: {
|
|
3029
|
+
readonly annotations: {
|
|
3030
|
+
readonly destructiveHint: false;
|
|
3031
|
+
readonly openWorldHint: false;
|
|
3032
|
+
readonly readOnlyHint: true;
|
|
3033
|
+
};
|
|
3034
|
+
readonly description: "List the per-trigger verdicts recorded when a deployment was evaluated against the workspace's triggers. Each verdict says whether the trigger matched, did not match with the reason per condition, or was never considered and why. Verdicts are a snapshot from evaluation time: editing or deleting a trigger later does not change them.";
|
|
3035
|
+
readonly input: z.ZodObject<{
|
|
3036
|
+
deploymentId: PublicIdSchema;
|
|
3037
|
+
}, z.core.$strip>;
|
|
3038
|
+
readonly kind: "read";
|
|
3039
|
+
readonly name: "deployment.listTriggerEvaluations";
|
|
3040
|
+
readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3041
|
+
evaluations: z.ZodArray<z.ZodObject<{
|
|
3042
|
+
triggerId: z.ZodOptional<PublicIdSchema>;
|
|
3043
|
+
triggerName: z.ZodString;
|
|
3044
|
+
verdict: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3045
|
+
conditionSets: z.ZodArray<z.ZodObject<{
|
|
3046
|
+
conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3047
|
+
kind: z.ZodEnum<{
|
|
3048
|
+
branch: "branch";
|
|
3049
|
+
deployTarget: "deployTarget";
|
|
3050
|
+
environment: "environment";
|
|
3051
|
+
}>;
|
|
3052
|
+
outcome: z.ZodLiteral<"matched">;
|
|
3053
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3054
|
+
kind: z.ZodEnum<{
|
|
3055
|
+
branch: "branch";
|
|
3056
|
+
deployTarget: "deployTarget";
|
|
3057
|
+
environment: "environment";
|
|
3058
|
+
}>;
|
|
3059
|
+
outcome: z.ZodLiteral<"did-not-match">;
|
|
3060
|
+
reason: z.ZodString;
|
|
3061
|
+
}, z.core.$strip>], "outcome">>;
|
|
3062
|
+
outcome: z.ZodEnum<{
|
|
3063
|
+
matched: "matched";
|
|
3064
|
+
"did-not-match": "did-not-match";
|
|
3065
|
+
}>;
|
|
3066
|
+
}, z.core.$strip>>;
|
|
3067
|
+
outcome: z.ZodLiteral<"matched">;
|
|
3068
|
+
run: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3069
|
+
runId: PublicIdSchema;
|
|
3070
|
+
status: z.ZodLiteral<"ran">;
|
|
3071
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3072
|
+
status: z.ZodLiteral<"starting">;
|
|
3073
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3074
|
+
reason: z.ZodString;
|
|
3075
|
+
status: z.ZodLiteral<"did-not-run">;
|
|
3076
|
+
supersededByRunId: z.ZodOptional<PublicIdSchema>;
|
|
3077
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3078
|
+
status: z.ZodLiteral<"unknown">;
|
|
3079
|
+
}, z.core.$strip>], "status">;
|
|
3080
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3081
|
+
conditionSets: z.ZodArray<z.ZodObject<{
|
|
3082
|
+
conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3083
|
+
kind: z.ZodEnum<{
|
|
3084
|
+
branch: "branch";
|
|
3085
|
+
deployTarget: "deployTarget";
|
|
3086
|
+
environment: "environment";
|
|
3087
|
+
}>;
|
|
3088
|
+
outcome: z.ZodLiteral<"matched">;
|
|
3089
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3090
|
+
kind: z.ZodEnum<{
|
|
3091
|
+
branch: "branch";
|
|
3092
|
+
deployTarget: "deployTarget";
|
|
3093
|
+
environment: "environment";
|
|
3094
|
+
}>;
|
|
3095
|
+
outcome: z.ZodLiteral<"did-not-match">;
|
|
3096
|
+
reason: z.ZodString;
|
|
3097
|
+
}, z.core.$strip>], "outcome">>;
|
|
3098
|
+
outcome: z.ZodEnum<{
|
|
3099
|
+
matched: "matched";
|
|
3100
|
+
"did-not-match": "did-not-match";
|
|
3101
|
+
}>;
|
|
3102
|
+
}, z.core.$strip>>;
|
|
3103
|
+
outcome: z.ZodLiteral<"did-not-match">;
|
|
3104
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3105
|
+
outcome: z.ZodLiteral<"not-considered">;
|
|
3106
|
+
reason: z.ZodEnum<{
|
|
3107
|
+
"trigger-paused": "trigger-paused";
|
|
3108
|
+
"not-a-deployment-trigger": "not-a-deployment-trigger";
|
|
3109
|
+
}>;
|
|
3110
|
+
}, z.core.$strip>], "outcome">;
|
|
3111
|
+
}, z.core.$strip>>;
|
|
3112
|
+
state: z.ZodLiteral<"evaluated">;
|
|
3113
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3114
|
+
state: z.ZodLiteral<"not-evaluated">;
|
|
3115
|
+
}, z.core.$strip>], "state">;
|
|
3116
|
+
};
|
|
2843
3117
|
reportStatus: {
|
|
2844
3118
|
readonly annotations: {
|
|
2845
3119
|
readonly destructiveHint: true;
|
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,cAAc,oBAAoB,CAAC;AAOnC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAuB5D,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,iBAAiB,EAEvB,MAAM,UAAU,CAAC;AAyClB,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,YAAY,SAAS,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoC,CAAC"}
|
package/dist/v1/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { makeAgentSendContract } from "./agent/send.js";
|
|
|
4
4
|
import { makeAutomateContract } from "./automate/index.js";
|
|
5
5
|
import { makeFindCodeHostIntegrationsContract } from "./codeHostIntegration/find.js";
|
|
6
6
|
import { makeListCodeHostRepositoriesContract } from "./codeHostIntegration/listRepositories.js";
|
|
7
|
-
import {
|
|
7
|
+
import { makeDeploymentContracts } from "./deployment/index.js";
|
|
8
8
|
import { makeFindEmailsContract } from "./email/find.js";
|
|
9
9
|
import { makeGetEmailContract } from "./email/get.js";
|
|
10
10
|
import { makeGetEmailAttachmentContract } from "./email/getAttachment.js";
|
|
@@ -76,9 +76,7 @@ export const makeContractsV1 = (ids) => {
|
|
|
76
76
|
find: makeFindCodeHostIntegrationsContract(resolvedIds),
|
|
77
77
|
listRepositories: makeListCodeHostRepositoriesContract(resolvedIds),
|
|
78
78
|
},
|
|
79
|
-
deployment:
|
|
80
|
-
reportStatus: makeReportDeploymentStatusContract(resolvedIds),
|
|
81
|
-
},
|
|
79
|
+
deployment: makeDeploymentContracts(resolvedIds),
|
|
82
80
|
email: {
|
|
83
81
|
find: makeFindEmailsContract(resolvedIds),
|
|
84
82
|
get: makeGetEmailContract(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,cAAc,oBAAoB,CAAC;AAEnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,oCAAoC,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAC;AAEjG,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/v1/index.ts"],"names":[],"mappings":"AAEA,cAAc,oBAAoB,CAAC;AAEnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3D,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,8BAA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D,MAAM,EAAE,wBAAwB,CAAC,WAAW,CAAC;YAC7C,IAAI,EAAE,uBAAuB,CAAC,WAAW,CAAC;YAC1C,aAAa,EAAE,iCAAiC,CAAC,WAAW,CAAC;YAC7D,eAAe,EAAE,mCAAmC,CAAC,WAAW,CAAC;YACjE,WAAW,EAAE,6BAA6B,CAAC,WAAW,CAAC;YACvD,OAAO,EAAE,2BAA2B,CAAC,WAAW,CAAC;YACjD,OAAO,EAAE,2BAA2B,CAAC,WAAW,CAAC;YACjD,cAAc,EAAE,kCAAkC,CAAC,WAAW,CAAC;YAC/D,SAAS,EAAE,2BAA2B,CAAC,WAAW,CAAC;SACpD;QACD,GAAG,EAAE;YACH,MAAM,EAAE,qBAAqB,CAAC,WAAW,CAAC;YAC1C,IAAI,EAAE,oBAAoB,CAAC,WAAW,CAAC;SACxC;QACD,OAAO,EAAE;YACP,MAAM,EAAE,yBAAyB,CAAC,WAAW,CAAC;YAC9C,MAAM,EAAE,yBAAyB,CAAC,WAAW,CAAC;YAC9C,IAAI,EAAE,wBAAwB,CAAC,WAAW,CAAC;YAC3C,GAAG,EAAE,sBAAsB,CAAC,WAAW,CAAC;YACxC,KAAK,EAAE,wBAAwB,CAAC,WAAW,CAAC;YAC5C,MAAM,EAAE,yBAAyB,CAAC,WAAW,CAAC;YAC9C,MAAM,EAAE,yBAAyB,CAAC,WAAW,CAAC;SAC/C;KACF,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,eAAe,CAAC,gBAAgB,CAAC,CAAC"}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* one thing: the list of public routes.
|
|
5
5
|
*/
|
|
6
6
|
export { type AgentSessionStatus, agentSessionStatusSchema, } from "./agent/status.js";
|
|
7
|
+
export { type AgentWakeReason, agentWakeReasonSchema, maxAgentWaitSeconds, } from "./agent/wait.js";
|
|
7
8
|
export { type AuthConfigResponse, authConfigResponse } from "./auth/config.js";
|
|
8
9
|
export type { AnyPublicApiContract, PublicApiContract, PublicApiContractAnnotations, PublicApiContractKind, } from "./definition.js";
|
|
9
10
|
export { type EmailDirection, emailDirectionSchema } from "./email/resource.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharedSchemas.d.ts","sourceRoot":"","sources":["../../src/v1/sharedSchemas.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EACL,KAAK,kBAAkB,EACvB,wBAAwB,GACzB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,KAAK,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC/E,YAAY,EACV,oBAAoB,EACpB,iBAAiB,EACjB,4BAA4B,EAC5B,qBAAqB,GACtB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,KAAK,cAAc,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,KAAK,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EACL,KAAK,6BAA6B,EAClC,6BAA6B,GAC9B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,gBAAgB,GACjB,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,KAAK,kBAAkB,EACvB,uBAAuB,GACxB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AACzD,cAAc,sBAAsB,CAAC;AACrC,OAAO,EACL,yBAAyB,EACzB,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"sharedSchemas.d.ts","sourceRoot":"","sources":["../../src/v1/sharedSchemas.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EACL,KAAK,kBAAkB,EACvB,wBAAwB,GACzB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,eAAe,EACpB,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,KAAK,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC/E,YAAY,EACV,oBAAoB,EACpB,iBAAiB,EACjB,4BAA4B,EAC5B,qBAAqB,GACtB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,KAAK,cAAc,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,KAAK,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EACL,KAAK,6BAA6B,EAClC,6BAA6B,GAC9B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,gBAAgB,GACjB,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,KAAK,kBAAkB,EACvB,uBAAuB,GACxB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AACzD,cAAc,sBAAsB,CAAC;AACrC,OAAO,EACL,yBAAyB,EACzB,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,oBAAoB,CAAC"}
|
package/dist/v1/sharedSchemas.js
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* one thing: the list of public routes.
|
|
5
5
|
*/
|
|
6
6
|
export { agentSessionStatusSchema, } from "./agent/status.js";
|
|
7
|
+
export { agentWakeReasonSchema, maxAgentWaitSeconds, } from "./agent/wait.js";
|
|
7
8
|
export { authConfigResponse } from "./auth/config.js";
|
|
8
9
|
export { emailDirectionSchema } from "./email/resource.js";
|
|
9
10
|
export { uploadedFilePath } from "./file/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharedSchemas.js","sourceRoot":"","sources":["../../src/v1/sharedSchemas.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAEL,wBAAwB,GACzB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAA2B,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAO/E,OAAO,EAAuB,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAyB,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAEL,6BAA6B,GAC9B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAGL,gBAAgB,GACjB,MAAM,UAAU,CAAC;AAClB,OAAO,EAEL,uBAAuB,GACxB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AACzD,cAAc,sBAAsB,CAAC;AACrC,OAAO,EACL,yBAAyB,EACzB,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"sharedSchemas.js","sourceRoot":"","sources":["../../src/v1/sharedSchemas.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAEL,wBAAwB,GACzB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAA2B,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAO/E,OAAO,EAAuB,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAyB,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAEL,6BAA6B,GAC9B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAGL,gBAAgB,GACjB,MAAM,UAAU,CAAC;AAClB,OAAO,EAEL,uB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