@camstack/addon-tailscale 1.2.68 → 1.2.69

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-Bin6Beic.js");
27
+ const require_dist = require("../dist-DusCdQeu.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 { a as EventCategory, i as BaseAddon, n as networkAccessCapability, r as BOOT_RECOVERY_BACKOFF_MS, t as meshNetworkCapability } from "../dist-BGX4TYGX.mjs";
1
+ import { a as EventCategory, i as BaseAddon, n as networkAccessCapability, r as BOOT_RECOVERY_BACKOFF_MS, t as meshNetworkCapability } from "../dist-DzOJ1z3l.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";
@@ -19055,6 +19055,33 @@ var RecentTracksQueryInput = object({
19055
19055
  */
19056
19056
  classes: array(string()).optional()
19057
19057
  });
19058
+ /**
19059
+ * A Summary (D359): the per-camera session envelope that references tracks.
19060
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19061
+ * served by the event-media plane by key), null until the first frame with a
19062
+ * member visible has been materialised.
19063
+ */
19064
+ var SummarySchema = object({
19065
+ id: string(),
19066
+ deviceId: number(),
19067
+ openedAt: number(),
19068
+ lastActiveAt: number(),
19069
+ sealedAt: number().nullable(),
19070
+ memberCount: number().int().nonnegative(),
19071
+ groupShotKey: string().nullable()
19072
+ });
19073
+ var SummariesQueryInput = object({
19074
+ deviceIds: array(number()).min(1),
19075
+ since: number().optional(),
19076
+ until: number().optional(),
19077
+ limit: number().int().min(1).max(200).default(50)
19078
+ });
19079
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19080
+ var SummaryDetailSchema = object({
19081
+ summary: SummarySchema,
19082
+ /** Member track ids, in absorption order. */
19083
+ trackIds: array(string()).readonly()
19084
+ });
19058
19085
  var RecentTracksPageSchema = object({
19059
19086
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19060
19087
  tracks: array(TrackSchema).readonly(),
@@ -19455,7 +19482,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19455
19482
  * timeline would read as a camera that saw nothing.
19456
19483
  */
19457
19484
  classes: array(string()).optional()
19458
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19485
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19459
19486
  kind: "mutation",
19460
19487
  auth: "admin"
19461
19488
  }), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
@@ -32471,6 +32498,12 @@ Object.freeze({
32471
32498
  addonId: null,
32472
32499
  access: "view"
32473
32500
  },
32501
+ "pipelineAnalytics.getSummary": {
32502
+ capName: "pipeline-analytics",
32503
+ capScope: "device",
32504
+ addonId: null,
32505
+ access: "view"
32506
+ },
32474
32507
  "pipelineAnalytics.getTrack": {
32475
32508
  capName: "pipeline-analytics",
32476
32509
  capScope: "device",
@@ -32549,6 +32582,12 @@ Object.freeze({
32549
32582
  addonId: null,
32550
32583
  access: "view"
32551
32584
  },
32585
+ "pipelineAnalytics.listSummaries": {
32586
+ capName: "pipeline-analytics",
32587
+ capScope: "device",
32588
+ addonId: null,
32589
+ access: "view"
32590
+ },
32552
32591
  "pipelineAnalytics.listTrackMedia": {
32553
32592
  capName: "pipeline-analytics",
32554
32593
  capScope: "device",
@@ -36244,6 +36283,11 @@ Object.freeze({
36244
36283
  form: "array",
36245
36284
  optional: true
36246
36285
  }],
36286
+ "pipelineAnalytics.listSummaries": [{
36287
+ name: "deviceIds",
36288
+ form: "array",
36289
+ optional: false
36290
+ }],
36247
36291
  "pipelineAnalytics.listTrackMedia": [{
36248
36292
  name: "deviceId",
36249
36293
  form: "single",
@@ -19055,6 +19055,33 @@ var RecentTracksQueryInput = object({
19055
19055
  */
19056
19056
  classes: array(string()).optional()
19057
19057
  });
19058
+ /**
19059
+ * A Summary (D359): the per-camera session envelope that references tracks.
19060
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19061
+ * served by the event-media plane by key), null until the first frame with a
19062
+ * member visible has been materialised.
19063
+ */
19064
+ var SummarySchema = object({
19065
+ id: string(),
19066
+ deviceId: number(),
19067
+ openedAt: number(),
19068
+ lastActiveAt: number(),
19069
+ sealedAt: number().nullable(),
19070
+ memberCount: number().int().nonnegative(),
19071
+ groupShotKey: string().nullable()
19072
+ });
19073
+ var SummariesQueryInput = object({
19074
+ deviceIds: array(number()).min(1),
19075
+ since: number().optional(),
19076
+ until: number().optional(),
19077
+ limit: number().int().min(1).max(200).default(50)
19078
+ });
19079
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19080
+ var SummaryDetailSchema = object({
19081
+ summary: SummarySchema,
19082
+ /** Member track ids, in absorption order. */
19083
+ trackIds: array(string()).readonly()
19084
+ });
19058
19085
  var RecentTracksPageSchema = object({
19059
19086
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19060
19087
  tracks: array(TrackSchema).readonly(),
@@ -19455,7 +19482,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19455
19482
  * timeline would read as a camera that saw nothing.
19456
19483
  */
19457
19484
  classes: array(string()).optional()
19458
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19485
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19459
19486
  kind: "mutation",
19460
19487
  auth: "admin"
19461
19488
  }), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
@@ -32471,6 +32498,12 @@ Object.freeze({
32471
32498
  addonId: null,
32472
32499
  access: "view"
32473
32500
  },
32501
+ "pipelineAnalytics.getSummary": {
32502
+ capName: "pipeline-analytics",
32503
+ capScope: "device",
32504
+ addonId: null,
32505
+ access: "view"
32506
+ },
32474
32507
  "pipelineAnalytics.getTrack": {
32475
32508
  capName: "pipeline-analytics",
32476
32509
  capScope: "device",
@@ -32549,6 +32582,12 @@ Object.freeze({
32549
32582
  addonId: null,
32550
32583
  access: "view"
32551
32584
  },
32585
+ "pipelineAnalytics.listSummaries": {
32586
+ capName: "pipeline-analytics",
32587
+ capScope: "device",
32588
+ addonId: null,
32589
+ access: "view"
32590
+ },
32552
32591
  "pipelineAnalytics.listTrackMedia": {
32553
32592
  capName: "pipeline-analytics",
32554
32593
  capScope: "device",
@@ -36244,6 +36283,11 @@ Object.freeze({
36244
36283
  form: "array",
36245
36284
  optional: true
36246
36285
  }],
36286
+ "pipelineAnalytics.listSummaries": [{
36287
+ name: "deviceIds",
36288
+ form: "array",
36289
+ optional: false
36290
+ }],
36247
36291
  "pipelineAnalytics.listTrackMedia": [{
36248
36292
  name: "deviceId",
36249
36293
  form: "single",
@@ -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-Bin6Beic.js");
5
+ const require_dist = require("../dist-DusCdQeu.js");
6
6
  let node_crypto = require("node:crypto");
7
7
  let node_child_process = require("node:child_process");
8
8
  //#region src/ingress/tailscale-cli.ts
@@ -1,4 +1,4 @@
1
- import { a as EventCategory, i as BaseAddon, n as networkAccessCapability } from "../dist-BGX4TYGX.mjs";
1
+ import { a as EventCategory, i as BaseAddon, n as networkAccessCapability } from "../dist-DzOJ1z3l.mjs";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import { execFile } from "node:child_process";
4
4
  import { promisify } from "node:util";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-tailscale",
3
- "version": "1.2.68",
3
+ "version": "1.2.69",
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",