@camstack/types 1.2.352 → 1.2.353

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_sleep = require("./sleep-BwkkI2wP.js");
3
- const require_event_category = require("./event-category-CHduMGvg.js");
2
+ const require_sleep = require("./sleep-SgkKj2bk.js");
3
+ const require_event_category = require("./event-category-T43rdQWR.js");
4
4
  const require_err_msg = require("./err-msg-Dx2Kor0g.js");
5
5
  //#region src/generated/cap-input-defaults.ts
6
6
  /**
package/dist/addon.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { $t as normalizeSecretOwner, A as adminUiCapability, At as PEER_BYTES_MAX_OUTSTANDING, C as deviceOpsCapability, Ct as clearKnownSecrets, Dt as scrubKnownSecrets, Et as registerKnownSecret, I as expandCapMethods, It as DisposerChain, Jt as arrayItemFieldPath, K as ReadinessRegistry, Lt as BaseAddon, Mt as PEER_BYTES_TICKET_TTL_MS, O as describeCustomActions, Ot as shortSecretRefHash, Pt as DATAPLANE_SECRET_HEADER, Qt as isSecretRef, Rt as normalizeAddonInitResult, St as MIN_SCRUBBED_LENGTH, T as DEVICE_CHILDREN_BATCH_MAX, Tt as knownSecretCount, U as nodePin, W as readNodePin, X as scopeKey, Xt as formatSecretScope, Yt as buildSecretRef, Zt as globalSecretScope, _n as isSecretMarkerLike, a as asJsonObject, b as collectZodSecretPaths, bt as REVALIDATE_AFTER_MS, d as BOOT_RECOVERY_BACKOFF_MS, en as parseSecretRef, f as DEVICE_SCOPED_CAPS, fn as SECRET_CLEAR, gn as isSecretMarker, h as createEventBusSliceSource, hn as isSecretFieldView, in as emitReadiness, jt as PEER_BYTES_STALL_MS, kt as PEER_BYTES_CHUNK_BYTES, m as createDeviceProxy, mn as isSecretClear, p as isDeviceScopedCap, pn as classifySecretWrite, q as ReadinessTimeoutError, qt as SECRET_REF_SCHEME, s as asString, t as sleep, u as parseJsonUnknown, vn as makeSecretMarker, w as viewerUiCapability, wt as forgetKnownSecret, x as isZodSecret, xt as createSecretsAccess, yn as toSecretFieldView, yt as resolveSecretViewsIn } from "./sleep-DwAQ9sqX.mjs";
2
- import { t as EventCategory } from "./event-category-DaIZi00R.mjs";
1
+ import { $t as normalizeSecretOwner, A as adminUiCapability, At as PEER_BYTES_MAX_OUTSTANDING, C as deviceOpsCapability, Ct as clearKnownSecrets, Dt as scrubKnownSecrets, Et as registerKnownSecret, I as expandCapMethods, It as DisposerChain, Jt as arrayItemFieldPath, K as ReadinessRegistry, Lt as BaseAddon, Mt as PEER_BYTES_TICKET_TTL_MS, O as describeCustomActions, Ot as shortSecretRefHash, Pt as DATAPLANE_SECRET_HEADER, Qt as isSecretRef, Rt as normalizeAddonInitResult, St as MIN_SCRUBBED_LENGTH, T as DEVICE_CHILDREN_BATCH_MAX, Tt as knownSecretCount, U as nodePin, W as readNodePin, X as scopeKey, Xt as formatSecretScope, Yt as buildSecretRef, Zt as globalSecretScope, _n as isSecretMarkerLike, a as asJsonObject, b as collectZodSecretPaths, bt as REVALIDATE_AFTER_MS, d as BOOT_RECOVERY_BACKOFF_MS, en as parseSecretRef, f as DEVICE_SCOPED_CAPS, fn as SECRET_CLEAR, gn as isSecretMarker, h as createEventBusSliceSource, hn as isSecretFieldView, in as emitReadiness, jt as PEER_BYTES_STALL_MS, kt as PEER_BYTES_CHUNK_BYTES, m as createDeviceProxy, mn as isSecretClear, p as isDeviceScopedCap, pn as classifySecretWrite, q as ReadinessTimeoutError, qt as SECRET_REF_SCHEME, s as asString, t as sleep, u as parseJsonUnknown, vn as makeSecretMarker, w as viewerUiCapability, wt as forgetKnownSecret, x as isZodSecret, xt as createSecretsAccess, yn as toSecretFieldView, yt as resolveSecretViewsIn } from "./sleep-Tkp9dHXv.mjs";
2
+ import { t as EventCategory } from "./event-category-C4hVnRo8.mjs";
3
3
  import { a as DeviceType, t as errMsg } from "./err-msg-DX6i_MY4.mjs";
4
4
  //#region src/generated/cap-input-defaults.ts
5
5
  /**
@@ -101,8 +101,14 @@ export declare const NcSystemEventKindSchema: z.ZodEnum<{
101
101
  "node-online": "node-online";
102
102
  "node-restarting": "node-restarting";
103
103
  "node-updating": "node-updating";
104
+ "recording-degraded": "recording-degraded";
105
+ "recording-healthy": "recording-healthy";
106
+ "recording-stalled": "recording-stalled";
104
107
  "server-update-available": "server-update-available";
105
108
  "server-updated": "server-updated";
109
+ "storage-location-critical": "storage-location-critical";
110
+ "storage-location-low": "storage-location-low";
111
+ "storage-location-ok": "storage-location-ok";
106
112
  "stream-offline": "stream-offline";
107
113
  "stream-online": "stream-online";
108
114
  "wrapper-update-available": "wrapper-update-available";
@@ -200,8 +206,14 @@ export declare const NcSystemEventConditionSchema: z.ZodObject<{
200
206
  "node-online": "node-online";
201
207
  "node-restarting": "node-restarting";
202
208
  "node-updating": "node-updating";
209
+ "recording-degraded": "recording-degraded";
210
+ "recording-healthy": "recording-healthy";
211
+ "recording-stalled": "recording-stalled";
203
212
  "server-update-available": "server-update-available";
204
213
  "server-updated": "server-updated";
214
+ "storage-location-critical": "storage-location-critical";
215
+ "storage-location-low": "storage-location-low";
216
+ "storage-location-ok": "storage-location-ok";
205
217
  "stream-offline": "stream-offline";
206
218
  "stream-online": "stream-online";
207
219
  "wrapper-update-available": "wrapper-update-available";
@@ -920,8 +932,14 @@ export declare const NcConditionsSchema: z.ZodObject<{
920
932
  "node-online": "node-online";
921
933
  "node-restarting": "node-restarting";
922
934
  "node-updating": "node-updating";
935
+ "recording-degraded": "recording-degraded";
936
+ "recording-healthy": "recording-healthy";
937
+ "recording-stalled": "recording-stalled";
923
938
  "server-update-available": "server-update-available";
924
939
  "server-updated": "server-updated";
940
+ "storage-location-critical": "storage-location-critical";
941
+ "storage-location-low": "storage-location-low";
942
+ "storage-location-ok": "storage-location-ok";
925
943
  "stream-offline": "stream-offline";
926
944
  "stream-online": "stream-online";
927
945
  "wrapper-update-available": "wrapper-update-available";
@@ -1280,8 +1298,14 @@ export declare const NcRuleInputSchema: z.ZodObject<{
1280
1298
  "node-online": "node-online";
1281
1299
  "node-restarting": "node-restarting";
1282
1300
  "node-updating": "node-updating";
1301
+ "recording-degraded": "recording-degraded";
1302
+ "recording-healthy": "recording-healthy";
1303
+ "recording-stalled": "recording-stalled";
1283
1304
  "server-update-available": "server-update-available";
1284
1305
  "server-updated": "server-updated";
1306
+ "storage-location-critical": "storage-location-critical";
1307
+ "storage-location-low": "storage-location-low";
1308
+ "storage-location-ok": "storage-location-ok";
1285
1309
  "stream-offline": "stream-offline";
1286
1310
  "stream-online": "stream-online";
1287
1311
  "wrapper-update-available": "wrapper-update-available";
@@ -1786,8 +1810,14 @@ export declare const NcRulePatchSchema: z.ZodObject<{
1786
1810
  "node-online": "node-online";
1787
1811
  "node-restarting": "node-restarting";
1788
1812
  "node-updating": "node-updating";
1813
+ "recording-degraded": "recording-degraded";
1814
+ "recording-healthy": "recording-healthy";
1815
+ "recording-stalled": "recording-stalled";
1789
1816
  "server-update-available": "server-update-available";
1790
1817
  "server-updated": "server-updated";
1818
+ "storage-location-critical": "storage-location-critical";
1819
+ "storage-location-low": "storage-location-low";
1820
+ "storage-location-ok": "storage-location-ok";
1791
1821
  "stream-offline": "stream-offline";
1792
1822
  "stream-online": "stream-online";
1793
1823
  "wrapper-update-available": "wrapper-update-available";
@@ -2169,8 +2199,14 @@ export declare const NcRuleUpdateInputSchema: z.ZodObject<{
2169
2199
  "node-online": "node-online";
2170
2200
  "node-restarting": "node-restarting";
2171
2201
  "node-updating": "node-updating";
2202
+ "recording-degraded": "recording-degraded";
2203
+ "recording-healthy": "recording-healthy";
2204
+ "recording-stalled": "recording-stalled";
2172
2205
  "server-update-available": "server-update-available";
2173
2206
  "server-updated": "server-updated";
2207
+ "storage-location-critical": "storage-location-critical";
2208
+ "storage-location-low": "storage-location-low";
2209
+ "storage-location-ok": "storage-location-ok";
2174
2210
  "stream-offline": "stream-offline";
2175
2211
  "stream-online": "stream-online";
2176
2212
  "wrapper-update-available": "wrapper-update-available";
@@ -2373,8 +2409,14 @@ export declare const NcRuleSchema: z.ZodObject<{
2373
2409
  "node-online": "node-online";
2374
2410
  "node-restarting": "node-restarting";
2375
2411
  "node-updating": "node-updating";
2412
+ "recording-degraded": "recording-degraded";
2413
+ "recording-healthy": "recording-healthy";
2414
+ "recording-stalled": "recording-stalled";
2376
2415
  "server-update-available": "server-update-available";
2377
2416
  "server-updated": "server-updated";
2417
+ "storage-location-critical": "storage-location-critical";
2418
+ "storage-location-low": "storage-location-low";
2419
+ "storage-location-ok": "storage-location-ok";
2378
2420
  "stream-offline": "stream-offline";
2379
2421
  "stream-online": "stream-online";
2380
2422
  "wrapper-update-available": "wrapper-update-available";
@@ -2896,8 +2938,14 @@ export declare const NcTemplateVarDescriptorSchema: z.ZodObject<{
2896
2938
  "node-online": "node-online";
2897
2939
  "node-restarting": "node-restarting";
2898
2940
  "node-updating": "node-updating";
2941
+ "recording-degraded": "recording-degraded";
2942
+ "recording-healthy": "recording-healthy";
2943
+ "recording-stalled": "recording-stalled";
2899
2944
  "server-update-available": "server-update-available";
2900
2945
  "server-updated": "server-updated";
2946
+ "storage-location-critical": "storage-location-critical";
2947
+ "storage-location-low": "storage-location-low";
2948
+ "storage-location-ok": "storage-location-ok";
2901
2949
  "stream-offline": "stream-offline";
2902
2950
  "stream-online": "stream-online";
2903
2951
  "wrapper-update-available": "wrapper-update-available";
@@ -2978,8 +3026,14 @@ export declare const NcTemplateVarContextSchema: z.ZodObject<{
2978
3026
  "node-online": "node-online";
2979
3027
  "node-restarting": "node-restarting";
2980
3028
  "node-updating": "node-updating";
3029
+ "recording-degraded": "recording-degraded";
3030
+ "recording-healthy": "recording-healthy";
3031
+ "recording-stalled": "recording-stalled";
2981
3032
  "server-update-available": "server-update-available";
2982
3033
  "server-updated": "server-updated";
3034
+ "storage-location-critical": "storage-location-critical";
3035
+ "storage-location-low": "storage-location-low";
3036
+ "storage-location-ok": "storage-location-ok";
2983
3037
  "stream-offline": "stream-offline";
2984
3038
  "stream-online": "stream-online";
2985
3039
  "wrapper-update-available": "wrapper-update-available";
@@ -3057,8 +3111,14 @@ export declare const NcTemplatePreviewInputSchema: z.ZodObject<{
3057
3111
  "node-online": "node-online";
3058
3112
  "node-restarting": "node-restarting";
3059
3113
  "node-updating": "node-updating";
3114
+ "recording-degraded": "recording-degraded";
3115
+ "recording-healthy": "recording-healthy";
3116
+ "recording-stalled": "recording-stalled";
3060
3117
  "server-update-available": "server-update-available";
3061
3118
  "server-updated": "server-updated";
3119
+ "storage-location-critical": "storage-location-critical";
3120
+ "storage-location-low": "storage-location-low";
3121
+ "storage-location-ok": "storage-location-ok";
3062
3122
  "stream-offline": "stream-offline";
3063
3123
  "stream-online": "stream-online";
3064
3124
  "wrapper-update-available": "wrapper-update-available";
@@ -3218,8 +3278,14 @@ export declare const NcHistorySubjectSchema: z.ZodObject<{
3218
3278
  "node-online": "node-online";
3219
3279
  "node-restarting": "node-restarting";
3220
3280
  "node-updating": "node-updating";
3281
+ "recording-degraded": "recording-degraded";
3282
+ "recording-healthy": "recording-healthy";
3283
+ "recording-stalled": "recording-stalled";
3221
3284
  "server-update-available": "server-update-available";
3222
3285
  "server-updated": "server-updated";
3286
+ "storage-location-critical": "storage-location-critical";
3287
+ "storage-location-low": "storage-location-low";
3288
+ "storage-location-ok": "storage-location-ok";
3223
3289
  "stream-offline": "stream-offline";
3224
3290
  "stream-online": "stream-online";
3225
3291
  "wrapper-update-available": "wrapper-update-available";
@@ -3316,8 +3382,14 @@ export declare const NcHistoryEntrySchema: z.ZodObject<{
3316
3382
  "node-online": "node-online";
3317
3383
  "node-restarting": "node-restarting";
3318
3384
  "node-updating": "node-updating";
3385
+ "recording-degraded": "recording-degraded";
3386
+ "recording-healthy": "recording-healthy";
3387
+ "recording-stalled": "recording-stalled";
3319
3388
  "server-update-available": "server-update-available";
3320
3389
  "server-updated": "server-updated";
3390
+ "storage-location-critical": "storage-location-critical";
3391
+ "storage-location-low": "storage-location-low";
3392
+ "storage-location-ok": "storage-location-ok";
3321
3393
  "stream-offline": "stream-offline";
3322
3394
  "stream-online": "stream-online";
3323
3395
  "wrapper-update-available": "wrapper-update-available";
@@ -4412,8 +4484,14 @@ export declare const notificationRulesCapability: {
4412
4484
  "node-online": "node-online";
4413
4485
  "node-restarting": "node-restarting";
4414
4486
  "node-updating": "node-updating";
4487
+ "recording-degraded": "recording-degraded";
4488
+ "recording-healthy": "recording-healthy";
4489
+ "recording-stalled": "recording-stalled";
4415
4490
  "server-update-available": "server-update-available";
4416
4491
  "server-updated": "server-updated";
4492
+ "storage-location-critical": "storage-location-critical";
4493
+ "storage-location-low": "storage-location-low";
4494
+ "storage-location-ok": "storage-location-ok";
4417
4495
  "stream-offline": "stream-offline";
4418
4496
  "stream-online": "stream-online";
4419
4497
  "wrapper-update-available": "wrapper-update-available";
@@ -4763,8 +4841,14 @@ export declare const notificationRulesCapability: {
4763
4841
  "node-online": "node-online";
4764
4842
  "node-restarting": "node-restarting";
4765
4843
  "node-updating": "node-updating";
4844
+ "recording-degraded": "recording-degraded";
4845
+ "recording-healthy": "recording-healthy";
4846
+ "recording-stalled": "recording-stalled";
4766
4847
  "server-update-available": "server-update-available";
4767
4848
  "server-updated": "server-updated";
4849
+ "storage-location-critical": "storage-location-critical";
4850
+ "storage-location-low": "storage-location-low";
4851
+ "storage-location-ok": "storage-location-ok";
4768
4852
  "stream-offline": "stream-offline";
4769
4853
  "stream-online": "stream-online";
4770
4854
  "wrapper-update-available": "wrapper-update-available";
@@ -5112,8 +5196,14 @@ export declare const notificationRulesCapability: {
5112
5196
  "node-online": "node-online";
5113
5197
  "node-restarting": "node-restarting";
5114
5198
  "node-updating": "node-updating";
5199
+ "recording-degraded": "recording-degraded";
5200
+ "recording-healthy": "recording-healthy";
5201
+ "recording-stalled": "recording-stalled";
5115
5202
  "server-update-available": "server-update-available";
5116
5203
  "server-updated": "server-updated";
5204
+ "storage-location-critical": "storage-location-critical";
5205
+ "storage-location-low": "storage-location-low";
5206
+ "storage-location-ok": "storage-location-ok";
5117
5207
  "stream-offline": "stream-offline";
5118
5208
  "stream-online": "stream-online";
5119
5209
  "wrapper-update-available": "wrapper-update-available";
@@ -5455,8 +5545,14 @@ export declare const notificationRulesCapability: {
5455
5545
  "node-online": "node-online";
5456
5546
  "node-restarting": "node-restarting";
5457
5547
  "node-updating": "node-updating";
5548
+ "recording-degraded": "recording-degraded";
5549
+ "recording-healthy": "recording-healthy";
5550
+ "recording-stalled": "recording-stalled";
5458
5551
  "server-update-available": "server-update-available";
5459
5552
  "server-updated": "server-updated";
5553
+ "storage-location-critical": "storage-location-critical";
5554
+ "storage-location-low": "storage-location-low";
5555
+ "storage-location-ok": "storage-location-ok";
5460
5556
  "stream-offline": "stream-offline";
5461
5557
  "stream-online": "stream-online";
5462
5558
  "wrapper-update-available": "wrapper-update-available";
@@ -5961,8 +6057,14 @@ export declare const notificationRulesCapability: {
5961
6057
  "node-online": "node-online";
5962
6058
  "node-restarting": "node-restarting";
5963
6059
  "node-updating": "node-updating";
6060
+ "recording-degraded": "recording-degraded";
6061
+ "recording-healthy": "recording-healthy";
6062
+ "recording-stalled": "recording-stalled";
5964
6063
  "server-update-available": "server-update-available";
5965
6064
  "server-updated": "server-updated";
6065
+ "storage-location-critical": "storage-location-critical";
6066
+ "storage-location-low": "storage-location-low";
6067
+ "storage-location-ok": "storage-location-ok";
5966
6068
  "stream-offline": "stream-offline";
5967
6069
  "stream-online": "stream-online";
5968
6070
  "wrapper-update-available": "wrapper-update-available";
@@ -6163,8 +6265,14 @@ export declare const notificationRulesCapability: {
6163
6265
  "node-online": "node-online";
6164
6266
  "node-restarting": "node-restarting";
6165
6267
  "node-updating": "node-updating";
6268
+ "recording-degraded": "recording-degraded";
6269
+ "recording-healthy": "recording-healthy";
6270
+ "recording-stalled": "recording-stalled";
6166
6271
  "server-update-available": "server-update-available";
6167
6272
  "server-updated": "server-updated";
6273
+ "storage-location-critical": "storage-location-critical";
6274
+ "storage-location-low": "storage-location-low";
6275
+ "storage-location-ok": "storage-location-ok";
6168
6276
  "stream-offline": "stream-offline";
6169
6277
  "stream-online": "stream-online";
6170
6278
  "wrapper-update-available": "wrapper-update-available";
@@ -6705,8 +6813,14 @@ export declare const notificationRulesCapability: {
6705
6813
  "node-online": "node-online";
6706
6814
  "node-restarting": "node-restarting";
6707
6815
  "node-updating": "node-updating";
6816
+ "recording-degraded": "recording-degraded";
6817
+ "recording-healthy": "recording-healthy";
6818
+ "recording-stalled": "recording-stalled";
6708
6819
  "server-update-available": "server-update-available";
6709
6820
  "server-updated": "server-updated";
6821
+ "storage-location-critical": "storage-location-critical";
6822
+ "storage-location-low": "storage-location-low";
6823
+ "storage-location-ok": "storage-location-ok";
6710
6824
  "stream-offline": "stream-offline";
6711
6825
  "stream-online": "stream-online";
6712
6826
  "wrapper-update-available": "wrapper-update-available";
@@ -7073,8 +7187,14 @@ export declare const notificationRulesCapability: {
7073
7187
  "node-online": "node-online";
7074
7188
  "node-restarting": "node-restarting";
7075
7189
  "node-updating": "node-updating";
7190
+ "recording-degraded": "recording-degraded";
7191
+ "recording-healthy": "recording-healthy";
7192
+ "recording-stalled": "recording-stalled";
7076
7193
  "server-update-available": "server-update-available";
7077
7194
  "server-updated": "server-updated";
7195
+ "storage-location-critical": "storage-location-critical";
7196
+ "storage-location-low": "storage-location-low";
7197
+ "storage-location-ok": "storage-location-ok";
7078
7198
  "stream-offline": "stream-offline";
7079
7199
  "stream-online": "stream-online";
7080
7200
  "wrapper-update-available": "wrapper-update-available";
@@ -7526,8 +7646,14 @@ export declare const notificationRulesCapability: {
7526
7646
  "node-online": "node-online";
7527
7647
  "node-restarting": "node-restarting";
7528
7648
  "node-updating": "node-updating";
7649
+ "recording-degraded": "recording-degraded";
7650
+ "recording-healthy": "recording-healthy";
7651
+ "recording-stalled": "recording-stalled";
7529
7652
  "server-update-available": "server-update-available";
7530
7653
  "server-updated": "server-updated";
7654
+ "storage-location-critical": "storage-location-critical";
7655
+ "storage-location-low": "storage-location-low";
7656
+ "storage-location-ok": "storage-location-ok";
7531
7657
  "stream-offline": "stream-offline";
7532
7658
  "stream-online": "stream-online";
7533
7659
  "wrapper-update-available": "wrapper-update-available";
@@ -7614,8 +7740,14 @@ export declare const notificationRulesCapability: {
7614
7740
  "node-online": "node-online";
7615
7741
  "node-restarting": "node-restarting";
7616
7742
  "node-updating": "node-updating";
7743
+ "recording-degraded": "recording-degraded";
7744
+ "recording-healthy": "recording-healthy";
7745
+ "recording-stalled": "recording-stalled";
7617
7746
  "server-update-available": "server-update-available";
7618
7747
  "server-updated": "server-updated";
7748
+ "storage-location-critical": "storage-location-critical";
7749
+ "storage-location-low": "storage-location-low";
7750
+ "storage-location-ok": "storage-location-ok";
7619
7751
  "stream-offline": "stream-offline";
7620
7752
  "stream-online": "stream-online";
7621
7753
  "wrapper-update-available": "wrapper-update-available";
@@ -7731,8 +7863,14 @@ export declare const notificationRulesCapability: {
7731
7863
  "node-online": "node-online";
7732
7864
  "node-restarting": "node-restarting";
7733
7865
  "node-updating": "node-updating";
7866
+ "recording-degraded": "recording-degraded";
7867
+ "recording-healthy": "recording-healthy";
7868
+ "recording-stalled": "recording-stalled";
7734
7869
  "server-update-available": "server-update-available";
7735
7870
  "server-updated": "server-updated";
7871
+ "storage-location-critical": "storage-location-critical";
7872
+ "storage-location-low": "storage-location-low";
7873
+ "storage-location-ok": "storage-location-ok";
7736
7874
  "stream-offline": "stream-offline";
7737
7875
  "stream-online": "stream-online";
7738
7876
  "wrapper-update-available": "wrapper-update-available";
@@ -245,8 +245,14 @@ export declare const OsdSlotBindingSchema: z.ZodObject<{
245
245
  "node-online": "node-online";
246
246
  "node-restarting": "node-restarting";
247
247
  "node-updating": "node-updating";
248
+ "recording-degraded": "recording-degraded";
249
+ "recording-healthy": "recording-healthy";
250
+ "recording-stalled": "recording-stalled";
248
251
  "server-update-available": "server-update-available";
249
252
  "server-updated": "server-updated";
253
+ "storage-location-critical": "storage-location-critical";
254
+ "storage-location-low": "storage-location-low";
255
+ "storage-location-ok": "storage-location-ok";
250
256
  "stream-offline": "stream-offline";
251
257
  "stream-online": "stream-online";
252
258
  "wrapper-update-available": "wrapper-update-available";
@@ -435,8 +441,14 @@ export declare const OsdSlotViewSchema: z.ZodObject<{
435
441
  "node-online": "node-online";
436
442
  "node-restarting": "node-restarting";
437
443
  "node-updating": "node-updating";
444
+ "recording-degraded": "recording-degraded";
445
+ "recording-healthy": "recording-healthy";
446
+ "recording-stalled": "recording-stalled";
438
447
  "server-update-available": "server-update-available";
439
448
  "server-updated": "server-updated";
449
+ "storage-location-critical": "storage-location-critical";
450
+ "storage-location-low": "storage-location-low";
451
+ "storage-location-ok": "storage-location-ok";
440
452
  "stream-offline": "stream-offline";
441
453
  "stream-online": "stream-online";
442
454
  "wrapper-update-available": "wrapper-update-available";
@@ -697,8 +709,14 @@ export declare const osdManagerCapability: {
697
709
  "node-online": "node-online";
698
710
  "node-restarting": "node-restarting";
699
711
  "node-updating": "node-updating";
712
+ "recording-degraded": "recording-degraded";
713
+ "recording-healthy": "recording-healthy";
714
+ "recording-stalled": "recording-stalled";
700
715
  "server-update-available": "server-update-available";
701
716
  "server-updated": "server-updated";
717
+ "storage-location-critical": "storage-location-critical";
718
+ "storage-location-low": "storage-location-low";
719
+ "storage-location-ok": "storage-location-ok";
702
720
  "stream-offline": "stream-offline";
703
721
  "stream-online": "stream-online";
704
722
  "wrapper-update-available": "wrapper-update-available";
@@ -978,8 +996,14 @@ export declare const osdManagerCapability: {
978
996
  "node-online": "node-online";
979
997
  "node-restarting": "node-restarting";
980
998
  "node-updating": "node-updating";
999
+ "recording-degraded": "recording-degraded";
1000
+ "recording-healthy": "recording-healthy";
1001
+ "recording-stalled": "recording-stalled";
981
1002
  "server-update-available": "server-update-available";
982
1003
  "server-updated": "server-updated";
1004
+ "storage-location-critical": "storage-location-critical";
1005
+ "storage-location-low": "storage-location-low";
1006
+ "storage-location-ok": "storage-location-ok";
983
1007
  "stream-offline": "stream-offline";
984
1008
  "stream-online": "stream-online";
985
1009
  "wrapper-update-available": "wrapper-update-available";
@@ -1167,8 +1191,14 @@ export declare const osdManagerCapability: {
1167
1191
  "node-online": "node-online";
1168
1192
  "node-restarting": "node-restarting";
1169
1193
  "node-updating": "node-updating";
1194
+ "recording-degraded": "recording-degraded";
1195
+ "recording-healthy": "recording-healthy";
1196
+ "recording-stalled": "recording-stalled";
1170
1197
  "server-update-available": "server-update-available";
1171
1198
  "server-updated": "server-updated";
1199
+ "storage-location-critical": "storage-location-critical";
1200
+ "storage-location-low": "storage-location-low";
1201
+ "storage-location-ok": "storage-location-ok";
1172
1202
  "stream-offline": "stream-offline";
1173
1203
  "stream-online": "stream-online";
1174
1204
  "wrapper-update-available": "wrapper-update-available";
@@ -1400,8 +1430,14 @@ export declare const osdManagerCapability: {
1400
1430
  "node-online": "node-online";
1401
1431
  "node-restarting": "node-restarting";
1402
1432
  "node-updating": "node-updating";
1433
+ "recording-degraded": "recording-degraded";
1434
+ "recording-healthy": "recording-healthy";
1435
+ "recording-stalled": "recording-stalled";
1403
1436
  "server-update-available": "server-update-available";
1404
1437
  "server-updated": "server-updated";
1438
+ "storage-location-critical": "storage-location-critical";
1439
+ "storage-location-low": "storage-location-low";
1440
+ "storage-location-ok": "storage-location-ok";
1405
1441
  "stream-offline": "stream-offline";
1406
1442
  "stream-online": "stream-online";
1407
1443
  "wrapper-update-available": "wrapper-update-available";
package/dist/client.js CHANGED
@@ -1752,6 +1752,12 @@ var NcSystemEventKindSchema = zod.z.enum([
1752
1752
  "node-updating",
1753
1753
  "node-inference-unavailable",
1754
1754
  "detection-blind",
1755
+ "recording-stalled",
1756
+ "recording-healthy",
1757
+ "recording-degraded",
1758
+ "storage-location-low",
1759
+ "storage-location-critical",
1760
+ "storage-location-ok",
1755
1761
  "addon-crash-loop",
1756
1762
  "addon-update-available",
1757
1763
  "server-update-available",
@@ -8046,9 +8052,9 @@ var NC_SYSTEM_EVENT_FILTER_KEYS = [
8046
8052
  */
8047
8053
  function systemEventFilterApplies(kind, filter) {
8048
8054
  switch (filter) {
8049
- case "deviceIds": return kind.startsWith("device-") || kind.startsWith("stream-") || kind === "detection-blind" || kind === "alarm-triggered";
8055
+ case "deviceIds": return kind.startsWith("device-") || kind.startsWith("stream-") || kind === "detection-blind" || kind.startsWith("recording-") || kind === "alarm-triggered";
8050
8056
  case "deviceTypes": return kind.startsWith("device-") || kind === "detection-blind";
8051
- case "nodeIds": return kind.startsWith("node-") || kind === "addon-crash-loop" || kind === "addon-update-available" || kind === "addon-updated" || kind === "server-update-available" || kind === "wrapper-update-available" || kind === "server-updated";
8057
+ case "nodeIds": return kind.startsWith("node-") || kind === "addon-crash-loop" || kind === "addon-update-available" || kind === "addon-updated" || kind === "server-update-available" || kind === "wrapper-update-available" || kind === "server-updated" || kind.startsWith("storage-location-");
8052
8058
  case "packageNames": return kind.endsWith("update-available") || kind === "addon-updated" || kind === "node-updating" || kind === "server-updated";
8053
8059
  case "consumableLowPercent": return NC_CONSUMABLE_SYSTEM_EVENT_KINDS.includes(kind);
8054
8060
  }
@@ -8105,6 +8111,9 @@ var FAMILY_BY_NAME = new Map(Object.entries({
8105
8111
  "stream-online": "device-events",
8106
8112
  "stream-offline": "device-events",
8107
8113
  "detection-blind": "device-events",
8114
+ "recording-stalled": "device-events",
8115
+ "recording-healthy": "device-events",
8116
+ "recording-degraded": "device-events",
8108
8117
  "node-online": "system",
8109
8118
  "node-offline": "system",
8110
8119
  "node-restarting": "system",
@@ -8118,6 +8127,9 @@ var FAMILY_BY_NAME = new Map(Object.entries({
8118
8127
  "wrapper-update-available": "system",
8119
8128
  "backup-completed": "system",
8120
8129
  "export-completed": "system",
8130
+ "storage-location-low": "system",
8131
+ "storage-location-critical": "system",
8132
+ "storage-location-ok": "system",
8121
8133
  "alarm-triggered": "alarm",
8122
8134
  "alarm-armed": "alarm",
8123
8135
  "alarm-disarmed": "alarm",
@@ -8195,6 +8207,16 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
8195
8207
  label: "Detecting nothing",
8196
8208
  kinds: ["detection-blind"]
8197
8209
  },
8210
+ {
8211
+ id: "recording",
8212
+ family: "device-events",
8213
+ label: "Recording",
8214
+ kinds: [
8215
+ "recording-stalled",
8216
+ "recording-healthy",
8217
+ "recording-degraded"
8218
+ ]
8219
+ },
8198
8220
  {
8199
8221
  id: "nodes",
8200
8222
  family: "system",
@@ -8235,6 +8257,16 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
8235
8257
  label: "Backups & exports",
8236
8258
  kinds: ["backup-completed", "export-completed"]
8237
8259
  },
8260
+ {
8261
+ id: "storage",
8262
+ family: "system",
8263
+ label: "Storage locations",
8264
+ kinds: [
8265
+ "storage-location-low",
8266
+ "storage-location-critical",
8267
+ "storage-location-ok"
8268
+ ]
8269
+ },
8238
8270
  {
8239
8271
  id: "alarm",
8240
8272
  family: "alarm",
@@ -8972,6 +9004,9 @@ var DEVICE_EVENTS = [
8972
9004
  "stream-online",
8973
9005
  "stream-offline",
8974
9006
  "detection-blind",
9007
+ "recording-stalled",
9008
+ "recording-healthy",
9009
+ "recording-degraded",
8975
9010
  ...ALARM
8976
9011
  ];
8977
9012
  /** Every kind a summary may speak about — the two summarisable families. */
package/dist/client.mjs CHANGED
@@ -1751,6 +1751,12 @@ var NcSystemEventKindSchema = z.enum([
1751
1751
  "node-updating",
1752
1752
  "node-inference-unavailable",
1753
1753
  "detection-blind",
1754
+ "recording-stalled",
1755
+ "recording-healthy",
1756
+ "recording-degraded",
1757
+ "storage-location-low",
1758
+ "storage-location-critical",
1759
+ "storage-location-ok",
1754
1760
  "addon-crash-loop",
1755
1761
  "addon-update-available",
1756
1762
  "server-update-available",
@@ -8045,9 +8051,9 @@ var NC_SYSTEM_EVENT_FILTER_KEYS = [
8045
8051
  */
8046
8052
  function systemEventFilterApplies(kind, filter) {
8047
8053
  switch (filter) {
8048
- case "deviceIds": return kind.startsWith("device-") || kind.startsWith("stream-") || kind === "detection-blind" || kind === "alarm-triggered";
8054
+ case "deviceIds": return kind.startsWith("device-") || kind.startsWith("stream-") || kind === "detection-blind" || kind.startsWith("recording-") || kind === "alarm-triggered";
8049
8055
  case "deviceTypes": return kind.startsWith("device-") || kind === "detection-blind";
8050
- case "nodeIds": return kind.startsWith("node-") || kind === "addon-crash-loop" || kind === "addon-update-available" || kind === "addon-updated" || kind === "server-update-available" || kind === "wrapper-update-available" || kind === "server-updated";
8056
+ case "nodeIds": return kind.startsWith("node-") || kind === "addon-crash-loop" || kind === "addon-update-available" || kind === "addon-updated" || kind === "server-update-available" || kind === "wrapper-update-available" || kind === "server-updated" || kind.startsWith("storage-location-");
8051
8057
  case "packageNames": return kind.endsWith("update-available") || kind === "addon-updated" || kind === "node-updating" || kind === "server-updated";
8052
8058
  case "consumableLowPercent": return NC_CONSUMABLE_SYSTEM_EVENT_KINDS.includes(kind);
8053
8059
  }
@@ -8104,6 +8110,9 @@ var FAMILY_BY_NAME = new Map(Object.entries({
8104
8110
  "stream-online": "device-events",
8105
8111
  "stream-offline": "device-events",
8106
8112
  "detection-blind": "device-events",
8113
+ "recording-stalled": "device-events",
8114
+ "recording-healthy": "device-events",
8115
+ "recording-degraded": "device-events",
8107
8116
  "node-online": "system",
8108
8117
  "node-offline": "system",
8109
8118
  "node-restarting": "system",
@@ -8117,6 +8126,9 @@ var FAMILY_BY_NAME = new Map(Object.entries({
8117
8126
  "wrapper-update-available": "system",
8118
8127
  "backup-completed": "system",
8119
8128
  "export-completed": "system",
8129
+ "storage-location-low": "system",
8130
+ "storage-location-critical": "system",
8131
+ "storage-location-ok": "system",
8120
8132
  "alarm-triggered": "alarm",
8121
8133
  "alarm-armed": "alarm",
8122
8134
  "alarm-disarmed": "alarm",
@@ -8194,6 +8206,16 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
8194
8206
  label: "Detecting nothing",
8195
8207
  kinds: ["detection-blind"]
8196
8208
  },
8209
+ {
8210
+ id: "recording",
8211
+ family: "device-events",
8212
+ label: "Recording",
8213
+ kinds: [
8214
+ "recording-stalled",
8215
+ "recording-healthy",
8216
+ "recording-degraded"
8217
+ ]
8218
+ },
8197
8219
  {
8198
8220
  id: "nodes",
8199
8221
  family: "system",
@@ -8234,6 +8256,16 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
8234
8256
  label: "Backups & exports",
8235
8257
  kinds: ["backup-completed", "export-completed"]
8236
8258
  },
8259
+ {
8260
+ id: "storage",
8261
+ family: "system",
8262
+ label: "Storage locations",
8263
+ kinds: [
8264
+ "storage-location-low",
8265
+ "storage-location-critical",
8266
+ "storage-location-ok"
8267
+ ]
8268
+ },
8237
8269
  {
8238
8270
  id: "alarm",
8239
8271
  family: "alarm",
@@ -8971,6 +9003,9 @@ var DEVICE_EVENTS = [
8971
9003
  "stream-online",
8972
9004
  "stream-offline",
8973
9005
  "detection-blind",
9006
+ "recording-stalled",
9007
+ "recording-healthy",
9008
+ "recording-degraded",
8974
9009
  ...ALARM
8975
9010
  ];
8976
9011
  /** Every kind a summary may speak about — the two summarisable families. */
@@ -216,7 +216,17 @@ export declare enum EventCategory {
216
216
  RecordingStopped = "recording.stopped",
217
217
  RecordingError = "recording.error",
218
218
  RecordingHealthDegraded = "recording.health.degraded",
219
+ /** Recording enabled but no segment finalized for the NC stall window. */
220
+ RecordingHealthStalled = "recording.health.stalled",
221
+ /** Recovery from {@link RecordingHealthStalled}. */
222
+ RecordingHealthOk = "recording.health.ok",
219
223
  RecordingStorageCritical = "recording.storage.critical",
224
+ /** Free space on a storage location crossed the warn bar. */
225
+ StorageLocationLow = "storage.location.low",
226
+ /** Free space at/under the critical bar, or capacity probe failed (`null`). */
227
+ StorageLocationCritical = "storage.location.critical",
228
+ /** Recovery from low/critical on a storage location. */
229
+ StorageLocationOk = "storage.location.ok",
220
230
  RecordingSegmentWritten = "recording.segment.written",
221
231
  RecordingPolicyFallback = "recording.policy.fallback",
222
232
  RecordingRetentionCompleted = "recording.retention.completed",
package/dist/enums.js CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_event_category = require("./event-category-CHduMGvg.js");
2
+ const require_event_category = require("./event-category-T43rdQWR.js");
3
3
  //#region src/enums/event-source-type.ts
4
4
  var EventSourceType = /* @__PURE__ */ function(EventSourceType) {
5
5
  EventSourceType["Addon"] = "addon";
package/dist/enums.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as EventCategory } from "./event-category-DaIZi00R.mjs";
1
+ import { t as EventCategory } from "./event-category-C4hVnRo8.mjs";
2
2
  //#region src/enums/event-source-type.ts
3
3
  var EventSourceType = /* @__PURE__ */ function(EventSourceType) {
4
4
  EventSourceType["Addon"] = "addon";
@@ -217,7 +217,17 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
217
217
  EventCategory["RecordingStopped"] = "recording.stopped";
218
218
  EventCategory["RecordingError"] = "recording.error";
219
219
  EventCategory["RecordingHealthDegraded"] = "recording.health.degraded";
220
+ /** Recording enabled but no segment finalized for the NC stall window. */
221
+ EventCategory["RecordingHealthStalled"] = "recording.health.stalled";
222
+ /** Recovery from {@link RecordingHealthStalled}. */
223
+ EventCategory["RecordingHealthOk"] = "recording.health.ok";
220
224
  EventCategory["RecordingStorageCritical"] = "recording.storage.critical";
225
+ /** Free space on a storage location crossed the warn bar. */
226
+ EventCategory["StorageLocationLow"] = "storage.location.low";
227
+ /** Free space at/under the critical bar, or capacity probe failed (`null`). */
228
+ EventCategory["StorageLocationCritical"] = "storage.location.critical";
229
+ /** Recovery from low/critical on a storage location. */
230
+ EventCategory["StorageLocationOk"] = "storage.location.ok";
221
231
  EventCategory["RecordingSegmentWritten"] = "recording.segment.written";
222
232
  EventCategory["RecordingPolicyFallback"] = "recording.policy.fallback";
223
233
  EventCategory["RecordingRetentionCompleted"] = "recording.retention.completed";
@@ -217,7 +217,17 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
217
217
  EventCategory["RecordingStopped"] = "recording.stopped";
218
218
  EventCategory["RecordingError"] = "recording.error";
219
219
  EventCategory["RecordingHealthDegraded"] = "recording.health.degraded";
220
+ /** Recording enabled but no segment finalized for the NC stall window. */
221
+ EventCategory["RecordingHealthStalled"] = "recording.health.stalled";
222
+ /** Recovery from {@link RecordingHealthStalled}. */
223
+ EventCategory["RecordingHealthOk"] = "recording.health.ok";
220
224
  EventCategory["RecordingStorageCritical"] = "recording.storage.critical";
225
+ /** Free space on a storage location crossed the warn bar. */
226
+ EventCategory["StorageLocationLow"] = "storage.location.low";
227
+ /** Free space at/under the critical bar, or capacity probe failed (`null`). */
228
+ EventCategory["StorageLocationCritical"] = "storage.location.critical";
229
+ /** Recovery from low/critical on a storage location. */
230
+ EventCategory["StorageLocationOk"] = "storage.location.ok";
221
231
  EventCategory["RecordingSegmentWritten"] = "recording.segment.written";
222
232
  EventCategory["RecordingPolicyFallback"] = "recording.policy.fallback";
223
233
  EventCategory["RecordingRetentionCompleted"] = "recording.retention.completed";
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_sleep = require("./sleep-BwkkI2wP.js");
3
- const require_event_category = require("./event-category-CHduMGvg.js");
2
+ const require_sleep = require("./sleep-SgkKj2bk.js");
3
+ const require_event_category = require("./event-category-T43rdQWR.js");
4
4
  const require_composition = require("./composition-BLWAivB2.js");
5
5
  const require_node_color = require("./node-color.js");
6
6
  const require_err_msg = require("./err-msg-Dx2Kor0g.js");
@@ -20731,6 +20731,12 @@ var NcSystemEventKindSchema = zod.z.enum([
20731
20731
  "node-updating",
20732
20732
  "node-inference-unavailable",
20733
20733
  "detection-blind",
20734
+ "recording-stalled",
20735
+ "recording-healthy",
20736
+ "recording-degraded",
20737
+ "storage-location-low",
20738
+ "storage-location-critical",
20739
+ "storage-location-ok",
20734
20740
  "addon-crash-loop",
20735
20741
  "addon-update-available",
20736
20742
  "server-update-available",
@@ -22306,6 +22312,30 @@ var NC_CONDITION_CATALOG = [
22306
22312
  value: "detection-blind",
22307
22313
  label: "Camera detecting nothing"
22308
22314
  },
22315
+ {
22316
+ value: "recording-stalled",
22317
+ label: "Recording stalled"
22318
+ },
22319
+ {
22320
+ value: "recording-healthy",
22321
+ label: "Recording healthy again"
22322
+ },
22323
+ {
22324
+ value: "recording-degraded",
22325
+ label: "Recording degraded (restart storm)"
22326
+ },
22327
+ {
22328
+ value: "storage-location-low",
22329
+ label: "Storage location low"
22330
+ },
22331
+ {
22332
+ value: "storage-location-critical",
22333
+ label: "Storage location critical"
22334
+ },
22335
+ {
22336
+ value: "storage-location-ok",
22337
+ label: "Storage location ok again"
22338
+ },
22309
22339
  {
22310
22340
  value: "addon-crash-loop",
22311
22341
  label: "Addon stopped after repeated crashes"
@@ -71610,9 +71640,9 @@ var NC_SYSTEM_EVENT_FILTER_KEYS = [
71610
71640
  */
71611
71641
  function systemEventFilterApplies(kind, filter) {
71612
71642
  switch (filter) {
71613
- case "deviceIds": return kind.startsWith("device-") || kind.startsWith("stream-") || kind === "detection-blind" || kind === "alarm-triggered";
71643
+ case "deviceIds": return kind.startsWith("device-") || kind.startsWith("stream-") || kind === "detection-blind" || kind.startsWith("recording-") || kind === "alarm-triggered";
71614
71644
  case "deviceTypes": return kind.startsWith("device-") || kind === "detection-blind";
71615
- case "nodeIds": return kind.startsWith("node-") || kind === "addon-crash-loop" || kind === "addon-update-available" || kind === "addon-updated" || kind === "server-update-available" || kind === "wrapper-update-available" || kind === "server-updated";
71645
+ case "nodeIds": return kind.startsWith("node-") || kind === "addon-crash-loop" || kind === "addon-update-available" || kind === "addon-updated" || kind === "server-update-available" || kind === "wrapper-update-available" || kind === "server-updated" || kind.startsWith("storage-location-");
71616
71646
  case "packageNames": return kind.endsWith("update-available") || kind === "addon-updated" || kind === "node-updating" || kind === "server-updated";
71617
71647
  case "consumableLowPercent": return NC_CONSUMABLE_SYSTEM_EVENT_KINDS.includes(kind);
71618
71648
  }
@@ -71669,6 +71699,9 @@ var NC_SYSTEM_EVENT_FAMILY = {
71669
71699
  "stream-online": "device-events",
71670
71700
  "stream-offline": "device-events",
71671
71701
  "detection-blind": "device-events",
71702
+ "recording-stalled": "device-events",
71703
+ "recording-healthy": "device-events",
71704
+ "recording-degraded": "device-events",
71672
71705
  "node-online": "system",
71673
71706
  "node-offline": "system",
71674
71707
  "node-restarting": "system",
@@ -71682,6 +71715,9 @@ var NC_SYSTEM_EVENT_FAMILY = {
71682
71715
  "wrapper-update-available": "system",
71683
71716
  "backup-completed": "system",
71684
71717
  "export-completed": "system",
71718
+ "storage-location-low": "system",
71719
+ "storage-location-critical": "system",
71720
+ "storage-location-ok": "system",
71685
71721
  "alarm-triggered": "alarm",
71686
71722
  "alarm-armed": "alarm",
71687
71723
  "alarm-disarmed": "alarm",
@@ -71761,6 +71797,16 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
71761
71797
  label: "Detecting nothing",
71762
71798
  kinds: ["detection-blind"]
71763
71799
  },
71800
+ {
71801
+ id: "recording",
71802
+ family: "device-events",
71803
+ label: "Recording",
71804
+ kinds: [
71805
+ "recording-stalled",
71806
+ "recording-healthy",
71807
+ "recording-degraded"
71808
+ ]
71809
+ },
71764
71810
  {
71765
71811
  id: "nodes",
71766
71812
  family: "system",
@@ -71801,6 +71847,16 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
71801
71847
  label: "Backups & exports",
71802
71848
  kinds: ["backup-completed", "export-completed"]
71803
71849
  },
71850
+ {
71851
+ id: "storage",
71852
+ family: "system",
71853
+ label: "Storage locations",
71854
+ kinds: [
71855
+ "storage-location-low",
71856
+ "storage-location-critical",
71857
+ "storage-location-ok"
71858
+ ]
71859
+ },
71804
71860
  {
71805
71861
  id: "alarm",
71806
71862
  family: "alarm",
@@ -73243,6 +73299,9 @@ var DEVICE_EVENTS = [
73243
73299
  "stream-online",
73244
73300
  "stream-offline",
73245
73301
  "detection-blind",
73302
+ "recording-stalled",
73303
+ "recording-healthy",
73304
+ "recording-degraded",
73246
73305
  ...ALARM
73247
73306
  ];
73248
73307
  /** Every kind a summary may speak about — the two summarisable families. */
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { $ as BrokerStatsSchema, $t as normalizeSecretOwner, A as adminUiCapability, At as PEER_BYTES_MAX_OUTSTANDING, B as resolveCapMount, Bt as parseSecretStatePath, C as deviceOpsCapability, Cn as isKeychainStoredField, Ct as clearKnownSecrets, D as defineCustomActions, Dn as audioChunkBytesPerSample, Dt as scrubKnownSecrets, E as customAction, En as AUDIO_CHUNK_FORMATS, Et as registerKnownSecret, F as event, Ft as SHARE_VIEW_KINDS, G as toNodeId, Gt as resolveSecretMarkers, H as CAP_NODE_PIN_CONTEXT_KEY, Ht as secretTreeFromSchema, I as expandCapMethods, It as DisposerChain, J as emitDownForOwnedCaps, Jt as arrayItemFieldPath, K as ReadinessRegistry, Kt as transformSecretWrite, L as isDeviceConfigCap, Lt as BaseAddon, M as DEVICE_SETTINGS_CONTRIBUTION_METHODS, Mt as PEER_BYTES_TICKET_TTL_MS, N as DEVICE_STATUS_METHOD, Nt as PeerBytesTicketSchema, O as describeCustomActions, On as expandAudioChunkToF32le, Ot as shortSecretRefHash, P as PROVIDER_PIN_FIELD, Pt as DATAPLANE_SECRET_HEADER, Q as AudioStreamPickSchema, Qt as isSecretRef, R as method, Rt as normalizeAddonInitResult, S as RawStateResultSchema, Sn as collectSecretConfigKeys, St as MIN_SCRUBBED_LENGTH, T as DEVICE_CHILDREN_BATCH_MAX, Tn as schemaDeclaresAnyField, Tt as knownSecretCount, U as nodePin, Ut as KeychainWriteRefusedError, V as systemMethod, Vt as secretTreeFromPaths, W as readNodePin, Wt as collectSecretMarkerRefs, X as scopeKey, Xt as formatSecretScope, Y as readinessKey, Yt as buildSecretRef, Z as AudioChunkFormatSchema, Zt as globalSecretScope, _ as createMirrorSource, _n as isSecretMarkerLike, _t as parseProfileBrokerId, a as asJsonObject, an as isEvent, at as CameraStreamSchema, b as collectZodSecretPaths, bn as REDACTED_SECRET, bt as REVALIDATE_AFTER_MS, c as parseJsonArray, cn as collectHydratedFieldEntries, ct as ProfileRtspEntrySchema, d as BOOT_RECOVERY_BACKOFF_MS, dn as resolveHydratedFieldValue, dt as StreamSourceEntrySchema, en as parseSecretRef, et as BrokerStatusSchema, f as DEVICE_SCOPED_CAPS, fn as SECRET_CLEAR, ft as StreamSourceSchema, g as createLazyTrpcSource, gn as isSecretMarker, gt as makeSourceBrokerId, h as createEventBusSliceSource, hn as isSecretFieldView, ht as makeProfileBrokerId, i as asJsonArray, in as emitReadiness, it as CamStreamResolutionSchema, j as DEFAULT_RUNTIME_STATE_DURABILITY, jt as PEER_BYTES_STALL_MS, k as deviceCustomAction, kn as isAudioChunkFormat, kt as PEER_BYTES_CHUNK_BYTES, l as parseJsonObject, ln as collectHydratedFieldValues, lt as ProfileSlotSchema, m as createDeviceProxy, mn as isSecretClear, mt as SubscribeAudioChunksResultSchema, n as sleepCancellable, nn as createDurableState, nt as CamProfileSchema, o as asNumber, on as WELL_KNOWN_TABS, ot as DecodedAudioChunkSchema, p as isDeviceScopedCap, pn as classifySecretWrite, pt as SubscribeAudioChunksInputSchema, q as ReadinessTimeoutError, qt as SECRET_REF_SCHEME, r as asBoolean, rn as createEvent, rt as CamStreamKindSchema, s as asString, sn as WELL_KNOWN_TAB_MAP, st as FrameHandleSchema, t as sleep, tn as normalizeNodeId, tt as CAM_PROFILE_ORDER, u as parseJsonUnknown, un as hydrateSchema, ut as ProfileSlotStatusSchema, v as createSliceHandle, vn as makeSecretMarker, vt as selectAssignedProfileSlots, w as viewerUiCapability, wn as isSecretConfigField, wt as forgetKnownSecret, x as isZodSecret, xn as collectKeychainStoredKeys, xt as createSecretsAccess, y as SECRET_META, yn as toSecretFieldView, yt as resolveSecretViewsIn, z as optionalMethod, zt as mergeSecretStatePaths } from "./sleep-DwAQ9sqX.mjs";
2
- import { i as publicEventCategories, n as OWNER_ONLY_EVENT_CATEGORIES, r as isOwnerOnlyEventCategory, t as EventCategory } from "./event-category-DaIZi00R.mjs";
1
+ import { $ as BrokerStatsSchema, $t as normalizeSecretOwner, A as adminUiCapability, At as PEER_BYTES_MAX_OUTSTANDING, B as resolveCapMount, Bt as parseSecretStatePath, C as deviceOpsCapability, Cn as isKeychainStoredField, Ct as clearKnownSecrets, D as defineCustomActions, Dn as audioChunkBytesPerSample, Dt as scrubKnownSecrets, E as customAction, En as AUDIO_CHUNK_FORMATS, Et as registerKnownSecret, F as event, Ft as SHARE_VIEW_KINDS, G as toNodeId, Gt as resolveSecretMarkers, H as CAP_NODE_PIN_CONTEXT_KEY, Ht as secretTreeFromSchema, I as expandCapMethods, It as DisposerChain, J as emitDownForOwnedCaps, Jt as arrayItemFieldPath, K as ReadinessRegistry, Kt as transformSecretWrite, L as isDeviceConfigCap, Lt as BaseAddon, M as DEVICE_SETTINGS_CONTRIBUTION_METHODS, Mt as PEER_BYTES_TICKET_TTL_MS, N as DEVICE_STATUS_METHOD, Nt as PeerBytesTicketSchema, O as describeCustomActions, On as expandAudioChunkToF32le, Ot as shortSecretRefHash, P as PROVIDER_PIN_FIELD, Pt as DATAPLANE_SECRET_HEADER, Q as AudioStreamPickSchema, Qt as isSecretRef, R as method, Rt as normalizeAddonInitResult, S as RawStateResultSchema, Sn as collectSecretConfigKeys, St as MIN_SCRUBBED_LENGTH, T as DEVICE_CHILDREN_BATCH_MAX, Tn as schemaDeclaresAnyField, Tt as knownSecretCount, U as nodePin, Ut as KeychainWriteRefusedError, V as systemMethod, Vt as secretTreeFromPaths, W as readNodePin, Wt as collectSecretMarkerRefs, X as scopeKey, Xt as formatSecretScope, Y as readinessKey, Yt as buildSecretRef, Z as AudioChunkFormatSchema, Zt as globalSecretScope, _ as createMirrorSource, _n as isSecretMarkerLike, _t as parseProfileBrokerId, a as asJsonObject, an as isEvent, at as CameraStreamSchema, b as collectZodSecretPaths, bn as REDACTED_SECRET, bt as REVALIDATE_AFTER_MS, c as parseJsonArray, cn as collectHydratedFieldEntries, ct as ProfileRtspEntrySchema, d as BOOT_RECOVERY_BACKOFF_MS, dn as resolveHydratedFieldValue, dt as StreamSourceEntrySchema, en as parseSecretRef, et as BrokerStatusSchema, f as DEVICE_SCOPED_CAPS, fn as SECRET_CLEAR, ft as StreamSourceSchema, g as createLazyTrpcSource, gn as isSecretMarker, gt as makeSourceBrokerId, h as createEventBusSliceSource, hn as isSecretFieldView, ht as makeProfileBrokerId, i as asJsonArray, in as emitReadiness, it as CamStreamResolutionSchema, j as DEFAULT_RUNTIME_STATE_DURABILITY, jt as PEER_BYTES_STALL_MS, k as deviceCustomAction, kn as isAudioChunkFormat, kt as PEER_BYTES_CHUNK_BYTES, l as parseJsonObject, ln as collectHydratedFieldValues, lt as ProfileSlotSchema, m as createDeviceProxy, mn as isSecretClear, mt as SubscribeAudioChunksResultSchema, n as sleepCancellable, nn as createDurableState, nt as CamProfileSchema, o as asNumber, on as WELL_KNOWN_TABS, ot as DecodedAudioChunkSchema, p as isDeviceScopedCap, pn as classifySecretWrite, pt as SubscribeAudioChunksInputSchema, q as ReadinessTimeoutError, qt as SECRET_REF_SCHEME, r as asBoolean, rn as createEvent, rt as CamStreamKindSchema, s as asString, sn as WELL_KNOWN_TAB_MAP, st as FrameHandleSchema, t as sleep, tn as normalizeNodeId, tt as CAM_PROFILE_ORDER, u as parseJsonUnknown, un as hydrateSchema, ut as ProfileSlotStatusSchema, v as createSliceHandle, vn as makeSecretMarker, vt as selectAssignedProfileSlots, w as viewerUiCapability, wn as isSecretConfigField, wt as forgetKnownSecret, x as isZodSecret, xn as collectKeychainStoredKeys, xt as createSecretsAccess, y as SECRET_META, yn as toSecretFieldView, yt as resolveSecretViewsIn, z as optionalMethod, zt as mergeSecretStatePaths } from "./sleep-Tkp9dHXv.mjs";
2
+ import { i as publicEventCategories, n as OWNER_ONLY_EVENT_CATEGORIES, r as isOwnerOnlyEventCategory, t as EventCategory } from "./event-category-C4hVnRo8.mjs";
3
3
  import { $ as MAX_EXPRESSION_AST_NODES, A as compositionFeatureEnabled, At as Fmp4BoxSplitter, B as createStatefulExpressionMemory, Bt as pickVideoEncoder, C as CompositionTargetSchema, Ct as FFMPEG_PATH_ENV, D as MAX_COMPOSITION_ITEMS, E as MAX_COMPOSITION_FIELDS_PER_FEATURE, F as featureFieldEntries, Ft as buildInputArgs, G as createExpressionScope, H as evaluateStatefulExpressionCall, I as featureSources, It as buildVideoArgs, J as compileExpressionSafe, K as evaluateAst, L as fieldReads, Lt as invocationFromEncodeProfile, M as compositionReadKey, Mt as audioPlanFromEncodeProfile, N as compositionSliceKey, Nt as buildAudioArgs, O as composedDeviceRef, P as compositionSourceKey, Pt as buildFfmpegArgs, Q as EXPRESSION_IDENTIFIER_RE, R as EXPRESSION_INJECTED_NOW, Rt as isSoftwareDecode, S as CompositionSourceRefSchema, St as sliceChangedAt, T as MAX_COMPOSITION_FEATURES, U as toExpressionValue, V as evaluateExpressionSource, Vt as resolveStreamMaps, W as validateExpressionSource, X as tokenize, Y as parseExpression, Z as EXPRESSION_COMPILE_CACHE_CAPACITY, _ as CompositionItemEntrySchema, _t as SOURCE_DEVICE_TYPES, a as CUSTOMIZATION_BLOCK_NAME_PREFIX, at as EXPRESSION_BUILTINS, b as CompositionPassthroughFeatureSchema, bt as isSourceCap, c as CompositionCommandTargetSchema, ct as evaluateCount, d as CompositionFeatureSchema, dt as ExpressionEvalError, et as MAX_EXPRESSION_BINDINGS, f as CompositionFieldReadSchema, ft as ExpressionParseError, g as CompositionFromSourceSchema, gt as SOURCE_CAP_CHANGED_AT_FIELD, h as CompositionForwardCommandSchema, ht as SOURCE_CAP_ACTIVE_FIELD, i as COMPOSITION_ITEM_KEY_RE, it as RESERVED_BINDING_NAMES, j as compositionItemFieldPath, jt as AUDIO_PRESETS, k as composedDeviceStableId, kt as canonicalHash, l as CompositionExistingTargetSchema, lt as evaluateRose, m as CompositionFieldsFeatureSchema, mt as SOURCE_CAPS, n as COMPOSER_ADDON_ID, nt as MAX_EXPRESSION_EVAL_STEPS, o as CompositionBindingSchema, ot as EXPRESSION_BUILTIN_NAMES, p as CompositionFieldSourceSchema, pt as DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, q as compileExpression, r as COMPOSITION_ITEM_ARRAY_PATH, rt as MAX_EXPRESSION_SOURCE_LENGTH, s as CompositionCodeSourceSchema, st as disarmRoseMemory, t as COMPOSED_DEVICE_STABLE_ID_PREFIX, tt as MAX_EXPRESSION_CALL_ARGS, u as CompositionExpressionSourceSchema, ut as isStatefulBuiltin, v as CompositionLiteralBindingSchema, vt as evaluateSensorEdge, w as MAX_COMPOSITION_CODE_LENGTH, x as CompositionSchema, xt as sliceActiveValue, y as CompositionNewTargetSchema, yt as evaluateSensorLevelEdge, z as cloneStatefulExpressionMemory, zt as logBannerArgs } from "./composition-Bzr7GwgP.mjs";
4
4
  import { NODE_COLOR_IDS, NodeColorIdSchema, assignNodeColorId } from "./node-color.mjs";
5
5
  import { a as DeviceType, i as DeviceRole, n as ChargingStatus, r as DeviceFeature, t as errMsg } from "./err-msg-DX6i_MY4.mjs";
@@ -20730,6 +20730,12 @@ var NcSystemEventKindSchema = z.enum([
20730
20730
  "node-updating",
20731
20731
  "node-inference-unavailable",
20732
20732
  "detection-blind",
20733
+ "recording-stalled",
20734
+ "recording-healthy",
20735
+ "recording-degraded",
20736
+ "storage-location-low",
20737
+ "storage-location-critical",
20738
+ "storage-location-ok",
20733
20739
  "addon-crash-loop",
20734
20740
  "addon-update-available",
20735
20741
  "server-update-available",
@@ -22305,6 +22311,30 @@ var NC_CONDITION_CATALOG = [
22305
22311
  value: "detection-blind",
22306
22312
  label: "Camera detecting nothing"
22307
22313
  },
22314
+ {
22315
+ value: "recording-stalled",
22316
+ label: "Recording stalled"
22317
+ },
22318
+ {
22319
+ value: "recording-healthy",
22320
+ label: "Recording healthy again"
22321
+ },
22322
+ {
22323
+ value: "recording-degraded",
22324
+ label: "Recording degraded (restart storm)"
22325
+ },
22326
+ {
22327
+ value: "storage-location-low",
22328
+ label: "Storage location low"
22329
+ },
22330
+ {
22331
+ value: "storage-location-critical",
22332
+ label: "Storage location critical"
22333
+ },
22334
+ {
22335
+ value: "storage-location-ok",
22336
+ label: "Storage location ok again"
22337
+ },
22308
22338
  {
22309
22339
  value: "addon-crash-loop",
22310
22340
  label: "Addon stopped after repeated crashes"
@@ -71609,9 +71639,9 @@ var NC_SYSTEM_EVENT_FILTER_KEYS = [
71609
71639
  */
71610
71640
  function systemEventFilterApplies(kind, filter) {
71611
71641
  switch (filter) {
71612
- case "deviceIds": return kind.startsWith("device-") || kind.startsWith("stream-") || kind === "detection-blind" || kind === "alarm-triggered";
71642
+ case "deviceIds": return kind.startsWith("device-") || kind.startsWith("stream-") || kind === "detection-blind" || kind.startsWith("recording-") || kind === "alarm-triggered";
71613
71643
  case "deviceTypes": return kind.startsWith("device-") || kind === "detection-blind";
71614
- case "nodeIds": return kind.startsWith("node-") || kind === "addon-crash-loop" || kind === "addon-update-available" || kind === "addon-updated" || kind === "server-update-available" || kind === "wrapper-update-available" || kind === "server-updated";
71644
+ case "nodeIds": return kind.startsWith("node-") || kind === "addon-crash-loop" || kind === "addon-update-available" || kind === "addon-updated" || kind === "server-update-available" || kind === "wrapper-update-available" || kind === "server-updated" || kind.startsWith("storage-location-");
71615
71645
  case "packageNames": return kind.endsWith("update-available") || kind === "addon-updated" || kind === "node-updating" || kind === "server-updated";
71616
71646
  case "consumableLowPercent": return NC_CONSUMABLE_SYSTEM_EVENT_KINDS.includes(kind);
71617
71647
  }
@@ -71668,6 +71698,9 @@ var NC_SYSTEM_EVENT_FAMILY = {
71668
71698
  "stream-online": "device-events",
71669
71699
  "stream-offline": "device-events",
71670
71700
  "detection-blind": "device-events",
71701
+ "recording-stalled": "device-events",
71702
+ "recording-healthy": "device-events",
71703
+ "recording-degraded": "device-events",
71671
71704
  "node-online": "system",
71672
71705
  "node-offline": "system",
71673
71706
  "node-restarting": "system",
@@ -71681,6 +71714,9 @@ var NC_SYSTEM_EVENT_FAMILY = {
71681
71714
  "wrapper-update-available": "system",
71682
71715
  "backup-completed": "system",
71683
71716
  "export-completed": "system",
71717
+ "storage-location-low": "system",
71718
+ "storage-location-critical": "system",
71719
+ "storage-location-ok": "system",
71684
71720
  "alarm-triggered": "alarm",
71685
71721
  "alarm-armed": "alarm",
71686
71722
  "alarm-disarmed": "alarm",
@@ -71760,6 +71796,16 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
71760
71796
  label: "Detecting nothing",
71761
71797
  kinds: ["detection-blind"]
71762
71798
  },
71799
+ {
71800
+ id: "recording",
71801
+ family: "device-events",
71802
+ label: "Recording",
71803
+ kinds: [
71804
+ "recording-stalled",
71805
+ "recording-healthy",
71806
+ "recording-degraded"
71807
+ ]
71808
+ },
71763
71809
  {
71764
71810
  id: "nodes",
71765
71811
  family: "system",
@@ -71800,6 +71846,16 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
71800
71846
  label: "Backups & exports",
71801
71847
  kinds: ["backup-completed", "export-completed"]
71802
71848
  },
71849
+ {
71850
+ id: "storage",
71851
+ family: "system",
71852
+ label: "Storage locations",
71853
+ kinds: [
71854
+ "storage-location-low",
71855
+ "storage-location-critical",
71856
+ "storage-location-ok"
71857
+ ]
71858
+ },
71803
71859
  {
71804
71860
  id: "alarm",
71805
71861
  family: "alarm",
@@ -73242,6 +73298,9 @@ var DEVICE_EVENTS = [
73242
73298
  "stream-online",
73243
73299
  "stream-offline",
73244
73300
  "detection-blind",
73301
+ "recording-stalled",
73302
+ "recording-healthy",
73303
+ "recording-degraded",
73245
73304
  ...ALARM
73246
73305
  ];
73247
73306
  /** Every kind a summary may speak about — the two summarisable families. */
@@ -1036,10 +1036,34 @@ export interface EventCatalog {
1036
1036
  deviceId: number;
1037
1037
  message: string;
1038
1038
  };
1039
+ 'recording.health.stalled': {
1040
+ deviceId: number;
1041
+ idleMs: number;
1042
+ thresholdMs: number;
1043
+ };
1044
+ 'recording.health.ok': {
1045
+ deviceId: number;
1046
+ };
1039
1047
  'recording.storage.critical': {
1040
1048
  deviceId: number;
1041
1049
  usagePercent?: number;
1042
1050
  };
1051
+ 'storage.location.low': {
1052
+ locationId: string;
1053
+ nodeId?: string;
1054
+ freePercent: number | null;
1055
+ reason: string;
1056
+ };
1057
+ 'storage.location.critical': {
1058
+ locationId: string;
1059
+ nodeId?: string;
1060
+ freePercent: number | null;
1061
+ reason: string;
1062
+ };
1063
+ 'storage.location.ok': {
1064
+ locationId: string;
1065
+ nodeId?: string;
1066
+ };
1043
1067
  'recording.segment.written': {
1044
1068
  deviceId: number;
1045
1069
  path?: string;
@@ -1,4 +1,4 @@
1
- const require_event_category = require("./event-category-CHduMGvg.js");
1
+ const require_event_category = require("./event-category-T43rdQWR.js");
2
2
  let zod = require("zod");
3
3
  //#region src/audio/audio-chunk-format.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { t as EventCategory } from "./event-category-DaIZi00R.mjs";
1
+ import { t as EventCategory } from "./event-category-C4hVnRo8.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/audio/audio-chunk-format.ts
4
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/types",
3
- "version": "1.2.352",
3
+ "version": "1.2.353",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",