@camstack/addon-provider-rademacher 0.1.2 → 0.1.3

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
@@ -18805,7 +18805,17 @@ var AgentAddonConfigSchema = object({
18805
18805
  });
18806
18806
  var AgentPipelineSettingsSchema = object({
18807
18807
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
18808
- maxCameras: number().int().nonnegative().nullable().default(null)
18808
+ maxCameras: number().int().nonnegative().nullable().default(null),
18809
+ /** Per-node detection weight (relative share for the quota balancer). */
18810
+ detectWeight: number().positive().optional(),
18811
+ /** Node is eligible to run the detection pipeline (decode + inference). */
18812
+ detect: boolean().optional(),
18813
+ /** Node is eligible to host decoder sessions. */
18814
+ decode: boolean().optional(),
18815
+ /** Node is eligible to run audio-analyzer sessions. */
18816
+ audio: boolean().optional(),
18817
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
18818
+ ingest: boolean().optional()
18809
18819
  });
18810
18820
  var CameraPipelineForAgentSchema = object({
18811
18821
  steps: array(PipelineStepInputSchema).readonly(),
@@ -19111,6 +19121,21 @@ method(object({
19111
19121
  }), object({ success: literal(true) }), {
19112
19122
  kind: "mutation",
19113
19123
  auth: "admin"
19124
+ }), method(object({
19125
+ agentNodeId: string(),
19126
+ detectWeight: number().positive().nullable()
19127
+ }), object({ success: literal(true) }), {
19128
+ kind: "mutation",
19129
+ auth: "admin"
19130
+ }), method(object({
19131
+ agentNodeId: string(),
19132
+ detect: boolean().nullable().optional(),
19133
+ decode: boolean().nullable().optional(),
19134
+ audio: boolean().nullable().optional(),
19135
+ ingest: boolean().nullable().optional()
19136
+ }), object({ success: literal(true) }), {
19137
+ kind: "mutation",
19138
+ auth: "admin"
19114
19139
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
19115
19140
  deviceId: number(),
19116
19141
  addonId: string(),
@@ -24970,6 +24995,18 @@ Object.freeze({
24970
24995
  addonId: null,
24971
24996
  access: "create"
24972
24997
  },
24998
+ "pipelineOrchestrator.setAgentCapabilities": {
24999
+ capName: "pipeline-orchestrator",
25000
+ capScope: "system",
25001
+ addonId: null,
25002
+ access: "create"
25003
+ },
25004
+ "pipelineOrchestrator.setAgentDetectWeight": {
25005
+ capName: "pipeline-orchestrator",
25006
+ capScope: "system",
25007
+ addonId: null,
25008
+ access: "create"
25009
+ },
24973
25010
  "pipelineOrchestrator.setAgentMaxCameras": {
24974
25011
  capName: "pipeline-orchestrator",
24975
25012
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -18804,7 +18804,17 @@ var AgentAddonConfigSchema = object({
18804
18804
  });
18805
18805
  var AgentPipelineSettingsSchema = object({
18806
18806
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
18807
- maxCameras: number().int().nonnegative().nullable().default(null)
18807
+ maxCameras: number().int().nonnegative().nullable().default(null),
18808
+ /** Per-node detection weight (relative share for the quota balancer). */
18809
+ detectWeight: number().positive().optional(),
18810
+ /** Node is eligible to run the detection pipeline (decode + inference). */
18811
+ detect: boolean().optional(),
18812
+ /** Node is eligible to host decoder sessions. */
18813
+ decode: boolean().optional(),
18814
+ /** Node is eligible to run audio-analyzer sessions. */
18815
+ audio: boolean().optional(),
18816
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
18817
+ ingest: boolean().optional()
18808
18818
  });
18809
18819
  var CameraPipelineForAgentSchema = object({
18810
18820
  steps: array(PipelineStepInputSchema).readonly(),
@@ -19110,6 +19120,21 @@ method(object({
19110
19120
  }), object({ success: literal(true) }), {
19111
19121
  kind: "mutation",
19112
19122
  auth: "admin"
19123
+ }), method(object({
19124
+ agentNodeId: string(),
19125
+ detectWeight: number().positive().nullable()
19126
+ }), object({ success: literal(true) }), {
19127
+ kind: "mutation",
19128
+ auth: "admin"
19129
+ }), method(object({
19130
+ agentNodeId: string(),
19131
+ detect: boolean().nullable().optional(),
19132
+ decode: boolean().nullable().optional(),
19133
+ audio: boolean().nullable().optional(),
19134
+ ingest: boolean().nullable().optional()
19135
+ }), object({ success: literal(true) }), {
19136
+ kind: "mutation",
19137
+ auth: "admin"
19113
19138
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
19114
19139
  deviceId: number(),
19115
19140
  addonId: string(),
@@ -24969,6 +24994,18 @@ Object.freeze({
24969
24994
  addonId: null,
24970
24995
  access: "create"
24971
24996
  },
24997
+ "pipelineOrchestrator.setAgentCapabilities": {
24998
+ capName: "pipeline-orchestrator",
24999
+ capScope: "system",
25000
+ addonId: null,
25001
+ access: "create"
25002
+ },
25003
+ "pipelineOrchestrator.setAgentDetectWeight": {
25004
+ capName: "pipeline-orchestrator",
25005
+ capScope: "system",
25006
+ addonId: null,
25007
+ access: "create"
25008
+ },
24972
25009
  "pipelineOrchestrator.setAgentMaxCameras": {
24973
25010
  capName: "pipeline-orchestrator",
24974
25011
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rademacher",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
5
5
  "keywords": [
6
6
  "camstack",