@camstack/addon-provider-unraid 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
@@ -17820,7 +17820,17 @@ var AgentAddonConfigSchema = object({
17820
17820
  });
17821
17821
  var AgentPipelineSettingsSchema = object({
17822
17822
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
17823
- maxCameras: number().int().nonnegative().nullable().default(null)
17823
+ maxCameras: number().int().nonnegative().nullable().default(null),
17824
+ /** Per-node detection weight (relative share for the quota balancer). */
17825
+ detectWeight: number().positive().optional(),
17826
+ /** Node is eligible to run the detection pipeline (decode + inference). */
17827
+ detect: boolean().optional(),
17828
+ /** Node is eligible to host decoder sessions. */
17829
+ decode: boolean().optional(),
17830
+ /** Node is eligible to run audio-analyzer sessions. */
17831
+ audio: boolean().optional(),
17832
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
17833
+ ingest: boolean().optional()
17824
17834
  });
17825
17835
  var CameraPipelineForAgentSchema = object({
17826
17836
  steps: array(PipelineStepInputSchema).readonly(),
@@ -18126,6 +18136,21 @@ method(object({
18126
18136
  }), object({ success: literal(true) }), {
18127
18137
  kind: "mutation",
18128
18138
  auth: "admin"
18139
+ }), method(object({
18140
+ agentNodeId: string(),
18141
+ detectWeight: number().positive().nullable()
18142
+ }), object({ success: literal(true) }), {
18143
+ kind: "mutation",
18144
+ auth: "admin"
18145
+ }), method(object({
18146
+ agentNodeId: string(),
18147
+ detect: boolean().nullable().optional(),
18148
+ decode: boolean().nullable().optional(),
18149
+ audio: boolean().nullable().optional(),
18150
+ ingest: boolean().nullable().optional()
18151
+ }), object({ success: literal(true) }), {
18152
+ kind: "mutation",
18153
+ auth: "admin"
18129
18154
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
18130
18155
  deviceId: number(),
18131
18156
  addonId: string(),
@@ -24002,6 +24027,18 @@ Object.freeze({
24002
24027
  addonId: null,
24003
24028
  access: "create"
24004
24029
  },
24030
+ "pipelineOrchestrator.setAgentCapabilities": {
24031
+ capName: "pipeline-orchestrator",
24032
+ capScope: "system",
24033
+ addonId: null,
24034
+ access: "create"
24035
+ },
24036
+ "pipelineOrchestrator.setAgentDetectWeight": {
24037
+ capName: "pipeline-orchestrator",
24038
+ capScope: "system",
24039
+ addonId: null,
24040
+ access: "create"
24041
+ },
24005
24042
  "pipelineOrchestrator.setAgentMaxCameras": {
24006
24043
  capName: "pipeline-orchestrator",
24007
24044
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -17819,7 +17819,17 @@ var AgentAddonConfigSchema = object({
17819
17819
  });
17820
17820
  var AgentPipelineSettingsSchema = object({
17821
17821
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
17822
- maxCameras: number().int().nonnegative().nullable().default(null)
17822
+ maxCameras: number().int().nonnegative().nullable().default(null),
17823
+ /** Per-node detection weight (relative share for the quota balancer). */
17824
+ detectWeight: number().positive().optional(),
17825
+ /** Node is eligible to run the detection pipeline (decode + inference). */
17826
+ detect: boolean().optional(),
17827
+ /** Node is eligible to host decoder sessions. */
17828
+ decode: boolean().optional(),
17829
+ /** Node is eligible to run audio-analyzer sessions. */
17830
+ audio: boolean().optional(),
17831
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
17832
+ ingest: boolean().optional()
17823
17833
  });
17824
17834
  var CameraPipelineForAgentSchema = object({
17825
17835
  steps: array(PipelineStepInputSchema).readonly(),
@@ -18125,6 +18135,21 @@ method(object({
18125
18135
  }), object({ success: literal(true) }), {
18126
18136
  kind: "mutation",
18127
18137
  auth: "admin"
18138
+ }), method(object({
18139
+ agentNodeId: string(),
18140
+ detectWeight: number().positive().nullable()
18141
+ }), object({ success: literal(true) }), {
18142
+ kind: "mutation",
18143
+ auth: "admin"
18144
+ }), method(object({
18145
+ agentNodeId: string(),
18146
+ detect: boolean().nullable().optional(),
18147
+ decode: boolean().nullable().optional(),
18148
+ audio: boolean().nullable().optional(),
18149
+ ingest: boolean().nullable().optional()
18150
+ }), object({ success: literal(true) }), {
18151
+ kind: "mutation",
18152
+ auth: "admin"
18128
18153
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
18129
18154
  deviceId: number(),
18130
18155
  addonId: string(),
@@ -24001,6 +24026,18 @@ Object.freeze({
24001
24026
  addonId: null,
24002
24027
  access: "create"
24003
24028
  },
24029
+ "pipelineOrchestrator.setAgentCapabilities": {
24030
+ capName: "pipeline-orchestrator",
24031
+ capScope: "system",
24032
+ addonId: null,
24033
+ access: "create"
24034
+ },
24035
+ "pipelineOrchestrator.setAgentDetectWeight": {
24036
+ capName: "pipeline-orchestrator",
24037
+ capScope: "system",
24038
+ addonId: null,
24039
+ access: "create"
24040
+ },
24004
24041
  "pipelineOrchestrator.setAgentMaxCameras": {
24005
24042
  capName: "pipeline-orchestrator",
24006
24043
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-unraid",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Unraid device-provider addon for CamStack — one Container per Unraid instance fanning out array, disk, docker and notification entities",
5
5
  "keywords": [
6
6
  "camstack",