@camstack/addon-provider-hikvision 1.1.20 → 1.1.22
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 +498 -94
- package/dist/addon.mjs +498 -94
- package/package.json +4 -1
package/dist/addon.js
CHANGED
|
@@ -4635,7 +4635,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4635
4635
|
return inst;
|
|
4636
4636
|
}
|
|
4637
4637
|
//#endregion
|
|
4638
|
-
//#region ../types/dist/sleep-
|
|
4638
|
+
//#region ../types/dist/sleep-BC9Yqte7.mjs
|
|
4639
4639
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4640
4640
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4641
4641
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -5356,10 +5356,6 @@ function hydrateField(field, values) {
|
|
|
5356
5356
|
};
|
|
5357
5357
|
}
|
|
5358
5358
|
const rawValue = storedValue !== void 0 ? storedValue : defaultValue !== void 0 ? defaultValue : null;
|
|
5359
|
-
if (field.type === "password") return {
|
|
5360
|
-
...field,
|
|
5361
|
-
value: ""
|
|
5362
|
-
};
|
|
5363
5359
|
const value = field.type === "textarea" && field.isJson && rawValue !== null && typeof rawValue === "object" ? JSON.stringify(rawValue, null, 2) : rawValue;
|
|
5364
5360
|
return {
|
|
5365
5361
|
...field,
|
|
@@ -6743,10 +6739,25 @@ function method(input, output, options) {
|
|
|
6743
6739
|
timeoutMs: options?.timeoutMs
|
|
6744
6740
|
};
|
|
6745
6741
|
}
|
|
6742
|
+
/**
|
|
6743
|
+
* A wrapper/system-only method: served exclusively by the cap's system-level
|
|
6744
|
+
* provider (`InferProvider`), and OPTIONAL on `InferNativeProvider` so per-device
|
|
6745
|
+
* driver natives don't stub out a wrapper concern (e.g. a cross-device cache
|
|
6746
|
+
* overview). The `systemOnly: true` literal is what `InferNativeProvider` keys on.
|
|
6747
|
+
*/
|
|
6748
|
+
function systemMethod(input, output, options) {
|
|
6749
|
+
return {
|
|
6750
|
+
...method(input, output, options),
|
|
6751
|
+
systemOnly: true
|
|
6752
|
+
};
|
|
6753
|
+
}
|
|
6746
6754
|
/** Shorthand to define an event schema */
|
|
6747
6755
|
function event(data) {
|
|
6748
6756
|
return { data };
|
|
6749
6757
|
}
|
|
6758
|
+
var StaticDirOutputSchema$1 = object({ staticDir: string() });
|
|
6759
|
+
var VersionOutputSchema$1 = object({ version: string() });
|
|
6760
|
+
method(_void(), StaticDirOutputSchema$1), method(_void(), VersionOutputSchema$1);
|
|
6750
6761
|
var StaticDirOutputSchema = object({ staticDir: string() });
|
|
6751
6762
|
var VersionOutputSchema = object({ version: string() });
|
|
6752
6763
|
method(_void(), StaticDirOutputSchema), method(_void(), VersionOutputSchema);
|
|
@@ -11848,7 +11859,7 @@ var BoundingBoxSchema = object({
|
|
|
11848
11859
|
w: number(),
|
|
11849
11860
|
h: number()
|
|
11850
11861
|
});
|
|
11851
|
-
|
|
11862
|
+
object({
|
|
11852
11863
|
class: string(),
|
|
11853
11864
|
originalClass: string(),
|
|
11854
11865
|
score: number(),
|
|
@@ -12023,6 +12034,7 @@ var PipelineAddonSchemaSchema = object({
|
|
|
12023
12034
|
defaultModelId: string(),
|
|
12024
12035
|
defaultModelIdByFormat: record(string(), string()).optional(),
|
|
12025
12036
|
enabledByDefault: boolean().optional(),
|
|
12037
|
+
backfillIntoExistingOverrides: boolean().optional(),
|
|
12026
12038
|
defaultConfidence: number(),
|
|
12027
12039
|
group: string().optional(),
|
|
12028
12040
|
configSchema: array(ConfigFieldBridge).readonly().optional()
|
|
@@ -12039,11 +12051,6 @@ var PipelineSchemaSchema = object({
|
|
|
12039
12051
|
selectedEngine: PipelineEngineChoiceSchema,
|
|
12040
12052
|
slots: array(PipelineSlotSchemaSchema).readonly()
|
|
12041
12053
|
});
|
|
12042
|
-
var DetectorOutputSchema = object({
|
|
12043
|
-
detections: array(SpatialDetectionSchema).readonly(),
|
|
12044
|
-
inferenceMs: number(),
|
|
12045
|
-
modelId: string()
|
|
12046
|
-
});
|
|
12047
12054
|
var EngineProvisioningSchema = object({
|
|
12048
12055
|
runtimeId: _enum([
|
|
12049
12056
|
"onnx",
|
|
@@ -12168,7 +12175,7 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
12168
12175
|
auth: "admin"
|
|
12169
12176
|
}), method(object({ nodeId: string() }), object({
|
|
12170
12177
|
success: literal(true),
|
|
12171
|
-
|
|
12178
|
+
clearedDevices: number()
|
|
12172
12179
|
}), {
|
|
12173
12180
|
kind: "mutation",
|
|
12174
12181
|
auth: "admin"
|
|
@@ -12189,10 +12196,6 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
12189
12196
|
modelId: string(),
|
|
12190
12197
|
format: ModelFormatSchema$1
|
|
12191
12198
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
12192
|
-
addonId: string(),
|
|
12193
|
-
frame: FrameInputSchema,
|
|
12194
|
-
config: record(string(), unknown()).optional()
|
|
12195
|
-
}), DetectorOutputSchema), method(object({
|
|
12196
12199
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
12197
12200
|
steps: array(PipelineStepInputSchema).min(1),
|
|
12198
12201
|
frame: FrameInputSchema.optional(),
|
|
@@ -12371,6 +12374,25 @@ var zonesCapability = {
|
|
|
12371
12374
|
runtimeState: object({ zones: array(ZoneSchema).readonly() })
|
|
12372
12375
|
};
|
|
12373
12376
|
/**
|
|
12377
|
+
* A bounding box in NORMALIZED [0,1] frame coordinates for `getNativeCrop`. The
|
|
12378
|
+
* decode worker resolves it against the RETAINED native frame's real pixel dims,
|
|
12379
|
+
* so the caller supplies only the detection-res bbox divided by the detection
|
|
12380
|
+
* dims — no native resolution to plumb.
|
|
12381
|
+
*/
|
|
12382
|
+
var NativeCropBboxSchema = object({
|
|
12383
|
+
x: number(),
|
|
12384
|
+
y: number(),
|
|
12385
|
+
w: number(),
|
|
12386
|
+
h: number()
|
|
12387
|
+
});
|
|
12388
|
+
/** Result of a best-effort native-resolution crop (`getNativeCrop`). */
|
|
12389
|
+
var NativeCropResultSchema = object({
|
|
12390
|
+
/** Packed rgb (24-bit) pixels of the crop. */
|
|
12391
|
+
bytes: _instanceof(Uint8Array),
|
|
12392
|
+
width: number().int().positive(),
|
|
12393
|
+
height: number().int().positive()
|
|
12394
|
+
});
|
|
12395
|
+
/**
|
|
12374
12396
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
12375
12397
|
* by both the Zod data schema (validation + default fallback) and
|
|
12376
12398
|
* the device settings UI (slider min/max/step). Touch one place and
|
|
@@ -12626,7 +12648,11 @@ var RunnerLocalMetricsSchema = object({
|
|
|
12626
12648
|
avgInferenceTimeMs: number(),
|
|
12627
12649
|
queueDepth: number()
|
|
12628
12650
|
});
|
|
12629
|
-
method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mutation" }), method(object({ deviceId: number() }), object({ success: literal(true) }), { kind: "mutation" }), method(ReportMotionInputSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), RunnerLocalLoadSchema), method(_void(), RunnerLocalMetricsSchema), method(object({ deviceId: number() }), CameraMetricsSchema.nullable()), method(_void(), array(CameraMetricsWithDeviceIdSchema).readonly()), method(_void(), array(number()).readonly())
|
|
12651
|
+
method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mutation" }), method(object({ deviceId: number() }), object({ success: literal(true) }), { kind: "mutation" }), method(ReportMotionInputSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), RunnerLocalLoadSchema), method(_void(), RunnerLocalMetricsSchema), method(object({ deviceId: number() }), CameraMetricsSchema.nullable()), method(_void(), array(CameraMetricsWithDeviceIdSchema).readonly()), method(_void(), array(number()).readonly()), method(object({
|
|
12652
|
+
handle: FrameHandleSchema,
|
|
12653
|
+
bbox: NativeCropBboxSchema,
|
|
12654
|
+
maxWidth: number().int().positive().optional()
|
|
12655
|
+
}), NativeCropResultSchema.nullable());
|
|
12630
12656
|
/**
|
|
12631
12657
|
* Hardware / firmware motion sensor cap — binary detected state plus
|
|
12632
12658
|
* a timestamp of the last observation. Distinct from
|
|
@@ -15557,7 +15583,9 @@ var AddonPageDeclarationSchema$1 = object({
|
|
|
15557
15583
|
icon: string(),
|
|
15558
15584
|
path: string(),
|
|
15559
15585
|
remoteName: string(),
|
|
15560
|
-
bundle: string()
|
|
15586
|
+
bundle: string(),
|
|
15587
|
+
section: string().optional(),
|
|
15588
|
+
sectionLabel: string().optional()
|
|
15561
15589
|
});
|
|
15562
15590
|
var AddonPageInfoSchema = object({
|
|
15563
15591
|
addonId: string(),
|
|
@@ -15597,7 +15625,18 @@ var AddonPageDeclarationSchema = object({
|
|
|
15597
15625
|
* the static-file route can compute an mtime-based cache-buster URL
|
|
15598
15626
|
* without a separate filesystem stat.
|
|
15599
15627
|
*/
|
|
15600
|
-
bundle: string()
|
|
15628
|
+
bundle: string(),
|
|
15629
|
+
/**
|
|
15630
|
+
* Sidebar section this page docks into. Well-known ids: `'detection'`,
|
|
15631
|
+
* `'cluster'`, `'administration'` — the page renders inside that group.
|
|
15632
|
+
* Any OTHER string creates (or joins) a custom section rendered after
|
|
15633
|
+
* the built-in groups; its label comes from `sectionLabel` (first
|
|
15634
|
+
* declaration wins), falling back to the id. Absent → the legacy
|
|
15635
|
+
* "Addon Pages" group.
|
|
15636
|
+
*/
|
|
15637
|
+
section: string().optional(),
|
|
15638
|
+
/** Display label for a CUSTOM `section` id (ignored for well-known ids). */
|
|
15639
|
+
sectionLabel: string().optional()
|
|
15601
15640
|
});
|
|
15602
15641
|
method(_void(), array(AddonPageDeclarationSchema).readonly());
|
|
15603
15642
|
var AddonHttpRouteSchema = object({
|
|
@@ -15813,6 +15852,17 @@ var WidgetMetadataSchema = object({
|
|
|
15813
15852
|
deviceContext: boolean().default(false),
|
|
15814
15853
|
integrationContext: boolean().default(false)
|
|
15815
15854
|
}),
|
|
15855
|
+
/**
|
|
15856
|
+
* Loadable BEFORE authentication. The normal widget registry listing
|
|
15857
|
+
* (`addon-widgets.listWidgets`) is auth-gated, so a pre-auth surface
|
|
15858
|
+
* (the login page) cannot discover a widget through it. A widget that
|
|
15859
|
+
* declares `preAuth: true` marks itself as safe to mount on a pre-auth
|
|
15860
|
+
* screen — it is surfaced through the PUBLIC `auth.listLoginMethods`
|
|
15861
|
+
* login-method contribution channel (see `login-method.cap.ts`) rather
|
|
15862
|
+
* than the authenticated registry, and its bundle is served by the
|
|
15863
|
+
* public `/api/addon-widgets/:addonId/*` static route. Defaults false.
|
|
15864
|
+
*/
|
|
15865
|
+
preAuth: boolean().optional().default(false),
|
|
15816
15866
|
/** Dashboard placement HINTS (operator can override per instance). */
|
|
15817
15867
|
defaultSize: WidgetSizeEnum.default("md"),
|
|
15818
15868
|
allowedSizes: array(WidgetSizeEnum).readonly().default([
|
|
@@ -16114,6 +16164,66 @@ method(object({
|
|
|
16114
16164
|
password: string()
|
|
16115
16165
|
}), AuthResultSchema.nullable(), { kind: "mutation" }), method(object({ state: string() }), string()), method(record(string(), string()), AuthResultSchema, { kind: "mutation" }), method(object({ token: string() }), AuthResultSchema.nullable());
|
|
16116
16166
|
/**
|
|
16167
|
+
* `login-method` — collection cap through which auth addons contribute
|
|
16168
|
+
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
16169
|
+
* generic mechanism that supersedes the dead `auth.listProviders` reader:
|
|
16170
|
+
* every auth addon (OIDC, magic-link, WebAuthn/passkey) registers a
|
|
16171
|
+
* `login-method` provider and the PUBLIC `auth.listLoginMethods`
|
|
16172
|
+
* procedure aggregates them for the unauthenticated login page.
|
|
16173
|
+
*
|
|
16174
|
+
* A contribution is a discriminated union on `kind`:
|
|
16175
|
+
*
|
|
16176
|
+
* - `redirect` — a declarative button. The login page renders a generic
|
|
16177
|
+
* button that navigates to `startUrl` (an addon-owned HTTP route).
|
|
16178
|
+
* Covers OIDC (`/addon/auth-oidc/<id>/start`) and magic-link with
|
|
16179
|
+
* ZERO shell-side JS. A future SSO addon plugs in the same way — the
|
|
16180
|
+
* login page needs NO change.
|
|
16181
|
+
*
|
|
16182
|
+
* - `widget` — a Module-Federation widget the login page mounts (via
|
|
16183
|
+
* `loadRemoteBundle`) for an in-page ceremony. Covers the passkey
|
|
16184
|
+
* login ceremony, which must run `@simplewebauthn/browser` INSIDE the
|
|
16185
|
+
* addon bundle. The referenced widget also declares `preAuth: true` in
|
|
16186
|
+
* its `addon-widgets-source` catalog entry. `auth.listLoginMethods`
|
|
16187
|
+
* stamps a public `bundleUrl` from `addonId` + `bundle`.
|
|
16188
|
+
*
|
|
16189
|
+
* Every contribution carries a `stage`:
|
|
16190
|
+
* - `primary` — shown on the first credentials screen (OIDC /
|
|
16191
|
+
* magic-link buttons; a future usernameless passkey).
|
|
16192
|
+
* - `second-factor` — shown AFTER the password leg, gated on the
|
|
16193
|
+
* returned `factors` (passkey-as-2FA today).
|
|
16194
|
+
*
|
|
16195
|
+
* `mount: skip` — the cap is read server-side by the core auth router
|
|
16196
|
+
* (`registry.getCollection('login-method')`), never mounted as its own
|
|
16197
|
+
* tRPC router.
|
|
16198
|
+
*/
|
|
16199
|
+
/** When a login method renders in the two-phase login flow. */
|
|
16200
|
+
var LoginStageEnum = _enum(["primary", "second-factor"]);
|
|
16201
|
+
/** One login-method contribution — redirect button OR pre-auth widget. */
|
|
16202
|
+
var LoginMethodContributionSchema = discriminatedUnion("kind", [object({
|
|
16203
|
+
kind: literal("redirect"),
|
|
16204
|
+
/** Stable id within the login-method set (e.g. `auth-oidc/google`). */
|
|
16205
|
+
id: string(),
|
|
16206
|
+
/** Operator-facing button label. */
|
|
16207
|
+
label: string(),
|
|
16208
|
+
/** lucide-react icon name. */
|
|
16209
|
+
icon: string().optional(),
|
|
16210
|
+
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
16211
|
+
startUrl: string(),
|
|
16212
|
+
stage: LoginStageEnum
|
|
16213
|
+
}), object({
|
|
16214
|
+
kind: literal("widget"),
|
|
16215
|
+
/** Stable id within the login-method set (e.g. `auth-webauthn/passkey-login`). */
|
|
16216
|
+
id: string(),
|
|
16217
|
+
/** Owning addon id — drives the public bundle URL + the MF namespace. */
|
|
16218
|
+
addonId: string(),
|
|
16219
|
+
/** Bundle filename inside the addon's dist dir (`remoteEntry.js`). */
|
|
16220
|
+
bundle: string(),
|
|
16221
|
+
/** MF remote descriptor — `{ remoteName, exposedModule, componentKey }`. */
|
|
16222
|
+
remote: WidgetRemoteSchema,
|
|
16223
|
+
stage: LoginStageEnum
|
|
16224
|
+
})]);
|
|
16225
|
+
method(_void(), array(LoginMethodContributionSchema).readonly());
|
|
16226
|
+
/**
|
|
16117
16227
|
* Orchestrator-side destination metadata. The orchestrator computes
|
|
16118
16228
|
* `id = <addonId>:<subId>` from its provider lookup so consumers
|
|
16119
16229
|
* (admin UI, restore flow) see one canonical key.
|
|
@@ -18229,7 +18339,17 @@ var TrackSchema = object({
|
|
|
18229
18339
|
/** Cumulative normalized distance travelled (0..1 units = full frame width). */
|
|
18230
18340
|
totalDistance: number(),
|
|
18231
18341
|
state: TrackStateSchema,
|
|
18232
|
-
active: boolean()
|
|
18342
|
+
active: boolean(),
|
|
18343
|
+
/** Deterministic key-event importance score in [0,1] (server-computed at
|
|
18344
|
+
* track expiry, recomputed on late label). Absent on legacy rows written
|
|
18345
|
+
* before scoring shipped — consumers degrade to absence / compute-on-read. */
|
|
18346
|
+
importance: number().optional(),
|
|
18347
|
+
/** Id of the track's highest-confidence ObjectEvent (its representative
|
|
18348
|
+
* "best" frame). Absent when the track produced no object events. */
|
|
18349
|
+
bestEventId: string().optional(),
|
|
18350
|
+
/** Tag of the importance sub-signal that dominated the score
|
|
18351
|
+
* (identity|dwell|proximity|class|confidence|travel|zone). */
|
|
18352
|
+
importanceReason: string().optional()
|
|
18233
18353
|
});
|
|
18234
18354
|
var BaseEventFields = {
|
|
18235
18355
|
id: string(),
|
|
@@ -18294,8 +18414,18 @@ var ObjectEventSchema = object({
|
|
|
18294
18414
|
frameHeight: number().optional(),
|
|
18295
18415
|
/** MediaStore key for the crop attached to this event (if any). */
|
|
18296
18416
|
mediaKey: string().optional(),
|
|
18417
|
+
/** Design B: MediaStore key of the track's native-resolution key frame (the
|
|
18418
|
+
* best-detection full frame). Resolve via the event-media data-plane
|
|
18419
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
|
|
18420
|
+
* draws `bbox` over the native frame. Absent on legacy rows / non-decoded
|
|
18421
|
+
* sources — consumers fall back to `mediaKey` (the tight crop). */
|
|
18422
|
+
keyFrameMediaKey: string().optional(),
|
|
18297
18423
|
/** Populated by B5 (recording playback URL for this event). */
|
|
18298
|
-
mediaUrl: string().optional()
|
|
18424
|
+
mediaUrl: string().optional(),
|
|
18425
|
+
/** The parent track's key-event importance [0,1], propagated to every object
|
|
18426
|
+
* event of the track (so an event row can be sorted by importance without a
|
|
18427
|
+
* track join). Absent on legacy rows / before the track was scored. */
|
|
18428
|
+
importance: number().optional()
|
|
18299
18429
|
});
|
|
18300
18430
|
var AudioEventSchema = object({
|
|
18301
18431
|
...BaseEventFields,
|
|
@@ -18319,7 +18449,8 @@ var MediaFileKindEnum = _enum([
|
|
|
18319
18449
|
"fullFrame",
|
|
18320
18450
|
"fullFrameBoxed",
|
|
18321
18451
|
"faceCrop",
|
|
18322
|
-
"plateCrop"
|
|
18452
|
+
"plateCrop",
|
|
18453
|
+
"keyFrame"
|
|
18323
18454
|
]);
|
|
18324
18455
|
var MediaFileSchema = object({
|
|
18325
18456
|
key: string(),
|
|
@@ -18340,6 +18471,32 @@ var DeviceEventQueryInput = object({
|
|
|
18340
18471
|
projection: _enum(["full", "slim"]).optional()
|
|
18341
18472
|
});
|
|
18342
18473
|
var ObjectEventQueryInput = DeviceEventQueryInput.extend({ classFilter: string().optional() });
|
|
18474
|
+
var KeyEventQueryInput = object({
|
|
18475
|
+
deviceId: number(),
|
|
18476
|
+
/** Window lower bound (track firstSeen ≥ since). */
|
|
18477
|
+
since: number(),
|
|
18478
|
+
/** Window upper bound (track firstSeen ≤ until). */
|
|
18479
|
+
until: number(),
|
|
18480
|
+
limit: number().int().min(1).max(200).default(50),
|
|
18481
|
+
/** Drop tracks scoring below this importance. */
|
|
18482
|
+
minImportance: number().min(0).max(1).optional(),
|
|
18483
|
+
/** Restrict to a single class (e.g. 'person'). */
|
|
18484
|
+
classFilter: string().optional()
|
|
18485
|
+
});
|
|
18486
|
+
var KeyEventSchema = object({
|
|
18487
|
+
/** The representative event id (the track's best ObjectEvent, else its trackId). */
|
|
18488
|
+
id: string(),
|
|
18489
|
+
trackId: string(),
|
|
18490
|
+
/** Track start time (firstSeen). */
|
|
18491
|
+
timestamp: number(),
|
|
18492
|
+
className: string(),
|
|
18493
|
+
label: string().optional(),
|
|
18494
|
+
importance: number(),
|
|
18495
|
+
/** Highest-confidence ObjectEvent id for the track (empty when none). */
|
|
18496
|
+
bestEventId: string(),
|
|
18497
|
+
/** Track lifetime in ms (lastSeen - firstSeen). */
|
|
18498
|
+
windowMs: number().optional()
|
|
18499
|
+
});
|
|
18343
18500
|
var TrackedDetectionSchema = object({
|
|
18344
18501
|
trackId: string(),
|
|
18345
18502
|
className: string(),
|
|
@@ -18369,7 +18526,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
18369
18526
|
}), array(TrackSchema).readonly()), method(object({ deviceId: number() }), _void(), {
|
|
18370
18527
|
kind: "mutation",
|
|
18371
18528
|
auth: "admin"
|
|
18372
|
-
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({
|
|
18529
|
+
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
|
|
18373
18530
|
deviceId: number(),
|
|
18374
18531
|
since: number(),
|
|
18375
18532
|
until: number(),
|
|
@@ -18443,7 +18600,12 @@ var AgentPipelineSettingsSchema = object({
|
|
|
18443
18600
|
detectWeight: number().positive().optional(),
|
|
18444
18601
|
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
18445
18602
|
detect: boolean().optional(),
|
|
18446
|
-
/**
|
|
18603
|
+
/**
|
|
18604
|
+
* DEPRECATED AND IGNORED. Decode is always co-located with its frame
|
|
18605
|
+
* consumer, so decode eligibility IS detect eligibility. Kept optional in
|
|
18606
|
+
* the schema ONLY so persisted stores written before the removal still
|
|
18607
|
+
* parse — no code reads it and no write path emits it.
|
|
18608
|
+
*/
|
|
18447
18609
|
decode: boolean().optional(),
|
|
18448
18610
|
/** Node is eligible to run audio-analyzer sessions. */
|
|
18449
18611
|
audio: boolean().optional(),
|
|
@@ -18504,25 +18666,6 @@ var PipelineAssignmentSchema = object({
|
|
|
18504
18666
|
assignedAt: number()
|
|
18505
18667
|
});
|
|
18506
18668
|
/**
|
|
18507
|
-
* Decoder placement record. Symmetric to `PipelineAssignmentSchema` but for
|
|
18508
|
-
* the decoder-node placement domain (`balanceDecoder` decision: manual pin
|
|
18509
|
-
* → co-located with pipeline → capacity).
|
|
18510
|
-
*/
|
|
18511
|
-
var DecoderAssignmentSchema = object({
|
|
18512
|
-
deviceId: number(),
|
|
18513
|
-
/** Moleculer node id of the decoder provider currently responsible for this camera. */
|
|
18514
|
-
decoderNodeId: string(),
|
|
18515
|
-
/** True when the assignment was set manually via `assignDecoder`, false when chosen by the balancer. */
|
|
18516
|
-
pinned: boolean(),
|
|
18517
|
-
/** Why this assignment was made — useful for debugging the decoder balancer. */
|
|
18518
|
-
reason: _enum([
|
|
18519
|
-
"manual",
|
|
18520
|
-
"co-located",
|
|
18521
|
-
"capacity",
|
|
18522
|
-
"hardware-affinity"
|
|
18523
|
-
])
|
|
18524
|
-
});
|
|
18525
|
-
/**
|
|
18526
18669
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
18527
18670
|
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
18528
18671
|
*/
|
|
@@ -18728,15 +18871,6 @@ method(object({
|
|
|
18728
18871
|
}), method(_void(), IngestOwnerSchema), method(object({
|
|
18729
18872
|
deviceId: number(),
|
|
18730
18873
|
nodeId: string()
|
|
18731
|
-
}), _void(), {
|
|
18732
|
-
kind: "mutation",
|
|
18733
|
-
auth: "admin"
|
|
18734
|
-
}), method(object({ deviceId: number() }), _void(), {
|
|
18735
|
-
kind: "mutation",
|
|
18736
|
-
auth: "admin"
|
|
18737
|
-
}), method(_void(), array(DecoderAssignmentSchema).readonly()), method(object({
|
|
18738
|
-
deviceId: number(),
|
|
18739
|
-
nodeId: string()
|
|
18740
18874
|
}), object({ success: literal(true) }), {
|
|
18741
18875
|
kind: "mutation",
|
|
18742
18876
|
auth: "admin"
|
|
@@ -18755,10 +18889,7 @@ method(object({
|
|
|
18755
18889
|
nodeId: string(),
|
|
18756
18890
|
pinned: boolean(),
|
|
18757
18891
|
assignedAt: number()
|
|
18758
|
-
}))), method(object({
|
|
18759
|
-
deviceId: number(),
|
|
18760
|
-
pipelineNodeId: string().optional()
|
|
18761
|
-
}), DecoderAssignmentSchema), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
18892
|
+
}))), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
18762
18893
|
nodeId: string(),
|
|
18763
18894
|
settings: AgentPipelineSettingsSchema
|
|
18764
18895
|
})).readonly()), method(object({
|
|
@@ -18788,7 +18919,6 @@ method(object({
|
|
|
18788
18919
|
}), method(object({
|
|
18789
18920
|
agentNodeId: string(),
|
|
18790
18921
|
detect: boolean().nullable().optional(),
|
|
18791
|
-
decode: boolean().nullable().optional(),
|
|
18792
18922
|
audio: boolean().nullable().optional(),
|
|
18793
18923
|
ingest: boolean().nullable().optional()
|
|
18794
18924
|
}), object({ success: literal(true) }), {
|
|
@@ -18800,6 +18930,15 @@ method(object({
|
|
|
18800
18930
|
}), object({ success: literal(true) }), {
|
|
18801
18931
|
kind: "mutation",
|
|
18802
18932
|
auth: "admin"
|
|
18933
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
18934
|
+
success: literal(true),
|
|
18935
|
+
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
18936
|
+
effectiveModelId: string().nullable(),
|
|
18937
|
+
/** Number of cameras whose node-scoped overrides were cleared. */
|
|
18938
|
+
clearedCameraOverrides: number()
|
|
18939
|
+
}), {
|
|
18940
|
+
kind: "mutation",
|
|
18941
|
+
auth: "admin"
|
|
18803
18942
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
18804
18943
|
deviceId: number(),
|
|
18805
18944
|
addonId: string(),
|
|
@@ -18845,6 +18984,131 @@ method(object({
|
|
|
18845
18984
|
auth: "admin"
|
|
18846
18985
|
});
|
|
18847
18986
|
/**
|
|
18987
|
+
* server-management — per-NODE singleton capability for a node's ROOT
|
|
18988
|
+
* package lifecycle (runtime-updatable node packages, phase 2: hub + docker
|
|
18989
|
+
* agents).
|
|
18990
|
+
*
|
|
18991
|
+
* Each node's root package (`@camstack/server` on the hub, `@camstack/agent`
|
|
18992
|
+
* on agents) carries the whole software stack in its npm dep tree, so ONE
|
|
18993
|
+
* version describes the node. Updates install into
|
|
18994
|
+
* `<dataDir>/server-root/versions/<v>/` and apply on restart via the baked
|
|
18995
|
+
* starter (probation boot + auto-rollback to N-1).
|
|
18996
|
+
*
|
|
18997
|
+
* Providers:
|
|
18998
|
+
* - HUB: `ServerUpdateService` behind the `server-provided` mount
|
|
18999
|
+
* (`buildServerProviders` in trpc.router.ts) — the default target for
|
|
19000
|
+
* unpinned calls.
|
|
19001
|
+
* - AGENT: `AgentUpdateService` registered by the agent bootstrap under
|
|
19002
|
+
* the synthetic `agent-runtime` addonId and declared in the agent's
|
|
19003
|
+
* `$hub.registerNode` manifest.
|
|
19004
|
+
*
|
|
19005
|
+
* Node routing: singleton caps get the codegen/runtime-builder `nodeId`
|
|
19006
|
+
* injection on every method — `input.nodeId` (or `nodePin(nodeId)` from the
|
|
19007
|
+
* SDK) routes the call to that node's provider via the standard remote
|
|
19008
|
+
* proxy (`createCapabilityProxy` → `$agent-cap-fwd` → the agent's
|
|
19009
|
+
* in-process provider lookup). No `nodeId` → the hub's own provider.
|
|
19010
|
+
*
|
|
19011
|
+
* Spec: docs/superpowers/specs/2026-07-12-runtime-updatable-node-packages-design.md
|
|
19012
|
+
*/
|
|
19013
|
+
/**
|
|
19014
|
+
* Where the running hub's code was loaded from:
|
|
19015
|
+
* - `workspace` — dev checkout (tsx / workspace dist); the starter defers to
|
|
19016
|
+
* plain resolution and runtime updates are refused.
|
|
19017
|
+
* - `baked` — the immutable image seed closure (no data-dir root active).
|
|
19018
|
+
* - `data-root` — the runtime-updatable `<dataDir>/server-root` closure.
|
|
19019
|
+
*/
|
|
19020
|
+
var ServerBootModeSchema = _enum([
|
|
19021
|
+
"workspace",
|
|
19022
|
+
"baked",
|
|
19023
|
+
"data-root"
|
|
19024
|
+
]);
|
|
19025
|
+
/**
|
|
19026
|
+
* Update lifecycle state:
|
|
19027
|
+
* - `idle` / `checking` / `staging` — steady / in-flight registry work.
|
|
19028
|
+
* - `pending-restart` — a version is staged and the node has NOT yet
|
|
19029
|
+
* restarted onto it (still running the OLD version).
|
|
19030
|
+
* - `awaiting-confirmation` — the node HAS restarted onto the staged version
|
|
19031
|
+
* (it is the active probation boot) and is waiting to confirm boot-health.
|
|
19032
|
+
* Apply/rollback are refused in this state and the node must NOT be
|
|
19033
|
+
* manually restarted, or the probation boot auto-rolls-back.
|
|
19034
|
+
*/
|
|
19035
|
+
var ServerUpdateStateSchema = _enum([
|
|
19036
|
+
"idle",
|
|
19037
|
+
"checking",
|
|
19038
|
+
"staging",
|
|
19039
|
+
"pending-restart",
|
|
19040
|
+
"awaiting-confirmation"
|
|
19041
|
+
]);
|
|
19042
|
+
var ServerRollbackInfoSchema = object({
|
|
19043
|
+
/** The version that failed (or was manually rolled back). */
|
|
19044
|
+
fromVersion: string(),
|
|
19045
|
+
/** The version rolled back to; null = the baked seed. */
|
|
19046
|
+
toVersion: string().nullable(),
|
|
19047
|
+
atMs: number(),
|
|
19048
|
+
reason: string()
|
|
19049
|
+
});
|
|
19050
|
+
var ServerPackageStatusSchema = object({
|
|
19051
|
+
/** Root package name (`@camstack/server` on the hub). */
|
|
19052
|
+
packageName: string(),
|
|
19053
|
+
/** Version of the code the running process ACTUALLY loaded. */
|
|
19054
|
+
runningVersion: string().nullable(),
|
|
19055
|
+
/** Node.js runtime version the node's process runs on (`process.versions.node`). */
|
|
19056
|
+
nodeRuntimeVersion: string().nullable(),
|
|
19057
|
+
/** Active data-dir root version; null when booted from seed/workspace. */
|
|
19058
|
+
activeVersion: string().nullable(),
|
|
19059
|
+
/** N-1 version kept for rollback; null when no previous version exists. */
|
|
19060
|
+
previousVersion: string().nullable(),
|
|
19061
|
+
/** Version of the immutable baked seed closure (image fallback). */
|
|
19062
|
+
seedVersion: string().nullable(),
|
|
19063
|
+
/** Latest registry version from the most recent check (null = never checked). */
|
|
19064
|
+
latestVersion: string().nullable(),
|
|
19065
|
+
updateAvailable: boolean(),
|
|
19066
|
+
bootMode: ServerBootModeSchema,
|
|
19067
|
+
updateState: ServerUpdateStateSchema,
|
|
19068
|
+
/** Version staged + awaiting its probation boot, when one is pending. */
|
|
19069
|
+
pendingVersion: string().nullable(),
|
|
19070
|
+
/** Set when the last freshly-activated version failed its boot health-check. */
|
|
19071
|
+
rolledBack: ServerRollbackInfoSchema.nullable(),
|
|
19072
|
+
/**
|
|
19073
|
+
* True when `server-root/state.json` EXISTS but is unreadable/corrupt — the
|
|
19074
|
+
* hub is running from the baked seed (or workspace) while installed data-dir
|
|
19075
|
+
* versions are being IGNORED. Surfaced as a warning in the UI.
|
|
19076
|
+
*/
|
|
19077
|
+
stateFileCorrupt: boolean(),
|
|
19078
|
+
lastCheckedAtMs: number().nullable()
|
|
19079
|
+
});
|
|
19080
|
+
var ServerUpdateCheckResultSchema = object({
|
|
19081
|
+
packageName: string(),
|
|
19082
|
+
runningVersion: string().nullable(),
|
|
19083
|
+
latestVersion: string().nullable(),
|
|
19084
|
+
updateAvailable: boolean(),
|
|
19085
|
+
checkedAtMs: number(),
|
|
19086
|
+
/** Non-null when the registry lookup failed (offline, bad registry, …). */
|
|
19087
|
+
error: string().nullable()
|
|
19088
|
+
});
|
|
19089
|
+
var ServerUpdateActionResultSchema = object({
|
|
19090
|
+
accepted: boolean(),
|
|
19091
|
+
targetVersion: string().nullable(),
|
|
19092
|
+
/** True when a graceful restart was scheduled to apply the change. */
|
|
19093
|
+
restarting: boolean(),
|
|
19094
|
+
message: string()
|
|
19095
|
+
});
|
|
19096
|
+
method(_void(), ServerPackageStatusSchema, { auth: "admin" }), method(_void(), ServerUpdateCheckResultSchema, {
|
|
19097
|
+
kind: "mutation",
|
|
19098
|
+
auth: "admin"
|
|
19099
|
+
}), method(object({
|
|
19100
|
+
/** Explicit target version; omitted = latest from the registry. */
|
|
19101
|
+
version: string().optional() }), ServerUpdateActionResultSchema, {
|
|
19102
|
+
kind: "mutation",
|
|
19103
|
+
auth: "admin"
|
|
19104
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
19105
|
+
kind: "mutation",
|
|
19106
|
+
auth: "admin"
|
|
19107
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
19108
|
+
kind: "mutation",
|
|
19109
|
+
auth: "admin"
|
|
19110
|
+
});
|
|
19111
|
+
/**
|
|
18848
19112
|
* Query filter for settings-store collections.
|
|
18849
19113
|
*/
|
|
18850
19114
|
var QueryFilterSchema = object({
|
|
@@ -19066,7 +19330,20 @@ var snapshotCapability = {
|
|
|
19066
19330
|
invalidateCache: method(object({ deviceId: number() }), _void(), {
|
|
19067
19331
|
kind: "mutation",
|
|
19068
19332
|
auth: "admin"
|
|
19069
|
-
})
|
|
19333
|
+
}),
|
|
19334
|
+
/**
|
|
19335
|
+
* Cache-only batch overview — answers from the wrapper's in-memory cache in
|
|
19336
|
+
* O(n) and NEVER triggers a capture. Lets a grid skip requesting images for
|
|
19337
|
+
* devices that never produced a frame, and gives it an ETag per device for
|
|
19338
|
+
* conditional (304-able) image fetches. `lastCapturedAt`/`cacheAgeMs`/`etag`
|
|
19339
|
+
* are null for a device with no cached frame.
|
|
19340
|
+
*/
|
|
19341
|
+
getSnapshotOverview: systemMethod(object({ deviceIds: array(number()).min(1).max(200) }), array(object({
|
|
19342
|
+
deviceId: number(),
|
|
19343
|
+
lastCapturedAt: number().nullable(),
|
|
19344
|
+
cacheAgeMs: number().nullable(),
|
|
19345
|
+
etag: string().nullable()
|
|
19346
|
+
})))
|
|
19070
19347
|
},
|
|
19071
19348
|
status: {
|
|
19072
19349
|
schema: SnapshotStatusSchema,
|
|
@@ -19323,10 +19600,32 @@ method(_void(), array(TurnServerSchema).readonly());
|
|
|
19323
19600
|
* b. `finishAuthentication({userId, response})` → server verifies
|
|
19324
19601
|
* the assertion, bumps the credential counter, returns ok.
|
|
19325
19602
|
*
|
|
19603
|
+
* 2b. Usernameless (discoverable-credential) authentication — the
|
|
19604
|
+
* passkey IS the primary factor, no password leg:
|
|
19605
|
+
* a. `beginDiscoverableAuthentication({})` → assertion options with
|
|
19606
|
+
* EMPTY `allowCredentials` (the browser offers every resident
|
|
19607
|
+
* passkey it holds for this RP) + `userVerification: 'required'`
|
|
19608
|
+
* (the passkey replaces both factors, so UV is mandatory).
|
|
19609
|
+
* The challenge is stored server-side, NOT bound to any user.
|
|
19610
|
+
* b. `finishDiscoverableAuthentication({response})` → the provider
|
|
19611
|
+
* resolves the credential by the response's credential id,
|
|
19612
|
+
* verifies the assertion against the stored challenge + that
|
|
19613
|
+
* credential's public key/counter, and returns the OWNING
|
|
19614
|
+
* `userId` — the caller (core auth router) mints the session.
|
|
19615
|
+
*
|
|
19326
19616
|
* 3. Management:
|
|
19327
19617
|
* - `listPasskeys({userId})` — enumerate user's enrolled credentials.
|
|
19328
19618
|
* - `removePasskey({userId, credentialId})` — revoke one credential.
|
|
19329
19619
|
*
|
|
19620
|
+
* 4. Second-factor preference (opt-in, default OFF):
|
|
19621
|
+
* Enrolling a passkey only enables passkey-FIRST sign-in. It is
|
|
19622
|
+
* demanded as a second factor after a password login ONLY when the
|
|
19623
|
+
* user explicitly opts in via `setSecondFactorPreference`.
|
|
19624
|
+
* - `getSecondFactorPreference({userId})` → `{ enabled }` (missing
|
|
19625
|
+
* row ⇒ `enabled: false`).
|
|
19626
|
+
* - `setSecondFactorPreference({userId, enabled})` — persisted by
|
|
19627
|
+
* the providing addon beside its credentials.
|
|
19628
|
+
*
|
|
19330
19629
|
* Challenges are short-lived (5 min, in-memory). The cap is internal —
|
|
19331
19630
|
* the admin-ui composes the begin/finish round-trip and never exposes
|
|
19332
19631
|
* the cap to non-admins.
|
|
@@ -19369,6 +19668,17 @@ method(object({
|
|
|
19369
19668
|
}), object({ verified: boolean() }), {
|
|
19370
19669
|
kind: "mutation",
|
|
19371
19670
|
access: "view"
|
|
19671
|
+
}), method(object({}), object({ optionsJSON: record(string(), unknown()) }), {
|
|
19672
|
+
kind: "mutation",
|
|
19673
|
+
access: "view"
|
|
19674
|
+
}), method(object({
|
|
19675
|
+
/** AuthenticationResponseJSON from the browser. */
|
|
19676
|
+
response: record(string(), unknown()) }), object({
|
|
19677
|
+
verified: boolean(),
|
|
19678
|
+
userId: string().nullable()
|
|
19679
|
+
}), {
|
|
19680
|
+
kind: "mutation",
|
|
19681
|
+
access: "view"
|
|
19372
19682
|
}), method(object({ userId: string() }), array(PasskeySummarySchema), { auth: "admin" }), method(object({
|
|
19373
19683
|
userId: string(),
|
|
19374
19684
|
credentialId: string()
|
|
@@ -19376,6 +19686,13 @@ method(object({
|
|
|
19376
19686
|
kind: "mutation",
|
|
19377
19687
|
auth: "admin",
|
|
19378
19688
|
access: "delete"
|
|
19689
|
+
}), method(object({ userId: string() }), object({ enabled: boolean() }), { auth: "admin" }), method(object({
|
|
19690
|
+
userId: string(),
|
|
19691
|
+
enabled: boolean()
|
|
19692
|
+
}), object({ success: literal(true) }), {
|
|
19693
|
+
kind: "mutation",
|
|
19694
|
+
auth: "admin",
|
|
19695
|
+
access: "create"
|
|
19379
19696
|
});
|
|
19380
19697
|
/**
|
|
19381
19698
|
* `videoclips` — the unified, navigable-clip surface for a camera.
|
|
@@ -20177,7 +20494,17 @@ var FaceInfoSchema = object({
|
|
|
20177
20494
|
recognizedIdentityId: string().optional(),
|
|
20178
20495
|
identityName: string().optional(),
|
|
20179
20496
|
assigned: boolean(),
|
|
20180
|
-
base64: string().optional()
|
|
20497
|
+
base64: string().optional(),
|
|
20498
|
+
/** Design B: the face bbox (pixel space) on the key frame — lets a detail
|
|
20499
|
+
* view draw the box over the native `keyFrameMediaKey` frame. Absent on
|
|
20500
|
+
* legacy rows written before design B. */
|
|
20501
|
+
faceBbox: BoundingBoxSchema.optional(),
|
|
20502
|
+
/** Design B: MediaStore key of the track's native-resolution key frame.
|
|
20503
|
+
* Fetch the native JPEG via the event-media data-plane
|
|
20504
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
|
|
20505
|
+
* track produced no key frame (e.g. native/onboard source) — the UI falls
|
|
20506
|
+
* back to the inline `base64` face crop. */
|
|
20507
|
+
keyFrameMediaKey: string().optional()
|
|
20181
20508
|
});
|
|
20182
20509
|
var FaceFilterEnum = _enum([
|
|
20183
20510
|
"unassigned",
|
|
@@ -20925,6 +21252,16 @@ var TopologyCategorySchema = object({
|
|
|
20925
21252
|
healthy: number(),
|
|
20926
21253
|
addons: array(TopologyCategoryAddonSchema).readonly()
|
|
20927
21254
|
});
|
|
21255
|
+
/**
|
|
21256
|
+
* The node's runtime-updatable ROOT package (`@camstack/server` on the hub,
|
|
21257
|
+
* `@camstack/agent` on agents) as reported by its `registerNode` manifest —
|
|
21258
|
+
* version visibility for the Server management surface. Nullable: offline
|
|
21259
|
+
* rows and pre-phase-2 nodes report none.
|
|
21260
|
+
*/
|
|
21261
|
+
var TopologyRootPackageSchema = object({
|
|
21262
|
+
name: string(),
|
|
21263
|
+
version: string()
|
|
21264
|
+
});
|
|
20928
21265
|
var TopologyNodeSchema = object({
|
|
20929
21266
|
id: string(),
|
|
20930
21267
|
name: string(),
|
|
@@ -20948,7 +21285,8 @@ var TopologyNodeSchema = object({
|
|
|
20948
21285
|
status: string()
|
|
20949
21286
|
})).readonly(),
|
|
20950
21287
|
processes: array(TopologyProcessSchema).readonly(),
|
|
20951
|
-
categories: array(TopologyCategorySchema).readonly()
|
|
21288
|
+
categories: array(TopologyCategorySchema).readonly(),
|
|
21289
|
+
rootPackage: TopologyRootPackageSchema.nullable()
|
|
20952
21290
|
});
|
|
20953
21291
|
var CapUsageEdgeSchema = object({
|
|
20954
21292
|
callerAddonId: string(),
|
|
@@ -24072,6 +24410,12 @@ Object.freeze({
|
|
|
24072
24410
|
addonId: null,
|
|
24073
24411
|
access: "create"
|
|
24074
24412
|
},
|
|
24413
|
+
"loginMethod.getLoginMethods": {
|
|
24414
|
+
capName: "login-method",
|
|
24415
|
+
capScope: "system",
|
|
24416
|
+
addonId: null,
|
|
24417
|
+
access: "view"
|
|
24418
|
+
},
|
|
24075
24419
|
"mediaPlayer.next": {
|
|
24076
24420
|
capName: "media-player",
|
|
24077
24421
|
capScope: "device",
|
|
@@ -24654,6 +24998,12 @@ Object.freeze({
|
|
|
24654
24998
|
addonId: null,
|
|
24655
24999
|
access: "view"
|
|
24656
25000
|
},
|
|
25001
|
+
"pipelineAnalytics.getKeyEvents": {
|
|
25002
|
+
capName: "pipeline-analytics",
|
|
25003
|
+
capScope: "device",
|
|
25004
|
+
addonId: null,
|
|
25005
|
+
access: "view"
|
|
25006
|
+
},
|
|
24657
25007
|
"pipelineAnalytics.getMotionEvents": {
|
|
24658
25008
|
capName: "pipeline-analytics",
|
|
24659
25009
|
capScope: "device",
|
|
@@ -24702,23 +25052,23 @@ Object.freeze({
|
|
|
24702
25052
|
addonId: null,
|
|
24703
25053
|
access: "create"
|
|
24704
25054
|
},
|
|
24705
|
-
"pipelineExecutor.
|
|
25055
|
+
"pipelineExecutor.clearDeviceOverrides": {
|
|
24706
25056
|
capName: "pipeline-executor",
|
|
24707
25057
|
capScope: "system",
|
|
24708
25058
|
addonId: null,
|
|
24709
25059
|
access: "delete"
|
|
24710
25060
|
},
|
|
24711
|
-
"pipelineExecutor.
|
|
25061
|
+
"pipelineExecutor.deleteModel": {
|
|
24712
25062
|
capName: "pipeline-executor",
|
|
24713
25063
|
capScope: "system",
|
|
24714
25064
|
addonId: null,
|
|
24715
25065
|
access: "delete"
|
|
24716
25066
|
},
|
|
24717
|
-
"pipelineExecutor.
|
|
25067
|
+
"pipelineExecutor.deleteTemplate": {
|
|
24718
25068
|
capName: "pipeline-executor",
|
|
24719
25069
|
capScope: "system",
|
|
24720
25070
|
addonId: null,
|
|
24721
|
-
access: "
|
|
25071
|
+
access: "delete"
|
|
24722
25072
|
},
|
|
24723
25073
|
"pipelineExecutor.downloadModel": {
|
|
24724
25074
|
capName: "pipeline-executor",
|
|
@@ -24864,12 +25214,6 @@ Object.freeze({
|
|
|
24864
25214
|
addonId: null,
|
|
24865
25215
|
access: "create"
|
|
24866
25216
|
},
|
|
24867
|
-
"pipelineExecutor.resetToDefault": {
|
|
24868
|
-
capName: "pipeline-executor",
|
|
24869
|
-
capScope: "system",
|
|
24870
|
-
addonId: null,
|
|
24871
|
-
access: "delete"
|
|
24872
|
-
},
|
|
24873
25217
|
"pipelineExecutor.runAudioTest": {
|
|
24874
25218
|
capName: "pipeline-executor",
|
|
24875
25219
|
capScope: "system",
|
|
@@ -24930,12 +25274,6 @@ Object.freeze({
|
|
|
24930
25274
|
addonId: null,
|
|
24931
25275
|
access: "create"
|
|
24932
25276
|
},
|
|
24933
|
-
"pipelineOrchestrator.assignDecoder": {
|
|
24934
|
-
capName: "pipeline-orchestrator",
|
|
24935
|
-
capScope: "system",
|
|
24936
|
-
addonId: null,
|
|
24937
|
-
access: "create"
|
|
24938
|
-
},
|
|
24939
25277
|
"pipelineOrchestrator.assignPipeline": {
|
|
24940
25278
|
capName: "pipeline-orchestrator",
|
|
24941
25279
|
capScope: "system",
|
|
@@ -25014,18 +25352,6 @@ Object.freeze({
|
|
|
25014
25352
|
addonId: null,
|
|
25015
25353
|
access: "view"
|
|
25016
25354
|
},
|
|
25017
|
-
"pipelineOrchestrator.getDecoderAssignment": {
|
|
25018
|
-
capName: "pipeline-orchestrator",
|
|
25019
|
-
capScope: "system",
|
|
25020
|
-
addonId: null,
|
|
25021
|
-
access: "view"
|
|
25022
|
-
},
|
|
25023
|
-
"pipelineOrchestrator.getDecoderAssignments": {
|
|
25024
|
-
capName: "pipeline-orchestrator",
|
|
25025
|
-
capScope: "system",
|
|
25026
|
-
addonId: null,
|
|
25027
|
-
access: "view"
|
|
25028
|
-
},
|
|
25029
25355
|
"pipelineOrchestrator.getGlobalMetrics": {
|
|
25030
25356
|
capName: "pipeline-orchestrator",
|
|
25031
25357
|
capScope: "system",
|
|
@@ -25074,6 +25400,12 @@ Object.freeze({
|
|
|
25074
25400
|
addonId: null,
|
|
25075
25401
|
access: "delete"
|
|
25076
25402
|
},
|
|
25403
|
+
"pipelineOrchestrator.resetNodePipelineDefaults": {
|
|
25404
|
+
capName: "pipeline-orchestrator",
|
|
25405
|
+
capScope: "system",
|
|
25406
|
+
addonId: null,
|
|
25407
|
+
access: "delete"
|
|
25408
|
+
},
|
|
25077
25409
|
"pipelineOrchestrator.resolvePipeline": {
|
|
25078
25410
|
capName: "pipeline-orchestrator",
|
|
25079
25411
|
capScope: "system",
|
|
@@ -25146,12 +25478,6 @@ Object.freeze({
|
|
|
25146
25478
|
addonId: null,
|
|
25147
25479
|
access: "create"
|
|
25148
25480
|
},
|
|
25149
|
-
"pipelineOrchestrator.unassignDecoder": {
|
|
25150
|
-
capName: "pipeline-orchestrator",
|
|
25151
|
-
capScope: "system",
|
|
25152
|
-
addonId: null,
|
|
25153
|
-
access: "create"
|
|
25154
|
-
},
|
|
25155
25481
|
"pipelineOrchestrator.unassignPipeline": {
|
|
25156
25482
|
capName: "pipeline-orchestrator",
|
|
25157
25483
|
capScope: "system",
|
|
@@ -25206,6 +25532,12 @@ Object.freeze({
|
|
|
25206
25532
|
addonId: null,
|
|
25207
25533
|
access: "view"
|
|
25208
25534
|
},
|
|
25535
|
+
"pipelineRunner.getNativeCrop": {
|
|
25536
|
+
capName: "pipeline-runner",
|
|
25537
|
+
capScope: "system",
|
|
25538
|
+
addonId: null,
|
|
25539
|
+
access: "view"
|
|
25540
|
+
},
|
|
25209
25541
|
"pipelineRunner.reportMotion": {
|
|
25210
25542
|
capName: "pipeline-runner",
|
|
25211
25543
|
capScope: "system",
|
|
@@ -25458,6 +25790,36 @@ Object.freeze({
|
|
|
25458
25790
|
addonId: null,
|
|
25459
25791
|
access: "create"
|
|
25460
25792
|
},
|
|
25793
|
+
"serverManagement.applyServerUpdate": {
|
|
25794
|
+
capName: "server-management",
|
|
25795
|
+
capScope: "system",
|
|
25796
|
+
addonId: null,
|
|
25797
|
+
access: "create"
|
|
25798
|
+
},
|
|
25799
|
+
"serverManagement.checkServerUpdate": {
|
|
25800
|
+
capName: "server-management",
|
|
25801
|
+
capScope: "system",
|
|
25802
|
+
addonId: null,
|
|
25803
|
+
access: "create"
|
|
25804
|
+
},
|
|
25805
|
+
"serverManagement.getServerPackageStatus": {
|
|
25806
|
+
capName: "server-management",
|
|
25807
|
+
capScope: "system",
|
|
25808
|
+
addonId: null,
|
|
25809
|
+
access: "view"
|
|
25810
|
+
},
|
|
25811
|
+
"serverManagement.restartServer": {
|
|
25812
|
+
capName: "server-management",
|
|
25813
|
+
capScope: "system",
|
|
25814
|
+
addonId: null,
|
|
25815
|
+
access: "create"
|
|
25816
|
+
},
|
|
25817
|
+
"serverManagement.rollbackServerUpdate": {
|
|
25818
|
+
capName: "server-management",
|
|
25819
|
+
capScope: "system",
|
|
25820
|
+
addonId: null,
|
|
25821
|
+
access: "create"
|
|
25822
|
+
},
|
|
25461
25823
|
"settingsStore.count": {
|
|
25462
25824
|
capName: "settings-store",
|
|
25463
25825
|
capScope: "system",
|
|
@@ -25542,6 +25904,12 @@ Object.freeze({
|
|
|
25542
25904
|
addonId: null,
|
|
25543
25905
|
access: "view"
|
|
25544
25906
|
},
|
|
25907
|
+
"snapshot.getSnapshotOverview": {
|
|
25908
|
+
capName: "snapshot",
|
|
25909
|
+
capScope: "device",
|
|
25910
|
+
addonId: null,
|
|
25911
|
+
access: "view"
|
|
25912
|
+
},
|
|
25545
25913
|
"snapshot.invalidateCache": {
|
|
25546
25914
|
capName: "snapshot",
|
|
25547
25915
|
capScope: "device",
|
|
@@ -26220,6 +26588,12 @@ Object.freeze({
|
|
|
26220
26588
|
addonId: null,
|
|
26221
26589
|
access: "view"
|
|
26222
26590
|
},
|
|
26591
|
+
"userPasskeys.beginDiscoverableAuthentication": {
|
|
26592
|
+
capName: "user-passkeys",
|
|
26593
|
+
capScope: "system",
|
|
26594
|
+
addonId: null,
|
|
26595
|
+
access: "view"
|
|
26596
|
+
},
|
|
26223
26597
|
"userPasskeys.beginRegistration": {
|
|
26224
26598
|
capName: "user-passkeys",
|
|
26225
26599
|
capScope: "system",
|
|
@@ -26232,12 +26606,24 @@ Object.freeze({
|
|
|
26232
26606
|
addonId: null,
|
|
26233
26607
|
access: "view"
|
|
26234
26608
|
},
|
|
26609
|
+
"userPasskeys.finishDiscoverableAuthentication": {
|
|
26610
|
+
capName: "user-passkeys",
|
|
26611
|
+
capScope: "system",
|
|
26612
|
+
addonId: null,
|
|
26613
|
+
access: "view"
|
|
26614
|
+
},
|
|
26235
26615
|
"userPasskeys.finishRegistration": {
|
|
26236
26616
|
capName: "user-passkeys",
|
|
26237
26617
|
capScope: "system",
|
|
26238
26618
|
addonId: null,
|
|
26239
26619
|
access: "create"
|
|
26240
26620
|
},
|
|
26621
|
+
"userPasskeys.getSecondFactorPreference": {
|
|
26622
|
+
capName: "user-passkeys",
|
|
26623
|
+
capScope: "system",
|
|
26624
|
+
addonId: null,
|
|
26625
|
+
access: "view"
|
|
26626
|
+
},
|
|
26241
26627
|
"userPasskeys.listPasskeys": {
|
|
26242
26628
|
capName: "user-passkeys",
|
|
26243
26629
|
capScope: "system",
|
|
@@ -26250,6 +26636,12 @@ Object.freeze({
|
|
|
26250
26636
|
addonId: null,
|
|
26251
26637
|
access: "delete"
|
|
26252
26638
|
},
|
|
26639
|
+
"userPasskeys.setSecondFactorPreference": {
|
|
26640
|
+
capName: "user-passkeys",
|
|
26641
|
+
capScope: "system",
|
|
26642
|
+
addonId: null,
|
|
26643
|
+
access: "create"
|
|
26644
|
+
},
|
|
26253
26645
|
"vacuumControl.locate": {
|
|
26254
26646
|
capName: "vacuum-control",
|
|
26255
26647
|
capScope: "device",
|
|
@@ -26322,6 +26714,18 @@ Object.freeze({
|
|
|
26322
26714
|
addonId: null,
|
|
26323
26715
|
access: "view"
|
|
26324
26716
|
},
|
|
26717
|
+
"viewerUi.getStaticDir": {
|
|
26718
|
+
capName: "viewer-ui",
|
|
26719
|
+
capScope: "system",
|
|
26720
|
+
addonId: null,
|
|
26721
|
+
access: "view"
|
|
26722
|
+
},
|
|
26723
|
+
"viewerUi.getVersion": {
|
|
26724
|
+
capName: "viewer-ui",
|
|
26725
|
+
capScope: "system",
|
|
26726
|
+
addonId: null,
|
|
26727
|
+
access: "view"
|
|
26728
|
+
},
|
|
26325
26729
|
"waterHeater.setAway": {
|
|
26326
26730
|
capName: "water-heater",
|
|
26327
26731
|
capScope: "device",
|