@camstack/addon-post-analysis 1.2.136 → 1.2.138

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.
@@ -5946,6 +5946,40 @@ var BaseAddon = class {
5946
5946
  deviceSettingsSchema() {
5947
5947
  return null;
5948
5948
  }
5949
+ /**
5950
+ * INTEGRATION-LEVEL SETTINGS — declare which of this addon's global sections
5951
+ * ARE the configuration of its integration.
5952
+ *
5953
+ * Return the `ConfigSection.id`s, from {@link globalSettingsSchema}, that an
5954
+ * operator should find on the addon's integration page (System →
5955
+ * Integrations → <name>) rather than only in the cluster-wide list of every
5956
+ * addon. Empty (the default) means the addon has no integration-level
5957
+ * settings and no such surface is offered — this is opt-in, because whether
5958
+ * an addon's configuration IS its integration's configuration depends on the
5959
+ * nature of the integration.
5960
+ *
5961
+ * WHAT THIS IS NOT. It is not a scope. The selected sections keep living in
5962
+ * the ONE global schema, in the ONE addon store, written by the ONE
5963
+ * `updateGlobalSettings` path. There is deliberately no
5964
+ * `updateIntegrationSettings`: a second write path is how a surface acquires
5965
+ * a second store key, and this repo has shipped that twice (`btmPath@hub`,
5966
+ * D266). Selecting sections cannot introduce a key that selecting cannot.
5967
+ *
5968
+ * WHY IT IS A LIST OF SECTION IDS AND NOT A MARKER ON THE SECTION.
5969
+ * `ConfigFieldBase` used to carry `scope?: 'device' | 'global'` and it was
5970
+ * removed with the reason recorded at
5971
+ * `packages/types/src/interfaces/config-ui.ts:249` — *"a field's scope is
5972
+ * determined by WHICH schema it lives in, not by a field-level marker."* A
5973
+ * marker sprinkled across sections also has to borrow a field that already
5974
+ * means something else; borrowing `section.tab` put the literal word
5975
+ * "integration" into an operator-facing tab bar, because `tab` means "how to
5976
+ * GROUP this visually" and cannot also mean "where this lives" (D269
5977
+ * supersedes D268). One declaration, in one place, next to the schema whose
5978
+ * ids it names.
5979
+ */
5980
+ integrationSettingSections() {
5981
+ return [];
5982
+ }
5949
5983
  async getGlobalSettings(overlay, cap, nodeId) {
5950
5984
  const schema = this.globalSettingsSchema(cap);
5951
5985
  if (!schema) return { sections: [] };
@@ -5956,6 +5990,55 @@ var BaseAddon = class {
5956
5990
  } : projected);
5957
5991
  }
5958
5992
  /**
5993
+ * The integration-level view of this addon's settings: exactly the sections
5994
+ * named by {@link integrationSettingSections}, hydrated from the SAME store
5995
+ * `getGlobalSettings` reads, and narrowed to cluster-scoped fields.
5996
+ *
5997
+ * Returns `null` when the addon declared nothing — an addon that opts out has
5998
+ * no integration settings surface at all, rather than an empty one that reads
5999
+ * as a failed load.
6000
+ *
6001
+ * Three properties hold BY CONSTRUCTION, which is why they are here in core
6002
+ * and not in whichever UI happens to render this:
6003
+ *
6004
+ * 1. **One key.** The payload is a SUBSET of the global schema, so a field
6005
+ * shown here is the same field, with the same bare key, that the addon's
6006
+ * own page shows. There is no integration-specific writer — callers save
6007
+ * through `updateGlobalSettings` — so a second store key is unreachable,
6008
+ * not merely discouraged.
6009
+ * 2. **No node scope.** `perNode: true` fields are DROPPED. Their store key
6010
+ * is `<key>@<nodeId>` and an integration is not a node; whichever node
6011
+ * such a field silently picked would be a wrong answer for the operator
6012
+ * who opened the page (D266).
6013
+ * 3. **No silent typo.** A declared id that names no section throws. The
6014
+ * alternative — skip it — turns a rename into a surface that quietly
6015
+ * empties, which looks exactly like an addon with nothing to configure.
6016
+ */
6017
+ async getIntegrationSettings(nodeId) {
6018
+ const declared = this.integrationSettingSections();
6019
+ if (declared.length === 0) return null;
6020
+ const schema = this.globalSettingsSchema();
6021
+ if (!schema) throw new Error(`${this.constructor.name}: integrationSettingSections() names [${declared.join(", ")}] but globalSettingsSchema() returns null.`);
6022
+ const byId = new Map(schema.sections.map((section) => [section.id, section]));
6023
+ const sections = [];
6024
+ for (const id of declared) {
6025
+ const section = byId.get(id);
6026
+ if (!section) throw new Error(`${this.constructor.name}: integrationSettingSections() names unknown section "${id}". Known sections: [${[...byId.keys()].join(", ")}].`);
6027
+ const fields = dropPerNodeFields(section.fields);
6028
+ if (fields.length === 0) continue;
6029
+ sections.push({
6030
+ ...section,
6031
+ fields
6032
+ });
6033
+ }
6034
+ if (sections.length === 0) return null;
6035
+ const projected = await this.resolveGlobalStore(nodeId);
6036
+ return hydrateSchema({
6037
+ ...schema,
6038
+ sections
6039
+ }, projected);
6040
+ }
6041
+ /**
5959
6042
  * The raw addon store PROJECTED onto the target node's bare per-node keys:
5960
6043
  * every `perNode: true` field carries THAT node's scoped value on its bare
5961
6044
  * key (absent scoped key ⇒ key absent, so the schema `default` wins — no
@@ -6259,6 +6342,41 @@ var BaseAddon = class {
6259
6342
  * `hydrateSchema` does. Valueless structural fields (separator/info/…)
6260
6343
  * don't declare `perNode` and are excluded by the `in` narrowing.
6261
6344
  */
6345
+ /**
6346
+ * The same fields with every `perNode: true` one removed, recursing into layout
6347
+ * containers exactly as {@link collectPerNodeFieldKeys} does. A container left
6348
+ * with no child is dropped rather than rendered empty.
6349
+ *
6350
+ * Used by `getIntegrationSettings`: an integration is not a node, so a field
6351
+ * whose store key is `<key>@<nodeId>` has no node to belong to there.
6352
+ */
6353
+ function dropPerNodeFields(fields) {
6354
+ const kept = [];
6355
+ for (const field of fields) {
6356
+ if (field.type === "group") {
6357
+ const inner = dropPerNodeFields(field.fields);
6358
+ if (inner.length > 0) kept.push({
6359
+ ...field,
6360
+ fields: inner
6361
+ });
6362
+ continue;
6363
+ }
6364
+ if (field.type === "sub-tabs") {
6365
+ const tabs = field.tabs.map((tab) => ({
6366
+ ...tab,
6367
+ fields: dropPerNodeFields(tab.fields)
6368
+ })).filter((tab) => tab.fields.length > 0);
6369
+ if (tabs.length > 0) kept.push({
6370
+ ...field,
6371
+ tabs
6372
+ });
6373
+ continue;
6374
+ }
6375
+ if ("perNode" in field && field.perNode === true) continue;
6376
+ kept.push(field);
6377
+ }
6378
+ return kept;
6379
+ }
6262
6380
  function collectPerNodeFieldKeys(fields) {
6263
6381
  const collected = [];
6264
6382
  for (const field of fields) {
@@ -8484,6 +8602,112 @@ var DecoderSessionConfigSchema = object({
8484
8602
  */
8485
8603
  debug: boolean().optional()
8486
8604
  });
8605
+ /**
8606
+ * Distinct (device, family, variant) counters one instance will hold.
8607
+ *
8608
+ * A large fleet x the handful of families any single addon reports, with
8609
+ * slack. At ~200 B per counter this is a ~100 KB ceiling on a process that
8610
+ * already declares an RSS budget in the gigabytes.
8611
+ */
8612
+ var MAX_KEYS = 1024;
8613
+ /**
8614
+ * Where reasons past {@link MAX_REASONS_PER_KEY} go.
8615
+ *
8616
+ * They are FOLDED, never dropped: `attempts - succeeded` must always equal the
8617
+ * sum of the reason counts, or the ratio stops adding up.
8618
+ */
8619
+ var OVERFLOW_REASON = "other";
8620
+ /** `deviceId` + `family` + optional `variant`, flattened into the map key. */
8621
+ function counterKey(deviceId, family, variant) {
8622
+ return variant === void 0 ? `${deviceId}${family}` : `${deviceId}${family}${variant}`;
8623
+ }
8624
+ /**
8625
+ * A bounded set of per-camera, cumulative failure counters.
8626
+ *
8627
+ * One instance per contributing subsystem. `note` is O(1) and allocation-free
8628
+ * on the steady path; `snapshot` reads without mutating anything.
8629
+ */
8630
+ var FailureCounters = class {
8631
+ maxKeys;
8632
+ maxReasons;
8633
+ counters = /* @__PURE__ */ new Map();
8634
+ refused = 0;
8635
+ constructor(maxKeys = MAX_KEYS, maxReasons = 16) {
8636
+ this.maxKeys = maxKeys;
8637
+ this.maxReasons = maxReasons;
8638
+ }
8639
+ /**
8640
+ * Counters refused because {@link MAX_KEYS} was already held.
8641
+ *
8642
+ * Cumulative for the life of the instance: a bound that bit is a fact about
8643
+ * the deployment, and a surface that hid it would under-report a fleet
8644
+ * precisely when the fleet got large enough to matter.
8645
+ */
8646
+ get keysRefused() {
8647
+ return this.refused;
8648
+ }
8649
+ /** Counters currently held. */
8650
+ get size() {
8651
+ return this.counters.size;
8652
+ }
8653
+ /**
8654
+ * Fold one observation in.
8655
+ *
8656
+ * A non-positive or non-integer `deviceId` is REFUSED rather than bucketed:
8657
+ * see the module docblock — an entry that cannot name its camera is worse
8658
+ * than no entry.
8659
+ */
8660
+ note(observation, nowMs) {
8661
+ if (!Number.isInteger(observation.deviceId) || observation.deviceId <= 0) return;
8662
+ const key = counterKey(observation.deviceId, observation.family, observation.variant);
8663
+ let counter = this.counters.get(key);
8664
+ if (counter === void 0) {
8665
+ if (this.counters.size >= this.maxKeys) {
8666
+ this.refused += 1;
8667
+ return;
8668
+ }
8669
+ counter = {
8670
+ deviceId: observation.deviceId,
8671
+ family: observation.family,
8672
+ variant: observation.variant,
8673
+ sinceMs: nowMs,
8674
+ attempts: 0,
8675
+ succeeded: 0,
8676
+ reasons: /* @__PURE__ */ new Map()
8677
+ };
8678
+ this.counters.set(key, counter);
8679
+ }
8680
+ counter.attempts += 1;
8681
+ if (observation.reason === void 0) {
8682
+ counter.succeeded += 1;
8683
+ return;
8684
+ }
8685
+ const reason = counter.reasons.has(observation.reason) || counter.reasons.size < this.maxReasons ? observation.reason : OVERFLOW_REASON;
8686
+ counter.reasons.set(reason, (counter.reasons.get(reason) ?? 0) + 1);
8687
+ }
8688
+ /** Read every counter. Never mutates — see the module docblock. */
8689
+ snapshot(nowMs) {
8690
+ const out = [];
8691
+ for (const counter of this.counters.values()) out.push({
8692
+ deviceId: counter.deviceId,
8693
+ family: counter.family,
8694
+ ...counter.variant !== void 0 ? { variant: counter.variant } : {},
8695
+ sinceMs: counter.sinceMs,
8696
+ atMs: nowMs,
8697
+ attempts: counter.attempts,
8698
+ succeeded: counter.succeeded,
8699
+ reasons: [...counter.reasons.entries()].map(([reason, count]) => ({
8700
+ reason,
8701
+ count
8702
+ })).toSorted((a, b) => b.count - a.count)
8703
+ });
8704
+ return out;
8705
+ }
8706
+ /** Drop everything (host disposal). */
8707
+ clear() {
8708
+ this.counters.clear();
8709
+ }
8710
+ };
8487
8711
  var MODEL_FORMATS = [
8488
8712
  "onnx",
8489
8713
  "coreml",
@@ -9669,6 +9893,9 @@ method(object({
9669
9893
  kind: "mutation",
9670
9894
  auth: "admin"
9671
9895
  }), method(object({
9896
+ addonId: string(),
9897
+ nodeId: string().optional()
9898
+ }), SettingsSchemaWithValuesSchema.nullable()), method(object({
9672
9899
  addonId: string(),
9673
9900
  deviceId: number(),
9674
9901
  nodeId: string().optional()
@@ -13624,6 +13851,133 @@ method(LogEntrySchema, _void(), { kind: "mutation" }), method(object({
13624
13851
  limit: number().optional(),
13625
13852
  tags: record(string(), string()).optional()
13626
13853
  }), array(LogEntrySchema).readonly());
13854
+ /**
13855
+ * `failure-contribution` — the capability an addon reports its OWN losses
13856
+ * through, per camera, with the denominator attached. It stores nothing.
13857
+ *
13858
+ * ## The twin of `load-contribution`, and why it is a twin and not a field
13859
+ *
13860
+ * `load-contribution` answers *what did this camera COST*. This answers *what
13861
+ * did this camera LOSE*. The reporting discipline is identical and deliberately
13862
+ * copied: the contributor reports what it already knows, hub-main adds only
13863
+ * `addonId`, nothing needs global knowledge, and there is no central list for
13864
+ * somebody to forget to edit.
13865
+ *
13866
+ * They are not merged, because their invariants are opposites:
13867
+ *
13868
+ * - a `load-contribution` measurement is **absent, never zero** — a zero would
13869
+ * claim a camera cost nothing, which is a measurement nobody made;
13870
+ * - a `failure-contribution` zero is the **most valuable value on the
13871
+ * surface** — `attempts: 400, succeeded: 400` is the proof a fix landed,
13872
+ * and it is exactly what an absent entry cannot say.
13873
+ *
13874
+ * Putting a loss counter on a cost entry would also break the reconciliation
13875
+ * that gives `load-contribution` its point: contributions are subtracted from
13876
+ * `metrics.node-processes-snapshot` to find processes nobody claims. A failure
13877
+ * has no process.
13878
+ *
13879
+ * ## Why not a log line, since the counters already exist
13880
+ *
13881
+ * Several of these paths already counted themselves — `CaptureScheduler`'s
13882
+ * per-device window, `KeyFrameCaptureLog`, `bumpCropMetric`. Every one of them
13883
+ * ends in a log line, and a log line is the thing the operator asked to stop
13884
+ * needing: *"possiamo armare questi errori intanto? Così al prossimo giro
13885
+ * ricontrolliamo tutti questi punti"*. Reading them meant grepping Loki and
13886
+ * hand-correlating timestamps, which is how a 22% thumbnail gap and a 3-hour
13887
+ * media blackout were both diagnosed. The counters stay; this is where they can
13888
+ * be READ.
13889
+ *
13890
+ * ## The rate is served with its denominator or not at all
13891
+ *
13892
+ * Every entry carries `attempts` and `succeeded`. A miss count alone is
13893
+ * unreadable: on 2026-08-28 the enrichment-crop miss count read as "35x worse
13894
+ * than yesterday" and was **flat across twelve hours** once divided by the
13895
+ * successes on the same path. A surface that publishes only the numerator
13896
+ * reproduces that mistake on every read.
13897
+ *
13898
+ * ## Shape
13899
+ *
13900
+ * Copied from `load-contribution.cap.ts` (`mode: 'collection'`,
13901
+ * `internal: true`, `mount: { kind: 'skip' }`): no tRPC route of its own and no
13902
+ * generated hooks, while `addons.listCapabilityProviders` still enumerates it
13903
+ * and the hub's `CapabilityRegistry` still holds an RPC proxy per provider — so
13904
+ * a forked runner's entries reach hub-main over transport that already exists.
13905
+ * No new UDS message, no second registry (D3). The operator reads the assembled
13906
+ * result through `system.getFailureContributions`.
13907
+ */
13908
+ var FailureReasonCountSchema = object({
13909
+ /**
13910
+ * Why the attempt did not land, in the contributor's own vocabulary —
13911
+ * `worker-lease-gone`, `queue-overflow`, `timeout`, `empty-read`. The same
13912
+ * strings that already appear in this repo's logs and, where one exists, the
13913
+ * same string the per-track `previewMissReason` records (D276): a second
13914
+ * vocabulary for the same loss would make the row and the counter
13915
+ * un-joinable.
13916
+ */
13917
+ reason: string(),
13918
+ count: number().int().nonnegative()
13919
+ });
13920
+ var FailureContributionSchema = object({
13921
+ /**
13922
+ * The failing path — `enrichment-crop`, `inference`, `plate-ocr`,
13923
+ * `person-over-vehicle`. Free text, for the reason `load-contribution` keeps
13924
+ * `unit` free: the families are owned by different addons and a shared enum
13925
+ * is a central list that rots invisibly.
13926
+ */
13927
+ family: string(),
13928
+ /**
13929
+ * The NUMERIC device id — the same value every log line carries as
13930
+ * `tags.deviceId`. Never nullable and never absent: a contributor that
13931
+ * cannot name the camera must not emit the entry, because a fleet total
13932
+ * cannot answer the only question anybody asks of this surface.
13933
+ */
13934
+ deviceId: number().int().positive(),
13935
+ /**
13936
+ * A second dimension inside the family: the model / step id for an inference
13937
+ * timeout, so "which camera AND which model" is one read. Absent when the
13938
+ * family has a single variant.
13939
+ */
13940
+ variant: string().optional(),
13941
+ /**
13942
+ * Epoch ms this counter started — the INCARNATION MARKER. A consumer
13943
+ * differencing two reads must drop the interval when it changes, because the
13944
+ * counter restarted from zero in a respawned runner. Same discipline as
13945
+ * `LoadContribution.startedAtMs`.
13946
+ */
13947
+ sinceMs: number(),
13948
+ /** Epoch ms it was read. `atMs - sinceMs` is the interval this covers. */
13949
+ atMs: number(),
13950
+ /**
13951
+ * THE DENOMINATOR — every attempt on this path for this camera in the
13952
+ * window. A failure count published without it is the mistake this schema
13953
+ * exists to make impossible.
13954
+ */
13955
+ attempts: number().int().nonnegative(),
13956
+ /** Attempts that landed. `attempts - succeeded` is the loss. */
13957
+ succeeded: number().int().nonnegative(),
13958
+ /** The loss, partitioned. Sums to `attempts - succeeded`. */
13959
+ reasons: array(FailureReasonCountSchema).readonly()
13960
+ });
13961
+ var failureContributionCapability = {
13962
+ name: "failure-contribution",
13963
+ scope: "system",
13964
+ mode: "collection",
13965
+ internal: true,
13966
+ methods: {
13967
+ /**
13968
+ * This addon's per-camera failure counters, read live from bounded in-RAM
13969
+ * state it already keeps. Inert: no persistence, no sampling, no timer.
13970
+ *
13971
+ * READING NEVER RESETS. The counters are CUMULATIVE since `sinceMs`, and a
13972
+ * consumer that wants a rate differences two reads. A draining read would
13973
+ * make two operators with the page open each destroy half of the other's
13974
+ * numbers, and `load-contribution` already settled the same question the
13975
+ * same way for `cpuSeconds`.
13976
+ */
13977
+ list: method(_void(), array(FailureContributionSchema).readonly()) },
13978
+ /** In-process only — enumerated through `addons.listCapabilityProviders`. */
13979
+ mount: { kind: "skip" }
13980
+ };
13627
13981
  var LoadContributionSchema = object({
13628
13982
  role: _enum([
13629
13983
  "decode",
@@ -18842,6 +19196,20 @@ var TrackSchema = object({
18842
19196
  * `=== true` and render nothing otherwise — never infer "no rider".
18843
19197
  */
18844
19198
  hasRider: boolean().optional(),
19199
+ /**
19200
+ * WHY this track ended without a NATIVE best-shot tile
19201
+ * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
19202
+ * a composed token line (`no-key-frame capture=keyframe:native-missx4`,
19203
+ * `derive-returned-null tile=standin`, …) written at close and CLEARED by
19204
+ * the late-keyFrame upgrade when a native tile lands after all. The
19205
+ * operator-facing answer to "perché manca l'immagine?" on a track whose
19206
+ * tile is a face/plate stand-in, a raster crop, or an icon.
19207
+ *
19208
+ * **Absent ≠ "missed silently"**: a row written before the column, a hub
19209
+ * that predates the field, and every track whose tile landed native all
19210
+ * omit it. Render nothing when absent.
19211
+ */
19212
+ previewMissReason: string().optional(),
18845
19213
  ...TrackFlagFields,
18846
19214
  ...TrackRetrainFields
18847
19215
  });
@@ -30584,6 +30952,13 @@ var LoggingSettingsPatchSchema = object({
30584
30952
  * anyone but its owner.
30585
30953
  */
30586
30954
  var ReportedLoadContributionSchema = LoadContributionSchema.extend({ addonId: string() });
30955
+ /**
30956
+ * One per-camera failure counter, plus WHO reported it.
30957
+ *
30958
+ * Same rule as {@link ReportedLoadContributionSchema}: `addonId` is stamped by
30959
+ * the hub as it enumerates providers, never by the contributor.
30960
+ */
30961
+ var ReportedFailureContributionSchema = FailureContributionSchema.extend({ addonId: string() });
30587
30962
  var GetLoggingSettingsInputSchema = object({
30588
30963
  scopeNodeId: string().optional(),
30589
30964
  /**
@@ -30642,7 +31017,7 @@ method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), met
30642
31017
  }), method(_void(), SiteLocationStatusSchema, {
30643
31018
  kind: "mutation",
30644
31019
  auth: "admin"
30645
- }), method(_void(), RequestCensusStatusSchema, { auth: "admin" }), method(_void(), array(ReportedLoadContributionSchema).readonly(), { auth: "admin" }), method(GetLoggingSettingsInputSchema, LoggingSettingsStateSchema, { auth: "admin" }), method(SetLoggingSettingsInputSchema, LoggingSettingsStateSchema, {
31020
+ }), method(_void(), RequestCensusStatusSchema, { auth: "admin" }), method(_void(), array(ReportedLoadContributionSchema).readonly(), { auth: "admin" }), method(_void(), array(ReportedFailureContributionSchema).readonly(), { auth: "admin" }), method(GetLoggingSettingsInputSchema, LoggingSettingsStateSchema, { auth: "admin" }), method(SetLoggingSettingsInputSchema, LoggingSettingsStateSchema, {
30646
31021
  kind: "mutation",
30647
31022
  auth: "admin"
30648
31023
  });
@@ -33016,6 +33391,12 @@ Object.freeze({
33016
33391
  addonId: null,
33017
33392
  access: "view"
33018
33393
  },
33394
+ "addonSettings.getIntegrationSettings": {
33395
+ capName: "addon-settings",
33396
+ capScope: "system",
33397
+ addonId: null,
33398
+ access: "view"
33399
+ },
33019
33400
  "addonSettings.updateDeviceSettings": {
33020
33401
  capName: "addon-settings",
33021
33402
  capScope: "system",
@@ -34678,6 +35059,12 @@ Object.freeze({
34678
35059
  addonId: null,
34679
35060
  access: "create"
34680
35061
  },
35062
+ "failureContribution.list": {
35063
+ capName: "failure-contribution",
35064
+ capScope: "system",
35065
+ addonId: null,
35066
+ access: "view"
35067
+ },
34681
35068
  "fanControl.setDirection": {
34682
35069
  capName: "fan-control",
34683
35070
  capScope: "device",
@@ -37984,6 +38371,12 @@ Object.freeze({
37984
38371
  addonId: null,
37985
38372
  access: "create"
37986
38373
  },
38374
+ "system.getFailureContributions": {
38375
+ capName: "system",
38376
+ capScope: "system",
38377
+ addonId: null,
38378
+ access: "view"
38379
+ },
37987
38380
  "system.getLoadContributions": {
37988
38381
  capName: "system",
37989
38382
  capScope: "system",
@@ -41523,6 +41916,12 @@ Object.defineProperty(exports, "CLUSTER_MODEL_SCOPED_STEPS", {
41523
41916
  return CLUSTER_MODEL_SCOPED_STEPS;
41524
41917
  }
41525
41918
  });
41919
+ Object.defineProperty(exports, "COCO_TO_MACRO", {
41920
+ enumerable: true,
41921
+ get: function() {
41922
+ return COCO_TO_MACRO;
41923
+ }
41924
+ });
41526
41925
  Object.defineProperty(exports, "DEFAULT_EVENT_COLOR", {
41527
41926
  enumerable: true,
41528
41927
  get: function() {
@@ -41583,6 +41982,12 @@ Object.defineProperty(exports, "FULL_IMAGE_BBOX", {
41583
41982
  return FULL_IMAGE_BBOX;
41584
41983
  }
41585
41984
  });
41985
+ Object.defineProperty(exports, "FailureCounters", {
41986
+ enumerable: true,
41987
+ get: function() {
41988
+ return FailureCounters;
41989
+ }
41990
+ });
41586
41991
  Object.defineProperty(exports, "LabelAttributionSchema", {
41587
41992
  enumerable: true,
41588
41993
  get: function() {
@@ -41907,6 +42312,12 @@ Object.defineProperty(exports, "faceGalleryCapability", {
41907
42312
  return faceGalleryCapability;
41908
42313
  }
41909
42314
  });
42315
+ Object.defineProperty(exports, "failureContributionCapability", {
42316
+ enumerable: true,
42317
+ get: function() {
42318
+ return failureContributionCapability;
42319
+ }
42320
+ });
41910
42321
  Object.defineProperty(exports, "hfModelUrl", {
41911
42322
  enumerable: true,
41912
42323
  get: function() {