openmeld 0.3.292 → 0.3.294
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-DzyYrmrJ.js → add-me-membership-C4nE3q77.js} +2 -2
- package/dist/{add-me-membership-DzyYrmrJ.js.map → add-me-membership-C4nE3q77.js.map} +1 -1
- package/dist/{agents-Cx-N8w-U.js → agents-n8zJg-mP.js} +9 -9
- package/dist/{agents-Cx-N8w-U.js.map → agents-n8zJg-mP.js.map} +1 -1
- package/dist/{api-client-foundation-D4qt8-I7.js → api-client-foundation-CRQZIYVN.js} +5 -5
- package/dist/{api-client-foundation-D4qt8-I7.js.map → api-client-foundation-CRQZIYVN.js.map} +1 -1
- package/dist/{api-client-foundation-f11_Z91X.js → api-client-foundation-DcWfF50S.js} +1 -1
- package/dist/{auth-session-GYsWoDuJ.js → auth-session-QFK36vfX.js} +2 -2
- package/dist/{auth-session-GYsWoDuJ.js.map → auth-session-QFK36vfX.js.map} +1 -1
- package/dist/auth-session-WM8aC6bg.js +3 -0
- package/dist/{channel-DfaHRitM.js → channel-D1NKTdY0.js} +3 -3
- package/dist/{channel-DfaHRitM.js.map → channel-D1NKTdY0.js.map} +1 -1
- package/dist/{cli-binary-manifest-t_TXQ6-t.js → cli-binary-manifest-DhSiC1mr.js} +2 -2
- package/dist/{cli-binary-manifest-t_TXQ6-t.js.map → cli-binary-manifest-DhSiC1mr.js.map} +1 -1
- package/dist/{cloud-computer-KEqLjDMV.js → cloud-computer-BXo_qq3t.js} +5 -5
- package/dist/{cloud-computer-KEqLjDMV.js.map → cloud-computer-BXo_qq3t.js.map} +1 -1
- package/dist/{command-LBzVb7R2.js → command-tf3JS9zQ.js} +17 -17
- package/dist/{command-LBzVb7R2.js.map → command-tf3JS9zQ.js.map} +1 -1
- package/dist/{computer-connection-review-D32sB8oo.js → computer-connection-review-Du83vbfo.js} +4 -4
- package/dist/{computer-connection-review-D32sB8oo.js.map → computer-connection-review-Du83vbfo.js.map} +1 -1
- package/dist/{computer-disconnect-DJe5veAd.js → computer-disconnect-DwEkzrH8.js} +7 -7
- package/dist/{computer-disconnect-DJe5veAd.js.map → computer-disconnect-DwEkzrH8.js.map} +1 -1
- package/dist/{computer-setup-continuation-SasfkSwQ.js → computer-setup-continuation-D1OrA5G_.js} +5 -5
- package/dist/{computer-setup-continuation-SasfkSwQ.js.map → computer-setup-continuation-D1OrA5G_.js.map} +1 -1
- package/dist/{computer-update-wait-CAvCeH6l.js → computer-update-wait-D4ly51hV.js} +4 -4
- package/dist/{computer-update-wait-CAvCeH6l.js.map → computer-update-wait-D4ly51hV.js.map} +1 -1
- package/dist/{context-CPKBlAps.js → context-DqEUJy_k.js} +5 -5
- package/dist/{context-CPKBlAps.js.map → context-DqEUJy_k.js.map} +1 -1
- package/dist/{daemon-device-id-B-iuoFzM.js → daemon-device-id-DLKuN3Eo.js} +3 -3
- package/dist/{daemon-device-id-B-iuoFzM.js.map → daemon-device-id-DLKuN3Eo.js.map} +1 -1
- package/dist/{daemon-lifecycle-journal-BaI2xxdH.js → daemon-lifecycle-journal-BV6D0rSF.js} +3 -3
- package/dist/{daemon-lifecycle-journal-BaI2xxdH.js.map → daemon-lifecycle-journal-BV6D0rSF.js.map} +1 -1
- package/dist/{daemon-service-runtime-gMHnEHnq.js → daemon-service-runtime-BKUCCet9.js} +90 -6
- package/dist/daemon-service-runtime-BKUCCet9.js.map +1 -0
- package/dist/{daemon-service-update-state-BclTmkAC.js → daemon-service-update-state-CtzTzni1.js} +2 -2
- package/dist/{daemon-service-update-state-BclTmkAC.js.map → daemon-service-update-state-CtzTzni1.js.map} +1 -1
- package/dist/{dispatch-owned-runtime-DlpQwB6N.js → dispatch-owned-runtime-B6VEu6Ak.js} +10 -10
- package/dist/{dispatch-owned-runtime-DlpQwB6N.js.map → dispatch-owned-runtime-B6VEu6Ak.js.map} +1 -1
- package/dist/dist-BQj7QeWU.js +34 -0
- package/dist/{dist-BA8Q1IB5.js → dist-DUg7lB-e.js} +1 -1
- package/dist/{dist-B08nRCGz.js → dist-DsyrZzyU.js} +5 -5
- package/dist/{dist-B08nRCGz.js.map → dist-DsyrZzyU.js.map} +1 -1
- package/dist/{dist-W42Tu_IN.js → dist-WejKqo8X.js} +2 -2
- package/dist/{dist-D_FzuWN-.js → dist-zY7dD_tQ.js} +2 -2
- package/dist/{dist-D_FzuWN-.js.map → dist-zY7dD_tQ.js.map} +1 -1
- package/dist/{dual-view-guide-catalog-BZtmfAkF.js → dual-view-guide-catalog-cokJ8-5D.js} +4 -4
- package/dist/{dual-view-guide-catalog-BZtmfAkF.js.map → dual-view-guide-catalog-cokJ8-5D.js.map} +1 -1
- package/dist/{elapsed-time-FUf-2Hna.js → elapsed-time-CviuvW6T.js} +2 -2
- package/dist/{elapsed-time-FUf-2Hna.js.map → elapsed-time-CviuvW6T.js.map} +1 -1
- package/dist/{entry-BM8DA2U-.js → entry-Dej02SVj.js} +8 -8
- package/dist/{entry-BM8DA2U-.js.map → entry-Dej02SVj.js.map} +1 -1
- package/dist/{installation-inventory-BBR228VY.js → installation-inventory-C8O-r8eI.js} +3 -3
- package/dist/{installation-inventory-BBR228VY.js.map → installation-inventory-C8O-r8eI.js.map} +1 -1
- package/dist/{installer-D4dGpL9N.js → installer-B_Vvfk67.js} +2 -2
- package/dist/{installer-D4dGpL9N.js.map → installer-B_Vvfk67.js.map} +1 -1
- package/dist/{local-components-DlEpUgN3.js → local-components-BpA9Lc4v.js} +48 -2
- package/dist/local-components-BpA9Lc4v.js.map +1 -0
- package/dist/{meta-api-DgLrYkyU.js → meta-api-brhELEyk.js} +7 -7
- package/dist/{meta-api-DgLrYkyU.js.map → meta-api-brhELEyk.js.map} +1 -1
- package/dist/{openmeld-CinzKNUc.js → openmeld-BtdOh4Rn.js} +37 -37
- package/dist/{openmeld-CinzKNUc.js.map → openmeld-BtdOh4Rn.js.map} +1 -1
- package/dist/{openmeld-environment-target-BOA_c8yO.js → openmeld-environment-target-mLK2dK1_.js} +2 -2
- package/dist/{openmeld-environment-target-BOA_c8yO.js.map → openmeld-environment-target-mLK2dK1_.js.map} +1 -1
- package/dist/{openmeld-maintenance-worker-D0hTBra6.js → openmeld-maintenance-worker-Cu-c8PjX.js} +12 -11
- package/dist/{openmeld-maintenance-worker-D0hTBra6.js.map → openmeld-maintenance-worker-Cu-c8PjX.js.map} +1 -1
- package/dist/{openmeld-tools-update-attempt-state-D8oDuOp9.js → openmeld-tools-update-attempt-state--4fS27OC.js} +2 -2
- package/dist/{openmeld-tools-update-attempt-state-D8oDuOp9.js.map → openmeld-tools-update-attempt-state--4fS27OC.js.map} +1 -1
- package/dist/{openmeld-tools-update-coordinator-ChqDoSKS.js → openmeld-tools-update-coordinator-y37jBxio.js} +39 -67
- package/dist/openmeld-tools-update-coordinator-y37jBxio.js.map +1 -0
- package/dist/{openmeld-tools-update-failure-2jySZ04B.js → openmeld-tools-update-failure-B4OLQAq7.js} +2 -2
- package/dist/{openmeld-tools-update-failure-2jySZ04B.js.map → openmeld-tools-update-failure-B4OLQAq7.js.map} +1 -1
- package/dist/{openmeld-tools-update-join-CDWWs9KY.js → openmeld-tools-update-join-B6HcSSiK.js} +11 -5
- package/dist/openmeld-tools-update-join-B6HcSSiK.js.map +1 -0
- package/dist/{openmeld-tools-update-process-frame-Dj3k5JHe.js → openmeld-tools-update-process-frame-CGFA81PP.js} +3 -3
- package/dist/{openmeld-tools-update-process-frame-Dj3k5JHe.js.map → openmeld-tools-update-process-frame-CGFA81PP.js.map} +1 -1
- package/dist/{openmeld-tools-update-process-frame-B-RacMxU.js → openmeld-tools-update-process-frame-D4LEFHvl.js} +1 -1
- package/dist/openmeld.js +6 -6
- package/dist/{prepare-provider-runtime-CQ7ZJMG8.js → prepare-provider-runtime-Cdm1_kJt.js} +9 -9
- package/dist/{prepare-provider-runtime-CQ7ZJMG8.js.map → prepare-provider-runtime-Cdm1_kJt.js.map} +1 -1
- package/dist/{prepare-session-executor-CovScwhU.js → prepare-session-executor-BnBsq6Vg.js} +20 -20
- package/dist/{prepare-session-executor-CovScwhU.js.map → prepare-session-executor-BnBsq6Vg.js.map} +1 -1
- package/dist/{presenter-BIwIweT9.js → presenter-DqdYrUMa.js} +2 -2
- package/dist/{presenter-BIwIweT9.js.map → presenter-DqdYrUMa.js.map} +1 -1
- package/dist/{process-channel-Dx1KqiZj.js → process-channel-Vz_ntXXU.js} +2 -2
- package/dist/{process-channel-Dx1KqiZj.js.map → process-channel-Vz_ntXXU.js.map} +1 -1
- package/dist/{runtime-D0ejcBmE.js → runtime-MZYGkNRp.js} +17 -17
- package/dist/{runtime-D0ejcBmE.js.map → runtime-MZYGkNRp.js.map} +1 -1
- package/dist/{runtime-agent-controller-reporting-submission-BgAI8B4L.js → runtime-agent-controller-reporting-submission-CGskliia.js} +7 -7
- package/dist/{runtime-agent-controller-reporting-submission-BgAI8B4L.js.map → runtime-agent-controller-reporting-submission-CGskliia.js.map} +1 -1
- package/dist/{runtime-transport-DNkqgRhX.js → runtime-transport-Ca0cGpAY.js} +2 -2
- package/dist/{runtime-transport-DNkqgRhX.js.map → runtime-transport-Ca0cGpAY.js.map} +1 -1
- package/dist/{sensitive-operation-credentials-Dsps0o1U.js → sensitive-operation-credentials-D7aFniHa.js} +3 -3
- package/dist/{sensitive-operation-credentials-Dsps0o1U.js.map → sensitive-operation-credentials-D7aFniHa.js.map} +1 -1
- package/dist/{service-Cb8xFGDs.js → service-B-jrhCpV.js} +106 -63
- package/dist/service-B-jrhCpV.js.map +1 -0
- package/dist/{service-account-authorization-DbbHAoMV.js → service-account-authorization-CdUOvV3c.js} +3 -3
- package/dist/{service-account-authorization-DbbHAoMV.js.map → service-account-authorization-CdUOvV3c.js.map} +1 -1
- package/dist/{service-account-control-DSGwWnIO.js → service-account-control-Sh8RsnY4.js} +8 -8
- package/dist/{service-account-control-DSGwWnIO.js.map → service-account-control-Sh8RsnY4.js.map} +1 -1
- package/dist/{service-control-capabilities-CM3-R3Xt.js → service-control-capabilities-BqgOUxQ-.js} +2 -2
- package/dist/{service-control-capabilities-CM3-R3Xt.js.map → service-control-capabilities-BqgOUxQ-.js.map} +1 -1
- package/dist/{service-control-capabilities-BW2hiUog.js → service-control-capabilities-_-vnkLh1.js} +1 -1
- package/dist/{state-MwOfpQOL.js → state-Dz2UWXBu.js} +2 -2
- package/dist/{state-MwOfpQOL.js.map → state-Dz2UWXBu.js.map} +1 -1
- package/dist/{updates-api-B6gsuJ7E.js → updates-api-CXRhfS1w.js} +13 -13
- package/dist/{updates-api-B6gsuJ7E.js.map → updates-api-CXRhfS1w.js.map} +1 -1
- package/dist/{upgrade-DHLGtpdq.js → upgrade-BtpXCy-Y.js} +22 -12
- package/dist/upgrade-BtpXCy-Y.js.map +1 -0
- package/dist/upgrade-CvNhk6zk.js +3 -0
- package/dist/windows/openmeld-windows-process.exe +0 -0
- package/package.json +8 -8
- package/dist/auth-session-BrKZEvdi.js +0 -3
- package/dist/daemon-service-runtime-gMHnEHnq.js.map +0 -1
- package/dist/dist-CVuix2Ne.js +0 -34
- package/dist/local-components-DlEpUgN3.js.map +0 -1
- package/dist/openmeld-tools-update-coordinator-ChqDoSKS.js.map +0 -1
- package/dist/openmeld-tools-update-join-CDWWs9KY.js.map +0 -1
- package/dist/service-Cb8xFGDs.js.map +0 -1
- package/dist/upgrade-D2Dlqtxw.js +0 -3
- package/dist/upgrade-DHLGtpdq.js.map +0 -1
|
@@ -5,45 +5,45 @@ import { D as openMeldRootDir, F as resolveOpenMeldRootDir, I as resolveOpenMeld
|
|
|
5
5
|
import { r as resolveAuthBaseUrl } from "./auth-url-CzfXOINs.js";
|
|
6
6
|
import { lt as daemonServiceLaneSchema } from "./dist-CfBtqP8H.js";
|
|
7
7
|
import { tt as sanitizeDispatchErrorSummary } from "./task-result-CWH3TdDu.js";
|
|
8
|
-
import { Db as COMPUTER_POWER_CAPABILITY_HEADER, El as SESSION_HISTORY_CAPABILITY_HEADER, En as createServiceConnectionEvidenceApi, Ja as BETTER_AUTH_DEVICE_AUTHORIZATION_GRANT_TYPE, Ll as sessionHistoryRequestFrameSchema, Ol as SESSION_HISTORY_RUNTIME_CAPABILITY, Pl as sessionHistoryPolicySchema, Py as localProjectControlDaemonFrameSchema, Ry as localProjectControlDiscoverProjectsResponseSchema, Tg as serviceConnectionEvidenceJournalSchema, Xa as betterAuthDeviceAuthorizationCodeRequestSchema, Za as betterAuthDeviceAuthorizationCodeResponseSchema, eo as betterAuthDeviceAuthorizationErrorResponseSchema, fb as computerFileAccessDaemonFrameSchema, io as betterAuthSessionSnapshotResponseSchema, kl as sessionHistoryAuditSchema, lb as COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY, no as betterAuthDeviceAuthorizationTokenRequestSchema, ro as betterAuthDeviceAuthorizationTokenResponseSchema, ub as OPENMELD_RUNTIME_CAPABILITIES_HEADER, ur as DAEMON_STREAM_KEEPALIVE_PING, wg as serviceConnectionEvidenceEventSchema, zl as sessionHistoryResultFrameSchema } 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 localFolderPickerHelperProtocolResultSchema, J as runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema, K as runtimeTransportLocalAgentControlManageProfileFoldersFramePayloadSchema, X as runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema, Xn as SPACE_WORK_HANDOFF_CAPABILITY_HEADER, _a as LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY, ba as localFolderPickerDaemonFrameSchema, cr as OPENMELD_COMPUTER_CARE_HEADER, ct as runtimeTransportRouteCatalogChangedFramePayloadSchema, et as runtimeTransportOpenMeldToolsControlResultFramePayloadSchema, f as localWakeRouteWorkingFolderObservationSchema, i as OPENMELD_EXECUTION_ADMISSION_HEADER, ia as OPENMELD_REASONING_STREAM_HEADER, nt as runtimeTransportRegisterSessionRequestSchema, q as runtimeTransportLocalAgentControlReadProfileWorkspaceFramePayloadSchema, r as OPENMELD_ADMISSION_EVIDENCE_HEADER, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, va as OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER, wa as localFolderPickerHelperResultSchema, z as runtimeTransportHeartbeatRequestSchema } from "./runtime-transport-
|
|
11
|
-
import { a as formatLocalSetupActionLabel, i as formatLocalSetupActionDescription, n as formatLocalComponentsSummaryDescription, o as installedLocalComponentsSnapshotSchema, r as formatLocalComponentsSummaryLabel } from "./local-components-
|
|
12
|
-
import { c as resolveCliBinaryPlatform } from "./cli-binary-manifest-
|
|
13
|
-
import { A as DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS, F as PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS, I as REGISTER_RESPONSE_TIMEOUT_MS, L as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS, M as HEARTBEAT_RESPONSE_TIMEOUT_MS, N as MAX_RECONNECT_DELAY_MS, O as DAEMON_STREAM_CONNECT_TIMEOUT_MS, P as PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS, R as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS, S as CONTROLLED_SHUTDOWN_REQUEST_TIMEOUT_MS, T as DAEMON_RUNTIME_CONTRACT_EPOCH, b as CATALOG_SYNC_RETRY_INTERVAL_MS, c as logComputerControlStage, d as normalizeOptionalText$2, f as normalizeText$1, i as resolvePreferredDaemonDeviceId, j as DEFAULT_RECONNECT_DELAY_MS, k as DAEMON_STREAM_KEEPALIVE_INTERVAL_MS, l as normalizeHeartbeatIntervalMs, n as ensureDaemonRuntimePaths, p as nowIsoString, r as resolveDaemonDeviceId, s as emitRunLine, v as toErrorMessage$6, w as CONTROLLED_SHUTDOWN_SOCKET_CLOSE_TIMEOUT_MS, x as CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS, y as warnDaemonEvent, z as RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS } from "./daemon-device-id-
|
|
8
|
+
import { Db as COMPUTER_POWER_CAPABILITY_HEADER, El as SESSION_HISTORY_CAPABILITY_HEADER, En as createServiceConnectionEvidenceApi, Ja as BETTER_AUTH_DEVICE_AUTHORIZATION_GRANT_TYPE, Ll as sessionHistoryRequestFrameSchema, Ol as SESSION_HISTORY_RUNTIME_CAPABILITY, Pl as sessionHistoryPolicySchema, Py as localProjectControlDaemonFrameSchema, Ry as localProjectControlDiscoverProjectsResponseSchema, Tg as serviceConnectionEvidenceJournalSchema, Xa as betterAuthDeviceAuthorizationCodeRequestSchema, Za as betterAuthDeviceAuthorizationCodeResponseSchema, eo as betterAuthDeviceAuthorizationErrorResponseSchema, fb as computerFileAccessDaemonFrameSchema, io as betterAuthSessionSnapshotResponseSchema, kl as sessionHistoryAuditSchema, lb as COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY, no as betterAuthDeviceAuthorizationTokenRequestSchema, ro as betterAuthDeviceAuthorizationTokenResponseSchema, ub as OPENMELD_RUNTIME_CAPABILITIES_HEADER, ur as DAEMON_STREAM_KEEPALIVE_PING, wg as serviceConnectionEvidenceEventSchema, zl as sessionHistoryResultFrameSchema } from "./dist-DsyrZzyU.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-Cdm1_kJt.js";
|
|
10
|
+
import { $ as runtimeTransportOpenMeldToolsControlFramePayloadSchema, Ca as localFolderPickerHelperProtocolResultSchema, J as runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema, K as runtimeTransportLocalAgentControlManageProfileFoldersFramePayloadSchema, X as runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema, Xn as SPACE_WORK_HANDOFF_CAPABILITY_HEADER, _a as LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY, ba as localFolderPickerDaemonFrameSchema, cr as OPENMELD_COMPUTER_CARE_HEADER, ct as runtimeTransportRouteCatalogChangedFramePayloadSchema, et as runtimeTransportOpenMeldToolsControlResultFramePayloadSchema, f as localWakeRouteWorkingFolderObservationSchema, i as OPENMELD_EXECUTION_ADMISSION_HEADER, ia as OPENMELD_REASONING_STREAM_HEADER, nt as runtimeTransportRegisterSessionRequestSchema, q as runtimeTransportLocalAgentControlReadProfileWorkspaceFramePayloadSchema, r as OPENMELD_ADMISSION_EVIDENCE_HEADER, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, va as OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER, wa as localFolderPickerHelperResultSchema, z as runtimeTransportHeartbeatRequestSchema } from "./runtime-transport-Ca0cGpAY.js";
|
|
11
|
+
import { R as openMeldToolsUpdateStepCode, a as formatLocalSetupActionLabel, i as formatLocalSetupActionDescription, n as formatLocalComponentsSummaryDescription, o as installedLocalComponentsSnapshotSchema, r as formatLocalComponentsSummaryLabel } from "./local-components-BpA9Lc4v.js";
|
|
12
|
+
import { c as resolveCliBinaryPlatform } from "./cli-binary-manifest-DhSiC1mr.js";
|
|
13
|
+
import { A as DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS, F as PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS, I as REGISTER_RESPONSE_TIMEOUT_MS, L as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS, M as HEARTBEAT_RESPONSE_TIMEOUT_MS, N as MAX_RECONNECT_DELAY_MS, O as DAEMON_STREAM_CONNECT_TIMEOUT_MS, P as PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS, R as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS, S as CONTROLLED_SHUTDOWN_REQUEST_TIMEOUT_MS, T as DAEMON_RUNTIME_CONTRACT_EPOCH, b as CATALOG_SYNC_RETRY_INTERVAL_MS, c as logComputerControlStage, d as normalizeOptionalText$2, f as normalizeText$1, i as resolvePreferredDaemonDeviceId, j as DEFAULT_RECONNECT_DELAY_MS, k as DAEMON_STREAM_KEEPALIVE_INTERVAL_MS, l as normalizeHeartbeatIntervalMs, n as ensureDaemonRuntimePaths, p as nowIsoString, r as resolveDaemonDeviceId, s as emitRunLine, v as toErrorMessage$6, w as CONTROLLED_SHUTDOWN_SOCKET_CLOSE_TIMEOUT_MS, x as CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS, y as warnDaemonEvent, z as RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS } from "./daemon-device-id-DLKuN3Eo.js";
|
|
14
14
|
import { d as openMeldDaemonControlPlaneRequestSchema, f as openMeldDaemonControlPlaneResponseSchema } from "./control-plane-CDbk-45J.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-
|
|
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,
|
|
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-D1NKTdY0.js";
|
|
16
|
+
import { m as hashBundledSkillAssets, p as computeDirectoryContentHash, u as loadSelectedSkillAssets } from "./state-Dz2UWXBu.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-B6VEu6Ak.js";
|
|
18
|
+
import { A as prepareDaemonServiceBundle, H as readOpenMeldToolsUpdateContextFromEnv, M as resolveAlignedDaemonActiveBundleEntryPath, N as resolveDaemonBundleEntryPathFromState, U as readUpdateStep, Y as readManagedCliInstallation, 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-BKUCCet9.js";
|
|
19
19
|
import { i as writeDaemonRuntimeLease, r as readDaemonRuntimeLease } from "./daemon-runtime-lease-BMT2SIW9.js";
|
|
20
|
-
import { a as readPendingDaemonServiceUpdate } from "./daemon-service-update-state-
|
|
21
|
-
import { A as
|
|
22
|
-
import { E as withAdmittedServiceSession, S as recordInterruptedComputerAuthSessionRecoveryFailure, a as beginAuthSessionTransition, c as completeInterruptedComputerAuthSessionRecovery, ct as formatOpenMeldCliCommands, d as getAuthSessionState, g as markInterruptedComputerAuthSessionRecovery, i as assertAuthSessionMutationAvailable, k as ServiceAccountAdmissionError, m as hasInterruptedComputerAuthSessionTransition, n as AuthSessionRecoveryInProgressError, o as buildStoredAuthSessionIdentity, ot as formatInlineOpenMeldCliCommands, p as getInterruptedComputerAuthSessionRecovery, s as clearAuthSession, st as formatOpenMeldCliCommand, ut as formatOpenMeldCliTextBlock, v as onAuthSessionCredentialAvailable, w as setAuthSession, y as onAuthSessionCredentialObservation } from "./auth-session-
|
|
20
|
+
import { a as readPendingDaemonServiceUpdate } from "./daemon-service-update-state-CtzTzni1.js";
|
|
21
|
+
import { A as resolveDaemonStatusAttention, At as writeDaemonServiceContract, B as formatDaemonServiceUpdateRequiredMessage, Bt as classifyDaemonServiceWakeability, C as resolveSystemServiceStartupWaitMs, Ct as ensureDaemonRuntimeContractState, D as captureDaemonServiceEvidenceBestEffort, E as captureDaemonServiceEvidence, F as buildDaemonServiceRefreshPromptMessage, Ft as DAEMON_SERVICE_AUTO_HEAL_ANOMALIES, G as buildDaemonServiceDependencyMeaning, H as clearDaemonStartFailureState, Ht as resolveInstalledDaemonSystemServiceCommandSpec, It as DAEMON_SERVICE_FULL_ALIGNMENT_ANOMALIES, J as buildDaemonServiceDependencyTitle, K as buildDaemonServiceDependencyNextStep, L as buildDaemonServiceStatusReadOnlyDetail, Lt as DAEMON_SERVICE_REPAIR_ANOMALIES, M as resolveServiceReadiness, Mt as resolveDaemonServiceAlignmentDecision, Nt as isVersionDowngrade, O as formatDaemonFailureContextText, P as buildDaemonServiceRefreshNextStep, R as buildDaemonServiceUpdateRequiredNextStep, Rt as DAEMON_SERVICE_WAKEABILITY_ADVISORY_ANOMALIES, S as isSystemServiceStartupTimeoutError, T as startDaemonSystemServiceWithAutoRepair, Tt as resolveCurrentDaemonExpectedVersion, U as writeDaemonStartFailureState, Vt as ensureDaemonSystemServiceCommandFiles, W as buildDaemonServiceDependencyDetails, Y as resolveDaemonServiceDependencyDiagnostics, _ as ensureDaemonServiceMaintenanceInstalled, _t as readCurrentDaemonOwnerSnapshot, a as resolveServiceUpdateUrgency, b as uninstallDaemonServiceUpdateWorker, bt as summarizeDaemonOwnerSnapshot, c as readCurrentLocalRuntimeReplyReadiness, d as assessCliUpdate, ft as resolveLocalServiceDemand, g as runDaemonServiceLifecycle, gt as hasActiveDaemonOwners, h as DaemonServiceLifecycleDrainTimeoutError, ht as formatDaemonOwnerSummaryLabel, i as writeOpenMeldToolsMaintenancePolicy, j as resolveDaemonStatusAuthenticationAttention, jt as buildDaemonServiceTargetSpec, k as resolveDaemonStatusSnapshot, m as scheduleDaemonServiceUpdate, mt as buildDaemonOwnerSnapshotFromObservedState, n as readOpenMeldToolsMaintenancePolicy, o as assessServerRequiredVersion, pt as inspectDaemonServiceInventory, q as buildDaemonServiceDependencySummary, r as resolveOpenMeldToolsMaintenanceProjection, s as describeServerRequiredVersionUnavailableReason, t as createOpenMeldToolsUpdateCoordinator, vt as resolveDaemonStopStrategy, w as waitForSystemServiceStartup$1, wt as readDaemonRuntimeContractRepairReport, x as isDaemonInventoryRunningAndStartReady$1, y as startDaemonServiceUpdateWorker, yt as resolveStoppedContractWriteBlockedReason, z as formatDaemonServiceRefreshReliabilityMessage, zt as classifyDaemonServiceRunStartability } from "./openmeld-tools-update-coordinator-y37jBxio.js";
|
|
22
|
+
import { E as withAdmittedServiceSession, S as recordInterruptedComputerAuthSessionRecoveryFailure, a as beginAuthSessionTransition, c as completeInterruptedComputerAuthSessionRecovery, ct as formatOpenMeldCliCommands, d as getAuthSessionState, g as markInterruptedComputerAuthSessionRecovery, i as assertAuthSessionMutationAvailable, k as ServiceAccountAdmissionError, m as hasInterruptedComputerAuthSessionTransition, n as AuthSessionRecoveryInProgressError, o as buildStoredAuthSessionIdentity, ot as formatInlineOpenMeldCliCommands, p as getInterruptedComputerAuthSessionRecovery, s as clearAuthSession, st as formatOpenMeldCliCommand, ut as formatOpenMeldCliTextBlock, v as onAuthSessionCredentialAvailable, w as setAuthSession, y as onAuthSessionCredentialObservation } from "./auth-session-QFK36vfX.js";
|
|
23
23
|
import { D as createServiceSpawnPendingIssue, S as resolveOpenMeldLaneDescriptor, a as isOpenMeldLockError, d as resolveOpenMeldOrphanedLockIssue, j as formatLocalMachineIssueMessage, w as assessLocalMachineFailure } from "./lock-B0YzvcUu.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-CGgHQJDn.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-DqEUJy_k.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-BJqUWJvZ.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-DqdYrUMa.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-CRQZIYVN.js";
|
|
33
33
|
import { i as readDaemonServiceContract, n as isDaemonServiceContractIdentityReusable, o as upsertDaemonServiceContract, t as clearDaemonServiceContract } from "./daemon-service-contract-B1EbK5p7.js";
|
|
34
|
-
import { t as resolveOpenMeldEnvironmentTarget } from "./openmeld-environment-target-
|
|
35
|
-
import { t as admitServiceAccountStop } from "./service-account-authorization-
|
|
34
|
+
import { t as resolveOpenMeldEnvironmentTarget } from "./openmeld-environment-target-mLK2dK1_.js";
|
|
35
|
+
import { t as admitServiceAccountStop } from "./service-account-authorization-CdUOvV3c.js";
|
|
36
36
|
import { i as requestLocalDaemonShutdown, r as requestLocalDaemonServiceUpdateReadiness, s as sendLocalDaemonControlPlaneRequest, t as LocalDaemonControlPlaneClientError } from "./client-BPUPVl9o.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-
|
|
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-BV6D0rSF.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-CSD613gh.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-
|
|
42
|
-
import { a as readPendingOpenMeldToolsUpdateAttempt } from "./openmeld-tools-update-attempt-state
|
|
43
|
-
import { i as resolveOpenMeldToolsUpdateOperationProjection, n as waitForExternalOpenMeldToolsUpdate, r as waitForOpenMeldToolsUpdateCompletion, t as resolveExternalOpenMeldToolsUpdate } from "./openmeld-tools-update-join-
|
|
40
|
+
import { P as getCommandEntryContract, Z as validateDaemonControlTargetInput, at as buildAgentOverviewFromContract, t as createAuthLoginGuideError } from "./dual-view-guide-catalog-cokJ8-5D.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-CviuvW6T.js";
|
|
42
|
+
import { a as readPendingOpenMeldToolsUpdateAttempt } from "./openmeld-tools-update-attempt-state--4fS27OC.js";
|
|
43
|
+
import { i as resolveOpenMeldToolsUpdateOperationProjection, n as waitForExternalOpenMeldToolsUpdate, r as waitForOpenMeldToolsUpdateCompletion, t as resolveExternalOpenMeldToolsUpdate } from "./openmeld-tools-update-join-B6HcSSiK.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-Vz_ntXXU.js";
|
|
46
|
+
import { n as collectSkillsReadinessSnapshot } from "./installation-inventory-C8O-r8eI.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";
|
|
@@ -8169,7 +8169,7 @@ async function runDaemonSocketSession(input) {
|
|
|
8169
8169
|
let closeReason = "closed";
|
|
8170
8170
|
const socketConnectedAtMs = Date.now();
|
|
8171
8171
|
let heartbeatInFlight = false;
|
|
8172
|
-
let
|
|
8172
|
+
let pendingHeartbeatPublication = null;
|
|
8173
8173
|
const heartbeatIdleWaiters = [];
|
|
8174
8174
|
let acceptingDispatches = false;
|
|
8175
8175
|
let shutdownAdmissionEvidence = null;
|
|
@@ -8271,7 +8271,7 @@ async function runDaemonSocketSession(input) {
|
|
|
8271
8271
|
function retireTransport(error) {
|
|
8272
8272
|
if (closed) return;
|
|
8273
8273
|
closed = true;
|
|
8274
|
-
|
|
8274
|
+
pendingHeartbeatPublication = null;
|
|
8275
8275
|
clearHeartbeatTimer();
|
|
8276
8276
|
clearRuntimeAgentControllerReportSyncTimer();
|
|
8277
8277
|
keepalive.stop();
|
|
@@ -8450,7 +8450,7 @@ async function runDaemonSocketSession(input) {
|
|
|
8450
8450
|
return;
|
|
8451
8451
|
}
|
|
8452
8452
|
if (heartbeatInFlight) {
|
|
8453
|
-
if (options.
|
|
8453
|
+
if (options.publishAfterInFlight) pendingHeartbeatPublication = options.publishAfterInFlight;
|
|
8454
8454
|
return;
|
|
8455
8455
|
}
|
|
8456
8456
|
heartbeatInFlight = true;
|
|
@@ -8459,7 +8459,7 @@ async function runDaemonSocketSession(input) {
|
|
|
8459
8459
|
profileId,
|
|
8460
8460
|
leaseEpoch
|
|
8461
8461
|
})).sort((left, right) => left.profileId.localeCompare(right.profileId));
|
|
8462
|
-
const localComponentsStatus =
|
|
8462
|
+
const localComponentsStatus = input.localComponentsObservation.read(onLocalComponentsRefreshed);
|
|
8463
8463
|
const heartbeatRequest = runtimeTransportHeartbeatRequestSchema.safeParse({
|
|
8464
8464
|
v: 1,
|
|
8465
8465
|
ownerUserId: input.ownerUserId,
|
|
@@ -8548,7 +8548,7 @@ async function runDaemonSocketSession(input) {
|
|
|
8548
8548
|
startSupplementalEvidenceSyncs();
|
|
8549
8549
|
} catch (error) {
|
|
8550
8550
|
if (recordHeartbeatFailure(error) && !options.requireAcknowledgement) {
|
|
8551
|
-
|
|
8551
|
+
pendingHeartbeatPublication = null;
|
|
8552
8552
|
terminateForReconnect("heartbeat_failed");
|
|
8553
8553
|
return;
|
|
8554
8554
|
}
|
|
@@ -8563,11 +8563,11 @@ async function runDaemonSocketSession(input) {
|
|
|
8563
8563
|
if (options.requireAcknowledgement) throw error;
|
|
8564
8564
|
} finally {
|
|
8565
8565
|
heartbeatInFlight = false;
|
|
8566
|
-
const
|
|
8567
|
-
|
|
8568
|
-
if (!closed &&
|
|
8566
|
+
const pendingPublication = pendingHeartbeatPublication;
|
|
8567
|
+
pendingHeartbeatPublication = null;
|
|
8568
|
+
if (!closed && pendingPublication) scheduleHeartbeat({
|
|
8569
8569
|
delayMs: 0,
|
|
8570
|
-
reason:
|
|
8570
|
+
reason: pendingPublication
|
|
8571
8571
|
});
|
|
8572
8572
|
resolveHeartbeatIdleWaiters(heartbeatIdleWaiters);
|
|
8573
8573
|
schedulePendingLocalExecutionEvidenceRefreshIfNeeded();
|
|
@@ -8582,8 +8582,9 @@ async function runDaemonSocketSession(input) {
|
|
|
8582
8582
|
function scheduleHeartbeat(inputSchedule) {
|
|
8583
8583
|
if (closed) return;
|
|
8584
8584
|
const normalizedDelayMs = Math.max(0, Math.trunc(inputSchedule.delayMs));
|
|
8585
|
-
|
|
8586
|
-
|
|
8585
|
+
const publication = inputSchedule.reason === "execution_host_admission_changed" || inputSchedule.reason === "local_components_refreshed" ? inputSchedule.reason : void 0;
|
|
8586
|
+
if (heartbeatInFlight && publication) {
|
|
8587
|
+
pendingHeartbeatPublication = publication;
|
|
8587
8588
|
return;
|
|
8588
8589
|
}
|
|
8589
8590
|
const dueAtMs = Date.now() + normalizedDelayMs;
|
|
@@ -8594,8 +8595,8 @@ async function runDaemonSocketSession(input) {
|
|
|
8594
8595
|
heartbeatTimer = null;
|
|
8595
8596
|
heartbeatTimerDueAtMs = null;
|
|
8596
8597
|
sendHeartbeat({
|
|
8597
|
-
advanceIdleCadence:
|
|
8598
|
-
|
|
8598
|
+
advanceIdleCadence: publication === void 0,
|
|
8599
|
+
publishAfterInFlight: publication
|
|
8599
8600
|
}).catch((error) => {
|
|
8600
8601
|
emitRunLine({
|
|
8601
8602
|
presenter: input.presenter,
|
|
@@ -8674,15 +8675,22 @@ async function runDaemonSocketSession(input) {
|
|
|
8674
8675
|
let computerCareSupported = false;
|
|
8675
8676
|
let executionAdmissionSupported = false;
|
|
8676
8677
|
let admissionEvidenceSupported = false;
|
|
8677
|
-
const
|
|
8678
|
-
if (lastHeartbeatSentAtMs !== null) scheduleHeartbeat({
|
|
8678
|
+
const onLocalComponentsRefreshed = () => {
|
|
8679
|
+
if (heartbeatInFlight || lastHeartbeatSentAtMs !== null) scheduleHeartbeat({
|
|
8679
8680
|
delayMs: 0,
|
|
8680
8681
|
reason: "local_components_refreshed"
|
|
8681
8682
|
});
|
|
8682
|
-
}
|
|
8683
|
+
};
|
|
8683
8684
|
const registerDaemonSession = async (routeCatalog) => {
|
|
8684
8685
|
const connectionGeneration = activeConnectionGeneration;
|
|
8685
|
-
const localComponentsStatus =
|
|
8686
|
+
const localComponentsStatus = input.localComponentsObservation.read(onLocalComponentsRefreshed, (detail) => {
|
|
8687
|
+
warnDaemonEvent("[openmeld.registration_component_status_missing]", {
|
|
8688
|
+
daemonSessionId: input.daemonSessionId,
|
|
8689
|
+
deviceId: input.deviceId,
|
|
8690
|
+
connectionGeneration,
|
|
8691
|
+
...detail
|
|
8692
|
+
});
|
|
8693
|
+
});
|
|
8686
8694
|
const registerPayload = runtimeTransportRegisterSessionRequestSchema.safeParse({
|
|
8687
8695
|
v: 1,
|
|
8688
8696
|
ownerUserId: input.ownerUserId,
|
|
@@ -9826,10 +9834,18 @@ async function resolveLocalComponentsStatus(input = {}) {
|
|
|
9826
9834
|
]);
|
|
9827
9835
|
const resolvedCli = await resolveCliComponentStatus(input);
|
|
9828
9836
|
const installationSource = await resolveLocalComponentsInstallationSource({ expectedVersion: resolvedCli.packageVersion });
|
|
9829
|
-
const
|
|
9837
|
+
const reasonCodes = new Set(resolvedCli.reasonCodes);
|
|
9838
|
+
if (updateProjection) {
|
|
9839
|
+
if (updateProjection.failureCode) reasonCodes.add(updateProjection.failureCode);
|
|
9840
|
+
if (updateProjection.operation.phase !== "updated") {
|
|
9841
|
+
const step = await readUpdateStep(updateProjection.operation, updateProjection.checkpointOwner) ?? updateProjection.fallbackStep;
|
|
9842
|
+
if (step) reasonCodes.add(openMeldToolsUpdateStepCode(step));
|
|
9843
|
+
}
|
|
9844
|
+
}
|
|
9845
|
+
const cli = {
|
|
9830
9846
|
...resolvedCli,
|
|
9831
|
-
reasonCodes:
|
|
9832
|
-
}
|
|
9847
|
+
reasonCodes: [...reasonCodes]
|
|
9848
|
+
};
|
|
9833
9849
|
const selectedSkill = await loadSelectedSkillAssets();
|
|
9834
9850
|
const setupAction = resolveLocalComponentsSetupAction({
|
|
9835
9851
|
cliStatus: cli.status,
|
|
@@ -10067,29 +10083,56 @@ function normalizeOptionalString(value) {
|
|
|
10067
10083
|
//#region src/local-service/carrier/service-local-components-observation.ts
|
|
10068
10084
|
function createServiceLocalComponentsObservation(input) {
|
|
10069
10085
|
let observation = null;
|
|
10070
|
-
let
|
|
10086
|
+
let inspectionStartedAtMs = null;
|
|
10071
10087
|
let onRefresh;
|
|
10072
10088
|
let disposed = false;
|
|
10089
|
+
async function refresh() {
|
|
10090
|
+
try {
|
|
10091
|
+
observation = {
|
|
10092
|
+
value: await (input.inspect ?? resolveLocalComponentsStatus)(),
|
|
10093
|
+
observedAtMs: Date.now(),
|
|
10094
|
+
failed: false
|
|
10095
|
+
};
|
|
10096
|
+
if (!disposed) onRefresh?.();
|
|
10097
|
+
} catch (error) {
|
|
10098
|
+
observation = {
|
|
10099
|
+
value: null,
|
|
10100
|
+
observedAtMs: Date.now(),
|
|
10101
|
+
failed: true
|
|
10102
|
+
};
|
|
10103
|
+
if (!disposed) input.onError(error);
|
|
10104
|
+
} finally {
|
|
10105
|
+
inspectionStartedAtMs = null;
|
|
10106
|
+
}
|
|
10107
|
+
}
|
|
10073
10108
|
return {
|
|
10074
|
-
read(notify) {
|
|
10109
|
+
read(notify, onMissing) {
|
|
10075
10110
|
if (disposed) return null;
|
|
10076
10111
|
onRefresh = notify;
|
|
10077
|
-
|
|
10078
|
-
|
|
10079
|
-
|
|
10080
|
-
|
|
10081
|
-
|
|
10082
|
-
|
|
10083
|
-
|
|
10084
|
-
|
|
10085
|
-
observation
|
|
10086
|
-
|
|
10087
|
-
|
|
10088
|
-
|
|
10089
|
-
|
|
10090
|
-
|
|
10091
|
-
pending = null;
|
|
10112
|
+
const now = Date.now();
|
|
10113
|
+
const observationAgeMs = observation ? now - observation.observedAtMs : null;
|
|
10114
|
+
if (observation && observationAgeMs !== null && observationAgeMs < 3e4) {
|
|
10115
|
+
if (!observation.value) onMissing?.({
|
|
10116
|
+
reason: observation.failed ? "inspection_failed" : "empty_result",
|
|
10117
|
+
observationAgeMs,
|
|
10118
|
+
inspectionAgeMs: null
|
|
10119
|
+
});
|
|
10120
|
+
return observation.value;
|
|
10121
|
+
}
|
|
10122
|
+
if (inspectionStartedAtMs !== null) onMissing?.({
|
|
10123
|
+
reason: "inspection_pending",
|
|
10124
|
+
observationAgeMs,
|
|
10125
|
+
inspectionAgeMs: now - inspectionStartedAtMs
|
|
10092
10126
|
});
|
|
10127
|
+
else {
|
|
10128
|
+
onMissing?.({
|
|
10129
|
+
reason: observation ? "observation_expired" : "first_inspection",
|
|
10130
|
+
observationAgeMs,
|
|
10131
|
+
inspectionAgeMs: null
|
|
10132
|
+
});
|
|
10133
|
+
inspectionStartedAtMs = now;
|
|
10134
|
+
refresh();
|
|
10135
|
+
}
|
|
10093
10136
|
return null;
|
|
10094
10137
|
},
|
|
10095
10138
|
dispose() {
|
|
@@ -18254,4 +18297,4 @@ function parseDaemonRunMode(rawMode) {
|
|
|
18254
18297
|
//#endregion
|
|
18255
18298
|
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 };
|
|
18256
18299
|
|
|
18257
|
-
//# sourceMappingURL=service-
|
|
18300
|
+
//# sourceMappingURL=service-B-jrhCpV.js.map
|