@aventurevc/api-schemas 0.8.66 → 0.8.68
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 +1 -0
- package/dist/entity/natural-search.d.ts +2 -2
- package/dist/federated/search-provenance.d.ts +12 -12
- package/dist/federated/search.d.ts +20 -20
- package/dist/help/resolution.d.ts +1 -0
- package/dist/help/resolution.js +2 -0
- package/dist/link/search.d.ts +20 -20
- package/dist/natural/search-result.d.ts +4 -4
- package/dist/natural/search.d.ts +1 -7
- package/dist/person/natural-search-result.d.ts +4 -4
- package/dist/person/natural-search.d.ts +2 -2
- package/dist/person/search-interpretation.d.ts +4 -4
- package/dist/search/interpretation.d.ts +4 -4
- package/dist/search/layer.d.ts +1 -1
- package/dist/search/layer.js +1 -1
- package/dist/search/mode-execution.d.ts +2 -14
- package/dist/search/mode.d.ts +10 -7
- package/dist/search/mode.js +5 -1
- package/package.json +1 -1
package/dist/agent/help.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ declare const AgentHelpSchemaDefinition: z.ZodObject<{
|
|
|
37
37
|
TASK_PLAN: "TASK_PLAN";
|
|
38
38
|
}>;
|
|
39
39
|
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
+
taskKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
41
|
}, z.core.$strip>>>;
|
|
41
42
|
}, z.core.$strip>;
|
|
42
43
|
type AgentHelpDefinition = z.infer<typeof AgentHelpSchemaDefinition>;
|
|
@@ -162,11 +162,11 @@ declare const EntityNaturalSearchSchemaDefinition: z.ZodObject<{
|
|
|
162
162
|
}, unknown>>>>;
|
|
163
163
|
}, z.core.$strict>>;
|
|
164
164
|
search: z.ZodType<{
|
|
165
|
-
mode?:
|
|
165
|
+
mode?: string | undefined;
|
|
166
166
|
model?: string | null | undefined;
|
|
167
167
|
query: string;
|
|
168
168
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
169
|
-
mode?:
|
|
169
|
+
mode?: string | undefined;
|
|
170
170
|
model?: string | null | undefined;
|
|
171
171
|
query: string;
|
|
172
172
|
}, unknown>>;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const FederatedSearchProvenanceSchemaDefinition: z.ZodObject<{
|
|
3
3
|
entity: z.ZodType<{
|
|
4
|
-
modeRequested:
|
|
5
|
-
modeUsed:
|
|
4
|
+
modeRequested: string;
|
|
5
|
+
modeUsed: string;
|
|
6
6
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
7
|
-
modeRequested:
|
|
8
|
-
modeUsed:
|
|
7
|
+
modeRequested: string;
|
|
8
|
+
modeUsed: string;
|
|
9
9
|
}, unknown>>;
|
|
10
10
|
news: z.ZodType<{
|
|
11
|
-
modeRequested:
|
|
12
|
-
modeUsed:
|
|
11
|
+
modeRequested: string;
|
|
12
|
+
modeUsed: string;
|
|
13
13
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
14
|
-
modeRequested:
|
|
15
|
-
modeUsed:
|
|
14
|
+
modeRequested: string;
|
|
15
|
+
modeUsed: string;
|
|
16
16
|
}, unknown>>;
|
|
17
17
|
person: z.ZodType<{
|
|
18
|
-
modeRequested:
|
|
19
|
-
modeUsed:
|
|
18
|
+
modeRequested: string;
|
|
19
|
+
modeUsed: string;
|
|
20
20
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
21
|
-
modeRequested:
|
|
22
|
-
modeUsed:
|
|
21
|
+
modeRequested: string;
|
|
22
|
+
modeUsed: string;
|
|
23
23
|
}, unknown>>;
|
|
24
24
|
}, z.core.$strip>;
|
|
25
25
|
type FederatedSearchProvenanceDefinition = z.infer<typeof FederatedSearchProvenanceSchemaDefinition>;
|
|
@@ -13,8 +13,8 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
13
13
|
interpretation: {
|
|
14
14
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
15
15
|
execution: {
|
|
16
|
-
modeRequested:
|
|
17
|
-
modeUsed:
|
|
16
|
+
modeRequested: string;
|
|
17
|
+
modeUsed: string;
|
|
18
18
|
};
|
|
19
19
|
fallbackUsed: boolean;
|
|
20
20
|
filter: {
|
|
@@ -2076,8 +2076,8 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
2076
2076
|
interpretation: {
|
|
2077
2077
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
2078
2078
|
execution: {
|
|
2079
|
-
modeRequested:
|
|
2080
|
-
modeUsed:
|
|
2079
|
+
modeRequested: string;
|
|
2080
|
+
modeUsed: string;
|
|
2081
2081
|
};
|
|
2082
2082
|
fallbackUsed: boolean;
|
|
2083
2083
|
filter: {
|
|
@@ -4172,8 +4172,8 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
4172
4172
|
interpretation: {
|
|
4173
4173
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
4174
4174
|
execution: {
|
|
4175
|
-
modeRequested:
|
|
4176
|
-
modeUsed:
|
|
4175
|
+
modeRequested: string;
|
|
4176
|
+
modeUsed: string;
|
|
4177
4177
|
};
|
|
4178
4178
|
fallbackUsed: boolean;
|
|
4179
4179
|
filter: {
|
|
@@ -4294,8 +4294,8 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
4294
4294
|
interpretation: {
|
|
4295
4295
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
4296
4296
|
execution: {
|
|
4297
|
-
modeRequested:
|
|
4298
|
-
modeUsed:
|
|
4297
|
+
modeRequested: string;
|
|
4298
|
+
modeUsed: string;
|
|
4299
4299
|
};
|
|
4300
4300
|
fallbackUsed: boolean;
|
|
4301
4301
|
filter: {
|
|
@@ -4415,29 +4415,29 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
4415
4415
|
}, unknown>>;
|
|
4416
4416
|
provenance: z.ZodType<{
|
|
4417
4417
|
entity: {
|
|
4418
|
-
modeRequested:
|
|
4419
|
-
modeUsed:
|
|
4418
|
+
modeRequested: string;
|
|
4419
|
+
modeUsed: string;
|
|
4420
4420
|
};
|
|
4421
4421
|
news: {
|
|
4422
|
-
modeRequested:
|
|
4423
|
-
modeUsed:
|
|
4422
|
+
modeRequested: string;
|
|
4423
|
+
modeUsed: string;
|
|
4424
4424
|
};
|
|
4425
4425
|
person: {
|
|
4426
|
-
modeRequested:
|
|
4427
|
-
modeUsed:
|
|
4426
|
+
modeRequested: string;
|
|
4427
|
+
modeUsed: string;
|
|
4428
4428
|
};
|
|
4429
4429
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
4430
4430
|
entity: {
|
|
4431
|
-
modeRequested:
|
|
4432
|
-
modeUsed:
|
|
4431
|
+
modeRequested: string;
|
|
4432
|
+
modeUsed: string;
|
|
4433
4433
|
};
|
|
4434
4434
|
news: {
|
|
4435
|
-
modeRequested:
|
|
4436
|
-
modeUsed:
|
|
4435
|
+
modeRequested: string;
|
|
4436
|
+
modeUsed: string;
|
|
4437
4437
|
};
|
|
4438
4438
|
person: {
|
|
4439
|
-
modeRequested:
|
|
4440
|
-
modeUsed:
|
|
4439
|
+
modeRequested: string;
|
|
4440
|
+
modeUsed: string;
|
|
4441
4441
|
};
|
|
4442
4442
|
}, unknown>>;
|
|
4443
4443
|
}, z.core.$strip>;
|
|
@@ -29,6 +29,7 @@ export declare const HelpResolutionSchema: z.ZodObject<{
|
|
|
29
29
|
TASK_PLAN: "TASK_PLAN";
|
|
30
30
|
}>;
|
|
31
31
|
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
|
+
taskKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
33
|
}, z.core.$strip>;
|
|
33
34
|
export type HelpResolution = z.infer<typeof HelpResolutionSchema>;
|
|
34
35
|
//# sourceMappingURL=resolution.d.ts.map
|
package/dist/help/resolution.js
CHANGED
|
@@ -21,5 +21,7 @@ export const HelpResolutionSchema = z.object({
|
|
|
21
21
|
outcome: HelpResolutionOutcomeSchema,
|
|
22
22
|
/** Probability the decision model gave the chosen option (an operation, or none). */
|
|
23
23
|
probability: z.number().nullish(),
|
|
24
|
+
/** The chosen catalog task; present only for TASK_PLAN. getHarnessTaskPlan reads its plan. */
|
|
25
|
+
taskKey: z.string().nullish(),
|
|
24
26
|
});
|
|
25
27
|
//# sourceMappingURL=resolution.js.map
|
package/dist/link/search.d.ts
CHANGED
|
@@ -15,8 +15,8 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
15
15
|
interpretation: {
|
|
16
16
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
17
17
|
execution: {
|
|
18
|
-
modeRequested:
|
|
19
|
-
modeUsed:
|
|
18
|
+
modeRequested: string;
|
|
19
|
+
modeUsed: string;
|
|
20
20
|
};
|
|
21
21
|
fallbackUsed: boolean;
|
|
22
22
|
filter: {
|
|
@@ -2091,8 +2091,8 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
2091
2091
|
interpretation: {
|
|
2092
2092
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
2093
2093
|
execution: {
|
|
2094
|
-
modeRequested:
|
|
2095
|
-
modeUsed:
|
|
2094
|
+
modeRequested: string;
|
|
2095
|
+
modeUsed: string;
|
|
2096
2096
|
};
|
|
2097
2097
|
fallbackUsed: boolean;
|
|
2098
2098
|
filter: {
|
|
@@ -2212,16 +2212,16 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
2212
2212
|
};
|
|
2213
2213
|
provenance: {
|
|
2214
2214
|
entity: {
|
|
2215
|
-
modeRequested:
|
|
2216
|
-
modeUsed:
|
|
2215
|
+
modeRequested: string;
|
|
2216
|
+
modeUsed: string;
|
|
2217
2217
|
};
|
|
2218
2218
|
news: {
|
|
2219
|
-
modeRequested:
|
|
2220
|
-
modeUsed:
|
|
2219
|
+
modeRequested: string;
|
|
2220
|
+
modeUsed: string;
|
|
2221
2221
|
};
|
|
2222
2222
|
person: {
|
|
2223
|
-
modeRequested:
|
|
2224
|
-
modeUsed:
|
|
2223
|
+
modeRequested: string;
|
|
2224
|
+
modeUsed: string;
|
|
2225
2225
|
};
|
|
2226
2226
|
};
|
|
2227
2227
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
@@ -2238,8 +2238,8 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
2238
2238
|
interpretation: {
|
|
2239
2239
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
2240
2240
|
execution: {
|
|
2241
|
-
modeRequested:
|
|
2242
|
-
modeUsed:
|
|
2241
|
+
modeRequested: string;
|
|
2242
|
+
modeUsed: string;
|
|
2243
2243
|
};
|
|
2244
2244
|
fallbackUsed: boolean;
|
|
2245
2245
|
filter: {
|
|
@@ -4314,8 +4314,8 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
4314
4314
|
interpretation: {
|
|
4315
4315
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
4316
4316
|
execution: {
|
|
4317
|
-
modeRequested:
|
|
4318
|
-
modeUsed:
|
|
4317
|
+
modeRequested: string;
|
|
4318
|
+
modeUsed: string;
|
|
4319
4319
|
};
|
|
4320
4320
|
fallbackUsed: boolean;
|
|
4321
4321
|
filter: {
|
|
@@ -4435,16 +4435,16 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
4435
4435
|
};
|
|
4436
4436
|
provenance: {
|
|
4437
4437
|
entity: {
|
|
4438
|
-
modeRequested:
|
|
4439
|
-
modeUsed:
|
|
4438
|
+
modeRequested: string;
|
|
4439
|
+
modeUsed: string;
|
|
4440
4440
|
};
|
|
4441
4441
|
news: {
|
|
4442
|
-
modeRequested:
|
|
4443
|
-
modeUsed:
|
|
4442
|
+
modeRequested: string;
|
|
4443
|
+
modeUsed: string;
|
|
4444
4444
|
};
|
|
4445
4445
|
person: {
|
|
4446
|
-
modeRequested:
|
|
4447
|
-
modeUsed:
|
|
4446
|
+
modeRequested: string;
|
|
4447
|
+
modeUsed: string;
|
|
4448
4448
|
};
|
|
4449
4449
|
};
|
|
4450
4450
|
}, unknown>>;
|
|
@@ -20,8 +20,8 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
20
20
|
interpretation: z.ZodType<{
|
|
21
21
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
22
22
|
execution: {
|
|
23
|
-
modeRequested:
|
|
24
|
-
modeUsed:
|
|
23
|
+
modeRequested: string;
|
|
24
|
+
modeUsed: string;
|
|
25
25
|
};
|
|
26
26
|
fallbackUsed: boolean;
|
|
27
27
|
filter: {
|
|
@@ -137,8 +137,8 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
137
137
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
138
138
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
139
139
|
execution: {
|
|
140
|
-
modeRequested:
|
|
141
|
-
modeUsed:
|
|
140
|
+
modeRequested: string;
|
|
141
|
+
modeUsed: string;
|
|
142
142
|
};
|
|
143
143
|
fallbackUsed: boolean;
|
|
144
144
|
filter: {
|
package/dist/natural/search.d.ts
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const NaturalSearchSchemaDefinition: z.ZodObject<{
|
|
3
|
-
mode: z.ZodOptional<z.ZodDefault<z.
|
|
4
|
-
auto: "auto";
|
|
5
|
-
exact: "exact";
|
|
6
|
-
keyword: "keyword";
|
|
7
|
-
natural: "natural";
|
|
8
|
-
semantic: "semantic";
|
|
9
|
-
}>>>;
|
|
3
|
+
mode: z.ZodOptional<z.ZodDefault<z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>>>;
|
|
10
4
|
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
5
|
query: z.ZodString;
|
|
12
6
|
}, z.core.$strip>;
|
|
@@ -3,8 +3,8 @@ declare const PersonNaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
3
3
|
interpretation: z.ZodType<{
|
|
4
4
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
5
5
|
execution: {
|
|
6
|
-
modeRequested:
|
|
7
|
-
modeUsed:
|
|
6
|
+
modeRequested: string;
|
|
7
|
+
modeUsed: string;
|
|
8
8
|
};
|
|
9
9
|
fallbackUsed: boolean;
|
|
10
10
|
filter: {
|
|
@@ -76,8 +76,8 @@ declare const PersonNaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
76
76
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
77
77
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
78
78
|
execution: {
|
|
79
|
-
modeRequested:
|
|
80
|
-
modeUsed:
|
|
79
|
+
modeRequested: string;
|
|
80
|
+
modeUsed: string;
|
|
81
81
|
};
|
|
82
82
|
fallbackUsed: boolean;
|
|
83
83
|
filter: {
|
|
@@ -92,11 +92,11 @@ declare const PersonNaturalSearchSchemaDefinition: z.ZodObject<{
|
|
|
92
92
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
93
93
|
}, z.core.$strip>>;
|
|
94
94
|
search: z.ZodType<{
|
|
95
|
-
mode?:
|
|
95
|
+
mode?: string | undefined;
|
|
96
96
|
model?: string | null | undefined;
|
|
97
97
|
query: string;
|
|
98
98
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
99
|
-
mode?:
|
|
99
|
+
mode?: string | undefined;
|
|
100
100
|
model?: string | null | undefined;
|
|
101
101
|
query: string;
|
|
102
102
|
}, unknown>>;
|
|
@@ -6,11 +6,11 @@ declare const PersonSearchInterpretationSchemaDefinition: z.ZodObject<{
|
|
|
6
6
|
MEDIUM: "MEDIUM";
|
|
7
7
|
}>;
|
|
8
8
|
execution: z.ZodType<{
|
|
9
|
-
modeRequested:
|
|
10
|
-
modeUsed:
|
|
9
|
+
modeRequested: string;
|
|
10
|
+
modeUsed: string;
|
|
11
11
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
12
|
-
modeRequested:
|
|
13
|
-
modeUsed:
|
|
12
|
+
modeRequested: string;
|
|
13
|
+
modeUsed: string;
|
|
14
14
|
}, unknown>>;
|
|
15
15
|
fallbackUsed: z.ZodBoolean;
|
|
16
16
|
filter: z.ZodObject<{
|
|
@@ -6,11 +6,11 @@ declare const SearchInterpretationSchemaDefinition: z.ZodObject<{
|
|
|
6
6
|
MEDIUM: "MEDIUM";
|
|
7
7
|
}>;
|
|
8
8
|
execution: z.ZodType<{
|
|
9
|
-
modeRequested:
|
|
10
|
-
modeUsed:
|
|
9
|
+
modeRequested: string;
|
|
10
|
+
modeUsed: string;
|
|
11
11
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
12
|
-
modeRequested:
|
|
13
|
-
modeUsed:
|
|
12
|
+
modeRequested: string;
|
|
13
|
+
modeUsed: string;
|
|
14
14
|
}, unknown>>;
|
|
15
15
|
fallbackUsed: z.ZodBoolean;
|
|
16
16
|
filter: z.ZodType<{
|
package/dist/search/layer.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
/**
|
|
3
|
-
* Optional answer layer for a natural-language entity search. `passage` adds the text passages, from public research snippets and linked news, that best answer the question about the subject entities, their peers, or the top results; `synthesis` adds a written answer grounded only in those records and passages, citing each, and implies `passage`. `judgment` ranks the answer to a competitor, market, or provider question ("who competes with X", "top X companies", "who provides X") by the judged probability that each entity answers it; `web` adds
|
|
3
|
+
* Optional answer layer for a natural-language entity search. `passage` adds the text passages, from public research snippets and linked news, that best answer the question about the subject entities, their peers, or the top results; `synthesis` adds a written answer grounded only in those records and passages, citing each, and implies `passage`. `judgment` ranks the answer to a competitor, market, or provider question ("who competes with X", "top X companies", "who provides X") by the judged probability that each entity answers it; `web` adds web search evidence, and the companies those results name, before judging and implies `judgment`. Other questions ignore `judgment` and `web`.
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema SearchLayer
|
|
6
6
|
* @endpoint POST /v1/search/natural/entities
|
package/dist/search/layer.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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
|
/**
|
|
4
|
-
* Optional answer layer for a natural-language entity search. `passage` adds the text passages, from public research snippets and linked news, that best answer the question about the subject entities, their peers, or the top results; `synthesis` adds a written answer grounded only in those records and passages, citing each, and implies `passage`. `judgment` ranks the answer to a competitor, market, or provider question ("who competes with X", "top X companies", "who provides X") by the judged probability that each entity answers it; `web` adds
|
|
4
|
+
* Optional answer layer for a natural-language entity search. `passage` adds the text passages, from public research snippets and linked news, that best answer the question about the subject entities, their peers, or the top results; `synthesis` adds a written answer grounded only in those records and passages, citing each, and implies `passage`. `judgment` ranks the answer to a competitor, market, or provider question ("who competes with X", "top X companies", "who provides X") by the judged probability that each entity answers it; `web` adds web search evidence, and the companies those results name, before judging and implies `judgment`. Other questions ignore `judgment` and `web`.
|
|
5
5
|
*
|
|
6
6
|
* @openapiSchema SearchLayer
|
|
7
7
|
* @endpoint POST /v1/search/natural/entities
|
|
@@ -1,19 +1,7 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const SearchModeExecutionSchemaDefinition: z.ZodObject<{
|
|
3
|
-
modeRequested: z.
|
|
4
|
-
|
|
5
|
-
exact: "exact";
|
|
6
|
-
keyword: "keyword";
|
|
7
|
-
natural: "natural";
|
|
8
|
-
semantic: "semantic";
|
|
9
|
-
}>;
|
|
10
|
-
modeUsed: z.ZodEnum<{
|
|
11
|
-
auto: "auto";
|
|
12
|
-
exact: "exact";
|
|
13
|
-
keyword: "keyword";
|
|
14
|
-
natural: "natural";
|
|
15
|
-
semantic: "semantic";
|
|
16
|
-
}>;
|
|
3
|
+
modeRequested: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
4
|
+
modeUsed: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
17
5
|
}, z.core.$strip>;
|
|
18
6
|
type SearchModeExecutionDefinition = z.infer<typeof SearchModeExecutionSchemaDefinition>;
|
|
19
7
|
/**
|
package/dist/search/mode.d.ts
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
|
+
declare const SearchModeSchemaDefinition: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3
|
+
auto: "auto";
|
|
4
|
+
exact: "exact";
|
|
5
|
+
keyword: "keyword";
|
|
6
|
+
natural: "natural";
|
|
7
|
+
semantic: "semantic";
|
|
8
|
+
}>, z.ZodString]>;
|
|
9
|
+
type SearchModeDefinition = z.infer<typeof SearchModeSchemaDefinition>;
|
|
2
10
|
/**
|
|
3
11
|
* Search strategy for a natural-language search request. `auto` keeps the server pipeline (exact-name shortcut first, planner otherwise); `exact` matches entity or person names exactly with no planner and no embedding; `keyword` runs full-text search; `semantic` runs vector similarity; `natural` always runs the language-model planner. Entity and person natural-search support every mode; news and federated search accept only `auto` and `keyword`; content search accepts `auto` (topic, type, relation, and year words become filters and any other words rank by full text), `keyword` (the full text of articles, posts, and fetched pages), and `semantic` (one entity's or person's library pages by vector similarity of their fetched bodies).
|
|
4
12
|
*
|
|
@@ -15,12 +23,7 @@ import { z } from "zod/v4";
|
|
|
15
23
|
* @contractShape search.mode
|
|
16
24
|
* @contractRole canonical
|
|
17
25
|
*/
|
|
18
|
-
export declare const SearchModeSchema: z.
|
|
19
|
-
auto: "auto";
|
|
20
|
-
exact: "exact";
|
|
21
|
-
keyword: "keyword";
|
|
22
|
-
natural: "natural";
|
|
23
|
-
semantic: "semantic";
|
|
24
|
-
}>;
|
|
26
|
+
export declare const SearchModeSchema: z.ZodType<SearchModeDefinition>;
|
|
25
27
|
export type SearchMode = z.infer<typeof SearchModeSchema>;
|
|
28
|
+
export {};
|
|
26
29
|
//# sourceMappingURL=mode.d.ts.map
|
package/dist/search/mode.js
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
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
|
+
const SearchModeSchemaDefinition = z.union([
|
|
4
|
+
z.enum(["auto", "exact", "keyword", "semantic", "natural"]),
|
|
5
|
+
z.string(),
|
|
6
|
+
]);
|
|
3
7
|
/**
|
|
4
8
|
* Search strategy for a natural-language search request. `auto` keeps the server pipeline (exact-name shortcut first, planner otherwise); `exact` matches entity or person names exactly with no planner and no embedding; `keyword` runs full-text search; `semantic` runs vector similarity; `natural` always runs the language-model planner. Entity and person natural-search support every mode; news and federated search accept only `auto` and `keyword`; content search accepts `auto` (topic, type, relation, and year words become filters and any other words rank by full text), `keyword` (the full text of articles, posts, and fetched pages), and `semantic` (one entity's or person's library pages by vector similarity of their fetched bodies).
|
|
5
9
|
*
|
|
@@ -16,5 +20,5 @@ import { z } from "zod/v4";
|
|
|
16
20
|
* @contractShape search.mode
|
|
17
21
|
* @contractRole canonical
|
|
18
22
|
*/
|
|
19
|
-
export const SearchModeSchema =
|
|
23
|
+
export const SearchModeSchema = SearchModeSchemaDefinition;
|
|
20
24
|
//# sourceMappingURL=mode.js.map
|