@camstack/addon-provider-dreo 0.1.11 → 0.1.12

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
@@ -17859,7 +17859,17 @@ var AgentAddonConfigSchema = object({
17859
17859
  });
17860
17860
  var AgentPipelineSettingsSchema = object({
17861
17861
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
17862
- maxCameras: number().int().nonnegative().nullable().default(null)
17862
+ maxCameras: number().int().nonnegative().nullable().default(null),
17863
+ /** Per-node detection weight (relative share for the quota balancer). */
17864
+ detectWeight: number().positive().optional(),
17865
+ /** Node is eligible to run the detection pipeline (decode + inference). */
17866
+ detect: boolean().optional(),
17867
+ /** Node is eligible to host decoder sessions. */
17868
+ decode: boolean().optional(),
17869
+ /** Node is eligible to run audio-analyzer sessions. */
17870
+ audio: boolean().optional(),
17871
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
17872
+ ingest: boolean().optional()
17863
17873
  });
17864
17874
  var CameraPipelineForAgentSchema = object({
17865
17875
  steps: array(PipelineStepInputSchema).readonly(),
@@ -18165,6 +18175,21 @@ method(object({
18165
18175
  }), object({ success: literal(true) }), {
18166
18176
  kind: "mutation",
18167
18177
  auth: "admin"
18178
+ }), method(object({
18179
+ agentNodeId: string(),
18180
+ detectWeight: number().positive().nullable()
18181
+ }), object({ success: literal(true) }), {
18182
+ kind: "mutation",
18183
+ auth: "admin"
18184
+ }), method(object({
18185
+ agentNodeId: string(),
18186
+ detect: boolean().nullable().optional(),
18187
+ decode: boolean().nullable().optional(),
18188
+ audio: boolean().nullable().optional(),
18189
+ ingest: boolean().nullable().optional()
18190
+ }), object({ success: literal(true) }), {
18191
+ kind: "mutation",
18192
+ auth: "admin"
18168
18193
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
18169
18194
  deviceId: number(),
18170
18195
  addonId: string(),
@@ -24024,6 +24049,18 @@ Object.freeze({
24024
24049
  addonId: null,
24025
24050
  access: "create"
24026
24051
  },
24052
+ "pipelineOrchestrator.setAgentCapabilities": {
24053
+ capName: "pipeline-orchestrator",
24054
+ capScope: "system",
24055
+ addonId: null,
24056
+ access: "create"
24057
+ },
24058
+ "pipelineOrchestrator.setAgentDetectWeight": {
24059
+ capName: "pipeline-orchestrator",
24060
+ capScope: "system",
24061
+ addonId: null,
24062
+ access: "create"
24063
+ },
24027
24064
  "pipelineOrchestrator.setAgentMaxCameras": {
24028
24065
  capName: "pipeline-orchestrator",
24029
24066
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -17860,7 +17860,17 @@ var AgentAddonConfigSchema = object({
17860
17860
  });
17861
17861
  var AgentPipelineSettingsSchema = object({
17862
17862
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
17863
- maxCameras: number().int().nonnegative().nullable().default(null)
17863
+ maxCameras: number().int().nonnegative().nullable().default(null),
17864
+ /** Per-node detection weight (relative share for the quota balancer). */
17865
+ detectWeight: number().positive().optional(),
17866
+ /** Node is eligible to run the detection pipeline (decode + inference). */
17867
+ detect: boolean().optional(),
17868
+ /** Node is eligible to host decoder sessions. */
17869
+ decode: boolean().optional(),
17870
+ /** Node is eligible to run audio-analyzer sessions. */
17871
+ audio: boolean().optional(),
17872
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
17873
+ ingest: boolean().optional()
17864
17874
  });
17865
17875
  var CameraPipelineForAgentSchema = object({
17866
17876
  steps: array(PipelineStepInputSchema).readonly(),
@@ -18166,6 +18176,21 @@ method(object({
18166
18176
  }), object({ success: literal(true) }), {
18167
18177
  kind: "mutation",
18168
18178
  auth: "admin"
18179
+ }), method(object({
18180
+ agentNodeId: string(),
18181
+ detectWeight: number().positive().nullable()
18182
+ }), object({ success: literal(true) }), {
18183
+ kind: "mutation",
18184
+ auth: "admin"
18185
+ }), method(object({
18186
+ agentNodeId: string(),
18187
+ detect: boolean().nullable().optional(),
18188
+ decode: boolean().nullable().optional(),
18189
+ audio: boolean().nullable().optional(),
18190
+ ingest: boolean().nullable().optional()
18191
+ }), object({ success: literal(true) }), {
18192
+ kind: "mutation",
18193
+ auth: "admin"
18169
18194
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
18170
18195
  deviceId: number(),
18171
18196
  addonId: string(),
@@ -24025,6 +24050,18 @@ Object.freeze({
24025
24050
  addonId: null,
24026
24051
  access: "create"
24027
24052
  },
24053
+ "pipelineOrchestrator.setAgentCapabilities": {
24054
+ capName: "pipeline-orchestrator",
24055
+ capScope: "system",
24056
+ addonId: null,
24057
+ access: "create"
24058
+ },
24059
+ "pipelineOrchestrator.setAgentDetectWeight": {
24060
+ capName: "pipeline-orchestrator",
24061
+ capScope: "system",
24062
+ addonId: null,
24063
+ access: "create"
24064
+ },
24028
24065
  "pipelineOrchestrator.setAgentMaxCameras": {
24029
24066
  capName: "pipeline-orchestrator",
24030
24067
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-dreo",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "description": "Dreo smart-device (fan / air-circulator / purifier / heater / humidifier) device-provider addon for CamStack — wraps the @apocaliss92/nodedreo Dreo cloud client (REST + WebSocket)",
5
5
  "keywords": [
6
6
  "camstack",