openmeld 0.3.191 → 0.3.192
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-CjXRkFcs.js → add-me-membership-C47bzJH_.js} +2 -2
- package/dist/{add-me-membership-CjXRkFcs.js.map → add-me-membership-C47bzJH_.js.map} +1 -1
- package/dist/{command-DXEWo7wX.js → command-BG-s6whz.js} +66 -11
- package/dist/{command-DXEWo7wX.js.map → command-BG-s6whz.js.map} +1 -1
- package/dist/{elapsed-time-flevKpRo.js → elapsed-time-CWidgsKt.js} +2 -2
- package/dist/{elapsed-time-flevKpRo.js.map → elapsed-time-CWidgsKt.js.map} +1 -1
- package/dist/{installer-DMkiGgqw.js → installer-B_RYaLD8.js} +2 -2
- package/dist/{installer-DMkiGgqw.js.map → installer-B_RYaLD8.js.map} +1 -1
- package/dist/{openmeld-D11QCDNM.js → openmeld-C3EapSrF.js} +101 -32
- package/dist/openmeld-C3EapSrF.js.map +1 -0
- package/dist/{openmeld-maintenance-worker-BR0TvFpV.js → openmeld-maintenance-worker-DJz-lxZG.js} +3 -3
- package/dist/{openmeld-maintenance-worker-BR0TvFpV.js.map → openmeld-maintenance-worker-DJz-lxZG.js.map} +1 -1
- package/dist/{openmeld-tools-update-coordinator-CmUkuRyD.js → openmeld-tools-update-coordinator-MHxhBR8_.js} +73 -31
- package/dist/openmeld-tools-update-coordinator-MHxhBR8_.js.map +1 -0
- package/dist/openmeld.js +3 -3
- package/dist/upgrade-C2F1k7lc.js +4 -0
- package/dist/{upgrade-BXB-RQkR.js → upgrade-D-8UCiVo.js} +3 -3
- package/dist/{upgrade-BXB-RQkR.js.map → upgrade-D-8UCiVo.js.map} +1 -1
- package/package.json +1 -1
- package/dist/openmeld-D11QCDNM.js.map +0 -1
- package/dist/openmeld-tools-update-coordinator-CmUkuRyD.js.map +0 -1
- package/dist/upgrade-BwRR4HXH.js +0 -4
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
import { c as toSpaceDispatchLookupUrl, h as toSpaceResultUrl, i as toSpaceContractUrl, l as toSpaceDispatchTraceUrl, r as toSpaceBoardUrl, t as normalizeBaseUrl } from "./urls-4D7CaXe3.js";
|
|
4
4
|
import { $ as openMeldManagedVersionBinaryPath, A as formatLocalMachineIssueMessage, C as LocalMachineFailureError, D as createOrphanedSetupConcurrencyIssue, I as accountsDir, J as normalizeAccountKey, N as accountProfileSpaceCacheDir, O as isLocalMachineFailureError, P as accountProfileViewPath, Q as openMeldManagedBinaryPath, T as createActiveSetupConcurrencyIssue, X as openMeldBackupsDir, _t as systemDir, at as profileViewPath, b as resolveOpenMeldLaneDescriptor, c as repairOrphanedLegacyLocks, ct as resolveOpenMeldCliEntryNameFromArgv, f as LEGACY_OPENMELD_AGENT_SESSION_ENV_KEY, g as resolveCliContext, gt as spacesDir, ht as skillsDir, i as isOpenMeldOrphanedLockError, it as profileDir, k as toRecognizedLocalMachineFailureError, l as resolveOpenMeldOrphanedLockIssue, lt as resolveOpenMeldEnvPreset, n as buildOpenMeldOrphanedLockAction, p as OPENMELD_CLI_CONTEXT_ENV_KEY, r as isOpenMeldLockError, rt as organizationSkillReleaseDir, s as releaseLockSync, t as acquireLock, tt as openMeldRootDir, u as runWithHeldLock, ut as resolveOpenMeldRootDir, y as formatLaneScopeSentence } from "./lock-Dv-vQTmI.js";
|
|
5
5
|
import { c as agentControllerConversationRefSchema } from "./controller-contract-pe3_Re-c.js";
|
|
6
|
-
import { $ as mapAgentReplyReadinessToLegacyAutoReply, $
|
|
6
|
+
import { $ as mapAgentReplyReadinessToLegacyAutoReply, $a as createAuthenticationError, $t as unbindProject, At as ensureOpenMeldManagedProfileWorkspace, Ba as resolveOpenMeldProfile, Ca as buildOnboardingPlan, Ci as resolveDispatchSpaceActionMcpServer, Da as resolveViewProfileKey, Di as inspectDaemonServiceInventory, Dn as resolveSkillsAgentRegistry, Do as readCurrentLocalDeviceId, Dt as createModelCatalogReadSession, Ea as resolveRuntimeContext, En as detectInstalledSkillsAgents, Eo as buildLocalAgentCatalogFromReadiness, Et as syncProfileWorkspaceState, Fa as createOpenMeldHumanProfile, Gr as getAgentControllerPermissionModeDisplayMetadata, Gt as listProjectConnectionsWithStatus, Ht as bindProject, Ia as deleteOpenMeldProfile, It as setCustomProfileWorkspace, J as resolveCurrentReplyReadinessSnapshot, Ja as setSelectedOpenMeldProfileId, Jn as resolveLocalRegistryAgentIdFromAgentControllerRef, Jr as listAgentControllerPermissionModeOptions, Ka as clearSelectedOpenMeldProfileId, Kr as getAgentControllerPermissionModeFieldLabel, Kt as migrateProjectBindingStore, Li as readCurrentDaemonRuntimeContext, Lt as setOpenMeldManagedProfileWorkspace, Ma as requireOpenMeldProfile, Mn as notifyDaemonRouteCatalogChanged, Mt as readProfileWorkspaceConfig, Na as resolveOpenMeldProfileOrNull, Nn as LocalDaemonControlPlaneClientError, Oa as getProfileDefaultView, On as listBuiltinAgentsRegistryEntries, Pa as createOpenMeldAgentProfile, Pn as requestLocalAgentActivitySync, Pt as resolveConfiguredProfileWorkspacePath, Qa as buildHumanAuthenticationCard, Qt as setDefaultProjectConnection, Ra as listOpenMeldProfiles, Ri as readCurrentObservedDaemonRuntimeStatus, Rt as validateCustomProfileWorkspacePath, Sa as buildDaemonRouteObservationPresentation$1, Ss as compareAgentControllerRefsForDisplay, Ta as parseCliViewMode, Tn as canManageRegistryAgentSkillTargets, Ur as createAgentExecutionStatusDisplayRows, Va as updateOpenMeldProfile, Wa as alignSelectedOpenMeldProfileStorage, Wt as listProjectBindings, X as formatDeviceReplyReadinessLabel, Xr as peopleComputerContainsDevice, Y as formatAgentReplyReadinessLabel, Ya as buildAgentAuthenticationGuide, Yr as parseAgentControllerRef, Yt as removeProjectConnection, Z as formatHumanReplyReadinessReason$1, Zr as projectPeopleComputersToLegacyLocalRuntimes, Zt as runIfAgentActivityBindingGenerationIsCurrent, _o as ensureVersionStateReady, an as syncDeviceRuntimeStateProjection, bs as resolveUserFacingCliEntryCommand, c as isCliUpdateCheckApplicable, ca as buildInstallSelfJsonPayload, cs as readDaemonServiceContract, d as scheduleDaemonServiceUpdate, da as readPendingDaemonServiceUpdate, ds as resolveAuthBaseUrl, ei as resolveAgentControllerPermissionModeForController, en as canonicalizeLocalProjectPath, fa as resolveDaemonServiceUpdateOperation, fs as formatInlineOpenMeldCliCommands, go as compareSemver, gs as formatOpenMeldCliTextBlock, hn as listAgentTargetStates, hs as formatOpenMeldCliLine, ii as resolveNativeAgentControllerPermissionModeForController, j as resolveServiceReadinessFromServiceStatus, ja as isSelectedOpenMeldProfileRequiredError, jt as normalizeCustomProfileWorkspacePath, ka as setProfileDefaultView, kt as resolveProfileWorkspaceRuntime, l as readOpenMeldToolsUpdateContextFromEnv, la as performManagedInstall, ln as createPrimaryBindingReadSession, ls as upsertDaemonServiceContract, lt as resolveOpenClawLocalDiagnosticsValue, ma as toStartBackgroundHelperExecutionCompatibility, mo as classifyDaemonServiceWakeability, ms as formatOpenMeldCliCommands, ni as resolveAgentProfileEditCapabilities, no as resolveAuthenticationGuidanceFromError, ot as resolveGatewayChainReadiness, pa as resolveDaemonRuntimeContractCompatibility, po as classifyDaemonServiceRunStartability, ps as formatOpenMeldCliCommand, qa as getSelectedOpenMeldProfileId, ra as readRecentDaemonLifecycleEvents, ri as resolveEvidenceSyncHealth, ro as resolveAuthenticationGuidanceFromMessage, s as assessCliUpdate, sa as collectLocalOperationFailure, ti as resolveAgentExecutionStatus, to as resolveAuthenticationGuidance, u as runPendingDaemonServiceUpdate, un as resolveAgentProfilePrimaryAgentControllerReport, us as resolveOpenMeldEnvironmentTarget, va as resolveCurrentDaemonExpectedVersion, vs as formatProfileAwareOpenMeldCliCommands, wa as getSetupFlowCopy, wo as assessServerRequiredVersion, ya as OPENMELD_VERSION, yn as reconcileNewRunnableBuiltinAgentsForSetup, ys as resolveSetupFollowUpCliEntryCommand, z as resolveDaemonServiceFreshnessWarning, za as primeOpenMeldProfilesSessionCache, zr as buildAgentControllerRef, zt as describeProfileWorkspacePathValidationFailure } from "./openmeld-tools-update-coordinator-MHxhBR8_.js";
|
|
7
7
|
import { $r as agentActivitySessionInventoryQuerySchema, $t as createProjectsApi, Bn as spaceDispatchTraceAttemptStatusSchema, Cr as submitFeedbackIssueRequestSchema, Fn as spaceEntryTargetSchema, Fr as agentActivityProviderSchema, Ft as createComputerFileAccessApi, Gr as resolvedSpaceMemberProfileSchema, Hn as spaceDispatchTraceResponseSchema, Ir as agentActivitySessionStatusSchema, Jn as summarizeComputerFileAccessPolicy, Jt as createOrganizationSkillsApi, Kn as ownerComputerDiagnosticsSchema, Kt as createOrganizationApi, Ln as SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER, Lr as agentActivitySnapshotQuerySchema, Lt as createCurrentDeviceApi, Mt as createAgentProfileBindingApi, On as OPENMELD_HEADER_PROFILE_ID, Pt as createCenterAgentApi, Qr as agentActivityInventorySessionStatusSchema, Rn as projectSpaceDispatchTraceFinalVisibleOutcome, Un as observabilityWakeTraceSelectorSchema, Vn as spaceDispatchTraceDispatchStatusSchema, Wn as projectObservabilityWakeCorrelation, Xn as agentProfileCreationConfigurationSchema, Xt as createPrepareReadinessApi, Yn as DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION, Zn as createAgentProfileCreationRequestBodySchema, Zr as agentActivityInventorySessionOriginSchema, di as START_BOUNDED_VERSION_SCHEMA, dr as organizationSkillBundleSchema, en as createRoutinesApi, fi as START_ISO_DATE_TIME_SCHEMA, hi as localAgentCatalogSchema, jn as OPENMELD_HEADER_SPACE_ADDRESSING_VERSION, jt as createAgentActivityApi, mi as startReplyReadinessSummarySchema, mn as toStructuredApiClientFailure, mr as stringifyOrganizationSkillBundleCanonicalJson, pi as START_TRIMMED_NON_EMPTY_STRING_SCHEMA, qn as projectOwnerComputerLocalRuntimes, ti as localAgentSessionProviderSchema, ui as START_BOUNDED_ID_SCHEMA, vr as authProfileKindSchema, yr as authProfileManagedRoleSchema, zn as resolveSpaceDispatchTraceRootCause, zt as createFeedbackApi } from "./dist-DrTg9_9E.js";
|
|
8
8
|
import { $t as spaceFileRevisionNumberSchema, An as messageEnvelopeSchema, Ar as unknown, Er as string, Ft as spaceStatusSchema, Ht as isSpaceFileTextEditable, It as centerAgentInteractionSourceSchema, Kt as readSpaceFileTextResponseSchema, Pr as clientMessageIdSchema, Sr as object, Tr as strictObject, Xt as spaceFileEntryIdSchema, _n as spaceContractFieldsSchema, br as nullFactory, fn as dispatchExecutionSchema, fr as discriminatedUnion, gr as iso, hi as trimmedStringFromUnknown, hr as int, kr as union, lr as array, mr as enumFactory, ni as openMeldRequestContextSchema, oi as openMeldRuntimeProfileIdSchema, pi as nonEmptyTrimmedStringFromUnknown, pn as spaceThreadContextSchema, qt as resolveSpaceFileMimeType, ti as openMeldProfileIdSchema, ur as boolean, vn as spaceContractSchema, vr as literal, wr as record } from "./runtime-transport-DtOI3PNe.js";
|
|
9
|
-
import { _ as readSelectedSkillDocument, a as filterTargetsWithInstalledOpenMeldSkills, c as resolveTrackedInstallTargets, d as resolveSkillsInstallStates, f as ensureLocalSkills, i as compareInstallRecords, l as summarizeSkillState, m as readOpenMeldSkillMarker, n as buildAgentTargets, o as mergeTargetsByDir, p as isOpenMeldManagedSkillDir, r as collectSkillsReadinessSnapshot, s as persistDetectedInstallStateFromCheck, t as installSkillsToTargets, v as withSkillsInstallLock } from "./installer-
|
|
9
|
+
import { _ as readSelectedSkillDocument, a as filterTargetsWithInstalledOpenMeldSkills, c as resolveTrackedInstallTargets, d as resolveSkillsInstallStates, f as ensureLocalSkills, i as compareInstallRecords, l as summarizeSkillState, m as readOpenMeldSkillMarker, n as buildAgentTargets, o as mergeTargetsByDir, p as isOpenMeldManagedSkillDir, r as collectSkillsReadinessSnapshot, s as persistDetectedInstallStateFromCheck, t as installSkillsToTargets, v as withSkillsInstallLock } from "./installer-B_RYaLD8.js";
|
|
10
10
|
import { r as daemonServiceLaneSchema } from "./service-contract-CRyDcIIf.js";
|
|
11
|
-
import { $ as runAgentsDisable, $n as getCurrentCommandCheckState, $t as ensureCommandAuthenticationOrCancel, A as parseEnvelope, An as resolveLocalAgentControllerReportDecision, Ar as readControllerTaskLifecycleOutboxHealth, At as buildProfileWorkspaceRows, B as resolveSpaceWebGatewayOrigin, Bn as createSpaceMemberIdentityIndex, Br as getOrganizationJoinLinkResponseSchema, Bt as fetchSpaceMeta, C as toSpaceMetaUpsertInput, Cn as computeRetryDelayMs, Cr as normalizeSharedSessionTitle, Ct as runDaemonRunAfterEntryChecks, D as formatHumanReadTargetList, Dn as collectLocalAgentControllerInventory, Dr as readAgentActivityOutboxHealth, Dt as runDaemonTeardownStrict, E as buildHumanReplyContextSummary, En as submitRuntimeAgentControllerReports, Er as removeProjectInbox, Et as runDaemonStop, F as resolveOpenMeldProfileForSpaceCommand, Fn as buildPublicSpaceEntryUrl, Fr as cliJsonOutputEnvelopeSchema, Ft as runDaemonStartDecisionPrompt, G as runDaemonServiceParticipationGate, Gn as runInteractivePrompt, Gt as parseJsonResponse, H as resolveHumanControllerDisplayName, Hn as promptSearchMultiselect, Hr as organizationJoinLinkManagementQuerySchema, Ht as readGatewayJsonResponse, I as emitSpaceAgentOverview, In as buildSignalIndex, Ir as cliJsonSkillsListEnvelopeSchema, It as runDaemonStartupPreflight, J as runAgentsCustomAdd, Jn as readDispatchSpaceActionContextFromEnv, Jt as resolveDaemonServiceParticipationStatus, K as runAgents, Kn as assertDispatchOwnedRuntimePublicWriteAllowed, Kt as resolveLocalComponentsStatus, L as emitSpaceCliAgentOverview, Ln as buildSignalMessageReadProjection, Lr as cliJsonSkillsLoadEnvelopeSchema, Lt as
|
|
11
|
+
import { $ as runAgentsDisable, $n as getCurrentCommandCheckState, $t as ensureCommandAuthenticationOrCancel, A as parseEnvelope, An as resolveLocalAgentControllerReportDecision, Ar as readControllerTaskLifecycleOutboxHealth, At as buildProfileWorkspaceRows, B as resolveSpaceWebGatewayOrigin, Bn as createSpaceMemberIdentityIndex, Br as getOrganizationJoinLinkResponseSchema, Bt as fetchSpaceMeta, C as toSpaceMetaUpsertInput, Cn as computeRetryDelayMs, Cr as normalizeSharedSessionTitle, Ct as runDaemonRunAfterEntryChecks, D as formatHumanReadTargetList, Dn as collectLocalAgentControllerInventory, Dr as readAgentActivityOutboxHealth, Dt as runDaemonTeardownStrict, E as buildHumanReplyContextSummary, En as submitRuntimeAgentControllerReports, Er as removeProjectInbox, Et as runDaemonStop, F as resolveOpenMeldProfileForSpaceCommand, Fn as buildPublicSpaceEntryUrl, Fr as cliJsonOutputEnvelopeSchema, Ft as runDaemonStartDecisionPrompt, G as runDaemonServiceParticipationGate, Gn as runInteractivePrompt, Gt as parseJsonResponse, H as resolveHumanControllerDisplayName, Hn as promptSearchMultiselect, Hr as organizationJoinLinkManagementQuerySchema, Ht as readGatewayJsonResponse, I as emitSpaceAgentOverview, In as buildSignalIndex, Ir as cliJsonSkillsListEnvelopeSchema, It as runDaemonStartupPreflight, J as runAgentsCustomAdd, Jn as readDispatchSpaceActionContextFromEnv, Jt as resolveDaemonServiceParticipationStatus, K as runAgents, Kn as assertDispatchOwnedRuntimePublicWriteAllowed, Kt as resolveLocalComponentsStatus, L as emitSpaceCliAgentOverview, Ln as buildSignalMessageReadProjection, Lr as cliJsonSkillsLoadEnvelopeSchema, Lt as readDaemonIncidentLogTail, M as assertFullSignalIdArgument, Mn as upsertSpaceConfig, Mr as renderTextInfoCard, Mt as emitDaemonAgentOverview, N as assertValidSpaceIdTarget, Nn as buildDispatchResultMessageReadProjection, Nr as emitCliJsonEnvelope, Nt as createDelayedSpinner, O as resolveLinkAccessLabel, On as resolveLocalAgentControllerBlockerReasonCodes, Or as removeProjectOutbox, Ot as runDaemonUninstall, P as prepareAuthenticatedSpaceCommandContext, Pn as buildDispatchResultReplyWorkflowProjection, Pr as cliJsonErrorEnvelopeSchema, Pt as shouldEmitAgentOverview, Q as runAgentsDetect, Qn as finishCurrentCommandCheckScope, Qt as buildCommandAuthenticationPromptMessage, R as prepareLocalAgentReadiness, Rn as buildSpaceRoundReadProjection, Rr as cliJsonSkillsShowEnvelopeSchema, Rt as fetchSpaceUpdates, S as loadSpaceSignalIndexOrNull, Sn as assessActionParticipationCandidate, Sr as resolveObservedAgentActivityBinding, St as runDaemonReinstall, T as buildFormalSignalReadPayload, Tn as submitRuntimeAgentControllerReport, Tr as enqueueAgentActivityHookEvent, Tt as runDaemonStatusFlow, U as persistAgentTransportSelection, Un as promptSearchSelect, Ur as revokeOrganizationJoinLinkResponseSchema, Ut as readGatewayTextResponse, V as buildReplyReadinessGuidance, Vn as formatRemovedCcRelationMessage, Vr as organizationJoinLinkErrorResponseSchema, Vt as updateSpaceMeta, W as resolveAgentProfileSetup, Wn as isReturnKeypress, Wt as toStructuredGatewayFailure, X as runAgentsCustomRemove, Xt as readRecentDaemonDispatchJournalEvents, Y as runAgentsCustomList, Yn as writeDispatchSpaceActionRecord, Yt as readRuntimeReportingHealthState, Z as runAgentsCustomUpdate, Zt as connectWebSocket, _ as runSpaceWriteWithPasswordRetry, _n as resolveCreateProfileName, _r as uninstallAgentActivityIntegrations, _t as runDaemonAutostart, a as runSpaceDelete, an as exchangeOneTimeTokenAuthSession, ar as renderHumanTextErrorCard, at as formatTransportModeDisplay, b as buildIdentityOnlyMembersSnapshotForReadProjection, bn as formatServiceParticipationReadinessLabel, br as removeAgentActivityContextCache, bt as runDaemonInstall, c as runSpaceLeave, cn as formatActiveOrganizationLabel, cr as isAgentActivityRouteRegistered, ct as printOpenMeldBanner, d as runSpaceRemoveMembers, dn as requestDeviceToken, dr as unregisterAgentActivityRoute, dt as renderOpenMeldLogo, en as evaluateCommandAuthentication, er as isCurrentCommandCheckScopeActive, et as runAgentsEnable, f as runSpaceSend, fn as resolveDeviceAuthClientId, ft as renderOpenMeldTagline, g as runSpaceReadWithPasswordRetry, gn as resolveCreateProfileKind, gr as resolveAgentActivityDispatcherCommand, gt as runDaemon, h as uploadPreparedSpaceFiles, hn as createProfileByKind, hr as readAgentActivityIntegrationStatus, ht as isManagedSystemServiceBootstrapRun, i as runSpaceCreate, in as runAuthStatus, ir as renderHumanErrorCard, it as runAgentsShow, j as isSpaceCommandOutputHandledError, jn as inspectSpaceCacheFile, jr as renderInfoCard, jt as reconcileCliVersionView, k as resolveOrganizationVisibilityLabel, kn as resolveLocalAgentControllerLaunchability, kr as enqueueControllerTaskLifecycleEventWhileLocked, kt as buildProfileWorkspacePresentation, l as runSpaceList, ln as extractAuthApiErrorMessage, lr as registerAgentActivityRoute, lt as renderOpenMeldBrandBlockLines, m as prepareRequestedSpaceSendFiles, mn as revokeAuthAccessToken, mr as installAgentActivityIntegrations, mt as bestEffortStopCurrentLaneDaemonService, n as promptAndConfirmSpacePassword, nn as runAuthLogout, nr as startCurrentCommandCheckScope, nt as runAgentsManage, o as runSpaceHistory, on as buildAuthStatusRows, or as LocalProjectConnectionError, ot as colorizeAgentLabel, p as runSpaceWatch, pn as resolveDeviceTokenExpiresAt, pr as defaultManagedIntegrationPaths, pt as resolveSpaceSendText, q as runAgentsConfig, qn as readDispatchOwnedRuntimeGuard, qt as writeInstalledLocalComponentsSnapshot, r as runSpaceAddMembers, rn as runAuthMenu, rr as buildHumanErrorCopy, rt as runAgentsRepair, s as runSpaceJoin, sn as buildAuthStatusSnapshot, sr as validateLocalProjectConnectionPath, st as colorizeDisplayProfileLabel, t as buildCreateSpacePasswordPromptConfig, tn as runAuthLogin, tr as resetCurrentCommandCheckState, tt as runAgentsList, u as runSpacePassword, un as fetchAuthUserSnapshot, ur as resolveAgentActivityRouteForPath, ut as renderOpenMeldHeader, v as buildHumanReadSignalsTranscriptItems, vn as promptTextEntry, vr as syncLocalAgentActivity, vt as runDaemonBackgroundStartForDecision, w as buildFormalDispatchResultReadPayload, wn as submitProfileRuntimeAgentControllerReport, wr as readCodexSessionTitles, wt as runDaemonSnapshot, x as loadSpaceIdentityDirectoryOrNull, xn as resolveServiceParticipationReadiness, xr as buildAgentActivityEvent, xt as runDaemonInterrupt, y as emitHumanReadSignalsTextProjection, yn as ensureAgentProfileRuntimeBinding, yr as readAgentActivityContextForPath, yt as runDaemonCancel, z as resolveGatewayWebOrigin, zn as buildUpdatesReplyWorkflowProjection, zr as acceptOrganizationJoinLinkBodySchema, zt as createCliSpaceApi } from "./command-BG-s6whz.js";
|
|
12
12
|
import { _ as runMacOsNativeKeychainHelperIfRequested, a as beginAuthSessionTransition, c as getAuthSessionMetadata, d as getInterruptedComputerAuthSessionRecovery, f as markInterruptedComputerAuthSessionRecovery, g as updateAuthSessionActiveOrganization, l as getAuthSessionState, m as recordInterruptedComputerAuthSessionRecoveryFailure, n as AuthSessionRecoveryInProgressError, o as clearAuthSession, p as normalizeStoredActiveOrganization, s as completeInterruptedComputerAuthSessionRecovery, t as AuthSessionChangedBeforeTransitionError, u as getCurrentAuthOwnerUserId, v as isBinaryDistribution, y as resolveOpenMeldDistribution } from "./auth-session-BBUxZl0r.js";
|
|
13
|
-
import { A as createSpaceAliasTargetGuideError, At as OPENMELD_AGENT_MENTAL_MODEL_LINES, C as createProfileActionGuideError, Ct as registerBuiltinAgentSelectionOptions, D as createSkillsActionGuideError, Dt as formatDualViewGuideForDisplay, E as createResetConfirmationGuideError, Et as DualViewGuideError, F as createSpaceLeaveGuideError, H as createSpaceResultGuideError, Ht as canonicalizeAllowedActions, I as createSpaceMenuGuideError, It as buildAgentFacingPublicationModeGuideLines, J as createSpaceTargetGuideError, Mt as SPACE_CONTRACT_ALLOWED_ACTION_ORDER, Ot as buildDualViewGuideMessage, Pt as areAllowedActionsEquivalent, Q as createStartAuthenticationGuideError, R as createSpacePublicationSetGuideError, S as createDoctorFailedGuideError, T as createProfileMenuGuideError, Tt as buildAgentOverviewFromContract, V as createSpaceRemoveMembersGuideError, X as createSpaceUpdatesGuideError, Z as createStartAgentIdentityGuideError, _ as errLine, b as canUseInteractivePrompts, dt as getSkillsTargetSelectionRequiredArguments, et as getCommandEntryContract, ft as registerSkillsTargetSelectionOptions, g as formatMessage, gt as registerDaemonControlTargetOptions, h as sanitizeTerminalDisplayText, ht as getCliVersionInfo, it as registerSpaceMemberSelectionOptions, j as createSpaceContractSetGuideError, k as createSpaceAddMembersGuideError, kt as formatAgentOverviewPayload, lt as buildSkillsTargetSelectionExamples, m as createPresenter, n as resolveElapsedTimeMs, pt as validateSkillsTargetSelectionInput, q as createSpaceSubcommandTargetGuideError, st as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, t as formatElapsedTime, tt as getCommandHintsFromContract, ut as getSkillsTargetSelectionOptionalArguments, v as outJsonLine, vt as registerAuthLoginRequestOptions, w as createProfileCreateGuideError, y as outLine } from "./elapsed-time-
|
|
13
|
+
import { A as createSpaceAliasTargetGuideError, At as OPENMELD_AGENT_MENTAL_MODEL_LINES, C as createProfileActionGuideError, Ct as registerBuiltinAgentSelectionOptions, D as createSkillsActionGuideError, Dt as formatDualViewGuideForDisplay, E as createResetConfirmationGuideError, Et as DualViewGuideError, F as createSpaceLeaveGuideError, H as createSpaceResultGuideError, Ht as canonicalizeAllowedActions, I as createSpaceMenuGuideError, It as buildAgentFacingPublicationModeGuideLines, J as createSpaceTargetGuideError, Mt as SPACE_CONTRACT_ALLOWED_ACTION_ORDER, Ot as buildDualViewGuideMessage, Pt as areAllowedActionsEquivalent, Q as createStartAuthenticationGuideError, R as createSpacePublicationSetGuideError, S as createDoctorFailedGuideError, T as createProfileMenuGuideError, Tt as buildAgentOverviewFromContract, V as createSpaceRemoveMembersGuideError, X as createSpaceUpdatesGuideError, Z as createStartAgentIdentityGuideError, _ as errLine, b as canUseInteractivePrompts, dt as getSkillsTargetSelectionRequiredArguments, et as getCommandEntryContract, ft as registerSkillsTargetSelectionOptions, g as formatMessage, gt as registerDaemonControlTargetOptions, h as sanitizeTerminalDisplayText, ht as getCliVersionInfo, it as registerSpaceMemberSelectionOptions, j as createSpaceContractSetGuideError, k as createSpaceAddMembersGuideError, kt as formatAgentOverviewPayload, lt as buildSkillsTargetSelectionExamples, m as createPresenter, n as resolveElapsedTimeMs, pt as validateSkillsTargetSelectionInput, q as createSpaceSubcommandTargetGuideError, st as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, t as formatElapsedTime, tt as getCommandHintsFromContract, ut as getSkillsTargetSelectionOptionalArguments, v as outJsonLine, vt as registerAuthLoginRequestOptions, w as createProfileCreateGuideError, y as outLine } from "./elapsed-time-CWidgsKt.js";
|
|
14
14
|
import { E as updateConfiguredStartV1OnboardingState, S as setConfiguredSkillsConfig, T as updateConfiguredSkillsConfig, a as resolveBaseUrl, b as setConfiguredBaseUrl, c as resolveExplicitGatewayUrlOrThrow, g as getConfiguredSkillsConfig, m as getConfiguredOnboardingDisclaimerAcceptedAt, o as resolveBaseUrlOrNull, u as alignRuntimeConfigStorage, w as updateConfiguredOnboardingConfig, y as resolveRuntimeSkillsCustomTargetId } from "./base-url-CcjogygH.js";
|
|
15
15
|
import { t as sleep } from "./dist-o3UL1EGQ.js";
|
|
16
16
|
import { k as getDaemonStatus } from "./daemon-state-DRo7-Vjz.js";
|
|
17
|
-
import { S as resolveDaemonServiceManager, _ as readDaemonServiceJobCrashExitCode,
|
|
17
|
+
import { S as resolveDaemonServiceManager, _ as readDaemonServiceJobCrashExitCode, f as isDaemonServiceJobNeverSpawned } from "./daemon-service-manager-C-SEgRHn.js";
|
|
18
18
|
import { c as buildRequestAuthHeaders, f as deriveAuthBaseUrlFromGatewayUrl, n as fetchSpaceRequestWithTimeout, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation, u as buildOpenMeldRequestContextFromProfile } from "./api-client-foundation-CJxKcKjx.js";
|
|
19
|
-
import { a as runUpgrade, c as OPENMELD_UPGRADE_FAILURE_HINTS, d as waitForExternalOpenMeldToolsUpdate, l as OPENMELD_UPGRADE_METADATA_RECOVERY_HINTS, n as isUpgradeOutputHandledError, o as emitTopLevelAgentOverview, s as emitTopLevelCliAgentOverview, t as UPGRADE_INTERNAL_ALIGN_SERVICE_FLAG$1, u as resolveExternalOpenMeldToolsUpdate } from "./upgrade-
|
|
19
|
+
import { a as runUpgrade, c as OPENMELD_UPGRADE_FAILURE_HINTS, d as waitForExternalOpenMeldToolsUpdate, l as OPENMELD_UPGRADE_METADATA_RECOVERY_HINTS, n as isUpgradeOutputHandledError, o as emitTopLevelAgentOverview, s as emitTopLevelCliAgentOverview, t as UPGRADE_INTERNAL_ALIGN_SERVICE_FLAG$1, u as resolveExternalOpenMeldToolsUpdate } from "./upgrade-D-8UCiVo.js";
|
|
20
20
|
import { createHash, randomUUID } from "node:crypto";
|
|
21
21
|
import os, { homedir, hostname, release, tmpdir } from "node:os";
|
|
22
22
|
import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
|
|
@@ -615,10 +615,38 @@ const prepareStepDiagnosticsBundleSchema = object({
|
|
|
615
615
|
collectedAt: PREPARE_ISO_DATE_TIME_SCHEMA,
|
|
616
616
|
supportCode: PREPARE_STEP_DIAGNOSTICS_SHORT_TEXT_SCHEMA,
|
|
617
617
|
nativeFailure: object({ osStatus: int() }).optional(),
|
|
618
|
+
operationFailure: object({
|
|
619
|
+
code: string().regex(/^E[A-Z]+$/u).max(32),
|
|
620
|
+
errno: int().optional(),
|
|
621
|
+
syscall: string().regex(/^[a-z]+$/u).max(32).optional(),
|
|
622
|
+
pathCategory: enumFactory([
|
|
623
|
+
"app_bundle",
|
|
624
|
+
"absolute_other",
|
|
625
|
+
"relative",
|
|
626
|
+
"unknown"
|
|
627
|
+
]),
|
|
628
|
+
destinationCategory: enumFactory([
|
|
629
|
+
"app_bundle",
|
|
630
|
+
"absolute_other",
|
|
631
|
+
"relative",
|
|
632
|
+
"unknown"
|
|
633
|
+
]).optional()
|
|
634
|
+
}).optional(),
|
|
635
|
+
evidenceWindow: object({
|
|
636
|
+
startedAt: PREPARE_ISO_DATE_TIME_SCHEMA,
|
|
637
|
+
endedAt: PREPARE_ISO_DATE_TIME_SCHEMA
|
|
638
|
+
}).optional(),
|
|
639
|
+
serviceLogWindow: object({
|
|
640
|
+
excludedUndatedLines: int().nonnegative(),
|
|
641
|
+
excludedOutsideWindowLines: int().nonnegative(),
|
|
642
|
+
sourceTruncated: boolean()
|
|
643
|
+
}).optional(),
|
|
618
644
|
stepId: PREPARE_STEP_DIAGNOSTICS_SHORT_TEXT_SCHEMA,
|
|
619
645
|
deviceId: PREPARE_STEP_DIAGNOSTICS_SHORT_TEXT_SCHEMA.optional(),
|
|
620
646
|
cliVersion: string().trim().min(1).max(PREPARE_STEP_DIAGNOSTICS_CLI_VERSION_MAX_CHARS),
|
|
621
647
|
os: object({
|
|
648
|
+
productVersion: string().regex(/^[0-9]+(?:\.[0-9]+){1,3}$/u).max(64).optional(),
|
|
649
|
+
buildVersion: string().regex(/^[A-Za-z0-9.]+$/u).max(64).optional(),
|
|
622
650
|
platform: string().trim().min(1).max(PREPARE_STEP_DIAGNOSTICS_OS_PLATFORM_MAX_CHARS),
|
|
623
651
|
release: string().trim().max(PREPARE_STEP_DIAGNOSTICS_OS_RELEASE_MAX_CHARS)
|
|
624
652
|
}),
|
|
@@ -17990,9 +18018,37 @@ function isCliOutputHandledError(error) {
|
|
|
17990
18018
|
return error instanceof CliOutputHandledError || error instanceof Error && error.name === "CliOutputHandledError";
|
|
17991
18019
|
}
|
|
17992
18020
|
//#endregion
|
|
18021
|
+
//#region src/system/macos-version.ts
|
|
18022
|
+
const execute = promisify(execFile);
|
|
18023
|
+
const PRODUCT_VERSION = /^ProductVersion:\s*([0-9]+(?:\.[0-9]+){1,3})\s*$/mu;
|
|
18024
|
+
const BUILD_VERSION = /^BuildVersion:\s*([A-Za-z0-9.]+)\s*$/mu;
|
|
18025
|
+
function parseMacOSVersion(output) {
|
|
18026
|
+
const productVersion = PRODUCT_VERSION.exec(output)?.[1];
|
|
18027
|
+
const buildVersion = BUILD_VERSION.exec(output)?.[1];
|
|
18028
|
+
if (!(productVersion && buildVersion) || buildVersion.length > 64) throw new Error("Invalid macOS version output");
|
|
18029
|
+
return {
|
|
18030
|
+
productVersion,
|
|
18031
|
+
buildVersion
|
|
18032
|
+
};
|
|
18033
|
+
}
|
|
18034
|
+
async function readMacOSVersion() {
|
|
18035
|
+
if (process.platform !== "darwin") return null;
|
|
18036
|
+
const { stdout } = await execute("/usr/bin/sw_vers", [], {
|
|
18037
|
+
timeout: 1500,
|
|
18038
|
+
maxBuffer: 4096,
|
|
18039
|
+
env: {
|
|
18040
|
+
PATH: "/usr/bin:/bin",
|
|
18041
|
+
LANG: "C",
|
|
18042
|
+
LC_ALL: "C"
|
|
18043
|
+
}
|
|
18044
|
+
});
|
|
18045
|
+
return parseMacOSVersion(stdout);
|
|
18046
|
+
}
|
|
18047
|
+
//#endregion
|
|
17993
18048
|
//#region src/commands/prepare-step-diagnostics.ts
|
|
17994
18049
|
const PREPARE_STEP_DIAGNOSTICS_PAYLOAD_MAX_CHARS = Math.min(16e3, PREPARE_STEP_DIAGNOSTICS_MAX_CHARS);
|
|
17995
|
-
const PREPARE_STEP_DIAGNOSTICS_BUNDLE_VERSION =
|
|
18050
|
+
const PREPARE_STEP_DIAGNOSTICS_BUNDLE_VERSION = 3;
|
|
18051
|
+
const INCIDENT_WINDOW_MS = 900 * 1e3;
|
|
17996
18052
|
const LIFECYCLE_JOURNAL_TAIL_MAX_ENTRIES = 10;
|
|
17997
18053
|
const SERVICE_LOG_TAIL_MAX_LINES = 30;
|
|
17998
18054
|
const SERVICE_LOG_LINE_MAX_CHARS = 320;
|
|
@@ -18008,7 +18064,13 @@ const LIFECYCLE_JOURNAL_METADATA_WHITELIST = [
|
|
|
18008
18064
|
"reason",
|
|
18009
18065
|
"failureStage",
|
|
18010
18066
|
"reasonCodes",
|
|
18011
|
-
"processUptimeMs"
|
|
18067
|
+
"processUptimeMs",
|
|
18068
|
+
"operation",
|
|
18069
|
+
"distribution",
|
|
18070
|
+
"actorPid",
|
|
18071
|
+
"parentPid",
|
|
18072
|
+
"targetCategory",
|
|
18073
|
+
"operationFailure"
|
|
18012
18074
|
];
|
|
18013
18075
|
const LIFECYCLE_JOURNAL_METADATA_COMPACT_WHITELIST = LIFECYCLE_JOURNAL_METADATA_WHITELIST.filter((key) => key !== "jobDiagnostics");
|
|
18014
18076
|
function isPrepareStepDiagnosticsOptedOut(env = process$1.env) {
|
|
@@ -18018,17 +18080,25 @@ async function collectPrepareStepDiagnostics(input) {
|
|
|
18018
18080
|
try {
|
|
18019
18081
|
if (isPrepareStepDiagnosticsOptedOut(input.env)) return null;
|
|
18020
18082
|
const sources = input.sources ?? {};
|
|
18083
|
+
const now = input.now ?? /* @__PURE__ */ new Date();
|
|
18084
|
+
const evidenceWindow = {
|
|
18085
|
+
startedAt: (/* @__PURE__ */ new Date(now.getTime() - INCIDENT_WINDOW_MS)).toISOString(),
|
|
18086
|
+
endedAt: now.toISOString()
|
|
18087
|
+
};
|
|
18021
18088
|
const collectionErrors = [];
|
|
18022
|
-
const [lifecycleJournalTail, serviceLog, inventoryAnomalies, serviceJob, deviceId] = await Promise.all([
|
|
18089
|
+
const [lifecycleJournalTail, serviceLog, inventoryAnomalies, serviceJob, deviceId, macOSVersion] = await Promise.all([
|
|
18023
18090
|
collectDiagnosticsSource({
|
|
18024
18091
|
collectionErrors,
|
|
18025
18092
|
sourceName: "lifecycle_journal",
|
|
18026
|
-
read: sources.readLifecycleJournalTail ?? (() => readRecentDaemonLifecycleEvents({ maxEntries:
|
|
18093
|
+
read: sources.readLifecycleJournalTail ?? (() => readRecentDaemonLifecycleEvents({ maxEntries: 100 }))
|
|
18027
18094
|
}),
|
|
18028
18095
|
collectDiagnosticsSource({
|
|
18029
18096
|
collectionErrors,
|
|
18030
18097
|
sourceName: "service_log",
|
|
18031
|
-
read: sources.readServiceLogTail ??
|
|
18098
|
+
read: sources.readServiceLogTail ?? (() => readDaemonIncidentLogTail({
|
|
18099
|
+
...evidenceWindow,
|
|
18100
|
+
maxLines: SERVICE_LOG_TAIL_MAX_LINES
|
|
18101
|
+
}))
|
|
18032
18102
|
}),
|
|
18033
18103
|
collectDiagnosticsSource({
|
|
18034
18104
|
collectionErrors,
|
|
@@ -18044,27 +18114,40 @@ async function collectPrepareStepDiagnostics(input) {
|
|
|
18044
18114
|
collectionErrors,
|
|
18045
18115
|
sourceName: "device_id",
|
|
18046
18116
|
read: sources.readDeviceId ?? readDaemonServiceContractDeviceId
|
|
18117
|
+
}),
|
|
18118
|
+
collectDiagnosticsSource({
|
|
18119
|
+
collectionErrors,
|
|
18120
|
+
sourceName: "macos_version",
|
|
18121
|
+
read: sources.readMacOSVersion ?? readMacOSVersion
|
|
18047
18122
|
})
|
|
18048
18123
|
]);
|
|
18049
18124
|
const serviceLogNote = serviceLog?.note ?? null;
|
|
18050
18125
|
const serviceLogTail = serviceLog === null || serviceLogNote !== null ? null : serviceLog.lines.map(boundServiceLogLine);
|
|
18051
18126
|
const cliVersion = getCliVersionInfo().version;
|
|
18052
18127
|
const nativeFailure = resolveNativeFailure(input.error);
|
|
18128
|
+
const operationFailure = collectLocalOperationFailure(input.error);
|
|
18053
18129
|
return serializeBoundedPrepareStepDiagnostics({
|
|
18054
18130
|
bundleVersion: PREPARE_STEP_DIAGNOSTICS_BUNDLE_VERSION,
|
|
18055
|
-
collectedAt:
|
|
18131
|
+
collectedAt: now.toISOString(),
|
|
18056
18132
|
supportCode: input.supportCode,
|
|
18057
18133
|
...nativeFailure ? { nativeFailure } : {},
|
|
18134
|
+
...operationFailure ? { operationFailure } : {},
|
|
18135
|
+
evidenceWindow,
|
|
18136
|
+
...serviceLog?.window ? { serviceLogWindow: serviceLog.window } : {},
|
|
18058
18137
|
stepId: input.stepId,
|
|
18059
18138
|
...deviceId ? { deviceId } : {},
|
|
18060
18139
|
cliVersion,
|
|
18061
18140
|
os: {
|
|
18062
18141
|
platform: process$1.platform,
|
|
18063
|
-
release: os.release()
|
|
18142
|
+
release: os.release(),
|
|
18143
|
+
...macOSVersion
|
|
18064
18144
|
},
|
|
18065
18145
|
inventoryAnomalies,
|
|
18066
18146
|
serviceJob,
|
|
18067
|
-
lifecycleJournalTail: lifecycleJournalTail === null ? null : lifecycleJournalTail.
|
|
18147
|
+
lifecycleJournalTail: lifecycleJournalTail === null ? null : lifecycleJournalTail.filter((entry) => {
|
|
18148
|
+
const timestamp = Date.parse(entry.timestamp);
|
|
18149
|
+
return timestamp >= Date.parse(evidenceWindow.startedAt) && timestamp <= now.getTime();
|
|
18150
|
+
}).map(boundLifecycleJournalEntry),
|
|
18068
18151
|
serviceLogTail,
|
|
18069
18152
|
...serviceLogNote ? { serviceLogNote } : {},
|
|
18070
18153
|
collectionErrors,
|
|
@@ -18153,21 +18236,6 @@ async function resolvePrepareServiceJobVerdict() {
|
|
|
18153
18236
|
async function readDaemonServiceContractDeviceId() {
|
|
18154
18237
|
return (await readDaemonServiceContract())?.deviceId ?? null;
|
|
18155
18238
|
}
|
|
18156
|
-
async function readServiceLogTailWithPresence() {
|
|
18157
|
-
const stats = await stat(getDaemonSystemServiceLogPath()).catch(() => null);
|
|
18158
|
-
if (!stats?.isFile()) return {
|
|
18159
|
-
lines: [],
|
|
18160
|
-
note: "file_missing"
|
|
18161
|
-
};
|
|
18162
|
-
if (stats.size === 0) return {
|
|
18163
|
-
lines: [],
|
|
18164
|
-
note: "file_empty"
|
|
18165
|
-
};
|
|
18166
|
-
return {
|
|
18167
|
-
lines: await readDaemonStartFailureLogTailLines({ maxLines: SERVICE_LOG_TAIL_MAX_LINES }),
|
|
18168
|
-
note: null
|
|
18169
|
-
};
|
|
18170
|
-
}
|
|
18171
18239
|
function selectWhitelistedJournalMetadata(metadata, keys) {
|
|
18172
18240
|
const selected = {};
|
|
18173
18241
|
for (const key of keys) if (Object.hasOwn(metadata, key)) selected[key] = metadata[key];
|
|
@@ -18179,11 +18247,12 @@ function boundLifecycleJournalEntry(entry) {
|
|
|
18179
18247
|
...entry,
|
|
18180
18248
|
metadata: selectWhitelistedJournalMetadata(entry.metadata, LIFECYCLE_JOURNAL_METADATA_WHITELIST)
|
|
18181
18249
|
});
|
|
18250
|
+
if (entry.command === "openmeld service carrier mutation" && whitelisted.metadata) whitelisted.metadata.errorMessage = void 0;
|
|
18182
18251
|
if (JSON.stringify(whitelisted).length <= JOURNAL_ENTRY_MAX_CHARS) return whitelisted;
|
|
18183
18252
|
const compact = redactPrepareStepDiagnosticsValue({
|
|
18184
18253
|
...entry,
|
|
18185
18254
|
metadata: {
|
|
18186
|
-
...selectWhitelistedJournalMetadata(
|
|
18255
|
+
...selectWhitelistedJournalMetadata(whitelisted.metadata ?? {}, LIFECYCLE_JOURNAL_METADATA_COMPACT_WHITELIST),
|
|
18187
18256
|
truncated: true
|
|
18188
18257
|
}
|
|
18189
18258
|
});
|
|
@@ -29760,7 +29829,7 @@ function normalizeOptionalString(value) {
|
|
|
29760
29829
|
return normalized.length > 0 ? normalized : null;
|
|
29761
29830
|
}
|
|
29762
29831
|
async function runDefaultSpaceAddMeMembership(input) {
|
|
29763
|
-
const { runSpaceAddMeMembership } = await import("./add-me-membership-
|
|
29832
|
+
const { runSpaceAddMeMembership } = await import("./add-me-membership-C47bzJH_.js");
|
|
29764
29833
|
return await runSpaceAddMeMembership(input);
|
|
29765
29834
|
}
|
|
29766
29835
|
//#endregion
|
|
@@ -36655,4 +36724,4 @@ main().catch((error) => {
|
|
|
36655
36724
|
//#endregion
|
|
36656
36725
|
export {};
|
|
36657
36726
|
|
|
36658
|
-
//# sourceMappingURL=openmeld-
|
|
36727
|
+
//# sourceMappingURL=openmeld-C3EapSrF.js.map
|