@camstack/addon-provider-velux 0.2.120 → 0.2.122

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 +947 -463
  2. package/dist/addon.mjs +947 -463
  3. package/package.json +1 -1
package/dist/addon.js CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- //#region ../types/dist/event-category-BGmz_oxW.mjs
2
+ //#region ../types/dist/event-category-B_0XEcLF.mjs
3
3
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4
4
  EventCategory["SystemBoot"] = "system.boot";
5
5
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -500,15 +500,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
500
500
  EventCategory["AgentWsDisconnected"] = "agent.ws.disconnected";
501
501
  EventCategory["AgentBackupActivated"] = "agent.backup.activated";
502
502
  EventCategory["OrchestrationSettingsUpdated"] = "orchestration.settings-updated";
503
- /**
504
- * Per-agent hwaccel preference changed (user override set, cleared, or
505
- * re-probed). Observability event — decoders pull the current pref at
506
- * `createSession`, so running sessions keep their current backend until
507
- * they rotate naturally (camera add/remove, stream restart). Future
508
- * work can wire a listener in stream-broker that force-rotates live
509
- * sessions; for now this event powers logs + admin-UI toast feedback.
510
- */
511
- EventCategory["PipelineAgentHwaccelChanged"] = "pipeline.agent-hwaccel-changed";
512
503
  EventCategory["MotionAnalysis"] = "detection.motion-analysis";
513
504
  /** All raw motion zones from CCL before minArea filter — for UI debug overlay. */
514
505
  EventCategory["MotionZonesRaw"] = "detection.motion-zones-raw";
@@ -5379,7 +5370,7 @@ var ZodIssueCode = {
5379
5370
  var ZodFirstPartyTypeKind;
5380
5371
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5381
5372
  //#endregion
5382
- //#region ../types/dist/sleep-DXKLNFvA.mjs
5373
+ //#region ../types/dist/sleep-BNeXenvr.mjs
5383
5374
  /**
5384
5375
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5385
5376
  * window to float samples (D455).
@@ -6745,32 +6736,12 @@ object({
6745
6736
  audioCodec: string().optional(),
6746
6737
  metadata: record(string(), unknown()).readonly().optional()
6747
6738
  });
6748
- var EncodedPacketSchema = object({
6749
- type: _enum(["video", "audio"]),
6750
- data: _instanceof(Uint8Array),
6751
- pts: number(),
6752
- dts: number(),
6753
- keyframe: boolean(),
6754
- codec: string()
6755
- });
6756
- var DecodedFrameSchema = object({
6757
- data: _instanceof(Uint8Array),
6758
- width: number(),
6759
- height: number(),
6760
- format: _enum([
6761
- "jpeg",
6762
- "rgb",
6763
- "bgr",
6764
- "yuv420",
6765
- "gray"
6766
- ]),
6767
- timestamp: number()
6768
- });
6769
6739
  /**
6770
6740
  * Wire schema for `FrameHandle` — a zero-pixel, serialisable reference to a
6771
6741
  * frame in a shared-memory ring (Phase 5 / D9). Mirrors the `FrameHandle` TS
6772
- * interface in `interfaces/frame-handle.ts` field-for-field so a decoder cap
6773
- * method (`pullHandles`) can carry handles over tRPC / Moleculer.
6742
+ * interface in `interfaces/frame-handle.ts` field-for-field so a cap method
6743
+ * (the runner's native-crop and pipeline-executor inputs) can carry handles
6744
+ * over tRPC / Moleculer.
6774
6745
  *
6775
6746
  * The `satisfies` assertion below pins this schema to the interface: if a
6776
6747
  * field is added to / removed from `FrameHandle` without a matching schema
@@ -6796,50 +6767,6 @@ var FrameHandleSchema = object({
6796
6767
  slotCount: number().int().positive()
6797
6768
  });
6798
6769
  /**
6799
- * Pixel format a frame-handle subscriber can request from the broker
6800
- * (Phase 5 / D9). The packed, raster subset of `FrameFormat` — the formats a
6801
- * `frameSink: 'shm'` decoder session can write into a `FrameRing` slot.
6802
- * `jpeg` is excluded: a variable-length stream is not a fixed-stride ring
6803
- * payload, and no decoded-frame consumer requests it over the shm plane.
6804
- */
6805
- var FrameHandleFormatSchema = _enum([
6806
- "rgb",
6807
- "bgr",
6808
- "yuv420",
6809
- "gray"
6810
- ]);
6811
- /**
6812
- * Input for `stream-broker.subscribeFrames` (Phase 5 / D9). A consumer asks the
6813
- * broker for a `FrameHandle` stream of one `format`; the broker maintains one
6814
- * shared-memory ring per `(brokerId, format)` actually requested, so a `gray`
6815
- * subscriber (motion) and an `rgb` subscriber (detection) each read the format
6816
- * they asked for with no broker-side conversion.
6817
- */
6818
- var SubscribeFramesInputSchema = object({
6819
- brokerId: string(),
6820
- format: FrameHandleFormatSchema,
6821
- /**
6822
- * Optional reader-side cadence hint in frames per second. The broker does
6823
- * NOT throttle — latest-wins ring reads drop frames implicitly for a slow
6824
- * consumer. The value is echoed back in `SubscribeFramesResult.maxFps` so
6825
- * the consumer can pace its own `pullFrameHandles` polling.
6826
- */
6827
- maxFps: number().positive().optional(),
6828
- /** Short caller-identity tag (`motion`, `detection`, …) for diagnostics. */
6829
- tag: string().optional()
6830
- });
6831
- /**
6832
- * Result of `stream-broker.subscribeFrames`. The consumer then polls
6833
- * `pullFrameHandles({ subscriptionId, maxCount })` and feeds each returned
6834
- * `FrameHandle` to a `FrameRingReader`.
6835
- */
6836
- var SubscribeFramesResultSchema = object({
6837
- /** Opaque id the consumer passes to `pullFrameHandles` / `unsubscribeFrames`. */
6838
- subscriptionId: string(),
6839
- /** Reader-side cadence hint (frames/s) — echoes `SubscribeFramesInput.maxFps`. */
6840
- maxFps: number().nonnegative()
6841
- });
6842
- /**
6843
6770
  * Wire schema for a decoded audio chunk (Phase 5 / D9). Mirrors the
6844
6771
  * `DecodedAudioChunk` TS interface in `interfaces/stream-broker.ts`: PCM
6845
6772
  * sample bytes plus the track parameters a consumer needs to interpret them.
@@ -6847,8 +6774,8 @@ var SubscribeFramesResultSchema = object({
6847
6774
  * Audio chunks are tiny (a ~500ms AudioCodecSession window is a few KB of
6848
6775
  * Float32 PCM), so unlike video frames they ship their bytes INLINE over
6849
6776
  * tRPC / Moleculer — no shared-memory plane. `data` is typed `Uint8Array`
6850
- * (the wire-serialisable supertype of `Buffer`) to match `DecodedFrameSchema`
6851
- * / `EncodedPacketSchema`'s precedent; a `Buffer` is assignable to it.
6777
+ * (the wire-serialisable supertype of `Buffer`); a `Buffer` is assignable to
6778
+ * it.
6852
6779
  */
6853
6780
  var AudioChunkFormatSchema = _enum(AUDIO_CHUNK_FORMATS);
6854
6781
  var DecodedAudioChunkSchema = object({
@@ -6866,11 +6793,10 @@ var DecodedAudioChunkSchema = object({
6866
6793
  format: AudioChunkFormatSchema.optional()
6867
6794
  });
6868
6795
  /**
6869
- * Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9). The
6870
- * handle-free, ship-bytes-inline analogue of `subscribeFrames`: a consumer
6871
- * asks the broker for the decoded audio-chunk stream of one broker; the
6872
- * broker keeps a per-subscription bounded FIFO queue the consumer drains via
6873
- * `pullAudioChunks`.
6796
+ * Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9). Audio ships
6797
+ * its bytes inline: a consumer asks the broker for the decoded audio-chunk
6798
+ * stream of one broker; the broker keeps a per-subscription bounded FIFO queue
6799
+ * the consumer drains via `pullAudioChunks`.
6874
6800
  */
6875
6801
  var SubscribeAudioChunksInputSchema = object({
6876
6802
  brokerId: string(),
@@ -6901,9 +6827,7 @@ var BrokerStatsSchema = object({
6901
6827
  "stopped"
6902
6828
  ]),
6903
6829
  inputFps: number(),
6904
- decodeFps: number(),
6905
6830
  encodedSubscribers: number(),
6906
- decodedSubscribers: number(),
6907
6831
  uptimeMs: number(),
6908
6832
  bitrateKbps: number(),
6909
6833
  idrIntervalMs: number(),
@@ -6916,14 +6840,6 @@ var BrokerStatsSchema = object({
6916
6840
  preBufferMs: number(),
6917
6841
  preBufferPackets: number(),
6918
6842
  /**
6919
- * Moleculer node id of the decoder provider currently servicing this
6920
- * stream's decoded subscribers. `null` until the deferred decoder is
6921
- * created (no decoded clients yet, or codec not detected). Surfaces the
6922
- * runtime decoder placement so the UI can show "Decoder: <agent>" without
6923
- * a separate cap call per broker.
6924
- */
6925
- decoderNodeId: string().nullable(),
6926
- /**
6927
6843
  * Detected audio track parameters from the RTSP DESCRIBE / SDP. `null`
6928
6844
  * when the stream has no audio track or the broker is in cold start.
6929
6845
  * `supported = false` means the codec was detected but the local
@@ -10259,70 +10175,6 @@ var StorageLocationDeclarationSchema = object({
10259
10175
  "backup"
10260
10176
  ]).optional()
10261
10177
  });
10262
- var DecoderStatsSchema = object({
10263
- inputFps: number(),
10264
- outputFps: number(),
10265
- avgDecodeTimeMs: number(),
10266
- droppedFrames: number(),
10267
- /**
10268
- * Pull-mode adaptive-fps telemetry (optional — only pull sessions run the
10269
- * lag-driven controller; push sessions omit these). `lagMs` is the EWMA of
10270
- * the decoder's real-time drift (rising = falling behind live); `adaptiveFps`
10271
- * is the current lag-throttled emit rate (≤ `effectiveFps` ceiling).
10272
- */
10273
- lagMs: number().optional(),
10274
- effectiveFps: number().optional(),
10275
- adaptiveFps: number().optional()
10276
- });
10277
- var DecoderSessionConfigSchema = object({
10278
- codec: string(),
10279
- maxFps: number().default(0),
10280
- outputFormat: _enum([
10281
- "jpeg",
10282
- "rgb",
10283
- "bgr",
10284
- "yuv420",
10285
- "gray"
10286
- ]).default("jpeg"),
10287
- scale: number().default(1),
10288
- width: number().optional(),
10289
- height: number().optional(),
10290
- /**
10291
- * Identifier of the camera this decoder session serves. Optional
10292
- * because the cap is generic (any caller could request decode), but
10293
- * stream-broker passes it so decoder logs include `deviceId` for
10294
- * per-camera filtering when diagnosing failures (e.g. node-av
10295
- * sendPacket errors on a single hung camera).
10296
- */
10297
- deviceId: number().int().nonnegative().optional(),
10298
- /**
10299
- * Free-form tag for log scoping. Stream-broker uses
10300
- * `broker:<deviceId>/<profile>`. Decoder session logger surfaces it
10301
- * on every line so `grep tag=broker:5/high` filters one camera
10302
- * profile cleanly.
10303
- */
10304
- tag: string().optional(),
10305
- /**
10306
- * Where the session delivers decoded frames (Phase 5 / D9):
10307
- *
10308
- * - `'callback'` (default) — the legacy pixel path: decoded frames are
10309
- * buffered as `DecodedFrame`s and drained via `pullFrames`.
10310
- * - `'shm'` — the shared-memory frame plane: decoded frames are written
10311
- * into an OS shared-memory ring and drained as zero-pixel
10312
- * `FrameHandle`s via `pullHandles`. A session is one mode or the
10313
- * other — `pullFrames` returns nothing for an `'shm'` session and
10314
- * `pullHandles` returns nothing for a `'callback'` session.
10315
- */
10316
- frameSink: _enum(["callback", "shm"]).default("callback"),
10317
- /**
10318
- * Per-camera decoder DEBUG facility. When `true`, a pull-mode session emits
10319
- * a throttled (~1Hz) structured `decoder debug` line (effective/adaptive fps,
10320
- * real-time lag, dropped-frame delta, avg decode time, hwaccel). Mirrors the
10321
- * stream-broker's `streamingDebug` gate — off by default so production logs
10322
- * stay quiet and the emit path pays zero per-frame cost when disabled.
10323
- */
10324
- debug: boolean().optional()
10325
- });
10326
10178
  /**
10327
10179
  * Per-component log CHANNELS — the gate a hot path consults, and the registry
10328
10180
  * an addon declares its channels in.
@@ -10465,6 +10317,26 @@ var ClipSearchStrictnessSchema = _enum([
10465
10317
  "balanced",
10466
10318
  "strict"
10467
10319
  ]);
10320
+ /** Steps whose effect a root label can BE. */
10321
+ var LABEL_SUPPLY_STEP_IDS = [
10322
+ "animal-classifier",
10323
+ "vehicle-classifier",
10324
+ "package-detection"
10325
+ ];
10326
+ /** Steps whose box a root detection can BE. */
10327
+ var CROP_SUPPLY_STEP_IDS = ["plate-detection", "face-detection"];
10328
+ /**
10329
+ * Steps whose per-detection MASK a root detection can carry (D737). The live
10330
+ * mask step is `segmentation` — a frame-plane refiner that runs its own model
10331
+ * once per detection crop. (`instance-segmentation` is a dormant step id that
10332
+ * no camera tree carries.)
10333
+ */
10334
+ var MASK_SUPPLY_STEP_IDS = ["segmentation"];
10335
+ [
10336
+ ...LABEL_SUPPLY_STEP_IDS,
10337
+ ...CROP_SUPPLY_STEP_IDS,
10338
+ ...MASK_SUPPLY_STEP_IDS
10339
+ ];
10468
10340
  var MODEL_FORMATS = [
10469
10341
  "onnx",
10470
10342
  "coreml",
@@ -10493,7 +10365,53 @@ var ModelFormatEntrySchema = object({
10493
10365
  /** Multi-file payload (directory members or sibling files). */
10494
10366
  files: array(string()).readonly().optional(),
10495
10367
  /** Runtime(s) that can use this format. If omitted, inferred from ModelFormat key */
10496
- runtimes: array(_enum(["python"])).readonly().optional()
10368
+ runtimes: array(_enum(["python"])).readonly().optional(),
10369
+ /**
10370
+ * Content revision of the artefact, for one hosted OFF the CamStack mirror.
10371
+ * A format on the mirror leaves it unset: its revision (the sha256 of its
10372
+ * weight file) comes from the downloader's generated table, kept in step
10373
+ * with the mirror by `scripts/check-hosted-model-revisions.ts` (D744). A
10374
+ * node records the revision it downloaded next to the file
10375
+ * (`<file>.revision`); a copy with no record or a different one is stale
10376
+ * unless its weight file hashes to the revision, and a stale copy is
10377
+ * downloaded again, the old one serving until the new one is complete. No
10378
+ * revision at all ⇒ a file on disk is current, whatever it holds (D743).
10379
+ */
10380
+ revision: string().min(1).optional()
10381
+ });
10382
+ /**
10383
+ * What a node holds for one (model, format) (D746). `current` is a complete
10384
+ * copy at its catalog revision — exactly what `downloaded: true` means.
10385
+ * `stale` is bytes on disk that are not (yet) proven current under D743/D744:
10386
+ * no or a different revision record, or a missing sibling. `missing` is no
10387
+ * copy. `downloaded` alone folds `stale` into "not downloaded", which hid
10388
+ * reclaimable bytes and a copy about to be replaced.
10389
+ */
10390
+ var ModelOnDiskStateSchema = _enum([
10391
+ "current",
10392
+ "stale",
10393
+ "missing"
10394
+ ]);
10395
+ /**
10396
+ * The numeric precision of one format's BUILD (D746) — reported only when the
10397
+ * build states it (file-name token, an INT8 variant, an EdgeTPU compile, a
10398
+ * CamStack Core ML export). Absent means "not stated", never "fp32".
10399
+ */
10400
+ var ModelFormatPrecisionSchema = _enum([
10401
+ "fp32",
10402
+ "fp16",
10403
+ "int8"
10404
+ ]);
10405
+ /**
10406
+ * One format of one model as a node's `pipelineExecutor.getSchema` reports it.
10407
+ * `onDisk` / `precision` are optional for version skew: a runner that predates
10408
+ * them omits them, and a reader falls back to `downloaded`.
10409
+ */
10410
+ var PipelineModelFormatStatusSchema = object({
10411
+ downloaded: boolean(),
10412
+ sizeMB: number(),
10413
+ onDisk: ModelOnDiskStateSchema.optional(),
10414
+ precision: ModelFormatPrecisionSchema.optional()
10497
10415
  });
10498
10416
  /**
10499
10417
  * Extra file that must be downloaded alongside the model (e.g., labels JSON, dict.txt).
@@ -10597,6 +10515,46 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
10597
10515
  /** True when the weights or their data forbid commercial use. */
10598
10516
  nonCommercial: boolean().optional()
10599
10517
  }));
10518
+ /**
10519
+ * One step a ROOT detector can supply from its own output (D730) — see
10520
+ * `ModelCatalogEntry.suppliesSteps`.
10521
+ *
10522
+ * - `label`: the root's raw class IS the step's answer. `labelToEffect` maps
10523
+ * the root's label to the step's vocabulary; `uncovered` is the vocabulary
10524
+ * the root cannot produce (shown as unavailable, never a blocker).
10525
+ * - `crop`: the root draws the box the step would have found (`license_plate`
10526
+ * for plate-detection, `face` for face-detection). The box becomes a detail
10527
+ * child of the `parentMacro` detection that contains it — never a track.
10528
+ * - `mask`: the root's decode emits an instance mask with every detection (a
10529
+ * YOLO26-seg root, D737) — the `segmentation` step's result, carried on the
10530
+ * detection in the shape that step produces. Derived from the model's
10531
+ * postprocessor on read, never stored by an import.
10532
+ */
10533
+ var RootStepSupplySchema = discriminatedUnion("kind", [
10534
+ object({
10535
+ kind: literal("label"),
10536
+ stepId: _enum(LABEL_SUPPLY_STEP_IDS),
10537
+ labelToEffect: record(string(), string()),
10538
+ uncovered: array(string()).readonly()
10539
+ }),
10540
+ object({
10541
+ kind: literal("crop"),
10542
+ stepId: _enum(CROP_SUPPLY_STEP_IDS),
10543
+ rootLabels: array(string()).readonly(),
10544
+ parentMacro: _enum(["vehicle", "person"]),
10545
+ childClass: _enum(["plate", "face"]),
10546
+ /**
10547
+ * The root's smaller input side, stamped on read by `rootSuppliesOf` from
10548
+ * the model entry — what a step's `minRootInputPx` gate judges. Never
10549
+ * stored by an import.
10550
+ */
10551
+ rootInputPx: number().int().positive().optional()
10552
+ }),
10553
+ object({
10554
+ kind: literal("mask"),
10555
+ stepId: _enum(MASK_SUPPLY_STEP_IDS)
10556
+ })
10557
+ ]);
10600
10558
  var ModelCatalogEntrySchema = object({
10601
10559
  id: string(),
10602
10560
  name: string(),
@@ -10662,6 +10620,35 @@ var ModelCatalogEntrySchema = object({
10662
10620
  */
10663
10621
  defaultConfidence: number().min(0).max(1).optional(),
10664
10622
  /**
10623
+ * Per-MODEL default of the per-class confidence floors (`minConfidence<Macro>`
10624
+ * on a detector step), keyed by macro class: `{ person: 0.45 }`. A class
10625
+ * absent here runs at the step slider's global default. The same row shape
10626
+ * the floor measurement produces (`model-floors.json`: modelId → floors), so
10627
+ * a measured table is copied in as-is. An operator override is bound to the
10628
+ * model it was made for and does not survive a model change (D738). A custom
10629
+ * / imported model may declare it; without it, the global defaults apply.
10630
+ */
10631
+ defaultClassFloors: record(string(), number().min(0).max(1)).optional(),
10632
+ /**
10633
+ * The inference precision this model's OpenVINO IR needs on an Intel GPU.
10634
+ * Absent ⇒ the device default (f16 on a GPU). Set to `'f32'` for an FP32 IR
10635
+ * that produces invalid output at f16 — measured 2026-10-07 for YOLO26
10636
+ * base IRs (`yolo26s`: 0 true / 146 false positives; `yolo26m*`: NaN
10637
+ * scores) on the Core Ultra iGPU and the N100. Threaded to the pool as
10638
+ * `PoolModelConfig.gpuInferencePrecision`; the pool sets
10639
+ * INFERENCE_PRECISION_HINT on a GPU only. Costs ~60% latency on the GPU.
10640
+ */
10641
+ gpuInferencePrecision: _enum(["f32", "f16"]).optional(),
10642
+ /**
10643
+ * ROOT detectors only: per supplied step (`animal-classifier`, …), the
10644
+ * minimum DETECTION score from which this root's own fine label (species,
10645
+ * vehicle type — D736 root supply) is taken (D741). Below it the detection
10646
+ * keeps its macro class without the fine label. `1` = never take it from
10647
+ * this root. Absent ⇒ no floor beyond the macro floor. The supplied step's
10648
+ * `minConfidence` slider, bound to the ROOT model, overrides it.
10649
+ */
10650
+ suppliedLabelFloors: record(string(), number().min(0).max(1)).optional(),
10651
+ /**
10665
10652
  * When true, the executor produces a landmark-aligned crop (similarity warp
10666
10653
  * onto the canonical template) before this step runs, instead of a plain
10667
10654
  * axis-aligned bbox crop. Required for face-recognition embedders (ArcFace):
@@ -10723,6 +10710,16 @@ var ModelCatalogEntrySchema = object({
10723
10710
  */
10724
10711
  classMap: DetectionCatalogClassMapSchema.optional(),
10725
10712
  /**
10713
+ * The pipeline steps this ROOT detector can supply from its own output
10714
+ * (D730): its labels name a step's effect (`deer` for `animal-classifier`)
10715
+ * or draw a step's box (`license_plate` for `plate-detection`). Computed at
10716
+ * import from THIS model's labelmap by `deriveRootSupplies`, never written
10717
+ * by hand and never assumed per family; a row without it is derived on read
10718
+ * (`rootSuppliesOf`). Whether a camera uses it is the step's own
10719
+ * `useRootModel` flag (`resolveRootSupply`).
10720
+ */
10721
+ suppliesSteps: array(RootStepSupplySchema).readonly().optional(),
10722
+ /**
10726
10723
  * The model's CLIP feature-space contract (text encoder, dimension, vector
10727
10724
  * index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
10728
10725
  * CLIP image encoder; its absence is what "not a CLIP model" means to the
@@ -12324,13 +12321,6 @@ var BrokerRtspClientSchema = object({
12324
12321
  lastRtpAt: number(),
12325
12322
  bytesSent: number()
12326
12323
  });
12327
- var BrokerDecodedClientSchema = object({
12328
- tag: string(),
12329
- subscribedAt: number(),
12330
- maxFps: number(),
12331
- framesDelivered: number(),
12332
- framesDropped: number()
12333
- });
12334
12324
  var BrokerAudioClientSchema = object({
12335
12325
  tag: string(),
12336
12326
  subscribedAt: number(),
@@ -12422,7 +12412,6 @@ var BrokerEncodedClientSchema = object({
12422
12412
  });
12423
12413
  var BrokerClientsSchema = object({
12424
12414
  rtsp: array(BrokerRtspClientSchema).readonly(),
12425
- decoded: array(BrokerDecodedClientSchema).readonly(),
12426
12415
  audio: array(BrokerAudioClientSchema).readonly(),
12427
12416
  encoded: array(BrokerEncodedClientSchema).readonly(),
12428
12417
  pipeClients: number(),
@@ -12791,11 +12780,7 @@ method(object({
12791
12780
  auth: "admin"
12792
12781
  }), method(object({ brokerId: string() }), BrokerClientsSchema), method(object({
12793
12782
  brokerId: string(),
12794
- channel: _enum([
12795
- "rtsp",
12796
- "decoded",
12797
- "audio"
12798
- ]),
12783
+ channel: _enum(["rtsp", "audio"]),
12799
12784
  handle: string()
12800
12785
  }), object({ killed: boolean() }), {
12801
12786
  kind: "mutation",
@@ -12830,10 +12815,7 @@ method(object({
12830
12815
  }), method(SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, { kind: "mutation" }), method(object({
12831
12816
  subscriptionId: string(),
12832
12817
  maxCount: number().int().positive().default(8)
12833
- }), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(SubscribeFramesInputSchema, SubscribeFramesResultSchema, { kind: "mutation" }), method(object({
12834
- subscriptionId: string(),
12835
- maxCount: number().int().positive().default(4)
12836
- }), array(FrameHandleSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
12818
+ }), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
12837
12819
  brokerId: string(),
12838
12820
  seconds: number().min(0).max(30)
12839
12821
  }), _void(), {
@@ -14092,54 +14074,12 @@ id: union([string(), number()]) }), {
14092
14074
  kind: "mutation",
14093
14075
  auth: "admin"
14094
14076
  });
14095
- /**
14096
- * shm ring usage stats for a `frameSink: 'shm'` decoder session —
14097
- * exposed via `decoder.getShmStats` so downstream consumers can
14098
- * observe ring pressure (slot count, byte budget, hit/miss ratio).
14099
- */
14100
- var ShmRingStatsSchema = object({
14101
- sessionId: string(),
14102
- slotCount: number().int(),
14103
- slotByteLength: number().int(),
14104
- segmentBytes: number().int(),
14105
- budgetMb: number().int(),
14106
- framesWritten: number().int(),
14107
- getFrameHits: number().int(),
14108
- getFrameMisses: number().int()
14109
- });
14110
- method(object({ codec: string() }), boolean()), method(_void(), object({
14077
+ method(_void(), object({
14111
14078
  id: string(),
14112
14079
  name: string(),
14113
- isPullMode: boolean().optional(),
14114
- priority: number().optional(),
14115
14080
  hwaccel: string().optional(),
14116
14081
  probedBestHwaccel: string().optional()
14117
- })), method(DecoderSessionConfigSchema, object({
14118
- sessionId: string(),
14119
- nodeId: string()
14120
- })), method(object({ sessionId: string() }), _void()), method(object({
14121
- sessionId: string(),
14122
- packet: EncodedPacketSchema
14123
- }), _void()), method(object({
14124
- sessionId: string(),
14125
- url: string()
14126
- }), _void()), method(object({
14127
- sessionId: string(),
14128
- maxCount: number().default(1),
14129
- waitMs: number().optional()
14130
- }), array(DecodedFrameSchema)), method(object({
14131
- sessionId: string(),
14132
- maxCount: number().default(1),
14133
- waitMs: number().optional()
14134
- }), array(FrameHandleSchema)), method(object({ handle: FrameHandleSchema }), DecodedFrameSchema.nullable()), method(object({ sessionId: string() }), ShmRingStatsSchema.nullable()), method(object({
14135
- sessionId: string(),
14136
- config: DecoderSessionConfigSchema.partial()
14137
- }), _void()), method(object({ sessionId: string() }), DecoderStatsSchema), method(_void(), array(object({
14138
- sessionId: string(),
14139
- codec: string(),
14140
- outputFormat: string(),
14141
- createdAtMs: number()
14142
- })).readonly()), method(_void(), object({ backend: string() }), {
14082
+ })), method(_void(), object({ backend: string() }), {
14143
14083
  kind: "mutation",
14144
14084
  auth: "admin"
14145
14085
  });
@@ -16284,6 +16224,12 @@ method(_void(), array(string()).readonly(), { auth: "admin" }), method(object({
16284
16224
  kind: "mutation",
16285
16225
  auth: "admin"
16286
16226
  });
16227
+ var HUB_ADDRESS_ROLES = [
16228
+ "appConnections",
16229
+ "notificationTaps",
16230
+ "internal",
16231
+ "publicEndpoint"
16232
+ ];
16287
16233
  /**
16288
16234
  * Transport bounds for AI capability methods.
16289
16235
  *
@@ -18886,6 +18832,8 @@ var NcSystemEventKindSchema = _enum([
18886
18832
  "stream-offline",
18887
18833
  "node-online",
18888
18834
  "node-offline",
18835
+ "node-restarting",
18836
+ "node-updating",
18889
18837
  "node-inference-unavailable",
18890
18838
  "detection-blind",
18891
18839
  "addon-crash-loop",
@@ -20491,7 +20439,13 @@ var NcAlarmModeDelaysListSchema = array(object({
20491
20439
  * Absent = false (logged, not sent). Even when true it is not sent when that same sensor
20492
20440
  * is the one that starts the entry delay — the entry-delay notification already names it.
20493
20441
  */
20494
- notifySensorRewatched: boolean().optional()
20442
+ notifySensorRewatched: boolean().optional(),
20443
+ /**
20444
+ * D735: notify "ignored" when a sensor this arm bypassed really MOVED while armed (its own
20445
+ * change time is after the arm) and set nothing off. Absent = false (logged, not sent). A
20446
+ * re-sync, a recovery from `unavailable` or a duplicate is never announced, switch or not.
20447
+ */
20448
+ notifySensorIgnored: boolean().optional()
20495
20449
  })).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
20496
20450
  var NcAlarmModeDelaysEditListSchema = array(object({
20497
20451
  mode: AlarmArmModeSchema,
@@ -20504,7 +20458,9 @@ var NcAlarmModeDelaysEditListSchema = array(object({
20504
20458
  /** D706: set the switch, or `null` to clear it (back to the default, false). */
20505
20459
  notifyDuringEntryDelay: boolean().nullable().optional(),
20506
20460
  /** D706: set the switch, or `null` to clear it (back to the default, false). */
20507
- notifySensorRewatched: boolean().nullable().optional()
20461
+ notifySensorRewatched: boolean().nullable().optional(),
20462
+ /** D735: set the switch, or `null` to clear it (back to the default, false). */
20463
+ notifySensorIgnored: boolean().nullable().optional()
20508
20464
  })).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
20509
20465
  /** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
20510
20466
  var NcAlarmNonBlockingEditSchema = object({
@@ -21482,8 +21438,8 @@ Object.freeze(Object.fromEntries([{
21482
21438
  var CLUSTER_STEP_SETTING_FIELDS = [{
21483
21439
  stepId: "face-embedding",
21484
21440
  key: "minLandmarkFaceSize",
21485
- label: "Min face size for recognition (detection px)",
21486
- description: "Refuse to embed a face smaller than this IN THE DETECTION FRAME. Applies to every node — the enrolled gallery is one index, and two admission floors would fill it from two policies. 0 disables the gate.",
21441
+ label: "Min face size to embed (detection-frame px)",
21442
+ description: "Faces smaller than this in the small frame the detector sees are not embedded, so they can never be recognised. Below it the face cannot be aligned reliably and a bad embedding matches everyone. Same value on every node. 0 = no limit.",
21487
21443
  type: "slider",
21488
21444
  min: 0,
21489
21445
  max: 64,
@@ -23403,6 +23359,34 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
23403
23359
  timestamp: number()
23404
23360
  });
23405
23361
  /**
23362
+ * A root model's boxes standing in for one crop-kind step's own inference
23363
+ * (D730) — see `runPipeline.suppliedRoot`.
23364
+ */
23365
+ var SuppliedRootOutputSchema = object({
23366
+ stepId: string(),
23367
+ /** The root model that drew the boxes — stamped on the result. */
23368
+ modelId: string(),
23369
+ detections: array(object({
23370
+ /** `[x1, y1, x2, y2]` in the pixels of the call's image. */
23371
+ bbox: tuple([
23372
+ number(),
23373
+ number(),
23374
+ number(),
23375
+ number()
23376
+ ]),
23377
+ score: number(),
23378
+ /**
23379
+ * Five facial landmarks in the same pixels — a face the step's own
23380
+ * detector already re-found inside a root face box (D730), so its
23381
+ * embedder child aligns it exactly as it aligns any detected face.
23382
+ */
23383
+ landmarks: array(object({
23384
+ x: number(),
23385
+ y: number()
23386
+ })).optional()
23387
+ })).min(1)
23388
+ });
23389
+ /**
23406
23390
  * Reference to the frame's retained NATIVE surface + the parent crop's placement
23407
23391
  * within the frame, so the executor can re-cut a leaf child ROI at native
23408
23392
  * resolution on the detail plane. See the `runPipeline` `nativeCropRef` field.
@@ -23450,7 +23434,7 @@ var FrameRefSchema = object({
23450
23434
  timestamp: number(),
23451
23435
  capturedAt: number().optional()
23452
23436
  });
23453
- var ModelFormatSchema$1 = _enum([
23437
+ var ModelFormatSchema$2 = _enum([
23454
23438
  "onnx",
23455
23439
  "coreml",
23456
23440
  "openvino",
@@ -23468,7 +23452,7 @@ var PipelineSlotSchema = _enum([
23468
23452
  var PipelineEngineChoiceSchema = object({
23469
23453
  runtime: literal("python"),
23470
23454
  backend: string(),
23471
- format: ModelFormatSchema$1,
23455
+ format: ModelFormatSchema$2,
23472
23456
  device: string().optional()
23473
23457
  });
23474
23458
  /**
@@ -23507,32 +23491,15 @@ var PipelineDefaultStepSchema = lazy(() => object({
23507
23491
  group: string().optional(),
23508
23492
  settings: record(string(), unknown()).optional()
23509
23493
  }));
23510
- var PipelineTemplateStepSchema = lazy(() => object({
23511
- addonId: string(),
23512
- enabled: boolean(),
23513
- modelId: string(),
23514
- children: array(PipelineTemplateStepSchema).readonly(),
23515
- settings: record(string(), unknown()).optional()
23516
- }));
23517
- var PipelineTemplateSchema$1 = object({
23518
- id: string(),
23519
- name: string(),
23520
- createdAt: string(),
23521
- updatedAt: string(),
23522
- engine: PipelineEngineChoiceSchema,
23523
- steps: array(PipelineTemplateStepSchema).readonly()
23524
- });
23525
23494
  var PipelineModelOptionSchema = object({
23526
23495
  id: string(),
23527
23496
  name: string(),
23528
- formats: record(string(), object({
23529
- downloaded: boolean(),
23530
- sizeMB: number()
23531
- })),
23497
+ formats: record(string(), PipelineModelFormatStatusSchema),
23532
23498
  group: ModelVariantGroupSchema.optional(),
23533
23499
  legacy: boolean().optional(),
23534
23500
  provider: ModelProviderIdSchema.optional(),
23535
- defaultConfidence: number().optional()
23501
+ defaultConfidence: number().optional(),
23502
+ suppliesSteps: array(RootStepSupplySchema).readonly().optional()
23536
23503
  });
23537
23504
  var ConfigFieldBridge = custom();
23538
23505
  var PipelineAddonSchemaSchema = object({
@@ -23694,6 +23661,22 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
23694
23661
  }), {
23695
23662
  kind: "mutation",
23696
23663
  auth: "admin"
23664
+ }), method(object({
23665
+ nodeId: string(),
23666
+ deviceIds: array(number()).readonly().optional(),
23667
+ dryRun: boolean()
23668
+ }), object({
23669
+ entries: array(object({
23670
+ deviceId: number(),
23671
+ keys: array(string()).readonly()
23672
+ })).readonly(),
23673
+ refused: array(object({
23674
+ deviceId: number(),
23675
+ reason: string()
23676
+ })).readonly()
23677
+ }), {
23678
+ kind: "mutation",
23679
+ auth: "admin"
23697
23680
  }), method(object({ nodeId: string() }), object({ unhealthy: array(object({
23698
23681
  /** `<backend>:<device>`, e.g. `openvino:gpu`. */
23699
23682
  deviceKey: string(),
@@ -23719,22 +23702,14 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
23719
23702
  }), method(_void(), PipelineSchemaSchema), method(_void(), array(PipelineDefaultStepSchema).readonly().nullable()), method(_void(), PipelineConfigBridge), method(_void(), ConfigUISchemaBridge), method(object({
23720
23703
  steps: array(PipelineStepInputSchema),
23721
23704
  deviceKey: string().optional()
23722
- }), PipelineValidationResultSchema), method(_void(), array(PipelineTemplateSchema$1).readonly()), method(object({
23723
- name: string(),
23724
- steps: array(PipelineTemplateStepSchema).readonly(),
23725
- engine: PipelineEngineChoiceSchema
23726
- }), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({
23727
- id: string(),
23728
- name: string().optional(),
23729
- steps: array(PipelineTemplateStepSchema).readonly().optional()
23730
- }), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({ id: string() }), _void(), { kind: "mutation" }), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
23705
+ }), PipelineValidationResultSchema), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
23731
23706
  addonId: string(),
23732
23707
  modelId: string(),
23733
- format: ModelFormatSchema$1
23708
+ format: ModelFormatSchema$2
23734
23709
  }), DownloadModelResultSchema, { kind: "mutation" }), method(object({
23735
23710
  addonId: string(),
23736
23711
  modelId: string(),
23737
- format: ModelFormatSchema$1
23712
+ format: ModelFormatSchema$2
23738
23713
  }), object({ success: literal(true) }), { kind: "mutation" }), method(object({
23739
23714
  steps: array(PipelineStepInputSchema).min(1),
23740
23715
  frame: FrameInputSchema.optional(),
@@ -23800,7 +23775,16 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
23800
23775
  * `device-not-servable`), and nothing reaches the camera's live
23801
23776
  * trace stream. Absent ⇒ unchanged behaviour.
23802
23777
  */
23803
- replay: literal(true).optional()
23778
+ replay: literal(true).optional(),
23779
+ /**
23780
+ * Root-supplied detections for the tree's ROOT step (D730). Set by
23781
+ * `runDetailSubtree` when the camera's root model supplies a crop-kind
23782
+ * step (a Frigate+ `license_plate` for `plate-detection`): the step is
23783
+ * NOT inferred, these boxes are its output, and its children (the plate
23784
+ * reader) run on them through their own crop policy. Boxes are in the
23785
+ * PIXELS of the image this call carries. Absent ⇒ the root step runs.
23786
+ */
23787
+ suppliedRoot: SuppliedRootOutputSchema.optional()
23804
23788
  }), PipelineRunResultBridge, { kind: "mutation" }), method(object({
23805
23789
  steps: array(PipelineStepInputSchema).min(1),
23806
23790
  frames: array(FrameInputSchema).min(1).max(255),
@@ -23882,6 +23866,375 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
23882
23866
  filename: string().optional(),
23883
23867
  settings: record(string(), unknown()).optional()
23884
23868
  }), AudioTestResultSchema, { kind: "mutation" }), method(_void(), ConfigUISchemaNullableBridge);
23869
+ /**
23870
+ * The wire shapes of the Auto tune plan and apply (D745), used by the
23871
+ * `pipeline-orchestrator` cap. The recommender's own types
23872
+ * (`recommend.ts`) are the TS face of the same data; these
23873
+ * schemas are what crosses the cap boundary.
23874
+ */
23875
+ var ModelFormatSchema$1 = _enum(MODEL_FORMATS);
23876
+ /** The operator's range for it. */
23877
+ var MIN_SESSIONS_PER_DEVICE_RANGE = {
23878
+ min: 1,
23879
+ max: 8
23880
+ };
23881
+ var HardwareClassIdSchema = _enum([
23882
+ "intel-core-ultra",
23883
+ "intel-n-series",
23884
+ "apple-m-base",
23885
+ "apple-m-pro",
23886
+ "unknown"
23887
+ ]);
23888
+ var AcceleratorKindSchema = _enum([
23889
+ "intel-npu",
23890
+ "intel-igpu",
23891
+ "x86-cpu",
23892
+ "arm-cpu",
23893
+ "apple-ane",
23894
+ "coral"
23895
+ ]);
23896
+ var RecommendationReasonSchema = discriminatedUnion("kind", [
23897
+ object({
23898
+ kind: literal("capacity"),
23899
+ sessions: number(),
23900
+ minSessions: number()
23901
+ }),
23902
+ object({
23903
+ kind: literal("tie-faster"),
23904
+ over: string(),
23905
+ recallDelta: number()
23906
+ }),
23907
+ object({
23908
+ kind: literal("stepped-down"),
23909
+ from: string(),
23910
+ to: string(),
23911
+ limitedBy: string()
23912
+ }),
23913
+ object({
23914
+ kind: literal("no-fit-lightest"),
23915
+ sessions: number(),
23916
+ minSessions: number()
23917
+ }),
23918
+ object({
23919
+ kind: literal("derived-latency"),
23920
+ modelId: string()
23921
+ }),
23922
+ object({ kind: literal("cpu-device") }),
23923
+ object({ kind: literal("coral-untouched") }),
23924
+ object({ kind: literal("device-disabled") }),
23925
+ object({ kind: literal("device-unavailable") }),
23926
+ object({ kind: literal("node-offline") }),
23927
+ object({ kind: literal("no-hardware-facts") }),
23928
+ object({
23929
+ kind: literal("no-measured-data"),
23930
+ hardwareClass: HardwareClassIdSchema
23931
+ }),
23932
+ object({
23933
+ kind: literal("no-family-build"),
23934
+ format: ModelFormatSchema$1
23935
+ })
23936
+ ]);
23937
+ var DeviceModelChoiceSchema = object({
23938
+ modelId: string(),
23939
+ p50Ms: number(),
23940
+ fps: number(),
23941
+ measured: boolean(),
23942
+ /** Parallel sessions at the camera rate with the headroom kept free: ⌊fps × (1 − headroom) / camera fps⌋. */
23943
+ capacitySessions: number(),
23944
+ personRecall: number()
23945
+ });
23946
+ var DeviceRecommendationSchema = object({
23947
+ deviceKey: string(),
23948
+ accelerator: AcceleratorKindSchema.nullable(),
23949
+ enabled: boolean(),
23950
+ available: boolean(),
23951
+ chosen: DeviceModelChoiceSchema.nullable(),
23952
+ reasons: array(RecommendationReasonSchema).readonly()
23953
+ });
23954
+ var NodeRecommendationSchema = object({
23955
+ nodeId: string(),
23956
+ reachable: boolean(),
23957
+ hardwareClass: HardwareClassIdSchema.nullable(),
23958
+ cpuModel: string().nullable(),
23959
+ skipped: boolean(),
23960
+ acceleratorModelId: string().nullable(),
23961
+ devices: array(DeviceRecommendationSchema).readonly(),
23962
+ reasons: array(RecommendationReasonSchema).readonly()
23963
+ });
23964
+ var ModelPinChangeSchema = object({
23965
+ stepId: string(),
23966
+ before: string().nullable(),
23967
+ after: string().nullable()
23968
+ });
23969
+ var NodeDeviceChangeSchema = object({
23970
+ nodeId: string(),
23971
+ deviceKey: string(),
23972
+ madeExplicit: boolean(),
23973
+ modelPins: array(ModelPinChangeSchema).readonly(),
23974
+ thresholds: array(object({
23975
+ stepId: string(),
23976
+ keys: array(string()).readonly()
23977
+ })).readonly()
23978
+ });
23979
+ var CameraOverrideClearSchema = object({
23980
+ deviceId: number(),
23981
+ source: _enum(["step-override", "wholesale"]),
23982
+ nodeId: string(),
23983
+ deviceKey: string().nullable(),
23984
+ stepId: string(),
23985
+ modelIdBefore: string().nullable(),
23986
+ keys: array(string()).readonly()
23987
+ });
23988
+ var DetectorStoreClearSchema = object({
23989
+ deviceId: number(),
23990
+ keys: array(string()).readonly()
23991
+ });
23992
+ var AutoTuneWarningSchema = discriminatedUnion("kind", [
23993
+ object({
23994
+ kind: literal("detector-store-cluster-wide"),
23995
+ skippedNodes: array(string()).readonly()
23996
+ }),
23997
+ object({
23998
+ kind: literal("detector-store-unreadable"),
23999
+ error: string()
24000
+ }),
24001
+ object({
24002
+ kind: literal("coral-enabled"),
24003
+ nodeId: string(),
24004
+ deviceKey: string()
24005
+ })
24006
+ ]);
24007
+ var AutoTuneOptionsSchema = object({
24008
+ /** Share of each accelerator's throughput kept free (0.3–0.5). */
24009
+ headroom: number().min(.3).max(.5).default(.4),
24010
+ /**
24011
+ * The least number of parallel sessions every device must sustain at the
24012
+ * camera rate with the headroom kept free (D755). The most accurate model
24013
+ * that reaches it wins.
24014
+ */
24015
+ minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
24016
+ });
24017
+ var AutoTunePlanSchema = object({
24018
+ /** Hash of everything the apply will write — the apply refuses a different one. */
24019
+ planHash: string(),
24020
+ family: literal("yolov9"),
24021
+ headroom: number(),
24022
+ minSessionsPerDevice: number(),
24023
+ /** The detection rate a session is counted at (the fastest camera running the pipeline root). */
24024
+ cameraFps: number(),
24025
+ generatedAt: number(),
24026
+ nodes: array(NodeRecommendationSchema).readonly(),
24027
+ nodeChanges: array(NodeDeviceChangeSchema).readonly(),
24028
+ cameraClears: array(CameraOverrideClearSchema).readonly(),
24029
+ detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
24030
+ warnings: array(AutoTuneWarningSchema).readonly()
24031
+ });
24032
+ var AutoTuneApplyInputSchema = object({
24033
+ planHash: string(),
24034
+ headroom: number().min(.3).max(.5).default(.4),
24035
+ minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
24036
+ });
24037
+ var AutoTunePhaseResultSchema = object({
24038
+ phase: _enum([
24039
+ "download",
24040
+ "camera-overrides",
24041
+ "detector-thresholds",
24042
+ "node-models",
24043
+ "redispatch"
24044
+ ]),
24045
+ ok: boolean(),
24046
+ detail: string()
24047
+ });
24048
+ var AutoTuneApplyResultSchema = discriminatedUnion("kind", [
24049
+ object({
24050
+ kind: literal("applied"),
24051
+ planHash: string(),
24052
+ phases: array(AutoTunePhaseResultSchema).readonly()
24053
+ }),
24054
+ object({
24055
+ kind: literal("aborted"),
24056
+ phases: array(AutoTunePhaseResultSchema).readonly()
24057
+ }),
24058
+ object({
24059
+ kind: literal("stale"),
24060
+ plan: AutoTunePlanSchema
24061
+ }),
24062
+ object({
24063
+ kind: literal("refused"),
24064
+ reason: _enum(["apply-in-progress"])
24065
+ })
24066
+ ]);
24067
+ /**
24068
+ * Wire shapes of the Load balancing surface (D748): the session placement
24069
+ * policy, the atomic share write, the observed placement statistics, the
24070
+ * hardware share suggestion and the stale device pins.
24071
+ */
24072
+ /**
24073
+ * How a new detection session picks its node and device.
24074
+ * - `least-loaded` — the historical rule: lowest `attached / weight`, a
24075
+ * constant node order at a tie (D37). An idle node always ties at 0, so a
24076
+ * weight only bites once a node already holds a session.
24077
+ * - `share` — the share of PARALLEL sessions is held to the weights, and a
24078
+ * full or drowning node yields to a free one (D748).
24079
+ */
24080
+ var SessionPlacementPolicySchema = _enum(["least-loaded", "share"]);
24081
+ var LoadBalancingSharesInputSchema = object({
24082
+ /** nodeId → share (> 0). A node left out keeps its weight. */
24083
+ nodes: record(string(), number().positive()).default({}),
24084
+ /** nodeId → deviceKey → share (> 0). A device left out keeps its weight. */
24085
+ devices: record(string(), record(string(), number().positive())).default({})
24086
+ });
24087
+ var PlacementStatsInputSchema = object({
24088
+ /** Window the observed shares are averaged over (default 1 h, max 24 h). */
24089
+ windowMs: number().int().min(6e4).max(1440 * 60 * 1e3).default(3600 * 1e3) });
24090
+ var PlacementDeviceStatsSchema = object({
24091
+ deviceKey: string(),
24092
+ /** Sessions running on this device now. */
24093
+ sessionsNow: number(),
24094
+ /** Sessions started on this device inside the window. */
24095
+ sessionsStarted: number(),
24096
+ /** Time-weighted share of the node's parallel sessions over the window (0–1); null = no session ran. */
24097
+ observedShare: number().nullable()
24098
+ });
24099
+ var PlacementNodeStatsSchema = object({
24100
+ nodeId: string(),
24101
+ sessionsNow: number(),
24102
+ sessionsStarted: number(),
24103
+ /** Time-weighted share of the cluster's parallel sessions over the window (0–1); null = none ran. */
24104
+ observedShare: number().nullable(),
24105
+ /** Most sessions this node ran at once inside the window. */
24106
+ peakSessions: number(),
24107
+ /** Sessions a share election handed elsewhere because this node was full or drowning. */
24108
+ yieldsAway: number(),
24109
+ devices: array(PlacementDeviceStatsSchema).readonly()
24110
+ });
24111
+ /** A camera's device pin that the session path cannot honour. */
24112
+ var StaleDevicePinSchema = object({
24113
+ deviceId: number(),
24114
+ deviceKey: string(),
24115
+ /** `disabled` — the key exists on some node but is not enabled anywhere; `absent` — no node has it. */
24116
+ reason: _enum(["disabled", "absent"])
24117
+ });
24118
+ var PlacementStatsSchema = object({
24119
+ policy: SessionPlacementPolicySchema,
24120
+ windowMs: number(),
24121
+ /** How much of the window was actually observed (the hub keeps it in memory). */
24122
+ observedForMs: number(),
24123
+ sessionsNow: number(),
24124
+ /** Most parallel sessions across the cluster inside the window. */
24125
+ clusterPeakSessions: number(),
24126
+ nodes: array(PlacementNodeStatsSchema).readonly(),
24127
+ stalePins: array(StaleDevicePinSchema).readonly()
24128
+ });
24129
+ /**
24130
+ * Where an automatic share's capacity comes from (D755).
24131
+ * - `hardware` — the static capacity of each device at its Auto tune model:
24132
+ * the measured latency table for the node's hardware class.
24133
+ * - `benchmark` — the node's own measured capacity (node benchmark results).
24134
+ * A node with no results falls back to `hardware`, and says so.
24135
+ */
24136
+ var CapacitySourceSchema = _enum(["hardware", "benchmark"]);
24137
+ /** Why a node under the `benchmark` source was sized from hardware instead. */
24138
+ var CapacityFallbackSchema = _enum(["no-benchmark-results", "partial-benchmark-results"]);
24139
+ var SuggestSharesInputSchema = object({
24140
+ headroom: number().min(.3).max(.5).default(.4),
24141
+ /** Default `hardware`. */
24142
+ source: CapacitySourceSchema.default("hardware")
24143
+ });
24144
+ var SuggestedDeviceShareSchema = object({
24145
+ deviceKey: string(),
24146
+ /** Share of the node (0–100, rounded). */
24147
+ share: number(),
24148
+ modelId: string().nullable(),
24149
+ /** Inferences per second at that model, from the measured table; null when sized by a benchmark. */
24150
+ fps: number().nullable(),
24151
+ /** False for a table cell derived from another chip; true for a measured cell or a benchmark. */
24152
+ measured: boolean(),
24153
+ /**
24154
+ * Advisory session cap: ⌊fps × (1 − headroom) / camera fps⌋ from the table,
24155
+ * or the benchmark's measured max sessions. Never enforced.
24156
+ */
24157
+ suggestedMaxSessions: number().nullable()
24158
+ });
24159
+ var SuggestedNodeShareSchema = object({
24160
+ nodeId: string(),
24161
+ /** Share of the cluster (0–100, rounded); null = node skipped (offline, unknown hardware). */
24162
+ share: number().nullable(),
24163
+ /** Parallel sessions the node sustains at the suggested models with the headroom kept free. */
24164
+ capacitySessions: number(),
24165
+ devices: array(SuggestedDeviceShareSchema).readonly(),
24166
+ skippedReason: string().nullable(),
24167
+ /** What this node's capacity was read from; null when the node is skipped. */
24168
+ capacitySource: CapacitySourceSchema.nullable(),
24169
+ /** Set when the `benchmark` source was asked for and this node used `hardware`. */
24170
+ capacityFallback: CapacityFallbackSchema.nullable()
24171
+ });
24172
+ var SuggestSharesResultSchema = object({
24173
+ headroom: number(),
24174
+ /** The source asked for; each node says what it actually used. */
24175
+ source: CapacitySourceSchema,
24176
+ /** Camera detection rate the capacity is counted in (the fastest camera's fps). */
24177
+ cameraFps: number(),
24178
+ /** The Auto tune capacity floor the models were picked at. */
24179
+ minSessionsPerDevice: number(),
24180
+ nodes: array(SuggestedNodeShareSchema).readonly()
24181
+ });
24182
+ /**
24183
+ * Where the node and device shares come from (D750, D755).
24184
+ * - `hardware` (default) — computed by the system from each node's static
24185
+ * capacity (its accelerators at their Auto tune models, from the measured
24186
+ * latency table), recomputed whenever a node or device joins, leaves, is
24187
+ * switched on or off, or changes model. No load input.
24188
+ * - `benchmark` — the same, from each node's measured capacity (node
24189
+ * benchmark results); a node without results falls back to `hardware`.
24190
+ * - `manual` — the operator's stored sliders.
24191
+ * Either way a node or device that cannot take sessions gives its share to
24192
+ * the others in proportion; the stored values are never rewritten for that.
24193
+ */
24194
+ var ShareSourceSchema = _enum([
24195
+ "hardware",
24196
+ "benchmark",
24197
+ "manual"
24198
+ ]);
24199
+ var SetShareSourceInputSchema = object({ source: ShareSourceSchema });
24200
+ object({
24201
+ nodes: record(string(), number()),
24202
+ devices: record(string(), record(string(), number()))
24203
+ });
24204
+ var EffectiveDeviceShareSchema = object({
24205
+ deviceKey: string(),
24206
+ /** Can take sessions now (enabled, available, can run the root). */
24207
+ eligible: boolean(),
24208
+ /** The share the source assigns, as a percentage of the node's devices. */
24209
+ configuredPct: number(),
24210
+ /** The share actually used, after an ineligible device's share went to the others. */
24211
+ effectivePct: number()
24212
+ });
24213
+ var EffectiveNodeShareSchema = object({
24214
+ nodeId: string(),
24215
+ eligible: boolean(),
24216
+ configuredPct: number(),
24217
+ effectivePct: number(),
24218
+ /** Automatic sources: what this node's share was computed from; null under `manual` or before the first answer. */
24219
+ capacitySource: CapacitySourceSchema.nullable(),
24220
+ /** Automatic `benchmark`: why this node used `hardware` instead. */
24221
+ capacityFallback: CapacityFallbackSchema.nullable(),
24222
+ devices: array(EffectiveDeviceShareSchema).readonly()
24223
+ });
24224
+ var EffectiveSharesSchema = object({
24225
+ source: ShareSourceSchema,
24226
+ policy: SessionPlacementPolicySchema,
24227
+ /** An automatic source with no computed answer yet: the stored sliders are used meanwhile. */
24228
+ autoPending: boolean(),
24229
+ /** When the automatic shares were last computed (ms epoch); null = never. */
24230
+ computedAt: number().nullable(),
24231
+ /** What made the system recompute them last. */
24232
+ trigger: string().nullable(),
24233
+ nodes: array(EffectiveNodeShareSchema).readonly(),
24234
+ /** The relative weights the election reads (before eligibility). */
24235
+ nodeWeights: record(string(), number()),
24236
+ deviceWeights: record(string(), record(string(), number()))
24237
+ });
23885
24238
  object({
23886
24239
  activeCameras: number(),
23887
24240
  throttledCameras: number(),
@@ -24799,14 +25152,15 @@ var RunnerLocalLoadSchema = object({
24799
25152
  * Per-inference-device live load (multi-device C4). One entry per deviceKey
24800
25153
  * this runner currently has attached cameras on, so the orchestrator's second
24801
25154
  * `balance()` pass (over a node's devices) weights on real per-pool session
24802
- * counts. Empty on single-device / pre-multi-device runners. `queueDepthTotal`
24803
- * per device is 0 until the pool backlog gets a public accessor (follow-up).
25155
+ * counts. Empty on single-device / pre-multi-device runners. There is no
25156
+ * per-device queue depth: the inference pool's backlog has no accessor, and
25157
+ * a field that always read 0 was removed rather than shown as a measurement
25158
+ * (D762).
24804
25159
  */
24805
25160
  devices: array(object({
24806
25161
  deviceKey: string(),
24807
25162
  backend: string(),
24808
- attachedCameras: number(),
24809
- queueDepthTotal: number()
25163
+ attachedCameras: number()
24810
25164
  })).default([]),
24811
25165
  /** Hardware capability flags reported by this node. */
24812
25166
  hardware: object({
@@ -24942,7 +25296,22 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
24942
25296
  */
24943
25297
  cropJpeg: string().optional(),
24944
25298
  parent: DetailParentSchema,
24945
- steps: array(string()).optional()
25299
+ steps: array(string()).optional(),
25300
+ /**
25301
+ * The camera's root model already drew this step's boxes (D730): a
25302
+ * `license_plate` inside the parent vehicle. The named step is NOT
25303
+ * inferred — these FRAME-space boxes are its output — and its
25304
+ * requested children (the plate reader) run on them. Absent ⇒ every
25305
+ * requested step infers as before.
25306
+ */
25307
+ supplied: object({
25308
+ stepId: string(),
25309
+ modelId: string(),
25310
+ boxes: array(object({
25311
+ bbox: NativeCropBboxSchema,
25312
+ score: number()
25313
+ })).min(1)
25314
+ }).optional()
24946
25315
  }), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" }), method(object({
24947
25316
  /** Catalog step id, e.g. `clip-embedding`. */
24948
25317
  stepId: string(),
@@ -25005,14 +25374,6 @@ var CameraPipelineConfigSchema = object({
25005
25374
  settings: record(string(), unknown()).readonly().optional()
25006
25375
  }).nullable().optional()
25007
25376
  });
25008
- var PipelineTemplateSchema = object({
25009
- id: string(),
25010
- name: string(),
25011
- description: string().optional(),
25012
- config: CameraPipelineConfigSchema,
25013
- createdAt: string(),
25014
- updatedAt: string()
25015
- });
25016
25377
  var DeviceStepConfigSchema = object({
25017
25378
  modelId: string().optional(),
25018
25379
  settings: record(string(), unknown()).optional(),
@@ -25086,9 +25447,10 @@ var CameraStepOverridePatchSchema = object({
25086
25447
  modelId: string().optional(),
25087
25448
  settings: record(string(), unknown()).readonly().optional()
25088
25449
  });
25450
+ var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
25089
25451
  var CameraPipelineSettingsSchema = object({
25090
- pinnedAgentNodeId: string().optional(),
25091
25452
  stepToggles: record(string(), boolean()).optional(),
25453
+ stepSettings: CameraStepSettingsSchema.optional(),
25092
25454
  stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
25093
25455
  pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
25094
25456
  });
@@ -25121,7 +25483,10 @@ var PipelineAssignmentSchema = object({
25121
25483
  });
25122
25484
  /**
25123
25485
  * Per-agent load summary surfaced to the load balancer + dashboards.
25124
- * Aggregated from each runner's `getLocalLoad` cap call.
25486
+ * Aggregated from each runner's `getLocalLoad` cap call. In the
25487
+ * `getAgentLoad` report, a single-device node's default-pool sessions (no
25488
+ * `deviceKey`) are credited to its one eligible device in `load.devices` —
25489
+ * the default pool IS that device (D745); the balancer's census stays raw.
25125
25490
  */
25126
25491
  var AgentLoadSummarySchema = object({
25127
25492
  nodeId: string(),
@@ -25210,26 +25575,27 @@ var CameraBrokerStatusSchema = object({
25210
25575
  width: number(),
25211
25576
  height: number(),
25212
25577
  subscribers: number(),
25213
- inFps: number(),
25214
- outFps: number()
25578
+ /**
25579
+ * Encoded packets/s the broker receives from the camera. null when the
25580
+ * broker's stats read failed — unknown, never 0 (a 0 here reads as a stall).
25581
+ * There is no output rate: decoding runs in the session decode workers, not
25582
+ * in the broker, so the broker's own decoded-frame rate is 0 on every live
25583
+ * camera and is not served (D758).
25584
+ */
25585
+ inFps: number().nullable()
25215
25586
  })).readonly(),
25216
25587
  webrtcSessions: number(),
25217
25588
  rtspRestream: boolean()
25218
25589
  });
25219
- /** Shared-memory ring statistics within the decoder block. */
25220
- var CameraDecoderShmSchema = object({
25221
- framesWritten: number(),
25222
- getFrameHits: number(),
25223
- getFrameMisses: number(),
25224
- budgetMb: number()
25225
- });
25226
- /** Decoder block — null when the decoder stage is unreachable or inactive. */
25227
- var CameraDecoderStatusSchema = object({
25228
- nodeId: string(),
25229
- formats: array(string()).readonly(),
25230
- sessionCount: number(),
25231
- shm: CameraDecoderShmSchema
25232
- });
25590
+ /**
25591
+ * Decoder block — WHERE decode runs (co-located with the detection node by
25592
+ * construction); null when the camera has no detection node. It carries no
25593
+ * frame counter: the shared-memory plane whose counters it used to serve is
25594
+ * gone, and those fields read 0 forever. Whether frames actually flow is read
25595
+ * from `detection.actualFps` (frames delivered to and processed by the
25596
+ * detector), never from a counter nothing feeds.
25597
+ */
25598
+ var CameraDecoderStatusSchema = object({ nodeId: string() });
25233
25599
  /** Motion block — null when motion detection is not active for this device. */
25234
25600
  var CameraMotionStatusSchema = object({
25235
25601
  enabled: boolean(),
@@ -25586,12 +25952,6 @@ method(object({
25586
25952
  }), object({ success: literal(true) }), {
25587
25953
  kind: "mutation",
25588
25954
  auth: "admin"
25589
- }), method(object({
25590
- agentNodeId: string(),
25591
- detectWeight: number().positive().nullable()
25592
- }), object({ success: literal(true) }), {
25593
- kind: "mutation",
25594
- auth: "admin"
25595
25955
  }), method(object({
25596
25956
  agentNodeId: string(),
25597
25957
  detect: boolean().nullable().optional(),
@@ -25633,6 +25993,15 @@ method(object({
25633
25993
  }), {
25634
25994
  kind: "mutation",
25635
25995
  auth: "admin"
25996
+ }), method(AutoTuneOptionsSchema, AutoTunePlanSchema, { auth: "admin" }), method(AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, {
25997
+ kind: "mutation",
25998
+ auth: "admin"
25999
+ }), method(LoadBalancingSharesInputSchema, object({ success: literal(true) }), {
26000
+ kind: "mutation",
26001
+ auth: "admin"
26002
+ }), method(PlacementStatsInputSchema, PlacementStatsSchema, { auth: "admin" }), method(SuggestSharesInputSchema, SuggestSharesResultSchema, { auth: "admin" }), method(_void(), EffectiveSharesSchema, { auth: "admin" }), method(SetShareSourceInputSchema, object({ success: literal(true) }), {
26003
+ kind: "mutation",
26004
+ auth: "admin"
25636
26005
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
25637
26006
  deviceId: number(),
25638
26007
  addonId: string(),
@@ -25649,6 +26018,13 @@ method(object({
25649
26018
  }), object({ success: literal(true) }), {
25650
26019
  kind: "mutation",
25651
26020
  auth: "admin"
26021
+ }), method(object({
26022
+ deviceId: number(),
26023
+ addonId: string(),
26024
+ settings: record(string(), unknown()).nullable()
26025
+ }), object({ success: literal(true) }), {
26026
+ kind: "mutation",
26027
+ auth: "admin"
25652
26028
  }), method(object({
25653
26029
  deviceId: number(),
25654
26030
  agentNodeId: string(),
@@ -25672,25 +26048,7 @@ method(object({
25672
26048
  }), method(_void(), DiskReconcileJobSchema, {
25673
26049
  kind: "mutation",
25674
26050
  auth: "admin"
25675
- }), method(_void(), DiskReconcileJobSchema, { auth: "admin" }), method(_void(), array(PipelineTemplateSchema).readonly()), method(object({
25676
- name: string(),
25677
- description: string().optional(),
25678
- config: CameraPipelineConfigSchema
25679
- }), PipelineTemplateSchema, {
25680
- kind: "mutation",
25681
- auth: "admin"
25682
- }), method(object({
25683
- id: string(),
25684
- name: string().optional(),
25685
- description: string().optional(),
25686
- config: CameraPipelineConfigSchema.optional()
25687
- }), PipelineTemplateSchema, {
25688
- kind: "mutation",
25689
- auth: "admin"
25690
- }), method(object({ id: string() }), object({ success: literal(true) }), {
25691
- kind: "mutation",
25692
- auth: "admin"
25693
- });
26051
+ }), method(_void(), DiskReconcileJobSchema, { auth: "admin" });
25694
26052
  /**
25695
26053
  * Cap → event-kind mapping for the SENSOR / CONTROL cap families — the table
25696
26054
  * `pipeline-analytics.listEventKinds` uses to turn a linked device's bound
@@ -27939,8 +28297,6 @@ var WebrtcStreamChoiceSchema = object({
27939
28297
  ]).nullable(),
27940
28298
  /** Input FPS from the camera (null for adaptive). */
27941
28299
  inputFps: number().nullable(),
27942
- /** Decoded FPS (null for adaptive). */
27943
- decodeFps: number().nullable(),
27944
28300
  /** Bitrate in kbps (null for adaptive). */
27945
28301
  bitrateKbps: number().nullable()
27946
28302
  });
@@ -28272,6 +28628,14 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
28272
28628
  */
28273
28629
  alive: boolean()
28274
28630
  })), method(object({
28631
+ deviceId: number().int().nonnegative(),
28632
+ sessionId: string(),
28633
+ downlinkMbps: number().nonnegative()
28634
+ }), object({
28635
+ outcome: _enum(["switching", "held"]),
28636
+ tier: CamProfileSchema.nullable(),
28637
+ reason: string()
28638
+ }), { kind: "mutation" }), method(object({
28275
28639
  deviceId: number().int().nonnegative(),
28276
28640
  sessionId: string()
28277
28641
  }), WebrtcSessionDebugSchema, { kind: "query" });
@@ -28511,6 +28875,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
28511
28875
  var RestartAddonResultSchema = unknown();
28512
28876
  var InstallPackageResultSchema = unknown();
28513
28877
  var ReloadPackagesResultSchema = unknown();
28878
+ /**
28879
+ * What an uninstall did on ONE node.
28880
+ * - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
28881
+ * - `not-installed` — the node did not have it (nothing to do).
28882
+ * - `refused` — protected / bootstrap package; nothing touched.
28883
+ * - `failed` — attempted and did not complete; `error` says why.
28884
+ * - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
28885
+ * back-fill never returns the package, and the stale-addon sweep removes the
28886
+ * copy when the node registers again (only once the hub no longer has it).
28887
+ */
28888
+ var UninstallNodeOutcomeSchema = _enum([
28889
+ "uninstalled",
28890
+ "not-installed",
28891
+ "refused",
28892
+ "failed",
28893
+ "pending-reconnect"
28894
+ ]);
28895
+ var UninstallNodeResultSchema = object({
28896
+ nodeId: string(),
28897
+ outcome: UninstallNodeOutcomeSchema,
28898
+ error: string().optional(),
28899
+ addonIds: array(string()).readonly(),
28900
+ runnersStopped: array(string()).readonly(),
28901
+ warnings: array(string()).readonly()
28902
+ });
28903
+ var UninstallPackageResultSchema = object({
28904
+ /** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
28905
+ success: boolean(),
28906
+ packageName: string(),
28907
+ results: array(UninstallNodeResultSchema).readonly()
28908
+ });
28909
+ /**
28910
+ * `unreachable` lists online agents whose status read FAILED — absence from
28911
+ * `installations` is only "not installed" for a node that answered (D315).
28912
+ */
28913
+ var PackageInstallationsSchema = object({
28914
+ installations: array(object({
28915
+ packageName: string(),
28916
+ nodeId: string(),
28917
+ nodeName: string(),
28918
+ isHub: boolean(),
28919
+ isOnline: boolean(),
28920
+ version: string().nullable(),
28921
+ addonIds: array(string()).readonly(),
28922
+ source: _enum(["live", "recorded"]),
28923
+ /** The hub installs this package too. `false` on an agent row = an orphan. */
28924
+ onHub: boolean()
28925
+ })).readonly(),
28926
+ unreachable: array(object({
28927
+ nodeId: string(),
28928
+ error: string()
28929
+ })).readonly()
28930
+ });
28514
28931
  var BulkUpdateItemStatusSchema = _enum([
28515
28932
  "queued",
28516
28933
  "updating",
@@ -28593,10 +29010,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
28593
29010
  }), method(object({ packageName: string() }), InstallPackageResultSchema, {
28594
29011
  kind: "mutation",
28595
29012
  auth: "admin"
28596
- }), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({ packageName: string() }), unknown(), {
29013
+ }), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
29014
+ packageName: string().min(1),
29015
+ nodeId: string().optional(),
29016
+ everywhere: boolean().optional()
29017
+ }), UninstallPackageResultSchema, {
28597
29018
  kind: "mutation",
28598
29019
  auth: "admin"
28599
- }), method(_void(), ReloadPackagesResultSchema, {
29020
+ }), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
28600
29021
  kind: "mutation",
28601
29022
  auth: "admin"
28602
29023
  }), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
@@ -32083,7 +32504,8 @@ var ConnectionEndpointSchema = object({
32083
32504
  "lan-ipv6",
32084
32505
  "public",
32085
32506
  "loopback",
32086
- "app-link"
32507
+ "app-link",
32508
+ "custom"
32087
32509
  ]),
32088
32510
  /**
32089
32511
  * Originating-interface kind — `lan`/`wifi`/`docker`/`vpn`/`other`/
@@ -32152,7 +32574,7 @@ var GetConnectionEndpointsResultSchema = object({
32152
32574
  localPort: AdvertisedLocalPortSchema
32153
32575
  });
32154
32576
  /**
32155
- * The address flagged for notification links. `baseUrl: null` = AUTO, which
32577
+ * The address flagged for notification taps (`notificationTaps`). `baseUrl: null` = AUTO, which
32156
32578
  * since D709 is the CamStack app link; `resolved` reports the effective value,
32157
32579
  * so the UI can show it either way.
32158
32580
  */
@@ -32185,6 +32607,72 @@ var ViewerEndpointsSchema = object({
32185
32607
  /** What the ranking currently resolves to (may be empty if nothing is up). */
32186
32608
  resolved: array(string()).readonly()
32187
32609
  });
32610
+ /**
32611
+ * DEPRECATED compatibility shape of `getHubAddresses` (D729 amendment, kept
32612
+ * for addons built against it): `cluster` is the `internal` role, `browser`
32613
+ * the `publicEndpoint` role; `override` is the flagged address.
32614
+ */
32615
+ var HubAddressSnapshotSchema = object({
32616
+ override: string().nullable(),
32617
+ resolved: string().nullable(),
32618
+ source: _enum([
32619
+ "override",
32620
+ "auto",
32621
+ "none"
32622
+ ])
32623
+ });
32624
+ var HubAddressesSchema = object({
32625
+ cluster: HubAddressSnapshotSchema,
32626
+ browser: HubAddressSnapshotSchema
32627
+ });
32628
+ /**
32629
+ * What an address is used for (`hub-address.ts`, D734). `appConnections` is
32630
+ * many-valued; `notificationTaps`, `publicEndpoint` and `internal` are carried
32631
+ * by at most one address.
32632
+ */
32633
+ var HubAddressRoleSchema = _enum(HUB_ADDRESS_ROLES);
32634
+ var RoleSourceSchema = _enum([
32635
+ "flagged",
32636
+ "auto",
32637
+ "none"
32638
+ ]);
32639
+ /** One single-valued role: the flagged address, the one in use, and why. */
32640
+ var HubAddressRoleResolutionSchema = object({
32641
+ /** The address carrying the flag, or null = automatic. */
32642
+ flagged: string().nullable(),
32643
+ /** The address in use, or null when nothing qualifies (never loopback). */
32644
+ resolved: string().nullable(),
32645
+ source: RoleSourceSchema
32646
+ });
32647
+ var HubAppConnectionsResolutionSchema = object({
32648
+ /** The addresses flagged `appConnections`, or empty = automatic. */
32649
+ flagged: array(string()).readonly(),
32650
+ /** What the apps race right now. */
32651
+ resolved: array(string()).readonly(),
32652
+ source: RoleSourceSchema
32653
+ });
32654
+ var HubAddressBookSchema = object({
32655
+ rows: array(ConnectionEndpointSchema.extend({
32656
+ /** In the hub's detected palette right now. */
32657
+ detected: boolean(),
32658
+ /** Entered by the operator (removable). */
32659
+ custom: boolean(),
32660
+ /** The roles explicitly flagged on this address. */
32661
+ flags: array(HubAddressRoleSchema).readonly(),
32662
+ /** The roles this address serves right now — flagged or automatic. */
32663
+ inUse: array(HubAddressRoleSchema).readonly(),
32664
+ /** The roles this address may be flagged with. */
32665
+ eligible: array(HubAddressRoleSchema).readonly()
32666
+ })).readonly(),
32667
+ roles: object({
32668
+ appConnections: HubAppConnectionsResolutionSchema,
32669
+ notificationTaps: HubAddressRoleResolutionSchema,
32670
+ internal: HubAddressRoleResolutionSchema,
32671
+ publicEndpoint: HubAddressRoleResolutionSchema
32672
+ }),
32673
+ /** The `hub=` an app link carries (D709), or null. */
32674
+ appLinkHub: string().nullable()
32675
+ });
32188
32676
  var AllowedAddressesSchema = object({
32189
32677
  /**
32190
32678
  * Allowlist of interface addresses operators have explicitly opted
@@ -32228,10 +32716,27 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
32228
32716
  * tunnel always emits `https://` regardless. */
32229
32717
  scheme: _enum(["http", "https"]).optional(),
32230
32718
  /** Append the CamStack app link entry (`kind: 'app-link'`, D709) —
32231
- * an address notification links can be flagged with, not a hub
32719
+ * an address notification taps can be flagged with, not a hub
32232
32720
  * route. Default `false`: racers and rankers never see it. */
32233
32721
  includeAppLink: boolean().optional()
32234
- }), GetConnectionEndpointsResultSchema), method(_void(), NotificationEndpointSchema), method(object({ baseUrl: string().nullable() }), NotificationEndpointSchema, { kind: "mutation" }), method(_void(), ViewerEndpointsSchema), method(object({ baseUrls: array(string()).readonly() }), ViewerEndpointsSchema, { kind: "mutation" }), method(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" }), method(_void(), TlsStatusSchema), method(object({ reason: string().optional() }), TlsStatusSchema, {
32722
+ }), GetConnectionEndpointsResultSchema), method(_void(), NotificationEndpointSchema), method(object({ baseUrl: string().nullable() }), NotificationEndpointSchema, { kind: "mutation" }), method(_void(), ViewerEndpointsSchema), method(object({ baseUrls: array(string()).readonly() }), ViewerEndpointsSchema, { kind: "mutation" }), method(object({ scheme: _enum(["http", "https"]).optional() }).optional(), HubAddressBookSchema), method(object({
32723
+ baseUrl: string(),
32724
+ label: string().max(80)
32725
+ }), HubAddressBookSchema, {
32726
+ kind: "mutation",
32727
+ auth: "admin"
32728
+ }), method(object({ baseUrl: string() }), HubAddressBookSchema, {
32729
+ kind: "mutation",
32730
+ auth: "admin"
32731
+ }), method(object({
32732
+ role: HubAddressRoleSchema,
32733
+ baseUrl: string().nullable(),
32734
+ enabled: boolean(),
32735
+ acceptInsecureHttp: boolean().optional()
32736
+ }), HubAddressBookSchema, {
32737
+ kind: "mutation",
32738
+ auth: "admin"
32739
+ }), method(_void(), HubAddressesSchema), method(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" }), method(_void(), TlsStatusSchema), method(object({ reason: string().optional() }), TlsStatusSchema, {
32235
32740
  kind: "mutation",
32236
32741
  auth: "admin"
32237
32742
  }), method(object({
@@ -32689,7 +33194,8 @@ var MotionStatusSchema = object({
32689
33194
  * writes this slice (not even a boot seed), and neither does the runner's
32690
33195
  * phase machine: its phase is "a session is attached" for every on-motion
32691
33196
  * session, not motion, and it now has its own `DetectionPhaseTransition`.
32692
- * A provider's `isDetected` answers from the hub's slice.
33197
+ * A provider's `isDetected` and `getStatus` answer from the hub's slice
33198
+ * (`hubMotionNativeProvider`).
32693
33199
  * - **Sensors** (Home Assistant binary sensors, Homematic, Matter, Alexa
32694
33200
  * imports) — the provider pushes both edges itself, from the upstream
32695
33201
  * system's own state change. That is the sensor's own fact.
@@ -39236,6 +39742,16 @@ var zoneRulesCapability = {
39236
39742
  durability: "restored"
39237
39743
  };
39238
39744
  SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
39745
+ Object.freeze({
39746
+ person: .5,
39747
+ vehicle: .5,
39748
+ animal: .5
39749
+ });
39750
+ Object.freeze({
39751
+ person: .65,
39752
+ vehicle: .65,
39753
+ animal: .65
39754
+ });
39239
39755
  /**
39240
39756
  * Accessory device helpers — shared across drivers.
39241
39757
  *
@@ -40934,6 +41450,12 @@ Object.freeze({
40934
41450
  addonId: null,
40935
41451
  access: "view"
40936
41452
  },
41453
+ "addons.listInstallations": {
41454
+ capName: "addons",
41455
+ capScope: "system",
41456
+ addonId: null,
41457
+ access: "view"
41458
+ },
40937
41459
  "addons.listJobs": {
40938
41460
  capName: "addons",
40939
41461
  capScope: "system",
@@ -42116,90 +42638,18 @@ Object.freeze({
42116
42638
  addonId: null,
42117
42639
  access: "create"
42118
42640
  },
42119
- "decoder.createSession": {
42120
- capName: "decoder",
42121
- capScope: "system",
42122
- addonId: null,
42123
- access: "view"
42124
- },
42125
- "decoder.destroySession": {
42126
- capName: "decoder",
42127
- capScope: "system",
42128
- addonId: null,
42129
- access: "delete"
42130
- },
42131
- "decoder.getFrame": {
42132
- capName: "decoder",
42133
- capScope: "system",
42134
- addonId: null,
42135
- access: "view"
42136
- },
42137
42641
  "decoder.getInfo": {
42138
42642
  capName: "decoder",
42139
42643
  capScope: "system",
42140
42644
  addonId: null,
42141
42645
  access: "view"
42142
42646
  },
42143
- "decoder.getShmStats": {
42144
- capName: "decoder",
42145
- capScope: "system",
42146
- addonId: null,
42147
- access: "view"
42148
- },
42149
- "decoder.getStats": {
42150
- capName: "decoder",
42151
- capScope: "system",
42152
- addonId: null,
42153
- access: "view"
42154
- },
42155
- "decoder.listActiveSessions": {
42156
- capName: "decoder",
42157
- capScope: "system",
42158
- addonId: null,
42159
- access: "view"
42160
- },
42161
- "decoder.openStream": {
42162
- capName: "decoder",
42163
- capScope: "system",
42164
- addonId: null,
42165
- access: "view"
42166
- },
42167
- "decoder.pullFrames": {
42168
- capName: "decoder",
42169
- capScope: "system",
42170
- addonId: null,
42171
- access: "view"
42172
- },
42173
- "decoder.pullHandles": {
42174
- capName: "decoder",
42175
- capScope: "system",
42176
- addonId: null,
42177
- access: "view"
42178
- },
42179
- "decoder.pushPacket": {
42180
- capName: "decoder",
42181
- capScope: "system",
42182
- addonId: null,
42183
- access: "view"
42184
- },
42185
42647
  "decoder.reprobeHwaccel": {
42186
42648
  capName: "decoder",
42187
42649
  capScope: "system",
42188
42650
  addonId: null,
42189
42651
  access: "create"
42190
42652
  },
42191
- "decoder.supportsCodec": {
42192
- capName: "decoder",
42193
- capScope: "system",
42194
- addonId: null,
42195
- access: "view"
42196
- },
42197
- "decoder.updateConfig": {
42198
- capName: "decoder",
42199
- capScope: "system",
42200
- addonId: null,
42201
- access: "view"
42202
- },
42203
42653
  "detectionPipeline.applyDeviceSettingsPatch": {
42204
42654
  capName: "detection-pipeline",
42205
42655
  capScope: "device",
@@ -43688,12 +44138,24 @@ Object.freeze({
43688
44138
  addonId: null,
43689
44139
  access: "view"
43690
44140
  },
44141
+ "localNetwork.addCustomAddress": {
44142
+ capName: "local-network",
44143
+ capScope: "system",
44144
+ addonId: null,
44145
+ access: "create"
44146
+ },
43691
44147
  "localNetwork.downloadCa": {
43692
44148
  capName: "local-network",
43693
44149
  capScope: "system",
43694
44150
  addonId: null,
43695
44151
  access: "view"
43696
44152
  },
44153
+ "localNetwork.getAddresses": {
44154
+ capName: "local-network",
44155
+ capScope: "system",
44156
+ addonId: null,
44157
+ access: "view"
44158
+ },
43697
44159
  "localNetwork.getAllowedAddresses": {
43698
44160
  capName: "local-network",
43699
44161
  capScope: "system",
@@ -43706,6 +44168,12 @@ Object.freeze({
43706
44168
  addonId: null,
43707
44169
  access: "view"
43708
44170
  },
44171
+ "localNetwork.getHubAddresses": {
44172
+ capName: "local-network",
44173
+ capScope: "system",
44174
+ addonId: null,
44175
+ access: "view"
44176
+ },
43709
44177
  "localNetwork.getNotificationEndpoint": {
43710
44178
  capName: "local-network",
43711
44179
  capScope: "system",
@@ -43742,6 +44210,12 @@ Object.freeze({
43742
44210
  addonId: null,
43743
44211
  access: "create"
43744
44212
  },
44213
+ "localNetwork.removeCustomAddress": {
44214
+ capName: "local-network",
44215
+ capScope: "system",
44216
+ addonId: null,
44217
+ access: "delete"
44218
+ },
43745
44219
  "localNetwork.resetAllowlistToBestMatch": {
43746
44220
  capName: "local-network",
43747
44221
  capScope: "system",
@@ -43754,6 +44228,12 @@ Object.freeze({
43754
44228
  addonId: null,
43755
44229
  access: "create"
43756
44230
  },
44231
+ "localNetwork.setAddressRole": {
44232
+ capName: "local-network",
44233
+ capScope: "system",
44234
+ addonId: null,
44235
+ access: "create"
44236
+ },
43757
44237
  "localNetwork.setAllowedAddresses": {
43758
44238
  capName: "local-network",
43759
44239
  capScope: "system",
@@ -45248,13 +45728,13 @@ Object.freeze({
45248
45728
  addonId: null,
45249
45729
  access: "delete"
45250
45730
  },
45251
- "pipelineExecutor.deleteModel": {
45731
+ "pipelineExecutor.clearModelBoundDeviceOverrides": {
45252
45732
  capName: "pipeline-executor",
45253
45733
  capScope: "system",
45254
45734
  addonId: null,
45255
45735
  access: "delete"
45256
45736
  },
45257
- "pipelineExecutor.deleteTemplate": {
45737
+ "pipelineExecutor.deleteModel": {
45258
45738
  capName: "pipeline-executor",
45259
45739
  capScope: "system",
45260
45740
  addonId: null,
@@ -45398,12 +45878,6 @@ Object.freeze({
45398
45878
  addonId: null,
45399
45879
  access: "view"
45400
45880
  },
45401
- "pipelineExecutor.listTemplates": {
45402
- capName: "pipeline-executor",
45403
- capScope: "system",
45404
- addonId: null,
45405
- access: "view"
45406
- },
45407
45881
  "pipelineExecutor.rearmInferenceDevice": {
45408
45882
  capName: "pipeline-executor",
45409
45883
  capScope: "system",
@@ -45428,12 +45902,6 @@ Object.freeze({
45428
45902
  addonId: null,
45429
45903
  access: "create"
45430
45904
  },
45431
- "pipelineExecutor.saveTemplate": {
45432
- capName: "pipeline-executor",
45433
- capScope: "system",
45434
- addonId: null,
45435
- access: "create"
45436
- },
45437
45905
  "pipelineExecutor.setVideoPipelineSteps": {
45438
45906
  capName: "pipeline-executor",
45439
45907
  capScope: "system",
@@ -45452,41 +45920,35 @@ Object.freeze({
45452
45920
  addonId: null,
45453
45921
  access: "create"
45454
45922
  },
45455
- "pipelineExecutor.updateTemplate": {
45456
- capName: "pipeline-executor",
45457
- capScope: "system",
45458
- addonId: null,
45459
- access: "create"
45460
- },
45461
45923
  "pipelineExecutor.validatePipeline": {
45462
45924
  capName: "pipeline-executor",
45463
45925
  capScope: "system",
45464
45926
  addonId: null,
45465
45927
  access: "view"
45466
45928
  },
45467
- "pipelineOrchestrator.applyDeviceSettingsPatch": {
45929
+ "pipelineOrchestrator.applyAutoTune": {
45468
45930
  capName: "pipeline-orchestrator",
45469
45931
  capScope: "system",
45470
45932
  addonId: null,
45471
45933
  access: "create"
45472
45934
  },
45473
- "pipelineOrchestrator.assignAudio": {
45935
+ "pipelineOrchestrator.applyDeviceSettingsPatch": {
45474
45936
  capName: "pipeline-orchestrator",
45475
45937
  capScope: "system",
45476
45938
  addonId: null,
45477
45939
  access: "create"
45478
45940
  },
45479
- "pipelineOrchestrator.assignPipeline": {
45941
+ "pipelineOrchestrator.assignAudio": {
45480
45942
  capName: "pipeline-orchestrator",
45481
45943
  capScope: "system",
45482
45944
  addonId: null,
45483
45945
  access: "create"
45484
45946
  },
45485
- "pipelineOrchestrator.deleteTemplate": {
45947
+ "pipelineOrchestrator.assignPipeline": {
45486
45948
  capName: "pipeline-orchestrator",
45487
45949
  capScope: "system",
45488
45950
  addonId: null,
45489
- access: "delete"
45951
+ access: "create"
45490
45952
  },
45491
45953
  "pipelineOrchestrator.getAgentLoad": {
45492
45954
  capName: "pipeline-orchestrator",
@@ -45578,6 +46040,12 @@ Object.freeze({
45578
46040
  addonId: null,
45579
46041
  access: "view"
45580
46042
  },
46043
+ "pipelineOrchestrator.getEffectiveShares": {
46044
+ capName: "pipeline-orchestrator",
46045
+ capScope: "system",
46046
+ addonId: null,
46047
+ access: "view"
46048
+ },
45581
46049
  "pipelineOrchestrator.getGlobalMetrics": {
45582
46050
  capName: "pipeline-orchestrator",
45583
46051
  capScope: "system",
@@ -45614,19 +46082,19 @@ Object.freeze({
45614
46082
  addonId: null,
45615
46083
  access: "view"
45616
46084
  },
45617
- "pipelineOrchestrator.getReconcileFromDiskStatus": {
46085
+ "pipelineOrchestrator.getPlacementStats": {
45618
46086
  capName: "pipeline-orchestrator",
45619
46087
  capScope: "system",
45620
46088
  addonId: null,
45621
46089
  access: "view"
45622
46090
  },
45623
- "pipelineOrchestrator.listAgentSettings": {
46091
+ "pipelineOrchestrator.getReconcileFromDiskStatus": {
45624
46092
  capName: "pipeline-orchestrator",
45625
46093
  capScope: "system",
45626
46094
  addonId: null,
45627
46095
  access: "view"
45628
46096
  },
45629
- "pipelineOrchestrator.listTemplates": {
46097
+ "pipelineOrchestrator.listAgentSettings": {
45630
46098
  capName: "pipeline-orchestrator",
45631
46099
  capScope: "system",
45632
46100
  addonId: null,
@@ -45638,6 +46106,12 @@ Object.freeze({
45638
46106
  addonId: null,
45639
46107
  access: "create"
45640
46108
  },
46109
+ "pipelineOrchestrator.planAutoTune": {
46110
+ capName: "pipeline-orchestrator",
46111
+ capScope: "system",
46112
+ addonId: null,
46113
+ access: "view"
46114
+ },
45641
46115
  "pipelineOrchestrator.rebalance": {
45642
46116
  capName: "pipeline-orchestrator",
45643
46117
  capScope: "system",
@@ -45680,12 +46154,6 @@ Object.freeze({
45680
46154
  addonId: null,
45681
46155
  access: "create"
45682
46156
  },
45683
- "pipelineOrchestrator.saveTemplate": {
45684
- capName: "pipeline-orchestrator",
45685
- capScope: "system",
45686
- addonId: null,
45687
- access: "create"
45688
- },
45689
46157
  "pipelineOrchestrator.setAgentCapabilities": {
45690
46158
  capName: "pipeline-orchestrator",
45691
46159
  capScope: "system",
@@ -45698,12 +46166,6 @@ Object.freeze({
45698
46166
  addonId: null,
45699
46167
  access: "create"
45700
46168
  },
45701
- "pipelineOrchestrator.setAgentDetectWeight": {
45702
- capName: "pipeline-orchestrator",
45703
- capScope: "system",
45704
- addonId: null,
45705
- access: "create"
45706
- },
45707
46169
  "pipelineOrchestrator.setAgentInferenceDevices": {
45708
46170
  capName: "pipeline-orchestrator",
45709
46171
  capScope: "system",
@@ -45740,6 +46202,12 @@ Object.freeze({
45740
46202
  addonId: null,
45741
46203
  access: "create"
45742
46204
  },
46205
+ "pipelineOrchestrator.setCameraStepSettings": {
46206
+ capName: "pipeline-orchestrator",
46207
+ capScope: "system",
46208
+ addonId: null,
46209
+ access: "create"
46210
+ },
45743
46211
  "pipelineOrchestrator.setCameraStepToggle": {
45744
46212
  capName: "pipeline-orchestrator",
45745
46213
  capScope: "system",
@@ -45758,25 +46226,37 @@ Object.freeze({
45758
46226
  addonId: null,
45759
46227
  access: "create"
45760
46228
  },
46229
+ "pipelineOrchestrator.setLoadBalancingShares": {
46230
+ capName: "pipeline-orchestrator",
46231
+ capScope: "system",
46232
+ addonId: null,
46233
+ access: "create"
46234
+ },
45761
46235
  "pipelineOrchestrator.setPipelineDevicePin": {
45762
46236
  capName: "pipeline-orchestrator",
45763
46237
  capScope: "system",
45764
46238
  addonId: null,
45765
46239
  access: "create"
45766
46240
  },
45767
- "pipelineOrchestrator.unassignAudio": {
46241
+ "pipelineOrchestrator.setShareSource": {
45768
46242
  capName: "pipeline-orchestrator",
45769
46243
  capScope: "system",
45770
46244
  addonId: null,
45771
46245
  access: "create"
45772
46246
  },
45773
- "pipelineOrchestrator.unassignPipeline": {
46247
+ "pipelineOrchestrator.suggestShares": {
46248
+ capName: "pipeline-orchestrator",
46249
+ capScope: "system",
46250
+ addonId: null,
46251
+ access: "view"
46252
+ },
46253
+ "pipelineOrchestrator.unassignAudio": {
45774
46254
  capName: "pipeline-orchestrator",
45775
46255
  capScope: "system",
45776
46256
  addonId: null,
45777
46257
  access: "create"
45778
46258
  },
45779
- "pipelineOrchestrator.updateTemplate": {
46259
+ "pipelineOrchestrator.unassignPipeline": {
45780
46260
  capName: "pipeline-orchestrator",
45781
46261
  capScope: "system",
45782
46262
  addonId: null,
@@ -47216,12 +47696,6 @@ Object.freeze({
47216
47696
  addonId: null,
47217
47697
  access: "view"
47218
47698
  },
47219
- "streamBroker.pullFrameHandles": {
47220
- capName: "stream-broker",
47221
- capScope: "system",
47222
- addonId: null,
47223
- access: "view"
47224
- },
47225
47699
  "streamBroker.regenerateRtspToken": {
47226
47700
  capName: "stream-broker",
47227
47701
  capScope: "system",
@@ -47288,12 +47762,6 @@ Object.freeze({
47288
47762
  addonId: null,
47289
47763
  access: "create"
47290
47764
  },
47291
- "streamBroker.subscribeFrames": {
47292
- capName: "stream-broker",
47293
- capScope: "system",
47294
- addonId: null,
47295
- access: "create"
47296
- },
47297
47765
  "streamBroker.unassignProfile": {
47298
47766
  capName: "stream-broker",
47299
47767
  capScope: "system",
@@ -47306,12 +47774,6 @@ Object.freeze({
47306
47774
  addonId: null,
47307
47775
  access: "create"
47308
47776
  },
47309
- "streamBroker.unsubscribeFrames": {
47310
- capName: "stream-broker",
47311
- capScope: "system",
47312
- addonId: null,
47313
- access: "create"
47314
- },
47315
47777
  "streamCatalog.getCatalog": {
47316
47778
  capName: "stream-catalog",
47317
47779
  capScope: "device",
@@ -48008,6 +48470,12 @@ Object.freeze({
48008
48470
  addonId: null,
48009
48471
  access: "create"
48010
48472
  },
48473
+ "webrtcSession.applyDownlinkProbe": {
48474
+ capName: "webrtc-session",
48475
+ capScope: "device",
48476
+ addonId: null,
48477
+ access: "create"
48478
+ },
48011
48479
  "webrtcSession.closeSession": {
48012
48480
  capName: "webrtc-session",
48013
48481
  capScope: "device",
@@ -49819,11 +50287,6 @@ Object.freeze({
49819
50287
  form: "single",
49820
50288
  optional: false
49821
50289
  }],
49822
- "decoder.createSession": [{
49823
- name: "deviceId",
49824
- form: "single",
49825
- optional: true
49826
- }],
49827
50290
  "detectionPipeline.applyDeviceSettingsPatch": [{
49828
50291
  name: "deviceId",
49829
50292
  form: "single",
@@ -51054,6 +51517,11 @@ Object.freeze({
51054
51517
  form: "single",
51055
51518
  optional: false
51056
51519
  }],
51520
+ "pipelineExecutor.clearModelBoundDeviceOverrides": [{
51521
+ name: "deviceIds",
51522
+ form: "array",
51523
+ optional: true
51524
+ }],
51057
51525
  "pipelineExecutor.runPipeline": [{
51058
51526
  name: "deviceId",
51059
51527
  form: "single",
@@ -51159,6 +51627,11 @@ Object.freeze({
51159
51627
  form: "single",
51160
51628
  optional: false
51161
51629
  }],
51630
+ "pipelineOrchestrator.setCameraStepSettings": [{
51631
+ name: "deviceId",
51632
+ form: "single",
51633
+ optional: false
51634
+ }],
51162
51635
  "pipelineOrchestrator.setCameraStepToggle": [{
51163
51636
  name: "deviceId",
51164
51637
  form: "single",
@@ -51930,6 +52403,11 @@ Object.freeze({
51930
52403
  form: "single",
51931
52404
  optional: false
51932
52405
  }],
52406
+ "webrtcSession.applyDownlinkProbe": [{
52407
+ name: "deviceId",
52408
+ form: "single",
52409
+ optional: false
52410
+ }],
51933
52411
  "webrtcSession.closeSession": [{
51934
52412
  name: "deviceId",
51935
52413
  form: "single",
@@ -52159,6 +52637,8 @@ new Map(Object.entries({
52159
52637
  "detection-blind": "device-events",
52160
52638
  "node-online": "system",
52161
52639
  "node-offline": "system",
52640
+ "node-restarting": "system",
52641
+ "node-updating": "system",
52162
52642
  "node-inference-unavailable": "system",
52163
52643
  "addon-crash-loop": "system",
52164
52644
  "addon-update-available": "system",
@@ -52236,6 +52716,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
52236
52716
  kinds: [
52237
52717
  "node-offline",
52238
52718
  "node-online",
52719
+ "node-restarting",
52239
52720
  "node-inference-unavailable"
52240
52721
  ]
52241
52722
  },
@@ -52257,6 +52738,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
52257
52738
  label: "Server & container updates",
52258
52739
  kinds: [
52259
52740
  "server-update-available",
52741
+ "node-updating",
52260
52742
  "server-updated",
52261
52743
  "wrapper-update-available"
52262
52744
  ]
@@ -52404,6 +52886,7 @@ var STATE_SUMMARY_SECTION_VARS = [
52404
52886
  kinds: [
52405
52887
  "node-offline",
52406
52888
  "node-online",
52889
+ "node-restarting",
52407
52890
  "node-inference-unavailable"
52408
52891
  ]
52409
52892
  },
@@ -52425,6 +52908,7 @@ var STATE_SUMMARY_SECTION_VARS = [
52425
52908
  example: "server 1.2.377 → 1.2.378",
52426
52909
  kinds: [
52427
52910
  "server-update-available",
52911
+ "node-updating",
52428
52912
  "server-updated",
52429
52913
  "wrapper-update-available"
52430
52914
  ]
@@ -52457,7 +52941,7 @@ var STATE_SUMMARY_VARS = [
52457
52941
  {
52458
52942
  name: "summarySection",
52459
52943
  label: "Summary: this section",
52460
- description: "The section a per-section summary row is about (D698); on a summary sent as one message, every section it reports, comma-separated.",
52944
+ description: "The section a per-section summary row is about; on a summary sent as one message, every section it reports, comma-separated.",
52461
52945
  example: "Batterie scariche",
52462
52946
  group: "system",
52463
52947
  families: ["rule"],