@camstack/types 1.1.40 → 1.1.41

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.
@@ -156,6 +156,7 @@ declare const PipelineAddonSchemaSchema: z.ZodObject<{
156
156
  defaultModelId: z.ZodString;
157
157
  defaultModelIdByFormat: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
158
158
  enabledByDefault: z.ZodOptional<z.ZodBoolean>;
159
+ backfillIntoExistingOverrides: z.ZodOptional<z.ZodBoolean>;
159
160
  defaultConfidence: z.ZodNumber;
160
161
  group: z.ZodOptional<z.ZodString>;
161
162
  configSchema: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodCustom<ConfigField, ConfigField>>>>;
@@ -221,6 +222,7 @@ declare const PipelineSlotSchemaSchema: z.ZodObject<{
221
222
  defaultModelId: z.ZodString;
222
223
  defaultModelIdByFormat: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
223
224
  enabledByDefault: z.ZodOptional<z.ZodBoolean>;
225
+ backfillIntoExistingOverrides: z.ZodOptional<z.ZodBoolean>;
224
226
  defaultConfidence: z.ZodNumber;
225
227
  group: z.ZodOptional<z.ZodString>;
226
228
  configSchema: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodCustom<ConfigField, ConfigField>>>>;
@@ -326,6 +328,7 @@ declare const PipelineSchemaSchema: z.ZodObject<{
326
328
  defaultModelId: z.ZodString;
327
329
  defaultModelIdByFormat: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
328
330
  enabledByDefault: z.ZodOptional<z.ZodBoolean>;
331
+ backfillIntoExistingOverrides: z.ZodOptional<z.ZodBoolean>;
329
332
  defaultConfidence: z.ZodNumber;
330
333
  group: z.ZodOptional<z.ZodString>;
331
334
  configSchema: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodCustom<ConfigField, ConfigField>>>>;
@@ -644,6 +647,7 @@ export declare const pipelineExecutorCapability: {
644
647
  defaultModelId: z.ZodString;
645
648
  defaultModelIdByFormat: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
646
649
  enabledByDefault: z.ZodOptional<z.ZodBoolean>;
650
+ backfillIntoExistingOverrides: z.ZodOptional<z.ZodBoolean>;
647
651
  defaultConfidence: z.ZodNumber;
648
652
  group: z.ZodOptional<z.ZodString>;
649
653
  configSchema: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodCustom<ConfigField, ConfigField>>>>;
package/dist/index.js CHANGED
@@ -7589,6 +7589,7 @@ var PipelineAddonSchemaSchema = zod.z.object({
7589
7589
  defaultModelId: zod.z.string(),
7590
7590
  defaultModelIdByFormat: zod.z.record(zod.z.string(), zod.z.string()).optional(),
7591
7591
  enabledByDefault: zod.z.boolean().optional(),
7592
+ backfillIntoExistingOverrides: zod.z.boolean().optional(),
7592
7593
  defaultConfidence: zod.z.number(),
7593
7594
  group: zod.z.string().optional(),
7594
7595
  configSchema: zod.z.array(ConfigFieldBridge).readonly().optional()
package/dist/index.mjs CHANGED
@@ -7588,6 +7588,7 @@ var PipelineAddonSchemaSchema = z.object({
7588
7588
  defaultModelId: z.string(),
7589
7589
  defaultModelIdByFormat: z.record(z.string(), z.string()).optional(),
7590
7590
  enabledByDefault: z.boolean().optional(),
7591
+ backfillIntoExistingOverrides: z.boolean().optional(),
7591
7592
  defaultConfidence: z.number(),
7592
7593
  group: z.string().optional(),
7593
7594
  configSchema: z.array(ConfigFieldBridge).readonly().optional()
@@ -48,6 +48,22 @@ export interface StepDefinition {
48
48
  * rather than out).
49
49
  */
50
50
  readonly enabledByDefault?: boolean;
51
+ /**
52
+ * Opt-in: when `true`, this step is BACK-FILLED into a camera's stored
53
+ * wholesale pipeline override (`cameraSettings.pipelineByAgent`) at resolve
54
+ * time if it is absent from that snapshot — see
55
+ * `mergeEnabledByDefaultSteps`. Set this ONLY on a genuinely-NEW default
56
+ * step that shipped AFTER existing snapshots were captured and must reach
57
+ * them (e.g. `clip-embedding` for object semantic search).
58
+ *
59
+ * It exists because absence-from-a-snapshot is ambiguous: it can mean
60
+ * "predates this step" OR "operator deliberately pruned it". A broad
61
+ * "back-fill every default" would resurrect deliberate removals of
62
+ * long-existing steps (face-detection, etc.). This flag makes back-fill
63
+ * strictly opt-in so only a new step re-enters existing overrides; absent
64
+ * (the default) preserves operator intent verbatim. Absent = `false`.
65
+ */
66
+ readonly backfillIntoExistingOverrides?: boolean;
51
67
  /** Default confidence threshold */
52
68
  readonly defaultConfidence: number;
53
69
  /** Runtime label lookup (e.g., class name arrays for softmax, charset for CTC) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/types",
3
- "version": "1.1.40",
3
+ "version": "1.1.41",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",