@camstack/addon-admin-ui 1.2.114 → 1.2.117
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/assets/{AddLocationWizard-CLEzgi3l.js → AddLocationWizard-Bob-o0Kv.js} +1 -1
- package/dist/assets/{AddonCollectionPage-OF4NjZlv.js → AddonCollectionPage-BRZ5wnDA.js} +1 -1
- package/dist/assets/{Addons-BSLvVtBh.js → Addons-C7ugoYzx.js} +1 -1
- package/dist/assets/{AdminTabs-BeziKJ1a.js → AdminTabs-DVhMhCwB.js} +1 -1
- package/dist/assets/{AiProfiles-DWqdEEFT.js → AiProfiles-BOumh8Sy.js} +1 -1
- package/dist/assets/{BrokerForm-FeLKeIbG.js → BrokerForm-DUIN2thN.js} +1 -1
- package/dist/assets/{Build-CLl2lkHL.js → Build-CKeeP86Z.js} +1 -1
- package/dist/assets/{Capabilities-RFtp6PdX.js → Capabilities-Dy5fksAD.js} +1 -1
- package/dist/assets/{CapabilityBadges-Cwy0xRxA.js → CapabilityBadges-KzSV_NH7.js} +1 -1
- package/dist/assets/Cluster-BviBUX6y.js +11 -0
- package/dist/assets/Data-DujVsgdF.js +1 -0
- package/dist/assets/{DetectionIntelligence-CWUQ3uGY.js → DetectionIntelligence-CM7P-dMx.js} +1 -1
- package/dist/assets/{DeviceAggregateSection-BwOtBLRt.js → DeviceAggregateSection-Bsi6p5YO.js} +1 -1
- package/dist/assets/{DeviceDetail-cMn7hEIF.js → DeviceDetail-DQMiHdyF.js} +1 -1
- package/dist/assets/{Devices-C8ai26zO.js → Devices-BJcC70V3.js} +1 -1
- package/dist/assets/{EmbedPlayerPage-GtDaGVsR.js → EmbedPlayerPage-CSY1rShh.js} +1 -1
- package/dist/assets/{Events-D3nW6go3.js → Events-BTAz2irZ.js} +1 -1
- package/dist/assets/{FormBuilder-zxwVa7JY.js → FormBuilder-Cl04f_JD.js} +1 -1
- package/dist/assets/Identity-DwP0DWZT.js +1 -0
- package/dist/assets/{IntegrationDetail-DCobOfAh.js → IntegrationDetail-DrtquA7G.js} +1 -1
- package/dist/assets/{Integrations-kH0JLtNh.js → Integrations-D3WabD9o.js} +1 -1
- package/dist/assets/{Integrations-Ck7eESXp.js → Integrations-sedJLouZ.js} +1 -1
- package/dist/assets/{Logs-zMy08xFK.js → Logs-CprZOubd.js} +1 -1
- package/dist/assets/{MotionZonesSettings-C05ExQff.js → MotionZonesSettings-CJ739aet.js} +1 -1
- package/dist/assets/{MyAccess-Cc08fwMh.js → MyAccess-eCoyemMZ.js} +1 -1
- package/dist/assets/{Network-KBymfAaD.js → Network-GD5AYiiW.js} +1 -1
- package/dist/assets/{NodeAddonsSettingsPanel-B2J7nqRT.js → NodeAddonsSettingsPanel-BKGrAKXv.js} +1 -1
- package/dist/assets/{NodeInferenceDevices-HkYGItBF.js → NodeInferenceDevices-BCYhY7nQ.js} +1 -1
- package/dist/assets/{Notifications-KDIWKsV3.js → Notifications-f42HlHqJ.js} +1 -1
- package/dist/assets/Pipeline-Jv-H2NAp.js +1 -0
- package/dist/assets/Plates-DNXJ0ZGd.js +1 -0
- package/dist/assets/{PrivacyMaskSettings-D-g-QaJb.js → PrivacyMaskSettings-0i9ff8gY.js} +1 -1
- package/dist/assets/{ProviderIcon-BWszI_oc.js → ProviderIcon-O1y41-9_.js} +1 -1
- package/dist/assets/Recordings-BLl9b2uJ.js +1 -0
- package/dist/assets/{ScanNetworkModal-Bma1D7QR.js → ScanNetworkModal-Bkpvy3_p.js} +1 -1
- package/dist/assets/{SceneMonitorEditor-Dfur0iW8.js → SceneMonitorEditor-CRrYOWn_.js} +1 -1
- package/dist/assets/{Scenes-CKblcP19.js → Scenes-5wMKZRPv.js} +1 -1
- package/dist/assets/{Settings-CTZm6yG1.js → Settings-DWYKhvBB.js} +1 -1
- package/dist/assets/{Showroom-CDw9FMvO.js → Showroom-CUXHrY5P.js} +1 -1
- package/dist/assets/{Terminal-DyRD1wmv.js → Terminal-BlZVC9iW.js} +3 -3
- package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-C5GDGlzj.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-CAribm2M.js} +1 -1
- package/dist/assets/{bell-ring-Dq81DIcx.js → bell-ring-BLQ-V73q.js} +1 -1
- package/dist/assets/{boxes-B1LvR_EC.js → boxes-Dypj31sZ.js} +1 -1
- package/dist/assets/circle-check-big-xsZd2yKi.js +1 -0
- package/dist/assets/{circle-x-Bvjbrjwc.js → circle-x-B3MSB8Og.js} +1 -1
- package/dist/assets/clock-BtMlIKiK.js +1 -0
- package/dist/assets/{copy-DXEey34g.js → copy-D55okrt8.js} +1 -1
- package/dist/assets/{debounced-invalidate-C8FjdM4j.js → debounced-invalidate-Bq_-Ngtg.js} +1 -1
- package/dist/assets/{dist-DlvXnCGJ.js → dist-BKLAovWG.js} +1 -1
- package/dist/assets/dist-vBVTdcJV.js +349 -0
- package/dist/assets/{download-D5kL_Go0.js → download-DPaR139q.js} +1 -1
- package/dist/assets/{face-bbox-LHvxscZZ.js → face-bbox-Dl112HSj.js} +1 -1
- package/dist/assets/{hostInit-CAcT8QY6.js → hostInit-BEpzKY8C.js} +1 -1
- package/dist/assets/index-C5g8h6ZU.js +4 -0
- package/dist/assets/{key-round-DM-bc9EL.js → key-round-DUZWZ_rI.js} +1 -1
- package/dist/assets/{layers-Bpr1190F.js → layers-Czk9MtAZ.js} +1 -1
- package/dist/assets/{mf-entry-bootstrap-0-bb6403be.js → mf-entry-bootstrap-0-bb1142ed.js} +2 -2
- package/dist/assets/{pencil-DwVxBtRq.js → pencil-DtuLbgSG.js} +1 -1
- package/dist/assets/play-BJCc4fGn.js +1 -0
- package/dist/assets/{player-overlays-BCQdGsro.js → player-overlays-Bx-E68JT.js} +1 -1
- package/dist/assets/plus-D5JVg6nA.js +1 -0
- package/dist/assets/power-BjgBAjFq.js +1 -0
- package/dist/assets/{radio-lPQ2yM4-.js → radio-B_dQ98Hi.js} +1 -1
- package/dist/assets/{refresh-cw-B71pScMn.js → refresh-cw-DsTF0HtQ.js} +1 -1
- package/dist/assets/remoteEntry-BWuMimQ_.js +1 -0
- package/dist/assets/rotate-ccw-CFqgYAHl.js +1 -0
- package/dist/assets/rotate-cw-D7RHGKK4.js +1 -0
- package/dist/assets/{send-McKGaUOv.js → send-BP6R0rRO.js} +1 -1
- package/dist/assets/{server-BgQAF0aD.js → server-D37fa07L.js} +1 -1
- package/dist/assets/{shield-DXMW1GPu.js → shield-B6cq5CW6.js} +1 -1
- package/dist/assets/square-CZw5Ock3.js +1 -0
- package/dist/assets/{square-check-big-DScyC9MB.js → square-check-big-Jbtwig6c.js} +1 -1
- package/dist/assets/{src-C8hTTV3c.js → src-BoA1cQeV.js} +17 -17
- package/dist/assets/src-Hd2A_xp6.js +349 -0
- package/dist/assets/{star-BiT5sdqS.js → star-f_-GYi1D.js} +1 -1
- package/dist/assets/{undo-2-DfbcPL7P.js → undo-2-S6HqaEGy.js} +1 -1
- package/dist/assets/{use-scenes-feed-Bgj1reXk.js → use-scenes-feed-C5C2RGwJ.js} +1 -1
- package/dist/assets/useEventInvalidation-2W9yFdBU.js +1 -0
- package/dist/assets/{video-BYECCQZN.js → video-CxvKF_Ar.js} +1 -1
- package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-uqvcPwW_.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-B11mjU62.js} +2 -2
- package/dist/assets/{wifi-DibERz0x.js → wifi-B9yskYca.js} +1 -1
- package/dist/assets/{zap-OPtC9jyC.js → zap-8iaR87i8.js} +1 -1
- package/dist/index.html +5 -5
- package/dist/server/addon.js +453 -24
- package/package.json +1 -1
- package/dist/assets/Cluster-BvpnwAD3.js +0 -11
- package/dist/assets/Data-BaMNNJrD.js +0 -1
- package/dist/assets/Identity-zbCRfiNF.js +0 -1
- package/dist/assets/Pipeline-WHTwvGXg.js +0 -1
- package/dist/assets/Plates-qEe_Mv2J.js +0 -1
- package/dist/assets/Recordings-DLxT8YmO.js +0 -1
- package/dist/assets/circle-check-big-BlFY96nJ.js +0 -1
- package/dist/assets/clock-BVH-Z5HY.js +0 -1
- package/dist/assets/dist-PqtOFQle.js +0 -349
- package/dist/assets/index-BIfDsZsD.js +0 -4
- package/dist/assets/play-BjgANexL.js +0 -1
- package/dist/assets/plus-M-gqh1gB.js +0 -1
- package/dist/assets/power-Dx5nuIxU.js +0 -1
- package/dist/assets/remoteEntry-CKAtt3xy.js +0 -1
- package/dist/assets/rotate-ccw-7C_SQNwr.js +0 -1
- package/dist/assets/rotate-cw-OeCPV-3E.js +0 -1
- package/dist/assets/square-CEBPzPgT.js +0 -1
- package/dist/assets/src-D_m3ma12.js +0 -349
- package/dist/assets/useEventInvalidation-DE7flGNJ.js +0 -1
package/dist/server/addon.js
CHANGED
|
@@ -8042,18 +8042,61 @@ var RelocateFootageInputSchema = object({
|
|
|
8042
8042
|
* `RecordingConfig.enabled` or camera wrapper bindings. */
|
|
8043
8043
|
var StorageMigrationLeaseInputSchema = object({ leaseId: string().min(1) });
|
|
8044
8044
|
var StorageMigrationFootageMoveInputSchema = RelocateFootageInputSchema.extend({ leaseId: string().min(1) });
|
|
8045
|
+
/**
|
|
8046
|
+
* What a `relocateMedia` pass DOES. One engine, three passes — never a second
|
|
8047
|
+
* mover (the engine already walks both collections with a timestamp cursor and
|
|
8048
|
+
* already has a stamp-without-copy path).
|
|
8049
|
+
*
|
|
8050
|
+
* - `move` — the default and the historical behaviour: event-media and
|
|
8051
|
+
* retrain blobs move to `toLocationId` and their rows are
|
|
8052
|
+
* stamped. The enrolled gallery is skipped (D197).
|
|
8053
|
+
* - `seal` — ROWS ONLY, no bytes. Every row whose `locationId` is NULL is
|
|
8054
|
+
* stamped with `toLocationId`. `toLocationId` here is the id the
|
|
8055
|
+
* bytes ALREADY sit on — today's `eventMedia` default — because
|
|
8056
|
+
* a NULL row means "wherever `eventMedia` points *now*", and the
|
|
8057
|
+
* instant a repoint moves that pointer the row reads from the
|
|
8058
|
+
* new disk while its bytes are on the old one.
|
|
8059
|
+
* - `gallery` — the inverse selection of `move`: ONLY the retention-exempt
|
|
8060
|
+
* (enrolled-gallery) rows, which `move` deliberately skips.
|
|
8061
|
+
* `galleryMedia` is `cardinality: 'single'`, so this pass can
|
|
8062
|
+
* never run beside a live second location: it is stop-the-world
|
|
8063
|
+
* by construction, which is acceptable only because the gallery
|
|
8064
|
+
* is a few KB per enrolled sample.
|
|
8065
|
+
*/
|
|
8066
|
+
var MediaRelocateModeSchema = _enum([
|
|
8067
|
+
"move",
|
|
8068
|
+
"seal",
|
|
8069
|
+
"gallery"
|
|
8070
|
+
]);
|
|
8045
8071
|
var RelocateMediaInputSchema = object({
|
|
8046
8072
|
toLocationId: string(),
|
|
8047
|
-
throttleMbps: number().min(1).max(1e3).optional()
|
|
8073
|
+
throttleMbps: number().min(1).max(1e3).optional(),
|
|
8074
|
+
/** Omitted = `move`, the pre-existing behaviour. */
|
|
8075
|
+
mode: MediaRelocateModeSchema.optional()
|
|
8076
|
+
});
|
|
8077
|
+
/** How many rows still carry NO `locationId` — the population a repoint would
|
|
8078
|
+
* silently re-aim at a disk that does not hold their bytes. Zero is the only
|
|
8079
|
+
* value that permits a non-blocking `eventMedia` cutover. */
|
|
8080
|
+
var UnstampedEventMediaCountSchema = object({
|
|
8081
|
+
media: number().int().nonnegative(),
|
|
8082
|
+
retrainFrames: number().int().nonnegative(),
|
|
8083
|
+
total: number().int().nonnegative()
|
|
8048
8084
|
});
|
|
8049
8085
|
var StorageMigrationMediaMoveInputSchema = RelocateMediaInputSchema.extend({ leaseId: string().min(1) });
|
|
8050
|
-
/** The independently selectable logical storage classes
|
|
8051
|
-
*
|
|
8052
|
-
*
|
|
8086
|
+
/** The independently selectable logical storage classes — every class
|
|
8087
|
+
* `storage.listLocationDeclarations` reports, so an operator never meets a
|
|
8088
|
+
* Zod enum error where they should meet an explanation.
|
|
8089
|
+
*
|
|
8090
|
+
* `recordings` encompasses the high and mid segment profiles; `recordingsLow`
|
|
8091
|
+
* is low segments; `eventMedia` is post-analysis blobs; `galleryMedia` is the
|
|
8092
|
+
* enrolled gallery; `backups` is the system backup archive. The last two have
|
|
8093
|
+
* their own rules — see {@link StorageMigrationFindingCodeSchema}. */
|
|
8053
8094
|
var StorageMigrationClassSchema = _enum([
|
|
8054
8095
|
"recordings",
|
|
8055
8096
|
"recordingsLow",
|
|
8056
|
-
"eventMedia"
|
|
8097
|
+
"eventMedia",
|
|
8098
|
+
"backups",
|
|
8099
|
+
"galleryMedia"
|
|
8057
8100
|
]);
|
|
8058
8101
|
/** A destination is always an existing, fully-qualified location id. The
|
|
8059
8102
|
* migration API intentionally never changes a source location's `basePath`:
|
|
@@ -8061,20 +8104,56 @@ var StorageMigrationClassSchema = _enum([
|
|
|
8061
8104
|
var StorageMigrationDestinationsSchema = object({
|
|
8062
8105
|
recordings: string().min(1).optional(),
|
|
8063
8106
|
recordingsLow: string().min(1).optional(),
|
|
8064
|
-
eventMedia: string().min(1).optional()
|
|
8107
|
+
eventMedia: string().min(1).optional(),
|
|
8108
|
+
backups: string().min(1).optional(),
|
|
8109
|
+
galleryMedia: string().min(1).optional()
|
|
8065
8110
|
}).refine((value) => Object.keys(value).length > 0, { message: "select at least one storage class" });
|
|
8111
|
+
/**
|
|
8112
|
+
* How a migration sequences the cutover against the byte move.
|
|
8113
|
+
*
|
|
8114
|
+
* - `blocking` — the historical order: pause, move every byte, repoint,
|
|
8115
|
+
* resume. Recording is stopped for the whole move. Right
|
|
8116
|
+
* for a small or a cold class, and the only legal mode for
|
|
8117
|
+
* a `cardinality: 'single'` class.
|
|
8118
|
+
* - `nonBlocking` — repoint FIRST, drain behind: seal, pause, repoint,
|
|
8119
|
+
* refresh, resume, then move the past with everything
|
|
8120
|
+
* running. The pause is three bounded instants (a detach +
|
|
8121
|
+
* attach round, a write-gate drain, a lease) instead of one
|
|
8122
|
+
* bounded by bytes. 1.09 TB at 7–14 MB/s is thirty hours of
|
|
8123
|
+
* stopped recording under `blocking`; the same move is
|
|
8124
|
+
* seconds of stopped recording under `nonBlocking`.
|
|
8125
|
+
*
|
|
8126
|
+
* The mode is on the JOB, not only on the input, because `status` is where an
|
|
8127
|
+
* operator finds out which one is running.
|
|
8128
|
+
*/
|
|
8129
|
+
var StorageMigrationModeSchema = _enum(["blocking", "nonBlocking"]);
|
|
8066
8130
|
/** Shared input for planning and starting an orchestrated storage migration. */
|
|
8067
8131
|
var StorageMigrationInputSchema = object({
|
|
8068
8132
|
destinations: StorageMigrationDestinationsSchema,
|
|
8069
|
-
throttleMbps: number().min(1).max(1e3).optional()
|
|
8133
|
+
throttleMbps: number().min(1).max(1e3).optional(),
|
|
8134
|
+
/** Omitted = `blocking`, which stays the default. */
|
|
8135
|
+
mode: StorageMigrationModeSchema.optional()
|
|
8070
8136
|
});
|
|
8071
|
-
/**
|
|
8072
|
-
*
|
|
8073
|
-
*
|
|
8137
|
+
/**
|
|
8138
|
+
* The durable coordinator state machine.
|
|
8139
|
+
*
|
|
8140
|
+
* `blocking`:
|
|
8141
|
+
* planning → pausing → moving → verifying → repointing → refreshing → resuming → done
|
|
8142
|
+
*
|
|
8143
|
+
* `nonBlocking`:
|
|
8144
|
+
* planning → sealing → pausing → repointing → refreshing → resuming → draining → verifying → done
|
|
8145
|
+
*
|
|
8146
|
+
* Same phases, different order plus two new ones — not a second mover.
|
|
8147
|
+
* `sealing` closes the `eventMedia` NULL-row hole BEFORE anything is paused;
|
|
8148
|
+
* `draining` runs the same movers UNLEASED, after every writer is back up.
|
|
8149
|
+
* `repointing` is still the only phase that changes a default location.
|
|
8150
|
+
*/
|
|
8074
8151
|
var StorageMigrationPhaseSchema = _enum([
|
|
8075
8152
|
"planning",
|
|
8153
|
+
"sealing",
|
|
8076
8154
|
"pausing",
|
|
8077
8155
|
"moving",
|
|
8156
|
+
"draining",
|
|
8078
8157
|
"verifying",
|
|
8079
8158
|
"repointing",
|
|
8080
8159
|
"refreshing",
|
|
@@ -8088,17 +8167,56 @@ var StorageMigrationParticipantSchema = _enum([
|
|
|
8088
8167
|
"recorder",
|
|
8089
8168
|
"analytics"
|
|
8090
8169
|
]);
|
|
8170
|
+
/**
|
|
8171
|
+
* The mover's own numbers, folded onto the coordinator's durable move record.
|
|
8172
|
+
*
|
|
8173
|
+
* The long half of a non-blocking migration is `draining`, and it is measured
|
|
8174
|
+
* in hours: 136 885 files at ~4 MB/s is about five of them. Before this shape
|
|
8175
|
+
* existed the only place those numbers appeared was a Loki line, so an operator
|
|
8176
|
+
* watching the Admin UI saw `phase: draining` and nothing else for a whole
|
|
8177
|
+
* afternoon.
|
|
8178
|
+
*
|
|
8179
|
+
* It is POLLED, never pushed. Events are telemetry and may be dropped
|
|
8180
|
+
* (D8/D11), and a dropped progress event is indistinguishable from a stalled
|
|
8181
|
+
* mover — which is the exact failure this is meant to end. The coordinator's
|
|
8182
|
+
* `waitForMoves` already fetches the whole {@link RelocateJob} on every tick to
|
|
8183
|
+
* read `state`; folding the counters costs no extra read and makes the durable
|
|
8184
|
+
* record say afterwards how far a move actually got.
|
|
8185
|
+
*
|
|
8186
|
+
* `filesTotal` is `null` for "no honest denominator" and is never zero-filled:
|
|
8187
|
+
* a windowed footage job (`sinceMs`) and a node with no ledger both genuinely
|
|
8188
|
+
* cannot say M, and a 0 there would render as "100 % done".
|
|
8189
|
+
*/
|
|
8190
|
+
var StorageMigrationMoveProgressSchema = object({
|
|
8191
|
+
filesMoved: number().int().nonnegative(),
|
|
8192
|
+
/** The archive census — the **M** of "N of M" (D295). `null` = unknowable. */
|
|
8193
|
+
filesTotal: number().int().nonnegative().nullable(),
|
|
8194
|
+
bytesMoved: number().int().nonnegative(),
|
|
8195
|
+
/** The MOVER's start, not the migration's: a drain restarted after an addon
|
|
8196
|
+
* crash gets a new mover, and a rate computed from the migration's start
|
|
8197
|
+
* would silently average in the time nothing was running. */
|
|
8198
|
+
startedAt: number(),
|
|
8199
|
+
/** When the coordinator last read these numbers. Paired with `startedAt` it
|
|
8200
|
+
* is the only honest rate: both clocks are the hub's, so a UI never has to
|
|
8201
|
+
* subtract its own. */
|
|
8202
|
+
observedAt: number()
|
|
8203
|
+
});
|
|
8091
8204
|
var StorageMigrationMoveSchema = object({
|
|
8092
8205
|
storageClass: StorageMigrationClassSchema,
|
|
8093
8206
|
fromLocationId: string(),
|
|
8094
8207
|
toLocationId: string(),
|
|
8095
8208
|
moverJobId: string().nullable(),
|
|
8096
8209
|
state: RelocateJobStateSchema.nullable(),
|
|
8097
|
-
error: string().nullable()
|
|
8210
|
+
error: string().nullable(),
|
|
8211
|
+
/** Last observed mover counters; `null` until the mover has been polled once. */
|
|
8212
|
+
progress: StorageMigrationMoveProgressSchema.nullable()
|
|
8098
8213
|
});
|
|
8099
8214
|
var StorageMigrationJobSchema = object({
|
|
8100
8215
|
jobId: string(),
|
|
8101
8216
|
phase: StorageMigrationPhaseSchema,
|
|
8217
|
+
/** Which order this job is running. `status` is the only place an operator
|
|
8218
|
+
* can tell a seconds-long cutover from a thirty-hour one. */
|
|
8219
|
+
mode: StorageMigrationModeSchema,
|
|
8102
8220
|
destinations: StorageMigrationDestinationsSchema,
|
|
8103
8221
|
throttleMbps: number(),
|
|
8104
8222
|
moves: array(StorageMigrationMoveSchema),
|
|
@@ -8111,13 +8229,122 @@ var StorageMigrationJobSchema = object({
|
|
|
8111
8229
|
finishedAt: number().nullable(),
|
|
8112
8230
|
error: string().nullable()
|
|
8113
8231
|
});
|
|
8232
|
+
var StorageMigrationFindingSchema = object({
|
|
8233
|
+
code: _enum([
|
|
8234
|
+
"sharesDeviceWithSource",
|
|
8235
|
+
"deviceIdentityUnknown",
|
|
8236
|
+
"unstampedEventMediaRows",
|
|
8237
|
+
"blockingOnly",
|
|
8238
|
+
"noMover"
|
|
8239
|
+
]),
|
|
8240
|
+
storageClass: StorageMigrationClassSchema,
|
|
8241
|
+
/** Human-readable, already carrying the ids and counts. */
|
|
8242
|
+
message: string()
|
|
8243
|
+
});
|
|
8114
8244
|
var StorageMigrationPlanSchema = object({
|
|
8115
8245
|
destinations: StorageMigrationDestinationsSchema,
|
|
8246
|
+
/** The mode this plan was built for. A plan is only valid for its mode: the
|
|
8247
|
+
* `eventMedia` seal gate and the single-cardinality refusal both depend on
|
|
8248
|
+
* it. */
|
|
8249
|
+
mode: StorageMigrationModeSchema,
|
|
8116
8250
|
moves: array(object({
|
|
8117
8251
|
storageClass: StorageMigrationClassSchema,
|
|
8118
8252
|
fromLocationId: string(),
|
|
8119
8253
|
toLocationId: string()
|
|
8120
|
-
}))
|
|
8254
|
+
})),
|
|
8255
|
+
findings: array(StorageMigrationFindingSchema)
|
|
8256
|
+
});
|
|
8257
|
+
/**
|
|
8258
|
+
* A mover as it exists RIGHT NOW, whether or not a migration job owns it.
|
|
8259
|
+
*
|
|
8260
|
+
* The coordinator's job record is the state of record for a migration, and its
|
|
8261
|
+
* moves carry {@link StorageMigrationMoveProgress}. But the movers are usable
|
|
8262
|
+
* standalone — `recording.relocateFootage` and `pipelineAnalytics.relocateMedia`
|
|
8263
|
+
* are both operator-callable, and on 2026-08-29 a five-hour drain was armed that
|
|
8264
|
+
* way because no supported UI path existed. A mover armed like that has no job
|
|
8265
|
+
* to fold progress into, so it has to be readable on its own or it is invisible.
|
|
8266
|
+
*
|
|
8267
|
+
* `migrationJobId` is what tells the two apart: `null` means nothing here
|
|
8268
|
+
* orchestrated it.
|
|
8269
|
+
*/
|
|
8270
|
+
var StorageMigrationMoverSchema = object({
|
|
8271
|
+
lane: _enum(["footage", "media"]),
|
|
8272
|
+
job: RelocateJobSchema,
|
|
8273
|
+
/** The coordinator job that armed this mover, or `null` for a mover armed
|
|
8274
|
+
* directly against the owning addon. */
|
|
8275
|
+
migrationJobId: string().nullable(),
|
|
8276
|
+
/** When the hub read these counters. Stamped here so a rate is `bytesMoved`
|
|
8277
|
+
* over (`observedAt` − `job.startedAt`) with BOTH ends on the hub's clock —
|
|
8278
|
+
* a browser subtracting its own `Date.now()` from a server `startedAt` is a
|
|
8279
|
+
* rate made of two different clocks. */
|
|
8280
|
+
observedAt: number()
|
|
8281
|
+
});
|
|
8282
|
+
/**
|
|
8283
|
+
* What a SOURCE still holds for one storage class — the number that makes a
|
|
8284
|
+
* "drain remaining" action honest rather than hopeful.
|
|
8285
|
+
*
|
|
8286
|
+
* It comes from the archive (`SegmentHourLedger.census` for footage, the media
|
|
8287
|
+
* engine's own selection count for media), never from the resident index: a
|
|
8288
|
+
* drain sized off `RecordingIndex` is what reported `done` over 80.3 GB it had
|
|
8289
|
+
* never been told about (D295).
|
|
8290
|
+
*
|
|
8291
|
+
* `items`/`bytes` are `null` for "the archive could not be asked", which is
|
|
8292
|
+
* deliberately NOT zero: a drain is still offered for an unknown residue,
|
|
8293
|
+
* because refusing on an unanswerable read would hide exactly the case an
|
|
8294
|
+
* operator needs to act on.
|
|
8295
|
+
*/
|
|
8296
|
+
var StorageMigrationResidueSchema = object({
|
|
8297
|
+
storageClass: StorageMigrationClassSchema,
|
|
8298
|
+
/** The location still holding the data. `'*'` for the media lane, whose rows
|
|
8299
|
+
* move from wherever they are rather than from one named source. */
|
|
8300
|
+
fromLocationId: string(),
|
|
8301
|
+
/** Where a drain would move it — the class's CURRENT default. */
|
|
8302
|
+
toLocationId: string(),
|
|
8303
|
+
/** Segments (footage lane) or rows (media lane) still on the source. */
|
|
8304
|
+
items: number().int().nonnegative().nullable(),
|
|
8305
|
+
/** Bytes on the source; `null` when the lane counts rows rather than bytes. */
|
|
8306
|
+
bytes: number().int().nonnegative().nullable()
|
|
8307
|
+
});
|
|
8308
|
+
/**
|
|
8309
|
+
* Run the DRAIN half and nothing else.
|
|
8310
|
+
*
|
|
8311
|
+
* A migration that reached `done` has already repointed, so `start` correctly
|
|
8312
|
+
* refuses its destination ("already the default") — there is nothing left to
|
|
8313
|
+
* repoint. But the drain can fail, be cancelled, be interrupted by a restart,
|
|
8314
|
+
* or finish against a work list that was a tenth of the archive (D295), and
|
|
8315
|
+
* before this there was no supported way to run only that half: the only way
|
|
8316
|
+
* through was calling `recording.relocateFootage` by hand over admin tRPC.
|
|
8317
|
+
*
|
|
8318
|
+
* `drain` NEVER calls `setDefaultLocations`. That is what keeps `start`'s
|
|
8319
|
+
* refusal meaningful: the two verbs are disjoint, so nothing here can silently
|
|
8320
|
+
* re-repoint a class that is already migrated.
|
|
8321
|
+
*/
|
|
8322
|
+
var StorageMigrationDrainInputSchema = object({
|
|
8323
|
+
/** The classes to drain. Each must appear in `storageMigration.residue`, so
|
|
8324
|
+
* a class whose source is already empty is refused rather than started. */
|
|
8325
|
+
classes: array(StorageMigrationClassSchema).min(1),
|
|
8326
|
+
throttleMbps: number().min(1).max(1e3).optional()
|
|
8327
|
+
});
|
|
8328
|
+
/** What a footage source still holds, asked of the durable hour ledger. */
|
|
8329
|
+
var RelocateResidueInputSchema = object({
|
|
8330
|
+
fromLocationId: string().min(1),
|
|
8331
|
+
/** Narrow to one logical class; omit for every profile on the location. */
|
|
8332
|
+
footageClass: RelocateFootageClassSchema.optional()
|
|
8333
|
+
});
|
|
8334
|
+
/** `null` = the archive could not answer (no ledger on this node, or the
|
|
8335
|
+
* aggregate failed). Never conflated with an empty source. */
|
|
8336
|
+
var RelocateResidueSchema = object({
|
|
8337
|
+
segments: number().int().nonnegative(),
|
|
8338
|
+
bytes: number().int().nonnegative()
|
|
8339
|
+
}).nullable();
|
|
8340
|
+
/** How many rows a media pass would still act on against a given target — the
|
|
8341
|
+
* media lane's denominator AND its residue, from ONE derivation so the two can
|
|
8342
|
+
* never disagree. `null` = the count could not be taken. */
|
|
8343
|
+
var RelocatableMediaCountSchema = object({ rows: number().int().nonnegative() }).nullable();
|
|
8344
|
+
var RelocatableMediaCountInputSchema = object({
|
|
8345
|
+
toLocationId: string().min(1),
|
|
8346
|
+
/** Omitted = `move`. */
|
|
8347
|
+
mode: MediaRelocateModeSchema.optional()
|
|
8121
8348
|
});
|
|
8122
8349
|
/**
|
|
8123
8350
|
* `StorageLocationType` — an addon-declared id that identifies the *kind* of
|
|
@@ -8223,6 +8450,32 @@ var StorageLocationRefSchema = union([StorageLocationTypeSchema, string().regex(
|
|
|
8223
8450
|
* two addons declaring the same `id` must agree on `cardinality` (validated
|
|
8224
8451
|
* at kernel aggregation time, not here).
|
|
8225
8452
|
*/
|
|
8453
|
+
/**
|
|
8454
|
+
* `StorageAccess` — how the service that DECLARED a storage-location kind
|
|
8455
|
+
* actually reaches the bytes. It is the constraint that decides which
|
|
8456
|
+
* `storage-provider`s may back a location of that kind.
|
|
8457
|
+
*
|
|
8458
|
+
* - `'local-path'` — the service asks `storage.resolve` for a path string and
|
|
8459
|
+
* then does its own `node:fs` I/O on it (the recorder's segment writer, the
|
|
8460
|
+
* post-analysis media roots). Only a provider that serves a genuine local
|
|
8461
|
+
* filesystem (`getProviderInfo().nodeLocal === true`) can satisfy that: a
|
|
8462
|
+
* remote provider's `resolve` returns a path on the REMOTE host, and
|
|
8463
|
+
* `fs.readdir` of it on this node either fails or — far worse — succeeds
|
|
8464
|
+
* against a same-named local directory that is something else entirely.
|
|
8465
|
+
*
|
|
8466
|
+
* - `'cap-mediated'` — every byte travels through the `storage` cap
|
|
8467
|
+
* (`read`/`write`, or `beginUpload`/`writeChunk`/`finalizeUpload`). The
|
|
8468
|
+
* service never sees a path, so any provider can back it. `backups` is the
|
|
8469
|
+
* one kind that qualifies today.
|
|
8470
|
+
*
|
|
8471
|
+
* Before this existed, `recordings` was unreachable by SFTP/S3/WebDAV only as
|
|
8472
|
+
* an EMERGENT property of how the recorder happened to be written. Nothing
|
|
8473
|
+
* refused the configuration; the first write simply went somewhere wrong, and
|
|
8474
|
+
* a recording write that goes wrong surfaces as a silent black window rather
|
|
8475
|
+
* than an error (the read path does not `stat`). This turns that accident into
|
|
8476
|
+
* a declared, enforced, testable refusal.
|
|
8477
|
+
*/
|
|
8478
|
+
var StorageAccessSchema = _enum(["local-path", "cap-mediated"]);
|
|
8226
8479
|
var StorageLocationDeclarationSchema = object({
|
|
8227
8480
|
/**
|
|
8228
8481
|
* Global location identifier, e.g. `recordings` or `recordingsLow`.
|
|
@@ -8242,6 +8495,19 @@ var StorageLocationDeclarationSchema = object({
|
|
|
8242
8495
|
*/
|
|
8243
8496
|
cardinality: _enum(["single", "multi"]),
|
|
8244
8497
|
/**
|
|
8498
|
+
* HOW the declaring service reaches the bytes — and therefore WHICH
|
|
8499
|
+
* providers may back a location of this kind. See {@link StorageAccessSchema}
|
|
8500
|
+
* and {@link STORAGE_ACCESS_FALLBACK}.
|
|
8501
|
+
*
|
|
8502
|
+
* Absent means `'local-path'`. That default is FAIL-CLOSED on purpose: it
|
|
8503
|
+
* can only over-restrict (refuse a remote provider for a kind that might
|
|
8504
|
+
* have coped) and never under-restrict. Declaring `'cap-mediated'` is the
|
|
8505
|
+
* permissive direction and is therefore never inferred — a repo guard
|
|
8506
|
+
* (`scripts/check-storage-access-declarations.ts`) refuses to let it be
|
|
8507
|
+
* reached by omission.
|
|
8508
|
+
*/
|
|
8509
|
+
access: StorageAccessSchema.optional(),
|
|
8510
|
+
/**
|
|
8245
8511
|
* When set, the default instance for this location inherits its resolved
|
|
8246
8512
|
* root from the named location's default instance. Useful for derivative
|
|
8247
8513
|
* slots (e.g. `recordingsLow` → `recordings`) so operators only need to
|
|
@@ -17767,8 +18033,10 @@ var TrackSchema = object({
|
|
|
17767
18033
|
lastSeen: number(),
|
|
17768
18034
|
/** Frame-rate position history (subject to maxPositionHistory cap). */
|
|
17769
18035
|
positions: array(TrackPositionSchema).readonly(),
|
|
17770
|
-
/** Periodic snapshots at snapshotIntervalMs cadence
|
|
17771
|
-
*
|
|
18036
|
+
/** Periodic snapshots at snapshotIntervalMs cadence — DEBUG media, produced
|
|
18037
|
+
* only while `MediaSettings.debugMediaEnabled` is on for the camera (D299;
|
|
18038
|
+
* the retired `saveThumbnails` used to gate this and the rolling
|
|
18039
|
+
* `lastFrame` together). Empty is the healthy default, not a capture gap. */
|
|
17772
18040
|
snapshots: array(TrackSnapshotSchema).readonly(),
|
|
17773
18041
|
/** Deduplicated zones the track has entered at least once. Zone IDS. */
|
|
17774
18042
|
zonesVisited: array(string()).readonly(),
|
|
@@ -18628,6 +18896,9 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
18628
18896
|
}), method(RelocateMediaInputSchema, object({ jobId: string() }), {
|
|
18629
18897
|
kind: "mutation",
|
|
18630
18898
|
auth: "admin"
|
|
18899
|
+
}), method(object({}), UnstampedEventMediaCountSchema, { auth: "admin" }), method(RelocatableMediaCountInputSchema, RelocatableMediaCountSchema, {
|
|
18900
|
+
kind: "query",
|
|
18901
|
+
auth: "admin"
|
|
18631
18902
|
}), method(object({}), array(RelocateJobSchema).readonly(), {
|
|
18632
18903
|
kind: "query",
|
|
18633
18904
|
auth: "admin"
|
|
@@ -20535,7 +20806,10 @@ method(object({
|
|
|
20535
20806
|
}), StorageLocationSchema, {
|
|
20536
20807
|
kind: "mutation",
|
|
20537
20808
|
auth: "admin"
|
|
20538
|
-
}), method(object({
|
|
20809
|
+
}), method(object({
|
|
20810
|
+
id: string(),
|
|
20811
|
+
force: boolean().optional()
|
|
20812
|
+
}), _void(), {
|
|
20539
20813
|
kind: "mutation",
|
|
20540
20814
|
auth: "admin"
|
|
20541
20815
|
}), method(object({ id: string() }), object({
|
|
@@ -20584,6 +20858,9 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
|
|
|
20584
20858
|
}), method(object({ jobId: string().optional() }), StorageMigrationJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
20585
20859
|
kind: "mutation",
|
|
20586
20860
|
auth: "admin"
|
|
20861
|
+
}), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string() }), {
|
|
20862
|
+
kind: "mutation",
|
|
20863
|
+
auth: "admin"
|
|
20587
20864
|
});
|
|
20588
20865
|
var ProviderInfoSchema = discriminatedUnion("shouldSaveDiskSpace", [object({
|
|
20589
20866
|
providerId: string().min(1),
|
|
@@ -20982,12 +21259,38 @@ response: record(string(), unknown()) }), object({
|
|
|
20982
21259
|
*
|
|
20983
21260
|
* ## Why this is a capability and not a helper
|
|
20984
21261
|
*
|
|
20985
|
-
*
|
|
20986
|
-
*
|
|
20987
|
-
*
|
|
20988
|
-
*
|
|
20989
|
-
*
|
|
20990
|
-
*
|
|
21262
|
+
* This capability was introduced with the claim that SIX stores in
|
|
21263
|
+
* `addon-post-analysis` held vectors in a `JSON` settings-store column — object
|
|
21264
|
+
* CLIP, face, plate, vehicle, identity, and the event store's derivatives. That
|
|
21265
|
+
* claim was never true, and leaving it here made five stores look like pending
|
|
21266
|
+
* work when three of them have no vector at all. Counted column by column on
|
|
21267
|
+
* 2026-08-30, exactly THREE ever held one:
|
|
21268
|
+
*
|
|
21269
|
+
* - `object-clip` — 512-dim CLIP image embedding, migrated 2026-08-06.
|
|
21270
|
+
* - `faces.embedding` — 512-dim ArcFace face embedding, migrated 2026-08-30.
|
|
21271
|
+
* - `identity-samples.embedding` — the same ArcFace vector for an ENROLLED
|
|
21272
|
+
* face, migrated 2026-08-30 into its OWN index (see below).
|
|
21273
|
+
*
|
|
21274
|
+
* `plates` and `vehicle-samples` store a plate STRING and a score; `vehicles`
|
|
21275
|
+
* and `identities` store a name; the event store stores no derivative vector.
|
|
21276
|
+
* They are not migration candidates and never were.
|
|
21277
|
+
*
|
|
21278
|
+
* Measured on the live hub the JSON encoding cost ~11.7 KB per row (512 floats
|
|
21279
|
+
* as TEXT, `JSON.parse`d on every search) and made semantic search load 5,000
|
|
21280
|
+
* rows before ranking anything.
|
|
21281
|
+
*
|
|
21282
|
+
* ## One index per COMPARISON, never per encoder
|
|
21283
|
+
*
|
|
21284
|
+
* `faces` and `identity-samples` hold the same 512 ArcFace dims from the same
|
|
21285
|
+
* model, and they still get two indexes. An index is a set of things that are
|
|
21286
|
+
* ranked against each other and that live and die together, and these two are
|
|
21287
|
+
* neither: a `faces` row is TRACK-OWNED and cascades away with its track under
|
|
21288
|
+
* a per-camera capacity cap, an `identity-samples` row is retention-EXEMPT
|
|
21289
|
+
* forever and is the gallery every recognition ranks against. One index would
|
|
21290
|
+
* mean every gallery load and every reconcile carried a filter whose failure
|
|
21291
|
+
* mode is either ranking a candidate against itself or reclaiming an enrolled
|
|
21292
|
+
* person's only sample. The dimension they share is not a reason to share an
|
|
21293
|
+
* index; the question they answer is, and it differs.
|
|
20991
21294
|
*
|
|
20992
21295
|
* The fix is not a faster loop, it is a different backend — and the backend
|
|
20993
21296
|
* should be replaceable without touching six callers. So: a singleton
|
|
@@ -21092,7 +21395,20 @@ var VectorQueryResultSchema = object({
|
|
|
21092
21395
|
*/
|
|
21093
21396
|
scanned: number(),
|
|
21094
21397
|
/** True when the backend could not consider every row that passed the filter. */
|
|
21095
|
-
truncated: boolean()
|
|
21398
|
+
truncated: boolean(),
|
|
21399
|
+
/**
|
|
21400
|
+
* The `topK` the backend actually ran with.
|
|
21401
|
+
*
|
|
21402
|
+
* Every backend has a ceiling — sqlite-vec's is 4,096 — and a caller asking
|
|
21403
|
+
* past it used to learn nothing but a boolean, from a WARN in the provider's
|
|
21404
|
+
* own log rather than in its answer. That is how an audit asking for 20,000
|
|
21405
|
+
* consumed 4,096 and reported `examined: 4096` as if it had walked the index,
|
|
21406
|
+
* for weeks. `truncated` says THAT the answer was short; this says BY HOW
|
|
21407
|
+
* MUCH, in the return value, where the caller cannot fail to see it.
|
|
21408
|
+
*
|
|
21409
|
+
* Equals the requested `topK` whenever nothing was lowered.
|
|
21410
|
+
*/
|
|
21411
|
+
effectiveTopK: number().int().positive()
|
|
21096
21412
|
});
|
|
21097
21413
|
var VectorDeleteInputSchema = object({
|
|
21098
21414
|
index: string(),
|
|
@@ -21121,6 +21437,68 @@ var VectorGetResultSchema = object({ items: array(object({
|
|
|
21121
21437
|
id: string(),
|
|
21122
21438
|
metadata: VectorMetadataSchema
|
|
21123
21439
|
})) });
|
|
21440
|
+
/**
|
|
21441
|
+
* Ids to read back WITH their vectors.
|
|
21442
|
+
*
|
|
21443
|
+
* The sibling of {@link VectorGetResultSchema}, and deliberately a separate
|
|
21444
|
+
* method rather than a flag on it: `getByIds` promises no vectors and its one
|
|
21445
|
+
* caller depends on that promise. This one promises the opposite.
|
|
21446
|
+
*
|
|
21447
|
+
* It exists because a store cannot put its vectors here otherwise. An ArcFace
|
|
21448
|
+
* gallery is ranked IN PROCESS, per detection, against every enrolled sample —
|
|
21449
|
+
* a per-face cross-process KNN would be a network round trip inside the
|
|
21450
|
+
* recognition loop. So the gallery is loaded once and held in RAM, and loading
|
|
21451
|
+
* it requires the index to hand the floats back. Without this method the only
|
|
21452
|
+
* way to keep a readable vector is a JSON column, which is the thing this
|
|
21453
|
+
* capability exists to delete.
|
|
21454
|
+
*
|
|
21455
|
+
* BOUNDED BY THE CALLER: ids are named, never "everything". Enumerating an
|
|
21456
|
+
* index is {@link VectorScanInputSchema}'s job, and it returns no vectors.
|
|
21457
|
+
*/
|
|
21458
|
+
var VectorFetchInputSchema = object({
|
|
21459
|
+
index: string(),
|
|
21460
|
+
ids: array(string())
|
|
21461
|
+
});
|
|
21462
|
+
var VectorFetchResultSchema = object({ items: array(object({
|
|
21463
|
+
id: string(),
|
|
21464
|
+
/** base64 Float32LE — the same wire form `upsert` accepts. */
|
|
21465
|
+
vector: string(),
|
|
21466
|
+
metadata: VectorMetadataSchema
|
|
21467
|
+
})) });
|
|
21468
|
+
/**
|
|
21469
|
+
* ENUMERATE an index: one page of rows in a stable order, no ranking.
|
|
21470
|
+
*
|
|
21471
|
+
* A reconcile does not want the nearest rows, it wants ALL of them, and asking
|
|
21472
|
+
* a KNN for "all" is the wrong question twice over. It hits the backend's `k`
|
|
21473
|
+
* ceiling — 4,096 on sqlite-vec against a 22,128-row index — and it needs a
|
|
21474
|
+
* probe vector it does not have, so the audit passed a ZERO vector whose cosine
|
|
21475
|
+
* distance to every row is degenerate. `examined: 4096` then read as "we
|
|
21476
|
+
* looked" for as long as anyone cared to read it.
|
|
21477
|
+
*
|
|
21478
|
+
* This is the primitive that question actually needs: a bounded page, ordered
|
|
21479
|
+
* by the backend's own row order, costing no distance computation at all.
|
|
21480
|
+
* Vectors are NOT returned — an enumeration that shipped 2 KB per row would be
|
|
21481
|
+
* the full-table read this capability was built to stop.
|
|
21482
|
+
*/
|
|
21483
|
+
var VectorScanInputSchema = object({
|
|
21484
|
+
index: string(),
|
|
21485
|
+
/** Opaque resume point. `0` starts at the top; pass back `nextCursor`. */
|
|
21486
|
+
cursor: number().int().nonnegative().default(0),
|
|
21487
|
+
limit: number().int().positive()
|
|
21488
|
+
});
|
|
21489
|
+
var VectorScanResultSchema = object({
|
|
21490
|
+
items: array(object({
|
|
21491
|
+
id: string(),
|
|
21492
|
+
metadata: VectorMetadataSchema
|
|
21493
|
+
})),
|
|
21494
|
+
/**
|
|
21495
|
+
* Where the next page starts, or `null` when the walk reached the end.
|
|
21496
|
+
*
|
|
21497
|
+
* `null` is the ONLY end-of-index signal. A caller must not infer the end
|
|
21498
|
+
* from a short page: a backend is free to return fewer rows than asked.
|
|
21499
|
+
*/
|
|
21500
|
+
nextCursor: number().int().nonnegative().nullable()
|
|
21501
|
+
});
|
|
21124
21502
|
var VectorStatsInputSchema = object({ index: string() });
|
|
21125
21503
|
var VectorStatsResultSchema = object({
|
|
21126
21504
|
/** Provider id, so an operator can tell brute force from an ANN index. */
|
|
@@ -21139,7 +21517,7 @@ method(VectorDeclareIndexInputSchema, _void(), {
|
|
|
21139
21517
|
}), method(VectorUpsertInputSchema, VectorUpsertResultSchema, {
|
|
21140
21518
|
kind: "mutation",
|
|
21141
21519
|
auth: "admin"
|
|
21142
|
-
}), method(VectorQueryInputSchema, VectorQueryResultSchema, { auth: "admin" }), method(VectorGetInputSchema, VectorGetResultSchema, { auth: "admin" }), method(VectorDeleteInputSchema, VectorDeleteResultSchema, {
|
|
21520
|
+
}), method(VectorQueryInputSchema, VectorQueryResultSchema, { auth: "admin" }), method(VectorGetInputSchema, VectorGetResultSchema, { auth: "admin" }), method(VectorFetchInputSchema, VectorFetchResultSchema, { auth: "admin" }), method(VectorScanInputSchema, VectorScanResultSchema, { auth: "admin" }), method(VectorDeleteInputSchema, VectorDeleteResultSchema, {
|
|
21143
21521
|
kind: "mutation",
|
|
21144
21522
|
auth: "admin"
|
|
21145
21523
|
}), method(VectorDeleteByFilterInputSchema, VectorDeleteResultSchema, {
|
|
@@ -26043,6 +26421,9 @@ method(object({
|
|
|
26043
26421
|
}), method(object({}), array(RelocateJobSchema).readonly(), {
|
|
26044
26422
|
kind: "query",
|
|
26045
26423
|
auth: "admin"
|
|
26424
|
+
}), method(RelocateResidueInputSchema, RelocateResidueSchema, {
|
|
26425
|
+
kind: "query",
|
|
26426
|
+
auth: "admin"
|
|
26046
26427
|
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
26047
26428
|
kind: "mutation",
|
|
26048
26429
|
auth: "admin"
|
|
@@ -31008,6 +31389,18 @@ Object.freeze({
|
|
|
31008
31389
|
addonId: null,
|
|
31009
31390
|
access: "create"
|
|
31010
31391
|
},
|
|
31392
|
+
"pipelineAnalytics.countRelocatableMedia": {
|
|
31393
|
+
capName: "pipeline-analytics",
|
|
31394
|
+
capScope: "device",
|
|
31395
|
+
addonId: null,
|
|
31396
|
+
access: "view"
|
|
31397
|
+
},
|
|
31398
|
+
"pipelineAnalytics.countUnstampedEventMedia": {
|
|
31399
|
+
capName: "pipeline-analytics",
|
|
31400
|
+
capScope: "device",
|
|
31401
|
+
addonId: null,
|
|
31402
|
+
access: "view"
|
|
31403
|
+
},
|
|
31011
31404
|
"pipelineAnalytics.deleteDeviceEvents": {
|
|
31012
31405
|
capName: "pipeline-analytics",
|
|
31013
31406
|
capScope: "device",
|
|
@@ -32166,6 +32559,12 @@ Object.freeze({
|
|
|
32166
32559
|
addonId: null,
|
|
32167
32560
|
access: "view"
|
|
32168
32561
|
},
|
|
32562
|
+
"recording.getRelocateResidue": {
|
|
32563
|
+
capName: "recording",
|
|
32564
|
+
capScope: "system",
|
|
32565
|
+
addonId: null,
|
|
32566
|
+
access: "view"
|
|
32567
|
+
},
|
|
32169
32568
|
"recording.getStorageMigrationMoveStatus": {
|
|
32170
32569
|
capName: "recording",
|
|
32171
32570
|
capScope: "system",
|
|
@@ -32712,12 +33111,30 @@ Object.freeze({
|
|
|
32712
33111
|
addonId: null,
|
|
32713
33112
|
access: "create"
|
|
32714
33113
|
},
|
|
33114
|
+
"storageMigration.drain": {
|
|
33115
|
+
capName: "storage-migration",
|
|
33116
|
+
capScope: "system",
|
|
33117
|
+
addonId: null,
|
|
33118
|
+
access: "create"
|
|
33119
|
+
},
|
|
33120
|
+
"storageMigration.movers": {
|
|
33121
|
+
capName: "storage-migration",
|
|
33122
|
+
capScope: "system",
|
|
33123
|
+
addonId: null,
|
|
33124
|
+
access: "view"
|
|
33125
|
+
},
|
|
32715
33126
|
"storageMigration.plan": {
|
|
32716
33127
|
capName: "storage-migration",
|
|
32717
33128
|
capScope: "system",
|
|
32718
33129
|
addonId: null,
|
|
32719
33130
|
access: "view"
|
|
32720
33131
|
},
|
|
33132
|
+
"storageMigration.residue": {
|
|
33133
|
+
capName: "storage-migration",
|
|
33134
|
+
capScope: "system",
|
|
33135
|
+
addonId: null,
|
|
33136
|
+
access: "view"
|
|
33137
|
+
},
|
|
32721
33138
|
"storageMigration.start": {
|
|
32722
33139
|
capName: "storage-migration",
|
|
32723
33140
|
capScope: "system",
|
|
@@ -33552,6 +33969,12 @@ Object.freeze({
|
|
|
33552
33969
|
addonId: null,
|
|
33553
33970
|
access: "delete"
|
|
33554
33971
|
},
|
|
33972
|
+
"vectorStore.fetchByIds": {
|
|
33973
|
+
capName: "vector-store",
|
|
33974
|
+
capScope: "system",
|
|
33975
|
+
addonId: null,
|
|
33976
|
+
access: "view"
|
|
33977
|
+
},
|
|
33555
33978
|
"vectorStore.getByIds": {
|
|
33556
33979
|
capName: "vector-store",
|
|
33557
33980
|
capScope: "system",
|
|
@@ -33564,6 +33987,12 @@ Object.freeze({
|
|
|
33564
33987
|
addonId: null,
|
|
33565
33988
|
access: "view"
|
|
33566
33989
|
},
|
|
33990
|
+
"vectorStore.scan": {
|
|
33991
|
+
capName: "vector-store",
|
|
33992
|
+
capScope: "system",
|
|
33993
|
+
addonId: null,
|
|
33994
|
+
access: "view"
|
|
33995
|
+
},
|
|
33567
33996
|
"vectorStore.stats": {
|
|
33568
33997
|
capName: "vector-store",
|
|
33569
33998
|
capScope: "system",
|
|
@@ -35995,7 +36424,7 @@ var AdminUIAddon = class extends BaseAddon {
|
|
|
35995
36424
|
capability: adminUiCapability,
|
|
35996
36425
|
provider: {
|
|
35997
36426
|
getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
|
|
35998
|
-
getVersion: async () => ({ version: "1.2.
|
|
36427
|
+
getVersion: async () => ({ version: "1.2.117" })
|
|
35999
36428
|
}
|
|
36000
36429
|
}];
|
|
36001
36430
|
}
|