@labelbox/recursion-sdk 0.0.159 → 0.0.160
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.
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
/**
|
|
3
|
-
* How often a recipe is validated — an **internal CI cadence**, never
|
|
4
|
-
* in the docs (deliberately not on `RecipeReferenceEntry`)
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* daily workflow only on the days it's "due" (date-modulo schedule).
|
|
8
|
-
* A future weekly tier is just `{ everyDays: 7 }` — no schema change.
|
|
3
|
+
* How often a recipe proof is validated — an **internal CI cadence**, never
|
|
4
|
+
* surfaced in the docs (deliberately not on `RecipeReferenceEntry`). Recipes
|
|
5
|
+
* run from the daily maintenance workflow when their stateless date-modulo
|
|
6
|
+
* schedule is due. Deployment gating is an independent test classification.
|
|
9
7
|
*/
|
|
10
|
-
export declare const RecipeCadenceSchema: z.
|
|
8
|
+
export declare const RecipeCadenceSchema: z.ZodObject<{
|
|
11
9
|
everyDays: z.ZodNumber;
|
|
12
|
-
}, z.core.$strict
|
|
10
|
+
}, z.core.$strict>;
|
|
13
11
|
export type RecipeCadence = z.infer<typeof RecipeCadenceSchema>;
|
|
14
12
|
/** A link to another **recipe** (traversable — the agent can follow it). */
|
|
15
13
|
export declare const RecipeRecipeTargetSchema: z.ZodObject<{
|
|
@@ -168,9 +166,9 @@ export declare const RecipeManifestSchema: z.ZodObject<{
|
|
|
168
166
|
title: z.ZodString;
|
|
169
167
|
goal: z.ZodString;
|
|
170
168
|
category: z.ZodString;
|
|
171
|
-
cadence: z.
|
|
169
|
+
cadence: z.ZodObject<{
|
|
172
170
|
everyDays: z.ZodNumber;
|
|
173
|
-
}, z.core.$strict
|
|
171
|
+
}, z.core.$strict>;
|
|
174
172
|
stepDescriptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
175
173
|
outcomeInUiOnly: z.ZodOptional<z.ZodObject<{
|
|
176
174
|
reason: z.ZodString;
|
|
@@ -19,17 +19,12 @@ import { z } from 'zod';
|
|
|
19
19
|
// spaces vs hyphens) could collapse two distinct categories into one nav group.
|
|
20
20
|
const KEBAB_CASE = /^[a-z0-9]+(?:-[a-z0-9]+)*$/;
|
|
21
21
|
/**
|
|
22
|
-
* How often a recipe is validated — an **internal CI cadence**, never
|
|
23
|
-
* in the docs (deliberately not on `RecipeReferenceEntry`)
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* daily workflow only on the days it's "due" (date-modulo schedule).
|
|
27
|
-
* A future weekly tier is just `{ everyDays: 7 }` — no schema change.
|
|
22
|
+
* How often a recipe proof is validated — an **internal CI cadence**, never
|
|
23
|
+
* surfaced in the docs (deliberately not on `RecipeReferenceEntry`). Recipes
|
|
24
|
+
* run from the daily maintenance workflow when their stateless date-modulo
|
|
25
|
+
* schedule is due. Deployment gating is an independent test classification.
|
|
28
26
|
*/
|
|
29
|
-
export const RecipeCadenceSchema = z.
|
|
30
|
-
z.literal('per-merge'),
|
|
31
|
-
z.object({ everyDays: z.number().int().positive() }).strict(),
|
|
32
|
-
]);
|
|
27
|
+
export const RecipeCadenceSchema = z.object({ everyDays: z.number().int().positive() }).strict();
|
|
33
28
|
// ---------------------------------------------------------------------------
|
|
34
29
|
// Related links — the relationship graph between recipes and doc elements
|
|
35
30
|
// ---------------------------------------------------------------------------
|