@camstack/addon-post-analysis 1.2.90 → 1.2.91
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/{dist-BBIhkNDY.js → dist-CTIUuGRB.js} +31 -2
- package/dist/{dist-Bac7ww1C.mjs → dist-CquggoRC.mjs} +26 -3
- package/dist/embedding-encoder/index.js +1 -1
- package/dist/embedding-encoder/index.mjs +1 -1
- package/dist/pipeline-analytics/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-DDC0Fqfb.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-Q3EjHtct.mjs} +1 -1
- package/dist/pipeline-analytics/{hostInit-DhP09VMX.mjs → hostInit-D2EZ3nOf.mjs} +1 -1
- package/dist/pipeline-analytics/index.js +702 -78
- package/dist/pipeline-analytics/index.mjs +701 -78
- package/dist/pipeline-analytics/remoteEntry.js +1 -1
- package/package.json +1 -1
|
@@ -22016,7 +22016,14 @@ var SearchResultSchema = object({
|
|
|
22016
22016
|
});
|
|
22017
22017
|
var AutoUpdateSettingsSchema = object({
|
|
22018
22018
|
channel: ChannelSchema,
|
|
22019
|
-
intervalSeconds: number()
|
|
22019
|
+
intervalSeconds: number(),
|
|
22020
|
+
/**
|
|
22021
|
+
* Cadence of the "an update exists" POLLER, in seconds. Independent of
|
|
22022
|
+
* `channel`: the poller runs while auto-apply is `off`, because being told
|
|
22023
|
+
* about a publish and installing it are different decisions. Clamped
|
|
22024
|
+
* server-side to 900 s … 604800 s; defaults to 21600 s (6 h).
|
|
22025
|
+
*/
|
|
22026
|
+
updateCheckIntervalSeconds: number()
|
|
22020
22027
|
});
|
|
22021
22028
|
var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
22022
22029
|
var RestartAddonResultSchema = unknown();
|
|
@@ -22157,7 +22164,9 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
22157
22164
|
auth: "admin"
|
|
22158
22165
|
}), method(_void(), AutoUpdateSettingsSchema, { auth: "admin" }), method(object({
|
|
22159
22166
|
channel: ChannelSchema,
|
|
22160
|
-
intervalSeconds: number().min(300).max(86400).optional()
|
|
22167
|
+
intervalSeconds: number().min(300).max(86400).optional(),
|
|
22168
|
+
/** Availability-poll cadence; see AutoUpdateSettingsSchema. */
|
|
22169
|
+
updateCheckIntervalSeconds: number().min(900).max(604800).optional()
|
|
22161
22170
|
}), unknown(), {
|
|
22162
22171
|
kind: "mutation",
|
|
22163
22172
|
auth: "admin"
|
|
@@ -38535,6 +38544,20 @@ function isScheduleActive(schedule, atMs) {
|
|
|
38535
38544
|
return schedule.invert === true ? !inside : inside;
|
|
38536
38545
|
}
|
|
38537
38546
|
/**
|
|
38547
|
+
* Does `filter` say anything about `kind`?
|
|
38548
|
+
*
|
|
38549
|
+
* `false` means the filter is not part of this kind's vocabulary: the engine
|
|
38550
|
+
* ignores it and an editor hides its input. It never means "excluded".
|
|
38551
|
+
*/
|
|
38552
|
+
function systemEventFilterApplies(kind, filter) {
|
|
38553
|
+
switch (filter) {
|
|
38554
|
+
case "deviceIds": return kind.startsWith("device-") || kind.startsWith("stream-") || kind === "detection-blind" || kind === "alarm-triggered" || kind === "export-completed";
|
|
38555
|
+
case "deviceTypes": return kind.startsWith("device-") || kind === "detection-blind";
|
|
38556
|
+
case "nodeIds": return kind.startsWith("node-") || kind === "addon-update-available" || kind === "addon-updated" || kind === "server-update-available" || kind === "server-updated";
|
|
38557
|
+
case "packageNames": return kind.endsWith("update-available") || kind === "addon-updated" || kind === "server-updated";
|
|
38558
|
+
}
|
|
38559
|
+
}
|
|
38560
|
+
/**
|
|
38538
38561
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
38539
38562
|
*
|
|
38540
38563
|
* Spec: `docs/superpowers/specs/2026-07-24-nc-occupancy-timelapse-design.md`
|
|
@@ -39526,6 +39549,12 @@ Object.defineProperty(exports, "subKindsOf", {
|
|
|
39526
39549
|
return subKindsOf;
|
|
39527
39550
|
}
|
|
39528
39551
|
});
|
|
39552
|
+
Object.defineProperty(exports, "systemEventFilterApplies", {
|
|
39553
|
+
enumerable: true,
|
|
39554
|
+
get: function() {
|
|
39555
|
+
return systemEventFilterApplies;
|
|
39556
|
+
}
|
|
39557
|
+
});
|
|
39529
39558
|
Object.defineProperty(exports, "unknown", {
|
|
39530
39559
|
enumerable: true,
|
|
39531
39560
|
get: function() {
|
|
@@ -21985,7 +21985,14 @@ var SearchResultSchema = object({
|
|
|
21985
21985
|
});
|
|
21986
21986
|
var AutoUpdateSettingsSchema = object({
|
|
21987
21987
|
channel: ChannelSchema,
|
|
21988
|
-
intervalSeconds: number()
|
|
21988
|
+
intervalSeconds: number(),
|
|
21989
|
+
/**
|
|
21990
|
+
* Cadence of the "an update exists" POLLER, in seconds. Independent of
|
|
21991
|
+
* `channel`: the poller runs while auto-apply is `off`, because being told
|
|
21992
|
+
* about a publish and installing it are different decisions. Clamped
|
|
21993
|
+
* server-side to 900 s … 604800 s; defaults to 21600 s (6 h).
|
|
21994
|
+
*/
|
|
21995
|
+
updateCheckIntervalSeconds: number()
|
|
21989
21996
|
});
|
|
21990
21997
|
var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
21991
21998
|
var RestartAddonResultSchema = unknown();
|
|
@@ -22126,7 +22133,9 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
22126
22133
|
auth: "admin"
|
|
22127
22134
|
}), method(_void(), AutoUpdateSettingsSchema, { auth: "admin" }), method(object({
|
|
22128
22135
|
channel: ChannelSchema,
|
|
22129
|
-
intervalSeconds: number().min(300).max(86400).optional()
|
|
22136
|
+
intervalSeconds: number().min(300).max(86400).optional(),
|
|
22137
|
+
/** Availability-poll cadence; see AutoUpdateSettingsSchema. */
|
|
22138
|
+
updateCheckIntervalSeconds: number().min(900).max(604800).optional()
|
|
22130
22139
|
}), unknown(), {
|
|
22131
22140
|
kind: "mutation",
|
|
22132
22141
|
auth: "admin"
|
|
@@ -38504,6 +38513,20 @@ function isScheduleActive(schedule, atMs) {
|
|
|
38504
38513
|
return schedule.invert === true ? !inside : inside;
|
|
38505
38514
|
}
|
|
38506
38515
|
/**
|
|
38516
|
+
* Does `filter` say anything about `kind`?
|
|
38517
|
+
*
|
|
38518
|
+
* `false` means the filter is not part of this kind's vocabulary: the engine
|
|
38519
|
+
* ignores it and an editor hides its input. It never means "excluded".
|
|
38520
|
+
*/
|
|
38521
|
+
function systemEventFilterApplies(kind, filter) {
|
|
38522
|
+
switch (filter) {
|
|
38523
|
+
case "deviceIds": return kind.startsWith("device-") || kind.startsWith("stream-") || kind === "detection-blind" || kind === "alarm-triggered" || kind === "export-completed";
|
|
38524
|
+
case "deviceTypes": return kind.startsWith("device-") || kind === "detection-blind";
|
|
38525
|
+
case "nodeIds": return kind.startsWith("node-") || kind === "addon-update-available" || kind === "addon-updated" || kind === "server-update-available" || kind === "server-updated";
|
|
38526
|
+
case "packageNames": return kind.endsWith("update-available") || kind === "addon-updated" || kind === "server-updated";
|
|
38527
|
+
}
|
|
38528
|
+
}
|
|
38529
|
+
/**
|
|
38507
38530
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
38508
38531
|
*
|
|
38509
38532
|
* Spec: `docs/superpowers/specs/2026-07-24-nc-occupancy-timelapse-design.md`
|
|
@@ -38985,4 +39008,4 @@ function vectorDimFromBase64(encoded) {
|
|
|
38985
39008
|
return Math.floor(Buffer.from(encoded, "base64").byteLength / 4);
|
|
38986
39009
|
}
|
|
38987
39010
|
//#endregion
|
|
38988
|
-
export { faceGalleryCapability as $, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS as A,
|
|
39011
|
+
export { faceGalleryCapability as $, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS as A, partialRecord as At, VISIT_MERGE_GAP_MS as B, NcSnoozeSchema as C, _enum as Ct, OpsLogEntrySchema as D, literal as Dt, NcTaxonomySchema as E, discriminatedUnion as Et, TIMELAPSE_DENSE_FLOOR_SEC as F, audioModeOf as G, alarmPanelCapability as H, TimelapseRuleInputSchema as I, customAction as J, buildEventKindDescriptor as K, TimelapseRulePatchSchema as L, SCENE_DEFAULT_UNCOVERED_POLICY as M, string as Mt, SCENE_DIVERGED as N, unknown as Nt, RECORDING_EXPORT_MAX_READ_BYTES as O, number as Ot, SceneMonitorSchema as P, EventCategory as Pt, encodeVectorBase64 as Q, TimelapseRuleSchema as R, NcSnoozeInputSchema as S, sleep as St, NcSystemEventKindSchema as T, boolean as Tt, assertTimelapseCadences as U, addonWidgetsSourceCapability as V, audioMetricsCapability as W, deriveRecordingMode as X, defineCustomActions as Y, embeddingEncoderCapability as Z, NcRuleInputSchema as _, DeviceType as _t, DETECTION_PIPELINE_CAP_NAME as a, pipelineAnalyticsCapability as at, NcRuleTargetSchema as b, isDeviceScopedCap as bt, EVENT_PAD_MS as c, readTimelapseGeneratedAt as ct, NC_ALARM_SYSTEM_EVENT_KINDS as d, systemEventFilterApplies as dt, hfModelUrl as et, NC_CONDITION_CATALOG as f, vectorDimFromBase64 as ft, NcConditionDescriptorSchema as g, BaseAddon as gt, NC_TAXONOMY as h, errMsg as ht, DETECTION_MACRO_CLASSES as i, notificationRulesCapability as it, SCENE_DEFAULT_ANCHOR_THRESHOLD as j, record as jt, RetrainStatusSchema as k, object as kt, LabelAttributionSchema as l, sceneMonitorCapability as lt, NC_SNOOZE_MAX_MINUTES as m, zoneAnalyticsCapability as mt, DEFAULT_EVENT_COLOR as n, isScheduleActive as nt, DeclaredDevices as o, plateGalleryCapability as ot, NC_DEFAULT_SNOOZE_MINUTES as p, videoclipsCapability as pt, cosineSimilarity as q, DEFAULT_TIMELAPSE_PREVIEW_TEXT as r, kebabToCamel as rt, EVENT_KIND_BY_CAP as s, readDeviceStateFrom as st, BaseDevice as t, isDetectionMacroClass as tt, MACRO_LABELS as u, subKindsOf as ut, NcRulePatchSchema as v, createEvent as vt, NcSnoozeSuppressedSchema as w, array as wt, NcScheduleSchema as x, nodePin as xt, NcRuleSchema as y, hydrateSchema as yt, TrackSourceSchema as z };
|
|
@@ -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-CTIUuGRB.js");
|
|
6
6
|
let node_fs = require("node:fs");
|
|
7
7
|
let node_fs$1 = require_dist.__toESM(node_fs, 1);
|
|
8
8
|
node_fs = require_dist.__toESM(node_fs);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Z as embeddingEncoderCapability, et as hfModelUrl,
|
|
1
|
+
import { Z as embeddingEncoderCapability, et as hfModelUrl, gt as BaseAddon } from "../dist-CquggoRC.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import * as fs from "node:fs";
|
|
4
4
|
import "node:fs";
|