@camstack/addon-agent-ui 1.1.16 → 1.1.17
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 +39 -2
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -14891,7 +14891,17 @@ var AgentAddonConfigSchema = object({
|
|
|
14891
14891
|
});
|
|
14892
14892
|
var AgentPipelineSettingsSchema = object({
|
|
14893
14893
|
addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
|
|
14894
|
-
maxCameras: number().int().nonnegative().nullable().default(null)
|
|
14894
|
+
maxCameras: number().int().nonnegative().nullable().default(null),
|
|
14895
|
+
/** Per-node detection weight (relative share for the quota balancer). */
|
|
14896
|
+
detectWeight: number().positive().optional(),
|
|
14897
|
+
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
14898
|
+
detect: boolean().optional(),
|
|
14899
|
+
/** Node is eligible to host decoder sessions. */
|
|
14900
|
+
decode: boolean().optional(),
|
|
14901
|
+
/** Node is eligible to run audio-analyzer sessions. */
|
|
14902
|
+
audio: boolean().optional(),
|
|
14903
|
+
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
14904
|
+
ingest: boolean().optional()
|
|
14895
14905
|
});
|
|
14896
14906
|
var CameraPipelineForAgentSchema = object({
|
|
14897
14907
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -15197,6 +15207,21 @@ method(object({
|
|
|
15197
15207
|
}), object({ success: literal(true) }), {
|
|
15198
15208
|
kind: "mutation",
|
|
15199
15209
|
auth: "admin"
|
|
15210
|
+
}), method(object({
|
|
15211
|
+
agentNodeId: string(),
|
|
15212
|
+
detectWeight: number().positive().nullable()
|
|
15213
|
+
}), object({ success: literal(true) }), {
|
|
15214
|
+
kind: "mutation",
|
|
15215
|
+
auth: "admin"
|
|
15216
|
+
}), method(object({
|
|
15217
|
+
agentNodeId: string(),
|
|
15218
|
+
detect: boolean().nullable().optional(),
|
|
15219
|
+
decode: boolean().nullable().optional(),
|
|
15220
|
+
audio: boolean().nullable().optional(),
|
|
15221
|
+
ingest: boolean().nullable().optional()
|
|
15222
|
+
}), object({ success: literal(true) }), {
|
|
15223
|
+
kind: "mutation",
|
|
15224
|
+
auth: "admin"
|
|
15200
15225
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
15201
15226
|
deviceId: number(),
|
|
15202
15227
|
addonId: string(),
|
|
@@ -21056,6 +21081,18 @@ Object.freeze({
|
|
|
21056
21081
|
addonId: null,
|
|
21057
21082
|
access: "create"
|
|
21058
21083
|
},
|
|
21084
|
+
"pipelineOrchestrator.setAgentCapabilities": {
|
|
21085
|
+
capName: "pipeline-orchestrator",
|
|
21086
|
+
capScope: "system",
|
|
21087
|
+
addonId: null,
|
|
21088
|
+
access: "create"
|
|
21089
|
+
},
|
|
21090
|
+
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
21091
|
+
capName: "pipeline-orchestrator",
|
|
21092
|
+
capScope: "system",
|
|
21093
|
+
addonId: null,
|
|
21094
|
+
access: "create"
|
|
21095
|
+
},
|
|
21059
21096
|
"pipelineOrchestrator.setAgentMaxCameras": {
|
|
21060
21097
|
capName: "pipeline-orchestrator",
|
|
21061
21098
|
capScope: "system",
|
|
@@ -22558,7 +22595,7 @@ var AgentUIAddon = class extends BaseAddon {
|
|
|
22558
22595
|
capability: adminUiCapability,
|
|
22559
22596
|
provider: {
|
|
22560
22597
|
getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
|
|
22561
|
-
getVersion: async () => ({ version: "1.1.
|
|
22598
|
+
getVersion: async () => ({ version: "1.1.17" })
|
|
22562
22599
|
}
|
|
22563
22600
|
}];
|
|
22564
22601
|
}
|