@camstack/addon-advanced-notifier 1.1.17 → 1.1.18
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 +38 -1
- package/dist/addon.mjs +38 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -14925,7 +14925,17 @@ var AgentAddonConfigSchema = object({
|
|
|
14925
14925
|
});
|
|
14926
14926
|
var AgentPipelineSettingsSchema = object({
|
|
14927
14927
|
addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
|
|
14928
|
-
maxCameras: number().int().nonnegative().nullable().default(null)
|
|
14928
|
+
maxCameras: number().int().nonnegative().nullable().default(null),
|
|
14929
|
+
/** Per-node detection weight (relative share for the quota balancer). */
|
|
14930
|
+
detectWeight: number().positive().optional(),
|
|
14931
|
+
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
14932
|
+
detect: boolean().optional(),
|
|
14933
|
+
/** Node is eligible to host decoder sessions. */
|
|
14934
|
+
decode: boolean().optional(),
|
|
14935
|
+
/** Node is eligible to run audio-analyzer sessions. */
|
|
14936
|
+
audio: boolean().optional(),
|
|
14937
|
+
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
14938
|
+
ingest: boolean().optional()
|
|
14929
14939
|
});
|
|
14930
14940
|
var CameraPipelineForAgentSchema = object({
|
|
14931
14941
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -15231,6 +15241,21 @@ method(object({
|
|
|
15231
15241
|
}), object({ success: literal(true) }), {
|
|
15232
15242
|
kind: "mutation",
|
|
15233
15243
|
auth: "admin"
|
|
15244
|
+
}), method(object({
|
|
15245
|
+
agentNodeId: string(),
|
|
15246
|
+
detectWeight: number().positive().nullable()
|
|
15247
|
+
}), object({ success: literal(true) }), {
|
|
15248
|
+
kind: "mutation",
|
|
15249
|
+
auth: "admin"
|
|
15250
|
+
}), method(object({
|
|
15251
|
+
agentNodeId: string(),
|
|
15252
|
+
detect: boolean().nullable().optional(),
|
|
15253
|
+
decode: boolean().nullable().optional(),
|
|
15254
|
+
audio: boolean().nullable().optional(),
|
|
15255
|
+
ingest: boolean().nullable().optional()
|
|
15256
|
+
}), object({ success: literal(true) }), {
|
|
15257
|
+
kind: "mutation",
|
|
15258
|
+
auth: "admin"
|
|
15234
15259
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
15235
15260
|
deviceId: number(),
|
|
15236
15261
|
addonId: string(),
|
|
@@ -21090,6 +21115,18 @@ Object.freeze({
|
|
|
21090
21115
|
addonId: null,
|
|
21091
21116
|
access: "create"
|
|
21092
21117
|
},
|
|
21118
|
+
"pipelineOrchestrator.setAgentCapabilities": {
|
|
21119
|
+
capName: "pipeline-orchestrator",
|
|
21120
|
+
capScope: "system",
|
|
21121
|
+
addonId: null,
|
|
21122
|
+
access: "create"
|
|
21123
|
+
},
|
|
21124
|
+
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
21125
|
+
capName: "pipeline-orchestrator",
|
|
21126
|
+
capScope: "system",
|
|
21127
|
+
addonId: null,
|
|
21128
|
+
access: "create"
|
|
21129
|
+
},
|
|
21093
21130
|
"pipelineOrchestrator.setAgentMaxCameras": {
|
|
21094
21131
|
capName: "pipeline-orchestrator",
|
|
21095
21132
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -14921,7 +14921,17 @@ var AgentAddonConfigSchema = object({
|
|
|
14921
14921
|
});
|
|
14922
14922
|
var AgentPipelineSettingsSchema = object({
|
|
14923
14923
|
addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
|
|
14924
|
-
maxCameras: number().int().nonnegative().nullable().default(null)
|
|
14924
|
+
maxCameras: number().int().nonnegative().nullable().default(null),
|
|
14925
|
+
/** Per-node detection weight (relative share for the quota balancer). */
|
|
14926
|
+
detectWeight: number().positive().optional(),
|
|
14927
|
+
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
14928
|
+
detect: boolean().optional(),
|
|
14929
|
+
/** Node is eligible to host decoder sessions. */
|
|
14930
|
+
decode: boolean().optional(),
|
|
14931
|
+
/** Node is eligible to run audio-analyzer sessions. */
|
|
14932
|
+
audio: boolean().optional(),
|
|
14933
|
+
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
14934
|
+
ingest: boolean().optional()
|
|
14925
14935
|
});
|
|
14926
14936
|
var CameraPipelineForAgentSchema = object({
|
|
14927
14937
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -15227,6 +15237,21 @@ method(object({
|
|
|
15227
15237
|
}), object({ success: literal(true) }), {
|
|
15228
15238
|
kind: "mutation",
|
|
15229
15239
|
auth: "admin"
|
|
15240
|
+
}), method(object({
|
|
15241
|
+
agentNodeId: string(),
|
|
15242
|
+
detectWeight: number().positive().nullable()
|
|
15243
|
+
}), object({ success: literal(true) }), {
|
|
15244
|
+
kind: "mutation",
|
|
15245
|
+
auth: "admin"
|
|
15246
|
+
}), method(object({
|
|
15247
|
+
agentNodeId: string(),
|
|
15248
|
+
detect: boolean().nullable().optional(),
|
|
15249
|
+
decode: boolean().nullable().optional(),
|
|
15250
|
+
audio: boolean().nullable().optional(),
|
|
15251
|
+
ingest: boolean().nullable().optional()
|
|
15252
|
+
}), object({ success: literal(true) }), {
|
|
15253
|
+
kind: "mutation",
|
|
15254
|
+
auth: "admin"
|
|
15230
15255
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
15231
15256
|
deviceId: number(),
|
|
15232
15257
|
addonId: string(),
|
|
@@ -21086,6 +21111,18 @@ Object.freeze({
|
|
|
21086
21111
|
addonId: null,
|
|
21087
21112
|
access: "create"
|
|
21088
21113
|
},
|
|
21114
|
+
"pipelineOrchestrator.setAgentCapabilities": {
|
|
21115
|
+
capName: "pipeline-orchestrator",
|
|
21116
|
+
capScope: "system",
|
|
21117
|
+
addonId: null,
|
|
21118
|
+
access: "create"
|
|
21119
|
+
},
|
|
21120
|
+
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
21121
|
+
capName: "pipeline-orchestrator",
|
|
21122
|
+
capScope: "system",
|
|
21123
|
+
addonId: null,
|
|
21124
|
+
access: "create"
|
|
21125
|
+
},
|
|
21089
21126
|
"pipelineOrchestrator.setAgentMaxCameras": {
|
|
21090
21127
|
capName: "pipeline-orchestrator",
|
|
21091
21128
|
capScope: "system",
|