openmeld 0.3.137 → 0.3.138

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/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 setProfileDefaultView, $i as isCurrentCommandCheckScopeActive, $n as assessCliUpdate, $o as cliBinaryDeltaPatchSchema, $r as formatDaemonFailureContextText, $t as runSkillsUpdate, A as parseEnvelope, Aa as resolveRuntimeContext, Ai as getAgentControllerPermissionModeDisplayMetadata, An as computeRetryDelayMs, Ao as readCodexSessionTitles, Ar as getCommandHintsFromContract, At as emitDaemonAgentOverview, B as resolveHumanControllerDisplayName, Ba as resolveOpenMeldProfile, Bi as buildDaemonRouteObservationPresentation$1, Bn as assertNoRemovedCcSpaceAddressingSyntax, Bo as runIfAgentActivityBindingGenerationIsCurrent, Br as formatDualViewGuideForDisplay, Bt as readGatewayTextResponse, C as toSpaceMetaUpsertInput, Ca as OPENMELD_VERSION, Ci as listAgentTargetStates, Cn as resolveCreateProfileKind, Co as readDaemonServiceContract, Cr as createSpaceSubcommandTargetGuideError, Ct as runDaemonStatusFlow, D as formatHumanReadTargetList, Da as createPresenter, Di as resolveLocalRegistryAgentIdFromAgentControllerRef, Dn as formatServiceParticipationReadinessLabel, Do as buildAgentActivityEvent, Dr as createStartAuthenticationGuideError, Dt as buildProfileWorkspacePresentation, E as buildHumanReplyContextSummary, Ea as renderHumanTextErrorCard, Ei as notifyDaemonRouteCatalogChanged, En as ensureAgentProfileRuntimeBinding, Eo as removeAgentActivityContextCache, Er as createStartAgentIdentityGuideError, Et as runDaemonUninstall, F as resolveOpenMeldProfileForSpaceCommand, Fa as createOpenMeldAgentProfile, Fi as resolveAgentExecutionStatus, Fn as resolveLocalAgentControllerBlockerReasonCodes, Fo as bindProject, Fr as registerDaemonControlTargetOptions, Ft as fetchSpaceUpdates, G as runAgentsCustomAdd, Ga as setSelectedOpenMeldProfileId, Gi as classifyDaemonServiceRunStartability, Gn as buildSpaceRoundReadProjection, Go as readControllerTaskLifecycleOutboxHealth, Gr as areAllowedActionsEquivalent, Gt as resolveDaemonServiceParticipationStatus, H as resolveAgentProfileSetup, Ha as alignSelectedOpenMeldProfileStorage, Hi as getSetupFlowCopy, Hn as buildDispatchResultReplyWorkflowProjection, Ho as unbindProject, Hr as formatAgentOverviewPayload, Ht as parseJsonResponse, I as emitSpaceAgentOverview, Ia as createOpenMeldHumanProfile, Ii as resolveAgentProfileEditCapabilities, In as resolveLocalAgentControllerLaunchability, Io as listProjectBindings, Ir as registerAuthLoginRequestOptions, It as createCliSpaceApi, J as runAgentsCustomUpdate, Ja as createAuthenticationError, Ji as assessServerRequiredVersion, Jn as formatRemovedCcRelationMessage, Jo as sanitizeTerminalDisplayText, Jr as readOpenMeldToolsUpdateContextFromEnv, Jt as collectSkillsReadinessSnapshot, K as runAgentsCustomList, Ka as buildAgentAuthenticationGuide, Ki as classifyDaemonServiceWakeability, Kn as buildUpdatesReplyWorkflowProjection, Ko as renderInfoCard, Kr as buildAgentFacingPublicationModeGuideLines, Kt as runDaemonServiceParticipationGate, L as emitSpaceCliAgentOverview, La as deleteOpenMeldProfile, Li as resolveEvidenceSyncHealth, Ln as resolveLocalAgentControllerReportDecision, Lo as listProjectConnectionsWithStatus, Lr as registerBuiltinAgentSelectionOptions, Lt as fetchSpaceMeta, M as assertFullSignalIdArgument, Ma as isSelectedOpenMeldProfileRequiredError, Mi as listAgentControllerPermissionModeOptions, Mn as submitRuntimeAgentControllerReport, Mo as removeProjectInbox, Mr as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, Mt as shouldEmitAgentOverview, N as assertValidSpaceIdTarget, Na as requireOpenMeldProfile, Ni as parseAgentControllerRef, Nn as submitRuntimeAgentControllerReports, No as readAgentActivityOutboxHealth, Nr as registerSkillsTargetSelectionOptions, Nt as runDaemonStartupPreflight, O as resolveLinkAccessLabel, Oa as formatMessage, Oi as buildAgentControllerRef, On as resolveServiceParticipationReadiness, Oo as resolveObservedAgentActivityBinding, Or as createUpgradeConfirmationGuideError, Ot as buildProfileWorkspaceRows, P as prepareAuthenticatedSpaceCommandContext, Pa as resolveOpenMeldProfileOrNull, Pi as resolveAgentControllerPermissionModeForController, Pn as collectLocalAgentControllerInventory, Po as removeProjectOutbox, Pr as getCliVersionInfo, Pt as readDaemonStartFailureLogTailLines, Q as runAgentsList, Qa as getProfileDefaultView, Qi as getCurrentCommandCheckState, Qn as runInteractivePrompt, Qo as outLine, Qr as resolveDaemonDeviceId, Qt as runSkillsUninstall, R as prepareLocalAgentReadiness, Ra as listOpenMeldProfiles, Ri as resolveNativeAgentControllerPermissionModeForController, Rn as inspectSpaceCacheFile, Ro as migrateProjectBindingStore, Rr as buildAgentOverviewFromContract, Rt as updateSpaceMeta, S as loadSpaceSignalIndexOrNull, Sa as resolveCurrentDaemonExpectedVersion, Si as resolveAgentProfilePrimaryAgentControllerReport, Sn as createProfileByKind, So as syncLocalAgentActivity, Sr as createSpaceResultGuideError, St as runDaemonSnapshot, T as buildFormalSignalReadPayload, Ta as renderHumanErrorCard, Ti as listBuiltinAgentsRegistryEntries, Tn as promptTextEntry, To as readAgentActivityContextForPath, Tr as createSpaceUpdatesGuideError, Tt as runDaemonTeardownStrict, U as runAgents, Ua as clearSelectedOpenMeldProfileId, Ui as buildDaemonServiceTargetSpec, Un as buildSignalIndex, Uo as canonicalizeLocalProjectPath, Ur as OPENMELD_AGENT_MENTAL_MODEL_LINES, Ut as resolveLocalComponentsStatus, V as persistAgentTransportSelection, Va as updateOpenMeldProfile, Vi as buildOnboardingPlan, Vn as buildDispatchResultMessageReadProjection, Vo as setDefaultProjectConnection, Vr as buildDualViewGuideMessage, Vt as toStructuredGatewayFailure, W as runAgentsConfig, Wa as getSelectedOpenMeldProfileId, Wi as resolveDaemonServiceAlignmentDecision, Wn as buildSignalMessageReadProjection, Wo as enqueueControllerTaskLifecycleEventWhileLocked, Wr as SPACE_CONTRACT_ALLOWED_ACTION_ORDER, Wt as writeInstalledLocalComponentsSnapshot, X as runAgentsDisable, Xa as resolveAuthenticationGuidanceFromError, Xi as resolveAuthBaseUrl, Xn as promptSearchSelect, Xo as errLine, Xr as scheduleDaemonServiceUpdate, Xt as runSkillsEnsure, Y as runAgentsDetect, Ya as resolveAuthenticationGuidance, Yi as resolveOpenMeldEnvironmentTarget, Yn as promptSearchMultiselect, Yo as emitCliJsonEnvelope, Yr as runPendingDaemonServiceUpdate, Yt as runSkillsCheck$1, Z as runAgentsEnable, Za as resolveAuthenticationGuidanceFromMessage, Zi as finishCurrentCommandCheckScope, Zn as isReturnKeypress, Zo as outJsonLine, Zr as ensureDaemonRuntimePaths, Zt as runSkillsInstall, _ as runSpaceWriteWithPasswordRetry, _a as fetchLatestPackageInfo, _i as setOpenMeldManagedProfileWorkspace, _n as fetchAuthUserSnapshot, _o as formatOpenMeldCliLine, _r as createSpaceContractSetGuideError, _t as runDaemonCancel, a as runSpaceDelete, aa as readCurrentObservedDaemonRuntimeStatus, ai as formatHumanReplyReadinessReason$1, an as buildCommandAuthenticationPromptMessage, ao as registerAgentActivityRoute, ar as formatElapsedTime, as as organizationJoinLinkErrorResponseSchema, at as printOpenMeldBanner, b as buildIdentityOnlyMembersSnapshotForReadProjection, ba as resolveDaemonRuntimeContractCompatibility, bi as syncDeviceRuntimeStateProjection, bn as resolveDeviceTokenExpiresAt, bo as resolveSetupFollowUpCliEntryCommand, br as createSpacePublicationSetGuideError, bt as runDaemonReinstall, c as runSpaceLeave, ca as readDaemonServiceJobCrashExitCode, ci as resolveOpenClawLocalDiagnosticsValue, cn as runAuthLogin, cr as formatDaemonServiceMissingRecommendation, ct as renderOpenMeldLogo, d as runSpaceRemoveMembers, da as buildInstallSelfJsonPayload, di as resolveProfileWorkspaceRuntime, dn as runAuthStatus, do as readAgentActivityIntegrationStatus, dr as createProfileActionGuideError, dt as resolveSpaceWebGatewayOrigin, ea as resetCurrentCommandCheckState, ei as resolveServiceReadinessFromServiceStatus, en as ensureLocalSkills, eo as LocalProjectConnectionError, er as isCliUpdateCheckApplicable, es as cliJsonOutputEnvelopeSchema, et as runAgentsRepair, f as runSpaceSend, fa as performManagedInstall, fi as ensureOpenMeldManagedProfileWorkspace, fn as exchangeOneTimeTokenAuthSession, fo as resolveAgentActivityDispatcherCommand, fr as createProfileCreateGuideError, ft as resolveSpaceSendText, g as runSpaceReadWithPasswordRetry, ga as fetchLatestCliBinaryRelease, gi as setCustomProfileWorkspace, gn as extractAuthApiErrorMessage, go as formatOpenMeldCliCommands, gr as createSpaceAliasTargetGuideError, gt as runDaemonBackgroundStartForDecision, h as uploadPreparedSpaceFiles, ha as ensureVersionStateReady, hi as resolveConfiguredProfileWorkspacePath, hn as formatActiveOrganizationLabel, ho as formatOpenMeldCliCommand, hr as createSpaceAddMembersGuideError, ht as runDaemonAutostart, i as runSpaceCreate, ia as readCurrentDaemonRuntimeContext, ii as formatDeviceReplyReadinessLabel, in as connectWebSocket, io as isAgentActivityRouteRegistered, ir as writeDispatchSpaceActionRecord, is as getOrganizationJoinLinkResponseSchema, it as colorizeDisplayProfileLabel, j as isSpaceCommandOutputHandledError, ja as resolveViewProfileKey, ji as getAgentControllerPermissionModeFieldLabel, jn as submitProfileRuntimeAgentControllerReport, jo as enqueueAgentActivityHookEvent, jr as registerSpaceMemberSelectionOptions, jt as createDelayedSpinner, k as resolveOrganizationVisibilityLabel, ka as parseCliViewMode, ki as createAgentExecutionStatusDisplayRows, kn as assessActionParticipationCandidate, ko as normalizeSharedSessionTitle, kr as getCommandEntryContract, kt as reconcileCliVersionView, l as runSpaceList, la as resolveDaemonServiceManager, li as syncProfileWorkspaceState, ln as runAuthLogout, lo as defaultManagedIntegrationPaths, lr as canUseInteractivePrompts, lt as renderOpenMeldTagline, m as prepareRequestedSpaceSendFiles, ma as compareSemver, mi as readProfileWorkspaceConfig, mn as buildAuthStatusSnapshot, mo as formatInlineOpenMeldCliCommands, mr as createResetConfirmationGuideError, mt as runDaemon, n as promptAndConfirmSpacePassword, na as inspectDaemonServiceInventory, ni as resolveCurrentReplyReadinessSnapshot, nn as readRuntimeReportingHealthState, no as LocalDaemonControlPlaneClientError, nr as readDispatchOwnedRuntimeGuard, ns as cliJsonSkillsLoadEnvelopeSchema, nt as formatTransportModeDisplay, o as runSpaceHistory, oa as getDaemonSystemServiceLogPath, oi as mapAgentReplyReadinessToLegacyAutoReply, on as ensureCommandAuthenticationOrCancel, oo as resolveAgentActivityRouteForPath, or as resolveElapsedTimeMs, os as revokeOrganizationJoinLinkResponseSchema, ot as renderOpenMeldBrandBlockLines, p as runSpaceWatch, pa as buildNextVersionState, pi as normalizeCustomProfileWorkspacePath, pn as buildAuthStatusRows, po as uninstallAgentActivityIntegrations, pr as createProfileMenuGuideError, pt as bestEffortStopCurrentLaneDaemonService, q as runAgentsCustomRemove, qa as buildHumanAuthenticationCard, qi as resolveServiceUpdateUrgency, qn as createSpaceMemberIdentityIndex, qo as renderTextInfoCard, qr as canonicalizeAllowedActions, qt as runDaemonStartDecisionPrompt, r as runSpaceAddMembers, ra as resolveVersionChangeDirection, ri as formatAgentReplyReadinessLabel, rn as readRecentDaemonDispatchJournalEvents, ro as requestLocalAgentActivitySync, rr as readDispatchSpaceActionContextFromEnv, rs as cliJsonSkillsShowEnvelopeSchema, rt as colorizeAgentLabel, s as runSpaceJoin, sa as isDaemonServiceJobNeverSpawned, si as resolveGatewayChainReadiness, sn as evaluateCommandAuthentication, so as unregisterAgentActivityRoute, sr as formatDaemonServiceDowngradeBlockedRecommendation, ss as compareAgentControllerRefsForDisplay, st as renderOpenMeldHeader, t as buildCreateSpacePasswordPromptConfig, ta as startCurrentCommandCheckScope, ti as resolveDaemonServiceFreshnessWarning, tn as readBundledOpenMeldCliSkillDocumentByPath, to as validateLocalProjectConnectionPath, tr as assertDispatchOwnedRuntimePublicWriteAllowed, ts as cliJsonSkillsListEnvelopeSchema, tt as runAgentsShow, u as runSpacePassword, ua as readRecentDaemonLifecycleEvents, ui as createModelCatalogReadSession, un as runAuthMenu, uo as installAgentActivityIntegrations, ur as createDoctorFailedGuideError, ut as resolveGatewayWebOrigin, v as buildHumanReadSignalsTranscriptItems, va as readVersionState, vi as validateCustomProfileWorkspacePath, vn as requestDeviceToken, vo as formatOpenMeldCliTextBlock, vr as createSpaceLeaveGuideError, vt as runDaemonInstall, w as buildFormalDispatchResultReadPayload, wa as buildHumanErrorCopy, wi as reconcileNewRunnableBuiltinAgentsForSetup, wn as resolveCreateProfileName, wo as upsertDaemonServiceContract, wr as createSpaceTargetGuideError, wt as runDaemonStop, x as loadSpaceIdentityDirectoryOrNull, xa as toStartBackgroundHelperExecutionCompatibility, xi as createPrimaryBindingReadSession, xn as revokeAuthAccessToken, xo as resolveUserFacingCliEntryCommand, xr as createSpaceRemoveMembersGuideError, xt as runDaemonRunAfterEntryChecks, y as emitHumanReadSignalsTextProjection, ya as writeVersionState, yi as describeProfileWorkspacePathValidationFailure, yn as resolveDeviceAuthClientId, yo as formatProfileAwareOpenMeldCliCommands, yr as createSpaceMenuGuideError, yt as runDaemonInterrupt, z as buildReplyReadinessGuidance, za as primeOpenMeldProfilesSessionCache, zn as upsertSpaceConfig, zo as removeProjectConnection, zr as DualViewGuideError, zt as readGatewayJsonResponse } from "./command-CU_3raCS.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 startReplyReadinessSummarySchema, b as createProjectsApi, c as createAgentProfileBindingApi, d as createCurrentDeviceApi, en as agentActivityInventorySessionOriginSchema, et as ownerComputerDiagnosticsSchema, f as createFeedbackApi, g as createOrganizationApi, gn as START_TRIMMED_NON_EMPTY_STRING_SCHEMA, hn as START_ISO_DATE_TIME_SCHEMA, in as localAgentSessionProviderSchema, it as agentProfileCreationConfigurationSchema, l as createCenterAgentApi, mn as START_BOUNDED_VERSION_SCHEMA, nn as agentActivitySessionInventoryQuerySchema, nt as summarizeComputerFileAccessPolicy, pn as START_BOUNDED_ID_SCHEMA, q as resolveSpaceDispatchTraceRootCause, rt as DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION, s as createAgentActivityApi, tn as agentActivityInventorySessionStatusSchema, tt as projectOwnerComputerLocalRuntimes, u as createComputerFileAccessApi, v as createPrepareReadinessApi, vn as localAgentCatalogSchema, vt as organizationSkillBundleSchema, x as createRoutinesApi, xt as stringifyOrganizationSkillBundleCanonicalJson } from "./dist-NJH-sDDB.js";
6
- import { Ar as clientMessageIdSchema, Dn as messageEnvelopeSchema, Er as unknown, Ft as spaceStatusSchema, Ht as isSpaceFileTextEditable, It as centerAgentInteractionSourceSchema, Kt as resolveSpaceFileMimeType, Sr as string, Tr as union, Zr as openMeldProfileIdSchema, br as record, di as trimmedStringFromUnknown, dr as enumFactory, fr as int, gr as nullFactory, hn as spaceContractSchema, li as nonEmptyTrimmedStringFromUnknown, ln as dispatchExecutionSchema, lr as discriminatedUnion, mn as spaceContractFieldsSchema, mr as literal, ni as openMeldRuntimeProfileIdSchema, or as array, pr as iso, sr as boolean, un as spaceThreadContextSchema, vr as object, xr as strictObject } from "./runtime-transport-DYzU1lHC.js";
4
+ import { $ as runAgentsManage, $a as setProfileDefaultView, $i as isCurrentCommandCheckScopeActive, $n as assessCliUpdate, $o as cliBinaryDeltaPatchSchema, $r as formatDaemonFailureContextText, $t as runSkillsUpdate, A as parseEnvelope, Aa as resolveRuntimeContext, Ai as getAgentControllerPermissionModeDisplayMetadata, An as computeRetryDelayMs, Ao as readCodexSessionTitles, Ar as getCommandHintsFromContract, At as emitDaemonAgentOverview, B as resolveHumanControllerDisplayName, Ba as resolveOpenMeldProfile, Bi as buildDaemonRouteObservationPresentation$1, Bn as assertNoRemovedCcSpaceAddressingSyntax, Bo as runIfAgentActivityBindingGenerationIsCurrent, Br as formatDualViewGuideForDisplay, Bt as readGatewayTextResponse, C as toSpaceMetaUpsertInput, Ca as OPENMELD_VERSION, Ci as listAgentTargetStates, Cn as resolveCreateProfileKind, Co as readDaemonServiceContract, Cr as createSpaceSubcommandTargetGuideError, Ct as runDaemonStatusFlow, D as formatHumanReadTargetList, Da as createPresenter, Di as resolveLocalRegistryAgentIdFromAgentControllerRef, Dn as formatServiceParticipationReadinessLabel, Do as buildAgentActivityEvent, Dr as createStartAuthenticationGuideError, Dt as buildProfileWorkspacePresentation, E as buildHumanReplyContextSummary, Ea as renderHumanTextErrorCard, Ei as notifyDaemonRouteCatalogChanged, En as ensureAgentProfileRuntimeBinding, Eo as removeAgentActivityContextCache, Er as createStartAgentIdentityGuideError, Et as runDaemonUninstall, F as resolveOpenMeldProfileForSpaceCommand, Fa as createOpenMeldAgentProfile, Fi as resolveAgentExecutionStatus, Fn as resolveLocalAgentControllerBlockerReasonCodes, Fo as bindProject, Fr as registerDaemonControlTargetOptions, Ft as fetchSpaceUpdates, G as runAgentsCustomAdd, Ga as setSelectedOpenMeldProfileId, Gi as classifyDaemonServiceRunStartability, Gn as buildSpaceRoundReadProjection, Go as readControllerTaskLifecycleOutboxHealth, Gr as areAllowedActionsEquivalent, Gt as resolveDaemonServiceParticipationStatus, H as resolveAgentProfileSetup, Ha as alignSelectedOpenMeldProfileStorage, Hi as getSetupFlowCopy, Hn as buildDispatchResultReplyWorkflowProjection, Ho as unbindProject, Hr as formatAgentOverviewPayload, Ht as parseJsonResponse, I as emitSpaceAgentOverview, Ia as createOpenMeldHumanProfile, Ii as resolveAgentProfileEditCapabilities, In as resolveLocalAgentControllerLaunchability, Io as listProjectBindings, Ir as registerAuthLoginRequestOptions, It as createCliSpaceApi, J as runAgentsCustomUpdate, Ja as createAuthenticationError, Ji as assessServerRequiredVersion, Jn as formatRemovedCcRelationMessage, Jo as sanitizeTerminalDisplayText, Jr as readOpenMeldToolsUpdateContextFromEnv, Jt as collectSkillsReadinessSnapshot, K as runAgentsCustomList, Ka as buildAgentAuthenticationGuide, Ki as classifyDaemonServiceWakeability, Kn as buildUpdatesReplyWorkflowProjection, Ko as renderInfoCard, Kr as buildAgentFacingPublicationModeGuideLines, Kt as runDaemonServiceParticipationGate, L as emitSpaceCliAgentOverview, La as deleteOpenMeldProfile, Li as resolveEvidenceSyncHealth, Ln as resolveLocalAgentControllerReportDecision, Lo as listProjectConnectionsWithStatus, Lr as registerBuiltinAgentSelectionOptions, Lt as fetchSpaceMeta, M as assertFullSignalIdArgument, Ma as isSelectedOpenMeldProfileRequiredError, Mi as listAgentControllerPermissionModeOptions, Mn as submitRuntimeAgentControllerReport, Mo as removeProjectInbox, Mr as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, Mt as shouldEmitAgentOverview, N as assertValidSpaceIdTarget, Na as requireOpenMeldProfile, Ni as parseAgentControllerRef, Nn as submitRuntimeAgentControllerReports, No as readAgentActivityOutboxHealth, Nr as registerSkillsTargetSelectionOptions, Nt as runDaemonStartupPreflight, O as resolveLinkAccessLabel, Oa as formatMessage, Oi as buildAgentControllerRef, On as resolveServiceParticipationReadiness, Oo as resolveObservedAgentActivityBinding, Or as createUpgradeConfirmationGuideError, Ot as buildProfileWorkspaceRows, P as prepareAuthenticatedSpaceCommandContext, Pa as resolveOpenMeldProfileOrNull, Pi as resolveAgentControllerPermissionModeForController, Pn as collectLocalAgentControllerInventory, Po as removeProjectOutbox, Pr as getCliVersionInfo, Pt as readDaemonStartFailureLogTailLines, Q as runAgentsList, Qa as getProfileDefaultView, Qi as getCurrentCommandCheckState, Qn as runInteractivePrompt, Qo as outLine, Qr as resolveDaemonDeviceId, Qt as runSkillsUninstall, R as prepareLocalAgentReadiness, Ra as listOpenMeldProfiles, Ri as resolveNativeAgentControllerPermissionModeForController, Rn as inspectSpaceCacheFile, Ro as migrateProjectBindingStore, Rr as buildAgentOverviewFromContract, Rt as updateSpaceMeta, S as loadSpaceSignalIndexOrNull, Sa as resolveCurrentDaemonExpectedVersion, Si as resolveAgentProfilePrimaryAgentControllerReport, Sn as createProfileByKind, So as syncLocalAgentActivity, Sr as createSpaceResultGuideError, St as runDaemonSnapshot, T as buildFormalSignalReadPayload, Ta as renderHumanErrorCard, Ti as listBuiltinAgentsRegistryEntries, Tn as promptTextEntry, To as readAgentActivityContextForPath, Tr as createSpaceUpdatesGuideError, Tt as runDaemonTeardownStrict, U as runAgents, Ua as clearSelectedOpenMeldProfileId, Ui as buildDaemonServiceTargetSpec, Un as buildSignalIndex, Uo as canonicalizeLocalProjectPath, Ur as OPENMELD_AGENT_MENTAL_MODEL_LINES, Ut as resolveLocalComponentsStatus, V as persistAgentTransportSelection, Va as updateOpenMeldProfile, Vi as buildOnboardingPlan, Vn as buildDispatchResultMessageReadProjection, Vo as setDefaultProjectConnection, Vr as buildDualViewGuideMessage, Vt as toStructuredGatewayFailure, W as runAgentsConfig, Wa as getSelectedOpenMeldProfileId, Wi as resolveDaemonServiceAlignmentDecision, Wn as buildSignalMessageReadProjection, Wo as enqueueControllerTaskLifecycleEventWhileLocked, Wr as SPACE_CONTRACT_ALLOWED_ACTION_ORDER, Wt as writeInstalledLocalComponentsSnapshot, X as runAgentsDisable, Xa as resolveAuthenticationGuidanceFromError, Xi as resolveAuthBaseUrl, Xn as promptSearchSelect, Xo as errLine, Xr as scheduleDaemonServiceUpdate, Xt as runSkillsEnsure, Y as runAgentsDetect, Ya as resolveAuthenticationGuidance, Yi as resolveOpenMeldEnvironmentTarget, Yn as promptSearchMultiselect, Yo as emitCliJsonEnvelope, Yr as runPendingDaemonServiceUpdate, Yt as runSkillsCheck$1, Z as runAgentsEnable, Za as resolveAuthenticationGuidanceFromMessage, Zi as finishCurrentCommandCheckScope, Zn as isReturnKeypress, Zo as outJsonLine, Zr as ensureDaemonRuntimePaths, Zt as runSkillsInstall, _ as runSpaceWriteWithPasswordRetry, _a as fetchLatestPackageInfo, _i as setOpenMeldManagedProfileWorkspace, _n as fetchAuthUserSnapshot, _o as formatOpenMeldCliLine, _r as createSpaceContractSetGuideError, _t as runDaemonCancel, a as runSpaceDelete, aa as readCurrentObservedDaemonRuntimeStatus, ai as formatHumanReplyReadinessReason$1, an as buildCommandAuthenticationPromptMessage, ao as registerAgentActivityRoute, ar as formatElapsedTime, as as organizationJoinLinkErrorResponseSchema, at as printOpenMeldBanner, b as buildIdentityOnlyMembersSnapshotForReadProjection, ba as resolveDaemonRuntimeContractCompatibility, bi as syncDeviceRuntimeStateProjection, bn as resolveDeviceTokenExpiresAt, bo as resolveSetupFollowUpCliEntryCommand, br as createSpacePublicationSetGuideError, bt as runDaemonReinstall, c as runSpaceLeave, ca as readDaemonServiceJobCrashExitCode, ci as resolveOpenClawLocalDiagnosticsValue, cn as runAuthLogin, cr as formatDaemonServiceMissingRecommendation, ct as renderOpenMeldLogo, d as runSpaceRemoveMembers, da as buildInstallSelfJsonPayload, di as resolveProfileWorkspaceRuntime, dn as runAuthStatus, do as readAgentActivityIntegrationStatus, dr as createProfileActionGuideError, dt as resolveSpaceWebGatewayOrigin, ea as resetCurrentCommandCheckState, ei as resolveServiceReadinessFromServiceStatus, en as ensureLocalSkills, eo as LocalProjectConnectionError, er as isCliUpdateCheckApplicable, es as cliJsonOutputEnvelopeSchema, et as runAgentsRepair, f as runSpaceSend, fa as performManagedInstall, fi as ensureOpenMeldManagedProfileWorkspace, fn as exchangeOneTimeTokenAuthSession, fo as resolveAgentActivityDispatcherCommand, fr as createProfileCreateGuideError, ft as resolveSpaceSendText, g as runSpaceReadWithPasswordRetry, ga as fetchLatestCliBinaryRelease, gi as setCustomProfileWorkspace, gn as extractAuthApiErrorMessage, go as formatOpenMeldCliCommands, gr as createSpaceAliasTargetGuideError, gt as runDaemonBackgroundStartForDecision, h as uploadPreparedSpaceFiles, ha as ensureVersionStateReady, hi as resolveConfiguredProfileWorkspacePath, hn as formatActiveOrganizationLabel, ho as formatOpenMeldCliCommand, hr as createSpaceAddMembersGuideError, ht as runDaemonAutostart, i as runSpaceCreate, ia as readCurrentDaemonRuntimeContext, ii as formatDeviceReplyReadinessLabel, in as connectWebSocket, io as isAgentActivityRouteRegistered, ir as writeDispatchSpaceActionRecord, is as getOrganizationJoinLinkResponseSchema, it as colorizeDisplayProfileLabel, j as isSpaceCommandOutputHandledError, ja as resolveViewProfileKey, ji as getAgentControllerPermissionModeFieldLabel, jn as submitProfileRuntimeAgentControllerReport, jo as enqueueAgentActivityHookEvent, jr as registerSpaceMemberSelectionOptions, jt as createDelayedSpinner, k as resolveOrganizationVisibilityLabel, ka as parseCliViewMode, ki as createAgentExecutionStatusDisplayRows, kn as assessActionParticipationCandidate, ko as normalizeSharedSessionTitle, kr as getCommandEntryContract, kt as reconcileCliVersionView, l as runSpaceList, la as resolveDaemonServiceManager, li as syncProfileWorkspaceState, ln as runAuthLogout, lo as defaultManagedIntegrationPaths, lr as canUseInteractivePrompts, lt as renderOpenMeldTagline, m as prepareRequestedSpaceSendFiles, ma as compareSemver, mi as readProfileWorkspaceConfig, mn as buildAuthStatusSnapshot, mo as formatInlineOpenMeldCliCommands, mr as createResetConfirmationGuideError, mt as runDaemon, n as promptAndConfirmSpacePassword, na as inspectDaemonServiceInventory, ni as resolveCurrentReplyReadinessSnapshot, nn as readRuntimeReportingHealthState, no as LocalDaemonControlPlaneClientError, nr as readDispatchOwnedRuntimeGuard, ns as cliJsonSkillsLoadEnvelopeSchema, nt as formatTransportModeDisplay, o as runSpaceHistory, oa as getDaemonSystemServiceLogPath, oi as mapAgentReplyReadinessToLegacyAutoReply, on as ensureCommandAuthenticationOrCancel, oo as resolveAgentActivityRouteForPath, or as resolveElapsedTimeMs, os as revokeOrganizationJoinLinkResponseSchema, ot as renderOpenMeldBrandBlockLines, p as runSpaceWatch, pa as buildNextVersionState, pi as normalizeCustomProfileWorkspacePath, pn as buildAuthStatusRows, po as uninstallAgentActivityIntegrations, pr as createProfileMenuGuideError, pt as bestEffortStopCurrentLaneDaemonService, q as runAgentsCustomRemove, qa as buildHumanAuthenticationCard, qi as resolveServiceUpdateUrgency, qn as createSpaceMemberIdentityIndex, qo as renderTextInfoCard, qr as canonicalizeAllowedActions, qt as runDaemonStartDecisionPrompt, r as runSpaceAddMembers, ra as resolveVersionChangeDirection, ri as formatAgentReplyReadinessLabel, rn as readRecentDaemonDispatchJournalEvents, ro as requestLocalAgentActivitySync, rr as readDispatchSpaceActionContextFromEnv, rs as cliJsonSkillsShowEnvelopeSchema, rt as colorizeAgentLabel, s as runSpaceJoin, sa as isDaemonServiceJobNeverSpawned, si as resolveGatewayChainReadiness, sn as evaluateCommandAuthentication, so as unregisterAgentActivityRoute, sr as formatDaemonServiceDowngradeBlockedRecommendation, ss as compareAgentControllerRefsForDisplay, st as renderOpenMeldHeader, t as buildCreateSpacePasswordPromptConfig, ta as startCurrentCommandCheckScope, ti as resolveDaemonServiceFreshnessWarning, tn as readBundledOpenMeldCliSkillDocumentByPath, to as validateLocalProjectConnectionPath, tr as assertDispatchOwnedRuntimePublicWriteAllowed, ts as cliJsonSkillsListEnvelopeSchema, tt as runAgentsShow, u as runSpacePassword, ua as readRecentDaemonLifecycleEvents, ui as createModelCatalogReadSession, un as runAuthMenu, uo as installAgentActivityIntegrations, ur as createDoctorFailedGuideError, ut as resolveGatewayWebOrigin, v as buildHumanReadSignalsTranscriptItems, va as readVersionState, vi as validateCustomProfileWorkspacePath, vn as requestDeviceToken, vo as formatOpenMeldCliTextBlock, vr as createSpaceLeaveGuideError, vt as runDaemonInstall, w as buildFormalDispatchResultReadPayload, wa as buildHumanErrorCopy, wi as reconcileNewRunnableBuiltinAgentsForSetup, wn as resolveCreateProfileName, wo as upsertDaemonServiceContract, wr as createSpaceTargetGuideError, wt as runDaemonStop, x as loadSpaceIdentityDirectoryOrNull, xa as toStartBackgroundHelperExecutionCompatibility, xi as createPrimaryBindingReadSession, xn as revokeAuthAccessToken, xo as resolveUserFacingCliEntryCommand, xr as createSpaceRemoveMembersGuideError, xt as runDaemonRunAfterEntryChecks, y as emitHumanReadSignalsTextProjection, ya as writeVersionState, yi as describeProfileWorkspacePathValidationFailure, yn as resolveDeviceAuthClientId, yo as formatProfileAwareOpenMeldCliCommands, yr as createSpaceMenuGuideError, yt as runDaemonInterrupt, z as buildReplyReadinessGuidance, za as primeOpenMeldProfilesSessionCache, zn as upsertSpaceConfig, zo as removeProjectConnection, zr as DualViewGuideError, zt as readGatewayJsonResponse } from "./command-BV6ylBgU.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 startReplyReadinessSummarySchema, b as createProjectsApi, c as createAgentProfileBindingApi, d as createCurrentDeviceApi, en as agentActivityInventorySessionOriginSchema, et as ownerComputerDiagnosticsSchema, f as createFeedbackApi, g as createOrganizationApi, gn as START_TRIMMED_NON_EMPTY_STRING_SCHEMA, hn as START_ISO_DATE_TIME_SCHEMA, in as localAgentSessionProviderSchema, it as agentProfileCreationConfigurationSchema, l as createCenterAgentApi, mn as START_BOUNDED_VERSION_SCHEMA, nn as agentActivitySessionInventoryQuerySchema, nt as summarizeComputerFileAccessPolicy, pn as START_BOUNDED_ID_SCHEMA, q as resolveSpaceDispatchTraceRootCause, rt as DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION, s as createAgentActivityApi, tn as agentActivityInventorySessionStatusSchema, tt as projectOwnerComputerLocalRuntimes, u as createComputerFileAccessApi, v as createPrepareReadinessApi, vn as localAgentCatalogSchema, vt as organizationSkillBundleSchema, x as createRoutinesApi, xt as stringifyOrganizationSkillBundleCanonicalJson } from "./dist-DEiXhSkt.js";
6
+ import { Ar as clientMessageIdSchema, Dn as messageEnvelopeSchema, Er as unknown, Ft as spaceStatusSchema, Ht as isSpaceFileTextEditable, It as centerAgentInteractionSourceSchema, Kt as resolveSpaceFileMimeType, Sr as string, Tr as union, Zr as openMeldProfileIdSchema, br as record, di as trimmedStringFromUnknown, dr as enumFactory, fr as int, gr as nullFactory, hn as spaceContractSchema, li as nonEmptyTrimmedStringFromUnknown, ln as dispatchExecutionSchema, lr as discriminatedUnion, mn as spaceContractFieldsSchema, mr as literal, ni as openMeldRuntimeProfileIdSchema, or as array, pr as iso, sr as boolean, un as spaceThreadContextSchema, vr as object, xr as strictObject } from "./runtime-transport-CFM93Yqy.js";
7
7
  import { r as daemonServiceLaneSchema } from "./service-contract-CRyDcIIf.js";
8
8
  import { j as getDaemonStatus } from "./daemon-runtime-lease-6DIprlJy.js";
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-B06nfwnD.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-BPmXnsr9.js";
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-hdKG6Oqe.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-tvnD_7HW.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";
@@ -5510,7 +5510,7 @@ const CHOOSE_PROFILE = "__command_entry_choose_profile__";
5510
5510
  const CREATE_PROFILE = "__command_entry_create_profile__";
5511
5511
  const CANCEL_PROFILE = "__command_entry_cancel_profile__";
5512
5512
  async function runSelectedProfileCheck(input) {
5513
- const explicitProfileArg = normalizeOptionalString$17(input.context.profileArg);
5513
+ const explicitProfileArg = normalizeOptionalString$18(input.context.profileArg);
5514
5514
  const hasExplicitProfileArg = explicitProfileArg !== null;
5515
5515
  const requiresConfirmation = input.requirement.mode === "confirm" && input.context.runtime.resolvedView === "human" && input.context.allowPrompt && !hasExplicitProfileArg;
5516
5516
  const currentState = getCurrentCommandCheckState();
@@ -5683,7 +5683,7 @@ function ensureCurrentProfileIsVisible(input) {
5683
5683
  function resolveProfileConfirmationMessage(entryName) {
5684
5684
  return entryName === "space.join" ? SPACE_JOIN_PROFILE_SELECTION_MESSAGE : SPACE_COMMAND_PROFILE_SELECTION_MESSAGE;
5685
5685
  }
5686
- function normalizeOptionalString$17(value) {
5686
+ function normalizeOptionalString$18(value) {
5687
5687
  const normalized = String(value ?? "").trim();
5688
5688
  return normalized.length > 0 ? normalized : null;
5689
5689
  }
@@ -6402,7 +6402,7 @@ async function runCommandWithEntryChecks(input) {
6402
6402
  allowPrompt: runtime.interactive,
6403
6403
  environmentTarget,
6404
6404
  gatewayUrl: normalizedGatewayUrl,
6405
- profileArg: normalizeOptionalString$16(input.profile),
6405
+ profileArg: normalizeOptionalString$17(input.profile),
6406
6406
  jsonOutput
6407
6407
  }),
6408
6408
  jsonOutput
@@ -6411,7 +6411,7 @@ async function runCommandWithEntryChecks(input) {
6411
6411
  finishCurrentCommandCheckScope();
6412
6412
  }
6413
6413
  }
6414
- function normalizeOptionalString$16(value) {
6414
+ function normalizeOptionalString$17(value) {
6415
6415
  const normalized = String(value ?? "").trim();
6416
6416
  return normalized.length > 0 ? normalized : null;
6417
6417
  }
@@ -7114,8 +7114,8 @@ function normalizeOrganizationSelectionPayload(payload) {
7114
7114
  message: "OpenMeld auth returned an invalid Organization selection."
7115
7115
  });
7116
7116
  return {
7117
- activeOrganizationId: normalizeOptionalString$15(payload.session.activeOrganizationId),
7118
- lastSelectedOrganizationId: normalizeOptionalString$15(payload.user.lastSelectedOrganizationId)
7117
+ activeOrganizationId: normalizeOptionalString$16(payload.session.activeOrganizationId),
7118
+ lastSelectedOrganizationId: normalizeOptionalString$16(payload.user.lastSelectedOrganizationId)
7119
7119
  };
7120
7120
  }
7121
7121
  function normalizeOrganizationListPayload(payload) {
@@ -7147,7 +7147,7 @@ function normalizeOrganizationFromPayload(payload) {
7147
7147
  if (!isRecord(payload)) return null;
7148
7148
  const organization = normalizeStoredActiveOrganization(payload.organization);
7149
7149
  if (!organization) return null;
7150
- const role = normalizeOptionalString$15(payload.role) ?? (isRecord(payload.member) ? normalizeOptionalString$15(payload.member.role) : null);
7150
+ const role = normalizeOptionalString$16(payload.role) ?? (isRecord(payload.member) ? normalizeOptionalString$16(payload.member.role) : null);
7151
7151
  return {
7152
7152
  ...organization,
7153
7153
  ...role ? { role } : {}
@@ -7217,13 +7217,13 @@ function parseJsonOrNull(raw) {
7217
7217
  }
7218
7218
  function readRequestId(payload) {
7219
7219
  if (!isRecord(payload)) return null;
7220
- return normalizeOptionalString$15(payload.requestId) ?? (isRecord(payload.error) ? normalizeOptionalString$15(payload.error.requestId) : null);
7220
+ return normalizeOptionalString$16(payload.requestId) ?? (isRecord(payload.error) ? normalizeOptionalString$16(payload.error.requestId) : null);
7221
7221
  }
7222
7222
  function readErrorMessage(payload) {
7223
7223
  if (!isRecord(payload)) return null;
7224
- return normalizeOptionalString$15(payload.message) ?? (isRecord(payload.error) ? normalizeOptionalString$15(payload.error.message) : null);
7224
+ return normalizeOptionalString$16(payload.message) ?? (isRecord(payload.error) ? normalizeOptionalString$16(payload.error.message) : null);
7225
7225
  }
7226
- function normalizeOptionalString$15(value) {
7226
+ function normalizeOptionalString$16(value) {
7227
7227
  const normalized = String(value ?? "").trim();
7228
7228
  return normalized.length > 0 ? normalized : null;
7229
7229
  }
@@ -7631,7 +7631,7 @@ async function createCenterAgentApiClient(input) {
7631
7631
  const CODEX_THREAD_ID_ENV = "CODEX_THREAD_ID";
7632
7632
  const CLAUDE_CODE_SESSION_ID_ENV = "CLAUDE_CODE_SESSION_ID";
7633
7633
  function detectLocalAgentEnvironment(env) {
7634
- const claudeSessionId = normalizeOptionalString$14(env[CLAUDE_CODE_SESSION_ID_ENV]);
7634
+ const claudeSessionId = normalizeOptionalString$15(env[CLAUDE_CODE_SESSION_ID_ENV]);
7635
7635
  if (claudeSessionId) return {
7636
7636
  kind: "agent",
7637
7637
  agentControllerConversationId: claudeSessionId,
@@ -7639,7 +7639,7 @@ function detectLocalAgentEnvironment(env) {
7639
7639
  conversationKind: "session",
7640
7640
  label: "Claude Code"
7641
7641
  };
7642
- const codexThreadId = normalizeOptionalString$14(env[CODEX_THREAD_ID_ENV]);
7642
+ const codexThreadId = normalizeOptionalString$15(env[CODEX_THREAD_ID_ENV]);
7643
7643
  if (codexThreadId) return {
7644
7644
  kind: "agent",
7645
7645
  agentControllerConversationId: codexThreadId,
@@ -7651,9 +7651,9 @@ function detectLocalAgentEnvironment(env) {
7651
7651
  return { kind: "human" };
7652
7652
  }
7653
7653
  function isCodexLikeEnvironment(env) {
7654
- return Boolean(normalizeOptionalString$14(env.CODEX_SHELL) || normalizeOptionalString$14(env.CODEX_CI) || normalizeOptionalString$14(env.CODEX_SESSION_ID) || normalizeOptionalString$14(env.CODEX_INTERNAL_ORIGINATOR_OVERRIDE));
7654
+ return Boolean(normalizeOptionalString$15(env.CODEX_SHELL) || normalizeOptionalString$15(env.CODEX_CI) || normalizeOptionalString$15(env.CODEX_SESSION_ID) || normalizeOptionalString$15(env.CODEX_INTERNAL_ORIGINATOR_OVERRIDE));
7655
7655
  }
7656
- function normalizeOptionalString$14(value) {
7656
+ function normalizeOptionalString$15(value) {
7657
7657
  if (typeof value !== "string") return null;
7658
7658
  const normalized = value.trim();
7659
7659
  return normalized.length > 0 ? normalized : null;
@@ -9057,7 +9057,7 @@ async function exchangeComputerAuthorizationGrant(input) {
9057
9057
  });
9058
9058
  throw new Error(`computer authorization could not verify its OpenMeld account: ${toErrorMessage$8(error)}${formatCleanupFailure(cleanup)}`, { cause: error });
9059
9059
  }
9060
- const userId = normalizeOptionalString$13(user?.id);
9060
+ const userId = normalizeOptionalString$14(user?.id);
9061
9061
  if (!userId) {
9062
9062
  const cleanup = await revokeAuthAccessToken({
9063
9063
  accessToken: tokenResult.data.access_token,
@@ -9067,7 +9067,7 @@ async function exchangeComputerAuthorizationGrant(input) {
9067
9067
  throw new Error(`computer authorization account response did not include a user id${formatCleanupFailure(cleanup)}`);
9068
9068
  }
9069
9069
  const expiresAt = resolveDeviceTokenExpiresAt(tokenResult.data.expires_in);
9070
- const scope = normalizeOptionalString$13(tokenResult.data.scope);
9070
+ const scope = normalizeOptionalString$14(tokenResult.data.scope);
9071
9071
  return {
9072
9072
  accessToken: tokenResult.data.access_token,
9073
9073
  tokenType: tokenResult.data.token_type,
@@ -9093,11 +9093,11 @@ function toErrorMessage$8(error) {
9093
9093
  return error instanceof Error && error.message.trim() ? error.message.trim() : String(error ?? "unknown error");
9094
9094
  }
9095
9095
  function normalizeRequiredString(value, message) {
9096
- const normalized = normalizeOptionalString$13(value);
9096
+ const normalized = normalizeOptionalString$14(value);
9097
9097
  if (!normalized) throw new Error(message);
9098
9098
  return normalized;
9099
9099
  }
9100
- function normalizeOptionalString$13(value) {
9100
+ function normalizeOptionalString$14(value) {
9101
9101
  const normalized = String(value ?? "").trim();
9102
9102
  return normalized.length > 0 ? normalized : null;
9103
9103
  }
@@ -9107,7 +9107,7 @@ const UNUSED_SETUP_SESSION_CLEANUP_SUFFIX = " OpenMeld also could not revoke the
9107
9107
  async function recoverInterruptedComputerAuthHandoff(input) {
9108
9108
  const recovery = await getInterruptedComputerAuthSessionRecovery();
9109
9109
  if (!recovery) return "none";
9110
- const previousOwnerUserId = normalizeOptionalString$12(recovery.previousSession?.user?.id);
9110
+ const previousOwnerUserId = normalizeOptionalString$13(recovery.previousSession?.user?.id);
9111
9111
  if (!recovery.serviceReconciled) {
9112
9112
  const stopped = await bestEffortStopCurrentLaneDaemonService({ runtime: input.runtime });
9113
9113
  if (stopped.status === "warning") {
@@ -9211,7 +9211,7 @@ function formatComputerAuthCleanupFailureSuffix(result) {
9211
9211
  const status = result.error.status === null ? "network error" : `HTTP ${result.error.status}`;
9212
9212
  return `${UNUSED_SETUP_SESSION_CLEANUP_SUFFIX} Cleanup endpoint ${result.error.endpoint} returned ${status}: ${result.error.message}`;
9213
9213
  }
9214
- function normalizeOptionalString$12(value) {
9214
+ function normalizeOptionalString$13(value) {
9215
9215
  if (typeof value !== "string") return null;
9216
9216
  const normalized = value.trim();
9217
9217
  return normalized.length > 0 ? normalized : null;
@@ -10376,11 +10376,11 @@ function resolveDaemonRouteSkipMessage(input) {
10376
10376
  return `Reply route checks were skipped because the OpenMeld profile check failed: ${input.openMeldProfileMessage}`;
10377
10377
  }
10378
10378
  function resolveFeedbackInboxKey(input) {
10379
- const fromCli = normalizeOptionalString$11(input.cliValue);
10379
+ const fromCli = normalizeOptionalString$12(input.cliValue);
10380
10380
  if (fromCli) return fromCli;
10381
- return normalizeOptionalString$11((input.env ?? process.env).OPENMELD_FEEDBACK_INBOX_KEY) ?? "feedback_key_8oDRg9Aq-Q4crzVGV6hUqhKT2dQpKkBn4bKg9bjXLcE";
10381
+ return normalizeOptionalString$12((input.env ?? process.env).OPENMELD_FEEDBACK_INBOX_KEY) ?? "feedback_key_8oDRg9Aq-Q4crzVGV6hUqhKT2dQpKkBn4bKg9bjXLcE";
10382
10382
  }
10383
- function normalizeOptionalString$11(value) {
10383
+ function normalizeOptionalString$12(value) {
10384
10384
  const normalized = String(value ?? "").trim();
10385
10385
  return normalized.length > 0 ? normalized : null;
10386
10386
  }
@@ -10721,7 +10721,7 @@ async function resolveAgentControllerPermissionModeInput(input) {
10721
10721
  value: input.agentControllerPermissionModeInput
10722
10722
  });
10723
10723
  if (!agentControllerPermissionMode) return { hasAnyAgentControllerPermissionModeInput: false };
10724
- const agentControllerRef = normalizeOptionalString$10(input.agentControllerRef);
10724
+ const agentControllerRef = normalizeOptionalString$11(input.agentControllerRef);
10725
10725
  assertAgentControllerPermissionModeSupported({
10726
10726
  agentControllerPermissionMode,
10727
10727
  agentControllerRef,
@@ -10742,7 +10742,7 @@ async function resolveAgentControllerPermissionModeInput(input) {
10742
10742
  };
10743
10743
  }
10744
10744
  function normalizeAgentControllerPermissionModeCliInput(input) {
10745
- const raw = normalizeOptionalString$10(input.value);
10745
+ const raw = normalizeOptionalString$11(input.value);
10746
10746
  if (!raw) return null;
10747
10747
  const options = listAgentControllerPermissionModeOptions(input.agentControllerRef ? { agentControllerRef: input.agentControllerRef } : void 0);
10748
10748
  for (const option of options) if (raw === option.value) return option.value;
@@ -10845,6 +10845,23 @@ const AGENT_CONTROLLER_PERMISSION_MODE_BY_CLI_VALUE = {
10845
10845
  "run-everything": "cursor:force",
10846
10846
  runeverything: "cursor:force"
10847
10847
  };
10848
+ function normalizeOptionalString$11(value) {
10849
+ const normalized = String(value ?? "").trim();
10850
+ return normalized.length > 0 ? normalized : null;
10851
+ }
10852
+ //#endregion
10853
+ //#region src/profile/model-selection-input.ts
10854
+ function normalizeModelSelectionInput(input) {
10855
+ const modelId = normalizeOptionalString$10(input.model);
10856
+ const reasoningLevel = normalizeOptionalString$10(input.reasoningEffort);
10857
+ if (!(modelId || reasoningLevel)) return { hasAnyModelSelectionInput: false };
10858
+ if (!modelId) throw new Error("--reasoning-effort requires --model.");
10859
+ return {
10860
+ hasAnyModelSelectionInput: true,
10861
+ modelId,
10862
+ ...reasoningLevel ? { reasoningLevel } : {}
10863
+ };
10864
+ }
10848
10865
  function normalizeOptionalString$10(value) {
10849
10866
  const normalized = String(value ?? "").trim();
10850
10867
  return normalized.length > 0 ? normalized : null;
@@ -12871,17 +12888,6 @@ function normalizeWorkspaceModeInput(value) {
12871
12888
  if (normalized === "openmeld_managed" || normalized === "custom") return normalized;
12872
12889
  throw new Error("--workspace-mode must be openmeld-managed|custom");
12873
12890
  }
12874
- function normalizeModelSelectionInput(input) {
12875
- const modelId = normalizeOptionalString$9(input.model);
12876
- const reasoningLevel = normalizeOptionalString$9(input.reasoningEffort);
12877
- if (!(modelId || reasoningLevel)) return { hasAnyModelSelectionInput: false };
12878
- if (!modelId) throw new Error("--reasoning-effort requires --model.");
12879
- return {
12880
- hasAnyModelSelectionInput: true,
12881
- modelId,
12882
- ...reasoningLevel ? { reasoningLevel } : {}
12883
- };
12884
- }
12885
12891
  async function ensureProfileCommandAuthenticationOrCancel(input) {
12886
12892
  if (input.runtime.resolvedView !== "human") return true;
12887
12893
  const evaluated = await evaluateCommandAuthentication();
@@ -13383,7 +13389,7 @@ async function fetchSpaceDispatchTrace(input) {
13383
13389
  requestContext: input.requestContext,
13384
13390
  spacePassword: input.password
13385
13391
  }),
13386
- [SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER]: String(2)
13392
+ [SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER]: String(3)
13387
13393
  } }
13388
13394
  });
13389
13395
  const raw = await response.text();
@@ -27175,6 +27181,10 @@ function normalizeOptionalString$1(value) {
27175
27181
  //#region src/space/add-me-command.ts
27176
27182
  const SHELL_SAFE_ARG_REGEX = /^[A-Za-z0-9_./:=@%+-]+$/u;
27177
27183
  async function runSpaceAddMe(input) {
27184
+ const modelSelection = normalizeModelSelectionInput({
27185
+ model: input.model,
27186
+ reasoningEffort: input.reasoningEffort
27187
+ });
27178
27188
  const target = parseSpaceAddMeTarget(input.space, { baseUrl: input.baseUrl });
27179
27189
  const profile = resolveSpaceAddMeActingProfileId({
27180
27190
  cliProfileId: input.profile,
@@ -27206,6 +27216,7 @@ async function runSpaceAddMe(input) {
27206
27216
  if (detectedSubject.kind === "codex_missing_thread") throw new Error("This looks like Codex, but OpenMeld cannot find CODEX_THREAD_ID. `openmeld space add-me` will not pretend to bind an unknown Codex thread. Open this task in a Codex Desktop session that exposes CODEX_THREAD_ID, or run the command from a non-Codex shell to use the Human Profile path.");
27207
27217
  const addMembers = input.addMembers ?? runDefaultSpaceAddMeMembership;
27208
27218
  if (detectedSubject.kind === "human") {
27219
+ if (modelSelection.hasAnyModelSelectionInput) throw new Error("--model is only used when OpenMeld detects a local agent controller. Human Profile membership does not use a model selection.");
27209
27220
  if (collectProjectFolderCandidates(input.projectFolders).length > 0) throw new Error("--project-folder is only used when OpenMeld detects a local agent controller. Human Profile membership does not use a Project folder.");
27210
27221
  if (actorProfile.profileKind !== "human") throw new Error(`No current local agent controller was detected, so add-me is using the Human Profile path. Profile ${actorProfile.openMeldProfileId} is an Agent Profile; pass a Human Profile with --profile or run from a supported agent controller.`);
27211
27222
  const status = await addMembers({
@@ -27263,6 +27274,7 @@ async function runSpaceAddMe(input) {
27263
27274
  baseUrl: resolvedBaseUrl,
27264
27275
  controllerPermissionMode: controllerPermissionMode.agentControllerPermissionMode ?? null,
27265
27276
  detectedSubject,
27277
+ modelSelection,
27266
27278
  projectFolder,
27267
27279
  spaceId: target.spaceId
27268
27280
  })
@@ -27357,13 +27369,14 @@ async function ensureCurrentAgentProfile(input) {
27357
27369
  profile: match.profile,
27358
27370
  projectFolder: input.projectFolder.path
27359
27371
  });
27360
- if (input.controllerPermissionMode) await updateAgentProfilePrimaryBindingAgentControllerPermissionMode({
27361
- agentControllerPermissionMode: input.controllerPermissionMode,
27372
+ const bindingUpdate = await updateExistingAgentProfileBinding({
27373
+ controllerPermissionMode: input.controllerPermissionMode,
27374
+ modelSelection: input.modelSelection,
27362
27375
  profile: match.profile
27363
27376
  });
27364
27377
  return {
27365
- bindingOutcome: input.controllerPermissionMode ? "updated" : "reused",
27366
- bindingStatus: match.report.bindingState,
27378
+ bindingOutcome: bindingUpdate.updated ? "updated" : "reused",
27379
+ bindingStatus: bindingUpdate.status ?? match.report.bindingState,
27367
27380
  profile: match.profile,
27368
27381
  profileAction: "reused",
27369
27382
  projectFolderAction
@@ -27389,6 +27402,10 @@ async function ensureCurrentAgentProfile(input) {
27389
27402
  const binding = await ensureAgentProfileRuntimeBinding({
27390
27403
  agentControllerConversationId: input.detectedSubject.agentControllerConversationId,
27391
27404
  ...input.controllerPermissionMode ? { agentControllerPermissionMode: input.controllerPermissionMode } : {},
27405
+ ...input.modelSelection.modelId ? {
27406
+ modelId: input.modelSelection.modelId,
27407
+ ...input.modelSelection.reasoningLevel ? { reasoningLevel: input.modelSelection.reasoningLevel } : {}
27408
+ } : {},
27392
27409
  confirmLocalExecutionEvidence: false,
27393
27410
  profile,
27394
27411
  runtimeReportSubmission
@@ -27402,6 +27419,26 @@ async function ensureCurrentAgentProfile(input) {
27402
27419
  projectFolderAction: "created"
27403
27420
  };
27404
27421
  }
27422
+ async function updateExistingAgentProfileBinding(input) {
27423
+ if (input.controllerPermissionMode) await updateAgentProfilePrimaryBindingAgentControllerPermissionMode({
27424
+ agentControllerPermissionMode: input.controllerPermissionMode,
27425
+ profile: input.profile
27426
+ });
27427
+ if (!input.modelSelection.modelId) return {
27428
+ status: null,
27429
+ updated: Boolean(input.controllerPermissionMode)
27430
+ };
27431
+ const binding = await updateAgentProfilePrimaryBindingModelSelection({
27432
+ modelId: input.modelSelection.modelId,
27433
+ profile: input.profile,
27434
+ reasoningLevel: input.modelSelection.reasoningLevel
27435
+ });
27436
+ if (binding.status !== "accepted") throw new Error(`Agent Profile Binding model update failed: ${binding.reasonCodes.join(", ")}`);
27437
+ return {
27438
+ status: binding.status,
27439
+ updated: true
27440
+ };
27441
+ }
27405
27442
  async function findAgentProfileByControllerConversation(input) {
27406
27443
  const profiles = (await listOpenMeldProfiles()).filter((profile) => profile.profileKind === "agent" && profile.status === "active");
27407
27444
  const bindingReads = createPrimaryBindingReadSession({ baseUrl: input.baseUrl });
@@ -27566,7 +27603,7 @@ function normalizeOptionalString(value) {
27566
27603
  return normalized.length > 0 ? normalized : null;
27567
27604
  }
27568
27605
  async function runDefaultSpaceAddMeMembership(input) {
27569
- const { runSpaceAddMeMembership } = await import("./add-me-membership-CZUHkjnP.js");
27606
+ const { runSpaceAddMeMembership } = await import("./add-me-membership-BZ9GEg6y.js");
27570
27607
  return await runSpaceAddMeMembership(input);
27571
27608
  }
27572
27609
  //#endregion
@@ -32433,10 +32470,10 @@ serviceCmd.command("trace").description("Read a Space delivery trace for debuggi
32433
32470
  profile: opts.profile,
32434
32471
  gatewayUrl: opts.gatewayUrl,
32435
32472
  run: async () => {
32436
- const dispatchId = normalizeOptionalString$16(opts.dispatch);
32437
- const sourceSignalId = normalizeOptionalString$16(opts.sourceSignal);
32438
- const clientMessageId = normalizeOptionalString$16(opts.clientMessage);
32439
- const targetProfileId = normalizeOptionalString$16(opts.targetProfile);
32473
+ const dispatchId = normalizeOptionalString$17(opts.dispatch);
32474
+ const sourceSignalId = normalizeOptionalString$17(opts.sourceSignal);
32475
+ const clientMessageId = normalizeOptionalString$17(opts.clientMessage);
32476
+ const targetProfileId = normalizeOptionalString$17(opts.targetProfile);
32440
32477
  if (Number(dispatchId !== null) + Number(sourceSignalId !== null) + Number(clientMessageId !== null) !== 1) throw new Error("exactly one of --dispatch, --source-signal, or --client-message is required");
32441
32478
  await runServiceTrace({
32442
32479
  profile: opts.profile,
@@ -32628,7 +32665,7 @@ spaceActionCmd.command("help").description("Show OpenMeld Space Action help.").a
32628
32665
  withSpaceProfileOption(spaceCmd.command("create").description("Create a new space and print its space ID.").option("--name <name>", "Space name (<=80 chars; prompted in human interactive mode)").option("--visibility <public|private>", "Organization visibility for this space").option("--guide <text>", "Optional space guide").option("--password <value>", "Optional space password (minimum 6 characters; numbers/letters/symbols accepted)").option("--join", "Join immediately after create").option("--no-join", "Do not ask to join after create").option("--output <mode>", "Output mode when auto-joining: ndjson|text", "text")).action(async (opts, command) => {
32629
32666
  const cliOptions = resolveSpaceCommandCliOptions(command, opts);
32630
32667
  const view = getGlobalViewOption();
32631
- if (view === "agent" && (normalizeOptionalString$16(opts.name) === null || normalizeOptionalString$16(opts.visibility) === null)) {
32668
+ if (view === "agent" && (normalizeOptionalString$17(opts.name) === null || normalizeOptionalString$17(opts.visibility) === null)) {
32632
32669
  await runSpaceCreate({
32633
32670
  profile: cliOptions.profile,
32634
32671
  baseUrl: cliOptions.gatewayUrl,
@@ -32688,7 +32725,7 @@ withSpaceProfileOption(spaceCmd.command("join").description("Open an existing Sp
32688
32725
  const localEcho = opts.noLocalEcho !== true;
32689
32726
  const view = getGlobalViewOption();
32690
32727
  if (opts.selfServe === true) {
32691
- const spaceValue = normalizeOptionalString$16(space);
32728
+ const spaceValue = normalizeOptionalString$17(space);
32692
32729
  if (!spaceValue) throw Object.assign(/* @__PURE__ */ new Error("space join --self-serve requires an explicit public Organization Space ID"), { code: "space.join.self_serve.space_required" });
32693
32730
  await runCommandWithEntryChecks({
32694
32731
  routeTokens: [
@@ -32712,7 +32749,7 @@ withSpaceProfileOption(spaceCmd.command("join").description("Open an existing Sp
32712
32749
  });
32713
32750
  return;
32714
32751
  }
32715
- if (view === "agent" && normalizeOptionalString$16(space) === null) {
32752
+ if (view === "agent" && normalizeOptionalString$17(space) === null) {
32716
32753
  await runSpaceJoin({
32717
32754
  profile: cliOptions.profile,
32718
32755
  baseUrl: cliOptions.gatewayUrl,
@@ -32764,8 +32801,8 @@ withSpaceProfileOption(spaceCmd.command("wake-progress").description("Read live
32764
32801
  profile: cliOptions.profile,
32765
32802
  baseUrl: cliOptions.gatewayUrl,
32766
32803
  space: String(space),
32767
- clientMessageId: normalizeOptionalString$16(opts.clientMessage) ?? void 0,
32768
- targetProfileId: normalizeOptionalString$16(opts.targetProfile) ?? void 0,
32804
+ clientMessageId: normalizeOptionalString$17(opts.clientMessage) ?? void 0,
32805
+ targetProfileId: normalizeOptionalString$17(opts.targetProfile) ?? void 0,
32769
32806
  password: cliOptions.password,
32770
32807
  view,
32771
32808
  entryChecksHandled: true
@@ -32786,10 +32823,10 @@ withSpaceProfileOption(spaceCmd.command("wake-stop").description("Request Stop f
32786
32823
  profile: cliOptions.profile,
32787
32824
  baseUrl: cliOptions.gatewayUrl,
32788
32825
  space: String(space),
32789
- clientMessageId: normalizeOptionalString$16(opts.clientMessage) ?? void 0,
32790
- sourceSignalId: normalizeOptionalString$16(opts.sourceSignal) ?? void 0,
32826
+ clientMessageId: normalizeOptionalString$17(opts.clientMessage) ?? void 0,
32827
+ sourceSignalId: normalizeOptionalString$17(opts.sourceSignal) ?? void 0,
32791
32828
  targetProfileId: String(opts.targetProfile),
32792
- reason: normalizeOptionalString$16(opts.reason) ?? void 0,
32829
+ reason: normalizeOptionalString$17(opts.reason) ?? void 0,
32793
32830
  password: cliOptions.password,
32794
32831
  view,
32795
32832
  entryChecksHandled: true
@@ -32797,7 +32834,7 @@ withSpaceProfileOption(spaceCmd.command("wake-stop").description("Request Stop f
32797
32834
  }
32798
32835
  });
32799
32836
  });
32800
- withSpaceProfileOption(spaceCmd.command("add-me").description("Add me to this Space.").argument("<space>", "Space URL or Space ID").option("--password <value>", "Space password for protected access").option("--project-folder <path>", "Project folder for this agent profile", collectRepeatedOptionValue).option("--workspace-path <path>", "Alias for --project-folder", collectRepeatedOptionValue).option("--working-directory <path>", "Alias for --project-folder", collectRepeatedOptionValue).option("--cwd <path>", "Alias for --project-folder", collectRepeatedOptionValue).option("--agent-controller-permission-mode <policy>", formatAgentControllerPermissionModeHelp()).option("--confirm-dangerous-agent-controller-permission-mode", "Confirm a dangerous Agent Controller Permission Mode without prompting", false).option("--details", "Print detailed add-me diagnostics").option("--json", "Print machine-readable add-me diagnostics", false)).action(async (space, opts, command) => {
32837
+ withSpaceProfileOption(spaceCmd.command("add-me").description("Add me to this Space.").argument("<space>", "Space URL or Space ID").option("--password <value>", "Space password for protected access").option("--project-folder <path>", "Project folder for this agent profile", collectRepeatedOptionValue).option("--workspace-path <path>", "Alias for --project-folder", collectRepeatedOptionValue).option("--working-directory <path>", "Alias for --project-folder", collectRepeatedOptionValue).option("--cwd <path>", "Alias for --project-folder", collectRepeatedOptionValue).option("--agent-controller-permission-mode <policy>", formatAgentControllerPermissionModeHelp()).option("--model <model>", "Model for this Agent Profile Binding").option("--reasoning-effort <level>", "Reasoning effort for the selected model").option("--confirm-dangerous-agent-controller-permission-mode", "Confirm a dangerous Agent Controller Permission Mode without prompting", false).option("--details", "Print detailed add-me diagnostics").option("--json", "Print machine-readable add-me diagnostics", false)).action(async (space, opts, command) => {
32801
32838
  const cliOptions = resolveSpaceCommandCliOptions(command, opts);
32802
32839
  const view = getGlobalViewOption();
32803
32840
  await runCommandWithEntryChecks({
@@ -32821,6 +32858,8 @@ withSpaceProfileOption(spaceCmd.command("add-me").description("Add me to this Sp
32821
32858
  confirmDangerousAgentControllerPermissionMode: opts.confirmDangerousAgentControllerPermissionMode === true,
32822
32859
  details: opts.details === true,
32823
32860
  json: opts.json === true,
32861
+ model: opts.model,
32862
+ reasoningEffort: opts.reasoningEffort,
32824
32863
  view,
32825
32864
  entryChecksHandled: true
32826
32865
  });
@@ -33316,8 +33355,8 @@ withSpaceProfileOption(spaceCmd.command("updates").description("Read formal upda
33316
33355
  withSpaceProfileOption(spaceCmd.command("result").description("Read one formal dispatch result scoped to this space.").argument("[space]", "Space ID (64-character hex)").option("--dispatch <dispatch-id>", "Lookup by dispatch ID").option("--result-ref <result-ref>", "Lookup by dispatch result ref").option("--json", "Print canonical JSON", false).option("--password <value>", "Space password for protected access")).action(async (space, opts, command) => {
33317
33356
  const cliOptions = resolveSpaceCommandCliOptions(command, opts);
33318
33357
  const spaceValue = String(space ?? "").trim();
33319
- const dispatchId = normalizeOptionalString$16(opts.dispatch);
33320
- const resultRef = normalizeOptionalString$16(opts.resultRef);
33358
+ const dispatchId = normalizeOptionalString$17(opts.dispatch);
33359
+ const resultRef = normalizeOptionalString$17(opts.resultRef);
33321
33360
  const selectorCount = Number(dispatchId !== null) + Number(resultRef !== null);
33322
33361
  const outputView = await resolveEffectiveViewForOutput();
33323
33362
  if ((spaceValue.length === 0 || selectorCount !== 1) && outputView === "agent") throw createSpaceResultGuideError();