@camstack/addon-post-analysis 1.2.619 → 1.2.620
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/{clip-model-registry-Clb51mcj.mjs → clip-model-registry-BBzoIoKO.mjs} +19 -24
- package/dist/{clip-model-registry-B4VtQ3mk.js → clip-model-registry-CcgzpELQ.js} +18 -35
- 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-BGo4IMTT.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-BWQTWUYq.mjs} +3 -3
- package/dist/pipeline-analytics/{hostInit-p9APfKsm.mjs → hostInit-WiCYRDId.mjs} +3 -3
- package/dist/pipeline-analytics/index.js +12781 -15906
- package/dist/pipeline-analytics/index.mjs +12760 -15885
- package/dist/pipeline-analytics/remoteEntry.js +1 -1
- package/package.json +1 -1
|
@@ -5612,7 +5612,7 @@ var ZodIssueCode = {
|
|
|
5612
5612
|
var ZodFirstPartyTypeKind;
|
|
5613
5613
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5614
5614
|
//#endregion
|
|
5615
|
-
//#region ../types/dist/sleep-
|
|
5615
|
+
//#region ../types/dist/sleep-_sV1BE2f.mjs
|
|
5616
5616
|
/**
|
|
5617
5617
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5618
5618
|
* window to float samples (D455).
|
|
@@ -5729,7 +5729,7 @@ function isKeychainStoredField(field) {
|
|
|
5729
5729
|
var SECRET_CLEAR = { $secretClear: true };
|
|
5730
5730
|
/** The `'***'` token D634 redaction writes for non-admins. */
|
|
5731
5731
|
var LEGACY_DEVICE_REDACTION = "***";
|
|
5732
|
-
function isRecord$
|
|
5732
|
+
function isRecord$6(value) {
|
|
5733
5733
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
5734
5734
|
}
|
|
5735
5735
|
function makeSecretMarker(ref) {
|
|
@@ -5740,12 +5740,12 @@ function makeSecretMarker(ref) {
|
|
|
5740
5740
|
}
|
|
5741
5741
|
/** A stored marker: an object whose `$secret` is a non-empty string. */
|
|
5742
5742
|
function isSecretMarker(value) {
|
|
5743
|
-
if (!isRecord$
|
|
5743
|
+
if (!isRecord$6(value)) return false;
|
|
5744
5744
|
const ref = value["$secret"];
|
|
5745
5745
|
return typeof ref === "string" && ref.length > 0;
|
|
5746
5746
|
}
|
|
5747
5747
|
function isSecretClear(value) {
|
|
5748
|
-
return isRecord$
|
|
5748
|
+
return isRecord$6(value) && value["$secretClear"] === true;
|
|
5749
5749
|
}
|
|
5750
5750
|
/**
|
|
5751
5751
|
* The UI view of a stored secret field value: a marker becomes "set", inline
|
|
@@ -6355,7 +6355,7 @@ var KeychainWriteRefusedError = class extends Error {
|
|
|
6355
6355
|
}
|
|
6356
6356
|
};
|
|
6357
6357
|
var KEEP = { kind: "keep" };
|
|
6358
|
-
function isRecord$
|
|
6358
|
+
function isRecord$5(value) {
|
|
6359
6359
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6360
6360
|
}
|
|
6361
6361
|
function defaultMintId() {
|
|
@@ -6368,7 +6368,7 @@ function collectSecretMarkerRefs(value, out = []) {
|
|
|
6368
6368
|
return out;
|
|
6369
6369
|
}
|
|
6370
6370
|
if (Array.isArray(value)) for (const item of value) collectSecretMarkerRefs(item, out);
|
|
6371
|
-
else if (isRecord$
|
|
6371
|
+
else if (isRecord$5(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
|
|
6372
6372
|
return out;
|
|
6373
6373
|
}
|
|
6374
6374
|
async function storedValueEquals(secrets, marker, candidate) {
|
|
@@ -6423,7 +6423,7 @@ function rowId(row, idKey) {
|
|
|
6423
6423
|
return null;
|
|
6424
6424
|
}
|
|
6425
6425
|
async function writeArray(ctx, node, incoming, stored, fieldPath) {
|
|
6426
|
-
const storedRows = Array.isArray(stored) ? stored.filter(isRecord$
|
|
6426
|
+
const storedRows = Array.isArray(stored) ? stored.filter(isRecord$5) : [];
|
|
6427
6427
|
if (!Array.isArray(incoming)) {
|
|
6428
6428
|
ctx.deletes.push(...collectSecretMarkerRefs(storedRows));
|
|
6429
6429
|
return {
|
|
@@ -6439,7 +6439,7 @@ async function writeArray(ctx, node, incoming, stored, fieldPath) {
|
|
|
6439
6439
|
const kept = /* @__PURE__ */ new Set();
|
|
6440
6440
|
const rows = [];
|
|
6441
6441
|
for (const row of incoming) {
|
|
6442
|
-
if (!isRecord$
|
|
6442
|
+
if (!isRecord$5(row)) {
|
|
6443
6443
|
rows.push(row);
|
|
6444
6444
|
continue;
|
|
6445
6445
|
}
|
|
@@ -6464,7 +6464,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
|
|
|
6464
6464
|
case "leaf": return writeLeaf(ctx, incoming, stored, fieldPath);
|
|
6465
6465
|
case "array": return writeArray(ctx, node, incoming, stored, fieldPath);
|
|
6466
6466
|
case "object": {
|
|
6467
|
-
if (!isRecord$
|
|
6467
|
+
if (!isRecord$5(incoming)) {
|
|
6468
6468
|
if (incoming === void 0) return KEEP;
|
|
6469
6469
|
ctx.deletes.push(...collectSecretMarkerRefs(stored));
|
|
6470
6470
|
return {
|
|
@@ -6472,7 +6472,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
|
|
|
6472
6472
|
value: incoming
|
|
6473
6473
|
};
|
|
6474
6474
|
}
|
|
6475
|
-
const storedObj = isRecord$
|
|
6475
|
+
const storedObj = isRecord$5(stored) ? stored : {};
|
|
6476
6476
|
return {
|
|
6477
6477
|
kind: "value",
|
|
6478
6478
|
value: await writeMembers(ctx, node.children, incoming, storedObj, (m) => `${fieldPath}.${m}`)
|
|
@@ -6595,7 +6595,7 @@ async function resolveSecretMarkers(value, secrets, options = {}) {
|
|
|
6595
6595
|
value: items
|
|
6596
6596
|
};
|
|
6597
6597
|
}
|
|
6598
|
-
if (isRecord$
|
|
6598
|
+
if (isRecord$5(v)) {
|
|
6599
6599
|
const out = {};
|
|
6600
6600
|
for (const [k, child] of Object.entries(v)) {
|
|
6601
6601
|
const s = substitute(child);
|
|
@@ -6627,7 +6627,7 @@ var SecretOverwriteRefusedError = class extends Error {
|
|
|
6627
6627
|
this.name = "SecretOverwriteRefusedError";
|
|
6628
6628
|
}
|
|
6629
6629
|
};
|
|
6630
|
-
function isRecord$
|
|
6630
|
+
function isRecord$4(value) {
|
|
6631
6631
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6632
6632
|
}
|
|
6633
6633
|
function resolvedValue(pass, marker) {
|
|
@@ -6656,7 +6656,7 @@ function inArray(pass, incoming, stored) {
|
|
|
6656
6656
|
return incoming.map((item, index) => {
|
|
6657
6657
|
const twin = stored[index];
|
|
6658
6658
|
if (isSecretMarker(twin)) return typeof item === "string" && item === resolvedValue(pass, twin) ? twin : item;
|
|
6659
|
-
if (isRecord$
|
|
6659
|
+
if (isRecord$4(item) && isRecord$4(twin)) return inArrayRow(pass, item, twin);
|
|
6660
6660
|
if (Array.isArray(item) && Array.isArray(twin)) return inArray(pass, item, twin);
|
|
6661
6661
|
return item;
|
|
6662
6662
|
});
|
|
@@ -6667,7 +6667,7 @@ function inArrayRow(pass, incoming, stored) {
|
|
|
6667
6667
|
const twin = stored[key];
|
|
6668
6668
|
if (isSecretMarker(twin)) {
|
|
6669
6669
|
if (typeof value === "string" && value === resolvedValue(pass, twin)) out[key] = twin;
|
|
6670
|
-
} else if (isRecord$
|
|
6670
|
+
} else if (isRecord$4(value) && isRecord$4(twin)) out[key] = inArrayRow(pass, value, twin);
|
|
6671
6671
|
else if (Array.isArray(value) && Array.isArray(twin)) out[key] = inArray(pass, value, twin);
|
|
6672
6672
|
}
|
|
6673
6673
|
return out;
|
|
@@ -6675,7 +6675,7 @@ function inArrayRow(pass, incoming, stored) {
|
|
|
6675
6675
|
async function walk(pass, incoming, stored) {
|
|
6676
6676
|
if (isSecretMarker(stored)) return atMarker(pass, incoming, stored);
|
|
6677
6677
|
if (Array.isArray(incoming) && Array.isArray(stored)) return inArray(pass, incoming, stored);
|
|
6678
|
-
if (!isRecord$
|
|
6678
|
+
if (!isRecord$4(incoming) || !isRecord$4(stored)) return incoming;
|
|
6679
6679
|
const out = { ...incoming };
|
|
6680
6680
|
for (const [key, value] of Object.entries(incoming)) out[key] = await walk(pass, value, stored[key]);
|
|
6681
6681
|
return out;
|
|
@@ -6706,7 +6706,7 @@ async function restoreUnchangedSecrets(input) {
|
|
|
6706
6706
|
function isJsonEqual(a, b) {
|
|
6707
6707
|
if (Object.is(a, b)) return true;
|
|
6708
6708
|
if (Array.isArray(a)) return Array.isArray(b) && a.length === b.length && a.every((v, i) => isJsonEqual(v, b[i]));
|
|
6709
|
-
if (isRecord$
|
|
6709
|
+
if (isRecord$4(a) && isRecord$4(b)) {
|
|
6710
6710
|
const keys = Object.keys(a);
|
|
6711
6711
|
if (keys.length !== Object.keys(b).length) return false;
|
|
6712
6712
|
return keys.every((k) => Object.prototype.hasOwnProperty.call(b, k) && isJsonEqual(a[k], b[k]));
|
|
@@ -6730,7 +6730,7 @@ function markerKeysOf(blob, owner) {
|
|
|
6730
6730
|
}
|
|
6731
6731
|
function nodeFromStored(value, owner) {
|
|
6732
6732
|
if (isSecretMarker(value)) return isSecretRefOwnedBy(value.$secret, owner) ? { kind: "leaf" } : null;
|
|
6733
|
-
if (!isRecord$
|
|
6733
|
+
if (!isRecord$4(value)) return null;
|
|
6734
6734
|
const children = /* @__PURE__ */ new Map();
|
|
6735
6735
|
for (const [key, child] of Object.entries(value)) {
|
|
6736
6736
|
const node = nodeFromStored(child, owner);
|
|
@@ -44473,12 +44473,7 @@ var NcRuleActionsSchema = object({
|
|
|
44473
44473
|
*/
|
|
44474
44474
|
buttons: array(NcRuleNotificationButtonSchema).max(8).optional()
|
|
44475
44475
|
});
|
|
44476
|
-
|
|
44477
|
-
* @deprecated Legacy inline sequence shape (pre shared-sequence store). Kept
|
|
44478
|
-
* only so boot migration / tests can recognise and rewrite persisted rows.
|
|
44479
|
-
* New code must use {@link NcSharedSequence} + {@link NcActionBinding}.
|
|
44480
|
-
*/
|
|
44481
|
-
var NcLegacyRuleActionSequenceSchema = object({
|
|
44476
|
+
object({
|
|
44482
44477
|
name: string().min(1).max(120),
|
|
44483
44478
|
enabled: boolean(),
|
|
44484
44479
|
minDelaySec: number().int().min(0).max(86400).optional(),
|
|
@@ -86542,4 +86537,4 @@ function buildClipModelRegistry(entries) {
|
|
|
86542
86537
|
/** The built-in catalog's registry. */
|
|
86543
86538
|
var BUILTIN_CLIP_MODELS = buildClipModelRegistry(CLIP_IMAGE_MODELS);
|
|
86544
86539
|
//#endregion
|
|
86545
|
-
export { MediaFileKindEnum as $,
|
|
86540
|
+
export { MediaFileKindEnum as $, isDeviceScopedCap as $i, cosineSimilarity as $n, projectSubjectPath as $r, OpsLogEntrySchema as $t, DeclaredDevices as A, systemEventFilterApplies as Ai, activateAlarmProfile as An, isEventOwnerType as Ar, NcAlarmSensorsInputSchema as At, FULL_IMAGE_BBOX as B, evaluateSensorEdge as Bi, applySecureOnArmEdit as Bn, kebabToCamel as Br, NcRuleUpdateInputSchema as Bt, ClearTrackRelationResultSchema as C, subKindsOf as Ci, TimelapseRulePatchSchema as Cn, isAlertEpisodeSeverity as Cr, NC_SNOOZE_MAX_MINUTES as Ct, DEFAULT_TIMELAPSE_PREVIEW_TEXT as D, syncActiveAlarmProfileSettings as Di, TrackRelationSchema as Dn, isDetectionMacroClass as Dr, NC_TEMPLATE_VARS as Dt, DEFAULT_EVENT_COLOR as E, summarizeReview as Ei, TrackRelationKindSchema as En, isDefaultAlarmProfileId as Er, NC_TAXONOMY as Et, EVENT_DENSITY_BATCH_MAX as F, vectorDimFromBase64 as Fi, alertEpisodeKind as Fn, isRootSuppliableStepId as Fr, NcRuleActionSchema as Ft, ListTrackRelationsResultSchema as G, CamProfileSchema as Gi, buildEventKindDescriptor as Gn, normalizeNcMediaPolicy as Gr, NcSnoozeSuppressedSchema as Gt, LABEL_SUPPLY_MACRO as H, DeviceType as Hi, assertTimelapseCadences as Hn, mayWriteToLocation as Hr, NcSharedSequenceSchema as Ht, EVENT_KIND_BY_CAP as I, viewerLinkBaseOf as Ii, alertEpisodePayload as In, isScheduleActive as Ir, NcRuleInputSchema as It, MAX_BIRTH_DECISION_RECORDS as J, createEvent as Ji, calendarEventLocalSpan as Jn, parseAlertEpisodePayload as Jr, NcTaxonomySchema as Jt, LockStateSchema as K, RECORD_MAX_DATA_BYTES as Ki, buildSubjectPath as Kn, notificationRulesCapability as Kr, NcStateSummarySectionIdSchema as Kt, EVENT_OWNER_TYPES as L, zoneAnalyticsCapability as Li, applyBlockingEdit as Ln, isSystemDelivery as Lr, NcRulePatchSchema as Lt, EMBEDDING_MODEL_FAILED as M, systemEventSummarySplitOf as Mi, alarmDeviceSecureOnArm as Mn, isLabelSupplyStepId as Mr, NcAlarmSettingsPatchSchema as Mt, EMBEDDING_REQUIREMENTS_FAILED as N, templateCarriesSummary as Ni, alarmPanelCapability as Nn, isMediaOwnerType as Nr, NcConditionDescriptorSchema as Nt, DETECTION_MACRO_CLASSES as O, systemEventDeliveryProblems as Oi, TrackSideSchema as On, isDrawableSubjectPath as Or, NcAlarmConfigSchema as Ot, EMBEDDING_REQUIREMENTS_UNAVAILABLE as P, templateVarsFor as Pi, alertEpisodeId as Pn, isRetiredClearKey as Pr, NcConditionsSchema as Pt, MOTION_CLOSE_AFTER_MS as Q, hydrateSchema as Qi, coreBlockIdFromAddonId as Qn, plateGalleryCapability as Qr, OPS_LOG_DEFAULT_LIMIT as Qt, EXPORT_DENSE_MAX_RANGES as R, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS as Ri, applyModeDelaysEdits as Rn, isSystemEventSummaryRule as Rr, NcRuleSchema as Rt, ClearTrackRelationInputSchema as S, storageOccupancyCapability as Si, TimelapseRuleInputSchema as Sn, isAlertEpisodeOpen as Sr, NC_SENSOR_TRANSITION_KINDS as St, DEFAULT_DETAIL_CROP_CONVENTION as T, subjectPathSvgPoints as Ti, TrackPuritySchema as Tn, isAudioClassName as Tr, NC_TANK_SYSTEM_EVENT_KINDS as Tt, LabelAttributionSchema as U, errMsg as Ui, audioMetricsCapability as Un, memoizePinnedFfmpeg as Ur, NcSnoozeInputSchema as Ut, FailureCounters as V, isSourceCap as Vi, armRemovalReconcile as Vn, linkedStepOf as Vr, NcScheduleSchema as Vt, ListTrackRelationsInputSchema as W, BaseAddon as Wi, audioModeOf as Wn, ncMediaPolicyError as Wr, NcSnoozeSchema as Wt, MAX_TRACK_PURITIES as X, defineCustomActions as Xi, cloneAlarmSettings as Xn, pickFaceRescoreIntervalMinutes as Xr, NcTemplatePreviewSchema as Xt, MAX_BIRTH_LATENCY_PROXY_MS as Y, customAction as Yi, classifyRetrainReview as Yn, parseProcStatus as Yr, NcTemplatePreviewInputSchema as Yt, MAX_TRACK_RELATIONS as Z, defineRecordKinds as Zi, consumableLowPercentOf as Zn, pipelineAnalyticsCapability as Zr, NcTemplateVarDescriptorSchema as Zt, BIRTH_DECISION_DEFAULT_LIMIT as _, tuple as _a, sceneMonitorCapability as _i, SetTrackPurityInputSchema as _n, faceGalleryCapability as _r, NC_CONSUMABLE_SYSTEM_EVENT_KINDS as _t, CLIP_EMBEDDING_STEP_ID as a, array as aa, resolveLocationMode as ai, RetrainOriginSchema as an, describeSystemEventDeliveryProblem as ar, NC_ALARM_NOTIFY_FIELDS as at, BucketAccumulator as b, EventCategory as ba, servedTemplateVars as bi, TIMELAPSE_DENSE_FLOOR_SEC as bn, gifFromMp4Args as br, NC_GROUPING_MAX_SEC as bt, readClusterModelPinStrict as c, literal as ca, resolveNcMediaImage as ci, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS as cn, embeddingEncoderCapability as cr, NC_AUDIO_CONFIRM_HITS_DEFAULT as ct, APPEARANCE_BLOCKS as d, object as da, rootSupplyServes as di, SCENE_DEFAULT_OBSERVATION_SPACING_SEC as dn, embeddingRequirementsFailedError as dr, NC_CLIP_PRE_ROLL_DEFAULT_SEC as dt, nodePin as ea, readDeviceStateFrom as ei, PoolMemoryWatchdog as en, createAlarmProfile as er, MotionTriggeredBySchema as et, APPEARANCE_RESOLVES_AMBIGUITY_DEFAULT as f, partialRecord as fa, ruleAutoTriggersAlarm as fi, SCENE_DEFAULT_QUIET_SECONDS as fn, embeddingRequirementsUnavailableError as fr, NC_CLIP_RETENTION_MAX_SEC as ft, ArchivedDebugNoteSchema as g, templateLiteral as ga, ruleKindOf as gi, SceneMonitorSchema as gn, evictionPolicyOfLocation as gr, NC_CONSUMABLE_LOW_PERCENT_DEFAULT as gt, AlarmArmModeSchema as h, string as ha, ruleGroupingApplies as hi, SCENE_RESET_RECAPTURES as hn, eventKindLabel as hr, NC_CONFIRM_DEFAULT_TIMEOUT_MS as ht, CLIP_TEXT_MODELS as i, _enum as ia, resolveClipSearchMinScore as ii, RetrainDismissedSchema as in, deriveRecordingMode as ir, NC_ALARM_DELAY_MAX_SEC as it, DetectionSourceSchema as j, systemEventSummaryScheduleOf as ji, addonWidgetsSourceCapability as jn, isKnownTemplateVar as jr, NcAlarmSensorsSchema as jt, DETECTION_PIPELINE_CAP_NAME as k, systemEventFamilyProblems as ki, TrackSourceSchema as kn, isEventKindLabelKey as kr, NcAlarmPostTriggeredActionSchema as kt, resolveClusterModelPin as l, looseObject as la, resolvePoolMemoryPolicy as li, SCENE_DEFAULT_ANCHOR_THRESHOLD as ln, embeddingModelFailedError as lr, NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT as lt, AUDIO_MACRO_LABELS as m, strictObject as ma, ruleDeviceCompatCapQueries as mi, SCENE_DIVERGED as mn, ensureAlarmProfiles as mr, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX as mt, DEFAULT_CLIP_MODEL as n, sleep as na, readTimelapseGeneratedAt as ni, RECORDING_SOURCE_CAMSTACK_ADDON as nn, deriveDetailCropRect as nr, NC_ALARM_DEFAULT_TRIGGERED_DURATION_SEC as nt, CLUSTER_MODEL_OWNER_ADDON_ID as o, boolean as oa, resolveModeDelays as oi, RetrainStatusSchema as on, describeSystemEventFamilyProblem as or, NC_ALARM_SYSTEM_EVENT_KINDS as ot, ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT as p, record as pa, ruleBelongsToAlarm as pi, SCENE_DEFAULT_UNCOVERED_POLICY as pn, encodeVectorBase64 as pr, NC_CONDITION_CATALOG as pt, MAX_ARCHIVED_DEBUG_NOTES as q, RECORD_QUERY_MAX as qi, buildViewerLink as qn, occupancyScope as qr, NcSystemEventKindSchema as qt, CLIP_IMAGE_MODELS as r, ZodObject as ra, renameAlarmProfile as ri, RebuildObjectEmbeddingsRefusalSchema as rn, derivePostTriggeredAction as rr, NC_ALARM_DELAY_FIELDS as rt, FACE_EMBEDDING_STEP_ID as s, discriminatedUnion as sa, resolveModeNotifyPolicy as si, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX as sn, deviceRemovalHookCapability as sr, NC_ALARM_TRIGGERED_MAX_SEC as st, BUILTIN_CLIP_MODELS as t, normalizeNodeId as ta, readMotionTriggeredBy as ti, RECORDING_EXPORT_MAX_READ_BYTES as tn, deleteAlarmProfile as tr, NC_ALARM_DEFAULT_PROFILE_ID as tt, APPEARANCE_BIN_COUNT as u, number as ua, retrainRevisionConflictMessage as ui, SCENE_DEFAULT_CHECK_INTERVAL_SEC as un, embeddingRefusalOf as ur, NC_CLIP_POST_ROLL_DEFAULT_SEC as ut, BaseDevice as v, union as va, secureActuationFor as vi, SetTrackPurityResultSchema as vn, failureContributionCapability as vr, NC_DEFAULT_SNOOZE_MINUTES as vt, CoverStateSchema as w, subjectPathSampleFromBox as wi, TimelapseRuleSchema as wn, isAppLinkBase as wr, NC_SYSTEM_EVENT_KIND_GROUP_SPECS as wt, COCO_TO_MACRO as x, startMoverUnderClearance as xi, TRACK_RELATIONS_DEFAULT_LIMIT as xn, isAlarmControllableCap as xr, NC_GROUPING_MIN_SEC as xt, BirthDecisionRecordSchema as y, unknown as ya, sensorRaisedOf as yi, SetTrackRelationInputSchema as yn, gifDeriveSpeed as yr, NC_GROUPING_DEFAULT_SEC as yt, FIRST_LEVEL_MACRO_CLASSES as z, canonicalHash as zi, applyNonBlockingEdit as zn, isVectorIndexDimConflict as zr, NcRuleTargetSchema as zt };
|
|
@@ -5643,7 +5643,7 @@ var ZodIssueCode = {
|
|
|
5643
5643
|
var ZodFirstPartyTypeKind;
|
|
5644
5644
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5645
5645
|
//#endregion
|
|
5646
|
-
//#region ../types/dist/sleep-
|
|
5646
|
+
//#region ../types/dist/sleep-_sV1BE2f.mjs
|
|
5647
5647
|
/**
|
|
5648
5648
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5649
5649
|
* window to float samples (D455).
|
|
@@ -5760,7 +5760,7 @@ function isKeychainStoredField(field) {
|
|
|
5760
5760
|
var SECRET_CLEAR = { $secretClear: true };
|
|
5761
5761
|
/** The `'***'` token D634 redaction writes for non-admins. */
|
|
5762
5762
|
var LEGACY_DEVICE_REDACTION = "***";
|
|
5763
|
-
function isRecord$
|
|
5763
|
+
function isRecord$6(value) {
|
|
5764
5764
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
5765
5765
|
}
|
|
5766
5766
|
function makeSecretMarker(ref) {
|
|
@@ -5771,12 +5771,12 @@ function makeSecretMarker(ref) {
|
|
|
5771
5771
|
}
|
|
5772
5772
|
/** A stored marker: an object whose `$secret` is a non-empty string. */
|
|
5773
5773
|
function isSecretMarker(value) {
|
|
5774
|
-
if (!isRecord$
|
|
5774
|
+
if (!isRecord$6(value)) return false;
|
|
5775
5775
|
const ref = value["$secret"];
|
|
5776
5776
|
return typeof ref === "string" && ref.length > 0;
|
|
5777
5777
|
}
|
|
5778
5778
|
function isSecretClear(value) {
|
|
5779
|
-
return isRecord$
|
|
5779
|
+
return isRecord$6(value) && value["$secretClear"] === true;
|
|
5780
5780
|
}
|
|
5781
5781
|
/**
|
|
5782
5782
|
* The UI view of a stored secret field value: a marker becomes "set", inline
|
|
@@ -6386,7 +6386,7 @@ var KeychainWriteRefusedError = class extends Error {
|
|
|
6386
6386
|
}
|
|
6387
6387
|
};
|
|
6388
6388
|
var KEEP = { kind: "keep" };
|
|
6389
|
-
function isRecord$
|
|
6389
|
+
function isRecord$5(value) {
|
|
6390
6390
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6391
6391
|
}
|
|
6392
6392
|
function defaultMintId() {
|
|
@@ -6399,7 +6399,7 @@ function collectSecretMarkerRefs(value, out = []) {
|
|
|
6399
6399
|
return out;
|
|
6400
6400
|
}
|
|
6401
6401
|
if (Array.isArray(value)) for (const item of value) collectSecretMarkerRefs(item, out);
|
|
6402
|
-
else if (isRecord$
|
|
6402
|
+
else if (isRecord$5(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
|
|
6403
6403
|
return out;
|
|
6404
6404
|
}
|
|
6405
6405
|
async function storedValueEquals(secrets, marker, candidate) {
|
|
@@ -6454,7 +6454,7 @@ function rowId(row, idKey) {
|
|
|
6454
6454
|
return null;
|
|
6455
6455
|
}
|
|
6456
6456
|
async function writeArray(ctx, node, incoming, stored, fieldPath) {
|
|
6457
|
-
const storedRows = Array.isArray(stored) ? stored.filter(isRecord$
|
|
6457
|
+
const storedRows = Array.isArray(stored) ? stored.filter(isRecord$5) : [];
|
|
6458
6458
|
if (!Array.isArray(incoming)) {
|
|
6459
6459
|
ctx.deletes.push(...collectSecretMarkerRefs(storedRows));
|
|
6460
6460
|
return {
|
|
@@ -6470,7 +6470,7 @@ async function writeArray(ctx, node, incoming, stored, fieldPath) {
|
|
|
6470
6470
|
const kept = /* @__PURE__ */ new Set();
|
|
6471
6471
|
const rows = [];
|
|
6472
6472
|
for (const row of incoming) {
|
|
6473
|
-
if (!isRecord$
|
|
6473
|
+
if (!isRecord$5(row)) {
|
|
6474
6474
|
rows.push(row);
|
|
6475
6475
|
continue;
|
|
6476
6476
|
}
|
|
@@ -6495,7 +6495,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
|
|
|
6495
6495
|
case "leaf": return writeLeaf(ctx, incoming, stored, fieldPath);
|
|
6496
6496
|
case "array": return writeArray(ctx, node, incoming, stored, fieldPath);
|
|
6497
6497
|
case "object": {
|
|
6498
|
-
if (!isRecord$
|
|
6498
|
+
if (!isRecord$5(incoming)) {
|
|
6499
6499
|
if (incoming === void 0) return KEEP;
|
|
6500
6500
|
ctx.deletes.push(...collectSecretMarkerRefs(stored));
|
|
6501
6501
|
return {
|
|
@@ -6503,7 +6503,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
|
|
|
6503
6503
|
value: incoming
|
|
6504
6504
|
};
|
|
6505
6505
|
}
|
|
6506
|
-
const storedObj = isRecord$
|
|
6506
|
+
const storedObj = isRecord$5(stored) ? stored : {};
|
|
6507
6507
|
return {
|
|
6508
6508
|
kind: "value",
|
|
6509
6509
|
value: await writeMembers(ctx, node.children, incoming, storedObj, (m) => `${fieldPath}.${m}`)
|
|
@@ -6626,7 +6626,7 @@ async function resolveSecretMarkers(value, secrets, options = {}) {
|
|
|
6626
6626
|
value: items
|
|
6627
6627
|
};
|
|
6628
6628
|
}
|
|
6629
|
-
if (isRecord$
|
|
6629
|
+
if (isRecord$5(v)) {
|
|
6630
6630
|
const out = {};
|
|
6631
6631
|
for (const [k, child] of Object.entries(v)) {
|
|
6632
6632
|
const s = substitute(child);
|
|
@@ -6658,7 +6658,7 @@ var SecretOverwriteRefusedError = class extends Error {
|
|
|
6658
6658
|
this.name = "SecretOverwriteRefusedError";
|
|
6659
6659
|
}
|
|
6660
6660
|
};
|
|
6661
|
-
function isRecord$
|
|
6661
|
+
function isRecord$4(value) {
|
|
6662
6662
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6663
6663
|
}
|
|
6664
6664
|
function resolvedValue(pass, marker) {
|
|
@@ -6687,7 +6687,7 @@ function inArray(pass, incoming, stored) {
|
|
|
6687
6687
|
return incoming.map((item, index) => {
|
|
6688
6688
|
const twin = stored[index];
|
|
6689
6689
|
if (isSecretMarker(twin)) return typeof item === "string" && item === resolvedValue(pass, twin) ? twin : item;
|
|
6690
|
-
if (isRecord$
|
|
6690
|
+
if (isRecord$4(item) && isRecord$4(twin)) return inArrayRow(pass, item, twin);
|
|
6691
6691
|
if (Array.isArray(item) && Array.isArray(twin)) return inArray(pass, item, twin);
|
|
6692
6692
|
return item;
|
|
6693
6693
|
});
|
|
@@ -6698,7 +6698,7 @@ function inArrayRow(pass, incoming, stored) {
|
|
|
6698
6698
|
const twin = stored[key];
|
|
6699
6699
|
if (isSecretMarker(twin)) {
|
|
6700
6700
|
if (typeof value === "string" && value === resolvedValue(pass, twin)) out[key] = twin;
|
|
6701
|
-
} else if (isRecord$
|
|
6701
|
+
} else if (isRecord$4(value) && isRecord$4(twin)) out[key] = inArrayRow(pass, value, twin);
|
|
6702
6702
|
else if (Array.isArray(value) && Array.isArray(twin)) out[key] = inArray(pass, value, twin);
|
|
6703
6703
|
}
|
|
6704
6704
|
return out;
|
|
@@ -6706,7 +6706,7 @@ function inArrayRow(pass, incoming, stored) {
|
|
|
6706
6706
|
async function walk(pass, incoming, stored) {
|
|
6707
6707
|
if (isSecretMarker(stored)) return atMarker(pass, incoming, stored);
|
|
6708
6708
|
if (Array.isArray(incoming) && Array.isArray(stored)) return inArray(pass, incoming, stored);
|
|
6709
|
-
if (!isRecord$
|
|
6709
|
+
if (!isRecord$4(incoming) || !isRecord$4(stored)) return incoming;
|
|
6710
6710
|
const out = { ...incoming };
|
|
6711
6711
|
for (const [key, value] of Object.entries(incoming)) out[key] = await walk(pass, value, stored[key]);
|
|
6712
6712
|
return out;
|
|
@@ -6737,7 +6737,7 @@ async function restoreUnchangedSecrets(input) {
|
|
|
6737
6737
|
function isJsonEqual(a, b) {
|
|
6738
6738
|
if (Object.is(a, b)) return true;
|
|
6739
6739
|
if (Array.isArray(a)) return Array.isArray(b) && a.length === b.length && a.every((v, i) => isJsonEqual(v, b[i]));
|
|
6740
|
-
if (isRecord$
|
|
6740
|
+
if (isRecord$4(a) && isRecord$4(b)) {
|
|
6741
6741
|
const keys = Object.keys(a);
|
|
6742
6742
|
if (keys.length !== Object.keys(b).length) return false;
|
|
6743
6743
|
return keys.every((k) => Object.prototype.hasOwnProperty.call(b, k) && isJsonEqual(a[k], b[k]));
|
|
@@ -6761,7 +6761,7 @@ function markerKeysOf(blob, owner) {
|
|
|
6761
6761
|
}
|
|
6762
6762
|
function nodeFromStored(value, owner) {
|
|
6763
6763
|
if (isSecretMarker(value)) return isSecretRefOwnedBy(value.$secret, owner) ? { kind: "leaf" } : null;
|
|
6764
|
-
if (!isRecord$
|
|
6764
|
+
if (!isRecord$4(value)) return null;
|
|
6765
6765
|
const children = /* @__PURE__ */ new Map();
|
|
6766
6766
|
for (const [key, child] of Object.entries(value)) {
|
|
6767
6767
|
const node = nodeFromStored(child, owner);
|
|
@@ -44504,12 +44504,7 @@ var NcRuleActionsSchema = object({
|
|
|
44504
44504
|
*/
|
|
44505
44505
|
buttons: array(NcRuleNotificationButtonSchema).max(8).optional()
|
|
44506
44506
|
});
|
|
44507
|
-
|
|
44508
|
-
* @deprecated Legacy inline sequence shape (pre shared-sequence store). Kept
|
|
44509
|
-
* only so boot migration / tests can recognise and rewrite persisted rows.
|
|
44510
|
-
* New code must use {@link NcSharedSequence} + {@link NcActionBinding}.
|
|
44511
|
-
*/
|
|
44512
|
-
var NcLegacyRuleActionSequenceSchema = object({
|
|
44507
|
+
object({
|
|
44513
44508
|
name: string().min(1).max(120),
|
|
44514
44509
|
enabled: boolean(),
|
|
44515
44510
|
minDelaySec: number().int().min(0).max(86400).optional(),
|
|
@@ -87119,24 +87114,12 @@ Object.defineProperty(exports, "NcConditionsSchema", {
|
|
|
87119
87114
|
return NcConditionsSchema;
|
|
87120
87115
|
}
|
|
87121
87116
|
});
|
|
87122
|
-
Object.defineProperty(exports, "NcLegacyRuleActionSequenceSchema", {
|
|
87123
|
-
enumerable: true,
|
|
87124
|
-
get: function() {
|
|
87125
|
-
return NcLegacyRuleActionSequenceSchema;
|
|
87126
|
-
}
|
|
87127
|
-
});
|
|
87128
87117
|
Object.defineProperty(exports, "NcRuleActionSchema", {
|
|
87129
87118
|
enumerable: true,
|
|
87130
87119
|
get: function() {
|
|
87131
87120
|
return NcRuleActionSchema;
|
|
87132
87121
|
}
|
|
87133
87122
|
});
|
|
87134
|
-
Object.defineProperty(exports, "NcRuleActionsSchema", {
|
|
87135
|
-
enumerable: true,
|
|
87136
|
-
get: function() {
|
|
87137
|
-
return NcRuleActionsSchema;
|
|
87138
|
-
}
|
|
87139
|
-
});
|
|
87140
87123
|
Object.defineProperty(exports, "NcRuleInputSchema", {
|
|
87141
87124
|
enumerable: true,
|
|
87142
87125
|
get: function() {
|
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_clip_model_registry = require("../clip-model-registry-
|
|
5
|
+
const require_clip_model_registry = require("../clip-model-registry-CcgzpELQ.js");
|
|
6
6
|
let node_fs = require("node:fs");
|
|
7
7
|
node_fs = require_clip_model_registry.__toESM(node_fs);
|
|
8
8
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Wi as BaseAddon, Yr as parseProcStatus, a as CLIP_EMBEDDING_STEP_ID, cr as embeddingEncoderCapability, dr as embeddingRequirementsFailedError, en as PoolMemoryWatchdog, fr as embeddingRequirementsUnavailableError, i as CLIP_TEXT_MODELS, l as resolveClusterModelPin, li as resolvePoolMemoryPolicy, lr as embeddingModelFailedError, n as DEFAULT_CLIP_MODEL, r as CLIP_IMAGE_MODELS, t as BUILTIN_CLIP_MODELS, ta as normalizeNodeId } from "../clip-model-registry-BBzoIoKO.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import * as fs from "node:fs";
|
|
4
4
|
import * as path$1 from "node:path";
|
|
@@ -3,7 +3,7 @@ import "./dist-CYZr2fwk.mjs";
|
|
|
3
3
|
var e = {
|
|
4
4
|
"@camstack/sdk": {
|
|
5
5
|
name: "@camstack/sdk",
|
|
6
|
-
version: "1.2.
|
|
6
|
+
version: "1.2.145",
|
|
7
7
|
scope: ["default"],
|
|
8
8
|
loaded: !1,
|
|
9
9
|
from: "addon_pipeline_analytics_widgets",
|
|
@@ -18,7 +18,7 @@ var e = {
|
|
|
18
18
|
},
|
|
19
19
|
"@camstack/types": {
|
|
20
20
|
name: "@camstack/types",
|
|
21
|
-
version: "1.2.
|
|
21
|
+
version: "1.2.395",
|
|
22
22
|
scope: ["default"],
|
|
23
23
|
loaded: !1,
|
|
24
24
|
from: "addon_pipeline_analytics_widgets",
|
|
@@ -33,7 +33,7 @@ var e = {
|
|
|
33
33
|
},
|
|
34
34
|
"@camstack/ui-library": {
|
|
35
35
|
name: "@camstack/ui-library",
|
|
36
|
-
version: "1.2.
|
|
36
|
+
version: "1.2.312",
|
|
37
37
|
scope: ["default"],
|
|
38
38
|
loaded: !1,
|
|
39
39
|
from: "addon_pipeline_analytics_widgets",
|
|
@@ -36,7 +36,7 @@ async function r() {
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"@camstack/types": {
|
|
39
|
-
version: "1.2.
|
|
39
|
+
version: "1.2.395",
|
|
40
40
|
scope: "default",
|
|
41
41
|
shareConfig: {
|
|
42
42
|
singleton: !0,
|
|
@@ -45,7 +45,7 @@ async function r() {
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"@camstack/sdk": {
|
|
48
|
-
version: "1.2.
|
|
48
|
+
version: "1.2.145",
|
|
49
49
|
scope: "default",
|
|
50
50
|
shareConfig: {
|
|
51
51
|
singleton: !0,
|
|
@@ -81,7 +81,7 @@ async function r() {
|
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
"@camstack/ui-library": {
|
|
84
|
-
version: "1.2.
|
|
84
|
+
version: "1.2.312",
|
|
85
85
|
scope: "default",
|
|
86
86
|
shareConfig: {
|
|
87
87
|
singleton: !0,
|