@camstack/types 1.2.33 → 1.2.35
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.js +3 -2
- package/dist/addon.mjs +3 -2
- package/dist/capabilities/index.d.ts +14 -11
- package/dist/capabilities/notification-rules.cap.d.ts +135 -0
- package/dist/capabilities/vector-store.cap.d.ts +223 -0
- package/dist/device/device-control-resolution.d.ts +1 -1
- package/dist/generated/addon-api.d.ts +64 -0
- package/dist/generated/cap-input-defaults.d.ts +1 -1
- package/dist/generated/capability-router-map.d.ts +5 -2
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/index.d.ts +166 -165
- package/dist/index.js +25160 -24801
- package/dist/index.mjs +25138 -24802
- package/dist/{sleep-C1ssEDf2.mjs → sleep-BeLSE-Rr.mjs} +520 -518
- package/dist/{sleep-C84-hqFR.js → sleep-C6W2qcHX.js} +519 -517
- package/dist/utils/vector-codec.d.ts +28 -0
- package/package.json +1 -1
|
@@ -111,6 +111,7 @@ import type { userManagementCapability } from '../capabilities/user-management.c
|
|
|
111
111
|
import type { userPasskeysCapability } from '../capabilities/user-passkeys.cap.js';
|
|
112
112
|
import type { vacuumControlCapability } from '../capabilities/vacuum-control.cap.js';
|
|
113
113
|
import type { valveCapability } from '../capabilities/valve.cap.js';
|
|
114
|
+
import type { vectorStoreCapability } from '../capabilities/vector-store.cap.js';
|
|
114
115
|
import type { videoclipsCapability } from '../capabilities/videoclips.cap.js';
|
|
115
116
|
import type { viewerUiCapability } from '../capabilities/viewer-ui.cap.js';
|
|
116
117
|
import type { waterHeaterCapability } from '../capabilities/water-heater.cap.js';
|
|
@@ -4411,6 +4412,20 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
4411
4412
|
output: z.infer<typeof notificationRulesCapability.methods.cancelSnooze.output>;
|
|
4412
4413
|
meta: object;
|
|
4413
4414
|
}>;
|
|
4415
|
+
getAlarmConfig: TRPCQueryProcedure<{
|
|
4416
|
+
input: {
|
|
4417
|
+
[x: string]: unknown;
|
|
4418
|
+
} & z.input<typeof notificationRulesCapability.methods.getAlarmConfig.input>;
|
|
4419
|
+
output: z.infer<typeof notificationRulesCapability.methods.getAlarmConfig.output>;
|
|
4420
|
+
meta: object;
|
|
4421
|
+
}>;
|
|
4422
|
+
setAlarmConfig: TRPCMutationProcedure<{
|
|
4423
|
+
input: {
|
|
4424
|
+
[x: string]: unknown;
|
|
4425
|
+
} & z.input<typeof notificationRulesCapability.methods.setAlarmConfig.input>;
|
|
4426
|
+
output: z.infer<typeof notificationRulesCapability.methods.setAlarmConfig.output>;
|
|
4427
|
+
meta: object;
|
|
4428
|
+
}>;
|
|
4414
4429
|
}>>;
|
|
4415
4430
|
notifier: TRPCBuiltRouter<{
|
|
4416
4431
|
ctx: TrpcContext;
|
|
@@ -7496,6 +7511,55 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
7496
7511
|
meta: object;
|
|
7497
7512
|
}>;
|
|
7498
7513
|
}>>;
|
|
7514
|
+
vectorStore: TRPCBuiltRouter<{
|
|
7515
|
+
ctx: TrpcContext;
|
|
7516
|
+
meta: object;
|
|
7517
|
+
errorShape: AugmentedErrorShape;
|
|
7518
|
+
transformer: true;
|
|
7519
|
+
}, TRPCDecorateCreateRouterOptions<{
|
|
7520
|
+
declareIndex: TRPCMutationProcedure<{
|
|
7521
|
+
input: {
|
|
7522
|
+
[x: string]: unknown;
|
|
7523
|
+
} & z.input<typeof vectorStoreCapability.methods.declareIndex.input>;
|
|
7524
|
+
output: z.infer<typeof vectorStoreCapability.methods.declareIndex.output>;
|
|
7525
|
+
meta: object;
|
|
7526
|
+
}>;
|
|
7527
|
+
upsert: TRPCMutationProcedure<{
|
|
7528
|
+
input: {
|
|
7529
|
+
[x: string]: unknown;
|
|
7530
|
+
} & z.input<typeof vectorStoreCapability.methods.upsert.input>;
|
|
7531
|
+
output: z.infer<typeof vectorStoreCapability.methods.upsert.output>;
|
|
7532
|
+
meta: object;
|
|
7533
|
+
}>;
|
|
7534
|
+
query: TRPCQueryProcedure<{
|
|
7535
|
+
input: {
|
|
7536
|
+
[x: string]: unknown;
|
|
7537
|
+
} & z.input<typeof vectorStoreCapability.methods.query.input>;
|
|
7538
|
+
output: z.infer<typeof vectorStoreCapability.methods.query.output>;
|
|
7539
|
+
meta: object;
|
|
7540
|
+
}>;
|
|
7541
|
+
deleteByIds: TRPCMutationProcedure<{
|
|
7542
|
+
input: {
|
|
7543
|
+
[x: string]: unknown;
|
|
7544
|
+
} & z.input<typeof vectorStoreCapability.methods.deleteByIds.input>;
|
|
7545
|
+
output: z.infer<typeof vectorStoreCapability.methods.deleteByIds.output>;
|
|
7546
|
+
meta: object;
|
|
7547
|
+
}>;
|
|
7548
|
+
deleteByFilter: TRPCMutationProcedure<{
|
|
7549
|
+
input: {
|
|
7550
|
+
[x: string]: unknown;
|
|
7551
|
+
} & z.input<typeof vectorStoreCapability.methods.deleteByFilter.input>;
|
|
7552
|
+
output: z.infer<typeof vectorStoreCapability.methods.deleteByFilter.output>;
|
|
7553
|
+
meta: object;
|
|
7554
|
+
}>;
|
|
7555
|
+
stats: TRPCQueryProcedure<{
|
|
7556
|
+
input: {
|
|
7557
|
+
[x: string]: unknown;
|
|
7558
|
+
} & z.input<typeof vectorStoreCapability.methods.stats.input>;
|
|
7559
|
+
output: z.infer<typeof vectorStoreCapability.methods.stats.output>;
|
|
7560
|
+
meta: object;
|
|
7561
|
+
}>;
|
|
7562
|
+
}>>;
|
|
7499
7563
|
vibration: TRPCBuiltRouter<{
|
|
7500
7564
|
ctx: TrpcContext;
|
|
7501
7565
|
meta: object;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* Plain data, zero Zod: a forked runner must not import the schema barrel
|
|
12
12
|
* (~144MB RSS per runner — D28).
|
|
13
13
|
*
|
|
14
|
-
* Coverage:
|
|
14
|
+
* Coverage: 22 caps, 49 methods with defaults.
|
|
15
15
|
*/
|
|
16
16
|
export declare const CAP_INPUT_DEFAULTS: Readonly<Record<string, Readonly<Record<string, Readonly<Record<string, unknown>>>>>>;
|
|
17
17
|
/**
|
|
@@ -134,6 +134,7 @@ export { userManagementCapability } from '../capabilities/user-management.cap.js
|
|
|
134
134
|
export { userPasskeysCapability } from '../capabilities/user-passkeys.cap.js';
|
|
135
135
|
export { vacuumControlCapability } from '../capabilities/vacuum-control.cap.js';
|
|
136
136
|
export { valveCapability } from '../capabilities/valve.cap.js';
|
|
137
|
+
export { vectorStoreCapability } from '../capabilities/vector-store.cap.js';
|
|
137
138
|
export { vibrationCapability } from '../capabilities/vibration.cap.js';
|
|
138
139
|
export { videoclipsCapability } from '../capabilities/videoclips.cap.js';
|
|
139
140
|
export { viewerUiCapability } from '../capabilities/viewer-ui.cap.js';
|
|
@@ -280,6 +281,7 @@ export declare const CAPABILITY_NAMES: {
|
|
|
280
281
|
readonly userPasskeys: "user-passkeys";
|
|
281
282
|
readonly vacuumControl: "vacuum-control";
|
|
282
283
|
readonly valve: "valve";
|
|
284
|
+
readonly vectorStore: "vector-store";
|
|
283
285
|
readonly vibration: "vibration";
|
|
284
286
|
readonly videoclips: "videoclips";
|
|
285
287
|
readonly viewerUi: "viewer-ui";
|
|
@@ -439,6 +441,7 @@ export interface CapabilityRouterMap<TRouter = unknown> {
|
|
|
439
441
|
readonly userPasskeys: TRouter;
|
|
440
442
|
readonly vacuumControl: TRouter;
|
|
441
443
|
readonly valve: TRouter;
|
|
444
|
+
readonly vectorStore: TRouter;
|
|
442
445
|
readonly vibration: TRouter;
|
|
443
446
|
readonly videoclips: TRouter;
|
|
444
447
|
readonly viewerUi: TRouter;
|
|
@@ -449,8 +452,8 @@ export interface CapabilityRouterMap<TRouter = unknown> {
|
|
|
449
452
|
readonly zoneRules: TRouter;
|
|
450
453
|
readonly zones: TRouter;
|
|
451
454
|
}
|
|
452
|
-
/** Capability names whose mode is `singleton` (
|
|
453
|
-
export declare const SINGLETON_CAPABILITY_NAMES: readonly ["accessories", "addon-pages", "addon-settings", "addon-widgets", "addons", "admin-ui", "air-quality-sensor", "alarm-panel", "alerts", "ambient-light-sensor", "audio-analysis", "audio-analyzer", "audio-codec", "audio-metrics", "automation-control", "backup", "battery", "binary", "brightness", "button", "camera-credentials", "camera-pipeline-config", "camera-streams", "carbon-monoxide", "climate-control", "color", "connectivity", "consumables", "contact", "control", "core-blocks", "cover", "day-night", "decoder", "detection-pipeline", "device-adoption", "device-discovery", "device-manager", "device-ops", "device-state", "device-status", "doorbell", "enum-sensor", "event-emitter", "events", "face-gallery", "fan-control", "feature-probe", "filesystem-browse", "flood", "gas", "humidifier", "humidity-sensor", "image", "image-settings", "integrations", "intercom", "lawn-mower-control", "llm-runtime", "local-network", "lock-control", "media-player", "metrics-provider", "model-convert", "model-distributor", "motion", "motion-detection", "motion-trigger", "motion-zones", "native-object-detection", "network-quality", "nodes", "notification-rules", "notifier", "numeric-sensor", "osd", "pet-feeder", "pipeline-analytics", "pipeline-executor", "pipeline-orchestrator", "pipeline-runner", "plate-gallery", "platform-probe", "power-meter", "presence", "pressure-sensor", "privacy-mask", "ptz", "ptz-autotrack", "reboot", "recording", "recordingExport", "scene-monitor", "script-runner", "server-management", "settings-store", "smoke", "snapshot", "sso-bridge", "storage", "stream-broker", "stream-catalog", "stream-params", "switch", "system", "tamper", "temperature-sensor", "terminal-session", "toast", "update", "user-management", "vacuum-control", "valve", "vibration", "videoclips", "viewer-ui", "water-heater", "weather", "webrtc-session", "zone-analytics", "zone-rules", "zones"];
|
|
455
|
+
/** Capability names whose mode is `singleton` (123 caps). */
|
|
456
|
+
export declare const SINGLETON_CAPABILITY_NAMES: readonly ["accessories", "addon-pages", "addon-settings", "addon-widgets", "addons", "admin-ui", "air-quality-sensor", "alarm-panel", "alerts", "ambient-light-sensor", "audio-analysis", "audio-analyzer", "audio-codec", "audio-metrics", "automation-control", "backup", "battery", "binary", "brightness", "button", "camera-credentials", "camera-pipeline-config", "camera-streams", "carbon-monoxide", "climate-control", "color", "connectivity", "consumables", "contact", "control", "core-blocks", "cover", "day-night", "decoder", "detection-pipeline", "device-adoption", "device-discovery", "device-manager", "device-ops", "device-state", "device-status", "doorbell", "enum-sensor", "event-emitter", "events", "face-gallery", "fan-control", "feature-probe", "filesystem-browse", "flood", "gas", "humidifier", "humidity-sensor", "image", "image-settings", "integrations", "intercom", "lawn-mower-control", "llm-runtime", "local-network", "lock-control", "media-player", "metrics-provider", "model-convert", "model-distributor", "motion", "motion-detection", "motion-trigger", "motion-zones", "native-object-detection", "network-quality", "nodes", "notification-rules", "notifier", "numeric-sensor", "osd", "pet-feeder", "pipeline-analytics", "pipeline-executor", "pipeline-orchestrator", "pipeline-runner", "plate-gallery", "platform-probe", "power-meter", "presence", "pressure-sensor", "privacy-mask", "ptz", "ptz-autotrack", "reboot", "recording", "recordingExport", "scene-monitor", "script-runner", "server-management", "settings-store", "smoke", "snapshot", "sso-bridge", "storage", "stream-broker", "stream-catalog", "stream-params", "switch", "system", "tamper", "temperature-sensor", "terminal-session", "toast", "update", "user-management", "vacuum-control", "valve", "vector-store", "vibration", "videoclips", "viewer-ui", "water-heater", "weather", "webrtc-session", "zone-analytics", "zone-rules", "zones"];
|
|
454
457
|
/** Union of singleton capability names (literal string union). */
|
|
455
458
|
export type SingletonCapabilityName = typeof SINGLETON_CAPABILITY_NAMES[number];
|
|
456
459
|
/** Capability names whose mode is `collection` (23 caps). */
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* scope+access check inside `protectedProcedure` (see
|
|
7
7
|
* `server/backend/src/api/trpc/trpc.middleware.ts`).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
9
|
+
* Coverage: 862 method paths across 120 capabilities.
|
|
10
10
|
*/
|
|
11
11
|
import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
|
|
12
12
|
export interface MethodAccessRecord {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,202 +1,203 @@
|
|
|
1
|
-
export * from './types/io.js';
|
|
2
|
-
export * from './health/wiring-health.js';
|
|
3
|
-
export * from './types/labels.js';
|
|
4
|
-
export * from './types/detection.js';
|
|
5
|
-
export * from './types/tracked.js';
|
|
6
|
-
export * from './types/events.js';
|
|
7
|
-
export * from './types/config.js';
|
|
8
|
-
export * from './types/entities.js';
|
|
9
|
-
export * from './types/models.js';
|
|
10
|
-
export * from './types/model-variant-groups.js';
|
|
11
|
-
export type { EngineOutput } from './types/engine-output.js';
|
|
12
|
-
export * from './types/pipeline.js';
|
|
13
|
-
export * from './types/pipeline-step.js';
|
|
14
|
-
export type { CameraPipelineConfig, PipelineTemplate as CameraPipelineTemplate, } from './types/camera-pipeline.js';
|
|
15
|
-
export type { AgentAddonConfig, AgentPipelineSettings, CameraPipelineSettings, CameraStepOverridePatch, DeviceStepConfig, } from './types/agent-pipeline-settings.js';
|
|
16
|
-
export * from './types/live-state.js';
|
|
17
|
-
export * from './types/analytics.js';
|
|
18
|
-
export type { PipelineAddonSchema, PipelineModelOption, PipelineSlotSchema, PipelineSchema, AvailableEngine, PipelineDefaultStep, PipelineTemplateStep, PipelineTemplate, TemplateValidationResult, } from './types/pipeline-schema.js';
|
|
19
|
-
export type * from './interfaces/addon.js';
|
|
20
|
-
export { DisposerChain } from './disposer-chain.js';
|
|
21
|
-
export type { DisposerFn, DisposerChainOptions } from './disposer-chain.js';
|
|
22
|
-
export { isDeployableToAgent, isAgentOnlyPlacement, resolveAddonExecution, resolveAddonGroup, resolveRunnerId, resolveAddonPlacement, DEFAULT_ADDON_PLACEMENT, } from './interfaces/addon.js';
|
|
23
|
-
export { BaseAddon, normalizeAddonInitResult } from './addon/base-addon.js';
|
|
24
1
|
export type { CapabilitiesAccess } from './addon/base-addon.js';
|
|
25
|
-
export {
|
|
26
|
-
export type { DurableState, DurableStateDeps } from './addon/durable-state.js';
|
|
27
|
-
export { buildAddonRouteProvider } from './addon/build-addon-route-provider.js';
|
|
2
|
+
export { BaseAddon, normalizeAddonInitResult } from './addon/base-addon.js';
|
|
28
3
|
export type { AddonRouteInvokeRequest, AddonRouteReplyEnvelope, } from './addon/build-addon-route-provider.js';
|
|
4
|
+
export { buildAddonRouteProvider } from './addon/build-addon-route-provider.js';
|
|
5
|
+
export type { DurableState, DurableStateDeps } from './addon/durable-state.js';
|
|
6
|
+
export { createDurableState } from './addon/durable-state.js';
|
|
7
|
+
export type { IAuthProvider } from './capabilities/auth-provider.cap.js';
|
|
8
|
+
export type { DisposerChainOptions, DisposerFn } from './disposer-chain.js';
|
|
9
|
+
export { DisposerChain } from './disposer-chain.js';
|
|
10
|
+
export * from './encode-profile.js';
|
|
11
|
+
export * from './health/wiring-health.js';
|
|
12
|
+
export type * from './interfaces/addon.js';
|
|
13
|
+
export { DEFAULT_ADDON_PLACEMENT, isAgentOnlyPlacement, isDeployableToAgent, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveRunnerId, } from './interfaces/addon.js';
|
|
14
|
+
export type * from './interfaces/addon-data-plane.js';
|
|
15
|
+
export { DATAPLANE_SECRET_HEADER } from './interfaces/addon-data-plane.js';
|
|
16
|
+
export type * from './interfaces/addon-routes.js';
|
|
17
|
+
export type * from './interfaces/agent.js';
|
|
18
|
+
export type * from './interfaces/agent-protocol.js';
|
|
19
|
+
export * from './interfaces/agent-protocol.js';
|
|
20
|
+
export type * from './interfaces/alerts.js';
|
|
21
|
+
export type * from './interfaces/analysis.js';
|
|
22
|
+
export * from './interfaces/analysis-persistence.js';
|
|
23
|
+
export type * from './interfaces/api-responses.js';
|
|
24
|
+
export type * from './interfaces/api-shared.js';
|
|
25
|
+
export type { AudioClassificationResult, IAudioAnalyzer } from './interfaces/audio-analyzer.js';
|
|
26
|
+
export type * from './interfaces/audio-inference-engine.js';
|
|
27
|
+
export type * from './interfaces/auth.js';
|
|
28
|
+
export type * from './interfaces/camera-pipeline.js';
|
|
29
29
|
export type * from './interfaces/capability.js';
|
|
30
|
+
export type * from './interfaces/config-port.js';
|
|
30
31
|
export type * from './interfaces/config-ui.js';
|
|
31
|
-
export { WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, hydrateSchema, collectHydratedFieldEntries, collectHydratedFieldValues, resolveHydratedFieldValue, } from './interfaces/config-ui.js';
|
|
32
32
|
export type { HydratedFieldEntry } from './interfaces/config-ui.js';
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export type * from './interfaces/
|
|
36
|
-
export type * from './interfaces/engine-slots.js';
|
|
33
|
+
export { collectHydratedFieldEntries, collectHydratedFieldValues, hydrateSchema, resolveHydratedFieldValue, WELL_KNOWN_TAB_MAP, WELL_KNOWN_TABS, } from './interfaces/config-ui.js';
|
|
34
|
+
export type * from './interfaces/context.js';
|
|
35
|
+
export type * from './interfaces/decoder.js';
|
|
37
36
|
export type * from './interfaces/detection-addon.js';
|
|
38
|
-
export type
|
|
39
|
-
export
|
|
40
|
-
export type
|
|
41
|
-
export type
|
|
37
|
+
export type { DeviceEvent, DeviceMetadata, DeviceState } from './interfaces/device.js';
|
|
38
|
+
export { autoAssignProfiles, classifyStream, classifyStreams, parseCameraStreamConfig, streamPixels, toStreamSourceEntry, } from './interfaces/device-capabilities/camera.js';
|
|
39
|
+
export type * from './interfaces/device-capabilities/index.js';
|
|
40
|
+
export type { IDeviceProvider, LiveEvent, ProviderStatus } from './interfaces/device-provider.js';
|
|
41
|
+
export type * from './interfaces/embedding-encoder.js';
|
|
42
|
+
export type * from './interfaces/engine-slots.js';
|
|
43
|
+
export type * from './interfaces/event-bus.js';
|
|
44
|
+
export { createEvent, emitReadiness, isEvent } from './interfaces/event-bus.js';
|
|
45
|
+
export * from './interfaces/feature-flags.js';
|
|
46
|
+
export type * from './interfaces/ffmpeg.js';
|
|
47
|
+
export type * from './interfaces/frame-handle.js';
|
|
42
48
|
export type * from './interfaces/inference-capabilities.js';
|
|
43
|
-
export type * from './interfaces/
|
|
44
|
-
export
|
|
45
|
-
export * from './interfaces/
|
|
46
|
-
export * from './interfaces/
|
|
47
|
-
export type * from './interfaces/python-env.js';
|
|
48
|
-
export type * from './interfaces/network.js';
|
|
49
|
-
export type * from './interfaces/router.js';
|
|
49
|
+
export type * from './interfaces/inference-engine.js';
|
|
50
|
+
export type { CreateDeviceInput, CreateIntegrationInput, DeviceIdentity, IIntegrationRegistry, Integration, PersistedDevice, TypedSetting, } from './interfaces/integration-registry.js';
|
|
51
|
+
export type * from './interfaces/kernel-abstractions.js';
|
|
52
|
+
export type * from './interfaces/lifecycle.js';
|
|
50
53
|
export type * from './interfaces/logging.js';
|
|
51
54
|
export { LOG_LEVEL_RANK, logLevelAtMost } from './interfaces/logging.js';
|
|
52
|
-
export type * from './interfaces/
|
|
53
|
-
export type * from './interfaces/
|
|
54
|
-
export
|
|
55
|
-
export type * from './interfaces/
|
|
56
|
-
export
|
|
57
|
-
export type { ReadinessHandler, ReadinessTransition, AwaitReadyOptions, ReadinessRegistryOptions, } from './readiness/index.js';
|
|
58
|
-
export type * from './interfaces/pipeline-runner.js';
|
|
55
|
+
export type * from './interfaces/metrics-provider.js';
|
|
56
|
+
export type * from './interfaces/network.js';
|
|
57
|
+
export type * from './interfaces/network-quality.js';
|
|
58
|
+
export type * from './interfaces/notification.js';
|
|
59
|
+
export * from './interfaces/ops-log.js';
|
|
59
60
|
export type * from './interfaces/pipeline-executor-capability.js';
|
|
60
61
|
export type * from './interfaces/pipeline-orchestrator-capability.js';
|
|
62
|
+
export type * from './interfaces/pipeline-runner.js';
|
|
61
63
|
export type * from './interfaces/pipeline-runner-capability.js';
|
|
62
|
-
export type * from './interfaces/
|
|
63
|
-
export type
|
|
64
|
-
export type * from './interfaces/
|
|
65
|
-
export type * from './interfaces/
|
|
66
|
-
export type * from './interfaces/
|
|
67
|
-
export
|
|
64
|
+
export type * from './interfaces/pipeline-slot.js';
|
|
65
|
+
export type * from './interfaces/platform.js';
|
|
66
|
+
export type * from './interfaces/process.js';
|
|
67
|
+
export type * from './interfaces/python-env.js';
|
|
68
|
+
export type * from './interfaces/queryable.js';
|
|
69
|
+
export type * from './interfaces/raw-tensor-engine.js';
|
|
70
|
+
export type * from './interfaces/readiness.js';
|
|
71
|
+
export * from './interfaces/recording-config.js';
|
|
72
|
+
export * from './interfaces/relocate.js';
|
|
73
|
+
export type * from './interfaces/repl.js';
|
|
74
|
+
export type * from './interfaces/router.js';
|
|
75
|
+
export type * from './interfaces/rtp-egress.js';
|
|
68
76
|
export type * from './interfaces/scoped-token.js';
|
|
69
|
-
export type * from './interfaces/
|
|
77
|
+
export type * from './interfaces/server-analysis.js';
|
|
78
|
+
export * from './interfaces/server-analysis.js';
|
|
79
|
+
export type * from './interfaces/server-network.js';
|
|
70
80
|
export type * from './interfaces/storage.js';
|
|
71
|
-
export { StorageLocationSchema, StorageLocationRefSchema, StorageLocationTypeSchema, } from './interfaces/storage-location.js';
|
|
72
81
|
export type { StorageLocation, StorageLocationRef, } from './interfaces/storage-location.js';
|
|
73
|
-
export {
|
|
82
|
+
export { StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, } from './interfaces/storage-location.js';
|
|
74
83
|
export type { StorageLocationDeclaration } from './interfaces/storage-location-declaration.js';
|
|
75
|
-
export
|
|
76
|
-
export type { DeviceState, DeviceMetadata, DeviceEvent } from './interfaces/device.js';
|
|
77
|
-
export type { ProviderStatus, LiveEvent, IDeviceProvider } from './interfaces/device-provider.js';
|
|
78
|
-
export type * from './interfaces/device-capabilities/index.js';
|
|
79
|
-
export { classifyStream, classifyStreams, streamPixels, toStreamSourceEntry, parseCameraStreamConfig, autoAssignProfiles, } from './interfaces/device-capabilities/camera.js';
|
|
80
|
-
export type * from './interfaces/auth.js';
|
|
81
|
-
export type * from './interfaces/lifecycle.js';
|
|
82
|
-
export type * from './interfaces/server-network.js';
|
|
83
|
-
export type * from './interfaces/process.js';
|
|
84
|
-
export * from './interfaces/feature-flags.js';
|
|
85
|
-
export type * from './interfaces/agent.js';
|
|
86
|
-
export type * from './interfaces/agent-protocol.js';
|
|
87
|
-
export * from './interfaces/agent-protocol.js';
|
|
88
|
-
export type * from './interfaces/camera-pipeline.js';
|
|
89
|
-
export type * from './interfaces/server-analysis.js';
|
|
90
|
-
export * from './interfaces/server-analysis.js';
|
|
84
|
+
export { StorageLocationDeclarationSchema } from './interfaces/storage-location-declaration.js';
|
|
91
85
|
export * from './interfaces/stream-broker.js';
|
|
92
|
-
export * from './
|
|
86
|
+
export type * from './interfaces/task-handler.js';
|
|
87
|
+
export type { Timezone, TimezoneDstRule, Weekday } from './interfaces/timezones.js';
|
|
88
|
+
export { findTimezone, TIMEZONES } from './interfaces/timezones.js';
|
|
89
|
+
export type { AwaitReadyOptions, ReadinessHandler, ReadinessRegistryOptions, ReadinessTransition, } from './readiness/index.js';
|
|
90
|
+
export { emitDownForOwnedCaps, ReadinessRegistry, ReadinessTimeoutError, readinessKey, scopeKey, } from './readiness/index.js';
|
|
93
91
|
export * from './stream-selection.js';
|
|
94
|
-
export type
|
|
95
|
-
export
|
|
96
|
-
export
|
|
97
|
-
export
|
|
98
|
-
export
|
|
99
|
-
export type
|
|
100
|
-
export
|
|
101
|
-
export
|
|
102
|
-
export
|
|
103
|
-
export
|
|
104
|
-
export
|
|
105
|
-
export
|
|
106
|
-
export
|
|
107
|
-
export
|
|
108
|
-
export type
|
|
109
|
-
export * from './
|
|
110
|
-
export * from './
|
|
92
|
+
export type { AgentAddonConfig, AgentPipelineSettings, CameraPipelineSettings, CameraStepOverridePatch, DeviceStepConfig, } from './types/agent-pipeline-settings.js';
|
|
93
|
+
export * from './types/analytics.js';
|
|
94
|
+
export type { CameraPipelineConfig, PipelineTemplate as CameraPipelineTemplate, } from './types/camera-pipeline.js';
|
|
95
|
+
export * from './types/config.js';
|
|
96
|
+
export * from './types/detection.js';
|
|
97
|
+
export type { EngineOutput } from './types/engine-output.js';
|
|
98
|
+
export * from './types/entities.js';
|
|
99
|
+
export * from './types/events.js';
|
|
100
|
+
export * from './types/io.js';
|
|
101
|
+
export * from './types/labels.js';
|
|
102
|
+
export * from './types/live-state.js';
|
|
103
|
+
export * from './types/model-variant-groups.js';
|
|
104
|
+
export * from './types/models.js';
|
|
105
|
+
export * from './types/pipeline.js';
|
|
106
|
+
export type { AvailableEngine, PipelineAddonSchema, PipelineDefaultStep, PipelineModelOption, PipelineSchema, PipelineSlotSchema, PipelineTemplate, PipelineTemplateStep, TemplateValidationResult, } from './types/pipeline-schema.js';
|
|
107
|
+
export * from './types/pipeline-step.js';
|
|
108
|
+
export * from './types/tracked.js';
|
|
111
109
|
export * from './cap-call-context.js';
|
|
112
|
-
export
|
|
113
|
-
export {
|
|
114
|
-
export { cosineSimilarity } from './utils/cosine-similarity.js';
|
|
115
|
-
export { ElementConfigStore } from './utils/element-config-store.js';
|
|
116
|
-
export { resolveDetectionRuntime, resolveModelFormat, resolveAddonRuntime, formatForBackend, formatForRuntime, pythonScriptForBackend, requiresPython, BACKEND_TO_FORMAT, DEVICE_BACKEND_TO_FORMAT, deviceBackendToFormat, RUNTIME_TO_FORMAT, PYTHON_SCRIPT, } from './utils/runtime-mapping.js';
|
|
117
|
-
export type { PipelineRuntime } from './utils/runtime-mapping.js';
|
|
118
|
-
export { runInferenceStep } from './utils/run-inference-step.js';
|
|
119
|
-
export type { InferenceStepResult } from './utils/run-inference-step.js';
|
|
110
|
+
export * from './capabilities/index.js';
|
|
111
|
+
export { APPLE_SA_TO_MACRO, AUDIO_MACRO_LABELS, getAudioMacroClassIds, mapAudioLabelToMacro, YAMNET_TO_MACRO, } from './catalogs/audio-classmap.js';
|
|
120
112
|
export { COCO_80_LABELS, COCO_TO_MACRO, MACRO_LABELS, } from './catalogs/coco-classmap.js';
|
|
121
|
-
export { AUDIO_MACRO_LABELS, YAMNET_TO_MACRO, APPLE_SA_TO_MACRO, mapAudioLabelToMacro, getAudioMacroClassIds, } from './catalogs/audio-classmap.js';
|
|
122
|
-
export { EVENT_TAXONOMY, TAXONOMY_COLORS, DEFAULT_EVENT_COLOR, getTaxonomyEntry, colorForKind, subKindsOf, type EventTaxonomyEntry, type EventTaxonomyCategory, type EventTaxonomyLevel, } from './catalogs/event-taxonomy.js';
|
|
123
|
-
export { NcTaxonomyEntrySchema, NcTaxonomySchema, buildNcTaxonomy, NC_TAXONOMY, type NcTaxonomyEntry, type NcTaxonomy, } from './catalogs/nc-taxonomy.js';
|
|
124
|
-
export { DEVICE_SCOPED_CAPS, isDeviceScopedCap } from './generated/device-scoped-caps.js';
|
|
125
113
|
export { DEVICE_STATE_READERS, readDeviceStateFrom, stateVocabularyFor, } from './catalogs/device-state-vocabulary.js';
|
|
126
|
-
export type
|
|
127
|
-
export { type
|
|
128
|
-
export
|
|
129
|
-
export { ExpressionParseError, ExpressionEvalError, MAX_EXPRESSION_SOURCE_LENGTH, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, RESERVED_BINDING_NAMES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_INJECTED_NOW, tokenize, parseExpression, createExpressionScope, evaluateAst, compileExpression, compileExpressionSafe, toExpressionValue, validateExpressionSource, evaluateLinkExpression, } from './expression/index.js';
|
|
130
|
-
export type { ExpressionValue, ExpressionNode, ExpressionBinaryOperator, ExpressionLogicalOperator, ExpressionUnaryOperator, ExpressionBuiltin, ExpressionEvalHooks, ExpressionEvalOptions, ParsedExpression, CompileResult, Token, Punctuator, Keyword, ExpressionSourceInput, EvaluateLinkExpressionResult, } from './expression/index.js';
|
|
131
|
-
export { DeviceType, DeviceFeature, ChargingStatus, DeviceRole } from './device/device-type.js';
|
|
132
|
-
export { AccessoryKind, ACCESSORY_LABEL, accessoryStableId, } from './device/accessory.js';
|
|
133
|
-
export { DEVICE_PROFILES, BATTERY_DEVICE_PROFILE, deviceMatchesProfile, resolveDeviceProfile, } from './device/device-profile.js';
|
|
134
|
-
export type { DeviceProfile, DeviceProfileMatch, DeviceProfileDefaults, PipelinePhaseMode, } from './device/device-profile.js';
|
|
114
|
+
export { colorForKind, DEFAULT_EVENT_COLOR, EVENT_TAXONOMY, type EventTaxonomyCategory, type EventTaxonomyEntry, type EventTaxonomyLevel, getTaxonomyEntry, subKindsOf, TAXONOMY_COLORS, } from './catalogs/event-taxonomy.js';
|
|
115
|
+
export { buildNcTaxonomy, NC_TAXONOMY, type NcTaxonomy, type NcTaxonomyEntry, NcTaxonomyEntrySchema, NcTaxonomySchema, } from './catalogs/nc-taxonomy.js';
|
|
116
|
+
export * from './constants.js';
|
|
135
117
|
export type { AccessoryKindValue } from './device/accessory.js';
|
|
136
|
-
export {
|
|
137
|
-
export { DeviceRuntimeState } from './device/device-runtime-state.js';
|
|
138
|
-
export type { IDeviceRuntimeState } from './device/device-runtime-state.js';
|
|
139
|
-
export { createRuntimeStateBridge } from './device/runtime-state-helpers.js';
|
|
140
|
-
export type { RuntimeStateBridge } from './device/runtime-state-helpers.js';
|
|
141
|
-
export { startReachabilityPoll, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_PROBE_TIMEOUT_MS, } from './device/reachability-poll.js';
|
|
142
|
-
export type { ReachabilityPollOptions, ReachabilityPollHandle, ReachabilityPollLogger, } from './device/reachability-poll.js';
|
|
143
|
-
export { prepareNotification, type PreparedAction, type PreparedAttachment, type PreparedNotification, type ResolvedLevel, } from './notification/degrade-engine.js';
|
|
144
|
-
export { isBaseConditionKey, knownValues, NC_BASE_CONDITION_KEYS, type NcBaseConditionKey, pickerForCondition, type TaxonomyGroup, type TaxonomyOption, type TaxonomyPicker, } from './notification/condition-taxonomy.js';
|
|
145
|
-
export { htmlToText, markdownToHtmlLite, markdownToText, type NotificationFormat as NotificationBodyFormat, resolveFormat, textToHtml, transcodeBody, } from './notification/format-transcode.js';
|
|
146
|
-
export { TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, } from './notification/timelapse-rule.js';
|
|
147
|
-
export type { TimelapseRule, TimelapseRuleInput, TimelapseRulePatch, TimelapseTemplate, } from './notification/timelapse-rule.js';
|
|
148
|
-
export { BaseDevice } from './device/base-device.js';
|
|
118
|
+
export { ACCESSORY_LABEL, AccessoryKind, accessoryStableId, } from './device/accessory.js';
|
|
149
119
|
export type { AccessoryChildSpec } from './device/base-device.js';
|
|
150
|
-
export {
|
|
151
|
-
export type {
|
|
152
|
-
export * from './units/index.js';
|
|
120
|
+
export { BaseDevice } from './device/base-device.js';
|
|
121
|
+
export type { DeviceSummary, DiscoveryCandidate, FieldProbeResult, } from './device/base-device-provider.js';
|
|
153
122
|
export { BaseDeviceProvider, toDeviceSummary } from './device/base-device-provider.js';
|
|
154
|
-
export type { DiscoveryCandidate, DeviceSummary, FieldProbeResult, } from './device/base-device-provider.js';
|
|
155
|
-
export type { DeviceContext, DeviceManagerApi, DeviceConstructor, IDeviceRegistryReader, IDeviceRegistry, } from './device/device-context.js';
|
|
156
|
-
export type { IDevice } from './device/device.js';
|
|
157
|
-
export type { IBatteryOperated, IRebootable, INativeSnapshot, IDoorbellButton, ITwoWayAudio, IPanTiltZoom, } from './device/features.js';
|
|
158
123
|
export type { ICameraDevice, StreamSourceEntry } from './device/camera-device.js';
|
|
159
|
-
export type {
|
|
160
|
-
export {
|
|
161
|
-
export
|
|
162
|
-
export type {
|
|
163
|
-
export {
|
|
164
|
-
export
|
|
165
|
-
export { getByPath, setByPath } from './device/path-util.js';
|
|
124
|
+
export type { IDevice } from './device/device.js';
|
|
125
|
+
export type { DeviceBinding, DeviceBindingEntry } from './device/device-binding.js';
|
|
126
|
+
export { DeviceConfig } from './device/device-config.js';
|
|
127
|
+
export type { DeviceConstructor, DeviceContext, DeviceManagerApi, IDeviceRegistry, IDeviceRegistryReader, } from './device/device-context.js';
|
|
128
|
+
export type { AccessoryControlInput, AccessoryControlKind, AccessoryControlPick, DeviceControlKind, SensorMapping, } from './device/device-control-resolution.js';
|
|
129
|
+
export { DEVICE_TYPE_CONTROL_KIND, hasMotionTrigger, isNode, MOTION_TRIGGER_FEATURE, pickAccessoryControl, resolveDeviceControlKind, resolveMutate, SENSOR_FEATURES, SENSOR_MAP, } from './device/device-control-resolution.js';
|
|
166
130
|
export { applyTransform } from './device/device-link-transform.js';
|
|
167
|
-
export {
|
|
131
|
+
export type { ChildLayout, ChildLayoutEntry, CreateDeviceSpec, DeviceCapDisplayOverride, DeviceDiscovery, DeviceDisplayOverride, DeviceLink, DeviceLinkExpressionBinding, DeviceLinkExpressionSource, DeviceLinkFieldSource, DeviceLinkLiteralSource, DeviceLinkSource, DeviceLinks, DeviceLinkTarget, DeviceLinkTransform, DeviceManualCreation, DeviceMeta, DiscoveredDevice, InitialDeviceMeta, RoleDisplayDefault, SavedDevice, } from './device/device-management.js';
|
|
132
|
+
export type { DeviceProfile, DeviceProfileDefaults, DeviceProfileMatch, PipelinePhaseMode, } from './device/device-profile.js';
|
|
133
|
+
export { BATTERY_DEVICE_PROFILE, DEVICE_PROFILES, deviceMatchesProfile, resolveDeviceProfile, } from './device/device-profile.js';
|
|
134
|
+
export type { IDeviceRuntimeState } from './device/device-runtime-state.js';
|
|
135
|
+
export { DeviceRuntimeState } from './device/device-runtime-state.js';
|
|
136
|
+
export type { SliceHandle, SliceHandleApi, SliceHandleSource, } from './device/device-state-handle.js';
|
|
137
|
+
export { createLazyTrpcSource, createMirrorSource, createSliceHandle, } from './device/device-state-handle.js';
|
|
138
|
+
export { ChargingStatus, DeviceFeature, DeviceRole, DeviceType } from './device/device-type.js';
|
|
139
|
+
export type { IBatteryOperated, IDoorbellButton, INativeSnapshot, IPanTiltZoom, IRebootable, ITwoWayAudio, } from './device/features.js';
|
|
140
|
+
export { getByPath, setByPath } from './device/path-util.js';
|
|
141
|
+
export type { ReachabilityPollHandle, ReachabilityPollLogger, ReachabilityPollOptions, } from './device/reachability-poll.js';
|
|
142
|
+
export { REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, startReachabilityPoll, } from './device/reachability-poll.js';
|
|
143
|
+
export type { RuntimeStateBridge } from './device/runtime-state-helpers.js';
|
|
144
|
+
export { createRuntimeStateBridge } from './device/runtime-state-helpers.js';
|
|
168
145
|
export type { WireableField } from './device/schema-fields.js';
|
|
169
|
-
export {
|
|
170
|
-
export type {
|
|
171
|
-
export {
|
|
172
|
-
export type {
|
|
173
|
-
export { createDeviceProxy } from './generated/device-proxy.js';
|
|
174
|
-
export { evaluateZoneRules, type ZoneRuleEvalResult } from './utils/zone-rule-eval.js';
|
|
175
|
-
export type { DeviceProxy } from './generated/device-proxy.js';
|
|
176
|
-
export { createSystemProxy } from './generated/system-proxy.js';
|
|
177
|
-
export type { SystemProxy } from './generated/system-proxy.js';
|
|
146
|
+
export { enumerateItemArrayFields, enumerateSchemaFields } from './device/schema-fields.js';
|
|
147
|
+
export type { SourceInfo } from './device/source-info.js';
|
|
148
|
+
export { extractSourceInfoFromMetadata, mergeSourceInfo, normalizeUnit, SOURCE_INFO_METADATA_KEY, SourceInfoSchema, synthesizeSourceInfo, } from './device/source-info.js';
|
|
149
|
+
export type { DeviceCapListener, DeviceLifecycleListener, DeviceQueryFilters, StringMatch, SystemMirrorApi, SystemMirrorListener, } from './device/system-mirror.js';
|
|
178
150
|
export { SystemMirror } from './device/system-mirror.js';
|
|
179
|
-
export type {
|
|
180
|
-
export {
|
|
181
|
-
export
|
|
182
|
-
export * from './
|
|
183
|
-
export {
|
|
184
|
-
export
|
|
185
|
-
export {
|
|
151
|
+
export type { DeviceConfigEntry } from './device/zod-to-config-ui.js';
|
|
152
|
+
export { zodEntriesToConfigUI } from './device/zod-to-config-ui.js';
|
|
153
|
+
export { EventCategory } from './enums/event-category.js';
|
|
154
|
+
export * from './enums/index.js';
|
|
155
|
+
export type { CompileResult, EvaluateLinkExpressionResult, ExpressionBinaryOperator, ExpressionBuiltin, ExpressionEvalHooks, ExpressionEvalOptions, ExpressionLogicalOperator, ExpressionNode, ExpressionSourceInput, ExpressionUnaryOperator, ExpressionValue, Keyword, ParsedExpression, Punctuator, Token, } from './expression/index.js';
|
|
156
|
+
export { compileExpression, compileExpressionSafe, createExpressionScope, EXPRESSION_BUILTIN_NAMES, EXPRESSION_BUILTINS, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, ExpressionEvalError, ExpressionParseError, evaluateAst, evaluateLinkExpression, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, parseExpression, RESERVED_BINDING_NAMES, toExpressionValue, tokenize, validateExpressionSource, } from './expression/index.js';
|
|
157
|
+
export type { AddonApi, AppRouter } from './generated/addon-api.js';
|
|
186
158
|
export type { CapNameWithStatus, CapStatusTypeMap } from './generated/cap-status-types.js';
|
|
187
|
-
export {
|
|
159
|
+
export { CAP_NAMES_WITH_STATUS } from './generated/cap-status-types.js';
|
|
160
|
+
export type { CapabilityName, CapabilityRouterMap } from './generated/capability-router-map.js';
|
|
161
|
+
export { ALL_CAPABILITY_DEFINITIONS, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, } from './generated/capability-router-map.js';
|
|
162
|
+
export type { DeviceProxy } from './generated/device-proxy.js';
|
|
163
|
+
export { createDeviceProxy } from './generated/device-proxy.js';
|
|
164
|
+
export { DEVICE_SCOPED_CAPS, isDeviceScopedCap } from './generated/device-scoped-caps.js';
|
|
188
165
|
export type { MethodAccessRecord } from './generated/method-access-map.js';
|
|
189
|
-
export {
|
|
166
|
+
export { DEVICE_CAP_NAMES, KNOWN_CAP_NAMES, METHOD_ACCESS_MAP, SYSTEM_CAP_NAMES, } from './generated/method-access-map.js';
|
|
167
|
+
export { CAP_PROVIDER_KIND_MAP, getCapsByProviderKind, PROVIDER_KIND_CAP_NAMES, } from './generated/provider-kind-map.js';
|
|
190
168
|
export type { ScopePresetId, ScopePresetSpec } from './generated/scope-presets.js';
|
|
191
|
-
export {
|
|
192
|
-
export
|
|
169
|
+
export { SCOPE_PRESETS } from './generated/scope-presets.js';
|
|
170
|
+
export type { SystemProxy } from './generated/system-proxy.js';
|
|
171
|
+
export { createSystemProxy } from './generated/system-proxy.js';
|
|
172
|
+
export type { AudioCodecInfo, AudioDecodeSessionConfig, AudioEncodedChunk, AudioEncodeSessionConfig, AudioPcmChunk, PcmSampleFormat, } from './interfaces/audio-codec.js';
|
|
173
|
+
export type { StreamQuality } from './interfaces/device-capabilities/camera.js';
|
|
174
|
+
export { STREAM_QUALITY_LABELS, streamQualityLabel, } from './interfaces/device-capabilities/camera.js';
|
|
193
175
|
export * from './lifecycle/index.js';
|
|
194
|
-
export {
|
|
176
|
+
export { isBaseConditionKey, knownValues, NC_BASE_CONDITION_KEYS, type NcBaseConditionKey, pickerForCondition, type TaxonomyGroup, type TaxonomyOption, type TaxonomyPicker, } from './notification/condition-taxonomy.js';
|
|
177
|
+
export { type PreparedAction, type PreparedAttachment, type PreparedNotification, prepareNotification, type ResolvedLevel, } from './notification/degrade-engine.js';
|
|
178
|
+
export { htmlToText, markdownToHtmlLite, markdownToText, type NotificationFormat as NotificationBodyFormat, resolveFormat, textToHtml, transcodeBody, } from './notification/format-transcode.js';
|
|
179
|
+
export type { TimelapseRule, TimelapseRuleInput, TimelapseRulePatch, TimelapseTemplate, } from './notification/timelapse-rule.js';
|
|
180
|
+
export { TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, } from './notification/timelapse-rule.js';
|
|
181
|
+
export { type ApiKeyRecord, ApiKeyRecordSchema, type CapScope, CapScopeSchema, type MethodAccess, MethodAccessSchema, type ScopedToken, ScopedTokenSchema, type TokenScope, TokenScopeSchema, type UserRecord, UserRecordSchema, } from './schemas/auth-records.js';
|
|
182
|
+
export type { CameraDetectionCapabilities, CameraMotionConfig, CameraNativeDetectionConfig, } from './types/camera-detection.js';
|
|
183
|
+
export { DEVICE_TYPE_INFO, type DeviceTypeInfo } from './types/device-type.js';
|
|
184
|
+
export * from './units/index.js';
|
|
185
|
+
export { bestLocationMatch, locationSimilarity } from './util/location-match.js';
|
|
186
|
+
export { cosineSimilarity } from './utils/cosine-similarity.js';
|
|
187
|
+
export { ElementConfigStore } from './utils/element-config-store.js';
|
|
195
188
|
export { errMsg } from './utils/err-msg.js';
|
|
189
|
+
export { hfModelUrl } from './utils/hf-url.js';
|
|
190
|
+
export { asBoolean, asJsonArray, asJsonObject, asNumber, asString, parseJsonArray, parseJsonObject, parseJsonUnknown, } from './utils/json-safe.js';
|
|
196
191
|
export { maskUrlCredentials } from './utils/mask-url.js';
|
|
192
|
+
export { cellsToRects, type NormRect, rectsToCells } from './utils/privacy-grid-raster.js';
|
|
197
193
|
export { RingBuffer } from './utils/ring-buffer.js';
|
|
198
|
-
export {
|
|
194
|
+
export type { InferenceStepResult } from './utils/run-inference-step.js';
|
|
195
|
+
export { runInferenceStep } from './utils/run-inference-step.js';
|
|
196
|
+
export type { PipelineRuntime } from './utils/runtime-mapping.js';
|
|
197
|
+
export { BACKEND_TO_FORMAT, DEVICE_BACKEND_TO_FORMAT, deviceBackendToFormat, formatForBackend, formatForRuntime, PYTHON_SCRIPT, pythonScriptForBackend, RUNTIME_TO_FORMAT, requiresPython, resolveAddonRuntime, resolveDetectionRuntime, resolveModelFormat, } from './utils/runtime-mapping.js';
|
|
199
198
|
export { sleep, sleepCancellable } from './utils/sleep.js';
|
|
199
|
+
export { decodeVectorBase64, encodeVectorBase64, vectorDimFromBase64, } from './utils/vector-codec.js';
|
|
200
|
+
export { evaluateZoneRules, type ZoneRuleEvalResult } from './utils/zone-rule-eval.js';
|
|
200
201
|
export { bindAddonActions } from './helpers/bind-addon-actions.js';
|
|
201
|
-
export {
|
|
202
|
-
export
|
|
202
|
+
export type { DeviceOption, InferenceDeviceDescriptor, RuntimeId, } from './inference/runtime-capabilities.js';
|
|
203
|
+
export { defaultDeviceFor, enumerateInferenceDevices, modelFormatForRuntime, runtimeDevices, scoreRuntimes, supportedRuntimes, } from './inference/runtime-capabilities.js';
|