@camstack/addon-provider-dreame 0.1.22 → 0.1.23

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
@@ -17875,7 +17875,17 @@ var AgentAddonConfigSchema = object({
17875
17875
  });
17876
17876
  var AgentPipelineSettingsSchema = object({
17877
17877
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
17878
- maxCameras: number().int().nonnegative().nullable().default(null)
17878
+ maxCameras: number().int().nonnegative().nullable().default(null),
17879
+ /** Per-node detection weight (relative share for the quota balancer). */
17880
+ detectWeight: number().positive().optional(),
17881
+ /** Node is eligible to run the detection pipeline (decode + inference). */
17882
+ detect: boolean().optional(),
17883
+ /** Node is eligible to host decoder sessions. */
17884
+ decode: boolean().optional(),
17885
+ /** Node is eligible to run audio-analyzer sessions. */
17886
+ audio: boolean().optional(),
17887
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
17888
+ ingest: boolean().optional()
17879
17889
  });
17880
17890
  var CameraPipelineForAgentSchema = object({
17881
17891
  steps: array(PipelineStepInputSchema).readonly(),
@@ -18181,6 +18191,21 @@ method(object({
18181
18191
  }), object({ success: literal(true) }), {
18182
18192
  kind: "mutation",
18183
18193
  auth: "admin"
18194
+ }), method(object({
18195
+ agentNodeId: string(),
18196
+ detectWeight: number().positive().nullable()
18197
+ }), object({ success: literal(true) }), {
18198
+ kind: "mutation",
18199
+ auth: "admin"
18200
+ }), method(object({
18201
+ agentNodeId: string(),
18202
+ detect: boolean().nullable().optional(),
18203
+ decode: boolean().nullable().optional(),
18204
+ audio: boolean().nullable().optional(),
18205
+ ingest: boolean().nullable().optional()
18206
+ }), object({ success: literal(true) }), {
18207
+ kind: "mutation",
18208
+ auth: "admin"
18184
18209
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
18185
18210
  deviceId: number(),
18186
18211
  addonId: string(),
@@ -24057,6 +24082,18 @@ Object.freeze({
24057
24082
  addonId: null,
24058
24083
  access: "create"
24059
24084
  },
24085
+ "pipelineOrchestrator.setAgentCapabilities": {
24086
+ capName: "pipeline-orchestrator",
24087
+ capScope: "system",
24088
+ addonId: null,
24089
+ access: "create"
24090
+ },
24091
+ "pipelineOrchestrator.setAgentDetectWeight": {
24092
+ capName: "pipeline-orchestrator",
24093
+ capScope: "system",
24094
+ addonId: null,
24095
+ access: "create"
24096
+ },
24060
24097
  "pipelineOrchestrator.setAgentMaxCameras": {
24061
24098
  capName: "pipeline-orchestrator",
24062
24099
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -17875,7 +17875,17 @@ var AgentAddonConfigSchema = object({
17875
17875
  });
17876
17876
  var AgentPipelineSettingsSchema = object({
17877
17877
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
17878
- maxCameras: number().int().nonnegative().nullable().default(null)
17878
+ maxCameras: number().int().nonnegative().nullable().default(null),
17879
+ /** Per-node detection weight (relative share for the quota balancer). */
17880
+ detectWeight: number().positive().optional(),
17881
+ /** Node is eligible to run the detection pipeline (decode + inference). */
17882
+ detect: boolean().optional(),
17883
+ /** Node is eligible to host decoder sessions. */
17884
+ decode: boolean().optional(),
17885
+ /** Node is eligible to run audio-analyzer sessions. */
17886
+ audio: boolean().optional(),
17887
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
17888
+ ingest: boolean().optional()
17879
17889
  });
17880
17890
  var CameraPipelineForAgentSchema = object({
17881
17891
  steps: array(PipelineStepInputSchema).readonly(),
@@ -18181,6 +18191,21 @@ method(object({
18181
18191
  }), object({ success: literal(true) }), {
18182
18192
  kind: "mutation",
18183
18193
  auth: "admin"
18194
+ }), method(object({
18195
+ agentNodeId: string(),
18196
+ detectWeight: number().positive().nullable()
18197
+ }), object({ success: literal(true) }), {
18198
+ kind: "mutation",
18199
+ auth: "admin"
18200
+ }), method(object({
18201
+ agentNodeId: string(),
18202
+ detect: boolean().nullable().optional(),
18203
+ decode: boolean().nullable().optional(),
18204
+ audio: boolean().nullable().optional(),
18205
+ ingest: boolean().nullable().optional()
18206
+ }), object({ success: literal(true) }), {
18207
+ kind: "mutation",
18208
+ auth: "admin"
18184
18209
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
18185
18210
  deviceId: number(),
18186
18211
  addonId: string(),
@@ -24057,6 +24082,18 @@ Object.freeze({
24057
24082
  addonId: null,
24058
24083
  access: "create"
24059
24084
  },
24085
+ "pipelineOrchestrator.setAgentCapabilities": {
24086
+ capName: "pipeline-orchestrator",
24087
+ capScope: "system",
24088
+ addonId: null,
24089
+ access: "create"
24090
+ },
24091
+ "pipelineOrchestrator.setAgentDetectWeight": {
24092
+ capName: "pipeline-orchestrator",
24093
+ capScope: "system",
24094
+ addonId: null,
24095
+ access: "create"
24096
+ },
24060
24097
  "pipelineOrchestrator.setAgentMaxCameras": {
24061
24098
  capName: "pipeline-orchestrator",
24062
24099
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-dreame",
3
- "version": "0.1.22",
3
+ "version": "0.1.23",
4
4
  "description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
5
5
  "keywords": [
6
6
  "camstack",