@camstack/addon-provider-unifi 0.2.118 → 0.2.120
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/addon.js +123 -77
- package/dist/addon.mjs +123 -77
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -10534,11 +10534,11 @@ var ModelVariantGroupSchema = object({
|
|
|
10534
10534
|
/** Quantization axis. Omit ⇒ the fp32 base build. */
|
|
10535
10535
|
precision: _enum(["fp32", "int8"]).optional(),
|
|
10536
10536
|
/**
|
|
10537
|
-
*
|
|
10538
|
-
*
|
|
10539
|
-
*
|
|
10537
|
+
* Training / latency-variant axis. Omit ⇒ the standard build. `test` marks
|
|
10538
|
+
* an alternate training of the same family (Scrypted `relu_test`); chip
|
|
10539
|
+
* label is "Test".
|
|
10540
10540
|
*/
|
|
10541
|
-
optimization: _enum(["standard", "
|
|
10541
|
+
optimization: _enum(["standard", "test"]).optional(),
|
|
10542
10542
|
/**
|
|
10543
10543
|
* Input-resolution axis (square input side, px). Omit ⇒ the family's native
|
|
10544
10544
|
* resolution (640 for yolo26). Reduced-input builds (320 / 256) are a big,
|
|
@@ -10561,9 +10561,10 @@ var ModelProviderIdSchema = _enum([
|
|
|
10561
10561
|
* are per upstream. A persisted custom-model row written when this field was a
|
|
10562
10562
|
* string still parses — the string is lifted into `{ weights }`.
|
|
10563
10563
|
*
|
|
10564
|
-
* Every licence surface (the
|
|
10565
|
-
*
|
|
10566
|
-
*
|
|
10564
|
+
* Every machine licence surface (`THIRD_PARTY_MODELS.md`, the Hugging Face
|
|
10565
|
+
* model table) is GENERATED from these records by
|
|
10566
|
+
* `scripts/gen-model-licenses.ts` (D661). Operator-facing docs live in
|
|
10567
|
+
* `camstack/docs` → `/docs/detection/models`.
|
|
10567
10568
|
*/
|
|
10568
10569
|
var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { weights: value } : value, object({
|
|
10569
10570
|
/** SPDX id of the WEIGHTS' terms, a `LicenseRef-*` for non-SPDX terms, or `UNKNOWN`. */
|
|
@@ -14194,7 +14195,7 @@ DeviceType.Camera;
|
|
|
14194
14195
|
* This matters here more than anywhere else in the repo, because every provider
|
|
14195
14196
|
* that knows a device's host knows its PASSWORD too: `{ host, port, username,
|
|
14196
14197
|
* password }` sit in one object on Hikvision, Amcrest, Reolink and ONVIF alike,
|
|
14197
|
-
* and `http://admin:hunter2@192.168.
|
|
14198
|
+
* and `http://admin:hunter2@192.168.60.139/` is a URL a browser accepts. The
|
|
14198
14199
|
* camera's own page will ask for its own login. That is correct, and pre-
|
|
14199
14200
|
* filling it is the operator's business, not ours.
|
|
14200
14201
|
*
|
|
@@ -17479,7 +17480,7 @@ method(object({
|
|
|
17479
17480
|
timeoutMs: 6e5
|
|
17480
17481
|
});
|
|
17481
17482
|
method(object({
|
|
17482
|
-
|
|
17483
|
+
targetNodeId: string(),
|
|
17483
17484
|
modelId: string(),
|
|
17484
17485
|
format: _enum(MODEL_FORMATS),
|
|
17485
17486
|
entry: ModelCatalogEntrySchema
|
|
@@ -19983,8 +19984,9 @@ var NcRuleSchema = NcRuleInputSchema.extend({
|
|
|
19983
19984
|
disabledTargetIds: array(string()).default([])
|
|
19984
19985
|
});
|
|
19985
19986
|
/**
|
|
19986
|
-
* The state-summary SECTIONS (D647 / D698): the D637 kind groups that
|
|
19987
|
-
* still-true state. `
|
|
19987
|
+
* The state-summary SECTIONS (D647 / D698 / D708): the D637 kind groups that
|
|
19988
|
+
* report a still-true state. `addons` is the crash-looped addons only and
|
|
19989
|
+
* `addon-updates` the addons that are behind (D708 split them). `backups-exports` and `alarm` are not sections — a completed
|
|
19988
19990
|
* job is not an open state, and the alarm stays instant.
|
|
19989
19991
|
*/
|
|
19990
19992
|
var NcStateSummarySectionIdSchema = _enum([
|
|
@@ -19996,6 +19998,7 @@ var NcStateSummarySectionIdSchema = _enum([
|
|
|
19996
19998
|
"detection-blind",
|
|
19997
19999
|
"nodes",
|
|
19998
20000
|
"addons",
|
|
20001
|
+
"addon-updates",
|
|
19999
20002
|
"updates"
|
|
20000
20003
|
]);
|
|
20001
20004
|
/** One section of a previewed state summary. `unavailable` = its state could not be read. */
|
|
@@ -20476,7 +20479,19 @@ var NcAlarmModeDelaysListSchema = array(object({
|
|
|
20476
20479
|
* When this mode may be armed. Absent / null = always allowed (same as a
|
|
20477
20480
|
* rule with no `schedule`). Evaluated with {@link isScheduleActive}.
|
|
20478
20481
|
*/
|
|
20479
|
-
schedule: NcScheduleSchema.optional()
|
|
20482
|
+
schedule: NcScheduleSchema.optional(),
|
|
20483
|
+
/**
|
|
20484
|
+
* D706: while this mode's ENTRY DELAY runs, do the alarm rules' own pushes go out (as an
|
|
20485
|
+
* intrusion naming the locations)? Absent = false — the entry-delay notification is the
|
|
20486
|
+
* only one, and the matches ride the triggered notification's mosaic (D705).
|
|
20487
|
+
*/
|
|
20488
|
+
notifyDuringEntryDelay: boolean().optional(),
|
|
20489
|
+
/**
|
|
20490
|
+
* D706: notify "watched again" when a sensor this arm bypassed closes and opens again.
|
|
20491
|
+
* Absent = false (logged, not sent). Even when true it is not sent when that same sensor
|
|
20492
|
+
* is the one that starts the entry delay — the entry-delay notification already names it.
|
|
20493
|
+
*/
|
|
20494
|
+
notifySensorRewatched: boolean().optional()
|
|
20480
20495
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
|
|
20481
20496
|
var NcAlarmModeDelaysEditListSchema = array(object({
|
|
20482
20497
|
mode: AlarmArmModeSchema,
|
|
@@ -20485,7 +20500,11 @@ var NcAlarmModeDelaysEditListSchema = array(object({
|
|
|
20485
20500
|
triggeredDurationSec: NcAlarmTriggeredSecSchema.nullable().optional(),
|
|
20486
20501
|
postTriggeredAction: NcAlarmPostTriggeredActionSchema.nullable().optional(),
|
|
20487
20502
|
/** Set a schedule, or `null` to clear (mode always allowed again). */
|
|
20488
|
-
schedule: NcScheduleSchema.nullable().optional()
|
|
20503
|
+
schedule: NcScheduleSchema.nullable().optional(),
|
|
20504
|
+
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20505
|
+
notifyDuringEntryDelay: boolean().nullable().optional(),
|
|
20506
|
+
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20507
|
+
notifySensorRewatched: boolean().nullable().optional()
|
|
20489
20508
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
|
|
20490
20509
|
/** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
|
|
20491
20510
|
var NcAlarmNonBlockingEditSchema = object({
|
|
@@ -21446,39 +21465,19 @@ Object.freeze(Object.fromEntries([{
|
|
|
21446
21465
|
label: "Face recognition model",
|
|
21447
21466
|
defaultModelId: "auraface-r100",
|
|
21448
21467
|
indexName: "the enrolled face gallery",
|
|
21449
|
-
options: [
|
|
21450
|
-
|
|
21451
|
-
|
|
21452
|
-
|
|
21453
|
-
},
|
|
21454
|
-
{
|
|
21455
|
-
id: "arcface-r100",
|
|
21456
|
-
label: "ArcFace (ResNet34)"
|
|
21457
|
-
},
|
|
21458
|
-
{
|
|
21459
|
-
id: "inception-resnet-v1",
|
|
21460
|
-
label: "Inception ResNet V1"
|
|
21461
|
-
}
|
|
21462
|
-
]
|
|
21468
|
+
options: [{
|
|
21469
|
+
id: "auraface-r100",
|
|
21470
|
+
label: "AuraFace R100"
|
|
21471
|
+
}]
|
|
21463
21472
|
}, {
|
|
21464
21473
|
stepId: "clip-embedding",
|
|
21465
21474
|
label: "Semantic search model",
|
|
21466
|
-
defaultModelId: "
|
|
21475
|
+
defaultModelId: "siglip2-b16-224",
|
|
21467
21476
|
indexName: "the object semantic-search index",
|
|
21468
|
-
options: [
|
|
21469
|
-
|
|
21470
|
-
|
|
21471
|
-
|
|
21472
|
-
},
|
|
21473
|
-
{
|
|
21474
|
-
id: "mobileclip-s2",
|
|
21475
|
-
label: "MobileCLIP S2"
|
|
21476
|
-
},
|
|
21477
|
-
{
|
|
21478
|
-
id: "siglip2-b16-224",
|
|
21479
|
-
label: "SigLIP2 B/16 (Apache-2.0)"
|
|
21480
|
-
}
|
|
21481
|
-
]
|
|
21477
|
+
options: [{
|
|
21478
|
+
id: "siglip2-b16-224",
|
|
21479
|
+
label: "SigLIP2 B/16 (Apache-2.0)"
|
|
21480
|
+
}]
|
|
21482
21481
|
}].map((s) => [s.stepId, s.defaultModelId])));
|
|
21483
21482
|
var CLUSTER_STEP_SETTING_FIELDS = [{
|
|
21484
21483
|
stepId: "face-embedding",
|
|
@@ -24366,6 +24365,22 @@ var MotionSourceEnum = _enum([
|
|
|
24366
24365
|
"device-activity"
|
|
24367
24366
|
]);
|
|
24368
24367
|
/**
|
|
24368
|
+
* What opened an on-motion detection SESSION: the motion source that passed the
|
|
24369
|
+
* camera's `motionSources` gate, and what raised it (the camera itself, or a
|
|
24370
|
+
* sensor the operator attached — D672). `sensorName` is the attached sensor's
|
|
24371
|
+
* device name as the orchestrator's camera-sensors resolution last read it;
|
|
24372
|
+
* absent when unknown or when the camera itself triggered.
|
|
24373
|
+
*
|
|
24374
|
+
* Carried on the session attach ONLY so the runner's `DetectionPhaseTransition`
|
|
24375
|
+
* can say what started the session (D672 rule 11, amended 2026-10-06). The
|
|
24376
|
+
* runner never decides anything on it.
|
|
24377
|
+
*/
|
|
24378
|
+
var SessionTriggerSchema = object({
|
|
24379
|
+
source: MotionSourceEnum,
|
|
24380
|
+
triggeredBy: MotionTriggeredBySchema,
|
|
24381
|
+
sensorName: string().optional()
|
|
24382
|
+
});
|
|
24383
|
+
/**
|
|
24369
24384
|
* List of motion sources active on a camera. Empty array is valid:
|
|
24370
24385
|
* "no source" — happens for battery cams without firmware motion when
|
|
24371
24386
|
* the operator hasn't opted into the SW analyzer (would hold the
|
|
@@ -24617,6 +24632,14 @@ var RunnerCameraConfigSchema = object({
|
|
|
24617
24632
|
*/
|
|
24618
24633
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
24619
24634
|
/**
|
|
24635
|
+
* What opened this attach, on a SESSION attach only (see
|
|
24636
|
+
* {@link SessionTriggerSchema}). OPTIONAL with no default: absent on a
|
|
24637
|
+
* standing attach, an occupancy burst, a re-dispatch with no motion event
|
|
24638
|
+
* behind it, and every attach from an orchestrator older than the field — the
|
|
24639
|
+
* runner then names no source on the phase event.
|
|
24640
|
+
*/
|
|
24641
|
+
sessionTrigger: SessionTriggerSchema.optional(),
|
|
24642
|
+
/**
|
|
24620
24643
|
* WHICH root detector runs for this camera. The detection counterpart of
|
|
24621
24644
|
* {@link motionSources}, same shape and same discipline: a per-camera list
|
|
24622
24645
|
* of sources the system understands, vendor-agnostic, owned here.
|
|
@@ -32022,7 +32045,7 @@ var LocalInterfaceSchema = object({
|
|
|
32022
32045
|
name: string(),
|
|
32023
32046
|
family: _enum(["IPv4", "IPv6"]),
|
|
32024
32047
|
address: string(),
|
|
32025
|
-
/** CIDR shorthand (e.g. `192.168.
|
|
32048
|
+
/** CIDR shorthand (e.g. `192.168.10.10/24`). Empty when OS doesn't expose. */
|
|
32026
32049
|
cidr: string(),
|
|
32027
32050
|
/** OS netmask. Stable across calls so the SDK can hash on it. */
|
|
32028
32051
|
netmask: string(),
|
|
@@ -32076,7 +32099,8 @@ var ConnectionEndpointSchema = object({
|
|
|
32076
32099
|
"lan-ipv4",
|
|
32077
32100
|
"lan-ipv6",
|
|
32078
32101
|
"public",
|
|
32079
|
-
"loopback"
|
|
32102
|
+
"loopback",
|
|
32103
|
+
"app-link"
|
|
32080
32104
|
]),
|
|
32081
32105
|
/**
|
|
32082
32106
|
* Originating-interface kind — `lan`/`wifi`/`docker`/`vpn`/`other`/
|
|
@@ -32145,15 +32169,27 @@ var GetConnectionEndpointsResultSchema = object({
|
|
|
32145
32169
|
localPort: AdvertisedLocalPortSchema
|
|
32146
32170
|
});
|
|
32147
32171
|
/**
|
|
32148
|
-
* The
|
|
32149
|
-
*
|
|
32150
|
-
*
|
|
32172
|
+
* The address flagged for notification links. `baseUrl: null` = AUTO, which
|
|
32173
|
+
* since D709 is the CamStack app link; `resolved` reports the effective value,
|
|
32174
|
+
* so the UI can show it either way.
|
|
32151
32175
|
*/
|
|
32152
32176
|
var NotificationEndpointSchema = object({
|
|
32153
32177
|
/** The operator's explicit choice, or null for AUTO. */
|
|
32154
32178
|
baseUrl: string().nullable(),
|
|
32155
|
-
/**
|
|
32156
|
-
|
|
32179
|
+
/**
|
|
32180
|
+
* The effective flagged address: the explicit choice, else (AUTO) the
|
|
32181
|
+
* CamStack app link `https://camstack.zentik.app` (D709). A pre-D709 hub
|
|
32182
|
+
* answered the public tunnel / mesh here, or null.
|
|
32183
|
+
*/
|
|
32184
|
+
resolved: string().nullable(),
|
|
32185
|
+
/**
|
|
32186
|
+
* The hub origin an app link carries as `hub=` (D709): the hub's best
|
|
32187
|
+
* public HTTPS address — the tunnel, then the mesh (Tailscale MagicDNS) —
|
|
32188
|
+
* picked from this cap's own palette by `pickAppLinkHub`. `null` when the
|
|
32189
|
+
* hub advertises neither; the app link is then minted without `hub=`.
|
|
32190
|
+
* Absent on a pre-D709 hub.
|
|
32191
|
+
*/
|
|
32192
|
+
appLinkHub: string().nullable()
|
|
32157
32193
|
});
|
|
32158
32194
|
/**
|
|
32159
32195
|
* The URLs the SDK / viewer should race for API access. `baseUrls` empty =
|
|
@@ -32207,7 +32243,11 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
32207
32243
|
* Pass `'https'` when the caller is itself loaded over HTTPS
|
|
32208
32244
|
* to avoid mixed-content blocks in the browser. The public
|
|
32209
32245
|
* tunnel always emits `https://` regardless. */
|
|
32210
|
-
scheme: _enum(["http", "https"]).optional()
|
|
32246
|
+
scheme: _enum(["http", "https"]).optional(),
|
|
32247
|
+
/** Append the CamStack app link entry (`kind: 'app-link'`, D709) —
|
|
32248
|
+
* an address notification links can be flagged with, not a hub
|
|
32249
|
+
* route. Default `false`: racers and rankers never see it. */
|
|
32250
|
+
includeAppLink: boolean().optional()
|
|
32211
32251
|
}), 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, {
|
|
32212
32252
|
kind: "mutation",
|
|
32213
32253
|
auth: "admin"
|
|
@@ -32536,7 +32576,7 @@ var MeshPeerSchema = object({
|
|
|
32536
32576
|
tags: array(string()).readonly(),
|
|
32537
32577
|
/** True when the peer advertises itself as an exit-node candidate. */
|
|
32538
32578
|
exitNodeOption: boolean(),
|
|
32539
|
-
/** Subnet routes the peer advertises (e.g. `["192.168.
|
|
32579
|
+
/** Subnet routes the peer advertises (e.g. `["192.168.10.0/24"]`). */
|
|
32540
32580
|
advertisedRoutes: array(string()).readonly(),
|
|
32541
32581
|
/** Owner account login (e.g. `foo@example.com`). Null for tagged peers. */
|
|
32542
32582
|
userLogin: string().nullable(),
|
|
@@ -33864,7 +33904,13 @@ var OsdStatusSchema = object({ overlays: array(object({
|
|
|
33864
33904
|
*/
|
|
33865
33905
|
availablePositions: array(OsdPositionEnum).readonly(),
|
|
33866
33906
|
/** Firmware does not allow editing the `text` field (e.g. timestamp). */
|
|
33867
|
-
readOnly: boolean().optional()
|
|
33907
|
+
readOnly: boolean().optional(),
|
|
33908
|
+
/**
|
|
33909
|
+
* Firmware text ceiling for this overlay. Absent = no known limit.
|
|
33910
|
+
* The OSD manager truncates here on every write — never stores its own
|
|
33911
|
+
* copy on the binding.
|
|
33912
|
+
*/
|
|
33913
|
+
maxCharacters: number().int().positive().optional()
|
|
33868
33914
|
})).readonly() });
|
|
33869
33915
|
var OsdOverlayPatchSchema = object({
|
|
33870
33916
|
enabled: boolean().optional(),
|
|
@@ -33915,7 +33961,9 @@ var OsdTemplateBindingSchema = object({
|
|
|
33915
33961
|
valuePath: string().min(1).max(64),
|
|
33916
33962
|
/** Convert TO this unit at render (`tryConvertUnit`). Absent = source unit. */
|
|
33917
33963
|
displayUnit: string().max(16).optional(),
|
|
33918
|
-
maxDecimals: number().int().min(0).max(4).default(1)
|
|
33964
|
+
maxDecimals: number().int().min(0).max(4).default(1),
|
|
33965
|
+
/** Raw value → display text (same shape as slot binding). Empty string hides. */
|
|
33966
|
+
valueMap: record(string(), string()).optional()
|
|
33919
33967
|
});
|
|
33920
33968
|
/**
|
|
33921
33969
|
* A named template: bindings (alias → leaf field) + a parser that
|
|
@@ -33965,18 +34013,11 @@ var OsdSlotBindingSchema = object({
|
|
|
33965
34013
|
source: OsdSourceSchema,
|
|
33966
34014
|
/** `${value}` and `${unit}` are substituted; every occurrence. */
|
|
33967
34015
|
template: string().max(96).default("${value}"),
|
|
33968
|
-
/** Truncate with an ellipsis past this length. Absent = no limit. */
|
|
33969
|
-
maxCharacters: number().int().min(4).max(64).optional(),
|
|
33970
34016
|
/**
|
|
33971
34017
|
* Decimal places for a numeric value. `0` yields an integer — the
|
|
33972
34018
|
* documented workaround for firmwares that reject `.` in overlay text.
|
|
33973
34019
|
*/
|
|
33974
34020
|
maxDecimals: number().int().min(0).max(4).default(1),
|
|
33975
|
-
/**
|
|
33976
|
-
* Appended via `${unit}` when no unit conversion produces a label.
|
|
33977
|
-
* Prefer `source.displayUnit` for converted device-state values.
|
|
33978
|
-
*/
|
|
33979
|
-
unitLabel: string().max(8).optional(),
|
|
33980
34021
|
/** Raw value → display text, e.g. `{"true":"MOTION","false":""}`. */
|
|
33981
34022
|
valueMap: record(string(), string()).optional(),
|
|
33982
34023
|
/** Time windows in which the slot is shown. Absent = always. */
|
|
@@ -33985,9 +34026,7 @@ var OsdSlotBindingSchema = object({
|
|
|
33985
34026
|
* Display gate, in the notification centre's condition vocabulary.
|
|
33986
34027
|
* Only the keys reported by `getConditionSupport` are accepted.
|
|
33987
34028
|
*/
|
|
33988
|
-
conditions: NcConditionsSchema.optional()
|
|
33989
|
-
/** Rendered when the gate is closed or the value unreadable. Empty = hide. */
|
|
33990
|
-
fallbackText: string().max(64).default("")
|
|
34029
|
+
conditions: NcConditionsSchema.optional()
|
|
33991
34030
|
});
|
|
33992
34031
|
/** One camera slot, as the operator sees it: firmware truth + our binding. */
|
|
33993
34032
|
var OsdSlotViewSchema = object({
|
|
@@ -52220,12 +52259,14 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
52220
52259
|
{
|
|
52221
52260
|
id: "addons",
|
|
52222
52261
|
family: "system",
|
|
52223
|
-
label: "Addons",
|
|
52224
|
-
kinds: [
|
|
52225
|
-
|
|
52226
|
-
|
|
52227
|
-
|
|
52228
|
-
|
|
52262
|
+
label: "Addons stopped",
|
|
52263
|
+
kinds: ["addon-crash-loop"]
|
|
52264
|
+
},
|
|
52265
|
+
{
|
|
52266
|
+
id: "addon-updates",
|
|
52267
|
+
family: "system",
|
|
52268
|
+
label: "Addon updates",
|
|
52269
|
+
kinds: ["addon-update-available", "addon-updated"]
|
|
52229
52270
|
},
|
|
52230
52271
|
{
|
|
52231
52272
|
id: "updates",
|
|
@@ -52385,13 +52426,15 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
52385
52426
|
},
|
|
52386
52427
|
{
|
|
52387
52428
|
name: "summaryAddons",
|
|
52388
|
-
label: "Summary: addons",
|
|
52389
|
-
example: "
|
|
52390
|
-
kinds: [
|
|
52391
|
-
|
|
52392
|
-
|
|
52393
|
-
|
|
52394
|
-
|
|
52429
|
+
label: "Summary: addons stopped",
|
|
52430
|
+
example: "hub — recorder stopped after repeated crashes",
|
|
52431
|
+
kinds: ["addon-crash-loop"]
|
|
52432
|
+
},
|
|
52433
|
+
{
|
|
52434
|
+
name: "summaryAddonUpdates",
|
|
52435
|
+
label: "Summary: addon updates",
|
|
52436
|
+
example: "hub:\n• @camstack/addon-recorder 1.2.3 → 1.2.4",
|
|
52437
|
+
kinds: ["addon-update-available", "addon-updated"]
|
|
52395
52438
|
},
|
|
52396
52439
|
{
|
|
52397
52440
|
name: "summaryUpdates",
|
|
@@ -52475,6 +52518,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
52475
52518
|
[...RULE_BODY_ONLY],
|
|
52476
52519
|
[...RULE_TEXT],
|
|
52477
52520
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
52521
|
+
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
52478
52522
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
52479
52523
|
([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
|
|
52480
52524
|
([...RULE_TEXT], [...CONSUMABLE]),
|
|
@@ -52515,6 +52559,8 @@ var STATE_SUMMARY_VARS = [
|
|
|
52515
52559
|
[...RULE_TEXT],
|
|
52516
52560
|
[...RULE_TEXT],
|
|
52517
52561
|
[...RULE_TEXT],
|
|
52562
|
+
[...RULE_TEXT],
|
|
52563
|
+
[...RULE_TEXT],
|
|
52518
52564
|
...STATE_SUMMARY_VARS
|
|
52519
52565
|
];
|
|
52520
52566
|
new Set([
|
|
@@ -53197,7 +53243,7 @@ function buildControllerFormSchema() {
|
|
|
53197
53243
|
key: "host",
|
|
53198
53244
|
label: "Controller host / IP",
|
|
53199
53245
|
required: true,
|
|
53200
|
-
placeholder: "192.168.
|
|
53246
|
+
placeholder: "192.168.10.1"
|
|
53201
53247
|
},
|
|
53202
53248
|
{
|
|
53203
53249
|
type: "number",
|
package/dist/addon.mjs
CHANGED
|
@@ -10533,11 +10533,11 @@ var ModelVariantGroupSchema = object({
|
|
|
10533
10533
|
/** Quantization axis. Omit ⇒ the fp32 base build. */
|
|
10534
10534
|
precision: _enum(["fp32", "int8"]).optional(),
|
|
10535
10535
|
/**
|
|
10536
|
-
*
|
|
10537
|
-
*
|
|
10538
|
-
*
|
|
10536
|
+
* Training / latency-variant axis. Omit ⇒ the standard build. `test` marks
|
|
10537
|
+
* an alternate training of the same family (Scrypted `relu_test`); chip
|
|
10538
|
+
* label is "Test".
|
|
10539
10539
|
*/
|
|
10540
|
-
optimization: _enum(["standard", "
|
|
10540
|
+
optimization: _enum(["standard", "test"]).optional(),
|
|
10541
10541
|
/**
|
|
10542
10542
|
* Input-resolution axis (square input side, px). Omit ⇒ the family's native
|
|
10543
10543
|
* resolution (640 for yolo26). Reduced-input builds (320 / 256) are a big,
|
|
@@ -10560,9 +10560,10 @@ var ModelProviderIdSchema = _enum([
|
|
|
10560
10560
|
* are per upstream. A persisted custom-model row written when this field was a
|
|
10561
10561
|
* string still parses — the string is lifted into `{ weights }`.
|
|
10562
10562
|
*
|
|
10563
|
-
* Every licence surface (the
|
|
10564
|
-
*
|
|
10565
|
-
*
|
|
10563
|
+
* Every machine licence surface (`THIRD_PARTY_MODELS.md`, the Hugging Face
|
|
10564
|
+
* model table) is GENERATED from these records by
|
|
10565
|
+
* `scripts/gen-model-licenses.ts` (D661). Operator-facing docs live in
|
|
10566
|
+
* `camstack/docs` → `/docs/detection/models`.
|
|
10566
10567
|
*/
|
|
10567
10568
|
var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { weights: value } : value, object({
|
|
10568
10569
|
/** SPDX id of the WEIGHTS' terms, a `LicenseRef-*` for non-SPDX terms, or `UNKNOWN`. */
|
|
@@ -14193,7 +14194,7 @@ DeviceType.Camera;
|
|
|
14193
14194
|
* This matters here more than anywhere else in the repo, because every provider
|
|
14194
14195
|
* that knows a device's host knows its PASSWORD too: `{ host, port, username,
|
|
14195
14196
|
* password }` sit in one object on Hikvision, Amcrest, Reolink and ONVIF alike,
|
|
14196
|
-
* and `http://admin:hunter2@192.168.
|
|
14197
|
+
* and `http://admin:hunter2@192.168.60.139/` is a URL a browser accepts. The
|
|
14197
14198
|
* camera's own page will ask for its own login. That is correct, and pre-
|
|
14198
14199
|
* filling it is the operator's business, not ours.
|
|
14199
14200
|
*
|
|
@@ -17478,7 +17479,7 @@ method(object({
|
|
|
17478
17479
|
timeoutMs: 6e5
|
|
17479
17480
|
});
|
|
17480
17481
|
method(object({
|
|
17481
|
-
|
|
17482
|
+
targetNodeId: string(),
|
|
17482
17483
|
modelId: string(),
|
|
17483
17484
|
format: _enum(MODEL_FORMATS),
|
|
17484
17485
|
entry: ModelCatalogEntrySchema
|
|
@@ -19982,8 +19983,9 @@ var NcRuleSchema = NcRuleInputSchema.extend({
|
|
|
19982
19983
|
disabledTargetIds: array(string()).default([])
|
|
19983
19984
|
});
|
|
19984
19985
|
/**
|
|
19985
|
-
* The state-summary SECTIONS (D647 / D698): the D637 kind groups that
|
|
19986
|
-
* still-true state. `
|
|
19986
|
+
* The state-summary SECTIONS (D647 / D698 / D708): the D637 kind groups that
|
|
19987
|
+
* report a still-true state. `addons` is the crash-looped addons only and
|
|
19988
|
+
* `addon-updates` the addons that are behind (D708 split them). `backups-exports` and `alarm` are not sections — a completed
|
|
19987
19989
|
* job is not an open state, and the alarm stays instant.
|
|
19988
19990
|
*/
|
|
19989
19991
|
var NcStateSummarySectionIdSchema = _enum([
|
|
@@ -19995,6 +19997,7 @@ var NcStateSummarySectionIdSchema = _enum([
|
|
|
19995
19997
|
"detection-blind",
|
|
19996
19998
|
"nodes",
|
|
19997
19999
|
"addons",
|
|
20000
|
+
"addon-updates",
|
|
19998
20001
|
"updates"
|
|
19999
20002
|
]);
|
|
20000
20003
|
/** One section of a previewed state summary. `unavailable` = its state could not be read. */
|
|
@@ -20475,7 +20478,19 @@ var NcAlarmModeDelaysListSchema = array(object({
|
|
|
20475
20478
|
* When this mode may be armed. Absent / null = always allowed (same as a
|
|
20476
20479
|
* rule with no `schedule`). Evaluated with {@link isScheduleActive}.
|
|
20477
20480
|
*/
|
|
20478
|
-
schedule: NcScheduleSchema.optional()
|
|
20481
|
+
schedule: NcScheduleSchema.optional(),
|
|
20482
|
+
/**
|
|
20483
|
+
* D706: while this mode's ENTRY DELAY runs, do the alarm rules' own pushes go out (as an
|
|
20484
|
+
* intrusion naming the locations)? Absent = false — the entry-delay notification is the
|
|
20485
|
+
* only one, and the matches ride the triggered notification's mosaic (D705).
|
|
20486
|
+
*/
|
|
20487
|
+
notifyDuringEntryDelay: boolean().optional(),
|
|
20488
|
+
/**
|
|
20489
|
+
* D706: notify "watched again" when a sensor this arm bypassed closes and opens again.
|
|
20490
|
+
* Absent = false (logged, not sent). Even when true it is not sent when that same sensor
|
|
20491
|
+
* is the one that starts the entry delay — the entry-delay notification already names it.
|
|
20492
|
+
*/
|
|
20493
|
+
notifySensorRewatched: boolean().optional()
|
|
20479
20494
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
|
|
20480
20495
|
var NcAlarmModeDelaysEditListSchema = array(object({
|
|
20481
20496
|
mode: AlarmArmModeSchema,
|
|
@@ -20484,7 +20499,11 @@ var NcAlarmModeDelaysEditListSchema = array(object({
|
|
|
20484
20499
|
triggeredDurationSec: NcAlarmTriggeredSecSchema.nullable().optional(),
|
|
20485
20500
|
postTriggeredAction: NcAlarmPostTriggeredActionSchema.nullable().optional(),
|
|
20486
20501
|
/** Set a schedule, or `null` to clear (mode always allowed again). */
|
|
20487
|
-
schedule: NcScheduleSchema.nullable().optional()
|
|
20502
|
+
schedule: NcScheduleSchema.nullable().optional(),
|
|
20503
|
+
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20504
|
+
notifyDuringEntryDelay: boolean().nullable().optional(),
|
|
20505
|
+
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20506
|
+
notifySensorRewatched: boolean().nullable().optional()
|
|
20488
20507
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
|
|
20489
20508
|
/** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
|
|
20490
20509
|
var NcAlarmNonBlockingEditSchema = object({
|
|
@@ -21445,39 +21464,19 @@ Object.freeze(Object.fromEntries([{
|
|
|
21445
21464
|
label: "Face recognition model",
|
|
21446
21465
|
defaultModelId: "auraface-r100",
|
|
21447
21466
|
indexName: "the enrolled face gallery",
|
|
21448
|
-
options: [
|
|
21449
|
-
|
|
21450
|
-
|
|
21451
|
-
|
|
21452
|
-
},
|
|
21453
|
-
{
|
|
21454
|
-
id: "arcface-r100",
|
|
21455
|
-
label: "ArcFace (ResNet34)"
|
|
21456
|
-
},
|
|
21457
|
-
{
|
|
21458
|
-
id: "inception-resnet-v1",
|
|
21459
|
-
label: "Inception ResNet V1"
|
|
21460
|
-
}
|
|
21461
|
-
]
|
|
21467
|
+
options: [{
|
|
21468
|
+
id: "auraface-r100",
|
|
21469
|
+
label: "AuraFace R100"
|
|
21470
|
+
}]
|
|
21462
21471
|
}, {
|
|
21463
21472
|
stepId: "clip-embedding",
|
|
21464
21473
|
label: "Semantic search model",
|
|
21465
|
-
defaultModelId: "
|
|
21474
|
+
defaultModelId: "siglip2-b16-224",
|
|
21466
21475
|
indexName: "the object semantic-search index",
|
|
21467
|
-
options: [
|
|
21468
|
-
|
|
21469
|
-
|
|
21470
|
-
|
|
21471
|
-
},
|
|
21472
|
-
{
|
|
21473
|
-
id: "mobileclip-s2",
|
|
21474
|
-
label: "MobileCLIP S2"
|
|
21475
|
-
},
|
|
21476
|
-
{
|
|
21477
|
-
id: "siglip2-b16-224",
|
|
21478
|
-
label: "SigLIP2 B/16 (Apache-2.0)"
|
|
21479
|
-
}
|
|
21480
|
-
]
|
|
21476
|
+
options: [{
|
|
21477
|
+
id: "siglip2-b16-224",
|
|
21478
|
+
label: "SigLIP2 B/16 (Apache-2.0)"
|
|
21479
|
+
}]
|
|
21481
21480
|
}].map((s) => [s.stepId, s.defaultModelId])));
|
|
21482
21481
|
var CLUSTER_STEP_SETTING_FIELDS = [{
|
|
21483
21482
|
stepId: "face-embedding",
|
|
@@ -24365,6 +24364,22 @@ var MotionSourceEnum = _enum([
|
|
|
24365
24364
|
"device-activity"
|
|
24366
24365
|
]);
|
|
24367
24366
|
/**
|
|
24367
|
+
* What opened an on-motion detection SESSION: the motion source that passed the
|
|
24368
|
+
* camera's `motionSources` gate, and what raised it (the camera itself, or a
|
|
24369
|
+
* sensor the operator attached — D672). `sensorName` is the attached sensor's
|
|
24370
|
+
* device name as the orchestrator's camera-sensors resolution last read it;
|
|
24371
|
+
* absent when unknown or when the camera itself triggered.
|
|
24372
|
+
*
|
|
24373
|
+
* Carried on the session attach ONLY so the runner's `DetectionPhaseTransition`
|
|
24374
|
+
* can say what started the session (D672 rule 11, amended 2026-10-06). The
|
|
24375
|
+
* runner never decides anything on it.
|
|
24376
|
+
*/
|
|
24377
|
+
var SessionTriggerSchema = object({
|
|
24378
|
+
source: MotionSourceEnum,
|
|
24379
|
+
triggeredBy: MotionTriggeredBySchema,
|
|
24380
|
+
sensorName: string().optional()
|
|
24381
|
+
});
|
|
24382
|
+
/**
|
|
24368
24383
|
* List of motion sources active on a camera. Empty array is valid:
|
|
24369
24384
|
* "no source" — happens for battery cams without firmware motion when
|
|
24370
24385
|
* the operator hasn't opted into the SW analyzer (would hold the
|
|
@@ -24616,6 +24631,14 @@ var RunnerCameraConfigSchema = object({
|
|
|
24616
24631
|
*/
|
|
24617
24632
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
24618
24633
|
/**
|
|
24634
|
+
* What opened this attach, on a SESSION attach only (see
|
|
24635
|
+
* {@link SessionTriggerSchema}). OPTIONAL with no default: absent on a
|
|
24636
|
+
* standing attach, an occupancy burst, a re-dispatch with no motion event
|
|
24637
|
+
* behind it, and every attach from an orchestrator older than the field — the
|
|
24638
|
+
* runner then names no source on the phase event.
|
|
24639
|
+
*/
|
|
24640
|
+
sessionTrigger: SessionTriggerSchema.optional(),
|
|
24641
|
+
/**
|
|
24619
24642
|
* WHICH root detector runs for this camera. The detection counterpart of
|
|
24620
24643
|
* {@link motionSources}, same shape and same discipline: a per-camera list
|
|
24621
24644
|
* of sources the system understands, vendor-agnostic, owned here.
|
|
@@ -32021,7 +32044,7 @@ var LocalInterfaceSchema = object({
|
|
|
32021
32044
|
name: string(),
|
|
32022
32045
|
family: _enum(["IPv4", "IPv6"]),
|
|
32023
32046
|
address: string(),
|
|
32024
|
-
/** CIDR shorthand (e.g. `192.168.
|
|
32047
|
+
/** CIDR shorthand (e.g. `192.168.10.10/24`). Empty when OS doesn't expose. */
|
|
32025
32048
|
cidr: string(),
|
|
32026
32049
|
/** OS netmask. Stable across calls so the SDK can hash on it. */
|
|
32027
32050
|
netmask: string(),
|
|
@@ -32075,7 +32098,8 @@ var ConnectionEndpointSchema = object({
|
|
|
32075
32098
|
"lan-ipv4",
|
|
32076
32099
|
"lan-ipv6",
|
|
32077
32100
|
"public",
|
|
32078
|
-
"loopback"
|
|
32101
|
+
"loopback",
|
|
32102
|
+
"app-link"
|
|
32079
32103
|
]),
|
|
32080
32104
|
/**
|
|
32081
32105
|
* Originating-interface kind — `lan`/`wifi`/`docker`/`vpn`/`other`/
|
|
@@ -32144,15 +32168,27 @@ var GetConnectionEndpointsResultSchema = object({
|
|
|
32144
32168
|
localPort: AdvertisedLocalPortSchema
|
|
32145
32169
|
});
|
|
32146
32170
|
/**
|
|
32147
|
-
* The
|
|
32148
|
-
*
|
|
32149
|
-
*
|
|
32171
|
+
* The address flagged for notification links. `baseUrl: null` = AUTO, which
|
|
32172
|
+
* since D709 is the CamStack app link; `resolved` reports the effective value,
|
|
32173
|
+
* so the UI can show it either way.
|
|
32150
32174
|
*/
|
|
32151
32175
|
var NotificationEndpointSchema = object({
|
|
32152
32176
|
/** The operator's explicit choice, or null for AUTO. */
|
|
32153
32177
|
baseUrl: string().nullable(),
|
|
32154
|
-
/**
|
|
32155
|
-
|
|
32178
|
+
/**
|
|
32179
|
+
* The effective flagged address: the explicit choice, else (AUTO) the
|
|
32180
|
+
* CamStack app link `https://camstack.zentik.app` (D709). A pre-D709 hub
|
|
32181
|
+
* answered the public tunnel / mesh here, or null.
|
|
32182
|
+
*/
|
|
32183
|
+
resolved: string().nullable(),
|
|
32184
|
+
/**
|
|
32185
|
+
* The hub origin an app link carries as `hub=` (D709): the hub's best
|
|
32186
|
+
* public HTTPS address — the tunnel, then the mesh (Tailscale MagicDNS) —
|
|
32187
|
+
* picked from this cap's own palette by `pickAppLinkHub`. `null` when the
|
|
32188
|
+
* hub advertises neither; the app link is then minted without `hub=`.
|
|
32189
|
+
* Absent on a pre-D709 hub.
|
|
32190
|
+
*/
|
|
32191
|
+
appLinkHub: string().nullable()
|
|
32156
32192
|
});
|
|
32157
32193
|
/**
|
|
32158
32194
|
* The URLs the SDK / viewer should race for API access. `baseUrls` empty =
|
|
@@ -32206,7 +32242,11 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
32206
32242
|
* Pass `'https'` when the caller is itself loaded over HTTPS
|
|
32207
32243
|
* to avoid mixed-content blocks in the browser. The public
|
|
32208
32244
|
* tunnel always emits `https://` regardless. */
|
|
32209
|
-
scheme: _enum(["http", "https"]).optional()
|
|
32245
|
+
scheme: _enum(["http", "https"]).optional(),
|
|
32246
|
+
/** Append the CamStack app link entry (`kind: 'app-link'`, D709) —
|
|
32247
|
+
* an address notification links can be flagged with, not a hub
|
|
32248
|
+
* route. Default `false`: racers and rankers never see it. */
|
|
32249
|
+
includeAppLink: boolean().optional()
|
|
32210
32250
|
}), 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, {
|
|
32211
32251
|
kind: "mutation",
|
|
32212
32252
|
auth: "admin"
|
|
@@ -32535,7 +32575,7 @@ var MeshPeerSchema = object({
|
|
|
32535
32575
|
tags: array(string()).readonly(),
|
|
32536
32576
|
/** True when the peer advertises itself as an exit-node candidate. */
|
|
32537
32577
|
exitNodeOption: boolean(),
|
|
32538
|
-
/** Subnet routes the peer advertises (e.g. `["192.168.
|
|
32578
|
+
/** Subnet routes the peer advertises (e.g. `["192.168.10.0/24"]`). */
|
|
32539
32579
|
advertisedRoutes: array(string()).readonly(),
|
|
32540
32580
|
/** Owner account login (e.g. `foo@example.com`). Null for tagged peers. */
|
|
32541
32581
|
userLogin: string().nullable(),
|
|
@@ -33863,7 +33903,13 @@ var OsdStatusSchema = object({ overlays: array(object({
|
|
|
33863
33903
|
*/
|
|
33864
33904
|
availablePositions: array(OsdPositionEnum).readonly(),
|
|
33865
33905
|
/** Firmware does not allow editing the `text` field (e.g. timestamp). */
|
|
33866
|
-
readOnly: boolean().optional()
|
|
33906
|
+
readOnly: boolean().optional(),
|
|
33907
|
+
/**
|
|
33908
|
+
* Firmware text ceiling for this overlay. Absent = no known limit.
|
|
33909
|
+
* The OSD manager truncates here on every write — never stores its own
|
|
33910
|
+
* copy on the binding.
|
|
33911
|
+
*/
|
|
33912
|
+
maxCharacters: number().int().positive().optional()
|
|
33867
33913
|
})).readonly() });
|
|
33868
33914
|
var OsdOverlayPatchSchema = object({
|
|
33869
33915
|
enabled: boolean().optional(),
|
|
@@ -33914,7 +33960,9 @@ var OsdTemplateBindingSchema = object({
|
|
|
33914
33960
|
valuePath: string().min(1).max(64),
|
|
33915
33961
|
/** Convert TO this unit at render (`tryConvertUnit`). Absent = source unit. */
|
|
33916
33962
|
displayUnit: string().max(16).optional(),
|
|
33917
|
-
maxDecimals: number().int().min(0).max(4).default(1)
|
|
33963
|
+
maxDecimals: number().int().min(0).max(4).default(1),
|
|
33964
|
+
/** Raw value → display text (same shape as slot binding). Empty string hides. */
|
|
33965
|
+
valueMap: record(string(), string()).optional()
|
|
33918
33966
|
});
|
|
33919
33967
|
/**
|
|
33920
33968
|
* A named template: bindings (alias → leaf field) + a parser that
|
|
@@ -33964,18 +34012,11 @@ var OsdSlotBindingSchema = object({
|
|
|
33964
34012
|
source: OsdSourceSchema,
|
|
33965
34013
|
/** `${value}` and `${unit}` are substituted; every occurrence. */
|
|
33966
34014
|
template: string().max(96).default("${value}"),
|
|
33967
|
-
/** Truncate with an ellipsis past this length. Absent = no limit. */
|
|
33968
|
-
maxCharacters: number().int().min(4).max(64).optional(),
|
|
33969
34015
|
/**
|
|
33970
34016
|
* Decimal places for a numeric value. `0` yields an integer — the
|
|
33971
34017
|
* documented workaround for firmwares that reject `.` in overlay text.
|
|
33972
34018
|
*/
|
|
33973
34019
|
maxDecimals: number().int().min(0).max(4).default(1),
|
|
33974
|
-
/**
|
|
33975
|
-
* Appended via `${unit}` when no unit conversion produces a label.
|
|
33976
|
-
* Prefer `source.displayUnit` for converted device-state values.
|
|
33977
|
-
*/
|
|
33978
|
-
unitLabel: string().max(8).optional(),
|
|
33979
34020
|
/** Raw value → display text, e.g. `{"true":"MOTION","false":""}`. */
|
|
33980
34021
|
valueMap: record(string(), string()).optional(),
|
|
33981
34022
|
/** Time windows in which the slot is shown. Absent = always. */
|
|
@@ -33984,9 +34025,7 @@ var OsdSlotBindingSchema = object({
|
|
|
33984
34025
|
* Display gate, in the notification centre's condition vocabulary.
|
|
33985
34026
|
* Only the keys reported by `getConditionSupport` are accepted.
|
|
33986
34027
|
*/
|
|
33987
|
-
conditions: NcConditionsSchema.optional()
|
|
33988
|
-
/** Rendered when the gate is closed or the value unreadable. Empty = hide. */
|
|
33989
|
-
fallbackText: string().max(64).default("")
|
|
34028
|
+
conditions: NcConditionsSchema.optional()
|
|
33990
34029
|
});
|
|
33991
34030
|
/** One camera slot, as the operator sees it: firmware truth + our binding. */
|
|
33992
34031
|
var OsdSlotViewSchema = object({
|
|
@@ -52219,12 +52258,14 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
52219
52258
|
{
|
|
52220
52259
|
id: "addons",
|
|
52221
52260
|
family: "system",
|
|
52222
|
-
label: "Addons",
|
|
52223
|
-
kinds: [
|
|
52224
|
-
|
|
52225
|
-
|
|
52226
|
-
|
|
52227
|
-
|
|
52261
|
+
label: "Addons stopped",
|
|
52262
|
+
kinds: ["addon-crash-loop"]
|
|
52263
|
+
},
|
|
52264
|
+
{
|
|
52265
|
+
id: "addon-updates",
|
|
52266
|
+
family: "system",
|
|
52267
|
+
label: "Addon updates",
|
|
52268
|
+
kinds: ["addon-update-available", "addon-updated"]
|
|
52228
52269
|
},
|
|
52229
52270
|
{
|
|
52230
52271
|
id: "updates",
|
|
@@ -52384,13 +52425,15 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
52384
52425
|
},
|
|
52385
52426
|
{
|
|
52386
52427
|
name: "summaryAddons",
|
|
52387
|
-
label: "Summary: addons",
|
|
52388
|
-
example: "
|
|
52389
|
-
kinds: [
|
|
52390
|
-
|
|
52391
|
-
|
|
52392
|
-
|
|
52393
|
-
|
|
52428
|
+
label: "Summary: addons stopped",
|
|
52429
|
+
example: "hub — recorder stopped after repeated crashes",
|
|
52430
|
+
kinds: ["addon-crash-loop"]
|
|
52431
|
+
},
|
|
52432
|
+
{
|
|
52433
|
+
name: "summaryAddonUpdates",
|
|
52434
|
+
label: "Summary: addon updates",
|
|
52435
|
+
example: "hub:\n• @camstack/addon-recorder 1.2.3 → 1.2.4",
|
|
52436
|
+
kinds: ["addon-update-available", "addon-updated"]
|
|
52394
52437
|
},
|
|
52395
52438
|
{
|
|
52396
52439
|
name: "summaryUpdates",
|
|
@@ -52474,6 +52517,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
52474
52517
|
[...RULE_BODY_ONLY],
|
|
52475
52518
|
[...RULE_TEXT],
|
|
52476
52519
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
52520
|
+
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
52477
52521
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
52478
52522
|
([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
|
|
52479
52523
|
([...RULE_TEXT], [...CONSUMABLE]),
|
|
@@ -52514,6 +52558,8 @@ var STATE_SUMMARY_VARS = [
|
|
|
52514
52558
|
[...RULE_TEXT],
|
|
52515
52559
|
[...RULE_TEXT],
|
|
52516
52560
|
[...RULE_TEXT],
|
|
52561
|
+
[...RULE_TEXT],
|
|
52562
|
+
[...RULE_TEXT],
|
|
52517
52563
|
...STATE_SUMMARY_VARS
|
|
52518
52564
|
];
|
|
52519
52565
|
new Set([
|
|
@@ -53196,7 +53242,7 @@ function buildControllerFormSchema() {
|
|
|
53196
53242
|
key: "host",
|
|
53197
53243
|
label: "Controller host / IP",
|
|
53198
53244
|
required: true,
|
|
53199
|
-
placeholder: "192.168.
|
|
53245
|
+
placeholder: "192.168.10.1"
|
|
53200
53246
|
},
|
|
53201
53247
|
{
|
|
53202
53248
|
type: "number",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-unifi",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.120",
|
|
4
4
|
"description": "UniFi Network controller device-provider addon for CamStack — local-controller infra switches/APs (as containers) + network-client presence. NO cameras/Protect.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|