@camstack/server 1.2.936 → 1.2.937
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/CHANGELOG.md +7 -0
- package/dist/api/core/api-catalog.js +4 -0
- package/dist/api/trpc/generated-cap-routers.js +8 -0
- package/package.json +13 -9
- package/system/dist/{addon-pages.cap-DksUlE8j.mjs → addon-pages.cap-B-NaVAk8.mjs} +1 -1
- package/system/dist/{addon-pages.cap-Df9FQwN1.js → addon-pages.cap-CdvuO-QW.js} +1 -1
- package/system/dist/{addon-settings.cap-DAiE0Nb0.js → addon-settings.cap-B44t-Kbx.js} +1 -1
- package/system/dist/{addon-settings.cap-3-TIIMq_.mjs → addon-settings.cap-BlsqpQXD.mjs} +1 -1
- package/system/dist/{addon-widgets.cap-D9m48X78.mjs → addon-widgets.cap-BY-wN_Zi.mjs} +1 -1
- package/system/dist/{addon-widgets.cap-C4jxflbF.js → addon-widgets.cap-CQRbYspY.js} +1 -1
- package/system/dist/{base-device-Bwiblqmn.mjs → base-device-B-jLBwhX.mjs} +2 -2
- package/system/dist/{base-device-C1z4zYGR.js → base-device-BOZCZY4S.js} +2 -2
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/alerts/alerts.addon.js +2 -2
- package/system/dist/builtins/alerts/alerts.addon.mjs +2 -2
- package/system/dist/builtins/autotrack/index.js +1 -1
- package/system/dist/builtins/autotrack/index.mjs +1 -1
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
- package/system/dist/builtins/calendars/calendars.addon.js +1 -1
- package/system/dist/builtins/calendars/calendars.addon.mjs +1 -1
- package/system/dist/builtins/camera-grid/index.js +4 -4
- package/system/dist/builtins/camera-grid/index.mjs +4 -4
- package/system/dist/builtins/composer/composer.addon.js +8 -8
- package/system/dist/builtins/composer/composer.addon.mjs +8 -8
- package/system/dist/builtins/console-logging/index.js +1 -1
- package/system/dist/builtins/console-logging/index.mjs +1 -1
- package/system/dist/builtins/core-blocks/core-blocks.addon.js +11 -11
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +11 -11
- package/system/dist/builtins/core-notifier/core-notifier.addon.js +3 -3
- package/system/dist/builtins/core-notifier/core-notifier.addon.mjs +3 -3
- package/system/dist/builtins/device-history/device-history.addon.js +3 -3
- package/system/dist/builtins/device-history/device-history.addon.mjs +3 -3
- package/system/dist/builtins/device-manager/device-manager.addon.js +16 -9
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +16 -9
- package/system/dist/builtins/hub-forwarder/index.js +1 -1
- package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/system/dist/builtins/keychain/index.js +1 -1
- package/system/dist/builtins/keychain/index.mjs +1 -1
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
- package/system/dist/builtins/local-auth/local-auth.addon.js +1 -1
- package/system/dist/builtins/local-auth/local-auth.addon.mjs +1 -1
- package/system/dist/builtins/local-network/local-network.addon.js +2 -2
- package/system/dist/builtins/local-network/local-network.addon.mjs +2 -2
- package/system/dist/builtins/loki-logging/index.js +3 -3
- package/system/dist/builtins/loki-logging/index.mjs +3 -3
- package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/system/dist/builtins/platform-probe/index.js +1 -1
- package/system/dist/builtins/platform-probe/index.mjs +1 -1
- package/system/dist/builtins/record-entries/index.js +1 -1
- package/system/dist/builtins/record-entries/index.mjs +1 -1
- package/system/dist/builtins/snapshot/index.js +2 -2
- package/system/dist/builtins/snapshot/index.mjs +2 -2
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/index.js +1 -1
- package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +7 -7
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +7 -7
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +3 -3
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +3 -3
- package/system/dist/builtins/winston-logging/index.js +2 -2
- package/system/dist/builtins/winston-logging/index.mjs +2 -2
- package/system/dist/{calendars.cap-_C4eD4fi.mjs → calendars.cap-DyQFPDr1.mjs} +1 -1
- package/system/dist/{calendars.cap-CaFlShS9.js → calendars.cap-KbMVKbM5.js} +1 -1
- package/system/dist/{capability-definition-HCmTem8c.js → capability-definition-BRoGprGl.js} +1 -0
- package/system/dist/{capability-definition-C2rJdVeX.mjs → capability-definition-DLD3HR3U.mjs} +1 -0
- package/system/dist/{capture-engine-DiwbjoWp.mjs → capture-engine-DceE_Lxa.mjs} +1 -1
- package/system/dist/{capture-engine-DZ0LIUqA.js → capture-engine-oWy4DQn8.js} +1 -1
- package/system/dist/{composition-sources-B0QW4g86.mjs → composition-sources-2yNL7KIF.mjs} +2 -2
- package/system/dist/{composition-sources-BtUx1MfU.js → composition-sources-DSf2fQ9L.js} +2 -2
- package/system/dist/{core-blocks.cap-DlEuHq-S.js → core-blocks.cap-COZ5qkRy.js} +3 -3
- package/system/dist/{core-blocks.cap-CnwBuf7E.mjs → core-blocks.cap-XUCnn7lE.mjs} +3 -3
- package/system/dist/{database-snapshot.cap-DF38e-0P.js → database-snapshot.cap-BHWr6SRl.js} +2 -2
- package/system/dist/{database-snapshot.cap-dhrc9xnY.mjs → database-snapshot.cap-Dgsn_9hb.mjs} +2 -2
- package/system/dist/{device-manager.cap-CFZSPfUh.mjs → device-manager.cap-B0XOXW5n.mjs} +3 -3
- package/system/dist/{device-manager.cap-2abwVLCM.js → device-manager.cap-DD66WJGT.js} +3 -3
- package/system/dist/{device-provider.cap-3Uvk6f5-.mjs → device-provider.cap-DNbklrhV.mjs} +1 -1
- package/system/dist/{device-provider.cap-D7TV2kVH.js → device-provider.cap-meVxP-ZT.js} +1 -1
- package/system/dist/{device-row-store-YF3jtmkk.mjs → device-row-store-Bq3_mCoZ.mjs} +1 -1
- package/system/dist/{device-row-store-doTfMOqn.js → device-row-store-CSnsi_ri.js} +1 -1
- package/system/dist/{device-transitions.cap-B5w5PYU_.js → device-transitions.cap-BDn0butT.js} +1 -1
- package/system/dist/{device-transitions.cap-DojcwEuX.mjs → device-transitions.cap-DETXRGXI.mjs} +1 -1
- package/system/dist/{error.cap-BCqzFlo2.js → error.cap-BgBtdpm5.js} +1 -1
- package/system/dist/{error.cap-5zNPAgU2.mjs → error.cap-Xydi4TyZ.mjs} +1 -1
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/index.js +7 -7
- package/system/dist/index.mjs +7 -7
- package/system/dist/{integration-instances.cap-dJIxg2_s.js → integration-instances.cap-BZdT6WIs.js} +1 -1
- package/system/dist/{integration-instances.cap-Cl9O-k4h.mjs → integration-instances.cap-DskCCCIu.mjs} +1 -1
- package/system/dist/{keychain-admin.cap-Db_oFX4H.js → keychain-admin.cap-BnsWz44L.js} +1 -1
- package/system/dist/{keychain-admin.cap-GtM7gVGG.mjs → keychain-admin.cap-CKdAe74a.mjs} +1 -1
- package/system/dist/{log-destination.cap-DELPJkZ0.js → log-destination.cap-Dz-Fli-t.js} +1 -1
- package/system/dist/{log-destination.cap-CxZzAVaR.mjs → log-destination.cap-rHxFjAsU.mjs} +1 -1
- package/system/dist/{low-power-sleep.cap-tGPmaZ_V.mjs → low-power-sleep.cap-CwQkEFVD.mjs} +1 -1
- package/system/dist/{low-power-sleep.cap-7lfVU41N.js → low-power-sleep.cap-DJH5wJpA.js} +1 -1
- package/system/dist/{metrics-provider.cap-BcmQUt6l.js → metrics-provider.cap-CmKvAp5K.js} +1 -1
- package/system/dist/{metrics-provider.cap-BNmcHDkQ.mjs → metrics-provider.cap-l39Ma4BH.mjs} +1 -1
- package/system/dist/{migration-DRJAtdy7.mjs → migration-CpbO0xPG.mjs} +1 -1
- package/system/dist/{migration-BMjgkyG2.js → migration-DKotTSc0.js} +1 -1
- package/system/dist/{network-access.cap-BJnGbE6n.mjs → network-access.cap-CTdzeqnQ.mjs} +2 -2
- package/system/dist/{network-access.cap-B5TWLDCC.js → network-access.cap-XvDFK4J2.js} +2 -2
- package/system/dist/{notification-rules.cap-DUmiMBQB.mjs → notification-rules.cap-JQPEAUwq.mjs} +1 -1
- package/system/dist/{notification-rules.cap-BDh0LDhV.js → notification-rules.cap-v-cuIrwq.js} +1 -1
- package/system/dist/{notification-targets-DaNE-pIt.mjs → notification-targets-CPSDChxA.mjs} +1 -1
- package/system/dist/{notification-targets-CRH-9Dy5.js → notification-targets-_vr0nUsl.js} +1 -1
- package/system/dist/{platform-probe.cap-BFeqFLtQ.mjs → platform-probe.cap-BfGw4FsA.mjs} +1 -1
- package/system/dist/{platform-probe.cap-1WrMhWHx.js → platform-probe.cap-UOsI8bJL.js} +1 -1
- package/system/dist/{prefix-walk-DD1BM923.js → prefix-walk-MNJLhOQ4.js} +2 -2
- package/system/dist/{prefix-walk-CRnbYJcC.mjs → prefix-walk-_jmw00Vw.mjs} +2 -2
- package/system/dist/{ptz-autotrack.cap-DT2GypXw.mjs → ptz-autotrack.cap-CVm6a1Y-.mjs} +1 -1
- package/system/dist/{ptz-autotrack.cap-BW7w0zHD.js → ptz-autotrack.cap-E_n2XU8K.js} +1 -1
- package/system/dist/{record-entries.cap-ti1C046R.js → record-entries.cap-BM5lZzWh.js} +2 -2
- package/system/dist/{record-entries.cap-sMUhTvTU.mjs → record-entries.cap-DWtLFTqk.mjs} +2 -2
- package/system/dist/{recording-archive.cap-D7bo-QSM.js → recording-archive.cap-BkI6Y-n1.js} +1 -1
- package/system/dist/{recording-archive.cap-7OrIn9e5.mjs → recording-archive.cap-CzQ8cKsc.mjs} +1 -1
- package/system/dist/{records.cap-CwLT2ByG.mjs → records.cap-BKJ9vylh.mjs} +1 -1
- package/system/dist/{records.cap-ClcWV64i.js → records.cap-yxP6a69W.js} +1 -1
- package/system/dist/{rename-composition-block-BYRBlx-V.mjs → rename-composition-block-BGsOdbXV.mjs} +95 -32
- package/system/dist/{rename-composition-block-BRgyBO25.js → rename-composition-block-BkuT7Q9a.js} +95 -32
- package/system/dist/{restore-archive-CkTkv3Ss.js → restore-archive-BxpEs8a_.js} +2 -2
- package/system/dist/{restore-archive-CjAyKpgX.mjs → restore-archive-D_Q_WeLG.mjs} +2 -2
- package/system/dist/{settings-store.cap-wlJhCspr.js → settings-store.cap-CBBKWyVh.js} +1 -1
- package/system/dist/{settings-store.cap-Ci4F2zul.mjs → settings-store.cap-DMRr0OD7.mjs} +1 -1
- package/system/dist/{snapshot.cap-Bs8Oyaqh.mjs → snapshot.cap-B6-9cwt9.mjs} +1 -1
- package/system/dist/{snapshot.cap-3suPdBHV.js → snapshot.cap-CuP-6HSJ.js} +1 -1
- package/system/dist/{storage-admin.cap-BSv1NjKJ.mjs → storage-admin.cap-Dh59lsb1.mjs} +4 -4
- package/system/dist/{storage-admin.cap-he0OqvVM.js → storage-admin.cap-jCrZczO9.js} +4 -4
- package/system/dist/{storage-migration.cap-CyyATY_p.js → storage-migration.cap-BN70KR6v.js} +1 -1
- package/system/dist/{storage-migration.cap-D7QqGobp.mjs → storage-migration.cap-DlkRRFM8.mjs} +1 -1
- package/system/dist/{storage-occupancy.cap-CqBztTl9.mjs → storage-occupancy.cap-B85IBCO3.mjs} +3 -3
- package/system/dist/{storage-occupancy.cap-2rmnS58Z.js → storage-occupancy.cap-DlDL_YBp.js} +3 -3
- package/system/dist/{storage-provider.cap-CMeck2w4.mjs → storage-provider.cap-B7mvKa0M.mjs} +1 -1
- package/system/dist/{storage-provider.cap-Bw0CfxVc.js → storage-provider.cap-CplEGm7y.js} +1 -1
- package/system/dist/{stream-catalog.cap-D3uwePiA.js → stream-catalog.cap-CG9R-dD2.js} +102 -8
- package/system/dist/{stream-catalog.cap-Bp7SkgIf.mjs → stream-catalog.cap-Cp9GxHl8.mjs} +97 -9
- package/system/dist/{user-management.cap-B9QDu8NE.js → user-management.cap-CPtvvmgp.js} +1 -1
- package/system/dist/{user-management.cap-DBIi77sB.mjs → user-management.cap-Zpc4grqS.mjs} +1 -1
- package/system/dist/{vector-store.cap-h2GHWQ1t.mjs → vector-store.cap-CYcwQuWa.mjs} +1 -1
- package/system/dist/{vector-store.cap-DnyfrYDn.js → vector-store.cap-q9AkgqSQ.js} +1 -1
- package/system/dist/{wal-maintenance-DyrebYKF.js → wal-maintenance-Cb1i3shp.js} +0 -0
- package/system/dist/{wal-maintenance-BG01rOn9.mjs → wal-maintenance-hh3FWtz2.mjs} +0 -0
- package/system/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_streaming_shared = require("./streaming-shared-DQwFZOSi.js");
|
|
2
2
|
const require_base_addon = require("./base-addon-DD5dIfcZ.js");
|
|
3
|
-
const require_capability_definition = require("./capability-definition-
|
|
3
|
+
const require_capability_definition = require("./capability-definition-BRoGprGl.js");
|
|
4
4
|
const require_system_reasons = require("./system-reasons-Be_k1W8g.js");
|
|
5
5
|
const require_ops_log = require("./ops-log-pxt9176Z.js");
|
|
6
6
|
const require_quantity = require("./quantity-lY1KiTSZ.js");
|
|
@@ -4677,7 +4677,12 @@ var zonesCapability = {
|
|
|
4677
4677
|
* - `pipeline` — the chosen detector plus the operator's detail steps
|
|
4678
4678
|
* (faces, plates, classifiers, CLIP…), on varied frames from the bench
|
|
4679
4679
|
* clip: how many parallel sessions the node carries before latency, drops,
|
|
4680
|
-
* CPU, RAM or the event loop give out
|
|
4680
|
+
* CPU, RAM or the event loop give out;
|
|
4681
|
+
* - `decode` — the node, no accelerator of the inference plane: an encoded
|
|
4682
|
+
* camera-like stream (a profile: resolution, rate, codec) served on the
|
|
4683
|
+
* loopback and decoded by the session decode worker a camera gets, with a
|
|
4684
|
+
* motion pass on its frames: how many concurrent streams keep the profile
|
|
4685
|
+
* frame rate inside the same CPU and RAM limits (D1078).
|
|
4681
4686
|
*/
|
|
4682
4687
|
/** Defaults and bounds, one place. */
|
|
4683
4688
|
var NODE_BENCHMARK_DEFAULTS = {
|
|
@@ -4696,8 +4701,34 @@ var NODE_BENCHMARK_DEFAULTS = {
|
|
|
4696
4701
|
/** Candidate models per device in one run. */
|
|
4697
4702
|
maxModelsPerDevice: 6
|
|
4698
4703
|
};
|
|
4699
|
-
/** The
|
|
4700
|
-
var NodeBenchmarkPhaseSchema = /* @__PURE__ */ zod.z.enum([
|
|
4704
|
+
/** The measurements a run can make. */
|
|
4705
|
+
var NodeBenchmarkPhaseSchema = /* @__PURE__ */ zod.z.enum([
|
|
4706
|
+
"device",
|
|
4707
|
+
"pipeline",
|
|
4708
|
+
"decode"
|
|
4709
|
+
]);
|
|
4710
|
+
/** The encoded stream shape a decode measurement offers. */
|
|
4711
|
+
var NodeDecodeProfileSchema = /* @__PURE__ */ zod.z.object({
|
|
4712
|
+
width: /* @__PURE__ */ zod.z.number(),
|
|
4713
|
+
height: /* @__PURE__ */ zod.z.number(),
|
|
4714
|
+
fps: /* @__PURE__ */ zod.z.number(),
|
|
4715
|
+
codec: /* @__PURE__ */ zod.z.enum(["h264", "h265"])
|
|
4716
|
+
});
|
|
4717
|
+
/**
|
|
4718
|
+
* The camera-like streams the `decode` measurement ramps, heaviest first: a
|
|
4719
|
+
* 4K H.265 main stream and a 1080p H.264 one, at a camera frame rate.
|
|
4720
|
+
*/
|
|
4721
|
+
var NODE_BENCH_DECODE_PROFILES = [{
|
|
4722
|
+
width: 3840,
|
|
4723
|
+
height: 2160,
|
|
4724
|
+
fps: 15,
|
|
4725
|
+
codec: "h265"
|
|
4726
|
+
}, {
|
|
4727
|
+
width: 1920,
|
|
4728
|
+
height: 1080,
|
|
4729
|
+
fps: 15,
|
|
4730
|
+
codec: "h264"
|
|
4731
|
+
}];
|
|
4701
4732
|
var NodeBenchmarkDevicePlanSchema = /* @__PURE__ */ zod.z.object({
|
|
4702
4733
|
/** `<backend>:<device>` — `openvino:npu`, `coreml:all`, `cpu`. */
|
|
4703
4734
|
deviceKey: /* @__PURE__ */ zod.z.string().min(1),
|
|
@@ -4712,7 +4743,11 @@ var NodeBenchmarkPlanSchema = /* @__PURE__ */ zod.z.object({
|
|
|
4712
4743
|
nodeId: /* @__PURE__ */ zod.z.string().min(1),
|
|
4713
4744
|
devices: /* @__PURE__ */ zod.z.array(NodeBenchmarkDevicePlanSchema).min(1),
|
|
4714
4745
|
/** Which measurements run. At least one. */
|
|
4715
|
-
phases: /* @__PURE__ */ zod.z.array(NodeBenchmarkPhaseSchema).min(1).default([
|
|
4746
|
+
phases: /* @__PURE__ */ zod.z.array(NodeBenchmarkPhaseSchema).min(1).default([
|
|
4747
|
+
"device",
|
|
4748
|
+
"pipeline",
|
|
4749
|
+
"decode"
|
|
4750
|
+
]),
|
|
4716
4751
|
/**
|
|
4717
4752
|
* Detail steps (catalog step ids under the root: faces, plates,
|
|
4718
4753
|
* classifiers, CLIP…) the `pipeline` measurement enables. The root
|
|
@@ -4780,19 +4815,24 @@ var NodeBenchProgressSchema = /* @__PURE__ */ zod.z.object({
|
|
|
4780
4815
|
"preparing",
|
|
4781
4816
|
"device",
|
|
4782
4817
|
"pipeline",
|
|
4818
|
+
"decode",
|
|
4783
4819
|
"cleanup"
|
|
4784
4820
|
]),
|
|
4785
4821
|
deviceKey: /* @__PURE__ */ zod.z.string().nullable(),
|
|
4786
4822
|
modelId: /* @__PURE__ */ zod.z.string().nullable(),
|
|
4787
|
-
/** Streams (device) or sessions (pipeline) of the step running now. */
|
|
4823
|
+
/** Streams (device, decode) or sessions (pipeline) of the step running now. */
|
|
4788
4824
|
load: /* @__PURE__ */ zod.z.number().nullable(),
|
|
4789
4825
|
cellsDone: /* @__PURE__ */ zod.z.number(),
|
|
4790
4826
|
cellsTotal: /* @__PURE__ */ zod.z.number(),
|
|
4791
4827
|
message: /* @__PURE__ */ zod.z.string()
|
|
4792
4828
|
});
|
|
4793
|
-
/**
|
|
4829
|
+
/**
|
|
4830
|
+
* What limited a ramp. `none` = the ramp ran out of steps still passing;
|
|
4831
|
+
* `fps` = a decode stream fell under the profile frame rate.
|
|
4832
|
+
*/
|
|
4794
4833
|
var NodeBenchLimitSchema = /* @__PURE__ */ zod.z.enum([
|
|
4795
4834
|
"p95",
|
|
4835
|
+
"fps",
|
|
4796
4836
|
"drops",
|
|
4797
4837
|
"errors",
|
|
4798
4838
|
"stall",
|
|
@@ -4843,7 +4883,47 @@ var NodeBenchPipelineCellSchema = /* @__PURE__ */ zod.z.object({
|
|
|
4843
4883
|
warmupMs: /* @__PURE__ */ zod.z.number(),
|
|
4844
4884
|
ramp: /* @__PURE__ */ zod.z.array(NodeBenchRampStepSchema).readonly()
|
|
4845
4885
|
});
|
|
4846
|
-
|
|
4886
|
+
/** One step of a decode ramp: `load` concurrent streams of one profile. */
|
|
4887
|
+
var NodeBenchDecodeRampStepSchema = /* @__PURE__ */ zod.z.object({
|
|
4888
|
+
load: /* @__PURE__ */ zod.z.number(),
|
|
4889
|
+
pass: /* @__PURE__ */ zod.z.boolean(),
|
|
4890
|
+
/** Frames per second the SLOWEST stream delivered; null when one never started. */
|
|
4891
|
+
minFps: /* @__PURE__ */ zod.z.number().nullable(),
|
|
4892
|
+
/** p95 age of a delivered frame on the worst stream; null when none was delivered. */
|
|
4893
|
+
ageP95Ms: /* @__PURE__ */ zod.z.number().nullable(),
|
|
4894
|
+
cpuPct: /* @__PURE__ */ zod.z.number().nullable(),
|
|
4895
|
+
ramFreePct: /* @__PURE__ */ zod.z.number().nullable(),
|
|
4896
|
+
failReasons: /* @__PURE__ */ zod.z.array(/* @__PURE__ */ zod.z.string()).readonly()
|
|
4897
|
+
});
|
|
4898
|
+
/**
|
|
4899
|
+
* One measured decode profile (the `decode` measurement) on the node. It names
|
|
4900
|
+
* no inference device and no model: decode is the node's, not an accelerator's.
|
|
4901
|
+
*/
|
|
4902
|
+
var NodeBenchDecodeCellSchema = /* @__PURE__ */ zod.z.object({
|
|
4903
|
+
phase: /* @__PURE__ */ zod.z.literal("decode"),
|
|
4904
|
+
profile: NodeDecodeProfileSchema,
|
|
4905
|
+
/** Concurrent streams that kept the profile frame rate; 0 = not even one. */
|
|
4906
|
+
maxStreams: /* @__PURE__ */ zod.z.number(),
|
|
4907
|
+
limitedBy: NodeBenchLimitSchema,
|
|
4908
|
+
/** Every held stream ran on a hardware decoder (false = at least one in software). */
|
|
4909
|
+
hardware: /* @__PURE__ */ zod.z.boolean(),
|
|
4910
|
+
/**
|
|
4911
|
+
* The decode backend the workers reported at the last step that held:
|
|
4912
|
+
* `vaapi`, `videotoolbox`, … or `software`; several joined by `+` when the
|
|
4913
|
+
* streams did not all get the same one (a hardware decoder out of sessions).
|
|
4914
|
+
*/
|
|
4915
|
+
decoder: /* @__PURE__ */ zod.z.string(),
|
|
4916
|
+
/** A motion pass ran on the decoded frames, as a session runs it. */
|
|
4917
|
+
motion: /* @__PURE__ */ zod.z.boolean(),
|
|
4918
|
+
/** Milliseconds from the first worker fork to every stream of the first step decoding. */
|
|
4919
|
+
warmupMs: /* @__PURE__ */ zod.z.number(),
|
|
4920
|
+
ramp: /* @__PURE__ */ zod.z.array(NodeBenchDecodeRampStepSchema).readonly()
|
|
4921
|
+
});
|
|
4922
|
+
var NodeBenchCellSchema = /* @__PURE__ */ zod.z.discriminatedUnion("phase", [
|
|
4923
|
+
NodeBenchDeviceCellSchema,
|
|
4924
|
+
NodeBenchPipelineCellSchema,
|
|
4925
|
+
NodeBenchDecodeCellSchema
|
|
4926
|
+
]);
|
|
4847
4927
|
/**
|
|
4848
4928
|
* What a result was measured ON. A result whose fingerprint no longer matches
|
|
4849
4929
|
* the node no longer beats the table.
|
|
@@ -4874,6 +4954,8 @@ var NodeBenchRunnerInputSchema = /* @__PURE__ */ zod.z.object({
|
|
|
4874
4954
|
runId: /* @__PURE__ */ zod.z.string().min(1),
|
|
4875
4955
|
devices: /* @__PURE__ */ zod.z.array(NodeBenchmarkDevicePlanSchema).min(1),
|
|
4876
4956
|
phases: /* @__PURE__ */ zod.z.array(NodeBenchmarkPhaseSchema).min(1),
|
|
4957
|
+
/** The profiles the `decode` measurement ramps, in order. */
|
|
4958
|
+
decodeProfiles: /* @__PURE__ */ zod.z.array(NodeDecodeProfileSchema).default([...NODE_BENCH_DECODE_PROFILES]),
|
|
4877
4959
|
/** The full detail step tree root for the `pipeline` measurement is built on the node from these ids. */
|
|
4878
4960
|
steps: /* @__PURE__ */ zod.z.array(/* @__PURE__ */ zod.z.string()).default([]),
|
|
4879
4961
|
fpsPerStream: /* @__PURE__ */ zod.z.number().int().min(1).max(30),
|
|
@@ -4902,6 +4984,12 @@ var NodeBenchRunnerStatusSchema = /* @__PURE__ */ zod.z.object({
|
|
|
4902
4984
|
activeCameraIds: /* @__PURE__ */ zod.z.array(/* @__PURE__ */ zod.z.number()).readonly(),
|
|
4903
4985
|
/** Models the run downloaded and then deleted (not installed before). */
|
|
4904
4986
|
deletedModels: /* @__PURE__ */ zod.z.array(/* @__PURE__ */ zod.z.string()).readonly(),
|
|
4987
|
+
/**
|
|
4988
|
+
* Measurements the run asked for and could not make, each with its reason
|
|
4989
|
+
* (`decode 2160p-h265-15: no libx265 encoder`). A cell that is absent
|
|
4990
|
+
* without a line here was never asked for.
|
|
4991
|
+
*/
|
|
4992
|
+
skipped: /* @__PURE__ */ zod.z.array(/* @__PURE__ */ zod.z.string()).readonly().default([]),
|
|
4905
4993
|
error: /* @__PURE__ */ zod.z.string().nullable(),
|
|
4906
4994
|
startedAtMs: /* @__PURE__ */ zod.z.number(),
|
|
4907
4995
|
finishedAtMs: /* @__PURE__ */ zod.z.number().nullable()
|
|
@@ -6677,6 +6765,12 @@ Object.defineProperty(exports, "NodeBenchmarkStatusSchema", {
|
|
|
6677
6765
|
return NodeBenchmarkStatusSchema;
|
|
6678
6766
|
}
|
|
6679
6767
|
});
|
|
6768
|
+
Object.defineProperty(exports, "NodeDecodeProfileSchema", {
|
|
6769
|
+
enumerable: true,
|
|
6770
|
+
get: function() {
|
|
6771
|
+
return NodeDecodeProfileSchema;
|
|
6772
|
+
}
|
|
6773
|
+
});
|
|
6680
6774
|
Object.defineProperty(exports, "PeerBytesTicketSchema", {
|
|
6681
6775
|
enumerable: true,
|
|
6682
6776
|
get: function() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as CamStreamResolutionSchema, i as CamStreamKindSchema, l as FrameHandleSchema, r as CamProfileSchema, t as AudioStreamPickSchema } from "./streaming-shared-B8cXatuU.mjs";
|
|
2
2
|
import { b as EventCategory } from "./base-addon-Md14i7pe.mjs";
|
|
3
|
-
import { c as method } from "./capability-definition-
|
|
3
|
+
import { c as method } from "./capability-definition-DLD3HR3U.mjs";
|
|
4
4
|
import { t as NOT_A_DEVICE } from "./system-reasons-CYj4qwyS.mjs";
|
|
5
5
|
import { n as OpsLogQueryInputSchema, r as OpsLogReasonSchema, t as OpsLogEntrySchema } from "./ops-log-CB4pIdqi.mjs";
|
|
6
6
|
import { a as readingMeta } from "./quantity-D3g5SxsZ.mjs";
|
|
@@ -4677,7 +4677,12 @@ var zonesCapability = {
|
|
|
4677
4677
|
* - `pipeline` — the chosen detector plus the operator's detail steps
|
|
4678
4678
|
* (faces, plates, classifiers, CLIP…), on varied frames from the bench
|
|
4679
4679
|
* clip: how many parallel sessions the node carries before latency, drops,
|
|
4680
|
-
* CPU, RAM or the event loop give out
|
|
4680
|
+
* CPU, RAM or the event loop give out;
|
|
4681
|
+
* - `decode` — the node, no accelerator of the inference plane: an encoded
|
|
4682
|
+
* camera-like stream (a profile: resolution, rate, codec) served on the
|
|
4683
|
+
* loopback and decoded by the session decode worker a camera gets, with a
|
|
4684
|
+
* motion pass on its frames: how many concurrent streams keep the profile
|
|
4685
|
+
* frame rate inside the same CPU and RAM limits (D1078).
|
|
4681
4686
|
*/
|
|
4682
4687
|
/** Defaults and bounds, one place. */
|
|
4683
4688
|
var NODE_BENCHMARK_DEFAULTS = {
|
|
@@ -4696,8 +4701,34 @@ var NODE_BENCHMARK_DEFAULTS = {
|
|
|
4696
4701
|
/** Candidate models per device in one run. */
|
|
4697
4702
|
maxModelsPerDevice: 6
|
|
4698
4703
|
};
|
|
4699
|
-
/** The
|
|
4700
|
-
var NodeBenchmarkPhaseSchema = /* @__PURE__ */ z.enum([
|
|
4704
|
+
/** The measurements a run can make. */
|
|
4705
|
+
var NodeBenchmarkPhaseSchema = /* @__PURE__ */ z.enum([
|
|
4706
|
+
"device",
|
|
4707
|
+
"pipeline",
|
|
4708
|
+
"decode"
|
|
4709
|
+
]);
|
|
4710
|
+
/** The encoded stream shape a decode measurement offers. */
|
|
4711
|
+
var NodeDecodeProfileSchema = /* @__PURE__ */ z.object({
|
|
4712
|
+
width: /* @__PURE__ */ z.number(),
|
|
4713
|
+
height: /* @__PURE__ */ z.number(),
|
|
4714
|
+
fps: /* @__PURE__ */ z.number(),
|
|
4715
|
+
codec: /* @__PURE__ */ z.enum(["h264", "h265"])
|
|
4716
|
+
});
|
|
4717
|
+
/**
|
|
4718
|
+
* The camera-like streams the `decode` measurement ramps, heaviest first: a
|
|
4719
|
+
* 4K H.265 main stream and a 1080p H.264 one, at a camera frame rate.
|
|
4720
|
+
*/
|
|
4721
|
+
var NODE_BENCH_DECODE_PROFILES = [{
|
|
4722
|
+
width: 3840,
|
|
4723
|
+
height: 2160,
|
|
4724
|
+
fps: 15,
|
|
4725
|
+
codec: "h265"
|
|
4726
|
+
}, {
|
|
4727
|
+
width: 1920,
|
|
4728
|
+
height: 1080,
|
|
4729
|
+
fps: 15,
|
|
4730
|
+
codec: "h264"
|
|
4731
|
+
}];
|
|
4701
4732
|
var NodeBenchmarkDevicePlanSchema = /* @__PURE__ */ z.object({
|
|
4702
4733
|
/** `<backend>:<device>` — `openvino:npu`, `coreml:all`, `cpu`. */
|
|
4703
4734
|
deviceKey: /* @__PURE__ */ z.string().min(1),
|
|
@@ -4712,7 +4743,11 @@ var NodeBenchmarkPlanSchema = /* @__PURE__ */ z.object({
|
|
|
4712
4743
|
nodeId: /* @__PURE__ */ z.string().min(1),
|
|
4713
4744
|
devices: /* @__PURE__ */ z.array(NodeBenchmarkDevicePlanSchema).min(1),
|
|
4714
4745
|
/** Which measurements run. At least one. */
|
|
4715
|
-
phases: /* @__PURE__ */ z.array(NodeBenchmarkPhaseSchema).min(1).default([
|
|
4746
|
+
phases: /* @__PURE__ */ z.array(NodeBenchmarkPhaseSchema).min(1).default([
|
|
4747
|
+
"device",
|
|
4748
|
+
"pipeline",
|
|
4749
|
+
"decode"
|
|
4750
|
+
]),
|
|
4716
4751
|
/**
|
|
4717
4752
|
* Detail steps (catalog step ids under the root: faces, plates,
|
|
4718
4753
|
* classifiers, CLIP…) the `pipeline` measurement enables. The root
|
|
@@ -4780,19 +4815,24 @@ var NodeBenchProgressSchema = /* @__PURE__ */ z.object({
|
|
|
4780
4815
|
"preparing",
|
|
4781
4816
|
"device",
|
|
4782
4817
|
"pipeline",
|
|
4818
|
+
"decode",
|
|
4783
4819
|
"cleanup"
|
|
4784
4820
|
]),
|
|
4785
4821
|
deviceKey: /* @__PURE__ */ z.string().nullable(),
|
|
4786
4822
|
modelId: /* @__PURE__ */ z.string().nullable(),
|
|
4787
|
-
/** Streams (device) or sessions (pipeline) of the step running now. */
|
|
4823
|
+
/** Streams (device, decode) or sessions (pipeline) of the step running now. */
|
|
4788
4824
|
load: /* @__PURE__ */ z.number().nullable(),
|
|
4789
4825
|
cellsDone: /* @__PURE__ */ z.number(),
|
|
4790
4826
|
cellsTotal: /* @__PURE__ */ z.number(),
|
|
4791
4827
|
message: /* @__PURE__ */ z.string()
|
|
4792
4828
|
});
|
|
4793
|
-
/**
|
|
4829
|
+
/**
|
|
4830
|
+
* What limited a ramp. `none` = the ramp ran out of steps still passing;
|
|
4831
|
+
* `fps` = a decode stream fell under the profile frame rate.
|
|
4832
|
+
*/
|
|
4794
4833
|
var NodeBenchLimitSchema = /* @__PURE__ */ z.enum([
|
|
4795
4834
|
"p95",
|
|
4835
|
+
"fps",
|
|
4796
4836
|
"drops",
|
|
4797
4837
|
"errors",
|
|
4798
4838
|
"stall",
|
|
@@ -4843,7 +4883,47 @@ var NodeBenchPipelineCellSchema = /* @__PURE__ */ z.object({
|
|
|
4843
4883
|
warmupMs: /* @__PURE__ */ z.number(),
|
|
4844
4884
|
ramp: /* @__PURE__ */ z.array(NodeBenchRampStepSchema).readonly()
|
|
4845
4885
|
});
|
|
4846
|
-
|
|
4886
|
+
/** One step of a decode ramp: `load` concurrent streams of one profile. */
|
|
4887
|
+
var NodeBenchDecodeRampStepSchema = /* @__PURE__ */ z.object({
|
|
4888
|
+
load: /* @__PURE__ */ z.number(),
|
|
4889
|
+
pass: /* @__PURE__ */ z.boolean(),
|
|
4890
|
+
/** Frames per second the SLOWEST stream delivered; null when one never started. */
|
|
4891
|
+
minFps: /* @__PURE__ */ z.number().nullable(),
|
|
4892
|
+
/** p95 age of a delivered frame on the worst stream; null when none was delivered. */
|
|
4893
|
+
ageP95Ms: /* @__PURE__ */ z.number().nullable(),
|
|
4894
|
+
cpuPct: /* @__PURE__ */ z.number().nullable(),
|
|
4895
|
+
ramFreePct: /* @__PURE__ */ z.number().nullable(),
|
|
4896
|
+
failReasons: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).readonly()
|
|
4897
|
+
});
|
|
4898
|
+
/**
|
|
4899
|
+
* One measured decode profile (the `decode` measurement) on the node. It names
|
|
4900
|
+
* no inference device and no model: decode is the node's, not an accelerator's.
|
|
4901
|
+
*/
|
|
4902
|
+
var NodeBenchDecodeCellSchema = /* @__PURE__ */ z.object({
|
|
4903
|
+
phase: /* @__PURE__ */ z.literal("decode"),
|
|
4904
|
+
profile: NodeDecodeProfileSchema,
|
|
4905
|
+
/** Concurrent streams that kept the profile frame rate; 0 = not even one. */
|
|
4906
|
+
maxStreams: /* @__PURE__ */ z.number(),
|
|
4907
|
+
limitedBy: NodeBenchLimitSchema,
|
|
4908
|
+
/** Every held stream ran on a hardware decoder (false = at least one in software). */
|
|
4909
|
+
hardware: /* @__PURE__ */ z.boolean(),
|
|
4910
|
+
/**
|
|
4911
|
+
* The decode backend the workers reported at the last step that held:
|
|
4912
|
+
* `vaapi`, `videotoolbox`, … or `software`; several joined by `+` when the
|
|
4913
|
+
* streams did not all get the same one (a hardware decoder out of sessions).
|
|
4914
|
+
*/
|
|
4915
|
+
decoder: /* @__PURE__ */ z.string(),
|
|
4916
|
+
/** A motion pass ran on the decoded frames, as a session runs it. */
|
|
4917
|
+
motion: /* @__PURE__ */ z.boolean(),
|
|
4918
|
+
/** Milliseconds from the first worker fork to every stream of the first step decoding. */
|
|
4919
|
+
warmupMs: /* @__PURE__ */ z.number(),
|
|
4920
|
+
ramp: /* @__PURE__ */ z.array(NodeBenchDecodeRampStepSchema).readonly()
|
|
4921
|
+
});
|
|
4922
|
+
var NodeBenchCellSchema = /* @__PURE__ */ z.discriminatedUnion("phase", [
|
|
4923
|
+
NodeBenchDeviceCellSchema,
|
|
4924
|
+
NodeBenchPipelineCellSchema,
|
|
4925
|
+
NodeBenchDecodeCellSchema
|
|
4926
|
+
]);
|
|
4847
4927
|
/**
|
|
4848
4928
|
* What a result was measured ON. A result whose fingerprint no longer matches
|
|
4849
4929
|
* the node no longer beats the table.
|
|
@@ -4874,6 +4954,8 @@ var NodeBenchRunnerInputSchema = /* @__PURE__ */ z.object({
|
|
|
4874
4954
|
runId: /* @__PURE__ */ z.string().min(1),
|
|
4875
4955
|
devices: /* @__PURE__ */ z.array(NodeBenchmarkDevicePlanSchema).min(1),
|
|
4876
4956
|
phases: /* @__PURE__ */ z.array(NodeBenchmarkPhaseSchema).min(1),
|
|
4957
|
+
/** The profiles the `decode` measurement ramps, in order. */
|
|
4958
|
+
decodeProfiles: /* @__PURE__ */ z.array(NodeDecodeProfileSchema).default([...NODE_BENCH_DECODE_PROFILES]),
|
|
4877
4959
|
/** The full detail step tree root for the `pipeline` measurement is built on the node from these ids. */
|
|
4878
4960
|
steps: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).default([]),
|
|
4879
4961
|
fpsPerStream: /* @__PURE__ */ z.number().int().min(1).max(30),
|
|
@@ -4902,6 +4984,12 @@ var NodeBenchRunnerStatusSchema = /* @__PURE__ */ z.object({
|
|
|
4902
4984
|
activeCameraIds: /* @__PURE__ */ z.array(/* @__PURE__ */ z.number()).readonly(),
|
|
4903
4985
|
/** Models the run downloaded and then deleted (not installed before). */
|
|
4904
4986
|
deletedModels: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).readonly(),
|
|
4987
|
+
/**
|
|
4988
|
+
* Measurements the run asked for and could not make, each with its reason
|
|
4989
|
+
* (`decode 2160p-h265-15: no libx265 encoder`). A cell that is absent
|
|
4990
|
+
* without a line here was never asked for.
|
|
4991
|
+
*/
|
|
4992
|
+
skipped: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).readonly().default([]),
|
|
4905
4993
|
error: /* @__PURE__ */ z.string().nullable(),
|
|
4906
4994
|
startedAtMs: /* @__PURE__ */ z.number(),
|
|
4907
4995
|
finishedAtMs: /* @__PURE__ */ z.number().nullable()
|
|
@@ -6557,4 +6645,4 @@ var streamCatalogCapability = {
|
|
|
6557
6645
|
}
|
|
6558
6646
|
};
|
|
6559
6647
|
//#endregion
|
|
6560
|
-
export {
|
|
6648
|
+
export { AudioClassifyOutcomeSchema as A, CameraSensorsStatusSchema as C, cameraGridLayoutCapability as D, deviceStatusCapability as E, PeerBytesTicketSchema as F, BoundingBoxSchema as M, FrameInputSchema as N, AudioChunkInputSchema as O, ClipModelMetaSchema as P, CameraSensorsConfigSchema as S, DeviceStatusSchema as T, PipelineStepInputSchema as _, RunnerLocalLoadSchema as a, CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS as b, NodeBenchmarkCandidatesSchema as c, NodeBenchmarkResultViewSchema as d, NodeBenchmarkStatusSchema as f, PipelineRunResultBridge as g, CameraMetricsSchema as h, motionCapability as i, AudioLevelSchema as j, AudioClassificationLabelSchema as k, NodeBenchmarkPlanSchema as l, zonesCapability as m, MOTION_CLOSE_AFTER_MS as n, pipelineRunnerCapability as o, NodeDecodeProfileSchema as p, MotionStatusSchema as r, ListNodeBenchmarkResultsInputSchema as s, streamCatalogCapability as t, NodeBenchmarkPreflightSchema as u, RetrainExportLayoutSchema as v, featureProbeCapability as w, motionDetectionCapability as x, pipelineAnalyticsCapability as y };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_capability_definition = require("./capability-definition-
|
|
1
|
+
const require_capability_definition = require("./capability-definition-BRoGprGl.js");
|
|
2
2
|
const require_system_reasons = require("./system-reasons-Be_k1W8g.js");
|
|
3
3
|
const require_device_type = require("./device-type-CbQsnFdC.js");
|
|
4
4
|
const require_device_kind = require("./device-kind-CsSiv_YF.js");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as method } from "./capability-definition-
|
|
1
|
+
import { c as method } from "./capability-definition-DLD3HR3U.mjs";
|
|
2
2
|
import { t as NOT_A_DEVICE } from "./system-reasons-CYj4qwyS.mjs";
|
|
3
3
|
import { r as DeviceType } from "./device-type-DgEvK3ch.mjs";
|
|
4
4
|
import { t as canonicalStoredDeviceType } from "./device-kind-BJ2pfsjw.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as method } from "./capability-definition-
|
|
1
|
+
import { c as method } from "./capability-definition-DLD3HR3U.mjs";
|
|
2
2
|
import { t as NOT_A_DEVICE } from "./system-reasons-CYj4qwyS.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region ../types/dist/esm/capabilities/vector-store.cap.mjs
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_capability_definition = require("./capability-definition-
|
|
1
|
+
const require_capability_definition = require("./capability-definition-BRoGprGl.js");
|
|
2
2
|
const require_system_reasons = require("./system-reasons-Be_k1W8g.js");
|
|
3
3
|
let zod = require("zod");
|
|
4
4
|
//#region ../types/dist/esm/capabilities/vector-store.cap.mjs
|
|
Binary file
|
|
Binary file
|