@labelbox/recursion-sdk 0.0.158 → 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.
|
@@ -21738,22 +21738,6 @@ export type TriggerQaJobBatchBodyDto = {
|
|
|
21738
21738
|
* When true, an additional aggregate-kind QA job is queued to roll up the batch results.
|
|
21739
21739
|
*/
|
|
21740
21740
|
includeAggregate?: boolean;
|
|
21741
|
-
/**
|
|
21742
|
-
* Environment variables to inject into each QA container, merged on top of the config.
|
|
21743
|
-
*/
|
|
21744
|
-
envVars?: {
|
|
21745
|
-
[key: string]: string;
|
|
21746
|
-
};
|
|
21747
|
-
/**
|
|
21748
|
-
* Container entrypoint arguments override applied to every job in the batch.
|
|
21749
|
-
*/
|
|
21750
|
-
args?: Array<string>;
|
|
21751
|
-
/**
|
|
21752
|
-
* Free-form parameters override applied to every job in the batch.
|
|
21753
|
-
*/
|
|
21754
|
-
parameters?: {
|
|
21755
|
-
[key: string]: unknown;
|
|
21756
|
-
};
|
|
21757
21741
|
/**
|
|
21758
21742
|
* Per-job timeout override in seconds applied to every job.
|
|
21759
21743
|
*/
|
|
@@ -21817,22 +21801,6 @@ export type TriggerQaJobBodyDto = {
|
|
|
21817
21801
|
*/
|
|
21818
21802
|
fileId: string;
|
|
21819
21803
|
} | null;
|
|
21820
|
-
/**
|
|
21821
|
-
* Environment variables to inject into the QA container, merged on top of the config.
|
|
21822
|
-
*/
|
|
21823
|
-
envVars?: {
|
|
21824
|
-
[key: string]: string;
|
|
21825
|
-
};
|
|
21826
|
-
/**
|
|
21827
|
-
* Container entrypoint arguments override.
|
|
21828
|
-
*/
|
|
21829
|
-
args?: Array<string>;
|
|
21830
|
-
/**
|
|
21831
|
-
* Free-form parameters override merged onto the QA config.
|
|
21832
|
-
*/
|
|
21833
|
-
parameters?: {
|
|
21834
|
-
[key: string]: unknown;
|
|
21835
|
-
};
|
|
21836
21804
|
/**
|
|
21837
21805
|
* Per-job timeout override in seconds.
|
|
21838
21806
|
*/
|
|
@@ -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
|
// ---------------------------------------------------------------------------
|
|
@@ -60068,27 +60068,6 @@ export const SDK_REFERENCE = {
|
|
|
60068
60068
|
},
|
|
60069
60069
|
],
|
|
60070
60070
|
},
|
|
60071
|
-
{
|
|
60072
|
-
name: 'envVars',
|
|
60073
|
-
in: 'body',
|
|
60074
|
-
required: false,
|
|
60075
|
-
type: 'object',
|
|
60076
|
-
description: 'Environment variables to inject into the QA container, merged on top of the config.',
|
|
60077
|
-
},
|
|
60078
|
-
{
|
|
60079
|
-
name: 'args',
|
|
60080
|
-
in: 'body',
|
|
60081
|
-
required: false,
|
|
60082
|
-
type: 'string[]',
|
|
60083
|
-
description: 'Container entrypoint arguments override.',
|
|
60084
|
-
},
|
|
60085
|
-
{
|
|
60086
|
-
name: 'parameters',
|
|
60087
|
-
in: 'body',
|
|
60088
|
-
required: false,
|
|
60089
|
-
type: 'object',
|
|
60090
|
-
description: 'Free-form parameters override merged onto the QA config.',
|
|
60091
|
-
},
|
|
60092
60071
|
{
|
|
60093
60072
|
name: 'timeoutSeconds',
|
|
60094
60073
|
in: 'body',
|
|
@@ -60656,27 +60635,6 @@ export const SDK_REFERENCE = {
|
|
|
60656
60635
|
type: 'boolean',
|
|
60657
60636
|
description: 'When true, an additional aggregate-kind QA job is queued to roll up the batch results.',
|
|
60658
60637
|
},
|
|
60659
|
-
{
|
|
60660
|
-
name: 'envVars',
|
|
60661
|
-
in: 'body',
|
|
60662
|
-
required: false,
|
|
60663
|
-
type: 'object',
|
|
60664
|
-
description: 'Environment variables to inject into each QA container, merged on top of the config.',
|
|
60665
|
-
},
|
|
60666
|
-
{
|
|
60667
|
-
name: 'args',
|
|
60668
|
-
in: 'body',
|
|
60669
|
-
required: false,
|
|
60670
|
-
type: 'string[]',
|
|
60671
|
-
description: 'Container entrypoint arguments override applied to every job in the batch.',
|
|
60672
|
-
},
|
|
60673
|
-
{
|
|
60674
|
-
name: 'parameters',
|
|
60675
|
-
in: 'body',
|
|
60676
|
-
required: false,
|
|
60677
|
-
type: 'object',
|
|
60678
|
-
description: 'Free-form parameters override applied to every job in the batch.',
|
|
60679
|
-
},
|
|
60680
60638
|
{
|
|
60681
60639
|
name: 'timeoutSeconds',
|
|
60682
60640
|
in: 'body',
|