@camstack/addon-provider-velux 0.1.2 → 0.1.3

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/addon.js CHANGED
@@ -17820,7 +17820,17 @@ var AgentAddonConfigSchema = object({
17820
17820
  });
17821
17821
  var AgentPipelineSettingsSchema = object({
17822
17822
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
17823
- maxCameras: number().int().nonnegative().nullable().default(null)
17823
+ maxCameras: number().int().nonnegative().nullable().default(null),
17824
+ /** Per-node detection weight (relative share for the quota balancer). */
17825
+ detectWeight: number().positive().optional(),
17826
+ /** Node is eligible to run the detection pipeline (decode + inference). */
17827
+ detect: boolean().optional(),
17828
+ /** Node is eligible to host decoder sessions. */
17829
+ decode: boolean().optional(),
17830
+ /** Node is eligible to run audio-analyzer sessions. */
17831
+ audio: boolean().optional(),
17832
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
17833
+ ingest: boolean().optional()
17824
17834
  });
17825
17835
  var CameraPipelineForAgentSchema = object({
17826
17836
  steps: array(PipelineStepInputSchema).readonly(),
@@ -18126,6 +18136,21 @@ method(object({
18126
18136
  }), object({ success: literal(true) }), {
18127
18137
  kind: "mutation",
18128
18138
  auth: "admin"
18139
+ }), method(object({
18140
+ agentNodeId: string(),
18141
+ detectWeight: number().positive().nullable()
18142
+ }), object({ success: literal(true) }), {
18143
+ kind: "mutation",
18144
+ auth: "admin"
18145
+ }), method(object({
18146
+ agentNodeId: string(),
18147
+ detect: boolean().nullable().optional(),
18148
+ decode: boolean().nullable().optional(),
18149
+ audio: boolean().nullable().optional(),
18150
+ ingest: boolean().nullable().optional()
18151
+ }), object({ success: literal(true) }), {
18152
+ kind: "mutation",
18153
+ auth: "admin"
18129
18154
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
18130
18155
  deviceId: number(),
18131
18156
  addonId: string(),
@@ -23985,6 +24010,18 @@ Object.freeze({
23985
24010
  addonId: null,
23986
24011
  access: "create"
23987
24012
  },
24013
+ "pipelineOrchestrator.setAgentCapabilities": {
24014
+ capName: "pipeline-orchestrator",
24015
+ capScope: "system",
24016
+ addonId: null,
24017
+ access: "create"
24018
+ },
24019
+ "pipelineOrchestrator.setAgentDetectWeight": {
24020
+ capName: "pipeline-orchestrator",
24021
+ capScope: "system",
24022
+ addonId: null,
24023
+ access: "create"
24024
+ },
23988
24025
  "pipelineOrchestrator.setAgentMaxCameras": {
23989
24026
  capName: "pipeline-orchestrator",
23990
24027
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -17819,7 +17819,17 @@ var AgentAddonConfigSchema = object({
17819
17819
  });
17820
17820
  var AgentPipelineSettingsSchema = object({
17821
17821
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
17822
- maxCameras: number().int().nonnegative().nullable().default(null)
17822
+ maxCameras: number().int().nonnegative().nullable().default(null),
17823
+ /** Per-node detection weight (relative share for the quota balancer). */
17824
+ detectWeight: number().positive().optional(),
17825
+ /** Node is eligible to run the detection pipeline (decode + inference). */
17826
+ detect: boolean().optional(),
17827
+ /** Node is eligible to host decoder sessions. */
17828
+ decode: boolean().optional(),
17829
+ /** Node is eligible to run audio-analyzer sessions. */
17830
+ audio: boolean().optional(),
17831
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
17832
+ ingest: boolean().optional()
17823
17833
  });
17824
17834
  var CameraPipelineForAgentSchema = object({
17825
17835
  steps: array(PipelineStepInputSchema).readonly(),
@@ -18125,6 +18135,21 @@ method(object({
18125
18135
  }), object({ success: literal(true) }), {
18126
18136
  kind: "mutation",
18127
18137
  auth: "admin"
18138
+ }), method(object({
18139
+ agentNodeId: string(),
18140
+ detectWeight: number().positive().nullable()
18141
+ }), object({ success: literal(true) }), {
18142
+ kind: "mutation",
18143
+ auth: "admin"
18144
+ }), method(object({
18145
+ agentNodeId: string(),
18146
+ detect: boolean().nullable().optional(),
18147
+ decode: boolean().nullable().optional(),
18148
+ audio: boolean().nullable().optional(),
18149
+ ingest: boolean().nullable().optional()
18150
+ }), object({ success: literal(true) }), {
18151
+ kind: "mutation",
18152
+ auth: "admin"
18128
18153
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
18129
18154
  deviceId: number(),
18130
18155
  addonId: string(),
@@ -23984,6 +24009,18 @@ Object.freeze({
23984
24009
  addonId: null,
23985
24010
  access: "create"
23986
24011
  },
24012
+ "pipelineOrchestrator.setAgentCapabilities": {
24013
+ capName: "pipeline-orchestrator",
24014
+ capScope: "system",
24015
+ addonId: null,
24016
+ access: "create"
24017
+ },
24018
+ "pipelineOrchestrator.setAgentDetectWeight": {
24019
+ capName: "pipeline-orchestrator",
24020
+ capScope: "system",
24021
+ addonId: null,
24022
+ access: "create"
24023
+ },
23987
24024
  "pipelineOrchestrator.setAgentMaxCameras": {
23988
24025
  capName: "pipeline-orchestrator",
23989
24026
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-velux",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Velux KLF-200 device-provider addon for CamStack — local-gateway window + shutter covers (positional, no tilt)",
5
5
  "keywords": [
6
6
  "camstack",