openmeld 0.3.259 → 0.3.262
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-CQeOTn8Y.js → add-me-membership-wBqBUZN7.js} +2 -2
- package/dist/{add-me-membership-CQeOTn8Y.js.map → add-me-membership-wBqBUZN7.js.map} +1 -1
- package/dist/{agents-CLlVC_zK.js → agents-DzQ6NTFH.js} +13 -13
- package/dist/{agents-CLlVC_zK.js.map → agents-DzQ6NTFH.js.map} +1 -1
- package/dist/{api-client-foundation-Dye8bbn0.js → api-client-foundation-C3A2-JkQ.js} +1 -1
- package/dist/{api-client-foundation-BDbeHD1i.js → api-client-foundation-Dqxsa_3V.js} +4 -4
- package/dist/{api-client-foundation-BDbeHD1i.js.map → api-client-foundation-Dqxsa_3V.js.map} +1 -1
- package/dist/auth-session-BbeGpa9b.js +4 -0
- package/dist/{auth-session-mNZMZihh.js → auth-session-VWQoz03f.js} +5 -5
- package/dist/{auth-session-mNZMZihh.js.map → auth-session-VWQoz03f.js.map} +1 -1
- package/dist/{auth-url-D5LMD4E8.js → auth-url-BVvdeI3F.js} +2 -2
- package/dist/{auth-url-D5LMD4E8.js.map → auth-url-BVvdeI3F.js.map} +1 -1
- package/dist/{base-url-BMrQwJW4.js → base-url-C0AOV6je.js} +3 -3
- package/dist/{base-url-BMrQwJW4.js.map → base-url-C0AOV6je.js.map} +1 -1
- package/dist/{base-url-uwbKIZtP.js → base-url-uaTFrave.js} +1 -1
- package/dist/{channel-48XSbUsz.js → channel-5TzyWtoj.js} +2 -2
- package/dist/{channel-48XSbUsz.js.map → channel-5TzyWtoj.js.map} +1 -1
- package/dist/{cloud-computer-Cymmmv7K.js → cloud-computer-DujgiSkS.js} +6 -6
- package/dist/{cloud-computer-Cymmmv7K.js.map → cloud-computer-DujgiSkS.js.map} +1 -1
- package/dist/{command-BmbIcCis.js → command-ZxD_qNik.js} +23 -19
- package/dist/{command-BmbIcCis.js.map → command-ZxD_qNik.js.map} +1 -1
- package/dist/{computer-connection-review-zgdekYjE.js → computer-connection-review-BoQqWowI.js} +6 -6
- package/dist/{computer-connection-review-zgdekYjE.js.map → computer-connection-review-BoQqWowI.js.map} +1 -1
- package/dist/{computer-disconnect-Bv4hrAWw.js → computer-disconnect-DSDiFVq_.js} +9 -9
- package/dist/{computer-disconnect-Bv4hrAWw.js.map → computer-disconnect-DSDiFVq_.js.map} +1 -1
- package/dist/{computer-setup-continuation-3oNkl1o1.js → computer-setup-continuation-D1rKfaKP.js} +3 -3
- package/dist/{computer-setup-continuation-3oNkl1o1.js.map → computer-setup-continuation-D1rKfaKP.js.map} +1 -1
- package/dist/{context-BT5P1qqr.js → context-nHpubzcZ.js} +7 -7
- package/dist/{context-BT5P1qqr.js.map → context-nHpubzcZ.js.map} +1 -1
- package/dist/{daemon-device-id-DrGRbKdb.js → daemon-device-id-CefXWPiF.js} +4 -4
- package/dist/{daemon-device-id-DrGRbKdb.js.map → daemon-device-id-CefXWPiF.js.map} +1 -1
- package/dist/{daemon-lifecycle-journal-oMoQyKEB.js → daemon-lifecycle-journal-DbRJ216n.js} +7 -6
- package/dist/{daemon-lifecycle-journal-oMoQyKEB.js.map → daemon-lifecycle-journal-DbRJ216n.js.map} +1 -1
- package/dist/{daemon-runtime-lease-wo_QM5jn.js → daemon-runtime-lease-7sd11Cv3.js} +1 -1
- package/dist/{daemon-runtime-lease-CB0ZCPMd.js → daemon-runtime-lease-y8RoGvTS.js} +3 -3
- package/dist/{daemon-runtime-lease-CB0ZCPMd.js.map → daemon-runtime-lease-y8RoGvTS.js.map} +1 -1
- package/dist/{daemon-service-contract-Dkgengx4.js → daemon-service-contract-Cik2oi9W.js} +3 -3
- package/dist/{daemon-service-contract-Dkgengx4.js.map → daemon-service-contract-Cik2oi9W.js.map} +1 -1
- package/dist/{daemon-service-manager-BjBYyE6i.js → daemon-service-manager-BnMEtAYp.js} +5 -5
- package/dist/{daemon-service-manager-BjBYyE6i.js.map → daemon-service-manager-BnMEtAYp.js.map} +1 -1
- package/dist/{daemon-service-manager-CblkceR7.js → daemon-service-manager-DWM3I_pP.js} +1 -1
- package/dist/{daemon-service-runtime-BSFTYU0n.js → daemon-service-runtime-BhIfwyN9.js} +14 -14
- package/dist/{daemon-service-runtime-BSFTYU0n.js.map → daemon-service-runtime-BhIfwyN9.js.map} +1 -1
- package/dist/{daemon-service-update-coordinator-BUAkAxqT.js → daemon-service-update-coordinator-DUsnRsrg.js} +22 -20
- package/dist/daemon-service-update-coordinator-DUsnRsrg.js.map +1 -0
- package/dist/{daemon-state-B8L0_xPT.js → daemon-state-DjfcQFlF.js} +3 -3
- package/dist/{daemon-state-B8L0_xPT.js.map → daemon-state-DjfcQFlF.js.map} +1 -1
- package/dist/{dispatch-owned-runtime-D5THLVZR.js → dispatch-owned-runtime-Bcz_DYAR.js} +10 -10
- package/dist/dispatch-owned-runtime-Bcz_DYAR.js.map +1 -0
- package/dist/{dist-BJy9X73H.js → dist-BnSaxfXN.js} +39 -2
- package/dist/dist-BnSaxfXN.js.map +1 -0
- package/dist/dist-CGGiwcMv.js +4 -0
- package/dist/{dist-Dx5paVZY.js → dist-DRUbg0Z2.js} +245 -56
- package/dist/dist-DRUbg0Z2.js.map +1 -0
- package/dist/{dist-BFz8AKxR.js → dist-DaKpDnJa.js} +1 -1
- package/dist/{dual-view-guide-catalog-D4rlZXO_.js → dual-view-guide-catalog-BOopzFeg.js} +3 -3
- package/dist/{dual-view-guide-catalog-D4rlZXO_.js.map → dual-view-guide-catalog-BOopzFeg.js.map} +1 -1
- package/dist/{elapsed-time-pHCf33Jh.js → elapsed-time-Dx4ZdxI7.js} +4 -4
- package/dist/{elapsed-time-pHCf33Jh.js.map → elapsed-time-Dx4ZdxI7.js.map} +1 -1
- package/dist/{entry-V6Tf_wMP.js → entry-B8GRBYAI.js} +12 -12
- package/dist/{entry-V6Tf_wMP.js.map → entry-B8GRBYAI.js.map} +1 -1
- package/dist/{installation-inventory-Cr8q27L_.js → installation-inventory-Ds2Q1XoG.js} +4 -4
- package/dist/{installation-inventory-Cr8q27L_.js.map → installation-inventory-Ds2Q1XoG.js.map} +1 -1
- package/dist/{installer-dx-JuhZZ.js → installer-CFubHwmq.js} +2 -2
- package/dist/{installer-dx-JuhZZ.js.map → installer-CFubHwmq.js.map} +1 -1
- package/dist/{lock-CDdQw0gQ.js → lock-tTXKrDmv.js} +3 -3
- package/dist/{lock-CDdQw0gQ.js.map → lock-tTXKrDmv.js.map} +1 -1
- package/dist/{meta-api-CkKS9A5_.js → meta-api-uKt0ERL5.js} +7 -7
- package/dist/{meta-api-CkKS9A5_.js.map → meta-api-uKt0ERL5.js.map} +1 -1
- package/dist/{openmeld-DVXOSt5S.js → openmeld-BORFxyod.js} +48 -42
- package/dist/{openmeld-DVXOSt5S.js.map → openmeld-BORFxyod.js.map} +1 -1
- package/dist/{openmeld-dev-environment-C82HhyXf.js → openmeld-dev-environment-IxwblJHw.js} +3 -3
- package/dist/{openmeld-dev-environment-C82HhyXf.js.map → openmeld-dev-environment-IxwblJHw.js.map} +1 -1
- package/dist/openmeld-dev.js +1 -1
- package/dist/{openmeld-environment-target-BftVniKn.js → openmeld-environment-target-BnzzM5fh.js} +3 -3
- package/dist/{openmeld-environment-target-BftVniKn.js.map → openmeld-environment-target-BnzzM5fh.js.map} +1 -1
- package/dist/{openmeld-maintenance-worker-eQqcq1LE.js → openmeld-maintenance-worker-CCvqxpZv.js} +14 -14
- package/dist/{openmeld-maintenance-worker-eQqcq1LE.js.map → openmeld-maintenance-worker-CCvqxpZv.js.map} +1 -1
- package/dist/{openmeld-tools-update-join-BKoMvawo.js → openmeld-tools-update-join-CCogwfR2.js} +4 -4
- package/dist/{openmeld-tools-update-join-BKoMvawo.js.map → openmeld-tools-update-join-CCogwfR2.js.map} +1 -1
- package/dist/{openmeld-tools-update-process-frame-Cl_LpsK-.js → openmeld-tools-update-process-frame-BARWpgIm.js} +2 -2
- package/dist/{openmeld-tools-update-process-frame-Cl_LpsK-.js.map → openmeld-tools-update-process-frame-BARWpgIm.js.map} +1 -1
- package/dist/{openmeld-tools-update-process-frame-Ct-7vlfE.js → openmeld-tools-update-process-frame-C5p9EEV0.js} +1 -1
- package/dist/openmeld.js +7 -7
- package/dist/{prepare-provider-runtime-BYKiQArk.js → prepare-provider-runtime-B0gBhnir.js} +618 -22
- package/dist/prepare-provider-runtime-B0gBhnir.js.map +1 -0
- package/dist/{prepare-session-executor-_0fWWVwP.js → prepare-session-executor-CgZTF3OV.js} +27 -27
- package/dist/{prepare-session-executor-_0fWWVwP.js.map → prepare-session-executor-CgZTF3OV.js.map} +1 -1
- package/dist/{process-channel-BYaPF16N.js → process-channel-ehx69w9I.js} +2 -2
- package/dist/{process-channel-BYaPF16N.js.map → process-channel-ehx69w9I.js.map} +1 -1
- package/dist/{process-identity-DtRa8niy.js → process-identity-BAAdyYwE.js} +2 -2
- package/dist/{process-identity-DtRa8niy.js.map → process-identity-BAAdyYwE.js.map} +1 -1
- package/dist/{runtime-CMSCzSI2.js → runtime-CJOlAkvc.js} +336 -23
- package/dist/runtime-CJOlAkvc.js.map +1 -0
- package/dist/{runtime-agent-controller-reporting-submission-NTqBffbr.js → runtime-agent-controller-reporting-submission-Gf49imkB.js} +37 -10
- package/dist/runtime-agent-controller-reporting-submission-Gf49imkB.js.map +1 -0
- package/dist/{service-Ciifmu6w.js → service-Dm_v88Dc.js} +130 -75
- package/dist/service-Dm_v88Dc.js.map +1 -0
- package/dist/{service-account-authorization-CYcUJnZy.js → service-account-authorization-CrbUG0-l.js} +5 -5
- package/dist/{service-account-authorization-CYcUJnZy.js.map → service-account-authorization-CrbUG0-l.js.map} +1 -1
- package/dist/{service-account-control-D6VGaquv.js → service-account-control-BbcqY1fg.js} +15 -15
- package/dist/{service-account-control-D6VGaquv.js.map → service-account-control-BbcqY1fg.js.map} +1 -1
- package/dist/{service-control-capabilities-h014PLa0.js → service-control-capabilities-B5p5Ut1j.js} +1 -1
- package/dist/{service-control-capabilities-BFS1cHMi.js → service-control-capabilities-B5x3VYZQ.js} +6 -6
- package/dist/{service-control-capabilities-BFS1cHMi.js.map → service-control-capabilities-B5x3VYZQ.js.map} +1 -1
- package/dist/{service-control-carrier-capability-nAOgdIbf.js → service-control-carrier-capability-QQBqqI65.js} +3 -3
- package/dist/{service-control-carrier-capability-nAOgdIbf.js.map → service-control-carrier-capability-QQBqqI65.js.map} +1 -1
- package/dist/{state-Defk8u-_.js → state-CIM8ibMZ.js} +3 -3
- package/dist/{state-Defk8u-_.js.map → state-CIM8ibMZ.js.map} +1 -1
- package/dist/{updates-api-D2Hox-6r.js → updates-api-Dol3lksp.js} +14 -14
- package/dist/{updates-api-D2Hox-6r.js.map → updates-api-Dol3lksp.js.map} +1 -1
- package/dist/{upgrade-BYlFNl6H.js → upgrade-BVBR7r1Z.js} +9 -9
- package/dist/{upgrade-BYlFNl6H.js.map → upgrade-BVBR7r1Z.js.map} +1 -1
- package/dist/upgrade-ChqQ_KDy.js +4 -0
- package/dist/windows/openmeld-windows-process.exe +0 -0
- package/dist/{windows-managed-install-BDtTogaf.js → windows-managed-install-BDPy9F0T.js} +2 -2
- package/dist/{windows-managed-install-BDtTogaf.js.map → windows-managed-install-BDPy9F0T.js.map} +1 -1
- package/dist/{windows-preview-channel-TEVn7puE.js → windows-preview-channel-Drg1mvkM.js} +3 -3
- package/dist/{windows-preview-channel-TEVn7puE.js.map → windows-preview-channel-Drg1mvkM.js.map} +1 -1
- package/dist/{windows-task-command-uUPXFssY.js → windows-task-command-2-jau1ni.js} +2 -2
- package/dist/{windows-task-command-uUPXFssY.js.map → windows-task-command-2-jau1ni.js.map} +1 -1
- package/dist/{windows-task-entry-1fvdlQ-1.js → windows-task-entry-C4eBoHXQ.js} +3 -3
- package/dist/{windows-task-entry-1fvdlQ-1.js.map → windows-task-entry-C4eBoHXQ.js.map} +1 -1
- package/dist/{windows-user-task-CpyMMEiK.js → windows-user-task-BYF03jMQ.js} +1 -1
- package/dist/{windows-user-task-Dfg4k6bI.js → windows-user-task-DzDWScE1.js} +6 -6
- package/dist/{windows-user-task-Dfg4k6bI.js.map → windows-user-task-DzDWScE1.js.map} +1 -1
- package/package.json +11 -10
- package/dist/auth-session-COkQp4Fr.js +0 -4
- package/dist/daemon-service-update-coordinator-BUAkAxqT.js.map +0 -1
- package/dist/dispatch-owned-runtime-D5THLVZR.js.map +0 -1
- package/dist/dist-BJy9X73H.js.map +0 -1
- package/dist/dist-Cbw4UtHs.js +0 -4
- package/dist/dist-Dx5paVZY.js.map +0 -1
- package/dist/prepare-provider-runtime-BYKiQArk.js.map +0 -1
- package/dist/runtime-CMSCzSI2.js.map +0 -1
- package/dist/runtime-agent-controller-reporting-submission-NTqBffbr.js.map +0 -1
- package/dist/service-Ciifmu6w.js.map +0 -1
- package/dist/upgrade-FcSJsBzm.js +0 -4
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { a as resolveBaseUrl, c as resolveExplicitGatewayUrlOrThrow, f as getConfiguredDaemonDispatchLimits, i as normalizeGatewayBaseUrlOrNull, o as resolveBaseUrlOrNull, r as normalizeGatewayBaseUrl } from "./base-url-
|
|
3
|
+
import { $r as applyAcceptedLeases, An as resolveInstalledCodexLaunchCandidates, Ft as readSavedProfileWorkspaceForAccount, Gn as emitReconcileCompletedEvidence, Gt as summarizeSkippedDaemonProfiles, Ht as createMutableRouteCatalogState, I as listAgentTargetStates, Kn as emitReconcileStartedEvidence, Kt as syncDaemonRouteCatalogState, Lt as resolveConfiguredProfileWorkspacePathForAccount, O as syncDeviceRuntimeStateProjection, Pt as readProfileWorkspaceConfigForAccount, Qr as MIN_HEARTBEAT_INTERVAL_MS, Rt as setCustomProfileWorkspace, Ut as createRouteCatalogFromMutableState, Wn as emitDriftDetectedEvidence, Xr as ADAPTIVE_HEARTBEAT_JITTER_RATIO, Yr as resolveRouteRegistrationReconcileDecision, Zr as MAX_HEARTBEAT_INTERVAL_MS, Zt as isDaemonReconcileInProgressError, _t as removeMissingProjectConnections, ct as ProjectBindingOperationError, ei as applyIntervalJitterMs$1, fn as resolveCatalogSyncSkippedProfilesLogState, in as buildLocalServiceDiagnosticsPayload, jt as ensureOpenMeldManagedProfileWorkspace, kt as resolveRegistryRuntimeAdapterCapabilitySnapshot, lt as ProjectBindingStoreUpdateRequiredError, mt as listProjectConnectionsWithStatus, ni as resolveAdaptiveHeartbeatIntervalMs, or as buildAuthenticatedControlPlaneResponse, pt as listProjectBindings, qn as DaemonServiceRunError, ri as resolveCatalogSyncIntervalMs, ti as pruneStaleLeases, ut as bindProject, vt as removeProjectConnection, wt as resolveLocalProjectConnectionForPath, xt as setDefaultProjectConnection } from "./prepare-provider-runtime-B0gBhnir.js";
|
|
4
|
+
import { a as resolveBaseUrl, c as resolveExplicitGatewayUrlOrThrow, f as getConfiguredDaemonDispatchLimits, i as normalizeGatewayBaseUrlOrNull, o as resolveBaseUrlOrNull, r as normalizeGatewayBaseUrl } from "./base-url-C0AOV6je.js";
|
|
5
5
|
import { D as openMeldRootDir, F as resolveOpenMeldRootDir, I as resolveOpenMeldServiceOwnedPathInput, P as resolveOpenMeldEnvPreset, h as isPublishedOpenMeldHome, o as accountsDir, y as normalizeAccountKey } from "./paths-De9xdA2h.js";
|
|
6
|
-
import { r as resolveAuthBaseUrl } from "./auth-url-
|
|
7
|
-
import { $s as sessionHistoryRequestFrameSchema,
|
|
8
|
-
import { C as assessLocalMachineFailure, E as createServiceSpawnPendingIssue, i as isOpenMeldLockError, u as resolveOpenMeldOrphanedLockIssue, x as resolveOpenMeldLaneDescriptor } from "./lock-
|
|
9
|
-
import { i as readProcessStartIdentity, n as isPreciseProcessStartIdentity, t as CURRENT_PROCESS_START_IDENTITY } from "./process-identity-
|
|
10
|
-
import "./openmeld-dev-environment-
|
|
6
|
+
import { r as resolveAuthBaseUrl } from "./auth-url-BVvdeI3F.js";
|
|
7
|
+
import { $S as sanitizeDispatchErrorSummary, $s as sessionHistoryRequestFrameSchema, AA as OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER, AF as formatLocalSetupActionDescription, Ax as runtimeTransportRegisterSessionRequestSchema, CM as daemonServiceLaneSchema, Cr as BETTER_AUTH_DEVICE_AUTHORIZATION_GRANT_TYPE, Cx as runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema, Dx as runtimeTransportOpenMeldToolsControlFramePayloadSchema, Er as betterAuthDeviceAuthorizationCodeResponseSchema, FA as localFolderPickerHelperProtocolResultSchema, Fb as OPENMELD_ADMISSION_EVIDENCE_HEADER, Gs as sessionHistoryAuditSchema, Hs as SESSION_HISTORY_CAPABILITY_HEADER, I as formatLocalMachineIssueMessage, IA as localFolderPickerHelperResultSchema, Ib as OPENMELD_EXECUTION_ADMISSION_HEADER, Iw as SPACE_WORK_HANDOFF_CAPABILITY_HEADER, Ix as runtimeTransportRouteCatalogChangedFramePayloadSchema, KA as COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY, MA as localFolderPickerDaemonFrameSchema, MF as installedLocalComponentsSnapshotSchema, Mr as betterAuthDeviceAuthorizationTokenResponseSchema, Nb as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, Nr as betterAuthSessionSnapshotResponseSchema, OE as OPENMELD_COMPUTER_CARE_HEADER, OF as formatLocalComponentsSummaryDescription, Ok as OPENMELD_REASONING_STREAM_HEADER, Ox as runtimeTransportOpenMeldToolsControlResultFramePayloadSchema, SF as resolveCliBinaryPlatform, So as cliJsonOutputEnvelopeSchema, Sx as runtimeTransportLocalAgentControlReadProfileWorkspaceFramePayloadSchema, Tr as betterAuthDeviceAuthorizationCodeRequestSchema, Tx as runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema, Wb as localWakeRouteWorkingFolderObservationSchema, Ws as SESSION_HISTORY_RUNTIME_CAPABILITY, Xs as sessionHistoryPolicySchema, YA as computerFileAccessDaemonFrameSchema, _v as LOCAL_EXECUTION_INPUT_CAPABILITY_HEADER, aA as localProjectControlDiscoverProjectsResponseSchema, aT as openMeldDaemonControlPlaneResponseSchema, b as serviceExecutionHostSnapshotSchema, d_ as serviceConnectionEvidenceEventSchema, dj as COMPUTER_POWER_CAPABILITY_HEADER, f_ as serviceConnectionEvidenceJournalSchema, g as serviceExecutionHostMethods, hx as runtimeTransportHeartbeatRequestSchema, jF as formatLocalSetupActionLabel, jr as betterAuthDeviceAuthorizationTokenRequestSchema, kA as LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY, kF as formatLocalComponentsSummaryLabel, kr as betterAuthDeviceAuthorizationErrorResponseSchema, qA as OPENMELD_RUNTIME_CAPABILITIES_HEADER, tA as localProjectControlDaemonFrameSchema, tc as sessionHistoryResultFrameSchema, v_ as SERVICE_CONNECTION_ID_QUERY_PARAMETER, vv as localExecutionInputFrameSchema, xv as localExecutionInputResponseSchema } from "./dist-DRUbg0Z2.js";
|
|
8
|
+
import { C as assessLocalMachineFailure, E as createServiceSpawnPendingIssue, i as isOpenMeldLockError, u as resolveOpenMeldOrphanedLockIssue, x as resolveOpenMeldLaneDescriptor } from "./lock-tTXKrDmv.js";
|
|
9
|
+
import { i as readProcessStartIdentity, n as isPreciseProcessStartIdentity, t as CURRENT_PROCESS_START_IDENTITY } from "./process-identity-BAAdyYwE.js";
|
|
10
|
+
import "./openmeld-dev-environment-IxwblJHw.js";
|
|
11
11
|
import { n as toErrorMessage$5, t as sleep } from "./dist-BLuEEVHh.js";
|
|
12
|
-
import { nr as DAEMON_STREAM_KEEPALIVE_PING, yn as createServiceConnectionEvidenceApi } from "./dist-
|
|
13
|
-
import { D as createAuthenticationError, E as buildHumanAuthenticationCard, F as resolveCurrentOpenMeldAccountContext, M as resolveAuthenticationReasonFromState, O as extractAuthenticationPromptAction, T as buildCommandAuthenticationPromptMessage$1, a as requireOpenMeldProfile, g as readDaemonCatalogSyncSignal, k as resolveAuthenticationGuidance, n as resolveRuntimeContext, o as resolveOpenMeldProfileOrNull, w as buildAuthenticationStatusLabel, y as clearAllSelectedOpenMeldProfileIds } from "./context-
|
|
12
|
+
import { nr as DAEMON_STREAM_KEEPALIVE_PING, yn as createServiceConnectionEvidenceApi } from "./dist-BnSaxfXN.js";
|
|
13
|
+
import { D as createAuthenticationError, E as buildHumanAuthenticationCard, F as resolveCurrentOpenMeldAccountContext, M as resolveAuthenticationReasonFromState, O as extractAuthenticationPromptAction, T as buildCommandAuthenticationPromptMessage$1, a as requireOpenMeldProfile, g as readDaemonCatalogSyncSignal, k as resolveAuthenticationGuidance, n as resolveRuntimeContext, o as resolveOpenMeldProfileOrNull, w as buildAuthenticationStatusLabel, y as clearAllSelectedOpenMeldProfileIds } from "./context-nHpubzcZ.js";
|
|
14
14
|
import { a as formatOpenMeldCliTextBlock, n as formatOpenMeldCliCommand, r as formatOpenMeldCliCommands, t as formatInlineOpenMeldCliCommands } from "./cli-entry-command-CR_9QU1i.js";
|
|
15
|
-
import { C as setAuthSession, O as ServiceAccountAdmissionError, T as withAdmittedServiceSession, _ as onAuthSessionCredentialAvailable, a as beginAuthSessionTransition, d as getAuthSessionState, i as assertAuthSessionMutationAvailable, o as buildStoredAuthSessionIdentity, s as clearAuthSession, v as onAuthSessionCredentialObservation } from "./auth-session-
|
|
15
|
+
import { C as setAuthSession, O as ServiceAccountAdmissionError, T as withAdmittedServiceSession, _ as onAuthSessionCredentialAvailable, a as beginAuthSessionTransition, d as getAuthSessionState, i as assertAuthSessionMutationAvailable, o as buildStoredAuthSessionIdentity, s as clearAuthSession, v as onAuthSessionCredentialObservation } from "./auth-session-VWQoz03f.js";
|
|
16
16
|
import { n as writeDaemonLocalStateFile, t as readDaemonLocalStateFile } from "./daemon-local-state-file-jOXuXrky.js";
|
|
17
17
|
import { t as isBinaryDistribution } from "./distribution-BDQT2ilb.js";
|
|
18
|
-
import { A as getDaemonStatus, G as withDaemonServiceReconcileLock, H as setDaemonServiceRuntimeState, I as readDaemonServiceRuntimeSnapshot, J as withDaemonServiceStopLock, K as withDaemonServiceRegistrationMutationLock, L as releaseDaemonServiceLifecycleLock, M as isDaemonServiceRuntimeHeartbeatStale, O as ensureDaemonControlPlaneToken, R as resolveDaemonControlPlaneEndpoint, S as daemonServiceRepairJournalPath, U as uninstallDaemon, _ as daemonRuntimeStateRootPath, a as DAEMON_SERVICE_RUNTIME_MODE_ENV, c as acquireDaemonServiceLifecycleLock, f as daemonLifecycleJournalPath, h as daemonRuntimeRootPath, i as DAEMON_SERVICE_RUNTIME_DETACHED_ENV, j as installDaemon, l as clearDaemonServiceRuntimeState, o as DAEMON_SERVICE_RUNTIME_STATE_SCHEMA, q as withDaemonServiceRunLock, z as resolveDaemonServiceRuntimeMetadata } from "./daemon-state-
|
|
18
|
+
import { A as getDaemonStatus, G as withDaemonServiceReconcileLock, H as setDaemonServiceRuntimeState, I as readDaemonServiceRuntimeSnapshot, J as withDaemonServiceStopLock, K as withDaemonServiceRegistrationMutationLock, L as releaseDaemonServiceLifecycleLock, M as isDaemonServiceRuntimeHeartbeatStale, O as ensureDaemonControlPlaneToken, R as resolveDaemonControlPlaneEndpoint, S as daemonServiceRepairJournalPath, U as uninstallDaemon, _ as daemonRuntimeStateRootPath, a as DAEMON_SERVICE_RUNTIME_MODE_ENV, c as acquireDaemonServiceLifecycleLock, f as daemonLifecycleJournalPath, h as daemonRuntimeRootPath, i as DAEMON_SERVICE_RUNTIME_DETACHED_ENV, j as installDaemon, l as clearDaemonServiceRuntimeState, o as DAEMON_SERVICE_RUNTIME_STATE_SCHEMA, q as withDaemonServiceRunLock, z as resolveDaemonServiceRuntimeMetadata } from "./daemon-state-DjfcQFlF.js";
|
|
19
19
|
import { a as outJsonLine, n as sanitizeTerminalDisplayText, o as outLine, t as createPresenter } from "./presenter-DiP7Yh2y.js";
|
|
20
|
-
import { c as buildRequestAuthHeaders, i as AuthRequestCredentialError, l as canAttachAuthTokenToRequest, o as buildOpenMeldProfileRequestHeadersWithAuth, p as deriveAuthBaseUrlFromGatewayUrl, t as createCliApiClientFoundation, u as fingerprintRequestAuthorization } from "./api-client-foundation-
|
|
21
|
-
import { a as upsertDaemonServiceContract, i as readDaemonServiceContract, n as isDaemonServiceContractIdentityReusable, t as clearDaemonServiceContract } from "./daemon-service-contract-
|
|
22
|
-
import { i as writeDaemonRuntimeLease } from "./daemon-runtime-lease-
|
|
23
|
-
import { t as resolveOpenMeldEnvironmentTarget } from "./openmeld-environment-target-
|
|
24
|
-
import { t as admitServiceAccountStop } from "./service-account-authorization-
|
|
25
|
-
import { S as requestLocalDaemonShutdown, c as runWithDaemonLifecycleCommandJournal, d as compareSemver, i as readLatestDaemonLifecycleOriginEvent, l as OPENMELD_VERSION, n as formatDaemonLifecycleOriginSummary, o as resolveRecentDaemonSignalStopCause, r as readLatestDaemonLifecycleConnectionStateEvent, s as runDaemonServiceManagerAction, t as emitDaemonLifecycleEvent, w as sendLocalDaemonControlPlaneRequest, y as LocalDaemonControlPlaneClientError } from "./daemon-lifecycle-journal-
|
|
26
|
-
import { A as prepareDaemonServiceBundle, G as readManagedCliInstallation, M as resolveAlignedDaemonActiveBundleEntryPath, N as resolveDaemonBundleEntryPathFromState, a as resolveDaemonRuntimeState, b as cleanupInactiveDaemonServiceBundles, f as listDaemonOwnedProcesses, h as resolveDaemonBundleIdFromEntryPath, i as readCurrentObservedDaemonRuntimeStatus, j as readDaemonActiveBundleState, n as getEffectiveDaemonRuntimeStatus, o as resolveDaemonServiceManagerForRuntimeState, p as extractDaemonCommandEntryPath, r as readCurrentDaemonRuntimeContext, s as waitForDaemonSystemServiceToStop, t as clearDaemonRuntimeStateIfDefinitelyStopped, u as cleanupLegacySharedDaemonServiceState, v as isOpenMeldManagedBinaryPath } from "./daemon-service-runtime-
|
|
27
|
-
import { r as readWindowsManagedCliInstallation } from "./windows-managed-install-
|
|
28
|
-
import { S as resolveDaemonServiceManager, _ as readDaemonServiceJobCrashExitCode, a as disableDaemonServiceAutostartIfConfigured, c as getDaemonSystemServiceLogPath, f as isDaemonServiceJobSpawnPending, o as formatDaemonServiceJobDiagnosticsEvidence, s as getDaemonServiceLaunchdLabel } from "./daemon-service-manager-
|
|
29
|
-
import { A as DEFAULT_RECONNECT_DELAY_MS, C as CONTROLLED_SHUTDOWN_SOCKET_CLOSE_TIMEOUT_MS, D as DAEMON_STREAM_CONNECT_TIMEOUT_MS, F as REGISTER_RESPONSE_TIMEOUT_MS, I as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS, L as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS, M as MAX_RECONNECT_DELAY_MS, N as PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS, O as DAEMON_STREAM_KEEPALIVE_INTERVAL_MS, P as PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS, R as RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS, _ as toErrorMessage$6, b as CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS, c as normalizeHeartbeatIntervalMs, d as normalizeText$1, f as nowIsoString, i as resolvePreferredDaemonDeviceId, j as HEARTBEAT_RESPONSE_TIMEOUT_MS, k as DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS, n as ensureDaemonRuntimePaths, r as resolveDaemonDeviceId, s as emitRunLine, u as normalizeOptionalText$1, v as warnDaemonEvent, w as DAEMON_RUNTIME_CONTRACT_EPOCH, x as CONTROLLED_SHUTDOWN_REQUEST_TIMEOUT_MS, y as CATALOG_SYNC_RETRY_INTERVAL_MS } from "./daemon-device-id-
|
|
30
|
-
import { $ as buildDaemonServiceDependencyTitle, At as DAEMON_SERVICE_FULL_ALIGNMENT_ANOMALIES, C as formatDaemonServiceRefreshReliabilityMessage, Ct as ensureDaemonRuntimeContractState, D as writeDaemonStartFailureState, Dt as isVersionDowngrade, E as clearDaemonStartFailureState, Et as resolveDaemonServiceAlignmentDecision, Ft as resolveCurrentDaemonExpectedVersion, It as resolveServiceUpdateUrgency, Lt as assessServerRequiredVersion, Nt as classifyDaemonServiceRunStartability, Pt as classifyDaemonServiceWakeability, Q as buildDaemonServiceDependencySummary, Rt as describeServerRequiredVersionUnavailableReason, S as buildDaemonServiceUpdateRequiredNextStep, Tt as buildDaemonServiceTargetSpec, Ut as ensureDaemonSystemServiceCommandFiles, Vt as assessCliUpdate, W as resolveLocalServiceDemand, Wt as resolveInstalledDaemonSystemServiceCommandSpec, X as buildDaemonServiceDependencyMeaning, Y as buildDaemonServiceDependencyDetails, Z as buildDaemonServiceDependencyNextStep, _t as readCurrentDaemonOwnerSnapshot, a as isDaemonInventoryRunningAndStartReady$1, bt as summarizeDaemonOwnerSnapshot, c as waitForSystemServiceStartup$1, ct as writeOpenMeldToolsMaintenancePolicy, d as captureDaemonServiceEvidenceBestEffort, et as resolveDaemonServiceDependencyDiagnostics, f as formatDaemonFailureContextText, ft as uninstallDaemonServiceUpdateWorker, g as resolveServiceReadiness, gt as hasActiveDaemonOwners, h as resolveDaemonStatusAuthenticationAttention, ht as formatDaemonOwnerSummaryLabel, i as runDaemonServiceLifecycle, jt as DAEMON_SERVICE_REPAIR_ANOMALIES, kt as DAEMON_SERVICE_AUTO_HEAL_ANOMALIES, l as startDaemonSystemServiceWithAutoRepair, lt as ensureDaemonServiceMaintenanceInstalled, m as resolveDaemonStatusAttention, mt as buildDaemonOwnerSnapshotFromObservedState, n as scheduleDaemonServiceUpdate, nt as createOpenMeldToolsUpdateCoordinator, o as isSystemServiceStartupTimeoutError, ot as readOpenMeldToolsMaintenancePolicy, p as resolveDaemonStatusSnapshot, pt as inspectDaemonServiceInventory, r as DaemonServiceLifecycleDrainTimeoutError, s as resolveSystemServiceStartupWaitMs, st as resolveOpenMeldToolsMaintenanceProjection, tt as writeDaemonServiceContract, u as captureDaemonServiceEvidence, v as buildDaemonServiceRefreshNextStep, vt as resolveDaemonStopStrategy, w as formatDaemonServiceUpdateRequiredMessage, wt as readDaemonRuntimeContractRepairReport, x as buildDaemonServiceStatusReadOnlyDetail, y as buildDaemonServiceRefreshPromptMessage, yt as resolveStoppedContractWriteBlockedReason } from "./daemon-service-update-coordinator-
|
|
31
|
-
import { Ct as buildAgentOverviewFromContract, Q as getCommandEntryContract, ht as validateDaemonControlTargetInput, t as createAuthLoginGuideError } from "./dual-view-guide-catalog-
|
|
32
|
-
import { a as formatDaemonServiceDowngradeBlockedRecommendation, d as formatDaemonServiceMissingStatus, f as getDaemonDowngradeBlockedTitle, g as canUseInteractivePrompts, h as resolveOpenMeldToolsUpdateOperationProjection, l as formatDaemonServiceMissingRunStepOne, n as resolveElapsedTimeMs, o as formatDaemonServiceMissingAction, r as formatDaemonDowngradeBlockedNextStep, s as formatDaemonServiceMissingMeaning, t as formatElapsedTime, u as formatDaemonServiceMissingRunStepTwo } from "./elapsed-time-
|
|
33
|
-
import { E as queryOpenCodeReadOnly, K as buildRepositoryFingerprint, W as createServiceGitEnvironment, _ as sendDaemonFrame, at as emitDaemonDispatchJournalEvent, ct as readComputerFileAccessPolicy, dt as isSameOrDescendantPath, g as parseDaemonFrame, h as handleDaemonTransportFrame, it as resolveNextRuntimeAgentControllerReportSyncAtMs, k as resolveOpenCodeDatabasePath, lt as resolveComputerFileAccessStorePath, m as createCodexJsonRpcClient, n as assertDispatchOwnedRuntimeServiceMutationAllowed, st as ComputerFileAccessStoreError, ut as updateComputerFileAccessPolicy, v as collectObservedSessionWorkingDirectories } from "./dispatch-owned-runtime-
|
|
34
|
-
import { n as createExecutionHostClient, t as ExecutionHostError } from "./channel-
|
|
35
|
-
import { t as childExecutionHostChannel } from "./process-channel-
|
|
36
|
-
import { m as hashBundledSkillAssets, p as computeDirectoryContentHash, u as loadSelectedSkillAssets } from "./state-
|
|
37
|
-
import { n as collectSkillsReadinessSnapshot } from "./installation-inventory-
|
|
20
|
+
import { c as buildRequestAuthHeaders, i as AuthRequestCredentialError, l as canAttachAuthTokenToRequest, o as buildOpenMeldProfileRequestHeadersWithAuth, p as deriveAuthBaseUrlFromGatewayUrl, t as createCliApiClientFoundation, u as fingerprintRequestAuthorization } from "./api-client-foundation-Dqxsa_3V.js";
|
|
21
|
+
import { a as upsertDaemonServiceContract, i as readDaemonServiceContract, n as isDaemonServiceContractIdentityReusable, t as clearDaemonServiceContract } from "./daemon-service-contract-Cik2oi9W.js";
|
|
22
|
+
import { i as writeDaemonRuntimeLease } from "./daemon-runtime-lease-y8RoGvTS.js";
|
|
23
|
+
import { t as resolveOpenMeldEnvironmentTarget } from "./openmeld-environment-target-BnzzM5fh.js";
|
|
24
|
+
import { t as admitServiceAccountStop } from "./service-account-authorization-CrbUG0-l.js";
|
|
25
|
+
import { S as requestLocalDaemonShutdown, c as runWithDaemonLifecycleCommandJournal, d as compareSemver, i as readLatestDaemonLifecycleOriginEvent, l as OPENMELD_VERSION, n as formatDaemonLifecycleOriginSummary, o as resolveRecentDaemonSignalStopCause, r as readLatestDaemonLifecycleConnectionStateEvent, s as runDaemonServiceManagerAction, t as emitDaemonLifecycleEvent, w as sendLocalDaemonControlPlaneRequest, y as LocalDaemonControlPlaneClientError } from "./daemon-lifecycle-journal-DbRJ216n.js";
|
|
26
|
+
import { A as prepareDaemonServiceBundle, G as readManagedCliInstallation, M as resolveAlignedDaemonActiveBundleEntryPath, N as resolveDaemonBundleEntryPathFromState, a as resolveDaemonRuntimeState, b as cleanupInactiveDaemonServiceBundles, f as listDaemonOwnedProcesses, h as resolveDaemonBundleIdFromEntryPath, i as readCurrentObservedDaemonRuntimeStatus, j as readDaemonActiveBundleState, n as getEffectiveDaemonRuntimeStatus, o as resolveDaemonServiceManagerForRuntimeState, p as extractDaemonCommandEntryPath, r as readCurrentDaemonRuntimeContext, s as waitForDaemonSystemServiceToStop, t as clearDaemonRuntimeStateIfDefinitelyStopped, u as cleanupLegacySharedDaemonServiceState, v as isOpenMeldManagedBinaryPath } from "./daemon-service-runtime-BhIfwyN9.js";
|
|
27
|
+
import { r as readWindowsManagedCliInstallation } from "./windows-managed-install-BDPy9F0T.js";
|
|
28
|
+
import { S as resolveDaemonServiceManager, _ as readDaemonServiceJobCrashExitCode, a as disableDaemonServiceAutostartIfConfigured, c as getDaemonSystemServiceLogPath, f as isDaemonServiceJobSpawnPending, o as formatDaemonServiceJobDiagnosticsEvidence, s as getDaemonServiceLaunchdLabel } from "./daemon-service-manager-BnMEtAYp.js";
|
|
29
|
+
import { A as DEFAULT_RECONNECT_DELAY_MS, C as CONTROLLED_SHUTDOWN_SOCKET_CLOSE_TIMEOUT_MS, D as DAEMON_STREAM_CONNECT_TIMEOUT_MS, F as REGISTER_RESPONSE_TIMEOUT_MS, I as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS, L as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS, M as MAX_RECONNECT_DELAY_MS, N as PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS, O as DAEMON_STREAM_KEEPALIVE_INTERVAL_MS, P as PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS, R as RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS, _ as toErrorMessage$6, b as CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS, c as normalizeHeartbeatIntervalMs, d as normalizeText$1, f as nowIsoString, i as resolvePreferredDaemonDeviceId, j as HEARTBEAT_RESPONSE_TIMEOUT_MS, k as DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS, n as ensureDaemonRuntimePaths, r as resolveDaemonDeviceId, s as emitRunLine, u as normalizeOptionalText$1, v as warnDaemonEvent, w as DAEMON_RUNTIME_CONTRACT_EPOCH, x as CONTROLLED_SHUTDOWN_REQUEST_TIMEOUT_MS, y as CATALOG_SYNC_RETRY_INTERVAL_MS } from "./daemon-device-id-CefXWPiF.js";
|
|
30
|
+
import { $ as buildDaemonServiceDependencyTitle, At as DAEMON_SERVICE_FULL_ALIGNMENT_ANOMALIES, C as formatDaemonServiceRefreshReliabilityMessage, Ct as ensureDaemonRuntimeContractState, D as writeDaemonStartFailureState, Dt as isVersionDowngrade, E as clearDaemonStartFailureState, Et as resolveDaemonServiceAlignmentDecision, Ft as resolveCurrentDaemonExpectedVersion, It as resolveServiceUpdateUrgency, Lt as assessServerRequiredVersion, Nt as classifyDaemonServiceRunStartability, Pt as classifyDaemonServiceWakeability, Q as buildDaemonServiceDependencySummary, Rt as describeServerRequiredVersionUnavailableReason, S as buildDaemonServiceUpdateRequiredNextStep, Tt as buildDaemonServiceTargetSpec, Ut as ensureDaemonSystemServiceCommandFiles, Vt as assessCliUpdate, W as resolveLocalServiceDemand, Wt as resolveInstalledDaemonSystemServiceCommandSpec, X as buildDaemonServiceDependencyMeaning, Y as buildDaemonServiceDependencyDetails, Z as buildDaemonServiceDependencyNextStep, _t as readCurrentDaemonOwnerSnapshot, a as isDaemonInventoryRunningAndStartReady$1, bt as summarizeDaemonOwnerSnapshot, c as waitForSystemServiceStartup$1, ct as writeOpenMeldToolsMaintenancePolicy, d as captureDaemonServiceEvidenceBestEffort, et as resolveDaemonServiceDependencyDiagnostics, f as formatDaemonFailureContextText, ft as uninstallDaemonServiceUpdateWorker, g as resolveServiceReadiness, gt as hasActiveDaemonOwners, h as resolveDaemonStatusAuthenticationAttention, ht as formatDaemonOwnerSummaryLabel, i as runDaemonServiceLifecycle, jt as DAEMON_SERVICE_REPAIR_ANOMALIES, kt as DAEMON_SERVICE_AUTO_HEAL_ANOMALIES, l as startDaemonSystemServiceWithAutoRepair, lt as ensureDaemonServiceMaintenanceInstalled, m as resolveDaemonStatusAttention, mt as buildDaemonOwnerSnapshotFromObservedState, n as scheduleDaemonServiceUpdate, nt as createOpenMeldToolsUpdateCoordinator, o as isSystemServiceStartupTimeoutError, ot as readOpenMeldToolsMaintenancePolicy, p as resolveDaemonStatusSnapshot, pt as inspectDaemonServiceInventory, r as DaemonServiceLifecycleDrainTimeoutError, s as resolveSystemServiceStartupWaitMs, st as resolveOpenMeldToolsMaintenanceProjection, tt as writeDaemonServiceContract, u as captureDaemonServiceEvidence, v as buildDaemonServiceRefreshNextStep, vt as resolveDaemonStopStrategy, w as formatDaemonServiceUpdateRequiredMessage, wt as readDaemonRuntimeContractRepairReport, x as buildDaemonServiceStatusReadOnlyDetail, y as buildDaemonServiceRefreshPromptMessage, yt as resolveStoppedContractWriteBlockedReason } from "./daemon-service-update-coordinator-DUsnRsrg.js";
|
|
31
|
+
import { Ct as buildAgentOverviewFromContract, Q as getCommandEntryContract, ht as validateDaemonControlTargetInput, t as createAuthLoginGuideError } from "./dual-view-guide-catalog-BOopzFeg.js";
|
|
32
|
+
import { a as formatDaemonServiceDowngradeBlockedRecommendation, d as formatDaemonServiceMissingStatus, f as getDaemonDowngradeBlockedTitle, g as canUseInteractivePrompts, h as resolveOpenMeldToolsUpdateOperationProjection, l as formatDaemonServiceMissingRunStepOne, n as resolveElapsedTimeMs, o as formatDaemonServiceMissingAction, r as formatDaemonDowngradeBlockedNextStep, s as formatDaemonServiceMissingMeaning, t as formatElapsedTime, u as formatDaemonServiceMissingRunStepTwo } from "./elapsed-time-Dx4ZdxI7.js";
|
|
33
|
+
import { E as queryOpenCodeReadOnly, K as buildRepositoryFingerprint, W as createServiceGitEnvironment, _ as sendDaemonFrame, at as emitDaemonDispatchJournalEvent, ct as readComputerFileAccessPolicy, dt as isSameOrDescendantPath, g as parseDaemonFrame, h as handleDaemonTransportFrame, it as resolveNextRuntimeAgentControllerReportSyncAtMs, k as resolveOpenCodeDatabasePath, lt as resolveComputerFileAccessStorePath, m as createCodexJsonRpcClient, n as assertDispatchOwnedRuntimeServiceMutationAllowed, st as ComputerFileAccessStoreError, ut as updateComputerFileAccessPolicy, v as collectObservedSessionWorkingDirectories } from "./dispatch-owned-runtime-Bcz_DYAR.js";
|
|
34
|
+
import { n as createExecutionHostClient, t as ExecutionHostError } from "./channel-5TzyWtoj.js";
|
|
35
|
+
import { t as childExecutionHostChannel } from "./process-channel-ehx69w9I.js";
|
|
36
|
+
import { m as hashBundledSkillAssets, p as computeDirectoryContentHash, u as loadSelectedSkillAssets } from "./state-CIM8ibMZ.js";
|
|
37
|
+
import { n as collectSkillsReadinessSnapshot } from "./installation-inventory-Ds2Q1XoG.js";
|
|
38
38
|
import { createHash, randomUUID } from "node:crypto";
|
|
39
39
|
import { homedir } from "node:os";
|
|
40
40
|
import { delimiter, dirname, isAbsolute, join, resolve } from "node:path";
|
|
@@ -4227,6 +4227,8 @@ function resolveDaemonCapabilitiesFromAdapterIds(input) {
|
|
|
4227
4227
|
interrupt: true,
|
|
4228
4228
|
manageInstallations: true,
|
|
4229
4229
|
manageInstallationsSafely: true,
|
|
4230
|
+
updateInstallations: true,
|
|
4231
|
+
setupInstallations: true,
|
|
4230
4232
|
refreshCatalog: true,
|
|
4231
4233
|
resumeControllerConversation: true,
|
|
4232
4234
|
setEnabled: true,
|
|
@@ -6455,6 +6457,7 @@ async function runDaemonSocketSession(input) {
|
|
|
6455
6457
|
let routeCatalogSyncInFlight = false;
|
|
6456
6458
|
let heartbeatTimer = null;
|
|
6457
6459
|
let heartbeatTimerDueAtMs = null;
|
|
6460
|
+
const transportEnded = Promise.withResolvers();
|
|
6458
6461
|
const keepalive = createDaemonStreamKeepalive({
|
|
6459
6462
|
onPongTimeout: () => {
|
|
6460
6463
|
emitRunLine({
|
|
@@ -6466,7 +6469,7 @@ async function runDaemonSocketSession(input) {
|
|
|
6466
6469
|
daemonSessionId: input.daemonSessionId
|
|
6467
6470
|
}
|
|
6468
6471
|
});
|
|
6469
|
-
|
|
6472
|
+
terminateForReconnect("keepalive_pong_timeout");
|
|
6470
6473
|
},
|
|
6471
6474
|
sendPing: () => {
|
|
6472
6475
|
if (closed) return false;
|
|
@@ -6543,14 +6546,42 @@ async function runDaemonSocketSession(input) {
|
|
|
6543
6546
|
}))
|
|
6544
6547
|
});
|
|
6545
6548
|
};
|
|
6549
|
+
function retireTransport(error) {
|
|
6550
|
+
if (closed) return;
|
|
6551
|
+
closed = true;
|
|
6552
|
+
admissionHeartbeatPending = false;
|
|
6553
|
+
clearHeartbeatTimer();
|
|
6554
|
+
keepalive.stop();
|
|
6555
|
+
clearCatalogSyncSignalTimer();
|
|
6556
|
+
hostLink.detach().catch(reportHostFailure);
|
|
6557
|
+
input.attachRouteCatalogSyncInvoker?.(null);
|
|
6558
|
+
waiters.registerRejecter?.(error);
|
|
6559
|
+
waiters.heartbeatRejecter?.(error);
|
|
6560
|
+
failPendingRouteCatalogSyncRequests(error);
|
|
6561
|
+
transportEnded.resolve(error);
|
|
6562
|
+
}
|
|
6563
|
+
function terminateForReconnect(reasonCode) {
|
|
6564
|
+
if (closed) return;
|
|
6565
|
+
retireTransport(new DaemonServiceRunError({
|
|
6566
|
+
code: "daemon.run.socket_closed",
|
|
6567
|
+
message: `daemon stream unavailable (${reasonCode})`
|
|
6568
|
+
}));
|
|
6569
|
+
warnDaemonEvent("[openmeld.daemon.reconnect_required]", {
|
|
6570
|
+
event: "cli.daemon.reconnect_required",
|
|
6571
|
+
reasonCode,
|
|
6572
|
+
connectionGeneration: activeConnectionGeneration,
|
|
6573
|
+
daemonSessionId: input.daemonSessionId
|
|
6574
|
+
});
|
|
6575
|
+
input.socket.terminate();
|
|
6576
|
+
}
|
|
6546
6577
|
const waitForClose = new Promise((resolve) => {
|
|
6547
6578
|
input.socket.onClose((code, reason) => {
|
|
6548
|
-
closed = true;
|
|
6549
|
-
admissionHeartbeatPending = false;
|
|
6550
|
-
clearHeartbeatTimer();
|
|
6551
|
-
hostLink.detach().catch(reportHostFailure);
|
|
6552
6579
|
closeCode = code;
|
|
6553
6580
|
closeReason = normalizeText$1(reason) || "closed";
|
|
6581
|
+
retireTransport(new DaemonServiceRunError({
|
|
6582
|
+
code: "daemon.run.socket_closed",
|
|
6583
|
+
message: `daemon stream closed (code=${String(closeCode)}, reason=${closeReason})`
|
|
6584
|
+
}));
|
|
6554
6585
|
const closedAtMs = Date.now();
|
|
6555
6586
|
const durationMs = Math.max(0, closedAtMs - socketConnectedAtMs);
|
|
6556
6587
|
const disconnectClass = classifyDaemonSocketDisconnect({
|
|
@@ -6575,13 +6606,6 @@ async function runDaemonSocketSession(input) {
|
|
|
6575
6606
|
socketDisconnectedAtMs: closedAtMs
|
|
6576
6607
|
}
|
|
6577
6608
|
});
|
|
6578
|
-
const closeError = new DaemonServiceRunError({
|
|
6579
|
-
code: "daemon.run.socket_closed",
|
|
6580
|
-
message: `daemon stream closed (code=${String(closeCode)}, reason=${closeReason})`
|
|
6581
|
-
});
|
|
6582
|
-
waiters.registerRejecter?.(closeError);
|
|
6583
|
-
waiters.heartbeatRejecter?.(closeError);
|
|
6584
|
-
failPendingRouteCatalogSyncRequests(closeError);
|
|
6585
6609
|
resolve();
|
|
6586
6610
|
});
|
|
6587
6611
|
});
|
|
@@ -6797,7 +6821,7 @@ async function runDaemonSocketSession(input) {
|
|
|
6797
6821
|
} catch (error) {
|
|
6798
6822
|
if (recordHeartbeatFailure(error) && !options.requireAcknowledgement) {
|
|
6799
6823
|
admissionHeartbeatPending = false;
|
|
6800
|
-
|
|
6824
|
+
terminateForReconnect("heartbeat_failed");
|
|
6801
6825
|
return;
|
|
6802
6826
|
}
|
|
6803
6827
|
updateHeartbeatInterval({
|
|
@@ -7418,6 +7442,7 @@ async function runDaemonSocketSession(input) {
|
|
|
7418
7442
|
code: "daemon.run.socket_error",
|
|
7419
7443
|
text: `daemon stream socket error: ${toErrorMessage$6(error)}`
|
|
7420
7444
|
});
|
|
7445
|
+
terminateForReconnect("socket_error");
|
|
7421
7446
|
});
|
|
7422
7447
|
const handleOpenMeldToolsControlFrame = (frame) => {
|
|
7423
7448
|
if (frame.code !== "daemon.openmeld_tools_control.request") return false;
|
|
@@ -7471,7 +7496,7 @@ async function runDaemonSocketSession(input) {
|
|
|
7471
7496
|
});
|
|
7472
7497
|
return true;
|
|
7473
7498
|
};
|
|
7474
|
-
|
|
7499
|
+
const handleMessage = (raw) => {
|
|
7475
7500
|
if (raw === "pong") {
|
|
7476
7501
|
keepalive.observePong();
|
|
7477
7502
|
return;
|
|
@@ -7559,6 +7584,9 @@ async function runDaemonSocketSession(input) {
|
|
|
7559
7584
|
presenter: input.presenter,
|
|
7560
7585
|
waiters
|
|
7561
7586
|
})) hostLink.forward(parsedFrame);
|
|
7587
|
+
};
|
|
7588
|
+
input.socket.onMessage((raw) => {
|
|
7589
|
+
if (!closed) handleMessage(raw);
|
|
7562
7590
|
});
|
|
7563
7591
|
const registerResponse = await registerDaemonSession(createRouteCatalogFromMutableState(input.routeCatalogState));
|
|
7564
7592
|
applyAcceptedLeases({
|
|
@@ -7605,15 +7633,16 @@ async function runDaemonSocketSession(input) {
|
|
|
7605
7633
|
persistAcceptedRouteCatalogCache,
|
|
7606
7634
|
registerRejected: registerResponse.rejectedProfiles.length > 0,
|
|
7607
7635
|
scheduleCatalogSyncNext,
|
|
7608
|
-
shutdownRequested: input.shutdownRequested
|
|
7636
|
+
shutdownRequested: input.shutdownRequested,
|
|
7637
|
+
transportEnded: transportEnded.promise
|
|
7609
7638
|
});
|
|
7610
7639
|
const bootstrapShutdownStopCause = bootstrap.shutdownStopCause;
|
|
7611
7640
|
if (!bootstrapShutdownStopCause) {
|
|
7612
7641
|
latestCatalogSyncSignalMarker = resolveCatalogSyncSignalMarker(bootstrap.initialCatalogSyncSignal);
|
|
7613
7642
|
scheduleCatalogSyncSignalPoll();
|
|
7614
7643
|
await sendHeartbeat();
|
|
7615
|
-
keepalive.start();
|
|
7616
7644
|
}
|
|
7645
|
+
keepalive.start();
|
|
7617
7646
|
async function finishControlledShutdown(stopCause) {
|
|
7618
7647
|
acceptingDispatches = false;
|
|
7619
7648
|
shutdownStopCause = stopCause;
|
|
@@ -7626,7 +7655,7 @@ async function runDaemonSocketSession(input) {
|
|
|
7626
7655
|
reasonCode: "controlled_stop",
|
|
7627
7656
|
detailCode: stopCause
|
|
7628
7657
|
};
|
|
7629
|
-
await input.executionHost.call("beginDrain", {});
|
|
7658
|
+
await input.executionHost.call("beginDrain", {}).catch(input.failHostShutdown);
|
|
7630
7659
|
clearHeartbeatTimer();
|
|
7631
7660
|
emitRunLine({
|
|
7632
7661
|
presenter: input.presenter,
|
|
@@ -7655,8 +7684,10 @@ async function runDaemonSocketSession(input) {
|
|
|
7655
7684
|
code: "daemon.run.controlled_shutdown_draining",
|
|
7656
7685
|
text: "Waiting for accepted local work to finish in the execution host."
|
|
7657
7686
|
});
|
|
7658
|
-
await input.
|
|
7659
|
-
|
|
7687
|
+
await Promise.race([input.drainExecutionHost(), transportEnded.promise.then((error) => {
|
|
7688
|
+
throw error;
|
|
7689
|
+
})]);
|
|
7690
|
+
const result = await input.executionHost.call("settleResults", {}).catch(input.failHostShutdown);
|
|
7660
7691
|
if (finalHeartbeatError) throw finalHeartbeatError;
|
|
7661
7692
|
if (result.status === "connection_closed") return false;
|
|
7662
7693
|
if (result.status === "timeout") emitRunLine({
|
|
@@ -7687,14 +7718,17 @@ async function runDaemonSocketSession(input) {
|
|
|
7687
7718
|
const sessionExit = bootstrapShutdownStopCause ? {
|
|
7688
7719
|
kind: "shutdown_requested",
|
|
7689
7720
|
stopCause: bootstrapShutdownStopCause
|
|
7690
|
-
} : await Promise.race([
|
|
7721
|
+
} : await Promise.race([transportEnded.promise.then((error) => ({
|
|
7722
|
+
kind: "transport_ended",
|
|
7723
|
+
error
|
|
7724
|
+
})), input.shutdownRequested?.then((stopCause) => ({
|
|
7691
7725
|
kind: "shutdown_requested",
|
|
7692
7726
|
stopCause
|
|
7693
7727
|
})) ?? new Promise(() => void 0)]);
|
|
7694
7728
|
try {
|
|
7695
7729
|
if (sessionExit.kind === "shutdown_requested" && !closed) controlledShutdownCompleted = await finishControlledShutdown(sessionExit.stopCause);
|
|
7696
7730
|
} catch (error) {
|
|
7697
|
-
input.socket.terminate();
|
|
7731
|
+
if (!closed) input.socket.terminate();
|
|
7698
7732
|
throw error;
|
|
7699
7733
|
} finally {
|
|
7700
7734
|
hostLink.detach().catch(reportHostFailure);
|
|
@@ -7704,6 +7738,7 @@ async function runDaemonSocketSession(input) {
|
|
|
7704
7738
|
clearCatalogSyncSignalTimer();
|
|
7705
7739
|
}
|
|
7706
7740
|
if (controlledShutdownCompleted || closeCode === 1e3 && closeReason === "shutdown") return;
|
|
7741
|
+
if (sessionExit.kind === "transport_ended") throw sessionExit.error;
|
|
7707
7742
|
throw new DaemonServiceRunError({
|
|
7708
7743
|
code: "daemon.run.socket_closed",
|
|
7709
7744
|
message: `daemon stream closed (code=${String(closeCode)}, reason=${closeReason})`
|
|
@@ -7731,9 +7766,10 @@ async function completeRegisteredSessionBootstrap(input) {
|
|
|
7731
7766
|
syncIntervalMs: resolveCatalogSyncIntervalMs({ heartbeatIntervalMs: input.heartbeatIntervalMs })
|
|
7732
7767
|
});
|
|
7733
7768
|
if (bootstrapPlan.persistCache) {
|
|
7734
|
-
const persistence = await
|
|
7769
|
+
const persistence = await awaitOperationOrSessionExit({
|
|
7735
7770
|
operation: input.persistAcceptedRouteCatalogCache(),
|
|
7736
|
-
shutdownRequested: input.shutdownRequested
|
|
7771
|
+
shutdownRequested: input.shutdownRequested,
|
|
7772
|
+
transportEnded: input.transportEnded
|
|
7737
7773
|
});
|
|
7738
7774
|
if (persistence.kind === "shutdown_requested") return {
|
|
7739
7775
|
initialCatalogSyncSignal: null,
|
|
@@ -7742,9 +7778,10 @@ async function completeRegisteredSessionBootstrap(input) {
|
|
|
7742
7778
|
}
|
|
7743
7779
|
input.scheduleCatalogSyncNext(bootstrapPlan.nextSyncDelayMs);
|
|
7744
7780
|
}
|
|
7745
|
-
const catalogSignal = await
|
|
7781
|
+
const catalogSignal = await awaitOperationOrSessionExit({
|
|
7746
7782
|
operation: readDaemonCatalogSyncSignal().catch(() => null),
|
|
7747
|
-
shutdownRequested: input.shutdownRequested
|
|
7783
|
+
shutdownRequested: input.shutdownRequested,
|
|
7784
|
+
transportEnded: input.transportEnded
|
|
7748
7785
|
});
|
|
7749
7786
|
if (catalogSignal.kind === "shutdown_requested") return {
|
|
7750
7787
|
initialCatalogSyncSignal: null,
|
|
@@ -7755,18 +7792,20 @@ async function completeRegisteredSessionBootstrap(input) {
|
|
|
7755
7792
|
shutdownStopCause: null
|
|
7756
7793
|
};
|
|
7757
7794
|
}
|
|
7758
|
-
async function
|
|
7759
|
-
|
|
7760
|
-
|
|
7761
|
-
|
|
7762
|
-
|
|
7763
|
-
|
|
7764
|
-
|
|
7765
|
-
|
|
7766
|
-
|
|
7767
|
-
|
|
7768
|
-
|
|
7769
|
-
|
|
7795
|
+
async function awaitOperationOrSessionExit(input) {
|
|
7796
|
+
return await Promise.race([
|
|
7797
|
+
input.operation.then((value) => ({
|
|
7798
|
+
kind: "completed",
|
|
7799
|
+
value
|
|
7800
|
+
})),
|
|
7801
|
+
input.transportEnded.then((error) => {
|
|
7802
|
+
throw error;
|
|
7803
|
+
}),
|
|
7804
|
+
input.shutdownRequested?.then((stopCause) => ({
|
|
7805
|
+
kind: "shutdown_requested",
|
|
7806
|
+
stopCause
|
|
7807
|
+
})) ?? new Promise(() => void 0)
|
|
7808
|
+
]);
|
|
7770
7809
|
}
|
|
7771
7810
|
async function waitForPromiseDeadline(input) {
|
|
7772
7811
|
let timeout = null;
|
|
@@ -8452,15 +8491,29 @@ async function buildDaemonStreamRequestHeaders(input) {
|
|
|
8452
8491
|
}
|
|
8453
8492
|
function createControlledShutdownCoordinator(input) {
|
|
8454
8493
|
let activeSessionShutdownResolver = null;
|
|
8494
|
+
let hostDrain = null;
|
|
8455
8495
|
let shutdownAttempt = null;
|
|
8456
8496
|
const requestServiceStop = (stopCause) => {
|
|
8457
8497
|
if (input.isStopRequested()) return;
|
|
8458
8498
|
input.markStopping();
|
|
8459
8499
|
Promise.resolve(stopCause).then((resolvedStopCause) => activeSessionShutdownResolver?.(resolvedStopCause), () => activeSessionShutdownResolver?.("unknown"));
|
|
8460
8500
|
};
|
|
8501
|
+
const failHostShutdown = (error) => {
|
|
8502
|
+
shutdownAttempt?.reject(error);
|
|
8503
|
+
throw error;
|
|
8504
|
+
};
|
|
8461
8505
|
return {
|
|
8506
|
+
failHostShutdown,
|
|
8507
|
+
waitForDrain() {
|
|
8508
|
+
hostDrain ??= input.drainHost().catch((error) => {
|
|
8509
|
+
hostDrain = null;
|
|
8510
|
+
return failHostShutdown(error);
|
|
8511
|
+
});
|
|
8512
|
+
return hostDrain;
|
|
8513
|
+
},
|
|
8462
8514
|
attachSession(shutdownResolver) {
|
|
8463
8515
|
activeSessionShutdownResolver = shutdownResolver;
|
|
8516
|
+
if (shutdownAttempt) shutdownResolver(shutdownAttempt.stopCause);
|
|
8464
8517
|
},
|
|
8465
8518
|
detachSession(shutdownResolver) {
|
|
8466
8519
|
if (activeSessionShutdownResolver === shutdownResolver) activeSessionShutdownResolver = null;
|
|
@@ -8473,12 +8526,9 @@ function createControlledShutdownCoordinator(input) {
|
|
|
8473
8526
|
},
|
|
8474
8527
|
handleSessionCompleted() {
|
|
8475
8528
|
if (!shutdownAttempt) return;
|
|
8476
|
-
requestServiceStop(
|
|
8529
|
+
requestServiceStop(shutdownAttempt.stopCause);
|
|
8477
8530
|
shutdownAttempt.resolve();
|
|
8478
8531
|
},
|
|
8479
|
-
handleSessionFailure(error) {
|
|
8480
|
-
shutdownAttempt?.reject(error);
|
|
8481
|
-
},
|
|
8482
8532
|
requestServiceStop,
|
|
8483
8533
|
async request(payload) {
|
|
8484
8534
|
return await withControlledStopRefusalProof({
|
|
@@ -8492,7 +8542,10 @@ function createControlledShutdownCoordinator(input) {
|
|
|
8492
8542
|
await payload.onAdmission?.(() => void 0);
|
|
8493
8543
|
await existingAttempt.promise;
|
|
8494
8544
|
} else if (activeSessionShutdownResolver) {
|
|
8495
|
-
const currentAttempt =
|
|
8545
|
+
const currentAttempt = {
|
|
8546
|
+
...Promise.withResolvers(),
|
|
8547
|
+
stopCause
|
|
8548
|
+
};
|
|
8496
8549
|
const clearAttempt = () => {
|
|
8497
8550
|
if (shutdownAttempt === currentAttempt) shutdownAttempt = null;
|
|
8498
8551
|
};
|
|
@@ -8548,11 +8601,10 @@ async function runSocketSessionWithControlledShutdown(input) {
|
|
|
8548
8601
|
try {
|
|
8549
8602
|
await runDaemonSocketSession({
|
|
8550
8603
|
...input.sessionInput,
|
|
8604
|
+
drainExecutionHost: input.controlledShutdown.waitForDrain,
|
|
8605
|
+
failHostShutdown: input.controlledShutdown.failHostShutdown,
|
|
8551
8606
|
shutdownRequested: sessionShutdown.promise
|
|
8552
8607
|
});
|
|
8553
|
-
} catch (error) {
|
|
8554
|
-
input.controlledShutdown.handleSessionFailure(error);
|
|
8555
|
-
throw error;
|
|
8556
8608
|
} finally {
|
|
8557
8609
|
input.controlledShutdown.detachSession(sessionShutdown.resolve);
|
|
8558
8610
|
}
|
|
@@ -8712,6 +8764,9 @@ const runAccountBoundDaemonServiceLoop = async (input) => {
|
|
|
8712
8764
|
};
|
|
8713
8765
|
let requestActiveRouteCatalogSync = null;
|
|
8714
8766
|
const controlledShutdown = createControlledShutdownCoordinator({
|
|
8767
|
+
drainHost: async () => {
|
|
8768
|
+
await executionHost.call("drain", {}, { timeoutMs: null });
|
|
8769
|
+
},
|
|
8715
8770
|
hasUndrainedWork: () => {
|
|
8716
8771
|
const observed = executionHost.snapshot();
|
|
8717
8772
|
return !(executionHost.available() && observed?.localQuiescent) || observed.unacknowledgedResultCount > 0;
|
|
@@ -16605,4 +16660,4 @@ function parseDaemonRunMode(rawMode) {
|
|
|
16605
16660
|
//#endregion
|
|
16606
16661
|
export { buildAuthStatusSnapshot as $, buildDaemonStartNeedsAttentionCard as A, resolveDaemonServiceParticipationStatus as B, buildProfileWorkspaceRows as C, createDelayedSpinner as D, emitDaemonAgentOverview as E, emitCliJsonEnvelope as F, ensureCommandAuthenticationOrCancel as G, validateLocalProjectConnectionPath as H, runDaemonStartupPreflight as I, runAuthLogout as J, evaluateCommandAuthentication as K, readDaemonIncidentLogTail as L, buildHumanErrorCopy as M, renderHumanErrorCard as N, shouldEmitAgentOverview as O, renderHumanTextErrorCard as P, buildAuthStatusRows as Q, resolveLocalComponentsStatus as R, buildProfileWorkspacePresentation as S, createQuietPresenter as T, connectWebSocket as U, LocalProjectConnectionError as V, buildCommandAuthenticationPromptMessage as W, runAuthStatus as X, runAuthMenu as Y, exchangeOneTimeTokenAuthSession as Z, buildDaemonBackgroundStartFailure as _, resolveDeviceTokenExpiresAt as _t, runDaemonBackgroundStartForDecision as a, promptTextEntry as at, formatServiceRuntimeHeadline as b, runDaemonInterrupt as c, finishCurrentCommandCheckScope as ct, runDaemonServiceDetached as d, resetCurrentCommandCheckState as dt, formatActiveOrganizationLabel as et, runDaemonSnapshot as f, startCurrentCommandCheckScope as ft, runDaemonUninstall as g, resolveDeviceAuthClientId as gt, runDaemonTeardownStrict as h, requestDeviceToken as ht, runDaemonAutostart as i, buildUnifiedCardFrame as it, runDaemonStartDecisionPrompt as j, buildDaemonStartDeferredCard as k, runDaemonReinstall as l, getCurrentCommandCheckState as lt, runDaemonStop as m, fetchAuthUserSnapshot as mt, isManagedSystemServiceBootstrapRun as n, renderInfoCard as nt, runDaemonCancel as o, isReturnKeypress as ot, runDaemonStatusFlow as p, extractAuthApiErrorMessage as pt, runAuthLogin as q, runDaemon as r, renderTextInfoCard as rt, runDaemonInstall as s, runInteractivePrompt as st, bestEffortStopCurrentLaneDaemonService as t, buildTextInfoCardLines as tt, runDaemonRunAfterEntryChecks as u, isCurrentCommandCheckScopeActive as ut, buildSystemServiceStartupFailureReportFromVerdict as v, revokeAuthAccessToken as vt, reconcileCliVersionView as w, resolveServiceParticipationReadiness as x, formatServiceParticipationReadinessLabel as y, writeInstalledLocalComponentsSnapshot as z };
|
|
16607
16662
|
|
|
16608
|
-
//# sourceMappingURL=service-
|
|
16663
|
+
//# sourceMappingURL=service-Dm_v88Dc.js.map
|