@camstack/addon-pipeline 1.2.621 → 1.2.622
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-Il8UY4D4.js → custom-model-catalog-CKCK-QcT.js} +7 -7
- package/dist/{custom-model-catalog-0_SnSXzN.mjs → custom-model-catalog-wpMi2U7e.mjs} +7 -7
- package/dist/detection-pipeline/index.js +55 -414
- package/dist/detection-pipeline/index.mjs +79 -438
- package/dist/{dist-DHqkQhTQ.mjs → dist-BF60SjmI.mjs} +76 -226
- package/dist/{dist-ClkumZgv.js → dist-DUFGDd_2.js} +75 -231
- package/dist/{model-catalogs-BagalaYp.js → model-catalogs-CjTm_0O-.js} +1 -1
- package/dist/{model-catalogs-Z1GZAhSb.mjs → model-catalogs-CqFDhb0B.mjs} +1 -1
- package/dist/motion-wasm/index.js +1 -1
- package/dist/motion-wasm/index.mjs +1 -1
- package/dist/{node-CkJLxlWI.mjs → node-DkphOOM2.mjs} +1 -1
- package/dist/{node-0O_61WVW.js → node-DzGVn7bD.js} +1 -1
- package/dist/pipeline-runner/index.js +18 -4
- package/dist/pipeline-runner/index.mjs +18 -4
- package/dist/{process-memory-DdIOhjYB.js → process-memory-8kKexHYR.js} +1 -1
- package/dist/{process-memory-Dj3UgL1e.mjs → process-memory-CBzfdSvC.mjs} +1 -1
- package/dist/recorder/index.js +2 -2
- package/dist/recorder/index.mjs +2 -2
- package/dist/{segment-demux-js-Bv0t0-tQ.mjs → segment-demux-js-DQNoNSJt.mjs} +1 -1
- package/dist/{segment-demux-js-BePzacki.js → segment-demux-js-DRLQb1pc.js} +1 -1
- package/dist/session-decode/decode-worker-main.js +12 -21
- package/dist/session-decode/decode-worker-main.mjs +12 -21
- package/dist/stream-broker/_stub.js +2 -2
- package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-dNk74ahz.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-BmANAxAe.mjs} +2 -2
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-H6RKsaiZ.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-CNoWeZHH.mjs +26 -0
- 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-CH5g78CJ.mjs → hostInit-B3hXAfr1.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/dist/{worker-protocol-D_NzPcnh.mjs → worker-protocol-DngGEAT2.js} +102 -2
- package/dist/{worker-protocol-C-G8qmye.js → worker-protocol-_avq7y8O.mjs} +67 -25
- package/package.json +1 -1
- package/python/coreml_load_probe.py +105 -15
- package/python/openvino_compile_probe.py +72 -18
- package/python/test_coreml_load_probe.py +83 -0
- package/python/test_openvino_compile_probe.py +114 -0
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-2KkGoQ55.mjs +0 -26
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-Dx-WrMx0.mjs +0 -26
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
let node_crypto = require("node:crypto");
|
|
2
|
-
//#region ../types/dist/event-category-
|
|
2
|
+
//#region ../types/dist/event-category-fDPduoeC.mjs
|
|
3
3
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4
4
|
EventCategory["SystemBoot"] = "system.boot";
|
|
5
5
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -326,9 +326,8 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
326
326
|
EventCategory["PipelineMotionCalm"] = "pipeline.motion-calm";
|
|
327
327
|
/**
|
|
328
328
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
329
|
-
* (
|
|
330
|
-
* `setCameraStepToggle` / `
|
|
331
|
-
* pipeline-scoped `applyDeviceSettingsPatch`). Orchestrator
|
|
329
|
+
* (a settings change via `setAgentInferenceDevices` /
|
|
330
|
+
* `setCameraStepToggle` / `setCameraStepSettings`). Orchestrator
|
|
332
331
|
* subscribes to its own emission to hot-reload the assigned runner
|
|
333
332
|
* via `attachCamera` so the next frame executes against the new
|
|
334
333
|
* engine/steps without waiting for a rebalance or the next
|
|
@@ -5564,7 +5563,7 @@ var ZodIssueCode = {
|
|
|
5564
5563
|
var ZodFirstPartyTypeKind;
|
|
5565
5564
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5566
5565
|
//#endregion
|
|
5567
|
-
//#region ../types/dist/sleep-
|
|
5566
|
+
//#region ../types/dist/sleep-CHIEEJkY.mjs
|
|
5568
5567
|
/**
|
|
5569
5568
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5570
5569
|
* window to float samples (D455).
|
|
@@ -12326,13 +12325,22 @@ var BirthDecisionRecordSchema = object({
|
|
|
12326
12325
|
decidedByBirthEvidence: boolean(),
|
|
12327
12326
|
/** Best class-compatible crop score, or `null` when nothing compatible was
|
|
12328
12327
|
* found — deliberately not 0, which would be a measurement that never was.
|
|
12329
|
-
* Includes a box the detector's own per-class floor refused (
|
|
12330
|
-
*
|
|
12331
|
-
* score the crop really held. */
|
|
12328
|
+
* Includes a box the detector's own per-class floor refused (D922): since
|
|
12329
|
+
* D925 the gate's bar, not that floor, decides whether it confirms. */
|
|
12332
12330
|
bestScore: number().nullable(),
|
|
12333
12331
|
/** The bar this candidate actually faced (the phantom-cell hook may raise it). */
|
|
12334
12332
|
appliedMinConfidence: number().nullable(),
|
|
12335
12333
|
/**
|
|
12334
|
+
* The detector the gate re-judged the birth WITH (D925): the session's own
|
|
12335
|
+
* root model, inference-device pool and node — never a node default. `null`
|
|
12336
|
+
* when the frame named no session detector or no gate ran, and on rows
|
|
12337
|
+
* written before D925. A `session-device-unavailable` row names the session
|
|
12338
|
+
* detector that could not be reached.
|
|
12339
|
+
*/
|
|
12340
|
+
detectorModelId: string().nullable().default(null),
|
|
12341
|
+
detectorDeviceKey: string().nullable().default(null),
|
|
12342
|
+
detectorNodeId: string().nullable().default(null),
|
|
12343
|
+
/**
|
|
12336
12344
|
* The track's own `firstSeen` — the candidate's first frame, which is where
|
|
12337
12345
|
* the timeline starts. `null` for a suppressed birth, which has no track.
|
|
12338
12346
|
*/
|
|
@@ -51140,7 +51148,6 @@ var PipelineAddonSchemaSchema = object({
|
|
|
51140
51148
|
defaultModelId: string(),
|
|
51141
51149
|
defaultModelIdByFormat: record(string(), string()).optional(),
|
|
51142
51150
|
enabledByDefault: boolean().optional(),
|
|
51143
|
-
backfillIntoExistingOverrides: boolean().optional(),
|
|
51144
51151
|
defaultConfidence: number(),
|
|
51145
51152
|
group: string().optional(),
|
|
51146
51153
|
configSchema: array(ConfigFieldBridge).readonly().optional()
|
|
@@ -51267,7 +51274,6 @@ var AudioTestResultSchema = object({
|
|
|
51267
51274
|
error: string().optional(),
|
|
51268
51275
|
frame: custom().optional()
|
|
51269
51276
|
});
|
|
51270
|
-
var PipelineConfigBridge = custom();
|
|
51271
51277
|
var ConfigUISchemaBridge = custom();
|
|
51272
51278
|
var ConfigUISchemaNullableBridge = custom();
|
|
51273
51279
|
var InferenceCapabilitiesBridge = custom();
|
|
@@ -51292,7 +51298,6 @@ var pipelineExecutorCapability = {
|
|
|
51292
51298
|
methods: {
|
|
51293
51299
|
getAvailableEngines: method(_void(), array(PipelineEngineChoiceSchema)),
|
|
51294
51300
|
getSelectedEngine: method(_void(), PipelineEngineChoiceSchema),
|
|
51295
|
-
getDefaultSteps: method(PipelineEngineChoiceSchema, array(PipelineDefaultStepSchema)),
|
|
51296
51301
|
/**
|
|
51297
51302
|
* Per-node detection-engine provisioning snapshot. Returns the live
|
|
51298
51303
|
* state of the lazy runtime-provisioning machine on `nodeId`
|
|
@@ -51314,54 +51319,6 @@ var pipelineExecutorCapability = {
|
|
|
51314
51319
|
auth: "admin"
|
|
51315
51320
|
}),
|
|
51316
51321
|
/**
|
|
51317
|
-
* Clear THIS node's executor-side PER-DEVICE settings stores (the
|
|
51318
|
-
* per-camera step overrides the object-detection root reads via
|
|
51319
|
-
* `applyDeviceOverridesToTree`). `nodeId` is the ROUTING key — the
|
|
51320
|
-
* generated cap-router strips it (default `nodeIdMode: 'routing'`) and
|
|
51321
|
-
* dispatches to that node, so the provider method runs ON the target
|
|
51322
|
-
* node and receives no `nodeId`.
|
|
51323
|
-
*
|
|
51324
|
-
* This is the slimmed executor leg of the orchestrator's
|
|
51325
|
-
* `resetNodePipelineDefaults` flow (which owns the real reset: node
|
|
51326
|
-
* addonDefaults pins + per-camera orchestrator overrides). The legacy
|
|
51327
|
-
* `resetToDefault` — which reset a persisted global step-tree seed
|
|
51328
|
-
* nothing in the live per-camera path read — was removed together with
|
|
51329
|
-
* that seed.
|
|
51330
|
-
*/
|
|
51331
|
-
clearDeviceOverrides: method(object({ nodeId: string() }), object({
|
|
51332
|
-
success: literal(true),
|
|
51333
|
-
clearedDevices: number()
|
|
51334
|
-
}), {
|
|
51335
|
-
kind: "mutation",
|
|
51336
|
-
auth: "admin"
|
|
51337
|
-
}),
|
|
51338
|
-
/**
|
|
51339
|
-
* Auto tune (D745): the MODEL-BOUND thresholds (`bindsToModel` keys of
|
|
51340
|
-
* the object-detection root, and their binding keys) stored in THIS node's
|
|
51341
|
-
* per-camera detector settings — and, unless `dryRun`, remove them so the
|
|
51342
|
-
* running model's own defaults apply. Every other key of a camera's store
|
|
51343
|
-
* is kept. `nodeId` is the ROUTING key. `deviceIds` absent ⇒ every camera
|
|
51344
|
-
* with a store. A camera whose store could not be read is `refused`, never
|
|
51345
|
-
* reported as clean.
|
|
51346
|
-
*/
|
|
51347
|
-
clearModelBoundDeviceOverrides: method(object({
|
|
51348
|
-
nodeId: string(),
|
|
51349
|
-
deviceIds: array(number()).readonly().optional(),
|
|
51350
|
-
dryRun: boolean()
|
|
51351
|
-
}), object({
|
|
51352
|
-
entries: array(object({
|
|
51353
|
-
deviceId: number(),
|
|
51354
|
-
keys: array(string()).readonly()
|
|
51355
|
-
})).readonly(),
|
|
51356
|
-
refused: array(object({
|
|
51357
|
-
deviceId: number(),
|
|
51358
|
-
reason: string()
|
|
51359
|
-
})).readonly()
|
|
51360
|
-
}), {
|
|
51361
|
-
kind: "mutation",
|
|
51362
|
-
auth: "admin"
|
|
51363
|
-
}),
|
|
51364
|
-
/**
|
|
51365
51322
|
* Which of THIS node's inference devices the executor currently refuses,
|
|
51366
51323
|
* and why. `nodeId` is the ROUTING key (stripped by the generated router).
|
|
51367
51324
|
*
|
|
@@ -51416,8 +51373,6 @@ var pipelineExecutorCapability = {
|
|
|
51416
51373
|
auth: "admin"
|
|
51417
51374
|
}),
|
|
51418
51375
|
getSchema: method(_void(), PipelineSchemaSchema),
|
|
51419
|
-
getGlobalSteps: method(_void(), array(PipelineDefaultStepSchema).readonly().nullable()),
|
|
51420
|
-
getGlobalPipelineConfig: method(_void(), PipelineConfigBridge),
|
|
51421
51376
|
getOrchestratorConfigSchema: method(_void(), ConfigUISchemaBridge),
|
|
51422
51377
|
/**
|
|
51423
51378
|
* Gate B (pre-init config-correctness gate). PURE COMPUTE against this
|
|
@@ -51827,40 +51782,20 @@ var NodeDeviceChangeSchema = object({
|
|
|
51827
51782
|
keys: array(string()).readonly()
|
|
51828
51783
|
})).readonly()
|
|
51829
51784
|
});
|
|
51830
|
-
|
|
51831
|
-
|
|
51832
|
-
|
|
51785
|
+
/**
|
|
51786
|
+
* Every model and model-bound threshold lives on the accelerator that runs it
|
|
51787
|
+
* (D927), so the plan writes node / device entries only — there is no camera
|
|
51788
|
+
* layer for it to clear.
|
|
51789
|
+
*/
|
|
51790
|
+
var AutoTuneWarningSchema = discriminatedUnion("kind", [object({
|
|
51791
|
+
kind: literal("custom-pin-kept"),
|
|
51833
51792
|
nodeId: string(),
|
|
51834
|
-
deviceKey: string()
|
|
51835
|
-
|
|
51836
|
-
|
|
51837
|
-
|
|
51838
|
-
|
|
51839
|
-
|
|
51840
|
-
deviceId: number(),
|
|
51841
|
-
keys: array(string()).readonly()
|
|
51842
|
-
});
|
|
51843
|
-
var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
51844
|
-
object({
|
|
51845
|
-
kind: literal("detector-store-cluster-wide"),
|
|
51846
|
-
skippedNodes: array(string()).readonly()
|
|
51847
|
-
}),
|
|
51848
|
-
object({
|
|
51849
|
-
kind: literal("detector-store-unreadable"),
|
|
51850
|
-
error: string()
|
|
51851
|
-
}),
|
|
51852
|
-
object({
|
|
51853
|
-
kind: literal("custom-pin-kept"),
|
|
51854
|
-
nodeId: string(),
|
|
51855
|
-
deviceKey: string().nullable(),
|
|
51856
|
-
deviceId: number().nullable(),
|
|
51857
|
-
modelId: string()
|
|
51858
|
-
}),
|
|
51859
|
-
object({
|
|
51860
|
-
kind: literal("custom-registry-unreadable"),
|
|
51861
|
-
error: string()
|
|
51862
|
-
})
|
|
51863
|
-
]);
|
|
51793
|
+
deviceKey: string(),
|
|
51794
|
+
modelId: string()
|
|
51795
|
+
}), object({
|
|
51796
|
+
kind: literal("custom-registry-unreadable"),
|
|
51797
|
+
error: string()
|
|
51798
|
+
})]);
|
|
51864
51799
|
var AutoTuneOptionsSchema = object({
|
|
51865
51800
|
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
51866
51801
|
headroom: number().min(.3).max(.5).default(.4),
|
|
@@ -51882,8 +51817,6 @@ var AutoTunePlanSchema = object({
|
|
|
51882
51817
|
generatedAt: number(),
|
|
51883
51818
|
nodes: array(NodeRecommendationSchema).readonly(),
|
|
51884
51819
|
nodeChanges: array(NodeDeviceChangeSchema).readonly(),
|
|
51885
|
-
cameraClears: array(CameraOverrideClearSchema).readonly(),
|
|
51886
|
-
detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
|
|
51887
51820
|
warnings: array(AutoTuneWarningSchema).readonly()
|
|
51888
51821
|
});
|
|
51889
51822
|
var AutoTuneApplyInputSchema = object({
|
|
@@ -51894,8 +51827,6 @@ var AutoTuneApplyInputSchema = object({
|
|
|
51894
51827
|
var AutoTunePhaseResultSchema = object({
|
|
51895
51828
|
phase: _enum([
|
|
51896
51829
|
"download",
|
|
51897
|
-
"camera-overrides",
|
|
51898
|
-
"detector-thresholds",
|
|
51899
51830
|
"node-models",
|
|
51900
51831
|
"redispatch"
|
|
51901
51832
|
]),
|
|
@@ -53812,6 +53743,12 @@ var AgentPipelineSettingsSchema = object({
|
|
|
53812
53743
|
/** Hub-persisted UI colour (`--color-node-*` theme tokens). */
|
|
53813
53744
|
color: NodeColorIdSchema.optional(),
|
|
53814
53745
|
/**
|
|
53746
|
+
* NODE-wide step settings (D927): `stepId → { key → value }`, applied on
|
|
53747
|
+
* every accelerator of the node under the device's own settings. Never a
|
|
53748
|
+
* model or a model-bound threshold. Written by `setNodeStepSettings`.
|
|
53749
|
+
*/
|
|
53750
|
+
stepSettings: record(string(), record(string(), unknown()).readonly()).optional(),
|
|
53751
|
+
/**
|
|
53815
53752
|
* Multi-device inference opt-in (Phase 4). Per-node map deviceKey → {enabled,
|
|
53816
53753
|
* weight, steps}. Absent / all-disabled ⇒ the node's single default
|
|
53817
53754
|
* accelerator (safe default); two+ enabled ⇒ the dispatcher balances
|
|
@@ -53827,17 +53764,6 @@ var AgentPipelineSettingsSchema = object({
|
|
|
53827
53764
|
steps: record(string(), DeviceStepConfigSchema).optional()
|
|
53828
53765
|
})).optional()
|
|
53829
53766
|
});
|
|
53830
|
-
var CameraPipelineForAgentSchema = object({
|
|
53831
|
-
steps: array(PipelineStepInputSchema).readonly(),
|
|
53832
|
-
audio: object({
|
|
53833
|
-
modelId: string(),
|
|
53834
|
-
enabled: boolean()
|
|
53835
|
-
}).nullable()
|
|
53836
|
-
});
|
|
53837
|
-
var CameraStepOverridePatchSchema = object({
|
|
53838
|
-
modelId: string().optional(),
|
|
53839
|
-
settings: record(string(), unknown()).readonly().optional()
|
|
53840
|
-
});
|
|
53841
53767
|
var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
|
|
53842
53768
|
/** The three root-detector choices a camera has (D507: at most one root). */
|
|
53843
53769
|
var CameraDetectionSourceSchema = _enum([
|
|
@@ -53847,9 +53773,7 @@ var CameraDetectionSourceSchema = _enum([
|
|
|
53847
53773
|
]);
|
|
53848
53774
|
var CameraPipelineSettingsSchema = object({
|
|
53849
53775
|
stepToggles: record(string(), boolean()).optional(),
|
|
53850
|
-
stepSettings: CameraStepSettingsSchema.optional()
|
|
53851
|
-
stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
|
|
53852
|
-
pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
|
|
53776
|
+
stepSettings: CameraStepSettingsSchema.optional()
|
|
53853
53777
|
});
|
|
53854
53778
|
/**
|
|
53855
53779
|
* Pipeline placement record persisted by `addon-pipeline-orchestrator` via
|
|
@@ -54395,6 +54319,13 @@ method(object({
|
|
|
54395
54319
|
}), object({ success: literal(true) }), {
|
|
54396
54320
|
kind: "mutation",
|
|
54397
54321
|
auth: "admin"
|
|
54322
|
+
}), method(object({
|
|
54323
|
+
agentNodeId: string(),
|
|
54324
|
+
addonId: string(),
|
|
54325
|
+
settings: record(string(), unknown()).nullable()
|
|
54326
|
+
}), object({ success: literal(true) }), {
|
|
54327
|
+
kind: "mutation",
|
|
54328
|
+
auth: "admin"
|
|
54398
54329
|
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
54399
54330
|
agentNodeId: string(),
|
|
54400
54331
|
deviceKey: string()
|
|
@@ -54404,9 +54335,7 @@ method(object({
|
|
|
54404
54335
|
}), method(object({ agentNodeId: string() }), object({
|
|
54405
54336
|
success: literal(true),
|
|
54406
54337
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
54407
|
-
effectiveModelId: string().nullable()
|
|
54408
|
-
/** Number of cameras whose node-scoped overrides were cleared. */
|
|
54409
|
-
clearedCameraOverrides: number()
|
|
54338
|
+
effectiveModelId: string().nullable()
|
|
54410
54339
|
}), {
|
|
54411
54340
|
kind: "mutation",
|
|
54412
54341
|
auth: "admin"
|
|
@@ -54461,15 +54390,6 @@ method(object({
|
|
|
54461
54390
|
}), object({ success: literal(true) }), {
|
|
54462
54391
|
kind: "mutation",
|
|
54463
54392
|
auth: "admin"
|
|
54464
|
-
}), method(object({ deviceId: number() }), record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).nullable()), method(object({
|
|
54465
|
-
deviceId: number(),
|
|
54466
|
-
agentNodeId: string(),
|
|
54467
|
-
deviceKey: string(),
|
|
54468
|
-
addonId: string(),
|
|
54469
|
-
patch: CameraStepOverridePatchSchema.nullable()
|
|
54470
|
-
}), object({ success: literal(true) }), {
|
|
54471
|
-
kind: "mutation",
|
|
54472
|
-
auth: "admin"
|
|
54473
54393
|
}), method(object({
|
|
54474
54394
|
deviceId: number(),
|
|
54475
54395
|
addonId: string(),
|
|
@@ -54477,13 +54397,6 @@ method(object({
|
|
|
54477
54397
|
}), object({ success: literal(true) }), {
|
|
54478
54398
|
kind: "mutation",
|
|
54479
54399
|
auth: "admin"
|
|
54480
|
-
}), method(object({
|
|
54481
|
-
deviceId: number(),
|
|
54482
|
-
agentNodeId: string(),
|
|
54483
|
-
pipeline: CameraPipelineForAgentSchema.nullable()
|
|
54484
|
-
}), object({ success: literal(true) }), {
|
|
54485
|
-
kind: "mutation",
|
|
54486
|
-
auth: "admin"
|
|
54487
54400
|
}), method(object({
|
|
54488
54401
|
deviceId: number(),
|
|
54489
54402
|
agentNodeId: string().optional()
|
|
@@ -67388,7 +67301,7 @@ method(object({}), array(TrainingProviderDescriptorSchema).readonly(), { auth: "
|
|
|
67388
67301
|
* - **Jobs.** A persisted state machine, a reconcile loop against the
|
|
67389
67302
|
* provider, a cost guard, a daily orphan sweep and the retention rules.
|
|
67390
67303
|
* - **The return flow.** Verified artefacts → Model Studio
|
|
67391
|
-
* (`custom-model-registry.importModelBundle`) → canary on
|
|
67304
|
+
* (`custom-model-registry.importModelBundle`) → canary on accelerators →
|
|
67392
67305
|
* rollback. Nothing is ever registered automatically.
|
|
67393
67306
|
*
|
|
67394
67307
|
* Plan/start takes a live {@link TrainingCorpusSelection} (collections +
|
|
@@ -67525,20 +67438,24 @@ var TrainingProgressPointSchema = object({
|
|
|
67525
67438
|
map50: number().nullable(),
|
|
67526
67439
|
map50_95: number().nullable()
|
|
67527
67440
|
});
|
|
67441
|
+
/** One accelerator: a `(node, inference device)` that runs the root detector. */
|
|
67442
|
+
var TrainingAcceleratorRefSchema = object({
|
|
67443
|
+
nodeId: string(),
|
|
67444
|
+
deviceKey: string()
|
|
67445
|
+
});
|
|
67446
|
+
/**
|
|
67447
|
+
* A canary pins the registered model on chosen ACCELERATORS — a model is
|
|
67448
|
+
* chosen by the accelerator that runs it (D927); every camera balanced onto
|
|
67449
|
+
* one runs it. `previous` is the root-detector pin each one had (`null` = it
|
|
67450
|
+
* ran its default), exactly, so rollback restores it.
|
|
67451
|
+
*/
|
|
67528
67452
|
var TrainingCanarySchema = object({
|
|
67529
|
-
|
|
67453
|
+
accelerators: array(TrainingAcceleratorRefSchema).readonly(),
|
|
67530
67454
|
since: number(),
|
|
67531
|
-
|
|
67532
|
-
previous: array(object({
|
|
67533
|
-
deviceId: number().int(),
|
|
67534
|
-
nodeId: string(),
|
|
67535
|
-
deviceKey: string(),
|
|
67536
|
-
patch: object({
|
|
67537
|
-
modelId: string().optional(),
|
|
67538
|
-
settings: record(string(), unknown()).readonly().optional()
|
|
67539
|
-
}).nullable()
|
|
67540
|
-
})).readonly()
|
|
67455
|
+
previous: array(TrainingAcceleratorRefSchema.extend({ modelId: string().nullable() })).readonly()
|
|
67541
67456
|
});
|
|
67457
|
+
/** An accelerator a canary may pin: it runs the root detector, on this model now. */
|
|
67458
|
+
var TrainingCanaryTargetSchema = TrainingAcceleratorRefSchema.extend({ pinnedModelId: string().nullable() });
|
|
67542
67459
|
var TrainingJobSchema = object({
|
|
67543
67460
|
id: string(),
|
|
67544
67461
|
idempotencyKey: string(),
|
|
@@ -67650,11 +67567,11 @@ method(object({}), array(TrainingBaseModelSchema).readonly(), { auth: "admin" })
|
|
|
67650
67567
|
kind: "mutation",
|
|
67651
67568
|
auth: "admin",
|
|
67652
67569
|
timeoutMs: 12e4
|
|
67653
|
-
}), method(IdInput, TrainingResultSchema.nullable(), { auth: "admin" }), method(IdInput.extend({
|
|
67570
|
+
}), method(IdInput, TrainingResultSchema.nullable(), { auth: "admin" }), method(_void(), array(TrainingCanaryTargetSchema).readonly(), { auth: "admin" }), method(IdInput.extend({ canaryAccelerators: array(TrainingAcceleratorRefSchema).readonly() }), TrainingJobSchema, {
|
|
67654
67571
|
kind: "mutation",
|
|
67655
67572
|
auth: "admin",
|
|
67656
67573
|
timeoutMs: 30 * 6e4
|
|
67657
|
-
}), method(IdInput.extend({
|
|
67574
|
+
}), method(IdInput.extend({ accelerators: array(TrainingAcceleratorRefSchema).min(1).readonly() }), TrainingJobSchema, {
|
|
67658
67575
|
kind: "mutation",
|
|
67659
67576
|
auth: "admin",
|
|
67660
67577
|
timeoutMs: 12e4
|
|
@@ -73643,20 +73560,6 @@ Object.freeze({
|
|
|
73643
73560
|
access: "create",
|
|
73644
73561
|
role: "admin"
|
|
73645
73562
|
},
|
|
73646
|
-
"pipelineExecutor.clearDeviceOverrides": {
|
|
73647
|
-
capName: "pipeline-executor",
|
|
73648
|
-
capScope: "system",
|
|
73649
|
-
addonId: null,
|
|
73650
|
-
access: "delete",
|
|
73651
|
-
role: "admin"
|
|
73652
|
-
},
|
|
73653
|
-
"pipelineExecutor.clearModelBoundDeviceOverrides": {
|
|
73654
|
-
capName: "pipeline-executor",
|
|
73655
|
-
capScope: "system",
|
|
73656
|
-
addonId: null,
|
|
73657
|
-
access: "delete",
|
|
73658
|
-
role: "admin"
|
|
73659
|
-
},
|
|
73660
73563
|
"pipelineExecutor.deleteModel": {
|
|
73661
73564
|
capName: "pipeline-executor",
|
|
73662
73565
|
capScope: "system",
|
|
@@ -73699,13 +73602,6 @@ Object.freeze({
|
|
|
73699
73602
|
access: "view",
|
|
73700
73603
|
role: "admin"
|
|
73701
73604
|
},
|
|
73702
|
-
"pipelineExecutor.getDefaultSteps": {
|
|
73703
|
-
capName: "pipeline-executor",
|
|
73704
|
-
capScope: "system",
|
|
73705
|
-
addonId: null,
|
|
73706
|
-
access: "view",
|
|
73707
|
-
role: "admin"
|
|
73708
|
-
},
|
|
73709
73605
|
"pipelineExecutor.getDetectionConfigSchema": {
|
|
73710
73606
|
capName: "pipeline-executor",
|
|
73711
73607
|
capScope: "system",
|
|
@@ -73727,20 +73623,6 @@ Object.freeze({
|
|
|
73727
73623
|
access: "view",
|
|
73728
73624
|
role: "admin"
|
|
73729
73625
|
},
|
|
73730
|
-
"pipelineExecutor.getGlobalPipelineConfig": {
|
|
73731
|
-
capName: "pipeline-executor",
|
|
73732
|
-
capScope: "system",
|
|
73733
|
-
addonId: null,
|
|
73734
|
-
access: "view",
|
|
73735
|
-
role: "admin"
|
|
73736
|
-
},
|
|
73737
|
-
"pipelineExecutor.getGlobalSteps": {
|
|
73738
|
-
capName: "pipeline-executor",
|
|
73739
|
-
capScope: "system",
|
|
73740
|
-
addonId: null,
|
|
73741
|
-
access: "view",
|
|
73742
|
-
role: "admin"
|
|
73743
|
-
},
|
|
73744
73626
|
"pipelineExecutor.getInferenceDeviceHealth": {
|
|
73745
73627
|
capName: "pipeline-executor",
|
|
73746
73628
|
capScope: "system",
|
|
@@ -74000,13 +73882,6 @@ Object.freeze({
|
|
|
74000
73882
|
access: "view",
|
|
74001
73883
|
role: "admin"
|
|
74002
73884
|
},
|
|
74003
|
-
"pipelineOrchestrator.getCameraStepOverrides": {
|
|
74004
|
-
capName: "pipeline-orchestrator",
|
|
74005
|
-
capScope: "system",
|
|
74006
|
-
addonId: null,
|
|
74007
|
-
access: "view",
|
|
74008
|
-
role: "admin"
|
|
74009
|
-
},
|
|
74010
73885
|
"pipelineOrchestrator.getCameraSwitches": {
|
|
74011
73886
|
capName: "pipeline-orchestrator",
|
|
74012
73887
|
capScope: "system",
|
|
@@ -74245,13 +74120,6 @@ Object.freeze({
|
|
|
74245
74120
|
access: "create",
|
|
74246
74121
|
role: "admin"
|
|
74247
74122
|
},
|
|
74248
|
-
"pipelineOrchestrator.setCameraPipelineForAgent": {
|
|
74249
|
-
capName: "pipeline-orchestrator",
|
|
74250
|
-
capScope: "system",
|
|
74251
|
-
addonId: null,
|
|
74252
|
-
access: "create",
|
|
74253
|
-
role: "admin"
|
|
74254
|
-
},
|
|
74255
74123
|
"pipelineOrchestrator.setCameraSensors": {
|
|
74256
74124
|
capName: "pipeline-orchestrator",
|
|
74257
74125
|
capScope: "system",
|
|
@@ -74259,42 +74127,42 @@ Object.freeze({
|
|
|
74259
74127
|
access: "create",
|
|
74260
74128
|
role: "admin"
|
|
74261
74129
|
},
|
|
74262
|
-
"pipelineOrchestrator.
|
|
74130
|
+
"pipelineOrchestrator.setCameraStepSettings": {
|
|
74263
74131
|
capName: "pipeline-orchestrator",
|
|
74264
74132
|
capScope: "system",
|
|
74265
74133
|
addonId: null,
|
|
74266
74134
|
access: "create",
|
|
74267
74135
|
role: "admin"
|
|
74268
74136
|
},
|
|
74269
|
-
"pipelineOrchestrator.
|
|
74137
|
+
"pipelineOrchestrator.setCameraStepToggle": {
|
|
74270
74138
|
capName: "pipeline-orchestrator",
|
|
74271
74139
|
capScope: "system",
|
|
74272
74140
|
addonId: null,
|
|
74273
74141
|
access: "create",
|
|
74274
74142
|
role: "admin"
|
|
74275
74143
|
},
|
|
74276
|
-
"pipelineOrchestrator.
|
|
74144
|
+
"pipelineOrchestrator.setCameraSwitch": {
|
|
74277
74145
|
capName: "pipeline-orchestrator",
|
|
74278
74146
|
capScope: "system",
|
|
74279
74147
|
addonId: null,
|
|
74280
74148
|
access: "create",
|
|
74281
74149
|
role: "admin"
|
|
74282
74150
|
},
|
|
74283
|
-
"pipelineOrchestrator.
|
|
74151
|
+
"pipelineOrchestrator.setCapabilityBinding": {
|
|
74284
74152
|
capName: "pipeline-orchestrator",
|
|
74285
74153
|
capScope: "system",
|
|
74286
74154
|
addonId: null,
|
|
74287
74155
|
access: "create",
|
|
74288
74156
|
role: "admin"
|
|
74289
74157
|
},
|
|
74290
|
-
"pipelineOrchestrator.
|
|
74158
|
+
"pipelineOrchestrator.setLoadBalancingShares": {
|
|
74291
74159
|
capName: "pipeline-orchestrator",
|
|
74292
74160
|
capScope: "system",
|
|
74293
74161
|
addonId: null,
|
|
74294
74162
|
access: "create",
|
|
74295
74163
|
role: "admin"
|
|
74296
74164
|
},
|
|
74297
|
-
"pipelineOrchestrator.
|
|
74165
|
+
"pipelineOrchestrator.setNodeStepSettings": {
|
|
74298
74166
|
capName: "pipeline-orchestrator",
|
|
74299
74167
|
capScope: "system",
|
|
74300
74168
|
addonId: null,
|
|
@@ -76653,6 +76521,13 @@ Object.freeze({
|
|
|
76653
76521
|
access: "view",
|
|
76654
76522
|
role: "admin"
|
|
76655
76523
|
},
|
|
76524
|
+
"training.listCanaryTargets": {
|
|
76525
|
+
capName: "training",
|
|
76526
|
+
capScope: "system",
|
|
76527
|
+
addonId: null,
|
|
76528
|
+
access: "view",
|
|
76529
|
+
role: "admin"
|
|
76530
|
+
},
|
|
76656
76531
|
"training.listJobs": {
|
|
76657
76532
|
capName: "training",
|
|
76658
76533
|
capScope: "system",
|
|
@@ -83039,11 +82914,6 @@ Object.freeze({
|
|
|
83039
82914
|
form: "single",
|
|
83040
82915
|
optional: false
|
|
83041
82916
|
}],
|
|
83042
|
-
"pipelineExecutor.clearModelBoundDeviceOverrides": [{
|
|
83043
|
-
name: "deviceIds",
|
|
83044
|
-
form: "array",
|
|
83045
|
-
optional: true
|
|
83046
|
-
}],
|
|
83047
82917
|
"pipelineExecutor.runPipeline": [{
|
|
83048
82918
|
name: "deviceId",
|
|
83049
82919
|
form: "single",
|
|
@@ -83099,11 +82969,6 @@ Object.freeze({
|
|
|
83099
82969
|
form: "array",
|
|
83100
82970
|
optional: true
|
|
83101
82971
|
}],
|
|
83102
|
-
"pipelineOrchestrator.getCameraStepOverrides": [{
|
|
83103
|
-
name: "deviceId",
|
|
83104
|
-
form: "single",
|
|
83105
|
-
optional: false
|
|
83106
|
-
}],
|
|
83107
82972
|
"pipelineOrchestrator.getCameraSwitches": [{
|
|
83108
82973
|
name: "deviceId",
|
|
83109
82974
|
form: "single",
|
|
@@ -83144,21 +83009,11 @@ Object.freeze({
|
|
|
83144
83009
|
form: "single",
|
|
83145
83010
|
optional: false
|
|
83146
83011
|
}],
|
|
83147
|
-
"pipelineOrchestrator.setCameraPipelineForAgent": [{
|
|
83148
|
-
name: "deviceId",
|
|
83149
|
-
form: "single",
|
|
83150
|
-
optional: false
|
|
83151
|
-
}],
|
|
83152
83012
|
"pipelineOrchestrator.setCameraSensors": [{
|
|
83153
83013
|
name: "deviceId",
|
|
83154
83014
|
form: "single",
|
|
83155
83015
|
optional: false
|
|
83156
83016
|
}],
|
|
83157
|
-
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
83158
|
-
name: "deviceId",
|
|
83159
|
-
form: "single",
|
|
83160
|
-
optional: false
|
|
83161
|
-
}],
|
|
83162
83017
|
"pipelineOrchestrator.setCameraStepSettings": [{
|
|
83163
83018
|
name: "deviceId",
|
|
83164
83019
|
form: "single",
|
|
@@ -83836,11 +83691,6 @@ Object.freeze({
|
|
|
83836
83691
|
form: "single",
|
|
83837
83692
|
optional: false
|
|
83838
83693
|
}],
|
|
83839
|
-
"training.canaryResult": [{
|
|
83840
|
-
name: "deviceIds",
|
|
83841
|
-
form: "array",
|
|
83842
|
-
optional: false
|
|
83843
|
-
}],
|
|
83844
83694
|
"update.getStatus": [{
|
|
83845
83695
|
name: "deviceId",
|
|
83846
83696
|
form: "single",
|
|
@@ -87474,12 +87324,6 @@ Object.defineProperty(exports, "modeMayWrite", {
|
|
|
87474
87324
|
return modeMayWrite;
|
|
87475
87325
|
}
|
|
87476
87326
|
});
|
|
87477
|
-
Object.defineProperty(exports, "modelBindingKey", {
|
|
87478
|
-
enumerable: true,
|
|
87479
|
-
get: function() {
|
|
87480
|
-
return modelBindingKey;
|
|
87481
|
-
}
|
|
87482
|
-
});
|
|
87483
87327
|
Object.defineProperty(exports, "motionDetectionCapability", {
|
|
87484
87328
|
enumerable: true,
|
|
87485
87329
|
get: function() {
|
|
@@ -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-DUFGDd_2.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 {
|
|
1
|
+
import { Fn as BaseAddon, Kt as motionDetectionCapability, Mn as DeviceType, qn as hydrateSchema, wt as evaluateZoneRules } from "../dist-BF60SjmI.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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { An as isSoftwareDecode, Dn as buildFfmpegArgs, En as Fmp4BoxSplitter, Nn as errMsg } from "./dist-BF60SjmI.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import { realpathSync } from "node:fs";
|
|
4
4
|
import path from "node:path";
|