@camstack/addon-mqtt-broker 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/mqtt-broker.addon.js +38 -1
- package/dist/mqtt-broker.addon.mjs +38 -1
- package/package.json +1 -1
|
@@ -14994,7 +14994,17 @@ var AgentAddonConfigSchema = object({
|
|
|
14994
14994
|
});
|
|
14995
14995
|
var AgentPipelineSettingsSchema = object({
|
|
14996
14996
|
addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
|
|
14997
|
-
maxCameras: number().int().nonnegative().nullable().default(null)
|
|
14997
|
+
maxCameras: number().int().nonnegative().nullable().default(null),
|
|
14998
|
+
/** Per-node detection weight (relative share for the quota balancer). */
|
|
14999
|
+
detectWeight: number().positive().optional(),
|
|
15000
|
+
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
15001
|
+
detect: boolean().optional(),
|
|
15002
|
+
/** Node is eligible to host decoder sessions. */
|
|
15003
|
+
decode: boolean().optional(),
|
|
15004
|
+
/** Node is eligible to run audio-analyzer sessions. */
|
|
15005
|
+
audio: boolean().optional(),
|
|
15006
|
+
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
15007
|
+
ingest: boolean().optional()
|
|
14998
15008
|
});
|
|
14999
15009
|
var CameraPipelineForAgentSchema = object({
|
|
15000
15010
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -15300,6 +15310,21 @@ method(object({
|
|
|
15300
15310
|
}), object({ success: literal(true) }), {
|
|
15301
15311
|
kind: "mutation",
|
|
15302
15312
|
auth: "admin"
|
|
15313
|
+
}), method(object({
|
|
15314
|
+
agentNodeId: string(),
|
|
15315
|
+
detectWeight: number().positive().nullable()
|
|
15316
|
+
}), object({ success: literal(true) }), {
|
|
15317
|
+
kind: "mutation",
|
|
15318
|
+
auth: "admin"
|
|
15319
|
+
}), method(object({
|
|
15320
|
+
agentNodeId: string(),
|
|
15321
|
+
detect: boolean().nullable().optional(),
|
|
15322
|
+
decode: boolean().nullable().optional(),
|
|
15323
|
+
audio: boolean().nullable().optional(),
|
|
15324
|
+
ingest: boolean().nullable().optional()
|
|
15325
|
+
}), object({ success: literal(true) }), {
|
|
15326
|
+
kind: "mutation",
|
|
15327
|
+
auth: "admin"
|
|
15303
15328
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
15304
15329
|
deviceId: number(),
|
|
15305
15330
|
addonId: string(),
|
|
@@ -21159,6 +21184,18 @@ Object.freeze({
|
|
|
21159
21184
|
addonId: null,
|
|
21160
21185
|
access: "create"
|
|
21161
21186
|
},
|
|
21187
|
+
"pipelineOrchestrator.setAgentCapabilities": {
|
|
21188
|
+
capName: "pipeline-orchestrator",
|
|
21189
|
+
capScope: "system",
|
|
21190
|
+
addonId: null,
|
|
21191
|
+
access: "create"
|
|
21192
|
+
},
|
|
21193
|
+
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
21194
|
+
capName: "pipeline-orchestrator",
|
|
21195
|
+
capScope: "system",
|
|
21196
|
+
addonId: null,
|
|
21197
|
+
access: "create"
|
|
21198
|
+
},
|
|
21162
21199
|
"pipelineOrchestrator.setAgentMaxCameras": {
|
|
21163
21200
|
capName: "pipeline-orchestrator",
|
|
21164
21201
|
capScope: "system",
|
|
@@ -14989,7 +14989,17 @@ var AgentAddonConfigSchema = object({
|
|
|
14989
14989
|
});
|
|
14990
14990
|
var AgentPipelineSettingsSchema = object({
|
|
14991
14991
|
addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
|
|
14992
|
-
maxCameras: number().int().nonnegative().nullable().default(null)
|
|
14992
|
+
maxCameras: number().int().nonnegative().nullable().default(null),
|
|
14993
|
+
/** Per-node detection weight (relative share for the quota balancer). */
|
|
14994
|
+
detectWeight: number().positive().optional(),
|
|
14995
|
+
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
14996
|
+
detect: boolean().optional(),
|
|
14997
|
+
/** Node is eligible to host decoder sessions. */
|
|
14998
|
+
decode: boolean().optional(),
|
|
14999
|
+
/** Node is eligible to run audio-analyzer sessions. */
|
|
15000
|
+
audio: boolean().optional(),
|
|
15001
|
+
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
15002
|
+
ingest: boolean().optional()
|
|
14993
15003
|
});
|
|
14994
15004
|
var CameraPipelineForAgentSchema = object({
|
|
14995
15005
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -15295,6 +15305,21 @@ method(object({
|
|
|
15295
15305
|
}), object({ success: literal(true) }), {
|
|
15296
15306
|
kind: "mutation",
|
|
15297
15307
|
auth: "admin"
|
|
15308
|
+
}), method(object({
|
|
15309
|
+
agentNodeId: string(),
|
|
15310
|
+
detectWeight: number().positive().nullable()
|
|
15311
|
+
}), object({ success: literal(true) }), {
|
|
15312
|
+
kind: "mutation",
|
|
15313
|
+
auth: "admin"
|
|
15314
|
+
}), method(object({
|
|
15315
|
+
agentNodeId: string(),
|
|
15316
|
+
detect: boolean().nullable().optional(),
|
|
15317
|
+
decode: boolean().nullable().optional(),
|
|
15318
|
+
audio: boolean().nullable().optional(),
|
|
15319
|
+
ingest: boolean().nullable().optional()
|
|
15320
|
+
}), object({ success: literal(true) }), {
|
|
15321
|
+
kind: "mutation",
|
|
15322
|
+
auth: "admin"
|
|
15298
15323
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
15299
15324
|
deviceId: number(),
|
|
15300
15325
|
addonId: string(),
|
|
@@ -21154,6 +21179,18 @@ Object.freeze({
|
|
|
21154
21179
|
addonId: null,
|
|
21155
21180
|
access: "create"
|
|
21156
21181
|
},
|
|
21182
|
+
"pipelineOrchestrator.setAgentCapabilities": {
|
|
21183
|
+
capName: "pipeline-orchestrator",
|
|
21184
|
+
capScope: "system",
|
|
21185
|
+
addonId: null,
|
|
21186
|
+
access: "create"
|
|
21187
|
+
},
|
|
21188
|
+
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
21189
|
+
capName: "pipeline-orchestrator",
|
|
21190
|
+
capScope: "system",
|
|
21191
|
+
addonId: null,
|
|
21192
|
+
access: "create"
|
|
21193
|
+
},
|
|
21157
21194
|
"pipelineOrchestrator.setAgentMaxCameras": {
|
|
21158
21195
|
capName: "pipeline-orchestrator",
|
|
21159
21196
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-mqtt-broker",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.16",
|
|
4
4
|
"description": "MQTT broker registry addon for CamStack — manages external broker entries + an optional embedded aedes broker. Consumers spin up their own `mqtt.js` clients via the `mqtt-broker` cap.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|