@camstack/addon-tailscale 1.2.27 → 1.2.28
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/client/tailscale.addon.js +1 -1
- package/dist/client/tailscale.addon.mjs +1 -1
- package/dist/{dist-CovkuhH2.mjs → dist-B3EqlLnX.mjs} +184 -34
- package/dist/{dist-BrkbC1tE.js → dist-CdQI1dFQ.js} +184 -34
- package/dist/ingress/tailscale-ingress.addon.js +1 -1
- package/dist/ingress/tailscale-ingress.addon.mjs +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
27
|
+
const require_dist = require("../dist-CdQI1dFQ.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-
|
|
1
|
+
import { a as EventCategory, i as BaseAddon, n as networkAccessCapability, r as BOOT_RECOVERY_BACKOFF_MS, t as meshNetworkCapability } from "../dist-B3EqlLnX.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";
|
|
@@ -5800,6 +5800,13 @@ var BaseAddon = class {
|
|
|
5800
5800
|
_readinessGeneration = typeof crypto !== "undefined" && crypto.randomUUID ? crypto.randomUUID() : Math.random().toString(36).slice(2, 14);
|
|
5801
5801
|
/** Capability names this addon registered at init — used to emit matching `down` events on shutdown. */
|
|
5802
5802
|
_registeredCapNames = [];
|
|
5803
|
+
/**
|
|
5804
|
+
* True only after `readAddonStore` actually answered. Constructor
|
|
5805
|
+
* defaults look like stored config when the store is down — a forked
|
|
5806
|
+
* addon that auto-starts from those defaults (cloudflare-tunnel quick
|
|
5807
|
+
* mode, 2026-08-25) is not "the operator chose this".
|
|
5808
|
+
*/
|
|
5809
|
+
settingsStoreReady = false;
|
|
5803
5810
|
/** Default config values. Provided via constructor. */
|
|
5804
5811
|
defaults;
|
|
5805
5812
|
constructor(defaults) {
|
|
@@ -6200,7 +6207,9 @@ var BaseAddon = class {
|
|
|
6200
6207
|
];
|
|
6201
6208
|
let lastErr;
|
|
6202
6209
|
for (let attempt = 0; attempt <= delaysMs.length; attempt++) try {
|
|
6203
|
-
|
|
6210
|
+
const stored = await settings.readAddonStore() ?? {};
|
|
6211
|
+
this.settingsStoreReady = true;
|
|
6212
|
+
return stored;
|
|
6204
6213
|
} catch (err) {
|
|
6205
6214
|
lastErr = err;
|
|
6206
6215
|
const msg = err instanceof Error ? err.message : String(err);
|
|
@@ -6208,6 +6217,7 @@ var BaseAddon = class {
|
|
|
6208
6217
|
if (attempt === delaysMs.length) break;
|
|
6209
6218
|
await new Promise((r) => setTimeout(r, delaysMs[attempt]));
|
|
6210
6219
|
}
|
|
6220
|
+
this.settingsStoreReady = false;
|
|
6211
6221
|
this._ctx?.logger?.warn?.("readAddonStore: settings-store unavailable after retries — using defaults", { meta: { error: lastErr instanceof Error ? lastErr.message : String(lastErr) } });
|
|
6212
6222
|
return {};
|
|
6213
6223
|
}
|
|
@@ -8129,6 +8139,12 @@ var ModelVariantGroupSchema = object({
|
|
|
8129
8139
|
*/
|
|
8130
8140
|
resolution: number().int().positive().optional()
|
|
8131
8141
|
});
|
|
8142
|
+
var ModelProviderIdSchema = _enum([
|
|
8143
|
+
"camstack",
|
|
8144
|
+
"frigate",
|
|
8145
|
+
"scrypted",
|
|
8146
|
+
"custom"
|
|
8147
|
+
]);
|
|
8132
8148
|
var ModelCatalogEntrySchema = object({
|
|
8133
8149
|
id: string(),
|
|
8134
8150
|
name: string(),
|
|
@@ -8226,6 +8242,12 @@ var ModelCatalogEntrySchema = object({
|
|
|
8226
8242
|
*/
|
|
8227
8243
|
group: ModelVariantGroupSchema.optional(),
|
|
8228
8244
|
/**
|
|
8245
|
+
* Catalog source for the pipeline stepper's provider-first picker. Absent on
|
|
8246
|
+
* built-in CamStack entries (treated as `camstack`) and on registry rows
|
|
8247
|
+
* persisted before this field existed (`inferModelProvider` fills those).
|
|
8248
|
+
*/
|
|
8249
|
+
provider: ModelProviderIdSchema.optional(),
|
|
8250
|
+
/**
|
|
8229
8251
|
* Per-MODEL class map override. Absent ⇒ the step's `StepDefinition.classMap`
|
|
8230
8252
|
* applies (Frigate / COCO public catalog). Set on a custom model whose raw
|
|
8231
8253
|
* labels already ARE the CamStack macros (Scrypted identity map).
|
|
@@ -11753,6 +11775,27 @@ var LinkedDeviceSchema = object({
|
|
|
11753
11775
|
features: array(string()),
|
|
11754
11776
|
producesTrackedEvents: boolean().optional()
|
|
11755
11777
|
});
|
|
11778
|
+
/** One camera's resolved linked set, tagged with the camera it belongs to.
|
|
11779
|
+
* The batch answer needs the tag; the single-device answer already has it
|
|
11780
|
+
* from the input, which is why `getLinkedDevices` keeps the untagged shape. */
|
|
11781
|
+
var LinkedDevicesForDeviceSchema = object({
|
|
11782
|
+
deviceId: number(),
|
|
11783
|
+
mode: LinkedDevicesModeSchema,
|
|
11784
|
+
devices: array(LinkedDeviceSchema)
|
|
11785
|
+
});
|
|
11786
|
+
/** One device's binding map — the shape `getBindings`, `getBindingsBatch` and
|
|
11787
|
+
* `getAllBindings` all answer in. Declared once: three copies of the same
|
|
11788
|
+
* object literal is exactly how the three drift apart. */
|
|
11789
|
+
var DeviceBindingsForDeviceSchema = object({
|
|
11790
|
+
deviceId: number(),
|
|
11791
|
+
entries: array(object({
|
|
11792
|
+
capName: string(),
|
|
11793
|
+
kind: _enum(["native", "wrapped"]),
|
|
11794
|
+
providerAddonId: string(),
|
|
11795
|
+
providerNodeId: string(),
|
|
11796
|
+
nativeAddonId: string()
|
|
11797
|
+
}))
|
|
11798
|
+
});
|
|
11756
11799
|
var SavedDeviceRowSchema = object({
|
|
11757
11800
|
/** Numeric id reserved at allocateDeviceId time. */
|
|
11758
11801
|
id: number(),
|
|
@@ -11978,11 +12021,25 @@ method(object({
|
|
|
11978
12021
|
projection: _enum(["full", "slim"]).optional(),
|
|
11979
12022
|
/** Return only camera devices. Filtering server-side instead of
|
|
11980
12023
|
* shipping 293 rows to find 12. */
|
|
11981
|
-
isCamera: boolean().optional()
|
|
12024
|
+
isCamera: boolean().optional(),
|
|
12025
|
+
/**
|
|
12026
|
+
* Return only these device ids. For the caller that already KNOWS the
|
|
12027
|
+
* handful it wants and needs a field the id-bearing answer does not
|
|
12028
|
+
* carry — the viewer's linked-devices panel joins `type` and `online`
|
|
12029
|
+
* onto ~8 linked ids and, unfiltered, dragged the fleet across to do
|
|
12030
|
+
* it: 433 KB slim / 958 KB full for 967 devices, on a query that
|
|
12031
|
+
* refetches on the reconcile interval, on a phone.
|
|
12032
|
+
*
|
|
12033
|
+
* Safe to send at a hub that predates it: Zod STRIPS unknown input
|
|
12034
|
+
* keys rather than rejecting them (verified against the live hub
|
|
12035
|
+
* 2026-08-25 — 967 rows came back), so an old hub answers exactly what
|
|
12036
|
+
* it answers today and the caller filters as it already does.
|
|
12037
|
+
*/
|
|
12038
|
+
deviceIds: array(number()).optional()
|
|
11982
12039
|
}), array(DeviceInfoSchema)), method(object({ deviceId: number() }), DeviceInfoSchema.nullable()), method(object({ parentDeviceId: number() }), array(DeviceInfoSchema)), method(object({ deviceId: number() }), object({
|
|
11983
12040
|
mode: LinkedDevicesModeSchema,
|
|
11984
12041
|
devices: array(LinkedDeviceSchema)
|
|
11985
|
-
})), method(object({ deviceId: number() }), array(StreamSourceEntrySchema$1)), method(object({ deviceId: number() }), array(ConfigEntrySchema)), method(object({ deviceId: number() }), ConfigUISchemaOutput), method(object({
|
|
12042
|
+
})), method(object({ deviceIds: array(number()) }), array(LinkedDevicesForDeviceSchema)), method(object({ deviceId: number() }), array(StreamSourceEntrySchema$1)), method(object({ deviceId: number() }), array(ConfigEntrySchema)), method(object({ deviceId: number() }), ConfigUISchemaOutput), method(object({
|
|
11986
12043
|
deviceId: number(),
|
|
11987
12044
|
values: record(string(), unknown())
|
|
11988
12045
|
}), object({ success: literal(true) }), {
|
|
@@ -12009,25 +12066,7 @@ method(object({
|
|
|
12009
12066
|
}), method(object({ deviceId: number() }), array(StreamProbeResultSchema), {
|
|
12010
12067
|
kind: "mutation",
|
|
12011
12068
|
auth: "admin"
|
|
12012
|
-
}), method(object({ deviceId: number() }), object({
|
|
12013
|
-
deviceId: number(),
|
|
12014
|
-
entries: array(object({
|
|
12015
|
-
capName: string(),
|
|
12016
|
-
kind: _enum(["native", "wrapped"]),
|
|
12017
|
-
providerAddonId: string(),
|
|
12018
|
-
providerNodeId: string(),
|
|
12019
|
-
nativeAddonId: string()
|
|
12020
|
-
}))
|
|
12021
|
-
})), method(object({}), array(object({
|
|
12022
|
-
deviceId: number(),
|
|
12023
|
-
entries: array(object({
|
|
12024
|
-
capName: string(),
|
|
12025
|
-
kind: _enum(["native", "wrapped"]),
|
|
12026
|
-
providerAddonId: string(),
|
|
12027
|
-
providerNodeId: string(),
|
|
12028
|
-
nativeAddonId: string()
|
|
12029
|
-
}))
|
|
12030
|
-
}))), method(object({
|
|
12069
|
+
}), method(object({ deviceId: number() }), DeviceBindingsForDeviceSchema), method(object({ deviceIds: array(number()) }), array(DeviceBindingsForDeviceSchema)), method(object({}), array(DeviceBindingsForDeviceSchema)), method(object({
|
|
12031
12070
|
deviceId: number(),
|
|
12032
12071
|
capName: string(),
|
|
12033
12072
|
wrapperAddonId: string(),
|
|
@@ -14416,12 +14455,15 @@ var NcOccupancyConditionSchema = object({
|
|
|
14416
14455
|
* there is no second switch that can disagree with the first and every rule
|
|
14417
14456
|
* authored before the decision migrates for free (`audioModeOf`):
|
|
14418
14457
|
*
|
|
14419
|
-
* - **LABEL mode — `labels` present.** The rule fires
|
|
14420
|
-
*
|
|
14421
|
-
* `hitPercent` and `samplingSeconds` are ignored
|
|
14422
|
-
*
|
|
14423
|
-
*
|
|
14424
|
-
*
|
|
14458
|
+
* - **LABEL mode — `labels` present.** The rule fires when `confirmHits`
|
|
14459
|
+
* labelled frames land inside `confirmWindowSec` (default 2 in 5 s).
|
|
14460
|
+
* `hitPercent` and `samplingSeconds` are still ignored — a percentage of
|
|
14461
|
+
* frames is the wrong question for a classifier that labels 1–3 frames
|
|
14462
|
+
* per episode. The count window is the brake that drops a single-frame
|
|
14463
|
+
* false positive; the rule's own `throttle` cooldown is the other. The
|
|
14464
|
+
* per-label confidence floor is the analyzer's (`classificationMinScore`,
|
|
14465
|
+
* per device) — a label only reaches this condition if the classifier was
|
|
14466
|
+
* already confident enough. `confirmHits: 1` restores first-frame fire.
|
|
14425
14467
|
* - **LEVEL mode — `dbThreshold` present, no labels.** The sampling window IS
|
|
14426
14468
|
* the condition: at least `hitPercent`% of the samples over
|
|
14427
14469
|
* `samplingSeconds` must be at or above `dbThreshold` dBFS (see
|
|
@@ -14448,14 +14490,22 @@ var NcOccupancyConditionSchema = object({
|
|
|
14448
14490
|
* an operator who typed `dog` mean the same thing.
|
|
14449
14491
|
*/
|
|
14450
14492
|
var NcAudioConditionSchema = object({
|
|
14451
|
-
/** LABEL MODE: audio macro labels. Present ⇒
|
|
14493
|
+
/** LABEL MODE: audio macro labels. Present ⇒ count-in-window confirm. */
|
|
14452
14494
|
labels: array(string().min(1)).min(1).optional(),
|
|
14453
14495
|
/** LEVEL MODE: floor in dBFS (negative-going, `0` = full scale). */
|
|
14454
14496
|
dbThreshold: number().min(-96).max(0).optional(),
|
|
14455
14497
|
/** LEVEL MODE ONLY: percentage of the window's samples that must be hits (1–100). */
|
|
14456
14498
|
hitPercent: number().int().min(1).max(100).default(60),
|
|
14457
14499
|
/** LEVEL MODE ONLY: length of the sampling window in seconds. */
|
|
14458
|
-
samplingSeconds: number().int().min(1).max(300).default(10)
|
|
14500
|
+
samplingSeconds: number().int().min(1).max(300).default(10),
|
|
14501
|
+
/**
|
|
14502
|
+
* LABEL MODE: how many labelled frames must land inside
|
|
14503
|
+
* {@link NcAudioConditionSchema.shape.confirmWindowSec} before dispatch.
|
|
14504
|
+
* Absent ⇒ 2 (the matcher default). `1` is first-frame fire.
|
|
14505
|
+
*/
|
|
14506
|
+
confirmHits: number().int().min(1).max(20).optional(),
|
|
14507
|
+
/** LABEL MODE: the window those frames must share, in seconds. Absent ⇒ 5. */
|
|
14508
|
+
confirmWindowSec: number().int().min(1).max(60).optional()
|
|
14459
14509
|
});
|
|
14460
14510
|
/**
|
|
14461
14511
|
* Which zone-crossing DIRECTION a rule accepts (`ObjectEvent.zoneCrossing`).
|
|
@@ -16829,6 +16879,46 @@ var RecentTracksPageSchema = object({
|
|
|
16829
16879
|
/** Cursor for the next page, or null when this page is the last. */
|
|
16830
16880
|
nextCursor: string().nullable()
|
|
16831
16881
|
});
|
|
16882
|
+
var LIST_GROUPS_DEFAULT_LIMIT = 40;
|
|
16883
|
+
var LIST_GROUPS_MAX_LIMIT = 100;
|
|
16884
|
+
var AnalyticsGroupRecordSchema = object({
|
|
16885
|
+
id: string(),
|
|
16886
|
+
deviceId: number().int(),
|
|
16887
|
+
openedAt: number().int(),
|
|
16888
|
+
closedAt: number().int(),
|
|
16889
|
+
timestamp: number().int(),
|
|
16890
|
+
memberCount: number().int(),
|
|
16891
|
+
memberTrackIds: array(string()).readonly(),
|
|
16892
|
+
className: string(),
|
|
16893
|
+
classes: array(string()).readonly(),
|
|
16894
|
+
/** Relative event-media path, or null when the group has no picture yet. */
|
|
16895
|
+
mediaUrl: string().nullable(),
|
|
16896
|
+
singleton: boolean()
|
|
16897
|
+
});
|
|
16898
|
+
var AnalyticsGroupMemberSchema = object({
|
|
16899
|
+
trackId: string(),
|
|
16900
|
+
deviceId: number().int(),
|
|
16901
|
+
className: string(),
|
|
16902
|
+
firstSeen: number().int(),
|
|
16903
|
+
lastSeen: number().int(),
|
|
16904
|
+
mediaUrl: string().nullable()
|
|
16905
|
+
});
|
|
16906
|
+
var AnalyticsGroupDetailSchema = AnalyticsGroupRecordSchema.extend({ members: array(AnalyticsGroupMemberSchema).readonly() });
|
|
16907
|
+
var ListGroupsQueryInput = object({
|
|
16908
|
+
/** Devices to merge. An empty array yields `{ groups: [], nextCursor: null }`. */
|
|
16909
|
+
deviceIds: array(number()),
|
|
16910
|
+
/** Window lower bound on `closedAt` (inclusive). */
|
|
16911
|
+
since: number().optional(),
|
|
16912
|
+
/** Window upper bound on `openedAt` (inclusive). */
|
|
16913
|
+
until: number().optional(),
|
|
16914
|
+
limit: number().int().min(1).max(LIST_GROUPS_MAX_LIMIT).default(LIST_GROUPS_DEFAULT_LIMIT),
|
|
16915
|
+
/** Opaque continuation cursor from a previous page's `nextCursor`. */
|
|
16916
|
+
cursor: string().optional()
|
|
16917
|
+
});
|
|
16918
|
+
var ListGroupsPageSchema = object({
|
|
16919
|
+
groups: array(AnalyticsGroupRecordSchema).readonly(),
|
|
16920
|
+
nextCursor: string().nullable()
|
|
16921
|
+
});
|
|
16832
16922
|
var KeyEventQueryInput = object({
|
|
16833
16923
|
deviceId: number(),
|
|
16834
16924
|
/** Window lower bound (track firstSeen ≥ since). */
|
|
@@ -16904,7 +16994,9 @@ var TrackCascadeCountsSchema = object({
|
|
|
16904
16994
|
/** Unassigned plate reads removed (best-effort; plate leg deferred to plate-intelligence). */
|
|
16905
16995
|
plates: number().int(),
|
|
16906
16996
|
/** Per-track CLIP search vectors removed (best-effort). */
|
|
16907
|
-
embeddings: number().int()
|
|
16997
|
+
embeddings: number().int(),
|
|
16998
|
+
/** Group membership + group rows removed with their last member (best-effort). */
|
|
16999
|
+
groups: number().int()
|
|
16908
17000
|
});
|
|
16909
17001
|
/** Disk-wins reconcile: media rows whose blobs are gone, then empty tracks. */
|
|
16910
17002
|
var DiskReconcileCountsSchema = object({
|
|
@@ -17050,7 +17142,10 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
17050
17142
|
* stationary registry). Default false: the timeline lists passages,
|
|
17051
17143
|
* not parking records (operator decision, 2026-08-15). */
|
|
17052
17144
|
includeStationary: boolean().optional()
|
|
17053
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(
|
|
17145
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(ListGroupsQueryInput, ListGroupsPageSchema), method(object({
|
|
17146
|
+
deviceId: number(),
|
|
17147
|
+
groupId: string().min(1)
|
|
17148
|
+
}), AnalyticsGroupDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
17054
17149
|
kind: "mutation",
|
|
17055
17150
|
auth: "admin"
|
|
17056
17151
|
}), 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({
|
|
@@ -17360,7 +17455,8 @@ var PipelineModelOptionSchema = object({
|
|
|
17360
17455
|
sizeMB: number()
|
|
17361
17456
|
})),
|
|
17362
17457
|
group: ModelVariantGroupSchema.optional(),
|
|
17363
|
-
legacy: boolean().optional()
|
|
17458
|
+
legacy: boolean().optional(),
|
|
17459
|
+
provider: ModelProviderIdSchema.optional()
|
|
17364
17460
|
});
|
|
17365
17461
|
var ConfigFieldBridge = custom();
|
|
17366
17462
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -24005,7 +24101,12 @@ var PlateInfoSchema = object({
|
|
|
24005
24101
|
plateBbox: BoundingBoxSchema.optional(),
|
|
24006
24102
|
/** keyFrame parity: MediaStore key of the track's native-resolution key frame. */
|
|
24007
24103
|
keyFrameMediaKey: string().optional(),
|
|
24008
|
-
base64: string().optional()
|
|
24104
|
+
base64: string().optional(),
|
|
24105
|
+
/**
|
|
24106
|
+
* Same crop as a data-plane URL. `getPlateByTrack` returns this and
|
|
24107
|
+
* never inlines JPEG; `listPlates` still inlines for the admin-ui.
|
|
24108
|
+
*/
|
|
24109
|
+
cropUrl: string().optional()
|
|
24009
24110
|
});
|
|
24010
24111
|
var MediaFileLiteSchema = object({
|
|
24011
24112
|
key: string(),
|
|
@@ -27645,6 +27746,12 @@ Object.freeze({
|
|
|
27645
27746
|
addonId: null,
|
|
27646
27747
|
access: "view"
|
|
27647
27748
|
},
|
|
27749
|
+
"deviceManager.getBindingsBatch": {
|
|
27750
|
+
capName: "device-manager",
|
|
27751
|
+
capScope: "system",
|
|
27752
|
+
addonId: null,
|
|
27753
|
+
access: "view"
|
|
27754
|
+
},
|
|
27648
27755
|
"deviceManager.getChildren": {
|
|
27649
27756
|
capName: "device-manager",
|
|
27650
27757
|
capScope: "system",
|
|
@@ -27705,6 +27812,12 @@ Object.freeze({
|
|
|
27705
27812
|
addonId: null,
|
|
27706
27813
|
access: "view"
|
|
27707
27814
|
},
|
|
27815
|
+
"deviceManager.getLinkedDevicesBatch": {
|
|
27816
|
+
capName: "device-manager",
|
|
27817
|
+
capScope: "system",
|
|
27818
|
+
addonId: null,
|
|
27819
|
+
access: "view"
|
|
27820
|
+
},
|
|
27708
27821
|
"deviceManager.getRoleDisplayDefaults": {
|
|
27709
27822
|
capName: "device-manager",
|
|
27710
27823
|
capScope: "system",
|
|
@@ -29475,6 +29588,12 @@ Object.freeze({
|
|
|
29475
29588
|
addonId: null,
|
|
29476
29589
|
access: "view"
|
|
29477
29590
|
},
|
|
29591
|
+
"pipelineAnalytics.getGroup": {
|
|
29592
|
+
capName: "pipeline-analytics",
|
|
29593
|
+
capScope: "device",
|
|
29594
|
+
addonId: null,
|
|
29595
|
+
access: "view"
|
|
29596
|
+
},
|
|
29478
29597
|
"pipelineAnalytics.getKeyEvents": {
|
|
29479
29598
|
capName: "pipeline-analytics",
|
|
29480
29599
|
capScope: "device",
|
|
@@ -29559,6 +29678,12 @@ Object.freeze({
|
|
|
29559
29678
|
addonId: null,
|
|
29560
29679
|
access: "view"
|
|
29561
29680
|
},
|
|
29681
|
+
"pipelineAnalytics.listGroups": {
|
|
29682
|
+
capName: "pipeline-analytics",
|
|
29683
|
+
capScope: "device",
|
|
29684
|
+
addonId: null,
|
|
29685
|
+
access: "view"
|
|
29686
|
+
},
|
|
29562
29687
|
"pipelineAnalytics.listOpsLog": {
|
|
29563
29688
|
capName: "pipeline-analytics",
|
|
29564
29689
|
capScope: "device",
|
|
@@ -32340,6 +32465,11 @@ Object.freeze({
|
|
|
32340
32465
|
form: "single",
|
|
32341
32466
|
optional: false
|
|
32342
32467
|
}],
|
|
32468
|
+
"deviceManager.getBindingsBatch": [{
|
|
32469
|
+
name: "deviceIds",
|
|
32470
|
+
form: "array",
|
|
32471
|
+
optional: false
|
|
32472
|
+
}],
|
|
32343
32473
|
"deviceManager.getChildren": [{
|
|
32344
32474
|
name: "parentDeviceId",
|
|
32345
32475
|
form: "single",
|
|
@@ -32385,6 +32515,11 @@ Object.freeze({
|
|
|
32385
32515
|
form: "single",
|
|
32386
32516
|
optional: false
|
|
32387
32517
|
}],
|
|
32518
|
+
"deviceManager.getLinkedDevicesBatch": [{
|
|
32519
|
+
name: "deviceIds",
|
|
32520
|
+
form: "array",
|
|
32521
|
+
optional: false
|
|
32522
|
+
}],
|
|
32388
32523
|
"deviceManager.getSettingsSchema": [{
|
|
32389
32524
|
name: "deviceId",
|
|
32390
32525
|
form: "single",
|
|
@@ -32405,6 +32540,11 @@ Object.freeze({
|
|
|
32405
32540
|
form: "single",
|
|
32406
32541
|
optional: false
|
|
32407
32542
|
}],
|
|
32543
|
+
"deviceManager.listAll": [{
|
|
32544
|
+
name: "deviceIds",
|
|
32545
|
+
form: "array",
|
|
32546
|
+
optional: true
|
|
32547
|
+
}],
|
|
32408
32548
|
"deviceManager.loadConfig": [{
|
|
32409
32549
|
name: "deviceId",
|
|
32410
32550
|
form: "single",
|
|
@@ -32978,6 +33118,11 @@ Object.freeze({
|
|
|
32978
33118
|
form: "single",
|
|
32979
33119
|
optional: false
|
|
32980
33120
|
}],
|
|
33121
|
+
"pipelineAnalytics.getGroup": [{
|
|
33122
|
+
name: "deviceId",
|
|
33123
|
+
form: "single",
|
|
33124
|
+
optional: false
|
|
33125
|
+
}],
|
|
32981
33126
|
"pipelineAnalytics.getKeyEvents": [{
|
|
32982
33127
|
name: "deviceId",
|
|
32983
33128
|
form: "single",
|
|
@@ -33033,6 +33178,11 @@ Object.freeze({
|
|
|
33033
33178
|
form: "array",
|
|
33034
33179
|
optional: false
|
|
33035
33180
|
}],
|
|
33181
|
+
"pipelineAnalytics.listGroups": [{
|
|
33182
|
+
name: "deviceIds",
|
|
33183
|
+
form: "array",
|
|
33184
|
+
optional: false
|
|
33185
|
+
}],
|
|
33036
33186
|
"pipelineAnalytics.listOpsLog": [{
|
|
33037
33187
|
name: "deviceId",
|
|
33038
33188
|
form: "single",
|
|
@@ -5800,6 +5800,13 @@ var BaseAddon = class {
|
|
|
5800
5800
|
_readinessGeneration = typeof crypto !== "undefined" && crypto.randomUUID ? crypto.randomUUID() : Math.random().toString(36).slice(2, 14);
|
|
5801
5801
|
/** Capability names this addon registered at init — used to emit matching `down` events on shutdown. */
|
|
5802
5802
|
_registeredCapNames = [];
|
|
5803
|
+
/**
|
|
5804
|
+
* True only after `readAddonStore` actually answered. Constructor
|
|
5805
|
+
* defaults look like stored config when the store is down — a forked
|
|
5806
|
+
* addon that auto-starts from those defaults (cloudflare-tunnel quick
|
|
5807
|
+
* mode, 2026-08-25) is not "the operator chose this".
|
|
5808
|
+
*/
|
|
5809
|
+
settingsStoreReady = false;
|
|
5803
5810
|
/** Default config values. Provided via constructor. */
|
|
5804
5811
|
defaults;
|
|
5805
5812
|
constructor(defaults) {
|
|
@@ -6200,7 +6207,9 @@ var BaseAddon = class {
|
|
|
6200
6207
|
];
|
|
6201
6208
|
let lastErr;
|
|
6202
6209
|
for (let attempt = 0; attempt <= delaysMs.length; attempt++) try {
|
|
6203
|
-
|
|
6210
|
+
const stored = await settings.readAddonStore() ?? {};
|
|
6211
|
+
this.settingsStoreReady = true;
|
|
6212
|
+
return stored;
|
|
6204
6213
|
} catch (err) {
|
|
6205
6214
|
lastErr = err;
|
|
6206
6215
|
const msg = err instanceof Error ? err.message : String(err);
|
|
@@ -6208,6 +6217,7 @@ var BaseAddon = class {
|
|
|
6208
6217
|
if (attempt === delaysMs.length) break;
|
|
6209
6218
|
await new Promise((r) => setTimeout(r, delaysMs[attempt]));
|
|
6210
6219
|
}
|
|
6220
|
+
this.settingsStoreReady = false;
|
|
6211
6221
|
this._ctx?.logger?.warn?.("readAddonStore: settings-store unavailable after retries — using defaults", { meta: { error: lastErr instanceof Error ? lastErr.message : String(lastErr) } });
|
|
6212
6222
|
return {};
|
|
6213
6223
|
}
|
|
@@ -8129,6 +8139,12 @@ var ModelVariantGroupSchema = object({
|
|
|
8129
8139
|
*/
|
|
8130
8140
|
resolution: number().int().positive().optional()
|
|
8131
8141
|
});
|
|
8142
|
+
var ModelProviderIdSchema = _enum([
|
|
8143
|
+
"camstack",
|
|
8144
|
+
"frigate",
|
|
8145
|
+
"scrypted",
|
|
8146
|
+
"custom"
|
|
8147
|
+
]);
|
|
8132
8148
|
var ModelCatalogEntrySchema = object({
|
|
8133
8149
|
id: string(),
|
|
8134
8150
|
name: string(),
|
|
@@ -8226,6 +8242,12 @@ var ModelCatalogEntrySchema = object({
|
|
|
8226
8242
|
*/
|
|
8227
8243
|
group: ModelVariantGroupSchema.optional(),
|
|
8228
8244
|
/**
|
|
8245
|
+
* Catalog source for the pipeline stepper's provider-first picker. Absent on
|
|
8246
|
+
* built-in CamStack entries (treated as `camstack`) and on registry rows
|
|
8247
|
+
* persisted before this field existed (`inferModelProvider` fills those).
|
|
8248
|
+
*/
|
|
8249
|
+
provider: ModelProviderIdSchema.optional(),
|
|
8250
|
+
/**
|
|
8229
8251
|
* Per-MODEL class map override. Absent ⇒ the step's `StepDefinition.classMap`
|
|
8230
8252
|
* applies (Frigate / COCO public catalog). Set on a custom model whose raw
|
|
8231
8253
|
* labels already ARE the CamStack macros (Scrypted identity map).
|
|
@@ -11753,6 +11775,27 @@ var LinkedDeviceSchema = object({
|
|
|
11753
11775
|
features: array(string()),
|
|
11754
11776
|
producesTrackedEvents: boolean().optional()
|
|
11755
11777
|
});
|
|
11778
|
+
/** One camera's resolved linked set, tagged with the camera it belongs to.
|
|
11779
|
+
* The batch answer needs the tag; the single-device answer already has it
|
|
11780
|
+
* from the input, which is why `getLinkedDevices` keeps the untagged shape. */
|
|
11781
|
+
var LinkedDevicesForDeviceSchema = object({
|
|
11782
|
+
deviceId: number(),
|
|
11783
|
+
mode: LinkedDevicesModeSchema,
|
|
11784
|
+
devices: array(LinkedDeviceSchema)
|
|
11785
|
+
});
|
|
11786
|
+
/** One device's binding map — the shape `getBindings`, `getBindingsBatch` and
|
|
11787
|
+
* `getAllBindings` all answer in. Declared once: three copies of the same
|
|
11788
|
+
* object literal is exactly how the three drift apart. */
|
|
11789
|
+
var DeviceBindingsForDeviceSchema = object({
|
|
11790
|
+
deviceId: number(),
|
|
11791
|
+
entries: array(object({
|
|
11792
|
+
capName: string(),
|
|
11793
|
+
kind: _enum(["native", "wrapped"]),
|
|
11794
|
+
providerAddonId: string(),
|
|
11795
|
+
providerNodeId: string(),
|
|
11796
|
+
nativeAddonId: string()
|
|
11797
|
+
}))
|
|
11798
|
+
});
|
|
11756
11799
|
var SavedDeviceRowSchema = object({
|
|
11757
11800
|
/** Numeric id reserved at allocateDeviceId time. */
|
|
11758
11801
|
id: number(),
|
|
@@ -11978,11 +12021,25 @@ method(object({
|
|
|
11978
12021
|
projection: _enum(["full", "slim"]).optional(),
|
|
11979
12022
|
/** Return only camera devices. Filtering server-side instead of
|
|
11980
12023
|
* shipping 293 rows to find 12. */
|
|
11981
|
-
isCamera: boolean().optional()
|
|
12024
|
+
isCamera: boolean().optional(),
|
|
12025
|
+
/**
|
|
12026
|
+
* Return only these device ids. For the caller that already KNOWS the
|
|
12027
|
+
* handful it wants and needs a field the id-bearing answer does not
|
|
12028
|
+
* carry — the viewer's linked-devices panel joins `type` and `online`
|
|
12029
|
+
* onto ~8 linked ids and, unfiltered, dragged the fleet across to do
|
|
12030
|
+
* it: 433 KB slim / 958 KB full for 967 devices, on a query that
|
|
12031
|
+
* refetches on the reconcile interval, on a phone.
|
|
12032
|
+
*
|
|
12033
|
+
* Safe to send at a hub that predates it: Zod STRIPS unknown input
|
|
12034
|
+
* keys rather than rejecting them (verified against the live hub
|
|
12035
|
+
* 2026-08-25 — 967 rows came back), so an old hub answers exactly what
|
|
12036
|
+
* it answers today and the caller filters as it already does.
|
|
12037
|
+
*/
|
|
12038
|
+
deviceIds: array(number()).optional()
|
|
11982
12039
|
}), array(DeviceInfoSchema)), method(object({ deviceId: number() }), DeviceInfoSchema.nullable()), method(object({ parentDeviceId: number() }), array(DeviceInfoSchema)), method(object({ deviceId: number() }), object({
|
|
11983
12040
|
mode: LinkedDevicesModeSchema,
|
|
11984
12041
|
devices: array(LinkedDeviceSchema)
|
|
11985
|
-
})), method(object({ deviceId: number() }), array(StreamSourceEntrySchema$1)), method(object({ deviceId: number() }), array(ConfigEntrySchema)), method(object({ deviceId: number() }), ConfigUISchemaOutput), method(object({
|
|
12042
|
+
})), method(object({ deviceIds: array(number()) }), array(LinkedDevicesForDeviceSchema)), method(object({ deviceId: number() }), array(StreamSourceEntrySchema$1)), method(object({ deviceId: number() }), array(ConfigEntrySchema)), method(object({ deviceId: number() }), ConfigUISchemaOutput), method(object({
|
|
11986
12043
|
deviceId: number(),
|
|
11987
12044
|
values: record(string(), unknown())
|
|
11988
12045
|
}), object({ success: literal(true) }), {
|
|
@@ -12009,25 +12066,7 @@ method(object({
|
|
|
12009
12066
|
}), method(object({ deviceId: number() }), array(StreamProbeResultSchema), {
|
|
12010
12067
|
kind: "mutation",
|
|
12011
12068
|
auth: "admin"
|
|
12012
|
-
}), method(object({ deviceId: number() }), object({
|
|
12013
|
-
deviceId: number(),
|
|
12014
|
-
entries: array(object({
|
|
12015
|
-
capName: string(),
|
|
12016
|
-
kind: _enum(["native", "wrapped"]),
|
|
12017
|
-
providerAddonId: string(),
|
|
12018
|
-
providerNodeId: string(),
|
|
12019
|
-
nativeAddonId: string()
|
|
12020
|
-
}))
|
|
12021
|
-
})), method(object({}), array(object({
|
|
12022
|
-
deviceId: number(),
|
|
12023
|
-
entries: array(object({
|
|
12024
|
-
capName: string(),
|
|
12025
|
-
kind: _enum(["native", "wrapped"]),
|
|
12026
|
-
providerAddonId: string(),
|
|
12027
|
-
providerNodeId: string(),
|
|
12028
|
-
nativeAddonId: string()
|
|
12029
|
-
}))
|
|
12030
|
-
}))), method(object({
|
|
12069
|
+
}), method(object({ deviceId: number() }), DeviceBindingsForDeviceSchema), method(object({ deviceIds: array(number()) }), array(DeviceBindingsForDeviceSchema)), method(object({}), array(DeviceBindingsForDeviceSchema)), method(object({
|
|
12031
12070
|
deviceId: number(),
|
|
12032
12071
|
capName: string(),
|
|
12033
12072
|
wrapperAddonId: string(),
|
|
@@ -14416,12 +14455,15 @@ var NcOccupancyConditionSchema = object({
|
|
|
14416
14455
|
* there is no second switch that can disagree with the first and every rule
|
|
14417
14456
|
* authored before the decision migrates for free (`audioModeOf`):
|
|
14418
14457
|
*
|
|
14419
|
-
* - **LABEL mode — `labels` present.** The rule fires
|
|
14420
|
-
*
|
|
14421
|
-
* `hitPercent` and `samplingSeconds` are ignored
|
|
14422
|
-
*
|
|
14423
|
-
*
|
|
14424
|
-
*
|
|
14458
|
+
* - **LABEL mode — `labels` present.** The rule fires when `confirmHits`
|
|
14459
|
+
* labelled frames land inside `confirmWindowSec` (default 2 in 5 s).
|
|
14460
|
+
* `hitPercent` and `samplingSeconds` are still ignored — a percentage of
|
|
14461
|
+
* frames is the wrong question for a classifier that labels 1–3 frames
|
|
14462
|
+
* per episode. The count window is the brake that drops a single-frame
|
|
14463
|
+
* false positive; the rule's own `throttle` cooldown is the other. The
|
|
14464
|
+
* per-label confidence floor is the analyzer's (`classificationMinScore`,
|
|
14465
|
+
* per device) — a label only reaches this condition if the classifier was
|
|
14466
|
+
* already confident enough. `confirmHits: 1` restores first-frame fire.
|
|
14425
14467
|
* - **LEVEL mode — `dbThreshold` present, no labels.** The sampling window IS
|
|
14426
14468
|
* the condition: at least `hitPercent`% of the samples over
|
|
14427
14469
|
* `samplingSeconds` must be at or above `dbThreshold` dBFS (see
|
|
@@ -14448,14 +14490,22 @@ var NcOccupancyConditionSchema = object({
|
|
|
14448
14490
|
* an operator who typed `dog` mean the same thing.
|
|
14449
14491
|
*/
|
|
14450
14492
|
var NcAudioConditionSchema = object({
|
|
14451
|
-
/** LABEL MODE: audio macro labels. Present ⇒
|
|
14493
|
+
/** LABEL MODE: audio macro labels. Present ⇒ count-in-window confirm. */
|
|
14452
14494
|
labels: array(string().min(1)).min(1).optional(),
|
|
14453
14495
|
/** LEVEL MODE: floor in dBFS (negative-going, `0` = full scale). */
|
|
14454
14496
|
dbThreshold: number().min(-96).max(0).optional(),
|
|
14455
14497
|
/** LEVEL MODE ONLY: percentage of the window's samples that must be hits (1–100). */
|
|
14456
14498
|
hitPercent: number().int().min(1).max(100).default(60),
|
|
14457
14499
|
/** LEVEL MODE ONLY: length of the sampling window in seconds. */
|
|
14458
|
-
samplingSeconds: number().int().min(1).max(300).default(10)
|
|
14500
|
+
samplingSeconds: number().int().min(1).max(300).default(10),
|
|
14501
|
+
/**
|
|
14502
|
+
* LABEL MODE: how many labelled frames must land inside
|
|
14503
|
+
* {@link NcAudioConditionSchema.shape.confirmWindowSec} before dispatch.
|
|
14504
|
+
* Absent ⇒ 2 (the matcher default). `1` is first-frame fire.
|
|
14505
|
+
*/
|
|
14506
|
+
confirmHits: number().int().min(1).max(20).optional(),
|
|
14507
|
+
/** LABEL MODE: the window those frames must share, in seconds. Absent ⇒ 5. */
|
|
14508
|
+
confirmWindowSec: number().int().min(1).max(60).optional()
|
|
14459
14509
|
});
|
|
14460
14510
|
/**
|
|
14461
14511
|
* Which zone-crossing DIRECTION a rule accepts (`ObjectEvent.zoneCrossing`).
|
|
@@ -16829,6 +16879,46 @@ var RecentTracksPageSchema = object({
|
|
|
16829
16879
|
/** Cursor for the next page, or null when this page is the last. */
|
|
16830
16880
|
nextCursor: string().nullable()
|
|
16831
16881
|
});
|
|
16882
|
+
var LIST_GROUPS_DEFAULT_LIMIT = 40;
|
|
16883
|
+
var LIST_GROUPS_MAX_LIMIT = 100;
|
|
16884
|
+
var AnalyticsGroupRecordSchema = object({
|
|
16885
|
+
id: string(),
|
|
16886
|
+
deviceId: number().int(),
|
|
16887
|
+
openedAt: number().int(),
|
|
16888
|
+
closedAt: number().int(),
|
|
16889
|
+
timestamp: number().int(),
|
|
16890
|
+
memberCount: number().int(),
|
|
16891
|
+
memberTrackIds: array(string()).readonly(),
|
|
16892
|
+
className: string(),
|
|
16893
|
+
classes: array(string()).readonly(),
|
|
16894
|
+
/** Relative event-media path, or null when the group has no picture yet. */
|
|
16895
|
+
mediaUrl: string().nullable(),
|
|
16896
|
+
singleton: boolean()
|
|
16897
|
+
});
|
|
16898
|
+
var AnalyticsGroupMemberSchema = object({
|
|
16899
|
+
trackId: string(),
|
|
16900
|
+
deviceId: number().int(),
|
|
16901
|
+
className: string(),
|
|
16902
|
+
firstSeen: number().int(),
|
|
16903
|
+
lastSeen: number().int(),
|
|
16904
|
+
mediaUrl: string().nullable()
|
|
16905
|
+
});
|
|
16906
|
+
var AnalyticsGroupDetailSchema = AnalyticsGroupRecordSchema.extend({ members: array(AnalyticsGroupMemberSchema).readonly() });
|
|
16907
|
+
var ListGroupsQueryInput = object({
|
|
16908
|
+
/** Devices to merge. An empty array yields `{ groups: [], nextCursor: null }`. */
|
|
16909
|
+
deviceIds: array(number()),
|
|
16910
|
+
/** Window lower bound on `closedAt` (inclusive). */
|
|
16911
|
+
since: number().optional(),
|
|
16912
|
+
/** Window upper bound on `openedAt` (inclusive). */
|
|
16913
|
+
until: number().optional(),
|
|
16914
|
+
limit: number().int().min(1).max(LIST_GROUPS_MAX_LIMIT).default(LIST_GROUPS_DEFAULT_LIMIT),
|
|
16915
|
+
/** Opaque continuation cursor from a previous page's `nextCursor`. */
|
|
16916
|
+
cursor: string().optional()
|
|
16917
|
+
});
|
|
16918
|
+
var ListGroupsPageSchema = object({
|
|
16919
|
+
groups: array(AnalyticsGroupRecordSchema).readonly(),
|
|
16920
|
+
nextCursor: string().nullable()
|
|
16921
|
+
});
|
|
16832
16922
|
var KeyEventQueryInput = object({
|
|
16833
16923
|
deviceId: number(),
|
|
16834
16924
|
/** Window lower bound (track firstSeen ≥ since). */
|
|
@@ -16904,7 +16994,9 @@ var TrackCascadeCountsSchema = object({
|
|
|
16904
16994
|
/** Unassigned plate reads removed (best-effort; plate leg deferred to plate-intelligence). */
|
|
16905
16995
|
plates: number().int(),
|
|
16906
16996
|
/** Per-track CLIP search vectors removed (best-effort). */
|
|
16907
|
-
embeddings: number().int()
|
|
16997
|
+
embeddings: number().int(),
|
|
16998
|
+
/** Group membership + group rows removed with their last member (best-effort). */
|
|
16999
|
+
groups: number().int()
|
|
16908
17000
|
});
|
|
16909
17001
|
/** Disk-wins reconcile: media rows whose blobs are gone, then empty tracks. */
|
|
16910
17002
|
var DiskReconcileCountsSchema = object({
|
|
@@ -17050,7 +17142,10 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
17050
17142
|
* stationary registry). Default false: the timeline lists passages,
|
|
17051
17143
|
* not parking records (operator decision, 2026-08-15). */
|
|
17052
17144
|
includeStationary: boolean().optional()
|
|
17053
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(
|
|
17145
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(ListGroupsQueryInput, ListGroupsPageSchema), method(object({
|
|
17146
|
+
deviceId: number(),
|
|
17147
|
+
groupId: string().min(1)
|
|
17148
|
+
}), AnalyticsGroupDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
17054
17149
|
kind: "mutation",
|
|
17055
17150
|
auth: "admin"
|
|
17056
17151
|
}), 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({
|
|
@@ -17360,7 +17455,8 @@ var PipelineModelOptionSchema = object({
|
|
|
17360
17455
|
sizeMB: number()
|
|
17361
17456
|
})),
|
|
17362
17457
|
group: ModelVariantGroupSchema.optional(),
|
|
17363
|
-
legacy: boolean().optional()
|
|
17458
|
+
legacy: boolean().optional(),
|
|
17459
|
+
provider: ModelProviderIdSchema.optional()
|
|
17364
17460
|
});
|
|
17365
17461
|
var ConfigFieldBridge = custom();
|
|
17366
17462
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -24005,7 +24101,12 @@ var PlateInfoSchema = object({
|
|
|
24005
24101
|
plateBbox: BoundingBoxSchema.optional(),
|
|
24006
24102
|
/** keyFrame parity: MediaStore key of the track's native-resolution key frame. */
|
|
24007
24103
|
keyFrameMediaKey: string().optional(),
|
|
24008
|
-
base64: string().optional()
|
|
24104
|
+
base64: string().optional(),
|
|
24105
|
+
/**
|
|
24106
|
+
* Same crop as a data-plane URL. `getPlateByTrack` returns this and
|
|
24107
|
+
* never inlines JPEG; `listPlates` still inlines for the admin-ui.
|
|
24108
|
+
*/
|
|
24109
|
+
cropUrl: string().optional()
|
|
24009
24110
|
});
|
|
24010
24111
|
var MediaFileLiteSchema = object({
|
|
24011
24112
|
key: string(),
|
|
@@ -27645,6 +27746,12 @@ Object.freeze({
|
|
|
27645
27746
|
addonId: null,
|
|
27646
27747
|
access: "view"
|
|
27647
27748
|
},
|
|
27749
|
+
"deviceManager.getBindingsBatch": {
|
|
27750
|
+
capName: "device-manager",
|
|
27751
|
+
capScope: "system",
|
|
27752
|
+
addonId: null,
|
|
27753
|
+
access: "view"
|
|
27754
|
+
},
|
|
27648
27755
|
"deviceManager.getChildren": {
|
|
27649
27756
|
capName: "device-manager",
|
|
27650
27757
|
capScope: "system",
|
|
@@ -27705,6 +27812,12 @@ Object.freeze({
|
|
|
27705
27812
|
addonId: null,
|
|
27706
27813
|
access: "view"
|
|
27707
27814
|
},
|
|
27815
|
+
"deviceManager.getLinkedDevicesBatch": {
|
|
27816
|
+
capName: "device-manager",
|
|
27817
|
+
capScope: "system",
|
|
27818
|
+
addonId: null,
|
|
27819
|
+
access: "view"
|
|
27820
|
+
},
|
|
27708
27821
|
"deviceManager.getRoleDisplayDefaults": {
|
|
27709
27822
|
capName: "device-manager",
|
|
27710
27823
|
capScope: "system",
|
|
@@ -29475,6 +29588,12 @@ Object.freeze({
|
|
|
29475
29588
|
addonId: null,
|
|
29476
29589
|
access: "view"
|
|
29477
29590
|
},
|
|
29591
|
+
"pipelineAnalytics.getGroup": {
|
|
29592
|
+
capName: "pipeline-analytics",
|
|
29593
|
+
capScope: "device",
|
|
29594
|
+
addonId: null,
|
|
29595
|
+
access: "view"
|
|
29596
|
+
},
|
|
29478
29597
|
"pipelineAnalytics.getKeyEvents": {
|
|
29479
29598
|
capName: "pipeline-analytics",
|
|
29480
29599
|
capScope: "device",
|
|
@@ -29559,6 +29678,12 @@ Object.freeze({
|
|
|
29559
29678
|
addonId: null,
|
|
29560
29679
|
access: "view"
|
|
29561
29680
|
},
|
|
29681
|
+
"pipelineAnalytics.listGroups": {
|
|
29682
|
+
capName: "pipeline-analytics",
|
|
29683
|
+
capScope: "device",
|
|
29684
|
+
addonId: null,
|
|
29685
|
+
access: "view"
|
|
29686
|
+
},
|
|
29562
29687
|
"pipelineAnalytics.listOpsLog": {
|
|
29563
29688
|
capName: "pipeline-analytics",
|
|
29564
29689
|
capScope: "device",
|
|
@@ -32340,6 +32465,11 @@ Object.freeze({
|
|
|
32340
32465
|
form: "single",
|
|
32341
32466
|
optional: false
|
|
32342
32467
|
}],
|
|
32468
|
+
"deviceManager.getBindingsBatch": [{
|
|
32469
|
+
name: "deviceIds",
|
|
32470
|
+
form: "array",
|
|
32471
|
+
optional: false
|
|
32472
|
+
}],
|
|
32343
32473
|
"deviceManager.getChildren": [{
|
|
32344
32474
|
name: "parentDeviceId",
|
|
32345
32475
|
form: "single",
|
|
@@ -32385,6 +32515,11 @@ Object.freeze({
|
|
|
32385
32515
|
form: "single",
|
|
32386
32516
|
optional: false
|
|
32387
32517
|
}],
|
|
32518
|
+
"deviceManager.getLinkedDevicesBatch": [{
|
|
32519
|
+
name: "deviceIds",
|
|
32520
|
+
form: "array",
|
|
32521
|
+
optional: false
|
|
32522
|
+
}],
|
|
32388
32523
|
"deviceManager.getSettingsSchema": [{
|
|
32389
32524
|
name: "deviceId",
|
|
32390
32525
|
form: "single",
|
|
@@ -32405,6 +32540,11 @@ Object.freeze({
|
|
|
32405
32540
|
form: "single",
|
|
32406
32541
|
optional: false
|
|
32407
32542
|
}],
|
|
32543
|
+
"deviceManager.listAll": [{
|
|
32544
|
+
name: "deviceIds",
|
|
32545
|
+
form: "array",
|
|
32546
|
+
optional: true
|
|
32547
|
+
}],
|
|
32408
32548
|
"deviceManager.loadConfig": [{
|
|
32409
32549
|
name: "deviceId",
|
|
32410
32550
|
form: "single",
|
|
@@ -32978,6 +33118,11 @@ Object.freeze({
|
|
|
32978
33118
|
form: "single",
|
|
32979
33119
|
optional: false
|
|
32980
33120
|
}],
|
|
33121
|
+
"pipelineAnalytics.getGroup": [{
|
|
33122
|
+
name: "deviceId",
|
|
33123
|
+
form: "single",
|
|
33124
|
+
optional: false
|
|
33125
|
+
}],
|
|
32981
33126
|
"pipelineAnalytics.getKeyEvents": [{
|
|
32982
33127
|
name: "deviceId",
|
|
32983
33128
|
form: "single",
|
|
@@ -33033,6 +33178,11 @@ Object.freeze({
|
|
|
33033
33178
|
form: "array",
|
|
33034
33179
|
optional: false
|
|
33035
33180
|
}],
|
|
33181
|
+
"pipelineAnalytics.listGroups": [{
|
|
33182
|
+
name: "deviceIds",
|
|
33183
|
+
form: "array",
|
|
33184
|
+
optional: false
|
|
33185
|
+
}],
|
|
33036
33186
|
"pipelineAnalytics.listOpsLog": [{
|
|
33037
33187
|
name: "deviceId",
|
|
33038
33188
|
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-
|
|
5
|
+
const require_dist = require("../dist-CdQI1dFQ.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-
|
|
1
|
+
import { a as EventCategory, i as BaseAddon, n as networkAccessCapability } from "../dist-B3EqlLnX.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.
|
|
3
|
+
"version": "1.2.28",
|
|
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",
|