openmeld 0.3.62 → 0.3.63
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-B6PFdIb7.js → add-me-membership-CVpMqRyD.js} +2 -2
- package/dist/{add-me-membership-B6PFdIb7.js.map → add-me-membership-CVpMqRyD.js.map} +1 -1
- package/dist/{command-CItuI3i2.js → command-CwpZzTGc.js} +27 -16
- package/dist/{command-CItuI3i2.js.map → command-CwpZzTGc.js.map} +1 -1
- package/dist/openmeld.js +69 -47
- package/dist/openmeld.js.map +1 -1
- package/package.json +1 -1
package/dist/openmeld.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { $ as LEGACY_OPENMELD_AGENT_SESSION_ENV_KEY, At as openMeldManagedBinaryPath, Bt as resolveOpenMeldCliEntryNameFromArgv, D as toSpaceBoardUrl, Et as normalizeAccountKey, Ft as organizationSkillReleaseDir, G as isOpenMeldOrphanedLockError, H as acquireLock, It as profileDir, J as releaseLockSync, Jt as systemDir, Kt as skillsDir, Lt as profileViewPath, M as toSpaceDispatchLookupUrl, N as toSpaceDispatchTraceUrl, Nt as openMeldRootDir, O as toSpaceContractUrl, Ot as openMeldBackupsDir, S as updateConfiguredOnboardingConfig, T as normalizeBaseUrl, U as buildOpenMeldOrphanedLockAction, Ut as resolveOpenMeldRootDir, Vt as resolveOpenMeldEnvPreset, W as isOpenMeldLockError, X as resolveOpenMeldOrphanedLockIssue, Y as repairOrphanedLegacyLocks, Yt as formatLocalMachineIssueMessage, Z as runWithHeldLock, _t as accountProfileSpaceCacheDir, a as resolveBaseUrl, b as setConfiguredSkillsConfig, bt as accountsDir, c as resolveExplicitGatewayUrlOrThrow, ct as LocalMachineFailureError, et as OPENMELD_CLI_CONTEXT_ENV_KEY, ft as createOrphanedSetupConcurrencyIssue, h as getConfiguredSkillsConfig, jt as openMeldManagedVersionBinaryPath, m as getConfiguredOnboardingDisclaimerAcceptedAt, mt as toRecognizedLocalMachineFailureError, nn as agentControllerConversationRefSchema, o as resolveBaseUrlOrNull, ot as formatLaneScopeSentence, pt as isLocalMachineFailureError, qt as spacesDir, rt as resolveCliContext, st as resolveOpenMeldLaneDescriptor, u as alignRuntimeConfigStorage, ut as createActiveSetupConcurrencyIssue, vt as accountProfileViewPath, w as updateConfiguredStartV1OnboardingState, y as setConfiguredBaseUrl, z as toSpaceResultUrl } from "./base-url-KfrIdedc.js";
|
|
4
|
-
import { $ as formatTransportModeDisplay, $a as formatOpenMeldCliTextBlock, $i as compareSemver, $n as canUseInteractivePrompts, $r as normalizeCustomProfileWorkspacePath, $t as readRecentDaemonDispatchJournalEvents, A as prepareAuthenticatedSpaceCommandContext, Aa as buildHumanAuthenticationCard, Ai as listAgentControllerPermissionModeOptions, An as assertNoRemovedCcSpaceAddressingSyntax, Ao as emitCliJsonEnvelope, Ar as formatDualViewGuideForDisplay, At as readDaemonStartFailureLogTailLines, B as runAgents, Ba as registerAgentActivityRoute, Bi as resetCurrentCommandCheckState, Bn as promptSearchSelect, Bo as organizationJoinLinkErrorResponseSchema, Br as resolveServiceReadinessFromServiceStatus, Bt as writeInstalledLocalComponentsSnapshot, C as buildFormalSignalReadPayload, Ca as resolveOpenMeldProfile, Ci as ensureDaemonRuntimePaths, Cn as submitRuntimeAgentControllerReports, Co as unbindProject, Cr as registerSkillsTargetSelectionOptions, Ct as buildProfileWorkspacePresentation, D as isSpaceCommandOutputHandledError, Da as getSelectedOpenMeldProfileId, Di as createAgentExecutionStatusDisplayRows, Dn as resolveLocalAgentControllerReportDecision, Do as renderInfoCard, Dr as registerBuiltinAgentSelectionOptions, Dt as createDelayedSpinner, E as parseEnvelope, Ea as clearSelectedOpenMeldProfileId, Ei as buildAgentControllerRef, En as resolveLocalAgentControllerLaunchability, Eo as readControllerTaskLifecycleOutboxHealth, Er as registerAuthLoginRequestOptions, Et as emitDaemonAgentOverview, F as prepareLocalAgentReadiness, Fa as getProfileDefaultView, Fi as resolveEvidenceSyncHealth, Fn as buildSpaceRoundReadProjection, Fo as cliJsonOutputEnvelopeSchema, Fr as areAllowedActionsEquivalent, Ft as readGatewayJsonResponse, G as runAgentsCustomUpdate, Ga as installAgentActivityIntegrations, Gi as readCurrentObservedDaemonRuntimeStatus, Gn as assertDispatchOwnedRuntimePublicWriteAllowed, Gr as formatHumanReplyReadinessReason$1, Gt as runSkillsCheck$1, H as runAgentsCustomAdd, Ha as unregisterAgentActivityRoute, Hi as inspectDaemonServiceInventory, Hn as runInteractivePrompt, Ho as compareAgentControllerRefsForDisplay, Hr as resolveCurrentReplyReadinessSnapshot, Ht as runDaemonServiceParticipationGate, I as buildReplyReadinessGuidance, Ia as setProfileDefaultView, Ii as resolveNativeAgentControllerPermissionModeForController, In as buildUpdatesReplyWorkflowProjection, Io as cliJsonSkillsListEnvelopeSchema, Ir as buildAgentFacingPublicationModeGuideLines, It as readGatewayTextResponse, J as runAgentsEnable, Ja as uninstallAgentActivityIntegrations, Ji as readDaemonServiceJobCrashExitCode, Jn as writeDispatchSpaceActionRecord, Jr as resolveOpenClawLocalDiagnosticsValue, Jt as runSkillsUninstall, K as runAgentsDetect, Ka as readAgentActivityIntegrationStatus, Ki as getDaemonSystemServiceLogPath, Kn as readDispatchOwnedRuntimeGuard, Kr as mapAgentReplyReadinessToLegacyAutoReply, Kt as runSkillsEnsure, L as resolveHumanControllerDisplayName, La as LocalProjectConnectionError, Li as finishCurrentCommandCheckScope, Ln as createSpaceMemberIdentityIndex, Lo as cliJsonSkillsLoadEnvelopeSchema, Lr as canonicalizeAllowedActions, Lt as toStructuredGatewayFailure, M as resolveSpaceAccessLabel, Ma as resolveAuthenticationGuidance, Mi as resolveAgentControllerPermissionModeForController, Mn as buildDispatchResultReplyWorkflowProjection, Mo as outJsonLine, Mr as formatAgentOverviewPayload, Mt as createCliSpaceApi, N as emitSpaceAgentOverview, Na as resolveAuthenticationGuidanceFromError, Ni as resolveAgentExecutionStatus, Nn as buildSignalIndex, No as outLine, Nr as OPENMELD_AGENT_MENTAL_MODEL_LINES, Nt as fetchSpaceMeta, O as assertFullSignalIdArgument, Oa as setSelectedOpenMeldProfileId, Oi as getAgentControllerPermissionModeDisplayMetadata, On as inspectSpaceCacheFile, Oo as renderTextInfoCard, Or as buildAgentOverviewFromContract, Ot as shouldEmitAgentOverview, P as emitSpaceCliAgentOverview, Pa as resolveAuthenticationGuidanceFromMessage, Pi as resolveAgentProfileEditCapabilities, Pn as buildSignalMessageReadProjection, Po as cliBinaryDeltaPatchSchema, Pr as SPACE_CONTRACT_ALLOWED_ACTION_ORDER, Pt as updateSpaceMeta, Q as runAgentsShow, Qa as formatOpenMeldCliLine, Qi as buildNextVersionState, Qn as formatDaemonServiceMissingRecommendation, Qr as ensureOpenMeldManagedProfileWorkspace, Qt as readRuntimeReportingHealthState, R as persistAgentTransportSelection, Ra as validateLocalProjectConnectionPath, Ri as getCurrentCommandCheckState, Rn as formatRemovedCcRelationMessage, Ro as cliJsonSkillsShowEnvelopeSchema, Rr as runDaemonServiceFullAlignment, Rt as parseJsonResponse, S as buildFormalDispatchResultReadPayload, Sa as primeOpenMeldProfilesSessionCache, Si as readRecentDaemonLifecycleEvents, Sn as submitRuntimeAgentControllerReport, So as setDefaultProjectConnection, Sr as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, St as runDaemonUninstall, T as formatHumanReadTargetList, Ta as alignSelectedOpenMeldProfileStorage, Ti as resolveOpenMeldEnvironmentTarget, Tn as resolveLocalAgentControllerBlockerReasonCodes, To as enqueueControllerTaskLifecycleEventWhileLocked, Tr as registerDaemonControlTargetOptions, Tt as reconcileCliVersionView, U as runAgentsCustomList, Ui as resolveVersionChangeDirection, Un as assessCliUpdate, Uo as package_default, Ur as formatAgentReplyReadinessLabel, Ut as runDaemonStartDecisionPrompt, V as runAgentsConfig, Va as resolveAgentActivityRouteForPath, Vi as startCurrentCommandCheckScope, Vn as isReturnKeypress, Vo as revokeOrganizationJoinLinkResponseSchema, Vr as resolveDaemonServiceFreshnessWarning, Vt as resolveDaemonServiceParticipationStatus, W as runAgentsCustomRemove, Wa as defaultManagedIntegrationPaths, Wi as readCurrentDaemonRuntimeContext, Wn as isCliUpdateCheckApplicable, Wr as formatDeviceReplyReadinessLabel, Wt as collectSkillsReadinessSnapshot, X as runAgentsManage, Xa as formatOpenMeldCliCommand, Xi as buildInstallSelfJsonPayload, Xn as resolveElapsedTimeMs, Xr as createModelCatalogReadSession, Xt as ensureLocalSkills, Y as runAgentsList, Ya as formatInlineOpenMeldCliCommands, Yi as resolveDaemonServiceManager, Yn as formatElapsedTime, Yr as syncProfileWorkspaceState, Yt as runSkillsUpdate, Z as runAgentsRepair, Za as formatOpenMeldCliCommands, Zi as performManagedInstall, Zn as formatDaemonServiceDowngradeBlockedRecommendation, Zr as resolveProfileWorkspaceRuntime, Zt as readBundledOpenMeldCliSkillDocumentByPath, _ as emitHumanReadSignalsTextProjection, _a as resolveOpenMeldProfileOrNull, _i as getSetupFlowCopy, _n as formatServiceParticipationReadinessLabel, _o as listProjectBindings, _r as createStartAuthenticationGuideError, _t as runDaemonRun, a as runSpaceDelete, aa as isBinaryDistribution, ai as describeProfileWorkspacePathValidationFailure, an as runAuthLogin, ao as upsertDaemonServiceContract, ar as createSpaceAddMembersGuideError, at as renderOpenMeldHeader, b as loadSpaceSignalIndexOrNull, ba as deleteOpenMeldProfile, bi as classifyDaemonServiceRunStartability, bn as computeRetryDelayMs, bo as removeProjectConnection, br as getCommandHintsFromContract, bt as runDaemonStop, c as runSpaceLeave, ca as toStartBackgroundHelperExecutionCompatibility, ci as resolveAgentProfilePrimaryAgentControllerReport, cn as runAuthStatus, co as buildAgentActivityEvent, cr as createSpaceLeaveGuideError, ct as resolveGatewayWebOrigin, d as runSpaceRemoveMembers, da as formatMessage, di as listBuiltinAgentsRegistryEntries, dn as formatActiveOrganizationLabel, do as readCodexSessionTitles, dr as createSpaceRemoveMembersGuideError, dt as runDaemonAutostart, ea as ensureVersionStateReady, ei as readProfileWorkspaceConfig, en as connectWebSocket, eo as formatProfileAwareOpenMeldCliCommands, er as createDoctorFailedGuideError, et as postLocalParticipationMutationReconcile, f as runSpaceSend, fa as parseCliViewMode, fi as notifyDaemonRouteCatalogChanged, fn as createProfileByKind, fo as enqueueAgentActivityHookEvent, fr as createSpaceResultGuideError, ft as runDaemonBackgroundStartForDecision, g as buildHumanReadSignalsTranscriptItems, ga as requireOpenMeldProfile, gi as buildOnboardingPlan, gn as ensureAgentProfileRuntimeBinding, go as bindProject, gr as createStartAgentIdentityGuideError, gt as runDaemonReinstall, h as runSpaceWriteWithPasswordRetry, ha as isSelectedOpenMeldProfileRequiredError, hi as buildDaemonRouteObservationPresentation$1, hn as promptTextEntry, ho as removeProjectOutbox, hr as createSpaceUpdatesGuideError, ht as runDaemonInterrupt, i as runSpaceCreate, ia as writeVersionState, ii as validateCustomProfileWorkspacePath, in as evaluateCommandAuthentication, io as readDaemonServiceContract, ir as createResetConfirmationGuideError, it as renderOpenMeldBrandBlockLines, j as resolveOpenMeldProfileForSpaceCommand, ja as createAuthenticationError, ji as parseAgentControllerRef, jn as buildDispatchResultMessageReadProjection, jo as errLine, jr as buildDualViewGuideMessage, jt as fetchSpaceUpdates, k as assertValidSpaceIdTarget, ka as buildAgentAuthenticationGuide, ki as getAgentControllerPermissionModeFieldLabel, kn as upsertSpaceConfig, ko as sanitizeTerminalDisplayText, kr as DualViewGuideError, kt as runDaemonStartupPreflight, l as runSpaceList, la as resolveCurrentDaemonExpectedVersion, li as listAgentTargetStates, ln as buildAuthStatusRows, lo as resolveObservedAgentActivityBinding, lr as createSpaceMenuGuideError, lt as resolveSpaceSendText, m as runSpaceReadWithPasswordRetry, ma as resolveViewProfileKey, mn as resolveCreateProfileName, mo as readAgentActivityOutboxHealth, mr as createSpaceTargetGuideError, mt as runDaemonInstall, n as promptAndConfirmSpacePassword, na as fetchLatestPackageInfo, ni as setCustomProfileWorkspace, nn as buildCommandAuthenticationPromptMessage, no as resolveUserFacingCliEntryCommand, nr as createProfileCreateGuideError, nt as colorizeDisplayProfileLabel, o as runSpaceHistory, oa as resolveOpenMeldDistribution, oi as syncDeviceRuntimeStateProjection, on as runAuthLogout, oo as readAgentActivityContextForPath, or as createSpaceAliasTargetGuideError, ot as renderOpenMeldLogo, p as runSpaceWatch, pa as resolveRuntimeContext, pi as resolveLocalRegistryAgentIdFromAgentControllerRef, pn as resolveCreateProfileKind, po as removeProjectInbox, pr as createSpaceSubcommandTargetGuideError, pt as runDaemonCancel, q as runAgentsDisable, qa as resolveAgentActivityDispatcherCommand, qi as isDaemonServiceJobNeverSpawned, qn as readDispatchSpaceActionContextFromEnv, qr as resolveGatewayChainReadiness, qt as runSkillsInstall, r as runSpaceAddMembers, ra as readVersionState, ri as setOpenMeldManagedProfileWorkspace, rn as ensureCommandAuthenticationOrCancel, ro as syncLocalAgentActivity, rr as createProfileMenuGuideError, rt as printOpenMeldBanner, s as runSpaceJoin, sa as resolveDaemonRuntimeContractCompatibility, si as createPrimaryBindingReadSession, sn as runAuthMenu, so as removeAgentActivityContextCache, sr as createSpaceContractSetGuideError, st as renderOpenMeldTagline, t as buildCreateSpacePasswordPromptConfig, ta as fetchLatestCliBinaryRelease, ti as resolveConfiguredProfileWorkspacePath, tn as assessServerRequiredVersion, to as resolveSetupFollowUpCliEntryCommand, tr as createProfileActionGuideError, tt as colorizeAgentLabel, u as runSpacePassword, ua as createPresenter, ui as reconcileNewRunnableBuiltinAgentsForSetup, un as buildAuthStatusSnapshot, uo as normalizeSharedSessionTitle, ur as createSpacePublicationSetGuideError, ut as runDaemon, v as buildIdentityOnlyMembersSnapshotForReadProjection, va as createOpenMeldAgentProfile, vi as buildDaemonServiceTargetSpec, vn as resolveServiceParticipationReadiness, vo as listProjectConnectionsWithStatus, vr as createUpgradeConfirmationGuideError, vt as runDaemonSnapshot, w as buildHumanReplyContextSummary, wa as updateOpenMeldProfile, wi as resolveDaemonDeviceId, wn as collectLocalAgentControllerInventory, wo as canonicalizeLocalProjectPath, wr as getCliVersionInfo, wt as buildProfileWorkspaceRows, x as toSpaceMetaUpsertInput, xa as listOpenMeldProfiles, xi as classifyDaemonServiceWakeability, xn as submitProfileRuntimeAgentControllerReport, xo as runIfAgentActivityBindingGenerationIsCurrent, xr as registerSpaceMemberSelectionOptions, xt as runDaemonTeardownStrict, y as loadSpaceIdentityDirectoryOrNull, ya as createOpenMeldHumanProfile, yi as resolveDaemonServiceAlignmentDecision, yn as assessActionParticipationCandidate, yo as migrateProjectBindingStore, yr as getCommandEntryContract, yt as runDaemonStatusFlow, z as resolveAgentProfileSetup, za as isAgentActivityRouteRegistered, zi as isCurrentCommandCheckScopeActive, zn as promptSearchMultiselect, zo as getOrganizationJoinLinkResponseSchema, zr as formatDaemonFailureContextText, zt as resolveLocalComponentsStatus } from "./command-CItuI3i2.js";
|
|
4
|
+
import { $ as formatTransportModeDisplay, $a as formatOpenMeldCliTextBlock, $i as compareSemver, $n as canUseInteractivePrompts, $r as normalizeCustomProfileWorkspacePath, $t as readRecentDaemonDispatchJournalEvents, A as prepareAuthenticatedSpaceCommandContext, Aa as buildHumanAuthenticationCard, Ai as listAgentControllerPermissionModeOptions, An as assertNoRemovedCcSpaceAddressingSyntax, Ao as emitCliJsonEnvelope, Ar as formatDualViewGuideForDisplay, At as readDaemonStartFailureLogTailLines, B as runAgents, Ba as registerAgentActivityRoute, Bi as resetCurrentCommandCheckState, Bn as promptSearchSelect, Bo as organizationJoinLinkErrorResponseSchema, Br as resolveServiceReadinessFromServiceStatus, Bt as writeInstalledLocalComponentsSnapshot, C as buildFormalSignalReadPayload, Ca as resolveOpenMeldProfile, Ci as ensureDaemonRuntimePaths, Cn as submitRuntimeAgentControllerReports, Co as unbindProject, Cr as registerSkillsTargetSelectionOptions, Ct as buildProfileWorkspacePresentation, D as isSpaceCommandOutputHandledError, Da as getSelectedOpenMeldProfileId, Di as createAgentExecutionStatusDisplayRows, Dn as resolveLocalAgentControllerReportDecision, Do as renderInfoCard, Dr as registerBuiltinAgentSelectionOptions, Dt as createDelayedSpinner, E as parseEnvelope, Ea as clearSelectedOpenMeldProfileId, Ei as buildAgentControllerRef, En as resolveLocalAgentControllerLaunchability, Eo as readControllerTaskLifecycleOutboxHealth, Er as registerAuthLoginRequestOptions, Et as emitDaemonAgentOverview, F as prepareLocalAgentReadiness, Fa as getProfileDefaultView, Fi as resolveEvidenceSyncHealth, Fn as buildSpaceRoundReadProjection, Fo as cliJsonOutputEnvelopeSchema, Fr as areAllowedActionsEquivalent, Ft as readGatewayJsonResponse, G as runAgentsCustomUpdate, Ga as installAgentActivityIntegrations, Gi as readCurrentObservedDaemonRuntimeStatus, Gn as assertDispatchOwnedRuntimePublicWriteAllowed, Gr as formatHumanReplyReadinessReason$1, Gt as runSkillsCheck$1, H as runAgentsCustomAdd, Ha as unregisterAgentActivityRoute, Hi as inspectDaemonServiceInventory, Hn as runInteractivePrompt, Ho as compareAgentControllerRefsForDisplay, Hr as resolveCurrentReplyReadinessSnapshot, Ht as runDaemonServiceParticipationGate, I as buildReplyReadinessGuidance, Ia as setProfileDefaultView, Ii as resolveNativeAgentControllerPermissionModeForController, In as buildUpdatesReplyWorkflowProjection, Io as cliJsonSkillsListEnvelopeSchema, Ir as buildAgentFacingPublicationModeGuideLines, It as readGatewayTextResponse, J as runAgentsEnable, Ja as uninstallAgentActivityIntegrations, Ji as readDaemonServiceJobCrashExitCode, Jn as writeDispatchSpaceActionRecord, Jr as resolveOpenClawLocalDiagnosticsValue, Jt as runSkillsUninstall, K as runAgentsDetect, Ka as readAgentActivityIntegrationStatus, Ki as getDaemonSystemServiceLogPath, Kn as readDispatchOwnedRuntimeGuard, Kr as mapAgentReplyReadinessToLegacyAutoReply, Kt as runSkillsEnsure, L as resolveHumanControllerDisplayName, La as LocalProjectConnectionError, Li as finishCurrentCommandCheckScope, Ln as createSpaceMemberIdentityIndex, Lo as cliJsonSkillsLoadEnvelopeSchema, Lr as canonicalizeAllowedActions, Lt as toStructuredGatewayFailure, M as resolveSpaceAccessLabel, Ma as resolveAuthenticationGuidance, Mi as resolveAgentControllerPermissionModeForController, Mn as buildDispatchResultReplyWorkflowProjection, Mo as outJsonLine, Mr as formatAgentOverviewPayload, Mt as createCliSpaceApi, N as emitSpaceAgentOverview, Na as resolveAuthenticationGuidanceFromError, Ni as resolveAgentExecutionStatus, Nn as buildSignalIndex, No as outLine, Nr as OPENMELD_AGENT_MENTAL_MODEL_LINES, Nt as fetchSpaceMeta, O as assertFullSignalIdArgument, Oa as setSelectedOpenMeldProfileId, Oi as getAgentControllerPermissionModeDisplayMetadata, On as inspectSpaceCacheFile, Oo as renderTextInfoCard, Or as buildAgentOverviewFromContract, Ot as shouldEmitAgentOverview, P as emitSpaceCliAgentOverview, Pa as resolveAuthenticationGuidanceFromMessage, Pi as resolveAgentProfileEditCapabilities, Pn as buildSignalMessageReadProjection, Po as cliBinaryDeltaPatchSchema, Pr as SPACE_CONTRACT_ALLOWED_ACTION_ORDER, Pt as updateSpaceMeta, Q as runAgentsShow, Qa as formatOpenMeldCliLine, Qi as buildNextVersionState, Qn as formatDaemonServiceMissingRecommendation, Qr as ensureOpenMeldManagedProfileWorkspace, Qt as readRuntimeReportingHealthState, R as persistAgentTransportSelection, Ra as validateLocalProjectConnectionPath, Ri as getCurrentCommandCheckState, Rn as formatRemovedCcRelationMessage, Ro as cliJsonSkillsShowEnvelopeSchema, Rr as runDaemonServiceFullAlignment, Rt as parseJsonResponse, S as buildFormalDispatchResultReadPayload, Sa as primeOpenMeldProfilesSessionCache, Si as readRecentDaemonLifecycleEvents, Sn as submitRuntimeAgentControllerReport, So as setDefaultProjectConnection, Sr as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, St as runDaemonUninstall, T as formatHumanReadTargetList, Ta as alignSelectedOpenMeldProfileStorage, Ti as resolveOpenMeldEnvironmentTarget, Tn as resolveLocalAgentControllerBlockerReasonCodes, To as enqueueControllerTaskLifecycleEventWhileLocked, Tr as registerDaemonControlTargetOptions, Tt as reconcileCliVersionView, U as runAgentsCustomList, Ui as resolveVersionChangeDirection, Un as assessCliUpdate, Uo as package_default, Ur as formatAgentReplyReadinessLabel, Ut as runDaemonStartDecisionPrompt, V as runAgentsConfig, Va as resolveAgentActivityRouteForPath, Vi as startCurrentCommandCheckScope, Vn as isReturnKeypress, Vo as revokeOrganizationJoinLinkResponseSchema, Vr as resolveDaemonServiceFreshnessWarning, Vt as resolveDaemonServiceParticipationStatus, W as runAgentsCustomRemove, Wa as defaultManagedIntegrationPaths, Wi as readCurrentDaemonRuntimeContext, Wn as isCliUpdateCheckApplicable, Wr as formatDeviceReplyReadinessLabel, Wt as collectSkillsReadinessSnapshot, X as runAgentsManage, Xa as formatOpenMeldCliCommand, Xi as buildInstallSelfJsonPayload, Xn as resolveElapsedTimeMs, Xr as createModelCatalogReadSession, Xt as ensureLocalSkills, Y as runAgentsList, Ya as formatInlineOpenMeldCliCommands, Yi as resolveDaemonServiceManager, Yn as formatElapsedTime, Yr as syncProfileWorkspaceState, Yt as runSkillsUpdate, Z as runAgentsRepair, Za as formatOpenMeldCliCommands, Zi as performManagedInstall, Zn as formatDaemonServiceDowngradeBlockedRecommendation, Zr as resolveProfileWorkspaceRuntime, Zt as readBundledOpenMeldCliSkillDocumentByPath, _ as emitHumanReadSignalsTextProjection, _a as resolveOpenMeldProfileOrNull, _i as getSetupFlowCopy, _n as formatServiceParticipationReadinessLabel, _o as listProjectBindings, _r as createStartAuthenticationGuideError, _t as runDaemonRunAfterEntryChecks, a as runSpaceDelete, aa as isBinaryDistribution, ai as describeProfileWorkspacePathValidationFailure, an as runAuthLogin, ao as upsertDaemonServiceContract, ar as createSpaceAddMembersGuideError, at as renderOpenMeldHeader, b as loadSpaceSignalIndexOrNull, ba as deleteOpenMeldProfile, bi as classifyDaemonServiceRunStartability, bn as computeRetryDelayMs, bo as removeProjectConnection, br as getCommandHintsFromContract, bt as runDaemonStop, c as runSpaceLeave, ca as toStartBackgroundHelperExecutionCompatibility, ci as resolveAgentProfilePrimaryAgentControllerReport, cn as runAuthStatus, co as buildAgentActivityEvent, cr as createSpaceLeaveGuideError, ct as resolveGatewayWebOrigin, d as runSpaceRemoveMembers, da as formatMessage, di as listBuiltinAgentsRegistryEntries, dn as formatActiveOrganizationLabel, do as readCodexSessionTitles, dr as createSpaceRemoveMembersGuideError, dt as runDaemonAutostart, ea as ensureVersionStateReady, ei as readProfileWorkspaceConfig, en as connectWebSocket, eo as formatProfileAwareOpenMeldCliCommands, er as createDoctorFailedGuideError, et as postLocalParticipationMutationReconcile, f as runSpaceSend, fa as parseCliViewMode, fi as notifyDaemonRouteCatalogChanged, fn as createProfileByKind, fo as enqueueAgentActivityHookEvent, fr as createSpaceResultGuideError, ft as runDaemonBackgroundStartForDecision, g as buildHumanReadSignalsTranscriptItems, ga as requireOpenMeldProfile, gi as buildOnboardingPlan, gn as ensureAgentProfileRuntimeBinding, go as bindProject, gr as createStartAgentIdentityGuideError, gt as runDaemonReinstall, h as runSpaceWriteWithPasswordRetry, ha as isSelectedOpenMeldProfileRequiredError, hi as buildDaemonRouteObservationPresentation$1, hn as promptTextEntry, ho as removeProjectOutbox, hr as createSpaceUpdatesGuideError, ht as runDaemonInterrupt, i as runSpaceCreate, ia as writeVersionState, ii as validateCustomProfileWorkspacePath, in as evaluateCommandAuthentication, io as readDaemonServiceContract, ir as createResetConfirmationGuideError, it as renderOpenMeldBrandBlockLines, j as resolveOpenMeldProfileForSpaceCommand, ja as createAuthenticationError, ji as parseAgentControllerRef, jn as buildDispatchResultMessageReadProjection, jo as errLine, jr as buildDualViewGuideMessage, jt as fetchSpaceUpdates, k as assertValidSpaceIdTarget, ka as buildAgentAuthenticationGuide, ki as getAgentControllerPermissionModeFieldLabel, kn as upsertSpaceConfig, ko as sanitizeTerminalDisplayText, kr as DualViewGuideError, kt as runDaemonStartupPreflight, l as runSpaceList, la as resolveCurrentDaemonExpectedVersion, li as listAgentTargetStates, ln as buildAuthStatusRows, lo as resolveObservedAgentActivityBinding, lr as createSpaceMenuGuideError, lt as resolveSpaceSendText, m as runSpaceReadWithPasswordRetry, ma as resolveViewProfileKey, mn as resolveCreateProfileName, mo as readAgentActivityOutboxHealth, mr as createSpaceTargetGuideError, mt as runDaemonInstall, n as promptAndConfirmSpacePassword, na as fetchLatestPackageInfo, ni as setCustomProfileWorkspace, nn as buildCommandAuthenticationPromptMessage, no as resolveUserFacingCliEntryCommand, nr as createProfileCreateGuideError, nt as colorizeDisplayProfileLabel, o as runSpaceHistory, oa as resolveOpenMeldDistribution, oi as syncDeviceRuntimeStateProjection, on as runAuthLogout, oo as readAgentActivityContextForPath, or as createSpaceAliasTargetGuideError, ot as renderOpenMeldLogo, p as runSpaceWatch, pa as resolveRuntimeContext, pi as resolveLocalRegistryAgentIdFromAgentControllerRef, pn as resolveCreateProfileKind, po as removeProjectInbox, pr as createSpaceSubcommandTargetGuideError, pt as runDaemonCancel, q as runAgentsDisable, qa as resolveAgentActivityDispatcherCommand, qi as isDaemonServiceJobNeverSpawned, qn as readDispatchSpaceActionContextFromEnv, qr as resolveGatewayChainReadiness, qt as runSkillsInstall, r as runSpaceAddMembers, ra as readVersionState, ri as setOpenMeldManagedProfileWorkspace, rn as ensureCommandAuthenticationOrCancel, ro as syncLocalAgentActivity, rr as createProfileMenuGuideError, rt as printOpenMeldBanner, s as runSpaceJoin, sa as resolveDaemonRuntimeContractCompatibility, si as createPrimaryBindingReadSession, sn as runAuthMenu, so as removeAgentActivityContextCache, sr as createSpaceContractSetGuideError, st as renderOpenMeldTagline, t as buildCreateSpacePasswordPromptConfig, ta as fetchLatestCliBinaryRelease, ti as resolveConfiguredProfileWorkspacePath, tn as assessServerRequiredVersion, to as resolveSetupFollowUpCliEntryCommand, tr as createProfileActionGuideError, tt as colorizeAgentLabel, u as runSpacePassword, ua as createPresenter, ui as reconcileNewRunnableBuiltinAgentsForSetup, un as buildAuthStatusSnapshot, uo as normalizeSharedSessionTitle, ur as createSpacePublicationSetGuideError, ut as runDaemon, v as buildIdentityOnlyMembersSnapshotForReadProjection, va as createOpenMeldAgentProfile, vi as buildDaemonServiceTargetSpec, vn as resolveServiceParticipationReadiness, vo as listProjectConnectionsWithStatus, vr as createUpgradeConfirmationGuideError, vt as runDaemonSnapshot, w as buildHumanReplyContextSummary, wa as updateOpenMeldProfile, wi as resolveDaemonDeviceId, wn as collectLocalAgentControllerInventory, wo as canonicalizeLocalProjectPath, wr as getCliVersionInfo, wt as buildProfileWorkspaceRows, x as toSpaceMetaUpsertInput, xa as listOpenMeldProfiles, xi as classifyDaemonServiceWakeability, xn as submitProfileRuntimeAgentControllerReport, xo as runIfAgentActivityBindingGenerationIsCurrent, xr as registerSpaceMemberSelectionOptions, xt as runDaemonTeardownStrict, y as loadSpaceIdentityDirectoryOrNull, ya as createOpenMeldHumanProfile, yi as resolveDaemonServiceAlignmentDecision, yn as assessActionParticipationCandidate, yo as migrateProjectBindingStore, yr as getCommandEntryContract, yt as runDaemonStatusFlow, z as resolveAgentProfileSetup, za as isAgentActivityRouteRegistered, zi as isCurrentCommandCheckScopeActive, zn as promptSearchMultiselect, zo as getOrganizationJoinLinkResponseSchema, zr as formatDaemonFailureContextText, zt as resolveLocalComponentsStatus } from "./command-CwpZzTGc.js";
|
|
5
5
|
import { $t as START_ISO_DATE_TIME_SCHEMA, E as toStructuredApiClientFailure, G as spaceDispatchTraceAttemptStatusSchema, J as observabilityWakeTraceSelectorSchema, K as spaceDispatchTraceDispatchStatusSchema, Mt as agentActivityProviderSchema, Nt as agentActivitySessionStatusSchema, P as OPENMELD_HEADER_PROFILE_ID, Pt as agentActivitySnapshotQuerySchema, Qt as START_BOUNDED_VERSION_SCHEMA, U as projectSpaceDispatchTraceFinalVisibleOutcome, W as resolveSpaceDispatchTraceRootCause, Y as projectObservabilityWakeCorrelation, Zt as START_BOUNDED_ID_SCHEMA, _ as createPrepareReadinessApi, _t as authProfileManagedRoleSchema, b as createRoutinesApi, bt as submitFeedbackIssueRequestSchema, c as createAgentProfileBindingApi, d as createFeedbackApi, en as START_TRIMMED_NON_EMPTY_STRING_SCHEMA, ft as stringifyOrganizationSkillBundleCanonicalJson, g as createOrganizationSkillsApi, gt as authProfileKindSchema, h as createOrganizationApi, l as createCenterAgentApi, lt as organizationSkillBundleSchema, nn as localAgentCatalogSchema, q as spaceDispatchTraceResponseSchema, s as createAgentActivityApi, tn as startReplyReadinessSummarySchema, u as createCurrentDeviceApi, y as createProjectsApi, z as sleep } from "./dist-Da8tvfsY.js";
|
|
6
6
|
import { Gt as dispatchExecutionSchema, Kt as spaceThreadContextSchema, Lt as spaceStatusSchema, Pn as clientMessageIdSchema, Rt as centerAgentInteractionSourceSchema, Xt as spaceContractFieldsSchema, Zt as spaceContractSchema, hr as trimmedStringFromUnknown, ln as messageEnvelopeSchema, or as openMeldRuntimeProfileIdSchema, pr as nonEmptyTrimmedStringFromUnknown, tr as openMeldProfileIdSchema } from "./runtime-transport-eiQG68PK.js";
|
|
7
7
|
import { r as daemonServiceLaneSchema } from "./service-contract-DZWQdPz5.js";
|
|
@@ -15744,6 +15744,7 @@ function createHumanStaticStepHandle(input) {
|
|
|
15744
15744
|
}
|
|
15745
15745
|
function resolveSetupProgressRenderMode(runtime) {
|
|
15746
15746
|
if (runtime.resolvedView === "agent") return "agent";
|
|
15747
|
+
if (runtime.interactive) return "human_static";
|
|
15747
15748
|
if (process.stdout.isTTY === true) return "human_tty";
|
|
15748
15749
|
return "human_static";
|
|
15749
15750
|
}
|
|
@@ -15786,7 +15787,7 @@ function withHumanStepDuration(text, durationMs) {
|
|
|
15786
15787
|
}
|
|
15787
15788
|
//#endregion
|
|
15788
15789
|
//#region src/ui/setup-human-view.ts
|
|
15789
|
-
async function
|
|
15790
|
+
async function runWithSetupProgress(input) {
|
|
15790
15791
|
const progress = createSetupProgressReporter({
|
|
15791
15792
|
presenter: input.presenter,
|
|
15792
15793
|
runtime: input.runtime
|
|
@@ -16506,6 +16507,12 @@ var PrepareSessionBlockedByCoreError = class extends Error {
|
|
|
16506
16507
|
this.name = "PrepareSessionBlockedByCoreError";
|
|
16507
16508
|
}
|
|
16508
16509
|
};
|
|
16510
|
+
var PrepareSessionCancelledError = class extends Error {
|
|
16511
|
+
constructor() {
|
|
16512
|
+
super("Setup was cancelled.");
|
|
16513
|
+
this.name = "PrepareSessionCancelledError";
|
|
16514
|
+
}
|
|
16515
|
+
};
|
|
16509
16516
|
async function runPrepareSessionExecutor(input) {
|
|
16510
16517
|
let initial = await resolvePrepareSessionToken({
|
|
16511
16518
|
gatewayUrl: input.gatewayUrl,
|
|
@@ -16528,6 +16535,10 @@ async function runPrepareSessionExecutor(input) {
|
|
|
16528
16535
|
}
|
|
16529
16536
|
});
|
|
16530
16537
|
} catch (error) {
|
|
16538
|
+
if (error instanceof PrepareSessionCancelledError) return {
|
|
16539
|
+
reason: "user_cancelled",
|
|
16540
|
+
status: "not_completed"
|
|
16541
|
+
};
|
|
16531
16542
|
if (error instanceof PrepareSessionTerminalReplacedError) {
|
|
16532
16543
|
emitHumanStatus(input, "Terminal replaced", ["A newer Terminal command is running this setup.", "You can close this window."]);
|
|
16533
16544
|
return {
|
|
@@ -16961,7 +16972,7 @@ async function runTerminalStep(input) {
|
|
|
16961
16972
|
}
|
|
16962
16973
|
}
|
|
16963
16974
|
function requireStartedTerminalStepSnapshot(input) {
|
|
16964
|
-
if (input.error instanceof PrepareSessionConnectionInterruptedError || input.error instanceof PrepareSessionBlockedByCoreError) {
|
|
16975
|
+
if (input.error instanceof PrepareSessionCancelledError || input.error instanceof PrepareSessionConnectionInterruptedError || input.error instanceof PrepareSessionBlockedByCoreError) {
|
|
16965
16976
|
input.progress.cancel();
|
|
16966
16977
|
throw input.error;
|
|
16967
16978
|
}
|
|
@@ -17057,6 +17068,7 @@ async function runRefreshServiceTerminalStep(input, progress) {
|
|
|
17057
17068
|
suppressStartSpinner: true,
|
|
17058
17069
|
view: input.input.view
|
|
17059
17070
|
});
|
|
17071
|
+
if (gate.status === "cancelled") throw new PrepareSessionCancelledError();
|
|
17060
17072
|
if (gate.status !== "aligned") {
|
|
17061
17073
|
if (gate.localMachineIssue) throw new LocalMachineFailureError({ issue: gate.localMachineIssue });
|
|
17062
17074
|
throw new Error(gate.errorMessage ?? "OpenMeld Service is not connected yet.");
|
|
@@ -17991,19 +18003,7 @@ async function runSetupLocalAgentConnection(input) {
|
|
|
17991
18003
|
ott: input.ott,
|
|
17992
18004
|
view: input.view
|
|
17993
18005
|
});
|
|
17994
|
-
const
|
|
17995
|
-
let explicitProfile = null;
|
|
17996
|
-
let explicitProfileResolved = false;
|
|
17997
|
-
if (explicitProfileId) {
|
|
17998
|
-
explicitProfile = await resolveOpenMeldProfileOrNull({
|
|
17999
|
-
openMeldProfileId: explicitProfileId,
|
|
18000
|
-
allowUnauthenticated: true,
|
|
18001
|
-
allowDefaultFallback: false,
|
|
18002
|
-
persistSelection: false
|
|
18003
|
-
});
|
|
18004
|
-
explicitProfileResolved = true;
|
|
18005
|
-
if (isHumanProfile(explicitProfile)) throw new Error(HUMAN_PROFILE_SETUP_TARGET_MESSAGE);
|
|
18006
|
-
}
|
|
18006
|
+
const { profile: explicitProfile, resolved: explicitProfileResolved } = await resolveExplicitSetupProfile(input.profile);
|
|
18007
18007
|
if (!input.startSession) {
|
|
18008
18008
|
if (await runSetupLocalAgentConnectionServiceGate({
|
|
18009
18009
|
interactive,
|
|
@@ -18025,10 +18025,7 @@ async function runSetupLocalAgentConnection(input) {
|
|
|
18025
18025
|
localAgentSelection: resolvePrepareSessionLocalAgentSelection(input),
|
|
18026
18026
|
view: input.view
|
|
18027
18027
|
});
|
|
18028
|
-
if (sessionResult.status !== "completed") return
|
|
18029
|
-
reason: "setup_session_not_completed",
|
|
18030
|
-
status: "not_completed"
|
|
18031
|
-
};
|
|
18028
|
+
if (sessionResult.status !== "completed") return resolveIncompletePrepareSessionSetupResult(sessionResult);
|
|
18032
18029
|
return buildCompletedSetupSessionResult(sessionResult);
|
|
18033
18030
|
}
|
|
18034
18031
|
if (input.agent && input.agent.length > 0) {
|
|
@@ -18074,12 +18071,15 @@ async function runSetupLocalAgentConnection(input) {
|
|
|
18074
18071
|
};
|
|
18075
18072
|
const preparedProfileCandidate = result.profiles.find((candidate) => candidate.openMeldProfileId === agentProfile.openMeldProfileId);
|
|
18076
18073
|
const preparedProfile = isAgentProfile(preparedProfileCandidate) ? preparedProfileCandidate : agentProfile;
|
|
18077
|
-
await maybeCompleteServiceReadinessAfterPreparation({
|
|
18074
|
+
if (await maybeCompleteServiceReadinessAfterPreparation({
|
|
18078
18075
|
interactive,
|
|
18079
18076
|
profile: preparedProfile,
|
|
18080
18077
|
runtime,
|
|
18081
18078
|
view: input.view
|
|
18082
|
-
})
|
|
18079
|
+
}) === "cancelled") return {
|
|
18080
|
+
reason: "cancelled",
|
|
18081
|
+
status: "not_completed"
|
|
18082
|
+
};
|
|
18083
18083
|
return {
|
|
18084
18084
|
completionFacts: await emitSetupLocalAgentConnectionReadinessResult({
|
|
18085
18085
|
presenter,
|
|
@@ -18091,6 +18091,30 @@ async function runSetupLocalAgentConnection(input) {
|
|
|
18091
18091
|
status: "completed"
|
|
18092
18092
|
};
|
|
18093
18093
|
}
|
|
18094
|
+
async function resolveExplicitSetupProfile(profileId) {
|
|
18095
|
+
const normalizedProfileId = normalizeOptionalString$4(profileId);
|
|
18096
|
+
if (!normalizedProfileId) return {
|
|
18097
|
+
profile: null,
|
|
18098
|
+
resolved: false
|
|
18099
|
+
};
|
|
18100
|
+
const profile = await resolveOpenMeldProfileOrNull({
|
|
18101
|
+
openMeldProfileId: normalizedProfileId,
|
|
18102
|
+
allowUnauthenticated: true,
|
|
18103
|
+
allowDefaultFallback: false,
|
|
18104
|
+
persistSelection: false
|
|
18105
|
+
});
|
|
18106
|
+
if (isHumanProfile(profile)) throw new Error(HUMAN_PROFILE_SETUP_TARGET_MESSAGE);
|
|
18107
|
+
return {
|
|
18108
|
+
profile,
|
|
18109
|
+
resolved: true
|
|
18110
|
+
};
|
|
18111
|
+
}
|
|
18112
|
+
function resolveIncompletePrepareSessionSetupResult(sessionResult) {
|
|
18113
|
+
return {
|
|
18114
|
+
reason: sessionResult.reason === "user_cancelled" ? "cancelled" : "setup_session_not_completed",
|
|
18115
|
+
status: "not_completed"
|
|
18116
|
+
};
|
|
18117
|
+
}
|
|
18094
18118
|
function buildCompletedSetupSessionResult(sessionResult) {
|
|
18095
18119
|
return {
|
|
18096
18120
|
...sessionResult.completionFacts ? { completionFacts: sessionResult.completionFacts } : {},
|
|
@@ -18192,7 +18216,7 @@ function assertValidLocalAgentSelectionInput(input) {
|
|
|
18192
18216
|
if (normalizeLocalAgentIds(input.localAgent).length !== 1) throw new Error("--profile setup accepts exactly one --local-agent <id>.");
|
|
18193
18217
|
}
|
|
18194
18218
|
async function maybeCompleteServiceReadinessAfterPreparation(input) {
|
|
18195
|
-
if (!input.interactive || input.runtime.resolvedView !== "human") return;
|
|
18219
|
+
if (!input.interactive || input.runtime.resolvedView !== "human") return "completed";
|
|
18196
18220
|
const reasonCodes = collectReadinessReasonCodes(await resolveCurrentReplyReadinessSnapshot({
|
|
18197
18221
|
checkGatewayChain: true,
|
|
18198
18222
|
includeDaemonRouteObservation: true,
|
|
@@ -18200,7 +18224,7 @@ async function maybeCompleteServiceReadinessAfterPreparation(input) {
|
|
|
18200
18224
|
ownerUserId: input.profile.ownerUserId,
|
|
18201
18225
|
profile: input.profile
|
|
18202
18226
|
}));
|
|
18203
|
-
if (reasonCodes.length === 0) return;
|
|
18227
|
+
if (reasonCodes.length === 0) return "completed";
|
|
18204
18228
|
const inventory = await inspectDaemonServiceInventory({
|
|
18205
18229
|
expectedVersion: resolveCurrentDaemonExpectedVersion(),
|
|
18206
18230
|
intent: "status_cleanup"
|
|
@@ -18218,8 +18242,9 @@ async function maybeCompleteServiceReadinessAfterPreparation(input) {
|
|
|
18218
18242
|
startAfterInstallMode: "always",
|
|
18219
18243
|
suppressAgentOverview: true
|
|
18220
18244
|
});
|
|
18245
|
+
if (!refreshOutcome.ok && refreshOutcome.result === "cancelled") return "cancelled";
|
|
18221
18246
|
if (!refreshOutcome.ok) throw new Error(`OpenMeld Service refresh did not complete: ${refreshOutcome.result}`);
|
|
18222
|
-
return;
|
|
18247
|
+
return "completed";
|
|
18223
18248
|
}
|
|
18224
18249
|
if (reasonCodes.includes("service.not_installed")) {
|
|
18225
18250
|
await runDaemonInstall({
|
|
@@ -18228,22 +18253,20 @@ async function maybeCompleteServiceReadinessAfterPreparation(input) {
|
|
|
18228
18253
|
profile: input.profile.openMeldProfileId,
|
|
18229
18254
|
view: input.view
|
|
18230
18255
|
}, { suppressAgentOverview: true });
|
|
18231
|
-
await
|
|
18232
|
-
agentOverviewHandled: true,
|
|
18256
|
+
return await runDaemonBackgroundStartForDecision({
|
|
18233
18257
|
gatewayUrl: await resolveBaseUrl(),
|
|
18234
|
-
mode: "background",
|
|
18235
18258
|
profile: input.profile.openMeldProfileId,
|
|
18236
18259
|
view: input.view
|
|
18237
|
-
});
|
|
18238
|
-
return;
|
|
18260
|
+
}) === "cancelled" ? "cancelled" : "completed";
|
|
18239
18261
|
}
|
|
18240
|
-
if (reasonCodes.includes("service.not_running"))
|
|
18241
|
-
|
|
18242
|
-
|
|
18243
|
-
|
|
18244
|
-
|
|
18245
|
-
|
|
18246
|
-
}
|
|
18262
|
+
if (reasonCodes.includes("service.not_running")) {
|
|
18263
|
+
if (await runDaemonBackgroundStartForDecision({
|
|
18264
|
+
gatewayUrl: await resolveBaseUrl(),
|
|
18265
|
+
profile: input.profile.openMeldProfileId,
|
|
18266
|
+
view: input.view
|
|
18267
|
+
}) === "cancelled") return "cancelled";
|
|
18268
|
+
}
|
|
18269
|
+
return "completed";
|
|
18247
18270
|
}
|
|
18248
18271
|
function collectReadinessReasonCodes(input) {
|
|
18249
18272
|
const reasonCodes = [];
|
|
@@ -18706,7 +18729,7 @@ async function runSetupUnlocked(input) {
|
|
|
18706
18729
|
promptMessage: "Sign in to OpenMeld before setting up this computer.",
|
|
18707
18730
|
allowPrompt: interactive
|
|
18708
18731
|
})) return;
|
|
18709
|
-
const initialReadiness = await
|
|
18732
|
+
const initialReadiness = await runWithSetupProgress({
|
|
18710
18733
|
code: "setup.progress.local_agents.checking",
|
|
18711
18734
|
completionMessage: "Local agents checked.",
|
|
18712
18735
|
message: setupCopy.cliProgressCheckingLocalAgents,
|
|
@@ -18746,7 +18769,7 @@ async function runSetupUnlocked(input) {
|
|
|
18746
18769
|
presenter,
|
|
18747
18770
|
selectedLocalAgentIds
|
|
18748
18771
|
});
|
|
18749
|
-
if (selectedLocalAgentIds.length > 0) assertStartLocalAgentsEnableCompleted(await
|
|
18772
|
+
if (selectedLocalAgentIds.length > 0) assertStartLocalAgentsEnableCompleted(await runWithSetupProgress({
|
|
18750
18773
|
code: "setup.progress.local_agents.enabling",
|
|
18751
18774
|
completionMessage: "Local agents connected.",
|
|
18752
18775
|
message: setupCopy.cliProgressConnectingLocalAgents,
|
|
@@ -18761,7 +18784,7 @@ async function runSetupUnlocked(input) {
|
|
|
18761
18784
|
}));
|
|
18762
18785
|
const expectedOwnerUserId = await getCurrentAuthOwnerUserId();
|
|
18763
18786
|
const forceServiceRefresh = shouldForceSetupServiceRefresh();
|
|
18764
|
-
const serviceGate = await
|
|
18787
|
+
const serviceGate = await runWithSetupProgress({
|
|
18765
18788
|
code: "setup.progress.service.starting",
|
|
18766
18789
|
completionMessage: "Background service prepared.",
|
|
18767
18790
|
message: setupCopy.cliProgressStartingService,
|
|
@@ -18805,7 +18828,7 @@ async function runSetupUnlocked(input) {
|
|
|
18805
18828
|
});
|
|
18806
18829
|
assertSelectedAgentControllerReportsAccepted(runtimeReports);
|
|
18807
18830
|
const routeCatalogSync = selectedLocalAgentIds.length > 0 ? await notifyRouteCatalogAfterSetup({ reason: "setup_local_capabilities_reported" }) : null;
|
|
18808
|
-
await
|
|
18831
|
+
await runWithSetupProgress({
|
|
18809
18832
|
code: "setup.progress.skills.updating",
|
|
18810
18833
|
completionMessage: "OpenMeld skills ready.",
|
|
18811
18834
|
message: setupCopy.cliProgressUpdatingSkills,
|
|
@@ -18813,7 +18836,7 @@ async function runSetupUnlocked(input) {
|
|
|
18813
18836
|
runtime,
|
|
18814
18837
|
run: async () => await ensureSetupManagedSkills({ view: input.view })
|
|
18815
18838
|
});
|
|
18816
|
-
const localComponents = await
|
|
18839
|
+
const localComponents = await runWithSetupProgress({
|
|
18817
18840
|
code: "setup.progress.local_components.snapshot",
|
|
18818
18841
|
completionMessage: "Local component status saved.",
|
|
18819
18842
|
message: "Saving local component status",
|
|
@@ -18964,7 +18987,7 @@ async function emitSetupCompleteForDelegatedPath(input) {
|
|
|
18964
18987
|
profile: input.setupInput.profile ?? input.setupInput.humanProfile,
|
|
18965
18988
|
view: runtime.resolvedView
|
|
18966
18989
|
});
|
|
18967
|
-
await
|
|
18990
|
+
await runWithSetupProgress({
|
|
18968
18991
|
code: "setup.progress.skills.updating",
|
|
18969
18992
|
completionMessage: "OpenMeld skills ready.",
|
|
18970
18993
|
message: getSetupFlowCopy("setup").cliProgressUpdatingSkills,
|
|
@@ -18972,7 +18995,7 @@ async function emitSetupCompleteForDelegatedPath(input) {
|
|
|
18972
18995
|
run: async () => await ensureSetupManagedSkills({ view: input.view }),
|
|
18973
18996
|
runtime
|
|
18974
18997
|
});
|
|
18975
|
-
const localComponents = await
|
|
18998
|
+
const localComponents = await runWithSetupProgress({
|
|
18976
18999
|
code: "setup.progress.local_components.snapshot",
|
|
18977
19000
|
completionMessage: "Local component status saved.",
|
|
18978
19001
|
message: "Saving local component status",
|
|
@@ -26402,7 +26425,7 @@ function normalizeOptionalString(value) {
|
|
|
26402
26425
|
return normalized.length > 0 ? normalized : null;
|
|
26403
26426
|
}
|
|
26404
26427
|
async function runDefaultSpaceAddMeMembership(input) {
|
|
26405
|
-
const { runSpaceAddMeMembership } = await import("./add-me-membership-
|
|
26428
|
+
const { runSpaceAddMeMembership } = await import("./add-me-membership-CVpMqRyD.js");
|
|
26406
26429
|
return await runSpaceAddMeMembership(input);
|
|
26407
26430
|
}
|
|
26408
26431
|
//#endregion
|
|
@@ -30773,7 +30796,7 @@ async function runServiceStartCliAction(opts) {
|
|
|
30773
30796
|
profile: opts.profile,
|
|
30774
30797
|
gatewayUrl: opts.gatewayUrl,
|
|
30775
30798
|
run: async () => {
|
|
30776
|
-
const result = await
|
|
30799
|
+
const result = await runDaemonRunAfterEntryChecks({
|
|
30777
30800
|
deviceId: opts.deviceId,
|
|
30778
30801
|
gatewayUrl: opts.gatewayUrl,
|
|
30779
30802
|
heartbeatMs: parseNonNegativeIntegerOption(opts.heartbeatMs, "--heartbeat-ms"),
|
|
@@ -30781,7 +30804,6 @@ async function runServiceStartCliAction(opts) {
|
|
|
30781
30804
|
mode: opts.mode,
|
|
30782
30805
|
view,
|
|
30783
30806
|
agentOverviewHandled: view === "agent",
|
|
30784
|
-
entryChecksHandled: true,
|
|
30785
30807
|
outputMode: json ? "silent" : "normal"
|
|
30786
30808
|
});
|
|
30787
30809
|
if (json) emitCliJsonEnvelope({
|