@camstack/addon-agent-ui 1.2.81 → 1.2.83
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 +53 -19
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -7954,13 +7954,28 @@ var RecordingBandSchema = object({
|
|
|
7954
7954
|
end: string().regex(HHMM),
|
|
7955
7955
|
mode: RecordingBandModeSchema,
|
|
7956
7956
|
triggers: RecordingBandTriggersSchema.optional(),
|
|
7957
|
+
/**
|
|
7958
|
+
* RETIRED (D381). A band no longer carries a pre-buffer of its own.
|
|
7959
|
+
*
|
|
7960
|
+
* It was the retroactive KEEP bound — which already-written segments survive
|
|
7961
|
+
* a trigger — and it had to be at least as wide as the widest pre-roll the
|
|
7962
|
+
* broker could serve, or the gate would delete the seconds the ring had just
|
|
7963
|
+
* handed the writer. That "at least as wide as" is the tell: it was a second
|
|
7964
|
+
* expression of the broker's retention, in different units, in a different
|
|
7965
|
+
* addon, with an invariant the operator had to maintain by hand. The keep
|
|
7966
|
+
* bound is now derived from the one prebuffer ceiling and there is nothing
|
|
7967
|
+
* left to configure here.
|
|
7968
|
+
*
|
|
7969
|
+
* The key survives in the SHAPE so a config written before that record still
|
|
7970
|
+
* parses and can be migrated deliberately — `RecordingBandSchema` is not
|
|
7971
|
+
* strict, so simply deleting it would strip an operator's value in silence on
|
|
7972
|
+
* the next save (the failure D380 came one commit from shipping). Nothing
|
|
7973
|
+
* reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
|
|
7974
|
+
*/
|
|
7957
7975
|
preBufferSec: number().min(0).optional(),
|
|
7958
7976
|
postBufferSec: number().min(0).optional()
|
|
7959
7977
|
});
|
|
7960
|
-
({
|
|
7961
|
-
preBufferSec: 15,
|
|
7962
|
-
postBufferSec: 30
|
|
7963
|
-
}).postBufferSec * 1e3;
|
|
7978
|
+
({ postBufferSec: 30 }).postBufferSec * 1e3;
|
|
7964
7979
|
/**
|
|
7965
7980
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
7966
7981
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
|
@@ -10537,12 +10552,30 @@ var BackupDestinationInfoSchema = object({
|
|
|
10537
10552
|
lastSuccessAt: number().optional(),
|
|
10538
10553
|
/** Newest-archive size from `manifests.json`, or undefined. */
|
|
10539
10554
|
lastSuccessSizeBytes: number().optional(),
|
|
10540
|
-
/**
|
|
10555
|
+
/**
|
|
10556
|
+
* Cron cadence(s) of the ENABLED schedules that fan out to this
|
|
10557
|
+
* destination, comma-joined. Absent when no enabled schedule targets it
|
|
10558
|
+
* — a destination nothing is scheduled to write to must not advertise a
|
|
10559
|
+
* cadence (D384). This is never the `backup_destination_policies.cron`
|
|
10560
|
+
* column: that per-location cron has scheduled nothing since 2026-07-28
|
|
10561
|
+
* and reading it made a destination with a DISABLED schedule claim a
|
|
10562
|
+
* nightly run.
|
|
10563
|
+
*/
|
|
10541
10564
|
cron: string().optional(),
|
|
10542
|
-
/** ms-epoch of next
|
|
10565
|
+
/** ms-epoch of the next firing across those schedules (earliest), if any. */
|
|
10543
10566
|
nextRunAt: number().optional(),
|
|
10544
|
-
/**
|
|
10545
|
-
|
|
10567
|
+
/**
|
|
10568
|
+
* ms-epoch of the last time a run ATTEMPTED to write here — success or
|
|
10569
|
+
* failure. Never a success stamp: pair it with `lastSuccessAt` (the
|
|
10570
|
+
* newest archive that actually landed) and `lastError`.
|
|
10571
|
+
*/
|
|
10572
|
+
lastAttemptAt: number().optional(),
|
|
10573
|
+
/**
|
|
10574
|
+
* Why the last attempt failed, verbatim. Absent when the last attempt
|
|
10575
|
+
* landed the archive. A destination that has never been written to has
|
|
10576
|
+
* neither this nor `lastAttemptAt`.
|
|
10577
|
+
*/
|
|
10578
|
+
lastError: string().optional()
|
|
10546
10579
|
});
|
|
10547
10580
|
/**
|
|
10548
10581
|
* Per-archive entry returned by `backup.listArchives({ destinationId })`.
|
|
@@ -10705,8 +10738,16 @@ var BackupScheduleSchema = object({
|
|
|
10705
10738
|
retentionCount: number().int().min(1).max(1e3),
|
|
10706
10739
|
/** Optional subset of source locations to include; omitted = all. */
|
|
10707
10740
|
dataSources: array(string()).readonly().optional(),
|
|
10708
|
-
/**
|
|
10709
|
-
|
|
10741
|
+
/**
|
|
10742
|
+
* ms-epoch of the last tick that FIRED this schedule. Stamped before the
|
|
10743
|
+
* archive runs (it is the dedupe anchor), so it says "attempted", never
|
|
10744
|
+
* "succeeded" — a run refused by every destination stamps it too.
|
|
10745
|
+
*/
|
|
10746
|
+
lastAttemptAt: number().optional(),
|
|
10747
|
+
/** ms-epoch of the last run of this schedule that landed at ≥1 destination. */
|
|
10748
|
+
lastSuccessAt: number().optional(),
|
|
10749
|
+
/** Why the last fired run failed, verbatim. Absent when it succeeded. */
|
|
10750
|
+
lastError: string().optional(),
|
|
10710
10751
|
/** ms-epoch of next computed firing (read-only, filled on list). */
|
|
10711
10752
|
nextRunAt: number().optional()
|
|
10712
10753
|
});
|
|
@@ -10755,14 +10796,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
|
|
|
10755
10796
|
locationId: string(),
|
|
10756
10797
|
enabled: boolean(),
|
|
10757
10798
|
retentionCount: number().int().min(1).max(1e3),
|
|
10758
|
-
label: string().optional()
|
|
10759
|
-
/**
|
|
10760
|
-
* Per-destination cron expression. Empty string clears the
|
|
10761
|
-
* schedule (manual-only). Validated server-side via croner;
|
|
10762
|
-
* malformed expressions reject the upsert with an actionable
|
|
10763
|
-
* message.
|
|
10764
|
-
*/
|
|
10765
|
-
cron: string().optional()
|
|
10799
|
+
label: string().optional()
|
|
10766
10800
|
}), _void(), {
|
|
10767
10801
|
kind: "mutation",
|
|
10768
10802
|
auth: "admin"
|
|
@@ -37932,7 +37966,7 @@ var AgentUIAddon = class extends BaseAddon {
|
|
|
37932
37966
|
capability: adminUiCapability,
|
|
37933
37967
|
provider: {
|
|
37934
37968
|
getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
|
|
37935
|
-
getVersion: async () => ({ version: "1.2.
|
|
37969
|
+
getVersion: async () => ({ version: "1.2.83" })
|
|
37936
37970
|
}
|
|
37937
37971
|
}];
|
|
37938
37972
|
}
|