openmeld 0.3.207 → 0.3.209

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.
Files changed (56) hide show
  1. package/dist/{add-me-membership-1JHMjZoR.js → add-me-membership-Ck31xM9l.js} +2 -2
  2. package/dist/{add-me-membership-1JHMjZoR.js.map → add-me-membership-Ck31xM9l.js.map} +1 -1
  3. package/dist/{agents-CIDsThyG.js → agents-Caxxitma.js} +1190 -188
  4. package/dist/agents-Caxxitma.js.map +1 -0
  5. package/dist/{api-client-foundation-DSurenul.js → api-client-foundation-BGGVYxgq.js} +3 -3
  6. package/dist/{api-client-foundation-DSurenul.js.map → api-client-foundation-BGGVYxgq.js.map} +1 -1
  7. package/dist/{api-client-foundation-D6_NXHPV.js → api-client-foundation-LfQQZwak.js} +1 -1
  8. package/dist/{auth-session-CO5XtFaq.js → auth-session-CVxflepT.js} +2 -2
  9. package/dist/{auth-session-CO5XtFaq.js.map → auth-session-CVxflepT.js.map} +1 -1
  10. package/dist/auth-session-LTSqq_Tb.js +4 -0
  11. package/dist/{command-Bzt9zgnI.js → command-DqXu9TET.js} +48 -9
  12. package/dist/command-DqXu9TET.js.map +1 -0
  13. package/dist/{computer-connection-BOl79Ftf.js → computer-connection-TgsnU0K9.js} +2 -2
  14. package/dist/{computer-connection-BOl79Ftf.js.map → computer-connection-TgsnU0K9.js.map} +1 -1
  15. package/dist/{computer-connection-review-BTOvbJYL.js → computer-connection-review-Dg4TZc8O.js} +6 -6
  16. package/dist/{computer-connection-review-BTOvbJYL.js.map → computer-connection-review-Dg4TZc8O.js.map} +1 -1
  17. package/dist/{computer-setup-continuation-DmKdhR5u.js → computer-setup-continuation-Imn8Ykr-.js} +4 -4
  18. package/dist/{computer-setup-continuation-DmKdhR5u.js.map → computer-setup-continuation-Imn8Ykr-.js.map} +1 -1
  19. package/dist/{daemon-service-runtime-DQW9gSLT.js → daemon-service-runtime-CRHAVnEX.js} +3 -3
  20. package/dist/{daemon-service-runtime-DQW9gSLT.js.map → daemon-service-runtime-CRHAVnEX.js.map} +1 -1
  21. package/dist/{dist-D-kJdWZE.js → dist-CtoP6msP.js} +252 -188
  22. package/dist/dist-CtoP6msP.js.map +1 -0
  23. package/dist/dist-DVciurWV.js +4 -0
  24. package/dist/{elapsed-time-CcoM2R3N.js → elapsed-time-D6DCEnz7.js} +4 -4
  25. package/dist/{elapsed-time-CcoM2R3N.js.map → elapsed-time-D6DCEnz7.js.map} +1 -1
  26. package/dist/{installation-inventory-DJlwXa1q.js → installation-inventory-uRDaBzO_.js} +3 -3
  27. package/dist/{installation-inventory-DJlwXa1q.js.map → installation-inventory-uRDaBzO_.js.map} +1 -1
  28. package/dist/{openmeld-CiL4AiB0.js → openmeld-DYSsGBFL.js} +260 -38
  29. package/dist/openmeld-DYSsGBFL.js.map +1 -0
  30. package/dist/{openmeld-maintenance-worker-DjdmRASI.js → openmeld-maintenance-worker-sNN5314u.js} +5 -5
  31. package/dist/{openmeld-maintenance-worker-DjdmRASI.js.map → openmeld-maintenance-worker-sNN5314u.js.map} +1 -1
  32. package/dist/{openmeld-tools-update-coordinator-D9Skj8IE.js → openmeld-tools-update-coordinator-jJrVAHgC.js} +516 -104
  33. package/dist/openmeld-tools-update-coordinator-jJrVAHgC.js.map +1 -0
  34. package/dist/openmeld.js +3 -3
  35. package/dist/{prepare-session-executor-B0NtjHEL.js → prepare-session-executor-DtWDB9RM.js} +9 -9
  36. package/dist/{prepare-session-executor-B0NtjHEL.js.map → prepare-session-executor-DtWDB9RM.js.map} +1 -1
  37. package/dist/{runtime-transport-QIZmAo4-.js → runtime-transport-BrzIQru0.js} +3657 -3521
  38. package/dist/runtime-transport-BrzIQru0.js.map +1 -0
  39. package/dist/{service-account-authorization-Dt8kGvq8.js → service-account-authorization-Aft4cBFn.js} +3 -3
  40. package/dist/{service-account-authorization-Dt8kGvq8.js.map → service-account-authorization-Aft4cBFn.js.map} +1 -1
  41. package/dist/{service-control-capabilities-CzUB1ovW.js → service-control-capabilities-12ePIPVW.js} +1 -1
  42. package/dist/{service-control-capabilities-BU5F75zi.js → service-control-capabilities-B8pv0P4V.js} +2 -2
  43. package/dist/{service-control-capabilities-BU5F75zi.js.map → service-control-capabilities-B8pv0P4V.js.map} +1 -1
  44. package/dist/upgrade-Cie6yXZc.js +4 -0
  45. package/dist/{upgrade-NxpTydHp.js → upgrade-DrUXCeru.js} +4 -4
  46. package/dist/{upgrade-NxpTydHp.js.map → upgrade-DrUXCeru.js.map} +1 -1
  47. package/package.json +2 -2
  48. package/dist/agents-CIDsThyG.js.map +0 -1
  49. package/dist/auth-session-B7QMhHwh.js +0 -4
  50. package/dist/command-Bzt9zgnI.js.map +0 -1
  51. package/dist/dist-D-kJdWZE.js.map +0 -1
  52. package/dist/dist-DTG_Vqc7.js +0 -4
  53. package/dist/openmeld-CiL4AiB0.js.map +0 -1
  54. package/dist/openmeld-tools-update-coordinator-D9Skj8IE.js.map +0 -1
  55. package/dist/runtime-transport-QIZmAo4-.js.map +0 -1
  56. package/dist/upgrade-DLECkjMt.js +0 -4
@@ -2,28 +2,28 @@
2
2
 
3
3
  import { c as toSpaceDispatchLookupUrl, h as toSpaceResultUrl, i as toSpaceContractUrl, l as toSpaceDispatchTraceUrl, r as toSpaceBoardUrl, t as normalizeBaseUrl } from "./urls-CY2uzH2-.js";
4
4
  import { A as isLocalMachineFailureError, D as createActiveSetupConcurrencyIssue, F as accountProfileSpaceCacheDir, I as accountProfileViewPath, M as formatLocalMachineIssueMessage, O as createOrphanedSetupConcurrencyIssue, Q as openMeldBackupsDir, R as accountsDir, T as LocalMachineFailureError, X as normalizeAccountKey, _ as resolveCliContext, _t as skillsDir, a as isOpenMeldOrphanedLockError, at as organizationSkillReleaseDir, b as formatLaneScopeSentence, c as releaseLockSync, d as runWithHeldLock, dt as resolveOpenMeldEnvPreset, et as openMeldManagedBinaryPath, ft as resolveOpenMeldRootDir, i as isOpenMeldLockError, j as toRecognizedLocalMachineFailureError, l as repairOrphanedLegacyLocks, m as OPENMELD_CLI_CONTEXT_ENV_KEY, ot as profileDir, p as LEGACY_OPENMELD_AGENT_SESSION_ENV_KEY, r as buildOpenMeldOrphanedLockAction, rt as openMeldRootDir, st as profileViewPath, t as acquireLock, tt as openMeldManagedVersionBinaryPath, u as resolveOpenMeldOrphanedLockIssue, ut as resolveOpenMeldCliEntryNameFromArgv, vt as spacesDir, w as readProcessStartIdentity, x as resolveOpenMeldLaneDescriptor, yt as systemDir } from "./lock-Dxp6o_t_.js";
5
- import { $n as observabilityWakeTraceSelectorSchema, Bn as OPENMELD_HEADER_SPACE_ADDRESSING_VERSION, Bt as createFeedbackApi, Cn as toStructuredApiClientFailure, Cr as organizationSkillBundleSchema, Er as stringifyOrganizationSkillBundleCanonicalJson, Gn as pluginActionRequestSchema, Hr as agentActivitySessionStatusSchema, It as createComputerFileAccessApi, Jn as projectSpaceDispatchTraceFinalVisibleOutcome, Jr as resolvedSpaceMemberProfileSchema, Ln as OPENMELD_HEADER_PROFILE_ID, Mt as createAgentProfileBindingApi, Pt as createCenterAgentApi, Qn as spaceDispatchTraceResponseSchema, Qt as createPrepareReadinessApi, Rt as createCurrentDeviceApi, Ur as agentActivitySnapshotQuerySchema, Vr as agentActivityProviderSchema, Wn as spaceEntryTargetSchema, Xn as spaceDispatchTraceAttemptStatusSchema, Yn as resolveSpaceDispatchTraceRootCause, Yt as createOrganizationSkillsApi, Zn as spaceDispatchTraceDispatchStatusSchema, Zt as createPluginsApi, ei as agentActivityInventorySessionOriginSchema, er as projectObservabilityWakeCorrelation, fr as DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION, ii as localAgentSessionProviderSchema, ir as summarizeComputerFileAccessPolicy, jt as createAgentActivityApi, kr as submitFeedbackIssueRequestSchema, mr as createAgentProfileCreationRequestBodySchema, ni as agentActivitySessionInventoryQuerySchema, nr as ownerComputerDiagnosticsSchema, pr as agentProfileCreationConfigurationSchema, qn as SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER, qt as createOrganizationApi, rn as createRoutinesApi, rr as projectOwnerComputerLocalRuntimes, ti as agentActivityInventorySessionStatusSchema, tn as createProjectsApi } from "./dist-D-kJdWZE.js";
5
+ import { $n as resolveSpaceDispatchTraceRootCause, $t as createPrepareReadinessApi, Ar as stringifyOrganizationSkillBundleCanonicalJson, Bn as OPENMELD_HEADER_PROFILE_ID, Dr as organizationSkillBundleSchema, En as toStructuredApiClientFailure, Ft as createCenterAgentApi, Gr as agentActivityProviderSchema, Jn as pluginActionRequestSchema, Jt as createOrganizationApi, Kr as agentActivitySessionStatusSchema, Lt as createComputerFileAccessApi, Mt as createAgentProfileBindingApi, Nr as submitFeedbackIssueRequestSchema, Nt as createAgentProfileExecutionModeApi, Qn as resolveRuntimeCoordinatorHeadStatusRootCause, Qr as resolvedSpaceMemberProfileSchema, Qt as createPluginsApi, Un as OPENMELD_HEADER_SPACE_ADDRESSING_VERSION, Vt as createFeedbackApi, Xn as SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER, Xt as createOrganizationSkillsApi, Zn as projectSpaceDispatchTraceFinalVisibleOutcome, _r as agentProfileCreationConfigurationSchema, ai as agentActivityInventorySessionStatusSchema, ci as localAgentSessionProviderSchema, cr as summarizeComputerFileAccessPolicy, er as spaceDispatchTraceAttemptStatusSchema, gi as signalTextEnvelopeSchema, gr as DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION, ii as agentActivityInventorySessionOriginSchema, in as createRoutinesApi, ir as projectObservabilityWakeCorrelation, jt as createAgentActivityApi, nn as createProjectsApi, nr as spaceDispatchTraceResponseSchema, oi as agentActivitySessionInventoryQuerySchema, or as ownerComputerDiagnosticsSchema, qn as spaceEntryTargetSchema, qr as agentActivitySnapshotQuerySchema, rr as observabilityWakeTraceSelectorSchema, sr as projectOwnerComputerLocalRuntimes, tr as spaceDispatchTraceDispatchStatusSchema, vr as createAgentProfileCreationRequestBodySchema, zt as createCurrentDeviceApi } from "./dist-CtoP6msP.js";
6
6
  import { c as agentControllerConversationRefSchema } from "./controller-contract-pe3_Re-c.js";
7
- import { $ as formatDeviceReplyReadinessLabel, $a as listOpenMeldProfiles, $r as resolveAgentControllerPermissionModeForController, At as createModelCatalogReadSession, Bt as setOpenMeldManagedProfileWorkspace, Ei as inspectDaemonServiceInventory, Fn as notifyDaemonRouteCatalogChanged, Ft as readProfileWorkspaceConfig, Gi as resolveRuntimeContext, Gr as getAgentControllerPermissionModeFieldLabel, Gt as bindProject, H as resolveDaemonServiceFreshnessWarning, Ha as requireOpenMeldProfile, Hi as buildOnboardingPlan, Hr as createAgentExecutionStatusDisplayRows, Ht as describeProfileWorkspacePathValidationFailure, Ja as setSelectedOpenMeldProfileId, Ji as setProfileDefaultView, Jr as parseAgentControllerRef, Jt as listProjectConnectionsWithStatus, Ka as clearSelectedOpenMeldProfileId, Ki as resolveViewProfileKey, Lt as resolveConfiguredProfileWorkspacePath, Mt as resolveProfileWorkspaceRuntime, Nt as ensureOpenMeldManagedProfileWorkspace, P as resolveServiceReadinessFromServiceStatus, Pt as normalizeCustomProfileWorkspacePath, Q as formatAgentReplyReadinessLabel, Qt as removeProjectConnection, Si as resolveDispatchSpaceActionMcpServer, Ua as resolveOpenMeldProfileOrNull, Ui as getSetupFlowCopy, Va as isSelectedOpenMeldProfileRequiredError, Vi as buildDaemonRouteObservationPresentation$1, Vt as validateCustomProfileWorkspacePath, Wa as alignSelectedOpenMeldProfileStorage, Wi as parseCliViewMode, Wr as getAgentControllerPermissionModeDisplayMetadata, Xa as createOpenMeldHumanProfile, Xr as projectPeopleComputersToLegacyLocalRuntimes, Ya as createOpenMeldAgentProfile, Yr as peopleComputerContainsDevice, Yt as migrateProjectBindingStore, Z as resolveCurrentReplyReadinessSnapshot, Za as deleteOpenMeldProfile, Zi as buildDaemonSystemServiceCommandSpec, ao as buildAgentAuthenticationGuide, ca as classifyDaemonServiceWakeability, cn as syncDeviceRuntimeStateProjection, co as buildHumanAuthenticationCard, d as isCliUpdateCheckApplicable, do as resolveAuthenticationGuidance, ei as resolveAgentExecutionStatus, en as runIfAgentActivityBindingGenerationIsCurrent, eo as primeOpenMeldProfilesSessionCache, et as formatHumanReplyReadinessReason$1, fn as createPrimaryBindingReadSession, fo as resolveAuthenticationGuidanceFromError, ft as resolveOpenClawLocalDiagnosticsValue, h as runPendingDaemonServiceUpdate, ho as compareAgentControllerRefsForDisplay, jn as listBuiltinAgentsRegistryEntries, kt as syncProfileWorkspaceState, l as readCurrentLocalDeviceId, lo as createAuthenticationError, lt as resolveGatewayChainReadiness, ni as resolveEvidenceSyncHealth, nn as unbindProject, no as updateOpenMeldProfile, nt as mapAgentReplyReadinessToLegacyAutoReply, o as assessServerRequiredVersion, pn as resolveAgentProfilePrimaryAgentControllerReport, po as resolveAuthenticationGuidanceFromMessage, qa as getSelectedOpenMeldProfileId, qi as getProfileDefaultView, qn as resolveLocalRegistryAgentIdFromAgentControllerRef, qr as listAgentControllerPermissionModeOptions, qt as listProjectBindings, ri as resolveNativeAgentControllerPermissionModeForController, rn as canonicalizeLocalProjectPath, sa as classifyDaemonServiceRunStartability, ti as resolveAgentProfileEditCapabilities, tn as setDefaultProjectConnection, to as resolveOpenMeldProfile, u as assessCliUpdate, vn as listAgentTargetStates, zi as resolveCurrentDaemonExpectedVersion, zt as setCustomProfileWorkspace } from "./openmeld-tools-update-coordinator-D9Skj8IE.js";
8
- import { Ar as START_TRIMMED_NON_EMPTY_STRING_SCHEMA, Bn as resolveSpaceFileMimeType, Cn as centerAgentInteractionSourceSchema, Dr as START_BOUNDED_ID_SCHEMA, Fn as isSpaceFileTextEditable, Gr as openMeldProfileIdSchema, Jn as spaceFileEntryIdSchema, Kr as openMeldRequestContextSchema, Zn as spaceFileRevisionNumberSchema, at as spaceContractFieldsSchema, hr as spaceThreadContextSchema, ot as spaceContractSchema, rr as clientMessageIdSchema, wn as spaceStatusSchema, yn as messageEnvelopeSchema, zn as readSpaceFileTextResponseSchema } from "./runtime-transport-QIZmAo4-.js";
7
+ import { $ as formatDeviceReplyReadinessLabel, $a as deleteOpenMeldProfile, $i as buildDaemonSystemServiceCommandSpec, At as createModelCatalogReadSession, Bt as setOpenMeldManagedProfileWorkspace, Ci as resolveDispatchSpaceActionMcpServer, Fn as notifyDaemonRouteCatalogChanged, Ft as readProfileWorkspaceConfig, Ga as resolveOpenMeldProfileOrNull, Gi as getSetupFlowCopy, Gr as getAgentControllerPermissionModeDisplayMetadata, Gt as bindProject, H as resolveDaemonServiceFreshnessWarning, Ht as describeProfileWorkspacePathValidationFailure, Ja as clearSelectedOpenMeldProfileId, Ji as resolveViewProfileKey, Jr as listAgentControllerPermissionModeOptions, Jt as listProjectConnectionsWithStatus, Ka as alignSelectedOpenMeldProfileStorage, Ki as parseCliViewMode, Kr as getAgentControllerPermissionModeFieldLabel, Lt as resolveConfiguredProfileWorkspacePath, Mt as resolveProfileWorkspaceRuntime, Nt as ensureOpenMeldManagedProfileWorkspace, Oi as inspectDaemonServiceInventory, P as resolveServiceReadinessFromServiceStatus, Pt as normalizeCustomProfileWorkspacePath, Q as formatAgentReplyReadinessLabel, Qa as createOpenMeldHumanProfile, Qt as removeProjectConnection, Ua as isSelectedOpenMeldProfileRequiredError, Ui as buildDaemonRouteObservationPresentation$1, Ur as createAgentExecutionStatusDisplayRows, Vi as resolveCurrentDaemonExpectedVersion, Vt as validateCustomProfileWorkspacePath, Wa as requireOpenMeldProfile, Wi as buildOnboardingPlan, Xa as setSelectedOpenMeldProfileId, Xi as setProfileDefaultView, Xr as peopleComputerContainsDevice, Ya as getSelectedOpenMeldProfileId, Yi as getProfileDefaultView, Yr as parseAgentControllerRef, Yt as migrateProjectBindingStore, Z as resolveCurrentReplyReadinessSnapshot, Za as createOpenMeldAgentProfile, Zr as projectPeopleComputersToLegacyLocalRuntimes, _o as compareAgentControllerRefsForDisplay, cn as syncDeviceRuntimeStateProjection, d as isCliUpdateCheckApplicable, do as createAuthenticationError, ei as resolveAgentControllerPermissionModeForController, en as runIfAgentActivityBindingGenerationIsCurrent, et as formatHumanReplyReadinessReason$1, fn as createPrimaryBindingReadSession, ft as resolveOpenClawLocalDiagnosticsValue, h as runPendingDaemonServiceUpdate, ho as resolveAuthenticationGuidanceFromMessage, ii as resolveNativeAgentControllerPermissionModeForController, io as updateOpenMeldProfile, jn as listBuiltinAgentsRegistryEntries, kt as syncProfileWorkspaceState, l as readCurrentLocalDeviceId, la as classifyDaemonServiceRunStartability, lt as resolveGatewayChainReadiness, mo as resolveAuthenticationGuidanceFromError, ni as resolveAgentProfileEditCapabilities, nn as unbindProject, no as primeOpenMeldProfilesSessionCache, nt as mapAgentReplyReadinessToLegacyAutoReply, o as assessServerRequiredVersion, pn as resolveAgentProfilePrimaryAgentControllerReport, po as resolveAuthenticationGuidance, qi as resolveRuntimeContext, qn as resolveLocalRegistryAgentIdFromAgentControllerRef, qt as listProjectBindings, ri as resolveEvidenceSyncHealth, rn as canonicalizeLocalProjectPath, ro as resolveOpenMeldProfile, so as buildAgentAuthenticationGuide, ti as resolveAgentExecutionStatus, tn as setDefaultProjectConnection, to as listOpenMeldProfiles, u as assessCliUpdate, ua as classifyDaemonServiceWakeability, uo as buildHumanAuthenticationCard, vn as listAgentTargetStates, zt as setCustomProfileWorkspace } from "./openmeld-tools-update-coordinator-jJrVAHgC.js";
8
+ import { Ft as spaceStatusSchema, It as centerAgentInteractionSourceSchema, Jt as resolveSpaceFileMimeType, Pr as START_TRIMMED_NON_EMPTY_STRING_SCHEMA, Qn as clientMessageIdSchema, Ut as isSpaceFileTextEditable, Xr as openMeldRequestContextSchema, Yr as openMeldProfileIdSchema, an as spaceFileRevisionNumberSchema, dn as spaceThreadContextSchema, gn as spaceContractSchema, hn as spaceContractFieldsSchema, jr as START_BOUNDED_ID_SCHEMA, kn as messageEnvelopeSchema, nn as spaceFileEntryIdSchema, qt as readSpaceFileTextResponseSchema } from "./runtime-transport-BrzIQru0.js";
9
9
  import { Dt as trimmedStringFromUnknown, Tt as nonEmptyTrimmedStringFromUnknown, b as dispatchExecutionSchema, gt as openMeldRuntimeProfileIdSchema } from "./control-plane-D9jDcbMZ.js";
10
- import { A as withAuthSessionTransitionMutationLock, C as withAdmittedServiceSession, D as cancelServiceAccountAdmission, O as readServiceAccountAdmission, S as updateAuthSessionActiveOrganization, T as ServiceAccountAdmissionError, a as beginAuthSessionTransition, d as getCurrentAuthOwnerUserId, h as normalizeStoredActiveOrganization, k as reserveServiceAccountAdmission, l as getAuthSessionMetadata, n as AuthSessionRecoveryInProgressError, o as buildStoredAuthSessionIdentity, s as clearAuthSession, t as AuthSessionChangedBeforeTransitionError, u as getAuthSessionState, v as readServiceAdmissionSessionWithOwnership, w as runMacOsNativeKeychainHelperIfRequested } from "./auth-session-CO5XtFaq.js";
11
- import { t as computerConnectionIntentSchema } from "./computer-connection-BOl79Ftf.js";
12
- import { _ as readSelectedSkillDocument, f as ensureLocalSkills, n as collectSkillsReadinessSnapshot } from "./installation-inventory-DJlwXa1q.js";
13
- import { $ as buildHumanErrorCopy, $n as uninstallAgentActivityIntegrations, $t as buildPublicSpaceEntryUrl, A as runDaemonBackgroundStartForDecision, Ar as cliJsonSkillsListEnvelopeSchema, B as runDaemonTeardownStrict, Bn as readAgentActivityOutboxHealth, C as resolveGatewayWebOrigin, Cr as finishCurrentCommandCheckScope, Ct as writeDispatchSpaceActionRecord, D as isManagedSystemServiceBootstrapRun, Dr as startCurrentCommandCheckScope, Dt as submitProfileRuntimeAgentControllerReport, E as bestEffortStopCurrentLaneDaemonService, Er as resetCurrentCommandCheckState, Et as readRuntimeReportingHealthState, F as runDaemonRunAfterEntryChecks, Fn as readCodexSessionTitles, Fr as organizationJoinLinkErrorResponseSchema, G as buildProfileWorkspacePresentation, Gn as registerAgentActivityRoute, H as formatServiceParticipationReadinessLabel, Hn as enqueueControllerTaskLifecycleEventWhileLocked, I as runDaemonServiceDetached, In as readAgentActivityContextForPath, Ir as organizationJoinLinkManagementQuerySchema, It as inspectSpaceCacheFile, J as createQuietPresenter, K as buildProfileWorkspaceRows, Kn as resolveAgentActivityRouteForPath, L as runDaemonSnapshot, Ln as removeAgentActivityContextCache, Lr as revokeOrganizationJoinLinkResponseSchema, M as runDaemonInstall, Mn as buildAgentActivityEvent, Mr as cliJsonSkillsShowEnvelopeSchema, N as runDaemonInterrupt, Nn as resolveObservedAgentActivityBinding, Nr as acceptOrganizationJoinLinkBodySchema, O as runDaemon, Or as cliJsonErrorEnvelopeSchema, Ot as submitRuntimeAgentControllerReport, P as runDaemonReinstall, Pn as normalizeSharedSessionTitle, Pr as getOrganizationJoinLinkResponseSchema, Q as runDaemonStartDecisionPrompt, Qn as resolveAgentActivityDispatcherCommand, Qt as buildDispatchResultReplyWorkflowProjection, R as runDaemonStatusFlow, Rn as enqueueAgentActivityHookEvent, Sr as runInteractivePrompt, St as readDispatchSpaceActionContextFromEnv, T as runDaemonServiceParticipationGate, Tr as isCurrentCommandCheckScopeActive, Tt as validateLocalProjectConnectionPath, Un as readControllerTaskLifecycleOutboxHealth, V as runDaemonUninstall, Vn as removeProjectOutbox, W as resolveServiceParticipationReadiness, Wn as isAgentActivityRouteRegistered, Xn as installAgentActivityIntegrations, Y as emitDaemonAgentOverview, Yn as defaultManagedIntegrationPaths, Z as shouldEmitAgentOverview, Zn as readAgentActivityIntegrationStatus, Zt as buildDispatchResultMessageReadProjection, _ as promptSearchSelect, _t as toStructuredGatewayFailure, a as runAgentsCustomRemove, ar as runAuthMenu, at as resolveLocalComponentsStatus, br as promptTextEntry, bt as readDispatchOwnedRuntimeGuard, c as runAgentsDisable, cn as buildUpdatesReplyWorkflowProjection, cr as buildAuthStatusRows, ct as fetchSpaceUpdates, d as runAgentsManage, dn as createSpaceMemberIdentityIndex, dr as renderInfoCard, dt as updateSpaceMeta, en as buildSignalIndex, er as buildCommandAuthenticationPromptMessage, et as renderHumanErrorCard, f as runAgentsRepair, fr as renderTextInfoCard, gt as readGatewayTextResponse, h as promptSearchMultiselect, hn as formatRemovedCcRelationMessage, hr as fetchAuthUserSnapshot, ht as readGatewayJsonResponse, i as runAgentsCustomList, ir as runAuthLogout, j as runDaemonCancel, jn as syncLocalAgentActivity, jr as cliJsonSkillsLoadEnvelopeSchema, k as runDaemonAutostart, kn as readRecentDaemonDispatchJournalEvents, kr as cliJsonOutputEnvelopeSchema, l as runAgentsEnable, lr as buildAuthStatusSnapshot, lt as createCliSpaceApi, m as formatTransportModeDisplay, n as runAgentsConfig, nr as evaluateCommandAuthentication, nt as emitCliJsonEnvelope, o as runAgentsCustomUpdate, or as runAuthStatus, ot as writeInstalledLocalComponentsSnapshot, p as runAgentsShow, q as reconcileCliVersionView, qn as unregisterAgentActivityRoute, qt as upsertSpaceConfig, r as runAgentsCustomAdd, rr as runAuthLogin, rt as runDaemonStartupPreflight, s as runAgentsDetect, sn as buildSpaceRoundReadProjection, sr as exchangeOneTimeTokenAuthSession, st as resolveDaemonServiceParticipationStatus, t as runAgents, tn as buildSignalMessageReadProjection, tr as ensureCommandAuthenticationOrCancel, tt as renderHumanTextErrorCard, u as runAgentsList, ur as formatActiveOrganizationLabel, ut as fetchSpaceMeta, vt as parseJsonResponse, w as resolveSpaceWebGatewayOrigin, wr as getCurrentCommandCheckState, wt as LocalProjectConnectionError, xr as isReturnKeypress, yt as assertDispatchOwnedRuntimePublicWriteAllowed, z as runDaemonStop, zn as removeProjectInbox } from "./agents-CIDsThyG.js";
10
+ import { A as withAuthSessionTransitionMutationLock, C as withAdmittedServiceSession, D as cancelServiceAccountAdmission, O as readServiceAccountAdmission, S as updateAuthSessionActiveOrganization, T as ServiceAccountAdmissionError, a as beginAuthSessionTransition, d as getCurrentAuthOwnerUserId, h as normalizeStoredActiveOrganization, k as reserveServiceAccountAdmission, l as getAuthSessionMetadata, n as AuthSessionRecoveryInProgressError, o as buildStoredAuthSessionIdentity, s as clearAuthSession, t as AuthSessionChangedBeforeTransitionError, u as getAuthSessionState, v as readServiceAdmissionSessionWithOwnership, w as runMacOsNativeKeychainHelperIfRequested } from "./auth-session-CVxflepT.js";
11
+ import { t as computerConnectionIntentSchema } from "./computer-connection-TgsnU0K9.js";
12
+ import { _ as readSelectedSkillDocument, f as ensureLocalSkills, n as collectSkillsReadinessSnapshot } from "./installation-inventory-uRDaBzO_.js";
13
+ import { $ as buildHumanErrorCopy, $n as readAgentActivityIntegrationStatus, $t as buildDispatchResultMessageReadProjection, A as runDaemonBackgroundStartForDecision, Ar as cliJsonErrorEnvelopeSchema, At as submitRuntimeAgentControllerReport, B as runDaemonTeardownStrict, Bn as enqueueAgentActivityHookEvent, C as resolveGatewayWebOrigin, Cr as isReturnKeypress, Ct as readDispatchSpaceActionContextForReceiptFromEnv, D as isManagedSystemServiceBootstrapRun, Dr as isCurrentCommandCheckScopeActive, Dt as validateLocalProjectConnectionPath, E as bestEffortStopCurrentLaneDaemonService, Er as getCurrentCommandCheckState, Et as LocalProjectConnectionError, F as runDaemonRunAfterEntryChecks, Fn as resolveObservedAgentActivityBinding, Fr as acceptOrganizationJoinLinkBodySchema, G as buildProfileWorkspacePresentation, Gn as readControllerTaskLifecycleOutboxHealth, H as formatServiceParticipationReadinessLabel, Hn as readAgentActivityOutboxHealth, I as runDaemonServiceDetached, In as normalizeSharedSessionTitle, Ir as getOrganizationJoinLinkResponseSchema, J as createQuietPresenter, Jn as resolveAgentActivityRouteForPath, K as buildProfileWorkspaceRows, Kn as isAgentActivityRouteRegistered, L as runDaemonSnapshot, Ln as readCodexSessionTitles, Lr as organizationJoinLinkErrorResponseSchema, M as runDaemonInstall, Mr as cliJsonSkillsListEnvelopeSchema, N as runDaemonInterrupt, Nn as syncLocalAgentActivity, Nr as cliJsonSkillsLoadEnvelopeSchema, O as runDaemon, Or as resetCurrentCommandCheckState, Ot as readRuntimeReportingHealthState, P as runDaemonReinstall, Pn as buildAgentActivityEvent, Pr as cliJsonSkillsShowEnvelopeSchema, Q as runDaemonStartDecisionPrompt, Qn as installAgentActivityIntegrations, R as runDaemonStatusFlow, Rn as readAgentActivityContextForPath, Rr as organizationJoinLinkManagementQuerySchema, Rt as inspectSpaceCacheFile, Sr as promptTextEntry, T as runDaemonServiceParticipationGate, Tr as finishCurrentCommandCheckScope, Tt as writeDispatchSpaceActionRecord, Un as removeProjectOutbox, V as runDaemonUninstall, Vn as removeProjectInbox, W as resolveServiceParticipationReadiness, Wn as enqueueControllerTaskLifecycleEventWhileLocked, Y as emitDaemonAgentOverview, Yn as unregisterAgentActivityRoute, Yt as upsertSpaceConfig, Z as shouldEmitAgentOverview, Zn as defaultManagedIntegrationPaths, _ as promptSearchSelect, _n as formatRemovedCcRelationMessage, _r as fetchAuthUserSnapshot, _t as toStructuredGatewayFailure, a as runAgentsCustomRemove, ar as runAuthLogin, at as resolveLocalComponentsStatus, bt as readDispatchOwnedRuntimeGuard, c as runAgentsDisable, cr as runAuthStatus, ct as fetchSpaceUpdates, d as runAgentsManage, dr as buildAuthStatusSnapshot, dt as updateSpaceMeta, en as buildDispatchResultReplyWorkflowProjection, er as resolveAgentActivityDispatcherCommand, et as renderHumanErrorCard, f as runAgentsRepair, fr as formatActiveOrganizationLabel, gt as readGatewayTextResponse, h as promptSearchMultiselect, ht as readGatewayJsonResponse, i as runAgentsCustomList, ir as evaluateCommandAuthentication, j as runDaemonCancel, jn as readRecentDaemonDispatchJournalEvents, jr as cliJsonOutputEnvelopeSchema, k as runDaemonAutostart, kr as startCurrentCommandCheckScope, kt as submitProfileRuntimeAgentControllerReport, l as runAgentsEnable, ln as buildSpaceRoundReadProjection, lr as exchangeOneTimeTokenAuthSession, lt as createCliSpaceApi, m as formatTransportModeDisplay, mr as renderTextInfoCard, n as runAgentsConfig, nn as buildSignalIndex, nr as buildCommandAuthenticationPromptMessage, nt as emitCliJsonEnvelope, o as runAgentsCustomUpdate, or as runAuthLogout, ot as writeInstalledLocalComponentsSnapshot, p as runAgentsShow, pn as createSpaceMemberIdentityIndex, pr as renderInfoCard, q as reconcileCliVersionView, qn as registerAgentActivityRoute, r as runAgentsCustomAdd, rn as buildSignalMessageReadProjection, rr as ensureCommandAuthenticationOrCancel, rt as runDaemonStartupPreflight, s as runAgentsDetect, sr as runAuthMenu, st as resolveDaemonServiceParticipationStatus, t as runAgents, tn as buildPublicSpaceEntryUrl, tr as uninstallAgentActivityIntegrations, tt as renderHumanTextErrorCard, u as runAgentsList, un as buildUpdatesReplyWorkflowProjection, ur as buildAuthStatusRows, ut as fetchSpaceMeta, vt as parseJsonResponse, w as resolveSpaceWebGatewayOrigin, wr as runInteractivePrompt, wt as readDispatchSpaceActionContextFromEnv, xt as DispatchSpaceActionClosedError, yt as assertDispatchOwnedRuntimePublicWriteAllowed, z as runDaemonStop, zn as removeAgentActivityContextCache, zr as revokeOrganizationJoinLinkResponseSchema } from "./agents-Caxxitma.js";
14
14
  import { a as serviceAccountControlRequestSchema, n as resolveOpenMeldDistribution, t as isBinaryDistribution } from "./distribution-DY2fBeSW.js";
15
15
  import { r as readDaemonRuntimeLease } from "./daemon-runtime-lease-Dd4hdHNo.js";
16
- import { Bt as readDaemonServiceContract, Mt as requestLocalAgentActivitySync, Pt as requestLocalDaemonShutdown, Vt as upsertDaemonServiceContract, X as buildInstallSelfJsonPayload, Z as performManagedInstall, jt as LocalDaemonControlPlaneClientError, lt as compareSemver, nt as OPENMELD_VERSION, r as readCurrentDaemonRuntimeContext, ut as ensureVersionStateReady } from "./daemon-service-runtime-DQW9gSLT.js";
17
- import { $ as resolveCreateProfileName, A as parseEnvelope, B as resolveHumanControllerDisplayName, C as toSpaceMetaUpsertInput, D as formatHumanReadTargetList, E as buildHumanReplyContextSummary, F as resolveOpenMeldProfileForSpaceCommand, G as printOpenMeldBanner, H as resolveAgentProfileSetup, I as emitSpaceAgentOverview, J as renderOpenMeldLogo, K as renderOpenMeldBrandBlockLines, L as emitSpaceCliAgentOverview, M as assertFullSignalIdArgument, N as assertValidSpaceIdTarget, O as resolveLinkAccessLabel, P as prepareAuthenticatedSpaceCommandContext, Q as resolveCreateProfileKind, R as prepareLocalAgentReadiness, S as loadSpaceSignalIndexOrNull, T as buildFormalSignalReadPayload, U as colorizeAgentLabel, V as persistAgentTransportSelection, W as colorizeDisplayProfileLabel, X as resolveSpaceSendText, Y as renderOpenMeldTagline, Z as createProfileByKind, _ as runSpaceWriteWithPasswordRetry, a as runSpaceDelete, b as buildIdentityOnlyMembersSnapshotForReadProjection, c as runSpaceLeave, d as runSpaceRemoveMembers, et as ensureAgentProfileRuntimeBinding, f as runSpaceSend, g as runSpaceReadWithPasswordRetry, h as uploadPreparedSpaceFiles, i as runSpaceCreate, j as isSpaceCommandOutputHandledError, k as resolveOrganizationVisibilityLabel, l as runSpaceList, m as prepareRequestedSpaceSendFiles, n as promptAndConfirmSpacePassword, o as runSpaceHistory, p as runSpaceWatch, q as renderOpenMeldHeader, r as runSpaceAddMembers, s as runSpaceJoin, t as buildCreateSpacePasswordPromptConfig, tt as assessActionParticipationCandidate, u as runSpacePassword, v as buildHumanReadSignalsTranscriptItems, w as buildFormalDispatchResultReadPayload, x as loadSpaceIdentityDirectoryOrNull, y as emitHumanReadSignalsTextProjection, z as buildReplyReadinessGuidance } from "./command-Bzt9zgnI.js";
18
- import { A as createSpaceMenuGuideError, Bt as formatDualViewGuideForDisplay, C as createSpaceAddMembersGuideError, F as createSpaceRemoveMembersGuideError, G as createStartAgentIdentityGuideError, H as createSpaceTargetGuideError, Ht as formatAgentOverviewPayload, I as createSpaceResultGuideError, It as registerBuiltinAgentSelectionOptions, J as OPENMELD_AGENT_MENTAL_MODEL_LINES, Jt as sanitizeTerminalDisplayText, K as createStartAuthenticationGuideError, M as createSpacePublicationSetGuideError, Ot as getCliVersionInfo, Q as areAllowedActionsEquivalent, Qt as outLine, T as createSpaceContractSetGuideError, Tt as registerSkillsTargetSelectionOptions, V as createSpaceSubcommandTargetGuideError, Vt as buildDualViewGuideMessage, W as createSpaceUpdatesGuideError, X as SPACE_CONTRACT_ALLOWED_ACTION_ORDER, Xt as errLine, Yt as formatMessage, Zt as outJsonLine, _ as createProfileActionGuideError, _t as registerSpaceMemberSelectionOptions, b as createResetConfirmationGuideError, bt as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, et as buildAgentFacingPublicationModeGuideLines, g as createDoctorFailedGuideError, jt as registerAuthLoginRequestOptions, k as createSpaceLeaveGuideError, kt as registerDaemonControlTargetOptions, m as canUseInteractivePrompts, mt as getCommandHintsFromContract, ot as canonicalizeAllowedActions, qt as createPresenter, v as createProfileCreateGuideError, w as createSpaceAliasTargetGuideError, y as createProfileMenuGuideError, zt as DualViewGuideError } from "./elapsed-time-CcoM2R3N.js";
16
+ import { Bt as readDaemonServiceContract, Mt as requestLocalAgentActivitySync, Pt as requestLocalDaemonShutdown, Vt as upsertDaemonServiceContract, X as buildInstallSelfJsonPayload, Z as performManagedInstall, jt as LocalDaemonControlPlaneClientError, lt as compareSemver, nt as OPENMELD_VERSION, r as readCurrentDaemonRuntimeContext, ut as ensureVersionStateReady } from "./daemon-service-runtime-CRHAVnEX.js";
17
+ import { $ as resolveCreateProfileKind, A as parseEnvelope, B as resolveHumanControllerDisplayName, C as toSpaceMetaUpsertInput, D as formatHumanReadTargetList, E as buildHumanReplyContextSummary, F as resolveOpenMeldProfileForSpaceCommand, G as printOpenMeldBanner, H as resolveAgentProfileSetup, I as emitSpaceAgentOverview, J as renderOpenMeldLogo, K as renderOpenMeldBrandBlockLines, L as emitSpaceCliAgentOverview, M as assertFullSignalIdArgument, N as assertValidSpaceIdTarget, O as resolveLinkAccessLabel, P as prepareAuthenticatedSpaceCommandContext, Q as createProfileByKind, R as prepareLocalAgentReadiness, S as loadSpaceSignalIndexOrNull, T as buildFormalSignalReadPayload, U as colorizeAgentLabel, V as persistAgentTransportSelection, W as colorizeDisplayProfileLabel, X as resolveSpaceSendText, Y as renderOpenMeldTagline, Z as resolveSpaceTaskSelection, _ as runSpaceWriteWithPasswordRetry, a as runSpaceDelete, b as buildIdentityOnlyMembersSnapshotForReadProjection, c as runSpaceLeave, d as runSpaceRemoveMembers, et as resolveCreateProfileName, f as runSpaceSend, g as runSpaceReadWithPasswordRetry, h as uploadPreparedSpaceFiles, i as runSpaceCreate, j as isSpaceCommandOutputHandledError, k as resolveOrganizationVisibilityLabel, l as runSpaceList, m as prepareRequestedSpaceSendFiles, n as promptAndConfirmSpacePassword, nt as assessActionParticipationCandidate, o as runSpaceHistory, p as runSpaceWatch, q as renderOpenMeldHeader, r as runSpaceAddMembers, s as runSpaceJoin, t as buildCreateSpacePasswordPromptConfig, tt as ensureAgentProfileRuntimeBinding, u as runSpacePassword, v as buildHumanReadSignalsTranscriptItems, w as buildFormalDispatchResultReadPayload, x as loadSpaceIdentityDirectoryOrNull, y as emitHumanReadSignalsTextProjection, z as buildReplyReadinessGuidance } from "./command-DqXu9TET.js";
18
+ import { A as createSpaceMenuGuideError, Bt as formatDualViewGuideForDisplay, C as createSpaceAddMembersGuideError, F as createSpaceRemoveMembersGuideError, G as createStartAgentIdentityGuideError, H as createSpaceTargetGuideError, Ht as formatAgentOverviewPayload, I as createSpaceResultGuideError, It as registerBuiltinAgentSelectionOptions, J as OPENMELD_AGENT_MENTAL_MODEL_LINES, Jt as sanitizeTerminalDisplayText, K as createStartAuthenticationGuideError, M as createSpacePublicationSetGuideError, Ot as getCliVersionInfo, Q as areAllowedActionsEquivalent, Qt as outLine, T as createSpaceContractSetGuideError, Tt as registerSkillsTargetSelectionOptions, V as createSpaceSubcommandTargetGuideError, Vt as buildDualViewGuideMessage, W as createSpaceUpdatesGuideError, X as SPACE_CONTRACT_ALLOWED_ACTION_ORDER, Xt as errLine, Yt as formatMessage, Zt as outJsonLine, _ as createProfileActionGuideError, _t as registerSpaceMemberSelectionOptions, b as createResetConfirmationGuideError, bt as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, et as buildAgentFacingPublicationModeGuideLines, g as createDoctorFailedGuideError, jt as registerAuthLoginRequestOptions, k as createSpaceLeaveGuideError, kt as registerDaemonControlTargetOptions, m as canUseInteractivePrompts, mt as getCommandHintsFromContract, ot as canonicalizeAllowedActions, qt as createPresenter, v as createProfileCreateGuideError, w as createSpaceAliasTargetGuideError, y as createProfileMenuGuideError, zt as DualViewGuideError } from "./elapsed-time-D6DCEnz7.js";
19
19
  import { E as updateConfiguredStartV1OnboardingState, S as setConfiguredSkillsConfig, a as resolveBaseUrl, b as setConfiguredBaseUrl, c as resolveExplicitGatewayUrlOrThrow, g as getConfiguredSkillsConfig, m as getConfiguredOnboardingDisclaimerAcceptedAt, o as resolveBaseUrlOrNull, u as alignRuntimeConfigStorage, w as updateConfiguredOnboardingConfig } from "./base-url-C6sHRNGu.js";
20
20
  import { A as getDaemonStatus, K as withDaemonServiceRunLock } from "./daemon-state-C37ZtIZK.js";
21
21
  import { S as resolveDaemonServiceManager } from "./daemon-service-manager-GiMCiTmu.js";
22
22
  import { a as formatOpenMeldCliCommand, c as formatOpenMeldCliTextBlock, d as resolveSetupFollowUpCliEntryCommand, f as resolveUserFacingCliEntryCommand, i as formatInlineOpenMeldCliCommands, o as formatOpenMeldCliCommands, r as resolveAuthBaseUrl, s as formatOpenMeldCliLine, t as resolveOpenMeldEnvironmentTarget, u as formatProfileAwareOpenMeldCliCommands } from "./openmeld-environment-target-NtJYJe1D.js";
23
- import { n as resolveServiceAccountIdentity, r as runServiceAccountCarrier } from "./service-account-authorization-Dt8kGvq8.js";
24
- import { c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, n as fetchSpaceRequestWithTimeout, p as deriveAuthBaseUrlFromGatewayUrl, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-DSurenul.js";
25
- import { C as buildNoLocalAgentsNoticeLines, D as recoverInterruptedComputerAuthHandoff, E as formatComputerAuthCleanupFailureSuffix, O as exchangeComputerAuthorizationGrant, S as buildLocalAgentsGuideUrl, T as emitUnusedSetupSessionCleanupWarning, _ as runStartLocalAgentsEnable, a as assertSetupServiceUpdateComplete, b as submitSelectedAgentControllerReports, c as collectObservedDeviceMetadata, d as collectStartLocalReadiness, f as runSkillsCheck$1, g as runSkillsUpdate, h as runSkillsUninstall, i as runPrepareSessionExecutor, j as writePrepareSessionSetupBootstrapResult, k as revokePreparedAuthSession, l as createSetupProgressReporter, m as runSkillsInstall, n as reportPrepareHandoffStopped, o as shouldForceSetupServiceRefresh, p as runSkillsEnsure, r as resolvePrepareSessionForHandoff, s as syncLocalSetupCurrentDeviceTargetFromServiceContract, t as connectPrepareSessionStream, u as resolveControllingTerminalSession, v as isCliOutputHandledError, w as confirmContinueWithoutLocalAgents, x as appendLocalAgentsGuideUrl, y as assertSelectedAgentControllerReportSubmissionsAccepted } from "./prepare-session-executor-B0NtjHEL.js";
26
- import { a as runUpgrade, c as OPENMELD_UPGRADE_FAILURE_HINTS, l as OPENMELD_UPGRADE_METADATA_RECOVERY_HINTS, n as isUpgradeOutputHandledError, o as emitTopLevelAgentOverview, s as emitTopLevelCliAgentOverview, t as UPGRADE_INTERNAL_ALIGN_SERVICE_FLAG$1 } from "./upgrade-NxpTydHp.js";
23
+ import { n as resolveServiceAccountIdentity, r as runServiceAccountCarrier } from "./service-account-authorization-Aft4cBFn.js";
24
+ import { c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, n as fetchSpaceRequestWithTimeout, p as deriveAuthBaseUrlFromGatewayUrl, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-BGGVYxgq.js";
25
+ import { C as buildNoLocalAgentsNoticeLines, D as recoverInterruptedComputerAuthHandoff, E as formatComputerAuthCleanupFailureSuffix, O as exchangeComputerAuthorizationGrant, S as buildLocalAgentsGuideUrl, T as emitUnusedSetupSessionCleanupWarning, _ as runStartLocalAgentsEnable, a as assertSetupServiceUpdateComplete, b as submitSelectedAgentControllerReports, c as collectObservedDeviceMetadata, d as collectStartLocalReadiness, f as runSkillsCheck$1, g as runSkillsUpdate, h as runSkillsUninstall, i as runPrepareSessionExecutor, j as writePrepareSessionSetupBootstrapResult, k as revokePreparedAuthSession, l as createSetupProgressReporter, m as runSkillsInstall, n as reportPrepareHandoffStopped, o as shouldForceSetupServiceRefresh, p as runSkillsEnsure, r as resolvePrepareSessionForHandoff, s as syncLocalSetupCurrentDeviceTargetFromServiceContract, t as connectPrepareSessionStream, u as resolveControllingTerminalSession, v as isCliOutputHandledError, w as confirmContinueWithoutLocalAgents, x as appendLocalAgentsGuideUrl, y as assertSelectedAgentControllerReportSubmissionsAccepted } from "./prepare-session-executor-DtWDB9RM.js";
26
+ import { a as runUpgrade, c as OPENMELD_UPGRADE_FAILURE_HINTS, l as OPENMELD_UPGRADE_METADATA_RECOVERY_HINTS, n as isUpgradeOutputHandledError, o as emitTopLevelAgentOverview, s as emitTopLevelCliAgentOverview, t as UPGRADE_INTERNAL_ALIGN_SERVICE_FLAG$1 } from "./upgrade-DrUXCeru.js";
27
27
  import { createHash, randomUUID } from "node:crypto";
28
28
  import { homedir, tmpdir } from "node:os";
29
29
  import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
@@ -490,6 +490,50 @@ z$1.strictObject({
490
490
  });
491
491
  const getSpaceDispatchResultResponseSchema = dispatchResultSchema;
492
492
  //#endregion
493
+ //#region ../../packages/schemas/dist/schemas/space-mesh/dispatch-space-action-receipt.js
494
+ const dispatchSpaceActionClosedReasonCodeSchema = z$1.enum(["space_action.context_expired", "space_action.context_mismatch"]);
495
+ const dispatchSpaceActionReceiptSchema = z$1.discriminatedUnion("status", [
496
+ z$1.strictObject({
497
+ status: z$1.literal("proposal_saved_locally"),
498
+ actionType: z$1.enum([
499
+ "post_message",
500
+ "post_status",
501
+ "stay_silent"
502
+ ]),
503
+ attemptId: z$1.string().min(1),
504
+ contextId: z$1.string().min(1),
505
+ dispatchId: z$1.string().min(1),
506
+ recordedAtMs: z$1.number().int().nonnegative(),
507
+ contextState: z$1.enum(["active", "expired"]),
508
+ coordinatorAcceptance: z$1.literal("unconfirmed"),
509
+ publication: z$1.literal("unconfirmed")
510
+ }),
511
+ z$1.strictObject({
512
+ status: z$1.literal("rejected_closed"),
513
+ reasonCode: dispatchSpaceActionClosedReasonCodeSchema,
514
+ coordinatorAcceptance: z$1.literal("unconfirmed"),
515
+ publication: z$1.literal("unconfirmed")
516
+ }),
517
+ z$1.strictObject({
518
+ status: z$1.literal("outcome_unknown"),
519
+ reasonCode: z$1.literal("space_action.recording_outcome_unknown"),
520
+ coordinatorAcceptance: z$1.literal("unconfirmed"),
521
+ publication: z$1.literal("unconfirmed")
522
+ })
523
+ ]);
524
+ const dispatchSpaceActionToolResultSchema = z$1.strictObject({ receipt: dispatchSpaceActionReceiptSchema });
525
+ //#endregion
526
+ //#region ../../packages/schemas/dist/schemas/space-mesh/dispatch-space-history.js
527
+ const dispatchSpaceHistoryRequestSchema = z$1.strictObject({});
528
+ const dispatchSpaceHistoryResultSchema = z$1.strictObject({
529
+ spaceId: z$1.string().min(1),
530
+ sourceSignalId: z$1.string().min(1),
531
+ beforeCount: z$1.literal(20),
532
+ afterCount: z$1.literal(0),
533
+ signals: z$1.array(z$1.record(z$1.string(), z$1.unknown())).max(21),
534
+ nextCursor: z$1.string().min(1).nullable()
535
+ });
536
+ //#endregion
493
537
  //#region ../../packages/schemas/dist/space-invitation.js
494
538
  const id = z$1.string().trim().min(1).max(200);
495
539
  const spaceInvitationRequestSchema = z$1.discriminatedUnion("action", [
@@ -1951,6 +1995,7 @@ const COMMAND_CHECK_REQUIREMENTS = Object.freeze({
1951
1995
  "profile.list": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, REQUIRED_SIGN_IN),
1952
1996
  "profile.set": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, AUTO_FIX_LOCAL_RUNTIME, REQUIRED_SIGN_IN),
1953
1997
  "profile.show": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, AUTO_FIX_LOCAL_RUNTIME, REQUIRED_SIGN_IN),
1998
+ "profile.execution-mode": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, REQUIRED_SIGN_IN),
1954
1999
  "profile.update": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, AUTO_FIX_LOCAL_RUNTIME, REQUIRED_SIGN_IN),
1955
2000
  "profile.delete": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, AUTO_FIX_LOCAL_RUNTIME, REQUIRED_SIGN_IN),
1956
2001
  "profile.requests.create": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, REQUIRED_SIGN_IN),
@@ -2196,6 +2241,8 @@ const COMMAND_ENTRY_NAME_BY_ROUTE = {
2196
2241
  "profile show": "profile.show",
2197
2242
  "profiles update": "profile.update",
2198
2243
  "profile update": "profile.update",
2244
+ "profile execution-mode": "profile.execution-mode",
2245
+ "profiles execution-mode": "profile.execution-mode",
2199
2246
  "profiles delete": "profile.delete",
2200
2247
  "profile delete": "profile.delete",
2201
2248
  "profile requests create": "profile.requests.create",
@@ -3092,6 +3139,12 @@ const COMMAND_ENTRY_COPY_BY_NAME = Object.freeze({
3092
3139
  cliUpdateAction: "updating a profile",
3093
3140
  serviceAction: null
3094
3141
  },
3142
+ "profile.execution-mode": {
3143
+ signInAction: "managing independent-task admission",
3144
+ profileAction: null,
3145
+ cliUpdateAction: "managing independent-task admission",
3146
+ serviceAction: null
3147
+ },
3095
3148
  "profile.delete": {
3096
3149
  signInAction: "deleting a profile",
3097
3150
  profileAction: null,
@@ -13513,6 +13566,14 @@ function buildAgentTraceCompactSummary(input) {
13513
13566
  reasonCode: resolveTraceRootCause(trace),
13514
13567
  visibleOutcome: finalVisibleOutcome.status
13515
13568
  };
13569
+ if (finalVisibleOutcome.status === "not_applicable" && !trace.runtimeCoordinatorExecution && headLifecycle?.readStatus === "found" && headLifecycle.status === "queued" && !headLifecycle.runtimeCoordinatorExecutionId) return {
13570
+ ...nativeDeliveryEvidence,
13571
+ currentState: headLifecycle.status,
13572
+ delivered: false,
13573
+ nextAction: "wait for the Agent's execution slot, then rerun trace with the same selector",
13574
+ reasonCode: resolveTraceRootCause(trace),
13575
+ visibleOutcome: finalVisibleOutcome.status
13576
+ };
13516
13577
  if (finalVisibleOutcome.status === "not_applicable" && trace.finalVisibleMessageLinkage?.status === "projection_pending") return {
13517
13578
  ...nativeDeliveryEvidence,
13518
13579
  currentState: "final_projection_pending",
@@ -13565,12 +13626,6 @@ function formatRuntimeCoordinatorHeadLifecycleSummary(headLifecycle) {
13565
13626
  function resolveTraceRootCause(trace) {
13566
13627
  return resolveSpaceDispatchTraceRootCause(trace);
13567
13628
  }
13568
- function resolveRuntimeCoordinatorHeadStatusRootCause(status) {
13569
- if (status === "accepted") return "runtime_coordinator.head_accepted";
13570
- if (status === "execution_linked") return "runtime_coordinator.head_execution_linked";
13571
- if (status === "waiting") return "runtime_coordinator.head_waiting";
13572
- return "runtime_coordinator.head_publication_intent_ready";
13573
- }
13574
13629
  const PRE_EXECUTION_NO_EXECUTION_EVIDENCE_REASON_CODES = /* @__PURE__ */ new Set(["local_service.identity_mismatch"]);
13575
13630
  function resolvePreExecutionNoExecutionEvidenceRootCause(trace) {
13576
13631
  const headLifecycle = trace?.runtimeCoordinatorHeadLifecycle;
@@ -20605,6 +20660,34 @@ function normalizeOptionalString$2(value) {
20605
20660
  return normalized.length > 0 ? normalized : null;
20606
20661
  }
20607
20662
  //#endregion
20663
+ //#region src/profile/execution-mode-command.ts
20664
+ async function runProfileExecutionMode(input) {
20665
+ if (input.mode !== void 0 && input.mode !== "parallel" && input.mode !== "serial") throw new Error("--mode must be parallel or serial.");
20666
+ const profile = await resolveOpenMeldProfile({
20667
+ openMeldProfileId: input.profile,
20668
+ profileKind: "agent"
20669
+ });
20670
+ if (!profile || profile.profileKind !== "agent") throw new Error("Choose an Agent Profile you own.");
20671
+ const runtime = await resolveRuntimeContext({ view: input.view });
20672
+ const presenter = createPresenter(runtime);
20673
+ const result = await createAgentProfileExecutionModeApi(createCliApiClientFoundation(await resolveBaseUrl())).readOrUpdate({
20674
+ agentProfileId: profile.openMeldProfileId,
20675
+ mode: input.mode,
20676
+ requestContext: buildOpenMeldRequestContextFromProfile({ openMeldProfile: profile })
20677
+ });
20678
+ if (runtime.resolvedView === "agent") {
20679
+ presenter.data({
20680
+ code: "profile.execution_mode",
20681
+ payload: result
20682
+ });
20683
+ return;
20684
+ }
20685
+ presenter.line({
20686
+ code: "profile.execution_mode",
20687
+ text: `${profile.profileName}: ${result.mode} admission; Context migration ${result.migration}. Existing tasks retain their execution and conversation identity.`
20688
+ });
20689
+ }
20690
+ //#endregion
20608
20691
  //#region src/profile/profile-update-cli-options.ts
20609
20692
  function hasExplicitProfileUpdateField(input) {
20610
20693
  return typeof input.name === "string" || typeof input.agentController === "string" || typeof input.agentControllerConversationId === "string" || typeof input.agentControllerPermissionMode === "string" || typeof input.model === "string" || typeof input.reasoningEffort === "string" || typeof input.workspaceMode === "string" || typeof input.workspacePath === "string";
@@ -23271,7 +23354,8 @@ function recordDispatchSpaceReply(input) {
23271
23354
  referenceTargetCount: input.referenceTargets?.length ?? 0,
23272
23355
  wakeTargetCount: input.wakeTargets?.length ?? 0
23273
23356
  });
23274
- const context = readDispatchSpaceActionContextFromEnv();
23357
+ const filePaths = input.filePaths ?? [];
23358
+ const context = filePaths.length > 0 ? readDispatchSpaceActionContextFromEnv() : readDispatchSpaceActionContextForReceiptFromEnv();
23275
23359
  timing.emit("context_ready", context);
23276
23360
  assertAllowedAction(context, "post_message");
23277
23361
  const text = normalizeRequiredText(input.text, "Reply message is required.");
@@ -23287,7 +23371,6 @@ function recordDispatchSpaceReply(input) {
23287
23371
  mentionTargetCount: targetIds.mentionTargets.length,
23288
23372
  referenceTargetCount: targetIds.referenceTargets.length
23289
23373
  });
23290
- const filePaths = input.filePaths ?? [];
23291
23374
  if (filePaths.length === 0) return writeSpaceActionReplyRecord({
23292
23375
  context,
23293
23376
  files: [],
@@ -23355,7 +23438,7 @@ async function uploadSpaceActionReplyFiles(input) {
23355
23438
  });
23356
23439
  }
23357
23440
  function runSpaceActionWake(input) {
23358
- const context = readDispatchSpaceActionContextFromEnv();
23441
+ const context = readDispatchSpaceActionContextForReceiptFromEnv();
23359
23442
  assertAllowedAction(context, "post_message");
23360
23443
  const text = normalizeRequiredJoinedText(input.messageParts, "Wake handoff message is required.");
23361
23444
  recordAction({
@@ -23384,7 +23467,7 @@ function runSpaceActionStatus(input) {
23384
23467
  }));
23385
23468
  }
23386
23469
  function recordDispatchSpaceStatus(input) {
23387
- const context = readDispatchSpaceActionContextFromEnv();
23470
+ const context = readDispatchSpaceActionContextForReceiptFromEnv();
23388
23471
  assertAllowedAction(context, "post_status");
23389
23472
  return recordAction({
23390
23473
  action: {
@@ -23400,7 +23483,7 @@ function runSpaceActionSilent(input) {
23400
23483
  emitActionRecorded(recordDispatchSpaceSilent(input));
23401
23484
  }
23402
23485
  function recordDispatchSpaceSilent(input) {
23403
- const context = readDispatchSpaceActionContextFromEnv();
23486
+ const context = readDispatchSpaceActionContextForReceiptFromEnv();
23404
23487
  assertAllowedAction(context, "stay_silent");
23405
23488
  return recordAction({
23406
23489
  action: {
@@ -23626,6 +23709,45 @@ async function readDispatchSpaceFile(input) {
23626
23709
  return result;
23627
23710
  }
23628
23711
  //#endregion
23712
+ //#region src/space/dispatch-history-read.ts
23713
+ /** Read the current Wake's bounded Space history through the existing member API. */
23714
+ async function readDispatchSpaceHistory() {
23715
+ if (process.env["OPENMELD_DISPATCH_RUNTIME_MODE"] !== "dispatch-owned-runtime") throw new Error("Space history tools require an active OpenMeld dispatch runtime.");
23716
+ const context = readDispatchSpaceActionContextFromEnv();
23717
+ const profile = await requireOpenMeldProfile({
23718
+ openMeldProfileId: context.targetProfileId,
23719
+ persistSelection: false,
23720
+ authAction: "reading the current Wake's Space history"
23721
+ });
23722
+ if (profile.openMeldProfileId !== context.targetProfileId || profile.profileKind !== "agent") throw new Error("The Space history reader does not match the current Agent.");
23723
+ const result = await createCliSpaceApi(await resolveBaseUrl()).listSignals({
23724
+ spaceId: context.spaceId,
23725
+ requestContext: buildOpenMeldRequestContextFromProfile({ openMeldProfile: profile }),
23726
+ query: {
23727
+ aroundSignalId: context.sourceEventId,
23728
+ beforeCount: 20,
23729
+ afterCount: 0,
23730
+ kinds: ["text"]
23731
+ }
23732
+ });
23733
+ const current = readDispatchSpaceActionContextFromEnv();
23734
+ if (current.contextId !== context.contextId || current.nonce !== context.nonce || current.spaceId !== context.spaceId || current.sourceEventId !== context.sourceEventId || current.targetProfileId !== context.targetProfileId) throw new Error("The dispatch context changed during the Space history read.");
23735
+ const output = dispatchSpaceHistoryResultSchema.parse({
23736
+ spaceId: context.spaceId,
23737
+ sourceSignalId: context.sourceEventId,
23738
+ beforeCount: 20,
23739
+ afterCount: 0,
23740
+ signals: result.signals,
23741
+ nextCursor: result.nextCursor
23742
+ });
23743
+ const signals = output.signals.map((signal) => signalTextEnvelopeSchema.parse(signal));
23744
+ if (signals.some((signal) => signal.spaceId !== context.spaceId)) throw new Error("The Space history response does not match the current Space.");
23745
+ return {
23746
+ ...output,
23747
+ signals
23748
+ };
23749
+ }
23750
+ //#endregion
23629
23751
  //#region src/space/action-mcp-server.ts
23630
23752
  const FINAL_STATUS_SCHEMA = z.enum([
23631
23753
  "done",
@@ -23637,7 +23759,38 @@ function createSpaceActionMcpServer() {
23637
23759
  const server = new McpServer({
23638
23760
  name: "openmeld-dispatch-space-action",
23639
23761
  version: "1.0.0"
23640
- }, { instructions: "Use read_file to read shared text files in the current Space. Then choose exactly one final OpenMeld Space Action for the current Wake: reply for the exact public message, status for a final visible status, or stay_silent when no public message is needed. Private assistant output is not posted to the Space." });
23762
+ }, { instructions: "Use read_history for the bounded text history around the current Wake, and read_file for shared text files in the current Space. Then choose exactly one final OpenMeld Space Action: reply for the exact public message, status for a final visible status, or stay_silent when no public message is needed. Private assistant output is not posted to the Space." });
23763
+ server.registerTool("read_history", {
23764
+ title: "Read the current Wake's Space history",
23765
+ description: "Read up to 20 text messages before the current Wake, plus its source message. Space, Agent identity and source are fixed by the active dispatch. Use this instead of terminal CLI history. This read does not submit a reply or close the Wake.",
23766
+ inputSchema: dispatchSpaceHistoryRequestSchema,
23767
+ outputSchema: dispatchSpaceHistoryResultSchema,
23768
+ annotations: {
23769
+ readOnlyHint: true,
23770
+ destructiveHint: false,
23771
+ idempotentHint: true,
23772
+ openWorldHint: false
23773
+ }
23774
+ }, async () => {
23775
+ try {
23776
+ const result = await readDispatchSpaceHistory();
23777
+ return {
23778
+ structuredContent: result,
23779
+ content: [{
23780
+ type: "text",
23781
+ text: JSON.stringify(result)
23782
+ }]
23783
+ };
23784
+ } catch (error) {
23785
+ return {
23786
+ isError: true,
23787
+ content: [{
23788
+ type: "text",
23789
+ text: error instanceof Error ? error.message : String(error)
23790
+ }]
23791
+ };
23792
+ }
23793
+ });
23641
23794
  server.registerTool("read_file", {
23642
23795
  title: "Read a file in the current OpenMeld Space",
23643
23796
  description: "Read a shared text file as the Agent in the current Wake. Use this for attached CSV, text, Markdown, or JSON files instead of running the CLI in a terminal. Pass the attachment's file ID and revision. This is a context read; it does not submit a reply or close the Wake.",
@@ -23677,6 +23830,7 @@ function createSpaceActionMcpServer() {
23677
23830
  referenceTargets: z.array(z.string().min(1)).optional(),
23678
23831
  wakeTargets: z.array(z.string().min(1)).optional()
23679
23832
  },
23833
+ outputSchema: dispatchSpaceActionToolResultSchema,
23680
23834
  annotations: {
23681
23835
  destructiveHint: false,
23682
23836
  idempotentHint: false,
@@ -23696,6 +23850,7 @@ function createSpaceActionMcpServer() {
23696
23850
  status: FINAL_STATUS_SCHEMA,
23697
23851
  text: z.string().min(1)
23698
23852
  },
23853
+ outputSchema: dispatchSpaceActionToolResultSchema,
23699
23854
  annotations: {
23700
23855
  destructiveHint: false,
23701
23856
  idempotentHint: false,
@@ -23710,6 +23865,7 @@ function createSpaceActionMcpServer() {
23710
23865
  title: "Stay silent in the current OpenMeld Space",
23711
23866
  description: "Record that the active OpenMeld Wake intentionally needs no public reply. Use this only after deciding that silence is the correct final outcome.",
23712
23867
  inputSchema: { reason: z.string().min(1) },
23868
+ outputSchema: dispatchSpaceActionToolResultSchema,
23713
23869
  annotations: {
23714
23870
  destructiveHint: false,
23715
23871
  idempotentHint: false,
@@ -23720,20 +23876,56 @@ function createSpaceActionMcpServer() {
23720
23876
  return server;
23721
23877
  }
23722
23878
  async function runSpaceActionMcpServer() {
23723
- readDispatchSpaceActionContextFromEnv();
23879
+ readDispatchSpaceActionContextForReceiptFromEnv();
23724
23880
  await createSpaceActionMcpServer().connect(new StdioServerTransport());
23725
23881
  }
23726
23882
  async function executeSpaceAction(action) {
23727
23883
  try {
23728
- return { content: [{
23729
- type: "text",
23730
- text: `Action recorded: OpenMeld saved this unpublished Space action proposal (${(await action()).action.type}) for the current Wake.`
23731
- }] };
23884
+ const context = readDispatchSpaceActionContextForReceiptFromEnv();
23885
+ const record = await action();
23886
+ if (record.contextId !== context.contextId || record.nonce !== context.nonce) throw new DispatchSpaceActionClosedError("space_action.context_mismatch", "The saved action does not match the current dispatch context.");
23887
+ const contextState = Date.now() > context.expiresAtMs ? "expired" : "active";
23888
+ return {
23889
+ structuredContent: dispatchSpaceActionToolResultSchema.parse({ receipt: {
23890
+ status: "proposal_saved_locally",
23891
+ actionType: record.action.type,
23892
+ attemptId: context.attemptId,
23893
+ contextId: context.contextId,
23894
+ dispatchId: context.dispatchId,
23895
+ recordedAtMs: record.createdAtMs,
23896
+ contextState,
23897
+ coordinatorAcceptance: "unconfirmed",
23898
+ publication: "unconfirmed"
23899
+ } }),
23900
+ content: [{
23901
+ type: "text",
23902
+ text: `Local proposal saved (receipt: proposal_saved_locally, action: ${record.action.type}). OpenMeld has recorded this unpublished Space action proposal on this computer. ${contextState === "expired" ? "The local context has expired. This receipt identifies the existing record and does not extend action authority. " : ""}Coordinator acceptance and Space publication are NOT yet confirmed; do not report it as posted.`
23903
+ }]
23904
+ };
23732
23905
  } catch (error) {
23906
+ if (error instanceof DispatchSpaceActionClosedError) return {
23907
+ structuredContent: dispatchSpaceActionToolResultSchema.parse({ receipt: {
23908
+ status: "rejected_closed",
23909
+ reasonCode: error.reasonCode,
23910
+ coordinatorAcceptance: "unconfirmed",
23911
+ publication: "unconfirmed"
23912
+ } }),
23913
+ content: [{
23914
+ type: "text",
23915
+ text: `Action rejected (receipt: rejected_closed, reason: ${error.reasonCode}). ${error.message} New actions are not permitted in this context. Existing records are preserved; Coordinator acceptance and Space publication are unconfirmed.`
23916
+ }],
23917
+ isError: true
23918
+ };
23733
23919
  return {
23920
+ structuredContent: dispatchSpaceActionToolResultSchema.parse({ receipt: {
23921
+ status: "outcome_unknown",
23922
+ reasonCode: "space_action.recording_outcome_unknown",
23923
+ coordinatorAcceptance: "unconfirmed",
23924
+ publication: "unconfirmed"
23925
+ } }),
23734
23926
  content: [{
23735
23927
  type: "text",
23736
- text: error instanceof Error ? error.message : String(error)
23928
+ text: `Action receipt unavailable (receipt: outcome_unknown). ${error instanceof Error ? error.message : String(error)} Existing records are preserved; Coordinator acceptance and Space publication are unconfirmed.`
23737
23929
  }],
23738
23930
  isError: true
23739
23931
  };
@@ -24361,7 +24553,7 @@ function normalizeOptionalString(value) {
24361
24553
  return normalized.length > 0 ? normalized : null;
24362
24554
  }
24363
24555
  async function runDefaultSpaceAddMeMembership(input) {
24364
- const { runSpaceAddMeMembership } = await import("./add-me-membership-1JHMjZoR.js");
24556
+ const { runSpaceAddMeMembership } = await import("./add-me-membership-Ck31xM9l.js");
24365
24557
  return await runSpaceAddMeMembership(input);
24366
24558
  }
24367
24559
  //#endregion
@@ -30230,7 +30422,7 @@ withSpaceProfileOption(spaceCmd.command("watch").description("Watch a space in r
30230
30422
  }
30231
30423
  });
30232
30424
  });
30233
- withSpaceProfileOption(spaceCmd.command("send").description("Send one message to a Space.").argument("[space]", "Space ID (64-character hex)").argument("[text...]", "Text to send").option("--file <path>", "Share a local file in this Space message (repeatable, max 10)", collectRepeatedOptionValue, []).option("--stdin", "Read message text from stdin (EOF to finish)", false).option("--text-file <path>", "Read message text from a UTF-8 file").option("--wake <profile-id>", "Wake an Agent Profile (repeatable)", collectRepeatedOptionValue, []).option("--reference <profile-id>", "Reference an Agent Profile (repeatable)", collectRepeatedOptionValue, []).option("--mention <profile-id>", "Mention a Human Profile (repeatable)", collectRepeatedOptionValue, []).option("--plain", "Assert that this message has no recipients; text is always literal", false).option("--reply-to <signal-id>", "Reply into the thread of a message (creates the thread if it does not exist yet)").option("--password <value>", "Space password for protected access")).action(async (space, textParts, opts, command) => {
30425
+ withSpaceProfileOption(spaceCmd.command("send").description("Send one message to a Space.").option("--new-task", `Start an independent task (up to 5 per Agent)`).option("--fork-from <signal-id>", "Fork the selected Agent's completed task at this message").option("--continue-from <signal-id>", "Continue the selected Agent's task from this message").option("--task-access <mode>", "File access: space_context, read_only, or workspace (local files require Codex)").option("--task-workspace <mode>", "Task folder: isolated (private project worktree for local work) or current").argument("[space]", "Space ID (64-character hex)").argument("[text...]", "Text to send").option("--file <path>", "Share a local file in this Space message (repeatable, max 10)", collectRepeatedOptionValue, []).option("--stdin", "Read message text from stdin (EOF to finish)", false).option("--text-file <path>", "Read message text from a UTF-8 file").option("--wake <profile-id>", "Wake an Agent Profile (repeatable)", collectRepeatedOptionValue, []).option("--reference <profile-id>", "Reference an Agent Profile (repeatable)", collectRepeatedOptionValue, []).option("--mention <profile-id>", "Mention a Human Profile (repeatable)", collectRepeatedOptionValue, []).option("--plain", "Assert that this message has no recipients; text is always literal", false).option("--reply-to <signal-id>", "Reply into the thread of a message (creates the thread if it does not exist yet)").option("--password <value>", "Space password for protected access")).action(async (space, textParts, opts, command) => {
30234
30426
  const cliOptions = resolveSpaceCommandCliOptions(command, opts);
30235
30427
  const spaceValue = String(space ?? "").trim();
30236
30428
  const outputView = await resolveEffectiveViewForOutput();
@@ -30251,6 +30443,15 @@ withSpaceProfileOption(spaceCmd.command("send").description("Send one message to
30251
30443
  baseUrl: cliOptions.gatewayUrl,
30252
30444
  space: spaceValue,
30253
30445
  filePaths: Array.isArray(opts.file) ? opts.file.map(String) : [],
30446
+ contextSelection: resolveSpaceTaskSelection({
30447
+ space: spaceValue,
30448
+ wakeTargets: opts.wake,
30449
+ newTask: opts.newTask,
30450
+ forkFrom: opts.forkFrom,
30451
+ continueFrom: opts.continueFrom,
30452
+ taskAccess: opts.taskAccess,
30453
+ taskWorkspace: opts.taskWorkspace
30454
+ }),
30254
30455
  password: cliOptions.password,
30255
30456
  text: textValue,
30256
30457
  stdin: Boolean(opts.stdin),
@@ -30673,7 +30874,7 @@ withSpaceProfileOption(spaceCmd.command("password").description("Set, change, or
30673
30874
  }
30674
30875
  });
30675
30876
  });
30676
- program.command("send").description("Alias for `openmeld space send`.").argument("[text...]", "Text to send").option("--profile <id>", "OpenMeld profile ID").option("--base-url <url>", "OpenMeld gateway URL").option("--space <space>", "Space ID (64-character hex)").option("--stdin", "Read message text from stdin (EOF to finish)", false).option("--file <path>", "Share a local file in this Space message (repeatable, max 10)", collectRepeatedOptionValue, []).option("--text-file <path>", "Read message text from a UTF-8 file").option("--wake <profile-id>", "Wake an Agent Profile (repeatable)", collectRepeatedOptionValue, []).option("--reference <profile-id>", "Reference an Agent Profile (repeatable)", collectRepeatedOptionValue, []).option("--mention <profile-id>", "Mention a Human Profile (repeatable)", collectRepeatedOptionValue, []).option("--plain", "Assert that this message has no recipients; text is always literal", false).option("--password <value>", "Space password for protected access").action(async (textParts, opts) => {
30877
+ program.command("send").description("Alias for `openmeld space send`.").option("--new-task", `Start an independent task (up to 5 per Agent)`).option("--fork-from <signal-id>", "Fork the selected Agent's completed task at this message").option("--continue-from <signal-id>", "Continue the selected Agent's task from this message").option("--task-access <mode>", "File access: space_context, read_only, or workspace (local files require Codex)").option("--task-workspace <mode>", "Task folder: isolated (private project worktree for local work) or current").argument("[text...]", "Text to send").option("--profile <id>", "OpenMeld profile ID").option("--base-url <url>", "OpenMeld gateway URL").option("--space <space>", "Space ID (64-character hex)").option("--stdin", "Read message text from stdin (EOF to finish)", false).option("--file <path>", "Share a local file in this Space message (repeatable, max 10)", collectRepeatedOptionValue, []).option("--text-file <path>", "Read message text from a UTF-8 file").option("--wake <profile-id>", "Wake an Agent Profile (repeatable)", collectRepeatedOptionValue, []).option("--reference <profile-id>", "Reference an Agent Profile (repeatable)", collectRepeatedOptionValue, []).option("--mention <profile-id>", "Mention a Human Profile (repeatable)", collectRepeatedOptionValue, []).option("--plain", "Assert that this message has no recipients; text is always literal", false).option("--password <value>", "Space password for protected access").action(async (textParts, opts) => {
30677
30878
  const space = String(opts.space ?? "").trim();
30678
30879
  if (!space) throw createSpaceAliasTargetGuideError("send");
30679
30880
  const view = getGlobalViewOption();
@@ -30685,6 +30886,15 @@ program.command("send").description("Alias for `openmeld space send`.").argument
30685
30886
  run: async () => {
30686
30887
  await runSpaceSend({
30687
30888
  profile: opts.profile,
30889
+ contextSelection: resolveSpaceTaskSelection({
30890
+ space,
30891
+ wakeTargets: opts.wake,
30892
+ newTask: opts.newTask,
30893
+ forkFrom: opts.forkFrom,
30894
+ continueFrom: opts.continueFrom,
30895
+ taskAccess: opts.taskAccess,
30896
+ taskWorkspace: opts.taskWorkspace
30897
+ }),
30688
30898
  baseUrl: opts.baseUrl,
30689
30899
  space,
30690
30900
  password: opts.password,
@@ -30860,6 +31070,18 @@ program.command("whoami").description("Show your sign-in and selected profile.")
30860
31070
  });
30861
31071
  });
30862
31072
  const profileCmd = program.command("profiles").alias("profile").description("Manage OpenMeld profiles.");
31073
+ profileCmd.command("execution-mode").description("Read or change independent-task admission for an Agent Profile.").argument("<profile>", "Agent Profile ID").option("--mode <mode>", "parallel or serial; serial lets existing tasks finish").action(async (profile, options) => {
31074
+ const view = getGlobalViewOption();
31075
+ await runCommandWithEntryChecks({
31076
+ routeTokens: ["profile", "execution-mode"],
31077
+ view,
31078
+ run: () => runProfileExecutionMode({
31079
+ profile,
31080
+ mode: options.mode,
31081
+ view
31082
+ })
31083
+ });
31084
+ });
30863
31085
  profileCmd.action(async () => {
30864
31086
  const view = getGlobalViewOption();
30865
31087
  await runCommandWithEntryChecks({
@@ -31222,7 +31444,7 @@ async function main() {
31222
31444
  if (await runMacOsNativeKeychainHelperIfRequested()) return;
31223
31445
  const argv = process.argv.map((arg) => arg === "--h" ? "--help" : arg);
31224
31446
  if (argv.length === 5 && argv[2] === "computer" && argv[3] === "connection-review" && argv[4] === "--json") {
31225
- const { readComputerConnectionReview } = await import("./computer-connection-review-BTOvbJYL.js");
31447
+ const { readComputerConnectionReview } = await import("./computer-connection-review-Dg4TZc8O.js");
31226
31448
  outLine(JSON.stringify(await readComputerConnectionReview()));
31227
31449
  return;
31228
31450
  }
@@ -31235,7 +31457,7 @@ async function main() {
31235
31457
  return;
31236
31458
  }
31237
31459
  if (argv[3] === "control-capabilities") {
31238
- const { readServiceControlCapabilities } = await import("./service-control-capabilities-CzUB1ovW.js");
31460
+ const { readServiceControlCapabilities } = await import("./service-control-capabilities-12ePIPVW.js");
31239
31461
  emitCliJsonEnvelope({
31240
31462
  schemaVersion: 1,
31241
31463
  type: "service.control_capabilities",
@@ -31418,4 +31640,4 @@ main().catch((error) => {
31418
31640
  //#endregion
31419
31641
  export {};
31420
31642
 
31421
- //# sourceMappingURL=openmeld-CiL4AiB0.js.map
31643
+ //# sourceMappingURL=openmeld-DYSsGBFL.js.map