@camstack/types 1.2.320 → 1.2.322

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.
@@ -24,16 +24,15 @@ import type { PipelineEngineChoice } from './pipeline.js';
24
24
  */
25
25
  export interface CameraPipelineConfig {
26
26
  /**
27
- * Benchmark/template engine HINT ONLY — an explicit engine override the
28
- * Image-Tester carries when saving a template. It is NEVER a live-dispatch
29
- * field: the attach payload (`RunnerCameraConfig`) no longer carries an
27
+ * Engine HINT ONLY — a vestigial explicit engine override older stored
28
+ * configs may still carry. It is NEVER a live-dispatch field: the attach payload (`RunnerCameraConfig`) no longer carries an
30
29
  * engine, so this value cannot reach a node. Engine is node-local — the
31
30
  * executing runner resolves its own format default at dispatch time.
32
31
  */
33
32
  readonly engine?: PipelineEngineChoice;
34
33
  readonly steps: readonly PipelineStepInputOutput[];
35
34
  readonly audio?: {
36
- /** Benchmark/template engine hint only — see `engine` above. Not dispatched. */
35
+ /** Engine hint only — see `engine` above. Not dispatched. */
37
36
  readonly engine?: PipelineEngineChoice;
38
37
  /**
39
38
  * Present ONLY when the operator explicitly chose an audio model;
@@ -53,19 +52,3 @@ export interface CameraPipelineConfig {
53
52
  readonly settings?: Readonly<Record<string, unknown>>;
54
53
  } | null;
55
54
  }
56
- /**
57
- * Named preset applied to one or more cameras. The camera stores a
58
- * copy of the template's config at apply time — no live reference.
59
- * Templates let operators curate reusable pipelines without re-authoring
60
- * step trees per-camera.
61
- */
62
- export interface PipelineTemplate {
63
- readonly id: string;
64
- readonly name: string;
65
- readonly description?: string;
66
- readonly config: CameraPipelineConfig;
67
- /** ISO 8601 — creation timestamp. */
68
- readonly createdAt: string;
69
- /** ISO 8601 — last modification timestamp. */
70
- readonly updatedAt: string;
71
- }
@@ -224,7 +224,7 @@ export interface FrameDebug {
224
224
  readonly stepTimings?: readonly FrameStepTiming[];
225
225
  /** Engine descriptor — e.g. `'python/coreml'`. */
226
226
  readonly engine?: string;
227
- /** Pipeline template id in use (for comparing across runs). */
227
+ /** Pipeline id in use (for comparing across runs). */
228
228
  readonly pipelineId?: string;
229
229
  /** JPEG → dimensions probe + buffer alloc (benchmark / reference-image paths only). */
230
230
  readonly decodeMs?: number;
@@ -1,5 +1,5 @@
1
1
  import type { z } from 'zod';
2
- import type { PipelineSchemaSchema, PipelineAddonSchemaSchema, PipelineSlotSchemaSchema, PipelineModelOptionSchema, AvailableEngineSchema, PipelineTemplateSchema, PipelineTemplateStepSchema } from '../capabilities/pipeline-executor.cap.js';
2
+ import type { PipelineSchemaSchema, PipelineAddonSchemaSchema, PipelineSlotSchemaSchema, PipelineModelOptionSchema, AvailableEngineSchema } from '../capabilities/pipeline-executor.cap.js';
3
3
  import type { PipelineDefaultStepOutput } from '../capabilities/pipeline-executor.cap.js';
4
4
  export type PipelineAddonSchema = z.infer<typeof PipelineAddonSchemaSchema>;
5
5
  export type PipelineModelOption = z.infer<typeof PipelineModelOptionSchema>;
@@ -11,10 +11,3 @@ export type PipelineSchema = z.infer<typeof PipelineSchemaSchema>;
11
11
  * Runtime/backend are NOT per-step — they come from PipelineConfig.engine.
12
12
  */
13
13
  export type PipelineDefaultStep = PipelineDefaultStepOutput;
14
- export type PipelineTemplateStep = z.infer<typeof PipelineTemplateStepSchema>;
15
- export type PipelineTemplate = z.infer<typeof PipelineTemplateSchema>;
16
- export interface TemplateValidationResult {
17
- readonly valid: boolean;
18
- readonly steps: readonly PipelineTemplateStep[];
19
- readonly warnings: readonly string[];
20
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/types",
3
- "version": "1.2.320",
3
+ "version": "1.2.322",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",