@qawolf/api-contracts 0.53.0 → 0.54.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/automate/index.d.ts +3 -2
- package/dist/v1/automate/index.d.ts.map +1 -1
- package/dist/v1/automate/index.js +2 -0
- package/dist/v1/automate/index.js.map +1 -1
- package/dist/v1/deployment/reportStatus.d.ts +2 -0
- package/dist/v1/deployment/reportStatus.d.ts.map +1 -1
- package/dist/v1/deployment/reportStatus.js +3 -40
- package/dist/v1/deployment/reportStatus.js.map +1 -1
- package/dist/v1/deployment/reportStatusMetadata.d.ts +10 -0
- package/dist/v1/deployment/reportStatusMetadata.d.ts.map +1 -0
- package/dist/v1/deployment/reportStatusMetadata.js +55 -0
- package/dist/v1/deployment/reportStatusMetadata.js.map +1 -0
- package/dist/v1/environment/create.d.ts +44 -0
- package/dist/v1/environment/create.d.ts.map +1 -0
- package/dist/v1/environment/create.js +29 -0
- package/dist/v1/environment/create.js.map +1 -0
- package/dist/v1/environment/deleteVariable.d.ts +3 -2
- package/dist/v1/environment/deleteVariable.d.ts.map +1 -1
- package/dist/v1/environment/deleteVariable.js +2 -0
- package/dist/v1/environment/deleteVariable.js.map +1 -1
- package/dist/v1/environment/getVariable.d.ts +3 -2
- package/dist/v1/environment/getVariable.d.ts.map +1 -1
- package/dist/v1/environment/getVariable.js +2 -0
- package/dist/v1/environment/getVariable.js.map +1 -1
- package/dist/v1/environment/index.d.ts +7 -45
- package/dist/v1/environment/index.d.ts.map +1 -1
- package/dist/v1/environment/index.js +4 -26
- package/dist/v1/environment/index.js.map +1 -1
- package/dist/v1/environment/update.d.ts +3 -2
- package/dist/v1/environment/update.d.ts.map +1 -1
- package/dist/v1/environment/update.js +2 -0
- package/dist/v1/environment/update.js.map +1 -1
- package/dist/v1/flow/index.d.ts +14 -2
- package/dist/v1/flow/index.d.ts.map +1 -1
- package/dist/v1/flow/index.js +32 -0
- package/dist/v1/flow/index.js.map +1 -1
- package/dist/v1/ids.d.ts +20 -1
- package/dist/v1/ids.d.ts.map +1 -1
- package/dist/v1/ids.js +16 -1
- package/dist/v1/ids.js.map +1 -1
- package/dist/v1/index.d.ts +162 -10
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js +6 -1
- package/dist/v1/index.js.map +1 -1
- package/dist/v1/mcpToolDescription.d.ts.map +1 -1
- package/dist/v1/mcpToolDescription.js +1 -0
- package/dist/v1/mcpToolDescription.js.map +1 -1
- package/dist/v1/run/find.d.ts +4 -2
- package/dist/v1/run/find.d.ts.map +1 -1
- package/dist/v1/run/find.js +2 -0
- package/dist/v1/run/find.js.map +1 -1
- package/dist/v1/run/index.d.ts +4 -2
- package/dist/v1/run/index.d.ts.map +1 -1
- package/dist/v1/run/index.js +2 -0
- package/dist/v1/run/index.js.map +1 -1
- package/dist/v1/runner/get.d.ts +9 -4
- package/dist/v1/runner/get.d.ts.map +1 -1
- package/dist/v1/runner/get.js +16 -6
- package/dist/v1/runner/get.js.map +1 -1
- package/dist/v1/runner/identity.d.ts +1 -0
- package/dist/v1/runner/identity.d.ts.map +1 -1
- package/dist/v1/runner/identity.js +4 -3
- package/dist/v1/runner/identity.js.map +1 -1
- package/dist/v1/runner/index.d.ts +1 -1
- package/dist/v1/runner/index.js +1 -1
- package/dist/v1/runner/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../src/v1/environment/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../src/v1/environment/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAGL,0BAA0B,GAC3B,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,6BAA6B,EAAE,MAAM,eAAe,CAAC;AAE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-
import type
|
|
3
|
-
export declare const makeListFlowsContract: <FlowId extends PublicIdSchema, AiTaskId extends PublicIdSchema = PublicIdSchema>(ids: {
|
|
2
|
+
import { type PublicIdSchema } from "../ids.js";
|
|
3
|
+
export declare const makeListFlowsContract: <FlowId extends PublicIdSchema, AiTaskId extends PublicIdSchema = PublicIdSchema, WorkspaceId extends PublicIdSchema = PublicIdSchema>(ids: {
|
|
4
4
|
aiTask: AiTaskId;
|
|
5
5
|
environmentRef: PublicIdSchema;
|
|
6
6
|
flow: FlowId;
|
|
7
|
+
workspace: WorkspaceId;
|
|
7
8
|
}) => {
|
|
8
9
|
readonly annotations: {
|
|
9
10
|
readonly destructiveHint: false;
|
|
@@ -15,10 +16,21 @@ export declare const makeListFlowsContract: <FlowId extends PublicIdSchema, AiTa
|
|
|
15
16
|
aiTaskId: z.ZodOptional<AiTaskId>;
|
|
16
17
|
environmentId: PublicIdSchema;
|
|
17
18
|
includeDrafts: z.ZodDefault<z.ZodBoolean>;
|
|
19
|
+
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
18
20
|
}, z.core.$strip>;
|
|
19
21
|
readonly kind: "read";
|
|
20
22
|
readonly name: "flow.list";
|
|
21
23
|
readonly output: z.ZodObject<{
|
|
24
|
+
emptyReason: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
25
|
+
type: z.ZodLiteral<"branch-never-reconciled">;
|
|
26
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
+
type: z.ZodLiteral<"commit-has-no-flow-files">;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
+
hiddenDraftCount: z.ZodNumber;
|
|
30
|
+
type: z.ZodLiteral<"every-flow-is-a-draft">;
|
|
31
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
+
type: z.ZodLiteral<"no-flow-matched-the-listing">;
|
|
33
|
+
}, z.core.$strip>], "type">>;
|
|
22
34
|
flows: z.ZodArray<z.ZodObject<{
|
|
23
35
|
executionTarget: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
24
36
|
flowId: FlowId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/flow/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/flow/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,KAAK,cAAc,EAA8B,MAAM,WAAW,CAAC;AAK5E,eAAO,MAAM,qBAAqB,GAChC,MAAM,SAAS,cAAc,EAC7B,QAAQ,SAAS,cAAc,GAAG,cAAc,EAChD,WAAW,SAAS,cAAc,GAAG,cAAc,EACnD,KAAK;IACL,MAAM,EAAE,QAAQ,CAAC;IACjB,cAAc,EAAE,cAAc,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkGA,CAAC"}
|
package/dist/v1/flow/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { workspaceForEnvironmentRef } from "../ids.js";
|
|
2
3
|
import { resource } from "../resource.js";
|
|
3
4
|
import { flowReadinessSchema } from "./readiness.js";
|
|
4
5
|
export const makeListFlowsContract = (ids) => {
|
|
@@ -11,11 +12,42 @@ export const makeListFlowsContract = (ids) => {
|
|
|
11
12
|
.boolean()
|
|
12
13
|
.default(false)
|
|
13
14
|
.describe("Include draft flows in the listing."),
|
|
15
|
+
workspaceId: workspaceForEnvironmentRef(ids.workspace),
|
|
14
16
|
});
|
|
15
17
|
const executionTarget = z
|
|
16
18
|
.union([z.string().min(1), z.record(z.string(), z.unknown())])
|
|
17
19
|
.describe("The target the flow executes against, as a preset or object.");
|
|
20
|
+
const emptyReason = z
|
|
21
|
+
.discriminatedUnion("type", [
|
|
22
|
+
z.object({
|
|
23
|
+
type: z
|
|
24
|
+
.literal("branch-never-reconciled")
|
|
25
|
+
.describe("The environment's flow code branch has no reconciled commit yet, so there is nothing to list. Read environment.get's flowCodeBranch and list again once syncStatus is reconciled."),
|
|
26
|
+
}),
|
|
27
|
+
z.object({
|
|
28
|
+
type: z
|
|
29
|
+
.literal("commit-has-no-flow-files")
|
|
30
|
+
.describe("The reconciled commit holds no flow file. The branch may never have had one, or a commit removed it: read the branch history at lastSyncedCommitHash before concluding either."),
|
|
31
|
+
}),
|
|
32
|
+
z.object({
|
|
33
|
+
hiddenDraftCount: z
|
|
34
|
+
.number()
|
|
35
|
+
.int()
|
|
36
|
+
.positive()
|
|
37
|
+
.describe("How many draft flows this listing hid."),
|
|
38
|
+
type: z
|
|
39
|
+
.literal("every-flow-is-a-draft")
|
|
40
|
+
.describe("Every flow this listing matched is a draft, and the listing excluded drafts. Send includeDrafts to see them."),
|
|
41
|
+
}),
|
|
42
|
+
z.object({
|
|
43
|
+
type: z
|
|
44
|
+
.literal("no-flow-matched-the-listing")
|
|
45
|
+
.describe("The reconciled commit contains flow files, but this listing matched none of them: their flows were deleted after the commit reconciled, or a filter excluded every one."),
|
|
46
|
+
}),
|
|
47
|
+
])
|
|
48
|
+
.describe("Why this listing has no flows, present only when flows is empty. Read it before concluding that a flow went missing.");
|
|
18
49
|
const output = z.object({
|
|
50
|
+
emptyReason: emptyReason.optional(),
|
|
19
51
|
flows: z.array(resource({
|
|
20
52
|
executionTarget,
|
|
21
53
|
flowId: ids.flow,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/flow/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"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@ -13,11 +13,18 @@ export type PublicIdSchemasOf<EnvironmentId extends PublicIdSchema, FlowId exten
|
|
|
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
21
|
environment: EnvironmentId;
|
|
17
22
|
/**
|
|
18
23
|
* References an environment in inputs: an environment id or alias. Not
|
|
19
24
|
* generic — even the server-side instantiation parses it to a plain string,
|
|
20
|
-
* because an alias only becomes an id after a lookup.
|
|
25
|
+
* because an alias only becomes an id after a lookup. Pair it with
|
|
26
|
+
* {@link workspaceForEnvironmentRef}, which names the workspace an alias
|
|
27
|
+
* resolves in.
|
|
21
28
|
*/
|
|
22
29
|
environmentRef: PublicIdSchema;
|
|
23
30
|
flow: FlowId;
|
|
@@ -34,4 +41,16 @@ export type PublicIdSchemas = PublicIdSchemasOf<PublicIdSchema, PublicIdSchema,
|
|
|
34
41
|
* schemas instead.
|
|
35
42
|
*/
|
|
36
43
|
export declare const defaultIdSchemas: PublicIdSchemas;
|
|
44
|
+
/**
|
|
45
|
+
* The `workspaceId` field of every contract that takes an `environmentRef`.
|
|
46
|
+
*
|
|
47
|
+
* An alias is unique within one workspace, so a credential that spans
|
|
48
|
+
* workspaces must name the one to resolve the alias in. A reference by id
|
|
49
|
+
* names the environment on its own and needs no workspace, which is why the
|
|
50
|
+
* field is optional.
|
|
51
|
+
*
|
|
52
|
+
* `.describe()` comes after `.optional()`: describing the id schema itself
|
|
53
|
+
* would replace the marker that drives server-side authorization.
|
|
54
|
+
*/
|
|
55
|
+
export declare const workspaceForEnvironmentRef: <Workspace extends PublicIdSchema>(workspace: Workspace) => z.ZodOptional<Workspace>;
|
|
37
56
|
//# sourceMappingURL=ids.d.ts.map
|
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,IAC/C;IACF,MAAM,EAAE,QAAQ,CAAC;IACjB,UAAU,EAAE,YAAY,CAAC;IACzB,WAAW,EAAE,aAAa,CAAC;IAC3B,WAAW,EAAE,aAAa,CAAC;IAC3B
|
|
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,IAC/C;IACF,MAAM,EAAE,QAAQ,CAAC;IACjB,UAAU,EAAE,YAAY,CAAC;IACzB,WAAW,EAAE,aAAa,CAAC;IAC3B;;;OAGG;IACH,UAAU,EAAE,cAAc,CAAC;IAC3B,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
CHANGED
|
@@ -9,15 +9,30 @@ export const defaultIdSchemas = {
|
|
|
9
9
|
aiTask: z.string().min(1).describe("The id of the AI task."),
|
|
10
10
|
automation: z.string().min(1).describe("The id of the automation."),
|
|
11
11
|
chatSession: z.string().min(1).describe("The id of the chat session."),
|
|
12
|
+
deployment: z.string().min(1).describe("The id of the deployment."),
|
|
12
13
|
environment: z.string().min(1).describe("The id of the environment."),
|
|
13
14
|
environmentRef: z
|
|
14
15
|
.string()
|
|
15
16
|
.min(1)
|
|
16
|
-
.describe("The id or alias of the environment.
|
|
17
|
+
.describe("The id or alias of the environment. An organization or user API key must also send workspaceId to use an alias."),
|
|
17
18
|
flow: z.string().min(1).describe("The id of the flow."),
|
|
18
19
|
issue: z.string().min(1).describe("The id of the issue."),
|
|
19
20
|
run: z.string().min(1).describe("The id of the run."),
|
|
20
21
|
trigger: z.string().min(1).describe("The id of the trigger."),
|
|
21
22
|
workspace: z.string().min(1).describe("The id of the workspace."),
|
|
22
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
* The `workspaceId` field of every contract that takes an `environmentRef`.
|
|
26
|
+
*
|
|
27
|
+
* An alias is unique within one workspace, so a credential that spans
|
|
28
|
+
* workspaces must name the one to resolve the alias in. A reference by id
|
|
29
|
+
* names the environment on its own and needs no workspace, which is why the
|
|
30
|
+
* field is optional.
|
|
31
|
+
*
|
|
32
|
+
* `.describe()` comes after `.optional()`: describing the id schema itself
|
|
33
|
+
* would replace the marker that drives server-side authorization.
|
|
34
|
+
*/
|
|
35
|
+
export const workspaceForEnvironmentRef = (workspace) => workspace
|
|
36
|
+
.optional()
|
|
37
|
+
.describe("The workspace the environment belongs to. Required to reference the environment by alias when authenticating with an organization or user API key.");
|
|
23
38
|
//# sourceMappingURL=ids.js.map
|
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;AA4DxB;;;;;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,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,2BAA2B,CAAC;IACnE,WAAW,EAAE,CAAC,CAAC,MAAM,E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lowId>;
|
|
87
87
|
patch: z.ZodOptional<z.ZodString>;
|
|
88
|
+
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
88
89
|
}, z.core.$strip>;
|
|
89
90
|
readonly kind: "write";
|
|
90
91
|
readonly name: "automate";
|
|
@@ -93,6 +94,57 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
93
94
|
url: z.ZodURL;
|
|
94
95
|
}, z.core.$strip>;
|
|
95
96
|
};
|
|
97
|
+
deployment: {
|
|
98
|
+
reportStatus: {
|
|
99
|
+
readonly annotations: {
|
|
100
|
+
readonly destructiveHint: true;
|
|
101
|
+
readonly openWorldHint: true;
|
|
102
|
+
readonly readOnlyHint: false;
|
|
103
|
+
};
|
|
104
|
+
readonly description: "Report a deployment lifecycle status. A deployment's first success report evaluates global triggers asynchronously, and it is the only report that does: a trigger added or unpaused later does not make an already reported deployment evaluate again. Report that deployment under a new providerDeploymentId to evaluate it against the current triggers. The response contains the deployment only, not the resulting runs. This route requires an organization or user API key.";
|
|
105
|
+
readonly input: z.ZodObject<{
|
|
106
|
+
deployTarget: z.ZodOptional<z.ZodURL>;
|
|
107
|
+
environment: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
108
|
+
id: EnvironmentId;
|
|
109
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
110
|
+
baseEphemeralEnvironment: z.ZodOptional<z.ZodString>;
|
|
111
|
+
ephemeral: z.ZodOptional<z.ZodBoolean>;
|
|
112
|
+
name: z.ZodString;
|
|
113
|
+
}, z.core.$strict>]>>;
|
|
114
|
+
environmentVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
115
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
116
|
+
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
117
|
+
commitMessage: z.ZodOptional<z.ZodString>;
|
|
118
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
119
|
+
pullRequestNumber: z.ZodOptional<z.ZodNumber>;
|
|
120
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
121
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
122
|
+
}, z.core.$strict>>;
|
|
123
|
+
providerDeploymentId: z.ZodString;
|
|
124
|
+
status: z.ZodEnum<{
|
|
125
|
+
success: "success";
|
|
126
|
+
pending: "pending";
|
|
127
|
+
failure: "failure";
|
|
128
|
+
inactive: "inactive";
|
|
129
|
+
}>;
|
|
130
|
+
workspaceId: WorkspaceId;
|
|
131
|
+
}, z.core.$strict>;
|
|
132
|
+
readonly kind: "write";
|
|
133
|
+
readonly name: "deployment.reportStatus";
|
|
134
|
+
readonly output: z.ZodObject<{
|
|
135
|
+
deployment: z.ZodObject<{
|
|
136
|
+
id: PublicIdSchema;
|
|
137
|
+
status: z.ZodEnum<{
|
|
138
|
+
success: "success";
|
|
139
|
+
pending: "pending";
|
|
140
|
+
failure: "failure";
|
|
141
|
+
inactive: "inactive";
|
|
142
|
+
}>;
|
|
143
|
+
url: z.ZodURL;
|
|
144
|
+
}, z.core.$strip>;
|
|
145
|
+
}, z.core.$strip>;
|
|
146
|
+
};
|
|
147
|
+
};
|
|
96
148
|
email: {
|
|
97
149
|
find: {
|
|
98
150
|
readonly annotations: {
|
|
@@ -347,6 +399,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
347
399
|
readonly input: z.ZodObject<{
|
|
348
400
|
environmentId: PublicIdSchema;
|
|
349
401
|
name: z.ZodString;
|
|
402
|
+
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
350
403
|
}, z.core.$strip>;
|
|
351
404
|
readonly kind: "write";
|
|
352
405
|
readonly name: "environment.deleteVariable";
|
|
@@ -414,6 +467,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
414
467
|
readonly description: "Read a single environment's name, kind, standing run health, flow-code branch and reconciliation state, run concurrency limit, and termination state. If flowCodeBranch exists, use its syncStatus for Git reconciliation and read lastSyncedCommitHash only when syncStatus is reconciled.";
|
|
415
468
|
readonly input: z.ZodObject<{
|
|
416
469
|
environmentId: PublicIdSchema;
|
|
470
|
+
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
417
471
|
}, z.core.$strip>;
|
|
418
472
|
readonly kind: "read";
|
|
419
473
|
readonly name: "environment.get";
|
|
@@ -455,6 +509,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
455
509
|
readonly input: z.ZodObject<{
|
|
456
510
|
environmentId: PublicIdSchema;
|
|
457
511
|
variableNames: z.ZodArray<z.ZodString>;
|
|
512
|
+
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
458
513
|
}, z.core.$strip>;
|
|
459
514
|
readonly kind: "read";
|
|
460
515
|
readonly name: "environment.getVariable";
|
|
@@ -475,6 +530,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
475
530
|
readonly description: "Use this to answer which QA Wolf environment variables are available to test code. Returns names only; values never leave the server.";
|
|
476
531
|
readonly input: z.ZodObject<{
|
|
477
532
|
environmentId: PublicIdSchema;
|
|
533
|
+
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
478
534
|
}, z.core.$strip>;
|
|
479
535
|
readonly kind: "read";
|
|
480
536
|
readonly name: "environment.listVariableNames";
|
|
@@ -493,6 +549,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
493
549
|
environmentId: PublicIdSchema;
|
|
494
550
|
name: z.ZodString;
|
|
495
551
|
value: z.ZodString;
|
|
552
|
+
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
496
553
|
}, z.core.$strip>;
|
|
497
554
|
readonly kind: "write";
|
|
498
555
|
readonly name: "environment.setVariable";
|
|
@@ -511,6 +568,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
511
568
|
environmentId: PublicIdSchema;
|
|
512
569
|
name: z.ZodOptional<z.ZodString>;
|
|
513
570
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
571
|
+
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
514
572
|
}, z.core.$strip>;
|
|
515
573
|
readonly kind: "write";
|
|
516
574
|
readonly name: "environment.update";
|
|
@@ -622,10 +680,21 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
622
680
|
aiTaskId: z.ZodOptional<AiTaskId>;
|
|
623
681
|
environmentId: PublicIdSchema;
|
|
624
682
|
includeDrafts: z.ZodDefault<z.ZodBoolean>;
|
|
683
|
+
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
625
684
|
}, z.core.$strip>;
|
|
626
685
|
readonly kind: "read";
|
|
627
686
|
readonly name: "flow.list";
|
|
628
687
|
readonly output: z.ZodObject<{
|
|
688
|
+
emptyReason: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
689
|
+
type: z.ZodLiteral<"branch-never-reconciled">;
|
|
690
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
691
|
+
type: z.ZodLiteral<"commit-has-no-flow-files">;
|
|
692
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
693
|
+
hiddenDraftCount: z.ZodNumber;
|
|
694
|
+
type: z.ZodLiteral<"every-flow-is-a-draft">;
|
|
695
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
696
|
+
type: z.ZodLiteral<"no-flow-matched-the-listing">;
|
|
697
|
+
}, z.core.$strip>], "type">>;
|
|
629
698
|
flows: z.ZodArray<z.ZodObject<{
|
|
630
699
|
executionTarget: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
631
700
|
flowId: FlowId;
|
|
@@ -1077,6 +1146,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1077
1146
|
ignoreRules: z.ZodDefault<z.ZodBoolean>;
|
|
1078
1147
|
pullRequestNumber: z.ZodOptional<z.ZodNumber>;
|
|
1079
1148
|
repository: z.ZodOptional<z.ZodString>;
|
|
1149
|
+
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
1080
1150
|
}, z.core.$strip>, z.ZodObject<{
|
|
1081
1151
|
flowIds: z.ZodDefault<z.ZodArray<FlowId>>;
|
|
1082
1152
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -1163,6 +1233,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1163
1233
|
readonly description: "List an environment's recent runs, newest first.";
|
|
1164
1234
|
readonly input: z.ZodObject<{
|
|
1165
1235
|
environmentId: PublicIdSchema;
|
|
1236
|
+
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
1166
1237
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1167
1238
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1168
1239
|
createdAfter: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -1383,18 +1454,23 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1383
1454
|
readonly openWorldHint: false;
|
|
1384
1455
|
readonly readOnlyHint: true;
|
|
1385
1456
|
};
|
|
1386
|
-
readonly description: "Report whether a runner is running under this id on the caller's team. This is a lookup: it never starts a runner, and it does not reset a runner's inactivity clock the way reading its journal does. An id that is not running is a success with `running: false` rather than an error, so this is how to check a runner is still there before addressing it.";
|
|
1457
|
+
readonly description: "Report whether a runner is running under this id on the caller's team. This is a lookup: it never starts a runner, and it does not reset a runner's inactivity clock the way reading its journal does. An id that is not running is a success with `running: false` rather than an error, so this is how to check a runner is still there before addressing it. A running runner also reports the `url` to watch it on, so an id alone is enough to recover the link to give the user.";
|
|
1387
1458
|
readonly input: z.ZodObject<{
|
|
1388
1459
|
id: z.ZodString;
|
|
1389
1460
|
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
1390
1461
|
}, z.core.$strip>;
|
|
1391
1462
|
readonly kind: "read";
|
|
1392
1463
|
readonly name: "runner.get";
|
|
1393
|
-
readonly output: z.ZodObject<{
|
|
1464
|
+
readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1394
1465
|
id: z.ZodString;
|
|
1395
1466
|
outcome: z.ZodLiteral<"success">;
|
|
1396
|
-
running: z.
|
|
1397
|
-
}, z.core.$strip
|
|
1467
|
+
running: z.ZodLiteral<false>;
|
|
1468
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1469
|
+
id: z.ZodString;
|
|
1470
|
+
outcome: z.ZodLiteral<"success">;
|
|
1471
|
+
running: z.ZodLiteral<true>;
|
|
1472
|
+
url: z.ZodURL;
|
|
1473
|
+
}, z.core.$strip>], "running">;
|
|
1398
1474
|
};
|
|
1399
1475
|
highlightSelector: {
|
|
1400
1476
|
readonly annotations: {
|
|
@@ -1717,7 +1793,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1717
1793
|
readonly openWorldHint: false;
|
|
1718
1794
|
readonly readOnlyHint: false;
|
|
1719
1795
|
};
|
|
1720
|
-
readonly description: "Launch an interactive runner on the caller's team under an id the caller chooses. Launching the same id again returns the runner already running rather than starting a second one, and the same id with a different runnerName is refused. A runner is not permanent: it terminates on its own after a period of inactivity, and launching the same id after that starts and bills a new runner — so read `alreadyRunning` to tell which happened.";
|
|
1796
|
+
readonly description: "Launch an interactive runner on the caller's team under an id the caller chooses. Launching the same id again returns the runner already running rather than starting a second one, and the same id with a different runnerName is refused. A runner is not permanent: it terminates on its own after a period of inactivity, and launching the same id after that starts and bills a new runner — so read `alreadyRunning` to tell which happened. After a successful launch, make the next action a normal user-visible assistant message containing the exact returned `url`, before the first browser action. Tool output and internal reasoning do not count as sharing the link. When `alreadyRunning` is true the `url` is the same page, so share it again instead of assuming the caller still has it.";
|
|
1721
1797
|
readonly input: z.ZodObject<{
|
|
1722
1798
|
id: z.ZodString;
|
|
1723
1799
|
runnerName: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2636,6 +2712,7 @@ export declare const publicContractsV1: {
|
|
|
2636
2712
|
environmentId: PublicIdSchema;
|
|
2637
2713
|
flowIds: z.ZodArray<PublicIdSchema>;
|
|
2638
2714
|
patch: z.ZodOptional<z.ZodString>;
|
|
2715
|
+
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
2639
2716
|
}, z.core.$strip>;
|
|
2640
2717
|
readonly kind: "write";
|
|
2641
2718
|
readonly name: "automate";
|
|
@@ -2644,6 +2721,57 @@ export declare const publicContractsV1: {
|
|
|
2644
2721
|
url: z.ZodURL;
|
|
2645
2722
|
}, z.core.$strip>;
|
|
2646
2723
|
};
|
|
2724
|
+
deployment: {
|
|
2725
|
+
reportStatus: {
|
|
2726
|
+
readonly annotations: {
|
|
2727
|
+
readonly destructiveHint: true;
|
|
2728
|
+
readonly openWorldHint: true;
|
|
2729
|
+
readonly readOnlyHint: false;
|
|
2730
|
+
};
|
|
2731
|
+
readonly description: "Report a deployment lifecycle status. A deployment's first success report evaluates global triggers asynchronously, and it is the only report that does: a trigger added or unpaused later does not make an already reported deployment evaluate again. Report that deployment under a new providerDeploymentId to evaluate it against the current triggers. The response contains the deployment only, not the resulting runs. This route requires an organization or user API key.";
|
|
2732
|
+
readonly input: z.ZodObject<{
|
|
2733
|
+
deployTarget: z.ZodOptional<z.ZodURL>;
|
|
2734
|
+
environment: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2735
|
+
id: PublicIdSchema;
|
|
2736
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2737
|
+
baseEphemeralEnvironment: z.ZodOptional<z.ZodString>;
|
|
2738
|
+
ephemeral: z.ZodOptional<z.ZodBoolean>;
|
|
2739
|
+
name: z.ZodString;
|
|
2740
|
+
}, z.core.$strict>]>>;
|
|
2741
|
+
environmentVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2742
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
2743
|
+
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
2744
|
+
commitMessage: z.ZodOptional<z.ZodString>;
|
|
2745
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
2746
|
+
pullRequestNumber: z.ZodOptional<z.ZodNumber>;
|
|
2747
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
2748
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
2749
|
+
}, z.core.$strict>>;
|
|
2750
|
+
providerDeploymentId: z.ZodString;
|
|
2751
|
+
status: z.ZodEnum<{
|
|
2752
|
+
success: "success";
|
|
2753
|
+
pending: "pending";
|
|
2754
|
+
failure: "failure";
|
|
2755
|
+
inactive: "inactive";
|
|
2756
|
+
}>;
|
|
2757
|
+
workspaceId: PublicIdSchema;
|
|
2758
|
+
}, z.core.$strict>;
|
|
2759
|
+
readonly kind: "write";
|
|
2760
|
+
readonly name: "deployment.reportStatus";
|
|
2761
|
+
readonly output: z.ZodObject<{
|
|
2762
|
+
deployment: z.ZodObject<{
|
|
2763
|
+
id: PublicIdSchema;
|
|
2764
|
+
status: z.ZodEnum<{
|
|
2765
|
+
success: "success";
|
|
2766
|
+
pending: "pending";
|
|
2767
|
+
failure: "failure";
|
|
2768
|
+
inactive: "inactive";
|
|
2769
|
+
}>;
|
|
2770
|
+
url: z.ZodURL;
|
|
2771
|
+
}, z.core.$strip>;
|
|
2772
|
+
}, z.core.$strip>;
|
|
2773
|
+
};
|
|
2774
|
+
};
|
|
2647
2775
|
email: {
|
|
2648
2776
|
find: {
|
|
2649
2777
|
readonly annotations: {
|
|
@@ -2898,6 +3026,7 @@ export declare const publicContractsV1: {
|
|
|
2898
3026
|
readonly input: z.ZodObject<{
|
|
2899
3027
|
environmentId: PublicIdSchema;
|
|
2900
3028
|
name: z.ZodString;
|
|
3029
|
+
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
2901
3030
|
}, z.core.$strip>;
|
|
2902
3031
|
readonly kind: "write";
|
|
2903
3032
|
readonly name: "environment.deleteVariable";
|
|
@@ -2965,6 +3094,7 @@ export declare const publicContractsV1: {
|
|
|
2965
3094
|
readonly description: "Read a single environment's name, kind, standing run health, flow-code branch and reconciliation state, run concurrency limit, and termination state. If flowCodeBranch exists, use its syncStatus for Git reconciliation and read lastSyncedCommitHash only when syncStatus is reconciled.";
|
|
2966
3095
|
readonly input: z.ZodObject<{
|
|
2967
3096
|
environmentId: PublicIdSchema;
|
|
3097
|
+
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
2968
3098
|
}, z.core.$strip>;
|
|
2969
3099
|
readonly kind: "read";
|
|
2970
3100
|
readonly name: "environment.get";
|
|
@@ -3006,6 +3136,7 @@ export declare const publicContractsV1: {
|
|
|
3006
3136
|
readonly input: z.ZodObject<{
|
|
3007
3137
|
environmentId: PublicIdSchema;
|
|
3008
3138
|
variableNames: z.ZodArray<z.ZodString>;
|
|
3139
|
+
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
3009
3140
|
}, z.core.$strip>;
|
|
3010
3141
|
readonly kind: "read";
|
|
3011
3142
|
readonly name: "environment.getVariable";
|
|
@@ -3026,6 +3157,7 @@ export declare const publicContractsV1: {
|
|
|
3026
3157
|
readonly description: "Use this to answer which QA Wolf environment variables are available to test code. Returns names only; values never leave the server.";
|
|
3027
3158
|
readonly input: z.ZodObject<{
|
|
3028
3159
|
environmentId: PublicIdSchema;
|
|
3160
|
+
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
3029
3161
|
}, z.core.$strip>;
|
|
3030
3162
|
readonly kind: "read";
|
|
3031
3163
|
readonly name: "environment.listVariableNames";
|
|
@@ -3044,6 +3176,7 @@ export declare const publicContractsV1: {
|
|
|
3044
3176
|
environmentId: PublicIdSchema;
|
|
3045
3177
|
name: z.ZodString;
|
|
3046
3178
|
value: z.ZodString;
|
|
3179
|
+
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
3047
3180
|
}, z.core.$strip>;
|
|
3048
3181
|
readonly kind: "write";
|
|
3049
3182
|
readonly name: "environment.setVariable";
|
|
@@ -3062,6 +3195,7 @@ export declare const publicContractsV1: {
|
|
|
3062
3195
|
environmentId: PublicIdSchema;
|
|
3063
3196
|
name: z.ZodOptional<z.ZodString>;
|
|
3064
3197
|
runConcurrencyLimit: z.ZodOptional<z.ZodString>;
|
|
3198
|
+
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
3065
3199
|
}, z.core.$strip>;
|
|
3066
3200
|
readonly kind: "write";
|
|
3067
3201
|
readonly name: "environment.update";
|
|
@@ -3173,10 +3307,21 @@ export declare const publicContractsV1: {
|
|
|
3173
3307
|
aiTaskId: z.ZodOptional<PublicIdSchema>;
|
|
3174
3308
|
environmentId: PublicIdSchema;
|
|
3175
3309
|
includeDrafts: z.ZodDefault<z.ZodBoolean>;
|
|
3310
|
+
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
3176
3311
|
}, z.core.$strip>;
|
|
3177
3312
|
readonly kind: "read";
|
|
3178
3313
|
readonly name: "flow.list";
|
|
3179
3314
|
readonly output: z.ZodObject<{
|
|
3315
|
+
emptyReason: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3316
|
+
type: z.ZodLiteral<"branch-never-reconciled">;
|
|
3317
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3318
|
+
type: z.ZodLiteral<"commit-has-no-flow-files">;
|
|
3319
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3320
|
+
hiddenDraftCount: z.ZodNumber;
|
|
3321
|
+
type: z.ZodLiteral<"every-flow-is-a-draft">;
|
|
3322
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3323
|
+
type: z.ZodLiteral<"no-flow-matched-the-listing">;
|
|
3324
|
+
}, z.core.$strip>], "type">>;
|
|
3180
3325
|
flows: z.ZodArray<z.ZodObject<{
|
|
3181
3326
|
executionTarget: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
3182
3327
|
flowId: PublicIdSchema;
|
|
@@ -3628,6 +3773,7 @@ export declare const publicContractsV1: {
|
|
|
3628
3773
|
ignoreRules: z.ZodDefault<z.ZodBoolean>;
|
|
3629
3774
|
pullRequestNumber: z.ZodOptional<z.ZodNumber>;
|
|
3630
3775
|
repository: z.ZodOptional<z.ZodString>;
|
|
3776
|
+
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
3631
3777
|
}, z.core.$strip>, z.ZodObject<{
|
|
3632
3778
|
flowIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
|
|
3633
3779
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -3714,6 +3860,7 @@ export declare const publicContractsV1: {
|
|
|
3714
3860
|
readonly description: "List an environment's recent runs, newest first.";
|
|
3715
3861
|
readonly input: z.ZodObject<{
|
|
3716
3862
|
environmentId: PublicIdSchema;
|
|
3863
|
+
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
3717
3864
|
cursor: z.ZodOptional<z.ZodString>;
|
|
3718
3865
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
3719
3866
|
createdAfter: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -3934,18 +4081,23 @@ export declare const publicContractsV1: {
|
|
|
3934
4081
|
readonly openWorldHint: false;
|
|
3935
4082
|
readonly readOnlyHint: true;
|
|
3936
4083
|
};
|
|
3937
|
-
readonly description: "Report whether a runner is running under this id on the caller's team. This is a lookup: it never starts a runner, and it does not reset a runner's inactivity clock the way reading its journal does. An id that is not running is a success with `running: false` rather than an error, so this is how to check a runner is still there before addressing it.";
|
|
4084
|
+
readonly description: "Report whether a runner is running under this id on the caller's team. This is a lookup: it never starts a runner, and it does not reset a runner's inactivity clock the way reading its journal does. An id that is not running is a success with `running: false` rather than an error, so this is how to check a runner is still there before addressing it. A running runner also reports the `url` to watch it on, so an id alone is enough to recover the link to give the user.";
|
|
3938
4085
|
readonly input: z.ZodObject<{
|
|
3939
4086
|
id: z.ZodString;
|
|
3940
4087
|
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
3941
4088
|
}, z.core.$strip>;
|
|
3942
4089
|
readonly kind: "read";
|
|
3943
4090
|
readonly name: "runner.get";
|
|
3944
|
-
readonly output: z.ZodObject<{
|
|
4091
|
+
readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3945
4092
|
id: z.ZodString;
|
|
3946
4093
|
outcome: z.ZodLiteral<"success">;
|
|
3947
|
-
running: z.
|
|
3948
|
-
}, z.core.$strip
|
|
4094
|
+
running: z.ZodLiteral<false>;
|
|
4095
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4096
|
+
id: z.ZodString;
|
|
4097
|
+
outcome: z.ZodLiteral<"success">;
|
|
4098
|
+
running: z.ZodLiteral<true>;
|
|
4099
|
+
url: z.ZodURL;
|
|
4100
|
+
}, z.core.$strip>], "running">;
|
|
3949
4101
|
};
|
|
3950
4102
|
highlightSelector: {
|
|
3951
4103
|
readonly annotations: {
|
|
@@ -4268,7 +4420,7 @@ export declare const publicContractsV1: {
|
|
|
4268
4420
|
readonly openWorldHint: false;
|
|
4269
4421
|
readonly readOnlyHint: false;
|
|
4270
4422
|
};
|
|
4271
|
-
readonly description: "Launch an interactive runner on the caller's team under an id the caller chooses. Launching the same id again returns the runner already running rather than starting a second one, and the same id with a different runnerName is refused. A runner is not permanent: it terminates on its own after a period of inactivity, and launching the same id after that starts and bills a new runner — so read `alreadyRunning` to tell which happened.";
|
|
4423
|
+
readonly description: "Launch an interactive runner on the caller's team under an id the caller chooses. Launching the same id again returns the runner already running rather than starting a second one, and the same id with a different runnerName is refused. A runner is not permanent: it terminates on its own after a period of inactivity, and launching the same id after that starts and bills a new runner — so read `alreadyRunning` to tell which happened. After a successful launch, make the next action a normal user-visible assistant message containing the exact returned `url`, before the first browser action. Tool output and internal reasoning do not count as sharing the link. When `alreadyRunning` is true the `url` is the same page, so share it again instead of assuming the caller still has it.";
|
|
4272
4424
|
readonly input: z.ZodObject<{
|
|
4273
4425
|
id: z.ZodString;
|
|
4274
4426
|
runnerName: z.ZodOptional<z.ZodEnum<{
|
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;AAKnC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;
|
|
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;AAKnC,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,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,EAEjD,KAAK,iBAAiB,CACpB,aAAa,EACb,MAAM,EACN,KAAK,EACL,YAAY,EACZ,OAAO,EACP,WAAW,EACX,QAAQ,EAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoC,CAAC"}
|
package/dist/v1/index.js
CHANGED
|
@@ -2,16 +2,18 @@ export * from "./sharedSchemas.js";
|
|
|
2
2
|
import { makeAgentGetContract } from "./agent/get.js";
|
|
3
3
|
import { makeAgentSendContract } from "./agent/send.js";
|
|
4
4
|
import { makeAutomateContract } from "./automate/index.js";
|
|
5
|
+
import { makeReportDeploymentStatusContract } from "./deployment/reportStatus.js";
|
|
5
6
|
import { makeFindEmailsContract } from "./email/find.js";
|
|
6
7
|
import { makeGetEmailContract } from "./email/get.js";
|
|
7
8
|
import { makeGetEmailAttachmentContract } from "./email/getAttachment.js";
|
|
8
9
|
import { makeListEmailAddressesContract } from "./email/listAddresses.js";
|
|
9
10
|
import { makeRegisterEmailAddressContract } from "./email/registerAddress.js";
|
|
10
11
|
import { makeSendEmailContract } from "./email/send.js";
|
|
12
|
+
import { makeCreateEnvironmentContract } from "./environment/create.js";
|
|
11
13
|
import { makeDeleteEnvironmentVariableContract } from "./environment/deleteVariable.js";
|
|
12
14
|
import { makeFindEnvironmentsContract } from "./environment/find.js";
|
|
13
15
|
import { makeGetEnvironmentVariableContract } from "./environment/getVariable.js";
|
|
14
|
-
import {
|
|
16
|
+
import { makeGetEnvironmentContract, makeListEnvironmentVariableNamesContract, makeSetEnvironmentVariableContract, } from "./environment/index.js";
|
|
15
17
|
import { makeUpdateEnvironmentContract } from "./environment/update.js";
|
|
16
18
|
import { makeFileContracts } from "./file/index.js";
|
|
17
19
|
import { makeAddTagToFlowsContract } from "./flow/addTag.js";
|
|
@@ -68,6 +70,9 @@ export const makeContractsV1 = (ids) => {
|
|
|
68
70
|
// Top-level contract: the public command is the verb itself, with no
|
|
69
71
|
// resource namespace (`qawolf automate`).
|
|
70
72
|
automate: makeAutomateContract(resolvedIds),
|
|
73
|
+
deployment: {
|
|
74
|
+
reportStatus: makeReportDeploymentStatusContract(resolvedIds),
|
|
75
|
+
},
|
|
71
76
|
email: {
|
|
72
77
|
find: makeFindEmailsContract(resolvedIds),
|
|
73
78
|
get: makeGetEmailContract(resolvedIds),
|