@aventurevc/api-schemas 0.8.69 → 0.8.71

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.
Files changed (37) hide show
  1. package/dist/agent/help.d.ts +30 -0
  2. package/dist/federated/search.d.ts +47 -0
  3. package/dist/federated/search.js +3 -0
  4. package/dist/harness/task-input-type.d.ts +17 -0
  5. package/dist/harness/task-input-type.js +14 -0
  6. package/dist/harness/task-plan-step.d.ts +29 -0
  7. package/dist/harness/task-plan-step.js +23 -0
  8. package/dist/harness/task-plan.d.ts +43 -0
  9. package/dist/harness/task-plan.js +25 -0
  10. package/dist/harness/task-step.d.ts +21 -0
  11. package/dist/harness/task-step.js +22 -0
  12. package/dist/harness/task.d.ts +24 -0
  13. package/dist/harness/task.js +23 -0
  14. package/dist/help/resolution.d.ts +30 -0
  15. package/dist/help/resolution.js +5 -2
  16. package/dist/http/problem-detail.d.ts +1 -0
  17. package/dist/http/problem-detail.js +2 -0
  18. package/dist/link/search.d.ts +48 -0
  19. package/dist/natural/search-result.d.ts +18 -0
  20. package/dist/news/entity-mention.d.ts +41 -0
  21. package/dist/news/entity-mention.js +22 -0
  22. package/dist/news/match-status.d.ts +3 -0
  23. package/dist/news/match-status.js +3 -0
  24. package/dist/news/resolved-entity-link.d.ts +4 -0
  25. package/dist/news/resolved-entity-link.js +4 -0
  26. package/dist/openapi-component-manifest.js +16 -0
  27. package/dist/search/answer-citation.d.ts +1 -0
  28. package/dist/search/answer-citation.js +1 -0
  29. package/dist/search/answer-paragraph.d.ts +31 -0
  30. package/dist/search/answer-paragraph.js +25 -0
  31. package/dist/search/answer.d.ts +19 -1
  32. package/dist/search/answer.js +8 -3
  33. package/dist/search/layer.d.ts +2 -1
  34. package/dist/search/layer.js +2 -1
  35. package/dist/search/mode.d.ts +1 -1
  36. package/dist/search/mode.js +1 -1
  37. package/package.json +1 -1
@@ -38,6 +38,36 @@ declare const AgentHelpSchemaDefinition: z.ZodObject<{
38
38
  }>;
39
39
  probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
40
  taskKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ taskPlan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
42
+ catalogRevision: z.ZodInt;
43
+ input: z.ZodArray<z.ZodType<{
44
+ description: string;
45
+ key: string;
46
+ type: "ENTITY" | "TEXT";
47
+ }, unknown, z.core.$ZodTypeInternals<{
48
+ description: string;
49
+ key: string;
50
+ type: "ENTITY" | "TEXT";
51
+ }, unknown>>>;
52
+ step: z.ZodArray<z.ZodType<{
53
+ cliCommand: string;
54
+ mcpTool?: string | null | undefined;
55
+ step: {
56
+ instruction: string;
57
+ operationId: string;
58
+ stepKey: string;
59
+ };
60
+ }, unknown, z.core.$ZodTypeInternals<{
61
+ cliCommand: string;
62
+ mcpTool?: string | null | undefined;
63
+ step: {
64
+ instruction: string;
65
+ operationId: string;
66
+ stepKey: string;
67
+ };
68
+ }, unknown>>>;
69
+ taskKey: z.ZodString;
70
+ }, z.core.$strip>>>;
41
71
  }, z.core.$strip>>>;
42
72
  }, z.core.$strip>;
43
73
  type AgentHelpDefinition = z.infer<typeof AgentHelpSchemaDefinition>;
@@ -8,6 +8,16 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
8
8
  sourceId: string;
9
9
  }[];
10
10
  confidence: "HIGH" | "LOW" | "MEDIUM";
11
+ paragraph: {
12
+ citation: {
13
+ entityId: string;
14
+ source: "entityRecord" | "newsArticle" | "researchSnippet";
15
+ sourceId: string;
16
+ }[];
17
+ text: string;
18
+ topic?: string | null | undefined;
19
+ }[];
20
+ relatedQuery: string[];
11
21
  text: string;
12
22
  } | null | undefined;
13
23
  interpretation: {
@@ -2071,6 +2081,16 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
2071
2081
  sourceId: string;
2072
2082
  }[];
2073
2083
  confidence: "HIGH" | "LOW" | "MEDIUM";
2084
+ paragraph: {
2085
+ citation: {
2086
+ entityId: string;
2087
+ source: "entityRecord" | "newsArticle" | "researchSnippet";
2088
+ sourceId: string;
2089
+ }[];
2090
+ text: string;
2091
+ topic?: string | null | undefined;
2092
+ }[];
2093
+ relatedQuery: string[];
2074
2094
  text: string;
2075
2095
  } | null | undefined;
2076
2096
  interpretation: {
@@ -4168,6 +4188,33 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
4168
4188
  totalElements: number;
4169
4189
  totalPages: number;
4170
4190
  }, unknown>>;
4191
+ newsEntityMention: z.ZodArray<z.ZodType<{
4192
+ entity: {
4193
+ createdAt: string;
4194
+ entityId: string;
4195
+ href?: string | null | undefined;
4196
+ internal: boolean;
4197
+ matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
4198
+ mention?: string | null | undefined;
4199
+ slug?: string | null | undefined;
4200
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
4201
+ updatedAt: string;
4202
+ }[];
4203
+ newsId: number;
4204
+ }, unknown, z.core.$ZodTypeInternals<{
4205
+ entity: {
4206
+ createdAt: string;
4207
+ entityId: string;
4208
+ href?: string | null | undefined;
4209
+ internal: boolean;
4210
+ matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
4211
+ mention?: string | null | undefined;
4212
+ slug?: string | null | undefined;
4213
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
4214
+ updatedAt: string;
4215
+ }[];
4216
+ newsId: number;
4217
+ }, unknown>>>;
4171
4218
  person: z.ZodType<{
4172
4219
  interpretation: {
4173
4220
  confidence: "HIGH" | "LOW" | "MEDIUM";
@@ -2,6 +2,7 @@
2
2
  import { z } from "zod/v4";
3
3
  import { FederatedSearchProvenanceSchema } from "./search-provenance.js";
4
4
  import { NaturalSearchResultSchema } from "../natural/search-result.js";
5
+ import { NewsEntityMentionSchema } from "../news/entity-mention.js";
5
6
  import { PageResultNewsSchema } from "../pagination/schemas.js";
6
7
  import { PersonNaturalSearchResultSchema } from "../person/natural-search-result.js";
7
8
  const FederatedSearchSchemaDefinition = z.object({
@@ -9,6 +10,8 @@ const FederatedSearchSchemaDefinition = z.object({
9
10
  entity: NaturalSearchResultSchema,
10
11
  /** Canonical news page returned by the keyword list engine. */
11
12
  news: PageResultNewsSchema,
13
+ /** Public entities each news row on the page links to, in news page order; a row with no public entity link has no entry. */
14
+ newsEntityMention: z.array(NewsEntityMentionSchema),
12
15
  /** Canonical person natural-search result. */
13
16
  person: PersonNaturalSearchResultSchema,
14
17
  /** Requested and executed strategy for each search scope. */
@@ -0,0 +1,17 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * ENTITY binds a target entity to its canonical id through entity identification; TEXT is a literal value the request states.
4
+ *
5
+ * @openapiSchema HarnessTaskInputType
6
+ * @endpoint POST /v1/agents/help
7
+ * @endpoint POST /v1/help
8
+ * @usedBySchema HarnessTaskSchema
9
+ * @contractShape harness.task-input-type
10
+ * @contractRole canonical
11
+ */
12
+ export declare const HarnessTaskInputTypeSchema: z.ZodEnum<{
13
+ ENTITY: "ENTITY";
14
+ TEXT: "TEXT";
15
+ }>;
16
+ export type HarnessTaskInputType = z.infer<typeof HarnessTaskInputTypeSchema>;
17
+ //# sourceMappingURL=task-input-type.d.ts.map
@@ -0,0 +1,14 @@
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
+ * ENTITY binds a target entity to its canonical id through entity identification; TEXT is a literal value the request states.
5
+ *
6
+ * @openapiSchema HarnessTaskInputType
7
+ * @endpoint POST /v1/agents/help
8
+ * @endpoint POST /v1/help
9
+ * @usedBySchema HarnessTaskSchema
10
+ * @contractShape harness.task-input-type
11
+ * @contractRole canonical
12
+ */
13
+ export const HarnessTaskInputTypeSchema = z.enum(["ENTITY", "TEXT"]);
14
+ //# sourceMappingURL=task-input-type.js.map
@@ -0,0 +1,29 @@
1
+ import { z } from "zod/v4";
2
+ declare const HarnessTaskPlanStepSchemaDefinition: z.ZodObject<{
3
+ cliCommand: z.ZodString;
4
+ mcpTool: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
+ step: z.ZodType<{
6
+ instruction: string;
7
+ operationId: string;
8
+ stepKey: string;
9
+ }, unknown, z.core.$ZodTypeInternals<{
10
+ instruction: string;
11
+ operationId: string;
12
+ stepKey: string;
13
+ }, unknown>>;
14
+ }, z.core.$strip>;
15
+ type HarnessTaskPlanStepDefinition = z.infer<typeof HarnessTaskPlanStepSchemaDefinition>;
16
+ /**
17
+ * One task step with the CLI command and MCP tool that run its operation.
18
+ *
19
+ * @openapiSchema HarnessTaskPlanStep
20
+ * @endpoint POST /v1/agents/help
21
+ * @endpoint POST /v1/help
22
+ * @usedBySchema HarnessTaskPlanSchema
23
+ * @contractShape harness.task-plan-step
24
+ * @contractRole canonical
25
+ */
26
+ export declare const HarnessTaskPlanStepSchema: z.ZodType<HarnessTaskPlanStepDefinition>;
27
+ export type HarnessTaskPlanStep = z.infer<typeof HarnessTaskPlanStepSchema>;
28
+ export {};
29
+ //# sourceMappingURL=task-plan-step.d.ts.map
@@ -0,0 +1,23 @@
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 { HarnessTaskStepSchema } from "./task-step.js";
4
+ const HarnessTaskPlanStepSchemaDefinition = z.object({
5
+ /** CLI command path that runs the step's operation; the caller supplies required flags. */
6
+ cliCommand: z.string(),
7
+ /** MCP tool that runs the step's operation; null for CLI-only operations. Supply arguments matching the tool's schema. */
8
+ mcpTool: z.string().nullish(),
9
+ /** The stored step. */
10
+ step: HarnessTaskStepSchema,
11
+ });
12
+ /**
13
+ * One task step with the CLI command and MCP tool that run its operation.
14
+ *
15
+ * @openapiSchema HarnessTaskPlanStep
16
+ * @endpoint POST /v1/agents/help
17
+ * @endpoint POST /v1/help
18
+ * @usedBySchema HarnessTaskPlanSchema
19
+ * @contractShape harness.task-plan-step
20
+ * @contractRole canonical
21
+ */
22
+ export const HarnessTaskPlanStepSchema = HarnessTaskPlanStepSchemaDefinition;
23
+ //# sourceMappingURL=task-plan-step.js.map
@@ -0,0 +1,43 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * One catalog task's typed inputs and ordered steps with derived CLI commands and MCP tools, read from the stated catalog revision.
4
+ *
5
+ * @openapiSchema HarnessTaskPlan
6
+ * @endpoint POST /v1/agents/help
7
+ * @endpoint POST /v1/help
8
+ * @usedBySchema HelpResolutionSchema
9
+ * @contractShape harness.task-plan
10
+ * @contractRole canonical
11
+ */
12
+ export declare const HarnessTaskPlanSchema: z.ZodObject<{
13
+ catalogRevision: z.ZodInt;
14
+ input: z.ZodArray<z.ZodType<{
15
+ description: string;
16
+ key: string;
17
+ type: "ENTITY" | "TEXT";
18
+ }, unknown, z.core.$ZodTypeInternals<{
19
+ description: string;
20
+ key: string;
21
+ type: "ENTITY" | "TEXT";
22
+ }, unknown>>>;
23
+ step: z.ZodArray<z.ZodType<{
24
+ cliCommand: string;
25
+ mcpTool?: string | null | undefined;
26
+ step: {
27
+ instruction: string;
28
+ operationId: string;
29
+ stepKey: string;
30
+ };
31
+ }, unknown, z.core.$ZodTypeInternals<{
32
+ cliCommand: string;
33
+ mcpTool?: string | null | undefined;
34
+ step: {
35
+ instruction: string;
36
+ operationId: string;
37
+ stepKey: string;
38
+ };
39
+ }, unknown>>>;
40
+ taskKey: z.ZodString;
41
+ }, z.core.$strip>;
42
+ export type HarnessTaskPlan = z.infer<typeof HarnessTaskPlanSchema>;
43
+ //# sourceMappingURL=task-plan.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 { HarnessTaskPlanStepSchema } from "./task-plan-step.js";
4
+ import { HarnessTaskSchema } from "./task.js";
5
+ /**
6
+ * One catalog task's typed inputs and ordered steps with derived CLI commands and MCP tools, read from the stated catalog revision.
7
+ *
8
+ * @openapiSchema HarnessTaskPlan
9
+ * @endpoint POST /v1/agents/help
10
+ * @endpoint POST /v1/help
11
+ * @usedBySchema HelpResolutionSchema
12
+ * @contractShape harness.task-plan
13
+ * @contractRole canonical
14
+ */
15
+ export const HarnessTaskPlanSchema = z.object({
16
+ /** Stored catalog revision this plan was read from. */
17
+ catalogRevision: z.int(),
18
+ /** Typed inputs the task needs before it runs. */
19
+ input: z.array(HarnessTaskSchema),
20
+ /** Steps in run order; an empty list means this catalog task is unplanned. */
21
+ step: z.array(HarnessTaskPlanStepSchema),
22
+ /** Agent-task catalog key. */
23
+ taskKey: z.string(),
24
+ });
25
+ //# sourceMappingURL=task-plan.js.map
@@ -0,0 +1,21 @@
1
+ import { z } from "zod/v4";
2
+ declare const HarnessTaskStepSchemaDefinition: z.ZodObject<{
3
+ instruction: z.ZodString;
4
+ operationId: z.ZodString;
5
+ stepKey: z.ZodString;
6
+ }, z.core.$strip>;
7
+ type HarnessTaskStepDefinition = z.infer<typeof HarnessTaskStepSchemaDefinition>;
8
+ /**
9
+ * One ordered task step: its key, instruction, and the operation that runs it.
10
+ *
11
+ * @openapiSchema HarnessTaskStep
12
+ * @endpoint POST /v1/agents/help
13
+ * @endpoint POST /v1/help
14
+ * @usedBySchema HarnessTaskPlanStepSchema
15
+ * @contractShape harness.task-step
16
+ * @contractRole canonical
17
+ */
18
+ export declare const HarnessTaskStepSchema: z.ZodType<HarnessTaskStepDefinition>;
19
+ export type HarnessTaskStep = z.infer<typeof HarnessTaskStepSchema>;
20
+ export {};
21
+ //# sourceMappingURL=task-step.d.ts.map
@@ -0,0 +1,22 @@
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
+ const HarnessTaskStepSchemaDefinition = z.object({
4
+ /** What this step does, written for the agent that runs it. */
5
+ instruction: z.string(),
6
+ /** OpenAPI operationId this step calls; it must be in the task's operation list. */
7
+ operationId: z.string(),
8
+ /** Step key, unique within its task. */
9
+ stepKey: z.string(),
10
+ });
11
+ /**
12
+ * One ordered task step: its key, instruction, and the operation that runs it.
13
+ *
14
+ * @openapiSchema HarnessTaskStep
15
+ * @endpoint POST /v1/agents/help
16
+ * @endpoint POST /v1/help
17
+ * @usedBySchema HarnessTaskPlanStepSchema
18
+ * @contractShape harness.task-step
19
+ * @contractRole canonical
20
+ */
21
+ export const HarnessTaskStepSchema = HarnessTaskStepSchemaDefinition;
22
+ //# sourceMappingURL=task-step.js.map
@@ -0,0 +1,24 @@
1
+ import { z } from "zod/v4";
2
+ declare const HarnessTaskSchemaDefinition: z.ZodObject<{
3
+ description: z.ZodString;
4
+ key: z.ZodString;
5
+ type: z.ZodEnum<{
6
+ ENTITY: "ENTITY";
7
+ TEXT: "TEXT";
8
+ }>;
9
+ }, z.core.$strip>;
10
+ type HarnessTaskDefinition = z.infer<typeof HarnessTaskSchemaDefinition>;
11
+ /**
12
+ * One typed task input that must be bound before a run starts.
13
+ *
14
+ * @openapiSchema HarnessTaskInput
15
+ * @endpoint POST /v1/agents/help
16
+ * @endpoint POST /v1/help
17
+ * @usedBySchema HarnessTaskPlanSchema
18
+ * @contractShape harness.task
19
+ * @contractRole canonical
20
+ */
21
+ export declare const HarnessTaskSchema: z.ZodType<HarnessTaskDefinition>;
22
+ export type HarnessTask = z.infer<typeof HarnessTaskSchema>;
23
+ export {};
24
+ //# sourceMappingURL=task.d.ts.map
@@ -0,0 +1,23 @@
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 { HarnessTaskInputTypeSchema } from "./task-input-type.js";
4
+ const HarnessTaskSchemaDefinition = z.object({
5
+ /** What the value is, written for the caller that supplies it. */
6
+ description: z.string(),
7
+ /** Input key, unique within its task. */
8
+ key: z.string(),
9
+ /** How the value is bound. */
10
+ type: HarnessTaskInputTypeSchema,
11
+ });
12
+ /**
13
+ * One typed task input that must be bound before a run starts.
14
+ *
15
+ * @openapiSchema HarnessTaskInput
16
+ * @endpoint POST /v1/agents/help
17
+ * @endpoint POST /v1/help
18
+ * @usedBySchema HarnessTaskPlanSchema
19
+ * @contractShape harness.task
20
+ * @contractRole canonical
21
+ */
22
+ export const HarnessTaskSchema = HarnessTaskSchemaDefinition;
23
+ //# sourceMappingURL=task.js.map
@@ -30,6 +30,36 @@ export declare const HelpResolutionSchema: z.ZodObject<{
30
30
  }>;
31
31
  probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
32
  taskKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ taskPlan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34
+ catalogRevision: z.ZodInt;
35
+ input: z.ZodArray<z.ZodType<{
36
+ description: string;
37
+ key: string;
38
+ type: "ENTITY" | "TEXT";
39
+ }, unknown, z.core.$ZodTypeInternals<{
40
+ description: string;
41
+ key: string;
42
+ type: "ENTITY" | "TEXT";
43
+ }, unknown>>>;
44
+ step: z.ZodArray<z.ZodType<{
45
+ cliCommand: string;
46
+ mcpTool?: string | null | undefined;
47
+ step: {
48
+ instruction: string;
49
+ operationId: string;
50
+ stepKey: string;
51
+ };
52
+ }, unknown, z.core.$ZodTypeInternals<{
53
+ cliCommand: string;
54
+ mcpTool?: string | null | undefined;
55
+ step: {
56
+ instruction: string;
57
+ operationId: string;
58
+ stepKey: string;
59
+ };
60
+ }, unknown>>>;
61
+ taskKey: z.ZodString;
62
+ }, z.core.$strip>>>;
33
63
  }, z.core.$strip>;
34
64
  export type HelpResolution = z.infer<typeof HelpResolutionSchema>;
35
65
  //# sourceMappingURL=resolution.d.ts.map
@@ -1,5 +1,6 @@
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
+ import { HarnessTaskPlanSchema } from "../harness/task-plan.js";
3
4
  import { HelpCitationSchema } from "./citation.js";
4
5
  import { HelpResolutionOutcomeSchema } from "./resolution-outcome.js";
5
6
  /**
@@ -19,9 +20,11 @@ export const HelpResolutionSchema = z.object({
19
20
  operationId: z.string().nullish(),
20
21
  /** Which of the mutually exclusive resolve outcomes was reached. */
21
22
  outcome: HelpResolutionOutcomeSchema,
22
- /** Probability the decision model gave the chosen option (an operation, or none). */
23
+ /** Probability the decision model gave its chosen option (an operation, a task, several, or none); informational, the choice alone decides the outcome. */
23
24
  probability: z.number().nullish(),
24
- /** The chosen catalog task for TASK_PLAN, or the task leading a CLARIFY; getHarnessTaskPlan reads its plan. */
25
+ /** The chosen catalog task for TASK_PLAN, or the task leading a CLARIFY. */
25
26
  taskKey: z.string().nullish(),
27
+ /** The chosen task's plan for TASK_PLAN when the caller may read catalog task plans; absent otherwise. */
28
+ taskPlan: HarnessTaskPlanSchema.nullish(),
26
29
  });
27
30
  //# sourceMappingURL=resolution.js.map
@@ -18,6 +18,7 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
18
18
  INFERENCE_PROVIDER_RESPONSE_EMPTY: "INFERENCE_PROVIDER_RESPONSE_EMPTY";
19
19
  JOBRUNR_DISABLED: "JOBRUNR_DISABLED";
20
20
  JOBRUNR_STORAGE_UNAVAILABLE: "JOBRUNR_STORAGE_UNAVAILABLE";
21
+ account_exists: "account_exists";
21
22
  billing_additional_usage_cap_reached: "billing_additional_usage_cap_reached";
22
23
  billing_allowance_exhausted: "billing_allowance_exhausted";
23
24
  callback_challenge_failed: "callback_challenge_failed";
@@ -33,6 +33,8 @@ const ProblemDetailSchemaDefinition = z.object({
33
33
  "billing_allowance_exhausted",
34
34
  /** The caller's monthly allowance is spent and the next additional-usage unit would pass the monthly spend cap or the prepaid credit left. Agent action: stop and report ProblemDetail.allowanceType, limit, used, remaining, and resetAt; raise the cap or buy credit through /v1/billing/additional-usage, or wait for resetAt. */
35
35
  "billing_additional_usage_cap_reached",
36
+ /** A signed-out purchase named an email that already belongs to an account. Agent action: sign that account in with its email code, then subscribe signed in; never retry the signed-out purchase for that email. */
37
+ "account_exists",
36
38
  /** Detail-origin cold-miss coalescing is saturated. Agent action: treat as backend capacity impairment, back off, and inspect backend pool/bulkhead metrics; this is not a caller throttle. */
37
39
  "origin_detail_capacity",
38
40
  /** Detail-origin cold-miss scheduler rejected work because this instance is shutting down for a redeploy. Agent action: retry shortly; the platform routes the retry to a healthy instance. This is deploy-window noise, not a capacity defect — do not treat it as backend saturation. */
@@ -10,6 +10,16 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
10
10
  sourceId: string;
11
11
  }[];
12
12
  confidence: "HIGH" | "LOW" | "MEDIUM";
13
+ paragraph: {
14
+ citation: {
15
+ entityId: string;
16
+ source: "entityRecord" | "newsArticle" | "researchSnippet";
17
+ sourceId: string;
18
+ }[];
19
+ text: string;
20
+ topic?: string | null | undefined;
21
+ }[];
22
+ relatedQuery: string[];
13
23
  text: string;
14
24
  } | null | undefined;
15
25
  interpretation: {
@@ -2087,6 +2097,20 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
2087
2097
  totalElements: number;
2088
2098
  totalPages: number;
2089
2099
  };
2100
+ newsEntityMention: {
2101
+ entity: {
2102
+ createdAt: string;
2103
+ entityId: string;
2104
+ href?: string | null | undefined;
2105
+ internal: boolean;
2106
+ matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
2107
+ mention?: string | null | undefined;
2108
+ slug?: string | null | undefined;
2109
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
2110
+ updatedAt: string;
2111
+ }[];
2112
+ newsId: number;
2113
+ }[];
2090
2114
  person: {
2091
2115
  interpretation: {
2092
2116
  confidence: "HIGH" | "LOW" | "MEDIUM";
@@ -2233,6 +2257,16 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
2233
2257
  sourceId: string;
2234
2258
  }[];
2235
2259
  confidence: "HIGH" | "LOW" | "MEDIUM";
2260
+ paragraph: {
2261
+ citation: {
2262
+ entityId: string;
2263
+ source: "entityRecord" | "newsArticle" | "researchSnippet";
2264
+ sourceId: string;
2265
+ }[];
2266
+ text: string;
2267
+ topic?: string | null | undefined;
2268
+ }[];
2269
+ relatedQuery: string[];
2236
2270
  text: string;
2237
2271
  } | null | undefined;
2238
2272
  interpretation: {
@@ -4310,6 +4344,20 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
4310
4344
  totalElements: number;
4311
4345
  totalPages: number;
4312
4346
  };
4347
+ newsEntityMention: {
4348
+ entity: {
4349
+ createdAt: string;
4350
+ entityId: string;
4351
+ href?: string | null | undefined;
4352
+ internal: boolean;
4353
+ matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
4354
+ mention?: string | null | undefined;
4355
+ slug?: string | null | undefined;
4356
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
4357
+ updatedAt: string;
4358
+ }[];
4359
+ newsId: number;
4360
+ }[];
4313
4361
  person: {
4314
4362
  interpretation: {
4315
4363
  confidence: "HIGH" | "LOW" | "MEDIUM";
@@ -15,6 +15,24 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
15
15
  LOW: "LOW";
16
16
  MEDIUM: "MEDIUM";
17
17
  }>;
18
+ paragraph: z.ZodArray<z.ZodType<{
19
+ citation: {
20
+ entityId: string;
21
+ source: "entityRecord" | "newsArticle" | "researchSnippet";
22
+ sourceId: string;
23
+ }[];
24
+ text: string;
25
+ topic?: string | null | undefined;
26
+ }, unknown, z.core.$ZodTypeInternals<{
27
+ citation: {
28
+ entityId: string;
29
+ source: "entityRecord" | "newsArticle" | "researchSnippet";
30
+ sourceId: string;
31
+ }[];
32
+ text: string;
33
+ topic?: string | null | undefined;
34
+ }, unknown>>>;
35
+ relatedQuery: z.ZodArray<z.ZodString>;
18
36
  text: z.ZodString;
19
37
  }, z.core.$strip>>>;
20
38
  interpretation: z.ZodType<{
@@ -0,0 +1,41 @@
1
+ import { z } from "zod/v4";
2
+ declare const NewsEntityMentionSchemaDefinition: z.ZodObject<{
3
+ entity: z.ZodArray<z.ZodType<{
4
+ createdAt: string;
5
+ entityId: string;
6
+ href?: string | null | undefined;
7
+ internal: boolean;
8
+ matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
9
+ mention?: string | null | undefined;
10
+ slug?: string | null | undefined;
11
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
12
+ updatedAt: string;
13
+ }, unknown, z.core.$ZodTypeInternals<{
14
+ createdAt: string;
15
+ entityId: string;
16
+ href?: string | null | undefined;
17
+ internal: boolean;
18
+ matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
19
+ mention?: string | null | undefined;
20
+ slug?: string | null | undefined;
21
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
22
+ updatedAt: string;
23
+ }, unknown>>>;
24
+ newsId: z.ZodInt;
25
+ }, z.core.$strip>;
26
+ type NewsEntityMentionDefinition = z.infer<typeof NewsEntityMentionSchemaDefinition>;
27
+ /**
28
+ * Public entities one news article links to, in link order.
29
+ *
30
+ * @openapiSchema NewsEntityMention
31
+ * @endpoint GET /v1/search/link
32
+ * @endpoint GET /v1/search/link/jobs/{jobId}
33
+ * @endpoint POST /v1/search
34
+ * @usedBySchema FederatedSearchSchema
35
+ * @contractShape news.entity-mention
36
+ * @contractRole canonical
37
+ */
38
+ export declare const NewsEntityMentionSchema: z.ZodType<NewsEntityMentionDefinition>;
39
+ export type NewsEntityMention = z.infer<typeof NewsEntityMentionSchema>;
40
+ export {};
41
+ //# sourceMappingURL=entity-mention.d.ts.map
@@ -0,0 +1,22 @@
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 { NewsResolvedEntityLinkSchema } from "./resolved-entity-link.js";
4
+ const NewsEntityMentionSchemaDefinition = z.object({
5
+ /** Public entities the article links to. */
6
+ entity: z.array(NewsResolvedEntityLinkSchema),
7
+ /** News article id. */
8
+ newsId: z.int(),
9
+ });
10
+ /**
11
+ * Public entities one news article links to, in link order.
12
+ *
13
+ * @openapiSchema NewsEntityMention
14
+ * @endpoint GET /v1/search/link
15
+ * @endpoint GET /v1/search/link/jobs/{jobId}
16
+ * @endpoint POST /v1/search
17
+ * @usedBySchema FederatedSearchSchema
18
+ * @contractShape news.entity-mention
19
+ * @contractRole canonical
20
+ */
21
+ export const NewsEntityMentionSchema = NewsEntityMentionSchemaDefinition;
22
+ //# sourceMappingURL=entity-mention.js.map
@@ -4,7 +4,10 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema NewsMatchStatus
6
6
  * @endpoint GET /v1/news/lookup
7
+ * @endpoint GET /v1/search/link
7
8
  * @endpoint GET /v1/news/{newsId}
9
+ * @endpoint GET /v1/search/link/jobs/{jobId}
10
+ * @endpoint POST /v1/search
8
11
  * @usedBySchema NewsResolvedEntityLinkSchema
9
12
  * @usedBySchema NewsResolvedPersonLinkSchema
10
13
  * @contractShape news.match-status
@@ -5,7 +5,10 @@ import { z } from "zod/v4";
5
5
  *
6
6
  * @openapiSchema NewsMatchStatus
7
7
  * @endpoint GET /v1/news/lookup
8
+ * @endpoint GET /v1/search/link
8
9
  * @endpoint GET /v1/news/{newsId}
10
+ * @endpoint GET /v1/search/link/jobs/{jobId}
11
+ * @endpoint POST /v1/search
9
12
  * @usedBySchema NewsResolvedEntityLinkSchema
10
13
  * @usedBySchema NewsResolvedPersonLinkSchema
11
14
  * @contractShape news.match-status
@@ -31,8 +31,12 @@ type NewsResolvedEntityLinkDefinition = z.infer<typeof NewsResolvedEntityLinkSch
31
31
  *
32
32
  * @openapiSchema NewsResolvedEntityLink
33
33
  * @endpoint GET /v1/news/lookup
34
+ * @endpoint GET /v1/search/link
34
35
  * @endpoint GET /v1/news/{newsId}
36
+ * @endpoint GET /v1/search/link/jobs/{jobId}
37
+ * @endpoint POST /v1/search
35
38
  * @usedBySchema NewsDetailSchema
39
+ * @usedBySchema NewsEntityMentionSchema
36
40
  * @contractShape news.resolved-entity-link
37
41
  * @contractRole canonical
38
42
  */
@@ -24,8 +24,12 @@ const NewsResolvedEntityLinkSchemaDefinition = z.object({
24
24
  *
25
25
  * @openapiSchema NewsResolvedEntityLink
26
26
  * @endpoint GET /v1/news/lookup
27
+ * @endpoint GET /v1/search/link
27
28
  * @endpoint GET /v1/news/{newsId}
29
+ * @endpoint GET /v1/search/link/jobs/{jobId}
30
+ * @endpoint POST /v1/search
28
31
  * @usedBySchema NewsDetailSchema
32
+ * @usedBySchema NewsEntityMentionSchema
29
33
  * @contractShape news.resolved-entity-link
30
34
  * @contractRole canonical
31
35
  */
@@ -486,6 +486,17 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
486
486
  },
487
487
  HarnessRunStatus: { modulePath: "harness/run-status", schemaName: "HarnessRunStatusSchema" },
488
488
  HarnessRunType: { modulePath: "harness/run-type", schemaName: "HarnessRunTypeSchema" },
489
+ HarnessTaskInput: { modulePath: "harness/task", schemaName: "HarnessTaskSchema" },
490
+ HarnessTaskInputType: {
491
+ modulePath: "harness/task-input-type",
492
+ schemaName: "HarnessTaskInputTypeSchema",
493
+ },
494
+ HarnessTaskPlan: { modulePath: "harness/task-plan", schemaName: "HarnessTaskPlanSchema" },
495
+ HarnessTaskPlanStep: {
496
+ modulePath: "harness/task-plan-step",
497
+ schemaName: "HarnessTaskPlanStepSchema",
498
+ },
499
+ HarnessTaskStep: { modulePath: "harness/task-step", schemaName: "HarnessTaskStepSchema" },
489
500
  HelpCitation: { modulePath: "help/citation", schemaName: "HelpCitationSchema" },
490
501
  HelpResolution: { modulePath: "help/resolution", schemaName: "HelpResolutionSchema" },
491
502
  HelpResolutionOutcome: {
@@ -538,6 +549,7 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
538
549
  schemaName: "NewsCandidateScoreSchema",
539
550
  },
540
551
  NewsDetail: { modulePath: "news/detail", schemaName: "NewsDetailSchema" },
552
+ NewsEntityMention: { modulePath: "news/entity-mention", schemaName: "NewsEntityMentionSchema" },
541
553
  NewsFeedback: { modulePath: "news/feedback", schemaName: "NewsFeedbackSchema" },
542
554
  NewsFeedbackAcknowledgement: {
543
555
  modulePath: "news/feedback-acknowledgement",
@@ -799,6 +811,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
799
811
  modulePath: "search/answer-citation",
800
812
  schemaName: "SearchAnswerCitationSchema",
801
813
  },
814
+ SearchAnswerParagraph: {
815
+ modulePath: "search/answer-paragraph",
816
+ schemaName: "SearchAnswerParagraphSchema",
817
+ },
802
818
  SearchDuplicateCandidateScore: {
803
819
  modulePath: "search/duplicate-candidate-score",
804
820
  schemaName: "SearchDuplicateCandidateScoreSchema",
@@ -17,6 +17,7 @@ type SearchAnswerCitationDefinition = z.infer<typeof SearchAnswerCitationSchemaD
17
17
  * @endpoint GET /v1/search/link/jobs/{jobId}
18
18
  * @endpoint POST /v1/search
19
19
  * @endpoint POST /v1/search/natural/entities
20
+ * @usedBySchema SearchAnswerParagraphSchema
20
21
  * @usedBySchema SearchAnswerSchema
21
22
  * @contractShape search.answer-citation
22
23
  * @contractRole canonical
@@ -17,6 +17,7 @@ const SearchAnswerCitationSchemaDefinition = z.object({
17
17
  * @endpoint GET /v1/search/link/jobs/{jobId}
18
18
  * @endpoint POST /v1/search
19
19
  * @endpoint POST /v1/search/natural/entities
20
+ * @usedBySchema SearchAnswerParagraphSchema
20
21
  * @usedBySchema SearchAnswerSchema
21
22
  * @contractShape search.answer-citation
22
23
  * @contractRole canonical
@@ -0,0 +1,31 @@
1
+ import { z } from "zod/v4";
2
+ declare const SearchAnswerParagraphSchemaDefinition: z.ZodObject<{
3
+ citation: z.ZodArray<z.ZodType<{
4
+ entityId: string;
5
+ source: "entityRecord" | "newsArticle" | "researchSnippet";
6
+ sourceId: string;
7
+ }, unknown, z.core.$ZodTypeInternals<{
8
+ entityId: string;
9
+ source: "entityRecord" | "newsArticle" | "researchSnippet";
10
+ sourceId: string;
11
+ }, unknown>>>;
12
+ text: z.ZodString;
13
+ topic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, z.core.$strip>;
15
+ type SearchAnswerParagraphDefinition = z.infer<typeof SearchAnswerParagraphSchemaDefinition>;
16
+ /**
17
+ * One paragraph of an answer and the evidence it rests on.
18
+ *
19
+ * @openapiSchema SearchAnswerParagraph
20
+ * @endpoint GET /v1/search/link
21
+ * @endpoint GET /v1/search/link/jobs/{jobId}
22
+ * @endpoint POST /v1/search
23
+ * @endpoint POST /v1/search/natural/entities
24
+ * @usedBySchema SearchAnswerSchema
25
+ * @contractShape search.answer-paragraph
26
+ * @contractRole canonical
27
+ */
28
+ export declare const SearchAnswerParagraphSchema: z.ZodType<SearchAnswerParagraphDefinition>;
29
+ export type SearchAnswerParagraph = z.infer<typeof SearchAnswerParagraphSchema>;
30
+ export {};
31
+ //# sourceMappingURL=answer-paragraph.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 { SearchAnswerCitationSchema } from "./answer-citation.js";
4
+ const SearchAnswerParagraphSchemaDefinition = z.object({
5
+ /** Evidence this paragraph rests on, most important first. */
6
+ citation: z.array(SearchAnswerCitationSchema),
7
+ /** Paragraph text in plain prose. */
8
+ text: z.string(),
9
+ /** Short label naming the category, market, or segment this paragraph covers, such as "Smartphones · North America"; absent on the lead paragraph. */
10
+ topic: z.string().nullish(),
11
+ });
12
+ /**
13
+ * One paragraph of an answer and the evidence it rests on.
14
+ *
15
+ * @openapiSchema SearchAnswerParagraph
16
+ * @endpoint GET /v1/search/link
17
+ * @endpoint GET /v1/search/link/jobs/{jobId}
18
+ * @endpoint POST /v1/search
19
+ * @endpoint POST /v1/search/natural/entities
20
+ * @usedBySchema SearchAnswerSchema
21
+ * @contractShape search.answer-paragraph
22
+ * @contractRole canonical
23
+ */
24
+ export const SearchAnswerParagraphSchema = SearchAnswerParagraphSchemaDefinition;
25
+ //# sourceMappingURL=answer-paragraph.js.map
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod/v4";
2
2
  /**
3
- * Written answer to a natural-language question, grounded only in the response's entity records and passages. LOW confidence with no citation means the evidence does not answer the question.
3
+ * Written answer to a natural-language question, grounded only in the response's entity records and passages. LOW confidence with no paragraph means the evidence does not answer the question.
4
4
  *
5
5
  * @openapiSchema SearchAnswer
6
6
  * @endpoint GET /v1/search/link
@@ -26,6 +26,24 @@ export declare const SearchAnswerSchema: z.ZodObject<{
26
26
  LOW: "LOW";
27
27
  MEDIUM: "MEDIUM";
28
28
  }>;
29
+ paragraph: z.ZodArray<z.ZodType<{
30
+ citation: {
31
+ entityId: string;
32
+ source: "entityRecord" | "newsArticle" | "researchSnippet";
33
+ sourceId: string;
34
+ }[];
35
+ text: string;
36
+ topic?: string | null | undefined;
37
+ }, unknown, z.core.$ZodTypeInternals<{
38
+ citation: {
39
+ entityId: string;
40
+ source: "entityRecord" | "newsArticle" | "researchSnippet";
41
+ sourceId: string;
42
+ }[];
43
+ text: string;
44
+ topic?: string | null | undefined;
45
+ }, unknown>>>;
46
+ relatedQuery: z.ZodArray<z.ZodString>;
29
47
  text: z.ZodString;
30
48
  }, z.core.$strip>;
31
49
  export type SearchAnswer = z.infer<typeof SearchAnswerSchema>;
@@ -2,8 +2,9 @@
2
2
  import { z } from "zod/v4";
3
3
  import { ConfidenceSchema } from "../confidence/confidence.js";
4
4
  import { SearchAnswerCitationSchema } from "./answer-citation.js";
5
+ import { SearchAnswerParagraphSchema } from "./answer-paragraph.js";
5
6
  /**
6
- * Written answer to a natural-language question, grounded only in the response's entity records and passages. LOW confidence with no citation means the evidence does not answer the question.
7
+ * Written answer to a natural-language question, grounded only in the response's entity records and passages. LOW confidence with no paragraph means the evidence does not answer the question.
7
8
  *
8
9
  * @openapiSchema SearchAnswer
9
10
  * @endpoint GET /v1/search/link
@@ -15,11 +16,15 @@ import { SearchAnswerCitationSchema } from "./answer-citation.js";
15
16
  * @contractRole canonical
16
17
  */
17
18
  export const SearchAnswerSchema = z.object({
18
- /** Evidence each claim rests on, in first-use order. */
19
+ /** Evidence the paragraphs cite, in first-use order. */
19
20
  citation: z.array(SearchAnswerCitationSchema),
20
21
  /** How fully the cited evidence answers the question. */
21
22
  confidence: ConfidenceSchema,
22
- /** Answer text in plain prose. */
23
+ /** The answer's paragraphs in reading order, each citing the evidence it rests on; empty when the answer abstains. A first paragraph without `topic` is the lead, written as a standalone answer of one or two sentences that reads complete when shown alone; later paragraphs expand it by topic without restating it. */
24
+ paragraph: z.array(SearchAnswerParagraphSchema),
25
+ /** Up to five follow-up searches grounded in the cited evidence; empty when the answer abstains. */
26
+ relatedQuery: z.array(z.string()),
27
+ /** Every paragraph's text in reading order, separated by blank lines; read `paragraph` to place each citation beside the text it supports. */
23
28
  text: z.string(),
24
29
  });
25
30
  //# sourceMappingURL=answer.js.map
@@ -1,8 +1,9 @@
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 web search evidence, and the companies those results name, before judging and implies `judgment`. Other questions ignore `judgment` and `web`.
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`. A competitor, market, or provider question ("who competes with X", "top X companies", "who provides X") is always ranked by the judged probability that each entity answers it, so `judgment` adds nothing beyond that; `web` adds web search evidence, and the companies those results name, before judging. Other questions ignore `judgment` and `web`.
4
4
  *
5
5
  * @openapiSchema SearchLayer
6
+ * @endpoint POST /v1/search
6
7
  * @endpoint POST /v1/search/natural/entities
7
8
  * @contractShape search.layer
8
9
  * @contractRole canonical
@@ -1,9 +1,10 @@
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 web search evidence, and the companies those results name, before judging and implies `judgment`. Other questions ignore `judgment` and `web`.
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`. A competitor, market, or provider question ("who competes with X", "top X companies", "who provides X") is always ranked by the judged probability that each entity answers it, so `judgment` adds nothing beyond that; `web` adds web search evidence, and the companies those results name, before judging. Other questions ignore `judgment` and `web`.
5
5
  *
6
6
  * @openapiSchema SearchLayer
7
+ * @endpoint POST /v1/search
7
8
  * @endpoint POST /v1/search/natural/entities
8
9
  * @contractShape search.layer
9
10
  * @contractRole canonical
@@ -9,7 +9,7 @@ declare const SearchModeSchemaDefinition: z.ZodUnion<readonly [z.ZodEnum<{
9
9
  }>, z.ZodString]>;
10
10
  type SearchModeDefinition = z.infer<typeof SearchModeSchemaDefinition>;
11
11
  /**
12
- * 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; `hybrid` fuses keyword and semantic rankings by reciprocal rank. Entity and person natural-search support every mode but `hybrid`; 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), `semantic` (one entity's or person's library pages by vector similarity of their fetched bodies), and `hybrid` (that owner's keyword and semantic rankings fused).
12
+ * 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; `hybrid` fuses keyword and semantic rankings by reciprocal rank. Entity and person natural-search support every mode but `hybrid`; 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), `semantic` (one entity's or person's library pages by vector similarity of their fetched bodies), and `hybrid` (that owner's keyword and semantic rankings fused; each ranking is cut at the largest page size, so a hybrid search returns at most twice that many items, and it orders by fused rank only, ignoring `sort`).
13
13
  *
14
14
  * @openapiSchema SearchMode
15
15
  * @endpoint GET /v1/search/link
@@ -5,7 +5,7 @@ const SearchModeSchemaDefinition = z.union([
5
5
  z.string(),
6
6
  ]);
7
7
  /**
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; `hybrid` fuses keyword and semantic rankings by reciprocal rank. Entity and person natural-search support every mode but `hybrid`; 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), `semantic` (one entity's or person's library pages by vector similarity of their fetched bodies), and `hybrid` (that owner's keyword and semantic rankings fused).
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; `hybrid` fuses keyword and semantic rankings by reciprocal rank. Entity and person natural-search support every mode but `hybrid`; 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), `semantic` (one entity's or person's library pages by vector similarity of their fetched bodies), and `hybrid` (that owner's keyword and semantic rankings fused; each ranking is cut at the largest page size, so a hybrid search returns at most twice that many items, and it orders by fused rank only, ignoring `sort`).
9
9
  *
10
10
  * @openapiSchema SearchMode
11
11
  * @endpoint GET /v1/search/link
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.69",
3
+ "version": "0.8.71",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",