@camstack/addon-agent-ui 1.2.46 → 1.2.47
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 +55 -8
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -8006,6 +8006,21 @@ var RelocateJobSchema = object({
|
|
|
8006
8006
|
bytesMoved: number().int(),
|
|
8007
8007
|
/** Total files discovered up front; null while (or when) unknown. */
|
|
8008
8008
|
filesTotal: number().int().nullable(),
|
|
8009
|
+
/**
|
|
8010
|
+
* Rows this run CORRECTED while moving them — a durable mutation the move
|
|
8011
|
+
* made that nobody asked for, so it is reported where the operator reads the
|
|
8012
|
+
* job rather than only in a log line.
|
|
8013
|
+
*
|
|
8014
|
+
* A footage segment records its byte count in its own NAME, and the durable
|
|
8015
|
+
* hour row derives its aggregates from those names. A file that does not
|
|
8016
|
+
* match its name therefore makes the ledger's sums — and with them quota and
|
|
8017
|
+
* pressure eviction — wrong by the difference, and only a rename can fix it.
|
|
8018
|
+
* On 2026-08-30 one such row also stalled a 110 749-file drain permanently.
|
|
8019
|
+
*
|
|
8020
|
+
* Absent on lanes where the question has no meaning: a media blob's size is
|
|
8021
|
+
* in its row, not in its name, so `MediaRelocateEngine` never reconciles one.
|
|
8022
|
+
*/
|
|
8023
|
+
rowsReconciled: number().int().nonnegative().optional(),
|
|
8009
8024
|
startedAt: number(),
|
|
8010
8025
|
finishedAt: number().nullable(),
|
|
8011
8026
|
error: string().nullable()
|
|
@@ -8074,14 +8089,42 @@ var RelocateMediaInputSchema = object({
|
|
|
8074
8089
|
/** Omitted = `move`, the pre-existing behaviour. */
|
|
8075
8090
|
mode: MediaRelocateModeSchema.optional()
|
|
8076
8091
|
});
|
|
8077
|
-
/**
|
|
8078
|
-
*
|
|
8079
|
-
*
|
|
8080
|
-
|
|
8081
|
-
|
|
8082
|
-
|
|
8083
|
-
|
|
8092
|
+
/**
|
|
8093
|
+
* The unstamped population of ONE collection — split, because the gate and the
|
|
8094
|
+
* operator ask two different questions and only one of them has to be cheap.
|
|
8095
|
+
*
|
|
8096
|
+
* `present` is the GATE: "is there at least one row that would be orphaned by a
|
|
8097
|
+
* repoint". It is a single indexed seek to the first matching row, so it stays
|
|
8098
|
+
* answerable on a saturated disk and answers in O(log n) precisely in the state
|
|
8099
|
+
* that matters — after a seal, when the population is empty.
|
|
8100
|
+
*
|
|
8101
|
+
* `rows` is the NUMBER, for the refusal message and the operator's sense of
|
|
8102
|
+
* scale. It is a second, indexed `COUNT(*)`, and `null` means **not
|
|
8103
|
+
* measurable** — never zero. `{ present: true, rows: null }` is a legitimate
|
|
8104
|
+
* and useful answer: "there are some, and this read could not say how many"
|
|
8105
|
+
* still refuses the cutover, which is the whole job.
|
|
8106
|
+
*/
|
|
8107
|
+
var UnstampedRowsSchema = object({
|
|
8108
|
+
present: boolean(),
|
|
8109
|
+
rows: number().int().nonnegative().nullable()
|
|
8084
8110
|
});
|
|
8111
|
+
/**
|
|
8112
|
+
* How many rows still carry NO `locationId` — the population a repoint would
|
|
8113
|
+
* silently re-aim at a disk that does not hold their bytes.
|
|
8114
|
+
*
|
|
8115
|
+
* **`null` = the count could not be taken**, and it is NOT permission to cut
|
|
8116
|
+
* over. The gate opens on a measured absence and on nothing else; an unread
|
|
8117
|
+
* collection and an empty one are different facts, and this repo has already
|
|
8118
|
+
* paid for conflating them (`RelocateResidueSchema`, D295).
|
|
8119
|
+
*/
|
|
8120
|
+
var UnstampedEventMediaCountSchema = object({
|
|
8121
|
+
media: UnstampedRowsSchema,
|
|
8122
|
+
retrainFrames: UnstampedRowsSchema,
|
|
8123
|
+
/** True when EITHER collection holds one. The refusal reads this. */
|
|
8124
|
+
anyPresent: boolean(),
|
|
8125
|
+
/** Sum across both, or `null` when either lane could not be counted. */
|
|
8126
|
+
total: number().int().nonnegative().nullable()
|
|
8127
|
+
}).nullable();
|
|
8085
8128
|
var StorageMigrationMediaMoveInputSchema = RelocateMediaInputSchema.extend({ leaseId: string().min(1) });
|
|
8086
8129
|
/** The independently selectable logical storage classes — every class
|
|
8087
8130
|
* `storage.listLocationDeclarations` reports, so an operator never meets a
|
|
@@ -8192,6 +8235,10 @@ var StorageMigrationMoveProgressSchema = object({
|
|
|
8192
8235
|
/** The archive census — the **M** of "N of M" (D295). `null` = unknowable. */
|
|
8193
8236
|
filesTotal: number().int().nonnegative().nullable(),
|
|
8194
8237
|
bytesMoved: number().int().nonnegative(),
|
|
8238
|
+
/** Rows the mover corrected while moving them — see `RelocateJob`. Absent on
|
|
8239
|
+
* a lane that cannot reconcile. A migration that silently rewrote durable
|
|
8240
|
+
* rows would be the same failure as one that silently skipped them. */
|
|
8241
|
+
rowsReconciled: number().int().nonnegative().optional(),
|
|
8195
8242
|
/** The MOVER's start, not the migration's: a drain restarted after an addon
|
|
8196
8243
|
* crash gets a new mover, and a rate computed from the migration's start
|
|
8197
8244
|
* would silently average in the time nothing was running. */
|
|
@@ -36426,7 +36473,7 @@ var AgentUIAddon = class extends BaseAddon {
|
|
|
36426
36473
|
capability: adminUiCapability,
|
|
36427
36474
|
provider: {
|
|
36428
36475
|
getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
|
|
36429
|
-
getVersion: async () => ({ version: "1.2.
|
|
36476
|
+
getVersion: async () => ({ version: "1.2.47" })
|
|
36430
36477
|
}
|
|
36431
36478
|
}];
|
|
36432
36479
|
}
|