@aventurevc/api-schemas 0.8.64 → 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.
- package/dist/agent/help-question.d.ts +1 -0
- package/dist/agent/help-question.js +2 -0
- package/dist/agent/help.d.ts +21 -0
- package/dist/agent/help.js +3 -0
- package/dist/entity/list.d.ts +1 -0
- package/dist/entity/list.js +1 -0
- package/dist/federated/search.d.ts +1474 -514
- package/dist/help/citation.d.ts +1 -0
- package/dist/help/citation.js +1 -0
- package/dist/help/resolution-outcome.d.ts +19 -0
- package/dist/help/resolution-outcome.js +19 -0
- package/dist/help/resolution.d.ts +34 -0
- package/dist/help/resolution.js +25 -0
- package/dist/link/search.d.ts +1474 -514
- package/dist/natural/search-result.d.ts +958 -0
- package/dist/natural/search-result.js +5 -0
- package/dist/openapi-component-manifest.js +6 -0
- package/dist/search/judgment.d.ts +971 -0
- package/dist/search/judgment.js +25 -0
- package/dist/search/layer.d.ts +3 -1
- package/dist/search/layer.js +2 -2
- package/package.json +1 -1
package/dist/help/citation.d.ts
CHANGED
|
@@ -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
|
*/
|
package/dist/help/citation.js
CHANGED
|
@@ -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
|