@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.
- package/dist/capabilities/index.d.ts +2 -2
- package/dist/capabilities/pipeline-executor.cap.d.ts +1 -112
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +9 -290
- package/dist/client.js +1 -9
- package/dist/client.mjs +1 -9
- package/dist/generated/addon-api.d.ts +0 -56
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +11 -134
- package/dist/index.mjs +12 -134
- package/dist/interfaces/config-ui.d.ts +2 -59
- package/dist/interfaces/pipeline-executor-capability.d.ts +1 -15
- package/dist/types/camera-pipeline.d.ts +3 -20
- package/dist/types/detection.d.ts +1 -1
- package/dist/types/pipeline-schema.d.ts +1 -8
- package/package.json +1 -1
|
@@ -24,16 +24,15 @@ import type { PipelineEngineChoice } from './pipeline.js';
|
|
|
24
24
|
*/
|
|
25
25
|
export interface CameraPipelineConfig {
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
28
|
-
*
|
|
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
|
-
/**
|
|
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
|
|
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
|
|
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
|
-
}
|