@camstack/addon-export-google 0.1.85 → 0.1.86
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.
- package/dist/export-google.addon.js +197 -72
- package/dist/export-google.addon.mjs +197 -72
- package/package.json +2 -2
|
@@ -10678,57 +10678,15 @@ var ClipSearchStrictnessSchema = _enum([
|
|
|
10678
10678
|
"balanced",
|
|
10679
10679
|
"strict"
|
|
10680
10680
|
]);
|
|
10681
|
-
|
|
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
|
-
/**
|
|
10865
|
-
|
|
10866
|
-
|
|
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
|
|
10997
|
-
* its labels name
|
|
10998
|
-
*
|
|
10999
|
-
* labelmap by `
|
|
11000
|
-
*
|
|
11001
|
-
*
|
|
11002
|
-
* `
|
|
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
|
-
|
|
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
|
-
|
|
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(),
|
|
@@ -30854,6 +30934,27 @@ var ViewerEndpointsSchema = object({
|
|
|
30854
30934
|
/** What the ranking currently resolves to (may be empty if nothing is up). */
|
|
30855
30935
|
resolved: array(string()).readonly()
|
|
30856
30936
|
});
|
|
30937
|
+
/**
|
|
30938
|
+
* One audience's hub address (see `hub-address.ts`): the operator's stored
|
|
30939
|
+
* override, the address in use, and where it came from.
|
|
30940
|
+
*/
|
|
30941
|
+
var HubAddressSnapshotSchema = object({
|
|
30942
|
+
/** The operator's override, or null for automatic. */
|
|
30943
|
+
override: string().nullable(),
|
|
30944
|
+
/** The address in use, or null when nothing qualifies (never loopback). */
|
|
30945
|
+
resolved: string().nullable(),
|
|
30946
|
+
source: _enum([
|
|
30947
|
+
"override",
|
|
30948
|
+
"auto",
|
|
30949
|
+
"none"
|
|
30950
|
+
])
|
|
30951
|
+
});
|
|
30952
|
+
var HubAddressesSchema = object({
|
|
30953
|
+
/** "Hub address for agents" — agents' bundle/model pulls, LAN devices. */
|
|
30954
|
+
cluster: HubAddressSnapshotSchema,
|
|
30955
|
+
/** "Public address for sign-in links" — e-mail links, OIDC, WebAuthn, OAuth2. */
|
|
30956
|
+
browser: HubAddressSnapshotSchema
|
|
30957
|
+
});
|
|
30857
30958
|
var AllowedAddressesSchema = object({
|
|
30858
30959
|
/**
|
|
30859
30960
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -30900,7 +31001,13 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
30900
31001
|
* an address notification links can be flagged with, not a hub
|
|
30901
31002
|
* route. Default `false`: racers and rankers never see it. */
|
|
30902
31003
|
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(),
|
|
31004
|
+
}), 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(), HubAddressesSchema), method(object({
|
|
31005
|
+
audience: _enum(["cluster", "browser"]),
|
|
31006
|
+
baseUrl: string().nullable()
|
|
31007
|
+
}), HubAddressesSchema, {
|
|
31008
|
+
kind: "mutation",
|
|
31009
|
+
auth: "admin"
|
|
31010
|
+
}), 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
31011
|
kind: "mutation",
|
|
30905
31012
|
auth: "admin"
|
|
30906
31013
|
}), method(object({
|
|
@@ -31290,7 +31397,8 @@ object({
|
|
|
31290
31397
|
* writes this slice (not even a boot seed), and neither does the runner's
|
|
31291
31398
|
* phase machine: its phase is "a session is attached" for every on-motion
|
|
31292
31399
|
* session, not motion, and it now has its own `DetectionPhaseTransition`.
|
|
31293
|
-
* A provider's `isDetected`
|
|
31400
|
+
* A provider's `isDetected` and `getStatus` answer from the hub's slice
|
|
31401
|
+
* (`hubMotionNativeProvider`).
|
|
31294
31402
|
* - **Sensors** (Home Assistant binary sensors, Homematic, Matter, Alexa
|
|
31295
31403
|
* imports) — the provider pushes both edges itself, from the upstream
|
|
31296
31404
|
* system's own state change. That is the sensor's own fact.
|
|
@@ -39374,6 +39482,12 @@ Object.freeze({
|
|
|
39374
39482
|
addonId: null,
|
|
39375
39483
|
access: "view"
|
|
39376
39484
|
},
|
|
39485
|
+
"localNetwork.getHubAddresses": {
|
|
39486
|
+
capName: "local-network",
|
|
39487
|
+
capScope: "system",
|
|
39488
|
+
addonId: null,
|
|
39489
|
+
access: "view"
|
|
39490
|
+
},
|
|
39377
39491
|
"localNetwork.getNotificationEndpoint": {
|
|
39378
39492
|
capName: "local-network",
|
|
39379
39493
|
capScope: "system",
|
|
@@ -39428,6 +39542,12 @@ Object.freeze({
|
|
|
39428
39542
|
addonId: null,
|
|
39429
39543
|
access: "create"
|
|
39430
39544
|
},
|
|
39545
|
+
"localNetwork.setHubAddress": {
|
|
39546
|
+
capName: "local-network",
|
|
39547
|
+
capScope: "system",
|
|
39548
|
+
addonId: null,
|
|
39549
|
+
access: "create"
|
|
39550
|
+
},
|
|
39431
39551
|
"localNetwork.setNotificationEndpoint": {
|
|
39432
39552
|
capName: "local-network",
|
|
39433
39553
|
capScope: "system",
|
|
@@ -47827,6 +47947,8 @@ new Map(Object.entries({
|
|
|
47827
47947
|
"detection-blind": "device-events",
|
|
47828
47948
|
"node-online": "system",
|
|
47829
47949
|
"node-offline": "system",
|
|
47950
|
+
"node-restarting": "system",
|
|
47951
|
+
"node-updating": "system",
|
|
47830
47952
|
"node-inference-unavailable": "system",
|
|
47831
47953
|
"addon-crash-loop": "system",
|
|
47832
47954
|
"addon-update-available": "system",
|
|
@@ -47904,6 +48026,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
47904
48026
|
kinds: [
|
|
47905
48027
|
"node-offline",
|
|
47906
48028
|
"node-online",
|
|
48029
|
+
"node-restarting",
|
|
47907
48030
|
"node-inference-unavailable"
|
|
47908
48031
|
]
|
|
47909
48032
|
},
|
|
@@ -47925,6 +48048,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
47925
48048
|
label: "Server & container updates",
|
|
47926
48049
|
kinds: [
|
|
47927
48050
|
"server-update-available",
|
|
48051
|
+
"node-updating",
|
|
47928
48052
|
"server-updated",
|
|
47929
48053
|
"wrapper-update-available"
|
|
47930
48054
|
]
|
|
@@ -48072,6 +48196,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
48072
48196
|
kinds: [
|
|
48073
48197
|
"node-offline",
|
|
48074
48198
|
"node-online",
|
|
48199
|
+
"node-restarting",
|
|
48075
48200
|
"node-inference-unavailable"
|
|
48076
48201
|
]
|
|
48077
48202
|
},
|
|
@@ -48093,6 +48218,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
48093
48218
|
example: "server 1.2.377 → 1.2.378",
|
|
48094
48219
|
kinds: [
|
|
48095
48220
|
"server-update-available",
|
|
48221
|
+
"node-updating",
|
|
48096
48222
|
"server-updated",
|
|
48097
48223
|
"wrapper-update-available"
|
|
48098
48224
|
]
|
|
@@ -48125,7 +48251,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
48125
48251
|
{
|
|
48126
48252
|
name: "summarySection",
|
|
48127
48253
|
label: "Summary: this section",
|
|
48128
|
-
description: "The section a per-section summary row is about
|
|
48254
|
+
description: "The section a per-section summary row is about; on a summary sent as one message, every section it reports, comma-separated.",
|
|
48129
48255
|
example: "Batterie scariche",
|
|
48130
48256
|
group: "system",
|
|
48131
48257
|
families: ["rule"],
|
|
@@ -49553,13 +49679,12 @@ function buildGoogleOauthIntegration() {
|
|
|
49553
49679
|
* cross-process through `ctx.api` — unlike the `addons` core router, which a
|
|
49554
49680
|
* forked addon calling `ctx.api.addons.*` would wait on forever.
|
|
49555
49681
|
*
|
|
49556
|
-
* **Not**
|
|
49557
|
-
* question
|
|
49558
|
-
*
|
|
49559
|
-
*
|
|
49560
|
-
*
|
|
49561
|
-
*
|
|
49562
|
-
* can never be reached.
|
|
49682
|
+
* **Not** the hub's own address from `local-network` (`pickHubBaseUrl`). That
|
|
49683
|
+
* answers a different question — which address an agent or a browser on the
|
|
49684
|
+
* LAN reaches — and it is routinely a LAN address; the backend's
|
|
49685
|
+
* `publicHubUrl()` fallback is localhost in dev. Google calls from its own
|
|
49686
|
+
* cloud, so a LAN answer here is worse than no answer — it produces three
|
|
49687
|
+
* console URLs that look complete and can never be reached.
|
|
49563
49688
|
*
|
|
49564
49689
|
* ## Why this is a second copy of Alexa's mechanism
|
|
49565
49690
|
*
|
|
@@ -10674,57 +10674,15 @@ var ClipSearchStrictnessSchema = _enum([
|
|
|
10674
10674
|
"balanced",
|
|
10675
10675
|
"strict"
|
|
10676
10676
|
]);
|
|
10677
|
-
|
|
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
|
-
/**
|
|
10861
|
-
|
|
10862
|
-
|
|
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
|
|
10993
|
-
* its labels name
|
|
10994
|
-
*
|
|
10995
|
-
* labelmap by `
|
|
10996
|
-
*
|
|
10997
|
-
*
|
|
10998
|
-
* `
|
|
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
|
-
|
|
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
|
-
|
|
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(),
|
|
@@ -30850,6 +30930,27 @@ var ViewerEndpointsSchema = object({
|
|
|
30850
30930
|
/** What the ranking currently resolves to (may be empty if nothing is up). */
|
|
30851
30931
|
resolved: array(string()).readonly()
|
|
30852
30932
|
});
|
|
30933
|
+
/**
|
|
30934
|
+
* One audience's hub address (see `hub-address.ts`): the operator's stored
|
|
30935
|
+
* override, the address in use, and where it came from.
|
|
30936
|
+
*/
|
|
30937
|
+
var HubAddressSnapshotSchema = object({
|
|
30938
|
+
/** The operator's override, or null for automatic. */
|
|
30939
|
+
override: string().nullable(),
|
|
30940
|
+
/** The address in use, or null when nothing qualifies (never loopback). */
|
|
30941
|
+
resolved: string().nullable(),
|
|
30942
|
+
source: _enum([
|
|
30943
|
+
"override",
|
|
30944
|
+
"auto",
|
|
30945
|
+
"none"
|
|
30946
|
+
])
|
|
30947
|
+
});
|
|
30948
|
+
var HubAddressesSchema = object({
|
|
30949
|
+
/** "Hub address for agents" — agents' bundle/model pulls, LAN devices. */
|
|
30950
|
+
cluster: HubAddressSnapshotSchema,
|
|
30951
|
+
/** "Public address for sign-in links" — e-mail links, OIDC, WebAuthn, OAuth2. */
|
|
30952
|
+
browser: HubAddressSnapshotSchema
|
|
30953
|
+
});
|
|
30853
30954
|
var AllowedAddressesSchema = object({
|
|
30854
30955
|
/**
|
|
30855
30956
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -30896,7 +30997,13 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
30896
30997
|
* an address notification links can be flagged with, not a hub
|
|
30897
30998
|
* route. Default `false`: racers and rankers never see it. */
|
|
30898
30999
|
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(),
|
|
31000
|
+
}), 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(), HubAddressesSchema), method(object({
|
|
31001
|
+
audience: _enum(["cluster", "browser"]),
|
|
31002
|
+
baseUrl: string().nullable()
|
|
31003
|
+
}), HubAddressesSchema, {
|
|
31004
|
+
kind: "mutation",
|
|
31005
|
+
auth: "admin"
|
|
31006
|
+
}), 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
31007
|
kind: "mutation",
|
|
30901
31008
|
auth: "admin"
|
|
30902
31009
|
}), method(object({
|
|
@@ -31286,7 +31393,8 @@ object({
|
|
|
31286
31393
|
* writes this slice (not even a boot seed), and neither does the runner's
|
|
31287
31394
|
* phase machine: its phase is "a session is attached" for every on-motion
|
|
31288
31395
|
* session, not motion, and it now has its own `DetectionPhaseTransition`.
|
|
31289
|
-
* A provider's `isDetected`
|
|
31396
|
+
* A provider's `isDetected` and `getStatus` answer from the hub's slice
|
|
31397
|
+
* (`hubMotionNativeProvider`).
|
|
31290
31398
|
* - **Sensors** (Home Assistant binary sensors, Homematic, Matter, Alexa
|
|
31291
31399
|
* imports) — the provider pushes both edges itself, from the upstream
|
|
31292
31400
|
* system's own state change. That is the sensor's own fact.
|
|
@@ -39370,6 +39478,12 @@ Object.freeze({
|
|
|
39370
39478
|
addonId: null,
|
|
39371
39479
|
access: "view"
|
|
39372
39480
|
},
|
|
39481
|
+
"localNetwork.getHubAddresses": {
|
|
39482
|
+
capName: "local-network",
|
|
39483
|
+
capScope: "system",
|
|
39484
|
+
addonId: null,
|
|
39485
|
+
access: "view"
|
|
39486
|
+
},
|
|
39373
39487
|
"localNetwork.getNotificationEndpoint": {
|
|
39374
39488
|
capName: "local-network",
|
|
39375
39489
|
capScope: "system",
|
|
@@ -39424,6 +39538,12 @@ Object.freeze({
|
|
|
39424
39538
|
addonId: null,
|
|
39425
39539
|
access: "create"
|
|
39426
39540
|
},
|
|
39541
|
+
"localNetwork.setHubAddress": {
|
|
39542
|
+
capName: "local-network",
|
|
39543
|
+
capScope: "system",
|
|
39544
|
+
addonId: null,
|
|
39545
|
+
access: "create"
|
|
39546
|
+
},
|
|
39427
39547
|
"localNetwork.setNotificationEndpoint": {
|
|
39428
39548
|
capName: "local-network",
|
|
39429
39549
|
capScope: "system",
|
|
@@ -47823,6 +47943,8 @@ new Map(Object.entries({
|
|
|
47823
47943
|
"detection-blind": "device-events",
|
|
47824
47944
|
"node-online": "system",
|
|
47825
47945
|
"node-offline": "system",
|
|
47946
|
+
"node-restarting": "system",
|
|
47947
|
+
"node-updating": "system",
|
|
47826
47948
|
"node-inference-unavailable": "system",
|
|
47827
47949
|
"addon-crash-loop": "system",
|
|
47828
47950
|
"addon-update-available": "system",
|
|
@@ -47900,6 +48022,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
47900
48022
|
kinds: [
|
|
47901
48023
|
"node-offline",
|
|
47902
48024
|
"node-online",
|
|
48025
|
+
"node-restarting",
|
|
47903
48026
|
"node-inference-unavailable"
|
|
47904
48027
|
]
|
|
47905
48028
|
},
|
|
@@ -47921,6 +48044,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
47921
48044
|
label: "Server & container updates",
|
|
47922
48045
|
kinds: [
|
|
47923
48046
|
"server-update-available",
|
|
48047
|
+
"node-updating",
|
|
47924
48048
|
"server-updated",
|
|
47925
48049
|
"wrapper-update-available"
|
|
47926
48050
|
]
|
|
@@ -48068,6 +48192,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
48068
48192
|
kinds: [
|
|
48069
48193
|
"node-offline",
|
|
48070
48194
|
"node-online",
|
|
48195
|
+
"node-restarting",
|
|
48071
48196
|
"node-inference-unavailable"
|
|
48072
48197
|
]
|
|
48073
48198
|
},
|
|
@@ -48089,6 +48214,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
48089
48214
|
example: "server 1.2.377 → 1.2.378",
|
|
48090
48215
|
kinds: [
|
|
48091
48216
|
"server-update-available",
|
|
48217
|
+
"node-updating",
|
|
48092
48218
|
"server-updated",
|
|
48093
48219
|
"wrapper-update-available"
|
|
48094
48220
|
]
|
|
@@ -48121,7 +48247,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
48121
48247
|
{
|
|
48122
48248
|
name: "summarySection",
|
|
48123
48249
|
label: "Summary: this section",
|
|
48124
|
-
description: "The section a per-section summary row is about
|
|
48250
|
+
description: "The section a per-section summary row is about; on a summary sent as one message, every section it reports, comma-separated.",
|
|
48125
48251
|
example: "Batterie scariche",
|
|
48126
48252
|
group: "system",
|
|
48127
48253
|
families: ["rule"],
|
|
@@ -49549,13 +49675,12 @@ function buildGoogleOauthIntegration() {
|
|
|
49549
49675
|
* cross-process through `ctx.api` — unlike the `addons` core router, which a
|
|
49550
49676
|
* forked addon calling `ctx.api.addons.*` would wait on forever.
|
|
49551
49677
|
*
|
|
49552
|
-
* **Not**
|
|
49553
|
-
* question
|
|
49554
|
-
*
|
|
49555
|
-
*
|
|
49556
|
-
*
|
|
49557
|
-
*
|
|
49558
|
-
* can never be reached.
|
|
49678
|
+
* **Not** the hub's own address from `local-network` (`pickHubBaseUrl`). That
|
|
49679
|
+
* answers a different question — which address an agent or a browser on the
|
|
49680
|
+
* LAN reaches — and it is routinely a LAN address; the backend's
|
|
49681
|
+
* `publicHubUrl()` fallback is localhost in dev. Google calls from its own
|
|
49682
|
+
* cloud, so a LAN answer here is worse than no answer — it produces three
|
|
49683
|
+
* console URLs that look complete and can never be reached.
|
|
49559
49684
|
*
|
|
49560
49685
|
* ## Why this is a second copy of Alexa's mechanism
|
|
49561
49686
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-google",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.86",
|
|
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
|
|
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"
|