@camstack/addon-post-analysis 1.2.195 → 1.2.196

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.
@@ -10949,12 +10949,30 @@ var BackupDestinationInfoSchema = object({
10949
10949
  lastSuccessAt: number().optional(),
10950
10950
  /** Newest-archive size from `manifests.json`, or undefined. */
10951
10951
  lastSuccessSizeBytes: number().optional(),
10952
- /** Per-destination cron expression. Empty = manual-only (no schedule). */
10952
+ /**
10953
+ * Cron cadence(s) of the ENABLED schedules that fan out to this
10954
+ * destination, comma-joined. Absent when no enabled schedule targets it
10955
+ * — a destination nothing is scheduled to write to must not advertise a
10956
+ * cadence (D384). This is never the `backup_destination_policies.cron`
10957
+ * column: that per-location cron has scheduled nothing since 2026-07-28
10958
+ * and reading it made a destination with a DISABLED schedule claim a
10959
+ * nightly run.
10960
+ */
10953
10961
  cron: string().optional(),
10954
- /** ms-epoch of next computed firing for this destination's cron, if any. */
10962
+ /** ms-epoch of the next firing across those schedules (earliest), if any. */
10955
10963
  nextRunAt: number().optional(),
10956
- /** ms-epoch of last successful scheduled run (mirrors policy.lastRunAt). */
10957
- lastRunAt: number().optional()
10964
+ /**
10965
+ * ms-epoch of the last time a run ATTEMPTED to write here — success or
10966
+ * failure. Never a success stamp: pair it with `lastSuccessAt` (the
10967
+ * newest archive that actually landed) and `lastError`.
10968
+ */
10969
+ lastAttemptAt: number().optional(),
10970
+ /**
10971
+ * Why the last attempt failed, verbatim. Absent when the last attempt
10972
+ * landed the archive. A destination that has never been written to has
10973
+ * neither this nor `lastAttemptAt`.
10974
+ */
10975
+ lastError: string().optional()
10958
10976
  });
10959
10977
  /**
10960
10978
  * Per-archive entry returned by `backup.listArchives({ destinationId })`.
@@ -11117,8 +11135,16 @@ var BackupScheduleSchema = object({
11117
11135
  retentionCount: number().int().min(1).max(1e3),
11118
11136
  /** Optional subset of source locations to include; omitted = all. */
11119
11137
  dataSources: array(string()).readonly().optional(),
11120
- /** ms-epoch of last successful run. */
11121
- lastRunAt: number().optional(),
11138
+ /**
11139
+ * ms-epoch of the last tick that FIRED this schedule. Stamped before the
11140
+ * archive runs (it is the dedupe anchor), so it says "attempted", never
11141
+ * "succeeded" — a run refused by every destination stamps it too.
11142
+ */
11143
+ lastAttemptAt: number().optional(),
11144
+ /** ms-epoch of the last run of this schedule that landed at ≥1 destination. */
11145
+ lastSuccessAt: number().optional(),
11146
+ /** Why the last fired run failed, verbatim. Absent when it succeeded. */
11147
+ lastError: string().optional(),
11122
11148
  /** ms-epoch of next computed firing (read-only, filled on list). */
11123
11149
  nextRunAt: number().optional()
11124
11150
  });
@@ -11167,14 +11193,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
11167
11193
  locationId: string(),
11168
11194
  enabled: boolean(),
11169
11195
  retentionCount: number().int().min(1).max(1e3),
11170
- label: string().optional(),
11171
- /**
11172
- * Per-destination cron expression. Empty string clears the
11173
- * schedule (manual-only). Validated server-side via croner;
11174
- * malformed expressions reject the upsert with an actionable
11175
- * message.
11176
- */
11177
- cron: string().optional()
11196
+ label: string().optional()
11178
11197
  }), _void(), {
11179
11198
  kind: "mutation",
11180
11199
  auth: "admin"
@@ -10918,12 +10918,30 @@ var BackupDestinationInfoSchema = object({
10918
10918
  lastSuccessAt: number().optional(),
10919
10919
  /** Newest-archive size from `manifests.json`, or undefined. */
10920
10920
  lastSuccessSizeBytes: number().optional(),
10921
- /** Per-destination cron expression. Empty = manual-only (no schedule). */
10921
+ /**
10922
+ * Cron cadence(s) of the ENABLED schedules that fan out to this
10923
+ * destination, comma-joined. Absent when no enabled schedule targets it
10924
+ * — a destination nothing is scheduled to write to must not advertise a
10925
+ * cadence (D384). This is never the `backup_destination_policies.cron`
10926
+ * column: that per-location cron has scheduled nothing since 2026-07-28
10927
+ * and reading it made a destination with a DISABLED schedule claim a
10928
+ * nightly run.
10929
+ */
10922
10930
  cron: string().optional(),
10923
- /** ms-epoch of next computed firing for this destination's cron, if any. */
10931
+ /** ms-epoch of the next firing across those schedules (earliest), if any. */
10924
10932
  nextRunAt: number().optional(),
10925
- /** ms-epoch of last successful scheduled run (mirrors policy.lastRunAt). */
10926
- lastRunAt: number().optional()
10933
+ /**
10934
+ * ms-epoch of the last time a run ATTEMPTED to write here — success or
10935
+ * failure. Never a success stamp: pair it with `lastSuccessAt` (the
10936
+ * newest archive that actually landed) and `lastError`.
10937
+ */
10938
+ lastAttemptAt: number().optional(),
10939
+ /**
10940
+ * Why the last attempt failed, verbatim. Absent when the last attempt
10941
+ * landed the archive. A destination that has never been written to has
10942
+ * neither this nor `lastAttemptAt`.
10943
+ */
10944
+ lastError: string().optional()
10927
10945
  });
10928
10946
  /**
10929
10947
  * Per-archive entry returned by `backup.listArchives({ destinationId })`.
@@ -11086,8 +11104,16 @@ var BackupScheduleSchema = object({
11086
11104
  retentionCount: number().int().min(1).max(1e3),
11087
11105
  /** Optional subset of source locations to include; omitted = all. */
11088
11106
  dataSources: array(string()).readonly().optional(),
11089
- /** ms-epoch of last successful run. */
11090
- lastRunAt: number().optional(),
11107
+ /**
11108
+ * ms-epoch of the last tick that FIRED this schedule. Stamped before the
11109
+ * archive runs (it is the dedupe anchor), so it says "attempted", never
11110
+ * "succeeded" — a run refused by every destination stamps it too.
11111
+ */
11112
+ lastAttemptAt: number().optional(),
11113
+ /** ms-epoch of the last run of this schedule that landed at ≥1 destination. */
11114
+ lastSuccessAt: number().optional(),
11115
+ /** Why the last fired run failed, verbatim. Absent when it succeeded. */
11116
+ lastError: string().optional(),
11091
11117
  /** ms-epoch of next computed firing (read-only, filled on list). */
11092
11118
  nextRunAt: number().optional()
11093
11119
  });
@@ -11136,14 +11162,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
11136
11162
  locationId: string(),
11137
11163
  enabled: boolean(),
11138
11164
  retentionCount: number().int().min(1).max(1e3),
11139
- label: string().optional(),
11140
- /**
11141
- * Per-destination cron expression. Empty string clears the
11142
- * schedule (manual-only). Validated server-side via croner;
11143
- * malformed expressions reject the upsert with an actionable
11144
- * message.
11145
- */
11146
- cron: string().optional()
11165
+ label: string().optional()
11147
11166
  }), _void(), {
11148
11167
  kind: "mutation",
11149
11168
  auth: "admin"
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_dist = require("../dist-C15zOWA2.js");
5
+ const require_dist = require("../dist-BRvbQOHc.js");
6
6
  let node_fs = require("node:fs");
7
7
  node_fs = require_dist.__toESM(node_fs);
8
8
  let node_path = require("node:path");
@@ -1,4 +1,4 @@
1
- import { At as BaseAddon, F as PoolMemoryWatchdog, St as resolvePoolMemoryPolicy, at as embeddingEncoderCapability, gt as parseProcStatus, ut as hfModelUrl } from "../dist-DE64ld3c.mjs";
1
+ import { At as BaseAddon, F as PoolMemoryWatchdog, St as resolvePoolMemoryPolicy, at as embeddingEncoderCapability, gt as parseProcStatus, ut as hfModelUrl } from "../dist-Cu4sfuYT.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import * as fs from "node:fs";
4
4
  import * as path$1 from "node:path";
@@ -3,7 +3,7 @@ import "./dist-CYZr2fwk.mjs";
3
3
  var e = {
4
4
  "@camstack/sdk": {
5
5
  name: "@camstack/sdk",
6
- version: "1.2.80",
6
+ version: "1.2.81",
7
7
  scope: ["default"],
8
8
  loaded: !1,
9
9
  from: "addon_pipeline_analytics_widgets",
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.2.160",
21
+ version: "1.2.161",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_pipeline_analytics_widgets",
@@ -33,7 +33,7 @@ var e = {
33
33
  },
34
34
  "@camstack/ui-library": {
35
35
  name: "@camstack/ui-library",
36
- version: "1.2.128",
36
+ version: "1.2.129",
37
37
  scope: ["default"],
38
38
  loaded: !1,
39
39
  from: "addon_pipeline_analytics_widgets",
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.160",
39
+ version: "1.2.161",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,
@@ -45,7 +45,7 @@ async function r() {
45
45
  }
46
46
  },
47
47
  "@camstack/sdk": {
48
- version: "1.2.80",
48
+ version: "1.2.81",
49
49
  scope: "default",
50
50
  shareConfig: {
51
51
  singleton: !0,
@@ -81,7 +81,7 @@ async function r() {
81
81
  }
82
82
  },
83
83
  "@camstack/ui-library": {
84
- version: "1.2.128",
84
+ version: "1.2.129",
85
85
  scope: "default",
86
86
  shareConfig: {
87
87
  singleton: !0,
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_dist = require("../dist-C15zOWA2.js");
5
+ const require_dist = require("../dist-BRvbQOHc.js");
6
6
  let node_fs = require("node:fs");
7
7
  node_fs = require_dist.__toESM(node_fs, 1);
8
8
  let node_path = require("node:path");
@@ -1,4 +1,4 @@
1
- import { $ as audioModeOf, A as NcSnoozeSchema, At as BaseAddon, B as SCENE_DEFAULT_UNCOVERED_POLICY, Bt as boolean, C as NcConditionDescriptorSchema, Ct as sceneMonitorCapability, D as NcRuleTargetSchema, Dt as videoclipsCapability, E as NcRuleSchema, Et as vectorDimFromBase64, Ft as isDeviceScopedCap, G as TimelapseRulePatchSchema, Gt as partialRecord, H as SceneMonitorSchema, Ht as literal, I as RECORDING_EXPORT_MAX_READ_BYTES, It as nodePin, J as VISIT_MERGE_GAP_MS, Jt as unknown, K as TimelapseRuleSchema, Kt as record, L as RetrainStatusSchema, Lt as sleep$1, M as NcSystemEventKindSchema, Mt as DeviceType, N as NcTaxonomySchema, Nt as createEvent, O as NcScheduleSchema, Ot as zoneAnalyticsCapability, P as OpsLogEntrySchema, Pt as hydrateSchema, Q as audioMetricsCapability, Rt as _enum, S as NC_TAXONOMY, T as NcRulePatchSchema, Tt as systemEventFilterApplies, U as TIMELAPSE_DENSE_FLOOR_SEC, Ut as number, V as SCENE_DIVERGED, Vt as discriminatedUnion, W as TimelapseRuleInputSchema, Wt as object, X as alarmPanelCapability, Y as addonWidgetsSourceCapability, Yt as EventCategory, Z as assertTimelapseCadences, _ as MediaFileKindEnum, _t as pickClusterStepModels, a as DEFAULT_EVENT_COLOR, b as NC_DEFAULT_SNOOZE_MINUTES, bt as readDeviceStateFrom, c as DETECTION_MACRO_CLASSES, ct as faceGalleryCapability, d as EVENT_KIND_BY_CAP, dt as isDetectionMacroClass, et as buildEventKindDescriptor, f as EVENT_PAD_MS, ft as isScheduleActive, g as MACRO_LABELS, h as LabelAttributionSchema, ht as notificationRulesCapability, i as COCO_TO_MACRO, it as deriveRecordingMode, j as NcSnoozeSuppressedSchema, jt as CamProfileSchema, k as NcSnoozeInputSchema, kt as errMsg$1, lt as failureContributionCapability, m as FailureCounters, mt as kebabToCamel, n as BaseDevice, nt as customAction, ot as encodeVectorBase64, p as FULL_IMAGE_BBOX, pt as isSourceCap, q as TrackSourceSchema, qt as string, r as CLUSTER_MODEL_SCOPED_STEPS, rt as defineCustomActions, st as evaluateSensorEdge, t as AUDIO_MACRO_LABELS, tt as cosineSimilarity$1, u as DeclaredDevices, v as NC_ALARM_SYSTEM_EVENT_KINDS, vt as pipelineAnalyticsCapability, w as NcRuleInputSchema, wt as subKindsOf, xt as readTimelapseGeneratedAt, y as NC_CONDITION_CATALOG, yt as plateGalleryCapability, z as SCENE_DEFAULT_ANCHOR_THRESHOLD, zt as array } from "../dist-DE64ld3c.mjs";
1
+ import { $ as audioModeOf, A as NcSnoozeSchema, At as BaseAddon, B as SCENE_DEFAULT_UNCOVERED_POLICY, Bt as boolean, C as NcConditionDescriptorSchema, Ct as sceneMonitorCapability, D as NcRuleTargetSchema, Dt as videoclipsCapability, E as NcRuleSchema, Et as vectorDimFromBase64, Ft as isDeviceScopedCap, G as TimelapseRulePatchSchema, Gt as partialRecord, H as SceneMonitorSchema, Ht as literal, I as RECORDING_EXPORT_MAX_READ_BYTES, It as nodePin, J as VISIT_MERGE_GAP_MS, Jt as unknown, K as TimelapseRuleSchema, Kt as record, L as RetrainStatusSchema, Lt as sleep$1, M as NcSystemEventKindSchema, Mt as DeviceType, N as NcTaxonomySchema, Nt as createEvent, O as NcScheduleSchema, Ot as zoneAnalyticsCapability, P as OpsLogEntrySchema, Pt as hydrateSchema, Q as audioMetricsCapability, Rt as _enum, S as NC_TAXONOMY, T as NcRulePatchSchema, Tt as systemEventFilterApplies, U as TIMELAPSE_DENSE_FLOOR_SEC, Ut as number, V as SCENE_DIVERGED, Vt as discriminatedUnion, W as TimelapseRuleInputSchema, Wt as object, X as alarmPanelCapability, Y as addonWidgetsSourceCapability, Yt as EventCategory, Z as assertTimelapseCadences, _ as MediaFileKindEnum, _t as pickClusterStepModels, a as DEFAULT_EVENT_COLOR, b as NC_DEFAULT_SNOOZE_MINUTES, bt as readDeviceStateFrom, c as DETECTION_MACRO_CLASSES, ct as faceGalleryCapability, d as EVENT_KIND_BY_CAP, dt as isDetectionMacroClass, et as buildEventKindDescriptor, f as EVENT_PAD_MS, ft as isScheduleActive, g as MACRO_LABELS, h as LabelAttributionSchema, ht as notificationRulesCapability, i as COCO_TO_MACRO, it as deriveRecordingMode, j as NcSnoozeSuppressedSchema, jt as CamProfileSchema, k as NcSnoozeInputSchema, kt as errMsg$1, lt as failureContributionCapability, m as FailureCounters, mt as kebabToCamel, n as BaseDevice, nt as customAction, ot as encodeVectorBase64, p as FULL_IMAGE_BBOX, pt as isSourceCap, q as TrackSourceSchema, qt as string, r as CLUSTER_MODEL_SCOPED_STEPS, rt as defineCustomActions, st as evaluateSensorEdge, t as AUDIO_MACRO_LABELS, tt as cosineSimilarity$1, u as DeclaredDevices, v as NC_ALARM_SYSTEM_EVENT_KINDS, vt as pipelineAnalyticsCapability, w as NcRuleInputSchema, wt as subKindsOf, xt as readTimelapseGeneratedAt, y as NC_CONDITION_CATALOG, yt as plateGalleryCapability, z as SCENE_DEFAULT_ANCHOR_THRESHOLD, zt as array } from "../dist-Cu4sfuYT.mjs";
2
2
  import { t as __exportAll } from "../embedding-encoder/index.mjs";
3
3
  import * as fs from "node:fs";
4
4
  import { promises } from "node:fs";
@@ -30,7 +30,7 @@ async function d(e) {
30
30
  }
31
31
  }
32
32
  async function f() {
33
- return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-if_wK4QI.mjs")).catch((e) => {
33
+ return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-1iZqrgrt.mjs")).catch((e) => {
34
34
  throw l = void 0, e;
35
35
  }), l;
36
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-post-analysis",
3
- "version": "1.2.195",
3
+ "version": "1.2.196",
4
4
  "description": "Post-Analysis bundle — enrichment, embedding-encoder, pipeline-analytics. Multi-entry npm package shipping addons that consume pipeline output.",
5
5
  "keywords": [
6
6
  "camstack",