@camstack/addon-export-alexa 1.1.14 → 1.1.16
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 +45 -43
- package/dist/export-alexa.addon.mjs +45 -43
- package/package.json +1 -1
|
@@ -15173,7 +15173,17 @@ var AgentAddonConfigSchema = object({
|
|
|
15173
15173
|
});
|
|
15174
15174
|
var AgentPipelineSettingsSchema = object({
|
|
15175
15175
|
addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
|
|
15176
|
-
maxCameras: number().int().nonnegative().nullable().default(null)
|
|
15176
|
+
maxCameras: number().int().nonnegative().nullable().default(null),
|
|
15177
|
+
/** Per-node detection weight (relative share for the quota balancer). */
|
|
15178
|
+
detectWeight: number().positive().optional(),
|
|
15179
|
+
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
15180
|
+
detect: boolean().optional(),
|
|
15181
|
+
/** Node is eligible to host decoder sessions. */
|
|
15182
|
+
decode: boolean().optional(),
|
|
15183
|
+
/** Node is eligible to run audio-analyzer sessions. */
|
|
15184
|
+
audio: boolean().optional(),
|
|
15185
|
+
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
15186
|
+
ingest: boolean().optional()
|
|
15177
15187
|
});
|
|
15178
15188
|
var CameraPipelineForAgentSchema = object({
|
|
15179
15189
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -15248,7 +15258,10 @@ var AgentLoadSummarySchema = object({
|
|
|
15248
15258
|
online: boolean(),
|
|
15249
15259
|
load: RunnerLocalLoadSchema,
|
|
15250
15260
|
/** Computed score used by the L2 capacity balancer (lower = less loaded). */
|
|
15251
|
-
score: number()
|
|
15261
|
+
score: number(),
|
|
15262
|
+
/** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
|
|
15263
|
+
* when not yet probed — for the cluster Pipeline table UI (P0.2). */
|
|
15264
|
+
decodeHwaccel: string().nullable()
|
|
15252
15265
|
});
|
|
15253
15266
|
/**
|
|
15254
15267
|
* Aggregate metrics across the whole detection cluster. Replaces the legacy
|
|
@@ -15476,6 +15489,21 @@ method(object({
|
|
|
15476
15489
|
}), object({ success: literal(true) }), {
|
|
15477
15490
|
kind: "mutation",
|
|
15478
15491
|
auth: "admin"
|
|
15492
|
+
}), method(object({
|
|
15493
|
+
agentNodeId: string(),
|
|
15494
|
+
detectWeight: number().positive().nullable()
|
|
15495
|
+
}), object({ success: literal(true) }), {
|
|
15496
|
+
kind: "mutation",
|
|
15497
|
+
auth: "admin"
|
|
15498
|
+
}), method(object({
|
|
15499
|
+
agentNodeId: string(),
|
|
15500
|
+
detect: boolean().nullable().optional(),
|
|
15501
|
+
decode: boolean().nullable().optional(),
|
|
15502
|
+
audio: boolean().nullable().optional(),
|
|
15503
|
+
ingest: boolean().nullable().optional()
|
|
15504
|
+
}), object({ success: literal(true) }), {
|
|
15505
|
+
kind: "mutation",
|
|
15506
|
+
auth: "admin"
|
|
15479
15507
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
15480
15508
|
deviceId: number(),
|
|
15481
15509
|
addonId: string(),
|
|
@@ -17784,7 +17812,7 @@ var HardwareEncoderIdSchema = _enum([
|
|
|
17784
17812
|
"libx264",
|
|
17785
17813
|
"libx265"
|
|
17786
17814
|
]);
|
|
17787
|
-
|
|
17815
|
+
object({
|
|
17788
17816
|
encoders: array(object({
|
|
17789
17817
|
encoder: HardwareEncoderIdSchema,
|
|
17790
17818
|
codec: _enum(["H264", "H265"]),
|
|
@@ -17803,15 +17831,7 @@ var HardwareEncodersSchema = object({
|
|
|
17803
17831
|
defaultH265: HardwareEncoderIdSchema,
|
|
17804
17832
|
probedAt: number()
|
|
17805
17833
|
});
|
|
17806
|
-
|
|
17807
|
-
* Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
|
|
17808
|
-
* methods the configured ffmpeg binary actually supports (parsed from
|
|
17809
|
-
* `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
|
|
17810
|
-
* egress never spends a spawn on a backend this build cannot offer. Per-stream
|
|
17811
|
-
* decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
|
|
17812
|
-
* software fallback — this only filters out wholly-unsupported backends.
|
|
17813
|
-
*/
|
|
17814
|
-
var HardwareDecodeAccelsSchema = object({
|
|
17834
|
+
object({
|
|
17815
17835
|
methods: array(string()).readonly(),
|
|
17816
17836
|
probedAt: number()
|
|
17817
17837
|
});
|
|
@@ -17874,13 +17894,7 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
17874
17894
|
format: ModelFormatSchema,
|
|
17875
17895
|
reason: string()
|
|
17876
17896
|
});
|
|
17877
|
-
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema)
|
|
17878
|
-
kind: "mutation",
|
|
17879
|
-
auth: "admin"
|
|
17880
|
-
}), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
|
|
17881
|
-
kind: "mutation",
|
|
17882
|
-
auth: "admin"
|
|
17883
|
-
});
|
|
17897
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
|
|
17884
17898
|
var PtzPresetSchema = object({
|
|
17885
17899
|
id: string(),
|
|
17886
17900
|
name: string()
|
|
@@ -21349,6 +21363,18 @@ Object.freeze({
|
|
|
21349
21363
|
addonId: null,
|
|
21350
21364
|
access: "create"
|
|
21351
21365
|
},
|
|
21366
|
+
"pipelineOrchestrator.setAgentCapabilities": {
|
|
21367
|
+
capName: "pipeline-orchestrator",
|
|
21368
|
+
capScope: "system",
|
|
21369
|
+
addonId: null,
|
|
21370
|
+
access: "create"
|
|
21371
|
+
},
|
|
21372
|
+
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
21373
|
+
capName: "pipeline-orchestrator",
|
|
21374
|
+
capScope: "system",
|
|
21375
|
+
addonId: null,
|
|
21376
|
+
access: "create"
|
|
21377
|
+
},
|
|
21352
21378
|
"pipelineOrchestrator.setAgentMaxCameras": {
|
|
21353
21379
|
capName: "pipeline-orchestrator",
|
|
21354
21380
|
capScope: "system",
|
|
@@ -21505,30 +21531,6 @@ Object.freeze({
|
|
|
21505
21531
|
addonId: null,
|
|
21506
21532
|
access: "view"
|
|
21507
21533
|
},
|
|
21508
|
-
"platformProbe.getHardwareDecodeAccels": {
|
|
21509
|
-
capName: "platform-probe",
|
|
21510
|
-
capScope: "system",
|
|
21511
|
-
addonId: null,
|
|
21512
|
-
access: "view"
|
|
21513
|
-
},
|
|
21514
|
-
"platformProbe.getHardwareEncoders": {
|
|
21515
|
-
capName: "platform-probe",
|
|
21516
|
-
capScope: "system",
|
|
21517
|
-
addonId: null,
|
|
21518
|
-
access: "view"
|
|
21519
|
-
},
|
|
21520
|
-
"platformProbe.refreshHardwareDecodeAccels": {
|
|
21521
|
-
capName: "platform-probe",
|
|
21522
|
-
capScope: "system",
|
|
21523
|
-
addonId: null,
|
|
21524
|
-
access: "create"
|
|
21525
|
-
},
|
|
21526
|
-
"platformProbe.refreshHardwareEncoders": {
|
|
21527
|
-
capName: "platform-probe",
|
|
21528
|
-
capScope: "system",
|
|
21529
|
-
addonId: null,
|
|
21530
|
-
access: "create"
|
|
21531
|
-
},
|
|
21532
21534
|
"platformProbe.resolveHwAccel": {
|
|
21533
21535
|
capName: "platform-probe",
|
|
21534
21536
|
capScope: "system",
|
|
@@ -15147,7 +15147,17 @@ var AgentAddonConfigSchema = object({
|
|
|
15147
15147
|
});
|
|
15148
15148
|
var AgentPipelineSettingsSchema = object({
|
|
15149
15149
|
addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
|
|
15150
|
-
maxCameras: number().int().nonnegative().nullable().default(null)
|
|
15150
|
+
maxCameras: number().int().nonnegative().nullable().default(null),
|
|
15151
|
+
/** Per-node detection weight (relative share for the quota balancer). */
|
|
15152
|
+
detectWeight: number().positive().optional(),
|
|
15153
|
+
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
15154
|
+
detect: boolean().optional(),
|
|
15155
|
+
/** Node is eligible to host decoder sessions. */
|
|
15156
|
+
decode: boolean().optional(),
|
|
15157
|
+
/** Node is eligible to run audio-analyzer sessions. */
|
|
15158
|
+
audio: boolean().optional(),
|
|
15159
|
+
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
15160
|
+
ingest: boolean().optional()
|
|
15151
15161
|
});
|
|
15152
15162
|
var CameraPipelineForAgentSchema = object({
|
|
15153
15163
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -15222,7 +15232,10 @@ var AgentLoadSummarySchema = object({
|
|
|
15222
15232
|
online: boolean(),
|
|
15223
15233
|
load: RunnerLocalLoadSchema,
|
|
15224
15234
|
/** Computed score used by the L2 capacity balancer (lower = less loaded). */
|
|
15225
|
-
score: number()
|
|
15235
|
+
score: number(),
|
|
15236
|
+
/** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
|
|
15237
|
+
* when not yet probed — for the cluster Pipeline table UI (P0.2). */
|
|
15238
|
+
decodeHwaccel: string().nullable()
|
|
15226
15239
|
});
|
|
15227
15240
|
/**
|
|
15228
15241
|
* Aggregate metrics across the whole detection cluster. Replaces the legacy
|
|
@@ -15450,6 +15463,21 @@ method(object({
|
|
|
15450
15463
|
}), object({ success: literal(true) }), {
|
|
15451
15464
|
kind: "mutation",
|
|
15452
15465
|
auth: "admin"
|
|
15466
|
+
}), method(object({
|
|
15467
|
+
agentNodeId: string(),
|
|
15468
|
+
detectWeight: number().positive().nullable()
|
|
15469
|
+
}), object({ success: literal(true) }), {
|
|
15470
|
+
kind: "mutation",
|
|
15471
|
+
auth: "admin"
|
|
15472
|
+
}), method(object({
|
|
15473
|
+
agentNodeId: string(),
|
|
15474
|
+
detect: boolean().nullable().optional(),
|
|
15475
|
+
decode: boolean().nullable().optional(),
|
|
15476
|
+
audio: boolean().nullable().optional(),
|
|
15477
|
+
ingest: boolean().nullable().optional()
|
|
15478
|
+
}), object({ success: literal(true) }), {
|
|
15479
|
+
kind: "mutation",
|
|
15480
|
+
auth: "admin"
|
|
15453
15481
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
15454
15482
|
deviceId: number(),
|
|
15455
15483
|
addonId: string(),
|
|
@@ -17758,7 +17786,7 @@ var HardwareEncoderIdSchema = _enum([
|
|
|
17758
17786
|
"libx264",
|
|
17759
17787
|
"libx265"
|
|
17760
17788
|
]);
|
|
17761
|
-
|
|
17789
|
+
object({
|
|
17762
17790
|
encoders: array(object({
|
|
17763
17791
|
encoder: HardwareEncoderIdSchema,
|
|
17764
17792
|
codec: _enum(["H264", "H265"]),
|
|
@@ -17777,15 +17805,7 @@ var HardwareEncodersSchema = object({
|
|
|
17777
17805
|
defaultH265: HardwareEncoderIdSchema,
|
|
17778
17806
|
probedAt: number()
|
|
17779
17807
|
});
|
|
17780
|
-
|
|
17781
|
-
* Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
|
|
17782
|
-
* methods the configured ffmpeg binary actually supports (parsed from
|
|
17783
|
-
* `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
|
|
17784
|
-
* egress never spends a spawn on a backend this build cannot offer. Per-stream
|
|
17785
|
-
* decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
|
|
17786
|
-
* software fallback — this only filters out wholly-unsupported backends.
|
|
17787
|
-
*/
|
|
17788
|
-
var HardwareDecodeAccelsSchema = object({
|
|
17808
|
+
object({
|
|
17789
17809
|
methods: array(string()).readonly(),
|
|
17790
17810
|
probedAt: number()
|
|
17791
17811
|
});
|
|
@@ -17848,13 +17868,7 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
17848
17868
|
format: ModelFormatSchema,
|
|
17849
17869
|
reason: string()
|
|
17850
17870
|
});
|
|
17851
|
-
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema)
|
|
17852
|
-
kind: "mutation",
|
|
17853
|
-
auth: "admin"
|
|
17854
|
-
}), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
|
|
17855
|
-
kind: "mutation",
|
|
17856
|
-
auth: "admin"
|
|
17857
|
-
});
|
|
17871
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
|
|
17858
17872
|
var PtzPresetSchema = object({
|
|
17859
17873
|
id: string(),
|
|
17860
17874
|
name: string()
|
|
@@ -21323,6 +21337,18 @@ Object.freeze({
|
|
|
21323
21337
|
addonId: null,
|
|
21324
21338
|
access: "create"
|
|
21325
21339
|
},
|
|
21340
|
+
"pipelineOrchestrator.setAgentCapabilities": {
|
|
21341
|
+
capName: "pipeline-orchestrator",
|
|
21342
|
+
capScope: "system",
|
|
21343
|
+
addonId: null,
|
|
21344
|
+
access: "create"
|
|
21345
|
+
},
|
|
21346
|
+
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
21347
|
+
capName: "pipeline-orchestrator",
|
|
21348
|
+
capScope: "system",
|
|
21349
|
+
addonId: null,
|
|
21350
|
+
access: "create"
|
|
21351
|
+
},
|
|
21326
21352
|
"pipelineOrchestrator.setAgentMaxCameras": {
|
|
21327
21353
|
capName: "pipeline-orchestrator",
|
|
21328
21354
|
capScope: "system",
|
|
@@ -21479,30 +21505,6 @@ Object.freeze({
|
|
|
21479
21505
|
addonId: null,
|
|
21480
21506
|
access: "view"
|
|
21481
21507
|
},
|
|
21482
|
-
"platformProbe.getHardwareDecodeAccels": {
|
|
21483
|
-
capName: "platform-probe",
|
|
21484
|
-
capScope: "system",
|
|
21485
|
-
addonId: null,
|
|
21486
|
-
access: "view"
|
|
21487
|
-
},
|
|
21488
|
-
"platformProbe.getHardwareEncoders": {
|
|
21489
|
-
capName: "platform-probe",
|
|
21490
|
-
capScope: "system",
|
|
21491
|
-
addonId: null,
|
|
21492
|
-
access: "view"
|
|
21493
|
-
},
|
|
21494
|
-
"platformProbe.refreshHardwareDecodeAccels": {
|
|
21495
|
-
capName: "platform-probe",
|
|
21496
|
-
capScope: "system",
|
|
21497
|
-
addonId: null,
|
|
21498
|
-
access: "create"
|
|
21499
|
-
},
|
|
21500
|
-
"platformProbe.refreshHardwareEncoders": {
|
|
21501
|
-
capName: "platform-probe",
|
|
21502
|
-
capScope: "system",
|
|
21503
|
-
addonId: null,
|
|
21504
|
-
access: "create"
|
|
21505
|
-
},
|
|
21506
21508
|
"platformProbe.resolveHwAccel": {
|
|
21507
21509
|
capName: "platform-probe",
|
|
21508
21510
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-alexa",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.16",
|
|
4
4
|
"description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|