@camstack/addon-export-google 0.1.83 → 0.1.85

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.
@@ -10678,6 +10678,57 @@ 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 = [
10728
+ "animal-classifier",
10729
+ "vehicle-classifier",
10730
+ "package-detection"
10731
+ ];
10681
10732
  var MODEL_FORMATS = [
10682
10733
  "onnx",
10683
10734
  "coreml",
@@ -10747,11 +10798,11 @@ var ModelVariantGroupSchema = object({
10747
10798
  /** Quantization axis. Omit ⇒ the fp32 base build. */
10748
10799
  precision: _enum(["fp32", "int8"]).optional(),
10749
10800
  /**
10750
- * Speed-optimization axis. Omit ⇒ the standard build. `fast` marks a
10751
- * latency-optimized export (e.g. ReLU-activation variant) — the slot the
10752
- * future performance variants plug into.
10801
+ * Training / latency-variant axis. Omit ⇒ the standard build. `test` marks
10802
+ * an alternate training of the same family (Scrypted `relu_test`); chip
10803
+ * label is "Test".
10753
10804
  */
10754
- optimization: _enum(["standard", "fast"]).optional(),
10805
+ optimization: _enum(["standard", "test"]).optional(),
10755
10806
  /**
10756
10807
  * Input-resolution axis (square input side, px). Omit ⇒ the family's native
10757
10808
  * resolution (640 for yolo26). Reduced-input builds (320 / 256) are a big,
@@ -10774,9 +10825,10 @@ var ModelProviderIdSchema = _enum([
10774
10825
  * are per upstream. A persisted custom-model row written when this field was a
10775
10826
  * string still parses — the string is lifted into `{ weights }`.
10776
10827
  *
10777
- * Every licence surface (the admin "Models and licenses" page,
10778
- * `THIRD_PARTY_MODELS.md`, the Hugging Face model table) is GENERATED from
10779
- * these records by `scripts/gen-model-licenses.ts` (D661).
10828
+ * Every machine licence surface (`THIRD_PARTY_MODELS.md`, the Hugging Face
10829
+ * model table) is GENERATED from these records by
10830
+ * `scripts/gen-model-licenses.ts` (D661). Operator-facing docs live in
10831
+ * `camstack/docs` → `/docs/detection/models`.
10780
10832
  */
10781
10833
  var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { weights: value } : value, object({
10782
10834
  /** SPDX id of the WEIGHTS' terms, a `LicenseRef-*` for non-SPDX terms, or `UNKNOWN`. */
@@ -10809,6 +10861,12 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
10809
10861
  /** True when the weights or their data forbid commercial use. */
10810
10862
  nonCommercial: boolean().optional()
10811
10863
  }));
10864
+ /** One `fillsClassifierEffects` entry — see `ModelCatalogEntry.fillsClassifierEffects`. */
10865
+ var FillsClassifierEffectSchema = object({
10866
+ stepId: _enum(FILLABLE_STEP_IDS),
10867
+ labelToEffect: record(string(), string()),
10868
+ uncovered: array(string()).readonly()
10869
+ });
10812
10870
  var ModelCatalogEntrySchema = object({
10813
10871
  id: string(),
10814
10872
  name: string(),
@@ -10935,6 +10993,16 @@ var ModelCatalogEntrySchema = object({
10935
10993
  */
10936
10994
  classMap: DetectionCatalogClassMapSchema.optional(),
10937
10995
  /**
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`).
11003
+ */
11004
+ fillsClassifierEffects: array(FillsClassifierEffectSchema).readonly().optional(),
11005
+ /**
10938
11006
  * The model's CLIP feature-space contract (text encoder, dimension, vector
10939
11007
  * index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
10940
11008
  * CLIP image encoder; its absence is what "not a CLIP model" means to the
@@ -14331,7 +14399,7 @@ DeviceType.Camera;
14331
14399
  * This matters here more than anywhere else in the repo, because every provider
14332
14400
  * that knows a device's host knows its PASSWORD too: `{ host, port, username,
14333
14401
  * password }` sit in one object on Hikvision, Amcrest, Reolink and ONVIF alike,
14334
- * and `http://admin:hunter2@192.168.x.x/` is a URL a browser accepts. The
14402
+ * and `http://admin:hunter2@192.168.60.139/` is a URL a browser accepts. The
14335
14403
  * camera's own page will ask for its own login. That is correct, and pre-
14336
14404
  * filling it is the operator's business, not ours.
14337
14405
  *
@@ -17340,7 +17408,7 @@ method(object({
17340
17408
  timeoutMs: 6e5
17341
17409
  });
17342
17410
  method(object({
17343
- nodeId: string(),
17411
+ targetNodeId: string(),
17344
17412
  modelId: string(),
17345
17413
  format: _enum(MODEL_FORMATS),
17346
17414
  entry: ModelCatalogEntrySchema
@@ -17906,51 +17974,6 @@ method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSche
17906
17974
  kind: "mutation",
17907
17975
  auth: "admin"
17908
17976
  });
17909
- new Set([
17910
- {
17911
- id: "person",
17912
- name: "Person"
17913
- },
17914
- {
17915
- id: "vehicle",
17916
- name: "Vehicle"
17917
- },
17918
- {
17919
- id: "animal",
17920
- name: "Animal"
17921
- },
17922
- {
17923
- id: "package",
17924
- name: "Package"
17925
- }
17926
- ].map((l) => l.id));
17927
- var COCO_TO_MACRO = {
17928
- mapping: {
17929
- person: "person",
17930
- bicycle: "vehicle",
17931
- car: "vehicle",
17932
- motorcycle: "vehicle",
17933
- airplane: "vehicle",
17934
- bus: "vehicle",
17935
- train: "vehicle",
17936
- truck: "vehicle",
17937
- boat: "vehicle",
17938
- bird: "animal",
17939
- cat: "animal",
17940
- dog: "animal",
17941
- horse: "animal",
17942
- sheep: "animal",
17943
- cow: "animal",
17944
- elephant: "animal",
17945
- bear: "animal",
17946
- zebra: "animal",
17947
- giraffe: "animal",
17948
- suitcase: "package",
17949
- backpack: "package",
17950
- handbag: "package"
17951
- },
17952
- preserveOriginal: false
17953
- };
17954
17977
  var AUDIO_MACRO_LABELS = [
17955
17978
  {
17956
17979
  id: "speech",
@@ -19806,8 +19829,9 @@ var NcRuleSchema = NcRuleInputSchema.extend({
19806
19829
  disabledTargetIds: array(string()).default([])
19807
19830
  });
19808
19831
  /**
19809
- * The state-summary SECTIONS (D647 / D698): the D637 kind groups that report a
19810
- * still-true state. `backups-exports` and `alarm` are not sections — a completed
19832
+ * The state-summary SECTIONS (D647 / D698 / D708): the D637 kind groups that
19833
+ * report a still-true state. `addons` is the crash-looped addons only and
19834
+ * `addon-updates` the addons that are behind (D708 split them). `backups-exports` and `alarm` are not sections — a completed
19811
19835
  * job is not an open state, and the alarm stays instant.
19812
19836
  */
19813
19837
  var NcStateSummarySectionIdSchema = _enum([
@@ -19819,6 +19843,7 @@ var NcStateSummarySectionIdSchema = _enum([
19819
19843
  "detection-blind",
19820
19844
  "nodes",
19821
19845
  "addons",
19846
+ "addon-updates",
19822
19847
  "updates"
19823
19848
  ]);
19824
19849
  /** One section of a previewed state summary. `unavailable` = its state could not be read. */
@@ -20299,7 +20324,19 @@ var NcAlarmModeDelaysListSchema = array(object({
20299
20324
  * When this mode may be armed. Absent / null = always allowed (same as a
20300
20325
  * rule with no `schedule`). Evaluated with {@link isScheduleActive}.
20301
20326
  */
20302
- schedule: NcScheduleSchema.optional()
20327
+ schedule: NcScheduleSchema.optional(),
20328
+ /**
20329
+ * D706: while this mode's ENTRY DELAY runs, do the alarm rules' own pushes go out (as an
20330
+ * intrusion naming the locations)? Absent = false — the entry-delay notification is the
20331
+ * only one, and the matches ride the triggered notification's mosaic (D705).
20332
+ */
20333
+ notifyDuringEntryDelay: boolean().optional(),
20334
+ /**
20335
+ * D706: notify "watched again" when a sensor this arm bypassed closes and opens again.
20336
+ * Absent = false (logged, not sent). Even when true it is not sent when that same sensor
20337
+ * is the one that starts the entry delay — the entry-delay notification already names it.
20338
+ */
20339
+ notifySensorRewatched: boolean().optional()
20303
20340
  })).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
20304
20341
  var NcAlarmModeDelaysEditListSchema = array(object({
20305
20342
  mode: AlarmArmModeSchema,
@@ -20308,7 +20345,11 @@ var NcAlarmModeDelaysEditListSchema = array(object({
20308
20345
  triggeredDurationSec: NcAlarmTriggeredSecSchema.nullable().optional(),
20309
20346
  postTriggeredAction: NcAlarmPostTriggeredActionSchema.nullable().optional(),
20310
20347
  /** Set a schedule, or `null` to clear (mode always allowed again). */
20311
- schedule: NcScheduleSchema.nullable().optional()
20348
+ schedule: NcScheduleSchema.nullable().optional(),
20349
+ /** D706: set the switch, or `null` to clear it (back to the default, false). */
20350
+ notifyDuringEntryDelay: boolean().nullable().optional(),
20351
+ /** D706: set the switch, or `null` to clear it (back to the default, false). */
20352
+ notifySensorRewatched: boolean().nullable().optional()
20312
20353
  })).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
20313
20354
  /** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
20314
20355
  var NcAlarmNonBlockingEditSchema = object({
@@ -21285,39 +21326,19 @@ Object.freeze(Object.fromEntries([{
21285
21326
  label: "Face recognition model",
21286
21327
  defaultModelId: "auraface-r100",
21287
21328
  indexName: "the enrolled face gallery",
21288
- options: [
21289
- {
21290
- id: "auraface-r100",
21291
- label: "AuraFace R100"
21292
- },
21293
- {
21294
- id: "arcface-r100",
21295
- label: "ArcFace (ResNet34)"
21296
- },
21297
- {
21298
- id: "inception-resnet-v1",
21299
- label: "Inception ResNet V1"
21300
- }
21301
- ]
21329
+ options: [{
21330
+ id: "auraface-r100",
21331
+ label: "AuraFace R100"
21332
+ }]
21302
21333
  }, {
21303
21334
  stepId: "clip-embedding",
21304
21335
  label: "Semantic search model",
21305
- defaultModelId: "mobileclip-s1",
21336
+ defaultModelId: "siglip2-b16-224",
21306
21337
  indexName: "the object semantic-search index",
21307
- options: [
21308
- {
21309
- id: "mobileclip-s1",
21310
- label: "MobileCLIP S1"
21311
- },
21312
- {
21313
- id: "mobileclip-s2",
21314
- label: "MobileCLIP S2"
21315
- },
21316
- {
21317
- id: "siglip2-b16-224",
21318
- label: "SigLIP2 B/16 (Apache-2.0)"
21319
- }
21320
- ]
21338
+ options: [{
21339
+ id: "siglip2-b16-224",
21340
+ label: "SigLIP2 B/16 (Apache-2.0)"
21341
+ }]
21321
21342
  }].map((s) => [s.stepId, s.defaultModelId])));
21322
21343
  var CLUSTER_STEP_SETTING_FIELDS = [{
21323
21344
  stepId: "face-embedding",
@@ -23372,7 +23393,8 @@ var PipelineModelOptionSchema = object({
23372
23393
  group: ModelVariantGroupSchema.optional(),
23373
23394
  legacy: boolean().optional(),
23374
23395
  provider: ModelProviderIdSchema.optional(),
23375
- defaultConfidence: number().optional()
23396
+ defaultConfidence: number().optional(),
23397
+ fillsClassifierEffects: array(FillsClassifierEffectSchema).readonly().optional()
23376
23398
  });
23377
23399
  var ConfigFieldBridge = custom();
23378
23400
  var PipelineAddonSchemaSchema = object({
@@ -24165,6 +24187,22 @@ var MotionSourceEnum = _enum([
24165
24187
  "device-activity"
24166
24188
  ]);
24167
24189
  /**
24190
+ * What opened an on-motion detection SESSION: the motion source that passed the
24191
+ * camera's `motionSources` gate, and what raised it (the camera itself, or a
24192
+ * sensor the operator attached — D672). `sensorName` is the attached sensor's
24193
+ * device name as the orchestrator's camera-sensors resolution last read it;
24194
+ * absent when unknown or when the camera itself triggered.
24195
+ *
24196
+ * Carried on the session attach ONLY so the runner's `DetectionPhaseTransition`
24197
+ * can say what started the session (D672 rule 11, amended 2026-10-06). The
24198
+ * runner never decides anything on it.
24199
+ */
24200
+ var SessionTriggerSchema = object({
24201
+ source: MotionSourceEnum,
24202
+ triggeredBy: MotionTriggeredBySchema,
24203
+ sensorName: string().optional()
24204
+ });
24205
+ /**
24168
24206
  * List of motion sources active on a camera. Empty array is valid:
24169
24207
  * "no source" — happens for battery cams without firmware motion when
24170
24208
  * the operator hasn't opted into the SW analyzer (would hold the
@@ -24416,6 +24454,14 @@ var RunnerCameraConfigSchema = object({
24416
24454
  */
24417
24455
  motionSources: MotionSourcesSchema.default(["analyzer"]),
24418
24456
  /**
24457
+ * What opened this attach, on a SESSION attach only (see
24458
+ * {@link SessionTriggerSchema}). OPTIONAL with no default: absent on a
24459
+ * standing attach, an occupancy burst, a re-dispatch with no motion event
24460
+ * behind it, and every attach from an orchestrator older than the field — the
24461
+ * runner then names no source on the phase event.
24462
+ */
24463
+ sessionTrigger: SessionTriggerSchema.optional(),
24464
+ /**
24419
24465
  * WHICH root detector runs for this camera. The detection counterpart of
24420
24466
  * {@link motionSources}, same shape and same discipline: a per-camera list
24421
24467
  * of sources the system understands, vendor-agnostic, owned here.
@@ -30651,7 +30697,7 @@ var LocalInterfaceSchema = object({
30651
30697
  name: string(),
30652
30698
  family: _enum(["IPv4", "IPv6"]),
30653
30699
  address: string(),
30654
- /** CIDR shorthand (e.g. `192.168.x.x/24`). Empty when OS doesn't expose. */
30700
+ /** CIDR shorthand (e.g. `192.168.10.10/24`). Empty when OS doesn't expose. */
30655
30701
  cidr: string(),
30656
30702
  /** OS netmask. Stable across calls so the SDK can hash on it. */
30657
30703
  netmask: string(),
@@ -30705,7 +30751,8 @@ var ConnectionEndpointSchema = object({
30705
30751
  "lan-ipv4",
30706
30752
  "lan-ipv6",
30707
30753
  "public",
30708
- "loopback"
30754
+ "loopback",
30755
+ "app-link"
30709
30756
  ]),
30710
30757
  /**
30711
30758
  * Originating-interface kind — `lan`/`wifi`/`docker`/`vpn`/`other`/
@@ -30774,15 +30821,27 @@ var GetConnectionEndpointsResultSchema = object({
30774
30821
  localPort: AdvertisedLocalPortSchema
30775
30822
  });
30776
30823
  /**
30777
- * The chosen outbound endpoint for notification artifacts. `baseUrl: null` =
30778
- * AUTO (resolved from the candidate ranking at send time); `resolved` reports
30779
- * what AUTO currently picks, so the UI can show the effective value either way.
30824
+ * The address flagged for notification links. `baseUrl: null` = AUTO, which
30825
+ * since D709 is the CamStack app link; `resolved` reports the effective value,
30826
+ * so the UI can show it either way.
30780
30827
  */
30781
30828
  var NotificationEndpointSchema = object({
30782
30829
  /** The operator's explicit choice, or null for AUTO. */
30783
30830
  baseUrl: string().nullable(),
30784
- /** What the ranking currently resolves to (null when nothing is reachable). */
30785
- resolved: string().nullable()
30831
+ /**
30832
+ * The effective flagged address: the explicit choice, else (AUTO) the
30833
+ * CamStack app link `https://camstack.zentik.app` (D709). A pre-D709 hub
30834
+ * answered the public tunnel / mesh here, or null.
30835
+ */
30836
+ resolved: string().nullable(),
30837
+ /**
30838
+ * The hub origin an app link carries as `hub=` (D709): the hub's best
30839
+ * public HTTPS address — the tunnel, then the mesh (Tailscale MagicDNS) —
30840
+ * picked from this cap's own palette by `pickAppLinkHub`. `null` when the
30841
+ * hub advertises neither; the app link is then minted without `hub=`.
30842
+ * Absent on a pre-D709 hub.
30843
+ */
30844
+ appLinkHub: string().nullable()
30786
30845
  });
30787
30846
  /**
30788
30847
  * The URLs the SDK / viewer should race for API access. `baseUrls` empty =
@@ -30836,7 +30895,11 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
30836
30895
  * Pass `'https'` when the caller is itself loaded over HTTPS
30837
30896
  * to avoid mixed-content blocks in the browser. The public
30838
30897
  * tunnel always emits `https://` regardless. */
30839
- scheme: _enum(["http", "https"]).optional()
30898
+ scheme: _enum(["http", "https"]).optional(),
30899
+ /** Append the CamStack app link entry (`kind: 'app-link'`, D709) —
30900
+ * an address notification links can be flagged with, not a hub
30901
+ * route. Default `false`: racers and rankers never see it. */
30902
+ includeAppLink: boolean().optional()
30840
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, {
30841
30904
  kind: "mutation",
30842
30905
  auth: "admin"
@@ -31097,7 +31160,7 @@ var MeshPeerSchema = object({
31097
31160
  tags: array(string()).readonly(),
31098
31161
  /** True when the peer advertises itself as an exit-node candidate. */
31099
31162
  exitNodeOption: boolean(),
31100
- /** Subnet routes the peer advertises (e.g. `["192.168.x.x/24"]`). */
31163
+ /** Subnet routes the peer advertises (e.g. `["192.168.10.0/24"]`). */
31101
31164
  advertisedRoutes: array(string()).readonly(),
31102
31165
  /** Owner account login (e.g. `foo@example.com`). Null for tagged peers. */
31103
31166
  userLogin: string().nullable(),
@@ -32041,7 +32104,13 @@ var OsdStatusSchema = object({ overlays: array(object({
32041
32104
  */
32042
32105
  availablePositions: array(OsdPositionEnum).readonly(),
32043
32106
  /** Firmware does not allow editing the `text` field (e.g. timestamp). */
32044
- readOnly: boolean().optional()
32107
+ readOnly: boolean().optional(),
32108
+ /**
32109
+ * Firmware text ceiling for this overlay. Absent = no known limit.
32110
+ * The OSD manager truncates here on every write — never stores its own
32111
+ * copy on the binding.
32112
+ */
32113
+ maxCharacters: number().int().positive().optional()
32045
32114
  })).readonly() });
32046
32115
  var OsdOverlayPatchSchema = object({
32047
32116
  enabled: boolean().optional(),
@@ -32092,7 +32161,9 @@ var OsdTemplateBindingSchema = object({
32092
32161
  valuePath: string().min(1).max(64),
32093
32162
  /** Convert TO this unit at render (`tryConvertUnit`). Absent = source unit. */
32094
32163
  displayUnit: string().max(16).optional(),
32095
- maxDecimals: number().int().min(0).max(4).default(1)
32164
+ maxDecimals: number().int().min(0).max(4).default(1),
32165
+ /** Raw value → display text (same shape as slot binding). Empty string hides. */
32166
+ valueMap: record(string(), string()).optional()
32096
32167
  });
32097
32168
  /**
32098
32169
  * A named template: bindings (alias → leaf field) + a parser that
@@ -32142,18 +32213,11 @@ var OsdSlotBindingSchema = object({
32142
32213
  source: OsdSourceSchema,
32143
32214
  /** `${value}` and `${unit}` are substituted; every occurrence. */
32144
32215
  template: string().max(96).default("${value}"),
32145
- /** Truncate with an ellipsis past this length. Absent = no limit. */
32146
- maxCharacters: number().int().min(4).max(64).optional(),
32147
32216
  /**
32148
32217
  * Decimal places for a numeric value. `0` yields an integer — the
32149
32218
  * documented workaround for firmwares that reject `.` in overlay text.
32150
32219
  */
32151
32220
  maxDecimals: number().int().min(0).max(4).default(1),
32152
- /**
32153
- * Appended via `${unit}` when no unit conversion produces a label.
32154
- * Prefer `source.displayUnit` for converted device-state values.
32155
- */
32156
- unitLabel: string().max(8).optional(),
32157
32221
  /** Raw value → display text, e.g. `{"true":"MOTION","false":""}`. */
32158
32222
  valueMap: record(string(), string()).optional(),
32159
32223
  /** Time windows in which the slot is shown. Absent = always. */
@@ -32162,9 +32226,7 @@ var OsdSlotBindingSchema = object({
32162
32226
  * Display gate, in the notification centre's condition vocabulary.
32163
32227
  * Only the keys reported by `getConditionSupport` are accepted.
32164
32228
  */
32165
- conditions: NcConditionsSchema.optional(),
32166
- /** Rendered when the gate is closed or the value unreadable. Empty = hide. */
32167
- fallbackText: string().max(64).default("")
32229
+ conditions: NcConditionsSchema.optional()
32168
32230
  });
32169
32231
  /** One camera slot, as the operator sees it: firmware truth + our binding. */
32170
32232
  var OsdSlotViewSchema = object({
@@ -47848,12 +47910,14 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
47848
47910
  {
47849
47911
  id: "addons",
47850
47912
  family: "system",
47851
- label: "Addons",
47852
- kinds: [
47853
- "addon-crash-loop",
47854
- "addon-update-available",
47855
- "addon-updated"
47856
- ]
47913
+ label: "Addons stopped",
47914
+ kinds: ["addon-crash-loop"]
47915
+ },
47916
+ {
47917
+ id: "addon-updates",
47918
+ family: "system",
47919
+ label: "Addon updates",
47920
+ kinds: ["addon-update-available", "addon-updated"]
47857
47921
  },
47858
47922
  {
47859
47923
  id: "updates",
@@ -48013,13 +48077,15 @@ var STATE_SUMMARY_SECTION_VARS = [
48013
48077
  },
48014
48078
  {
48015
48079
  name: "summaryAddons",
48016
- label: "Summary: addons",
48017
- example: "@camstack/addon-recorder 1.2.3 → 1.2.4",
48018
- kinds: [
48019
- "addon-crash-loop",
48020
- "addon-update-available",
48021
- "addon-updated"
48022
- ]
48080
+ label: "Summary: addons stopped",
48081
+ example: "hub — recorder stopped after repeated crashes",
48082
+ kinds: ["addon-crash-loop"]
48083
+ },
48084
+ {
48085
+ name: "summaryAddonUpdates",
48086
+ label: "Summary: addon updates",
48087
+ example: "hub:\n• @camstack/addon-recorder 1.2.3 → 1.2.4",
48088
+ kinds: ["addon-update-available", "addon-updated"]
48023
48089
  },
48024
48090
  {
48025
48091
  name: "summaryUpdates",
@@ -48103,6 +48169,7 @@ var STATE_SUMMARY_VARS = [
48103
48169
  [...RULE_BODY_ONLY],
48104
48170
  [...RULE_TEXT],
48105
48171
  ([...RULE_TEXT], [...DEVICE_EVENTS]),
48172
+ ([...RULE_TEXT], [...COMBINED_ALARM]),
48106
48173
  ([...RULE_TEXT], [...DEVICE_EVENTS]),
48107
48174
  ([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
48108
48175
  ([...RULE_TEXT], [...CONSUMABLE]),
@@ -48143,6 +48210,8 @@ var STATE_SUMMARY_VARS = [
48143
48210
  [...RULE_TEXT],
48144
48211
  [...RULE_TEXT],
48145
48212
  [...RULE_TEXT],
48213
+ [...RULE_TEXT],
48214
+ [...RULE_TEXT],
48146
48215
  ...STATE_SUMMARY_VARS
48147
48216
  ];
48148
48217
  new Set([
@@ -10674,6 +10674,57 @@ 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 = [
10724
+ "animal-classifier",
10725
+ "vehicle-classifier",
10726
+ "package-detection"
10727
+ ];
10677
10728
  var MODEL_FORMATS = [
10678
10729
  "onnx",
10679
10730
  "coreml",
@@ -10743,11 +10794,11 @@ var ModelVariantGroupSchema = object({
10743
10794
  /** Quantization axis. Omit ⇒ the fp32 base build. */
10744
10795
  precision: _enum(["fp32", "int8"]).optional(),
10745
10796
  /**
10746
- * Speed-optimization axis. Omit ⇒ the standard build. `fast` marks a
10747
- * latency-optimized export (e.g. ReLU-activation variant) — the slot the
10748
- * future performance variants plug into.
10797
+ * Training / latency-variant axis. Omit ⇒ the standard build. `test` marks
10798
+ * an alternate training of the same family (Scrypted `relu_test`); chip
10799
+ * label is "Test".
10749
10800
  */
10750
- optimization: _enum(["standard", "fast"]).optional(),
10801
+ optimization: _enum(["standard", "test"]).optional(),
10751
10802
  /**
10752
10803
  * Input-resolution axis (square input side, px). Omit ⇒ the family's native
10753
10804
  * resolution (640 for yolo26). Reduced-input builds (320 / 256) are a big,
@@ -10770,9 +10821,10 @@ var ModelProviderIdSchema = _enum([
10770
10821
  * are per upstream. A persisted custom-model row written when this field was a
10771
10822
  * string still parses — the string is lifted into `{ weights }`.
10772
10823
  *
10773
- * Every licence surface (the admin "Models and licenses" page,
10774
- * `THIRD_PARTY_MODELS.md`, the Hugging Face model table) is GENERATED from
10775
- * these records by `scripts/gen-model-licenses.ts` (D661).
10824
+ * Every machine licence surface (`THIRD_PARTY_MODELS.md`, the Hugging Face
10825
+ * model table) is GENERATED from these records by
10826
+ * `scripts/gen-model-licenses.ts` (D661). Operator-facing docs live in
10827
+ * `camstack/docs` → `/docs/detection/models`.
10776
10828
  */
10777
10829
  var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { weights: value } : value, object({
10778
10830
  /** SPDX id of the WEIGHTS' terms, a `LicenseRef-*` for non-SPDX terms, or `UNKNOWN`. */
@@ -10805,6 +10857,12 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
10805
10857
  /** True when the weights or their data forbid commercial use. */
10806
10858
  nonCommercial: boolean().optional()
10807
10859
  }));
10860
+ /** One `fillsClassifierEffects` entry — see `ModelCatalogEntry.fillsClassifierEffects`. */
10861
+ var FillsClassifierEffectSchema = object({
10862
+ stepId: _enum(FILLABLE_STEP_IDS),
10863
+ labelToEffect: record(string(), string()),
10864
+ uncovered: array(string()).readonly()
10865
+ });
10808
10866
  var ModelCatalogEntrySchema = object({
10809
10867
  id: string(),
10810
10868
  name: string(),
@@ -10931,6 +10989,16 @@ var ModelCatalogEntrySchema = object({
10931
10989
  */
10932
10990
  classMap: DetectionCatalogClassMapSchema.optional(),
10933
10991
  /**
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`).
10999
+ */
11000
+ fillsClassifierEffects: array(FillsClassifierEffectSchema).readonly().optional(),
11001
+ /**
10934
11002
  * The model's CLIP feature-space contract (text encoder, dimension, vector
10935
11003
  * index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
10936
11004
  * CLIP image encoder; its absence is what "not a CLIP model" means to the
@@ -14327,7 +14395,7 @@ DeviceType.Camera;
14327
14395
  * This matters here more than anywhere else in the repo, because every provider
14328
14396
  * that knows a device's host knows its PASSWORD too: `{ host, port, username,
14329
14397
  * password }` sit in one object on Hikvision, Amcrest, Reolink and ONVIF alike,
14330
- * and `http://admin:hunter2@192.168.x.x/` is a URL a browser accepts. The
14398
+ * and `http://admin:hunter2@192.168.60.139/` is a URL a browser accepts. The
14331
14399
  * camera's own page will ask for its own login. That is correct, and pre-
14332
14400
  * filling it is the operator's business, not ours.
14333
14401
  *
@@ -17336,7 +17404,7 @@ method(object({
17336
17404
  timeoutMs: 6e5
17337
17405
  });
17338
17406
  method(object({
17339
- nodeId: string(),
17407
+ targetNodeId: string(),
17340
17408
  modelId: string(),
17341
17409
  format: _enum(MODEL_FORMATS),
17342
17410
  entry: ModelCatalogEntrySchema
@@ -17902,51 +17970,6 @@ method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSche
17902
17970
  kind: "mutation",
17903
17971
  auth: "admin"
17904
17972
  });
17905
- new Set([
17906
- {
17907
- id: "person",
17908
- name: "Person"
17909
- },
17910
- {
17911
- id: "vehicle",
17912
- name: "Vehicle"
17913
- },
17914
- {
17915
- id: "animal",
17916
- name: "Animal"
17917
- },
17918
- {
17919
- id: "package",
17920
- name: "Package"
17921
- }
17922
- ].map((l) => l.id));
17923
- var COCO_TO_MACRO = {
17924
- mapping: {
17925
- person: "person",
17926
- bicycle: "vehicle",
17927
- car: "vehicle",
17928
- motorcycle: "vehicle",
17929
- airplane: "vehicle",
17930
- bus: "vehicle",
17931
- train: "vehicle",
17932
- truck: "vehicle",
17933
- boat: "vehicle",
17934
- bird: "animal",
17935
- cat: "animal",
17936
- dog: "animal",
17937
- horse: "animal",
17938
- sheep: "animal",
17939
- cow: "animal",
17940
- elephant: "animal",
17941
- bear: "animal",
17942
- zebra: "animal",
17943
- giraffe: "animal",
17944
- suitcase: "package",
17945
- backpack: "package",
17946
- handbag: "package"
17947
- },
17948
- preserveOriginal: false
17949
- };
17950
17973
  var AUDIO_MACRO_LABELS = [
17951
17974
  {
17952
17975
  id: "speech",
@@ -19802,8 +19825,9 @@ var NcRuleSchema = NcRuleInputSchema.extend({
19802
19825
  disabledTargetIds: array(string()).default([])
19803
19826
  });
19804
19827
  /**
19805
- * The state-summary SECTIONS (D647 / D698): the D637 kind groups that report a
19806
- * still-true state. `backups-exports` and `alarm` are not sections — a completed
19828
+ * The state-summary SECTIONS (D647 / D698 / D708): the D637 kind groups that
19829
+ * report a still-true state. `addons` is the crash-looped addons only and
19830
+ * `addon-updates` the addons that are behind (D708 split them). `backups-exports` and `alarm` are not sections — a completed
19807
19831
  * job is not an open state, and the alarm stays instant.
19808
19832
  */
19809
19833
  var NcStateSummarySectionIdSchema = _enum([
@@ -19815,6 +19839,7 @@ var NcStateSummarySectionIdSchema = _enum([
19815
19839
  "detection-blind",
19816
19840
  "nodes",
19817
19841
  "addons",
19842
+ "addon-updates",
19818
19843
  "updates"
19819
19844
  ]);
19820
19845
  /** One section of a previewed state summary. `unavailable` = its state could not be read. */
@@ -20295,7 +20320,19 @@ var NcAlarmModeDelaysListSchema = array(object({
20295
20320
  * When this mode may be armed. Absent / null = always allowed (same as a
20296
20321
  * rule with no `schedule`). Evaluated with {@link isScheduleActive}.
20297
20322
  */
20298
- schedule: NcScheduleSchema.optional()
20323
+ schedule: NcScheduleSchema.optional(),
20324
+ /**
20325
+ * D706: while this mode's ENTRY DELAY runs, do the alarm rules' own pushes go out (as an
20326
+ * intrusion naming the locations)? Absent = false — the entry-delay notification is the
20327
+ * only one, and the matches ride the triggered notification's mosaic (D705).
20328
+ */
20329
+ notifyDuringEntryDelay: boolean().optional(),
20330
+ /**
20331
+ * D706: notify "watched again" when a sensor this arm bypassed closes and opens again.
20332
+ * Absent = false (logged, not sent). Even when true it is not sent when that same sensor
20333
+ * is the one that starts the entry delay — the entry-delay notification already names it.
20334
+ */
20335
+ notifySensorRewatched: boolean().optional()
20299
20336
  })).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
20300
20337
  var NcAlarmModeDelaysEditListSchema = array(object({
20301
20338
  mode: AlarmArmModeSchema,
@@ -20304,7 +20341,11 @@ var NcAlarmModeDelaysEditListSchema = array(object({
20304
20341
  triggeredDurationSec: NcAlarmTriggeredSecSchema.nullable().optional(),
20305
20342
  postTriggeredAction: NcAlarmPostTriggeredActionSchema.nullable().optional(),
20306
20343
  /** Set a schedule, or `null` to clear (mode always allowed again). */
20307
- schedule: NcScheduleSchema.nullable().optional()
20344
+ schedule: NcScheduleSchema.nullable().optional(),
20345
+ /** D706: set the switch, or `null` to clear it (back to the default, false). */
20346
+ notifyDuringEntryDelay: boolean().nullable().optional(),
20347
+ /** D706: set the switch, or `null` to clear it (back to the default, false). */
20348
+ notifySensorRewatched: boolean().nullable().optional()
20308
20349
  })).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
20309
20350
  /** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
20310
20351
  var NcAlarmNonBlockingEditSchema = object({
@@ -21281,39 +21322,19 @@ Object.freeze(Object.fromEntries([{
21281
21322
  label: "Face recognition model",
21282
21323
  defaultModelId: "auraface-r100",
21283
21324
  indexName: "the enrolled face gallery",
21284
- options: [
21285
- {
21286
- id: "auraface-r100",
21287
- label: "AuraFace R100"
21288
- },
21289
- {
21290
- id: "arcface-r100",
21291
- label: "ArcFace (ResNet34)"
21292
- },
21293
- {
21294
- id: "inception-resnet-v1",
21295
- label: "Inception ResNet V1"
21296
- }
21297
- ]
21325
+ options: [{
21326
+ id: "auraface-r100",
21327
+ label: "AuraFace R100"
21328
+ }]
21298
21329
  }, {
21299
21330
  stepId: "clip-embedding",
21300
21331
  label: "Semantic search model",
21301
- defaultModelId: "mobileclip-s1",
21332
+ defaultModelId: "siglip2-b16-224",
21302
21333
  indexName: "the object semantic-search index",
21303
- options: [
21304
- {
21305
- id: "mobileclip-s1",
21306
- label: "MobileCLIP S1"
21307
- },
21308
- {
21309
- id: "mobileclip-s2",
21310
- label: "MobileCLIP S2"
21311
- },
21312
- {
21313
- id: "siglip2-b16-224",
21314
- label: "SigLIP2 B/16 (Apache-2.0)"
21315
- }
21316
- ]
21334
+ options: [{
21335
+ id: "siglip2-b16-224",
21336
+ label: "SigLIP2 B/16 (Apache-2.0)"
21337
+ }]
21317
21338
  }].map((s) => [s.stepId, s.defaultModelId])));
21318
21339
  var CLUSTER_STEP_SETTING_FIELDS = [{
21319
21340
  stepId: "face-embedding",
@@ -23368,7 +23389,8 @@ var PipelineModelOptionSchema = object({
23368
23389
  group: ModelVariantGroupSchema.optional(),
23369
23390
  legacy: boolean().optional(),
23370
23391
  provider: ModelProviderIdSchema.optional(),
23371
- defaultConfidence: number().optional()
23392
+ defaultConfidence: number().optional(),
23393
+ fillsClassifierEffects: array(FillsClassifierEffectSchema).readonly().optional()
23372
23394
  });
23373
23395
  var ConfigFieldBridge = custom();
23374
23396
  var PipelineAddonSchemaSchema = object({
@@ -24161,6 +24183,22 @@ var MotionSourceEnum = _enum([
24161
24183
  "device-activity"
24162
24184
  ]);
24163
24185
  /**
24186
+ * What opened an on-motion detection SESSION: the motion source that passed the
24187
+ * camera's `motionSources` gate, and what raised it (the camera itself, or a
24188
+ * sensor the operator attached — D672). `sensorName` is the attached sensor's
24189
+ * device name as the orchestrator's camera-sensors resolution last read it;
24190
+ * absent when unknown or when the camera itself triggered.
24191
+ *
24192
+ * Carried on the session attach ONLY so the runner's `DetectionPhaseTransition`
24193
+ * can say what started the session (D672 rule 11, amended 2026-10-06). The
24194
+ * runner never decides anything on it.
24195
+ */
24196
+ var SessionTriggerSchema = object({
24197
+ source: MotionSourceEnum,
24198
+ triggeredBy: MotionTriggeredBySchema,
24199
+ sensorName: string().optional()
24200
+ });
24201
+ /**
24164
24202
  * List of motion sources active on a camera. Empty array is valid:
24165
24203
  * "no source" — happens for battery cams without firmware motion when
24166
24204
  * the operator hasn't opted into the SW analyzer (would hold the
@@ -24412,6 +24450,14 @@ var RunnerCameraConfigSchema = object({
24412
24450
  */
24413
24451
  motionSources: MotionSourcesSchema.default(["analyzer"]),
24414
24452
  /**
24453
+ * What opened this attach, on a SESSION attach only (see
24454
+ * {@link SessionTriggerSchema}). OPTIONAL with no default: absent on a
24455
+ * standing attach, an occupancy burst, a re-dispatch with no motion event
24456
+ * behind it, and every attach from an orchestrator older than the field — the
24457
+ * runner then names no source on the phase event.
24458
+ */
24459
+ sessionTrigger: SessionTriggerSchema.optional(),
24460
+ /**
24415
24461
  * WHICH root detector runs for this camera. The detection counterpart of
24416
24462
  * {@link motionSources}, same shape and same discipline: a per-camera list
24417
24463
  * of sources the system understands, vendor-agnostic, owned here.
@@ -30647,7 +30693,7 @@ var LocalInterfaceSchema = object({
30647
30693
  name: string(),
30648
30694
  family: _enum(["IPv4", "IPv6"]),
30649
30695
  address: string(),
30650
- /** CIDR shorthand (e.g. `192.168.x.x/24`). Empty when OS doesn't expose. */
30696
+ /** CIDR shorthand (e.g. `192.168.10.10/24`). Empty when OS doesn't expose. */
30651
30697
  cidr: string(),
30652
30698
  /** OS netmask. Stable across calls so the SDK can hash on it. */
30653
30699
  netmask: string(),
@@ -30701,7 +30747,8 @@ var ConnectionEndpointSchema = object({
30701
30747
  "lan-ipv4",
30702
30748
  "lan-ipv6",
30703
30749
  "public",
30704
- "loopback"
30750
+ "loopback",
30751
+ "app-link"
30705
30752
  ]),
30706
30753
  /**
30707
30754
  * Originating-interface kind — `lan`/`wifi`/`docker`/`vpn`/`other`/
@@ -30770,15 +30817,27 @@ var GetConnectionEndpointsResultSchema = object({
30770
30817
  localPort: AdvertisedLocalPortSchema
30771
30818
  });
30772
30819
  /**
30773
- * The chosen outbound endpoint for notification artifacts. `baseUrl: null` =
30774
- * AUTO (resolved from the candidate ranking at send time); `resolved` reports
30775
- * what AUTO currently picks, so the UI can show the effective value either way.
30820
+ * The address flagged for notification links. `baseUrl: null` = AUTO, which
30821
+ * since D709 is the CamStack app link; `resolved` reports the effective value,
30822
+ * so the UI can show it either way.
30776
30823
  */
30777
30824
  var NotificationEndpointSchema = object({
30778
30825
  /** The operator's explicit choice, or null for AUTO. */
30779
30826
  baseUrl: string().nullable(),
30780
- /** What the ranking currently resolves to (null when nothing is reachable). */
30781
- resolved: string().nullable()
30827
+ /**
30828
+ * The effective flagged address: the explicit choice, else (AUTO) the
30829
+ * CamStack app link `https://camstack.zentik.app` (D709). A pre-D709 hub
30830
+ * answered the public tunnel / mesh here, or null.
30831
+ */
30832
+ resolved: string().nullable(),
30833
+ /**
30834
+ * The hub origin an app link carries as `hub=` (D709): the hub's best
30835
+ * public HTTPS address — the tunnel, then the mesh (Tailscale MagicDNS) —
30836
+ * picked from this cap's own palette by `pickAppLinkHub`. `null` when the
30837
+ * hub advertises neither; the app link is then minted without `hub=`.
30838
+ * Absent on a pre-D709 hub.
30839
+ */
30840
+ appLinkHub: string().nullable()
30782
30841
  });
30783
30842
  /**
30784
30843
  * The URLs the SDK / viewer should race for API access. `baseUrls` empty =
@@ -30832,7 +30891,11 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
30832
30891
  * Pass `'https'` when the caller is itself loaded over HTTPS
30833
30892
  * to avoid mixed-content blocks in the browser. The public
30834
30893
  * tunnel always emits `https://` regardless. */
30835
- scheme: _enum(["http", "https"]).optional()
30894
+ scheme: _enum(["http", "https"]).optional(),
30895
+ /** Append the CamStack app link entry (`kind: 'app-link'`, D709) —
30896
+ * an address notification links can be flagged with, not a hub
30897
+ * route. Default `false`: racers and rankers never see it. */
30898
+ includeAppLink: boolean().optional()
30836
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, {
30837
30900
  kind: "mutation",
30838
30901
  auth: "admin"
@@ -31093,7 +31156,7 @@ var MeshPeerSchema = object({
31093
31156
  tags: array(string()).readonly(),
31094
31157
  /** True when the peer advertises itself as an exit-node candidate. */
31095
31158
  exitNodeOption: boolean(),
31096
- /** Subnet routes the peer advertises (e.g. `["192.168.x.x/24"]`). */
31159
+ /** Subnet routes the peer advertises (e.g. `["192.168.10.0/24"]`). */
31097
31160
  advertisedRoutes: array(string()).readonly(),
31098
31161
  /** Owner account login (e.g. `foo@example.com`). Null for tagged peers. */
31099
31162
  userLogin: string().nullable(),
@@ -32037,7 +32100,13 @@ var OsdStatusSchema = object({ overlays: array(object({
32037
32100
  */
32038
32101
  availablePositions: array(OsdPositionEnum).readonly(),
32039
32102
  /** Firmware does not allow editing the `text` field (e.g. timestamp). */
32040
- readOnly: boolean().optional()
32103
+ readOnly: boolean().optional(),
32104
+ /**
32105
+ * Firmware text ceiling for this overlay. Absent = no known limit.
32106
+ * The OSD manager truncates here on every write — never stores its own
32107
+ * copy on the binding.
32108
+ */
32109
+ maxCharacters: number().int().positive().optional()
32041
32110
  })).readonly() });
32042
32111
  var OsdOverlayPatchSchema = object({
32043
32112
  enabled: boolean().optional(),
@@ -32088,7 +32157,9 @@ var OsdTemplateBindingSchema = object({
32088
32157
  valuePath: string().min(1).max(64),
32089
32158
  /** Convert TO this unit at render (`tryConvertUnit`). Absent = source unit. */
32090
32159
  displayUnit: string().max(16).optional(),
32091
- maxDecimals: number().int().min(0).max(4).default(1)
32160
+ maxDecimals: number().int().min(0).max(4).default(1),
32161
+ /** Raw value → display text (same shape as slot binding). Empty string hides. */
32162
+ valueMap: record(string(), string()).optional()
32092
32163
  });
32093
32164
  /**
32094
32165
  * A named template: bindings (alias → leaf field) + a parser that
@@ -32138,18 +32209,11 @@ var OsdSlotBindingSchema = object({
32138
32209
  source: OsdSourceSchema,
32139
32210
  /** `${value}` and `${unit}` are substituted; every occurrence. */
32140
32211
  template: string().max(96).default("${value}"),
32141
- /** Truncate with an ellipsis past this length. Absent = no limit. */
32142
- maxCharacters: number().int().min(4).max(64).optional(),
32143
32212
  /**
32144
32213
  * Decimal places for a numeric value. `0` yields an integer — the
32145
32214
  * documented workaround for firmwares that reject `.` in overlay text.
32146
32215
  */
32147
32216
  maxDecimals: number().int().min(0).max(4).default(1),
32148
- /**
32149
- * Appended via `${unit}` when no unit conversion produces a label.
32150
- * Prefer `source.displayUnit` for converted device-state values.
32151
- */
32152
- unitLabel: string().max(8).optional(),
32153
32217
  /** Raw value → display text, e.g. `{"true":"MOTION","false":""}`. */
32154
32218
  valueMap: record(string(), string()).optional(),
32155
32219
  /** Time windows in which the slot is shown. Absent = always. */
@@ -32158,9 +32222,7 @@ var OsdSlotBindingSchema = object({
32158
32222
  * Display gate, in the notification centre's condition vocabulary.
32159
32223
  * Only the keys reported by `getConditionSupport` are accepted.
32160
32224
  */
32161
- conditions: NcConditionsSchema.optional(),
32162
- /** Rendered when the gate is closed or the value unreadable. Empty = hide. */
32163
- fallbackText: string().max(64).default("")
32225
+ conditions: NcConditionsSchema.optional()
32164
32226
  });
32165
32227
  /** One camera slot, as the operator sees it: firmware truth + our binding. */
32166
32228
  var OsdSlotViewSchema = object({
@@ -47844,12 +47906,14 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
47844
47906
  {
47845
47907
  id: "addons",
47846
47908
  family: "system",
47847
- label: "Addons",
47848
- kinds: [
47849
- "addon-crash-loop",
47850
- "addon-update-available",
47851
- "addon-updated"
47852
- ]
47909
+ label: "Addons stopped",
47910
+ kinds: ["addon-crash-loop"]
47911
+ },
47912
+ {
47913
+ id: "addon-updates",
47914
+ family: "system",
47915
+ label: "Addon updates",
47916
+ kinds: ["addon-update-available", "addon-updated"]
47853
47917
  },
47854
47918
  {
47855
47919
  id: "updates",
@@ -48009,13 +48073,15 @@ var STATE_SUMMARY_SECTION_VARS = [
48009
48073
  },
48010
48074
  {
48011
48075
  name: "summaryAddons",
48012
- label: "Summary: addons",
48013
- example: "@camstack/addon-recorder 1.2.3 → 1.2.4",
48014
- kinds: [
48015
- "addon-crash-loop",
48016
- "addon-update-available",
48017
- "addon-updated"
48018
- ]
48076
+ label: "Summary: addons stopped",
48077
+ example: "hub — recorder stopped after repeated crashes",
48078
+ kinds: ["addon-crash-loop"]
48079
+ },
48080
+ {
48081
+ name: "summaryAddonUpdates",
48082
+ label: "Summary: addon updates",
48083
+ example: "hub:\n• @camstack/addon-recorder 1.2.3 → 1.2.4",
48084
+ kinds: ["addon-update-available", "addon-updated"]
48019
48085
  },
48020
48086
  {
48021
48087
  name: "summaryUpdates",
@@ -48099,6 +48165,7 @@ var STATE_SUMMARY_VARS = [
48099
48165
  [...RULE_BODY_ONLY],
48100
48166
  [...RULE_TEXT],
48101
48167
  ([...RULE_TEXT], [...DEVICE_EVENTS]),
48168
+ ([...RULE_TEXT], [...COMBINED_ALARM]),
48102
48169
  ([...RULE_TEXT], [...DEVICE_EVENTS]),
48103
48170
  ([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
48104
48171
  ([...RULE_TEXT], [...CONSUMABLE]),
@@ -48139,6 +48206,8 @@ var STATE_SUMMARY_VARS = [
48139
48206
  [...RULE_TEXT],
48140
48207
  [...RULE_TEXT],
48141
48208
  [...RULE_TEXT],
48209
+ [...RULE_TEXT],
48210
+ [...RULE_TEXT],
48142
48211
  ...STATE_SUMMARY_VARS
48143
48212
  ];
48144
48213
  new Set([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-google",
3
- "version": "0.1.83",
3
+ "version": "0.1.85",
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",