@camstack/server 1.2.897 → 1.2.899

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.
Files changed (114) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/api/trpc/cap-router-runtime.js +1 -0
  3. package/dist/api/trpc/generated-cap-mounts.js +2 -1
  4. package/dist/api/trpc/generated-cap-routers.js +1894 -1870
  5. package/dist/core/addon/hub-addon-api.js +1 -0
  6. package/dist/core/moleculer/moleculer.service.js +1 -0
  7. package/package.json +11 -10
  8. package/system/dist/addon-runner.js +207 -13
  9. package/system/dist/addon-runner.mjs +207 -13
  10. package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
  11. package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
  12. package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
  13. package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
  14. package/system/dist/builtins/alerts/alerts.addon.js +1 -1
  15. package/system/dist/builtins/alerts/alerts.addon.mjs +1 -1
  16. package/system/dist/builtins/autotrack/index.js +1 -1
  17. package/system/dist/builtins/autotrack/index.mjs +1 -1
  18. package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
  19. package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
  20. package/system/dist/builtins/calendars/calendars.addon.js +1 -1
  21. package/system/dist/builtins/calendars/calendars.addon.mjs +1 -1
  22. package/system/dist/builtins/camera-grid/index.js +1 -1
  23. package/system/dist/builtins/camera-grid/index.mjs +1 -1
  24. package/system/dist/builtins/composer/composer.addon.js +14 -11
  25. package/system/dist/builtins/composer/composer.addon.mjs +11 -8
  26. package/system/dist/builtins/console-logging/index.js +1 -1
  27. package/system/dist/builtins/console-logging/index.mjs +1 -1
  28. package/system/dist/builtins/core-blocks/core-blocks.addon.js +170 -14
  29. package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +169 -13
  30. package/system/dist/builtins/core-blocks/migrations/automation-confirmed-view.d.ts +23 -0
  31. package/system/dist/builtins/core-blocks/migrations/index.d.ts +1 -0
  32. package/system/dist/builtins/core-blocks/migrations/pump-cycle-split.d.ts +1 -0
  33. package/system/dist/builtins/device-history/device-history.addon.js +10 -9
  34. package/system/dist/builtins/device-history/device-history.addon.mjs +10 -9
  35. package/system/dist/builtins/device-manager/command-holds-wiring.d.ts +22 -0
  36. package/system/dist/builtins/device-manager/command-holds.d.ts +77 -0
  37. package/system/dist/builtins/device-manager/device-manager.addon.d.ts +3 -0
  38. package/system/dist/builtins/device-manager/device-manager.addon.js +1078 -41
  39. package/system/dist/builtins/device-manager/device-manager.addon.mjs +1062 -42
  40. package/system/dist/builtins/device-manager/device-state-mirror.d.ts +42 -9
  41. package/system/dist/builtins/device-manager/state-refresh-scheduler.d.ts +92 -0
  42. package/system/dist/builtins/device-manager/state-refresh-wiring.d.ts +23 -0
  43. package/system/dist/builtins/hub-forwarder/index.js +1 -1
  44. package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
  45. package/system/dist/builtins/keychain/index.js +4 -4
  46. package/system/dist/builtins/keychain/index.mjs +4 -4
  47. package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
  48. package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
  49. package/system/dist/builtins/local-auth/local-auth.addon.js +2 -2
  50. package/system/dist/builtins/local-auth/local-auth.addon.mjs +2 -2
  51. package/system/dist/builtins/local-network/local-network.addon.js +3 -3
  52. package/system/dist/builtins/local-network/local-network.addon.mjs +3 -3
  53. package/system/dist/builtins/loki-logging/index.js +1 -1
  54. package/system/dist/builtins/loki-logging/index.mjs +1 -1
  55. package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
  56. package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
  57. package/system/dist/builtins/platform-probe/index.js +1 -1
  58. package/system/dist/builtins/platform-probe/index.mjs +1 -1
  59. package/system/dist/builtins/record-entries/index.js +1 -1
  60. package/system/dist/builtins/record-entries/index.mjs +1 -1
  61. package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
  62. package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
  63. package/system/dist/builtins/shared/device-state-changed.d.ts +8 -0
  64. package/system/dist/builtins/snapshot/index.js +1 -1
  65. package/system/dist/builtins/snapshot/index.mjs +1 -1
  66. package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
  67. package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
  68. package/system/dist/builtins/sqlite-storage/index.js +1 -1
  69. package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
  70. package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +3 -3
  71. package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +3 -3
  72. package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
  73. package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
  74. package/system/dist/builtins/system-config/system-config.addon.js +3 -3
  75. package/system/dist/builtins/system-config/system-config.addon.mjs +284 -284
  76. package/system/dist/builtins/winston-logging/index.js +1 -1
  77. package/system/dist/builtins/winston-logging/index.mjs +1 -1
  78. package/system/dist/{capture-engine-Bjgs__i9.mjs → capture-engine-BcD6iCZM.mjs} +37 -2
  79. package/system/dist/{capture-engine-D1rjl2dW.js → capture-engine-LHKTf-nM.js} +48 -1
  80. package/system/dist/{composition-sources-B727nlA0.mjs → composition-sources-C3ARJk2g.mjs} +2 -21
  81. package/system/dist/{composition-sources-CF2-u58e.js → composition-sources-DNUDbuXy.js} +1 -32
  82. package/system/dist/{constants-DaR1SUh7.js → constants-dL8fl9aI.js} +1 -1
  83. package/system/dist/{constants-BF309c_I.mjs → constants-er38mZOb.mjs} +1 -1
  84. package/system/dist/{device-ca-DT1hYtdW.mjs → device-ca-Ccz5olgH.mjs} +1 -1
  85. package/system/dist/{device-ca-BqcX5_f2.js → device-ca-KWa6uJRU.js} +1 -1
  86. package/system/dist/{dist-DorY_sjS.mjs → dist-DBanWvHF.mjs} +819 -54
  87. package/system/dist/{dist-BoEy9sm9.js → dist-DEAjZE_-.js} +848 -53
  88. package/system/dist/file-host-worker.js +1 -1
  89. package/system/dist/file-host-worker.mjs +1 -1
  90. package/system/dist/{hub-identity-CZ0nE3GK.mjs → hub-identity-CVv79TVO.mjs} +1 -1
  91. package/system/dist/{hub-identity-DH1rxUMD.js → hub-identity-Dy8ZSUuq.js} +1 -1
  92. package/system/dist/{hub-mdns-ciao-N0nL34fx.js → hub-mdns-ciao-C_XjO7YI.js} +2 -2
  93. package/system/dist/{hub-mdns-ciao-7HK57Vtx.mjs → hub-mdns-ciao-DtmIyWDL.mjs} +2 -2
  94. package/system/dist/index.js +96 -17
  95. package/system/dist/index.mjs +92 -19
  96. package/system/dist/kernel/cap-router-builder.d.ts +7 -0
  97. package/system/dist/kernel/command-follow-up.d.ts +33 -0
  98. package/system/dist/kernel/command-hold-overrides.d.ts +42 -0
  99. package/system/dist/kernel/command-observation.d.ts +3 -0
  100. package/system/dist/kernel/index.d.ts +3 -0
  101. package/system/dist/kernel/moleculer/child-cap-descriptors.d.ts +5 -0
  102. package/system/dist/kernel/moleculer/device-cap-proxy.d.ts +3 -1
  103. package/system/dist/kernel/state-refresh-policies.d.ts +53 -0
  104. package/system/dist/kernel/transport/child-cap-protocol.d.ts +11 -1
  105. package/system/dist/kernel/transport/local-child-registry.d.ts +14 -0
  106. package/system/dist/{legacy-integration-rows-door-CdAQlIvv.mjs → legacy-integration-rows-door-BL8T4lya.mjs} +1 -1
  107. package/system/dist/{legacy-integration-rows-door-BTfeULYt.js → legacy-integration-rows-door-DPInWtE6.js} +1 -1
  108. package/system/dist/{rename-composition-block-B1x-yK5U.js → rename-composition-block-BxzETYOf.js} +1 -1
  109. package/system/dist/{rename-composition-block-CIQjxBUa.mjs → rename-composition-block-Dgo-9-Ts.mjs} +1 -1
  110. package/system/dist/{restore-archive-Bj_gYmE9.mjs → restore-archive-BUtuNTe1.mjs} +82 -82
  111. package/system/dist/{restore-archive-B086o8pL.js → restore-archive-Zvx9sHZP.js} +1 -1
  112. package/system/dist/{wal-maintenance-MVIyxmu7.js → wal-maintenance-DS2IKwtK.js} +0 -0
  113. package/system/dist/{wal-maintenance-Dgfmi-Ao.mjs → wal-maintenance-cASt_sYy.mjs} +0 -0
  114. package/system/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { i as __require } from "./chunk-CNf5ZN-e.mjs";
2
- import { $c as asString$1, Ao as scopesAllowAddon, Da as objectInputDeclaresRequiredDeviceId, Ea as objectInputDeclaresAddonId, El as isDebugChannelName, Fc as ReadinessRegistry, Fi as isCollectionArrayMethod, Go as splitTranslationRef, Hi as isObjectInput, Ic as ReadinessTimeoutError, Jl as resolveCapMount, Ki as kebabToCamel$1, Kl as readinessKey, Kt as PackageRequiresSchema, Lr as describeUnmet, Mt as LOG_LEVEL_RANK, Ni as isArrayOutputSchema, Oi as interpolate, Pc as RUNTIME_DEFAULTS, Pn as addonSettingsCapability, Pt as METHOD_ACCESS_MAP, Qc as asNumber, Qi as lifecycleJobSchema, S as CATALOG_LANGS, Ul as parseJsonObject, Wa as procedureAuthKey, Wi as isVoidInput, Wl as parseJsonUnknown, Wn as bareAddonId, Zc as asJsonObject$1, Zl as scopeKey, _c as DEVICE_SETTINGS_CONTRIBUTION_METHODS, _o as resolveMethodAuth, a as AGENT_MDNS_SERVICE_TYPE, aa as logLevelAtMost, au as userError, cu as withoutCallerStamp, es as supportedRuntimes, fr as compareVersions, gc as DATAPLANE_SECRET_HEADER$1, gl as emitDownForOwnedCaps, hc as CALLER_STAMPED_CAPABILITIES$1, hl as defineRecordKinds, hu as EventCategory$1, ii as extractNestedAddonId, jo as scopesAllowDeviceCap, k as CatalogFileSchema, ki as isAddonInstanceId, o as AGENT_MDNS_TXT_KEYS, oa as looseSchema, ol as collectSecretMarkerRefs, ps as unmetRequirements, pu as errMsg$1, s as ALL_CAPABILITY_DEFINITIONS, ul as createEvent$1, vc as DEVICE_STATUS_METHOD, xl as getDebugInterest, yl as expandCapMethods } from "./dist-DorY_sjS.mjs";
3
- import { d as JWT_SIGNING_KEY_REF, f as JwtSigningKeyUnavailableError, g as processJwtSigningKey, i as generateDeviceCa, l as verifyDeviceLeaf, m as getProcessJwtSigningKeyState, n as DEVICE_CA_KEY_REF, o as issueDeviceLeaf, p as SYSTEM_SECRET_OWNER, s as loadDeviceCa, u as verifyDeviceSignature, v as staticJwtSigningKey } from "./device-ca-DT1hYtdW.mjs";
2
+ import { $l as resolveCapMount, A as CatalogFileSchema, Aa as objectInputDeclaresAddonId, Bc as ReadinessRegistry, Br as describeUnmet, Cc as DEVICE_STATUS_METHOD, El as getDebugInterest, Fo as scopesAllowAddon, Ft as METHOD_ACCESS_MAP, Io as scopesAllowDeviceCap, Ja as procedureAuthKey, Ji as isVoidInput, Jl as parseJsonObject, Ki as isObjectInput, Li as isArrayOutputSchema, Ln as addonSettingsCapability, Mi as interpolate, Ni as isAddonInstanceId, Nt as LOG_LEVEL_RANK, S as CATALOG_LANGS, Sc as DEVICE_SETTINGS_CONTRIBUTION_METHODS, So as resolveMethodAuth, Vc as ReadinessTimeoutError, Xi as kebabToCamel$1, Xo as splitTranslationRef, Yl as parseJsonUnknown, Yt as PackageRequiresSchema, Zl as readinessKey, a as AGENT_MDNS_SERVICE_TYPE, as as supportedRuntimes, bc as CALLER_STAMPED_CAPABILITIES$1, bl as defineRecordKinds, bu as EventCategory$1, ci as extractNestedAddonId, dl as collectSecretMarkerRefs, hl as createEvent$1, hr as compareVersions, il as asString$1, ja as objectInputDeclaresRequiredDeviceId, jl as isDebugChannelName, la as logLevelAtMost, na as lifecycleJobSchema, nl as asJsonObject$1, nu as scopeKey, o as AGENT_MDNS_TXT_KEYS, pu as withoutCallerStamp, qn as bareAddonId, rl as asNumber, s as ALL_CAPABILITY_DEFINITIONS, ua as looseSchema, uu as userError, vs as unmetRequirements, vu as errMsg$1, wl as expandCapMethods, xc as DATAPLANE_SECRET_HEADER$1, xl as emitDownForOwnedCaps, zc as RUNTIME_DEFAULTS, zi as isCollectionArrayMethod } from "./dist-DBanWvHF.mjs";
3
+ import { d as JWT_SIGNING_KEY_REF, f as JwtSigningKeyUnavailableError, g as processJwtSigningKey, i as generateDeviceCa, l as verifyDeviceLeaf, m as getProcessJwtSigningKeyState, n as DEVICE_CA_KEY_REF, o as issueDeviceLeaf, p as SYSTEM_SECRET_OWNER, s as loadDeviceCa, u as verifyDeviceSignature, v as staticJwtSigningKey } from "./device-ca-Ccz5olgH.mjs";
4
4
  import { t as require_read_all_rows } from "./read-all-rows-TaPqdWNF.mjs";
5
5
  import { a as redactLogText, i as redactLogMeta, r as redactLogEntry, t as isCredentialKeyName } from "./log-redactor-XLDrPzOi.mjs";
6
6
  import { AlertCenterAddon, n as lastCauseAfterChunk, r as readRunnerDisplayName, t as CRASH_BREAKER_ERROR_PREFIX } from "./builtins/alerts/alerts.addon.mjs";
@@ -15,7 +15,7 @@ import { t as loadPrefixed } from "./prefix-walk-DAOBSyH1.mjs";
15
15
  import { n as readCurrentCommandOrigin, r as runWithCapCallContext, t as currentCapCallContext } from "./cap-call-scope-Bic6Ekfw.mjs";
16
16
  import { CoreBlocksAddon, c as readUnscopedAddonSettings, o as clearNodeSettings, s as createAddonSettingsStore } from "./builtins/core-blocks/core-blocks.addon.mjs";
17
17
  import "./builtins/core-blocks/index.mjs";
18
- import { DeviceManagerAddon, a as commandObserverLink, c as runObservedCommand, d as readDeviceOrThrow, f as setWrapperActive, i as commandActorFromContext, l as observable, n as __resetCommandObserverRegistryForTests, o as getCommandObserverRegistry, r as addonCommandActor, s as reportCommand, t as CommandObserverRegistry, u as createDeviceSettingsStore } from "./builtins/device-manager/device-manager.addon.mjs";
18
+ import { C as deviceIdOfArgs, D as createDeviceSettingsStore, DeviceManagerAddon, E as observable, O as readDeviceOrThrow, S as commandFollowUpTarget, T as withCommandFollowUp, _ as getCommandObserverRegistry, a as childRefreshSource, b as CommandFollowUpRegistry, c as IN_PROCESS_HOLD_SOURCE, d as getCommandHoldOverrideRegistry, f as CommandObserverRegistry, g as commandObserverLink, h as commandActorFromContext, i as __resetStateRefreshPolicyRegistryForTests, k as setWrapperActive, l as childCommandHoldEntries, m as addonCommandActor, o as childStateRefreshEntries, p as __resetCommandObserverRegistryForTests, r as StateRefreshPolicyRegistry, s as getStateRefreshPolicyRegistry, t as IN_PROCESS_REFRESH_SOURCE, u as childHoldSource, v as reportCommand, w as getCommandFollowUpRegistry, x as __resetCommandFollowUpRegistryForTests, y as runObservedCommand } from "./builtins/device-manager/device-manager.addon.mjs";
19
19
  import "./builtins/device-manager/index.mjs";
20
20
  import { HubForwarderAddon, HubForwarderDestination } from "./builtins/hub-forwarder/index.mjs";
21
21
  import { LivenessMonitorAddon } from "./builtins/liveness-monitor/liveness-monitor.addon.mjs";
@@ -27,22 +27,22 @@ import { LokiDestination, LokiLoggingAddon } from "./builtins/loki-logging/index
27
27
  import NativeMetricsAddon, { a as NativeMetricsProvider, i as parseProcStatusRss, n as nodeProcReader, r as parseProcStat } from "./builtins/native-metrics/native-metrics.addon.mjs";
28
28
  import { DeviceHistoryAddon } from "./builtins/device-history/device-history.addon.mjs";
29
29
  import { FilesystemStorageAddon, t as FilesystemStorageProvider } from "./builtins/sqlite-storage/filesystem-storage.addon.mjs";
30
- import { D as RecordsEngine, l as SqliteSettingsBackend } from "./wal-maintenance-Dgfmi-Ao.mjs";
31
- import { n as clearLegacyIntegrationRows, o as readLegacyIntegrationRows } from "./legacy-integration-rows-door-CdAQlIvv.mjs";
30
+ import { D as RecordsEngine, l as SqliteSettingsBackend } from "./wal-maintenance-cASt_sYy.mjs";
31
+ import { n as clearLegacyIntegrationRows, o as readLegacyIntegrationRows } from "./legacy-integration-rows-door-BL8T4lya.mjs";
32
32
  import { SqliteSettingsAddon } from "./builtins/sqlite-storage/sqlite-settings.addon.mjs";
33
33
  import { ConfigStore, DeviceStore } from "./builtins/sqlite-storage/index.mjs";
34
34
  import { StorageOrchestratorAddon, a as createHubCapForwardService, i as HUB_CAP_FWD_SERVICE, o as stripForwardedCaller, r as HUB_CAP_FWD_ACTION, s as buildStorageLocationRegistry, t as StorageOrchestratorService, u as storageOrchestratorRecordKinds } from "./builtins/storage-orchestrator/storage-orchestrator.addon.mjs";
35
35
  import "./builtins/storage-orchestrator/index.mjs";
36
- import { A as evaluateExistingCert, B as AGENT_HTTPS_NAMES_COLLECTION, C as localCaCommonName, D as LEAF_RENEWAL_WINDOW_DAYS, E as CA_VALIDITY_DAYS, F as isConstrainedCa, H as AgentHttpsNames, I as isLocalOnlyHostname, L as permitsIdentity, M as PERMITTED_DNS_SUFFIXES, N as PERMITTED_IP_RANGES, O as MAX_LEAF_VALIDITY_DAYS, P as buildNameConstraintSet, R as permitsName, T as systemHostFacts, U as getProcessAgentHttpsNames, V as AGENT_HTTPS_NAMES_COLUMNS, W as setProcessAgentHttpsNames, _ as pemDigest, a as AgentHttpsInstallError, c as certificateNames, d as describeHttpsLeaf, f as installAgentHttps, g as loadAgentHttps, h as issueAgentHttpsLeaf, i as loadOrCreateHubId, k as SERVER_AUTH_OID, l as collectAgentNames, m as isPrivateAddress, n as HUB_IDENTITY_RELATIVE, o as acceptAgentSans, p as isContainerBridgeAddress, r as isAnnouncedHubId, s as agentHttpsPaths, t as HUB_IDENTITY_FILE, u as createAgentHttpsRequest, v as pinnedHttpsCaFingerprint, w as collectCertIdentity, y as CA_COMMON_NAME, z as readNameConstraints } from "./hub-identity-CZ0nE3GK.mjs";
37
- import { a as MESH_CA_KEY_REF, i as MESH_CA_FIELD, n as DEFAULT_HUB_TLS_TCP_PORT, o as MESH_CA_SETTINGS_KEY } from "./constants-BF309c_I.mjs";
36
+ import { A as evaluateExistingCert, B as AGENT_HTTPS_NAMES_COLLECTION, C as localCaCommonName, D as LEAF_RENEWAL_WINDOW_DAYS, E as CA_VALIDITY_DAYS, F as isConstrainedCa, H as AgentHttpsNames, I as isLocalOnlyHostname, L as permitsIdentity, M as PERMITTED_DNS_SUFFIXES, N as PERMITTED_IP_RANGES, O as MAX_LEAF_VALIDITY_DAYS, P as buildNameConstraintSet, R as permitsName, T as systemHostFacts, U as getProcessAgentHttpsNames, V as AGENT_HTTPS_NAMES_COLUMNS, W as setProcessAgentHttpsNames, _ as pemDigest, a as AgentHttpsInstallError, c as certificateNames, d as describeHttpsLeaf, f as installAgentHttps, g as loadAgentHttps, h as issueAgentHttpsLeaf, i as loadOrCreateHubId, k as SERVER_AUTH_OID, l as collectAgentNames, m as isPrivateAddress, n as HUB_IDENTITY_RELATIVE, o as acceptAgentSans, p as isContainerBridgeAddress, r as isAnnouncedHubId, s as agentHttpsPaths, t as HUB_IDENTITY_FILE, u as createAgentHttpsRequest, v as pinnedHttpsCaFingerprint, w as collectCertIdentity, y as CA_COMMON_NAME, z as readNameConstraints } from "./hub-identity-CVv79TVO.mjs";
37
+ import { a as MESH_CA_KEY_REF, i as MESH_CA_FIELD, n as DEFAULT_HUB_TLS_TCP_PORT, o as MESH_CA_SETTINGS_KEY } from "./constants-er38mZOb.mjs";
38
38
  import { $ as getProcessMeshCaState, A as emitProcessNodeRegistered, At as readCidrSetting, B as getProcessMeshTlsListenerState, C as verifyMembershipAnswer, Ct as isInsecureOrigin, D as ServiceBroker, Dt as createCidrMatcher, E as Errors, Et as readOriginSetting, F as onProcessNodeRegistered, G as MeshCertificateRegistry, H as setProcessMeshTlsListenerState, I as setProcessMeshHandshakeReporter, J as getProcessMeshCertificateRegistry, K as RENEWAL_ABANDONED, L as setProcessMeshPeerTransportLookup, M as getProcessNodeMeshTransport, N as getProcessPeerLeaf, O as setProcessMeshTlsEnabler, Ot as normalizeIp, P as isProcessVerifiedMeshPeer, Q as MeshCaKeeper, R as renewMeshCertificate, S as signMembershipProof, St as OPAQUE_ORIGIN, SystemConfigAddon, T as TlsTcpTransporter, Tt as parseOriginList, U as MESH_NODE_CERTIFICATES_COLLECTION, V as openMeshTlsWhenRevocationsLoaded, W as MESH_NODE_CERTIFICATES_COLUMNS, X as MeshCrl, Y as setProcessMeshCertificateRegistry, Z as processMeshCrl, _ as keyFingerprintShort, _t as isAllowedAgentDashboardReturnTo, a as dialableHubHost, at as generateMeshCa, b as MEMBERSHIP_PATHS, bt as verifyAgentUiUnlockTicket, c as PAIRING_MAX_CODE_ATTEMPTS, ct as issueMeshLeafForNode, d as PAIRING_PIN_DIGITS, dt as AGENT_DASHBOARD_ORIGINS_FIELD, et as requireProcessMeshCa, f as PAIRING_PROTOCOL, ft as AGENT_UI_UNLOCK_TTL_MS, g as describeCsr, gt as UnlockTicketJtiStore, h as computePairingSas, ht as AGENT_UI_UNLOCK_VERSION, i as AgentPairing, it as exportMeshPrivateKeyPem, j as getProcessMeshHandshakeReporter, k as dropProcessPeer, kt as parseCidrList, l as PAIRING_MAX_SESSIONS, lt as issueMeshLeafFromCsr, m as computePairingCommitment, mt as AGENT_UI_UNLOCK_USE, n as HubPairing, nt as caFingerprintCompact, o as hubHostFromMeshAddress, ot as generateMeshKeyPair, p as PAIRING_TTL_MS, pt as AGENT_UI_UNLOCK_TYP, q as describeMeshLeaf, r as PairingHttpError, rt as createMeshCsrPem, s as PAIRING_CODE_DIGITS, st as isValidAgentNodeId, tt as caFingerprint, u as PAIRING_PATHS, ut as loadMeshCa, v as signPairingProof, vt as mintAgentUiUnlockTicket, w as MESH_TLS_PORT_HELLO_FIELD, wt as normalizeOrigin, x as MembershipResponder, xt as InvalidCorsOriginError, y as verifyPairingProof, yt as parseAgentDashboardOrigins, z as revokeMeshCertificate } from "./builtins/system-config/system-config.addon.mjs";
39
39
  import "./builtins/system-config/index.mjs";
40
40
  import { WinstonDestination, WinstonLoggingAddon } from "./builtins/winston-logging/index.mjs";
41
41
  import { C as isModelDownloaded, E as setHuggingFaceReachabilityObserver, T as revisionWeightUrl, _ as downloadFile, a as startEventLoopStallMonitor, b as fetchJson, c as createAuthenticatedFileServer, d as resolveFilePath, f as ModelDownloadService, g as deleteModelFromDisk, h as collectModelFiles, i as attributeStall, l as parseRangeHeader, m as adoptModelRevisions, n as STALL_REPORT_MS, o as createFileDataPlaneHandler, r as STALL_TICK_MS, s as contentTypeFor, t as CustomActionRegistry, u as parseTokenizedUrl, v as downloadModel, w as resolveFormatRevision, x as getModelFilePath, y as ensureModel } from "./custom-action-registry-B9zFBNVa.mjs";
42
- import { A as retirePreviousLocalCa, C as checkUploadedCa, D as loadTlsCert, E as ensureTlsCert, F as closeLanHttp, I as readLanHttpState, L as registerLanHttpHandler, M as allFamiliesListenHost, N as applyLanHttp, O as reissueTlsLeaf, P as bindPendingLanHttp, S as chainsToPublicRoot, T as caReplacementMarkerFile, _ as readTlsMode, a as storeUploadedCertificate, b as writeTlsEnabled, c as leafFingerprintOf, d as servedHttpsLeafFingerprint, f as prepareBootTls, g as readTlsEnabled, h as readTlsAccessStatus, i as revertToGeneratedCertificate, j as DEFAULT_LAN_HTTP_PORT, k as replaceUnconstrainedLocalCa, l as registerHttpsListener, m as readExtraSans, n as applyCertificateToListener, o as useStoredUploadedCertificate, p as UPLOADED_CA_FILE, r as regenerateCertificate, s as clearHttpsListener, t as createCiaoPublisher, u as reloadHttpsListener, v as splitPemCertificates, w as validateUploadedTls, x as writeTlsMode, y as writeExtraSans } from "./hub-mdns-ciao-7HK57Vtx.mjs";
42
+ import { A as retirePreviousLocalCa, C as checkUploadedCa, D as loadTlsCert, E as ensureTlsCert, F as closeLanHttp, I as readLanHttpState, L as registerLanHttpHandler, M as allFamiliesListenHost, N as applyLanHttp, O as reissueTlsLeaf, P as bindPendingLanHttp, S as chainsToPublicRoot, T as caReplacementMarkerFile, _ as readTlsMode, a as storeUploadedCertificate, b as writeTlsEnabled, c as leafFingerprintOf, d as servedHttpsLeafFingerprint, f as prepareBootTls, g as readTlsEnabled, h as readTlsAccessStatus, i as revertToGeneratedCertificate, j as DEFAULT_LAN_HTTP_PORT, k as replaceUnconstrainedLocalCa, l as registerHttpsListener, m as readExtraSans, n as applyCertificateToListener, o as useStoredUploadedCertificate, p as UPLOADED_CA_FILE, r as regenerateCertificate, s as clearHttpsListener, t as createCiaoPublisher, u as reloadHttpsListener, v as splitPemCertificates, w as validateUploadedTls, x as writeTlsMode, y as writeExtraSans } from "./hub-mdns-ciao-DtmIyWDL.mjs";
43
43
  import { n as getPlatformKeychainKey, r as setPlatformKeychainKey, t as clearPlatformKeychainKey } from "./platform-key-source-BWlq0jjn.mjs";
44
44
  import { n as getSinglePidStats, t as getPidStats } from "./resource-monitor-Di9daRwI.mjs";
45
- import { _ as backupRecordStoresOf, c as BackupDecryptError, f as generateBackupKeyPair, g as backupOrchestratorRecordKinds, h as readBackupEncryptionHeader, l as BackupKeyFormatError, r as prepareRestoreArchive, s as SystemBackupService, t as BackupKeyRequiredError, u as BackupKeyMismatchError } from "./restore-archive-Bj_gYmE9.mjs";
45
+ import { _ as backupRecordStoresOf, c as BackupDecryptError, f as generateBackupKeyPair, g as backupOrchestratorRecordKinds, h as readBackupEncryptionHeader, l as BackupKeyFormatError, r as prepareRestoreArchive, s as SystemBackupService, t as BackupKeyRequiredError, u as BackupKeyMismatchError } from "./restore-archive-BUtuNTe1.mjs";
46
46
  import { r as nodeCoralFs, t as classifyCoralAccelerator } from "./coral-accelerators-DBlgWB8k.mjs";
47
47
  import { z } from "zod";
48
48
  import * as crypto$1 from "node:crypto";
@@ -11582,12 +11582,13 @@ function invokeObserved(def, ctx, provider, method, payload, isCollection, servi
11582
11582
  if (services.commandObserver === void 0 || def.scope !== "device" || method.kind !== "mutation") return invoke();
11583
11583
  const actor = commandActorFromContext(ctx);
11584
11584
  if (actor === null) return invoke();
11585
- return runObservedCommand(services.commandObserver, {
11585
+ const result = runObservedCommand(services.commandObserver, {
11586
11586
  capName: def.name,
11587
11587
  method: method.name,
11588
11588
  args: payload,
11589
11589
  actor
11590
11590
  }, invoke);
11591
+ return withCommandFollowUp(services.commandFollowUp, commandFollowUpTarget(def.name, method.name, deviceIdOfArgs(payload)), result);
11591
11592
  }
11592
11593
  /**
11593
11594
  * Extract the authenticated caller identity from the (structurally
@@ -14098,7 +14099,31 @@ var workerNativeCaps = /* @__PURE__ */ new Map();
14098
14099
  * the pull-based discovery sweep.
14099
14100
  */
14100
14101
  var workerNativeCapAddonIds = /* @__PURE__ */ new Map();
14102
+ /**
14103
+ * The command-hold options a provider stated at registration (D1061).
14104
+ * capName → deviceId → options. Carried on the child's cap descriptors so the
14105
+ * hub's hold reads them; absent = the core default.
14106
+ */
14107
+ var workerNativeCapHolds = /* @__PURE__ */ new Map();
14108
+ /**
14109
+ * The state-refresh policy a provider stated on a device's
14110
+ * `device-state-refresh` registration (D1062). deviceId → policy. Carried on
14111
+ * the child's cap descriptors so the hub's scheduler reads it.
14112
+ */
14113
+ var workerNativeCapRefresh = /* @__PURE__ */ new Map();
14114
+ /** The policy a registration states, read only on the refresh cap. */
14115
+ function stateRefreshOf(capName, options) {
14116
+ return capName === "device-state-refresh" ? options?.stateRefresh : void 0;
14117
+ }
14101
14118
  var mountedNativeCapServices = /* @__PURE__ */ new Set();
14119
+ /** A provider's hold options as plain data, or `undefined` when it stated none. */
14120
+ function commandHoldsOf(options) {
14121
+ const commands = options?.commands;
14122
+ if (commands === void 0) return void 0;
14123
+ const out = {};
14124
+ for (const [method, option] of Object.entries(commands)) if (option !== void 0) out[method] = option;
14125
+ return Object.keys(out).length === 0 ? void 0 : out;
14126
+ }
14102
14127
  /**
14103
14128
  * Optional change listener fired whenever the worker native-cap set mutates
14104
14129
  * (a `registerNativeCap` adds a (cap, device) pair, or a device is cleared).
@@ -14174,6 +14199,7 @@ function mountNativeCapService(broker, addonId, cap) {
14174
14199
  function clearWorkerNativeCapsForDevice(deviceId) {
14175
14200
  for (const perCap of workerNativeCaps.values()) perCap.delete(deviceId);
14176
14201
  for (const perCap of workerNativeCapAddonIds.values()) perCap.delete(deviceId);
14202
+ workerNativeCapRefresh.delete(deviceId);
14177
14203
  onWorkerNativeCapsChanged?.();
14178
14204
  }
14179
14205
  function getWorkerNativeCapsForDevice(deviceId) {
@@ -14354,7 +14380,9 @@ function createBrokerDeviceManagerApi(opts) {
14354
14380
  get devices() {
14355
14381
  return selfApi;
14356
14382
  },
14357
- registerNativeCap(cap, provider) {
14383
+ registerNativeCap(cap, provider, options) {
14384
+ const commandHolds = commandHoldsOf(options);
14385
+ const stateRefresh = stateRefreshOf(cap.name, options);
14358
14386
  if (cap.runtimeState && runtimeStateRef) try {
14359
14387
  runtimeStateRef.installCapSchema(cap.name, cap.runtimeState);
14360
14388
  } catch (err) {
@@ -14387,8 +14415,21 @@ function createBrokerDeviceManagerApi(opts) {
14387
14415
  readSlice: () => runtimeStateRef?.getCapState("switch"),
14388
14416
  logger: opts.logger
14389
14417
  });
14390
- if (opts.capabilityRegistry) opts.capabilityRegistry.registerNativeProvider(cap.name, id, addonId, finalProvider);
14391
- else if (opts.broker || opts.udsMode) {
14418
+ if (opts.capabilityRegistry) {
14419
+ opts.capabilityRegistry.registerNativeProvider(cap.name, id, addonId, finalProvider);
14420
+ if (commandHolds !== void 0) getCommandHoldOverrideRegistry().set(IN_PROCESS_HOLD_SOURCE, {
14421
+ deviceId: id,
14422
+ capName: cap.name,
14423
+ commands: commandHolds
14424
+ });
14425
+ else getCommandHoldOverrideRegistry().delete(IN_PROCESS_HOLD_SOURCE, id, cap.name);
14426
+ if (stateRefresh !== void 0) getStateRefreshPolicyRegistry().set(IN_PROCESS_REFRESH_SOURCE, {
14427
+ deviceId: id,
14428
+ addonId,
14429
+ policy: stateRefresh
14430
+ });
14431
+ else if (cap.name === "device-state-refresh") getStateRefreshPolicyRegistry().delete(IN_PROCESS_REFRESH_SOURCE, id);
14432
+ } else if (opts.broker || opts.udsMode) {
14392
14433
  let perCap = workerNativeCaps.get(cap.name);
14393
14434
  if (!perCap) {
14394
14435
  perCap = /* @__PURE__ */ new Map();
@@ -14401,6 +14442,13 @@ function createBrokerDeviceManagerApi(opts) {
14401
14442
  workerNativeCapAddonIds.set(cap.name, perAddonId);
14402
14443
  }
14403
14444
  perAddonId.set(id, addonId);
14445
+ if (commandHolds !== void 0) {
14446
+ const perHolds = workerNativeCapHolds.get(cap.name) ?? /* @__PURE__ */ new Map();
14447
+ perHolds.set(id, commandHolds);
14448
+ workerNativeCapHolds.set(cap.name, perHolds);
14449
+ } else workerNativeCapHolds.get(cap.name)?.delete(id);
14450
+ if (stateRefresh !== void 0) workerNativeCapRefresh.set(id, stateRefresh);
14451
+ else if (cap.name === "device-state-refresh") workerNativeCapRefresh.delete(id);
14404
14452
  if (opts.broker) mountNativeCapService(opts.broker, addonId, cap);
14405
14453
  onWorkerNativeCapsChanged?.();
14406
14454
  } else throw new Error(`DeviceContext.registerNativeCap('${cap.name}') called on '${stableId}' but none of capabilityRegistry / broker / udsMode was provided.`);
@@ -14454,10 +14502,15 @@ function createBrokerDeviceManagerApi(opts) {
14454
14502
  },
14455
14503
  meta: { capName }
14456
14504
  });
14457
- else if (opts.capabilityRegistry) opts.capabilityRegistry.unregisterNativeProvider(capName, id);
14458
- else {
14505
+ else if (opts.capabilityRegistry) {
14506
+ opts.capabilityRegistry.unregisterNativeProvider(capName, id);
14507
+ getCommandHoldOverrideRegistry().delete(IN_PROCESS_HOLD_SOURCE, id, capName);
14508
+ if (capName === "device-state-refresh") getStateRefreshPolicyRegistry().delete(IN_PROCESS_REFRESH_SOURCE, id);
14509
+ } else {
14459
14510
  workerNativeCaps.get(capName)?.delete(id);
14460
14511
  workerNativeCapAddonIds.get(capName)?.delete(id);
14512
+ workerNativeCapHolds.get(capName)?.delete(id);
14513
+ if (capName === "device-state-refresh") workerNativeCapRefresh.delete(id);
14461
14514
  onWorkerNativeCapsChanged?.();
14462
14515
  }
14463
14516
  eventBus.emit({
@@ -14579,7 +14632,8 @@ function createBrokerDeviceManagerApi(opts) {
14579
14632
  for (const child of children) await teardownLocal(child.id, runLifecycle);
14580
14633
  const capsToUnregister = opts.capabilityRegistry ? [...opts.capabilityRegistry.getNativeCapsForDevice(deviceId)] : [...getWorkerNativeCapsForDevice(deviceId)];
14581
14634
  opts.capabilityRegistry?.unregisterAllNativeForDevice(deviceId);
14582
- if (!opts.capabilityRegistry) clearWorkerNativeCapsForDevice(deviceId);
14635
+ if (opts.capabilityRegistry) getStateRefreshPolicyRegistry().delete(IN_PROCESS_REFRESH_SOURCE, deviceId);
14636
+ else clearWorkerNativeCapsForDevice(deviceId);
14583
14637
  for (const capName of capsToUnregister) {
14584
14638
  eventBus.emit({
14585
14639
  id: randomUUID(),
@@ -18288,6 +18342,8 @@ var LocalChildRegistry = class {
18288
18342
  capUsageObserver;
18289
18343
  /** See {@link LocalChildRegistryOptions.commandObserver}. */
18290
18344
  commandObserver;
18345
+ /** See {@link LocalChildRegistryOptions.commandFollowUp}. */
18346
+ commandFollowUp;
18291
18347
  /** Tracks capNames already logged as UDS-routed; one INFO line per capName per process. */
18292
18348
  egressRoutedCaps = /* @__PURE__ */ new Set();
18293
18349
  /** Per-child event fan-out counters (sent / suppressed). */
@@ -18338,6 +18394,7 @@ var LocalChildRegistry = class {
18338
18394
  this.deviceCallRedirect = opts.deviceCallRedirect;
18339
18395
  this.capUsageObserver = opts.capUsageObserver;
18340
18396
  this.commandObserver = opts.commandObserver;
18397
+ this.commandFollowUp = opts.commandFollowUp;
18341
18398
  } else {
18342
18399
  this.server = serverOrOptions;
18343
18400
  this.onUnownedCall = onUnownedCallArg;
@@ -18609,6 +18666,17 @@ var LocalChildRegistry = class {
18609
18666
  });
18610
18667
  } catch {}
18611
18668
  }
18669
+ /**
18670
+ * The device command a child's `cap-call-out` is (D1062), or `null`. Read
18671
+ * from the lifted routing hints, so a raw-forward frame is not decoded.
18672
+ */
18673
+ childCommandTarget(body) {
18674
+ if (this.commandFollowUp === void 0) return null;
18675
+ const msg = body;
18676
+ if (msg.kind !== "cap-call-out") return null;
18677
+ const hints = msg.hints ?? liftRoutingHints(msg.args);
18678
+ return commandFollowUpTarget(msg.capName, msg.method, msg.deviceId ?? hints.deviceId);
18679
+ }
18612
18680
  recordCapUsage(callerChildId, providerChildId, capName, methodName) {
18613
18681
  const sink = this.capUsageObserver;
18614
18682
  if (sink === void 0 || callerChildId === null) return;
@@ -18955,7 +19023,7 @@ var LocalChildRegistry = class {
18955
19023
  return;
18956
19024
  }
18957
19025
  });
18958
- channel.onRequest(async (body, payload) => {
19026
+ const answerRequest = async (body, payload) => {
18959
19027
  const msg = body;
18960
19028
  if (msg.kind === "register") {
18961
19029
  if (childId !== null && childId !== msg.childId) throw new Error(`child attempted to change identity from "${childId}" to "${msg.childId}"`);
@@ -18976,6 +19044,8 @@ var LocalChildRegistry = class {
18976
19044
  rawForward: msg.rawForward === true
18977
19045
  });
18978
19046
  this.invalidateCapIndex();
19047
+ getCommandHoldOverrideRegistry().replaceSource(childHoldSource(msg.childId), childCommandHoldEntries(msg.caps));
19048
+ getStateRefreshPolicyRegistry().replaceSource(childRefreshSource(msg.childId), childStateRefreshEntries(msg.childId, msg.caps));
18979
19049
  this.logPatternSet(msg.childId, eventPatterns);
18980
19050
  this.lastInterestKey.delete(msg.childId);
18981
19051
  this.refreshEventInterest();
@@ -19075,7 +19145,8 @@ var LocalChildRegistry = class {
19075
19145
  records: this.readinessHandler?.() ?? []
19076
19146
  };
19077
19147
  throw new Error(`unknown child request kind: ${msg.kind}`);
19078
- });
19148
+ };
19149
+ channel.onRequest((body, payload) => withCommandFollowUp(this.commandFollowUp, childId === null ? null : this.childCommandTarget(body), answerRequest(body, payload)));
19079
19150
  channel.onClose(() => {
19080
19151
  if (childId === null) return;
19081
19152
  const entry = this.children.get(childId);
@@ -19090,6 +19161,8 @@ var LocalChildRegistry = class {
19090
19161
  }
19091
19162
  this.children.delete(childId);
19092
19163
  this.invalidateCapIndex();
19164
+ getCommandHoldOverrideRegistry().replaceSource(childHoldSource(childId), []);
19165
+ getStateRefreshPolicyRegistry().replaceSource(childRefreshSource(childId), []);
19093
19166
  this.childEventStats.delete(childId);
19094
19167
  this.lastInterestKey.delete(childId);
19095
19168
  this.refreshEventInterest();
@@ -26199,4 +26272,4 @@ function resetCatalogRegistryForTests() {
26199
26272
  }
26200
26273
  //#endregion
26201
26274
  var readAllRows = import_read_all_rows.readAllRows;
26202
- export { ADDON_INSTANCE_SEGMENT, ADDON_VERSION_REASON_HUB, ADDON_VERSION_REASON_REGISTRY_LATEST, AGENT_CAP_FWD_ACTION, AGENT_CAP_FWD_SERVICE, AGENT_DASHBOARD_ORIGINS_FIELD, AGENT_HTTPS_NAMES_COLLECTION, AGENT_HTTPS_NAMES_COLUMNS, AGENT_MAIN_HEAP_WATCH_LABEL, AGENT_READINESS_SERVICE_NAME, AGENT_UI_UNLOCK_TTL_MS, AGENT_UI_UNLOCK_TYP, AGENT_UI_UNLOCK_USE, AGENT_UI_UNLOCK_VERSION, ALL_CAPABILITY_DEFINITIONS, ARRAY_BUFFER_CENSUS_COOLDOWN_MS, ARRAY_BUFFER_CENSUS_SUSTAIN_MS, ARRAY_BUFFER_CENSUS_THRESHOLD_MB, ARRAY_BUFFER_RELEASE_MIN_DROP_RATIO, AddonApiFactory, AddonDepsManager, AddonEngineManager, AddonHealthMonitor, AddonInstaller, AddonLoader, AddonManifest, AddonRefusedError, AddonRouteRegistry, AgentHttpsInstallError, AgentHttpsNames, AgentMdnsAdvertiser, AgentMeshIdentityGate, AgentPairing, AlertCenterAddon, AuthAuditLog, AuthManager, BackupDecryptError, BackupKeyFormatError, BackupKeyMismatchError, BackupKeyRequiredError, CAP_ACTION_OVERFLOW_LABEL, CAP_ACTION_UNLABELLED, CAP_METHOD_NOT_IMPLEMENTED, CA_COMMON_NAME, CA_VALIDITY_DAYS, CORE_CAP_SERVICE_NAME, CalendarsAddon, CapRouteError, CapRouteResolver, CapUsageRegistry, CapabilityHandle, CapabilityRegistry, CapabilityUnavailableError, CatalogRegistry, ClusterNodeHistoryBodySchema, ClusterNodeTombstoneBodySchema, CommandObserverRegistry, ComposerAddon, ConfigManager, ConfigStore, ConsoleDestination, ConsoleLoggingAddon, CoreBlocksAddon, CustomActionRegistry, DECISIVE_HEAP_SPACES, DEFAULT_DATA_PATH, DEFAULT_HUB_TLS_TCP_PORT, DEFAULT_LAN_HTTP_PORT, DEFAULT_LOG_LEVEL, DEVICE_CA_KEY_REF, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DataPlaneRegistry, DeviceCaStore, DeviceCredentialManager, DeviceHistoryAddon, DeviceManagerAddon, DeviceRegistry, DeviceStore, EMPTY_CAP_ACTION_READING, EMPTY_SOCKET_DIRECTION, EMPTY_SOCKET_PLANE_BASELINE, EVENT_PLANE_TOP_N, EVENT_TOPIC_PREFIX, EngineManagerResolver, EventBus, FIRST_BOOT_ADMIN_PASSWORD, FIRST_BOOT_ADMIN_USERNAME, FeatureManager, FilesystemStorageAddon, FilesystemStorageProvider, FrameDecoder, FsStorageBackend, GET_STATUS_METHOD, HEALTH_MONITOR_GRACE_PERIOD_MS, HEALTH_MONITOR_RETRY_INTERVALS_MS, HEALTH_MONITOR_TICK_MS, HEAP_RECLAIM_MIN_INTERVAL_MS, HEAP_RECLAIM_STEADY_STATE_INTERVAL_MS, HEAP_RECLAIM_TRIGGER_MB, HEAP_SPACE_REPORT_MIN_MB, HEAP_WATCH_INTERVAL_MS, HEAP_WATCH_WARN_RATIO, HUB_CAP_FWD_ACTION, HUB_CAP_FWD_SERVICE, HUB_IDENTITY_FILE, HUB_IDENTITY_RELATIVE, HUB_MAIN_HEAP_WATCH_LABEL, HUB_MAIN_RSS_BUDGET_MB, HUB_RSS_BUDGET_ENV, HUB_RSS_BUDGET_OVERRIDE_SOURCE, HubForwarderAddon, HubForwarderDestination, HubLogForwarder, HubNodeRegistry, HubPairing, INFRA_CAPABILITIES, IntegrationRegistry, InvalidCorsOriginError, JWT_SIGNING_KEY_REF, JobJournal, JwtSigningKeyUnavailableError, LEAF_RENEWAL_WINDOW_DAYS, LifecycleJobEngine, LifecycleStateMachine, LivenessMonitorAddon, LocalAuthAddon, LocalChildClient, LocalChildRegistry, LogManager, LogRingBuffer, LoggingGate, LoginSessionManager, LokiDestination, LokiLoggingAddon, MAX_CAP_ACTIONS_PER_PEER, MAX_LEAF_VALIDITY_DAYS, MEMBERSHIP_PATHS, MESH_ACTION_FORBIDDEN_TYPE, MESH_CA_FIELD, MESH_CA_KEY_REF, MESH_CA_SETTINGS_KEY, MESH_NODE_CERTIFICATES_COLLECTION, MESH_NODE_CERTIFICATES_COLUMNS, MESH_NODE_UNAUTHENTICATED_TYPE, MESH_QUEUE_TOP_N, MESH_TLS_PORT_HELLO_FIELD, METHOD_ACCESS_MAP, MembershipResponder, MeshCaKeeper, MeshCertificateRegistry, MeshCrl, MeshIdentityGate, ModelDownloadService, NATIVE_PROVIDER_SERVICE_INFIX, NATIVE_SCAN_DEPTH, NativeMetricsAddon, NativeMetricsProvider, NetworkQualityTracker, NotificationService, OPAQUE_ORIGIN, OUTBOUND_QUEUE_COOLDOWN_MS, OUTBOUND_QUEUE_SUSTAIN_MS, OUTBOUND_QUEUE_THRESHOLD_BYTES, PAIRING_CODE_DIGITS, PAIRING_MAX_CODE_ATTEMPTS, PAIRING_MAX_SESSIONS, PAIRING_PATHS, PAIRING_PIN_DIGITS, PAIRING_PROTOCOL, PAIRING_TTL_MS, PARENT_ROUTED_PROVIDER_ADDON_ID, PERMITTED_DNS_SUFFIXES, PERMITTED_IP_RANGES, PREVIOUS_LEAF_GRACE_MS, PYTHON_VERSION, PairingHttpError, PeerAnsweredError, PipelineRunner, PipelineValidator, PythonEnvManager, QUARANTINE_DIRNAME, REFRESH_TOKEN_PREFIX, RENEWAL_ABANDONED, RESTART_MARKER_FILE, RSS_BUDGET_REANNOUNCE_MIN_MS, RSS_BUDGET_RELEASE_RATIO, RUNNER_HEAP_WATCH_INTERVAL_MS, RUNNER_RSS_BUDGET_ENV, RUNTIME_DEFAULTS, ReadinessRegistry, ReadinessTimeoutError, RecordsEngine, RegistryReadError, ReplEngine, RingBuffer, RunnerOfAddon, SERVER_AUTH_OID, SERVER_NAMESPACE, SOCKET_PLANE_TOP_N, SOCKET_QUEUE_TOP_N, STALL_REPORT_MS, STALL_TICK_MS, STORE_READABLE_BOOTSTRAP_KEYS, SYSTEM_SECRET_OWNER, ScopedLogger, SettingsReadUnavailableError, SocketChannel, SqliteSettingsAddon, SqliteSettingsBackend, StagingArea, StorageLocationManager, StorageManager, StorageOrchestratorAddon, StorageOrchestratorService, SystemBackupService, SystemConfigAddon, SystemEventBus, TRADITIONAL_NATIVE_PACKAGES, TlsTcpTransporter, ToastService, UDS_NO_ROUTE_PREFIX, UNCLAIMED, UNSUPPORTED_ADDON_SETTLE_MS, UPLOADED_CA_FILE, USER_MANAGEMENT_INTERNAL, UdsLocalTransportClient, UdsLocalTransportServer, UnlockTicketJtiStore, UnsupportedAddonTracker, UserManager, WinstonDestination, WinstonLoggingAddon, ZERO_LOOP_DELAY, __resetCapUsageRegistryForTests, __resetCommandObserverRegistryForTests, __resetLoggingGateForTests, acceptAgentSans, adaptBrokerToCluster, addonCommandActor, addonSettingsCapability, adoptModelRevisions, afterWorkerOnlineAnnounce, agentHttpsPaths, allFamiliesListenHost, answerClaimedGetStatus, answerDeviceCallRedirect, applyCertificateToListener, applyLanHttp, asBrokerLike, attachUserManagementInternal, attributeStall, backupOrchestratorRecordKinds, backupRecordStoresOf, bareAddonOf, bindPendingLanHttp, bootstrapSchema, brokerCallForCap, brokerTransportLink, buildAgentAnnouncement, buildBinaryPath, buildCapRouters, buildHeapSample, buildLinkChain, buildNameConstraintSet, buildNativeCapProxy, buildNodeManifest, buildNpmChildEnv, buildStorageLocationRegistry, buildTransporter, builderMountedCapNames, caFingerprint, caFingerprintCompact, caReplacementMarkerFile, callRegisterNodeWithRetry, callWithServiceDiscovery, canServeDataPlane, capActionLabel, capActionName, capActionSuffix, capBareAction, capServiceName, catalogNamespaceOf, certificateNames, chainsToPublicRoot, checkUploadedCa, classifyAddonDir, classifyCapRoute, clearHeldInstall, clearHttpsListener, clearIntegrationRows, clearNodeSettings, clearPendingRestart, clearPlatformKeychainKey, closeLanHttp, clusterAgentRecordKinds, clusterEventTopic, clusterNodeHistoryRecordKind, clusterNodeTombstoneRecordKind, collectAgentNames, collectCertIdentity, collectModelFiles, commandActorFromContext, commandObserverLink, compileLogFilter, computePairingCommitment, computePairingSas, connectBrokerTransport, contentTypeFor, copyDirRecursive, copyExtraFileDirs, createAddonContext, createAddonDataPlaneFacility, createAddonPeerBytesFacility, createAddonService, createAgentEventScope, createAgentHttpsRequest, createAgentTransport, createArrayBufferCensusGate, createAuthenticatedFileServer, createBroker, createBrokerDeviceManagerApi, createCapActionCensus, createCiaoPublisher, createCidrMatcher, createCoreCapService, createCoreCatalogRegistry, createDeferredHeapWatchSink, createDoorSettingsView, createEventPlaneMeter, createEventPlaneReader, createFileDataPlaneHandler, createHubCapForwardService, createHubService, createInspectorArrayBufferCensus, createKernelHwAccel, createKernelInferenceEngine, createLocalTransport, createLoopDelayMeter, createMeshAccessMiddleware, createMeshCsrPem, createMeshQueueReader, createMigrationApi, createMigrationApiOverContext, createOutboundQueueGate, createParentUnownedCallHandler, createProcessService, createReadinessService, createReadinessServiceForRegistry, createRequiresRegistry, createScopedProcessManager, createSocketDirectionCounters, createSocketPlaneMeter, createSocketPlaneReader, createStreamProbeBrokerService, createUdsAddonContext, createUdsEventBridge, createUdsEventBus, createUdsLogger, createUdsLoggerWithControl, createV8Reclaimer, currentBrokerTransporter, currentCapCallContext, decideAddonVersionMove, deleteModelFromDisk, deriveAgentListenPort, describeCsr, describeHttpsLeaf, describeMeshLeaf, describeProviderKindDrift, describeRss, deviceCapResolverLink, deviceOfGetStatus, dialableHubHost, diffCapActionCensus, diffEventPlane, diffSocketPlane, disconnectBrokerTransport, downloadBinary, downloadFile, downloadModel, dropProcessPeer, emitDownForOwnedCaps, emitHeapDiagnosticReport, emitProcessNodeRegistered, encodeFrame, ensureAddonNativePrebuilds, ensureBinary, ensureDir, ensureFfmpeg, ensureModel, ensureNativePrebuilds, ensurePython, ensureTlsCert, evaluateExistingCert, expandCapMethods, exportMeshPrivateKeyPem, fetchJson, filterIsEmpty, findAddonRefusal, findInPath, formatArrayBufferCensus, formatEventPlane, formatHeapSpaces, formatLogLine, formatMeshQueue, formatOutboundQueueVerdict, formatSocketPlane, generateBackupKeyPair, generateDeviceCa, generateMeshCa, generateMeshKeyPair, getBrokerEventBus, getBrokerTlsTransporter, getCapUsageRegistry, getCatalogRegistry, getCommandObserverRegistry, getFfmpegDownloadUrl, getLocalEventInterest, getLoggingGate, getModelFilePath, getMoleculerEventStats, getOrInitReadinessRegistry, getOrInitReadinessRegistryForClient, getPidStats, getPlatformInfo, getPlatformKeychainKey, getProcessAgentHttpsNames, getProcessJwtSigningKeyState, getProcessMeshCaState, getProcessMeshCertificateRegistry, getProcessMeshHandshakeReporter, getProcessMeshTlsListenerState, getProcessNodeMeshTransport, getProcessPeerLeaf, getPythonDownloadUrl, getRestartMarkerPath, getSinglePidStats, getUserManagementInternal, getWorkerDeviceRegistry, hasDotNode, heapSpaceField, hostNodeIdOf, hubHostFromMeshAddress, hubMainRssBudget, hubServerVersionOf, installAgentHttps, installBrokerTransporter, installManifestNativeDeps, installManifestPythonDeps, installManifestSystemDeps, installPackageFromNpm, installPythonPackages, installPythonRequirements, integrationRegistryRecordKinds, ipcParentLink, isAddonDeploySource, isAllowedAgentDashboardReturnTo, isAnnouncedHubId, isArrayBufferCensusReport, isArrayOutputSchema, isCollectionArrayMethod, isConstrainedCa, isContainerBridgeAddress, isCredentialKeyName, isInfraCapability, isInsecureOrigin, isInstalledTransporter, isLocalOnlyHostname, isModelDownloaded, isPeerEventPacket, isPrivateAddress, isProcessVerifiedMeshPeer, isRemoteForbiddenAction, isRemoteForbiddenOnAgent, isSettingsReadUnavailable, isSourceNewer, isValidAgentNodeId, isolatedBuiltinPhase, issueAgentHttpsLeaf, issueDeviceLeaf, issueMeshLeafForNode, issueMeshLeafFromCsr, keyFingerprintShort, leafFingerprintOf, levelRank, lineContainsText, lineMatches, listHeldInstalls, loadAgentHttps, loadBootstrapConfig, loadDeviceCa, loadMeshCa, loadOrCreateHubId, loadTlsCert, localCaCommonName, localEndpointPath, localProviderLink, localSupportedPythonRuntimes, mapSignalsToInferenceHardware, meshErrorType, mintAgentUiUnlockTicket, mountNativeCapService, nextRssBudgetState, normalizeIp, normalizeOrigin, onLocalEventInterestChange, onProcessNodeRegistered, onSessionsRevoked, openMeshTlsWhenRevocationsLoaded, originNodeOf, overlayGetStatus, parseAgentDashboardOrigins, parseCapAction, parseCidrList, parseOriginList, parseRangeHeader, parseRssBudgetMb, parseTokenExpiry, parseTokenizedUrl, partitionIsolatedBuiltinIds, pemDigest, permitsIdentity, permitsName, pinnedHttpsCaFingerprint, preferencesLimitReasonOf, prepareBootTls, prepareRestoreArchive, probePlatform, processJwtSigningKey, processMeshCrl, proxyToUpstream, quarantineAddonResidue, readAllRows, readBackupEncryptionHeader, readCidrSetting, readCurrentCommandOrigin, readExtraSans, readHeapSpaces, readLanHttpState, readNameConstraints, readOriginSetting, readPendingRestart, readSocketQueues, readTlsAccessStatus, readTlsEnabled, readTlsMode, readinessKey, reclaimIntervalMs, recordHeldInstall, recordSocketFrame, redactLogEntry, redactLogMeta, redactLogText, regenerateCertificate, registerEventBusService, registerHttpsListener, registerLanHttpHandler, reissueTlsLeaf, reloadHttpsListener, renewMeshCertificate, replaceUnconstrainedLocalCa, requireProcessMeshCa, resetCatalogRegistryForTests, resolveAddonInstancePath, resolveFilePath, resolveFormatRevision, resolveHwAccel, resolveNpmInvocation, retirePreviousLocalCa, revertToGeneratedCertificate, revisionWeightUrl, revokeMeshCertificate, runHubAddonBoot, runNpm, runObservedCommand, runWithCapCallContext, sampleSocketDirection, scheduleSelfRestart, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, selectAddonResidue, selectReportedSpaces, serializeTypedArrays, servedHttpsLeafFingerprint, setHubConnected, setHuggingFaceReachabilityObserver, setNodeEventInterest, setPlatformKeychainKey, setProcessAgentHttpsNames, setProcessMeshCertificateRegistry, setProcessMeshHandshakeReporter, setProcessMeshPeerTransportLookup, setProcessMeshTlsEnabler, setProcessMeshTlsListenerState, setWrapperActive, shouldReclaim, signMembershipProof, signPairingProof, signalAllRunnerGroups, socketDirectionBytes, socketDirectionMessages, splitPemCertificates, stampCallerAddonId, startEventLoopStallMonitor, startHeapWatch, startRunnerHeapWatch, staticJwtSigningKey, storageOrchestratorRecordKinds, storeMayAnswer, storeUploadedCertificate, strandedMb, stripCamstackDeps, stripForgedIdentity, stripForwardedCaller, subscribePassthrough, systemHostFacts, udsChildLogToWorkerEntry, useStoredUploadedCertificate, validateProviderRegistrations, validateUploadedTls, verifyAgentUiUnlockTicket, verifyDeviceLeaf, verifyDeviceSignature, verifyMembershipAnswer, verifyPairingProof, waitUntilReady, writeExtraSans, writePendingRestart, writeTlsEnabled, writeTlsMode };
26275
+ export { ADDON_INSTANCE_SEGMENT, ADDON_VERSION_REASON_HUB, ADDON_VERSION_REASON_REGISTRY_LATEST, AGENT_CAP_FWD_ACTION, AGENT_CAP_FWD_SERVICE, AGENT_DASHBOARD_ORIGINS_FIELD, AGENT_HTTPS_NAMES_COLLECTION, AGENT_HTTPS_NAMES_COLUMNS, AGENT_MAIN_HEAP_WATCH_LABEL, AGENT_READINESS_SERVICE_NAME, AGENT_UI_UNLOCK_TTL_MS, AGENT_UI_UNLOCK_TYP, AGENT_UI_UNLOCK_USE, AGENT_UI_UNLOCK_VERSION, ALL_CAPABILITY_DEFINITIONS, ARRAY_BUFFER_CENSUS_COOLDOWN_MS, ARRAY_BUFFER_CENSUS_SUSTAIN_MS, ARRAY_BUFFER_CENSUS_THRESHOLD_MB, ARRAY_BUFFER_RELEASE_MIN_DROP_RATIO, AddonApiFactory, AddonDepsManager, AddonEngineManager, AddonHealthMonitor, AddonInstaller, AddonLoader, AddonManifest, AddonRefusedError, AddonRouteRegistry, AgentHttpsInstallError, AgentHttpsNames, AgentMdnsAdvertiser, AgentMeshIdentityGate, AgentPairing, AlertCenterAddon, AuthAuditLog, AuthManager, BackupDecryptError, BackupKeyFormatError, BackupKeyMismatchError, BackupKeyRequiredError, CAP_ACTION_OVERFLOW_LABEL, CAP_ACTION_UNLABELLED, CAP_METHOD_NOT_IMPLEMENTED, CA_COMMON_NAME, CA_VALIDITY_DAYS, CORE_CAP_SERVICE_NAME, CalendarsAddon, CapRouteError, CapRouteResolver, CapUsageRegistry, CapabilityHandle, CapabilityRegistry, CapabilityUnavailableError, CatalogRegistry, ClusterNodeHistoryBodySchema, ClusterNodeTombstoneBodySchema, CommandFollowUpRegistry, CommandObserverRegistry, ComposerAddon, ConfigManager, ConfigStore, ConsoleDestination, ConsoleLoggingAddon, CoreBlocksAddon, CustomActionRegistry, DECISIVE_HEAP_SPACES, DEFAULT_DATA_PATH, DEFAULT_HUB_TLS_TCP_PORT, DEFAULT_LAN_HTTP_PORT, DEFAULT_LOG_LEVEL, DEVICE_CA_KEY_REF, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DataPlaneRegistry, DeviceCaStore, DeviceCredentialManager, DeviceHistoryAddon, DeviceManagerAddon, DeviceRegistry, DeviceStore, EMPTY_CAP_ACTION_READING, EMPTY_SOCKET_DIRECTION, EMPTY_SOCKET_PLANE_BASELINE, EVENT_PLANE_TOP_N, EVENT_TOPIC_PREFIX, EngineManagerResolver, EventBus, FIRST_BOOT_ADMIN_PASSWORD, FIRST_BOOT_ADMIN_USERNAME, FeatureManager, FilesystemStorageAddon, FilesystemStorageProvider, FrameDecoder, FsStorageBackend, GET_STATUS_METHOD, HEALTH_MONITOR_GRACE_PERIOD_MS, HEALTH_MONITOR_RETRY_INTERVALS_MS, HEALTH_MONITOR_TICK_MS, HEAP_RECLAIM_MIN_INTERVAL_MS, HEAP_RECLAIM_STEADY_STATE_INTERVAL_MS, HEAP_RECLAIM_TRIGGER_MB, HEAP_SPACE_REPORT_MIN_MB, HEAP_WATCH_INTERVAL_MS, HEAP_WATCH_WARN_RATIO, HUB_CAP_FWD_ACTION, HUB_CAP_FWD_SERVICE, HUB_IDENTITY_FILE, HUB_IDENTITY_RELATIVE, HUB_MAIN_HEAP_WATCH_LABEL, HUB_MAIN_RSS_BUDGET_MB, HUB_RSS_BUDGET_ENV, HUB_RSS_BUDGET_OVERRIDE_SOURCE, HubForwarderAddon, HubForwarderDestination, HubLogForwarder, HubNodeRegistry, HubPairing, INFRA_CAPABILITIES, IntegrationRegistry, InvalidCorsOriginError, JWT_SIGNING_KEY_REF, JobJournal, JwtSigningKeyUnavailableError, LEAF_RENEWAL_WINDOW_DAYS, LifecycleJobEngine, LifecycleStateMachine, LivenessMonitorAddon, LocalAuthAddon, LocalChildClient, LocalChildRegistry, LogManager, LogRingBuffer, LoggingGate, LoginSessionManager, LokiDestination, LokiLoggingAddon, MAX_CAP_ACTIONS_PER_PEER, MAX_LEAF_VALIDITY_DAYS, MEMBERSHIP_PATHS, MESH_ACTION_FORBIDDEN_TYPE, MESH_CA_FIELD, MESH_CA_KEY_REF, MESH_CA_SETTINGS_KEY, MESH_NODE_CERTIFICATES_COLLECTION, MESH_NODE_CERTIFICATES_COLUMNS, MESH_NODE_UNAUTHENTICATED_TYPE, MESH_QUEUE_TOP_N, MESH_TLS_PORT_HELLO_FIELD, METHOD_ACCESS_MAP, MembershipResponder, MeshCaKeeper, MeshCertificateRegistry, MeshCrl, MeshIdentityGate, ModelDownloadService, NATIVE_PROVIDER_SERVICE_INFIX, NATIVE_SCAN_DEPTH, NativeMetricsAddon, NativeMetricsProvider, NetworkQualityTracker, NotificationService, OPAQUE_ORIGIN, OUTBOUND_QUEUE_COOLDOWN_MS, OUTBOUND_QUEUE_SUSTAIN_MS, OUTBOUND_QUEUE_THRESHOLD_BYTES, PAIRING_CODE_DIGITS, PAIRING_MAX_CODE_ATTEMPTS, PAIRING_MAX_SESSIONS, PAIRING_PATHS, PAIRING_PIN_DIGITS, PAIRING_PROTOCOL, PAIRING_TTL_MS, PARENT_ROUTED_PROVIDER_ADDON_ID, PERMITTED_DNS_SUFFIXES, PERMITTED_IP_RANGES, PREVIOUS_LEAF_GRACE_MS, PYTHON_VERSION, PairingHttpError, PeerAnsweredError, PipelineRunner, PipelineValidator, PythonEnvManager, QUARANTINE_DIRNAME, REFRESH_TOKEN_PREFIX, RENEWAL_ABANDONED, RESTART_MARKER_FILE, RSS_BUDGET_REANNOUNCE_MIN_MS, RSS_BUDGET_RELEASE_RATIO, RUNNER_HEAP_WATCH_INTERVAL_MS, RUNNER_RSS_BUDGET_ENV, RUNTIME_DEFAULTS, ReadinessRegistry, ReadinessTimeoutError, RecordsEngine, RegistryReadError, ReplEngine, RingBuffer, RunnerOfAddon, SERVER_AUTH_OID, SERVER_NAMESPACE, SOCKET_PLANE_TOP_N, SOCKET_QUEUE_TOP_N, STALL_REPORT_MS, STALL_TICK_MS, STORE_READABLE_BOOTSTRAP_KEYS, SYSTEM_SECRET_OWNER, ScopedLogger, SettingsReadUnavailableError, SocketChannel, SqliteSettingsAddon, SqliteSettingsBackend, StagingArea, StateRefreshPolicyRegistry, StorageLocationManager, StorageManager, StorageOrchestratorAddon, StorageOrchestratorService, SystemBackupService, SystemConfigAddon, SystemEventBus, TRADITIONAL_NATIVE_PACKAGES, TlsTcpTransporter, ToastService, UDS_NO_ROUTE_PREFIX, UNCLAIMED, UNSUPPORTED_ADDON_SETTLE_MS, UPLOADED_CA_FILE, USER_MANAGEMENT_INTERNAL, UdsLocalTransportClient, UdsLocalTransportServer, UnlockTicketJtiStore, UnsupportedAddonTracker, UserManager, WinstonDestination, WinstonLoggingAddon, ZERO_LOOP_DELAY, __resetCapUsageRegistryForTests, __resetCommandFollowUpRegistryForTests, __resetCommandObserverRegistryForTests, __resetLoggingGateForTests, __resetStateRefreshPolicyRegistryForTests, acceptAgentSans, adaptBrokerToCluster, addonCommandActor, addonSettingsCapability, adoptModelRevisions, afterWorkerOnlineAnnounce, agentHttpsPaths, allFamiliesListenHost, answerClaimedGetStatus, answerDeviceCallRedirect, applyCertificateToListener, applyLanHttp, asBrokerLike, attachUserManagementInternal, attributeStall, backupOrchestratorRecordKinds, backupRecordStoresOf, bareAddonOf, bindPendingLanHttp, bootstrapSchema, brokerCallForCap, brokerTransportLink, buildAgentAnnouncement, buildBinaryPath, buildCapRouters, buildHeapSample, buildLinkChain, buildNameConstraintSet, buildNativeCapProxy, buildNodeManifest, buildNpmChildEnv, buildStorageLocationRegistry, buildTransporter, builderMountedCapNames, caFingerprint, caFingerprintCompact, caReplacementMarkerFile, callRegisterNodeWithRetry, callWithServiceDiscovery, canServeDataPlane, capActionLabel, capActionName, capActionSuffix, capBareAction, capServiceName, catalogNamespaceOf, certificateNames, chainsToPublicRoot, checkUploadedCa, classifyAddonDir, classifyCapRoute, clearHeldInstall, clearHttpsListener, clearIntegrationRows, clearNodeSettings, clearPendingRestart, clearPlatformKeychainKey, closeLanHttp, clusterAgentRecordKinds, clusterEventTopic, clusterNodeHistoryRecordKind, clusterNodeTombstoneRecordKind, collectAgentNames, collectCertIdentity, collectModelFiles, commandActorFromContext, commandObserverLink, compileLogFilter, computePairingCommitment, computePairingSas, connectBrokerTransport, contentTypeFor, copyDirRecursive, copyExtraFileDirs, createAddonContext, createAddonDataPlaneFacility, createAddonPeerBytesFacility, createAddonService, createAgentEventScope, createAgentHttpsRequest, createAgentTransport, createArrayBufferCensusGate, createAuthenticatedFileServer, createBroker, createBrokerDeviceManagerApi, createCapActionCensus, createCiaoPublisher, createCidrMatcher, createCoreCapService, createCoreCatalogRegistry, createDeferredHeapWatchSink, createDoorSettingsView, createEventPlaneMeter, createEventPlaneReader, createFileDataPlaneHandler, createHubCapForwardService, createHubService, createInspectorArrayBufferCensus, createKernelHwAccel, createKernelInferenceEngine, createLocalTransport, createLoopDelayMeter, createMeshAccessMiddleware, createMeshCsrPem, createMeshQueueReader, createMigrationApi, createMigrationApiOverContext, createOutboundQueueGate, createParentUnownedCallHandler, createProcessService, createReadinessService, createReadinessServiceForRegistry, createRequiresRegistry, createScopedProcessManager, createSocketDirectionCounters, createSocketPlaneMeter, createSocketPlaneReader, createStreamProbeBrokerService, createUdsAddonContext, createUdsEventBridge, createUdsEventBus, createUdsLogger, createUdsLoggerWithControl, createV8Reclaimer, currentBrokerTransporter, currentCapCallContext, decideAddonVersionMove, deleteModelFromDisk, deriveAgentListenPort, describeCsr, describeHttpsLeaf, describeMeshLeaf, describeProviderKindDrift, describeRss, deviceCapResolverLink, deviceOfGetStatus, dialableHubHost, diffCapActionCensus, diffEventPlane, diffSocketPlane, disconnectBrokerTransport, downloadBinary, downloadFile, downloadModel, dropProcessPeer, emitDownForOwnedCaps, emitHeapDiagnosticReport, emitProcessNodeRegistered, encodeFrame, ensureAddonNativePrebuilds, ensureBinary, ensureDir, ensureFfmpeg, ensureModel, ensureNativePrebuilds, ensurePython, ensureTlsCert, evaluateExistingCert, expandCapMethods, exportMeshPrivateKeyPem, fetchJson, filterIsEmpty, findAddonRefusal, findInPath, formatArrayBufferCensus, formatEventPlane, formatHeapSpaces, formatLogLine, formatMeshQueue, formatOutboundQueueVerdict, formatSocketPlane, generateBackupKeyPair, generateDeviceCa, generateMeshCa, generateMeshKeyPair, getBrokerEventBus, getBrokerTlsTransporter, getCapUsageRegistry, getCatalogRegistry, getCommandFollowUpRegistry, getCommandObserverRegistry, getFfmpegDownloadUrl, getLocalEventInterest, getLoggingGate, getModelFilePath, getMoleculerEventStats, getOrInitReadinessRegistry, getOrInitReadinessRegistryForClient, getPidStats, getPlatformInfo, getPlatformKeychainKey, getProcessAgentHttpsNames, getProcessJwtSigningKeyState, getProcessMeshCaState, getProcessMeshCertificateRegistry, getProcessMeshHandshakeReporter, getProcessMeshTlsListenerState, getProcessNodeMeshTransport, getProcessPeerLeaf, getPythonDownloadUrl, getRestartMarkerPath, getSinglePidStats, getStateRefreshPolicyRegistry, getUserManagementInternal, getWorkerDeviceRegistry, hasDotNode, heapSpaceField, hostNodeIdOf, hubHostFromMeshAddress, hubMainRssBudget, hubServerVersionOf, installAgentHttps, installBrokerTransporter, installManifestNativeDeps, installManifestPythonDeps, installManifestSystemDeps, installPackageFromNpm, installPythonPackages, installPythonRequirements, integrationRegistryRecordKinds, ipcParentLink, isAddonDeploySource, isAllowedAgentDashboardReturnTo, isAnnouncedHubId, isArrayBufferCensusReport, isArrayOutputSchema, isCollectionArrayMethod, isConstrainedCa, isContainerBridgeAddress, isCredentialKeyName, isInfraCapability, isInsecureOrigin, isInstalledTransporter, isLocalOnlyHostname, isModelDownloaded, isPeerEventPacket, isPrivateAddress, isProcessVerifiedMeshPeer, isRemoteForbiddenAction, isRemoteForbiddenOnAgent, isSettingsReadUnavailable, isSourceNewer, isValidAgentNodeId, isolatedBuiltinPhase, issueAgentHttpsLeaf, issueDeviceLeaf, issueMeshLeafForNode, issueMeshLeafFromCsr, keyFingerprintShort, leafFingerprintOf, levelRank, lineContainsText, lineMatches, listHeldInstalls, loadAgentHttps, loadBootstrapConfig, loadDeviceCa, loadMeshCa, loadOrCreateHubId, loadTlsCert, localCaCommonName, localEndpointPath, localProviderLink, localSupportedPythonRuntimes, mapSignalsToInferenceHardware, meshErrorType, mintAgentUiUnlockTicket, mountNativeCapService, nextRssBudgetState, normalizeIp, normalizeOrigin, onLocalEventInterestChange, onProcessNodeRegistered, onSessionsRevoked, openMeshTlsWhenRevocationsLoaded, originNodeOf, overlayGetStatus, parseAgentDashboardOrigins, parseCapAction, parseCidrList, parseOriginList, parseRangeHeader, parseRssBudgetMb, parseTokenExpiry, parseTokenizedUrl, partitionIsolatedBuiltinIds, pemDigest, permitsIdentity, permitsName, pinnedHttpsCaFingerprint, preferencesLimitReasonOf, prepareBootTls, prepareRestoreArchive, probePlatform, processJwtSigningKey, processMeshCrl, proxyToUpstream, quarantineAddonResidue, readAllRows, readBackupEncryptionHeader, readCidrSetting, readCurrentCommandOrigin, readExtraSans, readHeapSpaces, readLanHttpState, readNameConstraints, readOriginSetting, readPendingRestart, readSocketQueues, readTlsAccessStatus, readTlsEnabled, readTlsMode, readinessKey, reclaimIntervalMs, recordHeldInstall, recordSocketFrame, redactLogEntry, redactLogMeta, redactLogText, regenerateCertificate, registerEventBusService, registerHttpsListener, registerLanHttpHandler, reissueTlsLeaf, reloadHttpsListener, renewMeshCertificate, replaceUnconstrainedLocalCa, requireProcessMeshCa, resetCatalogRegistryForTests, resolveAddonInstancePath, resolveFilePath, resolveFormatRevision, resolveHwAccel, resolveNpmInvocation, retirePreviousLocalCa, revertToGeneratedCertificate, revisionWeightUrl, revokeMeshCertificate, runHubAddonBoot, runNpm, runObservedCommand, runWithCapCallContext, sampleSocketDirection, scheduleSelfRestart, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, selectAddonResidue, selectReportedSpaces, serializeTypedArrays, servedHttpsLeafFingerprint, setHubConnected, setHuggingFaceReachabilityObserver, setNodeEventInterest, setPlatformKeychainKey, setProcessAgentHttpsNames, setProcessMeshCertificateRegistry, setProcessMeshHandshakeReporter, setProcessMeshPeerTransportLookup, setProcessMeshTlsEnabler, setProcessMeshTlsListenerState, setWrapperActive, shouldReclaim, signMembershipProof, signPairingProof, signalAllRunnerGroups, socketDirectionBytes, socketDirectionMessages, splitPemCertificates, stampCallerAddonId, startEventLoopStallMonitor, startHeapWatch, startRunnerHeapWatch, staticJwtSigningKey, storageOrchestratorRecordKinds, storeMayAnswer, storeUploadedCertificate, strandedMb, stripCamstackDeps, stripForgedIdentity, stripForwardedCaller, subscribePassthrough, systemHostFacts, udsChildLogToWorkerEntry, useStoredUploadedCertificate, validateProviderRegistrations, validateUploadedTls, verifyAgentUiUnlockTicket, verifyDeviceLeaf, verifyDeviceSignature, verifyMembershipAnswer, verifyPairingProof, waitUntilReady, writeExtraSans, writePendingRestart, writeTlsEnabled, writeTlsMode };
@@ -44,6 +44,7 @@
44
44
  */
45
45
  import { type CapabilityDefinition, type CapabilityMountKind } from "@camstack/types";
46
46
  import { type CommandObserver } from "./command-observation.js";
47
+ import { type CommandFollowUp } from "./command-follow-up.js";
47
48
  /**
48
49
  * A tRPC-procedure-like builder. Mirrors the chainable surface the
49
50
  * codegen emits (`procedure.input(...).output(...).query(...)`), kept
@@ -175,6 +176,12 @@ export interface CapRouterServices {
175
176
  * mount simply reports nothing. Telemetry — it never affects the call.
176
177
  */
177
178
  readonly commandObserver?: CommandObserver;
179
+ /**
180
+ * Awaited after every device command this mount reports, before the caller
181
+ * hears the answer (D1062: the state refresh). Never a gate — see
182
+ * `command-follow-up.ts`. OPTIONAL like `commandObserver`.
183
+ */
184
+ readonly commandFollowUp?: CommandFollowUp;
178
185
  }
179
186
  /**
180
187
  * Build a single capability's router (the runtime equivalent of one
@@ -0,0 +1,33 @@
1
+ /** The device command a follow-up is about. */
2
+ export interface CommandFollowUpTarget {
3
+ readonly deviceId: number;
4
+ readonly capName: string;
5
+ readonly method: string;
6
+ }
7
+ /** How the provider's call ended. */
8
+ export type CommandCallOutcome = "ok" | "failed";
9
+ export type CommandFollowUp = (target: CommandFollowUpTarget, outcome: CommandCallOutcome) => Promise<void>;
10
+ /** The one follow-up of this process (the hub's device-manager installs it). */
11
+ export declare class CommandFollowUpRegistry {
12
+ private handler;
13
+ /** Install (or, with `null`, remove) the follow-up. Returns the uninstall. */
14
+ set(handler: CommandFollowUp | null): () => void;
15
+ /** Run the follow-up for a settled command. Never throws. */
16
+ run(target: CommandFollowUpTarget, outcome: CommandCallOutcome): Promise<void>;
17
+ }
18
+ /** The process-wide registry. */
19
+ export declare function getCommandFollowUpRegistry(): CommandFollowUpRegistry;
20
+ /** Test seam: forget the handler. */
21
+ export declare function __resetCommandFollowUpRegistryForTests(): void;
22
+ /** The target of a call when it is a device command naming a device, else `null`. */
23
+ export declare function commandFollowUpTarget(capName: string, method: string, deviceId: number | undefined): CommandFollowUpTarget | null;
24
+ /** The `deviceId` an args object names, or `undefined`. */
25
+ export declare function deviceIdOfArgs(args: unknown): number | undefined;
26
+ /**
27
+ * Await `result`, then the follow-up, then answer with `result` — its value, or
28
+ * its error rethrown. Without a follow-up or a target, `result` is returned
29
+ * untouched.
30
+ */
31
+ export declare function withCommandFollowUp<T>(followUp: CommandFollowUp | undefined, target: CommandFollowUpTarget | null, result: T): T | Promise<Awaited<T>>;
32
+ /** Run `followUp` for a settled command, swallowing its failure. */
33
+ export declare function runCommandFollowUp(followUp: CommandFollowUp, target: CommandFollowUpTarget, outcome: CommandCallOutcome): Promise<void>;
@@ -0,0 +1,42 @@
1
+ /**
2
+ * The providers' command-hold options (D1061), as the hub process knows them.
3
+ *
4
+ * A provider states its options where it registers a device's native cap
5
+ * (`ctx.registerNativeCap(cap, provider, { commands })`). They reach this
6
+ * registry by the same road the registration does: an in-process registration
7
+ * writes here directly (source `in-process`), a forked child carries them on its
8
+ * cap descriptors and the UDS parent replaces the child's whole set on every
9
+ * register frame and drops it when the child goes (source `child:<id>`). The
10
+ * device-manager's hold reads them; absent = the core default.
11
+ *
12
+ * Memory only, like the holds themselves: a restart re-registers every cap.
13
+ */
14
+ import type { CommandHoldOptions } from "@camstack/types";
15
+ import type { ChildCapDescriptor } from "./transport/child-cap-protocol.js";
16
+ /** One device cap's options, as a source reports them. */
17
+ export interface CommandHoldOverrideEntry {
18
+ readonly deviceId: number;
19
+ readonly capName: string;
20
+ readonly commands: CommandHoldOptions;
21
+ }
22
+ /** The source key of an in-process registration. */
23
+ export declare const IN_PROCESS_HOLD_SOURCE = "in-process";
24
+ /** The source key of a forked child's registrations. */
25
+ export declare function childHoldSource(childId: string): string;
26
+ /** The options a child's cap descriptors carry, one entry per device cap. */
27
+ export declare function childCommandHoldEntries(caps: readonly ChildCapDescriptor[]): CommandHoldOverrideEntry[];
28
+ export declare class CommandHoldOverrideRegistry {
29
+ private readonly bySource;
30
+ /** Record (or replace) one device cap's options from `source`. */
31
+ set(source: string, entry: CommandHoldOverrideEntry): void;
32
+ /** Forget one device cap's options from `source`. */
33
+ delete(source: string, deviceId: number, capName: string): void;
34
+ /** Replace everything `source` reported with `entries` (an empty list forgets the source). */
35
+ replaceSource(source: string, entries: readonly CommandHoldOverrideEntry[]): void;
36
+ /** The options for a device cap, from whichever source registered it; `undefined` = default. */
37
+ get(deviceId: number, capName: string): CommandHoldOptions | undefined;
38
+ }
39
+ /** The process-wide registry. */
40
+ export declare function getCommandHoldOverrideRegistry(): CommandHoldOverrideRegistry;
41
+ /** Test seam: forget every option. */
42
+ export declare function __resetCommandHoldOverrideRegistryForTests(): void;
@@ -16,6 +16,7 @@ import type { TRPCLink } from "@trpc/client";
16
16
  import type { AnyRouter } from "@trpc/server";
17
17
  import type { CommandActor, DeviceCommandObservation } from "@camstack/types";
18
18
  import { type CommandOriginClaim } from "@camstack/types/addon";
19
+ import { type CommandFollowUp } from "./command-follow-up.js";
19
20
  export type CommandObserver = (obs: DeviceCommandObservation) => void;
20
21
  /** Fan-out of command observations to the subscribers of this process. */
21
22
  export declare class CommandObserverRegistry {
@@ -59,6 +60,8 @@ export declare function addonCommandActor(addonId: string, origin: CommandOrigin
59
60
  export declare function commandObserverLink<TRouter extends AnyRouter>(options: {
60
61
  readonly callerAddonId: string;
61
62
  readonly sink: CommandObserver;
63
+ /** Awaited after the command settled, before the caller hears it (D1062). */
64
+ readonly followUp?: CommandFollowUp;
62
65
  }): TRPCLink<TRouter>;
63
66
  /**
64
67
  * Who a hub tRPC call is from, read from the request context by narrowing (the
@@ -108,6 +108,9 @@ export type { RunnerRefusalReport } from "./moleculer/runner-refusal.js";
108
108
  export { signalAllRunnerGroups } from "./moleculer/runner-process-group.js";
109
109
  export { CommandObserverRegistry, __resetCommandObserverRegistryForTests, addonCommandActor, commandActorFromContext, commandObserverLink, getCommandObserverRegistry, runObservedCommand } from "./command-observation.js";
110
110
  export type { CommandObserver } from "./command-observation.js";
111
+ export { CommandFollowUpRegistry, __resetCommandFollowUpRegistryForTests, getCommandFollowUpRegistry } from "./command-follow-up.js";
112
+ export type { CommandCallOutcome, CommandFollowUp, CommandFollowUpTarget } from "./command-follow-up.js";
113
+ export { StateRefreshPolicyRegistry, getStateRefreshPolicyRegistry, __resetStateRefreshPolicyRegistryForTests } from "./state-refresh-policies.js";
111
114
  export { CapUsageRegistry, getCapUsageRegistry, PARENT_ROUTED_PROVIDER_ADDON_ID, __resetCapUsageRegistryForTests } from "./moleculer/cap-usage-registry.js";
112
115
  export type { CapUsageCallRecord, CapUsageEdge, CapUsageRegistryOptions, CapUsageStats } from "./moleculer/cap-usage-registry.js";
113
116
  export { createScopedProcessManager } from "./moleculer/process-context.js";
@@ -1,3 +1,4 @@
1
+ import type { CommandHoldOptions, StateRefreshPolicy } from "@camstack/types";
1
2
  import type { ChildCapDescriptor } from "../transport/child-cap-protocol.js";
2
3
  /** One hosted addon's contribution to the runner UNION manifest. */
3
4
  export interface RunnerManifestEntry {
@@ -9,6 +10,10 @@ export interface NativeCapSnapshotEntry {
9
10
  readonly capName: string;
10
11
  readonly addonId: string;
11
12
  readonly deviceIds: readonly number[];
13
+ /** The hold options per device that stated any (D1061). */
14
+ readonly commandHolds?: ReadonlyMap<number, CommandHoldOptions>;
15
+ /** The state-refresh policy per device that stated one (D1062). */
16
+ readonly stateRefresh?: ReadonlyMap<number, StateRefreshPolicy>;
12
17
  }
13
18
  /**
14
19
  * Builds the {@link ChildCapDescriptor} array that the UDS child transport
@@ -1,4 +1,4 @@
1
- import type { AddonApi, CapabilityDefinition, DeviceManagerApi, IDevice, IEventBus, IKernelStreamProbe, InferProvider, IScopedLogger } from "@camstack/types";
1
+ import type { AddonApi, CapabilityDefinition, CommandHoldOptions, DeviceManagerApi, IDevice, IEventBus, IKernelStreamProbe, InferProvider, IScopedLogger, StateRefreshPolicy } from "@camstack/types";
2
2
  import { deviceOpsCapability } from "@camstack/types/addon";
3
3
  import type { ServiceBroker } from "moleculer";
4
4
  import type { CapabilityRegistry } from "../capability-registry.js";
@@ -50,6 +50,8 @@ export declare function getWorkerNativeCapSnapshot(): ReadonlyArray<{
50
50
  readonly capName: string;
51
51
  readonly addonId: string;
52
52
  readonly deviceIds: readonly number[];
53
+ readonly commandHolds?: ReadonlyMap<number, CommandHoldOptions>;
54
+ readonly stateRefresh?: ReadonlyMap<number, StateRefreshPolicy>;
53
55
  }>;
54
56
  export declare function getWorkerNativeCapsForDevice(deviceId: number): readonly string[];
55
57
  /**
@@ -0,0 +1,53 @@
1
+ /**
2
+ * The providers' state-refresh policies (D1062), as the hub process knows them.
3
+ *
4
+ * A provider states its policy where it registers a device's
5
+ * `device-state-refresh` cap (`ctx.registerNativeCap(cap, provider, {
6
+ * stateRefresh })`). The policy reaches this registry by the road the
7
+ * command-hold options take (D1061): an in-process registration writes here
8
+ * directly (source `in-process`), a forked child carries it on its cap
9
+ * descriptors and the UDS parent replaces the child's whole set on every
10
+ * register frame and drops it when the child goes (source `child:<id>`).
11
+ *
12
+ * The device-manager's scheduler subscribes and reconciles its schedules on
13
+ * every change. Memory only: a restart re-registers every cap.
14
+ */
15
+ import type { StateRefreshPolicy } from "@camstack/types";
16
+ import type { ChildCapDescriptor } from "./transport/child-cap-protocol.js";
17
+ /** The cap a policy is stated on. */
18
+ export declare const STATE_REFRESH_CAP = "device-state-refresh";
19
+ /** One device's policy, as a source reports it. */
20
+ export interface StateRefreshPolicyEntry {
21
+ readonly deviceId: number;
22
+ /** The addon that registered the device's refresh cap. */
23
+ readonly addonId: string;
24
+ readonly policy: StateRefreshPolicy;
25
+ }
26
+ /** The source key of an in-process registration. */
27
+ export declare const IN_PROCESS_REFRESH_SOURCE = "in-process";
28
+ /** The source key of a forked child's registrations. */
29
+ export declare function childRefreshSource(childId: string): string;
30
+ /** The policies a child's cap descriptors carry, one entry per device. */
31
+ export declare function childStateRefreshEntries(childId: string, caps: readonly ChildCapDescriptor[]): StateRefreshPolicyEntry[];
32
+ /** Told after every change, with the whole current set. */
33
+ export type StateRefreshPolicyListener = () => void;
34
+ export declare class StateRefreshPolicyRegistry {
35
+ private readonly bySource;
36
+ private readonly listeners;
37
+ /** Record (or replace) one device's policy from `source`. */
38
+ set(source: string, entry: StateRefreshPolicyEntry): void;
39
+ /** Forget one device's policy from `source`. */
40
+ delete(source: string, deviceId: number): void;
41
+ /** Replace everything `source` reported with `entries` (an empty list forgets the source). */
42
+ replaceSource(source: string, entries: readonly StateRefreshPolicyEntry[]): void;
43
+ /** Every device's policy (a device registered by two sources keeps the first). */
44
+ entries(): readonly StateRefreshPolicyEntry[];
45
+ /** One device's policy, or `undefined` when its provider did not migrate. */
46
+ get(deviceId: number): StateRefreshPolicyEntry | undefined;
47
+ subscribe(listener: StateRefreshPolicyListener): () => void;
48
+ private changed;
49
+ }
50
+ /** The process-wide registry. */
51
+ export declare function getStateRefreshPolicyRegistry(): StateRefreshPolicyRegistry;
52
+ /** Test seam: forget every policy. */
53
+ export declare function __resetStateRefreshPolicyRegistryForTests(): void;
@@ -1,4 +1,4 @@
1
- import type { ChildCustomActionCatalogs, CommandOriginClaim, CustomActionCaller, IReadinessRegistryRecord, LogLevel, LogTags, SystemEvent } from "@camstack/types";
1
+ import type { ChildCustomActionCatalogs, CommandHoldOptions, CommandOriginClaim, CustomActionCaller, IReadinessRegistryRecord, LogLevel, LogTags, StateRefreshPolicy, SystemEvent } from "@camstack/types";
2
2
  import type { CapRoutingHints } from "./cap-routing-hints.js";
3
3
  /**
4
4
  * Routing descriptor a child sends so the parent can route cap calls to it.
@@ -20,6 +20,16 @@ export interface ChildCapDescriptor {
20
20
  * back to the childId (identical to the historical single-addon behaviour).
21
21
  */
22
22
  readonly addonId?: string;
23
+ /**
24
+ * The command-hold options the provider stated for this device cap (D1061),
25
+ * per method. OPTIONAL: absent = the core default (and a legacy child).
26
+ */
27
+ readonly commandHolds?: CommandHoldOptions;
28
+ /**
29
+ * The device's state-refresh policy (D1062), on its `device-state-refresh`
30
+ * descriptor only. OPTIONAL: absent = the provider keeps its own timing.
31
+ */
32
+ readonly stateRefresh?: StateRefreshPolicy;
23
33
  }
24
34
  /** First message a child sends after connecting — its complete cap manifest. */
25
35
  export interface RegisterMessage {
@@ -3,6 +3,7 @@ import type { CapUsageCallRecord } from "../moleculer/cap-usage-registry.js";
3
3
  import { type CommandObserver } from "../command-observation.js";
4
4
  import { type CapActionReading } from "./cap-action-census.js";
5
5
  import { type CapRoutingHints } from "./cap-routing-hints.js";
6
+ import { type CommandFollowUp } from "../command-follow-up.js";
6
7
  import { type DeviceCallRedirectHook } from "./device-call-redirect.js";
7
8
  import type { ClaimedStatusResolver } from "../status-overlay.js";
8
9
  import type { AddonCallInput, CapCallInput, ChildLogMessage, RegisteredChild } from "./child-cap-protocol.js";
@@ -304,6 +305,12 @@ export interface LocalChildRegistryOptions {
304
305
  * MUST NOT throw; the call site catches anyway.
305
306
  */
306
307
  readonly commandObserver?: CommandObserver;
308
+ /**
309
+ * Awaited after a device command a child issued settled, before the child
310
+ * hears the answer (D1062: the state refresh). Same calls as
311
+ * {@link commandObserver}; never a gate (`command-follow-up.ts`).
312
+ */
313
+ readonly commandFollowUp?: CommandFollowUp;
307
314
  }
308
315
  /**
309
316
  * Parent-side authority for local addon-runners reachable over a
@@ -354,6 +361,8 @@ export declare class LocalChildRegistry {
354
361
  private readonly capUsageObserver?;
355
362
  /** See {@link LocalChildRegistryOptions.commandObserver}. */
356
363
  private readonly commandObserver?;
364
+ /** See {@link LocalChildRegistryOptions.commandFollowUp}. */
365
+ private readonly commandFollowUp?;
357
366
  /** Tracks capNames already logged as UDS-routed; one INFO line per capName per process. */
358
367
  private readonly egressRoutedCaps;
359
368
  /** Per-child event fan-out counters (sent / suppressed). */
@@ -533,6 +542,11 @@ export declare class LocalChildRegistry {
533
542
  * is not the registry.
534
543
  */
535
544
  private recordCommand;
545
+ /**
546
+ * The device command a child's `cap-call-out` is (D1062), or `null`. Read
547
+ * from the lifted routing hints, so a raw-forward frame is not decoded.
548
+ */
549
+ private childCommandTarget;
536
550
  private recordCapUsage;
537
551
  /**
538
552
  * The cap index over the CURRENT children, rebuilt on first use after any
@@ -1,4 +1,4 @@
1
- import { ol as collectSecretMarkerRefs } from "./dist-DorY_sjS.mjs";
1
+ import { dl as collectSecretMarkerRefs } from "./dist-DBanWvHF.mjs";
2
2
  //#region src/builtins/sqlite-storage/migrations/legacy-integration-rows-door.ts
3
3
  /**
4
4
  * Migration-only door for the leftover integration rows (planning#416).