@camstack/addon-export-google 0.1.83 → 0.1.84

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.
@@ -10747,11 +10747,11 @@ var ModelVariantGroupSchema = object({
10747
10747
  /** Quantization axis. Omit ⇒ the fp32 base build. */
10748
10748
  precision: _enum(["fp32", "int8"]).optional(),
10749
10749
  /**
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.
10750
+ * Training / latency-variant axis. Omit ⇒ the standard build. `test` marks
10751
+ * an alternate training of the same family (Scrypted `relu_test`); chip
10752
+ * label is "Test".
10753
10753
  */
10754
- optimization: _enum(["standard", "fast"]).optional(),
10754
+ optimization: _enum(["standard", "test"]).optional(),
10755
10755
  /**
10756
10756
  * Input-resolution axis (square input side, px). Omit ⇒ the family's native
10757
10757
  * resolution (640 for yolo26). Reduced-input builds (320 / 256) are a big,
@@ -10774,9 +10774,10 @@ var ModelProviderIdSchema = _enum([
10774
10774
  * are per upstream. A persisted custom-model row written when this field was a
10775
10775
  * string still parses — the string is lifted into `{ weights }`.
10776
10776
  *
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).
10777
+ * Every machine licence surface (`THIRD_PARTY_MODELS.md`, the Hugging Face
10778
+ * model table) is GENERATED from these records by
10779
+ * `scripts/gen-model-licenses.ts` (D661). Operator-facing docs live in
10780
+ * `camstack/docs` → `/docs/detection/models`.
10780
10781
  */
10781
10782
  var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { weights: value } : value, object({
10782
10783
  /** SPDX id of the WEIGHTS' terms, a `LicenseRef-*` for non-SPDX terms, or `UNKNOWN`. */
@@ -14331,7 +14332,7 @@ DeviceType.Camera;
14331
14332
  * This matters here more than anywhere else in the repo, because every provider
14332
14333
  * that knows a device's host knows its PASSWORD too: `{ host, port, username,
14333
14334
  * 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
14335
+ * and `http://admin:hunter2@192.168.60.139/` is a URL a browser accepts. The
14335
14336
  * camera's own page will ask for its own login. That is correct, and pre-
14336
14337
  * filling it is the operator's business, not ours.
14337
14338
  *
@@ -17340,7 +17341,7 @@ method(object({
17340
17341
  timeoutMs: 6e5
17341
17342
  });
17342
17343
  method(object({
17343
- nodeId: string(),
17344
+ targetNodeId: string(),
17344
17345
  modelId: string(),
17345
17346
  format: _enum(MODEL_FORMATS),
17346
17347
  entry: ModelCatalogEntrySchema
@@ -19806,8 +19807,9 @@ var NcRuleSchema = NcRuleInputSchema.extend({
19806
19807
  disabledTargetIds: array(string()).default([])
19807
19808
  });
19808
19809
  /**
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
19810
+ * The state-summary SECTIONS (D647 / D698 / D708): the D637 kind groups that
19811
+ * report a still-true state. `addons` is the crash-looped addons only and
19812
+ * `addon-updates` the addons that are behind (D708 split them). `backups-exports` and `alarm` are not sections — a completed
19811
19813
  * job is not an open state, and the alarm stays instant.
19812
19814
  */
19813
19815
  var NcStateSummarySectionIdSchema = _enum([
@@ -19819,6 +19821,7 @@ var NcStateSummarySectionIdSchema = _enum([
19819
19821
  "detection-blind",
19820
19822
  "nodes",
19821
19823
  "addons",
19824
+ "addon-updates",
19822
19825
  "updates"
19823
19826
  ]);
19824
19827
  /** One section of a previewed state summary. `unavailable` = its state could not be read. */
@@ -20299,7 +20302,19 @@ var NcAlarmModeDelaysListSchema = array(object({
20299
20302
  * When this mode may be armed. Absent / null = always allowed (same as a
20300
20303
  * rule with no `schedule`). Evaluated with {@link isScheduleActive}.
20301
20304
  */
20302
- schedule: NcScheduleSchema.optional()
20305
+ schedule: NcScheduleSchema.optional(),
20306
+ /**
20307
+ * D706: while this mode's ENTRY DELAY runs, do the alarm rules' own pushes go out (as an
20308
+ * intrusion naming the locations)? Absent = false — the entry-delay notification is the
20309
+ * only one, and the matches ride the triggered notification's mosaic (D705).
20310
+ */
20311
+ notifyDuringEntryDelay: boolean().optional(),
20312
+ /**
20313
+ * D706: notify "watched again" when a sensor this arm bypassed closes and opens again.
20314
+ * Absent = false (logged, not sent). Even when true it is not sent when that same sensor
20315
+ * is the one that starts the entry delay — the entry-delay notification already names it.
20316
+ */
20317
+ notifySensorRewatched: boolean().optional()
20303
20318
  })).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
20304
20319
  var NcAlarmModeDelaysEditListSchema = array(object({
20305
20320
  mode: AlarmArmModeSchema,
@@ -20308,7 +20323,11 @@ var NcAlarmModeDelaysEditListSchema = array(object({
20308
20323
  triggeredDurationSec: NcAlarmTriggeredSecSchema.nullable().optional(),
20309
20324
  postTriggeredAction: NcAlarmPostTriggeredActionSchema.nullable().optional(),
20310
20325
  /** Set a schedule, or `null` to clear (mode always allowed again). */
20311
- schedule: NcScheduleSchema.nullable().optional()
20326
+ schedule: NcScheduleSchema.nullable().optional(),
20327
+ /** D706: set the switch, or `null` to clear it (back to the default, false). */
20328
+ notifyDuringEntryDelay: boolean().nullable().optional(),
20329
+ /** D706: set the switch, or `null` to clear it (back to the default, false). */
20330
+ notifySensorRewatched: boolean().nullable().optional()
20312
20331
  })).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
20313
20332
  /** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
20314
20333
  var NcAlarmNonBlockingEditSchema = object({
@@ -21285,39 +21304,19 @@ Object.freeze(Object.fromEntries([{
21285
21304
  label: "Face recognition model",
21286
21305
  defaultModelId: "auraface-r100",
21287
21306
  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
- ]
21307
+ options: [{
21308
+ id: "auraface-r100",
21309
+ label: "AuraFace R100"
21310
+ }]
21302
21311
  }, {
21303
21312
  stepId: "clip-embedding",
21304
21313
  label: "Semantic search model",
21305
- defaultModelId: "mobileclip-s1",
21314
+ defaultModelId: "siglip2-b16-224",
21306
21315
  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
- ]
21316
+ options: [{
21317
+ id: "siglip2-b16-224",
21318
+ label: "SigLIP2 B/16 (Apache-2.0)"
21319
+ }]
21321
21320
  }].map((s) => [s.stepId, s.defaultModelId])));
21322
21321
  var CLUSTER_STEP_SETTING_FIELDS = [{
21323
21322
  stepId: "face-embedding",
@@ -24165,6 +24164,22 @@ var MotionSourceEnum = _enum([
24165
24164
  "device-activity"
24166
24165
  ]);
24167
24166
  /**
24167
+ * What opened an on-motion detection SESSION: the motion source that passed the
24168
+ * camera's `motionSources` gate, and what raised it (the camera itself, or a
24169
+ * sensor the operator attached — D672). `sensorName` is the attached sensor's
24170
+ * device name as the orchestrator's camera-sensors resolution last read it;
24171
+ * absent when unknown or when the camera itself triggered.
24172
+ *
24173
+ * Carried on the session attach ONLY so the runner's `DetectionPhaseTransition`
24174
+ * can say what started the session (D672 rule 11, amended 2026-10-06). The
24175
+ * runner never decides anything on it.
24176
+ */
24177
+ var SessionTriggerSchema = object({
24178
+ source: MotionSourceEnum,
24179
+ triggeredBy: MotionTriggeredBySchema,
24180
+ sensorName: string().optional()
24181
+ });
24182
+ /**
24168
24183
  * List of motion sources active on a camera. Empty array is valid:
24169
24184
  * "no source" — happens for battery cams without firmware motion when
24170
24185
  * the operator hasn't opted into the SW analyzer (would hold the
@@ -24416,6 +24431,14 @@ var RunnerCameraConfigSchema = object({
24416
24431
  */
24417
24432
  motionSources: MotionSourcesSchema.default(["analyzer"]),
24418
24433
  /**
24434
+ * What opened this attach, on a SESSION attach only (see
24435
+ * {@link SessionTriggerSchema}). OPTIONAL with no default: absent on a
24436
+ * standing attach, an occupancy burst, a re-dispatch with no motion event
24437
+ * behind it, and every attach from an orchestrator older than the field — the
24438
+ * runner then names no source on the phase event.
24439
+ */
24440
+ sessionTrigger: SessionTriggerSchema.optional(),
24441
+ /**
24419
24442
  * WHICH root detector runs for this camera. The detection counterpart of
24420
24443
  * {@link motionSources}, same shape and same discipline: a per-camera list
24421
24444
  * of sources the system understands, vendor-agnostic, owned here.
@@ -30651,7 +30674,7 @@ var LocalInterfaceSchema = object({
30651
30674
  name: string(),
30652
30675
  family: _enum(["IPv4", "IPv6"]),
30653
30676
  address: string(),
30654
- /** CIDR shorthand (e.g. `192.168.x.x/24`). Empty when OS doesn't expose. */
30677
+ /** CIDR shorthand (e.g. `192.168.10.10/24`). Empty when OS doesn't expose. */
30655
30678
  cidr: string(),
30656
30679
  /** OS netmask. Stable across calls so the SDK can hash on it. */
30657
30680
  netmask: string(),
@@ -30705,7 +30728,8 @@ var ConnectionEndpointSchema = object({
30705
30728
  "lan-ipv4",
30706
30729
  "lan-ipv6",
30707
30730
  "public",
30708
- "loopback"
30731
+ "loopback",
30732
+ "app-link"
30709
30733
  ]),
30710
30734
  /**
30711
30735
  * Originating-interface kind — `lan`/`wifi`/`docker`/`vpn`/`other`/
@@ -30774,15 +30798,27 @@ var GetConnectionEndpointsResultSchema = object({
30774
30798
  localPort: AdvertisedLocalPortSchema
30775
30799
  });
30776
30800
  /**
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.
30801
+ * The address flagged for notification links. `baseUrl: null` = AUTO, which
30802
+ * since D709 is the CamStack app link; `resolved` reports the effective value,
30803
+ * so the UI can show it either way.
30780
30804
  */
30781
30805
  var NotificationEndpointSchema = object({
30782
30806
  /** The operator's explicit choice, or null for AUTO. */
30783
30807
  baseUrl: string().nullable(),
30784
- /** What the ranking currently resolves to (null when nothing is reachable). */
30785
- resolved: string().nullable()
30808
+ /**
30809
+ * The effective flagged address: the explicit choice, else (AUTO) the
30810
+ * CamStack app link `https://camstack.zentik.app` (D709). A pre-D709 hub
30811
+ * answered the public tunnel / mesh here, or null.
30812
+ */
30813
+ resolved: string().nullable(),
30814
+ /**
30815
+ * The hub origin an app link carries as `hub=` (D709): the hub's best
30816
+ * public HTTPS address — the tunnel, then the mesh (Tailscale MagicDNS) —
30817
+ * picked from this cap's own palette by `pickAppLinkHub`. `null` when the
30818
+ * hub advertises neither; the app link is then minted without `hub=`.
30819
+ * Absent on a pre-D709 hub.
30820
+ */
30821
+ appLinkHub: string().nullable()
30786
30822
  });
30787
30823
  /**
30788
30824
  * The URLs the SDK / viewer should race for API access. `baseUrls` empty =
@@ -30836,7 +30872,11 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
30836
30872
  * Pass `'https'` when the caller is itself loaded over HTTPS
30837
30873
  * to avoid mixed-content blocks in the browser. The public
30838
30874
  * tunnel always emits `https://` regardless. */
30839
- scheme: _enum(["http", "https"]).optional()
30875
+ scheme: _enum(["http", "https"]).optional(),
30876
+ /** Append the CamStack app link entry (`kind: 'app-link'`, D709) —
30877
+ * an address notification links can be flagged with, not a hub
30878
+ * route. Default `false`: racers and rankers never see it. */
30879
+ includeAppLink: boolean().optional()
30840
30880
  }), 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
30881
  kind: "mutation",
30842
30882
  auth: "admin"
@@ -31097,7 +31137,7 @@ var MeshPeerSchema = object({
31097
31137
  tags: array(string()).readonly(),
31098
31138
  /** True when the peer advertises itself as an exit-node candidate. */
31099
31139
  exitNodeOption: boolean(),
31100
- /** Subnet routes the peer advertises (e.g. `["192.168.x.x/24"]`). */
31140
+ /** Subnet routes the peer advertises (e.g. `["192.168.10.0/24"]`). */
31101
31141
  advertisedRoutes: array(string()).readonly(),
31102
31142
  /** Owner account login (e.g. `foo@example.com`). Null for tagged peers. */
31103
31143
  userLogin: string().nullable(),
@@ -32041,7 +32081,13 @@ var OsdStatusSchema = object({ overlays: array(object({
32041
32081
  */
32042
32082
  availablePositions: array(OsdPositionEnum).readonly(),
32043
32083
  /** Firmware does not allow editing the `text` field (e.g. timestamp). */
32044
- readOnly: boolean().optional()
32084
+ readOnly: boolean().optional(),
32085
+ /**
32086
+ * Firmware text ceiling for this overlay. Absent = no known limit.
32087
+ * The OSD manager truncates here on every write — never stores its own
32088
+ * copy on the binding.
32089
+ */
32090
+ maxCharacters: number().int().positive().optional()
32045
32091
  })).readonly() });
32046
32092
  var OsdOverlayPatchSchema = object({
32047
32093
  enabled: boolean().optional(),
@@ -32092,7 +32138,9 @@ var OsdTemplateBindingSchema = object({
32092
32138
  valuePath: string().min(1).max(64),
32093
32139
  /** Convert TO this unit at render (`tryConvertUnit`). Absent = source unit. */
32094
32140
  displayUnit: string().max(16).optional(),
32095
- maxDecimals: number().int().min(0).max(4).default(1)
32141
+ maxDecimals: number().int().min(0).max(4).default(1),
32142
+ /** Raw value → display text (same shape as slot binding). Empty string hides. */
32143
+ valueMap: record(string(), string()).optional()
32096
32144
  });
32097
32145
  /**
32098
32146
  * A named template: bindings (alias → leaf field) + a parser that
@@ -32142,18 +32190,11 @@ var OsdSlotBindingSchema = object({
32142
32190
  source: OsdSourceSchema,
32143
32191
  /** `${value}` and `${unit}` are substituted; every occurrence. */
32144
32192
  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
32193
  /**
32148
32194
  * Decimal places for a numeric value. `0` yields an integer — the
32149
32195
  * documented workaround for firmwares that reject `.` in overlay text.
32150
32196
  */
32151
32197
  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
32198
  /** Raw value → display text, e.g. `{"true":"MOTION","false":""}`. */
32158
32199
  valueMap: record(string(), string()).optional(),
32159
32200
  /** Time windows in which the slot is shown. Absent = always. */
@@ -32162,9 +32203,7 @@ var OsdSlotBindingSchema = object({
32162
32203
  * Display gate, in the notification centre's condition vocabulary.
32163
32204
  * Only the keys reported by `getConditionSupport` are accepted.
32164
32205
  */
32165
- conditions: NcConditionsSchema.optional(),
32166
- /** Rendered when the gate is closed or the value unreadable. Empty = hide. */
32167
- fallbackText: string().max(64).default("")
32206
+ conditions: NcConditionsSchema.optional()
32168
32207
  });
32169
32208
  /** One camera slot, as the operator sees it: firmware truth + our binding. */
32170
32209
  var OsdSlotViewSchema = object({
@@ -47848,12 +47887,14 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
47848
47887
  {
47849
47888
  id: "addons",
47850
47889
  family: "system",
47851
- label: "Addons",
47852
- kinds: [
47853
- "addon-crash-loop",
47854
- "addon-update-available",
47855
- "addon-updated"
47856
- ]
47890
+ label: "Addons stopped",
47891
+ kinds: ["addon-crash-loop"]
47892
+ },
47893
+ {
47894
+ id: "addon-updates",
47895
+ family: "system",
47896
+ label: "Addon updates",
47897
+ kinds: ["addon-update-available", "addon-updated"]
47857
47898
  },
47858
47899
  {
47859
47900
  id: "updates",
@@ -48013,13 +48054,15 @@ var STATE_SUMMARY_SECTION_VARS = [
48013
48054
  },
48014
48055
  {
48015
48056
  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
- ]
48057
+ label: "Summary: addons stopped",
48058
+ example: "hub — recorder stopped after repeated crashes",
48059
+ kinds: ["addon-crash-loop"]
48060
+ },
48061
+ {
48062
+ name: "summaryAddonUpdates",
48063
+ label: "Summary: addon updates",
48064
+ example: "hub:\n• @camstack/addon-recorder 1.2.3 → 1.2.4",
48065
+ kinds: ["addon-update-available", "addon-updated"]
48023
48066
  },
48024
48067
  {
48025
48068
  name: "summaryUpdates",
@@ -48103,6 +48146,7 @@ var STATE_SUMMARY_VARS = [
48103
48146
  [...RULE_BODY_ONLY],
48104
48147
  [...RULE_TEXT],
48105
48148
  ([...RULE_TEXT], [...DEVICE_EVENTS]),
48149
+ ([...RULE_TEXT], [...COMBINED_ALARM]),
48106
48150
  ([...RULE_TEXT], [...DEVICE_EVENTS]),
48107
48151
  ([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
48108
48152
  ([...RULE_TEXT], [...CONSUMABLE]),
@@ -48143,6 +48187,8 @@ var STATE_SUMMARY_VARS = [
48143
48187
  [...RULE_TEXT],
48144
48188
  [...RULE_TEXT],
48145
48189
  [...RULE_TEXT],
48190
+ [...RULE_TEXT],
48191
+ [...RULE_TEXT],
48146
48192
  ...STATE_SUMMARY_VARS
48147
48193
  ];
48148
48194
  new Set([
@@ -10743,11 +10743,11 @@ var ModelVariantGroupSchema = object({
10743
10743
  /** Quantization axis. Omit ⇒ the fp32 base build. */
10744
10744
  precision: _enum(["fp32", "int8"]).optional(),
10745
10745
  /**
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.
10746
+ * Training / latency-variant axis. Omit ⇒ the standard build. `test` marks
10747
+ * an alternate training of the same family (Scrypted `relu_test`); chip
10748
+ * label is "Test".
10749
10749
  */
10750
- optimization: _enum(["standard", "fast"]).optional(),
10750
+ optimization: _enum(["standard", "test"]).optional(),
10751
10751
  /**
10752
10752
  * Input-resolution axis (square input side, px). Omit ⇒ the family's native
10753
10753
  * resolution (640 for yolo26). Reduced-input builds (320 / 256) are a big,
@@ -10770,9 +10770,10 @@ var ModelProviderIdSchema = _enum([
10770
10770
  * are per upstream. A persisted custom-model row written when this field was a
10771
10771
  * string still parses — the string is lifted into `{ weights }`.
10772
10772
  *
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).
10773
+ * Every machine licence surface (`THIRD_PARTY_MODELS.md`, the Hugging Face
10774
+ * model table) is GENERATED from these records by
10775
+ * `scripts/gen-model-licenses.ts` (D661). Operator-facing docs live in
10776
+ * `camstack/docs` → `/docs/detection/models`.
10776
10777
  */
10777
10778
  var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { weights: value } : value, object({
10778
10779
  /** SPDX id of the WEIGHTS' terms, a `LicenseRef-*` for non-SPDX terms, or `UNKNOWN`. */
@@ -14327,7 +14328,7 @@ DeviceType.Camera;
14327
14328
  * This matters here more than anywhere else in the repo, because every provider
14328
14329
  * that knows a device's host knows its PASSWORD too: `{ host, port, username,
14329
14330
  * 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
14331
+ * and `http://admin:hunter2@192.168.60.139/` is a URL a browser accepts. The
14331
14332
  * camera's own page will ask for its own login. That is correct, and pre-
14332
14333
  * filling it is the operator's business, not ours.
14333
14334
  *
@@ -17336,7 +17337,7 @@ method(object({
17336
17337
  timeoutMs: 6e5
17337
17338
  });
17338
17339
  method(object({
17339
- nodeId: string(),
17340
+ targetNodeId: string(),
17340
17341
  modelId: string(),
17341
17342
  format: _enum(MODEL_FORMATS),
17342
17343
  entry: ModelCatalogEntrySchema
@@ -19802,8 +19803,9 @@ var NcRuleSchema = NcRuleInputSchema.extend({
19802
19803
  disabledTargetIds: array(string()).default([])
19803
19804
  });
19804
19805
  /**
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
19806
+ * The state-summary SECTIONS (D647 / D698 / D708): the D637 kind groups that
19807
+ * report a still-true state. `addons` is the crash-looped addons only and
19808
+ * `addon-updates` the addons that are behind (D708 split them). `backups-exports` and `alarm` are not sections — a completed
19807
19809
  * job is not an open state, and the alarm stays instant.
19808
19810
  */
19809
19811
  var NcStateSummarySectionIdSchema = _enum([
@@ -19815,6 +19817,7 @@ var NcStateSummarySectionIdSchema = _enum([
19815
19817
  "detection-blind",
19816
19818
  "nodes",
19817
19819
  "addons",
19820
+ "addon-updates",
19818
19821
  "updates"
19819
19822
  ]);
19820
19823
  /** One section of a previewed state summary. `unavailable` = its state could not be read. */
@@ -20295,7 +20298,19 @@ var NcAlarmModeDelaysListSchema = array(object({
20295
20298
  * When this mode may be armed. Absent / null = always allowed (same as a
20296
20299
  * rule with no `schedule`). Evaluated with {@link isScheduleActive}.
20297
20300
  */
20298
- schedule: NcScheduleSchema.optional()
20301
+ schedule: NcScheduleSchema.optional(),
20302
+ /**
20303
+ * D706: while this mode's ENTRY DELAY runs, do the alarm rules' own pushes go out (as an
20304
+ * intrusion naming the locations)? Absent = false — the entry-delay notification is the
20305
+ * only one, and the matches ride the triggered notification's mosaic (D705).
20306
+ */
20307
+ notifyDuringEntryDelay: boolean().optional(),
20308
+ /**
20309
+ * D706: notify "watched again" when a sensor this arm bypassed closes and opens again.
20310
+ * Absent = false (logged, not sent). Even when true it is not sent when that same sensor
20311
+ * is the one that starts the entry delay — the entry-delay notification already names it.
20312
+ */
20313
+ notifySensorRewatched: boolean().optional()
20299
20314
  })).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
20300
20315
  var NcAlarmModeDelaysEditListSchema = array(object({
20301
20316
  mode: AlarmArmModeSchema,
@@ -20304,7 +20319,11 @@ var NcAlarmModeDelaysEditListSchema = array(object({
20304
20319
  triggeredDurationSec: NcAlarmTriggeredSecSchema.nullable().optional(),
20305
20320
  postTriggeredAction: NcAlarmPostTriggeredActionSchema.nullable().optional(),
20306
20321
  /** Set a schedule, or `null` to clear (mode always allowed again). */
20307
- schedule: NcScheduleSchema.nullable().optional()
20322
+ schedule: NcScheduleSchema.nullable().optional(),
20323
+ /** D706: set the switch, or `null` to clear it (back to the default, false). */
20324
+ notifyDuringEntryDelay: boolean().nullable().optional(),
20325
+ /** D706: set the switch, or `null` to clear it (back to the default, false). */
20326
+ notifySensorRewatched: boolean().nullable().optional()
20308
20327
  })).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
20309
20328
  /** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
20310
20329
  var NcAlarmNonBlockingEditSchema = object({
@@ -21281,39 +21300,19 @@ Object.freeze(Object.fromEntries([{
21281
21300
  label: "Face recognition model",
21282
21301
  defaultModelId: "auraface-r100",
21283
21302
  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
- ]
21303
+ options: [{
21304
+ id: "auraface-r100",
21305
+ label: "AuraFace R100"
21306
+ }]
21298
21307
  }, {
21299
21308
  stepId: "clip-embedding",
21300
21309
  label: "Semantic search model",
21301
- defaultModelId: "mobileclip-s1",
21310
+ defaultModelId: "siglip2-b16-224",
21302
21311
  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
- ]
21312
+ options: [{
21313
+ id: "siglip2-b16-224",
21314
+ label: "SigLIP2 B/16 (Apache-2.0)"
21315
+ }]
21317
21316
  }].map((s) => [s.stepId, s.defaultModelId])));
21318
21317
  var CLUSTER_STEP_SETTING_FIELDS = [{
21319
21318
  stepId: "face-embedding",
@@ -24161,6 +24160,22 @@ var MotionSourceEnum = _enum([
24161
24160
  "device-activity"
24162
24161
  ]);
24163
24162
  /**
24163
+ * What opened an on-motion detection SESSION: the motion source that passed the
24164
+ * camera's `motionSources` gate, and what raised it (the camera itself, or a
24165
+ * sensor the operator attached — D672). `sensorName` is the attached sensor's
24166
+ * device name as the orchestrator's camera-sensors resolution last read it;
24167
+ * absent when unknown or when the camera itself triggered.
24168
+ *
24169
+ * Carried on the session attach ONLY so the runner's `DetectionPhaseTransition`
24170
+ * can say what started the session (D672 rule 11, amended 2026-10-06). The
24171
+ * runner never decides anything on it.
24172
+ */
24173
+ var SessionTriggerSchema = object({
24174
+ source: MotionSourceEnum,
24175
+ triggeredBy: MotionTriggeredBySchema,
24176
+ sensorName: string().optional()
24177
+ });
24178
+ /**
24164
24179
  * List of motion sources active on a camera. Empty array is valid:
24165
24180
  * "no source" — happens for battery cams without firmware motion when
24166
24181
  * the operator hasn't opted into the SW analyzer (would hold the
@@ -24412,6 +24427,14 @@ var RunnerCameraConfigSchema = object({
24412
24427
  */
24413
24428
  motionSources: MotionSourcesSchema.default(["analyzer"]),
24414
24429
  /**
24430
+ * What opened this attach, on a SESSION attach only (see
24431
+ * {@link SessionTriggerSchema}). OPTIONAL with no default: absent on a
24432
+ * standing attach, an occupancy burst, a re-dispatch with no motion event
24433
+ * behind it, and every attach from an orchestrator older than the field — the
24434
+ * runner then names no source on the phase event.
24435
+ */
24436
+ sessionTrigger: SessionTriggerSchema.optional(),
24437
+ /**
24415
24438
  * WHICH root detector runs for this camera. The detection counterpart of
24416
24439
  * {@link motionSources}, same shape and same discipline: a per-camera list
24417
24440
  * of sources the system understands, vendor-agnostic, owned here.
@@ -30647,7 +30670,7 @@ var LocalInterfaceSchema = object({
30647
30670
  name: string(),
30648
30671
  family: _enum(["IPv4", "IPv6"]),
30649
30672
  address: string(),
30650
- /** CIDR shorthand (e.g. `192.168.x.x/24`). Empty when OS doesn't expose. */
30673
+ /** CIDR shorthand (e.g. `192.168.10.10/24`). Empty when OS doesn't expose. */
30651
30674
  cidr: string(),
30652
30675
  /** OS netmask. Stable across calls so the SDK can hash on it. */
30653
30676
  netmask: string(),
@@ -30701,7 +30724,8 @@ var ConnectionEndpointSchema = object({
30701
30724
  "lan-ipv4",
30702
30725
  "lan-ipv6",
30703
30726
  "public",
30704
- "loopback"
30727
+ "loopback",
30728
+ "app-link"
30705
30729
  ]),
30706
30730
  /**
30707
30731
  * Originating-interface kind — `lan`/`wifi`/`docker`/`vpn`/`other`/
@@ -30770,15 +30794,27 @@ var GetConnectionEndpointsResultSchema = object({
30770
30794
  localPort: AdvertisedLocalPortSchema
30771
30795
  });
30772
30796
  /**
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.
30797
+ * The address flagged for notification links. `baseUrl: null` = AUTO, which
30798
+ * since D709 is the CamStack app link; `resolved` reports the effective value,
30799
+ * so the UI can show it either way.
30776
30800
  */
30777
30801
  var NotificationEndpointSchema = object({
30778
30802
  /** The operator's explicit choice, or null for AUTO. */
30779
30803
  baseUrl: string().nullable(),
30780
- /** What the ranking currently resolves to (null when nothing is reachable). */
30781
- resolved: string().nullable()
30804
+ /**
30805
+ * The effective flagged address: the explicit choice, else (AUTO) the
30806
+ * CamStack app link `https://camstack.zentik.app` (D709). A pre-D709 hub
30807
+ * answered the public tunnel / mesh here, or null.
30808
+ */
30809
+ resolved: string().nullable(),
30810
+ /**
30811
+ * The hub origin an app link carries as `hub=` (D709): the hub's best
30812
+ * public HTTPS address — the tunnel, then the mesh (Tailscale MagicDNS) —
30813
+ * picked from this cap's own palette by `pickAppLinkHub`. `null` when the
30814
+ * hub advertises neither; the app link is then minted without `hub=`.
30815
+ * Absent on a pre-D709 hub.
30816
+ */
30817
+ appLinkHub: string().nullable()
30782
30818
  });
30783
30819
  /**
30784
30820
  * The URLs the SDK / viewer should race for API access. `baseUrls` empty =
@@ -30832,7 +30868,11 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
30832
30868
  * Pass `'https'` when the caller is itself loaded over HTTPS
30833
30869
  * to avoid mixed-content blocks in the browser. The public
30834
30870
  * tunnel always emits `https://` regardless. */
30835
- scheme: _enum(["http", "https"]).optional()
30871
+ scheme: _enum(["http", "https"]).optional(),
30872
+ /** Append the CamStack app link entry (`kind: 'app-link'`, D709) —
30873
+ * an address notification links can be flagged with, not a hub
30874
+ * route. Default `false`: racers and rankers never see it. */
30875
+ includeAppLink: boolean().optional()
30836
30876
  }), 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
30877
  kind: "mutation",
30838
30878
  auth: "admin"
@@ -31093,7 +31133,7 @@ var MeshPeerSchema = object({
31093
31133
  tags: array(string()).readonly(),
31094
31134
  /** True when the peer advertises itself as an exit-node candidate. */
31095
31135
  exitNodeOption: boolean(),
31096
- /** Subnet routes the peer advertises (e.g. `["192.168.x.x/24"]`). */
31136
+ /** Subnet routes the peer advertises (e.g. `["192.168.10.0/24"]`). */
31097
31137
  advertisedRoutes: array(string()).readonly(),
31098
31138
  /** Owner account login (e.g. `foo@example.com`). Null for tagged peers. */
31099
31139
  userLogin: string().nullable(),
@@ -32037,7 +32077,13 @@ var OsdStatusSchema = object({ overlays: array(object({
32037
32077
  */
32038
32078
  availablePositions: array(OsdPositionEnum).readonly(),
32039
32079
  /** Firmware does not allow editing the `text` field (e.g. timestamp). */
32040
- readOnly: boolean().optional()
32080
+ readOnly: boolean().optional(),
32081
+ /**
32082
+ * Firmware text ceiling for this overlay. Absent = no known limit.
32083
+ * The OSD manager truncates here on every write — never stores its own
32084
+ * copy on the binding.
32085
+ */
32086
+ maxCharacters: number().int().positive().optional()
32041
32087
  })).readonly() });
32042
32088
  var OsdOverlayPatchSchema = object({
32043
32089
  enabled: boolean().optional(),
@@ -32088,7 +32134,9 @@ var OsdTemplateBindingSchema = object({
32088
32134
  valuePath: string().min(1).max(64),
32089
32135
  /** Convert TO this unit at render (`tryConvertUnit`). Absent = source unit. */
32090
32136
  displayUnit: string().max(16).optional(),
32091
- maxDecimals: number().int().min(0).max(4).default(1)
32137
+ maxDecimals: number().int().min(0).max(4).default(1),
32138
+ /** Raw value → display text (same shape as slot binding). Empty string hides. */
32139
+ valueMap: record(string(), string()).optional()
32092
32140
  });
32093
32141
  /**
32094
32142
  * A named template: bindings (alias → leaf field) + a parser that
@@ -32138,18 +32186,11 @@ var OsdSlotBindingSchema = object({
32138
32186
  source: OsdSourceSchema,
32139
32187
  /** `${value}` and `${unit}` are substituted; every occurrence. */
32140
32188
  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
32189
  /**
32144
32190
  * Decimal places for a numeric value. `0` yields an integer — the
32145
32191
  * documented workaround for firmwares that reject `.` in overlay text.
32146
32192
  */
32147
32193
  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
32194
  /** Raw value → display text, e.g. `{"true":"MOTION","false":""}`. */
32154
32195
  valueMap: record(string(), string()).optional(),
32155
32196
  /** Time windows in which the slot is shown. Absent = always. */
@@ -32158,9 +32199,7 @@ var OsdSlotBindingSchema = object({
32158
32199
  * Display gate, in the notification centre's condition vocabulary.
32159
32200
  * Only the keys reported by `getConditionSupport` are accepted.
32160
32201
  */
32161
- conditions: NcConditionsSchema.optional(),
32162
- /** Rendered when the gate is closed or the value unreadable. Empty = hide. */
32163
- fallbackText: string().max(64).default("")
32202
+ conditions: NcConditionsSchema.optional()
32164
32203
  });
32165
32204
  /** One camera slot, as the operator sees it: firmware truth + our binding. */
32166
32205
  var OsdSlotViewSchema = object({
@@ -47844,12 +47883,14 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
47844
47883
  {
47845
47884
  id: "addons",
47846
47885
  family: "system",
47847
- label: "Addons",
47848
- kinds: [
47849
- "addon-crash-loop",
47850
- "addon-update-available",
47851
- "addon-updated"
47852
- ]
47886
+ label: "Addons stopped",
47887
+ kinds: ["addon-crash-loop"]
47888
+ },
47889
+ {
47890
+ id: "addon-updates",
47891
+ family: "system",
47892
+ label: "Addon updates",
47893
+ kinds: ["addon-update-available", "addon-updated"]
47853
47894
  },
47854
47895
  {
47855
47896
  id: "updates",
@@ -48009,13 +48050,15 @@ var STATE_SUMMARY_SECTION_VARS = [
48009
48050
  },
48010
48051
  {
48011
48052
  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
- ]
48053
+ label: "Summary: addons stopped",
48054
+ example: "hub — recorder stopped after repeated crashes",
48055
+ kinds: ["addon-crash-loop"]
48056
+ },
48057
+ {
48058
+ name: "summaryAddonUpdates",
48059
+ label: "Summary: addon updates",
48060
+ example: "hub:\n• @camstack/addon-recorder 1.2.3 → 1.2.4",
48061
+ kinds: ["addon-update-available", "addon-updated"]
48019
48062
  },
48020
48063
  {
48021
48064
  name: "summaryUpdates",
@@ -48099,6 +48142,7 @@ var STATE_SUMMARY_VARS = [
48099
48142
  [...RULE_BODY_ONLY],
48100
48143
  [...RULE_TEXT],
48101
48144
  ([...RULE_TEXT], [...DEVICE_EVENTS]),
48145
+ ([...RULE_TEXT], [...COMBINED_ALARM]),
48102
48146
  ([...RULE_TEXT], [...DEVICE_EVENTS]),
48103
48147
  ([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
48104
48148
  ([...RULE_TEXT], [...CONSUMABLE]),
@@ -48139,6 +48183,8 @@ var STATE_SUMMARY_VARS = [
48139
48183
  [...RULE_TEXT],
48140
48184
  [...RULE_TEXT],
48141
48185
  [...RULE_TEXT],
48186
+ [...RULE_TEXT],
48187
+ [...RULE_TEXT],
48142
48188
  ...STATE_SUMMARY_VARS
48143
48189
  ];
48144
48190
  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.84",
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",