@aventurevc/api-schemas 0.8.190 → 0.8.192

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.
@@ -45,11 +45,13 @@ declare const AgentHelpSchemaDefinition: z.ZodObject<{
45
45
  allowedValue?: string | null | undefined;
46
46
  description: string;
47
47
  key: string;
48
+ required?: boolean | undefined;
48
49
  type: string;
49
50
  }, import("../harness/task.ts").HarnessTaskSchemaInput, z.core.$ZodTypeInternals<{
50
51
  allowedValue?: string | null | undefined;
51
52
  description: string;
52
53
  key: string;
54
+ required?: boolean | undefined;
53
55
  type: string;
54
56
  }, import("../harness/task.ts").HarnessTaskSchemaInput>>>;
55
57
  step: z.ZodArray<z.ZodType<{
@@ -44,7 +44,7 @@ export const EntityFundraiseFilterCriteriaSchema = z.object({
44
44
  investedRound: z.array(z.string()).optional(),
45
45
  /** Aggregate investor activity filters. */
46
46
  investorActivity: InvestorActivityFilterSchema.optional(),
47
- /** Investor names. Exact, case-sensitive match on an investor entity's brand or legal name or an individual investor's full name; restricts returned entities to companies with a fundraise that investor joined. */
47
+ /** Investor names. Each matches an investor entity whose brand, legal name, or alias equals it ignoring case and punctuation, or an individual investor's exact full name; a name that begins public entities' brands as whole words ("Sequoia") also matches the one holding many times the recorded investments of every other such entity (Sequoia Capital). Restricts returned entities to companies with a fundraise that investor joined. */
48
48
  investorName: z.array(z.string()).optional(),
49
49
  /** Last-round-year ranges for each entity's most recent fundraise round. */
50
50
  lastRoundYearRange: z.array(IntRangeSchema).optional(),
@@ -16,11 +16,13 @@ export declare const HarnessTaskPlanSchema: z.ZodObject<{
16
16
  allowedValue?: string | null | undefined;
17
17
  description: string;
18
18
  key: string;
19
+ required?: boolean | undefined;
19
20
  type: string;
20
21
  }, import("./task.ts").HarnessTaskSchemaInput, z.core.$ZodTypeInternals<{
21
22
  allowedValue?: string | null | undefined;
22
23
  description: string;
23
24
  key: string;
25
+ required?: boolean | undefined;
24
26
  type: string;
25
27
  }, import("./task.ts").HarnessTaskSchemaInput>>>;
26
28
  step: z.ZodArray<z.ZodType<{
@@ -3,6 +3,7 @@ declare const HarnessTaskSchemaDefinition: z.ZodObject<{
3
3
  allowedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4
4
  description: z.ZodString;
5
5
  key: z.ZodString;
6
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6
7
  type: z.ZodUnion<readonly [z.ZodEnum<{
7
8
  ENTITY: "ENTITY";
8
9
  TEXT: "TEXT";
@@ -19,7 +20,7 @@ type HarnessTaskDefinition = z.infer<typeof HarnessTaskSchemaDefinition>;
19
20
  export interface HarnessTaskSchemaInput extends z.input<typeof HarnessTaskSchemaDefinition> {
20
21
  }
21
22
  /**
22
- * One typed task input that must be bound before a run starts.
23
+ * One typed task input, required unless explicitly marked optional.
23
24
  *
24
25
  * @openapiSchema HarnessTaskInput
25
26
  * @endpoint POST /v1/agents/help
@@ -8,11 +8,13 @@ const HarnessTaskSchemaDefinition = z.object({
8
8
  description: z.string(),
9
9
  /** Input key, unique within its task. */
10
10
  key: z.string(),
11
+ /** Whether this input must be bound before admission. Defaults to true; an omitted optional input stays unbound and is never inferred from the prompt. */
12
+ required: z.boolean().default(true).optional(),
11
13
  /** How the value is bound. */
12
14
  type: HarnessTaskInputTypeSchema,
13
15
  });
14
16
  /**
15
- * One typed task input that must be bound before a run starts.
17
+ * One typed task input, required unless explicitly marked optional.
16
18
  *
17
19
  * @openapiSchema HarnessTaskInput
18
20
  * @endpoint POST /v1/agents/help
@@ -37,11 +37,13 @@ export declare const HelpResolutionSchema: z.ZodObject<{
37
37
  allowedValue?: string | null | undefined;
38
38
  description: string;
39
39
  key: string;
40
+ required?: boolean | undefined;
40
41
  type: string;
41
42
  }, import("../harness/task.ts").HarnessTaskSchemaInput, z.core.$ZodTypeInternals<{
42
43
  allowedValue?: string | null | undefined;
43
44
  description: string;
44
45
  key: string;
46
+ required?: boolean | undefined;
45
47
  type: string;
46
48
  }, import("../harness/task.ts").HarnessTaskSchemaInput>>>;
47
49
  step: z.ZodArray<z.ZodType<{
@@ -80,7 +80,6 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
80
80
  source_document_body_unavailable: "source_document_body_unavailable";
81
81
  source_document_capture_limit_exceeded: "source_document_capture_limit_exceeded";
82
82
  source_document_fetch_busy: "source_document_fetch_busy";
83
- source_grounding_at_capacity: "source_grounding_at_capacity";
84
83
  subscription_canceled: "subscription_canceled";
85
84
  subscription_past_due: "subscription_past_due";
86
85
  subscription_paused: "subscription_paused";
@@ -47,8 +47,6 @@ const ProblemDetailSchemaDefinition = z.object({
47
47
  "suspected_shell_strip",
48
48
  /** Entity text or a research snippet was rejected by its prose judge or text contract. Agent action: rewrite every passage in ProblemDetail.proseViolation at once and resend the whole text; ProblemDetail.hint names the override only when every violation is overridable. */
49
49
  "prose_rejected",
50
- /** Every source-grounding slot is held by other text writes, so this write was refused before it judged or wrote anything. Agent action: replay the identical request after retryAfterSeconds (also in the Retry-After header). */
51
- "source_grounding_at_capacity",
52
50
  /** A URL was submitted to the wrong write surface. Agent action: move the URL to the specific surface named by ProblemDetail.hint/resolution, for example EntityUrl.urlType=ycombinator via entities urls create instead of News.newsUrlOriginal. */
53
51
  "url_surface_misclassification",
54
52
  /** JobRunr background worker is disabled in this environment. Agent action: stop (this is an admin/ops configuration condition, not a retriable user error). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.190",
3
+ "version": "0.8.192",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",