@camstack/addon-export-alexa 1.1.15 → 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.
@@ -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(),
@@ -15479,6 +15489,21 @@ method(object({
15479
15489
  }), object({ success: literal(true) }), {
15480
15490
  kind: "mutation",
15481
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"
15482
15507
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
15483
15508
  deviceId: number(),
15484
15509
  addonId: string(),
@@ -21338,6 +21363,18 @@ Object.freeze({
21338
21363
  addonId: null,
21339
21364
  access: "create"
21340
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
+ },
21341
21378
  "pipelineOrchestrator.setAgentMaxCameras": {
21342
21379
  capName: "pipeline-orchestrator",
21343
21380
  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(),
@@ -15453,6 +15463,21 @@ method(object({
15453
15463
  }), object({ success: literal(true) }), {
15454
15464
  kind: "mutation",
15455
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"
15456
15481
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
15457
15482
  deviceId: number(),
15458
15483
  addonId: string(),
@@ -21312,6 +21337,18 @@ Object.freeze({
21312
21337
  addonId: null,
21313
21338
  access: "create"
21314
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
+ },
21315
21352
  "pipelineOrchestrator.setAgentMaxCameras": {
21316
21353
  capName: "pipeline-orchestrator",
21317
21354
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-alexa",
3
- "version": "1.1.15",
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",