@camstack/addon-export-hap 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.
@@ -14996,7 +14996,17 @@ var AgentAddonConfigSchema = object({
14996
14996
  });
14997
14997
  var AgentPipelineSettingsSchema = object({
14998
14998
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
14999
- maxCameras: number().int().nonnegative().nullable().default(null)
14999
+ maxCameras: number().int().nonnegative().nullable().default(null),
15000
+ /** Per-node detection weight (relative share for the quota balancer). */
15001
+ detectWeight: number().positive().optional(),
15002
+ /** Node is eligible to run the detection pipeline (decode + inference). */
15003
+ detect: boolean().optional(),
15004
+ /** Node is eligible to host decoder sessions. */
15005
+ decode: boolean().optional(),
15006
+ /** Node is eligible to run audio-analyzer sessions. */
15007
+ audio: boolean().optional(),
15008
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
15009
+ ingest: boolean().optional()
15000
15010
  });
15001
15011
  var CameraPipelineForAgentSchema = object({
15002
15012
  steps: array(PipelineStepInputSchema).readonly(),
@@ -15302,6 +15312,21 @@ method(object({
15302
15312
  }), object({ success: literal(true) }), {
15303
15313
  kind: "mutation",
15304
15314
  auth: "admin"
15315
+ }), method(object({
15316
+ agentNodeId: string(),
15317
+ detectWeight: number().positive().nullable()
15318
+ }), object({ success: literal(true) }), {
15319
+ kind: "mutation",
15320
+ auth: "admin"
15321
+ }), method(object({
15322
+ agentNodeId: string(),
15323
+ detect: boolean().nullable().optional(),
15324
+ decode: boolean().nullable().optional(),
15325
+ audio: boolean().nullable().optional(),
15326
+ ingest: boolean().nullable().optional()
15327
+ }), object({ success: literal(true) }), {
15328
+ kind: "mutation",
15329
+ auth: "admin"
15305
15330
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
15306
15331
  deviceId: number(),
15307
15332
  addonId: string(),
@@ -21161,6 +21186,18 @@ Object.freeze({
21161
21186
  addonId: null,
21162
21187
  access: "create"
21163
21188
  },
21189
+ "pipelineOrchestrator.setAgentCapabilities": {
21190
+ capName: "pipeline-orchestrator",
21191
+ capScope: "system",
21192
+ addonId: null,
21193
+ access: "create"
21194
+ },
21195
+ "pipelineOrchestrator.setAgentDetectWeight": {
21196
+ capName: "pipeline-orchestrator",
21197
+ capScope: "system",
21198
+ addonId: null,
21199
+ access: "create"
21200
+ },
21164
21201
  "pipelineOrchestrator.setAgentMaxCameras": {
21165
21202
  capName: "pipeline-orchestrator",
21166
21203
  capScope: "system",
@@ -14971,7 +14971,17 @@ var AgentAddonConfigSchema = object({
14971
14971
  });
14972
14972
  var AgentPipelineSettingsSchema = object({
14973
14973
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
14974
- maxCameras: number().int().nonnegative().nullable().default(null)
14974
+ maxCameras: number().int().nonnegative().nullable().default(null),
14975
+ /** Per-node detection weight (relative share for the quota balancer). */
14976
+ detectWeight: number().positive().optional(),
14977
+ /** Node is eligible to run the detection pipeline (decode + inference). */
14978
+ detect: boolean().optional(),
14979
+ /** Node is eligible to host decoder sessions. */
14980
+ decode: boolean().optional(),
14981
+ /** Node is eligible to run audio-analyzer sessions. */
14982
+ audio: boolean().optional(),
14983
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
14984
+ ingest: boolean().optional()
14975
14985
  });
14976
14986
  var CameraPipelineForAgentSchema = object({
14977
14987
  steps: array(PipelineStepInputSchema).readonly(),
@@ -15277,6 +15287,21 @@ method(object({
15277
15287
  }), object({ success: literal(true) }), {
15278
15288
  kind: "mutation",
15279
15289
  auth: "admin"
15290
+ }), method(object({
15291
+ agentNodeId: string(),
15292
+ detectWeight: number().positive().nullable()
15293
+ }), object({ success: literal(true) }), {
15294
+ kind: "mutation",
15295
+ auth: "admin"
15296
+ }), method(object({
15297
+ agentNodeId: string(),
15298
+ detect: boolean().nullable().optional(),
15299
+ decode: boolean().nullable().optional(),
15300
+ audio: boolean().nullable().optional(),
15301
+ ingest: boolean().nullable().optional()
15302
+ }), object({ success: literal(true) }), {
15303
+ kind: "mutation",
15304
+ auth: "admin"
15280
15305
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
15281
15306
  deviceId: number(),
15282
15307
  addonId: string(),
@@ -21136,6 +21161,18 @@ Object.freeze({
21136
21161
  addonId: null,
21137
21162
  access: "create"
21138
21163
  },
21164
+ "pipelineOrchestrator.setAgentCapabilities": {
21165
+ capName: "pipeline-orchestrator",
21166
+ capScope: "system",
21167
+ addonId: null,
21168
+ access: "create"
21169
+ },
21170
+ "pipelineOrchestrator.setAgentDetectWeight": {
21171
+ capName: "pipeline-orchestrator",
21172
+ capScope: "system",
21173
+ addonId: null,
21174
+ access: "create"
21175
+ },
21139
21176
  "pipelineOrchestrator.setAgentMaxCameras": {
21140
21177
  capName: "pipeline-orchestrator",
21141
21178
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-hap",
3
- "version": "1.1.15",
3
+ "version": "1.1.16",
4
4
  "description": "HomeKit (HAP) bridge exporter for CamStack devices. Publishes a bridged accessory per exposed device — MotionSensor in this MVP; Camera/Doorbell/Switch/Light follow.",
5
5
  "keywords": [
6
6
  "camstack",