@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.
- 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/natural/search.js +1 -1
- 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/dist/search/mode.d.ts +1 -1
- package/dist/search/mode.js +1 -1
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import { z } from "zod/v4";
|
|
|
2
2
|
declare const AgentHelpQuestionSchemaDefinition: z.ZodObject<{
|
|
3
3
|
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
4
|
question: z.ZodString;
|
|
5
|
+
resolve: z.ZodOptional<z.ZodBoolean>;
|
|
5
6
|
scope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6
7
|
ALL: "ALL";
|
|
7
8
|
READ: "READ";
|
|
@@ -6,6 +6,8 @@ const AgentHelpQuestionSchemaDefinition = z.object({
|
|
|
6
6
|
model: z.string().nullish(),
|
|
7
7
|
/** The question to answer, in natural language. */
|
|
8
8
|
question: z.string().min(1),
|
|
9
|
+
/** True resolves the question to one runnable operation instead of answering it: the response carries a resolution (operation advice, clarify, or abstain) and no generated answer. Resolving calls no chat model, ignores model, and spends no help quota. */
|
|
10
|
+
resolve: z.boolean().optional(),
|
|
9
11
|
/** Optional scope restricting which operations the answer may recommend; null means all. */
|
|
10
12
|
scope: HelpScopeSchema.nullish(),
|
|
11
13
|
});
|
package/dist/agent/help.d.ts
CHANGED
|
@@ -17,6 +17,27 @@ declare const AgentHelpSchemaDefinition: z.ZodObject<{
|
|
|
17
17
|
LOW: "LOW";
|
|
18
18
|
MEDIUM: "MEDIUM";
|
|
19
19
|
}>;
|
|
20
|
+
resolution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
21
|
+
candidate: z.ZodArray<z.ZodType<{
|
|
22
|
+
excerpt: string;
|
|
23
|
+
sourceId: string;
|
|
24
|
+
sourceType: "COMPLETION_GATE" | "OPERATION" | "PROMPT" | "RESEARCH_DETAIL_TYPE" | "SKILL";
|
|
25
|
+
sourceVersion?: string | null | undefined;
|
|
26
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
27
|
+
excerpt: string;
|
|
28
|
+
sourceId: string;
|
|
29
|
+
sourceType: "COMPLETION_GATE" | "OPERATION" | "PROMPT" | "RESEARCH_DETAIL_TYPE" | "SKILL";
|
|
30
|
+
sourceVersion?: string | null | undefined;
|
|
31
|
+
}, unknown>>>;
|
|
32
|
+
operationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
outcome: z.ZodEnum<{
|
|
34
|
+
ABSTAIN: "ABSTAIN";
|
|
35
|
+
CLARIFY: "CLARIFY";
|
|
36
|
+
OPERATION_ADVICE: "OPERATION_ADVICE";
|
|
37
|
+
TASK_PLAN: "TASK_PLAN";
|
|
38
|
+
}>;
|
|
39
|
+
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
+
}, z.core.$strip>>>;
|
|
20
41
|
}, z.core.$strip>;
|
|
21
42
|
type AgentHelpDefinition = z.infer<typeof AgentHelpSchemaDefinition>;
|
|
22
43
|
/**
|
package/dist/agent/help.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
import { ConfidenceSchema } from "../confidence/confidence.js";
|
|
4
4
|
import { HelpCitationSchema } from "../help/citation.js";
|
|
5
|
+
import { HelpResolutionSchema } from "../help/resolution.js";
|
|
5
6
|
const AgentHelpSchemaDefinition = z.object({
|
|
6
7
|
/** Answer drawn only from the cited corpus; abstains when unsupported. */
|
|
7
8
|
answer: z.string(),
|
|
@@ -9,6 +10,8 @@ const AgentHelpSchemaDefinition = z.object({
|
|
|
9
10
|
citation: z.array(HelpCitationSchema),
|
|
10
11
|
/** Confidence the answer is fully supported by the cited corpus. LOW signals an abstention. */
|
|
11
12
|
confidence: ConfidenceSchema,
|
|
13
|
+
/** The resolved operation when the question asked to resolve; absent for a generated answer. */
|
|
14
|
+
resolution: HelpResolutionSchema.nullish(),
|
|
12
15
|
});
|
|
13
16
|
/**
|
|
14
17
|
* Grounded natural-language help answer with citations to specific operations, skills, or completion gates. Unsupported questions abstain (LOW confidence) rather than guess.
|
package/dist/entity/list.d.ts
CHANGED
|
@@ -950,6 +950,7 @@ type EntityListDefinition = z.infer<typeof EntityListSchemaDefinition>;
|
|
|
950
950
|
* @usedBySchema NaturalSearchResultSchema
|
|
951
951
|
* @usedBySchema PageEntityListSchema
|
|
952
952
|
* @usedBySchema PageResultEntityListSchema
|
|
953
|
+
* @usedBySchema SearchJudgmentSchema
|
|
953
954
|
* @contractShape entity.list
|
|
954
955
|
* @contractRole canonical
|
|
955
956
|
*/
|
package/dist/entity/list.js
CHANGED
|
@@ -35,6 +35,7 @@ const EntityListSchemaDefinition = z.object({
|
|
|
35
35
|
* @usedBySchema NaturalSearchResultSchema
|
|
36
36
|
* @usedBySchema PageEntityListSchema
|
|
37
37
|
* @usedBySchema PageResultEntityListSchema
|
|
38
|
+
* @usedBySchema SearchJudgmentSchema
|
|
38
39
|
* @contractShape entity.list
|
|
39
40
|
* @contractRole canonical
|
|
40
41
|
*/
|