@camstack/addon-provider-gree 0.1.14 → 0.1.15

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
@@ -17823,7 +17823,17 @@ var AgentAddonConfigSchema = object({
17823
17823
  });
17824
17824
  var AgentPipelineSettingsSchema = object({
17825
17825
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
17826
- maxCameras: number().int().nonnegative().nullable().default(null)
17826
+ maxCameras: number().int().nonnegative().nullable().default(null),
17827
+ /** Per-node detection weight (relative share for the quota balancer). */
17828
+ detectWeight: number().positive().optional(),
17829
+ /** Node is eligible to run the detection pipeline (decode + inference). */
17830
+ detect: boolean().optional(),
17831
+ /** Node is eligible to host decoder sessions. */
17832
+ decode: boolean().optional(),
17833
+ /** Node is eligible to run audio-analyzer sessions. */
17834
+ audio: boolean().optional(),
17835
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
17836
+ ingest: boolean().optional()
17827
17837
  });
17828
17838
  var CameraPipelineForAgentSchema = object({
17829
17839
  steps: array(PipelineStepInputSchema).readonly(),
@@ -18129,6 +18139,21 @@ method(object({
18129
18139
  }), object({ success: literal(true) }), {
18130
18140
  kind: "mutation",
18131
18141
  auth: "admin"
18142
+ }), method(object({
18143
+ agentNodeId: string(),
18144
+ detectWeight: number().positive().nullable()
18145
+ }), object({ success: literal(true) }), {
18146
+ kind: "mutation",
18147
+ auth: "admin"
18148
+ }), method(object({
18149
+ agentNodeId: string(),
18150
+ detect: boolean().nullable().optional(),
18151
+ decode: boolean().nullable().optional(),
18152
+ audio: boolean().nullable().optional(),
18153
+ ingest: boolean().nullable().optional()
18154
+ }), object({ success: literal(true) }), {
18155
+ kind: "mutation",
18156
+ auth: "admin"
18132
18157
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
18133
18158
  deviceId: number(),
18134
18159
  addonId: string(),
@@ -23988,6 +24013,18 @@ Object.freeze({
23988
24013
  addonId: null,
23989
24014
  access: "create"
23990
24015
  },
24016
+ "pipelineOrchestrator.setAgentCapabilities": {
24017
+ capName: "pipeline-orchestrator",
24018
+ capScope: "system",
24019
+ addonId: null,
24020
+ access: "create"
24021
+ },
24022
+ "pipelineOrchestrator.setAgentDetectWeight": {
24023
+ capName: "pipeline-orchestrator",
24024
+ capScope: "system",
24025
+ addonId: null,
24026
+ access: "create"
24027
+ },
23991
24028
  "pipelineOrchestrator.setAgentMaxCameras": {
23992
24029
  capName: "pipeline-orchestrator",
23993
24030
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -17822,7 +17822,17 @@ var AgentAddonConfigSchema = object({
17822
17822
  });
17823
17823
  var AgentPipelineSettingsSchema = object({
17824
17824
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
17825
- maxCameras: number().int().nonnegative().nullable().default(null)
17825
+ maxCameras: number().int().nonnegative().nullable().default(null),
17826
+ /** Per-node detection weight (relative share for the quota balancer). */
17827
+ detectWeight: number().positive().optional(),
17828
+ /** Node is eligible to run the detection pipeline (decode + inference). */
17829
+ detect: boolean().optional(),
17830
+ /** Node is eligible to host decoder sessions. */
17831
+ decode: boolean().optional(),
17832
+ /** Node is eligible to run audio-analyzer sessions. */
17833
+ audio: boolean().optional(),
17834
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
17835
+ ingest: boolean().optional()
17826
17836
  });
17827
17837
  var CameraPipelineForAgentSchema = object({
17828
17838
  steps: array(PipelineStepInputSchema).readonly(),
@@ -18128,6 +18138,21 @@ method(object({
18128
18138
  }), object({ success: literal(true) }), {
18129
18139
  kind: "mutation",
18130
18140
  auth: "admin"
18141
+ }), method(object({
18142
+ agentNodeId: string(),
18143
+ detectWeight: number().positive().nullable()
18144
+ }), object({ success: literal(true) }), {
18145
+ kind: "mutation",
18146
+ auth: "admin"
18147
+ }), method(object({
18148
+ agentNodeId: string(),
18149
+ detect: boolean().nullable().optional(),
18150
+ decode: boolean().nullable().optional(),
18151
+ audio: boolean().nullable().optional(),
18152
+ ingest: boolean().nullable().optional()
18153
+ }), object({ success: literal(true) }), {
18154
+ kind: "mutation",
18155
+ auth: "admin"
18131
18156
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
18132
18157
  deviceId: number(),
18133
18158
  addonId: string(),
@@ -23987,6 +24012,18 @@ Object.freeze({
23987
24012
  addonId: null,
23988
24013
  access: "create"
23989
24014
  },
24015
+ "pipelineOrchestrator.setAgentCapabilities": {
24016
+ capName: "pipeline-orchestrator",
24017
+ capScope: "system",
24018
+ addonId: null,
24019
+ access: "create"
24020
+ },
24021
+ "pipelineOrchestrator.setAgentDetectWeight": {
24022
+ capName: "pipeline-orchestrator",
24023
+ capScope: "system",
24024
+ addonId: null,
24025
+ access: "create"
24026
+ },
23990
24027
  "pipelineOrchestrator.setAgentMaxCameras": {
23991
24028
  capName: "pipeline-orchestrator",
23992
24029
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-gree",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "Gree air-conditioner device-provider addon for CamStack — wraps the @apocaliss92/nodegree local-UDP client (LAN discovery + AES control), exposing climate-control and fan-control",
5
5
  "keywords": [
6
6
  "camstack",