openmeld 0.3.231 → 0.3.233
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-0KyMk1wi.js → add-me-membership-_O3IzRLn.js} +2 -2
- package/dist/{add-me-membership-0KyMk1wi.js.map → add-me-membership-_O3IzRLn.js.map} +1 -1
- package/dist/{agents-Bkx6ldpV.js → agents-B5E7c7sQ.js} +11 -11
- package/dist/{agents-Bkx6ldpV.js.map → agents-B5E7c7sQ.js.map} +1 -1
- package/dist/{api-client-foundation-d4E5XWdJ.js → api-client-foundation-1p1VVFJ_.js} +1 -1
- package/dist/{api-client-foundation-DgTXf3Gb.js → api-client-foundation-C-RPnq_p.js} +3 -3
- package/dist/{api-client-foundation-DgTXf3Gb.js.map → api-client-foundation-C-RPnq_p.js.map} +1 -1
- package/dist/auth-session-CmjjkLiB.js +4 -0
- package/dist/{auth-session-pLaN5cnC.js → auth-session-iXCJO5oB.js} +6 -6
- package/dist/{auth-session-pLaN5cnC.js.map → auth-session-iXCJO5oB.js.map} +1 -1
- package/dist/auth-url-6Bb6YdNm.js +24 -0
- package/dist/auth-url-6Bb6YdNm.js.map +1 -0
- package/dist/{base-url-eck31vC8.js → base-url-0AoeTi3w.js} +3 -3
- package/dist/{base-url-eck31vC8.js.map → base-url-0AoeTi3w.js.map} +1 -1
- package/dist/{base-url-B8eWb2md.js → base-url-Bdjp-5vy.js} +1 -1
- package/dist/{channel-DppbHxHw.js → channel-BciBrA3Y.js} +25 -5
- package/dist/channel-BciBrA3Y.js.map +1 -0
- package/dist/{cli-binary-manifest-Bjf6T7Ef.js → cli-binary-manifest-ETxqCzfS.js} +8 -1
- package/dist/cli-binary-manifest-ETxqCzfS.js.map +1 -0
- package/dist/{command-CBWv24uj.js → command-D0pcAIoE.js} +19 -19
- package/dist/{command-CBWv24uj.js.map → command-D0pcAIoE.js.map} +1 -1
- package/dist/{computer-connection-DMkamVpB.js → computer-connection-CHP1-0rK.js} +2 -2
- package/dist/{computer-connection-DMkamVpB.js.map → computer-connection-CHP1-0rK.js.map} +1 -1
- package/dist/{computer-connection-review-BSPMGVhN.js → computer-connection-review-dHotFqmD.js} +6 -6
- package/dist/{computer-connection-review-BSPMGVhN.js.map → computer-connection-review-dHotFqmD.js.map} +1 -1
- package/dist/{computer-disconnect-BQ_MDeeA.js → computer-disconnect-B2DLDxWx.js} +9 -9
- package/dist/{computer-disconnect-BQ_MDeeA.js.map → computer-disconnect-B2DLDxWx.js.map} +1 -1
- package/dist/{computer-setup-continuation-Cd293Yzi.js → computer-setup-continuation-Cv_c1B-7.js} +3 -3
- package/dist/{computer-setup-continuation-Cd293Yzi.js.map → computer-setup-continuation-Cv_c1B-7.js.map} +1 -1
- package/dist/{context-qbQXVLF5.js → context-BnhlFS8m.js} +5 -5
- package/dist/{context-qbQXVLF5.js.map → context-BnhlFS8m.js.map} +1 -1
- package/dist/{control-plane-rTE2rHZ5.js → control-plane-QqGL-jtT.js} +2 -2
- package/dist/{control-plane-rTE2rHZ5.js.map → control-plane-QqGL-jtT.js.map} +1 -1
- package/dist/{daemon-device-id-B6iDyQEs.js → daemon-device-id-DbSIqHoZ.js} +8 -8
- package/dist/{daemon-device-id-B6iDyQEs.js.map → daemon-device-id-DbSIqHoZ.js.map} +1 -1
- package/dist/{daemon-lifecycle-journal-DrwEygzu.js → daemon-lifecycle-journal-DsVVvKJe.js} +10 -10
- package/dist/{daemon-lifecycle-journal-DrwEygzu.js.map → daemon-lifecycle-journal-DsVVvKJe.js.map} +1 -1
- package/dist/{daemon-runtime-lease-C1wkT4Bi.js → daemon-runtime-lease-Bv6vhqOe.js} +2 -2
- package/dist/{daemon-runtime-lease-C1wkT4Bi.js.map → daemon-runtime-lease-Bv6vhqOe.js.map} +1 -1
- package/dist/{daemon-runtime-lease-DAQyRUc5.js → daemon-runtime-lease-ZjP0urJt.js} +1 -1
- package/dist/{daemon-service-contract-DhEfbzHt.js → daemon-service-contract-COPKbCy_.js} +4 -4
- package/dist/{daemon-service-contract-DhEfbzHt.js.map → daemon-service-contract-COPKbCy_.js.map} +1 -1
- package/dist/{daemon-service-manager-CRnFxPKA.js → daemon-service-manager-BXAp21GH.js} +6 -6
- package/dist/{daemon-service-manager-CRnFxPKA.js.map → daemon-service-manager-BXAp21GH.js.map} +1 -1
- package/dist/{daemon-service-manager-l0unaDGa.js → daemon-service-manager-C_ny0JhB.js} +1 -1
- package/dist/{daemon-service-runtime-B4nWB2Qx.js → daemon-service-runtime-DZI6Ke3_.js} +16 -15
- package/dist/{daemon-service-runtime-B4nWB2Qx.js.map → daemon-service-runtime-DZI6Ke3_.js.map} +1 -1
- package/dist/{daemon-service-update-coordinator-C8cW7Vn_.js → daemon-service-update-coordinator-BgVBlJ4d.js} +29 -24
- package/dist/daemon-service-update-coordinator-BgVBlJ4d.js.map +1 -0
- package/dist/{daemon-state-B6G5xe7f.js → daemon-state-Dte9re5V.js} +4 -4
- package/dist/{daemon-state-B6G5xe7f.js.map → daemon-state-Dte9re5V.js.map} +1 -1
- package/dist/{daemon-frame-transport-xQnNyg6E.js → dispatch-owned-runtime-BeIQetEt.js} +550 -53
- package/dist/dispatch-owned-runtime-BeIQetEt.js.map +1 -0
- package/dist/{dist-CAypwFRu.js → dist-BgYBvEBB.js} +206 -190
- package/dist/dist-BgYBvEBB.js.map +1 -0
- package/dist/{dist-DFhd6JmQ.js → dist-DQS0XYkb.js} +3 -3
- package/dist/{dist-DFhd6JmQ.js.map → dist-DQS0XYkb.js.map} +1 -1
- package/dist/{dist-olOaAWkl.js → dist-z72xYz5Z.js} +1 -1
- package/dist/{elapsed-time-COv3bjEl.js → elapsed-time-C7S-6bWV.js} +6 -6
- package/dist/{elapsed-time-COv3bjEl.js.map → elapsed-time-C7S-6bWV.js.map} +1 -1
- package/dist/{entry-DIjUKIep.js → entry-CX24qHnm.js} +81 -17
- package/dist/entry-CX24qHnm.js.map +1 -0
- package/dist/{installation-inventory-DllgoKT1.js → installation-inventory-B3mwQFEA.js} +5 -5
- package/dist/{installation-inventory-DllgoKT1.js.map → installation-inventory-B3mwQFEA.js.map} +1 -1
- package/dist/{installer-Sc79LhuA.js → installer-DnIJ4y3l.js} +2 -2
- package/dist/{installer-Sc79LhuA.js.map → installer-DnIJ4y3l.js.map} +1 -1
- package/dist/{local-components-DleLEzSU.js → local-components-DJiMS67S.js} +36 -3
- package/dist/local-components-DJiMS67S.js.map +1 -0
- package/dist/{lock-CMH9eoS7.js → lock-BMI00i2F.js} +2 -2
- package/dist/{lock-CMH9eoS7.js.map → lock-BMI00i2F.js.map} +1 -1
- package/dist/meta-api-DgHkiIdr.js +371 -0
- package/dist/meta-api-DgHkiIdr.js.map +1 -0
- package/dist/openmeld-dev.js +17 -9
- package/dist/openmeld-dev.js.map +1 -1
- package/dist/{openmeld-environment-target-Cw3V0WnE.js → openmeld-environment-target-BgYR6ozy.js} +8 -25
- package/dist/openmeld-environment-target-BgYR6ozy.js.map +1 -0
- package/dist/{openmeld-BUYFXSyY.js → openmeld-kYp99hOl.js} +41 -39
- package/dist/{openmeld-BUYFXSyY.js.map → openmeld-kYp99hOl.js.map} +1 -1
- package/dist/{openmeld-maintenance-worker-Br6WIhhe.js → openmeld-maintenance-worker-BqU1Asrm.js} +14 -14
- package/dist/{openmeld-maintenance-worker-Br6WIhhe.js.map → openmeld-maintenance-worker-BqU1Asrm.js.map} +1 -1
- package/dist/{openmeld-tools-update-join-B1l6RER6.js → openmeld-tools-update-join-BKJnGR5h.js} +4 -4
- package/dist/{openmeld-tools-update-join-B1l6RER6.js.map → openmeld-tools-update-join-BKJnGR5h.js.map} +1 -1
- package/dist/{openmeld-tools-update-process-frame-DbEZ3fEh.js → openmeld-tools-update-process-frame-Csy2XKUf.js} +1 -1
- package/dist/{openmeld-tools-update-process-frame-BtFKp70p.js → openmeld-tools-update-process-frame-YLOS82E3.js} +2 -2
- package/dist/{openmeld-tools-update-process-frame-BtFKp70p.js.map → openmeld-tools-update-process-frame-YLOS82E3.js.map} +1 -1
- package/dist/openmeld.js +6 -6
- package/dist/{paths-DSkUuEu3.js → paths-De9xdA2h.js} +11 -6
- package/dist/paths-De9xdA2h.js.map +1 -0
- package/dist/{prepare-provider-runtime-DfsSj_N_.js → prepare-provider-runtime-CD6XRt7X.js} +385 -181
- package/dist/prepare-provider-runtime-CD6XRt7X.js.map +1 -0
- package/dist/{prepare-session-executor-CrYpWljb.js → prepare-session-executor-DY2s4FuY.js} +26 -26
- package/dist/{prepare-session-executor-CrYpWljb.js.map → prepare-session-executor-DY2s4FuY.js.map} +1 -1
- package/dist/{process-channel-DmTb_kO4.js → process-channel-CzgOWiuh.js} +2 -2
- package/dist/{process-channel-DmTb_kO4.js.map → process-channel-CzgOWiuh.js.map} +1 -1
- package/dist/{published-production-safety-CgXxtdMK.js → published-production-safety-zANGAGDI.js} +5 -6
- package/dist/published-production-safety-zANGAGDI.js.map +1 -0
- package/dist/{runtime-ZLBVtFFY.js → runtime-Br4Ga0rJ.js} +77 -23
- package/dist/runtime-Br4Ga0rJ.js.map +1 -0
- package/dist/{runtime-agent-controller-reporting-submission-CbaUsNTF.js → runtime-agent-controller-reporting-submission-CQjbBiHh.js} +146 -37
- package/dist/runtime-agent-controller-reporting-submission-CQjbBiHh.js.map +1 -0
- package/dist/{runtime-reporting-health-state-DOg9iwwO.js → runtime-reporting-health-state-a1FUE1S-.js} +120 -25
- package/dist/runtime-reporting-health-state-a1FUE1S-.js.map +1 -0
- package/dist/{runtime-transport-D4x8_AmR.js → runtime-transport-D4CVffnp.js} +88 -8
- package/dist/runtime-transport-D4CVffnp.js.map +1 -0
- package/dist/{service-B9y1SQlB.js → service-D9QVc4_y.js} +99 -30
- package/dist/service-D9QVc4_y.js.map +1 -0
- package/dist/{service-account-authorization-Di59Cjth.js → service-account-authorization-DLhUgGDb.js} +6 -6
- package/dist/{service-account-authorization-Di59Cjth.js.map → service-account-authorization-DLhUgGDb.js.map} +1 -1
- package/dist/{service-account-control-DALO1USM.js → service-account-control-DIdQILmo.js} +13 -13
- package/dist/{service-account-control-DALO1USM.js.map → service-account-control-DIdQILmo.js.map} +1 -1
- package/dist/{service-control-capabilities-B9ZxDPOJ.js → service-control-capabilities-BvHU_NcX.js} +1 -1
- package/dist/{service-control-capabilities-CKwU9Er5.js → service-control-capabilities-CGv5Cuxo.js} +5 -5
- package/dist/{service-control-capabilities-CKwU9Er5.js.map → service-control-capabilities-CGv5Cuxo.js.map} +1 -1
- package/dist/{state-CdSbKM0J.js → state-AWe5DSV8.js} +3 -3
- package/dist/{state-CdSbKM0J.js.map → state-AWe5DSV8.js.map} +1 -1
- package/dist/upgrade-CLnZ4WBF.js +4 -0
- package/dist/{upgrade-DLJJlkbf.js → upgrade-CcnlL7FH.js} +9 -9
- package/dist/{upgrade-DLJJlkbf.js.map → upgrade-CcnlL7FH.js.map} +1 -1
- package/dist/{windows-preview-channel-DPrYuLyY.js → windows-preview-channel-BPhfSwji.js} +2 -2
- package/dist/{windows-preview-channel-DPrYuLyY.js.map → windows-preview-channel-BPhfSwji.js.map} +1 -1
- package/dist/{windows-user-task-BR-WB7hr.js → windows-user-task-CTsMnmD4.js} +3 -3
- package/dist/{windows-user-task-BR-WB7hr.js.map → windows-user-task-CTsMnmD4.js.map} +1 -1
- package/dist/{windows-user-task-m9eMEUEq.js → windows-user-task-DnxKO3oB.js} +1 -1
- package/package.json +10 -10
- package/dist/auth-session-DExyUwLo.js +0 -4
- package/dist/channel-DppbHxHw.js.map +0 -1
- package/dist/cli-binary-manifest-Bjf6T7Ef.js.map +0 -1
- package/dist/daemon-frame-transport-xQnNyg6E.js.map +0 -1
- package/dist/daemon-service-update-coordinator-C8cW7Vn_.js.map +0 -1
- package/dist/dist-CAypwFRu.js.map +0 -1
- package/dist/entry-DIjUKIep.js.map +0 -1
- package/dist/local-components-DleLEzSU.js.map +0 -1
- package/dist/meta-api-CEw8eOeN.js +0 -845
- package/dist/meta-api-CEw8eOeN.js.map +0 -1
- package/dist/openmeld-environment-target-Cw3V0WnE.js.map +0 -1
- package/dist/paths-DSkUuEu3.js.map +0 -1
- package/dist/prepare-provider-runtime-DfsSj_N_.js.map +0 -1
- package/dist/published-production-safety-CgXxtdMK.js.map +0 -1
- package/dist/runtime-ZLBVtFFY.js.map +0 -1
- package/dist/runtime-agent-controller-reporting-submission-CbaUsNTF.js.map +0 -1
- package/dist/runtime-reporting-health-state-DOg9iwwO.js.map +0 -1
- package/dist/runtime-transport-D4x8_AmR.js.map +0 -1
- package/dist/service-B9y1SQlB.js.map +0 -1
- package/dist/upgrade-BFWUxFpJ.js +0 -4
|
@@ -1,37 +1,38 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { n as toDaemonRouteObservationUrl } from "./urls-CY2uzH2-.js";
|
|
4
|
+
import { D as openMeldRootDir, F as resolveOpenMeldRootDir, P as resolveOpenMeldEnvPreset, T as openMeldManagedVersionBinaryPath, t as OPENMELD_HOME_ENV_KEY, x as openMeldBackupsDir } from "./paths-De9xdA2h.js";
|
|
5
|
+
import { r as resolveAuthBaseUrl } from "./auth-url-6Bb6YdNm.js";
|
|
4
6
|
import { t as isLoopbackHostname } from "./loopback-hostname-DHQPKq8N.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { x as providerDispatchRuntimeContextSchema } from "./control-plane-
|
|
11
|
-
import { v as openMeldToolsUpdateAttemptSchema, w as openMeldToolsUpdateRequestSourceSchema } from "./local-components-DleLEzSU.js";
|
|
7
|
+
import { Bn as toStructuredApiClientFailure, Gt as createCurrentDeviceApi, ar as toErrorMessage$4, er as OPENMELD_HEADER_PROFILE_ID } from "./dist-BgYBvEBB.js";
|
|
8
|
+
import { A as createExpectedRoutesReadSession, D as NO_LOCAL_AGENTS_NEED_OPENMELD_SERVICE_REASON, H as resolveAgentTargetState, Nn as DaemonServiceRunError, 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, 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-CD6XRt7X.js";
|
|
9
|
+
import { N as runtimeTransportLookupRouteOwnerServiceEvidenceSchema, R as runtimeTransportRejectedProfileRegistrationSchema, c as runtimeTransportCapabilitiesSchema, i as daemonExecutionCompatibilitySchema, li as localAgentCatalogSchema, nt as resolvePublicAgentAvailabilityCopy, o as localWakeRouteReportSchema, rt as resolvePublicAgentFailureRecovery, x as runtimeTransportErrorCodeSchema } from "./runtime-transport-D4CVffnp.js";
|
|
10
|
+
import { T as openMeldToolsUpdateRequestSourceSchema, y as openMeldToolsUpdateAttemptSchema } from "./local-components-DJiMS67S.js";
|
|
11
|
+
import { B as DEFAULT_GATEWAY_CHAIN_TIMEOUT_MS$1, d as getAuthSessionState, m as hasPendingComputerSetupContinuation } from "./auth-session-iXCJO5oB.js";
|
|
12
|
+
import { x as providerDispatchRuntimeContextSchema } from "./control-plane-QqGL-jtT.js";
|
|
12
13
|
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-
|
|
15
|
-
import { r as readDaemonRuntimeLease } from "./daemon-runtime-lease-
|
|
14
|
+
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-DZI6Ke3_.js";
|
|
15
|
+
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-DbSIqHoZ.js";
|
|
16
|
+
import { r as readDaemonRuntimeLease } from "./daemon-runtime-lease-Bv6vhqOe.js";
|
|
16
17
|
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-
|
|
18
|
+
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-0AoeTi3w.js";
|
|
18
19
|
import { n as normalizeCommandEnvironment, t as WINDOWS_RUNTIME_ENV_KEYS } from "./process-environment-BWSFeUu6.js";
|
|
19
20
|
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-
|
|
21
|
-
import { n as assertSafePublishedProductionServiceRegistrationMutation } from "./published-production-safety-
|
|
22
|
-
import { a as upsertDaemonServiceContract, i as readDaemonServiceContract, n as isDaemonServiceContractIdentityReusable, r as isUnsafeProductionDeviceId, t as clearDaemonServiceContract } from "./daemon-service-contract-
|
|
21
|
+
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-Dte9re5V.js";
|
|
22
|
+
import { n as assertSafePublishedProductionServiceRegistrationMutation } from "./published-production-safety-zANGAGDI.js";
|
|
23
|
+
import { a as upsertDaemonServiceContract, i as readDaemonServiceContract, n as isDaemonServiceContractIdentityReusable, r as isUnsafeProductionDeviceId, t as clearDaemonServiceContract } from "./daemon-service-contract-COPKbCy_.js";
|
|
23
24
|
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,
|
|
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-
|
|
26
|
-
import { i as windowsTaskActionArguments, l as windowsMaintenanceBinaryPath, n as runWindowsUserTask, r as windowsPowerShellPath } from "./windows-user-task-
|
|
25
|
+
import { n as resolveOpenMeldEnvironmentTargetFromEnv, t as resolveOpenMeldEnvironmentTarget } from "./openmeld-environment-target-BgYR6ozy.js";
|
|
26
|
+
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-DsVVvKJe.js";
|
|
27
|
+
import { i as windowsTaskActionArguments, l as windowsMaintenanceBinaryPath, n as runWindowsUserTask, r as windowsPowerShellPath } from "./windows-user-task-CTsMnmD4.js";
|
|
27
28
|
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-
|
|
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-
|
|
31
|
-
import { a as encodePersistedOpenMeldToolsUpdateFailure, i as OpenMeldToolsUpdateFailureError, o as resolveOpenMeldToolsUpdateFailure, r as parseOpenMeldToolsUpdateFailureFrame, t as appendBoundedOpenMeldToolsUpdateProcessOutput } from "./openmeld-tools-update-process-frame-
|
|
29
|
+
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-BXAp21GH.js";
|
|
30
|
+
import { n as resolveRuntimeContext } from "./context-BnhlFS8m.js";
|
|
31
|
+
import { c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, n as fetchSpaceRequestWithTimeout, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-C-RPnq_p.js";
|
|
32
|
+
import { a as encodePersistedOpenMeldToolsUpdateFailure, i as OpenMeldToolsUpdateFailureError, o as resolveOpenMeldToolsUpdateFailure, r as parseOpenMeldToolsUpdateFailureFrame, t as appendBoundedOpenMeldToolsUpdateProcessOutput } from "./openmeld-tools-update-process-frame-YLOS82E3.js";
|
|
32
33
|
import { randomUUID } from "node:crypto";
|
|
33
34
|
import { tmpdir, userInfo } from "node:os";
|
|
34
|
-
import { dirname, join } from "node:path";
|
|
35
|
+
import { delimiter, dirname, join } from "node:path";
|
|
35
36
|
import { chmod, copyFile, cp, mkdir, mkdtemp, readFile, readdir, rename, rm, stat, writeFile } from "node:fs/promises";
|
|
36
37
|
import * as z$1 from "zod/v4";
|
|
37
38
|
import { write } from "node:fs";
|
|
@@ -69,6 +70,7 @@ const daemonRouteObservationResponseSchema = z$1.strictObject({
|
|
|
69
70
|
//#region src/local-service/lifecycle/daemon-service-command-spec.ts
|
|
70
71
|
const DEFAULT_LAUNCHD_PATH = "/usr/bin:/bin:/usr/sbin:/sbin";
|
|
71
72
|
const MACOS_SYSTEM_SHELL = "/bin/sh";
|
|
73
|
+
const DISPATCH_SPACE_ACTION_PATH_PATTERN = /[\\/]runtime[\\/]daemon[\\/]dispatch-space-actions[\\/][^\\/]+[\\/]bin$/u;
|
|
72
74
|
const DAEMON_SERVICE_ENV_KEY_WHITELIST = /* @__PURE__ */ new Set([
|
|
73
75
|
"HOME",
|
|
74
76
|
"PATH",
|
|
@@ -166,7 +168,7 @@ function buildSystemServiceEnvironment() {
|
|
|
166
168
|
const runtimeUser = userInfo().username;
|
|
167
169
|
for (const [key, value] of Object.entries(normalizeCommandEnvironment(process$1.env))) {
|
|
168
170
|
if (typeof value !== "string" || value.length === 0 || !isDaemonServiceEnvironmentKey(key)) continue;
|
|
169
|
-
env[key] = sanitizeDaemonServiceEnvironmentValue(value);
|
|
171
|
+
env[key] = key === "PATH" ? stripDispatchSpaceActionCliShims(value) : sanitizeDaemonServiceEnvironmentValue(value);
|
|
170
172
|
}
|
|
171
173
|
if (process$1.platform === "darwin") env.PATH ??= DEFAULT_LAUNCHD_PATH;
|
|
172
174
|
if (process$1.platform === "win32") env[OPENMELD_HOME_ENV_KEY] ??= resolveOpenMeldRootDir();
|
|
@@ -175,6 +177,9 @@ function buildSystemServiceEnvironment() {
|
|
|
175
177
|
env.LOGNAME ??= env.USER;
|
|
176
178
|
return env;
|
|
177
179
|
}
|
|
180
|
+
function stripDispatchSpaceActionCliShims(value) {
|
|
181
|
+
return value.split(delimiter).filter((entry) => !DISPATCH_SPACE_ACTION_PATH_PATTERN.test(entry)).join(delimiter);
|
|
182
|
+
}
|
|
178
183
|
function isDaemonServiceEnvironmentKey(key) {
|
|
179
184
|
return DAEMON_SERVICE_ENV_KEY_WHITELIST.has(key) || process$1.platform === "win32" && WINDOWS_RUNTIME_ENV_KEYS.some((candidate) => candidate === key);
|
|
180
185
|
}
|
|
@@ -7477,4 +7482,4 @@ function isNewerTargetVersion(candidate, current) {
|
|
|
7477
7482
|
//#endregion
|
|
7478
7483
|
export { buildDaemonServiceDependencyTitle as $, formatDeviceReplyReadinessLabel as A, DAEMON_SERVICE_FULL_ALIGNMENT_ANOMALIES as At, resolveGatewayChainReadiness as B, readCurrentLocalDeviceId as Bt, formatDaemonServiceRefreshReliabilityMessage as C, ensureDaemonRuntimeContractState as Ct, writeDaemonStartFailureState as D, isVersionDowngrade as Dt, clearDaemonStartFailureState as E, resolveDaemonServiceAlignmentDecision as Et, formatSpaceMemberCommandRecoveryCopy as F, resolveCurrentDaemonExpectedVersion as Ft, PREPARE_SESSION_RECONNECT_GRACE_MS as G, resolveGatewayChainRetryGuidance as H, isCliUpdateCheckApplicable as Ht, resolveReplyReadinessAvailabilityReasonCopy as I, resolveServiceUpdateUrgency as It, getSetupFlowCopy as J, buildDaemonRouteObservationPresentation as K, resolveReplyReadinessGuidanceSummaryCopy as L, assessServerRequiredVersion as Lt, formatReplyReadinessSummary as M, DAEMON_SERVICE_WAKEABILITY_ADVISORY_ANOMALIES as Mt, mapAgentReplyReadinessToLegacyAutoReply as N, classifyDaemonServiceRunStartability as Nt, resolveCurrentReplyReadinessSnapshot as O, resolveVersionChangeDirection as Ot, REPLY_READINESS_COPY as P, classifyDaemonServiceWakeability as Pt, buildDaemonServiceDependencySummary as Q, resolveOpenClawDiagnosticsGuidance as R, describeServerRequiredVersionUnavailableReason as Rt, buildDaemonServiceUpdateRequiredNextStep as S, toStartBackgroundHelperExecutionCompatibility as St, resolveDaemonServiceFreshnessWarning as T, buildDaemonServiceTargetSpec as Tt, resolveOpenClawLocalDiagnosticsValue as U, ensureDaemonSystemServiceCommandFiles as Ut, resolveGatewayChainRepairGuidance as V, assessCliUpdate as Vt, resolveLocalServiceDemand as W, resolveInstalledDaemonSystemServiceCommandSpec as Wt, buildDaemonServiceDependencyMeaning as X, buildDaemonServiceDependencyDetails as Y, buildDaemonServiceDependencyNextStep as Z, resolveServiceReadinessFromServiceStatus as _, readCurrentDaemonOwnerSnapshot as _t, isDaemonInventoryRunningAndStartReady as a, readPendingOpenMeldToolsUpdateAttempt as at, buildDaemonServiceRepairGuidance as b, summarizeDaemonOwnerSnapshot as bt, waitForSystemServiceStartup as c, writeOpenMeldToolsMaintenancePolicy as ct, captureDaemonServiceEvidenceBestEffort as d, startDaemonServiceUpdateWorker as dt, resolveDaemonServiceDependencyDiagnostics as et, formatDaemonFailureContextText as f, uninstallDaemonServiceUpdateWorker as ft, resolveServiceReadiness as g, hasActiveDaemonOwners as gt, resolveDaemonStatusAuthenticationAttention as h, formatDaemonOwnerSummaryLabel as ht, runDaemonServiceLifecycle as i, readLastOpenMeldToolsUpdateAttempt as it, formatHumanReplyReadinessReason as j, DAEMON_SERVICE_REPAIR_ANOMALIES as jt, formatAgentReplyReadinessLabel as k, DAEMON_SERVICE_AUTO_HEAL_ANOMALIES as kt, startDaemonSystemServiceWithAutoRepair as l, ensureDaemonServiceMaintenanceInstalled as lt, resolveDaemonStatusAttention as m, buildDaemonOwnerSnapshotFromObservedState as mt, scheduleDaemonServiceUpdate as n, createOpenMeldToolsUpdateCoordinator as nt, isSystemServiceStartupTimeoutError as o, readOpenMeldToolsMaintenancePolicy as ot, resolveDaemonStatusSnapshot as p, inspectDaemonServiceInventory 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, resolveDaemonStopStrategy as vt, formatDaemonServiceUpdateRequiredMessage as w, readDaemonRuntimeContractRepairReport as wt, buildDaemonServiceStatusReadOnlyDetail as x, resolveDaemonRuntimeContractCompatibility as xt, buildDaemonServiceRefreshPromptMessage as y, resolveStoppedContractWriteBlockedReason as yt, classifyGatewayChainFailure as z, buildLocalAgentCatalogFromReadiness as zt };
|
|
7479
7484
|
|
|
7480
|
-
//# sourceMappingURL=daemon-service-update-coordinator-
|
|
7485
|
+
//# sourceMappingURL=daemon-service-update-coordinator-BgVBlJ4d.js.map
|