@camstack/addon-notifiers 1.1.17 → 1.1.18

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
@@ -15091,7 +15091,17 @@ var AgentAddonConfigSchema = object({
15091
15091
  });
15092
15092
  var AgentPipelineSettingsSchema = object({
15093
15093
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
15094
- maxCameras: number().int().nonnegative().nullable().default(null)
15094
+ maxCameras: number().int().nonnegative().nullable().default(null),
15095
+ /** Per-node detection weight (relative share for the quota balancer). */
15096
+ detectWeight: number().positive().optional(),
15097
+ /** Node is eligible to run the detection pipeline (decode + inference). */
15098
+ detect: boolean().optional(),
15099
+ /** Node is eligible to host decoder sessions. */
15100
+ decode: boolean().optional(),
15101
+ /** Node is eligible to run audio-analyzer sessions. */
15102
+ audio: boolean().optional(),
15103
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
15104
+ ingest: boolean().optional()
15095
15105
  });
15096
15106
  var CameraPipelineForAgentSchema = object({
15097
15107
  steps: array(PipelineStepInputSchema).readonly(),
@@ -15397,6 +15407,21 @@ method(object({
15397
15407
  }), object({ success: literal(true) }), {
15398
15408
  kind: "mutation",
15399
15409
  auth: "admin"
15410
+ }), method(object({
15411
+ agentNodeId: string(),
15412
+ detectWeight: number().positive().nullable()
15413
+ }), object({ success: literal(true) }), {
15414
+ kind: "mutation",
15415
+ auth: "admin"
15416
+ }), method(object({
15417
+ agentNodeId: string(),
15418
+ detect: boolean().nullable().optional(),
15419
+ decode: boolean().nullable().optional(),
15420
+ audio: boolean().nullable().optional(),
15421
+ ingest: boolean().nullable().optional()
15422
+ }), object({ success: literal(true) }), {
15423
+ kind: "mutation",
15424
+ auth: "admin"
15400
15425
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
15401
15426
  deviceId: number(),
15402
15427
  addonId: string(),
@@ -21256,6 +21281,18 @@ Object.freeze({
21256
21281
  addonId: null,
21257
21282
  access: "create"
21258
21283
  },
21284
+ "pipelineOrchestrator.setAgentCapabilities": {
21285
+ capName: "pipeline-orchestrator",
21286
+ capScope: "system",
21287
+ addonId: null,
21288
+ access: "create"
21289
+ },
21290
+ "pipelineOrchestrator.setAgentDetectWeight": {
21291
+ capName: "pipeline-orchestrator",
21292
+ capScope: "system",
21293
+ addonId: null,
21294
+ access: "create"
21295
+ },
21259
21296
  "pipelineOrchestrator.setAgentMaxCameras": {
21260
21297
  capName: "pipeline-orchestrator",
21261
21298
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -15087,7 +15087,17 @@ var AgentAddonConfigSchema = object({
15087
15087
  });
15088
15088
  var AgentPipelineSettingsSchema = object({
15089
15089
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
15090
- maxCameras: number().int().nonnegative().nullable().default(null)
15090
+ maxCameras: number().int().nonnegative().nullable().default(null),
15091
+ /** Per-node detection weight (relative share for the quota balancer). */
15092
+ detectWeight: number().positive().optional(),
15093
+ /** Node is eligible to run the detection pipeline (decode + inference). */
15094
+ detect: boolean().optional(),
15095
+ /** Node is eligible to host decoder sessions. */
15096
+ decode: boolean().optional(),
15097
+ /** Node is eligible to run audio-analyzer sessions. */
15098
+ audio: boolean().optional(),
15099
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
15100
+ ingest: boolean().optional()
15091
15101
  });
15092
15102
  var CameraPipelineForAgentSchema = object({
15093
15103
  steps: array(PipelineStepInputSchema).readonly(),
@@ -15393,6 +15403,21 @@ method(object({
15393
15403
  }), object({ success: literal(true) }), {
15394
15404
  kind: "mutation",
15395
15405
  auth: "admin"
15406
+ }), method(object({
15407
+ agentNodeId: string(),
15408
+ detectWeight: number().positive().nullable()
15409
+ }), object({ success: literal(true) }), {
15410
+ kind: "mutation",
15411
+ auth: "admin"
15412
+ }), method(object({
15413
+ agentNodeId: string(),
15414
+ detect: boolean().nullable().optional(),
15415
+ decode: boolean().nullable().optional(),
15416
+ audio: boolean().nullable().optional(),
15417
+ ingest: boolean().nullable().optional()
15418
+ }), object({ success: literal(true) }), {
15419
+ kind: "mutation",
15420
+ auth: "admin"
15396
15421
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
15397
15422
  deviceId: number(),
15398
15423
  addonId: string(),
@@ -21252,6 +21277,18 @@ Object.freeze({
21252
21277
  addonId: null,
21253
21278
  access: "create"
21254
21279
  },
21280
+ "pipelineOrchestrator.setAgentCapabilities": {
21281
+ capName: "pipeline-orchestrator",
21282
+ capScope: "system",
21283
+ addonId: null,
21284
+ access: "create"
21285
+ },
21286
+ "pipelineOrchestrator.setAgentDetectWeight": {
21287
+ capName: "pipeline-orchestrator",
21288
+ capScope: "system",
21289
+ addonId: null,
21290
+ access: "create"
21291
+ },
21255
21292
  "pipelineOrchestrator.setAgentMaxCameras": {
21256
21293
  capName: "pipeline-orchestrator",
21257
21294
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-notifiers",
3
- "version": "1.1.17",
3
+ "version": "1.1.18",
4
4
  "description": "System notifiers addon for CamStack — a `notification-output` collection provider hosting per-kind notifier adapters (ntfy, pushover, gotify, telegram, discord, webhook, zentik).",
5
5
  "keywords": [
6
6
  "camstack",