@aventurevc/api-schemas 0.8.263 → 0.8.264

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.
@@ -0,0 +1,31 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Reader-facing activity category
4
+ *
5
+ * @openapiSchema HarnessRunActivityType
6
+ * @endpoint GET /v1/research/runs/{runId}/events
7
+ * @usedBySchema HarnessRunActivitySchema
8
+ * @contractShape harness.run-activity-type
9
+ * @contractRole canonical
10
+ */
11
+ export declare const HarnessRunActivityTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
12
+ CHECK: "CHECK";
13
+ FINISHED: "FINISHED";
14
+ QUEUED: "QUEUED";
15
+ READ: "READ";
16
+ SEARCH: "SEARCH";
17
+ STARTED: "STARTED";
18
+ WRITE: "WRITE";
19
+ }>, z.ZodString]> & {
20
+ enum: {
21
+ CHECK: "CHECK";
22
+ FINISHED: "FINISHED";
23
+ QUEUED: "QUEUED";
24
+ READ: "READ";
25
+ SEARCH: "SEARCH";
26
+ STARTED: "STARTED";
27
+ WRITE: "WRITE";
28
+ };
29
+ };
30
+ export type HarnessRunActivityType = z.infer<typeof HarnessRunActivityTypeSchema>;
31
+ //# sourceMappingURL=run-activity-type.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 HarnessRunActivityTypeSchemaKnownMembers = z.enum([
4
+ "QUEUED",
5
+ "STARTED",
6
+ "SEARCH",
7
+ "READ",
8
+ "CHECK",
9
+ "WRITE",
10
+ "FINISHED",
11
+ ]);
12
+ /**
13
+ * Reader-facing activity category
14
+ *
15
+ * @openapiSchema HarnessRunActivityType
16
+ * @endpoint GET /v1/research/runs/{runId}/events
17
+ * @usedBySchema HarnessRunActivitySchema
18
+ * @contractShape harness.run-activity-type
19
+ * @contractRole canonical
20
+ */
21
+ export const HarnessRunActivityTypeSchema = Object.assign(z.union([HarnessRunActivityTypeSchemaKnownMembers, z.string()]), { enum: HarnessRunActivityTypeSchemaKnownMembers.enum });
22
+ //# sourceMappingURL=run-activity-type.js.map
@@ -0,0 +1,40 @@
1
+ import { z } from "zod/v4";
2
+ declare const HarnessRunActivitySchemaDefinition: z.ZodObject<{
3
+ createdAt: z.ZodISODateTime;
4
+ kind: z.ZodUnion<readonly [z.ZodEnum<{
5
+ CHECK: "CHECK";
6
+ FINISHED: "FINISHED";
7
+ QUEUED: "QUEUED";
8
+ READ: "READ";
9
+ SEARCH: "SEARCH";
10
+ STARTED: "STARTED";
11
+ WRITE: "WRITE";
12
+ }>, z.ZodString]> & {
13
+ enum: {
14
+ CHECK: "CHECK";
15
+ FINISHED: "FINISHED";
16
+ QUEUED: "QUEUED";
17
+ READ: "READ";
18
+ SEARCH: "SEARCH";
19
+ STARTED: "STARTED";
20
+ WRITE: "WRITE";
21
+ };
22
+ };
23
+ label: z.ZodString;
24
+ seq: z.ZodInt;
25
+ }, z.core.$strip>;
26
+ type HarnessRunActivityDefinition = z.infer<typeof HarnessRunActivitySchemaDefinition>;
27
+ export interface HarnessRunActivitySchemaInput extends z.input<typeof HarnessRunActivitySchemaDefinition> {
28
+ }
29
+ /**
30
+ * One ordered reader-facing run activity
31
+ *
32
+ * @openapiSchema HarnessRunActivity
33
+ * @endpoint GET /v1/research/runs/{runId}/events
34
+ * @contractShape harness.run-activity
35
+ * @contractRole canonical
36
+ */
37
+ export declare const HarnessRunActivitySchema: z.ZodType<HarnessRunActivityDefinition, HarnessRunActivitySchemaInput>;
38
+ export type HarnessRunActivity = z.infer<typeof HarnessRunActivitySchema>;
39
+ export {};
40
+ //# sourceMappingURL=run-activity.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 { HarnessRunActivityTypeSchema } from "./run-activity-type.js";
4
+ const HarnessRunActivitySchemaDefinition = z.object({
5
+ /** Time of the underlying event */
6
+ createdAt: z.iso.datetime({ offset: true }),
7
+ /** Activity category */
8
+ kind: HarnessRunActivityTypeSchema,
9
+ /** Reader-facing activity description */
10
+ label: z.string(),
11
+ /** Per-run event sequence */
12
+ seq: z.int(),
13
+ });
14
+ /**
15
+ * One ordered reader-facing run activity
16
+ *
17
+ * @openapiSchema HarnessRunActivity
18
+ * @endpoint GET /v1/research/runs/{runId}/events
19
+ * @contractShape harness.run-activity
20
+ * @contractRole canonical
21
+ */
22
+ export const HarnessRunActivitySchema = HarnessRunActivitySchemaDefinition;
23
+ //# sourceMappingURL=run-activity.js.map
@@ -642,6 +642,14 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
642
642
  HarnessChassis: { modulePath: "harness/chassis", schemaName: "HarnessChassisSchema" },
643
643
  HarnessLlmApi: { modulePath: "harness/llm-api", schemaName: "HarnessLlmApiSchema" },
644
644
  HarnessRun: { modulePath: "harness/run", schemaName: "HarnessRunSchema" },
645
+ HarnessRunActivity: {
646
+ modulePath: "harness/run-activity",
647
+ schemaName: "HarnessRunActivitySchema",
648
+ },
649
+ HarnessRunActivityType: {
650
+ modulePath: "harness/run-activity-type",
651
+ schemaName: "HarnessRunActivityTypeSchema",
652
+ },
645
653
  HarnessRunCreate: { modulePath: "harness/run-create", schemaName: "HarnessRunCreateSchema" },
646
654
  HarnessRunDetail: { modulePath: "harness/run-detail", schemaName: "HarnessRunDetailSchema" },
647
655
  HarnessRunEnvironment: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.263",
3
+ "version": "0.8.264",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",