openmeld 0.3.153 → 0.3.155
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-zUO4mP7J.js → add-me-membership-X4ybgoL6.js} +2 -2
- package/dist/{add-me-membership-zUO4mP7J.js.map → add-me-membership-X4ybgoL6.js.map} +1 -1
- package/dist/{api-client-foundation-CLOdRX5Y.js → api-client-foundation-BoHvMp-l.js} +2 -2
- package/dist/{api-client-foundation-CLOdRX5Y.js.map → api-client-foundation-BoHvMp-l.js.map} +1 -1
- package/dist/{command-C5YPLwZM.js → command-DXNpV3oZ.js} +26 -23
- package/dist/{command-C5YPLwZM.js.map → command-DXNpV3oZ.js.map} +1 -1
- package/dist/{dist-Bu7QFqmt.js → dist-CUeqTNJi.js} +2 -2
- package/dist/dist-CUeqTNJi.js.map +1 -0
- package/dist/openmeld.js +96 -108
- package/dist/openmeld.js.map +1 -1
- package/package.json +1 -1
- package/skills/openmeld-cli/SKILL.md +6 -4
- package/dist/dist-Bu7QFqmt.js.map +0 -1
package/dist/openmeld.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { $ as resolveOpenMeldOrphanedLockIssue, $t as systemDir, A as toSpaceContractUrl, Bt as organizationSkillReleaseDir, Ct as accountProfileViewPath, D as normalizeBaseUrl, E as updateConfiguredStartV1OnboardingState, F as toSpaceDispatchTraceUrl, Ft as openMeldManagedBinaryPath, G as acquireLock, Gt as resolveOpenMeldCliEntryNameFromArgv, Ht as profileViewPath, It as openMeldManagedVersionBinaryPath, J as isOpenMeldOrphanedLockError, Jt as resolveOpenMeldRootDir, K as buildOpenMeldOrphanedLockAction, Kt as resolveOpenMeldEnvPreset, Nt as openMeldBackupsDir, P as toSpaceDispatchLookupUrl, Q as repairOrphanedLegacyLocks, Qt as spacesDir, Rt as openMeldRootDir, S as setConfiguredSkillsConfig, St as accountProfileSpaceCacheDir, Tt as accountsDir, V as toSpaceResultUrl, Vt as profileDir, Z as releaseLockSync, Zt as skillsDir, _t as toRecognizedLocalMachineFailureError, a as resolveBaseUrl, b as setConfiguredBaseUrl, c as resolveExplicitGatewayUrlOrThrow, dt as LocalMachineFailureError, en as formatLocalMachineIssueMessage, et as runWithHeldLock, g as getConfiguredSkillsConfig, gt as isLocalMachineFailureError, ht as createOrphanedSetupConcurrencyIssue, jt as normalizeAccountKey, k as toSpaceBoardUrl, lt as formatLaneScopeSentence, m as getConfiguredOnboardingDisclaimerAcceptedAt, nt as LEGACY_OPENMELD_AGENT_SESSION_ENV_KEY, o as resolveBaseUrlOrNull, ot as resolveCliContext, pt as createActiveSetupConcurrencyIssue, q as isOpenMeldLockError, rt as OPENMELD_CLI_CONTEXT_ENV_KEY, sn as agentControllerConversationRefSchema, u as alignRuntimeConfigStorage, ut as resolveOpenMeldLaneDescriptor, w as updateConfiguredOnboardingConfig } from "./base-url-CY_j4bLH.js";
|
|
4
|
-
import { $ as runAgentsManage, $a as resolveAuthenticationGuidanceFromMessage, $i as getCurrentCommandCheckState, $n as assessCliUpdate, $o as outJsonLine, $r as resolveDaemonDeviceId, $t as runSkillsUpdate, A as parseEnvelope, Aa as formatMessage, Ai as createAgentExecutionStatusDisplayRows, An as computeRetryDelayMs, Ao as resolveObservedAgentActivityBinding, Ar as getCommandHintsFromContract, At as emitDaemonAgentOverview, B as resolveHumanControllerDisplayName, Ba as listOpenMeldProfiles, Bn as assertNoRemovedCcSpaceAddressingSyntax, Bo as migrateProjectBindingStore, Br as formatDualViewGuideForDisplay, Bt as readGatewayTextResponse, C as toSpaceMetaUpsertInput, Ca as toStartBackgroundHelperExecutionCompatibility, Ci as resolveAgentProfilePrimaryAgentControllerReport, Cn as resolveCreateProfileKind, Co as resolveUserFacingCliEntryCommand, Cr as createSpaceSubcommandTargetGuideError, Ct as runDaemonStatusFlow, D as formatHumanReadTargetList, Da as renderHumanErrorCard, Di as notifyDaemonRouteCatalogChanged, Dn as formatServiceParticipationReadinessLabel, Do as readAgentActivityContextForPath, Dr as createStartAuthenticationGuideError, Dt as buildProfileWorkspacePresentation, E as buildHumanReplyContextSummary, Ea as buildHumanErrorCopy, Ei as listBuiltinAgentsRegistryEntries, En as ensureAgentProfileRuntimeBinding, Eo as upsertDaemonServiceContract, Er as createStartAgentIdentityGuideError, Et as runDaemonUninstall, F as resolveOpenMeldProfileForSpaceCommand, Fa as requireOpenMeldProfile, Fi as resolveAgentControllerPermissionModeForController, Fn as resolveLocalAgentControllerBlockerReasonCodes, Fo as readAgentActivityOutboxHealth, Fr as registerDaemonControlTargetOptions, Ft as fetchSpaceUpdates, G as runAgentsCustomAdd, Ga as clearSelectedOpenMeldProfileId, Gi as resolveDaemonServiceAlignmentDecision, Gn as buildSpaceRoundReadProjection, Go as canonicalizeLocalProjectPath, Gr as areAllowedActionsEquivalent, Gt as resolveDaemonServiceParticipationStatus, H as resolveAgentProfileSetup, Ha as resolveOpenMeldProfile, Hi as buildOnboardingPlan, Hn as buildDispatchResultReplyWorkflowProjection, Ho as runIfAgentActivityBindingGenerationIsCurrent, Hr as formatAgentOverviewPayload, Ht as parseJsonResponse, I as emitSpaceAgentOverview, Ia as resolveOpenMeldProfileOrNull, Ii as resolveAgentExecutionStatus, In as resolveLocalAgentControllerLaunchability, Io as removeProjectOutbox, Ir as registerAuthLoginRequestOptions, It as createCliSpaceApi, J as runAgentsCustomUpdate, Ja as buildAgentAuthenticationGuide, Ji as resolveServiceUpdateUrgency, Jn as formatRemovedCcRelationMessage, Jo as renderInfoCard, Jr as readPendingOpenMeldToolsUpdateAttempt, Jt as collectSkillsReadinessSnapshot, K as runAgentsCustomList, Ka as getSelectedOpenMeldProfileId, Ki as classifyDaemonServiceRunStartability, Kn as buildUpdatesReplyWorkflowProjection, Ko as enqueueControllerTaskLifecycleEventWhileLocked, Kr as buildAgentFacingPublicationModeGuideLines, Kt as runDaemonServiceParticipationGate, L as emitSpaceCliAgentOverview, La as createOpenMeldAgentProfile, Li as resolveAgentProfileEditCapabilities, Ln as resolveLocalAgentControllerReportDecision, Lo as bindProject, Lr as registerBuiltinAgentSelectionOptions, Lt as fetchSpaceMeta, M as assertFullSignalIdArgument, Ma as resolveRuntimeContext, Mi as getAgentControllerPermissionModeFieldLabel, Mn as submitRuntimeAgentControllerReport, Mo as readCodexSessionTitles, Mr as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, Mt as shouldEmitAgentOverview, N as assertValidSpaceIdTarget, Na as resolveViewProfileKey, Ni as listAgentControllerPermissionModeOptions, Nn as submitRuntimeAgentControllerReports, No as enqueueAgentActivityHookEvent, Nr as registerSkillsTargetSelectionOptions, Nt as runDaemonStartupPreflight, O as resolveLinkAccessLabel, Oa as renderHumanTextErrorCard, Oi as resolveLocalRegistryAgentIdFromAgentControllerRef, On as resolveServiceParticipationReadiness, Oo as removeAgentActivityContextCache, Or as createUpgradeConfirmationGuideError, Ot as buildProfileWorkspaceRows, P as prepareAuthenticatedSpaceCommandContext, Pa as isSelectedOpenMeldProfileRequiredError, Pi as parseAgentControllerRef, Pn as collectLocalAgentControllerInventory, Po as removeProjectInbox, Pr as getCliVersionInfo, Pt as readDaemonStartFailureLogTailLines, Q as runAgentsList, Qa as resolveAuthenticationGuidanceFromError, Qi as finishCurrentCommandCheckScope, Qn as runInteractivePrompt, Qo as errLine, Qr as ensureDaemonRuntimePaths, Qt as runSkillsUninstall, R as prepareLocalAgentReadiness, Ra as createOpenMeldHumanProfile, Ri as resolveEvidenceSyncHealth, Rn as inspectSpaceCacheFile, Ro as listProjectBindings, Rr as buildAgentOverviewFromContract, Rt as updateSpaceMeta, S as loadSpaceSignalIndexOrNull, Sa as resolveDaemonRuntimeContractCompatibility, Si as createPrimaryBindingReadSession, Sn as createProfileByKind, So as resolveSetupFollowUpCliEntryCommand, Sr as createSpaceResultGuideError, St as runDaemonSnapshot, T as buildFormalSignalReadPayload, Ta as OPENMELD_VERSION, Ti as reconcileNewRunnableBuiltinAgentsForSetup, Tn as promptTextEntry, To as readDaemonServiceContract, Tr as createSpaceUpdatesGuideError, Tt as runDaemonTeardownStrict, U as runAgents, Ua as updateOpenMeldProfile, Ui as getSetupFlowCopy, Un as buildSignalIndex, Uo as setDefaultProjectConnection, Ur as OPENMELD_AGENT_MENTAL_MODEL_LINES, Ut as resolveLocalComponentsStatus, V as persistAgentTransportSelection, Va as primeOpenMeldProfilesSessionCache, Vi as buildDaemonRouteObservationPresentation$1, Vn as buildDispatchResultMessageReadProjection, Vo as removeProjectConnection, Vr as buildDualViewGuideMessage, Vt as toStructuredGatewayFailure, W as runAgentsConfig, Wa as alignSelectedOpenMeldProfileStorage, Wi as buildDaemonServiceTargetSpec, Wn as buildSignalMessageReadProjection, Wo as unbindProject, Wr as SPACE_CONTRACT_ALLOWED_ACTION_ORDER, Wt as writeInstalledLocalComponentsSnapshot, X as runAgentsDisable, Xa as createAuthenticationError, Xi as resolveOpenMeldEnvironmentTarget, Xn as promptSearchSelect, Xo as sanitizeTerminalDisplayText, Xr as runPendingDaemonServiceUpdate, Xt as runSkillsEnsure, Y as runAgentsDetect, Ya as buildHumanAuthenticationCard, Yi as assessServerRequiredVersion, Yn as promptSearchMultiselect, Yo as renderTextInfoCard, Yr as readOpenMeldToolsUpdateContextFromEnv, Yt as runSkillsCheck$1, Z as runAgentsEnable, Za as resolveAuthenticationGuidance, Zi as resolveAuthBaseUrl, Zn as isReturnKeypress, Zo as emitCliJsonEnvelope, Zr as scheduleDaemonServiceUpdate, Zt as runSkillsInstall, _ as runSpaceWriteWithPasswordRetry, _a as ensureVersionStateReady, _i as setCustomProfileWorkspace, _n as fetchAuthUserSnapshot, _o as formatOpenMeldCliCommand, _r as createSpaceContractSetGuideError, _t as runDaemonCancel, a as runSpaceDelete, aa as readCurrentDaemonRuntimeContext, ai as formatDeviceReplyReadinessLabel, an as buildCommandAuthenticationPromptMessage, ao as requestLocalAgentActivitySync, ar as formatElapsedTime, as as cliJsonSkillsShowEnvelopeSchema, at as printOpenMeldBanner, b as buildIdentityOnlyMembersSnapshotForReadProjection, ba as readVersionState, bi as describeProfileWorkspacePathValidationFailure, bn as resolveDeviceTokenExpiresAt, bo as formatOpenMeldCliTextBlock, br as createSpacePublicationSetGuideError, bt as runDaemonReinstall, c as runSpaceLeave, ca as isDaemonServiceJobNeverSpawned, ci as resolveGatewayChainReadiness, cn as runAuthLogin, co as resolveAgentActivityRouteForPath, cr as formatDaemonServiceMissingRecommendation, cs as revokeOrganizationJoinLinkResponseSchema, ct as renderOpenMeldLogo, d as runSpaceRemoveMembers, da as readRecentDaemonLifecycleEvents, di as createModelCatalogReadSession, dn as runAuthStatus, do as defaultManagedIntegrationPaths, dr as createProfileActionGuideError, dt as resolveSpaceWebGatewayOrigin, ea as isCurrentCommandCheckScopeActive, ei as formatDaemonFailureContextText, en as ensureLocalSkills, eo as getProfileDefaultView, er as isCliUpdateCheckApplicable, es as outLine, et as runAgentsRepair, f as runSpaceSend, fa as buildInstallSelfJsonPayload, fi as resolveProfileWorkspaceRuntime, fn as exchangeOneTimeTokenAuthSession, fo as installAgentActivityIntegrations, fr as createProfileCreateGuideError, ft as resolveSpaceSendText, g as runSpaceReadWithPasswordRetry, ga as compareSemver, gi as resolveConfiguredProfileWorkspacePath, gn as extractAuthApiErrorMessage, go as formatInlineOpenMeldCliCommands, gr as createSpaceAliasTargetGuideError, gt as runDaemonBackgroundStartForDecision, h as uploadPreparedSpaceFiles, ha as buildNextVersionState, hi as readProfileWorkspaceConfig, hn as formatActiveOrganizationLabel, ho as uninstallAgentActivityIntegrations, hr as createSpaceAddMembersGuideError, ht as runDaemonAutostart, i as runSpaceCreate, ia as resolveVersionChangeDirection, ii as formatAgentReplyReadinessLabel, in as connectWebSocket, io as LocalDaemonControlPlaneClientError, ir as writeDispatchSpaceActionRecord, is as cliJsonSkillsLoadEnvelopeSchema, it as colorizeDisplayProfileLabel, j as isSpaceCommandOutputHandledError, ja as parseCliViewMode, ji as getAgentControllerPermissionModeDisplayMetadata, jn as submitProfileRuntimeAgentControllerReport, jo as normalizeSharedSessionTitle, jr as registerSpaceMemberSelectionOptions, jt as createDelayedSpinner, k as resolveOrganizationVisibilityLabel, ka as createPresenter, ki as buildAgentControllerRef, kn as assessActionParticipationCandidate, ko as buildAgentActivityEvent, kr as getCommandEntryContract, kt as reconcileCliVersionView, l as runSpaceList, la as readDaemonServiceJobCrashExitCode, li as resolveOpenClawLocalDiagnosticsValue, ln as runAuthLogout, lo as unregisterAgentActivityRoute, lr as canUseInteractivePrompts, ls as compareAgentControllerRefsForDisplay, lt as renderOpenMeldTagline, m as prepareRequestedSpaceSendFiles, ma as readPendingDaemonServiceUpdate, mi as normalizeCustomProfileWorkspacePath, mn as buildAuthStatusSnapshot, mo as resolveAgentActivityDispatcherCommand, mr as createResetConfirmationGuideError, mt as runDaemon, n as promptAndConfirmSpacePassword, na as startCurrentCommandCheckScope, ni as resolveDaemonServiceFreshnessWarning, nn as readRuntimeReportingHealthState, no as LocalProjectConnectionError, nr as readDispatchOwnedRuntimeGuard, ns as cliJsonOutputEnvelopeSchema, nt as formatTransportModeDisplay, o as runSpaceHistory, oa as readCurrentObservedDaemonRuntimeStatus, oi as formatHumanReplyReadinessReason$1, on as ensureCommandAuthenticationOrCancel, oo as isAgentActivityRouteRegistered, or as resolveElapsedTimeMs, os as getOrganizationJoinLinkResponseSchema, ot as renderOpenMeldBrandBlockLines, p as runSpaceWatch, pa as performManagedInstall, pi as ensureOpenMeldManagedProfileWorkspace, pn as buildAuthStatusRows, po as readAgentActivityIntegrationStatus, pr as createProfileMenuGuideError, pt as bestEffortStopCurrentLaneDaemonService, q as runAgentsCustomRemove, qa as setSelectedOpenMeldProfileId, qi as classifyDaemonServiceWakeability, qn as createSpaceMemberIdentityIndex, qo as readControllerTaskLifecycleOutboxHealth, qr as canonicalizeAllowedActions, qt as runDaemonStartDecisionPrompt, r as runSpaceAddMembers, ra as inspectDaemonServiceInventory, ri as resolveCurrentReplyReadinessSnapshot, rn as readRecentDaemonDispatchJournalEvents, ro as validateLocalProjectConnectionPath, rr as readDispatchSpaceActionContextFromEnv, rs as cliJsonSkillsListEnvelopeSchema, rt as colorizeAgentLabel, s as runSpaceJoin, sa as getDaemonSystemServiceLogPath, si as mapAgentReplyReadinessToLegacyAutoReply, sn as evaluateCommandAuthentication, so as registerAgentActivityRoute, sr as formatDaemonServiceDowngradeBlockedRecommendation, ss as organizationJoinLinkErrorResponseSchema, st as renderOpenMeldHeader, t as buildCreateSpacePasswordPromptConfig, ta as resetCurrentCommandCheckState, ti as resolveServiceReadinessFromServiceStatus, tn as readBundledOpenMeldCliSkillDocumentByPath, to as setProfileDefaultView, tr as assertDispatchOwnedRuntimePublicWriteAllowed, ts as cliBinaryDeltaPatchSchema, tt as runAgentsShow, u as runSpacePassword, ua as resolveDaemonServiceManager, ui as syncProfileWorkspaceState, un as runAuthMenu, ur as createDoctorFailedGuideError, ut as resolveGatewayWebOrigin, v as buildHumanReadSignalsTranscriptItems, va as fetchLatestCliBinaryRelease, vi as setOpenMeldManagedProfileWorkspace, vn as requestDeviceToken, vo as formatOpenMeldCliCommands, vr as createSpaceLeaveGuideError, vt as runDaemonInstall, w as buildFormalDispatchResultReadPayload, wa as resolveCurrentDaemonExpectedVersion, wi as listAgentTargetStates, wn as resolveCreateProfileName, wo as syncLocalAgentActivity, wr as createSpaceTargetGuideError, wt as runDaemonStop, x as loadSpaceIdentityDirectoryOrNull, xa as writeVersionState, xi as syncDeviceRuntimeStateProjection, xn as revokeAuthAccessToken, xo as formatProfileAwareOpenMeldCliCommands, xr as createSpaceRemoveMembersGuideError, xt as runDaemonRunAfterEntryChecks, y as emitHumanReadSignalsTextProjection, ya as fetchLatestPackageInfo, yi as validateCustomProfileWorkspacePath, yn as resolveDeviceAuthClientId, yo as formatOpenMeldCliLine, yr as createSpaceMenuGuideError, yt as runDaemonInterrupt, z as buildReplyReadinessGuidance, za as deleteOpenMeldProfile, zi as resolveNativeAgentControllerPermissionModeForController, zn as upsertSpaceConfig, zo as listProjectConnectionsWithStatus, zr as DualViewGuideError, zt as readGatewayJsonResponse } from "./command-C5YPLwZM.js";
|
|
5
|
-
import { At as submitFeedbackIssueRequestSchema, D as toStructuredApiClientFailure, Et as authProfileManagedRoleSchema, F as OPENMELD_HEADER_PROFILE_ID, G as SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER, Ht as agentActivityProviderSchema, J as spaceDispatchTraceAttemptStatusSchema, K as projectSpaceDispatchTraceFinalVisibleOutcome, Q as projectObservabilityWakeCorrelation, R as OPENMELD_HEADER_SPACE_ADDRESSING_VERSION, Tt as authProfileKindSchema, Ut as agentActivitySessionStatusSchema, V as sleep, Wt as agentActivitySnapshotQuerySchema, X as spaceDispatchTraceResponseSchema, Y as spaceDispatchTraceDispatchStatusSchema, Z as observabilityWakeTraceSelectorSchema, _ as createOrganizationSkillsApi, _n as START_BOUNDED_VERSION_SCHEMA, an as agentActivitySessionInventoryQuerySchema, b as createProjectsApi, bn as startReplyReadinessSummarySchema, c as createAgentProfileBindingApi, d as createCurrentDeviceApi, et as ownerComputerDiagnosticsSchema, f as createFeedbackApi, g as createOrganizationApi, gn as START_BOUNDED_ID_SCHEMA, in as agentActivityInventorySessionStatusSchema, it as agentProfileCreationConfigurationSchema, l as createCenterAgentApi, nt as summarizeComputerFileAccessPolicy, q as resolveSpaceDispatchTraceRootCause, rn as agentActivityInventorySessionOriginSchema, rt as DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION, s as createAgentActivityApi, sn as localAgentSessionProviderSchema, tt as projectOwnerComputerLocalRuntimes, u as createComputerFileAccessApi, v as createPrepareReadinessApi, vn as START_ISO_DATE_TIME_SCHEMA, vt as organizationSkillBundleSchema, x as createRoutinesApi, xn as localAgentCatalogSchema, xt as stringifyOrganizationSkillBundleCanonicalJson, yn as START_TRIMMED_NON_EMPTY_STRING_SCHEMA } from "./dist-
|
|
4
|
+
import { $ as runAgentsManage, $a as resolveAuthenticationGuidanceFromMessage, $i as getCurrentCommandCheckState, $n as assessCliUpdate, $o as outJsonLine, $r as resolveDaemonDeviceId, $t as runSkillsUpdate, A as parseEnvelope, Aa as formatMessage, Ai as createAgentExecutionStatusDisplayRows, An as computeRetryDelayMs, Ao as resolveObservedAgentActivityBinding, Ar as getCommandHintsFromContract, At as emitDaemonAgentOverview, B as resolveHumanControllerDisplayName, Ba as listOpenMeldProfiles, Bn as assertNoRemovedCcSpaceAddressingSyntax, Bo as migrateProjectBindingStore, Br as formatDualViewGuideForDisplay, Bt as readGatewayTextResponse, C as toSpaceMetaUpsertInput, Ca as toStartBackgroundHelperExecutionCompatibility, Ci as resolveAgentProfilePrimaryAgentControllerReport, Cn as resolveCreateProfileKind, Co as resolveUserFacingCliEntryCommand, Cr as createSpaceSubcommandTargetGuideError, Ct as runDaemonStatusFlow, D as formatHumanReadTargetList, Da as renderHumanErrorCard, Di as notifyDaemonRouteCatalogChanged, Dn as formatServiceParticipationReadinessLabel, Do as readAgentActivityContextForPath, Dr as createStartAuthenticationGuideError, Dt as buildProfileWorkspacePresentation, E as buildHumanReplyContextSummary, Ea as buildHumanErrorCopy, Ei as listBuiltinAgentsRegistryEntries, En as ensureAgentProfileRuntimeBinding, Eo as upsertDaemonServiceContract, Er as createStartAgentIdentityGuideError, Et as runDaemonUninstall, F as resolveOpenMeldProfileForSpaceCommand, Fa as requireOpenMeldProfile, Fi as resolveAgentControllerPermissionModeForController, Fn as resolveLocalAgentControllerBlockerReasonCodes, Fo as readAgentActivityOutboxHealth, Fr as registerDaemonControlTargetOptions, Ft as fetchSpaceUpdates, G as runAgentsCustomAdd, Ga as clearSelectedOpenMeldProfileId, Gi as resolveDaemonServiceAlignmentDecision, Gn as buildSpaceRoundReadProjection, Go as canonicalizeLocalProjectPath, Gr as areAllowedActionsEquivalent, Gt as resolveDaemonServiceParticipationStatus, H as resolveAgentProfileSetup, Ha as resolveOpenMeldProfile, Hi as buildOnboardingPlan, Hn as buildDispatchResultReplyWorkflowProjection, Ho as runIfAgentActivityBindingGenerationIsCurrent, Hr as formatAgentOverviewPayload, Ht as parseJsonResponse, I as emitSpaceAgentOverview, Ia as resolveOpenMeldProfileOrNull, Ii as resolveAgentExecutionStatus, In as resolveLocalAgentControllerLaunchability, Io as removeProjectOutbox, Ir as registerAuthLoginRequestOptions, It as createCliSpaceApi, J as runAgentsCustomUpdate, Ja as buildAgentAuthenticationGuide, Ji as resolveServiceUpdateUrgency, Jn as formatRemovedCcRelationMessage, Jo as renderInfoCard, Jr as readPendingOpenMeldToolsUpdateAttempt, Jt as collectSkillsReadinessSnapshot, K as runAgentsCustomList, Ka as getSelectedOpenMeldProfileId, Ki as classifyDaemonServiceRunStartability, Kn as buildUpdatesReplyWorkflowProjection, Ko as enqueueControllerTaskLifecycleEventWhileLocked, Kr as buildAgentFacingPublicationModeGuideLines, Kt as runDaemonServiceParticipationGate, L as emitSpaceCliAgentOverview, La as createOpenMeldAgentProfile, Li as resolveAgentProfileEditCapabilities, Ln as resolveLocalAgentControllerReportDecision, Lo as bindProject, Lr as registerBuiltinAgentSelectionOptions, Lt as fetchSpaceMeta, M as assertFullSignalIdArgument, Ma as resolveRuntimeContext, Mi as getAgentControllerPermissionModeFieldLabel, Mn as submitRuntimeAgentControllerReport, Mo as readCodexSessionTitles, Mr as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, Mt as shouldEmitAgentOverview, N as assertValidSpaceIdTarget, Na as resolveViewProfileKey, Ni as listAgentControllerPermissionModeOptions, Nn as submitRuntimeAgentControllerReports, No as enqueueAgentActivityHookEvent, Nr as registerSkillsTargetSelectionOptions, Nt as runDaemonStartupPreflight, O as resolveLinkAccessLabel, Oa as renderHumanTextErrorCard, Oi as resolveLocalRegistryAgentIdFromAgentControllerRef, On as resolveServiceParticipationReadiness, Oo as removeAgentActivityContextCache, Or as createUpgradeConfirmationGuideError, Ot as buildProfileWorkspaceRows, P as prepareAuthenticatedSpaceCommandContext, Pa as isSelectedOpenMeldProfileRequiredError, Pi as parseAgentControllerRef, Pn as collectLocalAgentControllerInventory, Po as removeProjectInbox, Pr as getCliVersionInfo, Pt as readDaemonStartFailureLogTailLines, Q as runAgentsList, Qa as resolveAuthenticationGuidanceFromError, Qi as finishCurrentCommandCheckScope, Qn as runInteractivePrompt, Qo as errLine, Qr as ensureDaemonRuntimePaths, Qt as runSkillsUninstall, R as prepareLocalAgentReadiness, Ra as createOpenMeldHumanProfile, Ri as resolveEvidenceSyncHealth, Rn as inspectSpaceCacheFile, Ro as listProjectBindings, Rr as buildAgentOverviewFromContract, Rt as updateSpaceMeta, S as loadSpaceSignalIndexOrNull, Sa as resolveDaemonRuntimeContractCompatibility, Si as createPrimaryBindingReadSession, Sn as createProfileByKind, So as resolveSetupFollowUpCliEntryCommand, Sr as createSpaceResultGuideError, St as runDaemonSnapshot, T as buildFormalSignalReadPayload, Ta as OPENMELD_VERSION, Ti as reconcileNewRunnableBuiltinAgentsForSetup, Tn as promptTextEntry, To as readDaemonServiceContract, Tr as createSpaceUpdatesGuideError, Tt as runDaemonTeardownStrict, U as runAgents, Ua as updateOpenMeldProfile, Ui as getSetupFlowCopy, Un as buildSignalIndex, Uo as setDefaultProjectConnection, Ur as OPENMELD_AGENT_MENTAL_MODEL_LINES, Ut as resolveLocalComponentsStatus, V as persistAgentTransportSelection, Va as primeOpenMeldProfilesSessionCache, Vi as buildDaemonRouteObservationPresentation$1, Vn as buildDispatchResultMessageReadProjection, Vo as removeProjectConnection, Vr as buildDualViewGuideMessage, Vt as toStructuredGatewayFailure, W as runAgentsConfig, Wa as alignSelectedOpenMeldProfileStorage, Wi as buildDaemonServiceTargetSpec, Wn as buildSignalMessageReadProjection, Wo as unbindProject, Wr as SPACE_CONTRACT_ALLOWED_ACTION_ORDER, Wt as writeInstalledLocalComponentsSnapshot, X as runAgentsDisable, Xa as createAuthenticationError, Xi as resolveOpenMeldEnvironmentTarget, Xn as promptSearchSelect, Xo as sanitizeTerminalDisplayText, Xr as runPendingDaemonServiceUpdate, Xt as runSkillsEnsure, Y as runAgentsDetect, Ya as buildHumanAuthenticationCard, Yi as assessServerRequiredVersion, Yn as promptSearchMultiselect, Yo as renderTextInfoCard, Yr as readOpenMeldToolsUpdateContextFromEnv, Yt as runSkillsCheck$1, Z as runAgentsEnable, Za as resolveAuthenticationGuidance, Zi as resolveAuthBaseUrl, Zn as isReturnKeypress, Zo as emitCliJsonEnvelope, Zr as scheduleDaemonServiceUpdate, Zt as runSkillsInstall, _ as runSpaceWriteWithPasswordRetry, _a as ensureVersionStateReady, _i as setCustomProfileWorkspace, _n as fetchAuthUserSnapshot, _o as formatOpenMeldCliCommand, _r as createSpaceContractSetGuideError, _t as runDaemonCancel, a as runSpaceDelete, aa as readCurrentDaemonRuntimeContext, ai as formatDeviceReplyReadinessLabel, an as buildCommandAuthenticationPromptMessage, ao as requestLocalAgentActivitySync, ar as formatElapsedTime, as as cliJsonSkillsShowEnvelopeSchema, at as printOpenMeldBanner, b as buildIdentityOnlyMembersSnapshotForReadProjection, ba as readVersionState, bi as describeProfileWorkspacePathValidationFailure, bn as resolveDeviceTokenExpiresAt, bo as formatOpenMeldCliTextBlock, br as createSpacePublicationSetGuideError, bt as runDaemonReinstall, c as runSpaceLeave, ca as isDaemonServiceJobNeverSpawned, ci as resolveGatewayChainReadiness, cn as runAuthLogin, co as resolveAgentActivityRouteForPath, cr as formatDaemonServiceMissingRecommendation, cs as revokeOrganizationJoinLinkResponseSchema, ct as renderOpenMeldLogo, d as runSpaceRemoveMembers, da as readRecentDaemonLifecycleEvents, di as createModelCatalogReadSession, dn as runAuthStatus, do as defaultManagedIntegrationPaths, dr as createProfileActionGuideError, dt as resolveSpaceWebGatewayOrigin, ea as isCurrentCommandCheckScopeActive, ei as formatDaemonFailureContextText, en as ensureLocalSkills, eo as getProfileDefaultView, er as isCliUpdateCheckApplicable, es as outLine, et as runAgentsRepair, f as runSpaceSend, fa as buildInstallSelfJsonPayload, fi as resolveProfileWorkspaceRuntime, fn as exchangeOneTimeTokenAuthSession, fo as installAgentActivityIntegrations, fr as createProfileCreateGuideError, ft as resolveSpaceSendText, g as runSpaceReadWithPasswordRetry, ga as compareSemver, gi as resolveConfiguredProfileWorkspacePath, gn as extractAuthApiErrorMessage, go as formatInlineOpenMeldCliCommands, gr as createSpaceAliasTargetGuideError, gt as runDaemonBackgroundStartForDecision, h as uploadPreparedSpaceFiles, ha as buildNextVersionState, hi as readProfileWorkspaceConfig, hn as formatActiveOrganizationLabel, ho as uninstallAgentActivityIntegrations, hr as createSpaceAddMembersGuideError, ht as runDaemonAutostart, i as runSpaceCreate, ia as resolveVersionChangeDirection, ii as formatAgentReplyReadinessLabel, in as connectWebSocket, io as LocalDaemonControlPlaneClientError, ir as writeDispatchSpaceActionRecord, is as cliJsonSkillsLoadEnvelopeSchema, it as colorizeDisplayProfileLabel, j as isSpaceCommandOutputHandledError, ja as parseCliViewMode, ji as getAgentControllerPermissionModeDisplayMetadata, jn as submitProfileRuntimeAgentControllerReport, jo as normalizeSharedSessionTitle, jr as registerSpaceMemberSelectionOptions, jt as createDelayedSpinner, k as resolveOrganizationVisibilityLabel, ka as createPresenter, ki as buildAgentControllerRef, kn as assessActionParticipationCandidate, ko as buildAgentActivityEvent, kr as getCommandEntryContract, kt as reconcileCliVersionView, l as runSpaceList, la as readDaemonServiceJobCrashExitCode, li as resolveOpenClawLocalDiagnosticsValue, ln as runAuthLogout, lo as unregisterAgentActivityRoute, lr as canUseInteractivePrompts, ls as compareAgentControllerRefsForDisplay, lt as renderOpenMeldTagline, m as prepareRequestedSpaceSendFiles, ma as readPendingDaemonServiceUpdate, mi as normalizeCustomProfileWorkspacePath, mn as buildAuthStatusSnapshot, mo as resolveAgentActivityDispatcherCommand, mr as createResetConfirmationGuideError, mt as runDaemon, n as promptAndConfirmSpacePassword, na as startCurrentCommandCheckScope, ni as resolveDaemonServiceFreshnessWarning, nn as readRuntimeReportingHealthState, no as LocalProjectConnectionError, nr as readDispatchOwnedRuntimeGuard, ns as cliJsonOutputEnvelopeSchema, nt as formatTransportModeDisplay, o as runSpaceHistory, oa as readCurrentObservedDaemonRuntimeStatus, oi as formatHumanReplyReadinessReason$1, on as ensureCommandAuthenticationOrCancel, oo as isAgentActivityRouteRegistered, or as resolveElapsedTimeMs, os as getOrganizationJoinLinkResponseSchema, ot as renderOpenMeldBrandBlockLines, p as runSpaceWatch, pa as performManagedInstall, pi as ensureOpenMeldManagedProfileWorkspace, pn as buildAuthStatusRows, po as readAgentActivityIntegrationStatus, pr as createProfileMenuGuideError, pt as bestEffortStopCurrentLaneDaemonService, q as runAgentsCustomRemove, qa as setSelectedOpenMeldProfileId, qi as classifyDaemonServiceWakeability, qn as createSpaceMemberIdentityIndex, qo as readControllerTaskLifecycleOutboxHealth, qr as canonicalizeAllowedActions, qt as runDaemonStartDecisionPrompt, r as runSpaceAddMembers, ra as inspectDaemonServiceInventory, ri as resolveCurrentReplyReadinessSnapshot, rn as readRecentDaemonDispatchJournalEvents, ro as validateLocalProjectConnectionPath, rr as readDispatchSpaceActionContextFromEnv, rs as cliJsonSkillsListEnvelopeSchema, rt as colorizeAgentLabel, s as runSpaceJoin, sa as getDaemonSystemServiceLogPath, si as mapAgentReplyReadinessToLegacyAutoReply, sn as evaluateCommandAuthentication, so as registerAgentActivityRoute, sr as formatDaemonServiceDowngradeBlockedRecommendation, ss as organizationJoinLinkErrorResponseSchema, st as renderOpenMeldHeader, t as buildCreateSpacePasswordPromptConfig, ta as resetCurrentCommandCheckState, ti as resolveServiceReadinessFromServiceStatus, tn as readBundledOpenMeldCliSkillDocumentByPath, to as setProfileDefaultView, tr as assertDispatchOwnedRuntimePublicWriteAllowed, ts as cliBinaryDeltaPatchSchema, tt as runAgentsShow, u as runSpacePassword, ua as resolveDaemonServiceManager, ui as syncProfileWorkspaceState, un as runAuthMenu, ur as createDoctorFailedGuideError, ut as resolveGatewayWebOrigin, v as buildHumanReadSignalsTranscriptItems, va as fetchLatestCliBinaryRelease, vi as setOpenMeldManagedProfileWorkspace, vn as requestDeviceToken, vo as formatOpenMeldCliCommands, vr as createSpaceLeaveGuideError, vt as runDaemonInstall, w as buildFormalDispatchResultReadPayload, wa as resolveCurrentDaemonExpectedVersion, wi as listAgentTargetStates, wn as resolveCreateProfileName, wo as syncLocalAgentActivity, wr as createSpaceTargetGuideError, wt as runDaemonStop, x as loadSpaceIdentityDirectoryOrNull, xa as writeVersionState, xi as syncDeviceRuntimeStateProjection, xn as revokeAuthAccessToken, xo as formatProfileAwareOpenMeldCliCommands, xr as createSpaceRemoveMembersGuideError, xt as runDaemonRunAfterEntryChecks, y as emitHumanReadSignalsTextProjection, ya as fetchLatestPackageInfo, yi as validateCustomProfileWorkspacePath, yn as resolveDeviceAuthClientId, yo as formatOpenMeldCliLine, yr as createSpaceMenuGuideError, yt as runDaemonInterrupt, z as buildReplyReadinessGuidance, za as deleteOpenMeldProfile, zi as resolveNativeAgentControllerPermissionModeForController, zn as upsertSpaceConfig, zo as listProjectConnectionsWithStatus, zr as DualViewGuideError, zt as readGatewayJsonResponse } from "./command-DXNpV3oZ.js";
|
|
5
|
+
import { At as submitFeedbackIssueRequestSchema, D as toStructuredApiClientFailure, Et as authProfileManagedRoleSchema, F as OPENMELD_HEADER_PROFILE_ID, G as SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER, Ht as agentActivityProviderSchema, J as spaceDispatchTraceAttemptStatusSchema, K as projectSpaceDispatchTraceFinalVisibleOutcome, Q as projectObservabilityWakeCorrelation, R as OPENMELD_HEADER_SPACE_ADDRESSING_VERSION, Tt as authProfileKindSchema, Ut as agentActivitySessionStatusSchema, V as sleep, Wt as agentActivitySnapshotQuerySchema, X as spaceDispatchTraceResponseSchema, Y as spaceDispatchTraceDispatchStatusSchema, Z as observabilityWakeTraceSelectorSchema, _ as createOrganizationSkillsApi, _n as START_BOUNDED_VERSION_SCHEMA, an as agentActivitySessionInventoryQuerySchema, b as createProjectsApi, bn as startReplyReadinessSummarySchema, c as createAgentProfileBindingApi, d as createCurrentDeviceApi, et as ownerComputerDiagnosticsSchema, f as createFeedbackApi, g as createOrganizationApi, gn as START_BOUNDED_ID_SCHEMA, in as agentActivityInventorySessionStatusSchema, it as agentProfileCreationConfigurationSchema, l as createCenterAgentApi, nt as summarizeComputerFileAccessPolicy, q as resolveSpaceDispatchTraceRootCause, rn as agentActivityInventorySessionOriginSchema, rt as DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION, s as createAgentActivityApi, sn as localAgentSessionProviderSchema, tt as projectOwnerComputerLocalRuntimes, u as createComputerFileAccessApi, v as createPrepareReadinessApi, vn as START_ISO_DATE_TIME_SCHEMA, vt as organizationSkillBundleSchema, x as createRoutinesApi, xn as localAgentCatalogSchema, xt as stringifyOrganizationSkillBundleCanonicalJson, yn as START_TRIMMED_NON_EMPTY_STRING_SCHEMA } from "./dist-CUeqTNJi.js";
|
|
6
6
|
import { Cr as string, Dr as unknown, Er as union, It as spaceStatusSchema, Lt as centerAgentInteractionSourceSchema, On as messageEnvelopeSchema, Qr as openMeldProfileIdSchema, Sr as strictObject, Ut as isSpaceFileTextEditable, _r as nullFactory, cr as boolean, dn as spaceThreadContextSchema, fi as trimmedStringFromUnknown, fr as enumFactory, gn as spaceContractSchema, hn as spaceContractFieldsSchema, hr as literal, jr as clientMessageIdSchema, mr as iso, pr as int, qt as resolveSpaceFileMimeType, ri as openMeldRuntimeProfileIdSchema, sr as array, ui as nonEmptyTrimmedStringFromUnknown, un as dispatchExecutionSchema, ur as discriminatedUnion, xr as record, yr as object } from "./runtime-transport-21JL5nu5.js";
|
|
7
7
|
import { r as daemonServiceLaneSchema } from "./service-contract-CRyDcIIf.js";
|
|
8
8
|
import { N as getDaemonStatus } from "./daemon-runtime-lease-Dqmxqrzi.js";
|
|
9
9
|
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-Bg4ATgGF.js";
|
|
10
|
-
import { c as buildOpenMeldRequestContextHeadersWithAuth, d as buildOpenMeldRequestContextFromProfile, l as buildRequestAuthHeaders, n as createCliApiClientFoundation, p as deriveAuthBaseUrlFromGatewayUrl, r as fetchSpaceRequestWithTimeout } from "./api-client-foundation-
|
|
10
|
+
import { c as buildOpenMeldRequestContextHeadersWithAuth, d as buildOpenMeldRequestContextFromProfile, l as buildRequestAuthHeaders, n as createCliApiClientFoundation, p as deriveAuthBaseUrlFromGatewayUrl, r as fetchSpaceRequestWithTimeout } from "./api-client-foundation-BoHvMp-l.js";
|
|
11
11
|
import { Command, Option } from "commander";
|
|
12
12
|
import os, { homedir, hostname, release, tmpdir } from "node:os";
|
|
13
13
|
import * as z$1 from "zod/v4";
|
|
@@ -15880,6 +15880,7 @@ function resolveControllingTerminalSession() {
|
|
|
15880
15880
|
//#region src/ui/setup-progress.ts
|
|
15881
15881
|
function createSetupProgressReporter(input) {
|
|
15882
15882
|
const mode = resolveSetupProgressRenderMode(input.runtime);
|
|
15883
|
+
const now = input.clock?.now ?? Date.now;
|
|
15883
15884
|
return {
|
|
15884
15885
|
detail: (detail) => {
|
|
15885
15886
|
if (mode === "agent") {
|
|
@@ -15917,7 +15918,7 @@ function createSetupProgressReporter(input) {
|
|
|
15917
15918
|
},
|
|
15918
15919
|
startStep: (step) => {
|
|
15919
15920
|
const startedText = formatSetupProgressActiveText(step.text);
|
|
15920
|
-
const startedAtMs =
|
|
15921
|
+
const startedAtMs = now();
|
|
15921
15922
|
if (mode === "agent") {
|
|
15922
15923
|
emitAgentProgressLine({
|
|
15923
15924
|
presenter: input.presenter,
|
|
@@ -15930,6 +15931,7 @@ function createSetupProgressReporter(input) {
|
|
|
15930
15931
|
code: step.code,
|
|
15931
15932
|
data: step.data,
|
|
15932
15933
|
presenter: input.presenter,
|
|
15934
|
+
now,
|
|
15933
15935
|
startedAtMs,
|
|
15934
15936
|
startedText
|
|
15935
15937
|
});
|
|
@@ -15937,6 +15939,7 @@ function createSetupProgressReporter(input) {
|
|
|
15937
15939
|
if (mode === "human_tty") return createHumanTtyStepHandle({
|
|
15938
15940
|
presenter: input.presenter,
|
|
15939
15941
|
code: step.code,
|
|
15942
|
+
now,
|
|
15940
15943
|
startedText,
|
|
15941
15944
|
startedAtMs
|
|
15942
15945
|
});
|
|
@@ -15948,6 +15951,7 @@ function createSetupProgressReporter(input) {
|
|
|
15948
15951
|
});
|
|
15949
15952
|
return createHumanStaticStepHandle({
|
|
15950
15953
|
code: step.code,
|
|
15954
|
+
now,
|
|
15951
15955
|
presenter: input.presenter,
|
|
15952
15956
|
startedAtMs
|
|
15953
15957
|
});
|
|
@@ -15966,7 +15970,7 @@ function createAgentStepHandle(input) {
|
|
|
15966
15970
|
complete: (message) => {
|
|
15967
15971
|
if (closed) return;
|
|
15968
15972
|
closed = true;
|
|
15969
|
-
const durationMs = resolveElapsedTimeMs(input.startedAtMs);
|
|
15973
|
+
const durationMs = resolveElapsedTimeMs(input.startedAtMs, input.now());
|
|
15970
15974
|
emitAgentProgressLine({
|
|
15971
15975
|
presenter: input.presenter,
|
|
15972
15976
|
code: `${input.code}.completed`,
|
|
@@ -15988,7 +15992,7 @@ function createAgentStepHandle(input) {
|
|
|
15988
15992
|
fail: (message) => {
|
|
15989
15993
|
if (closed) return;
|
|
15990
15994
|
closed = true;
|
|
15991
|
-
const durationMs = resolveElapsedTimeMs(input.startedAtMs);
|
|
15995
|
+
const durationMs = resolveElapsedTimeMs(input.startedAtMs, input.now());
|
|
15992
15996
|
emitAgentProgressLine({
|
|
15993
15997
|
presenter: input.presenter,
|
|
15994
15998
|
code: `${input.code}.failed`,
|
|
@@ -16015,12 +16019,14 @@ function createHumanTtyStepHandle(input) {
|
|
|
16015
16019
|
complete: (message) => {
|
|
16016
16020
|
if (closed) return;
|
|
16017
16021
|
closed = true;
|
|
16018
|
-
const
|
|
16022
|
+
const completedAtMs = input.now();
|
|
16023
|
+
const durationMs = resolveElapsedTimeMs(input.startedAtMs, completedAtMs);
|
|
16019
16024
|
const resultText = message ? withHumanStepDuration(formatSetupProgressResultText(message), durationMs) : null;
|
|
16020
16025
|
spinner.complete();
|
|
16021
16026
|
if (message) emitHumanProgressLine({
|
|
16022
16027
|
presenter: input.presenter,
|
|
16023
16028
|
code: `${input.code}.completed`,
|
|
16029
|
+
completedAtMs,
|
|
16024
16030
|
state: "success",
|
|
16025
16031
|
text: resultText ?? ""
|
|
16026
16032
|
});
|
|
@@ -16032,11 +16038,13 @@ function createHumanTtyStepHandle(input) {
|
|
|
16032
16038
|
fail: (message) => {
|
|
16033
16039
|
if (closed) return;
|
|
16034
16040
|
closed = true;
|
|
16035
|
-
const
|
|
16041
|
+
const completedAtMs = input.now();
|
|
16042
|
+
const durationMs = resolveElapsedTimeMs(input.startedAtMs, completedAtMs);
|
|
16036
16043
|
spinner.fail();
|
|
16037
16044
|
if (message) emitHumanProgressLine({
|
|
16038
16045
|
presenter: input.presenter,
|
|
16039
16046
|
code: `${input.code}.failed`,
|
|
16047
|
+
completedAtMs,
|
|
16040
16048
|
state: "failed",
|
|
16041
16049
|
text: withHumanStepDuration(formatSetupProgressResultText(message), durationMs)
|
|
16042
16050
|
});
|
|
@@ -16052,10 +16060,12 @@ function createHumanStaticStepHandle(input) {
|
|
|
16052
16060
|
complete: (message) => {
|
|
16053
16061
|
if (closed) return;
|
|
16054
16062
|
closed = true;
|
|
16055
|
-
const
|
|
16063
|
+
const completedAtMs = input.now();
|
|
16064
|
+
const durationMs = resolveElapsedTimeMs(input.startedAtMs, completedAtMs);
|
|
16056
16065
|
if (message) emitHumanProgressLine({
|
|
16057
16066
|
presenter: input.presenter,
|
|
16058
16067
|
code: `${input.code}.completed`,
|
|
16068
|
+
completedAtMs,
|
|
16059
16069
|
state: "success",
|
|
16060
16070
|
text: withHumanStepDuration(formatSetupProgressResultText(message), durationMs)
|
|
16061
16071
|
});
|
|
@@ -16070,10 +16080,12 @@ function createHumanStaticStepHandle(input) {
|
|
|
16070
16080
|
fail: (message) => {
|
|
16071
16081
|
if (closed) return;
|
|
16072
16082
|
closed = true;
|
|
16073
|
-
const
|
|
16083
|
+
const completedAtMs = input.now();
|
|
16084
|
+
const durationMs = resolveElapsedTimeMs(input.startedAtMs, completedAtMs);
|
|
16074
16085
|
if (message) emitHumanProgressLine({
|
|
16075
16086
|
presenter: input.presenter,
|
|
16076
16087
|
code: `${input.code}.failed`,
|
|
16088
|
+
completedAtMs,
|
|
16077
16089
|
state: "failed",
|
|
16078
16090
|
text: withHumanStepDuration(formatSetupProgressResultText(message), durationMs)
|
|
16079
16091
|
});
|
|
@@ -16099,9 +16111,10 @@ function emitAgentProgressLine(input) {
|
|
|
16099
16111
|
}
|
|
16100
16112
|
function emitHumanProgressLine(input) {
|
|
16101
16113
|
const marker = resolveHumanProgressMarker(input.state);
|
|
16114
|
+
const completedAt = input.completedAtMs === void 0 ? "" : `[${formatLocalClockTime(input.completedAtMs)}] `;
|
|
16102
16115
|
input.presenter.line({
|
|
16103
16116
|
code: input.code,
|
|
16104
|
-
text: `${marker} ${input.text}`
|
|
16117
|
+
text: `${completedAt}${marker} ${input.text}`
|
|
16105
16118
|
});
|
|
16106
16119
|
}
|
|
16107
16120
|
function resolveHumanProgressMarker(state) {
|
|
@@ -16120,9 +16133,16 @@ function withStepDuration(data, durationMs) {
|
|
|
16120
16133
|
};
|
|
16121
16134
|
}
|
|
16122
16135
|
function withHumanStepDuration(text, durationMs) {
|
|
16123
|
-
if (durationMs < 100) return text;
|
|
16124
16136
|
return `${text} · ${formatElapsedTime(durationMs)}`;
|
|
16125
16137
|
}
|
|
16138
|
+
function formatLocalClockTime(timestampMs) {
|
|
16139
|
+
const completedAt = new Date(timestampMs);
|
|
16140
|
+
return [
|
|
16141
|
+
completedAt.getHours(),
|
|
16142
|
+
completedAt.getMinutes(),
|
|
16143
|
+
completedAt.getSeconds()
|
|
16144
|
+
].map((part) => String(part).padStart(2, "0")).join(":");
|
|
16145
|
+
}
|
|
16126
16146
|
//#endregion
|
|
16127
16147
|
//#region src/ui/setup-human-view.ts
|
|
16128
16148
|
async function runWithSetupProgress(input) {
|
|
@@ -19412,6 +19432,10 @@ async function runSetupUnlocked(input) {
|
|
|
19412
19432
|
selectedLocalAgentIds
|
|
19413
19433
|
}),
|
|
19414
19434
|
gatewayUrl,
|
|
19435
|
+
humanLocalAgentState: resolveStandardSetupHumanLocalAgentState({
|
|
19436
|
+
localAgents: input.localAgents,
|
|
19437
|
+
selectedLocalAgentIds
|
|
19438
|
+
}),
|
|
19415
19439
|
localComponents,
|
|
19416
19440
|
path: "local_setup",
|
|
19417
19441
|
presenter,
|
|
@@ -19577,6 +19601,11 @@ async function emitSetupCompleteForDelegatedPath(input) {
|
|
|
19577
19601
|
emitSetupComplete({
|
|
19578
19602
|
bootstrap,
|
|
19579
19603
|
gatewayUrl,
|
|
19604
|
+
humanLocalAgentState: resolveDelegatedSetupHumanLocalAgentState({
|
|
19605
|
+
path: input.path,
|
|
19606
|
+
selectedLocalAgentIds: completionFacts.selectedLocalAgentIds,
|
|
19607
|
+
setupInput: input.setupInput
|
|
19608
|
+
}),
|
|
19580
19609
|
localComponents,
|
|
19581
19610
|
path: input.path,
|
|
19582
19611
|
presenter,
|
|
@@ -19672,6 +19701,16 @@ function emitDefaultLocalAgentsNoticeIfNeeded(input) {
|
|
|
19672
19701
|
text: NON_INTERACTIVE_DEFAULT_LOCAL_AGENTS_NOTICE
|
|
19673
19702
|
});
|
|
19674
19703
|
}
|
|
19704
|
+
function resolveStandardSetupHumanLocalAgentState(input) {
|
|
19705
|
+
if (input.selectedLocalAgentIds.length > 0) return "reported";
|
|
19706
|
+
return normalizeOptionalString$5(input.localAgents) === "none" ? "skipped" : "none_found";
|
|
19707
|
+
}
|
|
19708
|
+
function resolveDelegatedSetupHumanLocalAgentState(input) {
|
|
19709
|
+
if (input.selectedLocalAgentIds.length > 0) return "reported";
|
|
19710
|
+
if (normalizeOptionalString$5(input.setupInput.localAgents) === "none") return "skipped";
|
|
19711
|
+
if (input.path === "setup_session" && !hasExplicitLocalAgentSelection(input.setupInput)) return "background_syncing";
|
|
19712
|
+
return "none_found";
|
|
19713
|
+
}
|
|
19675
19714
|
function emitSetupComplete(input) {
|
|
19676
19715
|
const cliCommandPrefix = resolveSetupFollowUpCliEntryCommand();
|
|
19677
19716
|
const setupStatus = input.bootstrap.status === "completed" ? "completed" : "partial";
|
|
@@ -19720,62 +19759,7 @@ function emitSetupComplete(input) {
|
|
|
19720
19759
|
note: "Use cliCommandPrefix for every follow-up OpenMeld command from this setup. Do not switch lanes."
|
|
19721
19760
|
};
|
|
19722
19761
|
if (input.view === "human") {
|
|
19723
|
-
|
|
19724
|
-
const serviceGuidance = buildSetupServiceGuidance({ cliCommandPrefix });
|
|
19725
|
-
const localAgentsGuideUrl = buildLocalAgentsGuideUrl(input.gatewayUrl);
|
|
19726
|
-
let completionTitle = "OpenMeld Setup Partly Complete";
|
|
19727
|
-
if (input.bootstrap.status === "completed") completionTitle = input.path === "setup_session" ? `✓ ${setupCopy.readyTitle}` : setupCopy.cliCompletionTitle;
|
|
19728
|
-
renderInfoCard({
|
|
19729
|
-
presenter: input.presenter,
|
|
19730
|
-
title: completionTitle,
|
|
19731
|
-
codePrefix: "setup.complete.card",
|
|
19732
|
-
compact: true,
|
|
19733
|
-
minContentWidth: 44,
|
|
19734
|
-
sanitize: true,
|
|
19735
|
-
rows: [
|
|
19736
|
-
{
|
|
19737
|
-
label: "CLI version",
|
|
19738
|
-
value: resolveCurrentDaemonExpectedVersion()
|
|
19739
|
-
},
|
|
19740
|
-
{
|
|
19741
|
-
label: "Local agents",
|
|
19742
|
-
value: formatSetupCompleteLocalAgents({
|
|
19743
|
-
guideUrl: localAgentsGuideUrl,
|
|
19744
|
-
selectedLocalAgentIds: input.selectedLocalAgentIds
|
|
19745
|
-
})
|
|
19746
|
-
},
|
|
19747
|
-
...input.selectedLocalAgentIds.length === 0 ? [{
|
|
19748
|
-
label: "Install guide",
|
|
19749
|
-
value: localAgentsGuideUrl
|
|
19750
|
-
}] : [],
|
|
19751
|
-
...input.bootstrap.status === "completed" ? [] : [
|
|
19752
|
-
{
|
|
19753
|
-
label: "Local setup",
|
|
19754
|
-
value: "Completed on this computer."
|
|
19755
|
-
},
|
|
19756
|
-
{
|
|
19757
|
-
label: "Center Agent Home",
|
|
19758
|
-
value: formatSetupBootstrapHumanSummary(input.bootstrap)
|
|
19759
|
-
},
|
|
19760
|
-
{
|
|
19761
|
-
label: "Next",
|
|
19762
|
-
value: `Run ${formatOpenMeldCliCommand(input.bootstrap.retryCommand)}`
|
|
19763
|
-
}
|
|
19764
|
-
]
|
|
19765
|
-
]
|
|
19766
|
-
});
|
|
19767
|
-
if (input.selectedLocalAgentIds.length === 0) input.presenter.line({
|
|
19768
|
-
code: "setup.complete.local_agents.guide",
|
|
19769
|
-
text: `Open guide: ${formatTerminalHyperlink({
|
|
19770
|
-
label: "Local agent install guide",
|
|
19771
|
-
url: localAgentsGuideUrl
|
|
19772
|
-
})} (${localAgentsGuideUrl})`
|
|
19773
|
-
});
|
|
19774
|
-
renderSetupServiceGuidanceCard({
|
|
19775
|
-
openMeldServiceRuntimeIdentity: input.openMeldServiceRuntimeIdentity,
|
|
19776
|
-
presenter: input.presenter,
|
|
19777
|
-
serviceGuidance
|
|
19778
|
-
});
|
|
19762
|
+
emitSetupHumanCompletion(input);
|
|
19779
19763
|
return;
|
|
19780
19764
|
}
|
|
19781
19765
|
input.presenter.data({
|
|
@@ -19783,38 +19767,50 @@ function emitSetupComplete(input) {
|
|
|
19783
19767
|
payload: buildSetupCompleteAgentPayload(payload)
|
|
19784
19768
|
});
|
|
19785
19769
|
}
|
|
19786
|
-
function
|
|
19787
|
-
|
|
19788
|
-
|
|
19789
|
-
|
|
19790
|
-
|
|
19791
|
-
|
|
19792
|
-
|
|
19793
|
-
|
|
19794
|
-
|
|
19795
|
-
|
|
19796
|
-
|
|
19797
|
-
|
|
19798
|
-
|
|
19799
|
-
|
|
19800
|
-
|
|
19801
|
-
|
|
19802
|
-
|
|
19803
|
-
|
|
19804
|
-
|
|
19805
|
-
|
|
19806
|
-
|
|
19807
|
-
{
|
|
19808
|
-
label: "Turn off auto-start",
|
|
19809
|
-
value: formatOpenMeldCliCommand(input.serviceGuidance.disableAutoStartCommand)
|
|
19810
|
-
},
|
|
19811
|
-
{
|
|
19812
|
-
label: "Note",
|
|
19813
|
-
value: input.serviceGuidance.stoppedLocalAgentsDescription
|
|
19814
|
-
}
|
|
19815
|
-
]
|
|
19770
|
+
function emitSetupHumanCompletion(input) {
|
|
19771
|
+
const openMeldWebUrl = new URL(resolveGatewayWebOrigin(input.gatewayUrl)).toString();
|
|
19772
|
+
const returnLine = `Return to OpenMeld Web: ${formatTerminalHyperlink({
|
|
19773
|
+
label: openMeldWebUrl,
|
|
19774
|
+
url: openMeldWebUrl
|
|
19775
|
+
})}`;
|
|
19776
|
+
const sections = input.bootstrap.status === "completed" ? [
|
|
19777
|
+
"🎉 Computer connected",
|
|
19778
|
+
"Your computer is connected.",
|
|
19779
|
+
...buildSetupHumanLocalAgentSections(input),
|
|
19780
|
+
returnLine
|
|
19781
|
+
] : [
|
|
19782
|
+
"OpenMeld needs one more step",
|
|
19783
|
+
"Your computer is connected, but OpenMeld could not finish preparing it.",
|
|
19784
|
+
`Reason: ${formatSetupHumanLine(input.bootstrap.message)}`,
|
|
19785
|
+
`Next: Run ${formatOpenMeldCliCommand(input.bootstrap.retryCommand)}`,
|
|
19786
|
+
returnLine
|
|
19787
|
+
];
|
|
19788
|
+
for (const [index, text] of joinSetupHumanCompletionSections(sections).entries()) input.presenter.line({
|
|
19789
|
+
code: `setup.complete.human.${index + 1}`,
|
|
19790
|
+
text
|
|
19816
19791
|
});
|
|
19817
19792
|
}
|
|
19793
|
+
function buildSetupHumanLocalAgentSections(input) {
|
|
19794
|
+
if (input.humanLocalAgentState === "background_syncing") return ["Local agents are syncing in the background."];
|
|
19795
|
+
if (input.humanLocalAgentState === "skipped") return ["Local agents were skipped."];
|
|
19796
|
+
if (input.humanLocalAgentState === "none_found") {
|
|
19797
|
+
const guideUrl = buildLocalAgentsGuideUrl(input.gatewayUrl);
|
|
19798
|
+
return ["OpenMeld did not find a supported local agent on this computer.", `Install a local agent: ${formatTerminalHyperlink({
|
|
19799
|
+
label: guideUrl,
|
|
19800
|
+
url: guideUrl
|
|
19801
|
+
})}`];
|
|
19802
|
+
}
|
|
19803
|
+
const readyAgentIds = new Set(input.runtimeReports.filter((report) => report.localParticipationState === "ready").map((report) => report.agentId));
|
|
19804
|
+
const readyNames = input.selectedLocalAgentIds.filter((agentId) => readyAgentIds.has(agentId)).map(formatSetupLocalAgentDisplayName);
|
|
19805
|
+
const attentionNames = input.selectedLocalAgentIds.filter((agentId) => !readyAgentIds.has(agentId)).map(formatSetupLocalAgentDisplayName);
|
|
19806
|
+
return [...readyNames.length > 0 ? [`Local agents connected: ${readyNames.join(", ")}.`] : [], ...attentionNames.length > 0 ? [`Local agents need attention: ${attentionNames.join(", ")}.`] : []];
|
|
19807
|
+
}
|
|
19808
|
+
function joinSetupHumanCompletionSections(sections) {
|
|
19809
|
+
return sections.flatMap((section, index) => index === 0 ? [section] : ["", section]);
|
|
19810
|
+
}
|
|
19811
|
+
function formatSetupHumanLine(value) {
|
|
19812
|
+
return sanitizeTerminalDisplayText(value, "single-line").replaceAll(/\s+/g, " ").trim();
|
|
19813
|
+
}
|
|
19818
19814
|
async function emitSetupPlanForAgentView(input) {
|
|
19819
19815
|
if (input.view !== "agent") return;
|
|
19820
19816
|
const { facts, plan } = await resolveCliSetupOnboardingPlan({
|
|
@@ -19890,10 +19886,6 @@ async function finalizeLocalComponentsSetupSnapshot() {
|
|
|
19890
19886
|
await writeInstalledLocalComponentsSnapshot({ source: "setup" });
|
|
19891
19887
|
return await resolveLocalComponentsStatus();
|
|
19892
19888
|
}
|
|
19893
|
-
function formatSetupCompleteLocalAgents(input) {
|
|
19894
|
-
if (input.selectedLocalAgentIds.length === 0) return `None connected. Install one from the guide: ${input.guideUrl}`;
|
|
19895
|
-
return `${input.selectedLocalAgentIds.length} connected: ${input.selectedLocalAgentIds.map(formatSetupLocalAgentDisplayName).join(", ")}`;
|
|
19896
|
-
}
|
|
19897
19889
|
function formatSetupLocalAgentDisplayName(agentId) {
|
|
19898
19890
|
return {
|
|
19899
19891
|
"claude-code": "Claude Code",
|
|
@@ -19916,10 +19908,6 @@ function formatSetupCompleteLegacySpaceSetupHint(runtimeReports) {
|
|
|
19916
19908
|
if (availableCount === 0) return "Resolve local-agent blockers before adding one to a Space";
|
|
19917
19909
|
return "Choose a detected agent without blockers, or resolve blockers first";
|
|
19918
19910
|
}
|
|
19919
|
-
function formatSetupBootstrapHumanSummary(bootstrap) {
|
|
19920
|
-
if (bootstrap.status === "completed") return "Center Agent Home will guide next steps";
|
|
19921
|
-
return `Not created: ${bootstrap.message}`;
|
|
19922
|
-
}
|
|
19923
19911
|
function normalizeOptionalText$3(value) {
|
|
19924
19912
|
const normalized = String(value ?? "").trim();
|
|
19925
19913
|
return normalized.length > 0 ? normalized : null;
|
|
@@ -23210,7 +23198,7 @@ function resolveSpaceHintByMessage(message) {
|
|
|
23210
23198
|
return null;
|
|
23211
23199
|
}
|
|
23212
23200
|
function resolveProfileHintByMessage(message) {
|
|
23213
|
-
if (message.includes("Creating additional
|
|
23201
|
+
if (message.includes("Creating additional profiles for people is currently unavailable. Use your default profile, or create an Agent.")) return [
|
|
23214
23202
|
"openmeld profiles list --view human",
|
|
23215
23203
|
"openmeld start --view human",
|
|
23216
23204
|
"openmeld profiles create <profileName> --kind agent"
|
|
@@ -28033,7 +28021,7 @@ function normalizeOptionalString(value) {
|
|
|
28033
28021
|
return normalized.length > 0 ? normalized : null;
|
|
28034
28022
|
}
|
|
28035
28023
|
async function runDefaultSpaceAddMeMembership(input) {
|
|
28036
|
-
const { runSpaceAddMeMembership } = await import("./add-me-membership-
|
|
28024
|
+
const { runSpaceAddMeMembership } = await import("./add-me-membership-X4ybgoL6.js");
|
|
28037
28025
|
return await runSpaceAddMeMembership(input);
|
|
28038
28026
|
}
|
|
28039
28027
|
//#endregion
|