@camstack/addon-provider-gree 0.2.27 → 0.2.28
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 +249 -79
- package/dist/addon.mjs +249 -79
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -6633,7 +6633,7 @@ function method(input, output, options) {
|
|
|
6633
6633
|
input,
|
|
6634
6634
|
output,
|
|
6635
6635
|
kind: options?.kind ?? "query",
|
|
6636
|
-
auth: options
|
|
6636
|
+
...options?.auth !== void 0 ? { auth: options.auth } : {},
|
|
6637
6637
|
...options?.access !== void 0 ? { access: options.access } : {},
|
|
6638
6638
|
...options?.caller !== void 0 ? { caller: options.caller } : {},
|
|
6639
6639
|
timeoutMs: options?.timeoutMs
|
|
@@ -6657,7 +6657,7 @@ function event(data) {
|
|
|
6657
6657
|
}
|
|
6658
6658
|
var StaticDirOutputSchema$1 = object({ staticDir: string() });
|
|
6659
6659
|
var VersionOutputSchema$1 = object({ version: string() });
|
|
6660
|
-
method(_void(), StaticDirOutputSchema$1), method(_void(), VersionOutputSchema$1);
|
|
6660
|
+
method(_void(), StaticDirOutputSchema$1, { auth: "admin" }), method(_void(), VersionOutputSchema$1, { auth: "admin" });
|
|
6661
6661
|
var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
6662
6662
|
DeviceType["Camera"] = "camera";
|
|
6663
6663
|
DeviceType["Hub"] = "hub";
|
|
@@ -6978,7 +6978,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
6978
6978
|
}({});
|
|
6979
6979
|
var StaticDirOutputSchema = object({ staticDir: string() });
|
|
6980
6980
|
var VersionOutputSchema = object({ version: string() });
|
|
6981
|
-
method(_void(), StaticDirOutputSchema), method(_void(), VersionOutputSchema);
|
|
6981
|
+
method(_void(), StaticDirOutputSchema, { auth: "admin" }), method(_void(), VersionOutputSchema, { auth: "admin" });
|
|
6982
6982
|
/**
|
|
6983
6983
|
* device-ops — device-scoped cap that unifies the per-IDevice operations
|
|
6984
6984
|
* previously routed through the `.device-ops` Moleculer bridge service.
|
|
@@ -7604,24 +7604,6 @@ var RecordingRetentionSchema = object({
|
|
|
7604
7604
|
maxSizeGb: number().min(0).optional()
|
|
7605
7605
|
});
|
|
7606
7606
|
/**
|
|
7607
|
-
* Scrub-thumbnail fidelity preset — the single per-camera selector bundling the
|
|
7608
|
-
* sprite tile RESOLUTION + JPEG QUALITY the recorder packs timeline-scrub
|
|
7609
|
-
* previews at. Five graduated steps; absent on a config = `standard` (the
|
|
7610
|
-
* shipped default, matching `sheet-geometry`/`sheet-composer`).
|
|
7611
|
-
*
|
|
7612
|
-
* Existing sheets are IMMUTABLE — a changed preset applies to NEW windows only.
|
|
7613
|
-
* Each window's index sidecar carries its own tile dims, so a camera whose
|
|
7614
|
-
* preset changed over time renders every historical window at the dims it was
|
|
7615
|
-
* written with.
|
|
7616
|
-
*/
|
|
7617
|
-
var ScrubThumbnailPresetSchema = _enum([
|
|
7618
|
-
"minimal",
|
|
7619
|
-
"low",
|
|
7620
|
-
"standard",
|
|
7621
|
-
"high",
|
|
7622
|
-
"max"
|
|
7623
|
-
]);
|
|
7624
|
-
/**
|
|
7625
7607
|
* The full per-camera recording intent — the wire shape of a RecordingTarget.
|
|
7626
7608
|
*
|
|
7627
7609
|
* `bands` is the ONLY authored recording intent: what to record, when, and on
|
|
@@ -7629,7 +7611,11 @@ var ScrubThumbnailPresetSchema = _enum([
|
|
|
7629
7611
|
* other field is a storage knob (profiles, segment length, retention, scrub).
|
|
7630
7612
|
*
|
|
7631
7613
|
* STRICT on purpose: the legacy authoring surface (`schedule`/`schedules`/
|
|
7632
|
-
* `triggers`/`preBufferSec`/`postBufferSec`/`rules`) was retired 2026-07-30
|
|
7614
|
+
* `triggers`/`preBufferSec`/`postBufferSec`/`rules`) was retired 2026-07-30,
|
|
7615
|
+
* and `scrubThumbnails` — a five-step fidelity knob for a sprite tier that was
|
|
7616
|
+
* deleted on 2026-07-24 and had ZERO consumers in the recorder — on 2026-08-25
|
|
7617
|
+
* (D62: a switch that writes a store nobody reads is worse than no switch).
|
|
7618
|
+
* Stored rows keep loading: the READ schema is `.strip()` (config-store.ts).
|
|
7633
7619
|
* A stale caller must fail loudly — silently stripping its legacy intent would
|
|
7634
7620
|
* persist a band-less config, i.e. silently stop recording the camera.
|
|
7635
7621
|
*/
|
|
@@ -7652,14 +7638,7 @@ var RecordingConfigSchema = object({
|
|
|
7652
7638
|
* "off" is the absence of a covering band, never a band value.
|
|
7653
7639
|
*/
|
|
7654
7640
|
bands: array(RecordingBandSchema).default([]),
|
|
7655
|
-
retention: RecordingRetentionSchema.optional()
|
|
7656
|
-
/**
|
|
7657
|
-
* Per-camera scrub-thumbnail fidelity preset (resolution + JPEG quality for
|
|
7658
|
-
* timeline-scrub sprite previews). Absent = `standard`. Applies to NEW
|
|
7659
|
-
* windows only — existing sheets are immutable, and each window's index
|
|
7660
|
-
* carries its own tile dims so mixed-preset history renders correctly.
|
|
7661
|
-
*/
|
|
7662
|
-
scrubThumbnails: ScrubThumbnailPresetSchema.optional()
|
|
7641
|
+
retention: RecordingRetentionSchema.optional()
|
|
7663
7642
|
}).strict();
|
|
7664
7643
|
/**
|
|
7665
7644
|
* Entity-relocation job state (storage entity-routing spec, Phase 4).
|
|
@@ -7735,10 +7714,11 @@ var RelocateFootageInputSchema = object({
|
|
|
7735
7714
|
* `RecordingConfig.enabled` or camera wrapper bindings. */
|
|
7736
7715
|
var StorageMigrationLeaseInputSchema = object({ leaseId: string().min(1) });
|
|
7737
7716
|
var StorageMigrationFootageMoveInputSchema = RelocateFootageInputSchema.extend({ leaseId: string().min(1) });
|
|
7738
|
-
var
|
|
7717
|
+
var RelocateMediaInputSchema = object({
|
|
7739
7718
|
toLocationId: string(),
|
|
7740
7719
|
throttleMbps: number().min(1).max(1e3).optional()
|
|
7741
|
-
})
|
|
7720
|
+
});
|
|
7721
|
+
var StorageMigrationMediaMoveInputSchema = RelocateMediaInputSchema.extend({ leaseId: string().min(1) });
|
|
7742
7722
|
/** The independently selectable logical storage classes. `recordings`
|
|
7743
7723
|
* encompasses the high and mid segment profiles; `recordingsLow` is low
|
|
7744
7724
|
* segments; `eventMedia` is post-analysis blobs. */
|
|
@@ -8033,7 +8013,26 @@ var LabelDefinitionSchema = object({
|
|
|
8033
8013
|
description: string().optional(),
|
|
8034
8014
|
icon: string().optional()
|
|
8035
8015
|
});
|
|
8036
|
-
|
|
8016
|
+
/**
|
|
8017
|
+
* Wire schema for a per-model CATALOG classMap override
|
|
8018
|
+
* (`ModelCatalogEntry.classMap` / `ModelConvertMetadata.classMap`) —
|
|
8019
|
+
* restricted to {@link CLASS_MAP_MACRO_TARGETS}, the only macros the
|
|
8020
|
+
* detection pipeline executor actually routes.
|
|
8021
|
+
*
|
|
8022
|
+
* This is deliberately a DIFFERENT, narrower shape than the general-purpose
|
|
8023
|
+
* `ClassMapDefinition` interface above (e.g. `IDetectionAddon.getClassMap()`
|
|
8024
|
+
* and the audio `YAMNET_TO_MACRO` catalog both use macro targets outside this
|
|
8025
|
+
* enum) — the two used to share the name `ClassMapDefinition`/
|
|
8026
|
+
* `ClassMapDefinitionSchema`, which made the schema-type-twin guard
|
|
8027
|
+
* (`scripts/check-schema-type-twins.ts`) flag them as a duplicated shape. They
|
|
8028
|
+
* are not: it is two different concepts colliding on a name. Keep this type
|
|
8029
|
+
* under its own name rather than reusing `ClassMapDefinition` — reusing it
|
|
8030
|
+
* would either narrow every `ClassMapDefinition` consumer to the four
|
|
8031
|
+
* detection macros (breaking `YAMNET_TO_MACRO`) or drop the validation this
|
|
8032
|
+
* schema exists for (see the "rejects a classMap whose target is not a
|
|
8033
|
+
* detection macro" test in `model-catalog-schema.test.ts`).
|
|
8034
|
+
*/
|
|
8035
|
+
var DetectionCatalogClassMapSchema = object({
|
|
8037
8036
|
mapping: record(string(), _enum([
|
|
8038
8037
|
"person",
|
|
8039
8038
|
"vehicle",
|
|
@@ -8238,7 +8237,7 @@ var ModelCatalogEntrySchema = object({
|
|
|
8238
8237
|
* applies (Frigate / COCO public catalog). Set on a custom model whose raw
|
|
8239
8238
|
* labels already ARE the CamStack macros (Scrypted identity map).
|
|
8240
8239
|
*/
|
|
8241
|
-
classMap:
|
|
8240
|
+
classMap: DetectionCatalogClassMapSchema.optional()
|
|
8242
8241
|
});
|
|
8243
8242
|
var ConvertTargetSchema = discriminatedUnion("format", [object({
|
|
8244
8243
|
format: literal("openvino"),
|
|
@@ -8268,7 +8267,7 @@ var ModelConvertMetadataSchema = object({
|
|
|
8268
8267
|
"segmentation"
|
|
8269
8268
|
]),
|
|
8270
8269
|
faceAlignment: boolean().optional(),
|
|
8271
|
-
classMap:
|
|
8270
|
+
classMap: DetectionCatalogClassMapSchema.optional()
|
|
8272
8271
|
});
|
|
8273
8272
|
var ConvertResultSchema = object({
|
|
8274
8273
|
entry: ModelCatalogEntrySchema,
|
|
@@ -9131,7 +9130,7 @@ var AddonPageDeclarationSchema = object({
|
|
|
9131
9130
|
/** Display label for a CUSTOM `section` id (ignored for well-known ids). */
|
|
9132
9131
|
sectionLabel: string().optional()
|
|
9133
9132
|
});
|
|
9134
|
-
method(_void(), array(AddonPageDeclarationSchema).readonly());
|
|
9133
|
+
method(_void(), array(AddonPageDeclarationSchema).readonly(), { auth: "admin" });
|
|
9135
9134
|
var AddonHttpRouteSchema = object({
|
|
9136
9135
|
method: _enum([
|
|
9137
9136
|
"GET",
|
|
@@ -9366,7 +9365,7 @@ var WidgetMetadataSchema = object({
|
|
|
9366
9365
|
defaultColumns: number().int().min(1).max(12).default(6),
|
|
9367
9366
|
defaultRows: number().int().min(1).max(12).default(1)
|
|
9368
9367
|
});
|
|
9369
|
-
method(_void(), array(WidgetMetadataSchema).readonly());
|
|
9368
|
+
method(_void(), array(WidgetMetadataSchema).readonly(), { auth: "admin" });
|
|
9370
9369
|
/**
|
|
9371
9370
|
* `addon-widgets` — system-scoped singleton aggregator cap. Public-facing
|
|
9372
9371
|
* surface that admin-ui consumes through `useAddonWidgetsListWidgets()`.
|
|
@@ -10990,7 +10989,7 @@ var CustomModelDescriptorSchema = object({
|
|
|
10990
10989
|
stepId: string(),
|
|
10991
10990
|
entry: ModelCatalogEntrySchema
|
|
10992
10991
|
});
|
|
10993
|
-
method(_void(), array(CustomModelDescriptorSchema).readonly());
|
|
10992
|
+
method(_void(), array(CustomModelDescriptorSchema).readonly(), { auth: "admin" });
|
|
10994
10993
|
/**
|
|
10995
10994
|
* Query filter for settings-store collections.
|
|
10996
10995
|
*/
|
|
@@ -11077,7 +11076,8 @@ method(object({
|
|
|
11077
11076
|
}), _void(), { kind: "mutation" }), method(object({
|
|
11078
11077
|
namespace: string().optional(),
|
|
11079
11078
|
collection: string(),
|
|
11080
|
-
filter: QueryFilterSchema.optional()
|
|
11079
|
+
filter: QueryFilterSchema.optional(),
|
|
11080
|
+
columns: array(string()).readonly().optional()
|
|
11081
11081
|
}), array(SettingsRecordSchema).readonly()), method(object({
|
|
11082
11082
|
namespace: string().optional(),
|
|
11083
11083
|
collection: string(),
|
|
@@ -11140,46 +11140,87 @@ var EngineInfoSchema = object({
|
|
|
11140
11140
|
kind: _enum(["relational", "vector"]),
|
|
11141
11141
|
displayName: string()
|
|
11142
11142
|
});
|
|
11143
|
-
method(_void(), EngineInfoSchema), method(object({
|
|
11143
|
+
method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
|
|
11144
11144
|
namespace: string().optional(),
|
|
11145
11145
|
collection: string(),
|
|
11146
11146
|
key: string()
|
|
11147
|
-
}), unknown()), method(object({
|
|
11147
|
+
}), unknown(), { auth: "admin" }), method(object({
|
|
11148
11148
|
namespace: string().optional(),
|
|
11149
11149
|
collection: string(),
|
|
11150
11150
|
key: string(),
|
|
11151
11151
|
value: unknown()
|
|
11152
|
-
}), _void(), {
|
|
11152
|
+
}), _void(), {
|
|
11153
|
+
kind: "mutation",
|
|
11154
|
+
auth: "admin"
|
|
11155
|
+
}), method(object({
|
|
11153
11156
|
namespace: string().optional(),
|
|
11154
11157
|
collection: string(),
|
|
11155
|
-
filter: QueryFilterSchema.optional()
|
|
11156
|
-
|
|
11158
|
+
filter: QueryFilterSchema.optional(),
|
|
11159
|
+
/**
|
|
11160
|
+
* SQL-level column projection — MUST mirror `settings-store.query`.
|
|
11161
|
+
*
|
|
11162
|
+
* ⚠ An earlier version of this comment blamed Zod stripping, and that
|
|
11163
|
+
* was wrong — corrected 2026-08-26 after the hop map
|
|
11164
|
+
* (`docs/design/2026-08-26-mappa-hop-argomenti.md`) traced the path.
|
|
11165
|
+
* There is **no Zod parse at all** between the door and the engine: the
|
|
11166
|
+
* dispatcher forwards the payload verbatim and UDS carries it whole. A
|
|
11167
|
+
* field declared here reaches `SqliteSettingsBackend` either way.
|
|
11168
|
+
*
|
|
11169
|
+
* What actually lost `columns` was the THIRD declaration of this shape:
|
|
11170
|
+
* `SettingsQueryInput` in `interfaces/storage.ts`, a hand-written TS
|
|
11171
|
+
* interface the engine destructures from. The field existed on both
|
|
11172
|
+
* schemas and the engine still never read it, because nothing checks a
|
|
11173
|
+
* registered provider against `InferProvider<cap>` —
|
|
11174
|
+
* `ProviderRegistration.provider` is typed `object`.
|
|
11175
|
+
*
|
|
11176
|
+
* It is declared here anyway, and must stay in step with
|
|
11177
|
+
* `settings-store.query`: a caller reading only the cap definitions has
|
|
11178
|
+
* to be able to see that this call carries a projection.
|
|
11179
|
+
* `data-door-schema-parity.spec.ts` keeps the two aligned.
|
|
11180
|
+
*/
|
|
11181
|
+
columns: array(string()).readonly().optional()
|
|
11182
|
+
}), array(SettingsRecordSchema).readonly(), { auth: "admin" }), method(object({
|
|
11157
11183
|
namespace: string().optional(),
|
|
11158
11184
|
collection: string(),
|
|
11159
11185
|
record: SettingsRecordSchema
|
|
11160
|
-
}), _void(), {
|
|
11186
|
+
}), _void(), {
|
|
11187
|
+
kind: "mutation",
|
|
11188
|
+
auth: "admin"
|
|
11189
|
+
}), method(object({
|
|
11161
11190
|
namespace: string().optional(),
|
|
11162
11191
|
collection: string(),
|
|
11163
11192
|
id: string(),
|
|
11164
11193
|
data: record(string(), unknown())
|
|
11165
|
-
}), _void(), {
|
|
11194
|
+
}), _void(), {
|
|
11195
|
+
kind: "mutation",
|
|
11196
|
+
auth: "admin"
|
|
11197
|
+
}), method(object({
|
|
11166
11198
|
namespace: string().optional(),
|
|
11167
11199
|
collection: string(),
|
|
11168
11200
|
key: string()
|
|
11169
|
-
}), _void(), {
|
|
11201
|
+
}), _void(), {
|
|
11202
|
+
kind: "mutation",
|
|
11203
|
+
auth: "admin"
|
|
11204
|
+
}), method(object({
|
|
11170
11205
|
namespace: string().optional(),
|
|
11171
11206
|
collection: string(),
|
|
11172
11207
|
filter: MutationFilterSchema
|
|
11173
|
-
}), object({ deleted: number().int() }), {
|
|
11208
|
+
}), object({ deleted: number().int() }), {
|
|
11209
|
+
kind: "mutation",
|
|
11210
|
+
auth: "admin"
|
|
11211
|
+
}), method(object({
|
|
11174
11212
|
namespace: string().optional(),
|
|
11175
11213
|
collection: string(),
|
|
11176
11214
|
filter: MutationFilterSchema,
|
|
11177
11215
|
data: record(string(), unknown())
|
|
11178
|
-
}), object({ updated: number().int() }), {
|
|
11216
|
+
}), object({ updated: number().int() }), {
|
|
11217
|
+
kind: "mutation",
|
|
11218
|
+
auth: "admin"
|
|
11219
|
+
}), method(object({
|
|
11179
11220
|
namespace: string().optional(),
|
|
11180
11221
|
collection: string(),
|
|
11181
11222
|
filter: QueryFilterSchema.optional()
|
|
11182
|
-
}), number()), method(object({
|
|
11223
|
+
}), number(), { auth: "admin" }), method(object({
|
|
11183
11224
|
namespace: string().optional(),
|
|
11184
11225
|
collection: string(),
|
|
11185
11226
|
field: string(),
|
|
@@ -11189,15 +11230,18 @@ method(_void(), EngineInfoSchema), method(object({
|
|
|
11189
11230
|
}), array(object({
|
|
11190
11231
|
bucket: number().int(),
|
|
11191
11232
|
count: number().int()
|
|
11192
|
-
})).readonly()), method(object({
|
|
11233
|
+
})).readonly(), { auth: "admin" }), method(object({
|
|
11193
11234
|
namespace: string().optional(),
|
|
11194
11235
|
collection: string()
|
|
11195
|
-
}), boolean()), method(object({
|
|
11236
|
+
}), boolean(), { auth: "admin" }), method(object({
|
|
11196
11237
|
namespace: string().optional(),
|
|
11197
11238
|
collection: string(),
|
|
11198
11239
|
columns: array(CollectionColumnSchema).readonly(),
|
|
11199
11240
|
indexes: array(CollectionIndexSchema).readonly().optional()
|
|
11200
|
-
}), _void(), {
|
|
11241
|
+
}), _void(), {
|
|
11242
|
+
kind: "mutation",
|
|
11243
|
+
auth: "admin"
|
|
11244
|
+
});
|
|
11201
11245
|
/**
|
|
11202
11246
|
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
11203
11247
|
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
@@ -12487,7 +12531,7 @@ method(object({
|
|
|
12487
12531
|
crop: _instanceof(Uint8Array),
|
|
12488
12532
|
width: number(),
|
|
12489
12533
|
height: number()
|
|
12490
|
-
}), EmbeddingResultSchema), method(object({ text: string() }), EmbeddingResultSchema), method(_void(), EmbeddingInfoSchema);
|
|
12534
|
+
}), EmbeddingResultSchema, { auth: "admin" }), method(object({ text: string() }), EmbeddingResultSchema, { auth: "admin" }), method(_void(), EmbeddingInfoSchema, { auth: "admin" });
|
|
12491
12535
|
/**
|
|
12492
12536
|
* filesystem-browse — per-node capability for browsing the node's local
|
|
12493
12537
|
* filesystem. Reads are unconfined (whole filesystem, from `/` down); WRITES
|
|
@@ -12780,19 +12824,22 @@ method(LlmGenerateBaseInputSchema.extend({
|
|
|
12780
12824
|
runtime: ManagedRuntimeConfigSchema,
|
|
12781
12825
|
/** The managed profile's timeout, threaded by the hub provider. */
|
|
12782
12826
|
timeoutMs: number().int().positive().optional()
|
|
12783
|
-
}), LlmGenerateResultSchema, {
|
|
12827
|
+
}), LlmGenerateResultSchema, {
|
|
12828
|
+
kind: "mutation",
|
|
12829
|
+
auth: "admin"
|
|
12830
|
+
}), method(object({ runtime: ManagedRuntimeConfigSchema }), LlmRuntimeStatusSchema, {
|
|
12784
12831
|
kind: "mutation",
|
|
12785
12832
|
auth: "admin"
|
|
12786
12833
|
}), method(object({}), _void(), {
|
|
12787
12834
|
kind: "mutation",
|
|
12788
12835
|
auth: "admin"
|
|
12789
|
-
}), method(object({}), LlmRuntimeStatusSchema), method(object({ model: ManagedModelRefSchema }), _void(), {
|
|
12836
|
+
}), method(object({}), LlmRuntimeStatusSchema, { auth: "admin" }), method(object({ model: ManagedModelRefSchema }), _void(), {
|
|
12790
12837
|
kind: "mutation",
|
|
12791
12838
|
auth: "admin"
|
|
12792
12839
|
}), method(object({ file: string() }), _void(), {
|
|
12793
12840
|
kind: "mutation",
|
|
12794
12841
|
auth: "admin"
|
|
12795
|
-
}), method(object({}), array(LlmNodeModelSchema)), method(object({}), LlmRuntimeDiskUsageSchema);
|
|
12842
|
+
}), method(object({}), array(LlmNodeModelSchema), { auth: "admin" }), method(object({}), LlmRuntimeDiskUsageSchema, { auth: "admin" });
|
|
12796
12843
|
/**
|
|
12797
12844
|
* `llm` — consumer-facing LLM surface (spec §1-§3). Collection-mode: array
|
|
12798
12845
|
* methods concat-fan across providers; single-row methods route to ONE
|
|
@@ -16303,7 +16350,7 @@ var OauthIntegrationDescriptorSchema = object({
|
|
|
16303
16350
|
*/
|
|
16304
16351
|
refreshTokenTtlSec: union([number().int().positive(), literal("never")]).optional()
|
|
16305
16352
|
});
|
|
16306
|
-
method(_void(), OauthIntegrationDescriptorSchema);
|
|
16353
|
+
method(_void(), OauthIntegrationDescriptorSchema, { auth: "admin" });
|
|
16307
16354
|
/**
|
|
16308
16355
|
* pipeline-analytics — device-scoped wrapper cap. Refines raw
|
|
16309
16356
|
* per-frame detections emitted by the pipeline runner into tracked
|
|
@@ -17498,6 +17545,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
17498
17545
|
}), method(object({ jobId: string() }), RelocateJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
17499
17546
|
kind: "mutation",
|
|
17500
17547
|
auth: "admin"
|
|
17548
|
+
}), method(RelocateMediaInputSchema, object({ jobId: string() }), {
|
|
17549
|
+
kind: "mutation",
|
|
17550
|
+
auth: "admin"
|
|
17551
|
+
}), method(object({}), array(RelocateJobSchema).readonly(), {
|
|
17552
|
+
kind: "query",
|
|
17553
|
+
auth: "admin"
|
|
17554
|
+
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
17555
|
+
kind: "mutation",
|
|
17556
|
+
auth: "admin"
|
|
17501
17557
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
17502
17558
|
kind: "query",
|
|
17503
17559
|
auth: "admin"
|
|
@@ -17652,6 +17708,11 @@ object({
|
|
|
17652
17708
|
"jpeg"
|
|
17653
17709
|
])
|
|
17654
17710
|
});
|
|
17711
|
+
/**
|
|
17712
|
+
* Process-local frame identity. It is serializable so it can ride an in-process
|
|
17713
|
+
* capability call, but `registryId` deliberately prevents resolution in any
|
|
17714
|
+
* other process or execution group.
|
|
17715
|
+
*/
|
|
17655
17716
|
var FrameRefSchema = object({
|
|
17656
17717
|
registryId: string().min(1),
|
|
17657
17718
|
id: string().min(1),
|
|
@@ -19857,7 +19918,7 @@ method(object({
|
|
|
19857
19918
|
* linking rather than produce an eternal token.
|
|
19858
19919
|
*/
|
|
19859
19920
|
ttlSec: union([number().int().positive(), literal("never")]).optional()
|
|
19860
|
-
}), object({ token: string() })), method(object({ token: string() }), SsoBridgeClaimsSchema.nullable());
|
|
19921
|
+
}), object({ token: string() }), { auth: "admin" }), method(object({ token: string() }), SsoBridgeClaimsSchema.nullable(), { auth: "admin" });
|
|
19861
19922
|
var ProviderListEntrySchema = discriminatedUnion("shouldSaveDiskSpace", [object({
|
|
19862
19923
|
providerId: string().min(1),
|
|
19863
19924
|
displayName: string().min(1),
|
|
@@ -19952,10 +20013,13 @@ var EvictResultSchema = object({
|
|
|
19952
20013
|
/** True when the provider has nothing left it is willing to drop on this location. */
|
|
19953
20014
|
exhausted: boolean()
|
|
19954
20015
|
});
|
|
19955
|
-
method(object({ locationId: string() }), EvictableUsageSchema), method(object({
|
|
20016
|
+
method(object({ locationId: string() }), EvictableUsageSchema, { auth: "admin" }), method(object({
|
|
19956
20017
|
locationId: string(),
|
|
19957
20018
|
targetBytes: number().int().positive()
|
|
19958
|
-
}), EvictResultSchema, {
|
|
20019
|
+
}), EvictResultSchema, {
|
|
20020
|
+
kind: "mutation",
|
|
20021
|
+
auth: "admin"
|
|
20022
|
+
});
|
|
19959
20023
|
method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin" }), method(StorageMigrationInputSchema, object({ jobId: string() }), {
|
|
19960
20024
|
kind: "mutation",
|
|
19961
20025
|
auth: "admin"
|
|
@@ -20015,26 +20079,50 @@ var ReadChunkInputSchema = object({
|
|
|
20015
20079
|
length: number()
|
|
20016
20080
|
});
|
|
20017
20081
|
var EndDownloadInputSchema = object({ downloadId: string() });
|
|
20018
|
-
method(_void(), ProviderInfoSchema), method(object({ config: record(string(), unknown()) }), TestLocationResultSchema, { auth: "admin" }), method(object({
|
|
20082
|
+
method(_void(), ProviderInfoSchema, { auth: "admin" }), method(object({ config: record(string(), unknown()) }), TestLocationResultSchema, { auth: "admin" }), method(object({
|
|
20019
20083
|
location: StorageLocationSchema,
|
|
20020
20084
|
relativePath: string()
|
|
20021
|
-
}), string()), method(object({
|
|
20085
|
+
}), string(), { auth: "admin" }), method(object({
|
|
20022
20086
|
location: StorageLocationSchema,
|
|
20023
20087
|
relativePath: string(),
|
|
20024
20088
|
data: _instanceof(Uint8Array)
|
|
20025
|
-
}), _void(), {
|
|
20089
|
+
}), _void(), {
|
|
20090
|
+
kind: "mutation",
|
|
20091
|
+
auth: "admin"
|
|
20092
|
+
}), method(object({
|
|
20026
20093
|
location: StorageLocationSchema,
|
|
20027
20094
|
relativePath: string()
|
|
20028
|
-
}), _instanceof(Uint8Array)), method(object({
|
|
20095
|
+
}), _instanceof(Uint8Array), { auth: "admin" }), method(object({
|
|
20029
20096
|
location: StorageLocationSchema,
|
|
20030
20097
|
relativePath: string()
|
|
20031
|
-
}), boolean()), method(object({
|
|
20098
|
+
}), boolean(), { auth: "admin" }), method(object({
|
|
20032
20099
|
location: StorageLocationSchema,
|
|
20033
20100
|
prefix: string().optional()
|
|
20034
|
-
}), array(string()).readonly()), method(object({
|
|
20101
|
+
}), array(string()).readonly(), { auth: "admin" }), method(object({
|
|
20035
20102
|
location: StorageLocationSchema,
|
|
20036
20103
|
relativePath: string()
|
|
20037
|
-
}), _void(), {
|
|
20104
|
+
}), _void(), {
|
|
20105
|
+
kind: "mutation",
|
|
20106
|
+
auth: "admin"
|
|
20107
|
+
}), method(object({ location: StorageLocationSchema }), number().nullable(), { auth: "admin" }), method(BeginUploadInputSchema, BeginUploadResultSchema, {
|
|
20108
|
+
kind: "mutation",
|
|
20109
|
+
auth: "admin"
|
|
20110
|
+
}), method(WriteChunkInputSchema, _void(), {
|
|
20111
|
+
kind: "mutation",
|
|
20112
|
+
auth: "admin"
|
|
20113
|
+
}), method(FinalizeUploadInputSchema, _void(), {
|
|
20114
|
+
kind: "mutation",
|
|
20115
|
+
auth: "admin"
|
|
20116
|
+
}), method(AbortUploadInputSchema, _void(), {
|
|
20117
|
+
kind: "mutation",
|
|
20118
|
+
auth: "admin"
|
|
20119
|
+
}), method(BeginDownloadInputSchema, BeginDownloadResultSchema, {
|
|
20120
|
+
kind: "mutation",
|
|
20121
|
+
auth: "admin"
|
|
20122
|
+
}), method(ReadChunkInputSchema, _instanceof(Uint8Array), { auth: "admin" }), method(EndDownloadInputSchema, _void(), {
|
|
20123
|
+
kind: "mutation",
|
|
20124
|
+
auth: "admin"
|
|
20125
|
+
});
|
|
20038
20126
|
/** Profile-exported FormBuilder schema. Shape is ConfigUISchema at the UI. */
|
|
20039
20127
|
var ProfileSettingsSchemaBridge = unknown().nullable();
|
|
20040
20128
|
var ProfileSettingsBagSchema = record(string(), unknown());
|
|
@@ -20292,7 +20380,8 @@ method(object({
|
|
|
20292
20380
|
access: "create"
|
|
20293
20381
|
}), method(object({ userId: string().optional() }), object({ optionsJSON: record(string(), unknown()) }), {
|
|
20294
20382
|
kind: "mutation",
|
|
20295
|
-
access: "view"
|
|
20383
|
+
access: "view",
|
|
20384
|
+
auth: "admin"
|
|
20296
20385
|
}), method(object({
|
|
20297
20386
|
/** Required — the user the assertion belongs to (verified). */
|
|
20298
20387
|
userId: string(),
|
|
@@ -20300,10 +20389,12 @@ method(object({
|
|
|
20300
20389
|
response: record(string(), unknown())
|
|
20301
20390
|
}), object({ verified: boolean() }), {
|
|
20302
20391
|
kind: "mutation",
|
|
20303
|
-
access: "view"
|
|
20392
|
+
access: "view",
|
|
20393
|
+
auth: "admin"
|
|
20304
20394
|
}), method(object({}), object({ optionsJSON: record(string(), unknown()) }), {
|
|
20305
20395
|
kind: "mutation",
|
|
20306
|
-
access: "view"
|
|
20396
|
+
access: "view",
|
|
20397
|
+
auth: "admin"
|
|
20307
20398
|
}), method(object({
|
|
20308
20399
|
/** AuthenticationResponseJSON from the browser. */
|
|
20309
20400
|
response: record(string(), unknown()) }), object({
|
|
@@ -20311,7 +20402,8 @@ response: record(string(), unknown()) }), object({
|
|
|
20311
20402
|
userId: string().nullable()
|
|
20312
20403
|
}), {
|
|
20313
20404
|
kind: "mutation",
|
|
20314
|
-
access: "view"
|
|
20405
|
+
access: "view",
|
|
20406
|
+
auth: "admin"
|
|
20315
20407
|
}), method(object({ userId: string() }), array(PasskeySummarySchema), { auth: "admin" }), method(object({
|
|
20316
20408
|
userId: string(),
|
|
20317
20409
|
credentialId: string()
|
|
@@ -20483,7 +20575,19 @@ var VectorStatsResultSchema = object({
|
|
|
20483
20575
|
/** False when the backend ranks approximately. */
|
|
20484
20576
|
exact: boolean()
|
|
20485
20577
|
});
|
|
20486
|
-
method(VectorDeclareIndexInputSchema, _void(), {
|
|
20578
|
+
method(VectorDeclareIndexInputSchema, _void(), {
|
|
20579
|
+
kind: "mutation",
|
|
20580
|
+
auth: "admin"
|
|
20581
|
+
}), method(VectorUpsertInputSchema, VectorUpsertResultSchema, {
|
|
20582
|
+
kind: "mutation",
|
|
20583
|
+
auth: "admin"
|
|
20584
|
+
}), method(VectorQueryInputSchema, VectorQueryResultSchema, { auth: "admin" }), method(VectorGetInputSchema, VectorGetResultSchema, { auth: "admin" }), method(VectorDeleteInputSchema, VectorDeleteResultSchema, {
|
|
20585
|
+
kind: "mutation",
|
|
20586
|
+
auth: "admin"
|
|
20587
|
+
}), method(VectorDeleteByFilterInputSchema, VectorDeleteResultSchema, {
|
|
20588
|
+
kind: "mutation",
|
|
20589
|
+
auth: "admin"
|
|
20590
|
+
}), method(VectorStatsInputSchema, VectorStatsResultSchema, { auth: "admin" });
|
|
20487
20591
|
var ClipSchema = object({
|
|
20488
20592
|
/** Opaque, provider-namespaced id. The default provider encodes the time
|
|
20489
20593
|
* window so `getClipPlayback` is self-contained (no event re-query). */
|
|
@@ -22936,7 +23040,27 @@ var MediaFileLiteSchema$1 = object({
|
|
|
22936
23040
|
sizeBytes: number(),
|
|
22937
23041
|
timestamp: number()
|
|
22938
23042
|
});
|
|
22939
|
-
method(
|
|
23043
|
+
method(object({
|
|
23044
|
+
/**
|
|
23045
|
+
* Inline {@link IdentitySchema.coverBase64} on every row.
|
|
23046
|
+
*
|
|
23047
|
+
* Default `false`, the same inversion `listRecentFaces` and
|
|
23048
|
+
* `listPlates` took on 2026-08-25 (see `include-crops-default.ts` for
|
|
23049
|
+
* why the burden belongs on the caller that WANTS the bytes). Measured
|
|
23050
|
+
* on the live hub the same day: four identities cost 40,979 B with the
|
|
23051
|
+
* covers inline, ~10 KB of base64 per row, on a query this UI mounts
|
|
23052
|
+
* four times and the viewer holds at `staleTime: 30_000`.
|
|
23053
|
+
*
|
|
23054
|
+
* Nothing loses its avatar: `coverMediaKey` is already on every row and
|
|
23055
|
+
* the `event-media` plane serves that key `immutable` with an ETag.
|
|
23056
|
+
*
|
|
23057
|
+
* **This is an INPUT field, so it does not reach the addon until the
|
|
23058
|
+
* next train** — the hub router validates cap inputs against its own
|
|
23059
|
+
* compiled Zod and strips a key it does not know. Until then the
|
|
23060
|
+
* provider sees `undefined`, which resolves to `false`: the cheap shape
|
|
23061
|
+
* is what ships, and the opt-in becomes reachable when the train lands.
|
|
23062
|
+
*/
|
|
23063
|
+
includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly()), method(object({ name: string().min(1) }), IdentitySchema, {
|
|
22940
23064
|
kind: "mutation",
|
|
22941
23065
|
auth: "admin"
|
|
22942
23066
|
}), method(object({
|
|
@@ -25826,8 +25950,10 @@ var PlateInfoSchema = object({
|
|
|
25826
25950
|
keyFrameMediaKey: string().optional(),
|
|
25827
25951
|
base64: string().optional(),
|
|
25828
25952
|
/**
|
|
25829
|
-
* Same crop as a data-plane URL
|
|
25830
|
-
* never inlines JPEG; `listPlates`
|
|
25953
|
+
* Same crop as a data-plane URL, always present when the plate has a stored
|
|
25954
|
+
* crop. `getPlateByTrack` returns this and never inlines JPEG; `listPlates`
|
|
25955
|
+
* and `searchPlates` inline the crop only when their `includeCrops` input is
|
|
25956
|
+
* left at its `true` default.
|
|
25831
25957
|
*/
|
|
25832
25958
|
cropUrl: string().optional()
|
|
25833
25959
|
});
|
|
@@ -25847,14 +25973,34 @@ var PlateClusterSchema = object({
|
|
|
25847
25973
|
});
|
|
25848
25974
|
method(object({
|
|
25849
25975
|
deviceId: number().int().optional(),
|
|
25850
|
-
limit: number().int().positive().optional()
|
|
25976
|
+
limit: number().int().positive().optional(),
|
|
25977
|
+
/**
|
|
25978
|
+
* Inline the base64 crop on every row. Default `true` — the existing
|
|
25979
|
+
* behaviour, kept so no caller breaks.
|
|
25980
|
+
*
|
|
25981
|
+
* Set `false` once the caller renders {@link PlateInfo.cropUrl}.
|
|
25982
|
+
* Measured on the live hub at the 500 rows the Plates view asks for:
|
|
25983
|
+
* 879,403 B and 27.7 s with the crops inline, against a few KiB of
|
|
25984
|
+
* metadata without them — and the browser then caches the images.
|
|
25985
|
+
*
|
|
25986
|
+
* This is the plate twin of `faceGallery.listRecentFaces`'s option;
|
|
25987
|
+
* plates were the one gallery list left without it.
|
|
25988
|
+
*
|
|
25989
|
+
* **This is an INPUT field, so it does not reach the addon until the
|
|
25990
|
+
* next train.** The hub router validates cap inputs against its own
|
|
25991
|
+
* compiled Zod and strips a key it does not know. Until the train
|
|
25992
|
+
* ships, sending `false` is harmless and keeps the crops inline.
|
|
25993
|
+
*/
|
|
25994
|
+
includeCrops: boolean().optional()
|
|
25851
25995
|
}).optional(), array(PlateInfoSchema).readonly()), method(object({
|
|
25852
25996
|
deviceId: number().int(),
|
|
25853
25997
|
trackId: string()
|
|
25854
25998
|
}), PlateInfoSchema.nullable()), method(object({ plateId: string() }), array(MediaFileLiteSchema).readonly()), method(object({
|
|
25855
25999
|
text: string().min(1),
|
|
25856
26000
|
maxDistance: number().int().min(0).optional(),
|
|
25857
|
-
limit: number().int().positive().optional()
|
|
26001
|
+
limit: number().int().positive().optional(),
|
|
26002
|
+
/** See `listPlates.includeCrops`. Default `true`. */
|
|
26003
|
+
includeCrops: boolean().optional()
|
|
25858
26004
|
}), array(PlateInfoSchema).readonly()), method(object({
|
|
25859
26005
|
maxDistance: number().int().min(0).optional(),
|
|
25860
26006
|
minClusterSize: number().int().min(2).optional(),
|
|
@@ -25868,7 +26014,13 @@ method(object({
|
|
|
25868
26014
|
}), method(object({ plateId: string() }), _void(), {
|
|
25869
26015
|
kind: "mutation",
|
|
25870
26016
|
auth: "admin"
|
|
25871
|
-
}), method(
|
|
26017
|
+
}), method(object({
|
|
26018
|
+
/** Inline {@link VehicleSchema.coverBase64} on every row. Default
|
|
26019
|
+
* `false` — the vehicle twin of `faceGallery.listIdentities`'s
|
|
26020
|
+
* option; `coverMediaKey` + the `event-media` plane carry the picture.
|
|
26021
|
+
* INPUT field: stripped by the hub router until the train ships, which
|
|
26022
|
+
* resolves to `false` and is exactly the intended default. */
|
|
26023
|
+
includeCrops: boolean().optional() }).optional(), array(VehicleSchema).readonly()), method(object({ name: string().min(1) }), VehicleSchema, {
|
|
25872
26024
|
kind: "mutation",
|
|
25873
26025
|
auth: "admin"
|
|
25874
26026
|
}), method(object({
|
|
@@ -33129,6 +33281,12 @@ Object.freeze({
|
|
|
33129
33281
|
addonId: null,
|
|
33130
33282
|
access: "create"
|
|
33131
33283
|
},
|
|
33284
|
+
"pipelineAnalytics.cancelRelocateMedia": {
|
|
33285
|
+
capName: "pipeline-analytics",
|
|
33286
|
+
capScope: "device",
|
|
33287
|
+
addonId: null,
|
|
33288
|
+
access: "create"
|
|
33289
|
+
},
|
|
33132
33290
|
"pipelineAnalytics.cancelStorageMigrationMove": {
|
|
33133
33291
|
capName: "pipeline-analytics",
|
|
33134
33292
|
capScope: "device",
|
|
@@ -33303,6 +33461,12 @@ Object.freeze({
|
|
|
33303
33461
|
addonId: null,
|
|
33304
33462
|
access: "view"
|
|
33305
33463
|
},
|
|
33464
|
+
"pipelineAnalytics.listRelocateMediaJobs": {
|
|
33465
|
+
capName: "pipeline-analytics",
|
|
33466
|
+
capScope: "device",
|
|
33467
|
+
addonId: null,
|
|
33468
|
+
access: "view"
|
|
33469
|
+
},
|
|
33306
33470
|
"pipelineAnalytics.listRetrainAnnotations": {
|
|
33307
33471
|
capName: "pipeline-analytics",
|
|
33308
33472
|
capScope: "device",
|
|
@@ -33381,6 +33545,12 @@ Object.freeze({
|
|
|
33381
33545
|
addonId: null,
|
|
33382
33546
|
access: "create"
|
|
33383
33547
|
},
|
|
33548
|
+
"pipelineAnalytics.relocateMedia": {
|
|
33549
|
+
capName: "pipeline-analytics",
|
|
33550
|
+
capScope: "device",
|
|
33551
|
+
addonId: null,
|
|
33552
|
+
access: "create"
|
|
33553
|
+
},
|
|
33384
33554
|
"pipelineAnalytics.restageRetrainTrack": {
|
|
33385
33555
|
capName: "pipeline-analytics",
|
|
33386
33556
|
capScope: "device",
|
package/dist/addon.mjs
CHANGED
|
@@ -6632,7 +6632,7 @@ function method(input, output, options) {
|
|
|
6632
6632
|
input,
|
|
6633
6633
|
output,
|
|
6634
6634
|
kind: options?.kind ?? "query",
|
|
6635
|
-
auth: options
|
|
6635
|
+
...options?.auth !== void 0 ? { auth: options.auth } : {},
|
|
6636
6636
|
...options?.access !== void 0 ? { access: options.access } : {},
|
|
6637
6637
|
...options?.caller !== void 0 ? { caller: options.caller } : {},
|
|
6638
6638
|
timeoutMs: options?.timeoutMs
|
|
@@ -6656,7 +6656,7 @@ function event(data) {
|
|
|
6656
6656
|
}
|
|
6657
6657
|
var StaticDirOutputSchema$1 = object({ staticDir: string() });
|
|
6658
6658
|
var VersionOutputSchema$1 = object({ version: string() });
|
|
6659
|
-
method(_void(), StaticDirOutputSchema$1), method(_void(), VersionOutputSchema$1);
|
|
6659
|
+
method(_void(), StaticDirOutputSchema$1, { auth: "admin" }), method(_void(), VersionOutputSchema$1, { auth: "admin" });
|
|
6660
6660
|
var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
6661
6661
|
DeviceType["Camera"] = "camera";
|
|
6662
6662
|
DeviceType["Hub"] = "hub";
|
|
@@ -6977,7 +6977,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
6977
6977
|
}({});
|
|
6978
6978
|
var StaticDirOutputSchema = object({ staticDir: string() });
|
|
6979
6979
|
var VersionOutputSchema = object({ version: string() });
|
|
6980
|
-
method(_void(), StaticDirOutputSchema), method(_void(), VersionOutputSchema);
|
|
6980
|
+
method(_void(), StaticDirOutputSchema, { auth: "admin" }), method(_void(), VersionOutputSchema, { auth: "admin" });
|
|
6981
6981
|
/**
|
|
6982
6982
|
* device-ops — device-scoped cap that unifies the per-IDevice operations
|
|
6983
6983
|
* previously routed through the `.device-ops` Moleculer bridge service.
|
|
@@ -7603,24 +7603,6 @@ var RecordingRetentionSchema = object({
|
|
|
7603
7603
|
maxSizeGb: number().min(0).optional()
|
|
7604
7604
|
});
|
|
7605
7605
|
/**
|
|
7606
|
-
* Scrub-thumbnail fidelity preset — the single per-camera selector bundling the
|
|
7607
|
-
* sprite tile RESOLUTION + JPEG QUALITY the recorder packs timeline-scrub
|
|
7608
|
-
* previews at. Five graduated steps; absent on a config = `standard` (the
|
|
7609
|
-
* shipped default, matching `sheet-geometry`/`sheet-composer`).
|
|
7610
|
-
*
|
|
7611
|
-
* Existing sheets are IMMUTABLE — a changed preset applies to NEW windows only.
|
|
7612
|
-
* Each window's index sidecar carries its own tile dims, so a camera whose
|
|
7613
|
-
* preset changed over time renders every historical window at the dims it was
|
|
7614
|
-
* written with.
|
|
7615
|
-
*/
|
|
7616
|
-
var ScrubThumbnailPresetSchema = _enum([
|
|
7617
|
-
"minimal",
|
|
7618
|
-
"low",
|
|
7619
|
-
"standard",
|
|
7620
|
-
"high",
|
|
7621
|
-
"max"
|
|
7622
|
-
]);
|
|
7623
|
-
/**
|
|
7624
7606
|
* The full per-camera recording intent — the wire shape of a RecordingTarget.
|
|
7625
7607
|
*
|
|
7626
7608
|
* `bands` is the ONLY authored recording intent: what to record, when, and on
|
|
@@ -7628,7 +7610,11 @@ var ScrubThumbnailPresetSchema = _enum([
|
|
|
7628
7610
|
* other field is a storage knob (profiles, segment length, retention, scrub).
|
|
7629
7611
|
*
|
|
7630
7612
|
* STRICT on purpose: the legacy authoring surface (`schedule`/`schedules`/
|
|
7631
|
-
* `triggers`/`preBufferSec`/`postBufferSec`/`rules`) was retired 2026-07-30
|
|
7613
|
+
* `triggers`/`preBufferSec`/`postBufferSec`/`rules`) was retired 2026-07-30,
|
|
7614
|
+
* and `scrubThumbnails` — a five-step fidelity knob for a sprite tier that was
|
|
7615
|
+
* deleted on 2026-07-24 and had ZERO consumers in the recorder — on 2026-08-25
|
|
7616
|
+
* (D62: a switch that writes a store nobody reads is worse than no switch).
|
|
7617
|
+
* Stored rows keep loading: the READ schema is `.strip()` (config-store.ts).
|
|
7632
7618
|
* A stale caller must fail loudly — silently stripping its legacy intent would
|
|
7633
7619
|
* persist a band-less config, i.e. silently stop recording the camera.
|
|
7634
7620
|
*/
|
|
@@ -7651,14 +7637,7 @@ var RecordingConfigSchema = object({
|
|
|
7651
7637
|
* "off" is the absence of a covering band, never a band value.
|
|
7652
7638
|
*/
|
|
7653
7639
|
bands: array(RecordingBandSchema).default([]),
|
|
7654
|
-
retention: RecordingRetentionSchema.optional()
|
|
7655
|
-
/**
|
|
7656
|
-
* Per-camera scrub-thumbnail fidelity preset (resolution + JPEG quality for
|
|
7657
|
-
* timeline-scrub sprite previews). Absent = `standard`. Applies to NEW
|
|
7658
|
-
* windows only — existing sheets are immutable, and each window's index
|
|
7659
|
-
* carries its own tile dims so mixed-preset history renders correctly.
|
|
7660
|
-
*/
|
|
7661
|
-
scrubThumbnails: ScrubThumbnailPresetSchema.optional()
|
|
7640
|
+
retention: RecordingRetentionSchema.optional()
|
|
7662
7641
|
}).strict();
|
|
7663
7642
|
/**
|
|
7664
7643
|
* Entity-relocation job state (storage entity-routing spec, Phase 4).
|
|
@@ -7734,10 +7713,11 @@ var RelocateFootageInputSchema = object({
|
|
|
7734
7713
|
* `RecordingConfig.enabled` or camera wrapper bindings. */
|
|
7735
7714
|
var StorageMigrationLeaseInputSchema = object({ leaseId: string().min(1) });
|
|
7736
7715
|
var StorageMigrationFootageMoveInputSchema = RelocateFootageInputSchema.extend({ leaseId: string().min(1) });
|
|
7737
|
-
var
|
|
7716
|
+
var RelocateMediaInputSchema = object({
|
|
7738
7717
|
toLocationId: string(),
|
|
7739
7718
|
throttleMbps: number().min(1).max(1e3).optional()
|
|
7740
|
-
})
|
|
7719
|
+
});
|
|
7720
|
+
var StorageMigrationMediaMoveInputSchema = RelocateMediaInputSchema.extend({ leaseId: string().min(1) });
|
|
7741
7721
|
/** The independently selectable logical storage classes. `recordings`
|
|
7742
7722
|
* encompasses the high and mid segment profiles; `recordingsLow` is low
|
|
7743
7723
|
* segments; `eventMedia` is post-analysis blobs. */
|
|
@@ -8032,7 +8012,26 @@ var LabelDefinitionSchema = object({
|
|
|
8032
8012
|
description: string().optional(),
|
|
8033
8013
|
icon: string().optional()
|
|
8034
8014
|
});
|
|
8035
|
-
|
|
8015
|
+
/**
|
|
8016
|
+
* Wire schema for a per-model CATALOG classMap override
|
|
8017
|
+
* (`ModelCatalogEntry.classMap` / `ModelConvertMetadata.classMap`) —
|
|
8018
|
+
* restricted to {@link CLASS_MAP_MACRO_TARGETS}, the only macros the
|
|
8019
|
+
* detection pipeline executor actually routes.
|
|
8020
|
+
*
|
|
8021
|
+
* This is deliberately a DIFFERENT, narrower shape than the general-purpose
|
|
8022
|
+
* `ClassMapDefinition` interface above (e.g. `IDetectionAddon.getClassMap()`
|
|
8023
|
+
* and the audio `YAMNET_TO_MACRO` catalog both use macro targets outside this
|
|
8024
|
+
* enum) — the two used to share the name `ClassMapDefinition`/
|
|
8025
|
+
* `ClassMapDefinitionSchema`, which made the schema-type-twin guard
|
|
8026
|
+
* (`scripts/check-schema-type-twins.ts`) flag them as a duplicated shape. They
|
|
8027
|
+
* are not: it is two different concepts colliding on a name. Keep this type
|
|
8028
|
+
* under its own name rather than reusing `ClassMapDefinition` — reusing it
|
|
8029
|
+
* would either narrow every `ClassMapDefinition` consumer to the four
|
|
8030
|
+
* detection macros (breaking `YAMNET_TO_MACRO`) or drop the validation this
|
|
8031
|
+
* schema exists for (see the "rejects a classMap whose target is not a
|
|
8032
|
+
* detection macro" test in `model-catalog-schema.test.ts`).
|
|
8033
|
+
*/
|
|
8034
|
+
var DetectionCatalogClassMapSchema = object({
|
|
8036
8035
|
mapping: record(string(), _enum([
|
|
8037
8036
|
"person",
|
|
8038
8037
|
"vehicle",
|
|
@@ -8237,7 +8236,7 @@ var ModelCatalogEntrySchema = object({
|
|
|
8237
8236
|
* applies (Frigate / COCO public catalog). Set on a custom model whose raw
|
|
8238
8237
|
* labels already ARE the CamStack macros (Scrypted identity map).
|
|
8239
8238
|
*/
|
|
8240
|
-
classMap:
|
|
8239
|
+
classMap: DetectionCatalogClassMapSchema.optional()
|
|
8241
8240
|
});
|
|
8242
8241
|
var ConvertTargetSchema = discriminatedUnion("format", [object({
|
|
8243
8242
|
format: literal("openvino"),
|
|
@@ -8267,7 +8266,7 @@ var ModelConvertMetadataSchema = object({
|
|
|
8267
8266
|
"segmentation"
|
|
8268
8267
|
]),
|
|
8269
8268
|
faceAlignment: boolean().optional(),
|
|
8270
|
-
classMap:
|
|
8269
|
+
classMap: DetectionCatalogClassMapSchema.optional()
|
|
8271
8270
|
});
|
|
8272
8271
|
var ConvertResultSchema = object({
|
|
8273
8272
|
entry: ModelCatalogEntrySchema,
|
|
@@ -9130,7 +9129,7 @@ var AddonPageDeclarationSchema = object({
|
|
|
9130
9129
|
/** Display label for a CUSTOM `section` id (ignored for well-known ids). */
|
|
9131
9130
|
sectionLabel: string().optional()
|
|
9132
9131
|
});
|
|
9133
|
-
method(_void(), array(AddonPageDeclarationSchema).readonly());
|
|
9132
|
+
method(_void(), array(AddonPageDeclarationSchema).readonly(), { auth: "admin" });
|
|
9134
9133
|
var AddonHttpRouteSchema = object({
|
|
9135
9134
|
method: _enum([
|
|
9136
9135
|
"GET",
|
|
@@ -9365,7 +9364,7 @@ var WidgetMetadataSchema = object({
|
|
|
9365
9364
|
defaultColumns: number().int().min(1).max(12).default(6),
|
|
9366
9365
|
defaultRows: number().int().min(1).max(12).default(1)
|
|
9367
9366
|
});
|
|
9368
|
-
method(_void(), array(WidgetMetadataSchema).readonly());
|
|
9367
|
+
method(_void(), array(WidgetMetadataSchema).readonly(), { auth: "admin" });
|
|
9369
9368
|
/**
|
|
9370
9369
|
* `addon-widgets` — system-scoped singleton aggregator cap. Public-facing
|
|
9371
9370
|
* surface that admin-ui consumes through `useAddonWidgetsListWidgets()`.
|
|
@@ -10989,7 +10988,7 @@ var CustomModelDescriptorSchema = object({
|
|
|
10989
10988
|
stepId: string(),
|
|
10990
10989
|
entry: ModelCatalogEntrySchema
|
|
10991
10990
|
});
|
|
10992
|
-
method(_void(), array(CustomModelDescriptorSchema).readonly());
|
|
10991
|
+
method(_void(), array(CustomModelDescriptorSchema).readonly(), { auth: "admin" });
|
|
10993
10992
|
/**
|
|
10994
10993
|
* Query filter for settings-store collections.
|
|
10995
10994
|
*/
|
|
@@ -11076,7 +11075,8 @@ method(object({
|
|
|
11076
11075
|
}), _void(), { kind: "mutation" }), method(object({
|
|
11077
11076
|
namespace: string().optional(),
|
|
11078
11077
|
collection: string(),
|
|
11079
|
-
filter: QueryFilterSchema.optional()
|
|
11078
|
+
filter: QueryFilterSchema.optional(),
|
|
11079
|
+
columns: array(string()).readonly().optional()
|
|
11080
11080
|
}), array(SettingsRecordSchema).readonly()), method(object({
|
|
11081
11081
|
namespace: string().optional(),
|
|
11082
11082
|
collection: string(),
|
|
@@ -11139,46 +11139,87 @@ var EngineInfoSchema = object({
|
|
|
11139
11139
|
kind: _enum(["relational", "vector"]),
|
|
11140
11140
|
displayName: string()
|
|
11141
11141
|
});
|
|
11142
|
-
method(_void(), EngineInfoSchema), method(object({
|
|
11142
|
+
method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
|
|
11143
11143
|
namespace: string().optional(),
|
|
11144
11144
|
collection: string(),
|
|
11145
11145
|
key: string()
|
|
11146
|
-
}), unknown()), method(object({
|
|
11146
|
+
}), unknown(), { auth: "admin" }), method(object({
|
|
11147
11147
|
namespace: string().optional(),
|
|
11148
11148
|
collection: string(),
|
|
11149
11149
|
key: string(),
|
|
11150
11150
|
value: unknown()
|
|
11151
|
-
}), _void(), {
|
|
11151
|
+
}), _void(), {
|
|
11152
|
+
kind: "mutation",
|
|
11153
|
+
auth: "admin"
|
|
11154
|
+
}), method(object({
|
|
11152
11155
|
namespace: string().optional(),
|
|
11153
11156
|
collection: string(),
|
|
11154
|
-
filter: QueryFilterSchema.optional()
|
|
11155
|
-
|
|
11157
|
+
filter: QueryFilterSchema.optional(),
|
|
11158
|
+
/**
|
|
11159
|
+
* SQL-level column projection — MUST mirror `settings-store.query`.
|
|
11160
|
+
*
|
|
11161
|
+
* ⚠ An earlier version of this comment blamed Zod stripping, and that
|
|
11162
|
+
* was wrong — corrected 2026-08-26 after the hop map
|
|
11163
|
+
* (`docs/design/2026-08-26-mappa-hop-argomenti.md`) traced the path.
|
|
11164
|
+
* There is **no Zod parse at all** between the door and the engine: the
|
|
11165
|
+
* dispatcher forwards the payload verbatim and UDS carries it whole. A
|
|
11166
|
+
* field declared here reaches `SqliteSettingsBackend` either way.
|
|
11167
|
+
*
|
|
11168
|
+
* What actually lost `columns` was the THIRD declaration of this shape:
|
|
11169
|
+
* `SettingsQueryInput` in `interfaces/storage.ts`, a hand-written TS
|
|
11170
|
+
* interface the engine destructures from. The field existed on both
|
|
11171
|
+
* schemas and the engine still never read it, because nothing checks a
|
|
11172
|
+
* registered provider against `InferProvider<cap>` —
|
|
11173
|
+
* `ProviderRegistration.provider` is typed `object`.
|
|
11174
|
+
*
|
|
11175
|
+
* It is declared here anyway, and must stay in step with
|
|
11176
|
+
* `settings-store.query`: a caller reading only the cap definitions has
|
|
11177
|
+
* to be able to see that this call carries a projection.
|
|
11178
|
+
* `data-door-schema-parity.spec.ts` keeps the two aligned.
|
|
11179
|
+
*/
|
|
11180
|
+
columns: array(string()).readonly().optional()
|
|
11181
|
+
}), array(SettingsRecordSchema).readonly(), { auth: "admin" }), method(object({
|
|
11156
11182
|
namespace: string().optional(),
|
|
11157
11183
|
collection: string(),
|
|
11158
11184
|
record: SettingsRecordSchema
|
|
11159
|
-
}), _void(), {
|
|
11185
|
+
}), _void(), {
|
|
11186
|
+
kind: "mutation",
|
|
11187
|
+
auth: "admin"
|
|
11188
|
+
}), method(object({
|
|
11160
11189
|
namespace: string().optional(),
|
|
11161
11190
|
collection: string(),
|
|
11162
11191
|
id: string(),
|
|
11163
11192
|
data: record(string(), unknown())
|
|
11164
|
-
}), _void(), {
|
|
11193
|
+
}), _void(), {
|
|
11194
|
+
kind: "mutation",
|
|
11195
|
+
auth: "admin"
|
|
11196
|
+
}), method(object({
|
|
11165
11197
|
namespace: string().optional(),
|
|
11166
11198
|
collection: string(),
|
|
11167
11199
|
key: string()
|
|
11168
|
-
}), _void(), {
|
|
11200
|
+
}), _void(), {
|
|
11201
|
+
kind: "mutation",
|
|
11202
|
+
auth: "admin"
|
|
11203
|
+
}), method(object({
|
|
11169
11204
|
namespace: string().optional(),
|
|
11170
11205
|
collection: string(),
|
|
11171
11206
|
filter: MutationFilterSchema
|
|
11172
|
-
}), object({ deleted: number().int() }), {
|
|
11207
|
+
}), object({ deleted: number().int() }), {
|
|
11208
|
+
kind: "mutation",
|
|
11209
|
+
auth: "admin"
|
|
11210
|
+
}), method(object({
|
|
11173
11211
|
namespace: string().optional(),
|
|
11174
11212
|
collection: string(),
|
|
11175
11213
|
filter: MutationFilterSchema,
|
|
11176
11214
|
data: record(string(), unknown())
|
|
11177
|
-
}), object({ updated: number().int() }), {
|
|
11215
|
+
}), object({ updated: number().int() }), {
|
|
11216
|
+
kind: "mutation",
|
|
11217
|
+
auth: "admin"
|
|
11218
|
+
}), method(object({
|
|
11178
11219
|
namespace: string().optional(),
|
|
11179
11220
|
collection: string(),
|
|
11180
11221
|
filter: QueryFilterSchema.optional()
|
|
11181
|
-
}), number()), method(object({
|
|
11222
|
+
}), number(), { auth: "admin" }), method(object({
|
|
11182
11223
|
namespace: string().optional(),
|
|
11183
11224
|
collection: string(),
|
|
11184
11225
|
field: string(),
|
|
@@ -11188,15 +11229,18 @@ method(_void(), EngineInfoSchema), method(object({
|
|
|
11188
11229
|
}), array(object({
|
|
11189
11230
|
bucket: number().int(),
|
|
11190
11231
|
count: number().int()
|
|
11191
|
-
})).readonly()), method(object({
|
|
11232
|
+
})).readonly(), { auth: "admin" }), method(object({
|
|
11192
11233
|
namespace: string().optional(),
|
|
11193
11234
|
collection: string()
|
|
11194
|
-
}), boolean()), method(object({
|
|
11235
|
+
}), boolean(), { auth: "admin" }), method(object({
|
|
11195
11236
|
namespace: string().optional(),
|
|
11196
11237
|
collection: string(),
|
|
11197
11238
|
columns: array(CollectionColumnSchema).readonly(),
|
|
11198
11239
|
indexes: array(CollectionIndexSchema).readonly().optional()
|
|
11199
|
-
}), _void(), {
|
|
11240
|
+
}), _void(), {
|
|
11241
|
+
kind: "mutation",
|
|
11242
|
+
auth: "admin"
|
|
11243
|
+
});
|
|
11200
11244
|
/**
|
|
11201
11245
|
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
11202
11246
|
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
@@ -12486,7 +12530,7 @@ method(object({
|
|
|
12486
12530
|
crop: _instanceof(Uint8Array),
|
|
12487
12531
|
width: number(),
|
|
12488
12532
|
height: number()
|
|
12489
|
-
}), EmbeddingResultSchema), method(object({ text: string() }), EmbeddingResultSchema), method(_void(), EmbeddingInfoSchema);
|
|
12533
|
+
}), EmbeddingResultSchema, { auth: "admin" }), method(object({ text: string() }), EmbeddingResultSchema, { auth: "admin" }), method(_void(), EmbeddingInfoSchema, { auth: "admin" });
|
|
12490
12534
|
/**
|
|
12491
12535
|
* filesystem-browse — per-node capability for browsing the node's local
|
|
12492
12536
|
* filesystem. Reads are unconfined (whole filesystem, from `/` down); WRITES
|
|
@@ -12779,19 +12823,22 @@ method(LlmGenerateBaseInputSchema.extend({
|
|
|
12779
12823
|
runtime: ManagedRuntimeConfigSchema,
|
|
12780
12824
|
/** The managed profile's timeout, threaded by the hub provider. */
|
|
12781
12825
|
timeoutMs: number().int().positive().optional()
|
|
12782
|
-
}), LlmGenerateResultSchema, {
|
|
12826
|
+
}), LlmGenerateResultSchema, {
|
|
12827
|
+
kind: "mutation",
|
|
12828
|
+
auth: "admin"
|
|
12829
|
+
}), method(object({ runtime: ManagedRuntimeConfigSchema }), LlmRuntimeStatusSchema, {
|
|
12783
12830
|
kind: "mutation",
|
|
12784
12831
|
auth: "admin"
|
|
12785
12832
|
}), method(object({}), _void(), {
|
|
12786
12833
|
kind: "mutation",
|
|
12787
12834
|
auth: "admin"
|
|
12788
|
-
}), method(object({}), LlmRuntimeStatusSchema), method(object({ model: ManagedModelRefSchema }), _void(), {
|
|
12835
|
+
}), method(object({}), LlmRuntimeStatusSchema, { auth: "admin" }), method(object({ model: ManagedModelRefSchema }), _void(), {
|
|
12789
12836
|
kind: "mutation",
|
|
12790
12837
|
auth: "admin"
|
|
12791
12838
|
}), method(object({ file: string() }), _void(), {
|
|
12792
12839
|
kind: "mutation",
|
|
12793
12840
|
auth: "admin"
|
|
12794
|
-
}), method(object({}), array(LlmNodeModelSchema)), method(object({}), LlmRuntimeDiskUsageSchema);
|
|
12841
|
+
}), method(object({}), array(LlmNodeModelSchema), { auth: "admin" }), method(object({}), LlmRuntimeDiskUsageSchema, { auth: "admin" });
|
|
12795
12842
|
/**
|
|
12796
12843
|
* `llm` — consumer-facing LLM surface (spec §1-§3). Collection-mode: array
|
|
12797
12844
|
* methods concat-fan across providers; single-row methods route to ONE
|
|
@@ -16302,7 +16349,7 @@ var OauthIntegrationDescriptorSchema = object({
|
|
|
16302
16349
|
*/
|
|
16303
16350
|
refreshTokenTtlSec: union([number().int().positive(), literal("never")]).optional()
|
|
16304
16351
|
});
|
|
16305
|
-
method(_void(), OauthIntegrationDescriptorSchema);
|
|
16352
|
+
method(_void(), OauthIntegrationDescriptorSchema, { auth: "admin" });
|
|
16306
16353
|
/**
|
|
16307
16354
|
* pipeline-analytics — device-scoped wrapper cap. Refines raw
|
|
16308
16355
|
* per-frame detections emitted by the pipeline runner into tracked
|
|
@@ -17497,6 +17544,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
17497
17544
|
}), method(object({ jobId: string() }), RelocateJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
17498
17545
|
kind: "mutation",
|
|
17499
17546
|
auth: "admin"
|
|
17547
|
+
}), method(RelocateMediaInputSchema, object({ jobId: string() }), {
|
|
17548
|
+
kind: "mutation",
|
|
17549
|
+
auth: "admin"
|
|
17550
|
+
}), method(object({}), array(RelocateJobSchema).readonly(), {
|
|
17551
|
+
kind: "query",
|
|
17552
|
+
auth: "admin"
|
|
17553
|
+
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
17554
|
+
kind: "mutation",
|
|
17555
|
+
auth: "admin"
|
|
17500
17556
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
17501
17557
|
kind: "query",
|
|
17502
17558
|
auth: "admin"
|
|
@@ -17651,6 +17707,11 @@ object({
|
|
|
17651
17707
|
"jpeg"
|
|
17652
17708
|
])
|
|
17653
17709
|
});
|
|
17710
|
+
/**
|
|
17711
|
+
* Process-local frame identity. It is serializable so it can ride an in-process
|
|
17712
|
+
* capability call, but `registryId` deliberately prevents resolution in any
|
|
17713
|
+
* other process or execution group.
|
|
17714
|
+
*/
|
|
17654
17715
|
var FrameRefSchema = object({
|
|
17655
17716
|
registryId: string().min(1),
|
|
17656
17717
|
id: string().min(1),
|
|
@@ -19856,7 +19917,7 @@ method(object({
|
|
|
19856
19917
|
* linking rather than produce an eternal token.
|
|
19857
19918
|
*/
|
|
19858
19919
|
ttlSec: union([number().int().positive(), literal("never")]).optional()
|
|
19859
|
-
}), object({ token: string() })), method(object({ token: string() }), SsoBridgeClaimsSchema.nullable());
|
|
19920
|
+
}), object({ token: string() }), { auth: "admin" }), method(object({ token: string() }), SsoBridgeClaimsSchema.nullable(), { auth: "admin" });
|
|
19860
19921
|
var ProviderListEntrySchema = discriminatedUnion("shouldSaveDiskSpace", [object({
|
|
19861
19922
|
providerId: string().min(1),
|
|
19862
19923
|
displayName: string().min(1),
|
|
@@ -19951,10 +20012,13 @@ var EvictResultSchema = object({
|
|
|
19951
20012
|
/** True when the provider has nothing left it is willing to drop on this location. */
|
|
19952
20013
|
exhausted: boolean()
|
|
19953
20014
|
});
|
|
19954
|
-
method(object({ locationId: string() }), EvictableUsageSchema), method(object({
|
|
20015
|
+
method(object({ locationId: string() }), EvictableUsageSchema, { auth: "admin" }), method(object({
|
|
19955
20016
|
locationId: string(),
|
|
19956
20017
|
targetBytes: number().int().positive()
|
|
19957
|
-
}), EvictResultSchema, {
|
|
20018
|
+
}), EvictResultSchema, {
|
|
20019
|
+
kind: "mutation",
|
|
20020
|
+
auth: "admin"
|
|
20021
|
+
});
|
|
19958
20022
|
method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin" }), method(StorageMigrationInputSchema, object({ jobId: string() }), {
|
|
19959
20023
|
kind: "mutation",
|
|
19960
20024
|
auth: "admin"
|
|
@@ -20014,26 +20078,50 @@ var ReadChunkInputSchema = object({
|
|
|
20014
20078
|
length: number()
|
|
20015
20079
|
});
|
|
20016
20080
|
var EndDownloadInputSchema = object({ downloadId: string() });
|
|
20017
|
-
method(_void(), ProviderInfoSchema), method(object({ config: record(string(), unknown()) }), TestLocationResultSchema, { auth: "admin" }), method(object({
|
|
20081
|
+
method(_void(), ProviderInfoSchema, { auth: "admin" }), method(object({ config: record(string(), unknown()) }), TestLocationResultSchema, { auth: "admin" }), method(object({
|
|
20018
20082
|
location: StorageLocationSchema,
|
|
20019
20083
|
relativePath: string()
|
|
20020
|
-
}), string()), method(object({
|
|
20084
|
+
}), string(), { auth: "admin" }), method(object({
|
|
20021
20085
|
location: StorageLocationSchema,
|
|
20022
20086
|
relativePath: string(),
|
|
20023
20087
|
data: _instanceof(Uint8Array)
|
|
20024
|
-
}), _void(), {
|
|
20088
|
+
}), _void(), {
|
|
20089
|
+
kind: "mutation",
|
|
20090
|
+
auth: "admin"
|
|
20091
|
+
}), method(object({
|
|
20025
20092
|
location: StorageLocationSchema,
|
|
20026
20093
|
relativePath: string()
|
|
20027
|
-
}), _instanceof(Uint8Array)), method(object({
|
|
20094
|
+
}), _instanceof(Uint8Array), { auth: "admin" }), method(object({
|
|
20028
20095
|
location: StorageLocationSchema,
|
|
20029
20096
|
relativePath: string()
|
|
20030
|
-
}), boolean()), method(object({
|
|
20097
|
+
}), boolean(), { auth: "admin" }), method(object({
|
|
20031
20098
|
location: StorageLocationSchema,
|
|
20032
20099
|
prefix: string().optional()
|
|
20033
|
-
}), array(string()).readonly()), method(object({
|
|
20100
|
+
}), array(string()).readonly(), { auth: "admin" }), method(object({
|
|
20034
20101
|
location: StorageLocationSchema,
|
|
20035
20102
|
relativePath: string()
|
|
20036
|
-
}), _void(), {
|
|
20103
|
+
}), _void(), {
|
|
20104
|
+
kind: "mutation",
|
|
20105
|
+
auth: "admin"
|
|
20106
|
+
}), method(object({ location: StorageLocationSchema }), number().nullable(), { auth: "admin" }), method(BeginUploadInputSchema, BeginUploadResultSchema, {
|
|
20107
|
+
kind: "mutation",
|
|
20108
|
+
auth: "admin"
|
|
20109
|
+
}), method(WriteChunkInputSchema, _void(), {
|
|
20110
|
+
kind: "mutation",
|
|
20111
|
+
auth: "admin"
|
|
20112
|
+
}), method(FinalizeUploadInputSchema, _void(), {
|
|
20113
|
+
kind: "mutation",
|
|
20114
|
+
auth: "admin"
|
|
20115
|
+
}), method(AbortUploadInputSchema, _void(), {
|
|
20116
|
+
kind: "mutation",
|
|
20117
|
+
auth: "admin"
|
|
20118
|
+
}), method(BeginDownloadInputSchema, BeginDownloadResultSchema, {
|
|
20119
|
+
kind: "mutation",
|
|
20120
|
+
auth: "admin"
|
|
20121
|
+
}), method(ReadChunkInputSchema, _instanceof(Uint8Array), { auth: "admin" }), method(EndDownloadInputSchema, _void(), {
|
|
20122
|
+
kind: "mutation",
|
|
20123
|
+
auth: "admin"
|
|
20124
|
+
});
|
|
20037
20125
|
/** Profile-exported FormBuilder schema. Shape is ConfigUISchema at the UI. */
|
|
20038
20126
|
var ProfileSettingsSchemaBridge = unknown().nullable();
|
|
20039
20127
|
var ProfileSettingsBagSchema = record(string(), unknown());
|
|
@@ -20291,7 +20379,8 @@ method(object({
|
|
|
20291
20379
|
access: "create"
|
|
20292
20380
|
}), method(object({ userId: string().optional() }), object({ optionsJSON: record(string(), unknown()) }), {
|
|
20293
20381
|
kind: "mutation",
|
|
20294
|
-
access: "view"
|
|
20382
|
+
access: "view",
|
|
20383
|
+
auth: "admin"
|
|
20295
20384
|
}), method(object({
|
|
20296
20385
|
/** Required — the user the assertion belongs to (verified). */
|
|
20297
20386
|
userId: string(),
|
|
@@ -20299,10 +20388,12 @@ method(object({
|
|
|
20299
20388
|
response: record(string(), unknown())
|
|
20300
20389
|
}), object({ verified: boolean() }), {
|
|
20301
20390
|
kind: "mutation",
|
|
20302
|
-
access: "view"
|
|
20391
|
+
access: "view",
|
|
20392
|
+
auth: "admin"
|
|
20303
20393
|
}), method(object({}), object({ optionsJSON: record(string(), unknown()) }), {
|
|
20304
20394
|
kind: "mutation",
|
|
20305
|
-
access: "view"
|
|
20395
|
+
access: "view",
|
|
20396
|
+
auth: "admin"
|
|
20306
20397
|
}), method(object({
|
|
20307
20398
|
/** AuthenticationResponseJSON from the browser. */
|
|
20308
20399
|
response: record(string(), unknown()) }), object({
|
|
@@ -20310,7 +20401,8 @@ response: record(string(), unknown()) }), object({
|
|
|
20310
20401
|
userId: string().nullable()
|
|
20311
20402
|
}), {
|
|
20312
20403
|
kind: "mutation",
|
|
20313
|
-
access: "view"
|
|
20404
|
+
access: "view",
|
|
20405
|
+
auth: "admin"
|
|
20314
20406
|
}), method(object({ userId: string() }), array(PasskeySummarySchema), { auth: "admin" }), method(object({
|
|
20315
20407
|
userId: string(),
|
|
20316
20408
|
credentialId: string()
|
|
@@ -20482,7 +20574,19 @@ var VectorStatsResultSchema = object({
|
|
|
20482
20574
|
/** False when the backend ranks approximately. */
|
|
20483
20575
|
exact: boolean()
|
|
20484
20576
|
});
|
|
20485
|
-
method(VectorDeclareIndexInputSchema, _void(), {
|
|
20577
|
+
method(VectorDeclareIndexInputSchema, _void(), {
|
|
20578
|
+
kind: "mutation",
|
|
20579
|
+
auth: "admin"
|
|
20580
|
+
}), method(VectorUpsertInputSchema, VectorUpsertResultSchema, {
|
|
20581
|
+
kind: "mutation",
|
|
20582
|
+
auth: "admin"
|
|
20583
|
+
}), method(VectorQueryInputSchema, VectorQueryResultSchema, { auth: "admin" }), method(VectorGetInputSchema, VectorGetResultSchema, { auth: "admin" }), method(VectorDeleteInputSchema, VectorDeleteResultSchema, {
|
|
20584
|
+
kind: "mutation",
|
|
20585
|
+
auth: "admin"
|
|
20586
|
+
}), method(VectorDeleteByFilterInputSchema, VectorDeleteResultSchema, {
|
|
20587
|
+
kind: "mutation",
|
|
20588
|
+
auth: "admin"
|
|
20589
|
+
}), method(VectorStatsInputSchema, VectorStatsResultSchema, { auth: "admin" });
|
|
20486
20590
|
var ClipSchema = object({
|
|
20487
20591
|
/** Opaque, provider-namespaced id. The default provider encodes the time
|
|
20488
20592
|
* window so `getClipPlayback` is self-contained (no event re-query). */
|
|
@@ -22935,7 +23039,27 @@ var MediaFileLiteSchema$1 = object({
|
|
|
22935
23039
|
sizeBytes: number(),
|
|
22936
23040
|
timestamp: number()
|
|
22937
23041
|
});
|
|
22938
|
-
method(
|
|
23042
|
+
method(object({
|
|
23043
|
+
/**
|
|
23044
|
+
* Inline {@link IdentitySchema.coverBase64} on every row.
|
|
23045
|
+
*
|
|
23046
|
+
* Default `false`, the same inversion `listRecentFaces` and
|
|
23047
|
+
* `listPlates` took on 2026-08-25 (see `include-crops-default.ts` for
|
|
23048
|
+
* why the burden belongs on the caller that WANTS the bytes). Measured
|
|
23049
|
+
* on the live hub the same day: four identities cost 40,979 B with the
|
|
23050
|
+
* covers inline, ~10 KB of base64 per row, on a query this UI mounts
|
|
23051
|
+
* four times and the viewer holds at `staleTime: 30_000`.
|
|
23052
|
+
*
|
|
23053
|
+
* Nothing loses its avatar: `coverMediaKey` is already on every row and
|
|
23054
|
+
* the `event-media` plane serves that key `immutable` with an ETag.
|
|
23055
|
+
*
|
|
23056
|
+
* **This is an INPUT field, so it does not reach the addon until the
|
|
23057
|
+
* next train** — the hub router validates cap inputs against its own
|
|
23058
|
+
* compiled Zod and strips a key it does not know. Until then the
|
|
23059
|
+
* provider sees `undefined`, which resolves to `false`: the cheap shape
|
|
23060
|
+
* is what ships, and the opt-in becomes reachable when the train lands.
|
|
23061
|
+
*/
|
|
23062
|
+
includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly()), method(object({ name: string().min(1) }), IdentitySchema, {
|
|
22939
23063
|
kind: "mutation",
|
|
22940
23064
|
auth: "admin"
|
|
22941
23065
|
}), method(object({
|
|
@@ -25825,8 +25949,10 @@ var PlateInfoSchema = object({
|
|
|
25825
25949
|
keyFrameMediaKey: string().optional(),
|
|
25826
25950
|
base64: string().optional(),
|
|
25827
25951
|
/**
|
|
25828
|
-
* Same crop as a data-plane URL
|
|
25829
|
-
* never inlines JPEG; `listPlates`
|
|
25952
|
+
* Same crop as a data-plane URL, always present when the plate has a stored
|
|
25953
|
+
* crop. `getPlateByTrack` returns this and never inlines JPEG; `listPlates`
|
|
25954
|
+
* and `searchPlates` inline the crop only when their `includeCrops` input is
|
|
25955
|
+
* left at its `true` default.
|
|
25830
25956
|
*/
|
|
25831
25957
|
cropUrl: string().optional()
|
|
25832
25958
|
});
|
|
@@ -25846,14 +25972,34 @@ var PlateClusterSchema = object({
|
|
|
25846
25972
|
});
|
|
25847
25973
|
method(object({
|
|
25848
25974
|
deviceId: number().int().optional(),
|
|
25849
|
-
limit: number().int().positive().optional()
|
|
25975
|
+
limit: number().int().positive().optional(),
|
|
25976
|
+
/**
|
|
25977
|
+
* Inline the base64 crop on every row. Default `true` — the existing
|
|
25978
|
+
* behaviour, kept so no caller breaks.
|
|
25979
|
+
*
|
|
25980
|
+
* Set `false` once the caller renders {@link PlateInfo.cropUrl}.
|
|
25981
|
+
* Measured on the live hub at the 500 rows the Plates view asks for:
|
|
25982
|
+
* 879,403 B and 27.7 s with the crops inline, against a few KiB of
|
|
25983
|
+
* metadata without them — and the browser then caches the images.
|
|
25984
|
+
*
|
|
25985
|
+
* This is the plate twin of `faceGallery.listRecentFaces`'s option;
|
|
25986
|
+
* plates were the one gallery list left without it.
|
|
25987
|
+
*
|
|
25988
|
+
* **This is an INPUT field, so it does not reach the addon until the
|
|
25989
|
+
* next train.** The hub router validates cap inputs against its own
|
|
25990
|
+
* compiled Zod and strips a key it does not know. Until the train
|
|
25991
|
+
* ships, sending `false` is harmless and keeps the crops inline.
|
|
25992
|
+
*/
|
|
25993
|
+
includeCrops: boolean().optional()
|
|
25850
25994
|
}).optional(), array(PlateInfoSchema).readonly()), method(object({
|
|
25851
25995
|
deviceId: number().int(),
|
|
25852
25996
|
trackId: string()
|
|
25853
25997
|
}), PlateInfoSchema.nullable()), method(object({ plateId: string() }), array(MediaFileLiteSchema).readonly()), method(object({
|
|
25854
25998
|
text: string().min(1),
|
|
25855
25999
|
maxDistance: number().int().min(0).optional(),
|
|
25856
|
-
limit: number().int().positive().optional()
|
|
26000
|
+
limit: number().int().positive().optional(),
|
|
26001
|
+
/** See `listPlates.includeCrops`. Default `true`. */
|
|
26002
|
+
includeCrops: boolean().optional()
|
|
25857
26003
|
}), array(PlateInfoSchema).readonly()), method(object({
|
|
25858
26004
|
maxDistance: number().int().min(0).optional(),
|
|
25859
26005
|
minClusterSize: number().int().min(2).optional(),
|
|
@@ -25867,7 +26013,13 @@ method(object({
|
|
|
25867
26013
|
}), method(object({ plateId: string() }), _void(), {
|
|
25868
26014
|
kind: "mutation",
|
|
25869
26015
|
auth: "admin"
|
|
25870
|
-
}), method(
|
|
26016
|
+
}), method(object({
|
|
26017
|
+
/** Inline {@link VehicleSchema.coverBase64} on every row. Default
|
|
26018
|
+
* `false` — the vehicle twin of `faceGallery.listIdentities`'s
|
|
26019
|
+
* option; `coverMediaKey` + the `event-media` plane carry the picture.
|
|
26020
|
+
* INPUT field: stripped by the hub router until the train ships, which
|
|
26021
|
+
* resolves to `false` and is exactly the intended default. */
|
|
26022
|
+
includeCrops: boolean().optional() }).optional(), array(VehicleSchema).readonly()), method(object({ name: string().min(1) }), VehicleSchema, {
|
|
25871
26023
|
kind: "mutation",
|
|
25872
26024
|
auth: "admin"
|
|
25873
26025
|
}), method(object({
|
|
@@ -33128,6 +33280,12 @@ Object.freeze({
|
|
|
33128
33280
|
addonId: null,
|
|
33129
33281
|
access: "create"
|
|
33130
33282
|
},
|
|
33283
|
+
"pipelineAnalytics.cancelRelocateMedia": {
|
|
33284
|
+
capName: "pipeline-analytics",
|
|
33285
|
+
capScope: "device",
|
|
33286
|
+
addonId: null,
|
|
33287
|
+
access: "create"
|
|
33288
|
+
},
|
|
33131
33289
|
"pipelineAnalytics.cancelStorageMigrationMove": {
|
|
33132
33290
|
capName: "pipeline-analytics",
|
|
33133
33291
|
capScope: "device",
|
|
@@ -33302,6 +33460,12 @@ Object.freeze({
|
|
|
33302
33460
|
addonId: null,
|
|
33303
33461
|
access: "view"
|
|
33304
33462
|
},
|
|
33463
|
+
"pipelineAnalytics.listRelocateMediaJobs": {
|
|
33464
|
+
capName: "pipeline-analytics",
|
|
33465
|
+
capScope: "device",
|
|
33466
|
+
addonId: null,
|
|
33467
|
+
access: "view"
|
|
33468
|
+
},
|
|
33305
33469
|
"pipelineAnalytics.listRetrainAnnotations": {
|
|
33306
33470
|
capName: "pipeline-analytics",
|
|
33307
33471
|
capScope: "device",
|
|
@@ -33380,6 +33544,12 @@ Object.freeze({
|
|
|
33380
33544
|
addonId: null,
|
|
33381
33545
|
access: "create"
|
|
33382
33546
|
},
|
|
33547
|
+
"pipelineAnalytics.relocateMedia": {
|
|
33548
|
+
capName: "pipeline-analytics",
|
|
33549
|
+
capScope: "device",
|
|
33550
|
+
addonId: null,
|
|
33551
|
+
access: "create"
|
|
33552
|
+
},
|
|
33383
33553
|
"pipelineAnalytics.restageRetrainTrack": {
|
|
33384
33554
|
capName: "pipeline-analytics",
|
|
33385
33555
|
capScope: "device",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-gree",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.28",
|
|
4
4
|
"description": "Gree air-conditioner device-provider addon for CamStack — wraps the @apocaliss92/nodegree local-UDP client (LAN discovery + AES control), exposing climate-control and fan-control",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|