openmeld 0.3.222 → 0.3.224
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-Wc69O6rA.js → add-me-membership-CGISMRPF.js} +2 -2
- package/dist/{add-me-membership-Wc69O6rA.js.map → add-me-membership-CGISMRPF.js.map} +1 -1
- package/dist/{agents-B8zhQnGw.js → agents-CR7BebgO.js} +12 -12
- package/dist/{agents-B8zhQnGw.js.map → agents-CR7BebgO.js.map} +1 -1
- package/dist/{api-client-foundation-DTiFoGpI.js → api-client-foundation-CqbIn_de.js} +1 -1
- package/dist/{api-client-foundation-DnJ_JYli.js → api-client-foundation-DpVwrgh-.js} +3 -3
- package/dist/{api-client-foundation-DnJ_JYli.js.map → api-client-foundation-DpVwrgh-.js.map} +1 -1
- package/dist/auth-session-BJfKu74u.js +4 -0
- package/dist/{auth-session-nhS8jyux.js → auth-session-uEk_Tx6T.js} +8 -8
- package/dist/auth-session-uEk_Tx6T.js.map +1 -0
- package/dist/{base-url-CMBApK1J.js → base-url-DXrUiSMI.js} +1 -1
- package/dist/{base-url-D7uE_xTo.js → base-url-DvjOkKPs.js} +2 -2
- package/dist/{base-url-D7uE_xTo.js.map → base-url-DvjOkKPs.js.map} +1 -1
- package/dist/{channel-ggx0o_aG.js → channel-B2fD2_be.js} +4 -4
- package/dist/{channel-ggx0o_aG.js.map → channel-B2fD2_be.js.map} +1 -1
- package/dist/{cli-binary-manifest-DiUulkp0.js → cli-binary-manifest-CT5X05lk.js} +30 -4
- package/dist/cli-binary-manifest-CT5X05lk.js.map +1 -0
- package/dist/{command-Bz9x7V2T.js → command-CQ9XRwqf.js} +22 -165
- package/dist/command-CQ9XRwqf.js.map +1 -0
- package/dist/{computer-connection-M3N6plkj.js → computer-connection-Dm7iTnRK.js} +2 -2
- package/dist/{computer-connection-M3N6plkj.js.map → computer-connection-Dm7iTnRK.js.map} +1 -1
- package/dist/{computer-connection-review-DY5BK_27.js → computer-connection-review-RHAoddSS.js} +6 -6
- package/dist/{computer-connection-review-DY5BK_27.js.map → computer-connection-review-RHAoddSS.js.map} +1 -1
- package/dist/{computer-disconnect-DR1WDSPK.js → computer-disconnect-BWRsge_2.js} +10 -10
- package/dist/{computer-disconnect-DR1WDSPK.js.map → computer-disconnect-BWRsge_2.js.map} +1 -1
- package/dist/{computer-setup-continuation-2gs8z-nB.js → computer-setup-continuation-BOCRH0qq.js} +4 -4
- package/dist/{computer-setup-continuation-2gs8z-nB.js.map → computer-setup-continuation-BOCRH0qq.js.map} +1 -1
- package/dist/context-Bdh3nAzw.js +162 -0
- package/dist/context-Bdh3nAzw.js.map +1 -0
- package/dist/{control-plane-e3W6PD2M.js → control-plane-rTE2rHZ5.js} +2 -2
- package/dist/{control-plane-e3W6PD2M.js.map → control-plane-rTE2rHZ5.js.map} +1 -1
- package/dist/{daemon-device-id-DWO9_QW6.js → daemon-device-id-B1Af2Zmn.js} +344 -36
- package/dist/daemon-device-id-B1Af2Zmn.js.map +1 -0
- package/dist/{daemon-frame-transport-D2-tazuK.js → daemon-frame-transport-WiB73yhT.js} +519 -12
- package/dist/daemon-frame-transport-WiB73yhT.js.map +1 -0
- package/dist/{daemon-lifecycle-journal-DyKx1xzm.js → daemon-lifecycle-journal-CDZLWgMj.js} +11 -11
- package/dist/daemon-lifecycle-journal-CDZLWgMj.js.map +1 -0
- package/dist/{daemon-runtime-lease-BUr4qsLo.js → daemon-runtime-lease-1LMeZ6IS.js} +2 -2
- package/dist/{daemon-runtime-lease-BUr4qsLo.js.map → daemon-runtime-lease-1LMeZ6IS.js.map} +1 -1
- package/dist/{daemon-runtime-lease-C9X8xV_F.js → daemon-runtime-lease-Bz0ucJj3.js} +1 -1
- package/dist/{daemon-service-contract-BpOBMGX0.js → daemon-service-contract-GLmAxsq-.js} +4 -4
- package/dist/{daemon-service-contract-BpOBMGX0.js.map → daemon-service-contract-GLmAxsq-.js.map} +1 -1
- package/dist/{daemon-service-manager-HL4VKbIU.js → daemon-service-manager-C8RUCMDo.js} +9 -7
- package/dist/daemon-service-manager-C8RUCMDo.js.map +1 -0
- package/dist/{daemon-service-manager-B-QrDe5p.js → daemon-service-manager-CU-79a4z.js} +1 -1
- package/dist/{daemon-service-runtime-bKt0YjC7.js → daemon-service-runtime-CBJtgM4P.js} +397 -51
- package/dist/daemon-service-runtime-CBJtgM4P.js.map +1 -0
- package/dist/{daemon-service-update-coordinator-D8O1uTtu.js → daemon-service-update-coordinator-0LB_XGVZ.js} +48 -33
- package/dist/daemon-service-update-coordinator-0LB_XGVZ.js.map +1 -0
- package/dist/{daemon-state-B44aq2nm.js → daemon-state-Ca0WK5x0.js} +3 -3
- package/dist/{daemon-state-B44aq2nm.js.map → daemon-state-Ca0WK5x0.js.map} +1 -1
- package/dist/{dist-B07ziN_u.js → dist-BeJcIdCZ.js} +25 -17
- package/dist/dist-BeJcIdCZ.js.map +1 -0
- package/dist/dist-C32frPV2.js +4 -0
- package/dist/{dist-B2EauBG6.js → dist-YbTZ-Y-2.js} +16 -12
- package/dist/dist-YbTZ-Y-2.js.map +1 -0
- package/dist/{elapsed-time-Ooo4IC25.js → elapsed-time-q8lSPcfm.js} +6 -6
- package/dist/{elapsed-time-Ooo4IC25.js.map → elapsed-time-q8lSPcfm.js.map} +1 -1
- package/dist/{entry-DeIRMCiW.js → entry-CpS6tnIk.js} +12 -12
- package/dist/{entry-DeIRMCiW.js.map → entry-CpS6tnIk.js.map} +1 -1
- package/dist/{installation-inventory-DThnBEhV.js → installation-inventory-C5FsAvrf.js} +5 -5
- package/dist/{installation-inventory-DThnBEhV.js.map → installation-inventory-C5FsAvrf.js.map} +1 -1
- package/dist/{installer-D2bWZT88.js → installer-054NLJg6.js} +2 -2
- package/dist/{installer-D2bWZT88.js.map → installer-054NLJg6.js.map} +1 -1
- package/dist/io-DT66typ4.js +16 -0
- package/dist/io-DT66typ4.js.map +1 -0
- package/dist/{local-components-B6SCXZf9.js → local-components-DleLEzSU.js} +2 -1
- package/dist/local-components-DleLEzSU.js.map +1 -0
- package/dist/{lock-Bsl_ElWy.js → lock-iue1J2xy.js} +8 -5
- package/dist/lock-iue1J2xy.js.map +1 -0
- package/dist/{cli-space-api-CQtKu9Zt.js → meta-api-B1k3mwHN.js} +203 -19
- package/dist/meta-api-B1k3mwHN.js.map +1 -0
- package/dist/{openmeld-BQy0nMox.js → openmeld-BFO3sfC_.js} +93 -1027
- package/dist/openmeld-BFO3sfC_.js.map +1 -0
- package/dist/openmeld-dev.js +1 -1
- package/dist/{openmeld-environment-target-B6HqY0_a.js → openmeld-environment-target-BBn5Ko6p.js} +3 -3
- package/dist/{openmeld-environment-target-B6HqY0_a.js.map → openmeld-environment-target-BBn5Ko6p.js.map} +1 -1
- package/dist/{openmeld-maintenance-worker-BSODPHbn.js → openmeld-maintenance-worker-Ce4ehQ-c.js} +15 -14
- package/dist/openmeld-maintenance-worker-Ce4ehQ-c.js.map +1 -0
- package/dist/{openmeld-tools-update-join-BfY0GnDs.js → openmeld-tools-update-join-D24llJ9L.js} +4 -4
- package/dist/{openmeld-tools-update-join-BfY0GnDs.js.map → openmeld-tools-update-join-D24llJ9L.js.map} +1 -1
- package/dist/{openmeld-tools-update-process-frame-B-XB4dmO.js → openmeld-tools-update-process-frame-BtFKp70p.js} +2 -2
- package/dist/{openmeld-tools-update-process-frame-B-XB4dmO.js.map → openmeld-tools-update-process-frame-BtFKp70p.js.map} +1 -1
- package/dist/{openmeld-tools-update-process-frame-j-RXwFsK.js → openmeld-tools-update-process-frame-DbEZ3fEh.js} +1 -1
- package/dist/openmeld.js +9 -5
- package/dist/openmeld.js.map +1 -1
- package/dist/{prepare-provider-runtime-CWZcuMF6.js → prepare-provider-runtime-MB-BxOgt.js} +3342 -1327
- package/dist/prepare-provider-runtime-MB-BxOgt.js.map +1 -0
- package/dist/{prepare-session-executor-CkDxstsf.js → prepare-session-executor-zvSZ6jqy.js} +29 -28
- package/dist/prepare-session-executor-zvSZ6jqy.js.map +1 -0
- package/dist/{presenter-BcxiQyJg.js → presenter-MJ5YgsOT.js} +3 -13
- package/dist/presenter-MJ5YgsOT.js.map +1 -0
- package/dist/{process-channel-BQwtOlRc.js → process-channel-CgbduFCz.js} +2 -2
- package/dist/{process-channel-BQwtOlRc.js.map → process-channel-CgbduFCz.js.map} +1 -1
- package/dist/process-environment-BWSFeUu6.js +49 -0
- package/dist/process-environment-BWSFeUu6.js.map +1 -0
- package/dist/process-identity-BQLdaZdB.js +190 -0
- package/dist/process-identity-BQLdaZdB.js.map +1 -0
- package/dist/process-launch-B0pHlkV_.js +173 -0
- package/dist/process-launch-B0pHlkV_.js.map +1 -0
- package/dist/{published-production-safety-dp-fOmmB.js → published-production-safety-C40hKrBA.js} +2 -2
- package/dist/{published-production-safety-dp-fOmmB.js.map → published-production-safety-C40hKrBA.js.map} +1 -1
- package/dist/{runtime-BYaFkkLK.js → runtime-D6jItuQ-.js} +155 -702
- package/dist/runtime-D6jItuQ-.js.map +1 -0
- package/dist/{runtime-agent-controller-reporting-submission-BUUub9_1.js → runtime-agent-controller-reporting-submission-D9ysbi7R.js} +9 -9
- package/dist/{runtime-agent-controller-reporting-submission-BUUub9_1.js.map → runtime-agent-controller-reporting-submission-D9ysbi7R.js.map} +1 -1
- package/dist/{runtime-reporting-health-state-BgwfrH7f.js → runtime-reporting-health-state-DA-_vW-n.js} +2210 -60
- package/dist/runtime-reporting-health-state-DA-_vW-n.js.map +1 -0
- package/dist/{runtime-transport-Cc_RN-PL.js → runtime-transport-YIYHSJPn.js} +99 -14
- package/dist/runtime-transport-YIYHSJPn.js.map +1 -0
- package/dist/{service-CfO38_a-.js → service-Dz2MsvGr.js} +126 -550
- package/dist/service-Dz2MsvGr.js.map +1 -0
- package/dist/{service-account-admission-Dy2W3n3_.js → service-account-admission-BfdJ-kKR.js} +18 -10
- package/dist/service-account-admission-BfdJ-kKR.js.map +1 -0
- package/dist/{service-account-authorization-DKpIpxXo.js → service-account-authorization-DZbUOD29.js} +6 -6
- package/dist/{service-account-authorization-DKpIpxXo.js.map → service-account-authorization-DZbUOD29.js.map} +1 -1
- package/dist/{service-account-control-CCPQAZzn.js → service-account-control-DCMOKXDT.js} +16 -16
- package/dist/service-account-control-DCMOKXDT.js.map +1 -0
- package/dist/{service-control-capabilities-C9UHSMPz.js → service-control-capabilities-3_bdeHXu.js} +1 -1
- package/dist/{service-control-capabilities-xGylBNoH.js → service-control-capabilities-Bb738e_d.js} +19 -15
- package/dist/service-control-capabilities-Bb738e_d.js.map +1 -0
- package/dist/{service-control-carrier-capability-DDNyE5cB.js → service-control-carrier-capability-gMk5gMKU.js} +11 -4
- package/dist/service-control-carrier-capability-gMk5gMKU.js.map +1 -0
- package/dist/{state-CQG3k9eh.js → state-GxF_KAM1.js} +4 -4
- package/dist/{state-CQG3k9eh.js.map → state-GxF_KAM1.js.map} +1 -1
- package/dist/{upgrade-D5FxGbh1.js → upgrade-DfJwCD5H.js} +52 -32
- package/dist/upgrade-DfJwCD5H.js.map +1 -0
- package/dist/upgrade-DgmYWeNu.js +4 -0
- package/dist/windows/openmeld-windows-process.exe +0 -0
- package/dist/windows-artifact-DJ9DKjfc.js +16 -0
- package/dist/windows-artifact-DJ9DKjfc.js.map +1 -0
- package/dist/windows-task-command-COu_6Ke3.js +74 -0
- package/dist/windows-task-command-COu_6Ke3.js.map +1 -0
- package/dist/windows-task-entry-CtRpUbiK.js +50 -0
- package/dist/windows-task-entry-CtRpUbiK.js.map +1 -0
- package/dist/{windows-user-task-Bx2yYnOM.js → windows-user-task-B8NcRg_u.js} +1 -1
- package/dist/{windows-user-task-CRGbKggi.js → windows-user-task-Io5QuEVR.js} +108 -51
- package/dist/windows-user-task-Io5QuEVR.js.map +1 -0
- package/package.json +12 -12
- package/skills/openmeld-cli/playbooks/space-ops.md +9 -3
- package/skills/openmeld-cli/references/commands.md +0 -1
- package/dist/auth-session-D8dbMpaK.js +0 -4
- package/dist/auth-session-nhS8jyux.js.map +0 -1
- package/dist/cli-binary-manifest-DiUulkp0.js.map +0 -1
- package/dist/cli-space-api-CQtKu9Zt.js.map +0 -1
- package/dist/command-Bz9x7V2T.js.map +0 -1
- package/dist/context-l_31Mn4X.js +0 -473
- package/dist/context-l_31Mn4X.js.map +0 -1
- package/dist/daemon-device-id-DWO9_QW6.js.map +0 -1
- package/dist/daemon-frame-transport-D2-tazuK.js.map +0 -1
- package/dist/daemon-lifecycle-journal-DyKx1xzm.js.map +0 -1
- package/dist/daemon-service-manager-HL4VKbIU.js.map +0 -1
- package/dist/daemon-service-runtime-bKt0YjC7.js.map +0 -1
- package/dist/daemon-service-update-coordinator-D8O1uTtu.js.map +0 -1
- package/dist/dist-B07ziN_u.js.map +0 -1
- package/dist/dist-B2EauBG6.js.map +0 -1
- package/dist/dist-DhWI1iyi.js +0 -4
- package/dist/local-components-B6SCXZf9.js.map +0 -1
- package/dist/lock-Bsl_ElWy.js.map +0 -1
- package/dist/openmeld-BQy0nMox.js.map +0 -1
- package/dist/openmeld-maintenance-worker-BSODPHbn.js.map +0 -1
- package/dist/prepare-provider-runtime-CWZcuMF6.js.map +0 -1
- package/dist/prepare-session-executor-CkDxstsf.js.map +0 -1
- package/dist/presenter-BcxiQyJg.js.map +0 -1
- package/dist/process-identity-CNus0e6E.js +0 -146
- package/dist/process-identity-CNus0e6E.js.map +0 -1
- package/dist/runtime-BYaFkkLK.js.map +0 -1
- package/dist/runtime-reporting-health-state-BgwfrH7f.js.map +0 -1
- package/dist/runtime-transport-Cc_RN-PL.js.map +0 -1
- package/dist/service-CfO38_a-.js.map +0 -1
- package/dist/service-account-admission-Dy2W3n3_.js.map +0 -1
- package/dist/service-account-control-CCPQAZzn.js.map +0 -1
- package/dist/service-control-capabilities-xGylBNoH.js.map +0 -1
- package/dist/service-control-carrier-capability-DDNyE5cB.js.map +0 -1
- package/dist/upgrade-D5FxGbh1.js.map +0 -1
- package/dist/upgrade-DhFEu0k6.js +0 -4
- package/dist/windows-user-task-CRGbKggi.js.map +0 -1
|
@@ -2,32 +2,33 @@
|
|
|
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 {
|
|
6
|
-
import {
|
|
7
|
-
import { A as createExpectedRoutesReadSession, D as NO_LOCAL_AGENTS_NEED_OPENMELD_SERVICE_REASON, H as resolveAgentTargetState, O as syncDeviceRuntimeStateProjection, T as resolveEffectiveProfileWorkingFolderRuntime, _ as loadDaemonRouteCatalog, c as findOpenClawAgentById, d as resolveOpenClawAuthStatus, dn as createLocalAdapterEntries, f as resolveOpenClawProviderRuntimeWorkingDirectory, h as readDaemonRouteCatalogCache, i as listOpenClawGatewayAgents, j as resolveAgentProfilePrimaryAgentControllerReport, k as createPrimaryBindingReadSession, kn as DaemonServiceRunError, kt as resolveRegistryRuntimeAdapterContractByAgentControllerRef, l as findOpenClawAgentsByWorkspace, m as resolveOpenClawLocalBootstrapPaths, n as fetchOpenClawGatewayHealth, p as readOpenClawLocalBootstrapState, r as listOpenClawAgents, t as prepareProviderRuntime, u as matchesExpectedWorkspace, un as createLocalAdapterContainer } from "./prepare-provider-runtime-
|
|
8
|
-
import {
|
|
9
|
-
import { d as getAuthSessionState, m as hasPendingComputerSetupContinuation, z as DEFAULT_GATEWAY_CHAIN_TIMEOUT_MS$1 } from "./auth-session-
|
|
10
|
-
import { x as providerDispatchRuntimeContextSchema } from "./control-plane-
|
|
11
|
-
import { v as openMeldToolsUpdateAttemptSchema, w as openMeldToolsUpdateRequestSourceSchema } from "./local-components-
|
|
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-MB-BxOgt.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";
|
|
10
|
+
import { x as providerDispatchRuntimeContextSchema } from "./control-plane-rTE2rHZ5.js";
|
|
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 { E as
|
|
14
|
-
import { r as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
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 {
|
|
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-CBJtgM4P.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";
|
|
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";
|
|
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-
|
|
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-
|
|
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";
|
|
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-
|
|
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-
|
|
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-CDZLWgMj.js";
|
|
26
|
+
import { i as windowsTaskActionArguments, l as windowsMaintenanceBinaryPath, n as runWindowsUserTask, r as windowsPowerShellPath } from "./windows-user-task-Io5QuEVR.js";
|
|
26
27
|
import { n as toErrorMessage$6, t as sleep } from "./dist-BLuEEVHh.js";
|
|
27
|
-
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-
|
|
28
|
-
import { n as resolveRuntimeContext
|
|
29
|
-
import { c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, n as fetchSpaceRequestWithTimeout, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-
|
|
30
|
-
import { a as encodePersistedOpenMeldToolsUpdateFailure, i as OpenMeldToolsUpdateFailureError, o as resolveOpenMeldToolsUpdateFailure, r as parseOpenMeldToolsUpdateFailureFrame, t as appendBoundedOpenMeldToolsUpdateProcessOutput } from "./openmeld-tools-update-process-frame-
|
|
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";
|
|
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";
|
|
31
32
|
import { randomUUID } from "node:crypto";
|
|
32
33
|
import { tmpdir, userInfo } from "node:os";
|
|
33
34
|
import { dirname, join } from "node:path";
|
|
@@ -88,8 +89,18 @@ const DAEMON_SERVICE_ENV_KEY_WHITELIST = /* @__PURE__ */ new Set([
|
|
|
88
89
|
"OPENMELD_DEV_MODE",
|
|
89
90
|
"OPENMELD_ENV_PRESET",
|
|
90
91
|
"OPENMELD_USER_FACING_CLI_COMMAND",
|
|
91
|
-
"OPENMELD_CLI_BINARY_MANIFEST_URL"
|
|
92
|
+
"OPENMELD_CLI_BINARY_MANIFEST_URL",
|
|
93
|
+
"OPENMELD_WINDOWS_INTERNAL_PREVIEW"
|
|
92
94
|
]);
|
|
95
|
+
async function resolveInstalledDaemonSystemServiceCommandSpec(input) {
|
|
96
|
+
if (input.controller !== "windows-service" || (input.distribution ?? resolveOpenMeldDistribution()) !== "binary") return buildDaemonSystemServiceCommandSpec(input);
|
|
97
|
+
const executable = await resolveAlignedDaemonActiveBundleEntryPath();
|
|
98
|
+
if (!executable) throw new Error("The installed Windows Service bundle needs repair before it can start.");
|
|
99
|
+
return buildDaemonSystemServiceCommandSpec({
|
|
100
|
+
...input,
|
|
101
|
+
binaryExecutablePath: executable
|
|
102
|
+
});
|
|
103
|
+
}
|
|
93
104
|
function buildDaemonSystemServiceCommandSpec(input) {
|
|
94
105
|
const args = [
|
|
95
106
|
"service",
|
|
@@ -124,10 +135,13 @@ function buildDaemonSystemServiceCommandSpec(input) {
|
|
|
124
135
|
};
|
|
125
136
|
}
|
|
126
137
|
function resolveDaemonServiceExecutable(input) {
|
|
127
|
-
if ((input.distribution ?? resolveOpenMeldDistribution()) === "binary")
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
138
|
+
if ((input.distribution ?? resolveOpenMeldDistribution()) === "binary") {
|
|
139
|
+
if (input.controller === "windows-service" && !input.binaryExecutablePath) throw new Error("Windows Service registration requires its selected background executable.");
|
|
140
|
+
return {
|
|
141
|
+
executable: input.controller === "launchd" ? daemonServiceBinaryExecutablePath() : input.binaryExecutablePath ?? openMeldManagedVersionBinaryPath(resolveCliSelfVersion()),
|
|
142
|
+
specArgs: input.args
|
|
143
|
+
};
|
|
144
|
+
}
|
|
131
145
|
const launcherPath = daemonServiceLauncherPath();
|
|
132
146
|
if (input.controller === "launchd") return {
|
|
133
147
|
executable: MACOS_SYSTEM_SHELL,
|
|
@@ -1524,7 +1538,7 @@ async function ensureDaemonServiceMaintenanceInstalled() {
|
|
|
1524
1538
|
spec
|
|
1525
1539
|
});
|
|
1526
1540
|
else if (process$1.platform === "linux") expectedDefinition = buildSystemdServiceUpdateWorkerUnit({ spec });
|
|
1527
|
-
else expectedDefinition = windowsTaskActionArguments({
|
|
1541
|
+
else expectedDefinition = (preparedBundle.bundleFormat === "binary_v1" ? windowsDirectTaskArguments : windowsTaskActionArguments)({
|
|
1528
1542
|
...spec,
|
|
1529
1543
|
logPath: resolveUpdateWorkerLogPath({})
|
|
1530
1544
|
});
|
|
@@ -1621,8 +1635,8 @@ async function registerDaemonServiceUpdateWorker(job, pathInput = {}) {
|
|
|
1621
1635
|
name: identity.windowsServiceName,
|
|
1622
1636
|
legacyScript: scriptPath,
|
|
1623
1637
|
operation: "install",
|
|
1624
|
-
executable: windowsPowerShellPath(),
|
|
1625
|
-
arguments: windowsTaskActionArguments({
|
|
1638
|
+
executable: job.preparedBundle.bundleFormat === "binary_v1" ? spec.executable : windowsPowerShellPath(),
|
|
1639
|
+
arguments: (job.preparedBundle.bundleFormat === "binary_v1" ? windowsDirectTaskArguments : windowsTaskActionArguments)({
|
|
1626
1640
|
...spec,
|
|
1627
1641
|
logPath: resolveUpdateWorkerLogPath(pathInput)
|
|
1628
1642
|
}),
|
|
@@ -1785,7 +1799,8 @@ async function buildDaemonServiceUpdateWorkerSpec(job, pathInput = {}) {
|
|
|
1785
1799
|
distribution: job.preparedBundle.bundleFormat === "binary_v1" ? "binary" : "npm"
|
|
1786
1800
|
});
|
|
1787
1801
|
const binaryDistribution = job.preparedBundle.bundleFormat === "binary_v1";
|
|
1788
|
-
const
|
|
1802
|
+
const binaryWorkerPath = process$1.platform === "win32" && binaryDistribution ? windowsMaintenanceBinaryPath(job.preparedBundle, pathInput) : daemonServiceUpdateWorkerBinaryPath(pathInput);
|
|
1803
|
+
const targetEntryPath = binaryDistribution ? binaryWorkerPath : daemonServiceUpdateWorkerNpmEntryPath(pathInput);
|
|
1789
1804
|
if (!targetEntryPath) throw new Error("OpenMeld could not resolve the prepared Service update executable.");
|
|
1790
1805
|
const env = { ...baseSpec.env };
|
|
1791
1806
|
configureDaemonMaintenanceEnvironment(env);
|
|
@@ -7444,6 +7459,6 @@ function isNewerTargetVersion(candidate, current) {
|
|
|
7444
7459
|
return compareSemver(candidate, current) > 0;
|
|
7445
7460
|
}
|
|
7446
7461
|
//#endregion
|
|
7447
|
-
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,
|
|
7462
|
+
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 };
|
|
7448
7463
|
|
|
7449
|
-
//# sourceMappingURL=daemon-service-update-coordinator-
|
|
7464
|
+
//# sourceMappingURL=daemon-service-update-coordinator-0LB_XGVZ.js.map
|