@aventurevc/api-schemas 0.8.530 → 0.8.532
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/agent/help.d.ts
CHANGED
|
@@ -76,10 +76,14 @@ declare const AgentHelpSchemaDefinition: z.ZodObject<{
|
|
|
76
76
|
cliCommand: string;
|
|
77
77
|
mcpTool?: string | null | undefined;
|
|
78
78
|
step: {
|
|
79
|
+
childOrder?: "CHOOSE_ONE" | "IN_ORDER" | "SIDE_BY_SIDE" | null | undefined;
|
|
80
|
+
condition?: string | null | undefined;
|
|
79
81
|
instruction: string;
|
|
80
82
|
operationId: string;
|
|
83
|
+
parentStepKey?: string | null | undefined;
|
|
81
84
|
planTaskKey?: string[] | undefined;
|
|
82
85
|
publishesAnalysis?: boolean | undefined;
|
|
86
|
+
requiresStepKey?: string[] | undefined;
|
|
83
87
|
stepKey?: string | undefined;
|
|
84
88
|
title?: string | null | undefined;
|
|
85
89
|
};
|
|
@@ -96,10 +100,14 @@ declare const AgentHelpSchemaDefinition: z.ZodObject<{
|
|
|
96
100
|
cliCommand: string;
|
|
97
101
|
mcpTool?: string | null | undefined;
|
|
98
102
|
step: {
|
|
103
|
+
childOrder?: "CHOOSE_ONE" | "IN_ORDER" | "SIDE_BY_SIDE" | null | undefined;
|
|
104
|
+
condition?: string | null | undefined;
|
|
99
105
|
instruction: string;
|
|
100
106
|
operationId: string;
|
|
107
|
+
parentStepKey?: string | null | undefined;
|
|
101
108
|
planTaskKey?: string[] | undefined;
|
|
102
109
|
publishesAnalysis?: boolean | undefined;
|
|
110
|
+
requiresStepKey?: string[] | undefined;
|
|
103
111
|
stepKey?: string | undefined;
|
|
104
112
|
title?: string | null | undefined;
|
|
105
113
|
};
|
|
@@ -3,17 +3,25 @@ declare const HarnessTaskPlanStepSchemaDefinition: z.ZodObject<{
|
|
|
3
3
|
cliCommand: z.ZodString;
|
|
4
4
|
mcpTool: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
5
|
step: z.ZodType<{
|
|
6
|
+
childOrder?: "CHOOSE_ONE" | "IN_ORDER" | "SIDE_BY_SIDE" | null | undefined;
|
|
7
|
+
condition?: string | null | undefined;
|
|
6
8
|
instruction: string;
|
|
7
9
|
operationId: string;
|
|
10
|
+
parentStepKey?: string | null | undefined;
|
|
8
11
|
planTaskKey?: string[] | undefined;
|
|
9
12
|
publishesAnalysis?: boolean | undefined;
|
|
13
|
+
requiresStepKey?: string[] | undefined;
|
|
10
14
|
stepKey?: string | undefined;
|
|
11
15
|
title?: string | null | undefined;
|
|
12
16
|
}, import("./task-step.ts").HarnessTaskStepSchemaInput, z.core.$ZodTypeInternals<{
|
|
17
|
+
childOrder?: "CHOOSE_ONE" | "IN_ORDER" | "SIDE_BY_SIDE" | null | undefined;
|
|
18
|
+
condition?: string | null | undefined;
|
|
13
19
|
instruction: string;
|
|
14
20
|
operationId: string;
|
|
21
|
+
parentStepKey?: string | null | undefined;
|
|
15
22
|
planTaskKey?: string[] | undefined;
|
|
16
23
|
publishesAnalysis?: boolean | undefined;
|
|
24
|
+
requiresStepKey?: string[] | undefined;
|
|
17
25
|
stepKey?: string | undefined;
|
|
18
26
|
title?: string | null | undefined;
|
|
19
27
|
}, import("./task-step.ts").HarnessTaskStepSchemaInput>>;
|
|
@@ -42,10 +42,14 @@ export declare const HarnessTaskPlanSchema: z.ZodObject<{
|
|
|
42
42
|
cliCommand: string;
|
|
43
43
|
mcpTool?: string | null | undefined;
|
|
44
44
|
step: {
|
|
45
|
+
childOrder?: "CHOOSE_ONE" | "IN_ORDER" | "SIDE_BY_SIDE" | null | undefined;
|
|
46
|
+
condition?: string | null | undefined;
|
|
45
47
|
instruction: string;
|
|
46
48
|
operationId: string;
|
|
49
|
+
parentStepKey?: string | null | undefined;
|
|
47
50
|
planTaskKey?: string[] | undefined;
|
|
48
51
|
publishesAnalysis?: boolean | undefined;
|
|
52
|
+
requiresStepKey?: string[] | undefined;
|
|
49
53
|
stepKey?: string | undefined;
|
|
50
54
|
title?: string | null | undefined;
|
|
51
55
|
};
|
|
@@ -62,10 +66,14 @@ export declare const HarnessTaskPlanSchema: z.ZodObject<{
|
|
|
62
66
|
cliCommand: string;
|
|
63
67
|
mcpTool?: string | null | undefined;
|
|
64
68
|
step: {
|
|
69
|
+
childOrder?: "CHOOSE_ONE" | "IN_ORDER" | "SIDE_BY_SIDE" | null | undefined;
|
|
70
|
+
condition?: string | null | undefined;
|
|
65
71
|
instruction: string;
|
|
66
72
|
operationId: string;
|
|
73
|
+
parentStepKey?: string | null | undefined;
|
|
67
74
|
planTaskKey?: string[] | undefined;
|
|
68
75
|
publishesAnalysis?: boolean | undefined;
|
|
76
|
+
requiresStepKey?: string[] | undefined;
|
|
69
77
|
stepKey?: string | undefined;
|
|
70
78
|
title?: string | null | undefined;
|
|
71
79
|
};
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const HarnessTaskStepSchemaDefinition: z.ZodObject<{
|
|
3
|
+
childOrder: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4
|
+
CHOOSE_ONE: "CHOOSE_ONE";
|
|
5
|
+
IN_ORDER: "IN_ORDER";
|
|
6
|
+
SIDE_BY_SIDE: "SIDE_BY_SIDE";
|
|
7
|
+
}>>>;
|
|
8
|
+
condition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3
9
|
instruction: z.ZodString;
|
|
4
10
|
operationId: z.ZodString;
|
|
11
|
+
parentStepKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
12
|
planTaskKey: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6
13
|
publishesAnalysis: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
+
requiresStepKey: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7
15
|
stepKey: z.ZodOptional<z.ZodString>;
|
|
8
16
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
17
|
}, z.core.$strip>;
|
|
@@ -11,7 +19,7 @@ type HarnessTaskStepDefinition = z.infer<typeof HarnessTaskStepSchemaDefinition>
|
|
|
11
19
|
export interface HarnessTaskStepSchemaInput extends z.input<typeof HarnessTaskStepSchemaDefinition> {
|
|
12
20
|
}
|
|
13
21
|
/**
|
|
14
|
-
* One
|
|
22
|
+
* One task step: its key, instruction, operation, delegated plans, and optional structure.
|
|
15
23
|
*
|
|
16
24
|
* @openapiSchema HarnessTaskStep
|
|
17
25
|
* @endpoint POST /v1/help
|
|
@@ -1,21 +1,29 @@
|
|
|
1
1
|
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
const HarnessTaskStepSchemaDefinition = z.object({
|
|
4
|
+
/** How to follow this step's immediate children. IN_ORDER follows applicable children in stored order; SIDE_BY_SIDE permits independent children to run together; CHOOSE_ONE takes the first child whose condition holds, in stored order, or none if no child applies. Omission means IN_ORDER. */
|
|
5
|
+
childOrder: z.enum(["IN_ORDER", "SIDE_BY_SIDE", "CHOOSE_ONE"]).nullish(),
|
|
6
|
+
/** Plain-language condition under which this step and its children apply. Omit for an unconditional step. This text is not an executable expression. */
|
|
7
|
+
condition: z.string().nullish(),
|
|
4
8
|
/** What this step does, written for the agent that runs it. */
|
|
5
9
|
instruction: z.string(),
|
|
6
10
|
/** OpenAPI operationId this step calls; it must be in the task's operation list. */
|
|
7
11
|
operationId: z.string(),
|
|
12
|
+
/** Key of this step's immediate parent in the same task. Omit for a top-level step. An expanded plan returns the qualified parent key. */
|
|
13
|
+
parentStepKey: z.string().nullish(),
|
|
8
14
|
/** Agent-task keys whose plans this step follows instead of restating their steps: the task then owns each named plan's steps, so a write one of them commits counts for this task too. Each must name another planned task; a key may appear once per task and delegations must not loop. */
|
|
9
15
|
planTaskKey: z.array(z.string()).optional(),
|
|
10
16
|
/** Whether this step must supply an analysis section when its task publishes an article analysis. Optional lens steps already require a section when accepted. */
|
|
11
17
|
publishesAnalysis: z.boolean().optional(),
|
|
18
|
+
/** Keys of steps in the same task that must all succeed before this step starts. Omit when none are required. An expanded plan returns qualified keys. */
|
|
19
|
+
requiresStepKey: z.array(z.string()).optional(),
|
|
12
20
|
/** Step key, unique within its task. */
|
|
13
21
|
stepKey: z.string().optional(),
|
|
14
22
|
/** Display title for this step, when the catalog supplies one. */
|
|
15
23
|
title: z.string().nullish(),
|
|
16
24
|
});
|
|
17
25
|
/**
|
|
18
|
-
* One
|
|
26
|
+
* One task step: its key, instruction, operation, delegated plans, and optional structure.
|
|
19
27
|
*
|
|
20
28
|
* @openapiSchema HarnessTaskStep
|
|
21
29
|
* @endpoint POST /v1/help
|
|
@@ -65,10 +65,14 @@ export declare const HelpResolutionSchema: z.ZodObject<{
|
|
|
65
65
|
cliCommand: string;
|
|
66
66
|
mcpTool?: string | null | undefined;
|
|
67
67
|
step: {
|
|
68
|
+
childOrder?: "CHOOSE_ONE" | "IN_ORDER" | "SIDE_BY_SIDE" | null | undefined;
|
|
69
|
+
condition?: string | null | undefined;
|
|
68
70
|
instruction: string;
|
|
69
71
|
operationId: string;
|
|
72
|
+
parentStepKey?: string | null | undefined;
|
|
70
73
|
planTaskKey?: string[] | undefined;
|
|
71
74
|
publishesAnalysis?: boolean | undefined;
|
|
75
|
+
requiresStepKey?: string[] | undefined;
|
|
72
76
|
stepKey?: string | undefined;
|
|
73
77
|
title?: string | null | undefined;
|
|
74
78
|
};
|
|
@@ -85,10 +89,14 @@ export declare const HelpResolutionSchema: z.ZodObject<{
|
|
|
85
89
|
cliCommand: string;
|
|
86
90
|
mcpTool?: string | null | undefined;
|
|
87
91
|
step: {
|
|
92
|
+
childOrder?: "CHOOSE_ONE" | "IN_ORDER" | "SIDE_BY_SIDE" | null | undefined;
|
|
93
|
+
condition?: string | null | undefined;
|
|
88
94
|
instruction: string;
|
|
89
95
|
operationId: string;
|
|
96
|
+
parentStepKey?: string | null | undefined;
|
|
90
97
|
planTaskKey?: string[] | undefined;
|
|
91
98
|
publishesAnalysis?: boolean | undefined;
|
|
99
|
+
requiresStepKey?: string[] | undefined;
|
|
92
100
|
stepKey?: string | undefined;
|
|
93
101
|
title?: string | null | undefined;
|
|
94
102
|
};
|