@camstack/types 1.1.43 → 1.1.44
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/addon.js +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/capabilities/advanced-notifier.cap.d.ts +4 -0
- package/dist/capabilities/cap-router-predicates.d.ts +17 -0
- package/dist/capabilities/capability-definition.d.ts +1 -1
- package/dist/capabilities/custom-model-registry.cap.d.ts +20 -0
- package/dist/capabilities/index.d.ts +13 -6
- package/dist/capabilities/llm-runtime.cap.d.ts +286 -0
- package/dist/capabilities/llm-shared.d.ts +104 -0
- package/dist/capabilities/llm.cap.d.ts +596 -0
- package/dist/capabilities/login-method.cap.d.ts +53 -7
- package/dist/capabilities/model-convert.cap.d.ts +11 -0
- package/dist/capabilities/model-distributor.cap.d.ts +22 -0
- package/dist/capabilities/pipeline-analytics.cap.d.ts +101 -25
- package/dist/capabilities/pipeline-executor.cap.d.ts +22 -0
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +16 -0
- package/dist/capabilities/plate-gallery.cap.d.ts +114 -0
- package/dist/capabilities/platform-probe.cap.d.ts +1 -0
- package/dist/capabilities/scene-monitor.cap.d.ts +483 -0
- package/dist/enums/event-category.d.ts +33 -0
- package/dist/generated/addon-api.d.ts +2745 -647
- package/dist/generated/cap-status-types.d.ts +3 -1
- package/dist/generated/capability-router-map.d.ts +13 -4
- package/dist/generated/device-local-state.d.ts +3 -0
- package/dist/generated/device-proxy.d.ts +3 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/provider-kind-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +3 -1
- package/dist/index.js +1135 -38
- package/dist/index.mjs +1103 -39
- package/dist/interfaces/advanced-notifier.d.ts +2 -0
- package/dist/interfaces/event-bus.d.ts +96 -1
- package/dist/{sleep-Baang_XW.mjs → sleep-DkhOVOjW.mjs} +47 -0
- package/dist/{sleep-DmvEGsRg.js → sleep-k6I1e98_.js} +47 -0
- package/dist/types/models.d.ts +33 -1
- package/package.json +1 -1
|
@@ -17,11 +17,19 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
17
17
|
* login page needs NO change.
|
|
18
18
|
*
|
|
19
19
|
* - `widget` — a Module-Federation widget the login page mounts (via
|
|
20
|
-
* `loadRemoteBundle`) for an in-page ceremony.
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
20
|
+
* `loadRemoteBundle`) for an in-page ceremony. `auth.listLoginMethods`
|
|
21
|
+
* stamps a public `bundleUrl` from `addonId` + `bundle`. Generic
|
|
22
|
+
* mechanism kept for future use; no shipped addon uses it on the login
|
|
23
|
+
* page (the passkey ceremony below runs natively in the shell instead).
|
|
24
|
+
*
|
|
25
|
+
* - `passkey` — a declarative WebAuthn ceremony the shell renders
|
|
26
|
+
* natively (`@simplewebauthn/browser` lives in `addon-admin-ui`, not in
|
|
27
|
+
* a remotely-loaded bundle). Carries the addon's effective `rpId` /
|
|
28
|
+
* `origin` (from its `resolveRpID()` / `resolveOrigin()`) so the shell
|
|
29
|
+
* can gate visibility (IP-literal origin, hostname/rpId mismatch) WITHOUT
|
|
30
|
+
* fetching any remote code pre-auth. Contribution stays unconditional —
|
|
31
|
+
* enrollment state is never leaked pre-auth; visibility is a shell
|
|
32
|
+
* decision.
|
|
25
33
|
*
|
|
26
34
|
* Every contribution carries a `stage`:
|
|
27
35
|
* - `primary` — shown on the first credentials screen (OIDC /
|
|
@@ -75,7 +83,24 @@ export declare const WidgetLoginMethodSchema: z.ZodObject<{
|
|
|
75
83
|
"second-factor": "second-factor";
|
|
76
84
|
}>;
|
|
77
85
|
}, z.core.$strip>;
|
|
78
|
-
/**
|
|
86
|
+
/**
|
|
87
|
+
* A declarative WebAuthn ceremony the shell renders natively (no remote
|
|
88
|
+
* code). Carries the addon's EFFECTIVE `rpId`/`origin` so the shell can
|
|
89
|
+
* gate visibility (IP-literal origin, hostname/rpId mismatch) before ever
|
|
90
|
+
* showing the button — the contribution itself stays unconditional.
|
|
91
|
+
*/
|
|
92
|
+
export declare const PasskeyLoginMethodSchema: z.ZodObject<{
|
|
93
|
+
kind: z.ZodLiteral<"passkey">;
|
|
94
|
+
id: z.ZodString;
|
|
95
|
+
label: z.ZodString;
|
|
96
|
+
stage: z.ZodEnum<{
|
|
97
|
+
primary: "primary";
|
|
98
|
+
"second-factor": "second-factor";
|
|
99
|
+
}>;
|
|
100
|
+
rpId: z.ZodString;
|
|
101
|
+
origin: z.ZodNullable<z.ZodString>;
|
|
102
|
+
}, z.core.$strip>;
|
|
103
|
+
/** One login-method contribution — redirect button, pre-auth widget, or native passkey ceremony. */
|
|
79
104
|
export declare const LoginMethodContributionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
80
105
|
kind: z.ZodLiteral<"redirect">;
|
|
81
106
|
id: z.ZodString;
|
|
@@ -100,6 +125,16 @@ export declare const LoginMethodContributionSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
100
125
|
primary: "primary";
|
|
101
126
|
"second-factor": "second-factor";
|
|
102
127
|
}>;
|
|
128
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
129
|
+
kind: z.ZodLiteral<"passkey">;
|
|
130
|
+
id: z.ZodString;
|
|
131
|
+
label: z.ZodString;
|
|
132
|
+
stage: z.ZodEnum<{
|
|
133
|
+
primary: "primary";
|
|
134
|
+
"second-factor": "second-factor";
|
|
135
|
+
}>;
|
|
136
|
+
rpId: z.ZodString;
|
|
137
|
+
origin: z.ZodNullable<z.ZodString>;
|
|
103
138
|
}, z.core.$strip>], "kind">;
|
|
104
139
|
export declare const loginMethodCapability: {
|
|
105
140
|
readonly name: "login-method";
|
|
@@ -131,6 +166,16 @@ export declare const loginMethodCapability: {
|
|
|
131
166
|
primary: "primary";
|
|
132
167
|
"second-factor": "second-factor";
|
|
133
168
|
}>;
|
|
169
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
170
|
+
kind: z.ZodLiteral<"passkey">;
|
|
171
|
+
id: z.ZodString;
|
|
172
|
+
label: z.ZodString;
|
|
173
|
+
stage: z.ZodEnum<{
|
|
174
|
+
primary: "primary";
|
|
175
|
+
"second-factor": "second-factor";
|
|
176
|
+
}>;
|
|
177
|
+
rpId: z.ZodString;
|
|
178
|
+
origin: z.ZodNullable<z.ZodString>;
|
|
134
179
|
}, z.core.$strip>], "kind">>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
135
180
|
};
|
|
136
181
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
@@ -139,8 +184,9 @@ export declare const loginMethodCapability: {
|
|
|
139
184
|
};
|
|
140
185
|
};
|
|
141
186
|
export type ILoginMethodProvider = InferProvider<typeof loginMethodCapability>;
|
|
142
|
-
/** A single login-method contribution (redirect | widget). */
|
|
187
|
+
/** A single login-method contribution (redirect | widget | passkey). */
|
|
143
188
|
export type LoginMethodContribution = z.infer<typeof LoginMethodContributionSchema>;
|
|
144
189
|
export type RedirectLoginMethod = z.infer<typeof RedirectLoginMethodSchema>;
|
|
145
190
|
export type WidgetLoginMethod = z.infer<typeof WidgetLoginMethodSchema>;
|
|
191
|
+
export type PasskeyLoginMethod = z.infer<typeof PasskeyLoginMethodSchema>;
|
|
146
192
|
export type LoginStage = z.infer<typeof LoginStageEnum>;
|
|
@@ -164,6 +164,16 @@ export declare const modelConvertCapability: {
|
|
|
164
164
|
python: "python";
|
|
165
165
|
}>>>>;
|
|
166
166
|
}, z.core.$strip>>;
|
|
167
|
+
gguf: z.ZodOptional<z.ZodObject<{
|
|
168
|
+
url: z.ZodString;
|
|
169
|
+
sizeMB: z.ZodNumber;
|
|
170
|
+
isDirectory: z.ZodOptional<z.ZodBoolean>;
|
|
171
|
+
files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
172
|
+
runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
173
|
+
node: "node";
|
|
174
|
+
python: "python";
|
|
175
|
+
}>>>>;
|
|
176
|
+
}, z.core.$strip>>;
|
|
167
177
|
}, z.core.$strip>;
|
|
168
178
|
inputSize: z.ZodObject<{
|
|
169
179
|
width: z.ZodNumber;
|
|
@@ -222,6 +232,7 @@ export declare const modelConvertCapability: {
|
|
|
222
232
|
openvino: "openvino";
|
|
223
233
|
tflite: "tflite";
|
|
224
234
|
pt: "pt";
|
|
235
|
+
gguf: "gguf";
|
|
225
236
|
}>;
|
|
226
237
|
precision: z.ZodOptional<z.ZodEnum<{
|
|
227
238
|
int8: "int8";
|
|
@@ -19,6 +19,7 @@ export declare const ModelDistributeInputSchema: z.ZodObject<{
|
|
|
19
19
|
openvino: "openvino";
|
|
20
20
|
tflite: "tflite";
|
|
21
21
|
pt: "pt";
|
|
22
|
+
gguf: "gguf";
|
|
22
23
|
}>;
|
|
23
24
|
entry: z.ZodObject<{
|
|
24
25
|
id: z.ZodString;
|
|
@@ -75,6 +76,16 @@ export declare const ModelDistributeInputSchema: z.ZodObject<{
|
|
|
75
76
|
python: "python";
|
|
76
77
|
}>>>>;
|
|
77
78
|
}, z.core.$strip>>;
|
|
79
|
+
gguf: z.ZodOptional<z.ZodObject<{
|
|
80
|
+
url: z.ZodString;
|
|
81
|
+
sizeMB: z.ZodNumber;
|
|
82
|
+
isDirectory: z.ZodOptional<z.ZodBoolean>;
|
|
83
|
+
files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
84
|
+
runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
85
|
+
node: "node";
|
|
86
|
+
python: "python";
|
|
87
|
+
}>>>>;
|
|
88
|
+
}, z.core.$strip>>;
|
|
78
89
|
}, z.core.$strip>;
|
|
79
90
|
inputSize: z.ZodObject<{
|
|
80
91
|
width: z.ZodNumber;
|
|
@@ -148,6 +159,7 @@ export declare const modelDistributorCapability: {
|
|
|
148
159
|
openvino: "openvino";
|
|
149
160
|
tflite: "tflite";
|
|
150
161
|
pt: "pt";
|
|
162
|
+
gguf: "gguf";
|
|
151
163
|
}>;
|
|
152
164
|
entry: z.ZodObject<{
|
|
153
165
|
id: z.ZodString;
|
|
@@ -204,6 +216,16 @@ export declare const modelDistributorCapability: {
|
|
|
204
216
|
python: "python";
|
|
205
217
|
}>>>>;
|
|
206
218
|
}, z.core.$strip>>;
|
|
219
|
+
gguf: z.ZodOptional<z.ZodObject<{
|
|
220
|
+
url: z.ZodString;
|
|
221
|
+
sizeMB: z.ZodNumber;
|
|
222
|
+
isDirectory: z.ZodOptional<z.ZodBoolean>;
|
|
223
|
+
files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
224
|
+
runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
225
|
+
node: "node";
|
|
226
|
+
python: "python";
|
|
227
|
+
}>>>>;
|
|
228
|
+
}, z.core.$strip>>;
|
|
207
229
|
}, z.core.$strip>;
|
|
208
230
|
inputSize: z.ZodObject<{
|
|
209
231
|
width: z.ZodNumber;
|
|
@@ -73,6 +73,7 @@ declare const TrackSchema: z.ZodObject<{
|
|
|
73
73
|
mediaKey: z.ZodString;
|
|
74
74
|
}, z.core.$strip>>>;
|
|
75
75
|
zonesVisited: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
76
|
+
classes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
76
77
|
totalDistance: z.ZodNumber;
|
|
77
78
|
state: z.ZodEnum<{
|
|
78
79
|
moving: "moving";
|
|
@@ -271,6 +272,15 @@ export declare const ScoredObjectEventSchema: z.ZodObject<{
|
|
|
271
272
|
score: z.ZodNumber;
|
|
272
273
|
}, z.core.$strip>;
|
|
273
274
|
export type ScoredObjectEvent = z.infer<typeof ScoredObjectEventSchema>;
|
|
275
|
+
declare const TrackCascadeCountsSchema: z.ZodObject<{
|
|
276
|
+
tracks: z.ZodNumber;
|
|
277
|
+
events: z.ZodNumber;
|
|
278
|
+
media: z.ZodNumber;
|
|
279
|
+
faces: z.ZodNumber;
|
|
280
|
+
plates: z.ZodNumber;
|
|
281
|
+
embeddings: z.ZodNumber;
|
|
282
|
+
}, z.core.$strip>;
|
|
283
|
+
export type TrackCascadeCounts = z.infer<typeof TrackCascadeCountsSchema>;
|
|
274
284
|
export declare const pipelineAnalyticsCapability: {
|
|
275
285
|
readonly name: "pipeline-analytics";
|
|
276
286
|
readonly scope: "device";
|
|
@@ -316,6 +326,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
316
326
|
mediaKey: z.ZodString;
|
|
317
327
|
}, z.core.$strip>>>;
|
|
318
328
|
zonesVisited: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
329
|
+
classes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
319
330
|
totalDistance: z.ZodNumber;
|
|
320
331
|
state: z.ZodEnum<{
|
|
321
332
|
moving: "moving";
|
|
@@ -366,6 +377,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
366
377
|
mediaKey: z.ZodString;
|
|
367
378
|
}, z.core.$strip>>>;
|
|
368
379
|
zonesVisited: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
380
|
+
classes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
369
381
|
totalDistance: z.ZodNumber;
|
|
370
382
|
state: z.ZodEnum<{
|
|
371
383
|
moving: "moving";
|
|
@@ -421,6 +433,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
421
433
|
mediaKey: z.ZodString;
|
|
422
434
|
}, z.core.$strip>>>;
|
|
423
435
|
zonesVisited: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
436
|
+
classes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
424
437
|
totalDistance: z.ZodNumber;
|
|
425
438
|
state: z.ZodEnum<{
|
|
426
439
|
moving: "moving";
|
|
@@ -573,12 +586,14 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
573
586
|
audio: z.ZodNumber;
|
|
574
587
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
575
588
|
/**
|
|
576
|
-
*
|
|
577
|
-
*
|
|
578
|
-
*
|
|
579
|
-
*
|
|
580
|
-
*
|
|
581
|
-
*
|
|
589
|
+
* @deprecated Prefer `pruneTracksBefore` — the track is the ROOT of the
|
|
590
|
+
* analytics model and retention must cascade from it (design §5.1). This
|
|
591
|
+
* event-only prune leaves orphaned tracks/faces/plates/embeddings behind.
|
|
592
|
+
* Retained as a compat shim for the Phase-B3 recorder orchestration caller,
|
|
593
|
+
* which prunes events to keep history aligned with available footage and
|
|
594
|
+
* reads the per-kind counts. Delete all events (motion + object + audio)
|
|
595
|
+
* for the given device older than `cutoffMs` (exclusive) + their thumbnails
|
|
596
|
+
* in lockstep; returns per-kind deleted counts.
|
|
582
597
|
*/
|
|
583
598
|
readonly pruneEventsBefore: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
584
599
|
deviceId: z.ZodNumber;
|
|
@@ -588,6 +603,62 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
588
603
|
object: z.ZodNumber;
|
|
589
604
|
audio: z.ZodNumber;
|
|
590
605
|
}, z.core.$strip>, "mutation">;
|
|
606
|
+
/**
|
|
607
|
+
* Track-centric retention entry point (design §5.1). Selects every
|
|
608
|
+
* persisted track for the device whose `lastSeen < cutoffMs` (paged) and
|
|
609
|
+
* runs the extensible whole-track deletion cascade (design §3): object
|
|
610
|
+
* events + their media, track/face/plate-owned media, unassigned face
|
|
611
|
+
* reads, per-track CLIP embeddings, then the track root LAST. ENROLLED
|
|
612
|
+
* (assigned) faces/plates and `ownerKind:'identity'` media are exempt —
|
|
613
|
+
* the durable matching gallery always persists. Fires the per-track
|
|
614
|
+
* live-state cleanup so a pruned track can't linger in dispatch/overlay
|
|
615
|
+
* state. Returns per-family deleted counts (`tracks` authoritative).
|
|
616
|
+
*
|
|
617
|
+
* Replaces `pruneEventsBefore` as the correct time-based retention prune.
|
|
618
|
+
*/
|
|
619
|
+
readonly pruneTracksBefore: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
620
|
+
deviceId: z.ZodNumber;
|
|
621
|
+
cutoffMs: z.ZodNumber;
|
|
622
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
623
|
+
tracks: z.ZodNumber;
|
|
624
|
+
events: z.ZodNumber;
|
|
625
|
+
media: z.ZodNumber;
|
|
626
|
+
faces: z.ZodNumber;
|
|
627
|
+
plates: z.ZodNumber;
|
|
628
|
+
embeddings: z.ZodNumber;
|
|
629
|
+
}, z.core.$strip>, "mutation">;
|
|
630
|
+
/**
|
|
631
|
+
* Operator "clean slate" for a device (design §5.3): prune EVERY track for
|
|
632
|
+
* the device via the same cascade as `pruneTracksBefore` with `cutoffMs =
|
|
633
|
+
* now`. One call per device — no client-side track enumeration. Enrolled
|
|
634
|
+
* gallery + identity media are exempt (design §4). Returns per-family
|
|
635
|
+
* deleted counts.
|
|
636
|
+
*/
|
|
637
|
+
readonly wipeAllAnalytics: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
638
|
+
deviceId: z.ZodNumber;
|
|
639
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
640
|
+
tracks: z.ZodNumber;
|
|
641
|
+
events: z.ZodNumber;
|
|
642
|
+
media: z.ZodNumber;
|
|
643
|
+
faces: z.ZodNumber;
|
|
644
|
+
plates: z.ZodNumber;
|
|
645
|
+
embeddings: z.ZodNumber;
|
|
646
|
+
}, z.core.$strip>, "mutation">;
|
|
647
|
+
/**
|
|
648
|
+
* Delete whole tracks (object events) by id for the given device,
|
|
649
|
+
* cascading their media in lockstep. Returns the number of tracks
|
|
650
|
+
* actually deleted plus the ids that could not be removed.
|
|
651
|
+
*
|
|
652
|
+
* Operator-driven from the DI Events page (batch delete). Routes through
|
|
653
|
+
* the same widened track-deletion cascade (design §5.2).
|
|
654
|
+
*/
|
|
655
|
+
readonly deleteTracks: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
656
|
+
deviceId: z.ZodNumber;
|
|
657
|
+
trackIds: z.ZodArray<z.ZodString>;
|
|
658
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
659
|
+
deleted: z.ZodNumber;
|
|
660
|
+
failed: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
661
|
+
}, z.core.$strip>, "mutation">;
|
|
591
662
|
readonly getEventMedia: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
592
663
|
eventId: z.ZodString;
|
|
593
664
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
@@ -695,10 +766,12 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
695
766
|
};
|
|
696
767
|
readonly events: {
|
|
697
768
|
/**
|
|
698
|
-
* Enriched frame emitted after refinement
|
|
699
|
-
*
|
|
700
|
-
*
|
|
701
|
-
*
|
|
769
|
+
* Enriched frame emitted after refinement — the live-overlay source of
|
|
770
|
+
* truth (two-plane re-injection). Carries the frame's detections in the
|
|
771
|
+
* `ObjectDetection` wire shape: first-level roots (with track info +
|
|
772
|
+
* enrichment labels) plus synthesized `kind:'detail'` face/plate entries
|
|
773
|
+
* re-projected from per-track detail state, so stream overlays render
|
|
774
|
+
* boxes + recognized names without querying full Track state.
|
|
702
775
|
*/
|
|
703
776
|
readonly onFrameTracked: {
|
|
704
777
|
readonly data: z.ZodObject<{
|
|
@@ -707,24 +780,25 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
707
780
|
frameWidth: z.ZodNumber;
|
|
708
781
|
frameHeight: z.ZodNumber;
|
|
709
782
|
detections: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
783
|
+
id: z.ZodString;
|
|
784
|
+
kind: z.ZodEnum<{
|
|
785
|
+
"first-level": "first-level";
|
|
786
|
+
detail: "detail";
|
|
787
|
+
}>;
|
|
788
|
+
macroClass: z.ZodString;
|
|
789
|
+
score: z.ZodNumber;
|
|
713
790
|
bbox: z.ZodObject<{
|
|
714
791
|
x: z.ZodNumber;
|
|
715
792
|
y: z.ZodNumber;
|
|
716
|
-
|
|
717
|
-
|
|
793
|
+
width: z.ZodNumber;
|
|
794
|
+
height: z.ZodNumber;
|
|
718
795
|
}, z.core.$strip>;
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
entered: "entered";
|
|
726
|
-
}>;
|
|
727
|
-
}, z.core.$strip>>>;
|
|
796
|
+
labels: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
797
|
+
label: z.ZodString;
|
|
798
|
+
score: z.ZodNumber;
|
|
799
|
+
}, z.core.$loose>>>;
|
|
800
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
801
|
+
}, z.core.$loose>>>;
|
|
728
802
|
}, z.core.$strip>;
|
|
729
803
|
};
|
|
730
804
|
/** Track entered active state (first-seen). */
|
|
@@ -760,4 +834,6 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
760
834
|
};
|
|
761
835
|
};
|
|
762
836
|
export type IPipelineAnalyticsProvider = InferProvider<typeof pipelineAnalyticsCapability>;
|
|
763
|
-
export { TrackStateSchema, EventKindSchema, TrackSchema, KeyEventSchema, MotionEventSchema, ObjectEventSchema, AudioEventSchema, MediaFileKindEnum, MediaFileSchema,
|
|
837
|
+
export { TrackStateSchema, EventKindSchema, TrackSchema, TrackCascadeCountsSchema, KeyEventSchema, MotionEventSchema, ObjectEventSchema, AudioEventSchema, MediaFileKindEnum, MediaFileSchema,
|
|
838
|
+
/** No longer carried on onFrameTracked (two-plane re-injection) — kept for compat. */
|
|
839
|
+
TrackedDetectionSchema, };
|
|
@@ -16,6 +16,7 @@ declare const PipelineEngineChoiceSchema: z.ZodObject<{
|
|
|
16
16
|
openvino: "openvino";
|
|
17
17
|
tflite: "tflite";
|
|
18
18
|
pt: "pt";
|
|
19
|
+
gguf: "gguf";
|
|
19
20
|
}>;
|
|
20
21
|
device: z.ZodOptional<z.ZodString>;
|
|
21
22
|
}, z.core.$strip>;
|
|
@@ -37,6 +38,7 @@ declare const AvailableEngineSchema: z.ZodObject<{
|
|
|
37
38
|
openvino: "openvino";
|
|
38
39
|
tflite: "tflite";
|
|
39
40
|
pt: "pt";
|
|
41
|
+
gguf: "gguf";
|
|
40
42
|
}>;
|
|
41
43
|
device: z.ZodOptional<z.ZodString>;
|
|
42
44
|
}, z.core.$strip>;
|
|
@@ -85,6 +87,7 @@ declare const PipelineTemplateSchema: z.ZodObject<{
|
|
|
85
87
|
openvino: "openvino";
|
|
86
88
|
tflite: "tflite";
|
|
87
89
|
pt: "pt";
|
|
90
|
+
gguf: "gguf";
|
|
88
91
|
}>;
|
|
89
92
|
device: z.ZodOptional<z.ZodString>;
|
|
90
93
|
}, z.core.$strip>;
|
|
@@ -242,6 +245,7 @@ declare const PipelineSchemaSchema: z.ZodObject<{
|
|
|
242
245
|
openvino: "openvino";
|
|
243
246
|
tflite: "tflite";
|
|
244
247
|
pt: "pt";
|
|
248
|
+
gguf: "gguf";
|
|
245
249
|
}>;
|
|
246
250
|
device: z.ZodOptional<z.ZodString>;
|
|
247
251
|
}, z.core.$strip>;
|
|
@@ -264,6 +268,7 @@ declare const PipelineSchemaSchema: z.ZodObject<{
|
|
|
264
268
|
openvino: "openvino";
|
|
265
269
|
tflite: "tflite";
|
|
266
270
|
pt: "pt";
|
|
271
|
+
gguf: "gguf";
|
|
267
272
|
}>;
|
|
268
273
|
device: z.ZodOptional<z.ZodString>;
|
|
269
274
|
}, z.core.$strip>;
|
|
@@ -427,6 +432,7 @@ export declare const pipelineExecutorCapability: {
|
|
|
427
432
|
openvino: "openvino";
|
|
428
433
|
tflite: "tflite";
|
|
429
434
|
pt: "pt";
|
|
435
|
+
gguf: "gguf";
|
|
430
436
|
}>;
|
|
431
437
|
device: z.ZodOptional<z.ZodString>;
|
|
432
438
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -442,6 +448,7 @@ export declare const pipelineExecutorCapability: {
|
|
|
442
448
|
openvino: "openvino";
|
|
443
449
|
tflite: "tflite";
|
|
444
450
|
pt: "pt";
|
|
451
|
+
gguf: "gguf";
|
|
445
452
|
}>;
|
|
446
453
|
device: z.ZodOptional<z.ZodString>;
|
|
447
454
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -457,6 +464,7 @@ export declare const pipelineExecutorCapability: {
|
|
|
457
464
|
openvino: "openvino";
|
|
458
465
|
tflite: "tflite";
|
|
459
466
|
pt: "pt";
|
|
467
|
+
gguf: "gguf";
|
|
460
468
|
}>;
|
|
461
469
|
device: z.ZodOptional<z.ZodString>;
|
|
462
470
|
}, z.core.$strip>, z.ZodArray<z.ZodType<PipelineDefaultStepOutput, unknown, z.core.$ZodTypeInternals<PipelineDefaultStepOutput, unknown>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -482,6 +490,7 @@ export declare const pipelineExecutorCapability: {
|
|
|
482
490
|
openvino: "openvino";
|
|
483
491
|
tflite: "tflite";
|
|
484
492
|
pt: "pt";
|
|
493
|
+
gguf: "gguf";
|
|
485
494
|
}>;
|
|
486
495
|
device: z.ZodOptional<z.ZodString>;
|
|
487
496
|
}, z.core.$strip>, "mutation">;
|
|
@@ -561,6 +570,7 @@ export declare const pipelineExecutorCapability: {
|
|
|
561
570
|
openvino: "openvino";
|
|
562
571
|
tflite: "tflite";
|
|
563
572
|
pt: "pt";
|
|
573
|
+
gguf: "gguf";
|
|
564
574
|
}>;
|
|
565
575
|
device: z.ZodOptional<z.ZodString>;
|
|
566
576
|
}, z.core.$strip>;
|
|
@@ -583,6 +593,7 @@ export declare const pipelineExecutorCapability: {
|
|
|
583
593
|
openvino: "openvino";
|
|
584
594
|
tflite: "tflite";
|
|
585
595
|
pt: "pt";
|
|
596
|
+
gguf: "gguf";
|
|
586
597
|
}>;
|
|
587
598
|
device: z.ZodOptional<z.ZodString>;
|
|
588
599
|
}, z.core.$strip>;
|
|
@@ -706,6 +717,7 @@ export declare const pipelineExecutorCapability: {
|
|
|
706
717
|
openvino: "openvino";
|
|
707
718
|
tflite: "tflite";
|
|
708
719
|
pt: "pt";
|
|
720
|
+
gguf: "gguf";
|
|
709
721
|
}>;
|
|
710
722
|
device: z.ZodOptional<z.ZodString>;
|
|
711
723
|
}, z.core.$strip>;
|
|
@@ -726,6 +738,7 @@ export declare const pipelineExecutorCapability: {
|
|
|
726
738
|
openvino: "openvino";
|
|
727
739
|
tflite: "tflite";
|
|
728
740
|
pt: "pt";
|
|
741
|
+
gguf: "gguf";
|
|
729
742
|
}>;
|
|
730
743
|
device: z.ZodOptional<z.ZodString>;
|
|
731
744
|
}, z.core.$strip>;
|
|
@@ -746,6 +759,7 @@ export declare const pipelineExecutorCapability: {
|
|
|
746
759
|
openvino: "openvino";
|
|
747
760
|
tflite: "tflite";
|
|
748
761
|
pt: "pt";
|
|
762
|
+
gguf: "gguf";
|
|
749
763
|
}>;
|
|
750
764
|
device: z.ZodOptional<z.ZodString>;
|
|
751
765
|
}, z.core.$strip>;
|
|
@@ -772,6 +786,7 @@ export declare const pipelineExecutorCapability: {
|
|
|
772
786
|
openvino: "openvino";
|
|
773
787
|
tflite: "tflite";
|
|
774
788
|
pt: "pt";
|
|
789
|
+
gguf: "gguf";
|
|
775
790
|
}>;
|
|
776
791
|
device: z.ZodOptional<z.ZodString>;
|
|
777
792
|
}, z.core.$strip>;
|
|
@@ -793,6 +808,7 @@ export declare const pipelineExecutorCapability: {
|
|
|
793
808
|
openvino: "openvino";
|
|
794
809
|
tflite: "tflite";
|
|
795
810
|
pt: "pt";
|
|
811
|
+
gguf: "gguf";
|
|
796
812
|
}>;
|
|
797
813
|
}, z.core.$strip>, z.ZodObject<{
|
|
798
814
|
filePath: z.ZodString;
|
|
@@ -808,6 +824,7 @@ export declare const pipelineExecutorCapability: {
|
|
|
808
824
|
openvino: "openvino";
|
|
809
825
|
tflite: "tflite";
|
|
810
826
|
pt: "pt";
|
|
827
|
+
gguf: "gguf";
|
|
811
828
|
}>;
|
|
812
829
|
}, z.core.$strip>, z.ZodObject<{
|
|
813
830
|
success: z.ZodLiteral<true>;
|
|
@@ -851,6 +868,7 @@ export declare const pipelineExecutorCapability: {
|
|
|
851
868
|
openvino: "openvino";
|
|
852
869
|
tflite: "tflite";
|
|
853
870
|
pt: "pt";
|
|
871
|
+
gguf: "gguf";
|
|
854
872
|
}>;
|
|
855
873
|
device: z.ZodOptional<z.ZodString>;
|
|
856
874
|
}, z.core.$strip>>;
|
|
@@ -920,6 +938,7 @@ export declare const pipelineExecutorCapability: {
|
|
|
920
938
|
openvino: "openvino";
|
|
921
939
|
tflite: "tflite";
|
|
922
940
|
pt: "pt";
|
|
941
|
+
gguf: "gguf";
|
|
923
942
|
}>;
|
|
924
943
|
device: z.ZodOptional<z.ZodString>;
|
|
925
944
|
}, z.core.$strip>>;
|
|
@@ -1003,6 +1022,7 @@ export declare const pipelineExecutorCapability: {
|
|
|
1003
1022
|
openvino: "openvino";
|
|
1004
1023
|
tflite: "tflite";
|
|
1005
1024
|
pt: "pt";
|
|
1025
|
+
gguf: "gguf";
|
|
1006
1026
|
}>;
|
|
1007
1027
|
device: z.ZodOptional<z.ZodString>;
|
|
1008
1028
|
}, z.core.$strip>;
|
|
@@ -1030,6 +1050,7 @@ export declare const pipelineExecutorCapability: {
|
|
|
1030
1050
|
openvino: "openvino";
|
|
1031
1051
|
tflite: "tflite";
|
|
1032
1052
|
pt: "pt";
|
|
1053
|
+
gguf: "gguf";
|
|
1033
1054
|
}>;
|
|
1034
1055
|
device: z.ZodOptional<z.ZodString>;
|
|
1035
1056
|
}, z.core.$strip>;
|
|
@@ -1054,6 +1075,7 @@ export declare const pipelineExecutorCapability: {
|
|
|
1054
1075
|
openvino: "openvino";
|
|
1055
1076
|
tflite: "tflite";
|
|
1056
1077
|
pt: "pt";
|
|
1078
|
+
gguf: "gguf";
|
|
1057
1079
|
}>;
|
|
1058
1080
|
device: z.ZodOptional<z.ZodString>;
|
|
1059
1081
|
}, z.core.$strip>;
|
|
@@ -13,6 +13,7 @@ declare const CameraPipelineConfigSchema: z.ZodObject<{
|
|
|
13
13
|
openvino: "openvino";
|
|
14
14
|
tflite: "tflite";
|
|
15
15
|
pt: "pt";
|
|
16
|
+
gguf: "gguf";
|
|
16
17
|
}>;
|
|
17
18
|
device: z.ZodOptional<z.ZodString>;
|
|
18
19
|
}, z.core.$strip>>;
|
|
@@ -30,6 +31,7 @@ declare const CameraPipelineConfigSchema: z.ZodObject<{
|
|
|
30
31
|
openvino: "openvino";
|
|
31
32
|
tflite: "tflite";
|
|
32
33
|
pt: "pt";
|
|
34
|
+
gguf: "gguf";
|
|
33
35
|
}>;
|
|
34
36
|
device: z.ZodOptional<z.ZodString>;
|
|
35
37
|
}, z.core.$strip>>;
|
|
@@ -55,6 +57,7 @@ declare const PipelineTemplateSchema: z.ZodObject<{
|
|
|
55
57
|
openvino: "openvino";
|
|
56
58
|
tflite: "tflite";
|
|
57
59
|
pt: "pt";
|
|
60
|
+
gguf: "gguf";
|
|
58
61
|
}>;
|
|
59
62
|
device: z.ZodOptional<z.ZodString>;
|
|
60
63
|
}, z.core.$strip>>;
|
|
@@ -72,6 +75,7 @@ declare const PipelineTemplateSchema: z.ZodObject<{
|
|
|
72
75
|
openvino: "openvino";
|
|
73
76
|
tflite: "tflite";
|
|
74
77
|
pt: "pt";
|
|
78
|
+
gguf: "gguf";
|
|
75
79
|
}>;
|
|
76
80
|
device: z.ZodOptional<z.ZodString>;
|
|
77
81
|
}, z.core.$strip>>;
|
|
@@ -869,6 +873,7 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
869
873
|
openvino: "openvino";
|
|
870
874
|
tflite: "tflite";
|
|
871
875
|
pt: "pt";
|
|
876
|
+
gguf: "gguf";
|
|
872
877
|
}>;
|
|
873
878
|
device: z.ZodOptional<z.ZodString>;
|
|
874
879
|
}, z.core.$strip>>;
|
|
@@ -886,6 +891,7 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
886
891
|
openvino: "openvino";
|
|
887
892
|
tflite: "tflite";
|
|
888
893
|
pt: "pt";
|
|
894
|
+
gguf: "gguf";
|
|
889
895
|
}>;
|
|
890
896
|
device: z.ZodOptional<z.ZodString>;
|
|
891
897
|
}, z.core.$strip>>;
|
|
@@ -1133,6 +1139,7 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1133
1139
|
openvino: "openvino";
|
|
1134
1140
|
tflite: "tflite";
|
|
1135
1141
|
pt: "pt";
|
|
1142
|
+
gguf: "gguf";
|
|
1136
1143
|
}>;
|
|
1137
1144
|
device: z.ZodOptional<z.ZodString>;
|
|
1138
1145
|
}, z.core.$strip>>;
|
|
@@ -1150,6 +1157,7 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1150
1157
|
openvino: "openvino";
|
|
1151
1158
|
tflite: "tflite";
|
|
1152
1159
|
pt: "pt";
|
|
1160
|
+
gguf: "gguf";
|
|
1153
1161
|
}>;
|
|
1154
1162
|
device: z.ZodOptional<z.ZodString>;
|
|
1155
1163
|
}, z.core.$strip>>;
|
|
@@ -1178,6 +1186,7 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1178
1186
|
openvino: "openvino";
|
|
1179
1187
|
tflite: "tflite";
|
|
1180
1188
|
pt: "pt";
|
|
1189
|
+
gguf: "gguf";
|
|
1181
1190
|
}>;
|
|
1182
1191
|
device: z.ZodOptional<z.ZodString>;
|
|
1183
1192
|
}, z.core.$strip>>;
|
|
@@ -1195,6 +1204,7 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1195
1204
|
openvino: "openvino";
|
|
1196
1205
|
tflite: "tflite";
|
|
1197
1206
|
pt: "pt";
|
|
1207
|
+
gguf: "gguf";
|
|
1198
1208
|
}>;
|
|
1199
1209
|
device: z.ZodOptional<z.ZodString>;
|
|
1200
1210
|
}, z.core.$strip>>;
|
|
@@ -1220,6 +1230,7 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1220
1230
|
openvino: "openvino";
|
|
1221
1231
|
tflite: "tflite";
|
|
1222
1232
|
pt: "pt";
|
|
1233
|
+
gguf: "gguf";
|
|
1223
1234
|
}>;
|
|
1224
1235
|
device: z.ZodOptional<z.ZodString>;
|
|
1225
1236
|
}, z.core.$strip>>;
|
|
@@ -1237,6 +1248,7 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1237
1248
|
openvino: "openvino";
|
|
1238
1249
|
tflite: "tflite";
|
|
1239
1250
|
pt: "pt";
|
|
1251
|
+
gguf: "gguf";
|
|
1240
1252
|
}>;
|
|
1241
1253
|
device: z.ZodOptional<z.ZodString>;
|
|
1242
1254
|
}, z.core.$strip>>;
|
|
@@ -1266,6 +1278,7 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1266
1278
|
openvino: "openvino";
|
|
1267
1279
|
tflite: "tflite";
|
|
1268
1280
|
pt: "pt";
|
|
1281
|
+
gguf: "gguf";
|
|
1269
1282
|
}>;
|
|
1270
1283
|
device: z.ZodOptional<z.ZodString>;
|
|
1271
1284
|
}, z.core.$strip>>;
|
|
@@ -1283,6 +1296,7 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1283
1296
|
openvino: "openvino";
|
|
1284
1297
|
tflite: "tflite";
|
|
1285
1298
|
pt: "pt";
|
|
1299
|
+
gguf: "gguf";
|
|
1286
1300
|
}>;
|
|
1287
1301
|
device: z.ZodOptional<z.ZodString>;
|
|
1288
1302
|
}, z.core.$strip>>;
|
|
@@ -1308,6 +1322,7 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1308
1322
|
openvino: "openvino";
|
|
1309
1323
|
tflite: "tflite";
|
|
1310
1324
|
pt: "pt";
|
|
1325
|
+
gguf: "gguf";
|
|
1311
1326
|
}>;
|
|
1312
1327
|
device: z.ZodOptional<z.ZodString>;
|
|
1313
1328
|
}, z.core.$strip>>;
|
|
@@ -1325,6 +1340,7 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1325
1340
|
openvino: "openvino";
|
|
1326
1341
|
tflite: "tflite";
|
|
1327
1342
|
pt: "pt";
|
|
1343
|
+
gguf: "gguf";
|
|
1328
1344
|
}>;
|
|
1329
1345
|
device: z.ZodOptional<z.ZodString>;
|
|
1330
1346
|
}, z.core.$strip>>;
|