@camstack/addon-export-ha-mqtt 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.
@@ -14957,7 +14957,17 @@ var AgentAddonConfigSchema = object({
14957
14957
  });
14958
14958
  var AgentPipelineSettingsSchema = object({
14959
14959
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
14960
- maxCameras: number$1().int().nonnegative().nullable().default(null)
14960
+ maxCameras: number$1().int().nonnegative().nullable().default(null),
14961
+ /** Per-node detection weight (relative share for the quota balancer). */
14962
+ detectWeight: number$1().positive().optional(),
14963
+ /** Node is eligible to run the detection pipeline (decode + inference). */
14964
+ detect: boolean().optional(),
14965
+ /** Node is eligible to host decoder sessions. */
14966
+ decode: boolean().optional(),
14967
+ /** Node is eligible to run audio-analyzer sessions. */
14968
+ audio: boolean().optional(),
14969
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
14970
+ ingest: boolean().optional()
14961
14971
  });
14962
14972
  var CameraPipelineForAgentSchema = object({
14963
14973
  steps: array(PipelineStepInputSchema).readonly(),
@@ -15263,6 +15273,21 @@ method(object({
15263
15273
  }), object({ success: literal(true) }), {
15264
15274
  kind: "mutation",
15265
15275
  auth: "admin"
15276
+ }), method(object({
15277
+ agentNodeId: string(),
15278
+ detectWeight: number$1().positive().nullable()
15279
+ }), object({ success: literal(true) }), {
15280
+ kind: "mutation",
15281
+ auth: "admin"
15282
+ }), method(object({
15283
+ agentNodeId: string(),
15284
+ detect: boolean().nullable().optional(),
15285
+ decode: boolean().nullable().optional(),
15286
+ audio: boolean().nullable().optional(),
15287
+ ingest: boolean().nullable().optional()
15288
+ }), object({ success: literal(true) }), {
15289
+ kind: "mutation",
15290
+ auth: "admin"
15266
15291
  }), method(object({ deviceId: number$1() }), CameraPipelineSettingsSchema.nullable()), method(object({
15267
15292
  deviceId: number$1(),
15268
15293
  addonId: string(),
@@ -21122,6 +21147,18 @@ Object.freeze({
21122
21147
  addonId: null,
21123
21148
  access: "create"
21124
21149
  },
21150
+ "pipelineOrchestrator.setAgentCapabilities": {
21151
+ capName: "pipeline-orchestrator",
21152
+ capScope: "system",
21153
+ addonId: null,
21154
+ access: "create"
21155
+ },
21156
+ "pipelineOrchestrator.setAgentDetectWeight": {
21157
+ capName: "pipeline-orchestrator",
21158
+ capScope: "system",
21159
+ addonId: null,
21160
+ access: "create"
21161
+ },
21125
21162
  "pipelineOrchestrator.setAgentMaxCameras": {
21126
21163
  capName: "pipeline-orchestrator",
21127
21164
  capScope: "system",
@@ -14955,7 +14955,17 @@ var AgentAddonConfigSchema = object({
14955
14955
  });
14956
14956
  var AgentPipelineSettingsSchema = object({
14957
14957
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
14958
- maxCameras: number$1().int().nonnegative().nullable().default(null)
14958
+ maxCameras: number$1().int().nonnegative().nullable().default(null),
14959
+ /** Per-node detection weight (relative share for the quota balancer). */
14960
+ detectWeight: number$1().positive().optional(),
14961
+ /** Node is eligible to run the detection pipeline (decode + inference). */
14962
+ detect: boolean().optional(),
14963
+ /** Node is eligible to host decoder sessions. */
14964
+ decode: boolean().optional(),
14965
+ /** Node is eligible to run audio-analyzer sessions. */
14966
+ audio: boolean().optional(),
14967
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
14968
+ ingest: boolean().optional()
14959
14969
  });
14960
14970
  var CameraPipelineForAgentSchema = object({
14961
14971
  steps: array(PipelineStepInputSchema).readonly(),
@@ -15261,6 +15271,21 @@ method(object({
15261
15271
  }), object({ success: literal(true) }), {
15262
15272
  kind: "mutation",
15263
15273
  auth: "admin"
15274
+ }), method(object({
15275
+ agentNodeId: string(),
15276
+ detectWeight: number$1().positive().nullable()
15277
+ }), object({ success: literal(true) }), {
15278
+ kind: "mutation",
15279
+ auth: "admin"
15280
+ }), method(object({
15281
+ agentNodeId: string(),
15282
+ detect: boolean().nullable().optional(),
15283
+ decode: boolean().nullable().optional(),
15284
+ audio: boolean().nullable().optional(),
15285
+ ingest: boolean().nullable().optional()
15286
+ }), object({ success: literal(true) }), {
15287
+ kind: "mutation",
15288
+ auth: "admin"
15264
15289
  }), method(object({ deviceId: number$1() }), CameraPipelineSettingsSchema.nullable()), method(object({
15265
15290
  deviceId: number$1(),
15266
15291
  addonId: string(),
@@ -21120,6 +21145,18 @@ Object.freeze({
21120
21145
  addonId: null,
21121
21146
  access: "create"
21122
21147
  },
21148
+ "pipelineOrchestrator.setAgentCapabilities": {
21149
+ capName: "pipeline-orchestrator",
21150
+ capScope: "system",
21151
+ addonId: null,
21152
+ access: "create"
21153
+ },
21154
+ "pipelineOrchestrator.setAgentDetectWeight": {
21155
+ capName: "pipeline-orchestrator",
21156
+ capScope: "system",
21157
+ addonId: null,
21158
+ access: "create"
21159
+ },
21123
21160
  "pipelineOrchestrator.setAgentMaxCameras": {
21124
21161
  capName: "pipeline-orchestrator",
21125
21162
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-ha-mqtt",
3
- "version": "1.1.15",
3
+ "version": "1.1.16",
4
4
  "description": "HomeAssistant MQTT discovery exporter for CamStack devices. Publishes discovery topics so HA auto-creates entities for exposed cameras/switches/intercoms/sensors.",
5
5
  "keywords": [
6
6
  "camstack",