openmeld 0.3.225 → 0.3.227

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 (136) hide show
  1. package/dist/{add-me-membership-BUuys3IZ.js → add-me-membership-pkREbEJG.js} +2 -2
  2. package/dist/{add-me-membership-BUuys3IZ.js.map → add-me-membership-pkREbEJG.js.map} +1 -1
  3. package/dist/{agents-Blvf8wC0.js → agents-D_RojMEE.js} +11 -11
  4. package/dist/{agents-Blvf8wC0.js.map → agents-D_RojMEE.js.map} +1 -1
  5. package/dist/{api-client-foundation-CqbIn_de.js → api-client-foundation-CEScBsM7.js} +1 -1
  6. package/dist/{api-client-foundation-DpVwrgh-.js → api-client-foundation-Czb9hJvA.js} +3 -3
  7. package/dist/{api-client-foundation-DpVwrgh-.js.map → api-client-foundation-Czb9hJvA.js.map} +1 -1
  8. package/dist/{auth-session-uEk_Tx6T.js → auth-session-Q0B3Nfae.js} +5 -4
  9. package/dist/{auth-session-uEk_Tx6T.js.map → auth-session-Q0B3Nfae.js.map} +1 -1
  10. package/dist/auth-session-ga82_Wa9.js +4 -0
  11. package/dist/{base-url-DXrUiSMI.js → base-url-B8eWb2md.js} +1 -1
  12. package/dist/{base-url-DvjOkKPs.js → base-url-eck31vC8.js} +3 -2
  13. package/dist/{base-url-DvjOkKPs.js.map → base-url-eck31vC8.js.map} +1 -1
  14. package/dist/{channel-B2fD2_be.js → channel-B1gMWx__.js} +3 -3
  15. package/dist/{channel-B2fD2_be.js.map → channel-B1gMWx__.js.map} +1 -1
  16. package/dist/{cli-binary-manifest-CT5X05lk.js → cli-binary-manifest-Bjf6T7Ef.js} +2 -2
  17. package/dist/{cli-binary-manifest-CT5X05lk.js.map → cli-binary-manifest-Bjf6T7Ef.js.map} +1 -1
  18. package/dist/{command-Cjxx-f4g.js → command-B5E_YSAY.js} +18 -17
  19. package/dist/{command-Cjxx-f4g.js.map → command-B5E_YSAY.js.map} +1 -1
  20. package/dist/{computer-connection-Dm7iTnRK.js → computer-connection-BbDdF_MD.js} +2 -2
  21. package/dist/{computer-connection-Dm7iTnRK.js.map → computer-connection-BbDdF_MD.js.map} +1 -1
  22. package/dist/{computer-connection-review-De0X_5c4.js → computer-connection-review-Dop02mby.js} +6 -6
  23. package/dist/{computer-connection-review-De0X_5c4.js.map → computer-connection-review-Dop02mby.js.map} +1 -1
  24. package/dist/{computer-disconnect-CvBzCJF9.js → computer-disconnect-pH6HaHQq.js} +9 -9
  25. package/dist/{computer-disconnect-CvBzCJF9.js.map → computer-disconnect-pH6HaHQq.js.map} +1 -1
  26. package/dist/{computer-setup-continuation-CaUPhhdb.js → computer-setup-continuation-BhM3HsRI.js} +3 -3
  27. package/dist/{computer-setup-continuation-CaUPhhdb.js.map → computer-setup-continuation-BhM3HsRI.js.map} +1 -1
  28. package/dist/{context-Bdh3nAzw.js → context-D3kAC8RG.js} +5 -5
  29. package/dist/{context-Bdh3nAzw.js.map → context-D3kAC8RG.js.map} +1 -1
  30. package/dist/{daemon-device-id-B1Af2Zmn.js → daemon-device-id-DEGf1fm6.js} +7 -6
  31. package/dist/{daemon-device-id-B1Af2Zmn.js.map → daemon-device-id-DEGf1fm6.js.map} +1 -1
  32. package/dist/{daemon-frame-transport-CSvV88PL.js → daemon-frame-transport-BMZP90f0.js} +10 -9
  33. package/dist/{daemon-frame-transport-CSvV88PL.js.map → daemon-frame-transport-BMZP90f0.js.map} +1 -1
  34. package/dist/{daemon-lifecycle-journal-ChhAF8yX.js → daemon-lifecycle-journal-NeBAn_SY.js} +27 -12
  35. package/dist/daemon-lifecycle-journal-NeBAn_SY.js.map +1 -0
  36. package/dist/{daemon-runtime-lease-1LMeZ6IS.js → daemon-runtime-lease-C1wkT4Bi.js} +2 -2
  37. package/dist/{daemon-runtime-lease-1LMeZ6IS.js.map → daemon-runtime-lease-C1wkT4Bi.js.map} +1 -1
  38. package/dist/{daemon-runtime-lease-Bz0ucJj3.js → daemon-runtime-lease-DAQyRUc5.js} +1 -1
  39. package/dist/{daemon-service-contract-GLmAxsq-.js → daemon-service-contract-DhEfbzHt.js} +4 -4
  40. package/dist/{daemon-service-contract-GLmAxsq-.js.map → daemon-service-contract-DhEfbzHt.js.map} +1 -1
  41. package/dist/{daemon-service-manager-C8RUCMDo.js → daemon-service-manager-CRnFxPKA.js} +6 -5
  42. package/dist/{daemon-service-manager-C8RUCMDo.js.map → daemon-service-manager-CRnFxPKA.js.map} +1 -1
  43. package/dist/{daemon-service-manager-CU-79a4z.js → daemon-service-manager-l0unaDGa.js} +1 -1
  44. package/dist/{daemon-service-runtime-BtqJMt8J.js → daemon-service-runtime-nIBQreis.js} +27 -153
  45. package/dist/daemon-service-runtime-nIBQreis.js.map +1 -0
  46. package/dist/{daemon-service-update-coordinator-BczvSdXA.js → daemon-service-update-coordinator-BdcEl-QC.js} +22 -20
  47. package/dist/daemon-service-update-coordinator-BdcEl-QC.js.map +1 -0
  48. package/dist/{daemon-state-Ca0WK5x0.js → daemon-state-B6G5xe7f.js} +4 -3
  49. package/dist/{daemon-state-Ca0WK5x0.js.map → daemon-state-B6G5xe7f.js.map} +1 -1
  50. package/dist/{dist-C32frPV2.js → dist-C5emSnFG.js} +1 -1
  51. package/dist/{dist-BeJcIdCZ.js → dist-DkN9tKMX.js} +127 -284
  52. package/dist/dist-DkN9tKMX.js.map +1 -0
  53. package/dist/{dist-YbTZ-Y-2.js → dist-vpxgF6Lp.js} +2 -2
  54. package/dist/{dist-YbTZ-Y-2.js.map → dist-vpxgF6Lp.js.map} +1 -1
  55. package/dist/{elapsed-time-Dvn2LxSm.js → elapsed-time-BxMWSsxC.js} +5 -5
  56. package/dist/{elapsed-time-Dvn2LxSm.js.map → elapsed-time-BxMWSsxC.js.map} +1 -1
  57. package/dist/{entry-B19Dcymp.js → entry-jvTvDBr-.js} +12 -11
  58. package/dist/{entry-B19Dcymp.js.map → entry-jvTvDBr-.js.map} +1 -1
  59. package/dist/{installation-inventory-BmZVMUzJ.js → installation-inventory-Bf1SvGVh.js} +5 -5
  60. package/dist/{installation-inventory-BmZVMUzJ.js.map → installation-inventory-Bf1SvGVh.js.map} +1 -1
  61. package/dist/{installer-DAZpeNXo.js → installer-IVAr1ZD-.js} +2 -2
  62. package/dist/{installer-DAZpeNXo.js.map → installer-IVAr1ZD-.js.map} +1 -1
  63. package/dist/{lock-iue1J2xy.js → lock-CMH9eoS7.js} +5 -270
  64. package/dist/lock-CMH9eoS7.js.map +1 -0
  65. package/dist/{meta-api-eV9exiaO.js → meta-api-BYB9vhya.js} +8 -8
  66. package/dist/{meta-api-eV9exiaO.js.map → meta-api-BYB9vhya.js.map} +1 -1
  67. package/dist/{openmeld-DEbL_TIZ.js → openmeld-0pnb6g3R.js} +63 -38
  68. package/dist/{openmeld-DEbL_TIZ.js.map → openmeld-0pnb6g3R.js.map} +1 -1
  69. package/dist/openmeld-dev.js +1 -1
  70. package/dist/{openmeld-environment-target-BBn5Ko6p.js → openmeld-environment-target-Cw3V0WnE.js} +3 -3
  71. package/dist/{openmeld-environment-target-BBn5Ko6p.js.map → openmeld-environment-target-Cw3V0WnE.js.map} +1 -1
  72. package/dist/{openmeld-maintenance-worker-Ds8LpQ1c.js → openmeld-maintenance-worker-CSes51Vp.js} +14 -14
  73. package/dist/{openmeld-maintenance-worker-Ds8LpQ1c.js.map → openmeld-maintenance-worker-CSes51Vp.js.map} +1 -1
  74. package/dist/{openmeld-tools-update-join-DV_THLes.js → openmeld-tools-update-join-BlPynw_v.js} +4 -4
  75. package/dist/{openmeld-tools-update-join-DV_THLes.js.map → openmeld-tools-update-join-BlPynw_v.js.map} +1 -1
  76. package/dist/openmeld.js +8 -4
  77. package/dist/openmeld.js.map +1 -1
  78. package/dist/paths-DSkUuEu3.js +273 -0
  79. package/dist/paths-DSkUuEu3.js.map +1 -0
  80. package/dist/{prepare-provider-runtime-CP88BnLy.js → prepare-provider-runtime-DSKQFj-R.js} +94 -28
  81. package/dist/prepare-provider-runtime-DSKQFj-R.js.map +1 -0
  82. package/dist/{prepare-session-executor-Dt5hHfsR.js → prepare-session-executor-DEJ9OaJh.js} +25 -24
  83. package/dist/{prepare-session-executor-Dt5hHfsR.js.map → prepare-session-executor-DEJ9OaJh.js.map} +1 -1
  84. package/dist/{process-channel-CgbduFCz.js → process-channel-BIumgluJ.js} +2 -2
  85. package/dist/{process-channel-CgbduFCz.js.map → process-channel-BIumgluJ.js.map} +1 -1
  86. package/dist/{process-identity-BQLdaZdB.js → process-identity-BRbhGGTM.js} +2 -2
  87. package/dist/{process-identity-BQLdaZdB.js.map → process-identity-BRbhGGTM.js.map} +1 -1
  88. package/dist/{published-production-safety-C40hKrBA.js → published-production-safety-CgXxtdMK.js} +2 -2
  89. package/dist/{published-production-safety-C40hKrBA.js.map → published-production-safety-CgXxtdMK.js.map} +1 -1
  90. package/dist/{runtime-4_VPSImW.js → runtime-Du3Az4wt.js} +18 -18
  91. package/dist/{runtime-4_VPSImW.js.map → runtime-Du3Az4wt.js.map} +1 -1
  92. package/dist/{runtime-agent-controller-reporting-submission-OpySJXCT.js → runtime-agent-controller-reporting-submission-Bl2CWQ96.js} +12 -10
  93. package/dist/runtime-agent-controller-reporting-submission-Bl2CWQ96.js.map +1 -0
  94. package/dist/{runtime-reporting-health-state-B14XCJQF.js → runtime-reporting-health-state-CKmph14R.js} +14 -13
  95. package/dist/{runtime-reporting-health-state-B14XCJQF.js.map → runtime-reporting-health-state-CKmph14R.js.map} +1 -1
  96. package/dist/{runtime-transport-YIYHSJPn.js → runtime-transport-DUR91mKK.js} +205 -5
  97. package/dist/runtime-transport-DUR91mKK.js.map +1 -0
  98. package/dist/{service-v9KNVG7t.js → service-Bh1iD84k.js} +30 -29
  99. package/dist/service-Bh1iD84k.js.map +1 -0
  100. package/dist/{service-account-authorization-DZbUOD29.js → service-account-authorization-CyV8YFAw.js} +6 -6
  101. package/dist/{service-account-authorization-DZbUOD29.js.map → service-account-authorization-CyV8YFAw.js.map} +1 -1
  102. package/dist/{service-account-control-DguBlRfW.js → service-account-control-Cc6qVa0m.js} +14 -14
  103. package/dist/{service-account-control-DguBlRfW.js.map → service-account-control-Cc6qVa0m.js.map} +1 -1
  104. package/dist/{service-control-capabilities-fFuX3GbE.js → service-control-capabilities-CdVTTNRK.js} +1 -1
  105. package/dist/{service-control-capabilities-CQb9zWvz.js → service-control-capabilities-D4W3WTHS.js} +5 -5
  106. package/dist/{service-control-capabilities-CQb9zWvz.js.map → service-control-capabilities-D4W3WTHS.js.map} +1 -1
  107. package/dist/{service-control-carrier-capability-gMk5gMKU.js → service-control-carrier-capability-SuKbNKaR.js} +2 -2
  108. package/dist/{service-control-carrier-capability-gMk5gMKU.js.map → service-control-carrier-capability-SuKbNKaR.js.map} +1 -1
  109. package/dist/{state-B7JOni3p.js → state-ClTXLNB3.js} +3 -3
  110. package/dist/{state-B7JOni3p.js.map → state-ClTXLNB3.js.map} +1 -1
  111. package/dist/{upgrade-DnWyXA1G.js → upgrade-B07Dh83M.js} +8 -8
  112. package/dist/{upgrade-DnWyXA1G.js.map → upgrade-B07Dh83M.js.map} +1 -1
  113. package/dist/upgrade-DgTfV7-m.js +4 -0
  114. package/dist/windows/openmeld-windows-process.exe +0 -0
  115. package/dist/{windows-artifact-DJ9DKjfc.js → windows-artifact-D99JU1ll.js} +3 -2
  116. package/dist/{windows-artifact-DJ9DKjfc.js.map → windows-artifact-D99JU1ll.js.map} +1 -1
  117. package/dist/windows-managed-install-BVlswqjA.js +146 -0
  118. package/dist/windows-managed-install-BVlswqjA.js.map +1 -0
  119. package/dist/windows-preview-channel-DPrYuLyY.js +32 -0
  120. package/dist/windows-preview-channel-DPrYuLyY.js.map +1 -0
  121. package/dist/{windows-user-task-Io5QuEVR.js → windows-user-task-BR-WB7hr.js} +5 -5
  122. package/dist/{windows-user-task-Io5QuEVR.js.map → windows-user-task-BR-WB7hr.js.map} +1 -1
  123. package/dist/{windows-user-task-B8NcRg_u.js → windows-user-task-m9eMEUEq.js} +1 -1
  124. package/package.json +11 -11
  125. package/skills/openmeld-cli/playbooks/plugins.md +12 -0
  126. package/dist/auth-session-BJfKu74u.js +0 -4
  127. package/dist/daemon-lifecycle-journal-ChhAF8yX.js.map +0 -1
  128. package/dist/daemon-service-runtime-BtqJMt8J.js.map +0 -1
  129. package/dist/daemon-service-update-coordinator-BczvSdXA.js.map +0 -1
  130. package/dist/dist-BeJcIdCZ.js.map +0 -1
  131. package/dist/lock-iue1J2xy.js.map +0 -1
  132. package/dist/prepare-provider-runtime-CP88BnLy.js.map +0 -1
  133. package/dist/runtime-agent-controller-reporting-submission-OpySJXCT.js.map +0 -1
  134. package/dist/runtime-transport-YIYHSJPn.js.map +0 -1
  135. package/dist/service-v9KNVG7t.js.map +0 -1
  136. package/dist/upgrade-Cy4bMox8.js +0 -4
@@ -2,32 +2,32 @@
2
2
 
3
3
  import { n as toDaemonRouteObservationUrl } from "./urls-CY2uzH2-.js";
4
4
  import { t as isLoopbackHostname } from "./loopback-hostname-DHQPKq8N.js";
5
- import { $ as openMeldManagedVersionBinaryPath, A as OPENMELD_HOME_ENV_KEY, Y as openMeldBackupsDir, lt as resolveOpenMeldEnvPreset, tt as openMeldRootDir } from "./lock-iue1J2xy.js";
6
- import { $n as toErrorMessage$4, Bt as createCurrentDeviceApi, Jn as OPENMELD_HEADER_PROFILE_ID, Pn as toStructuredApiClientFailure } from "./dist-BeJcIdCZ.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-CP88BnLy.js";
8
- import { L as runtimeTransportRejectedProfileRegistrationSchema, M as runtimeTransportLookupRouteOwnerServiceEvidenceSchema, Qr as localAgentCatalogSchema, b as runtimeTransportErrorCodeSchema, c as runtimeTransportCapabilitiesSchema, et as resolvePublicAgentAvailabilityCopy, i as daemonExecutionCompatibilitySchema, o as localWakeRouteReportSchema, tt as resolvePublicAgentFailureRecovery } from "./runtime-transport-YIYHSJPn.js";
9
- import { d as getAuthSessionState, m as hasPendingComputerSetupContinuation, z as DEFAULT_GATEWAY_CHAIN_TIMEOUT_MS$1 } from "./auth-session-uEk_Tx6T.js";
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";
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-BtqJMt8J.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-B1Af2Zmn.js";
15
- import { r as readDaemonRuntimeLease } from "./daemon-runtime-lease-1LMeZ6IS.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";
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
- 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-DvjOkKPs.js";
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";
18
18
  import { n as normalizeCommandEnvironment, t as WINDOWS_RUNTIME_ENV_KEYS } from "./process-environment-BWSFeUu6.js";
19
19
  import { n as resolveOpenMeldDistribution, t as isBinaryDistribution } from "./distribution-BDQT2ilb.js";
20
- import { A as getDaemonStatus, B as restoreDaemonInstallStateSnapshot, F as readDaemonServiceLifecycleLockMetaWithCleanup, I as readDaemonServiceRuntimeSnapshot, V as rotateDaemonControlPlaneTokenIfExpired, W as withDaemonServiceReconcileLock, _ as daemonRuntimeStateRootPath, a as DAEMON_SERVICE_RUNTIME_MODE_ENV, f as daemonLifecycleJournalPath, h as daemonRuntimeRootPath, i as DAEMON_SERVICE_RUNTIME_DETACHED_ENV, j as installDaemon, m as daemonRuntimeDataPath, n as DAEMON_SERVICE_RUNTIME_AUTO_START_ENV, r as DAEMON_SERVICE_RUNTIME_CONTROLLER_ENV, s as DAEMON_SERVICE_RUNTIME_SYSTEM_SERVICE_ENV } from "./daemon-state-Ca0WK5x0.js";
21
- import { n as assertSafePublishedProductionServiceRegistrationMutation } from "./published-production-safety-C40hKrBA.js";
22
- import { a as upsertDaemonServiceContract, i as readDaemonServiceContract, n as isDaemonServiceContractIdentityReusable, r as isUnsafeProductionDeviceId, t as clearDaemonServiceContract } from "./daemon-service-contract-GLmAxsq-.js";
20
+ import { A as getDaemonStatus, B as restoreDaemonInstallStateSnapshot, F as readDaemonServiceLifecycleLockMetaWithCleanup, I as readDaemonServiceRuntimeSnapshot, V as rotateDaemonControlPlaneTokenIfExpired, W as withDaemonServiceReconcileLock, _ as daemonRuntimeStateRootPath, a as DAEMON_SERVICE_RUNTIME_MODE_ENV, f as daemonLifecycleJournalPath, h as daemonRuntimeRootPath, i as DAEMON_SERVICE_RUNTIME_DETACHED_ENV, j as installDaemon, m as daemonRuntimeDataPath, n as DAEMON_SERVICE_RUNTIME_AUTO_START_ENV, r as DAEMON_SERVICE_RUNTIME_CONTROLLER_ENV, s as DAEMON_SERVICE_RUNTIME_SYSTEM_SERVICE_ENV } from "./daemon-state-B6G5xe7f.js";
21
+ import { n as assertSafePublishedProductionServiceRegistrationMutation } from "./published-production-safety-CgXxtdMK.js";
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
- import { n as resolveOpenMeldEnvironmentTargetFromEnv, r as resolveAuthBaseUrl, t as resolveOpenMeldEnvironmentTarget } from "./openmeld-environment-target-BBn5Ko6p.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-ChhAF8yX.js";
26
- import { i as windowsTaskActionArguments, l as windowsMaintenanceBinaryPath, n as runWindowsUserTask, r as windowsPowerShellPath } from "./windows-user-task-Io5QuEVR.js";
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";
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
- 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-C8RUCMDo.js";
29
- import { n as resolveRuntimeContext } from "./context-Bdh3nAzw.js";
30
- import { c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, n as fetchSpaceRequestWithTimeout, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-DpVwrgh-.js";
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";
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";
@@ -169,6 +169,7 @@ function buildSystemServiceEnvironment() {
169
169
  env[key] = sanitizeDaemonServiceEnvironmentValue(value);
170
170
  }
171
171
  if (process$1.platform === "darwin") env.PATH ??= DEFAULT_LAUNCHD_PATH;
172
+ if (process$1.platform === "win32") env[OPENMELD_HOME_ENV_KEY] ??= resolveOpenMeldRootDir();
172
173
  env.HOME ??= userInfo().homedir;
173
174
  env.USER ??= env.LOGNAME ?? runtimeUser;
174
175
  env.LOGNAME ??= env.USER;
@@ -1133,9 +1134,10 @@ function formatDaemonOwnerKinds(ownerKinds) {
1133
1134
  function resolveActiveOwnerKinds(input) {
1134
1135
  const owners = /* @__PURE__ */ new Set();
1135
1136
  const verifiedDirectRuntimePid = input.runtimeStatus.status === "running" && !input.runtimeStatus.managedBySystemService && input.runtimeStatus.serviceController === "unknown" ? input.runtimeStatus.pid : null;
1137
+ const verifiedSystemRuntimePid = input.runtimeStatus.status === "running" && input.runtimeStatus.managedBySystemService ? input.runtimeStatus.pid : null;
1136
1138
  if (input.serviceManagerStatus?.running === true || input.ownedProcesses.some((processInfo) => processInfo.ownership === "stable_launcher" && processInfo.pid !== verifiedDirectRuntimePid) || input.runtimeStatus.managedBySystemService && input.effectiveRuntimeStatus === "running") owners.add("system_service");
1137
1139
  if (input.ownedProcesses.some((processInfo) => processInfo.ownership === "legacy_detached") || input.runtimeStatus.serviceController === "legacy-detached" && input.effectiveRuntimeStatus === "running") owners.add("legacy_detached");
1138
- if (input.ownedProcesses.some((processInfo) => processInfo.ownership === "cli_direct" || processInfo.ownership === "unknown") || !input.runtimeStatus.managedBySystemService && input.runtimeStatus.serviceController !== "legacy-detached" && input.effectiveRuntimeStatus === "running") owners.add("cli_direct");
1140
+ if (input.ownedProcesses.some((processInfo) => processInfo.pid !== verifiedSystemRuntimePid && (processInfo.ownership === "cli_direct" || processInfo.ownership === "unknown")) || !input.runtimeStatus.managedBySystemService && input.runtimeStatus.serviceController !== "legacy-detached" && input.effectiveRuntimeStatus === "running") owners.add("cli_direct");
1139
1141
  return Array.from(owners).sort();
1140
1142
  }
1141
1143
  function resolveOwnerSetSummary(activeOwnerKinds) {
@@ -7461,4 +7463,4 @@ function isNewerTargetVersion(candidate, current) {
7461
7463
  //#endregion
7462
7464
  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 };
7463
7465
 
7464
- //# sourceMappingURL=daemon-service-update-coordinator-BczvSdXA.js.map
7466
+ //# sourceMappingURL=daemon-service-update-coordinator-BdcEl-QC.js.map