@camstack/addon-provider-petkit 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 +38 -1
- package/dist/addon.mjs +38 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -17839,7 +17839,17 @@ var AgentAddonConfigSchema = object({
|
|
|
17839
17839
|
});
|
|
17840
17840
|
var AgentPipelineSettingsSchema = object({
|
|
17841
17841
|
addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
|
|
17842
|
-
maxCameras: number().int().nonnegative().nullable().default(null)
|
|
17842
|
+
maxCameras: number().int().nonnegative().nullable().default(null),
|
|
17843
|
+
/** Per-node detection weight (relative share for the quota balancer). */
|
|
17844
|
+
detectWeight: number().positive().optional(),
|
|
17845
|
+
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
17846
|
+
detect: boolean().optional(),
|
|
17847
|
+
/** Node is eligible to host decoder sessions. */
|
|
17848
|
+
decode: boolean().optional(),
|
|
17849
|
+
/** Node is eligible to run audio-analyzer sessions. */
|
|
17850
|
+
audio: boolean().optional(),
|
|
17851
|
+
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
17852
|
+
ingest: boolean().optional()
|
|
17843
17853
|
});
|
|
17844
17854
|
var CameraPipelineForAgentSchema = object({
|
|
17845
17855
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -18145,6 +18155,21 @@ method(object({
|
|
|
18145
18155
|
}), object({ success: literal(true) }), {
|
|
18146
18156
|
kind: "mutation",
|
|
18147
18157
|
auth: "admin"
|
|
18158
|
+
}), method(object({
|
|
18159
|
+
agentNodeId: string(),
|
|
18160
|
+
detectWeight: number().positive().nullable()
|
|
18161
|
+
}), object({ success: literal(true) }), {
|
|
18162
|
+
kind: "mutation",
|
|
18163
|
+
auth: "admin"
|
|
18164
|
+
}), method(object({
|
|
18165
|
+
agentNodeId: string(),
|
|
18166
|
+
detect: boolean().nullable().optional(),
|
|
18167
|
+
decode: boolean().nullable().optional(),
|
|
18168
|
+
audio: boolean().nullable().optional(),
|
|
18169
|
+
ingest: boolean().nullable().optional()
|
|
18170
|
+
}), object({ success: literal(true) }), {
|
|
18171
|
+
kind: "mutation",
|
|
18172
|
+
auth: "admin"
|
|
18148
18173
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
18149
18174
|
deviceId: number(),
|
|
18150
18175
|
addonId: string(),
|
|
@@ -24004,6 +24029,18 @@ Object.freeze({
|
|
|
24004
24029
|
addonId: null,
|
|
24005
24030
|
access: "create"
|
|
24006
24031
|
},
|
|
24032
|
+
"pipelineOrchestrator.setAgentCapabilities": {
|
|
24033
|
+
capName: "pipeline-orchestrator",
|
|
24034
|
+
capScope: "system",
|
|
24035
|
+
addonId: null,
|
|
24036
|
+
access: "create"
|
|
24037
|
+
},
|
|
24038
|
+
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
24039
|
+
capName: "pipeline-orchestrator",
|
|
24040
|
+
capScope: "system",
|
|
24041
|
+
addonId: null,
|
|
24042
|
+
access: "create"
|
|
24043
|
+
},
|
|
24007
24044
|
"pipelineOrchestrator.setAgentMaxCameras": {
|
|
24008
24045
|
capName: "pipeline-orchestrator",
|
|
24009
24046
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -17838,7 +17838,17 @@ var AgentAddonConfigSchema = object({
|
|
|
17838
17838
|
});
|
|
17839
17839
|
var AgentPipelineSettingsSchema = object({
|
|
17840
17840
|
addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
|
|
17841
|
-
maxCameras: number().int().nonnegative().nullable().default(null)
|
|
17841
|
+
maxCameras: number().int().nonnegative().nullable().default(null),
|
|
17842
|
+
/** Per-node detection weight (relative share for the quota balancer). */
|
|
17843
|
+
detectWeight: number().positive().optional(),
|
|
17844
|
+
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
17845
|
+
detect: boolean().optional(),
|
|
17846
|
+
/** Node is eligible to host decoder sessions. */
|
|
17847
|
+
decode: boolean().optional(),
|
|
17848
|
+
/** Node is eligible to run audio-analyzer sessions. */
|
|
17849
|
+
audio: boolean().optional(),
|
|
17850
|
+
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
17851
|
+
ingest: boolean().optional()
|
|
17842
17852
|
});
|
|
17843
17853
|
var CameraPipelineForAgentSchema = object({
|
|
17844
17854
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -18144,6 +18154,21 @@ method(object({
|
|
|
18144
18154
|
}), object({ success: literal(true) }), {
|
|
18145
18155
|
kind: "mutation",
|
|
18146
18156
|
auth: "admin"
|
|
18157
|
+
}), method(object({
|
|
18158
|
+
agentNodeId: string(),
|
|
18159
|
+
detectWeight: number().positive().nullable()
|
|
18160
|
+
}), object({ success: literal(true) }), {
|
|
18161
|
+
kind: "mutation",
|
|
18162
|
+
auth: "admin"
|
|
18163
|
+
}), method(object({
|
|
18164
|
+
agentNodeId: string(),
|
|
18165
|
+
detect: boolean().nullable().optional(),
|
|
18166
|
+
decode: boolean().nullable().optional(),
|
|
18167
|
+
audio: boolean().nullable().optional(),
|
|
18168
|
+
ingest: boolean().nullable().optional()
|
|
18169
|
+
}), object({ success: literal(true) }), {
|
|
18170
|
+
kind: "mutation",
|
|
18171
|
+
auth: "admin"
|
|
18147
18172
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
18148
18173
|
deviceId: number(),
|
|
18149
18174
|
addonId: string(),
|
|
@@ -24003,6 +24028,18 @@ Object.freeze({
|
|
|
24003
24028
|
addonId: null,
|
|
24004
24029
|
access: "create"
|
|
24005
24030
|
},
|
|
24031
|
+
"pipelineOrchestrator.setAgentCapabilities": {
|
|
24032
|
+
capName: "pipeline-orchestrator",
|
|
24033
|
+
capScope: "system",
|
|
24034
|
+
addonId: null,
|
|
24035
|
+
access: "create"
|
|
24036
|
+
},
|
|
24037
|
+
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
24038
|
+
capName: "pipeline-orchestrator",
|
|
24039
|
+
capScope: "system",
|
|
24040
|
+
addonId: null,
|
|
24041
|
+
access: "create"
|
|
24042
|
+
},
|
|
24006
24043
|
"pipelineOrchestrator.setAgentMaxCameras": {
|
|
24007
24044
|
capName: "pipeline-orchestrator",
|
|
24008
24045
|
capScope: "system",
|
package/package.json
CHANGED