@camstack/addon-export-alexa 1.2.165 → 1.2.166
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/export-alexa.addon.js +170 -206
- package/dist/export-alexa.addon.mjs +170 -206
- package/package.json +1 -1
|
@@ -34,7 +34,7 @@ let node_path = require("node:path");
|
|
|
34
34
|
node_path = __toESM(node_path, 1);
|
|
35
35
|
require("node:child_process");
|
|
36
36
|
require("node:zlib");
|
|
37
|
-
//#region ../types/dist/event-category-
|
|
37
|
+
//#region ../types/dist/event-category-fDPduoeC.mjs
|
|
38
38
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
39
39
|
EventCategory["SystemBoot"] = "system.boot";
|
|
40
40
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -361,9 +361,8 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
361
361
|
EventCategory["PipelineMotionCalm"] = "pipeline.motion-calm";
|
|
362
362
|
/**
|
|
363
363
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
364
|
-
* (
|
|
365
|
-
* `setCameraStepToggle` / `
|
|
366
|
-
* pipeline-scoped `applyDeviceSettingsPatch`). Orchestrator
|
|
364
|
+
* (a settings change via `setAgentInferenceDevices` /
|
|
365
|
+
* `setCameraStepToggle` / `setCameraStepSettings`). Orchestrator
|
|
367
366
|
* subscribes to its own emission to hot-reload the assigned runner
|
|
368
367
|
* via `attachCamera` so the next frame executes against the new
|
|
369
368
|
* engine/steps without waiting for a rebalance or the next
|
|
@@ -5466,7 +5465,7 @@ var ZodIssueCode = {
|
|
|
5466
5465
|
var ZodFirstPartyTypeKind;
|
|
5467
5466
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5468
5467
|
//#endregion
|
|
5469
|
-
//#region ../types/dist/sleep-
|
|
5468
|
+
//#region ../types/dist/sleep-CHIEEJkY.mjs
|
|
5470
5469
|
/**
|
|
5471
5470
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5472
5471
|
* window to float samples (D455).
|
|
@@ -10687,13 +10686,22 @@ var BirthDecisionRecordSchema = object({
|
|
|
10687
10686
|
decidedByBirthEvidence: boolean(),
|
|
10688
10687
|
/** Best class-compatible crop score, or `null` when nothing compatible was
|
|
10689
10688
|
* found — deliberately not 0, which would be a measurement that never was.
|
|
10690
|
-
* Includes a box the detector's own per-class floor refused (
|
|
10691
|
-
*
|
|
10692
|
-
* score the crop really held. */
|
|
10689
|
+
* Includes a box the detector's own per-class floor refused (D922): since
|
|
10690
|
+
* D925 the gate's bar, not that floor, decides whether it confirms. */
|
|
10693
10691
|
bestScore: number().nullable(),
|
|
10694
10692
|
/** The bar this candidate actually faced (the phantom-cell hook may raise it). */
|
|
10695
10693
|
appliedMinConfidence: number().nullable(),
|
|
10696
10694
|
/**
|
|
10695
|
+
* The detector the gate re-judged the birth WITH (D925): the session's own
|
|
10696
|
+
* root model, inference-device pool and node — never a node default. `null`
|
|
10697
|
+
* when the frame named no session detector or no gate ran, and on rows
|
|
10698
|
+
* written before D925. A `session-device-unavailable` row names the session
|
|
10699
|
+
* detector that could not be reached.
|
|
10700
|
+
*/
|
|
10701
|
+
detectorModelId: string().nullable().default(null),
|
|
10702
|
+
detectorDeviceKey: string().nullable().default(null),
|
|
10703
|
+
detectorNodeId: string().nullable().default(null),
|
|
10704
|
+
/**
|
|
10697
10705
|
* The track's own `firstSeen` — the candidate's first frame, which is where
|
|
10698
10706
|
* the timeline starts. `null` for a suppressed birth, which has no track.
|
|
10699
10707
|
*/
|
|
@@ -44960,6 +44968,18 @@ Object.freeze({
|
|
|
44960
44968
|
reason: "camera sensor mappings not loaded"
|
|
44961
44969
|
});
|
|
44962
44970
|
/**
|
|
44971
|
+
* What the vision model must answer before a package event is emitted
|
|
44972
|
+
* when a packages rule has "Confirm with the LLM" on.
|
|
44973
|
+
*
|
|
44974
|
+
* `package` is the verdict. `confidence` is 0..1. `reason` is the model's
|
|
44975
|
+
* one-line explanation, stored on the event so a drop is not silent.
|
|
44976
|
+
*/
|
|
44977
|
+
var PackageLlmVerdictSchema = object({
|
|
44978
|
+
package: boolean(),
|
|
44979
|
+
confidence: number().min(0).max(1),
|
|
44980
|
+
reason: string().min(1)
|
|
44981
|
+
});
|
|
44982
|
+
/**
|
|
44963
44983
|
* A model choice has a SCOPE, and a scope change has a workflow.
|
|
44964
44984
|
*
|
|
44965
44985
|
* ## The two scopes
|
|
@@ -45896,6 +45916,21 @@ var ObjectEventSchema = object({
|
|
|
45896
45916
|
* pick-up written before D684 — UNKNOWN, never 0 and never `timestamp`.
|
|
45897
45917
|
*/
|
|
45898
45918
|
observedAt: number().optional(),
|
|
45919
|
+
/**
|
|
45920
|
+
* The delivery was emitted without a vision-model yes (D931).
|
|
45921
|
+
*
|
|
45922
|
+
* Set only when the packages rule asked for an LLM confirm and the model
|
|
45923
|
+
* was unreachable, timed out, or answered something that did not parse.
|
|
45924
|
+
* A notification reads it so it can say "possible" instead of a definite
|
|
45925
|
+
* delivery. Absent on every other row, and on a confirm that said yes.
|
|
45926
|
+
*/
|
|
45927
|
+
packagePossible: boolean().optional(),
|
|
45928
|
+
/**
|
|
45929
|
+
* The vision model's verdict, when a packages rule asked for one and the
|
|
45930
|
+
* model answered the schema (D931). A "no" never becomes a row — the
|
|
45931
|
+
* detector drops it and logs the reason. Present on a yes.
|
|
45932
|
+
*/
|
|
45933
|
+
packageLlmVerdict: PackageLlmVerdictSchema.optional(),
|
|
45899
45934
|
/** The parent track's key-event importance [0,1], propagated to every object
|
|
45900
45935
|
* event of the track (so an event row can be sorted by importance without a
|
|
45901
45936
|
* track join). Absent on legacy rows / before the track was scored. */
|
|
@@ -47693,7 +47728,6 @@ var PipelineAddonSchemaSchema = object({
|
|
|
47693
47728
|
defaultModelId: string(),
|
|
47694
47729
|
defaultModelIdByFormat: record(string(), string()).optional(),
|
|
47695
47730
|
enabledByDefault: boolean().optional(),
|
|
47696
|
-
backfillIntoExistingOverrides: boolean().optional(),
|
|
47697
47731
|
defaultConfidence: number(),
|
|
47698
47732
|
group: string().optional(),
|
|
47699
47733
|
configSchema: array(ConfigFieldBridge).readonly().optional()
|
|
@@ -47820,13 +47854,12 @@ var AudioTestResultSchema = object({
|
|
|
47820
47854
|
error: string().optional(),
|
|
47821
47855
|
frame: custom().optional()
|
|
47822
47856
|
});
|
|
47823
|
-
var PipelineConfigBridge = custom();
|
|
47824
47857
|
var ConfigUISchemaBridge = custom();
|
|
47825
47858
|
var ConfigUISchemaNullableBridge = custom();
|
|
47826
47859
|
var InferenceCapabilitiesBridge = custom();
|
|
47827
47860
|
var ModelAvailabilityListBridge = custom();
|
|
47828
47861
|
var PipelineRunResultBridge = custom();
|
|
47829
|
-
method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngineChoiceSchema), method(
|
|
47862
|
+
method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngineChoiceSchema), method(object({ nodeId: string() }), EngineProvisioningSchema), method(_void(), record(string(), object({
|
|
47830
47863
|
modelId: string(),
|
|
47831
47864
|
settings: record(string(), unknown()).readonly()
|
|
47832
47865
|
}))), method(object({ steps: record(string(), object({
|
|
@@ -47835,28 +47868,6 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
47835
47868
|
})) }), object({ success: literal(true) }), {
|
|
47836
47869
|
kind: "mutation",
|
|
47837
47870
|
auth: "admin"
|
|
47838
|
-
}), method(object({ nodeId: string() }), object({
|
|
47839
|
-
success: literal(true),
|
|
47840
|
-
clearedDevices: number()
|
|
47841
|
-
}), {
|
|
47842
|
-
kind: "mutation",
|
|
47843
|
-
auth: "admin"
|
|
47844
|
-
}), method(object({
|
|
47845
|
-
nodeId: string(),
|
|
47846
|
-
deviceIds: array(number()).readonly().optional(),
|
|
47847
|
-
dryRun: boolean()
|
|
47848
|
-
}), object({
|
|
47849
|
-
entries: array(object({
|
|
47850
|
-
deviceId: number(),
|
|
47851
|
-
keys: array(string()).readonly()
|
|
47852
|
-
})).readonly(),
|
|
47853
|
-
refused: array(object({
|
|
47854
|
-
deviceId: number(),
|
|
47855
|
-
reason: string()
|
|
47856
|
-
})).readonly()
|
|
47857
|
-
}), {
|
|
47858
|
-
kind: "mutation",
|
|
47859
|
-
auth: "admin"
|
|
47860
47871
|
}), method(object({ nodeId: string() }), object({ unhealthy: array(object({
|
|
47861
47872
|
/** `<backend>:<device>`, e.g. `openvino:gpu`. */
|
|
47862
47873
|
deviceKey: string(),
|
|
@@ -47879,7 +47890,7 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
47879
47890
|
}), object({ rearmed: boolean() }), {
|
|
47880
47891
|
kind: "mutation",
|
|
47881
47892
|
auth: "admin"
|
|
47882
|
-
}), method(_void(), PipelineSchemaSchema), method(_void(),
|
|
47893
|
+
}), method(_void(), PipelineSchemaSchema), method(_void(), ConfigUISchemaBridge), method(object({
|
|
47883
47894
|
steps: array(PipelineStepInputSchema),
|
|
47884
47895
|
deviceKey: string().optional()
|
|
47885
47896
|
}), PipelineValidationResultSchema), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
@@ -48127,11 +48138,18 @@ var KeptReasonSchema = _enum(["custom-pin"]);
|
|
|
48127
48138
|
* Where a choice's latency came from (D791): this node's own benchmark
|
|
48128
48139
|
* result, or the hardware-class table. Measured on the node beats the table.
|
|
48129
48140
|
*/
|
|
48130
|
-
var LatencySourceSchema = discriminatedUnion("kind", [
|
|
48131
|
-
kind: literal("
|
|
48132
|
-
|
|
48133
|
-
|
|
48134
|
-
|
|
48141
|
+
var LatencySourceSchema = discriminatedUnion("kind", [
|
|
48142
|
+
object({ kind: literal("table") }),
|
|
48143
|
+
object({
|
|
48144
|
+
kind: literal("node-benchmark"),
|
|
48145
|
+
resultId: string(),
|
|
48146
|
+
measuredAtMs: number()
|
|
48147
|
+
}),
|
|
48148
|
+
object({
|
|
48149
|
+
kind: literal("estimated"),
|
|
48150
|
+
estimatedFrom: HardwareClassIdSchema
|
|
48151
|
+
})
|
|
48152
|
+
]);
|
|
48135
48153
|
var DeviceModelChoiceSchema = object({
|
|
48136
48154
|
modelId: string(),
|
|
48137
48155
|
p50Ms: number(),
|
|
@@ -48139,6 +48157,11 @@ var DeviceModelChoiceSchema = object({
|
|
|
48139
48157
|
measured: boolean(),
|
|
48140
48158
|
/** Absent on a plan from before D791 — read as the table. */
|
|
48141
48159
|
source: LatencySourceSchema.optional(),
|
|
48160
|
+
/**
|
|
48161
|
+
* The measured class this latency was scaled from (D930). Absent when the
|
|
48162
|
+
* cell is the table or a node benchmark.
|
|
48163
|
+
*/
|
|
48164
|
+
estimatedFrom: HardwareClassIdSchema.optional(),
|
|
48142
48165
|
/** Parallel sessions at the camera rate with the headroom kept free: ⌊fps × (1 − headroom) / camera fps⌋. */
|
|
48143
48166
|
capacitySessions: number(),
|
|
48144
48167
|
personRecall: number()
|
|
@@ -48178,40 +48201,20 @@ var NodeDeviceChangeSchema = object({
|
|
|
48178
48201
|
keys: array(string()).readonly()
|
|
48179
48202
|
})).readonly()
|
|
48180
48203
|
});
|
|
48181
|
-
|
|
48182
|
-
|
|
48183
|
-
|
|
48204
|
+
/**
|
|
48205
|
+
* Every model and model-bound threshold lives on the accelerator that runs it
|
|
48206
|
+
* (D927), so the plan writes node / device entries only — there is no camera
|
|
48207
|
+
* layer for it to clear.
|
|
48208
|
+
*/
|
|
48209
|
+
var AutoTuneWarningSchema = discriminatedUnion("kind", [object({
|
|
48210
|
+
kind: literal("custom-pin-kept"),
|
|
48184
48211
|
nodeId: string(),
|
|
48185
|
-
deviceKey: string()
|
|
48186
|
-
|
|
48187
|
-
|
|
48188
|
-
|
|
48189
|
-
|
|
48190
|
-
|
|
48191
|
-
deviceId: number(),
|
|
48192
|
-
keys: array(string()).readonly()
|
|
48193
|
-
});
|
|
48194
|
-
var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
48195
|
-
object({
|
|
48196
|
-
kind: literal("detector-store-cluster-wide"),
|
|
48197
|
-
skippedNodes: array(string()).readonly()
|
|
48198
|
-
}),
|
|
48199
|
-
object({
|
|
48200
|
-
kind: literal("detector-store-unreadable"),
|
|
48201
|
-
error: string()
|
|
48202
|
-
}),
|
|
48203
|
-
object({
|
|
48204
|
-
kind: literal("custom-pin-kept"),
|
|
48205
|
-
nodeId: string(),
|
|
48206
|
-
deviceKey: string().nullable(),
|
|
48207
|
-
deviceId: number().nullable(),
|
|
48208
|
-
modelId: string()
|
|
48209
|
-
}),
|
|
48210
|
-
object({
|
|
48211
|
-
kind: literal("custom-registry-unreadable"),
|
|
48212
|
-
error: string()
|
|
48213
|
-
})
|
|
48214
|
-
]);
|
|
48212
|
+
deviceKey: string(),
|
|
48213
|
+
modelId: string()
|
|
48214
|
+
}), object({
|
|
48215
|
+
kind: literal("custom-registry-unreadable"),
|
|
48216
|
+
error: string()
|
|
48217
|
+
})]);
|
|
48215
48218
|
var AutoTuneOptionsSchema = object({
|
|
48216
48219
|
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
48217
48220
|
headroom: number().min(.3).max(.5).default(.4),
|
|
@@ -48233,8 +48236,6 @@ var AutoTunePlanSchema = object({
|
|
|
48233
48236
|
generatedAt: number(),
|
|
48234
48237
|
nodes: array(NodeRecommendationSchema).readonly(),
|
|
48235
48238
|
nodeChanges: array(NodeDeviceChangeSchema).readonly(),
|
|
48236
|
-
cameraClears: array(CameraOverrideClearSchema).readonly(),
|
|
48237
|
-
detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
|
|
48238
48239
|
warnings: array(AutoTuneWarningSchema).readonly()
|
|
48239
48240
|
});
|
|
48240
48241
|
var AutoTuneApplyInputSchema = object({
|
|
@@ -48245,8 +48246,6 @@ var AutoTuneApplyInputSchema = object({
|
|
|
48245
48246
|
var AutoTunePhaseResultSchema = object({
|
|
48246
48247
|
phase: _enum([
|
|
48247
48248
|
"download",
|
|
48248
|
-
"camera-overrides",
|
|
48249
|
-
"detector-thresholds",
|
|
48250
48249
|
"node-models",
|
|
48251
48250
|
"redispatch"
|
|
48252
48251
|
]),
|
|
@@ -49957,6 +49956,12 @@ var AgentPipelineSettingsSchema = object({
|
|
|
49957
49956
|
/** Hub-persisted UI colour (`--color-node-*` theme tokens). */
|
|
49958
49957
|
color: NodeColorIdSchema.optional(),
|
|
49959
49958
|
/**
|
|
49959
|
+
* NODE-wide step settings (D927): `stepId → { key → value }`, applied on
|
|
49960
|
+
* every accelerator of the node under the device's own settings. Never a
|
|
49961
|
+
* model or a model-bound threshold. Written by `setNodeStepSettings`.
|
|
49962
|
+
*/
|
|
49963
|
+
stepSettings: record(string(), record(string(), unknown()).readonly()).optional(),
|
|
49964
|
+
/**
|
|
49960
49965
|
* Multi-device inference opt-in (Phase 4). Per-node map deviceKey → {enabled,
|
|
49961
49966
|
* weight, steps}. Absent / all-disabled ⇒ the node's single default
|
|
49962
49967
|
* accelerator (safe default); two+ enabled ⇒ the dispatcher balances
|
|
@@ -49972,17 +49977,6 @@ var AgentPipelineSettingsSchema = object({
|
|
|
49972
49977
|
steps: record(string(), DeviceStepConfigSchema).optional()
|
|
49973
49978
|
})).optional()
|
|
49974
49979
|
});
|
|
49975
|
-
var CameraPipelineForAgentSchema = object({
|
|
49976
|
-
steps: array(PipelineStepInputSchema).readonly(),
|
|
49977
|
-
audio: object({
|
|
49978
|
-
modelId: string(),
|
|
49979
|
-
enabled: boolean()
|
|
49980
|
-
}).nullable()
|
|
49981
|
-
});
|
|
49982
|
-
var CameraStepOverridePatchSchema = object({
|
|
49983
|
-
modelId: string().optional(),
|
|
49984
|
-
settings: record(string(), unknown()).readonly().optional()
|
|
49985
|
-
});
|
|
49986
49980
|
var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
|
|
49987
49981
|
/** The three root-detector choices a camera has (D507: at most one root). */
|
|
49988
49982
|
var CameraDetectionSourceSchema = _enum([
|
|
@@ -49992,9 +49986,7 @@ var CameraDetectionSourceSchema = _enum([
|
|
|
49992
49986
|
]);
|
|
49993
49987
|
var CameraPipelineSettingsSchema = object({
|
|
49994
49988
|
stepToggles: record(string(), boolean()).optional(),
|
|
49995
|
-
stepSettings: CameraStepSettingsSchema.optional()
|
|
49996
|
-
stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
|
|
49997
|
-
pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
|
|
49989
|
+
stepSettings: CameraStepSettingsSchema.optional()
|
|
49998
49990
|
});
|
|
49999
49991
|
/**
|
|
50000
49992
|
* Pipeline placement record persisted by `addon-pipeline-orchestrator` via
|
|
@@ -50540,6 +50532,13 @@ method(object({
|
|
|
50540
50532
|
}), object({ success: literal(true) }), {
|
|
50541
50533
|
kind: "mutation",
|
|
50542
50534
|
auth: "admin"
|
|
50535
|
+
}), method(object({
|
|
50536
|
+
agentNodeId: string(),
|
|
50537
|
+
addonId: string(),
|
|
50538
|
+
settings: record(string(), unknown()).nullable()
|
|
50539
|
+
}), object({ success: literal(true) }), {
|
|
50540
|
+
kind: "mutation",
|
|
50541
|
+
auth: "admin"
|
|
50543
50542
|
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50544
50543
|
agentNodeId: string(),
|
|
50545
50544
|
deviceKey: string()
|
|
@@ -50549,9 +50548,7 @@ method(object({
|
|
|
50549
50548
|
}), method(object({ agentNodeId: string() }), object({
|
|
50550
50549
|
success: literal(true),
|
|
50551
50550
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
50552
|
-
effectiveModelId: string().nullable()
|
|
50553
|
-
/** Number of cameras whose node-scoped overrides were cleared. */
|
|
50554
|
-
clearedCameraOverrides: number()
|
|
50551
|
+
effectiveModelId: string().nullable()
|
|
50555
50552
|
}), {
|
|
50556
50553
|
kind: "mutation",
|
|
50557
50554
|
auth: "admin"
|
|
@@ -50606,15 +50603,6 @@ method(object({
|
|
|
50606
50603
|
}), object({ success: literal(true) }), {
|
|
50607
50604
|
kind: "mutation",
|
|
50608
50605
|
auth: "admin"
|
|
50609
|
-
}), method(object({ deviceId: number() }), record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).nullable()), method(object({
|
|
50610
|
-
deviceId: number(),
|
|
50611
|
-
agentNodeId: string(),
|
|
50612
|
-
deviceKey: string(),
|
|
50613
|
-
addonId: string(),
|
|
50614
|
-
patch: CameraStepOverridePatchSchema.nullable()
|
|
50615
|
-
}), object({ success: literal(true) }), {
|
|
50616
|
-
kind: "mutation",
|
|
50617
|
-
auth: "admin"
|
|
50618
50606
|
}), method(object({
|
|
50619
50607
|
deviceId: number(),
|
|
50620
50608
|
addonId: string(),
|
|
@@ -50622,13 +50610,6 @@ method(object({
|
|
|
50622
50610
|
}), object({ success: literal(true) }), {
|
|
50623
50611
|
kind: "mutation",
|
|
50624
50612
|
auth: "admin"
|
|
50625
|
-
}), method(object({
|
|
50626
|
-
deviceId: number(),
|
|
50627
|
-
agentNodeId: string(),
|
|
50628
|
-
pipeline: CameraPipelineForAgentSchema.nullable()
|
|
50629
|
-
}), object({ success: literal(true) }), {
|
|
50630
|
-
kind: "mutation",
|
|
50631
|
-
auth: "admin"
|
|
50632
50613
|
}), method(object({
|
|
50633
50614
|
deviceId: number(),
|
|
50634
50615
|
agentNodeId: string().optional()
|
|
@@ -58442,6 +58423,30 @@ includeCrops: boolean().optional() }).optional(), array(VehicleSchema).readonly(
|
|
|
58442
58423
|
kind: "mutation",
|
|
58443
58424
|
auth: "admin"
|
|
58444
58425
|
});
|
|
58426
|
+
var CORE_ULTRA_265K_IGPU_CLOCK_MHZ = 2e3;
|
|
58427
|
+
var positiveOrNull = number().nullable().transform((value) => value !== null && Number.isFinite(value) && value > 0 ? value : null);
|
|
58428
|
+
var textOrNull = string().nullable().transform((value) => value !== null && value.trim() !== "" ? value : null);
|
|
58429
|
+
var PrecisionGopsSchema = object({
|
|
58430
|
+
int8: positiveOrNull,
|
|
58431
|
+
fp16: positiveOrNull
|
|
58432
|
+
});
|
|
58433
|
+
/** What one accelerator device reported. Every failed query is null. */
|
|
58434
|
+
var AcceleratorComputeSchema = object({
|
|
58435
|
+
deviceKey: string(),
|
|
58436
|
+
fullDeviceName: textOrNull,
|
|
58437
|
+
executionUnits: positiveOrNull,
|
|
58438
|
+
clockMHz: positiveOrNull,
|
|
58439
|
+
gops: PrecisionGopsSchema.nullable(),
|
|
58440
|
+
architecture: textOrNull,
|
|
58441
|
+
npuName: textOrNull,
|
|
58442
|
+
tops: positiveOrNull,
|
|
58443
|
+
vendor: textOrNull,
|
|
58444
|
+
webgpuArchitecture: textOrNull,
|
|
58445
|
+
webgpuDevice: textOrNull,
|
|
58446
|
+
computeUnits: positiveOrNull
|
|
58447
|
+
});
|
|
58448
|
+
object({ accelerators: array(AcceleratorComputeSchema).nullable() });
|
|
58449
|
+
64 * CORE_ULTRA_265K_IGPU_CLOCK_MHZ;
|
|
58445
58450
|
var ModelFormatSchema = _enum(MODEL_FORMATS);
|
|
58446
58451
|
var HwAccelBackendInputSchema = _enum([
|
|
58447
58452
|
"videotoolbox",
|
|
@@ -58555,7 +58560,12 @@ var HardwareInfoSchema = object({
|
|
|
58555
58560
|
availableRAM_MB: number(),
|
|
58556
58561
|
gpu: GpuInfoSchema.nullable(),
|
|
58557
58562
|
npu: NpuInfoSchema.nullable(),
|
|
58558
|
-
coral: CoralInfoSchema.nullable().optional()
|
|
58563
|
+
coral: CoralInfoSchema.nullable().optional(),
|
|
58564
|
+
/**
|
|
58565
|
+
* Per-accelerator compute (D930). Omitted by a node that has not probed it.
|
|
58566
|
+
* `null` fields inside an entry are a failed query, never a zero.
|
|
58567
|
+
*/
|
|
58568
|
+
accelerators: array(AcceleratorComputeSchema).readonly().optional()
|
|
58559
58569
|
});
|
|
58560
58570
|
var PlatformScoreSchema = object({
|
|
58561
58571
|
runtime: literal("python"),
|
|
@@ -60927,7 +60937,20 @@ var ZoneRuleSchema = object({
|
|
|
60927
60937
|
* Defaults to `true` so operators creating a rule via the UI
|
|
60928
60938
|
* see it active immediately.
|
|
60929
60939
|
*/
|
|
60930
|
-
enabled: boolean().default(true)
|
|
60940
|
+
enabled: boolean().default(true),
|
|
60941
|
+
/**
|
|
60942
|
+
* Package stage only. When true, a package candidate may open from a
|
|
60943
|
+
* scene difference in this rule's zone after a person leaves. The
|
|
60944
|
+
* package model, when it boxes something overlapping, is extra evidence
|
|
60945
|
+
* and is not the gate. Absent or false keeps today's model path.
|
|
60946
|
+
*/
|
|
60947
|
+
detectBySceneDifference: boolean().optional(),
|
|
60948
|
+
/**
|
|
60949
|
+
* Package stage only. When true, a promoted package is shown to the
|
|
60950
|
+
* `llm` cap before the delivery event is emitted. Absent or false emits
|
|
60951
|
+
* as today. Usable with or without `detectBySceneDifference`.
|
|
60952
|
+
*/
|
|
60953
|
+
confirmWithLlm: boolean().optional()
|
|
60931
60954
|
});
|
|
60932
60955
|
array(ZoneRuleSchema).readonly();
|
|
60933
60956
|
object({
|
|
@@ -62560,7 +62583,7 @@ method(object({}), array(TrainingProviderDescriptorSchema).readonly(), { auth: "
|
|
|
62560
62583
|
* - **Jobs.** A persisted state machine, a reconcile loop against the
|
|
62561
62584
|
* provider, a cost guard, a daily orphan sweep and the retention rules.
|
|
62562
62585
|
* - **The return flow.** Verified artefacts → Model Studio
|
|
62563
|
-
* (`custom-model-registry.importModelBundle`) → canary on
|
|
62586
|
+
* (`custom-model-registry.importModelBundle`) → canary on accelerators →
|
|
62564
62587
|
* rollback. Nothing is ever registered automatically.
|
|
62565
62588
|
*
|
|
62566
62589
|
* Plan/start takes a live {@link TrainingCorpusSelection} (collections +
|
|
@@ -62697,20 +62720,24 @@ var TrainingProgressPointSchema = object({
|
|
|
62697
62720
|
map50: number().nullable(),
|
|
62698
62721
|
map50_95: number().nullable()
|
|
62699
62722
|
});
|
|
62723
|
+
/** One accelerator: a `(node, inference device)` that runs the root detector. */
|
|
62724
|
+
var TrainingAcceleratorRefSchema = object({
|
|
62725
|
+
nodeId: string(),
|
|
62726
|
+
deviceKey: string()
|
|
62727
|
+
});
|
|
62728
|
+
/**
|
|
62729
|
+
* A canary pins the registered model on chosen ACCELERATORS — a model is
|
|
62730
|
+
* chosen by the accelerator that runs it (D927); every camera balanced onto
|
|
62731
|
+
* one runs it. `previous` is the root-detector pin each one had (`null` = it
|
|
62732
|
+
* ran its default), exactly, so rollback restores it.
|
|
62733
|
+
*/
|
|
62700
62734
|
var TrainingCanarySchema = object({
|
|
62701
|
-
|
|
62735
|
+
accelerators: array(TrainingAcceleratorRefSchema).readonly(),
|
|
62702
62736
|
since: number(),
|
|
62703
|
-
|
|
62704
|
-
previous: array(object({
|
|
62705
|
-
deviceId: number().int(),
|
|
62706
|
-
nodeId: string(),
|
|
62707
|
-
deviceKey: string(),
|
|
62708
|
-
patch: object({
|
|
62709
|
-
modelId: string().optional(),
|
|
62710
|
-
settings: record(string(), unknown()).readonly().optional()
|
|
62711
|
-
}).nullable()
|
|
62712
|
-
})).readonly()
|
|
62737
|
+
previous: array(TrainingAcceleratorRefSchema.extend({ modelId: string().nullable() })).readonly()
|
|
62713
62738
|
});
|
|
62739
|
+
/** An accelerator a canary may pin: it runs the root detector, on this model now. */
|
|
62740
|
+
var TrainingCanaryTargetSchema = TrainingAcceleratorRefSchema.extend({ pinnedModelId: string().nullable() });
|
|
62714
62741
|
var TrainingJobSchema = object({
|
|
62715
62742
|
id: string(),
|
|
62716
62743
|
idempotencyKey: string(),
|
|
@@ -62822,11 +62849,11 @@ method(object({}), array(TrainingBaseModelSchema).readonly(), { auth: "admin" })
|
|
|
62822
62849
|
kind: "mutation",
|
|
62823
62850
|
auth: "admin",
|
|
62824
62851
|
timeoutMs: 12e4
|
|
62825
|
-
}), method(IdInput, TrainingResultSchema.nullable(), { auth: "admin" }), method(IdInput.extend({
|
|
62852
|
+
}), method(IdInput, TrainingResultSchema.nullable(), { auth: "admin" }), method(_void(), array(TrainingCanaryTargetSchema).readonly(), { auth: "admin" }), method(IdInput.extend({ canaryAccelerators: array(TrainingAcceleratorRefSchema).readonly() }), TrainingJobSchema, {
|
|
62826
62853
|
kind: "mutation",
|
|
62827
62854
|
auth: "admin",
|
|
62828
62855
|
timeoutMs: 30 * 6e4
|
|
62829
|
-
}), method(IdInput.extend({
|
|
62856
|
+
}), method(IdInput.extend({ accelerators: array(TrainingAcceleratorRefSchema).min(1).readonly() }), TrainingJobSchema, {
|
|
62830
62857
|
kind: "mutation",
|
|
62831
62858
|
auth: "admin",
|
|
62832
62859
|
timeoutMs: 12e4
|
|
@@ -68757,20 +68784,6 @@ Object.freeze({
|
|
|
68757
68784
|
access: "create",
|
|
68758
68785
|
role: "admin"
|
|
68759
68786
|
},
|
|
68760
|
-
"pipelineExecutor.clearDeviceOverrides": {
|
|
68761
|
-
capName: "pipeline-executor",
|
|
68762
|
-
capScope: "system",
|
|
68763
|
-
addonId: null,
|
|
68764
|
-
access: "delete",
|
|
68765
|
-
role: "admin"
|
|
68766
|
-
},
|
|
68767
|
-
"pipelineExecutor.clearModelBoundDeviceOverrides": {
|
|
68768
|
-
capName: "pipeline-executor",
|
|
68769
|
-
capScope: "system",
|
|
68770
|
-
addonId: null,
|
|
68771
|
-
access: "delete",
|
|
68772
|
-
role: "admin"
|
|
68773
|
-
},
|
|
68774
68787
|
"pipelineExecutor.deleteModel": {
|
|
68775
68788
|
capName: "pipeline-executor",
|
|
68776
68789
|
capScope: "system",
|
|
@@ -68813,13 +68826,6 @@ Object.freeze({
|
|
|
68813
68826
|
access: "view",
|
|
68814
68827
|
role: "admin"
|
|
68815
68828
|
},
|
|
68816
|
-
"pipelineExecutor.getDefaultSteps": {
|
|
68817
|
-
capName: "pipeline-executor",
|
|
68818
|
-
capScope: "system",
|
|
68819
|
-
addonId: null,
|
|
68820
|
-
access: "view",
|
|
68821
|
-
role: "admin"
|
|
68822
|
-
},
|
|
68823
68829
|
"pipelineExecutor.getDetectionConfigSchema": {
|
|
68824
68830
|
capName: "pipeline-executor",
|
|
68825
68831
|
capScope: "system",
|
|
@@ -68841,20 +68847,6 @@ Object.freeze({
|
|
|
68841
68847
|
access: "view",
|
|
68842
68848
|
role: "admin"
|
|
68843
68849
|
},
|
|
68844
|
-
"pipelineExecutor.getGlobalPipelineConfig": {
|
|
68845
|
-
capName: "pipeline-executor",
|
|
68846
|
-
capScope: "system",
|
|
68847
|
-
addonId: null,
|
|
68848
|
-
access: "view",
|
|
68849
|
-
role: "admin"
|
|
68850
|
-
},
|
|
68851
|
-
"pipelineExecutor.getGlobalSteps": {
|
|
68852
|
-
capName: "pipeline-executor",
|
|
68853
|
-
capScope: "system",
|
|
68854
|
-
addonId: null,
|
|
68855
|
-
access: "view",
|
|
68856
|
-
role: "admin"
|
|
68857
|
-
},
|
|
68858
68850
|
"pipelineExecutor.getInferenceDeviceHealth": {
|
|
68859
68851
|
capName: "pipeline-executor",
|
|
68860
68852
|
capScope: "system",
|
|
@@ -69114,13 +69106,6 @@ Object.freeze({
|
|
|
69114
69106
|
access: "view",
|
|
69115
69107
|
role: "admin"
|
|
69116
69108
|
},
|
|
69117
|
-
"pipelineOrchestrator.getCameraStepOverrides": {
|
|
69118
|
-
capName: "pipeline-orchestrator",
|
|
69119
|
-
capScope: "system",
|
|
69120
|
-
addonId: null,
|
|
69121
|
-
access: "view",
|
|
69122
|
-
role: "admin"
|
|
69123
|
-
},
|
|
69124
69109
|
"pipelineOrchestrator.getCameraSwitches": {
|
|
69125
69110
|
capName: "pipeline-orchestrator",
|
|
69126
69111
|
capScope: "system",
|
|
@@ -69359,13 +69344,6 @@ Object.freeze({
|
|
|
69359
69344
|
access: "create",
|
|
69360
69345
|
role: "admin"
|
|
69361
69346
|
},
|
|
69362
|
-
"pipelineOrchestrator.setCameraPipelineForAgent": {
|
|
69363
|
-
capName: "pipeline-orchestrator",
|
|
69364
|
-
capScope: "system",
|
|
69365
|
-
addonId: null,
|
|
69366
|
-
access: "create",
|
|
69367
|
-
role: "admin"
|
|
69368
|
-
},
|
|
69369
69347
|
"pipelineOrchestrator.setCameraSensors": {
|
|
69370
69348
|
capName: "pipeline-orchestrator",
|
|
69371
69349
|
capScope: "system",
|
|
@@ -69373,42 +69351,42 @@ Object.freeze({
|
|
|
69373
69351
|
access: "create",
|
|
69374
69352
|
role: "admin"
|
|
69375
69353
|
},
|
|
69376
|
-
"pipelineOrchestrator.
|
|
69354
|
+
"pipelineOrchestrator.setCameraStepSettings": {
|
|
69377
69355
|
capName: "pipeline-orchestrator",
|
|
69378
69356
|
capScope: "system",
|
|
69379
69357
|
addonId: null,
|
|
69380
69358
|
access: "create",
|
|
69381
69359
|
role: "admin"
|
|
69382
69360
|
},
|
|
69383
|
-
"pipelineOrchestrator.
|
|
69361
|
+
"pipelineOrchestrator.setCameraStepToggle": {
|
|
69384
69362
|
capName: "pipeline-orchestrator",
|
|
69385
69363
|
capScope: "system",
|
|
69386
69364
|
addonId: null,
|
|
69387
69365
|
access: "create",
|
|
69388
69366
|
role: "admin"
|
|
69389
69367
|
},
|
|
69390
|
-
"pipelineOrchestrator.
|
|
69368
|
+
"pipelineOrchestrator.setCameraSwitch": {
|
|
69391
69369
|
capName: "pipeline-orchestrator",
|
|
69392
69370
|
capScope: "system",
|
|
69393
69371
|
addonId: null,
|
|
69394
69372
|
access: "create",
|
|
69395
69373
|
role: "admin"
|
|
69396
69374
|
},
|
|
69397
|
-
"pipelineOrchestrator.
|
|
69375
|
+
"pipelineOrchestrator.setCapabilityBinding": {
|
|
69398
69376
|
capName: "pipeline-orchestrator",
|
|
69399
69377
|
capScope: "system",
|
|
69400
69378
|
addonId: null,
|
|
69401
69379
|
access: "create",
|
|
69402
69380
|
role: "admin"
|
|
69403
69381
|
},
|
|
69404
|
-
"pipelineOrchestrator.
|
|
69382
|
+
"pipelineOrchestrator.setLoadBalancingShares": {
|
|
69405
69383
|
capName: "pipeline-orchestrator",
|
|
69406
69384
|
capScope: "system",
|
|
69407
69385
|
addonId: null,
|
|
69408
69386
|
access: "create",
|
|
69409
69387
|
role: "admin"
|
|
69410
69388
|
},
|
|
69411
|
-
"pipelineOrchestrator.
|
|
69389
|
+
"pipelineOrchestrator.setNodeStepSettings": {
|
|
69412
69390
|
capName: "pipeline-orchestrator",
|
|
69413
69391
|
capScope: "system",
|
|
69414
69392
|
addonId: null,
|
|
@@ -71767,6 +71745,13 @@ Object.freeze({
|
|
|
71767
71745
|
access: "view",
|
|
71768
71746
|
role: "admin"
|
|
71769
71747
|
},
|
|
71748
|
+
"training.listCanaryTargets": {
|
|
71749
|
+
capName: "training",
|
|
71750
|
+
capScope: "system",
|
|
71751
|
+
addonId: null,
|
|
71752
|
+
access: "view",
|
|
71753
|
+
role: "admin"
|
|
71754
|
+
},
|
|
71770
71755
|
"training.listJobs": {
|
|
71771
71756
|
capName: "training",
|
|
71772
71757
|
capScope: "system",
|
|
@@ -78153,11 +78138,6 @@ Object.freeze({
|
|
|
78153
78138
|
form: "single",
|
|
78154
78139
|
optional: false
|
|
78155
78140
|
}],
|
|
78156
|
-
"pipelineExecutor.clearModelBoundDeviceOverrides": [{
|
|
78157
|
-
name: "deviceIds",
|
|
78158
|
-
form: "array",
|
|
78159
|
-
optional: true
|
|
78160
|
-
}],
|
|
78161
78141
|
"pipelineExecutor.runPipeline": [{
|
|
78162
78142
|
name: "deviceId",
|
|
78163
78143
|
form: "single",
|
|
@@ -78213,11 +78193,6 @@ Object.freeze({
|
|
|
78213
78193
|
form: "array",
|
|
78214
78194
|
optional: true
|
|
78215
78195
|
}],
|
|
78216
|
-
"pipelineOrchestrator.getCameraStepOverrides": [{
|
|
78217
|
-
name: "deviceId",
|
|
78218
|
-
form: "single",
|
|
78219
|
-
optional: false
|
|
78220
|
-
}],
|
|
78221
78196
|
"pipelineOrchestrator.getCameraSwitches": [{
|
|
78222
78197
|
name: "deviceId",
|
|
78223
78198
|
form: "single",
|
|
@@ -78258,21 +78233,11 @@ Object.freeze({
|
|
|
78258
78233
|
form: "single",
|
|
78259
78234
|
optional: false
|
|
78260
78235
|
}],
|
|
78261
|
-
"pipelineOrchestrator.setCameraPipelineForAgent": [{
|
|
78262
|
-
name: "deviceId",
|
|
78263
|
-
form: "single",
|
|
78264
|
-
optional: false
|
|
78265
|
-
}],
|
|
78266
78236
|
"pipelineOrchestrator.setCameraSensors": [{
|
|
78267
78237
|
name: "deviceId",
|
|
78268
78238
|
form: "single",
|
|
78269
78239
|
optional: false
|
|
78270
78240
|
}],
|
|
78271
|
-
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
78272
|
-
name: "deviceId",
|
|
78273
|
-
form: "single",
|
|
78274
|
-
optional: false
|
|
78275
|
-
}],
|
|
78276
78241
|
"pipelineOrchestrator.setCameraStepSettings": [{
|
|
78277
78242
|
name: "deviceId",
|
|
78278
78243
|
form: "single",
|
|
@@ -78950,11 +78915,6 @@ Object.freeze({
|
|
|
78950
78915
|
form: "single",
|
|
78951
78916
|
optional: false
|
|
78952
78917
|
}],
|
|
78953
|
-
"training.canaryResult": [{
|
|
78954
|
-
name: "deviceIds",
|
|
78955
|
-
form: "array",
|
|
78956
|
-
optional: false
|
|
78957
|
-
}],
|
|
78958
78918
|
"update.getStatus": [{
|
|
78959
78919
|
name: "deviceId",
|
|
78960
78920
|
form: "single",
|
|
@@ -80282,6 +80242,10 @@ TimelapseRuleInputSchema.extend({
|
|
|
80282
80242
|
updatedAt: number()
|
|
80283
80243
|
});
|
|
80284
80244
|
MotionOnMotionChangedDataSchema.omit({ triggeredBy: true });
|
|
80245
|
+
Object.freeze({
|
|
80246
|
+
person: .8,
|
|
80247
|
+
vehicle: .8
|
|
80248
|
+
});
|
|
80285
80249
|
object({
|
|
80286
80250
|
/**
|
|
80287
80251
|
* Fraction of the box's own size added on EACH side before cutting.
|
|
@@ -87371,7 +87335,7 @@ function buildRoutes(deps) {
|
|
|
87371
87335
|
method: "POST",
|
|
87372
87336
|
path: "/oauth/broker-link",
|
|
87373
87337
|
access: "public",
|
|
87374
|
-
description: "Lambda → hub broker link
|
|
87338
|
+
description: "Lambda → hub broker link: broker URL + per-link credential + first access token; bearer-authenticated via oauth-access token",
|
|
87375
87339
|
handler: async (req, reply) => {
|
|
87376
87340
|
if (ingressRejected(req, reply, deps, "alexa broker-link")) return;
|
|
87377
87341
|
await handleBrokerLinkCallback(req, reply, deps.lwaTokensCallbackDeps);
|