@camstack/addon-provider-wyze 0.1.13 → 0.1.14

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 CHANGED
@@ -17854,7 +17854,17 @@ var AgentAddonConfigSchema = object({
17854
17854
  });
17855
17855
  var AgentPipelineSettingsSchema = object({
17856
17856
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
17857
- maxCameras: number().int().nonnegative().nullable().default(null)
17857
+ maxCameras: number().int().nonnegative().nullable().default(null),
17858
+ /** Per-node detection weight (relative share for the quota balancer). */
17859
+ detectWeight: number().positive().optional(),
17860
+ /** Node is eligible to run the detection pipeline (decode + inference). */
17861
+ detect: boolean().optional(),
17862
+ /** Node is eligible to host decoder sessions. */
17863
+ decode: boolean().optional(),
17864
+ /** Node is eligible to run audio-analyzer sessions. */
17865
+ audio: boolean().optional(),
17866
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
17867
+ ingest: boolean().optional()
17858
17868
  });
17859
17869
  var CameraPipelineForAgentSchema = object({
17860
17870
  steps: array(PipelineStepInputSchema).readonly(),
@@ -18160,6 +18170,21 @@ method(object({
18160
18170
  }), object({ success: literal(true) }), {
18161
18171
  kind: "mutation",
18162
18172
  auth: "admin"
18173
+ }), method(object({
18174
+ agentNodeId: string(),
18175
+ detectWeight: number().positive().nullable()
18176
+ }), object({ success: literal(true) }), {
18177
+ kind: "mutation",
18178
+ auth: "admin"
18179
+ }), method(object({
18180
+ agentNodeId: string(),
18181
+ detect: boolean().nullable().optional(),
18182
+ decode: boolean().nullable().optional(),
18183
+ audio: boolean().nullable().optional(),
18184
+ ingest: boolean().nullable().optional()
18185
+ }), object({ success: literal(true) }), {
18186
+ kind: "mutation",
18187
+ auth: "admin"
18163
18188
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
18164
18189
  deviceId: number(),
18165
18190
  addonId: string(),
@@ -24126,6 +24151,18 @@ Object.freeze({
24126
24151
  addonId: null,
24127
24152
  access: "create"
24128
24153
  },
24154
+ "pipelineOrchestrator.setAgentCapabilities": {
24155
+ capName: "pipeline-orchestrator",
24156
+ capScope: "system",
24157
+ addonId: null,
24158
+ access: "create"
24159
+ },
24160
+ "pipelineOrchestrator.setAgentDetectWeight": {
24161
+ capName: "pipeline-orchestrator",
24162
+ capScope: "system",
24163
+ addonId: null,
24164
+ access: "create"
24165
+ },
24129
24166
  "pipelineOrchestrator.setAgentMaxCameras": {
24130
24167
  capName: "pipeline-orchestrator",
24131
24168
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -17833,7 +17833,17 @@ var AgentAddonConfigSchema = object({
17833
17833
  });
17834
17834
  var AgentPipelineSettingsSchema = object({
17835
17835
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
17836
- maxCameras: number().int().nonnegative().nullable().default(null)
17836
+ maxCameras: number().int().nonnegative().nullable().default(null),
17837
+ /** Per-node detection weight (relative share for the quota balancer). */
17838
+ detectWeight: number().positive().optional(),
17839
+ /** Node is eligible to run the detection pipeline (decode + inference). */
17840
+ detect: boolean().optional(),
17841
+ /** Node is eligible to host decoder sessions. */
17842
+ decode: boolean().optional(),
17843
+ /** Node is eligible to run audio-analyzer sessions. */
17844
+ audio: boolean().optional(),
17845
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
17846
+ ingest: boolean().optional()
17837
17847
  });
17838
17848
  var CameraPipelineForAgentSchema = object({
17839
17849
  steps: array(PipelineStepInputSchema).readonly(),
@@ -18139,6 +18149,21 @@ method(object({
18139
18149
  }), object({ success: literal(true) }), {
18140
18150
  kind: "mutation",
18141
18151
  auth: "admin"
18152
+ }), method(object({
18153
+ agentNodeId: string(),
18154
+ detectWeight: number().positive().nullable()
18155
+ }), object({ success: literal(true) }), {
18156
+ kind: "mutation",
18157
+ auth: "admin"
18158
+ }), method(object({
18159
+ agentNodeId: string(),
18160
+ detect: boolean().nullable().optional(),
18161
+ decode: boolean().nullable().optional(),
18162
+ audio: boolean().nullable().optional(),
18163
+ ingest: boolean().nullable().optional()
18164
+ }), object({ success: literal(true) }), {
18165
+ kind: "mutation",
18166
+ auth: "admin"
18142
18167
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
18143
18168
  deviceId: number(),
18144
18169
  addonId: string(),
@@ -24105,6 +24130,18 @@ Object.freeze({
24105
24130
  addonId: null,
24106
24131
  access: "create"
24107
24132
  },
24133
+ "pipelineOrchestrator.setAgentCapabilities": {
24134
+ capName: "pipeline-orchestrator",
24135
+ capScope: "system",
24136
+ addonId: null,
24137
+ access: "create"
24138
+ },
24139
+ "pipelineOrchestrator.setAgentDetectWeight": {
24140
+ capName: "pipeline-orchestrator",
24141
+ capScope: "system",
24142
+ addonId: null,
24143
+ access: "create"
24144
+ },
24108
24145
  "pipelineOrchestrator.setAgentMaxCameras": {
24109
24146
  capName: "pipeline-orchestrator",
24110
24147
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-wyze",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "Wyze camera device-provider addon for CamStack — wraps the @apocaliss92/wyze-bridge-js P2P/DTLS client, feeding the stream-broker via the pull-rfc4571 lazy-publish path (a structural twin of addon-provider-reolink)",
5
5
  "keywords": [
6
6
  "camstack",