@aventurevc/api-schemas 0.8.63 → 0.8.65

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.
@@ -19,6 +19,7 @@ type HelpCitationDefinition = z.infer<typeof HelpCitationSchemaDefinition>;
19
19
  * @endpoint POST /v1/agents/help
20
20
  * @endpoint POST /v1/help
21
21
  * @usedBySchema AgentHelpSchema
22
+ * @usedBySchema HelpResolutionSchema
22
23
  * @contractShape help.citation
23
24
  * @contractRole canonical
24
25
  */
@@ -18,6 +18,7 @@ const HelpCitationSchemaDefinition = z.object({
18
18
  * @endpoint POST /v1/agents/help
19
19
  * @endpoint POST /v1/help
20
20
  * @usedBySchema AgentHelpSchema
21
+ * @usedBySchema HelpResolutionSchema
21
22
  * @contractShape help.citation
22
23
  * @contractRole canonical
23
24
  */
@@ -0,0 +1,19 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Outcome of a resolve request.
4
+ *
5
+ * @openapiSchema HelpResolutionOutcome
6
+ * @endpoint POST /v1/agents/help
7
+ * @endpoint POST /v1/help
8
+ * @usedBySchema HelpResolutionSchema
9
+ * @contractShape help.resolution-outcome
10
+ * @contractRole canonical
11
+ */
12
+ export declare const HelpResolutionOutcomeSchema: z.ZodEnum<{
13
+ ABSTAIN: "ABSTAIN";
14
+ CLARIFY: "CLARIFY";
15
+ OPERATION_ADVICE: "OPERATION_ADVICE";
16
+ TASK_PLAN: "TASK_PLAN";
17
+ }>;
18
+ export type HelpResolutionOutcome = z.infer<typeof HelpResolutionOutcomeSchema>;
19
+ //# sourceMappingURL=resolution-outcome.d.ts.map
@@ -0,0 +1,19 @@
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
+ import { z } from "zod/v4";
3
+ /**
4
+ * Outcome of a resolve request.
5
+ *
6
+ * @openapiSchema HelpResolutionOutcome
7
+ * @endpoint POST /v1/agents/help
8
+ * @endpoint POST /v1/help
9
+ * @usedBySchema HelpResolutionSchema
10
+ * @contractShape help.resolution-outcome
11
+ * @contractRole canonical
12
+ */
13
+ export const HelpResolutionOutcomeSchema = z.enum([
14
+ "TASK_PLAN",
15
+ "OPERATION_ADVICE",
16
+ "CLARIFY",
17
+ "ABSTAIN",
18
+ ]);
19
+ //# sourceMappingURL=resolution-outcome.js.map
@@ -0,0 +1,34 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Resolution of a request to one operation: advice naming it, a clarification between candidates, or an abstention.
4
+ *
5
+ * @openapiSchema HelpResolution
6
+ * @endpoint POST /v1/agents/help
7
+ * @endpoint POST /v1/help
8
+ * @usedBySchema AgentHelpSchema
9
+ * @contractShape help.resolution
10
+ * @contractRole canonical
11
+ */
12
+ export declare const HelpResolutionSchema: z.ZodObject<{
13
+ candidate: z.ZodArray<z.ZodType<{
14
+ excerpt: string;
15
+ sourceId: string;
16
+ sourceType: "COMPLETION_GATE" | "OPERATION" | "PROMPT" | "RESEARCH_DETAIL_TYPE" | "SKILL";
17
+ sourceVersion?: string | null | undefined;
18
+ }, unknown, z.core.$ZodTypeInternals<{
19
+ excerpt: string;
20
+ sourceId: string;
21
+ sourceType: "COMPLETION_GATE" | "OPERATION" | "PROMPT" | "RESEARCH_DETAIL_TYPE" | "SKILL";
22
+ sourceVersion?: string | null | undefined;
23
+ }, unknown>>>;
24
+ operationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ outcome: z.ZodEnum<{
26
+ ABSTAIN: "ABSTAIN";
27
+ CLARIFY: "CLARIFY";
28
+ OPERATION_ADVICE: "OPERATION_ADVICE";
29
+ TASK_PLAN: "TASK_PLAN";
30
+ }>;
31
+ probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ }, z.core.$strip>;
33
+ export type HelpResolution = z.infer<typeof HelpResolutionSchema>;
34
+ //# sourceMappingURL=resolution.d.ts.map
@@ -0,0 +1,25 @@
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
+ import { z } from "zod/v4";
3
+ import { HelpCitationSchema } from "./citation.js";
4
+ import { HelpResolutionOutcomeSchema } from "./resolution-outcome.js";
5
+ /**
6
+ * Resolution of a request to one operation: advice naming it, a clarification between candidates, or an abstention.
7
+ *
8
+ * @openapiSchema HelpResolution
9
+ * @endpoint POST /v1/agents/help
10
+ * @endpoint POST /v1/help
11
+ * @usedBySchema AgentHelpSchema
12
+ * @contractShape help.resolution
13
+ * @contractRole canonical
14
+ */
15
+ export const HelpResolutionSchema = z.object({
16
+ /** Candidate operations best first; the options to choose between when the outcome is CLARIFY. */
17
+ candidate: z.array(HelpCitationSchema),
18
+ /** The advised operation; present only for OPERATION_ADVICE. */
19
+ operationId: z.string().nullish(),
20
+ /** Which of the mutually exclusive resolve outcomes was reached. */
21
+ outcome: HelpResolutionOutcomeSchema,
22
+ /** Probability the decision model gave the chosen option (an operation, or none). */
23
+ probability: z.number().nullish(),
24
+ });
25
+ //# sourceMappingURL=resolution.js.map