@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
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;AAE3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,oBAAo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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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcpToolDescription.d.ts","sourceRoot":"","sources":["../../src/v1/mcpToolDescription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD,KAAK,YAAY,CAAC,IAAI,IAAI,IAAI,SAAS;IAAE,IAAI,EAAE,MAAM,IAAI,SAAS,MAAM,CAAA;CAAE,GACtE,IAAI,GACJ,IAAI,SAAS,MAAM,GACjB;KAAG,GAAG,IAAI,MAAM,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;CAAE,CAAC,MAAM,IAAI,CAAC,GAC5D,KAAK,CAAC;AAEZ,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"mcpToolDescription.d.ts","sourceRoot":"","sources":["../../src/v1/mcpToolDescription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD,KAAK,YAAY,CAAC,IAAI,IAAI,IAAI,SAAS;IAAE,IAAI,EAAE,MAAM,IAAI,SAAS,MAAM,CAAA;CAAE,GACtE,IAAI,GACJ,IAAI,SAAS,MAAM,GACjB;KAAG,GAAG,IAAI,MAAM,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;CAAE,CAAC,MAAM,IAAI,CAAC,GAC5D,KAAK,CAAC;AAEZ,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC;AA2BxE,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,oBAAoB,GAC7B,MAAM,CAKR"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const descriptionAddenda = {
|
|
2
2
|
automate: "automate builds drafts that already exist in a local flow-code checkout and cannot create new flows. Without a checkout, send the request to agent.send instead.",
|
|
3
3
|
"environment.update": "At least one of name or runConcurrencyLimit is required.",
|
|
4
|
+
"flow.list": "An empty flows array is not on its own evidence that QA Wolf lost a flow. Read emptyReason, report what it says, and claim no more than it establishes.",
|
|
4
5
|
"issue.update": "At least one of description, name, priority or status is required.",
|
|
5
6
|
"run.create": "At least one flow or tag is required, so send flowIds, tagNames, or both. Send at most one of aiTaskId and chatSessionId. This call has no idempotency key, so a lost response cannot be safely resubmitted: read run.find before sending it again.",
|
|
6
7
|
"runner.launch": "A runner bills for as long as it exists, so call runner_terminate as soon as the work is done. The answer carries a url: give it to the person who asked, so they can see the runner. The screen on that page plays only for whoever launched the runner, so a person opening it for one this connection launched with a team key sees the page without the screen.",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcpToolDescription.js","sourceRoot":"","sources":["../../src/v1/mcpToolDescription.ts"],"names":[],"mappings":"AAWA,MAAM,kBAAkB,GAAgD;IACtE,QAAQ,EACN,kKAAkK;IACpK,oBAAoB,EAClB,0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AAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC7C,OAAO,QAAQ;QACb,CAAC,CAAC,GAAG,QAAQ,CAAC,WAAW,IAAI,QAAQ,EAAE;QACvC,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC;AAC3B,CAAC"}
|
package/dist/v1/run/find.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import type
|
|
3
|
-
export declare const makeFindRunsContract: <RunId extends PublicIdSchema>(ids: {
|
|
2
|
+
import { type PublicIdSchema } from "../ids.js";
|
|
3
|
+
export declare const makeFindRunsContract: <RunId extends PublicIdSchema, WorkspaceId extends PublicIdSchema = PublicIdSchema>(ids: {
|
|
4
4
|
[key: string]: unknown;
|
|
5
5
|
environmentRef: PublicIdSchema;
|
|
6
6
|
run: RunId;
|
|
7
|
+
workspace: WorkspaceId;
|
|
7
8
|
}) => {
|
|
8
9
|
readonly annotations: {
|
|
9
10
|
readonly destructiveHint: false;
|
|
@@ -13,6 +14,7 @@ export declare const makeFindRunsContract: <RunId extends PublicIdSchema>(ids: {
|
|
|
13
14
|
readonly description: "List an environment's recent runs, newest first.";
|
|
14
15
|
readonly input: z.ZodObject<{
|
|
15
16
|
environmentId: PublicIdSchema;
|
|
17
|
+
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
16
18
|
cursor: z.ZodOptional<z.ZodString>;
|
|
17
19
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
18
20
|
createdAfter: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../../src/v1/run/find.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../../src/v1/run/find.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,KAAK,cAAc,EAA8B,MAAM,WAAW,CAAC;AAM5E,eAAO,MAAM,oBAAoB,GAC/B,KAAK,SAAS,cAAc,EAC5B,WAAW,SAAS,cAAc,GAAG,cAAc,EACnD,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,cAAc,EAAE,cAAc,CAAC;IAC/B,GAAG,EAAE,KAAK,CAAC;IACX,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDA,CAAC"}
|
package/dist/v1/run/find.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { workspaceForEnvironmentRef } from "../ids.js";
|
|
2
3
|
import { makePaginationInputFields, nextCursorSchema } from "../pagination.js";
|
|
3
4
|
import { resource } from "../resource.js";
|
|
4
5
|
import { makeRunSummaryFields } from "./summary.js";
|
|
@@ -15,6 +16,7 @@ export const makeFindRunsContract = (ids) => {
|
|
|
15
16
|
// walks the cursor to more pages. The cap stays small.
|
|
16
17
|
...makePaginationInputFields({ defaultLimit: 20, maxLimit: 100 }),
|
|
17
18
|
environmentId: ids.environmentRef,
|
|
19
|
+
workspaceId: workspaceForEnvironmentRef(ids.workspace),
|
|
18
20
|
});
|
|
19
21
|
const output = z.object({
|
|
20
22
|
nextCursor: nextCursorSchema,
|
package/dist/v1/run/find.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find.js","sourceRoot":"","sources":["../../../src/v1/run/find.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"find.js","sourceRoot":"","sources":["../../../src/v1/run/find.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAuB,0BAA0B,EAA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d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import type
|
|
2
|
+
import { type PublicIdSchema } from "../ids.js";
|
|
3
3
|
import { makeFlowSelectionSchema } from "./flowSelection.js";
|
|
4
4
|
export { makeFlowSelectionSchema };
|
|
5
|
-
export declare const makeCreateRunContract: <AiTaskId extends PublicIdSchema, ChatSessionId extends PublicIdSchema, FlowId extends PublicIdSchema, RunId extends PublicIdSchema>(ids: {
|
|
5
|
+
export declare const makeCreateRunContract: <AiTaskId extends PublicIdSchema, ChatSessionId extends PublicIdSchema, FlowId extends PublicIdSchema, RunId extends PublicIdSchema, WorkspaceId extends PublicIdSchema = PublicIdSchema>(ids: {
|
|
6
6
|
aiTask: AiTaskId;
|
|
7
7
|
chatSession: ChatSessionId;
|
|
8
8
|
environmentRef: PublicIdSchema;
|
|
9
9
|
flow: FlowId;
|
|
10
10
|
run: RunId;
|
|
11
|
+
workspace: WorkspaceId;
|
|
11
12
|
}) => {
|
|
12
13
|
readonly annotations: {
|
|
13
14
|
readonly destructiveHint: true;
|
|
@@ -23,6 +24,7 @@ export declare const makeCreateRunContract: <AiTaskId extends PublicIdSchema, Ch
|
|
|
23
24
|
ignoreRules: z.ZodDefault<z.ZodBoolean>;
|
|
24
25
|
pullRequestNumber: z.ZodOptional<z.ZodNumber>;
|
|
25
26
|
repository: z.ZodOptional<z.ZodString>;
|
|
27
|
+
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
26
28
|
}, z.core.$strip>, z.ZodObject<{
|
|
27
29
|
flowIds: z.ZodDefault<z.ZodArray<FlowId>>;
|
|
28
30
|
tagNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/run/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/run/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,KAAK,cAAc,EAA8B,MAAM,WAAW,CAAC;AAG5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAE7D,OAAO,EAAE,uBAAuB,EAAE,CAAC;AAEnC,eAAO,MAAM,qBAAqB,GAChC,QAAQ,SAAS,cAAc,EAC/B,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,WAAW,SAAS,cAAc,GAAG,cAAc,EACnD,KAAK;IACL,MAAM,EAAE,QAAQ,CAAC;IACjB,WAAW,EAAE,aAAa,CAAC;IAC3B,cAAc,EAAE,cAAc,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,KAAK,CAAC;IACX,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+FA,CAAC"}
|
package/dist/v1/run/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 { makeFlowSelectionSchema } from "./flowSelection.js";
|
|
4
5
|
export { makeFlowSelectionSchema };
|
|
@@ -36,6 +37,7 @@ export const makeCreateRunContract = (ids) => {
|
|
|
36
37
|
.min(1)
|
|
37
38
|
.describe('The owner/name of the repository, e.g. "acme/web".')
|
|
38
39
|
.optional(),
|
|
40
|
+
workspaceId: workspaceForEnvironmentRef(ids.workspace),
|
|
39
41
|
})
|
|
40
42
|
.and(makeFlowSelectionSchema(ids))
|
|
41
43
|
// A task already implies its own chat session, so the pair is a
|
package/dist/v1/run/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/run/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/run/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAuB,0BAA0B,EAAE,MAAM,WAAW,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAE7D,OAAO,EAAE,uBAAuB,EAAE,CAAC;AAEnC,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAMnC,GAOD,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC;SACZ,MAAM,CAAC;QACN,qEAAqE;QACrE,yEAAyE;QACzE,QAAQ,EAAE,GAAG,CAAC,MAAM;aACjB,QAAQ,EAAE;aACV,QAAQ,CACP,mEAAmE,CACpE;QACH,oEAAoE;QACpE,8DAA8D;QAC9D,aAAa,EAAE,GAAG,CAAC,WAAW;aAC3B,QAAQ,EAAE;aACV,QAAQ,CACP,sEAAsE,CACvE;QACH,aAAa,EAAE,GAAG,CAAC,cAAc;QACjC,oBAAoB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;QACjE,WAAW,EAAE,CAAC;aACX,OAAO,EAAE;aACT,QAAQ,CACP,kPAAkP,CACnP;aACA,OAAO,CAAC,KAAK,CAAC;QACjB,+DAA+D;QAC/D,wEAAwE;QACxE,gEAAgE;QAChE,+BAA+B;QAC/B,iBAAiB,EAAE,CAAC;aACjB,MAAM,EAAE;aACR,GAAG,EAAE;aACL,QAAQ,EAAE;aACV,QAAQ,CAAC,2DAA2D,CAAC;aACrE,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QACb,IAAI,EAAE,YAAY;QAClB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
package/dist/v1/runner/get.d.ts
CHANGED
|
@@ -8,17 +8,22 @@ export declare const makeGetRunnerContract: <WorkspaceId extends PublicIdSchema>
|
|
|
8
8
|
readonly openWorldHint: false;
|
|
9
9
|
readonly readOnlyHint: true;
|
|
10
10
|
};
|
|
11
|
-
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.";
|
|
11
|
+
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.";
|
|
12
12
|
readonly input: z.ZodObject<{
|
|
13
13
|
id: z.ZodString;
|
|
14
14
|
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
15
15
|
}, z.core.$strip>;
|
|
16
16
|
readonly kind: "read";
|
|
17
17
|
readonly name: "runner.get";
|
|
18
|
-
readonly output: z.ZodObject<{
|
|
18
|
+
readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19
19
|
id: z.ZodString;
|
|
20
20
|
outcome: z.ZodLiteral<"success">;
|
|
21
|
-
running: z.
|
|
22
|
-
}, z.core.$strip
|
|
21
|
+
running: z.ZodLiteral<false>;
|
|
22
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
+
id: z.ZodString;
|
|
24
|
+
outcome: z.ZodLiteral<"success">;
|
|
25
|
+
running: z.ZodLiteral<true>;
|
|
26
|
+
url: z.ZodURL;
|
|
27
|
+
}, z.core.$strip>], "running">;
|
|
23
28
|
};
|
|
24
29
|
//# sourceMappingURL=get.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/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/runner/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAQhD,eAAO,MAAM,qBAAqB,GAAI,WAAW,SAAS,cAAc,EAAE,KAAK;IAC7E,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;CA+CA,CAAC"}
|
package/dist/v1/runner/get.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { runnerIdSchema, runnerWorkspaceIdDescription } from "./identity.js";
|
|
2
|
+
import { runnerIdSchema, runnerWatchUrlSchema, runnerWorkspaceIdDescription, } from "./identity.js";
|
|
3
3
|
export const makeGetRunnerContract = (ids) => {
|
|
4
4
|
const input = z.object({
|
|
5
5
|
id: runnerIdSchema.describe("Id of the runner to look up."),
|
|
@@ -7,20 +7,30 @@ export const makeGetRunnerContract = (ids) => {
|
|
|
7
7
|
.optional()
|
|
8
8
|
.describe(runnerWorkspaceIdDescription),
|
|
9
9
|
});
|
|
10
|
-
const
|
|
10
|
+
const addressed = z.object({
|
|
11
11
|
id: runnerIdSchema.describe("Id of the runner the call addressed."),
|
|
12
12
|
outcome: z.literal("success"),
|
|
13
|
-
running: z
|
|
14
|
-
.boolean()
|
|
15
|
-
.describe("False when no runner is running under this id: it was never launched, it was terminated, or it terminated on its own after inactivity. These are not distinguished, because the run system keeps no record of a runner once it is gone."),
|
|
16
13
|
});
|
|
14
|
+
const output = z.discriminatedUnion("running", [
|
|
15
|
+
addressed.extend({
|
|
16
|
+
running: z
|
|
17
|
+
.literal(false)
|
|
18
|
+
.describe("No runner is running under this id: it was never launched, it was terminated, or it terminated on its own after inactivity. These are not distinguished, because the run system keeps no record of a runner once it is gone."),
|
|
19
|
+
}),
|
|
20
|
+
addressed.extend({
|
|
21
|
+
running: z
|
|
22
|
+
.literal(true)
|
|
23
|
+
.describe("A runner is running under this id and can be addressed."),
|
|
24
|
+
url: runnerWatchUrlSchema,
|
|
25
|
+
}),
|
|
26
|
+
]);
|
|
17
27
|
return {
|
|
18
28
|
annotations: {
|
|
19
29
|
destructiveHint: false,
|
|
20
30
|
openWorldHint: false,
|
|
21
31
|
readOnlyHint: true,
|
|
22
32
|
},
|
|
23
|
-
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.",
|
|
33
|
+
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.",
|
|
24
34
|
input,
|
|
25
35
|
kind: "read",
|
|
26
36
|
name: "runner.get",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/v1/runner/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/v1/runner/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,4BAA4B,GAC7B,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAqC,GAEzE,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,EAAE,EAAE,cAAc,CAAC,QAAQ,CAAC,8BAA8B,CAAC;QAC3D,WAAW,EAAE,GAAG,CAAC,SAAS;aACvB,QAAQ,EAAE;aACV,QAAQ,CAAC,4BAA4B,CAAC;KAC1C,CAAC,CAAC;IAEH,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC;QACzB,EAAE,EAAE,cAAc,CAAC,QAAQ,CAAC,sCAAsC,CAAC;QACnE,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;KAC9B,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,CAAC,CAAC,kBAAkB,CAAC,SAAS,EAAE;QAC7C,SAAS,CAAC,MAAM,CAAC;YACf,OAAO,EAAE,CAAC;iBACP,OAAO,CAAC,KAAK,CAAC;iBACd,QAAQ,CACP,8NAA8N,CAC/N;SACJ,CAAC;QACF,SAAS,CAAC,MAAM,CAAC;YACf,OAAO,EAAE,CAAC;iBACP,OAAO,CAAC,IAAI,CAAC;iBACb,QAAQ,CAAC,yDAAyD,CAAC;YACtE,GAAG,EAAE,oBAAoB;SAC1B,CAAC;KACH,CAAC,CAAC;IAEH,OAAO;QACL,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,IAAI;SACnB;QACD,WAAW,EACT,wdAAwd;QAC1d,KAAK;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,YAAY;QAClB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -9,6 +9,7 @@ export type RunnerNameForPublicApi = z.infer<typeof runnerNameSchema>;
|
|
|
9
9
|
export declare const runnerWorkspaceRequirement = "Required when the credential is not bound to a single workspace, such as a user API key or an OAuth connection whose organization owns several.";
|
|
10
10
|
export declare const runnerWorkspaceIdDescription = "The workspace the runner belongs to. Required when the credential is not bound to a single workspace, such as a user API key or an OAuth connection whose organization owns several.";
|
|
11
11
|
export declare const runnerIdSchema: z.ZodString;
|
|
12
|
+
export declare const runnerWatchUrlSchema: z.ZodURL;
|
|
12
13
|
/** The shared interactive runner shape. */
|
|
13
14
|
export declare const makeRunnerSchema: () => z.ZodObject<{
|
|
14
15
|
gpuAccelerated: z.ZodBoolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/identity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,gBAAgB;;;;;EAK3B,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEtE,eAAO,MAAM,0BAA0B,oJAC4G,CAAC;AAEpJ,eAAO,MAAM,4BAA4B,yLAAuE,CAAC;AAEjH,eAAO,MAAM,cAAc,aAOxB,CAAC;AAEJ,2CAA2C;AAC3C,eAAO,MAAM,gBAAgB;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"identity.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/identity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,gBAAgB;;;;;EAK3B,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEtE,eAAO,MAAM,0BAA0B,oJAC4G,CAAC;AAEpJ,eAAO,MAAM,4BAA4B,yLAAuE,CAAC;AAEjH,eAAO,MAAM,cAAc,aAOxB,CAAC;AAEJ,eAAO,MAAM,oBAAoB,UAI9B,CAAC;AAEJ,2CAA2C;AAC3C,eAAO,MAAM,gBAAgB;;;;;;;;;;iBAczB,CAAC"}
|
|
@@ -12,6 +12,9 @@ export const runnerIdSchema = z
|
|
|
12
12
|
.min(1)
|
|
13
13
|
.max(63)
|
|
14
14
|
.regex(/^[a-z0-9]([a-z0-9-]*[a-z0-9])?$/, "A runner id may contain only lowercase letters, digits and dashes, and must start and end with a letter or digit.");
|
|
15
|
+
export const runnerWatchUrlSchema = z
|
|
16
|
+
.url()
|
|
17
|
+
.describe("A QA Wolf page showing what the runner is doing right now, where the person who launched it can watch and take over with their own mouse and keyboard. Opening it requires being signed in to QA Wolf. This link belongs to the user: put it in a normal message as soon as the runner is launched, so they can follow along while the browser is being driven. It is theirs to open, never a page for the caller to fetch or navigate to.");
|
|
15
18
|
/** The shared interactive runner shape. */
|
|
16
19
|
export const makeRunnerSchema = () => z.object({
|
|
17
20
|
gpuAccelerated: z
|
|
@@ -19,8 +22,6 @@ export const makeRunnerSchema = () => z.object({
|
|
|
19
22
|
.describe("Whether the runner was placed on GPU hardware. Chosen by QA Wolf from the team's configuration and what the fleet can provide, not requested."),
|
|
20
23
|
id: runnerIdSchema.describe("The runner's id, as supplied when launching it."),
|
|
21
24
|
runnerName: runnerNameSchema.describe("The runner family requested when the runner was launched. QA Wolf may place it on faster hardware, reported in gpuAccelerated."),
|
|
22
|
-
url:
|
|
23
|
-
.url()
|
|
24
|
-
.describe("A QA Wolf page showing what the runner is doing right now, where the person who launched it can watch and take over with their own mouse and keyboard. Opening it requires being signed in to QA Wolf."),
|
|
25
|
+
url: runnerWatchUrlSchema,
|
|
25
26
|
});
|
|
26
27
|
//# sourceMappingURL=identity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity.js","sourceRoot":"","sources":["../../../src/v1/runner/identity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,IAAI,CAAC;IACrC,OAAO;IACP,YAAY;IACZ,SAAS;IACT,KAAK;CACN,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,0BAA0B,GACrC,iJAAiJ,CAAC;AAEpJ,MAAM,CAAC,MAAM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,EAAE,CACnC,CAAC,CAAC,MAAM,CAAC;IACP,cAAc,EAAE,CAAC;SACd,OAAO,EAAE;SACT,QAAQ,CACP,+IAA+I,CAChJ;IACH,EAAE,EAAE,cAAc,CAAC,QAAQ,CACzB,iDAAiD,CAClD;IACD,UAAU,EAAE,gBAAgB,CAAC,QAAQ,CACnC,gIAAgI,CACjI;IACD,GAAG,EAAE,oBAAoB;CAC1B,CAAC,CAAC"}
|
|
@@ -8,7 +8,7 @@ export declare const makeLaunchRunnerContract: <WorkspaceId extends PublicIdSche
|
|
|
8
8
|
readonly openWorldHint: false;
|
|
9
9
|
readonly readOnlyHint: false;
|
|
10
10
|
};
|
|
11
|
-
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.";
|
|
11
|
+
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.";
|
|
12
12
|
readonly input: z.ZodObject<{
|
|
13
13
|
id: z.ZodString;
|
|
14
14
|
runnerName: z.ZodOptional<z.ZodEnum<{
|
package/dist/v1/runner/index.js
CHANGED
|
@@ -22,7 +22,7 @@ export const makeLaunchRunnerContract = (ids) => {
|
|
|
22
22
|
openWorldHint: false,
|
|
23
23
|
readOnlyHint: false,
|
|
24
24
|
},
|
|
25
|
-
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.",
|
|
25
|
+
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.",
|
|
26
26
|
input,
|
|
27
27
|
kind: "write",
|
|
28
28
|
name: "runner.launch",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/runner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,4BAA4B,EAC5B,0BAA0B,GAC3B,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAEtC,GAED,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,EAAE,EAAE,cAAc,CAAC,QAAQ,CACzB,+HAA+H,CAChI;QACD,UAAU,EAAE,gBAAgB;aACzB,QAAQ,EAAE;aACV,QAAQ,CACP,+EAA+E,CAChF;QACH,WAAW,EAAE,GAAG,CAAC,SAAS;aACvB,QAAQ,EAAE;aACV,QAAQ,CACP,0CAA0C,0BAA0B,EAAE,CACvE;KACJ,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,gBAAgB,EAAE,CAAC,MAAM,CAAC;QACvC,cAAc,EAAE,CAAC;aACd,OAAO,EAAE;aACT,QAAQ,CACP,sKAAsK,CACvK;QACH,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;KAC9B,CAAC,CAAC;IAEH,OAAO;QACL,WAAW,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