@camstack/addon-pipeline 1.2.605 → 1.2.607

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 (40) 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-BpOVFx7P.js} +2 -2
  4. package/dist/{custom-model-catalog-G0HvRpSn.mjs → custom-model-catalog-DLaJSsvd.mjs} +2 -2
  5. package/dist/detection-pipeline/index.js +8 -8
  6. package/dist/detection-pipeline/index.mjs +8 -8
  7. package/dist/{dist-7LlEAfx1.js → dist-D-bDoVTG.js} +328 -33
  8. package/dist/{dist-C_81FQSz.mjs → dist-WJO3x4tA.mjs} +323 -34
  9. package/dist/{model-catalogs-CWnvAqRN.mjs → model-catalogs-BvHHaj9m.mjs} +1 -1
  10. package/dist/{model-catalogs-PZwyhy-6.js → model-catalogs-E_r2YtMC.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-B8vaXwjz.js → node-BJDseChf.js} +1 -1
  14. package/dist/{node-Du8pLNm0.mjs → node-D5ayR7EC.mjs} +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-BpmFzpGK.mjs → process-memory-C1hvzW6x.mjs} +1 -1
  18. package/dist/{process-memory-BekNMmIb.js → process-memory-DIqH04KJ.js} +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-DTTNHdKF.mjs} +1 -1
  22. package/dist/{segment-demux-js-CAVgSBfN.js → segment-demux-js-WMKDNa0d.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-C4TOr0w_.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-CGrJJEuu.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-CixUA9FW.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-BA7YCeDs.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/python/edgetpu-install.sh +98 -0
  35. package/python/edgetpu_device.py +59 -0
  36. package/python/inference_pool.py +18 -5
  37. package/python/requirements-edgetpu.txt +9 -4
  38. package/python/test_edgetpu_device.py +74 -0
  39. 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
  40. 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
  /**
@@ -62364,9 +62579,24 @@ var NpuInfoSchema = object({
62364
62579
  name: string().optional(),
62365
62580
  generation: _enum(["xdna1", "xdna2"]).optional()
62366
62581
  });
62582
+ var CoralBusSchema = _enum(["usb", "pci"]);
62367
62583
  var CoralInfoSchema = object({
62368
62584
  type: literal("coral-edgetpu"),
62369
- bus: string().optional()
62585
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
62586
+ bus: string().optional(),
62587
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
62588
+ count: number().int().nonnegative().optional(),
62589
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
62590
+ units: array(object({
62591
+ bus: CoralBusSchema,
62592
+ count: number().int().nonnegative()
62593
+ })).readonly().optional(),
62594
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
62595
+ unavailable: array(object({
62596
+ bus: CoralBusSchema,
62597
+ count: number().int().nonnegative(),
62598
+ reason: _enum(["driver-missing", "device-not-accessible"])
62599
+ })).readonly().optional()
62370
62600
  });
62371
62601
  var HardwareInfoSchema = object({
62372
62602
  platform: HardwarePlatformSchema,
@@ -70648,7 +70878,19 @@ Object.freeze({
70648
70878
  addonId: null,
70649
70879
  access: "view"
70650
70880
  },
70651
- "logDestination.query": {
70881
+ "logDestination.cancelRead": {
70882
+ capName: "log-destination",
70883
+ capScope: "system",
70884
+ addonId: null,
70885
+ access: "create"
70886
+ },
70887
+ "logDestination.describeRead": {
70888
+ capName: "log-destination",
70889
+ capScope: "system",
70890
+ addonId: null,
70891
+ access: "view"
70892
+ },
70893
+ "logDestination.read": {
70652
70894
  capName: "log-destination",
70653
70895
  capScope: "system",
70654
70896
  addonId: null,
@@ -76655,6 +76897,11 @@ Object.freeze({
76655
76897
  form: "single",
76656
76898
  optional: false
76657
76899
  }],
76900
+ "logDestination.read": [{
76901
+ name: "deviceId",
76902
+ form: "single",
76903
+ optional: true
76904
+ }],
76658
76905
  "mediaPlayer.getStatus": [{
76659
76906
  name: "deviceId",
76660
76907
  form: "single",
@@ -80415,6 +80662,41 @@ function pointInPolygon(point, polygon) {
80415
80662
  }
80416
80663
  return inside;
80417
80664
  }
80665
+ /** Bus order of the enumeration: USB first (the historical key), then PCIe. */
80666
+ var BUS_ORDER = ["usb", "pci"];
80667
+ function unitDevice(bus, index) {
80668
+ return index === 0 ? bus : `${bus}:${index}`;
80669
+ }
80670
+ function countOn(coral, bus) {
80671
+ if (coral.units !== void 0) return coral.units.filter((u) => u.bus === bus).reduce((n, u) => n + Math.max(0, u.count), 0);
80672
+ return bus === (coral.bus === "pci" ? "pci" : "usb") ? Math.max(1, coral.count ?? 1) : 0;
80673
+ }
80674
+ /** Every usable Coral unit on a node, USB first then PCIe, in ordinal order. */
80675
+ function coralUsableUnits(coral) {
80676
+ if (coral == null) return [];
80677
+ const out = [];
80678
+ for (const bus of BUS_ORDER) {
80679
+ const count = countOn(coral, bus);
80680
+ for (let index = 0; index < count; index++) out.push({
80681
+ bus,
80682
+ index,
80683
+ device: unitDevice(bus, index)
80684
+ });
80685
+ }
80686
+ return out;
80687
+ }
80688
+ var KEY_DEVICE = /^(usb|pci)(?::(\d+))?$/;
80689
+ /**
80690
+ * Map an edgetpu key suffix (`usb`, `usb:1`, `pci`, `pci:1`) to the explicit
80691
+ * libedgetpu device string (`usb:0`, `usb:1`, `pci:0`, `pci:1`). Throws on any
80692
+ * other string — a pool must never open "whichever Edge TPU comes first".
80693
+ */
80694
+ function edgetpuDelegateDevice(device) {
80695
+ const match = KEY_DEVICE.exec(device.trim());
80696
+ if (match === null) throw new Error(`edgetpu device "${device}" is not usb[:N] or pci[:N]`);
80697
+ const [, bus, ordinal] = match;
80698
+ return `${bus}:${ordinal ?? "0"}`;
80699
+ }
80418
80700
  var AUTO = {
80419
80701
  value: "auto",
80420
80702
  label: "Auto"
@@ -80427,6 +80709,14 @@ var USB = {
80427
80709
  value: "usb",
80428
80710
  label: "Coral USB"
80429
80711
  };
80712
+ function coralUnitOption(unit) {
80713
+ const bus = unit.bus === "pci" ? "PCIe" : "USB";
80714
+ const label = unit.index === 0 ? `Coral ${bus}` : `Coral ${bus} ${unit.index + 1}`;
80715
+ return {
80716
+ value: unit.device,
80717
+ label
80718
+ };
80719
+ }
80430
80720
  var RUNTIMES = [
80431
80721
  {
80432
80722
  id: "onnx",
@@ -80493,8 +80783,11 @@ var RUNTIMES = [
80493
80783
  },
80494
80784
  {
80495
80785
  id: "edgetpu",
80496
- supports: (hw) => hw?.coral != null,
80497
- devices: () => [USB],
80786
+ supports: (hw) => coralUsableUnits(hw?.coral).length > 0,
80787
+ devices: (hw) => {
80788
+ const units = coralUsableUnits(hw?.coral);
80789
+ return units.length > 0 ? units.map(coralUnitOption) : [USB];
80790
+ },
80498
80791
  defaultDevice: "usb"
80499
80792
  }
80500
80793
  ];
@@ -80530,7 +80823,7 @@ function defaultDeviceFor(id) {
80530
80823
  * - coreml: score 95, darwin+arm64
80531
80824
  * - cuda: score 85, nvidia gpu
80532
80825
  * - openvino: score 90 if intel-npu present, else 80 if intel gpu
80533
- * - edgetpu: score 70, coral usb present
80826
+ * - edgetpu: score 70, a usable Coral unit (USB or PCIe)
80534
80827
  * - cpu: score 50 (universal floor, always included)
80535
80828
  *
80536
80829
  * All hardware-matched entries are `available: true`.
@@ -80584,7 +80877,7 @@ function scoreRuntimes(hw) {
80584
80877
  available: true
80585
80878
  });
80586
80879
  }
80587
- if (hw.coral != null) scores.push({
80880
+ if (coralUsableUnits(hw.coral).length > 0) scores.push({
80588
80881
  runtime: "python",
80589
80882
  backend: "edgetpu",
80590
80883
  format: "tflite",
@@ -80643,11 +80936,7 @@ function enumerateInferenceDevices(hw) {
80643
80936
  continue;
80644
80937
  }
80645
80938
  if (s.backend === "edgetpu") {
80646
- const coralCount = Math.max(1, hw.coral?.count ?? 1);
80647
- for (let i = 0; i < coralCount; i++) {
80648
- const dev = i === 0 ? "usb" : `usb:${i}`;
80649
- out.push(device("edgetpu", dev, s.format, s.score));
80650
- }
80939
+ for (const unit of coralUsableUnits(hw.coral)) out.push(device("edgetpu", unit.device, s.format, s.score));
80651
80940
  continue;
80652
80941
  }
80653
80942
  if (s.backend === "onnx" && s.reason.startsWith("ONNX WebGPU")) {
@@ -80730,4 +81019,4 @@ function armRemovalReconcile(opts) {
80730
81019
  return () => clearInterval(timer);
80731
81020
  }
80732
81021
  //#endregion
80733
- export { audioAnalyzerCapability as $, selectAssignedProfileSlots as $n, recordingArchiveCapability as $t, NativeLeaseAdmissionSchema as A, DeviceType as An, gifFromMp4Args as At, RECORDING_SOURCE_CAMSTACK_ADDON as B, customAction as Bn, memoizePinnedFfmpeg as Bt, EVENT_PAD_MS as C, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS as Cn, evictionPolicyForMode as Ct, G711_SCALE_CORRECTION_DB as D, invocationFromEncodeProfile as Dn, ffmpegRate as Dt, FailureCounters as E, evaluateSensorEdge as En, failureContributionCapability as Et, PoolMemoryWatchdog as F, CamProfileSchema as Fn, loadContributionCapability as Ft, VIDEOCLIPS_MAX_OFFER_BYTES as G, hydrateSchema as Gn, overlayClusterStepSettings as Gt, RecordingConfigSchema as H, defineRecordKinds as Hn, modeMayWrite as Ht, RATE_CONTROL_RELAXED as I, HF_REPO as In, logChannelsCapability as It, addonWidgetsSourceCapability as J, makeProfileBrokerId as Jn, pickDetailCropConvention as Jt, VISIT_MERGE_GAP_MS as K, isEvent as Kn, parseProcStatus as Kt, RATE_CONTROL_TIGHT as L, MODEL_FORMATS as Ln, mapAudioLabelToMacro as Lt, NodeBenchRunnerInputSchema as M, BOOT_RECOVERY_BACKOFF_MS as Mn, isFirstLevelMacroClass as Mt, OpsLogEntrySchema as N, BaseAddon as Nn, linkedLabelStepId as Nt, LABEL_SUPPLY_MACRO as O, isSoftwareDecode as On, gbToBytes as Ot, PIPELINE_RAMP as P, CAM_PROFILE_ORDER as Pn, linkedStepOf as Pt, audioAnalysisCapability as Q, parseProfileBrokerId as Qn, rankStreams as Qt, RECORDING_EXPORT_MAX_READ_BYTES as R, audioChunkBytesPerSample as Rn, mayReadLocation as Rt, EVENT_OWNER_TYPES as S, AUDIO_PRESETS as Sn, evaluateZoneRules as St, ExportRecordSchema as T, buildFfmpegArgs as Tn, exportSubjectOf as Tt, RecordingSignalStatusSchema as U, expandAudioChunkToF32le as Un, modelBindingKey as Ut, ROOT_SUPPLIABLE_STEP_IDS as V, defineCustomActions as Vn, migrateLegacyDeviceSignalConfig as Vt, RingBuffer as W, hfModelUrl as Wn, motionDetectionCapability as Wt, applyModelBoundSettings as X, maskUrlCredentials as Xn, pipelineExecutorCapability as Xt, allowedSuppliedEffect as Y, makeSourceBrokerId as Yn, pickNativeLeaseOverride as Yt, armRemovalReconcile as Z, nodePin as Zn, pipelineRunnerCapability as Zt, DEFAULT_DETAIL_CROP_CONVENTION as _, streamBrokerCapability as _n, detectionPipelineCapability as _t, BackgroundRunRegistry as a, resolveEgressDecodeHwAccel as an, discriminatedUnion as ar, clipExportFailure as at, DEVICE_BACKEND_TO_FORMAT as b, videoclipsCapability as bn, egressTransportFromRequest as bt, CLIP_STILL_REASON_CODE_HEADER as c, resolvePoolMemoryPolicy as cn, number as cr, containingParentIndex as ct, CLUSTER_MODEL_SCOPED_STEPS as d, rootSuppliesOf as dn, record as dr, declareLogChannel as dt, recordingCapability as en, sleep as er, audioKindId as et, COCO_80_LABELS as f, runtimeDevices as fn, string as fr, defaultDeviceFor as ft, DEFAULT_CLUSTER_STEP_SETTINGS as g, storageOccupancyCapability as gn, deriveRootFaceRefineRect as gt, DEFAULT_AUDIO_ANALYZER_CONFIG as h, storageEvictableCapability as hn, deriveRecordingMode as ht, AUDIO_MACRO_LABELS as i, resolveCreateExportSubject as in, boolean as ir, cameraStreamsCapability as it, NativeLeaseSettingsSchema as j, errMsg as jn, inferModelProvider as jt, LABEL_SUPPLY_VOCABULARIES as k, DeviceFeature as kn, gifDeriveSpeed as kt, CLIP_STILL_REASON_HEADER as l, resolveRecordingProfiles as ln, object as lr, createHwAccelCache as lt, CROP_SUPPLY_SOURCES as m, stepModelRunsOnFormat as mn, EventCategory as mr, deriveDetailCropRect as mt, APPLE_SA_TO_MACRO as n, recordingSignalCapability as nn, _enum as nr, buildBenchStepTree as nt, BatteryStatusSchema as o, resolveLocationMode as on, lazy as or, clipExportFailureOf as ot, COCO_TO_MACRO as p, startMoverUnderClearance as pn, union as pr, deriveBatteryPresence as pt, YAMNET_TO_MACRO as q, isSecretMarker as qn, pickClusterStepSettings as qt, AUDIO_BACKEND_CHOICES as r, resolveClusterStepModelId as rn, array as rr, cameraOwnsMotionViaSensor as rt, CLIP_BROKER_PACED_RATES as s, resolveModelBoundSetting as sn, literal as sr, collectModelBoundKeys as st, APPEARANCE_BLOCKS as t, recordingExportCapability as tn, userError as tr, batteryCapability as tt, CLIP_STREAM_TRANSPORT_HEADER as u, resolveRootSupply as un, preprocess as ur, createLogChannelsProvider as ut, DEFAULT_EVENTS_BAND_BUFFER_SEC as v, stripRetiredBandPreBufferSec as vn, deviceRemovalHookCapability as vt, EncodeProfileSchema as w, Fmp4BoxSplitter as wn, evictionPolicyOfLocation as wt, DEVICE_RAMP as x, webrtcSessionCapability as xn, enumerateInferenceDevices as xt, DEFAULT_NATIVE_LEASE_SETTINGS as y, supportedRuntimes as yn, egressTranscodeSharingKey as yt, RECORDING_SOURCE_CAMSTACK as z, createEvent as zn, mayWriteToLocation as zt };
81022
+ export { audioAnalyzerCapability as $, parseProfileBrokerId as $n, rankStreams as $t, NativeLeaseAdmissionSchema as A, DeviceFeature as An, gifDeriveSpeed as At, RECORDING_SOURCE_CAMSTACK_ADDON as B, createEvent as Bn, mayWriteToLocation as Bt, EVENT_PAD_MS as C, AUDIO_PRESETS as Cn, evaluateZoneRules as Ct, G711_SCALE_CORRECTION_DB as D, evaluateSensorEdge as Dn, failureContributionCapability as Dt, FailureCounters as E, buildFfmpegArgs as En, exportSubjectOf as Et, PoolMemoryWatchdog as F, CAM_PROFILE_ORDER as Fn, linkedStepOf as Ft, VIDEOCLIPS_MAX_OFFER_BYTES as G, hfModelUrl as Gn, motionDetectionCapability as Gt, RecordingConfigSchema as H, defineCustomActions as Hn, migrateLegacyDeviceSignalConfig as Ht, RATE_CONTROL_RELAXED as I, CamProfileSchema as In, loadContributionCapability as It, addonWidgetsSourceCapability as J, isSecretMarker as Jn, pickClusterStepSettings as Jt, VISIT_MERGE_GAP_MS as K, hydrateSchema as Kn, overlayClusterStepSettings as Kt, RATE_CONTROL_TIGHT as L, HF_REPO as Ln, logChannelsCapability as Lt, NodeBenchRunnerInputSchema as M, errMsg as Mn, inferModelProvider as Mt, OpsLogEntrySchema as N, BOOT_RECOVERY_BACKOFF_MS as Nn, isFirstLevelMacroClass as Nt, LABEL_SUPPLY_MACRO as O, invocationFromEncodeProfile as On, ffmpegRate as Ot, PIPELINE_RAMP as P, BaseAddon as Pn, linkedLabelStepId as Pt, audioAnalysisCapability as Q, nodePin as Qn, pipelineRunnerCapability as Qt, RECORDING_EXPORT_MAX_READ_BYTES as R, MODEL_FORMATS as Rn, mapAudioLabelToMacro as Rt, EVENT_OWNER_TYPES as S, webrtcSessionCapability as Sn, enumerateInferenceDevices as St, ExportRecordSchema as T, Fmp4BoxSplitter as Tn, evictionPolicyOfLocation as Tt, RecordingSignalStatusSchema as U, defineRecordKinds as Un, modeMayWrite as Ut, ROOT_SUPPLIABLE_STEP_IDS as V, customAction as Vn, memoizePinnedFfmpeg as Vt, RingBuffer as W, expandAudioChunkToF32le as Wn, modelBindingKey as Wt, applyModelBoundSettings as X, makeSourceBrokerId as Xn, pickNativeLeaseOverride as Xt, allowedSuppliedEffect as Y, makeProfileBrokerId as Yn, pickDetailCropConvention as Yt, armRemovalReconcile as Z, maskUrlCredentials as Zn, pipelineExecutorCapability as Zt, DEFAULT_DETAIL_CROP_CONVENTION as _, storageOccupancyCapability as _n, detectionPipelineCapability as _t, BackgroundRunRegistry as a, resolveCreateExportSubject as an, boolean as ar, clipExportFailure as at, DEVICE_BACKEND_TO_FORMAT as b, supportedRuntimes as bn, egressTranscodeSharingKey as bt, CLIP_STILL_REASON_CODE_HEADER as c, resolveModelBoundSetting as cn, literal as cr, containingParentIndex as ct, CLUSTER_MODEL_SCOPED_STEPS as d, resolveRootSupply as dn, preprocess as dr, declareLogChannel as dt, recordingArchiveCapability as en, selectAssignedProfileSlots as er, audioKindId as et, COCO_80_LABELS as f, rootSuppliesOf as fn, record as fr, defaultDeviceFor as ft, DEFAULT_CLUSTER_STEP_SETTINGS as g, storageEvictableCapability as gn, deriveRootFaceRefineRect as gt, DEFAULT_AUDIO_ANALYZER_CONFIG as h, stepModelRunsOnFormat as hn, EventCategory as hr, deriveRecordingMode as ht, AUDIO_MACRO_LABELS as i, resolveClusterStepModelId as in, array as ir, cameraStreamsCapability as it, NativeLeaseSettingsSchema as j, DeviceType as jn, gifFromMp4Args as jt, LABEL_SUPPLY_VOCABULARIES as k, isSoftwareDecode as kn, gbToBytes as kt, CLIP_STILL_REASON_HEADER as l, resolvePoolMemoryPolicy as ln, number as lr, createHwAccelCache as lt, CROP_SUPPLY_SOURCES as m, startMoverUnderClearance as mn, union as mr, deriveDetailCropRect as mt, APPLE_SA_TO_MACRO as n, recordingExportCapability as nn, userError as nr, buildBenchStepTree as nt, BatteryStatusSchema as o, resolveEgressDecodeHwAccel as on, discriminatedUnion as or, clipExportFailureOf as ot, COCO_TO_MACRO as p, runtimeDevices as pn, string as pr, deriveBatteryPresence as pt, YAMNET_TO_MACRO as q, isEvent as qn, parseProcStatus as qt, AUDIO_BACKEND_CHOICES as r, recordingSignalCapability as rn, _enum as rr, cameraOwnsMotionViaSensor as rt, CLIP_BROKER_PACED_RATES as s, resolveLocationMode as sn, lazy as sr, collectModelBoundKeys as st, APPEARANCE_BLOCKS as t, recordingCapability as tn, sleep as tr, batteryCapability as tt, CLIP_STREAM_TRANSPORT_HEADER as u, resolveRecordingProfiles as un, object as ur, createLogChannelsProvider as ut, DEFAULT_EVENTS_BAND_BUFFER_SEC as v, streamBrokerCapability as vn, deviceRemovalHookCapability as vt, EncodeProfileSchema as w, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS as wn, evictionPolicyForMode as wt, DEVICE_RAMP as x, videoclipsCapability as xn, egressTransportFromRequest as xt, DEFAULT_NATIVE_LEASE_SETTINGS as y, stripRetiredBandPreBufferSec as yn, edgetpuDelegateDevice as yt, RECORDING_SOURCE_CAMSTACK as z, audioChunkBytesPerSample as zn, mayReadLocation as zt };
@@ -1,4 +1,4 @@
1
- import { Wn as hfModelUrl } from "./dist-C_81FQSz.mjs";
1
+ import { Gn as hfModelUrl } from "./dist-WJO3x4tA.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-D-bDoVTG.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-D-bDoVTG.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 { Ct as evaluateZoneRules, Gt as motionDetectionCapability, Kn as hydrateSchema, Pn as BaseAddon, jn as DeviceType } from "../dist-WJO3x4tA.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,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-D-bDoVTG.js");
3
3
  require("node:os");
4
4
  let node_crypto = require("node:crypto");
5
5
  let node_fs = require("node:fs");
@@ -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 { En as buildFfmpegArgs, Mn as errMsg, Tn as Fmp4BoxSplitter, kn as isSoftwareDecode } from "./dist-WJO3x4tA.mjs";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import { realpathSync } from "node:fs";
4
4
  import path from "node:path";
@@ -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-D-bDoVTG.js");
7
+ const require_node = require("../node-BJDseChf.js");
8
+ const require_custom_model_catalog = require("../custom-model-catalog-BpOVFx7P.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 createEvent, Dt as failureContributionCapability, E as FailureCounters, Ft as linkedStepOf, Hn as defineCustomActions, It as loadContributionCapability, M as NodeBenchRunnerInputSchema, Mn as errMsg, P as PIPELINE_RAMP, Pn as BaseAddon, Qn as nodePin, Qt as pipelineRunnerCapability, Rn as MODEL_FORMATS, V as ROOT_SUPPLIABLE_STEP_IDS, Vn as customAction, Xt as pickNativeLeaseOverride, Y as allowedSuppliedEffect, Yt as pickDetailCropConvention, _ as DEFAULT_DETAIL_CROP_CONVENTION, a as BackgroundRunRegistry, ar as boolean, cn as resolveModelBoundSetting, cr as literal, dn as resolveRootSupply, fn as rootSuppliesOf, gt as deriveRootFaceRefineRect, hr as EventCategory, ir as array, j as NativeLeaseSettingsSchema, lr as number, m as CROP_SUPPLY_SOURCES, mt as deriveDetailCropRect, nt as buildBenchStepTree, pr as string, rr as _enum, rt as cameraOwnsMotionViaSensor, sr as lazy, ur as object, x as DEVICE_RAMP, y as DEFAULT_NATIVE_LEASE_SETTINGS } from "../dist-WJO3x4tA.mjs";
2
+ import { i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-D5ayR7EC.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-DLaJSsvd.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,4 +1,4 @@
1
- import { Kt as parseProcStatus } from "./dist-C_81FQSz.mjs";
1
+ import { qt as parseProcStatus } from "./dist-WJO3x4tA.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
@@ -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-D-bDoVTG.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");