@camstack/addon-provider-petkit 0.1.6 → 0.1.8
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 +715 -288
- package/dist/addon.mjs +715 -288
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -4644,7 +4644,7 @@ function preprocess(fn, schema) {
|
|
|
4644
4644
|
});
|
|
4645
4645
|
}
|
|
4646
4646
|
//#endregion
|
|
4647
|
-
//#region ../types/dist/sleep-
|
|
4647
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4648
4648
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4649
4649
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4650
4650
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -4830,6 +4830,18 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
4830
4830
|
*/
|
|
4831
4831
|
EventCategory["PipelineCameraUpdated"] = "pipeline.camera-updated";
|
|
4832
4832
|
/**
|
|
4833
|
+
* The cluster camera-source OWNER changed (`clusterRoles.ingestNode`).
|
|
4834
|
+
* Emitted by addon-pipeline-orchestrator whenever it (re)derives node
|
|
4835
|
+
* capabilities — at boot, on agent online/offline, and on an ingest-node
|
|
4836
|
+
* flip. Carries the resolved `ownerNodeId`. The stream-broker consumes it to
|
|
4837
|
+
* keep its ingest-owner-gate decision current WITHOUT a per-`ensureBroker`
|
|
4838
|
+
* cross-process `getIngestOwner` query (push the authority's decision instead
|
|
4839
|
+
* of polling it on the hot path). Idempotent state — re-emitted on every
|
|
4840
|
+
* topology change, so a dropped event self-heals on the next one (plus the
|
|
4841
|
+
* broker's long backstop reconcile query).
|
|
4842
|
+
*/
|
|
4843
|
+
EventCategory["PipelineIngestOwnerChanged"] = "pipeline.ingest-owner-changed";
|
|
4844
|
+
/**
|
|
4833
4845
|
* Periodic snapshot of per-node pipeline-runner load
|
|
4834
4846
|
* (`RunnerLocalLoad`). Emitted ~1Hz by every runner so UI dashboards
|
|
4835
4847
|
* subscribe instead of polling `pipelineRunner.getLocalLoad`.
|
|
@@ -5353,10 +5365,6 @@ function hydrateField(field, values) {
|
|
|
5353
5365
|
};
|
|
5354
5366
|
}
|
|
5355
5367
|
const rawValue = storedValue !== void 0 ? storedValue : defaultValue !== void 0 ? defaultValue : null;
|
|
5356
|
-
if (field.type === "password") return {
|
|
5357
|
-
...field,
|
|
5358
|
-
value: ""
|
|
5359
|
-
};
|
|
5360
5368
|
const value = field.type === "textarea" && field.isJson && rawValue !== null && typeof rawValue === "object" ? JSON.stringify(rawValue, null, 2) : rawValue;
|
|
5361
5369
|
return {
|
|
5362
5370
|
...field,
|
|
@@ -6740,10 +6748,25 @@ function method(input, output, options) {
|
|
|
6740
6748
|
timeoutMs: options?.timeoutMs
|
|
6741
6749
|
};
|
|
6742
6750
|
}
|
|
6751
|
+
/**
|
|
6752
|
+
* A wrapper/system-only method: served exclusively by the cap's system-level
|
|
6753
|
+
* provider (`InferProvider`), and OPTIONAL on `InferNativeProvider` so per-device
|
|
6754
|
+
* driver natives don't stub out a wrapper concern (e.g. a cross-device cache
|
|
6755
|
+
* overview). The `systemOnly: true` literal is what `InferNativeProvider` keys on.
|
|
6756
|
+
*/
|
|
6757
|
+
function systemMethod(input, output, options) {
|
|
6758
|
+
return {
|
|
6759
|
+
...method(input, output, options),
|
|
6760
|
+
systemOnly: true
|
|
6761
|
+
};
|
|
6762
|
+
}
|
|
6743
6763
|
/** Shorthand to define an event schema */
|
|
6744
6764
|
function event(data) {
|
|
6745
6765
|
return { data };
|
|
6746
6766
|
}
|
|
6767
|
+
var StaticDirOutputSchema$1 = object({ staticDir: string() });
|
|
6768
|
+
var VersionOutputSchema$1 = object({ version: string() });
|
|
6769
|
+
method(_void(), StaticDirOutputSchema$1), method(_void(), VersionOutputSchema$1);
|
|
6747
6770
|
var StaticDirOutputSchema = object({ staticDir: string() });
|
|
6748
6771
|
var VersionOutputSchema = object({ version: string() });
|
|
6749
6772
|
method(_void(), StaticDirOutputSchema), method(_void(), VersionOutputSchema);
|
|
@@ -6925,6 +6948,36 @@ var ModelFormatsSchema = object({
|
|
|
6925
6948
|
tflite: ModelFormatEntrySchema.optional(),
|
|
6926
6949
|
pt: ModelFormatEntrySchema.optional()
|
|
6927
6950
|
});
|
|
6951
|
+
/**
|
|
6952
|
+
* Variant-selector grouping axes. Shared by the full `ModelCatalogEntry` and by
|
|
6953
|
+
* the reduced `PipelineModelOption` returned in `pipeline.getSchema()` so the
|
|
6954
|
+
* grouped Family→Tier→Variant picker renders identically in the config UI and
|
|
6955
|
+
* in the pipeline/device steppers. The flat `id` stays the source of truth for
|
|
6956
|
+
* resolution/download/persistence; this is a presentation overlay resolved back
|
|
6957
|
+
* to an `id`.
|
|
6958
|
+
*/
|
|
6959
|
+
var ModelVariantGroupSchema = object({
|
|
6960
|
+
/** Top-level family, e.g. `yolo26` (later `d-fine`, `rf-detr`). */
|
|
6961
|
+
family: string(),
|
|
6962
|
+
/** Size within the family, e.g. `n` | `s` | `m` | `l`. */
|
|
6963
|
+
tier: string(),
|
|
6964
|
+
/** Quantization axis. Omit ⇒ the fp32 base build. */
|
|
6965
|
+
precision: _enum(["fp32", "int8"]).optional(),
|
|
6966
|
+
/**
|
|
6967
|
+
* Speed-optimization axis. Omit ⇒ the standard build. `fast` marks a
|
|
6968
|
+
* latency-optimized export (e.g. ReLU-activation variant) — the slot the
|
|
6969
|
+
* future performance variants plug into.
|
|
6970
|
+
*/
|
|
6971
|
+
optimization: _enum(["standard", "fast"]).optional(),
|
|
6972
|
+
/**
|
|
6973
|
+
* Input-resolution axis (square input side, px). Omit ⇒ the family's native
|
|
6974
|
+
* resolution (640 for yolo26). Reduced-input builds (320 / 256) are a big,
|
|
6975
|
+
* cheap latency lever — especially on Apple ANE and the Intel N100 — at a
|
|
6976
|
+
* small-object accuracy cost. Mirrors the model's `inputSize` but lifted onto
|
|
6977
|
+
* the group so the selector can offer it as a variant axis.
|
|
6978
|
+
*/
|
|
6979
|
+
resolution: number().int().positive().optional()
|
|
6980
|
+
});
|
|
6928
6981
|
var ModelCatalogEntrySchema = object({
|
|
6929
6982
|
id: string(),
|
|
6930
6983
|
name: string(),
|
|
@@ -6954,7 +7007,43 @@ var ModelCatalogEntrySchema = object({
|
|
|
6954
7007
|
* Auxiliary files required at runtime (labels JSON, charset dict, etc.).
|
|
6955
7008
|
* Downloaded into the same modelsDir alongside the model file.
|
|
6956
7009
|
*/
|
|
6957
|
-
extraFiles: array(ModelExtraFileSchema).readonly().optional()
|
|
7010
|
+
extraFiles: array(ModelExtraFileSchema).readonly().optional(),
|
|
7011
|
+
/**
|
|
7012
|
+
* LEGACY entry — retained in the catalog so a persisted operator selection
|
|
7013
|
+
* still RESOLVES (and can be re-activated), but hidden from the selectable
|
|
7014
|
+
* model list and excluded from the auto format-default pick. Set on the
|
|
7015
|
+
* superseded / consolidated models (older lineages, redundant fp16 IRs) so
|
|
7016
|
+
* the active lineup stays the coherent curated ladder without deleting a
|
|
7017
|
+
* model anyone may still be pinned to. `resolveModelForFormat` keeps honoring
|
|
7018
|
+
* an explicit legacy id that has a build for the node's format.
|
|
7019
|
+
*/
|
|
7020
|
+
legacy: boolean().optional(),
|
|
7021
|
+
/**
|
|
7022
|
+
* Measured quality/latency metadata — populated from the benchmark addon on
|
|
7023
|
+
* the real node classes. Absent = not yet measured (most entries today; the
|
|
7024
|
+
* catalog historically carried only `sizeMB`, a poor cross-architecture
|
|
7025
|
+
* speed proxy). `p95LatencyMs` is keyed by node class (e.g. `n100`, `mac`).
|
|
7026
|
+
*/
|
|
7027
|
+
metrics: object({
|
|
7028
|
+
map50: number().optional(),
|
|
7029
|
+
p95LatencyMs: record(string(), number()).optional()
|
|
7030
|
+
}).optional(),
|
|
7031
|
+
/**
|
|
7032
|
+
* SPDX-ish license id of the model weights (e.g. `AGPL-3.0` for Ultralytics
|
|
7033
|
+
* YOLO26, `GPL-3.0` for YOLOv9, `Apache-2.0` for D-FINE/RF-DETR). Matters for
|
|
7034
|
+
* the retraining addon and any future commercial distribution.
|
|
7035
|
+
*/
|
|
7036
|
+
license: string().optional(),
|
|
7037
|
+
/**
|
|
7038
|
+
* Variant-selector grouping. The UI groups models by `family` + `tier` and
|
|
7039
|
+
* offers `precision` / `optimization` as variant axes WITHIN a tier — so all
|
|
7040
|
+
* of a family's sizes and quantizations collapse into one grouped picker
|
|
7041
|
+
* instead of a flat list of `yolo26s`, `yolo26s-int8`, … Absent ⇒ ungrouped
|
|
7042
|
+
* (legacy / custom models) — never shown in the grouped selector. The flat
|
|
7043
|
+
* `id` stays the source of truth for resolution/download/persistence; grouping
|
|
7044
|
+
* is a presentation overlay resolved back to an `id`.
|
|
7045
|
+
*/
|
|
7046
|
+
group: ModelVariantGroupSchema.optional()
|
|
6958
7047
|
});
|
|
6959
7048
|
var ConvertTargetSchema = discriminatedUnion("format", [object({
|
|
6960
7049
|
format: literal("openvino"),
|
|
@@ -7015,8 +7104,8 @@ var RecordingModeSchema = _enum([
|
|
|
7015
7104
|
"onAudioThreshold"
|
|
7016
7105
|
]);
|
|
7017
7106
|
/**
|
|
7018
|
-
* First-class, authoritative per-camera storage mode — the
|
|
7019
|
-
* reads directly (never inferred from `rules`):
|
|
7107
|
+
* First-class, authoritative per-camera storage mode — the explicit choice the
|
|
7108
|
+
* UI reads directly (never inferred from `rules`):
|
|
7020
7109
|
* - `off` — not recording.
|
|
7021
7110
|
* - `events` — record only around triggers (motion / audio threshold),
|
|
7022
7111
|
* with pre/post-buffer.
|
|
@@ -9179,26 +9268,13 @@ onBrightnessChanged: { data: object({
|
|
|
9179
9268
|
*/
|
|
9180
9269
|
runtimeState: BrightnessStatusSchema
|
|
9181
9270
|
};
|
|
9271
|
+
/** Stream delivery format. (Relocated from the retired `streaming-engine` cap.) */
|
|
9182
9272
|
var StreamFormatSchema = _enum([
|
|
9183
9273
|
"webrtc",
|
|
9184
9274
|
"hls",
|
|
9185
9275
|
"mjpeg",
|
|
9186
9276
|
"rtsp"
|
|
9187
9277
|
]);
|
|
9188
|
-
var StreamInfoSchema = object({
|
|
9189
|
-
streamId: string(),
|
|
9190
|
-
format: StreamFormatSchema,
|
|
9191
|
-
url: string().nullable(),
|
|
9192
|
-
active: boolean()
|
|
9193
|
-
});
|
|
9194
|
-
method(object({
|
|
9195
|
-
streamId: string(),
|
|
9196
|
-
sourceUrl: string(),
|
|
9197
|
-
codec: string().optional()
|
|
9198
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
9199
|
-
streamId: string(),
|
|
9200
|
-
format: StreamFormatSchema
|
|
9201
|
-
}), string().nullable()), method(_void(), array(StreamInfoSchema));
|
|
9202
9278
|
var RtspRestreamEntrySchema = object({
|
|
9203
9279
|
brokerId: string(),
|
|
9204
9280
|
url: string(),
|
|
@@ -10066,37 +10142,7 @@ var consumablesCapability = {
|
|
|
10066
10142
|
scope: "device",
|
|
10067
10143
|
deviceNative: true,
|
|
10068
10144
|
mode: "singleton",
|
|
10069
|
-
deviceTypes:
|
|
10070
|
-
DeviceType.Camera,
|
|
10071
|
-
DeviceType.Hub,
|
|
10072
|
-
DeviceType.Light,
|
|
10073
|
-
DeviceType.Siren,
|
|
10074
|
-
DeviceType.Switch,
|
|
10075
|
-
DeviceType.Sensor,
|
|
10076
|
-
DeviceType.Thermostat,
|
|
10077
|
-
DeviceType.Button,
|
|
10078
|
-
DeviceType.EventEmitter,
|
|
10079
|
-
DeviceType.Update,
|
|
10080
|
-
DeviceType.Generic,
|
|
10081
|
-
DeviceType.Notifier,
|
|
10082
|
-
DeviceType.Script,
|
|
10083
|
-
DeviceType.Automation,
|
|
10084
|
-
DeviceType.Lock,
|
|
10085
|
-
DeviceType.Cover,
|
|
10086
|
-
DeviceType.Valve,
|
|
10087
|
-
DeviceType.Humidifier,
|
|
10088
|
-
DeviceType.WaterHeater,
|
|
10089
|
-
DeviceType.Fan,
|
|
10090
|
-
DeviceType.MediaPlayer,
|
|
10091
|
-
DeviceType.AlarmPanel,
|
|
10092
|
-
DeviceType.Control,
|
|
10093
|
-
DeviceType.Presence,
|
|
10094
|
-
DeviceType.Weather,
|
|
10095
|
-
DeviceType.Vacuum,
|
|
10096
|
-
DeviceType.LawnMower,
|
|
10097
|
-
DeviceType.Container,
|
|
10098
|
-
DeviceType.Image
|
|
10099
|
-
],
|
|
10145
|
+
deviceTypes: Object.values(DeviceType),
|
|
10100
10146
|
deviceConfig: { ui: {
|
|
10101
10147
|
kind: "widget",
|
|
10102
10148
|
widgetId: "host/consumables-panel",
|
|
@@ -11554,7 +11600,7 @@ var BoundingBoxSchema = object({
|
|
|
11554
11600
|
w: number(),
|
|
11555
11601
|
h: number()
|
|
11556
11602
|
});
|
|
11557
|
-
|
|
11603
|
+
object({
|
|
11558
11604
|
class: string(),
|
|
11559
11605
|
originalClass: string(),
|
|
11560
11606
|
score: number(),
|
|
@@ -11689,7 +11735,6 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
11689
11735
|
enabled: boolean(),
|
|
11690
11736
|
modelId: string(),
|
|
11691
11737
|
children: array(PipelineDefaultStepSchema).readonly(),
|
|
11692
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
11693
11738
|
group: string().optional(),
|
|
11694
11739
|
settings: record(string(), unknown()).optional()
|
|
11695
11740
|
}));
|
|
@@ -11714,7 +11759,9 @@ var PipelineModelOptionSchema = object({
|
|
|
11714
11759
|
formats: record(string(), object({
|
|
11715
11760
|
downloaded: boolean(),
|
|
11716
11761
|
sizeMB: number()
|
|
11717
|
-
}))
|
|
11762
|
+
})),
|
|
11763
|
+
group: ModelVariantGroupSchema.optional(),
|
|
11764
|
+
legacy: boolean().optional()
|
|
11718
11765
|
});
|
|
11719
11766
|
var ConfigFieldBridge = custom();
|
|
11720
11767
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -11728,6 +11775,7 @@ var PipelineAddonSchemaSchema = object({
|
|
|
11728
11775
|
defaultModelId: string(),
|
|
11729
11776
|
defaultModelIdByFormat: record(string(), string()).optional(),
|
|
11730
11777
|
enabledByDefault: boolean().optional(),
|
|
11778
|
+
backfillIntoExistingOverrides: boolean().optional(),
|
|
11731
11779
|
defaultConfidence: number(),
|
|
11732
11780
|
group: string().optional(),
|
|
11733
11781
|
configSchema: array(ConfigFieldBridge).readonly().optional()
|
|
@@ -11744,11 +11792,6 @@ var PipelineSchemaSchema = object({
|
|
|
11744
11792
|
selectedEngine: PipelineEngineChoiceSchema,
|
|
11745
11793
|
slots: array(PipelineSlotSchemaSchema).readonly()
|
|
11746
11794
|
});
|
|
11747
|
-
var DetectorOutputSchema = object({
|
|
11748
|
-
detections: array(SpatialDetectionSchema).readonly(),
|
|
11749
|
-
inferenceMs: number(),
|
|
11750
|
-
modelId: string()
|
|
11751
|
-
});
|
|
11752
11795
|
var EngineProvisioningSchema = object({
|
|
11753
11796
|
runtimeId: _enum([
|
|
11754
11797
|
"onnx",
|
|
@@ -11765,15 +11808,42 @@ var EngineProvisioningSchema = object({
|
|
|
11765
11808
|
]),
|
|
11766
11809
|
progress: number().optional(),
|
|
11767
11810
|
error: string().optional(),
|
|
11768
|
-
nextRetryAt: number().optional()
|
|
11811
|
+
nextRetryAt: number().optional(),
|
|
11812
|
+
/**
|
|
11813
|
+
* Gate A (config-correctness gate at engine change): human-readable
|
|
11814
|
+
* config issues surfaced EAGERLY when the node's engine changes — model
|
|
11815
|
+
* substitutions ("chose X, running Y") and zero-build steps ("no model
|
|
11816
|
+
* has a <format> build"). Additive/optional: informational only, never
|
|
11817
|
+
* enforced here — `assertEngineReady` (readiness) still gates inference.
|
|
11818
|
+
* Absent/empty when the node-default tree resolves cleanly.
|
|
11819
|
+
*/
|
|
11820
|
+
configIssues: array(string()).optional()
|
|
11769
11821
|
});
|
|
11770
11822
|
var PipelineStepInputSchema = lazy(() => object({
|
|
11771
11823
|
addonId: string(),
|
|
11772
|
-
modelId: string(),
|
|
11824
|
+
modelId: string().optional(),
|
|
11773
11825
|
enabled: boolean().default(true),
|
|
11774
11826
|
children: array(PipelineStepInputSchema).optional(),
|
|
11775
11827
|
settings: record(string(), unknown()).optional()
|
|
11776
11828
|
}));
|
|
11829
|
+
var ModelSubstitutionSchema = object({
|
|
11830
|
+
addonId: string(),
|
|
11831
|
+
chosen: string(),
|
|
11832
|
+
running: string(),
|
|
11833
|
+
format: string()
|
|
11834
|
+
});
|
|
11835
|
+
var PipelineValidationIssueSchema = object({
|
|
11836
|
+
addonId: string(),
|
|
11837
|
+
kind: _enum(["unknown-addon", "no-format-build"]),
|
|
11838
|
+
detail: string()
|
|
11839
|
+
});
|
|
11840
|
+
var PipelineValidationResultSchema = object({
|
|
11841
|
+
ok: boolean(),
|
|
11842
|
+
issues: array(PipelineValidationIssueSchema).readonly(),
|
|
11843
|
+
substitutions: array(ModelSubstitutionSchema).readonly(),
|
|
11844
|
+
/** The node's `currentEngine.format` this validation ran against. */
|
|
11845
|
+
format: string()
|
|
11846
|
+
});
|
|
11777
11847
|
var ReferenceImageEntrySchema = object({
|
|
11778
11848
|
filename: string(),
|
|
11779
11849
|
stepIds: array(string()).readonly().optional()
|
|
@@ -11844,7 +11914,13 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11844
11914
|
})) }), object({ success: literal(true) }), {
|
|
11845
11915
|
kind: "mutation",
|
|
11846
11916
|
auth: "admin"
|
|
11847
|
-
}), method(
|
|
11917
|
+
}), method(object({ nodeId: string() }), object({
|
|
11918
|
+
success: literal(true),
|
|
11919
|
+
clearedDevices: number()
|
|
11920
|
+
}), {
|
|
11921
|
+
kind: "mutation",
|
|
11922
|
+
auth: "admin"
|
|
11923
|
+
}), method(_void(), PipelineSchemaSchema), method(_void(), array(PipelineDefaultStepSchema).readonly().nullable()), method(_void(), PipelineConfigBridge), method(_void(), ConfigUISchemaBridge), method(object({ steps: array(PipelineStepInputSchema) }), PipelineValidationResultSchema), method(_void(), array(PipelineTemplateSchema$1).readonly()), method(object({
|
|
11848
11924
|
name: string(),
|
|
11849
11925
|
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
11850
11926
|
engine: PipelineEngineChoiceSchema
|
|
@@ -11861,10 +11937,6 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11861
11937
|
modelId: string(),
|
|
11862
11938
|
format: ModelFormatSchema$1
|
|
11863
11939
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
11864
|
-
addonId: string(),
|
|
11865
|
-
frame: FrameInputSchema,
|
|
11866
|
-
config: record(string(), unknown()).optional()
|
|
11867
|
-
}), DetectorOutputSchema), method(object({
|
|
11868
11940
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
11869
11941
|
steps: array(PipelineStepInputSchema).min(1),
|
|
11870
11942
|
frame: FrameInputSchema.optional(),
|
|
@@ -11885,7 +11957,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11885
11957
|
image: _instanceof(Uint8Array).optional(),
|
|
11886
11958
|
referenceImage: string().optional(),
|
|
11887
11959
|
deviceId: number().optional(),
|
|
11888
|
-
sessionId: string().optional()
|
|
11960
|
+
sessionId: string().optional(),
|
|
11961
|
+
/**
|
|
11962
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
11963
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
11964
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
11965
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
11966
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
11967
|
+
*/
|
|
11968
|
+
plane: _enum(["full", "frame"]).optional()
|
|
11889
11969
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
11890
11970
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
11891
11971
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -12043,6 +12123,47 @@ var zonesCapability = {
|
|
|
12043
12123
|
runtimeState: object({ zones: array(ZoneSchema).readonly() })
|
|
12044
12124
|
};
|
|
12045
12125
|
/**
|
|
12126
|
+
* A bounding box in NORMALIZED [0,1] frame coordinates for `getNativeCrop`. The
|
|
12127
|
+
* decode worker resolves it against the RETAINED native frame's real pixel dims,
|
|
12128
|
+
* so the caller supplies only the detection-res bbox divided by the detection
|
|
12129
|
+
* dims — no native resolution to plumb.
|
|
12130
|
+
*/
|
|
12131
|
+
var NativeCropBboxSchema = object({
|
|
12132
|
+
x: number(),
|
|
12133
|
+
y: number(),
|
|
12134
|
+
w: number(),
|
|
12135
|
+
h: number()
|
|
12136
|
+
});
|
|
12137
|
+
/** Result of a best-effort native-resolution crop (`getNativeCrop`). */
|
|
12138
|
+
var NativeCropResultSchema = object({
|
|
12139
|
+
/** Packed rgb (24-bit) pixels of the crop. */
|
|
12140
|
+
bytes: _instanceof(Uint8Array),
|
|
12141
|
+
width: number().int().positive(),
|
|
12142
|
+
height: number().int().positive()
|
|
12143
|
+
});
|
|
12144
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
12145
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
12146
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
12147
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
12148
|
+
* normalized [0,1] convention). */
|
|
12149
|
+
var DetailParentSchema = object({
|
|
12150
|
+
bbox: NativeCropBboxSchema,
|
|
12151
|
+
className: string()
|
|
12152
|
+
});
|
|
12153
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
12154
|
+
* or refined detection produced by running the crop-subtree on a
|
|
12155
|
+
* single tracked detection. */
|
|
12156
|
+
var DetailResultSchema = object({
|
|
12157
|
+
stepId: string(),
|
|
12158
|
+
className: string(),
|
|
12159
|
+
score: number(),
|
|
12160
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
12161
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
12162
|
+
embedding: string().optional(),
|
|
12163
|
+
label: string().optional(),
|
|
12164
|
+
alignedCropJpeg: string().optional()
|
|
12165
|
+
});
|
|
12166
|
+
/**
|
|
12046
12167
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
12047
12168
|
* by both the Zod data schema (validation + default fallback) and
|
|
12048
12169
|
* the device settings UI (slider min/max/step). Touch one place and
|
|
@@ -12137,6 +12258,13 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
12137
12258
|
kind: literal("remote-restream"),
|
|
12138
12259
|
/** The camera's source-owner node (slice 1: always the hub). */
|
|
12139
12260
|
ownerNodeId: string(),
|
|
12261
|
+
/**
|
|
12262
|
+
* The owner's LAN-reachable host, resolved by the orchestrator from the
|
|
12263
|
+
* per-node `reachableHost` override (Cluster UI). When present the runner
|
|
12264
|
+
* dials THIS host for the owner's restream, in preference to the
|
|
12265
|
+
* `CAMSTACK_HUB_URL`-derived default. Absent → auto-detect fallback.
|
|
12266
|
+
*/
|
|
12267
|
+
ownerReachableHost: string().optional(),
|
|
12140
12268
|
/** Operator override for the owner host the runner dials. */
|
|
12141
12269
|
hubHostnameOverride: string().optional()
|
|
12142
12270
|
})]).describe("Per-camera frame-source mode for the runner (P2c)");
|
|
@@ -12145,13 +12273,11 @@ var RunnerFrameSourceSchema = discriminatedUnion("kind", [object({ kind: literal
|
|
|
12145
12273
|
* specific runner instance via `attachCamera`. Carries everything the
|
|
12146
12274
|
* runner needs to subscribe to the local broker and execute inference.
|
|
12147
12275
|
*
|
|
12148
|
-
* Stateless-pipeline model: the
|
|
12149
|
-
*
|
|
12150
|
-
*
|
|
12151
|
-
*
|
|
12152
|
-
*
|
|
12153
|
-
* `engine`/`steps`/`audio` are optional during the additive migration
|
|
12154
|
-
* window; once orchestrator + UI are migrated they become required.
|
|
12276
|
+
* Stateless-pipeline model: the pipeline content (`steps`, optional
|
|
12277
|
+
* `audio`) travels with the attach payload. The runner keeps it in RAM
|
|
12278
|
+
* for the lifetime of the attach — on rebalance, edit, or restart the
|
|
12279
|
+
* orchestrator re-sends the latest snapshot. Engine is NOT carried: it is
|
|
12280
|
+
* node-local, resolved by the executing runner at dispatch time.
|
|
12155
12281
|
*/
|
|
12156
12282
|
var RunnerCameraConfigSchema = object({
|
|
12157
12283
|
deviceId: number(),
|
|
@@ -12202,14 +12328,11 @@ var RunnerCameraConfigSchema = object({
|
|
|
12202
12328
|
*/
|
|
12203
12329
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
12204
12330
|
pipelineEnabled: boolean().default(true),
|
|
12205
|
-
/** Engine choice for video steps (runtime+backend+format). */
|
|
12206
|
-
engine: PipelineEngineChoiceSchema.optional(),
|
|
12207
12331
|
/** Ordered tree of video steps. Absent → runner skips video detection. */
|
|
12208
12332
|
steps: array(PipelineStepInputSchema).readonly().optional(),
|
|
12209
12333
|
/** Audio classification branch. `enabled:false` disables, null skips. */
|
|
12210
12334
|
audio: object({
|
|
12211
|
-
|
|
12212
|
-
modelId: string(),
|
|
12335
|
+
modelId: string().optional(),
|
|
12213
12336
|
enabled: boolean()
|
|
12214
12337
|
}).nullable().optional(),
|
|
12215
12338
|
/**
|
|
@@ -12296,7 +12419,17 @@ var RunnerLocalMetricsSchema = object({
|
|
|
12296
12419
|
avgInferenceTimeMs: number(),
|
|
12297
12420
|
queueDepth: number()
|
|
12298
12421
|
});
|
|
12299
|
-
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())
|
|
12422
|
+
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({
|
|
12423
|
+
handle: FrameHandleSchema,
|
|
12424
|
+
bbox: NativeCropBboxSchema,
|
|
12425
|
+
maxWidth: number().int().positive().optional()
|
|
12426
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
12427
|
+
deviceId: number(),
|
|
12428
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
12429
|
+
cropJpeg: string().optional(),
|
|
12430
|
+
parent: DetailParentSchema,
|
|
12431
|
+
steps: array(string()).optional()
|
|
12432
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
12300
12433
|
/**
|
|
12301
12434
|
* Hardware / firmware motion sensor cap — binary detected state plus
|
|
12302
12435
|
* a timestamp of the last observation. Distinct from
|
|
@@ -15227,7 +15360,9 @@ var AddonPageDeclarationSchema$1 = object({
|
|
|
15227
15360
|
icon: string(),
|
|
15228
15361
|
path: string(),
|
|
15229
15362
|
remoteName: string(),
|
|
15230
|
-
bundle: string()
|
|
15363
|
+
bundle: string(),
|
|
15364
|
+
section: string().optional(),
|
|
15365
|
+
sectionLabel: string().optional()
|
|
15231
15366
|
});
|
|
15232
15367
|
var AddonPageInfoSchema = object({
|
|
15233
15368
|
addonId: string(),
|
|
@@ -15267,7 +15402,18 @@ var AddonPageDeclarationSchema = object({
|
|
|
15267
15402
|
* the static-file route can compute an mtime-based cache-buster URL
|
|
15268
15403
|
* without a separate filesystem stat.
|
|
15269
15404
|
*/
|
|
15270
|
-
bundle: string()
|
|
15405
|
+
bundle: string(),
|
|
15406
|
+
/**
|
|
15407
|
+
* Sidebar section this page docks into. Well-known ids: `'detection'`,
|
|
15408
|
+
* `'cluster'`, `'administration'` — the page renders inside that group.
|
|
15409
|
+
* Any OTHER string creates (or joins) a custom section rendered after
|
|
15410
|
+
* the built-in groups; its label comes from `sectionLabel` (first
|
|
15411
|
+
* declaration wins), falling back to the id. Absent → the legacy
|
|
15412
|
+
* "Addon Pages" group.
|
|
15413
|
+
*/
|
|
15414
|
+
section: string().optional(),
|
|
15415
|
+
/** Display label for a CUSTOM `section` id (ignored for well-known ids). */
|
|
15416
|
+
sectionLabel: string().optional()
|
|
15271
15417
|
});
|
|
15272
15418
|
method(_void(), array(AddonPageDeclarationSchema).readonly());
|
|
15273
15419
|
var AddonHttpRouteSchema = object({
|
|
@@ -15483,6 +15629,17 @@ var WidgetMetadataSchema = object({
|
|
|
15483
15629
|
deviceContext: boolean().default(false),
|
|
15484
15630
|
integrationContext: boolean().default(false)
|
|
15485
15631
|
}),
|
|
15632
|
+
/**
|
|
15633
|
+
* Loadable BEFORE authentication. The normal widget registry listing
|
|
15634
|
+
* (`addon-widgets.listWidgets`) is auth-gated, so a pre-auth surface
|
|
15635
|
+
* (the login page) cannot discover a widget through it. A widget that
|
|
15636
|
+
* declares `preAuth: true` marks itself as safe to mount on a pre-auth
|
|
15637
|
+
* screen — it is surfaced through the PUBLIC `auth.listLoginMethods`
|
|
15638
|
+
* login-method contribution channel (see `login-method.cap.ts`) rather
|
|
15639
|
+
* than the authenticated registry, and its bundle is served by the
|
|
15640
|
+
* public `/api/addon-widgets/:addonId/*` static route. Defaults false.
|
|
15641
|
+
*/
|
|
15642
|
+
preAuth: boolean().optional().default(false),
|
|
15486
15643
|
/** Dashboard placement HINTS (operator can override per instance). */
|
|
15487
15644
|
defaultSize: WidgetSizeEnum.default("md"),
|
|
15488
15645
|
allowedSizes: array(WidgetSizeEnum).readonly().default([
|
|
@@ -15784,6 +15941,66 @@ method(object({
|
|
|
15784
15941
|
password: string()
|
|
15785
15942
|
}), AuthResultSchema.nullable(), { kind: "mutation" }), method(object({ state: string() }), string()), method(record(string(), string()), AuthResultSchema, { kind: "mutation" }), method(object({ token: string() }), AuthResultSchema.nullable());
|
|
15786
15943
|
/**
|
|
15944
|
+
* `login-method` — collection cap through which auth addons contribute
|
|
15945
|
+
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
15946
|
+
* generic mechanism that supersedes the dead `auth.listProviders` reader:
|
|
15947
|
+
* every auth addon (OIDC, magic-link, WebAuthn/passkey) registers a
|
|
15948
|
+
* `login-method` provider and the PUBLIC `auth.listLoginMethods`
|
|
15949
|
+
* procedure aggregates them for the unauthenticated login page.
|
|
15950
|
+
*
|
|
15951
|
+
* A contribution is a discriminated union on `kind`:
|
|
15952
|
+
*
|
|
15953
|
+
* - `redirect` — a declarative button. The login page renders a generic
|
|
15954
|
+
* button that navigates to `startUrl` (an addon-owned HTTP route).
|
|
15955
|
+
* Covers OIDC (`/addon/auth-oidc/<id>/start`) and magic-link with
|
|
15956
|
+
* ZERO shell-side JS. A future SSO addon plugs in the same way — the
|
|
15957
|
+
* login page needs NO change.
|
|
15958
|
+
*
|
|
15959
|
+
* - `widget` — a Module-Federation widget the login page mounts (via
|
|
15960
|
+
* `loadRemoteBundle`) for an in-page ceremony. Covers the passkey
|
|
15961
|
+
* login ceremony, which must run `@simplewebauthn/browser` INSIDE the
|
|
15962
|
+
* addon bundle. The referenced widget also declares `preAuth: true` in
|
|
15963
|
+
* its `addon-widgets-source` catalog entry. `auth.listLoginMethods`
|
|
15964
|
+
* stamps a public `bundleUrl` from `addonId` + `bundle`.
|
|
15965
|
+
*
|
|
15966
|
+
* Every contribution carries a `stage`:
|
|
15967
|
+
* - `primary` — shown on the first credentials screen (OIDC /
|
|
15968
|
+
* magic-link buttons; a future usernameless passkey).
|
|
15969
|
+
* - `second-factor` — shown AFTER the password leg, gated on the
|
|
15970
|
+
* returned `factors` (passkey-as-2FA today).
|
|
15971
|
+
*
|
|
15972
|
+
* `mount: skip` — the cap is read server-side by the core auth router
|
|
15973
|
+
* (`registry.getCollection('login-method')`), never mounted as its own
|
|
15974
|
+
* tRPC router.
|
|
15975
|
+
*/
|
|
15976
|
+
/** When a login method renders in the two-phase login flow. */
|
|
15977
|
+
var LoginStageEnum = _enum(["primary", "second-factor"]);
|
|
15978
|
+
/** One login-method contribution — redirect button OR pre-auth widget. */
|
|
15979
|
+
var LoginMethodContributionSchema = discriminatedUnion("kind", [object({
|
|
15980
|
+
kind: literal("redirect"),
|
|
15981
|
+
/** Stable id within the login-method set (e.g. `auth-oidc/google`). */
|
|
15982
|
+
id: string(),
|
|
15983
|
+
/** Operator-facing button label. */
|
|
15984
|
+
label: string(),
|
|
15985
|
+
/** lucide-react icon name. */
|
|
15986
|
+
icon: string().optional(),
|
|
15987
|
+
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
15988
|
+
startUrl: string(),
|
|
15989
|
+
stage: LoginStageEnum
|
|
15990
|
+
}), object({
|
|
15991
|
+
kind: literal("widget"),
|
|
15992
|
+
/** Stable id within the login-method set (e.g. `auth-webauthn/passkey-login`). */
|
|
15993
|
+
id: string(),
|
|
15994
|
+
/** Owning addon id — drives the public bundle URL + the MF namespace. */
|
|
15995
|
+
addonId: string(),
|
|
15996
|
+
/** Bundle filename inside the addon's dist dir (`remoteEntry.js`). */
|
|
15997
|
+
bundle: string(),
|
|
15998
|
+
/** MF remote descriptor — `{ remoteName, exposedModule, componentKey }`. */
|
|
15999
|
+
remote: WidgetRemoteSchema,
|
|
16000
|
+
stage: LoginStageEnum
|
|
16001
|
+
})]);
|
|
16002
|
+
method(_void(), array(LoginMethodContributionSchema).readonly());
|
|
16003
|
+
/**
|
|
15787
16004
|
* Orchestrator-side destination metadata. The orchestrator computes
|
|
15788
16005
|
* `id = <addonId>:<subId>` from its provider lookup so consumers
|
|
15789
16006
|
* (admin UI, restore flow) see one canonical key.
|
|
@@ -17904,7 +18121,17 @@ var TrackSchema = object({
|
|
|
17904
18121
|
/** Cumulative normalized distance travelled (0..1 units = full frame width). */
|
|
17905
18122
|
totalDistance: number(),
|
|
17906
18123
|
state: TrackStateSchema,
|
|
17907
|
-
active: boolean()
|
|
18124
|
+
active: boolean(),
|
|
18125
|
+
/** Deterministic key-event importance score in [0,1] (server-computed at
|
|
18126
|
+
* track expiry, recomputed on late label). Absent on legacy rows written
|
|
18127
|
+
* before scoring shipped — consumers degrade to absence / compute-on-read. */
|
|
18128
|
+
importance: number().optional(),
|
|
18129
|
+
/** Id of the track's highest-confidence ObjectEvent (its representative
|
|
18130
|
+
* "best" frame). Absent when the track produced no object events. */
|
|
18131
|
+
bestEventId: string().optional(),
|
|
18132
|
+
/** Tag of the importance sub-signal that dominated the score
|
|
18133
|
+
* (identity|dwell|proximity|class|confidence|travel|zone). */
|
|
18134
|
+
importanceReason: string().optional()
|
|
17908
18135
|
});
|
|
17909
18136
|
var BaseEventFields = {
|
|
17910
18137
|
id: string(),
|
|
@@ -17969,8 +18196,18 @@ var ObjectEventSchema = object({
|
|
|
17969
18196
|
frameHeight: number().optional(),
|
|
17970
18197
|
/** MediaStore key for the crop attached to this event (if any). */
|
|
17971
18198
|
mediaKey: string().optional(),
|
|
18199
|
+
/** Design B: MediaStore key of the track's native-resolution key frame (the
|
|
18200
|
+
* best-detection full frame). Resolve via the event-media data-plane
|
|
18201
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
|
|
18202
|
+
* draws `bbox` over the native frame. Absent on legacy rows / non-decoded
|
|
18203
|
+
* sources — consumers fall back to `mediaKey` (the tight crop). */
|
|
18204
|
+
keyFrameMediaKey: string().optional(),
|
|
17972
18205
|
/** Populated by B5 (recording playback URL for this event). */
|
|
17973
|
-
mediaUrl: string().optional()
|
|
18206
|
+
mediaUrl: string().optional(),
|
|
18207
|
+
/** The parent track's key-event importance [0,1], propagated to every object
|
|
18208
|
+
* event of the track (so an event row can be sorted by importance without a
|
|
18209
|
+
* track join). Absent on legacy rows / before the track was scored. */
|
|
18210
|
+
importance: number().optional()
|
|
17974
18211
|
});
|
|
17975
18212
|
var AudioEventSchema = object({
|
|
17976
18213
|
...BaseEventFields,
|
|
@@ -17994,7 +18231,8 @@ var MediaFileKindEnum = _enum([
|
|
|
17994
18231
|
"fullFrame",
|
|
17995
18232
|
"fullFrameBoxed",
|
|
17996
18233
|
"faceCrop",
|
|
17997
|
-
"plateCrop"
|
|
18234
|
+
"plateCrop",
|
|
18235
|
+
"keyFrame"
|
|
17998
18236
|
]);
|
|
17999
18237
|
var MediaFileSchema = object({
|
|
18000
18238
|
key: string(),
|
|
@@ -18015,6 +18253,32 @@ var DeviceEventQueryInput = object({
|
|
|
18015
18253
|
projection: _enum(["full", "slim"]).optional()
|
|
18016
18254
|
});
|
|
18017
18255
|
var ObjectEventQueryInput = DeviceEventQueryInput.extend({ classFilter: string().optional() });
|
|
18256
|
+
var KeyEventQueryInput = object({
|
|
18257
|
+
deviceId: number(),
|
|
18258
|
+
/** Window lower bound (track firstSeen ≥ since). */
|
|
18259
|
+
since: number(),
|
|
18260
|
+
/** Window upper bound (track firstSeen ≤ until). */
|
|
18261
|
+
until: number(),
|
|
18262
|
+
limit: number().int().min(1).max(200).default(50),
|
|
18263
|
+
/** Drop tracks scoring below this importance. */
|
|
18264
|
+
minImportance: number().min(0).max(1).optional(),
|
|
18265
|
+
/** Restrict to a single class (e.g. 'person'). */
|
|
18266
|
+
classFilter: string().optional()
|
|
18267
|
+
});
|
|
18268
|
+
var KeyEventSchema = object({
|
|
18269
|
+
/** The representative event id (the track's best ObjectEvent, else its trackId). */
|
|
18270
|
+
id: string(),
|
|
18271
|
+
trackId: string(),
|
|
18272
|
+
/** Track start time (firstSeen). */
|
|
18273
|
+
timestamp: number(),
|
|
18274
|
+
className: string(),
|
|
18275
|
+
label: string().optional(),
|
|
18276
|
+
importance: number(),
|
|
18277
|
+
/** Highest-confidence ObjectEvent id for the track (empty when none). */
|
|
18278
|
+
bestEventId: string(),
|
|
18279
|
+
/** Track lifetime in ms (lastSeen - firstSeen). */
|
|
18280
|
+
windowMs: number().optional()
|
|
18281
|
+
});
|
|
18018
18282
|
var TrackedDetectionSchema = object({
|
|
18019
18283
|
trackId: string(),
|
|
18020
18284
|
className: string(),
|
|
@@ -18044,7 +18308,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
18044
18308
|
}), array(TrackSchema).readonly()), method(object({ deviceId: number() }), _void(), {
|
|
18045
18309
|
kind: "mutation",
|
|
18046
18310
|
auth: "admin"
|
|
18047
|
-
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({
|
|
18311
|
+
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
|
|
18048
18312
|
deviceId: number(),
|
|
18049
18313
|
since: number(),
|
|
18050
18314
|
until: number(),
|
|
@@ -18089,11 +18353,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
18089
18353
|
timestamp: number()
|
|
18090
18354
|
});
|
|
18091
18355
|
var CameraPipelineConfigSchema = object({
|
|
18092
|
-
engine: PipelineEngineChoiceSchema,
|
|
18356
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
18093
18357
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
18094
18358
|
audio: object({
|
|
18095
|
-
engine: PipelineEngineChoiceSchema,
|
|
18096
|
-
modelId: string(),
|
|
18359
|
+
engine: PipelineEngineChoiceSchema.optional(),
|
|
18360
|
+
modelId: string().optional(),
|
|
18097
18361
|
enabled: boolean(),
|
|
18098
18362
|
settings: record(string(), unknown()).readonly().optional()
|
|
18099
18363
|
}).nullable().optional()
|
|
@@ -18108,7 +18372,7 @@ var PipelineTemplateSchema = object({
|
|
|
18108
18372
|
});
|
|
18109
18373
|
var AgentAddonConfigSchema = object({
|
|
18110
18374
|
enabled: boolean(),
|
|
18111
|
-
modelId: string(),
|
|
18375
|
+
modelId: string().optional(),
|
|
18112
18376
|
settings: record(string(), unknown()).readonly()
|
|
18113
18377
|
});
|
|
18114
18378
|
var AgentPipelineSettingsSchema = object({
|
|
@@ -18118,12 +18382,25 @@ var AgentPipelineSettingsSchema = object({
|
|
|
18118
18382
|
detectWeight: number().positive().optional(),
|
|
18119
18383
|
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
18120
18384
|
detect: boolean().optional(),
|
|
18121
|
-
/**
|
|
18385
|
+
/**
|
|
18386
|
+
* DEPRECATED AND IGNORED. Decode is always co-located with its frame
|
|
18387
|
+
* consumer, so decode eligibility IS detect eligibility. Kept optional in
|
|
18388
|
+
* the schema ONLY so persisted stores written before the removal still
|
|
18389
|
+
* parse — no code reads it and no write path emits it.
|
|
18390
|
+
*/
|
|
18122
18391
|
decode: boolean().optional(),
|
|
18123
18392
|
/** Node is eligible to run audio-analyzer sessions. */
|
|
18124
18393
|
audio: boolean().optional(),
|
|
18125
18394
|
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
18126
|
-
ingest: boolean().optional()
|
|
18395
|
+
ingest: boolean().optional(),
|
|
18396
|
+
/**
|
|
18397
|
+
* Operator override for the LAN host a cross-node decoder dials to reach
|
|
18398
|
+
* THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
|
|
18399
|
+
* falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
|
|
18400
|
+
* it already uses to reach the hub). Set this only when the auto-detected
|
|
18401
|
+
* address is wrong (multi-homed host, NAT, custom interface).
|
|
18402
|
+
*/
|
|
18403
|
+
reachableHost: string().optional()
|
|
18127
18404
|
});
|
|
18128
18405
|
var CameraPipelineForAgentSchema = object({
|
|
18129
18406
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -18171,25 +18448,6 @@ var PipelineAssignmentSchema = object({
|
|
|
18171
18448
|
assignedAt: number()
|
|
18172
18449
|
});
|
|
18173
18450
|
/**
|
|
18174
|
-
* Decoder placement record. Symmetric to `PipelineAssignmentSchema` but for
|
|
18175
|
-
* the decoder-node placement domain (`balanceDecoder` decision: manual pin
|
|
18176
|
-
* → co-located with pipeline → capacity).
|
|
18177
|
-
*/
|
|
18178
|
-
var DecoderAssignmentSchema = object({
|
|
18179
|
-
deviceId: number(),
|
|
18180
|
-
/** Moleculer node id of the decoder provider currently responsible for this camera. */
|
|
18181
|
-
decoderNodeId: string(),
|
|
18182
|
-
/** True when the assignment was set manually via `assignDecoder`, false when chosen by the balancer. */
|
|
18183
|
-
pinned: boolean(),
|
|
18184
|
-
/** Why this assignment was made — useful for debugging the decoder balancer. */
|
|
18185
|
-
reason: _enum([
|
|
18186
|
-
"manual",
|
|
18187
|
-
"co-located",
|
|
18188
|
-
"capacity",
|
|
18189
|
-
"hardware-affinity"
|
|
18190
|
-
])
|
|
18191
|
-
});
|
|
18192
|
-
/**
|
|
18193
18451
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
18194
18452
|
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
18195
18453
|
*/
|
|
@@ -18229,6 +18487,15 @@ var GlobalMetricsSchema = object({
|
|
|
18229
18487
|
* capability providers.
|
|
18230
18488
|
*/
|
|
18231
18489
|
var CapabilityBindingsSchema = record(string(), string());
|
|
18490
|
+
/**
|
|
18491
|
+
* The cluster's single camera-source owner (`clusterRoles.ingestNode`) plus
|
|
18492
|
+
* its LAN-reachable host, if one is registered. See `getIngestOwner`.
|
|
18493
|
+
*/
|
|
18494
|
+
var IngestOwnerSchema = object({
|
|
18495
|
+
ownerNodeId: string(),
|
|
18496
|
+
reachableHost: string().optional(),
|
|
18497
|
+
configIssue: string().optional()
|
|
18498
|
+
});
|
|
18232
18499
|
/** Source block — always present; derives from the stream catalog. */
|
|
18233
18500
|
var CameraSourceStatusSchema = object({ streams: array(object({
|
|
18234
18501
|
camStreamId: string(),
|
|
@@ -18243,6 +18510,14 @@ var CameraAssignmentStatusSchema = object({
|
|
|
18243
18510
|
detectionNodeId: string().nullable(),
|
|
18244
18511
|
decoderNodeId: string().nullable(),
|
|
18245
18512
|
audioNodeId: string().nullable(),
|
|
18513
|
+
/**
|
|
18514
|
+
* The node that OWNS this camera's physical source pull (dials the RTSP and
|
|
18515
|
+
* hosts the broker/restream) — the cluster ingest owner today
|
|
18516
|
+
* (`clusterRoles.ingestNode`), per-camera once source assignment lands. Lets
|
|
18517
|
+
* the UI show WHERE a camera is sourced without SSH/logs, and is the node the
|
|
18518
|
+
* broker block below was read from (pinned). Nullable only pre-wiring.
|
|
18519
|
+
*/
|
|
18520
|
+
sourceNodeId: string().nullable(),
|
|
18246
18521
|
pinned: object({
|
|
18247
18522
|
detection: boolean(),
|
|
18248
18523
|
decoder: boolean(),
|
|
@@ -18375,16 +18650,7 @@ method(object({
|
|
|
18375
18650
|
}), object({ success: literal(true) }), {
|
|
18376
18651
|
kind: "mutation",
|
|
18377
18652
|
auth: "admin"
|
|
18378
|
-
}), method(object({
|
|
18379
|
-
deviceId: number(),
|
|
18380
|
-
nodeId: string()
|
|
18381
|
-
}), _void(), {
|
|
18382
|
-
kind: "mutation",
|
|
18383
|
-
auth: "admin"
|
|
18384
|
-
}), method(object({ deviceId: number() }), _void(), {
|
|
18385
|
-
kind: "mutation",
|
|
18386
|
-
auth: "admin"
|
|
18387
|
-
}), method(_void(), array(DecoderAssignmentSchema).readonly()), method(object({
|
|
18653
|
+
}), method(_void(), IngestOwnerSchema), method(object({
|
|
18388
18654
|
deviceId: number(),
|
|
18389
18655
|
nodeId: string()
|
|
18390
18656
|
}), object({ success: literal(true) }), {
|
|
@@ -18405,10 +18671,7 @@ method(object({
|
|
|
18405
18671
|
nodeId: string(),
|
|
18406
18672
|
pinned: boolean(),
|
|
18407
18673
|
assignedAt: number()
|
|
18408
|
-
}))), method(object({
|
|
18409
|
-
deviceId: number(),
|
|
18410
|
-
pipelineNodeId: string().optional()
|
|
18411
|
-
}), DecoderAssignmentSchema), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
18674
|
+
}))), method(object({ agentNodeId: string() }), AgentPipelineSettingsSchema.nullable()), method(_void(), array(object({
|
|
18412
18675
|
nodeId: string(),
|
|
18413
18676
|
settings: AgentPipelineSettingsSchema
|
|
18414
18677
|
})).readonly()), method(object({
|
|
@@ -18438,12 +18701,26 @@ method(object({
|
|
|
18438
18701
|
}), method(object({
|
|
18439
18702
|
agentNodeId: string(),
|
|
18440
18703
|
detect: boolean().nullable().optional(),
|
|
18441
|
-
decode: boolean().nullable().optional(),
|
|
18442
18704
|
audio: boolean().nullable().optional(),
|
|
18443
18705
|
ingest: boolean().nullable().optional()
|
|
18444
18706
|
}), object({ success: literal(true) }), {
|
|
18445
18707
|
kind: "mutation",
|
|
18446
18708
|
auth: "admin"
|
|
18709
|
+
}), method(object({
|
|
18710
|
+
agentNodeId: string(),
|
|
18711
|
+
reachableHost: string().nullable()
|
|
18712
|
+
}), object({ success: literal(true) }), {
|
|
18713
|
+
kind: "mutation",
|
|
18714
|
+
auth: "admin"
|
|
18715
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
18716
|
+
success: literal(true),
|
|
18717
|
+
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
18718
|
+
effectiveModelId: string().nullable(),
|
|
18719
|
+
/** Number of cameras whose node-scoped overrides were cleared. */
|
|
18720
|
+
clearedCameraOverrides: number()
|
|
18721
|
+
}), {
|
|
18722
|
+
kind: "mutation",
|
|
18723
|
+
auth: "admin"
|
|
18447
18724
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
18448
18725
|
deviceId: number(),
|
|
18449
18726
|
addonId: string(),
|
|
@@ -18488,22 +18765,131 @@ method(object({
|
|
|
18488
18765
|
kind: "mutation",
|
|
18489
18766
|
auth: "admin"
|
|
18490
18767
|
});
|
|
18491
|
-
|
|
18492
|
-
|
|
18493
|
-
|
|
18494
|
-
|
|
18495
|
-
|
|
18496
|
-
|
|
18768
|
+
/**
|
|
18769
|
+
* server-management — per-NODE singleton capability for a node's ROOT
|
|
18770
|
+
* package lifecycle (runtime-updatable node packages, phase 2: hub + docker
|
|
18771
|
+
* agents).
|
|
18772
|
+
*
|
|
18773
|
+
* Each node's root package (`@camstack/server` on the hub, `@camstack/agent`
|
|
18774
|
+
* on agents) carries the whole software stack in its npm dep tree, so ONE
|
|
18775
|
+
* version describes the node. Updates install into
|
|
18776
|
+
* `<dataDir>/server-root/versions/<v>/` and apply on restart via the baked
|
|
18777
|
+
* starter (probation boot + auto-rollback to N-1).
|
|
18778
|
+
*
|
|
18779
|
+
* Providers:
|
|
18780
|
+
* - HUB: `ServerUpdateService` behind the `server-provided` mount
|
|
18781
|
+
* (`buildServerProviders` in trpc.router.ts) — the default target for
|
|
18782
|
+
* unpinned calls.
|
|
18783
|
+
* - AGENT: `AgentUpdateService` registered by the agent bootstrap under
|
|
18784
|
+
* the synthetic `agent-runtime` addonId and declared in the agent's
|
|
18785
|
+
* `$hub.registerNode` manifest.
|
|
18786
|
+
*
|
|
18787
|
+
* Node routing: singleton caps get the codegen/runtime-builder `nodeId`
|
|
18788
|
+
* injection on every method — `input.nodeId` (or `nodePin(nodeId)` from the
|
|
18789
|
+
* SDK) routes the call to that node's provider via the standard remote
|
|
18790
|
+
* proxy (`createCapabilityProxy` → `$agent-cap-fwd` → the agent's
|
|
18791
|
+
* in-process provider lookup). No `nodeId` → the hub's own provider.
|
|
18792
|
+
*
|
|
18793
|
+
* Spec: docs/superpowers/specs/2026-07-12-runtime-updatable-node-packages-design.md
|
|
18794
|
+
*/
|
|
18795
|
+
/**
|
|
18796
|
+
* Where the running hub's code was loaded from:
|
|
18797
|
+
* - `workspace` — dev checkout (tsx / workspace dist); the starter defers to
|
|
18798
|
+
* plain resolution and runtime updates are refused.
|
|
18799
|
+
* - `baked` — the immutable image seed closure (no data-dir root active).
|
|
18800
|
+
* - `data-root` — the runtime-updatable `<dataDir>/server-root` closure.
|
|
18801
|
+
*/
|
|
18802
|
+
var ServerBootModeSchema = _enum([
|
|
18803
|
+
"workspace",
|
|
18804
|
+
"baked",
|
|
18805
|
+
"data-root"
|
|
18806
|
+
]);
|
|
18807
|
+
/**
|
|
18808
|
+
* Update lifecycle state:
|
|
18809
|
+
* - `idle` / `checking` / `staging` — steady / in-flight registry work.
|
|
18810
|
+
* - `pending-restart` — a version is staged and the node has NOT yet
|
|
18811
|
+
* restarted onto it (still running the OLD version).
|
|
18812
|
+
* - `awaiting-confirmation` — the node HAS restarted onto the staged version
|
|
18813
|
+
* (it is the active probation boot) and is waiting to confirm boot-health.
|
|
18814
|
+
* Apply/rollback are refused in this state and the node must NOT be
|
|
18815
|
+
* manually restarted, or the probation boot auto-rolls-back.
|
|
18816
|
+
*/
|
|
18817
|
+
var ServerUpdateStateSchema = _enum([
|
|
18818
|
+
"idle",
|
|
18819
|
+
"checking",
|
|
18820
|
+
"staging",
|
|
18821
|
+
"pending-restart",
|
|
18822
|
+
"awaiting-confirmation"
|
|
18823
|
+
]);
|
|
18824
|
+
var ServerRollbackInfoSchema = object({
|
|
18825
|
+
/** The version that failed (or was manually rolled back). */
|
|
18826
|
+
fromVersion: string(),
|
|
18827
|
+
/** The version rolled back to; null = the baked seed. */
|
|
18828
|
+
toVersion: string().nullable(),
|
|
18829
|
+
atMs: number(),
|
|
18830
|
+
reason: string()
|
|
18497
18831
|
});
|
|
18498
|
-
var
|
|
18499
|
-
|
|
18500
|
-
|
|
18501
|
-
|
|
18832
|
+
var ServerPackageStatusSchema = object({
|
|
18833
|
+
/** Root package name (`@camstack/server` on the hub). */
|
|
18834
|
+
packageName: string(),
|
|
18835
|
+
/** Version of the code the running process ACTUALLY loaded. */
|
|
18836
|
+
runningVersion: string().nullable(),
|
|
18837
|
+
/** Node.js runtime version the node's process runs on (`process.versions.node`). */
|
|
18838
|
+
nodeRuntimeVersion: string().nullable(),
|
|
18839
|
+
/** Active data-dir root version; null when booted from seed/workspace. */
|
|
18840
|
+
activeVersion: string().nullable(),
|
|
18841
|
+
/** N-1 version kept for rollback; null when no previous version exists. */
|
|
18842
|
+
previousVersion: string().nullable(),
|
|
18843
|
+
/** Version of the immutable baked seed closure (image fallback). */
|
|
18844
|
+
seedVersion: string().nullable(),
|
|
18845
|
+
/** Latest registry version from the most recent check (null = never checked). */
|
|
18846
|
+
latestVersion: string().nullable(),
|
|
18847
|
+
updateAvailable: boolean(),
|
|
18848
|
+
bootMode: ServerBootModeSchema,
|
|
18849
|
+
updateState: ServerUpdateStateSchema,
|
|
18850
|
+
/** Version staged + awaiting its probation boot, when one is pending. */
|
|
18851
|
+
pendingVersion: string().nullable(),
|
|
18852
|
+
/** Set when the last freshly-activated version failed its boot health-check. */
|
|
18853
|
+
rolledBack: ServerRollbackInfoSchema.nullable(),
|
|
18854
|
+
/**
|
|
18855
|
+
* True when `server-root/state.json` EXISTS but is unreadable/corrupt — the
|
|
18856
|
+
* hub is running from the baked seed (or workspace) while installed data-dir
|
|
18857
|
+
* versions are being IGNORED. Surfaced as a warning in the UI.
|
|
18858
|
+
*/
|
|
18859
|
+
stateFileCorrupt: boolean(),
|
|
18860
|
+
lastCheckedAtMs: number().nullable()
|
|
18861
|
+
});
|
|
18862
|
+
var ServerUpdateCheckResultSchema = object({
|
|
18863
|
+
packageName: string(),
|
|
18864
|
+
runningVersion: string().nullable(),
|
|
18865
|
+
latestVersion: string().nullable(),
|
|
18866
|
+
updateAvailable: boolean(),
|
|
18867
|
+
checkedAtMs: number(),
|
|
18868
|
+
/** Non-null when the registry lookup failed (offline, bad registry, …). */
|
|
18869
|
+
error: string().nullable()
|
|
18870
|
+
});
|
|
18871
|
+
var ServerUpdateActionResultSchema = object({
|
|
18872
|
+
accepted: boolean(),
|
|
18873
|
+
targetVersion: string().nullable(),
|
|
18874
|
+
/** True when a graceful restart was scheduled to apply the change. */
|
|
18875
|
+
restarting: boolean(),
|
|
18876
|
+
message: string()
|
|
18877
|
+
});
|
|
18878
|
+
method(_void(), ServerPackageStatusSchema, { auth: "admin" }), method(_void(), ServerUpdateCheckResultSchema, {
|
|
18879
|
+
kind: "mutation",
|
|
18880
|
+
auth: "admin"
|
|
18881
|
+
}), method(object({
|
|
18882
|
+
/** Explicit target version; omitted = latest from the registry. */
|
|
18883
|
+
version: string().optional() }), ServerUpdateActionResultSchema, {
|
|
18884
|
+
kind: "mutation",
|
|
18885
|
+
auth: "admin"
|
|
18886
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
18887
|
+
kind: "mutation",
|
|
18888
|
+
auth: "admin"
|
|
18889
|
+
}), method(_void(), ServerUpdateActionResultSchema, {
|
|
18890
|
+
kind: "mutation",
|
|
18891
|
+
auth: "admin"
|
|
18502
18892
|
});
|
|
18503
|
-
method(object({
|
|
18504
|
-
deviceId: number(),
|
|
18505
|
-
streams: array(RegisteredStreamSchema).readonly()
|
|
18506
|
-
}), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(ExposedResourceSchema).readonly());
|
|
18507
18893
|
/**
|
|
18508
18894
|
* Query filter for settings-store collections.
|
|
18509
18895
|
*/
|
|
@@ -18656,9 +19042,9 @@ method(SendEmailInputSchema, SendEmailResultSchema, {
|
|
|
18656
19042
|
/**
|
|
18657
19043
|
* A single device snapshot returned as base64 JPEG/PNG.
|
|
18658
19044
|
*
|
|
18659
|
-
*
|
|
18660
|
-
*
|
|
18661
|
-
*
|
|
19045
|
+
* The `SnapshotAddon` wrapper returns this shape whether the frame came from
|
|
19046
|
+
* the device-native provider (onboard capture) or from the stream-broker
|
|
19047
|
+
* prebuffer fallback.
|
|
18662
19048
|
*/
|
|
18663
19049
|
var SnapshotImageSchema = object({
|
|
18664
19050
|
base64: string(),
|
|
@@ -18689,11 +19075,12 @@ DeviceType.Camera, method(object({
|
|
|
18689
19075
|
}), SnapshotImageSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
18690
19076
|
kind: "mutation",
|
|
18691
19077
|
auth: "admin"
|
|
18692
|
-
})
|
|
18693
|
-
method(object({ deviceId: number() }), boolean()), method(object({
|
|
19078
|
+
}), systemMethod(object({ deviceIds: array(number()).min(1).max(200) }), array(object({
|
|
18694
19079
|
deviceId: number(),
|
|
18695
|
-
|
|
18696
|
-
|
|
19080
|
+
lastCapturedAt: number().nullable(),
|
|
19081
|
+
cacheAgeMs: number().nullable(),
|
|
19082
|
+
etag: string().nullable()
|
|
19083
|
+
})));
|
|
18697
19084
|
/**
|
|
18698
19085
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
18699
19086
|
* providers (OIDC, SAML, magic-link, …) mint an HMAC-signed token
|
|
@@ -18944,10 +19331,32 @@ method(_void(), array(TurnServerSchema).readonly());
|
|
|
18944
19331
|
* b. `finishAuthentication({userId, response})` → server verifies
|
|
18945
19332
|
* the assertion, bumps the credential counter, returns ok.
|
|
18946
19333
|
*
|
|
19334
|
+
* 2b. Usernameless (discoverable-credential) authentication — the
|
|
19335
|
+
* passkey IS the primary factor, no password leg:
|
|
19336
|
+
* a. `beginDiscoverableAuthentication({})` → assertion options with
|
|
19337
|
+
* EMPTY `allowCredentials` (the browser offers every resident
|
|
19338
|
+
* passkey it holds for this RP) + `userVerification: 'required'`
|
|
19339
|
+
* (the passkey replaces both factors, so UV is mandatory).
|
|
19340
|
+
* The challenge is stored server-side, NOT bound to any user.
|
|
19341
|
+
* b. `finishDiscoverableAuthentication({response})` → the provider
|
|
19342
|
+
* resolves the credential by the response's credential id,
|
|
19343
|
+
* verifies the assertion against the stored challenge + that
|
|
19344
|
+
* credential's public key/counter, and returns the OWNING
|
|
19345
|
+
* `userId` — the caller (core auth router) mints the session.
|
|
19346
|
+
*
|
|
18947
19347
|
* 3. Management:
|
|
18948
19348
|
* - `listPasskeys({userId})` — enumerate user's enrolled credentials.
|
|
18949
19349
|
* - `removePasskey({userId, credentialId})` — revoke one credential.
|
|
18950
19350
|
*
|
|
19351
|
+
* 4. Second-factor preference (opt-in, default OFF):
|
|
19352
|
+
* Enrolling a passkey only enables passkey-FIRST sign-in. It is
|
|
19353
|
+
* demanded as a second factor after a password login ONLY when the
|
|
19354
|
+
* user explicitly opts in via `setSecondFactorPreference`.
|
|
19355
|
+
* - `getSecondFactorPreference({userId})` → `{ enabled }` (missing
|
|
19356
|
+
* row ⇒ `enabled: false`).
|
|
19357
|
+
* - `setSecondFactorPreference({userId, enabled})` — persisted by
|
|
19358
|
+
* the providing addon beside its credentials.
|
|
19359
|
+
*
|
|
18951
19360
|
* Challenges are short-lived (5 min, in-memory). The cap is internal —
|
|
18952
19361
|
* the admin-ui composes the begin/finish round-trip and never exposes
|
|
18953
19362
|
* the cap to non-admins.
|
|
@@ -18990,6 +19399,17 @@ method(object({
|
|
|
18990
19399
|
}), object({ verified: boolean() }), {
|
|
18991
19400
|
kind: "mutation",
|
|
18992
19401
|
access: "view"
|
|
19402
|
+
}), method(object({}), object({ optionsJSON: record(string(), unknown()) }), {
|
|
19403
|
+
kind: "mutation",
|
|
19404
|
+
access: "view"
|
|
19405
|
+
}), method(object({
|
|
19406
|
+
/** AuthenticationResponseJSON from the browser. */
|
|
19407
|
+
response: record(string(), unknown()) }), object({
|
|
19408
|
+
verified: boolean(),
|
|
19409
|
+
userId: string().nullable()
|
|
19410
|
+
}), {
|
|
19411
|
+
kind: "mutation",
|
|
19412
|
+
access: "view"
|
|
18993
19413
|
}), method(object({ userId: string() }), array(PasskeySummarySchema), { auth: "admin" }), method(object({
|
|
18994
19414
|
userId: string(),
|
|
18995
19415
|
credentialId: string()
|
|
@@ -18997,6 +19417,13 @@ method(object({
|
|
|
18997
19417
|
kind: "mutation",
|
|
18998
19418
|
auth: "admin",
|
|
18999
19419
|
access: "delete"
|
|
19420
|
+
}), method(object({ userId: string() }), object({ enabled: boolean() }), { auth: "admin" }), method(object({
|
|
19421
|
+
userId: string(),
|
|
19422
|
+
enabled: boolean()
|
|
19423
|
+
}), object({ success: literal(true) }), {
|
|
19424
|
+
kind: "mutation",
|
|
19425
|
+
auth: "admin",
|
|
19426
|
+
access: "create"
|
|
19000
19427
|
});
|
|
19001
19428
|
/**
|
|
19002
19429
|
* `videoclips` — the unified, navigable-clip surface for a camera.
|
|
@@ -19054,9 +19481,10 @@ method(object({
|
|
|
19054
19481
|
auth: "admin"
|
|
19055
19482
|
});
|
|
19056
19483
|
/**
|
|
19057
|
-
* Optional client-side hints sent at session creation to help the
|
|
19058
|
-
*
|
|
19059
|
-
*
|
|
19484
|
+
* Optional client-side hints sent at session creation to help the provider
|
|
19485
|
+
* pick the best native source. All fields optional — a viewer that knows
|
|
19486
|
+
* nothing still gets a sane default. (Relocated from the retired `webrtc`
|
|
19487
|
+
* collection cap; this `webrtc-session` cap is the live signaling surface.)
|
|
19060
19488
|
*/
|
|
19061
19489
|
var webrtcClientHintsSchema = object({
|
|
19062
19490
|
viewportWidth: number().int().positive().optional(),
|
|
@@ -19067,22 +19495,6 @@ var webrtcClientHintsSchema = object({
|
|
|
19067
19495
|
/** Hard tier override; takes precedence over scoring when registered. */
|
|
19068
19496
|
prefersTier: string().optional()
|
|
19069
19497
|
}).partial();
|
|
19070
|
-
method(object({
|
|
19071
|
-
streamId: string(),
|
|
19072
|
-
sdpOffer: string()
|
|
19073
|
-
}), string(), { kind: "mutation" }), method(object({ streamId: string() }), boolean()), method(object({
|
|
19074
|
-
streamId: string(),
|
|
19075
|
-
codec: string()
|
|
19076
|
-
}), _void(), { kind: "mutation" }), method(object({ streamId: string() }), _void(), { kind: "mutation" }), method(object({
|
|
19077
|
-
streamId: string(),
|
|
19078
|
-
hints: webrtcClientHintsSchema.optional()
|
|
19079
|
-
}), object({
|
|
19080
|
-
sessionId: string(),
|
|
19081
|
-
sdpOffer: string()
|
|
19082
|
-
}), { kind: "mutation" }), method(object({
|
|
19083
|
-
sessionId: string(),
|
|
19084
|
-
sdpAnswer: string()
|
|
19085
|
-
}), _void(), { kind: "mutation" }), method(object({ sessionId: string() }), _void(), { kind: "mutation" }), method(object({ streamId: string() }), boolean());
|
|
19086
19498
|
/**
|
|
19087
19499
|
* Discriminated target for a WebRTC session. The client sends this
|
|
19088
19500
|
* structured object instead of building / parsing brokerId strings;
|
|
@@ -19813,7 +20225,17 @@ var FaceInfoSchema = object({
|
|
|
19813
20225
|
recognizedIdentityId: string().optional(),
|
|
19814
20226
|
identityName: string().optional(),
|
|
19815
20227
|
assigned: boolean(),
|
|
19816
|
-
base64: string().optional()
|
|
20228
|
+
base64: string().optional(),
|
|
20229
|
+
/** Design B: the face bbox (pixel space) on the key frame — lets a detail
|
|
20230
|
+
* view draw the box over the native `keyFrameMediaKey` frame. Absent on
|
|
20231
|
+
* legacy rows written before design B. */
|
|
20232
|
+
faceBbox: BoundingBoxSchema.optional(),
|
|
20233
|
+
/** Design B: MediaStore key of the track's native-resolution key frame.
|
|
20234
|
+
* Fetch the native JPEG via the event-media data-plane
|
|
20235
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
|
|
20236
|
+
* track produced no key frame (e.g. native/onboard source) — the UI falls
|
|
20237
|
+
* back to the inline `base64` face crop. */
|
|
20238
|
+
keyFrameMediaKey: string().optional()
|
|
19817
20239
|
});
|
|
19818
20240
|
var FaceFilterEnum = _enum([
|
|
19819
20241
|
"unassigned",
|
|
@@ -20510,6 +20932,16 @@ var TopologyCategorySchema = object({
|
|
|
20510
20932
|
healthy: number(),
|
|
20511
20933
|
addons: array(TopologyCategoryAddonSchema).readonly()
|
|
20512
20934
|
});
|
|
20935
|
+
/**
|
|
20936
|
+
* The node's runtime-updatable ROOT package (`@camstack/server` on the hub,
|
|
20937
|
+
* `@camstack/agent` on agents) as reported by its `registerNode` manifest —
|
|
20938
|
+
* version visibility for the Server management surface. Nullable: offline
|
|
20939
|
+
* rows and pre-phase-2 nodes report none.
|
|
20940
|
+
*/
|
|
20941
|
+
var TopologyRootPackageSchema = object({
|
|
20942
|
+
name: string(),
|
|
20943
|
+
version: string()
|
|
20944
|
+
});
|
|
20513
20945
|
var TopologyNodeSchema = object({
|
|
20514
20946
|
id: string(),
|
|
20515
20947
|
name: string(),
|
|
@@ -20533,7 +20965,8 @@ var TopologyNodeSchema = object({
|
|
|
20533
20965
|
status: string()
|
|
20534
20966
|
})).readonly(),
|
|
20535
20967
|
processes: array(TopologyProcessSchema).readonly(),
|
|
20536
|
-
categories: array(TopologyCategorySchema).readonly()
|
|
20968
|
+
categories: array(TopologyCategorySchema).readonly(),
|
|
20969
|
+
rootPackage: TopologyRootPackageSchema.nullable()
|
|
20537
20970
|
});
|
|
20538
20971
|
var CapUsageEdgeSchema = object({
|
|
20539
20972
|
callerAddonId: string(),
|
|
@@ -23333,6 +23766,12 @@ Object.freeze({
|
|
|
23333
23766
|
addonId: null,
|
|
23334
23767
|
access: "create"
|
|
23335
23768
|
},
|
|
23769
|
+
"loginMethod.getLoginMethods": {
|
|
23770
|
+
capName: "login-method",
|
|
23771
|
+
capScope: "system",
|
|
23772
|
+
addonId: null,
|
|
23773
|
+
access: "view"
|
|
23774
|
+
},
|
|
23336
23775
|
"mediaPlayer.next": {
|
|
23337
23776
|
capName: "media-player",
|
|
23338
23777
|
capScope: "device",
|
|
@@ -23915,6 +24354,12 @@ Object.freeze({
|
|
|
23915
24354
|
addonId: null,
|
|
23916
24355
|
access: "view"
|
|
23917
24356
|
},
|
|
24357
|
+
"pipelineAnalytics.getKeyEvents": {
|
|
24358
|
+
capName: "pipeline-analytics",
|
|
24359
|
+
capScope: "device",
|
|
24360
|
+
addonId: null,
|
|
24361
|
+
access: "view"
|
|
24362
|
+
},
|
|
23918
24363
|
"pipelineAnalytics.getMotionEvents": {
|
|
23919
24364
|
capName: "pipeline-analytics",
|
|
23920
24365
|
capScope: "device",
|
|
@@ -23963,23 +24408,23 @@ Object.freeze({
|
|
|
23963
24408
|
addonId: null,
|
|
23964
24409
|
access: "create"
|
|
23965
24410
|
},
|
|
23966
|
-
"pipelineExecutor.
|
|
24411
|
+
"pipelineExecutor.clearDeviceOverrides": {
|
|
23967
24412
|
capName: "pipeline-executor",
|
|
23968
24413
|
capScope: "system",
|
|
23969
24414
|
addonId: null,
|
|
23970
24415
|
access: "delete"
|
|
23971
24416
|
},
|
|
23972
|
-
"pipelineExecutor.
|
|
24417
|
+
"pipelineExecutor.deleteModel": {
|
|
23973
24418
|
capName: "pipeline-executor",
|
|
23974
24419
|
capScope: "system",
|
|
23975
24420
|
addonId: null,
|
|
23976
24421
|
access: "delete"
|
|
23977
24422
|
},
|
|
23978
|
-
"pipelineExecutor.
|
|
24423
|
+
"pipelineExecutor.deleteTemplate": {
|
|
23979
24424
|
capName: "pipeline-executor",
|
|
23980
24425
|
capScope: "system",
|
|
23981
24426
|
addonId: null,
|
|
23982
|
-
access: "
|
|
24427
|
+
access: "delete"
|
|
23983
24428
|
},
|
|
23984
24429
|
"pipelineExecutor.downloadModel": {
|
|
23985
24430
|
capName: "pipeline-executor",
|
|
@@ -24173,13 +24618,13 @@ Object.freeze({
|
|
|
24173
24618
|
addonId: null,
|
|
24174
24619
|
access: "create"
|
|
24175
24620
|
},
|
|
24176
|
-
"
|
|
24177
|
-
capName: "pipeline-
|
|
24621
|
+
"pipelineExecutor.validatePipeline": {
|
|
24622
|
+
capName: "pipeline-executor",
|
|
24178
24623
|
capScope: "system",
|
|
24179
24624
|
addonId: null,
|
|
24180
|
-
access: "
|
|
24625
|
+
access: "view"
|
|
24181
24626
|
},
|
|
24182
|
-
"pipelineOrchestrator.
|
|
24627
|
+
"pipelineOrchestrator.assignAudio": {
|
|
24183
24628
|
capName: "pipeline-orchestrator",
|
|
24184
24629
|
capScope: "system",
|
|
24185
24630
|
addonId: null,
|
|
@@ -24263,19 +24708,13 @@ Object.freeze({
|
|
|
24263
24708
|
addonId: null,
|
|
24264
24709
|
access: "view"
|
|
24265
24710
|
},
|
|
24266
|
-
"pipelineOrchestrator.
|
|
24267
|
-
capName: "pipeline-orchestrator",
|
|
24268
|
-
capScope: "system",
|
|
24269
|
-
addonId: null,
|
|
24270
|
-
access: "view"
|
|
24271
|
-
},
|
|
24272
|
-
"pipelineOrchestrator.getDecoderAssignments": {
|
|
24711
|
+
"pipelineOrchestrator.getGlobalMetrics": {
|
|
24273
24712
|
capName: "pipeline-orchestrator",
|
|
24274
24713
|
capScope: "system",
|
|
24275
24714
|
addonId: null,
|
|
24276
24715
|
access: "view"
|
|
24277
24716
|
},
|
|
24278
|
-
"pipelineOrchestrator.
|
|
24717
|
+
"pipelineOrchestrator.getIngestOwner": {
|
|
24279
24718
|
capName: "pipeline-orchestrator",
|
|
24280
24719
|
capScope: "system",
|
|
24281
24720
|
addonId: null,
|
|
@@ -24317,6 +24756,12 @@ Object.freeze({
|
|
|
24317
24756
|
addonId: null,
|
|
24318
24757
|
access: "delete"
|
|
24319
24758
|
},
|
|
24759
|
+
"pipelineOrchestrator.resetNodePipelineDefaults": {
|
|
24760
|
+
capName: "pipeline-orchestrator",
|
|
24761
|
+
capScope: "system",
|
|
24762
|
+
addonId: null,
|
|
24763
|
+
access: "delete"
|
|
24764
|
+
},
|
|
24320
24765
|
"pipelineOrchestrator.resolvePipeline": {
|
|
24321
24766
|
capName: "pipeline-orchestrator",
|
|
24322
24767
|
capScope: "system",
|
|
@@ -24353,37 +24798,37 @@ Object.freeze({
|
|
|
24353
24798
|
addonId: null,
|
|
24354
24799
|
access: "create"
|
|
24355
24800
|
},
|
|
24356
|
-
"pipelineOrchestrator.
|
|
24801
|
+
"pipelineOrchestrator.setAgentReachableHost": {
|
|
24357
24802
|
capName: "pipeline-orchestrator",
|
|
24358
24803
|
capScope: "system",
|
|
24359
24804
|
addonId: null,
|
|
24360
24805
|
access: "create"
|
|
24361
24806
|
},
|
|
24362
|
-
"pipelineOrchestrator.
|
|
24807
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": {
|
|
24363
24808
|
capName: "pipeline-orchestrator",
|
|
24364
24809
|
capScope: "system",
|
|
24365
24810
|
addonId: null,
|
|
24366
24811
|
access: "create"
|
|
24367
24812
|
},
|
|
24368
|
-
"pipelineOrchestrator.
|
|
24813
|
+
"pipelineOrchestrator.setCameraStepOverride": {
|
|
24369
24814
|
capName: "pipeline-orchestrator",
|
|
24370
24815
|
capScope: "system",
|
|
24371
24816
|
addonId: null,
|
|
24372
24817
|
access: "create"
|
|
24373
24818
|
},
|
|
24374
|
-
"pipelineOrchestrator.
|
|
24819
|
+
"pipelineOrchestrator.setCameraStepToggle": {
|
|
24375
24820
|
capName: "pipeline-orchestrator",
|
|
24376
24821
|
capScope: "system",
|
|
24377
24822
|
addonId: null,
|
|
24378
24823
|
access: "create"
|
|
24379
24824
|
},
|
|
24380
|
-
"pipelineOrchestrator.
|
|
24825
|
+
"pipelineOrchestrator.setCapabilityBinding": {
|
|
24381
24826
|
capName: "pipeline-orchestrator",
|
|
24382
24827
|
capScope: "system",
|
|
24383
24828
|
addonId: null,
|
|
24384
24829
|
access: "create"
|
|
24385
24830
|
},
|
|
24386
|
-
"pipelineOrchestrator.
|
|
24831
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
24387
24832
|
capName: "pipeline-orchestrator",
|
|
24388
24833
|
capScope: "system",
|
|
24389
24834
|
addonId: null,
|
|
@@ -24443,12 +24888,24 @@ Object.freeze({
|
|
|
24443
24888
|
addonId: null,
|
|
24444
24889
|
access: "view"
|
|
24445
24890
|
},
|
|
24891
|
+
"pipelineRunner.getNativeCrop": {
|
|
24892
|
+
capName: "pipeline-runner",
|
|
24893
|
+
capScope: "system",
|
|
24894
|
+
addonId: null,
|
|
24895
|
+
access: "view"
|
|
24896
|
+
},
|
|
24446
24897
|
"pipelineRunner.reportMotion": {
|
|
24447
24898
|
capName: "pipeline-runner",
|
|
24448
24899
|
capScope: "system",
|
|
24449
24900
|
addonId: null,
|
|
24450
24901
|
access: "create"
|
|
24451
24902
|
},
|
|
24903
|
+
"pipelineRunner.runDetailSubtree": {
|
|
24904
|
+
capName: "pipeline-runner",
|
|
24905
|
+
capScope: "system",
|
|
24906
|
+
addonId: null,
|
|
24907
|
+
access: "create"
|
|
24908
|
+
},
|
|
24452
24909
|
"plateGallery.correctPlateText": {
|
|
24453
24910
|
capName: "plate-gallery",
|
|
24454
24911
|
capScope: "system",
|
|
@@ -24683,33 +25140,45 @@ Object.freeze({
|
|
|
24683
25140
|
addonId: null,
|
|
24684
25141
|
access: "create"
|
|
24685
25142
|
},
|
|
24686
|
-
"
|
|
24687
|
-
capName: "
|
|
25143
|
+
"scriptRunner.run": {
|
|
25144
|
+
capName: "script-runner",
|
|
25145
|
+
capScope: "device",
|
|
25146
|
+
addonId: null,
|
|
25147
|
+
access: "create"
|
|
25148
|
+
},
|
|
25149
|
+
"scriptRunner.stop": {
|
|
25150
|
+
capName: "script-runner",
|
|
25151
|
+
capScope: "device",
|
|
25152
|
+
addonId: null,
|
|
25153
|
+
access: "create"
|
|
25154
|
+
},
|
|
25155
|
+
"serverManagement.applyServerUpdate": {
|
|
25156
|
+
capName: "server-management",
|
|
24688
25157
|
capScope: "system",
|
|
24689
25158
|
addonId: null,
|
|
24690
|
-
access: "
|
|
25159
|
+
access: "create"
|
|
24691
25160
|
},
|
|
24692
|
-
"
|
|
24693
|
-
capName: "
|
|
25161
|
+
"serverManagement.checkServerUpdate": {
|
|
25162
|
+
capName: "server-management",
|
|
24694
25163
|
capScope: "system",
|
|
24695
25164
|
addonId: null,
|
|
24696
25165
|
access: "create"
|
|
24697
25166
|
},
|
|
24698
|
-
"
|
|
24699
|
-
capName: "
|
|
25167
|
+
"serverManagement.getServerPackageStatus": {
|
|
25168
|
+
capName: "server-management",
|
|
24700
25169
|
capScope: "system",
|
|
24701
25170
|
addonId: null,
|
|
24702
|
-
access: "
|
|
25171
|
+
access: "view"
|
|
24703
25172
|
},
|
|
24704
|
-
"
|
|
24705
|
-
capName: "
|
|
24706
|
-
capScope: "
|
|
25173
|
+
"serverManagement.restartServer": {
|
|
25174
|
+
capName: "server-management",
|
|
25175
|
+
capScope: "system",
|
|
24707
25176
|
addonId: null,
|
|
24708
25177
|
access: "create"
|
|
24709
25178
|
},
|
|
24710
|
-
"
|
|
24711
|
-
capName: "
|
|
24712
|
-
capScope: "
|
|
25179
|
+
"serverManagement.rollbackServerUpdate": {
|
|
25180
|
+
capName: "server-management",
|
|
25181
|
+
capScope: "system",
|
|
24713
25182
|
addonId: null,
|
|
24714
25183
|
access: "create"
|
|
24715
25184
|
},
|
|
@@ -24797,23 +25266,17 @@ Object.freeze({
|
|
|
24797
25266
|
addonId: null,
|
|
24798
25267
|
access: "view"
|
|
24799
25268
|
},
|
|
24800
|
-
"snapshot.
|
|
25269
|
+
"snapshot.getSnapshotOverview": {
|
|
24801
25270
|
capName: "snapshot",
|
|
24802
25271
|
capScope: "device",
|
|
24803
25272
|
addonId: null,
|
|
24804
|
-
access: "create"
|
|
24805
|
-
},
|
|
24806
|
-
"snapshotProvider.getSnapshot": {
|
|
24807
|
-
capName: "snapshot-provider",
|
|
24808
|
-
capScope: "system",
|
|
24809
|
-
addonId: null,
|
|
24810
25273
|
access: "view"
|
|
24811
25274
|
},
|
|
24812
|
-
"
|
|
24813
|
-
capName: "snapshot
|
|
24814
|
-
capScope: "
|
|
25275
|
+
"snapshot.invalidateCache": {
|
|
25276
|
+
capName: "snapshot",
|
|
25277
|
+
capScope: "device",
|
|
24815
25278
|
addonId: null,
|
|
24816
|
-
access: "
|
|
25279
|
+
access: "create"
|
|
24817
25280
|
},
|
|
24818
25281
|
"ssoBridge.signBridgeToken": {
|
|
24819
25282
|
capName: "sso-bridge",
|
|
@@ -25241,30 +25704,6 @@ Object.freeze({
|
|
|
25241
25704
|
addonId: null,
|
|
25242
25705
|
access: "view"
|
|
25243
25706
|
},
|
|
25244
|
-
"streamingEngine.getStreamUrl": {
|
|
25245
|
-
capName: "streaming-engine",
|
|
25246
|
-
capScope: "system",
|
|
25247
|
-
addonId: null,
|
|
25248
|
-
access: "view"
|
|
25249
|
-
},
|
|
25250
|
-
"streamingEngine.listStreams": {
|
|
25251
|
-
capName: "streaming-engine",
|
|
25252
|
-
capScope: "system",
|
|
25253
|
-
addonId: null,
|
|
25254
|
-
access: "view"
|
|
25255
|
-
},
|
|
25256
|
-
"streamingEngine.registerStream": {
|
|
25257
|
-
capName: "streaming-engine",
|
|
25258
|
-
capScope: "system",
|
|
25259
|
-
addonId: null,
|
|
25260
|
-
access: "create"
|
|
25261
|
-
},
|
|
25262
|
-
"streamingEngine.unregisterStream": {
|
|
25263
|
-
capName: "streaming-engine",
|
|
25264
|
-
capScope: "system",
|
|
25265
|
-
addonId: null,
|
|
25266
|
-
access: "delete"
|
|
25267
|
-
},
|
|
25268
25707
|
"streamParams.getConfigSchema": {
|
|
25269
25708
|
capName: "stream-params",
|
|
25270
25709
|
capScope: "device",
|
|
@@ -25511,6 +25950,12 @@ Object.freeze({
|
|
|
25511
25950
|
addonId: null,
|
|
25512
25951
|
access: "view"
|
|
25513
25952
|
},
|
|
25953
|
+
"userPasskeys.beginDiscoverableAuthentication": {
|
|
25954
|
+
capName: "user-passkeys",
|
|
25955
|
+
capScope: "system",
|
|
25956
|
+
addonId: null,
|
|
25957
|
+
access: "view"
|
|
25958
|
+
},
|
|
25514
25959
|
"userPasskeys.beginRegistration": {
|
|
25515
25960
|
capName: "user-passkeys",
|
|
25516
25961
|
capScope: "system",
|
|
@@ -25523,12 +25968,24 @@ Object.freeze({
|
|
|
25523
25968
|
addonId: null,
|
|
25524
25969
|
access: "view"
|
|
25525
25970
|
},
|
|
25971
|
+
"userPasskeys.finishDiscoverableAuthentication": {
|
|
25972
|
+
capName: "user-passkeys",
|
|
25973
|
+
capScope: "system",
|
|
25974
|
+
addonId: null,
|
|
25975
|
+
access: "view"
|
|
25976
|
+
},
|
|
25526
25977
|
"userPasskeys.finishRegistration": {
|
|
25527
25978
|
capName: "user-passkeys",
|
|
25528
25979
|
capScope: "system",
|
|
25529
25980
|
addonId: null,
|
|
25530
25981
|
access: "create"
|
|
25531
25982
|
},
|
|
25983
|
+
"userPasskeys.getSecondFactorPreference": {
|
|
25984
|
+
capName: "user-passkeys",
|
|
25985
|
+
capScope: "system",
|
|
25986
|
+
addonId: null,
|
|
25987
|
+
access: "view"
|
|
25988
|
+
},
|
|
25532
25989
|
"userPasskeys.listPasskeys": {
|
|
25533
25990
|
capName: "user-passkeys",
|
|
25534
25991
|
capScope: "system",
|
|
@@ -25541,6 +25998,12 @@ Object.freeze({
|
|
|
25541
25998
|
addonId: null,
|
|
25542
25999
|
access: "delete"
|
|
25543
26000
|
},
|
|
26001
|
+
"userPasskeys.setSecondFactorPreference": {
|
|
26002
|
+
capName: "user-passkeys",
|
|
26003
|
+
capScope: "system",
|
|
26004
|
+
addonId: null,
|
|
26005
|
+
access: "create"
|
|
26006
|
+
},
|
|
25544
26007
|
"vacuumControl.locate": {
|
|
25545
26008
|
capName: "vacuum-control",
|
|
25546
26009
|
capScope: "device",
|
|
@@ -25613,6 +26076,18 @@ Object.freeze({
|
|
|
25613
26076
|
addonId: null,
|
|
25614
26077
|
access: "view"
|
|
25615
26078
|
},
|
|
26079
|
+
"viewerUi.getStaticDir": {
|
|
26080
|
+
capName: "viewer-ui",
|
|
26081
|
+
capScope: "system",
|
|
26082
|
+
addonId: null,
|
|
26083
|
+
access: "view"
|
|
26084
|
+
},
|
|
26085
|
+
"viewerUi.getVersion": {
|
|
26086
|
+
capName: "viewer-ui",
|
|
26087
|
+
capScope: "system",
|
|
26088
|
+
addonId: null,
|
|
26089
|
+
access: "view"
|
|
26090
|
+
},
|
|
25616
26091
|
"waterHeater.setAway": {
|
|
25617
26092
|
capName: "water-heater",
|
|
25618
26093
|
capScope: "device",
|
|
@@ -25631,54 +26106,6 @@ Object.freeze({
|
|
|
25631
26106
|
addonId: null,
|
|
25632
26107
|
access: "create"
|
|
25633
26108
|
},
|
|
25634
|
-
"webrtc.closeSession": {
|
|
25635
|
-
capName: "webrtc",
|
|
25636
|
-
capScope: "system",
|
|
25637
|
-
addonId: null,
|
|
25638
|
-
access: "create"
|
|
25639
|
-
},
|
|
25640
|
-
"webrtc.createSession": {
|
|
25641
|
-
capName: "webrtc",
|
|
25642
|
-
capScope: "system",
|
|
25643
|
-
addonId: null,
|
|
25644
|
-
access: "create"
|
|
25645
|
-
},
|
|
25646
|
-
"webrtc.handleAnswer": {
|
|
25647
|
-
capName: "webrtc",
|
|
25648
|
-
capScope: "system",
|
|
25649
|
-
addonId: null,
|
|
25650
|
-
access: "create"
|
|
25651
|
-
},
|
|
25652
|
-
"webrtc.handleOffer": {
|
|
25653
|
-
capName: "webrtc",
|
|
25654
|
-
capScope: "system",
|
|
25655
|
-
addonId: null,
|
|
25656
|
-
access: "create"
|
|
25657
|
-
},
|
|
25658
|
-
"webrtc.hasAdaptiveBitrate": {
|
|
25659
|
-
capName: "webrtc",
|
|
25660
|
-
capScope: "system",
|
|
25661
|
-
addonId: null,
|
|
25662
|
-
access: "view"
|
|
25663
|
-
},
|
|
25664
|
-
"webrtc.registerStream": {
|
|
25665
|
-
capName: "webrtc",
|
|
25666
|
-
capScope: "system",
|
|
25667
|
-
addonId: null,
|
|
25668
|
-
access: "create"
|
|
25669
|
-
},
|
|
25670
|
-
"webrtc.supportsStream": {
|
|
25671
|
-
capName: "webrtc",
|
|
25672
|
-
capScope: "system",
|
|
25673
|
-
addonId: null,
|
|
25674
|
-
access: "view"
|
|
25675
|
-
},
|
|
25676
|
-
"webrtc.unregisterStream": {
|
|
25677
|
-
capName: "webrtc",
|
|
25678
|
-
capScope: "system",
|
|
25679
|
-
addonId: null,
|
|
25680
|
-
access: "delete"
|
|
25681
|
-
},
|
|
25682
26109
|
"webrtcSession.addIceCandidate": {
|
|
25683
26110
|
capName: "webrtc-session",
|
|
25684
26111
|
capScope: "device",
|