openmeld 0.3.292 → 0.3.293
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-CCs8sUQS.js} +2 -2
- package/dist/{add-me-membership-DzyYrmrJ.js.map → add-me-membership-CCs8sUQS.js.map} +1 -1
- package/dist/{agents-Cx-N8w-U.js → agents-Ow9keQaE.js} +3 -3
- package/dist/{agents-Cx-N8w-U.js.map → agents-Ow9keQaE.js.map} +1 -1
- package/dist/{command-LBzVb7R2.js → command-Bjok_ELo.js} +6 -6
- package/dist/{command-LBzVb7R2.js.map → command-Bjok_ELo.js.map} +1 -1
- package/dist/{computer-connection-review-D32sB8oo.js → computer-connection-review-EUXp_Wi8.js} +2 -2
- package/dist/{computer-connection-review-D32sB8oo.js.map → computer-connection-review-EUXp_Wi8.js.map} +1 -1
- package/dist/{computer-disconnect-DJe5veAd.js → computer-disconnect-BkFLO8pE.js} +3 -3
- package/dist/{computer-disconnect-DJe5veAd.js.map → computer-disconnect-BkFLO8pE.js.map} +1 -1
- package/dist/{computer-setup-continuation-SasfkSwQ.js → computer-setup-continuation-twvv8WGB.js} +3 -3
- package/dist/{computer-setup-continuation-SasfkSwQ.js.map → computer-setup-continuation-twvv8WGB.js.map} +1 -1
- package/dist/{daemon-lifecycle-journal-BaI2xxdH.js → daemon-lifecycle-journal-ywEIaUn3.js} +2 -2
- package/dist/{daemon-lifecycle-journal-BaI2xxdH.js.map → daemon-lifecycle-journal-ywEIaUn3.js.map} +1 -1
- package/dist/{daemon-service-runtime-gMHnEHnq.js → daemon-service-runtime-Dg8V-t-u.js} +2 -2
- package/dist/{daemon-service-runtime-gMHnEHnq.js.map → daemon-service-runtime-Dg8V-t-u.js.map} +1 -1
- package/dist/{dist-CVuix2Ne.js → dist-B6YM6pO6.js} +9 -9
- package/dist/{dual-view-guide-catalog-BZtmfAkF.js → dual-view-guide-catalog-DE3NLJFV.js} +2 -2
- package/dist/{dual-view-guide-catalog-BZtmfAkF.js.map → dual-view-guide-catalog-DE3NLJFV.js.map} +1 -1
- package/dist/{entry-BM8DA2U-.js → entry-CVzIpV2o.js} +2 -2
- package/dist/{entry-BM8DA2U-.js.map → entry-CVzIpV2o.js.map} +1 -1
- package/dist/{installation-inventory-BBR228VY.js → installation-inventory-C0tUL2nW.js} +2 -2
- package/dist/{installation-inventory-BBR228VY.js.map → installation-inventory-C0tUL2nW.js.map} +1 -1
- package/dist/{installer-D4dGpL9N.js → installer-BDOyjY1v.js} +2 -2
- package/dist/{installer-D4dGpL9N.js.map → installer-BDOyjY1v.js.map} +1 -1
- package/dist/{meta-api-DgLrYkyU.js → meta-api-tolnQVpU.js} +2 -2
- package/dist/{meta-api-DgLrYkyU.js.map → meta-api-tolnQVpU.js.map} +1 -1
- package/dist/{openmeld-CinzKNUc.js → openmeld-ClgSnNPJ.js} +20 -20
- package/dist/{openmeld-CinzKNUc.js.map → openmeld-ClgSnNPJ.js.map} +1 -1
- package/dist/{openmeld-maintenance-worker-D0hTBra6.js → openmeld-maintenance-worker-Btj47phf.js} +8 -8
- package/dist/{openmeld-maintenance-worker-D0hTBra6.js.map → openmeld-maintenance-worker-Btj47phf.js.map} +1 -1
- package/dist/{openmeld-tools-update-coordinator-ChqDoSKS.js → openmeld-tools-update-coordinator-C3W6sFnm.js} +3 -3
- package/dist/{openmeld-tools-update-coordinator-ChqDoSKS.js.map → openmeld-tools-update-coordinator-C3W6sFnm.js.map} +1 -1
- package/dist/openmeld.js +4 -4
- package/dist/{prepare-session-executor-CovScwhU.js → prepare-session-executor-Cum_2pFY.js} +10 -10
- package/dist/{prepare-session-executor-CovScwhU.js.map → prepare-session-executor-Cum_2pFY.js.map} +1 -1
- package/dist/{runtime-D0ejcBmE.js → runtime-ogScfw4m.js} +6 -6
- package/dist/{runtime-D0ejcBmE.js.map → runtime-ogScfw4m.js.map} +1 -1
- package/dist/{service-Cb8xFGDs.js → service-CML_ZTQ7.js} +76 -41
- package/dist/service-CML_ZTQ7.js.map +1 -0
- package/dist/{service-account-control-DSGwWnIO.js → service-account-control-Bkgjt8Hs.js} +4 -4
- package/dist/{service-account-control-DSGwWnIO.js.map → service-account-control-Bkgjt8Hs.js.map} +1 -1
- package/dist/{service-control-capabilities-CM3-R3Xt.js → service-control-capabilities-Bvhzddzv.js} +2 -2
- package/dist/{service-control-capabilities-CM3-R3Xt.js.map → service-control-capabilities-Bvhzddzv.js.map} +1 -1
- package/dist/{service-control-capabilities-BW2hiUog.js → service-control-capabilities-CUfHlN2t.js} +1 -1
- package/dist/{state-MwOfpQOL.js → state-DI3VCm3Z.js} +2 -2
- package/dist/{state-MwOfpQOL.js.map → state-DI3VCm3Z.js.map} +1 -1
- package/dist/{updates-api-B6gsuJ7E.js → updates-api-C0n06BJr.js} +2 -2
- package/dist/{updates-api-B6gsuJ7E.js.map → updates-api-C0n06BJr.js.map} +1 -1
- package/dist/upgrade-DVlicVyI.js +3 -0
- package/dist/{upgrade-DHLGtpdq.js → upgrade-wV53HJsz.js} +5 -5
- package/dist/{upgrade-DHLGtpdq.js.map → upgrade-wV53HJsz.js.map} +1 -1
- package/dist/windows/openmeld-windows-process.exe +0 -0
- package/package.json +8 -8
- package/dist/service-Cb8xFGDs.js.map +0 -1
- package/dist/upgrade-D2Dlqtxw.js +0 -3
|
@@ -13,12 +13,12 @@ import { c as resolveCliBinaryPlatform } from "./cli-binary-manifest-t_TXQ6-t.js
|
|
|
13
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-B-iuoFzM.js";
|
|
14
14
|
import { d as openMeldDaemonControlPlaneRequestSchema, f as openMeldDaemonControlPlaneResponseSchema } from "./control-plane-CDbk-45J.js";
|
|
15
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-DfaHRitM.js";
|
|
16
|
-
import { m as hashBundledSkillAssets, p as computeDirectoryContentHash, u as loadSelectedSkillAssets } from "./state-
|
|
16
|
+
import { m as hashBundledSkillAssets, p as computeDirectoryContentHash, u as loadSelectedSkillAssets } from "./state-DI3VCm3Z.js";
|
|
17
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-DlpQwB6N.js";
|
|
18
|
-
import { A as prepareDaemonServiceBundle, G as readManagedCliInstallation, M as resolveAlignedDaemonActiveBundleEntryPath, N as resolveDaemonBundleEntryPathFromState, a as resolveDaemonRuntimeState, b as cleanupInactiveDaemonServiceBundles, f as listDaemonOwnedProcesses, h as resolveDaemonBundleIdFromEntryPath, i as readCurrentObservedDaemonRuntimeStatus, j as readDaemonActiveBundleState, n as getEffectiveDaemonRuntimeStatus, o as resolveDaemonServiceManagerForRuntimeState, p as extractDaemonCommandEntryPath, r as readCurrentDaemonRuntimeContext, s as waitForDaemonSystemServiceToStop, t as clearDaemonRuntimeStateIfDefinitelyStopped, u as cleanupLegacySharedDaemonServiceState, v as isOpenMeldManagedBinaryPath } from "./daemon-service-runtime-
|
|
18
|
+
import { A as prepareDaemonServiceBundle, G as readManagedCliInstallation, M as resolveAlignedDaemonActiveBundleEntryPath, N as resolveDaemonBundleEntryPathFromState, a as resolveDaemonRuntimeState, b as cleanupInactiveDaemonServiceBundles, f as listDaemonOwnedProcesses, h as resolveDaemonBundleIdFromEntryPath, i as readCurrentObservedDaemonRuntimeStatus, j as readDaemonActiveBundleState, n as getEffectiveDaemonRuntimeStatus, o as resolveDaemonServiceManagerForRuntimeState, p as extractDaemonCommandEntryPath, r as readCurrentDaemonRuntimeContext, s as waitForDaemonSystemServiceToStop, t as clearDaemonRuntimeStateIfDefinitelyStopped, u as cleanupLegacySharedDaemonServiceState, v as isOpenMeldManagedBinaryPath } from "./daemon-service-runtime-Dg8V-t-u.js";
|
|
19
19
|
import { i as writeDaemonRuntimeLease, r as readDaemonRuntimeLease } from "./daemon-runtime-lease-BMT2SIW9.js";
|
|
20
20
|
import { a as readPendingDaemonServiceUpdate } from "./daemon-service-update-state-BclTmkAC.js";
|
|
21
|
-
import { A as resolveDaemonStatusSnapshot, B as formatDaemonServiceRefreshReliabilityMessage, Bt as classifyDaemonServiceRunStartability, C as isSystemServiceStartupTimeoutError, D as captureDaemonServiceEvidence, E as startDaemonSystemServiceWithAutoRepair, Et as resolveCurrentDaemonExpectedVersion, F as buildDaemonServiceRefreshNextStep, G as buildDaemonServiceDependencyDetails, Ht as ensureDaemonSystemServiceCommandFiles, I as buildDaemonServiceRefreshPromptMessage, It as DAEMON_SERVICE_AUTO_HEAL_ANOMALIES, J as buildDaemonServiceDependencySummary, K as buildDaemonServiceDependencyMeaning, Lt as DAEMON_SERVICE_FULL_ALIGNMENT_ANOMALIES, M as resolveDaemonStatusAuthenticationAttention, Mt as buildDaemonServiceTargetSpec, N as resolveServiceReadiness, Nt as resolveDaemonServiceAlignmentDecision, O as captureDaemonServiceEvidenceBestEffort, Pt as isVersionDowngrade, R as buildDaemonServiceStatusReadOnlyDetail, Rt as DAEMON_SERVICE_REPAIR_ANOMALIES, S as isDaemonInventoryRunningAndStartReady$1, T as waitForSystemServiceStartup$1, Tt as readDaemonRuntimeContractRepairReport, U as clearDaemonStartFailureState, Ut as resolveInstalledDaemonSystemServiceCommandSpec, V as formatDaemonServiceUpdateRequiredMessage, Vt as classifyDaemonServiceWakeability, W as writeDaemonStartFailureState, X as resolveDaemonServiceDependencyDiagnostics, Y as buildDaemonServiceDependencyTitle, _ as runDaemonServiceLifecycle, _t as hasActiveDaemonOwners, a as resolveServiceUpdateUrgency, b as startDaemonServiceUpdateWorker, bt as resolveStoppedContractWriteBlockedReason, c as readCurrentLocalRuntimeReplyReadiness, d as assessCliUpdate, g as DaemonServiceLifecycleDrainTimeoutError, gt as formatDaemonOwnerSummaryLabel, h as scheduleDaemonServiceUpdate, ht as buildDaemonOwnerSnapshotFromObservedState, i as writeOpenMeldToolsMaintenancePolicy, j as resolveDaemonStatusAttention, jt as writeDaemonServiceContract, k as formatDaemonFailureContextText, mt as inspectDaemonServiceInventory, n as readOpenMeldToolsMaintenancePolicy, o as assessServerRequiredVersion, p as readOpenMeldToolsUpdateContextFromEnv, pt as resolveLocalServiceDemand, q as buildDaemonServiceDependencyNextStep, r as resolveOpenMeldToolsMaintenanceProjection, s as describeServerRequiredVersionUnavailableReason, t as createOpenMeldToolsUpdateCoordinator, v as ensureDaemonServiceMaintenanceInstalled, vt as readCurrentDaemonOwnerSnapshot, w as resolveSystemServiceStartupWaitMs, wt as ensureDaemonRuntimeContractState, x as uninstallDaemonServiceUpdateWorker, xt as summarizeDaemonOwnerSnapshot, yt as resolveDaemonStopStrategy, z as buildDaemonServiceUpdateRequiredNextStep, zt as DAEMON_SERVICE_WAKEABILITY_ADVISORY_ANOMALIES } from "./openmeld-tools-update-coordinator-
|
|
21
|
+
import { A as resolveDaemonStatusSnapshot, B as formatDaemonServiceRefreshReliabilityMessage, Bt as classifyDaemonServiceRunStartability, C as isSystemServiceStartupTimeoutError, D as captureDaemonServiceEvidence, E as startDaemonSystemServiceWithAutoRepair, Et as resolveCurrentDaemonExpectedVersion, F as buildDaemonServiceRefreshNextStep, G as buildDaemonServiceDependencyDetails, Ht as ensureDaemonSystemServiceCommandFiles, I as buildDaemonServiceRefreshPromptMessage, It as DAEMON_SERVICE_AUTO_HEAL_ANOMALIES, J as buildDaemonServiceDependencySummary, K as buildDaemonServiceDependencyMeaning, Lt as DAEMON_SERVICE_FULL_ALIGNMENT_ANOMALIES, M as resolveDaemonStatusAuthenticationAttention, Mt as buildDaemonServiceTargetSpec, N as resolveServiceReadiness, Nt as resolveDaemonServiceAlignmentDecision, O as captureDaemonServiceEvidenceBestEffort, Pt as isVersionDowngrade, R as buildDaemonServiceStatusReadOnlyDetail, Rt as DAEMON_SERVICE_REPAIR_ANOMALIES, S as isDaemonInventoryRunningAndStartReady$1, T as waitForSystemServiceStartup$1, Tt as readDaemonRuntimeContractRepairReport, U as clearDaemonStartFailureState, Ut as resolveInstalledDaemonSystemServiceCommandSpec, V as formatDaemonServiceUpdateRequiredMessage, Vt as classifyDaemonServiceWakeability, W as writeDaemonStartFailureState, X as resolveDaemonServiceDependencyDiagnostics, Y as buildDaemonServiceDependencyTitle, _ as runDaemonServiceLifecycle, _t as hasActiveDaemonOwners, a as resolveServiceUpdateUrgency, b as startDaemonServiceUpdateWorker, bt as resolveStoppedContractWriteBlockedReason, c as readCurrentLocalRuntimeReplyReadiness, d as assessCliUpdate, g as DaemonServiceLifecycleDrainTimeoutError, gt as formatDaemonOwnerSummaryLabel, h as scheduleDaemonServiceUpdate, ht as buildDaemonOwnerSnapshotFromObservedState, i as writeOpenMeldToolsMaintenancePolicy, j as resolveDaemonStatusAttention, jt as writeDaemonServiceContract, k as formatDaemonFailureContextText, mt as inspectDaemonServiceInventory, n as readOpenMeldToolsMaintenancePolicy, o as assessServerRequiredVersion, p as readOpenMeldToolsUpdateContextFromEnv, pt as resolveLocalServiceDemand, q as buildDaemonServiceDependencyNextStep, r as resolveOpenMeldToolsMaintenanceProjection, s as describeServerRequiredVersionUnavailableReason, t as createOpenMeldToolsUpdateCoordinator, v as ensureDaemonServiceMaintenanceInstalled, vt as readCurrentDaemonOwnerSnapshot, w as resolveSystemServiceStartupWaitMs, wt as ensureDaemonRuntimeContractState, x as uninstallDaemonServiceUpdateWorker, xt as summarizeDaemonOwnerSnapshot, yt as resolveDaemonStopStrategy, z as buildDaemonServiceUpdateRequiredNextStep, zt as DAEMON_SERVICE_WAKEABILITY_ADVISORY_ANOMALIES } from "./openmeld-tools-update-coordinator-C3W6sFnm.js";
|
|
22
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-GYsWoDuJ.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";
|
|
@@ -34,16 +34,16 @@ import { i as readDaemonServiceContract, n as isDaemonServiceContractIdentityReu
|
|
|
34
34
|
import { t as resolveOpenMeldEnvironmentTarget } from "./openmeld-environment-target-BOA_c8yO.js";
|
|
35
35
|
import { t as admitServiceAccountStop } from "./service-account-authorization-DbbHAoMV.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-ywEIaUn3.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-
|
|
40
|
+
import { P as getCommandEntryContract, Z as validateDaemonControlTargetInput, at as buildAgentOverviewFromContract, t as createAuthLoginGuideError } from "./dual-view-guide-catalog-DE3NLJFV.js";
|
|
41
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-FUf-2Hna.js";
|
|
42
42
|
import { a as readPendingOpenMeldToolsUpdateAttempt } from "./openmeld-tools-update-attempt-state-D8oDuOp9.js";
|
|
43
43
|
import { i as resolveOpenMeldToolsUpdateOperationProjection, n as waitForExternalOpenMeldToolsUpdate, r as waitForOpenMeldToolsUpdateCompletion, t as resolveExternalOpenMeldToolsUpdate } from "./openmeld-tools-update-join-CDWWs9KY.js";
|
|
44
44
|
import { t as createSetupUpdateObserver } from "./setup-update-progress-pq_ZnoqB.js";
|
|
45
45
|
import { t as childExecutionHostChannel } from "./process-channel-Dx1KqiZj.js";
|
|
46
|
-
import { n as collectSkillsReadinessSnapshot } from "./installation-inventory-
|
|
46
|
+
import { n as collectSkillsReadinessSnapshot } from "./installation-inventory-C0tUL2nW.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,
|
|
@@ -10067,29 +10075,56 @@ function normalizeOptionalString(value) {
|
|
|
10067
10075
|
//#region src/local-service/carrier/service-local-components-observation.ts
|
|
10068
10076
|
function createServiceLocalComponentsObservation(input) {
|
|
10069
10077
|
let observation = null;
|
|
10070
|
-
let
|
|
10078
|
+
let inspectionStartedAtMs = null;
|
|
10071
10079
|
let onRefresh;
|
|
10072
10080
|
let disposed = false;
|
|
10081
|
+
async function refresh() {
|
|
10082
|
+
try {
|
|
10083
|
+
observation = {
|
|
10084
|
+
value: await (input.inspect ?? resolveLocalComponentsStatus)(),
|
|
10085
|
+
observedAtMs: Date.now(),
|
|
10086
|
+
failed: false
|
|
10087
|
+
};
|
|
10088
|
+
if (!disposed) onRefresh?.();
|
|
10089
|
+
} catch (error) {
|
|
10090
|
+
observation = {
|
|
10091
|
+
value: null,
|
|
10092
|
+
observedAtMs: Date.now(),
|
|
10093
|
+
failed: true
|
|
10094
|
+
};
|
|
10095
|
+
if (!disposed) input.onError(error);
|
|
10096
|
+
} finally {
|
|
10097
|
+
inspectionStartedAtMs = null;
|
|
10098
|
+
}
|
|
10099
|
+
}
|
|
10073
10100
|
return {
|
|
10074
|
-
read(notify) {
|
|
10101
|
+
read(notify, onMissing) {
|
|
10075
10102
|
if (disposed) return null;
|
|
10076
10103
|
onRefresh = notify;
|
|
10077
|
-
|
|
10078
|
-
|
|
10079
|
-
|
|
10080
|
-
|
|
10081
|
-
|
|
10082
|
-
|
|
10083
|
-
|
|
10084
|
-
|
|
10085
|
-
observation
|
|
10086
|
-
|
|
10087
|
-
|
|
10088
|
-
|
|
10089
|
-
|
|
10090
|
-
|
|
10091
|
-
pending = null;
|
|
10104
|
+
const now = Date.now();
|
|
10105
|
+
const observationAgeMs = observation ? now - observation.observedAtMs : null;
|
|
10106
|
+
if (observation && observationAgeMs !== null && observationAgeMs < 3e4) {
|
|
10107
|
+
if (!observation.value) onMissing?.({
|
|
10108
|
+
reason: observation.failed ? "inspection_failed" : "empty_result",
|
|
10109
|
+
observationAgeMs,
|
|
10110
|
+
inspectionAgeMs: null
|
|
10111
|
+
});
|
|
10112
|
+
return observation.value;
|
|
10113
|
+
}
|
|
10114
|
+
if (inspectionStartedAtMs !== null) onMissing?.({
|
|
10115
|
+
reason: "inspection_pending",
|
|
10116
|
+
observationAgeMs,
|
|
10117
|
+
inspectionAgeMs: now - inspectionStartedAtMs
|
|
10092
10118
|
});
|
|
10119
|
+
else {
|
|
10120
|
+
onMissing?.({
|
|
10121
|
+
reason: observation ? "observation_expired" : "first_inspection",
|
|
10122
|
+
observationAgeMs,
|
|
10123
|
+
inspectionAgeMs: null
|
|
10124
|
+
});
|
|
10125
|
+
inspectionStartedAtMs = now;
|
|
10126
|
+
refresh();
|
|
10127
|
+
}
|
|
10093
10128
|
return null;
|
|
10094
10129
|
},
|
|
10095
10130
|
dispose() {
|
|
@@ -18254,4 +18289,4 @@ function parseDaemonRunMode(rawMode) {
|
|
|
18254
18289
|
//#endregion
|
|
18255
18290
|
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
18291
|
|
|
18257
|
-
//# sourceMappingURL=service-
|
|
18292
|
+
//# sourceMappingURL=service-CML_ZTQ7.js.map
|