@camstack/addon-provider-homeassistant 1.1.18 → 1.1.19
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
|
@@ -18125,7 +18125,17 @@ var AgentAddonConfigSchema = object({
|
|
|
18125
18125
|
});
|
|
18126
18126
|
var AgentPipelineSettingsSchema = object({
|
|
18127
18127
|
addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
|
|
18128
|
-
maxCameras: number().int().nonnegative().nullable().default(null)
|
|
18128
|
+
maxCameras: number().int().nonnegative().nullable().default(null),
|
|
18129
|
+
/** Per-node detection weight (relative share for the quota balancer). */
|
|
18130
|
+
detectWeight: number().positive().optional(),
|
|
18131
|
+
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
18132
|
+
detect: boolean().optional(),
|
|
18133
|
+
/** Node is eligible to host decoder sessions. */
|
|
18134
|
+
decode: boolean().optional(),
|
|
18135
|
+
/** Node is eligible to run audio-analyzer sessions. */
|
|
18136
|
+
audio: boolean().optional(),
|
|
18137
|
+
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
18138
|
+
ingest: boolean().optional()
|
|
18129
18139
|
});
|
|
18130
18140
|
var CameraPipelineForAgentSchema = object({
|
|
18131
18141
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -18431,6 +18441,21 @@ method(object({
|
|
|
18431
18441
|
}), object({ success: literal(true) }), {
|
|
18432
18442
|
kind: "mutation",
|
|
18433
18443
|
auth: "admin"
|
|
18444
|
+
}), method(object({
|
|
18445
|
+
agentNodeId: string(),
|
|
18446
|
+
detectWeight: number().positive().nullable()
|
|
18447
|
+
}), object({ success: literal(true) }), {
|
|
18448
|
+
kind: "mutation",
|
|
18449
|
+
auth: "admin"
|
|
18450
|
+
}), method(object({
|
|
18451
|
+
agentNodeId: string(),
|
|
18452
|
+
detect: boolean().nullable().optional(),
|
|
18453
|
+
decode: boolean().nullable().optional(),
|
|
18454
|
+
audio: boolean().nullable().optional(),
|
|
18455
|
+
ingest: boolean().nullable().optional()
|
|
18456
|
+
}), object({ success: literal(true) }), {
|
|
18457
|
+
kind: "mutation",
|
|
18458
|
+
auth: "admin"
|
|
18434
18459
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
18435
18460
|
deviceId: number(),
|
|
18436
18461
|
addonId: string(),
|
|
@@ -24379,6 +24404,18 @@ Object.freeze({
|
|
|
24379
24404
|
addonId: null,
|
|
24380
24405
|
access: "create"
|
|
24381
24406
|
},
|
|
24407
|
+
"pipelineOrchestrator.setAgentCapabilities": {
|
|
24408
|
+
capName: "pipeline-orchestrator",
|
|
24409
|
+
capScope: "system",
|
|
24410
|
+
addonId: null,
|
|
24411
|
+
access: "create"
|
|
24412
|
+
},
|
|
24413
|
+
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
24414
|
+
capName: "pipeline-orchestrator",
|
|
24415
|
+
capScope: "system",
|
|
24416
|
+
addonId: null,
|
|
24417
|
+
access: "create"
|
|
24418
|
+
},
|
|
24382
24419
|
"pipelineOrchestrator.setAgentMaxCameras": {
|
|
24383
24420
|
capName: "pipeline-orchestrator",
|
|
24384
24421
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -18124,7 +18124,17 @@ var AgentAddonConfigSchema = object({
|
|
|
18124
18124
|
});
|
|
18125
18125
|
var AgentPipelineSettingsSchema = object({
|
|
18126
18126
|
addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
|
|
18127
|
-
maxCameras: number().int().nonnegative().nullable().default(null)
|
|
18127
|
+
maxCameras: number().int().nonnegative().nullable().default(null),
|
|
18128
|
+
/** Per-node detection weight (relative share for the quota balancer). */
|
|
18129
|
+
detectWeight: number().positive().optional(),
|
|
18130
|
+
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
18131
|
+
detect: boolean().optional(),
|
|
18132
|
+
/** Node is eligible to host decoder sessions. */
|
|
18133
|
+
decode: boolean().optional(),
|
|
18134
|
+
/** Node is eligible to run audio-analyzer sessions. */
|
|
18135
|
+
audio: boolean().optional(),
|
|
18136
|
+
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
18137
|
+
ingest: boolean().optional()
|
|
18128
18138
|
});
|
|
18129
18139
|
var CameraPipelineForAgentSchema = object({
|
|
18130
18140
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -18430,6 +18440,21 @@ method(object({
|
|
|
18430
18440
|
}), object({ success: literal(true) }), {
|
|
18431
18441
|
kind: "mutation",
|
|
18432
18442
|
auth: "admin"
|
|
18443
|
+
}), method(object({
|
|
18444
|
+
agentNodeId: string(),
|
|
18445
|
+
detectWeight: number().positive().nullable()
|
|
18446
|
+
}), object({ success: literal(true) }), {
|
|
18447
|
+
kind: "mutation",
|
|
18448
|
+
auth: "admin"
|
|
18449
|
+
}), method(object({
|
|
18450
|
+
agentNodeId: string(),
|
|
18451
|
+
detect: boolean().nullable().optional(),
|
|
18452
|
+
decode: boolean().nullable().optional(),
|
|
18453
|
+
audio: boolean().nullable().optional(),
|
|
18454
|
+
ingest: boolean().nullable().optional()
|
|
18455
|
+
}), object({ success: literal(true) }), {
|
|
18456
|
+
kind: "mutation",
|
|
18457
|
+
auth: "admin"
|
|
18433
18458
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
18434
18459
|
deviceId: number(),
|
|
18435
18460
|
addonId: string(),
|
|
@@ -24378,6 +24403,18 @@ Object.freeze({
|
|
|
24378
24403
|
addonId: null,
|
|
24379
24404
|
access: "create"
|
|
24380
24405
|
},
|
|
24406
|
+
"pipelineOrchestrator.setAgentCapabilities": {
|
|
24407
|
+
capName: "pipeline-orchestrator",
|
|
24408
|
+
capScope: "system",
|
|
24409
|
+
addonId: null,
|
|
24410
|
+
access: "create"
|
|
24411
|
+
},
|
|
24412
|
+
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
24413
|
+
capName: "pipeline-orchestrator",
|
|
24414
|
+
capScope: "system",
|
|
24415
|
+
addonId: null,
|
|
24416
|
+
access: "create"
|
|
24417
|
+
},
|
|
24381
24418
|
"pipelineOrchestrator.setAgentMaxCameras": {
|
|
24382
24419
|
capName: "pipeline-orchestrator",
|
|
24383
24420
|
capScope: "system",
|