@camstack/addon-provider-hikvision 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.
package/dist/addon.js CHANGED
@@ -18027,7 +18027,17 @@ var AgentAddonConfigSchema = object({
18027
18027
  });
18028
18028
  var AgentPipelineSettingsSchema = object({
18029
18029
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
18030
- maxCameras: number().int().nonnegative().nullable().default(null)
18030
+ maxCameras: number().int().nonnegative().nullable().default(null),
18031
+ /** Per-node detection weight (relative share for the quota balancer). */
18032
+ detectWeight: number().positive().optional(),
18033
+ /** Node is eligible to run the detection pipeline (decode + inference). */
18034
+ detect: boolean().optional(),
18035
+ /** Node is eligible to host decoder sessions. */
18036
+ decode: boolean().optional(),
18037
+ /** Node is eligible to run audio-analyzer sessions. */
18038
+ audio: boolean().optional(),
18039
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
18040
+ ingest: boolean().optional()
18031
18041
  });
18032
18042
  var CameraPipelineForAgentSchema = object({
18033
18043
  steps: array(PipelineStepInputSchema).readonly(),
@@ -18333,6 +18343,21 @@ method(object({
18333
18343
  }), object({ success: literal(true) }), {
18334
18344
  kind: "mutation",
18335
18345
  auth: "admin"
18346
+ }), method(object({
18347
+ agentNodeId: string(),
18348
+ detectWeight: number().positive().nullable()
18349
+ }), object({ success: literal(true) }), {
18350
+ kind: "mutation",
18351
+ auth: "admin"
18352
+ }), method(object({
18353
+ agentNodeId: string(),
18354
+ detect: boolean().nullable().optional(),
18355
+ decode: boolean().nullable().optional(),
18356
+ audio: boolean().nullable().optional(),
18357
+ ingest: boolean().nullable().optional()
18358
+ }), object({ success: literal(true) }), {
18359
+ kind: "mutation",
18360
+ auth: "admin"
18336
18361
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
18337
18362
  deviceId: number(),
18338
18363
  addonId: string(),
@@ -24610,6 +24635,18 @@ Object.freeze({
24610
24635
  addonId: null,
24611
24636
  access: "create"
24612
24637
  },
24638
+ "pipelineOrchestrator.setAgentCapabilities": {
24639
+ capName: "pipeline-orchestrator",
24640
+ capScope: "system",
24641
+ addonId: null,
24642
+ access: "create"
24643
+ },
24644
+ "pipelineOrchestrator.setAgentDetectWeight": {
24645
+ capName: "pipeline-orchestrator",
24646
+ capScope: "system",
24647
+ addonId: null,
24648
+ access: "create"
24649
+ },
24613
24650
  "pipelineOrchestrator.setAgentMaxCameras": {
24614
24651
  capName: "pipeline-orchestrator",
24615
24652
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -18028,7 +18028,17 @@ var AgentAddonConfigSchema = object({
18028
18028
  });
18029
18029
  var AgentPipelineSettingsSchema = object({
18030
18030
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
18031
- maxCameras: number().int().nonnegative().nullable().default(null)
18031
+ maxCameras: number().int().nonnegative().nullable().default(null),
18032
+ /** Per-node detection weight (relative share for the quota balancer). */
18033
+ detectWeight: number().positive().optional(),
18034
+ /** Node is eligible to run the detection pipeline (decode + inference). */
18035
+ detect: boolean().optional(),
18036
+ /** Node is eligible to host decoder sessions. */
18037
+ decode: boolean().optional(),
18038
+ /** Node is eligible to run audio-analyzer sessions. */
18039
+ audio: boolean().optional(),
18040
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
18041
+ ingest: boolean().optional()
18032
18042
  });
18033
18043
  var CameraPipelineForAgentSchema = object({
18034
18044
  steps: array(PipelineStepInputSchema).readonly(),
@@ -18334,6 +18344,21 @@ method(object({
18334
18344
  }), object({ success: literal(true) }), {
18335
18345
  kind: "mutation",
18336
18346
  auth: "admin"
18347
+ }), method(object({
18348
+ agentNodeId: string(),
18349
+ detectWeight: number().positive().nullable()
18350
+ }), object({ success: literal(true) }), {
18351
+ kind: "mutation",
18352
+ auth: "admin"
18353
+ }), method(object({
18354
+ agentNodeId: string(),
18355
+ detect: boolean().nullable().optional(),
18356
+ decode: boolean().nullable().optional(),
18357
+ audio: boolean().nullable().optional(),
18358
+ ingest: boolean().nullable().optional()
18359
+ }), object({ success: literal(true) }), {
18360
+ kind: "mutation",
18361
+ auth: "admin"
18337
18362
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
18338
18363
  deviceId: number(),
18339
18364
  addonId: string(),
@@ -24611,6 +24636,18 @@ Object.freeze({
24611
24636
  addonId: null,
24612
24637
  access: "create"
24613
24638
  },
24639
+ "pipelineOrchestrator.setAgentCapabilities": {
24640
+ capName: "pipeline-orchestrator",
24641
+ capScope: "system",
24642
+ addonId: null,
24643
+ access: "create"
24644
+ },
24645
+ "pipelineOrchestrator.setAgentDetectWeight": {
24646
+ capName: "pipeline-orchestrator",
24647
+ capScope: "system",
24648
+ addonId: null,
24649
+ access: "create"
24650
+ },
24614
24651
  "pipelineOrchestrator.setAgentMaxCameras": {
24615
24652
  capName: "pipeline-orchestrator",
24616
24653
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-hikvision",
3
- "version": "1.1.15",
3
+ "version": "1.1.16",
4
4
  "description": "Hikvision camera device provider addon for CamStack — ISAPI over HTTP(S) with digest auth (snapshot, alarm stream, RTSP discovery)",
5
5
  "keywords": [
6
6
  "camstack",