@camstack/addon-tailscale 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.
@@ -24,7 +24,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
24
  enumerable: true
25
25
  }) : target, mod));
26
26
  //#endregion
27
- const require_dist = require("../dist-CjRXrKUN.js");
27
+ const require_dist = require("../dist-C7REjypo.js");
28
28
  let node_child_process = require("node:child_process");
29
29
  let node_util = require("node:util");
30
30
  let node_fs = require("node:fs");
@@ -1,4 +1,4 @@
1
- import { i as EventCategory, n as networkAccessCapability, r as BaseAddon, t as meshNetworkCapability } from "../dist-osGt91FT.mjs";
1
+ import { i as EventCategory, n as networkAccessCapability, r as BaseAddon, t as meshNetworkCapability } from "../dist-BCTaceZ_.mjs";
2
2
  import { execFile, spawn } from "node:child_process";
3
3
  import { promisify } from "node:util";
4
4
  import * as fs from "node:fs";
@@ -14897,7 +14897,17 @@ var AgentAddonConfigSchema = object({
14897
14897
  });
14898
14898
  var AgentPipelineSettingsSchema = object({
14899
14899
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
14900
- maxCameras: number().int().nonnegative().nullable().default(null)
14900
+ maxCameras: number().int().nonnegative().nullable().default(null),
14901
+ /** Per-node detection weight (relative share for the quota balancer). */
14902
+ detectWeight: number().positive().optional(),
14903
+ /** Node is eligible to run the detection pipeline (decode + inference). */
14904
+ detect: boolean().optional(),
14905
+ /** Node is eligible to host decoder sessions. */
14906
+ decode: boolean().optional(),
14907
+ /** Node is eligible to run audio-analyzer sessions. */
14908
+ audio: boolean().optional(),
14909
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
14910
+ ingest: boolean().optional()
14901
14911
  });
14902
14912
  var CameraPipelineForAgentSchema = object({
14903
14913
  steps: array(PipelineStepInputSchema).readonly(),
@@ -15203,6 +15213,21 @@ method(object({
15203
15213
  }), object({ success: literal(true) }), {
15204
15214
  kind: "mutation",
15205
15215
  auth: "admin"
15216
+ }), method(object({
15217
+ agentNodeId: string(),
15218
+ detectWeight: number().positive().nullable()
15219
+ }), object({ success: literal(true) }), {
15220
+ kind: "mutation",
15221
+ auth: "admin"
15222
+ }), method(object({
15223
+ agentNodeId: string(),
15224
+ detect: boolean().nullable().optional(),
15225
+ decode: boolean().nullable().optional(),
15226
+ audio: boolean().nullable().optional(),
15227
+ ingest: boolean().nullable().optional()
15228
+ }), object({ success: literal(true) }), {
15229
+ kind: "mutation",
15230
+ auth: "admin"
15206
15231
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
15207
15232
  deviceId: number(),
15208
15233
  addonId: string(),
@@ -21123,6 +21148,18 @@ Object.freeze({
21123
21148
  addonId: null,
21124
21149
  access: "create"
21125
21150
  },
21151
+ "pipelineOrchestrator.setAgentCapabilities": {
21152
+ capName: "pipeline-orchestrator",
21153
+ capScope: "system",
21154
+ addonId: null,
21155
+ access: "create"
21156
+ },
21157
+ "pipelineOrchestrator.setAgentDetectWeight": {
21158
+ capName: "pipeline-orchestrator",
21159
+ capScope: "system",
21160
+ addonId: null,
21161
+ access: "create"
21162
+ },
21126
21163
  "pipelineOrchestrator.setAgentMaxCameras": {
21127
21164
  capName: "pipeline-orchestrator",
21128
21165
  capScope: "system",
@@ -14897,7 +14897,17 @@ var AgentAddonConfigSchema = object({
14897
14897
  });
14898
14898
  var AgentPipelineSettingsSchema = object({
14899
14899
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
14900
- maxCameras: number().int().nonnegative().nullable().default(null)
14900
+ maxCameras: number().int().nonnegative().nullable().default(null),
14901
+ /** Per-node detection weight (relative share for the quota balancer). */
14902
+ detectWeight: number().positive().optional(),
14903
+ /** Node is eligible to run the detection pipeline (decode + inference). */
14904
+ detect: boolean().optional(),
14905
+ /** Node is eligible to host decoder sessions. */
14906
+ decode: boolean().optional(),
14907
+ /** Node is eligible to run audio-analyzer sessions. */
14908
+ audio: boolean().optional(),
14909
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
14910
+ ingest: boolean().optional()
14901
14911
  });
14902
14912
  var CameraPipelineForAgentSchema = object({
14903
14913
  steps: array(PipelineStepInputSchema).readonly(),
@@ -15203,6 +15213,21 @@ method(object({
15203
15213
  }), object({ success: literal(true) }), {
15204
15214
  kind: "mutation",
15205
15215
  auth: "admin"
15216
+ }), method(object({
15217
+ agentNodeId: string(),
15218
+ detectWeight: number().positive().nullable()
15219
+ }), object({ success: literal(true) }), {
15220
+ kind: "mutation",
15221
+ auth: "admin"
15222
+ }), method(object({
15223
+ agentNodeId: string(),
15224
+ detect: boolean().nullable().optional(),
15225
+ decode: boolean().nullable().optional(),
15226
+ audio: boolean().nullable().optional(),
15227
+ ingest: boolean().nullable().optional()
15228
+ }), object({ success: literal(true) }), {
15229
+ kind: "mutation",
15230
+ auth: "admin"
15206
15231
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
15207
15232
  deviceId: number(),
15208
15233
  addonId: string(),
@@ -21123,6 +21148,18 @@ Object.freeze({
21123
21148
  addonId: null,
21124
21149
  access: "create"
21125
21150
  },
21151
+ "pipelineOrchestrator.setAgentCapabilities": {
21152
+ capName: "pipeline-orchestrator",
21153
+ capScope: "system",
21154
+ addonId: null,
21155
+ access: "create"
21156
+ },
21157
+ "pipelineOrchestrator.setAgentDetectWeight": {
21158
+ capName: "pipeline-orchestrator",
21159
+ capScope: "system",
21160
+ addonId: null,
21161
+ access: "create"
21162
+ },
21126
21163
  "pipelineOrchestrator.setAgentMaxCameras": {
21127
21164
  capName: "pipeline-orchestrator",
21128
21165
  capScope: "system",
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_dist = require("../dist-CjRXrKUN.js");
5
+ const require_dist = require("../dist-C7REjypo.js");
6
6
  let node_child_process = require("node:child_process");
7
7
  let node_util = require("node:util");
8
8
  let node_crypto = require("node:crypto");
@@ -1,4 +1,4 @@
1
- import { i as EventCategory, n as networkAccessCapability, r as BaseAddon } from "../dist-osGt91FT.mjs";
1
+ import { i as EventCategory, n as networkAccessCapability, r as BaseAddon } from "../dist-BCTaceZ_.mjs";
2
2
  import { execFile } from "node:child_process";
3
3
  import { promisify } from "node:util";
4
4
  import { randomUUID } from "node:crypto";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-tailscale",
3
- "version": "1.1.16",
3
+ "version": "1.1.17",
4
4
  "description": "Tailscale bundle for CamStack — joins the host to a tailnet (client) and exposes the hub via Serve/Funnel (ingress). Multi-entry npm package shipping 2 addons under a single bundle.",
5
5
  "keywords": [
6
6
  "camstack",