openmeld 0.3.216 → 0.3.218
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/LICENSE +21 -0
- package/dist/{add-me-membership-CxgkT6ht.js → add-me-membership-CY6oMdtz.js} +2 -2
- package/dist/{add-me-membership-CxgkT6ht.js.map → add-me-membership-CY6oMdtz.js.map} +1 -1
- package/dist/{agents-B_qjzGkQ.js → agents-CzSR8rmW.js} +10 -10
- package/dist/{agents-B_qjzGkQ.js.map → agents-CzSR8rmW.js.map} +1 -1
- package/dist/{api-client-foundation-XILCNkrF.js → api-client-foundation-BOBrz3Lx.js} +3 -3
- package/dist/{api-client-foundation-XILCNkrF.js.map → api-client-foundation-BOBrz3Lx.js.map} +1 -1
- package/dist/{api-client-foundation-DdtV7aF-.js → api-client-foundation-D1M0bkwm.js} +1 -1
- package/dist/{auth-session-B9Whm1hq.js → auth-session-BAq7KkIa.js} +22 -6
- package/dist/auth-session-BAq7KkIa.js.map +1 -0
- package/dist/auth-session-D-HTJNKZ.js +4 -0
- package/dist/{base-url-CiSsUvmr.js → base-url-CMBApK1J.js} +1 -1
- package/dist/{base-url-jdL78gyl.js → base-url-D7uE_xTo.js} +2 -2
- package/dist/{base-url-jdL78gyl.js.map → base-url-D7uE_xTo.js.map} +1 -1
- package/dist/{channel-CKmbucdt.js → channel-DAZr7cKE.js} +4 -4
- package/dist/{channel-CKmbucdt.js.map → channel-DAZr7cKE.js.map} +1 -1
- package/dist/{cli-space-api-DlDztj9O.js → cli-space-api-Ccr8COpr.js} +6 -6
- package/dist/{cli-space-api-DlDztj9O.js.map → cli-space-api-Ccr8COpr.js.map} +1 -1
- package/dist/{command-Cbp4ZeZs.js → command-tsXWNPpM.js} +28 -23
- package/dist/command-tsXWNPpM.js.map +1 -0
- package/dist/{computer-connection-CVE1MAqF.js → computer-connection-BK9TsQjc.js} +2 -2
- package/dist/{computer-connection-CVE1MAqF.js.map → computer-connection-BK9TsQjc.js.map} +1 -1
- package/dist/{computer-connection-review-CfFmjZLP.js → computer-connection-review-jPtrO484.js} +5 -5
- package/dist/{computer-connection-review-CfFmjZLP.js.map → computer-connection-review-jPtrO484.js.map} +1 -1
- package/dist/{computer-disconnect-B5nMRe9T.js → computer-disconnect-DzvN_Cbv.js} +7 -7
- package/dist/{computer-disconnect-B5nMRe9T.js.map → computer-disconnect-DzvN_Cbv.js.map} +1 -1
- package/dist/{computer-setup-continuation-Bd3BIgdU.js → computer-setup-continuation-bJzZPnNU.js} +3 -3
- package/dist/{computer-setup-continuation-Bd3BIgdU.js.map → computer-setup-continuation-bJzZPnNU.js.map} +1 -1
- package/dist/{context-Cz5nJnDe.js → context-DN_LvdgC.js} +5 -5
- package/dist/{context-Cz5nJnDe.js.map → context-DN_LvdgC.js.map} +1 -1
- package/dist/{control-plane-DKPz7DMv.js → control-plane-BDS63N7Y.js} +2 -2
- package/dist/{control-plane-DKPz7DMv.js.map → control-plane-BDS63N7Y.js.map} +1 -1
- package/dist/{controller-contract-pe3_Re-c.js → controller-contract-DAOCaefz.js} +9 -1
- package/dist/controller-contract-DAOCaefz.js.map +1 -0
- package/dist/{daemon-device-id-KgO7zcEr.js → daemon-device-id-bP58j3NL.js} +8 -8
- package/dist/{daemon-device-id-KgO7zcEr.js.map → daemon-device-id-bP58j3NL.js.map} +1 -1
- package/dist/{daemon-frame-transport-DUDAgNbO.js → daemon-frame-transport-DFfxVRi2.js} +36 -9
- package/dist/daemon-frame-transport-DFfxVRi2.js.map +1 -0
- package/dist/{daemon-lifecycle-journal-Bj-fw052.js → daemon-lifecycle-journal-57QR_a3_.js} +9 -9
- package/dist/{daemon-lifecycle-journal-Bj-fw052.js.map → daemon-lifecycle-journal-57QR_a3_.js.map} +1 -1
- package/dist/{daemon-service-manager-Cq3ANgn8.js → daemon-service-manager-ReGjcyjq.js} +1 -1
- package/dist/{daemon-service-manager-CZY8Bin4.js → daemon-service-manager-rNRRVrj1.js} +3 -3
- package/dist/{daemon-service-manager-CZY8Bin4.js.map → daemon-service-manager-rNRRVrj1.js.map} +1 -1
- package/dist/{daemon-service-runtime-yD-w1dQw.js → daemon-service-runtime-686fUcq9.js} +6 -6
- package/dist/{daemon-service-runtime-yD-w1dQw.js.map → daemon-service-runtime-686fUcq9.js.map} +1 -1
- package/dist/{daemon-service-update-coordinator-BATuKmZA.js → daemon-service-update-coordinator-DaoVYK6k.js} +21 -17
- package/dist/daemon-service-update-coordinator-DaoVYK6k.js.map +1 -0
- package/dist/{dist-o3UL1EGQ.js → dist-BLuEEVHh.js} +2 -2
- package/dist/dist-BLuEEVHh.js.map +1 -0
- package/dist/{dist-DZYJ8yLA.js → dist-C1fbc-VK.js} +1 -1
- package/dist/{dist-Ddy96dwl.js → dist-CBWePGgY.js} +3 -3
- package/dist/{dist-Ddy96dwl.js.map → dist-CBWePGgY.js.map} +1 -1
- package/dist/{dist-CkGG099H.js → dist-CiLvbjZA.js} +7863 -7778
- package/dist/dist-CiLvbjZA.js.map +1 -0
- package/dist/{elapsed-time-DGQ63StD.js → elapsed-time-DslUBczL.js} +6 -6
- package/dist/{elapsed-time-DGQ63StD.js.map → elapsed-time-DslUBczL.js.map} +1 -1
- package/dist/{entry-Dhify7h7.js → entry-B3x5OX3x.js} +8 -8
- package/dist/{entry-Dhify7h7.js.map → entry-B3x5OX3x.js.map} +1 -1
- package/dist/{installation-inventory-BJe8fC9k.js → installation-inventory-BZJmaCVr.js} +4 -4
- package/dist/{installation-inventory-BJe8fC9k.js.map → installation-inventory-BZJmaCVr.js.map} +1 -1
- package/dist/{installer-CWgaNzfE.js → installer-BRcaSYgu.js} +2 -2
- package/dist/{installer-CWgaNzfE.js.map → installer-BRcaSYgu.js.map} +1 -1
- package/dist/native/openmeld-keychain.node +0 -0
- package/dist/{open-code-permission-Doem1R2N.js → open-code-permission-DHFJYc_o.js} +5 -1
- package/dist/open-code-permission-DHFJYc_o.js.map +1 -0
- package/dist/{openmeld-koCpjXo7.js → openmeld-Bbffsx9Y.js} +251 -52
- package/dist/openmeld-Bbffsx9Y.js.map +1 -0
- package/dist/openmeld-dev.js +1 -1
- package/dist/{openmeld-environment-target-Dn2rJCa7.js → openmeld-environment-target-B6HqY0_a.js} +2 -2
- package/dist/{openmeld-environment-target-Dn2rJCa7.js.map → openmeld-environment-target-B6HqY0_a.js.map} +1 -1
- package/dist/{openmeld-maintenance-worker-DdsIYpG-.js → openmeld-maintenance-worker-CDd4d01O.js} +11 -11
- package/dist/{openmeld-maintenance-worker-DdsIYpG-.js.map → openmeld-maintenance-worker-CDd4d01O.js.map} +1 -1
- package/dist/{openmeld-tools-update-join-Clgm1ix5.js → openmeld-tools-update-join-htb9JVUN.js} +4 -4
- package/dist/{openmeld-tools-update-join-Clgm1ix5.js.map → openmeld-tools-update-join-htb9JVUN.js.map} +1 -1
- package/dist/{openmeld-tools-update-process-frame-0X-t0Kjv.js → openmeld-tools-update-process-frame-B-XB4dmO.js} +2 -2
- package/dist/{openmeld-tools-update-process-frame-0X-t0Kjv.js.map → openmeld-tools-update-process-frame-B-XB4dmO.js.map} +1 -1
- package/dist/{openmeld-tools-update-process-frame-DX1Dc8VI.js → openmeld-tools-update-process-frame-j-RXwFsK.js} +1 -1
- package/dist/openmeld.js +5 -5
- package/dist/{prepare-provider-runtime-CeGzeQbD.js → prepare-provider-runtime-3eIWxGgM.js} +1156 -127
- package/dist/prepare-provider-runtime-3eIWxGgM.js.map +1 -0
- package/dist/{prepare-session-executor-CsxnDFgS.js → prepare-session-executor-DO2p7uLE.js} +22 -22
- package/dist/{prepare-session-executor-CsxnDFgS.js.map → prepare-session-executor-DO2p7uLE.js.map} +1 -1
- package/dist/{process-channel-BTxB9zK-.js → process-channel-48ZNmEF6.js} +2 -2
- package/dist/{process-channel-BTxB9zK-.js.map → process-channel-48ZNmEF6.js.map} +1 -1
- package/dist/{runtime-CesmzZ2L.js → runtime-C49hR7fG.js} +145 -24
- package/dist/runtime-C49hR7fG.js.map +1 -0
- package/dist/{runtime-agent-controller-reporting-submission-B6cDV_zW.js → runtime-agent-controller-reporting-submission-BJuVnZqs.js} +59 -9
- package/dist/runtime-agent-controller-reporting-submission-BJuVnZqs.js.map +1 -0
- package/dist/{runtime-reporting-health-state-Cjavvccq.js → runtime-reporting-health-state-4Y-fo13l.js} +9 -36
- package/dist/runtime-reporting-health-state-4Y-fo13l.js.map +1 -0
- package/dist/{runtime-transport-CVtBXzIp.js → runtime-transport-KEwcSZ89.js} +125 -11
- package/dist/runtime-transport-KEwcSZ89.js.map +1 -0
- package/dist/{service-Cgat7nEE.js → service-BlcIfxYE.js} +49 -28
- package/dist/service-BlcIfxYE.js.map +1 -0
- package/dist/{service-account-authorization-Ct0OZwbr.js → service-account-authorization-A5Ly0UFD.js} +3 -3
- package/dist/{service-account-authorization-Ct0OZwbr.js.map → service-account-authorization-A5Ly0UFD.js.map} +1 -1
- package/dist/{service-account-control-DefN0EOY.js → service-account-control-DCz_pwrV.js} +10 -10
- package/dist/{service-account-control-DefN0EOY.js.map → service-account-control-DCz_pwrV.js.map} +1 -1
- package/dist/{service-control-capabilities-m7mmxVOi.js → service-control-capabilities-BPL-T8xI.js} +1 -1
- package/dist/{service-control-capabilities-BsCCHsUg.js → service-control-capabilities-plI5rUzP.js} +4 -4
- package/dist/{service-control-capabilities-BsCCHsUg.js.map → service-control-capabilities-plI5rUzP.js.map} +1 -1
- package/dist/{state-C2ztY4iq.js → state-Dj3YS3aV.js} +2 -2
- package/dist/{state-C2ztY4iq.js.map → state-Dj3YS3aV.js.map} +1 -1
- package/dist/{upgrade-O_blyOta.js → upgrade-CRKSer_1.js} +15 -8
- package/dist/upgrade-CRKSer_1.js.map +1 -0
- package/dist/upgrade-DdetA0-U.js +4 -0
- package/dist/{windows-user-task-CSJpDs-S.js → windows-user-task-D4uMvea3.js} +84 -3
- package/dist/windows-user-task-D4uMvea3.js.map +1 -0
- package/dist/{windows-user-task-CWDzkJCq.js → windows-user-task-hNE24Gqr.js} +1 -1
- package/package.json +41 -42
- package/skills/openmeld-cli/playbooks/agent-onboarding.md +15 -0
- package/dist/auth-session-B9Whm1hq.js.map +0 -1
- package/dist/auth-session-DXKHtGTr.js +0 -4
- package/dist/command-Cbp4ZeZs.js.map +0 -1
- package/dist/controller-contract-pe3_Re-c.js.map +0 -1
- package/dist/daemon-frame-transport-DUDAgNbO.js.map +0 -1
- package/dist/daemon-service-update-coordinator-BATuKmZA.js.map +0 -1
- package/dist/dist-CkGG099H.js.map +0 -1
- package/dist/dist-o3UL1EGQ.js.map +0 -1
- package/dist/open-code-permission-Doem1R2N.js.map +0 -1
- package/dist/openmeld-koCpjXo7.js.map +0 -1
- package/dist/prepare-provider-runtime-CeGzeQbD.js.map +0 -1
- package/dist/runtime-CesmzZ2L.js.map +0 -1
- package/dist/runtime-agent-controller-reporting-submission-B6cDV_zW.js.map +0 -1
- package/dist/runtime-reporting-health-state-Cjavvccq.js.map +0 -1
- package/dist/runtime-transport-CVtBXzIp.js.map +0 -1
- package/dist/service-Cgat7nEE.js.map +0 -1
- package/dist/upgrade-O_blyOta.js.map +0 -1
- package/dist/upgrade-axb9z2uy.js +0 -4
- package/dist/windows-user-task-CSJpDs-S.js.map +0 -1
|
@@ -2,41 +2,41 @@
|
|
|
2
2
|
|
|
3
3
|
import { c as toSpaceDispatchLookupUrl, h as toSpaceResultUrl, i as toSpaceContractUrl, l as toSpaceDispatchTraceUrl, r as toSpaceBoardUrl, t as normalizeBaseUrl } from "./urls-CY2uzH2-.js";
|
|
4
4
|
import { D as isLocalMachineFailureError, F as accountsDir, M as accountProfileSpaceCacheDir, N as accountProfileViewPath, O as toRecognizedLocalMachineFailureError, Q as openMeldManagedVersionBinaryPath, S as LocalMachineFailureError, T as createOrphanedSetupConcurrencyIssue, Y as openMeldBackupsDir, Z as openMeldManagedBinaryPath, _ as resolveCliContext, a as isOpenMeldOrphanedLockError, b as formatLaneScopeSentence, c as releaseLockSync, ct as resolveOpenMeldEnvPreset, d as runWithHeldLock, et as openMeldRootDir, gt as systemDir, ht as spacesDir, i as isOpenMeldLockError, it as profileViewPath, k as formatLocalMachineIssueMessage, l as repairOrphanedLegacyLocks, lt as resolveOpenMeldRootDir, m as OPENMELD_CLI_CONTEXT_ENV_KEY, mt as skillsDir, p as LEGACY_OPENMELD_AGENT_SESSION_ENV_KEY, q as normalizeAccountKey, r as buildOpenMeldOrphanedLockAction, rt as profileDir, st as resolveOpenMeldCliEntryNameFromArgv, t as acquireLock, u as resolveOpenMeldOrphanedLockIssue, w as createActiveSetupConcurrencyIssue, x as resolveOpenMeldLaneDescriptor } from "./lock-Bsl_ElWy.js";
|
|
5
|
-
import { $t as createPrepareReadinessApi, Ar as
|
|
6
|
-
import { c as agentControllerConversationRefSchema } from "./controller-contract-
|
|
7
|
-
import { At as ensureOpenMeldManagedProfileWorkspace, C as createModelCatalogReadSession, E as resolveProfileWorkspaceRuntime, Et as listBuiltinAgentsRegistryEntries, I as listAgentTargetStates, It as setCustomProfileWorkspace, K as notifyDaemonRouteCatalogChanged,
|
|
8
|
-
import {
|
|
9
|
-
import { C as updateAuthSessionActiveOrganization, T as runMacOsNativeKeychainHelperIfRequested, a as beginAuthSessionTransition, d as getAuthSessionState, f as getCurrentAuthOwnerUserId, g as normalizeStoredActiveOrganization, n as AuthSessionRecoveryInProgressError, o as buildStoredAuthSessionIdentity, s as clearAuthSession, t as AuthSessionChangedBeforeTransitionError, u as getAuthSessionMetadata } from "./auth-session-
|
|
10
|
-
import { L as nonEmptyTrimmedStringFromUnknown, O as openMeldRuntimeProfileIdSchema, w as dispatchExecutionSchema, z as trimmedStringFromUnknown } from "./control-plane-
|
|
11
|
-
import { t as computerConnectionIntentSchema } from "./computer-connection-
|
|
12
|
-
import { d as readSelectedSkillDocument, r as ensureLocalSkills } from "./state-
|
|
13
|
-
import { $ as buildAuthStatusSnapshot, B as resolveDaemonServiceParticipationStatus, C as buildProfileWorkspaceRows, Ct as cliJsonSkillsShowEnvelopeSchema, Dt as organizationJoinLinkManagementQuerySchema, E as emitDaemonAgentOverview, Et as organizationJoinLinkErrorResponseSchema, 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, Ot as revokeOrganizationJoinLinkResponseSchema, P as renderHumanTextErrorCard, Q as buildAuthStatusRows, R as resolveLocalComponentsStatus, S as buildProfileWorkspacePresentation, St as cliJsonSkillsLoadEnvelopeSchema, Tt as getOrganizationJoinLinkResponseSchema, V as LocalProjectConnectionError, W as buildCommandAuthenticationPromptMessage, X as runAuthStatus, Y as runAuthMenu, Z as exchangeOneTimeTokenAuthSession, a as runDaemonBackgroundStartForDecision, at as promptTextEntry, bt as cliJsonOutputEnvelopeSchema, 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, wt as acceptOrganizationJoinLinkBodySchema, x as resolveServiceParticipationReadiness, xt as cliJsonSkillsListEnvelopeSchema, y as formatServiceParticipationReadinessLabel, yt as cliJsonErrorEnvelopeSchema, z as writeInstalledLocalComponentsSnapshot } from "./service-
|
|
14
|
-
import { C as defaultManagedIntegrationPaths, D as uninstallAgentActivityIntegrations, E as resolveAgentActivityDispatcherCommand, T as readAgentActivityIntegrationStatus, _ as readControllerTaskLifecycleOutboxHealth, a as fetchSpaceUpdates, b as resolveAgentActivityRouteForPath, c as downloadWorkingCopyFile, d as syncLocalAgentActivity, g as enqueueControllerTaskLifecycleEventWhileLocked, h as removeAgentActivityContextCache, l as materializeOrganizationSkillRelease, m as readAgentActivityContextForPath, o as createSpaceWorkingCopies, t as readRuntimeReportingHealthState, v as isAgentActivityRouteRegistered, w as installAgentActivityIntegrations, x as unregisterAgentActivityRoute, y as registerAgentActivityRoute } from "./runtime-reporting-health-state-
|
|
15
|
-
import { B as createOpenMeldHumanProfile, G as resolveOpenMeldProfile, U as listOpenMeldProfiles, V as deleteOpenMeldProfile, W as primeOpenMeldProfilesSessionCache, Z as buildAgentAuthenticationGuide, at as resolveAuthenticationGuidanceFromMessage, et as buildHumanAuthenticationCard, it as resolveAuthenticationGuidanceFromError, q as updateOpenMeldProfile, rt as resolveAuthenticationGuidance, tt as createAuthenticationError, z as createOpenMeldAgentProfile } from "./daemon-device-id-
|
|
16
|
-
import { H as buildInstallSelfJsonPayload, U as performManagedInstall, r as readCurrentDaemonRuntimeContext } from "./daemon-service-runtime-
|
|
17
|
-
import { A as formatDeviceReplyReadinessLabel, B as resolveGatewayChainReadiness, Bt as assessCliUpdate, It as assessServerRequiredVersion, J as getSetupFlowCopy, K as buildDaemonRouteObservationPresentation$1, Mt as classifyDaemonServiceRunStartability, N as mapAgentReplyReadinessToLegacyAutoReply, Nt as classifyDaemonServiceWakeability, O as resolveCurrentReplyReadinessSnapshot, Pt as resolveCurrentDaemonExpectedVersion, T as resolveDaemonServiceFreshnessWarning, U as resolveOpenClawLocalDiagnosticsValue, Vt as isCliUpdateCheckApplicable, _ as resolveServiceReadinessFromServiceStatus, ft as inspectDaemonServiceInventory, j as formatHumanReplyReadinessReason$1, k as formatAgentReplyReadinessLabel, q as buildOnboardingPlan, t as runPendingDaemonServiceUpdate, zt as readCurrentLocalDeviceId } from "./daemon-service-update-coordinator-
|
|
18
|
-
import { $ as resolveCreateProfileKind, A as parseEnvelope, B as resolveHumanControllerDisplayName, C as toSpaceMetaUpsertInput, D as formatHumanReadTargetList, E as buildHumanReplyContextSummary, F as resolveOpenMeldProfileForSpaceCommand, G as printOpenMeldBanner, H as resolveAgentProfileSetup, I as emitSpaceAgentOverview, J as renderOpenMeldLogo, K as renderOpenMeldBrandBlockLines, L as emitSpaceCliAgentOverview, M as assertFullSignalIdArgument, N as assertValidSpaceIdTarget, O as resolveLinkAccessLabel, P as prepareAuthenticatedSpaceCommandContext, Q as createProfileByKind, R as prepareLocalAgentReadiness, S as loadSpaceSignalIndexOrNull, T as buildFormalSignalReadPayload, U as colorizeAgentLabel, V as persistAgentTransportSelection, W as colorizeDisplayProfileLabel, X as resolveSpaceSendText, Y as renderOpenMeldTagline, Z as resolveSpaceTaskSelection, _ as runSpaceWriteWithPasswordRetry, a as runSpaceDelete, b as buildIdentityOnlyMembersSnapshotForReadProjection, c as runSpaceLeave, d as runSpaceRemoveMembers, et as resolveCreateProfileName, f as runSpaceSend, g as runSpaceReadWithPasswordRetry, h as uploadPreparedSpaceFiles, i as runSpaceCreate, j as isSpaceCommandOutputHandledError, k as resolveOrganizationVisibilityLabel, l as runSpaceList, m as prepareRequestedSpaceSendFiles, n as promptAndConfirmSpacePassword, nt as assessActionParticipationCandidate, o as runSpaceHistory, p as runSpaceWatch, q as renderOpenMeldHeader, r as runSpaceAddMembers, s as runSpaceJoin, t as buildCreateSpacePasswordPromptConfig, tt as ensureAgentProfileRuntimeBinding, u as runSpacePassword, v as buildHumanReadSignalsTranscriptItems, w as buildFormalDispatchResultReadPayload, x as loadSpaceIdentityDirectoryOrNull, y as emitHumanReadSignalsTextProjection, z as buildReplyReadinessGuidance } from "./command-
|
|
19
|
-
import { a as areAllowedActionsEquivalent, p as canonicalizeAllowedActions, r as SPACE_CONTRACT_ALLOWED_ACTION_ORDER, s as buildAgentFacingPublicationModeGuideLines, t as OPENMELD_AGENT_MENTAL_MODEL_LINES } from "./dist-
|
|
20
|
-
import {
|
|
21
|
-
import { E as updateConfiguredStartV1OnboardingState, S as setConfiguredSkillsConfig, a as resolveBaseUrl, b as setConfiguredBaseUrl, c as resolveExplicitGatewayUrlOrThrow, g as getConfiguredSkillsConfig, m as getConfiguredOnboardingDisclaimerAcceptedAt, o as resolveBaseUrlOrNull, u as alignRuntimeConfigStorage, w as updateConfiguredOnboardingConfig } from "./base-url-
|
|
5
|
+
import { $r as agentActivityInventorySessionStatusSchema, $t as createPrepareReadinessApi, Ar as observabilityWakeTraceSelectorSchema, Cn as postSpaceWorkHandoff, Cr as SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER, Dr as spaceDispatchTraceAttemptStatusSchema, Er as resolveSpaceDispatchTraceRootCause, Ft as createCenterAgentApi, Jr as ownerComputerDiagnosticsSchema, Jt as createOrganizationApi, Lt as createComputerFileAccessApi, Mt as createAgentProfileBindingApi, Nn as toStructuredApiClientFailure, Nt as createAgentProfileExecutionModeApi, Or as spaceDispatchTraceDispatchStatusSchema, Qr as agentActivityInventorySessionOriginSchema, Qt as createPluginsApi, Ti as signalTextEnvelopeSchema, Tr as resolveRuntimeCoordinatorHeadStatusRootCause, Vr as resolvedSpaceMemberProfileSchema, Vt as createFeedbackApi, Xn as OPENMELD_HEADER_SPACE_ADDRESSING_VERSION, Xr as summarizeComputerFileAccessPolicy, Xt as createOrganizationSkillsApi, Yr as projectOwnerComputerLocalRuntimes, _r as spaceTaskMutationReceiptSchema, bi as agentActivitySnapshotQuerySchema, br as submitFeedbackIssueRequestSchema, dr as createAgentProfileCreationRequestBodySchema, ei as agentActivitySessionInventoryQuerySchema, er as spaceEntryTargetSchema, gr as spaceTaskIdSchema, hr as mutateSpaceTaskBodySchema, in as createRoutinesApi, jr as projectObservabilityWakeCorrelation, jt as createAgentActivityApi, kr as spaceDispatchTraceResponseSchema, lr as DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION, mr as listSpaceTasksResponseSchema, ni as localAgentSessionProviderSchema, nn as createProjectsApi, pr as createSpaceTaskBodySchema, qn as OPENMELD_HEADER_PROFILE_ID, tr as pluginActionRequestSchema, ur as agentProfileCreationConfigurationSchema, vi as agentActivityProviderSchema, wr as projectSpaceDispatchTraceFinalVisibleOutcome, yi as agentActivitySessionStatusSchema, zt as createCurrentDeviceApi } from "./dist-CiLvbjZA.js";
|
|
6
|
+
import { c as agentControllerConversationRefSchema } from "./controller-contract-DAOCaefz.js";
|
|
7
|
+
import { Ar as compareAgentControllerRefsForDisplay, At as ensureOpenMeldManagedProfileWorkspace, C as createModelCatalogReadSession, E as resolveProfileWorkspaceRuntime, Et as listBuiltinAgentsRegistryEntries, I as listAgentTargetStates, It as setCustomProfileWorkspace, K as notifyDaemonRouteCatalogChanged, Lt as setOpenMeldManagedProfileWorkspace, Mt as readProfileWorkspaceConfig, O as syncDeviceRuntimeStateProjection, Pt as resolveConfiguredProfileWorkspacePath, Q as resolveLocalRegistryAgentIdFromAgentControllerRef, Rt as validateCustomProfileWorkspacePath, S as syncProfileWorkspaceState, St as canonicalizeLocalProjectPath, _r as resolveAgentProfileEditCapabilities, _t as removeProjectConnection, bt as setDefaultProjectConnection, dr as peopleComputerContainsDevice, fr as projectPeopleComputersToLegacyLocalRuntimes, ft as listProjectBindings, gr as resolveAgentExecutionStatus, hr as resolveAgentControllerPermissionModeForController, ir as createAgentExecutionStatusDisplayRows, j as resolveAgentProfilePrimaryAgentControllerReport, jt as normalizeCustomProfileWorkspacePath, k as createPrimaryBindingReadSession, lr as listAgentControllerPermissionModeOptions, mt as migrateProjectBindingStore, or as getAgentControllerPermissionModeDisplayMetadata, pt as listProjectConnectionsWithStatus, qn as resolveDispatchSpaceActionMcpServer, sr as getAgentControllerPermissionModeFieldLabel, ur as parseAgentControllerRef, ut as bindProject, vr as resolveEvidenceSyncHealth, xt as unbindProject, yr as resolveNativeAgentControllerPermissionModeForController, yt as runIfAgentActivityBindingGenerationIsCurrent, zt as describeProfileWorkspacePathValidationFailure } from "./prepare-provider-runtime-3eIWxGgM.js";
|
|
8
|
+
import { Gt as spaceWorkingCopyResultSchema, Hn as messageEnvelopeSchema, Ht as spaceWorkHandoffSchema, On as spaceContractFieldsSchema, Qt as isSpaceFileTextEditable, Rt as spaceStatusSchema, Wr as START_BOUNDED_ID_SCHEMA, Wt as spaceWorkSelectionSchema, ci as openMeldProfileIdSchema, cr as agentInteractionResponseSchema, dn as spaceFileEntryIdSchema, dr as clientMessageIdSchema, gn as spaceMessageFileReferenceSchema, hn as spaceFileRevisionNumberSchema, kn as spaceContractSchema, li as openMeldRequestContextSchema, nn as readSpaceFileTextResponseSchema, qr as START_TRIMMED_NON_EMPTY_STRING_SCHEMA, rn as resolveSpaceFileMimeType, wn as spaceThreadContextSchema, zt as centerAgentInteractionSourceSchema } from "./runtime-transport-KEwcSZ89.js";
|
|
9
|
+
import { C as updateAuthSessionActiveOrganization, T as runMacOsNativeKeychainHelperIfRequested, a as beginAuthSessionTransition, d as getAuthSessionState, f as getCurrentAuthOwnerUserId, g as normalizeStoredActiveOrganization, n as AuthSessionRecoveryInProgressError, o as buildStoredAuthSessionIdentity, s as clearAuthSession, t as AuthSessionChangedBeforeTransitionError, u as getAuthSessionMetadata } from "./auth-session-BAq7KkIa.js";
|
|
10
|
+
import { L as nonEmptyTrimmedStringFromUnknown, O as openMeldRuntimeProfileIdSchema, w as dispatchExecutionSchema, z as trimmedStringFromUnknown } from "./control-plane-BDS63N7Y.js";
|
|
11
|
+
import { t as computerConnectionIntentSchema } from "./computer-connection-BK9TsQjc.js";
|
|
12
|
+
import { d as readSelectedSkillDocument, r as ensureLocalSkills } from "./state-Dj3YS3aV.js";
|
|
13
|
+
import { $ as buildAuthStatusSnapshot, B as resolveDaemonServiceParticipationStatus, C as buildProfileWorkspaceRows, Ct as cliJsonSkillsShowEnvelopeSchema, Dt as organizationJoinLinkManagementQuerySchema, E as emitDaemonAgentOverview, Et as organizationJoinLinkErrorResponseSchema, 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, Ot as revokeOrganizationJoinLinkResponseSchema, P as renderHumanTextErrorCard, Q as buildAuthStatusRows, R as resolveLocalComponentsStatus, S as buildProfileWorkspacePresentation, St as cliJsonSkillsLoadEnvelopeSchema, Tt as getOrganizationJoinLinkResponseSchema, V as LocalProjectConnectionError, W as buildCommandAuthenticationPromptMessage, X as runAuthStatus, Y as runAuthMenu, Z as exchangeOneTimeTokenAuthSession, a as runDaemonBackgroundStartForDecision, at as promptTextEntry, bt as cliJsonOutputEnvelopeSchema, 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, wt as acceptOrganizationJoinLinkBodySchema, x as resolveServiceParticipationReadiness, xt as cliJsonSkillsListEnvelopeSchema, y as formatServiceParticipationReadinessLabel, yt as cliJsonErrorEnvelopeSchema, z as writeInstalledLocalComponentsSnapshot } from "./service-BlcIfxYE.js";
|
|
14
|
+
import { C as defaultManagedIntegrationPaths, D as uninstallAgentActivityIntegrations, E as resolveAgentActivityDispatcherCommand, T as readAgentActivityIntegrationStatus, _ as readControllerTaskLifecycleOutboxHealth, a as fetchSpaceUpdates, b as resolveAgentActivityRouteForPath, c as downloadWorkingCopyFile, d as syncLocalAgentActivity, g as enqueueControllerTaskLifecycleEventWhileLocked, h as removeAgentActivityContextCache, l as materializeOrganizationSkillRelease, m as readAgentActivityContextForPath, o as createSpaceWorkingCopies, t as readRuntimeReportingHealthState, v as isAgentActivityRouteRegistered, w as installAgentActivityIntegrations, x as unregisterAgentActivityRoute, y as registerAgentActivityRoute } from "./runtime-reporting-health-state-4Y-fo13l.js";
|
|
15
|
+
import { B as createOpenMeldHumanProfile, G as resolveOpenMeldProfile, U as listOpenMeldProfiles, V as deleteOpenMeldProfile, W as primeOpenMeldProfilesSessionCache, Z as buildAgentAuthenticationGuide, at as resolveAuthenticationGuidanceFromMessage, et as buildHumanAuthenticationCard, it as resolveAuthenticationGuidanceFromError, q as updateOpenMeldProfile, rt as resolveAuthenticationGuidance, tt as createAuthenticationError, z as createOpenMeldAgentProfile } from "./daemon-device-id-bP58j3NL.js";
|
|
16
|
+
import { H as buildInstallSelfJsonPayload, U as performManagedInstall, r as readCurrentDaemonRuntimeContext } from "./daemon-service-runtime-686fUcq9.js";
|
|
17
|
+
import { A as formatDeviceReplyReadinessLabel, B as resolveGatewayChainReadiness, Bt as assessCliUpdate, It as assessServerRequiredVersion, J as getSetupFlowCopy, K as buildDaemonRouteObservationPresentation$1, Mt as classifyDaemonServiceRunStartability, N as mapAgentReplyReadinessToLegacyAutoReply, Nt as classifyDaemonServiceWakeability, O as resolveCurrentReplyReadinessSnapshot, Pt as resolveCurrentDaemonExpectedVersion, T as resolveDaemonServiceFreshnessWarning, U as resolveOpenClawLocalDiagnosticsValue, Vt as isCliUpdateCheckApplicable, _ as resolveServiceReadinessFromServiceStatus, ft as inspectDaemonServiceInventory, j as formatHumanReplyReadinessReason$1, k as formatAgentReplyReadinessLabel, q as buildOnboardingPlan, t as runPendingDaemonServiceUpdate, zt as readCurrentLocalDeviceId } from "./daemon-service-update-coordinator-DaoVYK6k.js";
|
|
18
|
+
import { $ as resolveCreateProfileKind, A as parseEnvelope, B as resolveHumanControllerDisplayName, C as toSpaceMetaUpsertInput, D as formatHumanReadTargetList, E as buildHumanReplyContextSummary, F as resolveOpenMeldProfileForSpaceCommand, G as printOpenMeldBanner, H as resolveAgentProfileSetup, I as emitSpaceAgentOverview, J as renderOpenMeldLogo, K as renderOpenMeldBrandBlockLines, L as emitSpaceCliAgentOverview, M as assertFullSignalIdArgument, N as assertValidSpaceIdTarget, O as resolveLinkAccessLabel, P as prepareAuthenticatedSpaceCommandContext, Q as createProfileByKind, R as prepareLocalAgentReadiness, S as loadSpaceSignalIndexOrNull, T as buildFormalSignalReadPayload, U as colorizeAgentLabel, V as persistAgentTransportSelection, W as colorizeDisplayProfileLabel, X as resolveSpaceSendText, Y as renderOpenMeldTagline, Z as resolveSpaceTaskSelection, _ as runSpaceWriteWithPasswordRetry, a as runSpaceDelete, b as buildIdentityOnlyMembersSnapshotForReadProjection, c as runSpaceLeave, d as runSpaceRemoveMembers, et as resolveCreateProfileName, f as runSpaceSend, g as runSpaceReadWithPasswordRetry, h as uploadPreparedSpaceFiles, i as runSpaceCreate, j as isSpaceCommandOutputHandledError, k as resolveOrganizationVisibilityLabel, l as runSpaceList, m as prepareRequestedSpaceSendFiles, n as promptAndConfirmSpacePassword, nt as assessActionParticipationCandidate, o as runSpaceHistory, p as runSpaceWatch, q as renderOpenMeldHeader, r as runSpaceAddMembers, s as runSpaceJoin, t as buildCreateSpacePasswordPromptConfig, tt as ensureAgentProfileRuntimeBinding, u as runSpacePassword, v as buildHumanReadSignalsTranscriptItems, w as buildFormalDispatchResultReadPayload, x as loadSpaceIdentityDirectoryOrNull, y as emitHumanReadSignalsTextProjection, z as buildReplyReadinessGuidance } from "./command-tsXWNPpM.js";
|
|
19
|
+
import { a as areAllowedActionsEquivalent, p as canonicalizeAllowedActions, r as SPACE_CONTRACT_ALLOWED_ACTION_ORDER, s as buildAgentFacingPublicationModeGuideLines, t as OPENMELD_AGENT_MENTAL_MODEL_LINES } from "./dist-CBWePGgY.js";
|
|
20
|
+
import { C as readAgentActivityOutboxHealth, Dt as upsertSpaceConfig, Ft as buildSignalMessageReadProjection, Mt as buildDispatchResultReplyWorkflowProjection, Nt as buildPublicSpaceEntryUrl, Pt as buildSignalIndex, T as removeProjectOutbox, Ut as buildUpdatesReplyWorkflowProjection, Vt as buildSpaceRoundReadProjection, Zt as formatRemovedCcRelationMessage, et as readRecentDaemonDispatchJournalEvents, g as readCodexSessionTitles, gt as inspectSpaceCacheFile, h as normalizeSharedSessionTitle, jt as buildDispatchResultMessageReadProjection, m as resolveObservedAgentActivityBinding, p as buildAgentActivityEvent, qt as createSpaceMemberIdentityIndex, v as enqueueAgentActivityHookEvent, y as removeProjectInbox } from "./daemon-frame-transport-DFfxVRi2.js";
|
|
21
|
+
import { E as updateConfiguredStartV1OnboardingState, S as setConfiguredSkillsConfig, a as resolveBaseUrl, b as setConfiguredBaseUrl, c as resolveExplicitGatewayUrlOrThrow, g as getConfiguredSkillsConfig, m as getConfiguredOnboardingDisclaimerAcceptedAt, o as resolveBaseUrlOrNull, u as alignRuntimeConfigStorage, w as updateConfiguredOnboardingConfig } from "./base-url-D7uE_xTo.js";
|
|
22
22
|
import { n as resolveOpenMeldDistribution, t as isBinaryDistribution } from "./distribution-BDQT2ilb.js";
|
|
23
23
|
import { A as getDaemonStatus } from "./daemon-state-B44aq2nm.js";
|
|
24
24
|
import { i as readDaemonServiceContract } from "./daemon-service-contract-BpOBMGX0.js";
|
|
25
25
|
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";
|
|
26
|
-
import { r as resolveAuthBaseUrl, t as resolveOpenMeldEnvironmentTarget } from "./openmeld-environment-target-
|
|
27
|
-
import { r as runServiceAccountCarrier } from "./service-account-authorization-
|
|
28
|
-
import { b as requestLocalAgentActivitySync, d as compareSemver, f as ensureVersionStateReady, l as OPENMELD_VERSION, y as LocalDaemonControlPlaneClientError } from "./daemon-lifecycle-journal-
|
|
29
|
-
import { a as requireOpenMeldProfile, d as setSelectedOpenMeldProfileId, f as getProfileDefaultView, i as isSelectedOpenMeldProfileRequiredError, l as clearSelectedOpenMeldProfileId, n as resolveRuntimeContext, o as resolveOpenMeldProfileOrNull, p as setProfileDefaultView, r as resolveViewProfileKey, s as alignSelectedOpenMeldProfileStorage, t as parseCliViewMode, u as getSelectedOpenMeldProfileId } from "./context-
|
|
26
|
+
import { r as resolveAuthBaseUrl, t as resolveOpenMeldEnvironmentTarget } from "./openmeld-environment-target-B6HqY0_a.js";
|
|
27
|
+
import { r as runServiceAccountCarrier } from "./service-account-authorization-A5Ly0UFD.js";
|
|
28
|
+
import { b as requestLocalAgentActivitySync, d as compareSemver, f as ensureVersionStateReady, l as OPENMELD_VERSION, y as LocalDaemonControlPlaneClientError } from "./daemon-lifecycle-journal-57QR_a3_.js";
|
|
29
|
+
import { a as requireOpenMeldProfile, d as setSelectedOpenMeldProfileId, f as getProfileDefaultView, i as isSelectedOpenMeldProfileRequiredError, l as clearSelectedOpenMeldProfileId, n as resolveRuntimeContext, o as resolveOpenMeldProfileOrNull, p as setProfileDefaultView, r as resolveViewProfileKey, s as alignSelectedOpenMeldProfileStorage, t as parseCliViewMode, u as getSelectedOpenMeldProfileId } from "./context-DN_LvdgC.js";
|
|
30
30
|
import { a as outJsonLine, i as errLine, n as sanitizeTerminalDisplayText, o as outLine, r as formatMessage, t as createPresenter } from "./presenter-BcxiQyJg.js";
|
|
31
|
-
import { Ct as formatDualViewGuideForDisplay, D as createSpaceContractSetGuideError, E as createSpaceAliasTargetGuideError, J as createStartAuthenticationGuideError, K as createSpaceUpdatesGuideError, L as createSpaceRemoveMembersGuideError, M as createSpaceMenuGuideError, P as createSpacePublicationSetGuideError, R as createSpaceResultGuideError, S as createResetConfirmationGuideError, St as DualViewGuideError, T as createSpaceAddMembersGuideError, Tt as formatAgentOverviewPayload, U as createSpaceSubcommandTargetGuideError, W as createSpaceTargetGuideError, Z as getCommandHintsFromContract, b as createProfileCreateGuideError, ct as registerSkillsTargetSelectionOptions, dt as getCliVersionInfo, et as registerSpaceMemberSelectionOptions, ft as registerDaemonControlTargetOptions, g as canUseInteractivePrompts, j as createSpaceLeaveGuideError, mt as registerAuthLoginRequestOptions, q as createStartAgentIdentityGuideError, rt as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, v as createDoctorFailedGuideError, wt as buildDualViewGuideMessage, x as createProfileMenuGuideError, y as createProfileActionGuideError, yt as registerBuiltinAgentSelectionOptions } from "./elapsed-time-
|
|
32
|
-
import { c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, n as fetchSpaceRequestWithTimeout, p as deriveAuthBaseUrlFromGatewayUrl, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-
|
|
33
|
-
import { n as collectSkillsReadinessSnapshot } from "./installation-inventory-
|
|
34
|
-
import { t as runServiceAccountControl } from "./service-account-control-
|
|
35
|
-
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-
|
|
36
|
-
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-
|
|
37
|
-
import { n as submitProfileRuntimeAgentControllerReport, r as submitRuntimeAgentControllerReport } from "./runtime-agent-controller-reporting-submission-
|
|
38
|
-
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-
|
|
39
|
-
import { _ as readDispatchSpaceActionContextForReceiptFromEnv, c as readGatewayTextResponse, d as assertDispatchOwnedRuntimePublicWriteAllowed, l as toStructuredGatewayFailure, m as DispatchSpaceActionClosedError, n as fetchSpaceMeta, p as readDispatchOwnedRuntimeGuard, r as updateSpaceMeta, s as readGatewayJsonResponse, t as createCliSpaceApi, u as parseJsonResponse, v as readDispatchSpaceActionContextFromEnv, x as writeDispatchSpaceActionRecord } from "./cli-space-api-
|
|
31
|
+
import { Ct as formatDualViewGuideForDisplay, D as createSpaceContractSetGuideError, E as createSpaceAliasTargetGuideError, J as createStartAuthenticationGuideError, K as createSpaceUpdatesGuideError, L as createSpaceRemoveMembersGuideError, M as createSpaceMenuGuideError, P as createSpacePublicationSetGuideError, R as createSpaceResultGuideError, S as createResetConfirmationGuideError, St as DualViewGuideError, T as createSpaceAddMembersGuideError, Tt as formatAgentOverviewPayload, U as createSpaceSubcommandTargetGuideError, W as createSpaceTargetGuideError, Z as getCommandHintsFromContract, b as createProfileCreateGuideError, ct as registerSkillsTargetSelectionOptions, dt as getCliVersionInfo, et as registerSpaceMemberSelectionOptions, ft as registerDaemonControlTargetOptions, g as canUseInteractivePrompts, j as createSpaceLeaveGuideError, mt as registerAuthLoginRequestOptions, q as createStartAgentIdentityGuideError, rt as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, v as createDoctorFailedGuideError, wt as buildDualViewGuideMessage, x as createProfileMenuGuideError, y as createProfileActionGuideError, yt as registerBuiltinAgentSelectionOptions } from "./elapsed-time-DslUBczL.js";
|
|
32
|
+
import { c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, n as fetchSpaceRequestWithTimeout, p as deriveAuthBaseUrlFromGatewayUrl, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-BOBrz3Lx.js";
|
|
33
|
+
import { n as collectSkillsReadinessSnapshot } from "./installation-inventory-BZJmaCVr.js";
|
|
34
|
+
import { t as runServiceAccountControl } from "./service-account-control-DCz_pwrV.js";
|
|
35
|
+
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-DO2p7uLE.js";
|
|
36
|
+
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-CzSR8rmW.js";
|
|
37
|
+
import { n as submitProfileRuntimeAgentControllerReport, r as submitRuntimeAgentControllerReport } from "./runtime-agent-controller-reporting-submission-BJuVnZqs.js";
|
|
38
|
+
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-CRKSer_1.js";
|
|
39
|
+
import { _ as readDispatchSpaceActionContextForReceiptFromEnv, c as readGatewayTextResponse, d as assertDispatchOwnedRuntimePublicWriteAllowed, l as toStructuredGatewayFailure, m as DispatchSpaceActionClosedError, n as fetchSpaceMeta, p as readDispatchOwnedRuntimeGuard, r as updateSpaceMeta, s as readGatewayJsonResponse, t as createCliSpaceApi, u as parseJsonResponse, v as readDispatchSpaceActionContextFromEnv, x as writeDispatchSpaceActionRecord } from "./cli-space-api-Ccr8COpr.js";
|
|
40
40
|
import { createHash, randomUUID } from "node:crypto";
|
|
41
41
|
import { homedir, tmpdir } from "node:os";
|
|
42
42
|
import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
|
|
@@ -1997,6 +1997,7 @@ const COMMAND_CHECK_REQUIREMENTS = Object.freeze({
|
|
|
1997
1997
|
"space.list": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, AUTO_FIX_LOCAL_RUNTIME, REQUIRED_SIGN_IN, CONFIRM_SELECTED_PROFILE),
|
|
1998
1998
|
"space.list.organization": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, REQUIRED_SIGN_IN, CONFIRM_SELECTED_PROFILE),
|
|
1999
1999
|
"space.join.self_serve": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, REQUIRED_SIGN_IN, CONFIRM_SELECTED_PROFILE),
|
|
2000
|
+
"space.respond": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, REQUIRED_SIGN_IN, CONFIRM_SELECTED_PROFILE),
|
|
2000
2001
|
"space.wake_progress": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, REQUIRED_SIGN_IN, CONFIRM_SELECTED_PROFILE),
|
|
2001
2002
|
"space.wake_stop": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, REQUIRED_SIGN_IN, CONFIRM_SELECTED_PROFILE),
|
|
2002
2003
|
"space.password": buildCommandChecks(REQUIRED_DISCLAIMER, OPTIONAL_CLI_UPDATE, AUTO_FIX_LOCAL_RUNTIME, REQUIRED_SIGN_IN, CONFIRM_SELECTED_PROFILE),
|
|
@@ -2224,6 +2225,8 @@ const COMMAND_ENTRY_NAME_BY_ROUTE = {
|
|
|
2224
2225
|
"space result": "space.result",
|
|
2225
2226
|
"spaces result": "space.result",
|
|
2226
2227
|
"space wake-progress": "space.wake_progress",
|
|
2228
|
+
"space respond": "space.respond",
|
|
2229
|
+
"spaces respond": "space.respond",
|
|
2227
2230
|
"spaces wake-progress": "space.wake_progress",
|
|
2228
2231
|
"space wake-stop": "space.wake_stop",
|
|
2229
2232
|
"spaces wake-stop": "space.wake_stop",
|
|
@@ -3088,6 +3091,12 @@ const COMMAND_ENTRY_COPY_BY_NAME = Object.freeze({
|
|
|
3088
3091
|
cliUpdateAction: "joining a public Organization Space",
|
|
3089
3092
|
serviceAction: null
|
|
3090
3093
|
},
|
|
3094
|
+
"space.respond": {
|
|
3095
|
+
signInAction: "answering a task’s request",
|
|
3096
|
+
profileAction: "answering a task’s request",
|
|
3097
|
+
cliUpdateAction: "answering a task’s request",
|
|
3098
|
+
serviceAction: null
|
|
3099
|
+
},
|
|
3091
3100
|
"space.wake_progress": {
|
|
3092
3101
|
signInAction: "reading live Wake progress",
|
|
3093
3102
|
profileAction: "reading live Wake progress",
|
|
@@ -9086,6 +9095,10 @@ function formatAgentControllerPermissionModeForCli(value) {
|
|
|
9086
9095
|
}
|
|
9087
9096
|
function formatAgentControllerPermissionModeHelp() {
|
|
9088
9097
|
return `Agent Controller Permission Mode. ${[
|
|
9098
|
+
{
|
|
9099
|
+
agentControllerRef: "builtin:antigravity",
|
|
9100
|
+
label: "Antigravity"
|
|
9101
|
+
},
|
|
9089
9102
|
{
|
|
9090
9103
|
agentControllerRef: "builtin:claude-code",
|
|
9091
9104
|
label: "Claude Code"
|
|
@@ -9116,6 +9129,10 @@ function resolvePermissionModeOptions(agentControllerRef) {
|
|
|
9116
9129
|
}).permissionMode.options;
|
|
9117
9130
|
}
|
|
9118
9131
|
const AGENT_CONTROLLER_PERMISSION_MODE_CLI_VALUE_BY_MODE = {
|
|
9132
|
+
"antigravity:default": "default",
|
|
9133
|
+
"antigravity:acceptEdits": "accept-edits",
|
|
9134
|
+
"antigravity:plan": "plan",
|
|
9135
|
+
"antigravity:bypassPermissions": "bypass-permissions",
|
|
9119
9136
|
"claude-code:default": "ask-permissions",
|
|
9120
9137
|
"claude-code:acceptEdits": "accept-edits",
|
|
9121
9138
|
"claude-code:plan": "plan",
|
|
@@ -15856,6 +15873,7 @@ async function finalizeLocalComponentsSetupSnapshot() {
|
|
|
15856
15873
|
}
|
|
15857
15874
|
function formatSetupLocalAgentDisplayName(agentId) {
|
|
15858
15875
|
return {
|
|
15876
|
+
antigravity: "Antigravity",
|
|
15859
15877
|
"claude-code": "Claude Code",
|
|
15860
15878
|
codex: "Codex",
|
|
15861
15879
|
cursor: "Cursor",
|
|
@@ -20927,21 +20945,28 @@ async function resolveRequestComputerId(options) {
|
|
|
20927
20945
|
nextStep: "Pass `--agent-controller <ref>` with `--computer`, or remove `--computer`.",
|
|
20928
20946
|
title: "Local Agent Needed"
|
|
20929
20947
|
});
|
|
20930
|
-
if (requestedComputerId)
|
|
20931
|
-
if (targetOwnerUserId !== context.callerUserId) throw new ProfileCreationRequestCliError({
|
|
20948
|
+
if (!requestedComputerId && targetOwnerUserId !== context.callerUserId) throw new ProfileCreationRequestCliError({
|
|
20932
20949
|
code: "profile.creation_request.computer_required",
|
|
20933
20950
|
message: "Creating an Agent for a teammate requires their Computer.",
|
|
20934
20951
|
nextStep: "Run `openmeld org computers --view agent`, then pass `--computer <computer-id>`.",
|
|
20935
20952
|
title: "Computer Needed"
|
|
20936
20953
|
});
|
|
20937
|
-
const
|
|
20938
|
-
const currentComputer = (await context.api.getCurrentComputers()).computers.find((computer) => computer.computerId ===
|
|
20939
|
-
if (!currentComputer)
|
|
20940
|
-
|
|
20941
|
-
|
|
20942
|
-
|
|
20943
|
-
|
|
20944
|
-
|
|
20954
|
+
const selectedComputerId = requestedComputerId ?? await readCurrentLocalDeviceId();
|
|
20955
|
+
const currentComputer = (await context.api.getCurrentComputers()).computers.find((computer) => computer.computerId === selectedComputerId && computer.ownerUserId === targetOwnerUserId);
|
|
20956
|
+
if (!currentComputer) {
|
|
20957
|
+
if (requestedComputerId) throw new ProfileCreationRequestCliError({
|
|
20958
|
+
code: "profile.creation_request.computer_id_invalid",
|
|
20959
|
+
message: "--computer must be a Computer ID from this Organization's computer inventory.",
|
|
20960
|
+
nextStep: "Run `openmeld org computers --view agent`, then pass its exact `computerId`. That inventory value is the device ID accepted here; a Connected Computer record ID or Profile ID is not interchangeable.",
|
|
20961
|
+
title: "Computer ID Invalid"
|
|
20962
|
+
});
|
|
20963
|
+
throw new ProfileCreationRequestCliError({
|
|
20964
|
+
code: "profile.creation_request.current_computer_unavailable",
|
|
20965
|
+
message: "This computer is not available for Agent Profile creation in the selected Organization.",
|
|
20966
|
+
nextStep: "Run `openmeld setup`, then retry; or pass `--computer <computer-id>` from `openmeld org computers --view agent`.",
|
|
20967
|
+
title: "Computer Not Available"
|
|
20968
|
+
});
|
|
20969
|
+
}
|
|
20945
20970
|
const localAgent = currentComputer.localAgents.find((agent) => agent.agentControllerRef === agentControllerRef);
|
|
20946
20971
|
if (currentComputer.serviceState !== "connected" || !localAgent?.enabled || localAgent.status !== "ready") throw new ProfileCreationRequestCliError({
|
|
20947
20972
|
code: "profile.creation_request.local_agent_unavailable",
|
|
@@ -24625,7 +24650,7 @@ function normalizeOptionalString(value) {
|
|
|
24625
24650
|
return normalized.length > 0 ? normalized : null;
|
|
24626
24651
|
}
|
|
24627
24652
|
async function runDefaultSpaceAddMeMembership(input) {
|
|
24628
|
-
const { runSpaceAddMeMembership } = await import("./add-me-membership-
|
|
24653
|
+
const { runSpaceAddMeMembership } = await import("./add-me-membership-CY6oMdtz.js");
|
|
24629
24654
|
return await runSpaceAddMeMembership(input);
|
|
24630
24655
|
}
|
|
24631
24656
|
//#endregion
|
|
@@ -25205,7 +25230,8 @@ async function runSpaceFilesList(input) {
|
|
|
25205
25230
|
requestContext: context.requestContext,
|
|
25206
25231
|
query: {
|
|
25207
25232
|
...input.trash ? {} : { parentId: normalizeFolderId(input.folder) },
|
|
25208
|
-
view: input.trash ? "trash" : "active"
|
|
25233
|
+
view: input.trash ? "trash" : "active",
|
|
25234
|
+
origin: input.all ? "all" : "artifact"
|
|
25209
25235
|
},
|
|
25210
25236
|
...spacePassword === void 0 ? {} : { spacePassword }
|
|
25211
25237
|
})
|
|
@@ -25317,6 +25343,7 @@ async function runSpaceFilesUpload(input) {
|
|
|
25317
25343
|
mimeType: resolveMimeType(input.mimeType, input.file),
|
|
25318
25344
|
bytes,
|
|
25319
25345
|
clientMutationId: randomUUID(),
|
|
25346
|
+
origin: "artifact",
|
|
25320
25347
|
...spacePassword === void 0 ? {} : { spacePassword }
|
|
25321
25348
|
})
|
|
25322
25349
|
});
|
|
@@ -25690,10 +25717,10 @@ async function runSpaceWorkingCopy(input) {
|
|
|
25690
25717
|
const organizationId = initial.session?.activeOrganization?.id;
|
|
25691
25718
|
const profileId = context.requestContext.actorContext?.openMeldProfileId;
|
|
25692
25719
|
if (!(accountId && organizationId && profileId)) throw new Error("Sign in and select an Organization before preparing a working copy.");
|
|
25693
|
-
const api =
|
|
25720
|
+
const api = createCliSpaceApi(context.baseUrl, {
|
|
25694
25721
|
expectedOwnerUserId: accountId,
|
|
25695
25722
|
organizationId
|
|
25696
|
-
})
|
|
25723
|
+
});
|
|
25697
25724
|
const common = {
|
|
25698
25725
|
spaceId: input.space,
|
|
25699
25726
|
requestContext: context.requestContext,
|
|
@@ -25816,13 +25843,14 @@ function registerSpaceFilesCommands(spaceCommand) {
|
|
|
25816
25843
|
});
|
|
25817
25844
|
});
|
|
25818
25845
|
});
|
|
25819
|
-
withSpaceProfileOption(withCommonOptions(filesCommand.command("list").description("List files and folders in a Space.").argument("<space>", "Space ID (64-character hex)").option("--folder <folder-id>", "Folder ID, or root", "root").option("--trash", "List items in Trash", false))).action(async (space, opts, command) => {
|
|
25846
|
+
withSpaceProfileOption(withCommonOptions(filesCommand.command("list").description("List files and folders in a Space.").argument("<space>", "Space ID (64-character hex)").option("--folder <folder-id>", "Folder ID, or root", "root").option("--trash", "List items in Trash", false).option("--all", "Also include files shared as chat uploads, not just artifacts", false))).action(async (space, opts, command) => {
|
|
25820
25847
|
await runFilesCommand(command, opts, "list", async (common) => {
|
|
25821
25848
|
await runSpaceFilesList({
|
|
25822
25849
|
...common,
|
|
25823
25850
|
space: String(space).trim(),
|
|
25824
25851
|
folder: opts.folder,
|
|
25825
|
-
trash: opts.trash === true
|
|
25852
|
+
trash: opts.trash === true,
|
|
25853
|
+
all: opts.all === true
|
|
25826
25854
|
});
|
|
25827
25855
|
});
|
|
25828
25856
|
});
|
|
@@ -27160,6 +27188,151 @@ function advanceCommandStage(commandStage, arg) {
|
|
|
27160
27188
|
return commandStage + 1;
|
|
27161
27189
|
}
|
|
27162
27190
|
//#endregion
|
|
27191
|
+
//#region src/space/respond-command.ts
|
|
27192
|
+
async function runSpaceRespond(input) {
|
|
27193
|
+
const context = await prepareAuthenticatedSpaceCommandContext({
|
|
27194
|
+
...input,
|
|
27195
|
+
promptMessage: buildCommandAuthenticationPromptMessage("answering a task’s request")
|
|
27196
|
+
});
|
|
27197
|
+
if (context.status === "cancelled") return;
|
|
27198
|
+
const { runtime, presenter, interactive, baseUrl } = context;
|
|
27199
|
+
const canPrompt = interactive && runtime.resolvedView === "human";
|
|
27200
|
+
assertValidSpaceIdTarget({
|
|
27201
|
+
space: input.space,
|
|
27202
|
+
resolvedView: runtime.resolvedView
|
|
27203
|
+
});
|
|
27204
|
+
const requestContext = buildOpenMeldRequestContextFromProfile({ openMeldProfile: await resolveOpenMeldProfileForSpaceCommand({
|
|
27205
|
+
openMeldProfileId: input.profile,
|
|
27206
|
+
resolvedView: runtime.resolvedView,
|
|
27207
|
+
interactive
|
|
27208
|
+
}) });
|
|
27209
|
+
const api = createCliSpaceApi(baseUrl);
|
|
27210
|
+
const read = await runSpaceReadWithPasswordRetry({
|
|
27211
|
+
initialPassword: input.password,
|
|
27212
|
+
interactive: canPrompt,
|
|
27213
|
+
presenter,
|
|
27214
|
+
execute: (password) => api.getActiveWakeProgress({
|
|
27215
|
+
spaceId: input.space,
|
|
27216
|
+
requestContext,
|
|
27217
|
+
spacePassword: password,
|
|
27218
|
+
includeSourceContext: true
|
|
27219
|
+
})
|
|
27220
|
+
});
|
|
27221
|
+
if (read.status === "cancelled") return;
|
|
27222
|
+
const pending = read.result.items.filter((item) => item.pendingInteraction?.canRespond && item.pendingInteraction.request && (!input.execution || item.runtimeCoordinatorExecutionId === input.execution) && (!input.interaction || item.pendingInteraction.interactionId === input.interaction));
|
|
27223
|
+
if (!pending.length) {
|
|
27224
|
+
presenter.line({
|
|
27225
|
+
code: "space.respond.not_pending",
|
|
27226
|
+
text: "There is no request for you to answer here. It may already be resolved, or need the Agent owner’s response."
|
|
27227
|
+
});
|
|
27228
|
+
return;
|
|
27229
|
+
}
|
|
27230
|
+
if (input.response && !(input.execution && input.interaction)) throw new Error("Include --execution and --interaction with --response so the answer reaches the exact request.");
|
|
27231
|
+
if (!(input.response || canPrompt)) {
|
|
27232
|
+
presenter.data({
|
|
27233
|
+
code: "space.respond.needs_action",
|
|
27234
|
+
payload: {
|
|
27235
|
+
...read.result,
|
|
27236
|
+
items: pending
|
|
27237
|
+
}
|
|
27238
|
+
});
|
|
27239
|
+
presenter.line({
|
|
27240
|
+
code: "space.respond.next_action",
|
|
27241
|
+
text: "No answer has been submitted. Use the item’s runtimeCoordinatorExecutionId for --execution and pendingInteraction.interactionId for --interaction. For a question, pass --response JSON shaped as {\"kind\":\"question\",\"answers\":[{\"questionId\":\"<questionId>\",\"values\":[\"<optionId>\"]}]}, using IDs from pendingInteraction.request."
|
|
27242
|
+
});
|
|
27243
|
+
return;
|
|
27244
|
+
}
|
|
27245
|
+
const selected = pending.length === 1 ? pending[0] : await choosePendingTask(pending);
|
|
27246
|
+
if (!(selected?.runtimeCoordinatorExecutionId && selected.pendingInteraction?.request)) return;
|
|
27247
|
+
const runtimeCoordinatorExecutionId = selected.runtimeCoordinatorExecutionId;
|
|
27248
|
+
const interactionId = selected.pendingInteraction.interactionId;
|
|
27249
|
+
if (!input.response) {
|
|
27250
|
+
const request = selected.pendingInteraction.request;
|
|
27251
|
+
presenter.line({
|
|
27252
|
+
code: "space.respond.question",
|
|
27253
|
+
text: [request.title, request.description].filter(Boolean).join("\n")
|
|
27254
|
+
});
|
|
27255
|
+
}
|
|
27256
|
+
const response = input.response ? parseResponse(input.response) : await chooseQuestionResponse(selected.pendingInteraction.request);
|
|
27257
|
+
if (!response) return;
|
|
27258
|
+
const result = await runSpaceWriteWithPasswordRetry({
|
|
27259
|
+
initialPassword: read.password,
|
|
27260
|
+
interactive: canPrompt,
|
|
27261
|
+
presenter,
|
|
27262
|
+
execute: (password) => api.respondToAgentInteraction({
|
|
27263
|
+
spaceId: input.space,
|
|
27264
|
+
requestContext,
|
|
27265
|
+
spacePassword: password,
|
|
27266
|
+
body: {
|
|
27267
|
+
runtimeCoordinatorExecutionId,
|
|
27268
|
+
interactionId,
|
|
27269
|
+
response
|
|
27270
|
+
}
|
|
27271
|
+
})
|
|
27272
|
+
});
|
|
27273
|
+
if (result.status === "cancelled") return;
|
|
27274
|
+
presenter.data({
|
|
27275
|
+
code: "space.respond",
|
|
27276
|
+
payload: result.result
|
|
27277
|
+
});
|
|
27278
|
+
if (!result.result.ok) {
|
|
27279
|
+
presenter.line({
|
|
27280
|
+
code: "space.respond.rejected",
|
|
27281
|
+
text: result.result.message
|
|
27282
|
+
});
|
|
27283
|
+
return;
|
|
27284
|
+
}
|
|
27285
|
+
presenter.line({
|
|
27286
|
+
code: "space.respond.sent",
|
|
27287
|
+
text: result.result.status === "already_resolved" ? "This request is already resolved. Check the task for its result." : "Response sent. Check this task for its final result."
|
|
27288
|
+
});
|
|
27289
|
+
}
|
|
27290
|
+
function parseResponse(value) {
|
|
27291
|
+
let json;
|
|
27292
|
+
try {
|
|
27293
|
+
json = JSON.parse(value);
|
|
27294
|
+
} catch {
|
|
27295
|
+
throw new Error("--response must contain valid JSON. Read the pending request with --view agent, then send one of its offered answers.");
|
|
27296
|
+
}
|
|
27297
|
+
const parsed = agentInteractionResponseSchema.safeParse(json);
|
|
27298
|
+
if (!parsed.success) throw new Error("The response does not match an available answer. Read the pending request and try again.");
|
|
27299
|
+
return parsed.data;
|
|
27300
|
+
}
|
|
27301
|
+
async function choosePendingTask(items) {
|
|
27302
|
+
const index = await select({
|
|
27303
|
+
message: "Which task needs your response?",
|
|
27304
|
+
options: items.map((item, index) => ({
|
|
27305
|
+
value: index,
|
|
27306
|
+
label: item.targetLabel,
|
|
27307
|
+
hint: item.sourceContext?.messagePreview ?? item.message
|
|
27308
|
+
}))
|
|
27309
|
+
});
|
|
27310
|
+
return isCancel(index) ? void 0 : items[index];
|
|
27311
|
+
}
|
|
27312
|
+
async function chooseQuestionResponse(request) {
|
|
27313
|
+
if (request.kind !== "question" || request.questions.some((question) => question.multiple || question.allowOther)) throw new Error("Open this request in the Space to respond, or use --response with its response JSON.");
|
|
27314
|
+
const answers = [];
|
|
27315
|
+
for (const question of request.questions) {
|
|
27316
|
+
const value = await select({
|
|
27317
|
+
message: question.prompt,
|
|
27318
|
+
options: question.options.map((option) => ({
|
|
27319
|
+
value: option.optionId,
|
|
27320
|
+
label: option.label,
|
|
27321
|
+
hint: option.description ?? void 0
|
|
27322
|
+
}))
|
|
27323
|
+
});
|
|
27324
|
+
if (isCancel(value)) return null;
|
|
27325
|
+
answers.push({
|
|
27326
|
+
questionId: question.questionId,
|
|
27327
|
+
values: [value]
|
|
27328
|
+
});
|
|
27329
|
+
}
|
|
27330
|
+
return {
|
|
27331
|
+
kind: "question",
|
|
27332
|
+
answers
|
|
27333
|
+
};
|
|
27334
|
+
}
|
|
27335
|
+
//#endregion
|
|
27163
27336
|
//#region src/space/result-api.ts
|
|
27164
27337
|
async function fetchSpaceDispatchResult(input) {
|
|
27165
27338
|
const endpoint = new URL(toSpaceResultUrl(input.baseUrl, input.space));
|
|
@@ -28383,7 +28556,8 @@ async function runSpaceWakeProgress(input) {
|
|
|
28383
28556
|
}
|
|
28384
28557
|
renderWakeProgressHumanOutput({
|
|
28385
28558
|
presenter,
|
|
28386
|
-
payload
|
|
28559
|
+
payload,
|
|
28560
|
+
space: input.space
|
|
28387
28561
|
});
|
|
28388
28562
|
}
|
|
28389
28563
|
async function runSpaceWakeStop(input) {
|
|
@@ -28643,6 +28817,10 @@ function renderWakeProgressHumanOutput(input) {
|
|
|
28643
28817
|
sanitize: true,
|
|
28644
28818
|
minContentWidth: 72
|
|
28645
28819
|
});
|
|
28820
|
+
if (input.payload.items.some((item) => !item.terminal && item.pendingInteraction?.canRespond)) input.presenter.line({
|
|
28821
|
+
code: "space.wake_progress.respond",
|
|
28822
|
+
text: `A task needs your response. Run \`openmeld space respond ${input.space}\` to review the choices, or open Needs action in your Inbox.`
|
|
28823
|
+
});
|
|
28646
28824
|
input.presenter.line({
|
|
28647
28825
|
code: "space.wake_progress.boundary",
|
|
28648
28826
|
text: "This is live progress. Use `space result` for archived results and `service trace` for execution diagnostics."
|
|
@@ -29490,7 +29668,7 @@ computerCmd.command("disconnect").description("Disconnect this computer from its
|
|
|
29490
29668
|
routeTokens: ["computer", "disconnect"],
|
|
29491
29669
|
view,
|
|
29492
29670
|
run: async () => {
|
|
29493
|
-
const { runComputerDisconnect } = await import("./computer-disconnect-
|
|
29671
|
+
const { runComputerDisconnect } = await import("./computer-disconnect-DzvN_Cbv.js");
|
|
29494
29672
|
await runComputerDisconnect(computerConnectionIntentSchema.parse(JSON.parse(opts.connectionIntent)), view);
|
|
29495
29673
|
}
|
|
29496
29674
|
});
|
|
@@ -30402,6 +30580,27 @@ withSpaceProfileOption(spaceCmd.command("join").description("Open an existing Sp
|
|
|
30402
30580
|
}
|
|
30403
30581
|
});
|
|
30404
30582
|
});
|
|
30583
|
+
withSpaceProfileOption(spaceCmd.command("respond").description("Review and answer a task waiting for you in this Space.").argument("<space>", "Space ID (64-character hex)").option("--execution <id>", "Exact execution from the pending request").option("--interaction <id>", "Exact interaction from the pending request").option("--response <json>", "Explicit response JSON; omit to review the available choices").option("--password <value>", "Space password for protected access")).action(async (space, opts, command) => {
|
|
30584
|
+
const cliOptions = resolveSpaceCommandCliOptions(command, opts);
|
|
30585
|
+
const view = getGlobalViewOption();
|
|
30586
|
+
await runCommandWithEntryChecks({
|
|
30587
|
+
routeTokens: ["space", "respond"],
|
|
30588
|
+
view,
|
|
30589
|
+
profile: cliOptions.profile,
|
|
30590
|
+
gatewayUrl: cliOptions.gatewayUrl,
|
|
30591
|
+
run: async () => await runSpaceRespond({
|
|
30592
|
+
profile: cliOptions.profile,
|
|
30593
|
+
baseUrl: cliOptions.gatewayUrl,
|
|
30594
|
+
space: String(space),
|
|
30595
|
+
password: cliOptions.password,
|
|
30596
|
+
view,
|
|
30597
|
+
execution: normalizeOptionalString$16(opts.execution) ?? void 0,
|
|
30598
|
+
interaction: normalizeOptionalString$16(opts.interaction) ?? void 0,
|
|
30599
|
+
response: normalizeOptionalString$16(opts.response) ?? void 0,
|
|
30600
|
+
entryChecksHandled: true
|
|
30601
|
+
})
|
|
30602
|
+
});
|
|
30603
|
+
});
|
|
30405
30604
|
withSpaceProfileOption(spaceCmd.command("wake-progress").description("Read live Wake progress for this Space; use result or service trace after execution.").argument("<space>", "Space ID (64-character hex)").option("--client-message <client-message-id>", "Read progress for one client message instead of the active Space summary").option("--target-profile <profile-id>", "Narrow progress to one target Agent Profile").option("--source-profile <profile-id>", "Narrow the active summary to work requested by one profile").option("--password <value>", "Space password for protected access")).action(async (space, opts, command) => {
|
|
30406
30605
|
const cliOptions = resolveSpaceCommandCliOptions(command, opts);
|
|
30407
30606
|
const view = getGlobalViewOption();
|
|
@@ -31335,7 +31534,7 @@ profileCmd.action(async () => {
|
|
|
31335
31534
|
}
|
|
31336
31535
|
});
|
|
31337
31536
|
});
|
|
31338
|
-
profileCmd.command("create").description("Create an Agent Profile, or an additional Human Profile when enabled.").argument("[profileName]", "OpenMeld profile name").option("--name <profileName>", "OpenMeld profile name").option("--kind <kind>", "Profile kind (agent; human when additional Human Profile creation is enabled)").option("--agent-controller <ref>", "Agent controller for this profile, such as builtin:codex or custom:reviewer").option("--agent-controller-conversation-id <id>", "Legacy direct-create conversation ID; for requests use --session resume --native-session").option("--model <modelId>", "Model intent for this Agent Profile Binding").option("--reasoning-effort <level>", "Reasoning effort intent for the selected model").option("--agent-controller-permission-mode <policy>", formatAgentControllerPermissionModeHelp()).option("--agent-controller-collaboration-mode <mode>", "Collaboration mode for this Agent Controller, such as codex:default or codex:plan").option("--open-code-permission <json>", "OpenCode permission configuration as a JSON object").option("--confirm-dangerous-agent-controller-permission-mode", "Confirm a dangerous Agent Controller Permission Mode without prompting", false).option("--owner <userId>", "Agent owner: self (creating for other members is not available)").option("--computer <computerId>", "Exact
|
|
31537
|
+
profileCmd.command("create").description("Create an Agent Profile, or an additional Human Profile when enabled.").argument("[profileName]", "OpenMeld profile name").option("--name <profileName>", "OpenMeld profile name").option("--kind <kind>", "Profile kind (agent; human when additional Human Profile creation is enabled)").option("--agent-controller <ref>", "Agent controller for this profile, such as builtin:codex or custom:reviewer").option("--agent-controller-conversation-id <id>", "Legacy direct-create conversation ID; for requests use --session resume --native-session").option("--model <modelId>", "Model intent for this Agent Profile Binding").option("--reasoning-effort <level>", "Reasoning effort intent for the selected model").option("--agent-controller-permission-mode <policy>", formatAgentControllerPermissionModeHelp()).option("--agent-controller-collaboration-mode <mode>", "Collaboration mode for this Agent Controller, such as codex:default or codex:plan").option("--open-code-permission <json>", "OpenCode permission configuration as a JSON object").option("--confirm-dangerous-agent-controller-permission-mode", "Confirm a dangerous Agent Controller Permission Mode without prompting", false).option("--owner <userId>", "Agent owner: self (creating for other members is not available)").option("--computer <computerId>", "Exact computerId from `openmeld org computers --view agent`").option("--project <projectId>", "Default Project for the new Agent").option("--no-default-project", "Let OpenMeld choose the working folder instead of reusing your saved Default Project").option("--session <strategy>", "Session strategy for an owner request: new, resume, or fork", "new").option("--native-session <id>", "Native provider Session ID required for resume or fork").option("--space <spaceId>", "Add the created Agent to this Space").option("--source <source>", "Request source: cli or local-agent", "cli").option("--request-key <key>", "Stable idempotency key for safely retrying an owner request").option("--organization <slugOrId>", "Organization slug or ID; defaults to the current Organization").action(async (profileName, opts) => {
|
|
31339
31538
|
const outputView = await resolveEffectiveViewForOutput();
|
|
31340
31539
|
const targetName = (typeof profileName === "string" ? profileName : void 0) ?? opts.name;
|
|
31341
31540
|
if (outputView === "agent") {
|
|
@@ -31684,7 +31883,7 @@ async function main() {
|
|
|
31684
31883
|
if (await runMacOsNativeKeychainHelperIfRequested()) return;
|
|
31685
31884
|
const argv = process.argv.map((arg) => arg === "--h" ? "--help" : arg);
|
|
31686
31885
|
if (argv.length === 5 && argv[2] === "computer" && argv[3] === "connection-review" && argv[4] === "--json") {
|
|
31687
|
-
const { readComputerConnectionReview } = await import("./computer-connection-review-
|
|
31886
|
+
const { readComputerConnectionReview } = await import("./computer-connection-review-jPtrO484.js");
|
|
31688
31887
|
outLine(JSON.stringify(await readComputerConnectionReview()));
|
|
31689
31888
|
return;
|
|
31690
31889
|
}
|
|
@@ -31695,7 +31894,7 @@ async function main() {
|
|
|
31695
31894
|
return;
|
|
31696
31895
|
}
|
|
31697
31896
|
if (argv[3] === "control-capabilities") {
|
|
31698
|
-
const { readServiceControlCapabilities } = await import("./service-control-capabilities-
|
|
31897
|
+
const { readServiceControlCapabilities } = await import("./service-control-capabilities-BPL-T8xI.js");
|
|
31699
31898
|
emitCliJsonEnvelope({
|
|
31700
31899
|
schemaVersion: 1,
|
|
31701
31900
|
type: "service.control_capabilities",
|
|
@@ -31878,4 +32077,4 @@ main().catch((error) => {
|
|
|
31878
32077
|
//#endregion
|
|
31879
32078
|
export {};
|
|
31880
32079
|
|
|
31881
|
-
//# sourceMappingURL=openmeld-
|
|
32080
|
+
//# sourceMappingURL=openmeld-Bbffsx9Y.js.map
|