@camstack/addon-pipeline 1.2.605 → 1.2.606

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 (35) hide show
  1. package/dist/audio-analyzer/index.js +3 -3
  2. package/dist/audio-analyzer/index.mjs +3 -3
  3. package/dist/{custom-model-catalog-CEwbRUr7.js → custom-model-catalog-C0iqe95s.js} +2 -2
  4. package/dist/{custom-model-catalog-G0HvRpSn.mjs → custom-model-catalog-DHRYJ8gg.mjs} +2 -2
  5. package/dist/detection-pipeline/index.js +4 -4
  6. package/dist/detection-pipeline/index.mjs +4 -4
  7. package/dist/{dist-C_81FQSz.mjs → dist-DfLtNHaL.mjs} +255 -23
  8. package/dist/{dist-7LlEAfx1.js → dist-PmCvE63K.js} +255 -23
  9. package/dist/{model-catalogs-CWnvAqRN.mjs → model-catalogs-Bt-V_vgh.mjs} +1 -1
  10. package/dist/{model-catalogs-PZwyhy-6.js → model-catalogs-CVq3QMHq.js} +1 -1
  11. package/dist/motion-wasm/index.js +1 -1
  12. package/dist/motion-wasm/index.mjs +1 -1
  13. package/dist/{node-Du8pLNm0.mjs → node-BYIY09HD.mjs} +1 -1
  14. package/dist/{node-B8vaXwjz.js → node-D_-1oz36.js} +1 -1
  15. package/dist/pipeline-runner/index.js +3 -3
  16. package/dist/pipeline-runner/index.mjs +3 -3
  17. package/dist/{process-memory-BekNMmIb.js → process-memory-CZdWXAgA.js} +1 -1
  18. package/dist/{process-memory-BpmFzpGK.mjs → process-memory-DivoZCn9.mjs} +1 -1
  19. package/dist/recorder/index.js +22 -12
  20. package/dist/recorder/index.mjs +22 -12
  21. package/dist/{segment-demux-js-DgTOmmSE.mjs → segment-demux-js-COgPamTd.mjs} +1 -1
  22. package/dist/{segment-demux-js-CAVgSBfN.js → segment-demux-js-CyvSyRQL.js} +1 -1
  23. package/dist/stream-broker/_stub.js +2 -2
  24. package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-Bcv9Iadt.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-CaAWIXhV.mjs} +3 -3
  25. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-C_vhSCZn.mjs +26 -0
  26. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-DxEZc0T0.mjs +26 -0
  27. package/dist/stream-broker/demux-worker-child.js +1 -1
  28. package/dist/stream-broker/demux-worker-child.mjs +1 -1
  29. package/dist/stream-broker/{hostInit-BPTm2pJj.mjs → hostInit-yUSpE3wl.mjs} +3 -3
  30. package/dist/stream-broker/index.js +3 -3
  31. package/dist/stream-broker/index.mjs +3 -3
  32. package/dist/stream-broker/remoteEntry.js +1 -1
  33. package/package.json +1 -1
  34. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-UQheneKm.mjs +0 -26
  35. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-CSyOD5De.mjs +0 -26
@@ -5547,7 +5547,7 @@ var ZodIssueCode = {
5547
5547
  var ZodFirstPartyTypeKind;
5548
5548
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5549
5549
  //#endregion
5550
- //#region ../types/dist/sleep-yKL5gfrH.mjs
5550
+ //#region ../types/dist/sleep-BSuCCFjf.mjs
5551
5551
  /**
5552
5552
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5553
5553
  * window to float samples (D455).
@@ -20177,7 +20177,19 @@ var DeviceHistorySubjectSchema = discriminatedUnion("kind", [object({
20177
20177
  kind: literal("node"),
20178
20178
  nodeId: string().min(1)
20179
20179
  })]);
20180
+ /**
20181
+ * `enum` stores a STATE as the ordinal of its value in the series' value list
20182
+ * (`DeviceHistorySeriesInfo.values`, append-only, so an ordinal never changes
20183
+ * meaning); a rollup keeps the time spent in each state (`states`).
20184
+ */
20180
20185
  var DeviceHistoryKindSchema = _enum([
20186
+ "gauge",
20187
+ "counter",
20188
+ "boolean",
20189
+ "enum"
20190
+ ]);
20191
+ /** What a PRODUCER may declare. `enum` is cap-only: its value list is the cap field's. */
20192
+ var DeviceHistoryProducerKindSchema = _enum([
20181
20193
  "gauge",
20182
20194
  "counter",
20183
20195
  "boolean"
@@ -20214,7 +20226,13 @@ var SeriesInfoSchema = object({
20214
20226
  /** `null` is unknown (a `unitFrom` series whose device does not state a unit right now), never a guess. */
20215
20227
  unit: string().nullable(),
20216
20228
  displayName: string(),
20217
- source: _enum(["cap", "addon"]),
20229
+ source: _enum([
20230
+ "cap",
20231
+ "addon",
20232
+ "derived"
20233
+ ]),
20234
+ /** `enum`: the value of each ordinal (index = ordinal); `null` for every other kind. */
20235
+ values: array(string()).readonly().nullable(),
20218
20236
  firstTs: number(),
20219
20237
  lastTs: number()
20220
20238
  });
@@ -20228,17 +20246,31 @@ var QueryPointSchema = object({
20228
20246
  twMean: number().nullable(),
20229
20247
  min: number(),
20230
20248
  max: number(),
20231
- /** `null` is unknown, never zero (D393). */
20232
- last: number().nullable()
20249
+ /** `null` is unknown, never zero (D393). For an `enum` series: the ordinal of {@link state}. */
20250
+ last: number().nullable(),
20251
+ /**
20252
+ * The increase over the point: a `counter`'s growth since the previous point
20253
+ * or bucket (a drop is a reset, counted from zero), and for
20254
+ * {@link DEVICE_HISTORY_ENERGY_KEY} the kWh used in the bucket. `null` for
20255
+ * every other kind, and when it cannot be known.
20256
+ */
20257
+ delta: number().nullable(),
20258
+ /** `enum`: the state in force at the end of the point (the name of `last`); `null` otherwise. */
20259
+ state: string().nullable(),
20260
+ /** `enum` rollup: milliseconds spent in each state inside the bucket; `null` for raw points and other kinds. */
20261
+ states: record(string(), number()).nullable()
20233
20262
  });
20234
20263
  var QuerySeriesSchema = object({
20235
20264
  scope: string(),
20236
20265
  /** The last point STRICTLY BEFORE `from` in the chosen tier, so a step chart can start at the held value. */
20237
20266
  before: object({
20238
20267
  t: number(),
20239
- value: number().nullable()
20268
+ value: number().nullable(),
20269
+ state: string().nullable()
20240
20270
  }).nullable(),
20241
- points: array(QueryPointSchema).readonly()
20271
+ points: array(QueryPointSchema).readonly(),
20272
+ /** A derived key: the stored key its points were computed from; `null` for a stored series. */
20273
+ derivedFrom: string().nullable()
20242
20274
  });
20243
20275
  /** The window part of a query, shared by the device and node forms. */
20244
20276
  var QueryWindowShape = {
@@ -20254,6 +20286,23 @@ var QueryResultSchema = object({
20254
20286
  series: array(QuerySeriesSchema).readonly(),
20255
20287
  truncated: boolean()
20256
20288
  });
20289
+ /** One read of a batch: a device's key or a node's key (exactly one subject). */
20290
+ var QueryManyItemSchema = union([object({
20291
+ deviceId: number().int(),
20292
+ key: string(),
20293
+ scope: string().optional()
20294
+ }), object({
20295
+ forNodeId: string().min(1),
20296
+ key: string(),
20297
+ scope: string().optional()
20298
+ })]);
20299
+ var QueryManyEntrySchema = discriminatedUnion("ok", [object({
20300
+ ok: literal(true),
20301
+ result: QueryResultSchema
20302
+ }), object({
20303
+ ok: literal(false),
20304
+ error: string()
20305
+ })]);
20257
20306
  var TierStatusSchema = object({
20258
20307
  tier: DeviceHistoryResolutionSchema,
20259
20308
  /** `null` until the first background count answered. */
@@ -20309,16 +20358,22 @@ var DeviceHistoryStatusSchema = object({
20309
20358
  lastRefreshAt: number().nullable()
20310
20359
  })
20311
20360
  });
20312
- method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ nodeId: string().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
20361
+ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ forNodeId: string().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
20313
20362
  deviceId: number().int(),
20314
20363
  ...QueryWindowShape
20315
20364
  }), QueryResultSchema), method(object({
20316
- nodeId: string().min(1),
20365
+ forNodeId: string().min(1),
20317
20366
  ...QueryWindowShape
20318
20367
  }), QueryResultSchema, { auth: "admin" }), method(object({
20368
+ items: array(QueryManyItemSchema).min(1).max(24),
20369
+ from: QueryWindowShape.from,
20370
+ to: QueryWindowShape.to,
20371
+ resolution: QueryWindowShape.resolution,
20372
+ maxPoints: QueryWindowShape.maxPoints
20373
+ }), object({ results: array(QueryManyEntrySchema).readonly() }), { auth: "admin" }), method(object({
20319
20374
  name: string().regex(/^[a-z0-9-]+$/),
20320
20375
  subjectKind: _enum(["device", "node"]),
20321
- kind: DeviceHistoryKindSchema,
20376
+ kind: DeviceHistoryProducerKindSchema,
20322
20377
  unit: string().optional(),
20323
20378
  displayName: string().min(1),
20324
20379
  ingest: _enum(["points", "buckets"])
@@ -43437,14 +43492,106 @@ var LogEntrySchema = object({
43437
43492
  meta: record(string(), unknown()).optional(),
43438
43493
  tags: record(string(), string()).optional()
43439
43494
  });
43440
- method(LogEntrySchema, _void(), { kind: "mutation" }), method(object({
43441
- scope: array(string()).optional(),
43495
+ /**
43496
+ * A history READ against one destination (D898).
43497
+ *
43498
+ * Every filter is applied by the PROVIDER, before the limit — a filter the
43499
+ * browser applied after the limit is what made a rare device's lines
43500
+ * unreachable behind a busy one's. `before` / `after` are cursors the provider
43501
+ * minted (opaque to everyone else): a file position for the rotated files, a
43502
+ * nanosecond timestamp for Loki.
43503
+ *
43504
+ * A read is BOUNDED by `budgetMs`: a filter that matches nothing on a 30-day
43505
+ * store answers `done: false` with the cursor it reached and the bytes it
43506
+ * scanned, and the caller decides whether to go on. That is what makes a long
43507
+ * scan show progress and stop when asked — `cancelRead` ends the slice in
43508
+ * flight, and not asking for the next slice ends the scan.
43509
+ */
43510
+ var LogReadQuerySchema = object({
43511
+ /** Correlates `cancelRead`. Caller-chosen, unique per in-flight read. */
43512
+ requestId: string().min(1).max(64).optional(),
43513
+ /** The device the line is about (`tags.deviceId`, numeric). */
43514
+ deviceId: number().int().optional(),
43515
+ /**
43516
+ * The emitting addon — bare manifest id; `@<version>` / `::<sub>` suffixes
43517
+ * match. Not `addonId`: a cap router reads that name as "which provider".
43518
+ */
43519
+ fromAddonId: string().min(1).max(200).optional(),
43520
+ /**
43521
+ * The emitting node: matches the agent that emitted the line, the node
43522
+ * itself, or a worker under it (`<agent>/<runner>`) — the `agentId`
43523
+ * semantics of `matchesLogTags`. Not `nodeId`: a cap router reads that
43524
+ * name as "which node's provider".
43525
+ */
43526
+ fromNodeId: string().min(1).max(200).optional(),
43527
+ /** Any other tag, exact match (AND). */
43528
+ tags: record(string(), union([string(), number()])).optional(),
43529
+ /** Severity FLOOR: this level and above. */
43442
43530
  level: LogLevelSchema.optional(),
43443
- since: date().optional(),
43444
- until: date().optional(),
43445
- limit: number().optional(),
43446
- tags: record(string(), string()).optional()
43447
- }), array(LogEntrySchema).readonly());
43531
+ /** Case-insensitive substring over message, scope, tag values and meta values. */
43532
+ text: string().min(1).max(200).optional(),
43533
+ /** Epoch ms, inclusive. */
43534
+ since: number().optional(),
43535
+ /** Epoch ms, inclusive. */
43536
+ until: number().optional(),
43537
+ /** Older than this cursor (exclusive). Absent with `after` absent ⇒ from the newest. */
43538
+ before: string().min(1).max(1024).optional(),
43539
+ /** Newer than this cursor (exclusive). */
43540
+ after: string().min(1).max(1024).optional(),
43541
+ limit: number().int().min(1).max(1e3).optional(),
43542
+ /** Wall-clock bound of this slice. The provider caps it. */
43543
+ budgetMs: number().int().min(50).max(1e4).optional()
43544
+ });
43545
+ var LogReadResultSchema = object({
43546
+ /** Newest first. */
43547
+ entries: array(object({
43548
+ /** `<bootId>.<seq>` minted by the emitting LogManager — the dedupe key. */
43549
+ id: string().optional(),
43550
+ /** Epoch ms. */
43551
+ timestamp: number(),
43552
+ level: LogLevelSchema,
43553
+ scope: string().optional(),
43554
+ message: string(),
43555
+ tags: record(string(), union([string(), number()])).optional(),
43556
+ meta: record(string(), unknown()).optional()
43557
+ })),
43558
+ /** Pass as `before` for the next older page; null when nothing older exists. */
43559
+ nextBefore: string().nullable(),
43560
+ /** Pass as `after` to read what arrived since; null when unknown. */
43561
+ nextAfter: string().nullable(),
43562
+ /** Bytes this slice read (files) or received (remote). Progress, not a promise. */
43563
+ scannedBytes: number().int().nonnegative(),
43564
+ /**
43565
+ * True when the scan in this direction reached the end of the store.
43566
+ * False with fewer than `limit` entries means the budget ran out first —
43567
+ * call again with `nextBefore` to go on.
43568
+ */
43569
+ done: boolean(),
43570
+ /** True when `cancelRead` ended this slice early. */
43571
+ cancelled: boolean().optional()
43572
+ });
43573
+ var LogReadCapabilitiesSchema = object({
43574
+ /** False ⇒ this destination only ships lines (console, forwarder, an unconfigured Loki). */
43575
+ readable: boolean(),
43576
+ /** Why not, when `readable` is false — rendered next to the source. */
43577
+ reason: string().nullable(),
43578
+ /** Filters the provider applies itself. A false one is applied by nobody. */
43579
+ filters: object({
43580
+ deviceId: boolean(),
43581
+ addonId: boolean(),
43582
+ nodeId: boolean(),
43583
+ tags: boolean(),
43584
+ level: boolean(),
43585
+ text: boolean(),
43586
+ timeRange: boolean()
43587
+ }),
43588
+ /** How far back the store reaches, when the provider knows (days). */
43589
+ retentionDays: number().nullable()
43590
+ });
43591
+ method(LogEntrySchema, _void(), { kind: "mutation" }), optionalMethod(_void(), LogReadCapabilitiesSchema, { auth: "admin" }), optionalMethod(LogReadQuerySchema, LogReadResultSchema, { auth: "admin" }), optionalMethod(object({ requestId: string().min(1).max(64) }), object({ cancelled: boolean() }), {
43592
+ kind: "mutation",
43593
+ auth: "admin"
43594
+ });
43448
43595
  /**
43449
43596
  * `login-method` — collection cap through which auth addons contribute
43450
43597
  * their pre-auth login surfaces to the login page. This is the SINGLE,
@@ -46343,6 +46490,33 @@ var NcRuleTargetSchema = object({
46343
46490
  params: record(string(), unknown()).optional()
46344
46491
  });
46345
46492
  /**
46493
+ * WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
46494
+ *
46495
+ * Every mode starts from the same CLEAN source frame of the trigger moment
46496
+ * (keyFrame → sceneFrame → lastSceneFrame, narrowed to the trigger instant and
46497
+ * to the zone that fired the rule) and renders it once at send time:
46498
+ * - `scene-boxes` — the whole scene, the subject outlined thick in the accent
46499
+ * colour and every OTHER track visible at that instant outlined thin, each
46500
+ * labelled with class and confidence ("dog 87%").
46501
+ * - `crop` — the subject cut out of that frame around its box at that instant.
46502
+ * - `clean` — the whole scene with nothing drawn on it.
46503
+ * - `none` — no picture.
46504
+ *
46505
+ * A mode that cannot be honoured (no box at that instant, a photograph with no
46506
+ * tracked subject) ships `clean` and names the reason in the log, per camera.
46507
+ * It replaces the `attach` × `frame` × `zoneCrop` triple, which let one rule
46508
+ * ship a crop on one event and a boxed scene on the next depending on which
46509
+ * stored kind had landed.
46510
+ */
46511
+ var NcMediaImageSchema = _enum([
46512
+ "scene-boxes",
46513
+ "crop",
46514
+ "clean",
46515
+ "none"
46516
+ ]);
46517
+ /**
46518
+ * @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
46519
+ *
46346
46520
  * Media attachment policy (P1 still-image subset).
46347
46521
  * - `best` — the best AVAILABLE subject image at dispatch time (D-3).
46348
46522
  * - `best-matching` — the media that explains WHY the rule fired: a rule
@@ -46356,6 +46530,8 @@ var NcRuleTargetSchema = object({
46356
46530
  * - `none` — no attachment.
46357
46531
  */
46358
46532
  /**
46533
+ * @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
46534
+ *
46359
46535
  * WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
46360
46536
  * conflate it with the selection strategy and betray the request: asking for
46361
46537
  * the clean scene frame on an object-event owner used to start at
@@ -46384,16 +46560,29 @@ var NcMediaFrameSchema = _enum([
46384
46560
  */
46385
46561
  var NcLinkedCameraModeSchema = _enum(["mosaic", "each"]);
46386
46562
  var NcMediaPolicySchema = object({
46563
+ /**
46564
+ * The picture — see {@link NcMediaImageSchema}. Absent on a rule nobody has
46565
+ * saved since D897: `normalizeNcMediaPolicy` derives it from the legacy
46566
+ * triple below, at load and at every write, and the store keeps only this.
46567
+ */
46568
+ image: NcMediaImageSchema.optional(),
46569
+ /**
46570
+ * Draw the zone that FIRED the rule on the picture (`scene-boxes` / `clean`;
46571
+ * a `crop` never shows it). Valid only on a rule whose trigger is a zone —
46572
+ * `conditions.zones` or an occupancy zone — and refused on save otherwise.
46573
+ * Replaces `zoneCrop`.
46574
+ */
46575
+ showTriggerZone: boolean().optional(),
46576
+ /** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
46387
46577
  attach: _enum([
46388
46578
  "best",
46389
46579
  "best-matching",
46390
46580
  "keyFrame",
46391
46581
  "none"
46392
- ]).default("best"),
46393
- /** What the still shows. Absent = `cropped` (the historical `best` shape). */
46582
+ ]).optional(),
46583
+ /** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
46394
46584
  frame: NcMediaFrameSchema.optional(),
46395
- /** Crop the attached still to the rule's condition-zone bbox (padded) —
46396
- * "show me the ZONE", not the whole scene or the subject crop. */
46585
+ /** @deprecated D897 — folded into `image: 'clean'` + `showTriggerZone` on save. */
46397
46586
  zoneCrop: boolean().optional(),
46398
46587
  /**
46399
46588
  * Also attach a short GIF cut from the stream broker's clip ring around the
@@ -46565,7 +46754,9 @@ var NcRuleInputSchema = object({
46565
46754
  * targets.
46566
46755
  */
46567
46756
  targetUsers: array(string()).optional(),
46568
- media: NcMediaPolicySchema.default({ attach: "best" }),
46757
+ /** Absent = the kind's default picture (`resolveNcMediaImage`): the subject crop for a
46758
+ * detection, the clean scene for a sensor or a sound. Set explicitly on save (D897). */
46759
+ media: NcMediaPolicySchema.default({}),
46569
46760
  throttle: NcThrottleSchema.default({
46570
46761
  cooldownSec: 60,
46571
46762
  scope: "rule-device"
@@ -47502,13 +47693,37 @@ var NcAlarmModeOpeningsSchema = object({
47502
47693
  /** Covered devices whose state could not be read (D49): neither open nor closed. */
47503
47694
  unknown: array(number().int())
47504
47695
  });
47696
+ /**
47697
+ * One alarm INPUT — a (rule, device) pair — the operator bypassed until the
47698
+ * next disarm ("Bypass this input until disarm" on a trigger notification, or
47699
+ * `nc.bypassAlarmInput`). Reported so an armed alarm with a silenced input
47700
+ * never looks fully armed (D62: off must never look like broken).
47701
+ */
47702
+ var NcAlarmInputBypassViewSchema = object({
47703
+ ruleId: string(),
47704
+ /** The rule's current name (its frozen name when the rule is gone). */
47705
+ ruleName: string(),
47706
+ /** The input: the sensor of the match, else its camera. */
47707
+ deviceId: number().int(),
47708
+ /** The input's current name. */
47709
+ name: string(),
47710
+ /** When it was bypassed (ms epoch). */
47711
+ since: number(),
47712
+ /** Triggers from this input dropped since. */
47713
+ dropped: number().int().min(0)
47714
+ });
47505
47715
  var NcAlarmLiveSchema = object({
47506
47716
  state: AlarmStateSchema,
47507
47717
  /** The mode being armed into (exit delay) or held; null when disarmed. */
47508
47718
  targetMode: AlarmArmModeSchema.nullable(),
47509
47719
  availableModes: array(AlarmArmModeSchema),
47510
47720
  openings: array(NcAlarmModeOpeningsSchema),
47511
- exclusions: array(NcAlarmExclusionViewSchema)
47721
+ exclusions: array(NcAlarmExclusionViewSchema),
47722
+ /**
47723
+ * Inputs bypassed for the rest of this arm session; cleared on disarm.
47724
+ * Defaulted so an older hub answer still parses (as "none known").
47725
+ */
47726
+ bypassedInputs: array(NcAlarmInputBypassViewSchema).default([])
47512
47727
  });
47513
47728
  var NcAlarmConfigSchema = object({
47514
47729
  /**
@@ -70648,7 +70863,19 @@ Object.freeze({
70648
70863
  addonId: null,
70649
70864
  access: "view"
70650
70865
  },
70651
- "logDestination.query": {
70866
+ "logDestination.cancelRead": {
70867
+ capName: "log-destination",
70868
+ capScope: "system",
70869
+ addonId: null,
70870
+ access: "create"
70871
+ },
70872
+ "logDestination.describeRead": {
70873
+ capName: "log-destination",
70874
+ capScope: "system",
70875
+ addonId: null,
70876
+ access: "view"
70877
+ },
70878
+ "logDestination.read": {
70652
70879
  capName: "log-destination",
70653
70880
  capScope: "system",
70654
70881
  addonId: null,
@@ -76655,6 +76882,11 @@ Object.freeze({
76655
76882
  form: "single",
76656
76883
  optional: false
76657
76884
  }],
76885
+ "logDestination.read": [{
76886
+ name: "deviceId",
76887
+ form: "single",
76888
+ optional: true
76889
+ }],
76658
76890
  "mediaPlayer.getStatus": [{
76659
76891
  name: "deviceId",
76660
76892
  form: "single",
@@ -1,4 +1,4 @@
1
- import { Wn as hfModelUrl } from "./dist-C_81FQSz.mjs";
1
+ import { Wn as hfModelUrl } from "./dist-DfLtNHaL.mjs";
2
2
  //#region src/detection-pipeline/registry/model-licenses.ts
3
3
  var COCO_DATA = {
4
4
  name: "COCO 2017",
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-7LlEAfx1.js");
1
+ const require_dist = require("./dist-PmCvE63K.js");
2
2
  //#region src/detection-pipeline/registry/model-licenses.ts
3
3
  var COCO_DATA = {
4
4
  name: "COCO 2017",
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_dist = require("../dist-7LlEAfx1.js");
5
+ const require_dist = require("../dist-PmCvE63K.js");
6
6
  const require_lazy_sharp = require("../lazy-sharp-BuwKlQLR.js");
7
7
  let node_fs = require("node:fs");
8
8
  let node_path = require("node:path");
@@ -1,4 +1,4 @@
1
- import { An as DeviceType, Gn as hydrateSchema, Nn as BaseAddon, St as evaluateZoneRules, Wt as motionDetectionCapability } from "../dist-C_81FQSz.mjs";
1
+ import { An as DeviceType, Gn as hydrateSchema, Nn as BaseAddon, St as evaluateZoneRules, Wt as motionDetectionCapability } from "../dist-DfLtNHaL.mjs";
2
2
  import { t as getSharp } from "../lazy-sharp-DXsqwpph.mjs";
3
3
  import { readFileSync } from "node:fs";
4
4
  import { join } from "node:path";
@@ -1,4 +1,4 @@
1
- import { On as isSoftwareDecode, Tn as buildFfmpegArgs, jn as errMsg, wn as Fmp4BoxSplitter } from "./dist-C_81FQSz.mjs";
1
+ import { On as isSoftwareDecode, Tn as buildFfmpegArgs, jn as errMsg, wn as Fmp4BoxSplitter } from "./dist-DfLtNHaL.mjs";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import { realpathSync } from "node:fs";
4
4
  import path from "node:path";
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require("./chunk-emK7D4bc.js");
2
- const require_dist = require("./dist-7LlEAfx1.js");
2
+ const require_dist = require("./dist-PmCvE63K.js");
3
3
  require("node:os");
4
4
  let node_crypto = require("node:crypto");
5
5
  let node_fs = require("node:fs");
@@ -3,9 +3,9 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../chunk-emK7D4bc.js");
6
- const require_dist = require("../dist-7LlEAfx1.js");
7
- const require_node = require("../node-B8vaXwjz.js");
8
- const require_custom_model_catalog = require("../custom-model-catalog-CEwbRUr7.js");
6
+ const require_dist = require("../dist-PmCvE63K.js");
7
+ const require_node = require("../node-D_-1oz36.js");
8
+ const require_custom_model_catalog = require("../custom-model-catalog-C0iqe95s.js");
9
9
  const require_hub_hostname = require("../hub-hostname-DAJXlOgV.js");
10
10
  const require_lazy_sharp = require("../lazy-sharp-BuwKlQLR.js");
11
11
  const require_restream_intent = require("../restream-intent-7uDNqMKs.js");
@@ -1,6 +1,6 @@
1
- import { A as NativeLeaseAdmissionSchema, Bn as customAction, E as FailureCounters, Et as failureContributionCapability, Ft as loadContributionCapability, Jt as pickDetailCropConvention, Ln as MODEL_FORMATS, M as NodeBenchRunnerInputSchema, Nn as BaseAddon, P as PIPELINE_RAMP, Pt as linkedStepOf, V as ROOT_SUPPLIABLE_STEP_IDS, Vn as defineCustomActions, Y as allowedSuppliedEffect, Yt as pickNativeLeaseOverride, Zn as nodePin, Zt as pipelineRunnerCapability, _ as DEFAULT_DETAIL_CROP_CONVENTION, a as BackgroundRunRegistry, cr as number, dn as rootSuppliesOf, fr as string, gt as deriveRootFaceRefineRect, ir as boolean, j as NativeLeaseSettingsSchema, jn as errMsg, lr as object, m as CROP_SUPPLY_SOURCES, mr as EventCategory, mt as deriveDetailCropRect, nr as _enum, nt as buildBenchStepTree, or as lazy, rr as array, rt as cameraOwnsMotionViaSensor, sn as resolveModelBoundSetting, sr as literal, un as resolveRootSupply, x as DEVICE_RAMP, y as DEFAULT_NATIVE_LEASE_SETTINGS, zn as createEvent } from "../dist-C_81FQSz.mjs";
2
- import { i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-Du8pLNm0.mjs";
3
- import { a as stepsForElectedPool, b as getStepDefinition, d as rootObjectGate, f as localFrameRegistry, h as resolveFrameViewGeometry, i as placeDetailStep, l as resolveDefaultDetectionModel, m as createSessionDecodeCoordinator, p as isSessionDecodeReadGone, s as resolveDeviceEngine, t as CustomModelCatalog, u as macroGateVerdict, y as getStep } from "../custom-model-catalog-G0HvRpSn.mjs";
1
+ import { A as NativeLeaseAdmissionSchema, Bn as customAction, E as FailureCounters, Et as failureContributionCapability, Ft as loadContributionCapability, Jt as pickDetailCropConvention, Ln as MODEL_FORMATS, M as NodeBenchRunnerInputSchema, Nn as BaseAddon, P as PIPELINE_RAMP, Pt as linkedStepOf, V as ROOT_SUPPLIABLE_STEP_IDS, Vn as defineCustomActions, Y as allowedSuppliedEffect, Yt as pickNativeLeaseOverride, Zn as nodePin, Zt as pipelineRunnerCapability, _ as DEFAULT_DETAIL_CROP_CONVENTION, a as BackgroundRunRegistry, cr as number, dn as rootSuppliesOf, fr as string, gt as deriveRootFaceRefineRect, ir as boolean, j as NativeLeaseSettingsSchema, jn as errMsg, lr as object, m as CROP_SUPPLY_SOURCES, mr as EventCategory, mt as deriveDetailCropRect, nr as _enum, nt as buildBenchStepTree, or as lazy, rr as array, rt as cameraOwnsMotionViaSensor, sn as resolveModelBoundSetting, sr as literal, un as resolveRootSupply, x as DEVICE_RAMP, y as DEFAULT_NATIVE_LEASE_SETTINGS, zn as createEvent } from "../dist-DfLtNHaL.mjs";
2
+ import { i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-BYIY09HD.mjs";
3
+ import { a as stepsForElectedPool, b as getStepDefinition, d as rootObjectGate, f as localFrameRegistry, h as resolveFrameViewGeometry, i as placeDetailStep, l as resolveDefaultDetectionModel, m as createSessionDecodeCoordinator, p as isSessionDecodeReadGone, s as resolveDeviceEngine, t as CustomModelCatalog, u as macroGateVerdict, y as getStep } from "../custom-model-catalog-DHRYJ8gg.mjs";
4
4
  import { t as resolveHubHostname } from "../hub-hostname-cCknRYKj.mjs";
5
5
  import { t as getSharp } from "../lazy-sharp-DXsqwpph.mjs";
6
6
  import { c as withDetectionIntent, o as preRollRequestOf, t as DETECTION_PRE_ROLL_REQUEST_MS } from "../restream-intent-DyGmLAU9.mjs";
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require("./chunk-emK7D4bc.js");
2
- const require_dist = require("./dist-7LlEAfx1.js");
2
+ const require_dist = require("./dist-PmCvE63K.js");
3
3
  let node_fs = require("node:fs");
4
4
  node_fs = require_chunk.__toESM(node_fs);
5
5
  let node_child_process = require("node:child_process");
@@ -1,4 +1,4 @@
1
- import { Kt as parseProcStatus } from "./dist-C_81FQSz.mjs";
1
+ import { Kt as parseProcStatus } from "./dist-DfLtNHaL.mjs";
2
2
  import * as fs from "node:fs";
3
3
  import { execFile } from "node:child_process";
4
4
  //#region src/shared/node-topology-platform.ts
@@ -3,8 +3,8 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../chunk-emK7D4bc.js");
6
- const require_dist = require("../dist-7LlEAfx1.js");
7
- const require_node = require("../node-B8vaXwjz.js");
6
+ const require_dist = require("../dist-PmCvE63K.js");
7
+ const require_node = require("../node-D_-1oz36.js");
8
8
  const require_hub_hostname = require("../hub-hostname-DAJXlOgV.js");
9
9
  const require_restream_intent = require("../restream-intent-7uDNqMKs.js");
10
10
  let node_crypto = require("node:crypto");
@@ -5908,6 +5908,10 @@ Object.freeze({
5908
5908
  "resolution": "auto",
5909
5909
  "maxPoints": 1e3
5910
5910
  },
5911
+ "queryMany": {
5912
+ "resolution": "auto",
5913
+ "maxPoints": 1e3
5914
+ },
5911
5915
  "queryNode": {
5912
5916
  "resolution": "auto",
5913
5917
  "maxPoints": 1e3
@@ -5966,7 +5970,7 @@ Object.freeze({
5966
5970
  "createRule": { "rule": { "__nested__": {
5967
5971
  "enabled": true,
5968
5972
  "conditions": {},
5969
- "media": { "attach": "best" },
5973
+ "media": {},
5970
5974
  "throttle": {
5971
5975
  "cooldownSec": 60,
5972
5976
  "scope": "rule-device"
@@ -5977,7 +5981,7 @@ Object.freeze({
5977
5981
  "previewStateSummary": { "rule": { "__nested__": {
5978
5982
  "enabled": true,
5979
5983
  "conditions": {},
5980
- "media": { "attach": "best" },
5984
+ "media": {},
5981
5985
  "throttle": {
5982
5986
  "cooldownSec": 60,
5983
5987
  "scope": "rule-device"
@@ -5988,7 +5992,7 @@ Object.freeze({
5988
5992
  "rule": { "__nested__": {
5989
5993
  "enabled": true,
5990
5994
  "conditions": {},
5991
- "media": { "attach": "best" },
5995
+ "media": {},
5992
5996
  "throttle": {
5993
5997
  "cooldownSec": 60,
5994
5998
  "scope": "rule-device"
@@ -6181,7 +6185,6 @@ Object.freeze({
6181
6185
  ],
6182
6186
  "load-contribution": ["list"],
6183
6187
  "log-channels": ["list"],
6184
- "log-destination": ["query"],
6185
6188
  "login-method": ["getLoginMethods"],
6186
6189
  "mqtt-broker": ["listBrokers"],
6187
6190
  "network-access": ["listEndpoints"],
@@ -6203,12 +6206,19 @@ Object.freeze({
6203
6206
  "user-passkeys": ["listPasskeys"],
6204
6207
  "videoclips": ["listClips", "listSources"]
6205
6208
  });
6206
- Object.freeze({ "videoclips": [
6207
- "dialClipStream",
6208
- "getPlaybackOptions",
6209
- "offerClipBytes",
6210
- "readClipBytes"
6211
- ] });
6209
+ Object.freeze({
6210
+ "log-destination": [
6211
+ "cancelRead",
6212
+ "describeRead",
6213
+ "read"
6214
+ ],
6215
+ "videoclips": [
6216
+ "dialClipStream",
6217
+ "getPlaybackOptions",
6218
+ "offerClipBytes",
6219
+ "readClipBytes"
6220
+ ]
6221
+ });
6212
6222
  Object.freeze({ "doorbell": "lastPressedAt" });
6213
6223
  Object.freeze({
6214
6224
  "air-quality-sensor": [
@@ -1,5 +1,5 @@
1
- import { $n as selectAssignedProfileSlots, $t as recordingArchiveCapability, An as DeviceType, B as RECORDING_SOURCE_CAMSTACK_ADDON, Bn as customAction, Bt as memoizePinnedFfmpeg, C as EVENT_PAD_MS, Ct as evictionPolicyForMode, En as evaluateSensorEdge, Ft as loadContributionCapability, G as VIDEOCLIPS_MAX_OFFER_BYTES, Gn as hydrateSchema, H as RecordingConfigSchema, Hn as defineRecordKinds, Ht as modeMayWrite, K as VISIT_MERGE_GAP_MS, Mt as isFirstLevelMacroClass, N as OpsLogEntrySchema, Nn as BaseAddon, Ot as gbToBytes, R as RECORDING_EXPORT_MAX_READ_BYTES, Rt as mayReadLocation, S as EVENT_OWNER_TYPES, T as ExportRecordSchema, Tt as exportSubjectOf, U as RecordingSignalStatusSchema, Vn as defineCustomActions, Vt as migrateLegacyDeviceSignalConfig, Z as armRemovalReconcile, Zn as nodePin, at as clipExportFailure, bn as videoclipsCapability, cr as number, dr as record, en as recordingCapability, er as sleep$1, fr as string, gn as storageOccupancyCapability, hn as storageEvictableCapability, ht as deriveRecordingMode, in as resolveCreateExportSubject, ir as boolean, jn as errMsg$1, kn as DeviceFeature, ln as resolveRecordingProfiles, lr as object, mr as EventCategory, nn as recordingSignalCapability, nr as _enum, o as BatteryStatusSchema, on as resolveLocationMode, ot as clipExportFailureOf, pn as startMoverUnderClearance, pt as deriveBatteryPresence, rr as array, s as CLIP_BROKER_PACED_RATES, tn as recordingExportCapability, tr as userError, tt as batteryCapability, ur as preprocess, v as DEFAULT_EVENTS_BAND_BUFFER_SEC, vn as stripRetiredBandPreBufferSec, vt as deviceRemovalHookCapability, wt as evictionPolicyOfLocation, z as RECORDING_SOURCE_CAMSTACK, zt as mayWriteToLocation } from "../dist-C_81FQSz.mjs";
2
- import { i as NO_COST_CLAIM, o as physicalRootOf, t as ChildCostRegistry } from "../node-Du8pLNm0.mjs";
1
+ import { $n as selectAssignedProfileSlots, $t as recordingArchiveCapability, An as DeviceType, B as RECORDING_SOURCE_CAMSTACK_ADDON, Bn as customAction, Bt as memoizePinnedFfmpeg, C as EVENT_PAD_MS, Ct as evictionPolicyForMode, En as evaluateSensorEdge, Ft as loadContributionCapability, G as VIDEOCLIPS_MAX_OFFER_BYTES, Gn as hydrateSchema, H as RecordingConfigSchema, Hn as defineRecordKinds, Ht as modeMayWrite, K as VISIT_MERGE_GAP_MS, Mt as isFirstLevelMacroClass, N as OpsLogEntrySchema, Nn as BaseAddon, Ot as gbToBytes, R as RECORDING_EXPORT_MAX_READ_BYTES, Rt as mayReadLocation, S as EVENT_OWNER_TYPES, T as ExportRecordSchema, Tt as exportSubjectOf, U as RecordingSignalStatusSchema, Vn as defineCustomActions, Vt as migrateLegacyDeviceSignalConfig, Z as armRemovalReconcile, Zn as nodePin, at as clipExportFailure, bn as videoclipsCapability, cr as number, dr as record, en as recordingCapability, er as sleep$1, fr as string, gn as storageOccupancyCapability, hn as storageEvictableCapability, ht as deriveRecordingMode, in as resolveCreateExportSubject, ir as boolean, jn as errMsg$1, kn as DeviceFeature, ln as resolveRecordingProfiles, lr as object, mr as EventCategory, nn as recordingSignalCapability, nr as _enum, o as BatteryStatusSchema, on as resolveLocationMode, ot as clipExportFailureOf, pn as startMoverUnderClearance, pt as deriveBatteryPresence, rr as array, s as CLIP_BROKER_PACED_RATES, tn as recordingExportCapability, tr as userError, tt as batteryCapability, ur as preprocess, v as DEFAULT_EVENTS_BAND_BUFFER_SEC, vn as stripRetiredBandPreBufferSec, vt as deviceRemovalHookCapability, wt as evictionPolicyOfLocation, z as RECORDING_SOURCE_CAMSTACK, zt as mayWriteToLocation } from "../dist-DfLtNHaL.mjs";
2
+ import { i as NO_COST_CLAIM, o as physicalRootOf, t as ChildCostRegistry } from "../node-BYIY09HD.mjs";
3
3
  import { t as resolveHubHostname } from "../hub-hostname-cCknRYKj.mjs";
4
4
  import { d as PREBUFFER_MAX_MS, l as withRecordingIntent, r as RECORDING_PRE_ROLL_REQUEST_MS } from "../restream-intent-DyGmLAU9.mjs";
5
5
  import { randomUUID } from "node:crypto";
@@ -5900,6 +5900,10 @@ Object.freeze({
5900
5900
  "resolution": "auto",
5901
5901
  "maxPoints": 1e3
5902
5902
  },
5903
+ "queryMany": {
5904
+ "resolution": "auto",
5905
+ "maxPoints": 1e3
5906
+ },
5903
5907
  "queryNode": {
5904
5908
  "resolution": "auto",
5905
5909
  "maxPoints": 1e3
@@ -5958,7 +5962,7 @@ Object.freeze({
5958
5962
  "createRule": { "rule": { "__nested__": {
5959
5963
  "enabled": true,
5960
5964
  "conditions": {},
5961
- "media": { "attach": "best" },
5965
+ "media": {},
5962
5966
  "throttle": {
5963
5967
  "cooldownSec": 60,
5964
5968
  "scope": "rule-device"
@@ -5969,7 +5973,7 @@ Object.freeze({
5969
5973
  "previewStateSummary": { "rule": { "__nested__": {
5970
5974
  "enabled": true,
5971
5975
  "conditions": {},
5972
- "media": { "attach": "best" },
5976
+ "media": {},
5973
5977
  "throttle": {
5974
5978
  "cooldownSec": 60,
5975
5979
  "scope": "rule-device"
@@ -5980,7 +5984,7 @@ Object.freeze({
5980
5984
  "rule": { "__nested__": {
5981
5985
  "enabled": true,
5982
5986
  "conditions": {},
5983
- "media": { "attach": "best" },
5987
+ "media": {},
5984
5988
  "throttle": {
5985
5989
  "cooldownSec": 60,
5986
5990
  "scope": "rule-device"
@@ -6173,7 +6177,6 @@ Object.freeze({
6173
6177
  ],
6174
6178
  "load-contribution": ["list"],
6175
6179
  "log-channels": ["list"],
6176
- "log-destination": ["query"],
6177
6180
  "login-method": ["getLoginMethods"],
6178
6181
  "mqtt-broker": ["listBrokers"],
6179
6182
  "network-access": ["listEndpoints"],
@@ -6195,12 +6198,19 @@ Object.freeze({
6195
6198
  "user-passkeys": ["listPasskeys"],
6196
6199
  "videoclips": ["listClips", "listSources"]
6197
6200
  });
6198
- Object.freeze({ "videoclips": [
6199
- "dialClipStream",
6200
- "getPlaybackOptions",
6201
- "offerClipBytes",
6202
- "readClipBytes"
6203
- ] });
6201
+ Object.freeze({
6202
+ "log-destination": [
6203
+ "cancelRead",
6204
+ "describeRead",
6205
+ "read"
6206
+ ],
6207
+ "videoclips": [
6208
+ "dialClipStream",
6209
+ "getPlaybackOptions",
6210
+ "offerClipBytes",
6211
+ "readClipBytes"
6212
+ ]
6213
+ });
6204
6214
  Object.freeze({ "doorbell": "lastPressedAt" });
6205
6215
  Object.freeze({
6206
6216
  "air-quality-sensor": [