openmeld 0.3.257 → 0.3.259
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-me-membership-DGn_ymiU.js → add-me-membership-CQeOTn8Y.js} +2 -2
- package/dist/{add-me-membership-DGn_ymiU.js.map → add-me-membership-CQeOTn8Y.js.map} +1 -1
- package/dist/{agents-Bys2Xt-r.js → agents-CLlVC_zK.js} +13 -13
- package/dist/{agents-Bys2Xt-r.js.map → agents-CLlVC_zK.js.map} +1 -1
- package/dist/{api-client-foundation-K-xme5wi.js → api-client-foundation-BDbeHD1i.js} +4 -4
- package/dist/{api-client-foundation-K-xme5wi.js.map → api-client-foundation-BDbeHD1i.js.map} +1 -1
- package/dist/{api-client-foundation-DS6edHLv.js → api-client-foundation-Dye8bbn0.js} +1 -1
- package/dist/auth-session-COkQp4Fr.js +4 -0
- package/dist/{auth-session-gCSwPpKk.js → auth-session-mNZMZihh.js} +5 -5
- package/dist/{auth-session-gCSwPpKk.js.map → auth-session-mNZMZihh.js.map} +1 -1
- package/dist/{auth-url-xkcTUIuG.js → auth-url-D5LMD4E8.js} +2 -2
- package/dist/{auth-url-xkcTUIuG.js.map → auth-url-D5LMD4E8.js.map} +1 -1
- package/dist/{base-url-B9lLWy47.js → base-url-BMrQwJW4.js} +3 -3
- package/dist/{base-url-B9lLWy47.js.map → base-url-BMrQwJW4.js.map} +1 -1
- package/dist/{base-url-CBkrCY1z.js → base-url-uwbKIZtP.js} +1 -1
- package/dist/{channel-CMKlUru6.js → channel-48XSbUsz.js} +2 -2
- package/dist/{channel-CMKlUru6.js.map → channel-48XSbUsz.js.map} +1 -1
- package/dist/{cloud-computer-BXXE7ol0.js → cloud-computer-Cymmmv7K.js} +6 -6
- package/dist/{cloud-computer-BXXE7ol0.js.map → cloud-computer-Cymmmv7K.js.map} +1 -1
- package/dist/{command-ByRe3oUP.js → command-BmbIcCis.js} +26 -19
- package/dist/command-BmbIcCis.js.map +1 -0
- package/dist/{computer-connection-review-D3UlEzSN.js → computer-connection-review-zgdekYjE.js} +6 -6
- package/dist/{computer-connection-review-D3UlEzSN.js.map → computer-connection-review-zgdekYjE.js.map} +1 -1
- package/dist/{computer-disconnect-BUWLH7Tp.js → computer-disconnect-Bv4hrAWw.js} +9 -9
- package/dist/{computer-disconnect-BUWLH7Tp.js.map → computer-disconnect-Bv4hrAWw.js.map} +1 -1
- package/dist/{computer-setup-continuation-CgvCGSQU.js → computer-setup-continuation-3oNkl1o1.js} +3 -3
- package/dist/{computer-setup-continuation-CgvCGSQU.js.map → computer-setup-continuation-3oNkl1o1.js.map} +1 -1
- package/dist/{context-CtpDI4OE.js → context-BT5P1qqr.js} +7 -7
- package/dist/{context-CtpDI4OE.js.map → context-BT5P1qqr.js.map} +1 -1
- package/dist/{daemon-device-id-BPwCO8jO.js → daemon-device-id-DrGRbKdb.js} +4 -4
- package/dist/{daemon-device-id-BPwCO8jO.js.map → daemon-device-id-DrGRbKdb.js.map} +1 -1
- package/dist/{daemon-lifecycle-journal-kn_V27_x.js → daemon-lifecycle-journal-oMoQyKEB.js} +6 -6
- package/dist/{daemon-lifecycle-journal-kn_V27_x.js.map → daemon-lifecycle-journal-oMoQyKEB.js.map} +1 -1
- package/dist/{daemon-runtime-lease-CI5E1dSx.js → daemon-runtime-lease-CB0ZCPMd.js} +3 -3
- package/dist/{daemon-runtime-lease-CI5E1dSx.js.map → daemon-runtime-lease-CB0ZCPMd.js.map} +1 -1
- package/dist/{daemon-runtime-lease-BV9B1k3Z.js → daemon-runtime-lease-wo_QM5jn.js} +1 -1
- package/dist/{daemon-service-contract-BliSi2Kx.js → daemon-service-contract-Dkgengx4.js} +3 -3
- package/dist/{daemon-service-contract-BliSi2Kx.js.map → daemon-service-contract-Dkgengx4.js.map} +1 -1
- package/dist/{daemon-service-manager-g6N663Vx.js → daemon-service-manager-BjBYyE6i.js} +5 -5
- package/dist/{daemon-service-manager-g6N663Vx.js.map → daemon-service-manager-BjBYyE6i.js.map} +1 -1
- package/dist/{daemon-service-manager-BGKwZbgn.js → daemon-service-manager-CblkceR7.js} +1 -1
- package/dist/{daemon-service-runtime-DVX0kCDI.js → daemon-service-runtime-BSFTYU0n.js} +14 -14
- package/dist/{daemon-service-runtime-DVX0kCDI.js.map → daemon-service-runtime-BSFTYU0n.js.map} +1 -1
- package/dist/{daemon-service-update-coordinator-h_n5_IqX.js → daemon-service-update-coordinator-BUAkAxqT.js} +21 -20
- package/dist/daemon-service-update-coordinator-BUAkAxqT.js.map +1 -0
- package/dist/{daemon-state-BpDMuV9q.js → daemon-state-B8L0_xPT.js} +3 -3
- package/dist/{daemon-state-BpDMuV9q.js.map → daemon-state-B8L0_xPT.js.map} +1 -1
- package/dist/{dispatch-owned-runtime-BTPAd3rO.js → dispatch-owned-runtime-D5THLVZR.js} +10 -10
- package/dist/{dispatch-owned-runtime-BTPAd3rO.js.map → dispatch-owned-runtime-D5THLVZR.js.map} +1 -1
- package/dist/{dist-C1X_UGiT.js → dist-BFz8AKxR.js} +1 -1
- package/dist/{dist-Nhlf_Xfo.js → dist-BJy9X73H.js} +2 -2
- package/dist/{dist-Nhlf_Xfo.js.map → dist-BJy9X73H.js.map} +1 -1
- package/dist/dist-Cbw4UtHs.js +4 -0
- package/dist/{dist-Bk1WQ99A.js → dist-Dx5paVZY.js} +84 -2
- package/dist/dist-Dx5paVZY.js.map +1 -0
- package/dist/{dual-view-guide-catalog-DAVm97ep.js → dual-view-guide-catalog-D4rlZXO_.js} +3 -3
- package/dist/{dual-view-guide-catalog-DAVm97ep.js.map → dual-view-guide-catalog-D4rlZXO_.js.map} +1 -1
- package/dist/{elapsed-time-Bgx9MoTj.js → elapsed-time-pHCf33Jh.js} +4 -4
- package/dist/{elapsed-time-Bgx9MoTj.js.map → elapsed-time-pHCf33Jh.js.map} +1 -1
- package/dist/{entry-DR_v8WnC.js → entry-V6Tf_wMP.js} +12 -12
- package/dist/{entry-DR_v8WnC.js.map → entry-V6Tf_wMP.js.map} +1 -1
- package/dist/{installation-inventory-DBeLPoFK.js → installation-inventory-Cr8q27L_.js} +4 -4
- package/dist/{installation-inventory-DBeLPoFK.js.map → installation-inventory-Cr8q27L_.js.map} +1 -1
- package/dist/{installer-D7jC-kZ8.js → installer-dx-JuhZZ.js} +2 -2
- package/dist/{installer-D7jC-kZ8.js.map → installer-dx-JuhZZ.js.map} +1 -1
- package/dist/{lock-CQFhdvaP.js → lock-CDdQw0gQ.js} +3 -3
- package/dist/{lock-CQFhdvaP.js.map → lock-CDdQw0gQ.js.map} +1 -1
- package/dist/{meta-api-DShk3N0P.js → meta-api-CkKS9A5_.js} +7 -7
- package/dist/{meta-api-DShk3N0P.js.map → meta-api-CkKS9A5_.js.map} +1 -1
- package/dist/{openmeld-BDFzsUJD.js → openmeld-DVXOSt5S.js} +244 -81
- package/dist/openmeld-DVXOSt5S.js.map +1 -0
- package/dist/{openmeld-dev-environment-CH-yzIwz.js → openmeld-dev-environment-C82HhyXf.js} +3 -3
- package/dist/{openmeld-dev-environment-CH-yzIwz.js.map → openmeld-dev-environment-C82HhyXf.js.map} +1 -1
- package/dist/openmeld-dev.js +1 -1
- package/dist/{openmeld-environment-target-HaW1thp0.js → openmeld-environment-target-BftVniKn.js} +3 -3
- package/dist/{openmeld-environment-target-HaW1thp0.js.map → openmeld-environment-target-BftVniKn.js.map} +1 -1
- package/dist/{openmeld-maintenance-worker-CW1XvLld.js → openmeld-maintenance-worker-eQqcq1LE.js} +14 -14
- package/dist/{openmeld-maintenance-worker-CW1XvLld.js.map → openmeld-maintenance-worker-eQqcq1LE.js.map} +1 -1
- package/dist/{openmeld-tools-update-join-BDvMjcgR.js → openmeld-tools-update-join-BKoMvawo.js} +4 -4
- package/dist/{openmeld-tools-update-join-BDvMjcgR.js.map → openmeld-tools-update-join-BKoMvawo.js.map} +1 -1
- package/dist/{openmeld-tools-update-process-frame-BMkLsP-X.js → openmeld-tools-update-process-frame-Cl_LpsK-.js} +2 -2
- package/dist/{openmeld-tools-update-process-frame-BMkLsP-X.js.map → openmeld-tools-update-process-frame-Cl_LpsK-.js.map} +1 -1
- package/dist/{openmeld-tools-update-process-frame-ItmBvvWj.js → openmeld-tools-update-process-frame-Ct-7vlfE.js} +1 -1
- package/dist/openmeld.js +7 -7
- package/dist/{prepare-provider-runtime-DhhvHw2L.js → prepare-provider-runtime-BYKiQArk.js} +202 -48
- package/dist/prepare-provider-runtime-BYKiQArk.js.map +1 -0
- package/dist/{prepare-session-executor-5Z3oB8-Q.js → prepare-session-executor-_0fWWVwP.js} +25 -25
- package/dist/{prepare-session-executor-5Z3oB8-Q.js.map → prepare-session-executor-_0fWWVwP.js.map} +1 -1
- package/dist/{process-channel-fA0oIFwo.js → process-channel-BYaPF16N.js} +2 -2
- package/dist/{process-channel-fA0oIFwo.js.map → process-channel-BYaPF16N.js.map} +1 -1
- package/dist/{process-identity-h1RYDsRm.js → process-identity-DtRa8niy.js} +2 -2
- package/dist/{process-identity-h1RYDsRm.js.map → process-identity-DtRa8niy.js.map} +1 -1
- package/dist/{runtime-vNZr9nYr.js → runtime-CMSCzSI2.js} +18 -18
- package/dist/{runtime-vNZr9nYr.js.map → runtime-CMSCzSI2.js.map} +1 -1
- package/dist/{runtime-agent-controller-reporting-submission-pzz0mnop.js → runtime-agent-controller-reporting-submission-NTqBffbr.js} +19 -18
- package/dist/runtime-agent-controller-reporting-submission-NTqBffbr.js.map +1 -0
- package/dist/{service-Brjwa0y-.js → service-Ciifmu6w.js} +30 -30
- package/dist/{service-Brjwa0y-.js.map → service-Ciifmu6w.js.map} +1 -1
- package/dist/{service-account-authorization-CVXFWWFz.js → service-account-authorization-CYcUJnZy.js} +5 -5
- package/dist/{service-account-authorization-CVXFWWFz.js.map → service-account-authorization-CYcUJnZy.js.map} +1 -1
- package/dist/{service-account-control-B83yP5td.js → service-account-control-D6VGaquv.js} +15 -15
- package/dist/{service-account-control-B83yP5td.js.map → service-account-control-D6VGaquv.js.map} +1 -1
- package/dist/{service-control-capabilities-tPkB_Y2r.js → service-control-capabilities-BFS1cHMi.js} +6 -6
- package/dist/{service-control-capabilities-tPkB_Y2r.js.map → service-control-capabilities-BFS1cHMi.js.map} +1 -1
- package/dist/{service-control-capabilities-hJsej7r9.js → service-control-capabilities-h014PLa0.js} +1 -1
- package/dist/{service-control-carrier-capability-BHDHrAM6.js → service-control-carrier-capability-nAOgdIbf.js} +3 -3
- package/dist/{service-control-carrier-capability-BHDHrAM6.js.map → service-control-carrier-capability-nAOgdIbf.js.map} +1 -1
- package/dist/{state-BfEuAKey.js → state-Defk8u-_.js} +3 -3
- package/dist/{state-BfEuAKey.js.map → state-Defk8u-_.js.map} +1 -1
- package/dist/{updates-api-Di3X7kE6.js → updates-api-D2Hox-6r.js} +14 -14
- package/dist/{updates-api-Di3X7kE6.js.map → updates-api-D2Hox-6r.js.map} +1 -1
- package/dist/{upgrade-CZFBzUVJ.js → upgrade-BYlFNl6H.js} +9 -9
- package/dist/{upgrade-CZFBzUVJ.js.map → upgrade-BYlFNl6H.js.map} +1 -1
- package/dist/upgrade-FcSJsBzm.js +4 -0
- package/dist/windows/openmeld-windows-process.exe +0 -0
- package/dist/{windows-managed-install-CjezNYP9.js → windows-managed-install-BDtTogaf.js} +2 -2
- package/dist/{windows-managed-install-CjezNYP9.js.map → windows-managed-install-BDtTogaf.js.map} +1 -1
- package/dist/{windows-preview-channel-C490Y8Pp.js → windows-preview-channel-TEVn7puE.js} +3 -3
- package/dist/{windows-preview-channel-C490Y8Pp.js.map → windows-preview-channel-TEVn7puE.js.map} +1 -1
- package/dist/{windows-task-command-kvlBePc4.js → windows-task-command-uUPXFssY.js} +2 -2
- package/dist/{windows-task-command-kvlBePc4.js.map → windows-task-command-uUPXFssY.js.map} +1 -1
- package/dist/{windows-task-entry-ChkamueB.js → windows-task-entry-1fvdlQ-1.js} +3 -3
- package/dist/{windows-task-entry-ChkamueB.js.map → windows-task-entry-1fvdlQ-1.js.map} +1 -1
- package/dist/{windows-user-task-WDpgqEc_.js → windows-user-task-CpyMMEiK.js} +1 -1
- package/dist/{windows-user-task-DJC_qza0.js → windows-user-task-Dfg4k6bI.js} +6 -6
- package/dist/{windows-user-task-DJC_qza0.js.map → windows-user-task-Dfg4k6bI.js.map} +1 -1
- package/package.json +9 -9
- package/dist/auth-session-D0XyaS3F.js +0 -4
- package/dist/command-ByRe3oUP.js.map +0 -1
- package/dist/daemon-service-update-coordinator-h_n5_IqX.js.map +0 -1
- package/dist/dist-Bk1WQ99A.js.map +0 -1
- package/dist/dist-s07-4slK.js +0 -4
- package/dist/openmeld-BDFzsUJD.js.map +0 -1
- package/dist/prepare-provider-runtime-DhhvHw2L.js.map +0 -1
- package/dist/runtime-agent-controller-reporting-submission-pzz0mnop.js.map +0 -1
- 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-
|
|
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-
|
|
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-BYKiQArk.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-
|
|
7
|
-
import {
|
|
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-
|
|
9
|
-
import { a as activateWindowsManagedCommand } from "./process-identity-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
18
|
-
import { i as readDaemonServiceContract } from "./daemon-service-contract-
|
|
19
|
-
import { t as resolveOpenMeldEnvironmentTarget } from "./openmeld-environment-target-
|
|
20
|
-
import { r as runServiceAccountCarrier } from "./service-account-authorization-
|
|
21
|
-
import { b as requestLocalAgentActivitySync, d as compareSemver, f as ensureVersionStateReady, l as OPENMELD_VERSION, y as LocalDaemonControlPlaneClientError } from "./daemon-lifecycle-journal-
|
|
22
|
-
import { G as readManagedCliInstallation, H as buildInstallSelfJsonPayload, U as performManagedInstall, r as readCurrentDaemonRuntimeContext } from "./daemon-service-runtime-
|
|
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-
|
|
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-
|
|
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-
|
|
26
|
-
import { g as canUseInteractivePrompts } from "./elapsed-time-
|
|
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-
|
|
28
|
-
import { d as readSelectedSkillDocument, r as ensureLocalSkills } from "./state-
|
|
29
|
-
import { n as collectSkillsReadinessSnapshot } from "./installation-inventory-
|
|
30
|
-
import { t as runServiceAccountControl } from "./service-account-control-
|
|
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-
|
|
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-
|
|
33
|
-
import { n as submitProfileRuntimeAgentControllerReport, r as submitRuntimeAgentControllerReport } from "./runtime-agent-controller-reporting-submission-
|
|
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-
|
|
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-
|
|
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-
|
|
37
|
-
import { A as
|
|
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-oMoQyKEB.js";
|
|
22
|
+
import { G as readManagedCliInstallation, H as buildInstallSelfJsonPayload, U as performManagedInstall, r as readCurrentDaemonRuntimeContext } from "./daemon-service-runtime-BSFTYU0n.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-BUAkAxqT.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-Ciifmu6w.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-D4rlZXO_.js";
|
|
26
|
+
import { g as canUseInteractivePrompts } from "./elapsed-time-pHCf33Jh.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-D5THLVZR.js";
|
|
28
|
+
import { d as readSelectedSkillDocument, r as ensureLocalSkills } from "./state-Defk8u-_.js";
|
|
29
|
+
import { n as collectSkillsReadinessSnapshot } from "./installation-inventory-Cr8q27L_.js";
|
|
30
|
+
import { t as runServiceAccountControl } from "./service-account-control-D6VGaquv.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-_0fWWVwP.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-CLlVC_zK.js";
|
|
33
|
+
import { n as submitProfileRuntimeAgentControllerReport, p as withProbeWorkingDirectory, r as submitRuntimeAgentControllerReport } from "./runtime-agent-controller-reporting-submission-NTqBffbr.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-BYlFNl6H.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-D2Hox-6r.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-CkKS9A5_.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-BmbIcCis.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,
|
|
@@ -13143,7 +13204,7 @@ function buildAgentTraceCompactSummary(input) {
|
|
|
13143
13204
|
...nativeDeliveryEvidence,
|
|
13144
13205
|
currentState: "delivered",
|
|
13145
13206
|
delivered: true,
|
|
13146
|
-
nextAction:
|
|
13207
|
+
nextAction: resolveAgentTraceNextAction(trace),
|
|
13147
13208
|
reasonCode: finalVisibleOutcome.reasonCode,
|
|
13148
13209
|
visibleOutcome: finalVisibleOutcome.status
|
|
13149
13210
|
};
|
|
@@ -13252,6 +13313,7 @@ function formatNativeDeliveryDestination(destination) {
|
|
|
13252
13313
|
}
|
|
13253
13314
|
function resolveAgentTraceNextAction(trace) {
|
|
13254
13315
|
if (trace.resultInbox?.publishState === "late_result_available") return "open the Space outcome details and inspect the retained-result evidence; do not retry the Wake";
|
|
13316
|
+
if (projectSpaceDispatchTraceFinalVisibleOutcome(trace).delivered) return "none";
|
|
13255
13317
|
const rootCause = resolveTraceRootCause(trace);
|
|
13256
13318
|
if (rootCause === "none" || rootCause === "ok") return "none";
|
|
13257
13319
|
if (trace.dispatch.status === "dispatching") return "wait, then rerun trace with the same selector";
|
|
@@ -17447,19 +17509,23 @@ function registerFilesCommands(program, runChecked) {
|
|
|
17447
17509
|
const [file, content] = await Promise.all([api.getFile({
|
|
17448
17510
|
location: target,
|
|
17449
17511
|
fileId
|
|
17450
|
-
}), api.
|
|
17512
|
+
}), api.streamContent({
|
|
17451
17513
|
location: target,
|
|
17452
17514
|
fileId,
|
|
17453
17515
|
revision: revision(opts.revision)
|
|
17454
17516
|
})]);
|
|
17455
|
-
if (!
|
|
17517
|
+
if (!isSpaceFileTextReadable({
|
|
17518
|
+
fileName: file.name,
|
|
17456
17519
|
mimeType: content.mimeType,
|
|
17457
|
-
sizeBytes: content.
|
|
17458
|
-
}))
|
|
17520
|
+
sizeBytes: content.sizeBytes
|
|
17521
|
+
})) {
|
|
17522
|
+
await content.bytes.cancel();
|
|
17523
|
+
throw new Error("This file is binary or too large to print. Open it in Files.");
|
|
17524
|
+
}
|
|
17459
17525
|
const result = {
|
|
17460
17526
|
file,
|
|
17461
17527
|
revision: content.revision,
|
|
17462
|
-
content:
|
|
17528
|
+
content: await readSpaceFileTextStream(content.bytes)
|
|
17463
17529
|
};
|
|
17464
17530
|
output("files.read", result, () => presenter.line({
|
|
17465
17531
|
code: "files.read",
|
|
@@ -24203,7 +24269,7 @@ function normalizeOptionalString(value) {
|
|
|
24203
24269
|
return normalized.length > 0 ? normalized : null;
|
|
24204
24270
|
}
|
|
24205
24271
|
async function runDefaultSpaceAddMeMembership(input) {
|
|
24206
|
-
const { runSpaceAddMeMembership } = await import("./add-me-membership-
|
|
24272
|
+
const { runSpaceAddMeMembership } = await import("./add-me-membership-CQeOTn8Y.js");
|
|
24207
24273
|
return await runSpaceAddMeMembership(input);
|
|
24208
24274
|
}
|
|
24209
24275
|
//#endregion
|
|
@@ -24801,21 +24867,24 @@ async function runSpaceFilesRead(input) {
|
|
|
24801
24867
|
requestContext: context.requestContext,
|
|
24802
24868
|
fileId: input.fileId,
|
|
24803
24869
|
...spacePassword === void 0 ? {} : { spacePassword }
|
|
24804
|
-
}), context.spaceApi.
|
|
24870
|
+
}), context.spaceApi.streamFileContent({
|
|
24805
24871
|
spaceId: input.space,
|
|
24806
24872
|
requestContext: context.requestContext,
|
|
24807
24873
|
fileId: input.fileId,
|
|
24808
24874
|
...input.revision === void 0 ? {} : { revision: input.revision },
|
|
24809
24875
|
...spacePassword === void 0 ? {} : { spacePassword }
|
|
24810
24876
|
})]);
|
|
24811
|
-
if (!
|
|
24812
|
-
|
|
24813
|
-
|
|
24814
|
-
}))
|
|
24877
|
+
if (!isSpaceFileTextReadable({
|
|
24878
|
+
fileName: metadata.file.name,
|
|
24879
|
+
mimeType: content.mimeType
|
|
24880
|
+
})) {
|
|
24881
|
+
await content.bytes.cancel();
|
|
24882
|
+
throw new Error("This file is binary or too large to print. Use `openmeld space files download` instead.");
|
|
24883
|
+
}
|
|
24815
24884
|
return {
|
|
24816
24885
|
file: metadata.file,
|
|
24817
24886
|
revision: content.revision,
|
|
24818
|
-
content:
|
|
24887
|
+
content: await readSpaceFileTextStream(content.bytes)
|
|
24819
24888
|
};
|
|
24820
24889
|
}
|
|
24821
24890
|
});
|
|
@@ -26878,28 +26947,6 @@ async function chooseQuestionResponse(request) {
|
|
|
26878
26947
|
};
|
|
26879
26948
|
}
|
|
26880
26949
|
//#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
26950
|
//#region src/space/read-projection/human-reply-workflow-display.ts
|
|
26904
26951
|
function buildHumanReplyWorkflowSummary(projection) {
|
|
26905
26952
|
if (!projection) return null;
|
|
@@ -26914,7 +26961,7 @@ function buildHumanReplyWorkflowSummary(projection) {
|
|
|
26914
26961
|
}
|
|
26915
26962
|
}
|
|
26916
26963
|
function buildHumanReplyWorkflowSurfaceNote(input) {
|
|
26917
|
-
return input.surface === "result" ? "`space result` reads archived
|
|
26964
|
+
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
26965
|
}
|
|
26919
26966
|
function buildHumanReplyWorkflowSignalSummary(projection) {
|
|
26920
26967
|
if (!(projection?.hasPublicSignal && projection.publishedSignalId)) return null;
|
|
@@ -27141,6 +27188,84 @@ function resolveDispatchResultActorName(input) {
|
|
|
27141
27188
|
return null;
|
|
27142
27189
|
}
|
|
27143
27190
|
//#endregion
|
|
27191
|
+
//#region src/space/result-api.ts
|
|
27192
|
+
async function fetchSpaceDispatchResult(input) {
|
|
27193
|
+
const endpoint = new URL(toSpaceResultUrl(input.baseUrl, input.space));
|
|
27194
|
+
if (input.dispatchId) endpoint.searchParams.set("dispatchId", input.dispatchId);
|
|
27195
|
+
if (input.resultRef) endpoint.searchParams.set("resultRef", input.resultRef);
|
|
27196
|
+
const raw = await readGatewayTextResponse({ response: await fetchSpaceRequestWithTimeout({
|
|
27197
|
+
url: endpoint.toString(),
|
|
27198
|
+
operation: "space.result.read",
|
|
27199
|
+
init: { headers: {
|
|
27200
|
+
...await buildOpenMeldRequestContextHeadersWithAuth({
|
|
27201
|
+
requestUrl: endpoint.toString(),
|
|
27202
|
+
requestContext: input.requestContext,
|
|
27203
|
+
spacePassword: input.password
|
|
27204
|
+
}),
|
|
27205
|
+
[OPENMELD_HEADER_SPACE_ADDRESSING_VERSION]: "1"
|
|
27206
|
+
} }
|
|
27207
|
+
}) });
|
|
27208
|
+
const parsed = getSpaceDispatchResultResponseSchema.safeParse(parseJsonResponse(raw));
|
|
27209
|
+
if (!parsed.success) throw new Error("invalid space dispatch result response");
|
|
27210
|
+
return parsed.data;
|
|
27211
|
+
}
|
|
27212
|
+
//#endregion
|
|
27213
|
+
//#region src/space/result-read.ts
|
|
27214
|
+
async function readSpaceResult(input) {
|
|
27215
|
+
try {
|
|
27216
|
+
return {
|
|
27217
|
+
source: "archive",
|
|
27218
|
+
result: await fetchSpaceDispatchResult(input)
|
|
27219
|
+
};
|
|
27220
|
+
} catch (error) {
|
|
27221
|
+
const failure = toStructuredGatewayFailure(error);
|
|
27222
|
+
const missing = failure.code === "space.dispatch_result.not_found" || failure.code === "upstream_error" && failure.message.trim().toLowerCase() === "dispatch result not found";
|
|
27223
|
+
if (!input.dispatchId || failure.status !== 404 || !missing) throw error;
|
|
27224
|
+
}
|
|
27225
|
+
const trace = await fetchSpaceDispatchTrace({
|
|
27226
|
+
...input,
|
|
27227
|
+
dispatchId: input.dispatchId,
|
|
27228
|
+
includeRemoteAgentRuntimeDiagnostics: false,
|
|
27229
|
+
includeServiceConnectionDiagnostics: false
|
|
27230
|
+
});
|
|
27231
|
+
if (trace.query.dispatchId !== input.dispatchId || trace.query.spaceId !== input.space) throw new Error("Dispatch result trace does not match the requested execution.");
|
|
27232
|
+
const execution = trace.nativeDeliveryTrace ?? trace.trace;
|
|
27233
|
+
const visible = execution?.finalVisibleMessage;
|
|
27234
|
+
const outcome = execution?.finalVisibleOutcome;
|
|
27235
|
+
if (!(visible && outcome?.delivered) || outcome.signalId !== visible.signalId) {
|
|
27236
|
+
const state = trace.nativeDeliveryTrace?.turn.status ?? trace.trace?.nativeDelivery?.status ?? outcome?.status ?? "not_found";
|
|
27237
|
+
throw Object.assign(/* @__PURE__ */ new Error(`No final Space message is available. Execution/publication state: ${state}. Use service trace for details.`), {
|
|
27238
|
+
code: "space.result.not_published",
|
|
27239
|
+
status: 409
|
|
27240
|
+
});
|
|
27241
|
+
}
|
|
27242
|
+
if (visible.dispatchId !== input.dispatchId) throw new Error("Dispatch result trace does not match the requested execution.");
|
|
27243
|
+
const signal = (await input.spaceApi.listSignalEnvelopes({
|
|
27244
|
+
spaceId: input.space,
|
|
27245
|
+
requestContext: input.requestContext,
|
|
27246
|
+
...input.password === void 0 ? {} : { spacePassword: input.password },
|
|
27247
|
+
query: {
|
|
27248
|
+
aroundSignalId: visible.signalId,
|
|
27249
|
+
beforeCount: 0,
|
|
27250
|
+
afterCount: 0
|
|
27251
|
+
}
|
|
27252
|
+
})).envelopes.find((candidate) => candidate.id === visible.signalId);
|
|
27253
|
+
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."), {
|
|
27254
|
+
code: "space.result.message_unavailable",
|
|
27255
|
+
status: 409
|
|
27256
|
+
});
|
|
27257
|
+
return {
|
|
27258
|
+
source: "published_message",
|
|
27259
|
+
result: spacePublishedDispatchResultSchema.parse({
|
|
27260
|
+
source: "published_message",
|
|
27261
|
+
spaceId: input.space,
|
|
27262
|
+
dispatchId: input.dispatchId,
|
|
27263
|
+
outcome,
|
|
27264
|
+
signal
|
|
27265
|
+
})
|
|
27266
|
+
};
|
|
27267
|
+
}
|
|
27268
|
+
//#endregion
|
|
27144
27269
|
//#region src/space/result-command.ts
|
|
27145
27270
|
async function loadSpaceResultProjectionContext(input) {
|
|
27146
27271
|
const signalIndex = await loadSpaceSignalIndexOrNull({
|
|
@@ -27200,7 +27325,8 @@ async function runSpaceResult(input) {
|
|
|
27200
27325
|
initialPassword: input.password,
|
|
27201
27326
|
interactive: interactive && runtime.resolvedView === "human" && !input.json,
|
|
27202
27327
|
presenter,
|
|
27203
|
-
execute: async (password) => await
|
|
27328
|
+
execute: async (password) => await readSpaceResult({
|
|
27329
|
+
spaceApi,
|
|
27204
27330
|
requestContext,
|
|
27205
27331
|
baseUrl,
|
|
27206
27332
|
space: input.space,
|
|
@@ -27219,15 +27345,40 @@ async function runSpaceResult(input) {
|
|
|
27219
27345
|
});
|
|
27220
27346
|
}
|
|
27221
27347
|
if (resultRead.status === "cancelled") return;
|
|
27222
|
-
const
|
|
27348
|
+
const read = resultRead.result;
|
|
27223
27349
|
const resolvedPassword = resultRead.password;
|
|
27224
27350
|
const { identityDirectory, membersSnapshot, signalIndex } = await loadSpaceResultProjectionContext({
|
|
27225
|
-
result,
|
|
27226
27351
|
requestContext,
|
|
27227
27352
|
resolvedPassword,
|
|
27228
27353
|
spaceApi,
|
|
27229
27354
|
spaceId: input.space
|
|
27230
27355
|
});
|
|
27356
|
+
if (read.source === "published_message") {
|
|
27357
|
+
const message = buildFormalSignalReadPayload({
|
|
27358
|
+
signal: read.result.signal,
|
|
27359
|
+
identityDirectory,
|
|
27360
|
+
membersSnapshot,
|
|
27361
|
+
signalIndex
|
|
27362
|
+
});
|
|
27363
|
+
const payload = {
|
|
27364
|
+
...read.result,
|
|
27365
|
+
messageReadProjection: message.messageReadProjection
|
|
27366
|
+
};
|
|
27367
|
+
if (input.json) outJsonLine(payload);
|
|
27368
|
+
else if (runtime.resolvedView === "agent") presenter.data({
|
|
27369
|
+
code: "space.result.published_message",
|
|
27370
|
+
payload
|
|
27371
|
+
});
|
|
27372
|
+
else presenter.line({
|
|
27373
|
+
code: "space.result.published_message",
|
|
27374
|
+
text: formatTextEvent(read.result.signal, {
|
|
27375
|
+
view: "human",
|
|
27376
|
+
spaceMembersSnapshot: membersSnapshot
|
|
27377
|
+
}) ?? `${read.result.outcome.status}: ${read.result.signal.id}`
|
|
27378
|
+
});
|
|
27379
|
+
return;
|
|
27380
|
+
}
|
|
27381
|
+
const result = read.result;
|
|
27231
27382
|
if (input.json) {
|
|
27232
27383
|
emitSpaceResultJsonOutput({
|
|
27233
27384
|
identityDirectory,
|
|
@@ -28327,7 +28478,7 @@ function renderWakeProgressHumanOutput(input) {
|
|
|
28327
28478
|
});
|
|
28328
28479
|
input.presenter.line({
|
|
28329
28480
|
code: "space.wake_progress.boundary",
|
|
28330
|
-
text: "This is live progress. Use `space result` for archived results and `service trace` for execution diagnostics."
|
|
28481
|
+
text: "This is live progress. Use `space result` for archived or published results and `service trace` for execution diagnostics."
|
|
28331
28482
|
});
|
|
28332
28483
|
}
|
|
28333
28484
|
//#endregion
|
|
@@ -29251,7 +29402,7 @@ Commands require a stable invocationId and key; poll the same invocation to read
|
|
|
29251
29402
|
routeTokens: ["computer", "cloud"],
|
|
29252
29403
|
view,
|
|
29253
29404
|
run: async () => {
|
|
29254
|
-
const { runCloudComputer } = await import("./cloud-computer-
|
|
29405
|
+
const { runCloudComputer } = await import("./cloud-computer-Cymmmv7K.js");
|
|
29255
29406
|
await runCloudComputer({
|
|
29256
29407
|
operation: opts.operation,
|
|
29257
29408
|
view
|
|
@@ -29265,9 +29416,9 @@ computerCmd.command("disconnect").description("Disconnect this computer from its
|
|
|
29265
29416
|
routeTokens: ["computer", "disconnect"],
|
|
29266
29417
|
view,
|
|
29267
29418
|
run: async () => {
|
|
29268
|
-
const { runComputerDisconnect, runComputerDisconnectTarget } = await import("./computer-disconnect-
|
|
29419
|
+
const { runComputerDisconnect, runComputerDisconnectTarget } = await import("./computer-disconnect-Bv4hrAWw.js");
|
|
29269
29420
|
if (!opts.connectionIntent) {
|
|
29270
|
-
const { desktopComputerDisconnectRequestSchema } = await import("./dist-
|
|
29421
|
+
const { desktopComputerDisconnectRequestSchema } = await import("./dist-Cbw4UtHs.js");
|
|
29271
29422
|
await runComputerDisconnectTarget(desktopComputerDisconnectRequestSchema.parse({
|
|
29272
29423
|
expectedAccount: opts.expectedAccount,
|
|
29273
29424
|
expectedConnection: {
|
|
@@ -29519,6 +29670,18 @@ skillsCmd.command("update").alias("upgrade").description("Update OpenMeld skills
|
|
|
29519
29670
|
});
|
|
29520
29671
|
});
|
|
29521
29672
|
const agentsCmd = program.command("agents").description("Find, enable, and review OpenMeld agents on this device.");
|
|
29673
|
+
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) => {
|
|
29674
|
+
const view = getGlobalViewOption();
|
|
29675
|
+
await runCommandWithEntryChecks({
|
|
29676
|
+
routeTokens: ["agents", "login"],
|
|
29677
|
+
view,
|
|
29678
|
+
run: () => runAgentsLogin({
|
|
29679
|
+
agentId,
|
|
29680
|
+
method: opts.method,
|
|
29681
|
+
view
|
|
29682
|
+
})
|
|
29683
|
+
});
|
|
29684
|
+
});
|
|
29522
29685
|
agentsCmd.action(async () => {
|
|
29523
29686
|
const view = getGlobalViewOption();
|
|
29524
29687
|
await runCommandWithEntryChecks({
|
|
@@ -30542,7 +30705,7 @@ withSpaceProfileOption(spaceCmd.command("dm").description("Open a Direct Message
|
|
|
30542
30705
|
view: getGlobalViewOption()
|
|
30543
30706
|
});
|
|
30544
30707
|
});
|
|
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
|
|
30708
|
+
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
30709
|
const cliOptions = resolveSpaceCommandCliOptions(command, opts);
|
|
30547
30710
|
const spaceValue = String(space ?? "").trim();
|
|
30548
30711
|
const outputView = await resolveEffectiveViewForOutput();
|
|
@@ -31006,7 +31169,7 @@ withSpaceProfileOption(spaceCmd.command("password").description("Set, change, or
|
|
|
31006
31169
|
}
|
|
31007
31170
|
});
|
|
31008
31171
|
});
|
|
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
|
|
31172
|
+
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
31173
|
const space = String(opts.space ?? "").trim();
|
|
31011
31174
|
if (!space) throw createSpaceAliasTargetGuideError("send");
|
|
31012
31175
|
const view = getGlobalViewOption();
|
|
@@ -31582,18 +31745,18 @@ async function main() {
|
|
|
31582
31745
|
if (await runMacOsNativeKeychainHelperIfRequested()) return;
|
|
31583
31746
|
const argv = process.argv.map((arg) => arg === "--h" ? "--help" : arg);
|
|
31584
31747
|
if (argv.length === 5 && argv[2] === "computer" && argv[3] === "connection-review" && argv[4] === "--json") {
|
|
31585
|
-
const { readComputerConnectionReview } = await import("./computer-connection-review-
|
|
31748
|
+
const { readComputerConnectionReview } = await import("./computer-connection-review-zgdekYjE.js");
|
|
31586
31749
|
outLine(JSON.stringify(await readComputerConnectionReview()));
|
|
31587
31750
|
return;
|
|
31588
31751
|
}
|
|
31589
31752
|
if (argv.length === 5 && argv[2] === "service" && argv[4] === "--json") {
|
|
31590
31753
|
if (argv[3] === "control-carrier-capability") {
|
|
31591
|
-
const { readServiceControlCarrierCapability } = await import("./service-control-carrier-capability-
|
|
31754
|
+
const { readServiceControlCarrierCapability } = await import("./service-control-carrier-capability-nAOgdIbf.js");
|
|
31592
31755
|
outLine(JSON.stringify(readServiceControlCarrierCapability()));
|
|
31593
31756
|
return;
|
|
31594
31757
|
}
|
|
31595
31758
|
if (argv[3] === "control-capabilities") {
|
|
31596
|
-
const { readServiceControlCapabilities } = await import("./service-control-capabilities-
|
|
31759
|
+
const { readServiceControlCapabilities } = await import("./service-control-capabilities-h014PLa0.js");
|
|
31597
31760
|
emitCliJsonEnvelope({
|
|
31598
31761
|
schemaVersion: 1,
|
|
31599
31762
|
type: "service.control_capabilities",
|
|
@@ -31776,4 +31939,4 @@ main().catch((error) => {
|
|
|
31776
31939
|
//#endregion
|
|
31777
31940
|
export {};
|
|
31778
31941
|
|
|
31779
|
-
//# sourceMappingURL=openmeld-
|
|
31942
|
+
//# sourceMappingURL=openmeld-DVXOSt5S.js.map
|