openmeld 0.3.211 → 0.3.212

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 (76) hide show
  1. package/dist/{add-me-membership-CNgO595N.js → add-me-membership-BwPpVKtA.js} +2 -2
  2. package/dist/{add-me-membership-CNgO595N.js.map → add-me-membership-BwPpVKtA.js.map} +1 -1
  3. package/dist/agents-Y-UJ74By.js +4153 -0
  4. package/dist/agents-Y-UJ74By.js.map +1 -0
  5. package/dist/{api-client-foundation-CtQTtA4m.js → api-client-foundation-CrQN8_-N.js} +1 -1
  6. package/dist/{api-client-foundation-MJK8vWfn.js → api-client-foundation-DjbtuE52.js} +3 -3
  7. package/dist/{api-client-foundation-MJK8vWfn.js.map → api-client-foundation-DjbtuE52.js.map} +1 -1
  8. package/dist/{auth-session-CB7m-csh.js → auth-session-Dqz9X4F0.js} +42 -21
  9. package/dist/auth-session-Dqz9X4F0.js.map +1 -0
  10. package/dist/auth-session-bRzDGlXy.js +4 -0
  11. package/dist/{command-oQK6PG6b.js → command-jgHbP21v.js} +10 -9
  12. package/dist/{command-oQK6PG6b.js.map → command-jgHbP21v.js.map} +1 -1
  13. package/dist/{computer-connection-51dg6Tq0.js → computer-connection-DvqsgYls.js} +30 -3
  14. package/dist/computer-connection-DvqsgYls.js.map +1 -0
  15. package/dist/{computer-connection-review-CiIyTeDw.js → computer-connection-review-CzSpaHE0.js} +6 -6
  16. package/dist/{computer-connection-review-CiIyTeDw.js.map → computer-connection-review-CzSpaHE0.js.map} +1 -1
  17. package/dist/computer-disconnect-DNM7jvda.js +47 -0
  18. package/dist/computer-disconnect-DNM7jvda.js.map +1 -0
  19. package/dist/{computer-setup-continuation-CeFPluYv.js → computer-setup-continuation-BqdhIAjT.js} +4 -4
  20. package/dist/{computer-setup-continuation-CeFPluYv.js.map → computer-setup-continuation-BqdhIAjT.js.map} +1 -1
  21. package/dist/{control-plane-D9jDcbMZ.js → control-plane-PxntAyDq.js} +3 -547
  22. package/dist/control-plane-PxntAyDq.js.map +1 -0
  23. package/dist/{daemon-service-runtime-D8KrOfSV.js → daemon-service-runtime-CWTlAhZY.js} +291 -45
  24. package/dist/daemon-service-runtime-CWTlAhZY.js.map +1 -0
  25. package/dist/{openmeld-tools-update-coordinator-qrZLtDMv.js → daemon-service-update-coordinator-DcjOzGu1.js} +22972 -22867
  26. package/dist/daemon-service-update-coordinator-DcjOzGu1.js.map +1 -0
  27. package/dist/{dist-DajKOXDk.js → dist--pb6JxqG.js} +1 -1
  28. package/dist/{dist-DtykdMlN.js → dist-jsWwS864.js} +2984 -2981
  29. package/dist/dist-jsWwS864.js.map +1 -0
  30. package/dist/{elapsed-time-BE9NPM-x.js → elapsed-time-iFOSSUJo.js} +45 -78
  31. package/dist/elapsed-time-iFOSSUJo.js.map +1 -0
  32. package/dist/{installation-inventory-CLBwkIf6.js → installation-inventory-B0cbVLun.js} +3 -3
  33. package/dist/{installation-inventory-CLBwkIf6.js.map → installation-inventory-B0cbVLun.js.map} +1 -1
  34. package/dist/local-components-H3SkJMC1.js +567 -0
  35. package/dist/local-components-H3SkJMC1.js.map +1 -0
  36. package/dist/{openmeld-LADiOJ3_.js → openmeld-B4gQCCex.js} +43 -153
  37. package/dist/openmeld-B4gQCCex.js.map +1 -0
  38. package/dist/{openmeld-maintenance-worker-B-u1CItK.js → openmeld-maintenance-worker-DtY_H7Bv.js} +5 -5
  39. package/dist/{openmeld-maintenance-worker-B-u1CItK.js.map → openmeld-maintenance-worker-DtY_H7Bv.js.map} +1 -1
  40. package/dist/openmeld-tools-update-join-DS_EIL5q.js +54 -0
  41. package/dist/openmeld-tools-update-join-DS_EIL5q.js.map +1 -0
  42. package/dist/openmeld-tools-update-process-frame-CbZPpc7D.js +93 -0
  43. package/dist/openmeld-tools-update-process-frame-CbZPpc7D.js.map +1 -0
  44. package/dist/openmeld-tools-update-process-frame-CcPLrSsw.js +4 -0
  45. package/dist/openmeld.js +7 -3
  46. package/dist/openmeld.js.map +1 -1
  47. package/dist/{prepare-session-executor-B5aD6Fx_.js → prepare-session-executor-CWKqfuse.js} +11 -9
  48. package/dist/{prepare-session-executor-B5aD6Fx_.js.map → prepare-session-executor-CWKqfuse.js.map} +1 -1
  49. package/dist/{runtime-transport-VcPSvVY1.js → runtime-transport-BQAmcHwF.js} +15 -2
  50. package/dist/runtime-transport-BQAmcHwF.js.map +1 -0
  51. package/dist/{agents-CGBELT4J.js → service-CTG3_X0o.js} +476 -4582
  52. package/dist/service-CTG3_X0o.js.map +1 -0
  53. package/dist/{service-account-authorization-D1Wp-91j.js → service-account-authorization-Dq4LcAVa.js} +3 -3
  54. package/dist/{service-account-authorization-D1Wp-91j.js.map → service-account-authorization-Dq4LcAVa.js.map} +1 -1
  55. package/dist/service-account-control-BTR_X7QM.js +145 -0
  56. package/dist/service-account-control-BTR_X7QM.js.map +1 -0
  57. package/dist/{service-control-capabilities-COkZ1Ceh.js → service-control-capabilities-C5SxnBg2.js} +2 -2
  58. package/dist/{service-control-capabilities-COkZ1Ceh.js.map → service-control-capabilities-C5SxnBg2.js.map} +1 -1
  59. package/dist/{service-control-capabilities-CP1XCSVm.js → service-control-capabilities-ChRe8hkw.js} +1 -1
  60. package/dist/{upgrade-DJLqTfBA.js → upgrade-DAVEeo8B.js} +36 -17
  61. package/dist/upgrade-DAVEeo8B.js.map +1 -0
  62. package/dist/upgrade-DKXu-1wO.js +4 -0
  63. package/package.json +1 -1
  64. package/dist/agents-CGBELT4J.js.map +0 -1
  65. package/dist/auth-session-CB7m-csh.js.map +0 -1
  66. package/dist/auth-session-DXJq5arz.js +0 -4
  67. package/dist/computer-connection-51dg6Tq0.js.map +0 -1
  68. package/dist/control-plane-D9jDcbMZ.js.map +0 -1
  69. package/dist/daemon-service-runtime-D8KrOfSV.js.map +0 -1
  70. package/dist/dist-DtykdMlN.js.map +0 -1
  71. package/dist/elapsed-time-BE9NPM-x.js.map +0 -1
  72. package/dist/openmeld-LADiOJ3_.js.map +0 -1
  73. package/dist/openmeld-tools-update-coordinator-qrZLtDMv.js.map +0 -1
  74. package/dist/runtime-transport-VcPSvVY1.js.map +0 -1
  75. package/dist/upgrade-BMh_CLJL.js +0 -4
  76. package/dist/upgrade-DJLqTfBA.js.map +0 -1
@@ -1,29 +1,29 @@
1
1
  #!/usr/bin/env node
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
- 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 listSpaceTasksResponseSchema, $t as createPrepareReadinessApi, Br as stringifyOrganizationSkillBundleCanonicalJson, Dr as agentProfileCreationConfigurationSchema, Ei as signalTextEnvelopeSchema, Er as DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION, Ft as createCenterAgentApi, Gn as OPENMELD_HEADER_PROFILE_ID, Jn as OPENMELD_HEADER_SPACE_ADDRESSING_VERSION, Jt as createOrganizationApi, Lr as organizationSkillBundleSchema, Lt as createComputerFileAccessApi, Mt as createAgentProfileBindingApi, Nt as createAgentProfileExecutionModeApi, Or as createAgentProfileCreationRequestBodySchema, Qn as createSpaceTaskBodySchema, Qt as createPluginsApi, Ur as submitFeedbackIssueRequestSchema, Vt as createFeedbackApi, Xt as createOrganizationSkillsApi, _r as projectOwnerComputerLocalRuntimes, ci as resolvedSpaceMemberProfileSchema, cr as resolveRuntimeCoordinatorHeadStatusRootCause, dr as spaceDispatchTraceDispatchStatusSchema, er as mutateSpaceTaskBodySchema, fr as spaceDispatchTraceResponseSchema, gi as agentActivitySessionInventoryQuerySchema, gr as ownerComputerDiagnosticsSchema, hi as agentActivityInventorySessionStatusSchema, in as createRoutinesApi, ir as pluginActionRequestSchema, jn as toStructuredApiClientFailure, jt as createAgentActivityApi, lr as resolveSpaceDispatchTraceRootCause, mi as agentActivityInventorySessionOriginSchema, mr as projectObservabilityWakeCorrelation, ni as agentActivitySessionStatusSchema, nn as createProjectsApi, nr as spaceTaskMutationReceiptSchema, or as SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER, pr as observabilityWakeTraceSelectorSchema, ri as agentActivitySnapshotQuerySchema, rr as spaceEntryTargetSchema, sr as projectSpaceDispatchTraceFinalVisibleOutcome, ti as agentActivityProviderSchema, tr as spaceTaskIdSchema, ur as spaceDispatchTraceAttemptStatusSchema, vi as localAgentSessionProviderSchema, vr as summarizeComputerFileAccessPolicy, zt as createCurrentDeviceApi } from "./dist-DtykdMlN.js";
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, x as resolveOpenMeldLaneDescriptor, yt as systemDir } from "./lock-Dxp6o_t_.js";
5
+ import { $n as listSpaceTasksResponseSchema, $t as createPrepareReadinessApi, Br as stringifyOrganizationSkillBundleCanonicalJson, Dr as agentProfileCreationConfigurationSchema, Ei as signalTextEnvelopeSchema, Er as DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION, Ft as createCenterAgentApi, Gn as OPENMELD_HEADER_PROFILE_ID, Jn as OPENMELD_HEADER_SPACE_ADDRESSING_VERSION, Jt as createOrganizationApi, Lr as organizationSkillBundleSchema, Lt as createComputerFileAccessApi, Mt as createAgentProfileBindingApi, Nt as createAgentProfileExecutionModeApi, Or as createAgentProfileCreationRequestBodySchema, Qn as createSpaceTaskBodySchema, Qt as createPluginsApi, Ur as submitFeedbackIssueRequestSchema, Vt as createFeedbackApi, Xt as createOrganizationSkillsApi, _r as projectOwnerComputerLocalRuntimes, ci as resolvedSpaceMemberProfileSchema, cr as resolveRuntimeCoordinatorHeadStatusRootCause, dr as spaceDispatchTraceDispatchStatusSchema, er as mutateSpaceTaskBodySchema, fr as spaceDispatchTraceResponseSchema, gi as agentActivitySessionInventoryQuerySchema, gr as ownerComputerDiagnosticsSchema, hi as agentActivityInventorySessionStatusSchema, in as createRoutinesApi, ir as pluginActionRequestSchema, jn as toStructuredApiClientFailure, jt as createAgentActivityApi, lr as resolveSpaceDispatchTraceRootCause, mi as agentActivityInventorySessionOriginSchema, mr as projectObservabilityWakeCorrelation, ni as agentActivitySessionStatusSchema, nn as createProjectsApi, nr as spaceTaskMutationReceiptSchema, or as SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER, pr as observabilityWakeTraceSelectorSchema, ri as agentActivitySnapshotQuerySchema, rr as spaceEntryTargetSchema, sr as projectSpaceDispatchTraceFinalVisibleOutcome, ti as agentActivityProviderSchema, tr as spaceTaskIdSchema, ur as spaceDispatchTraceAttemptStatusSchema, vi as localAgentSessionProviderSchema, vr as summarizeComputerFileAccessPolicy, zt as createCurrentDeviceApi } from "./dist-jsWwS864.js";
6
6
  import { c as agentControllerConversationRefSchema } from "./controller-contract-pe3_Re-c.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-qrZLtDMv.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-VcPSvVY1.js";
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-CB7m-csh.js";
11
- import { t as computerConnectionIntentSchema } from "./computer-connection-51dg6Tq0.js";
12
- import { _ as readSelectedSkillDocument, f as ensureLocalSkills, n as collectSkillsReadinessSnapshot } from "./installation-inventory-CLBwkIf6.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-CGBELT4J.js";
14
- import { a as serviceAccountControlRequestSchema, n as resolveOpenMeldDistribution, t as isBinaryDistribution } from "./distribution-DY2fBeSW.js";
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-D8KrOfSV.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-oQK6PG6b.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-BE9NPM-x.js";
7
+ import { $a as alignSelectedOpenMeldProfileStorage, $t as resolveCurrentDaemonExpectedVersion, A as formatDeviceReplyReadinessLabel, B as resolveGatewayChainReadiness, Ba as isSelectedOpenMeldProfileRequiredError, Ci as resolveAgentExecutionStatus, Cn as listAgentTargetStates, Ei as resolveNativeAgentControllerPermissionModeForController, Ga as deleteOpenMeldProfile, Gi as resolveDispatchSpaceActionMcpServer, Ha as resolveOpenMeldProfileOrNull, J as getSetupFlowCopy, Ja as primeOpenMeldProfilesSessionCache, K as buildDaemonRouteObservationPresentation$1, La as parseCliViewMode, N as mapAgentReplyReadinessToLegacyAutoReply, O as resolveCurrentReplyReadinessSnapshot, Qt as classifyDaemonServiceWakeability, Ra as resolveRuntimeContext, Si as resolveAgentControllerPermissionModeForController, T as resolveDaemonServiceFreshnessWarning, Ti as resolveEvidenceSyncHealth, U as resolveOpenClawLocalDiagnosticsValue, Ua as createOpenMeldAgentProfile, Va as requireOpenMeldProfile, Vn as listBuiltinAgentsRegistryEntries, Wa as createOpenMeldHumanProfile, Xa as updateOpenMeldProfile, Ya as resolveOpenMeldProfile, Zi as assessServerRequiredVersion, Zn as notifyDaemonRouteCatalogChanged, Zt as classifyDaemonServiceRunStartability, _ as resolveServiceReadinessFromServiceStatus, _i as parseAgentControllerRef, _n as validateCustomProfileWorkspacePath, _o as compareAgentControllerRefsForDisplay, _t as syncDeviceRuntimeStateProjection, bt as resolveLocalRegistryAgentIdFromAgentControllerRef, cn as resolveProfileWorkspaceRuntime, co as createAuthenticationError, di as createAgentExecutionStatusDisplayRows, dn as readProfileWorkspaceConfig, do as resolveAuthenticationGuidanceFromError, dr as unbindProject, ea as readCurrentLocalDeviceId, er as bindProject, fo as resolveAuthenticationGuidanceFromMessage, fr as canonicalizeLocalProjectPath, ga as isCliUpdateCheckApplicable, gi as listAgentControllerPermissionModeOptions, gn as setOpenMeldManagedProfileWorkspace, ha as assessCliUpdate, hn as setCustomProfileWorkspace, ho as setProfileDefaultView, io as buildAgentAuthenticationGuide, ir as migrateProjectBindingStore, j as formatHumanReplyReadinessReason$1, jt as inspectDaemonServiceInventory, k as formatAgentReplyReadinessLabel, ln as ensureOpenMeldManagedProfileWorkspace, lr as runIfAgentActivityBindingGenerationIsCurrent, mi as getAgentControllerPermissionModeFieldLabel, mo as getProfileDefaultView, mt as createModelCatalogReadSession, no as getSelectedOpenMeldProfileId, nr as listProjectBindings, pi as getAgentControllerPermissionModeDisplayMetadata, pn as resolveConfiguredProfileWorkspacePath, pt as syncProfileWorkspaceState, q as buildOnboardingPlan, qa as listOpenMeldProfiles, ro as setSelectedOpenMeldProfileId, rr as listProjectConnectionsWithStatus, so as buildHumanAuthenticationCard, sr as removeProjectConnection, t as runPendingDaemonServiceUpdate, to as clearSelectedOpenMeldProfileId, un as normalizeCustomProfileWorkspacePath, uo as resolveAuthenticationGuidance, ur as setDefaultProjectConnection, vi as peopleComputerContainsDevice, vn as describeProfileWorkspacePathValidationFailure, vt as createPrimaryBindingReadSession, wi as resolveAgentProfileEditCapabilities, yi as projectPeopleComputersToLegacyLocalRuntimes, yt as resolveAgentProfilePrimaryAgentControllerReport, za as resolveViewProfileKey } from "./daemon-service-update-coordinator-DcjOzGu1.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-BQAmcHwF.js";
9
+ import { F as trimmedStringFromUnknown, N as nonEmptyTrimmedStringFromUnknown, b as dispatchExecutionSchema, w as openMeldRuntimeProfileIdSchema } from "./control-plane-PxntAyDq.js";
10
+ import { C as updateAuthSessionActiveOrganization, T as runMacOsNativeKeychainHelperIfRequested, a as beginAuthSessionTransition, d as getAuthSessionState, f as getCurrentAuthOwnerUserId, g as normalizeStoredActiveOrganization, n as AuthSessionRecoveryInProgressError, o as buildStoredAuthSessionIdentity, s as clearAuthSession, t as AuthSessionChangedBeforeTransitionError, u as getAuthSessionMetadata } from "./auth-session-Dqz9X4F0.js";
11
+ import { t as computerConnectionIntentSchema } from "./computer-connection-DvqsgYls.js";
12
+ import { _ as readSelectedSkillDocument, f as ensureLocalSkills, n as collectSkillsReadinessSnapshot } from "./installation-inventory-B0cbVLun.js";
13
+ import { $ as readDispatchOwnedRuntimeGuard, $n as runInteractivePrompt, B as resolveDaemonServiceParticipationStatus, Bn as runAuthLogout, C as buildProfileWorkspaceRows, Cn as removeProjectOutbox, Dn as registerAgentActivityRoute, E as emitDaemonAgentOverview, En as isAgentActivityRouteRegistered, F as emitCliJsonEnvelope, Fn as uninstallAgentActivityIntegrations, Ft as buildPublicSpaceEntryUrl, Gn as buildAuthStatusSnapshot, H as createCliSpaceApi, Hn as runAuthStatus, I as runDaemonStartupPreflight, In as buildCommandAuthenticationPromptMessage, It as buildSignalIndex, J as readGatewayJsonResponse, Jn as renderInfoCard, Kn as formatActiveOrganizationLabel, Ln as ensureCommandAuthenticationOrCancel, Lt as buildSignalMessageReadProjection, M as buildHumanErrorCopy, Mn as installAgentActivityIntegrations, N as renderHumanErrorCard, Nn as readAgentActivityIntegrationStatus, Nt as buildDispatchResultMessageReadProjection, O as shouldEmitAgentOverview, On as resolveAgentActivityRouteForPath, P as renderHumanTextErrorCard, Pn as resolveAgentActivityDispatcherCommand, Pt as buildDispatchResultReplyWorkflowProjection, Q as assertDispatchOwnedRuntimePublicWriteAllowed, Qn as isReturnKeypress, R as resolveLocalComponentsStatus, Rn as evaluateCommandAuthentication, S as buildProfileWorkspacePresentation, Sn as readAgentActivityOutboxHealth, Tn as readControllerTaskLifecycleOutboxHealth, U as fetchSpaceMeta, Un as exchangeOneTimeTokenAuthSession, Ut as buildSpaceRoundReadProjection, V as fetchSpaceUpdates, Vn as runAuthMenu, W as updateSpaceMeta, Wn as buildAuthStatusRows, Wt as buildUpdatesReplyWorkflowProjection, X as toStructuredGatewayFailure, Y as readGatewayTextResponse, Yn as renderTextInfoCard, Z as parseJsonResponse, Zn as promptTextEntry, Zt as formatRemovedCcRelationMessage, _n as readCodexSessionTitles, _r as getOrganizationJoinLinkResponseSchema, a as runDaemonBackgroundStartForDecision, at as LocalProjectConnectionError, bn as enqueueAgentActivityHookEvent, br as revokeOrganizationJoinLinkResponseSchema, c as runDaemonInterrupt, ct as submitProfileRuntimeAgentControllerReport, dn as readRecentDaemonDispatchJournalEvents, dr as cliJsonErrorEnvelopeSchema, er as finishCurrentCommandCheckScope, et as DispatchSpaceActionClosedError, f as runDaemonSnapshot, fr as cliJsonOutputEnvelopeSchema, g as runDaemonUninstall, gn as normalizeSharedSessionTitle, gr as acceptOrganizationJoinLinkBodySchema, h as runDaemonTeardownStrict, hn as resolveObservedAgentActivityBinding, hr as cliJsonSkillsShowEnvelopeSchema, i as runDaemonAutostart, ir as startCurrentCommandCheckScope, it as writeDispatchSpaceActionRecord, j as runDaemonStartDecisionPrompt, jn as defaultManagedIntegrationPaths, kn as unregisterAgentActivityRoute, kt as upsertSpaceConfig, l as runDaemonReinstall, lt as submitRuntimeAgentControllerReport, m as runDaemonStop, mn as buildAgentActivityEvent, mr as cliJsonSkillsLoadEnvelopeSchema, n as isManagedSystemServiceBootstrapRun, nr as isCurrentCommandCheckScopeActive, nt as readDispatchSpaceActionContextForReceiptFromEnv, o as runDaemonCancel, ot as validateLocalProjectConnectionPath, p as runDaemonStatusFlow, pn as syncLocalAgentActivity, pr as cliJsonSkillsListEnvelopeSchema, qt as createSpaceMemberIdentityIndex, r as runDaemon, rr as resetCurrentCommandCheckState, rt as readDispatchSpaceActionContextFromEnv, s as runDaemonInstall, st as readRuntimeReportingHealthState, t as bestEffortStopCurrentLaneDaemonService, tr as getCurrentCommandCheckState, u as runDaemonRunAfterEntryChecks, vn as readAgentActivityContextForPath, vr as organizationJoinLinkErrorResponseSchema, vt as inspectSpaceCacheFile, w as reconcileCliVersionView, wn as enqueueControllerTaskLifecycleEventWhileLocked, x as resolveServiceParticipationReadiness, xn as removeProjectInbox, y as formatServiceParticipationReadinessLabel, yn as removeAgentActivityContextCache, yr as organizationJoinLinkManagementQuerySchema, z as writeInstalledLocalComponentsSnapshot, zn as runAuthLogin } from "./service-CTG3_X0o.js";
14
+ import { n as resolveOpenMeldDistribution, t as isBinaryDistribution } from "./distribution-DY2fBeSW.js";
15
+ import { Mt as LocalDaemonControlPlaneClientError, Nt as requestLocalAgentActivitySync, Vt as readDaemonServiceContract, X as buildInstallSelfJsonPayload, Z as performManagedInstall, lt as compareSemver, nt as OPENMELD_VERSION, r as readCurrentDaemonRuntimeContext, ut as ensureVersionStateReady } from "./daemon-service-runtime-CWTlAhZY.js";
16
+ 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-jgHbP21v.js";
17
+ import { At as getCliVersionInfo, D as createSpaceContractSetGuideError, Dt as registerSkillsTargetSelectionOptions, E as createSpaceAliasTargetGuideError, Gt as createPresenter, Ht as formatDualViewGuideForDisplay, J as createStartAuthenticationGuideError, Jt as errLine, K as createSpaceUpdatesGuideError, Kt as sanitizeTerminalDisplayText, L as createSpaceRemoveMembersGuideError, M as createSpaceMenuGuideError, Nt as registerAuthLoginRequestOptions, P as createSpacePublicationSetGuideError, Q as SPACE_CONTRACT_ALLOWED_ACTION_ORDER, R as createSpaceResultGuideError, Rt as registerBuiltinAgentSelectionOptions, S as createResetConfirmationGuideError, St as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, T as createSpaceAddMembersGuideError, U as createSpaceSubcommandTargetGuideError, Ut as buildDualViewGuideMessage, Vt as DualViewGuideError, W as createSpaceTargetGuideError, Wt as formatAgentOverviewPayload, X as OPENMELD_AGENT_MENTAL_MODEL_LINES, Xt as outLine, Yt as outJsonLine, b as createProfileCreateGuideError, ct as canonicalizeAllowedActions, et as areAllowedActionsEquivalent, g as canUseInteractivePrompts, gt as getCommandHintsFromContract, j as createSpaceLeaveGuideError, jt as registerDaemonControlTargetOptions, nt as buildAgentFacingPublicationModeGuideLines, q as createStartAgentIdentityGuideError, qt as formatMessage, v as createDoctorFailedGuideError, x as createProfileMenuGuideError, y as createProfileActionGuideError, yt as registerSpaceMemberSelectionOptions } from "./elapsed-time-iFOSSUJo.js";
19
18
  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
- import { A as getDaemonStatus, K as withDaemonServiceRunLock } from "./daemon-state-C37ZtIZK.js";
21
- import { S as resolveDaemonServiceManager } from "./daemon-service-manager-GiMCiTmu.js";
19
+ import { A as getDaemonStatus } from "./daemon-state-C37ZtIZK.js";
22
20
  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-D1Wp-91j.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-MJK8vWfn.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-B5aD6Fx_.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-DJLqTfBA.js";
21
+ import { r as runServiceAccountCarrier } from "./service-account-authorization-Dq4LcAVa.js";
22
+ import { c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, n as fetchSpaceRequestWithTimeout, p as deriveAuthBaseUrlFromGatewayUrl, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-DjbtuE52.js";
23
+ import { t as runServiceAccountControl } from "./service-account-control-BTR_X7QM.js";
24
+ 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-CWKqfuse.js";
25
+ import { C as resolveGatewayWebOrigin, T as runDaemonServiceParticipationGate, _ as promptSearchSelect, a as runAgentsCustomRemove, c as runAgentsDisable, d as runAgentsManage, f as runAgentsRepair, h as promptSearchMultiselect, i as runAgentsCustomList, l as runAgentsEnable, m as formatTransportModeDisplay, n as runAgentsConfig, o as runAgentsCustomUpdate, p as runAgentsShow, r as runAgentsCustomAdd, s as runAgentsDetect, t as runAgents, u as runAgentsList, w as resolveSpaceWebGatewayOrigin } from "./agents-Y-UJ74By.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-DAVEeo8B.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";
@@ -1929,6 +1929,7 @@ const COMMAND_CHECK_REQUIREMENTS = Object.freeze({
1929
1929
  "agents.custom.remove": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, AUTO_FIX_LOCAL_RUNTIME),
1930
1930
  "agents.config": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, AUTO_FIX_LOCAL_RUNTIME),
1931
1931
  "computer.list": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, REQUIRED_SIGN_IN),
1932
+ "computer.disconnect": buildCommandChecks(),
1932
1933
  "computer.current": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, AUTO_FIX_LOCAL_RUNTIME, REQUIRED_SIGN_IN),
1933
1934
  "computer.rename": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, AUTO_FIX_LOCAL_RUNTIME, REQUIRED_SIGN_IN),
1934
1935
  "service.menu": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE),
@@ -2099,6 +2100,7 @@ const COMMAND_ENTRY_NAME_BY_ROUTE = {
2099
2100
  "computer list": "computer.list",
2100
2101
  "computer current": "computer.current",
2101
2102
  "computer rename": "computer.rename",
2103
+ "computer disconnect": "computer.disconnect",
2102
2104
  service: "service.menu",
2103
2105
  daemon: "service.menu",
2104
2106
  "service run": "service.run",
@@ -2746,6 +2748,12 @@ const COMMAND_ENTRY_COPY_BY_NAME = Object.freeze({
2746
2748
  cliUpdateAction: "listing computers",
2747
2749
  serviceAction: null
2748
2750
  },
2751
+ "computer.disconnect": {
2752
+ signInAction: "disconnecting this computer",
2753
+ profileAction: null,
2754
+ cliUpdateAction: "disconnecting this computer",
2755
+ serviceAction: null
2756
+ },
2749
2757
  "computer.current": {
2750
2758
  signInAction: "showing this computer",
2751
2759
  profileAction: null,
@@ -11698,135 +11706,6 @@ function resolveRealPathOrNull$1(path) {
11698
11706
  }
11699
11707
  }
11700
11708
  //#endregion
11701
- //#region src/commands/service-account-control.ts
11702
- function refused(reason, message) {
11703
- throw new ServiceAccountAdmissionError(reason, message);
11704
- }
11705
- async function runServiceAccountControl(request) {
11706
- const parsed = serviceAccountControlRequestSchema.safeParse(request);
11707
- if (!parsed.success) refused("missing_account", "Choose a signed-in account before controlling this Service.");
11708
- const input = parsed.data;
11709
- if (process.platform === "win32") refused("unsupported_platform", "Account-checked Service control is not available on Windows yet.");
11710
- const auth = await getAuthSessionState();
11711
- if (auth.state !== "valid" || !auth.session) refused("authentication_required", "Sign in to the CLI with the matching account and try again.");
11712
- const preparedSession = auth.session;
11713
- if (preparedSession.user?.id !== input.expectedAccount) refused("account_mismatch", "The CLI is signed in to a different account. Sign in with the matching account and try again.");
11714
- if ((await fetchAuthUserSnapshot({
11715
- authBaseUrl: preparedSession.authBaseUrl,
11716
- accessToken: preparedSession.accessToken
11717
- })).id !== input.expectedAccount) refused("account_mismatch", "The CLI session belongs to a different account. Sign in again and retry.");
11718
- await withDaemonServiceRunLock(async () => {
11719
- const contract = await readDaemonServiceContract();
11720
- if (!contract) refused("ownership_unknown", "Connect this computer through OpenMeld setup before controlling its Service.");
11721
- const observed = await readCurrentDaemonRuntimeContext();
11722
- const lease = await readDaemonRuntimeLease();
11723
- if (input.operation === "start" && observed.effectiveRuntimeStatus !== "not_running") refused("busy", "The Service is already running or its state is uncertain. Check Service status before trying again.");
11724
- if (input.operation === "stop" && (observed.effectiveRuntimeStatus !== "running" || !lease || lease.generation !== contract.generation)) refused("ownership_unknown", "OpenMeld could not verify the running Service. Check Service status before trying again.");
11725
- let boundSession = preparedSession;
11726
- const reservation = await withAuthSessionTransitionMutationLock(async () => {
11727
- boundSession = await readServiceAdmissionSessionWithOwnership();
11728
- if (boundSession.accessToken !== preparedSession.accessToken || boundSession.createdAt !== preparedSession.createdAt || boundSession.user?.id !== input.expectedAccount) refused("account_changed", "The CLI sign-in changed before this action was accepted. Check the account and try again.");
11729
- const current = await readDaemonServiceContract();
11730
- if (!current || JSON.stringify(current) !== JSON.stringify(contract)) refused("ownership_changed", "The Service changed before this action was accepted. Check its status and try again.");
11731
- const identity = await resolveServiceAccountIdentity(boundSession, contract);
11732
- if (input.operation === "start" && contract.desiredState !== "background") identity.contractGeneration += 1;
11733
- return await reserveServiceAccountAdmission({
11734
- operation: input.operation,
11735
- identity,
11736
- ...input.operation === "stop" && lease ? { target: {
11737
- ownerPid: lease.pid,
11738
- ownerProcessStartedAt: readProcessStartIdentity(lease.pid) ?? refused("ownership_unknown", "OpenMeld could not identify the Service process. Check its status and try again.")
11739
- } } : {}
11740
- });
11741
- });
11742
- try {
11743
- await withAdmittedServiceSession(boundSession, async () => {
11744
- if (input.operation === "stop") {
11745
- await stopReservedService(contract, reservation.id, lease?.pid ?? 0);
11746
- return;
11747
- }
11748
- const manager = contract.serviceController === "legacy-detached" ? null : await resolveDaemonServiceManager(contract.serviceController);
11749
- if (contract.serviceController !== "legacy-detached" && !(manager && (await manager.status()).installed)) refused("installation_required", "This Service needs setup before it can start. Run OpenMeld setup and try again.");
11750
- await upsertDaemonServiceContract({
11751
- ...contract,
11752
- desiredState: "background"
11753
- });
11754
- if (contract.serviceController === "legacy-detached") {
11755
- const runtime = await resolveRuntimeContext({ view: "agent" });
11756
- await runDaemonServiceDetached({
11757
- accountAdmissionId: reservation.id,
11758
- deviceId: contract.deviceId,
11759
- gatewayUrl: contract.gatewayUrl,
11760
- heartbeatMs: contract.heartbeatMs,
11761
- runtime,
11762
- presenter: createQuietPresenter(runtime),
11763
- mode: "background"
11764
- });
11765
- } else if (manager) {
11766
- await manager.deactivate();
11767
- await manager.install(buildDaemonSystemServiceCommandSpec({
11768
- controller: manager.controller,
11769
- accountAdmissionId: reservation.id
11770
- }));
11771
- await manager.start();
11772
- }
11773
- await waitForAdmittedService(reservation.id);
11774
- });
11775
- } finally {
11776
- await cancelServiceAccountAdmission(reservation.id);
11777
- }
11778
- });
11779
- }
11780
- async function waitForAdmittedService(id) {
11781
- const deadline = Date.now() + 15e3;
11782
- while (Date.now() < deadline) {
11783
- const current = await readServiceAccountAdmission();
11784
- const runtime = await readCurrentDaemonRuntimeContext();
11785
- if (current?.id === id && current.state === "admitted" && current.carrier?.ownerPid === runtime.runtimeStatus.pid && runtime.effectiveRuntimeStatus === "running") return;
11786
- await setTimeout$1(50);
11787
- }
11788
- refused("startup_unconfirmed", "OpenMeld could not confirm that this Service started. Check Service status before trying again.");
11789
- }
11790
- async function stopReservedService(contract, id, pid) {
11791
- await requestAccountCheckedServiceStop({
11792
- id,
11793
- manager: contract.serviceController === "legacy-detached" ? null : await resolveDaemonServiceManager(contract.serviceController)
11794
- });
11795
- const admitted = await readServiceAccountAdmission();
11796
- if (admitted?.id !== id || admitted.state !== "admitted" || admitted.carrier?.ownerPid !== pid) refused("admission_unconfirmed", "OpenMeld could not verify that the matching Service accepted Stop. Check Service status before trying again.");
11797
- const current = await readCurrentDaemonRuntimeContext();
11798
- if (current.runtimeStatus.pid !== null && current.runtimeStatus.pid !== pid) refused("ownership_changed", "Another Service instance is now running. Its state was left unchanged.");
11799
- await runDaemonStop({
11800
- json: true,
11801
- view: "agent"
11802
- }, { completedControlledShutdownOwnerPid: pid });
11803
- }
11804
- async function requestAccountCheckedServiceStop({ id, manager }) {
11805
- const wasEnabled = manager ? (await manager.status()).enabled : false;
11806
- if (manager) await manager.disableAutostart();
11807
- try {
11808
- if (!(await requestLocalDaemonShutdown({
11809
- payload: {
11810
- accountAdmissionId: id,
11811
- mode: "graceful",
11812
- gracePeriodMs: 2e3
11813
- },
11814
- timeoutMs: 15e3
11815
- })).accepted) throw new Error("The Service did not confirm controlled shutdown.");
11816
- } catch (error) {
11817
- if (manager && wasEnabled && error instanceof LocalDaemonControlPlaneClientError && error.code === "service.account_admission.stop_refused") try {
11818
- await manager.enableAutostart();
11819
- } catch (restoreError) {
11820
- throw new AggregateError([error, restoreError], "Stop was refused and its previous autostart setting could not be restored.");
11821
- }
11822
- if (!(error instanceof LocalDaemonControlPlaneClientError && error.code === "service.account_admission.stop_refused")) {
11823
- const detail = error instanceof Error ? error.message : String(error);
11824
- refused("stop_unconfirmed", `Stop may already be in progress. ${manager ? "Autostart remains disabled. " : ""}Check Service status before trying again. ${detail}`);
11825
- }
11826
- throw error;
11827
- }
11828
- }
11829
- //#endregion
11830
11709
  //#region src/config/space-dispatch-lookup-api.ts
11831
11710
  async function fetchSpaceDispatchLookup(input) {
11832
11711
  const endpoint = new URL(toSpaceDispatchLookupUrl(input.baseUrl, input.space));
@@ -24753,7 +24632,7 @@ function normalizeOptionalString(value) {
24753
24632
  return normalized.length > 0 ? normalized : null;
24754
24633
  }
24755
24634
  async function runDefaultSpaceAddMeMembership(input) {
24756
- const { runSpaceAddMeMembership } = await import("./add-me-membership-CNgO595N.js");
24635
+ const { runSpaceAddMeMembership } = await import("./add-me-membership-BwPpVKtA.js");
24757
24636
  return await runSpaceAddMeMembership(input);
24758
24637
  }
24759
24638
  //#endregion
@@ -29456,6 +29335,17 @@ program.command("logout").description("Alias for `openmeld auth logout`.").actio
29456
29335
  });
29457
29336
  });
29458
29337
  const computerCmd = program.command("computer").description("Inspect and name computers in OpenMeld.");
29338
+ computerCmd.command("disconnect").description("Disconnect this computer from its reviewed account without forgetting its record.").requiredOption("--connection-intent <json>", "Account and exact Computer session reviewed for disconnection").action(async (opts) => {
29339
+ const view = getGlobalViewOption();
29340
+ await runCommandWithEntryChecks({
29341
+ routeTokens: ["computer", "disconnect"],
29342
+ view,
29343
+ run: async () => {
29344
+ const { runComputerDisconnect } = await import("./computer-disconnect-DNM7jvda.js");
29345
+ await runComputerDisconnect(computerConnectionIntentSchema.parse(JSON.parse(opts.connectionIntent)), view);
29346
+ }
29347
+ });
29348
+ });
29459
29349
  computerCmd.addHelpText("after", buildCommandHelpExamples("Examples", [
29460
29350
  "openmeld computer list",
29461
29351
  "openmeld computer current",
@@ -31644,7 +31534,7 @@ async function main() {
31644
31534
  if (await runMacOsNativeKeychainHelperIfRequested()) return;
31645
31535
  const argv = process.argv.map((arg) => arg === "--h" ? "--help" : arg);
31646
31536
  if (argv.length === 5 && argv[2] === "computer" && argv[3] === "connection-review" && argv[4] === "--json") {
31647
- const { readComputerConnectionReview } = await import("./computer-connection-review-CiIyTeDw.js");
31537
+ const { readComputerConnectionReview } = await import("./computer-connection-review-CzSpaHE0.js");
31648
31538
  outLine(JSON.stringify(await readComputerConnectionReview()));
31649
31539
  return;
31650
31540
  }
@@ -31657,7 +31547,7 @@ async function main() {
31657
31547
  return;
31658
31548
  }
31659
31549
  if (argv[3] === "control-capabilities") {
31660
- const { readServiceControlCapabilities } = await import("./service-control-capabilities-CP1XCSVm.js");
31550
+ const { readServiceControlCapabilities } = await import("./service-control-capabilities-ChRe8hkw.js");
31661
31551
  emitCliJsonEnvelope({
31662
31552
  schemaVersion: 1,
31663
31553
  type: "service.control_capabilities",
@@ -31840,4 +31730,4 @@ main().catch((error) => {
31840
31730
  //#endregion
31841
31731
  export {};
31842
31732
 
31843
- //# sourceMappingURL=openmeld-LADiOJ3_.js.map
31733
+ //# sourceMappingURL=openmeld-B4gQCCex.js.map