openmeld 0.3.227 → 0.3.228

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 (93) hide show
  1. package/dist/{add-me-membership-pkREbEJG.js → add-me-membership-CjkD5_nm.js} +2 -2
  2. package/dist/{add-me-membership-pkREbEJG.js.map → add-me-membership-CjkD5_nm.js.map} +1 -1
  3. package/dist/{agents-D_RojMEE.js → agents-n6twZsYz.js} +9 -9
  4. package/dist/{agents-D_RojMEE.js.map → agents-n6twZsYz.js.map} +1 -1
  5. package/dist/{api-client-foundation-Czb9hJvA.js → api-client-foundation-DgTXf3Gb.js} +3 -3
  6. package/dist/{api-client-foundation-Czb9hJvA.js.map → api-client-foundation-DgTXf3Gb.js.map} +1 -1
  7. package/dist/{api-client-foundation-CEScBsM7.js → api-client-foundation-d4E5XWdJ.js} +1 -1
  8. package/dist/auth-session-DExyUwLo.js +4 -0
  9. package/dist/{auth-session-Q0B3Nfae.js → auth-session-pLaN5cnC.js} +2 -2
  10. package/dist/{auth-session-Q0B3Nfae.js.map → auth-session-pLaN5cnC.js.map} +1 -1
  11. package/dist/{channel-B1gMWx__.js → channel-DppbHxHw.js} +3 -3
  12. package/dist/{channel-B1gMWx__.js.map → channel-DppbHxHw.js.map} +1 -1
  13. package/dist/{command-B5E_YSAY.js → command-Dd5UIQwJ.js} +15 -15
  14. package/dist/{command-B5E_YSAY.js.map → command-Dd5UIQwJ.js.map} +1 -1
  15. package/dist/{computer-connection-BbDdF_MD.js → computer-connection-DMkamVpB.js} +2 -2
  16. package/dist/{computer-connection-BbDdF_MD.js.map → computer-connection-DMkamVpB.js.map} +1 -1
  17. package/dist/{computer-connection-review-Dop02mby.js → computer-connection-review-CA726lIL.js} +5 -5
  18. package/dist/{computer-connection-review-Dop02mby.js.map → computer-connection-review-CA726lIL.js.map} +1 -1
  19. package/dist/{computer-disconnect-pH6HaHQq.js → computer-disconnect-9DsCJrAG.js} +7 -7
  20. package/dist/{computer-disconnect-pH6HaHQq.js.map → computer-disconnect-9DsCJrAG.js.map} +1 -1
  21. package/dist/{computer-setup-continuation-BhM3HsRI.js → computer-setup-continuation-CFDfU5gt.js} +3 -3
  22. package/dist/{computer-setup-continuation-BhM3HsRI.js.map → computer-setup-continuation-CFDfU5gt.js.map} +1 -1
  23. package/dist/{context-D3kAC8RG.js → context-qbQXVLF5.js} +3 -3
  24. package/dist/{context-D3kAC8RG.js.map → context-qbQXVLF5.js.map} +1 -1
  25. package/dist/{daemon-device-id-DEGf1fm6.js → daemon-device-id-B6iDyQEs.js} +4 -4
  26. package/dist/{daemon-device-id-DEGf1fm6.js.map → daemon-device-id-B6iDyQEs.js.map} +1 -1
  27. package/dist/{daemon-frame-transport-BMZP90f0.js → daemon-frame-transport-2HJ6TGwP.js} +52 -8
  28. package/dist/daemon-frame-transport-2HJ6TGwP.js.map +1 -0
  29. package/dist/{daemon-lifecycle-journal-NeBAn_SY.js → daemon-lifecycle-journal-gwcnyHoh.js} +2 -2
  30. package/dist/{daemon-lifecycle-journal-NeBAn_SY.js.map → daemon-lifecycle-journal-gwcnyHoh.js.map} +1 -1
  31. package/dist/{daemon-service-runtime-nIBQreis.js → daemon-service-runtime-BQ38UYZL.js} +2 -2
  32. package/dist/{daemon-service-runtime-nIBQreis.js.map → daemon-service-runtime-BQ38UYZL.js.map} +1 -1
  33. package/dist/{daemon-service-update-coordinator-BdcEl-QC.js → daemon-service-update-coordinator-DubkIVbU.js} +39 -33
  34. package/dist/daemon-service-update-coordinator-DubkIVbU.js.map +1 -0
  35. package/dist/{dist-DkN9tKMX.js → dist-CAypwFRu.js} +693 -63
  36. package/dist/dist-CAypwFRu.js.map +1 -0
  37. package/dist/{dist-vpxgF6Lp.js → dist-DFhd6JmQ.js} +2 -2
  38. package/dist/{dist-vpxgF6Lp.js.map → dist-DFhd6JmQ.js.map} +1 -1
  39. package/dist/dist-olOaAWkl.js +4 -0
  40. package/dist/{elapsed-time-BxMWSsxC.js → elapsed-time-D1vLe_hy.js} +5 -5
  41. package/dist/{elapsed-time-BxMWSsxC.js.map → elapsed-time-D1vLe_hy.js.map} +1 -1
  42. package/dist/{entry-jvTvDBr-.js → entry-_4BbOLaa.js} +7 -7
  43. package/dist/{entry-jvTvDBr-.js.map → entry-_4BbOLaa.js.map} +1 -1
  44. package/dist/{installation-inventory-Bf1SvGVh.js → installation-inventory-DLIUlO-E.js} +3 -3
  45. package/dist/{installation-inventory-Bf1SvGVh.js.map → installation-inventory-DLIUlO-E.js.map} +1 -1
  46. package/dist/{installer-IVAr1ZD-.js → installer-DcvN6Gd1.js} +2 -2
  47. package/dist/{installer-IVAr1ZD-.js.map → installer-DcvN6Gd1.js.map} +1 -1
  48. package/dist/{meta-api-BYB9vhya.js → meta-api-8twJ3FeM.js} +6 -6
  49. package/dist/{meta-api-BYB9vhya.js.map → meta-api-8twJ3FeM.js.map} +1 -1
  50. package/dist/{openmeld-0pnb6g3R.js → openmeld-DZzBOA-p.js} +822 -36
  51. package/dist/openmeld-DZzBOA-p.js.map +1 -0
  52. package/dist/{openmeld-maintenance-worker-CSes51Vp.js → openmeld-maintenance-worker-Cci6ncup.js} +9 -9
  53. package/dist/{openmeld-maintenance-worker-CSes51Vp.js.map → openmeld-maintenance-worker-Cci6ncup.js.map} +1 -1
  54. package/dist/{openmeld-tools-update-join-BlPynw_v.js → openmeld-tools-update-join-BCfjQ96G.js} +4 -4
  55. package/dist/{openmeld-tools-update-join-BlPynw_v.js.map → openmeld-tools-update-join-BCfjQ96G.js.map} +1 -1
  56. package/dist/openmeld.js +4 -4
  57. package/dist/{prepare-provider-runtime-DSKQFj-R.js → prepare-provider-runtime-C1PTHwLd.js} +9 -9
  58. package/dist/{prepare-provider-runtime-DSKQFj-R.js.map → prepare-provider-runtime-C1PTHwLd.js.map} +1 -1
  59. package/dist/{prepare-session-executor-DEJ9OaJh.js → prepare-session-executor-wCeSsAw3.js} +18 -18
  60. package/dist/{prepare-session-executor-DEJ9OaJh.js.map → prepare-session-executor-wCeSsAw3.js.map} +1 -1
  61. package/dist/{process-channel-BIumgluJ.js → process-channel-DmTb_kO4.js} +2 -2
  62. package/dist/{process-channel-BIumgluJ.js.map → process-channel-DmTb_kO4.js.map} +1 -1
  63. package/dist/{runtime-Du3Az4wt.js → runtime-DREHBe97.js} +16 -16
  64. package/dist/{runtime-Du3Az4wt.js.map → runtime-DREHBe97.js.map} +1 -1
  65. package/dist/{runtime-agent-controller-reporting-submission-Bl2CWQ96.js → runtime-agent-controller-reporting-submission-eRFw6zPE.js} +8 -8
  66. package/dist/{runtime-agent-controller-reporting-submission-Bl2CWQ96.js.map → runtime-agent-controller-reporting-submission-eRFw6zPE.js.map} +1 -1
  67. package/dist/{runtime-reporting-health-state-CKmph14R.js → runtime-reporting-health-state-BWHsvSQr.js} +9 -9
  68. package/dist/{runtime-reporting-health-state-CKmph14R.js.map → runtime-reporting-health-state-BWHsvSQr.js.map} +1 -1
  69. package/dist/{runtime-transport-DUR91mKK.js → runtime-transport-D4x8_AmR.js} +19 -2
  70. package/dist/runtime-transport-D4x8_AmR.js.map +1 -0
  71. package/dist/{service-Bh1iD84k.js → service-CRk4sSY_.js} +18 -18
  72. package/dist/{service-Bh1iD84k.js.map → service-CRk4sSY_.js.map} +1 -1
  73. package/dist/{service-account-authorization-CyV8YFAw.js → service-account-authorization-Di59Cjth.js} +2 -2
  74. package/dist/{service-account-authorization-CyV8YFAw.js.map → service-account-authorization-Di59Cjth.js.map} +1 -1
  75. package/dist/{service-account-control-Cc6qVa0m.js → service-account-control-DTWQc6pI.js} +9 -9
  76. package/dist/{service-account-control-Cc6qVa0m.js.map → service-account-control-DTWQc6pI.js.map} +1 -1
  77. package/dist/{service-control-capabilities-D4W3WTHS.js → service-control-capabilities-BHwdW9Kc.js} +3 -3
  78. package/dist/{service-control-capabilities-D4W3WTHS.js.map → service-control-capabilities-BHwdW9Kc.js.map} +1 -1
  79. package/dist/{service-control-capabilities-CdVTTNRK.js → service-control-capabilities-D0vgR1hE.js} +1 -1
  80. package/dist/{state-ClTXLNB3.js → state-BSGXVl9X.js} +2 -2
  81. package/dist/{state-ClTXLNB3.js.map → state-BSGXVl9X.js.map} +1 -1
  82. package/dist/upgrade-CYDMNT7v.js +4 -0
  83. package/dist/{upgrade-B07Dh83M.js → upgrade-DAWVBBrH.js} +7 -7
  84. package/dist/{upgrade-B07Dh83M.js.map → upgrade-DAWVBBrH.js.map} +1 -1
  85. package/package.json +9 -9
  86. package/dist/auth-session-ga82_Wa9.js +0 -4
  87. package/dist/daemon-frame-transport-BMZP90f0.js.map +0 -1
  88. package/dist/daemon-service-update-coordinator-BdcEl-QC.js.map +0 -1
  89. package/dist/dist-C5emSnFG.js +0 -4
  90. package/dist/dist-DkN9tKMX.js.map +0 -1
  91. package/dist/openmeld-0pnb6g3R.js.map +0 -1
  92. package/dist/runtime-transport-DUR91mKK.js.map +0 -1
  93. 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 { $n as toErrorMessage$4, Bt as createCurrentDeviceApi, Jn as OPENMELD_HEADER_PROFILE_ID, Pn as toStructuredApiClientFailure } from "./dist-DkN9tKMX.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-DSKQFj-R.js";
8
- import { L as runtimeTransportRejectedProfileRegistrationSchema, M as runtimeTransportLookupRouteOwnerServiceEvidenceSchema, b as runtimeTransportErrorCodeSchema, c as runtimeTransportCapabilitiesSchema, et as resolvePublicAgentAvailabilityCopy, i as daemonExecutionCompatibilitySchema, o as localWakeRouteReportSchema, ti as localAgentCatalogSchema, tt as resolvePublicAgentFailureRecovery } from "./runtime-transport-DUR91mKK.js";
9
- import { d as getAuthSessionState, m as hasPendingComputerSetupContinuation, z as DEFAULT_GATEWAY_CHAIN_TIMEOUT_MS$1 } from "./auth-session-Q0B3Nfae.js";
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-C1PTHwLd.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-nIBQreis.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-DEGf1fm6.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-BQ38UYZL.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-NeBAn_SY.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-gwcnyHoh.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-D3kAC8RG.js";
30
- import { c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, n as fetchSpaceRequestWithTimeout, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-Czb9hJvA.js";
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, runtimeLease, serviceContract, legacySharedService, activeBundle, lifecycleLock, ownedProcesses] = await Promise.all([
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 runtimeStatus = resolveObservedDaemonRuntimeStatus({
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 || runtimeStatus.managedBySystemService || runtimeStatus.serviceController !== "unknown" || isKnownServiceController(serviceContract?.serviceController) ? await resolveServiceManager(resolvePreferredServiceManagerController({
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: observedServiceManager && observedServiceManagerStatus?.installed && observedServiceManagerStatus.definitionPath ? await matchesExpectedDaemonServiceManagerDefinition({
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,
@@ -5864,20 +5870,20 @@ async function waitForSystemServiceStartup(input) {
5864
5870
  runtimeStatus: finalInventory.runtimeStatus
5865
5871
  };
5866
5872
  }
5867
- const finalRuntimeStatus = await readCurrentObservedDaemonRuntimeStatus().catch(() => null);
5868
- const finalManagerStatus = await input.manager.status().catch(() => null);
5869
5873
  const finalJobDiagnostics = await input.manager.readJobDiagnostics?.().catch(() => null) ?? null;
5870
5874
  throw new SystemServiceStartupTimeoutError({
5871
5875
  inventory: lastInventory,
5872
- managerStatus: finalManagerStatus,
5873
- runtimeStatus: finalRuntimeStatus,
5876
+ managerStatus: lastInventory?.serviceManagerStatus ?? null,
5877
+ runtimeStatus: lastInventory?.runtimeStatus ?? null,
5874
5878
  jobDiagnostics: finalJobDiagnostics
5875
5879
  });
5876
5880
  }
5877
5881
  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 ?? false)}, anomalies=${input.inventory?.anomalies.map((anomaly) => anomaly.code).join(",") || "unknown"}`;
5879
- if (!input.jobDiagnostics) return base;
5880
- return `${base}; ${formatDaemonServiceJobDiagnosticsEvidence(input.jobDiagnostics)}`;
5882
+ 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"}`;
5883
+ const lease = input.inventory?.runtimeLease;
5884
+ 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"}` : "";
5885
+ if (!input.jobDiagnostics) return `${base}${observation}`;
5886
+ return `${base}${observation}; ${formatDaemonServiceJobDiagnosticsEvidence(input.jobDiagnostics)}`;
5881
5887
  }
5882
5888
  function isSystemServiceStartupTimeoutError(error) {
5883
5889
  return error instanceof SystemServiceStartupTimeoutError || typeof error === "object" && error !== null && "code" in error && error.code === "openmeld.service.startup_timeout";
@@ -7463,4 +7469,4 @@ function isNewerTargetVersion(candidate, current) {
7463
7469
  //#endregion
7464
7470
  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
7471
 
7466
- //# sourceMappingURL=daemon-service-update-coordinator-BdcEl-QC.js.map
7472
+ //# sourceMappingURL=daemon-service-update-coordinator-DubkIVbU.js.map