openmeld 0.3.281 → 0.3.284
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-DqXAZVkb.js → add-me-membership-DzHgQOUC.js} +2 -2
- package/dist/{add-me-membership-DqXAZVkb.js.map → add-me-membership-DzHgQOUC.js.map} +1 -1
- package/dist/{agents-D64ZW_j4.js → agents-MgLQqj9C.js} +9 -9
- package/dist/{agents-D64ZW_j4.js.map → agents-MgLQqj9C.js.map} +1 -1
- package/dist/{api-client-foundation-B_2mex1y.js → api-client-foundation-RM1pxGSx.js} +1 -1
- package/dist/{api-client-foundation-C4qyWlX3.js → api-client-foundation-i2KBsQ7r.js} +5 -5
- package/dist/{api-client-foundation-C4qyWlX3.js.map → api-client-foundation-i2KBsQ7r.js.map} +1 -1
- package/dist/auth-session-C9F7usbn.js +3 -0
- package/dist/{auth-session-D3JW6vDg.js → auth-session-DRQMn41Z.js} +2 -2
- package/dist/{auth-session-D3JW6vDg.js.map → auth-session-DRQMn41Z.js.map} +1 -1
- package/dist/{channel-cw8i-ftD.js → channel-CFIRo4fR.js} +5 -5
- package/dist/channel-CFIRo4fR.js.map +1 -0
- package/dist/{client-DiJSFcdx.js → client-CBTgmyFC.js} +8 -3
- package/dist/client-CBTgmyFC.js.map +1 -0
- package/dist/{cloud-computer-0OvJeYOx.js → cloud-computer-CuWSimwt.js} +5 -5
- package/dist/{cloud-computer-0OvJeYOx.js.map → cloud-computer-CuWSimwt.js.map} +1 -1
- package/dist/{command-WV5fFpT1.js → command-BGzLcjz8.js} +18 -18
- package/dist/{command-WV5fFpT1.js.map → command-BGzLcjz8.js.map} +1 -1
- package/dist/{computer-connection-review-BGdzvTAD.js → computer-connection-review-D_u0MhuV.js} +4 -4
- package/dist/{computer-connection-review-BGdzvTAD.js.map → computer-connection-review-D_u0MhuV.js.map} +1 -1
- package/dist/{computer-disconnect-DWuokz-a.js → computer-disconnect-BazesBeJ.js} +7 -7
- package/dist/{computer-disconnect-DWuokz-a.js.map → computer-disconnect-BazesBeJ.js.map} +1 -1
- package/dist/{computer-setup-continuation-a55NW4KT.js → computer-setup-continuation-CiVvkxTB.js} +5 -5
- package/dist/{computer-setup-continuation-a55NW4KT.js.map → computer-setup-continuation-CiVvkxTB.js.map} +1 -1
- package/dist/{computer-update-wait-DqdHVh-N.js → computer-update-wait-Bm_oW5Ne.js} +4 -4
- package/dist/{computer-update-wait-DqdHVh-N.js.map → computer-update-wait-Bm_oW5Ne.js.map} +1 -1
- package/dist/{context-BvTB6oYE.js → context-BvLQjNGR.js} +5 -5
- package/dist/{context-BvTB6oYE.js.map → context-BvLQjNGR.js.map} +1 -1
- package/dist/{control-plane-Cenl7yjL.js → control-plane-dGjd5iC7.js} +7 -2
- package/dist/control-plane-dGjd5iC7.js.map +1 -0
- package/dist/{daemon-device-id-BqFtu1Mo.js → daemon-device-id-D-RHe9se.js} +4 -4
- package/dist/{daemon-device-id-BqFtu1Mo.js.map → daemon-device-id-D-RHe9se.js.map} +1 -1
- package/dist/{daemon-lifecycle-journal-CazLvrLu.js → daemon-lifecycle-journal-Bkswn_I8.js} +3 -3
- package/dist/{daemon-lifecycle-journal-CazLvrLu.js.map → daemon-lifecycle-journal-Bkswn_I8.js.map} +1 -1
- package/dist/{daemon-service-runtime-CfxejhNC.js → daemon-service-runtime-ByRIC7Vp.js} +2 -2
- package/dist/{daemon-service-runtime-CfxejhNC.js.map → daemon-service-runtime-ByRIC7Vp.js.map} +1 -1
- package/dist/{dispatch-owned-runtime-B1yce9CE.js → dispatch-owned-runtime-BDGFWuRh.js} +12 -12
- package/dist/{dispatch-owned-runtime-B1yce9CE.js.map → dispatch-owned-runtime-BDGFWuRh.js.map} +1 -1
- package/dist/{dist-Ba813GzD.js → dist-53uvP0DN.js} +16 -8
- package/dist/dist-53uvP0DN.js.map +1 -0
- package/dist/{dist-jIVIF1cm.js → dist-BQHLwE5O.js} +3 -3
- package/dist/{dist-CpETT0Ue.js → dist-CZyGORfc.js} +1 -1
- package/dist/{dist-Bc3Rc5Tm.js → dist-D7SkvUZW.js} +15 -5
- package/dist/{dist-Bc3Rc5Tm.js.map → dist-D7SkvUZW.js.map} +1 -1
- package/dist/dist-Dgux9R9v.js +34 -0
- package/dist/{dist-Bi-kM20D.js → dist-DptLNaka.js} +2 -2
- package/dist/{dist-Bi-kM20D.js.map → dist-DptLNaka.js.map} +1 -1
- package/dist/{dual-view-guide-catalog-CUcSHGLS.js → dual-view-guide-catalog-B6pZCdhQ.js} +4 -4
- package/dist/{dual-view-guide-catalog-CUcSHGLS.js.map → dual-view-guide-catalog-B6pZCdhQ.js.map} +1 -1
- package/dist/{elapsed-time-DnuzLO2r.js → elapsed-time-jRFzKVlC.js} +2 -2
- package/dist/{elapsed-time-DnuzLO2r.js.map → elapsed-time-jRFzKVlC.js.map} +1 -1
- package/dist/{entry-BqRLj_9V.js → entry-CRBVI7tg.js} +8 -8
- package/dist/{entry-BqRLj_9V.js.map → entry-CRBVI7tg.js.map} +1 -1
- package/dist/{installation-inventory-BMPU4Tgf.js → installation-inventory-D49cEBYl.js} +3 -3
- package/dist/{installation-inventory-BMPU4Tgf.js.map → installation-inventory-D49cEBYl.js.map} +1 -1
- package/dist/{installer-BLAf7RHI.js → installer-C5vIErnE.js} +2 -2
- package/dist/{installer-BLAf7RHI.js.map → installer-C5vIErnE.js.map} +1 -1
- package/dist/{meta-api-B6TZqn2K.js → meta-api-ZxEp77JR.js} +8 -8
- package/dist/{meta-api-B6TZqn2K.js.map → meta-api-ZxEp77JR.js.map} +1 -1
- package/dist/{openmeld-DCf4ITd3.js → openmeld-DA0qkwgX.js} +39 -39
- package/dist/{openmeld-DCf4ITd3.js.map → openmeld-DA0qkwgX.js.map} +1 -1
- package/dist/{openmeld-environment-target-CeFk6jOe.js → openmeld-environment-target-DydyKO8Z.js} +2 -2
- package/dist/{openmeld-environment-target-CeFk6jOe.js.map → openmeld-environment-target-DydyKO8Z.js.map} +1 -1
- package/dist/{openmeld-maintenance-worker-Cito5UjR.js → openmeld-maintenance-worker-Cn0nIOeE.js} +11 -10
- package/dist/{openmeld-maintenance-worker-Cito5UjR.js.map → openmeld-maintenance-worker-Cn0nIOeE.js.map} +1 -1
- package/dist/{openmeld-tools-update-coordinator-DasnCwiO.js → openmeld-tools-update-coordinator-TaOWlWRF.js} +142 -73
- package/dist/{openmeld-tools-update-coordinator-DasnCwiO.js.map → openmeld-tools-update-coordinator-TaOWlWRF.js.map} +1 -1
- package/dist/{openmeld-tools-update-join-DZq4B1-c.js → openmeld-tools-update-join-B0bVe2pL.js} +2 -2
- package/dist/{openmeld-tools-update-join-DZq4B1-c.js.map → openmeld-tools-update-join-B0bVe2pL.js.map} +1 -1
- package/dist/openmeld.js +5 -5
- package/dist/{prepare-provider-runtime-D9G1oa37.js → prepare-provider-runtime-DXU1tsC-.js} +136 -91
- package/dist/prepare-provider-runtime-DXU1tsC-.js.map +1 -0
- package/dist/{prepare-session-executor-BtXNgehw.js → prepare-session-executor-DQP-XJWG.js} +19 -19
- package/dist/{prepare-session-executor-BtXNgehw.js.map → prepare-session-executor-DQP-XJWG.js.map} +1 -1
- package/dist/{presenter-PTSj6SjL.js → presenter-DMoE2U_q.js} +2 -2
- package/dist/{presenter-PTSj6SjL.js.map → presenter-DMoE2U_q.js.map} +1 -1
- package/dist/{process-channel-s-29YBmx.js → process-channel-DtJ01mUI.js} +2 -2
- package/dist/{process-channel-s-29YBmx.js.map → process-channel-DtJ01mUI.js.map} +1 -1
- package/dist/{runtime-agent-controller-reporting-submission-Bmi-TI7L.js → runtime-agent-controller-reporting-submission-BScBCWbj.js} +9 -9
- package/dist/{runtime-agent-controller-reporting-submission-Bmi-TI7L.js.map → runtime-agent-controller-reporting-submission-BScBCWbj.js.map} +1 -1
- package/dist/{runtime-CRML37Zi.js → runtime-ga1Cb9oU.js} +30 -22
- package/dist/{runtime-CRML37Zi.js.map → runtime-ga1Cb9oU.js.map} +1 -1
- package/dist/{runtime-transport--NUjMys2.js → runtime-transport-Dg7E0ROH.js} +3 -3
- package/dist/{runtime-transport--NUjMys2.js.map → runtime-transport-Dg7E0ROH.js.map} +1 -1
- package/dist/{sensitive-operation-credentials-DLvCUcPG.js → sensitive-operation-credentials-Dr_neVvL.js} +4 -4
- package/dist/{sensitive-operation-credentials-DLvCUcPG.js.map → sensitive-operation-credentials-Dr_neVvL.js.map} +1 -1
- package/dist/{service-CAVnFGS6.js → service-CPm2n9qw.js} +136 -45
- package/dist/service-CPm2n9qw.js.map +1 -0
- package/dist/{service-account-authorization-uXkl3vrp.js → service-account-authorization-DiSsm3hB.js} +3 -3
- package/dist/{service-account-authorization-uXkl3vrp.js.map → service-account-authorization-DiSsm3hB.js.map} +1 -1
- package/dist/{service-account-control-C5t63oqC.js → service-account-control-ZcbgDiOI.js} +9 -9
- package/dist/{service-account-control-C5t63oqC.js.map → service-account-control-ZcbgDiOI.js.map} +1 -1
- package/dist/{service-control-capabilities-DD8rKK5X.js → service-control-capabilities-BGt2pE5E.js} +1 -1
- package/dist/{service-control-capabilities-D82eDKGc.js → service-control-capabilities-Be1Jwmuf.js} +3 -3
- package/dist/{service-control-capabilities-D82eDKGc.js.map → service-control-capabilities-Be1Jwmuf.js.map} +1 -1
- package/dist/{state-BrFamidO.js → state-d7Z9JO3f.js} +2 -2
- package/dist/{state-BrFamidO.js.map → state-d7Z9JO3f.js.map} +1 -1
- package/dist/{task-result-DB1vR1p4.js → task-result-DhOFm1C_.js} +9 -2
- package/dist/task-result-DhOFm1C_.js.map +1 -0
- package/dist/{updates-api-DkKnmoi1.js → updates-api-C5MOBI2U.js} +15 -15
- package/dist/{updates-api-DkKnmoi1.js.map → updates-api-C5MOBI2U.js.map} +1 -1
- package/dist/upgrade-J_8S57kY.js +3 -0
- package/dist/{upgrade-Df1VFgZU.js → upgrade-ehQ8fPE_.js} +10 -10
- package/dist/{upgrade-Df1VFgZU.js.map → upgrade-ehQ8fPE_.js.map} +1 -1
- package/dist/windows/openmeld-windows-process.exe +0 -0
- package/package.json +9 -9
- package/dist/auth-session-CDfkRP6v.js +0 -3
- package/dist/channel-cw8i-ftD.js.map +0 -1
- package/dist/client-DiJSFcdx.js.map +0 -1
- package/dist/control-plane-Cenl7yjL.js.map +0 -1
- package/dist/dist-Ba813GzD.js.map +0 -1
- package/dist/dist-CYV83fQw.js +0 -34
- package/dist/prepare-provider-runtime-D9G1oa37.js.map +0 -1
- package/dist/service-CAVnFGS6.js.map +0 -1
- package/dist/task-result-DB1vR1p4.js.map +0 -1
- package/dist/upgrade-yYdxvxwi.js +0 -3
|
@@ -4,46 +4,46 @@ import { a as resolveBaseUrl, c as resolveExplicitGatewayUrlOrThrow, f as getCon
|
|
|
4
4
|
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";
|
|
5
5
|
import { r as resolveAuthBaseUrl } from "./auth-url-Dnpds8Yf.js";
|
|
6
6
|
import { lt as daemonServiceLaneSchema } from "./dist-zRc0hA1y.js";
|
|
7
|
-
import {
|
|
8
|
-
import { $y as OPENMELD_RUNTIME_CAPABILITIES_HEADER, Ba as betterAuthDeviceAuthorizationCodeResponseSchema, Cl as sessionHistoryPolicySchema, Cy as localProjectControlDaemonFrameSchema, Dy as localProjectControlDiscoverProjectsResponseSchema, El as sessionHistoryRequestFrameSchema, En as createServiceConnectionEvidenceApi, Ga as betterAuthDeviceAuthorizationTokenRequestSchema, Ka as betterAuthDeviceAuthorizationTokenResponseSchema, La as BETTER_AUTH_DEVICE_AUTHORIZATION_GRANT_TYPE, Ol as sessionHistoryResultFrameSchema, Qy as COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY, Ua as betterAuthDeviceAuthorizationErrorResponseSchema, _l as SESSION_HISTORY_RUNTIME_CAPABILITY, gb as COMPUTER_POWER_CAPABILITY_HEADER, hl as SESSION_HISTORY_CAPABILITY_HEADER, qa as betterAuthSessionSnapshotResponseSchema, tb as computerFileAccessDaemonFrameSchema, ur as DAEMON_STREAM_KEEPALIVE_PING, vg as serviceConnectionEvidenceEventSchema, vl as sessionHistoryAuditSchema, yg as serviceConnectionEvidenceJournalSchema, za as betterAuthDeviceAuthorizationCodeRequestSchema } from "./dist-
|
|
9
|
-
import { $ as bindProject, At as listAgentTargetStates, C as syncDaemonRouteCatalogState, G as resolveConfiguredProfileWorkspacePathForAccount, H as readProfileWorkspaceConfigForAccount, I as ensureOpenMeldManagedProfileWorkspace, Jn as resolveInstalledCodexLaunchCandidates, K as setCustomProfileWorkspace, Kr as DaemonServiceRunError, Kt as resolveRegistryRuntimeAdapterCapabilitySnapshot, Q as ProjectBindingStoreUpdateRequiredError, S as summarizeSkippedDaemonProfiles, St as emitReconcileStartedEvidence, U as readSavedProfileWorkspaceForAccount, Z as ProjectBindingOperationError, b as createRouteCatalogFromMutableState, bt as emitDriftDetectedEvidence, ct as removeProjectConnection, dn as MIN_HEARTBEAT_INTERVAL_MS, dt as setDefaultProjectConnection, fn as applyAcceptedLeases, gn as resolveCatalogSyncIntervalMs, hn as resolveAdaptiveHeartbeatIntervalMs, ht as resolveLocalProjectConnectionForPath, it as listProjectConnectionsWithStatus, ln as ADAPTIVE_HEARTBEAT_JITTER_RATIO, mn as pruneStaleLeases, mt as isProjectConnectionReadableByOwner, pn as applyIntervalJitterMs$1, rt as listProjectBindings, sn as resolveRouteRegistrationReconcileDecision, st as removeMissingProjectConnections, un as MAX_HEARTBEAT_INTERVAL_MS, xt as emitReconcileCompletedEvidence, y as createMutableRouteCatalogState, yt as syncDeviceRuntimeStateProjection } from "./prepare-provider-runtime-
|
|
10
|
-
import { $ as runtimeTransportOpenMeldToolsControlFramePayloadSchema, Ca as localFolderPickerHelperResultSchema, J as runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema, K as runtimeTransportLocalAgentControlManageProfileFoldersFramePayloadSchema, Sa as localFolderPickerHelperProtocolResultSchema, X as runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema, Yn as SPACE_WORK_HANDOFF_CAPABILITY_HEADER, _a as OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER, ct as runtimeTransportRouteCatalogChangedFramePayloadSchema, et as runtimeTransportOpenMeldToolsControlResultFramePayloadSchema, f as localWakeRouteWorkingFolderObservationSchema, ga as LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY, i as OPENMELD_EXECUTION_ADMISSION_HEADER, nt as runtimeTransportRegisterSessionRequestSchema, q as runtimeTransportLocalAgentControlReadProfileWorkspaceFramePayloadSchema, r as OPENMELD_ADMISSION_EVIDENCE_HEADER, ra as OPENMELD_REASONING_STREAM_HEADER, sr as OPENMELD_COMPUTER_CARE_HEADER, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, ya as localFolderPickerDaemonFrameSchema, z as runtimeTransportHeartbeatRequestSchema } from "./runtime-transport
|
|
7
|
+
import { tt as sanitizeDispatchErrorSummary } from "./task-result-DhOFm1C_.js";
|
|
8
|
+
import { $y as OPENMELD_RUNTIME_CAPABILITIES_HEADER, Ba as betterAuthDeviceAuthorizationCodeResponseSchema, Cl as sessionHistoryPolicySchema, Cy as localProjectControlDaemonFrameSchema, Dy as localProjectControlDiscoverProjectsResponseSchema, El as sessionHistoryRequestFrameSchema, En as createServiceConnectionEvidenceApi, Ga as betterAuthDeviceAuthorizationTokenRequestSchema, Ka as betterAuthDeviceAuthorizationTokenResponseSchema, La as BETTER_AUTH_DEVICE_AUTHORIZATION_GRANT_TYPE, Ol as sessionHistoryResultFrameSchema, Qy as COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY, Ua as betterAuthDeviceAuthorizationErrorResponseSchema, _l as SESSION_HISTORY_RUNTIME_CAPABILITY, gb as COMPUTER_POWER_CAPABILITY_HEADER, hl as SESSION_HISTORY_CAPABILITY_HEADER, qa as betterAuthSessionSnapshotResponseSchema, tb as computerFileAccessDaemonFrameSchema, ur as DAEMON_STREAM_KEEPALIVE_PING, vg as serviceConnectionEvidenceEventSchema, vl as sessionHistoryAuditSchema, yg as serviceConnectionEvidenceJournalSchema, za as betterAuthDeviceAuthorizationCodeRequestSchema } from "./dist-53uvP0DN.js";
|
|
9
|
+
import { $ as bindProject, At as listAgentTargetStates, C as syncDaemonRouteCatalogState, G as resolveConfiguredProfileWorkspacePathForAccount, H as readProfileWorkspaceConfigForAccount, I as ensureOpenMeldManagedProfileWorkspace, Jn as resolveInstalledCodexLaunchCandidates, K as setCustomProfileWorkspace, Kr as DaemonServiceRunError, Kt as resolveRegistryRuntimeAdapterCapabilitySnapshot, Q as ProjectBindingStoreUpdateRequiredError, S as summarizeSkippedDaemonProfiles, St as emitReconcileStartedEvidence, U as readSavedProfileWorkspaceForAccount, Z as ProjectBindingOperationError, b as createRouteCatalogFromMutableState, bt as emitDriftDetectedEvidence, ct as removeProjectConnection, dn as MIN_HEARTBEAT_INTERVAL_MS, dt as setDefaultProjectConnection, fn as applyAcceptedLeases, gn as resolveCatalogSyncIntervalMs, hn as resolveAdaptiveHeartbeatIntervalMs, ht as resolveLocalProjectConnectionForPath, it as listProjectConnectionsWithStatus, ln as ADAPTIVE_HEARTBEAT_JITTER_RATIO, mn as pruneStaleLeases, mt as isProjectConnectionReadableByOwner, pn as applyIntervalJitterMs$1, rt as listProjectBindings, sn as resolveRouteRegistrationReconcileDecision, st as removeMissingProjectConnections, un as MAX_HEARTBEAT_INTERVAL_MS, xt as emitReconcileCompletedEvidence, y as createMutableRouteCatalogState, yt as syncDeviceRuntimeStateProjection } from "./prepare-provider-runtime-DXU1tsC-.js";
|
|
10
|
+
import { $ as runtimeTransportOpenMeldToolsControlFramePayloadSchema, Ca as localFolderPickerHelperResultSchema, J as runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema, K as runtimeTransportLocalAgentControlManageProfileFoldersFramePayloadSchema, Sa as localFolderPickerHelperProtocolResultSchema, X as runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema, Yn as SPACE_WORK_HANDOFF_CAPABILITY_HEADER, _a as OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER, ct as runtimeTransportRouteCatalogChangedFramePayloadSchema, et as runtimeTransportOpenMeldToolsControlResultFramePayloadSchema, f as localWakeRouteWorkingFolderObservationSchema, ga as LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY, i as OPENMELD_EXECUTION_ADMISSION_HEADER, nt as runtimeTransportRegisterSessionRequestSchema, q as runtimeTransportLocalAgentControlReadProfileWorkspaceFramePayloadSchema, r as OPENMELD_ADMISSION_EVIDENCE_HEADER, ra as OPENMELD_REASONING_STREAM_HEADER, sr as OPENMELD_COMPUTER_CARE_HEADER, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, ya as localFolderPickerDaemonFrameSchema, z as runtimeTransportHeartbeatRequestSchema } from "./runtime-transport-Dg7E0ROH.js";
|
|
11
11
|
import { a as formatLocalSetupActionLabel, i as formatLocalSetupActionDescription, n as formatLocalComponentsSummaryDescription, o as installedLocalComponentsSnapshotSchema, r as formatLocalComponentsSummaryLabel } from "./local-components-B3vffkMy.js";
|
|
12
12
|
import { c as resolveCliBinaryPlatform } from "./cli-binary-manifest-CaeaM1Nd.js";
|
|
13
|
-
import { d as openMeldDaemonControlPlaneRequestSchema, f as openMeldDaemonControlPlaneResponseSchema } from "./control-plane-
|
|
14
|
-
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$2, 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-
|
|
15
|
-
import { _ as localExecutionInputFrameSchema, b as localExecutionInputResponseSchema, h as LOCAL_EXECUTION_INPUT_CAPABILITY_HEADER, m as serviceExecutionHostSnapshotSchema, n as createExecutionHostClient, t as ExecutionHostError, u as serviceExecutionHostMethods } from "./channel-
|
|
16
|
-
import { m as hashBundledSkillAssets, p as computeDirectoryContentHash, u as loadSelectedSkillAssets } from "./state-
|
|
17
|
-
import { $ as resolveNextRuntimeAgentControllerReportSyncAtMs, Ln as cliJsonOutputEnvelopeSchema, V as buildRepositoryFingerprint, a as createCodexJsonRpcClient, at as updateComputerFileAccessPolicy, c as sendDaemonFrame, et as emitDaemonDispatchJournalEvent, it as resolveComputerFileAccessStorePath, l as ProfileFolderOperationError, n as assertDispatchOwnedRuntimeServiceMutationAllowed, nt as ComputerFileAccessStoreError, o as handleDaemonTransportFrame, ot as isSameOrDescendantPath, p as collectObservedSessionWorkingDirectories, rt as readComputerFileAccessPolicy, s as parseDaemonFrame, u as applyProfileFolderOperation, w as resolveOpenCodeDatabasePath, x as queryOpenCodeReadOnly, z as createServiceGitEnvironment } from "./dispatch-owned-runtime-
|
|
18
|
-
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-
|
|
13
|
+
import { d as openMeldDaemonControlPlaneRequestSchema, f as openMeldDaemonControlPlaneResponseSchema } from "./control-plane-dGjd5iC7.js";
|
|
14
|
+
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$2, 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-D-RHe9se.js";
|
|
15
|
+
import { _ as localExecutionInputFrameSchema, b as localExecutionInputResponseSchema, h as LOCAL_EXECUTION_INPUT_CAPABILITY_HEADER, m as serviceExecutionHostSnapshotSchema, n as createExecutionHostClient, t as ExecutionHostError, u as serviceExecutionHostMethods } from "./channel-CFIRo4fR.js";
|
|
16
|
+
import { m as hashBundledSkillAssets, p as computeDirectoryContentHash, u as loadSelectedSkillAssets } from "./state-d7Z9JO3f.js";
|
|
17
|
+
import { $ as resolveNextRuntimeAgentControllerReportSyncAtMs, Ln as cliJsonOutputEnvelopeSchema, V as buildRepositoryFingerprint, a as createCodexJsonRpcClient, at as updateComputerFileAccessPolicy, c as sendDaemonFrame, et as emitDaemonDispatchJournalEvent, it as resolveComputerFileAccessStorePath, l as ProfileFolderOperationError, n as assertDispatchOwnedRuntimeServiceMutationAllowed, nt as ComputerFileAccessStoreError, o as handleDaemonTransportFrame, ot as isSameOrDescendantPath, p as collectObservedSessionWorkingDirectories, rt as readComputerFileAccessPolicy, s as parseDaemonFrame, u as applyProfileFolderOperation, w as resolveOpenCodeDatabasePath, x as queryOpenCodeReadOnly, z as createServiceGitEnvironment } from "./dispatch-owned-runtime-BDGFWuRh.js";
|
|
18
|
+
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-ByRIC7Vp.js";
|
|
19
19
|
import { i as writeDaemonRuntimeLease, r as readDaemonRuntimeLease } from "./daemon-runtime-lease-DRYVXnBQ.js";
|
|
20
20
|
import { a as readPendingDaemonServiceUpdate } from "./daemon-service-update-state-BSn45OHj.js";
|
|
21
|
-
import { A as resolveDaemonStatusSnapshot, B as formatDaemonServiceRefreshReliabilityMessage, Bt as classifyDaemonServiceRunStartability, C as isSystemServiceStartupTimeoutError, D as captureDaemonServiceEvidence, E as startDaemonSystemServiceWithAutoRepair, Et as resolveCurrentDaemonExpectedVersion, F as buildDaemonServiceRefreshNextStep, G as buildDaemonServiceDependencyDetails, Ht as ensureDaemonSystemServiceCommandFiles, I as buildDaemonServiceRefreshPromptMessage, It as DAEMON_SERVICE_AUTO_HEAL_ANOMALIES, J as buildDaemonServiceDependencySummary, K as buildDaemonServiceDependencyMeaning, Lt as DAEMON_SERVICE_FULL_ALIGNMENT_ANOMALIES, M as resolveDaemonStatusAuthenticationAttention, Mt as buildDaemonServiceTargetSpec, N as resolveServiceReadiness, Nt as resolveDaemonServiceAlignmentDecision, O as captureDaemonServiceEvidenceBestEffort, Pt as isVersionDowngrade, R as buildDaemonServiceStatusReadOnlyDetail, Rt as DAEMON_SERVICE_REPAIR_ANOMALIES, S as isDaemonInventoryRunningAndStartReady$1, T as waitForSystemServiceStartup$1, Tt as readDaemonRuntimeContractRepairReport, U as clearDaemonStartFailureState, Ut as resolveInstalledDaemonSystemServiceCommandSpec, V as formatDaemonServiceUpdateRequiredMessage, Vt as classifyDaemonServiceWakeability, W as writeDaemonStartFailureState, X as resolveDaemonServiceDependencyDiagnostics, Y as buildDaemonServiceDependencyTitle, _ as runDaemonServiceLifecycle, _t as hasActiveDaemonOwners, a as resolveServiceUpdateUrgency, b as startDaemonServiceUpdateWorker, bt as resolveStoppedContractWriteBlockedReason, c as readCurrentLocalRuntimeReplyReadiness, d as assessCliUpdate, g as DaemonServiceLifecycleDrainTimeoutError, gt as formatDaemonOwnerSummaryLabel, h as scheduleDaemonServiceUpdate, ht as buildDaemonOwnerSnapshotFromObservedState, i as writeOpenMeldToolsMaintenancePolicy, j as resolveDaemonStatusAttention, jt as writeDaemonServiceContract, k as formatDaemonFailureContextText, mt as inspectDaemonServiceInventory, n as readOpenMeldToolsMaintenancePolicy, o as assessServerRequiredVersion, p as readOpenMeldToolsUpdateContextFromEnv, pt as resolveLocalServiceDemand, q as buildDaemonServiceDependencyNextStep, r as resolveOpenMeldToolsMaintenanceProjection, s as describeServerRequiredVersionUnavailableReason, t as createOpenMeldToolsUpdateCoordinator, v as ensureDaemonServiceMaintenanceInstalled, vt as readCurrentDaemonOwnerSnapshot, w as resolveSystemServiceStartupWaitMs, wt as ensureDaemonRuntimeContractState, x as uninstallDaemonServiceUpdateWorker, xt as summarizeDaemonOwnerSnapshot, yt as resolveDaemonStopStrategy, z as buildDaemonServiceUpdateRequiredNextStep, zt as DAEMON_SERVICE_WAKEABILITY_ADVISORY_ANOMALIES } from "./openmeld-tools-update-coordinator-
|
|
22
|
-
import { E as withAdmittedServiceSession, S as recordInterruptedComputerAuthSessionRecoveryFailure, a as beginAuthSessionTransition, at as formatOpenMeldCliCommand, c as completeInterruptedComputerAuthSessionRecovery, ct as formatOpenMeldCliTextBlock, d as getAuthSessionState, g as markInterruptedComputerAuthSessionRecovery, i as assertAuthSessionMutationAvailable, it as formatInlineOpenMeldCliCommands, k as ServiceAccountAdmissionError, m as hasInterruptedComputerAuthSessionTransition, n as AuthSessionRecoveryInProgressError, o as buildStoredAuthSessionIdentity, ot as formatOpenMeldCliCommands, p as getInterruptedComputerAuthSessionRecovery, s as clearAuthSession, v as onAuthSessionCredentialAvailable, w as setAuthSession, y as onAuthSessionCredentialObservation } from "./auth-session-
|
|
21
|
+
import { A as resolveDaemonStatusSnapshot, B as formatDaemonServiceRefreshReliabilityMessage, Bt as classifyDaemonServiceRunStartability, C as isSystemServiceStartupTimeoutError, D as captureDaemonServiceEvidence, E as startDaemonSystemServiceWithAutoRepair, Et as resolveCurrentDaemonExpectedVersion, F as buildDaemonServiceRefreshNextStep, G as buildDaemonServiceDependencyDetails, Ht as ensureDaemonSystemServiceCommandFiles, I as buildDaemonServiceRefreshPromptMessage, It as DAEMON_SERVICE_AUTO_HEAL_ANOMALIES, J as buildDaemonServiceDependencySummary, K as buildDaemonServiceDependencyMeaning, Lt as DAEMON_SERVICE_FULL_ALIGNMENT_ANOMALIES, M as resolveDaemonStatusAuthenticationAttention, Mt as buildDaemonServiceTargetSpec, N as resolveServiceReadiness, Nt as resolveDaemonServiceAlignmentDecision, O as captureDaemonServiceEvidenceBestEffort, Pt as isVersionDowngrade, R as buildDaemonServiceStatusReadOnlyDetail, Rt as DAEMON_SERVICE_REPAIR_ANOMALIES, S as isDaemonInventoryRunningAndStartReady$1, T as waitForSystemServiceStartup$1, Tt as readDaemonRuntimeContractRepairReport, U as clearDaemonStartFailureState, Ut as resolveInstalledDaemonSystemServiceCommandSpec, V as formatDaemonServiceUpdateRequiredMessage, Vt as classifyDaemonServiceWakeability, W as writeDaemonStartFailureState, X as resolveDaemonServiceDependencyDiagnostics, Y as buildDaemonServiceDependencyTitle, _ as runDaemonServiceLifecycle, _t as hasActiveDaemonOwners, a as resolveServiceUpdateUrgency, b as startDaemonServiceUpdateWorker, bt as resolveStoppedContractWriteBlockedReason, c as readCurrentLocalRuntimeReplyReadiness, d as assessCliUpdate, g as DaemonServiceLifecycleDrainTimeoutError, gt as formatDaemonOwnerSummaryLabel, h as scheduleDaemonServiceUpdate, ht as buildDaemonOwnerSnapshotFromObservedState, i as writeOpenMeldToolsMaintenancePolicy, j as resolveDaemonStatusAttention, jt as writeDaemonServiceContract, k as formatDaemonFailureContextText, mt as inspectDaemonServiceInventory, n as readOpenMeldToolsMaintenancePolicy, o as assessServerRequiredVersion, p as readOpenMeldToolsUpdateContextFromEnv, pt as resolveLocalServiceDemand, q as buildDaemonServiceDependencyNextStep, r as resolveOpenMeldToolsMaintenanceProjection, s as describeServerRequiredVersionUnavailableReason, t as createOpenMeldToolsUpdateCoordinator, v as ensureDaemonServiceMaintenanceInstalled, vt as readCurrentDaemonOwnerSnapshot, w as resolveSystemServiceStartupWaitMs, wt as ensureDaemonRuntimeContractState, x as uninstallDaemonServiceUpdateWorker, xt as summarizeDaemonOwnerSnapshot, yt as resolveDaemonStopStrategy, z as buildDaemonServiceUpdateRequiredNextStep, zt as DAEMON_SERVICE_WAKEABILITY_ADVISORY_ANOMALIES } from "./openmeld-tools-update-coordinator-TaOWlWRF.js";
|
|
22
|
+
import { E as withAdmittedServiceSession, S as recordInterruptedComputerAuthSessionRecoveryFailure, a as beginAuthSessionTransition, at as formatOpenMeldCliCommand, c as completeInterruptedComputerAuthSessionRecovery, ct as formatOpenMeldCliTextBlock, d as getAuthSessionState, g as markInterruptedComputerAuthSessionRecovery, i as assertAuthSessionMutationAvailable, it as formatInlineOpenMeldCliCommands, k as ServiceAccountAdmissionError, m as hasInterruptedComputerAuthSessionTransition, n as AuthSessionRecoveryInProgressError, o as buildStoredAuthSessionIdentity, ot as formatOpenMeldCliCommands, p as getInterruptedComputerAuthSessionRecovery, s as clearAuthSession, v as onAuthSessionCredentialAvailable, w as setAuthSession, y as onAuthSessionCredentialObservation } from "./auth-session-DRQMn41Z.js";
|
|
23
23
|
import { A as formatLocalMachineIssueMessage, C as assessLocalMachineFailure, E as createServiceSpawnPendingIssue, i as isOpenMeldLockError, u as resolveOpenMeldOrphanedLockIssue, x as resolveOpenMeldLaneDescriptor } from "./lock-DP8d33p_.js";
|
|
24
24
|
import { i as readProcessStartIdentity, n as isPreciseProcessStartIdentity, t as CURRENT_PROCESS_START_IDENTITY } from "./process-identity-DsKKbftl.js";
|
|
25
25
|
import "./openmeld-dev-environment-CAETyazL.js";
|
|
26
26
|
import { n as toErrorMessage$7, t as sleep } from "./dist-BLuEEVHh.js";
|
|
27
|
-
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-
|
|
27
|
+
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-BvLQjNGR.js";
|
|
28
28
|
import { n as writeDaemonLocalStateFile, t as readDaemonLocalStateFile } from "./daemon-local-state-file-jOXuXrky.js";
|
|
29
29
|
import { t as isBinaryDistribution } from "./distribution-BDQT2ilb.js";
|
|
30
30
|
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-CTOVPwNq.js";
|
|
31
|
-
import { a as outJsonLine, n as sanitizeTerminalDisplayText, o as outLine, t as createPresenter } from "./presenter-
|
|
32
|
-
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-
|
|
31
|
+
import { a as outJsonLine, n as sanitizeTerminalDisplayText, o as outLine, t as createPresenter } from "./presenter-DMoE2U_q.js";
|
|
32
|
+
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-i2KBsQ7r.js";
|
|
33
33
|
import { i as readDaemonServiceContract, n as isDaemonServiceContractIdentityReusable, o as upsertDaemonServiceContract, t as clearDaemonServiceContract } from "./daemon-service-contract-CsANv7K_.js";
|
|
34
|
-
import { t as resolveOpenMeldEnvironmentTarget } from "./openmeld-environment-target-
|
|
35
|
-
import { t as admitServiceAccountStop } from "./service-account-authorization-
|
|
36
|
-
import { i as requestLocalDaemonShutdown, r as requestLocalDaemonServiceUpdateReadiness, s as sendLocalDaemonControlPlaneRequest, t as LocalDaemonControlPlaneClientError } from "./client-
|
|
37
|
-
import { 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 } from "./daemon-lifecycle-journal-
|
|
34
|
+
import { t as resolveOpenMeldEnvironmentTarget } from "./openmeld-environment-target-DydyKO8Z.js";
|
|
35
|
+
import { t as admitServiceAccountStop } from "./service-account-authorization-DiSsm3hB.js";
|
|
36
|
+
import { i as requestLocalDaemonShutdown, r as requestLocalDaemonServiceUpdateReadiness, s as sendLocalDaemonControlPlaneRequest, t as LocalDaemonControlPlaneClientError } from "./client-CBTgmyFC.js";
|
|
37
|
+
import { 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 } from "./daemon-lifecycle-journal-Bkswn_I8.js";
|
|
38
38
|
import { r as readWindowsManagedCliInstallation } from "./windows-managed-install-BVlswqjA.js";
|
|
39
39
|
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-a5tY3qpR.js";
|
|
40
|
-
import { P as getCommandEntryContract, Z as validateDaemonControlTargetInput, at as buildAgentOverviewFromContract, t as createAuthLoginGuideError } from "./dual-view-guide-catalog-
|
|
41
|
-
import { a as formatDaemonServiceDowngradeBlockedRecommendation, d as formatDaemonServiceMissingStatus, f as getDaemonDowngradeBlockedTitle, i as formatDaemonInstallFailedMessage, l as formatDaemonServiceMissingRunStepOne, m as canUseInteractivePrompts, n as resolveElapsedTimeMs, o as formatDaemonServiceMissingAction, p as runDaemonInstallDecisionPrompt, r as formatDaemonDowngradeBlockedNextStep, s as formatDaemonServiceMissingMeaning, t as formatElapsedTime, u as formatDaemonServiceMissingRunStepTwo } from "./elapsed-time-
|
|
40
|
+
import { P as getCommandEntryContract, Z as validateDaemonControlTargetInput, at as buildAgentOverviewFromContract, t as createAuthLoginGuideError } from "./dual-view-guide-catalog-B6pZCdhQ.js";
|
|
41
|
+
import { a as formatDaemonServiceDowngradeBlockedRecommendation, d as formatDaemonServiceMissingStatus, f as getDaemonDowngradeBlockedTitle, i as formatDaemonInstallFailedMessage, l as formatDaemonServiceMissingRunStepOne, m as canUseInteractivePrompts, n as resolveElapsedTimeMs, o as formatDaemonServiceMissingAction, p as runDaemonInstallDecisionPrompt, r as formatDaemonDowngradeBlockedNextStep, s as formatDaemonServiceMissingMeaning, t as formatElapsedTime, u as formatDaemonServiceMissingRunStepTwo } from "./elapsed-time-jRFzKVlC.js";
|
|
42
42
|
import { a as readPendingOpenMeldToolsUpdateAttempt } from "./openmeld-tools-update-attempt-state-B6t53OYC.js";
|
|
43
|
-
import { i as resolveOpenMeldToolsUpdateOperationProjection, n as waitForExternalOpenMeldToolsUpdate, r as waitForOpenMeldToolsUpdateCompletion, t as resolveExternalOpenMeldToolsUpdate } from "./openmeld-tools-update-join-
|
|
43
|
+
import { i as resolveOpenMeldToolsUpdateOperationProjection, n as waitForExternalOpenMeldToolsUpdate, r as waitForOpenMeldToolsUpdateCompletion, t as resolveExternalOpenMeldToolsUpdate } from "./openmeld-tools-update-join-B0bVe2pL.js";
|
|
44
44
|
import { t as createSetupUpdateObserver } from "./setup-update-progress-pq_ZnoqB.js";
|
|
45
|
-
import { t as childExecutionHostChannel } from "./process-channel-
|
|
46
|
-
import { n as collectSkillsReadinessSnapshot } from "./installation-inventory-
|
|
45
|
+
import { t as childExecutionHostChannel } from "./process-channel-DtJ01mUI.js";
|
|
46
|
+
import { n as collectSkillsReadinessSnapshot } from "./installation-inventory-D49cEBYl.js";
|
|
47
47
|
import { createHash, randomUUID } from "node:crypto";
|
|
48
48
|
import { homedir } from "node:os";
|
|
49
49
|
import { delimiter, dirname, isAbsolute, join, resolve } from "node:path";
|
|
@@ -1064,6 +1064,7 @@ function resolveCatalogSyncSkippedProfilesLogState(input) {
|
|
|
1064
1064
|
}
|
|
1065
1065
|
//#endregion
|
|
1066
1066
|
//#region ../../runtime/local-execution/dist/control-plane.js
|
|
1067
|
+
const DEFAULT_SHUTDOWN_GRACE_PERIOD_MS = 5e3;
|
|
1067
1068
|
function parseControlPlaneRequest(input) {
|
|
1068
1069
|
const parsed = openMeldDaemonControlPlaneRequestSchema.safeParse(input);
|
|
1069
1070
|
if (!parsed.success) throw new Error("invalid daemon control-plane request");
|
|
@@ -1124,6 +1125,12 @@ async function buildControlPlaneResponse(input) {
|
|
|
1124
1125
|
payload: request.payload,
|
|
1125
1126
|
requestMeta
|
|
1126
1127
|
});
|
|
1128
|
+
case "shutdown_if_idle": return await buildIdleShutdownControlPlaneResponse({
|
|
1129
|
+
context: input.context,
|
|
1130
|
+
lifecycle: input.lifecycle,
|
|
1131
|
+
payload: request.payload,
|
|
1132
|
+
requestMeta
|
|
1133
|
+
});
|
|
1127
1134
|
case "account_control_capabilities": return openMeldDaemonControlPlaneResponseSchema.parse({
|
|
1128
1135
|
...requestMeta,
|
|
1129
1136
|
code: "service.account_control_capabilities",
|
|
@@ -1234,10 +1241,26 @@ async function buildConversationExecutionStatusControlPlaneResponse(input) {
|
|
|
1234
1241
|
payload
|
|
1235
1242
|
});
|
|
1236
1243
|
}
|
|
1244
|
+
async function buildIdleShutdownControlPlaneResponse(input) {
|
|
1245
|
+
if (!input.context.shutdownIfIdleHandler) return parseControlPlaneResponse({
|
|
1246
|
+
...input.requestMeta,
|
|
1247
|
+
code: "service.error",
|
|
1248
|
+
payload: {
|
|
1249
|
+
errorCode: "daemon.control.contract_mismatch",
|
|
1250
|
+
errorMessage: "This Service does not support an idle-only update switch."
|
|
1251
|
+
}
|
|
1252
|
+
});
|
|
1253
|
+
const payload = await input.context.shutdownIfIdleHandler(input.payload ?? { gracePeriodMs: DEFAULT_SHUTDOWN_GRACE_PERIOD_MS }, input.lifecycle?.onShutdownAdmitted ? { onAdmitted: input.lifecycle.onShutdownAdmitted } : void 0);
|
|
1254
|
+
return parseControlPlaneResponse({
|
|
1255
|
+
...input.requestMeta,
|
|
1256
|
+
code: "service.shutdown",
|
|
1257
|
+
payload
|
|
1258
|
+
});
|
|
1259
|
+
}
|
|
1237
1260
|
async function buildShutdownControlPlaneResponse(input) {
|
|
1238
1261
|
const resolvedShutdownPayload = input.payload ?? {
|
|
1239
1262
|
mode: "graceful",
|
|
1240
|
-
gracePeriodMs:
|
|
1263
|
+
gracePeriodMs: DEFAULT_SHUTDOWN_GRACE_PERIOD_MS
|
|
1241
1264
|
};
|
|
1242
1265
|
const payload = input.context.shutdownHandler ? await input.context.shutdownHandler(resolvedShutdownPayload, input.lifecycle?.onShutdownAdmitted ? { onAdmitted: input.lifecycle.onShutdownAdmitted } : void 0) : {
|
|
1243
1266
|
accepted: false,
|
|
@@ -5334,7 +5357,7 @@ function createServiceConnectionEvidenceRecorder(input) {
|
|
|
5334
5357
|
try {
|
|
5335
5358
|
await mutate(() => void 0);
|
|
5336
5359
|
const entry = journal?.entries.find((item) => item.uploadedAtMs === null && (item.incident.outcome === "recovered" || item.incident.serviceSessionId !== input.identity.serviceSessionId));
|
|
5337
|
-
if (!entry) return;
|
|
5360
|
+
if (!(entry && online) || disposed) return;
|
|
5338
5361
|
const receipt = await send({
|
|
5339
5362
|
uploaderServiceSessionId: input.identity.serviceSessionId,
|
|
5340
5363
|
incident: entry.incident
|
|
@@ -5476,6 +5499,7 @@ function createServiceConnectionEvidenceObserver(input) {
|
|
|
5476
5499
|
return connectionId;
|
|
5477
5500
|
},
|
|
5478
5501
|
beginAttempt() {
|
|
5502
|
+
recorder.setOnline(false);
|
|
5479
5503
|
connectionId = randomUUID();
|
|
5480
5504
|
phase = "credentials";
|
|
5481
5505
|
attemptStartedAtMs = Date.now();
|
|
@@ -5485,6 +5509,7 @@ function createServiceConnectionEvidenceObserver(input) {
|
|
|
5485
5509
|
...retryDueAtMs === void 0 ? {} : { eventLoopDelayMs: Math.max(0, attemptStartedAtMs - retryDueAtMs) }
|
|
5486
5510
|
});
|
|
5487
5511
|
retryDueAtMs = void 0;
|
|
5512
|
+
return connectionId;
|
|
5488
5513
|
},
|
|
5489
5514
|
opening() {
|
|
5490
5515
|
phase = "opening";
|
|
@@ -5497,14 +5522,19 @@ function createServiceConnectionEvidenceObserver(input) {
|
|
|
5497
5522
|
});
|
|
5498
5523
|
const openedId = connectionId;
|
|
5499
5524
|
socket.onClose((closeCode) => {
|
|
5500
|
-
if (openedId === connectionId)
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5525
|
+
if (openedId === connectionId) {
|
|
5526
|
+
recorder.setOnline(false);
|
|
5527
|
+
record({
|
|
5528
|
+
kind: "disconnected",
|
|
5529
|
+
reason: input.isStopping() ? "stopped" : "socket_closed",
|
|
5530
|
+
closeCode
|
|
5531
|
+
});
|
|
5532
|
+
phase = "waiting";
|
|
5533
|
+
}
|
|
5505
5534
|
});
|
|
5506
5535
|
},
|
|
5507
|
-
acknowledged(heartbeatAt, transitioned) {
|
|
5536
|
+
acknowledged(heartbeatAt, transitioned, acknowledgedId) {
|
|
5537
|
+
if (acknowledgedId !== connectionId || phase !== "registering" && phase !== "online") return;
|
|
5508
5538
|
const timestamp = Date.parse(heartbeatAt);
|
|
5509
5539
|
if (Number.isFinite(timestamp)) lastHeartbeatAckAtMs = timestamp;
|
|
5510
5540
|
phase = "online";
|
|
@@ -10132,6 +10162,7 @@ async function buildDaemonStreamRequestHeaders(input) {
|
|
|
10132
10162
|
function createControlledShutdownCoordinator(input) {
|
|
10133
10163
|
let activeSessionShutdownResolver = null;
|
|
10134
10164
|
let hostDrain = null;
|
|
10165
|
+
let idleAdmission = null;
|
|
10135
10166
|
let shutdownAttempt = null;
|
|
10136
10167
|
const requestServiceStop = (stopCause) => {
|
|
10137
10168
|
if (input.isStopRequested()) return;
|
|
@@ -10142,7 +10173,65 @@ function createControlledShutdownCoordinator(input) {
|
|
|
10142
10173
|
shutdownAttempt?.reject(error);
|
|
10143
10174
|
throw error;
|
|
10144
10175
|
};
|
|
10176
|
+
const createShutdownAttempt = (stopCause) => {
|
|
10177
|
+
const attempt = {
|
|
10178
|
+
...Promise.withResolvers(),
|
|
10179
|
+
stopCause
|
|
10180
|
+
};
|
|
10181
|
+
const clear = () => {
|
|
10182
|
+
if (shutdownAttempt === attempt) shutdownAttempt = null;
|
|
10183
|
+
};
|
|
10184
|
+
attempt.promise.then(clear, clear);
|
|
10185
|
+
return attempt;
|
|
10186
|
+
};
|
|
10145
10187
|
return {
|
|
10188
|
+
async requestIfIdle(payload) {
|
|
10189
|
+
const stopCause = await resolveRecentDaemonSignalStopCause();
|
|
10190
|
+
if (shutdownAttempt || input.isStopRequested()) return {
|
|
10191
|
+
accepted: false,
|
|
10192
|
+
mode: "graceful",
|
|
10193
|
+
gracePeriodMs: payload.gracePeriodMs
|
|
10194
|
+
};
|
|
10195
|
+
const concurrentAdmission = idleAdmission;
|
|
10196
|
+
const admission = payload.tryBeginDrain().catch((error) => {
|
|
10197
|
+
if (!(error instanceof ExecutionHostError) || error.code !== "host.draining" || !concurrentAdmission) throw error;
|
|
10198
|
+
return concurrentAdmission;
|
|
10199
|
+
});
|
|
10200
|
+
idleAdmission ??= admission;
|
|
10201
|
+
let admitted;
|
|
10202
|
+
try {
|
|
10203
|
+
admitted = await admission;
|
|
10204
|
+
} finally {
|
|
10205
|
+
if (idleAdmission === admission) idleAdmission = null;
|
|
10206
|
+
}
|
|
10207
|
+
if (!admitted) return {
|
|
10208
|
+
accepted: false,
|
|
10209
|
+
mode: "graceful",
|
|
10210
|
+
gracePeriodMs: payload.gracePeriodMs
|
|
10211
|
+
};
|
|
10212
|
+
if (input.isStopRequested()) {
|
|
10213
|
+
payload.onAdmitted?.();
|
|
10214
|
+
return {
|
|
10215
|
+
accepted: true,
|
|
10216
|
+
mode: "graceful",
|
|
10217
|
+
gracePeriodMs: payload.gracePeriodMs
|
|
10218
|
+
};
|
|
10219
|
+
}
|
|
10220
|
+
const attempt = shutdownAttempt ?? createShutdownAttempt(stopCause);
|
|
10221
|
+
shutdownAttempt = attempt;
|
|
10222
|
+
if (activeSessionShutdownResolver) activeSessionShutdownResolver(attempt.stopCause);
|
|
10223
|
+
else {
|
|
10224
|
+
requestServiceStop(attempt.stopCause);
|
|
10225
|
+
attempt.resolve();
|
|
10226
|
+
}
|
|
10227
|
+
payload.onAdmitted?.();
|
|
10228
|
+
await attempt.promise;
|
|
10229
|
+
return {
|
|
10230
|
+
accepted: true,
|
|
10231
|
+
mode: "graceful",
|
|
10232
|
+
gracePeriodMs: payload.gracePeriodMs
|
|
10233
|
+
};
|
|
10234
|
+
},
|
|
10146
10235
|
failHostShutdown,
|
|
10147
10236
|
isDraining: () => shutdownAttempt !== null || input.isStopRequested(),
|
|
10148
10237
|
async completeQuiescentStop() {
|
|
@@ -10189,14 +10278,7 @@ function createControlledShutdownCoordinator(input) {
|
|
|
10189
10278
|
await payload.onAdmission?.(() => void 0);
|
|
10190
10279
|
await existingAttempt.promise;
|
|
10191
10280
|
} else if (activeSessionShutdownResolver) {
|
|
10192
|
-
const currentAttempt =
|
|
10193
|
-
...Promise.withResolvers(),
|
|
10194
|
-
stopCause
|
|
10195
|
-
};
|
|
10196
|
-
const clearAttempt = () => {
|
|
10197
|
-
if (shutdownAttempt === currentAttempt) shutdownAttempt = null;
|
|
10198
|
-
};
|
|
10199
|
-
currentAttempt.promise.then(clearAttempt, clearAttempt);
|
|
10281
|
+
const currentAttempt = createShutdownAttempt(stopCause);
|
|
10200
10282
|
const resolver = activeSessionShutdownResolver;
|
|
10201
10283
|
const commit = () => {
|
|
10202
10284
|
if (shutdownAttempt || activeSessionShutdownResolver !== resolver) throw new Error("Service session changed before Stop admission.");
|
|
@@ -10492,6 +10574,15 @@ const runAccountBoundDaemonServiceLoop = async (input) => {
|
|
|
10492
10574
|
routeCatalogState
|
|
10493
10575
|
}),
|
|
10494
10576
|
setLocalAgentEnabledHandler: async (payload) => await executionHost.call("setEnabled", payload),
|
|
10577
|
+
shutdownIfIdleHandler: async (payload, lifecycle) => {
|
|
10578
|
+
return await controlledShutdown.requestIfIdle({
|
|
10579
|
+
gracePeriodMs: payload.gracePeriodMs,
|
|
10580
|
+
onAdmitted: lifecycle?.onAdmitted,
|
|
10581
|
+
tryBeginDrain: async () => {
|
|
10582
|
+
return (await executionHost.call("beginDrain", { onlyIfIdle: true })).admission === "draining";
|
|
10583
|
+
}
|
|
10584
|
+
});
|
|
10585
|
+
},
|
|
10495
10586
|
shutdownHandler: async (payload, lifecycle) => {
|
|
10496
10587
|
await executionHost.call("health", {});
|
|
10497
10588
|
const admissionId = payload.accountAdmissionId;
|
|
@@ -10520,7 +10611,7 @@ const runAccountBoundDaemonServiceLoop = async (input) => {
|
|
|
10520
10611
|
const observed = await executionHost.call("health", {});
|
|
10521
10612
|
return {
|
|
10522
10613
|
acceptedWakeCount: observed.activeCount + observed.pendingCount,
|
|
10523
|
-
safeToSwitch: observed.localQuiescent && observed.unacknowledgedResultCount === 0,
|
|
10614
|
+
safeToSwitch: observed.admission === "open" && !observed.startupReplayPending && observed.localQuiescent && observed.unacknowledgedResultCount === 0,
|
|
10524
10615
|
unacknowledgedResultCount: observed.unacknowledgedResultCount
|
|
10525
10616
|
};
|
|
10526
10617
|
},
|
|
@@ -10612,10 +10703,10 @@ const runAccountBoundDaemonServiceLoop = async (input) => {
|
|
|
10612
10703
|
}
|
|
10613
10704
|
});
|
|
10614
10705
|
while (!stopRequested) try {
|
|
10615
|
-
connectionEvidence.beginAttempt();
|
|
10706
|
+
const connectionDiagnosticId = connectionEvidence.beginAttempt();
|
|
10616
10707
|
connectionState.set("connecting", { reason: resolveConnectingReason(reconnectAttempt) });
|
|
10617
10708
|
const connectionUrl = new URL(toDaemonStreamUrl(baseUrl));
|
|
10618
|
-
connectionUrl.searchParams.set(SERVICE_CONNECTION_ID_QUERY_PARAMETER,
|
|
10709
|
+
connectionUrl.searchParams.set(SERVICE_CONNECTION_ID_QUERY_PARAMETER, connectionDiagnosticId);
|
|
10619
10710
|
const wsUrl = connectionUrl.toString();
|
|
10620
10711
|
const authContext = await resolveDaemonStreamAuthContext({
|
|
10621
10712
|
requestUrl: wsUrl,
|
|
@@ -10682,7 +10773,7 @@ const runAccountBoundDaemonServiceLoop = async (input) => {
|
|
|
10682
10773
|
socket: ws,
|
|
10683
10774
|
touchRuntimeState: async (updates) => {
|
|
10684
10775
|
if (typeof updates.heartbeatAt === "string") {
|
|
10685
|
-
connectionEvidence.acknowledged(updates.heartbeatAt, connectionState.get().state !== "online");
|
|
10776
|
+
connectionEvidence.acknowledged(updates.heartbeatAt, connectionState.get().state !== "online", connectionDiagnosticId);
|
|
10686
10777
|
connectionState.set("online");
|
|
10687
10778
|
reconnectAttempt = 0;
|
|
10688
10779
|
recovery = null;
|
|
@@ -18051,4 +18142,4 @@ function parseDaemonRunMode(rawMode) {
|
|
|
18051
18142
|
//#endregion
|
|
18052
18143
|
export { renderHumanTextErrorCard as $, resolveLocalComponentsStatus as A, runAuthMenu as B, createQuietPresenter as C, emitCliJsonEnvelope as D, shouldEmitAgentOverview as E, buildCommandAuthenticationPromptMessage as F, recoverInterruptedComputerAuthHandoff as G, exchangeOneTimeTokenAuthSession as H, ensureCommandAuthenticationOrCancel as I, runDaemonServiceParticipationGate as J, exchangeComputerAuthorizationGrant as K, evaluateCommandAuthentication as L, LocalProjectConnectionError as M, validateLocalProjectConnectionPath as N, runDaemonStartupPreflight as O, connectWebSocket as P, renderHumanErrorCard as Q, runAuthLogin as R, reconcileCliVersionView as S, createDelayedSpinner as T, emitUnusedSetupSessionCleanupWarning as U, runAuthStatus as V, formatComputerAuthCleanupFailureSuffix as W, runDaemonStartDecisionPrompt as X, resolveDaemonServiceParticipationStatus as Y, buildHumanErrorCopy as Z, formatServiceParticipationReadinessLabel as _, runDaemonBackgroundStartForDecision as a, renderTextInfoCard as at, buildProfileWorkspacePresentation as b, runDaemonInterrupt as c, isReturnKeypress as ct, runDaemonServiceDetached as d, getCurrentCommandCheckState as dt, buildAuthStatusRows as et, runDaemonSnapshot as f, isCurrentCommandCheckScopeActive as ft, runDaemonUninstall as g, SERVICE_CONNECTION_ID_QUERY_PARAMETER as gt, runDaemonTeardownStrict as h, fetchAuthUserSnapshot as ht, runDaemonAutostart as i, renderInfoCard as it, writeInstalledLocalComponentsSnapshot as j, readDaemonIncidentLogTail as k, runDaemonReinstall as l, runInteractivePrompt as lt, runDaemonStop as m, startCurrentCommandCheckScope as mt, isManagedSystemServiceBootstrapRun as n, formatActiveOrganizationLabel as nt, runDaemonCancel as o, buildUnifiedCardFrame as ot, runDaemonStatusFlow as p, resetCurrentCommandCheckState as pt, revokePreparedAuthSession as q, runDaemon as r, buildTextInfoCardLines as rt, runDaemonInstall as s, promptTextEntry as st, bestEffortStopCurrentLaneDaemonService as t, buildAuthStatusSnapshot as tt, runDaemonRunAfterEntryChecks as u, finishCurrentCommandCheckScope as ut, formatServiceRuntimeHeadline as v, emitDaemonAgentOverview as w, buildProfileWorkspaceRows as x, resolveServiceParticipationReadiness as y, runAuthLogout as z };
|
|
18053
18144
|
|
|
18054
|
-
//# sourceMappingURL=service-
|
|
18145
|
+
//# sourceMappingURL=service-CPm2n9qw.js.map
|