@camstack/addon-tailscale 1.2.118 → 1.2.119
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/{dist-B5khvoZj.js → auth-key-file-CVMhmHD4.mjs} +1182 -500
- package/dist/{dist-CnsQ7vyF.mjs → auth-key-file-Czokmvfx.js} +1255 -471
- package/dist/client/tailscale.addon.js +23 -44
- package/dist/client/tailscale.addon.mjs +16 -15
- package/dist/ingress/tailscale-ingress.addon.js +19 -18
- package/dist/ingress/tailscale-ingress.addon.mjs +15 -14
- package/package.json +1 -1
|
@@ -1,4 +1,32 @@
|
|
|
1
|
-
//#region
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
10
|
+
key = keys[i];
|
|
11
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
12
|
+
get: ((k) => from[k]).bind(null, key),
|
|
13
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
19
|
+
value: mod,
|
|
20
|
+
enumerable: true
|
|
21
|
+
}) : target, mod));
|
|
22
|
+
require("node:crypto");
|
|
23
|
+
let node_fs_promises = require("node:fs/promises");
|
|
24
|
+
node_fs_promises = __toESM(node_fs_promises);
|
|
25
|
+
let node_os = require("node:os");
|
|
26
|
+
node_os = __toESM(node_os);
|
|
27
|
+
let node_path = require("node:path");
|
|
28
|
+
node_path = __toESM(node_path);
|
|
29
|
+
//#region ../types/dist/event-category-B_0XEcLF.mjs
|
|
2
30
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
3
31
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4
32
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -499,15 +527,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
499
527
|
EventCategory["AgentWsDisconnected"] = "agent.ws.disconnected";
|
|
500
528
|
EventCategory["AgentBackupActivated"] = "agent.backup.activated";
|
|
501
529
|
EventCategory["OrchestrationSettingsUpdated"] = "orchestration.settings-updated";
|
|
502
|
-
/**
|
|
503
|
-
* Per-agent hwaccel preference changed (user override set, cleared, or
|
|
504
|
-
* re-probed). Observability event — decoders pull the current pref at
|
|
505
|
-
* `createSession`, so running sessions keep their current backend until
|
|
506
|
-
* they rotate naturally (camera add/remove, stream restart). Future
|
|
507
|
-
* work can wire a listener in stream-broker that force-rotates live
|
|
508
|
-
* sessions; for now this event powers logs + admin-UI toast feedback.
|
|
509
|
-
*/
|
|
510
|
-
EventCategory["PipelineAgentHwaccelChanged"] = "pipeline.agent-hwaccel-changed";
|
|
511
530
|
EventCategory["MotionAnalysis"] = "detection.motion-analysis";
|
|
512
531
|
/** All raw motion zones from CCL before minArea filter — for UI debug overlay. */
|
|
513
532
|
EventCategory["MotionZonesRaw"] = "detection.motion-zones-raw";
|
|
@@ -5378,7 +5397,7 @@ var ZodIssueCode = {
|
|
|
5378
5397
|
var ZodFirstPartyTypeKind;
|
|
5379
5398
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5380
5399
|
//#endregion
|
|
5381
|
-
//#region ../types/dist/sleep-
|
|
5400
|
+
//#region ../types/dist/sleep-B0JG7-_F.mjs
|
|
5382
5401
|
/**
|
|
5383
5402
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5384
5403
|
* window to float samples (D455).
|
|
@@ -6744,32 +6763,12 @@ object({
|
|
|
6744
6763
|
audioCodec: string().optional(),
|
|
6745
6764
|
metadata: record(string(), unknown()).readonly().optional()
|
|
6746
6765
|
});
|
|
6747
|
-
var EncodedPacketSchema = object({
|
|
6748
|
-
type: _enum(["video", "audio"]),
|
|
6749
|
-
data: _instanceof(Uint8Array),
|
|
6750
|
-
pts: number(),
|
|
6751
|
-
dts: number(),
|
|
6752
|
-
keyframe: boolean(),
|
|
6753
|
-
codec: string()
|
|
6754
|
-
});
|
|
6755
|
-
var DecodedFrameSchema = object({
|
|
6756
|
-
data: _instanceof(Uint8Array),
|
|
6757
|
-
width: number(),
|
|
6758
|
-
height: number(),
|
|
6759
|
-
format: _enum([
|
|
6760
|
-
"jpeg",
|
|
6761
|
-
"rgb",
|
|
6762
|
-
"bgr",
|
|
6763
|
-
"yuv420",
|
|
6764
|
-
"gray"
|
|
6765
|
-
]),
|
|
6766
|
-
timestamp: number()
|
|
6767
|
-
});
|
|
6768
6766
|
/**
|
|
6769
6767
|
* Wire schema for `FrameHandle` — a zero-pixel, serialisable reference to a
|
|
6770
6768
|
* frame in a shared-memory ring (Phase 5 / D9). Mirrors the `FrameHandle` TS
|
|
6771
|
-
* interface in `interfaces/frame-handle.ts` field-for-field so a
|
|
6772
|
-
*
|
|
6769
|
+
* interface in `interfaces/frame-handle.ts` field-for-field so a cap method
|
|
6770
|
+
* (the runner's native-crop and pipeline-executor inputs) can carry handles
|
|
6771
|
+
* over tRPC / Moleculer.
|
|
6773
6772
|
*
|
|
6774
6773
|
* The `satisfies` assertion below pins this schema to the interface: if a
|
|
6775
6774
|
* field is added to / removed from `FrameHandle` without a matching schema
|
|
@@ -6795,50 +6794,6 @@ var FrameHandleSchema = object({
|
|
|
6795
6794
|
slotCount: number().int().positive()
|
|
6796
6795
|
});
|
|
6797
6796
|
/**
|
|
6798
|
-
* Pixel format a frame-handle subscriber can request from the broker
|
|
6799
|
-
* (Phase 5 / D9). The packed, raster subset of `FrameFormat` — the formats a
|
|
6800
|
-
* `frameSink: 'shm'` decoder session can write into a `FrameRing` slot.
|
|
6801
|
-
* `jpeg` is excluded: a variable-length stream is not a fixed-stride ring
|
|
6802
|
-
* payload, and no decoded-frame consumer requests it over the shm plane.
|
|
6803
|
-
*/
|
|
6804
|
-
var FrameHandleFormatSchema = _enum([
|
|
6805
|
-
"rgb",
|
|
6806
|
-
"bgr",
|
|
6807
|
-
"yuv420",
|
|
6808
|
-
"gray"
|
|
6809
|
-
]);
|
|
6810
|
-
/**
|
|
6811
|
-
* Input for `stream-broker.subscribeFrames` (Phase 5 / D9). A consumer asks the
|
|
6812
|
-
* broker for a `FrameHandle` stream of one `format`; the broker maintains one
|
|
6813
|
-
* shared-memory ring per `(brokerId, format)` actually requested, so a `gray`
|
|
6814
|
-
* subscriber (motion) and an `rgb` subscriber (detection) each read the format
|
|
6815
|
-
* they asked for with no broker-side conversion.
|
|
6816
|
-
*/
|
|
6817
|
-
var SubscribeFramesInputSchema = object({
|
|
6818
|
-
brokerId: string(),
|
|
6819
|
-
format: FrameHandleFormatSchema,
|
|
6820
|
-
/**
|
|
6821
|
-
* Optional reader-side cadence hint in frames per second. The broker does
|
|
6822
|
-
* NOT throttle — latest-wins ring reads drop frames implicitly for a slow
|
|
6823
|
-
* consumer. The value is echoed back in `SubscribeFramesResult.maxFps` so
|
|
6824
|
-
* the consumer can pace its own `pullFrameHandles` polling.
|
|
6825
|
-
*/
|
|
6826
|
-
maxFps: number().positive().optional(),
|
|
6827
|
-
/** Short caller-identity tag (`motion`, `detection`, …) for diagnostics. */
|
|
6828
|
-
tag: string().optional()
|
|
6829
|
-
});
|
|
6830
|
-
/**
|
|
6831
|
-
* Result of `stream-broker.subscribeFrames`. The consumer then polls
|
|
6832
|
-
* `pullFrameHandles({ subscriptionId, maxCount })` and feeds each returned
|
|
6833
|
-
* `FrameHandle` to a `FrameRingReader`.
|
|
6834
|
-
*/
|
|
6835
|
-
var SubscribeFramesResultSchema = object({
|
|
6836
|
-
/** Opaque id the consumer passes to `pullFrameHandles` / `unsubscribeFrames`. */
|
|
6837
|
-
subscriptionId: string(),
|
|
6838
|
-
/** Reader-side cadence hint (frames/s) — echoes `SubscribeFramesInput.maxFps`. */
|
|
6839
|
-
maxFps: number().nonnegative()
|
|
6840
|
-
});
|
|
6841
|
-
/**
|
|
6842
6797
|
* Wire schema for a decoded audio chunk (Phase 5 / D9). Mirrors the
|
|
6843
6798
|
* `DecodedAudioChunk` TS interface in `interfaces/stream-broker.ts`: PCM
|
|
6844
6799
|
* sample bytes plus the track parameters a consumer needs to interpret them.
|
|
@@ -6846,8 +6801,8 @@ var SubscribeFramesResultSchema = object({
|
|
|
6846
6801
|
* Audio chunks are tiny (a ~500ms AudioCodecSession window is a few KB of
|
|
6847
6802
|
* Float32 PCM), so unlike video frames they ship their bytes INLINE over
|
|
6848
6803
|
* tRPC / Moleculer — no shared-memory plane. `data` is typed `Uint8Array`
|
|
6849
|
-
* (the wire-serialisable supertype of `Buffer`)
|
|
6850
|
-
*
|
|
6804
|
+
* (the wire-serialisable supertype of `Buffer`); a `Buffer` is assignable to
|
|
6805
|
+
* it.
|
|
6851
6806
|
*/
|
|
6852
6807
|
var AudioChunkFormatSchema = _enum(AUDIO_CHUNK_FORMATS);
|
|
6853
6808
|
var DecodedAudioChunkSchema = object({
|
|
@@ -6865,11 +6820,10 @@ var DecodedAudioChunkSchema = object({
|
|
|
6865
6820
|
format: AudioChunkFormatSchema.optional()
|
|
6866
6821
|
});
|
|
6867
6822
|
/**
|
|
6868
|
-
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9).
|
|
6869
|
-
*
|
|
6870
|
-
*
|
|
6871
|
-
*
|
|
6872
|
-
* `pullAudioChunks`.
|
|
6823
|
+
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9). Audio ships
|
|
6824
|
+
* its bytes inline: a consumer asks the broker for the decoded audio-chunk
|
|
6825
|
+
* stream of one broker; the broker keeps a per-subscription bounded FIFO queue
|
|
6826
|
+
* the consumer drains via `pullAudioChunks`.
|
|
6873
6827
|
*/
|
|
6874
6828
|
var SubscribeAudioChunksInputSchema = object({
|
|
6875
6829
|
brokerId: string(),
|
|
@@ -6900,9 +6854,7 @@ var BrokerStatsSchema = object({
|
|
|
6900
6854
|
"stopped"
|
|
6901
6855
|
]),
|
|
6902
6856
|
inputFps: number(),
|
|
6903
|
-
decodeFps: number(),
|
|
6904
6857
|
encodedSubscribers: number(),
|
|
6905
|
-
decodedSubscribers: number(),
|
|
6906
6858
|
uptimeMs: number(),
|
|
6907
6859
|
bitrateKbps: number(),
|
|
6908
6860
|
idrIntervalMs: number(),
|
|
@@ -6915,14 +6867,6 @@ var BrokerStatsSchema = object({
|
|
|
6915
6867
|
preBufferMs: number(),
|
|
6916
6868
|
preBufferPackets: number(),
|
|
6917
6869
|
/**
|
|
6918
|
-
* Moleculer node id of the decoder provider currently servicing this
|
|
6919
|
-
* stream's decoded subscribers. `null` until the deferred decoder is
|
|
6920
|
-
* created (no decoded clients yet, or codec not detected). Surfaces the
|
|
6921
|
-
* runtime decoder placement so the UI can show "Decoder: <agent>" without
|
|
6922
|
-
* a separate cap call per broker.
|
|
6923
|
-
*/
|
|
6924
|
-
decoderNodeId: string().nullable(),
|
|
6925
|
-
/**
|
|
6926
6870
|
* Detected audio track parameters from the RTSP DESCRIBE / SDP. `null`
|
|
6927
6871
|
* when the stream has no audio track or the broker is in cold start.
|
|
6928
6872
|
* `supported = false` means the codec was detected but the local
|
|
@@ -10278,70 +10222,6 @@ var StorageLocationDeclarationSchema = object({
|
|
|
10278
10222
|
"backup"
|
|
10279
10223
|
]).optional()
|
|
10280
10224
|
});
|
|
10281
|
-
var DecoderStatsSchema = object({
|
|
10282
|
-
inputFps: number(),
|
|
10283
|
-
outputFps: number(),
|
|
10284
|
-
avgDecodeTimeMs: number(),
|
|
10285
|
-
droppedFrames: number(),
|
|
10286
|
-
/**
|
|
10287
|
-
* Pull-mode adaptive-fps telemetry (optional — only pull sessions run the
|
|
10288
|
-
* lag-driven controller; push sessions omit these). `lagMs` is the EWMA of
|
|
10289
|
-
* the decoder's real-time drift (rising = falling behind live); `adaptiveFps`
|
|
10290
|
-
* is the current lag-throttled emit rate (≤ `effectiveFps` ceiling).
|
|
10291
|
-
*/
|
|
10292
|
-
lagMs: number().optional(),
|
|
10293
|
-
effectiveFps: number().optional(),
|
|
10294
|
-
adaptiveFps: number().optional()
|
|
10295
|
-
});
|
|
10296
|
-
var DecoderSessionConfigSchema = object({
|
|
10297
|
-
codec: string(),
|
|
10298
|
-
maxFps: number().default(0),
|
|
10299
|
-
outputFormat: _enum([
|
|
10300
|
-
"jpeg",
|
|
10301
|
-
"rgb",
|
|
10302
|
-
"bgr",
|
|
10303
|
-
"yuv420",
|
|
10304
|
-
"gray"
|
|
10305
|
-
]).default("jpeg"),
|
|
10306
|
-
scale: number().default(1),
|
|
10307
|
-
width: number().optional(),
|
|
10308
|
-
height: number().optional(),
|
|
10309
|
-
/**
|
|
10310
|
-
* Identifier of the camera this decoder session serves. Optional
|
|
10311
|
-
* because the cap is generic (any caller could request decode), but
|
|
10312
|
-
* stream-broker passes it so decoder logs include `deviceId` for
|
|
10313
|
-
* per-camera filtering when diagnosing failures (e.g. node-av
|
|
10314
|
-
* sendPacket errors on a single hung camera).
|
|
10315
|
-
*/
|
|
10316
|
-
deviceId: number().int().nonnegative().optional(),
|
|
10317
|
-
/**
|
|
10318
|
-
* Free-form tag for log scoping. Stream-broker uses
|
|
10319
|
-
* `broker:<deviceId>/<profile>`. Decoder session logger surfaces it
|
|
10320
|
-
* on every line so `grep tag=broker:5/high` filters one camera
|
|
10321
|
-
* profile cleanly.
|
|
10322
|
-
*/
|
|
10323
|
-
tag: string().optional(),
|
|
10324
|
-
/**
|
|
10325
|
-
* Where the session delivers decoded frames (Phase 5 / D9):
|
|
10326
|
-
*
|
|
10327
|
-
* - `'callback'` (default) — the legacy pixel path: decoded frames are
|
|
10328
|
-
* buffered as `DecodedFrame`s and drained via `pullFrames`.
|
|
10329
|
-
* - `'shm'` — the shared-memory frame plane: decoded frames are written
|
|
10330
|
-
* into an OS shared-memory ring and drained as zero-pixel
|
|
10331
|
-
* `FrameHandle`s via `pullHandles`. A session is one mode or the
|
|
10332
|
-
* other — `pullFrames` returns nothing for an `'shm'` session and
|
|
10333
|
-
* `pullHandles` returns nothing for a `'callback'` session.
|
|
10334
|
-
*/
|
|
10335
|
-
frameSink: _enum(["callback", "shm"]).default("callback"),
|
|
10336
|
-
/**
|
|
10337
|
-
* Per-camera decoder DEBUG facility. When `true`, a pull-mode session emits
|
|
10338
|
-
* a throttled (~1Hz) structured `decoder debug` line (effective/adaptive fps,
|
|
10339
|
-
* real-time lag, dropped-frame delta, avg decode time, hwaccel). Mirrors the
|
|
10340
|
-
* stream-broker's `streamingDebug` gate — off by default so production logs
|
|
10341
|
-
* stay quiet and the emit path pays zero per-frame cost when disabled.
|
|
10342
|
-
*/
|
|
10343
|
-
debug: boolean().optional()
|
|
10344
|
-
});
|
|
10345
10225
|
/**
|
|
10346
10226
|
* Per-component log CHANNELS — the gate a hot path consults, and the registry
|
|
10347
10227
|
* an addon declares its channels in.
|
|
@@ -10484,6 +10364,26 @@ var ClipSearchStrictnessSchema = _enum([
|
|
|
10484
10364
|
"balanced",
|
|
10485
10365
|
"strict"
|
|
10486
10366
|
]);
|
|
10367
|
+
/** Steps whose effect a root label can BE. */
|
|
10368
|
+
var LABEL_SUPPLY_STEP_IDS = [
|
|
10369
|
+
"animal-classifier",
|
|
10370
|
+
"vehicle-classifier",
|
|
10371
|
+
"package-detection"
|
|
10372
|
+
];
|
|
10373
|
+
/** Steps whose box a root detection can BE. */
|
|
10374
|
+
var CROP_SUPPLY_STEP_IDS = ["plate-detection", "face-detection"];
|
|
10375
|
+
/**
|
|
10376
|
+
* Steps whose per-detection MASK a root detection can carry (D737). The live
|
|
10377
|
+
* mask step is `segmentation` — a frame-plane refiner that runs its own model
|
|
10378
|
+
* once per detection crop. (`instance-segmentation` is a dormant step id that
|
|
10379
|
+
* no camera tree carries.)
|
|
10380
|
+
*/
|
|
10381
|
+
var MASK_SUPPLY_STEP_IDS = ["segmentation"];
|
|
10382
|
+
[
|
|
10383
|
+
...LABEL_SUPPLY_STEP_IDS,
|
|
10384
|
+
...CROP_SUPPLY_STEP_IDS,
|
|
10385
|
+
...MASK_SUPPLY_STEP_IDS
|
|
10386
|
+
];
|
|
10487
10387
|
var MODEL_FORMATS = [
|
|
10488
10388
|
"onnx",
|
|
10489
10389
|
"coreml",
|
|
@@ -10512,7 +10412,53 @@ var ModelFormatEntrySchema = object({
|
|
|
10512
10412
|
/** Multi-file payload (directory members or sibling files). */
|
|
10513
10413
|
files: array(string()).readonly().optional(),
|
|
10514
10414
|
/** Runtime(s) that can use this format. If omitted, inferred from ModelFormat key */
|
|
10515
|
-
runtimes: array(_enum(["python"])).readonly().optional()
|
|
10415
|
+
runtimes: array(_enum(["python"])).readonly().optional(),
|
|
10416
|
+
/**
|
|
10417
|
+
* Content revision of the artefact, for one hosted OFF the CamStack mirror.
|
|
10418
|
+
* A format on the mirror leaves it unset: its revision (the sha256 of its
|
|
10419
|
+
* weight file) comes from the downloader's generated table, kept in step
|
|
10420
|
+
* with the mirror by `scripts/check-hosted-model-revisions.ts` (D744). A
|
|
10421
|
+
* node records the revision it downloaded next to the file
|
|
10422
|
+
* (`<file>.revision`); a copy with no record or a different one is stale
|
|
10423
|
+
* unless its weight file hashes to the revision, and a stale copy is
|
|
10424
|
+
* downloaded again, the old one serving until the new one is complete. No
|
|
10425
|
+
* revision at all ⇒ a file on disk is current, whatever it holds (D743).
|
|
10426
|
+
*/
|
|
10427
|
+
revision: string().min(1).optional()
|
|
10428
|
+
});
|
|
10429
|
+
/**
|
|
10430
|
+
* What a node holds for one (model, format) (D746). `current` is a complete
|
|
10431
|
+
* copy at its catalog revision — exactly what `downloaded: true` means.
|
|
10432
|
+
* `stale` is bytes on disk that are not (yet) proven current under D743/D744:
|
|
10433
|
+
* no or a different revision record, or a missing sibling. `missing` is no
|
|
10434
|
+
* copy. `downloaded` alone folds `stale` into "not downloaded", which hid
|
|
10435
|
+
* reclaimable bytes and a copy about to be replaced.
|
|
10436
|
+
*/
|
|
10437
|
+
var ModelOnDiskStateSchema = _enum([
|
|
10438
|
+
"current",
|
|
10439
|
+
"stale",
|
|
10440
|
+
"missing"
|
|
10441
|
+
]);
|
|
10442
|
+
/**
|
|
10443
|
+
* The numeric precision of one format's BUILD (D746) — reported only when the
|
|
10444
|
+
* build states it (file-name token, an INT8 variant, an EdgeTPU compile, a
|
|
10445
|
+
* CamStack Core ML export). Absent means "not stated", never "fp32".
|
|
10446
|
+
*/
|
|
10447
|
+
var ModelFormatPrecisionSchema = _enum([
|
|
10448
|
+
"fp32",
|
|
10449
|
+
"fp16",
|
|
10450
|
+
"int8"
|
|
10451
|
+
]);
|
|
10452
|
+
/**
|
|
10453
|
+
* One format of one model as a node's `pipelineExecutor.getSchema` reports it.
|
|
10454
|
+
* `onDisk` / `precision` are optional for version skew: a runner that predates
|
|
10455
|
+
* them omits them, and a reader falls back to `downloaded`.
|
|
10456
|
+
*/
|
|
10457
|
+
var PipelineModelFormatStatusSchema = object({
|
|
10458
|
+
downloaded: boolean(),
|
|
10459
|
+
sizeMB: number(),
|
|
10460
|
+
onDisk: ModelOnDiskStateSchema.optional(),
|
|
10461
|
+
precision: ModelFormatPrecisionSchema.optional()
|
|
10516
10462
|
});
|
|
10517
10463
|
/**
|
|
10518
10464
|
* Extra file that must be downloaded alongside the model (e.g., labels JSON, dict.txt).
|
|
@@ -10616,6 +10562,46 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
|
|
|
10616
10562
|
/** True when the weights or their data forbid commercial use. */
|
|
10617
10563
|
nonCommercial: boolean().optional()
|
|
10618
10564
|
}));
|
|
10565
|
+
/**
|
|
10566
|
+
* One step a ROOT detector can supply from its own output (D730) — see
|
|
10567
|
+
* `ModelCatalogEntry.suppliesSteps`.
|
|
10568
|
+
*
|
|
10569
|
+
* - `label`: the root's raw class IS the step's answer. `labelToEffect` maps
|
|
10570
|
+
* the root's label to the step's vocabulary; `uncovered` is the vocabulary
|
|
10571
|
+
* the root cannot produce (shown as unavailable, never a blocker).
|
|
10572
|
+
* - `crop`: the root draws the box the step would have found (`license_plate`
|
|
10573
|
+
* for plate-detection, `face` for face-detection). The box becomes a detail
|
|
10574
|
+
* child of the `parentMacro` detection that contains it — never a track.
|
|
10575
|
+
* - `mask`: the root's decode emits an instance mask with every detection (a
|
|
10576
|
+
* YOLO26-seg root, D737) — the `segmentation` step's result, carried on the
|
|
10577
|
+
* detection in the shape that step produces. Derived from the model's
|
|
10578
|
+
* postprocessor on read, never stored by an import.
|
|
10579
|
+
*/
|
|
10580
|
+
var RootStepSupplySchema = discriminatedUnion("kind", [
|
|
10581
|
+
object({
|
|
10582
|
+
kind: literal("label"),
|
|
10583
|
+
stepId: _enum(LABEL_SUPPLY_STEP_IDS),
|
|
10584
|
+
labelToEffect: record(string(), string()),
|
|
10585
|
+
uncovered: array(string()).readonly()
|
|
10586
|
+
}),
|
|
10587
|
+
object({
|
|
10588
|
+
kind: literal("crop"),
|
|
10589
|
+
stepId: _enum(CROP_SUPPLY_STEP_IDS),
|
|
10590
|
+
rootLabels: array(string()).readonly(),
|
|
10591
|
+
parentMacro: _enum(["vehicle", "person"]),
|
|
10592
|
+
childClass: _enum(["plate", "face"]),
|
|
10593
|
+
/**
|
|
10594
|
+
* The root's smaller input side, stamped on read by `rootSuppliesOf` from
|
|
10595
|
+
* the model entry — what a step's `minRootInputPx` gate judges. Never
|
|
10596
|
+
* stored by an import.
|
|
10597
|
+
*/
|
|
10598
|
+
rootInputPx: number().int().positive().optional()
|
|
10599
|
+
}),
|
|
10600
|
+
object({
|
|
10601
|
+
kind: literal("mask"),
|
|
10602
|
+
stepId: _enum(MASK_SUPPLY_STEP_IDS)
|
|
10603
|
+
})
|
|
10604
|
+
]);
|
|
10619
10605
|
var ModelCatalogEntrySchema = object({
|
|
10620
10606
|
id: string(),
|
|
10621
10607
|
name: string(),
|
|
@@ -10681,6 +10667,35 @@ var ModelCatalogEntrySchema = object({
|
|
|
10681
10667
|
*/
|
|
10682
10668
|
defaultConfidence: number().min(0).max(1).optional(),
|
|
10683
10669
|
/**
|
|
10670
|
+
* Per-MODEL default of the per-class confidence floors (`minConfidence<Macro>`
|
|
10671
|
+
* on a detector step), keyed by macro class: `{ person: 0.45 }`. A class
|
|
10672
|
+
* absent here runs at the step slider's global default. The same row shape
|
|
10673
|
+
* the floor measurement produces (`model-floors.json`: modelId → floors), so
|
|
10674
|
+
* a measured table is copied in as-is. An operator override is bound to the
|
|
10675
|
+
* model it was made for and does not survive a model change (D738). A custom
|
|
10676
|
+
* / imported model may declare it; without it, the global defaults apply.
|
|
10677
|
+
*/
|
|
10678
|
+
defaultClassFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10679
|
+
/**
|
|
10680
|
+
* The inference precision this model's OpenVINO IR needs on an Intel GPU.
|
|
10681
|
+
* Absent ⇒ the device default (f16 on a GPU). Set to `'f32'` for an FP32 IR
|
|
10682
|
+
* that produces invalid output at f16 — measured 2026-10-07 for YOLO26
|
|
10683
|
+
* base IRs (`yolo26s`: 0 true / 146 false positives; `yolo26m*`: NaN
|
|
10684
|
+
* scores) on the Core Ultra iGPU and the N100. Threaded to the pool as
|
|
10685
|
+
* `PoolModelConfig.gpuInferencePrecision`; the pool sets
|
|
10686
|
+
* INFERENCE_PRECISION_HINT on a GPU only. Costs ~60% latency on the GPU.
|
|
10687
|
+
*/
|
|
10688
|
+
gpuInferencePrecision: _enum(["f32", "f16"]).optional(),
|
|
10689
|
+
/**
|
|
10690
|
+
* ROOT detectors only: per supplied step (`animal-classifier`, …), the
|
|
10691
|
+
* minimum DETECTION score from which this root's own fine label (species,
|
|
10692
|
+
* vehicle type — D736 root supply) is taken (D741). Below it the detection
|
|
10693
|
+
* keeps its macro class without the fine label. `1` = never take it from
|
|
10694
|
+
* this root. Absent ⇒ no floor beyond the macro floor. The supplied step's
|
|
10695
|
+
* `minConfidence` slider, bound to the ROOT model, overrides it.
|
|
10696
|
+
*/
|
|
10697
|
+
suppliedLabelFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10698
|
+
/**
|
|
10684
10699
|
* When true, the executor produces a landmark-aligned crop (similarity warp
|
|
10685
10700
|
* onto the canonical template) before this step runs, instead of a plain
|
|
10686
10701
|
* axis-aligned bbox crop. Required for face-recognition embedders (ArcFace):
|
|
@@ -10742,6 +10757,16 @@ var ModelCatalogEntrySchema = object({
|
|
|
10742
10757
|
*/
|
|
10743
10758
|
classMap: DetectionCatalogClassMapSchema.optional(),
|
|
10744
10759
|
/**
|
|
10760
|
+
* The pipeline steps this ROOT detector can supply from its own output
|
|
10761
|
+
* (D730): its labels name a step's effect (`deer` for `animal-classifier`)
|
|
10762
|
+
* or draw a step's box (`license_plate` for `plate-detection`). Computed at
|
|
10763
|
+
* import from THIS model's labelmap by `deriveRootSupplies`, never written
|
|
10764
|
+
* by hand and never assumed per family; a row without it is derived on read
|
|
10765
|
+
* (`rootSuppliesOf`). Whether a camera uses it is the step's own
|
|
10766
|
+
* `useRootModel` flag (`resolveRootSupply`).
|
|
10767
|
+
*/
|
|
10768
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional(),
|
|
10769
|
+
/**
|
|
10745
10770
|
* The model's CLIP feature-space contract (text encoder, dimension, vector
|
|
10746
10771
|
* index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
|
|
10747
10772
|
* CLIP image encoder; its absence is what "not a CLIP model" means to the
|
|
@@ -12343,13 +12368,6 @@ var BrokerRtspClientSchema = object({
|
|
|
12343
12368
|
lastRtpAt: number(),
|
|
12344
12369
|
bytesSent: number()
|
|
12345
12370
|
});
|
|
12346
|
-
var BrokerDecodedClientSchema = object({
|
|
12347
|
-
tag: string(),
|
|
12348
|
-
subscribedAt: number(),
|
|
12349
|
-
maxFps: number(),
|
|
12350
|
-
framesDelivered: number(),
|
|
12351
|
-
framesDropped: number()
|
|
12352
|
-
});
|
|
12353
12371
|
var BrokerAudioClientSchema = object({
|
|
12354
12372
|
tag: string(),
|
|
12355
12373
|
subscribedAt: number(),
|
|
@@ -12441,7 +12459,6 @@ var BrokerEncodedClientSchema = object({
|
|
|
12441
12459
|
});
|
|
12442
12460
|
var BrokerClientsSchema = object({
|
|
12443
12461
|
rtsp: array(BrokerRtspClientSchema).readonly(),
|
|
12444
|
-
decoded: array(BrokerDecodedClientSchema).readonly(),
|
|
12445
12462
|
audio: array(BrokerAudioClientSchema).readonly(),
|
|
12446
12463
|
encoded: array(BrokerEncodedClientSchema).readonly(),
|
|
12447
12464
|
pipeClients: number(),
|
|
@@ -12810,11 +12827,7 @@ method(object({
|
|
|
12810
12827
|
auth: "admin"
|
|
12811
12828
|
}), method(object({ brokerId: string() }), BrokerClientsSchema), method(object({
|
|
12812
12829
|
brokerId: string(),
|
|
12813
|
-
channel: _enum([
|
|
12814
|
-
"rtsp",
|
|
12815
|
-
"decoded",
|
|
12816
|
-
"audio"
|
|
12817
|
-
]),
|
|
12830
|
+
channel: _enum(["rtsp", "audio"]),
|
|
12818
12831
|
handle: string()
|
|
12819
12832
|
}), object({ killed: boolean() }), {
|
|
12820
12833
|
kind: "mutation",
|
|
@@ -12849,10 +12862,7 @@ method(object({
|
|
|
12849
12862
|
}), method(SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, { kind: "mutation" }), method(object({
|
|
12850
12863
|
subscriptionId: string(),
|
|
12851
12864
|
maxCount: number().int().positive().default(8)
|
|
12852
|
-
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(
|
|
12853
|
-
subscriptionId: string(),
|
|
12854
|
-
maxCount: number().int().positive().default(4)
|
|
12855
|
-
}), array(FrameHandleSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
12865
|
+
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
12856
12866
|
brokerId: string(),
|
|
12857
12867
|
seconds: number().min(0).max(30)
|
|
12858
12868
|
}), _void(), {
|
|
@@ -14009,54 +14019,12 @@ id: union([string(), number()]) }), {
|
|
|
14009
14019
|
kind: "mutation",
|
|
14010
14020
|
auth: "admin"
|
|
14011
14021
|
});
|
|
14012
|
-
|
|
14013
|
-
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
14014
|
-
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
14015
|
-
* observe ring pressure (slot count, byte budget, hit/miss ratio).
|
|
14016
|
-
*/
|
|
14017
|
-
var ShmRingStatsSchema = object({
|
|
14018
|
-
sessionId: string(),
|
|
14019
|
-
slotCount: number().int(),
|
|
14020
|
-
slotByteLength: number().int(),
|
|
14021
|
-
segmentBytes: number().int(),
|
|
14022
|
-
budgetMb: number().int(),
|
|
14023
|
-
framesWritten: number().int(),
|
|
14024
|
-
getFrameHits: number().int(),
|
|
14025
|
-
getFrameMisses: number().int()
|
|
14026
|
-
});
|
|
14027
|
-
method(object({ codec: string() }), boolean()), method(_void(), object({
|
|
14022
|
+
method(_void(), object({
|
|
14028
14023
|
id: string(),
|
|
14029
14024
|
name: string(),
|
|
14030
|
-
isPullMode: boolean().optional(),
|
|
14031
|
-
priority: number().optional(),
|
|
14032
14025
|
hwaccel: string().optional(),
|
|
14033
14026
|
probedBestHwaccel: string().optional()
|
|
14034
|
-
})), method(
|
|
14035
|
-
sessionId: string(),
|
|
14036
|
-
nodeId: string()
|
|
14037
|
-
})), method(object({ sessionId: string() }), _void()), method(object({
|
|
14038
|
-
sessionId: string(),
|
|
14039
|
-
packet: EncodedPacketSchema
|
|
14040
|
-
}), _void()), method(object({
|
|
14041
|
-
sessionId: string(),
|
|
14042
|
-
url: string()
|
|
14043
|
-
}), _void()), method(object({
|
|
14044
|
-
sessionId: string(),
|
|
14045
|
-
maxCount: number().default(1),
|
|
14046
|
-
waitMs: number().optional()
|
|
14047
|
-
}), array(DecodedFrameSchema)), method(object({
|
|
14048
|
-
sessionId: string(),
|
|
14049
|
-
maxCount: number().default(1),
|
|
14050
|
-
waitMs: number().optional()
|
|
14051
|
-
}), array(FrameHandleSchema)), method(object({ handle: FrameHandleSchema }), DecodedFrameSchema.nullable()), method(object({ sessionId: string() }), ShmRingStatsSchema.nullable()), method(object({
|
|
14052
|
-
sessionId: string(),
|
|
14053
|
-
config: DecoderSessionConfigSchema.partial()
|
|
14054
|
-
}), _void()), method(object({ sessionId: string() }), DecoderStatsSchema), method(_void(), array(object({
|
|
14055
|
-
sessionId: string(),
|
|
14056
|
-
codec: string(),
|
|
14057
|
-
outputFormat: string(),
|
|
14058
|
-
createdAtMs: number()
|
|
14059
|
-
})).readonly()), method(_void(), object({ backend: string() }), {
|
|
14027
|
+
})), method(_void(), object({ backend: string() }), {
|
|
14060
14028
|
kind: "mutation",
|
|
14061
14029
|
auth: "admin"
|
|
14062
14030
|
});
|
|
@@ -14868,6 +14836,10 @@ var DeviceInfoSchema = object({
|
|
|
14868
14836
|
isCamera: boolean(),
|
|
14869
14837
|
/** Current config values — serializable snapshot */
|
|
14870
14838
|
config: record(string(), unknown()),
|
|
14839
|
+
/** Paths inside `config` the device's schema declares secret (D783) —
|
|
14840
|
+
* what the non-admin redaction withholds. Paths, never values. Absent
|
|
14841
|
+
* when the owning runner has not reported them. */
|
|
14842
|
+
secretConfigPaths: array(string()).optional(),
|
|
14871
14843
|
/** Hardware + identity blob (manufacturer / model / firmware / sn /
|
|
14872
14844
|
* uid / mac / …). Populated by drivers; editable via setMetadata. */
|
|
14873
14845
|
metadata: record(string(), unknown()).nullable().optional(),
|
|
@@ -15073,7 +15045,13 @@ var DeviceRegisterPayloadSchema = object({
|
|
|
15073
15045
|
* call (workers re-register on init), so probe-driven updates
|
|
15074
15046
|
* (e.g. PTZ flag flipping after the abilities probe) propagate. */
|
|
15075
15047
|
features: array(string()).optional(),
|
|
15076
|
-
config: record(string(), unknown())
|
|
15048
|
+
config: record(string(), unknown()),
|
|
15049
|
+
/** Config paths the device's own schema DECLARES secret
|
|
15050
|
+
* (`.meta({ secret: true })` — dotted, `[]` for array items, e.g.
|
|
15051
|
+
* `connection.password`). Re-published on every register; the non-admin
|
|
15052
|
+
* redaction withholds them at any depth (D783). Optional: an older runner
|
|
15053
|
+
* omits it and the keyword backstop applies. */
|
|
15054
|
+
secretConfigPaths: array(string()).optional()
|
|
15077
15055
|
});
|
|
15078
15056
|
var DeviceRemovePayloadSchema = object({ deviceId: number() });
|
|
15079
15057
|
var DevicePersistConfigPayloadSchema = object({
|
|
@@ -15900,6 +15878,12 @@ method(_void(), array(string()).readonly(), { auth: "admin" }), method(object({
|
|
|
15900
15878
|
kind: "mutation",
|
|
15901
15879
|
auth: "admin"
|
|
15902
15880
|
});
|
|
15881
|
+
var HUB_ADDRESS_ROLES = [
|
|
15882
|
+
"appConnections",
|
|
15883
|
+
"notificationTaps",
|
|
15884
|
+
"internal",
|
|
15885
|
+
"publicEndpoint"
|
|
15886
|
+
];
|
|
15903
15887
|
/**
|
|
15904
15888
|
* Transport bounds for AI capability methods.
|
|
15905
15889
|
*
|
|
@@ -16726,7 +16710,14 @@ var LoginMethodContributionSchema = discriminatedUnion("kind", [
|
|
|
16726
16710
|
icon: string().optional(),
|
|
16727
16711
|
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
16728
16712
|
startUrl: string(),
|
|
16729
|
-
stage: LoginStageEnum
|
|
16713
|
+
stage: LoginStageEnum,
|
|
16714
|
+
/**
|
|
16715
|
+
* The provider names an external identity a signed-in user can link to
|
|
16716
|
+
* their own account (D782): `auth.listLinkableProviders` /
|
|
16717
|
+
* `beginExternalLink` offer exactly the redirect methods that set this,
|
|
16718
|
+
* whatever their id. Absent / false — a login button only (magic-link).
|
|
16719
|
+
*/
|
|
16720
|
+
linkable: boolean().optional()
|
|
16730
16721
|
}),
|
|
16731
16722
|
object({
|
|
16732
16723
|
kind: literal("widget"),
|
|
@@ -18481,6 +18472,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
18481
18472
|
"stream-offline",
|
|
18482
18473
|
"node-online",
|
|
18483
18474
|
"node-offline",
|
|
18475
|
+
"node-restarting",
|
|
18476
|
+
"node-updating",
|
|
18484
18477
|
"node-inference-unavailable",
|
|
18485
18478
|
"detection-blind",
|
|
18486
18479
|
"addon-crash-loop",
|
|
@@ -20086,7 +20079,13 @@ var NcAlarmModeDelaysListSchema = array(object({
|
|
|
20086
20079
|
* Absent = false (logged, not sent). Even when true it is not sent when that same sensor
|
|
20087
20080
|
* is the one that starts the entry delay — the entry-delay notification already names it.
|
|
20088
20081
|
*/
|
|
20089
|
-
notifySensorRewatched: boolean().optional()
|
|
20082
|
+
notifySensorRewatched: boolean().optional(),
|
|
20083
|
+
/**
|
|
20084
|
+
* D735: notify "ignored" when a sensor this arm bypassed really MOVED while armed (its own
|
|
20085
|
+
* change time is after the arm) and set nothing off. Absent = false (logged, not sent). A
|
|
20086
|
+
* re-sync, a recovery from `unavailable` or a duplicate is never announced, switch or not.
|
|
20087
|
+
*/
|
|
20088
|
+
notifySensorIgnored: boolean().optional()
|
|
20090
20089
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
|
|
20091
20090
|
var NcAlarmModeDelaysEditListSchema = array(object({
|
|
20092
20091
|
mode: AlarmArmModeSchema,
|
|
@@ -20099,7 +20098,9 @@ var NcAlarmModeDelaysEditListSchema = array(object({
|
|
|
20099
20098
|
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20100
20099
|
notifyDuringEntryDelay: boolean().nullable().optional(),
|
|
20101
20100
|
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20102
|
-
notifySensorRewatched: boolean().nullable().optional()
|
|
20101
|
+
notifySensorRewatched: boolean().nullable().optional(),
|
|
20102
|
+
/** D735: set the switch, or `null` to clear it (back to the default, false). */
|
|
20103
|
+
notifySensorIgnored: boolean().nullable().optional()
|
|
20103
20104
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
|
|
20104
20105
|
/** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
|
|
20105
20106
|
var NcAlarmNonBlockingEditSchema = object({
|
|
@@ -21077,8 +21078,8 @@ Object.freeze(Object.fromEntries([{
|
|
|
21077
21078
|
var CLUSTER_STEP_SETTING_FIELDS = [{
|
|
21078
21079
|
stepId: "face-embedding",
|
|
21079
21080
|
key: "minLandmarkFaceSize",
|
|
21080
|
-
label: "Min face size
|
|
21081
|
-
description: "
|
|
21081
|
+
label: "Min face size to embed (detection-frame px)",
|
|
21082
|
+
description: "Faces smaller than this in the small frame the detector sees are not embedded, so they can never be recognised. Below it the face cannot be aligned reliably and a bad embedding matches everyone. Same value on every node. 0 = no limit.",
|
|
21082
21083
|
type: "slider",
|
|
21083
21084
|
min: 0,
|
|
21084
21085
|
max: 64,
|
|
@@ -22130,7 +22131,13 @@ var RetrainFrameSchema = object({
|
|
|
22130
22131
|
sizeBytes: number().int(),
|
|
22131
22132
|
width: number().int(),
|
|
22132
22133
|
height: number().int(),
|
|
22133
|
-
copiedAt: number()
|
|
22134
|
+
copiedAt: number(),
|
|
22135
|
+
/** When the CAMERA captured the frame. Absent on a copy taken before D785. */
|
|
22136
|
+
capturedAt: number().optional(),
|
|
22137
|
+
/** The operator's "every subject in this frame is boxed". Detector
|
|
22138
|
+
* evaluation keeps only complete frames: an unboxed subject would count as
|
|
22139
|
+
* a false positive. */
|
|
22140
|
+
complete: boolean()
|
|
22134
22141
|
});
|
|
22135
22142
|
/** Why a copy-on-select could not be honoured — named, never a silent skip. */
|
|
22136
22143
|
var RetrainCopyRefusalSchema = _enum([
|
|
@@ -22151,6 +22158,51 @@ var RetrainFrameListSchema = object({
|
|
|
22151
22158
|
/** What the page pre-selects — the native key frame when one survives. */
|
|
22152
22159
|
autoPickMediaId: number().int().optional()
|
|
22153
22160
|
});
|
|
22161
|
+
/**
|
|
22162
|
+
* Which frames an annotated export carries. Every field narrows; an empty
|
|
22163
|
+
* filter is every annotated copy. A dataset VERSION is a frozen `frameIds`
|
|
22164
|
+
* list owned by whoever trains (the training orchestrator), so `frameIds` is
|
|
22165
|
+
* the primitive a version export uses; `batchId` re-selects what an earlier
|
|
22166
|
+
* export carried (`exportedInBatch`).
|
|
22167
|
+
*/
|
|
22168
|
+
var RetrainExportFilterSchema = object({
|
|
22169
|
+
deviceIds: array(number()).optional(),
|
|
22170
|
+
frameIds: array(string()).max(2e4).optional(),
|
|
22171
|
+
batchId: string().optional(),
|
|
22172
|
+
/** Only frames the operator marked complete (all subjects boxed). */
|
|
22173
|
+
completeOnly: boolean().optional()
|
|
22174
|
+
});
|
|
22175
|
+
/**
|
|
22176
|
+
* `frames`: the full frame copies, boxes in `annotations.json`.
|
|
22177
|
+
* `crops`: additionally one JPEG per subject, cut with the runtime detail-crop
|
|
22178
|
+
* convention — the classifier layout.
|
|
22179
|
+
*/
|
|
22180
|
+
var RetrainExportLayoutSchema = _enum(["frames", "crops"]);
|
|
22181
|
+
/**
|
|
22182
|
+
* Where `writeRetrainArchive` streams the tar: one HTTP request whose body is
|
|
22183
|
+
* the archive, sent chunk by chunk. Covers a presigned PUT and a provider
|
|
22184
|
+
* addon's data-plane upload route alike. Headers are sent verbatim and never
|
|
22185
|
+
* logged.
|
|
22186
|
+
*/
|
|
22187
|
+
var RetrainArchiveTargetSchema = object({
|
|
22188
|
+
kind: literal("http"),
|
|
22189
|
+
method: _enum(["PUT", "POST"]),
|
|
22190
|
+
url: string().url(),
|
|
22191
|
+
headers: record(string(), string()).optional()
|
|
22192
|
+
});
|
|
22193
|
+
var RetrainArchiveResultSchema = object({
|
|
22194
|
+
batchId: string(),
|
|
22195
|
+
frames: number().int(),
|
|
22196
|
+
crops: number().int(),
|
|
22197
|
+
annotations: number().int(),
|
|
22198
|
+
/** Frames planned but not shipped (unreadable copy, path too long). */
|
|
22199
|
+
missing: number().int(),
|
|
22200
|
+
bytes: number().int(),
|
|
22201
|
+
/** sha256 of the exact bytes sent. */
|
|
22202
|
+
sha256: string(),
|
|
22203
|
+
/** The target's HTTP status. */
|
|
22204
|
+
status: number().int()
|
|
22205
|
+
});
|
|
22154
22206
|
/** What the operator asked the assist to look for. */
|
|
22155
22207
|
var RetrainAssistSubjectSchema = discriminatedUnion("kind", [object({
|
|
22156
22208
|
kind: literal("package"),
|
|
@@ -22945,9 +22997,25 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
22945
22997
|
}), RetrainTransitionResultSchema, {
|
|
22946
22998
|
kind: "mutation",
|
|
22947
22999
|
auth: "admin"
|
|
22948
|
-
}), method(
|
|
23000
|
+
}), method(RetrainExportFilterSchema.extend({ layout: RetrainExportLayoutSchema.optional() }), object({ url: string() }), {
|
|
22949
23001
|
kind: "query",
|
|
22950
23002
|
auth: "admin"
|
|
23003
|
+
}), method(object({
|
|
23004
|
+
deviceId: number(),
|
|
23005
|
+
trackId: string(),
|
|
23006
|
+
frameId: string(),
|
|
23007
|
+
complete: boolean()
|
|
23008
|
+
}), RetrainFrameSchema, {
|
|
23009
|
+
kind: "mutation",
|
|
23010
|
+
auth: "admin"
|
|
23011
|
+
}), method(object({
|
|
23012
|
+
filter: RetrainExportFilterSchema,
|
|
23013
|
+
layout: RetrainExportLayoutSchema,
|
|
23014
|
+
target: RetrainArchiveTargetSchema
|
|
23015
|
+
}), RetrainArchiveResultSchema, {
|
|
23016
|
+
kind: "mutation",
|
|
23017
|
+
auth: "admin",
|
|
23018
|
+
timeoutMs: 60 * 6e4
|
|
22951
23019
|
}), method(object({
|
|
22952
23020
|
/** Which of the three event tables owns the row. */
|
|
22953
23021
|
ownerType: EventOwnerTypeSchema,
|
|
@@ -22998,6 +23066,34 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
22998
23066
|
timestamp: number()
|
|
22999
23067
|
});
|
|
23000
23068
|
/**
|
|
23069
|
+
* A root model's boxes standing in for one crop-kind step's own inference
|
|
23070
|
+
* (D730) — see `runPipeline.suppliedRoot`.
|
|
23071
|
+
*/
|
|
23072
|
+
var SuppliedRootOutputSchema = object({
|
|
23073
|
+
stepId: string(),
|
|
23074
|
+
/** The root model that drew the boxes — stamped on the result. */
|
|
23075
|
+
modelId: string(),
|
|
23076
|
+
detections: array(object({
|
|
23077
|
+
/** `[x1, y1, x2, y2]` in the pixels of the call's image. */
|
|
23078
|
+
bbox: tuple([
|
|
23079
|
+
number(),
|
|
23080
|
+
number(),
|
|
23081
|
+
number(),
|
|
23082
|
+
number()
|
|
23083
|
+
]),
|
|
23084
|
+
score: number(),
|
|
23085
|
+
/**
|
|
23086
|
+
* Five facial landmarks in the same pixels — a face the step's own
|
|
23087
|
+
* detector already re-found inside a root face box (D730), so its
|
|
23088
|
+
* embedder child aligns it exactly as it aligns any detected face.
|
|
23089
|
+
*/
|
|
23090
|
+
landmarks: array(object({
|
|
23091
|
+
x: number(),
|
|
23092
|
+
y: number()
|
|
23093
|
+
})).optional()
|
|
23094
|
+
})).min(1)
|
|
23095
|
+
});
|
|
23096
|
+
/**
|
|
23001
23097
|
* Reference to the frame's retained NATIVE surface + the parent crop's placement
|
|
23002
23098
|
* within the frame, so the executor can re-cut a leaf child ROI at native
|
|
23003
23099
|
* resolution on the detail plane. See the `runPipeline` `nativeCropRef` field.
|
|
@@ -23045,7 +23141,7 @@ var FrameRefSchema = object({
|
|
|
23045
23141
|
timestamp: number(),
|
|
23046
23142
|
capturedAt: number().optional()
|
|
23047
23143
|
});
|
|
23048
|
-
var ModelFormatSchema$
|
|
23144
|
+
var ModelFormatSchema$2 = _enum([
|
|
23049
23145
|
"onnx",
|
|
23050
23146
|
"coreml",
|
|
23051
23147
|
"openvino",
|
|
@@ -23063,7 +23159,7 @@ var PipelineSlotSchema = _enum([
|
|
|
23063
23159
|
var PipelineEngineChoiceSchema = object({
|
|
23064
23160
|
runtime: literal("python"),
|
|
23065
23161
|
backend: string(),
|
|
23066
|
-
format: ModelFormatSchema$
|
|
23162
|
+
format: ModelFormatSchema$2,
|
|
23067
23163
|
device: string().optional()
|
|
23068
23164
|
});
|
|
23069
23165
|
/**
|
|
@@ -23102,32 +23198,15 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
23102
23198
|
group: string().optional(),
|
|
23103
23199
|
settings: record(string(), unknown()).optional()
|
|
23104
23200
|
}));
|
|
23105
|
-
var PipelineTemplateStepSchema = lazy(() => object({
|
|
23106
|
-
addonId: string(),
|
|
23107
|
-
enabled: boolean(),
|
|
23108
|
-
modelId: string(),
|
|
23109
|
-
children: array(PipelineTemplateStepSchema).readonly(),
|
|
23110
|
-
settings: record(string(), unknown()).optional()
|
|
23111
|
-
}));
|
|
23112
|
-
var PipelineTemplateSchema$1 = object({
|
|
23113
|
-
id: string(),
|
|
23114
|
-
name: string(),
|
|
23115
|
-
createdAt: string(),
|
|
23116
|
-
updatedAt: string(),
|
|
23117
|
-
engine: PipelineEngineChoiceSchema,
|
|
23118
|
-
steps: array(PipelineTemplateStepSchema).readonly()
|
|
23119
|
-
});
|
|
23120
23201
|
var PipelineModelOptionSchema = object({
|
|
23121
23202
|
id: string(),
|
|
23122
23203
|
name: string(),
|
|
23123
|
-
formats: record(string(),
|
|
23124
|
-
downloaded: boolean(),
|
|
23125
|
-
sizeMB: number()
|
|
23126
|
-
})),
|
|
23204
|
+
formats: record(string(), PipelineModelFormatStatusSchema),
|
|
23127
23205
|
group: ModelVariantGroupSchema.optional(),
|
|
23128
23206
|
legacy: boolean().optional(),
|
|
23129
23207
|
provider: ModelProviderIdSchema.optional(),
|
|
23130
|
-
defaultConfidence: number().optional()
|
|
23208
|
+
defaultConfidence: number().optional(),
|
|
23209
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional()
|
|
23131
23210
|
});
|
|
23132
23211
|
var ConfigFieldBridge = custom();
|
|
23133
23212
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -23289,6 +23368,22 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23289
23368
|
}), {
|
|
23290
23369
|
kind: "mutation",
|
|
23291
23370
|
auth: "admin"
|
|
23371
|
+
}), method(object({
|
|
23372
|
+
nodeId: string(),
|
|
23373
|
+
deviceIds: array(number()).readonly().optional(),
|
|
23374
|
+
dryRun: boolean()
|
|
23375
|
+
}), object({
|
|
23376
|
+
entries: array(object({
|
|
23377
|
+
deviceId: number(),
|
|
23378
|
+
keys: array(string()).readonly()
|
|
23379
|
+
})).readonly(),
|
|
23380
|
+
refused: array(object({
|
|
23381
|
+
deviceId: number(),
|
|
23382
|
+
reason: string()
|
|
23383
|
+
})).readonly()
|
|
23384
|
+
}), {
|
|
23385
|
+
kind: "mutation",
|
|
23386
|
+
auth: "admin"
|
|
23292
23387
|
}), method(object({ nodeId: string() }), object({ unhealthy: array(object({
|
|
23293
23388
|
/** `<backend>:<device>`, e.g. `openvino:gpu`. */
|
|
23294
23389
|
deviceKey: string(),
|
|
@@ -23314,22 +23409,14 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23314
23409
|
}), method(_void(), PipelineSchemaSchema), method(_void(), array(PipelineDefaultStepSchema).readonly().nullable()), method(_void(), PipelineConfigBridge), method(_void(), ConfigUISchemaBridge), method(object({
|
|
23315
23410
|
steps: array(PipelineStepInputSchema),
|
|
23316
23411
|
deviceKey: string().optional()
|
|
23317
|
-
}), PipelineValidationResultSchema), method(_void(),
|
|
23318
|
-
name: string(),
|
|
23319
|
-
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
23320
|
-
engine: PipelineEngineChoiceSchema
|
|
23321
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({
|
|
23322
|
-
id: string(),
|
|
23323
|
-
name: string().optional(),
|
|
23324
|
-
steps: array(PipelineTemplateStepSchema).readonly().optional()
|
|
23325
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({ id: string() }), _void(), { kind: "mutation" }), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
23412
|
+
}), PipelineValidationResultSchema), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
23326
23413
|
addonId: string(),
|
|
23327
23414
|
modelId: string(),
|
|
23328
|
-
format: ModelFormatSchema$
|
|
23415
|
+
format: ModelFormatSchema$2
|
|
23329
23416
|
}), DownloadModelResultSchema, { kind: "mutation" }), method(object({
|
|
23330
23417
|
addonId: string(),
|
|
23331
23418
|
modelId: string(),
|
|
23332
|
-
format: ModelFormatSchema$
|
|
23419
|
+
format: ModelFormatSchema$2
|
|
23333
23420
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
23334
23421
|
steps: array(PipelineStepInputSchema).min(1),
|
|
23335
23422
|
frame: FrameInputSchema.optional(),
|
|
@@ -23395,7 +23482,16 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23395
23482
|
* `device-not-servable`), and nothing reaches the camera's live
|
|
23396
23483
|
* trace stream. Absent ⇒ unchanged behaviour.
|
|
23397
23484
|
*/
|
|
23398
|
-
replay: literal(true).optional()
|
|
23485
|
+
replay: literal(true).optional(),
|
|
23486
|
+
/**
|
|
23487
|
+
* Root-supplied detections for the tree's ROOT step (D730). Set by
|
|
23488
|
+
* `runDetailSubtree` when the camera's root model supplies a crop-kind
|
|
23489
|
+
* step (a Frigate+ `license_plate` for `plate-detection`): the step is
|
|
23490
|
+
* NOT inferred, these boxes are its output, and its children (the plate
|
|
23491
|
+
* reader) run on them through their own crop policy. Boxes are in the
|
|
23492
|
+
* PIXELS of the image this call carries. Absent ⇒ the root step runs.
|
|
23493
|
+
*/
|
|
23494
|
+
suppliedRoot: SuppliedRootOutputSchema.optional()
|
|
23399
23495
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
23400
23496
|
steps: array(PipelineStepInputSchema).min(1),
|
|
23401
23497
|
frames: array(FrameInputSchema).min(1).max(255),
|
|
@@ -23477,6 +23573,375 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23477
23573
|
filename: string().optional(),
|
|
23478
23574
|
settings: record(string(), unknown()).optional()
|
|
23479
23575
|
}), AudioTestResultSchema, { kind: "mutation" }), method(_void(), ConfigUISchemaNullableBridge);
|
|
23576
|
+
/**
|
|
23577
|
+
* The wire shapes of the Auto tune plan and apply (D745), used by the
|
|
23578
|
+
* `pipeline-orchestrator` cap. The recommender's own types
|
|
23579
|
+
* (`recommend.ts`) are the TS face of the same data; these
|
|
23580
|
+
* schemas are what crosses the cap boundary.
|
|
23581
|
+
*/
|
|
23582
|
+
var ModelFormatSchema$1 = _enum(MODEL_FORMATS);
|
|
23583
|
+
/** The operator's range for it. */
|
|
23584
|
+
var MIN_SESSIONS_PER_DEVICE_RANGE = {
|
|
23585
|
+
min: 1,
|
|
23586
|
+
max: 8
|
|
23587
|
+
};
|
|
23588
|
+
var HardwareClassIdSchema = _enum([
|
|
23589
|
+
"intel-core-ultra",
|
|
23590
|
+
"intel-n-series",
|
|
23591
|
+
"apple-m-base",
|
|
23592
|
+
"apple-m-pro",
|
|
23593
|
+
"unknown"
|
|
23594
|
+
]);
|
|
23595
|
+
var AcceleratorKindSchema = _enum([
|
|
23596
|
+
"intel-npu",
|
|
23597
|
+
"intel-igpu",
|
|
23598
|
+
"x86-cpu",
|
|
23599
|
+
"arm-cpu",
|
|
23600
|
+
"apple-ane",
|
|
23601
|
+
"coral"
|
|
23602
|
+
]);
|
|
23603
|
+
var RecommendationReasonSchema = discriminatedUnion("kind", [
|
|
23604
|
+
object({
|
|
23605
|
+
kind: literal("capacity"),
|
|
23606
|
+
sessions: number(),
|
|
23607
|
+
minSessions: number()
|
|
23608
|
+
}),
|
|
23609
|
+
object({
|
|
23610
|
+
kind: literal("tie-faster"),
|
|
23611
|
+
over: string(),
|
|
23612
|
+
recallDelta: number()
|
|
23613
|
+
}),
|
|
23614
|
+
object({
|
|
23615
|
+
kind: literal("stepped-down"),
|
|
23616
|
+
from: string(),
|
|
23617
|
+
to: string(),
|
|
23618
|
+
limitedBy: string()
|
|
23619
|
+
}),
|
|
23620
|
+
object({
|
|
23621
|
+
kind: literal("no-fit-lightest"),
|
|
23622
|
+
sessions: number(),
|
|
23623
|
+
minSessions: number()
|
|
23624
|
+
}),
|
|
23625
|
+
object({
|
|
23626
|
+
kind: literal("derived-latency"),
|
|
23627
|
+
modelId: string()
|
|
23628
|
+
}),
|
|
23629
|
+
object({ kind: literal("cpu-device") }),
|
|
23630
|
+
object({ kind: literal("coral-untouched") }),
|
|
23631
|
+
object({ kind: literal("device-disabled") }),
|
|
23632
|
+
object({ kind: literal("device-unavailable") }),
|
|
23633
|
+
object({ kind: literal("node-offline") }),
|
|
23634
|
+
object({ kind: literal("no-hardware-facts") }),
|
|
23635
|
+
object({
|
|
23636
|
+
kind: literal("no-measured-data"),
|
|
23637
|
+
hardwareClass: HardwareClassIdSchema
|
|
23638
|
+
}),
|
|
23639
|
+
object({
|
|
23640
|
+
kind: literal("no-family-build"),
|
|
23641
|
+
format: ModelFormatSchema$1
|
|
23642
|
+
})
|
|
23643
|
+
]);
|
|
23644
|
+
var DeviceModelChoiceSchema = object({
|
|
23645
|
+
modelId: string(),
|
|
23646
|
+
p50Ms: number(),
|
|
23647
|
+
fps: number(),
|
|
23648
|
+
measured: boolean(),
|
|
23649
|
+
/** Parallel sessions at the camera rate with the headroom kept free: ⌊fps × (1 − headroom) / camera fps⌋. */
|
|
23650
|
+
capacitySessions: number(),
|
|
23651
|
+
personRecall: number()
|
|
23652
|
+
});
|
|
23653
|
+
var DeviceRecommendationSchema = object({
|
|
23654
|
+
deviceKey: string(),
|
|
23655
|
+
accelerator: AcceleratorKindSchema.nullable(),
|
|
23656
|
+
enabled: boolean(),
|
|
23657
|
+
available: boolean(),
|
|
23658
|
+
chosen: DeviceModelChoiceSchema.nullable(),
|
|
23659
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
23660
|
+
});
|
|
23661
|
+
var NodeRecommendationSchema = object({
|
|
23662
|
+
nodeId: string(),
|
|
23663
|
+
reachable: boolean(),
|
|
23664
|
+
hardwareClass: HardwareClassIdSchema.nullable(),
|
|
23665
|
+
cpuModel: string().nullable(),
|
|
23666
|
+
skipped: boolean(),
|
|
23667
|
+
acceleratorModelId: string().nullable(),
|
|
23668
|
+
devices: array(DeviceRecommendationSchema).readonly(),
|
|
23669
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
23670
|
+
});
|
|
23671
|
+
var ModelPinChangeSchema = object({
|
|
23672
|
+
stepId: string(),
|
|
23673
|
+
before: string().nullable(),
|
|
23674
|
+
after: string().nullable()
|
|
23675
|
+
});
|
|
23676
|
+
var NodeDeviceChangeSchema = object({
|
|
23677
|
+
nodeId: string(),
|
|
23678
|
+
deviceKey: string(),
|
|
23679
|
+
madeExplicit: boolean(),
|
|
23680
|
+
modelPins: array(ModelPinChangeSchema).readonly(),
|
|
23681
|
+
thresholds: array(object({
|
|
23682
|
+
stepId: string(),
|
|
23683
|
+
keys: array(string()).readonly()
|
|
23684
|
+
})).readonly()
|
|
23685
|
+
});
|
|
23686
|
+
var CameraOverrideClearSchema = object({
|
|
23687
|
+
deviceId: number(),
|
|
23688
|
+
source: _enum(["step-override", "wholesale"]),
|
|
23689
|
+
nodeId: string(),
|
|
23690
|
+
deviceKey: string().nullable(),
|
|
23691
|
+
stepId: string(),
|
|
23692
|
+
modelIdBefore: string().nullable(),
|
|
23693
|
+
keys: array(string()).readonly()
|
|
23694
|
+
});
|
|
23695
|
+
var DetectorStoreClearSchema = object({
|
|
23696
|
+
deviceId: number(),
|
|
23697
|
+
keys: array(string()).readonly()
|
|
23698
|
+
});
|
|
23699
|
+
var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
23700
|
+
object({
|
|
23701
|
+
kind: literal("detector-store-cluster-wide"),
|
|
23702
|
+
skippedNodes: array(string()).readonly()
|
|
23703
|
+
}),
|
|
23704
|
+
object({
|
|
23705
|
+
kind: literal("detector-store-unreadable"),
|
|
23706
|
+
error: string()
|
|
23707
|
+
}),
|
|
23708
|
+
object({
|
|
23709
|
+
kind: literal("coral-enabled"),
|
|
23710
|
+
nodeId: string(),
|
|
23711
|
+
deviceKey: string()
|
|
23712
|
+
})
|
|
23713
|
+
]);
|
|
23714
|
+
var AutoTuneOptionsSchema = object({
|
|
23715
|
+
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
23716
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
23717
|
+
/**
|
|
23718
|
+
* The least number of parallel sessions every device must sustain at the
|
|
23719
|
+
* camera rate with the headroom kept free (D755). The most accurate model
|
|
23720
|
+
* that reaches it wins.
|
|
23721
|
+
*/
|
|
23722
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
23723
|
+
});
|
|
23724
|
+
var AutoTunePlanSchema = object({
|
|
23725
|
+
/** Hash of everything the apply will write — the apply refuses a different one. */
|
|
23726
|
+
planHash: string(),
|
|
23727
|
+
family: literal("yolov9"),
|
|
23728
|
+
headroom: number(),
|
|
23729
|
+
minSessionsPerDevice: number(),
|
|
23730
|
+
/** The detection rate a session is counted at (the fastest camera running the pipeline root). */
|
|
23731
|
+
cameraFps: number(),
|
|
23732
|
+
generatedAt: number(),
|
|
23733
|
+
nodes: array(NodeRecommendationSchema).readonly(),
|
|
23734
|
+
nodeChanges: array(NodeDeviceChangeSchema).readonly(),
|
|
23735
|
+
cameraClears: array(CameraOverrideClearSchema).readonly(),
|
|
23736
|
+
detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
|
|
23737
|
+
warnings: array(AutoTuneWarningSchema).readonly()
|
|
23738
|
+
});
|
|
23739
|
+
var AutoTuneApplyInputSchema = object({
|
|
23740
|
+
planHash: string(),
|
|
23741
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
23742
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
23743
|
+
});
|
|
23744
|
+
var AutoTunePhaseResultSchema = object({
|
|
23745
|
+
phase: _enum([
|
|
23746
|
+
"download",
|
|
23747
|
+
"camera-overrides",
|
|
23748
|
+
"detector-thresholds",
|
|
23749
|
+
"node-models",
|
|
23750
|
+
"redispatch"
|
|
23751
|
+
]),
|
|
23752
|
+
ok: boolean(),
|
|
23753
|
+
detail: string()
|
|
23754
|
+
});
|
|
23755
|
+
var AutoTuneApplyResultSchema = discriminatedUnion("kind", [
|
|
23756
|
+
object({
|
|
23757
|
+
kind: literal("applied"),
|
|
23758
|
+
planHash: string(),
|
|
23759
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
23760
|
+
}),
|
|
23761
|
+
object({
|
|
23762
|
+
kind: literal("aborted"),
|
|
23763
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
23764
|
+
}),
|
|
23765
|
+
object({
|
|
23766
|
+
kind: literal("stale"),
|
|
23767
|
+
plan: AutoTunePlanSchema
|
|
23768
|
+
}),
|
|
23769
|
+
object({
|
|
23770
|
+
kind: literal("refused"),
|
|
23771
|
+
reason: _enum(["apply-in-progress"])
|
|
23772
|
+
})
|
|
23773
|
+
]);
|
|
23774
|
+
/**
|
|
23775
|
+
* Wire shapes of the Load balancing surface (D748): the session placement
|
|
23776
|
+
* policy, the atomic share write, the observed placement statistics, the
|
|
23777
|
+
* hardware share suggestion and the stale device pins.
|
|
23778
|
+
*/
|
|
23779
|
+
/**
|
|
23780
|
+
* How a new detection session picks its node and device.
|
|
23781
|
+
* - `least-loaded` — the historical rule: lowest `attached / weight`, a
|
|
23782
|
+
* constant node order at a tie (D37). An idle node always ties at 0, so a
|
|
23783
|
+
* weight only bites once a node already holds a session.
|
|
23784
|
+
* - `share` — the share of PARALLEL sessions is held to the weights, and a
|
|
23785
|
+
* full or drowning node yields to a free one (D748).
|
|
23786
|
+
*/
|
|
23787
|
+
var SessionPlacementPolicySchema = _enum(["least-loaded", "share"]);
|
|
23788
|
+
var LoadBalancingSharesInputSchema = object({
|
|
23789
|
+
/** nodeId → share (> 0). A node left out keeps its weight. */
|
|
23790
|
+
nodes: record(string(), number().positive()).default({}),
|
|
23791
|
+
/** nodeId → deviceKey → share (> 0). A device left out keeps its weight. */
|
|
23792
|
+
devices: record(string(), record(string(), number().positive())).default({})
|
|
23793
|
+
});
|
|
23794
|
+
var PlacementStatsInputSchema = object({
|
|
23795
|
+
/** Window the observed shares are averaged over (default 1 h, max 24 h). */
|
|
23796
|
+
windowMs: number().int().min(6e4).max(1440 * 60 * 1e3).default(3600 * 1e3) });
|
|
23797
|
+
var PlacementDeviceStatsSchema = object({
|
|
23798
|
+
deviceKey: string(),
|
|
23799
|
+
/** Sessions running on this device now. */
|
|
23800
|
+
sessionsNow: number(),
|
|
23801
|
+
/** Sessions started on this device inside the window. */
|
|
23802
|
+
sessionsStarted: number(),
|
|
23803
|
+
/** Time-weighted share of the node's parallel sessions over the window (0–1); null = no session ran. */
|
|
23804
|
+
observedShare: number().nullable()
|
|
23805
|
+
});
|
|
23806
|
+
var PlacementNodeStatsSchema = object({
|
|
23807
|
+
nodeId: string(),
|
|
23808
|
+
sessionsNow: number(),
|
|
23809
|
+
sessionsStarted: number(),
|
|
23810
|
+
/** Time-weighted share of the cluster's parallel sessions over the window (0–1); null = none ran. */
|
|
23811
|
+
observedShare: number().nullable(),
|
|
23812
|
+
/** Most sessions this node ran at once inside the window. */
|
|
23813
|
+
peakSessions: number(),
|
|
23814
|
+
/** Sessions a share election handed elsewhere because this node was full or drowning. */
|
|
23815
|
+
yieldsAway: number(),
|
|
23816
|
+
devices: array(PlacementDeviceStatsSchema).readonly()
|
|
23817
|
+
});
|
|
23818
|
+
/** A camera's device pin that the session path cannot honour. */
|
|
23819
|
+
var StaleDevicePinSchema = object({
|
|
23820
|
+
deviceId: number(),
|
|
23821
|
+
deviceKey: string(),
|
|
23822
|
+
/** `disabled` — the key exists on some node but is not enabled anywhere; `absent` — no node has it. */
|
|
23823
|
+
reason: _enum(["disabled", "absent"])
|
|
23824
|
+
});
|
|
23825
|
+
var PlacementStatsSchema = object({
|
|
23826
|
+
policy: SessionPlacementPolicySchema,
|
|
23827
|
+
windowMs: number(),
|
|
23828
|
+
/** How much of the window was actually observed (the hub keeps it in memory). */
|
|
23829
|
+
observedForMs: number(),
|
|
23830
|
+
sessionsNow: number(),
|
|
23831
|
+
/** Most parallel sessions across the cluster inside the window. */
|
|
23832
|
+
clusterPeakSessions: number(),
|
|
23833
|
+
nodes: array(PlacementNodeStatsSchema).readonly(),
|
|
23834
|
+
stalePins: array(StaleDevicePinSchema).readonly()
|
|
23835
|
+
});
|
|
23836
|
+
/**
|
|
23837
|
+
* Where an automatic share's capacity comes from (D755).
|
|
23838
|
+
* - `hardware` — the static capacity of each device at its Auto tune model:
|
|
23839
|
+
* the measured latency table for the node's hardware class.
|
|
23840
|
+
* - `benchmark` — the node's own measured capacity (node benchmark results).
|
|
23841
|
+
* A node with no results falls back to `hardware`, and says so.
|
|
23842
|
+
*/
|
|
23843
|
+
var CapacitySourceSchema = _enum(["hardware", "benchmark"]);
|
|
23844
|
+
/** Why a node under the `benchmark` source was sized from hardware instead. */
|
|
23845
|
+
var CapacityFallbackSchema = _enum(["no-benchmark-results", "partial-benchmark-results"]);
|
|
23846
|
+
var SuggestSharesInputSchema = object({
|
|
23847
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
23848
|
+
/** Default `hardware`. */
|
|
23849
|
+
source: CapacitySourceSchema.default("hardware")
|
|
23850
|
+
});
|
|
23851
|
+
var SuggestedDeviceShareSchema = object({
|
|
23852
|
+
deviceKey: string(),
|
|
23853
|
+
/** Share of the node (0–100, rounded). */
|
|
23854
|
+
share: number(),
|
|
23855
|
+
modelId: string().nullable(),
|
|
23856
|
+
/** Inferences per second at that model, from the measured table; null when sized by a benchmark. */
|
|
23857
|
+
fps: number().nullable(),
|
|
23858
|
+
/** False for a table cell derived from another chip; true for a measured cell or a benchmark. */
|
|
23859
|
+
measured: boolean(),
|
|
23860
|
+
/**
|
|
23861
|
+
* Advisory session cap: ⌊fps × (1 − headroom) / camera fps⌋ from the table,
|
|
23862
|
+
* or the benchmark's measured max sessions. Never enforced.
|
|
23863
|
+
*/
|
|
23864
|
+
suggestedMaxSessions: number().nullable()
|
|
23865
|
+
});
|
|
23866
|
+
var SuggestedNodeShareSchema = object({
|
|
23867
|
+
nodeId: string(),
|
|
23868
|
+
/** Share of the cluster (0–100, rounded); null = node skipped (offline, unknown hardware). */
|
|
23869
|
+
share: number().nullable(),
|
|
23870
|
+
/** Parallel sessions the node sustains at the suggested models with the headroom kept free. */
|
|
23871
|
+
capacitySessions: number(),
|
|
23872
|
+
devices: array(SuggestedDeviceShareSchema).readonly(),
|
|
23873
|
+
skippedReason: string().nullable(),
|
|
23874
|
+
/** What this node's capacity was read from; null when the node is skipped. */
|
|
23875
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
23876
|
+
/** Set when the `benchmark` source was asked for and this node used `hardware`. */
|
|
23877
|
+
capacityFallback: CapacityFallbackSchema.nullable()
|
|
23878
|
+
});
|
|
23879
|
+
var SuggestSharesResultSchema = object({
|
|
23880
|
+
headroom: number(),
|
|
23881
|
+
/** The source asked for; each node says what it actually used. */
|
|
23882
|
+
source: CapacitySourceSchema,
|
|
23883
|
+
/** Camera detection rate the capacity is counted in (the fastest camera's fps). */
|
|
23884
|
+
cameraFps: number(),
|
|
23885
|
+
/** The Auto tune capacity floor the models were picked at. */
|
|
23886
|
+
minSessionsPerDevice: number(),
|
|
23887
|
+
nodes: array(SuggestedNodeShareSchema).readonly()
|
|
23888
|
+
});
|
|
23889
|
+
/**
|
|
23890
|
+
* Where the node and device shares come from (D750, D755).
|
|
23891
|
+
* - `hardware` (default) — computed by the system from each node's static
|
|
23892
|
+
* capacity (its accelerators at their Auto tune models, from the measured
|
|
23893
|
+
* latency table), recomputed whenever a node or device joins, leaves, is
|
|
23894
|
+
* switched on or off, or changes model. No load input.
|
|
23895
|
+
* - `benchmark` — the same, from each node's measured capacity (node
|
|
23896
|
+
* benchmark results); a node without results falls back to `hardware`.
|
|
23897
|
+
* - `manual` — the operator's stored sliders.
|
|
23898
|
+
* Either way a node or device that cannot take sessions gives its share to
|
|
23899
|
+
* the others in proportion; the stored values are never rewritten for that.
|
|
23900
|
+
*/
|
|
23901
|
+
var ShareSourceSchema = _enum([
|
|
23902
|
+
"hardware",
|
|
23903
|
+
"benchmark",
|
|
23904
|
+
"manual"
|
|
23905
|
+
]);
|
|
23906
|
+
var SetShareSourceInputSchema = object({ source: ShareSourceSchema });
|
|
23907
|
+
object({
|
|
23908
|
+
nodes: record(string(), number()),
|
|
23909
|
+
devices: record(string(), record(string(), number()))
|
|
23910
|
+
});
|
|
23911
|
+
var EffectiveDeviceShareSchema = object({
|
|
23912
|
+
deviceKey: string(),
|
|
23913
|
+
/** Can take sessions now (enabled, available, can run the root). */
|
|
23914
|
+
eligible: boolean(),
|
|
23915
|
+
/** The share the source assigns, as a percentage of the node's devices. */
|
|
23916
|
+
configuredPct: number(),
|
|
23917
|
+
/** The share actually used, after an ineligible device's share went to the others. */
|
|
23918
|
+
effectivePct: number()
|
|
23919
|
+
});
|
|
23920
|
+
var EffectiveNodeShareSchema = object({
|
|
23921
|
+
nodeId: string(),
|
|
23922
|
+
eligible: boolean(),
|
|
23923
|
+
configuredPct: number(),
|
|
23924
|
+
effectivePct: number(),
|
|
23925
|
+
/** Automatic sources: what this node's share was computed from; null under `manual` or before the first answer. */
|
|
23926
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
23927
|
+
/** Automatic `benchmark`: why this node used `hardware` instead. */
|
|
23928
|
+
capacityFallback: CapacityFallbackSchema.nullable(),
|
|
23929
|
+
devices: array(EffectiveDeviceShareSchema).readonly()
|
|
23930
|
+
});
|
|
23931
|
+
var EffectiveSharesSchema = object({
|
|
23932
|
+
source: ShareSourceSchema,
|
|
23933
|
+
policy: SessionPlacementPolicySchema,
|
|
23934
|
+
/** An automatic source with no computed answer yet: the stored sliders are used meanwhile. */
|
|
23935
|
+
autoPending: boolean(),
|
|
23936
|
+
/** When the automatic shares were last computed (ms epoch); null = never. */
|
|
23937
|
+
computedAt: number().nullable(),
|
|
23938
|
+
/** What made the system recompute them last. */
|
|
23939
|
+
trigger: string().nullable(),
|
|
23940
|
+
nodes: array(EffectiveNodeShareSchema).readonly(),
|
|
23941
|
+
/** The relative weights the election reads (before eligibility). */
|
|
23942
|
+
nodeWeights: record(string(), number()),
|
|
23943
|
+
deviceWeights: record(string(), record(string(), number()))
|
|
23944
|
+
});
|
|
23480
23945
|
object({
|
|
23481
23946
|
activeCameras: number(),
|
|
23482
23947
|
throttledCameras: number(),
|
|
@@ -24354,14 +24819,15 @@ var RunnerLocalLoadSchema = object({
|
|
|
24354
24819
|
* Per-inference-device live load (multi-device C4). One entry per deviceKey
|
|
24355
24820
|
* this runner currently has attached cameras on, so the orchestrator's second
|
|
24356
24821
|
* `balance()` pass (over a node's devices) weights on real per-pool session
|
|
24357
|
-
* counts. Empty on single-device / pre-multi-device runners.
|
|
24358
|
-
* per
|
|
24822
|
+
* counts. Empty on single-device / pre-multi-device runners. There is no
|
|
24823
|
+
* per-device queue depth: the inference pool's backlog has no accessor, and
|
|
24824
|
+
* a field that always read 0 was removed rather than shown as a measurement
|
|
24825
|
+
* (D762).
|
|
24359
24826
|
*/
|
|
24360
24827
|
devices: array(object({
|
|
24361
24828
|
deviceKey: string(),
|
|
24362
24829
|
backend: string(),
|
|
24363
|
-
attachedCameras: number()
|
|
24364
|
-
queueDepthTotal: number()
|
|
24830
|
+
attachedCameras: number()
|
|
24365
24831
|
})).default([]),
|
|
24366
24832
|
/** Hardware capability flags reported by this node. */
|
|
24367
24833
|
hardware: object({
|
|
@@ -24497,7 +24963,22 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
24497
24963
|
*/
|
|
24498
24964
|
cropJpeg: string().optional(),
|
|
24499
24965
|
parent: DetailParentSchema,
|
|
24500
|
-
steps: array(string()).optional()
|
|
24966
|
+
steps: array(string()).optional(),
|
|
24967
|
+
/**
|
|
24968
|
+
* The camera's root model already drew this step's boxes (D730): a
|
|
24969
|
+
* `license_plate` inside the parent vehicle. The named step is NOT
|
|
24970
|
+
* inferred — these FRAME-space boxes are its output — and its
|
|
24971
|
+
* requested children (the plate reader) run on them. Absent ⇒ every
|
|
24972
|
+
* requested step infers as before.
|
|
24973
|
+
*/
|
|
24974
|
+
supplied: object({
|
|
24975
|
+
stepId: string(),
|
|
24976
|
+
modelId: string(),
|
|
24977
|
+
boxes: array(object({
|
|
24978
|
+
bbox: NativeCropBboxSchema,
|
|
24979
|
+
score: number()
|
|
24980
|
+
})).min(1)
|
|
24981
|
+
}).optional()
|
|
24501
24982
|
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" }), method(object({
|
|
24502
24983
|
/** Catalog step id, e.g. `clip-embedding`. */
|
|
24503
24984
|
stepId: string(),
|
|
@@ -24560,14 +25041,6 @@ var CameraPipelineConfigSchema = object({
|
|
|
24560
25041
|
settings: record(string(), unknown()).readonly().optional()
|
|
24561
25042
|
}).nullable().optional()
|
|
24562
25043
|
});
|
|
24563
|
-
var PipelineTemplateSchema = object({
|
|
24564
|
-
id: string(),
|
|
24565
|
-
name: string(),
|
|
24566
|
-
description: string().optional(),
|
|
24567
|
-
config: CameraPipelineConfigSchema,
|
|
24568
|
-
createdAt: string(),
|
|
24569
|
-
updatedAt: string()
|
|
24570
|
-
});
|
|
24571
25044
|
var DeviceStepConfigSchema = object({
|
|
24572
25045
|
modelId: string().optional(),
|
|
24573
25046
|
settings: record(string(), unknown()).optional(),
|
|
@@ -24641,9 +25114,10 @@ var CameraStepOverridePatchSchema = object({
|
|
|
24641
25114
|
modelId: string().optional(),
|
|
24642
25115
|
settings: record(string(), unknown()).readonly().optional()
|
|
24643
25116
|
});
|
|
25117
|
+
var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
|
|
24644
25118
|
var CameraPipelineSettingsSchema = object({
|
|
24645
|
-
pinnedAgentNodeId: string().optional(),
|
|
24646
25119
|
stepToggles: record(string(), boolean()).optional(),
|
|
25120
|
+
stepSettings: CameraStepSettingsSchema.optional(),
|
|
24647
25121
|
stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
|
|
24648
25122
|
pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
|
|
24649
25123
|
});
|
|
@@ -24676,7 +25150,10 @@ var PipelineAssignmentSchema = object({
|
|
|
24676
25150
|
});
|
|
24677
25151
|
/**
|
|
24678
25152
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
24679
|
-
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
25153
|
+
* Aggregated from each runner's `getLocalLoad` cap call. In the
|
|
25154
|
+
* `getAgentLoad` report, a single-device node's default-pool sessions (no
|
|
25155
|
+
* `deviceKey`) are credited to its one eligible device in `load.devices` —
|
|
25156
|
+
* the default pool IS that device (D745); the balancer's census stays raw.
|
|
24680
25157
|
*/
|
|
24681
25158
|
var AgentLoadSummarySchema = object({
|
|
24682
25159
|
nodeId: string(),
|
|
@@ -24765,26 +25242,27 @@ var CameraBrokerStatusSchema = object({
|
|
|
24765
25242
|
width: number(),
|
|
24766
25243
|
height: number(),
|
|
24767
25244
|
subscribers: number(),
|
|
24768
|
-
|
|
24769
|
-
|
|
25245
|
+
/**
|
|
25246
|
+
* Encoded packets/s the broker receives from the camera. null when the
|
|
25247
|
+
* broker's stats read failed — unknown, never 0 (a 0 here reads as a stall).
|
|
25248
|
+
* There is no output rate: decoding runs in the session decode workers, not
|
|
25249
|
+
* in the broker, so the broker's own decoded-frame rate is 0 on every live
|
|
25250
|
+
* camera and is not served (D758).
|
|
25251
|
+
*/
|
|
25252
|
+
inFps: number().nullable()
|
|
24770
25253
|
})).readonly(),
|
|
24771
25254
|
webrtcSessions: number(),
|
|
24772
25255
|
rtspRestream: boolean()
|
|
24773
25256
|
});
|
|
24774
|
-
/**
|
|
24775
|
-
|
|
24776
|
-
|
|
24777
|
-
|
|
24778
|
-
|
|
24779
|
-
|
|
24780
|
-
|
|
24781
|
-
|
|
24782
|
-
var CameraDecoderStatusSchema = object({
|
|
24783
|
-
nodeId: string(),
|
|
24784
|
-
formats: array(string()).readonly(),
|
|
24785
|
-
sessionCount: number(),
|
|
24786
|
-
shm: CameraDecoderShmSchema
|
|
24787
|
-
});
|
|
25257
|
+
/**
|
|
25258
|
+
* Decoder block — WHERE decode runs (co-located with the detection node by
|
|
25259
|
+
* construction); null when the camera has no detection node. It carries no
|
|
25260
|
+
* frame counter: the shared-memory plane whose counters it used to serve is
|
|
25261
|
+
* gone, and those fields read 0 forever. Whether frames actually flow is read
|
|
25262
|
+
* from `detection.actualFps` (frames delivered to and processed by the
|
|
25263
|
+
* detector), never from a counter nothing feeds.
|
|
25264
|
+
*/
|
|
25265
|
+
var CameraDecoderStatusSchema = object({ nodeId: string() });
|
|
24788
25266
|
/** Motion block — null when motion detection is not active for this device. */
|
|
24789
25267
|
var CameraMotionStatusSchema = object({
|
|
24790
25268
|
enabled: boolean(),
|
|
@@ -25141,12 +25619,6 @@ method(object({
|
|
|
25141
25619
|
}), object({ success: literal(true) }), {
|
|
25142
25620
|
kind: "mutation",
|
|
25143
25621
|
auth: "admin"
|
|
25144
|
-
}), method(object({
|
|
25145
|
-
agentNodeId: string(),
|
|
25146
|
-
detectWeight: number().positive().nullable()
|
|
25147
|
-
}), object({ success: literal(true) }), {
|
|
25148
|
-
kind: "mutation",
|
|
25149
|
-
auth: "admin"
|
|
25150
25622
|
}), method(object({
|
|
25151
25623
|
agentNodeId: string(),
|
|
25152
25624
|
detect: boolean().nullable().optional(),
|
|
@@ -25188,6 +25660,15 @@ method(object({
|
|
|
25188
25660
|
}), {
|
|
25189
25661
|
kind: "mutation",
|
|
25190
25662
|
auth: "admin"
|
|
25663
|
+
}), method(AutoTuneOptionsSchema, AutoTunePlanSchema, { auth: "admin" }), method(AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, {
|
|
25664
|
+
kind: "mutation",
|
|
25665
|
+
auth: "admin"
|
|
25666
|
+
}), method(LoadBalancingSharesInputSchema, object({ success: literal(true) }), {
|
|
25667
|
+
kind: "mutation",
|
|
25668
|
+
auth: "admin"
|
|
25669
|
+
}), method(PlacementStatsInputSchema, PlacementStatsSchema, { auth: "admin" }), method(SuggestSharesInputSchema, SuggestSharesResultSchema, { auth: "admin" }), method(_void(), EffectiveSharesSchema, { auth: "admin" }), method(SetShareSourceInputSchema, object({ success: literal(true) }), {
|
|
25670
|
+
kind: "mutation",
|
|
25671
|
+
auth: "admin"
|
|
25191
25672
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
25192
25673
|
deviceId: number(),
|
|
25193
25674
|
addonId: string(),
|
|
@@ -25204,6 +25685,13 @@ method(object({
|
|
|
25204
25685
|
}), object({ success: literal(true) }), {
|
|
25205
25686
|
kind: "mutation",
|
|
25206
25687
|
auth: "admin"
|
|
25688
|
+
}), method(object({
|
|
25689
|
+
deviceId: number(),
|
|
25690
|
+
addonId: string(),
|
|
25691
|
+
settings: record(string(), unknown()).nullable()
|
|
25692
|
+
}), object({ success: literal(true) }), {
|
|
25693
|
+
kind: "mutation",
|
|
25694
|
+
auth: "admin"
|
|
25207
25695
|
}), method(object({
|
|
25208
25696
|
deviceId: number(),
|
|
25209
25697
|
agentNodeId: string(),
|
|
@@ -25227,25 +25715,7 @@ method(object({
|
|
|
25227
25715
|
}), method(_void(), DiskReconcileJobSchema, {
|
|
25228
25716
|
kind: "mutation",
|
|
25229
25717
|
auth: "admin"
|
|
25230
|
-
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" })
|
|
25231
|
-
name: string(),
|
|
25232
|
-
description: string().optional(),
|
|
25233
|
-
config: CameraPipelineConfigSchema
|
|
25234
|
-
}), PipelineTemplateSchema, {
|
|
25235
|
-
kind: "mutation",
|
|
25236
|
-
auth: "admin"
|
|
25237
|
-
}), method(object({
|
|
25238
|
-
id: string(),
|
|
25239
|
-
name: string().optional(),
|
|
25240
|
-
description: string().optional(),
|
|
25241
|
-
config: CameraPipelineConfigSchema.optional()
|
|
25242
|
-
}), PipelineTemplateSchema, {
|
|
25243
|
-
kind: "mutation",
|
|
25244
|
-
auth: "admin"
|
|
25245
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
25246
|
-
kind: "mutation",
|
|
25247
|
-
auth: "admin"
|
|
25248
|
-
});
|
|
25718
|
+
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" });
|
|
25249
25719
|
/**
|
|
25250
25720
|
* Cap → event-kind mapping for the SENSOR / CONTROL cap families — the table
|
|
25251
25721
|
* `pipeline-analytics.listEventKinds` uses to turn a linked device's bound
|
|
@@ -25835,7 +26305,19 @@ var SsoBridgeClaimsSchema = object({
|
|
|
25835
26305
|
* editing a descriptor must not retroactively extend or shorten a link the
|
|
25836
26306
|
* operator already consented to.
|
|
25837
26307
|
*/
|
|
25838
|
-
refreshTtl: union([number().int().positive(), literal("never")]).optional()
|
|
26308
|
+
refreshTtl: union([number().int().positive(), literal("never")]).optional(),
|
|
26309
|
+
/**
|
|
26310
|
+
* Opaque handle of a hub-side LINK intent (D782). Set by an OIDC callback
|
|
26311
|
+
* that was started from a signed-in user's "Link" button: the finish then
|
|
26312
|
+
* links this identity to the intent's user instead of signing anyone in.
|
|
26313
|
+
* The handle carries no user id — the hub resolves it, single-use.
|
|
26314
|
+
*/
|
|
26315
|
+
linkIntent: string().optional(),
|
|
26316
|
+
/**
|
|
26317
|
+
* Verified `iss` of the id_token behind an OIDC login bridge (D782). A
|
|
26318
|
+
* subject is unique only per issuer, so a link is bound to it.
|
|
26319
|
+
*/
|
|
26320
|
+
issuer: string().optional()
|
|
25839
26321
|
});
|
|
25840
26322
|
method(object({
|
|
25841
26323
|
claims: SsoBridgeClaimsSchema,
|
|
@@ -27465,8 +27947,6 @@ var WebrtcStreamChoiceSchema = object({
|
|
|
27465
27947
|
]).nullable(),
|
|
27466
27948
|
/** Input FPS from the camera (null for adaptive). */
|
|
27467
27949
|
inputFps: number().nullable(),
|
|
27468
|
-
/** Decoded FPS (null for adaptive). */
|
|
27469
|
-
decodeFps: number().nullable(),
|
|
27470
27950
|
/** Bitrate in kbps (null for adaptive). */
|
|
27471
27951
|
bitrateKbps: number().nullable()
|
|
27472
27952
|
});
|
|
@@ -27743,7 +28223,22 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
27743
28223
|
* field their hints were silently stripped by the schema and the
|
|
27744
28224
|
* adaptive ladder started blind on the client's display size.
|
|
27745
28225
|
*/
|
|
27746
|
-
hints: webrtcClientHintsSchema.optional()
|
|
28226
|
+
hints: webrtcClientHintsSchema.optional(),
|
|
28227
|
+
/**
|
|
28228
|
+
* Talk-back (D771): relay the PEER's audio to the device's speaker
|
|
28229
|
+
* through the `intercom` cap's push-talk triple. When `true` and the
|
|
28230
|
+
* offer lets the peer send audio, the answer's audio is `sendrecv`
|
|
28231
|
+
* and every inbound frame goes to `intercom.pushTalkAudio` for this
|
|
28232
|
+
* `deviceId`; absent/false answers `sendonly`, as for every viewer.
|
|
28233
|
+
*
|
|
28234
|
+
* TRUSTED-CALLER ONLY. Set by the Alexa export for an Echo on a camera
|
|
28235
|
+
* with `intercom`, when the linked user may control that camera. The
|
|
28236
|
+
* hub STRIPS it from every request-bound call (a browser), exactly as
|
|
28237
|
+
* it overwrites `relayOnly` — a viewer's talk permission is the
|
|
28238
|
+
* intercom cap's own surface (share tokens gate it there), and this
|
|
28239
|
+
* flag must not become a second door to the camera's speaker.
|
|
28240
|
+
*/
|
|
28241
|
+
talkback: boolean().optional()
|
|
27747
28242
|
}), object({
|
|
27748
28243
|
sessionId: string(),
|
|
27749
28244
|
sdpAnswer: string()
|
|
@@ -27798,6 +28293,14 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
27798
28293
|
*/
|
|
27799
28294
|
alive: boolean()
|
|
27800
28295
|
})), method(object({
|
|
28296
|
+
deviceId: number().int().nonnegative(),
|
|
28297
|
+
sessionId: string(),
|
|
28298
|
+
downlinkMbps: number().nonnegative()
|
|
28299
|
+
}), object({
|
|
28300
|
+
outcome: _enum(["switching", "held"]),
|
|
28301
|
+
tier: CamProfileSchema.nullable(),
|
|
28302
|
+
reason: string()
|
|
28303
|
+
}), { kind: "mutation" }), method(object({
|
|
27801
28304
|
deviceId: number().int().nonnegative(),
|
|
27802
28305
|
sessionId: string()
|
|
27803
28306
|
}), WebrtcSessionDebugSchema, { kind: "query" });
|
|
@@ -28037,6 +28540,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
28037
28540
|
var RestartAddonResultSchema = unknown();
|
|
28038
28541
|
var InstallPackageResultSchema = unknown();
|
|
28039
28542
|
var ReloadPackagesResultSchema = unknown();
|
|
28543
|
+
/**
|
|
28544
|
+
* What an uninstall did on ONE node.
|
|
28545
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
28546
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
28547
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
28548
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
28549
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
28550
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
28551
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
28552
|
+
*/
|
|
28553
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
28554
|
+
"uninstalled",
|
|
28555
|
+
"not-installed",
|
|
28556
|
+
"refused",
|
|
28557
|
+
"failed",
|
|
28558
|
+
"pending-reconnect"
|
|
28559
|
+
]);
|
|
28560
|
+
var UninstallNodeResultSchema = object({
|
|
28561
|
+
nodeId: string(),
|
|
28562
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
28563
|
+
error: string().optional(),
|
|
28564
|
+
addonIds: array(string()).readonly(),
|
|
28565
|
+
runnersStopped: array(string()).readonly(),
|
|
28566
|
+
warnings: array(string()).readonly()
|
|
28567
|
+
});
|
|
28568
|
+
var UninstallPackageResultSchema = object({
|
|
28569
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
28570
|
+
success: boolean(),
|
|
28571
|
+
packageName: string(),
|
|
28572
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
28573
|
+
});
|
|
28574
|
+
/**
|
|
28575
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
28576
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
28577
|
+
*/
|
|
28578
|
+
var PackageInstallationsSchema = object({
|
|
28579
|
+
installations: array(object({
|
|
28580
|
+
packageName: string(),
|
|
28581
|
+
nodeId: string(),
|
|
28582
|
+
nodeName: string(),
|
|
28583
|
+
isHub: boolean(),
|
|
28584
|
+
isOnline: boolean(),
|
|
28585
|
+
version: string().nullable(),
|
|
28586
|
+
addonIds: array(string()).readonly(),
|
|
28587
|
+
source: _enum(["live", "recorded"]),
|
|
28588
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
28589
|
+
onHub: boolean()
|
|
28590
|
+
})).readonly(),
|
|
28591
|
+
unreachable: array(object({
|
|
28592
|
+
nodeId: string(),
|
|
28593
|
+
error: string()
|
|
28594
|
+
})).readonly()
|
|
28595
|
+
});
|
|
28040
28596
|
var BulkUpdateItemStatusSchema = _enum([
|
|
28041
28597
|
"queued",
|
|
28042
28598
|
"updating",
|
|
@@ -28119,10 +28675,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
28119
28675
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
28120
28676
|
kind: "mutation",
|
|
28121
28677
|
auth: "admin"
|
|
28122
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
28678
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
28679
|
+
packageName: string().min(1),
|
|
28680
|
+
nodeId: string().optional(),
|
|
28681
|
+
everywhere: boolean().optional()
|
|
28682
|
+
}), UninstallPackageResultSchema, {
|
|
28123
28683
|
kind: "mutation",
|
|
28124
28684
|
auth: "admin"
|
|
28125
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
28685
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
28126
28686
|
kind: "mutation",
|
|
28127
28687
|
auth: "admin"
|
|
28128
28688
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -30473,7 +31033,8 @@ var ConnectionEndpointSchema = object({
|
|
|
30473
31033
|
"lan-ipv6",
|
|
30474
31034
|
"public",
|
|
30475
31035
|
"loopback",
|
|
30476
|
-
"app-link"
|
|
31036
|
+
"app-link",
|
|
31037
|
+
"custom"
|
|
30477
31038
|
]),
|
|
30478
31039
|
/**
|
|
30479
31040
|
* Originating-interface kind — `lan`/`wifi`/`docker`/`vpn`/`other`/
|
|
@@ -30542,7 +31103,7 @@ var GetConnectionEndpointsResultSchema = object({
|
|
|
30542
31103
|
localPort: AdvertisedLocalPortSchema
|
|
30543
31104
|
});
|
|
30544
31105
|
/**
|
|
30545
|
-
* The address flagged for notification
|
|
31106
|
+
* The address flagged for notification taps (`notificationTaps`). `baseUrl: null` = AUTO, which
|
|
30546
31107
|
* since D709 is the CamStack app link; `resolved` reports the effective value,
|
|
30547
31108
|
* so the UI can show it either way.
|
|
30548
31109
|
*/
|
|
@@ -30575,6 +31136,72 @@ var ViewerEndpointsSchema = object({
|
|
|
30575
31136
|
/** What the ranking currently resolves to (may be empty if nothing is up). */
|
|
30576
31137
|
resolved: array(string()).readonly()
|
|
30577
31138
|
});
|
|
31139
|
+
/**
|
|
31140
|
+
* DEPRECATED compatibility shape of `getHubAddresses` (D729 amendment, kept
|
|
31141
|
+
* for addons built against it): `cluster` is the `internal` role, `browser`
|
|
31142
|
+
* the `publicEndpoint` role; `override` is the flagged address.
|
|
31143
|
+
*/
|
|
31144
|
+
var HubAddressSnapshotSchema = object({
|
|
31145
|
+
override: string().nullable(),
|
|
31146
|
+
resolved: string().nullable(),
|
|
31147
|
+
source: _enum([
|
|
31148
|
+
"override",
|
|
31149
|
+
"auto",
|
|
31150
|
+
"none"
|
|
31151
|
+
])
|
|
31152
|
+
});
|
|
31153
|
+
var HubAddressesSchema = object({
|
|
31154
|
+
cluster: HubAddressSnapshotSchema,
|
|
31155
|
+
browser: HubAddressSnapshotSchema
|
|
31156
|
+
});
|
|
31157
|
+
/**
|
|
31158
|
+
* What an address is used for (`hub-address.ts`, D734). `appConnections` is
|
|
31159
|
+
* many-valued; `notificationTaps`, `publicEndpoint` and `internal` are carried
|
|
31160
|
+
* by at most one address.
|
|
31161
|
+
*/
|
|
31162
|
+
var HubAddressRoleSchema = _enum(HUB_ADDRESS_ROLES);
|
|
31163
|
+
var RoleSourceSchema = _enum([
|
|
31164
|
+
"flagged",
|
|
31165
|
+
"auto",
|
|
31166
|
+
"none"
|
|
31167
|
+
]);
|
|
31168
|
+
/** One single-valued role: the flagged address, the one in use, and why. */
|
|
31169
|
+
var HubAddressRoleResolutionSchema = object({
|
|
31170
|
+
/** The address carrying the flag, or null = automatic. */
|
|
31171
|
+
flagged: string().nullable(),
|
|
31172
|
+
/** The address in use, or null when nothing qualifies (never loopback). */
|
|
31173
|
+
resolved: string().nullable(),
|
|
31174
|
+
source: RoleSourceSchema
|
|
31175
|
+
});
|
|
31176
|
+
var HubAppConnectionsResolutionSchema = object({
|
|
31177
|
+
/** The addresses flagged `appConnections`, or empty = automatic. */
|
|
31178
|
+
flagged: array(string()).readonly(),
|
|
31179
|
+
/** What the apps race right now. */
|
|
31180
|
+
resolved: array(string()).readonly(),
|
|
31181
|
+
source: RoleSourceSchema
|
|
31182
|
+
});
|
|
31183
|
+
var HubAddressBookSchema = object({
|
|
31184
|
+
rows: array(ConnectionEndpointSchema.extend({
|
|
31185
|
+
/** In the hub's detected palette right now. */
|
|
31186
|
+
detected: boolean(),
|
|
31187
|
+
/** Entered by the operator (removable). */
|
|
31188
|
+
custom: boolean(),
|
|
31189
|
+
/** The roles explicitly flagged on this address. */
|
|
31190
|
+
flags: array(HubAddressRoleSchema).readonly(),
|
|
31191
|
+
/** The roles this address serves right now — flagged or automatic. */
|
|
31192
|
+
inUse: array(HubAddressRoleSchema).readonly(),
|
|
31193
|
+
/** The roles this address may be flagged with. */
|
|
31194
|
+
eligible: array(HubAddressRoleSchema).readonly()
|
|
31195
|
+
})).readonly(),
|
|
31196
|
+
roles: object({
|
|
31197
|
+
appConnections: HubAppConnectionsResolutionSchema,
|
|
31198
|
+
notificationTaps: HubAddressRoleResolutionSchema,
|
|
31199
|
+
internal: HubAddressRoleResolutionSchema,
|
|
31200
|
+
publicEndpoint: HubAddressRoleResolutionSchema
|
|
31201
|
+
}),
|
|
31202
|
+
/** The `hub=` an app link carries (D709), or null. */
|
|
31203
|
+
appLinkHub: string().nullable()
|
|
31204
|
+
});
|
|
30578
31205
|
var AllowedAddressesSchema = object({
|
|
30579
31206
|
/**
|
|
30580
31207
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -30618,10 +31245,27 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
30618
31245
|
* tunnel always emits `https://` regardless. */
|
|
30619
31246
|
scheme: _enum(["http", "https"]).optional(),
|
|
30620
31247
|
/** Append the CamStack app link entry (`kind: 'app-link'`, D709) —
|
|
30621
|
-
* an address notification
|
|
31248
|
+
* an address notification taps can be flagged with, not a hub
|
|
30622
31249
|
* route. Default `false`: racers and rankers never see it. */
|
|
30623
31250
|
includeAppLink: boolean().optional()
|
|
30624
|
-
}), GetConnectionEndpointsResultSchema), method(_void(), NotificationEndpointSchema), method(object({ baseUrl: string().nullable() }), NotificationEndpointSchema, { kind: "mutation" }), method(_void(), ViewerEndpointsSchema), method(object({ baseUrls: array(string()).readonly() }), ViewerEndpointsSchema, { kind: "mutation" }), method(
|
|
31251
|
+
}), GetConnectionEndpointsResultSchema), method(_void(), NotificationEndpointSchema), method(object({ baseUrl: string().nullable() }), NotificationEndpointSchema, { kind: "mutation" }), method(_void(), ViewerEndpointsSchema), method(object({ baseUrls: array(string()).readonly() }), ViewerEndpointsSchema, { kind: "mutation" }), method(object({ scheme: _enum(["http", "https"]).optional() }).optional(), HubAddressBookSchema), method(object({
|
|
31252
|
+
baseUrl: string(),
|
|
31253
|
+
label: string().max(80)
|
|
31254
|
+
}), HubAddressBookSchema, {
|
|
31255
|
+
kind: "mutation",
|
|
31256
|
+
auth: "admin"
|
|
31257
|
+
}), method(object({ baseUrl: string() }), HubAddressBookSchema, {
|
|
31258
|
+
kind: "mutation",
|
|
31259
|
+
auth: "admin"
|
|
31260
|
+
}), method(object({
|
|
31261
|
+
role: HubAddressRoleSchema,
|
|
31262
|
+
baseUrl: string().nullable(),
|
|
31263
|
+
enabled: boolean(),
|
|
31264
|
+
acceptInsecureHttp: boolean().optional()
|
|
31265
|
+
}), HubAddressBookSchema, {
|
|
31266
|
+
kind: "mutation",
|
|
31267
|
+
auth: "admin"
|
|
31268
|
+
}), method(_void(), HubAddressesSchema), method(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" }), method(_void(), TlsStatusSchema), method(object({ reason: string().optional() }), TlsStatusSchema, {
|
|
30625
31269
|
kind: "mutation",
|
|
30626
31270
|
auth: "admin"
|
|
30627
31271
|
}), method(object({
|
|
@@ -31072,7 +31716,8 @@ object({
|
|
|
31072
31716
|
* writes this slice (not even a boot seed), and neither does the runner's
|
|
31073
31717
|
* phase machine: its phase is "a session is attached" for every on-motion
|
|
31074
31718
|
* session, not motion, and it now has its own `DetectionPhaseTransition`.
|
|
31075
|
-
* A provider's `isDetected`
|
|
31719
|
+
* A provider's `isDetected` and `getStatus` answer from the hub's slice
|
|
31720
|
+
* (`hubMotionNativeProvider`).
|
|
31076
31721
|
* - **Sensors** (Home Assistant binary sensors, Homematic, Matter, Alexa
|
|
31077
31722
|
* imports) — the provider pushes both edges itself, from the upstream
|
|
31078
31723
|
* system's own state change. That is the sensor's own fact.
|
|
@@ -35698,6 +36343,32 @@ var TotpStatusSchema = object({
|
|
|
35698
36343
|
/** Null when no row exists OR the row is still pending confirmation. */
|
|
35699
36344
|
confirmedAt: number().nullable()
|
|
35700
36345
|
});
|
|
36346
|
+
/**
|
|
36347
|
+
* user-management — singleton capability for user accounts, API keys,
|
|
36348
|
+
* and scoped tokens.
|
|
36349
|
+
*
|
|
36350
|
+
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
36351
|
+
* — the subset check on `setUserScopes` / `createScopedToken` is moot
|
|
36352
|
+
* because non-admins never reach these. If/when we open non-admin
|
|
36353
|
+
* delegation, structural caller-scope subset check goes inside the
|
|
36354
|
+
* provider.
|
|
36355
|
+
*/
|
|
36356
|
+
var ExternalIdentitySchema = object({
|
|
36357
|
+
/** Login-method id of the provider instance, e.g. `auth-oidc/authentik`. */
|
|
36358
|
+
provider: string(),
|
|
36359
|
+
/** The IdP's stable subject (`sub`) for this account. */
|
|
36360
|
+
subject: string(),
|
|
36361
|
+
/** The verified `iss` of the IdP the identity was linked under — `sub` is unique only per issuer. */
|
|
36362
|
+
issuer: string(),
|
|
36363
|
+
userId: string(),
|
|
36364
|
+
/** What the IdP called the account at link time (username / email) — display only. */
|
|
36365
|
+
label: string().optional(),
|
|
36366
|
+
linkedAt: number()
|
|
36367
|
+
});
|
|
36368
|
+
var ExternalIdentityKeySchema = object({
|
|
36369
|
+
provider: string().min(1),
|
|
36370
|
+
subject: string().min(1)
|
|
36371
|
+
});
|
|
35701
36372
|
method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserInputSchema, UserSummarySchema, {
|
|
35702
36373
|
kind: "mutation",
|
|
35703
36374
|
auth: "admin",
|
|
@@ -35811,7 +36482,22 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
35811
36482
|
userId: string(),
|
|
35812
36483
|
username: string(),
|
|
35813
36484
|
scopes: array(TokenScopeSchema)
|
|
35814
|
-
}).nullable(), { access: "view" }), method(
|
|
36485
|
+
}).nullable(), { access: "view" }), method(object({ userId: string() }), array(ExternalIdentitySchema), { auth: "admin" }), method(ExternalIdentityKeySchema, object({
|
|
36486
|
+
userId: string(),
|
|
36487
|
+
issuer: string()
|
|
36488
|
+
}).nullable(), { auth: "admin" }), method(ExternalIdentityKeySchema.extend({
|
|
36489
|
+
userId: string(),
|
|
36490
|
+
issuer: string().min(1),
|
|
36491
|
+
label: string().optional()
|
|
36492
|
+
}), object({ success: literal(true) }), {
|
|
36493
|
+
kind: "mutation",
|
|
36494
|
+
auth: "admin",
|
|
36495
|
+
access: "create"
|
|
36496
|
+
}), method(ExternalIdentityKeySchema.extend({ userId: string() }), object({ success: boolean() }), {
|
|
36497
|
+
kind: "mutation",
|
|
36498
|
+
auth: "admin",
|
|
36499
|
+
access: "delete"
|
|
36500
|
+
}), method(_void(), array(OauthSessionSummarySchema), { auth: "admin" }), method(object({ id: string() }), object({ success: boolean() }), {
|
|
35815
36501
|
kind: "mutation",
|
|
35816
36502
|
auth: "admin",
|
|
35817
36503
|
access: "delete"
|
|
@@ -36203,6 +36889,16 @@ DeviceType.Camera, method(object({
|
|
|
36203
36889
|
package: array(ZoneRuleSchema).readonly()
|
|
36204
36890
|
});
|
|
36205
36891
|
SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
|
|
36892
|
+
Object.freeze({
|
|
36893
|
+
person: .5,
|
|
36894
|
+
vehicle: .5,
|
|
36895
|
+
animal: .5
|
|
36896
|
+
});
|
|
36897
|
+
Object.freeze({
|
|
36898
|
+
person: .65,
|
|
36899
|
+
vehicle: .65,
|
|
36900
|
+
animal: .65
|
|
36901
|
+
});
|
|
36206
36902
|
/**
|
|
36207
36903
|
* Accessory device helpers — shared across drivers.
|
|
36208
36904
|
*
|
|
@@ -36377,6 +37073,12 @@ Object.freeze({
|
|
|
36377
37073
|
addonId: null,
|
|
36378
37074
|
access: "view"
|
|
36379
37075
|
},
|
|
37076
|
+
"addons.listInstallations": {
|
|
37077
|
+
capName: "addons",
|
|
37078
|
+
capScope: "system",
|
|
37079
|
+
addonId: null,
|
|
37080
|
+
access: "view"
|
|
37081
|
+
},
|
|
36380
37082
|
"addons.listJobs": {
|
|
36381
37083
|
capName: "addons",
|
|
36382
37084
|
capScope: "system",
|
|
@@ -37559,90 +38261,18 @@ Object.freeze({
|
|
|
37559
38261
|
addonId: null,
|
|
37560
38262
|
access: "create"
|
|
37561
38263
|
},
|
|
37562
|
-
"decoder.createSession": {
|
|
37563
|
-
capName: "decoder",
|
|
37564
|
-
capScope: "system",
|
|
37565
|
-
addonId: null,
|
|
37566
|
-
access: "view"
|
|
37567
|
-
},
|
|
37568
|
-
"decoder.destroySession": {
|
|
37569
|
-
capName: "decoder",
|
|
37570
|
-
capScope: "system",
|
|
37571
|
-
addonId: null,
|
|
37572
|
-
access: "delete"
|
|
37573
|
-
},
|
|
37574
|
-
"decoder.getFrame": {
|
|
37575
|
-
capName: "decoder",
|
|
37576
|
-
capScope: "system",
|
|
37577
|
-
addonId: null,
|
|
37578
|
-
access: "view"
|
|
37579
|
-
},
|
|
37580
38264
|
"decoder.getInfo": {
|
|
37581
38265
|
capName: "decoder",
|
|
37582
38266
|
capScope: "system",
|
|
37583
38267
|
addonId: null,
|
|
37584
38268
|
access: "view"
|
|
37585
38269
|
},
|
|
37586
|
-
"decoder.getShmStats": {
|
|
37587
|
-
capName: "decoder",
|
|
37588
|
-
capScope: "system",
|
|
37589
|
-
addonId: null,
|
|
37590
|
-
access: "view"
|
|
37591
|
-
},
|
|
37592
|
-
"decoder.getStats": {
|
|
37593
|
-
capName: "decoder",
|
|
37594
|
-
capScope: "system",
|
|
37595
|
-
addonId: null,
|
|
37596
|
-
access: "view"
|
|
37597
|
-
},
|
|
37598
|
-
"decoder.listActiveSessions": {
|
|
37599
|
-
capName: "decoder",
|
|
37600
|
-
capScope: "system",
|
|
37601
|
-
addonId: null,
|
|
37602
|
-
access: "view"
|
|
37603
|
-
},
|
|
37604
|
-
"decoder.openStream": {
|
|
37605
|
-
capName: "decoder",
|
|
37606
|
-
capScope: "system",
|
|
37607
|
-
addonId: null,
|
|
37608
|
-
access: "view"
|
|
37609
|
-
},
|
|
37610
|
-
"decoder.pullFrames": {
|
|
37611
|
-
capName: "decoder",
|
|
37612
|
-
capScope: "system",
|
|
37613
|
-
addonId: null,
|
|
37614
|
-
access: "view"
|
|
37615
|
-
},
|
|
37616
|
-
"decoder.pullHandles": {
|
|
37617
|
-
capName: "decoder",
|
|
37618
|
-
capScope: "system",
|
|
37619
|
-
addonId: null,
|
|
37620
|
-
access: "view"
|
|
37621
|
-
},
|
|
37622
|
-
"decoder.pushPacket": {
|
|
37623
|
-
capName: "decoder",
|
|
37624
|
-
capScope: "system",
|
|
37625
|
-
addonId: null,
|
|
37626
|
-
access: "view"
|
|
37627
|
-
},
|
|
37628
38270
|
"decoder.reprobeHwaccel": {
|
|
37629
38271
|
capName: "decoder",
|
|
37630
38272
|
capScope: "system",
|
|
37631
38273
|
addonId: null,
|
|
37632
38274
|
access: "create"
|
|
37633
38275
|
},
|
|
37634
|
-
"decoder.supportsCodec": {
|
|
37635
|
-
capName: "decoder",
|
|
37636
|
-
capScope: "system",
|
|
37637
|
-
addonId: null,
|
|
37638
|
-
access: "view"
|
|
37639
|
-
},
|
|
37640
|
-
"decoder.updateConfig": {
|
|
37641
|
-
capName: "decoder",
|
|
37642
|
-
capScope: "system",
|
|
37643
|
-
addonId: null,
|
|
37644
|
-
access: "view"
|
|
37645
|
-
},
|
|
37646
38276
|
"detectionPipeline.applyDeviceSettingsPatch": {
|
|
37647
38277
|
capName: "detection-pipeline",
|
|
37648
38278
|
capScope: "device",
|
|
@@ -39131,12 +39761,24 @@ Object.freeze({
|
|
|
39131
39761
|
addonId: null,
|
|
39132
39762
|
access: "view"
|
|
39133
39763
|
},
|
|
39764
|
+
"localNetwork.addCustomAddress": {
|
|
39765
|
+
capName: "local-network",
|
|
39766
|
+
capScope: "system",
|
|
39767
|
+
addonId: null,
|
|
39768
|
+
access: "create"
|
|
39769
|
+
},
|
|
39134
39770
|
"localNetwork.downloadCa": {
|
|
39135
39771
|
capName: "local-network",
|
|
39136
39772
|
capScope: "system",
|
|
39137
39773
|
addonId: null,
|
|
39138
39774
|
access: "view"
|
|
39139
39775
|
},
|
|
39776
|
+
"localNetwork.getAddresses": {
|
|
39777
|
+
capName: "local-network",
|
|
39778
|
+
capScope: "system",
|
|
39779
|
+
addonId: null,
|
|
39780
|
+
access: "view"
|
|
39781
|
+
},
|
|
39140
39782
|
"localNetwork.getAllowedAddresses": {
|
|
39141
39783
|
capName: "local-network",
|
|
39142
39784
|
capScope: "system",
|
|
@@ -39149,6 +39791,12 @@ Object.freeze({
|
|
|
39149
39791
|
addonId: null,
|
|
39150
39792
|
access: "view"
|
|
39151
39793
|
},
|
|
39794
|
+
"localNetwork.getHubAddresses": {
|
|
39795
|
+
capName: "local-network",
|
|
39796
|
+
capScope: "system",
|
|
39797
|
+
addonId: null,
|
|
39798
|
+
access: "view"
|
|
39799
|
+
},
|
|
39152
39800
|
"localNetwork.getNotificationEndpoint": {
|
|
39153
39801
|
capName: "local-network",
|
|
39154
39802
|
capScope: "system",
|
|
@@ -39185,6 +39833,12 @@ Object.freeze({
|
|
|
39185
39833
|
addonId: null,
|
|
39186
39834
|
access: "create"
|
|
39187
39835
|
},
|
|
39836
|
+
"localNetwork.removeCustomAddress": {
|
|
39837
|
+
capName: "local-network",
|
|
39838
|
+
capScope: "system",
|
|
39839
|
+
addonId: null,
|
|
39840
|
+
access: "delete"
|
|
39841
|
+
},
|
|
39188
39842
|
"localNetwork.resetAllowlistToBestMatch": {
|
|
39189
39843
|
capName: "local-network",
|
|
39190
39844
|
capScope: "system",
|
|
@@ -39197,6 +39851,12 @@ Object.freeze({
|
|
|
39197
39851
|
addonId: null,
|
|
39198
39852
|
access: "create"
|
|
39199
39853
|
},
|
|
39854
|
+
"localNetwork.setAddressRole": {
|
|
39855
|
+
capName: "local-network",
|
|
39856
|
+
capScope: "system",
|
|
39857
|
+
addonId: null,
|
|
39858
|
+
access: "create"
|
|
39859
|
+
},
|
|
39200
39860
|
"localNetwork.setAllowedAddresses": {
|
|
39201
39861
|
capName: "local-network",
|
|
39202
39862
|
capScope: "system",
|
|
@@ -40643,6 +41303,12 @@ Object.freeze({
|
|
|
40643
41303
|
addonId: null,
|
|
40644
41304
|
access: "create"
|
|
40645
41305
|
},
|
|
41306
|
+
"pipelineAnalytics.setRetrainFrameComplete": {
|
|
41307
|
+
capName: "pipeline-analytics",
|
|
41308
|
+
capScope: "device",
|
|
41309
|
+
addonId: null,
|
|
41310
|
+
access: "create"
|
|
41311
|
+
},
|
|
40646
41312
|
"pipelineAnalytics.setTrackFlags": {
|
|
40647
41313
|
capName: "pipeline-analytics",
|
|
40648
41314
|
capScope: "device",
|
|
@@ -40679,6 +41345,12 @@ Object.freeze({
|
|
|
40679
41345
|
addonId: null,
|
|
40680
41346
|
access: "delete"
|
|
40681
41347
|
},
|
|
41348
|
+
"pipelineAnalytics.writeRetrainArchive": {
|
|
41349
|
+
capName: "pipeline-analytics",
|
|
41350
|
+
capScope: "device",
|
|
41351
|
+
addonId: null,
|
|
41352
|
+
access: "create"
|
|
41353
|
+
},
|
|
40682
41354
|
"pipelineExecutor.cacheFrameInPool": {
|
|
40683
41355
|
capName: "pipeline-executor",
|
|
40684
41356
|
capScope: "system",
|
|
@@ -40691,13 +41363,13 @@ Object.freeze({
|
|
|
40691
41363
|
addonId: null,
|
|
40692
41364
|
access: "delete"
|
|
40693
41365
|
},
|
|
40694
|
-
"pipelineExecutor.
|
|
41366
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": {
|
|
40695
41367
|
capName: "pipeline-executor",
|
|
40696
41368
|
capScope: "system",
|
|
40697
41369
|
addonId: null,
|
|
40698
41370
|
access: "delete"
|
|
40699
41371
|
},
|
|
40700
|
-
"pipelineExecutor.
|
|
41372
|
+
"pipelineExecutor.deleteModel": {
|
|
40701
41373
|
capName: "pipeline-executor",
|
|
40702
41374
|
capScope: "system",
|
|
40703
41375
|
addonId: null,
|
|
@@ -40841,12 +41513,6 @@ Object.freeze({
|
|
|
40841
41513
|
addonId: null,
|
|
40842
41514
|
access: "view"
|
|
40843
41515
|
},
|
|
40844
|
-
"pipelineExecutor.listTemplates": {
|
|
40845
|
-
capName: "pipeline-executor",
|
|
40846
|
-
capScope: "system",
|
|
40847
|
-
addonId: null,
|
|
40848
|
-
access: "view"
|
|
40849
|
-
},
|
|
40850
41516
|
"pipelineExecutor.rearmInferenceDevice": {
|
|
40851
41517
|
capName: "pipeline-executor",
|
|
40852
41518
|
capScope: "system",
|
|
@@ -40871,12 +41537,6 @@ Object.freeze({
|
|
|
40871
41537
|
addonId: null,
|
|
40872
41538
|
access: "create"
|
|
40873
41539
|
},
|
|
40874
|
-
"pipelineExecutor.saveTemplate": {
|
|
40875
|
-
capName: "pipeline-executor",
|
|
40876
|
-
capScope: "system",
|
|
40877
|
-
addonId: null,
|
|
40878
|
-
access: "create"
|
|
40879
|
-
},
|
|
40880
41540
|
"pipelineExecutor.setVideoPipelineSteps": {
|
|
40881
41541
|
capName: "pipeline-executor",
|
|
40882
41542
|
capScope: "system",
|
|
@@ -40895,41 +41555,35 @@ Object.freeze({
|
|
|
40895
41555
|
addonId: null,
|
|
40896
41556
|
access: "create"
|
|
40897
41557
|
},
|
|
40898
|
-
"pipelineExecutor.updateTemplate": {
|
|
40899
|
-
capName: "pipeline-executor",
|
|
40900
|
-
capScope: "system",
|
|
40901
|
-
addonId: null,
|
|
40902
|
-
access: "create"
|
|
40903
|
-
},
|
|
40904
41558
|
"pipelineExecutor.validatePipeline": {
|
|
40905
41559
|
capName: "pipeline-executor",
|
|
40906
41560
|
capScope: "system",
|
|
40907
41561
|
addonId: null,
|
|
40908
41562
|
access: "view"
|
|
40909
41563
|
},
|
|
40910
|
-
"pipelineOrchestrator.
|
|
41564
|
+
"pipelineOrchestrator.applyAutoTune": {
|
|
40911
41565
|
capName: "pipeline-orchestrator",
|
|
40912
41566
|
capScope: "system",
|
|
40913
41567
|
addonId: null,
|
|
40914
41568
|
access: "create"
|
|
40915
41569
|
},
|
|
40916
|
-
"pipelineOrchestrator.
|
|
41570
|
+
"pipelineOrchestrator.applyDeviceSettingsPatch": {
|
|
40917
41571
|
capName: "pipeline-orchestrator",
|
|
40918
41572
|
capScope: "system",
|
|
40919
41573
|
addonId: null,
|
|
40920
41574
|
access: "create"
|
|
40921
41575
|
},
|
|
40922
|
-
"pipelineOrchestrator.
|
|
41576
|
+
"pipelineOrchestrator.assignAudio": {
|
|
40923
41577
|
capName: "pipeline-orchestrator",
|
|
40924
41578
|
capScope: "system",
|
|
40925
41579
|
addonId: null,
|
|
40926
41580
|
access: "create"
|
|
40927
41581
|
},
|
|
40928
|
-
"pipelineOrchestrator.
|
|
41582
|
+
"pipelineOrchestrator.assignPipeline": {
|
|
40929
41583
|
capName: "pipeline-orchestrator",
|
|
40930
41584
|
capScope: "system",
|
|
40931
41585
|
addonId: null,
|
|
40932
|
-
access: "
|
|
41586
|
+
access: "create"
|
|
40933
41587
|
},
|
|
40934
41588
|
"pipelineOrchestrator.getAgentLoad": {
|
|
40935
41589
|
capName: "pipeline-orchestrator",
|
|
@@ -41021,6 +41675,12 @@ Object.freeze({
|
|
|
41021
41675
|
addonId: null,
|
|
41022
41676
|
access: "view"
|
|
41023
41677
|
},
|
|
41678
|
+
"pipelineOrchestrator.getEffectiveShares": {
|
|
41679
|
+
capName: "pipeline-orchestrator",
|
|
41680
|
+
capScope: "system",
|
|
41681
|
+
addonId: null,
|
|
41682
|
+
access: "view"
|
|
41683
|
+
},
|
|
41024
41684
|
"pipelineOrchestrator.getGlobalMetrics": {
|
|
41025
41685
|
capName: "pipeline-orchestrator",
|
|
41026
41686
|
capScope: "system",
|
|
@@ -41057,19 +41717,19 @@ Object.freeze({
|
|
|
41057
41717
|
addonId: null,
|
|
41058
41718
|
access: "view"
|
|
41059
41719
|
},
|
|
41060
|
-
"pipelineOrchestrator.
|
|
41720
|
+
"pipelineOrchestrator.getPlacementStats": {
|
|
41061
41721
|
capName: "pipeline-orchestrator",
|
|
41062
41722
|
capScope: "system",
|
|
41063
41723
|
addonId: null,
|
|
41064
41724
|
access: "view"
|
|
41065
41725
|
},
|
|
41066
|
-
"pipelineOrchestrator.
|
|
41726
|
+
"pipelineOrchestrator.getReconcileFromDiskStatus": {
|
|
41067
41727
|
capName: "pipeline-orchestrator",
|
|
41068
41728
|
capScope: "system",
|
|
41069
41729
|
addonId: null,
|
|
41070
41730
|
access: "view"
|
|
41071
41731
|
},
|
|
41072
|
-
"pipelineOrchestrator.
|
|
41732
|
+
"pipelineOrchestrator.listAgentSettings": {
|
|
41073
41733
|
capName: "pipeline-orchestrator",
|
|
41074
41734
|
capScope: "system",
|
|
41075
41735
|
addonId: null,
|
|
@@ -41081,6 +41741,12 @@ Object.freeze({
|
|
|
41081
41741
|
addonId: null,
|
|
41082
41742
|
access: "create"
|
|
41083
41743
|
},
|
|
41744
|
+
"pipelineOrchestrator.planAutoTune": {
|
|
41745
|
+
capName: "pipeline-orchestrator",
|
|
41746
|
+
capScope: "system",
|
|
41747
|
+
addonId: null,
|
|
41748
|
+
access: "view"
|
|
41749
|
+
},
|
|
41084
41750
|
"pipelineOrchestrator.rebalance": {
|
|
41085
41751
|
capName: "pipeline-orchestrator",
|
|
41086
41752
|
capScope: "system",
|
|
@@ -41123,12 +41789,6 @@ Object.freeze({
|
|
|
41123
41789
|
addonId: null,
|
|
41124
41790
|
access: "create"
|
|
41125
41791
|
},
|
|
41126
|
-
"pipelineOrchestrator.saveTemplate": {
|
|
41127
|
-
capName: "pipeline-orchestrator",
|
|
41128
|
-
capScope: "system",
|
|
41129
|
-
addonId: null,
|
|
41130
|
-
access: "create"
|
|
41131
|
-
},
|
|
41132
41792
|
"pipelineOrchestrator.setAgentCapabilities": {
|
|
41133
41793
|
capName: "pipeline-orchestrator",
|
|
41134
41794
|
capScope: "system",
|
|
@@ -41141,12 +41801,6 @@ Object.freeze({
|
|
|
41141
41801
|
addonId: null,
|
|
41142
41802
|
access: "create"
|
|
41143
41803
|
},
|
|
41144
|
-
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
41145
|
-
capName: "pipeline-orchestrator",
|
|
41146
|
-
capScope: "system",
|
|
41147
|
-
addonId: null,
|
|
41148
|
-
access: "create"
|
|
41149
|
-
},
|
|
41150
41804
|
"pipelineOrchestrator.setAgentInferenceDevices": {
|
|
41151
41805
|
capName: "pipeline-orchestrator",
|
|
41152
41806
|
capScope: "system",
|
|
@@ -41183,6 +41837,12 @@ Object.freeze({
|
|
|
41183
41837
|
addonId: null,
|
|
41184
41838
|
access: "create"
|
|
41185
41839
|
},
|
|
41840
|
+
"pipelineOrchestrator.setCameraStepSettings": {
|
|
41841
|
+
capName: "pipeline-orchestrator",
|
|
41842
|
+
capScope: "system",
|
|
41843
|
+
addonId: null,
|
|
41844
|
+
access: "create"
|
|
41845
|
+
},
|
|
41186
41846
|
"pipelineOrchestrator.setCameraStepToggle": {
|
|
41187
41847
|
capName: "pipeline-orchestrator",
|
|
41188
41848
|
capScope: "system",
|
|
@@ -41201,25 +41861,37 @@ Object.freeze({
|
|
|
41201
41861
|
addonId: null,
|
|
41202
41862
|
access: "create"
|
|
41203
41863
|
},
|
|
41864
|
+
"pipelineOrchestrator.setLoadBalancingShares": {
|
|
41865
|
+
capName: "pipeline-orchestrator",
|
|
41866
|
+
capScope: "system",
|
|
41867
|
+
addonId: null,
|
|
41868
|
+
access: "create"
|
|
41869
|
+
},
|
|
41204
41870
|
"pipelineOrchestrator.setPipelineDevicePin": {
|
|
41205
41871
|
capName: "pipeline-orchestrator",
|
|
41206
41872
|
capScope: "system",
|
|
41207
41873
|
addonId: null,
|
|
41208
41874
|
access: "create"
|
|
41209
41875
|
},
|
|
41210
|
-
"pipelineOrchestrator.
|
|
41876
|
+
"pipelineOrchestrator.setShareSource": {
|
|
41211
41877
|
capName: "pipeline-orchestrator",
|
|
41212
41878
|
capScope: "system",
|
|
41213
41879
|
addonId: null,
|
|
41214
41880
|
access: "create"
|
|
41215
41881
|
},
|
|
41216
|
-
"pipelineOrchestrator.
|
|
41882
|
+
"pipelineOrchestrator.suggestShares": {
|
|
41883
|
+
capName: "pipeline-orchestrator",
|
|
41884
|
+
capScope: "system",
|
|
41885
|
+
addonId: null,
|
|
41886
|
+
access: "view"
|
|
41887
|
+
},
|
|
41888
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
41217
41889
|
capName: "pipeline-orchestrator",
|
|
41218
41890
|
capScope: "system",
|
|
41219
41891
|
addonId: null,
|
|
41220
41892
|
access: "create"
|
|
41221
41893
|
},
|
|
41222
|
-
"pipelineOrchestrator.
|
|
41894
|
+
"pipelineOrchestrator.unassignPipeline": {
|
|
41223
41895
|
capName: "pipeline-orchestrator",
|
|
41224
41896
|
capScope: "system",
|
|
41225
41897
|
addonId: null,
|
|
@@ -42659,12 +43331,6 @@ Object.freeze({
|
|
|
42659
43331
|
addonId: null,
|
|
42660
43332
|
access: "view"
|
|
42661
43333
|
},
|
|
42662
|
-
"streamBroker.pullFrameHandles": {
|
|
42663
|
-
capName: "stream-broker",
|
|
42664
|
-
capScope: "system",
|
|
42665
|
-
addonId: null,
|
|
42666
|
-
access: "view"
|
|
42667
|
-
},
|
|
42668
43334
|
"streamBroker.regenerateRtspToken": {
|
|
42669
43335
|
capName: "stream-broker",
|
|
42670
43336
|
capScope: "system",
|
|
@@ -42731,12 +43397,6 @@ Object.freeze({
|
|
|
42731
43397
|
addonId: null,
|
|
42732
43398
|
access: "create"
|
|
42733
43399
|
},
|
|
42734
|
-
"streamBroker.subscribeFrames": {
|
|
42735
|
-
capName: "stream-broker",
|
|
42736
|
-
capScope: "system",
|
|
42737
|
-
addonId: null,
|
|
42738
|
-
access: "create"
|
|
42739
|
-
},
|
|
42740
43400
|
"streamBroker.unassignProfile": {
|
|
42741
43401
|
capName: "stream-broker",
|
|
42742
43402
|
capScope: "system",
|
|
@@ -42749,12 +43409,6 @@ Object.freeze({
|
|
|
42749
43409
|
addonId: null,
|
|
42750
43410
|
access: "create"
|
|
42751
43411
|
},
|
|
42752
|
-
"streamBroker.unsubscribeFrames": {
|
|
42753
|
-
capName: "stream-broker",
|
|
42754
|
-
capScope: "system",
|
|
42755
|
-
addonId: null,
|
|
42756
|
-
access: "create"
|
|
42757
|
-
},
|
|
42758
43412
|
"streamCatalog.getCatalog": {
|
|
42759
43413
|
capName: "stream-catalog",
|
|
42760
43414
|
capScope: "device",
|
|
@@ -43049,18 +43703,36 @@ Object.freeze({
|
|
|
43049
43703
|
addonId: null,
|
|
43050
43704
|
access: "delete"
|
|
43051
43705
|
},
|
|
43706
|
+
"userManagement.findUserByExternalIdentity": {
|
|
43707
|
+
capName: "user-management",
|
|
43708
|
+
capScope: "system",
|
|
43709
|
+
addonId: null,
|
|
43710
|
+
access: "view"
|
|
43711
|
+
},
|
|
43052
43712
|
"userManagement.getTotpStatus": {
|
|
43053
43713
|
capName: "user-management",
|
|
43054
43714
|
capScope: "system",
|
|
43055
43715
|
addonId: null,
|
|
43056
43716
|
access: "view"
|
|
43057
43717
|
},
|
|
43718
|
+
"userManagement.linkExternalIdentity": {
|
|
43719
|
+
capName: "user-management",
|
|
43720
|
+
capScope: "system",
|
|
43721
|
+
addonId: null,
|
|
43722
|
+
access: "create"
|
|
43723
|
+
},
|
|
43058
43724
|
"userManagement.listApiKeys": {
|
|
43059
43725
|
capName: "user-management",
|
|
43060
43726
|
capScope: "system",
|
|
43061
43727
|
addonId: null,
|
|
43062
43728
|
access: "view"
|
|
43063
43729
|
},
|
|
43730
|
+
"userManagement.listExternalIdentities": {
|
|
43731
|
+
capName: "user-management",
|
|
43732
|
+
capScope: "system",
|
|
43733
|
+
addonId: null,
|
|
43734
|
+
access: "view"
|
|
43735
|
+
},
|
|
43064
43736
|
"userManagement.listOauthSessions": {
|
|
43065
43737
|
capName: "user-management",
|
|
43066
43738
|
capScope: "system",
|
|
@@ -43139,6 +43811,12 @@ Object.freeze({
|
|
|
43139
43811
|
addonId: null,
|
|
43140
43812
|
access: "create"
|
|
43141
43813
|
},
|
|
43814
|
+
"userManagement.unlinkExternalIdentity": {
|
|
43815
|
+
capName: "user-management",
|
|
43816
|
+
capScope: "system",
|
|
43817
|
+
addonId: null,
|
|
43818
|
+
access: "delete"
|
|
43819
|
+
},
|
|
43142
43820
|
"userManagement.updateUser": {
|
|
43143
43821
|
capName: "user-management",
|
|
43144
43822
|
capScope: "system",
|
|
@@ -43451,6 +44129,12 @@ Object.freeze({
|
|
|
43451
44129
|
addonId: null,
|
|
43452
44130
|
access: "create"
|
|
43453
44131
|
},
|
|
44132
|
+
"webrtcSession.applyDownlinkProbe": {
|
|
44133
|
+
capName: "webrtc-session",
|
|
44134
|
+
capScope: "device",
|
|
44135
|
+
addonId: null,
|
|
44136
|
+
access: "create"
|
|
44137
|
+
},
|
|
43454
44138
|
"webrtcSession.closeSession": {
|
|
43455
44139
|
capName: "webrtc-session",
|
|
43456
44140
|
capScope: "device",
|
|
@@ -45262,11 +45946,6 @@ Object.freeze({
|
|
|
45262
45946
|
form: "single",
|
|
45263
45947
|
optional: false
|
|
45264
45948
|
}],
|
|
45265
|
-
"decoder.createSession": [{
|
|
45266
|
-
name: "deviceId",
|
|
45267
|
-
form: "single",
|
|
45268
|
-
optional: true
|
|
45269
|
-
}],
|
|
45270
45949
|
"detectionPipeline.applyDeviceSettingsPatch": [{
|
|
45271
45950
|
name: "deviceId",
|
|
45272
45951
|
form: "single",
|
|
@@ -46477,6 +47156,11 @@ Object.freeze({
|
|
|
46477
47156
|
form: "single",
|
|
46478
47157
|
optional: false
|
|
46479
47158
|
}],
|
|
47159
|
+
"pipelineAnalytics.setRetrainFrameComplete": [{
|
|
47160
|
+
name: "deviceId",
|
|
47161
|
+
form: "single",
|
|
47162
|
+
optional: false
|
|
47163
|
+
}],
|
|
46480
47164
|
"pipelineAnalytics.setTrackFlags": [{
|
|
46481
47165
|
name: "deviceId",
|
|
46482
47166
|
form: "single",
|
|
@@ -46497,6 +47181,11 @@ Object.freeze({
|
|
|
46497
47181
|
form: "single",
|
|
46498
47182
|
optional: false
|
|
46499
47183
|
}],
|
|
47184
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": [{
|
|
47185
|
+
name: "deviceIds",
|
|
47186
|
+
form: "array",
|
|
47187
|
+
optional: true
|
|
47188
|
+
}],
|
|
46500
47189
|
"pipelineExecutor.runPipeline": [{
|
|
46501
47190
|
name: "deviceId",
|
|
46502
47191
|
form: "single",
|
|
@@ -46602,6 +47291,11 @@ Object.freeze({
|
|
|
46602
47291
|
form: "single",
|
|
46603
47292
|
optional: false
|
|
46604
47293
|
}],
|
|
47294
|
+
"pipelineOrchestrator.setCameraStepSettings": [{
|
|
47295
|
+
name: "deviceId",
|
|
47296
|
+
form: "single",
|
|
47297
|
+
optional: false
|
|
47298
|
+
}],
|
|
46605
47299
|
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
46606
47300
|
name: "deviceId",
|
|
46607
47301
|
form: "single",
|
|
@@ -47373,6 +48067,11 @@ Object.freeze({
|
|
|
47373
48067
|
form: "single",
|
|
47374
48068
|
optional: false
|
|
47375
48069
|
}],
|
|
48070
|
+
"webrtcSession.applyDownlinkProbe": [{
|
|
48071
|
+
name: "deviceId",
|
|
48072
|
+
form: "single",
|
|
48073
|
+
optional: false
|
|
48074
|
+
}],
|
|
47376
48075
|
"webrtcSession.closeSession": [{
|
|
47377
48076
|
name: "deviceId",
|
|
47378
48077
|
form: "single",
|
|
@@ -47602,6 +48301,8 @@ new Map(Object.entries({
|
|
|
47602
48301
|
"detection-blind": "device-events",
|
|
47603
48302
|
"node-online": "system",
|
|
47604
48303
|
"node-offline": "system",
|
|
48304
|
+
"node-restarting": "system",
|
|
48305
|
+
"node-updating": "system",
|
|
47605
48306
|
"node-inference-unavailable": "system",
|
|
47606
48307
|
"addon-crash-loop": "system",
|
|
47607
48308
|
"addon-update-available": "system",
|
|
@@ -47679,6 +48380,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
47679
48380
|
kinds: [
|
|
47680
48381
|
"node-offline",
|
|
47681
48382
|
"node-online",
|
|
48383
|
+
"node-restarting",
|
|
47682
48384
|
"node-inference-unavailable"
|
|
47683
48385
|
]
|
|
47684
48386
|
},
|
|
@@ -47700,6 +48402,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
47700
48402
|
label: "Server & container updates",
|
|
47701
48403
|
kinds: [
|
|
47702
48404
|
"server-update-available",
|
|
48405
|
+
"node-updating",
|
|
47703
48406
|
"server-updated",
|
|
47704
48407
|
"wrapper-update-available"
|
|
47705
48408
|
]
|
|
@@ -47847,6 +48550,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
47847
48550
|
kinds: [
|
|
47848
48551
|
"node-offline",
|
|
47849
48552
|
"node-online",
|
|
48553
|
+
"node-restarting",
|
|
47850
48554
|
"node-inference-unavailable"
|
|
47851
48555
|
]
|
|
47852
48556
|
},
|
|
@@ -47868,6 +48572,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
47868
48572
|
example: "server 1.2.377 → 1.2.378",
|
|
47869
48573
|
kinds: [
|
|
47870
48574
|
"server-update-available",
|
|
48575
|
+
"node-updating",
|
|
47871
48576
|
"server-updated",
|
|
47872
48577
|
"wrapper-update-available"
|
|
47873
48578
|
]
|
|
@@ -47900,7 +48605,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
47900
48605
|
{
|
|
47901
48606
|
name: "summarySection",
|
|
47902
48607
|
label: "Summary: this section",
|
|
47903
|
-
description: "The section a per-section summary row is about
|
|
48608
|
+
description: "The section a per-section summary row is about; on a summary sent as one message, every section it reports, comma-separated.",
|
|
47904
48609
|
example: "Batterie scariche",
|
|
47905
48610
|
group: "system",
|
|
47906
48611
|
families: ["rule"],
|
|
@@ -48507,4 +49212,83 @@ DEFAULT_NATIVE_LEASE_SETTINGS.admission;
|
|
|
48507
49212
|
var MB = 1024 * 1024;
|
|
48508
49213
|
1024 * MB, 3072 * MB;
|
|
48509
49214
|
//#endregion
|
|
48510
|
-
|
|
49215
|
+
//#region src/auth-key-file.ts
|
|
49216
|
+
/**
|
|
49217
|
+
* Hand the Tailscale auth key to `tailscale up` without putting it on argv
|
|
49218
|
+
* or in the environment (D783).
|
|
49219
|
+
*
|
|
49220
|
+
* The CLI accepts `--auth-key=file:<path>` and reads the key from that file.
|
|
49221
|
+
* The key is written owner-only (0600) into a fresh owner-only (0700) temp
|
|
49222
|
+
* dir, the flag is handed to `run`, and the dir is removed when `run`
|
|
49223
|
+
* settles — success or failure. Error text is passed through
|
|
49224
|
+
* {@link scrubSecret} so a `Command failed: …` message can never carry it.
|
|
49225
|
+
*/
|
|
49226
|
+
var REDACTED = "‹redacted›";
|
|
49227
|
+
async function withAuthKeyFile(authKey, run) {
|
|
49228
|
+
const dir = await node_fs_promises.mkdtemp(node_path.join(node_os.tmpdir(), "camstack-ts-"));
|
|
49229
|
+
try {
|
|
49230
|
+
await node_fs_promises.chmod(dir, 448);
|
|
49231
|
+
const file = node_path.join(dir, "authkey");
|
|
49232
|
+
await node_fs_promises.writeFile(file, authKey, { mode: 384 });
|
|
49233
|
+
return await run(`--auth-key=file:${file}`);
|
|
49234
|
+
} finally {
|
|
49235
|
+
await node_fs_promises.rm(dir, {
|
|
49236
|
+
recursive: true,
|
|
49237
|
+
force: true
|
|
49238
|
+
});
|
|
49239
|
+
}
|
|
49240
|
+
}
|
|
49241
|
+
/** Replace every occurrence of `secret` in `text`. Empty secrets are a no-op. */
|
|
49242
|
+
function scrubSecret(text, secret) {
|
|
49243
|
+
if (!secret) return text;
|
|
49244
|
+
return text.split(secret).join(REDACTED);
|
|
49245
|
+
}
|
|
49246
|
+
//#endregion
|
|
49247
|
+
Object.defineProperty(exports, "BOOT_RECOVERY_BACKOFF_MS", {
|
|
49248
|
+
enumerable: true,
|
|
49249
|
+
get: function() {
|
|
49250
|
+
return BOOT_RECOVERY_BACKOFF_MS;
|
|
49251
|
+
}
|
|
49252
|
+
});
|
|
49253
|
+
Object.defineProperty(exports, "BaseAddon", {
|
|
49254
|
+
enumerable: true,
|
|
49255
|
+
get: function() {
|
|
49256
|
+
return BaseAddon;
|
|
49257
|
+
}
|
|
49258
|
+
});
|
|
49259
|
+
Object.defineProperty(exports, "EventCategory", {
|
|
49260
|
+
enumerable: true,
|
|
49261
|
+
get: function() {
|
|
49262
|
+
return EventCategory;
|
|
49263
|
+
}
|
|
49264
|
+
});
|
|
49265
|
+
Object.defineProperty(exports, "__toESM", {
|
|
49266
|
+
enumerable: true,
|
|
49267
|
+
get: function() {
|
|
49268
|
+
return __toESM;
|
|
49269
|
+
}
|
|
49270
|
+
});
|
|
49271
|
+
Object.defineProperty(exports, "meshNetworkCapability", {
|
|
49272
|
+
enumerable: true,
|
|
49273
|
+
get: function() {
|
|
49274
|
+
return meshNetworkCapability;
|
|
49275
|
+
}
|
|
49276
|
+
});
|
|
49277
|
+
Object.defineProperty(exports, "networkAccessCapability", {
|
|
49278
|
+
enumerable: true,
|
|
49279
|
+
get: function() {
|
|
49280
|
+
return networkAccessCapability;
|
|
49281
|
+
}
|
|
49282
|
+
});
|
|
49283
|
+
Object.defineProperty(exports, "scrubSecret", {
|
|
49284
|
+
enumerable: true,
|
|
49285
|
+
get: function() {
|
|
49286
|
+
return scrubSecret;
|
|
49287
|
+
}
|
|
49288
|
+
});
|
|
49289
|
+
Object.defineProperty(exports, "withAuthKeyFile", {
|
|
49290
|
+
enumerable: true,
|
|
49291
|
+
get: function() {
|
|
49292
|
+
return withAuthKeyFile;
|
|
49293
|
+
}
|
|
49294
|
+
});
|