openmeld 0.3.227 → 0.3.229
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/{add-me-membership-pkREbEJG.js → add-me-membership-25sIYCId.js} +2 -2
- package/dist/{add-me-membership-pkREbEJG.js.map → add-me-membership-25sIYCId.js.map} +1 -1
- package/dist/{agents-D_RojMEE.js → agents-DqhKdgat.js} +9 -9
- package/dist/{agents-D_RojMEE.js.map → agents-DqhKdgat.js.map} +1 -1
- package/dist/{api-client-foundation-Czb9hJvA.js → api-client-foundation-DgTXf3Gb.js} +3 -3
- package/dist/{api-client-foundation-Czb9hJvA.js.map → api-client-foundation-DgTXf3Gb.js.map} +1 -1
- package/dist/{api-client-foundation-CEScBsM7.js → api-client-foundation-d4E5XWdJ.js} +1 -1
- package/dist/auth-session-DExyUwLo.js +4 -0
- package/dist/{auth-session-Q0B3Nfae.js → auth-session-pLaN5cnC.js} +2 -2
- package/dist/{auth-session-Q0B3Nfae.js.map → auth-session-pLaN5cnC.js.map} +1 -1
- package/dist/{channel-B1gMWx__.js → channel-DppbHxHw.js} +3 -3
- package/dist/{channel-B1gMWx__.js.map → channel-DppbHxHw.js.map} +1 -1
- package/dist/{command-B5E_YSAY.js → command-BFIRSLTj.js} +15 -15
- package/dist/{command-B5E_YSAY.js.map → command-BFIRSLTj.js.map} +1 -1
- package/dist/{computer-connection-BbDdF_MD.js → computer-connection-DMkamVpB.js} +2 -2
- package/dist/{computer-connection-BbDdF_MD.js.map → computer-connection-DMkamVpB.js.map} +1 -1
- package/dist/{computer-connection-review-Dop02mby.js → computer-connection-review-C9CKzIdH.js} +5 -5
- package/dist/{computer-connection-review-Dop02mby.js.map → computer-connection-review-C9CKzIdH.js.map} +1 -1
- package/dist/{computer-disconnect-pH6HaHQq.js → computer-disconnect-Cvl_ia32.js} +7 -7
- package/dist/{computer-disconnect-pH6HaHQq.js.map → computer-disconnect-Cvl_ia32.js.map} +1 -1
- package/dist/{computer-setup-continuation-BhM3HsRI.js → computer-setup-continuation-uFrI9ZaE.js} +3 -3
- package/dist/{computer-setup-continuation-BhM3HsRI.js.map → computer-setup-continuation-uFrI9ZaE.js.map} +1 -1
- package/dist/{context-D3kAC8RG.js → context-qbQXVLF5.js} +3 -3
- package/dist/{context-D3kAC8RG.js.map → context-qbQXVLF5.js.map} +1 -1
- package/dist/{daemon-device-id-DEGf1fm6.js → daemon-device-id-B6iDyQEs.js} +4 -4
- package/dist/{daemon-device-id-DEGf1fm6.js.map → daemon-device-id-B6iDyQEs.js.map} +1 -1
- package/dist/{daemon-frame-transport-BMZP90f0.js → daemon-frame-transport-BQR5LfG2.js} +52 -8
- package/dist/{daemon-frame-transport-BMZP90f0.js.map → daemon-frame-transport-BQR5LfG2.js.map} +1 -1
- package/dist/{daemon-lifecycle-journal-NeBAn_SY.js → daemon-lifecycle-journal-G_C_pRtu.js} +3 -3
- package/dist/{daemon-lifecycle-journal-NeBAn_SY.js.map → daemon-lifecycle-journal-G_C_pRtu.js.map} +1 -1
- package/dist/{daemon-service-runtime-nIBQreis.js → daemon-service-runtime-BkVvz7bG.js} +2 -2
- package/dist/{daemon-service-runtime-nIBQreis.js.map → daemon-service-runtime-BkVvz7bG.js.map} +1 -1
- package/dist/{daemon-service-update-coordinator-BdcEl-QC.js → daemon-service-update-coordinator-UajkUU66.js} +43 -34
- package/dist/daemon-service-update-coordinator-UajkUU66.js.map +1 -0
- package/dist/{dist-DkN9tKMX.js → dist-CAypwFRu.js} +693 -63
- package/dist/dist-CAypwFRu.js.map +1 -0
- package/dist/{dist-vpxgF6Lp.js → dist-DFhd6JmQ.js} +2 -2
- package/dist/{dist-vpxgF6Lp.js.map → dist-DFhd6JmQ.js.map} +1 -1
- package/dist/dist-olOaAWkl.js +4 -0
- package/dist/{elapsed-time-BxMWSsxC.js → elapsed-time-UlhDiZjv.js} +5 -5
- package/dist/{elapsed-time-BxMWSsxC.js.map → elapsed-time-UlhDiZjv.js.map} +1 -1
- package/dist/{entry-jvTvDBr-.js → entry-BotSzkFU.js} +7 -7
- package/dist/{entry-jvTvDBr-.js.map → entry-BotSzkFU.js.map} +1 -1
- package/dist/{installation-inventory-Bf1SvGVh.js → installation-inventory-BgZq7fWv.js} +3 -3
- package/dist/{installation-inventory-Bf1SvGVh.js.map → installation-inventory-BgZq7fWv.js.map} +1 -1
- package/dist/{installer-IVAr1ZD-.js → installer-DxU4S_WH.js} +2 -2
- package/dist/{installer-IVAr1ZD-.js.map → installer-DxU4S_WH.js.map} +1 -1
- package/dist/{meta-api-BYB9vhya.js → meta-api-D0nhhSY7.js} +6 -6
- package/dist/{meta-api-BYB9vhya.js.map → meta-api-D0nhhSY7.js.map} +1 -1
- package/dist/{openmeld-0pnb6g3R.js → openmeld-BWAL_LKY.js} +822 -36
- package/dist/openmeld-BWAL_LKY.js.map +1 -0
- package/dist/{openmeld-maintenance-worker-CSes51Vp.js → openmeld-maintenance-worker-DOTHTGQt.js} +9 -9
- package/dist/{openmeld-maintenance-worker-CSes51Vp.js.map → openmeld-maintenance-worker-DOTHTGQt.js.map} +1 -1
- package/dist/{openmeld-tools-update-join-BlPynw_v.js → openmeld-tools-update-join-DQd7kyjX.js} +4 -4
- package/dist/{openmeld-tools-update-join-BlPynw_v.js.map → openmeld-tools-update-join-DQd7kyjX.js.map} +1 -1
- package/dist/openmeld.js +4 -4
- package/dist/{prepare-provider-runtime-DSKQFj-R.js → prepare-provider-runtime-DDYaeyRp.js} +9 -9
- package/dist/{prepare-provider-runtime-DSKQFj-R.js.map → prepare-provider-runtime-DDYaeyRp.js.map} +1 -1
- package/dist/{prepare-session-executor-DEJ9OaJh.js → prepare-session-executor-C7n9tbr-.js} +18 -18
- package/dist/{prepare-session-executor-DEJ9OaJh.js.map → prepare-session-executor-C7n9tbr-.js.map} +1 -1
- package/dist/{process-channel-BIumgluJ.js → process-channel-DmTb_kO4.js} +2 -2
- package/dist/{process-channel-BIumgluJ.js.map → process-channel-DmTb_kO4.js.map} +1 -1
- package/dist/{runtime-Du3Az4wt.js → runtime-Cxz_FMWn.js} +16 -16
- package/dist/{runtime-Du3Az4wt.js.map → runtime-Cxz_FMWn.js.map} +1 -1
- package/dist/{runtime-agent-controller-reporting-submission-Bl2CWQ96.js → runtime-agent-controller-reporting-submission-Ba_cI1hv.js} +8 -8
- package/dist/{runtime-agent-controller-reporting-submission-Bl2CWQ96.js.map → runtime-agent-controller-reporting-submission-Ba_cI1hv.js.map} +1 -1
- package/dist/{runtime-reporting-health-state-CKmph14R.js → runtime-reporting-health-state-BUX4e4x7.js} +9 -9
- package/dist/{runtime-reporting-health-state-CKmph14R.js.map → runtime-reporting-health-state-BUX4e4x7.js.map} +1 -1
- package/dist/{runtime-transport-DUR91mKK.js → runtime-transport-D4x8_AmR.js} +19 -2
- package/dist/runtime-transport-D4x8_AmR.js.map +1 -0
- package/dist/{service-Bh1iD84k.js → service-BHNAamFv.js} +18 -18
- package/dist/{service-Bh1iD84k.js.map → service-BHNAamFv.js.map} +1 -1
- package/dist/{service-account-authorization-CyV8YFAw.js → service-account-authorization-Di59Cjth.js} +2 -2
- package/dist/{service-account-authorization-CyV8YFAw.js.map → service-account-authorization-Di59Cjth.js.map} +1 -1
- package/dist/{service-account-control-Cc6qVa0m.js → service-account-control-s0OXYGgp.js} +9 -9
- package/dist/{service-account-control-Cc6qVa0m.js.map → service-account-control-s0OXYGgp.js.map} +1 -1
- package/dist/{service-control-capabilities-D4W3WTHS.js → service-control-capabilities-DrFu2peO.js} +3 -3
- package/dist/{service-control-capabilities-D4W3WTHS.js.map → service-control-capabilities-DrFu2peO.js.map} +1 -1
- package/dist/{service-control-capabilities-CdVTTNRK.js → service-control-capabilities-LZc_90-g.js} +1 -1
- package/dist/{state-ClTXLNB3.js → state-mQWCO2uD.js} +2 -2
- package/dist/{state-ClTXLNB3.js.map → state-mQWCO2uD.js.map} +1 -1
- package/dist/upgrade-BFwP5HXC.js +4 -0
- package/dist/{upgrade-B07Dh83M.js → upgrade-CJn4nMKH.js} +7 -7
- package/dist/{upgrade-B07Dh83M.js.map → upgrade-CJn4nMKH.js.map} +1 -1
- package/dist/windows/openmeld-windows-process.exe +0 -0
- package/package.json +13 -13
- package/dist/auth-session-ga82_Wa9.js +0 -4
- package/dist/daemon-service-update-coordinator-BdcEl-QC.js.map +0 -1
- package/dist/dist-C5emSnFG.js +0 -4
- package/dist/dist-DkN9tKMX.js.map +0 -1
- package/dist/openmeld-0pnb6g3R.js.map +0 -1
- package/dist/runtime-transport-DUR91mKK.js.map +0 -1
- package/dist/upgrade-DgTfV7-m.js +0 -4
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
import { n as toDaemonRouteObservationUrl } from "./urls-CY2uzH2-.js";
|
|
4
4
|
import { t as isLoopbackHostname } from "./loopback-hostname-DHQPKq8N.js";
|
|
5
5
|
import { D as openMeldRootDir, F as resolveOpenMeldEnvPreset, I as resolveOpenMeldRootDir, T as openMeldManagedVersionBinaryPath, t as OPENMELD_HOME_ENV_KEY, x as openMeldBackupsDir } from "./paths-DSkUuEu3.js";
|
|
6
|
-
import {
|
|
7
|
-
import { A as createExpectedRoutesReadSession, D as NO_LOCAL_AGENTS_NEED_OPENMELD_SERVICE_REASON, H as resolveAgentTargetState, O as syncDeviceRuntimeStateProjection, T as resolveEffectiveProfileWorkingFolderRuntime, _ as loadDaemonRouteCatalog, c as findOpenClawAgentById, d as resolveOpenClawAuthStatus, dn as createLocalAdapterEntries, f as resolveOpenClawProviderRuntimeWorkingDirectory, h as readDaemonRouteCatalogCache, i as listOpenClawGatewayAgents, j as resolveAgentProfilePrimaryAgentControllerReport, k as createPrimaryBindingReadSession, kn as DaemonServiceRunError, kt as resolveRegistryRuntimeAdapterContractByAgentControllerRef, l as findOpenClawAgentsByWorkspace, m as resolveOpenClawLocalBootstrapPaths, n as fetchOpenClawGatewayHealth, p as readOpenClawLocalBootstrapState, r as listOpenClawAgents, t as prepareProviderRuntime, u as matchesExpectedWorkspace, un as createLocalAdapterContainer } from "./prepare-provider-runtime-
|
|
8
|
-
import { L as runtimeTransportRejectedProfileRegistrationSchema, M as runtimeTransportLookupRouteOwnerServiceEvidenceSchema, b as runtimeTransportErrorCodeSchema, c as runtimeTransportCapabilitiesSchema, et as resolvePublicAgentAvailabilityCopy, i as daemonExecutionCompatibilitySchema, o as localWakeRouteReportSchema,
|
|
9
|
-
import { d as getAuthSessionState, m as hasPendingComputerSetupContinuation, z as DEFAULT_GATEWAY_CHAIN_TIMEOUT_MS$1 } from "./auth-session-
|
|
6
|
+
import { Bn as toStructuredApiClientFailure, Gt as createCurrentDeviceApi, ar as toErrorMessage$4, er as OPENMELD_HEADER_PROFILE_ID } from "./dist-CAypwFRu.js";
|
|
7
|
+
import { A as createExpectedRoutesReadSession, D as NO_LOCAL_AGENTS_NEED_OPENMELD_SERVICE_REASON, H as resolveAgentTargetState, O as syncDeviceRuntimeStateProjection, T as resolveEffectiveProfileWorkingFolderRuntime, _ as loadDaemonRouteCatalog, c as findOpenClawAgentById, d as resolveOpenClawAuthStatus, dn as createLocalAdapterEntries, f as resolveOpenClawProviderRuntimeWorkingDirectory, h as readDaemonRouteCatalogCache, i as listOpenClawGatewayAgents, j as resolveAgentProfilePrimaryAgentControllerReport, k as createPrimaryBindingReadSession, kn as DaemonServiceRunError, kt as resolveRegistryRuntimeAdapterContractByAgentControllerRef, l as findOpenClawAgentsByWorkspace, m as resolveOpenClawLocalBootstrapPaths, n as fetchOpenClawGatewayHealth, p as readOpenClawLocalBootstrapState, r as listOpenClawAgents, t as prepareProviderRuntime, u as matchesExpectedWorkspace, un as createLocalAdapterContainer } from "./prepare-provider-runtime-DDYaeyRp.js";
|
|
8
|
+
import { L as runtimeTransportRejectedProfileRegistrationSchema, M as runtimeTransportLookupRouteOwnerServiceEvidenceSchema, b as runtimeTransportErrorCodeSchema, c as runtimeTransportCapabilitiesSchema, et as resolvePublicAgentAvailabilityCopy, i as daemonExecutionCompatibilitySchema, o as localWakeRouteReportSchema, oi as localAgentCatalogSchema, tt as resolvePublicAgentFailureRecovery } from "./runtime-transport-D4x8_AmR.js";
|
|
9
|
+
import { d as getAuthSessionState, m as hasPendingComputerSetupContinuation, z as DEFAULT_GATEWAY_CHAIN_TIMEOUT_MS$1 } from "./auth-session-pLaN5cnC.js";
|
|
10
10
|
import { x as providerDispatchRuntimeContextSchema } from "./control-plane-rTE2rHZ5.js";
|
|
11
11
|
import { v as openMeldToolsUpdateAttemptSchema, w as openMeldToolsUpdateRequestSourceSchema } from "./local-components-DleLEzSU.js";
|
|
12
12
|
import { r as daemonServiceLaneSchema } from "./service-contract-CRyDcIIf.js";
|
|
13
|
-
import { $ as readPendingDaemonServiceUpdate, A as prepareDaemonServiceBundle, B as resolveDaemonServiceArtifact, C as daemonServiceExecutableWrapperPath, D as ensureDaemonServiceStableBinaryExecutable, E as discardPreparedDaemonServiceBundle, F as restoreDaemonActiveBundleStateSnapshot, G as readManagedCliInstallation, I as runAuditedServiceManagerCarrierMutation, J as withManagedInstallTransaction, L as verifyDaemonActiveBundleIntegrity, M as resolveAlignedDaemonActiveBundleEntryPath, N as resolveDaemonBundleEntryPathFromState, O as ensureDaemonServiceUpdateWorkerBinaryExecutable, P as resolveInstalledDaemonBundleFingerprint, R as writeDaemonServiceExecutableWrapper, S as daemonServiceBinaryExecutablePath, T as daemonServiceUpdateWorkerBinaryPath, W as pruneManagedInstallVersions, X as completePendingDaemonServiceUpdate, Y as DAEMON_SERVICE_UPDATE_JOB_SCHEMA, Z as persistPendingDaemonServiceUpdate, _ as matchesExpectedDaemonServiceManagerDefinition, a as resolveDaemonRuntimeState, at as resolveDaemonServiceUpdateWorkerIdentity, c as resolveObservedDaemonRuntimeStatus, ct as resolveDaemonServiceUpdateWorkerSystemdTimerUnitPath, d as inspectLegacySharedDaemonService, et as resolveBundledServiceRelease, f as listDaemonOwnedProcesses, g as assertDaemonMaintenanceInstallationOwnership, i as readCurrentObservedDaemonRuntimeStatus, it as hasIndependentMaintenanceRegistration, j as readDaemonActiveBundleState, k as isDaemonBundleSourceAllowedForLane, l as resolveObservedRuntimeCommandEntryPath, lt as resolveDaemonServiceUpdateWorkerSystemdUnitPath, m as normalizeDaemonCommandPath, n as getEffectiveDaemonRuntimeStatus, nt as configureDaemonMaintenanceEnvironment, o as resolveDaemonServiceManagerForRuntimeState, ot as resolveDaemonServiceUpdateWorkerLaunchdPlistPath, q as resolveCliSelfVersion, r as readCurrentDaemonRuntimeContext, rt as daemonServiceUpdateWorkerNpmEntryPath, s as waitForDaemonSystemServiceToStop, st as resolveDaemonServiceUpdateWorkerSystemdPathUnitPath, t as clearDaemonRuntimeStateIfDefinitelyStopped, tt as INDEPENDENT_MAINTENANCE_REGISTRATION, u as cleanupLegacySharedDaemonServiceState, ut as resolveDaemonServiceUpdateWorkerWindowsScriptPath, w as daemonServiceLauncherPath, x as clearDaemonServiceUpdateWorkerBinaryExecutable, y as activateDaemonServiceBundle, z as writeDaemonServiceLauncher } from "./daemon-service-runtime-
|
|
14
|
-
import { E as DAEMON_RUNTIME_CONTRACT_REPAIR_REPORT_FILE, T as DAEMON_RUNTIME_CONTRACT_META_FILE, V as resolveOpenMeldProfileOrNull, _ as toErrorMessage$5, c as normalizeHeartbeatIntervalMs, i as resolvePreferredDaemonDeviceId, n as ensureDaemonRuntimePaths, o as dirnamePath, r as resolveDaemonDeviceId, u as normalizeOptionalText$3, x as CONTROLLED_SHUTDOWN_REQUEST_TIMEOUT_MS } from "./daemon-device-id-
|
|
13
|
+
import { $ as readPendingDaemonServiceUpdate, A as prepareDaemonServiceBundle, B as resolveDaemonServiceArtifact, C as daemonServiceExecutableWrapperPath, D as ensureDaemonServiceStableBinaryExecutable, E as discardPreparedDaemonServiceBundle, F as restoreDaemonActiveBundleStateSnapshot, G as readManagedCliInstallation, I as runAuditedServiceManagerCarrierMutation, J as withManagedInstallTransaction, L as verifyDaemonActiveBundleIntegrity, M as resolveAlignedDaemonActiveBundleEntryPath, N as resolveDaemonBundleEntryPathFromState, O as ensureDaemonServiceUpdateWorkerBinaryExecutable, P as resolveInstalledDaemonBundleFingerprint, R as writeDaemonServiceExecutableWrapper, S as daemonServiceBinaryExecutablePath, T as daemonServiceUpdateWorkerBinaryPath, W as pruneManagedInstallVersions, X as completePendingDaemonServiceUpdate, Y as DAEMON_SERVICE_UPDATE_JOB_SCHEMA, Z as persistPendingDaemonServiceUpdate, _ as matchesExpectedDaemonServiceManagerDefinition, a as resolveDaemonRuntimeState, at as resolveDaemonServiceUpdateWorkerIdentity, c as resolveObservedDaemonRuntimeStatus, ct as resolveDaemonServiceUpdateWorkerSystemdTimerUnitPath, d as inspectLegacySharedDaemonService, et as resolveBundledServiceRelease, f as listDaemonOwnedProcesses, g as assertDaemonMaintenanceInstallationOwnership, i as readCurrentObservedDaemonRuntimeStatus, it as hasIndependentMaintenanceRegistration, j as readDaemonActiveBundleState, k as isDaemonBundleSourceAllowedForLane, l as resolveObservedRuntimeCommandEntryPath, lt as resolveDaemonServiceUpdateWorkerSystemdUnitPath, m as normalizeDaemonCommandPath, n as getEffectiveDaemonRuntimeStatus, nt as configureDaemonMaintenanceEnvironment, o as resolveDaemonServiceManagerForRuntimeState, ot as resolveDaemonServiceUpdateWorkerLaunchdPlistPath, q as resolveCliSelfVersion, r as readCurrentDaemonRuntimeContext, rt as daemonServiceUpdateWorkerNpmEntryPath, s as waitForDaemonSystemServiceToStop, st as resolveDaemonServiceUpdateWorkerSystemdPathUnitPath, t as clearDaemonRuntimeStateIfDefinitelyStopped, tt as INDEPENDENT_MAINTENANCE_REGISTRATION, u as cleanupLegacySharedDaemonServiceState, ut as resolveDaemonServiceUpdateWorkerWindowsScriptPath, w as daemonServiceLauncherPath, x as clearDaemonServiceUpdateWorkerBinaryExecutable, y as activateDaemonServiceBundle, z as writeDaemonServiceLauncher } from "./daemon-service-runtime-BkVvz7bG.js";
|
|
14
|
+
import { E as DAEMON_RUNTIME_CONTRACT_REPAIR_REPORT_FILE, T as DAEMON_RUNTIME_CONTRACT_META_FILE, V as resolveOpenMeldProfileOrNull, _ as toErrorMessage$5, c as normalizeHeartbeatIntervalMs, i as resolvePreferredDaemonDeviceId, n as ensureDaemonRuntimePaths, o as dirnamePath, r as resolveDaemonDeviceId, u as normalizeOptionalText$3, x as CONTROLLED_SHUTDOWN_REQUEST_TIMEOUT_MS } from "./daemon-device-id-B6iDyQEs.js";
|
|
15
15
|
import { r as readDaemonRuntimeLease } from "./daemon-runtime-lease-C1wkT4Bi.js";
|
|
16
16
|
import { r as windowsDirectTaskArguments } from "./windows-task-command-COu_6Ke3.js";
|
|
17
17
|
import { a as resolveBaseUrl, c as resolveExplicitGatewayUrlOrThrow, d as createDefaultRuntimeAgentControllerSettings, h as getConfiguredOpenMeldToolsMaintenance, i as normalizeGatewayBaseUrlOrNull, o as resolveBaseUrlOrNull, x as setConfiguredOpenMeldToolsMaintenance } from "./base-url-eck31vC8.js";
|
|
@@ -22,12 +22,12 @@ import { n as assertSafePublishedProductionServiceRegistrationMutation } from ".
|
|
|
22
22
|
import { a as upsertDaemonServiceContract, i as readDaemonServiceContract, n as isDaemonServiceContractIdentityReusable, r as isUnsafeProductionDeviceId, t as clearDaemonServiceContract } from "./daemon-service-contract-DhEfbzHt.js";
|
|
23
23
|
import { a as formatOpenMeldCliTextBlock, n as formatOpenMeldCliCommand, r as formatOpenMeldCliCommands, t as formatInlineOpenMeldCliCommands } from "./cli-entry-command-CR_9QU1i.js";
|
|
24
24
|
import { n as resolveOpenMeldEnvironmentTargetFromEnv, r as resolveAuthBaseUrl, t as resolveOpenMeldEnvironmentTarget } from "./openmeld-environment-target-Cw3V0WnE.js";
|
|
25
|
-
import { S as requestLocalDaemonShutdown, _ as writeVersionState, d as compareSemver, g as readVersionState, h as isPlainReleaseVersion, i as readLatestDaemonLifecycleOriginEvent, l as OPENMELD_VERSION, m as fetchLatestPackageInfo, r as readLatestDaemonLifecycleConnectionStateEvent, s as runDaemonServiceManagerAction, t as emitDaemonLifecycleEvent, u as buildNextVersionState, x as requestLocalDaemonServiceUpdateReadiness, y as LocalDaemonControlPlaneClientError } from "./daemon-lifecycle-journal-
|
|
25
|
+
import { S as requestLocalDaemonShutdown, _ as writeVersionState, d as compareSemver, g as readVersionState, h as isPlainReleaseVersion, i as readLatestDaemonLifecycleOriginEvent, l as OPENMELD_VERSION, m as fetchLatestPackageInfo, r as readLatestDaemonLifecycleConnectionStateEvent, s as runDaemonServiceManagerAction, t as emitDaemonLifecycleEvent, u as buildNextVersionState, x as requestLocalDaemonServiceUpdateReadiness, y as LocalDaemonControlPlaneClientError } from "./daemon-lifecycle-journal-G_C_pRtu.js";
|
|
26
26
|
import { i as windowsTaskActionArguments, l as windowsMaintenanceBinaryPath, n as runWindowsUserTask, r as windowsPowerShellPath } from "./windows-user-task-BR-WB7hr.js";
|
|
27
27
|
import { n as toErrorMessage$6, t as sleep } from "./dist-BLuEEVHh.js";
|
|
28
28
|
import { S as resolveDaemonServiceManager, T as waitForLaunchdJobUnloaded, a as disableDaemonServiceAutostartIfConfigured, c as getDaemonSystemServiceLogPath, o as formatDaemonServiceJobDiagnosticsEvidence, s as getDaemonServiceLaunchdLabel, v as readDaemonServiceStartupPolicyCurrent, w as startLaunchdService } from "./daemon-service-manager-CRnFxPKA.js";
|
|
29
|
-
import { n as resolveRuntimeContext } from "./context-
|
|
30
|
-
import { c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, n as fetchSpaceRequestWithTimeout, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-
|
|
29
|
+
import { n as resolveRuntimeContext } from "./context-qbQXVLF5.js";
|
|
30
|
+
import { c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, n as fetchSpaceRequestWithTimeout, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-DgTXf3Gb.js";
|
|
31
31
|
import { a as encodePersistedOpenMeldToolsUpdateFailure, i as OpenMeldToolsUpdateFailureError, o as resolveOpenMeldToolsUpdateFailure, r as parseOpenMeldToolsUpdateFailureFrame, t as appendBoundedOpenMeldToolsUpdateProcessOutput } from "./openmeld-tools-update-process-frame-BtFKp70p.js";
|
|
32
32
|
import { randomUUID } from "node:crypto";
|
|
33
33
|
import { tmpdir, userInfo } from "node:os";
|
|
@@ -1160,7 +1160,7 @@ async function inspectDaemonServiceInventory(input) {
|
|
|
1160
1160
|
const resolveServiceManager = input.resolveServiceManager ?? resolveDaemonServiceManager;
|
|
1161
1161
|
const listOwnedProcesses = input.listOwnedProcesses ?? listDaemonOwnedProcesses;
|
|
1162
1162
|
const ignoredInventoryProcessIds = [process$1.pid, process$1.ppid].filter((pid) => Number.isInteger(pid) && pid > 0);
|
|
1163
|
-
const [installStatus,
|
|
1163
|
+
const [installStatus, initialRuntimeLease, serviceContract, legacySharedService, activeBundle, lifecycleLock, ownedProcesses] = await Promise.all([
|
|
1164
1164
|
readDaemonStatus(),
|
|
1165
1165
|
readDaemonRuntimeLease().catch(() => null),
|
|
1166
1166
|
readDaemonServiceContract().catch(() => null),
|
|
@@ -1170,17 +1170,11 @@ async function inspectDaemonServiceInventory(input) {
|
|
|
1170
1170
|
listOwnedProcesses({ ignoreProcessIds: ignoredInventoryProcessIds })
|
|
1171
1171
|
]);
|
|
1172
1172
|
const activeBundleSourceAvailable = await resolveActiveBundleSourceAvailability(activeBundle);
|
|
1173
|
-
const
|
|
1174
|
-
runtimeLease,
|
|
1173
|
+
const initialRuntimeStatus = resolveObservedDaemonRuntimeStatus({
|
|
1174
|
+
runtimeLease: initialRuntimeLease,
|
|
1175
1175
|
ownedProcesses
|
|
1176
1176
|
});
|
|
1177
|
-
const runtimeContractCompatibility = await resolveDaemonRuntimeContractCompatibility({ runtimeStatus });
|
|
1178
1177
|
const activeBundleEntryPath = await resolveDaemonBundleEntryPathFromState(activeBundle).catch(() => null);
|
|
1179
|
-
const runtimeCommandEntryPath = resolveObservedRuntimeCommandEntryPath({
|
|
1180
|
-
ownedProcesses,
|
|
1181
|
-
runtimeStatus
|
|
1182
|
-
});
|
|
1183
|
-
const runtimeCommandPathExists = runtimeCommandEntryPath ? await pathExists(runtimeCommandEntryPath).catch(() => null) : null;
|
|
1184
1178
|
const installedBundleFingerprint = activeBundleEntryPath ? await resolveInstalledDaemonBundleFingerprint(activeBundle) : null;
|
|
1185
1179
|
const resolvedArtifact = resolveDaemonServiceArtifact({
|
|
1186
1180
|
expectedVersion: input.expectedVersion,
|
|
@@ -1192,20 +1186,32 @@ async function inspectDaemonServiceInventory(input) {
|
|
|
1192
1186
|
installedBundleFingerprint
|
|
1193
1187
|
});
|
|
1194
1188
|
const mergedOwnedProcesses = mergeOwnedProcesses(ownedProcesses, legacySharedService?.present ? legacySharedService.ownedProcesses : []);
|
|
1195
|
-
const observedServiceManager = installStatus.installed ||
|
|
1196
|
-
runtimeStatus,
|
|
1189
|
+
const observedServiceManager = installStatus.installed || initialRuntimeStatus.managedBySystemService || initialRuntimeStatus.serviceController !== "unknown" || isKnownServiceController(serviceContract?.serviceController) ? await resolveServiceManager(resolvePreferredServiceManagerController({
|
|
1190
|
+
runtimeStatus: initialRuntimeStatus,
|
|
1197
1191
|
serviceContract
|
|
1198
1192
|
}) ?? void 0) : null;
|
|
1199
1193
|
const observedServiceManagerStatus = observedServiceManager ? await observedServiceManager.status().catch(() => null) : null;
|
|
1194
|
+
const serviceManagerDefinitionMatchesCurrentRoot = observedServiceManager && observedServiceManagerStatus?.installed && observedServiceManagerStatus.definitionPath ? await matchesExpectedDaemonServiceManagerDefinition({
|
|
1195
|
+
controller: observedServiceManager.controller,
|
|
1196
|
+
definitionPath: observedServiceManagerStatus.definitionPath,
|
|
1197
|
+
commandSpec: observedServiceManagerStatus.commandSpec
|
|
1198
|
+
}).catch(() => false) : null;
|
|
1199
|
+
const runtimeLease = await readDaemonRuntimeLease().catch(() => null);
|
|
1200
|
+
const runtimeStatus = resolveObservedDaemonRuntimeStatus({
|
|
1201
|
+
runtimeLease,
|
|
1202
|
+
ownedProcesses
|
|
1203
|
+
});
|
|
1204
|
+
const runtimeContractCompatibility = await resolveDaemonRuntimeContractCompatibility({ runtimeStatus });
|
|
1205
|
+
const runtimeCommandEntryPath = resolveObservedRuntimeCommandEntryPath({
|
|
1206
|
+
ownedProcesses,
|
|
1207
|
+
runtimeStatus
|
|
1208
|
+
});
|
|
1209
|
+
const runtimeCommandPathExists = runtimeCommandEntryPath ? await pathExists(runtimeCommandEntryPath).catch(() => null) : null;
|
|
1200
1210
|
const scopedServiceManager = scopeServiceManagerToCurrentRoot({
|
|
1201
1211
|
runtimeStatus,
|
|
1202
1212
|
serviceManager: observedServiceManager,
|
|
1203
1213
|
serviceManagerStatus: observedServiceManagerStatus,
|
|
1204
|
-
serviceManagerDefinitionMatchesCurrentRoot
|
|
1205
|
-
controller: observedServiceManager.controller,
|
|
1206
|
-
definitionPath: observedServiceManagerStatus.definitionPath,
|
|
1207
|
-
commandSpec: observedServiceManagerStatus.commandSpec
|
|
1208
|
-
}).catch(() => false) : null
|
|
1214
|
+
serviceManagerDefinitionMatchesCurrentRoot
|
|
1209
1215
|
});
|
|
1210
1216
|
const anomalies = buildDaemonServiceAnomalies({
|
|
1211
1217
|
activeBundle,
|
|
@@ -5810,6 +5816,7 @@ function toErrorMessage(error) {
|
|
|
5810
5816
|
//#region src/local-service/lifecycle/daemon-service-startup-wait.ts
|
|
5811
5817
|
const DEFAULT_SERVICE_STARTUP_WAIT_MS = 5e3;
|
|
5812
5818
|
const LAUNCHD_SERVICE_STARTUP_WAIT_MS = 9e4;
|
|
5819
|
+
const WINDOWS_SERVICE_STARTUP_WAIT_MS = 45e3;
|
|
5813
5820
|
var SystemServiceStartupTimeoutError = class extends Error {
|
|
5814
5821
|
code = "openmeld.service.startup_timeout";
|
|
5815
5822
|
inventory;
|
|
@@ -5826,7 +5833,9 @@ var SystemServiceStartupTimeoutError = class extends Error {
|
|
|
5826
5833
|
}
|
|
5827
5834
|
};
|
|
5828
5835
|
function resolveSystemServiceStartupWaitMs(controller) {
|
|
5829
|
-
|
|
5836
|
+
if (controller === "launchd") return LAUNCHD_SERVICE_STARTUP_WAIT_MS;
|
|
5837
|
+
if (controller === "windows-service") return WINDOWS_SERVICE_STARTUP_WAIT_MS;
|
|
5838
|
+
return DEFAULT_SERVICE_STARTUP_WAIT_MS;
|
|
5830
5839
|
}
|
|
5831
5840
|
function isDaemonInventoryRunningAndStartReady(inventory, blockingAnomalies) {
|
|
5832
5841
|
return inventory.runtimeStatus.status === "running" && inventory.runtimeStatus.mode === "background" && inventory.runtimeStatus.managedBySystemService === true && inventory.serviceManagerStatus?.running === true && !inventory.anomalies.some((anomaly) => blockingAnomalies.has(anomaly.code));
|
|
@@ -5864,20 +5873,20 @@ async function waitForSystemServiceStartup(input) {
|
|
|
5864
5873
|
runtimeStatus: finalInventory.runtimeStatus
|
|
5865
5874
|
};
|
|
5866
5875
|
}
|
|
5867
|
-
const finalRuntimeStatus = await readCurrentObservedDaemonRuntimeStatus().catch(() => null);
|
|
5868
|
-
const finalManagerStatus = await input.manager.status().catch(() => null);
|
|
5869
5876
|
const finalJobDiagnostics = await input.manager.readJobDiagnostics?.().catch(() => null) ?? null;
|
|
5870
5877
|
throw new SystemServiceStartupTimeoutError({
|
|
5871
5878
|
inventory: lastInventory,
|
|
5872
|
-
managerStatus:
|
|
5873
|
-
runtimeStatus:
|
|
5879
|
+
managerStatus: lastInventory?.serviceManagerStatus ?? null,
|
|
5880
|
+
runtimeStatus: lastInventory?.runtimeStatus ?? null,
|
|
5874
5881
|
jobDiagnostics: finalJobDiagnostics
|
|
5875
5882
|
});
|
|
5876
5883
|
}
|
|
5877
5884
|
function buildSystemServiceStartupTimeoutMessage(input) {
|
|
5878
|
-
const base = `OpenMeld Service failed to reach a running local service state in time. runtime=${input.runtimeStatus?.status ?? "unknown"}, reason=${input.runtimeStatus?.reason || "unknown"}, managerRunning=${String(input.managerStatus?.running ??
|
|
5879
|
-
|
|
5880
|
-
|
|
5885
|
+
const base = `OpenMeld Service failed to reach a running local service state in time. runtime=${input.runtimeStatus?.status ?? "unknown"}, reason=${input.runtimeStatus?.reason || "unknown"}, managerRunning=${String(input.managerStatus?.running ?? "unknown")}, anomalies=${input.inventory?.anomalies.map((anomaly) => anomaly.code).join(",") || "unknown"}`;
|
|
5886
|
+
const lease = input.inventory?.runtimeLease;
|
|
5887
|
+
const observation = input.inventory ? `; runtimePid=${input.runtimeStatus?.pid ?? "unknown"}, managed=${String(input.runtimeStatus?.managedBySystemService ?? "unknown")}, leaseUpdatedAt=${lease?.updatedAt ?? "missing"}, leaseHeartbeatAt=${lease?.heartbeatAt ?? "missing"}, serviceCandidates=${input.inventory.ownedProcesses.map((candidate) => `${candidate.pid}:${candidate.ownership}`).join(",") || "none"}` : "";
|
|
5888
|
+
if (!input.jobDiagnostics) return `${base}${observation}`;
|
|
5889
|
+
return `${base}${observation}; ${formatDaemonServiceJobDiagnosticsEvidence(input.jobDiagnostics)}`;
|
|
5881
5890
|
}
|
|
5882
5891
|
function isSystemServiceStartupTimeoutError(error) {
|
|
5883
5892
|
return error instanceof SystemServiceStartupTimeoutError || typeof error === "object" && error !== null && "code" in error && error.code === "openmeld.service.startup_timeout";
|
|
@@ -7463,4 +7472,4 @@ function isNewerTargetVersion(candidate, current) {
|
|
|
7463
7472
|
//#endregion
|
|
7464
7473
|
export { buildDaemonServiceDependencyTitle as $, formatDeviceReplyReadinessLabel as A, DAEMON_SERVICE_REPAIR_ANOMALIES as At, resolveGatewayChainReadiness as B, assessCliUpdate as Bt, formatDaemonServiceRefreshReliabilityMessage as C, readDaemonRuntimeContractRepairReport as Ct, writeDaemonStartFailureState as D, resolveVersionChangeDirection as Dt, clearDaemonStartFailureState as E, isVersionDowngrade as Et, formatSpaceMemberCommandRecoveryCopy as F, resolveServiceUpdateUrgency as Ft, PREPARE_SESSION_RECONNECT_GRACE_MS as G, resolveGatewayChainRetryGuidance as H, ensureDaemonSystemServiceCommandFiles as Ht, resolveReplyReadinessAvailabilityReasonCopy as I, assessServerRequiredVersion as It, getSetupFlowCopy as J, buildDaemonRouteObservationPresentation as K, resolveReplyReadinessGuidanceSummaryCopy as L, describeServerRequiredVersionUnavailableReason as Lt, formatReplyReadinessSummary as M, classifyDaemonServiceRunStartability as Mt, mapAgentReplyReadinessToLegacyAutoReply as N, classifyDaemonServiceWakeability as Nt, resolveCurrentReplyReadinessSnapshot as O, DAEMON_SERVICE_AUTO_HEAL_ANOMALIES as Ot, REPLY_READINESS_COPY as P, resolveCurrentDaemonExpectedVersion as Pt, buildDaemonServiceDependencySummary as Q, resolveOpenClawDiagnosticsGuidance as R, buildLocalAgentCatalogFromReadiness as Rt, buildDaemonServiceUpdateRequiredNextStep as S, ensureDaemonRuntimeContractState as St, resolveDaemonServiceFreshnessWarning as T, resolveDaemonServiceAlignmentDecision as Tt, resolveOpenClawLocalDiagnosticsValue as U, resolveInstalledDaemonSystemServiceCommandSpec as Ut, resolveGatewayChainRepairGuidance as V, isCliUpdateCheckApplicable as Vt, resolveLocalServiceDemand as W, buildDaemonServiceDependencyMeaning as X, buildDaemonServiceDependencyDetails as Y, buildDaemonServiceDependencyNextStep as Z, resolveServiceReadinessFromServiceStatus as _, resolveDaemonStopStrategy as _t, isDaemonInventoryRunningAndStartReady as a, readPendingOpenMeldToolsUpdateAttempt as at, buildDaemonServiceRepairGuidance as b, resolveDaemonRuntimeContractCompatibility as bt, waitForSystemServiceStartup as c, writeOpenMeldToolsMaintenancePolicy as ct, captureDaemonServiceEvidenceBestEffort as d, uninstallDaemonServiceUpdateWorker as dt, resolveDaemonServiceDependencyDiagnostics as et, formatDaemonFailureContextText as f, inspectDaemonServiceInventory as ft, resolveServiceReadiness as g, readCurrentDaemonOwnerSnapshot as gt, resolveDaemonStatusAuthenticationAttention as h, hasActiveDaemonOwners as ht, runDaemonServiceLifecycle as i, readLastOpenMeldToolsUpdateAttempt as it, formatHumanReplyReadinessReason as j, DAEMON_SERVICE_WAKEABILITY_ADVISORY_ANOMALIES as jt, formatAgentReplyReadinessLabel as k, DAEMON_SERVICE_FULL_ALIGNMENT_ANOMALIES as kt, startDaemonSystemServiceWithAutoRepair as l, ensureDaemonServiceMaintenanceInstalled as lt, resolveDaemonStatusAttention as m, formatDaemonOwnerSummaryLabel as mt, scheduleDaemonServiceUpdate as n, createOpenMeldToolsUpdateCoordinator as nt, isSystemServiceStartupTimeoutError as o, readOpenMeldToolsMaintenancePolicy as ot, resolveDaemonStatusSnapshot as p, buildDaemonOwnerSnapshotFromObservedState as pt, buildOnboardingPlan as q, DaemonServiceLifecycleDrainTimeoutError as r, readOpenMeldToolsUpdateContextFromEnv as rt, resolveSystemServiceStartupWaitMs as s, resolveOpenMeldToolsMaintenanceProjection as st, runPendingDaemonServiceUpdate as t, writeDaemonServiceContract as tt, captureDaemonServiceEvidence as u, prepareDaemonServiceUpdateWorkerCarrier as ut, buildDaemonServiceRefreshNextStep as v, resolveStoppedContractWriteBlockedReason as vt, formatDaemonServiceUpdateRequiredMessage as w, buildDaemonServiceTargetSpec as wt, buildDaemonServiceStatusReadOnlyDetail as x, toStartBackgroundHelperExecutionCompatibility as xt, buildDaemonServiceRefreshPromptMessage as y, summarizeDaemonOwnerSnapshot as yt, classifyGatewayChainFailure as z, readCurrentLocalDeviceId as zt };
|
|
7465
7474
|
|
|
7466
|
-
//# sourceMappingURL=daemon-service-update-coordinator-
|
|
7475
|
+
//# sourceMappingURL=daemon-service-update-coordinator-UajkUU66.js.map
|