@camstack/types 1.2.69 → 1.2.71

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_event_category = require("./event-category-DxZbWydC.js");
3
- const require_sleep = require("./sleep-YuacOD41.js");
2
+ const require_event_category = require("./event-category-D3gG7oil.js");
3
+ const require_sleep = require("./sleep-DbVrpKVz.js");
4
4
  const require_err_msg = require("./err-msg-COpsHMw2.js");
5
5
  //#region src/generated/collection-array-methods.ts
6
6
  /**
package/dist/addon.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { t as EventCategory } from "./event-category-Cv9dO26A.mjs";
2
- import { C as DeviceType, F as nodePin, H as scopeKey, I as readNodePin, R as ReadinessRegistry, _t as normalizeAddonInitResult, a as asJsonObject, bt as emitReadiness, d as DEVICE_SCOPED_CAPS, f as isDeviceScopedCap, gt as BaseAddon, ht as DisposerChain, k as expandCapMethods, mt as DATAPLANE_SECRET_HEADER, p as createDeviceProxy, s as asString, t as sleep, u as parseJsonUnknown, v as deviceOpsCapability, w as adminUiCapability, y as viewerUiCapability, z as ReadinessTimeoutError } from "./sleep-CwERnGrD.mjs";
1
+ import { t as EventCategory } from "./event-category-Bxo5yJjt.mjs";
2
+ import { C as DeviceType, F as nodePin, H as scopeKey, I as readNodePin, R as ReadinessRegistry, _t as normalizeAddonInitResult, a as asJsonObject, bt as emitReadiness, d as DEVICE_SCOPED_CAPS, f as isDeviceScopedCap, gt as BaseAddon, ht as DisposerChain, k as expandCapMethods, mt as DATAPLANE_SECRET_HEADER, p as createDeviceProxy, s as asString, t as sleep, u as parseJsonUnknown, v as deviceOpsCapability, w as adminUiCapability, y as viewerUiCapability, z as ReadinessTimeoutError } from "./sleep-CTgUmjYq.mjs";
3
3
  import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
4
4
  //#region src/generated/collection-array-methods.ts
5
5
  /**
@@ -74,6 +74,8 @@ export declare const NcSystemEventKindSchema: z.ZodEnum<{
74
74
  "stream-offline": "stream-offline";
75
75
  "node-online": "node-online";
76
76
  "node-offline": "node-offline";
77
+ "node-inference-unavailable": "node-inference-unavailable";
78
+ "detection-blind": "detection-blind";
77
79
  "addon-update-available": "addon-update-available";
78
80
  "server-update-available": "server-update-available";
79
81
  "alarm-triggered": "alarm-triggered";
@@ -121,6 +123,8 @@ export declare const NcSystemEventConditionSchema: z.ZodObject<{
121
123
  "stream-offline": "stream-offline";
122
124
  "node-online": "node-online";
123
125
  "node-offline": "node-offline";
126
+ "node-inference-unavailable": "node-inference-unavailable";
127
+ "detection-blind": "detection-blind";
124
128
  "addon-update-available": "addon-update-available";
125
129
  "server-update-available": "server-update-available";
126
130
  "alarm-triggered": "alarm-triggered";
@@ -520,6 +524,8 @@ export declare const NcConditionsSchema: z.ZodObject<{
520
524
  "stream-offline": "stream-offline";
521
525
  "node-online": "node-online";
522
526
  "node-offline": "node-offline";
527
+ "node-inference-unavailable": "node-inference-unavailable";
528
+ "detection-blind": "detection-blind";
523
529
  "addon-update-available": "addon-update-available";
524
530
  "server-update-available": "server-update-available";
525
531
  "alarm-triggered": "alarm-triggered";
@@ -787,6 +793,8 @@ export declare const NcRuleInputSchema: z.ZodObject<{
787
793
  "stream-offline": "stream-offline";
788
794
  "node-online": "node-online";
789
795
  "node-offline": "node-offline";
796
+ "node-inference-unavailable": "node-inference-unavailable";
797
+ "detection-blind": "detection-blind";
790
798
  "addon-update-available": "addon-update-available";
791
799
  "server-update-available": "server-update-available";
792
800
  "alarm-triggered": "alarm-triggered";
@@ -951,6 +959,8 @@ export declare const NcRuleInputSchema: z.ZodObject<{
951
959
  }>>;
952
960
  maxImagePx: z.ZodDefault<z.ZodNumber>;
953
961
  }, z.core.$strip>>;
962
+ waitForEnhancement: z.ZodOptional<z.ZodBoolean>;
963
+ groupIdleSec: z.ZodOptional<z.ZodNumber>;
954
964
  }, z.core.$strip>;
955
965
  export type NcRuleInput = z.infer<typeof NcRuleInputSchema>;
956
966
  /**
@@ -1056,6 +1066,8 @@ export declare const NcRulePatchSchema: z.ZodObject<{
1056
1066
  }>>;
1057
1067
  maxImagePx: z.ZodDefault<z.ZodNumber>;
1058
1068
  }, z.core.$strip>>>;
1069
+ waitForEnhancement: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1070
+ groupIdleSec: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1059
1071
  disabledTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1060
1072
  enabled: z.ZodOptional<z.ZodBoolean>;
1061
1073
  conditions: z.ZodOptional<z.ZodObject<{
@@ -1114,6 +1126,8 @@ export declare const NcRulePatchSchema: z.ZodObject<{
1114
1126
  "stream-offline": "stream-offline";
1115
1127
  "node-online": "node-online";
1116
1128
  "node-offline": "node-offline";
1129
+ "node-inference-unavailable": "node-inference-unavailable";
1130
+ "detection-blind": "detection-blind";
1117
1131
  "addon-update-available": "addon-update-available";
1118
1132
  "server-update-available": "server-update-available";
1119
1133
  "alarm-triggered": "alarm-triggered";
@@ -1262,6 +1276,8 @@ export declare const NcRuleSchema: z.ZodObject<{
1262
1276
  "stream-offline": "stream-offline";
1263
1277
  "node-online": "node-online";
1264
1278
  "node-offline": "node-offline";
1279
+ "node-inference-unavailable": "node-inference-unavailable";
1280
+ "detection-blind": "detection-blind";
1265
1281
  "addon-update-available": "addon-update-available";
1266
1282
  "server-update-available": "server-update-available";
1267
1283
  "alarm-triggered": "alarm-triggered";
@@ -1426,6 +1442,8 @@ export declare const NcRuleSchema: z.ZodObject<{
1426
1442
  }>>;
1427
1443
  maxImagePx: z.ZodDefault<z.ZodNumber>;
1428
1444
  }, z.core.$strip>>;
1445
+ waitForEnhancement: z.ZodOptional<z.ZodBoolean>;
1446
+ groupIdleSec: z.ZodOptional<z.ZodNumber>;
1429
1447
  id: z.ZodString;
1430
1448
  createdBy: z.ZodString;
1431
1449
  createdAt: z.ZodNumber;
@@ -1558,6 +1576,8 @@ export declare const NcHistorySubjectSchema: z.ZodObject<{
1558
1576
  "stream-offline": "stream-offline";
1559
1577
  "node-online": "node-online";
1560
1578
  "node-offline": "node-offline";
1579
+ "node-inference-unavailable": "node-inference-unavailable";
1580
+ "detection-blind": "detection-blind";
1561
1581
  "addon-update-available": "addon-update-available";
1562
1582
  "server-update-available": "server-update-available";
1563
1583
  "alarm-triggered": "alarm-triggered";
@@ -1635,6 +1655,8 @@ export declare const NcHistoryEntrySchema: z.ZodObject<{
1635
1655
  "stream-offline": "stream-offline";
1636
1656
  "node-online": "node-online";
1637
1657
  "node-offline": "node-offline";
1658
+ "node-inference-unavailable": "node-inference-unavailable";
1659
+ "detection-blind": "detection-blind";
1638
1660
  "addon-update-available": "addon-update-available";
1639
1661
  "server-update-available": "server-update-available";
1640
1662
  "alarm-triggered": "alarm-triggered";
@@ -1919,6 +1941,8 @@ export declare const notificationRulesCapability: {
1919
1941
  "stream-offline": "stream-offline";
1920
1942
  "node-online": "node-online";
1921
1943
  "node-offline": "node-offline";
1944
+ "node-inference-unavailable": "node-inference-unavailable";
1945
+ "detection-blind": "detection-blind";
1922
1946
  "addon-update-available": "addon-update-available";
1923
1947
  "server-update-available": "server-update-available";
1924
1948
  "alarm-triggered": "alarm-triggered";
@@ -2083,6 +2107,8 @@ export declare const notificationRulesCapability: {
2083
2107
  }>>;
2084
2108
  maxImagePx: z.ZodDefault<z.ZodNumber>;
2085
2109
  }, z.core.$strip>>;
2110
+ waitForEnhancement: z.ZodOptional<z.ZodBoolean>;
2111
+ groupIdleSec: z.ZodOptional<z.ZodNumber>;
2086
2112
  id: z.ZodString;
2087
2113
  createdBy: z.ZodString;
2088
2114
  createdAt: z.ZodNumber;
@@ -2159,6 +2185,8 @@ export declare const notificationRulesCapability: {
2159
2185
  "stream-offline": "stream-offline";
2160
2186
  "node-online": "node-online";
2161
2187
  "node-offline": "node-offline";
2188
+ "node-inference-unavailable": "node-inference-unavailable";
2189
+ "detection-blind": "detection-blind";
2162
2190
  "addon-update-available": "addon-update-available";
2163
2191
  "server-update-available": "server-update-available";
2164
2192
  "alarm-triggered": "alarm-triggered";
@@ -2323,6 +2351,8 @@ export declare const notificationRulesCapability: {
2323
2351
  }>>;
2324
2352
  maxImagePx: z.ZodDefault<z.ZodNumber>;
2325
2353
  }, z.core.$strip>>;
2354
+ waitForEnhancement: z.ZodOptional<z.ZodBoolean>;
2355
+ groupIdleSec: z.ZodOptional<z.ZodNumber>;
2326
2356
  id: z.ZodString;
2327
2357
  createdBy: z.ZodString;
2328
2358
  createdAt: z.ZodNumber;
@@ -2397,6 +2427,8 @@ export declare const notificationRulesCapability: {
2397
2427
  "stream-offline": "stream-offline";
2398
2428
  "node-online": "node-online";
2399
2429
  "node-offline": "node-offline";
2430
+ "node-inference-unavailable": "node-inference-unavailable";
2431
+ "detection-blind": "detection-blind";
2400
2432
  "addon-update-available": "addon-update-available";
2401
2433
  "server-update-available": "server-update-available";
2402
2434
  "alarm-triggered": "alarm-triggered";
@@ -2561,6 +2593,8 @@ export declare const notificationRulesCapability: {
2561
2593
  }>>;
2562
2594
  maxImagePx: z.ZodDefault<z.ZodNumber>;
2563
2595
  }, z.core.$strip>>;
2596
+ waitForEnhancement: z.ZodOptional<z.ZodBoolean>;
2597
+ groupIdleSec: z.ZodOptional<z.ZodNumber>;
2564
2598
  }, z.core.$strip>;
2565
2599
  }, z.core.$strip>, z.ZodObject<{
2566
2600
  rule: z.ZodObject<{
@@ -2629,6 +2663,8 @@ export declare const notificationRulesCapability: {
2629
2663
  "stream-offline": "stream-offline";
2630
2664
  "node-online": "node-online";
2631
2665
  "node-offline": "node-offline";
2666
+ "node-inference-unavailable": "node-inference-unavailable";
2667
+ "detection-blind": "detection-blind";
2632
2668
  "addon-update-available": "addon-update-available";
2633
2669
  "server-update-available": "server-update-available";
2634
2670
  "alarm-triggered": "alarm-triggered";
@@ -2793,6 +2829,8 @@ export declare const notificationRulesCapability: {
2793
2829
  }>>;
2794
2830
  maxImagePx: z.ZodDefault<z.ZodNumber>;
2795
2831
  }, z.core.$strip>>;
2832
+ waitForEnhancement: z.ZodOptional<z.ZodBoolean>;
2833
+ groupIdleSec: z.ZodOptional<z.ZodNumber>;
2796
2834
  id: z.ZodString;
2797
2835
  createdBy: z.ZodString;
2798
2836
  createdAt: z.ZodNumber;
@@ -2898,6 +2936,8 @@ export declare const notificationRulesCapability: {
2898
2936
  }>>;
2899
2937
  maxImagePx: z.ZodDefault<z.ZodNumber>;
2900
2938
  }, z.core.$strip>>>;
2939
+ waitForEnhancement: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2940
+ groupIdleSec: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2901
2941
  disabledTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2902
2942
  enabled: z.ZodOptional<z.ZodBoolean>;
2903
2943
  conditions: z.ZodOptional<z.ZodObject<{
@@ -2956,6 +2996,8 @@ export declare const notificationRulesCapability: {
2956
2996
  "stream-offline": "stream-offline";
2957
2997
  "node-online": "node-online";
2958
2998
  "node-offline": "node-offline";
2999
+ "node-inference-unavailable": "node-inference-unavailable";
3000
+ "detection-blind": "detection-blind";
2959
3001
  "addon-update-available": "addon-update-available";
2960
3002
  "server-update-available": "server-update-available";
2961
3003
  "alarm-triggered": "alarm-triggered";
@@ -3103,6 +3145,8 @@ export declare const notificationRulesCapability: {
3103
3145
  "stream-offline": "stream-offline";
3104
3146
  "node-online": "node-online";
3105
3147
  "node-offline": "node-offline";
3148
+ "node-inference-unavailable": "node-inference-unavailable";
3149
+ "detection-blind": "detection-blind";
3106
3150
  "addon-update-available": "addon-update-available";
3107
3151
  "server-update-available": "server-update-available";
3108
3152
  "alarm-triggered": "alarm-triggered";
@@ -3267,6 +3311,8 @@ export declare const notificationRulesCapability: {
3267
3311
  }>>;
3268
3312
  maxImagePx: z.ZodDefault<z.ZodNumber>;
3269
3313
  }, z.core.$strip>>;
3314
+ waitForEnhancement: z.ZodOptional<z.ZodBoolean>;
3315
+ groupIdleSec: z.ZodOptional<z.ZodNumber>;
3270
3316
  id: z.ZodString;
3271
3317
  createdBy: z.ZodString;
3272
3318
  createdAt: z.ZodNumber;
@@ -3389,6 +3435,8 @@ export declare const notificationRulesCapability: {
3389
3435
  "stream-offline": "stream-offline";
3390
3436
  "node-online": "node-online";
3391
3437
  "node-offline": "node-offline";
3438
+ "node-inference-unavailable": "node-inference-unavailable";
3439
+ "detection-blind": "detection-blind";
3392
3440
  "addon-update-available": "addon-update-available";
3393
3441
  "server-update-available": "server-update-available";
3394
3442
  "alarm-triggered": "alarm-triggered";
@@ -3553,6 +3601,8 @@ export declare const notificationRulesCapability: {
3553
3601
  }>>;
3554
3602
  maxImagePx: z.ZodDefault<z.ZodNumber>;
3555
3603
  }, z.core.$strip>>;
3604
+ waitForEnhancement: z.ZodOptional<z.ZodBoolean>;
3605
+ groupIdleSec: z.ZodOptional<z.ZodNumber>;
3556
3606
  }, z.core.$strip>;
3557
3607
  lookbackMinutes: z.ZodDefault<z.ZodNumber>;
3558
3608
  }, z.core.$strip>, z.ZodObject<{
@@ -3730,6 +3780,8 @@ export declare const notificationRulesCapability: {
3730
3780
  "stream-offline": "stream-offline";
3731
3781
  "node-online": "node-online";
3732
3782
  "node-offline": "node-offline";
3783
+ "node-inference-unavailable": "node-inference-unavailable";
3784
+ "detection-blind": "detection-blind";
3733
3785
  "addon-update-available": "addon-update-available";
3734
3786
  "server-update-available": "server-update-available";
3735
3787
  "alarm-triggered": "alarm-triggered";
@@ -144,6 +144,8 @@ export declare const OsdSlotBindingSchema: z.ZodObject<{
144
144
  "stream-offline": "stream-offline";
145
145
  "node-online": "node-online";
146
146
  "node-offline": "node-offline";
147
+ "node-inference-unavailable": "node-inference-unavailable";
148
+ "detection-blind": "detection-blind";
147
149
  "addon-update-available": "addon-update-available";
148
150
  "server-update-available": "server-update-available";
149
151
  "alarm-triggered": "alarm-triggered";
@@ -292,6 +294,8 @@ export declare const OsdSlotViewSchema: z.ZodObject<{
292
294
  "stream-offline": "stream-offline";
293
295
  "node-online": "node-online";
294
296
  "node-offline": "node-offline";
297
+ "node-inference-unavailable": "node-inference-unavailable";
298
+ "detection-blind": "detection-blind";
295
299
  "addon-update-available": "addon-update-available";
296
300
  "server-update-available": "server-update-available";
297
301
  "alarm-triggered": "alarm-triggered";
@@ -512,6 +516,8 @@ export declare const osdManagerCapability: {
512
516
  "stream-offline": "stream-offline";
513
517
  "node-online": "node-online";
514
518
  "node-offline": "node-offline";
519
+ "node-inference-unavailable": "node-inference-unavailable";
520
+ "detection-blind": "detection-blind";
515
521
  "addon-update-available": "addon-update-available";
516
522
  "server-update-available": "server-update-available";
517
523
  "alarm-triggered": "alarm-triggered";
@@ -748,6 +754,8 @@ export declare const osdManagerCapability: {
748
754
  "stream-offline": "stream-offline";
749
755
  "node-online": "node-online";
750
756
  "node-offline": "node-offline";
757
+ "node-inference-unavailable": "node-inference-unavailable";
758
+ "detection-blind": "detection-blind";
751
759
  "addon-update-available": "addon-update-available";
752
760
  "server-update-available": "server-update-available";
753
761
  "alarm-triggered": "alarm-triggered";
@@ -895,6 +903,8 @@ export declare const osdManagerCapability: {
895
903
  "stream-offline": "stream-offline";
896
904
  "node-online": "node-online";
897
905
  "node-offline": "node-offline";
906
+ "node-inference-unavailable": "node-inference-unavailable";
907
+ "detection-blind": "detection-blind";
898
908
  "addon-update-available": "addon-update-available";
899
909
  "server-update-available": "server-update-available";
900
910
  "alarm-triggered": "alarm-triggered";
@@ -1074,6 +1084,8 @@ export declare const osdManagerCapability: {
1074
1084
  "stream-offline": "stream-offline";
1075
1085
  "node-online": "node-online";
1076
1086
  "node-offline": "node-offline";
1087
+ "node-inference-unavailable": "node-inference-unavailable";
1088
+ "detection-blind": "detection-blind";
1077
1089
  "addon-update-available": "addon-update-available";
1078
1090
  "server-update-available": "server-update-available";
1079
1091
  "alarm-triggered": "alarm-triggered";
@@ -202,7 +202,7 @@ export type TrackEnvelope = z.infer<typeof TrackEnvelopeSchema>;
202
202
  * `snapshots[]` references — megabytes across a page of tracks. `slim`
203
203
  * keeps every scalar the list surfaces actually render (ids, class(es),
204
204
  * label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
205
- * zonesVisited, bestEventId, envelope, hasFace) and returns `positions` /
205
+ * zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
206
206
  * `snapshots` as EMPTY arrays — detail views re-fetch the full row via
207
207
  * `getTrack`. Mirrors the event-store `projection` convention
208
208
  * (`getObjectEvents` et al.).
@@ -332,6 +332,7 @@ export declare const LabelAttributionSchema: z.ZodObject<{
332
332
  stepId: z.ZodString;
333
333
  modelId: z.ZodOptional<z.ZodString>;
334
334
  decidedAt: z.ZodNumber;
335
+ identityId: z.ZodOptional<z.ZodString>;
335
336
  }, z.core.$strip>;
336
337
  export type LabelAttribution = z.infer<typeof LabelAttributionSchema>;
337
338
  /** Per-camera slice of a training-export estimate. */
@@ -431,12 +432,14 @@ declare const TrackSchema: z.ZodObject<{
431
432
  maxY: z.ZodNumber;
432
433
  }, z.core.$strip>>;
433
434
  hasFace: z.ZodOptional<z.ZodBoolean>;
435
+ hasRider: z.ZodOptional<z.ZodBoolean>;
434
436
  label: z.ZodOptional<z.ZodString>;
435
437
  labelScore: z.ZodOptional<z.ZodNumber>;
436
438
  labelMeta: z.ZodOptional<z.ZodObject<{
437
439
  stepId: z.ZodString;
438
440
  modelId: z.ZodOptional<z.ZodString>;
439
441
  decidedAt: z.ZodNumber;
442
+ identityId: z.ZodOptional<z.ZodString>;
440
443
  }, z.core.$strip>>;
441
444
  subLabel: z.ZodOptional<z.ZodString>;
442
445
  subLabelScore: z.ZodOptional<z.ZodNumber>;
@@ -444,6 +447,7 @@ declare const TrackSchema: z.ZodObject<{
444
447
  stepId: z.ZodString;
445
448
  modelId: z.ZodOptional<z.ZodString>;
446
449
  decidedAt: z.ZodNumber;
450
+ identityId: z.ZodOptional<z.ZodString>;
447
451
  }, z.core.$strip>>;
448
452
  trackId: z.ZodString;
449
453
  deviceId: z.ZodNumber;
@@ -557,6 +561,7 @@ declare const ObjectEventSchema: z.ZodObject<{
557
561
  stepId: z.ZodString;
558
562
  modelId: z.ZodOptional<z.ZodString>;
559
563
  decidedAt: z.ZodNumber;
564
+ identityId: z.ZodOptional<z.ZodString>;
560
565
  }, z.core.$strip>>;
561
566
  subLabel: z.ZodOptional<z.ZodString>;
562
567
  subLabelScore: z.ZodOptional<z.ZodNumber>;
@@ -564,6 +569,7 @@ declare const ObjectEventSchema: z.ZodObject<{
564
569
  stepId: z.ZodString;
565
570
  modelId: z.ZodOptional<z.ZodString>;
566
571
  decidedAt: z.ZodNumber;
572
+ identityId: z.ZodOptional<z.ZodString>;
567
573
  }, z.core.$strip>>;
568
574
  kind: z.ZodLiteral<"object">;
569
575
  source: z.ZodOptional<z.ZodEnum<{
@@ -1076,12 +1082,14 @@ declare const RecentTracksPageSchema: z.ZodObject<{
1076
1082
  maxY: z.ZodNumber;
1077
1083
  }, z.core.$strip>>;
1078
1084
  hasFace: z.ZodOptional<z.ZodBoolean>;
1085
+ hasRider: z.ZodOptional<z.ZodBoolean>;
1079
1086
  label: z.ZodOptional<z.ZodString>;
1080
1087
  labelScore: z.ZodOptional<z.ZodNumber>;
1081
1088
  labelMeta: z.ZodOptional<z.ZodObject<{
1082
1089
  stepId: z.ZodString;
1083
1090
  modelId: z.ZodOptional<z.ZodString>;
1084
1091
  decidedAt: z.ZodNumber;
1092
+ identityId: z.ZodOptional<z.ZodString>;
1085
1093
  }, z.core.$strip>>;
1086
1094
  subLabel: z.ZodOptional<z.ZodString>;
1087
1095
  subLabelScore: z.ZodOptional<z.ZodNumber>;
@@ -1089,6 +1097,7 @@ declare const RecentTracksPageSchema: z.ZodObject<{
1089
1097
  stepId: z.ZodString;
1090
1098
  modelId: z.ZodOptional<z.ZodString>;
1091
1099
  decidedAt: z.ZodNumber;
1100
+ identityId: z.ZodOptional<z.ZodString>;
1092
1101
  }, z.core.$strip>>;
1093
1102
  trackId: z.ZodString;
1094
1103
  deviceId: z.ZodNumber;
@@ -1114,6 +1123,7 @@ declare const KeyEventSchema: z.ZodObject<{
1114
1123
  stepId: z.ZodString;
1115
1124
  modelId: z.ZodOptional<z.ZodString>;
1116
1125
  decidedAt: z.ZodNumber;
1126
+ identityId: z.ZodOptional<z.ZodString>;
1117
1127
  }, z.core.$strip>>;
1118
1128
  subLabel: z.ZodOptional<z.ZodString>;
1119
1129
  subLabelScore: z.ZodOptional<z.ZodNumber>;
@@ -1121,6 +1131,7 @@ declare const KeyEventSchema: z.ZodObject<{
1121
1131
  stepId: z.ZodString;
1122
1132
  modelId: z.ZodOptional<z.ZodString>;
1123
1133
  decidedAt: z.ZodNumber;
1134
+ identityId: z.ZodOptional<z.ZodString>;
1124
1135
  }, z.core.$strip>>;
1125
1136
  id: z.ZodString;
1126
1137
  trackId: z.ZodString;
@@ -1183,6 +1194,7 @@ export declare const ScoredObjectEventSchema: z.ZodObject<{
1183
1194
  stepId: z.ZodString;
1184
1195
  modelId: z.ZodOptional<z.ZodString>;
1185
1196
  decidedAt: z.ZodNumber;
1197
+ identityId: z.ZodOptional<z.ZodString>;
1186
1198
  }, z.core.$strip>>;
1187
1199
  subLabel: z.ZodOptional<z.ZodString>;
1188
1200
  subLabelScore: z.ZodOptional<z.ZodNumber>;
@@ -1190,6 +1202,7 @@ export declare const ScoredObjectEventSchema: z.ZodObject<{
1190
1202
  stepId: z.ZodString;
1191
1203
  modelId: z.ZodOptional<z.ZodString>;
1192
1204
  decidedAt: z.ZodNumber;
1205
+ identityId: z.ZodOptional<z.ZodString>;
1193
1206
  }, z.core.$strip>>;
1194
1207
  kind: z.ZodLiteral<"object">;
1195
1208
  source: z.ZodOptional<z.ZodEnum<{
@@ -1321,12 +1334,14 @@ export declare const pipelineAnalyticsCapability: {
1321
1334
  maxY: z.ZodNumber;
1322
1335
  }, z.core.$strip>>;
1323
1336
  hasFace: z.ZodOptional<z.ZodBoolean>;
1337
+ hasRider: z.ZodOptional<z.ZodBoolean>;
1324
1338
  label: z.ZodOptional<z.ZodString>;
1325
1339
  labelScore: z.ZodOptional<z.ZodNumber>;
1326
1340
  labelMeta: z.ZodOptional<z.ZodObject<{
1327
1341
  stepId: z.ZodString;
1328
1342
  modelId: z.ZodOptional<z.ZodString>;
1329
1343
  decidedAt: z.ZodNumber;
1344
+ identityId: z.ZodOptional<z.ZodString>;
1330
1345
  }, z.core.$strip>>;
1331
1346
  subLabel: z.ZodOptional<z.ZodString>;
1332
1347
  subLabelScore: z.ZodOptional<z.ZodNumber>;
@@ -1334,6 +1349,7 @@ export declare const pipelineAnalyticsCapability: {
1334
1349
  stepId: z.ZodString;
1335
1350
  modelId: z.ZodOptional<z.ZodString>;
1336
1351
  decidedAt: z.ZodNumber;
1352
+ identityId: z.ZodOptional<z.ZodString>;
1337
1353
  }, z.core.$strip>>;
1338
1354
  trackId: z.ZodString;
1339
1355
  deviceId: z.ZodNumber;
@@ -1413,12 +1429,14 @@ export declare const pipelineAnalyticsCapability: {
1413
1429
  maxY: z.ZodNumber;
1414
1430
  }, z.core.$strip>>;
1415
1431
  hasFace: z.ZodOptional<z.ZodBoolean>;
1432
+ hasRider: z.ZodOptional<z.ZodBoolean>;
1416
1433
  label: z.ZodOptional<z.ZodString>;
1417
1434
  labelScore: z.ZodOptional<z.ZodNumber>;
1418
1435
  labelMeta: z.ZodOptional<z.ZodObject<{
1419
1436
  stepId: z.ZodString;
1420
1437
  modelId: z.ZodOptional<z.ZodString>;
1421
1438
  decidedAt: z.ZodNumber;
1439
+ identityId: z.ZodOptional<z.ZodString>;
1422
1440
  }, z.core.$strip>>;
1423
1441
  subLabel: z.ZodOptional<z.ZodString>;
1424
1442
  subLabelScore: z.ZodOptional<z.ZodNumber>;
@@ -1426,6 +1444,7 @@ export declare const pipelineAnalyticsCapability: {
1426
1444
  stepId: z.ZodString;
1427
1445
  modelId: z.ZodOptional<z.ZodString>;
1428
1446
  decidedAt: z.ZodNumber;
1447
+ identityId: z.ZodOptional<z.ZodString>;
1429
1448
  }, z.core.$strip>>;
1430
1449
  trackId: z.ZodString;
1431
1450
  deviceId: z.ZodNumber;
@@ -1527,12 +1546,14 @@ export declare const pipelineAnalyticsCapability: {
1527
1546
  maxY: z.ZodNumber;
1528
1547
  }, z.core.$strip>>;
1529
1548
  hasFace: z.ZodOptional<z.ZodBoolean>;
1549
+ hasRider: z.ZodOptional<z.ZodBoolean>;
1530
1550
  label: z.ZodOptional<z.ZodString>;
1531
1551
  labelScore: z.ZodOptional<z.ZodNumber>;
1532
1552
  labelMeta: z.ZodOptional<z.ZodObject<{
1533
1553
  stepId: z.ZodString;
1534
1554
  modelId: z.ZodOptional<z.ZodString>;
1535
1555
  decidedAt: z.ZodNumber;
1556
+ identityId: z.ZodOptional<z.ZodString>;
1536
1557
  }, z.core.$strip>>;
1537
1558
  subLabel: z.ZodOptional<z.ZodString>;
1538
1559
  subLabelScore: z.ZodOptional<z.ZodNumber>;
@@ -1540,6 +1561,7 @@ export declare const pipelineAnalyticsCapability: {
1540
1561
  stepId: z.ZodString;
1541
1562
  modelId: z.ZodOptional<z.ZodString>;
1542
1563
  decidedAt: z.ZodNumber;
1564
+ identityId: z.ZodOptional<z.ZodString>;
1543
1565
  }, z.core.$strip>>;
1544
1566
  trackId: z.ZodString;
1545
1567
  deviceId: z.ZodNumber;
@@ -1637,12 +1659,14 @@ export declare const pipelineAnalyticsCapability: {
1637
1659
  maxY: z.ZodNumber;
1638
1660
  }, z.core.$strip>>;
1639
1661
  hasFace: z.ZodOptional<z.ZodBoolean>;
1662
+ hasRider: z.ZodOptional<z.ZodBoolean>;
1640
1663
  label: z.ZodOptional<z.ZodString>;
1641
1664
  labelScore: z.ZodOptional<z.ZodNumber>;
1642
1665
  labelMeta: z.ZodOptional<z.ZodObject<{
1643
1666
  stepId: z.ZodString;
1644
1667
  modelId: z.ZodOptional<z.ZodString>;
1645
1668
  decidedAt: z.ZodNumber;
1669
+ identityId: z.ZodOptional<z.ZodString>;
1646
1670
  }, z.core.$strip>>;
1647
1671
  subLabel: z.ZodOptional<z.ZodString>;
1648
1672
  subLabelScore: z.ZodOptional<z.ZodNumber>;
@@ -1650,6 +1674,7 @@ export declare const pipelineAnalyticsCapability: {
1650
1674
  stepId: z.ZodString;
1651
1675
  modelId: z.ZodOptional<z.ZodString>;
1652
1676
  decidedAt: z.ZodNumber;
1677
+ identityId: z.ZodOptional<z.ZodString>;
1653
1678
  }, z.core.$strip>>;
1654
1679
  trackId: z.ZodString;
1655
1680
  deviceId: z.ZodNumber;
@@ -1735,6 +1760,7 @@ export declare const pipelineAnalyticsCapability: {
1735
1760
  stepId: z.ZodString;
1736
1761
  modelId: z.ZodOptional<z.ZodString>;
1737
1762
  decidedAt: z.ZodNumber;
1763
+ identityId: z.ZodOptional<z.ZodString>;
1738
1764
  }, z.core.$strip>>;
1739
1765
  subLabel: z.ZodOptional<z.ZodString>;
1740
1766
  subLabelScore: z.ZodOptional<z.ZodNumber>;
@@ -1742,6 +1768,7 @@ export declare const pipelineAnalyticsCapability: {
1742
1768
  stepId: z.ZodString;
1743
1769
  modelId: z.ZodOptional<z.ZodString>;
1744
1770
  decidedAt: z.ZodNumber;
1771
+ identityId: z.ZodOptional<z.ZodString>;
1745
1772
  }, z.core.$strip>>;
1746
1773
  kind: z.ZodLiteral<"object">;
1747
1774
  source: z.ZodOptional<z.ZodEnum<{
@@ -1939,6 +1966,7 @@ export declare const pipelineAnalyticsCapability: {
1939
1966
  stepId: z.ZodString;
1940
1967
  modelId: z.ZodOptional<z.ZodString>;
1941
1968
  decidedAt: z.ZodNumber;
1969
+ identityId: z.ZodOptional<z.ZodString>;
1942
1970
  }, z.core.$strip>>;
1943
1971
  subLabel: z.ZodOptional<z.ZodString>;
1944
1972
  subLabelScore: z.ZodOptional<z.ZodNumber>;
@@ -1946,6 +1974,7 @@ export declare const pipelineAnalyticsCapability: {
1946
1974
  stepId: z.ZodString;
1947
1975
  modelId: z.ZodOptional<z.ZodString>;
1948
1976
  decidedAt: z.ZodNumber;
1977
+ identityId: z.ZodOptional<z.ZodString>;
1949
1978
  }, z.core.$strip>>;
1950
1979
  id: z.ZodString;
1951
1980
  trackId: z.ZodString;
@@ -2868,6 +2897,7 @@ export declare const pipelineAnalyticsCapability: {
2868
2897
  stepId: z.ZodString;
2869
2898
  modelId: z.ZodOptional<z.ZodString>;
2870
2899
  decidedAt: z.ZodNumber;
2900
+ identityId: z.ZodOptional<z.ZodString>;
2871
2901
  }, z.core.$strip>>;
2872
2902
  subLabel: z.ZodOptional<z.ZodString>;
2873
2903
  subLabelScore: z.ZodOptional<z.ZodNumber>;
@@ -2875,6 +2905,7 @@ export declare const pipelineAnalyticsCapability: {
2875
2905
  stepId: z.ZodString;
2876
2906
  modelId: z.ZodOptional<z.ZodString>;
2877
2907
  decidedAt: z.ZodNumber;
2908
+ identityId: z.ZodOptional<z.ZodString>;
2878
2909
  }, z.core.$strip>>;
2879
2910
  kind: z.ZodLiteral<"object">;
2880
2911
  source: z.ZodOptional<z.ZodEnum<{
@@ -203,6 +203,33 @@ export declare enum EventCategory {
203
203
  */
204
204
  PipelineCameraAssigned = "pipeline.camera-assigned",
205
205
  PipelineCameraUnassigned = "pipeline.camera-unassigned",
206
+ /**
207
+ * A node the orchestrator would otherwise place cameras on has NO usable
208
+ * inference device: the operator enabled one or more accelerators there and
209
+ * the live probe reports every one of them unavailable. Emitted once per
210
+ * TRANSITION into that state (never per dispatch), and the node is dropped
211
+ * from the placement candidate set for as long as it holds.
212
+ *
213
+ * This exists because the state was previously invisible: little-unraid
214
+ * absorbed 283k inference errors in a day while still being handed cameras,
215
+ * and nothing in the system said so.
216
+ *
217
+ * A node with no accelerators configured at all is NOT this — its devices
218
+ * are `disabled`, not `unavailable`, and the runner's default CPU pool
219
+ * serves it exactly as before.
220
+ */
221
+ PipelineNodeInferenceUnavailable = "pipeline.node-inference-unavailable",
222
+ /**
223
+ * A camera has an OPEN detection session and has produced no detection at
224
+ * all for longer than the blind threshold — the camera is being decoded and
225
+ * inferred and is returning nothing. Emitted once per transition into blind,
226
+ * per camera.
227
+ *
228
+ * The failure it reports: a 1h43 detection blackout on the entrance camera
229
+ * that nobody noticed, because "a camera that detects nothing" and "a quiet
230
+ * camera" produce byte-identical silence.
231
+ */
232
+ PipelineDetectionBlind = "pipeline.detection-blind",
206
233
  /**
207
234
  * Per-camera pipeline config was mutated by the orchestrator
208
235
  * (3-level settings change via `setAgentAddonDefaults` /
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-DxZbWydC.js");
2
+ const require_event_category = require("./event-category-D3gG7oil.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-Cv9dO26A.mjs";
1
+ import { t as EventCategory } from "./event-category-Bxo5yJjt.mjs";
2
2
  //#region src/enums/event-source-type.ts
3
3
  var EventSourceType = /* @__PURE__ */ function(EventSourceType) {
4
4
  EventSourceType["Addon"] = "addon";
@@ -205,6 +205,33 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
205
205
  EventCategory["PipelineCameraAssigned"] = "pipeline.camera-assigned";
206
206
  EventCategory["PipelineCameraUnassigned"] = "pipeline.camera-unassigned";
207
207
  /**
208
+ * A node the orchestrator would otherwise place cameras on has NO usable
209
+ * inference device: the operator enabled one or more accelerators there and
210
+ * the live probe reports every one of them unavailable. Emitted once per
211
+ * TRANSITION into that state (never per dispatch), and the node is dropped
212
+ * from the placement candidate set for as long as it holds.
213
+ *
214
+ * This exists because the state was previously invisible: little-unraid
215
+ * absorbed 283k inference errors in a day while still being handed cameras,
216
+ * and nothing in the system said so.
217
+ *
218
+ * A node with no accelerators configured at all is NOT this — its devices
219
+ * are `disabled`, not `unavailable`, and the runner's default CPU pool
220
+ * serves it exactly as before.
221
+ */
222
+ EventCategory["PipelineNodeInferenceUnavailable"] = "pipeline.node-inference-unavailable";
223
+ /**
224
+ * A camera has an OPEN detection session and has produced no detection at
225
+ * all for longer than the blind threshold — the camera is being decoded and
226
+ * inferred and is returning nothing. Emitted once per transition into blind,
227
+ * per camera.
228
+ *
229
+ * The failure it reports: a 1h43 detection blackout on the entrance camera
230
+ * that nobody noticed, because "a camera that detects nothing" and "a quiet
231
+ * camera" produce byte-identical silence.
232
+ */
233
+ EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
234
+ /**
208
235
  * Per-camera pipeline config was mutated by the orchestrator
209
236
  * (3-level settings change via `setAgentAddonDefaults` /
210
237
  * `setCameraStepToggle` / `setCameraPipelineForAgent` or a