@camstack/system 1.2.69 → 1.2.71
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 +6 -6
- package/dist/addon-runner.mjs +3 -3
- package/dist/addon-utils.js +11 -11
- package/dist/addon-utils.mjs +1 -1
- package/dist/auth/auth-manager.d.ts +13 -29
- package/dist/auth/scope-matcher.d.ts +6 -5
- package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +3 -3
- package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +2 -2
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +3 -3
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +2 -2
- package/dist/builtins/alerts/alerts.addon.js +1 -1
- package/dist/builtins/alerts/alerts.addon.mjs +1 -1
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +8 -8
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +6 -6
- 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 +3 -3
- 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/doorbell/virtual-doorbell.addon.js +1 -1
- package/dist/builtins/doorbell/virtual-doorbell.addon.mjs +1 -1
- 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/index.d.ts +0 -1
- package/dist/builtins/local-auth/index.js +0 -1
- package/dist/builtins/local-auth/index.mjs +2 -2
- package/dist/builtins/local-auth/local-auth.addon.js +4878 -4883
- package/dist/builtins/local-auth/local-auth.addon.mjs +4879 -4883
- package/dist/builtins/local-auth/oauth-grants.d.ts +15 -0
- 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 +5 -5
- package/dist/builtins/native-metrics/native-metrics.addon.mjs +4 -4
- package/dist/builtins/platform-probe/index.js +4 -4
- package/dist/builtins/platform-probe/index.mjs +3 -3
- 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 +2 -2
- package/dist/builtins/snapshot/index.mjs +2 -2
- package/dist/builtins/sqlite-storage/filesystem-storage.addon.js +4 -4
- package/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +3 -3
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.js +1 -1
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +1 -1
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +3 -3
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +2 -2
- 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/{dist-C-QzFJ8v.mjs → dist-Daxx9CB0.mjs} +139 -5
- package/dist/{dist-D7wC-S4p.js → dist-I0WgqQQ-.js} +150 -10
- package/dist/{model-download-service-CTBHzORJ.mjs → file-data-plane-CuE_hBli.mjs} +848 -848
- package/dist/index.d.ts +73 -81
- package/dist/index.js +1302 -1278
- package/dist/index.mjs +1283 -1259
- package/dist/kernel/capability-registry.d.ts +26 -0
- package/dist/kernel/config-schema.d.ts +1 -1
- package/dist/kernel/transport/parent-unowned-call.d.ts +27 -0
- package/dist/{manifest-python-deps-Dz1ryHIN.mjs → manifest-python-deps-BdWxKNvu.mjs} +49 -47
- package/dist/{manifest-python-deps-BE6l8Y4W.js → manifest-python-deps-BqIpg0C7.js} +49 -47
- package/package.json +1 -4
- package/dist/builtins/local-auth/homeassistant-integration.d.ts +0 -7
- package/dist/{model-download-service-Caj1kaSi.js → file-data-plane-DUHPHa-Y.js} +847 -847
- package/dist/{resource-monitor-BkP504Vq.mjs → resource-monitor-BWmQ5i-o.mjs} +1 -1
- package/dist/{resource-monitor-DNNomR-i.js → resource-monitor-CdnzxBLP.js} +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,95 +1,87 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export type { HeapSample, HeapWatchSink, HeapReclaimer, HeapReclaimOptions, } from './kernel/heap-watch.js';
|
|
3
|
-
export { ensureBinary, downloadBinary, findInPath, getPlatformInfo, buildBinaryPath, ensureFfmpeg, getFfmpegDownloadUrl, ensurePython, installPythonPackages, installPythonRequirements, getPythonDownloadUrl, PYTHON_VERSION, } from '@camstack/types/node';
|
|
1
|
+
export { ALL_CAPABILITY_DEFINITIONS, addonSettingsCapability, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, expandCapMethods, isArrayOutputSchema, isCollectionArrayMethod, METHOD_ACCESS_MAP, } from '@camstack/types';
|
|
4
2
|
export type { PlatformInfo } from '@camstack/types/node';
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export
|
|
9
|
-
export {
|
|
10
|
-
export
|
|
11
|
-
export {
|
|
12
|
-
export
|
|
13
|
-
export {
|
|
14
|
-
export
|
|
15
|
-
export {
|
|
16
|
-
export
|
|
17
|
-
export { downloadModel, downloadFile, fetchJson, ensureModel, getModelFilePath, isModelDownloaded, deleteModelFromDisk, collectModelFiles, } from './download/model-downloader.js';
|
|
18
|
-
export type { DownloadProgressCallback } from './download/model-downloader.js';
|
|
19
|
-
export { ModelDownloadService } from './download/model-download-service.js';
|
|
20
|
-
export { PythonEnvManager } from './python/python-env-manager.js';
|
|
21
|
-
export type { ValidationIssue, ValidationResult } from './pipeline/pipeline-validator.js';
|
|
22
|
-
export { PipelineValidator } from './pipeline/pipeline-validator.js';
|
|
23
|
-
export { PipelineRunner } from './pipeline/pipeline-runner.js';
|
|
24
|
-
export { EngineManagerResolver } from './pipeline/engine-manager-resolver.js';
|
|
25
|
-
export { getSinglePidStats, getPidStats } from './process/resource-monitor.js';
|
|
26
|
-
export type { PidStats } from './process/resource-monitor.js';
|
|
27
|
-
export { NetworkQualityTracker } from './network/network-quality.js';
|
|
28
|
-
export type { StreamNetworkStats, ClientNetworkStats, DeviceNetworkStats, INetworkQualityTracker, } from './network/network-quality.js';
|
|
29
|
-
export { ReplEngine } from './repl/repl-engine.js';
|
|
30
|
-
export type { ReplScope, ReplSessionContext, ReplResult, IReplEngine, IReplContextProvider, } from './repl/interfaces.js';
|
|
31
|
-
export { FilesystemStorageProvider } from './builtins/sqlite-storage/index.js';
|
|
32
|
-
export { FilesystemStorageAddon } from './builtins/sqlite-storage/index.js';
|
|
33
|
-
export { SqliteSettingsBackend } from './builtins/sqlite-storage/index.js';
|
|
34
|
-
export { SqliteSettingsAddon } from './builtins/sqlite-storage/index.js';
|
|
35
|
-
export { DeviceStore } from './builtins/sqlite-storage/index.js';
|
|
36
|
-
export type { DeviceRow } from './builtins/sqlite-storage/index.js';
|
|
37
|
-
export { ConfigStore } from './builtins/sqlite-storage/index.js';
|
|
38
|
-
export { WinstonLoggingAddon } from './builtins/winston-logging/index.js';
|
|
39
|
-
export { WinstonDestination } from './builtins/winston-logging/index.js';
|
|
40
|
-
export { ConsoleLoggingAddon } from './builtins/console-logging/index.js';
|
|
41
|
-
export { ConsoleDestination } from './builtins/console-logging/index.js';
|
|
42
|
-
export { LokiLoggingAddon, LokiDestination } from './builtins/loki-logging/index.js';
|
|
43
|
-
export type { LokiConfig, LokiStatus } from './builtins/loki-logging/index.js';
|
|
44
|
-
export { HubForwarderAddon } from './builtins/hub-forwarder/index.js';
|
|
45
|
-
export { HubForwarderDestination } from './builtins/hub-forwarder/index.js';
|
|
46
|
-
export { StorageOrchestratorAddon, StorageOrchestratorService, } from './builtins/storage-orchestrator/index.js';
|
|
47
|
-
export type { ListLocationsFilter, StorageProviderLookup, } from './builtins/storage-orchestrator/index.js';
|
|
48
|
-
export { default as NativeMetricsAddon } from './builtins/native-metrics/native-metrics.addon.js';
|
|
3
|
+
export { buildBinaryPath, downloadBinary, ensureBinary, ensureFfmpeg, ensurePython, findInPath, getFfmpegDownloadUrl, getPlatformInfo, getPythonDownloadUrl, installPythonPackages, installPythonRequirements, PYTHON_VERSION, } from '@camstack/types/node';
|
|
4
|
+
export type { DirectCallerOptions } from './addon/addon-api-factory.js';
|
|
5
|
+
export { AddonApiFactory } from './addon/addon-api-factory.js';
|
|
6
|
+
export { AddonRouteRegistry } from './addon-routes/addon-route-registry.js';
|
|
7
|
+
export type { ApiKeyRecord, ApiKeyStorageAccess } from './auth/api-key-manager.js';
|
|
8
|
+
export { ApiKeyManager } from './auth/api-key-manager.js';
|
|
9
|
+
export type { AuthConfigReader, TokenPayload } from './auth/auth-manager.js';
|
|
10
|
+
export { AuthManager } from './auth/auth-manager.js';
|
|
11
|
+
export { scopesAllowAddon, scopesAllowDeviceCap } from './auth/scope-matcher.js';
|
|
12
|
+
export { ScopedTokenManager } from './auth/scoped-token-manager.js';
|
|
13
|
+
export type { UserConfigReader, UserRecord, UserStorageAccess } from './auth/user-manager.js';
|
|
14
|
+
export { UserManager } from './auth/user-manager.js';
|
|
49
15
|
export { AlertCenterAddon } from './builtins/alerts/index.js';
|
|
16
|
+
export { ConsoleDestination, ConsoleLoggingAddon } from './builtins/console-logging/index.js';
|
|
17
|
+
export { CoreBlocksAddon } from './builtins/core-blocks/index.js';
|
|
18
|
+
export { DeviceManagerAddon } from './builtins/device-manager/index.js';
|
|
19
|
+
export { HubForwarderAddon, HubForwarderDestination } from './builtins/hub-forwarder/index.js';
|
|
50
20
|
export { LivenessMonitorAddon } from './builtins/liveness-monitor/index.js';
|
|
21
|
+
export { LocalAuthAddon } from './builtins/local-auth/index.js';
|
|
22
|
+
export type { LokiConfig, LokiStatus } from './builtins/loki-logging/index.js';
|
|
23
|
+
export { LokiDestination, LokiLoggingAddon } from './builtins/loki-logging/index.js';
|
|
24
|
+
export { default as NativeMetricsAddon } from './builtins/native-metrics/native-metrics.addon.js';
|
|
51
25
|
export { NativeMetricsProvider } from './builtins/native-metrics/native-metrics-provider.js';
|
|
26
|
+
export type { DeviceRow } from './builtins/sqlite-storage/index.js';
|
|
27
|
+
export { ConfigStore, DeviceStore, FilesystemStorageAddon, FilesystemStorageProvider, SqliteSettingsAddon, SqliteSettingsBackend, } from './builtins/sqlite-storage/index.js';
|
|
28
|
+
export type { ListLocationsFilter, StorageProviderLookup, } from './builtins/storage-orchestrator/index.js';
|
|
29
|
+
export { StorageOrchestratorAddon, StorageOrchestratorService, } from './builtins/storage-orchestrator/index.js';
|
|
52
30
|
export { SystemConfigAddon } from './builtins/system-config/index.js';
|
|
53
|
-
export {
|
|
54
|
-
export {
|
|
55
|
-
export {
|
|
56
|
-
export {
|
|
57
|
-
export
|
|
58
|
-
export {
|
|
59
|
-
export type { FeatureManifest, FeatureFlag, FeatureConfigReader, } from './feature/feature-manager.js';
|
|
31
|
+
export { WinstonDestination, WinstonLoggingAddon } from './builtins/winston-logging/index.js';
|
|
32
|
+
export { ModelDownloadService } from './download/model-download-service.js';
|
|
33
|
+
export type { DownloadProgressCallback } from './download/model-downloader.js';
|
|
34
|
+
export { collectModelFiles, deleteModelFromDisk, downloadFile, downloadModel, ensureModel, fetchJson, getModelFilePath, isModelDownloaded, } from './download/model-downloader.js';
|
|
35
|
+
export { EventBus } from './events/event-bus.js';
|
|
36
|
+
export type { EventFilter, EventSource, SystemEvent, } from './events/system-event-bus.js';
|
|
60
37
|
export { SystemEventBus } from './events/system-event-bus.js';
|
|
61
|
-
export type {
|
|
62
|
-
export {
|
|
38
|
+
export type { FeatureConfigReader, FeatureFlag, FeatureManifest, } from './feature/feature-manager.js';
|
|
39
|
+
export { FeatureManager } from './feature/feature-manager.js';
|
|
40
|
+
export type { AuthenticatedFileServerOptions, ByteRange, FileResolveResult, FileServerHandle, FileServerTokenVerifier, } from './http/authenticated-file-server.js';
|
|
41
|
+
export { contentTypeFor, createAuthenticatedFileServer, parseRangeHeader, parseTokenizedUrl, resolveFilePath, } from './http/authenticated-file-server.js';
|
|
42
|
+
export type { DataPlaneMatch } from './http/data-plane-registry.js';
|
|
43
|
+
export { DataPlaneRegistry } from './http/data-plane-registry.js';
|
|
44
|
+
export type { FileDataPlaneOptions } from './http/file-data-plane.js';
|
|
45
|
+
export { createFileDataPlaneHandler } from './http/file-data-plane.js';
|
|
46
|
+
export type { ReverseProxyOptions } from './http/reverse-proxy.js';
|
|
47
|
+
export { proxyToUpstream } from './http/reverse-proxy.js';
|
|
48
|
+
export type { HeapReclaimer, HeapReclaimOptions, HeapSample, HeapWatchSink, } from './kernel/heap-watch.js';
|
|
49
|
+
export { buildHeapSample, createV8Reclaimer, HEAP_RECLAIM_MIN_INTERVAL_MS, HEAP_RECLAIM_TRIGGER_MB, HEAP_WATCH_INTERVAL_MS, HEAP_WATCH_WARN_RATIO, shouldReclaim, startHeapWatch, strandedMb, } from './kernel/heap-watch.js';
|
|
50
|
+
export type { AddonDataPlaneFacility, DataPlaneSink, } from './kernel/moleculer/addon-data-plane-facility.js';
|
|
51
|
+
export { createAddonDataPlaneFacility } from './kernel/moleculer/addon-data-plane-facility.js';
|
|
52
|
+
export type { ElementState, ElementStatus, } from './lifecycle/lifecycle-state-machine.js';
|
|
53
|
+
export { LifecycleStateMachine } from './lifecycle/lifecycle-state-machine.js';
|
|
54
|
+
export { formatLogLine } from './logging/formatter.js';
|
|
63
55
|
export type { ILogDestination } from './logging/log-manager.js';
|
|
64
|
-
export {
|
|
56
|
+
export { LogManager } from './logging/log-manager.js';
|
|
65
57
|
export type { LogEntry, LogFilter, LogLevel } from './logging/log-ring-buffer.js';
|
|
66
|
-
export {
|
|
58
|
+
export { LogRingBuffer } from './logging/log-ring-buffer.js';
|
|
67
59
|
export type { IScopedLogger } from './logging/scoped-logger.js';
|
|
68
|
-
export {
|
|
69
|
-
export {
|
|
70
|
-
export
|
|
71
|
-
export { StorageLocationManager } from './storage/storage-location-manager.js';
|
|
72
|
-
export type { StorageLocationName } from './storage/storage-location-manager.js';
|
|
73
|
-
export { FsStorageBackend } from './storage/fs-storage-backend.js';
|
|
74
|
-
export type { IStorageBackend } from './storage/fs-storage-backend.js';
|
|
75
|
-
export { AuthManager } from './auth/auth-manager.js';
|
|
76
|
-
export type { TokenPayload, AuthConfigReader } from './auth/auth-manager.js';
|
|
77
|
-
export { ApiKeyManager } from './auth/api-key-manager.js';
|
|
78
|
-
export type { ApiKeyRecord, ApiKeyStorageAccess } from './auth/api-key-manager.js';
|
|
79
|
-
export { UserManager } from './auth/user-manager.js';
|
|
80
|
-
export type { UserRecord, UserStorageAccess, UserConfigReader } from './auth/user-manager.js';
|
|
81
|
-
export { ScopedTokenManager } from './auth/scoped-token-manager.js';
|
|
82
|
-
export { scopesAllowDeviceCap } from './auth/scope-matcher.js';
|
|
83
|
-
export { NotificationService } from './notification/notification-service.js';
|
|
60
|
+
export { ScopedLogger } from './logging/scoped-logger.js';
|
|
61
|
+
export type { ClientNetworkStats, DeviceNetworkStats, INetworkQualityTracker, StreamNetworkStats, } from './network/network-quality.js';
|
|
62
|
+
export { NetworkQualityTracker } from './network/network-quality.js';
|
|
84
63
|
export type { NotificationTargetRef } from './notification/notification-service.js';
|
|
85
|
-
export {
|
|
64
|
+
export { NotificationService } from './notification/notification-service.js';
|
|
86
65
|
export type { Unsubscribe } from './notification/toast-service.js';
|
|
87
|
-
export {
|
|
66
|
+
export { ToastService } from './notification/toast-service.js';
|
|
67
|
+
export { EngineManagerResolver } from './pipeline/engine-manager-resolver.js';
|
|
68
|
+
export { PipelineRunner } from './pipeline/pipeline-runner.js';
|
|
69
|
+
export type { ValidationIssue, ValidationResult } from './pipeline/pipeline-validator.js';
|
|
70
|
+
export { PipelineValidator } from './pipeline/pipeline-validator.js';
|
|
71
|
+
export type { PidStats } from './process/resource-monitor.js';
|
|
72
|
+
export { getPidStats, getSinglePidStats } from './process/resource-monitor.js';
|
|
73
|
+
export { PythonEnvManager } from './python/python-env-manager.js';
|
|
74
|
+
export type { IReplContextProvider, IReplEngine, ReplResult, ReplScope, ReplSessionContext, } from './repl/interfaces.js';
|
|
75
|
+
export { ReplEngine } from './repl/repl-engine.js';
|
|
76
|
+
export type { IStorageBackend } from './storage/fs-storage-backend.js';
|
|
77
|
+
export { FsStorageBackend } from './storage/fs-storage-backend.js';
|
|
78
|
+
export type { StorageLocationName } from './storage/storage-location-manager.js';
|
|
79
|
+
export { StorageLocationManager } from './storage/storage-location-manager.js';
|
|
80
|
+
export type { IFileStorage, IStorageLocation, IStorageProvider as ICoreStorageProvider, IStructuredStorage, QueryFilter, StorageRecord, } from './storage/storage-manager.js';
|
|
81
|
+
export { StorageManager } from './storage/storage-manager.js';
|
|
88
82
|
export * from './tls/index.js';
|
|
89
|
-
export { AddonApiFactory } from './addon/addon-api-factory.js';
|
|
90
|
-
export type { DirectCallerOptions } from './addon/addon-api-factory.js';
|
|
91
83
|
export { IntegrationRegistry } from './builtins/sqlite-storage/integration-registry.js';
|
|
84
|
+
export { type EnsureAddonNativePrebuildsOptions, ensureAddonNativePrebuilds, type NativeEnsureOutcome, type NativeEnsureResult, } from './kernel/deps/ensure-addon-natives.js';
|
|
85
|
+
export { type EnsureNativePrebuildsOptions, ensureNativePrebuilds, hasDotNode, NATIVE_SCAN_DEPTH, type PrebuildFetchFn, type PrebuildTarget, TRADITIONAL_NATIVE_PACKAGES, } from './kernel/deps/ensure-native-prebuilds.js';
|
|
86
|
+
export { type NpmInvocation, type RunNpmOptions, resolveNpmInvocation, runNpm, } from './kernel/deps/npm-command.js';
|
|
92
87
|
export * from './kernel/index.js';
|
|
93
|
-
export { runNpm, resolveNpmInvocation, type RunNpmOptions, type NpmInvocation, } from './kernel/deps/npm-command.js';
|
|
94
|
-
export { ensureNativePrebuilds, hasDotNode, NATIVE_SCAN_DEPTH, TRADITIONAL_NATIVE_PACKAGES, type EnsureNativePrebuildsOptions, type PrebuildTarget, type PrebuildFetchFn, } from './kernel/deps/ensure-native-prebuilds.js';
|
|
95
|
-
export { ensureAddonNativePrebuilds, type EnsureAddonNativePrebuildsOptions, type NativeEnsureOutcome, type NativeEnsureResult, } from './kernel/deps/ensure-addon-natives.js';
|