@aventurevc/api-schemas 0.8.201 → 0.8.203
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/enrichment/prompt.d.ts +2 -0
- package/dist/harness/run-create.d.ts +2 -0
- package/dist/openapi-component-manifest.js +4 -0
- package/dist/research/finding.d.ts +11 -0
- package/dist/research/finding.js +3 -0
- package/dist/writer/claim-surface.d.ts +24 -0
- package/dist/writer/claim-surface.js +15 -0
- package/package.json +1 -1
|
@@ -5,11 +5,13 @@ declare const EnrichmentPromptSchemaDefinition: z.ZodObject<{
|
|
|
5
5
|
quote: string;
|
|
6
6
|
sourceUrl: string;
|
|
7
7
|
statement: string;
|
|
8
|
+
writerSurface?: string | null | undefined;
|
|
8
9
|
}, import("../research/finding.ts").ResearchFindingSchemaInput, z.core.$ZodTypeInternals<{
|
|
9
10
|
gateId?: string | null | undefined;
|
|
10
11
|
quote: string;
|
|
11
12
|
sourceUrl: string;
|
|
12
13
|
statement: string;
|
|
14
|
+
writerSurface?: string | null | undefined;
|
|
13
15
|
}, import("../research/finding.ts").ResearchFindingSchemaInput>>>>>;
|
|
14
16
|
userPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$strip>;
|
|
@@ -5,11 +5,13 @@ declare const HarnessRunCreateSchemaDefinition: z.ZodObject<{
|
|
|
5
5
|
quote: string;
|
|
6
6
|
sourceUrl: string;
|
|
7
7
|
statement: string;
|
|
8
|
+
writerSurface?: string | null | undefined;
|
|
8
9
|
}, import("../research/finding.ts").ResearchFindingSchemaInput, z.core.$ZodTypeInternals<{
|
|
9
10
|
gateId?: string | null | undefined;
|
|
10
11
|
quote: string;
|
|
11
12
|
sourceUrl: string;
|
|
12
13
|
statement: string;
|
|
14
|
+
writerSurface?: string | null | undefined;
|
|
13
15
|
}, import("../research/finding.ts").ResearchFindingSchemaInput>>>>>;
|
|
14
16
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
15
17
|
COMPREHENSIVE: "COMPREHENSIVE";
|
|
@@ -1078,5 +1078,9 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
1078
1078
|
ValuationType: { modulePath: "valuation/type", schemaName: "ValuationTypeSchema" },
|
|
1079
1079
|
WebSearch: { modulePath: "web/search", schemaName: "WebSearchSchema" },
|
|
1080
1080
|
WebSearchProvider: { modulePath: "web/search-provider", schemaName: "WebSearchProviderSchema" },
|
|
1081
|
+
WriterClaimSurface: {
|
|
1082
|
+
modulePath: "writer/claim-surface",
|
|
1083
|
+
schemaName: "WriterClaimSurfaceSchema",
|
|
1084
|
+
},
|
|
1081
1085
|
});
|
|
1082
1086
|
//# sourceMappingURL=openapi-component-manifest.js.map
|
|
@@ -4,6 +4,17 @@ declare const ResearchFindingSchemaDefinition: z.ZodObject<{
|
|
|
4
4
|
quote: z.ZodString;
|
|
5
5
|
sourceUrl: z.ZodString;
|
|
6
6
|
statement: z.ZodString;
|
|
7
|
+
writerSurface: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
8
|
+
BOTH: "BOTH";
|
|
9
|
+
ENTITY_TEXT: "ENTITY_TEXT";
|
|
10
|
+
RESEARCH_SNIPPET: "RESEARCH_SNIPPET";
|
|
11
|
+
}>, z.ZodString]> & {
|
|
12
|
+
enum: {
|
|
13
|
+
BOTH: "BOTH";
|
|
14
|
+
ENTITY_TEXT: "ENTITY_TEXT";
|
|
15
|
+
RESEARCH_SNIPPET: "RESEARCH_SNIPPET";
|
|
16
|
+
};
|
|
17
|
+
}>>;
|
|
7
18
|
}, z.core.$strip>;
|
|
8
19
|
type ResearchFindingDefinition = z.infer<typeof ResearchFindingSchemaDefinition>;
|
|
9
20
|
export interface ResearchFindingSchemaInput extends z.input<typeof ResearchFindingSchemaDefinition> {
|
package/dist/research/finding.js
CHANGED
|
@@ -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 { WriterClaimSurfaceSchema } from "../writer/claim-surface.js";
|
|
3
4
|
const ResearchFindingSchemaDefinition = z.object({
|
|
4
5
|
/** Profile field the fact fills, when known; omit it and the run picks the field the fact belongs to. */
|
|
5
6
|
gateId: z.string().nullish(),
|
|
@@ -9,6 +10,8 @@ const ResearchFindingSchemaDefinition = z.object({
|
|
|
9
10
|
sourceUrl: z.string(),
|
|
10
11
|
/** The fact to write, in plain words. */
|
|
11
12
|
statement: z.string(),
|
|
13
|
+
/** Surface this sourced claim may enter: durable entity text, point-in-time research snippets, or both. New writer briefs must declare it. */
|
|
14
|
+
writerSurface: WriterClaimSurfaceSchema.nullish(),
|
|
12
15
|
});
|
|
13
16
|
/**
|
|
14
17
|
* One fact you researched, with the page and exact text that support it. The run checks the quote against the page before it writes the fact.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Output surface selected for a sourced writer claim.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema WriterClaimSurface
|
|
6
|
+
* @endpoint POST /v1/entities/{entityId}/enrichments
|
|
7
|
+
* @endpoint POST /v1/research-runs
|
|
8
|
+
* @usedBySchema ResearchFindingSchema
|
|
9
|
+
* @contractShape writer.claim-surface
|
|
10
|
+
* @contractRole canonical
|
|
11
|
+
*/
|
|
12
|
+
export declare const WriterClaimSurfaceSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
13
|
+
BOTH: "BOTH";
|
|
14
|
+
ENTITY_TEXT: "ENTITY_TEXT";
|
|
15
|
+
RESEARCH_SNIPPET: "RESEARCH_SNIPPET";
|
|
16
|
+
}>, z.ZodString]> & {
|
|
17
|
+
enum: {
|
|
18
|
+
BOTH: "BOTH";
|
|
19
|
+
ENTITY_TEXT: "ENTITY_TEXT";
|
|
20
|
+
RESEARCH_SNIPPET: "RESEARCH_SNIPPET";
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export type WriterClaimSurface = z.infer<typeof WriterClaimSurfaceSchema>;
|
|
24
|
+
//# sourceMappingURL=claim-surface.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
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 WriterClaimSurfaceSchemaKnownMembers = z.enum(["ENTITY_TEXT", "RESEARCH_SNIPPET", "BOTH"]);
|
|
4
|
+
/**
|
|
5
|
+
* Output surface selected for a sourced writer claim.
|
|
6
|
+
*
|
|
7
|
+
* @openapiSchema WriterClaimSurface
|
|
8
|
+
* @endpoint POST /v1/entities/{entityId}/enrichments
|
|
9
|
+
* @endpoint POST /v1/research-runs
|
|
10
|
+
* @usedBySchema ResearchFindingSchema
|
|
11
|
+
* @contractShape writer.claim-surface
|
|
12
|
+
* @contractRole canonical
|
|
13
|
+
*/
|
|
14
|
+
export const WriterClaimSurfaceSchema = Object.assign(z.union([WriterClaimSurfaceSchemaKnownMembers, z.string()]), { enum: WriterClaimSurfaceSchemaKnownMembers.enum });
|
|
15
|
+
//# sourceMappingURL=claim-surface.js.map
|