@camstack/addon-export-google 0.1.85 → 0.1.87

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.
@@ -5457,7 +5457,7 @@ var ZodIssueCode = {
5457
5457
  var ZodFirstPartyTypeKind;
5458
5458
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5459
5459
  //#endregion
5460
- //#region ../types/dist/sleep-DXKLNFvA.mjs
5460
+ //#region ../types/dist/sleep-C16NCZR2.mjs
5461
5461
  /**
5462
5462
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5463
5463
  * window to float samples (D455).
@@ -10678,57 +10678,15 @@ var ClipSearchStrictnessSchema = _enum([
10678
10678
  "balanced",
10679
10679
  "strict"
10680
10680
  ]);
10681
- new Set([
10682
- {
10683
- id: "person",
10684
- name: "Person"
10685
- },
10686
- {
10687
- id: "vehicle",
10688
- name: "Vehicle"
10689
- },
10690
- {
10691
- id: "animal",
10692
- name: "Animal"
10693
- },
10694
- {
10695
- id: "package",
10696
- name: "Package"
10697
- }
10698
- ].map((l) => l.id));
10699
- var COCO_TO_MACRO = {
10700
- mapping: {
10701
- person: "person",
10702
- bicycle: "vehicle",
10703
- car: "vehicle",
10704
- motorcycle: "vehicle",
10705
- airplane: "vehicle",
10706
- bus: "vehicle",
10707
- train: "vehicle",
10708
- truck: "vehicle",
10709
- boat: "vehicle",
10710
- bird: "animal",
10711
- cat: "animal",
10712
- dog: "animal",
10713
- horse: "animal",
10714
- sheep: "animal",
10715
- cow: "animal",
10716
- elephant: "animal",
10717
- bear: "animal",
10718
- zebra: "animal",
10719
- giraffe: "animal",
10720
- suitcase: "package",
10721
- backpack: "package",
10722
- handbag: "package"
10723
- },
10724
- preserveOriginal: false
10725
- };
10726
- /** Steps a root detector may declare it fills. */
10727
- var FILLABLE_STEP_IDS = [
10681
+ /** Steps whose effect a root label can BE. */
10682
+ var LABEL_SUPPLY_STEP_IDS = [
10728
10683
  "animal-classifier",
10729
10684
  "vehicle-classifier",
10730
10685
  "package-detection"
10731
10686
  ];
10687
+ /** Steps whose box a root detection can BE. */
10688
+ var CROP_SUPPLY_STEP_IDS = ["plate-detection", "face-detection"];
10689
+ [...LABEL_SUPPLY_STEP_IDS, ...CROP_SUPPLY_STEP_IDS];
10732
10690
  var MODEL_FORMATS = [
10733
10691
  "onnx",
10734
10692
  "coreml",
@@ -10861,12 +10819,35 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
10861
10819
  /** True when the weights or their data forbid commercial use. */
10862
10820
  nonCommercial: boolean().optional()
10863
10821
  }));
10864
- /** One `fillsClassifierEffects` entry — see `ModelCatalogEntry.fillsClassifierEffects`. */
10865
- var FillsClassifierEffectSchema = object({
10866
- stepId: _enum(FILLABLE_STEP_IDS),
10822
+ /**
10823
+ * One step a ROOT detector can supply from its own output (D730) — see
10824
+ * `ModelCatalogEntry.suppliesSteps`.
10825
+ *
10826
+ * - `label`: the root's raw class IS the step's answer. `labelToEffect` maps
10827
+ * the root's label to the step's vocabulary; `uncovered` is the vocabulary
10828
+ * the root cannot produce (shown as unavailable, never a blocker).
10829
+ * - `crop`: the root draws the box the step would have found (`license_plate`
10830
+ * for plate-detection, `face` for face-detection). The box becomes a detail
10831
+ * child of the `parentMacro` detection that contains it — never a track.
10832
+ */
10833
+ var RootStepSupplySchema = discriminatedUnion("kind", [object({
10834
+ kind: literal("label"),
10835
+ stepId: _enum(LABEL_SUPPLY_STEP_IDS),
10867
10836
  labelToEffect: record(string(), string()),
10868
10837
  uncovered: array(string()).readonly()
10869
- });
10838
+ }), object({
10839
+ kind: literal("crop"),
10840
+ stepId: _enum(CROP_SUPPLY_STEP_IDS),
10841
+ rootLabels: array(string()).readonly(),
10842
+ parentMacro: _enum(["vehicle", "person"]),
10843
+ childClass: _enum(["plate", "face"]),
10844
+ /**
10845
+ * The root's smaller input side, stamped on read by `rootSuppliesOf` from
10846
+ * the model entry — what a step's `minRootInputPx` gate judges. Never
10847
+ * stored by an import.
10848
+ */
10849
+ rootInputPx: number().int().positive().optional()
10850
+ })]);
10870
10851
  var ModelCatalogEntrySchema = object({
10871
10852
  id: string(),
10872
10853
  name: string(),
@@ -10993,15 +10974,15 @@ var ModelCatalogEntrySchema = object({
10993
10974
  */
10994
10975
  classMap: DetectionCatalogClassMapSchema.optional(),
10995
10976
  /**
10996
- * The pipeline steps this ROOT detector already does the work of (D715):
10997
- * its labels name the effect the step exists to produce (`deer` for
10998
- * `animal-classifier`, `package` for `package-detection`). Derived from the
10999
- * labelmap by `deriveClassifierFills`, never hand-written; a COCO model
11000
- * declares none. Whether a declaration is honoured is the step's own
11001
- * `labelLink` policy (`resolveLabelLink`). `labelToEffect` values are in
11002
- * `FILLABLE_STEP_VOCABULARIES` (guard `check-label-link-vocabulary`).
10977
+ * The pipeline steps this ROOT detector can supply from its own output
10978
+ * (D730): its labels name a step's effect (`deer` for `animal-classifier`)
10979
+ * or draw a step's box (`license_plate` for `plate-detection`). Computed at
10980
+ * import from THIS model's labelmap by `deriveRootSupplies`, never written
10981
+ * by hand and never assumed per family; a row without it is derived on read
10982
+ * (`rootSuppliesOf`). Whether a camera uses it is the step's own
10983
+ * `useRootModel` flag (`resolveRootSupply`).
11003
10984
  */
11004
- fillsClassifierEffects: array(FillsClassifierEffectSchema).readonly().optional(),
10985
+ suppliesSteps: array(RootStepSupplySchema).readonly().optional(),
11005
10986
  /**
11006
10987
  * The model's CLIP feature-space contract (text encoder, dimension, vector
11007
10988
  * index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
@@ -17974,6 +17955,51 @@ method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSche
17974
17955
  kind: "mutation",
17975
17956
  auth: "admin"
17976
17957
  });
17958
+ new Set([
17959
+ {
17960
+ id: "person",
17961
+ name: "Person"
17962
+ },
17963
+ {
17964
+ id: "vehicle",
17965
+ name: "Vehicle"
17966
+ },
17967
+ {
17968
+ id: "animal",
17969
+ name: "Animal"
17970
+ },
17971
+ {
17972
+ id: "package",
17973
+ name: "Package"
17974
+ }
17975
+ ].map((l) => l.id));
17976
+ var COCO_TO_MACRO = {
17977
+ mapping: {
17978
+ person: "person",
17979
+ bicycle: "vehicle",
17980
+ car: "vehicle",
17981
+ motorcycle: "vehicle",
17982
+ airplane: "vehicle",
17983
+ bus: "vehicle",
17984
+ train: "vehicle",
17985
+ truck: "vehicle",
17986
+ boat: "vehicle",
17987
+ bird: "animal",
17988
+ cat: "animal",
17989
+ dog: "animal",
17990
+ horse: "animal",
17991
+ sheep: "animal",
17992
+ cow: "animal",
17993
+ elephant: "animal",
17994
+ bear: "animal",
17995
+ zebra: "animal",
17996
+ giraffe: "animal",
17997
+ suitcase: "package",
17998
+ backpack: "package",
17999
+ handbag: "package"
18000
+ },
18001
+ preserveOriginal: false
18002
+ };
17977
18003
  var AUDIO_MACRO_LABELS = [
17978
18004
  {
17979
18005
  id: "speech",
@@ -18731,6 +18757,8 @@ var NcSystemEventKindSchema = _enum([
18731
18757
  "stream-offline",
18732
18758
  "node-online",
18733
18759
  "node-offline",
18760
+ "node-restarting",
18761
+ "node-updating",
18734
18762
  "node-inference-unavailable",
18735
18763
  "detection-blind",
18736
18764
  "addon-crash-loop",
@@ -23264,6 +23292,34 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
23264
23292
  timestamp: number()
23265
23293
  });
23266
23294
  /**
23295
+ * A root model's boxes standing in for one crop-kind step's own inference
23296
+ * (D730) — see `runPipeline.suppliedRoot`.
23297
+ */
23298
+ var SuppliedRootOutputSchema = object({
23299
+ stepId: string(),
23300
+ /** The root model that drew the boxes — stamped on the result. */
23301
+ modelId: string(),
23302
+ detections: array(object({
23303
+ /** `[x1, y1, x2, y2]` in the pixels of the call's image. */
23304
+ bbox: tuple([
23305
+ number(),
23306
+ number(),
23307
+ number(),
23308
+ number()
23309
+ ]),
23310
+ score: number(),
23311
+ /**
23312
+ * Five facial landmarks in the same pixels — a face the step's own
23313
+ * detector already re-found inside a root face box (D730), so its
23314
+ * embedder child aligns it exactly as it aligns any detected face.
23315
+ */
23316
+ landmarks: array(object({
23317
+ x: number(),
23318
+ y: number()
23319
+ })).optional()
23320
+ })).min(1)
23321
+ });
23322
+ /**
23267
23323
  * Reference to the frame's retained NATIVE surface + the parent crop's placement
23268
23324
  * within the frame, so the executor can re-cut a leaf child ROI at native
23269
23325
  * resolution on the detail plane. See the `runPipeline` `nativeCropRef` field.
@@ -23394,7 +23450,7 @@ var PipelineModelOptionSchema = object({
23394
23450
  legacy: boolean().optional(),
23395
23451
  provider: ModelProviderIdSchema.optional(),
23396
23452
  defaultConfidence: number().optional(),
23397
- fillsClassifierEffects: array(FillsClassifierEffectSchema).readonly().optional()
23453
+ suppliesSteps: array(RootStepSupplySchema).readonly().optional()
23398
23454
  });
23399
23455
  var ConfigFieldBridge = custom();
23400
23456
  var PipelineAddonSchemaSchema = object({
@@ -23662,7 +23718,16 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
23662
23718
  * `device-not-servable`), and nothing reaches the camera's live
23663
23719
  * trace stream. Absent ⇒ unchanged behaviour.
23664
23720
  */
23665
- replay: literal(true).optional()
23721
+ replay: literal(true).optional(),
23722
+ /**
23723
+ * Root-supplied detections for the tree's ROOT step (D730). Set by
23724
+ * `runDetailSubtree` when the camera's root model supplies a crop-kind
23725
+ * step (a Frigate+ `license_plate` for `plate-detection`): the step is
23726
+ * NOT inferred, these boxes are its output, and its children (the plate
23727
+ * reader) run on them through their own crop policy. Boxes are in the
23728
+ * PIXELS of the image this call carries. Absent ⇒ the root step runs.
23729
+ */
23730
+ suppliedRoot: SuppliedRootOutputSchema.optional()
23666
23731
  }), PipelineRunResultBridge, { kind: "mutation" }), method(object({
23667
23732
  steps: array(PipelineStepInputSchema).min(1),
23668
23733
  frames: array(FrameInputSchema).min(1).max(255),
@@ -24764,7 +24829,22 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
24764
24829
  */
24765
24830
  cropJpeg: string().optional(),
24766
24831
  parent: DetailParentSchema,
24767
- steps: array(string()).optional()
24832
+ steps: array(string()).optional(),
24833
+ /**
24834
+ * The camera's root model already drew this step's boxes (D730): a
24835
+ * `license_plate` inside the parent vehicle. The named step is NOT
24836
+ * inferred — these FRAME-space boxes are its output — and its
24837
+ * requested children (the plate reader) run on them. Absent ⇒ every
24838
+ * requested step infers as before.
24839
+ */
24840
+ supplied: object({
24841
+ stepId: string(),
24842
+ modelId: string(),
24843
+ boxes: array(object({
24844
+ bbox: NativeCropBboxSchema,
24845
+ score: number()
24846
+ })).min(1)
24847
+ }).optional()
24768
24848
  }), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" }), method(object({
24769
24849
  /** Catalog step id, e.g. `clip-embedding`. */
24770
24850
  stepId: string(),
@@ -28065,6 +28145,14 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
28065
28145
  */
28066
28146
  alive: boolean()
28067
28147
  })), method(object({
28148
+ deviceId: number().int().nonnegative(),
28149
+ sessionId: string(),
28150
+ downlinkMbps: number().nonnegative()
28151
+ }), object({
28152
+ outcome: _enum(["switching", "held"]),
28153
+ tier: CamProfileSchema.nullable(),
28154
+ reason: string()
28155
+ }), { kind: "mutation" }), method(object({
28068
28156
  deviceId: number().int().nonnegative(),
28069
28157
  sessionId: string()
28070
28158
  }), WebrtcSessionDebugSchema, { kind: "query" });
@@ -30752,7 +30840,8 @@ var ConnectionEndpointSchema = object({
30752
30840
  "lan-ipv6",
30753
30841
  "public",
30754
30842
  "loopback",
30755
- "app-link"
30843
+ "app-link",
30844
+ "custom"
30756
30845
  ]),
30757
30846
  /**
30758
30847
  * Originating-interface kind — `lan`/`wifi`/`docker`/`vpn`/`other`/
@@ -30854,6 +30943,76 @@ var ViewerEndpointsSchema = object({
30854
30943
  /** What the ranking currently resolves to (may be empty if nothing is up). */
30855
30944
  resolved: array(string()).readonly()
30856
30945
  });
30946
+ /**
30947
+ * DEPRECATED compatibility shape of `getHubAddresses` (D729 amendment, kept
30948
+ * one release for addons built against it): `cluster` is the `agents` role,
30949
+ * `browser` the `signIn` role; `override` is the flagged address.
30950
+ */
30951
+ var HubAddressSnapshotSchema = object({
30952
+ override: string().nullable(),
30953
+ resolved: string().nullable(),
30954
+ source: _enum([
30955
+ "override",
30956
+ "auto",
30957
+ "none"
30958
+ ])
30959
+ });
30960
+ var HubAddressesSchema = object({
30961
+ cluster: HubAddressSnapshotSchema,
30962
+ browser: HubAddressSnapshotSchema
30963
+ });
30964
+ /**
30965
+ * What an address is used for (`hub-address.ts`). `viewer` is many-valued;
30966
+ * `notifications`, `agents` and `signIn` are carried by at most one address.
30967
+ */
30968
+ var HubAddressRoleSchema = _enum([
30969
+ "viewer",
30970
+ "notifications",
30971
+ "agents",
30972
+ "signIn"
30973
+ ]);
30974
+ var RoleSourceSchema = _enum([
30975
+ "flagged",
30976
+ "auto",
30977
+ "none"
30978
+ ]);
30979
+ /** One single-valued role: the flagged address, the one in use, and why. */
30980
+ var HubAddressRoleResolutionSchema = object({
30981
+ /** The address carrying the flag, or null = automatic. */
30982
+ flagged: string().nullable(),
30983
+ /** The address in use, or null when nothing qualifies (never loopback). */
30984
+ resolved: string().nullable(),
30985
+ source: RoleSourceSchema
30986
+ });
30987
+ var HubViewerResolutionSchema = object({
30988
+ /** The addresses flagged `viewer`, or empty = automatic. */
30989
+ flagged: array(string()).readonly(),
30990
+ /** What the apps race right now. */
30991
+ resolved: array(string()).readonly(),
30992
+ source: RoleSourceSchema
30993
+ });
30994
+ var HubAddressBookSchema = object({
30995
+ rows: array(ConnectionEndpointSchema.extend({
30996
+ /** In the hub's detected palette right now. */
30997
+ detected: boolean(),
30998
+ /** Entered by the operator (removable). */
30999
+ custom: boolean(),
31000
+ /** The roles explicitly flagged on this address. */
31001
+ flags: array(HubAddressRoleSchema).readonly(),
31002
+ /** The roles this address serves right now — flagged or automatic. */
31003
+ inUse: array(HubAddressRoleSchema).readonly(),
31004
+ /** The roles this address may be flagged with. */
31005
+ eligible: array(HubAddressRoleSchema).readonly()
31006
+ })).readonly(),
31007
+ roles: object({
31008
+ viewer: HubViewerResolutionSchema,
31009
+ notifications: HubAddressRoleResolutionSchema,
31010
+ agents: HubAddressRoleResolutionSchema,
31011
+ signIn: HubAddressRoleResolutionSchema
31012
+ }),
31013
+ /** The `hub=` an app link carries (D709), or null. */
31014
+ appLinkHub: string().nullable()
31015
+ });
30857
31016
  var AllowedAddressesSchema = object({
30858
31017
  /**
30859
31018
  * Allowlist of interface addresses operators have explicitly opted
@@ -30900,7 +31059,24 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
30900
31059
  * an address notification links can be flagged with, not a hub
30901
31060
  * route. Default `false`: racers and rankers never see it. */
30902
31061
  includeAppLink: boolean().optional()
30903
- }), 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, {
31062
+ }), 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({
31063
+ baseUrl: string(),
31064
+ label: string().max(80)
31065
+ }), HubAddressBookSchema, {
31066
+ kind: "mutation",
31067
+ auth: "admin"
31068
+ }), method(object({ baseUrl: string() }), HubAddressBookSchema, {
31069
+ kind: "mutation",
31070
+ auth: "admin"
31071
+ }), method(object({
31072
+ role: HubAddressRoleSchema,
31073
+ baseUrl: string().nullable(),
31074
+ enabled: boolean(),
31075
+ acceptInsecureHttp: boolean().optional()
31076
+ }), HubAddressBookSchema, {
31077
+ kind: "mutation",
31078
+ auth: "admin"
31079
+ }), 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, {
30904
31080
  kind: "mutation",
30905
31081
  auth: "admin"
30906
31082
  }), method(object({
@@ -31290,7 +31466,8 @@ object({
31290
31466
  * writes this slice (not even a boot seed), and neither does the runner's
31291
31467
  * phase machine: its phase is "a session is attached" for every on-motion
31292
31468
  * session, not motion, and it now has its own `DetectionPhaseTransition`.
31293
- * A provider's `isDetected` answers from the hub's slice.
31469
+ * A provider's `isDetected` and `getStatus` answer from the hub's slice
31470
+ * (`hubMotionNativeProvider`).
31294
31471
  * - **Sensors** (Home Assistant binary sensors, Homematic, Matter, Alexa
31295
31472
  * imports) — the provider pushes both edges itself, from the upstream
31296
31473
  * system's own state change. That is the sensor's own fact.
@@ -39356,12 +39533,24 @@ Object.freeze({
39356
39533
  addonId: null,
39357
39534
  access: "view"
39358
39535
  },
39536
+ "localNetwork.addCustomAddress": {
39537
+ capName: "local-network",
39538
+ capScope: "system",
39539
+ addonId: null,
39540
+ access: "create"
39541
+ },
39359
39542
  "localNetwork.downloadCa": {
39360
39543
  capName: "local-network",
39361
39544
  capScope: "system",
39362
39545
  addonId: null,
39363
39546
  access: "view"
39364
39547
  },
39548
+ "localNetwork.getAddresses": {
39549
+ capName: "local-network",
39550
+ capScope: "system",
39551
+ addonId: null,
39552
+ access: "view"
39553
+ },
39365
39554
  "localNetwork.getAllowedAddresses": {
39366
39555
  capName: "local-network",
39367
39556
  capScope: "system",
@@ -39374,6 +39563,12 @@ Object.freeze({
39374
39563
  addonId: null,
39375
39564
  access: "view"
39376
39565
  },
39566
+ "localNetwork.getHubAddresses": {
39567
+ capName: "local-network",
39568
+ capScope: "system",
39569
+ addonId: null,
39570
+ access: "view"
39571
+ },
39377
39572
  "localNetwork.getNotificationEndpoint": {
39378
39573
  capName: "local-network",
39379
39574
  capScope: "system",
@@ -39410,6 +39605,12 @@ Object.freeze({
39410
39605
  addonId: null,
39411
39606
  access: "create"
39412
39607
  },
39608
+ "localNetwork.removeCustomAddress": {
39609
+ capName: "local-network",
39610
+ capScope: "system",
39611
+ addonId: null,
39612
+ access: "delete"
39613
+ },
39413
39614
  "localNetwork.resetAllowlistToBestMatch": {
39414
39615
  capName: "local-network",
39415
39616
  capScope: "system",
@@ -39422,6 +39623,12 @@ Object.freeze({
39422
39623
  addonId: null,
39423
39624
  access: "create"
39424
39625
  },
39626
+ "localNetwork.setAddressRole": {
39627
+ capName: "local-network",
39628
+ capScope: "system",
39629
+ addonId: null,
39630
+ access: "create"
39631
+ },
39425
39632
  "localNetwork.setAllowedAddresses": {
39426
39633
  capName: "local-network",
39427
39634
  capScope: "system",
@@ -43676,6 +43883,12 @@ Object.freeze({
43676
43883
  addonId: null,
43677
43884
  access: "create"
43678
43885
  },
43886
+ "webrtcSession.applyDownlinkProbe": {
43887
+ capName: "webrtc-session",
43888
+ capScope: "device",
43889
+ addonId: null,
43890
+ access: "create"
43891
+ },
43679
43892
  "webrtcSession.closeSession": {
43680
43893
  capName: "webrtc-session",
43681
43894
  capScope: "device",
@@ -47598,6 +47811,11 @@ Object.freeze({
47598
47811
  form: "single",
47599
47812
  optional: false
47600
47813
  }],
47814
+ "webrtcSession.applyDownlinkProbe": [{
47815
+ name: "deviceId",
47816
+ form: "single",
47817
+ optional: false
47818
+ }],
47601
47819
  "webrtcSession.closeSession": [{
47602
47820
  name: "deviceId",
47603
47821
  form: "single",
@@ -47827,6 +48045,8 @@ new Map(Object.entries({
47827
48045
  "detection-blind": "device-events",
47828
48046
  "node-online": "system",
47829
48047
  "node-offline": "system",
48048
+ "node-restarting": "system",
48049
+ "node-updating": "system",
47830
48050
  "node-inference-unavailable": "system",
47831
48051
  "addon-crash-loop": "system",
47832
48052
  "addon-update-available": "system",
@@ -47904,6 +48124,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
47904
48124
  kinds: [
47905
48125
  "node-offline",
47906
48126
  "node-online",
48127
+ "node-restarting",
47907
48128
  "node-inference-unavailable"
47908
48129
  ]
47909
48130
  },
@@ -47925,6 +48146,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
47925
48146
  label: "Server & container updates",
47926
48147
  kinds: [
47927
48148
  "server-update-available",
48149
+ "node-updating",
47928
48150
  "server-updated",
47929
48151
  "wrapper-update-available"
47930
48152
  ]
@@ -48072,6 +48294,7 @@ var STATE_SUMMARY_SECTION_VARS = [
48072
48294
  kinds: [
48073
48295
  "node-offline",
48074
48296
  "node-online",
48297
+ "node-restarting",
48075
48298
  "node-inference-unavailable"
48076
48299
  ]
48077
48300
  },
@@ -48093,6 +48316,7 @@ var STATE_SUMMARY_SECTION_VARS = [
48093
48316
  example: "server 1.2.377 → 1.2.378",
48094
48317
  kinds: [
48095
48318
  "server-update-available",
48319
+ "node-updating",
48096
48320
  "server-updated",
48097
48321
  "wrapper-update-available"
48098
48322
  ]
@@ -48125,7 +48349,7 @@ var STATE_SUMMARY_VARS = [
48125
48349
  {
48126
48350
  name: "summarySection",
48127
48351
  label: "Summary: this section",
48128
- description: "The section a per-section summary row is about (D698); on a summary sent as one message, every section it reports, comma-separated.",
48352
+ description: "The section a per-section summary row is about; on a summary sent as one message, every section it reports, comma-separated.",
48129
48353
  example: "Batterie scariche",
48130
48354
  group: "system",
48131
48355
  families: ["rule"],
@@ -49553,13 +49777,12 @@ function buildGoogleOauthIntegration() {
49553
49777
  * cross-process through `ctx.api` — unlike the `addons` core router, which a
49554
49778
  * forked addon calling `ctx.api.addons.*` would wait on forever.
49555
49779
  *
49556
- * **Not** `CAMSTACK_HUB_PUBLIC_URL`. That variable answers a different
49557
- * question: which origin the hub should mint its OWN media / model-distribution
49558
- * links on, and it defaults to `https://127.0.0.1:4443`. It is routinely a
49559
- * loopback or LAN address, and the backend's `publicHubUrl()` fallback is
49560
- * localhost in dev. Google calls from its own cloud, so a LAN answer here is
49561
- * worse than no answer — it produces three console URLs that look complete and
49562
- * can never be reached.
49780
+ * **Not** the hub's own address from `local-network` (`getAddresses().roles`). That
49781
+ * answers a different question — which address an agent or a browser on the
49782
+ * LAN reaches — and it is routinely a LAN address; the backend's
49783
+ * `publicHubUrl()` fallback is localhost in dev. Google calls from its own
49784
+ * cloud, so a LAN answer here is worse than no answer — it produces three
49785
+ * console URLs that look complete and can never be reached.
49563
49786
  *
49564
49787
  * ## Why this is a second copy of Alexa's mechanism
49565
49788
  *
@@ -5453,7 +5453,7 @@ var ZodIssueCode = {
5453
5453
  var ZodFirstPartyTypeKind;
5454
5454
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5455
5455
  //#endregion
5456
- //#region ../types/dist/sleep-DXKLNFvA.mjs
5456
+ //#region ../types/dist/sleep-C16NCZR2.mjs
5457
5457
  /**
5458
5458
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5459
5459
  * window to float samples (D455).
@@ -10674,57 +10674,15 @@ var ClipSearchStrictnessSchema = _enum([
10674
10674
  "balanced",
10675
10675
  "strict"
10676
10676
  ]);
10677
- new Set([
10678
- {
10679
- id: "person",
10680
- name: "Person"
10681
- },
10682
- {
10683
- id: "vehicle",
10684
- name: "Vehicle"
10685
- },
10686
- {
10687
- id: "animal",
10688
- name: "Animal"
10689
- },
10690
- {
10691
- id: "package",
10692
- name: "Package"
10693
- }
10694
- ].map((l) => l.id));
10695
- var COCO_TO_MACRO = {
10696
- mapping: {
10697
- person: "person",
10698
- bicycle: "vehicle",
10699
- car: "vehicle",
10700
- motorcycle: "vehicle",
10701
- airplane: "vehicle",
10702
- bus: "vehicle",
10703
- train: "vehicle",
10704
- truck: "vehicle",
10705
- boat: "vehicle",
10706
- bird: "animal",
10707
- cat: "animal",
10708
- dog: "animal",
10709
- horse: "animal",
10710
- sheep: "animal",
10711
- cow: "animal",
10712
- elephant: "animal",
10713
- bear: "animal",
10714
- zebra: "animal",
10715
- giraffe: "animal",
10716
- suitcase: "package",
10717
- backpack: "package",
10718
- handbag: "package"
10719
- },
10720
- preserveOriginal: false
10721
- };
10722
- /** Steps a root detector may declare it fills. */
10723
- var FILLABLE_STEP_IDS = [
10677
+ /** Steps whose effect a root label can BE. */
10678
+ var LABEL_SUPPLY_STEP_IDS = [
10724
10679
  "animal-classifier",
10725
10680
  "vehicle-classifier",
10726
10681
  "package-detection"
10727
10682
  ];
10683
+ /** Steps whose box a root detection can BE. */
10684
+ var CROP_SUPPLY_STEP_IDS = ["plate-detection", "face-detection"];
10685
+ [...LABEL_SUPPLY_STEP_IDS, ...CROP_SUPPLY_STEP_IDS];
10728
10686
  var MODEL_FORMATS = [
10729
10687
  "onnx",
10730
10688
  "coreml",
@@ -10857,12 +10815,35 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
10857
10815
  /** True when the weights or their data forbid commercial use. */
10858
10816
  nonCommercial: boolean().optional()
10859
10817
  }));
10860
- /** One `fillsClassifierEffects` entry — see `ModelCatalogEntry.fillsClassifierEffects`. */
10861
- var FillsClassifierEffectSchema = object({
10862
- stepId: _enum(FILLABLE_STEP_IDS),
10818
+ /**
10819
+ * One step a ROOT detector can supply from its own output (D730) — see
10820
+ * `ModelCatalogEntry.suppliesSteps`.
10821
+ *
10822
+ * - `label`: the root's raw class IS the step's answer. `labelToEffect` maps
10823
+ * the root's label to the step's vocabulary; `uncovered` is the vocabulary
10824
+ * the root cannot produce (shown as unavailable, never a blocker).
10825
+ * - `crop`: the root draws the box the step would have found (`license_plate`
10826
+ * for plate-detection, `face` for face-detection). The box becomes a detail
10827
+ * child of the `parentMacro` detection that contains it — never a track.
10828
+ */
10829
+ var RootStepSupplySchema = discriminatedUnion("kind", [object({
10830
+ kind: literal("label"),
10831
+ stepId: _enum(LABEL_SUPPLY_STEP_IDS),
10863
10832
  labelToEffect: record(string(), string()),
10864
10833
  uncovered: array(string()).readonly()
10865
- });
10834
+ }), object({
10835
+ kind: literal("crop"),
10836
+ stepId: _enum(CROP_SUPPLY_STEP_IDS),
10837
+ rootLabels: array(string()).readonly(),
10838
+ parentMacro: _enum(["vehicle", "person"]),
10839
+ childClass: _enum(["plate", "face"]),
10840
+ /**
10841
+ * The root's smaller input side, stamped on read by `rootSuppliesOf` from
10842
+ * the model entry — what a step's `minRootInputPx` gate judges. Never
10843
+ * stored by an import.
10844
+ */
10845
+ rootInputPx: number().int().positive().optional()
10846
+ })]);
10866
10847
  var ModelCatalogEntrySchema = object({
10867
10848
  id: string(),
10868
10849
  name: string(),
@@ -10989,15 +10970,15 @@ var ModelCatalogEntrySchema = object({
10989
10970
  */
10990
10971
  classMap: DetectionCatalogClassMapSchema.optional(),
10991
10972
  /**
10992
- * The pipeline steps this ROOT detector already does the work of (D715):
10993
- * its labels name the effect the step exists to produce (`deer` for
10994
- * `animal-classifier`, `package` for `package-detection`). Derived from the
10995
- * labelmap by `deriveClassifierFills`, never hand-written; a COCO model
10996
- * declares none. Whether a declaration is honoured is the step's own
10997
- * `labelLink` policy (`resolveLabelLink`). `labelToEffect` values are in
10998
- * `FILLABLE_STEP_VOCABULARIES` (guard `check-label-link-vocabulary`).
10973
+ * The pipeline steps this ROOT detector can supply from its own output
10974
+ * (D730): its labels name a step's effect (`deer` for `animal-classifier`)
10975
+ * or draw a step's box (`license_plate` for `plate-detection`). Computed at
10976
+ * import from THIS model's labelmap by `deriveRootSupplies`, never written
10977
+ * by hand and never assumed per family; a row without it is derived on read
10978
+ * (`rootSuppliesOf`). Whether a camera uses it is the step's own
10979
+ * `useRootModel` flag (`resolveRootSupply`).
10999
10980
  */
11000
- fillsClassifierEffects: array(FillsClassifierEffectSchema).readonly().optional(),
10981
+ suppliesSteps: array(RootStepSupplySchema).readonly().optional(),
11001
10982
  /**
11002
10983
  * The model's CLIP feature-space contract (text encoder, dimension, vector
11003
10984
  * index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
@@ -17970,6 +17951,51 @@ method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSche
17970
17951
  kind: "mutation",
17971
17952
  auth: "admin"
17972
17953
  });
17954
+ new Set([
17955
+ {
17956
+ id: "person",
17957
+ name: "Person"
17958
+ },
17959
+ {
17960
+ id: "vehicle",
17961
+ name: "Vehicle"
17962
+ },
17963
+ {
17964
+ id: "animal",
17965
+ name: "Animal"
17966
+ },
17967
+ {
17968
+ id: "package",
17969
+ name: "Package"
17970
+ }
17971
+ ].map((l) => l.id));
17972
+ var COCO_TO_MACRO = {
17973
+ mapping: {
17974
+ person: "person",
17975
+ bicycle: "vehicle",
17976
+ car: "vehicle",
17977
+ motorcycle: "vehicle",
17978
+ airplane: "vehicle",
17979
+ bus: "vehicle",
17980
+ train: "vehicle",
17981
+ truck: "vehicle",
17982
+ boat: "vehicle",
17983
+ bird: "animal",
17984
+ cat: "animal",
17985
+ dog: "animal",
17986
+ horse: "animal",
17987
+ sheep: "animal",
17988
+ cow: "animal",
17989
+ elephant: "animal",
17990
+ bear: "animal",
17991
+ zebra: "animal",
17992
+ giraffe: "animal",
17993
+ suitcase: "package",
17994
+ backpack: "package",
17995
+ handbag: "package"
17996
+ },
17997
+ preserveOriginal: false
17998
+ };
17973
17999
  var AUDIO_MACRO_LABELS = [
17974
18000
  {
17975
18001
  id: "speech",
@@ -18727,6 +18753,8 @@ var NcSystemEventKindSchema = _enum([
18727
18753
  "stream-offline",
18728
18754
  "node-online",
18729
18755
  "node-offline",
18756
+ "node-restarting",
18757
+ "node-updating",
18730
18758
  "node-inference-unavailable",
18731
18759
  "detection-blind",
18732
18760
  "addon-crash-loop",
@@ -23260,6 +23288,34 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
23260
23288
  timestamp: number()
23261
23289
  });
23262
23290
  /**
23291
+ * A root model's boxes standing in for one crop-kind step's own inference
23292
+ * (D730) — see `runPipeline.suppliedRoot`.
23293
+ */
23294
+ var SuppliedRootOutputSchema = object({
23295
+ stepId: string(),
23296
+ /** The root model that drew the boxes — stamped on the result. */
23297
+ modelId: string(),
23298
+ detections: array(object({
23299
+ /** `[x1, y1, x2, y2]` in the pixels of the call's image. */
23300
+ bbox: tuple([
23301
+ number(),
23302
+ number(),
23303
+ number(),
23304
+ number()
23305
+ ]),
23306
+ score: number(),
23307
+ /**
23308
+ * Five facial landmarks in the same pixels — a face the step's own
23309
+ * detector already re-found inside a root face box (D730), so its
23310
+ * embedder child aligns it exactly as it aligns any detected face.
23311
+ */
23312
+ landmarks: array(object({
23313
+ x: number(),
23314
+ y: number()
23315
+ })).optional()
23316
+ })).min(1)
23317
+ });
23318
+ /**
23263
23319
  * Reference to the frame's retained NATIVE surface + the parent crop's placement
23264
23320
  * within the frame, so the executor can re-cut a leaf child ROI at native
23265
23321
  * resolution on the detail plane. See the `runPipeline` `nativeCropRef` field.
@@ -23390,7 +23446,7 @@ var PipelineModelOptionSchema = object({
23390
23446
  legacy: boolean().optional(),
23391
23447
  provider: ModelProviderIdSchema.optional(),
23392
23448
  defaultConfidence: number().optional(),
23393
- fillsClassifierEffects: array(FillsClassifierEffectSchema).readonly().optional()
23449
+ suppliesSteps: array(RootStepSupplySchema).readonly().optional()
23394
23450
  });
23395
23451
  var ConfigFieldBridge = custom();
23396
23452
  var PipelineAddonSchemaSchema = object({
@@ -23658,7 +23714,16 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
23658
23714
  * `device-not-servable`), and nothing reaches the camera's live
23659
23715
  * trace stream. Absent ⇒ unchanged behaviour.
23660
23716
  */
23661
- replay: literal(true).optional()
23717
+ replay: literal(true).optional(),
23718
+ /**
23719
+ * Root-supplied detections for the tree's ROOT step (D730). Set by
23720
+ * `runDetailSubtree` when the camera's root model supplies a crop-kind
23721
+ * step (a Frigate+ `license_plate` for `plate-detection`): the step is
23722
+ * NOT inferred, these boxes are its output, and its children (the plate
23723
+ * reader) run on them through their own crop policy. Boxes are in the
23724
+ * PIXELS of the image this call carries. Absent ⇒ the root step runs.
23725
+ */
23726
+ suppliedRoot: SuppliedRootOutputSchema.optional()
23662
23727
  }), PipelineRunResultBridge, { kind: "mutation" }), method(object({
23663
23728
  steps: array(PipelineStepInputSchema).min(1),
23664
23729
  frames: array(FrameInputSchema).min(1).max(255),
@@ -24760,7 +24825,22 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
24760
24825
  */
24761
24826
  cropJpeg: string().optional(),
24762
24827
  parent: DetailParentSchema,
24763
- steps: array(string()).optional()
24828
+ steps: array(string()).optional(),
24829
+ /**
24830
+ * The camera's root model already drew this step's boxes (D730): a
24831
+ * `license_plate` inside the parent vehicle. The named step is NOT
24832
+ * inferred — these FRAME-space boxes are its output — and its
24833
+ * requested children (the plate reader) run on them. Absent ⇒ every
24834
+ * requested step infers as before.
24835
+ */
24836
+ supplied: object({
24837
+ stepId: string(),
24838
+ modelId: string(),
24839
+ boxes: array(object({
24840
+ bbox: NativeCropBboxSchema,
24841
+ score: number()
24842
+ })).min(1)
24843
+ }).optional()
24764
24844
  }), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" }), method(object({
24765
24845
  /** Catalog step id, e.g. `clip-embedding`. */
24766
24846
  stepId: string(),
@@ -28061,6 +28141,14 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
28061
28141
  */
28062
28142
  alive: boolean()
28063
28143
  })), method(object({
28144
+ deviceId: number().int().nonnegative(),
28145
+ sessionId: string(),
28146
+ downlinkMbps: number().nonnegative()
28147
+ }), object({
28148
+ outcome: _enum(["switching", "held"]),
28149
+ tier: CamProfileSchema.nullable(),
28150
+ reason: string()
28151
+ }), { kind: "mutation" }), method(object({
28064
28152
  deviceId: number().int().nonnegative(),
28065
28153
  sessionId: string()
28066
28154
  }), WebrtcSessionDebugSchema, { kind: "query" });
@@ -30748,7 +30836,8 @@ var ConnectionEndpointSchema = object({
30748
30836
  "lan-ipv6",
30749
30837
  "public",
30750
30838
  "loopback",
30751
- "app-link"
30839
+ "app-link",
30840
+ "custom"
30752
30841
  ]),
30753
30842
  /**
30754
30843
  * Originating-interface kind — `lan`/`wifi`/`docker`/`vpn`/`other`/
@@ -30850,6 +30939,76 @@ var ViewerEndpointsSchema = object({
30850
30939
  /** What the ranking currently resolves to (may be empty if nothing is up). */
30851
30940
  resolved: array(string()).readonly()
30852
30941
  });
30942
+ /**
30943
+ * DEPRECATED compatibility shape of `getHubAddresses` (D729 amendment, kept
30944
+ * one release for addons built against it): `cluster` is the `agents` role,
30945
+ * `browser` the `signIn` role; `override` is the flagged address.
30946
+ */
30947
+ var HubAddressSnapshotSchema = object({
30948
+ override: string().nullable(),
30949
+ resolved: string().nullable(),
30950
+ source: _enum([
30951
+ "override",
30952
+ "auto",
30953
+ "none"
30954
+ ])
30955
+ });
30956
+ var HubAddressesSchema = object({
30957
+ cluster: HubAddressSnapshotSchema,
30958
+ browser: HubAddressSnapshotSchema
30959
+ });
30960
+ /**
30961
+ * What an address is used for (`hub-address.ts`). `viewer` is many-valued;
30962
+ * `notifications`, `agents` and `signIn` are carried by at most one address.
30963
+ */
30964
+ var HubAddressRoleSchema = _enum([
30965
+ "viewer",
30966
+ "notifications",
30967
+ "agents",
30968
+ "signIn"
30969
+ ]);
30970
+ var RoleSourceSchema = _enum([
30971
+ "flagged",
30972
+ "auto",
30973
+ "none"
30974
+ ]);
30975
+ /** One single-valued role: the flagged address, the one in use, and why. */
30976
+ var HubAddressRoleResolutionSchema = object({
30977
+ /** The address carrying the flag, or null = automatic. */
30978
+ flagged: string().nullable(),
30979
+ /** The address in use, or null when nothing qualifies (never loopback). */
30980
+ resolved: string().nullable(),
30981
+ source: RoleSourceSchema
30982
+ });
30983
+ var HubViewerResolutionSchema = object({
30984
+ /** The addresses flagged `viewer`, or empty = automatic. */
30985
+ flagged: array(string()).readonly(),
30986
+ /** What the apps race right now. */
30987
+ resolved: array(string()).readonly(),
30988
+ source: RoleSourceSchema
30989
+ });
30990
+ var HubAddressBookSchema = object({
30991
+ rows: array(ConnectionEndpointSchema.extend({
30992
+ /** In the hub's detected palette right now. */
30993
+ detected: boolean(),
30994
+ /** Entered by the operator (removable). */
30995
+ custom: boolean(),
30996
+ /** The roles explicitly flagged on this address. */
30997
+ flags: array(HubAddressRoleSchema).readonly(),
30998
+ /** The roles this address serves right now — flagged or automatic. */
30999
+ inUse: array(HubAddressRoleSchema).readonly(),
31000
+ /** The roles this address may be flagged with. */
31001
+ eligible: array(HubAddressRoleSchema).readonly()
31002
+ })).readonly(),
31003
+ roles: object({
31004
+ viewer: HubViewerResolutionSchema,
31005
+ notifications: HubAddressRoleResolutionSchema,
31006
+ agents: HubAddressRoleResolutionSchema,
31007
+ signIn: HubAddressRoleResolutionSchema
31008
+ }),
31009
+ /** The `hub=` an app link carries (D709), or null. */
31010
+ appLinkHub: string().nullable()
31011
+ });
30853
31012
  var AllowedAddressesSchema = object({
30854
31013
  /**
30855
31014
  * Allowlist of interface addresses operators have explicitly opted
@@ -30896,7 +31055,24 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
30896
31055
  * an address notification links can be flagged with, not a hub
30897
31056
  * route. Default `false`: racers and rankers never see it. */
30898
31057
  includeAppLink: boolean().optional()
30899
- }), 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, {
31058
+ }), 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({
31059
+ baseUrl: string(),
31060
+ label: string().max(80)
31061
+ }), HubAddressBookSchema, {
31062
+ kind: "mutation",
31063
+ auth: "admin"
31064
+ }), method(object({ baseUrl: string() }), HubAddressBookSchema, {
31065
+ kind: "mutation",
31066
+ auth: "admin"
31067
+ }), method(object({
31068
+ role: HubAddressRoleSchema,
31069
+ baseUrl: string().nullable(),
31070
+ enabled: boolean(),
31071
+ acceptInsecureHttp: boolean().optional()
31072
+ }), HubAddressBookSchema, {
31073
+ kind: "mutation",
31074
+ auth: "admin"
31075
+ }), 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, {
30900
31076
  kind: "mutation",
30901
31077
  auth: "admin"
30902
31078
  }), method(object({
@@ -31286,7 +31462,8 @@ object({
31286
31462
  * writes this slice (not even a boot seed), and neither does the runner's
31287
31463
  * phase machine: its phase is "a session is attached" for every on-motion
31288
31464
  * session, not motion, and it now has its own `DetectionPhaseTransition`.
31289
- * A provider's `isDetected` answers from the hub's slice.
31465
+ * A provider's `isDetected` and `getStatus` answer from the hub's slice
31466
+ * (`hubMotionNativeProvider`).
31290
31467
  * - **Sensors** (Home Assistant binary sensors, Homematic, Matter, Alexa
31291
31468
  * imports) — the provider pushes both edges itself, from the upstream
31292
31469
  * system's own state change. That is the sensor's own fact.
@@ -39352,12 +39529,24 @@ Object.freeze({
39352
39529
  addonId: null,
39353
39530
  access: "view"
39354
39531
  },
39532
+ "localNetwork.addCustomAddress": {
39533
+ capName: "local-network",
39534
+ capScope: "system",
39535
+ addonId: null,
39536
+ access: "create"
39537
+ },
39355
39538
  "localNetwork.downloadCa": {
39356
39539
  capName: "local-network",
39357
39540
  capScope: "system",
39358
39541
  addonId: null,
39359
39542
  access: "view"
39360
39543
  },
39544
+ "localNetwork.getAddresses": {
39545
+ capName: "local-network",
39546
+ capScope: "system",
39547
+ addonId: null,
39548
+ access: "view"
39549
+ },
39361
39550
  "localNetwork.getAllowedAddresses": {
39362
39551
  capName: "local-network",
39363
39552
  capScope: "system",
@@ -39370,6 +39559,12 @@ Object.freeze({
39370
39559
  addonId: null,
39371
39560
  access: "view"
39372
39561
  },
39562
+ "localNetwork.getHubAddresses": {
39563
+ capName: "local-network",
39564
+ capScope: "system",
39565
+ addonId: null,
39566
+ access: "view"
39567
+ },
39373
39568
  "localNetwork.getNotificationEndpoint": {
39374
39569
  capName: "local-network",
39375
39570
  capScope: "system",
@@ -39406,6 +39601,12 @@ Object.freeze({
39406
39601
  addonId: null,
39407
39602
  access: "create"
39408
39603
  },
39604
+ "localNetwork.removeCustomAddress": {
39605
+ capName: "local-network",
39606
+ capScope: "system",
39607
+ addonId: null,
39608
+ access: "delete"
39609
+ },
39409
39610
  "localNetwork.resetAllowlistToBestMatch": {
39410
39611
  capName: "local-network",
39411
39612
  capScope: "system",
@@ -39418,6 +39619,12 @@ Object.freeze({
39418
39619
  addonId: null,
39419
39620
  access: "create"
39420
39621
  },
39622
+ "localNetwork.setAddressRole": {
39623
+ capName: "local-network",
39624
+ capScope: "system",
39625
+ addonId: null,
39626
+ access: "create"
39627
+ },
39421
39628
  "localNetwork.setAllowedAddresses": {
39422
39629
  capName: "local-network",
39423
39630
  capScope: "system",
@@ -43672,6 +43879,12 @@ Object.freeze({
43672
43879
  addonId: null,
43673
43880
  access: "create"
43674
43881
  },
43882
+ "webrtcSession.applyDownlinkProbe": {
43883
+ capName: "webrtc-session",
43884
+ capScope: "device",
43885
+ addonId: null,
43886
+ access: "create"
43887
+ },
43675
43888
  "webrtcSession.closeSession": {
43676
43889
  capName: "webrtc-session",
43677
43890
  capScope: "device",
@@ -47594,6 +47807,11 @@ Object.freeze({
47594
47807
  form: "single",
47595
47808
  optional: false
47596
47809
  }],
47810
+ "webrtcSession.applyDownlinkProbe": [{
47811
+ name: "deviceId",
47812
+ form: "single",
47813
+ optional: false
47814
+ }],
47597
47815
  "webrtcSession.closeSession": [{
47598
47816
  name: "deviceId",
47599
47817
  form: "single",
@@ -47823,6 +48041,8 @@ new Map(Object.entries({
47823
48041
  "detection-blind": "device-events",
47824
48042
  "node-online": "system",
47825
48043
  "node-offline": "system",
48044
+ "node-restarting": "system",
48045
+ "node-updating": "system",
47826
48046
  "node-inference-unavailable": "system",
47827
48047
  "addon-crash-loop": "system",
47828
48048
  "addon-update-available": "system",
@@ -47900,6 +48120,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
47900
48120
  kinds: [
47901
48121
  "node-offline",
47902
48122
  "node-online",
48123
+ "node-restarting",
47903
48124
  "node-inference-unavailable"
47904
48125
  ]
47905
48126
  },
@@ -47921,6 +48142,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
47921
48142
  label: "Server & container updates",
47922
48143
  kinds: [
47923
48144
  "server-update-available",
48145
+ "node-updating",
47924
48146
  "server-updated",
47925
48147
  "wrapper-update-available"
47926
48148
  ]
@@ -48068,6 +48290,7 @@ var STATE_SUMMARY_SECTION_VARS = [
48068
48290
  kinds: [
48069
48291
  "node-offline",
48070
48292
  "node-online",
48293
+ "node-restarting",
48071
48294
  "node-inference-unavailable"
48072
48295
  ]
48073
48296
  },
@@ -48089,6 +48312,7 @@ var STATE_SUMMARY_SECTION_VARS = [
48089
48312
  example: "server 1.2.377 → 1.2.378",
48090
48313
  kinds: [
48091
48314
  "server-update-available",
48315
+ "node-updating",
48092
48316
  "server-updated",
48093
48317
  "wrapper-update-available"
48094
48318
  ]
@@ -48121,7 +48345,7 @@ var STATE_SUMMARY_VARS = [
48121
48345
  {
48122
48346
  name: "summarySection",
48123
48347
  label: "Summary: this section",
48124
- description: "The section a per-section summary row is about (D698); on a summary sent as one message, every section it reports, comma-separated.",
48348
+ description: "The section a per-section summary row is about; on a summary sent as one message, every section it reports, comma-separated.",
48125
48349
  example: "Batterie scariche",
48126
48350
  group: "system",
48127
48351
  families: ["rule"],
@@ -49549,13 +49773,12 @@ function buildGoogleOauthIntegration() {
49549
49773
  * cross-process through `ctx.api` — unlike the `addons` core router, which a
49550
49774
  * forked addon calling `ctx.api.addons.*` would wait on forever.
49551
49775
  *
49552
- * **Not** `CAMSTACK_HUB_PUBLIC_URL`. That variable answers a different
49553
- * question: which origin the hub should mint its OWN media / model-distribution
49554
- * links on, and it defaults to `https://127.0.0.1:4443`. It is routinely a
49555
- * loopback or LAN address, and the backend's `publicHubUrl()` fallback is
49556
- * localhost in dev. Google calls from its own cloud, so a LAN answer here is
49557
- * worse than no answer — it produces three console URLs that look complete and
49558
- * can never be reached.
49776
+ * **Not** the hub's own address from `local-network` (`getAddresses().roles`). That
49777
+ * answers a different question — which address an agent or a browser on the
49778
+ * LAN reaches — and it is routinely a LAN address; the backend's
49779
+ * `publicHubUrl()` fallback is localhost in dev. Google calls from its own
49780
+ * cloud, so a LAN answer here is worse than no answer — it produces three
49781
+ * console URLs that look complete and can never be reached.
49559
49782
  *
49560
49783
  * ## Why this is a second copy of Alexa's mechanism
49561
49784
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-google",
3
- "version": "0.1.85",
3
+ "version": "0.1.87",
4
4
  "description": "Google Home export — hub-side smart-home fulfillment (SYNC / QUERY / EXECUTE / DISCONNECT) for the non-camera fleet, served over the hub's own OAuth account link. No Google credential is stored, sent or required.",
5
5
  "keywords": [
6
6
  "camstack",
@@ -27,7 +27,7 @@
27
27
  "id": "export-google",
28
28
  "category": "exports",
29
29
  "name": "Google Home export",
30
- "description": "Publishes switches, dimmable lights, locks and covers to Google Home / Google Assistant. The hub answers Google's smart-home fulfillment directly (SYNC / QUERY / EXECUTE / DISCONNECT) and account-links through the hub's own OAuth server — no cloud function and no Google credential. Cameras and proactive Report State are deliberately out of scope (D268, D269).",
30
+ "description": "Publishes switches, dimmable lights, locks and covers to Google Home / Google Assistant. The hub answers Google's smart-home fulfillment directly (SYNC / QUERY / EXECUTE / DISCONNECT) and account-links through the hub's own OAuth server — no cloud function and no Google credential. Cameras and proactive Report State are deliberately out of scope.",
31
31
  "entry": "./dist/index.js",
32
32
  "execution": {
33
33
  "placement": "hub-only"