@aventurevc/api-schemas 0.8.14 → 0.8.15

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/README.md CHANGED
@@ -5,7 +5,7 @@ funding rounds, investors, and news.
5
5
 
6
6
  Calling the API requires an aVenture account. Free and paid plans both work;
7
7
  [create an account](https://aventure.vc/sign-up), then create an API key in
8
- [API key settings](https://aventure.vc/settings/api-keys).
8
+ [API Keys settings](https://aventure.vc/settings/api-keys).
9
9
 
10
10
  ```bash
11
11
  npm install @aventurevc/api-schemas
@@ -1,17 +1,5 @@
1
1
  import { z } from "zod/v4";
2
- /**
3
- * The article whose companies and people a lookup job identifies. Send sourceUrl, sourceNewsId, or both; POST /v1/lookup-mentions also takes mention instead.
4
- *
5
- * @openapiSchema LookupJobMutation
6
- * @endpoint GET /v1/lookup-jobs/{jobId}
7
- * @endpoint POST /v1/lookup-jobs
8
- * @endpoint POST /v1/lookup-mentions
9
- * @usedBySchema LookupJobSchema
10
- * @usedBySchema MentionLookupSchema
11
- * @contractShape lookup.job-mutation
12
- * @contractRole canonical
13
- */
14
- export declare const LookupJobMutationSchema: z.ZodObject<{
2
+ declare const LookupJobMutationSchemaDefinition: z.ZodObject<{
15
3
  mention: z.ZodOptional<z.ZodArray<z.ZodType<{
16
4
  name: string;
17
5
  searchQuery?: string | undefined;
@@ -24,5 +12,19 @@ export declare const LookupJobMutationSchema: z.ZodObject<{
24
12
  sourceNewsId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
25
13
  sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
14
  }, z.core.$strip>;
15
+ type LookupJobMutationDefinition = z.infer<typeof LookupJobMutationSchemaDefinition>;
16
+ /**
17
+ * The article whose companies and people a lookup job identifies. Send sourceUrl, sourceNewsId, or both; POST /v1/lookup-mentions also takes mention instead.
18
+ *
19
+ * @openapiSchema LookupJobMutation
20
+ * @endpoint GET /v1/lookup-jobs/{jobId}
21
+ * @endpoint POST /v1/lookup-jobs
22
+ * @endpoint POST /v1/lookup-mentions
23
+ * @usedBySchema LookupJobSchema
24
+ * @contractShape lookup.job-mutation
25
+ * @contractRole canonical
26
+ */
27
+ export declare const LookupJobMutationSchema: z.ZodType<LookupJobMutationDefinition>;
27
28
  export type LookupJobMutation = z.infer<typeof LookupJobMutationSchema>;
29
+ export {};
28
30
  //# sourceMappingURL=job-mutation.d.ts.map
@@ -1,6 +1,14 @@
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 { RssExtractedMentionSchema } from "../rss/extracted-mention.js";
3
+ import { LookupMentionSchema } from "./mention.js";
4
+ const LookupJobMutationSchemaDefinition = z.object({
5
+ /** POST /v1/lookup-mentions only: the companies and people a caller already read from a page or screenshot it keeps on its device, identified without either being sent. Send it alone, without sourceUrl, sourceNewsId, or a file. Any signed-in user may send it, with or without a plan. */
6
+ mention: z.array(LookupMentionSchema).optional(),
7
+ /** aVenture news id of the article; an id that names no stored article is an error. */
8
+ sourceNewsId: z.int().nullish(),
9
+ /** URL of the article; read from aVenture news when stored there, otherwise fetched. */
10
+ sourceUrl: z.string().max(2000).nullish(),
11
+ });
4
12
  /**
5
13
  * The article whose companies and people a lookup job identifies. Send sourceUrl, sourceNewsId, or both; POST /v1/lookup-mentions also takes mention instead.
6
14
  *
@@ -9,16 +17,8 @@ import { RssExtractedMentionSchema } from "../rss/extracted-mention.js";
9
17
  * @endpoint POST /v1/lookup-jobs
10
18
  * @endpoint POST /v1/lookup-mentions
11
19
  * @usedBySchema LookupJobSchema
12
- * @usedBySchema MentionLookupSchema
13
20
  * @contractShape lookup.job-mutation
14
21
  * @contractRole canonical
15
22
  */
16
- export const LookupJobMutationSchema = z.object({
17
- /** POST /v1/lookup-mentions only: the companies and people a caller already read from a page or screenshot it keeps on its device, identified without either being sent. Send it alone, without sourceUrl, sourceNewsId, or a file. Any signed-in user may send it, with or without a plan. */
18
- mention: z.array(RssExtractedMentionSchema).optional(),
19
- /** aVenture news id of the article; an id that names no stored article is an error. */
20
- sourceNewsId: z.int().nullish(),
21
- /** URL of the article; read from aVenture news when stored there, otherwise fetched. */
22
- sourceUrl: z.string().max(2000).nullish(),
23
- });
23
+ export const LookupJobMutationSchema = LookupJobMutationSchemaDefinition;
24
24
  //# sourceMappingURL=job-mutation.js.map
@@ -1190,19 +1190,23 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1190
1190
  } | null | undefined;
1191
1191
  shellDetail?: string | null | undefined;
1192
1192
  }, unknown>>>;
1193
- source: z.ZodObject<{
1194
- mention: z.ZodOptional<z.ZodArray<z.ZodType<{
1193
+ source: z.ZodType<{
1194
+ mention?: {
1195
1195
  name: string;
1196
1196
  searchQuery?: string | undefined;
1197
1197
  type: "COMPANY" | "PERSON";
1198
- }, unknown, z.core.$ZodTypeInternals<{
1198
+ }[] | undefined;
1199
+ sourceNewsId?: number | null | undefined;
1200
+ sourceUrl?: string | null | undefined;
1201
+ }, unknown, z.core.$ZodTypeInternals<{
1202
+ mention?: {
1199
1203
  name: string;
1200
1204
  searchQuery?: string | undefined;
1201
1205
  type: "COMPANY" | "PERSON";
1202
- }, unknown>>>>;
1203
- sourceNewsId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
1204
- sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1205
- }, z.core.$strip>;
1206
+ }[] | undefined;
1207
+ sourceNewsId?: number | null | undefined;
1208
+ sourceUrl?: string | null | undefined;
1209
+ }, unknown>>;
1206
1210
  state: z.ZodEnum<{
1207
1211
  CANCELED: "CANCELED";
1208
1212
  COMPLETED: "COMPLETED";
@@ -0,0 +1,25 @@
1
+ import { z } from "zod/v4";
2
+ declare const LookupMentionSchemaDefinition: z.ZodObject<{
3
+ name: z.ZodString;
4
+ searchQuery: z.ZodOptional<z.ZodString>;
5
+ type: z.ZodEnum<{
6
+ COMPANY: "COMPANY";
7
+ PERSON: "PERSON";
8
+ }>;
9
+ }, z.core.$strip>;
10
+ type LookupMentionDefinition = z.infer<typeof LookupMentionSchemaDefinition>;
11
+ /**
12
+ * One company or person a caller read from a page or screenshot it did not send.
13
+ *
14
+ * @openapiSchema LookupMention
15
+ * @endpoint GET /v1/lookup-jobs/{jobId}
16
+ * @endpoint POST /v1/lookup-jobs
17
+ * @endpoint POST /v1/lookup-mentions
18
+ * @usedBySchema LookupJobMutationSchema
19
+ * @contractShape lookup.mention
20
+ * @contractRole canonical
21
+ */
22
+ export declare const LookupMentionSchema: z.ZodType<LookupMentionDefinition>;
23
+ export type LookupMention = z.infer<typeof LookupMentionSchema>;
24
+ export {};
25
+ //# sourceMappingURL=mention.d.ts.map
@@ -1,23 +1,23 @@
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 RssExtractedMentionSchemaDefinition = z.object({
3
+ const LookupMentionSchemaDefinition = z.object({
4
4
  /** Name as the source writes it. */
5
5
  name: z.string(),
6
- /** Query to search this name by; defaults to name. */
6
+ /** Ignored: the lookup searches by name. Still accepted so callers that send it keep working; omit it. */
7
7
  searchQuery: z.string().optional(),
8
8
  /** Whether the source names a company or a person. */
9
9
  type: z.enum(["COMPANY", "PERSON"]),
10
10
  });
11
11
  /**
12
- * One company or person a caller read from a source it did not send.
12
+ * One company or person a caller read from a page or screenshot it did not send.
13
13
  *
14
- * @openapiSchema RssExtractedMention
14
+ * @openapiSchema LookupMention
15
15
  * @endpoint GET /v1/lookup-jobs/{jobId}
16
16
  * @endpoint POST /v1/lookup-jobs
17
17
  * @endpoint POST /v1/lookup-mentions
18
18
  * @usedBySchema LookupJobMutationSchema
19
- * @contractShape rss.extracted-mention
19
+ * @contractShape lookup.mention
20
20
  * @contractRole canonical
21
21
  */
22
- export const RssExtractedMentionSchema = RssExtractedMentionSchemaDefinition;
23
- //# sourceMappingURL=extracted-mention.js.map
22
+ export const LookupMentionSchema = LookupMentionSchemaDefinition;
23
+ //# sourceMappingURL=mention.js.map
@@ -1187,19 +1187,6 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
1187
1187
  } | null | undefined;
1188
1188
  shellDetail?: string | null | undefined;
1189
1189
  }, unknown>>>;
1190
- source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1191
- mention: z.ZodOptional<z.ZodArray<z.ZodType<{
1192
- name: string;
1193
- searchQuery?: string | undefined;
1194
- type: "COMPANY" | "PERSON";
1195
- }, unknown, z.core.$ZodTypeInternals<{
1196
- name: string;
1197
- searchQuery?: string | undefined;
1198
- type: "COMPANY" | "PERSON";
1199
- }, unknown>>>>;
1200
- sourceNewsId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
1201
- sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1202
- }, z.core.$strip>>>;
1203
1190
  }, z.core.$strip>;
1204
1191
  type MentionLookupDefinition = z.infer<typeof MentionLookupSchemaDefinition>;
1205
1192
  /**
@@ -1,12 +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
3
  import { LookupJobMentionSchema } from "../lookup/job-mention.js";
4
- import { LookupJobMutationSchema } from "../lookup/job-mutation.js";
5
4
  const MentionLookupSchemaDefinition = z.object({
6
5
  /** Each distinct name, in the order the source shows it. */
7
6
  mention: z.array(LookupJobMentionSchema),
8
- /** The page read; absent when only a screenshot was sent. */
9
- source: LookupJobMutationSchema.nullish(),
10
7
  });
11
8
  /**
12
9
  * Every company, organization, investor, and person a page or screenshot names, each identified against stored records.
@@ -14,23 +14,6 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
14
14
  AddressState: { modulePath: "address/state", schemaName: "AddressStateSchema" },
15
15
  AgentHelp: { modulePath: "agent/help", schemaName: "AgentHelpSchema" },
16
16
  AgentHelpQuestion: { modulePath: "agent/help-question", schemaName: "AgentHelpQuestionSchema" },
17
- AgentInstruction: { modulePath: "agent/instruction", schemaName: "AgentInstructionSchema" },
18
- AgentInstructionDetail: {
19
- modulePath: "agent/instruction-detail",
20
- schemaName: "AgentInstructionDetailSchema",
21
- },
22
- AgentInstructionKind: {
23
- modulePath: "agent/instruction-kind",
24
- schemaName: "AgentInstructionKindSchema",
25
- },
26
- AgentInstructionManifest: {
27
- modulePath: "agent/instruction-manifest",
28
- schemaName: "AgentInstructionManifestSchema",
29
- },
30
- AgentInstructionPointer: {
31
- modulePath: "agent/instruction-pointer",
32
- schemaName: "AgentInstructionPointerSchema",
33
- },
34
17
  ApiKey: { modulePath: "api/key", schemaName: "ApiKeySchema" },
35
18
  AuthClient: { modulePath: "auth/client", schemaName: "AuthClientSchema" },
36
19
  AuthOperation: { modulePath: "auth/operation", schemaName: "AuthOperationSchema" },
@@ -523,6 +506,7 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
523
506
  LookupJob: { modulePath: "lookup/job", schemaName: "LookupJobSchema" },
524
507
  LookupJobMention: { modulePath: "lookup/job-mention", schemaName: "LookupJobMentionSchema" },
525
508
  LookupJobMutation: { modulePath: "lookup/job-mutation", schemaName: "LookupJobMutationSchema" },
509
+ LookupMention: { modulePath: "lookup/mention", schemaName: "LookupMentionSchema" },
526
510
  MediaObjectType: { modulePath: "media/object-type", schemaName: "MediaObjectTypeSchema" },
527
511
  MediaSlot: { modulePath: "media/slot", schemaName: "MediaSlotSchema" },
528
512
  MediaUpload: { modulePath: "media/upload", schemaName: "MediaUploadSchema" },
@@ -748,10 +732,6 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
748
732
  },
749
733
  ResolvedHandle: { modulePath: "resolved/handle", schemaName: "ResolvedHandleSchema" },
750
734
  RoundLabel: { modulePath: "round/label", schemaName: "RoundLabelSchema" },
751
- RssExtractedMention: {
752
- modulePath: "rss/extracted-mention",
753
- schemaName: "RssExtractedMentionSchema",
754
- },
755
735
  Search: { modulePath: "search/search", schemaName: "SearchSchema" },
756
736
  SearchDuplicateCandidateScore: {
757
737
  modulePath: "search/duplicate-candidate-score",
@@ -13,7 +13,7 @@ const SearchSchemaDefinition = z.object({
13
13
  resultLimit: z.int().nullish(),
14
14
  /** Search text sent to the upstream web search provider */
15
15
  search: z.string(),
16
- /** Optional caller identity for source-document attribution and abuse triage. Any non-blank string up to 64 characters is accepted and persisted with the resolved request context. */
16
+ /** Optional caller identity, up to 64 characters, persisted for source-document attribution and abuse triage. Agents send `<agentModel>-<tool>` (see aventure-provenance). */
17
17
  source: z.string().max(64).nullish(),
18
18
  });
19
19
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.14",
3
+ "version": "0.8.15",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",
@@ -1,29 +0,0 @@
1
- import { z } from "zod/v4";
2
- declare const AgentInstructionDetailSchemaDefinition: z.ZodObject<{
3
- content: z.ZodString;
4
- core: z.ZodType<{
5
- kind: "AGENT" | "PROMPT" | "SKILL";
6
- name: string;
7
- version: string;
8
- }, unknown, z.core.$ZodTypeInternals<{
9
- kind: "AGENT" | "PROMPT" | "SKILL";
10
- name: string;
11
- version: string;
12
- }, unknown>>;
13
- }, z.core.$strip>;
14
- type AgentInstructionDetailDefinition = z.infer<typeof AgentInstructionDetailSchemaDefinition>;
15
- /**
16
- * A resolved agent instruction document: its identity plus the markdown content.
17
- *
18
- * @openapiSchema AgentInstructionDetail
19
- * @endpoint GET /v1/agents/instructions/{kind}/{name}
20
- * @endpoint GET /v1/agents/instructions/{kind}/{name}/versions/{version}
21
- * @endpoint GET /v1/help/instructions/{kind}/{name}
22
- * @endpoint GET /v1/help/instructions/{kind}/{name}/versions/{version}
23
- * @contractShape agent.instruction-detail
24
- * @contractRole canonical
25
- */
26
- export declare const AgentInstructionDetailSchema: z.ZodType<AgentInstructionDetailDefinition>;
27
- export type AgentInstructionDetail = z.infer<typeof AgentInstructionDetailSchema>;
28
- export {};
29
- //# sourceMappingURL=instruction-detail.d.ts.map
@@ -1,22 +0,0 @@
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 { AgentInstructionSchema } from "./instruction.js";
4
- const AgentInstructionDetailSchemaDefinition = z.object({
5
- /** Markdown document content */
6
- content: z.string(),
7
- /** Addressable identity of the document */
8
- core: AgentInstructionSchema,
9
- });
10
- /**
11
- * A resolved agent instruction document: its identity plus the markdown content.
12
- *
13
- * @openapiSchema AgentInstructionDetail
14
- * @endpoint GET /v1/agents/instructions/{kind}/{name}
15
- * @endpoint GET /v1/agents/instructions/{kind}/{name}/versions/{version}
16
- * @endpoint GET /v1/help/instructions/{kind}/{name}
17
- * @endpoint GET /v1/help/instructions/{kind}/{name}/versions/{version}
18
- * @contractShape agent.instruction-detail
19
- * @contractRole canonical
20
- */
21
- export const AgentInstructionDetailSchema = AgentInstructionDetailSchemaDefinition;
22
- //# sourceMappingURL=instruction-detail.js.map
@@ -1,20 +0,0 @@
1
- import { z } from "zod/v4";
2
- /**
3
- * Kinds of agent instruction documents stored under the agents/ prefix.
4
- *
5
- * @openapiSchema AgentInstructionKind
6
- * @endpoint GET /v1/agents/instructions/{kind}/{name}
7
- * @endpoint GET /v1/agents/instructions/{kind}/{name}/versions/{version}
8
- * @endpoint GET /v1/help/instructions/{kind}/{name}
9
- * @endpoint GET /v1/help/instructions/{kind}/{name}/versions/{version}
10
- * @usedBySchema AgentInstructionSchema
11
- * @contractShape agent.instruction-kind
12
- * @contractRole canonical
13
- */
14
- export declare const AgentInstructionKindSchema: z.ZodEnum<{
15
- AGENT: "AGENT";
16
- PROMPT: "PROMPT";
17
- SKILL: "SKILL";
18
- }>;
19
- export type AgentInstructionKind = z.infer<typeof AgentInstructionKindSchema>;
20
- //# sourceMappingURL=instruction-kind.d.ts.map
@@ -1,16 +0,0 @@
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
- * Kinds of agent instruction documents stored under the agents/ prefix.
5
- *
6
- * @openapiSchema AgentInstructionKind
7
- * @endpoint GET /v1/agents/instructions/{kind}/{name}
8
- * @endpoint GET /v1/agents/instructions/{kind}/{name}/versions/{version}
9
- * @endpoint GET /v1/help/instructions/{kind}/{name}
10
- * @endpoint GET /v1/help/instructions/{kind}/{name}/versions/{version}
11
- * @usedBySchema AgentInstructionSchema
12
- * @contractShape agent.instruction-kind
13
- * @contractRole canonical
14
- */
15
- export const AgentInstructionKindSchema = z.enum(["PROMPT", "SKILL", "AGENT"]);
16
- //# sourceMappingURL=instruction-kind.js.map
@@ -1,38 +0,0 @@
1
- import { z } from "zod/v4";
2
- declare const AgentInstructionManifestSchemaDefinition: z.ZodObject<{
3
- agent: z.ZodRecord<z.ZodString, z.ZodType<{
4
- key: string;
5
- version: string;
6
- }, unknown, z.core.$ZodTypeInternals<{
7
- key: string;
8
- version: string;
9
- }, unknown>>>;
10
- prompt: z.ZodRecord<z.ZodString, z.ZodType<{
11
- key: string;
12
- version: string;
13
- }, unknown, z.core.$ZodTypeInternals<{
14
- key: string;
15
- version: string;
16
- }, unknown>>>;
17
- skill: z.ZodRecord<z.ZodString, z.ZodType<{
18
- key: string;
19
- version: string;
20
- }, unknown, z.core.$ZodTypeInternals<{
21
- key: string;
22
- version: string;
23
- }, unknown>>>;
24
- }, z.core.$strip>;
25
- type AgentInstructionManifestDefinition = z.infer<typeof AgentInstructionManifestSchemaDefinition>;
26
- /**
27
- * Latest-pointer manifest at agents/manifest.json; written last by the sync pipeline.
28
- *
29
- * @openapiSchema AgentInstructionManifest
30
- * @endpoint GET /v1/agents/instructions/manifest
31
- * @endpoint GET /v1/help/instructions/manifest
32
- * @contractShape agent.instruction-manifest
33
- * @contractRole canonical
34
- */
35
- export declare const AgentInstructionManifestSchema: z.ZodType<AgentInstructionManifestDefinition>;
36
- export type AgentInstructionManifest = z.infer<typeof AgentInstructionManifestSchema>;
37
- export {};
38
- //# sourceMappingURL=instruction-manifest.d.ts.map
@@ -1,22 +0,0 @@
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 { AgentInstructionPointerSchema } from "./instruction-pointer.js";
4
- const AgentInstructionManifestSchemaDefinition = z.object({
5
- /** Sub-agent name to current version pointer */
6
- agent: z.record(z.string(), AgentInstructionPointerSchema),
7
- /** Prompt name to current version pointer */
8
- prompt: z.record(z.string(), AgentInstructionPointerSchema),
9
- /** Skill name to current version pointer */
10
- skill: z.record(z.string(), AgentInstructionPointerSchema),
11
- });
12
- /**
13
- * Latest-pointer manifest at agents/manifest.json; written last by the sync pipeline.
14
- *
15
- * @openapiSchema AgentInstructionManifest
16
- * @endpoint GET /v1/agents/instructions/manifest
17
- * @endpoint GET /v1/help/instructions/manifest
18
- * @contractShape agent.instruction-manifest
19
- * @contractRole canonical
20
- */
21
- export const AgentInstructionManifestSchema = AgentInstructionManifestSchemaDefinition;
22
- //# sourceMappingURL=instruction-manifest.js.map
@@ -1,20 +0,0 @@
1
- import { z } from "zod/v4";
2
- declare const AgentInstructionPointerSchemaDefinition: z.ZodObject<{
3
- key: z.ZodString;
4
- version: z.ZodString;
5
- }, z.core.$strip>;
6
- type AgentInstructionPointerDefinition = z.infer<typeof AgentInstructionPointerSchemaDefinition>;
7
- /**
8
- * One manifest entry: immutable version id and the full object key it resolves to.
9
- *
10
- * @openapiSchema AgentInstructionPointer
11
- * @endpoint GET /v1/agents/instructions/manifest
12
- * @endpoint GET /v1/help/instructions/manifest
13
- * @usedBySchema AgentInstructionManifestSchema
14
- * @contractShape agent.instruction-pointer
15
- * @contractRole canonical
16
- */
17
- export declare const AgentInstructionPointerSchema: z.ZodType<AgentInstructionPointerDefinition>;
18
- export type AgentInstructionPointer = z.infer<typeof AgentInstructionPointerSchema>;
19
- export {};
20
- //# sourceMappingURL=instruction-pointer.d.ts.map
@@ -1,20 +0,0 @@
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 AgentInstructionPointerSchemaDefinition = z.object({
4
- /** Object key under the agents/ prefix */
5
- key: z.string(),
6
- /** Immutable content version (sha256-12) */
7
- version: z.string(),
8
- });
9
- /**
10
- * One manifest entry: immutable version id and the full object key it resolves to.
11
- *
12
- * @openapiSchema AgentInstructionPointer
13
- * @endpoint GET /v1/agents/instructions/manifest
14
- * @endpoint GET /v1/help/instructions/manifest
15
- * @usedBySchema AgentInstructionManifestSchema
16
- * @contractShape agent.instruction-pointer
17
- * @contractRole canonical
18
- */
19
- export const AgentInstructionPointerSchema = AgentInstructionPointerSchemaDefinition;
20
- //# sourceMappingURL=instruction-pointer.js.map
@@ -1,27 +0,0 @@
1
- import { z } from "zod/v4";
2
- declare const AgentInstructionSchemaDefinition: z.ZodObject<{
3
- kind: z.ZodEnum<{
4
- AGENT: "AGENT";
5
- PROMPT: "PROMPT";
6
- SKILL: "SKILL";
7
- }>;
8
- name: z.ZodString;
9
- version: z.ZodString;
10
- }, z.core.$strip>;
11
- type AgentInstructionDefinition = z.infer<typeof AgentInstructionSchemaDefinition>;
12
- /**
13
- * Addressable identity of a versioned agent instruction document.
14
- *
15
- * @openapiSchema AgentInstruction
16
- * @endpoint GET /v1/agents/instructions/{kind}/{name}
17
- * @endpoint GET /v1/agents/instructions/{kind}/{name}/versions/{version}
18
- * @endpoint GET /v1/help/instructions/{kind}/{name}
19
- * @endpoint GET /v1/help/instructions/{kind}/{name}/versions/{version}
20
- * @usedBySchema AgentInstructionDetailSchema
21
- * @contractShape agent.instruction
22
- * @contractRole canonical
23
- */
24
- export declare const AgentInstructionSchema: z.ZodType<AgentInstructionDefinition>;
25
- export type AgentInstruction = z.infer<typeof AgentInstructionSchema>;
26
- export {};
27
- //# sourceMappingURL=instruction.d.ts.map
@@ -1,25 +0,0 @@
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 { AgentInstructionKindSchema } from "./instruction-kind.js";
4
- const AgentInstructionSchemaDefinition = z.object({
5
- /** Document kind */
6
- kind: AgentInstructionKindSchema,
7
- /** Manifest name of the instruction document */
8
- name: z.string(),
9
- /** Immutable content version (first 12 hex chars of the content sha256) */
10
- version: z.string(),
11
- });
12
- /**
13
- * Addressable identity of a versioned agent instruction document.
14
- *
15
- * @openapiSchema AgentInstruction
16
- * @endpoint GET /v1/agents/instructions/{kind}/{name}
17
- * @endpoint GET /v1/agents/instructions/{kind}/{name}/versions/{version}
18
- * @endpoint GET /v1/help/instructions/{kind}/{name}
19
- * @endpoint GET /v1/help/instructions/{kind}/{name}/versions/{version}
20
- * @usedBySchema AgentInstructionDetailSchema
21
- * @contractShape agent.instruction
22
- * @contractRole canonical
23
- */
24
- export const AgentInstructionSchema = AgentInstructionSchemaDefinition;
25
- //# sourceMappingURL=instruction.js.map
@@ -1,25 +0,0 @@
1
- import { z } from "zod/v4";
2
- declare const RssExtractedMentionSchemaDefinition: z.ZodObject<{
3
- name: z.ZodString;
4
- searchQuery: z.ZodOptional<z.ZodString>;
5
- type: z.ZodEnum<{
6
- COMPANY: "COMPANY";
7
- PERSON: "PERSON";
8
- }>;
9
- }, z.core.$strip>;
10
- type RssExtractedMentionDefinition = z.infer<typeof RssExtractedMentionSchemaDefinition>;
11
- /**
12
- * One company or person a caller read from a source it did not send.
13
- *
14
- * @openapiSchema RssExtractedMention
15
- * @endpoint GET /v1/lookup-jobs/{jobId}
16
- * @endpoint POST /v1/lookup-jobs
17
- * @endpoint POST /v1/lookup-mentions
18
- * @usedBySchema LookupJobMutationSchema
19
- * @contractShape rss.extracted-mention
20
- * @contractRole canonical
21
- */
22
- export declare const RssExtractedMentionSchema: z.ZodType<RssExtractedMentionDefinition>;
23
- export type RssExtractedMention = z.infer<typeof RssExtractedMentionSchema>;
24
- export {};
25
- //# sourceMappingURL=extracted-mention.d.ts.map