openmeld 0.3.211 → 0.3.213

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 (78) hide show
  1. package/dist/{add-me-membership-CNgO595N.js → add-me-membership-GbaxKxz-.js} +2 -2
  2. package/dist/{add-me-membership-CNgO595N.js.map → add-me-membership-GbaxKxz-.js.map} +1 -1
  3. package/dist/agents-BNoz9DA5.js +4153 -0
  4. package/dist/agents-BNoz9DA5.js.map +1 -0
  5. package/dist/{api-client-foundation-CtQTtA4m.js → api-client-foundation-TEBOwWl1.js} +1 -1
  6. package/dist/{api-client-foundation-MJK8vWfn.js → api-client-foundation-km8Ol1P4.js} +3 -3
  7. package/dist/{api-client-foundation-MJK8vWfn.js.map → api-client-foundation-km8Ol1P4.js.map} +1 -1
  8. package/dist/auth-session-D6UDl3r3.js +4 -0
  9. package/dist/{auth-session-CB7m-csh.js → auth-session-DgHvRt5i.js} +99 -21
  10. package/dist/auth-session-DgHvRt5i.js.map +1 -0
  11. package/dist/{command-oQK6PG6b.js → command-Dsa8gaFe.js} +10 -9
  12. package/dist/{command-oQK6PG6b.js.map → command-Dsa8gaFe.js.map} +1 -1
  13. package/dist/computer-connection-D8tX14R_.js +120 -0
  14. package/dist/computer-connection-D8tX14R_.js.map +1 -0
  15. package/dist/{computer-connection-review-CiIyTeDw.js → computer-connection-review-CjOXBWiV.js} +6 -6
  16. package/dist/{computer-connection-review-CiIyTeDw.js.map → computer-connection-review-CjOXBWiV.js.map} +1 -1
  17. package/dist/computer-disconnect-k6UVCsVF.js +47 -0
  18. package/dist/computer-disconnect-k6UVCsVF.js.map +1 -0
  19. package/dist/{computer-setup-continuation-CeFPluYv.js → computer-setup-continuation-DhY_sJis.js} +4 -4
  20. package/dist/{computer-setup-continuation-CeFPluYv.js.map → computer-setup-continuation-DhY_sJis.js.map} +1 -1
  21. package/dist/{control-plane-D9jDcbMZ.js → control-plane-Bpu7g9Av.js} +3 -547
  22. package/dist/control-plane-Bpu7g9Av.js.map +1 -0
  23. package/dist/{daemon-service-runtime-D8KrOfSV.js → daemon-service-runtime-CY6wdBe1.js} +381 -54
  24. package/dist/daemon-service-runtime-CY6wdBe1.js.map +1 -0
  25. package/dist/{openmeld-tools-update-coordinator-qrZLtDMv.js → daemon-service-update-coordinator-BcbbIDzC.js} +25953 -25662
  26. package/dist/daemon-service-update-coordinator-BcbbIDzC.js.map +1 -0
  27. package/dist/{dist-DajKOXDk.js → dist-Bsz_wafH.js} +1 -1
  28. package/dist/{dist-DtykdMlN.js → dist-CAx_kxvt.js} +971 -929
  29. package/dist/dist-CAx_kxvt.js.map +1 -0
  30. package/dist/{elapsed-time-BE9NPM-x.js → elapsed-time-Do3uIV__.js} +47 -78
  31. package/dist/elapsed-time-Do3uIV__.js.map +1 -0
  32. package/dist/{installation-inventory-CLBwkIf6.js → installation-inventory-C92AkQkA.js} +3 -3
  33. package/dist/{installation-inventory-CLBwkIf6.js.map → installation-inventory-C92AkQkA.js.map} +1 -1
  34. package/dist/local-components-B6SCXZf9.js +575 -0
  35. package/dist/local-components-B6SCXZf9.js.map +1 -0
  36. package/dist/{openmeld-LADiOJ3_.js → openmeld-I4pLxQsY.js} +55 -154
  37. package/dist/openmeld-I4pLxQsY.js.map +1 -0
  38. package/dist/{openmeld-maintenance-worker-B-u1CItK.js → openmeld-maintenance-worker-D5VAO9GD.js} +5 -5
  39. package/dist/{openmeld-maintenance-worker-B-u1CItK.js.map → openmeld-maintenance-worker-D5VAO9GD.js.map} +1 -1
  40. package/dist/openmeld-tools-update-join-DsQdgYNw.js +56 -0
  41. package/dist/openmeld-tools-update-join-DsQdgYNw.js.map +1 -0
  42. package/dist/openmeld-tools-update-process-frame-0X-t0Kjv.js +93 -0
  43. package/dist/openmeld-tools-update-process-frame-0X-t0Kjv.js.map +1 -0
  44. package/dist/openmeld-tools-update-process-frame-DX1Dc8VI.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-BEzlM0hJ.js} +171 -16
  48. package/dist/prepare-session-executor-BEzlM0hJ.js.map +1 -0
  49. package/dist/{runtime-transport-VcPSvVY1.js → runtime-transport-DxISZdzf.js} +34 -4
  50. package/dist/runtime-transport-DxISZdzf.js.map +1 -0
  51. package/dist/{agents-CGBELT4J.js → service-Cev-7yAJ.js} +703 -4620
  52. package/dist/service-Cev-7yAJ.js.map +1 -0
  53. package/dist/{service-account-authorization-D1Wp-91j.js → service-account-authorization-AbowIr6n.js} +3 -3
  54. package/dist/{service-account-authorization-D1Wp-91j.js.map → service-account-authorization-AbowIr6n.js.map} +1 -1
  55. package/dist/service-account-control-BV_tBiio.js +145 -0
  56. package/dist/service-account-control-BV_tBiio.js.map +1 -0
  57. package/dist/{service-control-capabilities-CP1XCSVm.js → service-control-capabilities-BGXPenm1.js} +1 -1
  58. package/dist/{service-control-capabilities-COkZ1Ceh.js → service-control-capabilities-DUudAKoj.js} +2 -2
  59. package/dist/{service-control-capabilities-COkZ1Ceh.js.map → service-control-capabilities-DUudAKoj.js.map} +1 -1
  60. package/dist/{upgrade-DJLqTfBA.js → upgrade-9h70HCQP.js} +40 -18
  61. package/dist/upgrade-9h70HCQP.js.map +1 -0
  62. package/dist/upgrade-CXgHeEKK.js +4 -0
  63. package/package.json +2 -2
  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 +0 -54
  68. package/dist/computer-connection-51dg6Tq0.js.map +0 -1
  69. package/dist/control-plane-D9jDcbMZ.js.map +0 -1
  70. package/dist/daemon-service-runtime-D8KrOfSV.js.map +0 -1
  71. package/dist/dist-DtykdMlN.js.map +0 -1
  72. package/dist/elapsed-time-BE9NPM-x.js.map +0 -1
  73. package/dist/openmeld-LADiOJ3_.js.map +0 -1
  74. package/dist/openmeld-tools-update-coordinator-qrZLtDMv.js.map +0 -1
  75. package/dist/prepare-session-executor-B5aD6Fx_.js.map +0 -1
  76. package/dist/runtime-transport-VcPSvVY1.js.map +0 -1
  77. package/dist/upgrade-BMh_CLJL.js +0 -4
  78. 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-CAx_kxvt.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 { $t as resolveCurrentDaemonExpectedVersion, A as formatDeviceReplyReadinessLabel, B as resolveGatewayChainReadiness, Ba as resolveViewProfileKey, Ci as resolveAgentExecutionStatus, Cn as listAgentTargetStates, Ei as resolveNativeAgentControllerPermissionModeForController, Ga as createOpenMeldHumanProfile, Ha as requireOpenMeldProfile, J as getSetupFlowCopy, Ja as listOpenMeldProfiles, K as buildDaemonRouteObservationPresentation$1, Ka as deleteOpenMeldProfile, Ki as resolveDispatchSpaceActionMcpServer, N as mapAgentReplyReadinessToLegacyAutoReply, O as resolveCurrentReplyReadinessSnapshot, Qi as assessServerRequiredVersion, Qt as classifyDaemonServiceWakeability, Ra as parseCliViewMode, Si as resolveAgentControllerPermissionModeForController, T as resolveDaemonServiceFreshnessWarning, Ti as resolveEvidenceSyncHealth, U as resolveOpenClawLocalDiagnosticsValue, Ua as resolveOpenMeldProfileOrNull, Va as isSelectedOpenMeldProfileRequiredError, Vn as listBuiltinAgentsRegistryEntries, Wa as createOpenMeldAgentProfile, Xa as resolveOpenMeldProfile, Ya as primeOpenMeldProfilesSessionCache, Za as updateOpenMeldProfile, Zn as notifyDaemonRouteCatalogChanged, Zt as classifyDaemonServiceRunStartability, _ as resolveServiceReadinessFromServiceStatus, _a as isCliUpdateCheckApplicable, _i as parseAgentControllerRef, _n as validateCustomProfileWorkspacePath, _t as syncDeviceRuntimeStateProjection, ao as buildAgentAuthenticationGuide, bt as resolveLocalRegistryAgentIdFromAgentControllerRef, cn as resolveProfileWorkspaceRuntime, co as buildHumanAuthenticationCard, di as createAgentExecutionStatusDisplayRows, dn as readProfileWorkspaceConfig, do as resolveAuthenticationGuidance, dr as unbindProject, eo as alignSelectedOpenMeldProfileStorage, er as bindProject, fo as resolveAuthenticationGuidanceFromError, fr as canonicalizeLocalProjectPath, ga as assessCliUpdate, gi as listAgentControllerPermissionModeOptions, gn as setOpenMeldManagedProfileWorkspace, go as setProfileDefaultView, hn as setCustomProfileWorkspace, ho as getProfileDefaultView, io as setSelectedOpenMeldProfileId, ir as migrateProjectBindingStore, j as formatHumanReplyReadinessReason$1, jt as inspectDaemonServiceInventory, k as formatAgentReplyReadinessLabel, ln as ensureOpenMeldManagedProfileWorkspace, lo as createAuthenticationError, lr as runIfAgentActivityBindingGenerationIsCurrent, mi as getAgentControllerPermissionModeFieldLabel, mt as createModelCatalogReadSession, no as clearSelectedOpenMeldProfileId, nr as listProjectBindings, pi as getAgentControllerPermissionModeDisplayMetadata, pn as resolveConfiguredProfileWorkspacePath, po as resolveAuthenticationGuidanceFromMessage, pt as syncProfileWorkspaceState, q as buildOnboardingPlan, ro as getSelectedOpenMeldProfileId, rr as listProjectConnectionsWithStatus, sr as removeProjectConnection, t as runPendingDaemonServiceUpdate, ta as readCurrentLocalDeviceId, un as normalizeCustomProfileWorkspacePath, ur as setDefaultProjectConnection, vi as peopleComputerContainsDevice, vn as describeProfileWorkspacePathValidationFailure, vo as compareAgentControllerRefsForDisplay, vt as createPrimaryBindingReadSession, wi as resolveAgentProfileEditCapabilities, yi as projectPeopleComputersToLegacyLocalRuntimes, yt as resolveAgentProfilePrimaryAgentControllerReport, za as resolveRuntimeContext } from "./daemon-service-update-coordinator-BcbbIDzC.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-DxISZdzf.js";
9
+ 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-DgHvRt5i.js";
10
+ import { F as trimmedStringFromUnknown, N as nonEmptyTrimmedStringFromUnknown, b as dispatchExecutionSchema, w as openMeldRuntimeProfileIdSchema } from "./control-plane-Bpu7g9Av.js";
11
+ import { t as computerConnectionIntentSchema } from "./computer-connection-D8tX14R_.js";
12
+ import { _ as readSelectedSkillDocument, f as ensureLocalSkills, n as collectSkillsReadinessSnapshot } from "./installation-inventory-C92AkQkA.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-Cev-7yAJ.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-CY6wdBe1.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-Dsa8gaFe.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-Do3uIV__.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-AbowIr6n.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-km8Ol1P4.js";
23
+ import { t as runServiceAccountControl } from "./service-account-control-BV_tBiio.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-BEzlM0hJ.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-BNoz9DA5.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-9h70HCQP.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,
@@ -6170,6 +6178,13 @@ async function createCenterAgentApiClient(input) {
6170
6178
  //#region src/space/local-agent-environment.ts
6171
6179
  const CODEX_THREAD_ID_ENV = "CODEX_THREAD_ID";
6172
6180
  const CLAUDE_CODE_SESSION_ID_ENV = "CLAUDE_CODE_SESSION_ID";
6181
+ const CODEX_LIKE_ENV_VARS = [
6182
+ "CODEX_SHELL",
6183
+ "CODEX_CI",
6184
+ "CODEX_SESSION_ID",
6185
+ "CODEX_INTERNAL_ORIGINATOR_OVERRIDE"
6186
+ ];
6187
+ [...CODEX_LIKE_ENV_VARS];
6173
6188
  function detectLocalAgentEnvironment(env) {
6174
6189
  const claudeSessionId = normalizeOptionalString$14(env[CLAUDE_CODE_SESSION_ID_ENV]);
6175
6190
  if (claudeSessionId) return {
@@ -6191,7 +6206,7 @@ function detectLocalAgentEnvironment(env) {
6191
6206
  return { kind: "human" };
6192
6207
  }
6193
6208
  function isCodexLikeEnvironment(env) {
6194
- return Boolean(normalizeOptionalString$14(env.CODEX_SHELL) || normalizeOptionalString$14(env.CODEX_CI) || normalizeOptionalString$14(env.CODEX_SESSION_ID) || normalizeOptionalString$14(env.CODEX_INTERNAL_ORIGINATOR_OVERRIDE));
6209
+ return CODEX_LIKE_ENV_VARS.some((name) => Boolean(normalizeOptionalString$14(env[name])));
6195
6210
  }
6196
6211
  function normalizeOptionalString$14(value) {
6197
6212
  if (typeof value !== "string") return null;
@@ -11698,135 +11713,6 @@ function resolveRealPathOrNull$1(path) {
11698
11713
  }
11699
11714
  }
11700
11715
  //#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
11716
  //#region src/config/space-dispatch-lookup-api.ts
11831
11717
  async function fetchSpaceDispatchLookup(input) {
11832
11718
  const endpoint = new URL(toSpaceDispatchLookupUrl(input.baseUrl, input.space));
@@ -14329,6 +14215,7 @@ async function runPreparedComputerAuthHandoff(input) {
14329
14215
  let failureReported = false;
14330
14216
  try {
14331
14217
  if (await recoverInterruptedComputerAuthHandoff({
14218
+ onProgress: (progress) => stream.writeConnectionProgress?.(progress),
14332
14219
  presenter: input.presenter,
14333
14220
  runtime: input.runtime,
14334
14221
  view: input.view
@@ -14406,6 +14293,7 @@ async function runPreparedComputerAuthHandoff(input) {
14406
14293
  presenter: input.presenter,
14407
14294
  runtime: input.runtime,
14408
14295
  transition,
14296
+ stream,
14409
14297
  view: input.view
14410
14298
  });
14411
14299
  return sessionResult;
@@ -14420,6 +14308,7 @@ async function runPreparedComputerAuthHandoff(input) {
14420
14308
  presenter: input.presenter,
14421
14309
  runtime: input.runtime,
14422
14310
  transition,
14311
+ stream,
14423
14312
  view: input.view
14424
14313
  });
14425
14314
  } catch (recoveryError) {
@@ -14533,6 +14422,7 @@ async function confirmComputerAccountSwitch(input) {
14533
14422
  async function restorePreviousComputerAfterFailedHandoff(input) {
14534
14423
  await input.transition.rollback();
14535
14424
  if (await recoverInterruptedComputerAuthHandoff({
14425
+ onProgress: (progress) => input.stream.writeConnectionProgress?.(progress),
14536
14426
  presenter: input.presenter,
14537
14427
  runtime: input.runtime,
14538
14428
  view: input.view
@@ -24753,7 +24643,7 @@ function normalizeOptionalString(value) {
24753
24643
  return normalized.length > 0 ? normalized : null;
24754
24644
  }
24755
24645
  async function runDefaultSpaceAddMeMembership(input) {
24756
- const { runSpaceAddMeMembership } = await import("./add-me-membership-CNgO595N.js");
24646
+ const { runSpaceAddMeMembership } = await import("./add-me-membership-GbaxKxz-.js");
24757
24647
  return await runSpaceAddMeMembership(input);
24758
24648
  }
24759
24649
  //#endregion
@@ -29456,6 +29346,17 @@ program.command("logout").description("Alias for `openmeld auth logout`.").actio
29456
29346
  });
29457
29347
  });
29458
29348
  const computerCmd = program.command("computer").description("Inspect and name computers in OpenMeld.");
29349
+ 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) => {
29350
+ const view = getGlobalViewOption();
29351
+ await runCommandWithEntryChecks({
29352
+ routeTokens: ["computer", "disconnect"],
29353
+ view,
29354
+ run: async () => {
29355
+ const { runComputerDisconnect } = await import("./computer-disconnect-k6UVCsVF.js");
29356
+ await runComputerDisconnect(computerConnectionIntentSchema.parse(JSON.parse(opts.connectionIntent)), view);
29357
+ }
29358
+ });
29359
+ });
29459
29360
  computerCmd.addHelpText("after", buildCommandHelpExamples("Examples", [
29460
29361
  "openmeld computer list",
29461
29362
  "openmeld computer current",
@@ -31644,7 +31545,7 @@ async function main() {
31644
31545
  if (await runMacOsNativeKeychainHelperIfRequested()) return;
31645
31546
  const argv = process.argv.map((arg) => arg === "--h" ? "--help" : arg);
31646
31547
  if (argv.length === 5 && argv[2] === "computer" && argv[3] === "connection-review" && argv[4] === "--json") {
31647
- const { readComputerConnectionReview } = await import("./computer-connection-review-CiIyTeDw.js");
31548
+ const { readComputerConnectionReview } = await import("./computer-connection-review-CjOXBWiV.js");
31648
31549
  outLine(JSON.stringify(await readComputerConnectionReview()));
31649
31550
  return;
31650
31551
  }
@@ -31657,7 +31558,7 @@ async function main() {
31657
31558
  return;
31658
31559
  }
31659
31560
  if (argv[3] === "control-capabilities") {
31660
- const { readServiceControlCapabilities } = await import("./service-control-capabilities-CP1XCSVm.js");
31561
+ const { readServiceControlCapabilities } = await import("./service-control-capabilities-BGXPenm1.js");
31661
31562
  emitCliJsonEnvelope({
31662
31563
  schemaVersion: 1,
31663
31564
  type: "service.control_capabilities",
@@ -31840,4 +31741,4 @@ main().catch((error) => {
31840
31741
  //#endregion
31841
31742
  export {};
31842
31743
 
31843
- //# sourceMappingURL=openmeld-LADiOJ3_.js.map
31744
+ //# sourceMappingURL=openmeld-I4pLxQsY.js.map