@camstack/types 1.2.309 → 1.2.311

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_sleep = require("./sleep-C3gDpn7G.js");
2
+ const require_sleep = require("./sleep-DyF95STh.js");
3
3
  const require_event_category = require("./event-category-DmS_tLsU.js");
4
4
  const require_err_msg = require("./err-msg-Dx2Kor0g.js");
5
5
  //#region src/generated/cap-input-defaults.ts
package/dist/addon.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { At as normalizeAddonInitResult, B as nodePin, Ct as PEER_BYTES_STALL_MS, D as adminUiCapability, Et as DATAPLANE_SECRET_HEADER, N as expandCapMethods, Ot as DisposerChain, Pt as emitReadiness, S as DEVICE_CHILDREN_BATCH_MAX, St as PEER_BYTES_MAX_OUTSTANDING, T as describeCustomActions, U as ReadinessRegistry, V as readNodePin, W as ReadinessTimeoutError, a as asJsonObject, b as deviceOpsCapability, d as BOOT_RECOVERY_BACKOFF_MS, f as DEVICE_SCOPED_CAPS, h as createEventBusSliceSource, kt as BaseAddon, m as createDeviceProxy, p as isDeviceScopedCap, q as scopeKey, s as asString, t as sleep, u as parseJsonUnknown, wt as PEER_BYTES_TICKET_TTL_MS, x as viewerUiCapability, xt as PEER_BYTES_CHUNK_BYTES } from "./sleep-DXKLNFvA.mjs";
1
+ import { At as normalizeAddonInitResult, B as nodePin, Ct as PEER_BYTES_STALL_MS, D as adminUiCapability, Et as DATAPLANE_SECRET_HEADER, N as expandCapMethods, Ot as DisposerChain, Pt as emitReadiness, S as DEVICE_CHILDREN_BATCH_MAX, St as PEER_BYTES_MAX_OUTSTANDING, T as describeCustomActions, U as ReadinessRegistry, V as readNodePin, W as ReadinessTimeoutError, a as asJsonObject, b as deviceOpsCapability, d as BOOT_RECOVERY_BACKOFF_MS, f as DEVICE_SCOPED_CAPS, h as createEventBusSliceSource, kt as BaseAddon, m as createDeviceProxy, p as isDeviceScopedCap, q as scopeKey, s as asString, t as sleep, u as parseJsonUnknown, wt as PEER_BYTES_TICKET_TTL_MS, x as viewerUiCapability, xt as PEER_BYTES_CHUNK_BYTES } from "./sleep-C16NCZR2.mjs";
2
2
  import { t as EventCategory } from "./event-category-BGmz_oxW.mjs";
3
3
  import { a as DeviceType, t as errMsg } from "./err-msg-DX6i_MY4.mjs";
4
4
  //#region src/generated/cap-input-defaults.ts
@@ -1,45 +1,58 @@
1
1
  /**
2
- * hub-address — the ONE reading of "at which address is this hub reached?",
3
- * taken from the hub's own `local-network` palette (`getConnectionEndpoints`).
2
+ * hub-address — the ONE reading of "at which address is this hub reached, for
3
+ * what?", one resolver per ROLE, over the hub's own `local-network` palette
4
+ * (`getConnectionEndpoints`) and the operator's role flags (Network page).
4
5
  *
5
- * There is no environment variable for this answer. The hub enumerates its
6
- * interfaces, knows its own listen port, honours the operator's allowlist and
7
- * knows its tunnel and mesh names — every input the answer needs. A variable
8
- * that restated it could only drift from it: a Mac hub (whose desktop app has
9
- * no field for one) and any container started without it handed agents
10
- * `https://127.0.0.1:4443`, an address that names the AGENT, so every addon and
11
- * model pull failed with a connection refused that looked like a network fault.
6
+ * There is no environment variable for this answer (D729). The hub enumerates
7
+ * its interfaces, knows its own listen port, honours the operator's allowlist
8
+ * and knows its tunnel and mesh names — every input the automatic answer
9
+ * needs. A variable that restated it could only drift from it.
12
10
  *
13
- * Two audiences, because they reach the hub from different places:
11
+ * ## Roles (D734)
14
12
  *
15
- * - `cluster` — another node or a LAN device dialling the hub: an agent
16
- * pulling a staged addon bundle or model, a camera relay told where the
17
- * broker is. A LAN IPv4 literal first (a `.local` name or an operator
18
- * hostname may not resolve inside an agent's container), then any other
19
- * plausible LAN address, then the mesh. Never a public tunnel: it is a
20
- * detour off the LAN for traffic that never left it, and tunnels cap bodies.
21
- * - `browser` — a person's browser or a third party coming back to the hub: a
22
- * magic-link e-mail, an OIDC callback, the WebAuthn relying party, an OAuth2
23
- * `hubUrl` claim. The public tunnel, then the mesh, then the LAN.
13
+ * An address — a DETECTED endpoint or an operator-entered CUSTOM address —
14
+ * carries role flags, the same way for both:
24
15
  *
25
- * Both answers exclude loopback and the CamStack app link, always: loopback
26
- * names whoever dials it, and the app link is not a hub address. `null` means
27
- * the palette offered nothing usable — the caller must say so rather than
28
- * substitute `127.0.0.1`.
16
+ * - `appConnections` (many) — what the CamStack apps try when connecting.
17
+ * Automatic: every LAN IPv4 address plus the public tunnel.
18
+ * - `notificationTaps` (one) — ONLY where tapping a notification opens.
19
+ * Automatic: the CamStack app link (D709); a hub address may be flagged.
20
+ * - `publicEndpoint` (one) — every URL that must work from OUTSIDE the home
21
+ * network: sign-in links, OIDC / OAuth2 callbacks, the passkey relying
22
+ * party, account linking, and the notification centre's action buttons,
23
+ * attachment / media links and admin links. Automatic: the public tunnel,
24
+ * then the mesh, then the LAN. Never the app link.
25
+ * - `internal` (one) — what agents and LAN devices download from (addon
26
+ * bundles, models, a camera relay's broker host, Home Assistant media).
27
+ * Automatic: a LAN IPv4 literal, then any plausible LAN address, then the
28
+ * mesh. Never a public tunnel: it is a detour off the LAN for traffic that
29
+ * never left it.
29
30
  *
30
- * ## The operator override
31
- *
32
- * Auto-detection sees the hub's own interfaces, which is not always what the
33
- * other side dials: a container on Docker BRIDGE networking sees only its
34
- * 172.17.x, and a hub behind NAT or a VPN is reached at an address it never
35
- * holds. For that, each audience has ONE stored override on the Network page
36
- * (a `local-network` setting, never an environment variable). When set it wins
37
- * outright; empty is automatic. It is validated on write by
38
- * {@link validateHubAddressOverride} — http(s), no credentials, never loopback.
31
+ * A single-valued role is stored as ONE URL, so "at most one address carries
32
+ * it" holds by construction, not by a check. A flag wins outright; no flag is
33
+ * automatic. Automatic picks only among DETECTED endpoints — a custom address
34
+ * serves exactly the roles it is flagged with. Loopback and the app link are
35
+ * never an internal or public-endpoint answer: loopback names whoever dials
36
+ * it, and the app link is not a hub address. `null` means nothing qualifies —
37
+ * the caller must say so rather than substitute `127.0.0.1`.
39
38
  */
40
- import type { ConnectionEndpoint } from './local-network.cap.js';
41
- export type HubAddressAudience = 'cluster' | 'browser';
42
- export type HubAddressOverrideCheck = {
39
+ import type { z } from 'zod';
40
+ import type { ConnectionEndpoint, HubAddressRoleSchema } from './local-network.cap.js';
41
+ export declare const HUB_ADDRESS_ROLES: readonly ["appConnections", "notificationTaps", "internal", "publicEndpoint"];
42
+ export type HubAddressRole = z.infer<typeof HubAddressRoleSchema>;
43
+ /** The roles at most one address carries. */
44
+ export type SingleHubAddressRole = Exclude<HubAddressRole, 'appConnections'>;
45
+ export declare const SINGLE_HUB_ADDRESS_ROLES: readonly SingleHubAddressRole[];
46
+ export declare function isSingleHubAddressRole(role: HubAddressRole): role is SingleHubAddressRole;
47
+ /** The operator's role flags, as stored. `null` / `[]` = automatic. */
48
+ export interface HubAddressFlags {
49
+ readonly appConnections: readonly string[];
50
+ readonly notificationTaps: string | null;
51
+ readonly internal: string | null;
52
+ readonly publicEndpoint: string | null;
53
+ }
54
+ export declare const AUTOMATIC_HUB_ADDRESS_FLAGS: HubAddressFlags;
55
+ export type HubAddressCheck = {
43
56
  readonly ok: true;
44
57
  readonly baseUrl: string;
45
58
  } | {
@@ -47,30 +60,73 @@ export type HubAddressOverrideCheck = {
47
60
  readonly reason: string;
48
61
  };
49
62
  /**
50
- * Validate an operator-typed override: an http(s) URL with a host, no
63
+ * Validate an operator-typed address: an http(s) URL with a host, no
51
64
  * credentials, no path, and never loopback (it would name whoever dials it).
52
65
  * Answers the normalised origin (`scheme://host[:port]`).
53
66
  */
54
- export declare function validateHubAddressOverride(raw: string): HubAddressOverrideCheck;
55
- /** Where a resolved hub address came from. */
56
- export type HubAddressSource = 'override' | 'auto' | 'none';
57
- export interface HubAddressResolution {
58
- /** The operator's stored override, or `null` for automatic. */
59
- readonly override: string | null;
67
+ export declare function validateCustomAddress(raw: string): HubAddressCheck;
68
+ /** The reason a plain-http public endpoint is refused unless accepted. */
69
+ export declare const PUBLIC_ENDPOINT_HTTP_REASON = "The public endpoint needs an https:// address: passkeys and most identity providers refuse a plain-http origin. Accept http only when sign-in and notification links never leave your own network.";
70
+ /**
71
+ * May `baseUrl` carry `role`? The address check above, plus two role rules:
72
+ * the app link carries `notificationTaps` only (it is not a hub address), and
73
+ * a plain-http address carries `publicEndpoint` only when the operator
74
+ * explicitly accepted it (`acceptInsecureHttp`) — a LAN-only password or
75
+ * magic-link sign-in works over http, a passkey or an OIDC callback does not.
76
+ */
77
+ export declare function checkRoleAddress(role: HubAddressRole, baseUrl: string, options?: {
78
+ readonly acceptInsecureHttp?: boolean;
79
+ }): HubAddressCheck;
80
+ /** Where a role's address came from. */
81
+ export type HubAddressSource = 'flagged' | 'auto' | 'none';
82
+ export interface HubAddressRoleResolution {
83
+ /** The address flagged for the role, or `null` for automatic. */
84
+ readonly flagged: string | null;
60
85
  /** The address in use, or `null` when nothing qualifies. */
61
86
  readonly resolved: string | null;
62
87
  readonly source: HubAddressSource;
63
88
  }
89
+ export interface HubAppConnectionsResolution {
90
+ /** The addresses flagged `appConnections`, or empty for automatic. */
91
+ readonly flagged: readonly string[];
92
+ /** What the apps race right now (may be empty when nothing is up). */
93
+ readonly resolved: readonly string[];
94
+ readonly source: HubAddressSource;
95
+ }
96
+ /** `internal`: what agents and LAN devices download from. */
97
+ export declare function resolveInternalAddress(endpoints: readonly ConnectionEndpoint[], flags: HubAddressFlags): HubAddressRoleResolution;
98
+ /**
99
+ * `publicEndpoint`: every URL that must work off the LAN — sign-in links, OIDC
100
+ * / OAuth2 callbacks, the relying party, and notification buttons,
101
+ * attachments, media and admin links.
102
+ */
103
+ export declare function resolvePublicEndpoint(endpoints: readonly ConnectionEndpoint[], flags: HubAddressFlags): HubAddressRoleResolution;
104
+ /** `notificationTaps`: the flagged address, else the CamStack app link (D709). */
105
+ export declare function resolveNotificationTapAddress(flags: HubAddressFlags): HubAddressRoleResolution;
106
+ /** AUTO app connections: LAN IPv4 + the public tunnel. Never IPv6, mesh, loopback or custom. */
107
+ export declare function isDefaultAppConnectionEndpoint(endpoint: ConnectionEndpoint): boolean;
108
+ /**
109
+ * The endpoints the apps race: the flagged ones that are in `endpoints`
110
+ * (which carries the custom addresses flagged `appConnections`), else AUTO. A flagged
111
+ * set none of which is currently up falls back to AUTO rather than racing
112
+ * nothing.
113
+ */
114
+ export declare function selectAppConnectionEndpoints(endpoints: readonly ConnectionEndpoint[], flags: HubAddressFlags): ConnectionEndpoint[];
115
+ /** `appConnections`: what the apps try when connecting. */
116
+ export declare function resolveAppConnections(endpoints: readonly ConnectionEndpoint[], flags: HubAddressFlags): HubAppConnectionsResolution;
117
+ /** Every role's answer. */
118
+ export interface HubAddressRoles {
119
+ readonly appConnections: HubAppConnectionsResolution;
120
+ readonly notificationTaps: HubAddressRoleResolution;
121
+ readonly internal: HubAddressRoleResolution;
122
+ readonly publicEndpoint: HubAddressRoleResolution;
123
+ }
64
124
  /**
65
- * The hub's base URL for `audience`, without a trailing slash, or `null` when
66
- * the palette holds nothing that audience can reach. A valid operator
67
- * `override` wins outright; an empty one means automatic. Ties inside a rank
68
- * go to the palette's own `priority` (its preferred interface first).
125
+ * Every role at once, each through its own resolver. `appPalette` is what
126
+ * the apps race (it carries the custom addresses flagged `appConnections`);
127
+ * `hubPalette` is the detected HTTPS palette `internal` and `publicEndpoint`
128
+ * resolve over.
69
129
  */
70
- export declare function pickHubBaseUrl(endpoints: readonly ConnectionEndpoint[], audience: HubAddressAudience, override?: string | null): string | null;
71
- /** {@link pickHubBaseUrl}, saying where the answer came from. */
72
- export declare function resolveHubAddress(endpoints: readonly ConnectionEndpoint[], audience: HubAddressAudience, override: string | null): HubAddressResolution;
73
- /** The bare hostname of {@link pickHubBaseUrl}'s answer, or `null`. */
74
- export declare function pickHubHostname(endpoints: readonly ConnectionEndpoint[], audience: HubAddressAudience, override?: string | null): string | null;
130
+ export declare function resolveHubAddressRoles(appPalette: readonly ConnectionEndpoint[], hubPalette: readonly ConnectionEndpoint[], flags: HubAddressFlags): HubAddressRoles;
75
131
  /** The bare hostname of a base URL, or `null` when it does not parse. */
76
132
  export declare function hubAddressHostname(baseUrl: string | null): string | null;
@@ -64,7 +64,7 @@ export { EMBEDDING_MODEL_FAILED, EMBEDDING_REQUIREMENTS_FAILED, EMBEDDING_REQUIR
64
64
  export type { FailureContribution, IFailureContributionProvider, } from './failure-contribution.cap.js';
65
65
  export { FailureContributionSchema, FailureReasonCountSchema, failureContributionCapability, } from './failure-contribution.cap.js';
66
66
  export { filesystemBrowseCapability, type IFilesystemBrowseProvider, } from './filesystem-browse.cap.js';
67
- export { type HubAddressAudience, type HubAddressOverrideCheck, type HubAddressResolution, type HubAddressSource, hubAddressHostname, pickHubBaseUrl, pickHubHostname, resolveHubAddress, validateHubAddressOverride, } from './hub-address.js';
67
+ export { AUTOMATIC_HUB_ADDRESS_FLAGS, checkRoleAddress, HUB_ADDRESS_ROLES, type HubAddressCheck, type HubAddressFlags, type HubAddressRole, type HubAddressRoleResolution, type HubAddressRoles, type HubAddressSource, type HubAppConnectionsResolution, hubAddressHostname, isDefaultAppConnectionEndpoint, isSingleHubAddressRole, PUBLIC_ENDPOINT_HTTP_REASON, resolveAppConnections, resolveHubAddressRoles, resolveInternalAddress, resolveNotificationTapAddress, resolvePublicEndpoint, SINGLE_HUB_ADDRESS_ROLES, type SingleHubAddressRole, selectAppConnectionEndpoints, validateCustomAddress, } from './hub-address.js';
68
68
  export { type HfModelResolution, HfModelResolutionSchema, type ILlmProvider, type LlmDefault, LlmDefaultSchema, type LlmDefaultSelector, LlmDefaultSelectorSchema, type LlmProfile, type LlmProfileKind, type LlmProfileKindDescriptor, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, type LlmRuntimeNode, LlmRuntimeNodeSchema, type LlmUsageRollup, LlmUsageRollupSchema, llmCapability, type ManagedModelCatalogEntry, ManagedModelCatalogEntrySchema, } from './llm.cap.js';
69
69
  export { type AppleFmAvailability, AppleFmAvailabilitySchema, type AppleFmUnavailableReason, AppleFmUnavailableReasonSchema, type ILlmRuntimeProvider, type LlmDownloadProgress, LlmDownloadProgressSchema, type LlmNodeModel, LlmNodeModelSchema, type LlmRuntimeAppleCompleteInput, LlmRuntimeAppleCompleteInputSchema, type LlmRuntimeCancelInput, LlmRuntimeCancelInputSchema, type LlmRuntimeCompleteInput, LlmRuntimeCompleteInputSchema, type LlmRuntimeDiskUsage, LlmRuntimeDiskUsageSchema, type LlmRuntimeStatus, LlmRuntimeStatusSchema, llmRuntimeCapability, type ManagedModelExtraFile, ManagedModelExtraFileSchema, type ManagedModelRef, ManagedModelRefSchema, type ManagedRuntimeConfig, ManagedRuntimeConfigSchema, } from './llm-runtime.cap.js';
70
70
  export { type LlmErrorCode, LlmErrorCodeSchema, type LlmGenerateBaseInput, LlmGenerateBaseInputSchema, type LlmGenerateErr, LlmGenerateErrSchema, type LlmGenerateOk, LlmGenerateOkSchema, type LlmGenerateResult, LlmGenerateResultSchema, type LlmImage, LlmImageSchema, type LlmRefusalSource, LlmRefusalSourceSchema, type LlmRetryPolicy, LlmRetryPolicySchema, LlmTimeoutDefaults, type LlmUsage, LlmUsageSchema, } from './llm-shared.js';
@@ -90,8 +90,8 @@ export { type Attachment, type AttachmentMediaType, AttachmentMediaTypeSchema, A
90
90
  export { consumableLowPercentOf, type INotificationRulesProvider, isRetiredClearKey, NC_ALARM_DELAY_MAX_SEC, NC_ALARM_NONBLOCKING_MAX, NC_ALARM_SENSORS_MAX, NC_ALARM_SYSTEM_EVENT_KINDS, NC_ALARM_TRIGGERED_MAX_SEC, NC_AUDIO_DBFS_FLOOR, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_CLIP_POST_ROLL_DEFAULT_SEC, NC_CLIP_PRE_ROLL_DEFAULT_SEC, NC_CLIP_RETENTION_MAX_SEC, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_CONSUMABLE_LOW_PERCENT_DEFAULT, NC_CONSUMABLE_LOW_PERCENT_MAX, NC_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_DEFAULT_SNOOZE_MINUTES, NC_GROUPING_DEFAULT_SEC, NC_GROUPING_MAX_SEC, NC_GROUPING_MIN_SEC, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_RULE_CLEARABLE_KEYS, NC_RULE_RETIRED_CLEAR_KEYS, NC_SNOOZE_MAX_MINUTES, NC_TANK_SYSTEM_EVENT_KINDS, type NcActionBinding, NcActionBindingSchema, type NcAlarmBlocking, type NcAlarmBlockingEdit, NcAlarmBlockingEditSchema, NcAlarmBlockingSchema, type NcAlarmConfig, NcAlarmConfigSchema, type NcAlarmCreateProfileInput, NcAlarmCreateProfileInputSchema, type NcAlarmModeCoverage, NcAlarmModeCoverageSchema, type NcAlarmModeDelays, type NcAlarmModeDelaysEdit, NcAlarmModeDelaysEditSchema, NcAlarmModeDelaysSchema, type NcAlarmModeDeviceList, NcAlarmModeDeviceListSchema, type NcAlarmNonBlocking, type NcAlarmNonBlockingEdit, NcAlarmNonBlockingEditSchema, NcAlarmNonBlockingSchema, type NcAlarmPostTriggeredAction, NcAlarmPostTriggeredActionSchema, type NcAlarmProfileIdInput, NcAlarmProfileIdInputSchema, type NcAlarmProfileMeta, NcAlarmProfileMetaSchema, type NcAlarmProfilesView, NcAlarmProfilesViewSchema, type NcAlarmRenameProfileInput, NcAlarmRenameProfileInputSchema, type NcAlarmSecureOnArmEdit, NcAlarmSecureOnArmEditSchema, type NcAlarmSecureOnArmOff, NcAlarmSecureOnArmOffSchema, type NcAlarmSensorReading, NcAlarmSensorReadingSchema, type NcAlarmSensorState, NcAlarmSensorStateSchema, type NcAlarmSensors, type NcAlarmSensorsInput, NcAlarmSensorsInputSchema, NcAlarmSensorsSchema, type NcAlarmSettings, type NcAlarmSettingsPatch, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, type NcAlarmSkippedDevice, NcAlarmSkippedDeviceSchema, type NcAlarmSkipReason, NcAlarmSkipReasonSchema, type NcAudioCondition, NcAudioConditionSchema, type NcClipRetentionAsk, NcClipRetentionAskSchema, type NcClipRetentionPlan, NcClipRetentionPlanSchema, type NcConditionDescriptor, NcConditionDescriptorSchema, type NcConditions, NcConditionsSchema, type NcConfirm, type NcConfirmExpect, NcConfirmExpectSchema, NcConfirmSchema, type NcCrossing, NcCrossingSchema, type NcDelivery, NcDeliverySchema, type NcDeviceStateCondition, NcDeviceStateConditionSchema, type NcHistoryEntry, NcHistoryEntrySchema, type NcHistoryFilter, NcHistoryFilterSchema, type NcHistoryRecordKind, NcHistoryRecordKindSchema, type NcHistoryStatus, NcHistoryStatusSchema, type NcHistorySubject, NcHistorySubjectSchema, type NcHookBindings, NcHookBindingsSchema, type NcLegacyRuleActionSequence, NcLegacyRuleActionSequenceSchema, type NcLinkedCameraMode, NcLinkedCameraModeSchema, type NcMediaFrame, NcMediaFrameSchema, type NcMediaPolicy, NcMediaPolicySchema, type NcOccupancyCondition, NcOccupancyConditionSchema, type NcPlateMatcher, NcPlateMatcherSchema, type NcRule, type NcRuleAction, NcRuleActionSchema, type NcRuleActionSequence, NcRuleActionSequenceSchema, type NcRuleActions, NcRuleActionsSchema, type NcRuleClearableKey, NcRuleClearableKeySchema, type NcRuleInput, NcRuleInputSchema, NcRuleKindSchema, type NcRuleLastRun, NcRuleLastRunSchema, type NcRuleLastRuns, NcRuleLastRunsSchema, type NcRuleNotificationButton, NcRuleNotificationButtonSchema, type NcRulePatch, NcRulePatchSchema, NcRuleSchema, type NcRuleTarget, NcRuleTargetSchema, type NcRuleUpdateInput, NcRuleUpdateInputSchema, type NcSceneCondition, NcSceneConditionSchema, type NcSchedule, NcScheduleSchema, type NcScheduleWindow, NcScheduleWindowSchema, type NcSensorTransition, NcSensorTransitionSchema, type NcSharedSequence, type NcSharedSequenceInput, NcSharedSequenceInputSchema, NcSharedSequenceSchema, type NcSnooze, type NcSnoozeInput, NcSnoozeInputSchema, NcSnoozeSchema, type NcSnoozeScope, NcSnoozeScopeSchema, type NcSnoozeSuppressed, NcSnoozeSuppressedSchema, type NcStateSummaryPreview, type NcStateSummaryPreviewRow, NcStateSummaryPreviewRowSchema, NcStateSummaryPreviewSchema, type NcStateSummaryPreviewSection, NcStateSummaryPreviewSectionSchema, type NcStateSummarySectionId, NcStateSummarySectionIdSchema, type NcStateSummarySplit, NcStateSummarySplitSchema, type NcSystemEventCondition, NcSystemEventConditionSchema, type NcSystemEventDelivery, type NcSystemEventDeliveryMode, NcSystemEventDeliveryModeSchema, NcSystemEventDeliverySchema, type NcSystemEventKind, NcSystemEventKindSchema, type NcTemplateFamily, NcTemplateFamilySchema, type NcTemplateField, NcTemplateFieldSchema, type NcTemplatePreview, type NcTemplatePreviewInput, NcTemplatePreviewInputSchema, NcTemplatePreviewSchema, type NcTemplateVarContext, NcTemplateVarContextSchema, type NcTemplateVarDescriptor, NcTemplateVarDescriptorSchema, type NcTemplateVarGroup, NcTemplateVarGroupSchema, type NcTemplateVarKind, NcTemplateVarKindSchema, type NcTestResult, NcTestResultSchema, type NcThrottle, type NcThrottleGranularity, NcThrottleGranularitySchema, NcThrottleSchema, type NcZoneCondition, NcZoneConditionSchema, notificationRulesCapability, } from './notification-rules.cap.js';
91
91
  export { type IOauthIntegrationProvider, type OauthIntegrationDescriptor, OauthIntegrationDescriptorSchema, oauthIntegrationCapability, } from './oauth-integration.cap.js';
92
92
  export { AnalyticsLtsSeriesSchema, type AudioEvent, type AudioEventDraft, AudioEventSchema, type DetectionSource, DetectionSourceSchema, EVENT_DENSITY_BATCH_MAX, type EventDensityBucket, EventDensityBucketSchema, type EventDensityForDevice, EventDensityForDeviceSchema, type EventKind, type EventKindCategory, EventKindCategorySchema, type EventKindDescriptor, EventKindDescriptorSchema, type EventKindIcon, EventKindIconSchema, EventKindSchema, type EventKindsForDevice, EventKindsForDeviceSchema, type EventMediaKindBreakdown, type EventMediaKindFootprint, type EventPruneCounts, type EventStoreDeviceFootprint, type EventStoreFootprint, type IPipelineAnalyticsProvider, type KeyEvent, KeyEventSchema, type KeyEventsForDevice, type LabelAttribution, LabelAttributionSchema, type LabelTier, LabelTierSchema, LTS_SCOPE_CLASS_SEPARATOR, type LtsBucket, LtsBucketSchema, MAX_TRACK_DEBUG_NOTE_LEN, type MediaFile, type MediaFileBytes, type MediaFileInfo, MediaFileInfoSchema, type MediaFileKind, MediaFileKindEnum, type MediaFileRef, MediaFileRefSchema, MediaFileSchema, type MotionEvent, type MotionEventDraft, MotionEventSchema, type ObjectEvent, type ObjectEventDraft, ObjectEventSchema, occupancyScope, parseOccupancyScope, pipelineAnalyticsCapability, type RebuildObjectEmbeddingsRefusal, RebuildObjectEmbeddingsRefusalSchema, type RecentTracksPage, RecentTracksPageSchema, type RecentTracksQuery, RecentTracksQueryInput, type RetrainAnnotation, type RetrainAnnotationDraft, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, type RetrainAssistResult, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, type RetrainFrame, type RetrainFrameCandidate, RetrainFrameCandidateSchema, type RetrainFrameList, RetrainFrameListSchema, RetrainFrameSchema, type RetrainFrameSelection, RetrainFrameSelectionSchema, type RetrainMacroClass, RetrainMacroClassSchema, type RetrainStatus, RetrainStatusSchema, type RetrainTrack, RetrainTrackSchema, type RetrainTransitionResult, RetrainTransitionResultSchema, type ScoredObjectEvent, ScoredObjectEventSchema, type SensorEvent, SensorEventSchema, type Track, type TrackCascadeCounts, TrackCascadeCountsSchema, type TrackEnvelope, TrackEnvelopeSchema, TrackedDetectionSchema, type TrackFlags, type TrackFlagsPatch, TrackFlagsPatchSchema, TrackFlagsSchema, type TrackProjection, TrackProjectionSchema, TrackSchema, type TrackSource, TrackSourceSchema, type TrackState, TrackStateSchema, type TrackZoneFilter, TrackZoneFilterSchema, type TrainingExportDeviceTotals, TrainingExportDeviceTotalsSchema, type TrainingExportSummary, TrainingExportSummarySchema, type ZoneCrossing, type ZoneCrossingDirection, ZoneCrossingDirectionSchema, ZoneCrossingSchema, } from './pipeline-analytics.cap.js';
93
- export type { EffectiveTuning, EffectiveTuningInput, NativeCropRef, PipelineStepInputOutput, SuppliedRootOutput, PipelineValidationIssue, PipelineValidationResult, } from './pipeline-executor.cap.js';
94
- export { EffectiveTuningSchema, ModelSubstitutionSchema, NativeCropRefSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, SuppliedRootOutputSchema, pipelineExecutorCapability, } from './pipeline-executor.cap.js';
93
+ export type { EffectiveTuning, EffectiveTuningInput, NativeCropRef, PipelineStepInputOutput, PipelineValidationIssue, PipelineValidationResult, SuppliedRootOutput, } from './pipeline-executor.cap.js';
94
+ export { EffectiveTuningSchema, ModelSubstitutionSchema, NativeCropRefSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, pipelineExecutorCapability, SuppliedRootOutputSchema, } from './pipeline-executor.cap.js';
95
95
  export type { CameraAssignmentStatus, CameraAudioStatus, CameraBrokerProfile, CameraBrokerStatus, CameraDecoderShm, CameraDecoderStatus, CameraDetectionPhase, CameraDetectionProvisioning, CameraDetectionProvisioningState, CameraDetectionStatus, CameraMotionStatus, CameraRecordingMode, CameraRecordingStatus, CameraSourceStatus, CameraSourceStream, CameraStatus, CameraStatusDegradation, CameraStatusDegradationReason, CameraStatusStage, ClusterModelChoice, ClusterModelChoiceUnreadableReason, DiskReconcileJob, InferenceDeviceExclusionReason, IngestOwner, NodeInferenceDevice, NodeInferenceDevices, OccupancyLookAnswer, OccupancyLookRefusal, OccupancyLookRequest, SetCameraSensorsInput, } from './pipeline-orchestrator.cap.js';
96
96
  export { AgentLoadSummarySchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CapabilityBindingsSchema, CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS, ClusterModelChoiceSchema, DiskReconcileJobSchema, GlobalMetricsSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, OccupancyLookAnswerSchema, OccupancyLookRefusalSchema, OccupancyLookRequestSchema, PipelineAssignmentSchema, pipelineOrchestratorCapability, SetCameraSensorsInputSchema, } from './pipeline-orchestrator.cap.js';
97
97
  export type { DetailParent, DetailResult, MotionSource, MotionSources, OccupancyBurstRefusal, ParkedFrameKind, ParkedTrackFrame, ParkRefusal, ParkTrackFrameResult, ReportMotionInput, RunDetailSubtreeInput, RunDetailSubtreeResult, RunnerFrameSource, RunnerInferenceDevice, RunnerJumpStepProvisioning, RunStatelessStepInput, RunStatelessStepResult, StatelessStepRefusal, } from './pipeline-runner.cap.js';
@@ -175,7 +175,7 @@ export { type BacklightMode, BacklightModeSchema, type ExposureMode, ExposureMod
175
175
  export { AvailableIntegrationTypeSchema, CreateIntegrationInputSchema, DeleteIntegrationResultSchema, type IIntegrationsProvider, IntegrationLiteSchema, type IntegrationTestConnectionResult, type IntegrationTestConnectionStatus, IntegrationWithStateSchema, integrationsCapability, TestConnectionResultSchema, TestConnectionStatusEnum, UpdateIntegrationInputSchema, } from './integrations.cap.js';
176
176
  export { type IIntercomProvider, type IntercomAbility, IntercomAbilitySchema, type IntercomStatus, IntercomStatusSchema, intercomCapability, } from './intercom.cap.js';
177
177
  export { type DeviceCodeSeverity, DeviceCodeSeveritySchema, type ILawnMowerControlProvider, type LawnMowerActivity, LawnMowerActivitySchema, type LawnMowerControlStatus, LawnMowerControlStatusSchema, lawnMowerControlCapability, } from './lawn-mower-control.cap.js';
178
- export { type AdvertisedLocalPort, type ConnectionEndpoint, type HubAddresses, type HubAddressSnapshot, type ILocalNetworkProvider, type LocalInterface, localNetworkCapability, type NotificationEndpoint, } from './local-network.cap.js';
178
+ export { type AdvertisedLocalPort, type ConnectionEndpoint, type HubAddressBook, type HubAddresses, HubAddressRoleSchema, type HubAddressRow, type HubAddressSnapshot, type ILocalNetworkProvider, type LocalInterface, localNetworkCapability, type NotificationEndpoint, } from './local-network.cap.js';
179
179
  export { type ILockControlProvider, type LockControlStatus, LockControlStatusSchema, type LockState, LockStateSchema, lockControlCapability, } from './lock-control.cap.js';
180
180
  export { type MaskGridDims, MaskGridDimsSchema, type MaskGridShape, MaskGridShapeSchema, type MaskLineShape, MaskLineShapeSchema, type MaskPoint, MaskPointSchema, type MaskPolygonShape, MaskPolygonShapeSchema, type MaskPolygonVertices, MaskPolygonVerticesSchema, type MaskRectShape, MaskRectShapeSchema, type MaskShape, type MaskShapeKind, MaskShapeKindSchema, MaskShapeSchema, } from './mask-shape.js';
181
181
  export { type IMediaPlayerProvider, type MediaInfo, type MediaPlayerRepeat, MediaPlayerRepeatSchema, type MediaPlayerState, MediaPlayerStateSchema, type MediaPlayerStatus, MediaPlayerStatusSchema, mediaPlayerCapability, } from './media-player.cap.js';