@camstack/addon-import-alexa 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
@@ -18061,7 +18061,17 @@ var AgentAddonConfigSchema = object({
18061
18061
  });
18062
18062
  var AgentPipelineSettingsSchema = object({
18063
18063
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
18064
- maxCameras: number().int().nonnegative().nullable().default(null)
18064
+ maxCameras: number().int().nonnegative().nullable().default(null),
18065
+ /** Per-node detection weight (relative share for the quota balancer). */
18066
+ detectWeight: number().positive().optional(),
18067
+ /** Node is eligible to run the detection pipeline (decode + inference). */
18068
+ detect: boolean().optional(),
18069
+ /** Node is eligible to host decoder sessions. */
18070
+ decode: boolean().optional(),
18071
+ /** Node is eligible to run audio-analyzer sessions. */
18072
+ audio: boolean().optional(),
18073
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
18074
+ ingest: boolean().optional()
18065
18075
  });
18066
18076
  var CameraPipelineForAgentSchema = object({
18067
18077
  steps: array(PipelineStepInputSchema).readonly(),
@@ -18367,6 +18377,21 @@ method(object({
18367
18377
  }), object({ success: literal(true) }), {
18368
18378
  kind: "mutation",
18369
18379
  auth: "admin"
18380
+ }), method(object({
18381
+ agentNodeId: string(),
18382
+ detectWeight: number().positive().nullable()
18383
+ }), object({ success: literal(true) }), {
18384
+ kind: "mutation",
18385
+ auth: "admin"
18386
+ }), method(object({
18387
+ agentNodeId: string(),
18388
+ detect: boolean().nullable().optional(),
18389
+ decode: boolean().nullable().optional(),
18390
+ audio: boolean().nullable().optional(),
18391
+ ingest: boolean().nullable().optional()
18392
+ }), object({ success: literal(true) }), {
18393
+ kind: "mutation",
18394
+ auth: "admin"
18370
18395
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
18371
18396
  deviceId: number(),
18372
18397
  addonId: string(),
@@ -24243,6 +24268,18 @@ Object.freeze({
24243
24268
  addonId: null,
24244
24269
  access: "create"
24245
24270
  },
24271
+ "pipelineOrchestrator.setAgentCapabilities": {
24272
+ capName: "pipeline-orchestrator",
24273
+ capScope: "system",
24274
+ addonId: null,
24275
+ access: "create"
24276
+ },
24277
+ "pipelineOrchestrator.setAgentDetectWeight": {
24278
+ capName: "pipeline-orchestrator",
24279
+ capScope: "system",
24280
+ addonId: null,
24281
+ access: "create"
24282
+ },
24246
24283
  "pipelineOrchestrator.setAgentMaxCameras": {
24247
24284
  capName: "pipeline-orchestrator",
24248
24285
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -18061,7 +18061,17 @@ var AgentAddonConfigSchema = object({
18061
18061
  });
18062
18062
  var AgentPipelineSettingsSchema = object({
18063
18063
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
18064
- maxCameras: number().int().nonnegative().nullable().default(null)
18064
+ maxCameras: number().int().nonnegative().nullable().default(null),
18065
+ /** Per-node detection weight (relative share for the quota balancer). */
18066
+ detectWeight: number().positive().optional(),
18067
+ /** Node is eligible to run the detection pipeline (decode + inference). */
18068
+ detect: boolean().optional(),
18069
+ /** Node is eligible to host decoder sessions. */
18070
+ decode: boolean().optional(),
18071
+ /** Node is eligible to run audio-analyzer sessions. */
18072
+ audio: boolean().optional(),
18073
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
18074
+ ingest: boolean().optional()
18065
18075
  });
18066
18076
  var CameraPipelineForAgentSchema = object({
18067
18077
  steps: array(PipelineStepInputSchema).readonly(),
@@ -18367,6 +18377,21 @@ method(object({
18367
18377
  }), object({ success: literal(true) }), {
18368
18378
  kind: "mutation",
18369
18379
  auth: "admin"
18380
+ }), method(object({
18381
+ agentNodeId: string(),
18382
+ detectWeight: number().positive().nullable()
18383
+ }), object({ success: literal(true) }), {
18384
+ kind: "mutation",
18385
+ auth: "admin"
18386
+ }), method(object({
18387
+ agentNodeId: string(),
18388
+ detect: boolean().nullable().optional(),
18389
+ decode: boolean().nullable().optional(),
18390
+ audio: boolean().nullable().optional(),
18391
+ ingest: boolean().nullable().optional()
18392
+ }), object({ success: literal(true) }), {
18393
+ kind: "mutation",
18394
+ auth: "admin"
18370
18395
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
18371
18396
  deviceId: number(),
18372
18397
  addonId: string(),
@@ -24243,6 +24268,18 @@ Object.freeze({
24243
24268
  addonId: null,
24244
24269
  access: "create"
24245
24270
  },
24271
+ "pipelineOrchestrator.setAgentCapabilities": {
24272
+ capName: "pipeline-orchestrator",
24273
+ capScope: "system",
24274
+ addonId: null,
24275
+ access: "create"
24276
+ },
24277
+ "pipelineOrchestrator.setAgentDetectWeight": {
24278
+ capName: "pipeline-orchestrator",
24279
+ capScope: "system",
24280
+ addonId: null,
24281
+ access: "create"
24282
+ },
24246
24283
  "pipelineOrchestrator.setAgentMaxCameras": {
24247
24284
  capName: "pipeline-orchestrator",
24248
24285
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-import-alexa",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
5
5
  "keywords": [
6
6
  "camstack",