openmeld 0.3.257 → 0.3.258

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 (135) hide show
  1. package/dist/{add-me-membership-DGn_ymiU.js → add-me-membership-B8rT9msn.js} +2 -2
  2. package/dist/{add-me-membership-DGn_ymiU.js.map → add-me-membership-B8rT9msn.js.map} +1 -1
  3. package/dist/{agents-Bys2Xt-r.js → agents-rbrzsUPC.js} +13 -13
  4. package/dist/{agents-Bys2Xt-r.js.map → agents-rbrzsUPC.js.map} +1 -1
  5. package/dist/{api-client-foundation-K-xme5wi.js → api-client-foundation-BDbeHD1i.js} +4 -4
  6. package/dist/{api-client-foundation-K-xme5wi.js.map → api-client-foundation-BDbeHD1i.js.map} +1 -1
  7. package/dist/{api-client-foundation-DS6edHLv.js → api-client-foundation-Dye8bbn0.js} +1 -1
  8. package/dist/auth-session-COkQp4Fr.js +4 -0
  9. package/dist/{auth-session-gCSwPpKk.js → auth-session-mNZMZihh.js} +5 -5
  10. package/dist/{auth-session-gCSwPpKk.js.map → auth-session-mNZMZihh.js.map} +1 -1
  11. package/dist/{auth-url-xkcTUIuG.js → auth-url-D5LMD4E8.js} +2 -2
  12. package/dist/{auth-url-xkcTUIuG.js.map → auth-url-D5LMD4E8.js.map} +1 -1
  13. package/dist/{base-url-B9lLWy47.js → base-url-BMrQwJW4.js} +3 -3
  14. package/dist/{base-url-B9lLWy47.js.map → base-url-BMrQwJW4.js.map} +1 -1
  15. package/dist/{base-url-CBkrCY1z.js → base-url-uwbKIZtP.js} +1 -1
  16. package/dist/{channel-CMKlUru6.js → channel-48XSbUsz.js} +2 -2
  17. package/dist/{channel-CMKlUru6.js.map → channel-48XSbUsz.js.map} +1 -1
  18. package/dist/{cloud-computer-BXXE7ol0.js → cloud-computer-Cymmmv7K.js} +6 -6
  19. package/dist/{cloud-computer-BXXE7ol0.js.map → cloud-computer-Cymmmv7K.js.map} +1 -1
  20. package/dist/{command-ByRe3oUP.js → command-C7knNgv9.js} +26 -19
  21. package/dist/command-C7knNgv9.js.map +1 -0
  22. package/dist/{computer-connection-review-D3UlEzSN.js → computer-connection-review-BUZdZxR8.js} +6 -6
  23. package/dist/{computer-connection-review-D3UlEzSN.js.map → computer-connection-review-BUZdZxR8.js.map} +1 -1
  24. package/dist/{computer-disconnect-BUWLH7Tp.js → computer-disconnect-C3uKOOlJ.js} +9 -9
  25. package/dist/{computer-disconnect-BUWLH7Tp.js.map → computer-disconnect-C3uKOOlJ.js.map} +1 -1
  26. package/dist/{computer-setup-continuation-CgvCGSQU.js → computer-setup-continuation-CehzYR-3.js} +3 -3
  27. package/dist/{computer-setup-continuation-CgvCGSQU.js.map → computer-setup-continuation-CehzYR-3.js.map} +1 -1
  28. package/dist/{context-CtpDI4OE.js → context-BT5P1qqr.js} +7 -7
  29. package/dist/{context-CtpDI4OE.js.map → context-BT5P1qqr.js.map} +1 -1
  30. package/dist/{daemon-device-id-BPwCO8jO.js → daemon-device-id-DrGRbKdb.js} +4 -4
  31. package/dist/{daemon-device-id-BPwCO8jO.js.map → daemon-device-id-DrGRbKdb.js.map} +1 -1
  32. package/dist/{daemon-lifecycle-journal-kn_V27_x.js → daemon-lifecycle-journal-B2cNyBV2.js} +5 -5
  33. package/dist/{daemon-lifecycle-journal-kn_V27_x.js.map → daemon-lifecycle-journal-B2cNyBV2.js.map} +1 -1
  34. package/dist/{daemon-runtime-lease-CI5E1dSx.js → daemon-runtime-lease-CB0ZCPMd.js} +3 -3
  35. package/dist/{daemon-runtime-lease-CI5E1dSx.js.map → daemon-runtime-lease-CB0ZCPMd.js.map} +1 -1
  36. package/dist/{daemon-runtime-lease-BV9B1k3Z.js → daemon-runtime-lease-wo_QM5jn.js} +1 -1
  37. package/dist/{daemon-service-contract-BliSi2Kx.js → daemon-service-contract-Dkgengx4.js} +3 -3
  38. package/dist/{daemon-service-contract-BliSi2Kx.js.map → daemon-service-contract-Dkgengx4.js.map} +1 -1
  39. package/dist/{daemon-service-manager-g6N663Vx.js → daemon-service-manager-BjBYyE6i.js} +5 -5
  40. package/dist/{daemon-service-manager-g6N663Vx.js.map → daemon-service-manager-BjBYyE6i.js.map} +1 -1
  41. package/dist/{daemon-service-manager-BGKwZbgn.js → daemon-service-manager-CblkceR7.js} +1 -1
  42. package/dist/{daemon-service-runtime-DVX0kCDI.js → daemon-service-runtime-CQjz4H06.js} +14 -14
  43. package/dist/{daemon-service-runtime-DVX0kCDI.js.map → daemon-service-runtime-CQjz4H06.js.map} +1 -1
  44. package/dist/{daemon-service-update-coordinator-h_n5_IqX.js → daemon-service-update-coordinator-IgXvzOsW.js} +21 -20
  45. package/dist/daemon-service-update-coordinator-IgXvzOsW.js.map +1 -0
  46. package/dist/{daemon-state-BpDMuV9q.js → daemon-state-B8L0_xPT.js} +3 -3
  47. package/dist/{daemon-state-BpDMuV9q.js.map → daemon-state-B8L0_xPT.js.map} +1 -1
  48. package/dist/{dispatch-owned-runtime-BTPAd3rO.js → dispatch-owned-runtime-BxpC_aaI.js} +10 -10
  49. package/dist/{dispatch-owned-runtime-BTPAd3rO.js.map → dispatch-owned-runtime-BxpC_aaI.js.map} +1 -1
  50. package/dist/{dist-C1X_UGiT.js → dist-BFz8AKxR.js} +1 -1
  51. package/dist/{dist-Nhlf_Xfo.js → dist-BJy9X73H.js} +2 -2
  52. package/dist/{dist-Nhlf_Xfo.js.map → dist-BJy9X73H.js.map} +1 -1
  53. package/dist/dist-Cbw4UtHs.js +4 -0
  54. package/dist/{dist-Bk1WQ99A.js → dist-Dx5paVZY.js} +84 -2
  55. package/dist/dist-Dx5paVZY.js.map +1 -0
  56. package/dist/{dual-view-guide-catalog-DAVm97ep.js → dual-view-guide-catalog-Cm8_zKnl.js} +3 -3
  57. package/dist/{dual-view-guide-catalog-DAVm97ep.js.map → dual-view-guide-catalog-Cm8_zKnl.js.map} +1 -1
  58. package/dist/{elapsed-time-Bgx9MoTj.js → elapsed-time-Cu4YZoqK.js} +4 -4
  59. package/dist/{elapsed-time-Bgx9MoTj.js.map → elapsed-time-Cu4YZoqK.js.map} +1 -1
  60. package/dist/{entry-DR_v8WnC.js → entry-DNXN3jPw.js} +12 -12
  61. package/dist/{entry-DR_v8WnC.js.map → entry-DNXN3jPw.js.map} +1 -1
  62. package/dist/{installation-inventory-DBeLPoFK.js → installation-inventory-DqxnhTKK.js} +4 -4
  63. package/dist/{installation-inventory-DBeLPoFK.js.map → installation-inventory-DqxnhTKK.js.map} +1 -1
  64. package/dist/{installer-D7jC-kZ8.js → installer-BLijIl6G.js} +2 -2
  65. package/dist/{installer-D7jC-kZ8.js.map → installer-BLijIl6G.js.map} +1 -1
  66. package/dist/{lock-CQFhdvaP.js → lock-CDdQw0gQ.js} +3 -3
  67. package/dist/{lock-CQFhdvaP.js.map → lock-CDdQw0gQ.js.map} +1 -1
  68. package/dist/{meta-api-DShk3N0P.js → meta-api-C0lRMWF1.js} +7 -7
  69. package/dist/{meta-api-DShk3N0P.js.map → meta-api-C0lRMWF1.js.map} +1 -1
  70. package/dist/{openmeld-BDFzsUJD.js → openmeld-CqNDufaW.js} +242 -80
  71. package/dist/openmeld-CqNDufaW.js.map +1 -0
  72. package/dist/{openmeld-dev-environment-CH-yzIwz.js → openmeld-dev-environment-C82HhyXf.js} +3 -3
  73. package/dist/{openmeld-dev-environment-CH-yzIwz.js.map → openmeld-dev-environment-C82HhyXf.js.map} +1 -1
  74. package/dist/openmeld-dev.js +1 -1
  75. package/dist/{openmeld-environment-target-HaW1thp0.js → openmeld-environment-target-BftVniKn.js} +3 -3
  76. package/dist/{openmeld-environment-target-HaW1thp0.js.map → openmeld-environment-target-BftVniKn.js.map} +1 -1
  77. package/dist/{openmeld-maintenance-worker-CW1XvLld.js → openmeld-maintenance-worker-DytPVNCO.js} +14 -14
  78. package/dist/{openmeld-maintenance-worker-CW1XvLld.js.map → openmeld-maintenance-worker-DytPVNCO.js.map} +1 -1
  79. package/dist/{openmeld-tools-update-join-BDvMjcgR.js → openmeld-tools-update-join-BJjSaiMY.js} +4 -4
  80. package/dist/{openmeld-tools-update-join-BDvMjcgR.js.map → openmeld-tools-update-join-BJjSaiMY.js.map} +1 -1
  81. package/dist/{openmeld-tools-update-process-frame-BMkLsP-X.js → openmeld-tools-update-process-frame-Cl_LpsK-.js} +2 -2
  82. package/dist/{openmeld-tools-update-process-frame-BMkLsP-X.js.map → openmeld-tools-update-process-frame-Cl_LpsK-.js.map} +1 -1
  83. package/dist/{openmeld-tools-update-process-frame-ItmBvvWj.js → openmeld-tools-update-process-frame-Ct-7vlfE.js} +1 -1
  84. package/dist/openmeld.js +7 -7
  85. package/dist/{prepare-provider-runtime-DhhvHw2L.js → prepare-provider-runtime-N0uP2aUG.js} +202 -48
  86. package/dist/prepare-provider-runtime-N0uP2aUG.js.map +1 -0
  87. package/dist/{prepare-session-executor-5Z3oB8-Q.js → prepare-session-executor-BE3fbwgb.js} +25 -25
  88. package/dist/{prepare-session-executor-5Z3oB8-Q.js.map → prepare-session-executor-BE3fbwgb.js.map} +1 -1
  89. package/dist/{process-channel-fA0oIFwo.js → process-channel-BYaPF16N.js} +2 -2
  90. package/dist/{process-channel-fA0oIFwo.js.map → process-channel-BYaPF16N.js.map} +1 -1
  91. package/dist/{process-identity-h1RYDsRm.js → process-identity-DtRa8niy.js} +2 -2
  92. package/dist/{process-identity-h1RYDsRm.js.map → process-identity-DtRa8niy.js.map} +1 -1
  93. package/dist/{runtime-vNZr9nYr.js → runtime-CUN9BLfZ.js} +18 -18
  94. package/dist/{runtime-vNZr9nYr.js.map → runtime-CUN9BLfZ.js.map} +1 -1
  95. package/dist/{runtime-agent-controller-reporting-submission-pzz0mnop.js → runtime-agent-controller-reporting-submission-YtLJgQc7.js} +19 -18
  96. package/dist/runtime-agent-controller-reporting-submission-YtLJgQc7.js.map +1 -0
  97. package/dist/{service-Brjwa0y-.js → service-DRRVlSkR.js} +30 -30
  98. package/dist/{service-Brjwa0y-.js.map → service-DRRVlSkR.js.map} +1 -1
  99. package/dist/{service-account-authorization-CVXFWWFz.js → service-account-authorization-CYcUJnZy.js} +5 -5
  100. package/dist/{service-account-authorization-CVXFWWFz.js.map → service-account-authorization-CYcUJnZy.js.map} +1 -1
  101. package/dist/{service-account-control-B83yP5td.js → service-account-control-BgG4jYZx.js} +15 -15
  102. package/dist/{service-account-control-B83yP5td.js.map → service-account-control-BgG4jYZx.js.map} +1 -1
  103. package/dist/{service-control-capabilities-hJsej7r9.js → service-control-capabilities-CMRn_qRT.js} +1 -1
  104. package/dist/{service-control-capabilities-tPkB_Y2r.js → service-control-capabilities-DGqKBhqm.js} +6 -6
  105. package/dist/{service-control-capabilities-tPkB_Y2r.js.map → service-control-capabilities-DGqKBhqm.js.map} +1 -1
  106. package/dist/{service-control-carrier-capability-BHDHrAM6.js → service-control-carrier-capability-nAOgdIbf.js} +3 -3
  107. package/dist/{service-control-carrier-capability-BHDHrAM6.js.map → service-control-carrier-capability-nAOgdIbf.js.map} +1 -1
  108. package/dist/{state-BfEuAKey.js → state-CBWBsV1X.js} +3 -3
  109. package/dist/{state-BfEuAKey.js.map → state-CBWBsV1X.js.map} +1 -1
  110. package/dist/{updates-api-Di3X7kE6.js → updates-api-ByctphEr.js} +14 -14
  111. package/dist/{updates-api-Di3X7kE6.js.map → updates-api-ByctphEr.js.map} +1 -1
  112. package/dist/upgrade-CmJmtVMq.js +4 -0
  113. package/dist/{upgrade-CZFBzUVJ.js → upgrade-CwXxojfd.js} +9 -9
  114. package/dist/{upgrade-CZFBzUVJ.js.map → upgrade-CwXxojfd.js.map} +1 -1
  115. package/dist/{windows-managed-install-CjezNYP9.js → windows-managed-install-BDtTogaf.js} +2 -2
  116. package/dist/{windows-managed-install-CjezNYP9.js.map → windows-managed-install-BDtTogaf.js.map} +1 -1
  117. package/dist/{windows-preview-channel-C490Y8Pp.js → windows-preview-channel-TEVn7puE.js} +3 -3
  118. package/dist/{windows-preview-channel-C490Y8Pp.js.map → windows-preview-channel-TEVn7puE.js.map} +1 -1
  119. package/dist/{windows-task-command-kvlBePc4.js → windows-task-command-uUPXFssY.js} +2 -2
  120. package/dist/{windows-task-command-kvlBePc4.js.map → windows-task-command-uUPXFssY.js.map} +1 -1
  121. package/dist/{windows-task-entry-ChkamueB.js → windows-task-entry-1fvdlQ-1.js} +3 -3
  122. package/dist/{windows-task-entry-ChkamueB.js.map → windows-task-entry-1fvdlQ-1.js.map} +1 -1
  123. package/dist/{windows-user-task-WDpgqEc_.js → windows-user-task-CpyMMEiK.js} +1 -1
  124. package/dist/{windows-user-task-DJC_qza0.js → windows-user-task-Dfg4k6bI.js} +6 -6
  125. package/dist/{windows-user-task-DJC_qza0.js.map → windows-user-task-Dfg4k6bI.js.map} +1 -1
  126. package/package.json +14 -14
  127. package/dist/auth-session-D0XyaS3F.js +0 -4
  128. package/dist/command-ByRe3oUP.js.map +0 -1
  129. package/dist/daemon-service-update-coordinator-h_n5_IqX.js.map +0 -1
  130. package/dist/dist-Bk1WQ99A.js.map +0 -1
  131. package/dist/dist-s07-4slK.js +0 -4
  132. package/dist/openmeld-BDFzsUJD.js.map +0 -1
  133. package/dist/prepare-provider-runtime-DhhvHw2L.js.map +0 -1
  134. package/dist/runtime-agent-controller-reporting-submission-pzz0mnop.js.map +0 -1
  135. package/dist/upgrade-C8HTdUrA.js +0 -4
@@ -1,40 +1,40 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { At as ensureOpenMeldManagedProfileWorkspace, Bt as describeProfileWorkspacePathValidationFailure, C as createModelCatalogReadSession, Dr as peopleComputerContainsDevice, E as resolveProfileWorkspaceRuntime, Er as parseAgentControllerRef, Et as listBuiltinAgentsRegistryEntries, Fr as resolveEvidenceSyncHealth, Ft as resolveConfiguredProfileWorkspacePath, G as notifyDaemonRouteCatalogChanged, I as listAgentTargetStates, Ir as resolveNativeAgentControllerPermissionModeForController, Lt as setCustomProfileWorkspace, Mr as resolveAgentControllerPermissionModeForController, Mt as readProfileWorkspaceConfig, Nr as resolveAgentExecutionStatus, O as syncDeviceRuntimeStateProjection, Or as projectPeopleComputersToLegacyLocalRuntimes, Pr as resolveAgentProfileEditCapabilities, Rt as setOpenMeldManagedProfileWorkspace, S as syncProfileWorkspaceState, St as canonicalizeLocalProjectPath, Tr as listAgentControllerPermissionModeOptions, Z as resolveLocalRegistryAgentIdFromAgentControllerRef, _t as removeProjectConnection, br as getAgentControllerPermissionModeDisplayMetadata, bt as setDefaultProjectConnection, ft as listProjectBindings, j as resolveAgentProfilePrimaryAgentControllerReport, jt as normalizeCustomProfileWorkspacePath, k as createPrimaryBindingReadSession, lt as bindProject, mt as migrateProjectBindingStore, pt as listProjectConnectionsWithStatus, st as ProjectBindingOperationError, vr as createAgentExecutionStatusDisplayRows, xr as getAgentControllerPermissionModeFieldLabel, xt as unbindProject, yt as runIfAgentActivityBindingGenerationIsCurrent, zt as validateCustomProfileWorkspacePath } from "./prepare-provider-runtime-DhhvHw2L.js";
4
- import { A as toSpaceBoardUrl, E as updateConfiguredStartV1OnboardingState, F as toSpaceDispatchLookupUrl, H as toSpaceResultUrl, I as toSpaceDispatchTraceUrl, O as normalizeBaseUrl, S as setConfiguredSkillsConfig, a as resolveBaseUrl, b as setConfiguredBaseUrl, c as resolveExplicitGatewayUrlOrThrow, g as getConfiguredSkillsConfig, j as toSpaceContractUrl, m as getConfiguredOnboardingDisclaimerAcceptedAt, o as resolveBaseUrlOrNull, u as alignRuntimeConfigStorage, w as updateConfiguredOnboardingConfig } from "./base-url-B9lLWy47.js";
3
+ import { At as ensureOpenMeldManagedProfileWorkspace, Bt as describeProfileWorkspacePathValidationFailure, C as createModelCatalogReadSession, Dr as peopleComputerContainsDevice, E as resolveProfileWorkspaceRuntime, Er as parseAgentControllerRef, Et as listBuiltinAgentsRegistryEntries, Fr as resolveEvidenceSyncHealth, Ft as resolveConfiguredProfileWorkspacePath, G as notifyDaemonRouteCatalogChanged, I as listAgentTargetStates, Ir as resolveNativeAgentControllerPermissionModeForController, Lt as setCustomProfileWorkspace, Mr as resolveAgentControllerPermissionModeForController, Mt as readProfileWorkspaceConfig, Nn as checkAntigravityAcpAccount, Nr as resolveAgentExecutionStatus, O as syncDeviceRuntimeStateProjection, Or as projectPeopleComputersToLegacyLocalRuntimes, Pn as isAntigravityAcpLaunchContract, Pr as resolveAgentProfileEditCapabilities, Rt as setOpenMeldManagedProfileWorkspace, S as syncProfileWorkspaceState, St as canonicalizeLocalProjectPath, Tr as listAgentControllerPermissionModeOptions, V as resolveAgentTargetState, Z as resolveLocalRegistryAgentIdFromAgentControllerRef, _t as removeProjectConnection, br as getAgentControllerPermissionModeDisplayMetadata, bt as setDefaultProjectConnection, ft as listProjectBindings, j as resolveAgentProfilePrimaryAgentControllerReport, jt as normalizeCustomProfileWorkspacePath, k as createPrimaryBindingReadSession, lt as bindProject, mt as migrateProjectBindingStore, pt as listProjectConnectionsWithStatus, st as ProjectBindingOperationError, vr as createAgentExecutionStatusDisplayRows, xr as getAgentControllerPermissionModeFieldLabel, xt as unbindProject, yt as runIfAgentActivityBindingGenerationIsCurrent, zt as validateCustomProfileWorkspacePath } from "./prepare-provider-runtime-N0uP2aUG.js";
4
+ import { A as toSpaceBoardUrl, E as updateConfiguredStartV1OnboardingState, F as toSpaceDispatchLookupUrl, H as toSpaceResultUrl, I as toSpaceDispatchTraceUrl, O as normalizeBaseUrl, S as setConfiguredSkillsConfig, a as resolveBaseUrl, b as setConfiguredBaseUrl, c as resolveExplicitGatewayUrlOrThrow, g as getConfiguredSkillsConfig, j as toSpaceContractUrl, m as getConfiguredOnboardingDisclaimerAcceptedAt, o as resolveBaseUrlOrNull, u as alignRuntimeConfigStorage, w as updateConfiguredOnboardingConfig } from "./base-url-BMrQwJW4.js";
5
5
  import { A as profileDir, D as openMeldRootDir, F as resolveOpenMeldRootDir, H as spacesDir, N as resolveOpenMeldCliEntryNameFromArgv, P as resolveOpenMeldEnvPreset, S as openMeldBinDir, U as systemDir, V as skillsDir, i as accountProfileViewPath, j as profileViewPath, o as accountsDir, r as accountProfileSpaceCacheDir, x as openMeldBackupsDir, y as normalizeAccountKey } from "./paths-De9xdA2h.js";
6
- import { r as resolveAuthBaseUrl } from "./auth-url-xkcTUIuG.js";
7
- import { Bo as cliJsonSkillsAddEnvelopeSchema, Eu as resolveSpaceDispatchTraceRootCause, Fc as centerAgentOrganizationScopeSchema, Go as cliJsonSkillsShowEnvelopeSchema, Ho as cliJsonSkillsListEnvelopeSchema, I as formatLocalMachineIssueMessage, Kg as agentActivityProviderSchema, Lw as spaceWorkSelectionSchema, MO as runtimeTransportAdmissionEvidenceSchema, Pw as spaceWorkHandoffSchema, Qr as createAgentProfileCreationRequestBodySchema, Rs as submitFeedbackIssueRequestSchema, Rw as spaceWorkingCopyResultSchema, Sm as ownerComputerDiagnosticsSchema, Su as projectSpaceDispatchTraceFinalVisibleOutcome, Tm as summarizeComputerFileAccessPolicy, Tu as resolveRuntimeCoordinatorHeadStatusRootCause, Uo as cliJsonSkillsLoadEnvelopeSchema, Vo as cliJsonSkillsAddPreviewEnvelopeSchema, Vr as DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION, Wo as cliJsonSkillsScanEnvelopeSchema, Wr as agentProfileCreationConfigurationSchema, Xg as agentActivitySessionStatusSchema, Yt as spaceEntryTargetSchema, Zd as ORGANIZATION_SKILL_BUNDLE_MAX_BYTES, Zg as agentActivitySnapshotQuerySchema, Zs as sessionHistoryReadSchema, Zt as getSpaceDispatchLookupResponseSchema, _f as organizationSkillFileSchema, _n as patchSpaceContractBodySchema, aL as SPACE_FILE_MAX_SIZE_BYTES, aj as computerConnectionIntentSchema, as as organizationJoinLinkErrorResponseSchema, bc as setupPlanAgentViewPayloadSchema, bu as SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER, dM as daemonServiceLaneSchema, ef as ORGANIZATION_SKILL_FILE_MAX_BYTES, es as acceptOrganizationJoinLinkBodySchema, fI as compareAgentControllerRefsForDisplay, fd as observabilityWakeTraceSelectorSchema, gc as structuredGuidePayloadFromInputSchema, gg as routineScopeSchema, gn as getSpaceContractResponseSchema, hL as resolveSpaceFileMimeType, jN as agentActivitySessionInventoryQuerySchema, jn as pluginActionRequestSchema, kw as centerAgentInteractionSourceSchema, ls as revokeOrganizationJoinLinkResponseSchema, mO as agentInteractionResponseSchema, ns as getOrganizationJoinLinkResponseSchema, o as spaceInvitationRequestSchema, oL as SPACE_FILE_RAW_UPLOAD_MAX_BYTES, os as organizationJoinLinkManagementQuerySchema, ov as organizationJoinRequestInputSchema, pd as projectObservabilityWakeCorrelation, q as getSpaceDispatchResultResponseSchema, qu as spaceDispatchTraceResponseSchema, s as spaceInvitationResponseSchema, sv as organizationJoinRequestResponseSchema, tc as sessionHistoryResultSchema, uL as isSpaceFileTextEditable, vc as SETUP_PLAN_AGENT_VIEW_CODE, vn as patchSpaceContractResponseSchema, wm as projectOwnerComputerLocalRuntimes, wn as spaceBoardResponseSchema, xo as cliJsonOutputEnvelopeSchema, yc as setupPlanAgentViewEventSchema, zo as cliJsonSkillsAddAllEnvelopeSchema } from "./dist-Bk1WQ99A.js";
8
- import { D as isLocalMachineFailureError, O as toRecognizedLocalMachineFailureError, S as LocalMachineFailureError, T as createOrphanedSetupConcurrencyIssue, _ as resolveCliContext, a as isOpenMeldOrphanedLockError, b as formatLaneScopeSentence, c as releaseLockSync, d as runWithHeldLock, i as isOpenMeldLockError, l as repairOrphanedLegacyLocks, m as OPENMELD_CLI_CONTEXT_ENV_KEY, p as LEGACY_OPENMELD_AGENT_SESSION_ENV_KEY, r as buildOpenMeldOrphanedLockAction, t as acquireLock, u as resolveOpenMeldOrphanedLockIssue, w as createActiveSetupConcurrencyIssue, x as resolveOpenMeldLaneDescriptor } from "./lock-CQFhdvaP.js";
9
- import { a as activateWindowsManagedCommand } from "./process-identity-h1RYDsRm.js";
10
- import { Bt as createAgentActivityApi, Ht as createAgentProfileExecutionModeApi, Qt as createFeedbackApi, Rn as postSpaceWorkHandoff, Vt as createAgentProfileBindingApi, Wt as createCenterAgentApi, Xt as createCurrentDeviceApi, Yn as toStructuredApiClientFailure, _n as createRoutinesApi, bn as createSessionHistoryApi, dn as createPluginsApi, dr as OPENMELD_HEADER_PROFILE_ID, en as createFileRootApi, fn as createPrepareReadinessApi, hn as createProjectsApi, ln as createOrganizationSkillsApi, mr as OPENMELD_HEADER_SPACE_ADDRESSING_VERSION, qt as createComputerFileAccessApi, sn as createOrganizationApi } from "./dist-Nhlf_Xfo.js";
11
- import { A as resolveAuthenticationGuidanceFromError, C as buildAgentAuthenticationGuide, D as createAuthenticationError, E as buildHumanAuthenticationCard, N as getProfileDefaultView, P as setProfileDefaultView, S as setSelectedOpenMeldProfileId, a as requireOpenMeldProfile, b as clearSelectedOpenMeldProfileId, c as createOpenMeldHumanProfile, d as listOpenMeldProfiles, f as primeOpenMeldProfilesSessionCache, i as isSelectedOpenMeldProfileRequiredError, j as resolveAuthenticationGuidanceFromMessage, k as resolveAuthenticationGuidance, l as deleteOpenMeldProfile, m as updateOpenMeldProfile, n as resolveRuntimeContext, o as resolveOpenMeldProfileOrNull, p as resolveOpenMeldProfile, r as resolveViewProfileKey, s as createOpenMeldAgentProfile, t as parseCliViewMode, v as alignSelectedOpenMeldProfileStorage, x as getSelectedOpenMeldProfileId } from "./context-CtpDI4OE.js";
6
+ import { r as resolveAuthBaseUrl } from "./auth-url-D5LMD4E8.js";
7
+ import { $r as createAgentProfileCreationRequestBodySchema, Aw as centerAgentInteractionSourceSchema, Bo as cliJsonSkillsAddAllEnvelopeSchema, Cm as ownerComputerDiagnosticsSchema, Cu as projectSpaceDispatchTraceFinalVisibleOutcome, Du as resolveSpaceDispatchTraceRootCause, Em as summarizeComputerFileAccessPolicy, Eu as resolveRuntimeCoordinatorHeadStatusRootCause, Fw as spaceWorkHandoffSchema, Go as cliJsonSkillsScanEnvelopeSchema, Gr as agentProfileCreationConfigurationSchema, Ho as cliJsonSkillsAddPreviewEnvelopeSchema, Hr as DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION, I as formatLocalMachineIssueMessage, Ic as centerAgentOrganizationScopeSchema, J as spacePublishedDispatchResultSchema, Ju as spaceDispatchTraceResponseSchema, Ko as cliJsonSkillsShowEnvelopeSchema, MN as agentActivitySessionInventoryQuerySchema, Mn as pluginActionRequestSchema, NO as runtimeTransportAdmissionEvidenceSchema, Qd as ORGANIZATION_SKILL_BUNDLE_MAX_BYTES, Qg as agentActivitySnapshotQuerySchema, Qs as sessionHistoryReadSchema, Qt as getSpaceDispatchLookupResponseSchema, Rw as spaceWorkSelectionSchema, So as cliJsonOutputEnvelopeSchema, Tm as projectOwnerComputerLocalRuntimes, Tn as spaceBoardResponseSchema, Uo as cliJsonSkillsListEnvelopeSchema, Vo as cliJsonSkillsAddEnvelopeSchema, Wo as cliJsonSkillsLoadEnvelopeSchema, Xt as spaceEntryTargetSchema, Zg as agentActivitySessionStatusSchema, _c as structuredGuidePayloadFromInputSchema, _g as routineScopeSchema, _n as getSpaceContractResponseSchema, bc as setupPlanAgentViewEventSchema, cv as organizationJoinRequestResponseSchema, fM as daemonServiceLaneSchema, hO as agentInteractionResponseSchema, md as projectObservabilityWakeCorrelation, nc as sessionHistoryResultSchema, o as spaceInvitationRequestSchema, oL as SPACE_FILE_MAX_SIZE_BYTES, oj as computerConnectionIntentSchema, os as organizationJoinLinkErrorResponseSchema, pI as compareAgentControllerRefsForDisplay, pL as isSpaceFileTextReadable, pd as observabilityWakeTraceSelectorSchema, q as getSpaceDispatchResultResponseSchema, qg as agentActivityProviderSchema, rs as getOrganizationJoinLinkResponseSchema, s as spaceInvitationResponseSchema, sL as SPACE_FILE_RAW_UPLOAD_MAX_BYTES, ss as organizationJoinLinkManagementQuerySchema, sv as organizationJoinRequestInputSchema, tf as ORGANIZATION_SKILL_FILE_MAX_BYTES, ts as acceptOrganizationJoinLinkBodySchema, us as revokeOrganizationJoinLinkResponseSchema, vL as readSpaceFileTextStream, vf as organizationSkillFileSchema, vn as patchSpaceContractBodySchema, xc as setupPlanAgentViewPayloadSchema, xu as SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER, yL as resolveSpaceFileMimeType, yc as SETUP_PLAN_AGENT_VIEW_CODE, yn as patchSpaceContractResponseSchema, zs as submitFeedbackIssueRequestSchema, zw as spaceWorkingCopyResultSchema } from "./dist-Dx5paVZY.js";
8
+ import { D as isLocalMachineFailureError, O as toRecognizedLocalMachineFailureError, S as LocalMachineFailureError, T as createOrphanedSetupConcurrencyIssue, _ as resolveCliContext, a as isOpenMeldOrphanedLockError, b as formatLaneScopeSentence, c as releaseLockSync, d as runWithHeldLock, i as isOpenMeldLockError, l as repairOrphanedLegacyLocks, m as OPENMELD_CLI_CONTEXT_ENV_KEY, p as LEGACY_OPENMELD_AGENT_SESSION_ENV_KEY, r as buildOpenMeldOrphanedLockAction, t as acquireLock, u as resolveOpenMeldOrphanedLockIssue, w as createActiveSetupConcurrencyIssue, x as resolveOpenMeldLaneDescriptor } from "./lock-CDdQw0gQ.js";
9
+ import { a as activateWindowsManagedCommand } from "./process-identity-DtRa8niy.js";
10
+ import { Bt as createAgentActivityApi, Ht as createAgentProfileExecutionModeApi, Qt as createFeedbackApi, Rn as postSpaceWorkHandoff, Vt as createAgentProfileBindingApi, Wt as createCenterAgentApi, Xt as createCurrentDeviceApi, Yn as toStructuredApiClientFailure, _n as createRoutinesApi, bn as createSessionHistoryApi, dn as createPluginsApi, dr as OPENMELD_HEADER_PROFILE_ID, en as createFileRootApi, fn as createPrepareReadinessApi, hn as createProjectsApi, ln as createOrganizationSkillsApi, mr as OPENMELD_HEADER_SPACE_ADDRESSING_VERSION, qt as createComputerFileAccessApi, sn as createOrganizationApi } from "./dist-BJy9X73H.js";
11
+ import { A as resolveAuthenticationGuidanceFromError, C as buildAgentAuthenticationGuide, D as createAuthenticationError, E as buildHumanAuthenticationCard, N as getProfileDefaultView, P as setProfileDefaultView, S as setSelectedOpenMeldProfileId, a as requireOpenMeldProfile, b as clearSelectedOpenMeldProfileId, c as createOpenMeldHumanProfile, d as listOpenMeldProfiles, f as primeOpenMeldProfilesSessionCache, i as isSelectedOpenMeldProfileRequiredError, j as resolveAuthenticationGuidanceFromMessage, k as resolveAuthenticationGuidance, l as deleteOpenMeldProfile, m as updateOpenMeldProfile, n as resolveRuntimeContext, o as resolveOpenMeldProfileOrNull, p as resolveOpenMeldProfile, r as resolveViewProfileKey, s as createOpenMeldAgentProfile, t as parseCliViewMode, v as alignSelectedOpenMeldProfileStorage, x as getSelectedOpenMeldProfileId } from "./context-BT5P1qqr.js";
12
12
  import { a as formatOpenMeldCliTextBlock, c as resolveSetupFollowUpCliEntryCommand, i as formatOpenMeldCliLine, l as resolveUserFacingCliEntryCommand, n as formatOpenMeldCliCommand, r as formatOpenMeldCliCommands, s as formatProfileAwareOpenMeldCliCommands, t as formatInlineOpenMeldCliCommands } from "./cli-entry-command-CR_9QU1i.js";
13
- import { D 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, w as updateAuthSessionActiveOrganization } from "./auth-session-gCSwPpKk.js";
13
+ import { D 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, w as updateAuthSessionActiveOrganization } from "./auth-session-mNZMZihh.js";
14
14
  import { n as resolveOpenMeldDistribution, t as isBinaryDistribution } from "./distribution-BDQT2ilb.js";
15
- import { A as getDaemonStatus } from "./daemon-state-BpDMuV9q.js";
15
+ import { A as getDaemonStatus } from "./daemon-state-B8L0_xPT.js";
16
16
  import { a as outJsonLine, i as errLine, n as sanitizeTerminalDisplayText, o as outLine, r as formatMessage, t as createPresenter } from "./presenter-DiP7Yh2y.js";
17
- import { c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, n as fetchSpaceRequestWithTimeout, p as deriveAuthBaseUrlFromGatewayUrl, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-K-xme5wi.js";
18
- import { i as readDaemonServiceContract } from "./daemon-service-contract-BliSi2Kx.js";
19
- import { t as resolveOpenMeldEnvironmentTarget } from "./openmeld-environment-target-HaW1thp0.js";
20
- import { r as runServiceAccountCarrier } from "./service-account-authorization-CVXFWWFz.js";
21
- import { b as requestLocalAgentActivitySync, d as compareSemver, f as ensureVersionStateReady, l as OPENMELD_VERSION, y as LocalDaemonControlPlaneClientError } from "./daemon-lifecycle-journal-kn_V27_x.js";
22
- import { G as readManagedCliInstallation, H as buildInstallSelfJsonPayload, U as performManagedInstall, r as readCurrentDaemonRuntimeContext } from "./daemon-service-runtime-DVX0kCDI.js";
23
- import { A as formatDeviceReplyReadinessLabel, B as resolveGatewayChainReadiness, Bt as readCurrentLocalDeviceId, Ft as resolveCurrentDaemonExpectedVersion, Ht as isCliUpdateCheckApplicable, J as getSetupFlowCopy, K as buildDaemonRouteObservationPresentation$1, Lt as assessServerRequiredVersion, N as mapAgentReplyReadinessToLegacyAutoReply, Nt as classifyDaemonServiceRunStartability, O as resolveCurrentReplyReadinessSnapshot, Pt as classifyDaemonServiceWakeability, T as resolveDaemonServiceFreshnessWarning, U as resolveOpenClawLocalDiagnosticsValue, Vt as assessCliUpdate, _ as resolveServiceReadinessFromServiceStatus, j as formatHumanReplyReadinessReason$1, k as formatAgentReplyReadinessLabel, pt as inspectDaemonServiceInventory, q as buildOnboardingPlan, t as runPendingDaemonServiceUpdate } from "./daemon-service-update-coordinator-h_n5_IqX.js";
24
- import { $ as buildAuthStatusSnapshot, B as resolveDaemonServiceParticipationStatus, C as buildProfileWorkspaceRows, E as emitDaemonAgentOverview, F as emitCliJsonEnvelope, G as ensureCommandAuthenticationOrCancel, H as validateLocalProjectConnectionPath, I as runDaemonStartupPreflight, J as runAuthLogout, K as evaluateCommandAuthentication, M as buildHumanErrorCopy, N as renderHumanErrorCard, O as shouldEmitAgentOverview, P as renderHumanTextErrorCard, Q as buildAuthStatusRows, R as resolveLocalComponentsStatus, S as buildProfileWorkspacePresentation, V as LocalProjectConnectionError, W as buildCommandAuthenticationPromptMessage, X as runAuthStatus, Y as runAuthMenu, Z as exchangeOneTimeTokenAuthSession, a as runDaemonBackgroundStartForDecision, at as promptTextEntry, c as runDaemonInterrupt, ct as finishCurrentCommandCheckScope, dt as resetCurrentCommandCheckState, et as formatActiveOrganizationLabel, f as runDaemonSnapshot, ft as startCurrentCommandCheckScope, g as runDaemonUninstall, h as runDaemonTeardownStrict, i as runDaemonAutostart, j as runDaemonStartDecisionPrompt, l as runDaemonReinstall, lt as getCurrentCommandCheckState, m as runDaemonStop, n as isManagedSystemServiceBootstrapRun, nt as renderInfoCard, o as runDaemonCancel, ot as isReturnKeypress, p as runDaemonStatusFlow, q as runAuthLogin, r as runDaemon, rt as renderTextInfoCard, s as runDaemonInstall, st as runInteractivePrompt, t as bestEffortStopCurrentLaneDaemonService, u as runDaemonRunAfterEntryChecks, ut as isCurrentCommandCheckScopeActive, w as reconcileCliVersionView, x as resolveServiceParticipationReadiness, y as formatServiceParticipationReadinessLabel, z as writeInstalledLocalComponentsSnapshot } from "./service-Brjwa0y-.js";
25
- import { $ as getCommandHintsFromContract, A as createSpaceUpdatesGuideError, D as createSpaceSubcommandTargetGuideError, Dt as formatAgentOverviewPayload, Et as buildDualViewGuideMessage, G as canonicalizeAllowedActions, L as areAllowedActionsEquivalent, M as createStartAuthenticationGuideError, O as createSpaceTargetGuideError, P as OPENMELD_AGENT_MENTAL_MODEL_LINES, S as createSpaceResultGuideError, Tt as formatDualViewGuideForDisplay, a as createProfileMenuGuideError, at as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, d as createSpaceContractSetGuideError, g as createSpaceMenuGuideError, gt as registerAuthLoginRequestOptions, h as createSpaceLeaveGuideError, i as createProfileCreateGuideError, j as createStartAgentIdentityGuideError, l as createSpaceAddMembersGuideError, mt as registerDaemonControlTargetOptions, n as createDoctorFailedGuideError, nt as registerSpaceMemberSelectionOptions, o as createResetConfirmationGuideError, pt as getCliVersionInfo, r as createProfileActionGuideError, u as createSpaceAliasTargetGuideError, ut as registerSkillsTargetSelectionOptions, v as createSpacePublicationSetGuideError, wt as DualViewGuideError, x as createSpaceRemoveMembersGuideError, xt as registerBuiltinAgentSelectionOptions, z as buildAgentFacingPublicationModeGuideLines } from "./dual-view-guide-catalog-DAVm97ep.js";
26
- import { g as canUseInteractivePrompts } from "./elapsed-time-Bgx9MoTj.js";
27
- import { A as buildAgentActivityEvent, B as readAgentActivityOutboxHealth, Bt as buildPublicSpaceEntryUrl, F as enqueueAgentActivityHookEvent, G as buildCanonicalRepositoryUrl, H as removeProjectOutbox, Ht as buildSignalMessageReadProjection, I as removeProjectInbox, Jt as buildSpaceRoundReadProjection, Lt as buildDispatchResultMessageReadProjection, M as normalizeSharedSessionTitle, N as readCodexSessionTitles, Nt as upsertSpaceConfig, Rt as buildDispatchResultReplyWorkflowProjection, S as readOpenMeldCreatedLocalAgentSessionProjectAttributions, St as inspectSpaceCacheFile, T as resolveOpenMeldCreatedLocalAgentSessionProjectAttribution, Vt as buildSignalIndex, Xt as buildUpdatesReplyWorkflowProjection, en as createSpaceMemberIdentityIndex, i as readDispatchOwnedRuntimeGuard, in as formatRemovedCcRelationMessage, j as resolveObservedAgentActivityBinding, ot as readRecentDaemonDispatchJournalEvents, t as assertDispatchOwnedRuntimePublicWriteAllowed, u as readDispatchSpaceActionContextFromEnv } from "./dispatch-owned-runtime-BTPAd3rO.js";
28
- import { d as readSelectedSkillDocument, r as ensureLocalSkills } from "./state-BfEuAKey.js";
29
- import { n as collectSkillsReadinessSnapshot } from "./installation-inventory-DBeLPoFK.js";
30
- import { t as runServiceAccountControl } from "./service-account-control-B83yP5td.js";
31
- 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-5Z3oB8-Q.js";
32
- 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-Bys2Xt-r.js";
33
- import { n as submitProfileRuntimeAgentControllerReport, r as submitRuntimeAgentControllerReport } from "./runtime-agent-controller-reporting-submission-pzz0mnop.js";
34
- 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-CZFBzUVJ.js";
35
- import { A as readAgentActivityContextForPath, B as installAgentActivityIntegrations, F as registerAgentActivityRoute, H as resolveAgentActivityDispatcherCommand, I as resolveAgentActivityRouteForPath, L as unregisterAgentActivityRoute, M as enqueueControllerTaskLifecycleEventWhileLocked, N as readControllerTaskLifecycleOutboxHealth, O as syncLocalAgentActivity, P as isAgentActivityRouteRegistered, S as readRuntimeReportingHealthState, U as uninstallAgentActivityIntegrations, V as readAgentActivityIntegrationStatus, c as runDirectMessage, d as runSpaceActionSilent, f as runSpaceActionStatus, i as materializeOrganizationSkillRelease, j as removeAgentActivityContextCache, l as runSpaceActionHelp, m as runSpaceActionWake, n as createSpaceWorkingCopies, o as runSpaceActionMcpServer, p as runSpaceActionTargets, r as downloadWorkingCopyFile, t as fetchSpaceUpdates, u as runSpaceActionReply, z as defaultManagedIntegrationPaths } from "./updates-api-Di3X7kE6.js";
36
- import { c as toStructuredGatewayFailure, d as resolveSpaceSendText, f as resolveSpaceTaskSelection, h as createCliSpaceApi, l as parseJsonResponse, n as updateSpaceMeta, o as readGatewayJsonResponse, s as readGatewayTextResponse, t as fetchSpaceMeta, u as resolveCliProjectWork } from "./meta-api-DShk3N0P.js";
37
- import { A as assertFullSignalIdArgument, B as resolveAgentProfileSetup, C as buildFormalSignalReadPayload, D as resolveOrganizationVisibilityLabel, E as resolveLinkAccessLabel, F as emitSpaceCliAgentOverview, G as renderOpenMeldHeader, H as colorizeDisplayProfileLabel, I as prepareLocalAgentReadiness, J as createProfileByKind, K as renderOpenMeldLogo, L as buildReplyReadinessGuidance, M as prepareAuthenticatedSpaceCommandContext, N as resolveOpenMeldProfileForSpaceCommand, O as parseEnvelope, P as emitSpaceAgentOverview, Q as assessActionParticipationCandidate, R as resolveHumanControllerDisplayName, S as buildFormalDispatchResultReadPayload, T as formatHumanReadTargetList, U as printOpenMeldBanner, V as colorizeAgentLabel, W as renderOpenMeldBrandBlockLines, X as resolveCreateProfileName, Y as resolveCreateProfileKind, Z as ensureAgentProfileRuntimeBinding, _ as emitHumanReadSignalsTextProjection, a as runSpaceDelete, b as loadSpaceSignalIndexOrNull, c as runSpaceLeave, d as runSpaceRemoveMembers, f as runSpaceSend, g as buildHumanReadSignalsTranscriptItems, h as runSpaceWriteWithPasswordRetry, i as runSpaceCreate, j as assertValidSpaceIdTarget, k as isSpaceCommandOutputHandledError, l as runSpaceList, m as runSpaceReadWithPasswordRetry, n as promptAndConfirmSpacePassword, o as runSpaceHistory, p as runSpaceWatch, q as renderOpenMeldTagline, r as runSpaceAddMembers, s as runSpaceJoin, t as buildCreateSpacePasswordPromptConfig, u as runSpacePassword, v as buildIdentityOnlyMembersSnapshotForReadProjection, w as buildHumanReplyContextSummary, x as toSpaceMetaUpsertInput, y as loadSpaceIdentityDirectoryOrNull, z as persistAgentTransportSelection } from "./command-ByRe3oUP.js";
17
+ import { c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, n as fetchSpaceRequestWithTimeout, p as deriveAuthBaseUrlFromGatewayUrl, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-BDbeHD1i.js";
18
+ import { i as readDaemonServiceContract } from "./daemon-service-contract-Dkgengx4.js";
19
+ import { t as resolveOpenMeldEnvironmentTarget } from "./openmeld-environment-target-BftVniKn.js";
20
+ import { r as runServiceAccountCarrier } from "./service-account-authorization-CYcUJnZy.js";
21
+ import { b as requestLocalAgentActivitySync, d as compareSemver, f as ensureVersionStateReady, l as OPENMELD_VERSION, y as LocalDaemonControlPlaneClientError } from "./daemon-lifecycle-journal-B2cNyBV2.js";
22
+ import { G as readManagedCliInstallation, H as buildInstallSelfJsonPayload, U as performManagedInstall, r as readCurrentDaemonRuntimeContext } from "./daemon-service-runtime-CQjz4H06.js";
23
+ import { A as formatDeviceReplyReadinessLabel, B as resolveGatewayChainReadiness, Bt as readCurrentLocalDeviceId, Ft as resolveCurrentDaemonExpectedVersion, Ht as isCliUpdateCheckApplicable, J as getSetupFlowCopy, K as buildDaemonRouteObservationPresentation$1, Lt as assessServerRequiredVersion, N as mapAgentReplyReadinessToLegacyAutoReply, Nt as classifyDaemonServiceRunStartability, O as resolveCurrentReplyReadinessSnapshot, Pt as classifyDaemonServiceWakeability, T as resolveDaemonServiceFreshnessWarning, U as resolveOpenClawLocalDiagnosticsValue, Vt as assessCliUpdate, _ as resolveServiceReadinessFromServiceStatus, j as formatHumanReplyReadinessReason$1, k as formatAgentReplyReadinessLabel, pt as inspectDaemonServiceInventory, q as buildOnboardingPlan, t as runPendingDaemonServiceUpdate } from "./daemon-service-update-coordinator-IgXvzOsW.js";
24
+ import { $ as buildAuthStatusSnapshot, B as resolveDaemonServiceParticipationStatus, C as buildProfileWorkspaceRows, E as emitDaemonAgentOverview, F as emitCliJsonEnvelope, G as ensureCommandAuthenticationOrCancel, H as validateLocalProjectConnectionPath, I as runDaemonStartupPreflight, J as runAuthLogout, K as evaluateCommandAuthentication, M as buildHumanErrorCopy, N as renderHumanErrorCard, O as shouldEmitAgentOverview, P as renderHumanTextErrorCard, Q as buildAuthStatusRows, R as resolveLocalComponentsStatus, S as buildProfileWorkspacePresentation, V as LocalProjectConnectionError, W as buildCommandAuthenticationPromptMessage, X as runAuthStatus, Y as runAuthMenu, Z as exchangeOneTimeTokenAuthSession, a as runDaemonBackgroundStartForDecision, at as promptTextEntry, c as runDaemonInterrupt, ct as finishCurrentCommandCheckScope, dt as resetCurrentCommandCheckState, et as formatActiveOrganizationLabel, f as runDaemonSnapshot, ft as startCurrentCommandCheckScope, g as runDaemonUninstall, h as runDaemonTeardownStrict, i as runDaemonAutostart, j as runDaemonStartDecisionPrompt, l as runDaemonReinstall, lt as getCurrentCommandCheckState, m as runDaemonStop, n as isManagedSystemServiceBootstrapRun, nt as renderInfoCard, o as runDaemonCancel, ot as isReturnKeypress, p as runDaemonStatusFlow, q as runAuthLogin, r as runDaemon, rt as renderTextInfoCard, s as runDaemonInstall, st as runInteractivePrompt, t as bestEffortStopCurrentLaneDaemonService, u as runDaemonRunAfterEntryChecks, ut as isCurrentCommandCheckScopeActive, w as reconcileCliVersionView, x as resolveServiceParticipationReadiness, y as formatServiceParticipationReadinessLabel, z as writeInstalledLocalComponentsSnapshot } from "./service-DRRVlSkR.js";
25
+ import { $ as getCommandHintsFromContract, A as createSpaceUpdatesGuideError, D as createSpaceSubcommandTargetGuideError, Dt as formatAgentOverviewPayload, Et as buildDualViewGuideMessage, G as canonicalizeAllowedActions, L as areAllowedActionsEquivalent, M as createStartAuthenticationGuideError, O as createSpaceTargetGuideError, P as OPENMELD_AGENT_MENTAL_MODEL_LINES, S as createSpaceResultGuideError, Tt as formatDualViewGuideForDisplay, a as createProfileMenuGuideError, at as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, d as createSpaceContractSetGuideError, g as createSpaceMenuGuideError, gt as registerAuthLoginRequestOptions, h as createSpaceLeaveGuideError, i as createProfileCreateGuideError, j as createStartAgentIdentityGuideError, l as createSpaceAddMembersGuideError, mt as registerDaemonControlTargetOptions, n as createDoctorFailedGuideError, nt as registerSpaceMemberSelectionOptions, o as createResetConfirmationGuideError, pt as getCliVersionInfo, r as createProfileActionGuideError, u as createSpaceAliasTargetGuideError, ut as registerSkillsTargetSelectionOptions, v as createSpacePublicationSetGuideError, wt as DualViewGuideError, x as createSpaceRemoveMembersGuideError, xt as registerBuiltinAgentSelectionOptions, z as buildAgentFacingPublicationModeGuideLines } from "./dual-view-guide-catalog-Cm8_zKnl.js";
26
+ import { g as canUseInteractivePrompts } from "./elapsed-time-Cu4YZoqK.js";
27
+ import { A as buildAgentActivityEvent, B as readAgentActivityOutboxHealth, Bt as buildPublicSpaceEntryUrl, F as enqueueAgentActivityHookEvent, G as buildCanonicalRepositoryUrl, H as removeProjectOutbox, Ht as buildSignalMessageReadProjection, I as removeProjectInbox, Jt as buildSpaceRoundReadProjection, Lt as buildDispatchResultMessageReadProjection, M as normalizeSharedSessionTitle, N as readCodexSessionTitles, Nt as upsertSpaceConfig, Rt as buildDispatchResultReplyWorkflowProjection, S as readOpenMeldCreatedLocalAgentSessionProjectAttributions, St as inspectSpaceCacheFile, T as resolveOpenMeldCreatedLocalAgentSessionProjectAttribution, Vt as buildSignalIndex, Xt as buildUpdatesReplyWorkflowProjection, en as createSpaceMemberIdentityIndex, i as readDispatchOwnedRuntimeGuard, in as formatRemovedCcRelationMessage, j as resolveObservedAgentActivityBinding, ot as readRecentDaemonDispatchJournalEvents, t as assertDispatchOwnedRuntimePublicWriteAllowed, u as readDispatchSpaceActionContextFromEnv } from "./dispatch-owned-runtime-BxpC_aaI.js";
28
+ import { d as readSelectedSkillDocument, r as ensureLocalSkills } from "./state-CBWBsV1X.js";
29
+ import { n as collectSkillsReadinessSnapshot } from "./installation-inventory-DqxnhTKK.js";
30
+ import { t as runServiceAccountControl } from "./service-account-control-BgG4jYZx.js";
31
+ 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-BE3fbwgb.js";
32
+ 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-rbrzsUPC.js";
33
+ import { n as submitProfileRuntimeAgentControllerReport, p as withProbeWorkingDirectory, r as submitRuntimeAgentControllerReport } from "./runtime-agent-controller-reporting-submission-YtLJgQc7.js";
34
+ 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-CwXxojfd.js";
35
+ import { A as readAgentActivityContextForPath, B as installAgentActivityIntegrations, F as registerAgentActivityRoute, H as resolveAgentActivityDispatcherCommand, I as resolveAgentActivityRouteForPath, L as unregisterAgentActivityRoute, M as enqueueControllerTaskLifecycleEventWhileLocked, N as readControllerTaskLifecycleOutboxHealth, O as syncLocalAgentActivity, P as isAgentActivityRouteRegistered, S as readRuntimeReportingHealthState, U as uninstallAgentActivityIntegrations, V as readAgentActivityIntegrationStatus, c as runDirectMessage, d as runSpaceActionSilent, f as runSpaceActionStatus, i as materializeOrganizationSkillRelease, j as removeAgentActivityContextCache, l as runSpaceActionHelp, m as runSpaceActionWake, n as createSpaceWorkingCopies, o as runSpaceActionMcpServer, p as runSpaceActionTargets, r as downloadWorkingCopyFile, t as fetchSpaceUpdates, u as runSpaceActionReply, z as defaultManagedIntegrationPaths } from "./updates-api-ByctphEr.js";
36
+ import { c as toStructuredGatewayFailure, d as resolveSpaceSendText, f as resolveSpaceTaskSelection, h as createCliSpaceApi, l as parseJsonResponse, n as updateSpaceMeta, o as readGatewayJsonResponse, s as readGatewayTextResponse, t as fetchSpaceMeta, u as resolveCliProjectWork } from "./meta-api-C0lRMWF1.js";
37
+ import { $ as assessActionParticipationCandidate, A as isSpaceCommandOutputHandledError, B as persistAgentTransportSelection, C as buildFormalSignalReadPayload, D as resolveLinkAccessLabel, E as formatHumanReadTargetList, F as emitSpaceAgentOverview, G as renderOpenMeldBrandBlockLines, H as colorizeAgentLabel, I as emitSpaceCliAgentOverview, J as renderOpenMeldTagline, K as renderOpenMeldHeader, L as prepareLocalAgentReadiness, M as assertValidSpaceIdTarget, N as prepareAuthenticatedSpaceCommandContext, O as resolveOrganizationVisibilityLabel, P as resolveOpenMeldProfileForSpaceCommand, Q as ensureAgentProfileRuntimeBinding, R as buildReplyReadinessGuidance, S as buildFormalDispatchResultReadPayload, T as buildHumanReplyContextSummary, U as colorizeDisplayProfileLabel, V as resolveAgentProfileSetup, W as printOpenMeldBanner, X as resolveCreateProfileKind, Y as createProfileByKind, Z as resolveCreateProfileName, _ as emitHumanReadSignalsTextProjection, a as runSpaceDelete, b as loadSpaceSignalIndexOrNull, c as runSpaceLeave, d as runSpaceRemoveMembers, f as runSpaceSend, g as buildHumanReadSignalsTranscriptItems, h as runSpaceWriteWithPasswordRetry, i as runSpaceCreate, j as assertFullSignalIdArgument, k as parseEnvelope, l as runSpaceList, m as runSpaceReadWithPasswordRetry, n as promptAndConfirmSpacePassword, o as runSpaceHistory, p as runSpaceWatch, q as renderOpenMeldLogo, r as runSpaceAddMembers, s as runSpaceJoin, t as buildCreateSpacePasswordPromptConfig, u as runSpacePassword, v as buildIdentityOnlyMembersSnapshotForReadProjection, w as formatTextEvent, x as toSpaceMetaUpsertInput, y as loadSpaceIdentityDirectoryOrNull, z as resolveHumanControllerDisplayName } from "./command-C7knNgv9.js";
38
38
  import { createHash, randomUUID } from "node:crypto";
39
39
  import { homedir, tmpdir } from "node:os";
40
40
  import { basename, dirname, extname, isAbsolute, join, relative, resolve, sep } from "node:path";
@@ -1453,6 +1453,7 @@ const COMMAND_CHECK_REQUIREMENTS = Object.freeze({
1453
1453
  "agents.repair": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, AUTO_FIX_LOCAL_RUNTIME),
1454
1454
  "agents.disable": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, AUTO_FIX_LOCAL_RUNTIME),
1455
1455
  "agents.show": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, AUTO_FIX_LOCAL_RUNTIME),
1456
+ "agents.login": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, AUTO_FIX_LOCAL_RUNTIME),
1456
1457
  "agents.custom.list": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, AUTO_FIX_LOCAL_RUNTIME),
1457
1458
  "agents.custom.add": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, AUTO_FIX_LOCAL_RUNTIME),
1458
1459
  "agents.custom.update": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, AUTO_FIX_LOCAL_RUNTIME),
@@ -1637,6 +1638,7 @@ const COMMAND_ENTRY_NAME_BY_ROUTE = {
1637
1638
  "agents disable": "agents.disable",
1638
1639
  "agents unregister": "agents.disable",
1639
1640
  "agents show": "agents.show",
1641
+ "agents login": "agents.login",
1640
1642
  "agents custom list": "agents.custom.list",
1641
1643
  "agents custom ls": "agents.custom.list",
1642
1644
  "agents custom add": "agents.custom.add",
@@ -2330,6 +2332,11 @@ const COMMAND_ENTRY_COPY_BY_NAME = Object.freeze({
2330
2332
  signInAction: null,
2331
2333
  profileAction: null
2332
2334
  },
2335
+ "agents.login": {
2336
+ ...DEFAULT_COPY,
2337
+ signInAction: null,
2338
+ profileAction: null
2339
+ },
2333
2340
  "agents.custom.list": {
2334
2341
  ...DEFAULT_COPY,
2335
2342
  signInAction: null,
@@ -6901,6 +6908,60 @@ function normalizeAuditLimit(value) {
6901
6908
  return value;
6902
6909
  }
6903
6910
  //#endregion
6911
+ //#region src/commands/agents-login.ts
6912
+ async function runAgentsLogin(input) {
6913
+ if (input.agentId !== "antigravity") throw new Error("This sign-in command currently supports Antigravity ACP.");
6914
+ const presenter = createPresenter(await resolveRuntimeContext({ view: input.view }));
6915
+ const launchContract = (await resolveAgentTargetState(input.agentId))?.launchContract;
6916
+ if (!(launchContract && isAntigravityAcpLaunchContract(launchContract))) throw new Error("Select the official Antigravity ACP installation first. Install it using Google's ACP instructions, then run openmeld agents manage to choose that installation.");
6917
+ await runWithHeldLock({
6918
+ lock: await acquireLock({
6919
+ openMeldProfileId: "agent-controller-auth",
6920
+ key: "antigravity-login"
6921
+ }),
6922
+ run: async () => {
6923
+ const controller = new AbortController();
6924
+ const cancel = () => controller.abort();
6925
+ process.once("SIGINT", cancel);
6926
+ process.once("SIGTERM", cancel);
6927
+ try {
6928
+ presenter.line({
6929
+ code: "agents.login.start",
6930
+ text: "Signing in to the selected Antigravity ACP installation. Press Ctrl+C to cancel."
6931
+ });
6932
+ await withProbeWorkingDirectory(async (cwd) => {
6933
+ await checkAntigravityAcpAccount({
6934
+ launchContract,
6935
+ cwd,
6936
+ signal: controller.signal,
6937
+ login: {
6938
+ methodId: input.method,
6939
+ onAuthorizationUrl: (url) => {
6940
+ presenter.line({
6941
+ code: "agents.login.authorization_url",
6942
+ text: `Open this link on this computer to sign in:\n${url}`
6943
+ });
6944
+ }
6945
+ }
6946
+ });
6947
+ if ((await checkAntigravityAcpAccount({
6948
+ launchContract,
6949
+ cwd,
6950
+ signal: controller.signal
6951
+ })).authStatus !== "authenticated") throw new Error("Antigravity could not use the saved sign-in in a new session. Try signing in again.");
6952
+ });
6953
+ presenter.line({
6954
+ code: "agents.login.verified",
6955
+ text: "Signed in. Antigravity ACP accepted a new session. Select Check again in OpenMeld to refresh this computer's status. Usage limits are not reported."
6956
+ });
6957
+ } finally {
6958
+ process.removeListener("SIGINT", cancel);
6959
+ process.removeListener("SIGTERM", cancel);
6960
+ }
6961
+ }
6962
+ });
6963
+ }
6964
+ //#endregion
6904
6965
  //#region src/commands/computer.ts
6905
6966
  async function runComputerList(input) {
6906
6967
  const presenter = createPresenter(await resolveRuntimeContext({ view: input.view }));
@@ -11391,7 +11452,7 @@ async function fetchSpaceDispatchLookup(input) {
11391
11452
  async function fetchSpaceDispatchTrace(input) {
11392
11453
  const endpoint = toSpaceDispatchTraceUrl(input.baseUrl, input.space, input.dispatchId, {
11393
11454
  includeRemoteAgentRuntimeDiagnostics: input.includeRemoteAgentRuntimeDiagnostics,
11394
- includeServiceConnectionDiagnostics: true
11455
+ includeServiceConnectionDiagnostics: input.includeServiceConnectionDiagnostics ?? true
11395
11456
  });
11396
11457
  const response = await fetchSpaceRequestWithTimeout({
11397
11458
  url: endpoint,
@@ -17447,19 +17508,23 @@ function registerFilesCommands(program, runChecked) {
17447
17508
  const [file, content] = await Promise.all([api.getFile({
17448
17509
  location: target,
17449
17510
  fileId
17450
- }), api.download({
17511
+ }), api.streamContent({
17451
17512
  location: target,
17452
17513
  fileId,
17453
17514
  revision: revision(opts.revision)
17454
17515
  })]);
17455
- if (!isSpaceFileTextEditable({
17516
+ if (!isSpaceFileTextReadable({
17517
+ fileName: file.name,
17456
17518
  mimeType: content.mimeType,
17457
- sizeBytes: content.bytes.byteLength
17458
- })) throw new Error("This file is binary or too large to print. Open it in Files.");
17519
+ sizeBytes: content.sizeBytes
17520
+ })) {
17521
+ await content.bytes.cancel();
17522
+ throw new Error("This file is binary or too large to print. Open it in Files.");
17523
+ }
17459
17524
  const result = {
17460
17525
  file,
17461
17526
  revision: content.revision,
17462
- content: new TextDecoder("utf-8", { fatal: true }).decode(content.bytes)
17527
+ content: await readSpaceFileTextStream(content.bytes)
17463
17528
  };
17464
17529
  output("files.read", result, () => presenter.line({
17465
17530
  code: "files.read",
@@ -24203,7 +24268,7 @@ function normalizeOptionalString(value) {
24203
24268
  return normalized.length > 0 ? normalized : null;
24204
24269
  }
24205
24270
  async function runDefaultSpaceAddMeMembership(input) {
24206
- const { runSpaceAddMeMembership } = await import("./add-me-membership-DGn_ymiU.js");
24271
+ const { runSpaceAddMeMembership } = await import("./add-me-membership-B8rT9msn.js");
24207
24272
  return await runSpaceAddMeMembership(input);
24208
24273
  }
24209
24274
  //#endregion
@@ -24801,21 +24866,24 @@ async function runSpaceFilesRead(input) {
24801
24866
  requestContext: context.requestContext,
24802
24867
  fileId: input.fileId,
24803
24868
  ...spacePassword === void 0 ? {} : { spacePassword }
24804
- }), context.spaceApi.downloadFileContent({
24869
+ }), context.spaceApi.streamFileContent({
24805
24870
  spaceId: input.space,
24806
24871
  requestContext: context.requestContext,
24807
24872
  fileId: input.fileId,
24808
24873
  ...input.revision === void 0 ? {} : { revision: input.revision },
24809
24874
  ...spacePassword === void 0 ? {} : { spacePassword }
24810
24875
  })]);
24811
- if (!isSpaceFileTextEditable({
24812
- mimeType: content.mimeType,
24813
- sizeBytes: content.bytes.byteLength
24814
- })) throw new Error("This file is binary or too large to print. Use `openmeld space files download` instead.");
24876
+ if (!isSpaceFileTextReadable({
24877
+ fileName: metadata.file.name,
24878
+ mimeType: content.mimeType
24879
+ })) {
24880
+ await content.bytes.cancel();
24881
+ throw new Error("This file is binary or too large to print. Use `openmeld space files download` instead.");
24882
+ }
24815
24883
  return {
24816
24884
  file: metadata.file,
24817
24885
  revision: content.revision,
24818
- content: new TextDecoder("utf-8", { fatal: true }).decode(content.bytes)
24886
+ content: await readSpaceFileTextStream(content.bytes)
24819
24887
  };
24820
24888
  }
24821
24889
  });
@@ -26878,28 +26946,6 @@ async function chooseQuestionResponse(request) {
26878
26946
  };
26879
26947
  }
26880
26948
  //#endregion
26881
- //#region src/space/result-api.ts
26882
- async function fetchSpaceDispatchResult(input) {
26883
- const endpoint = new URL(toSpaceResultUrl(input.baseUrl, input.space));
26884
- if (input.dispatchId) endpoint.searchParams.set("dispatchId", input.dispatchId);
26885
- if (input.resultRef) endpoint.searchParams.set("resultRef", input.resultRef);
26886
- const raw = await readGatewayTextResponse({ response: await fetchSpaceRequestWithTimeout({
26887
- url: endpoint.toString(),
26888
- operation: "space.result.read",
26889
- init: { headers: {
26890
- ...await buildOpenMeldRequestContextHeadersWithAuth({
26891
- requestUrl: endpoint.toString(),
26892
- requestContext: input.requestContext,
26893
- spacePassword: input.password
26894
- }),
26895
- [OPENMELD_HEADER_SPACE_ADDRESSING_VERSION]: "1"
26896
- } }
26897
- }) });
26898
- const parsed = getSpaceDispatchResultResponseSchema.safeParse(parseJsonResponse(raw));
26899
- if (!parsed.success) throw new Error("invalid space dispatch result response");
26900
- return parsed.data;
26901
- }
26902
- //#endregion
26903
26949
  //#region src/space/read-projection/human-reply-workflow-display.ts
26904
26950
  function buildHumanReplyWorkflowSummary(projection) {
26905
26951
  if (!projection) return null;
@@ -26914,7 +26960,7 @@ function buildHumanReplyWorkflowSummary(projection) {
26914
26960
  }
26915
26961
  }
26916
26962
  function buildHumanReplyWorkflowSurfaceNote(input) {
26917
- return input.surface === "result" ? "`space result` reads archived dispatch results only. Use `openmeld service trace` to inspect Wake execution and the final visible Space outcome." : "`space updates` shows formal execution evidence for this message round. Use `openmeld service trace` to inspect Wake execution and the final visible Space outcome.";
26963
+ return input.surface === "result" ? "`space result --dispatch` reads archived or published results. Use `openmeld service trace` to inspect execution diagnostics." : "`space updates` shows formal execution evidence for this message round. Use `openmeld service trace` to inspect Wake execution and the final visible Space outcome.";
26918
26964
  }
26919
26965
  function buildHumanReplyWorkflowSignalSummary(projection) {
26920
26966
  if (!(projection?.hasPublicSignal && projection.publishedSignalId)) return null;
@@ -27141,6 +27187,84 @@ function resolveDispatchResultActorName(input) {
27141
27187
  return null;
27142
27188
  }
27143
27189
  //#endregion
27190
+ //#region src/space/result-api.ts
27191
+ async function fetchSpaceDispatchResult(input) {
27192
+ const endpoint = new URL(toSpaceResultUrl(input.baseUrl, input.space));
27193
+ if (input.dispatchId) endpoint.searchParams.set("dispatchId", input.dispatchId);
27194
+ if (input.resultRef) endpoint.searchParams.set("resultRef", input.resultRef);
27195
+ const raw = await readGatewayTextResponse({ response: await fetchSpaceRequestWithTimeout({
27196
+ url: endpoint.toString(),
27197
+ operation: "space.result.read",
27198
+ init: { headers: {
27199
+ ...await buildOpenMeldRequestContextHeadersWithAuth({
27200
+ requestUrl: endpoint.toString(),
27201
+ requestContext: input.requestContext,
27202
+ spacePassword: input.password
27203
+ }),
27204
+ [OPENMELD_HEADER_SPACE_ADDRESSING_VERSION]: "1"
27205
+ } }
27206
+ }) });
27207
+ const parsed = getSpaceDispatchResultResponseSchema.safeParse(parseJsonResponse(raw));
27208
+ if (!parsed.success) throw new Error("invalid space dispatch result response");
27209
+ return parsed.data;
27210
+ }
27211
+ //#endregion
27212
+ //#region src/space/result-read.ts
27213
+ async function readSpaceResult(input) {
27214
+ try {
27215
+ return {
27216
+ source: "archive",
27217
+ result: await fetchSpaceDispatchResult(input)
27218
+ };
27219
+ } catch (error) {
27220
+ const failure = toStructuredGatewayFailure(error);
27221
+ const missing = failure.code === "space.dispatch_result.not_found" || failure.code === "upstream_error" && failure.message.trim().toLowerCase() === "dispatch result not found";
27222
+ if (!input.dispatchId || failure.status !== 404 || !missing) throw error;
27223
+ }
27224
+ const trace = await fetchSpaceDispatchTrace({
27225
+ ...input,
27226
+ dispatchId: input.dispatchId,
27227
+ includeRemoteAgentRuntimeDiagnostics: false,
27228
+ includeServiceConnectionDiagnostics: false
27229
+ });
27230
+ if (trace.query.dispatchId !== input.dispatchId || trace.query.spaceId !== input.space) throw new Error("Dispatch result trace does not match the requested execution.");
27231
+ const execution = trace.nativeDeliveryTrace ?? trace.trace;
27232
+ const visible = execution?.finalVisibleMessage;
27233
+ const outcome = execution?.finalVisibleOutcome;
27234
+ if (!(visible && outcome?.delivered) || outcome.signalId !== visible.signalId) {
27235
+ const state = trace.nativeDeliveryTrace?.turn.status ?? trace.trace?.nativeDelivery?.status ?? outcome?.status ?? "not_found";
27236
+ throw Object.assign(/* @__PURE__ */ new Error(`No final Space message is available. Execution/publication state: ${state}. Use service trace for details.`), {
27237
+ code: "space.result.not_published",
27238
+ status: 409
27239
+ });
27240
+ }
27241
+ if (visible.dispatchId !== input.dispatchId) throw new Error("Dispatch result trace does not match the requested execution.");
27242
+ const signal = (await input.spaceApi.listSignalEnvelopes({
27243
+ spaceId: input.space,
27244
+ requestContext: input.requestContext,
27245
+ ...input.password === void 0 ? {} : { spacePassword: input.password },
27246
+ query: {
27247
+ aroundSignalId: visible.signalId,
27248
+ beforeCount: 0,
27249
+ afterCount: 0
27250
+ }
27251
+ })).envelopes.find((candidate) => candidate.id === visible.signalId);
27252
+ if (!signal || signal.spaceId !== input.space || signal.type !== visible.signalType || signal.profile.profileId !== visible.profileId) throw Object.assign(/* @__PURE__ */ new Error("The final Space message could not be read or did not match its execution. Use service trace for details."), {
27253
+ code: "space.result.message_unavailable",
27254
+ status: 409
27255
+ });
27256
+ return {
27257
+ source: "published_message",
27258
+ result: spacePublishedDispatchResultSchema.parse({
27259
+ source: "published_message",
27260
+ spaceId: input.space,
27261
+ dispatchId: input.dispatchId,
27262
+ outcome,
27263
+ signal
27264
+ })
27265
+ };
27266
+ }
27267
+ //#endregion
27144
27268
  //#region src/space/result-command.ts
27145
27269
  async function loadSpaceResultProjectionContext(input) {
27146
27270
  const signalIndex = await loadSpaceSignalIndexOrNull({
@@ -27200,7 +27324,8 @@ async function runSpaceResult(input) {
27200
27324
  initialPassword: input.password,
27201
27325
  interactive: interactive && runtime.resolvedView === "human" && !input.json,
27202
27326
  presenter,
27203
- execute: async (password) => await fetchSpaceDispatchResult({
27327
+ execute: async (password) => await readSpaceResult({
27328
+ spaceApi,
27204
27329
  requestContext,
27205
27330
  baseUrl,
27206
27331
  space: input.space,
@@ -27219,15 +27344,40 @@ async function runSpaceResult(input) {
27219
27344
  });
27220
27345
  }
27221
27346
  if (resultRead.status === "cancelled") return;
27222
- const result = resultRead.result;
27347
+ const read = resultRead.result;
27223
27348
  const resolvedPassword = resultRead.password;
27224
27349
  const { identityDirectory, membersSnapshot, signalIndex } = await loadSpaceResultProjectionContext({
27225
- result,
27226
27350
  requestContext,
27227
27351
  resolvedPassword,
27228
27352
  spaceApi,
27229
27353
  spaceId: input.space
27230
27354
  });
27355
+ if (read.source === "published_message") {
27356
+ const message = buildFormalSignalReadPayload({
27357
+ signal: read.result.signal,
27358
+ identityDirectory,
27359
+ membersSnapshot,
27360
+ signalIndex
27361
+ });
27362
+ const payload = {
27363
+ ...read.result,
27364
+ messageReadProjection: message.messageReadProjection
27365
+ };
27366
+ if (input.json) outJsonLine(payload);
27367
+ else if (runtime.resolvedView === "agent") presenter.data({
27368
+ code: "space.result.published_message",
27369
+ payload
27370
+ });
27371
+ else presenter.line({
27372
+ code: "space.result.published_message",
27373
+ text: formatTextEvent(read.result.signal, {
27374
+ view: "human",
27375
+ spaceMembersSnapshot: membersSnapshot
27376
+ }) ?? `${read.result.outcome.status}: ${read.result.signal.id}`
27377
+ });
27378
+ return;
27379
+ }
27380
+ const result = read.result;
27231
27381
  if (input.json) {
27232
27382
  emitSpaceResultJsonOutput({
27233
27383
  identityDirectory,
@@ -28327,7 +28477,7 @@ function renderWakeProgressHumanOutput(input) {
28327
28477
  });
28328
28478
  input.presenter.line({
28329
28479
  code: "space.wake_progress.boundary",
28330
- text: "This is live progress. Use `space result` for archived results and `service trace` for execution diagnostics."
28480
+ text: "This is live progress. Use `space result` for archived or published results and `service trace` for execution diagnostics."
28331
28481
  });
28332
28482
  }
28333
28483
  //#endregion
@@ -29251,7 +29401,7 @@ Commands require a stable invocationId and key; poll the same invocation to read
29251
29401
  routeTokens: ["computer", "cloud"],
29252
29402
  view,
29253
29403
  run: async () => {
29254
- const { runCloudComputer } = await import("./cloud-computer-BXXE7ol0.js");
29404
+ const { runCloudComputer } = await import("./cloud-computer-Cymmmv7K.js");
29255
29405
  await runCloudComputer({
29256
29406
  operation: opts.operation,
29257
29407
  view
@@ -29265,9 +29415,9 @@ computerCmd.command("disconnect").description("Disconnect this computer from its
29265
29415
  routeTokens: ["computer", "disconnect"],
29266
29416
  view,
29267
29417
  run: async () => {
29268
- const { runComputerDisconnect, runComputerDisconnectTarget } = await import("./computer-disconnect-BUWLH7Tp.js");
29418
+ const { runComputerDisconnect, runComputerDisconnectTarget } = await import("./computer-disconnect-C3uKOOlJ.js");
29269
29419
  if (!opts.connectionIntent) {
29270
- const { desktopComputerDisconnectRequestSchema } = await import("./dist-s07-4slK.js");
29420
+ const { desktopComputerDisconnectRequestSchema } = await import("./dist-Cbw4UtHs.js");
29271
29421
  await runComputerDisconnectTarget(desktopComputerDisconnectRequestSchema.parse({
29272
29422
  expectedAccount: opts.expectedAccount,
29273
29423
  expectedConnection: {
@@ -29519,6 +29669,18 @@ skillsCmd.command("update").alias("upgrade").description("Update OpenMeld skills
29519
29669
  });
29520
29670
  });
29521
29671
  const agentsCmd = program.command("agents").description("Find, enable, and review OpenMeld agents on this device.");
29672
+ agentsCmd.command("login <agent-id>").description("Sign in to the selected Antigravity ACP installation and verify a new session.").option("--method <id>", "Authentication method offered by Antigravity ACP.", "oauth-personal").action(async (agentId, opts) => {
29673
+ const view = getGlobalViewOption();
29674
+ await runCommandWithEntryChecks({
29675
+ routeTokens: ["agents", "login"],
29676
+ view,
29677
+ run: () => runAgentsLogin({
29678
+ agentId,
29679
+ method: opts.method,
29680
+ view
29681
+ })
29682
+ });
29683
+ });
29522
29684
  agentsCmd.action(async () => {
29523
29685
  const view = getGlobalViewOption();
29524
29686
  await runCommandWithEntryChecks({
@@ -30542,7 +30704,7 @@ withSpaceProfileOption(spaceCmd.command("dm").description("Open a Direct Message
30542
30704
  view: getGlobalViewOption()
30543
30705
  });
30544
30706
  });
30545
- withSpaceProfileOption(spaceCmd.command("send").description("Send one message to a Space.").option("--new-task", `Start an independent task (up to 5 per Agent)`).option("--fork-from <signal-id>", "Fork the selected Agent's completed task at this message").option("--continue-from <signal-id>", "Continue the selected Agent's task from this message").option("--task-access <mode>", "Extra restriction: space_context, read_only (Codex), or workspace. Omit to use Agent settings").option("--task-workspace <mode>", "Working copy: isolated (private project worktree) or current; does not change task access").option("--project <slug>", "Project for a new code task").option("--repository <url>", "Repository associated with --project").argument("[space]", "Space ID (64-character hex)").argument("[text...]", "Text to send").option("--file <path>", "Share a local file in this Space message (repeatable, max 10)", collectRepeatedOptionValue, []).option("--stdin", "Read message text from stdin (EOF to finish)", false).option("--text-file <path>", "Read message text from a UTF-8 file").option("--wake <profile-id>", "Wake an Agent Profile (repeatable)", collectRepeatedOptionValue, []).option("--reference <profile-id>", "Reference an Agent Profile (repeatable)", collectRepeatedOptionValue, []).option("--mention <profile-id>", "Mention a Human Profile (repeatable)", collectRepeatedOptionValue, []).option("--plain", "Assert that this message has no recipients; text is always literal", false).option("--reply-to <signal-id>", "Reply into the thread of a message (creates the thread if it does not exist yet)").option("--client-message <id>", "Stable request ID for retrying or stopping this send before it starts").option("--password <value>", "Space password for protected access")).action(async (space, textParts, opts, command) => {
30707
+ withSpaceProfileOption(spaceCmd.command("send").description("Send one message to a Space.").option("--new-task", `Start an independent task with Codex, Claude Code, or official Antigravity ACP (up to 5 per Agent)`).option("--fork-from <signal-id>", "Fork a Codex or Claude Code completed task at this message").option("--continue-from <signal-id>", "Continue the selected Agent's task from this message").option("--task-access <mode>", "Extra restriction: space_context, read_only (Codex), or workspace. Omit to use Agent settings").option("--task-workspace <mode>", "Working copy: isolated (private project worktree) or current; does not change task access").option("--project <slug>", "Project for a new code task").option("--repository <url>", "Repository associated with --project").argument("[space]", "Space ID (64-character hex)").argument("[text...]", "Text to send").option("--file <path>", "Share a local file in this Space message (repeatable, max 10)", collectRepeatedOptionValue, []).option("--stdin", "Read message text from stdin (EOF to finish)", false).option("--text-file <path>", "Read message text from a UTF-8 file").option("--wake <profile-id>", "Wake an Agent Profile (repeatable)", collectRepeatedOptionValue, []).option("--reference <profile-id>", "Reference an Agent Profile (repeatable)", collectRepeatedOptionValue, []).option("--mention <profile-id>", "Mention a Human Profile (repeatable)", collectRepeatedOptionValue, []).option("--plain", "Assert that this message has no recipients; text is always literal", false).option("--reply-to <signal-id>", "Reply into the thread of a message (creates the thread if it does not exist yet)").option("--client-message <id>", "Stable request ID for retrying or stopping this send before it starts").option("--password <value>", "Space password for protected access")).action(async (space, textParts, opts, command) => {
30546
30708
  const cliOptions = resolveSpaceCommandCliOptions(command, opts);
30547
30709
  const spaceValue = String(space ?? "").trim();
30548
30710
  const outputView = await resolveEffectiveViewForOutput();
@@ -31006,7 +31168,7 @@ withSpaceProfileOption(spaceCmd.command("password").description("Set, change, or
31006
31168
  }
31007
31169
  });
31008
31170
  });
31009
- program.command("send").description("Alias for `openmeld space send`.").option("--new-task", `Start an independent task (up to 5 per Agent)`).option("--fork-from <signal-id>", "Fork the selected Agent's completed task at this message").option("--continue-from <signal-id>", "Continue the selected Agent's task from this message").option("--task-access <mode>", "Extra restriction: space_context, read_only (Codex), or workspace. Omit to use Agent settings").option("--task-workspace <mode>", "Working copy: isolated (private project worktree) or current; does not change task access").option("--project <slug>", "Project for a new code task").option("--repository <url>", "Repository associated with --project").argument("[text...]", "Text to send").option("--profile <id>", "OpenMeld profile ID").option("--base-url <url>", "OpenMeld gateway URL").option("--space <space>", "Space ID (64-character hex)").option("--stdin", "Read message text from stdin (EOF to finish)", false).option("--file <path>", "Share a local file in this Space message (repeatable, max 10)", collectRepeatedOptionValue, []).option("--text-file <path>", "Read message text from a UTF-8 file").option("--wake <profile-id>", "Wake an Agent Profile (repeatable)", collectRepeatedOptionValue, []).option("--reference <profile-id>", "Reference an Agent Profile (repeatable)", collectRepeatedOptionValue, []).option("--mention <profile-id>", "Mention a Human Profile (repeatable)", collectRepeatedOptionValue, []).option("--plain", "Assert that this message has no recipients; text is always literal", false).option("--password <value>", "Space password for protected access").action(async (textParts, opts) => {
31171
+ program.command("send").description("Alias for `openmeld space send`.").option("--new-task", `Start an independent task with Codex, Claude Code, or official Antigravity ACP (up to 5 per Agent)`).option("--fork-from <signal-id>", "Fork a Codex or Claude Code completed task at this message").option("--continue-from <signal-id>", "Continue the selected Agent's task from this message").option("--task-access <mode>", "Extra restriction: space_context, read_only (Codex), or workspace. Omit to use Agent settings").option("--task-workspace <mode>", "Working copy: isolated (private project worktree) or current; does not change task access").option("--project <slug>", "Project for a new code task").option("--repository <url>", "Repository associated with --project").argument("[text...]", "Text to send").option("--profile <id>", "OpenMeld profile ID").option("--base-url <url>", "OpenMeld gateway URL").option("--space <space>", "Space ID (64-character hex)").option("--stdin", "Read message text from stdin (EOF to finish)", false).option("--file <path>", "Share a local file in this Space message (repeatable, max 10)", collectRepeatedOptionValue, []).option("--text-file <path>", "Read message text from a UTF-8 file").option("--wake <profile-id>", "Wake an Agent Profile (repeatable)", collectRepeatedOptionValue, []).option("--reference <profile-id>", "Reference an Agent Profile (repeatable)", collectRepeatedOptionValue, []).option("--mention <profile-id>", "Mention a Human Profile (repeatable)", collectRepeatedOptionValue, []).option("--plain", "Assert that this message has no recipients; text is always literal", false).option("--password <value>", "Space password for protected access").action(async (textParts, opts) => {
31010
31172
  const space = String(opts.space ?? "").trim();
31011
31173
  if (!space) throw createSpaceAliasTargetGuideError("send");
31012
31174
  const view = getGlobalViewOption();
@@ -31582,18 +31744,18 @@ async function main() {
31582
31744
  if (await runMacOsNativeKeychainHelperIfRequested()) return;
31583
31745
  const argv = process.argv.map((arg) => arg === "--h" ? "--help" : arg);
31584
31746
  if (argv.length === 5 && argv[2] === "computer" && argv[3] === "connection-review" && argv[4] === "--json") {
31585
- const { readComputerConnectionReview } = await import("./computer-connection-review-D3UlEzSN.js");
31747
+ const { readComputerConnectionReview } = await import("./computer-connection-review-BUZdZxR8.js");
31586
31748
  outLine(JSON.stringify(await readComputerConnectionReview()));
31587
31749
  return;
31588
31750
  }
31589
31751
  if (argv.length === 5 && argv[2] === "service" && argv[4] === "--json") {
31590
31752
  if (argv[3] === "control-carrier-capability") {
31591
- const { readServiceControlCarrierCapability } = await import("./service-control-carrier-capability-BHDHrAM6.js");
31753
+ const { readServiceControlCarrierCapability } = await import("./service-control-carrier-capability-nAOgdIbf.js");
31592
31754
  outLine(JSON.stringify(readServiceControlCarrierCapability()));
31593
31755
  return;
31594
31756
  }
31595
31757
  if (argv[3] === "control-capabilities") {
31596
- const { readServiceControlCapabilities } = await import("./service-control-capabilities-hJsej7r9.js");
31758
+ const { readServiceControlCapabilities } = await import("./service-control-capabilities-CMRn_qRT.js");
31597
31759
  emitCliJsonEnvelope({
31598
31760
  schemaVersion: 1,
31599
31761
  type: "service.control_capabilities",
@@ -31776,4 +31938,4 @@ main().catch((error) => {
31776
31938
  //#endregion
31777
31939
  export {};
31778
31940
 
31779
- //# sourceMappingURL=openmeld-BDFzsUJD.js.map
31941
+ //# sourceMappingURL=openmeld-CqNDufaW.js.map