@camstack/addon-import-alexa 0.2.101 → 0.2.102

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.
Files changed (3) hide show
  1. package/dist/addon.js +314 -12
  2. package/dist/addon.mjs +314 -12
  3. package/package.json +2 -2
package/dist/addon.js CHANGED
@@ -5399,7 +5399,7 @@ var ZodIssueCode = {
5399
5399
  var ZodFirstPartyTypeKind;
5400
5400
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5401
5401
  //#endregion
5402
- //#region ../types/dist/sleep-DEuj7E3j.mjs
5402
+ //#region ../types/dist/sleep-BDR76Ykr.mjs
5403
5403
  /**
5404
5404
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5405
5405
  * window to float samples (D455).
@@ -11786,6 +11786,21 @@ var streamSignalsCapability = {
11786
11786
  mode: "singleton",
11787
11787
  deviceTypes: Object.values(DeviceType),
11788
11788
  runtimeState: StreamSignalsStatusSchema,
11789
+ /**
11790
+ * Runtime-state durability: **session** — mirrored in RAM, never written.
11791
+ *
11792
+ * The slice holds what the DEVICE says it can emit. That is a probed fact,
11793
+ * not an operator choice: the provider re-declares it on every registration,
11794
+ * so losing it loses nothing and persisting it would freeze an answer the
11795
+ * camera is entitled to change. Measured the same day on the sibling case —
11796
+ * `native-object-detection.supportedClasses` was persisted, and a firmware
11797
+ * class the camera really detected stayed missing for the life of the row
11798
+ * because the fix could not reach it.
11799
+ *
11800
+ * See `RuntimeStateDurability`. Enforced by
11801
+ * `scripts/check-runtime-state-durability.ts`.
11802
+ */
11803
+ durability: "session",
11789
11804
  methods: {
11790
11805
  /**
11791
11806
  * What this device can emit. Empty is a valid and common answer — most
@@ -18417,6 +18432,48 @@ var NcAlarmConfigSchema = object({
18417
18432
  settings: NcAlarmSettingsSchema,
18418
18433
  coverage: array(NcAlarmModeCoverageSchema)
18419
18434
  });
18435
+ /**
18436
+ * ONE rule's demand on ONE camera's clip ring.
18437
+ *
18438
+ * A rule, not a camera: the broker takes the MAX over the asks that reach a
18439
+ * camera, so the answer stays a faithful description of the rules and the
18440
+ * bounding (the byte budget, the broker's own ceiling) stays where the cost
18441
+ * lives. A camera that appears in no ask is being told **nothing** — which is
18442
+ * a different thing from never having been told, and only the envelope
18443
+ * (`rulesLoaded`) can tell those apart.
18444
+ */
18445
+ var NcClipRetentionAskSchema = object({
18446
+ /**
18447
+ * The camera this ask is about. **Absent = every camera**, which is what a
18448
+ * rule with no `conditions.devices` means: it can fire anywhere, so it is
18449
+ * asking everywhere.
18450
+ */
18451
+ deviceId: number().int().nonnegative().optional(),
18452
+ /** Seconds of history the rule needs held for it. Never zero — a rule that
18453
+ * needs nothing produces no ask at all. */
18454
+ seconds: number().min(0).max(60),
18455
+ /** The profile the rule cuts from, when it named one. Absent = the cheapest
18456
+ * assigned, which is what the cut defaults to. */
18457
+ profile: CamProfileSchema.optional(),
18458
+ /** Who is asking — so a retention the operator did not expect names a rule. */
18459
+ ruleId: string(),
18460
+ ruleName: string(),
18461
+ /** Why this many seconds: the rule's own window, or the occupancy ceiling. */
18462
+ reason: _enum(["window", "occupancy"])
18463
+ });
18464
+ /**
18465
+ * The whole answer, with the one bit that keeps absence from reading as zero.
18466
+ *
18467
+ * `rulesLoaded` is false until the rule ledger has completed a load at least
18468
+ * once. A centre that is up but has not read its rules yet answers with an
18469
+ * empty ask list that means nothing at all — applying it would drop every
18470
+ * camera's ring to zero for the first events after a restart, which is the
18471
+ * footage this mechanism exists to keep.
18472
+ */
18473
+ var NcClipRetentionPlanSchema = object({
18474
+ rulesLoaded: boolean(),
18475
+ asks: array(NcClipRetentionAskSchema).readonly()
18476
+ });
18420
18477
  method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), method(object({ ruleId: string() }), object({ rule: NcRuleSchema.nullable() }), { auth: "admin" }), method(object({ rule: NcRuleInputSchema }), object({ rule: NcRuleSchema }), {
18421
18478
  kind: "mutation",
18422
18479
  auth: "admin",
@@ -18437,7 +18494,7 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
18437
18494
  }), object({ success: literal(true) }), {
18438
18495
  kind: "mutation",
18439
18496
  auth: "admin"
18440
- }), method(object({}), object({ mutedDeviceIds: array(number().int()).readonly() }), { auth: "admin" }), method(object({
18497
+ }), method(object({}), NcClipRetentionPlanSchema, { auth: "admin" }), method(object({}), object({ mutedDeviceIds: array(number().int()).readonly() }), { auth: "admin" }), method(object({
18441
18498
  deviceId: number().int(),
18442
18499
  muted: boolean()
18443
18500
  }), object({ success: literal(true) }), {
@@ -21011,6 +21068,33 @@ var RunReplayFrameProcessorResultSchema = object({ tracks: array(object({
21011
21068
  * solid is this track", cheaper than re-deriving it from a trajectory. */
21012
21069
  framesMatched: number().int()
21013
21070
  })).readonly() });
21071
+ /**
21072
+ * The long-term series a camera produces. A closed union so a typo cannot
21073
+ * invent one, and the ONE declaration of it — the addon's `AnalyticsLtsSeries`
21074
+ * is an alias of this, not a second list.
21075
+ */
21076
+ var AnalyticsLtsSeriesSchema = _enum([
21077
+ "motion",
21078
+ "audio-dbfs",
21079
+ "battery",
21080
+ "occupancy"
21081
+ ]);
21082
+ /**
21083
+ * One closed 5-minute bucket of a long-term series.
21084
+ *
21085
+ * `samples` is how many readings the bucket folded — it is the ACTIVITY for a
21086
+ * series like `motion`, and the confidence for one like `occupancy`. A bucket
21087
+ * that exists at all was measured; a bucket that is absent was not, which is a
21088
+ * different claim from zero and the reason this is a sparse series.
21089
+ */
21090
+ var LtsBucketSchema = object({
21091
+ scope: string(),
21092
+ bucketStart: number().int(),
21093
+ samples: number().int().nonnegative(),
21094
+ sum: number(),
21095
+ min: number(),
21096
+ max: number()
21097
+ });
21014
21098
  DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).readonly()), method(object({
21015
21099
  deviceId: number(),
21016
21100
  trackId: string()
@@ -21057,6 +21141,14 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
21057
21141
  kinds: array(string()).optional(),
21058
21142
  limit: number().int().min(1).max(MAX_EVENT_QUERY_LIMIT).default(DEFAULT_EVENT_QUERY_LIMIT)
21059
21143
  }), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(KeyEventBatchQueryInput, array(KeyEventsForDeviceSchema).readonly()), method(object({
21144
+ deviceId: number(),
21145
+ series: AnalyticsLtsSeriesSchema,
21146
+ /** Omit for EVERY scope of this series in the range. */
21147
+ scope: string().optional(),
21148
+ from: number(),
21149
+ to: number(),
21150
+ limit: number().int().positive().optional()
21151
+ }), array(LtsBucketSchema).readonly()), method(object({
21060
21152
  deviceId: number(),
21061
21153
  since: number(),
21062
21154
  until: number(),
@@ -21675,6 +21767,14 @@ var MotionSourceEnum = _enum([
21675
21767
  */
21676
21768
  var MotionSourcesSchema = array(MotionSourceEnum);
21677
21769
  /**
21770
+ * Which root detectors a camera runs. Deliberately the SAME vocabulary
21771
+ * post-analysis already tags every detection with (`DetectionSource`) rather
21772
+ * than a second spelling of the same two ideas — the value an operator picks
21773
+ * here is the value that comes back on the track, the overlay and the debug
21774
+ * row.
21775
+ */
21776
+ var DetectionSourcesSchema = array(DetectionSourceSchema);
21777
+ /**
21678
21778
  * Input shape for `pipeline-runner.reportMotion` cap method. Exported
21679
21779
  * so cap-side consumers (the orchestrator forward, the runner addon's
21680
21780
  * cap implementation, tests) can reuse the type instead of redeclaring
@@ -21825,6 +21925,35 @@ var RunnerCameraConfigSchema = object({
21825
21925
  * events; the orchestrator forwards to `reportMotion`.
21826
21926
  */
21827
21927
  motionSources: MotionSourcesSchema.default(["analyzer"]),
21928
+ /**
21929
+ * WHICH root detector runs for this camera. The detection counterpart of
21930
+ * {@link motionSources}, same shape and same discipline: a per-camera list
21931
+ * of sources the system understands, vendor-agnostic, owned here.
21932
+ *
21933
+ * - `pipeline` — this runner's own root step on decoded pixels (`steps`).
21934
+ * - `onboard` — the CAMERA's own detector, admitted only when it is named
21935
+ * here. Its boxes reach post-analysis on the same
21936
+ * `PipelineInferenceResult` payload as the pipeline's, so an onboard-born
21937
+ * track gets the same tracker, the same overlay and the same detail
21938
+ * subtree (face / plate / embedding).
21939
+ *
21940
+ * `['onboard']` alone is the REPLACEMENT: this runner's root step does not
21941
+ * run, and that is where a camera with a usable onboard detector buys back
21942
+ * its share of the accelerator. It saves the root inference, not the decode
21943
+ * — the detail subtree still needs pixels to cut crops from.
21944
+ *
21945
+ * A camera whose onboard detections carry no geometry cannot serve as a root
21946
+ * step at all (there is nothing to track), and the cap that knows this says
21947
+ * so on `native-object-detection.getOptions().geometry`. On Reolink that is
21948
+ * every battery camera: the boxes ride a sub-stream a battery camera never
21949
+ * attaches, so such a camera stays on `['pipeline']` and its onboard AI is
21950
+ * worth exactly what it already is — a wake signal with a class.
21951
+ *
21952
+ * Defaults to `['pipeline']`, which is byte-for-byte today's behaviour: a
21953
+ * vendor never turns a detector on for the operator, and neither does a
21954
+ * default.
21955
+ */
21956
+ detectionSources: DetectionSourcesSchema.default(["pipeline"]),
21828
21957
  pipelineEnabled: boolean().default(true),
21829
21958
  /** Ordered tree of video steps. Absent → runner skips video detection. */
21830
21959
  steps: array(PipelineStepInputSchema).readonly().optional(),
@@ -22006,7 +22135,47 @@ var RunnerLocalMetricsSchema = object({
22006
22135
  queueDepth: number(),
22007
22136
  frameLazy: FrameLazyMetricsSchema.optional()
22008
22137
  });
22138
+ /**
22139
+ * Pipeline Runner capability — runtime detection workhorse.
22140
+ *
22141
+ * One instance per node. Receives camera assignments from
22142
+ * `addon-pipeline-orchestrator`, subscribes to the local stream-broker for
22143
+ * decoded frames, drains motion + detection queues, calls the local
22144
+ * `motion-detection` and `pipeline-executor` capabilities, and emits typed
22145
+ * `pipeline.inference-result` and `detection.motion-analysis` events on
22146
+ * the bus.
22147
+ *
22148
+ * Distinct from `pipeline-orchestrator` (the hub-side load balancer) — the
22149
+ * runner has zero knowledge of other agents, no global state, and never
22150
+ * makes assignment decisions itself.
22151
+ */
22152
+ /**
22153
+ * Why a runner declined to look at a camera out of band. Named rather than a
22154
+ * bare `false`: a camera asleep on battery (D173), one attached elsewhere, one
22155
+ * already mid-session and one already bursting are four different facts, and a
22156
+ * caller told only "no" cannot tell a protection from a bug.
22157
+ */
22158
+ var OccupancyBurstRefusalSchema = _enum([
22159
+ "not-attached",
22160
+ "battery-asleep",
22161
+ "not-watching",
22162
+ "already-bursting"
22163
+ ]);
22009
22164
  method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mutation" }), method(object({ deviceId: number() }), object({ success: literal(true) }), { kind: "mutation" }), method(ReportMotionInputSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), RunnerLocalLoadSchema), method(_void(), RunnerLocalMetricsSchema), method(object({ deviceId: number() }), CameraMetricsSchema.nullable()), method(_void(), array(CameraMetricsWithDeviceIdSchema).readonly()), method(_void(), array(number()).readonly()), method(object({
22165
+ deviceId: number(),
22166
+ /** How many frames to collect. The caller sizes this against what its
22167
+ * own confirmation needs; the runner clamps it to the field's range. */
22168
+ frames: number().int().positive().optional(),
22169
+ /** Why, for the log. A burst nobody can attribute is a cost nobody can
22170
+ * defend — the periodic one at least has a timer to point at. */
22171
+ reason: string()
22172
+ }), object({
22173
+ started: boolean(),
22174
+ refusedBecause: OccupancyBurstRefusalSchema.optional()
22175
+ }), {
22176
+ auth: "admin",
22177
+ kind: "mutation"
22178
+ }), method(object({
22010
22179
  handle: FrameHandleSchema,
22011
22180
  bbox: NativeCropBboxSchema,
22012
22181
  maxWidth: number().int().positive().optional(),
@@ -28853,11 +29022,46 @@ var NativeObjectDetectionStatusSchema = object({
28853
29022
  supportedClasses: array(NativeObjectClassEnum).readonly(),
28854
29023
  /**
28855
29024
  * Whether forwarding of onboard AI detections is enabled for this device.
28856
- * Default FALSE (opt-in, cold-start) — onboard AI pushes are noisy/sparse and
28857
- * churn the tracker, so forwarding stays off until the operator enables it.
29025
+ *
29026
+ * Cold-start OFF on every camera. A vendor does not decide which detector a
29027
+ * camera runs — that is the operator's choice, and it is made where every
29028
+ * other detection choice is made. `geometry` on
29029
+ * {@link NativeObjectDetectionOptionsSchema} is how the form says what the
29030
+ * choice would buy this particular camera.
28858
29031
  */
28859
29032
  enabled: boolean()
28860
29033
  });
29034
+ /**
29035
+ * WHEN a camera's onboard detections carry geometry.
29036
+ *
29037
+ * - `boxed` — always. The provider holds a standing channel for the boxes, so
29038
+ * a detection is a trackable subject whenever the camera sees one.
29039
+ * - `while-streaming` — only while some stream of this camera is already open.
29040
+ * The boxes ride the video's own side-channel rather than a feed of their
29041
+ * own, so they cost nothing and they exist only when something is pulling.
29042
+ * On Reolink this is every BATTERY camera: a persistent second feed is real
29043
+ * radio drain, but a camera that is awake is awake precisely because
29044
+ * something is in front of it, and its stream is already being pulled.
29045
+ * - `flag-only` — never. The firmware ships the class and nothing else; the
29046
+ * pipeline needs geometry to make a subject, so such a push reaches the
29047
+ * tracker as motion and no further.
29048
+ *
29049
+ * Reported and not inferred, because the operator's question in front of the
29050
+ * picker is "what do I get", and these are three different answers (D14: the
29051
+ * derived form is only as honest as `getOptions`).
29052
+ */
29053
+ var NativeObjectGeometryEnum = _enum([
29054
+ "boxed",
29055
+ "while-streaming",
29056
+ "flag-only"
29057
+ ]);
29058
+ var NativeObjectDetectionOptionsSchema = object({
29059
+ /** Classes this firmware can detect — the same list the status reports. */
29060
+ supportedClasses: array(NativeObjectClassEnum).readonly(),
29061
+ /** What a detection from this camera carries. */
29062
+ geometry: NativeObjectGeometryEnum
29063
+ });
29064
+ var NativeObjectDetectionSettingsPatchSchema = object({ enabled: boolean().optional() });
28861
29065
  var NativeObjectDetectionRuntimeStateSchema = NativeObjectDetectionStatusSchema.extend({
28862
29066
  /** Required by createRuntimeStateBridge — epoch ms of last refresh. */
28863
29067
  lastFetchedAt: number() });
@@ -28867,13 +29071,23 @@ var nativeObjectDetectionCapability = {
28867
29071
  deviceNative: true,
28868
29072
  mode: "singleton",
28869
29073
  deviceTypes: [DeviceType.Camera],
28870
- methods: { setEnabled: method(object({
28871
- deviceId: number(),
28872
- enabled: boolean()
28873
- }), _void(), {
28874
- kind: "mutation",
28875
- auth: "admin"
28876
- }) },
29074
+ methods: {
29075
+ getOptions: method(object({ deviceId: number() }), NativeObjectDetectionOptionsSchema),
29076
+ setSettings: method(object({
29077
+ deviceId: number(),
29078
+ settings: NativeObjectDetectionSettingsPatchSchema
29079
+ }), _void(), {
29080
+ kind: "mutation",
29081
+ auth: "admin"
29082
+ }),
29083
+ setEnabled: method(object({
29084
+ deviceId: number(),
29085
+ enabled: boolean()
29086
+ }), _void(), {
29087
+ kind: "mutation",
29088
+ auth: "admin"
29089
+ })
29090
+ },
28877
29091
  events: { onDetected: { data: object({
28878
29092
  deviceId: number(),
28879
29093
  detection: NativeDetectionSchema
@@ -33721,7 +33935,28 @@ var PerScopeBreakdownSchema = object({
33721
33935
  /** Total tracked objects in this scope (frame / zone / unzoned). */
33722
33936
  totalObjects: number().int().nonnegative(),
33723
33937
  /** Per-class count. Keys are macro class names (e.g. `person`, `car`). */
33724
- byClass: record(string(), number().int().nonnegative())
33938
+ byClass: record(string(), number().int().nonnegative()),
33939
+ /**
33940
+ * Of `totalObjects`, how many are STANDING — objects the census holds,
33941
+ * present but not going anywhere (a parked car, a bin, a statue).
33942
+ *
33943
+ * The operator's question about a scene has two halves and they answer
33944
+ * different things: "what is parked here" is stable for hours and must not
33945
+ * flap, while "who is walking through" is the thing an alert is about. One
33946
+ * number could only serve one of them, and `totalObjects` served the first
33947
+ * badly — a passer-by moved it and every occupancy rule saw a change.
33948
+ *
33949
+ * `standing + transient === totalObjects`, always. The total keeps its old
33950
+ * meaning exactly, so no rule written against it changes behaviour.
33951
+ *
33952
+ * ABSENT means UNKNOWN, never zero (D393): a snapshot from a node older than
33953
+ * this field cannot say, and a reader that folds absence in as 0 reports "no
33954
+ * parked objects here" about a camera whose lot is full.
33955
+ */
33956
+ standingObjects: number().int().nonnegative().optional(),
33957
+ /** Of `totalObjects`, how many are passing through. See `standingObjects` —
33958
+ * same absence rule. */
33959
+ transientObjects: number().int().nonnegative().optional()
33725
33960
  });
33726
33961
  var ZoneScopeBreakdownSchema = PerScopeBreakdownSchema.extend({
33727
33962
  zoneId: string(),
@@ -33844,6 +34079,23 @@ var HistoryPointSchema = object({
33844
34079
  * triple covers the three spatial scopes (per-zone, frame-wide,
33845
34080
  * outside-any-zone). Crossing them with `className?` gives the full
33846
34081
  * combinatorial coverage the operator UI requested.
34082
+ *
34083
+ * ## ⚠️ The three history methods are DEPRECATED
34084
+ *
34085
+ * They are served from a 60-MINUTE in-memory ring. It dies with the process,
34086
+ * so after a restart they report nothing about a night that did happen, and any
34087
+ * window past an hour is silently clamped — a caller cannot tell a clamp from
34088
+ * an empty scene. The presets in the occupancy chart existed to hide that
34089
+ * horizon rather than to answer a question.
34090
+ *
34091
+ * Use `pipelineAnalytics.readLongTermSeries({ series: 'occupancy', scope })`
34092
+ * instead. Those rows are already written for every camera, ~60 bytes per
34093
+ * (camera, scope, 5-minute bucket), kept for a year, and survive a restart.
34094
+ * Spell the scope with `occupancyScope(zoneId?, className?)` — the same
34095
+ * function the writer uses, so the two cannot drift.
34096
+ *
34097
+ * The ring stays until these three go, and it is the only thing left reading
34098
+ * it. Do not add a fourth caller.
33847
34099
  */
33848
34100
  var zoneAnalyticsCapability = {
33849
34101
  name: "zone-analytics",
@@ -38243,12 +38495,24 @@ Object.freeze({
38243
38495
  addonId: null,
38244
38496
  access: "create"
38245
38497
  },
38498
+ "nativeObjectDetection.getOptions": {
38499
+ capName: "native-object-detection",
38500
+ capScope: "device",
38501
+ addonId: null,
38502
+ access: "view"
38503
+ },
38246
38504
  "nativeObjectDetection.setEnabled": {
38247
38505
  capName: "native-object-detection",
38248
38506
  capScope: "device",
38249
38507
  addonId: null,
38250
38508
  access: "create"
38251
38509
  },
38510
+ "nativeObjectDetection.setSettings": {
38511
+ capName: "native-object-detection",
38512
+ capScope: "device",
38513
+ addonId: null,
38514
+ access: "create"
38515
+ },
38252
38516
  "navigation.getFeatures": {
38253
38517
  capName: "navigation",
38254
38518
  capScope: "device",
@@ -38513,6 +38777,12 @@ Object.freeze({
38513
38777
  addonId: null,
38514
38778
  access: "view"
38515
38779
  },
38780
+ "notificationRules.getClipRetentionAsks": {
38781
+ capName: "notification-rules",
38782
+ capScope: "system",
38783
+ addonId: null,
38784
+ access: "view"
38785
+ },
38516
38786
  "notificationRules.getConditionCatalog": {
38517
38787
  capName: "notification-rules",
38518
38788
  capScope: "system",
@@ -39023,6 +39293,12 @@ Object.freeze({
39023
39293
  addonId: null,
39024
39294
  access: "create"
39025
39295
  },
39296
+ "pipelineAnalytics.readLongTermSeries": {
39297
+ capName: "pipeline-analytics",
39298
+ capScope: "device",
39299
+ addonId: null,
39300
+ access: "view"
39301
+ },
39026
39302
  "pipelineAnalytics.rebuildObjectEmbeddings": {
39027
39303
  capName: "pipeline-analytics",
39028
39304
  capScope: "device",
@@ -39695,6 +39971,12 @@ Object.freeze({
39695
39971
  addonId: null,
39696
39972
  access: "create"
39697
39973
  },
39974
+ "pipelineRunner.requestOccupancyBurst": {
39975
+ capName: "pipeline-runner",
39976
+ capScope: "system",
39977
+ addonId: null,
39978
+ access: "create"
39979
+ },
39698
39980
  "pipelineRunner.runDetailSubtree": {
39699
39981
  capName: "pipeline-runner",
39700
39982
  capScope: "system",
@@ -42475,11 +42757,21 @@ Object.freeze({
42475
42757
  form: "single",
42476
42758
  optional: false
42477
42759
  }],
42760
+ "nativeObjectDetection.getOptions": [{
42761
+ name: "deviceId",
42762
+ form: "single",
42763
+ optional: false
42764
+ }],
42478
42765
  "nativeObjectDetection.setEnabled": [{
42479
42766
  name: "deviceId",
42480
42767
  form: "single",
42481
42768
  optional: false
42482
42769
  }],
42770
+ "nativeObjectDetection.setSettings": [{
42771
+ name: "deviceId",
42772
+ form: "single",
42773
+ optional: false
42774
+ }],
42483
42775
  "navigation.getFeatures": [{
42484
42776
  name: "deviceId",
42485
42777
  form: "single",
@@ -42829,6 +43121,11 @@ Object.freeze({
42829
43121
  form: "single",
42830
43122
  optional: false
42831
43123
  }],
43124
+ "pipelineAnalytics.readLongTermSeries": [{
43125
+ name: "deviceId",
43126
+ form: "single",
43127
+ optional: false
43128
+ }],
42832
43129
  "pipelineAnalytics.rebuildObjectEmbeddings": [{
42833
43130
  name: "deviceId",
42834
43131
  form: "single",
@@ -43019,6 +43316,11 @@ Object.freeze({
43019
43316
  form: "single",
43020
43317
  optional: false
43021
43318
  }],
43319
+ "pipelineRunner.requestOccupancyBurst": [{
43320
+ name: "deviceId",
43321
+ form: "single",
43322
+ optional: false
43323
+ }],
43022
43324
  "pipelineRunner.runDetailSubtree": [{
43023
43325
  name: "deviceId",
43024
43326
  form: "single",
package/dist/addon.mjs CHANGED
@@ -5399,7 +5399,7 @@ var ZodIssueCode = {
5399
5399
  var ZodFirstPartyTypeKind;
5400
5400
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5401
5401
  //#endregion
5402
- //#region ../types/dist/sleep-DEuj7E3j.mjs
5402
+ //#region ../types/dist/sleep-BDR76Ykr.mjs
5403
5403
  /**
5404
5404
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5405
5405
  * window to float samples (D455).
@@ -11786,6 +11786,21 @@ var streamSignalsCapability = {
11786
11786
  mode: "singleton",
11787
11787
  deviceTypes: Object.values(DeviceType),
11788
11788
  runtimeState: StreamSignalsStatusSchema,
11789
+ /**
11790
+ * Runtime-state durability: **session** — mirrored in RAM, never written.
11791
+ *
11792
+ * The slice holds what the DEVICE says it can emit. That is a probed fact,
11793
+ * not an operator choice: the provider re-declares it on every registration,
11794
+ * so losing it loses nothing and persisting it would freeze an answer the
11795
+ * camera is entitled to change. Measured the same day on the sibling case —
11796
+ * `native-object-detection.supportedClasses` was persisted, and a firmware
11797
+ * class the camera really detected stayed missing for the life of the row
11798
+ * because the fix could not reach it.
11799
+ *
11800
+ * See `RuntimeStateDurability`. Enforced by
11801
+ * `scripts/check-runtime-state-durability.ts`.
11802
+ */
11803
+ durability: "session",
11789
11804
  methods: {
11790
11805
  /**
11791
11806
  * What this device can emit. Empty is a valid and common answer — most
@@ -18417,6 +18432,48 @@ var NcAlarmConfigSchema = object({
18417
18432
  settings: NcAlarmSettingsSchema,
18418
18433
  coverage: array(NcAlarmModeCoverageSchema)
18419
18434
  });
18435
+ /**
18436
+ * ONE rule's demand on ONE camera's clip ring.
18437
+ *
18438
+ * A rule, not a camera: the broker takes the MAX over the asks that reach a
18439
+ * camera, so the answer stays a faithful description of the rules and the
18440
+ * bounding (the byte budget, the broker's own ceiling) stays where the cost
18441
+ * lives. A camera that appears in no ask is being told **nothing** — which is
18442
+ * a different thing from never having been told, and only the envelope
18443
+ * (`rulesLoaded`) can tell those apart.
18444
+ */
18445
+ var NcClipRetentionAskSchema = object({
18446
+ /**
18447
+ * The camera this ask is about. **Absent = every camera**, which is what a
18448
+ * rule with no `conditions.devices` means: it can fire anywhere, so it is
18449
+ * asking everywhere.
18450
+ */
18451
+ deviceId: number().int().nonnegative().optional(),
18452
+ /** Seconds of history the rule needs held for it. Never zero — a rule that
18453
+ * needs nothing produces no ask at all. */
18454
+ seconds: number().min(0).max(60),
18455
+ /** The profile the rule cuts from, when it named one. Absent = the cheapest
18456
+ * assigned, which is what the cut defaults to. */
18457
+ profile: CamProfileSchema.optional(),
18458
+ /** Who is asking — so a retention the operator did not expect names a rule. */
18459
+ ruleId: string(),
18460
+ ruleName: string(),
18461
+ /** Why this many seconds: the rule's own window, or the occupancy ceiling. */
18462
+ reason: _enum(["window", "occupancy"])
18463
+ });
18464
+ /**
18465
+ * The whole answer, with the one bit that keeps absence from reading as zero.
18466
+ *
18467
+ * `rulesLoaded` is false until the rule ledger has completed a load at least
18468
+ * once. A centre that is up but has not read its rules yet answers with an
18469
+ * empty ask list that means nothing at all — applying it would drop every
18470
+ * camera's ring to zero for the first events after a restart, which is the
18471
+ * footage this mechanism exists to keep.
18472
+ */
18473
+ var NcClipRetentionPlanSchema = object({
18474
+ rulesLoaded: boolean(),
18475
+ asks: array(NcClipRetentionAskSchema).readonly()
18476
+ });
18420
18477
  method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), method(object({ ruleId: string() }), object({ rule: NcRuleSchema.nullable() }), { auth: "admin" }), method(object({ rule: NcRuleInputSchema }), object({ rule: NcRuleSchema }), {
18421
18478
  kind: "mutation",
18422
18479
  auth: "admin",
@@ -18437,7 +18494,7 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
18437
18494
  }), object({ success: literal(true) }), {
18438
18495
  kind: "mutation",
18439
18496
  auth: "admin"
18440
- }), method(object({}), object({ mutedDeviceIds: array(number().int()).readonly() }), { auth: "admin" }), method(object({
18497
+ }), method(object({}), NcClipRetentionPlanSchema, { auth: "admin" }), method(object({}), object({ mutedDeviceIds: array(number().int()).readonly() }), { auth: "admin" }), method(object({
18441
18498
  deviceId: number().int(),
18442
18499
  muted: boolean()
18443
18500
  }), object({ success: literal(true) }), {
@@ -21011,6 +21068,33 @@ var RunReplayFrameProcessorResultSchema = object({ tracks: array(object({
21011
21068
  * solid is this track", cheaper than re-deriving it from a trajectory. */
21012
21069
  framesMatched: number().int()
21013
21070
  })).readonly() });
21071
+ /**
21072
+ * The long-term series a camera produces. A closed union so a typo cannot
21073
+ * invent one, and the ONE declaration of it — the addon's `AnalyticsLtsSeries`
21074
+ * is an alias of this, not a second list.
21075
+ */
21076
+ var AnalyticsLtsSeriesSchema = _enum([
21077
+ "motion",
21078
+ "audio-dbfs",
21079
+ "battery",
21080
+ "occupancy"
21081
+ ]);
21082
+ /**
21083
+ * One closed 5-minute bucket of a long-term series.
21084
+ *
21085
+ * `samples` is how many readings the bucket folded — it is the ACTIVITY for a
21086
+ * series like `motion`, and the confidence for one like `occupancy`. A bucket
21087
+ * that exists at all was measured; a bucket that is absent was not, which is a
21088
+ * different claim from zero and the reason this is a sparse series.
21089
+ */
21090
+ var LtsBucketSchema = object({
21091
+ scope: string(),
21092
+ bucketStart: number().int(),
21093
+ samples: number().int().nonnegative(),
21094
+ sum: number(),
21095
+ min: number(),
21096
+ max: number()
21097
+ });
21014
21098
  DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).readonly()), method(object({
21015
21099
  deviceId: number(),
21016
21100
  trackId: string()
@@ -21057,6 +21141,14 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
21057
21141
  kinds: array(string()).optional(),
21058
21142
  limit: number().int().min(1).max(MAX_EVENT_QUERY_LIMIT).default(DEFAULT_EVENT_QUERY_LIMIT)
21059
21143
  }), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(KeyEventBatchQueryInput, array(KeyEventsForDeviceSchema).readonly()), method(object({
21144
+ deviceId: number(),
21145
+ series: AnalyticsLtsSeriesSchema,
21146
+ /** Omit for EVERY scope of this series in the range. */
21147
+ scope: string().optional(),
21148
+ from: number(),
21149
+ to: number(),
21150
+ limit: number().int().positive().optional()
21151
+ }), array(LtsBucketSchema).readonly()), method(object({
21060
21152
  deviceId: number(),
21061
21153
  since: number(),
21062
21154
  until: number(),
@@ -21675,6 +21767,14 @@ var MotionSourceEnum = _enum([
21675
21767
  */
21676
21768
  var MotionSourcesSchema = array(MotionSourceEnum);
21677
21769
  /**
21770
+ * Which root detectors a camera runs. Deliberately the SAME vocabulary
21771
+ * post-analysis already tags every detection with (`DetectionSource`) rather
21772
+ * than a second spelling of the same two ideas — the value an operator picks
21773
+ * here is the value that comes back on the track, the overlay and the debug
21774
+ * row.
21775
+ */
21776
+ var DetectionSourcesSchema = array(DetectionSourceSchema);
21777
+ /**
21678
21778
  * Input shape for `pipeline-runner.reportMotion` cap method. Exported
21679
21779
  * so cap-side consumers (the orchestrator forward, the runner addon's
21680
21780
  * cap implementation, tests) can reuse the type instead of redeclaring
@@ -21825,6 +21925,35 @@ var RunnerCameraConfigSchema = object({
21825
21925
  * events; the orchestrator forwards to `reportMotion`.
21826
21926
  */
21827
21927
  motionSources: MotionSourcesSchema.default(["analyzer"]),
21928
+ /**
21929
+ * WHICH root detector runs for this camera. The detection counterpart of
21930
+ * {@link motionSources}, same shape and same discipline: a per-camera list
21931
+ * of sources the system understands, vendor-agnostic, owned here.
21932
+ *
21933
+ * - `pipeline` — this runner's own root step on decoded pixels (`steps`).
21934
+ * - `onboard` — the CAMERA's own detector, admitted only when it is named
21935
+ * here. Its boxes reach post-analysis on the same
21936
+ * `PipelineInferenceResult` payload as the pipeline's, so an onboard-born
21937
+ * track gets the same tracker, the same overlay and the same detail
21938
+ * subtree (face / plate / embedding).
21939
+ *
21940
+ * `['onboard']` alone is the REPLACEMENT: this runner's root step does not
21941
+ * run, and that is where a camera with a usable onboard detector buys back
21942
+ * its share of the accelerator. It saves the root inference, not the decode
21943
+ * — the detail subtree still needs pixels to cut crops from.
21944
+ *
21945
+ * A camera whose onboard detections carry no geometry cannot serve as a root
21946
+ * step at all (there is nothing to track), and the cap that knows this says
21947
+ * so on `native-object-detection.getOptions().geometry`. On Reolink that is
21948
+ * every battery camera: the boxes ride a sub-stream a battery camera never
21949
+ * attaches, so such a camera stays on `['pipeline']` and its onboard AI is
21950
+ * worth exactly what it already is — a wake signal with a class.
21951
+ *
21952
+ * Defaults to `['pipeline']`, which is byte-for-byte today's behaviour: a
21953
+ * vendor never turns a detector on for the operator, and neither does a
21954
+ * default.
21955
+ */
21956
+ detectionSources: DetectionSourcesSchema.default(["pipeline"]),
21828
21957
  pipelineEnabled: boolean().default(true),
21829
21958
  /** Ordered tree of video steps. Absent → runner skips video detection. */
21830
21959
  steps: array(PipelineStepInputSchema).readonly().optional(),
@@ -22006,7 +22135,47 @@ var RunnerLocalMetricsSchema = object({
22006
22135
  queueDepth: number(),
22007
22136
  frameLazy: FrameLazyMetricsSchema.optional()
22008
22137
  });
22138
+ /**
22139
+ * Pipeline Runner capability — runtime detection workhorse.
22140
+ *
22141
+ * One instance per node. Receives camera assignments from
22142
+ * `addon-pipeline-orchestrator`, subscribes to the local stream-broker for
22143
+ * decoded frames, drains motion + detection queues, calls the local
22144
+ * `motion-detection` and `pipeline-executor` capabilities, and emits typed
22145
+ * `pipeline.inference-result` and `detection.motion-analysis` events on
22146
+ * the bus.
22147
+ *
22148
+ * Distinct from `pipeline-orchestrator` (the hub-side load balancer) — the
22149
+ * runner has zero knowledge of other agents, no global state, and never
22150
+ * makes assignment decisions itself.
22151
+ */
22152
+ /**
22153
+ * Why a runner declined to look at a camera out of band. Named rather than a
22154
+ * bare `false`: a camera asleep on battery (D173), one attached elsewhere, one
22155
+ * already mid-session and one already bursting are four different facts, and a
22156
+ * caller told only "no" cannot tell a protection from a bug.
22157
+ */
22158
+ var OccupancyBurstRefusalSchema = _enum([
22159
+ "not-attached",
22160
+ "battery-asleep",
22161
+ "not-watching",
22162
+ "already-bursting"
22163
+ ]);
22009
22164
  method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mutation" }), method(object({ deviceId: number() }), object({ success: literal(true) }), { kind: "mutation" }), method(ReportMotionInputSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), RunnerLocalLoadSchema), method(_void(), RunnerLocalMetricsSchema), method(object({ deviceId: number() }), CameraMetricsSchema.nullable()), method(_void(), array(CameraMetricsWithDeviceIdSchema).readonly()), method(_void(), array(number()).readonly()), method(object({
22165
+ deviceId: number(),
22166
+ /** How many frames to collect. The caller sizes this against what its
22167
+ * own confirmation needs; the runner clamps it to the field's range. */
22168
+ frames: number().int().positive().optional(),
22169
+ /** Why, for the log. A burst nobody can attribute is a cost nobody can
22170
+ * defend — the periodic one at least has a timer to point at. */
22171
+ reason: string()
22172
+ }), object({
22173
+ started: boolean(),
22174
+ refusedBecause: OccupancyBurstRefusalSchema.optional()
22175
+ }), {
22176
+ auth: "admin",
22177
+ kind: "mutation"
22178
+ }), method(object({
22010
22179
  handle: FrameHandleSchema,
22011
22180
  bbox: NativeCropBboxSchema,
22012
22181
  maxWidth: number().int().positive().optional(),
@@ -28853,11 +29022,46 @@ var NativeObjectDetectionStatusSchema = object({
28853
29022
  supportedClasses: array(NativeObjectClassEnum).readonly(),
28854
29023
  /**
28855
29024
  * Whether forwarding of onboard AI detections is enabled for this device.
28856
- * Default FALSE (opt-in, cold-start) — onboard AI pushes are noisy/sparse and
28857
- * churn the tracker, so forwarding stays off until the operator enables it.
29025
+ *
29026
+ * Cold-start OFF on every camera. A vendor does not decide which detector a
29027
+ * camera runs — that is the operator's choice, and it is made where every
29028
+ * other detection choice is made. `geometry` on
29029
+ * {@link NativeObjectDetectionOptionsSchema} is how the form says what the
29030
+ * choice would buy this particular camera.
28858
29031
  */
28859
29032
  enabled: boolean()
28860
29033
  });
29034
+ /**
29035
+ * WHEN a camera's onboard detections carry geometry.
29036
+ *
29037
+ * - `boxed` — always. The provider holds a standing channel for the boxes, so
29038
+ * a detection is a trackable subject whenever the camera sees one.
29039
+ * - `while-streaming` — only while some stream of this camera is already open.
29040
+ * The boxes ride the video's own side-channel rather than a feed of their
29041
+ * own, so they cost nothing and they exist only when something is pulling.
29042
+ * On Reolink this is every BATTERY camera: a persistent second feed is real
29043
+ * radio drain, but a camera that is awake is awake precisely because
29044
+ * something is in front of it, and its stream is already being pulled.
29045
+ * - `flag-only` — never. The firmware ships the class and nothing else; the
29046
+ * pipeline needs geometry to make a subject, so such a push reaches the
29047
+ * tracker as motion and no further.
29048
+ *
29049
+ * Reported and not inferred, because the operator's question in front of the
29050
+ * picker is "what do I get", and these are three different answers (D14: the
29051
+ * derived form is only as honest as `getOptions`).
29052
+ */
29053
+ var NativeObjectGeometryEnum = _enum([
29054
+ "boxed",
29055
+ "while-streaming",
29056
+ "flag-only"
29057
+ ]);
29058
+ var NativeObjectDetectionOptionsSchema = object({
29059
+ /** Classes this firmware can detect — the same list the status reports. */
29060
+ supportedClasses: array(NativeObjectClassEnum).readonly(),
29061
+ /** What a detection from this camera carries. */
29062
+ geometry: NativeObjectGeometryEnum
29063
+ });
29064
+ var NativeObjectDetectionSettingsPatchSchema = object({ enabled: boolean().optional() });
28861
29065
  var NativeObjectDetectionRuntimeStateSchema = NativeObjectDetectionStatusSchema.extend({
28862
29066
  /** Required by createRuntimeStateBridge — epoch ms of last refresh. */
28863
29067
  lastFetchedAt: number() });
@@ -28867,13 +29071,23 @@ var nativeObjectDetectionCapability = {
28867
29071
  deviceNative: true,
28868
29072
  mode: "singleton",
28869
29073
  deviceTypes: [DeviceType.Camera],
28870
- methods: { setEnabled: method(object({
28871
- deviceId: number(),
28872
- enabled: boolean()
28873
- }), _void(), {
28874
- kind: "mutation",
28875
- auth: "admin"
28876
- }) },
29074
+ methods: {
29075
+ getOptions: method(object({ deviceId: number() }), NativeObjectDetectionOptionsSchema),
29076
+ setSettings: method(object({
29077
+ deviceId: number(),
29078
+ settings: NativeObjectDetectionSettingsPatchSchema
29079
+ }), _void(), {
29080
+ kind: "mutation",
29081
+ auth: "admin"
29082
+ }),
29083
+ setEnabled: method(object({
29084
+ deviceId: number(),
29085
+ enabled: boolean()
29086
+ }), _void(), {
29087
+ kind: "mutation",
29088
+ auth: "admin"
29089
+ })
29090
+ },
28877
29091
  events: { onDetected: { data: object({
28878
29092
  deviceId: number(),
28879
29093
  detection: NativeDetectionSchema
@@ -33721,7 +33935,28 @@ var PerScopeBreakdownSchema = object({
33721
33935
  /** Total tracked objects in this scope (frame / zone / unzoned). */
33722
33936
  totalObjects: number().int().nonnegative(),
33723
33937
  /** Per-class count. Keys are macro class names (e.g. `person`, `car`). */
33724
- byClass: record(string(), number().int().nonnegative())
33938
+ byClass: record(string(), number().int().nonnegative()),
33939
+ /**
33940
+ * Of `totalObjects`, how many are STANDING — objects the census holds,
33941
+ * present but not going anywhere (a parked car, a bin, a statue).
33942
+ *
33943
+ * The operator's question about a scene has two halves and they answer
33944
+ * different things: "what is parked here" is stable for hours and must not
33945
+ * flap, while "who is walking through" is the thing an alert is about. One
33946
+ * number could only serve one of them, and `totalObjects` served the first
33947
+ * badly — a passer-by moved it and every occupancy rule saw a change.
33948
+ *
33949
+ * `standing + transient === totalObjects`, always. The total keeps its old
33950
+ * meaning exactly, so no rule written against it changes behaviour.
33951
+ *
33952
+ * ABSENT means UNKNOWN, never zero (D393): a snapshot from a node older than
33953
+ * this field cannot say, and a reader that folds absence in as 0 reports "no
33954
+ * parked objects here" about a camera whose lot is full.
33955
+ */
33956
+ standingObjects: number().int().nonnegative().optional(),
33957
+ /** Of `totalObjects`, how many are passing through. See `standingObjects` —
33958
+ * same absence rule. */
33959
+ transientObjects: number().int().nonnegative().optional()
33725
33960
  });
33726
33961
  var ZoneScopeBreakdownSchema = PerScopeBreakdownSchema.extend({
33727
33962
  zoneId: string(),
@@ -33844,6 +34079,23 @@ var HistoryPointSchema = object({
33844
34079
  * triple covers the three spatial scopes (per-zone, frame-wide,
33845
34080
  * outside-any-zone). Crossing them with `className?` gives the full
33846
34081
  * combinatorial coverage the operator UI requested.
34082
+ *
34083
+ * ## ⚠️ The three history methods are DEPRECATED
34084
+ *
34085
+ * They are served from a 60-MINUTE in-memory ring. It dies with the process,
34086
+ * so after a restart they report nothing about a night that did happen, and any
34087
+ * window past an hour is silently clamped — a caller cannot tell a clamp from
34088
+ * an empty scene. The presets in the occupancy chart existed to hide that
34089
+ * horizon rather than to answer a question.
34090
+ *
34091
+ * Use `pipelineAnalytics.readLongTermSeries({ series: 'occupancy', scope })`
34092
+ * instead. Those rows are already written for every camera, ~60 bytes per
34093
+ * (camera, scope, 5-minute bucket), kept for a year, and survive a restart.
34094
+ * Spell the scope with `occupancyScope(zoneId?, className?)` — the same
34095
+ * function the writer uses, so the two cannot drift.
34096
+ *
34097
+ * The ring stays until these three go, and it is the only thing left reading
34098
+ * it. Do not add a fourth caller.
33847
34099
  */
33848
34100
  var zoneAnalyticsCapability = {
33849
34101
  name: "zone-analytics",
@@ -38243,12 +38495,24 @@ Object.freeze({
38243
38495
  addonId: null,
38244
38496
  access: "create"
38245
38497
  },
38498
+ "nativeObjectDetection.getOptions": {
38499
+ capName: "native-object-detection",
38500
+ capScope: "device",
38501
+ addonId: null,
38502
+ access: "view"
38503
+ },
38246
38504
  "nativeObjectDetection.setEnabled": {
38247
38505
  capName: "native-object-detection",
38248
38506
  capScope: "device",
38249
38507
  addonId: null,
38250
38508
  access: "create"
38251
38509
  },
38510
+ "nativeObjectDetection.setSettings": {
38511
+ capName: "native-object-detection",
38512
+ capScope: "device",
38513
+ addonId: null,
38514
+ access: "create"
38515
+ },
38252
38516
  "navigation.getFeatures": {
38253
38517
  capName: "navigation",
38254
38518
  capScope: "device",
@@ -38513,6 +38777,12 @@ Object.freeze({
38513
38777
  addonId: null,
38514
38778
  access: "view"
38515
38779
  },
38780
+ "notificationRules.getClipRetentionAsks": {
38781
+ capName: "notification-rules",
38782
+ capScope: "system",
38783
+ addonId: null,
38784
+ access: "view"
38785
+ },
38516
38786
  "notificationRules.getConditionCatalog": {
38517
38787
  capName: "notification-rules",
38518
38788
  capScope: "system",
@@ -39023,6 +39293,12 @@ Object.freeze({
39023
39293
  addonId: null,
39024
39294
  access: "create"
39025
39295
  },
39296
+ "pipelineAnalytics.readLongTermSeries": {
39297
+ capName: "pipeline-analytics",
39298
+ capScope: "device",
39299
+ addonId: null,
39300
+ access: "view"
39301
+ },
39026
39302
  "pipelineAnalytics.rebuildObjectEmbeddings": {
39027
39303
  capName: "pipeline-analytics",
39028
39304
  capScope: "device",
@@ -39695,6 +39971,12 @@ Object.freeze({
39695
39971
  addonId: null,
39696
39972
  access: "create"
39697
39973
  },
39974
+ "pipelineRunner.requestOccupancyBurst": {
39975
+ capName: "pipeline-runner",
39976
+ capScope: "system",
39977
+ addonId: null,
39978
+ access: "create"
39979
+ },
39698
39980
  "pipelineRunner.runDetailSubtree": {
39699
39981
  capName: "pipeline-runner",
39700
39982
  capScope: "system",
@@ -42475,11 +42757,21 @@ Object.freeze({
42475
42757
  form: "single",
42476
42758
  optional: false
42477
42759
  }],
42760
+ "nativeObjectDetection.getOptions": [{
42761
+ name: "deviceId",
42762
+ form: "single",
42763
+ optional: false
42764
+ }],
42478
42765
  "nativeObjectDetection.setEnabled": [{
42479
42766
  name: "deviceId",
42480
42767
  form: "single",
42481
42768
  optional: false
42482
42769
  }],
42770
+ "nativeObjectDetection.setSettings": [{
42771
+ name: "deviceId",
42772
+ form: "single",
42773
+ optional: false
42774
+ }],
42483
42775
  "navigation.getFeatures": [{
42484
42776
  name: "deviceId",
42485
42777
  form: "single",
@@ -42829,6 +43121,11 @@ Object.freeze({
42829
43121
  form: "single",
42830
43122
  optional: false
42831
43123
  }],
43124
+ "pipelineAnalytics.readLongTermSeries": [{
43125
+ name: "deviceId",
43126
+ form: "single",
43127
+ optional: false
43128
+ }],
42832
43129
  "pipelineAnalytics.rebuildObjectEmbeddings": [{
42833
43130
  name: "deviceId",
42834
43131
  form: "single",
@@ -43019,6 +43316,11 @@ Object.freeze({
43019
43316
  form: "single",
43020
43317
  optional: false
43021
43318
  }],
43319
+ "pipelineRunner.requestOccupancyBurst": [{
43320
+ name: "deviceId",
43321
+ form: "single",
43322
+ optional: false
43323
+ }],
43022
43324
  "pipelineRunner.runDetailSubtree": [{
43023
43325
  name: "deviceId",
43024
43326
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-import-alexa",
3
- "version": "0.2.101",
3
+ "version": "0.2.102",
4
4
  "description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
5
5
  "keywords": [
6
6
  "camstack",
@@ -68,7 +68,7 @@
68
68
  "dev": "vite build --watch",
69
69
  "typecheck": "tsc --noEmit",
70
70
  "test": "vitest run",
71
- "publish": "npm publish --access public"
71
+ "publish:npm": "npm publish --access public"
72
72
  },
73
73
  "devDependencies": {
74
74
  "@camstack/types": "*",