@camstack/system 1.2.343 → 1.2.344
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/addon-runner.js +1 -1
- package/dist/addon-runner.mjs +1 -1
- package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
- package/dist/builtins/alerts/alerts.addon.js +1 -1
- package/dist/builtins/alerts/alerts.addon.mjs +1 -1
- package/dist/builtins/autotrack/index.js +1 -1
- package/dist/builtins/autotrack/index.mjs +1 -1
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +1 -1
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +1 -1
- package/dist/builtins/calendars/calendars.addon.d.ts +11 -0
- package/dist/builtins/calendars/index.d.ts +1 -0
- package/dist/builtins/camera-grid/index.js +1 -1
- package/dist/builtins/camera-grid/index.mjs +1 -1
- package/dist/builtins/composer/composer.addon.js +2 -2
- package/dist/builtins/composer/composer.addon.mjs +2 -2
- package/dist/builtins/console-logging/index.js +1 -1
- package/dist/builtins/console-logging/index.mjs +1 -1
- package/dist/builtins/core-blocks/core-blocks.addon.js +2 -2
- package/dist/builtins/core-blocks/core-blocks.addon.mjs +2 -2
- package/dist/builtins/device-manager/device-manager.addon.js +2 -2
- package/dist/builtins/device-manager/device-manager.addon.mjs +2 -2
- package/dist/builtins/hub-forwarder/index.js +1 -1
- package/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
- package/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
- package/dist/builtins/local-auth/local-auth.addon.js +1 -1
- package/dist/builtins/local-auth/local-auth.addon.mjs +1 -1
- package/dist/builtins/local-network/local-network.addon.js +1 -1
- package/dist/builtins/local-network/local-network.addon.mjs +1 -1
- package/dist/builtins/loki-logging/index.js +1 -1
- package/dist/builtins/loki-logging/index.mjs +1 -1
- package/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/dist/builtins/platform-probe/index.js +1 -1
- package/dist/builtins/platform-probe/index.mjs +1 -1
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/dist/builtins/snapshot/index.js +1 -1
- package/dist/builtins/snapshot/index.mjs +1 -1
- package/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.js +0 -0
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +0 -0
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
- package/dist/builtins/system-config/system-config.addon.js +1 -1
- package/dist/builtins/system-config/system-config.addon.mjs +1 -1
- package/dist/builtins/winston-logging/index.js +1 -1
- package/dist/builtins/winston-logging/index.mjs +1 -1
- package/dist/{child-cap-dispatch-BQO5Pi4A.mjs → child-cap-dispatch-B52e2Bcw.mjs} +1 -1
- package/dist/{child-cap-dispatch-XDFcFrSy.js → child-cap-dispatch-Bm4Kpo7v.js} +1 -1
- package/dist/{composition-sources-9CvbvMM1.mjs → composition-sources-BSzq8Hfu.mjs} +1 -1
- package/dist/{composition-sources-BMpC1mTs.js → composition-sources-Dk6MDMFV.js} +1 -1
- package/dist/{dist-Dbo54UVI.mjs → dist-0zO6jHkf.mjs} +110 -1
- package/dist/{dist-B8ev8DjI.js → dist-CqafgUSr.js} +115 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +105 -2
- package/dist/index.mjs +105 -3
- package/dist/{retired-settings-keys-Cv3Shwcw.mjs → retired-settings-keys-Dnuhd8Ml.mjs} +1 -1
- package/dist/{retired-settings-keys-B_CcOSNX.js → retired-settings-keys-uQUjT56-.js} +1 -1
- package/package.json +14 -1
|
@@ -32821,6 +32821,83 @@ var buttonCapability = {
|
|
|
32821
32821
|
}) }
|
|
32822
32822
|
};
|
|
32823
32823
|
/**
|
|
32824
|
+
* `calendar-source` — collection cap exposing per-provider calendars and
|
|
32825
|
+
* their events. Every addon that contributes calendars (Home Assistant,
|
|
32826
|
+
* a future Google Calendar addon, …) registers a provider here. The hub
|
|
32827
|
+
* singleton `calendars` walks the collection and merges the answers.
|
|
32828
|
+
*
|
|
32829
|
+
* Mirrors `addon-pages-source`: the public listing is a different shape
|
|
32830
|
+
* (source-stamped ids) and lives on the aggregator.
|
|
32831
|
+
*/
|
|
32832
|
+
var CalendarSourceKindSchema = z.enum(["ha", "addon"]);
|
|
32833
|
+
var CalendarInfoSchema = z.object({
|
|
32834
|
+
/** Provider-local id (e.g. HA `calendar.family`). The aggregator prefixes. */
|
|
32835
|
+
id: z.string().min(1),
|
|
32836
|
+
name: z.string().min(1),
|
|
32837
|
+
source: CalendarSourceKindSchema,
|
|
32838
|
+
enabled: z.boolean()
|
|
32839
|
+
});
|
|
32840
|
+
var CalendarEventSchema = z.object({
|
|
32841
|
+
id: z.string().min(1),
|
|
32842
|
+
calendarId: z.string().min(1),
|
|
32843
|
+
title: z.string(),
|
|
32844
|
+
startMs: z.number().int(),
|
|
32845
|
+
endMs: z.number().int(),
|
|
32846
|
+
allDay: z.boolean().optional(),
|
|
32847
|
+
description: z.string().optional(),
|
|
32848
|
+
location: z.string().optional()
|
|
32849
|
+
});
|
|
32850
|
+
var CalendarListEventsInputSchema = z.object({
|
|
32851
|
+
calendarIds: z.array(z.string().min(1)).max(64).optional(),
|
|
32852
|
+
startMs: z.number().int(),
|
|
32853
|
+
endMs: z.number().int()
|
|
32854
|
+
});
|
|
32855
|
+
var calendarSourceCapability = {
|
|
32856
|
+
name: "calendar-source",
|
|
32857
|
+
scope: "system",
|
|
32858
|
+
mode: "collection",
|
|
32859
|
+
internal: true,
|
|
32860
|
+
methods: {
|
|
32861
|
+
listCalendars: method(z.void(), z.array(CalendarInfoSchema).readonly(), { auth: "admin" }),
|
|
32862
|
+
listEvents: method(CalendarListEventsInputSchema, z.array(CalendarEventSchema).readonly(), { auth: "admin" })
|
|
32863
|
+
}
|
|
32864
|
+
};
|
|
32865
|
+
/**
|
|
32866
|
+
* `calendars` — system-scoped singleton. Public surface admin-ui and the
|
|
32867
|
+
* notification-center calendar-events producer consume.
|
|
32868
|
+
*
|
|
32869
|
+
* Walks every `calendar-source` provider, stamps each calendar with a
|
|
32870
|
+
* cluster-stable id (`<sourceAddonId>:<localId>`) and the providing
|
|
32871
|
+
* addon's id, and fans `listEvents` out the same way. Home Assistant
|
|
32872
|
+
* import is a built-in refresh of the HA source rather than a second
|
|
32873
|
+
* registry — `importFromHomeAssistant` asks that source to re-discover.
|
|
32874
|
+
*/
|
|
32875
|
+
var CalendarEntrySchema = CalendarInfoSchema.extend({
|
|
32876
|
+
/** Cluster-stable id: `<providerAddonId>:<localId>`. */
|
|
32877
|
+
id: z.string().min(1),
|
|
32878
|
+
/** The addon that registered the calendar-source provider. */
|
|
32879
|
+
providerAddonId: z.string().min(1).optional()
|
|
32880
|
+
});
|
|
32881
|
+
var CalendarImportResultSchema = z.object({
|
|
32882
|
+
imported: z.number().int().nonnegative(),
|
|
32883
|
+
/** Absent when no HA calendar-source provider was reachable. */
|
|
32884
|
+
providerAddonId: z.string().min(1).optional(),
|
|
32885
|
+
error: z.string().optional()
|
|
32886
|
+
});
|
|
32887
|
+
var calendarsCapability = {
|
|
32888
|
+
name: "calendars",
|
|
32889
|
+
scope: "system",
|
|
32890
|
+
mode: "singleton",
|
|
32891
|
+
methods: {
|
|
32892
|
+
listCalendars: method(z.void(), z.array(CalendarEntrySchema).readonly(), { auth: "admin" }),
|
|
32893
|
+
listEvents: method(CalendarListEventsInputSchema, z.array(CalendarEventSchema).readonly(), { auth: "admin" }),
|
|
32894
|
+
importFromHomeAssistant: method(z.void(), CalendarImportResultSchema, {
|
|
32895
|
+
auth: "admin",
|
|
32896
|
+
kind: "mutation"
|
|
32897
|
+
})
|
|
32898
|
+
}
|
|
32899
|
+
};
|
|
32900
|
+
/**
|
|
32824
32901
|
* camera-credentials — device-scoped cap exposing the camera's network
|
|
32825
32902
|
* + auth surface in a vendor-neutral shape.
|
|
32826
32903
|
*
|
|
@@ -47592,6 +47669,8 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
47592
47669
|
brightnessCapability,
|
|
47593
47670
|
brokerCapability,
|
|
47594
47671
|
buttonCapability,
|
|
47672
|
+
calendarSourceCapability,
|
|
47673
|
+
calendarsCapability,
|
|
47595
47674
|
cameraCredentialsCapability,
|
|
47596
47675
|
cameraGridLayoutCapability,
|
|
47597
47676
|
cameraPipelineConfigCapability,
|
|
@@ -48512,6 +48591,36 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
48512
48591
|
addonId: null,
|
|
48513
48592
|
access: "create"
|
|
48514
48593
|
},
|
|
48594
|
+
"calendars.importFromHomeAssistant": {
|
|
48595
|
+
capName: "calendars",
|
|
48596
|
+
capScope: "system",
|
|
48597
|
+
addonId: null,
|
|
48598
|
+
access: "create"
|
|
48599
|
+
},
|
|
48600
|
+
"calendars.listCalendars": {
|
|
48601
|
+
capName: "calendars",
|
|
48602
|
+
capScope: "system",
|
|
48603
|
+
addonId: null,
|
|
48604
|
+
access: "view"
|
|
48605
|
+
},
|
|
48606
|
+
"calendars.listEvents": {
|
|
48607
|
+
capName: "calendars",
|
|
48608
|
+
capScope: "system",
|
|
48609
|
+
addonId: null,
|
|
48610
|
+
access: "view"
|
|
48611
|
+
},
|
|
48612
|
+
"calendarSource.listCalendars": {
|
|
48613
|
+
capName: "calendar-source",
|
|
48614
|
+
capScope: "system",
|
|
48615
|
+
addonId: null,
|
|
48616
|
+
access: "view"
|
|
48617
|
+
},
|
|
48618
|
+
"calendarSource.listEvents": {
|
|
48619
|
+
capName: "calendar-source",
|
|
48620
|
+
capScope: "system",
|
|
48621
|
+
addonId: null,
|
|
48622
|
+
access: "view"
|
|
48623
|
+
},
|
|
48515
48624
|
"cameraCredentials.getCredentials": {
|
|
48516
48625
|
capName: "camera-credentials",
|
|
48517
48626
|
capScope: "device",
|
|
@@ -58938,4 +59047,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
58938
59047
|
return out;
|
|
58939
59048
|
}
|
|
58940
59049
|
//#endregion
|
|
58941
|
-
export {
|
|
59050
|
+
export { collectSecretConfigKeys as $, asNumber as $n, objectInputDeclaresRequiredDeviceId as $t, REDACTED_SECRET as A, buildFfmpegArgs as An, gbToBytes as At, UserRecordSchema as B, toExpressionValue as Bn, localNetworkCapability as Bt, LOG_LEVEL_RANK as C, userManagementCapability as Cn, evaluateCompositionField as Ct, MINUTES_PER_DAY as D, vectorStoreCapability as Dn, filesystemBrowseCapability as Dt, METHOD_ACCESS_MAP as E, vectorIndexDimConflictError as En, extractNestedAddonId as Et, ScopedTokenSchema as F, compositionItemFieldPath as Fn, isVoidInput as Ft, authProviderCapability as G, BaseAddon as Gn, mayReadLocation as Gt, addonSettingsCapability as H, DeviceRole as Hn, logDestinationCapability as Ht, StorageCleanupJobSchema as I, compositionSliceKey as In, kebabToCamel as It, batteryCapability as J, DEVICE_STATUS_METHOD as Jn, metricsProviderCapability as Jt, backupCapability as K, DATAPLANE_SECRET_HEADER as Kn, mayWriteToLocation as Kt, StorageLocationModeSchema as L, compositionSourceKey as Ln, legacyAutoLinkIds as Lt, RecordingStatusSchema as M, composedDeviceRef as Mn, isCollectionArrayMethod as Mt, STORAGE_ACCESS_FALLBACK as N, composedDeviceStableId as Nn, isLocationEnabled as Nt, MOTION_CLOSE_AFTER_MS as O, withLocationMode as On, foldSnapshotByFunction as Ot, STREAM_PROFILE_META as P, compositionFeatureEnabled as Pn, isObjectInput as Pt, cameraGridLayoutCapability as Q, asJsonObject as Qn, objectInputDeclaresAddonId as Qt, StorageLocationTypeSchema as R, createStatefulExpressionMemory as Rn, legacyModeOf as Rt, FieldClaimSchema as S, streamQualityLabel as Sn, enumerateSchemaFields as St, LocationIconIdSchema as T, vectorDimFromBase64 as Tn, expandContainer as Tt, addonWidgetsCapability as U, DeviceType as Un, logLevelAtMost as Ut, addonPagesCapability as V, DeviceFeature as Vn, locationIconKey as Vt, alertsCapability as W, errMsg as Wn, looseSchema as Wt, buildStreamParamsConfigSchema as X, ReadinessTimeoutError as Xn, motionCapability as Xt, buildCapabilityLookup as Y, ReadinessRegistry as Yn, modeMayWrite as Yt, calendarsCapability as Z, WELL_KNOWN_TAB_MAP as Zn, normalizeUnit as Zt, DERIVED_CAMERA_SILENCED_CAP_NAMES as _, storageCapability as _n, deviceManagerCapability as _t, BatteryStatusSchema as a, reducePoints as an, hydrateSchema as ar, coreBlockIdFromAddonId as at, FIRST_LEVEL_MACRO_CLASSES as b, storageProviderCapability as bn, enumerateInferenceDevices as bt, COMPOSED_ITEM_FIXED_FIELDS as c, resolveLocationMode as cn, nodePin as cr, createDeviceExtensionProvider as ct, CORE_BLOCK_ADDON_PREFIX as d, scopesAllowAddon as dn, readinessKey as dr, declarationOwnerNodeId as dt, parseStreamParamsFormPatch as en, asString$1 as er, composerCapability as et, CoreBlockSchema as f, scopesAllowDeviceCap as fn, resolveCapMount as fr, decodeVectorBase64 as ft, DAY_NAMES as g, snapshotCapability as gn, EventCategory as gr, deviceExtensionCapability as gt, DATABASE_SNAPSHOT_TIMEOUT_MS as h, siteZoneKey as hn, toNodeId as hr, describeComposableCaps as ht, BaseDevice as i, ptzAutotrackCapability as in, expandCapMethods as ir, coreBlockComposition as it, RUNTIME_DEFAULTS as j, cloneStatefulExpressionMemory as jn, isArrayOutputSchema as jt, RECORDING_SOURCE_CAMSTACK_ADDON as k, COMPOSER_ADDON_ID as kn, formatMinutes as kt, COMPOSER_RUNNER_ID as l, resolveMethodAuth as ln, parseJsonObject as lr, dataStoreProviderCapability as lt, DATABASE_SNAPSHOT_SUFFIX as m, settingsStoreCapability as mn, sleep as mr, deriveBatteryPresence as mt, AlertSchema as n, platformProbeCapability as nn, emitDownForOwnedCaps as nr, compositionSourceRefs as nt, CAMERA_SWITCH_ORDER as o, replacedFieldKeys as on, isDeviceConfigCap as or, coreBlockSourceKind as ot, DATABASE_SNAPSHOT_PARTIAL_SUFFIX as p, scoreRuntimes as pn, scopeKey as pr, defineExtensionSlotProvider as pt, bareAddonId as q, DEVICE_SETTINGS_CONTRIBUTION_METHODS as qn, memoizePinnedFfmpeg as qt, ApiKeyRecordSchema as r, procedureAuthKey as rn, emitReadiness as rr, coreBlockAddonId as rt, CAP_NAMES_WITH_STATUS as s, resolveBucketMs as sn, isEvent as sr, coreBlocksCapability as st, ALL_CAPABILITY_DEFINITIONS as t, planComposition as tn, createEvent as tr, compositionFieldKey as tt, CORE_BLOCKS_ADDON_ID as u, runtimeStatePolicyFor as un, parseJsonUnknown as ur, databaseSnapshotCapability as ut, DeclaredDevices as v, storageMigrationCapability as vn, deviceStateCapability as vt, LegacyStorageLocationDefaultSchema as w, validateComposition as wn, evictionPolicyOfLocation as wt, FieldClaimModeSchema as x, streamCatalogCapability as xn, enumerateItemArrayFields as xt, DeviceStatusSchema as y, storageOccupancyCapability as yn, deviceStatusCapability as yt, StorageMigrationJobSchema as z, disarmRoseMemory as zn, lifecycleJobSchema as zt };
|
|
@@ -32821,6 +32821,83 @@ var buttonCapability = {
|
|
|
32821
32821
|
}) }
|
|
32822
32822
|
};
|
|
32823
32823
|
/**
|
|
32824
|
+
* `calendar-source` — collection cap exposing per-provider calendars and
|
|
32825
|
+
* their events. Every addon that contributes calendars (Home Assistant,
|
|
32826
|
+
* a future Google Calendar addon, …) registers a provider here. The hub
|
|
32827
|
+
* singleton `calendars` walks the collection and merges the answers.
|
|
32828
|
+
*
|
|
32829
|
+
* Mirrors `addon-pages-source`: the public listing is a different shape
|
|
32830
|
+
* (source-stamped ids) and lives on the aggregator.
|
|
32831
|
+
*/
|
|
32832
|
+
var CalendarSourceKindSchema = zod.z.enum(["ha", "addon"]);
|
|
32833
|
+
var CalendarInfoSchema = zod.z.object({
|
|
32834
|
+
/** Provider-local id (e.g. HA `calendar.family`). The aggregator prefixes. */
|
|
32835
|
+
id: zod.z.string().min(1),
|
|
32836
|
+
name: zod.z.string().min(1),
|
|
32837
|
+
source: CalendarSourceKindSchema,
|
|
32838
|
+
enabled: zod.z.boolean()
|
|
32839
|
+
});
|
|
32840
|
+
var CalendarEventSchema = zod.z.object({
|
|
32841
|
+
id: zod.z.string().min(1),
|
|
32842
|
+
calendarId: zod.z.string().min(1),
|
|
32843
|
+
title: zod.z.string(),
|
|
32844
|
+
startMs: zod.z.number().int(),
|
|
32845
|
+
endMs: zod.z.number().int(),
|
|
32846
|
+
allDay: zod.z.boolean().optional(),
|
|
32847
|
+
description: zod.z.string().optional(),
|
|
32848
|
+
location: zod.z.string().optional()
|
|
32849
|
+
});
|
|
32850
|
+
var CalendarListEventsInputSchema = zod.z.object({
|
|
32851
|
+
calendarIds: zod.z.array(zod.z.string().min(1)).max(64).optional(),
|
|
32852
|
+
startMs: zod.z.number().int(),
|
|
32853
|
+
endMs: zod.z.number().int()
|
|
32854
|
+
});
|
|
32855
|
+
var calendarSourceCapability = {
|
|
32856
|
+
name: "calendar-source",
|
|
32857
|
+
scope: "system",
|
|
32858
|
+
mode: "collection",
|
|
32859
|
+
internal: true,
|
|
32860
|
+
methods: {
|
|
32861
|
+
listCalendars: method(zod.z.void(), zod.z.array(CalendarInfoSchema).readonly(), { auth: "admin" }),
|
|
32862
|
+
listEvents: method(CalendarListEventsInputSchema, zod.z.array(CalendarEventSchema).readonly(), { auth: "admin" })
|
|
32863
|
+
}
|
|
32864
|
+
};
|
|
32865
|
+
/**
|
|
32866
|
+
* `calendars` — system-scoped singleton. Public surface admin-ui and the
|
|
32867
|
+
* notification-center calendar-events producer consume.
|
|
32868
|
+
*
|
|
32869
|
+
* Walks every `calendar-source` provider, stamps each calendar with a
|
|
32870
|
+
* cluster-stable id (`<sourceAddonId>:<localId>`) and the providing
|
|
32871
|
+
* addon's id, and fans `listEvents` out the same way. Home Assistant
|
|
32872
|
+
* import is a built-in refresh of the HA source rather than a second
|
|
32873
|
+
* registry — `importFromHomeAssistant` asks that source to re-discover.
|
|
32874
|
+
*/
|
|
32875
|
+
var CalendarEntrySchema = CalendarInfoSchema.extend({
|
|
32876
|
+
/** Cluster-stable id: `<providerAddonId>:<localId>`. */
|
|
32877
|
+
id: zod.z.string().min(1),
|
|
32878
|
+
/** The addon that registered the calendar-source provider. */
|
|
32879
|
+
providerAddonId: zod.z.string().min(1).optional()
|
|
32880
|
+
});
|
|
32881
|
+
var CalendarImportResultSchema = zod.z.object({
|
|
32882
|
+
imported: zod.z.number().int().nonnegative(),
|
|
32883
|
+
/** Absent when no HA calendar-source provider was reachable. */
|
|
32884
|
+
providerAddonId: zod.z.string().min(1).optional(),
|
|
32885
|
+
error: zod.z.string().optional()
|
|
32886
|
+
});
|
|
32887
|
+
var calendarsCapability = {
|
|
32888
|
+
name: "calendars",
|
|
32889
|
+
scope: "system",
|
|
32890
|
+
mode: "singleton",
|
|
32891
|
+
methods: {
|
|
32892
|
+
listCalendars: method(zod.z.void(), zod.z.array(CalendarEntrySchema).readonly(), { auth: "admin" }),
|
|
32893
|
+
listEvents: method(CalendarListEventsInputSchema, zod.z.array(CalendarEventSchema).readonly(), { auth: "admin" }),
|
|
32894
|
+
importFromHomeAssistant: method(zod.z.void(), CalendarImportResultSchema, {
|
|
32895
|
+
auth: "admin",
|
|
32896
|
+
kind: "mutation"
|
|
32897
|
+
})
|
|
32898
|
+
}
|
|
32899
|
+
};
|
|
32900
|
+
/**
|
|
32824
32901
|
* camera-credentials — device-scoped cap exposing the camera's network
|
|
32825
32902
|
* + auth surface in a vendor-neutral shape.
|
|
32826
32903
|
*
|
|
@@ -47592,6 +47669,8 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
47592
47669
|
brightnessCapability,
|
|
47593
47670
|
brokerCapability,
|
|
47594
47671
|
buttonCapability,
|
|
47672
|
+
calendarSourceCapability,
|
|
47673
|
+
calendarsCapability,
|
|
47595
47674
|
cameraCredentialsCapability,
|
|
47596
47675
|
cameraGridLayoutCapability,
|
|
47597
47676
|
cameraPipelineConfigCapability,
|
|
@@ -48512,6 +48591,36 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
48512
48591
|
addonId: null,
|
|
48513
48592
|
access: "create"
|
|
48514
48593
|
},
|
|
48594
|
+
"calendars.importFromHomeAssistant": {
|
|
48595
|
+
capName: "calendars",
|
|
48596
|
+
capScope: "system",
|
|
48597
|
+
addonId: null,
|
|
48598
|
+
access: "create"
|
|
48599
|
+
},
|
|
48600
|
+
"calendars.listCalendars": {
|
|
48601
|
+
capName: "calendars",
|
|
48602
|
+
capScope: "system",
|
|
48603
|
+
addonId: null,
|
|
48604
|
+
access: "view"
|
|
48605
|
+
},
|
|
48606
|
+
"calendars.listEvents": {
|
|
48607
|
+
capName: "calendars",
|
|
48608
|
+
capScope: "system",
|
|
48609
|
+
addonId: null,
|
|
48610
|
+
access: "view"
|
|
48611
|
+
},
|
|
48612
|
+
"calendarSource.listCalendars": {
|
|
48613
|
+
capName: "calendar-source",
|
|
48614
|
+
capScope: "system",
|
|
48615
|
+
addonId: null,
|
|
48616
|
+
access: "view"
|
|
48617
|
+
},
|
|
48618
|
+
"calendarSource.listEvents": {
|
|
48619
|
+
capName: "calendar-source",
|
|
48620
|
+
capScope: "system",
|
|
48621
|
+
addonId: null,
|
|
48622
|
+
access: "view"
|
|
48623
|
+
},
|
|
48515
48624
|
"cameraCredentials.getCredentials": {
|
|
48516
48625
|
capName: "camera-credentials",
|
|
48517
48626
|
capScope: "device",
|
|
@@ -59334,6 +59443,12 @@ Object.defineProperty(exports, "buildStreamParamsConfigSchema", {
|
|
|
59334
59443
|
return buildStreamParamsConfigSchema;
|
|
59335
59444
|
}
|
|
59336
59445
|
});
|
|
59446
|
+
Object.defineProperty(exports, "calendarsCapability", {
|
|
59447
|
+
enumerable: true,
|
|
59448
|
+
get: function() {
|
|
59449
|
+
return calendarsCapability;
|
|
59450
|
+
}
|
|
59451
|
+
});
|
|
59337
59452
|
Object.defineProperty(exports, "cameraGridLayoutCapability", {
|
|
59338
59453
|
enumerable: true,
|
|
59339
59454
|
get: function() {
|
package/dist/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export { ScopedTokenManager } from './auth/scoped-token-manager.js';
|
|
|
13
13
|
export type { UserConfigReader, UserRecord, UserStorageAccess } from './auth/user-manager.js';
|
|
14
14
|
export { UserManager } from './auth/user-manager.js';
|
|
15
15
|
export { AlertCenterAddon } from './builtins/alerts/index.js';
|
|
16
|
+
export { CalendarsAddon } from './builtins/calendars/index.js';
|
|
16
17
|
export { ComposerAddon } from './builtins/composer/index.js';
|
|
17
18
|
export { ConsoleDestination, ConsoleLoggingAddon } from './builtins/console-logging/index.js';
|
|
18
19
|
export { CoreBlocksAddon } from './builtins/core-blocks/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
3
|
-
const require_dist = require("./dist-
|
|
3
|
+
const require_dist = require("./dist-CqafgUSr.js");
|
|
4
4
|
const require_builtins_alerts_alerts_addon = require("./builtins/alerts/alerts.addon.js");
|
|
5
5
|
require("./builtins/alerts/index.js");
|
|
6
|
+
const require_settle_sources = require("./settle-sources-Bhsy57y-.js");
|
|
6
7
|
const require_builtins_composer_composer_addon = require("./builtins/composer/composer.addon.js");
|
|
7
8
|
require("./builtins/composer/index.js");
|
|
8
9
|
const require_formatter = require("./formatter-DqAKDlvN.js");
|
|
@@ -29,7 +30,7 @@ require("./builtins/system-config/index.js");
|
|
|
29
30
|
const require_builtins_winston_logging_index = require("./builtins/winston-logging/index.js");
|
|
30
31
|
const require_event_loop_stall_monitor = require("./event-loop-stall-monitor-ey4mbofz.js");
|
|
31
32
|
const require_tls$1 = require("./tls-D_wUeOTD.js");
|
|
32
|
-
const require_child_cap_dispatch = require("./child-cap-dispatch-
|
|
33
|
+
const require_child_cap_dispatch = require("./child-cap-dispatch-Bm4Kpo7v.js");
|
|
33
34
|
const require_resource_monitor = require("./resource-monitor-DzNn_IZK.js");
|
|
34
35
|
const require_custom_action_registry = require("./custom-action-registry-acBY3mHA.js");
|
|
35
36
|
let zod = require("zod");
|
|
@@ -185,6 +186,107 @@ function matchPath(pattern, path) {
|
|
|
185
186
|
return params;
|
|
186
187
|
}
|
|
187
188
|
//#endregion
|
|
189
|
+
//#region src/builtins/calendars/calendars.addon.ts
|
|
190
|
+
/**
|
|
191
|
+
* Hub calendars aggregator — walks `calendar-source` providers and stamps
|
|
192
|
+
* cluster-stable ids (`<providerAddonId>:<localId>`).
|
|
193
|
+
*/
|
|
194
|
+
var PER_SOURCE_TIMEOUT_MS = 2500;
|
|
195
|
+
var HA_ADDON_ID = "provider-homeassistant";
|
|
196
|
+
function stampId(providerAddonId, localId) {
|
|
197
|
+
return `${providerAddonId}:${localId}`;
|
|
198
|
+
}
|
|
199
|
+
function localIdOf(stamped, providerAddonId) {
|
|
200
|
+
const prefix = `${providerAddonId}:`;
|
|
201
|
+
if (!stamped.startsWith(prefix)) return null;
|
|
202
|
+
return stamped.slice(prefix.length);
|
|
203
|
+
}
|
|
204
|
+
var CalendarsAddon = class extends require_dist.BaseAddon {
|
|
205
|
+
id = "calendars";
|
|
206
|
+
constructor() {
|
|
207
|
+
super({});
|
|
208
|
+
}
|
|
209
|
+
async onInitialize() {
|
|
210
|
+
const provider = {
|
|
211
|
+
listCalendars: async () => this.listCalendars(),
|
|
212
|
+
listEvents: async (input) => this.listEvents(input),
|
|
213
|
+
importFromHomeAssistant: async () => this.importFromHomeAssistant()
|
|
214
|
+
};
|
|
215
|
+
this.ctx.logger.info("Initialized — aggregating calendar-source providers");
|
|
216
|
+
return [{
|
|
217
|
+
capability: require_dist.calendarsCapability,
|
|
218
|
+
provider
|
|
219
|
+
}];
|
|
220
|
+
}
|
|
221
|
+
sources() {
|
|
222
|
+
return (this.capabilities?.getCollectionEntries("calendar-source") ?? []).map(([id, provider]) => ({
|
|
223
|
+
id,
|
|
224
|
+
provider
|
|
225
|
+
}));
|
|
226
|
+
}
|
|
227
|
+
async listCalendars() {
|
|
228
|
+
const settled = await require_settle_sources.settleSourcesWithTimeout(this.sources().map((s) => [s.id, async () => {
|
|
229
|
+
return (await s.provider.listCalendars()).map((cal) => ({
|
|
230
|
+
...cal,
|
|
231
|
+
id: stampId(s.id, cal.id),
|
|
232
|
+
providerAddonId: s.id
|
|
233
|
+
}));
|
|
234
|
+
}]), PER_SOURCE_TIMEOUT_MS);
|
|
235
|
+
const out = [];
|
|
236
|
+
for (const [sourceId, result] of settled) if (result.ok) for (const entry of result.value) out.push(entry);
|
|
237
|
+
else this.ctx.logger.warn("calendar-source provider failed", { meta: {
|
|
238
|
+
sourceId,
|
|
239
|
+
error: result.error.message
|
|
240
|
+
} });
|
|
241
|
+
return out;
|
|
242
|
+
}
|
|
243
|
+
async listEvents(input) {
|
|
244
|
+
const sources = this.sources();
|
|
245
|
+
const wanted = input.calendarIds !== void 0 ? new Set(input.calendarIds) : null;
|
|
246
|
+
const settled = await require_settle_sources.settleSourcesWithTimeout(sources.map((s) => {
|
|
247
|
+
const localIds = wanted === null ? void 0 : [...wanted].map((id) => localIdOf(id, s.id)).filter((id) => id !== null);
|
|
248
|
+
return [s.id, async () => {
|
|
249
|
+
if (wanted !== null && localIds !== void 0 && localIds.length === 0) return [];
|
|
250
|
+
return (await s.provider.listEvents({
|
|
251
|
+
startMs: input.startMs,
|
|
252
|
+
endMs: input.endMs,
|
|
253
|
+
...localIds !== void 0 ? { calendarIds: [...localIds] } : {}
|
|
254
|
+
})).map((ev) => ({
|
|
255
|
+
...ev,
|
|
256
|
+
calendarId: stampId(s.id, ev.calendarId),
|
|
257
|
+
id: stampId(s.id, ev.id)
|
|
258
|
+
}));
|
|
259
|
+
}];
|
|
260
|
+
}), PER_SOURCE_TIMEOUT_MS);
|
|
261
|
+
const out = [];
|
|
262
|
+
for (const [sourceId, result] of settled) if (result.ok) for (const ev of result.value) out.push(ev);
|
|
263
|
+
else this.ctx.logger.warn("calendar-source listEvents failed", { meta: {
|
|
264
|
+
sourceId,
|
|
265
|
+
error: result.error.message
|
|
266
|
+
} });
|
|
267
|
+
return out.toSorted((a, b) => a.startMs - b.startMs);
|
|
268
|
+
}
|
|
269
|
+
async importFromHomeAssistant() {
|
|
270
|
+
const ha = this.sources().find((s) => s.id === HA_ADDON_ID || s.id.includes("homeassistant"));
|
|
271
|
+
if (ha === void 0) return {
|
|
272
|
+
imported: 0,
|
|
273
|
+
error: "No Home Assistant calendar-source provider is registered"
|
|
274
|
+
};
|
|
275
|
+
try {
|
|
276
|
+
return {
|
|
277
|
+
imported: (await ha.provider.listCalendars()).length,
|
|
278
|
+
providerAddonId: ha.id
|
|
279
|
+
};
|
|
280
|
+
} catch (err) {
|
|
281
|
+
return {
|
|
282
|
+
imported: 0,
|
|
283
|
+
providerAddonId: ha.id,
|
|
284
|
+
error: require_dist.errMsg(err)
|
|
285
|
+
};
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
};
|
|
289
|
+
//#endregion
|
|
188
290
|
//#region src/events/event-bus.ts
|
|
189
291
|
var EventBus = class {
|
|
190
292
|
listeners = /* @__PURE__ */ new Map();
|
|
@@ -96462,6 +96564,7 @@ exports.CA_VALIDITY_DAYS = require_tls$1.CA_VALIDITY_DAYS;
|
|
|
96462
96564
|
exports.CLUSTER_SECRET_MISMATCH_TYPE = CLUSTER_SECRET_MISMATCH_TYPE;
|
|
96463
96565
|
exports.CLUSTER_SECRET_REJECTED_EXIT_CODE = CLUSTER_SECRET_REJECTED_EXIT_CODE;
|
|
96464
96566
|
exports.CORE_CAP_SERVICE_NAME = CORE_CAP_SERVICE_NAME;
|
|
96567
|
+
exports.CalendarsAddon = CalendarsAddon;
|
|
96465
96568
|
exports.CapRouteError = require_child_cap_dispatch.CapRouteError;
|
|
96466
96569
|
exports.CapRouteResolver = require_child_cap_dispatch.CapRouteResolver;
|
|
96467
96570
|
exports.CapUsageRegistry = require_child_cap_dispatch.CapUsageRegistry;
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM$1, r as __exportAll, t as __commonJSMin$1 } from "./chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { $n as
|
|
2
|
+
import { $n as asNumber, $t as objectInputDeclaresRequiredDeviceId, C as LOG_LEVEL_RANK, E as METHOD_ACCESS_MAP, Et as extractNestedAddonId, Ft as isVoidInput, Gn as BaseAddon, H as addonSettingsCapability, It as kebabToCamel, Jn as DEVICE_STATUS_METHOD, Kn as DATAPLANE_SECRET_HEADER$1, Mt as isCollectionArrayMethod, Pt as isObjectInput, Qn as asJsonObject$1, Qt as objectInputDeclaresAddonId, Ut as logLevelAtMost, Wn as errMsg$1, Wt as looseSchema, Xn as ReadinessTimeoutError, Yn as ReadinessRegistry, Z as calendarsCapability, dn as scopesAllowAddon, dr as readinessKey, er as asString$1, fn as scopesAllowDeviceCap, fr as resolveCapMount, gr as EventCategory$1, ir as expandCapMethods, j as RUNTIME_DEFAULTS, jt as isArrayOutputSchema, ln as resolveMethodAuth, lr as parseJsonObject, nr as emitDownForOwnedCaps, pr as scopeKey, qn as DEVICE_SETTINGS_CONTRIBUTION_METHODS, rn as procedureAuthKey, t as ALL_CAPABILITY_DEFINITIONS, tr as createEvent, ur as parseJsonUnknown, zt as lifecycleJobSchema } from "./dist-0zO6jHkf.mjs";
|
|
3
3
|
import { AlertCenterAddon } from "./builtins/alerts/alerts.addon.mjs";
|
|
4
4
|
import "./builtins/alerts/index.mjs";
|
|
5
|
+
import { t as settleSourcesWithTimeout } from "./settle-sources-CDtNC8ub.mjs";
|
|
5
6
|
import { ComposerAddon } from "./builtins/composer/composer.addon.mjs";
|
|
6
7
|
import "./builtins/composer/index.mjs";
|
|
7
8
|
import { t as formatLogLine } from "./formatter-B7qW8bPJ.mjs";
|
|
@@ -28,7 +29,7 @@ import "./builtins/system-config/index.mjs";
|
|
|
28
29
|
import { WinstonDestination, WinstonLoggingAddon } from "./builtins/winston-logging/index.mjs";
|
|
29
30
|
import { _ as ensureModel, a as createFileDataPlaneHandler, c as parseRangeHeader, d as ModelDownloadService, g as downloadModel, h as downloadFile, i as startEventLoopStallMonitor, l as parseTokenizedUrl, m as deleteModelFromDisk, n as STALL_TICK_MS, o as contentTypeFor, p as collectModelFiles, r as attributeStall, s as createAuthenticatedFileServer, t as STALL_REPORT_MS, u as resolveFilePath, v as fetchJson, x as isModelDownloaded, y as getModelFilePath } from "./event-loop-stall-monitor-EXjzIxDz.mjs";
|
|
30
31
|
import { C as registerLanHttpHandler, S as readLanHttpState, _ as DEFAULT_LAN_HTTP_PORT, a as writeTlsMode, b as bindPendingLanHttp, c as loadTlsCert, d as collectCertIdentity, f as CA_VALIDITY_DAYS, g as evaluateExistingCert, h as SERVER_AUTH_OID, i as writeExtraSans, l as reissueTlsLeaf, m as MAX_LEAF_VALIDITY_DAYS, n as readTlsAccessStatus, o as validateUploadedTls, p as LEAF_RENEWAL_WINDOW_DAYS, r as readTlsMode, s as ensureTlsCert, t as readExtraSans, u as CA_COMMON_NAME, v as allFamiliesListenHost, x as closeLanHttp, y as applyLanHttp } from "./tls-IM-v7JV4.mjs";
|
|
31
|
-
import { $ as CapRouteError, $n as CAP_ACTION_UNLABELLED, $t as RUNNER_HEAP_WATCH_INTERVAL_MS, A as resolveHwAccel, An as OUTBOUND_QUEUE_COOLDOWN_MS, At as serializeTypedArrays, B as udsChildLogToWorkerEntry, Bn as SOCKET_QUEUE_TOP_N, Bt as createAddonPeerBytesFacility, C as getBrokerEventBus, Cn as DECISIVE_HEAP_SPACES, Ct as NATIVE_PROVIDER_SERVICE_INFIX, D as subscribePassthrough, Dn as heapSpaceField, Dt as capServiceName, E as setNodeEventInterest, En as formatHeapSpaces, Et as capBareAction, F as ipcParentLink, Fn as MESH_QUEUE_TOP_N, Ft as installManifestNativeDeps, G as UDS_NO_ROUTE_PREFIX, Gn as readSocketQueues, Gt as HEAP_RECLAIM_TRIGGER_MB, H as createUdsLoggerWithControl, Hn as createSocketPlaneReader, Ht as createAddonDataPlaneFacility, I as localProviderLink, In as createMeshQueueReader, It as resolveAddonClass, J as answerClaimedGetStatus, Jn as recordSocketFrame, Jt as HUB_MAIN_HEAP_WATCH_LABEL, K as afterWorkerOnlineAnnounce, Kn as EMPTY_SOCKET_DIRECTION, Kt as HEAP_WATCH_INTERVAL_MS, L as createParentUnownedCallHandler, Ln as formatMeshQueue, Lt as buildNpmChildEnv, M as brokerTransportLink, Mn as OUTBOUND_QUEUE_THRESHOLD_BYTES, Mt as CapabilityHandle, N as buildLinkChain, Nn as createOutboundQueueGate, Nt as CapabilityUnavailableError, O as AddonDepsManager, On as readHeapSpaces, Ot as parseCapAction, P as deviceCapResolverLink, Pn as formatOutboundQueueVerdict, Pt as copyBundledNativeModules, Q as CapRouteResolver, Qn as CAP_ACTION_OVERFLOW_LABEL, Qt as RSS_BUDGET_RELEASE_RATIO, R as createUdsEventBridge, Rn as EMPTY_SOCKET_PLANE_BASELINE, Rt as resolveNpmInvocation, S as clusterEventTopic, Sn as isArrayBufferCensusReport, St as validateProviderRegistrations, T as registerEventBusService, Tn as emitHeapDiagnosticReport, Tt as capActionSuffix, U as LocalChildClient, Un as diffSocketPlane, Ut as HEAP_RECLAIM_MIN_INTERVAL_MS, V as createUdsLogger, Vn as createSocketPlaneMeter, Vt as hostNodeIdOf, W as LocalChildRegistry, Wn as formatSocketPlane, Wt as HEAP_RECLAIM_STEADY_STATE_INTERVAL_MS, X as AGENT_CAP_FWD_ACTION, Xn as socketDirectionBytes, Xt as HUB_RSS_BUDGET_ENV, Y as deviceOfGetStatus, Yn as sampleSocketDirection, Yt as HUB_MAIN_RSS_BUDGET_MB, Z as AGENT_CAP_FWD_SERVICE, Zn as socketDirectionMessages, Zt as RSS_BUDGET_REANNOUNCE_MIN_MS, _ as getWorkerDeviceRegistry, _n as ARRAY_BUFFER_CENSUS_THRESHOLD_MB, a as reapProcessGroup, an as createV8Reclaimer, ar as EVENT_PLANE_TOP_N, at as __resetCapUsageRegistryForTests, b as setHubConnected, bn as createInspectorArrayBufferCensus, c as runnerOwnsProcessGroup, cn as nextRssBudgetState, cr as diffEventPlane, ct as UdsLocalTransportClient, d as summarizeMembers, dn as shouldReclaim, dt as PeerAnsweredError, en as RUNNER_RSS_BUDGET_ENV, er as EMPTY_CAP_ACTION_READING, et as classifyCapRoute, f as installManifestSystemDeps, fn as startHeapWatch, ft as localEndpointPath, g as createUdsAddonContext, gn as ARRAY_BUFFER_CENSUS_SUSTAIN_MS, gt as createBrokerDeviceManagerApi, h as createAddonContext, hn as ARRAY_BUFFER_CENSUS_COOLDOWN_MS, ht as buildNativeCapProxy, in as createLoopDelayMeter, ir as diffCapActionCensus, it as PARENT_ROUTED_PROVIDER_ADDON_ID, j as brokerCallForCap, jn as OUTBOUND_QUEUE_SUSTAIN_MS, jt as DeviceRegistry, k as createKernelHwAccel, kn as selectReportedSpaces, kt as deserializeTypedArrays, l as signalAllRunnerGroups, ln as parseRssBudgetMb, lr as formatEventPlane, lt as UdsLocalTransportServer, m as adaptBrokerToCluster, mn as strandedMb, mt as encodeFrame, nn as buildHeapSample, nr as capActionLabel, nt as readMoleculerFanoutMode, o as registerRunnerGroup, on as describeRss, or as createEventPlaneMeter, ot as getCapUsageRegistry, p as installManifestPythonDeps, pn as startRunnerHeapWatch, pt as FrameDecoder, q as GET_STATUS_METHOD, qn as createSocketDirectionCounters, qt as HEAP_WATCH_WARN_RATIO, r as defaultProcessGroupOps, rn as createDeferredHeapWatchSink, rr as createCapActionCensus, rt as CapUsageRegistry, s as releaseRunnerGroup, sn as hubMainRssBudget, sr as createEventPlaneReader, st as createLocalTransport, t as CAP_METHOD_NOT_IMPLEMENTED, tn as ZERO_LOOP_DELAY, tr as MAX_CAP_ACTIONS_PER_PEER, tt as callWithServiceDiscovery, un as reclaimIntervalMs, ut as SocketChannel, v as getOrInitReadinessRegistry, vn as ARRAY_BUFFER_RELEASE_MIN_DROP_RATIO, w as getMoleculerEventStats, wn as HEAP_SPACE_REPORT_MIN_MB, wt as capActionName, x as EVENT_TOPIC_PREFIX, xn as formatArrayBufferCensus, xt as createAddonService, y as getOrInitReadinessRegistryForClient, yn as createArrayBufferCensusGate, yt as mountNativeCapService, z as createUdsEventBus, zn as SOCKET_PLANE_TOP_N, zt as runNpm } from "./child-cap-dispatch-
|
|
32
|
+
import { $ as CapRouteError, $n as CAP_ACTION_UNLABELLED, $t as RUNNER_HEAP_WATCH_INTERVAL_MS, A as resolveHwAccel, An as OUTBOUND_QUEUE_COOLDOWN_MS, At as serializeTypedArrays, B as udsChildLogToWorkerEntry, Bn as SOCKET_QUEUE_TOP_N, Bt as createAddonPeerBytesFacility, C as getBrokerEventBus, Cn as DECISIVE_HEAP_SPACES, Ct as NATIVE_PROVIDER_SERVICE_INFIX, D as subscribePassthrough, Dn as heapSpaceField, Dt as capServiceName, E as setNodeEventInterest, En as formatHeapSpaces, Et as capBareAction, F as ipcParentLink, Fn as MESH_QUEUE_TOP_N, Ft as installManifestNativeDeps, G as UDS_NO_ROUTE_PREFIX, Gn as readSocketQueues, Gt as HEAP_RECLAIM_TRIGGER_MB, H as createUdsLoggerWithControl, Hn as createSocketPlaneReader, Ht as createAddonDataPlaneFacility, I as localProviderLink, In as createMeshQueueReader, It as resolveAddonClass, J as answerClaimedGetStatus, Jn as recordSocketFrame, Jt as HUB_MAIN_HEAP_WATCH_LABEL, K as afterWorkerOnlineAnnounce, Kn as EMPTY_SOCKET_DIRECTION, Kt as HEAP_WATCH_INTERVAL_MS, L as createParentUnownedCallHandler, Ln as formatMeshQueue, Lt as buildNpmChildEnv, M as brokerTransportLink, Mn as OUTBOUND_QUEUE_THRESHOLD_BYTES, Mt as CapabilityHandle, N as buildLinkChain, Nn as createOutboundQueueGate, Nt as CapabilityUnavailableError, O as AddonDepsManager, On as readHeapSpaces, Ot as parseCapAction, P as deviceCapResolverLink, Pn as formatOutboundQueueVerdict, Pt as copyBundledNativeModules, Q as CapRouteResolver, Qn as CAP_ACTION_OVERFLOW_LABEL, Qt as RSS_BUDGET_RELEASE_RATIO, R as createUdsEventBridge, Rn as EMPTY_SOCKET_PLANE_BASELINE, Rt as resolveNpmInvocation, S as clusterEventTopic, Sn as isArrayBufferCensusReport, St as validateProviderRegistrations, T as registerEventBusService, Tn as emitHeapDiagnosticReport, Tt as capActionSuffix, U as LocalChildClient, Un as diffSocketPlane, Ut as HEAP_RECLAIM_MIN_INTERVAL_MS, V as createUdsLogger, Vn as createSocketPlaneMeter, Vt as hostNodeIdOf, W as LocalChildRegistry, Wn as formatSocketPlane, Wt as HEAP_RECLAIM_STEADY_STATE_INTERVAL_MS, X as AGENT_CAP_FWD_ACTION, Xn as socketDirectionBytes, Xt as HUB_RSS_BUDGET_ENV, Y as deviceOfGetStatus, Yn as sampleSocketDirection, Yt as HUB_MAIN_RSS_BUDGET_MB, Z as AGENT_CAP_FWD_SERVICE, Zn as socketDirectionMessages, Zt as RSS_BUDGET_REANNOUNCE_MIN_MS, _ as getWorkerDeviceRegistry, _n as ARRAY_BUFFER_CENSUS_THRESHOLD_MB, a as reapProcessGroup, an as createV8Reclaimer, ar as EVENT_PLANE_TOP_N, at as __resetCapUsageRegistryForTests, b as setHubConnected, bn as createInspectorArrayBufferCensus, c as runnerOwnsProcessGroup, cn as nextRssBudgetState, cr as diffEventPlane, ct as UdsLocalTransportClient, d as summarizeMembers, dn as shouldReclaim, dt as PeerAnsweredError, en as RUNNER_RSS_BUDGET_ENV, er as EMPTY_CAP_ACTION_READING, et as classifyCapRoute, f as installManifestSystemDeps, fn as startHeapWatch, ft as localEndpointPath, g as createUdsAddonContext, gn as ARRAY_BUFFER_CENSUS_SUSTAIN_MS, gt as createBrokerDeviceManagerApi, h as createAddonContext, hn as ARRAY_BUFFER_CENSUS_COOLDOWN_MS, ht as buildNativeCapProxy, in as createLoopDelayMeter, ir as diffCapActionCensus, it as PARENT_ROUTED_PROVIDER_ADDON_ID, j as brokerCallForCap, jn as OUTBOUND_QUEUE_SUSTAIN_MS, jt as DeviceRegistry, k as createKernelHwAccel, kn as selectReportedSpaces, kt as deserializeTypedArrays, l as signalAllRunnerGroups, ln as parseRssBudgetMb, lr as formatEventPlane, lt as UdsLocalTransportServer, m as adaptBrokerToCluster, mn as strandedMb, mt as encodeFrame, nn as buildHeapSample, nr as capActionLabel, nt as readMoleculerFanoutMode, o as registerRunnerGroup, on as describeRss, or as createEventPlaneMeter, ot as getCapUsageRegistry, p as installManifestPythonDeps, pn as startRunnerHeapWatch, pt as FrameDecoder, q as GET_STATUS_METHOD, qn as createSocketDirectionCounters, qt as HEAP_WATCH_WARN_RATIO, r as defaultProcessGroupOps, rn as createDeferredHeapWatchSink, rr as createCapActionCensus, rt as CapUsageRegistry, s as releaseRunnerGroup, sn as hubMainRssBudget, sr as createEventPlaneReader, st as createLocalTransport, t as CAP_METHOD_NOT_IMPLEMENTED, tn as ZERO_LOOP_DELAY, tr as MAX_CAP_ACTIONS_PER_PEER, tt as callWithServiceDiscovery, un as reclaimIntervalMs, ut as SocketChannel, v as getOrInitReadinessRegistry, vn as ARRAY_BUFFER_RELEASE_MIN_DROP_RATIO, w as getMoleculerEventStats, wn as HEAP_SPACE_REPORT_MIN_MB, wt as capActionName, x as EVENT_TOPIC_PREFIX, xn as formatArrayBufferCensus, xt as createAddonService, y as getOrInitReadinessRegistryForClient, yn as createArrayBufferCensusGate, yt as mountNativeCapService, z as createUdsEventBus, zn as SOCKET_PLANE_TOP_N, zt as runNpm } from "./child-cap-dispatch-B52e2Bcw.mjs";
|
|
32
33
|
import { n as getSinglePidStats, t as getPidStats } from "./resource-monitor-B1v6E07R.mjs";
|
|
33
34
|
import { t as CustomActionRegistry } from "./custom-action-registry-B4Cf4O_X.mjs";
|
|
34
35
|
import { z } from "zod";
|
|
@@ -178,6 +179,107 @@ function matchPath(pattern, path) {
|
|
|
178
179
|
return params;
|
|
179
180
|
}
|
|
180
181
|
//#endregion
|
|
182
|
+
//#region src/builtins/calendars/calendars.addon.ts
|
|
183
|
+
/**
|
|
184
|
+
* Hub calendars aggregator — walks `calendar-source` providers and stamps
|
|
185
|
+
* cluster-stable ids (`<providerAddonId>:<localId>`).
|
|
186
|
+
*/
|
|
187
|
+
var PER_SOURCE_TIMEOUT_MS = 2500;
|
|
188
|
+
var HA_ADDON_ID = "provider-homeassistant";
|
|
189
|
+
function stampId(providerAddonId, localId) {
|
|
190
|
+
return `${providerAddonId}:${localId}`;
|
|
191
|
+
}
|
|
192
|
+
function localIdOf(stamped, providerAddonId) {
|
|
193
|
+
const prefix = `${providerAddonId}:`;
|
|
194
|
+
if (!stamped.startsWith(prefix)) return null;
|
|
195
|
+
return stamped.slice(prefix.length);
|
|
196
|
+
}
|
|
197
|
+
var CalendarsAddon = class extends BaseAddon {
|
|
198
|
+
id = "calendars";
|
|
199
|
+
constructor() {
|
|
200
|
+
super({});
|
|
201
|
+
}
|
|
202
|
+
async onInitialize() {
|
|
203
|
+
const provider = {
|
|
204
|
+
listCalendars: async () => this.listCalendars(),
|
|
205
|
+
listEvents: async (input) => this.listEvents(input),
|
|
206
|
+
importFromHomeAssistant: async () => this.importFromHomeAssistant()
|
|
207
|
+
};
|
|
208
|
+
this.ctx.logger.info("Initialized — aggregating calendar-source providers");
|
|
209
|
+
return [{
|
|
210
|
+
capability: calendarsCapability,
|
|
211
|
+
provider
|
|
212
|
+
}];
|
|
213
|
+
}
|
|
214
|
+
sources() {
|
|
215
|
+
return (this.capabilities?.getCollectionEntries("calendar-source") ?? []).map(([id, provider]) => ({
|
|
216
|
+
id,
|
|
217
|
+
provider
|
|
218
|
+
}));
|
|
219
|
+
}
|
|
220
|
+
async listCalendars() {
|
|
221
|
+
const settled = await settleSourcesWithTimeout(this.sources().map((s) => [s.id, async () => {
|
|
222
|
+
return (await s.provider.listCalendars()).map((cal) => ({
|
|
223
|
+
...cal,
|
|
224
|
+
id: stampId(s.id, cal.id),
|
|
225
|
+
providerAddonId: s.id
|
|
226
|
+
}));
|
|
227
|
+
}]), PER_SOURCE_TIMEOUT_MS);
|
|
228
|
+
const out = [];
|
|
229
|
+
for (const [sourceId, result] of settled) if (result.ok) for (const entry of result.value) out.push(entry);
|
|
230
|
+
else this.ctx.logger.warn("calendar-source provider failed", { meta: {
|
|
231
|
+
sourceId,
|
|
232
|
+
error: result.error.message
|
|
233
|
+
} });
|
|
234
|
+
return out;
|
|
235
|
+
}
|
|
236
|
+
async listEvents(input) {
|
|
237
|
+
const sources = this.sources();
|
|
238
|
+
const wanted = input.calendarIds !== void 0 ? new Set(input.calendarIds) : null;
|
|
239
|
+
const settled = await settleSourcesWithTimeout(sources.map((s) => {
|
|
240
|
+
const localIds = wanted === null ? void 0 : [...wanted].map((id) => localIdOf(id, s.id)).filter((id) => id !== null);
|
|
241
|
+
return [s.id, async () => {
|
|
242
|
+
if (wanted !== null && localIds !== void 0 && localIds.length === 0) return [];
|
|
243
|
+
return (await s.provider.listEvents({
|
|
244
|
+
startMs: input.startMs,
|
|
245
|
+
endMs: input.endMs,
|
|
246
|
+
...localIds !== void 0 ? { calendarIds: [...localIds] } : {}
|
|
247
|
+
})).map((ev) => ({
|
|
248
|
+
...ev,
|
|
249
|
+
calendarId: stampId(s.id, ev.calendarId),
|
|
250
|
+
id: stampId(s.id, ev.id)
|
|
251
|
+
}));
|
|
252
|
+
}];
|
|
253
|
+
}), PER_SOURCE_TIMEOUT_MS);
|
|
254
|
+
const out = [];
|
|
255
|
+
for (const [sourceId, result] of settled) if (result.ok) for (const ev of result.value) out.push(ev);
|
|
256
|
+
else this.ctx.logger.warn("calendar-source listEvents failed", { meta: {
|
|
257
|
+
sourceId,
|
|
258
|
+
error: result.error.message
|
|
259
|
+
} });
|
|
260
|
+
return out.toSorted((a, b) => a.startMs - b.startMs);
|
|
261
|
+
}
|
|
262
|
+
async importFromHomeAssistant() {
|
|
263
|
+
const ha = this.sources().find((s) => s.id === HA_ADDON_ID || s.id.includes("homeassistant"));
|
|
264
|
+
if (ha === void 0) return {
|
|
265
|
+
imported: 0,
|
|
266
|
+
error: "No Home Assistant calendar-source provider is registered"
|
|
267
|
+
};
|
|
268
|
+
try {
|
|
269
|
+
return {
|
|
270
|
+
imported: (await ha.provider.listCalendars()).length,
|
|
271
|
+
providerAddonId: ha.id
|
|
272
|
+
};
|
|
273
|
+
} catch (err) {
|
|
274
|
+
return {
|
|
275
|
+
imported: 0,
|
|
276
|
+
providerAddonId: ha.id,
|
|
277
|
+
error: errMsg$1(err)
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
};
|
|
282
|
+
//#endregion
|
|
181
283
|
//#region src/events/event-bus.ts
|
|
182
284
|
var EventBus = class {
|
|
183
285
|
listeners = /* @__PURE__ */ new Map();
|
|
@@ -96428,4 +96530,4 @@ var LifecycleJobEngine = class {
|
|
|
96428
96530
|
}
|
|
96429
96531
|
};
|
|
96430
96532
|
//#endregion
|
|
96431
|
-
export { AGENT_CAP_FWD_ACTION, AGENT_CAP_FWD_SERVICE, AGENT_READINESS_SERVICE_NAME, ALL_CAPABILITY_DEFINITIONS, ARRAY_BUFFER_CENSUS_COOLDOWN_MS, ARRAY_BUFFER_CENSUS_SUSTAIN_MS, ARRAY_BUFFER_CENSUS_THRESHOLD_MB, ARRAY_BUFFER_RELEASE_MIN_DROP_RATIO, AddonApiFactory, AddonDepsManager, AddonEngineManager, AddonHealthMonitor, AddonInstaller, AddonLoader, AddonManifest, AddonRouteRegistry, AlertCenterAddon, ApiKeyManager, AuthManager, CAP_ACTION_OVERFLOW_LABEL, CAP_ACTION_UNLABELLED, CAP_METHOD_NOT_IMPLEMENTED, CA_COMMON_NAME, CA_VALIDITY_DAYS, CLUSTER_SECRET_MISMATCH_TYPE, CLUSTER_SECRET_REJECTED_EXIT_CODE, CORE_CAP_SERVICE_NAME, CapRouteError, CapRouteResolver, CapUsageRegistry, CapabilityHandle, CapabilityRegistry, CapabilityUnavailableError, ComposerAddon, ConfigManager, ConfigStore, ConsoleDestination, ConsoleLoggingAddon, CoreBlocksAddon, CustomActionRegistry, DECISIVE_HEAP_SPACES, DEFAULT_DATA_PATH, DEFAULT_LAN_HTTP_PORT, DEFAULT_LOG_LEVEL, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DataPlaneRegistry, DeviceManagerAddon, DeviceRegistry, DeviceStore, EMPTY_CAP_ACTION_READING, EMPTY_SOCKET_DIRECTION, EMPTY_SOCKET_PLANE_BASELINE, EVENT_PLANE_TOP_N, EVENT_TOPIC_PREFIX, EngineManagerResolver, EventBus, FeatureManager, FilesystemStorageAddon, FilesystemStorageProvider, FrameDecoder, FsStorageBackend, GET_STATUS_METHOD, HEALTH_MONITOR_GRACE_PERIOD_MS, HEALTH_MONITOR_RETRY_INTERVALS_MS, HEALTH_MONITOR_TICK_MS, HEAP_RECLAIM_MIN_INTERVAL_MS, HEAP_RECLAIM_STEADY_STATE_INTERVAL_MS, HEAP_RECLAIM_TRIGGER_MB, HEAP_SPACE_REPORT_MIN_MB, HEAP_WATCH_INTERVAL_MS, HEAP_WATCH_WARN_RATIO, HUB_CAP_FWD_ACTION, HUB_CAP_FWD_SERVICE, HUB_MAIN_HEAP_WATCH_LABEL, HUB_MAIN_RSS_BUDGET_MB, HUB_RSS_BUDGET_ENV, HubForwarderAddon, HubForwarderDestination, HubLogForwarder, HubNodeRegistry, INFRA_CAPABILITIES, IntegrationRegistry, JobJournal, LEAF_RENEWAL_WINDOW_DAYS, LifecycleJobEngine, LifecycleStateMachine, LivenessMonitorAddon, LocalAuthAddon, LocalChildClient, LocalChildRegistry, LogManager, LogRingBuffer, LoggingGate, LokiDestination, LokiLoggingAddon, MAX_CAP_ACTIONS_PER_PEER, MAX_LEAF_VALIDITY_DAYS, MESH_QUEUE_TOP_N, METHOD_ACCESS_MAP, ModelDownloadService, NATIVE_PROVIDER_SERVICE_INFIX, NATIVE_SCAN_DEPTH, NativeMetricsAddon, NativeMetricsProvider, NetworkQualityTracker, NotificationService, OUTBOUND_QUEUE_COOLDOWN_MS, OUTBOUND_QUEUE_SUSTAIN_MS, OUTBOUND_QUEUE_THRESHOLD_BYTES, PARENT_ROUTED_PROVIDER_ADDON_ID, PYTHON_VERSION, PeerAnsweredError, PipelineRunner, PipelineValidator, PythonEnvManager, QUARANTINE_DIRNAME, RESTART_MARKER_FILE, RSS_BUDGET_REANNOUNCE_MIN_MS, RSS_BUDGET_RELEASE_RATIO, RUNNER_HEAP_WATCH_INTERVAL_MS, RUNNER_RSS_BUDGET_ENV, RUNTIME_DEFAULTS, ReadinessRegistry, ReadinessTimeoutError, ReplEngine, RingBuffer, SERVER_AUTH_OID, SOCKET_PLANE_TOP_N, SOCKET_QUEUE_TOP_N, STALL_REPORT_MS, STALL_TICK_MS, STORE_READABLE_BOOTSTRAP_KEYS, ScopedLogger, ScopedTokenManager, SettingsReadUnavailableError, SocketChannel, SqliteSettingsAddon, SqliteSettingsBackend, StagingArea, StorageLocationManager, StorageManager, StorageOrchestratorAddon, StorageOrchestratorService, SystemConfigAddon, SystemEventBus, TRADITIONAL_NATIVE_PACKAGES, ToastService, UDS_NO_ROUTE_PREFIX, UNCLAIMED, UdsLocalTransportClient, UdsLocalTransportServer, UserManager, WinstonDestination, WinstonLoggingAddon, ZERO_LOOP_DELAY, __resetCapUsageRegistryForTests, __resetLoggingGateForTests, adaptBrokerToCluster, addonSettingsCapability, afterWorkerOnlineAnnounce, allFamiliesListenHost, answerClaimedGetStatus, applyLanHttp, attributeStall, bindPendingLanHttp, bootstrapSchema, brokerCallForCap, brokerTransportLink, buildBinaryPath, buildCapRouters, buildHeapSample, buildLinkChain, buildNativeCapProxy, buildNodeManifest, buildNpmChildEnv, buildStorageLocationRegistry, builderMountedCapNames, callRegisterNodeWithRetry, callWithServiceDiscovery, canServeDataPlane, capActionLabel, capActionName, capActionSuffix, capBareAction, capServiceName, classifyAddonDir, classifyCapRoute, clearPendingRestart, closeLanHttp, clusterEventTopic, clusterSecretMatches, collectCertIdentity, collectModelFiles, contentTypeFor, copyDirRecursive, copyExtraFileDirs, createAddonContext, createAddonDataPlaneFacility, createAddonPeerBytesFacility, createAddonService, createArrayBufferCensusGate, createAuthenticatedFileServer, createBroker, createBrokerDeviceManagerApi, createCapActionCensus, createCoreCapService, createDeferredHeapWatchSink, createDoorSettingsView, createEventPlaneMeter, createEventPlaneReader, createFileDataPlaneHandler, createHubCapForwardService, createHubService, createInspectorArrayBufferCensus, createKernelHwAccel, createLocalTransport, createLoopDelayMeter, createMeshQueueReader, createOutboundQueueGate, createParentUnownedCallHandler, createProcessService, createReadinessService, createReadinessServiceForRegistry, createScopedProcessManager, createSocketDirectionCounters, createSocketPlaneMeter, createSocketPlaneReader, createStreamProbeBrokerService, createUdsAddonContext, createUdsEventBridge, createUdsEventBus, createUdsLogger, createUdsLoggerWithControl, createV8Reclaimer, deleteModelFromDisk, deriveAgentListenPort, describeProviderKindDrift, describeRss, detectWorkspacePackagesDir, deviceCapResolverLink, deviceOfGetStatus, diffCapActionCensus, diffEventPlane, diffSocketPlane, downloadBinary, downloadFile, downloadModel, emitDownForOwnedCaps, emitHeapDiagnosticReport, encodeFrame, ensureAddonNativePrebuilds, ensureBinary, ensureDir, ensureFfmpeg, ensureLibraryBuilt, ensureModel, ensureNativePrebuilds, ensurePython, ensureTlsCert, evaluateExistingCert, expandCapMethods, fetchJson, findInPath, formatArrayBufferCensus, formatEventPlane, formatHeapSpaces, formatLogLine, formatMeshQueue, formatOutboundQueueVerdict, formatSocketPlane, getBrokerEventBus, getCapUsageRegistry, getFfmpegDownloadUrl, getLoggingGate, getModelFilePath, getMoleculerEventStats, getOrInitReadinessRegistry, getOrInitReadinessRegistryForClient, getPidStats, getPlatformInfo, getPythonDownloadUrl, getRestartMarkerPath, getSinglePidStats, getWorkerDeviceRegistry, hasDotNode, hashClusterSecret, heapSpaceField, hostNodeIdOf, hubMainRssBudget, installManifestNativeDeps, installManifestPythonDeps, installManifestSystemDeps, installPackageFromNpm, installPythonPackages, installPythonRequirements, ipcParentLink, isAddonDeploySource, isArrayBufferCensusReport, isArrayOutputSchema, isClusterSecretMismatchError, isCollectionArrayMethod, isInfraCapability, isModelDownloaded, isSettingsReadUnavailable, isSourceNewer, isolatedBuiltinPhase, loadTlsCert, localEndpointPath, localProviderLink, mountNativeCapService, nextRssBudgetState, overlayGetStatus, parseCapAction, parseRangeHeader, parseRssBudgetMb, parseTokenizedUrl, partitionIsolatedBuiltinIds, proxyToUpstream, quarantineAddonResidue, readExtraSans, readHeapSpaces, readLanHttpState, readMoleculerFanoutMode, readPendingRestart, readSocketQueues, readTlsAccessStatus, readTlsMode, readinessKey, reclaimIntervalMs, recordSocketFrame, registerEventBusService, registerLanHttpHandler, reissueTlsLeaf, resolveFilePath, resolveHwAccel, resolveNpmInvocation, runHubAddonBoot, runNpm, sampleSocketDirection, scheduleSelfRestart, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, selectAddonResidue, selectReportedSpaces, serializeTypedArrays, setHubConnected, setNodeEventInterest, setWrapperActive, shouldReclaim, signalAllRunnerGroups, socketDirectionBytes, socketDirectionMessages, startEventLoopStallMonitor, startHeapWatch, startRunnerHeapWatch, storeMayAnswer, strandedMb, stripCamstackDeps, subscribePassthrough, udsChildLogToWorkerEntry, validateProviderRegistrations, validateUploadedTls, waitUntilReady, writeExtraSans, writePendingRestart, writeTlsMode };
|
|
96533
|
+
export { AGENT_CAP_FWD_ACTION, AGENT_CAP_FWD_SERVICE, AGENT_READINESS_SERVICE_NAME, ALL_CAPABILITY_DEFINITIONS, ARRAY_BUFFER_CENSUS_COOLDOWN_MS, ARRAY_BUFFER_CENSUS_SUSTAIN_MS, ARRAY_BUFFER_CENSUS_THRESHOLD_MB, ARRAY_BUFFER_RELEASE_MIN_DROP_RATIO, AddonApiFactory, AddonDepsManager, AddonEngineManager, AddonHealthMonitor, AddonInstaller, AddonLoader, AddonManifest, AddonRouteRegistry, AlertCenterAddon, ApiKeyManager, AuthManager, CAP_ACTION_OVERFLOW_LABEL, CAP_ACTION_UNLABELLED, CAP_METHOD_NOT_IMPLEMENTED, CA_COMMON_NAME, CA_VALIDITY_DAYS, CLUSTER_SECRET_MISMATCH_TYPE, CLUSTER_SECRET_REJECTED_EXIT_CODE, CORE_CAP_SERVICE_NAME, CalendarsAddon, CapRouteError, CapRouteResolver, CapUsageRegistry, CapabilityHandle, CapabilityRegistry, CapabilityUnavailableError, ComposerAddon, ConfigManager, ConfigStore, ConsoleDestination, ConsoleLoggingAddon, CoreBlocksAddon, CustomActionRegistry, DECISIVE_HEAP_SPACES, DEFAULT_DATA_PATH, DEFAULT_LAN_HTTP_PORT, DEFAULT_LOG_LEVEL, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DataPlaneRegistry, DeviceManagerAddon, DeviceRegistry, DeviceStore, EMPTY_CAP_ACTION_READING, EMPTY_SOCKET_DIRECTION, EMPTY_SOCKET_PLANE_BASELINE, EVENT_PLANE_TOP_N, EVENT_TOPIC_PREFIX, EngineManagerResolver, EventBus, FeatureManager, FilesystemStorageAddon, FilesystemStorageProvider, FrameDecoder, FsStorageBackend, GET_STATUS_METHOD, HEALTH_MONITOR_GRACE_PERIOD_MS, HEALTH_MONITOR_RETRY_INTERVALS_MS, HEALTH_MONITOR_TICK_MS, HEAP_RECLAIM_MIN_INTERVAL_MS, HEAP_RECLAIM_STEADY_STATE_INTERVAL_MS, HEAP_RECLAIM_TRIGGER_MB, HEAP_SPACE_REPORT_MIN_MB, HEAP_WATCH_INTERVAL_MS, HEAP_WATCH_WARN_RATIO, HUB_CAP_FWD_ACTION, HUB_CAP_FWD_SERVICE, HUB_MAIN_HEAP_WATCH_LABEL, HUB_MAIN_RSS_BUDGET_MB, HUB_RSS_BUDGET_ENV, HubForwarderAddon, HubForwarderDestination, HubLogForwarder, HubNodeRegistry, INFRA_CAPABILITIES, IntegrationRegistry, JobJournal, LEAF_RENEWAL_WINDOW_DAYS, LifecycleJobEngine, LifecycleStateMachine, LivenessMonitorAddon, LocalAuthAddon, LocalChildClient, LocalChildRegistry, LogManager, LogRingBuffer, LoggingGate, LokiDestination, LokiLoggingAddon, MAX_CAP_ACTIONS_PER_PEER, MAX_LEAF_VALIDITY_DAYS, MESH_QUEUE_TOP_N, METHOD_ACCESS_MAP, ModelDownloadService, NATIVE_PROVIDER_SERVICE_INFIX, NATIVE_SCAN_DEPTH, NativeMetricsAddon, NativeMetricsProvider, NetworkQualityTracker, NotificationService, OUTBOUND_QUEUE_COOLDOWN_MS, OUTBOUND_QUEUE_SUSTAIN_MS, OUTBOUND_QUEUE_THRESHOLD_BYTES, PARENT_ROUTED_PROVIDER_ADDON_ID, PYTHON_VERSION, PeerAnsweredError, PipelineRunner, PipelineValidator, PythonEnvManager, QUARANTINE_DIRNAME, RESTART_MARKER_FILE, RSS_BUDGET_REANNOUNCE_MIN_MS, RSS_BUDGET_RELEASE_RATIO, RUNNER_HEAP_WATCH_INTERVAL_MS, RUNNER_RSS_BUDGET_ENV, RUNTIME_DEFAULTS, ReadinessRegistry, ReadinessTimeoutError, ReplEngine, RingBuffer, SERVER_AUTH_OID, SOCKET_PLANE_TOP_N, SOCKET_QUEUE_TOP_N, STALL_REPORT_MS, STALL_TICK_MS, STORE_READABLE_BOOTSTRAP_KEYS, ScopedLogger, ScopedTokenManager, SettingsReadUnavailableError, SocketChannel, SqliteSettingsAddon, SqliteSettingsBackend, StagingArea, StorageLocationManager, StorageManager, StorageOrchestratorAddon, StorageOrchestratorService, SystemConfigAddon, SystemEventBus, TRADITIONAL_NATIVE_PACKAGES, ToastService, UDS_NO_ROUTE_PREFIX, UNCLAIMED, UdsLocalTransportClient, UdsLocalTransportServer, UserManager, WinstonDestination, WinstonLoggingAddon, ZERO_LOOP_DELAY, __resetCapUsageRegistryForTests, __resetLoggingGateForTests, adaptBrokerToCluster, addonSettingsCapability, afterWorkerOnlineAnnounce, allFamiliesListenHost, answerClaimedGetStatus, applyLanHttp, attributeStall, bindPendingLanHttp, bootstrapSchema, brokerCallForCap, brokerTransportLink, buildBinaryPath, buildCapRouters, buildHeapSample, buildLinkChain, buildNativeCapProxy, buildNodeManifest, buildNpmChildEnv, buildStorageLocationRegistry, builderMountedCapNames, callRegisterNodeWithRetry, callWithServiceDiscovery, canServeDataPlane, capActionLabel, capActionName, capActionSuffix, capBareAction, capServiceName, classifyAddonDir, classifyCapRoute, clearPendingRestart, closeLanHttp, clusterEventTopic, clusterSecretMatches, collectCertIdentity, collectModelFiles, contentTypeFor, copyDirRecursive, copyExtraFileDirs, createAddonContext, createAddonDataPlaneFacility, createAddonPeerBytesFacility, createAddonService, createArrayBufferCensusGate, createAuthenticatedFileServer, createBroker, createBrokerDeviceManagerApi, createCapActionCensus, createCoreCapService, createDeferredHeapWatchSink, createDoorSettingsView, createEventPlaneMeter, createEventPlaneReader, createFileDataPlaneHandler, createHubCapForwardService, createHubService, createInspectorArrayBufferCensus, createKernelHwAccel, createLocalTransport, createLoopDelayMeter, createMeshQueueReader, createOutboundQueueGate, createParentUnownedCallHandler, createProcessService, createReadinessService, createReadinessServiceForRegistry, createScopedProcessManager, createSocketDirectionCounters, createSocketPlaneMeter, createSocketPlaneReader, createStreamProbeBrokerService, createUdsAddonContext, createUdsEventBridge, createUdsEventBus, createUdsLogger, createUdsLoggerWithControl, createV8Reclaimer, deleteModelFromDisk, deriveAgentListenPort, describeProviderKindDrift, describeRss, detectWorkspacePackagesDir, deviceCapResolverLink, deviceOfGetStatus, diffCapActionCensus, diffEventPlane, diffSocketPlane, downloadBinary, downloadFile, downloadModel, emitDownForOwnedCaps, emitHeapDiagnosticReport, encodeFrame, ensureAddonNativePrebuilds, ensureBinary, ensureDir, ensureFfmpeg, ensureLibraryBuilt, ensureModel, ensureNativePrebuilds, ensurePython, ensureTlsCert, evaluateExistingCert, expandCapMethods, fetchJson, findInPath, formatArrayBufferCensus, formatEventPlane, formatHeapSpaces, formatLogLine, formatMeshQueue, formatOutboundQueueVerdict, formatSocketPlane, getBrokerEventBus, getCapUsageRegistry, getFfmpegDownloadUrl, getLoggingGate, getModelFilePath, getMoleculerEventStats, getOrInitReadinessRegistry, getOrInitReadinessRegistryForClient, getPidStats, getPlatformInfo, getPythonDownloadUrl, getRestartMarkerPath, getSinglePidStats, getWorkerDeviceRegistry, hasDotNode, hashClusterSecret, heapSpaceField, hostNodeIdOf, hubMainRssBudget, installManifestNativeDeps, installManifestPythonDeps, installManifestSystemDeps, installPackageFromNpm, installPythonPackages, installPythonRequirements, ipcParentLink, isAddonDeploySource, isArrayBufferCensusReport, isArrayOutputSchema, isClusterSecretMismatchError, isCollectionArrayMethod, isInfraCapability, isModelDownloaded, isSettingsReadUnavailable, isSourceNewer, isolatedBuiltinPhase, loadTlsCert, localEndpointPath, localProviderLink, mountNativeCapService, nextRssBudgetState, overlayGetStatus, parseCapAction, parseRangeHeader, parseRssBudgetMb, parseTokenizedUrl, partitionIsolatedBuiltinIds, proxyToUpstream, quarantineAddonResidue, readExtraSans, readHeapSpaces, readLanHttpState, readMoleculerFanoutMode, readPendingRestart, readSocketQueues, readTlsAccessStatus, readTlsMode, readinessKey, reclaimIntervalMs, recordSocketFrame, registerEventBusService, registerLanHttpHandler, reissueTlsLeaf, resolveFilePath, resolveHwAccel, resolveNpmInvocation, runHubAddonBoot, runNpm, sampleSocketDirection, scheduleSelfRestart, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, selectAddonResidue, selectReportedSpaces, serializeTypedArrays, setHubConnected, setNodeEventInterest, setWrapperActive, shouldReclaim, signalAllRunnerGroups, socketDirectionBytes, socketDirectionMessages, startEventLoopStallMonitor, startHeapWatch, startRunnerHeapWatch, storeMayAnswer, strandedMb, stripCamstackDeps, subscribePassthrough, udsChildLogToWorkerEntry, validateProviderRegistrations, validateUploadedTls, waitUntilReady, writeExtraSans, writePendingRestart, writeTlsMode };
|