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