@camstack/addon-pipeline 1.2.340 → 1.2.341
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/audio-analyzer/index.js +3 -3
- package/dist/audio-analyzer/index.mjs +3 -3
- package/dist/{custom-model-catalog-Cjbll1Sf.js → custom-model-catalog-CoJEC8nz.js} +2 -2
- package/dist/{custom-model-catalog-BOnN63HU.mjs → custom-model-catalog-DNSmyZTT.mjs} +2 -2
- package/dist/detection-pipeline/index.js +9 -9
- package/dist/detection-pipeline/index.mjs +9 -9
- package/dist/{dist-CsA6fY6I.mjs → dist-B8oPeJDI.mjs} +203 -32
- package/dist/{dist-BWigCRRN.js → dist-PiNPe8uQ.js} +203 -32
- package/dist/{model-catalogs-BFBf8sHb.js → model-catalogs-CEphd9Va.js} +1 -1
- package/dist/{model-catalogs-D7JXV0_i.mjs → model-catalogs-RM3pkuZm.mjs} +1 -1
- package/dist/motion-wasm/index.js +1 -1
- package/dist/motion-wasm/index.mjs +1 -1
- package/dist/{node-D52HHrVZ.js → node-CMTBIa3-.js} +1 -1
- package/dist/{node-BZ29vHq2.mjs → node-DFUmMJ_f.mjs} +1 -1
- package/dist/pipeline-runner/index.js +3 -3
- package/dist/pipeline-runner/index.mjs +3 -3
- package/dist/{process-memory-DOEeg2pL.mjs → process-memory-C4v8DBKn.mjs} +1 -1
- package/dist/{process-memory-C9U6dKxS.js → process-memory-CzAfDP9P.js} +1 -1
- package/dist/recorder/index.js +10 -4
- package/dist/recorder/index.mjs +10 -4
- package/dist/{segment-demux-js-CMZSmwMp.js → segment-demux-js-C-n_ZsMK.js} +1 -1
- package/dist/{segment-demux-js-DDgwrz-e.mjs → segment-demux-js-CIpCdbx4.mjs} +1 -1
- package/dist/stream-broker/_stub.js +2 -2
- package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-6JIjr_ur.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-CIDS0Tr9.mjs} +2 -2
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BvfT5BVP.mjs +26 -0
- package/dist/stream-broker/{_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-B-hhg2sP.mjs → _virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-LU_e-xJm.mjs} +1 -1
- package/dist/stream-broker/demux-worker-child.js +1 -1
- package/dist/stream-broker/demux-worker-child.mjs +1 -1
- package/dist/stream-broker/{hostInit-Ck1wQfKk.mjs → hostInit-CW_cmeNQ.mjs} +2 -2
- package/dist/stream-broker/index.js +3 -3
- package/dist/stream-broker/index.mjs +3 -3
- package/dist/stream-broker/remoteEntry.js +1 -1
- package/package.json +1 -1
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js--yC-aoPc.mjs +0 -26
|
@@ -26863,7 +26863,7 @@ var pipelineExecutorCapability = {
|
|
|
26863
26863
|
auth: "admin"
|
|
26864
26864
|
}),
|
|
26865
26865
|
/**
|
|
26866
|
-
*
|
|
26866
|
+
* Auto tune (D745): the MODEL-BOUND thresholds (`bindsToModel` keys of
|
|
26867
26867
|
* the object-detection root, and their binding keys) stored in THIS node's
|
|
26868
26868
|
* per-camera detector settings — and, unless `dryRun`, remove them so the
|
|
26869
26869
|
* running model's own defaults apply. Every other key of a camera's store
|
|
@@ -27235,7 +27235,143 @@ var pipelineExecutorCapability = {
|
|
|
27235
27235
|
}
|
|
27236
27236
|
};
|
|
27237
27237
|
/**
|
|
27238
|
-
*
|
|
27238
|
+
* Wire shapes of the Load balancing surface (D748): the session placement
|
|
27239
|
+
* policy, the atomic share write, the observed placement statistics, the
|
|
27240
|
+
* hardware share suggestion and the stale device pins.
|
|
27241
|
+
*/
|
|
27242
|
+
/**
|
|
27243
|
+
* How a new detection session picks its node and device.
|
|
27244
|
+
* - `least-loaded` — the historical rule: lowest `attached / weight`, a
|
|
27245
|
+
* constant node order at a tie (D37). An idle node always ties at 0, so a
|
|
27246
|
+
* weight only bites once a node already holds a session.
|
|
27247
|
+
* - `share` — the share of PARALLEL sessions is held to the weights, and a
|
|
27248
|
+
* full or drowning node yields to a free one (D748).
|
|
27249
|
+
*/
|
|
27250
|
+
var SessionPlacementPolicySchema = _enum(["least-loaded", "share"]);
|
|
27251
|
+
var LoadBalancingSharesInputSchema = object({
|
|
27252
|
+
/** nodeId → share (> 0). A node left out keeps its weight. */
|
|
27253
|
+
nodes: record(string(), number().positive()).default({}),
|
|
27254
|
+
/** nodeId → deviceKey → share (> 0). A device left out keeps its weight. */
|
|
27255
|
+
devices: record(string(), record(string(), number().positive())).default({})
|
|
27256
|
+
});
|
|
27257
|
+
var PlacementStatsInputSchema = object({
|
|
27258
|
+
/** Window the observed shares are averaged over (default 1 h, max 24 h). */
|
|
27259
|
+
windowMs: number().int().min(6e4).max(1440 * 60 * 1e3).default(3600 * 1e3) });
|
|
27260
|
+
var PlacementDeviceStatsSchema = object({
|
|
27261
|
+
deviceKey: string(),
|
|
27262
|
+
/** Sessions running on this device now. */
|
|
27263
|
+
sessionsNow: number(),
|
|
27264
|
+
/** Sessions started on this device inside the window. */
|
|
27265
|
+
sessionsStarted: number(),
|
|
27266
|
+
/** Time-weighted share of the node's parallel sessions over the window (0–1); null = no session ran. */
|
|
27267
|
+
observedShare: number().nullable()
|
|
27268
|
+
});
|
|
27269
|
+
var PlacementNodeStatsSchema = object({
|
|
27270
|
+
nodeId: string(),
|
|
27271
|
+
sessionsNow: number(),
|
|
27272
|
+
sessionsStarted: number(),
|
|
27273
|
+
/** Time-weighted share of the cluster's parallel sessions over the window (0–1); null = none ran. */
|
|
27274
|
+
observedShare: number().nullable(),
|
|
27275
|
+
/** Most sessions this node ran at once inside the window. */
|
|
27276
|
+
peakSessions: number(),
|
|
27277
|
+
/** Sessions a share election handed elsewhere because this node was full or drowning. */
|
|
27278
|
+
yieldsAway: number(),
|
|
27279
|
+
devices: array(PlacementDeviceStatsSchema).readonly()
|
|
27280
|
+
});
|
|
27281
|
+
/** A camera's device pin that the session path cannot honour. */
|
|
27282
|
+
var StaleDevicePinSchema = object({
|
|
27283
|
+
deviceId: number(),
|
|
27284
|
+
deviceKey: string(),
|
|
27285
|
+
/** `disabled` — the key exists on some node but is not enabled anywhere; `absent` — no node has it. */
|
|
27286
|
+
reason: _enum(["disabled", "absent"])
|
|
27287
|
+
});
|
|
27288
|
+
var PlacementStatsSchema = object({
|
|
27289
|
+
policy: SessionPlacementPolicySchema,
|
|
27290
|
+
windowMs: number(),
|
|
27291
|
+
/** How much of the window was actually observed (the hub keeps it in memory). */
|
|
27292
|
+
observedForMs: number(),
|
|
27293
|
+
sessionsNow: number(),
|
|
27294
|
+
/** Most parallel sessions across the cluster inside the window. */
|
|
27295
|
+
clusterPeakSessions: number(),
|
|
27296
|
+
nodes: array(PlacementNodeStatsSchema).readonly(),
|
|
27297
|
+
stalePins: array(StaleDevicePinSchema).readonly()
|
|
27298
|
+
});
|
|
27299
|
+
var SuggestSharesInputSchema = object({ headroom: number().min(.3).max(.5).default(.4) });
|
|
27300
|
+
var SuggestedDeviceShareSchema = object({
|
|
27301
|
+
deviceKey: string(),
|
|
27302
|
+
/** Share of the node (0–100, rounded). */
|
|
27303
|
+
share: number(),
|
|
27304
|
+
modelId: string().nullable(),
|
|
27305
|
+
/** Inferences per second at that model, from the measured table. */
|
|
27306
|
+
fps: number().nullable(),
|
|
27307
|
+
measured: boolean(),
|
|
27308
|
+
/** Advisory session cap: ⌊fps × (1 − headroom) / camera fps⌋. Never enforced. */
|
|
27309
|
+
suggestedMaxSessions: number().nullable()
|
|
27310
|
+
});
|
|
27311
|
+
var SuggestedNodeShareSchema = object({
|
|
27312
|
+
nodeId: string(),
|
|
27313
|
+
/** Share of the cluster (0–100, rounded); null = node skipped (offline, unknown hardware). */
|
|
27314
|
+
share: number().nullable(),
|
|
27315
|
+
/** Parallel sessions the node sustains at the suggested models with the headroom kept free. */
|
|
27316
|
+
capacitySessions: number(),
|
|
27317
|
+
devices: array(SuggestedDeviceShareSchema).readonly(),
|
|
27318
|
+
skippedReason: string().nullable()
|
|
27319
|
+
});
|
|
27320
|
+
var SuggestSharesResultSchema = object({
|
|
27321
|
+
headroom: number(),
|
|
27322
|
+
/** Camera detection rate the capacity is counted in (the fastest camera's fps). */
|
|
27323
|
+
cameraFps: number(),
|
|
27324
|
+
/** How many share → model → capacity rounds ran before the shares stopped moving (≤ 3). */
|
|
27325
|
+
iterations: number(),
|
|
27326
|
+
nodes: array(SuggestedNodeShareSchema).readonly()
|
|
27327
|
+
});
|
|
27328
|
+
/**
|
|
27329
|
+
* Where the node and device shares come from (D750).
|
|
27330
|
+
* - `auto` — computed by the system from the cluster's measured capacity at
|
|
27331
|
+
* the Auto tune models, and recomputed whenever a node or device joins,
|
|
27332
|
+
* leaves, is switched on or off, or changes model.
|
|
27333
|
+
* - `manual` — the operator's stored sliders. A node or device that cannot
|
|
27334
|
+
* take sessions gives its share to the others in proportion; the stored
|
|
27335
|
+
* values are never rewritten for that.
|
|
27336
|
+
*/
|
|
27337
|
+
var ShareSourceSchema = _enum(["auto", "manual"]);
|
|
27338
|
+
var SetShareSourceInputSchema = object({ source: ShareSourceSchema });
|
|
27339
|
+
object({
|
|
27340
|
+
nodes: record(string(), number()),
|
|
27341
|
+
devices: record(string(), record(string(), number()))
|
|
27342
|
+
});
|
|
27343
|
+
var EffectiveDeviceShareSchema = object({
|
|
27344
|
+
deviceKey: string(),
|
|
27345
|
+
/** Can take sessions now (enabled, available, can run the root). */
|
|
27346
|
+
eligible: boolean(),
|
|
27347
|
+
/** The share the source assigns, as a percentage of the node's devices. */
|
|
27348
|
+
configuredPct: number(),
|
|
27349
|
+
/** The share actually used, after an ineligible device's share went to the others. */
|
|
27350
|
+
effectivePct: number()
|
|
27351
|
+
});
|
|
27352
|
+
var EffectiveNodeShareSchema = object({
|
|
27353
|
+
nodeId: string(),
|
|
27354
|
+
eligible: boolean(),
|
|
27355
|
+
configuredPct: number(),
|
|
27356
|
+
effectivePct: number(),
|
|
27357
|
+
devices: array(EffectiveDeviceShareSchema).readonly()
|
|
27358
|
+
});
|
|
27359
|
+
var EffectiveSharesSchema = object({
|
|
27360
|
+
source: ShareSourceSchema,
|
|
27361
|
+
policy: SessionPlacementPolicySchema,
|
|
27362
|
+
/** `auto` with no computed answer yet: the stored sliders are used meanwhile. */
|
|
27363
|
+
autoPending: boolean(),
|
|
27364
|
+
/** When the automatic shares were last computed (ms epoch); null = never. */
|
|
27365
|
+
computedAt: number().nullable(),
|
|
27366
|
+
/** What made the system recompute them last. */
|
|
27367
|
+
trigger: string().nullable(),
|
|
27368
|
+
nodes: array(EffectiveNodeShareSchema).readonly(),
|
|
27369
|
+
/** The relative weights the election reads (before eligibility). */
|
|
27370
|
+
nodeWeights: record(string(), number()),
|
|
27371
|
+
deviceWeights: record(string(), record(string(), number()))
|
|
27372
|
+
});
|
|
27373
|
+
/**
|
|
27374
|
+
* The wire shapes of the Auto tune plan and apply (D745), used by the
|
|
27239
27375
|
* `pipeline-orchestrator` cap. The recommender's own types
|
|
27240
27376
|
* (`recommend.ts`, `demand.ts`) are the TS face of the same data; these
|
|
27241
27377
|
* schemas are what crosses the cap boundary.
|
|
@@ -27311,7 +27447,9 @@ var DeviceDemandSchema = object({
|
|
|
27311
27447
|
"estimate",
|
|
27312
27448
|
"none"
|
|
27313
27449
|
]),
|
|
27314
|
-
observedForMs: number().nullable()
|
|
27450
|
+
observedForMs: number().nullable(),
|
|
27451
|
+
/** How on-motion sessions were charged: per-device observation, or split by share (D748). */
|
|
27452
|
+
placement: SessionPlacementPolicySchema
|
|
27315
27453
|
});
|
|
27316
27454
|
var DeviceModelChoiceSchema = object({
|
|
27317
27455
|
modelId: string(),
|
|
@@ -27368,7 +27506,7 @@ var DetectorStoreClearSchema = object({
|
|
|
27368
27506
|
deviceId: number(),
|
|
27369
27507
|
keys: array(string()).readonly()
|
|
27370
27508
|
});
|
|
27371
|
-
var
|
|
27509
|
+
var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
27372
27510
|
object({
|
|
27373
27511
|
kind: literal("detector-store-cluster-wide"),
|
|
27374
27512
|
skippedNodes: array(string()).readonly()
|
|
@@ -27383,26 +27521,36 @@ var BestSettingsWarningSchema = discriminatedUnion("kind", [
|
|
|
27383
27521
|
deviceKey: string()
|
|
27384
27522
|
})
|
|
27385
27523
|
]);
|
|
27386
|
-
var
|
|
27387
|
-
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
27388
|
-
headroom: number().min(.3).max(.5).default(.4)
|
|
27389
|
-
|
|
27524
|
+
var AutoTuneOptionsSchema = object({
|
|
27525
|
+
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
27526
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
27527
|
+
/**
|
|
27528
|
+
* What-if shares (D748): plan as if these node/device shares were stored
|
|
27529
|
+
* and the policy were `share`. Absent = the stored shares under the stored
|
|
27530
|
+
* policy. A what-if plan is for display; apply always re-plans from what
|
|
27531
|
+
* is stored.
|
|
27532
|
+
*/
|
|
27533
|
+
shares: LoadBalancingSharesInputSchema.optional()
|
|
27534
|
+
});
|
|
27535
|
+
var AutoTunePlanSchema = object({
|
|
27390
27536
|
/** Hash of everything the apply will write — the apply refuses a different one. */
|
|
27391
27537
|
planHash: string(),
|
|
27392
27538
|
family: literal("yolov9"),
|
|
27393
27539
|
headroom: number(),
|
|
27540
|
+
/** Planned under what-if shares (D748): for display — apply refuses it as stale. */
|
|
27541
|
+
whatIf: boolean(),
|
|
27394
27542
|
generatedAt: number(),
|
|
27395
27543
|
nodes: array(NodeRecommendationSchema).readonly(),
|
|
27396
27544
|
nodeChanges: array(NodeDeviceChangeSchema).readonly(),
|
|
27397
27545
|
cameraClears: array(CameraOverrideClearSchema).readonly(),
|
|
27398
27546
|
detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
|
|
27399
|
-
warnings: array(
|
|
27547
|
+
warnings: array(AutoTuneWarningSchema).readonly()
|
|
27400
27548
|
});
|
|
27401
|
-
var
|
|
27549
|
+
var AutoTuneApplyInputSchema = object({
|
|
27402
27550
|
planHash: string(),
|
|
27403
27551
|
headroom: number().min(.3).max(.5).default(.4)
|
|
27404
27552
|
});
|
|
27405
|
-
var
|
|
27553
|
+
var AutoTunePhaseResultSchema = object({
|
|
27406
27554
|
phase: _enum([
|
|
27407
27555
|
"download",
|
|
27408
27556
|
"camera-overrides",
|
|
@@ -27413,19 +27561,19 @@ var BestSettingsPhaseResultSchema = object({
|
|
|
27413
27561
|
ok: boolean(),
|
|
27414
27562
|
detail: string()
|
|
27415
27563
|
});
|
|
27416
|
-
var
|
|
27564
|
+
var AutoTuneApplyResultSchema = discriminatedUnion("kind", [
|
|
27417
27565
|
object({
|
|
27418
27566
|
kind: literal("applied"),
|
|
27419
27567
|
planHash: string(),
|
|
27420
|
-
phases: array(
|
|
27568
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
27421
27569
|
}),
|
|
27422
27570
|
object({
|
|
27423
27571
|
kind: literal("aborted"),
|
|
27424
|
-
phases: array(
|
|
27572
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
27425
27573
|
}),
|
|
27426
27574
|
object({
|
|
27427
27575
|
kind: literal("stale"),
|
|
27428
|
-
plan:
|
|
27576
|
+
plan: AutoTunePlanSchema
|
|
27429
27577
|
}),
|
|
27430
27578
|
object({
|
|
27431
27579
|
kind: literal("refused"),
|
|
@@ -28804,7 +28952,6 @@ var CameraStepOverridePatchSchema = object({
|
|
|
28804
28952
|
settings: record(string(), unknown()).readonly().optional()
|
|
28805
28953
|
});
|
|
28806
28954
|
var CameraPipelineSettingsSchema = object({
|
|
28807
|
-
pinnedAgentNodeId: string().optional(),
|
|
28808
28955
|
stepToggles: record(string(), boolean()).optional(),
|
|
28809
28956
|
stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
|
|
28810
28957
|
pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
|
|
@@ -29303,12 +29450,6 @@ method(object({
|
|
|
29303
29450
|
}), object({ success: literal(true) }), {
|
|
29304
29451
|
kind: "mutation",
|
|
29305
29452
|
auth: "admin"
|
|
29306
|
-
}), method(object({
|
|
29307
|
-
agentNodeId: string(),
|
|
29308
|
-
detectWeight: number().positive().nullable()
|
|
29309
|
-
}), object({ success: literal(true) }), {
|
|
29310
|
-
kind: "mutation",
|
|
29311
|
-
auth: "admin"
|
|
29312
29453
|
}), method(object({
|
|
29313
29454
|
agentNodeId: string(),
|
|
29314
29455
|
detect: boolean().nullable().optional(),
|
|
@@ -29350,7 +29491,13 @@ method(object({
|
|
|
29350
29491
|
}), {
|
|
29351
29492
|
kind: "mutation",
|
|
29352
29493
|
auth: "admin"
|
|
29353
|
-
}), method(
|
|
29494
|
+
}), method(AutoTuneOptionsSchema, AutoTunePlanSchema, { auth: "admin" }), method(AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, {
|
|
29495
|
+
kind: "mutation",
|
|
29496
|
+
auth: "admin"
|
|
29497
|
+
}), method(LoadBalancingSharesInputSchema, object({ success: literal(true) }), {
|
|
29498
|
+
kind: "mutation",
|
|
29499
|
+
auth: "admin"
|
|
29500
|
+
}), method(PlacementStatsInputSchema, PlacementStatsSchema, { auth: "admin" }), method(SuggestSharesInputSchema, SuggestSharesResultSchema, { auth: "admin" }), method(_void(), EffectiveSharesSchema, { auth: "admin" }), method(SetShareSourceInputSchema, object({ success: literal(true) }), {
|
|
29354
29501
|
kind: "mutation",
|
|
29355
29502
|
auth: "admin"
|
|
29356
29503
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
@@ -46186,7 +46333,7 @@ Object.freeze({
|
|
|
46186
46333
|
addonId: null,
|
|
46187
46334
|
access: "view"
|
|
46188
46335
|
},
|
|
46189
|
-
"pipelineOrchestrator.
|
|
46336
|
+
"pipelineOrchestrator.applyAutoTune": {
|
|
46190
46337
|
capName: "pipeline-orchestrator",
|
|
46191
46338
|
capScope: "system",
|
|
46192
46339
|
addonId: null,
|
|
@@ -46306,6 +46453,12 @@ Object.freeze({
|
|
|
46306
46453
|
addonId: null,
|
|
46307
46454
|
access: "view"
|
|
46308
46455
|
},
|
|
46456
|
+
"pipelineOrchestrator.getEffectiveShares": {
|
|
46457
|
+
capName: "pipeline-orchestrator",
|
|
46458
|
+
capScope: "system",
|
|
46459
|
+
addonId: null,
|
|
46460
|
+
access: "view"
|
|
46461
|
+
},
|
|
46309
46462
|
"pipelineOrchestrator.getGlobalMetrics": {
|
|
46310
46463
|
capName: "pipeline-orchestrator",
|
|
46311
46464
|
capScope: "system",
|
|
@@ -46342,6 +46495,12 @@ Object.freeze({
|
|
|
46342
46495
|
addonId: null,
|
|
46343
46496
|
access: "view"
|
|
46344
46497
|
},
|
|
46498
|
+
"pipelineOrchestrator.getPlacementStats": {
|
|
46499
|
+
capName: "pipeline-orchestrator",
|
|
46500
|
+
capScope: "system",
|
|
46501
|
+
addonId: null,
|
|
46502
|
+
access: "view"
|
|
46503
|
+
},
|
|
46345
46504
|
"pipelineOrchestrator.getReconcileFromDiskStatus": {
|
|
46346
46505
|
capName: "pipeline-orchestrator",
|
|
46347
46506
|
capScope: "system",
|
|
@@ -46366,7 +46525,7 @@ Object.freeze({
|
|
|
46366
46525
|
addonId: null,
|
|
46367
46526
|
access: "create"
|
|
46368
46527
|
},
|
|
46369
|
-
"pipelineOrchestrator.
|
|
46528
|
+
"pipelineOrchestrator.planAutoTune": {
|
|
46370
46529
|
capName: "pipeline-orchestrator",
|
|
46371
46530
|
capScope: "system",
|
|
46372
46531
|
addonId: null,
|
|
@@ -46432,12 +46591,6 @@ Object.freeze({
|
|
|
46432
46591
|
addonId: null,
|
|
46433
46592
|
access: "create"
|
|
46434
46593
|
},
|
|
46435
|
-
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
46436
|
-
capName: "pipeline-orchestrator",
|
|
46437
|
-
capScope: "system",
|
|
46438
|
-
addonId: null,
|
|
46439
|
-
access: "create"
|
|
46440
|
-
},
|
|
46441
46594
|
"pipelineOrchestrator.setAgentInferenceDevices": {
|
|
46442
46595
|
capName: "pipeline-orchestrator",
|
|
46443
46596
|
capScope: "system",
|
|
@@ -46492,12 +46645,30 @@ Object.freeze({
|
|
|
46492
46645
|
addonId: null,
|
|
46493
46646
|
access: "create"
|
|
46494
46647
|
},
|
|
46648
|
+
"pipelineOrchestrator.setLoadBalancingShares": {
|
|
46649
|
+
capName: "pipeline-orchestrator",
|
|
46650
|
+
capScope: "system",
|
|
46651
|
+
addonId: null,
|
|
46652
|
+
access: "create"
|
|
46653
|
+
},
|
|
46495
46654
|
"pipelineOrchestrator.setPipelineDevicePin": {
|
|
46496
46655
|
capName: "pipeline-orchestrator",
|
|
46497
46656
|
capScope: "system",
|
|
46498
46657
|
addonId: null,
|
|
46499
46658
|
access: "create"
|
|
46500
46659
|
},
|
|
46660
|
+
"pipelineOrchestrator.setShareSource": {
|
|
46661
|
+
capName: "pipeline-orchestrator",
|
|
46662
|
+
capScope: "system",
|
|
46663
|
+
addonId: null,
|
|
46664
|
+
access: "create"
|
|
46665
|
+
},
|
|
46666
|
+
"pipelineOrchestrator.suggestShares": {
|
|
46667
|
+
capName: "pipeline-orchestrator",
|
|
46668
|
+
capScope: "system",
|
|
46669
|
+
addonId: null,
|
|
46670
|
+
access: "view"
|
|
46671
|
+
},
|
|
46501
46672
|
"pipelineOrchestrator.unassignAudio": {
|
|
46502
46673
|
capName: "pipeline-orchestrator",
|
|
46503
46674
|
capScope: "system",
|
|
@@ -53767,7 +53938,7 @@ function applyModelBoundSettings(settings, boundKeys, runningModelId) {
|
|
|
53767
53938
|
/**
|
|
53768
53939
|
* The keys of every `bindsToModel` field of a step's config schema, groups
|
|
53769
53940
|
* flattened (D738). One definition for the runner (which applies the binding)
|
|
53770
|
-
* and the orchestrator's
|
|
53941
|
+
* and the orchestrator's Auto tune (which clears those overrides, D745).
|
|
53771
53942
|
*/
|
|
53772
53943
|
function collectModelBoundKeys(fields) {
|
|
53773
53944
|
return fields.flatMap((field) => {
|
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_dist = require("../dist-
|
|
5
|
+
const require_dist = require("../dist-PiNPe8uQ.js");
|
|
6
6
|
const require_lazy_sharp = require("../lazy-sharp-BuwKlQLR.js");
|
|
7
7
|
let node_fs = require("node:fs");
|
|
8
8
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { En as DeviceType, Ln as hydrateSchema, Vt as motionDetectionCapability, _t as evaluateZoneRules, kn as BaseAddon } from "../dist-
|
|
1
|
+
import { En as DeviceType, Ln as hydrateSchema, Vt as motionDetectionCapability, _t as evaluateZoneRules, kn as BaseAddon } from "../dist-B8oPeJDI.mjs";
|
|
2
2
|
import { t as getSharp } from "../lazy-sharp-DXsqwpph.mjs";
|
|
3
3
|
import { readFileSync } from "node:fs";
|
|
4
4
|
import { join } from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-emK7D4bc.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-PiNPe8uQ.js");
|
|
3
3
|
let node_crypto = require("node:crypto");
|
|
4
4
|
let node_fs = require("node:fs");
|
|
5
5
|
node_fs = require_chunk.__toESM(node_fs, 1);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dn as errMsg, bn as Fmp4BoxSplitter, wn as isSoftwareDecode, xn as buildFfmpegArgs } from "./dist-
|
|
1
|
+
import { Dn as errMsg, bn as Fmp4BoxSplitter, wn as isSoftwareDecode, xn as buildFfmpegArgs } from "./dist-B8oPeJDI.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import { realpathSync } from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
@@ -3,9 +3,9 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../chunk-emK7D4bc.js");
|
|
6
|
-
const require_dist = require("../dist-
|
|
7
|
-
const require_node = require("../node-
|
|
8
|
-
const require_custom_model_catalog = require("../custom-model-catalog-
|
|
6
|
+
const require_dist = require("../dist-PiNPe8uQ.js");
|
|
7
|
+
const require_node = require("../node-CMTBIa3-.js");
|
|
8
|
+
const require_custom_model_catalog = require("../custom-model-catalog-CoJEC8nz.js");
|
|
9
9
|
const require_hub_hostname = require("../hub-hostname-DAJXlOgV.js");
|
|
10
10
|
const require_lazy_sharp = require("../lazy-sharp-BuwKlQLR.js");
|
|
11
11
|
const require_restream_intent = require("../restream-intent-7uDNqMKs.js");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as cameraOwnsMotionViaSensor, $n as object, A as NativeLeaseAdmissionSchema, At as linkedStepOf, Dn as errMsg, Fn as defineCustomActions, Gt as pickDetailCropConvention, Jn as boolean, Jt as pipelineRunnerCapability, Kn as _enum, Kt as pickNativeLeaseOverride, Nn as createEvent, Pn as customAction, Qn as number, T as FailureCounters, Vn as nodePin, Xn as lazy, Zn as literal, _ as DEFAULT_DETAIL_CROP_CONVENTION, a as BackgroundRunRegistry, cn as rootSuppliesOf, ft as deriveRootFaceRefineRect, in as resolveModelBoundSetting, ir as EventCategory, j as NativeLeaseSettingsSchema, jt as loadContributionCapability, kn as BaseAddon, m as CROP_SUPPLY_SOURCES, nr as string, q as allowedSuppliedEffect, qn as array, sn as resolveRootSupply, ut as deriveDetailCropRect, xt as failureContributionCapability, y as DEFAULT_NATIVE_LEASE_SETTINGS, z as ROOT_SUPPLIABLE_STEP_IDS } from "../dist-
|
|
2
|
-
import { i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-
|
|
3
|
-
import { a as stepsForElectedPool, b as getStepDefinition, d as rootObjectGate, f as localFrameRegistry, h as resolveFrameViewGeometry, i as placeDetailStep, l as resolveDefaultDetectionModel, m as createSessionDecodeCoordinator, p as isSessionDecodeReadGone, s as resolveDeviceEngine, t as CustomModelCatalog, u as macroGateVerdict, y as getStep } from "../custom-model-catalog-
|
|
1
|
+
import { $ as cameraOwnsMotionViaSensor, $n as object, A as NativeLeaseAdmissionSchema, At as linkedStepOf, Dn as errMsg, Fn as defineCustomActions, Gt as pickDetailCropConvention, Jn as boolean, Jt as pipelineRunnerCapability, Kn as _enum, Kt as pickNativeLeaseOverride, Nn as createEvent, Pn as customAction, Qn as number, T as FailureCounters, Vn as nodePin, Xn as lazy, Zn as literal, _ as DEFAULT_DETAIL_CROP_CONVENTION, a as BackgroundRunRegistry, cn as rootSuppliesOf, ft as deriveRootFaceRefineRect, in as resolveModelBoundSetting, ir as EventCategory, j as NativeLeaseSettingsSchema, jt as loadContributionCapability, kn as BaseAddon, m as CROP_SUPPLY_SOURCES, nr as string, q as allowedSuppliedEffect, qn as array, sn as resolveRootSupply, ut as deriveDetailCropRect, xt as failureContributionCapability, y as DEFAULT_NATIVE_LEASE_SETTINGS, z as ROOT_SUPPLIABLE_STEP_IDS } from "../dist-B8oPeJDI.mjs";
|
|
2
|
+
import { i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-DFUmMJ_f.mjs";
|
|
3
|
+
import { a as stepsForElectedPool, b as getStepDefinition, d as rootObjectGate, f as localFrameRegistry, h as resolveFrameViewGeometry, i as placeDetailStep, l as resolveDefaultDetectionModel, m as createSessionDecodeCoordinator, p as isSessionDecodeReadGone, s as resolveDeviceEngine, t as CustomModelCatalog, u as macroGateVerdict, y as getStep } from "../custom-model-catalog-DNSmyZTT.mjs";
|
|
4
4
|
import { t as resolveHubHostname } from "../hub-hostname-cCknRYKj.mjs";
|
|
5
5
|
import { t as getSharp } from "../lazy-sharp-DXsqwpph.mjs";
|
|
6
6
|
import { c as withDetectionIntent, o as preRollRequestOf, t as DETECTION_PRE_ROLL_REQUEST_MS } from "../restream-intent-DyGmLAU9.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-emK7D4bc.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-PiNPe8uQ.js");
|
|
3
3
|
let node_fs = require("node:fs");
|
|
4
4
|
node_fs = require_chunk.__toESM(node_fs);
|
|
5
5
|
let node_child_process = require("node:child_process");
|
package/dist/recorder/index.js
CHANGED
|
@@ -3,8 +3,8 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../chunk-emK7D4bc.js");
|
|
6
|
-
const require_dist = require("../dist-
|
|
7
|
-
const require_node = require("../node-
|
|
6
|
+
const require_dist = require("../dist-PiNPe8uQ.js");
|
|
7
|
+
const require_node = require("../node-CMTBIa3-.js");
|
|
8
8
|
const require_hub_hostname = require("../hub-hostname-DAJXlOgV.js");
|
|
9
9
|
const require_restream_intent = require("../restream-intent-7uDNqMKs.js");
|
|
10
10
|
const require_retire_root_keys = require("../retire-root-keys-Csb8z2f3.js");
|
|
@@ -6048,8 +6048,14 @@ Object.freeze({
|
|
|
6048
6048
|
"searchObjectEvents": { "limit": 50 }
|
|
6049
6049
|
},
|
|
6050
6050
|
"pipeline-orchestrator": {
|
|
6051
|
-
"
|
|
6052
|
-
"
|
|
6051
|
+
"applyAutoTune": { "headroom": .4 },
|
|
6052
|
+
"getPlacementStats": { "windowMs": 36e5 },
|
|
6053
|
+
"planAutoTune": { "headroom": .4 },
|
|
6054
|
+
"setLoadBalancingShares": {
|
|
6055
|
+
"nodes": {},
|
|
6056
|
+
"devices": {}
|
|
6057
|
+
},
|
|
6058
|
+
"suggestShares": { "headroom": .4 }
|
|
6053
6059
|
},
|
|
6054
6060
|
"pipeline-runner": {
|
|
6055
6061
|
"attachCamera": {
|
package/dist/recorder/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $n as object, $t as recordingSignalCapability, B as RecordingConfigSchema, Ct as gbToBytes, Dn as errMsg$1, En as DeviceType, Fn as defineCustomActions, Ft as mayReadLocation, Gn as sleep$1, I as RECORDING_EXPORT_MAX_READ_BYTES, It as mayWriteToLocation, Jn as boolean, Kn as _enum, L as RECORDING_SOURCE_CAMSTACK, Ln as hydrateSchema, Lt as memoizePinnedFfmpeg, M as OpsLogEntrySchema, Ot as isFirstLevelMacroClass, Pn as customAction, Q as batteryCapability, Qn as number, Qt as recordingExportCapability, R as RECORDING_SOURCE_CAMSTACK_ADDON, Rt as migrateLegacyDeviceSignalConfig, S as EVENT_PAD_MS, Sn as evaluateSensorEdge, Tn as DeviceFeature, U as VIDEOCLIPS_MAX_OFFER_BYTES, V as RecordingSignalStatusSchema, Vn as nodePin, W as VISIT_MERGE_GAP_MS, Wn as selectAssignedProfileSlots, Xt as recordingArchiveCapability, Zt as recordingCapability, bt as exportSubjectOf, dn as storageEvictableCapability, dt as deriveRecordingMode, er as preprocess, fn as storageOccupancyCapability, gn as videoclipsCapability, ir as EventCategory, jt as loadContributionCapability, kn as BaseAddon, lt as deriveBatteryPresence, mn as stripRetiredBandPreBufferSec, nr as string, nt as clipExportFailureOf, o as BatteryStatusSchema, on as resolveRecordingProfiles, qn as array, rn as resolveLocationMode, s as CLIP_BROKER_PACED_RATES, tn as resolveCreateExportSubject, tr as record, tt as clipExportFailure, v as DEFAULT_EVENTS_BAND_BUFFER_SEC, vt as evictionPolicyForMode, w as ExportRecordSchema, x as EVENT_OWNER_TYPES, yt as evictionPolicyOfLocation, zt as modeMayWrite } from "../dist-
|
|
2
|
-
import { a as physicalRootOf, i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-
|
|
1
|
+
import { $n as object, $t as recordingSignalCapability, B as RecordingConfigSchema, Ct as gbToBytes, Dn as errMsg$1, En as DeviceType, Fn as defineCustomActions, Ft as mayReadLocation, Gn as sleep$1, I as RECORDING_EXPORT_MAX_READ_BYTES, It as mayWriteToLocation, Jn as boolean, Kn as _enum, L as RECORDING_SOURCE_CAMSTACK, Ln as hydrateSchema, Lt as memoizePinnedFfmpeg, M as OpsLogEntrySchema, Ot as isFirstLevelMacroClass, Pn as customAction, Q as batteryCapability, Qn as number, Qt as recordingExportCapability, R as RECORDING_SOURCE_CAMSTACK_ADDON, Rt as migrateLegacyDeviceSignalConfig, S as EVENT_PAD_MS, Sn as evaluateSensorEdge, Tn as DeviceFeature, U as VIDEOCLIPS_MAX_OFFER_BYTES, V as RecordingSignalStatusSchema, Vn as nodePin, W as VISIT_MERGE_GAP_MS, Wn as selectAssignedProfileSlots, Xt as recordingArchiveCapability, Zt as recordingCapability, bt as exportSubjectOf, dn as storageEvictableCapability, dt as deriveRecordingMode, er as preprocess, fn as storageOccupancyCapability, gn as videoclipsCapability, ir as EventCategory, jt as loadContributionCapability, kn as BaseAddon, lt as deriveBatteryPresence, mn as stripRetiredBandPreBufferSec, nr as string, nt as clipExportFailureOf, o as BatteryStatusSchema, on as resolveRecordingProfiles, qn as array, rn as resolveLocationMode, s as CLIP_BROKER_PACED_RATES, tn as resolveCreateExportSubject, tr as record, tt as clipExportFailure, v as DEFAULT_EVENTS_BAND_BUFFER_SEC, vt as evictionPolicyForMode, w as ExportRecordSchema, x as EVENT_OWNER_TYPES, yt as evictionPolicyOfLocation, zt as modeMayWrite } from "../dist-B8oPeJDI.mjs";
|
|
2
|
+
import { a as physicalRootOf, i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-DFUmMJ_f.mjs";
|
|
3
3
|
import { t as resolveHubHostname } from "../hub-hostname-cCknRYKj.mjs";
|
|
4
4
|
import { d as PREBUFFER_MAX_MS, l as withRecordingIntent, r as RECORDING_PRE_ROLL_REQUEST_MS } from "../restream-intent-DyGmLAU9.mjs";
|
|
5
5
|
import { n as RowMapStore, t as retireRootKeys } from "../retire-root-keys-DZvlso2l.mjs";
|
|
@@ -6040,8 +6040,14 @@ Object.freeze({
|
|
|
6040
6040
|
"searchObjectEvents": { "limit": 50 }
|
|
6041
6041
|
},
|
|
6042
6042
|
"pipeline-orchestrator": {
|
|
6043
|
-
"
|
|
6044
|
-
"
|
|
6043
|
+
"applyAutoTune": { "headroom": .4 },
|
|
6044
|
+
"getPlacementStats": { "windowMs": 36e5 },
|
|
6045
|
+
"planAutoTune": { "headroom": .4 },
|
|
6046
|
+
"setLoadBalancingShares": {
|
|
6047
|
+
"nodes": {},
|
|
6048
|
+
"devices": {}
|
|
6049
|
+
},
|
|
6050
|
+
"suggestShares": { "headroom": .4 }
|
|
6045
6051
|
},
|
|
6046
6052
|
"pipeline-runner": {
|
|
6047
6053
|
"attachCamera": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-emK7D4bc.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-PiNPe8uQ.js");
|
|
3
3
|
let node_child_process = require("node:child_process");
|
|
4
4
|
//#region src/stream-broker/recorded/avcc-annexb.ts
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as __toESM, t as __commonJSMin } from "./chunk-DnnnRqeS.mjs";
|
|
2
|
-
import { Dn as errMsg } from "./dist-
|
|
2
|
+
import { Dn as errMsg } from "./dist-B8oPeJDI.mjs";
|
|
3
3
|
import { spawn } from "node:child_process";
|
|
4
4
|
//#region src/stream-broker/recorded/avcc-annexb.ts
|
|
5
5
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, p as c, r as l, s as u, t as d, u as f } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-
|
|
1
|
+
import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, p as c, r as l, s as u, t as d, u as f } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-LU_e-xJm.mjs";
|
|
2
2
|
import { a as p, i as m, n as h, o as g, r as _, t as v } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare__react__loadShare__.js-C9j-2lBe.mjs";
|
|
3
3
|
import { n as y, r as b, t as x } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-XO0-Pyu6.mjs";
|
|
4
|
-
import { t as S } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js
|
|
4
|
+
import { t as S } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BvfT5BVP.mjs";
|
|
5
5
|
import { n as C, t as w } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-BO7TIbJV.mjs";
|
|
6
6
|
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
|
|
7
7
|
var T = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), E = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), D = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), O = (e) => {
|
|
@@ -18,7 +18,7 @@ var e = {
|
|
|
18
18
|
},
|
|
19
19
|
"@camstack/types": {
|
|
20
20
|
name: "@camstack/types",
|
|
21
|
-
version: "1.2.
|
|
21
|
+
version: "1.2.319",
|
|
22
22
|
scope: ["default"],
|
|
23
23
|
loaded: !1,
|
|
24
24
|
from: "addon_stream_broker_widgets",
|
|
@@ -33,7 +33,7 @@ var e = {
|
|
|
33
33
|
},
|
|
34
34
|
"@camstack/ui-library": {
|
|
35
35
|
name: "@camstack/ui-library",
|
|
36
|
-
version: "1.2.
|
|
36
|
+
version: "1.2.242",
|
|
37
37
|
scope: ["default"],
|
|
38
38
|
loaded: !1,
|
|
39
39
|
from: "addon_stream_broker_widgets",
|