@camstack/addon-matter-broker 0.1.13 → 0.1.14

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
@@ -17900,7 +17900,17 @@ var AgentAddonConfigSchema = object({
17900
17900
  });
17901
17901
  var AgentPipelineSettingsSchema = object({
17902
17902
  addonDefaults: record(string$2(), AgentAddonConfigSchema).readonly(),
17903
- maxCameras: number().int().nonnegative().nullable().default(null)
17903
+ maxCameras: number().int().nonnegative().nullable().default(null),
17904
+ /** Per-node detection weight (relative share for the quota balancer). */
17905
+ detectWeight: number().positive().optional(),
17906
+ /** Node is eligible to run the detection pipeline (decode + inference). */
17907
+ detect: boolean().optional(),
17908
+ /** Node is eligible to host decoder sessions. */
17909
+ decode: boolean().optional(),
17910
+ /** Node is eligible to run audio-analyzer sessions. */
17911
+ audio: boolean().optional(),
17912
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
17913
+ ingest: boolean().optional()
17904
17914
  });
17905
17915
  var CameraPipelineForAgentSchema = object({
17906
17916
  steps: array(PipelineStepInputSchema).readonly(),
@@ -18206,6 +18216,21 @@ method(object({
18206
18216
  }), object({ success: literal(true) }), {
18207
18217
  kind: "mutation",
18208
18218
  auth: "admin"
18219
+ }), method(object({
18220
+ agentNodeId: string$2(),
18221
+ detectWeight: number().positive().nullable()
18222
+ }), object({ success: literal(true) }), {
18223
+ kind: "mutation",
18224
+ auth: "admin"
18225
+ }), method(object({
18226
+ agentNodeId: string$2(),
18227
+ detect: boolean().nullable().optional(),
18228
+ decode: boolean().nullable().optional(),
18229
+ audio: boolean().nullable().optional(),
18230
+ ingest: boolean().nullable().optional()
18231
+ }), object({ success: literal(true) }), {
18232
+ kind: "mutation",
18233
+ auth: "admin"
18209
18234
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
18210
18235
  deviceId: number(),
18211
18236
  addonId: string$2(),
@@ -24082,6 +24107,18 @@ Object.freeze({
24082
24107
  addonId: null,
24083
24108
  access: "create"
24084
24109
  },
24110
+ "pipelineOrchestrator.setAgentCapabilities": {
24111
+ capName: "pipeline-orchestrator",
24112
+ capScope: "system",
24113
+ addonId: null,
24114
+ access: "create"
24115
+ },
24116
+ "pipelineOrchestrator.setAgentDetectWeight": {
24117
+ capName: "pipeline-orchestrator",
24118
+ capScope: "system",
24119
+ addonId: null,
24120
+ access: "create"
24121
+ },
24085
24122
  "pipelineOrchestrator.setAgentMaxCameras": {
24086
24123
  capName: "pipeline-orchestrator",
24087
24124
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -17898,7 +17898,17 @@ var AgentAddonConfigSchema = object({
17898
17898
  });
17899
17899
  var AgentPipelineSettingsSchema = object({
17900
17900
  addonDefaults: record(string$2(), AgentAddonConfigSchema).readonly(),
17901
- maxCameras: number().int().nonnegative().nullable().default(null)
17901
+ maxCameras: number().int().nonnegative().nullable().default(null),
17902
+ /** Per-node detection weight (relative share for the quota balancer). */
17903
+ detectWeight: number().positive().optional(),
17904
+ /** Node is eligible to run the detection pipeline (decode + inference). */
17905
+ detect: boolean().optional(),
17906
+ /** Node is eligible to host decoder sessions. */
17907
+ decode: boolean().optional(),
17908
+ /** Node is eligible to run audio-analyzer sessions. */
17909
+ audio: boolean().optional(),
17910
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
17911
+ ingest: boolean().optional()
17902
17912
  });
17903
17913
  var CameraPipelineForAgentSchema = object({
17904
17914
  steps: array(PipelineStepInputSchema).readonly(),
@@ -18204,6 +18214,21 @@ method(object({
18204
18214
  }), object({ success: literal(true) }), {
18205
18215
  kind: "mutation",
18206
18216
  auth: "admin"
18217
+ }), method(object({
18218
+ agentNodeId: string$2(),
18219
+ detectWeight: number().positive().nullable()
18220
+ }), object({ success: literal(true) }), {
18221
+ kind: "mutation",
18222
+ auth: "admin"
18223
+ }), method(object({
18224
+ agentNodeId: string$2(),
18225
+ detect: boolean().nullable().optional(),
18226
+ decode: boolean().nullable().optional(),
18227
+ audio: boolean().nullable().optional(),
18228
+ ingest: boolean().nullable().optional()
18229
+ }), object({ success: literal(true) }), {
18230
+ kind: "mutation",
18231
+ auth: "admin"
18207
18232
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
18208
18233
  deviceId: number(),
18209
18234
  addonId: string$2(),
@@ -24080,6 +24105,18 @@ Object.freeze({
24080
24105
  addonId: null,
24081
24106
  access: "create"
24082
24107
  },
24108
+ "pipelineOrchestrator.setAgentCapabilities": {
24109
+ capName: "pipeline-orchestrator",
24110
+ capScope: "system",
24111
+ addonId: null,
24112
+ access: "create"
24113
+ },
24114
+ "pipelineOrchestrator.setAgentDetectWeight": {
24115
+ capName: "pipeline-orchestrator",
24116
+ capScope: "system",
24117
+ addonId: null,
24118
+ access: "create"
24119
+ },
24083
24120
  "pipelineOrchestrator.setAgentMaxCameras": {
24084
24121
  capName: "pipeline-orchestrator",
24085
24122
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-matter-broker",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "Matter broker addon for CamStack — owns a Matter fabric (commissioning + the long-lived controller) via the matter.js controller and brokers commissioned Matter nodes into CamStack",
5
5
  "keywords": [
6
6
  "camstack",