@camstack/addon-pipeline-orchestrator 1.1.50 → 1.1.52
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/_stub.js +2 -2
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-DV91ueig.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-DGcQ8SDI.mjs} +3 -3
- package/dist/_virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Cn896lAZ.mjs +26 -0
- package/dist/{_virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-CVV0TbM1.mjs → _virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-Cajjp7eW.mjs} +1 -1
- package/dist/{hostInit-BfznU-zL.mjs → hostInit-BIkK_qtZ.mjs} +3 -3
- package/dist/index.js +374 -18
- package/dist/index.mjs +374 -18
- package/dist/remoteEntry.js +1 -1
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CZrkMtyG.mjs +0 -26
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import fs from "node:fs";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import { fileURLToPath } from "node:url";
|
|
4
|
-
//#region ../types/dist/event-category-
|
|
4
|
+
//#region ../types/dist/event-category-D4HJq7Mw.mjs
|
|
5
5
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
6
6
|
EventCategory["SystemBoot"] = "system.boot";
|
|
7
7
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -154,6 +154,11 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
154
154
|
/** Runner-sampled scrub thumbnail (~1/5 s/camera). Telemetry (D8): a lost
|
|
155
155
|
* thumb is a scrub gap the recorder's keyframe backfill covers. */
|
|
156
156
|
EventCategory["RecordingThumbSampled"] = "recording.thumb-sampled";
|
|
157
|
+
/** Export render progress (0–100). Telemetry (D8): a lost tick is a stale
|
|
158
|
+
* progress bar the client reconciles via `recordingExport.getExport`. */
|
|
159
|
+
EventCategory["RecordingExportProgress"] = "recording.export.progress";
|
|
160
|
+
EventCategory["RecordingExportCompleted"] = "recording.export.completed";
|
|
161
|
+
EventCategory["RecordingExportFailed"] = "recording.export.failed";
|
|
157
162
|
EventCategory["DetectionEvent"] = "detection.event";
|
|
158
163
|
EventCategory["SessionTrackNew"] = "session.track.new";
|
|
159
164
|
EventCategory["SessionTrackExpired"] = "session.track.expired";
|
|
@@ -443,6 +448,25 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
443
448
|
*/
|
|
444
449
|
EventCategory["PipelineAnalyticsStationaryChanged"] = "pipeline-analytics.stationary-changed";
|
|
445
450
|
/**
|
|
451
|
+
* Fired by `addon-post-analysis` when a package-drop is confirmed inside
|
|
452
|
+
* a package zone — a newly-appeared stationary object of a package class
|
|
453
|
+
* that cleared the class / zone / dwell / size gates. Payload:
|
|
454
|
+
* `PipelineAnalyticsPackageDeliveredPayload` carrying `{ deviceId,
|
|
455
|
+
* entryId, className, zoneIds, keyFrameMediaKey?, bbox, timestamp }`.
|
|
456
|
+
* Telemetry (D8): the durable record is the `package-events` store row;
|
|
457
|
+
* this bus topic drives notifier rules + live UI. See
|
|
458
|
+
* docs/superpowers/specs/2026-07-17-package-zones-design.md §5.1.
|
|
459
|
+
*/
|
|
460
|
+
EventCategory["PipelineAnalyticsPackageDelivered"] = "pipeline-analytics.package-delivered";
|
|
461
|
+
/**
|
|
462
|
+
* Fired by `addon-post-analysis` when a previously-delivered package
|
|
463
|
+
* leaves its zone (the stationary entry departed — moved or swept).
|
|
464
|
+
* Payload: `PipelineAnalyticsPackagePickedUpPayload` carrying
|
|
465
|
+
* `{ deviceId, entryId, deliveredEventId, className, timestamp }`.
|
|
466
|
+
* Telemetry (D8). See package-zones-design §5.2.
|
|
467
|
+
*/
|
|
468
|
+
EventCategory["PipelineAnalyticsPackagePickedUp"] = "pipeline-analytics.package-picked-up";
|
|
469
|
+
/**
|
|
446
470
|
* Fired by `addon-post-analysis` whenever a gallery face row changes:
|
|
447
471
|
* `kind:'buffered'` a new detected face was persisted, `'assigned'` /
|
|
448
472
|
* `'unassigned'` its identity link changed, `'deleted'` the row was
|
|
@@ -5181,6 +5205,25 @@ function _instanceof(cls, params = {}) {
|
|
|
5181
5205
|
};
|
|
5182
5206
|
return inst;
|
|
5183
5207
|
}
|
|
5208
|
+
//#endregion
|
|
5209
|
+
//#region ../../node_modules/zod/v4/classic/compat.js
|
|
5210
|
+
/** @deprecated Use the raw string literal codes instead, e.g. "invalid_type". */
|
|
5211
|
+
var ZodIssueCode = {
|
|
5212
|
+
invalid_type: "invalid_type",
|
|
5213
|
+
too_big: "too_big",
|
|
5214
|
+
too_small: "too_small",
|
|
5215
|
+
invalid_format: "invalid_format",
|
|
5216
|
+
not_multiple_of: "not_multiple_of",
|
|
5217
|
+
unrecognized_keys: "unrecognized_keys",
|
|
5218
|
+
invalid_union: "invalid_union",
|
|
5219
|
+
invalid_key: "invalid_key",
|
|
5220
|
+
invalid_element: "invalid_element",
|
|
5221
|
+
invalid_value: "invalid_value",
|
|
5222
|
+
custom: "custom"
|
|
5223
|
+
};
|
|
5224
|
+
/** @deprecated Do not use. Stub definition, only included for zod-to-json-schema compatibility. */
|
|
5225
|
+
var ZodFirstPartyTypeKind;
|
|
5226
|
+
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5184
5227
|
Object.fromEntries([
|
|
5185
5228
|
{
|
|
5186
5229
|
id: "overview",
|
|
@@ -7766,6 +7809,62 @@ var RecordingConfigSchema = object({
|
|
|
7766
7809
|
scrubThumbnails: ScrubThumbnailPresetSchema.optional()
|
|
7767
7810
|
});
|
|
7768
7811
|
/**
|
|
7812
|
+
* Ops-log — the durable, append-only operations audit shared by the
|
|
7813
|
+
* recordings and events management surfaces.
|
|
7814
|
+
*
|
|
7815
|
+
* ONE row shape is reused for both domains so a single "Activity" view can
|
|
7816
|
+
* merge the recorder's DurableState ring (recordings ops-log) and the
|
|
7817
|
+
* pipeline-analytics SQLite collection (events ops-log). Each row records a
|
|
7818
|
+
* management operation, WHY it ran (reason), and its measurable effect
|
|
7819
|
+
* (itemsAffected + bytesReclaimed). Writes are best-effort — a failed log must
|
|
7820
|
+
* never fail the operation it records.
|
|
7821
|
+
*/
|
|
7822
|
+
/** Which management domain the operation belongs to. */
|
|
7823
|
+
var OpsLogDomainSchema = _enum(["recording", "events"]);
|
|
7824
|
+
/** The kind of management operation performed. */
|
|
7825
|
+
var OpsLogOpSchema = _enum([
|
|
7826
|
+
"prune",
|
|
7827
|
+
"manual-delete",
|
|
7828
|
+
"rescan",
|
|
7829
|
+
"retention-run"
|
|
7830
|
+
]);
|
|
7831
|
+
/** Why the operation ran. */
|
|
7832
|
+
var OpsLogReasonSchema = _enum([
|
|
7833
|
+
"retention",
|
|
7834
|
+
"quota",
|
|
7835
|
+
"manual",
|
|
7836
|
+
"operator"
|
|
7837
|
+
]);
|
|
7838
|
+
/** One audit row, shared verbatim by both domains. */
|
|
7839
|
+
var OpsLogEntrySchema = object({
|
|
7840
|
+
/** Unique row id. */
|
|
7841
|
+
id: string(),
|
|
7842
|
+
/** Epoch ms the operation completed. */
|
|
7843
|
+
at: number(),
|
|
7844
|
+
domain: OpsLogDomainSchema,
|
|
7845
|
+
op: OpsLogOpSchema,
|
|
7846
|
+
reason: OpsLogReasonSchema,
|
|
7847
|
+
/** The camera the op targeted; null for a cluster/global op. */
|
|
7848
|
+
deviceId: number().nullable(),
|
|
7849
|
+
/** Node that performed the op (the log carries nodeId — no cross-node aggregation). */
|
|
7850
|
+
nodeId: string(),
|
|
7851
|
+
/** Buckets / rows deleted (op-specific unit). */
|
|
7852
|
+
itemsAffected: number(),
|
|
7853
|
+
/** Bytes reclaimed by the op (0 when not measurable). */
|
|
7854
|
+
bytesReclaimed: number(),
|
|
7855
|
+
/** Free-text detail (e.g. "floor moved to <ts>"); null when none. */
|
|
7856
|
+
detail: string().nullable(),
|
|
7857
|
+
/** Who/what triggered the op. */
|
|
7858
|
+
actor: string()
|
|
7859
|
+
});
|
|
7860
|
+
/** Shared query input for the per-domain `listOpsLog` cap methods. */
|
|
7861
|
+
var OpsLogQueryInputSchema = object({
|
|
7862
|
+
/** Restrict to a single camera; omit for every row. */
|
|
7863
|
+
deviceId: number().optional(),
|
|
7864
|
+
/** Max rows returned, newest-first. */
|
|
7865
|
+
limit: number().int().min(1).max(1e3).optional()
|
|
7866
|
+
});
|
|
7867
|
+
/**
|
|
7769
7868
|
* `StorageLocationType` — an addon-declared id that identifies the *kind* of
|
|
7770
7869
|
* storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
|
|
7771
7870
|
* so the persisted record schema and the consumer-facing cap can both consume it
|
|
@@ -13396,7 +13495,11 @@ array(ZoneRuleSchema).readonly();
|
|
|
13396
13495
|
* Extend the enum here when a new gating consumer comes online (audio
|
|
13397
13496
|
* gating, alert filtering, …) — no other surface needs to change.
|
|
13398
13497
|
*/
|
|
13399
|
-
var ZoneRuleStageEnum = _enum([
|
|
13498
|
+
var ZoneRuleStageEnum = _enum([
|
|
13499
|
+
"motion",
|
|
13500
|
+
"detection",
|
|
13501
|
+
"package"
|
|
13502
|
+
]);
|
|
13400
13503
|
/**
|
|
13401
13504
|
* Zone rules capability — per-camera CRUD over the {@link ZoneRule}
|
|
13402
13505
|
* arrays that decide how each pipeline stage uses the polygon zones.
|
|
@@ -13440,16 +13543,25 @@ var zoneRulesCapability = {
|
|
|
13440
13543
|
})
|
|
13441
13544
|
},
|
|
13442
13545
|
/**
|
|
13443
|
-
* Runtime-state slice —
|
|
13546
|
+
* Runtime-state slice — every stage mirrored together so consumers
|
|
13444
13547
|
* see one reactive handle (`device.state.zoneRules.value`) instead
|
|
13445
|
-
* of
|
|
13446
|
-
* `{motion, detection}` shape, so subscribers always get the
|
|
13548
|
+
* of one per stage. Bulk-replace mutations on any stage write the full
|
|
13549
|
+
* `{motion, detection, package}` shape, so subscribers always get the
|
|
13447
13550
|
* complete current set. Consumers that only care about one stage
|
|
13448
13551
|
* just read the matching property.
|
|
13552
|
+
*
|
|
13553
|
+
* `package` backs the package-drop detector — a package zone is a
|
|
13554
|
+
* `ZoneRule` on the `'package'` stage referencing drawn polygons
|
|
13555
|
+
* (see docs/superpowers/specs/2026-07-17-package-zones-design.md §3.1).
|
|
13556
|
+
* The orchestrator provider writes this stage as a first-class slice
|
|
13557
|
+
* (Phase 4): every mutation mirrors the full `{motion, detection,
|
|
13558
|
+
* package}` shape, so consumers read the current package rules directly
|
|
13559
|
+
* off `device.state.zoneRules.value.package`.
|
|
13449
13560
|
*/
|
|
13450
13561
|
runtimeState: object({
|
|
13451
13562
|
motion: array(ZoneRuleSchema).readonly(),
|
|
13452
|
-
detection: array(ZoneRuleSchema).readonly()
|
|
13563
|
+
detection: array(ZoneRuleSchema).readonly(),
|
|
13564
|
+
package: array(ZoneRuleSchema).readonly()
|
|
13453
13565
|
})
|
|
13454
13566
|
};
|
|
13455
13567
|
var ProviderStatusSchema = object({
|
|
@@ -16698,6 +16810,7 @@ var EventKindIconSchema = _enum([
|
|
|
16698
16810
|
"smoke",
|
|
16699
16811
|
"water",
|
|
16700
16812
|
"button",
|
|
16813
|
+
"package",
|
|
16701
16814
|
"generic"
|
|
16702
16815
|
]);
|
|
16703
16816
|
var EventKindCategorySchema = _enum([
|
|
@@ -16705,7 +16818,8 @@ var EventKindCategorySchema = _enum([
|
|
|
16705
16818
|
"audio",
|
|
16706
16819
|
"detection",
|
|
16707
16820
|
"sensor",
|
|
16708
|
-
"custom"
|
|
16821
|
+
"custom",
|
|
16822
|
+
"package"
|
|
16709
16823
|
]);
|
|
16710
16824
|
var EventKindDescriptorSchema = object({
|
|
16711
16825
|
/** Stable kind id (e.g. 'motion', 'person', 'contact'). */
|
|
@@ -17046,6 +17160,26 @@ var TrackCascadeCountsSchema = object({
|
|
|
17046
17160
|
/** Per-track CLIP search vectors removed (best-effort). */
|
|
17047
17161
|
embeddings: number().int()
|
|
17048
17162
|
});
|
|
17163
|
+
/** Event-store footprint for one camera. */
|
|
17164
|
+
var EventStoreDeviceFootprintSchema = object({
|
|
17165
|
+
deviceId: number(),
|
|
17166
|
+
/** Persisted event rows (motion + object + audio) for the camera. */
|
|
17167
|
+
rows: number().int(),
|
|
17168
|
+
/** Event-owned media bytes on disk for the camera. */
|
|
17169
|
+
bytes: number().int()
|
|
17170
|
+
});
|
|
17171
|
+
/** Aggregate event-store footprint: global totals + per-camera breakdown. */
|
|
17172
|
+
var EventStoreFootprintSchema = object({
|
|
17173
|
+
totalRows: number().int(),
|
|
17174
|
+
totalBytes: number().int(),
|
|
17175
|
+
devices: array(EventStoreDeviceFootprintSchema).readonly()
|
|
17176
|
+
});
|
|
17177
|
+
/** Per-kind counts returned by the event-prune / device-delete mutations. */
|
|
17178
|
+
var EventPruneCountsSchema = object({
|
|
17179
|
+
motion: number().int(),
|
|
17180
|
+
object: number().int(),
|
|
17181
|
+
audio: number().int()
|
|
17182
|
+
});
|
|
17049
17183
|
DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).readonly()), method(object({
|
|
17050
17184
|
deviceId: number(),
|
|
17051
17185
|
trackId: string()
|
|
@@ -17109,6 +17243,21 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
17109
17243
|
}), {
|
|
17110
17244
|
kind: "mutation",
|
|
17111
17245
|
auth: "admin"
|
|
17246
|
+
}), method(object({}), EventStoreFootprintSchema, {
|
|
17247
|
+
kind: "query",
|
|
17248
|
+
auth: "admin"
|
|
17249
|
+
}), method(object({
|
|
17250
|
+
olderThanMs: number(),
|
|
17251
|
+
reason: OpsLogReasonSchema.optional()
|
|
17252
|
+
}), EventPruneCountsSchema, {
|
|
17253
|
+
kind: "mutation",
|
|
17254
|
+
auth: "admin"
|
|
17255
|
+
}), method(object({ deviceId: number() }), EventPruneCountsSchema, {
|
|
17256
|
+
kind: "mutation",
|
|
17257
|
+
auth: "admin"
|
|
17258
|
+
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
17259
|
+
kind: "query",
|
|
17260
|
+
auth: "admin"
|
|
17112
17261
|
}), method(object({
|
|
17113
17262
|
eventId: string(),
|
|
17114
17263
|
kind: MediaFileKindEnum.optional()
|
|
@@ -20553,13 +20702,131 @@ method(object({
|
|
|
20553
20702
|
}), method(object({ deviceId: number() }), RecordingStatusSchema, {
|
|
20554
20703
|
kind: "mutation",
|
|
20555
20704
|
auth: "admin"
|
|
20556
|
-
}), method(object({
|
|
20705
|
+
}), method(object({
|
|
20706
|
+
deviceId: number(),
|
|
20707
|
+
reason: OpsLogReasonSchema.optional()
|
|
20708
|
+
}), object({
|
|
20557
20709
|
floorMs: number().nullable(),
|
|
20558
20710
|
deletedBuckets: number().int(),
|
|
20559
20711
|
reclaimedBytes: number().int()
|
|
20560
20712
|
}), {
|
|
20561
20713
|
kind: "mutation",
|
|
20562
20714
|
auth: "admin"
|
|
20715
|
+
}), method(object({
|
|
20716
|
+
deviceId: number(),
|
|
20717
|
+
fromMs: number().optional(),
|
|
20718
|
+
toMs: number().optional()
|
|
20719
|
+
}), object({
|
|
20720
|
+
deletedBuckets: number().int(),
|
|
20721
|
+
reclaimedBytes: number().int()
|
|
20722
|
+
}), {
|
|
20723
|
+
kind: "mutation",
|
|
20724
|
+
auth: "admin"
|
|
20725
|
+
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
20726
|
+
kind: "query",
|
|
20727
|
+
auth: "admin"
|
|
20728
|
+
});
|
|
20729
|
+
/**
|
|
20730
|
+
* `recordingExport` cap — render a footage time range into a single downloadable
|
|
20731
|
+
* MP4 (regular / accelerated / decelerated / timelapse, ± audio), kept for a
|
|
20732
|
+
* bounded lifetime with a durable history, auto-expiry, and optional
|
|
20733
|
+
* delete-after-download.
|
|
20734
|
+
*
|
|
20735
|
+
* Like `recording` this is a `scope:'system', mode:'singleton'` cap: the
|
|
20736
|
+
* recorder self-gates so exactly ONE node (the designated `recordingNodeId`,
|
|
20737
|
+
* default `hub`) registers it. Device-scoped methods carry `deviceId` in their
|
|
20738
|
+
* input and dispatch to that single provider; the render runs on the node that
|
|
20739
|
+
* owns the footage (no cross-node segment transfer). Download rides the
|
|
20740
|
+
* framework addon data-plane. State persists in a DurableState blob (NOT
|
|
20741
|
+
* SQLite); history rows survive file deletion for audit.
|
|
20742
|
+
*/
|
|
20743
|
+
/** Playback-speed multiplier for the render (1 = realtime). */
|
|
20744
|
+
var ExportSpeedSchema = number().min(.25).max(32);
|
|
20745
|
+
/** Timelapse cadence — sample one source frame per `everyMs`, output at `outputFps`. */
|
|
20746
|
+
var ExportTimelapseSchema = object({
|
|
20747
|
+
everyMs: number().int().positive(),
|
|
20748
|
+
outputFps: number().int().min(1).max(60).optional()
|
|
20749
|
+
});
|
|
20750
|
+
/**
|
|
20751
|
+
* Render options. `speed` and `timelapse` are mutually exclusive. `includeAudio`
|
|
20752
|
+
* is honoured only for a realtime-ish speed (0.5–2×); timelapse is always
|
|
20753
|
+
* silent. `maxLifeMs` bounds how long the finished file is kept;
|
|
20754
|
+
* `deleteAfterDownload` removes it shortly after the first complete download.
|
|
20755
|
+
*/
|
|
20756
|
+
var ExportOptionsSchema = object({
|
|
20757
|
+
speed: ExportSpeedSchema.optional(),
|
|
20758
|
+
timelapse: ExportTimelapseSchema.optional(),
|
|
20759
|
+
includeAudio: boolean(),
|
|
20760
|
+
maxLifeMs: number().int().positive(),
|
|
20761
|
+
deleteAfterDownload: boolean(),
|
|
20762
|
+
title: string().max(200).optional()
|
|
20763
|
+
}).superRefine((v, ctx) => {
|
|
20764
|
+
if (v.speed !== void 0 && v.timelapse !== void 0) ctx.addIssue({
|
|
20765
|
+
code: ZodIssueCode.custom,
|
|
20766
|
+
message: "speed and timelapse are mutually exclusive",
|
|
20767
|
+
path: ["timelapse"]
|
|
20768
|
+
});
|
|
20769
|
+
});
|
|
20770
|
+
var ExportStateSchema = _enum([
|
|
20771
|
+
"queued",
|
|
20772
|
+
"rendering",
|
|
20773
|
+
"ready",
|
|
20774
|
+
"failed",
|
|
20775
|
+
"expired",
|
|
20776
|
+
"deleted"
|
|
20777
|
+
]);
|
|
20778
|
+
/** One export job / history row. */
|
|
20779
|
+
var ExportRecordSchema = object({
|
|
20780
|
+
id: string(),
|
|
20781
|
+
deviceId: number(),
|
|
20782
|
+
profile: string(),
|
|
20783
|
+
fromMs: number(),
|
|
20784
|
+
toMs: number(),
|
|
20785
|
+
options: ExportOptionsSchema,
|
|
20786
|
+
state: ExportStateSchema,
|
|
20787
|
+
/** 0–100 while rendering; null otherwise. */
|
|
20788
|
+
progressPct: number().nullable(),
|
|
20789
|
+
/** File size once ready; null before. */
|
|
20790
|
+
fileBytes: number().nullable(),
|
|
20791
|
+
expiresAt: number(),
|
|
20792
|
+
deleteAfterDownload: boolean(),
|
|
20793
|
+
/** Epoch of the first complete download; null until then. */
|
|
20794
|
+
downloadedAt: number().nullable(),
|
|
20795
|
+
createdAt: number(),
|
|
20796
|
+
/** User id/name that requested the export. */
|
|
20797
|
+
createdBy: string(),
|
|
20798
|
+
/** Failure reason when state is 'failed'; null otherwise. */
|
|
20799
|
+
error: string().nullable()
|
|
20800
|
+
});
|
|
20801
|
+
/** Candidate download URLs (LAN first, then operator extra hosts). */
|
|
20802
|
+
var ExportDownloadSchema = object({
|
|
20803
|
+
url: string(),
|
|
20804
|
+
endpoints: array(string())
|
|
20805
|
+
});
|
|
20806
|
+
method(object({
|
|
20807
|
+
deviceId: number(),
|
|
20808
|
+
profile: string(),
|
|
20809
|
+
fromMs: number(),
|
|
20810
|
+
toMs: number(),
|
|
20811
|
+
options: ExportOptionsSchema
|
|
20812
|
+
}), ExportRecordSchema, {
|
|
20813
|
+
kind: "mutation",
|
|
20814
|
+
auth: "protected"
|
|
20815
|
+
}), method(object({ deviceId: number().optional() }), array(ExportRecordSchema), {
|
|
20816
|
+
kind: "query",
|
|
20817
|
+
auth: "protected"
|
|
20818
|
+
}), method(object({ exportId: string() }), ExportRecordSchema, {
|
|
20819
|
+
kind: "query",
|
|
20820
|
+
auth: "protected"
|
|
20821
|
+
}), method(object({ exportId: string() }), ExportRecordSchema, {
|
|
20822
|
+
kind: "mutation",
|
|
20823
|
+
auth: "protected"
|
|
20824
|
+
}), method(object({ exportId: string() }), ExportRecordSchema, {
|
|
20825
|
+
kind: "mutation",
|
|
20826
|
+
auth: "protected"
|
|
20827
|
+
}), method(object({ exportId: string() }), ExportDownloadSchema, {
|
|
20828
|
+
kind: "query",
|
|
20829
|
+
auth: "protected"
|
|
20563
20830
|
});
|
|
20564
20831
|
/**
|
|
20565
20832
|
* One publishable camera stream as its OWNING PROVIDER describes it — the same
|
|
@@ -23579,6 +23846,12 @@ Object.freeze({
|
|
|
23579
23846
|
addonId: null,
|
|
23580
23847
|
access: "delete"
|
|
23581
23848
|
},
|
|
23849
|
+
"pipelineAnalytics.deleteDeviceEvents": {
|
|
23850
|
+
capName: "pipeline-analytics",
|
|
23851
|
+
capScope: "device",
|
|
23852
|
+
addonId: null,
|
|
23853
|
+
access: "delete"
|
|
23854
|
+
},
|
|
23582
23855
|
"pipelineAnalytics.deleteTracks": {
|
|
23583
23856
|
capName: "pipeline-analytics",
|
|
23584
23857
|
capScope: "device",
|
|
@@ -23609,6 +23882,12 @@ Object.freeze({
|
|
|
23609
23882
|
addonId: null,
|
|
23610
23883
|
access: "view"
|
|
23611
23884
|
},
|
|
23885
|
+
"pipelineAnalytics.getEventStoreFootprint": {
|
|
23886
|
+
capName: "pipeline-analytics",
|
|
23887
|
+
capScope: "device",
|
|
23888
|
+
addonId: null,
|
|
23889
|
+
access: "view"
|
|
23890
|
+
},
|
|
23612
23891
|
"pipelineAnalytics.getKeyEvents": {
|
|
23613
23892
|
capName: "pipeline-analytics",
|
|
23614
23893
|
capScope: "device",
|
|
@@ -23651,6 +23930,12 @@ Object.freeze({
|
|
|
23651
23930
|
addonId: null,
|
|
23652
23931
|
access: "view"
|
|
23653
23932
|
},
|
|
23933
|
+
"pipelineAnalytics.listOpsLog": {
|
|
23934
|
+
capName: "pipeline-analytics",
|
|
23935
|
+
capScope: "device",
|
|
23936
|
+
addonId: null,
|
|
23937
|
+
access: "view"
|
|
23938
|
+
},
|
|
23654
23939
|
"pipelineAnalytics.listRecentTracks": {
|
|
23655
23940
|
capName: "pipeline-analytics",
|
|
23656
23941
|
capScope: "device",
|
|
@@ -23663,6 +23948,12 @@ Object.freeze({
|
|
|
23663
23948
|
addonId: null,
|
|
23664
23949
|
access: "view"
|
|
23665
23950
|
},
|
|
23951
|
+
"pipelineAnalytics.pruneEvents": {
|
|
23952
|
+
capName: "pipeline-analytics",
|
|
23953
|
+
capScope: "device",
|
|
23954
|
+
addonId: null,
|
|
23955
|
+
access: "create"
|
|
23956
|
+
},
|
|
23666
23957
|
"pipelineAnalytics.pruneEventsBefore": {
|
|
23667
23958
|
capName: "pipeline-analytics",
|
|
23668
23959
|
capScope: "device",
|
|
@@ -24425,6 +24716,12 @@ Object.freeze({
|
|
|
24425
24716
|
addonId: null,
|
|
24426
24717
|
access: "create"
|
|
24427
24718
|
},
|
|
24719
|
+
"recording.deleteFootprint": {
|
|
24720
|
+
capName: "recording",
|
|
24721
|
+
capScope: "system",
|
|
24722
|
+
addonId: null,
|
|
24723
|
+
access: "delete"
|
|
24724
|
+
},
|
|
24428
24725
|
"recording.getAvailability": {
|
|
24429
24726
|
capName: "recording",
|
|
24430
24727
|
capScope: "system",
|
|
@@ -24455,6 +24752,12 @@ Object.freeze({
|
|
|
24455
24752
|
addonId: null,
|
|
24456
24753
|
access: "view"
|
|
24457
24754
|
},
|
|
24755
|
+
"recording.listOpsLog": {
|
|
24756
|
+
capName: "recording",
|
|
24757
|
+
capScope: "system",
|
|
24758
|
+
addonId: null,
|
|
24759
|
+
access: "view"
|
|
24760
|
+
},
|
|
24458
24761
|
"recording.locateSegment": {
|
|
24459
24762
|
capName: "recording",
|
|
24460
24763
|
capScope: "system",
|
|
@@ -24485,6 +24788,42 @@ Object.freeze({
|
|
|
24485
24788
|
addonId: null,
|
|
24486
24789
|
access: "create"
|
|
24487
24790
|
},
|
|
24791
|
+
"recordingExport.cancelExport": {
|
|
24792
|
+
capName: "recordingExport",
|
|
24793
|
+
capScope: "system",
|
|
24794
|
+
addonId: null,
|
|
24795
|
+
access: "create"
|
|
24796
|
+
},
|
|
24797
|
+
"recordingExport.createExport": {
|
|
24798
|
+
capName: "recordingExport",
|
|
24799
|
+
capScope: "system",
|
|
24800
|
+
addonId: null,
|
|
24801
|
+
access: "create"
|
|
24802
|
+
},
|
|
24803
|
+
"recordingExport.deleteExport": {
|
|
24804
|
+
capName: "recordingExport",
|
|
24805
|
+
capScope: "system",
|
|
24806
|
+
addonId: null,
|
|
24807
|
+
access: "delete"
|
|
24808
|
+
},
|
|
24809
|
+
"recordingExport.getDownloadUrl": {
|
|
24810
|
+
capName: "recordingExport",
|
|
24811
|
+
capScope: "system",
|
|
24812
|
+
addonId: null,
|
|
24813
|
+
access: "view"
|
|
24814
|
+
},
|
|
24815
|
+
"recordingExport.getExport": {
|
|
24816
|
+
capName: "recordingExport",
|
|
24817
|
+
capScope: "system",
|
|
24818
|
+
addonId: null,
|
|
24819
|
+
access: "view"
|
|
24820
|
+
},
|
|
24821
|
+
"recordingExport.listExports": {
|
|
24822
|
+
capName: "recordingExport",
|
|
24823
|
+
capScope: "system",
|
|
24824
|
+
addonId: null,
|
|
24825
|
+
access: "view"
|
|
24826
|
+
},
|
|
24488
24827
|
"sceneMonitor.captureReference": {
|
|
24489
24828
|
capName: "scene-monitor",
|
|
24490
24829
|
capScope: "device",
|
|
@@ -32031,6 +32370,14 @@ var SessionDispatchController = class {
|
|
|
32031
32370
|
* since rules drive runtime filtering and a bad payload would silently
|
|
32032
32371
|
* widen the operator's intended scope.
|
|
32033
32372
|
*/
|
|
32373
|
+
/**
|
|
32374
|
+
* Every zone-rule stage, in the declared enum order. The unified device-state
|
|
32375
|
+
* mirror carries ONE key per stage so a single reactive handle
|
|
32376
|
+
* (`device.state.zoneRules.value`) covers every consumer. Derived from the cap
|
|
32377
|
+
* enum so a new stage (audio gating, alert filtering, …) is picked up here with
|
|
32378
|
+
* no edit — the mirror stays exhaustive over the widened discriminator.
|
|
32379
|
+
*/
|
|
32380
|
+
var ALL_STAGES = ZoneRuleStageEnum.options;
|
|
32034
32381
|
/** Settings store key for stage rules. Kept under a single nested
|
|
32035
32382
|
* object so a future stage just adds another property without
|
|
32036
32383
|
* reshuffling the schema. */
|
|
@@ -32052,7 +32399,8 @@ var RulesArraySchema = array(ZoneRuleSchema);
|
|
|
32052
32399
|
*/
|
|
32053
32400
|
var ZoneRulesBlockSchema = object({
|
|
32054
32401
|
motion: unknown().optional(),
|
|
32055
|
-
detection: unknown().optional()
|
|
32402
|
+
detection: unknown().optional(),
|
|
32403
|
+
package: unknown().optional()
|
|
32056
32404
|
}).passthrough();
|
|
32057
32405
|
var ZoneRulesProvider = class {
|
|
32058
32406
|
ctx;
|
|
@@ -32147,15 +32495,7 @@ var ZoneRulesProvider = class {
|
|
|
32147
32495
|
...prev,
|
|
32148
32496
|
[stage]: rules
|
|
32149
32497
|
}));
|
|
32150
|
-
const
|
|
32151
|
-
const otherRules = perDevice.get(otherStage) ?? await this.loadRules(deviceId, otherStage);
|
|
32152
|
-
const sliceValue = stage === "motion" ? {
|
|
32153
|
-
motion: rules,
|
|
32154
|
-
detection: otherRules
|
|
32155
|
-
} : {
|
|
32156
|
-
motion: otherRules,
|
|
32157
|
-
detection: rules
|
|
32158
|
-
};
|
|
32498
|
+
const sliceValue = await this.buildSliceValue(deviceId, perDevice);
|
|
32159
32499
|
try {
|
|
32160
32500
|
await (await this.ctx.fetchDevice(deviceId)).deviceState.setCapSlice({
|
|
32161
32501
|
capName: ZONE_RULES_CAP_NAME,
|
|
@@ -32172,6 +32512,22 @@ var ZoneRulesProvider = class {
|
|
|
32172
32512
|
}
|
|
32173
32513
|
this.ctx.onRulesChanged?.(deviceId, stage, rules);
|
|
32174
32514
|
}
|
|
32515
|
+
/**
|
|
32516
|
+
* Assemble the unified `{motion, detection, package}` mirror value from every
|
|
32517
|
+
* stage's current rules. The stage just written is already in `perDevice`;
|
|
32518
|
+
* siblings resolve from the cache when present, else a lazy store read (which
|
|
32519
|
+
* also warms the cache). Iterates {@link ALL_STAGES} so it stays exhaustive
|
|
32520
|
+
* over the cap's stage discriminator without a per-stage branch.
|
|
32521
|
+
*/
|
|
32522
|
+
async buildSliceValue(deviceId, perDevice) {
|
|
32523
|
+
const slice = {
|
|
32524
|
+
motion: [],
|
|
32525
|
+
detection: [],
|
|
32526
|
+
package: []
|
|
32527
|
+
};
|
|
32528
|
+
for (const s of ALL_STAGES) slice[s] = perDevice.get(s) ?? await this.loadRules(deviceId, s);
|
|
32529
|
+
return slice;
|
|
32530
|
+
}
|
|
32175
32531
|
};
|
|
32176
32532
|
//#endregion
|
|
32177
32533
|
//#region src/zones-provider.ts
|
package/dist/remoteEntry.js
CHANGED
|
@@ -30,7 +30,7 @@ async function d(e) {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
async function f() {
|
|
33
|
-
return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-
|
|
33
|
+
return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-DGcQ8SDI.mjs")).catch((e) => {
|
|
34
34
|
throw l = void 0, e;
|
|
35
35
|
}), l;
|
|
36
36
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-pipeline-orchestrator",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.52",
|
|
4
4
|
"description": "Hub-side camera-to-agent load balancer — tracks runner capacity and dispatches attachCamera calls to the optimal pipeline-runner instance",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
//#region \0virtual:mf:__mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js
|
|
2
|
-
var e = "__mf_init__virtual:mf:__mfe_internal__addon_pipeline_orchestrator_widgets__mf_v__runtimeInit__mf_v__.js__", t = globalThis[e];
|
|
3
|
-
if (!t) {
|
|
4
|
-
let n, r, i = new Promise((e, t) => {
|
|
5
|
-
n = e, r = t;
|
|
6
|
-
});
|
|
7
|
-
t = globalThis[e] = {
|
|
8
|
-
initPromise: i,
|
|
9
|
-
initResolve: n,
|
|
10
|
-
initReject: r
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
var n = t.initPromise, r = "__mf_module_cache__";
|
|
14
|
-
globalThis[r] ||= {
|
|
15
|
-
share: {},
|
|
16
|
-
remote: {}
|
|
17
|
-
}, globalThis[r].share ||= {}, globalThis[r].remote ||= {};
|
|
18
|
-
var i = globalThis[r], a, o, s = (e) => {
|
|
19
|
-
e.ACCESSORY_LABEL, e.ALL_CAPABILITY_DEFINITIONS, e.APPLE_SA_TO_MACRO, e.AUDIO_BACKEND_CHOICES, e.AUDIO_MACRO_LABELS, e.AccessoriesStatusSchema, e.AccessoryKind, e.AddBrokerInputSchema, e.AddonAutoUpdateSchema, e.AddonListItemSchema, e.AddonPageDeclarationSchema, e.AddonPageInfoSchema, e.AdoptionAdoptInputSchema, e.AdoptionAdoptResultSchema, e.AdoptionFilterSchema, e.AdoptionGetCandidateInputSchema, e.AdoptionListCandidatesInputSchema, e.AdoptionListCandidatesOutputSchema, e.AdoptionReleaseInputSchema, e.AdoptionStatusSchema, e.AgentLoadSummarySchema, e.AirQualitySensorStatusSchema, e.AlarmArmModeSchema, e.AlarmPanelStatusSchema, e.AlarmStateSchema, e.AlertSchema, e.AlertSeveritySchema, e.AlertSourceSchema, e.AlertStatusSchema, e.AmbientLightSensorStatusSchema, e.ApiKeyRecordSchema, e.ApiKeySummarySchema, e.ArchiveEntrySchema, e.ArchiveManifestSchema, e.AttachmentMediaTypeSchema, e.AttachmentSchema, e.AudioAnalysisResultSchema, e.AudioAnalysisSettingsSchema, e.AudioChunkInputSchema, e.AudioClassSummarySchema, e.AudioClassificationLabelSchema, e.AudioClassificationResultSchema, e.AudioCodecInfoSchema, e.AudioDecodeSessionConfigSchema, e.AudioEncodeSchema, e.AudioEncodeSessionConfigSchema, e.AudioEncodedChunkSchema, e.AudioEventSchema, e.AudioLevelSchema, e.AudioMetricsHistoryPointSchema, e.AudioMetricsHistorySchema, e.AudioMetricsSnapshotSchema, e.AudioPcmChunkSchema, e.AuthResultSchema, e.AutoUpdateSettingsSchema, e.AutomationControlStatusSchema, e.AvailableIntegrationTypeSchema, e.BACKEND_TO_FORMAT, e.BATTERY_DEVICE_PROFILE, e.BacklightModeSchema, e.BackupDestinationInfoSchema, e.BackupEntrySchema, e.BaseAddon, e.BaseDevice, e.BaseDeviceProvider, e.BatteryStatusSchema, e.BinaryStatusSchema, e.BoundingBoxSchema, e.BrightnessStatusSchema, e.BrokerAddInputSchema, e.BrokerAudioClientSchema, e.BrokerClientsSchema, e.BrokerConnectionDetailsSchema, e.BrokerConsumerAttributionSchema, e.BrokerConsumerKindSchema, e.BrokerDecodedClientSchema, e.BrokerEncodedClientSchema, e.BrokerGetStateInputSchema, e.BrokerInfoSchema, e.BrokerProviderInfoSchema, e.BrokerPublishInputSchema, e.BrokerRegistryStatusSchema, e.BrokerRtspClientSchema, e.BrokerStatsSchema, e.BrokerStatusEnum, e.BrokerStatusSchema, e.BrokerSubscribeInputSchema, e.BrokerSubscribeResultSchema, e.BrokerTestConnectionResultSchema, e.BrokerUnsubscribeInputSchema, e.CAM_PROFILE_ORDER, e.CAPABILITY_NAMES, e.CAPABILITY_ROUTER_KEYS, e.CAP_NAMES_WITH_STATUS, e.CAP_NODE_PIN_CONTEXT_KEY, e.CAP_PROVIDER_KIND_MAP, e.COCO_80_LABELS, e.COCO_TO_MACRO, e.CamProfileSchema, e.CamStreamDescriptorSchema, e.CamStreamKindSchema, e.CamStreamResolutionSchema, e.CameraAssignmentStatusSchema, e.CameraAudioStatusSchema, e.CameraBrokerProfileSchema, e.CameraBrokerStatusSchema, e.CameraCredentialsSchema, e.CameraCredentialsStatusSchema, e.CameraDecoderShmSchema, e.CameraDecoderStatusSchema, e.CameraDetectionPhaseSchema, e.CameraDetectionProvisioningSchema, e.CameraDetectionProvisioningStateSchema, e.CameraDetectionStatusSchema, e.CameraMetricsSchema, e.CameraMetricsWithDeviceIdSchema, e.CameraMotionStatusSchema, e.CameraRecordingModeSchema, e.CameraRecordingStatusSchema, e.CameraSourceStatusSchema, e.CameraSourceStreamSchema, e.CameraStatusSchema, e.CameraStreamSchema, e.CandidateQueryFilterSchema, e.CapScopeSchema, e.CapabilityBindingsSchema, e.CarbonMonoxideStatusSchema, e.ChargingStatus, e.ClientNetworkStatsSchema, e.ClimateControlStatusSchema, e.ClipPlaybackSchema, e.ClipSchema, e.ClusterAddonNodeDeploymentSchema, e.ClusterAddonStatusEntrySchema, e.CollectionColumnSchema, e.CollectionIndexSchema, e.ColorStatusSchema, e.ConfigEntrySchema, e.ConfigSectionWithValuesSchema, e.ConfigTabDeclarationSchema, e.ConnectivityStatusSchema, e.ConsumableItemSchema, e.ConsumablesStatusSchema, e.ContactStatusSchema, e.ControlKindSchema, e.ControlStatusSchema, e.ConvertArtifactSchema, e.ConvertResultSchema, e.ConvertTargetSchema, e.CoverStateSchema, e.CoverStatusSchema, e.CreateApiKeyInputSchema, e.CreateApiKeyResultSchema, e.CreateIntegrationInputSchema, e.CreateScopedTokenInputSchema, e.CreateScopedTokenResultSchema, e.CreateUserInputSchema, e.CustomActionInputSchema, e.CustomModelDescriptorSchema, e.DATAPLANE_SECRET_HEADER, e.DEFAULT_ADDON_PLACEMENT, e.DEFAULT_AUDIO_ANALYZER_CONFIG, e.DEFAULT_DECODER_HWACCEL_CONFIG, e.DEFAULT_FEATURES, e.DEFAULT_RETENTION, e.DEFAULT_SCRUB_THUMBNAIL_PRESET, e.DEVICE_CAP_NAMES, e.DEVICE_PROFILES, e.DEVICE_SETTINGS_CONTRIBUTION_METHODS, e.DEVICE_STATUS_METHOD, e.DEVICE_TYPE_INFO, e.DayNightModeSchema, e.DayNightOptionsSchema, e.DayNightSettingsPatchSchema, e.DayNightStatusSchema, e.DecodedAudioChunkSchema, e.DecodedFrameSchema, e.DecoderSessionConfigSchema, e.DecoderStatsSchema, e.DeleteIntegrationResultSchema, e.DetectionSourceSchema, e.DeviceCodeSeveritySchema, e.DeviceConfig, e.DeviceDiscoveryStatusSchema, e.DeviceExportExposeInputSchema, e.DeviceExportStatusSchema, e.DeviceExportUnexposeInputSchema, e.DeviceFeature, e.DeviceInfoSchema, e.DeviceLinkModeSchema, e.DeviceNetworkStatsSchema, e.DeviceRole, e.DeviceRuntimeState, e.DeviceStatusSchema, e.DeviceType, e.DiscoveredChildDeviceSchema, e.DiscoveredChildStatusSchema, e.DiscoveredDeviceSchema, e.DiscoveredTargetSchema, e.DisposerChain, e.DoorbellPressEventSchema, e.DoorbellStatusSchema, e.EVENT_KIND_BY_CAP, e.EVENT_PAD_MS, e.EXPRESSION_BUILTINS, e.EXPRESSION_BUILTIN_NAMES, e.EXPRESSION_COMPILE_CACHE_CAPACITY, e.EXPRESSION_IDENTIFIER_RE, e.EXPRESSION_INJECTED_NOW, e.ElementConfigStore, e.EmbeddingInfoSchema, e.EmbeddingResultSchema, e.EncodeProfileSchema, e.EncodedPacketSchema, e.EnrichedWidgetMetadataSchema, e.EnumSensorDateTimeFormatSchema, e.EnumSensorStatusSchema, e.EventCategory, e.EventEmitterStatusSchema, e.EventFireSchema, e.EventItemSchema, e.EventKindCategorySchema, e.EventKindDescriptorSchema, e.EventKindIconSchema, e.EventKindSchema, e.EventSourceType, e.ExportSetupFieldSchema, e.ExportSetupSchema, e.ExposedDeviceSchema, e.ExposureModeSchema, e.ExpressionEvalError, e.ExpressionParseError, e.FanControlStatusSchema, e.FanDirectionSchema, e.FeatureManifestSchema, e.FeatureProbeStatusSchema, e.FloodStatusSchema, e.FrameHandleFormatSchema, e.FrameHandleSchema, e.FrameInputSchema, e.GasStatusSchema, e.GetStreamWithCodecInputSchema, e.GlobalMetricsSchema, e.HF_BASE_URL, e.HF_REPO, e.HWACCEL_OPTIONS, e.HealthStatusSchema, e.HistoryPointSchema, e.HistoryResolutionEnum, e.HumidifierStatusSchema, e.HumiditySensorStatusSchema, e.HvacModeSchema, e.ImageRotateSchema, e.ImageSettingsOptionsSchema, e.ImageSettingsPatchSchema, e.ImageSettingsStatusSchema, e.ImageStatusSchema, e.IngestOwnerSchema, e.InstalledPackageSchema, e.IntegrationLiteSchema, e.IntegrationWithStateSchema, e.IntercomAbilitySchema, e.IntercomStatusSchema, e.KNOWN_CAP_NAMES, e.KeyEventSchema, e.LabelDefinitionSchema, e.LawnMowerActivitySchema, e.LawnMowerControlStatusSchema, e.LinkedDeviceSchema, e.LlmDefaultSchema, e.LlmDefaultSelectorSchema, e.LlmErrorCodeSchema, e.LlmGenerateBaseInputSchema, e.LlmGenerateErrSchema, e.LlmGenerateOkSchema, e.LlmGenerateResultSchema, e.LlmImageSchema, e.LlmNodeModelSchema, e.LlmProfileKindDescriptorSchema, e.LlmProfileKindSchema, e.LlmProfileSchema, e.LlmRuntimeCompleteInputSchema, e.LlmRuntimeDiskUsageSchema, e.LlmRuntimeNodeSchema, e.LlmRuntimeStatusSchema, e.LlmUsageRollupSchema, e.LlmUsageSchema, e.LocateSegmentResultSchema, e.LocationStatSchema, e.LockControlStatusSchema, e.LockStateSchema, e.LogEntrySchema, e.LogLevelSchema, e.LogStreamEntrySchema, e.LoginMethodContributionSchema, e.LoginStageEnum, a = e.MACRO_LABELS, e.MAX_EXPRESSION_AST_NODES, e.MAX_EXPRESSION_BINDINGS, e.MAX_EXPRESSION_CALL_ARGS, e.MAX_EXPRESSION_EVAL_STEPS, e.MAX_EXPRESSION_SOURCE_LENGTH, e.METHOD_ACCESS_MAP, e.MODEL_FORMATS, e.ManagedModelCatalogEntrySchema, e.ManagedModelRefSchema, e.ManagedRuntimeConfigSchema, e.MaskGridDimsSchema, e.MaskGridShapeSchema, e.MaskLineShapeSchema, e.MaskPointSchema, e.MaskPolygonShapeSchema, e.MaskPolygonVerticesSchema, e.MaskRectShapeSchema, e.MaskShapeKindSchema, e.MaskShapeSchema, e.MediaFileSchema, e.MediaPlayerRepeatSchema, e.MediaPlayerStateSchema, e.MediaPlayerStatusSchema, e.MeshPeerSchema, e.MeshStatusSchema, e.MethodAccessSchema, e.ModelCatalogEntrySchema, e.ModelConvertInputSchema, e.ModelConvertMetadataSchema, e.ModelDistributeInputSchema, e.ModelDistributeResultSchema, e.ModelExtraFileSchema, e.ModelFormatEntrySchema, e.ModelFormatsSchema, e.ModelSubstitutionSchema, e.ModelVariantGroupSchema, e.MotionAnalysisResultSchema, e.MotionEventSchema, e.MotionOnMotionChangedDataSchema, e.MotionRegionSchema, e.MotionSourceEnum, e.MotionSourcesSchema, e.MotionStatusSchema, e.MotionTriggerRuntimeStateSchema, e.MotionTriggerStatusSchema, e.MotionZoneOptionsSchema, e.MotionZonePatchSchema, e.MotionZoneRegionSchema, e.MotionZoneStatusSchema, e.MqttBrokerStatusSchema, e.NativeDetectionSchema, e.NativeObjectClassEnum, e.NativeObjectDetectionRuntimeStateSchema, e.NativeObjectDetectionStatusSchema, e.NetworkAccessStatusSchema, e.NetworkAddressSchema, e.NetworkEndpointSchema, e.NotificationActionSchema, e.NotificationFormatSchema, e.NotificationHistoryEntrySchema, e.NotificationRuleSchema, e.NotificationSchema, e.NotifierStatusSchema, e.NumericSensorStatusSchema, e.OauthIntegrationDescriptorSchema, e.ObjectEventSchema, e.OrchestratorMetricsSchema, e.OsdOverlayKindEnum, e.OsdOverlayPatchSchema, e.OsdOverlaySchema, e.OsdPositionEnum, e.OsdStatusSchema, e.PET_FEEDER_MANUAL_FEED_MAX, e.PET_FEEDER_MANUAL_FEED_MIN, e.PIPELINE_FLOW_CAPABILITY_NAMES, e.PIPELINE_OWNER_CAPABILITY_NAMES, e.PROVIDER_KIND_CAP_NAMES, e.PYTHON_SCRIPT, e.PackageUpdateSchema, e.PackageVersionInfoSchema, e.PasskeyLoginMethodSchema, e.PasskeySummarySchema, e.PcmSampleFormatSchema, e.PerScopeBreakdownSchema, e.PetFeederStatusSchema, e.PickStreamPreferencesSchema, e.PickStreamRequirementsSchema, e.PickedCamStreamSchema, e.PipelineAssignmentSchema, e.PipelineDefaultStepSchema, e.PipelineEngineChoiceSchema, e.PipelineRunResultBridge, e.PipelineStepInputSchema, e.PipelineValidationIssueSchema, e.PipelineValidationResultSchema, e.PlaceholderReasonSchema, e.PolygonPointSchema, e.PowerMeterStatusSchema, e.PresenceStatusSchema, e.PressureSensorStatusSchema, e.PrivacyMaskOptionsSchema, e.PrivacyMaskPatchSchema, e.PrivacyMaskRegionSchema, e.PrivacyMaskShapeSchema, e.PrivacyMaskStatusSchema, e.ProfileRtspEntrySchema, e.ProfileSlotSchema, e.ProfileSlotStatusSchema, e.ProviderStatusSchema, e.PtzAutotrackRuntimeStateSchema, e.PtzAutotrackSettingsSchema, e.PtzAutotrackStatusSchema, e.PtzAutotrackTargetOptionSchema, e.PtzMoveCommandSchema, e.PtzPositionSchema, e.PtzPresetSchema, e.PtzStatusSchema, e.QueryFilterSchema, e.REACHABILITY_FAILURES_TO_OFFLINE, e.REACHABILITY_POLL_INTERVAL_MS, e.REACHABILITY_PROBE_TIMEOUT_MS, e.RECOGNITION_TYPES, e.RESERVED_BINDING_NAMES, e.RUNTIME_DEFAULTS, e.RUNTIME_TO_FORMAT, e.RawStateResultSchema, e.ReadSegmentBytesResultSchema, e.ReadinessRegistry, e.ReadinessTimeoutError, e.RecentTracksPageSchema, e.RecentTracksQueryInput, e.RecordingAvailabilitySchema, e.RecordingBandModeSchema, e.RecordingBandSchema, e.RecordingBandTriggersSchema, e.RecordingConfigSchema, e.RecordingDaysSchema, e.RecordingDeviceUsageSchema, e.RecordingLocationUsageSchema, e.RecordingManifestSchema, e.RecordingModeSchema, e.RecordingRangeSchema, e.RecordingRetentionSchema, e.RecordingRuleSchema, e.RecordingScheduleSchema, e.RecordingStatusSchema, e.RecordingStorageModeSchema, e.RecordingStorageUsageSchema, e.RecordingTriggersSchema, e.RecordingWeekdaySchema, e.RedirectLoginMethodSchema, e.RenderedAsSchema, e.ReportMotionInputSchema, e.RingBuffer, e.RtpSourceSchema, e.RtspRestreamEntrySchema, e.RunnerCameraConfigSchema, e.RunnerCameraDeviceUIFields, e.RunnerFrameSourceSchema, e.RunnerLocalLoadSchema, e.RunnerLocalMetricsSchema, e.SCOPE_PRESETS, e.SCRUB_THUMBNAIL_PRESETS, e.SCRUB_THUMBNAIL_PRESET_LABELS, e.SCRUB_THUMBNAIL_PRESET_ORDER, e.SOURCE_INFO_METADATA_KEY, e.STREAM_PROFILE_META, e.STREAM_QUALITY_LABELS, e.SUB_DETECTION_TYPES, e.SYSTEM_CAP_NAMES, e.SceneCheckSchema, e.SceneConditionSchema, e.SceneMonitorSchema, e.SceneMonitorStateSchema, e.SceneMonitorStatusSchema, e.SceneReferenceSchema, e.ScopedTokenSchema, e.ScopedTokenSummarySchema, e.ScoredObjectEventSchema, e.ScriptRunnerStatusSchema, e.ScrubThumbnailPresetSchema, e.SearchResultSchema, e.SendEmailInputSchema, e.SendEmailResultSchema, e.SendResultSchema, e.SensorEventSchema, e.ServerBootModeSchema, e.ServerPackageStatusSchema, e.ServerRollbackInfoSchema, e.ServerUpdateActionResultSchema, e.ServerUpdateCheckResultSchema, e.ServerUpdateStateSchema, e.SettingsPatchSchema, e.SettingsRecordSchema, e.SettingsSchemaWithValuesSchema, e.SettingsUpdateResultSchema, e.ShmRingStatsSchema, e.SmokeStatusSchema, e.SmtpStatusSchema, e.SnapshotImageSchema, e.SourceInfoSchema, e.SpatialDetectionSchema, e.SsoBridgeClaimsSchema, e.StartEmbeddedInputSchema, e.StationaryObjectSchema, e.StorageAbortUploadInputSchema, e.StorageBeginDownloadInputSchema, e.StorageBeginDownloadResultSchema, e.StorageBeginUploadInputSchema, e.StorageBeginUploadResultSchema, e.StorageEndDownloadInputSchema, e.StorageFinalizeUploadInputSchema, e.StorageLocationDeclarationSchema, e.StorageLocationRefSchema, e.StorageLocationSchema, e.StorageLocationTypeSchema, e.StorageProviderInfoSchema, e.StorageReadChunkInputSchema, e.StorageTestLocationResultSchema, e.StorageWriteChunkInputSchema, e.StreamCodecSchema, e.StreamFormatSchema, e.StreamNetworkStatsSchema, e.StreamParamsOptionsSchema, e.StreamParamsStatusSchema, e.StreamProfileConfigSchema, e.StreamProfileOptionsSchema, e.StreamProfilePatchSchema, e.StreamProfileSchema, e.StreamSourceEntrySchema, e.StreamSourceSchema, e.SubscribeAudioChunksInputSchema, e.SubscribeAudioChunksResultSchema, e.SubscribeFramesInputSchema, e.SubscribeFramesResultSchema, e.SwitchStatusSchema, e.SystemMetricsSchema, e.SystemMirror, e.TIMEZONES, e.TamperStatusSchema, e.TankStatusSchema, e.TargetKindCapsSchema, e.TargetKindLevelSchema, e.TargetKindSchema, e.TargetSchema, e.TemperatureSensorStatusSchema, e.TestConnectionResultSchema, e.TestResultSchema, e.ToastSchema, e.TokenScopeSchema, e.TopologyNodeSchema, e.TopologyProcessSchema, e.TopologyServiceSchema, e.TrackCascadeCountsSchema, e.TrackEnvelopeSchema, e.TrackProjectionSchema, e.TrackSchema, e.TrackStateSchema, e.TrackZoneFilterSchema, e.TrackedDetectionSchema, e.TurnServerSchema, e.UNIT_TABLE, e.UnifiedBrokerInfoSchema, e.UnitConversionError, e.UpdateIntegrationInputSchema, e.UpdateStatusSchema, e.UpdateUserInputSchema, e.UserRecordSchema, e.UserSummarySchema, e.VacuumControlStatusSchema, e.VacuumStateSchema, e.ValveStateSchema, e.ValveStatusSchema, e.VibrationStatusSchema, e.VideoEncodeSchema, e.WELL_KNOWN_TABS, e.WELL_KNOWN_TAB_MAP, e.WaterHeaterStatusSchema, e.WeatherStatusSchema, e.WebrtcStreamChoiceSchema, e.WebrtcStreamTargetSchema, e.WhiteBalanceModeSchema, e.WidgetHostEnum, e.WidgetLoginMethodSchema, e.WidgetMetadataSchema, e.WidgetRemoteSchema, e.WidgetSizeEnum, e.YAMNET_TO_MACRO, e.ZoneKindEnum, e.ZoneRuleModeEnum, e.ZoneRuleSchema, e.ZoneRuleStageEnum, e.ZoneRulesArraySchema, e.ZoneSchema, e.ZoneScopeBreakdownSchema, e.accessoriesCapability, e.accessoryStableId, e.addonPagesCapability, e.addonPagesSourceCapability, e.addonRoutesCapability, e.addonSettingsCapability, e.addonWidgetsCapability, e.addonWidgetsSourceCapability, e.addonsCapability, e.adminUiCapability, e.advancedNotifierCapability, e.airQualitySensorCapability, e.alarmPanelCapability, e.alertsCapability, e.ambientLightSensorCapability, e.applyTransform, e.asBoolean, e.asJsonArray, e.asJsonObject, e.asNumber, e.asString, e.audioAnalysisCapability, e.audioAnalyzerCapability, e.audioCodecCapability, e.audioMetricsCapability, e.authProviderCapability, e.autoAssignProfiles, e.automationControlCapability, e.backupCapability, e.batteryCapability, e.bestLocationMatch, e.binaryCapability, e.bindAddonActions, e.brightnessCapability, e.brokerCapability, e.buildAddonRouteProvider, e.buildModelVariantGroups, e.buildStreamParamsConfigSchema, e.buttonCapability, e.cameraCredentialsCapability, e.cameraPipelineConfigCapability, e.cameraStreamsCapability, e.canConvertUnit, e.carbonMonoxideCapability, e.cellsToRects, e.classifyStream, e.classifyStreams, e.climateControlCapability, e.collectHydratedFieldEntries, e.collectHydratedFieldValues, e.colorCapability, e.compileExpression, e.compileExpressionSafe, e.connectivityCapability, e.consumablesCapability, e.contactCapability, e.controlCapability, e.convertUnit, e.cosineSimilarity, e.coverCapability, e.createDeviceProxy, e.createDurableState, e.createEvent, e.createExpressionScope, e.createLazyTrpcSource, e.createMirrorSource, e.createRuntimeStateBridge, e.createSliceHandle, e.createSystemProxy, e.customAction, e.customModelRegistryCapability, e.dayNightCapability, e.decoderCapability, e.defaultDeviceFor, e.defineCustomActions, e.describeModelVariant, e.detectionPipelineCapability, e.deviceAdoptionCapability, e.deviceCustomAction, e.deviceDiscoveryCapability, e.deviceExportCapability, e.deviceManagerCapability, e.deviceMatchesProfile, e.deviceOpsCapability, e.deviceProviderCapability, e.deviceStateCapability, e.deviceStatusCapability, e.doorbellCapability, e.embeddingEncoderCapability, e.emitDownForOwnedCaps, e.emitReadiness, e.encodeProfileFromStreamShape, e.enumSensorCapability, e.enumerateItemArrayFields, e.enumerateSchemaFields, e.errMsg, e.evaluateAst, e.evaluateLinkExpression, e.evaluateZoneRules, e.event, e.eventEmitterCapability, e.eventsCapability, e.expandCapMethods, e.extractNestedAddonId, e.extractSourceInfoFromMetadata, e.faceGalleryCapability, e.fanControlCapability, e.featureProbeCapability, e.filesystemBrowseCapability, e.findTimezone, e.floodCapability, e.formatForBackend, e.formatForRuntime, e.frameworkSwapConfirmSchema, e.frameworkSwapPackageSchema, e.gasCapability, e.getAudioMacroClassIds, e.getByPath, e.getCapsByProviderKind, e.hfModelUrl, e.htmlToText, e.humidifierCapability, e.humiditySensorCapability, e.hydrateSchema, e.imageCapability, e.imageSettingsCapability, e.integrationsCapability, e.intercomCapability, e.isAgentOnlyPlacement, e.isArrayOutputSchema, e.isCollectionArrayMethod, e.isDeployableToAgent, e.isDeviceConfigCap, e.isEvent, e.isObjectInput, e.isVoidInput, e.jobKindSchema, e.kebabToCamel, e.lawnMowerControlCapability, e.lifecycleJobSchema, e.lifecycleJobScopeSchema, e.lifecycleJobStateSchema, e.lifecycleTaskSchema, e.llmCapability, e.llmRuntimeCapability, e.localNetworkCapability, e.locationSimilarity, e.lockControlCapability, e.logDestinationCapability, e.loginMethodCapability, e.looseSchema, e.makeProfileBrokerId, e.makeSourceBrokerId, e.mapAudioLabelToMacro, e.markdownToHtmlLite, e.markdownToText, e.maskUrlCredentials, e.mediaPlayerCapability, e.mergeSourceInfo, e.meshNetworkCapability, e.method, e.metricsProviderCapability, e.migrateConfigToBands, e.modelConvertCapability, e.modelDistributorCapability, e.modelFormatForRuntime, e.motionCapability, e.motionDetectionCapability, e.motionTriggerCapability, e.motionZonesCapability, e.mqttBrokerCapability, e.nativeObjectDetectionCapability, e.networkAccessCapability, e.networkQualityCapability, e.nodePin, e.nodesCapability, e.normalizeAddonInitResult, e.normalizeUnit, e.notificationOutputCapability, e.notifierCapability, e.numericSensorCapability, e.oauthIntegrationCapability, e.objectInputDeclaresAddonId, e.osdCapability, e.parseCameraStreamConfig, e.parseExpression, e.parseJsonArray, e.parseJsonObject, e.parseJsonUnknown, e.parseProfileBrokerId, e.parseStreamParamsFormPatch, e.pendingFrameworkSwapSchema, e.petFeederCapability, e.pickPreferredRtspEntry, e.pipelineAnalyticsCapability, e.pipelineExecutorCapability, e.pipelineOrchestratorCapability, e.pipelineRunnerCapability, e.plateGalleryCapability, e.platformProbeCapability, e.powerMeterCapability, e.prepareNotification, e.presenceCapability, e.pressureSensorCapability, e.privacyMaskCapability, e.procedureAuthKey, e.ptzAutotrackCapability, e.ptzCapability, e.pythonScriptForBackend, e.readNodePin, e.readinessKey, e.rebootCapability, e.recordingCapability, e.rectsToCells, e.requiresPython, e.resolveAddonExecution, e.resolveAddonGroup, e.resolveAddonPlacement, e.resolveAddonRuntime, e.resolveCapMount, e.resolveDetectionRuntime, e.resolveDeviceProfile, e.resolveFormat, o = e.resolveHydratedFieldValue, e.resolveModelFormat, e.resolveRunnerId, e.resolveScrubThumbnailGeometry, e.resolveVariantModelId, e.runInferenceStep, e.runtimeDevices, e.sceneMonitorCapability, e.scopeKey, e.scoreRuntimes, e.scriptRunnerCapability, e.selectAssignedProfileSlots, e.serverManagementCapability, e.setByPath, e.settingsStoreCapability, e.sleep, e.sleepCancellable, e.smokeCapability, e.smtpProviderCapability, e.snapshotCapability, e.ssoBridgeCapability, e.startReachabilityPoll, e.storageCapability, e.storageEvictableCapability, e.storageProviderCapability, e.streamBrokerCapability, e.streamCatalogCapability, e.streamParamsCapability, e.streamPixels, e.streamQualityLabel, e.supportedRuntimes, e.switchCapability, e.synthesizeSourceInfo, e.systemCapability, e.tamperCapability, e.taskLogEntrySchema, e.taskPhaseSchema, e.taskTargetSchema, e.temperatureSensorCapability, e.textToHtml, e.toDeviceSummary, e.toExpressionValue, e.toStreamSourceEntry, e.toastCapability, e.tokenize, e.transcodeBody, e.tryConvertUnit, e.turnProviderCapability, e.unitDimension, e.unitsForDimension, e.updateCapability, e.userManagementCapability, e.userPasskeysCapability, e.vacuumControlCapability, e.validateExpressionSource, e.valveCapability, e.vibrationCapability, e.videoclipsCapability, e.viewerUiCapability, e.waterHeaterCapability, e.weatherCapability, e.webrtcClientHintsSchema, e.webrtcSessionCapability, e.wiringAddonHealthSchema, e.wiringHealthSnapshotSchema, e.wiringNodeHealthSchema, e.wiringProbeKindSchema, e.wiringProbeResultSchema, e.zodEntriesToConfigUI, e.zoneAnalyticsCapability, e.zoneRulesCapability, e.zonesCapability, e.default;
|
|
20
|
-
}, c = i.share["default:@camstack/types"];
|
|
21
|
-
c === void 0 ? n.then(() => {
|
|
22
|
-
if (c = i.share["default:@camstack/types"], c === void 0) throw Error("[Module Federation] Shared module @camstack/types was imported before federation bootstrap finished.");
|
|
23
|
-
s(c);
|
|
24
|
-
}) : s(c);
|
|
25
|
-
//#endregion
|
|
26
|
-
export { o as n, a as t };
|